(self.webpackChunkusaepay_developer=self.webpackChunkusaepay_developer||[]).push([[792],{4043(te,Y,P){"use strict";let D=null,h=!1,v=1,g=null;const y=Symbol("SIGNAL");function M(n){const e=D;return D=n,e}function L(){return D}const F={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function K(n){if(h)throw new Error("");if(null===D)return;D.consumerOnSignalRead(n);const e=D.producersTail;if(void 0!==e&&e.producer===n)return;let t;const i=D.recomputing;if(i&&(t=void 0!==e?e.nextProducer:D.producers,void 0!==t&&t.producer===n))return D.producersTail=t,void(t.lastReadVersion=n.version);const r=n.consumersTail;if(void 0!==r&&r.consumer===D&&(!i||function me(n,e){const t=e.producersTail;if(void 0!==t){let i=e.producers;do{if(i===n)return!0;if(i===t)break;i=i.nextProducer}while(void 0!==i)}return!1}(r,D)))return;const o=Q(D),s={producer:n,consumer:D,nextProducer:t,prevConsumer:r,lastReadVersion:n.version,nextConsumer:void 0};D.producersTail=s,void 0!==e?e.nextProducer=s:D.producers=s,o&&Pe(n,s)}function Z(n){if((!Q(n)||n.dirty)&&(n.dirty||n.lastCleanEpoch!==v)){if(!n.producerMustRecompute(n)&&!an(n))return void Ae(n);n.producerRecomputeValue(n),Ae(n)}}function ce(n){if(void 0===n.consumers)return;const e=h;h=!0;try{for(let t=n.consumers;void 0!==t;t=t.nextConsumer){const i=t.consumer;i.dirty||Ue(i)}}finally{h=e}}function le(){return!1!==D?.consumerAllowSignalWrites}function Ue(n){n.dirty=!0,ce(n),n.consumerMarkedDirty?.(n)}function Ae(n){n.dirty=!1,n.lastCleanEpoch=v}function Oe(n){return n&&function et(n){n.producersTail=void 0,n.recomputing=!0}(n),M(n)}function ze(n,e){M(e),n&&function un(n){n.recomputing=!1;const e=n.producersTail;let t=void 0!==e?e.nextProducer:n.producers;if(void 0!==t){if(Q(n))do{t=q(t)}while(void 0!==t);void 0!==e?e.nextProducer=void 0:n.producers=void 0}}(n)}function an(n){for(let e=n.producers;void 0!==e;e=e.nextProducer){const t=e.producer,i=e.lastReadVersion;if(i!==t.version||(Z(t),i!==t.version))return!0}return!1}function Le(n){if(Q(n)){let e=n.producers;for(;void 0!==e;)e=q(e)}n.producers=void 0,n.producersTail=void 0,n.consumers=void 0,n.consumersTail=void 0}function Pe(n,e){const t=n.consumersTail,i=Q(n);if(void 0!==t?(e.nextConsumer=t.nextConsumer,t.nextConsumer=e):(e.nextConsumer=void 0,n.consumers=e),e.prevConsumer=t,n.consumersTail=e,!i)for(let r=n.producers;void 0!==r;r=r.nextProducer)Pe(r.producer,r)}function q(n){const e=n.producer,t=n.nextProducer,i=n.nextConsumer,r=n.prevConsumer;if(n.nextConsumer=void 0,n.prevConsumer=void 0,void 0!==i?i.prevConsumer=r:e.consumersTail=r,void 0!==r)r.nextConsumer=i;else if(e.consumers=i,!Q(e)){let o=e.producers;for(;void 0!==o;)o=q(o)}return t}function Q(n){return n.consumerIsAlwaysLive||void 0!==n.consumers}function ae(n){g?.(n)}function ke(n,e){return Object.is(n,e)}function Ve(n,e){const t=Object.create(At);t.computation=n,void 0!==e&&(t.equal=e);const i=()=>{if(Z(t),K(t),t.value===it)throw t.error;return t.value};return i[y]=t,ae(t),i}const Qt=Symbol("UNSET"),Sn=Symbol("COMPUTING"),it=Symbol("ERRORED"),At={...F,value:Qt,dirty:!0,error:null,equal:ke,kind:"computed",producerMustRecompute:n=>n.value===Qt||n.value===Sn,producerRecomputeValue(n){if(n.value===Sn)throw new Error("");const e=n.value;n.value=Sn;const t=Oe(n);let i,r=!1;try{i=n.computation(),M(null),r=e!==Qt&&e!==it&&i!==it&&n.equal(e,i)}catch(o){i=it,n.error=o}finally{ze(n,t)}r?n.value=e:(n.value=i,n.version++)}};let gn=function tt(){throw new Error};function Ke(n){gn(n)}let ge=null;function Hn(n,e){const t=Object.create(bt);t.value=n,void 0!==e&&(t.equal=e);const i=()=>function kn(n){return K(n),n.value}(t);return i[y]=t,ae(t),[i,s=>tn(t,s),s=>Je(t,s)]}function tn(n,e){le()||Ke(n),n.equal(n.value,e)||(n.value=e,function lt(n){n.version++,function X(){v++}(),ce(n),ge?.(n)}(n))}function Je(n,e){le()||Ke(n),tn(n,e(n.value))}const bt={...F,equal:ke,value:void 0,kind:"signal"};const Dt={...F,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function ln(n){return"function"==typeof n}let nn=!1;const ot={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 nn&&console.log("RxJS: Back to a better error behavior. Thank you. <3");nn=n},get useDeprecatedSynchronousErrorHandling(){return nn}};function Qn(n){setTimeout(()=>{throw n},0)}const Bt={closed:!0,next(n){},error(n){if(ot.useDeprecatedSynchronousErrorHandling)throw n;Qn(n)},complete(){}},Tt=Array.isArray||(n=>n&&"number"==typeof n.length);function Vn(n){return null!==n&&"object"==typeof n}const or=(()=>{function n(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((t,i)=>`${i+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return n.prototype=Object.create(Error.prototype),n})();class Lt{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:i,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof Lt)t.remove(this);else if(null!==t)for(let o=0;oe.concat(t instanceof or?t.errors:t),[])}Lt.EMPTY=((n=new Lt).closed=!0,n);const Ki="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class wt extends Lt{constructor(e,t,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=Bt;break;case 1:if(!e){this.destination=Bt;break}if("object"==typeof e){e instanceof wt?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new Ut(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new Ut(this,e,t,i)}}[Ki](){return this}static create(e,t,i){const r=new wt(e,t,i);return r.syncErrorThrowable=!1,r}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 Ut extends wt{constructor(e,t,i,r){super(),this._parentSubscriber=e;let o,s=this;ln(t)?o=t:t&&(o=t.next,i=t.error,r=t.complete,t!==Bt&&(s=Object.create(t),ln(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=i,this._complete=r}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;ot.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:i}=ot;if(this._error)i&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)i?(t.syncErrorValue=e,t.syncErrorThrown=!0):Qn(e),this.unsubscribe();else{if(this.unsubscribe(),i)throw e;Qn(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);ot.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(i){if(this.unsubscribe(),ot.useDeprecatedSynchronousErrorHandling)throw i;Qn(i)}}__tryOrSetError(e,t,i){if(!ot.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,i)}catch(r){return ot.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(Qn(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const sr="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ji(n){return n}function Io(n){return 0===n.length?Ji:1===n.length?n[0]:function(t){return n.reduce((i,r)=>r(i),t)}}class Ht{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const t=new Ht;return t.source=this,t.operator=e,t}subscribe(e,t,i){const{operator:r}=this,o=function Ec(n,e,t){if(n){if(n instanceof wt)return n;if(n[Ki])return n[Ki]()}return n||e||t?new wt(n,e,t):new wt(Bt)}(e,t,i);if(r?o.add(r.call(o,this.source)):o.add(this.source||ot.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),ot.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(e){try{return this._subscribe(e)}catch(t){ot.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function Ml(n){for(;n;){const{closed:e,destination:t,isStopped:i}=n;if(e||i)return!1;n=t&&t instanceof wt?t:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=gy(t))((i,r)=>{let o;o=this.subscribe(s=>{try{e(s)}catch(a){r(a),o&&o.unsubscribe()}},r,i)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[sr](){return this}pipe(...e){return 0===e.length?this:Io(e)(this)}toPromise(e){return new(e=gy(e))((t,i)=>{let r;this.subscribe(o=>r=o,o=>i(o),()=>t(r))})}}function gy(n){if(n||(n=ot.Promise||Promise),!n)throw new Error("no Promise impl found");return n}Ht.create=n=>new Ht(n);const Ma=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class Dl extends Lt{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 i=t.indexOf(this.subscriber);-1!==i&&t.splice(i,1)}}class Da extends wt{constructor(e){super(e),this.destination=e}}class Ze extends Ht{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Ki](){return new Da(this)}lift(e){const t=new xc(this,this);return t.operator=e,t}next(e){if(this.closed)throw new Ma;if(!this.isStopped){const{observers:t}=this,i=t.length,r=t.slice();for(let o=0;onew xc(n,e);class xc extends Ze{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):Lt.EMPTY}}class Ie extends Ze{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 Ma;return this._value}next(e){super.next(this._value=e)}}let Gf;function Qf(){return Gf}function Zi(n){const e=Gf;return Gf=n,e}const zt=Symbol("NotFound");Error;function hn(n){return n===zt||"\u0275NotFound"===n?.name}class as{full;major;minor;patch;constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}const yy=new as("21.2.13"),Lc=(()=>{const n=yy.full;return`https://${n.includes("-next")||n.includes("-rc")||"0.0.0-PLACEHOLDER"===n?"next":`v${yy.major}`}.angular.dev`})(),Oi=`${Lc}/errors`,Po="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class ee extends Error{code;constructor(e,t){super(Rt(e,t)),this.code=e}}function Rt(n,e){return`${function bi(n){return`NG0${Math.abs(n)}`}(n)}${e?": "+e:""}`}const fn=globalThis;function dn(n){for(let e in n)if(n[e]===dn)return e;throw Error("")}function Ic(n,e){for(const t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function ls(n){if("string"==typeof n)return n;if(Array.isArray(n))return`[${n.map(ls).join(", ")}]`;if(null==n)return""+n;const e=n.overriddenName||n.name;if(e)return`${e}`;const t=n.toString();if(null==t)return""+t;const i=t.indexOf("\n");return i>=0?t.slice(0,i):t}function Kf(n,e){return n?e?`${n} ${e}`:n:e||""}const Ac=dn({__forward_ref__:dn});function rn(n){return n.__forward_ref__=rn,n}function ct(n){return Su(n)?n():n}function Su(n){return"function"==typeof n&&n.hasOwnProperty(Ac)&&n.__forward_ref__===rn}function zs(n,e,t){n!=e&&Ge(t,n,e,"==")}function Ge(n,e,t,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${t} ${i} ${e} <=Actual]`))}function ue(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function dt(n){return{providers:n.providers||[],imports:n.imports||[]}}function $s(n){return function Q1(n,e){return n.hasOwnProperty(e)&&n[e]||null}(n,Eu)}function Tu(n){return n&&n.hasOwnProperty(Zf)?n[Zf]:null}const Eu=dn({\u0275prov:dn}),Zf=dn({\u0275inj:dn});class _e{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(e,t){this._desc=e,this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=ue({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function ep(n){return n&&!!n.\u0275providers}const Oc=dn({\u0275cmp:dn}),tp=dn({\u0275dir:dn}),np=dn({\u0275pipe:dn}),wy=dn({\u0275mod:dn}),co=dn({\u0275fac:dn}),ka=dn({__NG_ELEMENT_ID__:dn}),Cy=dn({__NG_ENV_ID__:dn});function uo(n){return Nc(n,"@NgModule"),n[wy]||null}function Rc(n){const e=uo(n);if(!e)throw new ee(915,!1);return e}function Vt(n){return Nc(n,"@Component"),n[Oc]||null}function wi(n){return Nc(n,"@Directive"),n[tp]||null}function mr(n){return Nc(n,"@Pipe"),n[np]||null}function Nc(n,e){if(null==n)throw new ee(-919,!1)}function pn(n){const e=Vt(n)||wi(n)||mr(n);return null!==e&&e.standalone}function st(n){return"string"==typeof n?n:null==n?"":String(n)}function Nt(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():st(n)}const ip=dn({ngErrorCode:dn}),Dy=dn({ngErrorMessage:dn}),Ws=dn({ngTokenPath:dn});function Ao(n,e){return Ty("",-200,e)}function rp(n,e){throw new ee(-201,!1)}function Ty(n,e,t){const i=new ee(e,n);return i[ip]=e,i[Dy]=n,t&&(i[Ws]=t),i}let Fc;function Ey(){return Fc}function gr(n){const e=Fc;return Fc=n,e}function xy(n,e,t){const i=$s(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:8&t?null:void 0!==e?e:void rp()}const Ta={},op="__NG_DI_FLAG__";class iD{injector;constructor(e){this.injector=e}retrieve(e,t){const i=Yc(t)||0;try{return this.injector.get(e,8&i?null:Ta,i)}catch(r){if(hn(r))return r;throw r}}}function rD(n,e=0){const t=Qf();if(void 0===t)throw new ee(-203,!1);if(null===t)return xy(n,void 0,e);{const i=function sp(n){return{optional:!!(8&n),host:!!(1&n),self:!!(2&n),skipSelf:!!(4&n)}}(e),r=t.retrieve(n,i);if(hn(r)){if(i.optional)return null;throw r}return r}}function Ce(n,e=0){return(Ey()||rD)(ct(n),e)}function Ly(n){throw new ee(202,!1)}function $(n,e){return Ce(n,Yc(e))}function Yc(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function ap(n){const e=[];for(let t=0;tArray.isArray(t)?La(t,e):e(t))}function Iy(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function jc(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function Tn(n,e){const t=[];for(let i=0;ie;){const o=r-2;n[r]=n[o],r--}n[e]=t,n[e+1]=i}}function Hc(n,e,t){let i=Vc(n,e);return i>=0?n[1|i]=t:(i=~i,Ay(n,i,e,t)),i}function lp(n,e){const t=Vc(n,e);if(t>=0)return n[1|t]}function Vc(n,e){return function aD(n,e,t){let i=0,r=n.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=n[o<e?r=o:i=o+1}return~(r<{t.push(s)};return La(e,s=>{const a=s;Ll(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Lu(r,o),t}function Lu(n,e){for(let t=0;t{e(o,i)})}}function Ll(n,e,t,i){if(!(n=ct(n)))return!1;let r=null,o=Tu(n);const s=!o&&Vt(n);if(o||s){if(s&&!s.standalone)return!1;r=n}else{const l=n.ngModule;if(o=Tu(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Ll(c,e,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r),La(o.imports,d=>{Ll(d,e,t,i)&&(c||=[],c.push(d))}),void 0!==c&&Lu(c,e)}if(!a){const c=xa(r)||(()=>new r);e({provide:r,useFactory:c,deps:on},r),e({provide:xl,useValue:r,multi:!0},r),e({provide:us,useValue:()=>Ce(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=n;dp(l,d=>{e(d,c)})}}}return r!==n&&void 0!==n.providers}function dp(n,e){for(let t of n)ep(t)&&(t=t.\u0275providers),Array.isArray(t)?dp(t,e):e(t)}const cD=dn({provide:String,useValue:dn});function up(n){return null!==n&&"object"==typeof n&&cD in n}function Fy(n){return!(!n||!n.useExisting)}function Yy(n){return!(!n||!n.useFactory)}function hs(n){return"function"==typeof n}function jy(n){return!!n.useClass}const hp=new _e(""),Iu={},Hy={};let Pu;function Au(){return void 0===Pu&&(Pu=new Ia),Pu}class ri{}class Ni extends ri{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,pp(e,s=>this.processProvider(s)),this.records.set(Oy,Pl(void 0,this)),r.has("environment")&&this.records.set(ri,Pl(void 0,this));const o=this.records.get(hp);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(xl,on,{self:!0}))}retrieve(e,t){const i=Yc(t)||0;try{return this.get(e,Ta,i)}catch(r){if(hn(r))return r;throw r}}destroy(){Il(this),this._destroyed=!0;const e=M(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(e)}}onDestroy(e){return Il(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){Il(this);const t=Zi(this),i=gr(void 0);try{return e()}finally{Zi(t),gr(i)}}get(e,t=Ta,i){if(Il(this),e.hasOwnProperty(Cy))return e[Cy](this);const r=Yc(i);const s=Zi(this),a=gr(void 0);try{if(!(4&r)){let c=this.records.get(e);if(void 0===c){const d=function hD(n){return"function"==typeof n||"object"==typeof n&&"InjectionToken"===n.ngMetadataName}(e)&&$s(e);c=d&&this.injectableDefInScope(d)?Pl(fs(e),Iu):null,this.records.set(e,c)}if(null!=c)return this.hydrate(e,c,r)}const l=2&r?Au():this.parent;return t=8&r&&t===Ta?null:t,l.get(e,t)}catch(l){const c=function tD(n){return n[ip]}(l);throw-200===c||-201===c?new ee(c,null):l}finally{gr(a),Zi(s)}}resolveInjectorInitializers(){const e=M(null),t=Zi(this),i=gr(void 0);try{const o=this.get(us,on,{self:!0});for(const s of o)s()}finally{Zi(t),gr(i),M(e)}}toString(){return"R3Injector[...]"}processProvider(e){let t=hs(e=ct(e))?e:ct(e&&e.provide);const i=function dD(n){if(up(n))return Pl(void 0,n.useValue);return Pl(fp(n),Iu)}(e);if(!hs(e)&&!0===e.multi){let r=this.records.get(t);r||(r=Pl(void 0,Iu,!0),r.factory=()=>ap(r.multi),this.records.set(t,r)),t=e,r.multi.push(e)}this.records.set(t,i)}hydrate(e,t,i){const r=M(null);try{if(t.value===Hy)throw Ao();return t.value===Iu&&(t.value=Hy,t.value=t.factory(void 0,i)),"object"==typeof t.value&&t.value&&function By(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{M(r)}}injectableDefInScope(e){if(!e.providedIn)return!1;const t=ct(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 fs(n){const e=$s(n),t=null!==e?e.factory:xa(n);if(null!==t)return t;if(n instanceof _e)throw new ee(-204,!1);if(n instanceof Function)return function Vy(n){if(n.length>0)throw new ee(-204,!1);const t=function K1(n){return(n?.[Eu]??null)||null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new ee(-204,!1)}function fp(n,e,t){let i;if(hs(n)){const r=ct(n);return xa(r)||fs(r)}if(up(n))i=()=>ct(n.useValue);else if(Yy(n))i=()=>n.useFactory(...ap(n.deps||[]));else if(Fy(n))i=(r,o)=>Ce(ct(n.useExisting),void 0!==o&&8&o?8:void 0);else{const r=ct(n&&(n.useClass||n.provide));if(!function uD(n){return!!n.deps}(n))return xa(r)||fs(r);i=()=>new r(...ap(n.deps))}return i}function Il(n){if(n.destroyed)throw new ee(-205,!1)}function Pl(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function pp(n,e){for(const t of n)Array.isArray(t)?pp(t,e):t&&ep(t)?pp(t.\u0275providers,e):e(t)}function Fi(n,e){let t;n instanceof Ni?(Il(n),t=n):t=new iD(n);const r=Zi(t),o=gr(void 0);try{return e()}finally{Zi(r),gr(o)}}function mp(){return void 0!==Ey()||null!=Qf()}function Kn(n){return Array.isArray(n)&&"object"==typeof n[1]}function lr(n){return Array.isArray(n)&&!0===n[1]}function Uy(n){return!!(4&n.flags)}function Fo(n){return n.componentOffset>-1}function Nl(n){return!(1&~n.flags)}function po(n){return!!n.template}function Qs(n){return!!(512&n[2])}function ms(n){return!(256&~n[2])}function Ti(n){for(;Array.isArray(n);)n=n[0];return n}function Fl(n,e){return Ti(e[n])}function En(n,e){return Ti(e[n.index])}function Yl(n,e){return n.data[e]}function Na(n,e){return n[e]}function wp(n,e,t,i){t>=n.data.length&&(n.data[t]=null,n.blueprint[t]=null),e[t]=i}function be(n,e){const t=e[n];return Kn(t)?t:t[0]}function Cp(n){return!(128&~n[2])}function ut(n,e){return null==e?null:n[e]}function Uc(n){n[17]=0}function Mp(n){1024&n[2]||(n[2]|=1024,Cp(n)&&jl(n))}function Fu(n,e){for(;n>0;)e=e[14],n--;return e}function Yu(n){return!!(9216&n[2]||n[24]?.dirty)}function Dp(n){n[10].changeDetectionScheduler?.notify(8),64&n[2]&&(n[2]|=1024),Yu(n)&&jl(n)}function jl(n){n[10].changeDetectionScheduler?.notify(0);let e=Yi(n);for(;null!==e&&!(8192&e[2])&&(e[2]|=8192,Cp(e));)e=Yi(e)}function ju(n,e){if(ms(n))throw new ee(911,!1);null===n[21]&&(n[21]=[]),n[21].push(e)}function Sp(n,e){if(null===n[21])return;const t=n[21].indexOf(e);-1!==t&&n[21].splice(t,1)}function Yi(n){const e=n[3];return lr(e)?e[3]:e}function Jy(n){return n[7]??=[]}function kp(n){return n.cleanup??=[]}const ht={lFrame:ft(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ks;!function(n){n[n.Off=0]="Off",n[n.Exhaustive=1]="Exhaustive",n[n.OnlyDirtyViews=2]="OnlyDirtyViews"}(Ks||(Ks={}));let Hu=!1;function Yo(){ht.lFrame.elementDepthCount--}function Vu(){return ht.bindingsEnabled}function Zy(){return null!==ht.skipHydrationRootTNode}function Xy(n){return ht.skipHydrationRootTNode===n}function ev(){ht.skipHydrationRootTNode=null}function fe(){return ht.lFrame.lView}function vt(){return ht.lFrame.tView}function ne(n){return ht.lFrame.contextLView=n,n[8]}function ie(n){return ht.lFrame.contextLView=null,n}function gt(){let n=Js();for(;null!==n&&64===n.type;)n=n.parent;return n}function Js(){return ht.lFrame.currentTNode}function zc(){const n=ht.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}function gs(n,e){const t=ht.lFrame;t.currentTNode=n,t.isParent=e}function tv(){return ht.lFrame.isParent}function nv(){ht.lFrame.isParent=!1}function iv(){return ht.lFrame.contextLView}function jo(){return Hu}function _s(n){const e=Hu;return Hu=n,e}function er(){const n=ht.lFrame;let e=n.bindingRootIndex;return-1===e&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}function ys(){return ht.lFrame.bindingIndex}function ov(n){return ht.lFrame.bindingIndex=n}function vr(){return ht.lFrame.bindingIndex++}function vs(n){const e=ht.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}function Fa(n){ht.lFrame.inI18n=n}function Bu(n,e){const t=ht.lFrame;t.bindingIndex=t.bindingRootIndex=n,u(e)}function u(n){ht.lFrame.currentDirectiveIndex=n}function _(n){const e=ht.lFrame.currentDirectiveIndex;return-1===e?null:n[e]}function k(){return ht.lFrame.currentQueryIndex}function x(n){ht.lFrame.currentQueryIndex=n}function N(n){const e=n[1];return 2===e.type?e.declTNode:1===e.type?n[5]:null}function J(n,e,t){if(4&t){let r=e,o=n;for(;(r=r.parent,null===r&&!(1&t))&&(r=N(o),!(null===r||(o=o[14],10&r.type))););if(null===r)return!1;e=r,n=o}const i=ht.lFrame=He();return i.currentTNode=e,i.lView=n,!0}function de(n){const e=He(),t=n[1];ht.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function He(){const n=ht.lFrame,e=null===n?null:n.child;return null===e?ft(n):e}function ft(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 $t(){const n=ht.lFrame;return ht.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const tr=$t;function mo(){const n=$t();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 cr(){return ht.lFrame.selectedIndex}function $c(n){ht.lFrame.selectedIndex=n}function bs(){const n=ht.lFrame;return Yl(n.tView,n.selectedIndex)}function wD(){ht.lFrame.currentNamespace="svg"}function CD(){!function FB(){ht.lFrame.currentNamespace=null}()}let PL=!0;function sv(){return PL}function Lp(n){PL=n}function AL(n,e=null,t=null,i){const r=OL(n,e,t,i);return r.resolveInjectorInitializers(),r}function OL(n,e=null,t=null,i,r=new Set){const o=[t||on,Ry(n)];return new Ni(o,e||Au(),null,r)}class ui{static THROW_IF_NOT_FOUND=Ta;static NULL=new Ia;static create(e,t){if(Array.isArray(e))return AL({name:""},t,e,"");{const i=e.name??"";return AL({name:i},e.parent,e.providers,i)}}static \u0275prov=ue({token:ui,providedIn:"any",factory:()=>Ce(Oy)});static __NG_ELEMENT_ID__=-1}const _n=new _e("");class br{static __NG_ELEMENT_ID__=jB;static __NG_ENV_ID__=e=>e}class RL extends br{_lView;constructor(e){super(),this._lView=e}get destroyed(){return ms(this._lView)}onDestroy(e){const t=this._lView;return ju(t,e),()=>Sp(t,e)}}function jB(){return new RL(fe())}const NL=!1,HB=new _e("");class ws{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Ie(!1);debugTaskTracker=$(HB,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Ht(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),this.debugTaskTracker?.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.debugTaskTracker?.remove(e),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=ue({token:ws,providedIn:"root",factory:()=>new ws})}const Se=class VB extends Ze{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,mp()&&(this.destroyRef=$(br,{optional:!0})??void 0,this.pendingTasks=$(ws,{optional:!0})??void 0)}emit(e){const t=M(null);try{super.next(e)}finally{M(t)}}subscribe(e,t,i){let r=e,o=t||(()=>null),s=i;if(e&&"object"==typeof e){const l=e;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:r,error:o,complete:s});return e instanceof Lt&&e.add(a),a}wrapInTimeout(e){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{try{e(t)}finally{void 0!==i&&this.pendingTasks?.remove(i)}})}}};function av(...n){}function FL(n){let e,t;function i(){n=av;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==e&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{n(),i()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{n(),i()})),()=>i()}function BB(n){return queueMicrotask(()=>n()),()=>{n=av}}const MD="isAngularZone",lv=MD+"_ID";let UB=0;class Et{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Se(!1);onMicrotaskEmpty=new Se(!1);onStable=new Se(!1);onError=new Se(!1);constructor(e){const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=NL}=e;if(typeof Zone>"u")throw new ee(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,function WB(n){const e=()=>{!function $B(n){if(n.isCheckStableRunning||n.callbackScheduled)return;function e(){FL(()=>{n.callbackScheduled=!1,SD(n),n.isCheckStableRunning=!0,DD(n),n.isCheckStableRunning=!1})}n.callbackScheduled=!0,n.scheduleInRootZone?Zone.root.run(()=>{e()}):n._outer.run(()=>{e()}),SD(n)}(n)},t=UB++;n._inner=n._inner.fork({name:"angular",properties:{[MD]:!0,[lv]:t,[lv+t]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(function GB(n){return HL(n,"__ignore_ng_zone__")}(l))return i.invokeTask(o,s,a,l);try{return YL(n),i.invokeTask(o,s,a,l)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||n.shouldCoalesceRunChangeDetection)&&e(),jL(n)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return YL(n),i.invoke(o,s,a,l,c)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!function QB(n){return HL(n,"__scheduler_tick__")}(l)&&e(),jL(n)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&("microTask"==s.change?(n._hasPendingMicrotasks=s.microTask,SD(n),DD(n)):"macroTask"==s.change&&(n.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),n.runOutsideAngular(()=>n.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(MD)}static assertInAngularZone(){if(!Et.isInAngularZone())throw new ee(909,!1)}static assertNotInAngularZone(){if(Et.isInAngularZone())throw new ee(909,!1)}run(e,t,i){return this._inner.run(e,t,i)}runTask(e,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,zB,av,av);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(e,t,i){return this._inner.runGuarded(e,t,i)}runOutsideAngular(e){return this._outer.run(e)}}const zB={};function DD(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 SD(n){n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&!0===n.callbackScheduled?n.hasPendingMicrotasks=!0:n.hasPendingMicrotasks=!1}function YL(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function jL(n){n._nesting--,DD(n)}class qB{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Se;onMicrotaskEmpty=new Se;onStable=new Se;onError=new Se;run(e,t,i){return e.apply(t,i)}runGuarded(e,t,i){return e.apply(t,i)}runOutsideAngular(e){return e()}runTask(e,t,i,r){return e.apply(t,i)}}function HL(n,e){return!(!Array.isArray(n)||1!==n.length)&&!0===n[0]?.data?.[e]}class Uu{_console=console;handleError(e){this._console.error("ERROR",e)}}const Xs=new _e("",{factory:()=>{const n=$(Et),e=$(ri);let t;return i=>{n.runOutsideAngular(()=>{e.destroyed&&!t?setTimeout(()=>{throw i}):(t??=e.get(Uu),t.handleError(i))})}}}),KB={provide:us,useValue:()=>{$(Uu,{optional:!0})},multi:!0};new _e("",{factory:()=>{const n=$(_n).defaultView;if(!n)return;const e=$(Xs),t=o=>{e(o.reason),o.preventDefault()},i=o=>{o.error?e(o.error):e(new Error(o.message,{cause:o})),o.preventDefault()},r=()=>{n.addEventListener("unhandledrejection",t),n.addEventListener("error",i)};typeof Zone<"u"?Zone.root.run(r):r(),$(br).onDestroy(()=>{n.removeEventListener("error",i),n.removeEventListener("unhandledrejection",t)})}});function yn(n,e){const[t,i,r]=Hn(n,e?.equal),o=t;o[y];return o.set=i,o.update=r,o.asReadonly=cv.bind(o),o}function cv(){const n=this[y];if(void 0===n.readonlyFn){const e=()=>this();e[y]=n,n.readonlyFn=e}return n.readonlyFn}class kD{view;node;constructor(e,t){this.view=e,this.node=t}static __NG_ELEMENT_ID__=ZB}function ZB(){return new kD(fe(),gt())}class zu{}const dv=new _e("",{factory:()=>!0}),VL=(new _e("",{factory:()=>!1}),new _e(""));class Wc{internalPendingTasks=$(ws);scheduler=$(zu);errorHandler=$(Xs);add(){const e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){const t=this.add();e().catch(this.errorHandler).finally(t)}static \u0275prov=ue({token:Wc,providedIn:"root",factory:()=>new Wc})}class uv{static \u0275prov=ue({token:uv,providedIn:"root",factory:()=>new XB})}class XB{dirtyEffectCount=0;queues=new Map;add(e){this.enqueue(e),this.schedule(e)}schedule(e){e.dirty&&this.dirtyEffectCount++}remove(e){const t=e.zone,i=this.queues.get(t);i.has(e)&&(i.delete(e),e.dirty&&this.dirtyEffectCount--)}enqueue(e){const t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);const i=this.queues.get(t);i.has(e)||i.add(e)}flush(){for(;this.dirtyEffectCount>0;){let e=!1;for(const[t,i]of this.queues)e||=null===t?this.flushQueue(i):t.run(()=>this.flushQueue(i));e||(this.dirtyEffectCount=0)}}flushQueue(e){let t=!1;for(const i of e)i.dirty&&(this.dirtyEffectCount--,t=!0,i.run());return t}}class TD{[y];constructor(e){this[y]=e}destroy(){this[y].destroy()}}function BL(n,e){const t=e?.injector??$(ui);let r,i=!0!==e?.manualCleanup?t.get(br):null;const o=t.get(kD,null,{optional:!0}),s=t.get(zu);return null!==o?(r=function n8(n,e,t){const i=Object.create(t8);return i.view=n,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=e,i.fn=zL(i,t),n[23]??=new Set,n[23].add(i),i.consumerMarkedDirty(i),i}(o.view,s,n),i instanceof RL&&i._lView===o.view&&(i=null)):r=function i8(n,e,t){const i=Object.create(e8);return i.fn=zL(i,n),i.scheduler=e,i.notifier=t,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}(n,t.get(uv),s),r.injector=t,null!==i&&(r.onDestroyFns=[i.onDestroy(()=>r.destroy())]),new TD(r)}const UL={...Dt,cleanupFns:void 0,zone:null,onDestroyFns:null,run(){const n=_s(!1);try{!function ii(n){if(n.dirty=!1,n.version>0&&!an(n))return;n.version++;const e=Oe(n);try{n.cleanup(),n.fn()}finally{ze(n,e)}}(this)}finally{_s(n)}},cleanup(){if(!this.cleanupFns?.length)return;const n=M(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],M(n)}}},e8={...UL,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Le(this),null!==this.onDestroyFns)for(const n of this.onDestroyFns)n();this.cleanup(),this.scheduler.remove(this)}},t8={...UL,consumerMarkedDirty(){this.view[2]|=8192,jl(this.view),this.notifier.notify(13)},destroy(){if(Le(this),null!==this.onDestroyFns)for(const n of this.onDestroyFns)n();this.cleanup(),this.view[23]?.delete(this)}};function zL(n,e){return()=>{e(t=>(n.cleanupFns??=[]).push(t))}}function $L(n,e,t,i,r,o,s){try{var a=n[o](s),l=a.value}catch(c){return void t(c)}a.done?e(l):Promise.resolve(l).then(i,r)}function Wt(n){return function(){var e=this,t=arguments;return new Promise(function(i,r){var o=n.apply(e,t);function s(l){$L(o,i,r,s,a,"next",l)}function a(l){$L(o,i,r,s,a,"throw",l)}s(void 0)})}}function Bn(n,e){return function(i){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new r8(n,e))}}class r8{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new o8(e,this.project,this.thisArg))}}class o8 extends wt{constructor(e,t,i){super(e),this.project=t,this.count=0,this.thisArg=i||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(t)}}function Ya(n){return{toString:n}.toString()}const $u="__annotations__",Wu="__parameters__",qu="__prop__metadata__";function Ap(n,e,t,i,r){return Ya(()=>{const o=LD(e);function s(...a){if(this instanceof s)return o.call(this,...a),this;const l=new s(...a);return function(d){return r&&r(d,...a),(d.hasOwnProperty($u)?d[$u]:Object.defineProperty(d,$u,{value:[]})[$u]).push(l),d}}return t&&(s.prototype=Object.create(t.prototype)),s.prototype.ngMetadataName=n,s.annotationCls=s,s})}function LD(n){return function(...t){if(n){const i=n(...t);for(const r in i)this[r]=i[r]}}}function Gu(n,e,t){return Ya(()=>{const i=LD(e);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,d){const m=l.hasOwnProperty(Wu)?l[Wu]:Object.defineProperty(l,Wu,{value:[]})[Wu];for(;m.length<=d;)m.push(null);return(m[d]=m[d]||[]).push(s),l}}return r.prototype.ngMetadataName=n,r.annotationCls=r,r})}function Vl(n,e,t,i){return Ya(()=>{const r=LD(e);function o(...s){if(this instanceof o)return r.apply(this,s),this;const a=new o(...s);return function l(c,d){if(void 0===c)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const m=c.constructor,b=m.hasOwnProperty(qu)?m[qu]:Object.defineProperty(m,qu,{value:{}})[qu];b[d]=b.hasOwnProperty(d)&&b[d]||[],b[d].unshift(a)}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=n,o.annotationCls=o,o})}const D8=Ea(Gu("Inject",n=>({token:n})),-1),eI=Ea(Gu("Optional"),8),S8=Ea(Gu("Self"),2),k8=Ea(Gu("SkipSelf"),4),T8=Ea(Gu("Host"),1);function Ho(n){const e=fn.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const tI={\u0275\u0275defineInjectable:ue,\u0275\u0275defineInjector:dt,\u0275\u0275inject:Ce,\u0275\u0275invalidFactoryDep:Ly,resolveForwardRef:ct},E8=Function;function Op(n){return"function"==typeof n}const x8=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,L8=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,I8=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,P8=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class O8{_reflect;constructor(e){this._reflect=e||fn.Reflect}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let i;i=Tn(typeof e>"u"?t.length:e.length);for(let r=0;r"u"?i[r]=[]:e[r]&&e[r]!=Object?i[r]=[e[r]]:i[r]=[],t&&null!=t[r]&&(i[r]=i[r].concat(t[r]));return i}_ownParameters(e,t){if(function A8(n){return x8.test(n)||P8.test(n)||L8.test(n)&&!I8.test(n)}(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const r=e.ctorParameters;if(r&&r!==t.ctorParameters){const a="function"==typeof r?r():r,l=a.map(d=>d&&d.type),c=a.map(d=>d&&ID(d.decorators));return this._zipTypesAndAnnotations(l,c)}const o=e.hasOwnProperty(Wu)&&e[Wu],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return s||o?this._zipTypesAndAnnotations(s,o):Tn(e.length)}parameters(e){if(!Op(e))return[];const t=fv(e);let i=this._ownParameters(e,t);return!i&&t!==Object&&(i=this.parameters(t)),i||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let i=e.annotations;return"function"==typeof i&&i.annotations&&(i=i.annotations),i}return e.decorators&&e.decorators!==t.decorators?ID(e.decorators):e.hasOwnProperty($u)?e[$u]:null}annotations(e){if(!Op(e))return[];const t=fv(e),i=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(i)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let i=e.propMetadata;return"function"==typeof i&&i.propMetadata&&(i=i.propMetadata),i}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const i=e.propDecorators,r={};return Object.keys(i).forEach(o=>{r[o]=ID(i[o])}),r}return e.hasOwnProperty(qu)?e[qu]:null}propMetadata(e){if(!Op(e))return{};const t=fv(e),i={};if(t!==Object){const o=this.propMetadata(t);Object.keys(o).forEach(s=>{i[s]=o[s]})}const r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach(o=>{const s=[];i.hasOwnProperty(o)&&s.push(...i[o]),s.push(...r[o]),i[o]=s}),i}ownPropMetadata(e){return Op(e)&&this._ownPropMetadata(e,fv(e))||{}}hasLifecycleHook(e,t){return e instanceof E8&&t in e.prototype}}function ID(n){return n?n.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function fv(n){const e=n.prototype?Object.getPrototypeOf(n.prototype):null;return(e?e.constructor:null)||Object}function nI(n,e,t,i){null!==e?e.applyValueToInputSignal(e,i):n[t]=i}class R8{previousValue;currentValue;firstChange;constructor(e,t,i){this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}const ji=(()=>{const n=()=>iI;return n.ngInherit=!0,n})();function iI(n){return n.type.prototype.ngOnChanges&&(n.setInput=F8),N8}function N8(){const n=oI(this),e=n?.current;if(e){const t=n.previous;if(t===ar)n.previous=e;else for(let i in e)t[i]=e[i];n.current=null,this.ngOnChanges(e)}}function F8(n,e,t,i,r){const o=this.declaredInputs[i],s=oI(n)||function Y8(n,e){return n[rI]=e}(n,{previous:ar,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new R8(c&&c.currentValue,t,l===ar),nI(n,e,r,t)}const rI="__ngSimpleChanges__";function oI(n){return n[rI]||null}const Qc=[];const An=function(n,e=null,t){for(let i=0;i=i)break}else e[l]<0&&(n[17]+=65536),(a>14>16&&(3&n[2])===e&&(n[2]+=16384,lI(a,o)):lI(a,o)}!function(n){n[n.TemplateCreateStart=0]="TemplateCreateStart",n[n.TemplateCreateEnd=1]="TemplateCreateEnd",n[n.TemplateUpdateStart=2]="TemplateUpdateStart",n[n.TemplateUpdateEnd=3]="TemplateUpdateEnd",n[n.LifecycleHookStart=4]="LifecycleHookStart",n[n.LifecycleHookEnd=5]="LifecycleHookEnd",n[n.OutputStart=6]="OutputStart",n[n.OutputEnd=7]="OutputEnd",n[n.BootstrapApplicationStart=8]="BootstrapApplicationStart",n[n.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",n[n.BootstrapComponentStart=10]="BootstrapComponentStart",n[n.BootstrapComponentEnd=11]="BootstrapComponentEnd",n[n.ChangeDetectionStart=12]="ChangeDetectionStart",n[n.ChangeDetectionEnd=13]="ChangeDetectionEnd",n[n.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",n[n.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",n[n.AfterRenderHooksStart=16]="AfterRenderHooksStart",n[n.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",n[n.ComponentStart=18]="ComponentStart",n[n.ComponentEnd=19]="ComponentEnd",n[n.DeferBlockStateStart=20]="DeferBlockStateStart",n[n.DeferBlockStateEnd=21]="DeferBlockStateEnd",n[n.DynamicComponentStart=22]="DynamicComponentStart",n[n.DynamicComponentEnd=23]="DynamicComponentEnd",n[n.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",n[n.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd"}(Ye||(Ye={}));class Rp{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,t,i,r){this.factory=e,this.name=r,this.canSeeViewProviders=t,this.injectImpl=i}}function cI(n){return null!=n&&"object"==typeof n&&(null===n.insertBeforeIndex||"number"==typeof n.insertBeforeIndex||Array.isArray(n.insertBeforeIndex))}function dI(n){return 3===n||4===n||6===n}function uI(n){return 64===n.charCodeAt(0)}function Ku(n,e){if(null!==e&&0!==e.length)if(null===n||0===n.length)n=e.slice();else{let t=-1;for(let i=0;ie){s=o-1;break}}}for(;o>16}(n),i=e;for(;t>0;)i=i[14],t--;return i}let RD=!0;function gv(n){const e=RD;return RD=n,e}let G8=0;const ta={};function _v(n,e){const t=mI(n,e);if(-1!==t)return t;const i=e[1];i.firstCreatePass&&(n.injectorIndex=e.length,ND(i.data,n),ND(e,null),ND(i.blueprint,null));const r=yv(n,e),o=n.injectorIndex;if(OD(r)){const s=Np(r),a=Fp(r,e),l=a[1].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=r,o}function ND(n,e){n.push(0,0,0,0,0,0,0,0,e)}function mI(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function yv(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let t=0,i=null,r=e;for(;null!==r;){if(i=CI(r),null===i)return-1;if(t++,r=r[14],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return-1}function FD(n,e,t){!function Q8(n,e,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(ka)&&(i=t[ka]),null==i&&(i=t[ka]=G8++);const r=255&i,o=1<>5)]|=o}(n,e,t)}function gI(n,e,t){if(8&t||void 0!==n)return n;rp()}function _I(n,e,t,i){if(8&t&&void 0===i&&(i=null),!(3&t)){const r=n[9],o=gr(void 0);try{return r?r.get(e,i,8&t):xy(e,i,8&t)}finally{gr(o)}}return gI(i,0,t)}function yI(n,e,t,i=0,r){if(null!==n){if(2048&e[2]&&!(2&i)){const s=function e6(n,e,t,i,r){let o=n,s=e;for(;null!==o&&null!==s&&2048&s[2]&&!Qs(s);){const a=vI(o,s,t,2|i,ta);if(a!==ta)return a;let l=o.parent;if(!l){const c=s[20];if(c){const d=c.get(t,ta,-5&i);if(d!==ta)return d}l=CI(s),s=s[14]}o=l}return r}(n,e,t,i,ta);if(s!==ta)return s}const o=vI(n,e,t,i,ta);if(o!==ta)return o}return _I(e,t,i,r)}function vI(n,e,t,i,r){const o=function Z8(n){if("string"==typeof n)return n.charCodeAt(0)||0;const e=n.hasOwnProperty(ka)?n[ka]:void 0;return"number"==typeof e?e>=0?255&e:X8:e}(t);if("function"==typeof o){if(!J(e,n,i))return 1&i?gI(r,0,i):_I(e,t,i,r);try{let s;if(s=o(i),null!=s||8&i)return s;rp()}finally{tr()}}else if("number"==typeof o){let s=null,a=mI(n,e),l=-1,c=1&i?e[15][5]:null;for((-1===a||4&i)&&(l=-1===a?yv(n,e):e[a+8],-1!==l&&wI(i,!1)?(s=e[1],a=Np(l),e=Fp(l,e)):a=-1);-1!==a;){const d=e[1];if(bI(o,a,d.data)){const m=J8(a,e,t,s,i,c);if(m!==ta)return m}l=e[a+8],-1!==l&&wI(i,e[1].data[a+8]===c)&&bI(o,a,e)?(s=d,a=Np(l),e=Fp(l,e)):a=-1}}return r}function J8(n,e,t,i,r,o){const s=e[1],a=s.data[n+8],d=vv(a,s,t,null==i?Fo(a)&&RD:i!=s&&!!(3&a.type),1&r&&o===a);return null!==d?Yp(e,s,d,a,r):ta}function vv(n,e,t,i,r){const o=n.providerIndexes,s=e.data,a=1048575&o,l=n.directiveStart,c=n.directiveEnd,d=o>>20,b=r?a+d:c;for(let S=i?a:a+d;S=l&&T.type===t)return S}if(r){const S=s[l];if(S&&po(S)&&S.type===t)return l}return null}function Yp(n,e,t,i,r){let o=n[t];const s=e.data;if(o instanceof Rp){const a=o;if(a.resolving)throw Ao();const l=gv(a.canSeeViewProviders);a.resolving=!0;s[t].type||s[t];const m=a.injectImpl?gr(a.injectImpl):null;J(n,i,0);try{o=n[t]=a.factory(void 0,r,s,n,i),e.firstCreatePass&&t>=i.directiveStart&&function B8(n,e,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(i){const s=iI(e);(t.preOrderHooks??=[]).push(n,s),(t.preOrderCheckHooks??=[]).push(n,s)}r&&(t.preOrderHooks??=[]).push(0-n,r),o&&((t.preOrderHooks??=[]).push(n,o),(t.preOrderCheckHooks??=[]).push(n,o))}(t,s[t],e)}finally{null!==m&&gr(m),gv(l),a.resolving=!1,tr()}}return o}function bI(n,e,t){const i=1<>5)]&i)}function wI(n,e){return!(2&n||1&n&&e)}class mi{_tNode;_lView;constructor(e,t){this._tNode=e,this._lView=t}get(e,t,i){return yI(this._tNode,this._lView,e,Yc(i),t)}}function X8(){return new mi(gt(),fe())}function hi(n){return Ya(()=>{const e=n.prototype.constructor,t=e[co]||YD(e),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[co]||YD(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function YD(n){return Su(n)?()=>{const e=YD(ct(n));return e&&e()}:xa(n)}function CI(n){const e=n[1],t=e.type;return 2===t?e.declTNode:1===t?n[5]:null}function jp(n){return function K8(n,e){if("class"===e)return n.classes;if("style"===e)return n.styles;const t=n.attrs;if(t){const i=t.length;let r=0;for(;r({attributeName:n,__NG_ELEMENT_ID__:()=>jp(n)}));let MI=null;function jD(){return MI=MI||new O8}function bv(n){return DI(jD().parameters(n))}function DI(n){return n.map(e=>function n6(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=Ho().compileInjectable(tI,`ng:///${n.name}/\u0275prov.js`,function a6(n,e){const t=e||{providedIn:null},i={name:n.name,type:n,typeArgumentCount:0,providedIn:t.providedIn};return(SI(t)||kI(t))&&void 0!==t.deps&&(i.deps=DI(t.deps)),SI(t)?i.useClass=t.useClass:function o6(n){return r6 in n}(t)?i.useValue=t.useValue:kI(t)?i.useFactory=t.useFactory:function s6(n){return void 0!==n.useExisting}(t)&&(i.useExisting=t.useExisting),i}(n,e))),t)}),n.hasOwnProperty(co)||Object.defineProperty(n,co,{get:()=>{if(null===i){const r=Ho();i=r.compileFactory(tI,`ng:///${n.name}/\u0275fac.js`,{name:n.name,type:n,typeArgumentCount:0,deps:bv(n),target:r.FactoryTarget.Injectable})}return i},configurable:!0})}const r6=dn({provide:String,useValue:dn});function SI(n){return void 0!==n.useClass}function kI(n){return void 0!==n.useFactory}Ap("Injectable",void 0,void 0,0,(n,e)=>i6(n,e));function l6(){return Ju(gt(),fe())}function Ju(n,e){return new On(En(n,e))}class On{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=l6}function TI(n){return n instanceof On?n.nativeElement:n}function c6(){return this._results[Symbol.iterator]()}class d6{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Ze}constructor(e=!1){this._emitDistinctChangesOnly=e}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 i=_r(e);(this._changesDetected=!function sD(n,e,t){if(n.length!==e.length)return!1;for(let i=0;iO6}),O6="ng",GI=new _e(""),Bp=new _e("",{providedIn:"platform",factory:()=>"unknown"}),QI=new _e(""),WD=new _e("",{factory:()=>$(_n).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),KI={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},JI=new _e("",{factory:()=>KI});class Ul{static \u0275prov=ue({token:Ul,providedIn:"root",factory:()=>{const e=new Ul;return e.store=ZI($(_n),$(Jc)),e}});store={};onSerializeCallbacks={};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(/false}),V6=(new _e(""),new _e(""),new _e("",{factory:()=>[]}),new _e("")),B6=(new _e("",{factory:()=>new Map}),new _e("")),Mv={passive:!0,capture:!0},KD=new WeakMap,JD=new WeakMap,zl=new WeakMap,Dv=["click","keydown"],Sv=["mouseenter","mouseover","focusin"],kv=new Map;class ZD{callbacks=new Set;listener=()=>{for(const e of this.callbacks)e()}}function dP(n,e){let t=JD.get(n);if(!t){t=new ZD,JD.set(n,t);for(const i of Dv)n.addEventListener(i,t.listener,Mv)}return t.callbacks.add(e),()=>{const{callbacks:i,listener:r}=t;if(i.delete(e),0===i.size){JD.delete(n);for(const o of Dv)n.removeEventListener(o,r,Mv)}}}function uP(n,e){let t=KD.get(n);if(!t){t=new ZD,KD.set(n,t);for(const i of Sv)n.addEventListener(i,t.listener,Mv)}return t.callbacks.add(e),()=>{const{callbacks:i,listener:r}=t;if(i.delete(e),0===i.size){for(const o of Sv)n.removeEventListener(o,r,Mv);KD.delete(n)}}}function hP(n){return n?`${n.rootMargin}/${"number"==typeof n.threshold?n.threshold:n.threshold?.join("\n")}`:""}new _e("",{factory:()=>({})});const e0=new WeakMap;let pP=(n,e,t,i)=>{};const $l=new _e("");function Tv(n){return!(32&~n.flags)}const gP="__nghDeferData__",Ev=gP;let _P=()=>null;function yP(n,e,t=!1){return _P(n,e,t)}function tU(n){let e=n._lView;return 2===e[1].type?null:(Qs(e)&&(e=e[27]),e)}var th;!function(n){n.Hydrated="hydrated",n.Skipped="skipped",n.Mismatched="mismatched"}(th||(th={}));function bP(n){return n.get(V6,!1,{optional:!0})}function TP(n,e){const t=n.contentQueries;if(null!==t){const i=M(null);try{for(let r=0;rn,createScript:n=>n,createScriptURL:n=>n})}catch{}return Ov}function nh(n){return IP()?.createHTML(n)||n}function f0(){if(void 0===Rv&&(Rv=null,fn.trustedTypes))try{Rv=fn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Rv}function PP(n){return f0()?.createHTML(n)||n}function AP(n){return f0()?.createScript(n)||n}function OP(n){return f0()?.createScriptURL(n)||n}class Zc{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Po})`}}class bU extends Zc{getTypeName(){return"HTML"}}class wU extends Zc{getTypeName(){return"Style"}}class CU extends Zc{getTypeName(){return"Script"}}class MU extends Zc{getTypeName(){return"URL"}}class DU extends Zc{getTypeName(){return"ResourceURL"}}function Gr(n){return n instanceof Zc?n.changingThisBreaksApplicationSecurity:n}function na(n,e){const t=function SU(n){return n instanceof Zc&&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 ${Po})`)}return t===e}function RP(n){const e=new PU(n);return function AU(){try{return!!(new window.DOMParser).parseFromString(nh(""),"text/html")}catch{return!1}}()?new IU(e):e}class IU{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(nh(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.firstChild?.remove(),t)}catch{return null}}}class PU{defaultDoc;inertDocument;constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const t=this.inertDocument.createElement("template");return t.innerHTML=nh(e),t}}const OU=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Nv(n){return(n=String(n)).match(OU)?n:"unsafe:"+n}function ia(n){const e={};for(const t of n.split(","))e[t]=!0;return e}function ih(...n){const e={};for(const t of n)for(const i in t)t.hasOwnProperty(i)&&(e[i]=!0);return e}const NP=ia("area,br,col,hr,img,wbr"),FP=ia("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),YP=ia("rp,rt"),RU=ih(YP,FP),NU=ih(FP,ia("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")),FU=ih(YP,ia("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")),p0=ih(NP,NU,FU,RU),m0=ia("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),YU=ia("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"),jU=ia("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"),g0=ih(m0,YU,jU),HU=ia("script,style,template"),jP=ih(m0,ia("action,formaction,data,codebase"));class VU{sanitizedSomething=!1;buf=[];sanitizeChildren(e){let t=e.firstChild,i=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)r.push(t),t=zU(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=UU(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(e){const t=HP(e).toLowerCase();if(!p0.hasOwnProperty(t))return this.sanitizedSomething=!0,!HU.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=e.attributes;for(let r=0;r"),!0}endElement(e){const t=HP(e).toLowerCase();p0.hasOwnProperty(t)&&!NP.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(BP(e))}}function UU(n){const e=n.nextSibling;if(e&&n!==e.previousSibling)throw VP(e);return e}function zU(n){const e=n.firstChild;if(e&&function BU(n,e){return(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(n,e))throw VP(e);return e}function HP(n){const e=n.nodeName;return"string"==typeof e?e:"FORM"}function VP(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}const $U=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WU=/([^\#-~ |!])/g;function BP(n){return n.replace(/&/g,"&").replace($U,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(WU,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let Fv;function UP(n,e){let t=null;try{Fv=Fv||RP(n);let i=e?String(e):"";t=Fv.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=Fv.getInertBodyElement(i)}while(i!==o);return nh((new VU).sanitizeChildren(_0(t)||t))}finally{if(t){const i=_0(t)||t;for(;i.firstChild;)i.firstChild.remove()}}}function _0(n){return"content"in n&&function qU(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}const GU=/^>|^->||--!>|)/g;function zP(n){return n.replace(GU,e=>e.replace(QU,"\u200b$1\u200b"))}function y0(n,e){return n.createText(e)}function $P(n,e,t){n.setValue(e,t)}function v0(n,e){return n.createComment(zP(e))}function Yv(n,e,t){return n.createElement(e,t)}function Xc(n,e,t,i,r){n.insertBefore(e,t,i,r)}function WP(n,e,t){n.appendChild(e,t)}function qP(n,e,t,i,r){null!==i?Xc(n,e,t,i,r):WP(n,e,t)}function zp(n,e,t,i){n.removeChild(null,e,t,i)}function QP(n,e,t){const{mergedAttrs:i,classes:r,styles:o}=t;null!==i&&function W8(n,e,t){let i=0;for(;ifalse});function e2(n){return n.ownerDocument.body}function oa(n){return n instanceof Function?n():n}function p7(n,e,t){let i=n.length;for(;;){const r=n.indexOf(e,t);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=e.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}t=r+1}}const r2="ng-template";function m7(n,e,t,i){let r=0;if(i){for(;r-1){let o;for(;++ro?"":r[d+1].toLowerCase(),2&i&&c!==m){if(Cs(i))return!1;s=!0}}}}else{if(!s&&!Cs(i)&&!Cs(l))return!1;if(s&&Cs(l))continue;s=!1,i=l|1&i}}return Cs(i)||s}function Cs(n){return!(1&n)}function y7(n,e,t,i){if(null===e)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!Cs(s)&&(e+=s2(o,r),r=""),i=s,o=o||!Cs(i);t++}return""!==r&&(e+=s2(o,r)),e}const xn={};function C0(n,e,t,i,r,o,s,a,l,c,d){const m=27+i,b=m+r,S=function k7(n,e){const t=[];for(let i=0;i!1}),L7=new _e("",{factory:()=>I7}),I7=4e3,ed=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function Vv(n){return n[9].get(x7,false)}function T0(n){const e=oh.get(n);if(e){for(const t of e.cleanupFns)t();oh.delete(n)}td.delete(n)}const O7=()=>{},oh=new WeakMap,td=new WeakMap,Gp=new WeakMap,Qp=new WeakSet;function E0(n,e){const t=Gp.get(n);if(t&&t.length>0){const i=t.findIndex(r=>r===e);i>-1&&t.splice(i,1)}0===t?.length&&Gp.delete(n)}function x0(n,e){const t=Gp.get(n);t?t.includes(e)||t.push(e):Gp.set(n,[e])}function Bv(n){const e=n[26]??={};return e.enter??=new Map}function nd(n){const e=n[26]??={};return e.leave??=new Map}function c2(n){const e="function"==typeof n?n():n;let t=Array.isArray(e)?e:null;return"string"==typeof e&&(t=e.trim().split(/\s+/).filter(i=>i)),t}function Kp(n){return n.composedPath?n.composedPath()[0]:n.target}function L0(n,e){const t=td.get(e);return void 0===t||e===Kp(n)&&(void 0!==t.animationName&&n.animationName===t.animationName||void 0!==t.propertyName&&("all"===t.propertyName||n.propertyName===t.propertyName))}function Uv(n,e,t){const i=n.get(e.index)??{animateFns:[]};i.animateFns.push(t),n.set(e.index,i)}function I0(n,e){if(n)for(const t of n)t();for(const t of e)t()}function P0(n,e){const t=nd(n).get(e.index);t&&(t.resolvers=void 0)}function zv(n,e,t,i,r){E0(e,t),I0(i,r),P0(n,e)}function $v(n){if(!n)return 0;const e=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*e}function id(n,e){return n.getPropertyValue(e).split(",").map(i=>i.trim())}function d2(n,e){return void 0!==n&&n.duration>e.duration}function u2(n){return(null!=n.animationName||null!=n.propertyName)&&n.duration>0}function H7(n,e){const t=getComputedStyle(n),i=function j7(n){const e=id(n,"animation-name"),t=id(n,"animation-delay"),i=id(n,"animation-duration"),r=id(n,"animation-iteration-count"),o={animationName:"",propertyName:void 0,duration:0};for(let s=0;so.duration&&"infinite"!==l&&(o.animationName=e[s],o.duration=a)}return o}(t),r=function Y7(n){const e=id(n,"transition-property"),t=id(n,"transition-duration"),i=id(n,"transition-delay"),r={propertyName:"",duration:0,animationName:void 0};for(let o=0;or.duration&&(r.propertyName=e[o],r.duration=s)}return r}(t),o=i.duration>r.duration?i:r;d2(e.get(n),o)||u2(o)&&e.set(n,o)}function h2(n,e,t){if(!t)return;const i=n.getAnimations();return 0===i.length?H7(n,e):function V7(n,e,t){let i={animationName:void 0,propertyName:void 0,duration:0};for(const r of t){const o=r.effect?.getTiming();if(o?.iterations===1/0)continue;const s="number"==typeof o?.duration?o.duration:0;let a=(o?.delay??0)+s;const l=r.playbackRate;let c,d;void 0!==l&&0!==l&&1!==l&&(a/=Math.abs(l)),r.animationName?d=r.animationName:c=r.transitionProperty,a>=i.duration&&(i={animationName:d,propertyName:c,duration:a})}d2(e.get(n),i)||u2(i)&&e.set(n,i)}(n,e,i)}const rd=new Set;var Wv;!function(n){n[n.CHANGE_DETECTION=0]="CHANGE_DETECTION",n[n.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER"}(Wv||(Wv={}));const od=new _e(""),f2=new Set;function Hi(n){f2.has(n)||(f2.add(n),performance?.mark?.("mark_feature_usage",{detail:{feature:n}}))}class Jp{impl=null;execute(){this.impl?.execute()}static \u0275prov=ue({token:Jp,providedIn:"root",factory:()=>new Jp})}const p2=[0,1,2,3];class qv{ngZone=$(Et);scheduler=$(zu);errorHandler=$(Uu,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){$(od,{optional:!0})}execute(){const e=this.sequences.size>0;e&&An(Ye.AfterRenderHooksStart),this.executing=!0;for(const t of p2)for(const i of this.sequences)if(!i.erroredOrDestroyed&&i.hooks[t])try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,i.hooks[t])(i.pipelinedValue),i.snapshot))}catch(r){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&An(Ye.AfterRenderHooksEnd)}register(e){const{view:t}=e;void 0!==t?((t[25]??=[]).push(e),jl(t),t[2]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}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))}maybeTrace(e,t){return t?t.run(Wv.AFTER_NEXT_RENDER,e):e()}static \u0275prov=ue({token:qv,providedIn:"root",factory:()=>new qv})}class m2{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,t,i,r,o,s=null){this.impl=e,this.hooks=t,this.view=i,this.once=r,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const e=this.view?.[25];e&&(this.view[25]=e.filter(t=>t!==this))}}function sd(n,e){const t=e?.injector??$(ui);return Hi("NgAfterNextRender"),g2(n,t,e,!0)}function g2(n,e,t,i){const r=e.get(Jp);r.impl??=e.get(qv);const o=e.get(od,null,{optional:!0}),s=!0!==t?.manualCleanup?e.get(br):null,a=e.get(kD,null,{optional:!0}),l=new m2(r.impl,function U7(n){return n instanceof Function?[void 0,void 0,n,void 0]:[n.earlyRead,n.write,n.mixedReadWrite,n.read]}(n),a?.view,i,s,o?.snapshot(null));return r.impl.register(l),l}const Gv=new _e("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:$(ri)})});function _2(n,e,t){const i=n.get(Gv);if(Array.isArray(e))for(const r of e)i.queue.add(r),t?.detachedLeaveAnimationFns?.push(r);else i.queue.add(e),t?.detachedLeaveAnimationFns?.push(e);i.scheduler&&i.scheduler(n)}function $7(n){const e=n.get(Gv);e.isScheduled||(sd(()=>{e.isScheduled=!1;for(let t of e.queue)t();e.queue.clear()},{injector:e.injector}),e.isScheduled=!0)}function Qv(n){const e=n.get(Gv);e.scheduler=$7,e.scheduler(n)}function A0(n,e){for(const[t,i]of e)_2(n,i.animateFns)}function y2(n,e,t,i){const r=n?.[26]?.enter;null!==e&&r&&r.has(t.index)&&A0(i,r)}function sh(n,e,t,i,r,o,s,a){if(null!=r){let l,c=!1;lr(r)?l=r:Kn(r)&&(c=!0,r=r[0]);const d=Ti(r);0===n&&null!==i?(y2(a,i,o,t),null==s?WP(e,i,d):Xc(e,i,d,s||null,!0)):1===n&&null!==i?(y2(a,i,o,t),Xc(e,i,d,s||null,!0),function R7(n,e){const t=Gp.get(n);if(!t||0===t.length)return;const i=e.parentNode,r=e.previousSibling;for(let o=t.length-1;o>=0;o--){const s=t[o],a=s.parentNode;s===e?(t.splice(o,1),Qp.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(r&&s===r||a&&i&&a!==i)&&(t.splice(o,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}(o,d)):2===n?(a?.[26]?.leave?.has(o.index)&&x0(o,d),Qp.delete(d),w2(a,o,t,m=>{Qp.has(d)?Qp.delete(d):zp(e,d,c,m)})):3===n&&(Qp.delete(d),w2(a,o,t,()=>{e.destroyNode(d)})),null!=l&&function Z7(n,e,t,i,r,o,s){const a=i[7],l=Ti(i);a!==l&&sh(e,n,t,o,a,r,s);for(let c=10;c=0?i[a]():i[-a].unsubscribe(),s+=2}else{const a=i[t[s+1]];t[s].call(a)}null!==i&&(e[7]=null);const r=e[21];if(null!==r){e[21]=null;for(let s=0;s{if(r.leave&&r.leave.has(e.index)){const s=r.leave.get(e.index),a=[];if(s){for(let l=0;l{n[26].running=void 0,rd.delete(n[19]),e(!0)});e(!1)}(n,i)}else n&&rd.delete(n[19]),i(!1)},r)}function N0(n,e,t){return C2(n,e.parent,t)}function C2(n,e,t){let i=e;for(;null!==i&&168&i.type;)i=(e=i).parent;if(null===i)return t[0];if(Fo(i)){const{encapsulation:r}=n.data[i.directiveStart+i.componentOffset];if(r===go.None||r===go.Emulated)return null}return En(i,t)}function M2(n,e,t){return S2(n,e,t)}function D2(n,e,t){return 40&n.type?En(n,t):null}let F0,S2=D2;function k2(n,e){S2=n,F0=e}function Y0(n,e,t,i){const r=N0(n,i,e),o=e[11],a=M2(i.parent||e[5],i,e);if(null!=r)if(Array.isArray(t))for(let l=0;l27&&l2(n,e,27,!1);const a=s?Ye.TemplateUpdateStart:Ye.TemplateCreateStart;An(a,r,t),t(i,r)}finally{$c(o);const a=s?Ye.TemplateUpdateEnd:Ye.TemplateCreateEnd;An(a,r,t)}}function Jv(n,e,t){(function rz(n,e,t){const i=t.directiveStart,r=t.directiveEnd;Fo(t)&&function T7(n,e,t){const i=En(e,n),r=a2(t),o=n[10].rendererFactory,s=D0(n,Hv(n,r,null,M0(t),i,e,null,o.createRenderer(i,t),null,null,null));return n[e.index]=s}(e,t,n.data[i+t.componentOffset]),n.firstCreatePass||_v(t,e);const o=t.initialInputs;for(let s=i;snull;function V0(n,e,t,i,r,o){tb(n,e[1],e,t,i)?Fo(n)&&I2(e,n.index):(3&n.type&&(t=function iz(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(t)),B0(n,e,t,i,r,o))}function B0(n,e,t,i,r,o){if(3&n.type){const s=En(n,e);i=null!=o?o(i,n.value||"",t):i,r.setProperty(s,t,i)}else n.type}function I2(n,e){const t=be(e,n);16&t[2]||(t[2]|=64)}function sz(n,e){null!==n.hostBindings&&n.hostBindings(1,e)}function U0(n,e){const t=n.directiveRegistry;let i=null;if(t)for(let r=0;r{jl(n.lView)},consumerOnSignalRead(){this.lView[24]=this}};const vz={...F,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:n=>{let e=Yi(n.lView);for(;e&&!N2(e[1]);)e=Yi(e);e&&Mp(e)},consumerOnSignalRead(){this.lView[24]=this}};function N2(n){return 2!==n.type}function F2(n){if(null===n[23])return;let e=!0;for(;e;){let t=!1;for(const i of n[23])i.dirty&&(t=!0,null===i.zone||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));e=t&&!!(8192&n[2])}}function ib(n,e=0){const i=n[10].rendererFactory;i.begin?.();try{!function wz(n,e){const t=jo();try{_s(!0),$0(n,e);let i=0;for(;Yu(n);){if(100===i)throw new ee(103,!1);i++,$0(n,1)}}finally{_s(t)}}(n,e)}finally{i.end?.()}}function Y2(n,e,t,i){if(ms(e))return;const r=e[2];de(e);let a=!0,l=null,c=null;N2(n)?(c=pz(e),l=Oe(c)):null===L()?(a=!1,c=function yz(n){const e=n[24]??Object.create(vz);return e.lView=n,e}(e),l=Oe(c)):e[24]&&(Le(e[24]),e[24]=null);try{Uc(e),ov(n.bindingStartIndex),null!==t&&x2(n,e,t,2,i);const d=!(3&~r);if(d){const S=n.preOrderCheckHooks;null!==S&&pv(e,S,null)}else{const S=n.preOrderHooks;null!==S&&mv(e,S,0,null),PD(e,0)}if(function Cz(n){for(let e=FI(n);null!==e;e=YI(e)){if(!(2&e[2]))continue;const t=e[9];for(let i=0;i0&&(t[r-1][4]=e),i0&&(n[t-1][4]=i[4]);const o=jc(n,10+e);v2(i[1],i);const s=o[18];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function z2(n,e){const t=n[9],i=e[3];if(Kn(i))n[2]|=2;else{const r=i[3][15];e[15]!==r&&(n[2]|=2)}null===t?n[9]=[e]:t.push(e)}class tm{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const e=this._lView,t=e[1];return Xp(t,e,t.firstChild,[])}constructor(e,t){this._lView=e,this._cdRefInjectingView=t}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return ms(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(lr(e)){const t=e[8],i=t?t.indexOf(this):-1;i>-1&&(em(e,i),jc(t,i))}this._attachedToViewContainer=!1}Zp(this._lView[1],this._lView)}onDestroy(e){ju(this._lView,e)}markForCheck(){ch(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){Dp(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,ib(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ee(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const e=Qs(this._lView),t=this._lView[16];null!==t&&!e&&O0(t,this._lView),b2(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new ee(902,!1);this._appRef=e;const t=Qs(this._lView),i=this._lView[16];null!==i&&!t&&z2(i,this._lView),Dp(this._lView)}}class wr{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=kz;constructor(e,t,i){this._declarationLView=e,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,t){return this.createEmbeddedViewImpl(e,t)}createEmbeddedViewImpl(e,t,i){const r=lh(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:t,dehydratedView:i});return new tm(r)}}function kz(){return rb(gt(),fe())}function rb(n,e){return 4&n.type?new wr(e,n,Ju(n,e)):null}function q2(n,e,t){const i=e.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?D2(n,0,t):Ti(t[r])}function G2(n,e,t,i,r){const o=e.insertBeforeIndex;if(Array.isArray(o)){let s=i,a=null;if(3&e.type||(a=s,s=r),null!==s&&-1===e.componentOffset)for(let l=1;l1)for(let t=n.length-2;t>=0;t--){const i=n[t];K2(i)||Yz(i,e)&&null===jz(i)&&Hz(i,e.index)}}function K2(n){return!(64&n.type)}function Yz(n,e){return K2(e)||n.index>e.index}function jz(n){const e=n.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function Hz(n,e){const t=n.insertBeforeIndex;Array.isArray(t)?t[0]=e:(k2(q2,G2),n.insertBeforeIndex=e)}function om(n,e){const t=n.data[e];return null===t||"string"==typeof t?null:t.hasOwnProperty("currentCaseLViewIndex")?t:t.value}function Uz(n,e,t){const i=K0(n,t,64,null,null);return Q2(e,i),i}function sb(n,e){const t=e[n.currentCaseLViewIndex];return null===t?t:t<0?~t:t}function J2(n){return n>>>17}function Z2(n){return(131070&n)>>>1}function eA(n){return-1===n}function J0(n,e,t){n.index=0;const i=sb(e,t);n.removes=null!==i?e.remove[i]:on}function ab(n){if(n.index0)return n.lView[e];{n.stack.push(n.index,n.removes);const t=~e;return J0(n,n.lView[1].data[t],n.lView),ab(n)}}return 0===n.stack.length?(n.lView=void 0,null):(n.removes=n.stack.pop(),n.index=n.stack.pop(),ab(n))}function $z(){const n={stack:[],index:-1};return function e(t,i){for(n.lView=i;n.stack.length;)n.stack.pop();return J0(n,t.value,i),ab.bind(null,n)}}let sA=()=>{};let lA=()=>{};function u9(n,e,t){for(const i of t.node.cases[t.case]){const r=e.get(i.index-27);r&&zp(n,r,!1)}}function cb(n){const e=n[6]??[],i=n[3][11],r=[];for(const o of e)void 0!==o.data.di?r.push(o):cA(o,i);n[6]=r}function h9(n){const{lContainer:e}=n,t=e[6];if(null===t)return;const r=e[3][11];for(const o of t)cA(o,r)}function cA(n,e){let t=0,i=n.firstChild;if(i){const r=n.data.r;for(;tnull,uA=()=>null;function cm(n,e){return dA(n,e)}function hA(n,e,t){return uA(n,e,t)}let v9=class{},mA=class{};class b9{resolveComponentFactory(e){throw new ee(917,!1)}}let ub=class{static NULL=new b9};class ql{}class ur{destroyNode=null;static __NG_ELEMENT_ID__=()=>function w9(){const n=fe(),t=be(gt().index,n);return(Kn(t)?t:n)[11]}()}class iS{static \u0275prov=ue({token:iS,providedIn:"root",factory:()=>null})}function rS(n){return void 0!==n.ngModule}function ud(n){return!!uo(n)}function hb(n){return!!mr(n)}function gA(n){return!!wi(n)}function dm(n){return!!Vt(n)}function M9(n,e){if(Su(n)&&!(n=ct(n)))throw new Error(`Expected forwardRef function, imported from "${Nt(e)}", to return a standalone entity or NgModule but got "${Nt(n)||n}".`);if(null==uo(n)){const t=Vt(n)||wi(n)||mr(n);if(null==t)throw rS(n)?new Error(`A module with providers was imported from "${Nt(e)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${Nt(n)}" type, imported from "${Nt(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){const i=function C9(n){return Vt(n)?"component":wi(n)?"directive":mr(n)?"pipe":"type"}(n);throw new Error(`The "${Nt(n)}" ${i}, imported from "${Nt(e)}", is not standalone. Does the ${i} have the standalone: false flag?`)}}}function Gl(n,e){for(const t of n)e.add(t)}const um=new class D9{ownerNgModule=new WeakMap;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new WeakMap;standaloneComponentsScopeCache=new WeakMap;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const e of this.ngModulesWithSomeUnresolvedDecls){const t=uo(e);if(t?.declarations)for(const i of oa(t.declarations))dm(i)&&this.ownerNgModule.set(i,e)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(e,t){this.resolveNgModulesDecls();const i=Vt(e);if(null===i)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${e}`);if(i.standalone){const r=this.getStandaloneComponentScope(e,t);return r.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...r.compilation.directives,...r.compilation.pipes,...r.compilation.ngModules]}}{if(!this.ownerNgModule.has(e))return{dependencies:[]};const r=this.getNgModuleScope(this.ownerNgModule.get(e));return r.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...r.compilation.directives,...r.compilation.pipes]}}}registerNgModule(e,t){if(!ud(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=Rc(e),i={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const r of oa(t.imports))if(ud(r)){const o=this.getNgModuleScope(r);Gl(o.exported.directives,i.compilation.directives),Gl(o.exported.pipes,i.compilation.pipes)}else{if(!pn(r)){i.compilation.isPoisoned=!0;break}if(gA(r)||dm(r))i.compilation.directives.add(r);else{if(!hb(r))throw new ee(980,"The standalone imported type is neither a component nor a directive nor a pipe");i.compilation.pipes.add(r)}}if(!i.compilation.isPoisoned)for(const r of oa(t.declarations)){if(ud(r)||pn(r)){i.compilation.isPoisoned=!0;break}hb(r)?i.compilation.pipes.add(r):i.compilation.directives.add(r)}for(const r of oa(t.exports))if(ud(r)){const o=this.getNgModuleScope(r);Gl(o.exported.directives,i.exported.directives),Gl(o.exported.pipes,i.exported.pipes),Gl(o.exported.directives,i.compilation.directives),Gl(o.exported.pipes,i.compilation.pipes)}else hb(r)?i.exported.pipes.add(r):i.exported.directives.add(r);return i}getStandaloneComponentScope(e,t){if(this.standaloneComponentsScopeCache.has(e))return this.standaloneComponentsScopeCache.get(e);const i=this.computeStandaloneComponentScope(e,t);return this.standaloneComponentsScopeCache.set(e,i),i}computeStandaloneComponentScope(e,t){const i={compilation:{directives:new Set([e]),pipes:new Set,ngModules:new Set}};for(const r of _r(t??[])){const o=ct(r);try{M9(o,e)}catch{return i.compilation.isPoisoned=!0,i}if(ud(o)){i.compilation.ngModules.add(o);const s=this.getNgModuleScope(o);if(s.exported.isPoisoned)return i.compilation.isPoisoned=!0,i;Gl(s.exported.directives,i.compilation.directives),Gl(s.exported.pipes,i.compilation.pipes)}else if(hb(o))i.compilation.pipes.add(o);else{if(!gA(o)&&!dm(o))return i.compilation.isPoisoned=!0,i;i.compilation.directives.add(o)}}return i}isOrphanComponent(e){const t=Vt(e);return!(!t||t.standalone)&&(this.resolveNgModulesDecls(),!this.ownerNgModule.has(e))}},oS={};class hh{injector;parentInjector;constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,i){const r=this.injector.get(e,oS,i);return r!==oS||t===oS?r:this.parentInjector.get(e,t,i)}}function fb(n,e,t){let i=t?n.styles:null,r=t?n.classes:null,o=0;if(null!==e)for(let s=0;s0&&(t.directiveToIndex=new Map);for(let b=0;b0;){const t=n[--e];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(n,e,i,Wp(n,t,r.hostVars,xn),r)}function P9(n,e,t){if(t){if(e.exportAs)for(let i=0;il?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,t,o,n.index)),null!==d){(d.__ngLastListenerFn__||d).__ngNextListenerFn__=s,d.__ngLastListenerFn__=s,c=!0}else{const m=En(n,t),b=i?i(m):m;(function K6(n,e,t,i){pP(n,e,t,i)})(t,b,o,a),i||(a.__ngNativeEl__=m);const S=r.listen(b,o,a);if(!function F9(n){return n.startsWith("animation")||n.startsWith("transition")}(o)){SA(i?I=>i(Ti(I[n.index])):n.index,e,t,o,a,S,!1)}}return c}function SA(n,e,t,i,r,o,s){const a=e.firstCreatePass?kp(e):null,l=Jy(t),c=l.length;l.push(r,o),a&&a.push(i,n,c,(c+1)*(s?-1:1))}function ph(n,e,t,i,r,o){const s=e[t],a=e[1],m=s[a.data[t].outputs[i]].subscribe(o);SA(n.index,a,e,r,o,m,!0)}function kA(){const n=fe(),e=vt(),t=gt();if(e.firstCreatePass&&function U9(n,e,t){for(let r=e.directiveStart;r1)return void(e.flags|=4096);!function z9(n,e){for(let t=e.directiveStart;t`}listenToCustomControlOutput(e,t){LA(this.tView.data[this.tNode.customControlIndex],e)&&ph(this.tNode,this.lView,this.tNode.customControlIndex,e,e,Ql(this.tNode,this.lView,t))}listenToCustomControlModel(e){const t=1024&this.tNode.flags?"valueChange":"checkedChange";ph(this.tNode,this.lView,this.tNode.customControlIndex,t,t,Ql(this.tNode,this.lView,e))}listenToDom(e,t){cS(this.tNode,this.tView,this.lView,void 0,this.lView[11],e,t,Ql(this.tNode,this.lView,t))}setInputOnDirectives(e,t){const i=this.tNode.inputs?.[e],r=this.tNode.hostDirectiveInputs?.[e];if(!i&&!r)return!1;if(i)for(const o of i){Wl(this.tView.data[o],this.lView[o],e,t)}if(r)for(let o=0;o{const[t,i,r]=n[e],o={propName:t,templateName:e,isSignal:0!==(i&qp.SignalBased)};return r&&(o.transform=r),o})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function K9(n){return Object.keys(n).map(e=>({propName:n[e],templateName:e}))}(this.componentDef.outputs),this.cachedOutputs}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=function D7(n){return n.map(M7).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!t}create(e,t,i,r,o,s){An(Ye.DynamicComponentStart);const a=M(null);try{const l=this.componentDef,c=function J9(n,e,t){let i=e instanceof ri?e:e?.injector;return i&&null!==n.getStandaloneInjector&&(i=n.getStandaloneInjector(i)||i),i?new hh(t,i):t}(l,r||this.ngModule,e),d=function Z9(n){const e=n.get(ql,null);if(null===e)throw new ee(407,!1);return{rendererFactory:e,sanitizer:n.get(iS,null),changeDetectionScheduler:n.get(zu,null),ngReflect:!1,tracingService:n.get(od,null,{optional:!0})}}(c),m=d.tracingService;return m&&m.componentCreate?m.componentCreate(dS(l),()=>this.createComponentRef(d,c,t,i,o,s)):this.createComponentRef(d,c,t,i,o,s)}finally{M(a)}}createComponentRef(e,t,i,r,o,s){const a=this.componentDef,l=function t$(n,e,t,i){const r=n?["ng-version","21.2.13"]:function S7(n){const e=[],t=[];let i=1,r=2;for(;i{if(1&t&&n)for(const i of n)i.create();if(2&t&&e)for(const i of e)i.update()}:null}(o,s),1,a,l,null,null,null,[r],null)}(r,a,s,o),c=e.rendererFactory.createRenderer(null,a),d=r?ez(c,r,a.encapsulation,t):function X9(n,e){const t=function e$(n){return(n.selectors[0][0]||"div").toLowerCase()}(n);return Yv(e,t,"svg"===t?"svg":"math"===t?"math":null)}(a,c),m=s?.some(OA)||o?.some(T=>"function"!=typeof T&&T.bindings.some(OA)),b=Hv(null,l,null,512|M0(a),null,null,e,c,t,null,yP(d,t,!0));b[27]=d,de(b);let S=null;try{const T=sS(27,b,2,"#host",()=>l.directiveRegistry,!0,0);QP(c,d,T),qr(d,b),Jv(l,b,T),d0(l,T,b),aS(l,T),void 0!==i&&function r$(n,e,t){const i=n.projection=[];for(let r=0;r0;)this.remove(this.length-1)}get(e){const t=RA(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=cm(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(a,r,ld(this._hostTNode,s)),a}createComponent(e,t,i,r,o,s,a){const l=e&&!Op(e);let c;if(l)c=t;else{const R=t||{};c=R.index,i=R.injector,r=R.projectableNodes,o=R.environmentInjector||R.ngModuleRef,s=R.directives,a=R.bindings}const d=l?e:new hm(Vt(e)),m=i||this.parentInjector;if(!o&&null==d.ngModule){const H=(l?m:this.parentInjector).get(ri,null);H&&(o=H)}const b=Vt(d.componentType??{}),S=cm(this._lContainer,b?.id??null),T=S?.firstChild??null,I=d.create(m,r,T,o,s,a);return this.insertImpl(I.hostView,c,ld(this._hostTNode,S)),I}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,i){const r=e._lView;if(function Ky(n){return lr(n[3])}(r)){const a=this.indexOf(e);if(-1!==a)this.detach(a);else{const l=r[3],c=new uS(l,l[5],l[3]);c.detach(c.indexOf(e))}}const o=this._adjustIndex(t),s=this._lContainer;return dh(s,r,o,i),e.attachToViewContainerRef(),Iy(hS(s),o,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=RA(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),i=em(this._lContainer,t);i&&(jc(hS(this._lContainer),t),Zp(i[1],i))}detach(e){const t=this._adjustIndex(e,-1),i=em(this._lContainer,t);return i&&null!=jc(hS(this._lContainer),t)?new tm(i):null}_adjustIndex(e,t=0){return e??this.length+t}}function RA(n){return n[8]}function hS(n){return n[8]||(n[8]=[])}function NA(n,e){let t;const i=e[n.index];return lr(i)?t=i:(t=B2(i,e,null,n),e[n.index]=t,D0(e,t)),FA(t,e,n,i),new uS(t,n,e)}let FA=jA,fS=()=>!1;function YA(n,e,t){return fS(n,e,t)}function jA(n,e,t,i){if(n[7])return;let r;r=8&t.type?Ti(i):function s$(n,e){const t=n[11],i=t.createComment(""),r=En(e,n),o=t.parentNode(r);return Xc(t,o,i,t.nextSibling(r),!1),i}(e,t),n[7]=r}class pS{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new pS(this.queryList)}setDirty(){this.queryList.setDirty()}}class mS{queries;constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const i=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let o=0;oe.trim())}(e):e}}class gS{queries;constructor(e=[]){this.queries=e}elementStart(e,t){for(let i=0;i0)i.push(s[a/2]);else{const c=o[a+1],d=e[-l];for(let m=10;m{i._dirtyCounter();const o=function g$(n,e){const t=n._lView,i=n._queryIndex;if(void 0===t||void 0===i||4&t[2])return e?void 0:on;const r=vS(t,i),o=WA(t,i);return r.reset(o,TI),e?r.first:r._changesDetected||void 0===n._flatValue?n._flatValue=r.toArray():n._flatValue}(i,n);if(e&&void 0===o)throw new ee(-951,!1);return o});return i=r[y],i._dirtyCounter=yn(0),i._flatValue=void 0,r}function qA(n){return wS(!0,!1)}function GA(n){return wS(!0,!0)}function QA(n,e){const t=n[y];t._lView=fe(),t._queryIndex=e,t._queryList=vS(t._lView,e),t._queryList.onDirty(()=>t._dirtyCounter.update(i=>i+1))}let fd=new Map;const fm=new Set;function KA(n){return!!(n.templateUrl&&!n.hasOwnProperty("template")||n.styleUrls?.length||n.styleUrl)}const DS=new Map;let JA=!0;function ZA(n,e){(function w$(n,e,t){if(e&&e!==t&&JA)throw new ee(921,!1)})(0,DS.get(e)||null,n),DS.set(e,n)}let pd=class{},XA=class{};class SS extends pd{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new AA(this);constructor(e,t,i,r=!0){super(),this.ngModuleType=e,this._parent=t;const o=uo(e);this._bootstrapComponents=oa(o.bootstrap),this._r3Injector=OL(e,t,[{provide:pd,useValue:this},{provide:ub,useValue:this.componentFactoryResolver},...i],ls(e),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class eO extends XA{moduleType;constructor(e){super(),this.moduleType=e}create(e){return new SS(this.moduleType,e,[])}}class D$ extends pd{injector;componentFactoryResolver=new AA(this);instance=null;constructor(e){super();const t=new Ni([...e.providers,{provide:pd,useValue:this},{provide:ub,useValue:this.componentFactoryResolver}],e.parent||Au(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function gb(n,e,t=null){return new D$({providers:n,parent:e,debugName:t,runEnvironmentInitializers:!0}).injector}class _b{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const t=cp(0,e.type),i=t.length>0?gb([t],this._injector,""):null;this.cachedInjectors.set(e,i)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=ue({token:_b,providedIn:"environment",factory:()=>new _b(Ce(ri))})}function Fe(n){return Ya(()=>{const e=nO(n),t={...e,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===Zu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&n.dependencies||null,getStandaloneInjector:e.standalone?r=>r.get(_b).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||go.Emulated,styles:n.styles||on,_:null,schemas:n.schemas||null,tView:null,id:""};e.standalone&&Hi("NgStandalone"),iO(t);const i=n.dependencies;return t.directiveDefs=yb(i,tO),t.pipeDefs=yb(i,mr),t.id=function E$(n){let e=0;const t="function"==typeof n.consts?"":n.consts,i=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,t,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];for(const o of i.join("|"))e=Math.imul(31,e)+o.charCodeAt(0)|0;return e+=2147483648,"c"+e}(t),t})}function tO(n){return Vt(n)||wi(n)}function Ct(n){return Ya(()=>({type:n.type,bootstrap:n.bootstrap||on,declarations:n.declarations||on,imports:n.imports||on,exports:n.exports||on,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function S$(n,e){if(null==n)return ar;const t={};for(const i in n)if(n.hasOwnProperty(i)){const r=n[i];let o,s,a,l;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o,l=r[3]||null):(o=r,s=r,a=qp.None,l=null),t[o]=[i,a,l],e[o]=s}return t}function k$(n){if(null==n)return ar;const e={};for(const t in n)n.hasOwnProperty(t)&&(e[n[t]]=t);return e}function je(n){return Ya(()=>{const e=nO(n);return iO(e),e})}function Mr(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:n.standalone??!0,onDestroy:n.type.prototype.ngOnDestroy||null}}function nO(n){const e={};return{type:n.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:e,inputConfig:n.inputs||ar,exportAs:n.exportAs||null,standalone:n.standalone??!0,signals:!0===n.signals,selectors:n.selectors||on,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:S$(n.inputs,e),outputs:k$(n.outputs),debugInfo:null}}function iO(n){n.features?.forEach(e=>e(n))}function yb(n,e){return n?()=>{const t="function"==typeof n?n():n,i=[];for(const r of t){const o=e(r);null!==o&&i.push(o)}return i}:null}function I$(n){const e=[];let t=!1,i=null,r=null;for(let o=0;o=0;i--){const r=n[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Ku(r.hostAttrs,t=Ku(t,r.hostAttrs))}}(i)}function O$(n,e){for(const t in e.inputs){if(!e.inputs.hasOwnProperty(t)||n.inputs.hasOwnProperty(t))continue;const i=e.inputs[t];void 0!==i&&(n.inputs[t]=i,n.declaredInputs[t]=e.declaredInputs[t])}}function TS(n){return n===ar?{}:n===on?[]:n}function N$(n,e){const t=n.viewQuery;n.viewQuery=t?(i,r)=>{e(i,r),t(i,r)}:e}function F$(n,e){const t=n.contentQueries;n.contentQueries=t?(i,r,o)=>{e(i,r,o),t(i,r,o)}:e}function Y$(n,e){const t=n.hostBindings;n.hostBindings=t?(i,r)=>{e(i,r),t(i,r)}:e}function lO(n,e,t,i,r,o,s,a){if(t.firstCreatePass){n.mergedAttrs=Ku(n.mergedAttrs,n.attrs);const d=n.tView=C0(2,n,r,o,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);null!==t.queries&&(t.queries.template(t,n),d.queries=t.queries.embeddedTView(n))}a&&(n.flags|=a),gs(n,!1);const l=dO(t,e,n,i);sv()&&Y0(t,e,l,n),qr(l,e);const c=B2(l,e,l,n);e[i+27]=c,D0(e,c),YA(c,n,e)}function md(n,e,t,i,r,o,s,a,l,c,d){const m=t+27;let b;if(e.firstCreatePass){if(b=cd(e,m,4,s||null,a||null),null!=c){const S=ut(e.consts,c);b.localNames=[];for(let T=0;T{if(zl.get(n)?.has(r)){if(o.callbacks.delete(e),0===o.callbacks.size){s.observer.unobserve(n),s.count--;const a=zl.get(n);a&&(a.delete(r),0===a.size&&zl.delete(n))}0===s.count&&(s.observer.disconnect(),kv.delete(r))}}}(n,()=>r.run(e),o=>r.runOutsideAngular(()=>function U6(n){const e=hP(n);return new IntersectionObserver(t=>{for(const i of t)i.isIntersecting&&zl.has(i.target)&&zl.get(i.target)?.get(e)?.listener()},n)}(o)),i)}function _h(n,e,t,i,r,o,s,a){const l=n[9],c=l.get(Et);let d;d=function B7(n,e){const t=e?.injector??$(ui);return Hi("NgAfterRender"),g2(n,t,e,!1)}({read:function m(){if(ms(n))return void d.destroy();const b=Qr(n,e),S=b[1];if(S!==gd.Initial&&S!==Rn.Placeholder)return void d.destroy();const T=function Q$(n,e,t){return null==t?n:t>=0?Fu(t,n):n[e.index][10]??null}(n,e,i);if(!T||(d.destroy(),ms(T)))return;const I=function K$(n,e){return Fl(27+e,n)}(T,t),R=r(I,()=>{c.run(()=>{n!==T&&Sp(T,R),o()})},l,a);n!==T&&ju(T,R),mm(s,b,R)}},{injector:l})}function Cb(n,e){const t=e.get(Mb);return t.add(n),()=>t.remove(n)}!function(n){n[n.Manual=0]="Manual",n[n.Playthrough=1]="Playthrough"}(ES||(ES={}));class Mb{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=$(Et);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);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:i}=this;t.delete(e),i.delete(e),0===t.size&&0===i.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 \u0275prov=ue({token:Mb,providedIn:"root",factory:()=>new Mb})}function Db(n){return(e,t)=>yO(n,e,t)}function yO(n,e,t){const i=t.get(Sb),r=t.get(Et);return i.add(n,e,r),()=>i.remove(e)}class Sb{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(e,t,i){const r=this.executingCallbacks?this.deferred:this.current;this.addToQueue(r,Date.now()+e,t),this.scheduleTimer(i)}remove(e){const{current:t,deferred:i}=this;-1===this.removeFromQueue(t,e)&&this.removeFromQueue(i,e),0===t.length&&0===i.length&&this.clearTimeout()}addToQueue(e,t,i){let r=e.length;for(let o=0;ot){r=o;break}Ay(e,r,t,i)}removeFromQueue(e,t){let i=-1;for(let r=0;r-1&&Py(e,i,2),i}scheduleTimer(e){const t=()=>{this.clearTimeout(),this.executingCallbacks=!0;const r=[...this.current],o=Date.now();for(let a=0;a=0&&Py(this.current,0,s+1),this.executingCallbacks=!1,this.deferred.length>0){for(let a=0;a0){const r=Date.now(),o=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-o>16){this.clearTimeout();const s=Math.max(o-r,16);this.invokeTimerAt=o,this.timeoutId=e.runOutsideAngular(()=>setTimeout(()=>e.run(t),s))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=ue({token:Sb,providedIn:"root",factory:()=>new Sb})}class kb{cachedInjectors=new Map;getOrCreateInjector(e,t,i,r){if(!this.cachedInjectors.has(e)){const o=i.length>0?gb(i,t,r):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 \u0275prov=ue({token:kb,providedIn:"environment",factory:()=>new kb})}const X$=new _e("");function IS(n,e,t){return n.get(kb).getOrCreateInjector(e,n,t,"")}function Kl(n,e,t,i=!1){const r=t[3],o=r[1];if(ms(r))return;const s=Qr(r,e),a=s[1],l=s[7];if(!(null!==l&&n0&&(d=function eW(n,e,t){if(n instanceof hh){const r=n.injector,s=IS(n.parentInjector,e,t);return new hh(r,s)}const i=n.get(ri);if(i!==n){const r=IS(i,e,t);return new hh(n,r)}return IS(n,e,t)}(r[9],T,I))}const{dehydratedView:m,dehydratedViewIx:b}=function tW(n,e){const t=n[6]?.findIndex(r=>r.data.s===e[1])??-1;return{dehydratedView:t>-1?n[6][t]:null,dehydratedViewIx:t}}(t,e),S=lh(r,l,null,{injector:d,dehydratedView:m});if(dh(t,S,c,ld(l,m)),ch(S,2),b>-1&&t[6]?.splice(b,1),(n===Rn.Complete||n===Rn.Error)&&Array.isArray(e[8])){for(const T of e[8])T();e[8]=null}}An(Ye.DeferBlockStateEnd)}function nW(n,e,t,i,r){const o=Date.now(),a=hr(r[1],i);if(null===e[2]||e[2]<=o){e[2]=null;const l=mO(a),c=null!==e[3];if(n!==Rn.Loading||null===l||c){n>Rn.Loading&&c&&(e[3](),e[3]=null,e[0]=null),vO(n,e,t,i,r);const d=xS(a,n);null!==d&&(e[2]=o+d,bO(d,e,i,t,r))}else{e[0]=n;const d=bO(l,e,i,t,r);e[3]=d}}else e[0]=n}function bO(n,e,t,i,r){return yO(n,()=>{const s=e[0];e[2]=null,e[0]=null,null!==s&&Kl(s,t,i)},r[9])}function wO(n,e){return n{n.loadingState===gi.COMPLETE?Kl(Rn.Complete,e,t):n.loadingState===gi.FAILED&&Kl(Rn.Error,e,t)})}let PS=null;class vh{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(t){return new(t||vh)};static \u0275prov=ue({token:vh,factory:vh.\u0275fac,providedIn:"platform"})}new class rW{resolverToTokenToDependencies=new WeakMap;resolverToProviders=new WeakMap;resolverToEffects=new WeakMap;standaloneInjectorToComponent=new WeakMap;reset(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}};function OS(n){return"function"==typeof n&&void 0!==n[y]}function DO(n){return OS(n)&&"function"==typeof n.set}const jO=new _e(""),HO=new _e("");class vd{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,t,i){this._ngZone=e,this.registry=t,mp()&&(this._destroyRef=$(br,{optional:!0})??void 0),NS||(function UW(n){NS=n}(i),i.addToWindow(t)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),t=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{Et.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),t.unsubscribe()})}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,i){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==r),e()},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:i})}whenStable(e,t,i){if(i&&!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,i),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,t,i){return[]}static \u0275fac=function(t){return new(t||vd)(Ce(Et),Ce(ym),Ce(HO))};static \u0275prov=ue({token:vd,factory:vd.\u0275fac})}class ym{_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 NS?.findTestabilityInTree(this,e,t)??null}static \u0275fac=function(t){return new(t||ym)};static \u0275prov=ue({token:ym,factory:ym.\u0275fac,providedIn:"platform"})}let NS;function vm(n){return!!n&&"function"==typeof n.then}function VO(n){return!!n&&"function"==typeof n.subscribe}const BO=new _e("");function UO(n){return Pa([{provide:BO,multi:!0,useValue:n}])}class wh{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t});appInits=$(BO,{optional:!0})??[];injector=$(ui);constructor(){}runInitializers(){if(this.initialized)return;const e=[];for(const i of this.appInits){const r=Fi(this.injector,i);if(vm(r))e.push(r);else if(VO(r)){const o=new Promise((s,a)=>{r.subscribe({complete:s,error:a})});e.push(o)}}const t=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{t()}).catch(i=>{this.reject(i)}),0===e.length&&t(),this.initialized=!0}static \u0275fac=function(t){return new(t||wh)};static \u0275prov=ue({token:wh,factory:wh.\u0275fac,providedIn:"root"})}const zO=new _e("");function zW(){!function nt(n){gn=n}(()=>{throw new ee(600,"")})}function $O(n,e){return Array.isArray(e)?e.reduce($O,n):{...n,...e}}class Hr{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=$(Xs);afterRenderManager=$(Jp);zonelessEnabled=$(dv);rootEffectScheduler=$(uv);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Ze;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=$(ws);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Bn(e=>!e))}constructor(){$(od,{optional:!0})}whenStable(){let e;return new Promise(t=>{e=this.isStable.subscribe({next:i=>{i&&t()}})}).finally(()=>{e.unsubscribe()})}_injector=$(ri);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,t){return this.bootstrapImpl(e,t)}bootstrapImpl(e,t,i=ui.NULL){return this._injector.get(Et).run(()=>{An(Ye.BootstrapComponentStart);const o=e instanceof mA;if(!this._injector.get(wh).done){throw new ee(405,"")}let a;a=o?e:this._injector.get(ub).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const l=function $W(n){return n.isBoundToModule}(a)?void 0:this._injector.get(pd),c=t||a.selector,d=a.create(i,[],c,l),m=d.location.nativeElement,b=d.injector.get(jO,null);return b?.registerApplication(m),d.onDestroy(()=>{this.detachView(d.hostView),xb(this.components,d),b?.unregisterApplication(m)}),this._loadComponent(d),An(Ye.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){An(Ye.ChangeDetectionStart),null!==this.tracingSnapshot?this.tracingSnapshot.run(Wv.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw An(Ye.ChangeDetectionEnd),new ee(101,!1);const e=M(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,M(e),this.afterTick.next(),An(Ye.ChangeDetectionEnd)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(ql,null,{optional:!0}));let e=0;for(;0!==this.dirtyFlags&&e++<10;){An(Ye.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{An(Ye.ChangeDetectionSyncEnd)}}}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(7&this.dirtyFlags){const t=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i}of this.allViews){if(!t&&!Yu(i))continue;ib(i,t&&!this.zonelessEnabled?0:1),e=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:e})=>Yu(e))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;xb(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(i){this.internalErrorHandler(i)}this.components.push(e),this._injector.get(zO,[]).forEach(i=>i(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._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>xb(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ee(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(t){return new(t||Hr)};static \u0275prov=ue({token:Hr,factory:Hr.\u0275fac,providedIn:"root"})}function xb(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}function bm(){let n,e;return{promise:new Promise((i,r)=>{n=i,e=r}),resolve:n,reject:e}}function WO(n){const e=fe(),t=gt();if(yh(e,t),!QO(0,e))return;const i=e[9];mm(0,Qr(e,t),n(()=>bd(0,e,t),i))}function qO(n){const e=fe(),t=e[9],i=gt(),o=hr(e[1],i);if(o.loadingState===gi.NOT_STARTED){mm(1,Qr(e,i),n(()=>wm(o,e,i),t))}}function GO(n,e,t){const i=e[9],r=Qr(e,t),o=r[6];mm(2,r,n(()=>wd(i,o),i))}function wm(n,e,t){FS(n,e,t)}function FS(n,e,t){const i=e[9],r=e[1];if(n.loadingState!==gi.NOT_STARTED)return n.loadingPromise??Promise.resolve();const o=Qr(e,t),s=function G$(n,e){return Yl(n,e.primaryTmplIndex+27)}(r,n);n.loadingState=gi.IN_PROGRESS,wb(1,o);let a=n.dependencyResolverFn;const l=i.get(Wc).add();return a?(n.loadingPromise=Promise.allSettled(a()).then(c=>{let d=!1,m=null;const b=[],S=[];for(let T=0;T0){T.directiveRegistry=gO(T.directiveRegistry,b);const R=cp(!1,...b.map(H=>H.type));n.providers=R}S.length>0&&(T.pipeRegistry=gO(T.pipeRegistry,S))}}),n.loadingPromise.finally(()=>{n.loadingPromise=null,l()})):(n.loadingPromise=Promise.resolve().then(()=>{n.loadingPromise=null,n.loadingState=gi.COMPLETE,l()}),n.loadingPromise)}function QO(n,e){return e[9].get(X$,null,{optional:!0})?.behavior!==ES.Manual}function bd(n,e,t){const i=e[1],r=e[t.index];if(!QO(0,e))return;const o=Qr(e,t),s=hr(i,t);switch(fO(o),s.loadingState){case gi.NOT_STARTED:Kl(Rn.Loading,t,r),FS(s,e,t),s.loadingState===gi.IN_PROGRESS&&CO(s,t,r);break;case gi.IN_PROGRESS:Kl(Rn.Loading,t,r),CO(s,t,r);break;case gi.COMPLETE:Kl(Rn.Complete,t,r);break;case gi.FAILED:Kl(Rn.Error,t,r)}}function wd(n,e,t){return YS.apply(this,arguments)}function YS(){return YS=Wt(function*(n,e,t){const i=n.get($l);if(i.hydrating.has(e))return;const{parentBlockPromise:o,hydrationQueue:s}=function lU(n,e){const t=e.get($l),r=e.get(Ul).get(Ev,{});let o=!1,s=n,a=null;const l=[];for(;!o&&s;){o=t.has(s);const c=t.hydrating.get(s);if(null===a&&null!=c){a=c.promise;break}l.unshift(s),s=r[s].p}return{parentBlockPromise:a,hydrationQueue:l}}(e,n);if(0===s.length)return;null!==o&&s.shift(),function QW(n,e){for(let t of e)n.hydrating.set(t,bm())}(i,s),null!==o&&(yield o);const a=s[0];i.has(a)?yield KO(n,s,t):i.awaitParentBlock(a,Wt(function*(){return yield KO(n,s,t)}))}),YS.apply(this,arguments)}function KO(n,e,t){return jS.apply(this,arguments)}function jS(){return jS=Wt(function*(n,e,t){const i=n.get($l),r=i.hydrating,o=n.get(ws),s=o.add();for(let l=0;l-1?t.get(e[i]):null;r&&db(r.lContainer)}function JO(n,e){const t=e.hydrating;for(const i in n)t.get(i)?.reject();e.cleanup(n)}function KW(n){return new Promise(e=>sd(e,{injector:n}))}function JW(n){return HS.apply(this,arguments)}function HS(){return HS=Wt(function*(n){const{tNode:e,lView:t}=n,i=Qr(t,e);return new Promise(r=>{(function ZW(n,e){Array.isArray(n[8])||(n[8]=[]),n[8].push(e)})(i,r),bd(0,t,e)})}),HS.apply(this,arguments)}function _i(n,e,t){return 0===n?ZO(e,t):2!==n||!ZO(e,t)}function ZO(n,e){const t=n[9],i=hr(n[1],e),r=bP(t),o=function XW(n){return null!=n&&!(1&~n)}(i.flags),a=null!==Qr(n,e)[6];return!(o&&a&&r)}function Jl(n,e){const t=hr(n,e);return t.hydrateTriggers??=new Map}function Zn(n,e,t,i){const r=fe();if(Jn(r,vr(),e)){vt();!function az(n,e,t,i,r,o){const s=En(n,e);Zv(e[11],s,o,n.value,t,i,r)}(bs(),r,n,e,t,i)}return Zn}class Oq{destroy(e){}updateValue(e,t){}swap(e,t){const i=Math.min(e,t),r=Math.max(e,t),o=this.detach(r);if(r-i>1){const s=this.detach(i);this.attach(i,o),this.attach(r,s)}else this.attach(i,o)}move(e,t){this.attach(t,this.detach(e))}}function BS(n,e,t,i,r){return n===t&&Object.is(e,i)?1:Object.is(r(n,e),r(t,i))?-1:0}function US(n,e,t,i){return!(void 0===e||!e.has(i))&&(n.attach(t,e.get(i)),e.delete(i),!0)}function tR(n,e,t,i,r){if(US(n,e,i,t(i,r)))n.updateValue(i,r);else{const o=n.create(i,r);n.attach(i,o)}}function nR(n,e,t,i){const r=new Set;for(let o=e;o<=t;o++)r.add(i(o,n.at(o)));return r}class iR{kvMap=new Map;_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 i=this.kvMap.get(e);void 0===this._vMap&&(this._vMap=new Map);const r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,i]of this.kvMap)if(e(i,t),void 0!==this._vMap){const r=this._vMap;for(;r.has(i);)i=r.get(i),e(i,t)}}}function V(n,e,t,i,r,o,s,a){Hi("NgControlFlow");const l=fe(),c=vt();return md(l,c,n,e,t,i,r,ut(c.consts,o),256,s,a),zS}function zS(n,e,t,i,r,o,s,a){Hi("NgControlFlow");const l=fe(),c=vt();return md(l,c,n,e,t,i,r,ut(c.consts,o),512,s,a),zS}function B(n,e){Hi("NgControlFlow");const t=fe(),i=vr(),r=t[i]!==xn?t[i]:-1,o=-1!==r?Ab(t,27+r):void 0;if(Jn(t,i,n)){const a=M(null);try{if(void 0!==o&&W0(o,0),-1!==n){const l=27+n,c=Ab(t,l),d=$S(t[1],l),m=hA(c,d,t);dh(c,lh(t,d,e,{dehydratedView:m}),0,ld(d,m))}}finally{M(a)}}else if(void 0!==o){const a=U2(o,0);void 0!==a&&(a[8]=e)}}class Nq{lContainer;$implicit;$index;constructor(e,t,i){this.lContainer=e,this.$implicit=t,this.$index=i}get $count(){return this.lContainer.length-10}}function vn(n,e){return e}class Yq{hasEmptyBlock;trackByFn;liveCollection;constructor(e,t,i){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=i}}function bn(n,e,t,i,r,o,s,a,l,c,d,m,b){Hi("NgControlFlow");const S=fe(),T=vt(),I=void 0!==l,R=fe(),H=a?s.bind(R[15][8]):s,j=new Yq(I,H);R[27+n]=j,md(S,T,n+1,e,t,i,r,ut(T.consts,o),256),I&&md(S,T,n+2,l,c,d,m,ut(T.consts,b),512)}class jq extends Oq{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,t,i){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=i}get length(){return this.lContainer.length-10}at(e){return this.getLView(e)[8].$implicit}attach(e,t){const i=t[6];this.needsIndexUpdate||=e!==this.length,dh(this.lContainer,t,e,ld(this.templateTNode,i)),function Hq(n,e){if(n.length<=10)return;const t=10+e,i=n[t],r=i?i[26]:void 0;if(i&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){(function z7(n,e){const t=n.get(Gv);if(e.detachedLeaveAnimationFns){for(const i of e.detachedLeaveAnimationFns)t.queue.delete(i);e.detachedLeaveAnimationFns=void 0}})(i[9],r),rd.delete(i[19]),r.detachedLeaveAnimationFns=void 0}}(this.lContainer,e)}detach(e){return this.needsIndexUpdate||=e!==this.length-1,function Vq(n,e){if(n.length<=10)return;const t=10+e,i=n[t],r=i?i[26]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}(this.lContainer,e),function Bq(n,e){return em(n,e)}(this.lContainer,e)}create(e,t){const i=cm(this.lContainer,this.templateTNode.tView.ssrId);return lh(this.hostLView,this.templateTNode,new Nq(this.lContainer,t,e),{dehydratedView:i})}destroy(e){Zp(e[1],e)}updateValue(e,t){this.getLView(e)[8].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e{n.destroy(c)})}(l,n,o.trackByFn,e),l.updateIndexes(),o.hasEmptyBlock){const c=vr(),d=0===l.length;if(Jn(i,c,d)){const m=t+2,b=Ab(i,m);if(d){const S=$S(r,m),T=hA(b,S,i);dh(b,lh(i,S,void 0,{dehydratedView:T}),0,ld(S,T))}else r.firstUpdatePass&&cb(b),W0(b,0)}}}finally{M(e)}}function Ab(n,e){return n[e]}function $S(n,e){return Yl(n,e)}function U(n,e,t){const i=fe();if(Jn(i,vr(),e)){vt();V0(bs(),i,n,e,i[11],t)}return U}function WS(n,e,t,i,r){tb(e,n,t,r?"class":"style",i)}function f(n,e,t,i){const r=fe(),o=r[1],s=n+27,a=o.firstCreatePass?sS(s,r,2,e,U0,Vu(),t,i):o.data[s];if(Fo(a)){const l=r[10].tracingService;if(l&&l.componentCreate){const c=o.data[a.directiveStart+a.componentOffset];return l.componentCreate(dS(c),()=>(rR(n,e,r,a,i),f))}}return rR(n,e,r,a,i),f}function rR(n,e,t,i,r){if(Xv(i,t,n,e,qS),Nl(i)){const o=t[1];Jv(o,t,i),d0(o,i,t)}null!=r&&ah(t,i)}function p(){const n=vt(),t=eb(gt());return n.firstCreatePass&&aS(n,t),Xy(t)&&ev(),Yo(),null!=t.classesWithoutHost&&function z8(n){return!!(8&n.flags)}(t)&&WS(n,t,fe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function $8(n){return!!(16&n.flags)}(t)&&WS(n,t,fe(),t.stylesWithoutHost,!1),p}function O(n,e,t,i){return f(n,e,t,i),p(),O}function Ob(n,e,t,i){const r=fe(),o=r[1],s=n+27,a=o.firstCreatePass?MA(s,o,2,e,t,i):o.data[s];return Xv(a,r,n,e,qS),null!=i&&ah(r,a),Ob}function Rb(){return Xy(eb(gt()))&&ev(),Yo(),Rb}function Nb(n,e,t,i){return Ob(n,e,t,i),Rb(),Nb}let qS=(n,e,t,i,r)=>(Lp(!0),Yv(e[11],i,function YB(){return ht.lFrame.currentNamespace}()));function GS(n,e,t){const i=fe(),r=i[1],o=n+27,s=r.firstCreatePass?sS(o,i,8,"ng-container",U0,Vu(),e,t):r.data[o];if(Xv(s,i,n,"ng-container",KS),Nl(s)){const a=i[1];Jv(a,i,s),d0(a,s,i)}return null!=t&&ah(i,s),GS}function Fb(){const n=vt(),t=eb(gt());return n.firstCreatePass&&aS(n,t),Fb}function QS(n,e,t){const i=fe(),r=i[1],o=n+27,s=r.firstCreatePass?MA(o,r,8,"ng-container",e,t):r.data[o];return Xv(s,i,n,"ng-container",KS),null!=t&&ah(i,s),QS}function sR(){eb(gt());return Fb}let KS=(n,e,t,i,r)=>(Lp(!0),v0(e[11],""));function pe(){return fe()}const Cm=void 0;var qq=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["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"]],Cm,[["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"]],Cm,[["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\u202fa","h:mm:ss\u202fa","h:mm:ss\u202fa z","h:mm:ss\u202fa zzzz"],["{1}, {0}",Cm,Cm,Cm],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Wq(n){const e=Math.floor(Math.abs(n)),t=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===t?1:5}];let Ch={};function Vr(n){const e=function Gq(n){return n.toLowerCase().replace(/_/g,"-")}(n);let t=uR(e);if(t)return t;const i=e.split("-")[0];if(t=uR(i),t)return t;if("en"===i)return qq;throw new ee(701,!1)}function dR(n){return Vr(n)[zn.PluralCase]}function uR(n){return n in Ch||(Ch[n]=fn.ng&&fn.ng.common&&fn.ng.common.locales&&fn.ng.common.locales[n]),Ch[n]}var zn;!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"}(zn||(zn={}));const Qq=["zero","one","two","few","many"];const Yb="en-US",jb={marker:"element"},Hb={marker:"ICU"};var Br;!function(n){n[n.SHIFT=2]="SHIFT",n[n.APPEND_EAGERLY=1]="APPEND_EAGERLY",n[n.COMMENT=2]="COMMENT"}(Br||(Br={}));let hR=Yb;let Mm=0,Dm=0;function fR(n,e,t){const i=n[11];switch(t){case Node.COMMENT_NODE:return v0(i,e);case Node.TEXT_NODE:return y0(i,e);case Node.ELEMENT_NODE:return Yv(i,e,null)}}let Sm=(n,e,t,i)=>(Lp(!0),fR(n,t,i));function pR(n,e,t,i){const r=t[11];let s,o=null;for(let a=0;a>>1,S=e[++a],T=e[++a];Zv(r,Fl(b,t),null,null,S,T,null)}else switch(l){case Hb:const c=e[++a],d=e[++a];if(null===t[d]){qr(t[d]=Sm(t,d,c,Node.COMMENT_NODE),t)}break;case jb:const m=e[++a],b=e[++a];if(null===t[b]){qr(t[b]=Sm(t,b,m,Node.ELEMENT_NODE),t)}}}}function mR(n,e,t,i,r){for(let o=0;o>>2;switch(3&d){case 1:const b=t[++c],S=t[++c],T=n.data[m];"string"==typeof T?Zv(e[11],e[m],null,T,b,l,S):V0(T,e,b,l,e[11],S);break;case 0:const I=e[m];null!==I&&$P(e[11],I,l);break;case 2:rG(n,om(n,m),e,l);break;case 3:gR(n,om(n,m),i,e)}}}}else{const l=t[o+1];if(l>0&&!(3&~l)){const d=om(n,l>>>2);e[d.currentCaseLViewIndex]<0&&gR(n,d,i,e)}}o+=a}}function gR(n,e,t,i){let r=i[e.currentCaseLViewIndex];if(null!==r){let o=Mm;r<0&&(r=i[e.currentCaseLViewIndex]=~r,o=-1),mR(n,i,e.update[r],t,o)}}function rG(n,e,t,i){const r=function oG(n,e){let t=n.cases.indexOf(e);if(-1===t)switch(n.type){case 1:{const i=function Kq(n,e){const t=dR(e)(parseInt(n,10)),i=Qq[t];return void 0!==i?i:"other"}(e,function Xq(){return hR}());t=n.cases.indexOf(i),-1===t&&"other"!==i&&(t=n.cases.indexOf("other"));break}case 0:t=n.cases.indexOf("other")}return-1===t?null:t}(e,i);if(sb(e,t)!==r&&(_R(n,e,t),t[e.currentCaseLViewIndex]=null===r?null:~r,null!==r)){const s=t[e.anchorIdx];s&&pR(n,e.create[r],t,s),function l9(n,e,t){lA(n,e,t)}(t,e.anchorIdx,r)}}function _R(n,e,t){let i=sb(e,t);if(null!==i){const r=e.remove[i];for(let o=0;o0){const a=Fl(s,t);null!==a&&zp(t[11],a)}else _R(n,om(n,~s),t)}}}const Vb=/\ufffd(\d+):?\d*\ufffd/gi,sG=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,aG=/\ufffd(\d+)\ufffd/,vR=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,km="\ufffd",lG=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,cG=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,dG=/\uE500/g;function hG(n,e,t,i,r,o){const s=zc(),a=[],l=[],c=[[]],d=[[]];r=function gG(n,e){if(eA(e))return CR(n);{const t=n.indexOf(`:${e}${km}`)+2+e.toString().length,i=n.search(new RegExp(`${km}\\/\\*\\d+:${e}${km}`));return CR(n.substring(t,i))}}(r,o);const m=function uG(n){return n.replace(dG," ")}(r).split(cG);for(let b=0;bt.length&&t.push(l)}return{type:i,mainBinding:r,cases:e,values:t}}function JS(n){if(!n)return[];let e=0;const t=[],i=[],r=/[{}]/g;let o;for(r.lastIndex=0;o=r.exec(n);){const a=o.index;if("}"==o[0]){if(t.pop(),0==t.length){const l=n.substring(e,a);vR.test(l)?i.push(_G(l)):i.push(l),e=a+1}}else{if(0==t.length){const l=n.substring(e,a);i.push(l),e=a+1}t.push("{")}}const s=n.substring(e);return i.push(s),i}function yG(n,e,t,i,r,o,s,a,l){const c=[],d=[],m=[];t.cases.push(s),t.create.push(c),t.remove.push(d),t.update.push(m);const S=RP(Vp()).getInertBodyElement(a),T=_0(S)||S;return T?DR(n,e,t,i,r,c,d,m,T,o,l,0):0}function DR(n,e,t,i,r,o,s,a,l,c,d,m){let b=0,S=l.firstChild;for(;S;){const T=Wp(e,i,1,null);switch(S.nodeType){case Node.ELEMENT_NODE:const I=S,R=I.tagName.toLowerCase();if(p0.hasOwnProperty(R)){ZS(o,jb,R,c,T),e.data[T]=R;const se=I.attributes;for(let ye=0;yen?Object.keys(n):[]));function TR(n){const e=n.toLowerCase();return jP[e]?Nv:CG.has(e)?XP:null}const MG=/\[(\ufffd.+?\ufffd?)\]/,DG=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,SG=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,kG=/{([A-Z0-9_]+)}/g,TG=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,EG=/\/\*/,xG=/\d+\:(\d+)/;function xR(n,e,t=-1){const i=vt(),r=fe(),o=27+n,s=ut(i.consts,e),a=zc();if(i.firstCreatePass&&hG(i,null===a?0:a.index,r,o,s,t),2===i.type){r[15][2]|=32}else r[2]|=32;const l=i.data[o],d=C2(i,a===r[5]?null:a,r),m=a&&8&a.type?r[a.index]:null;(function n9(n,e,t,i){sA(n,e,t,i)})(r,o,a,t),function iG(n,e,t,i){const r=n[11];for(let o=0;o>>Br.SHIFT;let m=n[d],b=!1;null===m&&(m=n[d]=Sm(n,d,a,l?Node.COMMENT_NODE:Node.TEXT_NODE),b=sv()),c&&null!==t&&b&&Xc(r,t,m,i,!1)}}(r,l.create,d,m),Fa(!0)}function LR(){Fa(!1)}function W(n,e,t){const i=fe(),r=vt(),o=gt();return XS(r,i,i[11],o,n,e,t),W}function XS(n,e,t,i,r,o,s){let a=!0,l=null;if((3&i.type||s)&&(l??=Ql(i,e,o),cS(i,n,e,s,t,r,o,l)&&(a=!1)),a){const c=i.outputs?.[r],d=i.hostDirectiveOutputs?.[r];if(d&&d.length)for(let m=0;m>17&32767}function ek(n){return 2|n}function Mh(n){return(131068&n)>>2}function tk(n,e){return-131069&n|e<<2}function nk(n){return 1|n}function VG(n,e,t,i,r,o){let s=o?e.classBindings:e.styleBindings,a=Cd(s),l=Mh(s);n[i]=t;let d,c=!1;if(Array.isArray(t)){const m=t;d=m[1],(null===d||Vc(m,d)>0)&&(c=!0)}else d=t;if(r)if(0!==l){const b=Cd(n[a+1]);n[i+1]=Ub(b,a),0!==b&&(n[b+1]=tk(n[b+1],i)),n[a+1]=function jG(n,e){return 131071&n|e<<17}(n[a+1],i)}else n[i+1]=Ub(a,0),0!==a&&(n[a+1]=tk(n[a+1],i)),a=i;else n[i+1]=Ub(l,0),0===a?a=i:n[l+1]=tk(n[l+1],i),l=i;c&&(n[i+1]=ek(n[i+1])),NR(n,d,i,!0),NR(n,d,i,!1),function BG(n,e,t,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof e&&Vc(o,e)>=0&&(t[i+1]=nk(t[i+1]))}(e,d,n,i,o),s=Ub(a,l),o?e.classBindings=s:e.styleBindings=s}function NR(n,e,t,i){const r=n[t+1],o=null===e;let s=i?Cd(r):Mh(r),a=!1;for(;0!==s&&(!1===a||o);){const l=n[s],c=n[s+1];UG(l,e)&&(a=!0,n[s+1]=i?nk(c):ek(c)),s=i?Cd(c):Mh(c)}a&&(n[t+1]=i?ek(r):nk(r))}function UG(n,e){return null===n||null==e||(Array.isArray(n)?n[1]:n)===e||!(!Array.isArray(n)||"string"!=typeof e)&&Vc(n,e)>=0}const Vi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function FR(n){return n.substring(Vi.key,Vi.keyEnd)}function zG(n){return n.substring(Vi.value,Vi.valueEnd)}function YR(n,e){const t=Vi.textEnd;return t===e?-1:(e=Vi.keyEnd=function qG(n,e,t){for(;e32;)e++;return e}(n,Vi.key=e,t),Dh(n,e,t))}function jR(n,e){const t=Vi.textEnd;let i=Vi.key=Dh(n,e,t);return t===i?-1:(i=Vi.keyEnd=function GG(n,e,t){let i;for(;e=65&&(-33&i)<=90||i>=48&&i<=57);)e++;return e}(n,i,t),i=VR(n,i,t,58),i=Vi.value=Dh(n,i,t),i=Vi.valueEnd=function QG(n,e,t){let i=-1,r=-1,o=-1,s=e,a=s;for(;s32&&(a=s),o=r,r=i,i=-33&l}return a}(n,i,t),VR(n,i,t,59))}function HR(n){Vi.key=0,Vi.keyEnd=0,Vi.value=0,Vi.valueEnd=0,Vi.textEnd=n.length}function Dh(n,e,t){for(;e=0;t=jR(e,t))qR(n,FR(e),zG(e))}function Cn(n){zR(rQ,ZG,n,!0)}function ZG(n,e){for(let t=function $G(n){return HR(n),YR(n,Dh(n,0,Vi.textEnd))}(e);t>=0;t=YR(e,t))Hc(n,FR(e),!0)}function UR(n,e,t,i){const r=fe(),o=vt(),s=vs(2);if(o.firstUpdatePass&&WR(o,n,s,i),e!==xn&&Jn(r,s,e)){GR(o,o.data[cr()],r,r[11],n,r[s+1]=function sQ(n,e){return null==n||""===n||("string"==typeof e?n+=e:"object"==typeof n&&(n=ls(Gr(n)))),n}(e,t),i,s)}}function zR(n,e,t,i){const r=vt(),o=vs(2);r.firstUpdatePass&&WR(r,null,o,i);const s=fe();if(t!==xn&&Jn(s,o,t)){const a=r.data[cr()];if(KR(a,i)&&!$R(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=Kf(l,t||"")),WS(r,a,s,t,i)}else!function oQ(n,e,t,i,r,o,s,a){r===xn&&(r=on);let l=0,c=0,d=0=n.expandoStartIndex}function WR(n,e,t,i){const r=n.data;if(null===r[t+1]){const o=r[cr()],s=$R(n,t);KR(o,i)&&null===e&&!s&&(e=!1),e=function XG(n,e,t,i){const r=_(n);let o=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(t=ik(null,n,e,t,i),t=Tm(t,e.attrs,i),o=null);else{const s=e.directiveStylingLast;if(-1===s||n[s]!==r)if(t=ik(r,n,e,t,i),null===o){let l=function eQ(n,e,t){const i=t?e.classBindings:e.styleBindings;if(0!==Mh(i))return n[Cd(i)]}(n,e,i);void 0!==l&&Array.isArray(l)&&(l=ik(null,n,e,l[1],i),l=Tm(l,e.attrs,i),function tQ(n,e,t,i){const r=t?e.classBindings:e.styleBindings;n[Cd(r)]=i}(n,e,i,l))}else o=function nQ(n,e,t){let i;const r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){const l=n[r],c=Array.isArray(l),d=c?l[1]:l,m=null===d;let b=t[r+1];b===xn&&(b=m?on:void 0);let S=m?lp(b,i):d===i?b:void 0;if(c&&!zb(S)&&(S=lp(l,i)),zb(S)&&(a=S,s))return a;const T=n[r+1];r=s?Cd(T):Mh(T)}if(null!==e){let l=o?e.residualClasses:e.residualStyles;null!=l&&(a=lp(l,i))}return a}function zb(n){return void 0!==n}function KR(n,e){return!!(n.flags&(e?8:16))}function w(n,e=""){const t=fe(),i=vt(),r=n+27,o=i.firstCreatePass?cd(i,r,1,e,null):i.data[r],s=JR(i,t,o,e);t[r]=s,sv()&&Y0(i,t,s,o),gs(o,!1)}let JR=(n,e,t,i)=>(Lp(!0),y0(e[11],i));function ZR(n,e){let t=!1,i=ys();for(let o=1;o>20;if(hs(n)||!n.multi){const S=new Rp(c,r,G,null),T=ok(l,e,r?d:d+b,m);-1===T?(FD(_v(a,s),o,l),rk(o,n,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(S),s.push(S)):(t[T]=S,s[T]=S)}else{const S=ok(l,e,d+b,m),T=ok(l,e,d,d+b),I=S>=0&&t[S],R=T>=0&&t[T];if(r&&!R||!r&&!I){FD(_v(a,s),o,l);const H=function wQ(n,e,t,i,r,o){const s=new Rp(n,t,G,null);return s.multi=[],s.index=e,s.componentProviders=0,_N(s,r,i&&!t),s}(r?bQ:vQ,t.length,r,i,c);!r&&R&&(t[T].providerFactory=H),rk(o,n,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(H),s.push(H)}else{rk(o,n,S>-1?S:T,_N(t[r?T:S],c,!r&&i))}!r&&i&&R&&t[T].componentProviders++}}}function rk(n,e,t,i){const r=hs(e),o=jy(e);if(r||o){const l=(o?ct(e.useClass):e).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&e.multi){const d=c.indexOf(t);-1===d?c.push(t,[i,l]):c[d+1].push(i,l)}else c.push(t,l)}}}function _N(n,e,t){return t&&n.componentProviders++,n.multi.push(e)-1}function ok(n,e,t,i){for(let r=t;r{t.providersResolver=(i,r)=>mN(i,r?r(n):n,!1),e&&(t.viewProvidersResolver=(i,r)=>mN(i,r?r(e):e,!0))}}function yN(n,e,t){const i=n.\u0275cmp;i.directiveDefs=yb(e,tO),i.pipeDefs=yb(t,mr)}function Wb(n){if("function"==typeof n)return n;const e=_r(n);return e.some(Su)?()=>e.map(ct).map(vN):e.map(vN)}function vN(n){return rS(n)?n.ngModule:n}function sa(n,e){const t=er()+n,i=fe();return i[t]===xn?Ms(i,t,e()):fh(i,t)}function ai(n,e,t){return wN(fe(),er(),n,e,t)}function zo(n,e,t,i){return CN(fe(),er(),n,e,t,i)}function bN(n,e,t,i,r){return MN(fe(),er(),n,e,t,i,r)}function xm(n,e){const t=n[e];return t===xn?void 0:t}function wN(n,e,t,i,r,o){const s=e+t;return Jn(n,s,r)?Ms(n,s+1,o?i.call(o,r):i(r)):xm(n,s+1)}function CN(n,e,t,i,r,o,s){const a=e+t;return hd(n,a,r,o)?Ms(n,a+2,s?i.call(s,r,o):i(r,o)):xm(n,a+2)}function MN(n,e,t,i,r,o,s,a){const l=e+t;return mb(n,l,r,o,s)?Ms(n,l+3,a?i.call(a,r,o,s):i(r,o,s)):xm(n,l+3)}function DN(n,e,t,i,r,o,s,a,l){const c=e+t;return Vo(n,c,r,o,s,a)?Ms(n,c+4,l?i.call(l,r,o,s,a):i(r,o,s,a)):xm(n,c+4)}function SN(n,e,t,i,r,o){let s=e+t,a=!1;for(let l=0;l=0;t--){const i=e[t];if(n===i.name)return i}}(e,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=xa(i.type));const a=gr(G);try{const l=gv(!1),c=o();return gv(l),wp(t,fe(),r,c),c}finally{gr(a)}}function ak(n,e,t){const i=n+27,r=fe(),o=Na(r,i);return Lm(r,i)?wN(r,er(),e,o.transform,t,o):o.transform(t)}function kN(n,e,t,i){const r=n+27,o=fe(),s=Na(o,r);return Lm(o,r)?CN(o,er(),e,s.transform,t,i,s):s.transform(t,i)}function Lm(n,e){return n[1].data[e].pure}function Gb(n,e,t,i,r){const o=r[1];if(o!==i.tView)for(let s=27;s{if(i.encapsulation===go.ShadowDom||i.encapsulation===go.ExperimentalIsolatedShadowDom){const T=s.cloneNode(!1);s.replaceWith(T),s=T}const m=a2(t),b=Hv(a,m,o,M0(t),s,l,null,null,null,null,null);(function BQ(n,e,t,i){for(let r=27;rTN(n,e,d))})(n,e,t,i,r)}function TN(n,e,t){try{t()}catch(i){const r=i;if(null!==e&&r.message){const o=r.message+(r.stack?"\n"+r.stack:"");n?.hot?.send?.("angular:invalidate",{id:e,message:o,error:!0})}throw i}}const Xl={\u0275\u0275animateEnter:function Lb(n){if(Hi("NgAnimateEnter"),!ed)return Lb;const e=fe();if(Vv(e))return Lb;const t=gt(),i=e[9].get(Et);return Uv(Bv(e),t,()=>function Tq(n,e,t,i){const r=En(e,n),o=n[11],s=c2(t),a=[];let l=!1;const c=m=>{if(Kp(m)!==r)return;const b=m instanceof AnimationEvent?"animationend":"transitionend";i.runOutsideAngular(()=>{o.listen(r,b,d)})},d=m=>{Kp(m)===r&&(L0(m,r)&&(l=!0),function Eq(n,e,t){const i=oh.get(e);if(Kp(n)===e&&i&&L0(n,e)){n.stopPropagation();for(const r of i.classList)t.removeClass(e,r);T0(e)}}(m,r,o))};if(s&&s.length>0){i.runOutsideAngular(()=>{a.push(o.listen(r,"animationstart",c)),a.push(o.listen(r,"transitionstart",c))}),function A7(n,e,t){const i=oh.get(n);if(i){for(const r of e)i.classList.push(r);for(const r of t)i.cleanupFns.push(r)}else oh.set(n,{classList:e,cleanupFns:t})}(r,s,a);for(const m of s)o.addClass(r,m);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!l&&(h2(r,td,ed),!td.has(r))){for(const m of s)o.removeClass(r,m);T0(r)}})})}}(e,t,n,i)),Qv(e[9]),A0(e[9],Bv(e)),Lb},\u0275\u0275animateEnterListener:function Ib(n){if(Hi("NgAnimateEnter"),!ed)return Ib;const e=fe();if(Vv(e))return Ib;const t=gt();return Uv(Bv(e),t,()=>function xq(n,e,t){const i=En(e,n);t.call(n[8],{target:i,animationComplete:O7})}(e,t,n)),Qv(e[9]),A0(e[9],Bv(e)),Ib},\u0275\u0275animateLeave:function Pb(n){if(Hi("NgAnimateLeave"),!ed)return Pb;const e=fe();if(Vv(e))return Pb;const i=gt(),r=e[9].get(Et);return Uv(nd(e),i,()=>function Lq(n,e,t,i){const{promise:r,resolve:o}=bm(),s=En(e,n),a=n[11];rd.add(n[19]),(nd(n).get(e.index).resolvers??=[]).push(o);const l=c2(t);return l&&l.length>0?function Iq(n,e,t,i,r,o){!function N7(n,e){if(!ed)return;const t=oh.get(n);if(t&&t.classList.length>0&&function F7(n,e){for(const t of e)if(n.classList.contains(t))return!0;return!1}(n,t.classList))for(const i of t.classList)e.removeClass(n,i);T0(n)}(n,r);const s=[],a=nd(t).get(e.index)?.resolvers;let l,c=!1;const d=m=>{if((Kp(m)===n||"animation-fallback"===m.type)&&("animation-fallback"===m.type||L0(m,n))){if(c=!0,l&&clearTimeout(l),"animation-fallback"!==m.type&&m.stopPropagation(),td.delete(n),E0(e,n),Array.isArray(e.projection))for(const S of i)r.removeClass(n,S);I0(a,s),P0(t,e)}};o.runOutsideAngular(()=>{s.push(r.listen(n,"animationend",d)),s.push(r.listen(n,"transitionend",d))}),x0(e,n);for(const m of i)r.addClass(n,m);o.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(c)return;h2(n,td,ed);const m=td.get(n);m?(l=setTimeout(()=>{d(new CustomEvent("animation-fallback"))},m.duration+50),s.push(()=>clearTimeout(l))):(E0(e,n),I0(a,s),P0(t,e))})})}(s,e,n,l,a,i):o(),{promise:r,resolve:o}}(e,i,n,r)),Qv(e[9]),Pb},\u0275\u0275animateLeaveListener:function VS(n){if(Hi("NgAnimateLeave"),!ed)return VS;const e=fe(),t=gt();rd.add(e[19]);const i=e[9].get(Et),r=e[9].get(L7);return Uv(nd(e),t,()=>function Pq(n,e,t,i,r){const{promise:o,resolve:s}=bm(),a=En(e,n),l=[],c=n[11],d=Vv(n);(nd(n).get(e.index).resolvers??=[]).push(s);const m=nd(n).get(e.index)?.resolvers;if(d)zv(n,e,a,m,l);else{const b=setTimeout(()=>zv(n,e,a,m,l),r),S={target:a,animationComplete:()=>{zv(n,e,a,m,l),clearTimeout(b)}};x0(e,a),i.runOutsideAngular(()=>{l.push(c.listen(a,"animationend",()=>{zv(n,e,a,m,l),clearTimeout(b)},{once:!0}))}),t.call(n[8],S)}return{promise:o,resolve:s}}(e,t,n,i,r)),Qv(e[9]),VS},\u0275\u0275attribute:Zn,\u0275\u0275defineComponent:Fe,\u0275\u0275defineDirective:je,\u0275\u0275defineInjectable:ue,\u0275\u0275defineInjector:dt,\u0275\u0275defineNgModule:Ct,\u0275\u0275definePipe:Mr,\u0275\u0275directiveInject:G,\u0275\u0275getInheritedFactory:hi,\u0275\u0275inject:Ce,\u0275\u0275injectAttribute:jp,\u0275\u0275invalidFactory:_A,\u0275\u0275invalidFactoryDep:Ly,\u0275\u0275templateRefExtractor:function OQ(n,e){return rb(n,e)},\u0275\u0275resetView:ie,\u0275\u0275HostDirectivesFeature:function L$(n){const e=t=>{const i=Array.isArray(n);null===t.hostDirectives?(t.resolveHostDirectives=I$,t.hostDirectives=i?n.map(kS):[n]):i?t.hostDirectives.unshift(...n.map(kS)):t.hostDirectives.unshift(n)};return e.ngInherit=!0,e},\u0275\u0275NgOnChangesFeature:ji,\u0275\u0275ControlFeature:function x$(n){return e=>{e.controlDef={create:(t,i)=>{t?.\u0275ngControlCreate(i)},update:(t,i)=>{t?.\u0275ngControlUpdate?.(i)},passThroughInput:n}}},\u0275\u0275ProvidersFeature:Yt,\u0275\u0275InheritDefinitionFeature:Xt,\u0275\u0275ExternalStylesFeature:function CQ(n){return e=>{n.length<1||(e.getExternalStyles=t=>n.map(r=>r+"?ngcomp"+(t?"="+encodeURIComponent(t):"")+"&e="+e.encapsulation))}},\u0275\u0275nextContext:A,\u0275\u0275namespaceHTML:CD,\u0275\u0275namespaceMathML:function NB(){ht.lFrame.currentNamespace="math"},\u0275\u0275namespaceSVG:wD,\u0275\u0275enableBindings:function vD(){ht.bindingsEnabled=!0},\u0275\u0275disableBindings:function bD(){ht.bindingsEnabled=!1},\u0275\u0275elementStart:f,\u0275\u0275elementEnd:p,\u0275\u0275element:O,\u0275\u0275elementContainerStart:GS,\u0275\u0275elementContainerEnd:Fb,\u0275\u0275domElement:Nb,\u0275\u0275domElementStart:Ob,\u0275\u0275domElementEnd:Rb,\u0275\u0275domElementContainer:function aR(n,e,t){return QS(n,e,t),sR(),aR},\u0275\u0275domElementContainerStart:QS,\u0275\u0275domElementContainerEnd:sR,\u0275\u0275domTemplate:function cO(n,e,t,i,r,o,s,a){const l=fe(),c=vt();return md(l,c,n,e,t,i,r,ut(c.consts,o),void 0,s,a),cO},\u0275\u0275domListener:function AR(n,e,t){const i=fe(),r=vt(),o=gt();return(3&o.type||t)&&cS(o,r,i,t,i[11],n,e,Ql(o,i,e)),AR},\u0275\u0275elementContainer:function oR(n,e,t){return GS(n,e,t),Fb(),oR},\u0275\u0275pureFunction0:sa,\u0275\u0275pureFunction1:ai,\u0275\u0275pureFunction2:zo,\u0275\u0275pureFunction3:bN,\u0275\u0275pureFunction4:function DQ(n,e,t,i,r,o,s){return DN(fe(),er(),n,e,t,i,r,o)},\u0275\u0275pureFunction5:function SQ(n,e,t,i,r,o,s){const a=er()+n,l=fe(),c=Vo(l,a,t,i,r,o);return Jn(l,a+4,s)||c?Ms(l,a+5,e(t,i,r,o,s)):fh(l,a+5)},\u0275\u0275pureFunction6:function kQ(n,e,t,i,r,o,s,a){const l=er()+n,c=fe(),d=Vo(c,l,t,i,r,o);return hd(c,l+4,s,a)||d?Ms(c,l+6,e(t,i,r,o,s,a)):fh(c,l+6)},\u0275\u0275pureFunction7:function TQ(n,e,t,i,r,o,s,a,l){const c=er()+n,d=fe();let m=Vo(d,c,t,i,r,o);return mb(d,c+4,s,a,l)||m?Ms(d,c+7,e(t,i,r,o,s,a,l)):fh(d,c+7)},\u0275\u0275pureFunction8:function EQ(n,e,t,i,r,o,s,a,l,c){const d=er()+n,m=fe(),b=Vo(m,d,t,i,r,o);return Vo(m,d+4,s,a,l,c)||b?Ms(m,d+8,e(t,i,r,o,s,a,l,c)):fh(m,d+8)},\u0275\u0275pureFunctionV:function xQ(n,e,t){return SN(fe(),er(),n,e,t)},\u0275\u0275getCurrentView:pe,\u0275\u0275restoreView:ne,\u0275\u0275listener:W,\u0275\u0275projection:Dr,\u0275\u0275syntheticHostProperty:function cR(n,e,t){const i=fe();if(Jn(i,vr(),e)){const o=vt(),s=bs();B0(s,i,n,e,A2(_(o.data),s,i),t)}return cR},\u0275\u0275syntheticHostListener:function PR(n,e){const t=gt(),i=fe(),r=vt();return XS(r,i,A2(_(r.data),t,i),t,n,e),PR},\u0275\u0275pipeBind1:ak,\u0275\u0275pipeBind2:kN,\u0275\u0275pipeBind3:function IQ(n,e,t,i,r){const o=n+27,s=fe(),a=Na(s,o);return Lm(s,o)?MN(s,er(),e,a.transform,t,i,r,a):a.transform(t,i,r)},\u0275\u0275pipeBind4:function PQ(n,e,t,i,r,o){const s=n+27,a=fe(),l=Na(a,s);return Lm(a,s)?DN(a,er(),e,l.transform,t,i,r,o,l):l.transform(t,i,r,o)},\u0275\u0275pipeBindV:function AQ(n,e,t){const i=n+27,r=fe(),o=Na(r,i);return Lm(r,i)?SN(r,er(),e,o.transform,t,o):o.transform.apply(o,t)},\u0275\u0275projectionDef:Bo,\u0275\u0275domProperty:function lR(n,e,t){const i=fe();if(Jn(i,vr(),e)){vt();B0(bs(),i,n,e,i[11],t)}return lR},\u0275\u0275ariaProperty:function eR(n,e){const t=fe();if(Jn(t,vr(),e)){const r=vt(),o=bs();if(tb(o,r,t,n,e))Fo(o)&&I2(t,o.index);else{const a=En(o,t);Zv(t[11],a,null,o.value,n,e,null)}}return eR},\u0275\u0275property:U,\u0275\u0275control:function B9(){TA()},\u0275\u0275controlCreate:function V9(){kA()},\u0275\u0275pipe:qb,\u0275\u0275queryRefresh:Ee,\u0275\u0275queryAdvance:function FG(n=1){x(k()+n)},\u0275\u0275viewQuery:qt,\u0275\u0275viewQuerySignal:function RR(n,e,t,i){return QA(n,UA(e,t,i)),RR},\u0275\u0275loadQuery:xe,\u0275\u0275contentQuery:Zl,\u0275\u0275contentQuerySignal:function OR(n,e,t,i,r){return QA(e,zA(n,t,i,r)),OR},\u0275\u0275reference:$n,\u0275\u0275classMap:Cn,\u0275\u0275styleMap:function KG(n){zR(qR,JG,n,!1)},\u0275\u0275styleProp:fr,\u0275\u0275classProp:Re,\u0275\u0275advance:C,\u0275\u0275template:en,\u0275\u0275conditional:B,\u0275\u0275conditionalCreate:V,\u0275\u0275conditionalBranchCreate:zS,\u0275\u0275defer:function rq(n,e,t,i,r,o,s,a,l,c){const d=fe(),m=vt(),b=n+27,S=md(d,m,n,null,0,0),T=d[9],I=bP(T);if(m.firstCreatePass){Hi("NgDefer");const ye={primaryTmplIndex:e,loadingTmplIndex:i??null,placeholderTmplIndex:r??null,errorTmplIndex:o??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:t??null,loadingState:gi.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:c??0};l?.(m,ye,a,s),function W$(n,e,t){const i=gm(e);n.data[i]=t}(m,b,ye)}const R=d[b];YA(R,S,d);let H=null,j=null;if(R[6]?.length>0){const ye=R[6][0].data;j=ye.di??null,H=ye.s}const re=[null,gd.Initial,null,null,null,null,j,H,null,null];!function $$(n,e,t){n[1],n[gm(e)]=t}(d,b,re);let se=null;null!==j&&I&&(se=T.get($l),se.add(j,{lView:d,tNode:S,lContainer:R}));const oe=()=>{fO(re),null!==j&&se?.cleanup([j])};mm(0,re,()=>Sp(d,oe)),ju(d,oe)},\u0275\u0275deferWhen:function oq(n){const e=fe(),t=bs();if(!_i(0,e,t))return;if(Jn(e,vr(),n)){const r=M(null);try{const o=!!n,a=Qr(e,t)[1];!1===o&&a===gd.Initial?yh(e,t):!0===o&&(a===gd.Initial||a===Rn.Placeholder)&&bd(0,e,t)}finally{M(r)}}},\u0275\u0275deferOnIdle:function cq(){_i(0,fe(),gt())&&WO(Cb)},\u0275\u0275deferOnImmediate:function hq(){const n=fe(),e=gt();_i(0,n,e)&&(null===hr(n[1],e).loadingTmplIndex&&yh(n,e),bd(0,n,e))},\u0275\u0275deferOnTimer:function mq(n){_i(0,fe(),gt())&&WO(Db(n))},\u0275\u0275deferOnHover:function yq(n,e){const t=fe(),i=gt();_i(0,t,i)&&(yh(t,i),_h(t,i,n,e,uP,()=>bd(0,t,i),0))},\u0275\u0275deferOnInteraction:function wq(n,e){const t=fe(),i=gt();_i(0,t,i)&&(yh(t,i),_h(t,i,n,e,dP,()=>bd(0,t,i),0))},\u0275\u0275deferOnViewport:function Dq(n,e,t){const i=fe(),r=gt();_i(0,i,r)&&(yh(i,r),_h(i,r,n,e,LS,()=>bd(0,i,r),0,t))},\u0275\u0275deferPrefetchWhen:function sq(n){const e=fe(),t=bs();if(!_i(1,e,t))return;if(Jn(e,vr(),n)){const r=M(null);try{const o=!!n,a=hr(e[1],t);!0===o&&a.loadingState===gi.NOT_STARTED&&wm(a,e,t)}finally{M(r)}}},\u0275\u0275deferPrefetchOnIdle:function dq(){_i(1,fe(),gt())&&qO(Cb)},\u0275\u0275deferPrefetchOnImmediate:function fq(){const n=fe(),e=gt();if(!_i(1,n,e))return;const i=hr(n[1],e);i.loadingState===gi.NOT_STARTED&&FS(i,n,e)},\u0275\u0275deferPrefetchOnTimer:function gq(n){_i(1,fe(),gt())&&qO(Db(n))},\u0275\u0275deferPrefetchOnHover:function vq(n,e){const t=fe(),i=gt();if(!_i(1,t,i))return;const o=hr(t[1],i);o.loadingState===gi.NOT_STARTED&&_h(t,i,n,e,uP,()=>wm(o,t,i),1)},\u0275\u0275deferPrefetchOnInteraction:function Cq(n,e){const t=fe(),i=gt();if(!_i(1,t,i))return;const o=hr(t[1],i);o.loadingState===gi.NOT_STARTED&&_h(t,i,n,e,dP,()=>wm(o,t,i),1)},\u0275\u0275deferPrefetchOnViewport:function Sq(n,e,t){const i=fe(),r=gt();if(!_i(1,i,r))return;const s=hr(i[1],r);s.loadingState===gi.NOT_STARTED&&_h(i,r,n,e,LS,()=>wm(s,i,r),1,t)},\u0275\u0275deferHydrateWhen:function aq(n){const e=fe(),t=bs();if(!_i(2,e,t))return;const i=vr();if(Jl(vt(),t).set(6,null),Jn(e,i,n)){const s=e[9],a=M(null);try{if(!0==!!n){wd(s,Qr(e,t)[6])}}finally{M(a)}}},\u0275\u0275deferHydrateNever:function lq(){const n=fe(),e=gt();_i(2,n,e)&&Jl(vt(),e).set(7,null)},\u0275\u0275deferHydrateOnIdle:function uq(){const n=fe(),e=gt();_i(2,n,e)&&(Jl(vt(),e).set(0,null),GO(Cb,n,e))},\u0275\u0275deferHydrateOnImmediate:function pq(){const n=fe(),e=gt();if(_i(2,n,e)){Jl(vt(),e).set(1,null);wd(n[9],Qr(n,e)[6])}},\u0275\u0275deferHydrateOnTimer:function _q(n){const e=fe(),t=gt();_i(2,e,t)&&(Jl(vt(),t).set(5,{type:5,delay:n}),GO(Db(n),e,t))},\u0275\u0275deferHydrateOnHover:function bq(){const n=fe(),e=gt();_i(2,n,e)&&Jl(vt(),e).set(4,null)},\u0275\u0275deferHydrateOnInteraction:function Mq(){const n=fe(),e=gt();_i(2,n,e)&&Jl(vt(),e).set(3,null)},\u0275\u0275deferHydrateOnViewport:function kq(n){const e=fe(),t=gt();_i(2,e,t)&&Jl(vt(),t).set(2,n?{type:2,intersectionObserverOptions:n}:null)},\u0275\u0275deferEnableTimerScheduling:function iW(n,e,t,i){const r=n.consts;null!=t&&(e.placeholderBlockConfig=ut(r,t)),null!=i&&(e.loadingBlockConfig=ut(r,i)),null===PS&&(PS=nW)},\u0275\u0275repeater:wn,\u0275\u0275repeaterCreate:bn,\u0275\u0275repeaterTrackByIndex:function Fq(n){return n},\u0275\u0275repeaterTrackByIdentity:vn,\u0275\u0275componentInstance:function Aq(){return fe()[15][8]},\u0275\u0275text:w,\u0275\u0275textInterpolate:De,\u0275\u0275textInterpolate1:We,\u0275\u0275textInterpolate2:Sh,\u0275\u0275textInterpolate3:$b,\u0275\u0275textInterpolate4:function aN(n,e,t,i,r,o,s,a,l){const c=fe(),d=nN(c,n,e,t,i,r,o,s,a,l);return d!==xn&&Va(c,cr(),d),aN},\u0275\u0275textInterpolate5:function lN(n,e,t,i,r,o,s,a,l,c,d){const m=fe(),b=iN(m,n,e,t,i,r,o,s,a,l,c,d);return b!==xn&&Va(m,cr(),b),lN},\u0275\u0275textInterpolate6:function cN(n,e,t,i,r,o,s,a,l,c,d,m,b){const S=fe(),T=rN(S,n,e,t,i,r,o,s,a,l,c,d,m,b);return T!==xn&&Va(S,cr(),T),cN},\u0275\u0275textInterpolate7:function dN(n,e,t,i,r,o,s,a,l,c,d,m,b,S,T){const I=fe(),R=oN(I,n,e,t,i,r,o,s,a,l,c,d,m,b,S,T);return R!==xn&&Va(I,cr(),R),dN},\u0275\u0275textInterpolate8:function uN(n,e,t,i,r,o,s,a,l,c,d,m,b,S,T,I,R){const H=fe(),j=sN(H,n,e,t,i,r,o,s,a,l,c,d,m,b,S,T,I,R);return j!==xn&&Va(H,cr(),j),uN},\u0275\u0275textInterpolateV:function hN(n){const e=fe(),t=ZR(e,n);return t!==xn&&Va(e,cr(),t),hN},\u0275\u0275i18n:function IG(n,e,t){xR(n,e,t),LR()},\u0275\u0275i18nAttributes:function PG(n,e){const t=vt();!function pG(n,e,t){const r=gt().index,o=[];if(n.firstCreatePass&&null===n.data[e]){for(let s=0;s0){const i=n.data[t];mR(n,e,Array.isArray(i)?i:i.update,ys()-Dm-1,Mm)}}finally{Mm=0,Dm=0}}(vt(),fe(),n+27)},\u0275\u0275i18nPostprocess:function OG(n,e={}){return function LG(n,e={}){let t=n;if(MG.test(n)){const i={},r=[0];t=t.replace(DG,(o,s,a)=>{const l=s||a,c=i[l]||[];if(c.length||(l.split("|").forEach(I=>{const R=I.match(xG),H=R?parseInt(R[1],10):0,j=EG.test(I);c.push([H,j,I])}),i[l]=c),!c.length)throw new Error(`i18n postprocess: unmatched placeholder - ${l}`);const d=r[r.length-1];let m=0;for(let I=0;Ie.hasOwnProperty(o)?`${r}${e[o]}${l}`:i),t=t.replace(kG,(i,r)=>e.hasOwnProperty(r)?e[r]:i),t=t.replace(TG,(i,r)=>{if(e.hasOwnProperty(r)){const o=e[r];if(!o.length)throw new Error(`i18n postprocess: unmatched ICU - ${i} with key: ${r}`);return o.shift()}return i})),t}(n,e)},\u0275\u0275resolveWindow:function u7(n){return n.ownerDocument.defaultView},\u0275\u0275resolveDocument:function h7(n){return n.ownerDocument},\u0275\u0275resolveBody:e2,\u0275\u0275setComponentScope:yN,\u0275\u0275setNgModuleScope:function MQ(n,e){return Ya(()=>{const t=Rc(n);t.declarations=Wb(e.declarations||on),t.imports=Wb(e.imports||on),t.exports=Wb(e.exports||on),e.bootstrap&&(t.bootstrap=Wb(e.bootstrap)),um.registerNgModule(n,e)})},\u0275\u0275registerNgModuleType:ZA,\u0275\u0275getComponentDepsFactory:function RQ(n,e){return()=>{try{return um.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 NQ(n,e){const t=Vt(n);null!==t&&(t.debugInfo=e)},\u0275\u0275declareLet:function pN(n){Hi("NgLet");const e=vt(),t=fe(),i=n+27;return gs(cd(e,i,128,null,null),!1),wp(e,t,i,fN),pN},\u0275\u0275storeLet:function lQ(n){return wp(vt(),fe(),cr(),n),n},\u0275\u0275arrowFunction:function yQ(n,e,t){const i=er()+n,r=fe();return r[i]===xn?Ms(r,i,e(t,r)):fh(r,i)},\u0275\u0275readContextLet:function cQ(n){const t=Na(iv(),27+n);if(t===fN)throw new ee(314,!1);return t},\u0275\u0275attachSourceLocations:function dQ(n,e){const t=vt(),i=fe(),r=i[11],o="data-ng-source-location";for(const[s,a,l,c]of e){Yl(t,s+27);const m=Fl(s+27,i);if(!m.hasAttribute(o)){const b=`${n}@o:${a},l:${l},c:${c}`;r.setAttribute(m,o,b)}}},\u0275\u0275interpolate:Uo,\u0275\u0275interpolate1:si,\u0275\u0275interpolate2:Em,\u0275\u0275interpolate3:function uQ(n,e,t,i,r,o,s=""){return tN(fe(),n,e,t,i,r,o,s)},\u0275\u0275interpolate4:function hQ(n,e,t,i,r,o,s,a,l=""){return nN(fe(),n,e,t,i,r,o,s,a,l)},\u0275\u0275interpolate5:function fQ(n,e,t,i,r,o,s,a,l,c,d=""){return iN(fe(),n,e,t,i,r,o,s,a,l,c,d)},\u0275\u0275interpolate6:function pQ(n,e,t,i,r,o,s,a,l,c,d,m,b=""){return rN(fe(),n,e,t,i,r,o,s,a,l,c,d,m,b)},\u0275\u0275interpolate7:function mQ(n,e,t,i,r,o,s,a,l,c,d,m,b,S,T=""){return oN(fe(),n,e,t,i,r,o,s,a,l,c,d,m,b,S,T)},\u0275\u0275interpolate8:function gQ(n,e,t,i,r,o,s,a,l,c,d,m,b,S,T,I,R=""){return sN(fe(),n,e,t,i,r,o,s,a,l,c,d,m,b,S,T,I,R)},\u0275\u0275interpolateV:function _Q(n){return ZR(fe(),n)},\u0275\u0275sanitizeHtml:b0,\u0275\u0275sanitizeStyle:function e7(n){const e=$p();return e?e.sanitize(_o.STYLE,n)||"":na(n,"Style")?Gr(n):st(n)},\u0275\u0275sanitizeResourceUrl:KP,\u0275\u0275sanitizeScript:function t7(n){const e=$p();if(e)return AP(e.sanitize(_o.SCRIPT,n)||"");if(na(n,"Script"))return AP(Gr(n));throw new ee(905,!1)},\u0275\u0275validateAttribute:XP,\u0275\u0275sanitizeUrl:ra,\u0275\u0275sanitizeUrlOrResourceUrl:JP,\u0275\u0275trustConstantHtml:function n7(n){return nh(n[0])},\u0275\u0275trustConstantResourceUrl:function i7(n){return function vU(n){return IP()?.createScriptURL(n)||n}(n[0])},forwardRef:rn,resolveForwardRef:ct,\u0275\u0275twoWayProperty:Bi,\u0275\u0275twoWayBindingSet:nr,\u0275\u0275twoWayListener:Ui,\u0275\u0275replaceMetadata:function YQ(n,e,t,i,r=null,o=null){const s=Vt(n);e.apply(null,[n,t,...i]);const{newDef:a,oldDef:l}=function jQ(n,e){const t={...n};return{newDef:Object.assign(n,e,{directiveDefs:t.directiveDefs,pipeDefs:t.pipeDefs,setInput:t.setInput,type:t.type}),oldDef:t}}(s,Vt(n));if(n[Oc]=a,l.tView){const c=function g6(){return wv}().values();for(const d of c)Qs(d)&&null===d[3]&&Gb(r,o,a,l,d)}},\u0275\u0275getReplaceMetadataURL:function FQ(n,e,t){const i=`./@ng/component?c=${n}&t=${encodeURIComponent(e)}`;return new URL(i,t).href}};let kh=null;const Im=[];let lk=!1;function EN(n){return Array.isArray(n)?n.every(EN):!!ct(n)}function GQ(n,e={}){(function QQ(n,e,t=!1){const i=_r(e.declarations||on);let r=null;Object.defineProperty(n,wy,{configurable:!0,get:()=>(null===r&&(r=Ho().compileNgModule(Xl,`ng:///${n.name}/\u0275mod.js`,{type:n,bootstrap:_r(e.bootstrap||on).map(ct),declarations:i.map(ct),imports:_r(e.imports||on).map(ct).map(AN),exports:_r(e.exports||on).map(ct).map(AN),schemas:e.schemas?_r(e.schemas):null,id:e.id||null}),r.schemas||(r.schemas=[])),r)});let o=null;Object.defineProperty(n,co,{get:()=>{if(null===o){const a=Ho();o=a.compileFactory(Xl,`ng:///${n.name}/\u0275fac.js`,{name:n.name,type:n,deps:bv(n),target:a.FactoryTarget.NgModule,typeArgumentCount:0})}return o},configurable:!1});let s=null;Object.defineProperty(n,Zf,{get:()=>{if(null===s){const a={name:n.name,type:n,providers:e.providers||on,imports:[(e.imports||on).map(ct),(e.exports||on).map(ct)]};s=Ho().compileInjector(Xl,`ng:///${n.name}/\u0275inj.js`,a)}return s},configurable:!1})})(n,e),void 0!==e.id&&ZA(n,e.id),function WQ(n,e){Im.push({moduleType:n,ngModule:e})}(n,e)}function ZQ(n,e){const t=_r(e.declarations||on),i=PN(n);t.forEach(r=>{if((r=ct(r)).hasOwnProperty(Oc)){IN(Vt(r),i)}else!r.hasOwnProperty(tp)&&!r.hasOwnProperty(np)&&(r.ngSelectorScope=n)})}function IN(n,e){n.directiveDefs=()=>Array.from(e.compilation.directives).map(t=>t.hasOwnProperty(Oc)?Vt(t):wi(t)).filter(t=>!!t),n.pipeDefs=()=>Array.from(e.compilation.pipes).map(t=>mr(t)),n.schemas=e.schemas,n.tView=null}function PN(n){if(ud(n)){const e=um.getNgModuleScope(n);return{schemas:Rc(n).schemas||null,...e}}if(pn(n)){if(null!==(Vt(n)||wi(n)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([n]),pipes:new Set}};if(null!==mr(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 AN(n){return rS(n)?n.ngModule:n}let uk=0;function XQ(n,e){let t=null;(function y$(n,e){KA(e)&&(fd.set(n,e),fm.add(n))})(n,e),NN(n,e),Object.defineProperty(n,Oc,{get:()=>{if(null===t){const i=Ho();if(KA(e)){const d=[`Component '${n.name}' is not resolved:`];throw e.templateUrl&&d.push(` - templateUrl: ${e.templateUrl}`),e.styleUrls&&e.styleUrls.length&&d.push(` - styleUrls: ${JSON.stringify(e.styleUrls)}`),e.styleUrl&&d.push(` - styleUrl: ${e.styleUrl}`),d.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(d.join("\n"))}const r=function $Q(){return kh}();let o=e.preserveWhitespaces;void 0===o&&(o=null!==r&&void 0!==r.preserveWhitespaces&&r.preserveWhitespaces);let s=e.encapsulation;void 0===s&&(s=null!==r&&void 0!==r.defaultEncapsulation?r.defaultEncapsulation:go.Emulated);const a=e.templateUrl||`ng:///${n.name}/template.html`,l=FN(n,e),c={...l,typeSourceSpan:i.createParseSourceSpan("Component",n.name,a),template:e.template||"",preserveWhitespaces:o,styles:"string"==typeof e.styles?[e.styles]:e.styles||on,animations:e.animations,declarations:[],changeDetection:e.changeDetection,encapsulation:s,viewProviders:e.viewProviders||null,hasDirectiveDependencies:!l.isStandalone||null!=e.imports&&e.imports.length>0};uk++;try{if(c.usesInheritance&&YN(n),t=i.compileComponent(Xl,a,c),c.isStandalone){const d=_r(e.imports||on),{directiveDefs:m,pipeDefs:b}=function eK(n,e){return{directiveDefs:()=>dm(n)?[...um.getStandaloneComponentScope(n,e).compilation.directives].map(o=>Vt(o)||wi(o)).filter(o=>null!==o):[],pipeDefs:()=>dm(n)?[...um.getStandaloneComponentScope(n,e).compilation.pipes].map(o=>mr(o)).filter(o=>null!==o):[]}}(n,d);t.directiveDefs=m,t.pipeDefs=b,t.dependencies=()=>d.map(ct)}}finally{uk--}if(0===uk&&function qQ(){if(!lk){lk=!0;try{for(let n=Im.length-1;n>=0;n--){const{moduleType:e,ngModule:t}=Im[n];t.declarations&&t.declarations.every(EN)&&(Im.splice(n,1),ZQ(e,t))}}finally{lk=!1}}}(),function tK(n){return void 0!==n.ngSelectorScope}(n)){const d=PN(n.ngSelectorScope);IN(t,d)}if(e.schemas){if(!c.isStandalone)throw new Error(`The 'schemas' was specified for the ${Nt(n)} but is only valid on a component that is standalone.`);t.schemas=e.schemas}else c.isStandalone&&(t.schemas=[])}return t},set:i=>{t=i},configurable:!1})}function ON(n,e){let t=null;NN(n,e||{}),Object.defineProperty(n,tp,{get:()=>{if(null===t){const i=RN(n,e||{});t=Ho().compileDirective(Xl,i.sourceMapUrl,i.metadata)}return t},configurable:!1})}function RN(n,e){const t=n&&n.name,i=`ng:///${t}/\u0275dir.js`,r=Ho(),o=FN(n,e);return o.typeSourceSpan=r.createParseSourceSpan("Directive",t,i),o.usesInheritance&&YN(n),{metadata:o,sourceMapUrl:i}}function NN(n,e){let t=null;Object.defineProperty(n,co,{get:()=>{if(null===t){const i=RN(n,e),r=Ho();t=r.compileFactory(Xl,`ng:///${n.name}/\u0275fac.js`,{name:i.metadata.name,type:i.metadata.type,typeArgumentCount:0,deps:bv(n),target:r.FactoryTarget.Directive})}return t},configurable:!1})}function nK(n){return Object.getPrototypeOf(n.prototype)===Object.prototype}function FN(n,e){const t=jD(),i=t.ownPropMetadata(n);return{name:n.name,type:n,selector:void 0!==e.selector?e.selector:null,host:e.host||ar,propMetadata:i,inputs:e.inputs||on,outputs:e.outputs||on,queries:jN(n,i,HN),lifecycle:{usesOnChanges:t.hasLifecycleHook(n,"ngOnChanges")},controlCreate:null,typeSourceSpan:null,usesInheritance:!nK(n),exportAs:oK(e.exportAs),providers:e.providers||null,viewQueries:jN(n,i,VN),isStandalone:void 0===e.standalone||!!e.standalone,isSignal:!!e.signals,hostDirectives:e.hostDirectives?.map(r=>"function"==typeof r?{directive:r}:r)||null}}function YN(n){const e=Object.prototype;let t=Object.getPrototypeOf(n.prototype).constructor;for(;t&&t!==e;)!wi(t)&&!Vt(t)&&aK(t)&&ON(t,null),t=Object.getPrototypeOf(t)}function iK(n){return"string"==typeof n?UN(n):ct(n)}function rK(n,e){return{propertyName:n,predicate:iK(e.selector),descendants:e.descendants,first:e.first,read:e.read?e.read:null,static:!!e.static,emitDistinctChangesOnly:!!e.emitDistinctChangesOnly,isSignal:!!e.isSignal}}function jN(n,e,t){const i=[],r=[];for(const o in e)if(e.hasOwnProperty(o)){const s=e[o];s.forEach(a=>{if(t(a)){if(!a.selector)throw new Error(`Can't construct a query for the property "${o}" of "${Nt(n)}" since the query selector wasn't defined.`);if(s.some(BN))throw new Error("Cannot combine @Input decorators with query decorators");const l=rK(o,a);l.isSignal?i.push(l):r.push(l)}})}return[...i,...r]}function oK(n){return void 0===n?null:UN(n)}function HN(n){const e=n.ngMetadataName;return"ContentChild"===e||"ContentChildren"===e}function VN(n){const e=n.ngMetadataName;return"ViewChild"===e||"ViewChildren"===e}function BN(n){return"Input"===n.ngMetadataName}function UN(n){return n.split(",").map(e=>e.trim())}const sK=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function aK(n){const e=jD();if(sK.some(i=>e.hasLifecycleHook(n,i)))return!0;const t=e.propMetadata(n);for(const i in t){const r=t[i];for(let o=0;on,void 0,0,(n,e)=>ON(n,e));Ap("Component",(n={})=>({changeDetection:Zu.Eager,...n}),cK,0,(n,e)=>XQ(n,e)),Ap("Pipe",n=>({pure:!0,...n}),void 0,0,(n,e)=>function lK(n,e){let t=null,i=null;Object.defineProperty(n,co,{get:()=>{if(null===i){const r=zN(n,e),o=Ho(r.type);i=o.compileFactory(Xl,`ng:///${r.name}/\u0275fac.js`,{name:r.name,type:r.type,typeArgumentCount:0,deps:bv(n),target:o.FactoryTarget.Pipe})}return i},configurable:!1}),Object.defineProperty(n,np,{get:()=>{if(null===t){const r=zN(n,e);t=Ho(r.type).compilePipe(Xl,`ng:///${r.name}/\u0275pipe.js`,r)}return t},configurable:!1})}(n,e)),Vl("Input",n=>n?"string"==typeof n?{alias:n}:n:{}),Vl("Output",n=>({alias:n})),Vl("HostBinding",n=>({hostPropertyName:n})),Vl("HostListener",(n,e)=>({eventName:n,args:e})),Ap("NgModule",n=>n,void 0,0,(n,e)=>GQ(n,e));class dK{ngModuleFactory;componentFactories;constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}class Pm{compileModuleSync(e){return new eO(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const t=this.compileModuleSync(e),r=oa(uo(e).declarations).reduce((o,s)=>{const a=Vt(s);return a&&o.push(new hm(a)),o},[]);return new dK(t,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(t){return new(t||Pm)};static \u0275prov=ue({token:Pm,factory:Pm.\u0275fac,providedIn:"root"})}new _e("");class Am{applicationErrorHandler=$(Xs);appRef=$(Hr);taskService=$(ws);ngZone=$(Et);zonelessEnabled=$(dv);tracing=$(od,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Lt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(lv):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&($(VL,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{const e=this.taskService.add();this.runningTick||(this.cleanup(),this.zonelessEnabled&&!this.appRef.includeAllTestViews)?(this.switchToMicrotaskScheduler(),this.taskService.remove(e)):this.taskService.remove(e)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{const e=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})})}notify(e){if(!this.zonelessEnabled&&5===e)return;switch(e){case 0:case 6:case 13:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 12:this.appRef.dirtyFlags|=16;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;const t=this.useMicrotaskScheduler?BB:FL;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.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(lv+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!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){this.applicationErrorHandler(t)}finally{this.taskService.remove(e),this.cleanup()}}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 \u0275fac=function(t){return new(t||Am)};static \u0275prov=ue({token:Am,factory:Am.\u0275fac,providedIn:"root"})}function qN(){return[{provide:zu,useExisting:Am},{provide:Et,useClass:qB},{provide:dv,useValue:!0}]}const ec=new _e("",{factory:()=>$(ec,{optional:!0,skipSelf:!0})||function hK(){return typeof $localize<"u"&&$localize.locale||Yb}()});new _e("",{factory:()=>"USD"}),new _e(""),new _e("");var GN;!function(n){n[n.Error=0]="Error",n[n.Warning=1]="Warning",n[n.Ignore=2]="Ignore"}(GN||(GN={}));let ZN=null;function Ba(){return ZN}class yK{}class tc{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||tc)};static \u0275prov=ue({token:tc,factory:()=>$(Om),providedIn:"platform"})}const vK=new _e("");class Om extends tc{_location;_history;_doc=$(_n);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ba().getBaseHref(this._doc)}onPopState(e){const t=Ba().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){const t=Ba().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,i){this._history.pushState(e,t,i)}replaceState(e,t,i){this._history.replaceState(e,t,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(t){return new(t||Om)};static \u0275prov=ue({token:Om,factory:()=>new Om,providedIn:"platform"})}function XN(n,e){e=encodeURIComponent(e);for(const t of n.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}class eF{}function gk(n,e){return n?e?n.endsWith("/")?e.startsWith("/")?n+e.slice(1):n+e:e.startsWith("/")?n+e:`${n}/${e}`:n:e}function tF(n){const e=n.search(/#|\?|$/);return"/"===n[e-1]?n.slice(0,e-1)+n.slice(e):n}function Ds(n){return n&&"?"!==n[0]?`?${n}`:n}class Ss{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||Ss)};static \u0275prov=ue({token:Ss,factory:()=>$(nc),providedIn:"root"})}const nF=new _e("");class nc extends Ss{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??$(_n).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 gk(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+Ds(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${t}${i}`:t}pushState(e,t,i,r){const o=this.prepareExternalUrl(i+Ds(r));this._platformLocation.pushState(e,t,o)}replaceState(e,t,i,r){const o=this.prepareExternalUrl(i+Ds(r));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 \u0275fac=function(t){return new(t||nc)(Ce(tc),Ce(nF,8))};static \u0275prov=ue({token:nc,factory:nc.\u0275fac,providedIn:"root"})}class Rm extends nc{prepareExternalUrl(e){const t=iF(e);return t.endsWith("/")&&t.length>1&&(e=t.slice(0,-1)+e.slice(t.length)),super.prepareExternalUrl(e)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(Rm)))(i||Rm)}})();static \u0275prov=ue({token:Rm,factory:Rm.\u0275fac,providedIn:"root"})}class Nm extends nc{prepareExternalUrl(e){const t=iF(e);return t.endsWith("/")||(e=t+"/"+e.slice(t.length)),super.prepareExternalUrl(e)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(Nm)))(i||Nm)}})();static \u0275prov=ue({token:Nm,factory:Nm.\u0275fac,providedIn:"root"})}function iF(n){const e=n.search(/[?#]/),t=e>-1?e:n.length;return n.slice(0,t)}class aa{_subject=new Ze;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;const t=this._locationStrategy.getBaseHref();this._basePath=function CK(n){if(new RegExp("^(https?:)?//").test(n)){const[,t]=n.split(/\/\/[^\/]+/);return t}return n}(tF(rF(t))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.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+Ds(t))}normalize(e){return aa.stripTrailingSlash(function wK(n,e){if(!n||!e.startsWith(n))return e;const t=e.substring(n.length);return""===t||["/",";","?","#"].includes(t[0])?t:e}(this._basePath,rF(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",i=null){this._locationStrategy.pushState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ds(t)),i)}replaceState(e,t="",i=null){this._locationStrategy.replaceState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ds(t)),i)}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(i=>i(e,t))}subscribe(e,t,i){return this._subject.subscribe({next:e,error:t??void 0,complete:i??void 0})}static normalizeQueryParams=Ds;static joinWithSlash=gk;static stripTrailingSlash=tF;static \u0275fac=function(t){return new(t||aa)(Ce(Ss))};static \u0275prov=ue({token:aa,factory:()=>function bK(){return new aa(Ce(Ss))}(),providedIn:"root"})}function rF(n){return n.replace(/\/index.html$/,"")}function oF(n,e,t){const i=Object.create(SK);i.source=n,i.computation=e,null!=t&&(i.equal=t);const o=()=>{if(Z(i),K(i),i.value===it)throw i.error;return i.value};return o[y]=i,ae(i),o}const SK={...F,value:Qt,dirty:!0,error:null,equal:ke,kind:"linkedSignal",producerMustRecompute:n=>n.value===Qt||n.value===Sn,producerRecomputeValue(n){if(n.value===Sn)throw new Error("");const e=n.value;n.value=Sn;const t=Oe(n);let i,r=!1;try{const o=n.source(),s=e!==Qt&&e!==it,a=s?{source:n.sourceValue,value:e}:void 0;i=n.computation(o,a),n.sourceValue=o,M(null),r=s&&i!==it&&n.equal(e,i)}catch(o){i=it,n.error=o}finally{ze(n,t)}r?n.value=e:(n.value=i,n.version++)}};class LK{destroyed=!1;listeners=null;errorHandler=$(Uu,{optional:!0});destroyRef=$(br);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new ee(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)return void console.warn(Rt(953,!1));if(null===this.listeners)return;const t=M(null);try{for(const i of this.listeners)try{i(e)}catch(r){this.errorHandler?.handleError(r)}}finally{M(t)}}}function jt(n){return function kK(n){const e=M(null);try{return n()}finally{M(e)}}(n)}function Jr(n,e){return Ve(n,e?.equal)}const IK=n=>n;function _k(n,e){if("function"==typeof n){return aF(oF(n,IK,e?.equal),e?.debugName)}return aF(oF(n.source,n.computation,n.equal),n.debugName)}function aF(n,e){const t=n[y],i=n;return i.set=r=>function MK(n,e){Z(n),tn(n,e),Ae(n)}(t,r),i.update=r=>function DK(n,e){if(Z(n),n.value===it)throw n.error;Je(n,e),Ae(n)}(t,r),i.asReadonly=cv.bind(n),i}Error;Error;const nw=Symbol("InputSignalNode#UNSET"),BF={...bt,transformFn:void 0,applyValueToInputSignal(n,e){tn(n,e)}};function UF(n,e){const t=Object.create(BF);function i(){if(K(t),t.value===nw){throw new ee(-950,null)}return t.value}return t.value=n,t.transformFn=e?.transform,i[y]=t,i}var Td,zF,$F,WF;!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"}(Td||(Td={})),function(n){n[n.Directive=0]="Directive",n[n.Pipe=1]="Pipe",n[n.NgModule=2]="NgModule"}(zF||(zF={})),function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n[n.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom"}($F||($F={})),function(n){n.Angular="angular",n.ACX="acx",n.Wiz="wiz"}(WF||(WF={}));class SZ{attributeName;constructor(e){this.attributeName=e}__NG_ELEMENT_ID__=()=>jp(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}function qF(n,e){return UF(n,e)}const TZ=(qF.required=function kZ(n){return UF(nw,n)},qF);function GF(n,e){return qA()}GF.required=function EZ(n,e){return GA()};function QF(n,e){return qA()}QF.required=function xZ(n,e){return GA()};function KF(n,e){const t=Object.create(BF),i=new LK;function r(){return K(t),JF(t.value),t.value}return t.value=n,r[y]=t,r.asReadonly=cv.bind(r),r.set=o=>{t.equal(t.value,o)||(tn(t,o),i.emit(o))},r.update=o=>{JF(t.value),r.set(o(t.value))},r.subscribe=i.subscribe.bind(i),r.destroyRef=i.destroyRef,r}function JF(n){if(n===nw)throw new ee(952,!1)}function ZF(n,e){return KF(n)}ZF.required=function LZ(n){return KF(nw)};class iw{}Vl("ContentChildren",(n,e={})=>({selector:n,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:true,...e}),iw),Vl("ContentChild",(n,e={})=>({selector:n,first:!0,isViewQuery:!1,descendants:!0,...e}),iw),Vl("ViewChildren",(n,e={})=>({selector:n,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:true,...e}),iw),Vl("ViewChild",(n,e)=>({selector:n,first:!0,isViewQuery:!0,descendants:!0,...e}),iw);class Hm{zone=$(Et);changeDetectionScheduler=$(zu);applicationRef=$(Hr);applicationErrorHandler=$(Xs);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(t){return new(t||Hm)};static \u0275prov=ue({token:Hm,factory:Hm.\u0275fac,providedIn:"root"})}const PZ=new _e("",{factory:()=>!1});function t3(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}class Vm{subscription=new Lt;initialized=!1;zone=$(Et);pendingTasks=$(ws);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(()=>{Et.assertNotInAngularZone(),queueMicrotask(()=>{null!==e&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Et.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(t){return new(t||Vm)};static \u0275prov=ue({token:Vm,factory:Vm.\u0275fac,providedIn:"root"})}class rw{window=null;observer=null;options=$(JI);lcpImageUrl;start(){if(typeof PerformanceObserver>"u"||this.options?.disableImageSizeWarning&&this.options?.disableImageLazyLoadWarning)return;this.observer=this.initPerformanceObserver();const e=Vp(),t=e.defaultView;if(t){this.window=t;const i=()=>{setTimeout(this.scanImages.bind(this),200)},r=()=>{"complete"===e.readyState?i():this.window?.addEventListener("load",i,{once:!0})};typeof Zone<"u"?Zone.root.run(()=>r()):r()}}ngOnDestroy(){this.observer?.disconnect()}initPerformanceObserver(){if(typeof PerformanceObserver>"u")return null;const e=new PerformanceObserver(t=>{const i=t.getEntries();if(0===i.length)return;const o=i[i.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=Vp().querySelectorAll("img");let t,i=!1;for(let r=0;ri.endsWith(I)))return!1;const r=this.window.getComputedStyle(e);let o=parseFloat(r.getPropertyValue("width")),s=parseFloat(r.getPropertyValue("height"));const a=r.getPropertyValue("box-sizing");if("cover"===r.getPropertyValue("object-fit"))return!1;if("border-box"===a){const I=r.getPropertyValue("padding-top"),R=r.getPropertyValue("padding-right"),H=r.getPropertyValue("padding-bottom"),j=r.getPropertyValue("padding-left");o-=parseFloat(R)+parseFloat(j),s-=parseFloat(I)+parseFloat(H)}const c=e.naturalWidth,d=e.naturalHeight,m=this.window.devicePixelRatio*o,b=this.window.devicePixelRatio*s;return c-m>=1200||d-b>=1200}static \u0275fac=function(t){return new(t||rw)};static \u0275prov=ue({token:rw,factory:rw.\u0275fac,providedIn:"root"})}function FZ(n){console.warn(Rt(-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 ${Oi}/NG0913`))}const ow=new _e(""),YZ=new _e("");function Bm(n){return!n.moduleRef}function i3(n){const e=Bm(n)?n.r3Injector:n.moduleRef.injector,t=e.get(Et);return t.run(()=>{Bm(n)?n.r3Injector.resolveInjectorInitializers():n.moduleRef.resolveInjectorInitializers();const i=e.get(Xs);let r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:i})}),Bm(n)){const o=()=>e.destroy(),s=n.platformInjector.get(ow);s.add(o),e.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{const o=()=>n.moduleRef.destroy(),s=n.platformInjector.get(ow);s.add(o),n.moduleRef.onDestroy(()=>{xb(n.allPlatformModules,n.moduleRef),r.unsubscribe(),s.delete(o)})}return function HZ(n,e,t){try{const i=t();return vm(i)?i.catch(r=>{throw e.runOutsideAngular(()=>n(r)),r}):i}catch(i){throw e.runOutsideAngular(()=>n(i)),i}}(i,t,()=>{const o=e.get(ws),s=o.add(),a=e.get(wh);return a.runInitializers(),a.donePromise.then(()=>{if(function Zq(n){"string"==typeof n&&(hR=n.toLowerCase().replace(/_/g,"-"))}(e.get(ec,Yb)||Yb),!e.get(YZ,!0))return Bm(n)?e.get(Hr):(n.allPlatformModules.push(n.moduleRef),n.moduleRef);if(Bm(n)){const d=e.get(Hr);return void 0!==n.rootComponent&&d.bootstrap(n.rootComponent),d}return r3?.(n.moduleRef,n.allPlatformModules),n.moduleRef}).finally(()=>{o.remove(s)})})})}let r3;function o3(){r3=jZ}function jZ(n,e){const t=n.injector.get(Hr);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>t.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new ee(-403,!1);n.instance.ngDoBootstrap(t)}e.push(n)}class Ih{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,t){const i=[qN(),...t?.applicationProviders??[],KB],r=function M$(n,e,t){return new SS(n,e,t,!1)}(e.moduleType,this.injector,i);return o3(),i3({moduleRef:r,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,t=[]){const i=$O({},t);return o3(),function IZ(n,e,t){const i=new eO(t);return Promise.resolve(i)}(this.injector,0,e).then(r=>this.bootstrapModuleFactory(r,i))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ee(404,!1);this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t());const e=this._injector.get(ow,null);e&&(e.forEach(t=>t()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(t){return new(t||Ih)(Ce(ui))};static \u0275prov=ue({token:Ih,factory:Ih.\u0275fac,providedIn:"platform"})}let Ph=null;function s3(n,e,t=[]){const i=`Platform: ${e}`,r=new _e(i);return(o=[])=>{let s=sw();if(!s){const a=[...t,...o,{provide:r,useValue:!0}];s=n?.(a)??function VZ(n){if(sw())throw new ee(400,!1);zW(),Ph=n;const e=n.get(Ih);return l3(n),e}(a3(a,i))}return function BZ(n){const e=sw();if(!e)throw new ee(-401,!1);return e}()}}function a3(n=[],e){return ui.create({name:e,providers:[{provide:hp,useValue:"platform"},{provide:ow,useValue:new Set([()=>Ph=null])},...n]})}function sw(){return Ph?.get(Ih)??null}function l3(n){const e=n.get(GI,null);Fi(n,()=>{e?.forEach(t=>t())})}class la{static __NG_ELEMENT_ID__=iX}function iX(n){return function rX(n,e,t){if(Fo(n)&&!t){const i=be(n.index,e);return new tm(i,i)}if(175&n.type){const i=e[15];return new tm(i,e)}return null}(gt(),fe(),!(16&~n))}class g3{supports(e){return pb(e)}create(e){return new sX(e)}}const oX=(n,e)=>e;class sX{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(e){this._trackByFn=e||oX}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;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,i,r){let o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):e=this._addAfter(new aX(t,i),o,r),e}_verifyReinsertion(e,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,i),this._addToMoves(e,i),e}_moveAfter(e,t,i){return this._unlink(e),this._insertAfter(e,t,i),this._addToMoves(e,i),e}_addAfter(e,t,i){return this._insertAfter(e,t,i),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,i){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new _3),this._linkedRecords.put(e),e.currentIndex=i,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,i=e._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._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 _3),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 aX{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(e,t){this.item=e,this.trackById=t}}class lX{_head=null;_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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,e))return i;return null}remove(e){const t=e._prevDup,i=e._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class _3{map=new Map;put(e){const t=e.trackById;let i=this.map.get(t);i||(i=new lX,this.map.set(t,i)),i.add(e)}get(e,t){const i=e,r=this.map.get(i);return r?r.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 y3(n,e,t){const i=n.previousIndex;if(null===i)return i;let r=0;return t&&i{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const i=e._prev;return t._next=e,t._prev=i,e._prev=t,i&&(i._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 r=this._records.get(e);this._maybeAddToChanges(r,t);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new dX(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i}_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(i=>t(e[i],i))}}class dX{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(e){this.key=e}}function b3(){return new ca([new g3])}class ca{factories;static \u0275prov=ue({token:ca,providedIn:"root",factory:b3});constructor(e){this.factories=e}static create(e,t){if(null!=t){const i=t.factories.slice();e=e.concat(i)}return new ca(e)}static extend(e){return{provide:ca,useFactory:()=>{const t=$(ca,{optional:!0,skipSelf:!0});return ca.create(e,t||b3())}}}find(e){const t=this.factories.find(i=>i.supports(e));if(null!=t)return t;throw new ee(901,!1)}}function w3(){return new da([new v3])}class da{static \u0275prov=ue({token:da,providedIn:"root",factory:w3});factories;constructor(e){this.factories=e}static create(e,t){if(t){const i=t.factories.slice();e=e.concat(i)}return new da(e)}static extend(e){return{provide:da,useFactory:()=>{const t=$(da,{optional:!0,skipSelf:!0});return da.create(e,t||w3())}}}find(e){const t=this.factories.find(i=>i.supports(e));if(t)return t;throw new ee(901,!1)}}const uX=[new v3],hX=[new g3],fX=(new ca(hX),new da(uX),s3(null,"core",[]));class lw{constructor(e){}static \u0275fac=function(t){return new(t||lw)(Ce(Hr))};static \u0275mod=Ct({type:lw});static \u0275inj=dt({})}function zi(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}function Tk(n,e=NaN){return isNaN(parseFloat(n))||isNaN(Number(n))?e:Number(n)}const Ek=Symbol("NOT_SET"),L3=new Set;new _e("",{providedIn:"platform",factory:()=>null}),new _e("",{providedIn:"platform",factory:()=>null}),new _e("",{providedIn:"platform",factory:()=>null});const PX=new _e("",{factory:()=>typeof window<"u"&&typeof window.NavigationPrecommitController<"u"});class zm{static \u0275fac=function(t){return new(t||zm)};static \u0275prov=ue({token:zm,factory:()=>window.navigation,providedIn:"platform"})}class uw extends aa{navigation=$(zm);destroyRef=$(br);constructor(){super($(Ss)),this.registerNavigationListeners()}registerNavigationListeners(){const e=()=>{this._notifyUrlChangeListeners(this.path(!0),this.getState())};this.navigation.addEventListener("currententrychange",e),this.destroyRef.onDestroy(()=>{this.navigation.removeEventListener("currententrychange",e)})}getState(){return this.navigation.currentEntry?.getState()}replaceState(e,t="",i=null){const r=this.prepareExternalUrl(e+Ds(t));this.navigation.navigate(r,{state:i,history:"replace"})}go(e,t="",i=null){const r=this.prepareExternalUrl(e+Ds(t));this.navigation.navigate(r,{state:i,history:"push"})}back(){this.navigation.back()}forward(){this.navigation.forward()}onUrlChange(e){return this._urlChangeListeners.push(e),()=>{const t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1)}}static \u0275fac=function(t){return new(t||uw)};static \u0275prov=ue({token:uw,factory:uw.\u0275fac})}const I3="browser";function xk(n){return n===I3}class hw{static \u0275prov=ue({token:hw,providedIn:"root",factory:()=>new NX($(_n),window)})}class NX{document;window;offset=()=>[0,0];constructor(e,t){this.document=e,this.window=t}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e,t){this.window.scrollTo({...t,left:e[0],top:e[1]})}scrollToAnchor(e,t){const i=function FX(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 i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,e);i&&(this.scrollToElement(i,t),i.focus({preventScroll:!0}))}setHistoryScrollRestoration(e){try{this.window.history.scrollRestoration=e}catch{console.warn(Rt(2400,!1))}}scrollToElement(e,t){const i=e.getBoundingClientRect(),r=i.left+this.window.pageXOffset,o=i.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo({...t,left:r-s[0],top:o-s[1]})}}function Ah(n,e){return pw(n)?new URL(n):new URL(n,e.location.href)}function pw(n){return/^https?:\/\//.test(n)}function P3(n){return pw(n)?new URL(n).hostname:n}function A3(n){if("string"!=typeof n||""===n.trim())return!1;try{new URL(n);return!0}catch{return!1}}function jX(n){return n.startsWith("/")?n.slice(1):n}const Oh=n=>n.src,Lk=new _e("",{factory:()=>Oh});function mw(n,e){return function(i){return A3(i)||function HX(n,e){throw new ee(2959,!1)}(),i=function YX(n){return n.endsWith("/")?n.slice(0,-1):n}(i),[{provide:Lk,useValue:s=>(pw(s.src)&&function VX(n,e){throw new ee(2959,!1)}(0,s.src),n(i,{...s,src:jX(s.src)}))}]}}function gw(n,e){return"string"==typeof n?n:Object.entries(n).map(([t,i])=>`${t}${e}${i}`).join(",")}mw(function BX(n,e){let t="format=auto";if(e.width&&(t+=`,width=${e.width}`),e.height&&(t+=`,height=${e.height}`),e.isPlaceholder&&(t+=",quality=20"),e.loaderParams?.transform){t+=`,${gw(e.loaderParams.transform,"=")}`}return`${n}/cdn-cgi/image/${t}/${e.src}`});mw(function WX(n,e){let i="f_auto,"+(e.isPlaceholder?"q_auto:low":"q_auto");if(e.width&&(i+=`,w_${e.width}`),e.height&&(i+=`,h_${e.height}`),e.loaderParams?.rounded&&(i+=",r_max"),e.loaderParams?.transform){i+=`,${gw(e.loaderParams.transform,"_")}`}return`${n}/image/upload/${i}/${e.src}`});mw(function KX(n,e){const{src:t,width:i}=e,r=[];if(i&&r.push(`w-${i}`),e.height&&r.push(`h-${e.height}`),e.isPlaceholder&&r.push("q-20"),e.loaderParams?.transform){const a=gw(e.loaderParams.transform,"-");r.push(a)}const o=r.length?[n,`tr:${r.join(",")}`,t]:[n,t];return new URL(o.join("/")).href});mw(function eee(n,e){const t=[];if(t.push("auto=format"),e.width&&t.push(`w=${e.width}`),e.height&&t.push(`h=${e.height}`),e.isPlaceholder&&t.push("q=20"),e.loaderParams?.transform){const r=gw(e.loaderParams.transform,"=").split(",");t.push(...r)}const i=new URL(`${n}/${e.src}`);return i.search=t.join("&"),i.href});function Nn(n,e=!0){return`The NgOptimizedImage directive ${e?`(activated on an element with the \`ngSrc="${n}"\`) `:""}has detected that`}function R3(n){throw new ee(2958,`Unexpected invocation of the ${n} in the prod mode. Please make sure that the prod mode is enabled for production builds.`)}class _w{images=new Map;window=$(_n).defaultView;observer=null;constructor(){R3("LCP checker"),typeof PerformanceObserver<"u"&&(this.observer=this.initPerformanceObserver())}initPerformanceObserver(){const e=new PerformanceObserver(t=>{const i=t.getEntries();if(0===i.length)return;const o=i[i.length-1].element?.src??"";if(o.startsWith("data:")||o.startsWith("blob:"))return;const s=this.images.get(o);s&&(!s.priority&&!s.alreadyWarnedPriority&&(s.alreadyWarnedPriority=!0,function oee(n){const e=Nn(n);console.error(Rt(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)),s.modified&&!s.alreadyWarnedModified&&(s.alreadyWarnedModified=!0,function see(n){const e=Nn(n);console.warn(Rt(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){if(!this.observer)return;const i=Ah(e,this.window).href,r=this.images.get(i);if(r)r.priority=r.priority||t,r.count++;else{const o={priority:t,modified:!1,alreadyWarnedModified:!1,alreadyWarnedPriority:!1,count:1};this.images.set(i,o)}}unregisterImage(e){if(!this.observer)return;const t=Ah(e,this.window).href,i=this.images.get(t);i&&(i.count--,i.count<=0&&this.images.delete(t))}updateImage(e,t){if(!this.observer)return;const i=Ah(e,this.window).href,r=Ah(t,this.window).href;if(i===r)return;const o=this.images.get(i);if(!o)return;o.count--,o.count<=0&&this.images.delete(i);const s=this.images.get(r);s?(s.priority=s.priority||o.priority,s.modified=!0,s.alreadyWarnedPriority=s.alreadyWarnedPriority||o.alreadyWarnedPriority,s.alreadyWarnedModified=s.alreadyWarnedModified||o.alreadyWarnedModified,s.count++):this.images.set(r,{priority:o.priority,modified:!0,alreadyWarnedModified:o.alreadyWarnedModified,alreadyWarnedPriority:o.alreadyWarnedPriority,count:1})}ngOnDestroy(){this.observer&&(this.observer.disconnect(),this.images.clear())}static \u0275fac=function(t){return new(t||_w)};static \u0275prov=ue({token:_w,factory:_w.\u0275fac,providedIn:"root"})}const aee=new Set(["localhost","127.0.0.1","0.0.0.0","[::1]"]),lee=new _e("");class yw{document=$(_n);preconnectLinks=null;alreadySeen=new Set;window=this.document.defaultView;blocklist=new Set(aee);constructor(){R3("preconnect link checker");const e=$(lee,{optional:!0});e&&this.populateBlocklist(e)}populateBlocklist(e){Array.isArray(e)?N3(e,t=>{this.blocklist.add(P3(t))}):this.blocklist.add(P3(e))}assertPreconnect(e,t){const i=Ah(e,this.window);this.blocklist.has(i.hostname)||this.alreadySeen.has(i.origin)||(this.alreadySeen.add(i.origin),this.preconnectLinks??=this.queryPreconnectLinks(),this.preconnectLinks.has(i.origin)||console.warn(Rt(2956,`${Nn(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,t=this.document.querySelectorAll("link[rel=preconnect]");for(const i of t){const r=Ah(i.href,this.window);e.add(r.origin)}return e}ngOnDestroy(){this.preconnectLinks?.clear(),this.alreadySeen.clear()}static \u0275fac=function(t){return new(t||yw)};static \u0275prov=ue({token:yw,factory:yw.\u0275fac,providedIn:"root"})}function N3(n,e){for(let t of n)Array.isArray(t)?N3(t,e):e(t)}const cee=new _e("",{factory:()=>new Set});class vw{preloadedImages=$(cee);document=$(_n);errorShown=!1;createPreloadLinkTag(e,t,i,r){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"),r&&e.setAttribute(o,"imageSizes",r),i&&e.setAttribute(o,"imageSrcset",i),e.appendChild(this.document.head,o)}static \u0275fac=function(t){return new(t||vw)};static \u0275prov=ue({token:vw,factory:vw.\u0275fac,providedIn:"root"})}class Qm extends Ss{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,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=gk(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,i,r){const o=this.prepareExternalUrl(i+Ds(r))||this._platformLocation.pathname;this._platformLocation.pushState(e,t,o)}replaceState(e,t,i,r){const o=this.prepareExternalUrl(i+Ds(r))||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 \u0275fac=function(t){return new(t||Qm)(Ce(tc),Ce(nF,8))};static \u0275prov=ue({token:Qm,factory:Qm.\u0275fac})}var Km,Ed,Sr,Yn,Zr;!function(n){n[n.Decimal=0]="Decimal",n[n.Percent=1]="Percent",n[n.Currency=2]="Currency",n[n.Scientific=3]="Scientific"}(Km||(Km={})),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"}(Ed||(Ed={})),function(n){n[n.Format=0]="Format",n[n.Standalone=1]="Standalone"}(Sr||(Sr={})),function(n){n[n.Narrow=0]="Narrow",n[n.Abbreviated=1]="Abbreviated",n[n.Wide=2]="Wide",n[n.Short=3]="Short"}(Yn||(Yn={})),function(n){n[n.Short=0]="Short",n[n.Medium=1]="Medium",n[n.Long=2]="Long",n[n.Full=3]="Full"}(Zr||(Zr={}));var z3;!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"}(z3||(z3={}));const Pee=dR;class Rh{static \u0275fac=function(t){return new(t||Rh)};static \u0275prov=ue({token:Rh,factory:()=>new Zm($(ec)),providedIn:"root"})}class Zm extends Rh{locale;constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(Pee(t||this.locale)(e)){case Ed.Zero:return"zero";case Ed.One:return"one";case Ed.Two:return"two";case Ed.Few:return"few";case Ed.Many:return"many";default:return"other"}}static \u0275fac=function(t){return new(t||Zm)(Ce(ec))};static \u0275prov=ue({token:Zm,factory:Zm.\u0275fac})}const $k=/\s+/,Z3=[];class yo{_ngEl;_renderer;initialClasses=Z3;rawClass;stateMap=new Map;constructor(e,t){this._ngEl=e,this._renderer=t}set klass(e){this.initialClasses=null!=e?e.trim().split($k):Z3}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split($k):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 i=this.stateMap.get(e);void 0!==i?(i.enabled!==t&&(i.changed=!0,i.enabled=t),i.touched=!0):this.stateMap.set(e,{enabled:t,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const t=e[0],i=e[1];i.changed?(this._toggleClass(t,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),i.touched=!1}}_toggleClass(e,t){(e=e.trim()).length>0&&e.split($k).forEach(i=>{t?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(t){return new(t||yo)(G(On),G(ur))};static \u0275dir=je({type:yo,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}class vo{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,t,i){this._ngEl=e,this._differs=t,this._renderer=i}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[i,r]=e.split("."),o=-1===i.indexOf("-")?void 0:ja.DashCase;null!=t?this._renderer.setStyle(this._ngEl.nativeElement,i,r?`${t}${r}`:t,o):this._renderer.removeStyle(this._ngEl.nativeElement,i,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 \u0275fac=function(t){return new(t||vo)(G(On),G(da),G(ur))};static \u0275dir=je({type:vo,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}new class ute{createSubscription(e,t,i){return e.then(r=>t?.(r),r=>i?.(r)),{unsubscribe:()=>{t=null,i=null}}}dispose(e){e.unsubscribe()}},new class dte{createSubscription(e,t,i){return jt(()=>e.subscribe({next:t,error:i}))}dispose(e){jt(()=>e.unsubscribe())}};new _e(""),new _e("");class qo{static \u0275fac=function(t){return new(t||qo)};static \u0275mod=Ct({type:qo});static \u0275inj=dt({})}class Kk{_doc;constructor(e){this._doc=e}manager}class xd extends Kk{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,i,r){return e.addEventListener(t,i,r),()=>this.removeEventListener(e,t,i,r)}removeEventListener(e,t,i,r){return e.removeEventListener(t,i,r)}static \u0275fac=function(t){return new(t||xd)(Ce(_n))};static \u0275prov=ue({token:xd,factory:xd.\u0275fac})}const Hw=new _e("");class Fh{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(o=>{o.manager=this});const i=e.filter(o=>!(o instanceof xd));this._plugins=i.slice().reverse();const r=e.find(o=>o instanceof xd);r&&this._plugins.push(r)}addEventListener(e,t,i,r){return this._findPluginFor(t).addEventListener(e,t,i,r)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(r=>r.supports(e)),!t)throw new ee(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||Fh)(Ce(Hw),Ce(Et))};static \u0275prov=ue({token:Fh,factory:Fh.\u0275fac})}const Jk="ng-app-id";function nY(n){for(const e of n)e.remove()}function iY(n,e){const t=e.createElement("style");return t.textContent=n,t}function Zk(n,e){const t=e.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",n),t}class Yh{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,t,i,r={}){this.doc=e,this.appId=t,this.nonce=i,function bte(n,e,t,i){const r=n.head?.querySelectorAll(`style[${Jk}="${e}"],link[${Jk}="${e}"]`);if(r)for(const o of r)o.removeAttribute(Jk),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&t.set(o.textContent,{usage:0,elements:[o]})}(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(const i of e)this.addUsage(i,this.inline,iY);t?.forEach(i=>this.addUsage(i,this.external,Zk))}removeStyles(e,t){for(const i of e)this.removeUsage(i,this.inline);t?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,t,i){const r=t.get(e);r?r.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(o=>this.addElement(o,i(e,this.doc)))})}removeUsage(e,t){const i=t.get(e);i&&(i.usage--,i.usage<=0&&(nY(i.elements),t.delete(e)))}ngOnDestroy(){for(const[,{elements:e}]of[...this.inline,...this.external])nY(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(const[t,{elements:i}]of this.inline)i.push(this.addElement(e,iY(t,this.doc)));for(const[t,{elements:i}]of this.external)i.push(this.addElement(e,Zk(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),e.appendChild(t)}static \u0275fac=function(t){return new(t||Yh)(Ce(_n),Ce(Jc),Ce(WD,8),Ce(Bp))};static \u0275prov=ue({token:Yh,factory:Yh.\u0275fac})}const Xk={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"},eT=/%COMP%/g,Mte="_nghost-%COMP%",Dte="_ngcontent-%COMP%",kte=new _e("",{factory:()=>true});function oY(n,e){return e.map(t=>t.replace(eT,n))}class Ld{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,t,i,r,o,s,a=null,l=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=i,this.removeStylesOnCompDestroy=r,this.doc=o,this.ngZone=s,this.nonce=a,this.tracingService=l,this.defaultRenderer=new tT(e,o,s,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;const i=this.getOrCreateRenderer(e,t);return i instanceof lY?i.applyToHost(e):i instanceof nT&&i.applyStyles(),i}getOrCreateRenderer(e,t){const i=this.rendererByCompId;let r=i.get(t.id);if(!r){const o=this.doc,s=this.ngZone,a=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,d=this.tracingService;switch(t.encapsulation){case go.Emulated:r=new lY(a,l,t,this.appId,c,o,s,d);break;case go.ShadowDom:return new aY(a,e,t,o,s,this.nonce,d,l);case go.ExperimentalIsolatedShadowDom:return new aY(a,e,t,o,s,this.nonce,d);default:r=new nT(a,l,t,c,o,s,d)}i.set(t.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(t){return new(t||Ld)(Ce(Fh),Ce(Yh),Ce(Jc),Ce(kte),Ce(_n),Ce(Et),Ce(WD),Ce(od,8))};static \u0275prov=ue({token:Ld,factory:Ld.\u0275fac})}class tT{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,t,i,r){this.eventManager=e,this.doc=t,this.ngZone=i,this.tracingService=r}destroy(){}destroyNode=null;createElement(e,t){return t?this.doc.createElementNS(Xk[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(sY(e)?e.content:e).appendChild(t)}insertBefore(e,t,i){e&&(sY(e)?e.content:e).insertBefore(t,i)}removeChild(e,t){t.remove()}selectRootElement(e,t){let i="string"==typeof e?this.doc.querySelector(e):e;if(!i)throw new ee(-5104,!1);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,r){if(r){t=r+":"+t;const o=Xk[r];o?e.setAttributeNS(o,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){const r=Xk[i];r?e.removeAttributeNS(r,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,r){r&(ja.DashCase|ja.Important)?e.style.setProperty(t,i,r&ja.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&ja.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){null!=e&&(e[t]=i)}setValue(e,t){e.nodeValue=t}listen(e,t,i,r){if("string"==typeof e&&!(e=Ba().getGlobalEventTarget(this.doc,e)))throw new ee(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(e,t,o)),this.eventManager.addEventListener(e,t,o,r)}decoratePreventDefault(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&t.preventDefault()}}}function sY(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class aY extends tT{hostEl;sharedStylesHost;shadowRoot;constructor(e,t,i,r,o,s,a,l){super(e,r,o,a),this.hostEl=t,this.sharedStylesHost=l,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let c=i.styles;c=oY(i.id,c);for(const m of c){const b=document.createElement("style");s&&b.setAttribute("nonce",s),b.textContent=m,this.shadowRoot.appendChild(b)}const d=i.getExternalStyles?.();if(d)for(const m of d){const b=Zk(m,r);s&&b.setAttribute("nonce",s),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,i){return super.insertBefore(this.nodeOrShadowRoot(e),t,i)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}}class nT extends tT{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,t,i,r,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r;let c=i.styles;this.styles=l?oY(l,c):c,this.styleUrls=i.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===rd.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class lY extends nT{contentAttr;hostAttr;constructor(e,t,i,r,o,s,a,l){const c=r+"-"+i.id;super(e,t,i,o,s,a,l,c),this.contentAttr=function Tte(n){return Dte.replace(eT,n)}(c),this.hostAttr=function Ete(n){return Mte.replace(eT,n)}(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){const i=super.createElement(e,t);return super.setAttribute(i,this.contentAttr,""),i}}class rT extends yK{supportsDOMEvents=!0;static makeCurrent(){!function _K(n){ZN??=n}(new rT)}onAndCancel(e,t,i,r){return e.addEventListener(t,i,r),()=>{e.removeEventListener(t,i,r)}}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 Ite(){return ug=ug||document.head.querySelector("base"),ug?ug.getAttribute("href"):null}();return null==t?null:function Pte(n){return new URL(n,document.baseURI).pathname}(t)}resetBaseElement(){ug=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return XN(document.cookie,e)}}let ug=null;class hg{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||hg)};static \u0275prov=ue({token:hg,factory:hg.\u0275fac})}const dY=["alt","control","meta","shift"],Ote={"\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"},Rte={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};class ua extends Kk{constructor(e){super(e)}supports(e){return null!=ua.parseEventName(e)}addEventListener(e,t,i,r){const o=ua.parseEventName(t),s=ua.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ba().onAndCancel(e,o.domEventName,s,r))}static parseEventName(e){const t=e.toLowerCase().split("."),i=t.shift();if(0===t.length||"keydown"!==i&&"keyup"!==i)return null;const r=ua._normalizeKey(t.pop());let o="",s=t.indexOf("code");if(s>-1&&(t.splice(s,1),o="code."),dY.forEach(l=>{const c=t.indexOf(l);c>-1&&(t.splice(c,1),o+=l+".")}),o+=r,0!=t.length||0===r.length)return null;const a={};return a.domEventName=i,a.fullKey=o,a}static matchEventFullKeyCode(e,t){let i=Ote[e.key]||e.key,r="";return t.indexOf("code.")>-1&&(i=e.code,r="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),dY.forEach(o=>{if(o!==i){(0,Rte[o])(e)&&(r+=o+".")}}),r+=i,r===t)}static eventCallback(e,t,i){return r=>{ua.matchEventFullKeyCode(r,e)&&i.runGuarded(()=>t(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}static \u0275fac=function(t){return new(t||ua)(Ce(_n))};static \u0275prov=ue({token:ua,factory:ua.\u0275fac})}const hY=[{provide:Bp,useValue:I3},{provide:GI,useValue:function Nte(){rT.makeCurrent()},multi:!0},{provide:_n,useFactory:function Yte(){return function A6(n){$D=n}(document),document}}],jte=s3(fX,"browser",hY),fY=(new _e(""),[{provide:HO,useClass:class Ate{addToWindow(e){fn.getAngularTestability=(i,r=!0)=>{const o=e.findTestabilityInTree(i,r);if(null==o)throw new ee(5103,!1);return o},fn.getAllAngularTestabilities=()=>e.getAllTestabilities(),fn.getAllAngularRootElements=()=>e.getAllRootElements();fn.frameworkStabilizers||(fn.frameworkStabilizers=[]),fn.frameworkStabilizers.push(i=>{const r=fn.getAllAngularTestabilities();let o=r.length;const s=function(){o--,0==o&&i()};r.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(e,t,i){if(null==t)return null;return e.getTestability(t)??(i?Ba().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null)}}},{provide:jO,useClass:vd},{provide:vd,useClass:vd}]),pY=[{provide:hp,useValue:"root"},{provide:Uu,useFactory:function Fte(){return new Uu}},{provide:Hw,useClass:xd,multi:!0},{provide:Hw,useClass:ua,multi:!0},Ld,Yh,Fh,{provide:ql,useExisting:Ld},{provide:eF,useClass:hg},[]];class jh{constructor(){}static \u0275fac=function(t){return new(t||jh)};static \u0275mod=Ct({type:jh});static \u0275inj=dt({providers:[...pY,...fY],imports:[qo,lw]})}var pt;!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"}(pt||(pt={}));const Wa="*";function fg(n,e){return{type:pt.Trigger,name:n,definitions:e,options:{}}}function Id(n,e=null){return{type:pt.Animate,styles:e,timings:n}}function qa(n){return{type:pt.Style,styles:n,offset:null}}function Pd(n,e,t){return{type:pt.State,name:n,styles:e,options:t}}function Ad(n,e,t=null){return{type:pt.Transition,expr:n,animation:e,options:t}}class pg{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(e=0,t=0){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(i=>i()),t.length=0}}class mY{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(e){this.players=e;let t=0,i=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.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(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const e=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i: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(i=>i()),t.length=0}}function _Y(n){return new ee(3e3,!1)}function Kte(n){return new ee(3002,!1)}function ic(n){switch(n.length){case 0:return new pg;case 1:return n[0];default:return new mY(n)}}function yY(n,e,t=new Map,i=new Map){const r=[],o=[];let s=-1,a=null;if(e.forEach(l=>{const c=l.get("offset"),d=c==s,m=d&&a||new Map;l.forEach((b,S)=>{let T=S,I=b;if("offset"!==S)switch(T=n.normalizePropertyName(T,r),I){case"!":I=t.get(S);break;case Wa:I=i.get(S);break;default:I=n.normalizeStyleValue(S,T,I,r)}m.set(T,I)}),d||o.push(m),a=m,s=c}),r.length)throw function ane(n){return new ee(3502,!1)}();return o}function cT(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&dT(t,"start",n)));break;case"done":n.onDone(()=>i(t&&dT(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&dT(t,"destroy",n)))}}function dT(n,e,t){const i=t.totalTime,r=!!t.disabled,o=uT(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,i??n.totalTime,r),s=n._data;return null!=s&&(o._data=s),o}function uT(n,e,t,i,r="",o=0,s){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function bo(n,e,t){let i=n.get(e);return i||n.set(e,i=t),i}function vY(n){const e=n.indexOf(":");return[n.substring(1,e),n.slice(e+1)]}const vne=typeof document>"u"?null:document.documentElement;function hT(n){const e=n.parentNode||n.host||null;return e===vne?null:e}let Od=null,bY=!1;function wne(n){Od||(Od=function Cne(){return typeof document<"u"?document.body:null}()||{},bY=!!Od.style&&"WebkitAppearance"in Od.style);let e=!0;return Od.style&&!function bne(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in Od.style,!e&&bY&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Od.style)),e}function wY(n,e){for(;e;){if(e===n)return!0;e=hT(e)}return!1}function CY(n,e,t){if(t)return Array.from(n.querySelectorAll(e));const i=n.querySelector(e);return i?[i]:[]}const DY="ng-enter",fT="ng-leave",Vw="ng-trigger",Bw=".ng-trigger",SY="ng-animating",pT=".ng-animating";function Ga(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:mT(parseFloat(e[1]),e[2])}function mT(n,e){return"s"===e?1e3*n:n}function Uw(n,e,t){return n.hasOwnProperty("duration")?n:function kne(n,e,t){let i,r=0,o="";if("string"==typeof n){const s=n.match(Sne);if(null===s)return e.push(_Y()),{duration:0,delay:0,easing:""};i=mT(parseFloat(s[1]),s[2]);const a=s[3];null!=a&&(r=mT(parseFloat(a),s[4]));const l=s[5];l&&(o=l)}else i=n;if(!t){let s=!1,a=e.length;i<0&&(e.push(function Vte(){return new ee(3100,!1)}()),s=!0),r<0&&(e.push(function Bte(){return new ee(3101,!1)}()),s=!0),s&&e.splice(a,0,_Y())}return{duration:i,delay:r,easing:o}}(n,e,t)}const Sne=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function ha(n,e,t){e.forEach((i,r)=>{const o=_T(r);t&&!t.has(r)&&t.set(r,n.style[o]),n.style[o]=i})}function Rd(n,e){e.forEach((t,i)=>{const r=_T(i);n.style[r]=""})}function mg(n){return Array.isArray(n)?1==n.length?n[0]:function Hte(n,e=null){return{type:pt.Sequence,steps:n,options:e}}(n):n}function Ene(n,e,t){const i=e.params||{},r=kY(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function Ute(n){return new ee(3001,!1)}())})}const gT=new RegExp("{{\\s*(.+?)\\s*}}","g");function kY(n){let e=[];if("string"==typeof n){let t;for(;t=gT.exec(n);)e.push(t[1]);gT.lastIndex=0}return e}function gg(n,e,t){const i=`${n}`,r=i.replace(gT,(o,s)=>{let a=e[s];return null==a&&(t.push(function zte(n){return new ee(3003,!1)}()),a=""),a.toString()});return r==i?n:r}const xne=/-+([a-z0-9])/g;function _T(n){return n.replace(xne,(...e)=>e[1].toUpperCase())}function wo(n,e,t){switch(e.type){case pt.Trigger:return n.visitTrigger(e,t);case pt.State:return n.visitState(e,t);case pt.Transition:return n.visitTransition(e,t);case pt.Sequence:return n.visitSequence(e,t);case pt.Group:return n.visitGroup(e,t);case pt.Animate:return n.visitAnimate(e,t);case pt.Keyframes:return n.visitKeyframes(e,t);case pt.Style:return n.visitStyle(e,t);case pt.Reference:return n.visitReference(e,t);case pt.AnimateChild:return n.visitAnimateChild(e,t);case pt.AnimateRef:return n.visitAnimateRef(e,t);case pt.Query:return n.visitQuery(e,t);case pt.Stagger:return n.visitStagger(e,t);default:throw function $te(n){return new ee(3004,!1)}(e.type)}}function yT(n,e){return window.getComputedStyle(n)[e]}class Nd{validateStyleProperty(e){return wne(e)}containsElement(e,t){return wY(e,t)}getParentElement(e){return hT(e)}query(e,t,i){return CY(e,t,i)}computeStyle(e,t,i){return i||""}animate(e,t,i,r,o,s=[],a){return new pg(i,r)}static \u0275fac=function(t){return new(t||Nd)};static \u0275prov=ue({token:Nd,factory:Nd.\u0275fac})}class vT{static NOOP=new Nd}class bT{}const Fne=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 EY extends bT{normalizePropertyName(e,t){return _T(e)}normalizeStyleValue(e,t,i,r){let o="";const s=i.toString().trim();if(Fne.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function Wte(n,e){return new ee(3005,!1)}())}return s+o}}function Yne(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function jne(n,e,t){if(":"==n[0]){const l=function Hne(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i) *"}}(n,t);if("function"==typeof l)return void e.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function rne(n){return new ee(3015,!1)}()),e;const r=i[1],o=i[2],s=i[3];e.push(xY(r,s));const a="*"==r&&"*"==s;"<"==o[0]&&!a&&e.push(xY(s,r))}(i,t,e)):t.push(n),t}const $w=new Set(["true","1"]),Ww=new Set(["false","0"]);function xY(n,e){const t=$w.has(n)||Ww.has(n),i=$w.has(e)||Ww.has(e);return(r,o)=>{let s="*"==n||n==r,a="*"==e||e==o;return!s&&t&&"boolean"==typeof r&&(s=r?$w.has(n):Ww.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?$w.has(e):Ww.has(e)),s&&a}}const LY=":self",Vne=new RegExp("s*:selfs*,?","g");function CT(n,e,t,i){return new Bne(n).build(e,t,i)}class Bne{_driver;constructor(e){this._driver=e}build(e,t,i){const r=new $ne(t);return this._resetContextStyleTimingState(r),wo(this,mg(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,r=t.depCount=0;const o=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push(function qte(){return new ee(3006,!1)}()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==pt.State){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,t))}),l.name=c}else if(a.type==pt.Transition){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function Gte(){return new ee(3007,!1)}())}),{type:pt.Trigger,name:e.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(e,t){const i=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{kY(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&t.errors.push(function Qte(n,e){return new ee(3008,!1)}(e.name,o.values()))}return{type:pt.State,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const i=wo(this,mg(e.animation),t),r=Yne(e.expr,t.errors);return{type:pt.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Fd(e.options)}}visitSequence(e,t){return{type:pt.Sequence,steps:e.steps.map(i=>wo(this,i,t)),options:Fd(e.options)}}visitGroup(e,t){const i=t.currentTime;let r=0;const o=e.steps.map(s=>{t.currentTime=i;const a=wo(this,s,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:pt.Group,steps:o,options:Fd(e.options)}}visitAnimate(e,t){const i=function qne(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n){return MT(Uw(n,e).duration,0,"")}const t=n;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=MT(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=Uw(t,e);return MT(r.duration,r.delay,r.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;let r,o=e.styles?e.styles:qa({});if(o.type==pt.Keyframes)r=this.visitKeyframes(o,t);else{let s=e.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=qa(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:pt.Animate,timings:i,style:r,options:null}}visitStyle(e,t){const i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){const i=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)"string"==typeof a?a===Wa?i.push(a):t.errors.push(Kte()):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:pt.Style,styles:i,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,t){const i=t.currentAnimateTimings;let r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),e.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l);let m=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(t.errors.push(function Jte(n,e,t,i,r){return new ee(3010,!1)}(0,d.startTime,d.endTime)),m=!1),o=d.startTime),m&&c.set(l,{startTime:o,endTime:r}),t.options&&Ene(a,t.options,t.errors)})})}visitKeyframes(e,t){const i={type:pt.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function Zte(){return new ee(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const d=e.steps.map(H=>{const j=this._makeStyleAst(H,t);let re=null!=j.offset?j.offset:function Wne(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 i=t;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}(j.styles),se=0;return null!=re&&(o++,se=j.offset=re),l=l||se<0||se>1,a=a||se0&&o{const re=b>0?j==S?1:b*j:s[j],se=re*R;t.currentTime=T+I.delay+se,I.duration=se,this._validateStyleAst(H,t),H.offset=re,i.styles.push(H)}),i}visitReference(e,t){return{type:pt.Reference,animation:wo(this,mg(e.animation),t),options:Fd(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:pt.AnimateChild,options:Fd(e.options)}}visitAnimateRef(e,t){return{type:pt.AnimateRef,animation:this.visitReference(e.animation,t),options:Fd(e.options)}}visitQuery(e,t){const i=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[o,s]=function Une(n){const e=!!n.split(/\s*,\s*/).find(t=>t==LY);return e&&(n=n.replace(Vne,"")),n=n.replace(/@\*/g,Bw).replace(/@\w+/g,t=>Bw+"-"+t.slice(1)).replace(/:animating/g,pT),[n,e]}(e.selector);t.currentQuerySelector=i.length?i+" "+o:o,bo(t.collectedStyles,t.currentQuerySelector,new Map);const a=wo(this,mg(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:pt.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Fd(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function nne(){return new ee(3013,!1)}());const i="full"===e.timings?{duration:0,delay:0,easing:"full"}:Uw(e.timings,t.errors,!0);return{type:pt.Stagger,animation:wo(this,mg(e.animation),t),timings:i,options:null}}}class $ne{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}}function Fd(n){return n?(n={...n}).params&&(n.params=function zne(n){return n?{...n}:null}(n.params)):n={},n}function MT(n,e,t){return{duration:n,delay:e,easing:t}}function DT(n,e,t,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class qw{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const Kne=new RegExp(":enter","g"),Zne=new RegExp(":leave","g");function ST(n,e,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new Xne).buildKeyframes(n,e,t,i,r,o,s,a,l,c)}class Xne{buildKeyframes(e,t,i,r,o,s,a,l,c,d=[]){c=c||new qw;const m=new kT(e,t,c,r,o,d,[]);m.options=l;const b=l.delay?Ga(l.delay):0;m.currentTimeline.delayNextStep(b),m.currentTimeline.setStyles([s],null,m.errors,l),wo(this,i,m);const S=m.timelines.filter(T=>T.containsAnimation());if(S.length&&a.size){let T;for(let I=S.length-1;I>=0;I--){const R=S[I];if(R.element===t){T=R;break}}T&&!T.allowOnlyTimelineStyles()&&T.setStyles([a],null,m.errors,l)}return S.length?S.map(T=>T.buildKeyframes()):[DT(t,[],[],[],0,b,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(e.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,i),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,i){for(const r of e){const o=r?.delay;if(o){const s="number"==typeof o?o:Ga(gg(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(e,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?Ga(i.duration):null,a=null!=i.delay?Ga(i.delay):null;return 0!==s&&e.forEach(l=>{const c=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,t){t.updateOptions(e.options,!0),wo(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const i=t.subContextCount;let r=t;const o=e.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){r.previousNode.type==pt.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Gw);const s=Ga(o.delay);r.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>wo(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const i=[];let r=t.currentTimeline.currentTime;const o=e.options&&e.options.delay?Ga(e.options.delay):0;e.steps.forEach(s=>{const a=t.createSubContext(e.options);o&&a.delayNextStep(o),wo(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const i=e.strValue;return Uw(t.params?gg(i,t.params,t.errors):i,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const i=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const o=e.style;o.type==pt.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(i.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(o):i.setStyles(e.styles,o,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,o=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(l=>{const c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+o),t.previousNode=e}visitQuery(e,t){const i=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?Ga(r.delay):0;o&&(t.previousNode.type===pt.Style||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Gw);let s=i;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;const m=t.createSubContext(e.options,c);o&&m.delayNextStep(o),c===t.element&&(l=m.currentTimeline),wo(this,e.animation,m),m.currentTimeline.applyStylesToKeyframe();const b=m.currentTimeline.currentTime;s=Math.max(s,b)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const i=t.parentContext,r=t.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const d=t.currentTimeline;l&&d.delayNextStep(l);const m=d.currentTime;wo(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=r.currentTime-m+(r.startTime-i.currentTimeline.startTime)}}const Gw={};class kT{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Gw;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,i,r,o,s,a,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new Qw(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const i=e;let r=this.options;null!=i.duration&&(r.duration=Ga(i.duration)),null!=i.delay&&(r.delay=Ga(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=gg(o[a],s,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const i=e.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return e}createSubContext(e=null,t,i){const r=t||this.element,o=new kT(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||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=Gw,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){const r={duration:t??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},o=new eie(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,r,o,s){let a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(Kne,"."+this._enterClassName)).replace(Zne,"."+this._leaveClassName);const l=1!=i;let c=this._driver.query(this.element,e,l);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function ine(n){return new ee(3014,!1)}()),a}}class Qw{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,i,r){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,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 Qw(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,i]of this._globalTimelineStyles)this._backFill.set(t,i||Wa),this._currentKeyframe.set(t,Wa);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function tie(n,e){const t=new Map;let i;return n.forEach(r=>{if("*"===r){i??=e.keys();for(let o of i)t.set(o,Wa)}else for(let[o,s]of r)t.set(o,s)}),t}(e,this._globalTimelineStyles);for(let[a,l]of s){const c=gg(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Wa),this._updateStyle(a,c)}}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,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=new Map([...this._backFill,...a]);c.forEach((d,m)=>{"!"===d?e.add(m):d===Wa&&t.add(m)}),i||c.set("offset",l/this.duration),r.push(c)});const o=[...e.values()],s=[...t.values()];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return DT(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class eie extends Qw{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,i,r,o,s,a=!1){super(e,t,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=i+t,a=t/s,l=new Map(e[0]);l.set("offset",0),o.push(l);const c=new Map(e[0]);c.set("offset",PY(a)),o.push(c);const d=e.length-1;for(let m=1;m<=d;m++){let b=new Map(e[m]);const T=t+b.get("offset")*i;b.set("offset",PY(T/s)),o.push(b)}i=s,t=0,r="",e=o}return DT(this.element,e,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function PY(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}function AY(n,e,t,i,r,o,s,a,l,c,d,m,b){return{type:0,element:n,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:m,errors:b}}const TT={};class OY{_triggerName;ast;_stateStyles;constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,r){return function nie(n,e,t,i,r){return n.some(o=>o(e,t,i,r))}(this.ast.matchers,e,t,i,r)}buildStyles(e,t,i){let r=this._stateStyles.get("*");return void 0!==e&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(t,i):new Map}build(e,t,i,r,o,s,a,l,c,d){const m=[],b=this.ast.options&&this.ast.options.params||TT,S=a&&a.params||TT,T=this.buildStyles(i,S,m),I=l&&l.params||TT,R=this.buildStyles(r,I,m),H=new Set,j=new Map,re=new Map,se="void"===r,oe={params:RY(I,b),delay:this.ast.options?.delay},ye=d?[]:ST(e,t,this.ast.animation,o,s,T,R,oe,c,m);let ve=0;return ye.forEach(Me=>{ve=Math.max(Me.duration+Me.delay,ve)}),m.length?AY(t,this._triggerName,i,r,se,T,R,[],[],j,re,ve,m):(ye.forEach(Me=>{const $e=Me.element,mt=bo(j,$e,new Set);Me.preStyleProps.forEach(Pt=>mt.add(Pt));const It=bo(re,$e,new Set);Me.postStyleProps.forEach(Pt=>It.add(Pt)),$e!==t&&H.add($e)}),AY(t,this._triggerName,i,r,se,T,R,ye,[...H.values()],j,re,ve))}}function RY(n,e){const t={...e};return Object.entries(n).forEach(([i,r])=>{null!=r&&(t[i]=r)}),t}class iie{styles;defaultParams;normalizer;constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){const i=new Map,r=RY(e,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=gg(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(a,s)})}),i}}class oie{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,t.states.forEach(r=>{const o=r.options&&r.options.params||{};this.states.set(r.name,new iie(r.style,o,i))}),NY(this.states,"true","1"),NY(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new OY(e,r,this.states))}),this.fallbackTransition=function sie(n,e,t){const i=[(s,a)=>!0],r={type:pt.Sequence,steps:[],options:null},o={type:pt.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new OY(n,o,e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,r){return this.transitionFactories.find(s=>s.match(e,t,i,r))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}}function NY(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 aie=new qw;class lie{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i}register(e,t){const i=[],o=CT(this._driver,t,i,[]);if(i.length)throw function lne(n){return new ee(3503,!1)}();this._animations.set(e,o)}_buildPlayer(e,t,i){const r=e.element,o=yY(this._normalizer,e.keyframes,t,i);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){const r=[],o=this._animations.get(e);let s;const a=new Map;if(o?(s=ST(this._driver,t,o,DY,fT,new Map,new Map,i,aie,r),s.forEach(d=>{const m=bo(a,d.element,new Map);d.postStyleProps.forEach(b=>m.set(b,null))})):(r.push(function cne(){return new ee(3300,!1)}()),s=[]),r.length)throw function dne(n){return new ee(3504,!1)}();a.forEach((d,m)=>{d.forEach((b,S)=>{d.set(S,this._driver.computeStyle(m,S,Wa))})});const c=ic(s.map(d=>{const m=a.get(d.element);return this._buildPlayer(d,new Map,m)}));return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){const t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){const t=this._playersById.get(e);if(!t)throw function une(n){return new ee(3301,!1)}();return t}listen(e,t,i,r){const o=uT(t,"","","");return cT(this._getPlayer(e),i,o,r),()=>{}}command(e,t,i,r){if("register"==i)return void this.register(e,r[0]);if("create"==i){const s=r[0]||{};return void this.create(e,t,s)}const o=this._getPlayer(e);switch(i){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(r[0]));break;case"destroy":this.destroy(e)}}}const FY="ng-animate-queued",ET="ng-animate-disabled",fie=[],YY={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},pie={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ts="__ng_removed";class xT{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;const i=e&&e.hasOwnProperty("value"),r=i?e.value:e;if(this.value=function yie(n){return n??null}(r),i){const{value:o,...s}=e;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){const t=e.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const _g="void",LT=new xT(_g);class mie{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this._hostClassName="ng-tns-"+e,Go(t,this._hostClassName)}listen(e,t,i,r){if(!this._triggers.has(t))throw function hne(n,e){return new ee(3302,!1)}();if(null==i||0==i.length)throw function fne(n){return new ee(3303,!1)}();if(!function vie(n){return"start"==n||"done"==n}(i))throw function pne(n,e){return new ee(3400,!1)}();const o=bo(this._elementListeners,e,[]),s={name:t,phase:i,callback:r};o.push(s);const a=bo(this._engine.statesByElement,e,new Map);return a.has(t)||(Go(e,Vw),Go(e,Vw+"-"+t),a.set(t,LT)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.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 mne(n){return new ee(3401,!1)}();return t}trigger(e,t,i,r=!0){const o=this._getTrigger(t),s=new IT(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(Go(e,Vw),Go(e,Vw+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t);const c=new xT(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=LT),c.value!==_g&&l.value===c.value){if(!function Cie(n,e){const t=Object.keys(n),i=Object.keys(e);if(t.length!=i.length)return!1;for(let r=0;r{Rd(e,R),ha(e,H)})}return}const b=bo(this._engine.playersByElement,e,[]);b.forEach(I=>{I.namespaceId==this.id&&I.triggerName==t&&I.queued&&I.destroy()});let S=o.matchTransition(l.value,c.value,e,c.params),T=!1;if(!S){if(!r)return;S=o.fallbackTransition,T=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:S,fromState:l,toState:c,player:s,isFallbackTransition:T}),T||(Go(e,FY),s.onStart(()=>{Hh(e,FY)})),s.onDone(()=>{let I=this.players.indexOf(s);I>=0&&this.players.splice(I,1);const R=this._engine.playersByElement.get(e);if(R){let H=R.indexOf(s);H>=0&&R.splice(H,1)}}),this.players.push(s),b.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const i=this._engine.driver.query(e,Bw,!0);i.forEach(r=>{if(r[Ts])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,t,i,r){const o=this._engine.statesByElement.get(e),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(e,c,_g,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,s),i&&ic(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){const r=new Set;t.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||LT,d=new xT(_g),m=new IT(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:d,player:m,isFallbackTransition:!0})})}}removeNode(e,t){const i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let s=e;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{const o=e[Ts];(!o||o===YY)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){Go(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=uT(o,i.triggerName,i.fromState.value,i.toState.value);l._data=e,cT(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}}class gie{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){const i=new mie(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(e)}else i.push(e);return r.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let r=this._namespaceLookup[e];r&&r.register(t,i)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(e);this.namespacesByHostElement.delete(i.hostElement);const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,i=this.statesByElement.get(e);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}return t}trigger(e,t,i,r){if(Kw(t)){const o=this._fetchNamespace(e);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(e,t,i,r){if(!Kw(t))return;const o=t[Ts];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){const s=this._fetchNamespace(e);s&&s.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Go(e,ET)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Hh(e,ET))}removeNode(e,t,i){if(Kw(t)){const r=e?this._fetchNamespace(e):null;r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i);const o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,i,r,o){this.collectedLeaveElements.push(t),t[Ts]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,t,i,r,o){return Kw(t)?this._fetchNamespace(e).listen(t,i,r,o):()=>{}}_buildInstruction(e,t,i,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,r,e.fromState.options,e.toState.options,t,o)}destroyInnerAnimations(e){let t=this.driver.query(e,Bw,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,pT,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return ic(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e[Ts];if(t&&t.setForRemoval){if(e[Ts]=YY,t.namespaceId){this.destroyInnerAnimations(e);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(ET)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?ic(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw function gne(n){return new ee(3402,!1)}()}_flushAnimations(e,t){const i=new qw,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(Te=>{d.add(Te);const Ne=this.driver.query(Te,".ng-animate-queued",!0);for(let qe=0;qe{const qe=DY+I++;T.set(Ne,qe),Te.forEach(at=>Go(at,qe))});const R=[],H=new Set,j=new Set;for(let Te=0;TeH.add(at)):j.add(Ne))}const re=new Map,se=VY(b,Array.from(H));se.forEach((Te,Ne)=>{const qe=fT+I++;re.set(Ne,qe),Te.forEach(at=>Go(at,qe))}),e.push(()=>{S.forEach((Te,Ne)=>{const qe=T.get(Ne);Te.forEach(at=>Hh(at,qe))}),se.forEach((Te,Ne)=>{const qe=re.get(Ne);Te.forEach(at=>Hh(at,qe))}),R.forEach(Te=>{this.processLeaveNode(Te)})});const oe=[],ye=[];for(let Te=this._namespaceList.length-1;Te>=0;Te--)this._namespaceList[Te].drainQueuedTransitions(t).forEach(qe=>{const at=qe.player,ni=qe.element;if(oe.push(at),this.collectedEnterElements.length){const Fr=ni[Ts];if(Fr&&Fr.setForMove){if(Fr.previousTriggersValues&&Fr.previousTriggersValues.has(qe.triggerName)){const Du=Fr.previousTriggersValues.get(qe.triggerName),ss=this.statesByElement.get(qe.element);if(ss&&ss.has(qe.triggerName)){const U1=ss.get(qe.triggerName);U1.value=Du,ss.set(qe.triggerName,U1)}}return void at.destroy()}}const zr=!m||!this.driver.containsElement(m,ni),Ai=re.get(ni),ao=T.get(ni),Dn=this._buildInstruction(qe,i,ao,Ai,zr);if(Dn.errors&&Dn.errors.length)return void ye.push(Dn);if(zr)return at.onStart(()=>Rd(ni,Dn.fromStyles)),at.onDestroy(()=>ha(ni,Dn.toStyles)),void r.push(at);if(qe.isFallbackTransition)return at.onStart(()=>Rd(ni,Dn.fromStyles)),at.onDestroy(()=>ha(ni,Dn.toStyles)),void r.push(at);const Tc=[];Dn.timelines.forEach(Fr=>{Fr.stretchStartingKeyframe=!0,this.disabledNodes.has(Fr.element)||Tc.push(Fr)}),Dn.timelines=Tc,i.append(ni,Dn.timelines);const Cl={instruction:Dn,player:at,element:ni};s.push(Cl),Dn.queriedElements.forEach(Fr=>bo(a,Fr,[]).push(at)),Dn.preStyleProps.forEach((Fr,Du)=>{if(Fr.size){let ss=l.get(Du);ss||l.set(Du,ss=new Set),Fr.forEach((U1,Kx)=>ss.add(Kx))}}),Dn.postStyleProps.forEach((Fr,Du)=>{let ss=c.get(Du);ss||c.set(Du,ss=new Set),Fr.forEach((U1,Kx)=>ss.add(Kx))})});if(ye.length){const Te=[];ye.forEach(Ne=>{Te.push(function _ne(n,e){return new ee(3505,!1)}(Ne.triggerName,Ne.errors))}),oe.forEach(Ne=>Ne.destroy()),this.reportError(Te)}const ve=new Map,Me=new Map;s.forEach(Te=>{const Ne=Te.element;i.has(Ne)&&(Me.set(Ne,Ne),this._beforeAnimationBuild(Te.player.namespaceId,Te.instruction,ve))}),r.forEach(Te=>{const Ne=Te.element;this._getPreviousPlayers(Ne,!1,Te.namespaceId,Te.triggerName,null).forEach(at=>{bo(ve,Ne,[]).push(at),at.destroy()})});const $e=R.filter(Te=>UY(Te,l,c)),mt=new Map;HY(mt,this.driver,j,c,Wa).forEach(Te=>{UY(Te,l,c)&&$e.push(Te)});const Pt=new Map;S.forEach((Te,Ne)=>{HY(Pt,this.driver,new Set(Te),l,"!")}),$e.forEach(Te=>{const Ne=mt.get(Te),qe=Pt.get(Te);mt.set(Te,new Map([...Ne?.entries()??[],...qe?.entries()??[]]))});const Si=[],Nr=[],Mn={};s.forEach(Te=>{const{element:Ne,player:qe,instruction:at}=Te;if(i.has(Ne)){if(d.has(Ne))return qe.onDestroy(()=>ha(Ne,at.toStyles)),qe.disabled=!0,qe.overrideTotalTime(at.totalTime),void r.push(qe);let ni=Mn;if(Me.size>1){let Ai=Ne;const ao=[];for(;Ai=Ai.parentNode;){const Dn=Me.get(Ai);if(Dn){ni=Dn;break}ao.push(Ai)}ao.forEach(Dn=>Me.set(Dn,ni))}const zr=this._buildAnimation(qe.namespaceId,at,ve,o,Pt,mt);if(qe.setRealPlayer(zr),ni===Mn)Si.push(qe);else{const Ai=this.playersByElement.get(ni);Ai&&Ai.length&&(qe.parentPlayer=ic(Ai)),r.push(qe)}}else Rd(Ne,at.fromStyles),qe.onDestroy(()=>ha(Ne,at.toStyles)),Nr.push(qe),d.has(Ne)&&r.push(qe)}),Nr.forEach(Te=>{const Ne=o.get(Te.element);if(Ne&&Ne.length){const qe=ic(Ne);Te.setRealPlayer(qe)}}),r.forEach(Te=>{Te.parentPlayer?Te.syncPlayerEvents(Te.parentPlayer):Te.destroy()});for(let Te=0;Te!zr.destroyed);ni.length?bie(this,Ne,ni):this.processLeaveNode(Ne)}return R.length=0,Si.forEach(Te=>{this.players.push(Te),Te.onDone(()=>{Te.destroy();const Ne=this.players.indexOf(Te);this.players.splice(Ne,1)}),Te.play()}),Si}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,r,o){let s=[];if(t){const a=this.playersByQueriedElement.get(e);a&&(s=a)}else{const a=this.playersByElement.get(e);if(a){const l=!o||o==_g;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(e,t,i){const r=t.triggerName,o=t.element,s=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:r;for(const l of t.timelines){const c=l.element,d=c!==o,m=bo(i,c,[]);this._getPreviousPlayers(c,d,s,a,t.toState).forEach(S=>{const T=S.getRealPlayer();T.beforeDestroy&&T.beforeDestroy(),S.destroy(),m.push(S)})}Rd(o,t.fromStyles)}_buildAnimation(e,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],d=new Set,m=new Set,b=t.timelines.map(T=>{const I=T.element;d.add(I);const R=I[Ts];if(R&&R.removedBeforeQueried)return new pg(T.duration,T.delay);const H=I!==l,j=function wie(n){const e=[];return BY(n,e),e}((i.get(I)||fie).map(ve=>ve.getRealPlayer())).filter(ve=>{const Me=ve;return!!Me.element&&Me.element===I}),re=o.get(I),se=s.get(I),oe=yY(this._normalizer,T.keyframes,re,se),ye=this._buildPlayer(T,oe,j);if(T.subTimeline&&r&&m.add(I),H){const ve=new IT(e,a,I);ve.setRealPlayer(ye),c.push(ve)}return ye});c.forEach(T=>{bo(this.playersByQueriedElement,T.element,[]).push(T),T.onDone(()=>function _ie(n,e,t){let i=n.get(e);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&n.delete(e)}return i}(this.playersByQueriedElement,T.element,T))}),d.forEach(T=>Go(T,SY));const S=ic(b);return S.onDestroy(()=>{d.forEach(T=>Hh(T,SY)),ha(l,t.toStyles)}),m.forEach(T=>{bo(r,T,[]).push(S)}),S}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new pg(e.duration,e.delay)}}class IT{namespaceId;triggerName;element;_player=new pg;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>cT(e,i,void 0,r))}),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){bo(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 Kw(n){return n&&1===n.nodeType}function jY(n,e){const t=n.style.display;return n.style.display=e??"none",t}function HY(n,e,t,i,r){const o=[];t.forEach(l=>o.push(jY(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(m=>{const b=e.computeStyle(c,m,r);d.set(m,b),(!b||0==b.length)&&(c[Ts]=pie,s.push(c))}),n.set(c,d)});let a=0;return t.forEach(l=>jY(l,o[a++])),s}function VY(n,e){const t=new Map;if(n.forEach(a=>t.set(a,[])),0==e.length)return t;const r=new Set(e),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return e.forEach(a=>{const l=s(a);1!==l&&t.get(l).push(a)}),t}function Go(n,e){n.classList?.add(e)}function Hh(n,e){n.classList?.remove(e)}function bie(n,e,t){ic(t).onDone(()=>n.processLeaveNode(e))}function BY(n,e){for(let t=0;tr.add(o)):e.set(n,i),t.delete(n),!0}class yg{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,i){this._driver=t,this._normalizer=i,this._transitionEngine=new gie(e.body,t,i),this._timelineEngine=new lie(e.body,t,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(e,t,i,r,o){const s=e+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],c=[],d=CT(this._driver,o,l,c);if(l.length)throw function sne(n,e){return new ee(3404,!1)}();a=function rie(n,e,t){return new oie(n,e,t)}(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,r,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,r){this._transitionEngine.insertNode(e,t,i,r)}onRemove(e,t,i){this._transitionEngine.removeNode(e,t,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,r){if("@"==i.charAt(0)){const[o,s]=vY(i),a=r;this._timelineEngine.command(o,t,s,a)}else this._transitionEngine.trigger(e,t,i,r)}listen(e,t,i,r,o){if("@"==i.charAt(0)){const[s,a]=vY(i);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(e,t,i,r,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 vg{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,t,i){this._element=e,this._startStyles=t,this._endStyles=i;let r=vg.initialStylesByElement.get(e);r||vg.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&ha(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ha(this._element,this._initialStyles),this._endStyles&&(ha(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(vg.initialStylesByElement.delete(this._element),this._startStyles&&(Rd(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Rd(this._element,this._endStyles),this._endStyles=null),ha(this._element,this._initialStyles),this._state=3)}}function PT(n){let e=null;return n.forEach((t,i)=>{(function Die(n){return"display"===n||"position"===n})(i)&&(e=e||new Map,e.set(i,t))}),e}class zY{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,i,r){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.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.domPlayer;this._initialized=!0;const e=this.keyframes,t=this._triggerWebAnimation(this.element,e,this.options);if(!t)return this._onFinish(),null;this.domPlayer=t,this._finalKeyframe=e.length?e[e.length-1]:new Map;const i=()=>this._onFinish();return t.addEventListener("finish",i),this.onDestroy(()=>{t.removeEventListener("finish",i)}),t}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(e){const t=[];return e.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){const r=this._convertKeyframesToObject(t);try{return e.animate(r,i)}catch{return null}}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(){const e=this._buildPlayer();e&&(this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),e.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(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?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=e*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&e.set(r,this._finished?i:yT(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class $Y{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return wY(e,t)}getParentElement(e){return hT(e)}query(e,t,i){return CY(e,t,i)}computeStyle(e,t,i){return yT(e,t)}animate(e,t,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=s.filter(S=>S instanceof zY);(function Lne(n,e){return 0===n||0===e})(i,r)&&d.forEach(S=>{S.currentSnapshot.forEach((T,I)=>c.set(I,T))});let m=function Tne(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}(t).map(S=>new Map(S));m=function Ine(n,e,t){if(t.size&&e.length){let i=e[0],r=[];if(t.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,yT(n,a)))}}return e}(e,m,c);const b=function Mie(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=PT(e[0]),e.length>1&&(i=PT(e[e.length-1]))):e instanceof Map&&(t=PT(e)),t||i?new vg(n,t,i):null}(e,m);return new zY(e,m,l,b)}}const WY="@.disabled";class qY{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,i,r){this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=r}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,i,r=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,i,r){r?this.delegate.removeChild(e,t,i,r):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,i,r){this.delegate.setAttribute(e,t,i,r)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,r){this.delegate.setStyle(e,t,i,r)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){"@"==t.charAt(0)&&t==WY?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i,r){return this.delegate.listen(e,t,i,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Sie extends qY{factory;constructor(e,t,i,r,o){super(t,i,r,o),this.factory=e,this.namespaceId=t}setProperty(e,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==WY?(i=void 0===i||!!i,this.disableAnimations(e,i)):this.engine.process(this.namespaceId,e,t.slice(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i,r){if("@"==t.charAt(0)){const o=function kie(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(e);let s=t.slice(1),a="";return"@"!=s.charAt(0)&&([s,a]=function Tie(n){const e=n.indexOf("."),t=n.substring(0,e),i=n.slice(e+1);return[t,i]}(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{const c=l._data||-1;this.factory.scheduleListenerCallback(c,i,l)})}return this.delegate.listen(e,t,i,r)}}class Eie{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,i){this.delegate=e,this.engine=t,this._zone=i,t.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(e,t){const r=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){const c=this._rendererCache;let d=c.get(r);if(!d){const m=()=>c.delete(r);d=new qY("",r,this.engine,m),c.set(r,d)}return d}const o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,e,c.name,c)};return t.data.animation.forEach(a),new Sie(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){if(e>=0&&et(i));const r=this._animationCallbacksBuffer;0==r.length&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([t,i])}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()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}}class bg extends yg{constructor(e,t,i){super(e,t,i)}ngOnDestroy(){this.flush()}static \u0275fac=function(t){return new(t||bg)(Ce(_n),Ce(vT),Ce(bT))};static \u0275prov=ue({token:bg,factory:bg.\u0275fac})}const GY=[{provide:bT,useFactory:function Lie(){return new EY}},{provide:yg,useClass:bg},{provide:ql,useFactory:function Iie(){return new Eie($(Ld),$(yg),$(Et))}}],AT=[{provide:vT,useClass:Nd},{provide:QI,useValue:"NoopAnimations"},...GY],OT=[{provide:vT,useFactory:()=>new $Y},{provide:QI,useFactory:()=>"BrowserAnimations"},...GY];class wg{static withConfig(e){return{ngModule:wg,providers:e.disableAnimations?AT:OT}}static \u0275fac=function(t){return new(t||wg)};static \u0275mod=Ct({type:wg});static \u0275inj=dt({providers:OT,imports:[jh]})}const QY=n=>e=>{for(let t=0,i=n.length;tn&&"number"==typeof n.length&&"function"!=typeof n;function JY(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const ZY=n=>{if(n&&"function"==typeof n[sr])return(n=>e=>{const t=n[sr]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)})(n);if(KY(n))return QY(n);if(JY(n))return(n=>e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,Qn),e))(n);if(n&&"function"==typeof n[Zw])return(n=>e=>{const t=n[Zw]();for(;;){const i=t.next();if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof t.return&&e.add(()=>{t.return&&t.return()}),e})(n);{const t=`You provided ${Vn(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(t)}};function NT(n,e){return new Ht(t=>{const i=new Lt;let r=0;return i.add(e.schedule(function(){r!==n.length?(t.next(n[r++]),t.closed||i.add(this.schedule())):t.complete()})),i})}function Vie(n,e){if(null!=n){if(function jie(n){return n&&"function"==typeof n[sr]}(n))return function Nie(n,e){return new Ht(t=>{const i=new Lt;return i.add(e.schedule(()=>{const r=n[sr]();i.add(r.subscribe({next(o){i.add(e.schedule(()=>t.next(o)))},error(o){i.add(e.schedule(()=>t.error(o)))},complete(){i.add(e.schedule(()=>t.complete()))}}))})),i})}(n,e);if(JY(n))return function Fie(n,e){return new Ht(t=>{const i=new Lt;return i.add(e.schedule(()=>n.then(r=>{i.add(e.schedule(()=>{t.next(r),i.add(e.schedule(()=>t.complete()))}))},r=>{i.add(e.schedule(()=>t.error(r)))}))),i})}(n,e);if(KY(n))return NT(n,e);if(function Hie(n){return n&&"function"==typeof n[Zw]}(n)||"string"==typeof n)return function Yie(n,e){if(!n)throw new Error("Iterable cannot be null");return new Ht(t=>{const i=new Lt;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=n[Zw](),i.add(e.schedule(function(){if(t.closed)return;let o,s;try{const a=r.next();o=a.value,s=a.done}catch(a){return void t.error(a)}s?t.complete():(t.next(o),this.schedule())}))})),i})}(n,e)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}function $i(n,e){return e?Vie(n,e):n instanceof Ht?n:new Ht(ZY(n))}function Cg(...n){if(1===n.length){const e=n[0];if(Tt(e))return Xw(e,null);if(Vn(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return Xw(t.map(i=>e[i]),t)}}if("function"==typeof n[n.length-1]){const e=n.pop();return Xw(n=1===n.length&&Tt(n[0])?n[0]:n,null).pipe(Bn(t=>e(...t)))}return Xw(n,null)}function Xw(n,e){return new Ht(t=>{const i=n.length;if(0===i)return void t.complete();const r=new Array(i);let o=0,s=0;for(let a=0;a{c||(c=!0,s++),r[a]=d},error:d=>t.error(d),complete:()=>{o++,(o===i||!c)&&(s===i&&t.next(e?e.reduce((d,m,b)=>(d[m]=r[b],d),{}):r),t.complete())}}))}})}class Mg{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,t){this._renderer=e,this._elementRef=t}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 \u0275fac=function(t){return new(t||Mg)(G(ur),G(On))};static \u0275dir=je({type:Mg})}class Es extends Mg{static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(Es)))(i||Es)}})();static \u0275dir=je({type:Es,features:[Xt]})}const Xr=new _e(""),Bie={provide:Xr,useExisting:rn(()=>Yd),multi:!0};class Yd extends Es{writeValue(e){this.setProperty("checked",e)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(Yd)))(i||Yd)}})();static \u0275dir=je({type:Yd,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,i){1&t&&W("change",function(o){return i.onChange(o.target.checked)})("blur",function(){return i.onTouched()})},standalone:!1,features:[Yt([Bie]),Xt]})}const Uie={provide:Xr,useExisting:rn(()=>qn),multi:!0};const $ie=new _e("");class qn extends Mg{_compositionMode;_composing=!1;constructor(e,t,i){super(e,t),this._compositionMode=i,null==this._compositionMode&&(this._compositionMode=!function zie(){const n=Ba()?Ba().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 \u0275fac=function(t){return new(t||qn)(G(ur),G(On),G($ie,8))};static \u0275dir=je({type:qn,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,i){1&t&&W("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},standalone:!1,features:[Yt([Uie]),Xt]})}function FT(n){return null==n||0===YT(n)}function YT(n){return null==n?null:Array.isArray(n)||"string"==typeof n?n.length:n instanceof Set?n.size:null}const kr=new _e(""),rc=new _e(""),Wie=/^(?=.{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 Be{static min(e){return XY(e)}static max(e){return e5(e)}static required(e){return t5(e)}static requiredTrue(e){return n5(e)}static email(e){return i5(e)}static minLength(e){return r5(e)}static maxLength(e){return o5(e)}static pattern(e){return s5(e)}static nullValidator(e){return null}static compose(e){return h5(e)}static composeAsync(e){return f5(e)}}function XY(n){return e=>{if(null==e.value||null==n)return null;const t=parseFloat(e.value);return!isNaN(t)&&t{if(null==e.value||null==n)return null;const t=parseFloat(e.value);return!isNaN(t)&&t>n?{max:{max:n,actual:e.value}}:null}}function t5(n){return FT(n.value)?{required:!0}:null}function n5(n){return!0===n.value?null:{required:!0}}function i5(n){return FT(n.value)||Wie.test(n.value)?null:{email:!0}}function r5(n){return e=>{const t=e.value?.length??YT(e.value);return null===t||0===t?null:t{const t=e.value?.length??YT(e.value);return null!==t&&t>n?{maxlength:{requiredLength:n,actualLength:t}}:null}}function s5(n){if(!n)return eC;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),i=>{if(FT(i.value))return null;const r=i.value;return e.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}function eC(n){return null}function a5(n){return null!=n}function l5(n){return vm(n)?$i(n):n}function c5(n){let e={};return n.forEach(t=>{e=null!=t?{...e,...t}:e}),0===Object.keys(e).length?null:e}function d5(n,e){return e.map(t=>t(n))}function u5(n){return n.map(e=>function qie(n){return!n.validate}(e)?e:t=>e.validate(t))}function h5(n){if(!n)return null;const e=n.filter(a5);return 0==e.length?null:function(t){return c5(d5(t,e))}}function jT(n){return null!=n?h5(u5(n)):null}function f5(n){if(!n)return null;const e=n.filter(a5);return 0==e.length?null:function(t){return Cg(d5(t,e).map(l5)).pipe(Bn(c5))}}function HT(n){return null!=n?f5(u5(n)):null}function p5(n,e){return null===n?[e]:Array.isArray(n)?[...n,e]:[n,e]}function m5(n){return n._rawValidators}function g5(n){return n._rawAsyncValidators}function VT(n){return n?Array.isArray(n)?n:[n]:[]}function tC(n,e){return Array.isArray(n)?n.includes(e):n===e}function _5(n,e){const t=VT(e);return VT(n).forEach(r=>{tC(t,r)||t.push(r)}),t}function y5(n,e){return VT(e).filter(t=>!tC(n,t))}class v5{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=jT(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=HT(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){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 Tr extends v5{name;get formDirective(){return null}get path(){return null}}class Qa extends v5{_parent=null;name=null;valueAccessor=null}class b5{_cd;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 Ln extends b5{constructor(e){super(e)}static \u0275fac=function(t){return new(t||Ln)(G(Qa,2))};static \u0275dir=je({type:Ln,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,i){2&t&&Re("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},standalone:!1,features:[Xt]})}class Wi extends b5{constructor(e){super(e)}static \u0275fac=function(t){return new(t||Wi)(G(Tr,10))};static \u0275dir=je({type:Wi,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,i){2&t&&Re("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},standalone:!1,features:[Xt]})}const Dg="VALID",iC="INVALID",Vh="PENDING",Sg="DISABLED";class Bh{}class M5 extends Bh{value;source;constructor(e,t){super(),this.value=e,this.source=t}}class zT extends Bh{pristine;source;constructor(e,t){super(),this.pristine=e,this.source=t}}class $T extends Bh{touched;source;constructor(e,t){super(),this.touched=e,this.source=t}}class rC extends Bh{status;source;constructor(e,t){super(),this.status=e,this.source=t}}class D5 extends Bh{source;constructor(e){super(),this.source=e}}class WT extends Bh{source;constructor(e){super(),this.source=e}}function qT(n){return(oC(n)?n.validators:n)||null}function GT(n,e){return(oC(e)?e.asyncValidators:n)||null}function oC(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function S5(n,e,t){const i=n.controls;if(!(e?Object.keys(i):i).length)throw new ee(1e3,"");if(!i[t])throw new ee(1001,"")}function k5(n,e,t){n._forEachChild((i,r)=>{if(void 0===t[r])throw new ee(-1002,"")})}class sC{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(e,t){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 jt(this.statusReactive)}set status(e){jt(()=>this.statusReactive.set(e))}_status=Jr(()=>this.statusReactive());statusReactive=yn(void 0);get valid(){return this.status===Dg}get invalid(){return this.status===iC}get pending(){return this.status===Vh}get disabled(){return this.status===Sg}get enabled(){return this.status!==Sg}errors;get pristine(){return jt(this.pristineReactive)}set pristine(e){jt(()=>this.pristineReactive.set(e))}_pristine=Jr(()=>this.pristineReactive());pristineReactive=yn(!0);get dirty(){return!this.pristine}get touched(){return jt(this.touchedReactive)}set touched(e){jt(()=>this.touchedReactive.set(e))}_touched=Jr(()=>this.touchedReactive());touchedReactive=yn(!1);get untouched(){return!this.touched}_events=new Ze;events=this._events.asObservable();valueChanges;statusChanges;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(_5(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(_5(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(y5(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(y5(e,this._rawAsyncValidators))}hasValidator(e){return tC(this._rawValidators,e)}hasAsyncValidator(e){return tC(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){const t=!1===this.touched;this.touched=!0;const i=e.sourceControl??this;e.onlySelf||this._parent?.markAsTouched({...e,sourceControl:i}),t&&!1!==e.emitEvent&&this._events.next(new $T(!0,i))}markAllAsDirty(e={}){this.markAsDirty({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(e))}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 i=e.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:i})}),e.onlySelf||this._parent?._updateTouched(e,i),t&&!1!==e.emitEvent&&this._events.next(new $T(!1,i))}markAsDirty(e={}){const t=!0===this.pristine;this.pristine=!1;const i=e.sourceControl??this;e.onlySelf||this._parent?.markAsDirty({...e,sourceControl:i}),t&&!1!==e.emitEvent&&this._events.next(new zT(!1,i))}markAsPristine(e={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=e.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),e.onlySelf||this._parent?._updatePristine(e,i),t&&!1!==e.emitEvent&&this._events.next(new zT(!0,i))}markAsPending(e={}){this.status=Vh;const t=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new rC(this.status,t)),this.statusChanges.emit(this.status)),e.onlySelf||this._parent?.markAsPending({...e,sourceControl:t})}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=Sg,this.errors=null,this._forEachChild(r=>{r.disable({...e,onlySelf:!0})}),this._updateValue();const i=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new M5(this.value,i)),this._events.next(new rC(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...e,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=Dg,this._forEachChild(i=>{i.enable({...e,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors({...e,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(e,t){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 i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Dg||this.status===Vh)&&this._runAsyncValidator(i,e.emitEvent)}const t=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new M5(this.value,t)),this._events.next(new rC(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),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()?Sg:Dg}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=Vh,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t,shouldHaveEmitted:!1!==e};const i=l5(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const e=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!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((i,r)=>i&&i._find(r),this)}getError(e,t){const i=t?this.get(t):this;return i?.errors?i.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,i){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||i)&&this._events.next(new rC(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,i)}_initObservables(){this.valueChanges=new Se,this.statusChanges=new Se}_calculateStatus(){return this._allControlsDisabled()?Sg:this.errors?iC:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Vh)?Vh:this._anyControlsHaveStatus(iC)?iC:Dg}_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 i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,e.onlySelf||this._parent?._updatePristine(e,t),r&&this._events.next(new zT(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new $T(this.touched,t)),e.onlySelf||this._parent?._updateTouched(e,t)}_onDisabledChange=[];_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){oC(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=function ere(n){return Array.isArray(n)?jT(n):n||null}(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=function tre(n){return Array.isArray(n)?HT(n):n||null}(this._rawAsyncValidators)}}class kg extends sC{constructor(e,t,i){super(qT(t),GT(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;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,i={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.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,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){k5(this,0,e),Object.keys(e).forEach(i=>{S5(this,!0,i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(i=>{const r=this.controls[i];r&&r.patchValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((i,r)=>{i.reset(e?e[r]:null,{...t,onlySelf:!0})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),!1!==t?.emitEvent&&this._events.next(new WT(this))}getRawValue(){return this._reduceChildren({},(e,t,i)=>(e[i]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&e(i,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&e(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,r)=>((i.enabled||this.disabled)&&(t[r]=i.value),t))}_reduceChildren(e,t){let i=e;return this._forEachChild((r,o)=>{i=t(i,r,o)}),i}_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 T5 extends kg{}const jd=new _e("",{factory:()=>Tg}),Tg="always";function aC(n,e){return[...e.path,n]}function Eg(n,e,t=Tg){QT(n,e),e.valueAccessor.writeValue(n.value),(n.disabled||"always"===t)&&e.valueAccessor.setDisabledState?.(n.disabled),function ire(n,e){e.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&E5(n,e)})}(n,e),function ore(n,e){const t=(i,r)=>{e.valueAccessor.writeValue(i),r&&e.viewToModelUpdate(i)};n.registerOnChange(t),e._registerOnDestroy(()=>{n._unregisterOnChange(t)})}(n,e),function rre(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&E5(n,e),"submit"!==n.updateOn&&n.markAsTouched()})}(n,e),function nre(n,e){if(e.valueAccessor.setDisabledState){const t=i=>{e.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(t),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}(n,e)}function lC(n,e,t=!0){const i=()=>{};e?.valueAccessor?.registerOnChange(i),e?.valueAccessor?.registerOnTouched(i),dC(n,e),n&&(e._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function cC(n,e){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function QT(n,e){const t=m5(n);null!==e.validator?n.setValidators(p5(t,e.validator)):"function"==typeof t&&n.setValidators([t]);const i=g5(n);null!==e.asyncValidator?n.setAsyncValidators(p5(i,e.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();cC(e._rawValidators,r),cC(e._rawAsyncValidators,r)}function dC(n,e){let t=!1;if(null!==n){if(null!==e.validator){const r=m5(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==e.validator);o.length!==r.length&&(t=!0,n.setValidators(o))}}if(null!==e.asyncValidator){const r=g5(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==e.asyncValidator);o.length!==r.length&&(t=!0,n.setAsyncValidators(o))}}}const i=()=>{};return cC(e._rawValidators,i),cC(e._rawAsyncValidators,i),t}function E5(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function x5(n,e){QT(n,e)}function JT(n,e){if(!n.hasOwnProperty("model"))return!1;const t=n.model;return!!t.isFirstChange()||!Object.is(e,t.currentValue)}function L5(n,e){n._syncPendingControls(),e.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function ZT(n,e){if(!e)return null;let t,i,r;return Array.isArray(e),e.forEach(o=>{o.constructor===qn?t=o:function lre(n){return Object.getPrototypeOf(n.constructor)===Es}(o)?i=o:r=o}),r||i||t||null}const dre={provide:Tr,useExisting:rn(()=>Hd)},xg=Promise.resolve();class Hd extends Tr{callSetDisabledState;get submitted(){return jt(this.submittedReactive)}_submitted=Jr(()=>this.submittedReactive());submittedReactive=yn(!1);_directives=new Set;form;ngSubmit=new Se;options;constructor(e,t,i){super(),this.callSetDisabledState=i,this.form=new kg({},jT(e),HT(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){xg.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),Eg(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){xg.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){xg.then(()=>{const t=this._findContainer(e.path),i=new kg({});x5(i,e),t.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){xg.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){xg.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),L5(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new D5(this.control)),"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 \u0275fac=function(t){return new(t||Hd)(G(kr,10),G(rc,10),G(jd,8))};static \u0275dir=je({type:Hd,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,i){1&t&&W("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Yt([dre]),Xt]})}function I5(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}function P5(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const Vd=class extends sC{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(e=null,t,i){super(qT(t),GT(i,t)),this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),oC(t)&&(t.nonNullable||t.initialValueIsDefault)&&(P5(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(i=>i(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),t.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,!1!==t?.emitEvent&&this._events.next(new WT(this))}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){I5(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){I5(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){P5(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}},Lg=Vd;class oc extends Tr{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective?.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return aC(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(oc)))(i||oc)}})();static \u0275dir=je({type:oc,standalone:!1,features:[Xt]})}const pre={provide:Tr,useExisting:rn(()=>sc)};class sc extends oc{name="";constructor(e,t,i){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(i)}_checkParentType(){!(this._parent instanceof sc)&&this._parent}static \u0275fac=function(t){return new(t||sc)(G(Tr,5),G(kr,10),G(rc,10))};static \u0275dir=je({type:sc,selectors:[["","ngModelGroup",""]],inputs:{name:[0,"ngModelGroup","name"]},exportAs:["ngModelGroup"],standalone:!1,features:[Yt([pre]),Xt]})}const mre={provide:Qa,useExisting:rn(()=>eo)},A5=Promise.resolve();class eo extends Qa{_changeDetectorRef;callSetDisabledState;control=new Vd;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new Se;constructor(e,t,i,r,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this._parent=e,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=ZT(0,r)}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),JT(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){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(){Eg(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){A5.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,i=0!==t&&zi(t);A5.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?aC(e,this._parent):[e]}static \u0275fac=function(t){return new(t||eo)(G(Tr,9),G(kr,10),G(rc,10),G(Xr,10),G(la,8),G(jd,8))};static \u0275dir=je({type:eo,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"],standalone:!1,features:[Yt([mre]),Xt,ji]})}class qi{static \u0275fac=function(t){return new(t||qi)};static \u0275dir=je({type:qi,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}const gre={provide:Xr,useExisting:rn(()=>Uh),multi:!0};class Uh extends Es{writeValue(e){const t=e??"";this.setProperty("value",t)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(Uh)))(i||Uh)}})();static \u0275dir=je({type:Uh,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,i){1&t&&W("input",function(o){return i.onChange(o.target.value)})("blur",function(){return i.onTouched()})},standalone:!1,features:[Yt([gre]),Xt]})}const _re={provide:Xr,useExisting:rn(()=>Bd),multi:!0};class Ig{_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 \u0275fac=function(t){return new(t||Ig)};static \u0275prov=ue({token:Ig,factory:Ig.\u0275fac,providedIn:"root"})}class Bd extends Es{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=$(jd,{optional:!0})??Tg;constructor(e,t,i,r){super(e,t),this._registry=i,this._injector=r}ngOnInit(){this._control=this._injector.get(Qa),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 \u0275fac=function(t){return new(t||Bd)(G(ur),G(On),G(Ig),G(ui))};static \u0275dir=je({type:Bd,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,i){1&t&&W("change",function(){return i.onChange()})("blur",function(){return i.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[Yt([_re]),Xt]})}const yre={provide:Xr,useExisting:rn(()=>zh),multi:!0};class zh extends Es{writeValue(e){this.setProperty("value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(zh)))(i||zh)}})();static \u0275dir=je({type:zh,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,i){1&t&&W("change",function(o){return i.onChange(o.target.value)})("input",function(o){return i.onChange(o.target.value)})("blur",function(){return i.onTouched()})},standalone:!1,features:[Yt([yre]),Xt]})}class O5 extends sC{constructor(e,t,i){super(qT(t),GT(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(e){return this.controls[this._adjustIndex(e)]}push(e,t={}){Array.isArray(e)?e.forEach(i=>{this.controls.push(i),this._registerControl(i)}):(this.controls.push(e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,i={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(e,t={}){let i=this._adjustIndex(e);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,i={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),t&&(this.controls.splice(r,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){k5(this,0,e),e.forEach((i,r)=>{S5(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((i,r)=>{i.reset(e[r],{...t,onlySelf:!0})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),!1!==t?.emitEvent&&this._events.next(new WT(this))}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,i)=>!!i._syncPendingControls()||t,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((t,i)=>{e(t,i)})}_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}}class Ud extends Tr{callSetDisabledState;get submitted(){return jt(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Jr(()=>this._submittedReactive());_submittedReactive=yn(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,t,i){super(),this.callSetDisabledState=i,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(dC(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){const t=this.form.get(e.path);return Eg(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){lC(e.control||null,e,!1),function cre(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)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,t){this.form.get(e.path).setValue(t)}onReset(){this.resetForm()}resetForm(e=void 0,t={}){this.form.reset(e,t),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,L5(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new D5(this.control)),"dialog"===e?.target?.method}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,i=this.form.get(e.path);t!==i&&(lC(t||null,e),(n=>n instanceof Vd)(i)&&(Eg(i,e,this.callSetDisabledState),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);x5(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){const t=this.form?.get(e.path);t&&function sre(n,e){return dC(n,e)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){QT(this.form,this),this._oldForm&&dC(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(t){return new(t||Ud)(G(kr,10),G(rc,10),G(jd,8))};static \u0275dir=je({type:Ud,features:[Xt,ji]})}const vre={provide:Tr,useExisting:rn(()=>$h)};class $h extends Ud{form=null;ngSubmit=new Se;get control(){return this.form}static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi($h)))(i||$h)}})();static \u0275dir=je({type:$h,selectors:[["","formArray",""]],hostBindings:function(t,i){1&t&&W("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formArray","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Yt([vre]),Xt]})}const XT=new _e(""),bre={provide:Qa,useExisting:rn(()=>ac)};class ac extends Qa{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new Se;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,t,i,r,o){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=ZT(0,i)}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&lC(t,this,!1),Eg(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}JT(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&lC(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 \u0275fac=function(t){return new(t||ac)(G(kr,10),G(rc,10),G(Xr,10),G(XT,8),G(jd,8))};static \u0275dir=je({type:ac,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[Yt([bre]),Xt,ji]})}const wre={provide:Tr,useExisting:rn(()=>lc)};class lc extends oc{name=null;constructor(e,t,i){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(i)}_checkParentType(){R5(this._parent)}static \u0275fac=function(t){return new(t||lc)(G(Tr,13),G(kr,10),G(rc,10))};static \u0275dir=je({type:lc,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[Yt([wre]),Xt]})}const Cre={provide:Tr,useExisting:rn(()=>zd)};class zd extends Tr{_parent;name=null;constructor(e,t,i){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(i)}ngOnInit(){R5(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return aC(null==this.name?this.name:this.name.toString(),this._parent)}static \u0275fac=function(t){return new(t||zd)(G(Tr,13),G(kr,10),G(rc,10))};static \u0275dir=je({type:zd,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[Yt([Cre]),Xt]})}function R5(n){return!(n instanceof lc||n instanceof Ud||n instanceof zd)}const Mre={provide:Qa,useExisting:rn(()=>Li)};class Li extends Qa{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new Se;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,t,i,r,o){super(),this._ngModelWarningConfig=o,this._parent=e,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=ZT(0,r)}ngOnChanges(e){this._added||this._setUpControl(),JT(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective?.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return aC(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(t){return new(t||Li)(G(Tr,13),G(kr,10),G(rc,10),G(Xr,10),G(XT,8))};static \u0275dir=je({type:Li,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[Yt([Mre]),Xt,ji]})}const Dre={provide:Tr,useExisting:rn(()=>Ci)};class Ci extends Ud{form=null;ngSubmit=new Se;get control(){return this.form}static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(Ci)))(i||Ci)}})();static \u0275dir=je({type:Ci,selectors:[["","formGroup",""]],hostBindings:function(t,i){1&t&&W("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Yt([Dre]),Xt]})}const Sre={provide:Xr,useExisting:rn(()=>cc),multi:!0};function N5(n,e){return null==n?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${n}: ${e}`.slice(0,50))}class cc extends Es{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;appRefInjector=$(Hr).injector;destroyRef=$(br);cdr=$(la);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,sd({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(e){this.cdr.markForCheck(),this.value=e;const i=N5(this._getOptionId(e),e);this.setProperty("value",i)}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 kre(n){return n.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(cc)))(i||cc)}})();static \u0275dir=je({type:cc,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,i){1&t&&W("change",function(o){return i.onChange(o.target.value)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[Yt([Sre]),Xt]})}class Ka{_element;_renderer;_select;id;constructor(e,t,i){this._element=e,this._renderer=t,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(N5(this.id,e)),this._select._writeValueAfterRender())}set value(e){this._setElementValue(e),this._select?._writeValueAfterRender()}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select?._optionMap.delete(this.id),this._select?._writeValueAfterRender()}static \u0275fac=function(t){return new(t||Ka)(G(On),G(ur),G(cc,9))};static \u0275dir=je({type:Ka,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}const Tre={provide:Xr,useExisting:rn(()=>$d),multi:!0};function F5(n,e){return null==n?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${n}: ${e}`.slice(0,50))}class $d extends Es{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;writeValue(e){let t;if(this.value=e,Array.isArray(e)){const i=e.map(r=>this._getOptionId(r));t=(r,o)=>{r._setSelected(i.indexOf(o)>-1)}}else t=i=>{i._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const i=[],r=t.selectedOptions;if(void 0!==r){const o=r;for(let s=0;s{let e;return function(i){return(e||(e=hi($d)))(i||$d)}})();static \u0275dir=je({type:$d,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,i){1&t&&W("change",function(o){return i.onChange(o.target)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[Yt([Tre]),Xt]})}class Ja{_element;_renderer;_select;id;_value;constructor(e,t,i){this._element=e,this._renderer=t,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(F5(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(F5(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 \u0275fac=function(t){return new(t||Ja)(G(On),G(ur),G($d,9))};static \u0275dir=je({type:Ja,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}function Y5(n){return"number"==typeof n?n:parseInt(n,10)}function j5(n){return"number"==typeof n?n:parseFloat(n)}class fa{_validator=eC;_onChange;_enabled;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):eC,this._onChange?.()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}static \u0275fac=function(t){return new(t||fa)};static \u0275dir=je({type:fa,features:[ji]})}const xre={provide:kr,useExisting:rn(()=>Wh),multi:!0};class Wh extends fa{max;inputName="max";normalizeInput=e=>j5(e);createValidator=e=>e5(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(Wh)))(i||Wh)}})();static \u0275dir=je({type:Wh,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&Zn("max",i._enabled?i.max:null)},inputs:{max:"max"},standalone:!1,features:[Yt([xre]),Xt]})}const Lre={provide:kr,useExisting:rn(()=>qh),multi:!0};class qh extends fa{min;inputName="min";normalizeInput=e=>j5(e);createValidator=e=>XY(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(qh)))(i||qh)}})();static \u0275dir=je({type:qh,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&Zn("min",i._enabled?i.min:null)},inputs:{min:"min"},standalone:!1,features:[Yt([Lre]),Xt]})}const Ire={provide:kr,useExisting:rn(()=>Wd),multi:!0},Pre={provide:kr,useExisting:rn(()=>Gh),multi:!0};class Wd extends fa{required;inputName="required";normalizeInput=zi;createValidator=e=>t5;enabled(e){return e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(Wd)))(i||Wd)}})();static \u0275dir=je({type:Wd,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,i){2&t&&Zn("required",i._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[Yt([Ire]),Xt]})}class Gh extends Wd{createValidator=e=>n5;static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(Gh)))(i||Gh)}})();static \u0275dir=je({type:Gh,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&Zn("required",i._enabled?"":null)},standalone:!1,features:[Yt([Pre]),Xt]})}const Are={provide:kr,useExisting:rn(()=>Qh),multi:!0};class Qh extends fa{email;inputName="email";normalizeInput=zi;createValidator=e=>i5;enabled(e){return e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(Qh)))(i||Qh)}})();static \u0275dir=je({type:Qh,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},standalone:!1,features:[Yt([Are]),Xt]})}const Ore={provide:kr,useExisting:rn(()=>Kh),multi:!0};class Kh extends fa{minlength;inputName="minlength";normalizeInput=e=>Y5(e);createValidator=e=>r5(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(Kh)))(i||Kh)}})();static \u0275dir=je({type:Kh,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&Zn("minlength",i._enabled?i.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[Yt([Ore]),Xt]})}const Rre={provide:kr,useExisting:rn(()=>Qo),multi:!0};class Qo extends fa{maxlength;inputName="maxlength";normalizeInput=e=>Y5(e);createValidator=e=>o5(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(Qo)))(i||Qo)}})();static \u0275dir=je({type:Qo,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&Zn("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[Yt([Rre]),Xt]})}const Nre={provide:kr,useExisting:rn(()=>Jh),multi:!0};class Jh extends fa{pattern;inputName="pattern";normalizeInput=e=>e;createValidator=e=>s5(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(Jh)))(i||Jh)}})();static \u0275dir=je({type:Jh,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&Zn("pattern",i._enabled?i.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[Yt([Nre]),Xt]})}class Pg{static \u0275fac=function(t){return new(t||Pg)};static \u0275mod=Ct({type:Pg});static \u0275inj=dt({})}function H5(n){return!!n&&(void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn)}class qd{useNonNullable=!1;get nonNullable(){const e=new qd;return e.useNonNullable=!0,e}group(e,t=null){const i=this._reduceControls(e);let r={};return H5(t)?r=t:null!==t&&(r.validators=t.validator,r.asyncValidators=t.asyncValidator),new kg(i,r)}record(e,t=null){const i=this._reduceControls(e);return new T5(i,t)}control(e,t,i){let r={};return this.useNonNullable?(H5(t)?r=t:(r.validators=t,r.asyncValidators=i),new Vd(e,{...r,nonNullable:!0})):new Vd(e,t,i)}array(e,t,i){const r=e.map(o=>this._createControl(o));return new O5(r,t,i)}_reduceControls(e){const t={};return Object.keys(e).forEach(i=>{t[i]=this._createControl(e[i])}),t}_createControl(e){if(e instanceof Vd)return e;if(e instanceof sC)return e;if(Array.isArray(e)){const t=e[0],i=e.length>1?e[1]:null,r=e.length>2?e[2]:null;return this.control(t,i,r)}return this.control(e)}static \u0275fac=function(t){return new(t||qd)};static \u0275prov=ue({token:qd,factory:qd.\u0275fac,providedIn:"root"})}class Ii extends qd{group(e,t=null){return super.group(e,t)}control(e,t,i){return super.control(e,t,i)}array(e,t,i){return super.array(e,t,i)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(Ii)))(i||Ii)}})();static \u0275prov=ue({token:Ii,factory:Ii.\u0275fac,providedIn:"root"})}class dc{static withConfig(e){return{ngModule:dc,providers:[{provide:jd,useValue:e.callSetDisabledState??Tg}]}}static \u0275fac=function(t){return new(t||dc)};static \u0275mod=Ct({type:dc});static \u0275inj=dt({imports:[Pg]})}class Zh{static withConfig(e){return{ngModule:Zh,providers:[{provide:XT,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:jd,useValue:e.callSetDisabledState??Tg}]}}static \u0275fac=function(t){return new(t||Zh)};static \u0275mod=Ct({type:Zh});static \u0275inj=dt({imports:[Pg]})}class Xh extends wt{notifyNext(e,t,i,r,o){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class uC extends wt{constructor(e,t,i){super(),this.parent=e,this.outerValue=t,this.outerIndex=i,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 ef(n,e,t,i,r=new uC(n,t,i)){if(!r.closed)return e instanceof Ht?e.subscribe(r):ZY(e)(r)}function to(n,e){return"function"==typeof e?t=>t.pipe(to((i,r)=>$i(n(i,r)).pipe(Bn((o,s)=>e(i,o,r,s))))):t=>t.lift(new Fre(n))}class Fre{constructor(e){this.project=e}call(e,t){return t.subscribe(new Yre(e,this.project))}}class Yre extends Xh{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const i=this.index++;try{t=this.project(e,i)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,i)}_innerSub(e,t,i){const r=this.innerSubscription;r&&r.unsubscribe();const o=new uC(this,t,i),s=this.destination;s.add(o),this.innerSubscription=ef(this,e,void 0,void 0,o),this.innerSubscription!==o&&s.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,i,r,o){this.destination.next(t)}}function tE(n){return e=>e.lift(new jre(n))}class jre{constructor(e){this.callback=e}call(e,t){return t.subscribe(new Hre(e,this.callback))}}class Hre extends wt{constructor(e,t){super(e),this.add(new Lt(t))}}function xs(n,e,t=Number.POSITIVE_INFINITY){return"function"==typeof e?i=>i.pipe(xs((r,o)=>$i(n(r,o)).pipe(Bn((s,a)=>e(r,s,o,a))),t)):("number"==typeof e&&(t=e),i=>i.lift(new Vre(n,t)))}class Vre{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new Bre(e,this.project,this.concurrent))}}class Bre extends Xh{constructor(e,t,i=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=i,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 hC(n,e){return xs(n,e,1)}function Pi(n,e){return function(i){return i.lift(new Ure(n,e))}}class Ure{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new zre(e,this.predicate,this.thisArg))}}class zre extends wt{constructor(e,t,i){super(e),this.predicate=t,this.thisArg=i,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(i){return void this.destination.error(i)}t&&this.destination.next(e)}}function tf(n){return n&&"function"==typeof n.schedule}function nE(n,e){return e?NT(n,e):new Ht(QY(n))}function Qe(...n){let e=n[n.length-1];return tf(e)?(n.pop(),NT(n,e)):nE(n)}class no{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(e){e?"string"==typeof e?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>0){const r=t.slice(0,i),o=t.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((t,i)=>{this.addHeaderEntry(i,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([t,i])=>{this.setHeaderEntries(t,i)})}: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 no?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 no;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof no?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 i=e.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":const o=e.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}addHeaderEntry(e,t){const i=e.toLowerCase();this.maybeSetNormalizedName(e,i),this.headers.has(i)?this.headers.get(i).push(t):this.headers.set(i,[t])}setHeaderEntries(e,t){const i=(Array.isArray(t)?t:[t]).map(o=>o.toString()),r=e.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class Wre{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()}}class qre{encodeKey(e){return V5(e)}encodeValue(e){return V5(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const Qre=/%(\d[a-f0-9])/gi,Kre={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function V5(n){return encodeURIComponent(n).replace(Qre,(e,t)=>Kre[t]??e)}function fC(n){return`${n}`}class uc{map;encoder;updates=null;cloneFrom=null;constructor(e={}){if(this.encoder=e.encoder||new qre,e.fromString){if(e.fromObject)throw new ee(2805,!1);this.map=function Gre(n,e){const t=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const i=e.fromObject[t],r=Array.isArray(i)?i.map(fC):[fC(i)];this.map.set(t,r)})):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(i=>{const r=e[i];Array.isArray(r)?r.forEach(o=>{t.push({param:i,value:o,op:"a"})}):t.push({param:i,value:r,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(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new uc({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(fC(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let i=this.map.get(e.param)||[];const r=i.indexOf(fC(e.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(e.param,i):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function B5(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function U5(n){return typeof Blob<"u"&&n instanceof Blob}function z5(n){return typeof FormData<"u"&&n instanceof FormData}const Ag="Content-Type",pC="Accept",$5="text/plain",W5="application/json",q5=`${W5}, ${$5}, */*`;class Og{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(e,t,i,r){let o;if(this.url=t,this.method=e.toUpperCase(),function Jre(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),"number"==typeof o.timeout){if(o.timeout<1||!Number.isInteger(o.timeout))throw new ee(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new no,this.context??=new Wre,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?"),l=-1===a?"?":aye.set(ve,e.setHeaders[ve]),re)),e.setParams&&(se=Object.keys(e.setParams).reduce((ye,ve)=>ye.set(ve,e.setParams[ve]),se)),new Og(t,i,R,{params:se,headers:re,context:oe,reportProgress:j,responseType:r,withCredentials:H,transferCache:T,keepalive:o,cache:a,priority:s,timeout:I,mode:l,redirect:c,credentials:d,referrer:m,integrity:b,referrerPolicy:S})}}var pa;!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"}(pa||(pa={}));class iE{headers;status;statusText;url;ok;type;redirected;responseType;constructor(e,t=200,i="OK"){this.headers=e.headers||new no,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||i,this.url=e.url||null,this.redirected=e.redirected,this.responseType=e.responseType,this.ok=this.status>=200&&this.status<300}}class mC extends iE{constructor(e={}){super(e)}type=pa.ResponseHeader;clone(e={}){return new mC({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 nf extends iE{body;constructor(e={}){super(e),this.body=void 0!==e.body?e.body:null}type=pa.Response;clone(e={}){return new nf({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,redirected:e.redirected??this.redirected,responseType:e.responseType??this.responseType})}}class Za extends iE{name="HttpErrorResponse";message;error;ok=!1;constructor(e){super(e,0,"Unknown Error"),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 G5;!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"}(G5||(G5={}));const eoe=/^\)\]\}',?\n/,Q5=new _e("");class Gd{fetchImpl=$(toe,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=$(Et);destroyRef=$(br);handle(e){return new Ht(t=>{const i=new AbortController;let r;return this.doRequest(e,i.signal,t).then(oE,o=>t.error(new Za({error:o}))),e.timeout&&(r=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{i.signal.aborted||i.abort(new DOMException("signal timed out","TimeoutError"))},e.timeout))),()=>{void 0!==r&&clearTimeout(r),i.abort()}})}doRequest(e,t,i){var r=this;return Wt(function*(){const o=r.createRequestInit(e);let s;try{const I=r.ngZone.runOutsideAngular(()=>r.fetchImpl(e.urlWithParams,{signal:t,...o}));(function noe(n){n.then(oE,oE)})(I),i.next({type:pa.Sent}),s=yield I}catch(I){return void i.error(new Za({error:I,status:I.status??0,statusText:I.statusText,url:e.urlWithParams,headers:I.headers}))}const a=new no(s.headers),l=s.statusText,c=s.url||e.urlWithParams;let d=s.status,m=null;if(e.reportProgress&&i.next(new mC({headers:a,status:d,statusText:l,url:c})),s.body){const I=s.headers.get("content-length"),R=[],H=s.body.getReader();let re,se,j=0;const oe=typeof Zone<"u"&&Zone.current;let ye=!1;if(yield r.ngZone.runOutsideAngular(Wt(function*(){for(;;){if(r.destroyRef.destroyed){yield H.cancel(),ye=!0;break}const{done:Me,value:$e}=yield H.read();if(Me)break;if(R.push($e),j+=$e.length,e.reportProgress){se="text"===e.responseType?(se??"")+(re??=new TextDecoder).decode($e,{stream:!0}):void 0;const mt=()=>i.next({type:pa.DownloadProgress,total:I?+I:void 0,loaded:j,partialText:se});oe?oe.run(mt):mt()}}})),ye)return void i.complete();const ve=r.concatChunks(R,j);try{const Me=s.headers.get(Ag)??"";m=r.parseBody(e,ve,Me,d)}catch(Me){return void i.error(new Za({error:Me,headers:new no(s.headers),status:s.status,statusText:s.statusText,url:s.url||e.urlWithParams}))}}0===d&&(d=m?200:0);const b=d>=200&&d<300,S=s.redirected,T=s.type;b?(i.next(new nf({body:m,headers:a,status:d,statusText:l,url:c,redirected:S,responseType:T})),i.complete()):i.error(new Za({error:m,headers:a,status:d,statusText:l,url:c,redirected:S,responseType:T}))})()}parseBody(e,t,i,r){switch(e.responseType){case"json":const o=(new TextDecoder).decode(t).replace(eoe,"");if(""===o)return null;try{return JSON.parse(o)}catch(s){if(r<200||r>=300)return o;throw s}case"text":return(new TextDecoder).decode(t);case"blob":return new Blob([t],{type:i});case"arraybuffer":return t.buffer}}createRequestInit(e){const t={};let i;if(i=e.credentials,e.withCredentials&&(i="include"),e.headers.forEach((r,o)=>t[r]=o.join(",")),e.headers.has(pC)||(t[pC]=q5),!e.headers.has(Ag)){const r=e.detectContentTypeHeader();null!==r&&(t[Ag]=r)}return{body:e.serializeBody(),method:e.method,headers:t,credentials:i,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,t){const i=new Uint8Array(t);let r=0;for(const o of e)i.set(o,r),r+=o.length;return i}static \u0275fac=function(t){return new(t||Gd)};static \u0275prov=ue({token:Gd,factory:Gd.\u0275fac})}class toe{}function oE(){}const ioe=/^\)\]\}',?\n/;class rf{xhrFactory;tracingService=$(od,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if("JSONP"===e.method)throw new ee(-2800,!1);const t=this.xhrFactory;return Qe(null).pipe(to(()=>new Ht(r=>{const o=t.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((I,R)=>o.setRequestHeader(I,R.join(","))),e.headers.has(pC)||o.setRequestHeader(pC,q5),!e.headers.has(Ag)){const I=e.detectContentTypeHeader();null!==I&&o.setRequestHeader(Ag,I)}if(e.timeout&&(o.timeout=e.timeout),e.responseType){const I=e.responseType.toLowerCase();o.responseType="json"!==I?I:"text"}const s=e.serializeBody();let a=null;const l=()=>{if(null!==a)return a;const I=o.statusText||"OK",R=new no(o.getAllResponseHeaders()),H=o.responseURL||e.url;return a=new mC({headers:R,status:o.status,statusText:I,url:H}),a},c=this.maybePropagateTrace(()=>{let{headers:I,status:R,statusText:H,url:j}=l(),re=null;204!==R&&(re=typeof o.response>"u"?o.responseText:o.response),0===R&&(R=re?200:0);let se=R>=200&&R<300;if("json"===e.responseType&&"string"==typeof re){const oe=re;re=re.replace(ioe,"");try{re=""!==re?JSON.parse(re):null}catch(ye){re=oe,se&&(se=!1,re={error:ye,text:re})}}se?(r.next(new nf({body:re,headers:I,status:R,statusText:H,url:j||void 0})),r.complete()):r.error(new Za({error:re,headers:I,status:R,statusText:H,url:j||void 0}))}),d=this.maybePropagateTrace(I=>{const{url:R}=l(),H=new Za({error:I,status:o.status||0,statusText:o.statusText||"Unknown Error",url:R||void 0});r.error(H)});let m=d;e.timeout&&(m=this.maybePropagateTrace(I=>{const{url:R}=l(),H=new Za({error:new DOMException("Request timed out","TimeoutError"),status:o.status||0,statusText:o.statusText||"Request timeout",url:R||void 0});r.error(H)}));let b=!1;const S=this.maybePropagateTrace(I=>{b||(r.next(l()),b=!0);let R={type:pa.DownloadProgress,loaded:I.loaded};I.lengthComputable&&(R.total=I.total),"text"===e.responseType&&o.responseText&&(R.partialText=o.responseText),r.next(R)}),T=this.maybePropagateTrace(I=>{let R={type:pa.UploadProgress,loaded:I.loaded};I.lengthComputable&&(R.total=I.total),r.next(R)});return o.addEventListener("load",c),o.addEventListener("error",d),o.addEventListener("timeout",m),o.addEventListener("abort",d),e.reportProgress&&(o.addEventListener("progress",S),null!==s&&o.upload&&o.upload.addEventListener("progress",T)),o.send(s),r.next({type:pa.Sent}),()=>{o.removeEventListener("error",d),o.removeEventListener("abort",d),o.removeEventListener("load",c),o.removeEventListener("timeout",m),e.reportProgress&&(o.removeEventListener("progress",S),null!==s&&o.upload&&o.upload.removeEventListener("progress",T)),o.readyState!==o.DONE&&o.abort()}})))}static \u0275fac=function(t){return new(t||rf)(Ce(eF))};static \u0275prov=ue({token:rf,factory:rf.\u0275fac,providedIn:"root"})}function K5(n,e){return e(n)}function roe(n,e){return(t,i)=>e.intercept(t,{handle:r=>n(r,i)})}const J5=new _e(""),Rg=new _e("",{factory:()=>[]}),soe=new _e(""),Z5=new _e("",{factory:()=>!0});function aoe(){let n=null;return(e,t)=>{null===n&&(n=($(J5,{optional:!0})??[]).reduceRight(roe,K5));const i=$(Wc);if($(Z5)){const o=i.add();return n(e,t).pipe(tE(o))}return n(e,t)}}class hc{static \u0275fac=function(t){return new(t||hc)};static \u0275prov=ue({token:hc,factory:function(t){let i=null;return i=t?new(t||hc):Ce(rf),i},providedIn:"root"})}class Qd{backend;injector;chain=null;pendingTasks=$(Wc);contributeToStability=$(Z5);constructor(e,t){this.backend=e,this.injector=t}handle(e){if(null===this.chain){const t=Array.from(new Set([...this.injector.get(Rg),...this.injector.get(soe,[])]));this.chain=t.reduceRight((i,r)=>function ooe(n,e,t){return(i,r)=>Fi(t,()=>e(i,o=>n(o,r)))}(i,r,this.injector),K5)}if(this.contributeToStability){const t=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(tE(t))}return this.chain(e,t=>this.backend.handle(t))}static \u0275fac=function(t){return new(t||Qd)(Ce(hc),Ce(ri))};static \u0275prov=ue({token:Qd,factory:Qd.\u0275fac,providedIn:"root"})}class Kd{static \u0275fac=function(t){return new(t||Kd)};static \u0275prov=ue({token:Kd,factory:function(t){let i=null;return i=t?new(t||Kd):Ce(Qd),i},providedIn:"root"})}function sE(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,credentials:n.credentials,transferCache:n.transferCache,timeout:n.timeout,keepalive:n.keepalive,priority:n.priority,cache:n.cache,mode:n.mode,redirect:n.redirect,integrity:n.integrity,referrer:n.referrer,referrerPolicy:n.referrerPolicy}}class Ls{handler;constructor(e){this.handler=e}request(e,t,i={}){let r;if(e instanceof Og)r=e;else{let a,l;a=i.headers instanceof no?i.headers:new no(i.headers),i.params&&(l=i.params instanceof uc?i.params:new uc({fromObject:i.params})),r=new Og(e,t,void 0!==i.body?i.body:null,{headers:a,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout})}const o=Qe(r).pipe(hC(a=>this.handler.handle(a)));if(e instanceof Og||"events"===i.observe)return o;const s=o.pipe(Pi(a=>a instanceof nf));switch(i.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(Bn(a=>{if(null!==a.body&&!(a.body instanceof ArrayBuffer))throw new ee(2806,!1);return a.body}));case"blob":return s.pipe(Bn(a=>{if(null!==a.body&&!(a.body instanceof Blob))throw new ee(2807,!1);return a.body}));case"text":return s.pipe(Bn(a=>{if(null!==a.body&&"string"!=typeof a.body)throw new ee(2808,!1);return a.body}));default:return s.pipe(Bn(a=>a.body))}case"response":return s;default:throw new ee(2809,!1)}}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 uc).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,i={}){return this.request("PATCH",e,sE(i,t))}post(e,t,i={}){return this.request("POST",e,sE(i,t))}put(e,t,i={}){return this.request("PUT",e,sE(i,t))}static \u0275fac=function(t){return new(t||Ls)(Ce(Kd))};static \u0275prov=ue({token:Ls,factory:Ls.\u0275fac,providedIn:"root"})}let X5,loe=0;class ej{}function doe(){return"object"==typeof window?window:{}}class of{callbackMap;document;resolvedPromise=Promise.resolve();nonce=$(WD,{optional:!0});constructor(e,t){this.callbackMap=e,this.document=t}nextCallback(){return"ng_jsonp_callback_"+loe++}handle(e){if("JSONP"!==e.method)throw new ee(2810,!1);if("json"!==e.responseType)throw new ee(2811,!1);if(e.headers.keys().length>0)throw new ee(2812,!1);return new Ht(t=>{const i=this.nextCallback(),r=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${i}$1`),o=this.document.createElement("script");o.src=r,this.nonce&&o.setAttribute("nonce",this.nonce);let s=null,a=!1;this.callbackMap[i]=m=>{delete this.callbackMap[i],s=m,a=!0};const l=()=>{o.removeEventListener("load",c),o.removeEventListener("error",d),o.remove(),delete this.callbackMap[i]},c=()=>{this.resolvedPromise.then(()=>{l(),a?(t.next(new nf({body:s,status:200,statusText:"OK",url:r})),t.complete()):t.error(new Za({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},d=m=>{l(),t.error(new Za({error:m,status:0,statusText:"JSONP Error",url:r}))};return o.addEventListener("load",c),o.addEventListener("error",d),this.document.body.appendChild(o),t.next({type:pa.Sent}),()=>{a||this.removeListeners(o),l()}})}removeListeners(e){X5??=this.document.implementation.createHTMLDocument(),X5.adoptNode(e)}static \u0275fac=function(t){return new(t||of)(Ce(ej),Ce(_n))};static \u0275prov=ue({token:of,factory:of.\u0275fac})}function tj(n,e){return"JSONP"===n.method?$(of).handle(n):e(n)}class gC{injector;constructor(e){this.injector=e}intercept(e,t){return Fi(this.injector,()=>tj(e,i=>t.handle(i)))}static \u0275fac=function(t){return new(t||gC)(Ce(ri))};static \u0275prov=ue({token:gC,factory:gC.\u0275fac})}const aE=new _e("",{factory:()=>!0}),nj="XSRF-TOKEN",ij=new _e("",{factory:()=>nj}),rj="X-XSRF-TOKEN",oj=new _e("",{factory:()=>rj});class sf{cookieName=$(ij);doc=$(_n);lastCookieString="";lastToken=null;parseCount=0;getToken(){const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=XN(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(t){return new(t||sf)};static \u0275prov=ue({token:sf,factory:sf.\u0275fac,providedIn:"root"})}class af{static \u0275fac=function(t){return new(t||af)};static \u0275prov=ue({token:af,factory:function(t){let i=null;return i=t?new(t||af):Ce(sf),i},providedIn:"root"})}function sj(n,e){if(!$(aE)||"GET"===n.method||"HEAD"===n.method)return e(n);try{const r=$(tc).href,{origin:o}=new URL(r),{origin:s}=new URL(n.url,o);if(o!==s)return e(n)}catch{return e(n)}const t=$(af).getToken(),i=$(oj);return null!=t&&!n.headers.has(i)&&(n=n.clone({headers:n.headers.set(i,t)})),e(n)}class lf{injector=$(ri);intercept(e,t){return Fi(this.injector,()=>sj(e,i=>t.handle(i)))}static \u0275fac=function(t){return new(t||lf)};static \u0275prov=ue({token:lf,factory:lf.\u0275fac})}var Xa;function Jd(n,e){return{\u0275kind:n,\u0275providers:e}}function aj(...n){const e=[Ls,Qd,{provide:Kd,useExisting:Qd},{provide:hc,useFactory:()=>$(Q5,{optional:!0})??$(rf)},{provide:Rg,useValue:sj,multi:!0}];for(const t of n)e.push(...t.\u0275providers);return Pa(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"}(Xa||(Xa={}));const lj=new _e("");function cj(){return Jd(Xa.LegacyInterceptors,[{provide:lj,useFactory:aoe},{provide:Rg,useExisting:lj,multi:!0}])}function dj({cookieName:n,headerName:e}){const t=[];return void 0!==n&&t.push({provide:ij,useValue:n}),void 0!==e&&t.push({provide:oj,useValue:e}),Jd(Xa.CustomXsrfConfiguration,t)}function hoe(){return Jd(Xa.JsonpSupport,[of,{provide:ej,useFactory:doe},{provide:Rg,useValue:tj,multi:!0}])}class Ng{static disable(){return{ngModule:Ng,providers:[Jd(Xa.NoXsrfProtection,[{provide:aE,useValue:!1}]).\u0275providers]}}static withOptions(e={}){return{ngModule:Ng,providers:dj(e).\u0275providers}}static \u0275fac=function(t){return new(t||Ng)};static \u0275mod=Ct({type:Ng});static \u0275inj=dt({providers:[lf,{provide:J5,useExisting:lf,multi:!0},{provide:af,useClass:sf},dj({cookieName:nj,headerName:rj}).\u0275providers,{provide:aE,useValue:!0}]})}class lE{static \u0275fac=function(t){return new(t||lE)};static \u0275mod=Ct({type:lE});static \u0275inj=dt({providers:[aj(cj())]})}class cE{static \u0275fac=function(t){return new(t||cE)};static \u0275mod=Ct({type:cE});static \u0275inj=dt({providers:[hoe().\u0275providers]})}function _C(n){return!!n&&(n instanceof Ht||"function"==typeof n.lift&&"function"==typeof n.subscribe)}const uj={};function hj(...n){let e=null,t=null;return tf(n[n.length-1])&&(t=n.pop()),"function"==typeof n[n.length-1]&&(e=n.pop()),1===n.length&&Tt(n[0])&&(n=n[0]),nE(n,t).lift(new foe(e))}class foe{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new poe(e,this.resultSelector))}}class poe extends Xh{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(uj),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 i=0;i{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 cf(n=Number.POSITIVE_INFINITY){return xs(Ji,n)}function uE(...n){return function moe(){return cf(1)}()(Qe(...n))}const Ko=new Ht(n=>n.complete());function yC(n){return n?function goe(n){return new Ht(e=>n.schedule(()=>e.complete()))}(n):Ko}function hE(n){return new Ht(e=>{let t;try{t=n()}catch(r){return void e.error(r)}return(t?$i(t):yC()).subscribe(e)})}function Fg(n,e){return new Ht(e?t=>e.schedule(_oe,0,{error:n,subscriber:t}):t=>t.error(n))}function _oe({error:n,subscriber:e}){e.error(n)}const fj=(()=>{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})();function Zd(n){return e=>0===n?yC():e.lift(new yoe(n))}class yoe{constructor(e){if(this.total=e,this.total<0)throw new fj}call(e,t){return t.subscribe(new voe(e,this.total))}}class voe extends wt{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,i=++this.count;i<=t&&(this.destination.next(e),i===t&&(this.destination.complete(),this.unsubscribe()))}}class woe{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new Coe(e,this.defaultValue))}}class Coe extends wt{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 Moe(n=koe){return e=>e.lift(new Doe(n))}class Doe{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new Soe(e,this.errorFactory))}}class Soe extends wt{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 koe(){return new dE}function Xd(n,e){const t=arguments.length>=2;return i=>i.pipe(n?Pi((r,o)=>n(r,o,i)):Ji,Zd(1),t?function boe(n=null){return e=>e.lift(new woe(n))}(e):Moe(()=>new dE))}function Yg(...n){const e=n[n.length-1];return tf(e)?(n.pop(),t=>uE(n,t,e)):t=>uE(n,t)}function ma(n){return e=>e.lift(new Toe(n))}class Toe{constructor(e){this.notifier=e}call(e,t){const i=new Eoe(e),r=ef(i,this.notifier);return r&&!i.seenValue?(i.add(r),t.subscribe(i)):i}}class Eoe extends Xh{constructor(e){super(e),this.seenValue=!1}notifyNext(e,t,i,r,o){this.seenValue=!0,this.complete()}notifyComplete(){}}function fc(){}function Mi(n,e,t){return function(r){return r.lift(new xoe(n,e,t))}}class xoe{constructor(e,t,i){this.nextOrObserver=e,this.error=t,this.complete=i}call(e,t){return t.subscribe(new Loe(e,this.nextOrObserver,this.error,this.complete))}}class Loe extends wt{constructor(e,t,i,r){super(e),this._tapNext=fc,this._tapError=fc,this._tapComplete=fc,this._tapError=i||fc,this._tapComplete=r||fc,ln(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||fc,this._tapError=t.error||fc,this._tapComplete=t.complete||fc)}_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 pj(n){return function(t){return 0===n?yC():t.lift(new Ioe(n))}}class Ioe{constructor(e){if(this.total=e,this.total<0)throw new fj}call(e,t){return t.subscribe(new Poe(e,this.total))}}class Poe extends wt{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,i=this.total,r=this.count++;if(t.length0){const i=this.count>=this.total?this.total:this.count,r=this.ring;for(let o=0;o(r&&i.push(this._getOrCreateElement(r,t)),i),[]):[]}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 i=this.getTag(t);return i?this._setMetaElementAttributes(e,i):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),s=this.getTags(o).filter(a=>this._containsAttributes(e,a))[0];if(void 0!==s)return s}const i=this._dom.createElement("meta");return this._setMetaElementAttributes(e,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(i=>t.setAttribute(this._getMetaKeyMap(i),e[i])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(i=>t.getAttribute(this._getMetaKeyMap(i))===e[i])}_getMetaKeyMap(e){return Woe[e]||e}static \u0275fac=function(t){return new(t||vC)(Ce(_n))};static \u0275prov=ue({token:vC,factory:vC.\u0275fac,providedIn:"root"})}const Woe={httpEquiv:"http-equiv"};class jg{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||jg)(Ce(_n))};static \u0275prov=ue({token:jg,factory:jg.\u0275fac,providedIn:"root"})}const Koe={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},fE=new _e(""),bj=new _e("");class Hg{events=[];overrides={};options;buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const i in this.overrides)t.get(i).set(this.overrides[i]);return t}static \u0275fac=function(t){return new(t||Hg)};static \u0275prov=ue({token:Hg,factory:Hg.\u0275fac})}class Vg extends Kk{_config;_injector;loader;_loaderPromise=null;constructor(e,t,i,r){super(e),this._config=t,this._injector=i,this.loader=r}supports(e){return!(!Koe.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader)}addEventListener(e,t,i){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||r.runOutsideAngular(()=>this.loader());let o=!1,s=()=>{o=!0};return r.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?o||(s=this.addEventListener(e,t,i)):s=()=>{}}).catch(()=>{s=()=>{}})),()=>{s()}}return r.runOutsideAngular(()=>{const o=this._config.buildHammer(e),s=function(a){r.runGuarded(function(){i(a)})};return o.on(t,s),()=>{o.off(t,s),"function"==typeof o.destroy&&o.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}static \u0275fac=function(t){return new(t||Vg)(Ce(_n),Ce(fE),Ce(ui),Ce(bj,8))};static \u0275prov=ue({token:Vg,factory:Vg.\u0275fac})}class pE{static \u0275fac=function(t){return new(t||pE)};static \u0275mod=Ct({type:pE});static \u0275inj=dt({providers:[{provide:Hw,useClass:Vg,multi:!0,deps:[_n,fE,ui,[new eI,bj]]},{provide:fE,useClass:Hg}]})}class df{static \u0275fac=function(t){return new(t||df)};static \u0275prov=ue({token:df,factory:function(t){let i=null;return i=t?new(t||df):Ce(Bg),i},providedIn:"root"})}class Bg extends df{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case _o.NONE:return t;case _o.HTML:return na(t,"HTML")?Gr(t):UP(this._doc,String(t)).toString();case _o.STYLE:return na(t,"Style")?Gr(t):t;case _o.SCRIPT:if(na(t,"Script"))return Gr(t);throw new ee(5200,!1);case _o.URL:return na(t,"URL")?Gr(t):Nv(String(t));case _o.RESOURCE_URL:if(na(t,"ResourceURL"))return Gr(t);throw new ee(5201,!1);default:throw new ee(5202,!1)}}bypassSecurityTrustHtml(e){return function kU(n){return new bU(n)}(e)}bypassSecurityTrustStyle(e){return function TU(n){return new wU(n)}(e)}bypassSecurityTrustScript(e){return function EU(n){return new CU(n)}(e)}bypassSecurityTrustUrl(e){return function xU(n){return new MU(n)}(e)}bypassSecurityTrustResourceUrl(e){return function LU(n){return new DU(n)}(e)}static \u0275fac=function(t){return new(t||Bg)(Ce(_n))};static \u0275prov=ue({token:Bg,factory:Bg.\u0275fac,providedIn:"root"})}var el;!function(n){n[n.NoHttpTransferCache=0]="NoHttpTransferCache",n[n.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",n[n.I18nSupport=2]="I18nSupport",n[n.EventReplay=3]="EventReplay",n[n.IncrementalHydration=4]="IncrementalHydration"}(el||(el={}));const xt="primary",zg=Symbol("RouteTitle");class Joe{params;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 uf(n){return new Joe(n)}function mE(n,e,t){for(let i=0;in.length||"full"===t.pathMatch&&(e.hasChildren()||i.lengthn.length||"full"===t.pathMatch&&e.hasChildren()&&"**"!==t.path)return null;const a={};return mE(o,n.slice(0,o.length),a)&&mE(s,n.slice(n.length-s.length),a)?{consumed:n,posParams:a}:null}function bC(n){return new Promise((e,t)=>{n.pipe(Xd()).subscribe({next:i=>e(i),error:i=>t(i)})})}function ga(n,e){const t=n?gE(n):void 0,i=e?gE(e):void 0;if(!t||!i||t.length!=i.length)return!1;let r;for(let o=0;oi[o]===r)}return n===e}function eu(n){return _C(n)?n:vm(n)?$i(Promise.resolve(n)):Qe(n)}function Cj(n){return _C(n)?bC(n):Promise.resolve(n)}const tse={exact:function Sj(n,e,t){if(!tu(n.segments,e.segments)||!CC(n.segments,e.segments,t)||n.numberOfChildren!==e.numberOfChildren)return!1;for(const i in e.children)if(!n.children[i]||!Sj(n.children[i],e.children[i],t))return!1;return!0},subset:kj},Mj={exact:function ise(n,e){return ga(n,e)},subset:function rse(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(t=>wj(n[t],e[t]))},ignored:()=>!0},Dj={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},wC={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function _E(n,e,t){return tse[t.paths](n.root,e.root,t.matrixParams)&&Mj[t.queryParams](n.queryParams,e.queryParams)&&!("exact"===t.fragment&&n.fragment!==e.fragment)}function kj(n,e,t){return Tj(n,e,e.segments,t)}function Tj(n,e,t,i){if(n.segments.length>t.length){const r=n.segments.slice(0,t.length);return!(!tu(r,t)||e.hasChildren()||!CC(r,t,i))}if(n.segments.length===t.length){if(!tu(n.segments,t)||!CC(n.segments,t,i))return!1;for(const r in e.children)if(!n.children[r]||!kj(n.children[r],e.children[r],i))return!1;return!0}{const r=t.slice(0,n.segments.length),o=t.slice(n.segments.length);return!!(tu(n.segments,r)&&CC(n.segments,r,i)&&n.children[xt])&&Tj(n.children[xt],e,o,i)}}function CC(n,e,t){return e.every((i,r)=>Mj[t](n[r].parameters,i.parameters))}class Is{root;queryParams;fragment;_queryParamMap;constructor(e=new jn([],{}),t={},i=null){this.root=e,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap??=uf(this.queryParams),this._queryParamMap}toString(){return ase.serialize(this)}}class jn{segments;children;parent=null;constructor(e,t){this.segments=e,this.children=t,Object.values(t).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return MC(this)}}class $g{path;parameters;_parameterMap;constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap??=uf(this.parameters),this._parameterMap}toString(){return Lj(this)}}function tu(n,e){return n.length===e.length&&n.every((t,i)=>t.path===e[i].path)}class tl{static \u0275fac=function(t){return new(t||tl)};static \u0275prov=ue({token:tl,factory:()=>new Wg,providedIn:"root"})}class Wg{parse(e){const t=new yse(e);return new Is(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){const t=`/${qg(e.root,!0)}`,i=function dse(n){const e=Object.entries(n).map(([t,i])=>Array.isArray(i)?i.map(r=>`${DC(t)}=${DC(r)}`).join("&"):`${DC(t)}=${DC(i)}`).filter(t=>t);return e.length?`?${e.join("&")}`:""}(e.queryParams),r="string"==typeof e.fragment?`#${function lse(n){return encodeURI(n)}(e.fragment)}`:"";return`${t}${i}${r}`}}const ase=new Wg;function MC(n){return n.segments.map(e=>Lj(e)).join("/")}function qg(n,e){if(!n.hasChildren())return MC(n);if(e){const t=n.children[xt]?qg(n.children[xt],!1):"",i=[];return Object.entries(n.children).forEach(([r,o])=>{r!==xt&&i.push(`${r}:${qg(o,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}{const t=function sse(n,e){let t=[];return Object.entries(n.children).forEach(([i,r])=>{i===xt&&(t=t.concat(e(r,i)))}),Object.entries(n.children).forEach(([i,r])=>{i!==xt&&(t=t.concat(e(r,i)))}),t}(n,(i,r)=>r===xt?[qg(n.children[xt],!1)]:[`${r}:${qg(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[xt]?`${MC(n)}/${t[0]}`:`${MC(n)}/(${t.join("//")})`}}function Ej(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function DC(n){return Ej(n).replace(/%3B/gi,";")}function yE(n){return Ej(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function SC(n){return decodeURIComponent(n)}function xj(n){return SC(n.replace(/\+/g,"%20"))}function Lj(n){return`${yE(n.path)}${function cse(n){return Object.entries(n).map(([e,t])=>`;${yE(e)}=${yE(t)}`).join("")}(n.parameters)}`}const use=/^[^\/()?;#]+/;function vE(n){const e=n.match(use);return e?e[0]:""}const hse=/^[^\/()?;=#]+/;const pse=/^[^=?&#]+/;const gse=/^[^&#]+/;class yse{url;remaining;constructor(e){this.url=e,this.remaining=e}parseRootSegment(){for(;this.consumeOptional("/"););return""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new jn([],{}):new jn([],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(e=0){if(e>50)throw new ee(4010,!1);if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0,e));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1,e)),(t.length>0||Object.keys(i).length>0)&&(r[xt]=new jn(t,i)),r}parseSegment(){const e=vE(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new ee(4009,!1);return this.capture(e),new $g(SC(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=function fse(n){const e=n.match(hse);return e?e[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const r=vE(this.remaining);r&&(i=r,this.capture(i))}e[SC(t)]=SC(i)}parseQueryParam(e){const t=function mse(n){const e=n.match(pse);return e?e[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const s=function _se(n){const e=n.match(gse);return e?e[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=xj(t),o=xj(i);if(e.hasOwnProperty(r)){let s=e[r];Array.isArray(s)||(s=[s],e[r]=s),s.push(o)}else e[r]=o}parseParens(e,t){const i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=vE(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new ee(4010,!1);let s;r.indexOf(":")>-1?(s=r.slice(0,r.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=xt);const a=this.parseChildren(t+1);i[s??xt]=1===Object.keys(a).length&&a[xt]?a[xt]:new jn([],a),this.consumeOptional("//")}return i}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 ee(4011,!1)}}function Ij(n){return n.segments.length>0?new jn([],{[xt]:n}):n}function Pj(n){const e={};for(const[i,r]of Object.entries(n.children)){const o=Pj(r);if(i===xt&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[i]=o)}return function vse(n){if(1===n.numberOfChildren&&n.children[xt]){const e=n.children[xt];return new jn(n.segments.concat(e.segments),e.children)}return n}(new jn(n.segments,e))}function nu(n){return n instanceof Is}function Aj(n){let e;const i=function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new jn(o.url,s);return o===n&&(e=a),a}(n.root),r=Ij(i);return e??r}function Oj(n,e,t,i,r){let o=n;for(;o.parent;)o=o.parent;if(0===e.length)return bE(o,o,o,t,i,r);const s=function wse(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new Fj(!0,0,n);let e=0,t=!1;const i=n.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?e++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new Fj(t,e,i)}(e);if(s.toRoot())return bE(o,o,new jn([],{}),t,i,r);const a=function Cse(n,e,t){if(n.isAbsolute)return new TC(e,!0,0);if(!t)return new TC(e,!1,NaN);if(null===t.parent)return new TC(t,!0,0);const i=kC(n.commands[0])?0:1,r=t.segments.length-1+i;return function Mse(n,e,t){let i=n,r=e,o=t;for(;o>r;){if(o-=r,i=i.parent,!i)throw new ee(4005,!1);r=i.segments.length}return new TC(i,!1,r-o)}(t,r,n.numberOfDoubleDots)}(s,o,n),l=a.processChildren?Qg(a.segmentGroup,a.index,s.commands):Yj(a.segmentGroup,a.index,s.commands);return bE(o,a.segmentGroup,l,t,i,r)}function kC(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Gg(n){return"object"==typeof n&&null!=n&&n.outlets}function Rj(n,e,t){n||="\u0275";const i=new Is;return i.queryParams={[n]:e},t.parse(t.serialize(i)).queryParams[n]}function bE(n,e,t,i,r,o){const s={};for(const[c,d]of Object.entries(i??{}))s[c]=Array.isArray(d)?d.map(m=>Rj(c,m,o)):Rj(c,d,o);let a;a=n===e?t:Nj(n,e,t);const l=Ij(Pj(a));return new Is(l,s,r)}function Nj(n,e,t){const i={};return Object.entries(n.children).forEach(([r,o])=>{i[r]=o===e?t:Nj(o,e,t)}),new jn(n.segments,i)}class Fj{isAbsolute;numberOfDoubleDots;commands;constructor(e,t,i){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=i,e&&i.length>0&&kC(i[0]))throw new ee(4003,!1);const r=i.find(Gg);if(r&&r!==function ese(n){return n.length>0?n[n.length-1]:null}(i))throw new ee(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class TC{segmentGroup;processChildren;index;constructor(e,t,i){this.segmentGroup=e,this.processChildren=t,this.index=i}}function Yj(n,e,t){if(n??=new jn([],{}),0===n.segments.length&&n.hasChildren())return Qg(n,e,t);const i=function Sse(n,e,t){let i=0,r=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=t.length)return o;const s=n.segments[r],a=t[i];if(Gg(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!Hj(l,c,s))return o;i+=2}else{if(!Hj(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,e,t),r=t.slice(i.commandIndex);if(i.match&&i.pathIndexo!==xt)&&n.children[xt]&&1===n.numberOfChildren&&0===n.children[xt].segments.length){const o=Qg(n.children[xt],e,t);return new jn(n.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(r[o]=Yj(n.children[o],e,s))}),Object.entries(n.children).forEach(([o,s])=>{void 0===i[o]&&(r[o]=s)}),new jn(n.segments,r)}}function wE(n,e,t){const i=n.segments.slice(0,e);let r=0;for(;r{"string"==typeof i&&(i=[i]),null!==i&&(e[t]=wE(new jn([],{}),0,i))}),e}function jj(n){const e={};return Object.entries(n).forEach(([t,i])=>e[t]=`${i}`),e}function Hj(n,e,t){return n==t.path&&ga(e,t.parameters)}const Kg="imperative";var Jt,pr,Zg;!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"}(Jt||(Jt={}));class _a{id;url;constructor(e,t){this.id=e,this.url=t}}class Jg extends _a{type=Jt.NavigationStart;navigationTrigger;restoredState;constructor(e,t,i="imperative",r=null){super(e,t),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Er extends _a{urlAfterRedirects;type=Jt.NavigationEnd;constructor(e,t,i){super(e,t),this.urlAfterRedirects=i}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",n[n.Aborted=4]="Aborted"}(pr||(pr={})),function(n){n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy"}(Zg||(Zg={}));class Ps extends _a{reason;code;type=Jt.NavigationCancel;constructor(e,t,i,r){super(e,t),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}function Vj(n){return n instanceof Ps&&(n.code===pr.Redirect||n.code===pr.SupersededByNewNavigation)}class iu extends _a{reason;code;type=Jt.NavigationSkipped;constructor(e,t,i,r){super(e,t),this.reason=i,this.code=r}}class EC extends _a{error;target;type=Jt.NavigationError;constructor(e,t,i,r){super(e,t),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Bj extends _a{urlAfterRedirects;state;type=Jt.RoutesRecognized;constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tse extends _a{urlAfterRedirects;state;type=Jt.GuardsCheckStart;constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ese extends _a{urlAfterRedirects;state;shouldActivate;type=Jt.GuardsCheckEnd;constructor(e,t,i,r,o){super(e,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class xse extends _a{urlAfterRedirects;state;type=Jt.ResolveStart;constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Lse extends _a{urlAfterRedirects;state;type=Jt.ResolveEnd;constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ise{route;type=Jt.RouteConfigLoadStart;constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Pse{route;type=Jt.RouteConfigLoadEnd;constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ase{snapshot;type=Jt.ChildActivationStart;constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ose{snapshot;type=Jt.ChildActivationEnd;constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Rse{snapshot;type=Jt.ActivationStart;constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Nse{snapshot;type=Jt.ActivationEnd;constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Uj{routerEvent;position;anchor;scrollBehavior;type=Jt.Scroll;constructor(e,t,i,r){this.routerEvent=e,this.position=t,this.anchor=i,this.scrollBehavior=r}toString(){const e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}}class xC{}class CE{}class LC{url;navigationBehaviorOptions;constructor(e,t){this.url=e,this.navigationBehaviorOptions=t}}class Yse{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(e){this.rootInjector=e,this.children=new nl(this.rootInjector)}}class nl{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,t){const i=this.getOrCreateContext(e);i.outlet=t,this.contexts.set(e,i)}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 Yse(this.rootInjector),this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(t){return new(t||nl)(Ce(ri))};static \u0275prov=ue({token:nl,factory:nl.\u0275fac,providedIn:"root"})}class zj{_root;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=ME(e,this._root);return t?t.children.map(i=>i.value):[]}firstChild(e){const t=ME(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=DE(e,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return DE(e,this._root).map(t=>t.value)}}function ME(n,e){if(n===e.value)return e;for(const t of e.children){const i=ME(n,t);if(i)return i}return null}function DE(n,e){if(n===e.value)return[e];for(const t of e.children){const i=DE(n,t);if(i.length)return i.unshift(e),i}return[]}class As{value;children;constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function hf(n){const e={};return n&&n.children.forEach(t=>e[t.value.outlet]=t),e}class $j extends zj{snapshot;constructor(e,t){super(e),this.snapshot=t,TE(this,e)}toString(){return this.snapshot.toString()}}function Wj(n,e){const t=function jse(n,e){const t={},i={},r={},s=new kE([],t,r,"",i,xt,n,null,{},e);return new qj("",new As(s,[]))}(n,e),i=new Ie([new $g("",{})]),r=new Ie({}),o=new Ie({}),s=new Ie({}),a=new Ie(""),l=new ir(i,r,s,a,o,xt,n,t.root);return l.snapshot=t.root,new $j(new As(l,[]),t)}class ir{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(e,t,i,r,o,s,a,l){this.urlSubject=e,this.paramsSubject=t,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(Bn(c=>c[zg]))??Qe(void 0),this.url=e,this.params=t,this.queryParams=i,this.fragment=r,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(Bn(e=>uf(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Bn(e=>uf(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function SE(n,e,t="emptyOnly"){let i;const{routeConfig:r}=n;return i=null===e||"always"!==t&&""!==r?.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,...r?.data,...n._resolvedData}},r&&Qj(r)&&(i.resolve[zg]=r.title),i}class kE{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[zg]}constructor(e,t,i,r,o,s,a,l,c,d){this.url=e,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c,this._environmentInjector=d}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??=uf(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=uf(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class qj extends zj{url;constructor(e,t){super(t),this.url=e,TE(this,t)}toString(){return Gj(this._root)}}function TE(n,e){e.value._routerState=n,e.children.forEach(t=>TE(n,t))}function Gj(n){const e=n.children.length>0?` { ${n.children.map(Gj).join(", ")} } `:"";return`${n.value}${e}`}function EE(n){if(n.snapshot){const e=n.snapshot,t=n._futureSnapshot;n.snapshot=t,ga(e.queryParams,t.queryParams)||n.queryParamsSubject.next(t.queryParams),e.fragment!==t.fragment&&n.fragmentSubject.next(t.fragment),ga(e.params,t.params)||n.paramsSubject.next(t.params),function Xoe(n,e){if(n.length!==e.length)return!1;for(let t=0;tga(t.parameters,e[i].parameters))}(n.url,e.url),i=!n.parent!=!e.parent;return t&&!i&&(!n.parent||xE(n.parent,e.parent))}function Qj(n){return"string"==typeof n.title||null===n.title}const Hse=new _e("");class Co{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=xt;activateEvents=new Se;deactivateEvents=new Se;attachEvents=new Se;detachEvents=new Se;routerOutletData=TZ();parentContexts=$(nl);location=$(Cr);changeDetector=$(la);inputBinder=$(IC,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){const{firstChange:t,previousValue:i}=e.name;if(t)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),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 ee(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ee(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ee(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 ee(4013,!1);this._activatedRoute=e;const i=this.location,o=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,a=new Vse(e,s,i.injector,this.routerOutletData);this.activated=i.createComponent(o,{index:i.length,injector:a,environmentInjector:t}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(t){return new(t||Co)};static \u0275dir=je({type:Co,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ji]})}class Vse{route;childContexts;parent;outletData;constructor(e,t,i,r){this.route=e,this.childContexts=t,this.parent=i,this.outletData=r}get(e,t){return e===ir?this.route:e===nl?this.childContexts:e===Hse?this.outletData:this.parent.get(e,t)}}const IC=new _e("");class ff{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,i=hj([t.queryParams,t.params,t.data]).pipe(to(([r,o,s],a)=>(s={...r,...o,...s},0===a?Qe(s):Promise.resolve(s)))).subscribe(r=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==t||null===t.component)return void this.unsubscribeFromRouteData(e);const o=function IX(n){const e=Vt(n);if(!e)return null;const t=new hm(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:s}of o.inputs)e.activatedComponentRef.setInput(s,r[s]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(t){return new(t||ff)};static \u0275prov=ue({token:ff,factory:ff.\u0275fac})}class Xg{static \u0275fac=function(t){return new(t||Xg)};static \u0275cmp=Fe({type:Xg,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(t,i){1&t&&O(0,"router-outlet")},dependencies:[Co],encapsulation:2})}function LE(n){const e=n.children&&n.children.map(LE),t=e?{...n,children:e}:{...n};return!t.component&&!t.loadComponent&&(e||t.loadChildren)&&t.outlet&&t.outlet!==xt&&(t.component=Xg),t}function e_(n,e,t){if(t&&n.shouldReuseRoute(e.value,t.value.snapshot)){const i=t.value;i._futureSnapshot=e.value;const r=function Use(n,e,t){return e.children.map(i=>{for(const r of t.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return e_(n,i,r);return e_(n,i)})}(n,e,t);return new As(i,r)}{if(n.shouldAttach(e.value)){const o=n.retrieve(e.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>e_(n,a)),s}}const i=function zse(n){return new ir(new Ie(n.url),new Ie(n.params),new Ie(n.queryParams),new Ie(n.fragment),new Ie(n.data),n.outlet,n.component,n)}(e.value),r=e.children.map(o=>e_(n,o));return new As(i,r)}}class IE{redirectTo;navigationBehaviorOptions;constructor(e,t){this.redirectTo=e,this.navigationBehaviorOptions=t}}const Kj="ngNavigationCancelingError";function PC(n,e){const{redirectTo:t,navigationBehaviorOptions:i}=nu(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=Jj(!1,pr.Redirect);return r.url=t,r.navigationBehaviorOptions=i,r}function Jj(n,e){const t=new Error(`NavigationCancelingError: ${n||""}`);return t[Kj]=!0,t.cancellationCode=e,t}function Zj(n){return!!n&&n[Kj]}class Wse{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(e,t,i,r,o){this.routeReuseStrategy=e,this.futureState=t,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(e){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,e),EE(this.futureState.root),this.activateChildRoutes(t,i,e)}deactivateChildRoutes(e,t,i){const r=hf(t);e.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(e,t,i){const r=e.value,o=t?t.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(e,t,s.children)}else this.deactivateChildRoutes(e,t,i);else o&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(e,t){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const i=t.getContext(e.value.outlet),r=i&&e.value.component?i.children:t,o=hf(e);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,t){const i=t.getContext(e.value.outlet),r=i&&e.value.component?i.children:t,o=hf(e);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(e,t,i){const r=hf(t);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new Nse(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Ose(e.value.snapshot))}activateRoutes(e,t,i){const r=e.value,o=t?t.value:null;if(EE(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,s.children)}else this.activateChildRoutes(e,t,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),EE(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,i)}}class Xj{path;route;constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class AC{component;route;constructor(e,t){this.component=e,this.route=t}}function qse(n,e,t){const i=n._root;return t_(i,e?e._root:null,t,[i.value])}function pf(n,e){const t=Symbol(),i=e.get(n,t);return i===t?"function"!=typeof n||function cs(n){return null!==$s(n)}(n)?e.get(n):n:i}function t_(n,e,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=hf(e);return n.children.forEach(s=>{(function Qse(n,e,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,s=e?e.value:null,a=t?t.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function Kse(n,e,t){if("function"==typeof t)return Fi(e._environmentInjector,()=>t(n,e));switch(t){case"pathParamsChange":return!tu(n.url,e.url);case"pathParamsOrQueryParamsChange":return!tu(n.url,e.url)||!ga(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xE(n,e)||!ga(n.queryParams,e.queryParams);default:return!xE(n,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Xj(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?t_(n,e,a?a.children:null,i,r):t_(n,e,t,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new AC(a.outlet.component,s))}else s&&n_(e,a,r),r.canActivateChecks.push(new Xj(i)),o.component?t_(n,null,a?a.children:null,i,r):t_(n,null,t,i,r);return r})(s,o[s.value.outlet],t,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>n_(a,t.getContext(s),r)),r}function n_(n,e,t){const i=hf(n),r=n.value;Object.entries(i).forEach(([o,s])=>{r.component?n_(s,e?e.children.getContext(o):null,t):n_(s,e,t)}),r.component&&e&&e.outlet&&e.outlet.isActivated?t.canDeactivateChecks.push(new AC(e.outlet.component,r)):t.canDeactivateChecks.push(new AC(null,r))}function i_(n){return"function"==typeof n}function eH(n){return n instanceof dE||"EmptyError"===n?.name}const OC=Symbol("INITIAL_VALUE");function mf(){return to(n=>hj(n.map(e=>e.pipe(Zd(1),Yg(OC)))).pipe(Bn(e=>{for(const t of e)if(!0!==t){if(t===OC)return OC;if(!1===t||iae(t))return t}return!0}),Pi(e=>e!==OC),Zd(1)))}function iae(n){return nu(n)||n instanceof IE}function tH(n){return n.aborted?Qe(void 0).pipe(Zd(1)):new Ht(e=>{const t=()=>{e.next(),e.complete()};return n.addEventListener("abort",t),()=>n.removeEventListener("abort",t)})}function nH(n){return ma(tH(n))}function rae(n){return xs(e=>{const{targetSnapshot:t,currentSnapshot:i,guards:{canActivateChecks:r,canDeactivateChecks:o}}=e;return 0===o.length&&0===r.length?Qe({...e,guardsResult:!0}):function oae(n,e,t){return $i(n).pipe(xs(i=>function uae(n,e,t,i){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!r||0===r.length)return Qe(!0);const o=r.map(s=>{const a=e._environmentInjector,l=pf(s,a);return eu(function tae(n){return n&&i_(n.canDeactivate)}(l)?l.canDeactivate(n,e,t,i):Fi(a,()=>l(n,e,t,i))).pipe(Xd())});return Qe(o).pipe(mf())}(i.component,i.route,t,e)),Xd(i=>!0!==i,!0))}(o,t,i).pipe(xs(s=>s&&function Jse(n){return"boolean"==typeof n}(s)?function sae(n,e,t){return $i(e).pipe(hC(i=>uE(function lae(n,e){return null!==n&&e&&e(new Ase(n)),Qe(!0)}(i.route.parent,t),function aae(n,e){return null!==n&&e&&e(new Rse(n)),Qe(!0)}(i.route,t),function dae(n,e){const t=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(o=>function Gse(n){const e=n.routeConfig?n.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:n,guards:e}:null}(o)).filter(o=>null!==o).map(o=>hE(()=>Qe(o.guards.map(a=>{const l=o.node._environmentInjector,c=pf(a,l);return eu(function eae(n){return n&&i_(n.canActivateChild)}(c)?c.canActivateChild(t,n):Fi(l,()=>c(t,n))).pipe(Xd())})).pipe(mf())));return Qe(r).pipe(mf())}(n,i.path),function cae(n,e){const t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||0===t.length)return Qe(!0);const i=t.map(r=>hE(()=>{const o=e._environmentInjector,s=pf(r,o);return eu(function Xse(n){return n&&i_(n.canActivate)}(s)?s.canActivate(e,n):Fi(o,()=>s(e,n))).pipe(Xd())}));return Qe(i).pipe(mf())}(n,i.route))),Xd(i=>!0!==i,!0))}(t,r,n):Qe(s)),Bn(s=>({...e,guardsResult:s})))})}function hae(n,e,t,i,r){const o=e.canLoad;if(void 0===o||0===o.length)return Qe(!0);return Qe(o.map(a=>{const l=pf(a,n),d=eu(function Zse(n){return n&&i_(n.canLoad)}(l)?l.canLoad(e,t):Fi(n,()=>l(e,t)));return r?d.pipe(nH(r)):d})).pipe(mf(),iH(i))}function iH(n){return function Lo(...n){return Io(n)}(Mi(e=>{if("boolean"!=typeof e)throw PC(0,e)}),Bn(e=>!0===e))}function fae(n,e,t,i,r,o){const s=e.canMatch;if(!s||0===s.length)return Qe(!0);return Qe(s.map(l=>{const c=pf(l,n);return eu(function nae(n){return n&&i_(n.canMatch)}(c)?c.canMatch(e,t,r):Fi(n,()=>c(e,t,r))).pipe(nH(o))})).pipe(mf(),iH())}class il extends Error{segmentGroup;constructor(e){super(),this.segmentGroup=e||null,Object.setPrototypeOf(this,il.prototype)}}class r_ extends Error{urlTree;constructor(e){super(),this.urlTree=e,Object.setPrototypeOf(this,r_.prototype)}}function pae(n){throw new ee(4e3,!1)}class gae{urlSerializer;urlTree;constructor(e,t){this.urlSerializer=e,this.urlTree=t}lineralizeSegments(e,t){return Wt(function*(){let i=[],r=t.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return i;if(r.numberOfChildren>1||!r.children[xt])throw pae(e.redirectTo);r=r.children[xt]}})()}applyRedirectCommands(e,t,i,r,o){var s=this;return Wt(function*(){const a=yield function _ae(n,e,t){if("string"==typeof n)return Promise.resolve(n);const i=n;return bC(eu(Fi(t,()=>i(e))))}(t,r,o);if(a instanceof Is)throw new r_(a);const l=s.applyRedirectCreateUrlTree(a,s.urlSerializer.parse(a),e,i);if("/"===a[0])throw new r_(l);return l})()}applyRedirectCreateUrlTree(e,t,i,r){const o=this.createSegmentGroup(e,t.root,i,r);return new Is(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const i={};return Object.entries(e).forEach(([r,o])=>{if("string"==typeof o&&":"===o[0]){const a=o.substring(1);i[r]=t[a]}else i[r]=o}),i}createSegmentGroup(e,t,i,r){const o=this.createSegments(e,t.segments,i,r);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,i,r)}),new jn(o,s)}createSegments(e,t,i,r){return t.map(o=>":"===o.path[0]?this.findPosParam(e,o,r):this.findOrReturn(o,i))}findPosParam(e,t,i){const r=i[t.path.substring(1)];if(!r)throw new ee(4001,!1);return r}findOrReturn(e,t){let i=0;for(const r of t){if(r.path===e.path)return t.splice(i),r;i++}return e}}function Os(n){return n.outlet||xt}function Cae(n,e){const t=n.filter(i=>Os(i)===e);return t.push(...n.filter(i=>Os(i)!==e)),t}const PE={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function rH(n){return{routeConfig:n.routeConfig,url:n.url,params:n.params,queryParams:n.queryParams,fragment:n.fragment,data:n.data,outlet:n.outlet,title:n.title,paramMap:n.paramMap,queryParamMap:n.queryParamMap}}function Mae(n,e,t,i,r,o,s){const a=oH(n,e,t);if(!a.matched)return Qe(a);const l=rH(o(a));return i=function yae(n,e){return n.providers&&!n._injector&&(n._injector=gb(n.providers,e,`Route: ${n.path}`)),n._injector??e}(e,i),fae(i,e,t,0,l,s).pipe(Bn(c=>!0===c?a:{...PE}))}function oH(n,e,t){if(""===e.path)return"full"===e.pathMatch&&(n.hasChildren()||t.length>0)?{...PE}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(e.matcher||Zoe)(t,n,e);if(!r)return{...PE};const o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:t.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function sH(n,e,t,i,r){return t.length>0&&function kae(n,e,t,i){return t.some(r=>!(!RC(n,e,r)||Os(r)===xt)&&!(void 0!==i&&Os(r)===i))}(n,t,i,r)?{segmentGroup:new jn(e,Sae(i,new jn(t,n.children))),slicedSegments:[]}:0===t.length&&function Tae(n,e,t){return t.some(i=>RC(n,e,i))}(n,t,i)?{segmentGroup:new jn(n.segments,Dae(n,t,i,n.children)),slicedSegments:t}:{segmentGroup:new jn(n.segments,n.children),slicedSegments:t}}function Dae(n,e,t,i){const r={};for(const o of t)if(RC(n,e,o)&&!i[Os(o)]){const s=new jn([],{});r[Os(o)]=s}return{...i,...r}}function Sae(n,e){const t={};t[xt]=e;for(const i of n)if(""===i.path&&Os(i)!==xt){const r=new jn([],{});t[Os(i)]=r}return t}function RC(n,e,t){return(!(n.hasChildren()||e.length>0)||"full"!==t.pathMatch)&&""===t.path}class xae{}function AE(){return AE=Wt(function*(n,e,t,i,r,o,s="emptyOnly",a){return new Pae(n,e,t,i,r,s,o,a).recognize()}),AE.apply(this,arguments)}class Pae{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(e,t,i,r,o,s,a,l){this.injector=e,this.configLoader=t,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=l,this.applyRedirects=new gae(this.urlSerializer,this.urlTree)}noMatchError(e){return new ee(4002,`'${e.segmentGroup}'`)}recognize(){var e=this;return Wt(function*(){const t=sH(e.urlTree.root,[],[],e.config).segmentGroup,{children:i,rootSnapshot:r}=yield e.match(t),o=new As(r,i),s=new qj("",o),a=function bse(n,e,t=null,i=null,r=new Wg){return Oj(Aj(n),e,t,i,r)}(r,[],e.urlTree.queryParams,e.urlTree.fragment);return a.queryParams=e.urlTree.queryParams,s.url=e.urlSerializer.serialize(a),{state:s,tree:a}})()}match(e){var t=this;return Wt(function*(){const i=new kE([],Object.freeze({}),Object.freeze({...t.urlTree.queryParams}),t.urlTree.fragment,Object.freeze({}),xt,t.rootComponentType,null,{},t.injector);try{return{children:yield t.processSegmentGroup(t.injector,t.config,e,xt,i),rootSnapshot:i}}catch(r){if(r instanceof r_)return t.urlTree=r.urlTree,t.match(r.urlTree.root);throw r instanceof il?t.noMatchError(r):r}})()}processSegmentGroup(e,t,i,r,o){var s=this;return Wt(function*(){if(0===i.segments.length&&i.hasChildren())return s.processChildren(e,t,i,o);const a=yield s.processSegment(e,t,i,i.segments,r,!0,o);return a instanceof As?[a]:[]})()}processChildren(e,t,i,r){var o=this;return Wt(function*(){const s=[];for(const c of Object.keys(i.children))"primary"===c?s.unshift(c):s.push(c);let a=[];for(const c of s){const d=i.children[c],m=Cae(t,c),b=yield o.processSegmentGroup(e,m,d,c,r);a.push(...b)}const l=aH(a);return function Aae(n){n.sort((e,t)=>e.value.outlet===xt?-1:t.value.outlet===xt?1:e.value.outlet.localeCompare(t.value.outlet))}(l),l})()}processSegment(e,t,i,r,o,s,a){var l=this;return Wt(function*(){for(const c of t)try{return yield l.processSegmentAgainstRoute(c._injector??e,t,c,i,r,o,s,a)}catch(d){if(d instanceof il||eH(d))continue;throw d}if(function Eae(n,e,t){return 0===e.length&&!n.children[t]}(i,r,o))return new xae;throw new il(i)})()}processSegmentAgainstRoute(e,t,i,r,o,s,a,l){var c=this;return Wt(function*(){if(Os(i)!==s&&(s===xt||!RC(r,o,i)))throw new il(r);if(void 0===i.redirectTo)return c.matchSegmentAgainstRoute(e,r,i,o,s,l);if(c.allowRedirects&&a)return c.expandSegmentAgainstRouteUsingRedirect(e,r,t,i,o,s,l);throw new il(r)})()}expandSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s,a){var l=this;return Wt(function*(){const{matched:c,parameters:d,consumedSegments:m,positionalParamSegments:b,remainingSegments:S}=oH(t,r,o);if(!c)throw new il(t);"string"==typeof r.redirectTo&&"/"===r.redirectTo[0]&&(l.absoluteRedirectCount++,l.absoluteRedirectCount>31&&(l.allowRedirects=!1));const T=l.createSnapshot(e,r,o,d,a);if(l.abortSignal.aborted)throw new Error(l.abortSignal.reason);const I=yield l.applyRedirects.applyRedirectCommands(m,r.redirectTo,b,rH(T),e),R=yield l.applyRedirects.lineralizeSegments(r,I);return l.processSegment(e,i,t,R.concat(S),s,!1,a)})()}createSnapshot(e,t,i,r,o){const s=new kE(i,r,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Rae(n){return n.data||{}}(t),Os(t),t.component??t._loadedComponent??null,t,function Nae(n){return n.resolve||{}}(t),e),a=SE(s,o,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}matchSegmentAgainstRoute(e,t,i,r,o,s){var a=this;return Wt(function*(){if(a.abortSignal.aborted)throw new Error(a.abortSignal.reason);const c=yield bC(Mae(t,i,r,e,a.urlSerializer,se=>a.createSnapshot(e,i,se.consumedSegments,se.parameters,s),a.abortSignal));if("**"===i.path&&(t.children={}),!c?.matched)throw new il(t);e=i._injector??e;const{routes:d}=yield a.getChildConfig(e,i,r),m=i._loadedInjector??e,{parameters:b,consumedSegments:S,remainingSegments:T}=c,I=a.createSnapshot(e,i,S,b,s),{segmentGroup:R,slicedSegments:H}=sH(t,S,T,d,o);if(0===H.length&&R.hasChildren()){const se=yield a.processChildren(m,d,R,I);return new As(I,se)}if(0===d.length&&0===H.length)return new As(I,[]);const j=Os(i)===o,re=yield a.processSegment(m,d,R,H,j?xt:o,!0,I);return new As(I,re instanceof As?[re]:[])})()}getChildConfig(e,t,i){var r=this;return Wt(function*(){if(t.children)return{routes:t.children,injector:e};if(t.loadChildren){if(void 0!==t._loadedRoutes){const s=t._loadedNgModuleFactory;return s&&!t._loadedInjector&&(t._loadedInjector=s.create(e).injector),{routes:t._loadedRoutes,injector:t._loadedInjector}}if(r.abortSignal.aborted)throw new Error(r.abortSignal.reason);if(yield bC(hae(e,t,i,r.urlSerializer,r.abortSignal))){const s=yield r.configLoader.loadChildren(e,t);return t._loadedRoutes=s.routes,t._loadedInjector=s.injector,t._loadedNgModuleFactory=s.factory,s}throw function mae(n){throw Jj(!1,pr.GuardRejected)}()}return{routes:[],injector:e}})()}}function Oae(n){const e=n.value.routeConfig;return e&&""===e.path}function aH(n){const e=[],t=new Set;for(const i of n){if(!Oae(i)){e.push(i);continue}const r=e.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),t.add(r)):e.push(i)}for(const i of t){const r=aH(i.children);e.push(new As(i.value,r))}return e.filter(i=>!t.has(i))}function Fae(n,e,t,i,r,o,s){return xs(function(){var a=Wt(function*(l){const{state:c,tree:d}=yield function Lae(n,e,t,i,r,o){return AE.apply(this,arguments)}(n,e,t,i,l.extractedUrl,r,o,s);return{...l,targetSnapshot:c,urlAfterRedirects:d}});return function(l){return a.apply(this,arguments)}}())}function Yae(n){return xs(e=>{const{targetSnapshot:t,guards:{canActivateChecks:i}}=e;if(!i.length)return Qe(e);const r=new Set(i.map(a=>a.route)),o=new Set;for(const a of r)if(!o.has(a))for(const l of lH(a))o.add(l);let s=0;return $i(o).pipe(hC(a=>r.has(a)?function jae(n,e,t){const i=n.routeConfig,r=n._resolve;return void 0!==i?.title&&!Qj(i)&&(r[zg]=i.title),hE(()=>(n.data=SE(n,n.parent,t).resolve,function Hae(n,e,t){const i=gE(n);if(0===i.length)return Qe({});const r={};return $i(i).pipe(xs(o=>function Vae(n,e,t){const i=e._environmentInjector,r=pf(n,i),o=r.resolve?r.resolve(e,t):Fi(i,()=>r(e,t));return eu(o)}(n[o],e,t).pipe(Xd(),Mi(s=>{if(s instanceof IE)throw PC(new Wg,s);r[o]=s}))),pj(1),Bn(()=>r),io(o=>eH(o)?Ko:Fg(o)))}(r,n,e).pipe(Bn(o=>(n._resolvedData=o,n.data={...n.data,...o},null)))))}(a,t,n):(a.data=SE(a,a.parent,n).resolve,Qe(void 0))),Mi(()=>s++),pj(1),xs(a=>s===o.size?Qe(e):Ko))})}function lH(n){const e=n.children.map(t=>lH(t)).flat();return[n,...e]}function cH(n){return to(e=>{const t=n(e);return t?$i(t).pipe(Bn(()=>e)):Qe(e)})}class o_{buildTitle(e){let t,i=e.root;for(;void 0!==i;)t=this.getResolvedTitleForRoute(i)??t,i=i.children.find(r=>r.outlet===xt);return t}getResolvedTitleForRoute(e){return e.data[zg]}static \u0275fac=function(t){return new(t||o_)};static \u0275prov=ue({token:o_,factory:()=>$(s_),providedIn:"root"})}class s_ extends o_{title;constructor(e){super(),this.title=e}updateTitle(e){const t=this.buildTitle(e);void 0!==t&&this.title.setTitle(t)}static \u0275fac=function(t){return new(t||s_)(Ce(jg))};static \u0275prov=ue({token:s_,factory:s_.\u0275fac,providedIn:"root"})}const gf=new _e("",{factory:()=>({})}),NC=new _e("");class ru{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=$(Pm);loadComponent(e,t){var i=this;return Wt(function*(){if(i.componentLoaders.get(t))return i.componentLoaders.get(t);if(t._loadedComponent)return Promise.resolve(t._loadedComponent);i.onLoadStartListener&&i.onLoadStartListener(t);const r=Wt(function*(){try{const o=yield Cj(Fi(e,()=>t.loadComponent())),s=yield uH(dH(o));return i.onLoadEndListener&&i.onLoadEndListener(t),t._loadedComponent=s,s}finally{i.componentLoaders.delete(t)}})();return i.componentLoaders.set(t,r),r})()}loadChildren(e,t){var i=this;if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return Promise.resolve({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);const r=Wt(function*(){try{const o=yield function Bae(n,e,t,i){return OE.apply(this,arguments)}(t,i.compiler,e,i.onLoadEndListener);return t._loadedRoutes=o.routes,t._loadedInjector=o.injector,t._loadedNgModuleFactory=o.factory,o}finally{i.childrenLoaders.delete(t)}})();return this.childrenLoaders.set(t,r),r}static \u0275fac=function(t){return new(t||ru)};static \u0275prov=ue({token:ru,factory:ru.\u0275fac,providedIn:"root"})}function OE(){return OE=Wt(function*(n,e,t,i){const r=yield Cj(Fi(t,()=>n.loadChildren())),o=yield uH(dH(r));let s;s=o instanceof XA||Array.isArray(o)?o:yield e.compileModuleAsync(o),i&&i(n);let a,l,d,c=!1;return Array.isArray(s)?(l=s,!0):(a=s.create(t).injector,d=s,l=a.get(NC,[],{optional:!0,self:!0}).flat()),{routes:l.map(LE),injector:a,factory:d}}),OE.apply(this,arguments)}function dH(n){return function Uae(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}function uH(n){return RE.apply(this,arguments)}function RE(){return RE=Wt(function*(n){return n}),RE.apply(this,arguments)}class _f{static \u0275fac=function(t){return new(t||_f)};static \u0275prov=ue({token:_f,factory:()=>$(a_),providedIn:"root"})}class a_{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}static \u0275fac=function(t){return new(t||a_)};static \u0275prov=ue({token:a_,factory:a_.\u0275fac,providedIn:"root"})}const hH=new _e(""),fH=new _e("");function zae(n,e,t){const i=n.get(fH),r=n.get(_n);if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o;const s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),function $ae(n){return new Promise(e=>{sd({read:()=>setTimeout(e)},{injector:n})})}(n)));a.updateCallbackDone.catch(c=>{}),a.ready.catch(c=>{}),a.finished.catch(c=>{});const{onViewTransitionCreated:l}=i;return l&&Fi(n,()=>l({transition:a,from:e,to:t})),s}const Wae=()=>{},pH=new _e("");class ou{currentNavigation=yn(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=yn(null);events=new Ze;transitionAbortWithErrorSubject=new Ze;configLoader=$(ru);environmentInjector=$(ri);destroyRef=$(br);urlSerializer=$(tl);rootContexts=$(nl);location=$(aa);inputBindingEnabled=null!==$(IC,{optional:!0});titleStrategy=$(o_);options=$(gf,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=$(_f);createViewTransition=$(hH,{optional:!0});navigationErrorHandler=$(pH,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>Qe(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=i=>this.events.next(new Pse(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new Ise(i)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){const t=++this.navigationId;jt(()=>{this.transitions?.next({...e,extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:t,routesRecognizeHandler:{},beforeActivateHandler:{}})})}setupNavigations(e){return this.transitions=new Ie(null),this.transitions.pipe(Pi(t=>null!==t),to(t=>{let i=!1;const r=new AbortController,o=()=>!i&&this.currentTransition?.id===t.id;return Qe(t).pipe(to(s=>{if(this.navigationId>t.id)return this.cancelNavigationTransition(t,"",pr.SupersededByNewNavigation),Ko;this.currentTransition=t;const a=this.lastSuccessfulNavigation();this.currentNavigation.set({id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:"string"==typeof s.extras.browserUrl?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:a?{...a,previousNavigation:null}:null,abort:()=>r.abort(),routesRecognizeHandler:s.routesRecognizeHandler,beforeActivateHandler:s.beforeActivateHandler});const l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),c=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&"reload"!==c)return this.events.next(new iu(s.id,this.urlSerializer.serialize(s.rawUrl),"",Zg.IgnoredSameUrlNavigation)),s.resolve(!1),Ko;if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return Qe(s).pipe(to(d=>(this.events.next(new Jg(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?Ko:Promise.resolve(d))),Fae(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,r.signal),Mi(d=>{t.targetSnapshot=d.targetSnapshot,t.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(m=>(m.finalUrl=d.urlAfterRedirects,m)),this.events.next(new CE)}),to(d=>$i(t.routesRecognizeHandler.deferredHandle??Qe(void 0)).pipe(Bn(()=>d))),Mi(()=>{const d=new Bj(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(d)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){const{id:d,extractedUrl:m,source:b,restoredState:S,extras:T}=s,I=new Jg(d,this.urlSerializer.serialize(m),b,S);this.events.next(I);const R=Wj(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=t={...s,targetSnapshot:R,urlAfterRedirects:m,extras:{...T,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(H=>(H.finalUrl=m,H)),Qe(t)}return this.events.next(new iu(s.id,this.urlSerializer.serialize(s.extractedUrl),"",Zg.IgnoredByUrlHandlingStrategy)),s.resolve(!1),Ko}),Bn(s=>{const a=new Tse(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);return this.events.next(a),this.currentTransition=t={...s,guards:qse(s.targetSnapshot,s.currentSnapshot,this.rootContexts)},t}),rae(s=>this.events.next(s)),to(s=>{if(t.guardsResult=s.guardsResult,s.guardsResult&&"boolean"!=typeof s.guardsResult)throw PC(this.urlSerializer,s.guardsResult);const a=new Ese(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);if(this.events.next(a),!o())return Ko;if(!s.guardsResult)return this.cancelNavigationTransition(s,"",pr.GuardRejected),Ko;if(0===s.guards.canActivateChecks.length)return Qe(s);const l=new xse(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);if(this.events.next(l),!o())return Ko;let c=!1;return Qe(s).pipe(Yae(this.paramsInheritanceStrategy),Mi({next:()=>{c=!0;const d=new Lse(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(d)},complete:()=>{c||this.cancelNavigationTransition(s,"",pr.NoDataFromResolver)}}))}),cH(s=>{const a=c=>{const d=[];if(c.routeConfig?._loadedComponent)c.component=c.routeConfig?._loadedComponent;else if(c.routeConfig?.loadComponent){const m=c._environmentInjector;d.push(this.configLoader.loadComponent(m,c.routeConfig).then(b=>{c.component=b}))}for(const m of c.children)d.push(...a(m));return d},l=a(s.targetSnapshot.root);return 0===l.length?Qe(s):$i(Promise.all(l).then(()=>s))}),cH(()=>this.afterPreactivation()),to(()=>{const{currentSnapshot:s,targetSnapshot:a}=t,l=this.createViewTransition?.(this.environmentInjector,s.root,a.root);return l?$i(l).pipe(Bn(()=>t)):Qe(t)}),Zd(1),to(s=>{const a=function Bse(n,e,t){const i=e_(n,e._root,t?t._root:void 0);return new $j(i,e)}(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);this.currentTransition=t=s={...s,targetRouterState:a},this.currentNavigation.update(c=>(c.targetRouterState=a,c)),this.events.next(new xC);const l=t.beforeActivateHandler.deferredHandle;return l?$i(l.then(()=>s)):Qe(s)}),Mi(s=>{new Wse(e.routeReuseStrategy,t.targetRouterState,t.currentRouterState,a=>this.events.next(a),this.inputBindingEnabled).activate(this.rootContexts),o()&&(i=!0,this.currentNavigation.update(a=>(a.abort=Wae,a)),this.lastSuccessfulNavigation.set(jt(this.currentNavigation)),this.events.next(new Er(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0))}),ma(tH(r.signal).pipe(Pi(()=>!i&&!t.targetRouterState),Mi(()=>{this.cancelNavigationTransition(t,r.signal.reason+"",pr.Aborted)}))),Mi({complete:()=>{i=!0}}),ma(this.transitionAbortWithErrorSubject.pipe(Mi(s=>{throw s}))),tE(()=>{r.abort(),i||this.cancelNavigationTransition(t,"",pr.SupersededByNewNavigation),this.currentTransition?.id===t.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),io(s=>{if(i=!0,this.destroyed)return t.resolve(!1),Ko;if(Zj(s))this.events.next(new Ps(t.id,this.urlSerializer.serialize(t.extractedUrl),s.message,s.cancellationCode)),function $se(n){return Zj(n)&&nu(n.url)}(s)?this.events.next(new LC(s.url,s.navigationBehaviorOptions)):t.resolve(!1);else{const a=new EC(t.id,this.urlSerializer.serialize(t.extractedUrl),s,t.targetSnapshot??void 0);try{const l=Fi(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(!(l instanceof IE))throw this.events.next(a),s;{const{message:c,cancellationCode:d}=PC(this.urlSerializer,l);this.events.next(new Ps(t.id,this.urlSerializer.serialize(t.extractedUrl),c,d)),this.events.next(new LC(l.redirectTo,l.navigationBehaviorOptions))}}catch(l){this.options.resolveNavigationPromiseOnError?t.resolve(!1):t.reject(l)}}return Ko}))}))}cancelNavigationTransition(e,t,i){const r=new Ps(e.id,this.urlSerializer.serialize(e.extractedUrl),t,i);this.events.next(r),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=jt(this.currentNavigation),i=t?.targetBrowserUrl??t?.extractedUrl;return e.toString()!==i?.toString()&&!t?.extras.skipLocationChange}static \u0275fac=function(t){return new(t||ou)};static \u0275prov=ue({token:ou,factory:ou.\u0275fac,providedIn:"root"})}function qae(n){return n!==Kg}const Gae=new _e("");class FC{static \u0275fac=function(t){return new(t||FC)};static \u0275prov=ue({token:FC,factory:()=>$(yf),providedIn:"root"})}class Qae{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}shouldDestroyInjector(e){return!0}}class yf extends Qae{static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(yf)))(i||yf)}})();static \u0275prov=ue({token:yf,factory:yf.\u0275fac,providedIn:"root"})}class su{urlSerializer=$(tl);options=$(gf,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=$(aa);urlHandlingStrategy=$(_f);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Is;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:t,targetBrowserUrl:i}){const r=void 0!==e?this.urlHandlingStrategy.merge(e,t):t,o=i??r;return o instanceof Is?this.urlSerializer.serialize(o):o}routerUrlState(e){return void 0===e?.targetBrowserUrl||void 0===e?.finalUrl?{}:{\u0275routerUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:t,initialUrl:i}){t&&e?(this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(t,i),this.routerState=e):this.rawUrlTree=i}routerState=Wj(null,$(ri));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(t){return new(t||su)};static \u0275prov=ue({token:su,factory:()=>$(vf),providedIn:"root"})}class vf extends su{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(t=>{"popstate"===t.type&&setTimeout(()=>{e(t.url,t.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(e,t){e instanceof Jg?this.updateStateMemento():e instanceof iu?this.commitTransition(t):e instanceof Bj?"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof xC?(this.commitTransition(t),"deferred"===this.urlUpdateStrategy&&!t.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof Ps&&!Vj(e)?this.restoreHistory(t):e instanceof EC?this.restoreHistory(t,!0):e instanceof Er&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,t){const{extras:i,id:r}=t,{replaceUrl:o,state:s}=i;if(this.location.isCurrentPathEqualTo(e)||o){const a=this.browserPageId,l={...s,...this.generateNgRouterState(r,a,t)};this.location.replaceState(e,"",l)}else{const a={...s,...this.generateNgRouterState(r,this.browserPageId+1,t)};this.location.go(e,"",a)}}restoreHistory(e,t=!1){if("computed"===this.canceledNavigationResolution){const i=this.browserPageId,r=this.currentPageId-i;0!==r?this.location.historyGo(r):this.getCurrentUrlTree()===e.finalUrl&&0===r&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(t&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,t,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:t,...this.routerUrlState(i)}:{navigationId:e,...this.routerUrlState(i)}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=hi(vf)))(i||vf)}})();static \u0275prov=ue({token:vf,factory:vf.\u0275fac,providedIn:"root"})}function gH(n,e){n.events.pipe(Pi(t=>t instanceof Er||t instanceof Ps||t instanceof EC||t instanceof iu),Bn(t=>t instanceof Er||t instanceof iu?0:t instanceof Ps&&(t.code===pr.Redirect||t.code===pr.SupersededByNewNavigation)?2:1),Pi(t=>2!==t),Zd(1)).subscribe(()=>{e()})}class St{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=$(vh);stateManager=$(su);options=$(gf,{optional:!0})||{};pendingTasks=$(ws);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=$(ou);urlSerializer=$(tl);location=$(aa);urlHandlingStrategy=$(_f);injector=$(ri);_events=new Ze;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=$(FC);injectorCleanup=$(Gae,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=$(NC,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!$(IC,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Lt;subscribeToNavigationEvents(){const e=this.navigationTransitions.events.subscribe(t=>{try{const i=this.navigationTransitions.currentTransition,r=jt(this.navigationTransitions.currentNavigation);if(null!==i&&null!==r)if(this.stateManager.handleRouterEvent(t,r),t instanceof Ps&&t.code!==pr.Redirect&&t.code!==pr.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof Er)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(t instanceof LC){const o=t.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(t.url,i.currentRawUrl),a={scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||"eager"===this.urlUpdateStrategy||qae(i.source),...o};this.scheduleNavigation(s,Kg,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}(function Fse(n){return!(n instanceof xC||n instanceof LC||n instanceof CE)})(t)&&this._events.next(t)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});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),Kg,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,t,i,r)=>{this.navigateToSyncWithBrowser(e,i,t,r)})}navigateToSyncWithBrowser(e,t,i,r){const o=i?.navigationId?i:null,s=i?.\u0275routerUrl??e;if(i?.\u0275routerUrl&&(r={...r,browserUrl:e}),i){const l={...i};delete l.navigationId,delete l.\u0275routerPageId,delete l.\u0275routerUrl,0!==Object.keys(l).length&&(r.state=l)}const a=this.parseUrl(s);this.scheduleNavigation(a,t,o,r).catch(l=>{this.disposed||this.injector.get(Xs)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return jt(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(LE),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,t={}){const{relativeTo:i,queryParams:r,fragment:o,queryParamsHandling:s,preserveFragment:a}=t,l=a?this.currentUrlTree.fragment:o;let d,c=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":c={...this.currentUrlTree.queryParams,...r};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}null!==c&&(c=this.removeEmptyProps(c));try{d=Aj(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||"/"!==e[0][0])&&(e=[]),d=this.currentUrlTree.root}return Oj(d,e,c,l??null,this.urlSerializer)}navigateByUrl(e,t={skipLocationChange:!1}){const i=nu(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(r,Kg,null,t)}navigate(e,t={skipLocationChange:!1}){return function Kae(n){for(let e=0;e(null!=r&&(t[i]=r),t),{})}scheduleNavigation(e,t,i,r,o){if(this.disposed)return Promise.resolve(!1);let s,a,l;o?(s=o.resolve,a=o.reject,l=o.promise):l=new Promise((d,m)=>{s=d,a=m});const c=this.pendingTasks.add();return gH(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(c))}),this.navigationTransitions.handleNavigationRequest({source:t,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:s,reject:a,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(Promise.reject.bind(Promise))}static \u0275fac=function(t){return new(t||St)};static \u0275prov=ue({token:St,factory:St.\u0275fac,providedIn:"root"})}class l_{router=$(St);stateManager=$(su);fragment=yn("");queryParams=yn({});path=yn("");serializer=$(tl);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof Er&&this.updateState()})}updateState(){const{fragment:e,root:t,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new Is(t)))}static \u0275fac=function(t){return new(t||l_)};static \u0275prov=ue({token:l_,factory:l_.\u0275fac,providedIn:"root"})}class Mo{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=$(new SZ("href"),{optional:!0});reactiveHref=_k(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return jt(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return jt(this._target)}_target=yn(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return jt(this._queryParams)}_queryParams=yn(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return jt(this._fragment)}_fragment=yn(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return jt(this._queryParamsHandling)}_queryParamsHandling=yn(void 0);set state(e){this._state.set(e)}get state(){return jt(this._state)}_state=yn(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return jt(this._info)}_info=yn(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return jt(this._relativeTo)}_relativeTo=yn(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return jt(this._preserveFragment)}_preserveFragment=yn(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return jt(this._skipLocationChange)}_skipLocationChange=yn(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return jt(this._replaceUrl)}_replaceUrl=yn(!1);isAnchorElement;onChanges=new Ze;applicationErrorHandler=$(Xs);options=$(gf,{optional:!0});reactiveRouterState=$(l_);constructor(e,t,i,r,o,s){this.router=e,this.route=t,this.tabIndexAttribute=i,this.renderer=r,this.el=o,this.locationStrategy=s;const a=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===a||"area"===a||!("object"!=typeof customElements||!customElements.get(a)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=yn(null);set routerLink(e){null==e?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(nu(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,t,i,r,o){const s=this._urlTree();if(null===s||this.isAnchorElement&&(0!==e||t||i||r||o||"string"==typeof this.target&&"_self"!=this.target))return!0;const a={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,a)?.catch(l=>{this.applicationErrorHandler(l)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,t){const i=this.renderer,r=this.el.nativeElement;null!==t?i.setAttribute(r,e,t):i.removeAttribute(r,e)}_urlTree=Jr(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();const e=i=>"preserve"===i||"merge"===i;(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();const t=this.routerLinkInput();return null!==t&&this.router.createUrlTree?nu(t)?t:this.router.createUrlTree(t,{relativeTo:void 0!==this._relativeTo()?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()}):null},{equal:(e,t)=>this.computeHref(e)===this.computeHref(t)});get urlTree(){return jt(this._urlTree)}computeHref(e){return null!==e&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(t){return new(t||Mo)(G(St),G(ir),jp("tabindex"),G(ur),G(On),G(Ss))};static \u0275dir=je({type:Mo,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(t,i){1&t&&W("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&t&&Zn("href",i.reactiveHref(),JP)("target",i._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",zi],skipLocationChange:[2,"skipLocationChange","skipLocationChange",zi],replaceUrl:[2,"replaceUrl","replaceUrl",zi],routerLink:"routerLink"},features:[ji]})}class c_{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new Se;link=$(Mo,{optional:!0});constructor(e,t,i,r){this.router=e,this.element=t,this.renderer=i,this.cdr=r,this.routerEventsSubscription=e.events.subscribe(o=>{o instanceof Er&&this.update()})}ngAfterContentInit(){Qe(this.links.changes,Qe(null)).pipe(cf()).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=$i(e).pipe(cf()).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(i=>!!i)}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 cle(n){const e=n;return!!(e.paths||e.matrixParams||e.queryParams||e.fragment)}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact?{...Dj}:{...wC};return i=>{const r=i.urlTree;return!!r&&jt(function nse(n,e,t){const i=n instanceof Is?n:e.parseUrl(n);return Jr(()=>_E(e.lastSuccessfulNavigation()?.finalUrl??new Is,i,{...wC,...t}))}(r,e,t))}}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(t){return new(t||c_)(G(St),G(On),G(ur),G(la))};static \u0275dir=je({type:c_,selectors:[["","routerLinkActive",""]],contentQueries:function(t,i,r){if(1&t&&Zl(r,Mo,5),2&t){let o;Ee(o=xe())&&(i.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[ji]})}class vH{}class YC{preload(e,t){return t().pipe(io(()=>Qe(null)))}static \u0275fac=function(t){return new(t||YC)};static \u0275prov=ue({token:YC,factory:YC.\u0275fac,providedIn:"root"})}class jC{preload(e,t){return Qe(null)}static \u0275fac=function(t){return new(t||jC)};static \u0275prov=ue({token:jC,factory:jC.\u0275fac,providedIn:"root"})}class d_{router;injector;preloadingStrategy;loader;subscription;constructor(e,t,i,r){this.router=e,this.injector=t,this.preloadingStrategy=i,this.loader=r}setUpPreloading(){this.subscription=this.router.events.pipe(Pi(e=>e instanceof Er),hC(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,t){const i=[];for(const r of t){r.providers&&!r._injector&&(r._injector=gb(r.providers,e,""));const o=r._injector??e;r._loadedNgModuleFactory&&!r._loadedInjector&&(r._loadedInjector=r._loadedNgModuleFactory.create(o).injector);const s=r._loadedInjector??o;(r.loadChildren&&!r._loadedRoutes&&void 0===r.canLoad||r.loadComponent&&!r._loadedComponent)&&i.push(this.preloadConfig(o,r)),(r.children||r._loadedRoutes)&&i.push(this.processRoutes(s,r.children??r._loadedRoutes))}return $i(i).pipe(cf())}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>{if(e.destroyed)return Qe(null);let i;i=t.loadChildren&&void 0===t.canLoad?$i(this.loader.loadChildren(e,t)):Qe(null);const r=i.pipe(xs(o=>null===o?Qe(void 0):(t._loadedRoutes=o.routes,t._loadedInjector=o.injector,t._loadedNgModuleFactory=o.factory,this.processRoutes(o.injector??e,o.routes))));if(t.loadComponent&&!t._loadedComponent){return $i([r,this.loader.loadComponent(e,t)]).pipe(cf())}return r})}static \u0275fac=function(t){return new(t||d_)(Ce(St),Ce(ri),Ce(vH),Ce(ru))};static \u0275prov=ue({token:d_,factory:d_.\u0275fac,providedIn:"root"})}const HC=new _e("");class u_{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Kg;restoredId=0;store={};urlSerializer=$(tl);zone=$(Et);viewportScroller=$(hw);transitions=$(ou);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.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 Jg?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Er?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof iu&&e.code===Zg.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof Uj)||"manual"===e.scrollBehavior)return;const t={behavior:"instant"};e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],t):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position,t):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,t){var i=this;const r=jt(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(Wt(function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),i.zone.run(()=>{i.transitions.events.next(new Uj(e,"popstate"===i.lastSource?i.store[i.restoredId]:null,t,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(t){_A()};static \u0275prov=ue({token:u_,factory:u_.\u0275fac})}class h_ extends su{injector=$(ri);navigation=$(zm);inMemoryScrollingEnabled=null!==$(HC,{optional:!0});base=new URL($(tc).href).origin;appRootURL=new URL(this.location.prepareExternalUrl?.("/")??"/",this.base).href;precommitHandlerSupported=$(PX);activeHistoryEntry=this.navigation.currentEntry;currentNavigation={};nonRouterCurrentEntryChangeSubject=new Ze;nonRouterEntryChangeListener;get registered(){return void 0!==this.nonRouterEntryChangeListener&&!this.nonRouterEntryChangeListener.closed}constructor(){super();const e=t=>{this.handleNavigate(t)};this.navigation.addEventListener("navigate",e),$(br).onDestroy(()=>this.navigation.removeEventListener("navigate",e))}registerNonRouterCurrentEntryChangeListener(e){return this.activeHistoryEntry=this.navigation.currentEntry,this.nonRouterEntryChangeListener=this.nonRouterCurrentEntryChangeSubject.subscribe(({path:t,state:i})=>{e(t,i,"popstate",this.precommitHandlerSupported?{}:{replaceUrl:!0})}),this.nonRouterEntryChangeListener}handleRouterEvent(e,t){var i=this;return Wt(function*(){if(i.currentNavigation={...i.currentNavigation,routerTransition:t},e instanceof Jg)i.updateStateMemento(),i.precommitHandlerSupported&&i.maybeCreateNavigationForTransition(t);else if(e instanceof iu)i.finishNavigation(),i.commitTransition(t);else if(e instanceof CE)t.routesRecognizeHandler.deferredHandle=new Promise(function(){var r=Wt(function*(o){if("eager"===i.urlUpdateStrategy)try{i.maybeCreateNavigationForTransition(t),yield i.currentNavigation.commitUrl?.()}catch{return}o()});return function(o){return r.apply(this,arguments)}}());else if(e instanceof xC)t.beforeActivateHandler.deferredHandle=new Promise(function(){var r=Wt(function*(o){if("deferred"===i.urlUpdateStrategy)try{i.maybeCreateNavigationForTransition(t),yield i.currentNavigation.commitUrl?.()}catch{return}i.commitTransition(t),o()});return function(o){return r.apply(this,arguments)}}());else if(e instanceof Ps||e instanceof EC){if(e instanceof Ps&&e.code===pr.Redirect&&i.currentNavigation.commitUrl)return;i.cancel(t,e)}else if(e instanceof Er){const{resolveHandler:r,removeAbortListener:o}=i.currentNavigation;i.currentNavigation={},o?.(),i.activeHistoryEntry=i.navigation.currentEntry,sd({read:()=>r?.()},{injector:i.injector})}})()}maybeCreateNavigationForTransition(e){const{navigationEvent:t,commitUrl:i}=this.currentNavigation;if(i||t&&"traverse"===t.navigationType&&this.eventAndRouterDestinationsMatch(t,e))return;this.currentNavigation.removeAbortListener?.();const r=this.createBrowserPath(e);this.navigate(r,e)}navigate(e,t){const i=t.extras.skipLocationChange?this.navigation.currentEntry.url:this.location.prepareExternalUrl(e),r={...t.extras.state,...this.generateNgRouterState(t)};!this.navigation.transition&&this.currentNavigation.navigationEvent&&(t.extras.replaceUrl=!1);const s=this.location.isCurrentPathEqualTo(i)||t.extras.replaceUrl||t.extras.skipLocationChange?"replace":"push";FE(this.navigation.navigate(i,{state:r,history:s,info:{\u0275routerInfo:{intercept:!0}}}))}finishNavigation(){this.currentNavigation.commitUrl?.(),this.currentNavigation?.resolveHandler?.(),this.currentNavigation={}}cancel(e,t){var i=this;return Wt(function*(){i.currentNavigation.rejectNavigateEvent?.();const r={};if(i.currentNavigation=r,Vj(t))return;const o="computed"===i.canceledNavigationResolution&&i.navigation.currentEntry.key!==i.activeHistoryEntry.key;if(i.resetInternalState(e.finalUrl,o),i.navigation.currentEntry.id!==i.activeHistoryEntry.id&&!(t instanceof Ps&&t.code===pr.Aborted&&(yield Promise.resolve(),i.currentNavigation!==r)))if(o)FE(i.navigation.traverseTo(i.activeHistoryEntry.key,{info:{\u0275routerInfo:{intercept:!1}}}));else{const s=i.urlSerializer.serialize(i.getCurrentUrlTree()),a=i.location.prepareExternalUrl(s);FE(i.navigation.navigate(a,{state:i.activeHistoryEntry.getState(),history:"replace",info:{\u0275routerInfo:{intercept:!1}}}))}})()}resetInternalState(e,t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=t?this.stateMemento.rawUrlTree:this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}handleNavigate(e){var t=this;if(!e.canIntercept||"reload"===e.navigationType)return;const i=e?.info?.\u0275routerInfo;if(i&&!i.intercept)return;const r=!!i;if(!r&&(this.currentNavigation.routerTransition?.abort(),!this.registered))return void this.finishNavigation();this.currentNavigation={...this.currentNavigation},this.currentNavigation.navigationEvent=e;const o=()=>{this.currentNavigation.routerTransition?.abort()};e.signal.addEventListener("abort",o),this.currentNavigation.removeAbortListener=()=>e.signal.removeEventListener("abort",o);const a={scroll:this.inMemoryScrollingEnabled?"manual":this.currentNavigation.routerTransition?.extras.scroll??"after-transition"},{promise:l,resolve:c,reject:d}=bm(),{promise:m,resolve:b,reject:S}=bm();if(this.currentNavigation.rejectNavigateEvent=()=>{e.signal.removeEventListener("abort",o),S(),d()},this.currentNavigation.resolveHandler=()=>{this.currentNavigation.removeAbortListener?.(),c()},l.catch(()=>{}),m.catch(()=>{}),a.handler=()=>l,this.deferredCommitSupported(e)){const T=new Promise(I=>{a.precommitHandler=R=>("traverse"===this.navigation.transition?.navigationType?I(()=>{}):I(R.redirect.bind(R)),m)});this.currentNavigation.commitUrl=Wt(function*(){t.currentNavigation.commitUrl=void 0;const I=t.currentNavigation.routerTransition;if(I&&!I.extras.skipLocationChange){const R=t.createBrowserPath(I),H=t.location.isCurrentPathEqualTo(R)||I.extras.replaceUrl?"replace":"push",j={...I.extras.state,...t.generateNgRouterState(I)},re=t.location.prepareExternalUrl(R);(yield T)(re,{state:j,history:H})}return b(),yield t.navigation.transition?.committed})}e.intercept(a),r||this.handleNavigateEventTriggeredOutsideRouterAPIs(e)}handleNavigateEventTriggeredOutsideRouterAPIs(e){const t=e.destination.url.substring(this.appRootURL.length-1),i=e.destination.getState();this.nonRouterCurrentEntryChangeSubject.next({path:t,state:i})}eventAndRouterDestinationsMatch(e,t){const i=this.createBrowserPath(t),r=new URL(e.destination.url),o=this.location.prepareExternalUrl(i);return new URL(o,r.origin).href===r.href}generateNgRouterState(e){return{...this.routerUrlState(e),navigationId:e.id}}deferredCommitSupported(e){return this.precommitHandlerSupported&&e.cancelable}static \u0275fac=function(t){return new(t||h_)};static \u0275prov=ue({token:h_,factory:h_.\u0275fac,providedIn:"root"})}function FE(n){return n.finished?.catch(()=>{}),n.committed?.catch(()=>{}),n}function bH(){return $(St).routerState.root}function Jo(n,e){return{\u0275kind:n,\u0275providers:e}}new _e("",{factory:()=>!1});function wH(){const n=$(ui);return e=>{const t=n.get(Hr);if(e!==t.components[0])return;const i=n.get(St),r=n.get(CH);1===n.get(YE)&&i.initialNavigation(),n.get(MH,null,{optional:!0})?.setUpPreloading(),n.get(HC,null,{optional:!0})?.init(),i.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const CH=new _e("",{factory:()=>new Ze}),YE=new _e("",{factory:()=>1});const MH=new _e("");function fle(n){return Jo(0,[{provide:MH,useExisting:d_},{provide:vH,useExisting:n}])}function mle(n){Hi("NgRouterViewTransitions");return Jo(9,[{provide:hH,useValue:zae},{provide:fH,useValue:{skipNextTransition:!!n?.skipInitialTransition,...n}}])}new _e("");const gle=[aa,{provide:tl,useClass:Wg},St,nl,{provide:ir,useFactory:bH},ru,[]];class fi{constructor(){}static forRoot(e,t){return{ngModule:fi,providers:[gle,[],{provide:NC,multi:!0,useValue:e},[],t?.errorHandler?{provide:pH,useValue:t.errorHandler}:[],{provide:gf,useValue:t||{}},t?.useHash?{provide:Ss,useClass:Qm}:{provide:Ss,useClass:nc},{provide:HC,useFactory:()=>{const n=$(hw),e=$(gf);return e.scrollOffset&&n.setOffset(e.scrollOffset),new u_(e)}},t?.preloadingStrategy?fle(t.preloadingStrategy).\u0275providers:[],t?.initialNavigation?ble(t):[],t?.bindToComponentInputs?Jo(8,[ff,{provide:IC,useExisting:ff}]).\u0275providers:[],t?.enableViewTransitions?mle().\u0275providers:[],[{provide:DH,useFactory:wH},{provide:zO,multi:!0,useExisting:DH}]]}}static forChild(e){return{ngModule:fi,providers:[{provide:NC,multi:!0,useValue:e}]}}static \u0275fac=function(t){return new(t||fi)};static \u0275mod=Ct({type:fi});static \u0275inj=dt({})}function ble(n){return["disabled"===n.initialNavigation?Jo(3,[UO(()=>{$(St).setUpLocationChangeListener()}),{provide:YE,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?Jo(2,[{provide:B6,useValue:!0},{provide:YE,useValue:0},UO(()=>{const e=$(ui);return e.get(vK,Promise.resolve()).then(()=>new Promise(i=>{const r=e.get(St),o=e.get(CH);gH(r,()=>{i(!0)}),e.get(ou).afterPreactivation=()=>(i(!0),o.closed?Qe(void 0):o),r.initialNavigation()}))})]).\u0275providers:[]]}const DH=new _e("");var jE=P(8314);const Cle=["qrcElement"];class f_{allowEmptyString=!1;colorDark="#000000ff";colorLight="#ffffffff";cssClass="qrcode";elementType="canvas";errorCorrectionLevel="M";imageSrc;imageHeight;imageWidth;margin=4;qrdata="";scale=4;version;width=10;alt;ariaLabel;title;qrCodeURL=new Se;qrcElement;context=null;centerImage;renderer=$(ur);sanitizer=$(df);ngOnChanges(){var e=this;return Wt(function*(){yield e.createQRCode()})()}isValidQrCodeText(e){return!1===this.allowEmptyString?!(typeof e>"u"||""===e||"null"===e||null===e):!(typeof e>"u")}toDataURL(e){return new Promise((t,i)=>{(0,jE.dY)(this.qrdata,e,(r,o)=>{r?i(r):t(o)})})}toCanvas(e,t){return new Promise((i,r)=>{(0,jE.mo)(e,this.qrdata,t,o=>{o?r(o):i("success")})})}toSVG(e){return new Promise((t,i)=>{(0,jE.toString)(this.qrdata,e,(r,o)=>{r?i(r):t(o)})})}renderElement(e){for(const t of this.qrcElement.nativeElement.childNodes)this.renderer.removeChild(this.qrcElement.nativeElement,t);this.renderer.appendChild(this.qrcElement.nativeElement,e)}createQRCode(){var e=this;return Wt(function*(){e.version&&e.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),e.version=40):e.version&&e.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),e.version=1):void 0!==e.version&&isNaN(e.version)&&(console.warn("[angularx-qrcode] version should be a number, defaulting to auto."),e.version=void 0);try{if(!e.isValidQrCodeText(e.qrdata))throw new Error("[angularx-qrcode] Field `qrdata` is empty, set 'allowEmptyString=\"true\"' to overwrite this behaviour.");e.isValidQrCodeText(e.qrdata)&&""===e.qrdata&&(e.qrdata=" ");const t={color:{dark:e.colorDark,light:e.colorLight},errorCorrectionLevel:e.errorCorrectionLevel,margin:e.margin,scale:e.scale,version:e.version,width:e.width},i=e.imageSrc,r=e.imageHeight?+e.imageHeight:40,o=e.imageWidth?+e.imageWidth:40;switch(e.elementType){case"canvas":{const s=e.renderer.createElement("canvas");e.context=s.getContext("2d"),e.toCanvas(s,t).then(()=>{if(e.ariaLabel&&e.renderer.setAttribute(s,"aria-label",`${e.ariaLabel}`),e.title&&e.renderer.setAttribute(s,"title",`${e.title}`),i&&e.context){e.centerImage=new Image(o,r),i!==e.centerImage.src&&(e.centerImage.crossOrigin="anonymous",e.centerImage.src=i),r!==e.centerImage.height&&(e.centerImage.height=r),o!==e.centerImage.width&&(e.centerImage.width=o);const a=e.centerImage;a&&(a.onload=()=>{e.context?.drawImage(a,s.width/2-o/2,s.height/2-r/2,o,r)})}e.renderElement(s),e.emitQRCodeURL(s)}).catch(a=>{console.error("[angularx-qrcode] canvas error:",a)});break}case"svg":{const s=e.renderer.createElement("div");e.toSVG(t).then(a=>{e.renderer.setProperty(s,"innerHTML",a);const l=s.firstChild;e.renderer.setAttribute(l,"height",`${e.width}`),e.renderer.setAttribute(l,"width",`${e.width}`),e.renderElement(l),e.emitQRCodeURL(l)}).catch(a=>{console.error("[angularx-qrcode] svg error:",a)});break}default:{const s=e.renderer.createElement("img");e.toDataURL(t).then(a=>{e.alt&&s.setAttribute("alt",e.alt),e.ariaLabel&&s.setAttribute("aria-label",e.ariaLabel),s.setAttribute("src",a),e.title&&s.setAttribute("title",e.title),e.renderElement(s),e.emitQRCodeURL(s)}).catch(a=>{console.error("[angularx-qrcode] img/url error:",a)})}}}catch(t){console.error("[angularx-qrcode] Error generating QR Code:",t.message)}})()}convertBase64ImageUrlToBlob(e){const t=e.split(";base64,"),i=t[0].split(":")[1],r=atob(t[1]),o=new Uint8Array(r.length);for(let s=0;s{t(grecaptcha)};const s=document.createElement("script");s.innerHTML="";const{url:a,nonce:l}=e(new URL(i||"https://www.google.com/recaptcha/api.js"));a.searchParams.set("render","explicit"===n?n:n.key),a.searchParams.set("onload","ng2recaptchaloaded"),a.searchParams.set("trustedtypes","true"),r&&a.searchParams.set("hl",r),s.src=a.href;const c=l||o;c&&s.setAttribute("nonce",c),s.async=!0,s.defer=!0,document.head.appendChild(s)},newLoadScript:function xle({v3SiteKey:n,onBeforeLoad:e,onLoaded:t}){const i=n?{key:n}:"explicit";kH.loadScript(i,e,t)}};class Rs{static{this.ready=null}constructor(e,t,i,r,o,s){this.platformId=e,this.language=t,this.baseUrl=i,this.nonce=r,this.v3SiteKey=o,this.options=s;const a=this.init();this.ready=a?function Lle(n){return n.asObservable().pipe(Pi(e=>null!==e))}(a):Qe()}init(){if(Rs.ready)return Rs.ready;if(!xk(this.platformId))return;const e=new Ie(null);return Rs.ready=e,kH.newLoadScript({v3SiteKey:this.v3SiteKey,onBeforeLoad:t=>{if(this.options?.onBeforeLoad)return this.options.onBeforeLoad(t);const i=new URL(this.baseUrl??t);return this.language&&i.searchParams.set("hl",this.language),{url:i,nonce:this.nonce}},onLoaded:t=>{let i=t;this.options?.onLoaded&&(i=this.options.onLoaded(t)),e.next(i)}}),e}static{this.\u0275fac=function(t){return new(t||Rs)(Ce(Bp),Ce(Mle,8),Ce(Dle,8),Ce(Sle,8),Ce(SH,8),Ce(Tle,8))}}static{this.\u0275prov=ue({token:Rs,factory:Rs.\u0275fac})}}let Ile=0;class p_{constructor(e,t,i,r){this.elementRef=e,this.loader=t,this.zone=i,this.id="ngrecaptcha-"+Ile++,this.errorMode="default",this.resolved=new Se,this.error=new Se,this.errored=new Se,r&&(this.siteKey=r.siteKey,this.theme=r.theme,this.type=r.type,this.size=r.size,this.badge=r.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(e=>{null!=e&&e.render instanceof Function&&(this.grecaptcha=e,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){"invisible"===this.size&&(null!=this.widget?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){null!=this.widget&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}get __unsafe_widgetValue(){return null!=this.widget?this.grecaptcha.getResponse(this.widget):null}expired(){this.resolved.emit(null)}onError(e){this.error.emit(e),this.errored.emit(e)}captchaResponseCallback(e){this.resolved.emit(e)}grecaptchaReset(){null!=this.widget&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){const e={badge:this.badge,callback:t=>{this.zone.run(()=>this.captchaResponseCallback(t))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type};"handled"===this.errorMode&&(e["error-callback"]=(...t)=>{this.zone.run(()=>this.onError(t))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,e),!0===this.executeRequested&&(this.executeRequested=!1,this.execute())}static{this.\u0275fac=function(t){return new(t||p_)(G(On),G(Rs),G(Et),G(kle,8))}}static{this.\u0275cmp=Fe({type:p_,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(t,i){2&t&&Zn("id",i.id)},inputs:{id:"id",siteKey:"siteKey",theme:"theme",type:"type",size:"size",tabIndex:"tabIndex",badge:"badge",errorMode:"errorMode"},outputs:{resolved:"resolved",error:"error",errored:"errored"},exportAs:["reCaptcha"],standalone:!1,decls:0,vars:0,template:function(t,i){},encapsulation:2})}}class m_{static{this.\u0275fac=function(t){return new(t||m_)}}static{this.\u0275mod=Ct({type:m_})}static{this.\u0275inj=dt({})}}class VC{static{this.\u0275fac=function(t){return new(t||VC)}}static{this.\u0275mod=Ct({type:VC})}static{this.\u0275inj=dt({providers:[Rs],imports:[m_]})}}class g_{constructor(e,t,i){this.recaptchaLoader=t,this.zone=e,this.siteKey=i,this.init()}get onExecute(){return this.onExecuteSubject||(this.onExecuteSubject=new Ze,this.onExecuteObservable=this.onExecuteSubject.asObservable()),this.onExecuteObservable}get onExecuteError(){return this.onExecuteErrorSubject||(this.onExecuteErrorSubject=new Ze,this.onExecuteErrorObservable=this.onExecuteErrorSubject.asObservable()),this.onExecuteErrorObservable}execute(e){const t=new Ze;return this.grecaptcha?this.executeActionWithSubject(e,t):(this.actionBacklog||(this.actionBacklog=[]),this.actionBacklog.push([e,t])),t.asObservable()}executeActionWithSubject(e,t){const i=r=>{this.zone.run(()=>{t.error(r),this.onExecuteErrorSubject&&this.onExecuteErrorSubject.next({action:e,error:r})})};this.zone.runOutsideAngular(()=>{try{this.grecaptcha.execute(this.siteKey,{action:e}).then(r=>{this.zone.run(()=>{t.next(r),t.complete(),this.onExecuteSubject&&this.onExecuteSubject.next({action:e,token:r})})},i)}catch(r){i(r)}})}init(){this.recaptchaLoader.ready.subscribe(e=>{this.grecaptcha=e,this.actionBacklog&&this.actionBacklog.length>0&&(this.actionBacklog.forEach(([t,i])=>this.executeActionWithSubject(t,i)),this.actionBacklog=void 0)})}static{this.\u0275fac=function(t){return new(t||g_)(Ce(Et),Ce(Rs),Ce(SH))}}static{this.\u0275prov=ue({token:g_,factory:g_.\u0275fac})}}class HE{static{this.\u0275fac=function(t){return new(t||HE)}}static{this.\u0275mod=Ct({type:HE})}static{this.\u0275inj=dt({providers:[g_,Rs]})}}class BC{constructor(e){this.host=e,this.requiresControllerReset=!1}writeValue(e){e?this.host.__unsafe_widgetValue!==e&&!this.host.__unsafe_widgetValue&&(this.requiresControllerReset=!0):this.host.reset()}registerOnChange(e){this.onChange=e,this.requiresControllerReset&&(this.requiresControllerReset=!1,this.onChange(null))}registerOnTouched(e){this.onTouched=e}onResolve(e){this.onChange&&this.onChange(e),this.onTouched&&this.onTouched()}static{this.\u0275fac=function(t){return new(t||BC)(G(p_))}}static{this.\u0275dir=je({type:BC,selectors:[["re-captcha","formControlName",""],["re-captcha","formControl",""],["re-captcha","ngModel",""]],hostBindings:function(t,i){1&t&&W("resolved",function(o){return i.onResolve(o)})},standalone:!1,features:[Yt([{multi:!0,provide:Xr,useExisting:rn(()=>BC)}])]})}}class VE{static{this.\u0275fac=function(t){return new(t||VE)}}static{this.\u0275mod=Ct({type:VE})}static{this.\u0275inj=dt({imports:[dc,m_]})}}function BE(...n){let e=Number.POSITIVE_INFINITY,t=null,i=n[n.length-1];return tf(i)?(t=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(e=n.pop())):"number"==typeof i&&(e=n.pop()),null===t&&1===n.length&&n[0]instanceof Ht?n[0]:cf(e)(nE(n,t))}class Ple extends Lt{constructor(e,t){super()}schedule(e,t=0){return this}}class UC extends Ple{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,i=0){return setInterval(e.flush.bind(e,this),i)}recycleAsyncId(e,t,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(e,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let r,i=!1;try{this.work(e)}catch(o){i=!0,r=!!o&&o||new Error(o)}if(i)return this.unsubscribe(),r}_unsubscribe(){const e=this.id,t=this.scheduler,i=t.actions,r=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&i.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}class __{constructor(e,t=__.now){this.SchedulerAction=e,this.now=t}schedule(e,t=0,i){return new this.SchedulerAction(this,e).schedule(i,t)}}__.now=()=>Date.now();class Ns extends __{constructor(e,t=__.now){super(e,()=>Ns.delegate&&Ns.delegate!==this?Ns.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,i){return Ns.delegate&&Ns.delegate!==this?Ns.delegate.schedule(e,t,i):super.schedule(e,t,i)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let i;this.active=!0;do{if(i=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}}const y_=new Ns(UC);function UE(n){return!Tt(n)&&n-parseFloat(n)+1>=0}function Ole(n){const{subscriber:e,counter:t,period:i}=n;e.next(t),this.schedule({subscriber:e,counter:t+1,period:i},i)}const TH=new class Nle extends Ns{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let i,r=-1,o=t.length;e=e||t.shift();do{if(i=e.execute(e.state,e.delay))break}while(++r0?super.requestAsyncId(e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(e,t,i);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}),zC=new WeakMap;class v_{_appRef;_injector=$(ui);_environmentInjector=$(ri);load(e){const t=this._appRef=this._appRef||this._injector.get(Hr);let i=zC.get(t);i||(i={loaders:new Set,refs:[]},zC.set(t,i),t.onDestroy(()=>{zC.get(t)?.refs.forEach(r=>r.destroy()),zC.delete(t)})),i.loaders.has(e)||(i.loaders.add(e),i.refs.push(function LX(n,e){const t=Vt(n),i=e.elementInjector||Au();return new hm(t).create(i,e.projectableNodes,e.hostElement,e.environmentInjector,e.directives,e.bindings)}(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(t){return new(t||v_)};static \u0275prov=ue({token:v_,factory:v_.\u0275fac,providedIn:"root"})}let zE;function $E(n){if(function Fle(){if(null==zE){const n=typeof document<"u"?document.head:null;zE=!(!n||!n.createShadowRoot&&!n.attachShadow)}return zE}()){const e=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function $C(n){return n.composedPath?n.composedPath()[0]:n.target}function bf(n,e=0){return function Hle(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):2===arguments.length?e:0}function rl(n){return n instanceof On?n.nativeElement:n}let Vle=1;const Ble=Promise.resolve(),WC={};function EH(n){return n in WC&&(delete WC[n],!0)}const xH={setImmediate(n){const e=Vle++;return WC[e]=!0,Ble.then(()=>EH(e)&&n()),e},clearImmediate(n){EH(n)}};const $le=new class zle extends Ns{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let i,r=-1,o=t.length;e=e||t.shift();do{if(i=e.execute(e.state,e.delay))break}while(++r0?super.requestAsyncId(e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=xH.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(e,t,i);0===e.actions.length&&(xH.clearImmediate(t),e.scheduled=void 0)}});function qC(n,e){return t=>t.lift(new Wle(n,e))}class Wle{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new qle(e,this.compare,this.keySelector))}}class qle extends wt{constructor(e,t,i){super(e),this.keySelector=i,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:r}=this;t=r?r(e):e}catch(r){return this.destination.error(r)}let i=!1;if(this.hasKey)try{const{compare:r}=this;i=r(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))}}class Qle{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new Kle(e,this.durationSelector))}}class Kle extends Xh{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:r}=this;t=r(e)}catch(r){return this.destination.error(r)}const i=ef(this,t);!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:e,hasValue:t,throttled:i}=this;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}notifyNext(e,t,i,r){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Zle(n){const{index:e,period:t,subscriber:i}=n;if(i.next(e),!i.closed){if(-1===t)return i.complete();n.index=e+1,this.schedule(n,t)}}function WE(n,e=y_){return function Gle(n){return function(t){return t.lift(new Qle(n))}}(()=>function Jle(n=0,e,t){let i=-1;return UE(e)?i=Number(e)<1?1:Number(e):tf(e)&&(t=e),tf(t)||(t=y_),new Ht(r=>{const o=UE(n)?n:+n-t.now();return t.schedule(Zle,o,{index:0,period:i,subscriber:r})})}(n,e))}new class ice extends Ns{}(class nce extends UC{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,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(e,t,i):e.flush(this)}});var LH;!function(n){n.NEXT="N",n.ERROR="E",n.COMPLETE="C"}(LH||(LH={}));class Zo{constructor(e,t,i){this.kind=e,this.value=t,this.error=i,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,i){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return i&&i()}}accept(e,t,i){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,i)}toObservable(){switch(this.kind){case"N":return Qe(this.value);case"E":return Fg(this.error);case"C":return yC()}throw new Error("unexpected notification kind value")}static createNext(e){return typeof e<"u"?new Zo("N",e):Zo.undefinedValueNotification}static createError(e){return new Zo("E",void 0,e)}static createComplete(){return Zo.completeNotification}}Zo.completeNotification=new Zo("C"),Zo.undefinedValueNotification=new Zo("N",void 0);let qE;try{qE=typeof Intl<"u"&&Intl.v8BreakIterator}catch{qE=!1}class au{_platformId=$(Bp);isBrowser=this._platformId?xk(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!qE)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(t){return new(t||au)};static \u0275prov=ue({token:au,factory:au.\u0275fac,providedIn:"root"})}const uce=new _e("cdk-dir-doc",{providedIn:"root",factory:()=>$(_n)}),hce=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function IH(n){const e=n?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&navigator?.language?hce.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}class pc{get value(){return this.valueSignal()}valueSignal=yn("ltr");change=new Se;constructor(){const e=$(uce,{optional:!0});if(e){const t=e.body?e.body.dir:null,i=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(IH(t||i||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(t){return new(t||pc)};static \u0275prov=ue({token:pc,factory:pc.\u0275fac,providedIn:"root"})}var Fs;let QC,lu;function b_(){if("object"!=typeof document||!document)return Fs.NORMAL;if(null==QC){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"),i=t.style;i.width="2px",i.height="1px",n.appendChild(t),document.body.appendChild(n),QC=Fs.NORMAL,0===n.scrollLeft&&(n.scrollLeft=1,QC=0===n.scrollLeft?Fs.NEGATED:Fs.INVERTED),n.remove()}return QC}!function(n){n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED"}(Fs||(Fs={}));class mce{constructor(e){this.connectable=e}call(e,t){const{connectable:i}=this;i._refCount++;const r=new gce(e,i),o=t.subscribe(r);return r.closed||(r.connection=i.connect()),o}}class gce extends wt{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:i}=this,r=e._connection;this.connection=null,r&&(!i||r===i)&&r.unsubscribe()}}class PH extends Ht{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 Lt,e.add(this.source.subscribe(new _ce(this.getSubject(),this))),e.closed&&(this._connection=null,e=Lt.EMPTY)),e}refCount(){return function pce(){return function(e){return e.lift(new mce(e))}}()(this)}}(()=>{const n=PH.prototype;n._subscribe,n._isComplete,n.getSubject,n.connect,n.refCount})();class _ce extends Da{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()}}}var wf;!function(n){n[n.REPLACED=0]="REPLACED",n[n.INSERTED=1]="INSERTED",n[n.MOVED=2]="MOVED",n[n.REMOVED=3]="REMOVED"}(wf||(wf={}));class KC{_isInitialized=!1;_rawDir="";change=new Se;get dir(){return this.valueSignal()}set dir(e){const t=this.valueSignal();this.valueSignal.set(IH(e)),this._rawDir=e,t!==this.valueSignal()&&this._isInitialized&&this.change.emit(this.valueSignal())}get value(){return this.dir}valueSignal=yn("ltr");ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}static \u0275fac=function(t){return new(t||KC)};static \u0275dir=je({type:KC,selectors:[["","dir",""]],hostVars:1,hostBindings:function(t,i){2&t&&Zn("dir",i._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[Yt([{provide:pc,useExisting:KC}])]})}const Mce=["contentWrapper"],Dce=["*"],AH=new _e("VIRTUAL_SCROLL_STRATEGY");class Sce{_scrolledIndexChange=new Ze;scrolledIndexChange=this._scrolledIndexChange.pipe(qC());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(e,t,i){this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=i}attach(e){this._viewport=e,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(e,t,i){this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=i,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},i=this._viewport.getViewportSize(),r=this._viewport.getDataLength();let o=this._viewport.measureScrollOffset(),s=this._itemSize>0?o/this._itemSize:0;if(t.end>r){const l=Math.ceil(i/this._itemSize),c=Math.max(0,Math.min(s,r-l));s!=c&&(s=c,o=c*this._itemSize,t.start=Math.floor(s)),t.end=Math.max(0,Math.min(r,t.start+l))}const a=o-t.start*this._itemSize;if(a0&&(t.end=Math.min(r,t.end+c),t.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(t),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*t.start)),this._scrolledIndexChange.next(Math.floor(s))}}function kce(n){return n._scrollStrategy}class JC{get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=bf(e)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=bf(e)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=bf(e)}_maxBufferPx=200;_scrollStrategy=new Sce(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(t){return new(t||JC)};static \u0275dir=je({type:JC,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[Yt([{provide:AH,useFactory:kce,deps:[rn(()=>JC)]}]),ji]})}class Cf{_ngZone=$(Et);_platform=$(au);_renderer=$(ql).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new Ze;_scrolledCount=0;scrollContainers=new Map;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 Ht(t=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const i=e>0?this._scrolled.pipe(WE(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Qe()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const i=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Pi(r=>!r||i.indexOf(r)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((i,r)=>{this._scrollableContainsElement(r,e)&&t.push(r)}),t}_scrollableContainsElement(e,t){let i=rl(t),r=e.getElementRef().nativeElement;do{if(i==r)return!0}while(i=i.parentElement);return!1}static \u0275fac=function(t){return new(t||Cf)};static \u0275prov=ue({token:Cf,factory:Cf.\u0275fac,providedIn:"root"})}class C_{elementRef=$(On);scrollDispatcher=$(Cf);ngZone=$(Et);dir=$(pc,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new Ze;_renderer=$(ur);_cleanupScroll;_elementScrolled=new Ze;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),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,i=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=i?e.end:e.start),null==e.right&&(e.right=i?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),i&&b_()!=Fs.NORMAL?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),b_()==Fs.INVERTED?e.left=e.right:b_()==Fs.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 fce(){if(null==lu){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return lu=!1,lu;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)lu=!0;else{const n=Element.prototype.scrollTo;lu=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return lu}()?(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left)):t.scrollTo(e)}measureScrollOffset(e){const t="left",i="right",r=this.elementRef.nativeElement;if("top"==e)return r.scrollTop;if("bottom"==e)return r.scrollHeight-r.clientHeight-r.scrollTop;const o=this.dir&&"rtl"==this.dir.value;return"start"==e?e=o?i:t:"end"==e&&(e=o?t:i),o&&b_()==Fs.INVERTED?e==t?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:o&&b_()==Fs.NEGATED?e==t?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==t?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static \u0275fac=function(t){return new(t||C_)};static \u0275dir=je({type:C_,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}class cu{_platform=$(au);_listeners;_viewportSize=null;_change=new Ze;_document=$(_n);constructor(){const e=$(Et),t=$(ql).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){const i=r=>this._change.next(r);this._listeners=[t.listen("window","resize",i),t.listen("window","orientationchange",i)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),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:i}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+t,height:i,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),i=e.documentElement,r=i.getBoundingClientRect();return{top:-r.top||e.body?.scrollTop||t.scrollY||i.scrollTop||0,left:-r.left||e.body?.scrollLeft||t.scrollX||i.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(WE(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 \u0275fac=function(t){return new(t||cu)};static \u0275prov=ue({token:cu,factory:cu.\u0275fac,providedIn:"root"})}const ZC=new _e("VIRTUAL_SCROLLABLE");class Mf extends C_{constructor(){super()}measureViewportSize(e){const t=this.elementRef.nativeElement;return"horizontal"===e?t.clientWidth:t.clientHeight}static \u0275fac=function(t){return new(t||Mf)};static \u0275dir=je({type:Mf,features:[Xt]})}const Lce=typeof requestAnimationFrame<"u"?TH:$le,OH=new _e("CDK_VIRTUAL_SCROLL_VIEWPORT");class M_ extends Mf{elementRef=$(On);_changeDetectorRef=$(la);_scrollStrategy=$(AH,{optional:!0});scrollable=$(ZC,{optional:!0});_platform=$(au);_detachedSubject=new Ze;_renderedRangeSubject=new Ze;_renderedContentOffsetSubject=new Ze;get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new Ht(e=>this._scrollStrategy.scrolledIndexChange.subscribe(t=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(t)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe(Pi(e=>null!==e),qC());_totalContentSize=0;_totalContentWidth=yn("");_totalContentHeight=yn("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=yn(!1);_runAfterChangeDetection=[];_viewportChanges=Lt.EMPTY;_injector=$(ui);_isDestroyed=!1;constructor(){super();const e=$(cu);this._scrollStrategy,this._viewportChanges=e.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);const t=BL(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:$(Hr).injector});$(br).onDestroy(()=>{t.destroy()})}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(Yg(null),WE(0,Lce),ma(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(ma(this._detachedSubject)).subscribe(t=>{const i=t.length;i!==this._dataLength&&(this._dataLength=i,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 xce(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 i=this.dir&&"rtl"==this.dir.value,r="horizontal"==this.orientation,o=r?"X":"Y";let a=`translate${o}(${Number((r&&i?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===t&&(a+=` translate${o}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=a&&(this._renderedContentTransform=a,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,t="auto"){const i={behavior:t};"horizontal"===this.orientation?i.start=e:i.top=e,this.scrollable.scrollTo(i)}scrollToIndex(e,t="auto"){this._scrollStrategy.scrollToIndex(e,t)}measureScrollOffset(e){let t;return t=this.scrollable==this?i=>super.measureScrollOffset(i):i=>this.scrollable.measureScrollOffset(i),Math.max(0,t(e??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let t;const i="left",r="right",o="rtl"==this.dir?.value;t="start"==e?o?r:i:"end"==e?o?i:r:e||("horizontal"===this.orientation?"left":"top");const s=this.scrollable.measureBoundingClientRectWithScrollOffset(t);return this.elementRef.nativeElement.getBoundingClientRect()[t]-s}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),!jt(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this._renderedContentOffsetSubject.next(this.getOffsetToRenderedContentStart()),sd(()=>{this._changeDetectionNeeded.set(!1);const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const t of e)t()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set("horizontal"===this.orientation?"":`${this._totalContentSize}px`),this._totalContentWidth.set("horizontal"===this.orientation?`${this._totalContentSize}px`:"")}static \u0275fac=function(t){return new(t||M_)};static \u0275cmp=Fe({type:M_,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(t,i){if(1&t&&qt(Mce,7),2&t){let r;Ee(r=xe())&&(i._contentWrapper=r.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(t,i){2&t&&Re("cdk-virtual-scroll-orientation-horizontal","horizontal"===i.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==i.orientation)},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",zi]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[Yt([{provide:C_,useFactory:()=>$(ZC,{optional:!0})||$(M_)},{provide:OH,useExisting:M_}]),Xt],ngContentSelectors:Dce,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(t,i){1&t&&(Bo(),Ob(0,"div",1,0),Dr(2),Rb(),Nb(3,"div",2)),2&t&&(C(3),fr("width",i._totalContentWidth())("height",i._totalContentHeight()))},styles:["cdk-virtual-scroll-viewport {\n display: block;\n position: relative;\n transform: translateZ(0);\n}\n\n.cdk-virtual-scrollable {\n overflow: auto;\n will-change: scroll-position;\n contain: strict;\n}\n\n.cdk-virtual-scroll-content-wrapper {\n position: absolute;\n top: 0;\n left: 0;\n contain: content;\n}\n[dir=rtl] .cdk-virtual-scroll-content-wrapper {\n right: 0;\n left: auto;\n}\n\n.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper {\n min-height: 100%;\n}\n.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]) {\n padding-left: 0;\n padding-right: 0;\n margin-left: 0;\n margin-right: 0;\n border-left-width: 0;\n border-right-width: 0;\n outline: none;\n}\n\n.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper {\n min-width: 100%;\n}\n.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]) {\n padding-top: 0;\n padding-bottom: 0;\n margin-top: 0;\n margin-bottom: 0;\n border-top-width: 0;\n border-bottom-width: 0;\n outline: none;\n}\n\n.cdk-virtual-scroll-spacer {\n height: 1px;\n transform-origin: 0 0;\n flex: 0 0 auto;\n}\n[dir=rtl] .cdk-virtual-scroll-spacer {\n transform-origin: 100% 0;\n}\n"],encapsulation:2,changeDetection:0})}class XC extends Mf{constructor(){super()}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]-this.measureScrollOffset(e)}static \u0275fac=function(t){return new(t||XC)};static \u0275dir=je({type:XC,selectors:[["","cdkVirtualScrollingElement",""]],hostAttrs:[1,"cdk-virtual-scrollable"],features:[Yt([{provide:ZC,useExisting:XC}]),Xt]})}class eM extends Mf{constructor(){super();const e=$(_n);this.elementRef=new On(e.documentElement),this._scrollElement=e}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}static \u0275fac=function(t){return new(t||eM)};static \u0275dir=je({type:eM,selectors:[["cdk-virtual-scroll-viewport","scrollWindow",""]],features:[Yt([{provide:ZC,useExisting:eM}]),Xt]})}class Df{static \u0275fac=function(t){return new(t||Df)};static \u0275mod=Ct({type:Df});static \u0275inj=dt({})}const KE={};class Sf{_appId=$(Jc);static _infix=`a${Math.floor(1e5*Math.random()).toString()}`;getId(e,t=!1){return"ng"!==this._appId&&(e+=this._appId),KE.hasOwnProperty(e)||(KE[e]=0),`${e}${t?Sf._infix+"-":""}${KE[e]++}`}static \u0275fac=function(t){return new(t||Sf)};static \u0275prov=ue({token:Sf,factory:Sf.\u0275fac,providedIn:"root"})}function JE(n){const e=n.cloneNode(!0),t=e.querySelectorAll("[id]"),i=n.nodeName.toLowerCase();e.removeAttribute("id");for(let r=0;r=i&&t<=r&&e>=o&&e<=s}function D_(n,e,t){n.top+=e,n.bottom=n.top+n.height,n.left+=t,n.right=n.left+n.width}function jH(n,e,t,i){const{top:r,right:o,bottom:s,left:a,width:l,height:c}=n,d=l*e,m=c*e;return i>r-m&&ia-d&&t{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:ZE(t)})})}handleScroll(e){const t=$C(e),i=this.positions.get(t);if(!i)return null;const r=i.scrollPosition;let o,s;if(t===this._document){const c=this.getViewportScrollPosition();o=c.top,s=c.left}else o=t.scrollTop,s=t.scrollLeft;const a=r.top-o,l=r.left-s;return this.positions.forEach((c,d)=>{c.clientRect&&t!==d&&t.contains(d)&&D_(c.clientRect,a,l)}),r.top=o,r.left=s,{top:a,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function VH(n,e){const t=n.rootNodes;if(1===t.length&&t[0].nodeType===e.ELEMENT_NODE)return t[0];const i=e.createElement("div");return t.forEach(r=>i.appendChild(r)),i}function ex(n,e,t){for(let i in e)if(e.hasOwnProperty(i)){const r=e[i];r?n.setProperty(i,r,t?.has(i)?"important":""):n.removeProperty(i)}return n}function kf(n,e){const t=e?"":"none";ex(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 BH(n,e,t){ex(n.style,{position:e?"":"fixed",top:e?"":"0",opacity:e?"":"0",left:e?"":"-999em"},t)}function tM(n,e){return e&&"none"!=e?n+" "+e:n}function UH(n,e){n.style.width=`${e.width}px`,n.style.height=`${e.height}px`,n.style.transform=S_(e.left,e.top)}function S_(n,e){return`translate3d(${Math.round(n)}px, ${Math.round(e)}px, 0)`}const k_={capture:!0},tx={passive:!1,capture:!0};class nM{static \u0275fac=function(t){return new(t||nM)};static \u0275cmp=Fe({type:nM,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(t,i){},styles:["@layer cdk-resets {\n .cdk-drag-preview {\n background: none;\n border: none;\n padding: 0;\n color: inherit;\n inset: auto;\n }\n}\n.cdk-drag-placeholder *,\n.cdk-drag-preview * {\n pointer-events: none !important;\n}\n"],encapsulation:2,changeDetection:0})}class mc{_ngZone=$(Et);_document=$(_n);_styleLoader=$(v_);_renderer=$(ql).createRenderer(null,null);_cleanupDocumentTouchmove;_scroll=new Ze;_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=yn([]);_globalListeners;_draggingPredicate=e=>e.isDragging();_domNodesToDirectives=null;pointerMove=new Ze;pointerUp=new Ze;constructor(){}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._cleanupDocumentTouchmove?.(),this._cleanupDocumentTouchmove=this._renderer.listen(this._document,"touchmove",this._persistentTouchmoveListener,tx)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._cleanupDocumentTouchmove?.()}startDragging(e,t){if(!(this._activeDragInstances().indexOf(e)>-1)&&(this._styleLoader.load(nM),this._activeDragInstances.update(i=>[...i,e]),1===this._activeDragInstances().length)){const i=t.type.startsWith("touch"),r=s=>this.pointerUp.next(s),o=[["scroll",s=>this._scroll.next(s),k_],["selectstart",this._preventDefaultWhileDragging,tx]];i?o.push(["touchend",r,k_],["touchcancel",r,k_]):o.push(["mouseup",r,k_]),i||o.push(["mousemove",s=>this.pointerMove.next(s),tx]),this._ngZone.runOutsideAngular(()=>{this._globalListeners=o.map(([s,a,l])=>this._renderer.listen(this._document,s,a,l))})}}stopDragging(e){this._activeDragInstances.update(t=>{const i=t.indexOf(e);return i>-1?(t.splice(i,1),[...t]):t}),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 Ht(i=>this._ngZone.runOutsideAngular(()=>{const r=this._renderer.listen(e,"scroll",o=>{this._activeDragInstances().length&&i.next(o)},k_);return()=>{r()}}))),BE(...t)}registerDirectiveNode(e,t){this._domNodesToDirectives??=new WeakMap,this._domNodesToDirectives.set(e,t)}removeDirectiveNode(e){this._domNodesToDirectives?.delete(e)}getDragDirectiveForNode(e){return this._domNodesToDirectives?.get(e)||null}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._domNodesToDirectives=null,this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_preventDefaultWhileDragging=e=>{this._activeDragInstances().length>0&&e.preventDefault()};_persistentTouchmoveListener=e=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&e.preventDefault(),this.pointerMove.next(e))};_clearGlobalListeners(){this._globalListeners?.forEach(e=>e()),this._globalListeners=void 0}static \u0275fac=function(t){return new(t||mc)};static \u0275prov=ue({token:mc,factory:mc.\u0275fac,providedIn:"root"})}function zH(n){const e=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*e}function nx(n,e){return n.getPropertyValue(e).split(",").map(i=>i.trim())}const Rce=new Set(["position"]);class Nce{_document;_rootElement;_direction;_initialDomRect;_previewTemplate;_previewClass;_pickupPositionOnPage;_initialTransform;_zIndex;_renderer;_previewEmbeddedView=null;_preview;get element(){return this._preview}constructor(e,t,i,r,o,s,a,l,c,d){this._document=e,this._rootElement=t,this._direction=i,this._initialDomRect=r,this._previewTemplate=o,this._previewClass=s,this._pickupPositionOnPage=a,this._initialTransform=l,this._zIndex=c,this._renderer=d}attach(e){this._preview=this._createPreview(),e.appendChild(this._preview),$H(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 Oce(n){const e=getComputedStyle(n),t=nx(e,"transition-property"),i=t.find(a=>"transform"===a||"all"===a);if(!i)return 0;const r=t.indexOf(i),o=nx(e,"transition-duration"),s=nx(e,"transition-delay");return zH(o[r])+zH(s[r])}(this._preview)}addEventListener(e,t){return this._renderer.listen(this._preview,e,t)}_createPreview(){const e=this._previewTemplate,t=this._previewClass,i=e?e.template:null;let r;if(i&&e){const o=e.matchSize?this._initialDomRect:null,s=e.viewContainer.createEmbeddedView(i,e.context);s.detectChanges(),r=VH(s,this._document),this._previewEmbeddedView=s,e.matchSize?UH(r,o):r.style.transform=S_(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=JE(this._rootElement),UH(r,this._initialDomRect),this._initialTransform&&(r.style.transform=this._initialTransform);return ex(r.style,{"pointer-events":"none",margin:$H(r)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},Rce),kf(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("popover","manual"),r.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(o=>r.classList.add(o)):r.classList.add(t)),r}}function $H(n){return"showPopover"in n}const Fce={passive:!0},WH={passive:!1},Yce={passive:!1,capture:!0},qH="cdk-drag-placeholder",GH=new Set(["position"]);function QH(n,e,t={dragStartThreshold:5,pointerDirectionChangeThreshold:5}){const i=n.get(ur,null,{optional:!0})||n.get(ql).createRenderer(null,null);return new Hce(e,t,n.get(_n),n.get(Et),n.get(cu),n.get(mc),i)}class Hce{_config;_document;_ngZone;_viewportRuler;_dragDropRegistry;_renderer;_rootElementCleanups;_cleanupShadowRootSelectStart;_preview=null;_previewContainer;_placeholderRef=null;_placeholder;_pickupPositionInElement;_pickupPositionOnPage;_marker;_anchor=null;_passiveTransform={x:0,y:0};_activeTransform={x:0,y:0};_initialTransform;_hasStartedDragging=yn(!1);_hasMoved=!1;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new Ze;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement=null;_rootElementTapHighlight;_pointerMoveSubscription=Lt.EMPTY;_pointerUpSubscription=Lt.EMPTY;_scrollSubscription=Lt.EMPTY;_resizeSubscription=Lt.EMPTY;_lastTouchEventTime;_dragStartTime;_boundaryElement=null;_nativeInteractionsEnabled=!0;_initialDomRect;_previewRect;_boundaryRect;_previewTemplate;_placeholderTemplate;_handles=[];_disabledHandles=new Set;_dropContainer;_direction="ltr";_parentDragRef=null;_cachedShadowRoot;lockAxis=null;dragStartDelay=0;previewClass;scale=1;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=>kf(t,e)))}_disabled=!1;beforeStarted=new Ze;started=new Ze;released=new Ze;ended=new Ze;entered=new Ze;exited=new Ze;dropped=new Ze;moved=this._moveEvents;data;constrainPosition;constructor(e,t,i,r,o,s,a){this._config=t,this._document=i,this._ngZone=r,this._viewportRuler=o,this._dragDropRegistry=s,this._renderer=a,this.withRootElement(e).withParent(t.parentDragRef||null),this._parentPositions=new HH(i),s.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map(i=>rl(i)),this._handles.forEach(i=>kf(i,this.disabled)),this._toggleNativeDragInteractions();const t=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&t.add(i)}),this._disabledHandles=t,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){const t=rl(e);if(t!==this._rootElement){this._removeRootElementListeners();const i=this._renderer;this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[i.listen(t,"mousedown",this._pointerDown,WH),i.listen(t,"touchstart",this._pointerDown,Fce),i.listen(t,"dragstart",this._nativeDragStart,WH)]),this._initialTransform=void 0,this._rootElement=t}return typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?rl(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.isDragging()&&this._rootElement?.remove(),this._marker?.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._marker=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}}resetToBoundary(){if(this._boundaryElement&&this._rootElement&&function Ace(n,e){const t=e.leftn.right,r=e.topn.bottom;return t||i||r||o}(this._boundaryElement.getBoundingClientRect(),this._rootElement.getBoundingClientRect())){const e=this._boundaryElement.getBoundingClientRect(),t=this._rootElement.getBoundingClientRect();let i=0,r=0;t.lefte.right&&(i=e.right-t.right),t.tope.bottom&&(r=e.bottom-t.bottom);let a=this._activeTransform.x+i,l=this._activeTransform.y+r;this._rootElement.style.transform=S_(a,l),this._activeTransform={x:a,y:l},this._passiveTransform={x:a,y:l}}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),kf(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),kf(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._cleanupShadowRootSelectStart?.(),this._cleanupShadowRootSelectStart=void 0}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._anchor?.remove(),this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._anchor=this._placeholderRef=null}_pointerDown=e=>{if(this.beforeStarted.next(),this._handles.length){const t=this._getTargetHandle(e);t&&!this._disabledHandles.has(t)&&!this.disabled&&this._initializeDragSequence(t,e)}else this.disabled||this._initializeDragSequence(this._rootElement,e)};_pointerMove=e=>{const t=this._getPointerPositionOnPage(e);if(!this._hasStartedDragging()){if(Math.abs(t.x-this._pickupPositionOnPage.x)+Math.abs(t.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const a=Date.now()>=this._dragStartTime+this._getDragStartDelay(e),l=this._dropContainer;if(!a)return void this._endDragSequence(e);(!l||!l.isDragging()&&!l.isReceiving())&&(e.cancelable&&e.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(e)))}return}e.cancelable&&e.preventDefault();const i=this._getConstrainedPointerPosition(t);if(this._hasMoved=!0,this._lastKnownPointerPosition=t,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,t);else{const r=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,o=this._activeTransform;o.x=i.x-r.x+this._passiveTransform.x,o.y=i.y-r.y+this._passiveTransform.y,this._applyRootElementTransform(o.x,o.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:e,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})};_pointerUp=e=>{this._endDragSequence(e)};_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){T_(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const t=this._getShadowRoot(),i=this._dropContainer;if(t&&this._ngZone.runOutsideAngular(()=>{this._cleanupShadowRootSelectStart=this._renderer.listen(t,"selectstart",Vce,Yce)}),i){const r=this._rootElement,o=r.parentNode,s=this._placeholder=this._createPlaceholderElement(),a=this._marker=this._marker||this._document.createComment("");o.insertBefore(a,r),this._initialTransform=r.style.transform||"",this._preview=new Nce(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3,this._renderer),this._preview.attach(this._getPreviewInsertionPoint(o,t)),BH(r,!1,GH),this._document.body.appendChild(o.replaceChild(s,r)),this.started.next({source:this,event:e}),i.start(),this._initialContainer=i,this._initialIndex=i.getItemIndex(this)}else this.started.next({source:this,event:e}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(i?i.getScrollableParents():[])}_initializeDragSequence(e,t){this._parentDragRef&&t.stopPropagation();const i=this.isDragging(),r=T_(t),o=!r&&0!==t.button,s=this._rootElement,a=$C(t),l=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),c=r?function jle(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)}(t):function Yle(n){return 0===n.buttons||0===n.detail}(t);if(a&&a.draggable&&"mousedown"===t.type&&t.preventDefault(),i||o||l||c)return;if(this._handles.length){const b=s.style;this._rootElementTapHighlight=b.webkitTapHighlightColor||"",b.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),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(b=>this._updateOnScroll(b)),this._boundaryElement&&(this._boundaryRect=ZE(this._boundaryElement));const d=this._previewTemplate;this._pickupPositionInElement=d&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,e,t);const m=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:m.x,y:m.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(e){BH(this._rootElement,!0,GH),this._marker.parentNode.replaceChild(this._rootElement,this._marker),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const t=this._dropContainer,i=t.getItemIndex(this),r=this._getPointerPositionOnPage(e),o=this._getDragDistance(r),s=t._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:o,dropPoint:r,event:e}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:o,dropPoint:r,event:e}),t.drop(this,i,this._initialIndex,this._initialContainer,s,o,r,e),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:t},{x:i,y:r}){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(()=>{const s=this._dropContainer.getItemIndex(this),a=this._dropContainer.getItemAtIndex(s+1)?.getVisibleElement()||null;this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._conditionallyInsertAnchor(o,this._dropContainer,a),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(i,r),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(i=>{const r=a=>{(!a||this._preview&&$C(a)===this._preview.element&&"transform"===a.propertyName)&&(s(),i(),clearTimeout(o))},o=setTimeout(r,1.5*t),s=this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){const e=this._placeholderTemplate,t=e?e.template:null;let i;return t?(this._placeholderRef=e.viewContainer.createEmbeddedView(t,e.context),this._placeholderRef.detectChanges(),i=VH(this._placeholderRef,this._document)):i=JE(this._rootElement),i.style.pointerEvents="none",i.classList.add(qH),i}_getPointerPositionInElement(e,t,i){const r=t===this._rootElement?null:t,o=r?r.getBoundingClientRect():e,s=T_(i)?i.targetTouches[0]:i,a=this._getViewportScrollPosition(),l=s.pageX-o.left-a.left,c=s.pageY-o.top-a.top;return{x:o.left-e.left+l,y:o.top-e.top+c}}_getPointerPositionOnPage(e){const t=this._getViewportScrollPosition(),i=T_(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,r=i.pageX-t.left,o=i.pageY-t.top;if(this._ownerSVGElement){const s=this._ownerSVGElement.getScreenCTM();if(s){const a=this._ownerSVGElement.createSVGPoint();return a.x=r,a.y=o,a.matrixTransform(s.inverse())}}return{x:r,y:o}}_getConstrainedPointerPosition(e){const t=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:r}=this.constrainPosition?this.constrainPosition(e,this,this._initialDomRect,this._pickupPositionInElement):e;if("x"===this.lockAxis||"x"===t?r=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):("y"===this.lockAxis||"y"===t)&&(i=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){const{x:o,y:s}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,a=this._boundaryRect,{width:l,height:c}=this._getPreviewRect(),d=a.top+s,m=a.bottom-(c-s);i=KH(i,a.left+o,a.right-(l-o)),r=KH(r,d,m)}return{x:i,y:r}}_updatePointerDirectionDelta(e){const{x:t,y:i}=e,r=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,s=Math.abs(t-o.x),a=Math.abs(i-o.y);return s>this._config.pointerDirectionChangeThreshold&&(r.x=t>o.x?1:-1,o.x=t),a>this._config.pointerDirectionChangeThreshold&&(r.y=i>o.y?1:-1,o.y=i),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,kf(this._rootElement,e))}_removeRootElementListeners(){this._rootElementCleanups?.forEach(e=>e()),this._rootElementCleanups=void 0}_applyRootElementTransform(e,t){const i=1/this.scale,r=S_(e*i,t*i),o=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=o.transform&&"none"!=o.transform?o.transform:""),o.transform=tM(r,this._initialTransform)}_applyPreviewTransform(e,t){const i=this._previewTemplate?.template?void 0:this._initialTransform,r=S_(e,t);this._preview.setTransform(tM(r,i))}_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 i=this._rootElement.getBoundingClientRect(),r=this._boundaryElement.getBoundingClientRect();if(0===r.width&&0===r.height||0===i.width&&0===i.height)return;const o=r.left-i.left,s=i.right-r.right,a=r.top-i.top,l=i.bottom-r.bottom;r.width>i.width?(o>0&&(e+=o),s>0&&(e-=s)):e=0,r.height>i.height?(a>0&&(t+=a),l>0&&(t-=l)):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:T_(e)?t.touch:t?t.mouse:0}_updateOnScroll(e){const t=this._parentPositions.handleScroll(e);if(t){const i=$C(e);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&D_(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=$E(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(e,t){const i=this._previewContainer||"global";if("parent"===i)return e;if("global"===i){const r=this._document;return t||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return rl(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_nativeDragStart=e=>{if(this._handles.length){const t=this._getTargetHandle(e);t&&!this._disabledHandles.has(t)&&!this.disabled&&e.preventDefault()}else this.disabled||e.preventDefault()};_getTargetHandle(e){return this._handles.find(t=>e.target&&(e.target===t||t.contains(e.target)))}_conditionallyInsertAnchor(e,t,i){if(e===this._initialContainer)this._anchor?.remove(),this._anchor=null;else if(t===this._initialContainer&&t.hasAnchor){const r=this._anchor??=JE(this._placeholder);r.classList.remove(qH),r.classList.add("cdk-drag-anchor"),r.style.transform="",i?i.before(r):rl(t.element).appendChild(r)}}}function KH(n,e,t){return Math.max(e,Math.min(t,n))}function T_(n){return"t"===n.type[0]}function Vce(n){n.preventDefault()}function JH(n,e,t){const i=E_(e,n.length-1),r=E_(t,n.length-1);if(i===r)return;const o=n[i],s=r0)return null;const a="horizontal"===this.orientation,l=o.findIndex(R=>R.drag===e),c=o[s],d=o[l].clientRect,m=c.clientRect,b=l>s?1:-1,S=this._getItemOffsetPx(d,m,b),T=this._getSiblingOffsetPx(l,o,b),I=o.slice();return JH(o,l,s),o.forEach((R,H)=>{if(I[H]===R)return;const j=R.drag===e,re=j?S:T,se=j?e.getPlaceholderElement():R.drag.getRootElement();R.offset+=re;const oe=Math.round(R.offset*(1/R.drag.scale));a?(se.style.transform=tM(`translate3d(${oe}px, 0, 0)`,R.initialTransform),D_(R.clientRect,0,re)):(se.style.transform=tM(`translate3d(0, ${oe}px, 0)`,R.initialTransform),D_(R.clientRect,re,0))}),this._previousSwap.overlaps=XE(m,t,i),this._previousSwap.drag=c.drag,this._previousSwap.delta=a?r.x:r.y,{previousIndex:l,currentIndex:s}}enter(e,t,i,r){const o=this._activeDraggables,s=o.indexOf(e),a=e.getPlaceholderElement();s>-1&&o.splice(s,1);const l=null==r||r<0?this._getItemIndexFromPointerPosition(e,t,i):r;let c=o[l];if(c===e&&(c=o[l+1]),!c&&(null==l||-1===l||l{const t=e.getRootElement();if(t){const i=this._itemPositions.find(r=>r.drag===e)?.initialTransform;t.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(e){return this._getVisualItemPositions().findIndex(t=>t.drag===e)}getItemAtIndex(e){return this._getVisualItemPositions()[e]?.drag||null}updateOnScroll(e,t){this._itemPositions.forEach(({clientRect:i})=>{D_(i,e,t)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}withElementContainer(e){this._element=e}_cacheItemPositions(){const e="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(t=>{const i=t.getVisibleElement();return{drag:t,offset:0,initialTransform:i.style.transform||"",clientRect:ZE(i)}}).sort((t,i)=>e?t.clientRect.left-i.clientRect.left:t.clientRect.top-i.clientRect.top)}_getVisualItemPositions(){return"horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions}_getItemOffsetPx(e,t,i){const r="horizontal"===this.orientation;let o=r?t.left-e.left:t.top-e.top;return-1===i&&(o+=r?t.width-e.width:t.height-e.height),o}_getSiblingOffsetPx(e,t,i){const r="horizontal"===this.orientation,o=t[e].clientRect,s=t[e+-1*i];let a=o[r?"width":"height"]*i;if(s){const l=r?"left":"top",c=r?"right":"bottom";-1===i?a-=s.clientRect[l]-o[c]:a+=o[l]-s.clientRect[c]}return a}_shouldEnterAsFirstChild(e,t){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,r="horizontal"===this.orientation;if(i[0].drag!==this._activeDraggables[0]){const s=i[i.length-1].clientRect;return r?e>=s.right:t>=s.bottom}{const s=i[0].clientRect;return r?e<=s.left:t<=s.top}}_getItemIndexFromPointerPosition(e,t,i,r){const o="horizontal"===this.orientation,s=this._itemPositions.findIndex(({drag:a,clientRect:l})=>{if(a===e)return!1;if(r){const c=o?r.x:r.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&c===this._previousSwap.delta)return!1}return o?t>=Math.floor(l.left)&&t=Math.floor(l.top)&&il?d.after(c):d.before(c),JH(this._activeItems,l,o);const m=this._getRootNode().elementFromPoint(t,i);return s.deltaX=r.x,s.deltaY=r.y,s.drag=a,s.overlaps=d===m||d.contains(m),{previousIndex:l,currentIndex:o}}enter(e,t,i,r){const o=this._activeItems.indexOf(e);o>-1&&this._activeItems.splice(o,1);let s=null==r||r<0?this._getItemIndexFromPointerPosition(e,t,i):r;-1===s&&(s=this._getClosestItemIndexToPointer(e,t,i));const a=this._activeItems[s];a&&!this._dragDropRegistry.isDragging(a)?(this._activeItems.splice(s,0,e),a.getRootElement().before(e.getPlaceholderElement())):(this._activeItems.push(e),this._element.appendChild(e.getPlaceholderElement()))}withItems(e){this._activeItems=e.slice()}withSortPredicate(e){this._sortPredicate=e}reset(){const e=this._element,t=this._previousSwap;for(let i=this._relatedNodes.length-1;i>-1;i--){const[r,o]=this._relatedNodes[i];r.parentNode===e&&r.nextSibling!==o&&(null===o?e.appendChild(r):o.parentNode===e&&e.insertBefore(r,o))}this._relatedNodes=[],this._activeItems=[],t.drag=null,t.deltaX=t.deltaY=0,t.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(e){return this._activeItems.indexOf(e)}getItemAtIndex(e){return this._activeItems[e]||null}updateOnScroll(){this._activeItems.forEach(e=>{this._dragDropRegistry.isDragging(e)&&e._sortFromLastPointerPosition()})}withElementContainer(e){e!==this._element&&(this._element=e,this._rootNode=void 0)}_getItemIndexFromPointerPosition(e,t,i){const r=this._getRootNode().elementFromPoint(Math.floor(t),Math.floor(i)),o=r?this._activeItems.findIndex(s=>{const a=s.getRootElement();return r===a||a.contains(r)}):-1;return-1!==o&&this._sortPredicate(o,e)?o:-1}_getRootNode(){return this._rootNode||(this._rootNode=$E(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(e,t,i){if(0===this._activeItems.length)return-1;if(1===this._activeItems.length)return 0;let r=1/0,o=-1;for(let s=0;s!0;sortPredicate=()=>!0;beforeStarted=new Ze;entered=new Ze;exited=new Ze;dropped=new Ze;sorted=new Ze;receivingStarted=new Ze;receivingStopped=new Ze;data;_container;_isDragging=!1;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=Lt.EMPTY;_verticalScrollDirection=Do.NONE;_horizontalScrollDirection=xr.NONE;_scrollNode;_stopScrollTimers=new Ze;_cachedShadowRoot=null;_document;_scrollableElements=[];_initialScrollSnap;_direction="ltr";constructor(e,t,i,r,o){this._dragDropRegistry=t,this._ngZone=r,this._viewportRuler=o;const s=this.element=rl(e);this._document=i,this.withOrientation("vertical").withElementContainer(s),t.registerDropContainer(this),this._parentPositions=new HH(i)}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,i,r){this._draggingStarted(),null==r&&this.sortingDisabled&&(r=this._draggables.indexOf(e)),this._sortStrategy.enter(e,t,i,r),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,i,r,o,s,a,l={}){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:i,container:this,previousContainer:r,isPointerOverContainer:o,distance:s,dropPoint:a,event:l})}withItems(e){const t=this._draggables;return this._draggables=e,e.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(t.filter(r=>r.isDragging()).every(r=>-1===e.indexOf(r))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(e){return this._direction=e,this._sortStrategy instanceof ZH&&(this._sortStrategy.direction=e),this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){if("mixed"===e)this._sortStrategy=new Bce(this._document,this._dragDropRegistry);else{const t=new ZH(this._dragDropRegistry);t.direction=this._direction,t.orientation=e,this._sortStrategy=t}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((t,i)=>this.sortPredicate(t,i,this)),this}withScrollableParents(e){const t=this._container;return this._scrollableElements=-1===e.indexOf(t)?[t,...e]:e.slice(),this}withElementContainer(e){if(e===this._container)return this;rl(this.element);const i=this._scrollableElements.indexOf(this._container),r=this._scrollableElements.indexOf(e);return i>-1&&this._scrollableElements.splice(i,1),r>-1&&this._scrollableElements.splice(r,1),this._sortStrategy&&this._sortStrategy.withElementContainer(e),this._cachedShadowRoot=null,this._scrollableElements.unshift(e),this._container=e,this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){return this._isDragging?this._sortStrategy.getItemIndex(e):this._draggables.indexOf(e)}getItemAtIndex(e){return this._isDragging?this._sortStrategy.getItemAtIndex(e):this._draggables[e]||null}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,t,i,r){if(this.sortingDisabled||!this._domRect||!jH(this._domRect,.05,t,i))return;const o=this._sortStrategy.sort(e,t,i,r);o&&this.sorted.next({previousIndex:o.previousIndex,currentIndex:o.currentIndex,container:this,item:e})}_startScrollingIfNecessary(e,t){if(this.autoScrollDisabled)return;let i,r=Do.NONE,o=xr.NONE;if(this._parentPositions.positions.forEach((s,a)=>{a===this._document||!s.clientRect||i||jH(s.clientRect,.05,e,t)&&([r,o]=function zce(n,e,t,i,r){const o=n4(e,r),s=i4(e,i);let a=Do.NONE,l=xr.NONE;if(o){const c=n.scrollTop;o===Do.UP?c>0&&(a=Do.UP):n.scrollHeight-c>n.clientHeight&&(a=Do.DOWN)}if(s){const c=n.scrollLeft;"rtl"===t?s===xr.RIGHT?c<0&&(l=xr.RIGHT):n.scrollWidth+c>n.clientWidth&&(l=xr.LEFT):s===xr.LEFT?c>0&&(l=xr.LEFT):n.scrollWidth-c>n.clientWidth&&(l=xr.RIGHT)}return[a,l]}(a,s.clientRect,this._direction,e,t),(r||o)&&(i=a))}),!r&&!o){const{width:s,height:a}=this._viewportRuler.getViewportSize(),l={width:s,height:a,top:0,right:s,bottom:a,left:0};r=n4(l,t),o=i4(l,e),i=window}i&&(r!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=o,this._scrollNode=i,(r||o)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const e=this._container.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(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;const e=this._container.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()}_startScrollInterval=()=>{this._stopScrolling(),function Ale(n=0,e=y_){return(!UE(n)||n<0)&&(n=0),(!e||"function"!=typeof e.schedule)&&(e=y_),new Ht(t=>(t.add(e.schedule(Ole,n,{subscriber:t,counter:0,period:n})),t))}(0,TH).pipe(ma(this._stopScrollTimers)).subscribe(()=>{const e=this._scrollNode,t=this.autoScrollStep;this._verticalScrollDirection===Do.UP?e.scrollBy(0,-t):this._verticalScrollDirection===Do.DOWN&&e.scrollBy(0,t),this._horizontalScrollDirection===xr.LEFT?e.scrollBy(-t,0):this._horizontalScrollDirection===xr.RIGHT&&e.scrollBy(t,0)})};_isOverContainer(e,t){return null!=this._domRect&&XE(this._domRect,e,t)}_getSiblingContainerFromPosition(e,t,i){return this._siblings.find(r=>r._canReceive(e,t,i))}_canReceive(e,t,i){if(!this._domRect||!XE(this._domRect,t,i)||!this.enterPredicate(e,this))return!1;const r=this._getShadowRoot().elementFromPoint(t,i);return!!r&&(r===this._container||this._container.contains(r))}_startReceiving(e,t){const i=this._activeSiblings;!i.has(e)&&t.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(i.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=$E(this._container);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 n4(n,e){const{top:t,bottom:i,height:r}=n,o=.05*r;return e>=t-o&&e<=t+o?Do.UP:e>=i-o&&e<=i+o?Do.DOWN:Do.NONE}function i4(n,e){const{left:t,right:i,width:r}=n,o=.05*r;return e>=t-o&&e<=t+o?xr.LEFT:e>=i-o&&e<=i+o?xr.RIGHT:xr.NONE}class x_{_injector=$(ui);constructor(){}createDrag(e,t){return QH(this._injector,e,t)}createDropList(e){return t4(this._injector,e)}static \u0275fac=function(t){return new(t||x_)};static \u0275prov=ue({token:x_,factory:x_.\u0275fac,providedIn:"root"})}const L_=new _e("CDK_DRAG_PARENT");const r4=new _e("CdkDragHandle");class I_{element=$(On);_parentDrag=$(L_,{optional:!0,skipSelf:!0});_dragDropRegistry=$(mc);_stateChanges=new Ze;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._stateChanges.next(this)}_disabled=!1;constructor(){this._parentDrag?._addHandle(this)}ngAfterViewInit(){if(!this._parentDrag){let e=this.element.nativeElement.parentElement;for(;e;){const t=this._dragDropRegistry.getDragDirectiveForNode(e);if(t){this._parentDrag=t,t._addHandle(this);break}e=e.parentElement}}}ngOnDestroy(){this._parentDrag?._removeHandle(this),this._stateChanges.complete()}static \u0275fac=function(t){return new(t||I_)};static \u0275dir=je({type:I_,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",zi]},features:[Yt([{provide:r4,useExisting:I_}])]})}const o4=new _e("CDK_DRAG_CONFIG"),s4=new _e("CdkDropList");class P_{element=$(On);dropContainer=$(s4,{optional:!0,skipSelf:!0});_ngZone=$(Et);_viewContainerRef=$(Cr);_dir=$(pc,{optional:!0});_changeDetectorRef=$(la);_selfHandle=$(r4,{optional:!0,self:!0});_parentDrag=$(L_,{optional:!0,skipSelf:!0});_dragDropRegistry=$(mc);_destroyed=new Ze;_handles=new Ie([]);_previewTemplate=null;_placeholderTemplate=null;_dragRef;data;lockAxis=null;rootElementSelector;boundaryElement;dragStartDelay;freeDragPosition;get disabled(){return this._disabled||!(!this.dropContainer||!this.dropContainer.disabled)}set disabled(e){this._disabled=e,this._dragRef.disabled=this._disabled}_disabled=!1;constrainPosition;previewClass;previewContainer;scale=1;started=new Se;released=new Se;ended=new Se;entered=new Se;exited=new Se;dropped=new Se;moved=new Ht(e=>{const t=this._dragRef.moved.pipe(Bn(i=>({source:this,pointerPosition:i.pointerPosition,event:i.event,delta:i.delta,distance:i.distance}))).subscribe(e);return()=>{t.unsubscribe()}});_injector=$(ui);constructor(){const e=this.dropContainer,t=$(o4,{optional:!0});this._dragRef=QH(this._injector,this.element,{dragStartThreshold:t&&null!=t.dragStartThreshold?t.dragStartThreshold:5,pointerDirectionChangeThreshold:t&&null!=t.pointerDirectionChangeThreshold?t.pointerDirectionChangeThreshold:5,zIndex:t?.zIndex}),this._dragRef.data=this,this._dragDropRegistry.registerDirectiveNode(this.element.nativeElement,this),t&&this._assignDefaults(t),e&&(e.addItem(this),e._dropListRef.beforeStarted.pipe(ma(this._destroyed)).subscribe(()=>{this._dragRef.scale=this.scale})),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}resetToBoundary(){this._dragRef.resetToBoundary()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){sd(()=>{this._updateRootElement(),this._setupHandlesListener(),this._dragRef.scale=this.scale,this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},{injector:this._injector})}ngOnChanges(e){const t=e.rootElementSelector,i=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),this._dragRef.scale=this.scale,i&&!i.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this),this._dragDropRegistry.removeDirectiveNode(this.element.nativeElement),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(),i=t.indexOf(e);i>-1&&(t.splice(i,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):rl(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const t=this._dir,i=this.dragStartDelay,r=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.scale=this.scale,e.dragStartDelay="object"==typeof i&&i?i:bf(i),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(o).withPreviewContainer(this.previewContainer||"global"),t&&e.withDirection(t.value)}}),e.beforeStarted.pipe(Zd(1)).subscribe(()=>{if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let t=this.element.nativeElement.parentElement;for(;t;){const i=this._dragDropRegistry.getDragDirectiveForNode(t);if(i){e.withParent(i._dragRef);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:i,constrainPosition:r,previewClass:o,boundaryElement:s,draggingDisabled:a,rootElementSelector:l,previewContainer:c}=e;this.disabled=a??!1,this.dragStartDelay=i||0,this.lockAxis=t||null,r&&(this.constrainPosition=r),o&&(this.previewClass=o),s&&(this.boundaryElement=s),l&&(this.rootElementSelector=l),c&&(this.previewContainer=c)}_setupHandlesListener(){this._handles.pipe(Mi(e=>{const t=e.map(i=>i.element);this._selfHandle&&this.rootElementSelector&&t.push(this.element),this._dragRef.withHandles(t)}),to(e=>BE(...e.map(t=>t._stateChanges.pipe(Yg(t))))),ma(this._destroyed)).subscribe(e=>{const t=this._dragRef,i=e.element.nativeElement;e.disabled?t.disableHandle(i):t.enableHandle(i)})}static \u0275fac=function(t){return new(t||P_)};static \u0275dir=je({type:P_,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,i){2&t&&Re("cdk-drag-disabled",i.disabled)("cdk-drag-dragging",i._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",zi],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",Tk]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[Yt([{provide:L_,useExisting:P_}]),ji]})}const ix=new _e("CdkDropListGroup");class A_{_items=new Set;disabled=!1;ngOnDestroy(){this._items.clear()}static \u0275fac=function(t){return new(t||A_)};static \u0275dir=je({type:A_,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:[2,"cdkDropListGroupDisabled","disabled",zi]},exportAs:["cdkDropListGroup"],features:[Yt([{provide:ix,useExisting:A_}])]})}class ol{element=$(On);_changeDetectorRef=$(la);_scrollDispatcher=$(Cf);_dir=$(pc,{optional:!0});_group=$(ix,{optional:!0,skipSelf:!0});_latestSortedRefs;_destroyed=new Ze;_scrollableParentsResolved=!1;static _dropLists=[];_dropListRef;connectedTo=[];data;orientation="vertical";id=$(Sf).getId("cdk-drop-list-");lockAxis=null;get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=e}_disabled=!1;sortingDisabled=!1;enterPredicate=()=>!0;sortPredicate=()=>!0;autoScrollDisabled=!1;autoScrollStep;elementContainerSelector=null;hasAnchor=!1;dropped=new Se;entered=new Se;exited=new Se;sorted=new Se;_unsortedItems=new Set;constructor(){const e=$(o4,{optional:!0}),t=$(ui);this._dropListRef=t4(t,this.element),this._dropListRef.data=this,e&&this._assignDefaults(e),this._dropListRef.enterPredicate=(i,r)=>this.enterPredicate(i.data,r.data),this._dropListRef.sortPredicate=(i,r,o)=>this.sortPredicate(i,r.data,o.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),ol._dropLists.push(this),this._group&&this._group._items.add(this)}addItem(e){this._unsortedItems.add(e),e._dragRef._withDropContainer(this._dropListRef),this._dropListRef.isDragging()&&this._syncItemsWithRef(this.getSortedItems().map(t=>t._dragRef))}removeItem(e){if(this._unsortedItems.delete(e),this._latestSortedRefs){const t=this._latestSortedRefs.indexOf(e._dragRef);t>-1&&(this._latestSortedRefs.splice(t,1),this._syncItemsWithRef(this._latestSortedRefs))}}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=ol._dropLists.indexOf(this);e>-1&&ol._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._latestSortedRefs=void 0,this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Yg(this._dir.value),ma(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const t=function Ice(n){return Array.isArray(n)?n:[n]}(this.connectedTo).map(i=>{if("string"==typeof i){return ol._dropLists.find(o=>o.id===i)}return i});if(this._group&&this._group._items.forEach(i=>{-1===t.indexOf(i)&&t.push(i)}),!this._scrollableParentsResolved){const i=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(r=>r.getElementRef().nativeElement);this._dropListRef.withScrollableParents(i),this._scrollableParentsResolved=!0}if(this.elementContainerSelector){const i=this.element.nativeElement.querySelector(this.elementContainerSelector);e.withElementContainer(i)}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=this.sortingDisabled,e.autoScrollDisabled=this.autoScrollDisabled,e.autoScrollStep=bf(this.autoScrollStep,2),e.hasAnchor=this.hasAnchor,e.connectedTo(t.filter(i=>i&&i!==this).map(i=>i._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(this.getSortedItems().map(t=>t._dragRef)),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()}),BE(e.receivingStarted,e.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(e){const{lockAxis:t,draggingDisabled:i,sortingDisabled:r,listAutoScrollDisabled:o,listOrientation:s}=e;this.disabled=i??!1,this.sortingDisabled=r??!1,this.autoScrollDisabled=o??!1,this.orientation=s||"vertical",this.lockAxis=t||null}_syncItemsWithRef(e){this._latestSortedRefs=e,this._dropListRef.withItems(e)}static \u0275fac=function(t){return new(t||ol)};static \u0275dir=je({type:ol,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,i){2&t&&(Zn("id",i.id),Re("cdk-drop-list-disabled",i.disabled)("cdk-drop-list-dragging",i._dropListRef.isDragging())("cdk-drop-list-receiving",i._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",zi],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",zi],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",zi],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"],hasAnchor:[2,"cdkDropListHasAnchor","hasAnchor",zi]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[Yt([{provide:ix,useValue:void 0},{provide:s4,useExisting:ol}])]})}const $ce=new _e("CdkDragPreview");class O_{templateRef=$(wr);_drag=$(L_,{optional:!0});data;matchSize=!1;constructor(){this._drag?._setPreviewTemplate(this)}ngOnDestroy(){this._drag?._resetPreviewTemplate(this)}static \u0275fac=function(t){return new(t||O_)};static \u0275dir=je({type:O_,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:[2,"matchSize","matchSize",zi]},features:[Yt([{provide:$ce,useExisting:O_}])]})}const Wce=new _e("CdkDragPlaceholder");class R_{templateRef=$(wr);_drag=$(L_,{optional:!0});data;constructor(){this._drag?._setPlaceholderTemplate(this)}ngOnDestroy(){this._drag?._resetPlaceholderTemplate(this)}static \u0275fac=function(t){return new(t||R_)};static \u0275dir=je({type:R_,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},features:[Yt([{provide:Wce,useExisting:R_}])]})}class iM{static \u0275fac=function(t){return new(t||iM)};static \u0275mod=Ct({type:iM});static \u0275inj=dt({providers:[x_],imports:[Df]})}class Tf{static{this.\u0275fac=function(t){return new(t||Tf)}}static{this.\u0275mod=Ct({type:Tf})}static{this.\u0275inj=dt({imports:[qo]})}}class N_{static{this.\u0275fac=function(t){return new(t||N_)}}static{this.\u0275mod=Ct({type:N_})}static{this.\u0275inj=dt({imports:[qo]})}}class Ef{static{this.\u0275fac=function(t){return new(t||Ef)}}static{this.\u0275mod=Ct({type:Ef})}static{this.\u0275inj=dt({imports:[qo]})}}class sl{constructor(e){this.template=e}getType(){return this.type?this.type:this.name}static{this.\u0275fac=function(t){return new(t||sl)(G(wr))}}static{this.\u0275dir=je({type:sl,selectors:[["","ueTemplate",""]],inputs:{type:"type",name:[0,"ueTemplate","name"]},standalone:!1})}}class ya{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{this.\u0275fac=function(t){return new(t||ya)}}static{this.\u0275cmp=Fe({type:ya,selectors:[["ue-column"]],contentQueries:function(t,i,r){if(1&t&&Zl(r,wr,7)(r,sl,4),2&t){let o;Ee(o=xe())&&(i.template=o.first),Ee(o=xe())&&(i.templates=o)}},inputs:{header:"header",field:"field",sortField:"sortField",clickable:"clickable",colStyle:"colStyle"},standalone:!1,decls:0,vars:0,template:function(t,i){},encapsulation:2})}}class rM{constructor(e){this.viewContainer=e}ngOnInit(){this.viewContainer.createEmbeddedView(this.column.bodyTemplate,{$implicit:this.column,rowData:this.rowData,rowIndex:this.rowIndex})}static{this.\u0275fac=function(t){return new(t||rM)(G(Cr))}}static{this.\u0275cmp=Fe({type:rM,selectors:[["ue-columnBodyTemplateLoader"]],inputs:{column:"column",rowData:"rowData",rowIndex:"rowIndex"},standalone:!1,decls:0,vars:0,template:function(t,i){},encapsulation:2})}}class Xo{constructor(){this.sort=new Se,this.onRowSelect=new Se,this.updateCheckedRows=new Se}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 i=e.filter(function(r){return r.field===t});this.colsToRender.push(i[0])}):this.colsToRender=e}updateDataToRender(e){this.dataToRender=e}resolveFieldData(e,t){if(e&&t){if(-1==t.indexOf("."))return e[t];{const i=t.split(".");let r=e;for(let o=0,s=i.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{this.\u0275fac=function(t){return new(t||Xo)}}static{this.\u0275cmp=Fe({type:Xo,selectors:[["ue-table"]],contentQueries:function(t,i,r){if(1&t&&Zl(r,ya,4),2&t){let o;Ee(o=xe())&&(i.cols=o)}},inputs:{selectedColumns:"selectedColumns",value:"value",checkedRows:"checkedRows",sortField:"sortField",sortDir:"sortDir",menuItemsSelected:"menuItemsSelected",menuItemsAll:"menuItemsAll",contextMenuRef:"contextMenuRef",gettingData:"gettingData",message:"message",highlightIndexArray:"highlightIndexArray"},outputs:{sort:"sort",onRowSelect:"onRowSelect",updateCheckedRows:"updateCheckedRows"},standalone:!1,features:[ji],decls:5,vars:5,consts:[[1,"wrapper"],[1,"table","table-striped","table-hover","smart-form","dataTable","no-footer"],[1,"ueColumnHeaders","noselect",3,"ueColumnHeaders"],[1,"ueTableBody",3,"ueTableBody","highlightIndexArray"]],template:function(t,i){1&t&&(f(0,"div",0)(1,"table",1)(2,"thead"),O(3,"tr",2),p(),O(4,"tbody",3),p()()),2&t&&(C(),Re("has-tickbox",(null==i.menuItemsAll?null:i.menuItemsAll.length)>0||(null==i.menuItemsSelected?null:i.menuItemsSelected.length)>0),C(2),U("ueColumnHeaders",i.colsToRender),C(),U("ueTableBody",i.colsToRender)("highlightIndexArray",i.highlightIndexArray))},styles:["table.dataTable[_ngcontent-%COMP%]{border-bottom:0px}.wrapper[_ngcontent-%COMP%]{height:100%;overflow:visible}"]})}}class oM{constructor(e){this.el=e}onContextMenu(e){e.preventDefault(),this.ueContextMenu.show(e,this.ueContextMenuSubject)}static{this.\u0275fac=function(t){return new(t||oM)(G(On))}}static{this.\u0275dir=je({type:oM,selectors:[["","ueContextMenu",""]],hostBindings:function(t,i){1&t&&W("contextmenu",function(o){return i.onContextMenu(o)})},inputs:{ueContextMenu:"ueContextMenu",ueContextMenuSubject:"ueContextMenuSubject"},standalone:!1})}}function qce(n,e){if(1&n){const t=pe();f(0,"label",3)(1,"input",4),W("click",function(){ne(t);const r=A();return ie(r.toggle(!r.isChecked))}),p(),O(2,"i",5),w(3),p()}if(2&n){const t=A();Re("not-allowed",t.disabled),U("ngClass",t.setCustomPosition()),C(),U("checked",t.isChecked)("disabled",t.disabled),C(),Re("highlight",t.reqDifferent),U("ngClass",t.setCustomPosition()),C(),We(" ",t.label," ")}}function Gce(n,e){if(1&n){const t=pe();f(0,"label",2)(1,"input",6),W("click",function(){ne(t);const r=A();return ie(r.toggle(!r.isChecked))}),p(),O(2,"i",5),w(3),p()}if(2&n){const t=A();U("ngClass",t.setCustomPosition()),C(),U("checked",t.isChecked),C(),Re("highlight",t.reqDifferent),U("ngClass",t.setCustomPosition()),C(),We(" ",t.label," ")}}class gc{constructor(){this.onToggle=new Se}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{this.\u0275fac=function(t){return new(t||gc)}}static{this.\u0275cmp=Fe({type:gc,selectors:[["ue-checkbox"]],inputs:{customPosition:"customPosition",readonly:"readonly",isChecked:"isChecked",reqDifferent:"reqDifferent",label:"label"},outputs:{onToggle:"onToggle"},standalone:!1,features:[Yt([{provide:Xr,multi:!0,useExisting:gc}])],decls:3,vars:2,consts:[[1,"smart-form"],[1,"checkbox",3,"ngClass","not-allowed"],[1,"checkbox","not-allowed",3,"ngClass"],[1,"checkbox",3,"ngClass"],["type","checkbox",3,"click","checked","disabled"],[3,"ngClass"],["type","checkbox","disabled","",3,"click","checked"]],template:function(t,i){1&t&&(f(0,"div",0),V(1,qce,4,9,"label",1),V(2,Gce,4,6,"label",2),p()),2&t&&(C(),B(i.readonly?-1:1),C(),B(i.readonly?2:-1))},dependencies:[yo],styles:[".checkbox.centered[_ngcontent-%COMP%]{padding-left:0}.checkbox[_ngcontent-%COMP%] i.centered[_ngcontent-%COMP%]{position:relative;top:0;margin:0 auto}.not-allowed[_ngcontent-%COMP%]{cursor:not-allowed;color:#d3d3d3}.smart-form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled:checked + i[_ngcontent-%COMP%]{border-color:#d3d3d3}.smart-form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled + i[_ngcontent-%COMP%]:after{color:#d3d3d3}.smart-form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled + i[_ngcontent-%COMP%]{border-color:#d3d3d3}.smart-form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled + i[_ngcontent-%COMP%]{color:#d3d3d3}"]})}}const Qce=["class","uetablebody"];function Kce(n,e){if(1&n){const t=pe();f(0,"td")(1,"ue-checkbox",3),W("onToggle",function(r){ne(t);const o=A(2).$implicit;return ie(A().dt.checkRow({event:r,rowData:o}))}),p()()}if(2&n){const t=A(2).$implicit,i=A();C(),U("isChecked",i.dt.isRowChecked(t))}}function Jce(n,e){if(1&n){const t=pe();f(0,"td",5),W("click",function(){ne(t);const r=A(3).$implicit;return ie(A().dt.onRowSelect.emit(r))}),w(1),p()}if(2&n){const t=A().$implicit,i=A(2).$implicit,r=A();U("ngStyle",t.colStyle),C(),We(" ",r.dt.resolveFieldData(i,t.field)," ")}}function Zce(n,e){if(1&n){const t=pe();f(0,"td",5),W("click",function(){ne(t);const r=A(3).$implicit;return ie(A().dt.onRowSelect.emit(r))}),O(1,"ue-columnBodyTemplateLoader",6),p()}if(2&n){const t=A().$implicit,i=A(2),r=i.$implicit,o=i.$index,s=A();U("ngStyle",t.colStyle),C(),U("column",t)("rowData",r)("rowIndex",o+s.first)}}function Xce(n,e){if(1&n&&(V(0,Jce,2,2,"td",4),V(1,Zce,2,4,"td",4)),2&n){const t=e.$implicit;B(t.bodyTemplate?-1:0),C(),B(t.bodyTemplate?1:-1)}}function ede(n,e){if(1&n&&(f(0,"tr",2),V(1,Kce,2,1,"td"),bn(2,Xce,2,2,null,null,vn),p()),2&n){const t=A().$implicit,i=A();Re("highlight",t.highlight),U("ueContextMenu",i.dt.contextMenuRef)("ueContextMenuSubject",t),C(),B((null==i.dt.menuItemsAll?null:i.dt.menuItemsAll.length)>0||(null==i.dt.menuItemsSelected?null:i.dt.menuItemsSelected.length)>0?1:-1),C(),wn(i.columns)}}function tde(n,e){if(1&n){const t=pe();f(0,"td")(1,"ue-checkbox",3),W("onToggle",function(r){ne(t);const o=A(2).$implicit;return ie(A().dt.checkRow({event:r,rowData:o}))}),p()()}if(2&n){const t=A(2).$implicit,i=A();C(),U("isChecked",i.dt.isRowChecked(t))}}function nde(n,e){if(1&n){const t=pe();f(0,"td",5),W("click",function(){ne(t);const r=A(3).$implicit;return ie(A().dt.onRowSelect.emit(r))}),w(1),p()}if(2&n){const t=A().$implicit,i=A(2).$implicit,r=A();U("ngStyle",t.colStyle),C(),We(" ",r.dt.resolveFieldData(i,t.field)," ")}}function ide(n,e){if(1&n){const t=pe();f(0,"td",5),W("click",function(){ne(t);const r=A(3).$implicit;return ie(A().dt.onRowSelect.emit(r))}),O(1,"ue-columnBodyTemplateLoader",6),p()}if(2&n){const t=A().$implicit,i=A(2),r=i.$implicit,o=i.$index,s=A();U("ngStyle",t.colStyle),C(),U("column",t)("rowData",r)("rowIndex",o+s.first)}}function rde(n,e){if(1&n&&(V(0,nde,2,2,"td",4),V(1,ide,2,4,"td",4)),2&n){const t=e.$implicit;B(t.bodyTemplate?-1:0),C(),B(t.bodyTemplate?1:-1)}}function ode(n,e){if(1&n&&(f(0,"tr"),V(1,tde,2,1,"td"),bn(2,rde,2,2,null,null,vn),p()),2&n){const t=A().$implicit,i=A();Re("highlight",t.highlight),C(),B((null==i.dt.menuItemsAll?null:i.dt.menuItemsAll.length)>0||(null==i.dt.menuItemsSelected?null:i.dt.menuItemsSelected.length)>0?1:-1),C(),wn(i.columns)}}function sde(n,e){if(1&n&&(V(0,ede,4,5,"tr",0),V(1,ode,4,3,"tr",1)),2&n){const t=A();B(t.dt.contextMenuRef?0:-1),C(),B(t.dt.contextMenuRef?-1:1)}}function ade(n,e){1&n&&(f(0,"span"),w(1,"No data found"),p())}function lde(n,e){1&n&&(f(0,"span"),w(1,"Getting data"),p())}function cde(n,e){if(1&n&&(f(0,"tr")(1,"td",7)(2,"div",8),O(3,"i",9),f(4,"strong"),w(5,"Info! "),p(),V(6,ade,2,0,"span"),V(7,lde,2,0,"span"),p()()()),2&n){const t=A();C(6),B(t.dt.gettingData?-1:6),C(),B(t.dt.gettingData?7:-1)}}class sM{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{this.\u0275fac=function(t){return new(t||sM)(G(rn(()=>Xo)))}}static{this.\u0275cmp=Fe({type:sM,selectors:[["tbody",8,"uetablebody"]],inputs:{columns:[0,"ueTableBody","columns"],highlightIndexArray:"highlightIndexArray"},standalone:!1,attrs:Qce,decls:3,vars:1,consts:[[3,"ueContextMenu","ueContextMenuSubject","highlight"],[3,"highlight"],[3,"ueContextMenu","ueContextMenuSubject"],[3,"onToggle","isChecked"],[1,"pointer",3,"ngStyle"],[1,"pointer",3,"click","ngStyle"],[3,"column","rowData","rowIndex"],["colspan","12"],[1,"alert","alert-info","fade","in"],[1,"fa-fw","fa","fa-info"]],template:function(t,i){1&t&&(bn(0,sde,2,2,null,null,vn),V(2,cde,8,2,"tr")),2&t&&(wn(i.dt.dataToRender),C(2),B(0==(null==i.dt.dataToRender?null:i.dt.dataToRender.length)?2:-1))},dependencies:[vo,oM,gc,rM],encapsulation:2})}}function dde(n,e){if(1&n){const t=pe();f(0,"li",9),W("click",function(){const r=ne(t).$implicit;return ie(A(2).onClick(r.command))}),f(1,"a"),O(2,"i"),w(3),p()()}if(2&n){const t=e.$implicit;C(2),Cn(t.icon),C(),We(" ",t.label," ")}}function ude(n,e){if(1&n){const t=pe();f(0,"li",9),W("click",function(){const r=ne(t).$implicit;return ie(A(2).onClick(r.command))}),f(1,"a"),O(2,"i"),w(3),p()()}if(2&n){const t=e.$implicit;C(2),Cn(t.icon),C(),We(" ",t.label," ")}}function hde(n,e){if(1&n){const t=pe();f(0,"div",1),W("click",function(){ne(t);return ie(A().onMouseClick())}),O(1,"i",2),f(2,"ul",3)(3,"li",4)(4,"a",5),W("click",function(){ne(t);return ie(A().toggle(!0))})("click",function(){ne(t);return ie(A().onClick())}),w(5,"Select All"),p()(),f(6,"li",4)(7,"a",5),W("click",function(){ne(t);return ie(A().toggle(!1))})("click",function(){ne(t);return ie(A().onClick())}),w(8,"Select None"),p()(),O(9,"li",6),bn(10,dde,4,3,"li",4,vn),O(12,"li",6),bn(13,ude,4,3,"li",4,vn),p(),f(15,"label",7)(16,"input",8),W("click",function(){ne(t);return ie(A().toggle())}),p(),O(17,"i"),p()()}if(2&n){const t=A();Re("open",t.panelOpen),C(10),wn(t.menuItemsSelected),C(3),wn(t.menuItemsAll),C(3),U("checked",t.isChecked)}}class aM{constructor(e){this.renderer=e,this.selectAllRows=new Se,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{this.\u0275fac=function(t){return new(t||aM)(G(ur))}}static{this.\u0275cmp=Fe({type:aM,selectors:[["ue-table-dropdown"]],inputs:{menuItemsSelected:"menuItemsSelected",menuItemsAll:"menuItemsAll",isChecked:"isChecked"},outputs:{selectAllRows:"selectAllRows"},standalone:!1,decls:1,vars:1,consts:[[2,"width","41px",3,"open"],[2,"width","41px",3,"click"],[1,"fa","fa-chevron-down","dropdown-toggle","dropdown-toggle-below","pointer","pull-right"],[1,"dropdown-menu",2,"top","46px"],[1,"pointer"],[3,"click"],[1,"divider"],[1,"checkbox","pull-left"],["type","checkbox",3,"click","checked"],[1,"pointer",3,"click"]],template:function(t,i){1&t&&V(0,hde,18,3,"div",0),2&t&&B((null==i.menuItemsAll?null:i.menuItemsAll.length)>0||(null==i.menuItemsSelected?null:i.menuItemsSelected.length)>0?0:-1)},encapsulation:2})}}const fde=["class","uecolumnheaders"];function pde(n,e){if(1&n){const t=pe();f(0,"th",0)(1,"ue-table-dropdown",1),W("selectAllRows",function(r){ne(t);return ie(A().dt.checkAllRows(r))}),p()()}if(2&n){const t=A();C(),U("menuItemsSelected",t.dt.menuItemsSelected)("menuItemsAll",t.dt.menuItemsAll)("isChecked",t.dt.areAllRowsChecked())}}function mde(n,e){if(1&n){const t=pe();f(0,"th",3),W("click",function(){ne(t);const r=A().$implicit;return ie(A().dt.sort.emit(r.sortField))}),w(1),p()}if(2&n){const t=A().$implicit,i=A();Re("sorting_desc",i.dt.sortField===t.sortField&&"desc"===i.dt.sortDir)("sorting_asc",i.dt.sortField===t.sortField&&"asc"===i.dt.sortDir),C(),We(" ",t.header," ")}}function gde(n,e){if(1&n&&(f(0,"th"),w(1),p()),2&n){const t=A().$implicit;C(),We(" ",t.header," ")}}function _de(n,e){if(1&n&&(V(0,mde,2,5,"th",2),V(1,gde,2,1,"th")),2&n){const t=e.$implicit;B(t.clickable?0:-1),C(),B(t.clickable?-1:1)}}class lM{constructor(e){this.dt=e}static{this.\u0275fac=function(t){return new(t||lM)(G(rn(()=>Xo)))}}static{this.\u0275cmp=Fe({type:lM,selectors:[["tr",8,"uecolumnheaders"]],inputs:{columns:[0,"ueColumnHeaders","columns"]},standalone:!1,attrs:fde,decls:3,vars:1,consts:[[2,"padding-right","10px"],[3,"selectAllRows","menuItemsSelected","menuItemsAll","isChecked"],[1,"pointer",3,"sorting_desc","sorting_asc"],[1,"pointer",3,"click"]],template:function(t,i){1&t&&(V(0,pde,2,3,"th",0),bn(1,_de,2,2,null,null,vn)),2&t&&(B((null==i.dt.menuItemsSelected?null:i.dt.menuItemsSelected.length)>0||(null==i.dt.menuItemsAll?null:i.dt.menuItemsAll.length)>0?0:-1),C(),wn(i.columns))},dependencies:[aM],encapsulation:2})}}class F_{static{this.\u0275fac=function(t){return new(t||F_)}}static{this.\u0275mod=Ct({type:F_})}static{this.\u0275inj=dt({imports:[qo,Tf,Ef]})}}yN(Xo,[sM,lM],[]);var yde=P(7734),Y_=P.n(yde);const vde=[{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/]}];class j_{constructor(){this.dateMask=[/[0-1]/,/\d/,"/",/[0-3]/,/\d/,"/",/\d/,/\d/,/\d/,/\d/],this.moneyMask=Y_()({prefix:"$",suffix:"",requireDecimal:!0}),this.percentMask=Y_()({prefix:"",suffix:"%",requireDecimal:!0}),this.quantityMask=Y_()({prefix:""}),this.negativeQuantityMask=Y_()({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 Y_()(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 i=[/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/];return vde.forEach(r=>{r.pregs.forEach(o=>{o.test(t)&&(i=r.mask)})}),i}static{this.\u0275fac=function(t){return new(t||j_)}}static{this.\u0275prov=ue({token:j_,factory:j_.\u0275fac})}}class al{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{this.\u0275fac=function(t){return new(t||al)}}static{this.\u0275prov=ue({token:al,factory:al.\u0275fac})}}class xf{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{this.\u0275fac=function(t){return new(t||xf)}}static{this.\u0275prov=ue({token:xf,factory:xf.\u0275fac})}}class Ys{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{this.\u0275fac=function(t){return new(t||Ys)(Ce(xf))}}static{this.\u0275prov=ue({token:Ys,factory:Ys.\u0275fac})}}class Gi{constructor(e,t,i,r){this.http=e,this.ueWindowService=t,this.sessionTimeoutService=i,this.router=r,this.authHeader=new no,this.csrf="",typeof csrf<"u"&&csrf&&this.setCsrfToken(csrf)}handleSessionWhenPolling(e){e||this.sessionTimeoutService.resetDevSessionExpiration()}get(e,t=!1){return this.http.get(e,{headers:this.authHeader}).pipe(Mi(()=>this.handleSessionWhenPolling(t)),io(i=>this.handleError(i)))}post(e,t,i=!1){return this.http.post(e,t,{headers:this.authHeader}).pipe(Mi(()=>this.handleSessionWhenPolling(i)),io(r=>this.handleError(r)))}put(e,t,i=!1){return this.http.put(e,t,{headers:this.authHeader}).pipe(Mi(()=>this.handleSessionWhenPolling(i)),io(r=>this.handleError(r)))}patch(e,t,i=!1){return this.http.patch(e,t,{headers:this.authHeader}).pipe(Mi(()=>this.handleSessionWhenPolling(i)),io(r=>this.handleError(r)))}delete(e,t=!1){return this.http.delete(e,{headers:this.authHeader}).pipe(Mi(()=>this.handleSessionWhenPolling(t)),io(i=>this.handleError(i)))}handleError(e){let t;if(403===e.status&&this.http.get("/api/DVPRTLFE/developers/keep_alive",{headers:this.getAuthHeader()}).subscribe(i=>Fg(e),i=>(this.router.navigate(["/login"],{queryParams:{accessDenied:!0}}),Fg(e))),e.error&&"object"==typeof e.error)t=e.error;else if(e.error&&"string"==typeof e.error)try{t=JSON.parse(e.error)}catch{t={errorcode:e.status,error:e.error}}else if(e._body)try{t=JSON.parse(e._body)}catch{t={errorcode:e.status,error:e.statusText}}else t={errorcode:e.status,error:e.statusText};return Fg(t)}logoutUser(){this.ueWindowService.setHref("/_developer/app/login?timeout=1")}setCsrfToken(e){e&&(this.csrf=e,this.authHeader=(new no).set("CSRF-Token",this.csrf))}removeCsrfToken(){this.csrf="",this.authHeader=new no}getAuthHeader(){return this.authHeader}getCurrentCsrfToken(){return this.csrf}hasCsrfToken(){return!!this.csrf}static{this.\u0275fac=function(t){return new(t||Gi)(Ce(Ls),Ce(al),Ce(Ys),Ce(St))}}static{this.\u0275prov=ue({token:Gi,factory:Gi.\u0275fac,providedIn:"root"})}}class Lf{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(Mi(e=>{this.currentCompanyProfile=e}))}checkoutCompany(e){return this.http.post(`${this.baseUrl}/explore`,{member_key:e})}static{this.\u0275fac=function(t){return new(t||Lf)(Ce(Gi))}}static{this.\u0275prov=ue({token:Lf,factory:Lf.\u0275fac})}}const rx=["*"],bde=["modalRoot"],wde=[[["modal-header"]],[["modal-content"]],[["modal-footer"]]],Cde=["modal-header","modal-content","modal-footer"],Mde=(n,e)=>({in:n,fade:e}),Dde=n=>({display:n});function Sde(n,e){if(1&n){const t=pe();f(0,"button",11),W("click",function(){ne(t);return ie(A(2).close())}),f(1,"span",12),w(2,"\xd7"),p()()}if(2&n){Zn("aria-label",A(2).cancelButtonLabel||"Close")}}function kde(n,e){if(1&n&&(f(0,"h4",6),w(1),p()),2&n){const t=A(2);C(),De(t.title)}}function Tde(n,e){if(1&n){const t=pe();f(0,"button",13),W("click",function(){ne(t);return ie(A(2).close())}),w(1),p()}if(2&n){const t=A(2);C(),We(" ",t.cancelButtonLabel," ")}}function Ede(n,e){if(1&n){const t=pe();f(0,"button",14),W("click",function(){ne(t);return ie(A(2).onSubmit.emit(void 0))}),w(1),p()}if(2&n){const t=A(2);C(),We(" ",t.submitButtonLabel," ")}}function xde(n,e){if(1&n&&(f(0,"div",3)(1,"div",4),V(2,Sde,3,1,"button",5),V(3,kde,2,1,"h4",6),Dr(4),p(),f(5,"div",7),Dr(6,1),p(),f(7,"div",8),Dr(8,2),V(9,Tde,2,1,"button",9),V(10,Ede,2,1,"button",10),p()()),2&n){const t=A();C(2),B(t.hideCloseButton?-1:2),C(),B(t.title?3:-1),C(6),B(t.cancelButtonLabel?9:-1),C(),B(t.submitButtonLabel?10:-1)}}class Lr{static{this.\u0275fac=function(t){return new(t||Lr)}}static{this.\u0275cmp=Fe({type:Lr,selectors:[["modal-header"]],standalone:!1,ngContentSelectors:rx,decls:1,vars:0,template:function(t,i){1&t&&(Bo(),Dr(0))},encapsulation:2})}}class Ir{static{this.\u0275fac=function(t){return new(t||Ir)}}static{this.\u0275cmp=Fe({type:Ir,selectors:[["modal-content"]],standalone:!1,ngContentSelectors:rx,decls:1,vars:0,template:function(t,i){1&t&&(Bo(),Dr(0))},encapsulation:2})}}class Ur{static{this.\u0275fac=function(t){return new(t||Ur)}}static{this.\u0275cmp=Fe({type:Ur,selectors:[["modal-footer"]],standalone:!1,ngContentSelectors:rx,decls:1,vars:0,template:function(t,i){1&t&&(Bo(),Dr(0))},encapsulation:2})}}class So{constructor(){this.closeOnEscape=!0,this.closeOnOutsideClick=!0,this.hideCloseButton=!1,this.backdrop=!0,this.onOpen=new Se(!1),this.onClose=new Se(!1),this.onSubmit=new Se(!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{this.\u0275fac=function(t){return new(t||So)}}static{this.\u0275cmp=Fe({type:So,selectors:[["modal"]],viewQuery:function(t,i){if(1&t&&qt(bde,7),2&t){let r;Ee(r=xe())&&(i.modalRoot=r.first)}},inputs:{modalClass:"modalClass",closeOnEscape:"closeOnEscape",closeOnOutsideClick:"closeOnOutsideClick",title:"title",hideCloseButton:"hideCloseButton",cancelButtonLabel:"cancelButtonLabel",submitButtonLabel:"submitButtonLabel",backdrop:"backdrop"},outputs:{onOpen:"onOpen",onClose:"onClose",onSubmit:"onSubmit"},standalone:!1,ngContentSelectors:Cde,decls:4,vars:10,consts:[["modalRoot",""],["tabindex","-1","role","dialog",1,"modal",3,"keydown.esc","click","ngClass","ngStyle"],[3,"click"],["tabindex","0",1,"modal-content"],[1,"modal-header"],["type","button","data-dismiss","modal",1,"close"],[1,"modal-title"],[1,"modal-body"],[1,"modal-footer"],["type","button","data-dismiss","modal",1,"btn","btn-default"],["type","button",1,"btn","btn-primary"],["type","button","data-dismiss","modal",1,"close",3,"click"],["aria-hidden","true"],["type","button","data-dismiss","modal",1,"btn","btn-default",3,"click"],["type","button",1,"btn","btn-primary",3,"click"]],template:function(t,i){1&t&&(Bo(wde),f(0,"div",1,0),W("keydown.esc",function(){return i.closeOnEscape?i.close():0})("click",function(){return i.closeOnOutsideClick?i.close():0}),f(2,"div",2),W("click",function(o){return i.preventClosing(o)}),V(3,xde,11,4,"div",3),p()()),2&t&&(U("ngClass",zo(5,Mde,i.isOpened,i.isOpened))("ngStyle",ai(8,Dde,i.isOpened?"block":"none")),C(2),Cn("modal-dialog "+i.modalClass),C(),B(i.isOpened?3:-1))},dependencies:[yo,vo],encapsulation:2})}}const Lde=["modalRoot"],Ide=[[["modal-header"]],[["modal-content"]],[["modal-footer"]]],Pde=["modal-header","modal-content","modal-footer"],Ade=(n,e)=>({in:n,fade:e}),Ode=n=>({display:n});function Rde(n,e){if(1&n){const t=pe();f(0,"button",11),W("click",function(){ne(t);return ie(A(2).close())}),f(1,"span",12),w(2,"\xd7"),p()()}if(2&n){Zn("aria-label",A(2).cancelButtonLabel||"Close")}}function Nde(n,e){if(1&n&&(f(0,"h4",6),w(1),p()),2&n){const t=A(2);C(),De(t.title)}}function Fde(n,e){if(1&n){const t=pe();f(0,"button",13),W("click",function(){ne(t);return ie(A(2).close())}),w(1),p()}if(2&n){const t=A(2);C(),We(" ",t.cancelButtonLabel," ")}}function Yde(n,e){if(1&n){const t=pe();f(0,"button",14),W("click",function(){ne(t);return ie(A(2).onSubmit.emit(void 0))}),w(1),p()}if(2&n){const t=A(2);C(),We(" ",t.submitButtonLabel," ")}}function jde(n,e){if(1&n&&(f(0,"div",3)(1,"div",4),V(2,Rde,3,1,"button",5),V(3,Nde,2,1,"h4",6),Dr(4),p(),f(5,"div",7),Dr(6,1),p(),f(7,"div",8),Dr(8,2),V(9,Fde,2,1,"button",9),V(10,Yde,2,1,"button",10),p()()),2&n){const t=A();C(2),B(t.hideCloseButton?-1:2),C(),B(t.title?3:-1),C(6),B(t.cancelButtonLabel?9:-1),C(),B(t.submitButtonLabel?10:-1)}}class _c{constructor(e,t){this.router=e,this.activatedRoute=t,this.closeOnEscape=!0,this.closeOnOutsideClick=!0,this.hideCloseButton=!1,this.backdrop=!0,this.onOpen=new Se(!1),this.onClose=new Se(!1),this.onSubmit=new Se(!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{this.\u0275fac=function(t){return new(t||_c)(G(St),G(ir))}}static{this.\u0275cmp=Fe({type:_c,selectors:[["route-modal"]],viewQuery:function(t,i){if(1&t&&qt(Lde,7),2&t){let r;Ee(r=xe())&&(i.modalRoot=r.first)}},inputs:{cancelUrl:"cancelUrl",cancelUrlExtras:"cancelUrlExtras",modalClass:"modalClass",closeOnEscape:"closeOnEscape",closeOnOutsideClick:"closeOnOutsideClick",title:"title",hideCloseButton:"hideCloseButton",cancelButtonLabel:"cancelButtonLabel",submitButtonLabel:"submitButtonLabel",backdrop:"backdrop"},outputs:{onOpen:"onOpen",onClose:"onClose",onSubmit:"onSubmit"},standalone:!1,ngContentSelectors:Pde,decls:4,vars:10,consts:[["modalRoot",""],["tabindex","-1","role","dialog",1,"modal","route-modal",3,"keydown.esc","click","ngClass","ngStyle"],[3,"click"],["tabindex","0",1,"modal-content"],[1,"modal-header"],["type","button","data-dismiss","modal",1,"close"],[1,"modal-title"],[1,"modal-body"],[1,"modal-footer"],["type","button","data-dismiss","modal",1,"btn","btn-default"],["type","button",1,"btn","btn-primary"],["type","button","data-dismiss","modal",1,"close",3,"click"],["aria-hidden","true"],["type","button","data-dismiss","modal",1,"btn","btn-default",3,"click"],["type","button",1,"btn","btn-primary",3,"click"]],template:function(t,i){1&t&&(Bo(Ide),f(0,"div",1,0),W("keydown.esc",function(){return i.closeOnEscape?i.close():0})("click",function(){return i.closeOnOutsideClick?i.close():0}),f(2,"div",2),W("click",function(o){return i.preventClosing(o)}),V(3,jde,11,4,"div",3),p()()),2&t&&(U("ngClass",zo(5,Ade,i.isOpened,i.isOpened))("ngStyle",ai(8,Ode,i.isOpened?"block":"none")),C(2),Cn("modal-dialog "+i.modalClass),C(),B(i.isOpened?3:-1))},dependencies:[yo,vo],encapsulation:2})}}class H_{static{this.\u0275fac=function(t){return new(t||H_)}}static{this.\u0275mod=Ct({type:H_})}static{this.\u0275inj=dt({imports:[qo]})}}class js{static{this.\u0275fac=function(t){return new(t||js)}}static{this.\u0275mod=Ct({type:js})}static{this.\u0275inj=dt({providers:[j_,Lf],imports:[qo,Zh,dc,Ef,H_,F_,Tf,fi,N_,iM,qo,dc,Zh,H_,F_,Tf,Ef,N_]})}}var Hde=P(9812);class Un{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(Mi(t=>{this.ueHttp.setCsrfToken(t.csrf)}))}logout(){return this.ueHttp.get(this.url+"/logout").pipe(Mi(()=>{this.ueHttp.removeCsrfToken(),this.sessionTimeoutService.stopInterval(),this.isLoggedIn=!1}),io(()=>{throw this.ueHttp.removeCsrfToken(),this.sessionTimeoutService.stopInterval(),this.isLoggedIn=!1,{error:"Logout error"}}))}register(e){return this.ueHttp.post(this.url+"/register",e).pipe(Mi(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(Mi(e=>{this.permissions=e}))}checkPermissions(e){const t=this.ueHttp.csrf,i=Hde(t+e);return-1!==this.permissions.indexOf(i)}static{this.\u0275fac=function(t){return new(t||Un)(Ce(Gi),Ce(Ys))}}static{this.\u0275prov=ue({token:Un,factory:Un.\u0275fac})}}class es{constructor(e,t,i,r){this.authService=e,this.http=t,this.router=i,this.ueHttp=r,this.url="/api/DVPRTLFE/developers/keep_alive"}canActivate(){return this.authService.isLoggedIn?Qe(!0):this.http.get(this.url,{headers:this.ueHttp.getAuthHeader()}).pipe(Bn(e=>(this.authService.isLoggedIn=!0,!0)),io(e=>(this.logout(),Qe(!1))))}logout(){this.authService.logout().subscribe(e=>{this.router.navigate(["/login"],{queryParams:{accessDenied:!0}})},e=>{this.router.navigate(["/login"],{queryParams:{accessDenied:!0}})})}static{this.\u0275fac=function(t){return new(t||es)(Ce(Un),Ce(Ls),Ce(St),Ce(Gi))}}static{this.\u0275prov=ue({token:es,factory:es.\u0275fac})}}class If{constructor(e,t,i,r){this.authService=e,this.http=t,this.router=i,this.ueHttp=r,this.url="/api/DVPRTLFE/developers/keep_alive"}canActivate(e,t){return this.checkInvite(t),this.http.get(this.url,{headers:this.ueHttp.getAuthHeader()}).pipe(Bn(i=>{if(!this.authService.isInvitation)return this.authService.isLoggedIn=!0,this.router.navigate(["/dashboard"]),!1;this.goToInvite(t.url)}),io(()=>Qe(!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{this.\u0275fac=function(t){return new(t||If)(Ce(Un),Ce(Ls),Ce(St),Ce(Gi))}}static{this.\u0275prov=ue({token:If,factory:If.\u0275fac})}}class ll{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{this.\u0275fac=function(t){return new(t||ll)}}static{this.\u0275prov=ue({token:ll,factory:ll.\u0275fac})}}class Hs{constructor(e,t){this.authService=e,this.router=t}canActivate(e,t){return this.authService.permissions.length>0?Qe(this.pickRoute(e.url[0].path)):this.authService.getPermissions().pipe(Bn(i=>this.pickRoute(e.url[0].path),i=>Qe(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{this.\u0275fac=function(t){return new(t||Hs)(Ce(Un),Ce(St))}}static{this.\u0275prov=ue({token:Hs,factory:Hs.\u0275fac})}}class du{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{this.\u0275fac=function(t){return new(t||du)(Ce(Gi))}}static{this.\u0275prov=ue({token:du,factory:du.\u0275fac})}}class V_{static{this.\u0275fac=function(t){return new(t||V_)}}static{this.\u0275mod=Ct({type:V_})}static{this.\u0275inj=dt({providers:[Un,es,If,al,xf,Ys,ll,Hs,du],imports:[fi,js,f_,VC]})}}function Vs(n){return n.map(e=>(...t)=>$(e).canActivate(...t))}function Pf(n){return n+.5|0}const cl=(n,e,t)=>Math.max(Math.min(n,t),e);function B_(n){return cl(Pf(2.55*n),0,255)}function yc(n){return cl(Pf(255*n),0,255)}function dl(n){return cl(Pf(n/2.55)/100,0,1)}function a4(n){return cl(Pf(100*n),0,100)}const ts={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},ox=[..."0123456789ABCDEF"],Vde=n=>ox[15&n],Bde=n=>ox[(240&n)>>4]+ox[15&n],dM=n=>(240&n)>>4==(15&n);function Wde(n){var e=(n=>dM(n.r)&&dM(n.g)&&dM(n.b)&&dM(n.a))(n)?Vde:Bde;return n?"#"+e(n.r)+e(n.g)+e(n.b)+((n,e)=>n<255?e(n):"")(n.a,e):void 0}const qde=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function l4(n,e,t){const i=e*Math.min(t,1-t),r=(o,s=(o+n/30)%12)=>t-i*Math.max(Math.min(s-3,9-s,1),-1);return[r(0),r(8),r(4)]}function Gde(n,e,t){const i=(r,o=(r+n/60)%6)=>t-t*e*Math.max(Math.min(o,4-o,1),0);return[i(5),i(3),i(1)]}function Qde(n,e,t){const i=l4(n,1,.5);let r;for(e+t>1&&(r=1/(e+t),e*=r,t*=r),r=0;r<3;r++)i[r]*=1-e-t,i[r]+=e;return i}function sx(n){const t=n.r/255,i=n.g/255,r=n.b/255,o=Math.max(t,i,r),s=Math.min(t,i,r),a=(o+s)/2;let l,c,d;return o!==s&&(d=o-s,c=a>.5?d/(2-o-s):d/(o+s),l=function Kde(n,e,t,i,r){return n===r?(e-t)/i+(e>16&255,o>>8&255,255&o]}return n}(),uM.transparent=[0,0,0,0]);const e=uM[n.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const rue=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const cx=n=>n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055,Af=n=>n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4);function hM(n,e,t){if(n){let i=sx(n);i[e]=Math.max(0,Math.min(i[e]+i[e]*t,0===e?360:1)),i=lx(i),n.r=i[0],n.g=i[1],n.b=i[2]}}function h4(n,e){return n&&Object.assign(e||{},n)}function f4(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=yc(n[3]))):(e=h4(n,{r:0,g:0,b:0,a:1})).a=yc(e.a),e}function lue(n){return"r"===n.charAt(0)?function oue(n){const e=rue.exec(n);let i,r,o,t=255;if(e){if(e[7]!==i){const s=+e[7];t=e[8]?B_(s):cl(255*s,0,255)}return i=+e[1],r=+e[3],o=+e[5],i=255&(e[2]?B_(i):cl(i,0,255)),r=255&(e[4]?B_(r):cl(r,0,255)),o=255&(e[6]?B_(o):cl(o,0,255)),{r:i,g:r,b:o,a:t}}}(n):Xde(n)}class Of{constructor(e){if(e instanceof Of)return e;const t=typeof e;let i;"object"===t?i=f4(e):"string"===t&&(i=function zde(n){var t,e=n.length;return"#"===n[0]&&(4===e||5===e?t={r:255&17*ts[n[1]],g:255&17*ts[n[2]],b:255&17*ts[n[3]],a:5===e?17*ts[n[4]]:255}:(7===e||9===e)&&(t={r:ts[n[1]]<<4|ts[n[2]],g:ts[n[3]]<<4|ts[n[4]],b:ts[n[5]]<<4|ts[n[6]],a:9===e?ts[n[7]]<<4|ts[n[8]]:255})),t}(e)||iue(e)||lue(e)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var e=h4(this._rgb);return e&&(e.a=dl(e.a)),e}set rgb(e){this._rgb=f4(e)}rgbString(){return this._valid?function sue(n){return n&&(n.a<255?`rgba(${n.r}, ${n.g}, ${n.b}, ${dl(n.a)})`:`rgb(${n.r}, ${n.g}, ${n.b})`)}(this._rgb):void 0}hexString(){return this._valid?Wde(this._rgb):void 0}hslString(){return this._valid?function tue(n){if(!n)return;const e=sx(n),t=e[0],i=a4(e[1]),r=a4(e[2]);return n.a<255?`hsla(${t}, ${i}%, ${r}%, ${dl(n.a)})`:`hsl(${t}, ${i}%, ${r}%)`}(this._rgb):void 0}mix(e,t){if(e){const i=this.rgb,r=e.rgb;let o;const s=t===o?.5:t,a=2*s-1,l=i.a-r.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,i.r=255&c*i.r+o*r.r+.5,i.g=255&c*i.g+o*r.g+.5,i.b=255&c*i.b+o*r.b+.5,i.a=s*i.a+(1-s)*r.a,this.rgb=i}return this}interpolate(e,t){return e&&(this._rgb=function aue(n,e,t){const i=Af(dl(n.r)),r=Af(dl(n.g)),o=Af(dl(n.b));return{r:yc(cx(i+t*(Af(dl(e.r))-i))),g:yc(cx(r+t*(Af(dl(e.g))-r))),b:yc(cx(o+t*(Af(dl(e.b))-o))),a:n.a+t*(e.a-n.a)}}(this._rgb,e._rgb,t)),this}clone(){return new Of(this.rgb)}alpha(e){return this._rgb.a=yc(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=Pf(.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 hM(this._rgb,2,e),this}darken(e){return hM(this._rgb,2,-e),this}saturate(e){return hM(this._rgb,1,e),this}desaturate(e){return hM(this._rgb,1,-e),this}rotate(e){return function eue(n,e){var t=sx(n);t[0]=c4(t[0]+e),t=lx(t),n.r=t[0],n.g=t[1],n.b=t[2]}(this._rgb,e),this}}function ul(){}const cue=(()=>{let n=0;return()=>n++})();function Gt(n){return null==n}function Xn(n){if(Array.isArray&&Array.isArray(n))return!0;const e=Object.prototype.toString.call(n);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function Zt(n){return null!==n&&"[object Object]"===Object.prototype.toString.call(n)}function vi(n){return("number"==typeof n||n instanceof Number)&&isFinite(+n)}function ko(n,e){return vi(n)?n:e}function kt(n,e){return typeof n>"u"?e:n}const p4=(n,e)=>"string"==typeof n&&n.endsWith("%")?parseFloat(n)/100*e:+n;function Gn(n,e,t){if(n&&"function"==typeof n.call)return n.apply(t,e)}function Fn(n,e,t,i){let r,o,s;if(Xn(n))if(o=n.length,i)for(r=o-1;r>=0;r--)e.call(t,n[r],r);else for(r=0;rn,x:n=>n.x,y:n=>n.y};function vc(n,e){return(g4[e]||(g4[e]=function pue(n){const e=function fue(n){const e=n.split("."),t=[];let i="";for(const r of e)i+=r,i.endsWith("\\")?i=i.slice(0,-1)+".":(t.push(i),i="");return t}(n);return t=>{for(const i of e){if(""===i)break;t=t&&t[i]}return t}}(e)))(n)}function dx(n){return n.charAt(0).toUpperCase()+n.slice(1)}const $_=n=>typeof n<"u",bc=n=>"function"==typeof n,_4=(n,e)=>{if(n.size!==e.size)return!1;for(const t of n)if(!e.has(t))return!1;return!0};const mn=Math.PI,ei=2*mn,gue=ei+mn,mM=Number.POSITIVE_INFINITY,_ue=mn/180,Di=mn/2,uu=mn/4,y4=2*mn/3,wc=Math.log10,va=Math.sign;function W_(n,e,t){return Math.abs(n-e)l&&c=Math.min(e,t)-i&&n<=Math.max(e,t)+i}function fx(n,e,t){t=t||(s=>n[s]1;)o=r+i>>1,t(o)?r=o:i=o;return{lo:r,hi:i}}const fl=(n,e,t,i)=>fx(n,t,i?r=>{const o=n[r][e];return on[r][e]fx(n,t,i=>n[i][e]>=t);const M4=["push","pop","shift","splice","unshift"];function D4(n,e){const t=n._chartjs;if(!t)return;const i=t.listeners,r=i.indexOf(e);-1!==r&&i.splice(r,1),!(i.length>0)&&(M4.forEach(o=>{delete n[o]}),delete n._chartjs)}function S4(n){const e=new Set(n);return e.size===n.length?n:Array.from(e)}const k4=typeof window>"u"?function(n){return n()}:window.requestAnimationFrame;function T4(n,e){let t=[],i=!1;return function(...r){t=r,i||(i=!0,k4.call(window,()=>{i=!1,n.apply(e,t)}))}}const px=n=>"start"===n?"left":"end"===n?"right":"center",Ar=(n,e,t)=>"start"===n?e:"end"===n?t:(e+t)/2;function E4(n,e,t){const i=e.length;let r=0,o=i;if(n._sorted){const{iScale:s,vScale:a,_parsed:l}=n,c=n.dataset&&n.dataset.options?n.dataset.options.spanGaps:null,d=s.axis,{min:m,max:b,minDefined:S,maxDefined:T}=s.getUserBounds();if(S){if(r=Math.min(fl(l,d,m).lo,t?i:fl(e,d,s.getPixelForValue(m)).lo),c){const I=l.slice(0,r+1).reverse().findIndex(R=>!Gt(R[a.axis]));r-=Math.max(0,I)}r=rr(r,0,i-1)}if(T){let I=Math.max(fl(l,s.axis,b,!0).hi+1,t?0:fl(e,d,s.getPixelForValue(b),!0).hi+1);if(c){const R=l.slice(I-1).findIndex(H=>!Gt(H[a.axis]));I+=Math.max(0,R)}o=rr(I,r,i)-r}else o=i-r}return{start:r,count:o}}function x4(n){const{xScale:e,yScale:t,_scaleRanges:i}=n,r={xmin:e.min,xmax:e.max,ymin:t.min,ymax:t.max};if(!i)return n._scaleRanges=r,!0;const o=i.xmin!==e.min||i.xmax!==e.max||i.ymin!==t.min||i.ymax!==t.max;return Object.assign(i,r),o}const gM=n=>0===n||1===n,L4=(n,e,t)=>-Math.pow(2,10*(n-=1))*Math.sin((n-e)*ei/t),I4=(n,e,t)=>Math.pow(2,-10*n)*Math.sin((n-e)*ei/t)+1,G_={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*Di),easeOutSine:n=>Math.sin(n*Di),easeInOutSine:n=>-.5*(Math.cos(mn*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=>gM(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=>gM(n)?n:L4(n,.075,.3),easeOutElastic:n=>gM(n)?n:I4(n,.075,.3),easeInOutElastic:n=>gM(n)?n:n<.5?.5*L4(2*n,.1125,.45):.5+.5*I4(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-G_.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*G_.easeInBounce(2*n):.5*G_.easeOutBounce(2*n-1)+.5};function mx(n){if(n&&"object"==typeof n){const e=n.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function P4(n){return mx(n)?n:new Of(n)}function gx(n){return mx(n)?n:new Of(n).saturate(.5).darken(.1).hexString()}const Eue=["x","y","borderWidth","radius","tension"],xue=["color","borderColor","backgroundColor"];const A4=new Map;function Q_(n,e,t){return function Pue(n,e){e=e||{};const t=n+JSON.stringify(e);let i=A4.get(t);return i||(i=new Intl.NumberFormat(n,e),A4.set(t,i)),i}(e,t).format(n)}const O4={values:n=>Xn(n)?n:""+n,numeric(n,e,t){if(0===n)return"0";const i=this.chart.options.locale;let r,o=n;if(t.length>1){const c=Math.max(Math.abs(t[0].value),Math.abs(t[t.length-1].value));(c<1e-4||c>1e15)&&(r="scientific"),o=function Aue(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 s=wc(Math.abs(o)),a=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:r,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),Q_(n,i,l)},logarithmic(n,e,t){if(0===n)return"0";const i=t[e].significand||n/Math.pow(10,Math.floor(wc(n)));return[1,2,3,5,10,15].includes(i)||e>.8*t.length?O4.numeric.call(this,n,e,t):""}};var _M={formatters:O4};const hu=Object.create(null),_x=Object.create(null);function K_(n,e){if(!e)return n;const t=e.split(".");for(let i=0,r=t.length;ii.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=(i,r)=>gx(r.backgroundColor),this.hoverBorderColor=(i,r)=>gx(r.borderColor),this.hoverColor=(i,r)=>gx(r.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},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),this.apply(t)}set(e,t){return yx(this,e,t)}get(e){return K_(this,e)}describe(e,t){return yx(_x,e,t)}override(e,t){return yx(hu,e,t)}route(e,t,i,r){const o=K_(this,e),s=K_(this,i),a="_"+t;Object.defineProperties(o,{[a]:{value:o[t],writable:!0},[t]:{enumerable:!0,get(){const l=this[a],c=s[r];return Zt(l)?Object.assign({},c,l):kt(l,c)},set(l){this[a]=l}}})}apply(e){e.forEach(t=>t(this))}}var ti=new Rue({_scriptable:n=>!n.startsWith("on"),_indexable:n=>"events"!==n,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function Lue(n){n.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),n.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),n.set("animations",{colors:{type:"color",properties:xue},numbers:{type:"number",properties:Eue}}),n.describe("animations",{_fallback:"animation"}),n.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:e=>0|e}}}})},function Iue(n){n.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function Oue(n){n.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width: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:_M.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),n.route("scale.ticks","color","","color"),n.route("scale.grid","color","","borderColor"),n.route("scale.border","color","","borderColor"),n.route("scale.title","color","","color"),n.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e&&"dash"!==e}),n.describe("scales",{_fallback:"scale"}),n.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e})}]);function yM(n,e,t,i,r){let o=e[r];return o||(o=e[r]=n.measureText(r).width,t.push(r)),o>i&&(i=o),i}function Fue(n,e,t,i){let r=(i=i||{}).data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(r=i.data={},o=i.garbageCollect=[],i.font=e),n.save(),n.font=e;let s=0;const a=t.length;let l,c,d,m,b;for(l=0;lt.length){for(l=0;l0&&n.stroke()}}function pl(n,e,t){return t=t||.5,!e||n&&n.x>e.left-t&&n.xe.top-t&&n.y0&&""!==o.strokeColor;let l,c;for(n.save(),n.font=r.string,function Hue(n,e){e.translation&&n.translate(e.translation[0],e.translation[1]),Gt(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),l=0;l+n||0;function bx(n,e){const t={},i=Zt(e),r=i?Object.keys(e):e,o=Zt(n)?i?s=>kt(n[s],n[e[s]]):s=>n[s]:()=>n;for(const s of r)t[s]=Wue(o(s));return t}function F4(n){return bx(n,{top:"y",right:"x",bottom:"y",left:"x"})}function mu(n){return bx(n,["topLeft","topRight","bottomLeft","bottomRight"])}function Or(n){const e=F4(n);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Qi(n,e){n=n||{},e=e||ti.font;let t=kt(n.size,e.size);"string"==typeof t&&(t=parseInt(t,10));let i=kt(n.style,e.style);i&&!(""+i).match(zue)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);const r={family:kt(n.family,e.family),lineHeight:$ue(kt(n.lineHeight,e.lineHeight),t),size:t,style:i,weight:kt(n.weight,e.weight),string:""};return r.string=function Nue(n){return!n||Gt(n.size)||Gt(n.family)?null:(n.style?n.style+" ":"")+(n.weight?n.weight+" ":"")+n.size+"px "+n.family}(r),r}function Z_(n,e,t,i){let o,s,a,r=!0;for(o=0,s=n.length;on[0]){const o=t||n;typeof i>"u"&&(i=B4("_fallback",n));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:n,_rootScopes:o,_fallback:i,_getTarget:r,override:a=>wx([a,...n],e,o,i)};return new Proxy(s,{deleteProperty:(a,l)=>(delete a[l],delete a._keys,delete n[0][l],!0),get:(a,l)=>j4(a,l,()=>function the(n,e,t,i){let r;for(const o of e)if(r=B4(Gue(o,n),t),typeof r<"u")return Cx(n,r)?Mx(t,i,n,r):r}(l,e,n,a)),getOwnPropertyDescriptor:(a,l)=>Reflect.getOwnPropertyDescriptor(a._scopes[0],l),getPrototypeOf:()=>Reflect.getPrototypeOf(n[0]),has:(a,l)=>U4(a).includes(l),ownKeys:a=>U4(a),set(a,l,c){const d=a._storage||(a._storage=r());return a[l]=d[l]=c,delete a._keys,!0}})}function Nf(n,e,t,i){const r={_cacheable:!1,_proxy:n,_context:e,_subProxy:t,_stack:new Set,_descriptors:Y4(n,i),setContext:o=>Nf(n,o,t,i),override:o=>Nf(n.override(o),e,t,i)};return new Proxy(r,{deleteProperty:(o,s)=>(delete o[s],delete n[s],!0),get:(o,s,a)=>j4(o,s,()=>function Que(n,e,t){const{_proxy:i,_context:r,_subProxy:o,_descriptors:s}=n;let a=i[e];return bc(a)&&s.isScriptable(e)&&(a=function Kue(n,e,t,i){const{_proxy:r,_context:o,_subProxy:s,_stack:a}=t;if(a.has(n))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+n);a.add(n);let l=e(o,s||i);return a.delete(n),Cx(n,l)&&(l=Mx(r._scopes,r,n,l)),l}(e,a,n,t)),Xn(a)&&a.length&&(a=function Jue(n,e,t,i){const{_proxy:r,_context:o,_subProxy:s,_descriptors:a}=t;if(typeof o.index<"u"&&i(n))return e[o.index%e.length];if(Zt(e[0])){const l=e,c=r._scopes.filter(d=>d!==l);e=[];for(const d of l){const m=Mx(c,r,n,d);e.push(Nf(m,o,s&&s[n],a))}}return e}(e,a,n,s.isIndexable)),Cx(e,a)&&(a=Nf(a,r,o&&o[e],s)),a}(o,s,a)),getOwnPropertyDescriptor:(o,s)=>o._descriptors.allKeys?Reflect.has(n,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(n,s),getPrototypeOf:()=>Reflect.getPrototypeOf(n),has:(o,s)=>Reflect.has(n,s),ownKeys:()=>Reflect.ownKeys(n),set:(o,s,a)=>(n[s]=a,delete o[s],!0)})}function Y4(n,e={scriptable:!0,indexable:!0}){const{_scriptable:t=e.scriptable,_indexable:i=e.indexable,_allKeys:r=e.allKeys}=n;return{allKeys:r,scriptable:t,indexable:i,isScriptable:bc(t)?t:()=>t,isIndexable:bc(i)?i:()=>i}}const Gue=(n,e)=>n?n+dx(e):e,Cx=(n,e)=>Zt(e)&&"adapters"!==n&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function j4(n,e,t){if(Object.prototype.hasOwnProperty.call(n,e)||"constructor"===e)return n[e];const i=t();return n[e]=i,i}function H4(n,e,t){return bc(n)?n(e,t):n}const Zue=(n,e)=>!0===n?e:"string"==typeof n?vc(e,n):void 0;function Xue(n,e,t,i,r){for(const o of e){const s=Zue(t,o);if(s){n.add(s);const a=H4(s._fallback,t,r);if(typeof a<"u"&&a!==t&&a!==i)return a}else if(!1===s&&typeof i<"u"&&t!==i)return null}return!1}function Mx(n,e,t,i){const r=e._rootScopes,o=H4(e._fallback,t,i),s=[...n,...r],a=new Set;a.add(i);let l=V4(a,s,t,o||t,i);return!(null===l||typeof o<"u"&&o!==t&&(l=V4(a,s,o,l,i),null===l))&&wx(Array.from(a),[""],r,o,()=>function ehe(n,e,t){const i=n._getTarget();e in i||(i[e]={});const r=i[e];return Xn(r)&&Zt(t)?t:r||{}}(e,t,i))}function V4(n,e,t,i,r){for(;t;)t=Xue(n,e,t,i,r);return t}function B4(n,e){for(const t of e){if(!t)continue;const i=t[n];if(typeof i<"u")return i}}function U4(n){let e=n._keys;return e||(e=n._keys=function nhe(n){const e=new Set;for(const t of n)for(const i of Object.keys(t).filter(r=>!r.startsWith("_")))e.add(i);return Array.from(e)}(n._scopes)),e}function z4(n,e,t,i){const{iScale:r}=n,{key:o="r"}=this._parsing,s=new Array(i);let a,l,c,d;for(a=0,l=i;ae"x"===n?"y":"x";function rhe(n,e,t,i){const r=n.skip?e:n,o=e,s=t.skip?e:t,a=hx(o,r),l=hx(s,o);let c=a/(a+l),d=l/(a+l);c=isNaN(c)?0:c,d=isNaN(d)?0:d;const m=i*c,b=i*d;return{previous:{x:o.x-m*(s.x-r.x),y:o.y-m*(s.y-r.y)},next:{x:o.x+b*(s.x-r.x),y:o.y+b*(s.y-r.y)}}}function ahe(n,e="x"){const t=$4(e),i=n.length,r=Array(i).fill(0),o=Array(i);let s,a,l,c=Ff(n,0);for(s=0;s!c.skip)),"monotone"===e.cubicInterpolationMode)ahe(n,r);else{let c=i?n[n.length-1]:n[0];for(o=0,s=n.length;on.ownerDocument.defaultView.getComputedStyle(n,null);const uhe=["top","right","bottom","left"];function gu(n,e,t){const i={};t=t?"-"+t:"";for(let r=0;r<4;r++){const o=uhe[r];i[o]=parseFloat(n[e+"-"+o+t])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}function _u(n,e){if("native"in n)return n;const{canvas:t,currentDevicePixelRatio:i}=e,r=MM(t),o="border-box"===r.boxSizing,s=gu(r,"padding"),a=gu(r,"border","width"),{x:l,y:c,box:d}=function fhe(n,e){const t=n.touches,i=t&&t.length?t[0]:n,{offsetX:r,offsetY:o}=i;let a,l,s=!1;if(((n,e,t)=>(n>0||e>0)&&(!t||!t.shadowRoot))(r,o,n.target))a=r,l=o;else{const c=e.getBoundingClientRect();a=i.clientX-c.left,l=i.clientY-c.top,s=!0}return{x:a,y:l,box:s}}(n,t),m=s.left+(d&&a.left),b=s.top+(d&&a.top);let{width:S,height:T}=e;return o&&(S-=s.width+a.width,T-=s.height+a.height),{x:Math.round((l-m)/S*t.width/i),y:Math.round((c-b)/T*t.height/i)}}const Mc=n=>Math.round(10*n)/10;function mhe(n,e,t,i){const r=MM(n),o=gu(r,"margin"),s=CM(r.maxWidth,n,"clientWidth")||mM,a=CM(r.maxHeight,n,"clientHeight")||mM,l=function phe(n,e,t){let i,r;if(void 0===e||void 0===t){const o=n&&Sx(n);if(o){const s=o.getBoundingClientRect(),a=MM(o),l=gu(a,"border","width"),c=gu(a,"padding");e=s.width-c.width-l.width,t=s.height-c.height-l.height,i=CM(a.maxWidth,o,"clientWidth"),r=CM(a.maxHeight,o,"clientHeight")}else e=n.clientWidth,t=n.clientHeight}return{width:e,height:t,maxWidth:i||mM,maxHeight:r||mM}}(n,e,t);let{width:c,height:d}=l;if("content-box"===r.boxSizing){const b=gu(r,"border","width"),S=gu(r,"padding");c-=S.width+b.width,d-=S.height+b.height}return c=Math.max(0,c-o.width),d=Math.max(0,i?c/i:d-o.height),c=Mc(Math.min(c,s,l.maxWidth)),d=Mc(Math.min(d,a,l.maxHeight)),c&&!d&&(d=Mc(c/2)),(void 0!==e||void 0!==t)&&i&&l.height&&d>l.height&&(d=l.height,c=Mc(Math.floor(d*i))),{width:c,height:d}}function W4(n,e,t){const i=e||1,r=Mc(n.height*i),o=Mc(n.width*i);n.height=Mc(n.height),n.width=Mc(n.width);const s=n.canvas;return s.style&&(t||!s.style.height&&!s.style.width)&&(s.style.height=`${n.height}px`,s.style.width=`${n.width}px`),(n.currentDevicePixelRatio!==i||s.height!==r||s.width!==o)&&(n.currentDevicePixelRatio=i,s.height=r,s.width=o,n.ctx.setTransform(i,0,0,i,0,0),!0)}const ghe=function(){let n=!1;try{const e={get passive(){return n=!0,!1}};Dx()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return n}();function q4(n,e){const t=function dhe(n,e){return MM(n).getPropertyValue(e)}(n,e),i=t&&t.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function yu(n,e,t,i){return{x:n.x+t*(e.x-n.x),y:n.y+t*(e.y-n.y)}}function _he(n,e,t,i){return{x:n.x+t*(e.x-n.x),y:"middle"===i?t<.5?n.y:e.y:"after"===i?t<1?n.y:e.y:t>0?e.y:n.y}}function yhe(n,e,t,i){const r={x:n.cp2x,y:n.cp2y},o={x:e.cp1x,y:e.cp1y},s=yu(n,r,t),a=yu(r,o,t),l=yu(o,e,t),c=yu(s,a,t),d=yu(a,l,t);return yu(c,d,t)}function Yf(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,i)=>t-i,leftForLtr:(t,i)=>t-i}}(e,t):{x:n=>n,setWidth(n){},textAlign:n=>n,xPlus:(n,e)=>n+e,leftForLtr:(n,e)=>n}}function G4(n,e){let t,i;("ltr"===e||"rtl"===e)&&(t=n.canvas.style,i=[t.getPropertyValue("direction"),t.getPropertyPriority("direction")],t.setProperty("direction",e,"important"),n.prevTextDirection=i)}function Q4(n,e){void 0!==e&&(delete n.prevTextDirection,n.canvas.style.setProperty("direction",e[0],e[1]))}function K4(n){return"angle"===n?{between:q_,compare:wue,normalize:Pr}:{between:hl,compare:(e,t)=>e-t,normalize:e=>e}}function J4({start:n,end:e,count:t,loop:i,style:r}){return{start:n%t,end:e%t,loop:i&&(e-n+1)%t==0,style:r}}function Z4(n,e,t){if(!t)return[n];const{property:i,start:r,end:o}=t,s=e.length,{compare:a,between:l,normalize:c}=K4(i),{start:d,end:m,loop:b,style:S}=function whe(n,e,t){const{property:i,start:r,end:o}=t,{between:s,normalize:a}=K4(i),l=e.length;let b,S,{start:c,end:d,loop:m}=n;if(m){for(c+=l,d+=l,b=0,S=l;bI||l(r,re,H)&&0!==a(r,re),ve=()=>!I||0===a(o,H)||l(o,re,H);for(let Me=d,$e=d;Me<=m;++Me)j=e[Me%s],!j.skip&&(H=c(j[i]),H!==re&&(I=l(H,r,o),null===R&&ye()&&(R=0===a(H,r)?Me:$e),null!==R&&ve()&&(T.push(J4({start:R,end:Me,loop:b,count:s,style:S})),R=null),$e=Me,re=H));return null!==R&&T.push(J4({start:R,end:m,loop:b,count:s,style:S})),T}function X4(n,e){const t=[],i=n.segments;for(let r=0;ra({chart:e,initial:t.initial,numSteps:s,currentStep:Math.min(i-t.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=k4.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((i,r)=>{if(!i.running||!i.items.length)return;const o=i.items;let l,s=o.length-1,a=!1;for(;s>=0;--s)l=o[s],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(e),a=!0):(o[s]=o[o.length-1],o.pop());a&&(r.draw(),this._notify(r,i,e,"progress")),o.length||(i.running=!1,this._notify(r,i,e,"complete"),i.initial=!1),t+=o.length}),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let i=t.get(e);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,i)),i}listen(e,t,i){this._getAnims(e).listeners[t].push(i)}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((i,r)=>Math.max(i,r._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 i=t.items;let r=i.length-1;for(;r>=0;--r)i[r].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var ml=new Ehe;const iV="transparent",xhe={boolean:(n,e,t)=>t>.5?e:n,color(n,e,t){const i=P4(n||iV),r=i.valid&&P4(e||iV);return r&&r.valid?r.mix(i,t).hexString():e},number:(n,e,t)=>n+(e-n)*t};class Lhe{constructor(e,t,i,r){const o=t[i];r=Z_([e.to,r,o,e.from]);const s=Z_([e.from,o,r]);this._active=!0,this._fn=e.fn||xhe[e.type||typeof s],this._easing=G_[e.easing]||G_.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=i,this._from=s,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,i){if(this._active){this._notify(!1);const r=this._target[this._prop],o=i-this._start,s=this._duration-o;this._start=i,this._duration=Math.floor(Math.max(s,e.duration)),this._total+=o,this._loop=!!e.loop,this._to=Z_([e.to,t,r,e.from]),this._from=Z_([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,i=this._duration,r=this._prop,o=this._from,s=this._loop,a=this._to;let l;if(this._active=o!==a&&(s||t1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[r]=this._fn(o,a,l))}wait(){const e=this._promises||(this._promises=[]);return new Promise((t,i)=>{e.push({res:t,rej:i})})}_notify(e){const t=e?"res":"rej",i=this._promises||[];for(let r=0;r{const o=e[r];if(!Zt(o))return;const s={};for(const a of t)s[a]=o[a];(Xn(o.properties)&&o.properties||[r]).forEach(a=>{(a===r||!i.has(a))&&i.set(a,s)})})}_animateOptions(e,t){const i=t.options,r=function Phe(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,i);if(!r)return[];const o=this._createAnimations(r,i);return i.$shared&&function Ihe(n,e){const t=[],i=Object.keys(e);for(let r=0;r{e.options=i},()=>{}),o}_createAnimations(e,t){const i=this._properties,r=[],o=e.$animations||(e.$animations={}),s=Object.keys(t),a=Date.now();let l;for(l=s.length-1;l>=0;--l){const c=s[l];if("$"===c.charAt(0))continue;if("options"===c){r.push(...this._animateOptions(e,t));continue}const d=t[c];let m=o[c];const b=i.get(c);if(m){if(b&&m.active()){m.update(b,d,a);continue}m.cancel()}b&&b.duration?(o[c]=m=new Lhe(b,e,c,d),r.push(m)):e[c]=d}return r}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const i=this._createAnimations(e,t);return i.length?(ml.add(this._chart,i),!0):void 0}}function oV(n,e){const t=n&&n.options||{},i=t.reverse,r=void 0===t.min?e:0,o=void 0===t.max?e:0;return{start:i?o:r,end:i?r:o}}function sV(n,e){const t=[],i=n._getSortedDatasetMetas(e);let r,o;for(r=0,o=i.length;r0||!t&&o<0)return r.index}return null}function cV(n,e){const{chart:t,_cachedMeta:i}=n,r=t._stacks||(t._stacks={}),{iScale:o,vScale:s,index:a}=i,l=o.axis,c=s.axis,d=function Nhe(n,e,t){return`${n.id}.${e.id}.${t.stack||t.type}`}(o,s,i),m=e.length;let b;for(let S=0;St[i].axis===e).shift()}function X_(n,e){const t=n.controller.index,i=n.vScale&&n.vScale.axis;if(i){e=e||n._parsed;for(const r of e){const o=r._stacks;if(!o||void 0===o[i]||void 0===o[i][t])return;delete o[i][t],void 0!==o[i]._visualValues&&void 0!==o[i]._visualValues[t]&&delete o[i]._visualValues[t]}}}const Ex=n=>"reset"===n||"none"===n,dV=(n,e)=>e?n:Object.assign({},n);class Dc{static defaults={};static datasetElementType=null;static dataElementType=null;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.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=kx(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&X_(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,i=this.getDataset(),r=(m,b,S,T)=>"x"===m?b:"r"===m?T:S,o=t.xAxisID=kt(i.xAxisID,Tx(e,"x")),s=t.yAxisID=kt(i.yAxisID,Tx(e,"y")),a=t.rAxisID=kt(i.rAxisID,Tx(e,"r")),l=t.indexAxis,c=t.iAxisID=r(l,o,s,a),d=t.vAxisID=r(l,s,o,a);t.xScale=this.getScaleForId(o),t.yScale=this.getScaleForId(s),t.rScale=this.getScaleForId(a),t.iScale=this.getScaleForId(c),t.vScale=this.getScaleForId(d)}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&&D4(this._data,this),e._stacked&&X_(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),i=this._data;if(Zt(t)){const r=this._cachedMeta;this._data=function Rhe(n,e){const{iScale:t,vScale:i}=e,r="x"===t.axis?"x":"y",o="x"===i.axis?"x":"y",s=Object.keys(n),a=new Array(s.length);let l,c,d;for(l=0,c=s.length;l{const i="_onData"+dx(t),r=n[t];Object.defineProperty(n,t,{configurable:!0,enumerable:!1,value(...o){const s=r.apply(this,o);return n._chartjs.listeners.forEach(a=>{"function"==typeof a[i]&&a[i](...o)}),s}})}))}(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,i=this.getDataset();let r=!1;this._dataCheck();const o=t._stacked;t._stacked=kx(t.vScale,t),t.stack!==i.stack&&(r=!0,X_(t),t.stack=i.stack),this._resyncElements(e),(r||o!==t._stacked)&&(cV(this,t._parsed),t._stacked=kx(t.vScale,t))}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),i=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:i,_data:r}=this,{iScale:o,_stacked:s}=i,a=o.axis;let d,m,b,l=0===e&&t===r.length||i._sorted,c=e>0&&i._parsed[e-1];if(!1===this._parsing)i._parsed=r,i._sorted=!0,b=r;else{b=Xn(r[e])?this.parseArrayData(i,r,e,t):Zt(r[e])?this.parseObjectData(i,r,e,t):this.parsePrimitiveData(i,r,e,t);const S=()=>null===m[a]||c&&m[a]n&&!e.hidden&&e._stacked&&{keys:sV(t,!0),values:null})(t,i,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:d,max:m}=function Fhe(n){const{min:e,max:t,minDefined:i,maxDefined:r}=n.getUserBounds();return{min:i?e:Number.NEGATIVE_INFINITY,max:r?t:Number.POSITIVE_INFINITY}}(a);let b,S;function T(){S=r[b];const I=S[a.axis];return!vi(S[e.axis])||d>I||m=0;--b)if(!T()){this.updateRangeFromParsed(c,e,S,l);break}return c}getAllParsedValues(e){const t=this._cachedMeta._parsed,i=[];let r,o,s;for(r=0,o=t.length;r=0&&ethis.getContext(i,r,t),m);return I.$shared&&(I.$shared=l,o[s]=Object.freeze(dV(I,l))),I}_resolveAnimations(e,t,i){const r=this.chart,o=this._cachedDataOpts,s=`animation-${t}`,a=o[s];if(a)return a;let l;if(!1!==r.options.animation){const d=this.chart.config,m=d.datasetAnimationScopeKeys(this._type,t),b=d.getOptionScopes(this.getDataset(),m);l=d.createResolver(b,this.getContext(e,i,t))}const c=new rV(r,l&&l.animations);return l&&l._cacheable&&(o[s]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||Ex(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const i=this.resolveDataElementOptions(e,t),r=this._sharedOptions,o=this.getSharedOptions(i),s=this.includeOptions(t,o)||o!==r;return this.updateSharedOptions(o,t,i),{sharedOptions:o,includeOptions:s}}updateElement(e,t,i,r){Ex(r)?Object.assign(e,i):this._resolveAnimations(t,r).update(e,i)}updateSharedOptions(e,t,i){e&&!Ex(t)&&this._resolveAnimations(void 0,t).update(e,i)}_setStyle(e,t,i,r){e.active=r;const o=this.getStyle(t,r);this._resolveAnimations(t,i,r).update(e,{options:!r&&this.getSharedOptions(o)||o})}removeHoverStyle(e,t,i){this._setStyle(e,i,"active",!1)}setHoverStyle(e,t,i){this._setStyle(e,i,"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,i=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const r=i.length,o=t.length,s=Math.min(o,r);s&&this.parse(0,s),o>r?this._insertElements(r,o-r,e):o{for(c.length+=t,a=c.length-1;a>=s;a--)c[a]=c[a-t]};for(l(o),a=e;ar-o))}return n._cache.$bar}(e,n.type);let r,o,s,a,i=e._length;const l=()=>{32767===s||-32768===s||($_(a)&&(i=Math.min(i,Math.abs(s-a)||i)),a=s)};for(r=0,o=t.length;rMath.abs(a)&&(l=a,c=s),e[t.axis]=c,e._custom={barStart:l,barEnd:c,start:r,end:o,min:s,max:a}}(n,e,t,i):e[t.axis]=t.parse(n,i),e}function hV(n,e,t,i){const r=n.iScale,o=n.vScale,s=r.getLabels(),a=r===o,l=[];let c,d,m,b;for(c=t,d=t+i;cn.x,t="left",i="right"):(e=n.base"spacing"!==e,_indexable:e=>"spacing"!==e&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data,{labels:{pointStyle:i,textAlign:r,color:o,useBorderRadius:s,borderRadius:a}}=e.legend.options;return t.labels.length&&t.datasets.length?t.labels.map((l,c)=>{const m=e.getDatasetMeta(0).controller.getStyle(c);return{text:l,fillStyle:m.backgroundColor,fontColor:o,hidden:!e.getDataVisibility(c),lineDash:m.borderDash,lineDashOffset:m.borderDashOffset,lineJoin:m.borderJoinStyle,lineWidth:m.borderWidth,strokeStyle:m.borderColor,textAlign:r,pointStyle:i,borderRadius:s&&(a||m.borderRadius),index:c}}):[]}},onClick(e,t,i){i.chart.toggleDataVisibility(t.index),i.chart.update()}}}};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 i=this.getDataset().data,r=this._cachedMeta;if(!1===this._parsing)r._parsed=i;else{let s,a,o=l=>+i[l];if(Zt(i[e])){const{key:l="value"}=this._parsing;o=c=>+vc(i[c],l)}for(s=e,a=e+t;s"string"==typeof n&&n.endsWith("%")?parseFloat(n)/100:+n/e)(this.options.cutout,a),1),c=this._getRingWeight(this.index),{circumference:d,rotation:m}=this._getRotationExtents(),{ratioX:b,ratioY:S,offsetX:T,offsetY:I}=function efe(n,e,t){let i=1,r=1,o=0,s=0;if(eq_(re,a,l,!0)?1:Math.max(se,se*t,oe,oe*t),T=(re,se,oe)=>q_(re,a,l,!0)?-1:Math.min(se,se*t,oe,oe*t),I=S(0,c,m),R=S(Di,d,b),H=T(mn,c,m),j=T(mn+Di,d,b);i=(I-H)/2,r=(R-j)/2,o=-(I+H)/2,s=-(R+j)/2}return{ratioX:i,ratioY:r,offsetX:o,offsetY:s}}(m,d,l),R=(i.width-s)/b,H=(i.height-s)/S,j=Math.max(Math.min(R,H)/2,0),re=p4(this.options.radius,j),oe=(re-Math.max(re*l,0))/this._getVisibleDatasetWeightTotal();this.offsetX=T*re,this.offsetY=I*re,r.total=this.calculateTotal(),this.outerRadius=re-oe*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-oe*c,0),this.updateElements(o,0,o.length,e)}_circumference(e,t){const i=this.options,r=this._cachedMeta,o=this._getCircumference();return t&&i.animation.animateRotate||!this.chart.getDataVisibility(e)||null===r._parsed[e]||r.data[e].hidden?0:this.calculateCircumference(r._parsed[e]*o/ei)}updateElements(e,t,i,r){const o="reset"===r,s=this.chart,a=s.chartArea,c=s.options.animation,d=(a.left+a.right)/2,m=(a.top+a.bottom)/2,b=o&&c.animateScale,S=b?0:this.innerRadius,T=b?0:this.outerRadius,{sharedOptions:I,includeOptions:R}=this._getSharedOptions(t,r);let j,H=this._getRotation();for(j=0;j0&&!isNaN(e)?ei*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,i=this.chart,r=i.data.labels||[],o=Q_(t._parsed[e],i.options.locale);return{label:r[e]||"",value:o}}getMaxBorderWidth(e){let t=0;const i=this.chart;let r,o,s,a,l;if(!e)for(r=0,o=i.data.datasets.length;r{const l=e.getDatasetMeta(0).controller.getStyle(s);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:r,lineWidth:l.borderWidth,pointStyle:i,hidden:!e.getDataVisibility(s),index:s}})}return[]}},onClick(e,t,i){i.chart.toggleDataVisibility(t.index),i.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const t=this._cachedMeta,i=this.chart,r=i.data.labels||[],o=Q_(t._parsed[e].r,i.options.locale);return{label:r[e]||"",value:o}}parseObjectData(e,t,i,r){return z4.bind(this)(e,t,i,r)}update(e){const t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){const e=this._cachedMeta,t={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach((i,r)=>{const o=this.getParsed(r).r;!isNaN(o)&&this.chart.getDataVisibility(r)&&(ot.max&&(t.max=o))}),t}_updateRadius(){const e=this.chart,t=e.chartArea,i=e.options,r=Math.min(t.right-t.left,t.bottom-t.top),o=Math.max(r/2,0),a=(o-Math.max(i.cutoutPercentage?o/100*i.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=o-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,t,i,r){const o="reset"===r,s=this.chart,l=s.options.animation,c=this._cachedMeta.rScale,d=c.xCenter,m=c.yCenter,b=c.getIndexAngle(0)-.5*mn;let T,S=b;const I=360/this.countVisibleElements();for(T=0;T{!isNaN(this.getParsed(r).r)&&this.chart.getDataVisibility(r)&&t++}),t}_computeAngle(e,t,i){return this.chart.getDataVisibility(e)?Bs(this.resolveDataElementOptions(e,t).angle||i):0}}var ofe=Object.freeze({__proto__:null,BarController:class Zhe extends Dc{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,t,i,r){return hV(e,t,i,r)}parseArrayData(e,t,i,r){return hV(e,t,i,r)}parseObjectData(e,t,i,r){const{iScale:o,vScale:s}=e,{xAxisKey:a="x",yAxisKey:l="y"}=this._parsing,c="x"===o.axis?a:l,d="x"===s.axis?a:l,m=[];let b,S,T,I;for(b=i,S=i+r;bd.controller.options.grouped),o=i.options.stacked,s=[],a=this._cachedMeta.controller.getParsed(t),l=a&&a[i.axis],c=d=>{const m=d._parsed.find(S=>S[i.axis]===l),b=m&&m[d.vScale.axis];if(Gt(b)||isNaN(b))return!0};for(const d of r)if((void 0===t||!c(d))&&((!1===o||-1===s.indexOf(d.stack)||void 0===o&&void 0===d.stack)&&s.push(d.stack),d.index===e))break;return s.length||s.push(void 0),s}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const e=this.chart.scales,t=this.chart.options.indexAxis;return Object.keys(e).filter(i=>e[i].axis===t).shift()}_getAxis(){const e={},t=this.getFirstScaleIdForIndexAxis();for(const i of this.chart.data.datasets)e[kt("x"===this.chart.options.indexAxis?i.xAxisID:i.yAxisID,t)]=!0;return Object.keys(e)}_getStackIndex(e,t,i){const r=this._getStacks(e,i),o=void 0!==t?r.indexOf(t):-1;return-1===o?r.length-1:o}_getRuler(){const e=this.options,t=this._cachedMeta,i=t.iScale,r=[];let o,s;for(o=0,s=t.data.length;o=t?1:-1)}(I,t,a)*s,m===a&&(H-=I/2);const j=t.getPixelForDecimal(0),re=t.getPixelForDecimal(1),se=Math.min(j,re),oe=Math.max(j,re);H=Math.max(Math.min(H,oe),se),T=H+I,i&&!d&&(l._stacks[t.axis]._visualValues[r]=t.getValueForPixel(T)-t.getValueForPixel(H))}if(H===t.getPixelForValue(a)){const j=va(I)*t.getLineWidthForValue(a)/2;H+=j,I-=j}return{size:I,base:H,head:T,center:T+I/2}}_calculateBarIndexPixels(e,t){const i=t.scale,r=this.options,o=r.skipNull,s=kt(r.maxBarThickness,1/0);let a,l;const c=this._getAxisCount();if(t.grouped){const d=o?this._getStackCount(e):t.stackCount,m="flex"===r.barThickness?function $he(n,e,t,i){const r=e.pixels,o=r[n];let s=n>0?r[n-1]:null,a=n=0;--i)t=Math.max(t,e[i].size(this.resolveDataElementOptions(i))/2);return t>0&&t}getLabelAndValue(e){const t=this._cachedMeta,i=this.chart.data.labels||[],{xScale:r,yScale:o}=t,s=this.getParsed(e),a=r.getLabelForValue(s.x),l=o.getLabelForValue(s.y),c=s._custom;return{label:i[e]||"",value:"("+a+", "+l+(c?", "+c:"")+")"}}update(e){const t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,i,r){const o="reset"===r,{iScale:s,vScale:a}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(t,r),d=s.axis,m=a.axis;for(let b=t;b0&&this.getParsed(t-1);for(let oe=0;oe=j){ve.skip=!0;continue}const Me=this.getParsed(oe),$e=Gt(Me[S]),mt=ve[b]=s.getPixelForValue(Me[b],oe),It=ve[S]=o||$e?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,Me,l):Me[S],oe);ve.skip=isNaN(mt)||isNaN(It)||$e,ve.stop=oe>0&&Math.abs(Me[b]-se[b])>R,I&&(ve.parsed=Me,ve.raw=c.data[oe]),m&&(ve.options=d||this.resolveDataElementOptions(oe,ye.active?"active":r)),H||this.updateElement(ye,oe,ve,r),se=Me}}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,i=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return i;const o=r[0].size(this.resolveDataElementOptions(0)),s=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(i,o,s)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}},PieController:class nfe extends Lx{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}},PolarAreaController:mV,RadarController:class ife extends Dc{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(e){const t=this._cachedMeta.vScale,i=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(i[t.axis])}}parseObjectData(e,t,i,r){return z4.bind(this)(e,t,i,r)}update(e){const t=this._cachedMeta,i=t.dataset,r=t.data||[],o=t.iScale.getLabels();if(i.points=r,"resize"!==e){const s=this.resolveDatasetElementOptions(e);this.options.showLine||(s.borderWidth=0);const a={_loop:!0,_fullLoop:o.length===r.length,options:s};this.updateElement(i,void 0,a,e)}this.updateElements(r,0,r.length,e)}updateElements(e,t,i,r){const o=this._cachedMeta.rScale,s="reset"===r;for(let a=t;a0&&this.getParsed(t-1);for(let se=t;se0&&Math.abs(ye[S]-re[S])>H,R&&(ve.parsed=ye,ve.raw=c.data[se]),b&&(ve.options=m||this.resolveDataElementOptions(se,oe.active?"active":r)),j||this.updateElement(oe,se,ve,r),re=ye}this.updateSharedOptions(m,r,d)}getMaxOverflow(){const e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let a=0;for(let l=t.length-1;l>=0;--l)a=Math.max(a,t[l].size(this.resolveDataElementOptions(l))/2);return a>0&&a}const i=e.dataset,r=i.options&&i.options.borderWidth||0;if(!t.length)return r;const o=t[0].size(this.resolveDataElementOptions(0)),s=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(r,o,s)/2}}});function vu(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Ix{static override(e){Object.assign(Ix.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return vu()}parse(){return vu()}format(){return vu()}add(){return vu()}diff(){return vu()}startOf(){return vu()}endOf(){return vu()}}var sfe__date=Ix;function afe(n,e,t,i){const{controller:r,data:o,_sorted:s}=n,a=r._cachedMeta.iScale,l=n.dataset&&n.dataset.options?n.dataset.options.spanGaps:null;if(a&&e===a.axis&&"r"!==e&&s&&o.length){const c=a._reversePixels?Mue:fl;if(!i){const d=c(o,e,t);if(l){const{vScale:m}=r._cachedMeta,{_parsed:b}=n,S=b.slice(0,d.lo+1).reverse().findIndex(I=>!Gt(I[m.axis]));d.lo-=Math.max(0,S);const T=b.slice(d.hi).findIndex(I=>!Gt(I[m.axis]));d.hi+=Math.max(0,T)}return d}if(r._sharedOptions){const d=o[0],m="function"==typeof d.getRange&&d.getRange(e);if(m){const b=c(o,e,t-m),S=c(o,e,t+m);return{lo:b.lo,hi:S.hi}}}}return{lo:0,hi:o.length-1}}function ey(n,e,t,i,r){const o=n.getSortedVisibleDatasetMetas(),s=t[e];for(let a=0,l=o.length;a{l[s]&&l[s](e[t],r)&&(o.push({element:l,datasetIndex:c,index:d}),a=a||l.inRange(e.x,e.y,r))}),i&&!a?[]:o}var ufe={evaluateInteractionItems:ey,modes:{index(n,e,t,i){const r=_u(e,n),o=t.axis||"x",s=t.includeInvisible||!1,a=t.intersect?Px(n,r,o,i,s):Ax(n,r,o,!1,i,s),l=[];return a.length?(n.getSortedVisibleDatasetMetas().forEach(c=>{const d=a[0].index,m=c.data[d];m&&!m.skip&&l.push({element:m,datasetIndex:c.index,index:d})}),l):[]},dataset(n,e,t,i){const r=_u(e,n),o=t.axis||"xy",s=t.includeInvisible||!1;let a=t.intersect?Px(n,r,o,i,s):Ax(n,r,o,!1,i,s);if(a.length>0){const l=a[0].datasetIndex,c=n.getDatasetMeta(l).data;a=[];for(let d=0;dPx(n,_u(e,n),t.axis||"xy",i,t.includeInvisible||!1),nearest(n,e,t,i){const r=_u(e,n),o=t.axis||"xy",s=t.includeInvisible||!1;return Ax(n,r,o,t.intersect,i,s)},x:(n,e,t,i)=>gV(n,_u(e,n),"x",t.intersect,i),y:(n,e,t,i)=>gV(n,_u(e,n),"y",t.intersect,i)}};const _V=["left","top","right","bottom"];function ty(n,e){return n.filter(t=>t.pos===e)}function yV(n,e){return n.filter(t=>-1===_V.indexOf(t.pos)&&t.box.axis===e)}function ny(n,e){return n.sort((t,i)=>{const r=e?i:t,o=e?t:i;return r.weight===o.weight?r.index-o.index:r.weight-o.weight})}function pfe(n,e){const t=function ffe(n){const e={};for(const t of n){const{stack:i,pos:r,stackWeight:o}=t;if(!i||!_V.includes(r))continue;const s=e[i]||(e[i]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=o}return e}(n),{vBoxMaxWidth:i,hBoxMaxHeight:r}=e;let o,s,a;for(o=0,s=n.length;o{o[s]=Math.max(e[s],t[s])}),o}(n?["left","right"]:["top","bottom"])}function iy(n,e,t,i){const r=[];let o,s,a,l,c,d;for(o=0,s=n.length,c=0;oc.box.fullSize),!0),i=ny(ty(e,"left"),!0),r=ny(ty(e,"right")),o=ny(ty(e,"top"),!0),s=ny(ty(e,"bottom")),a=yV(e,"x"),l=yV(e,"y");return{fullSize:t,leftAndTop:i.concat(o),rightAndBottom:r.concat(l).concat(s).concat(a),chartArea:ty(e,"chartArea"),vertical:i.concat(r).concat(l),horizontal:o.concat(s).concat(a)}}(n.boxes),l=a.vertical,c=a.horizontal;Fn(n.boxes,I=>{"function"==typeof I.beforeLayout&&I.beforeLayout()});const d=l.reduce((I,R)=>R.box.options&&!1===R.box.options.display?I:I+1,0)||1,m=Object.freeze({outerWidth:e,outerHeight:t,padding:r,availableWidth:o,availableHeight:s,vBoxMaxWidth:o/2/d,hBoxMaxHeight:s/2}),b=Object.assign({},r);bV(b,Or(i));const S=Object.assign({maxPadding:b,w:o,h:s,x:r.left,y:r.top},r),T=pfe(l.concat(c),m);iy(a.fullSize,S,m,T),iy(l,S,m,T),iy(c,S,m,T)&&iy(l,S,m,T),function _fe(n){const e=n.maxPadding;function t(i){const r=Math.max(e[i]-n[i],0);return n[i]+=r,r}n.y+=t("top"),n.x+=t("left"),t("right"),t("bottom")}(S),wV(a.leftAndTop,S,m,T),S.x+=S.w,S.y+=S.h,wV(a.rightAndBottom,S,m,T),n.chartArea={left:S.left,top:S.top,right:S.left+S.w,bottom:S.top+S.h,height:S.h,width:S.w},Fn(a.chartArea,I=>{const R=I.box;Object.assign(R,n.chartArea),R.update(S.w,S.h,{left:0,top:0,right:0,bottom:0})})}};class CV{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,i){}removeEventListener(e,t,i){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,i,r){return t=Math.max(0,t||e.width),i=i||e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):i)}}isAttached(e){return!0}updateConfig(e){}}class vfe extends CV{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const kM="$chartjs",bfe={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},MV=n=>null===n||""===n;const DV=!!ghe&&{passive:!0};function Mfe(n,e,t){n&&n.canvas&&n.canvas.removeEventListener(e,t,DV)}function TM(n,e){for(const t of n)if(t===e||t.contains(e))return!0}function Sfe(n,e,t){const i=n.canvas,r=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||TM(a.addedNodes,i),s=s&&!TM(a.removedNodes,i);s&&t()});return r.observe(document,{childList:!0,subtree:!0}),r}function kfe(n,e,t){const i=n.canvas,r=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||TM(a.removedNodes,i),s=s&&!TM(a.addedNodes,i);s&&t()});return r.observe(document,{childList:!0,subtree:!0}),r}const ry=new Map;let SV=0;function kV(){const n=window.devicePixelRatio;n!==SV&&(SV=n,ry.forEach((e,t)=>{t.currentDevicePixelRatio!==n&&e()}))}function xfe(n,e,t){const i=n.canvas,r=i&&Sx(i);if(!r)return;const o=T4((a,l)=>{const c=r.clientWidth;t(a,l),c{const l=a[0],c=l.contentRect.width,d=l.contentRect.height;0===c&&0===d||o(c,d)});return s.observe(r),function Tfe(n,e){ry.size||window.addEventListener("resize",kV),ry.set(n,e)}(n,o),s}function Ox(n,e,t){t&&t.disconnect(),"resize"===e&&function Efe(n){ry.delete(n),ry.size||window.removeEventListener("resize",kV)}(n)}function Lfe(n,e,t){const i=n.canvas,r=T4(o=>{null!==n.ctx&&t(function Dfe(n,e){const t=bfe[n.type]||n.type,{x:i,y:r}=_u(n,e);return{type:t,chart:e,native:n,x:void 0!==i?i:null,y:void 0!==r?r:null}}(o,n))},n);return function Cfe(n,e,t){n&&n.addEventListener(e,t,DV)}(i,e,r),r}class Ife extends CV{acquireContext(e,t){const i=e&&e.getContext&&e.getContext("2d");return i&&i.canvas===e?(function wfe(n,e){const t=n.style,i=n.getAttribute("height"),r=n.getAttribute("width");if(n[kM]={initial:{height:i,width:r,style:{display:t.display,height:t.height,width:t.width}}},t.display=t.display||"block",t.boxSizing=t.boxSizing||"border-box",MV(r)){const o=q4(n,"width");void 0!==o&&(n.width=o)}if(MV(i))if(""===n.style.height)n.height=n.width/(e||2);else{const o=q4(n,"height");void 0!==o&&(n.height=o)}return n}(e,t),i):null}releaseContext(e){const t=e.canvas;if(!t[kM])return!1;const i=t[kM].initial;["height","width"].forEach(o=>{const s=i[o];Gt(s)?t.removeAttribute(o):t.setAttribute(o,s)});const r=i.style||{};return Object.keys(r).forEach(o=>{t.style[o]=r[o]}),t.width=t.width,delete t[kM],!0}addEventListener(e,t,i){this.removeEventListener(e,t);const r=e.$proxies||(e.$proxies={}),s={attach:Sfe,detach:kfe,resize:xfe}[t]||Lfe;r[t]=s(e,t,i)}removeEventListener(e,t){const i=e.$proxies||(e.$proxies={}),r=i[t];r&&(({attach:Ox,detach:Ox,resize:Ox}[t]||Mfe)(e,t,r),i[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,i,r){return mhe(e,t,i,r)}isAttached(e){const t=e&&Sx(e);return!(!t||!t.isConnected)}}class gl{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:t,y:i}=this.getProps(["x","y"],e);return{x:t,y:i}}hasValue(){return Rf(this.x)&&Rf(this.y)}getProps(e,t){const i=this.$animations;if(!t||!i)return this;const r={};return e.forEach(o=>{r[o]=i[o]&&i[o].active()?i[o]._to:this[o]}),r}}function Afe(n,e){const t=n.options.ticks,i=function Ofe(n){const e=n.options.offset,t=n._tickSize(),i=n._length/t+(e?0:1),r=n._maxLength/t;return Math.floor(Math.min(i,r))}(n),r=Math.min(t.maxTicksLimit||i,i),o=t.major.enabled?function Nfe(n){const e=[];let t,i;for(t=0,i=n.length;tr)return function Ffe(n,e,t,i){let s,r=0,o=t[0];for(i=Math.ceil(i),s=0;sr-o).pop(),e}(i);for(let s=0,a=o.length-1;sr)return l}return Math.max(r,1)}(o,e,r);if(s>0){let m,b;const S=s>1?Math.round((l-a)/(s-1)):null;for(EM(e,c,d,Gt(S)?0:a-S,a),m=0,b=s-1;m"top"===e||"left"===e?n[e]+t:n[e]-t,EV=(n,e)=>Math.min(e||n,n);function xV(n,e){const t=[],i=n.length/e,r=n.length;let o=0;for(;os+a)))return l}function oy(n){return n.drawTicks?n.tickLength:0}function LV(n,e){if(!n.display)return 0;const t=Qi(n.font,e),i=Or(n.padding);return(Xn(n.text)?n.text.length:1)*t.lineHeight+i.height}function zfe(n,e,t){let i=px(n);return(t&&"right"!==e||!t&&"right"===e)&&(i=(n=>"left"===n?"right":"right"===n?"left":n)(i)),i}class bu extends gl{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:i,_suggestedMax:r}=this;return e=ko(e,Number.POSITIVE_INFINITY),t=ko(t,Number.NEGATIVE_INFINITY),i=ko(i,Number.POSITIVE_INFINITY),r=ko(r,Number.NEGATIVE_INFINITY),{min:ko(e,i),max:ko(t,r),minDefined:vi(e),maxDefined:vi(t)}}getMinMax(e){let s,{min:t,max:i,minDefined:r,maxDefined:o}=this.getUserBounds();if(r&&o)return{min:t,max:i};const a=this.getMatchingVisibleMetas();for(let l=0,c=a.length;li?i:t,i=r&&t>i?t:i,{min:ko(t,ko(i,t)),max:ko(i,ko(t,i))}}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||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Gn(this.options.beforeUpdate,[this])}update(e,t,i){const{beginAtZero:r,grace:o,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function que(n,e,t){const{min:i,max:r}=n,o=p4(e,(r-i)/2),s=(a,l)=>t&&0===a?0:a+l;return{min:s(i,-Math.abs(o)),max:s(r,o)}}(this,o,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||i<=1||!this.isHorizontal())return void(this.labelRotation=r);const d=this._getLabelSizes(),m=d.widest.width,b=d.highest.height,S=rr(this.chart.width-m,0,this.maxWidth);a=e.offset?this.maxWidth/i:S/(i-1),m+6>a&&(a=S/(i-(e.offset?.5:1)),l=this.maxHeight-oy(e.grid)-t.padding-LV(e.title,this.chart.options.font),c=Math.sqrt(m*m+b*b),s=ux(Math.min(Math.asin(rr((d.highest.height+6)/a,-1,1)),Math.asin(rr(l/c,-1,1))-Math.asin(rr(b/c,-1,1)))),s=Math.max(r,Math.min(o,s))),this.labelRotation=s}afterCalculateLabelRotation(){Gn(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Gn(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:i,title:r,grid:o}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const l=LV(r,t.options.font);if(a?(e.width=this.maxWidth,e.height=oy(o)+l):(e.height=this.maxHeight,e.width=oy(o)+l),i.display&&this.ticks.length){const{first:c,last:d,widest:m,highest:b}=this._getLabelSizes(),S=2*i.padding,T=Bs(this.labelRotation),I=Math.cos(T),R=Math.sin(T);if(a){const H=i.mirror?0:R*m.width+I*b.height;e.height=Math.min(this.maxHeight,e.height+H+S)}else{const H=i.mirror?0:I*m.width+R*b.height;e.width=Math.min(this.maxWidth,e.width+H+S)}this._calculatePadding(c,d,R,I)}}this._handleMargins(),a?(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,i,r){const{ticks:{align:o,padding:s},position:a}=this.options,l=0!==this.labelRotation,c="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const d=this.getPixelForTick(0)-this.left,m=this.right-this.getPixelForTick(this.ticks.length-1);let b=0,S=0;l?c?(b=r*e.width,S=i*t.height):(b=i*e.height,S=r*t.width):"start"===o?S=t.width:"end"===o?b=e.width:"inner"!==o&&(b=e.width/2,S=t.width/2),this.paddingLeft=Math.max((b-d+s)*this.width/(this.width-d),0),this.paddingRight=Math.max((S-m+s)*this.width/(this.width-m),0)}else{let d=t.height/2,m=e.height/2;"start"===o?(d=0,m=e.height):"end"===o&&(d=t.height,m=0),this.paddingTop=d+s,this.paddingBottom=m+s}}_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(){Gn(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,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,i=e.length;t{const i=t.gc,r=i.length/2;let o;if(r>e){for(o=0;o({width:s[$e]||0,height:a[$e]||0});return{first:Me(0),last:Me(t-1),widest:Me(ye),highest:Me(ve),widths:s,heights:a}}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 Cue(n){return rr(n,-32768,32767)}(this._alignToPixels?fu(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&&ea*r?a/i:l/r:l*r0}_computeGridLineItems(e){const t=this.axis,i=this.chart,r=this.options,{grid:o,position:s,border:a}=r,l=o.offset,c=this.isHorizontal(),m=this.ticks.length+(l?1:0),b=oy(o),S=[],T=a.setContext(this.getContext()),I=T.display?T.width:0,R=I/2,H=function(Te){return fu(i,Te,I)};let j,re,se,oe,ye,ve,Me,$e,mt,It,Pt,Si;if("top"===s)j=H(this.bottom),ve=this.bottom-b,$e=j-R,It=H(e.top)+R,Si=e.bottom;else if("bottom"===s)j=H(this.top),It=e.top,Si=H(e.bottom)-R,ve=j+R,$e=this.top+b;else if("left"===s)j=H(this.right),ye=this.right-b,Me=j-R,mt=H(e.left)+R,Pt=e.right;else if("right"===s)j=H(this.left),mt=e.left,Pt=H(e.right)-R,ye=j+R,Me=this.left+b;else if("x"===t){if("center"===s)j=H((e.top+e.bottom)/2+.5);else if(Zt(s)){const Te=Object.keys(s)[0],Ne=s[Te];j=H(this.chart.scales[Te].getPixelForValue(Ne))}It=e.top,Si=e.bottom,ve=j+R,$e=ve+b}else if("y"===t){if("center"===s)j=H((e.left+e.right)/2);else if(Zt(s)){const Te=Object.keys(s)[0],Ne=s[Te];j=H(this.chart.scales[Te].getPixelForValue(Ne))}ye=j-R,Me=ye-b,mt=e.left,Pt=e.right}const Nr=kt(r.ticks.maxTicksLimit,m),Mn=Math.max(1,Math.ceil(m/Nr));for(re=0;re0&&(Cl-=Dn/2)}zr={left:Cl,top:Tc,width:Dn+Ai.width,height:ao+Ai.height,color:Mn.backdropColor}}R.push({label:se,font:$e,textOffset:Pt,options:{rotation:I,color:Ne,strokeColor:qe,strokeWidth:at,textAlign:ni,textBaseline:Si,translation:[oe,ye],backdrop:zr}})}return R}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-Bs(this.labelRotation))return"top"===e?"left":"right";let r="center";return"start"===t.align?r="left":"end"===t.align?r="right":"inner"===t.align&&(r="inner"),r}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:i,mirror:r,padding:o}}=this.options,a=e+o,l=this._getLabelSizes().widest.width;let c,d;return"left"===t?r?(d=this.right+o,"near"===i?c="left":"center"===i?(c="center",d+=l/2):(c="right",d+=l)):(d=this.right-a,"near"===i?c="right":"center"===i?(c="center",d-=l/2):(c="left",d=this.left)):"right"===t?r?(d=this.left+o,"near"===i?c="right":"center"===i?(c="center",d-=l/2):(c="left",d-=l)):(d=this.left+a,"near"===i?c="left":"center"===i?(c="center",d+=l/2):(c="right",d=this.right)):c="right",{textAlign:c,x:d}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:i,top:r,width:o,height:s}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(i,r,o,s),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const r=this.ticks.findIndex(o=>o.value===e);return r>=0?t.setContext(this.getContext(r)).lineWidth:0}drawGrid(e){const t=this.options.grid,i=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let o,s;const a=(l,c,d)=>{!d.width||!d.color||(i.save(),i.lineWidth=d.width,i.strokeStyle=d.color,i.setLineDash(d.borderDash||[]),i.lineDashOffset=d.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(c.x,c.y),i.stroke(),i.restore())};if(t.display)for(o=0,s=r.length;o{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:t,draw:o=>{this.drawLabels(o)}}]:[{z:t,draw:o=>{this.draw(o)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",r=[];let o,s;for(o=0,s=t.length;o{const i=t.split("."),r=i.pop(),o=[n].concat(i).join("."),s=e[t].split("."),a=s.pop(),l=s.join(".");ti.route(o,r,l,a)})}(e,n.defaultRoutes),n.descriptors&&ti.describe(e,n.descriptors)}(e,s,i),this.override&&ti.override(e.id,e.overrides)),s}get(e){return this.items[e]}unregister(e){const t=this.items,i=e.id,r=this.scope;i in t&&delete t[i],r&&i in ti[r]&&(delete ti[r][i],this.override&&delete hu[i])}}class Qfe{constructor(){this.controllers=new xM(Dc,"datasets",!0),this.elements=new xM(gl,"elements"),this.plugins=new xM(Object,"plugins"),this.scales=new xM(bu,"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,i){[...t].forEach(r=>{const o=i||this._getRegistryForType(r);i||o.isForType(r)||o===this.plugins&&r.id?this._exec(e,o,r):Fn(r,s=>{const a=i||this._getRegistryForType(s);this._exec(e,a,s)})})}_exec(e,t,i){const r=dx(e);Gn(i["before"+r],[],i),t[e](i),Gn(i["after"+r],[],i)}_getRegistryForType(e){for(let t=0;to.filter(a=>!s.some(l=>a.plugin.id===l.plugin.id));this._notify(r(t,i),e,"stop"),this._notify(r(i,t),e,"start")}}function Zfe(n,e){return e||!1!==n?!0===n?{}:n:null}function epe(n,{plugin:e,local:t},i,r){const o=n.pluginScopeKeys(e),s=n.getOptionScopes(i,o);return t&&e.defaults&&s.push(e.defaults),n.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Rx(n,e){const t=ti.datasets[n]||{};return((e.datasets||{})[n]||{}).indexAxis||e.indexAxis||t.indexAxis||"x"}function IV(n){if("x"===n||"y"===n||"r"===n)return n}function ipe(n){return"top"===n||"bottom"===n?"x":"left"===n||"right"===n?"y":void 0}function Nx(n,...e){if(IV(n))return n;for(const t of e){const i=t.axis||ipe(t.position)||n.length>1&&IV(n[0].toLowerCase());if(i)return i}throw new Error(`Cannot determine type of '${n}' axis. Please provide 'axis' or 'position' option.`)}function PV(n,e,t){if(t[e+"AxisID"]===n)return{axis:e}}function ope(n,e){const t=hu[n.type]||{scales:{}},i=e.scales||{},r=Rx(n.type,e),o=Object.create(null);return Object.keys(i).forEach(s=>{const a=i[s];if(!Zt(a))return console.error(`Invalid scale configuration for scale: ${s}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const l=Nx(s,a,function rpe(n,e){if(e.data&&e.data.datasets){const t=e.data.datasets.filter(i=>i.xAxisID===n||i.yAxisID===n);if(t.length)return PV(n,"x",t[0])||PV(n,"y",t[0])}return{}}(s,n),ti.scales[a.type]),c=function npe(n,e){return n===e?"_index_":"_value_"}(l,r),d=t.scales||{};o[s]=z_(Object.create(null),[{axis:l},a,d[l],d[c]])}),n.data.datasets.forEach(s=>{const a=s.type||n.type,l=s.indexAxis||Rx(a,e),d=(hu[a]||{}).scales||{};Object.keys(d).forEach(m=>{const b=function tpe(n,e){let t=n;return"_index_"===n?t=e:"_value_"===n&&(t="x"===e?"y":"x"),t}(m,l),S=s[b+"AxisID"]||b;o[S]=o[S]||Object.create(null),z_(o[S],[{axis:b},i[S],d[m]])})}),Object.keys(o).forEach(s=>{const a=o[s];z_(a,[ti.scales[a.type],ti.scale])}),o}function AV(n){const e=n.options||(n.options={});e.plugins=kt(e.plugins,{}),e.scales=ope(n,e)}function OV(n){return(n=n||{}).datasets=n.datasets||[],n.labels=n.labels||[],n}const RV=new Map,NV=new Set;function LM(n,e){let t=RV.get(n);return t||(t=e(),RV.set(n,t),NV.add(t)),t}const sy=(n,e,t)=>{const i=vc(e,t);void 0!==i&&n.add(i)};class ape{constructor(e){this._config=function spe(n){return(n=n||{}).data=OV(n.data),AV(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=OV(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(),AV(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return LM(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,t){return LM(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,t){return LM(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]])}pluginScopeKeys(e){const t=e.id;return LM(`${this.type}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){const i=this._scopeCache;let r=i.get(e);return(!r||t)&&(r=new Map,i.set(e,r)),r}getOptionScopes(e,t,i){const{options:r,type:o}=this,s=this._cachedScopes(e,i),a=s.get(t);if(a)return a;const l=new Set;t.forEach(d=>{e&&(l.add(e),d.forEach(m=>sy(l,e,m))),d.forEach(m=>sy(l,r,m)),d.forEach(m=>sy(l,hu[o]||{},m)),d.forEach(m=>sy(l,ti,m)),d.forEach(m=>sy(l,_x,m))});const c=Array.from(l);return 0===c.length&&c.push(Object.create(null)),NV.has(t)&&s.set(t,c),c}chartOptionScopes(){const{options:e,type:t}=this;return[e,hu[t]||{},ti.datasets[t]||{},{type:t},ti,_x]}resolveNamedOptions(e,t,i,r=[""]){const o={$shared:!0},{resolver:s,subPrefixes:a}=FV(this._resolverCache,e,r);let l=s;if(function cpe(n,e){const{isScriptable:t,isIndexable:i}=Y4(n);for(const r of e){const o=t(r),s=i(r),a=(s||o)&&n[r];if(o&&(bc(a)||lpe(a))||s&&Xn(a))return!0}return!1}(s,t)){o.$shared=!1;l=Nf(s,i=bc(i)?i():i,this.createResolver(e,i,a))}for(const c of t)o[c]=l[c];return o}createResolver(e,t,i=[""],r){const{resolver:o}=FV(this._resolverCache,e,i);return Zt(t)?Nf(o,t,void 0,r):o}}function FV(n,e,t){let i=n.get(e);i||(i=new Map,n.set(e,i));const r=t.join();let o=i.get(r);return o||(o={resolver:wx(e,t),subPrefixes:t.filter(a=>!a.toLowerCase().includes("hover"))},i.set(r,o)),o}const lpe=n=>Zt(n)&&Object.getOwnPropertyNames(n).some(e=>bc(n[e]));const upe=["top","bottom","left","right","chartArea"];function YV(n,e){return"top"===n||"bottom"===n||-1===upe.indexOf(n)&&"x"===e}function jV(n,e){return function(t,i){return t[n]===i[n]?t[e]-i[e]:t[n]-i[n]}}function HV(n){const e=n.chart,t=e.options.animation;e.notifyPlugins("afterRender"),Gn(t&&t.onComplete,[n],e)}function hpe(n){const e=n.chart,t=e.options.animation;Gn(t&&t.onProgress,[n],e)}function VV(n){return Dx()&&"string"==typeof n?n=document.getElementById(n):n&&n.length&&(n=n[0]),n&&n.canvas&&(n=n.canvas),n}const IM={},BV=n=>{const e=VV(n);return Object.values(IM).filter(t=>t.canvas===e).pop()};function fpe(n,e,t){const i=Object.keys(n);for(const r of i){const o=+r;if(o>=e){const s=n[r];delete n[r],(t>0||o>e)&&(n[o+t]=s)}}}class Fx{static defaults=ti;static instances=IM;static overrides=hu;static registry=ba;static version="4.5.1";static getChart=BV;static register(...e){ba.add(...e),UV()}static unregister(...e){ba.remove(...e),UV()}constructor(e,t){const i=this.config=new ape(t),r=VV(e),o=BV(r);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const s=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||function Pfe(n){return!Dx()||typeof OffscreenCanvas<"u"&&n instanceof OffscreenCanvas?vfe:Ife}(r)),this.platform.updateConfig(i);const a=this.platform.acquireContext(r,s.aspectRatio),l=a&&a.canvas,c=l&&l.height,d=l&&l.width;this.id=cue(),this.ctx=a,this.canvas=l,this.width=d,this.height=c,this._options=s,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 Kfe,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function kue(n,e){let t;return function(...i){return e?(clearTimeout(t),t=setTimeout(n,e,i)):n.apply(this,i),e}}(m=>this.update(m),s.resizeDelay||0),this._dataChanges=[],IM[this.id]=this,a&&l?(ml.listen(this,"complete",HV),ml.listen(this,"progress",hpe),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:i,height:r,_aspectRatio:o}=this;return Gt(e)?t&&o?o:r?i/r: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}get registry(){return ba}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():W4(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return R4(this.canvas,this.ctx),this}stop(){return ml.stop(this),this}resize(e,t){ml.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const i=this.options,r=this.canvas,o=i.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(r,e,t,o),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,W4(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),Gn(i.onResize,[this,s],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){Fn(this.options.scales||{},(i,r)=>{i.id=r})}buildOrUpdateScales(){const e=this.options,t=e.scales,i=this.scales,r=Object.keys(i).reduce((s,a)=>(s[a]=!1,s),{});let o=[];t&&(o=o.concat(Object.keys(t).map(s=>{const a=t[s],l=Nx(s,a),c="r"===l,d="x"===l;return{options:a,dposition:c?"chartArea":d?"bottom":"left",dtype:c?"radialLinear":d?"category":"linear"}}))),Fn(o,s=>{const a=s.options,l=a.id,c=Nx(l,a),d=kt(a.type,s.dtype);(void 0===a.position||YV(a.position,c)!==YV(s.dposition))&&(a.position=s.dposition),r[l]=!0;let m=null;if(l in i&&i[l].type===d)m=i[l];else{m=new(ba.getScale(d))({id:l,type:d,ctx:this.ctx,chart:this}),i[m.id]=m}m.init(a,e)}),Fn(r,(s,a)=>{s||delete i[a]}),Fn(i,s=>{Rr.configure(this,s,s.options),Rr.addBox(this,s)})}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,i=e.length;if(e.sort((r,o)=>r.index-o.index),i>t){for(let r=t;rt.length&&delete this._stacks,e.forEach((i,r)=>{0===t.filter(o=>o===i._dataset).length&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let i,r;for(this._removeUnreferencedMetasets(),i=0,r=t.length;i{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const i=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!i.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 s=0;for(let c=0,d=this.data.datasets.length;c{c.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(jV("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){Fn(this.scales,e=>{Rr.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),i=new Set(e.events);(!_4(t,i)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:i,start:r,count:o}of t){fpe(e,r,"_removeElements"===i?-o:o)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,i=o=>new Set(e.filter(s=>s[0]===o).map((s,a)=>a+","+s.splice(1).join(","))),r=i(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;Rr.update(this,this.width,this.height,e);const t=this.chartArea,i=t.width<=0||t.height<=0;this._layers=[],Fn(this.boxes,r=>{i&&"chartArea"===r.position||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,o)=>{r._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let t=0,i=this.data.datasets.length;t=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,i={meta:e,index:e.index,cancelable:!0},r=nV(this,e);!1!==this.notifyPlugins("beforeDatasetDraw",i)&&(r&&vM(t,r),e.controller.draw(),r&&bM(t),i.cancelable=!1,this.notifyPlugins("afterDatasetDraw",i))}isPointInArea(e){return pl(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,i,r){const o=ufe.modes[t];return"function"==typeof o?o(this,e,i,r):[]}getDatasetMeta(e){const t=this.data.datasets[e],i=this._metasets;let r=i.filter(o=>o&&o._dataset===t).pop();return r||(r={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},i.push(r)),r}getContext(){return this.$context||(this.$context=Cc(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const i=this.getDatasetMeta(e);return"boolean"==typeof i.hidden?!i.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,i){const r=i?"show":"hide",o=this.getDatasetMeta(e),s=o.controller._resolveAnimations(void 0,r);$_(t)?(o.data[t].hidden=!i,this.update()):(this.setDatasetVisibility(e,i),s.update(o,{visible:i}),this.update(a=>a.datasetIndex===e?r: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(),ml.remove(this),e=0,t=this.data.datasets.length;e{t.addEventListener(this,o,s),e[o]=s},r=(o,s,a)=>{o.offsetX=s,o.offsetY=a,this._eventHandler(o)};Fn(this.options.events,o=>i(o,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,i=(l,c)=>{t.addEventListener(this,l,c),e[l]=c},r=(l,c)=>{e[l]&&(t.removeEventListener(this,l,c),delete e[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let s;const a=()=>{r("attach",a),this.attached=!0,this.resize(),i("resize",o),i("detach",s)};s=()=>{this.attached=!1,r("resize",o),this._stop(),this._resize(0,0),i("attach",a)},t.isAttached(this.canvas)?a():s()}unbindEvents(){Fn(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},Fn(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,i){const r=i?"set":"remove";let o,s,a,l;for("dataset"===t&&(o=this.getDatasetMeta(e[0].datasetIndex),o.controller["_"+r+"DatasetHoverStyle"]()),a=0,l=e.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[s],index:s}});!fM(i,t)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,t))}notifyPlugins(e,t,i){return this._plugins.notify(this,e,t,i)}isPluginEnabled(e){return 1===this._plugins._cache.filter(t=>t.plugin.id===e).length}_updateHoverStyles(e,t,i){const r=this.options.hover,o=(l,c)=>l.filter(d=>!c.some(m=>d.datasetIndex===m.datasetIndex&&d.index===m.index)),s=o(t,e),a=i?e:o(e,t);s.length&&this.updateHoverStyle(s,r.mode,!1),a.length&&r.mode&&this.updateHoverStyle(a,r.mode,!0)}_eventHandler(e,t){const i={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=s=>(s.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",i,r))return;const o=this._handleEvent(e,t,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,r),(o||i.changed)&&this.render(),this}_handleEvent(e,t,i){const{_active:r=[],options:o}=this,s=t,a=this._getActiveElements(e,r,i,s),l=function mue(n){return"mouseup"===n.type||"click"===n.type||"contextmenu"===n.type}(e),c=function ppe(n,e,t,i){return t&&"mouseout"!==n.type?i?e:n:null}(e,this._lastEvent,i,l);i&&(this._lastEvent=null,Gn(o.onHover,[e,a,this],this),l&&Gn(o.onClick,[e,a,this],this));const d=!fM(a,r);return(d||t)&&(this._active=a,this._updateHoverStyles(a,r,t)),this._lastEvent=c,d}_getActiveElements(e,t,i,r){if("mouseout"===e.type)return[];if(!i)return t;const o=this.options.hover;return this.getElementsAtEventForMode(e,o.mode,o,r)}}function UV(){return Fn(Fx.instances,n=>n._plugins.invalidate())}function ype(n,e,t,i){const r=function _pe(n){return bx(n,["outerStart","outerEnd","innerStart","innerEnd"])}(n.options.borderRadius),o=(t-e)/2,s=Math.min(o,i*e/2),a=l=>{const c=(t-Math.min(o,l))*i/2;return rr(l,0,Math.min(o,c))};return{outerStart:a(r.outerStart),outerEnd:a(r.outerEnd),innerStart:rr(r.innerStart,0,s),innerEnd:rr(r.innerEnd,0,s)}}function jf(n,e,t,i){return{x:t+n*Math.cos(e),y:i+n*Math.sin(e)}}function PM(n,e,t,i,r,o){const{x:s,y:a,startAngle:l,pixelMargin:c,innerRadius:d}=e,m=Math.max(e.outerRadius+i+t-c,0),b=d>0?d+i+t+c:0;let S=0;const T=r-l;if(i){const Ne=((d>0?d-i:0)+(m>0?m-i:0))/2;S=(T-(0!==Ne?T*Ne/(Ne+i):T))/2}const R=(T-Math.max(.001,T*m-t/mn)/m)/2,H=l+R+S,j=r-R-S,{outerStart:re,outerEnd:se,innerStart:oe,innerEnd:ye}=ype(e,b,m,j-H),ve=m-re,Me=m-se,$e=H+re/ve,mt=j-se/Me,It=b+oe,Pt=b+ye,Si=H+oe/It,Nr=j-ye/Pt;if(n.beginPath(),o){const Mn=($e+mt)/2;if(n.arc(s,a,m,$e,Mn),n.arc(s,a,m,Mn,mt),se>0){const at=jf(Me,mt,s,a);n.arc(at.x,at.y,se,mt,j+Di)}const Te=jf(Pt,j,s,a);if(n.lineTo(Te.x,Te.y),ye>0){const at=jf(Pt,Nr,s,a);n.arc(at.x,at.y,ye,j+Di,Nr+Math.PI)}const Ne=(j-ye/b+(H+oe/b))/2;if(n.arc(s,a,b,j-ye/b,Ne,!0),n.arc(s,a,b,Ne,H+oe/b,!0),oe>0){const at=jf(It,Si,s,a);n.arc(at.x,at.y,oe,Si+Math.PI,H-Di)}const qe=jf(ve,H,s,a);if(n.lineTo(qe.x,qe.y),re>0){const at=jf(ve,$e,s,a);n.arc(at.x,at.y,re,H-Di,$e)}}else{n.moveTo(s,a);const Mn=Math.cos($e)*m+s,Te=Math.sin($e)*m+a;n.lineTo(Mn,Te);const Ne=Math.cos(mt)*m+s,qe=Math.sin(mt)*m+a;n.lineTo(Ne,qe)}n.closePath()}function bpe(n,e,t,i,r){const{fullCircles:o,startAngle:s,circumference:a,options:l}=e,{borderWidth:c,borderJoinStyle:d,borderDash:m,borderDashOffset:b,borderRadius:S}=l,T="inner"===l.borderAlign;if(!c)return;n.setLineDash(m||[]),n.lineDashOffset=b,T?(n.lineWidth=2*c,n.lineJoin=d||"round"):(n.lineWidth=c,n.lineJoin=d||"bevel");let I=e.endAngle;if(o){PM(n,e,t,i,I,r);for(let R=0;Rr?(c=r/l,n.arc(o,s,l,t+c,i-c,!0)):n.arc(o,s,r,t+Di,i-Di),n.closePath(),n.clip()}(n,e,I),l.selfJoin&&I-s>=mn&&0===S&&"miter"!==d&&function mpe(n,e,t){const{startAngle:i,x:r,y:o,outerRadius:s,innerRadius:a,options:l}=e,{borderWidth:c,borderJoinStyle:d}=l,m=Math.min(c/s,Pr(i-t));if(n.beginPath(),n.arc(r,o,s-c/2,i+m/2,t-m/2),a>0){const b=Math.min(c/a,Pr(i-t));n.arc(r,o,a+c/2,t-b/2,i+b/2,!0)}else{const b=Math.min(c/2,s*Pr(i-t));if("round"===d)n.arc(r,o,b,t-mn/2,i+mn/2,!0);else if("bevel"===d){const S=2*b*b,T=-S*Math.cos(t+mn/2)+r,I=-S*Math.sin(t+mn/2)+o,R=S*Math.cos(i+mn/2)+r,H=S*Math.sin(i+mn/2)+o;n.lineTo(T,I),n.lineTo(R,H)}}n.closePath(),n.moveTo(0,0),n.rect(0,0,n.canvas.width,n.canvas.height),n.clip("evenodd")}(n,e,I),o||(PM(n,e,t,i,I,r),n.stroke())}function zV(n,e,t=e){n.lineCap=kt(t.borderCapStyle,e.borderCapStyle),n.setLineDash(kt(t.borderDash,e.borderDash)),n.lineDashOffset=kt(t.borderDashOffset,e.borderDashOffset),n.lineJoin=kt(t.borderJoinStyle,e.borderJoinStyle),n.lineWidth=kt(t.borderWidth,e.borderWidth),n.strokeStyle=kt(t.borderColor,e.borderColor)}function Cpe(n,e,t){n.lineTo(t.x,t.y)}function $V(n,e,t={}){const i=n.length,{start:r=0,end:o=i-1}=t,{start:s,end:a}=e,l=Math.max(r,s),c=Math.min(o,a),d=ra&&o>a;return{count:i,start:l,loop:e.loop,ilen:c(s+(c?a-se:se))%o,re=()=>{I!==R&&(n.lineTo(d,R),n.lineTo(d,I),n.lineTo(d,H))};for(l&&(S=r[j(0)],n.moveTo(S.x,S.y)),b=0;b<=a;++b){if(S=r[j(b)],S.skip)continue;const se=S.x,oe=S.y,ye=0|se;ye===T?(oeR&&(R=oe),d=(m*d+se)/++m):(re(),n.lineTo(se,oe),T=ye,m=0,I=R=oe),H=oe}re()}function Yx(n){const e=n.options,t=e.borderDash&&e.borderDash.length;return n._decimated||n._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||t?Dpe:Spe}const xpe="function"==typeof Path2D;function Lpe(n,e,t,i){xpe&&!e.options.segment?function Tpe(n,e,t,i){let r=e._path;r||(r=e._path=new Path2D,e.path(r,t,i)&&r.closePath()),zV(n,e.options),n.stroke(r)}(n,e,t,i):function Epe(n,e,t,i){const{segments:r,options:o}=e,s=Yx(e);for(const a of r)zV(n,o,a.style),n.beginPath(),s(n,e,a,{start:t,end:t+i-1})&&n.closePath(),n.stroke()}(n,e,t,i)}class AM extends gl{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};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 i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const r=i.spanGaps?this._loop:this._fullLoop;che(this._points,i,e,r,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 Dhe(n,e){const t=n.points,i=n.options.spanGaps,r=t.length;if(!r)return[];const o=!!n._loop,{start:s,end:a}=function Che(n,e,t,i){let r=0,o=e-1;if(t&&!i)for(;rr&&n[o%e].skip;)o--;return o%=e,{start:r,end:o}}(t,r,o,i);return eV(n,!0===i?[{start:s,end:a,loop:o}]:function Mhe(n,e,t,i){const r=n.length,o=[];let l,s=e,a=n[e];for(l=e+1;l<=t;++l){const c=n[l%r];c.skip||c.stop?a.skip||(i=!1,o.push({start:e%r,end:(l-1)%r,loop:i}),e=s=c.stop?l:null):(s=l,a.skip&&(e=l)),a=c}return null!==s&&o.push({start:e%r,end:s%r,loop:i}),o}(t,s,a"borderDash"!==e};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;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,i){const r=this.getProps(["x","y"],i),{angle:o,distance:s}=C4(r,{x:e,y:t}),{startAngle:a,endAngle:l,innerRadius:c,outerRadius:d,circumference:m}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),b=(this.options.spacing+this.options.borderWidth)/2,S=kt(m,l-a),T=q_(o,a,l)&&a!==l,I=S>=ei||T,R=hl(s,c+b,d+b);return I&&R}getCenterPoint(e){const{x:t,y:i,startAngle:r,endAngle:o,innerRadius:s,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:l,spacing:c}=this.options,d=(r+o)/2,m=(s+a+c+l)/2;return{x:t+Math.cos(d)*m,y:i+Math.sin(d)*m}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:t,circumference:i}=this,r=(t.offset||0)/4,o=(t.spacing||0)/2,s=t.circular;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=i>ei?Math.floor(i/ei):0,0===i||this.innerRadius<0||this.outerRadius<0)return;e.save();const a=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(a)*r,Math.sin(a)*r);const c=r*(1-Math.sin(Math.min(mn,i||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,function vpe(n,e,t,i,r){const{fullCircles:o,startAngle:s,circumference:a}=e;let l=e.endAngle;if(o){PM(n,e,t,i,l,r);for(let c=0;cn.replace("rgb(","rgba(").replace(")",", 0.5)"));function QV(n){return Vx[n%Vx.length]}function KV(n){return GV[n%GV.length]}function Bpe(n){let e=0;return(t,i)=>{const r=n.getDatasetMeta(i).controller;r instanceof Lx?e=function Hpe(n,e){return n.backgroundColor=n.data.map(()=>QV(e++)),e}(t,e):r instanceof mV?e=function Vpe(n,e){return n.backgroundColor=n.data.map(()=>KV(e++)),e}(t,e):r&&(e=function jpe(n,e){return n.borderColor=QV(e),n.backgroundColor=KV(e),++e}(t,e))}}function JV(n){let e;for(e in n)if(n[e].borderColor||n[e].backgroundColor)return!0;return!1}var $pe={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(n,e,t){if(!t.enabled)return;const{data:{datasets:i},options:r}=n.config,{elements:o}=r,s=JV(i)||function Upe(n){return n&&(n.borderColor||n.backgroundColor)}(r)||o&&JV(o)||function zpe(){return"rgba(0,0,0,0.1)"!==ti.borderColor||"rgba(0,0,0,0.1)"!==ti.backgroundColor}();if(!t.forceOverride&&s)return;const a=Bpe(n);i.forEach(a)}};function ZV(n){if(n._decimated){const e=n._data;delete n._decimated,delete n._data,Object.defineProperty(n,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}function XV(n){n.data.datasets.forEach(e=>{ZV(e)})}var Qpe={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(n,e,t)=>{if(!t.enabled)return void XV(n);const i=n.width;n.data.datasets.forEach((r,o)=>{const{_data:s,indexAxis:a}=r,l=n.getDatasetMeta(o),c=s||r.data;if("y"===Z_([a,n.options.indexAxis])||!l.controller.supportsDecimation)return;const d=n.scales[l.xAxisID];if("linear"!==d.type&&"time"!==d.type||n.options.parsing)return;let{start:m,count:b}=function Gpe(n,e){const t=e.length;let r,i=0;const{iScale:o}=n,{min:s,max:a,minDefined:l,maxDefined:c}=o.getUserBounds();return l&&(i=rr(fl(e,o.axis,s).lo,0,t-1)),r=c?rr(fl(e,o.axis,a).hi+1,i,t)-i:t-i,{start:i,count:r}}(l,c);if(b<=(t.threshold||4*i))return void ZV(r);let T;switch(Gt(s)&&(r._data=c,delete r.data,Object.defineProperty(r,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(I){this._data=I}})),t.algorithm){case"lttb":T=function Wpe(n,e,t,i,r){const o=r.samples||i;if(o>=t)return n.slice(e,e+t);const s=[],a=(t-2)/(o-2);let l=0;const c=e+t-1;let m,b,S,T,I,d=e;for(s[l++]=n[d],m=0;mS&&(S=T,b=n[j],I=j);s[l++]=b,d=I}return s[l++]=n[c],s}(c,m,b,i,t);break;case"min-max":T=function qpe(n,e,t,i){let s,a,l,c,d,m,b,S,T,I,r=0,o=0;const R=[],H=e+t-1,j=n[e].x,se=n[H].x-j;for(s=e;sI&&(I=c,b=s),r=(o*r+a.x)/++o;else{const ye=s-1;if(!Gt(m)&&!Gt(b)){const ve=Math.min(m,b),Me=Math.max(m,b);ve!==S&&ve!==ye&&R.push({...n[ve],x:r}),Me!==S&&Me!==ye&&R.push({...n[Me],x:r})}s>0&&ye!==S&&R.push(n[ye]),R.push(a),d=oe,o=0,T=I=c,m=b=S=s}}return R}(c,m,b,i);break;default:throw new Error(`Unsupported decimation algorithm '${t.algorithm}'`)}r._decimated=T})},destroy(n){XV(n)}};function Bx(n,e,t,i){if(i)return;let r=e[n],o=t[n];return"angle"===n&&(r=Pr(r),o=Pr(o)),{property:n,start:r,end:o}}function OM(n,e,t){for(;e>n;e--){const i=t[e];if(!isNaN(i.x)&&!isNaN(i.y))break}return e}function eB(n,e,t,i){return n&&e?i(n[t],e[t]):n?n[t]:e?e[t]:0}function tB(n,e){let t=[],i=!1;return Xn(n)?(i=!0,t=n):t=function Jpe(n,e){const{x:t=null,y:i=null}=n||{},r=e.points,o=[];return e.segments.forEach(({start:s,end:a})=>{a=OM(s,a,r);const l=r[s],c=r[a];null!==i?(o.push({x:l.x,y:i}),o.push({x:c.x,y:i})):null!==t&&(o.push({x:t,y:l.y}),o.push({x:t,y:c.y}))}),o}(n,e),t.length?new AM({points:t,options:{tension:0},_loop:i,_fullLoop:i}):null}function nB(n){return n&&!1!==n.fill}function Zpe(n,e,t){let r=n[e].fill;const o=[e];let s;if(!t)return r;for(;!1!==r&&-1===o.indexOf(r);){if(!vi(r))return r;if(s=n[r],!s)return!1;if(s.visible)return r;o.push(r),r=s.fill}return!1}function Xpe(n,e,t){const i=function ime(n){const e=n.options,t=e.fill;let i=kt(t&&t.target,t);return void 0===i&&(i=!!e.backgroundColor),!1!==i&&null!==i&&(!0===i?"origin":i)}(n);if(Zt(i))return!isNaN(i.value)&&i;let r=parseFloat(i);return vi(r)&&Math.floor(r)===r?function eme(n,e,t,i){return("-"===n||"+"===n)&&(t=e+t),!(t===e||t<0||t>=i)&&t}(i[0],e,r,t):["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function sme(n,e,t){const i=[];for(let r=0;r=0;--s){const a=r[s].$filler;a&&(a.line.updateControlPoints(o,a.axis),i&&a.fill&&Ux(n.ctx,a,o))}},beforeDatasetsDraw(n,e,t){if("beforeDatasetsDraw"!==t.drawTime)return;const i=n.getSortedVisibleDatasetMetas();for(let r=i.length-1;r>=0;--r){const o=i[r].$filler;nB(o)&&Ux(n.ctx,o,n.chartArea)}},beforeDatasetDraw(n,e,t){const i=e.meta.$filler;!nB(i)||"beforeDatasetDraw"!==t.drawTime||Ux(n.ctx,i,n.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const aB=(n,e)=>{let{boxHeight:t=e,boxWidth:i=e}=n;return n.usePointStyle&&(t=Math.min(t,e),i=n.pointStyleWidth||Math.min(i,e)),{boxWidth:i,boxHeight:t,itemHeight:Math.max(e,t)}};class lB extends gl{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,i){this.maxWidth=e,this.maxHeight=t,this._margins=i,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=Gn(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(i=>e.filter(i,this.chart.data))),e.sort&&(t=t.sort((i,r)=>e.sort(i,r,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 i=e.labels,r=Qi(i.font),o=r.size,s=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=aB(i,o);let c,d;t.font=r.string,this.isHorizontal()?(c=this.maxWidth,d=this._fitRows(s,o,a,l)+10):(d=this.maxHeight,c=this._fitCols(s,r,a,l)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(d,e.maxHeight||this.maxHeight)}_fitRows(e,t,i,r){const{ctx:o,maxWidth:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],d=r+a;let m=e;o.textAlign="left",o.textBaseline="middle";let b=-1,S=-d;return this.legendItems.forEach((T,I)=>{const R=i+t/2+o.measureText(T.text).width;(0===I||c[c.length-1]+R+2*a>s)&&(m+=d,c[c.length-(I>0?0:1)]=0,S+=d,b++),l[I]={left:0,top:S,row:b,width:R,height:r},c[c.length-1]+=R+a}),m}_fitCols(e,t,i,r){const{ctx:o,maxHeight:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],d=s-e;let m=a,b=0,S=0,T=0,I=0;return this.legendItems.forEach((R,H)=>{const{itemWidth:j,itemHeight:re}=function _me(n,e,t,i,r){const o=function yme(n,e,t,i){let r=n.text;return r&&"string"!=typeof r&&(r=r.reduce((o,s)=>o.length>s.length?o:s)),e+t.size/2+i.measureText(r).width}(i,n,e,t),s=function vme(n,e,t){let i=n;return"string"!=typeof e.text&&(i=cB(e,t)),i}(r,i,e.lineHeight);return{itemWidth:o,itemHeight:s}}(i,t,o,R,r);H>0&&S+re+2*a>d&&(m+=b+a,c.push({width:b,height:S}),T+=b+a,I++,b=S=0),l[H]={left:T,top:S,col:I,width:j,height:re},b=Math.max(b,j),S+=re+a}),m+=b,c.push({width:b,height:S}),m}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:i,labels:{padding:r},rtl:o}}=this,s=Yf(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=Ar(i,this.left+r,this.right-this.lineWidths[a]);for(const c of t)a!==c.row&&(a=c.row,l=Ar(i,this.left+r,this.right-this.lineWidths[a])),c.top+=this.top+e+r,c.left=s.leftForLtr(s.x(l),c.width),l+=c.width+r}else{let a=0,l=Ar(i,this.top+e+r,this.bottom-this.columnSizes[a].height);for(const c of t)c.col!==a&&(a=c.col,l=Ar(i,this.top+e+r,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+r,c.left=s.leftForLtr(s.x(c.left),c.width),l+=c.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;vM(e,this),this._draw(),bM(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:i,ctx:r}=this,{align:o,labels:s}=e,a=ti.color,l=Yf(e.rtl,this.left,this.width),c=Qi(s.font),{padding:d}=s,m=c.size,b=m/2;let S;this.drawTitle(),r.textAlign=l.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=c.string;const{boxWidth:T,boxHeight:I,itemHeight:R}=aB(s,m),re=this.isHorizontal(),se=this._computeTitleHeight();S=re?{x:Ar(o,this.left+d,this.right-i[0]),y:this.top+d+se,line:0}:{x:this.left+d,y:Ar(o,this.top+se+d,this.bottom-t[0].height),line:0},G4(this.ctx,e.textDirection);const oe=R+d;this.legendItems.forEach((ye,ve)=>{r.strokeStyle=ye.fontColor,r.fillStyle=ye.fontColor;const Me=r.measureText(ye.text).width,$e=l.textAlign(ye.textAlign||(ye.textAlign=s.textAlign)),mt=T+b+Me;let It=S.x,Pt=S.y;l.setWidth(this.width),re?ve>0&&It+mt+d>this.right&&(Pt=S.y+=oe,S.line++,It=S.x=Ar(o,this.left+d,this.right-i[S.line])):ve>0&&Pt+oe>this.bottom&&(It=S.x=It+t[S.line].width+d,S.line++,Pt=S.y=Ar(o,this.top+se+d,this.bottom-t[S.line].height));if(function(ye,ve,Me){if(isNaN(T)||T<=0||isNaN(I)||I<0)return;r.save();const $e=kt(Me.lineWidth,1);if(r.fillStyle=kt(Me.fillStyle,a),r.lineCap=kt(Me.lineCap,"butt"),r.lineDashOffset=kt(Me.lineDashOffset,0),r.lineJoin=kt(Me.lineJoin,"miter"),r.lineWidth=$e,r.strokeStyle=kt(Me.strokeStyle,a),r.setLineDash(kt(Me.lineDash,[])),s.usePointStyle){const mt={radius:I*Math.SQRT2/2,pointStyle:Me.pointStyle,rotation:Me.rotation,borderWidth:$e},It=l.xPlus(ye,T/2);N4(r,mt,It,ve+b,s.pointStyleWidth&&T)}else{const mt=ve+Math.max((m-I)/2,0),It=l.leftForLtr(ye,T),Pt=mu(Me.borderRadius);r.beginPath(),Object.values(Pt).some(Si=>0!==Si)?J_(r,{x:It,y:mt,w:T,h:I,radius:Pt}):r.rect(It,mt,T,I),r.fill(),0!==$e&&r.stroke()}r.restore()}(l.x(It),Pt,ye),It=((n,e,t,i)=>n===(i?"left":"right")?t:"center"===n?(e+t)/2:e)($e,It+T+b,re?It+mt:this.right,e.rtl),function(ye,ve,Me){pu(r,Me.text,ye,ve+R/2,c,{strikethrough:Me.hidden,textAlign:l.textAlign(Me.textAlign)})}(l.x(It),Pt,ye),re)S.x+=mt+d;else if("string"!=typeof ye.text){const Nr=c.lineHeight;S.y+=cB(ye,Nr)+d}else S.y+=oe}),Q4(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,i=Qi(t.font),r=Or(t.padding);if(!t.display)return;const o=Yf(e.rtl,this.left,this.width),s=this.ctx,a=t.position,l=i.size/2,c=r.top+l;let d,m=this.left,b=this.width;if(this.isHorizontal())b=Math.max(...this.lineWidths),d=this.top+c,m=Ar(e.align,m,this.right-b);else{const T=this.columnSizes.reduce((I,R)=>Math.max(I,R.height),0);d=c+Ar(e.align,this.top,this.bottom-T-e.labels.padding-this._computeTitleHeight())}const S=Ar(a,m,m+b);s.textAlign=o.textAlign(px(a)),s.textBaseline="middle",s.strokeStyle=t.color,s.fillStyle=t.color,s.font=i.string,pu(s,t.text,S,d,i)}_computeTitleHeight(){const e=this.options.title,t=Qi(e.font),i=Or(e.padding);return e.display?t.lineHeight+i.height:0}_getLegendItemAt(e,t){let i,r,o;if(hl(e,this.left,this.right)&&hl(t,this.top,this.bottom))for(o=this.legendHitBoxes,i=0;inull!==n&&null!==e&&n.datasetIndex===e.datasetIndex&&n.index===e.index)(r,i);r&&!o&&Gn(t.onLeave,[e,r,this],this),this._hoveredItem=i,i&&!o&&Gn(t.onHover,[e,i,this],this)}else i&&Gn(t.onClick,[e,i,this],this)}}function cB(n,e){return e*(n.text?n.text.length:0)}var wme={id:"legend",_element:lB,start(n,e,t){const i=n.legend=new lB({ctx:n.ctx,options:t,chart:n});Rr.configure(n,i,t),Rr.addBox(n,i)},stop(n){Rr.removeBox(n,n.legend),delete n.legend},beforeUpdate(n,e,t){const i=n.legend;Rr.configure(n,i,t),i.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 i=e.datasetIndex,r=t.chart;r.isDatasetVisible(i)?(r.hide(i),e.hidden=!0):(r.show(i),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:i,textAlign:r,color:o,useBorderRadius:s,borderRadius:a}}=n.legend.options;return n._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(t?0:void 0),d=Or(c.borderWidth);return{text:e[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(d.width+d.height)/4,strokeStyle:c.borderColor,pointStyle:i||c.pointStyle,rotation:c.rotation,textAlign:r||c.textAlign,borderRadius:s&&(a||c.borderRadius),datasetIndex:l.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 $x extends gl{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 i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const r=Xn(i.text)?i.text.length:1;this._padding=Or(i.padding);const o=r*Qi(i.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:i,bottom:r,right:o,options:s}=this,a=s.align;let c,d,m,l=0;return this.isHorizontal()?(d=Ar(a,i,o),m=t+e,c=o-i):("left"===s.position?(d=i+e,m=Ar(a,r,t),l=-.5*mn):(d=o-e,m=Ar(a,t,r),l=.5*mn),c=r-t),{titleX:d,titleY:m,maxWidth:c,rotation:l}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const i=Qi(t.font),o=i.lineHeight/2+this._padding.top,{titleX:s,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);pu(e,t.text,0,0,i,{color:t.color,maxWidth:l,rotation:c,textAlign:px(t.align),textBaseline:"middle",translation:[s,a]})}}var Mme={id:"title",_element:$x,start(n,e,t){!function Cme(n,e){const t=new $x({ctx:n.ctx,options:e,chart:n});Rr.configure(n,t,e),Rr.addBox(n,t),n.titleBlock=t}(n,t)},stop(n){const e=n.titleBlock;Rr.removeBox(n,e),delete n.titleBlock},beforeUpdate(n,e,t){const i=n.titleBlock;Rr.configure(n,i,t),i.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 RM=new WeakMap;var Dme={id:"subtitle",start(n,e,t){const i=new $x({ctx:n.ctx,options:t,chart:n});Rr.configure(n,i,t),Rr.addBox(n,i),RM.set(n,i)},stop(n){Rr.removeBox(n,RM.get(n)),RM.delete(n)},beforeUpdate(n,e,t){const i=RM.get(n);Rr.configure(n,i,t),i.options=t},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const ay={average(n){if(!n.length)return!1;let e,t,i=new Set,r=0,o=0;for(e=0,t=n.length;ea+l)/i.size,y:r/o}},nearest(n,e){if(!n.length)return!1;let o,s,a,t=e.x,i=e.y,r=Number.POSITIVE_INFINITY;for(o=0,s=n.length;o-1?n.split("\n"):n}function Sme(n,e){const{element:t,datasetIndex:i,index:r}=e,o=n.getDatasetMeta(i).controller,{label:s,value:a}=o.getLabelAndValue(r);return{chart:n,label:s,parsed:o.getParsed(r),raw:n.data.datasets[i].data[r],formattedValue:a,dataset:o.getDataset(),dataIndex:r,datasetIndex:i,element:t}}function dB(n,e){const t=n.chart.ctx,{body:i,footer:r,title:o}=n,{boxWidth:s,boxHeight:a}=e,l=Qi(e.bodyFont),c=Qi(e.titleFont),d=Qi(e.footerFont),m=o.length,b=r.length,S=i.length,T=Or(e.padding);let I=T.height,R=0,H=i.reduce((se,oe)=>se+oe.before.length+oe.lines.length+oe.after.length,0);if(H+=n.beforeBody.length+n.afterBody.length,m&&(I+=m*c.lineHeight+(m-1)*e.titleSpacing+e.titleMarginBottom),H){I+=S*(e.displayColors?Math.max(a,l.lineHeight):l.lineHeight)+(H-S)*l.lineHeight+(H-1)*e.bodySpacing}b&&(I+=e.footerMarginTop+b*d.lineHeight+(b-1)*e.footerSpacing);let j=0;const re=function(se){R=Math.max(R,t.measureText(se).width+j)};return t.save(),t.font=c.string,Fn(n.title,re),t.font=l.string,Fn(n.beforeBody.concat(n.afterBody),re),j=e.displayColors?s+2+e.boxPadding:0,Fn(i,se=>{Fn(se.before,re),Fn(se.lines,re),Fn(se.after,re)}),j=0,t.font=d.string,Fn(n.footer,re),t.restore(),R+=T.width,{width:R,height:I}}function Eme(n,e,t,i){const{x:r,width:o}=t,{width:s,chartArea:{left:a,right:l}}=n;let c="center";return"center"===i?c=r<=(a+l)/2?"left":"right":r<=o/2?c="left":r>=s-o/2&&(c="right"),function Tme(n,e,t,i){const{x:r,width:o}=i,s=t.caretSize+t.caretPadding;if("left"===n&&r+o+s>e.width||"right"===n&&r-o-s<0)return!0}(c,n,e,t)&&(c="center"),c}function uB(n,e,t){const i=t.yAlign||e.yAlign||function kme(n,e){const{y:t,height:i}=e;return tn.height-i/2?"bottom":"center"}(n,t);return{xAlign:t.xAlign||e.xAlign||Eme(n,e,t,i),yAlign:i}}function hB(n,e,t,i){const{caretSize:r,caretPadding:o,cornerRadius:s}=n,{xAlign:a,yAlign:l}=t,c=r+o,{topLeft:d,topRight:m,bottomLeft:b,bottomRight:S}=mu(s);let T=function xme(n,e){let{x:t,width:i}=n;return"right"===e?t-=i:"center"===e&&(t-=i/2),t}(e,a);const I=function Lme(n,e,t){let{y:i,height:r}=n;return"top"===e?i+=t:i-="bottom"===e?r+t:r/2,i}(e,l,c);return"center"===l?"left"===a?T+=c:"right"===a&&(T-=c):"left"===a?T-=Math.max(d,b)+r:"right"===a&&(T+=Math.max(m,S)+r),{x:rr(T,0,i.width-e.width),y:rr(I,0,i.height-e.height)}}function NM(n,e,t){const i=Or(t.padding);return"center"===e?n.x+n.width/2:"right"===e?n.x+n.width-i.right:n.x+i.left}function fB(n){return wa([],_l(n))}function pB(n,e){const t=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return t?n.override(t):n}const mB={beforeTitle:ul,title(n){if(n.length>0){const e=n[0],t=e.chart.data.labels,i=t?t.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(i>0&&e.dataIndex"u"?mB[e].call(t,i):r}class gB extends gl{static positioners=ay;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,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,i=this.options.setContext(this.getContext()),r=i.enabled&&t.options.animation&&i.animations,o=new rV(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=function Ime(n,e,t){return Cc(n,{tooltip:e,tooltipItems:t,type:"tooltip"})}(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,t){const{callbacks:i}=t,r=ro(i,"beforeTitle",this,e),o=ro(i,"title",this,e),s=ro(i,"afterTitle",this,e);let a=[];return a=wa(a,_l(r)),a=wa(a,_l(o)),a=wa(a,_l(s)),a}getBeforeBody(e,t){return fB(ro(t.callbacks,"beforeBody",this,e))}getBody(e,t){const{callbacks:i}=t,r=[];return Fn(e,o=>{const s={before:[],lines:[],after:[]},a=pB(i,o);wa(s.before,_l(ro(a,"beforeLabel",this,o))),wa(s.lines,ro(a,"label",this,o)),wa(s.after,_l(ro(a,"afterLabel",this,o))),r.push(s)}),r}getAfterBody(e,t){return fB(ro(t.callbacks,"afterBody",this,e))}getFooter(e,t){const{callbacks:i}=t,r=ro(i,"beforeFooter",this,e),o=ro(i,"footer",this,e),s=ro(i,"afterFooter",this,e);let a=[];return a=wa(a,_l(r)),a=wa(a,_l(o)),a=wa(a,_l(s)),a}_createItems(e){const t=this._active,i=this.chart.data,r=[],o=[],s=[];let l,c,a=[];for(l=0,c=t.length;le.filter(d,m,b,i))),e.itemSort&&(a=a.sort((d,m)=>e.itemSort(d,m,i))),Fn(a,d=>{const m=pB(e.callbacks,d);r.push(ro(m,"labelColor",this,d)),o.push(ro(m,"labelPointStyle",this,d)),s.push(ro(m,"labelTextColor",this,d))}),this.labelColors=r,this.labelPointStyles=o,this.labelTextColors=s,this.dataPoints=a,a}update(e,t){const i=this.options.setContext(this.getContext()),r=this._active;let o,s=[];if(r.length){const a=ay[i.position].call(this,r,this._eventPosition);s=this._createItems(i),this.title=this.getTitle(s,i),this.beforeBody=this.getBeforeBody(s,i),this.body=this.getBody(s,i),this.afterBody=this.getAfterBody(s,i),this.footer=this.getFooter(s,i);const l=this._size=dB(this,i),c=Object.assign({},a,l),d=uB(this.chart,i,c),m=hB(i,c,d,this.chart);this.xAlign=d.xAlign,this.yAlign=d.yAlign,o={opacity:1,x:m.x,y:m.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}else 0!==this.opacity&&(o={opacity:0});this._tooltipItems=s,this.$context=void 0,o&&this._resolveAnimations().update(this,o),e&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,i,r){const o=this.getCaretPosition(e,i,r);t.lineTo(o.x1,o.y1),t.lineTo(o.x2,o.y2),t.lineTo(o.x3,o.y3)}getCaretPosition(e,t,i){const{xAlign:r,yAlign:o}=this,{caretSize:s,cornerRadius:a}=i,{topLeft:l,topRight:c,bottomLeft:d,bottomRight:m}=mu(a),{x:b,y:S}=e,{width:T,height:I}=t;let R,H,j,re,se,oe;return"center"===o?(se=S+I/2,"left"===r?(R=b,H=R-s,re=se+s,oe=se-s):(R=b+T,H=R+s,re=se-s,oe=se+s),j=R):(H="left"===r?b+Math.max(l,d)+s:"right"===r?b+T-Math.max(c,m)-s:this.caretX,"top"===o?(re=S,se=re-s,R=H-s,j=H+s):(re=S+I,se=re+s,R=H+s,j=H-s),oe=re),{x1:R,x2:H,x3:j,y1:re,y2:se,y3:oe}}drawTitle(e,t,i){const r=this.title,o=r.length;let s,a,l;if(o){const c=Yf(i.rtl,this.x,this.width);for(e.x=NM(this,i.titleAlign,i),t.textAlign=c.textAlign(i.titleAlign),t.textBaseline="middle",s=Qi(i.titleFont),a=i.titleSpacing,t.fillStyle=i.titleColor,t.font=s.string,l=0;l0!==j)?(e.beginPath(),e.fillStyle=o.multiKeyBackground,J_(e,{x:I,y:T,w:c,h:l,radius:H}),e.fill(),e.stroke(),e.fillStyle=s.backgroundColor,e.beginPath(),J_(e,{x:R,y:T+1,w:c-2,h:l-2,radius:H}),e.fill()):(e.fillStyle=o.multiKeyBackground,e.fillRect(I,T,c,l),e.strokeRect(I,T,c,l),e.fillStyle=s.backgroundColor,e.fillRect(R,T+1,c-2,l-2))}e.fillStyle=this.labelTextColors[i]}drawBody(e,t,i){const{body:r}=this,{bodySpacing:o,bodyAlign:s,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:d}=i,m=Qi(i.bodyFont);let b=m.lineHeight,S=0;const T=Yf(i.rtl,this.x,this.width),I=function(Me){t.fillText(Me,T.x(e.x+S),e.y+b/2),e.y+=b+o},R=T.textAlign(s);let H,j,re,se,oe,ye,ve;for(t.textAlign=s,t.textBaseline="middle",t.font=m.string,e.x=NM(this,R,i),t.fillStyle=i.bodyColor,Fn(this.beforeBody,I),S=a&&"right"!==R?"center"===s?c/2+d:c+2+d:0,se=0,ye=r.length;se0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,i=this.$animations,r=i&&i.x,o=i&&i.y;if(r||o){const s=ay[e.position].call(this,this._active,this._eventPosition);if(!s)return;const a=this._size=dB(this,e),l=Object.assign({},s,this._size),c=uB(t,e,l),d=hB(e,l,c,t);(r._to!==d.x||o._to!==d.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,d))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(t);const r={width:this.width,height:this.height},o={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const s=Or(t.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&a&&(e.save(),e.globalAlpha=i,this.drawBackground(o,e,r,t),G4(e,t.textDirection),o.y+=s.top,this.drawTitle(o,e,t),this.drawBody(o,e,t),this.drawFooter(o,e,t),Q4(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const i=this._active,r=e.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!fM(i,r),s=this._positionChanged(r,t);(o||s)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,i=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,o=this._active||[],s=this._getActiveElements(e,o,t,i),a=this._positionChanged(s,e),l=t||!fM(s,o)||a;return l&&(this._active=s,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),l}_getActiveElements(e,t,i,r){const o=this.options;if("mouseout"===e.type)return[];if(!r)return t.filter(a=>this.chart.data.datasets[a.datasetIndex]&&void 0!==this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index));const s=this.chart.getElementsAtEventForMode(e,o.mode,o,i);return o.reverse&&s.reverse(),s}_positionChanged(e,t){const{caretX:i,caretY:r,options:o}=this,s=ay[o.position].call(this,e,t);return!1!==s&&(i!==s.x||r!==s.y)}}var Pme={id:"tooltip",_element:gB,positioners:ay,afterInit(n,e,t){t&&(n.tooltip=new gB({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;if(e&&e._willRender()){const t={tooltip:e};if(!1===n.notifyPlugins("beforeTooltipDraw",{...t,cancelable:!0}))return;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:mB},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:n=>"filter"!==n&&"itemSort"!==n&&"external"!==n,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Ame=Object.freeze({__proto__:null,Colors:$pe,Decimation:Qpe,Filler:mme,Legend:wme,SubTitle:Dme,Title:Mme,Tooltip:Pme});function Rme(n,e,t,i){const r=n.indexOf(e);if(-1===r)return((n,e,t,i)=>("string"==typeof e?(t=n.push(e)-1,i.unshift({index:t,label:e})):isNaN(e)&&(t=null),t))(n,e,t,i);return r!==n.lastIndexOf(e)?t:r}function _B(n){const e=this.getLabels();return n>=0&&nT&&(oe=v4($e*oe/T/S)*S),Gt(l)||(ye=Math.pow(10,l),oe=Math.ceil(oe*ye)/ye),"ticks"===r?(ve=Math.floor(I/oe)*oe,Me=Math.ceil(R/oe)*oe):(ve=I,Me=R),H&&j&&o&&function bue(n,e){const t=Math.round(n);return t-e<=n&&t+e>=n}((a-s)/o,oe/1e3)?($e=Math.round(Math.min((a-s)/oe,d)),oe=(a-s)/$e,ve=s,Me=a):re?(ve=H?s:ve,Me=j?a:Me,$e=c-1,oe=(Me-ve)/$e):($e=(Me-ve)/oe,$e=W_($e,Math.round($e),oe/1e3)?Math.round($e):Math.ceil($e));const mt=Math.max(w4(oe),w4(ve));ye=Math.pow(10,Gt(l)?mt:l),ve=Math.round(ve*ye)/ye,Me=Math.round(Me*ye)/ye;let It=0;for(H&&(b&&ve!==s?(t.push({value:s}),vea)break;t.push({value:Pt})}return j&&b&&Me!==a?t.length&&W_(t[t.length-1].value,a,yB(a,se,n))?t[t.length-1].value=a:t.push({value:a}):(!j||Me===a)&&t.push({value:Me}),t}function yB(n,e,{horizontal:t,minRotation:i}){const r=Bs(i),o=(t?Math.sin(r):Math.cos(r))||.001,s=.75*e*(""+n).length;return Math.min(e/o,s)}class FM extends bu{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return Gt(e)||("number"==typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:i}=this.getUserBounds();let{min:r,max:o}=this;const s=l=>r=t?r:l,a=l=>o=i?o:l;if(e){const l=va(r),c=va(o);l<0&&c<0?a(0):l>0&&c>0&&s(0)}if(r===o){let l=0===o?1:Math.abs(.05*o);a(o+l),e||s(r-l)}this.min=r,this.max=o}getTickLimit(){const e=this.options.ticks;let r,{maxTicksLimit:t,stepSize:i}=e;return i?(r=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),t=t||11),t&&(r=Math.min(t,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s=Yme({maxTicks:i,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&&b4(s,this,"value"),e.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const e=this.ticks;let t=this.min,i=this.max;if(super.configure(),this.options.offset&&e.length){const r=(i-t)/Math.max(e.length-1,1)/2;t-=r,i+=r}this._startValue=t,this._endValue=i,this._valueRange=i-t}getLabelForValue(e){return Q_(e,this.chart.options.locale,this.options.ticks.format)}}class jme extends FM{static id="linear";static defaults={ticks:{callback:_M.formatters.numeric}};determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=vi(e)?e:0,this.max=vi(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,i=Bs(this.options.ticks.minRotation),r=(e?Math.sin(i):Math.cos(i))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,o.lineHeight/r))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}const ly=n=>Math.floor(wc(n)),wu=(n,e)=>Math.pow(10,ly(n)+e);function vB(n){return n/Math.pow(10,ly(n))===1}function bB(n,e,t){const i=Math.pow(10,t),r=Math.floor(n/i);return Math.ceil(e/i)-r}function Vme(n,{min:e,max:t}){e=ko(n.min,e);const i=[],r=ly(e);let o=function Hme(n,e){let i=ly(e-n);for(;bB(n,e,i)>10;)i++;for(;bB(n,e,i)<10;)i--;return Math.min(i,ly(n))}(e,t),s=o<0?Math.pow(10,Math.abs(o)):1;const a=Math.pow(10,o),l=r>o?Math.pow(10,r):0,c=Math.round((e-l)*s)/s,d=Math.floor((e-l)/a/10)*a*10;let m=Math.floor((c-d)/Math.pow(10,o)),b=ko(n.min,Math.round((l+d+m*Math.pow(10,o))*s)/s);for(;b=10?m=m<15?15:20:m++,m>=20&&(o++,m=2,s=o>=0?1:s),b=Math.round((l+d+m*Math.pow(10,o))*s)/s;const S=ko(n.max,b);return i.push({value:S,major:vB(S),significand:m}),i}class Bme extends bu{static id="logarithmic";static defaults={ticks:{callback:_M.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){const i=FM.prototype.parse.apply(this,[e,t]);if(0!==i)return vi(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=vi(e)?Math.max(0,e):null,this.max=vi(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!vi(this._userMin)&&(this.min=e===wu(this.min,0)?wu(this.min,-1):wu(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let i=this.min,r=this.max;const o=a=>i=e?i:a,s=a=>r=t?r:a;i===r&&(i<=0?(o(1),s(10)):(o(wu(i,-1)),s(wu(r,1)))),i<=0&&o(wu(r,-1)),r<=0&&s(wu(i,1)),this.min=i,this.max=r}buildTicks(){const e=this.options,i=Vme({min:this._userMin,max:this._userMax},this);return"ticks"===e.bounds&&b4(i,this,"value"),e.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(e){return void 0===e?"0":Q_(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=wc(e),this._valueRange=wc(this.max)-wc(e)}getPixelForValue(e){return(void 0===e||0===e)&&(e=this.min),null===e||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(wc(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}}function Wx(n){const e=n.ticks;if(e.display&&n.display){const t=Or(e.backdropPadding);return kt(e.font&&e.font.size,ti.font.size)+t.height}return 0}function Ume(n,e,t){return t=Xn(t)?t:[t],{w:Fue(n,e.string,t),h:t.length*e.lineHeight}}function wB(n,e,t,i,r){return n===i||n===r?{start:e-t/2,end:e+t/2}:nr?{start:e-t,end:e}:{start:e,end:e+t}}function zme(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),i=[],r=[],o=n._pointLabels.length,s=n.options.pointLabels,a=s.centerPointLabels?mn/o:0;for(let l=0;le.r&&(a=(i.end-e.r)/o,n.r=Math.max(n.r,e.r+a)),r.starte.b&&(l=(r.end-e.b)/s,n.b=Math.max(n.b,e.b+l))}function Wme(n,e,t){const i=n.drawingArea,{extra:r,additionalAngle:o,padding:s,size:a}=t,l=n.getPointPosition(e,i+r+s,o),c=Math.round(ux(Pr(l.angle+Di))),d=function Jme(n,e,t){return 90===t||270===t?n-=e/2:(t>270||t<90)&&(n-=e),n}(l.y,a.h,c),m=function Qme(n){return 0===n||180===n?"center":n<180?"left":"right"}(c),b=function Kme(n,e,t){return"right"===t?n-=e:"center"===t&&(n-=e/2),n}(l.x,a.w,m);return{visible:!0,x:l.x,y:d,textAlign:m,left:b,top:d,right:b+a.w,bottom:d+a.h}}function qme(n,e){if(!e)return!0;const{left:t,top:i,right:r,bottom:o}=n;return!(pl({x:t,y:i},e)||pl({x:t,y:o},e)||pl({x:r,y:i},e)||pl({x:r,y:o},e))}function Zme(n,e,t){const{left:i,top:r,right:o,bottom:s}=t,{backdropColor:a}=e;if(!Gt(a)){const l=mu(e.borderRadius),c=Or(e.backdropPadding);n.fillStyle=a;const d=i-c.left,m=r-c.top,b=o-i+c.width,S=s-r+c.height;Object.values(l).some(T=>0!==T)?(n.beginPath(),J_(n,{x:d,y:m,w:b,h:S,radius:l}),n.fill()):n.fillRect(d,m,b,S)}}function CB(n,e,t,i){const{ctx:r}=n;if(t)r.arc(n.xCenter,n.yCenter,e,0,ei);else{let o=n.getPointPosition(0,e);r.moveTo(o.x,o.y);for(let s=1;se,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=Or(Wx(this.options)/2),t=this.width=this.maxWidth-e.width,i=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+i/2+e.top),this.drawingArea=Math.floor(Math.min(t,i)/2)}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!1);this.min=vi(e)&&!isNaN(e)?e:0,this.max=vi(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Wx(this.options))}generateTickLabels(e){FM.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((t,i)=>{const r=Gn(this.options.pointLabels.callback,[t,i],this);return r||0===r?r:""}).filter((t,i)=>this.chart.getDataVisibility(i))}fit(){const e=this.options;e.display&&e.pointLabels.display?zme(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,i,r){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((i-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,i,r))}getIndexAngle(e){return Pr(e*(ei/(this._pointLabels.length||1))+Bs(this.options.startAngle||0))}getDistanceFromCenterForValue(e){if(Gt(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(Gt(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;r--){const o=n._pointLabelItems[r];if(!o.visible)continue;const s=i.setContext(n.getPointLabelContext(r));Zme(t,s,o);const a=Qi(s.font),{x:l,y:c,textAlign:d}=o;pu(t,n._pointLabels[r],l,c+a.lineHeight/2,a,{color:s.color,textAlign:d,textBaseline:"middle"})}}(this,s),r.display&&this.ticks.forEach((d,m)=>{if(0!==m||0===m&&this.min<0){l=this.getDistanceFromCenterForValue(d.value);const b=this.getContext(m),S=r.setContext(b),T=o.setContext(b);!function ege(n,e,t,i,r){const o=n.ctx,s=e.circular,{color:a,lineWidth:l}=e;!s&&!i||!a||!l||t<0||(o.save(),o.strokeStyle=a,o.lineWidth=l,o.setLineDash(r.dash||[]),o.lineDashOffset=r.dashOffset,o.beginPath(),CB(n,t,s,i),o.closePath(),o.stroke(),o.restore())}(this,S,l,s,T)}}),i.display){for(e.save(),a=s-1;a>=0;a--){const d=i.setContext(this.getPointLabelContext(a)),{color:m,lineWidth:b}=d;!b||!m||(e.lineWidth=b,e.strokeStyle=m,e.setLineDash(d.borderDash),e.lineDashOffset=d.borderDashOffset,l=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max),c=this.getPointPosition(a,l),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,t=this.options,i=t.ticks;if(!i.display)return;const r=this.getIndexAngle(0);let o,s;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(r),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((a,l)=>{if(0===l&&this.min>=0&&!t.reverse)return;const c=i.setContext(this.getContext(l)),d=Qi(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){e.font=d.string,s=e.measureText(a.label).width,e.fillStyle=c.backdropColor;const m=Or(c.backdropPadding);e.fillRect(-s/2-m.left,-o-d.size/2-m.top,s+m.width,d.size+m.height)}pu(e,a.label,0,-o,d,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),e.restore()}drawTitle(){}}const YM={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}},oo=Object.keys(YM);function MB(n,e){return n-e}function DB(n,e){if(Gt(e))return null;const t=n._adapter,{parser:i,round:r,isoWeekday:o}=n._parseOpts;let s=e;return"function"==typeof i&&(s=i(s)),vi(s)||(s="string"==typeof i?t.parse(s,i):t.parse(s)),null===s?null:(r&&(s="week"!==r||!Rf(o)&&!0!==o?t.startOf(s,r):t.startOf(s,"isoWeek",o)),+s)}function SB(n,e,t,i){const r=oo.length;for(let o=oo.indexOf(n);o=e?t[i]:t[r]]=!0}}else n[e]=!0}function TB(n,e,t){const i=[],r={},o=e.length;let s,a;for(s=0;s=0&&(e[l].major=!0);return e}(n,i,r,t):i}class qx extends bu{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};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 i=e.time||(e.time={}),r=this._adapter=new sfe__date(e.adapters.date);r.init(t),z_(i.displayFormats,r.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:DB(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,t=this._adapter,i=e.time.unit||"day";let{min:r,max:o,minDefined:s,maxDefined:a}=this.getUserBounds();function l(c){!s&&!isNaN(c.min)&&(r=Math.min(r,c.min)),!a&&!isNaN(c.max)&&(o=Math.max(o,c.max))}(!s||!a)&&(l(this._getLabelBounds()),("ticks"!==e.bounds||"labels"!==e.ticks.source)&&l(this.getMinMax(!1))),r=vi(r)&&!isNaN(r)?r:+t.startOf(Date.now(),i),o=vi(o)&&!isNaN(o)?o:+t.endOf(Date.now(),i)+1,this.min=Math.min(r,o-1),this.max=Math.max(r+1,o)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],i=e[e.length-1]),{min:t,max:i}}buildTicks(){const e=this.options,t=e.time,i=e.ticks,r="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const o=this.min,a=function Due(n,e,t){let i=0,r=n.length;for(;ii&&n[r-1]>t;)r--;return i>0||r=oo.indexOf(t);o--){const s=oo[o];if(YM[s].common&&n._adapter.diff(r,i,s)>=e-1)return s}return oo[t?oo.indexOf(t):0]}(this,a.length,t.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function rge(n){for(let e=oo.indexOf(n)+1,t=oo.length;e+e.value))}initOffsets(e=[]){let r,o,t=0,i=0;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),t=1===e.length?1-r:(this.getDecimalForValue(e[1])-r)/2,o=this.getDecimalForValue(e[e.length-1]),i=1===e.length?o:(o-this.getDecimalForValue(e[e.length-2]))/2);const s=e.length<3?.5:.25;t=rr(t,0,s),i=rr(i,0,s),this._offsets={start:t,end:i,factor:1/(t+1+i)}}_generate(){const e=this._adapter,t=this.min,i=this.max,r=this.options,o=r.time,s=o.unit||SB(o.minUnit,t,i,this._getLabelCapacity(t)),a=kt(r.ticks.stepSize,1),l="week"===s&&o.isoWeekday,c=Rf(l)||!0===l,d={};let b,S,m=t;if(c&&(m=+e.startOf(m,"isoWeek",l)),m=+e.startOf(m,c?"day":s),e.diff(i,t,s)>1e5*a)throw new Error(t+" and "+i+" are too far apart with stepSize of "+a+" "+s);const T="data"===r.ticks.source&&this.getDataTimestamps();for(b=m,S=0;b+I)}getLabelForValue(e){const t=this._adapter,i=this.options.time;return i.tooltipFormat?t.format(e,i.tooltipFormat):t.format(e,i.displayFormats.datetime)}format(e,t){const r=this.options.time.displayFormats,o=this._unit,s=t||r[o];return this._adapter.format(e,s)}_tickFormatFunction(e,t,i,r){const o=this.options,s=o.ticks.callback;if(s)return Gn(s,[e,t,i],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,d=l&&a[l],m=c&&a[c],b=i[t],S=c&&m&&b&&b.major;return this._adapter.format(e,r||(S?m:d))}generateTickLabels(e){let t,i,r;for(t=0,i=e.length;t0?a:1}getDataTimestamps(){let t,i,e=this._cache.data||[];if(e.length)return e;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,i=r.length;t=n[i].pos&&e<=n[r].pos&&({lo:i,hi:r}=fl(n,"pos",e)),({pos:o,time:a}=n[i]),({pos:s,time:l}=n[r])):(e>=n[i].time&&e<=n[r].time&&({lo:i,hi:r}=fl(n,"time",e)),({time:o,pos:a}=n[i]),({time:s,pos:l}=n[r]));const c=s-o;return c?a+(l-a)*(e-o)/c:a}class sge extends qx{static id="timeseries";static defaults=qx.defaults;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=jM(t,this.min),this._tableRange=jM(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:t,max:i}=this,r=[],o=[];let s,a,l,c,d;for(s=0,a=e.length;s=t&&c<=i&&r.push(c);if(r.length<2)return[{time:t,pos:0},{time:i,pos:1}];for(s=0,a=r.length;sr-o)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const t=this.getDataTimestamps(),i=this.getLabelTimestamps();return e=t.length&&i.length?this.normalize(t.concat(i)):t.length?t:i,e=this._cache.all=e,e}getDecimalForValue(e){return(jM(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const t=this._offsets,i=this.getDecimalForPixel(e)/t.factor-t.end;return jM(this._table,i*this._tableRange+this._minPos,!0)}}var age=Object.freeze({__proto__:null,CategoryScale:class Fme extends bu{static id="category";static defaults={ticks:{callback:_B}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const i=this.getLabels();for(const{index:r,label:o}of t)i[r]===o&&i.splice(r,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(Gt(e))return null;const i=this.getLabels();return((n,e)=>null===n?null:rr(Math.round(n),0,e))(t=isFinite(t)&&i[t]===e?t:Rme(i,e,kt(t,e),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:i,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(i=0),t||(r=this.getLabels().length-1)),this.min=i,this.max=r}buildTicks(){const e=this.min,t=this.max,i=this.options.offset,r=[];let o=this.getLabels();o=0===e&&t===o.length-1?o:o.slice(e,t+1),this._valueRange=Math.max(o.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let s=e;s<=t;s++)r.push({value:s});return r}getLabelForValue(e){return _B.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}},LinearScale:jme,LogarithmicScale:Bme,RadialLinearScale:nge,TimeScale:qx,TimeSeriesScale:sge});const lge=[ofe,Ype,Ame,age];function cge(n){return"__proto__"===n}function EB(n){if(!n||"object"!=typeof n)return!1;const e=Object.getPrototypeOf(n);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(n)}function cy(n,e){const t=Object.keys(e);for(let i=0;ithis.themeChanged(e)))}ngOnChanges(e){if(!this.isBrowser)return;const t=["type"],i=Object.getOwnPropertyNames(e);if(i.some(r=>t.includes(r))||i.every(r=>e[r].isFirstChange()))this.render();else if(this.chart&&e.legend){const r=this.getChartConfiguration();r.options&&(this.chart.options=r.options),this.update()}else if(this.chart){const r=this.getChartConfiguration();r.data&&this.chart.config.data&&Object.assign(this.chart.config.data,r.data),r.plugins&&this.chart.config.plugins&&Object.assign(this.chart.config.plugins,r.plugins),r.options&&this.chart.config.options&&Object.assign(this.chart.config.options,r.options),this.update()}}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.subs.forEach(e=>e.unsubscribe())}render(){if(this.isBrowser&&this.ctx)return this.chart&&this.chart.destroy(),this.zone.runOutsideAngular(()=>this.chart=new Fx(this.ctx,this.getChartConfiguration()))}update(e){this.chart&&this.isBrowser&&this.zone.runOutsideAngular(()=>this.chart?.update(e))}hideDataset(e,t){this.chart&&this.isBrowser&&(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&&(this.chart.config.options&&Object.assign(this.chart.config.options,this.getChartOptions()),this.update())}getChartOptions(){return[{onHover:(e,t)=>{!this.chartHover.observed&&!this.chartHover.observers?.length||this.zone.run(()=>this.chartHover.emit({event:e,active:t}))},onClick:(e,t)=>{!this.chartClick.observed&&!this.chartClick.observers?.length||this.zone.run(()=>this.chartClick.emit({event:e,active:t}))}},this.themeOverrides??{},this.options??{},{plugins:{legend:{display:this.legend}}}].reduce(cy,{})}getChartConfiguration(){return{type:this.type,data:this.getChartData(),options:this.getChartOptions(),plugins:this.plugins}}getChartData(){return this.data?this.data:{labels:this.labels||[],datasets:this.datasets||[]}}static{this.\u0275fac=function(t){return new(t||HM)}}static{this.\u0275dir=je({type:HM,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:[ji]})}}function hge(n,e){if(1&n){const t=pe();f(0,"div"),O(1,"i",1),f(2,"strong"),w(3),p(),f(4,"button",2),W("click",function(){ne(t);return ie(A().closeAlert())}),f(5,"span",3),w(6,"\xd7"),p()(),w(7),p()}if(2&n){const t=A();Cn(si("alert alert-",t.alert.contextClass," fade in")),C(3),We("",t.alert.title,":"),C(4),We(" ",t.alert.message," ")}}class Ot{constructor(){}ngOnInit(){}closeAlert(){delete this.alert}newAlert(e,t,i){this.alert={},this.alert.title=e,this.alert.message=t,this.alert.contextClass=i}setErrorAlert(e){let t,i,r;switch(e.errorcode){case 400:case 401:case 403:case 404:case 405:case 409:case 451:case 429:t="Warning!",r="warning",i=e.error;break;case 500:t="Error!",r="danger",i=e.error;break;default:t="Error!",r="danger",i="Unable to parse error, please contact support"}this.newAlert(t,i,r)}static{this.\u0275fac=function(t){return new(t||Ot)}}static{this.\u0275cmp=Fe({type:Ot,selectors:[["ue-alert"]],inputs:{alert:"alert"},standalone:!1,decls:1,vars:1,consts:[[3,"class"],[1,"fa-fw","fa","fa-warning"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"]],template:function(t,i){1&t&&V(0,hge,8,5,"div",0),2&t&&B(i.alert?0:-1)},styles:[".alert[_ngcontent-%COMP%]{margin-bottom:10px}"]})}}class Hf{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{this.\u0275fac=function(t){return new(t||Hf)(Ce(Gi),Ce(ll))}}static{this.\u0275prov=ue({token:Hf,factory:Hf.\u0275fac})}}class VM{constructor(){}ngOnInit(){}static{this.\u0275fac=function(t){return new(t||VM)}}static{this.\u0275cmp=Fe({type:VM,selectors:[["ue-article"]],inputs:{article:"article",last:"last"},standalone:!1,decls:10,vars:3,consts:[[1,"newsfeed"],[1,"row"],[1,"col-xs-12"],[1,"newsSubInfo"],[1,"fa","fa-calendar"],[1,"newsTitle"],[1,"newsMessage",3,"innerHtml"]],template:function(t,i){1&t&&(f(0,"div",0)(1,"div",1)(2,"div",2)(3,"p",3)(4,"span"),O(5,"i",4),w(6),p()(),f(7,"h4",5),w(8),p(),O(9,"div",6),p()()()),2&t&&(C(6),We(" ",null==i.article?null:i.article.posted," "),C(2),We(" ",null==i.article?null:i.article.title," "),C(),U("innerHtml",null==i.article?null:i.article.news,b0))},encapsulation:2})}}const fge=n=>({viewmore:n});function pge(n,e){if(1&n&&O(0,"ue-article",5),2&n){const t=e.$implicit,i=e.$index,r=e.$count;U("article",t)("last",i===r-1)}}class BM{constructor(){this.showNews=!1}ngOnInit(){}static{this.\u0275fac=function(t){return new(t||BM)}}static{this.\u0275cmp=Fe({type:BM,selectors:[["ue-newsfeed"]],inputs:{articles:"articles"},standalone:!1,decls:17,vars:8,consts:[[1,"jarviswidget"],["role","heading",1,"ui-sortable-handle"],[1,"fa","fa-rss-square"],[1,"widget-body"],[1,"NewsFeedBackground",3,"ngClass"],[1,"newsRow",3,"article","last"],[1,"row",3,"click"],[1,"col-xs-12","text-center"],[1,"container-fluid","moreButton","text-center"],[1,"fa"]],template:function(t,i){1&t&&(f(0,"div",0)(1,"header",1)(2,"h2")(3,"strong"),O(4,"i",2),w(5," Newsfeed "),p()()(),f(6,"div",3)(7,"div",4),bn(8,pge,1,2,"ue-article",5,vn),f(10,"div",6),W("click",function(){return i.showNews=!i.showNews}),f(11,"div",7)(12,"div",8)(13,"span")(14,"h5"),w(15),p()(),O(16,"i",9),p()()()()()()),2&t&&(C(7),U("ngClass",ai(6,fge,i.showNews)),C(),wn(i.articles),C(7),De(i.showNews?"Hide Older":"View Older"),C(),Re("fa-chevron-down",!i.showNews)("fa-chevron-up",i.showNews))},dependencies:[yo,VM],encapsulation:2})}}class uy{constructor(){this.customText=""}ngOnInit(){}static{this.\u0275fac=function(t){return new(t||uy)}}static{this.\u0275cmp=Fe({type:uy,selectors:[["ue-loader"]],inputs:{customText:"customText"},standalone:!1,decls:7,vars:1,consts:[[1,"cover"],[1,"app-loading"],["viewBox","25 25 50 50",1,"spinner"],["cx","50","cy","50","r","20","fill","none","stroke-width","2","stroke-miterlimit","10",1,"path"],[1,"loading-message"],[1,"tabCover"]],template:function(t,i){1&t&&(f(0,"div",0)(1,"div",1),wD(),f(2,"svg",2),O(3,"circle",3),p(),CD(),f(4,"h4",4),w(5),p()()(),O(6,"div",5)),2&t&&(C(5),De(i.customText?i.customText:"Loading..."))},styles:[".loading-message[_ngcontent-%COMP%]{padding-top:150px}.app-loading[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.app-loading[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%]{height:100px;width:100px;animation:_ngcontent-%COMP%_rotate 2s linear infinite;transform-origin:center center;position:absolute;inset:0;margin:auto}.app-loading[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%] .path[_ngcontent-%COMP%]{stroke-dasharray:1,200;stroke-dashoffset:0;animation:_ngcontent-%COMP%_dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:#ddd}@keyframes _ngcontent-%COMP%_rotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}.tabCover[_ngcontent-%COMP%]{position:absolute;margin:0;left:0;z-index:100!important;width:100%;height:60%;background-color:#fff!important}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]})}}function mge(n,e){1&n&&O(0,"ue-loader")}function gge(n,e){if(1&n&&(f(0,"div",7)(1,"div",10)(2,"div",11)(3,"h2")(4,"strong"),O(5,"i",12),w(6," Device Summary"),p()()(),f(7,"div",13),O(8,"canvas",14),f(9,"div",15)(10,"h4",16),w(11),p(),f(12,"h4"),w(13),p()()()()()),2&n){const t=A(2);C(8),U("data",t.deviceChartData)("options",t.deviceChartOptions)("type",t.doughnutChartType),C(),fr("color",t.deviceCount.color),C(2),De(t.deviceCount.count),C(2),De(t.deviceCount.label)}}function _ge(n,e){if(1&n&&(f(0,"div",8)(1,"div",10)(2,"div",11)(3,"h2")(4,"strong"),O(5,"i",17),w(6," Appliance Summary"),p()()(),f(7,"div",13),O(8,"canvas",14),f(9,"div",15)(10,"h4",16),w(11),p(),f(12,"h4"),w(13),p()()()()()),2&n){const t=A(2);C(8),U("data",t.applianceChartData)("options",t.applianceChartOptions)("type",t.doughnutChartType),C(),fr("color",t.applianceCount.color),C(2),De(t.applianceCount.count),C(2),De(t.applianceCount.label)}}function yge(n,e){if(1&n){const t=pe();f(0,"div",9)(1,"div",18)(2,"div",11)(3,"h2")(4,"strong"),O(5,"i",19),w(6," Appliance Table"),p()()(),f(7,"div",13)(8,"ue-table",20),W("onRowSelect",function(r){ne(t);return ie(A(2).onRowSelect(r))}),O(9,"ue-column",21)(10,"ue-column",22)(11,"ue-column",23)(12,"ue-column",24)(13,"ue-column",25)(14,"ue-column",26)(15,"ue-column",27)(16,"ue-column",28),p()()()()}if(2&n){const t=A(2);C(8),U("value",t.summaryData.servers.data)}}function vge(n,e){if(1&n&&(f(0,"div",3),V(1,gge,14,7,"div",7),V(2,_ge,14,7,"div",8),V(3,yge,17,1,"div",9),p()),2&n){const t=A();C(),B(t.summaryData.total_devices>0?1:-1),C(),B(t.summaryData.total_servers>0?2:-1),C(),B(t.summaryData.total_servers>0?3:-1)}}class UM{constructor(e,t,i){this.dashboardService=e,this.router=t,this.changeDetectorRef=i,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:(r,o)=>{this.updateDeviceCount(o.index)}},tooltip:{enabled:!1}},hover:{mode:"nearest",intersect:!0},onHover:(r,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:(r,o)=>{this.updateApplianceCount(o.index)}},tooltip:{enabled:!1}},hover:{mode:"nearest",intersect:!0},onHover:(r,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{this.\u0275fac=function(t){return new(t||UM)(G(Hf),G(St),G(la))}}static{this.\u0275cmp=Fe({type:UM,selectors:[["ue-dashboard"]],viewQuery:function(t,i){if(1&t&&qt(Ot,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first)}},standalone:!1,decls:10,vars:3,consts:[[1,"container-fluid"],[1,"row"],[1,"col-xs-12"],[1,"row","widget-container"],[1,"col-xs-12",2,"max-width","1300px"],[1,"dash-card-full"],[3,"articles"],["id","deviceSummary",1,"col-xs-12","col-sm-6"],["id","applianceSummary",1,"col-xs-12","col-sm-6"],["id","applianceTable",1,"col-xs-12"],[1,"dash-card"],[1,"dash-card-header"],[1,"fa","fa-mobile"],[1,"dash-card-body"],["baseChart","",3,"data","options","type"],[1,"chartCount"],[2,"font-size","50px"],[1,"fa","fa-list"],[1,"dash-card-no-border","dash-card-full"],[1,"fa","fa","fa-list"],[3,"onRowSelect","value"],["field","name","header","Name"],["field","clientip","header","Client IP"],["field","broker","header","Broker"],["field","total_devices","header","Total"],["field","devices_online","header","Online"],["field","devices_pairing","header","Pairing"],["field","devices_processing","header","Processing"],["field","devices_offline","header","Offline"]],template:function(t,i){1&t&&(f(0,"div",0)(1,"div",1)(2,"div",2),O(3,"ue-alert"),p()(),V(4,mge,1,0,"ue-loader"),V(5,vge,4,3,"div",3),f(6,"div",1)(7,"div",4)(8,"div",5),O(9,"ue-newsfeed",6),p()()()()),2&t&&(C(4),B(i.loading?4:-1),C(),B(i.loading?-1:5),C(4),U("articles",i.articles))},dependencies:[Xo,ya,BM,Ot,uy,HM],styles:["h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%]{margin:0}.widget-container[_ngcontent-%COMP%]{max-width:1300px}.dash-card[_ngcontent-%COMP%]{border-width:1px;border-style:solid;border-color:#c2c2c2;margin-bottom:20px}.dash-card-no-border[_ngcontent-%COMP%]{margin-bottom:20px;width:100%}.dash-card-header[_ngcontent-%COMP%]{width:100%;height:34px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#c2c2c2;padding-left:10px;color:#333;background:#fafafa}.dash-card-no-border[_ngcontent-%COMP%] > .dash-card-header[_ngcontent-%COMP%]{border-width:1px;border-style:solid;border-color:#c2c2c2}.dash-card-header[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:14px;line-height:34px;letter-spacing:0}.dash-card-body[_ngcontent-%COMP%]{position:relative;border-top-width:1px;border-top-style:solid;border-top-color:#e3e3e3}.dash-card-loading[_ngcontent-%COMP%]{color:#d3d3d3;text-align:center;padding:20px}.chartCount[_ngcontent-%COMP%]{position:absolute;bottom:10px;right:10px;text-align:right}@media only screen and (min-width:768px){.dash-card[_ngcontent-%COMP%]{width:100%}.dash-card-body[_ngcontent-%COMP%]{height:198px;overflow-y:scroll}#applianceSummary[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}}"]})}}const bge=[{path:"",component:UM}];class zM{static{this.\u0275fac=function(t){return new(t||zM)}}static{this.\u0275mod=Ct({type:zM})}static{this.\u0275inj=dt({imports:[fi.forChild(bge),fi]})}}class $M{static{this.\u0275fac=function(t){return new(t||$M)}}static{this.\u0275mod=Ct({type:$M})}static{this.\u0275inj=dt({providers:[Hf,uge(dge())],imports:[js,zM]})}}class Gx{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}}function wge(n,e){if(1&n){const t=pe();f(0,"li",8),W("click",function(){const r=ne(t).$implicit;return ie(A(3).clickPage(r))}),f(1,"a"),w(2),p()()}if(2&n){const t=e.$implicit;Re("disabled",t.disabled)("active",t.active),C(2),De(t.text)}}function Cge(n,e){if(1&n){const t=pe();f(0,"div",2)(1,"div")(2,"div")(3,"ul",3),bn(4,wge,3,5,"li",4,vn),f(6,"li",5)(7,"span")(8,"input",6),W("input",function(){ne(t);return ie(A(2).sanitizePageNum())}),p(),f(9,"button",7),W("click",function(){ne(t);return ie(A(2).clickGo())}),w(10,"Go"),p()()()()()()()}if(2&n){const t=A(2);C(4),wn(t.paginationArray),C(4),U("formControl",t.goToValueControl)}}function Mge(n,e){if(1&n&&(f(0,"div",0)(1,"div",1),w(2),p(),V(3,Cge,11,1,"div",2),p()),2&n){const t=A();C(2),$b(" Showing ",t.paginationObject.offset+1," to ",t.paginationObject.offset+t.paginationObject.length," of ",t.paginationObject.total," entries. "),C(),B(t.paginationArray.length>0?3:-1)}}class To{constructor(){this.paginationArray=[],this.goToValueControl=new Vd,this.paginationObject={},this.goToPage=new Se}updatePaginationLength(e){this.paginationObject.length=e}updatePaginationObject(e,t,i){this.paginationObject.limit=Number(e),this.paginationObject.offset=Number(t),this.paginationObject.total=Number(i),this.pagination(e,t,i)}clickPage(e){this.goToPage.emit(e)}clickGo(){let e=this.goToValueControl.value;const t=this.paginationObject.limit;let r=!1;t*(e-1)===this.paginationObject.offset&&(r=!0);const o={active:r,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,i){this.paginationArray=[],e=Number(e),t=Number(t),i=Number(i);const r=Math.ceil(i/e);if(this.getCurrentPage(t,e),1!==r)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,r>1)for(let o=1;o<=(r<3?r:3);o++)this.paginationArray.push({text:o,limit:e,offset:(o-1)*e,active:this.currentPage===o,disabled:!1});this.paginationArray=this.addNextLast(e,r)}else if(1!==this.currentPage&&this.currentPage!==r){if(this.currentPage>r)return this.paginationArray=this.addNextLast(e,r),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>r?r: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,r)}else if(this.currentPage===r){for(let o=2===r?1:r-2;o<=(2===r?2:r);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=Gx.stringToNumber(Gx.onlyAllowNumber(this.goToValueControl.value));this.goToValueControl.patchValue(e)}static{this.\u0275fac=function(t){return new(t||To)}}static{this.\u0275cmp=Fe({type:To,selectors:[["ue-pagination"]],inputs:{paginationObject:"paginationObject"},outputs:{goToPage:"goToPage"},standalone:!1,decls:1,vars:1,consts:[[1,"row"],[1,"col-sm-12","col-lg-3","dataTables_info"],[1,"col-sm-12","col-lg-9","text-right"],[1,"pagination"],[1,"pointer",3,"disabled","active"],["id","ueDataTable-goto"],["id","ueDataTable-goto-input","type","text",3,"input","formControl"],["id","ueDataTable-goto-btn",1,"btn","btn-primary",3,"click"],[1,"pointer",3,"click"]],template:function(t,i){1&t&&V(0,Mge,4,4,"div",0),2&t&&B(i.paginationObject.total>0?0:-1)},dependencies:[qn,Ln,ac],encapsulation:2})}}class Cu{constructor(e,t,i){this.ueHttp=e,this.router=t,this.ueTheme=i,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{this.\u0275fac=function(t){return new(t||Cu)(Ce(Gi),Ce(St),Ce(ll))}}static{this.\u0275prov=ue({token:Cu,factory:Cu.\u0275fac})}}const Dge=(n,e)=>({"top.px":n,"left.px":e});function Sge(n,e){if(1&n){const t=pe();f(0,"li",2),W("click",function(){const r=ne(t).$implicit;return ie(A(2).onClick(r.command))}),f(1,"a"),O(2,"i"),w(3),p()()}if(2&n){const t=e.$implicit;C(2),Cn(t.icon),C(),We(" ",t.label," ")}}function kge(n,e){if(1&n&&(f(0,"ul",0),bn(1,Sge,4,3,"li",1,vn),p()),2&n){const t=A();U("ngStyle",zo(1,Dge,t.position.y,t.position.x)),C(),wn(t.menuItems)}}class Vf{constructor(e,t){this.renderer=e,this.el=t,this.positionError={x:-5,y:0},this.getMenuItems=new Se,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{this.\u0275fac=function(t){return new(t||Vf)(G(ur),G(On))}}static{this.\u0275cmp=Fe({type:Vf,selectors:[["ue-context-menu"]],inputs:{menuItems:"menuItems",positionError:"positionError"},outputs:{getMenuItems:"getMenuItems"},standalone:!1,decls:1,vars:1,consts:[[1,"dropdown-menu","dropdown-context",2,"display","block",3,"ngStyle"],[1,"pointer"],[1,"pointer",3,"click"]],template:function(t,i){1&t&&V(0,kge,3,4,"ul",0),2&t&&B(i.visible?0:-1)},dependencies:[vo],encapsulation:2})}}const Tge=["*"];class In{constructor(){this.type="button",this.onClick=new Se}ngOnInit(){}static{this.\u0275fac=function(t){return new(t||In)}}static{this.\u0275cmp=Fe({type:In,selectors:[["ue-button"]],inputs:{btnClass:"btnClass",icon:"icon",type:"type",disabled:"disabled",noLabel:"noLabel"},outputs:{onClick:"onClick"},standalone:!1,ngContentSelectors:Tge,decls:6,vars:20,consts:[[2,"padding-top","6px","padding-bottom","6px",3,"click","type","disabled"],[3,"click","type","disabled"]],template:function(t,i){1&t&&(Bo(),f(0,"button",0),W("click",function(o){return i.onClick.emit(o)}),O(1,"i"),p(),f(2,"button",1),W("click",function(o){return i.onClick.emit(o)}),f(3,"span"),O(4,"i"),p(),Dr(5),p()),2&t&&(Cn(si("btn btn-",i.btnClass," hidden-md hidden-lg")),U("type",Uo(i.type))("disabled",i.disabled),C(),Cn(i.icon),C(),Cn(si("btn btn-",i.btnClass," hidden-xs hidden-sm")),Re("btn-labeled",!i.noLabel),U("type",Uo(i.type))("disabled",i.disabled),C(),Re("btn-label",!i.noLabel),C(),Cn(i.icon))},styles:[".btn-label[_ngcontent-%COMP%]{left:-13px;border-radius:2px 0 0 2px}"]})}}const Ege=["ueModal"];function xge(n,e){if(1&n&&(f(0,"div",5),O(1,"br"),w(2),p()),2&n){const t=A();C(2),We(" Warning: ",t.warning," ")}}class ns{constructor(){this.callBack=new Se,this.onOpen=new Se,this.onClose=new Se,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{this.\u0275fac=function(t){return new(t||ns)}}static{this.\u0275cmp=Fe({type:ns,selectors:[["ue-confirm-modal"]],viewQuery:function(t,i){if(1&t&&qt(Ege,7),2&t){let r;Ee(r=xe())&&(i.ueModal=r.first)}},inputs:{header:"header",body:"body",warning:"warning",icon:"icon",btnClass:"btnClass",buttonLabel:"buttonLabel",hideCloseButton:"hideCloseButton",closeOnEscape:"closeOnEscape",closeOnOutsideClick:"closeOnOutsideClick",closeBtnLabel:"closeBtnLabel"},outputs:{callBack:"callBack",onOpen:"onOpen",onClose:"onClose"},standalone:!1,decls:14,vars:12,consts:[["ueModal",""],[3,"onOpen","onClose","hideCloseButton","closeOnEscape","closeOnOutsideClick"],[1,"ellipsis"],[1,"row"],[1,"col-xs-12",3,"innerHTML"],[1,"col-xs-12","red-text"],["btnClass","default","icon","fa fa-times",3,"onClick"],[3,"onClick","btnClass","icon"]],template:function(t,i){1&t&&(f(0,"modal",1,0),W("onOpen",function(o){return i.onOpen.emit(o)})("onClose",function(){return i.close()}),f(2,"modal-header")(3,"h1",2),w(4),p()(),f(5,"modal-content")(6,"div",3),O(7,"div",4),V(8,xge,3,1,"div",5),p()(),f(9,"modal-footer")(10,"ue-button",6),W("onClick",function(){return i.close()}),w(11),p(),f(12,"ue-button",7),W("onClick",function(o){return i.callBack.emit(o)}),w(13),p()()()),2&t&&(U("hideCloseButton",i.hideCloseButton)("closeOnEscape",i.closeOnEscape)("closeOnOutsideClick",i.closeOnOutsideClick),C(4),De(i.header),C(3),U("innerHTML",i.body,b0),C(),B(i.warning?8:-1),C(3),De(i.closeBtnLabel),C(),U("btnClass",Uo(i.btnClass))("icon",Uo(i.icon)),C(),We(" ",i.buttonLabel," "))},dependencies:[In,So,Lr,Ir,Ur],styles:[".ellipsis[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.red-text[_ngcontent-%COMP%]{color:red}"]})}}function Lge(n,e){if(1&n){const t=pe();f(0,"i",4),W("click",function(r){ne(t);return ie(A().clickClose.emit(r))}),p()}}class is{constructor(){this.closeButton=!1,this.clickClose=new Se}static{this.\u0275fac=function(t){return new(t||is)}}static{this.\u0275cmp=Fe({type:is,selectors:[["ue-section-title"]],inputs:{title:"title",titleIcon:"titleIcon",closeButton:"closeButton"},outputs:{clickClose:"clickClose"},standalone:!1,decls:6,vars:4,consts:[[1,"row",2,"margin-bottom","10px"],[1,"col-xs-12","col-sm-12","col-md-12","col-lg-12","titlet"],[1,"textblue","sec-title",2,"margin-bottom","10px"],[1,"um","um-close-circle","text-danger","pointer","pull-right",2,"font-size","15px"],[1,"um","um-close-circle","text-danger","pointer","pull-right",2,"font-size","15px",3,"click"]],template:function(t,i){1&t&&(f(0,"div",0)(1,"div",1)(2,"h2",2),O(3,"i"),w(4),V(5,Lge,1,0,"i",3),p()()()),2&t&&(C(3),Cn(i.titleIcon),C(),We(" ",i.title," "),C(),B(i.closeButton?5:-1))},encapsulation:2})}}var IB=P(7586);class WM{transform(e,t){let i=e;return"0000-00-00 00:00:00"===e?"-":(IB&&(i=e?IB(e,"YYYY-MM-DD HH:mm:ss").format(t):"-"),i)}static{this.\u0275fac=function(t){return new(t||WM)}}static{this.\u0275pipe=Mr({name:"ueDate",type:WM,pure:!0,standalone:!1})}}const Ige=["confirmDeletionModal"];function Pge(n,e){if(1&n){const t=pe();f(0,"div",5)(1,"ue-button",20),W("onClick",function(){ne(t);return ie(A().makeNewEndpoint())}),w(2,"New Endpoint"),p()()}}function Age(n,e){if(1&n&&w(0),2&n){const t=e.rowData;We(" ",t.typename+" "+t.apiver," ")}}function Oge(n,e){if(1&n&&w(0),2&n){const t=e.rowData;We(" ",A().parseRateLimit(t.ratelimit_daily)," ")}}function Rge(n,e){if(1&n&&w(0),2&n){const t=e.rowData;We(" ",A().parseRateLimit(t.ratelimit)," ")}}function Nge(n,e){if(1&n&&(w(0),qb(1,"ueDate")),2&n){const t=e.rowData;We(" ",kN(1,1,A().parseDate(t.created),"MM/DD/YYYY")," ")}}function Fge(n,e){if(1&n){const t=pe();f(0,"a",21),W("click",function(r){ne(t);const o=A().rowData,s=A(2);return ie(s.openExternalLink(s.createDocsUrl(o),r))}),w(1,"SOAP docs"),p()}}function Yge(n,e){if(1&n){const t=pe();f(0,"a",21),W("click",function(r){ne(t);const o=A().rowData,s=A(2);return ie(s.openExternalLink(s.createDocsUrl(o),r))}),w(1,"REST docs"),p()}}function jge(n,e){if(1&n&&(V(0,Fge,2,0,"a"),V(1,Yge,2,0,"a")),2&n){const t=e.rowData;B("rest"!==t.apitype?0:-1),C(),B("rest"===t.apitype?1:-1)}}function Hge(n,e){1&n&&(f(0,"ue-column",17),en(1,jge,2,2,"ng-template",10),p())}class qM{constructor(e,t,i,r){this.endpointsService=e,this.router=t,this.route=i,this.authService=r,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(Pi(e=>e instanceof Er&&(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{this.\u0275fac=function(t){return new(t||qM)(G(Cu),G(St),G(ir),G(Un))}}static{this.\u0275cmp=Fe({type:qM,selectors:[["ue-endpoints-list"]],viewQuery:function(t,i){if(1&t&&qt(Ot,7)(To,7)(Ige,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first),Ee(r=xe())&&(i.paginationComponent=r.first),Ee(r=xe())&&(i.confirmDeletionModal=r.first)}},standalone:!1,decls:26,vars:7,consts:[["contextMenuRef",""],["confirmDeletionModal",""],[1,"row"],[1,"col-xs-6","col-sm-6","col-md-6","col-lg-3"],["title","API Endpoints","titleIcon","fa fa-fw fa-list"],[1,"col-xs-6","col-sm-6","col-md-6","col-lg-9","text-right","margintop15"],[1,"col-xs-12"],[3,"menuItems"],[3,"onRowSelect","value","contextMenuRef"],["field","apitype","header","API Type"],["ueTemplate","body"],["field","endpointkey","header","Key"],["field","title","header","Title"],["field","version","header","Version"],["field","ratelimit_daily","header","Rate Limit (daily)"],["field","ratelimit","header","Rate Limit (per min)"],["field","created","header","Created"],["field","docs","header","Docs"],[3,"goToPage"],["body","Deleting this endpoint will prevent any software using this endpoint from functioning. Be sure you are no longer using this endpoint before you continue. Endpoints cannot be restored.","icon","fa fa-check","btnClass","warning","buttonLabel","Confirm",3,"callBack","header"],["btnClass","primary","icon","fa fa-plus",3,"onClick"],[3,"click"]],template:function(t,i){if(1&t&&(f(0,"div",2)(1,"div",3),O(2,"ue-section-title",4),p(),V(3,Pge,3,0,"div",5),p(),O(4,"ue-alert"),f(5,"div",2)(6,"div",6),O(7,"ue-context-menu",7,0),f(9,"ue-table",8),W("onRowSelect",function(o){return i.onRowSelect(o)}),f(10,"ue-column",9),en(11,Age,1,1,"ng-template",10),p(),O(12,"ue-column",11)(13,"ue-column",12)(14,"ue-column",13),f(15,"ue-column",14),en(16,Oge,1,1,"ng-template",10),p(),f(17,"ue-column",15),en(18,Rge,1,1,"ng-template",10),p(),f(19,"ue-column",16),en(20,Nge,2,4,"ng-template",10),p(),V(21,Hge,2,0,"ue-column",17),p()()(),f(22,"ue-pagination",18),W("goToPage",function(o){return i.goToPage(o)}),p(),O(23,"router-outlet"),f(24,"ue-confirm-modal",19,1),W("callBack",function(){return i.deleteEndpoint(i.contextMenuTarget)}),p()),2&t){const r=$n(8);C(3),B(i.canCreate?3:-1),C(4),U("menuItems",i.contextMenuItems),C(2),U("value",i.endpoints)("contextMenuRef",r),C(12),B(i.showDocsColumn()?21:-1),C(3),U("header",si("Confirm Delete: ",null==i.contextMenuTarget?null:i.contextMenuTarget.title))}},dependencies:[Xo,sl,ya,Vf,In,To,ns,is,Ot,Co,WM],encapsulation:2})}}const Vge=["*"],Bge=n=>({disabled:n}),Uge=(n,e)=>({empty:n,error:e}),zge=n=>({empty:n});function $ge(n,e){if(1&n&&(f(0,"span",6)(1,"strong"),w(2,"Note: "),p(),w(3),p()),2&n){const t=A();C(3),De(t.note)}}function Wge(n,e){if(1&n&&(f(0,"span",7),w(1),p()),2&n){const t=A();C(),We("* ",t.errorMessage)}}class yl{constructor(){this.error=!1,this.valueChange=new Se,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{this.\u0275fac=function(t){return new(t||yl)}}static{this.\u0275cmp=Fe({type:yl,selectors:[["ue-float-label-select"]],inputs:{label:"label",value:"value",inputClass:"inputClass",error:"error",errorMessage:"errorMessage",note:"note",readonly:"readonly",reqDifferent:"reqDifferent"},outputs:{valueChange:"valueChange"},standalone:!1,features:[Yt([{provide:Xr,multi:!0,useExisting:yl}]),ji],ngContentSelectors:Vge,decls:10,vars:27,consts:[[3,"ngClass"],[1,"single_fld","ng-float-label-control"],[1,"mobile-center","input_lg","font-light",3,"ngModelChange","blur","disabled","id","ngModel","ngClass"],[3,"for","ngClass"],[1,"icon"],[1,"fa","fa-sort",2,"margin-left","10px"],[1,"note"],[1,"error"]],template:function(t,i){1&t&&(Bo(),f(0,"div",0)(1,"div",1)(2,"select",2),Ui("ngModelChange",function(o){return nr(i.value,o)||(i.value=o),o}),W("ngModelChange",function(o){return i.inputChange(o)})("blur",function(){return i.inputBlur()}),Dr(3),p(),f(4,"label",3),w(5),p(),f(6,"span",4),O(7,"i",5),p(),V(8,$ge,4,1,"span",6),V(9,Wge,2,1,"span",7),p()()),2&t&&(Cn(i.inputClass),U("ngClass",ai(20,Bge,i.isDisabled)),C(),Re("error",i.error)("greyout",i.readonly)("highlight",i.reqDifferent),C(),U("disabled",i.isDisabled)("id",i.label),Bi("ngModel",i.value),U("ngClass",zo(22,Uge,i.isEmpty,i.error)),C(2),Re("greyout",i.readonly),U("for",i.label)("ngClass",ai(25,zge,i.isEmpty)),C(),De(i.label),C(3),B(i.note?8:-1),C(),B(i.error&&i.errorMessage?9:-1))},dependencies:[yo,cc,Ln,eo],styles:[".ng-float-label-control[_ngcontent-%COMP%]{height:43px;background-color:#fff;border:1px solid #cdcdcd;border-radius:5px;margin-bottom:1.5em;position:relative}select[_ngcontent-%COMP%]{width:100%;background-color:transparent;border:none;padding:21px 10px 6px;margin:0;-webkit-appearance:none;-moz-appearance:none}select.empty[_ngcontent-%COMP%]{padding:13px 10px;color:#42779d}label[_ngcontent-%COMP%]{position:absolute;font-weight:400;opacity:1;top:2px;left:12px;color:#3c7299;font-size:.85em;transition:.5s all ease;-webkit-transition:.5s all ease}label.empty[_ngcontent-%COMP%]{opacity:0!important;top:20px;left:12px;animation:none;-webkit-animation:none}.ng-float-label-control.error[_ngcontent-%COMP%]{color:#737373!important;font-size:14px!important;font-weight:400!important;margin-bottom:40px;background-color:#fff0f0!important;border-color:#a90329}.disabled[_ngcontent-%COMP%] div[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{color:#000}span.icon[_ngcontent-%COMP%]{position:absolute;top:25%;right:3%;color:#3c7299;font-size:1.1em}"]})}}class Bf{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,i=e.left;let r,o;switch(this.container.style.display="block",this.tooltipPosition){case"right":r=i+this.getOuterWidth(this.el.nativeElement),o=t+(this.getOuterHeight(this.el.nativeElement)-this.getOuterHeight(this.container))/2;break;case"modal-right":r=i+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":r=i-this.getOuterWidth(this.container),o=t+(this.getOuterHeight(this.el.nativeElement)-this.getOuterHeight(this.container))/2;break;case"top":r=i+(this.getOuterWidth(this.el.nativeElement)-this.getOuterWidth(this.container))/2,o=t-this.getOuterHeight(this.container);break;case"top-large":r=i+(this.getOuterWidth(this.el.nativeElement)-this.getOuterWidth(this.container))/1,o=t-this.getOuterHeight(this.container)-20;break;case"modal-top":r=i+(this.getOuterWidth(this.el.nativeElement)-this.getOuterWidth(this.container))/2,o=t-this.getOuterHeight(this.container),this.container.style.position="fixed";break;case"bottom":r=i+(this.getOuterWidth(this.el.nativeElement)-this.getOuterWidth(this.container))/2,o=t+this.getOuterHeight(this.el.nativeElement)}this.container.style.left=r+"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 i=document.createElement("div");this.tooltipColor&&(i.style["background-color"]=this.tooltipColor),this.tooltipTextColor&&(i.style.color=this.tooltipTextColor),i.className="ue-tooltip-text",i.appendChild(document.createTextNode(this.textToRender)),this.container.appendChild(i),"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 i=+new Date,r=0;const o=function(){r=+e.style.opacity+((new Date).getTime()-i)/t,e.style.opacity=r,i=+new Date,+r<1&&(window.requestAnimationFrame&&requestAnimationFrame(o)||setTimeout(o,16))};o()}getOuterWidth(e,t){let i=e.offsetWidth;if(t){const r=getComputedStyle(e);i+=parseFloat(r.marginLeft)+parseFloat(r.marginRight)}return i}getOuterHeight(e,t){let i=e.offsetHeight;if(t){const r=getComputedStyle(e);i+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return i}getOffset(e){let t=e.offsetLeft,i=e.offsetTop;for(;e=e.offsetParent;)t+=e.offsetLeft,i+=e.offsetTop;return{left:t,top:i}}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{this.\u0275fac=function(t){return new(t||Bf)(G(On))}}static{this.\u0275dir=je({type:Bf,selectors:[["","ueTooltip",""]],hostBindings:function(t,i){1&t&&W("mouseenter",function(o){return i.onMouseEnter(o)})("mouseleave",function(o){return i.onMouseLeave(o)})("click",function(o){return i.onClick(o)})("focus",function(o){return i.onFocus(o)})("blur",function(o){return i.onBlur(o)})},inputs:{text:[0,"ueTooltip","text"],tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",appendTo:"appendTo",clickedText:"clickedText",tooltipStyleClass:"tooltipStyleClass",tooltipColor:"tooltipColor",tooltipTextColor:"tooltipTextColor",disabled:[0,"tooltipDisabled","disabled"]},standalone:!1})}}class Eo{constructor(e,t,i){this.el=e,this.renderer=t,this.ngControl=i,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{this.\u0275fac=function(t){return new(t||Eo)(G(On),G(ur),G(Qa,10))}}static{this.\u0275dir=je({type:Eo,selectors:[["","ueFloatInput",""]],hostVars:6,hostBindings:function(t,i){2&t&&Re("error",i.error)("warning",i.warning)("confirmed",i.confirmed)},inputs:{label:"label",errorMessage:"errorMessage",note:"note",greyout:"greyout",readonly:"readonly",disabled:"disabled",reqDifferent:"reqDifferent",warningMessage:"warningMessage",focus:"focus",error:"error",warning:"warning",confirmed:"confirmed"},standalone:!1})}}const qge=[[["textarea"],["input"]]],Gge=["textarea, input"];function Qge(n,e){if(1&n&&(f(0,"span",2)(1,"strong"),w(2,"Note: "),p(),w(3),p()),2&n){const t=A();C(3),De(t.inputDirective.note)}}function Kge(n,e){if(1&n&&(f(0,"div",3),w(1),p()),2&n){const t=A();C(),We("* ",t.inputDirective.errorMessage)}}function Jge(n,e){if(1&n&&(f(0,"div",4),w(1),p()),2&n){const t=A();C(),We("* ",t.inputDirective.warningMessage)}}class rs{constructor(){}focusInput(){this.inputDirective.readonly||this.inputDirective.focus()}static{this.\u0275fac=function(t){return new(t||rs)}}static{this.\u0275cmp=Fe({type:rs,selectors:[["ue-float-input-container"]],contentQueries:function(t,i,r){if(1&t&&Zl(r,Eo,7),2&t){let o;Ee(o=xe())&&(i.inputDirective=o.first)}},standalone:!1,ngContentSelectors:Gge,decls:7,vars:17,consts:[[1,"single_fld","float-label-control"],[3,"click","for"],[1,"note"],[1,"error"],[1,"warningMessage"]],template:function(t,i){1&t&&(Bo(qge),f(0,"div",0),Dr(1),f(2,"label",1),W("click",function(){return i.focusInput()}),w(3),p(),V(4,Qge,4,1,"span",2),V(5,Kge,2,1,"div",3),V(6,Jge,2,1,"div",4),p()),2&t&&(Re("greyout",i.inputDirective.readonly)("highlight",i.inputDirective.reqDifferent)("warning",i.inputDirective.warning)("confirmed",i.inputDirective.confirmed),C(2),Re("greyout",i.inputDirective.readonly)("labelCursor",!i.inputDirective.readonly),U("for",i.inputDirective.label),C(),De(i.inputDirective.label),C(),B(i.inputDirective.note?4:-1),C(),B(i.inputDirective.error&&i.inputDirective.errorMessage?5:-1),C(),B(i.inputDirective.warning&&i.inputDirective.warningMessage?6:-1))},styles:["div.error[_ngcontent-%COMP%], div.warningMessage[_ngcontent-%COMP%]{color:#737373!important;font-size:14px!important;font-weight:400!important}.float-label-control.warning[_ngcontent-%COMP%] input{background-color:#ffeab4;border-color:orange}.float-label-control.confirmed[_ngcontent-%COMP%] input{background-color:#cfc;border-color:#ccc}.labelCursor[_ngcontent-%COMP%]{cursor:text}"]})}}const Zge=["myModal"],Xge=["confirmDeletionModal"],e_e=["confirmAbandonModal"];function t_e(n,e){1&n&&(f(0,"h1"),w(1,"New Endpoint"),p())}function n_e(n,e){if(1&n&&(f(0,"h1")(1,"strong"),w(2,"API Endpoint:"),p(),w(3),p()),2&n){const t=A();U("@slideDown",void 0),C(3),Sh(" ",t.endpointForm.get("typename").value," - ",t.endpointForm.get("apiver").value," ")}}function i_e(n,e){if(1&n){const t=pe();f(0,"i",13),W("click",function(){ne(t);return ie(A(3).onCopy("sandboxWsdl"))}),p()}}function r_e(n,e){if(1&n){const t=pe();f(0,"i",13),W("click",function(){ne(t);return ie(A(3).onCopy("prodWsdl"))}),p()}}function o_e(n,e){if(1&n&&(f(0,"div")(1,"strong"),w(2,"Docs: "),p(),f(3,"a",14),w(4),p()()),2&n){const t=A(3);C(3),U("href",t.createDocsUrl(t.endpointForm.value),ra),C(),De(t.createDocsUrl(t.endpointForm.value))}}function s_e(n,e){if(1&n&&(f(0,"span")(1,"strong"),w(2,"Sandbox WSDL Key:"),p(),f(3,"span",10),w(4),p(),V(5,i_e,1,0,"i",11),O(6,"br"),f(7,"strong"),w(8,"Production WSDL Key:"),p(),f(9,"span",12),w(10),p(),V(11,r_e,1,0,"i",11),O(12,"br"),f(13,"strong"),w(14,"Rate Limit: "),p(),w(15),O(16,"br"),V(17,o_e,5,2,"div"),p()),2&n){const t=A(2);C(4),De(t.createUrl(t.endpointForm.value)),C(),B(t.detectBrowser()?5:-1),C(5),De(t.getProdUrl(t.endpointForm.value)),C(),B(t.detectBrowser()?11:-1),C(4),Sh(" ",t.endpointForm.get("ratelimit_daily").value,"/day, ",t.endpointForm.get("ratelimit").value,"/min "),C(2),B(t.showDocs()?17:-1)}}function a_e(n,e){if(1&n){const t=pe();f(0,"i",13),W("click",function(){ne(t);return ie(A(3).onCopy("sandboxUrl"))}),p()}}function l_e(n,e){if(1&n){const t=pe();f(0,"i",13),W("click",function(){ne(t);return ie(A(3).onCopy("prodUrl"))}),p()}}function c_e(n,e){if(1&n&&(f(0,"div")(1,"strong"),w(2,"Docs: "),p(),f(3,"a",14),w(4),p()()),2&n){const t=A(3);C(3),U("href",t.createDocsUrl(t.endpointForm.value),ra),C(),De(t.createDocsUrl(t.endpointForm.value))}}function d_e(n,e){if(1&n&&(f(0,"span")(1,"strong"),w(2,"Sandbox Base URL:"),p(),f(3,"span",15),w(4),p(),V(5,a_e,1,0,"i",11),O(6,"br"),f(7,"strong"),w(8,"Production Base URL:"),p(),f(9,"span",16),w(10),p(),V(11,l_e,1,0,"i",11),O(12,"br"),f(13,"strong"),w(14,"Rate Limit: "),p(),w(15),O(16,"br"),V(17,c_e,5,2,"div"),p()),2&n){const t=A(2);C(4),De(t.createUrl(t.endpointForm.value)),C(),B(t.detectBrowser()?5:-1),C(5),De(t.getProdUrl(t.endpointForm.value)),C(),B(t.detectBrowser()?11:-1),C(4),Sh(" ",t.endpointForm.get("ratelimit_daily").value,"/day, ",t.endpointForm.get("ratelimit").value,"/min "),C(2),B(t.showDocs()?17:-1)}}function u_e(n,e){if(1&n&&(f(0,"p"),V(1,s_e,18,7,"span"),V(2,d_e,18,7,"span"),p()),2&n){const t=A();U("@slideDown",void 0),C(),B("SOAP"===t.endpointForm.get("typename").value?1:-1),C(),B("REST"===t.endpointForm.get("typename").value?2:-1)}}function h_e(n,e){1&n&&(f(0,"div")(1,"div",17)(2,"div",18),O(3,"div",19),p()()())}function f_e(n,e){if(1&n&&(f(0,"div")(1,"ue-float-label-select",31)(2,"option",28),w(3,"Select API Version"),p(),f(4,"option",32),w(5,"1.2"),p(),f(6,"option",33),w(7,"1.3"),p(),f(8,"option",34),w(9,"1.4"),p(),f(10,"option",35),w(11,"1.5"),p(),f(12,"option",36),w(13,"1.6"),p(),f(14,"option",37),w(15,"1.7"),p()()()),2&n){const t=A(3);C(),U("error",t.endpointForm.get("apiver").touched&&t.endpointForm.get("apiver").invalid)}}function p_e(n,e){if(1&n&&(f(0,"div")(1,"ue-float-label-select",31)(2,"option",28),w(3,"Select API Version"),p(),f(4,"option",38),w(5,"2"),p()()()),2&n){const t=A(3);C(),U("error",t.endpointForm.get("apiver").touched&&t.endpointForm.get("apiver").invalid)}}function m_e(n,e){if(1&n&&(f(0,"div")(1,"ue-float-label-select",27)(2,"option",28),w(3,"Select One"),p(),f(4,"option",29),w(5,"REST"),p(),f(6,"option",30),w(7,"SOAP"),p()(),V(8,f_e,16,1,"div"),V(9,p_e,6,1,"div"),p()),2&n){const t=A(2);C(),U("error",t.endpointForm.get("typename").touched&&t.endpointForm.get("typename").invalid),C(7),B("SOAP"===t.endpointForm.get("typename").value?8:-1),C(),B("REST"===t.endpointForm.get("typename").value?9:-1)}}function g_e(n,e){if(1&n&&(f(0,"div",22)(1,"ue-float-label-select",39)(2,"option",40),w(3,"Select Service Type"),p(),f(4,"option",41),w(5,"RPC/ Encoded"),p(),f(6,"option",42),w(7,"Doc/Literal"),p()()()),2&n){const t=A(2);C(),U("error",t.endpointForm.get("apitype").touched&&t.endpointForm.get("apitype").invalid),C(),U("selected",t.isNew)}}function __e(n,e){if(1&n){const t=pe();f(0,"div")(1,"form",20)(2,"div",21),V(3,m_e,10,3,"div"),V(4,g_e,8,2,"div",22),f(5,"div",23)(6,"ue-float-input-container"),O(7,"input",24),p()(),f(8,"div",23)(9,"ue-float-input-container")(10,"input",25),W("input",function(){ne(t);return ie(A().sanitizeVersion())}),p()()(),f(11,"div",23)(12,"ue-float-input-container"),O(13,"input",26),p()()()()()}if(2&n){const t=A();U("@slideDown",void 0),C(),U("formGroup",t.endpointForm),C(2),B(t.isNew?3:-1),C(),B("SOAP"===t.endpointForm.get("typename").value?4:-1),C(3),U("error",t.endpointForm.get("title").touched&&t.endpointForm.get("title").invalid),C(3),U("error",t.endpointForm.get("version").touched&&t.endpointForm.get("version").invalid),C(3),U("error",t.endpointForm.get("phone").touched&&t.endpointForm.get("phone").invalid)}}function y_e(n,e){if(1&n){const t=pe();f(0,"ue-button",43),W("onClick",function(){ne(t);return ie(A().confirmDelete())}),w(1,"Delete"),p()}if(2&n){U("disabled",A().isLoading)}}function v_e(n,e){if(1&n){const t=pe();f(0,"ue-button",44),W("onClick",function(){ne(t);return ie(A().saveChanges(!1))}),w(1,"Apply"),p()}if(2&n){U("disabled",A().endpointForm.pristine)}}function b_e(n,e){if(1&n){const t=pe();f(0,"ue-button",45),W("onClick",function(){ne(t);return ie(A().saveChanges(!0))}),w(1,"Save"),p()}if(2&n){U("disabled",A().endpointForm.pristine)}}class GM{constructor(e,t,i,r,o,s){this.route=e,this.endpointsService=t,this.formBuilder=i,this.router=r,this.window=o,this.authService=s,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:["",Be.required],apiver:["",Be.required],phone:["",[Be.required,Be.maxLength(32)]],title:["",[Be.required,Be.maxLength(32)]],version:["",[Be.required,Be.maxLength(32)]],typename:["",Be.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:Gx.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(i=>{this.alert.newAlert("Success!","Endpoint information has been successfully saved","success"),e&&this.router.navigate(["/endpoints"],{queryParams:{updated:!0}})},i=>{this.alert.newAlert("Error!",i.error,"danger")})}}getUpdatedControls(e){const t={};for(const i in e.controls)e.controls[i].dirty&&(t[i]=e.controls[i].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 i=this.endpointsService.getResellerSuffix();return"SOAP"===e.typename?t+=`/soap/gate/${e.endpointkey}/${i}.wsdl`:t+=`/api/${e.endpointkey}`,t}getProdUrl(e){let t=this.endpointsService.getProdUrl();const i=this.endpointsService.getResellerSuffix();return"SOAP"===e.typename?t+=`/soap/gate/${e.endpointkey}/${i}.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 i=document.getElementById(e);t.value=i.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{this.\u0275fac=function(t){return new(t||GM)(G(ir),G(Cu),G(Ii),G(St),G(al),G(Un))}}static{this.\u0275cmp=Fe({type:GM,selectors:[["ue-endpoint-details"]],viewQuery:function(t,i){if(1&t&&qt(Ot,7)(Zge,7)(Xge,7)(e_e,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first),Ee(r=xe())&&(i.myModal=r.first),Ee(r=xe())&&(i.confirmDeletionModal=r.first),Ee(r=xe())&&(i.confirmAbandonModal=r.first)}},standalone:!1,decls:20,vars:19,consts:[["myModal",""],["confirmAbandonModal",""],["confirmDeletionModal",""],[3,"closeOnOutsideClick","closeOnEscape","hideCloseButton"],["btnClass","danger","icon","fa fa-trash",1,"pull-left",3,"disabled"],["btnClass","default","icon","fa fa-remove",3,"onClick","disabled"],["btnClass","primary","icon","fa fa-check",3,"disabled"],["btnClass","success","icon","fa fa-floppy-o",3,"disabled"],["header","Confirm Close","body","You currently have unsaved changes. Are you sure you want to discard changes to this form without saving?","icon","fa fa-check","btnClass","warning","buttonLabel","Abandon Changes",3,"callBack","closeOnOutsideClick","closeOnEscape","hideCloseButton"],["body","Deleting this endpoint will prevent any software using this endpoint from functioning. Be sure you are no longer using this endpoint before you continue. Endpoints cannot be restored.","icon","fa fa-check","btnClass","warning","buttonLabel","Confirm",3,"callBack","header"],["id","sandboxWsdl"],["ueTooltip","Copy to clipboard","clickedText","Copied",1,"fa","fa-clipboard"],["id","prodWsdl"],["ueTooltip","Copy to clipboard","clickedText","Copied",1,"fa","fa-clipboard",3,"click"],["target","_blank",3,"href"],["id","sandboxUrl"],["id","prodUrl"],[1,"progress","progress_bar"],[1,"progress","progress-striped","active"],["role","progressbar",1,"progress-bar","progressbar",2,"width","100%"],["novalidate","",3,"formGroup"],[1,"row"],["id","serviceType"],[1,"col-xs-12","col-sm-12","col-md-12","col-lg-12"],["ueFloatInput","","formControlName","title","type","text","label","Title","id","Title","placeholder","Title","errorMessage","Title is required. Must be less than 32 characters.",3,"error"],["ueFloatInput","","formControlName","version","type","text","label","Your Version","id","Your Version","placeholder","Your Version","errorMessage","Version is required. Must be less than 32 characters.",3,"input","error"],["ueFloatInput","","formControlName","phone","type","text","label","Customer Support #","id","Customer Support #","placeholder","Customer Support #","errorMessage","Customer Support # is required. Must be less than 32 characters.",3,"error"],["formControlName","typename","label","Select API Type","errorMessage","API Type is required",1,"col-xs-12",3,"error"],["value",""],["value","REST"],["value","SOAP"],["formControlName","apiver","label","Select API Version","errorMessage","API Version is required",1,"col-xs-12","col-sm-12","col-md-12","col-lg-12",3,"error"],["value","1.2"],["value","1.3"],["value","1.4"],["value","1.5"],["value","1.6"],["value","1.7"],["value","2"],["formControlName","apitype","label","Select service Type","errorMessage","Service Type is required",1,"col-xs-12","col-sm-12","col-md-12","col-lg-12",3,"error"],["value","",3,"selected"],["value","rpc"],["value","doc"],["btnClass","danger","icon","fa fa-trash",1,"pull-left",3,"onClick","disabled"],["btnClass","primary","icon","fa fa-check",3,"onClick","disabled"],["btnClass","success","icon","fa fa-floppy-o",3,"onClick","disabled"]],template:function(t,i){if(1&t&&(f(0,"route-modal",3,0)(2,"modal-header"),V(3,t_e,2,0,"h1"),V(4,n_e,4,3,"h1"),V(5,u_e,3,3,"p"),p(),f(6,"modal-content"),O(7,"ue-alert"),V(8,h_e,4,0,"div"),V(9,__e,14,7,"div"),p(),f(10,"modal-footer"),V(11,y_e,2,1,"ue-button",4),f(12,"ue-button",5),W("onClick",function(){return i.onCloseModal()}),w(13,"Close"),p(),V(14,v_e,2,1,"ue-button",6),V(15,b_e,2,1,"ue-button",7),p()(),f(16,"ue-confirm-modal",8,1),W("callBack",function(){return i.onCloseModal()}),p(),f(18,"ue-confirm-modal",9,2),W("callBack",function(){return i.deleteEndpoint()}),p()),2&t){const r=$n(17);Re("hide",$n(19).isOpen||r.isOpen),U("closeOnOutsideClick",i.endpointForm.pristine&&!i.isNewAppWindow())("closeOnEscape",i.endpointForm.pristine&&!i.isNewAppWindow())("hideCloseButton",!0),C(3),B(i.isNew?3:-1),C(),B(i.isNew||i.isLoading?-1:4),C(),B(i.isNew||i.isLoading?-1:5),C(3),B(i.isLoading?8:-1),C(),B(i.isLoading?-1:9),C(2),B(!i.isNew&&i.canDelete?11:-1),C(),U("disabled",i.isLoading),C(2),B(i.canEdit?14:-1),C(),B(i.canEdit?15:-1),C(),U("closeOnOutsideClick",!1)("closeOnEscape",!1)("hideCloseButton",!0),C(2),U("header",si("Confirm Delete: ",i.endpointForm.get("title").value))}},dependencies:[qi,Ka,Ja,qn,Ln,Wi,Ci,Li,_c,Lr,Ir,Ur,In,ns,yl,Ot,Bf,Eo,rs],styles:[".fa-clipboard[_ngcontent-%COMP%]{cursor:pointer}"],data:{animation:[fg("slideDown",[Pd("void",qa({height:"0",overflow:"hidden"})),Ad("void => *",Id("200ms ease-out"))])]}})}}const w_e=[{path:"",component:qM,children:[{path:":key",component:GM}]}];class QM{static{this.\u0275fac=function(t){return new(t||QM)}}static{this.\u0275mod=Ct({type:QM})}static{this.\u0275inj=dt({imports:[fi.forChild(w_e),fi]})}}class KM{static{this.\u0275fac=function(t){return new(t||KM)}}static{this.\u0275mod=Ct({type:KM})}static{this.\u0275inj=dt({providers:[Cu],imports:[js,QM]})}}class PB{constructor(e){if(e)for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}}class kc{constructor(e){this.http=e,this.baseUrl="/api/DVPRTLFE/developers",this.profileUrl="/api/DVPRTLFE/developers/profile",this.twoFactorUrl="/api/DVPRTLFE/developers/login/2fa"}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})}getTwoFactorSettings(){return this.http.get(this.twoFactorUrl)}addTwoFactor(e){return this.http.post(this.twoFactorUrl,e)}sendTwoFactorChallenge(e){return this.http.post(`${this.twoFactorUrl}/${e}/send`,{})}confirmTwoFactorChallenge(e,t){return this.http.post(`${this.twoFactorUrl}/${e}/confirm`,{code:t})}confirmTwoFactorChallengeForLogin(e,t,i){return this.http.post(`${this.twoFactorUrl}/${e}/confirm`,{code:t,is_login_flow:!0,register_device:i})}confirmTwoFactorSetup(e,t){return this.http.post(`${this.twoFactorUrl}/confirm`,{type:e,code:t})}updateTwoFactor(e,t){return this.http.put(`${this.twoFactorUrl}/${e}`,t)}deleteTwoFactor(e){return this.http.delete(`${this.twoFactorUrl}/${e}`)}updateSecurityLevel(e){return this.http.put(this.twoFactorUrl,{security_level:e})}static{this.\u0275fac=function(t){return new(t||kc)(Ce(Gi))}}static{this.\u0275prov=ue({token:kc,factory:kc.\u0275fac,providedIn:"root"})}}function C_e(n,e){if(1&n&&(f(0,"div",15)(1,"ue-button",16),w(2," Save "),p()()),2&n){const t=A(2);C(),U("disabled",t.profileForm.pristine)}}function M_e(n,e){if(1&n){const t=pe();f(0,"div",2)(1,"form",3),W("ngSubmit",function(){ne(t);return ie(A().saveProfile())}),f(2,"div",1)(3,"div",4)(4,"ue-float-input-container"),O(5,"input",5),p()(),f(6,"div",4)(7,"ue-float-input-container"),O(8,"input",6),p()()(),f(9,"div",1)(10,"div",4)(11,"ue-float-input-container"),O(12,"input",7),p()(),f(13,"div",4)(14,"ue-float-input-container"),O(15,"input",8),p()()(),f(16,"div",1)(17,"div",9)(18,"ue-float-input-container"),O(19,"input",10),p()(),f(20,"div",9)(21,"ue-float-input-container"),O(22,"input",11),p()(),f(23,"div",9)(24,"ue-float-input-container"),O(25,"input",12),p()()(),f(26,"div",1)(27,"div",4)(28,"ue-float-input-container"),O(29,"input",13),p()(),f(30,"div",4)(31,"ue-float-input-container"),O(32,"input",14),p()()(),f(33,"div",1),V(34,C_e,3,1,"div",15),p()()()}if(2&n){const t=A();C(),U("formGroup",t.profileForm),C(4),U("error",t.profileForm.get("company").invalid&&(t.profileForm.get("company").touched||t.validationError)),C(3),U("error",t.profileForm.get("contact").invalid&&(t.profileForm.get("contact").touched||t.validationError)),C(26),B(t.canEdit?34:-1)}}class JM{constructor(e,t,i,r){this.formBuilder=e,this.profileService=t,this.router=i,this.authService=r,this.validationError=!1,this.canEdit=this.authService.checkPermissions("profile_edit")}ngOnInit(){this.profileService.getProfile().subscribe(e=>{this.profile=new PB(e),this.initForm()},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.profile=new PB(null),this.initForm()})}initForm(){const e=this.profile;this.profileForm=this.formBuilder.group({company:[e.company,Be.required],contact:[e.contact,Be.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{this.\u0275fac=function(t){return new(t||JM)(G(Ii),G(kc),G(St),G(Un))}}static{this.\u0275cmp=Fe({type:JM,selectors:[["ue-company-profile"]],viewQuery:function(t,i){if(1&t&&qt(Ot,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first)}},standalone:!1,decls:4,vars:1,consts:[["title","Company Profile","titleIcon","fa fa-user-circle-o"],[1,"row"],[1,"panel-body","col-md-10","col-sm-12","col-xs-12"],["novalidate","",3,"ngSubmit","formGroup"],[1,"col-xs-12","col-sm-6"],["ueFloatInput","","formControlName","company","type","text","label","Company Name","id","Company Name","placeholder","Company Name","errorMessage","This field is required.",3,"error"],["ueFloatInput","","formControlName","contact","type","text","label","Contact Name","id","Contact Name","placeholder","Contact Name","errorMessage","This field is required.",3,"error"],["ueFloatInput","","formControlName","address1","type","text","label","Address","id","Address","placeholder","Address"],["ueFloatInput","","formControlName","address2","type","text","label","Address 2","id","Address 2","placeholder","Address 2"],[1,"col-xs-12","col-sm-4"],["ueFloatInput","","formControlName","city","type","text","label","City","id","City","placeholder","City"],["ueFloatInput","","formControlName","state","type","text","label","State","id","State","placeholder","State"],["ueFloatInput","","formControlName","zip","type","text","label","Postal Code","id","Postal Code","placeholder","Postal Code"],["ueFloatInput","","formControlName","country","type","text","label","Country","id","Country","placeholder","Country"],["ueFloatInput","","formControlName","phone","type","text","label","Phone #","id","Phone #","placeholder","Phone #"],[1,"col-xs-12"],["btnClass","success","icon","fa fa-save","type","submit",3,"disabled"]],template:function(t,i){1&t&&(O(0,"ue-section-title",0)(1,"ue-alert"),f(2,"div",1),V(3,M_e,35,4,"div",2),p()),2&t&&(C(3),B(i.profileForm?3:-1))},dependencies:[qi,qn,Ln,Wi,Ci,Li,In,is,Ot,Eo,rs],styles:["input.empty[_ngcontent-%COMP%]{padding-top:14px}"]})}}class Us{static{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{this.nmiSupportEmail="support@nmi.com"}static{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 passwordMatchEnhanced(e){const t=e.get("password"),i=e.get("password_confirm");return t&&i&&t.value!==i.value?{passwordMismatch:!0}:null}static passwordDifferentFromCurrent(e){const t=e.get("current_password"),i=e.get("password");return t&&i&&t.value&&i.value&&t.value===i.value?{sameAsCurrent:!0}:null}static uppercaseValidator(e){const t=e.value;return t?/[A-Z]/.test(t)?null:{uppercase:!0}:null}static lowercaseValidator(e){const t=e.value;return t?/[a-z]/.test(t)?null:{lowercase:!0}:null}static numberValidator(e){const t=e.value;return t?/[0-9]/.test(t)?null:{number:!0}:null}static specialCharValidator(e){const t=e.value;return t?/[!@#$%^&*()_+\-=\[\]{};:"\\|,.<>\/?]/.test(t)?null:{specialChar:!0}:null}static getPasswordErrorMessage(e){return e&&e.errors?e.errors.required?"Password is required":e.errors.minlength?"Password must be at least 12 characters long":e.errors.maxlength?"Password must be at most 32 characters long":e.errors.uppercase?"Password must contain at least one uppercase letter":e.errors.lowercase?"Password must contain at least one lowercase letter":e.errors.number?"Password must contain at least one number":e.errors.specialChar?"Password must contain at least one special character":"Password is invalid":""}static getPasswordConfirmErrorMessage(e,t){return e?t?.passwordMismatch||t?.passwordmismatch?"Passwords do not match":e.errors?.required?"Password confirmation is required":e.errors?.minlength?"Password confirmation must be at least 12 characters long":e.errors?.maxlength?"Password confirmation must be at most 32 characters long":e.errors?"Password confirmation is invalid":"":""}static getFormErrorMessage(e){return e&&e.sameAsCurrent?"New password must be different from current password":""}static isPasswordRequirementMet(e,t){if(!e)return!1;switch(t){case"length":return e.length>=12&&e.length<=32;case"uppercase":return/[A-Z]/.test(e);case"lowercase":return/[a-z]/.test(e);case"number":return/[0-9]/.test(e);case"specialChar":return/[!@#$%^&*()_+\-=\[\]{};:"\\|,.<>\/?]/.test(e);default:return!1}}static getPasswordRequirementsStatus(e){return{length:this.isPasswordRequirementMet(e,"length"),uppercase:this.isPasswordRequirementMet(e,"uppercase"),lowercase:this.isPasswordRequirementMet(e,"lowercase"),number:this.isPasswordRequirementMet(e,"number"),specialChar:this.isPasswordRequirementMet(e,"specialChar")}}static passwordLetterOrNum(){return e=>{if(null===e.value||0===e.value.length)return null;const t=/\w*[a-zA-Z]\w*/.test(e.value),i=/\w*\d\w*/.test(e.value);return t&&i?null:{noletterornumber:!0}}}static validEmail(){return e=>{const t=e.value;if(!t)return null;const i=t.split(/[ ,;]+/);let r="";return i.forEach(o=>{this.emailRegex.test(o)||(r+=o+" ")}),0===r.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 i=>this.sanitizeNum(i.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 i="";for(let r=0;rnull===t.value||0===t.value.length||e.test(t.value)?null:{error:!0}}constructor(){}}function D_e(n,e){if(1&n&&(f(0,"div",3)(1,"div",4)(2,"div",14),O(3,"i",15),w(4),p()()()),2&n){const t=A();C(4),We(" ",t.getFormErrorMessage()," ")}}class ZM{constructor(e,t,i,r){this.formBuilder=e,this.profileService=t,this.router=i,this.ueHttp=r,this.validationError=!1}ngOnInit(){this.changePWForm=this.formBuilder.group({current_password:["",[Be.required]],password:["",[Be.required,Be.minLength(12),Be.maxLength(32),Us.uppercaseValidator,Us.lowercaseValidator,Us.numberValidator,Us.specialCharValidator]],password_confirm:["",[Be.required,Be.minLength(12),Be.maxLength(32)]]},{validators:[Us.passwordMatchEnhanced,Us.passwordDifferentFromCurrent]})}changePassword(){this.changePWForm.valid?(this.changePWForm.markAsPristine(),this.profileService.changePassword(this.changePWForm.value).subscribe(e=>{this.ueHttp.removeCsrfToken(),this.alert.newAlert("Success!","Your password has been changed. Redirecting to login...","success"),this.changePWForm.reset(),this.validationError=!1,setTimeout(()=>{this.router.navigate(["/login"],{queryParams:{passwordChange:!0}})},2e3)},e=>{this.alert.newAlert("Error!",e.error,"danger")})):(this.alert.newAlert("Invalid Form!","Please check all password requirements below","danger"),this.validationError=!0)}getPasswordErrorMessage(){const e=this.changePWForm.get("password");return Us.getPasswordErrorMessage(e)}getPasswordConfirmErrorMessage(){const e=this.changePWForm.get("password_confirm");return Us.getPasswordConfirmErrorMessage(e,this.changePWForm.errors)}getFormErrorMessage(){return Us.getFormErrorMessage(this.changePWForm.errors)}isPasswordRequirementMet(e){const t=this.changePWForm.get("password")?.value||"";return Us.isPasswordRequirementMet(t,e)}getPasswordRequirementsStatus(){const e=this.changePWForm.get("password")?.value||"";return Us.getPasswordRequirementsStatus(e)}static{this.\u0275fac=function(t){return new(t||ZM)(G(Ii),G(kc),G(St),G(Gi))}}static{this.\u0275cmp=Fe({type:ZM,selectors:[["ue-change-password"]],viewQuery:function(t,i){if(1&t&&qt(Ot,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first)}},standalone:!1,decls:46,vars:48,consts:[["title","Change Password","titleIcon","fa fa-lock"],[1,"row","panel-body"],[3,"ngSubmit","formGroup"],[1,"row"],[1,"col-xs-12","col-sm-12","col-md-6"],[1,"password-requirements"],[1,"fa","fa-info-circle"],[1,"list-unstyled"],[1,"fa"],[1,"text-info"],["ueFloatInput","","formControlName","current_password","type","password","label","Current Password","id","Current Password","placeholder","Current Password","errorMessage","Current password is required",3,"error"],["ueFloatInput","","formControlName","password","type","password","label","New Password","id","New Password","placeholder","New Password",3,"error","errorMessage"],["ueFloatInput","","formControlName","password_confirm","type","password","label","Confirm Password","placeholder","Confirm Password","id","Confirm Password",3,"error","errorMessage"],["type","submit","btnClass","success","icon","fa fa-save",3,"disabled"],[1,"alert","alert-danger"],[1,"fa","fa-exclamation-triangle"]],template:function(t,i){1&t&&(O(0,"ue-alert")(1,"ue-section-title",0),f(2,"div",1)(3,"form",2),W("ngSubmit",function(){return i.changePassword()}),V(4,D_e,5,1,"div",3),f(5,"div",3)(6,"div",4)(7,"div",5)(8,"h5"),O(9,"i",6),w(10," Password Requirements:"),p(),f(11,"ul",7)(12,"li"),O(13,"i",8),w(14," 12-32 characters long "),p(),f(15,"li"),O(16,"i",8),w(17," At least one uppercase letter (A-Z) "),p(),f(18,"li"),O(19,"i",8),w(20," At least one lowercase letter (a-z) "),p(),f(21,"li"),O(22,"i",8),w(23," At least one number (0-9) "),p(),f(24,"li"),O(25,"i",8),w(26," At least one special character (!@#$%^&*) "),p(),f(27,"li",9),O(28,"i",6),w(29," Must be different from your last 5 passwords "),p()()()()(),f(30,"div",3)(31,"div",4)(32,"ue-float-input-container"),O(33,"input",10),p()()(),f(34,"div",3)(35,"div",4)(36,"ue-float-input-container"),O(37,"input",11),p()()(),f(38,"div",3)(39,"div",4)(40,"ue-float-input-container"),O(41,"input",12),p()()(),f(42,"div",3)(43,"div",4)(44,"ue-button",13),w(45,"Change Password"),p()()()()()),2&t&&(C(3),U("formGroup",i.changePWForm),C(),B(i.getFormErrorMessage()&&i.validationError?4:-1),C(8),Re("text-success",i.isPasswordRequirementMet("length"))("text-danger",i.changePWForm.get("password").value&&!i.isPasswordRequirementMet("length")),C(),Re("fa-check",i.isPasswordRequirementMet("length"))("fa-times",i.changePWForm.get("password").value&&!i.isPasswordRequirementMet("length")),C(2),Re("text-success",i.isPasswordRequirementMet("uppercase"))("text-danger",i.changePWForm.get("password").value&&!i.isPasswordRequirementMet("uppercase")),C(),Re("fa-check",i.isPasswordRequirementMet("uppercase"))("fa-times",i.changePWForm.get("password").value&&!i.isPasswordRequirementMet("uppercase")),C(2),Re("text-success",i.isPasswordRequirementMet("lowercase"))("text-danger",i.changePWForm.get("password").value&&!i.isPasswordRequirementMet("lowercase")),C(),Re("fa-check",i.isPasswordRequirementMet("lowercase"))("fa-times",i.changePWForm.get("password").value&&!i.isPasswordRequirementMet("lowercase")),C(2),Re("text-success",i.isPasswordRequirementMet("number"))("text-danger",i.changePWForm.get("password").value&&!i.isPasswordRequirementMet("number")),C(),Re("fa-check",i.isPasswordRequirementMet("number"))("fa-times",i.changePWForm.get("password").value&&!i.isPasswordRequirementMet("number")),C(2),Re("text-success",i.isPasswordRequirementMet("specialChar"))("text-danger",i.changePWForm.get("password").value&&!i.isPasswordRequirementMet("specialChar")),C(),Re("fa-check",i.isPasswordRequirementMet("specialChar"))("fa-times",i.changePWForm.get("password").value&&!i.isPasswordRequirementMet("specialChar")),C(8),U("error",i.changePWForm.get("current_password").invalid&&i.validationError),C(4),U("error",i.changePWForm.get("password").invalid&&i.validationError)("errorMessage",i.getPasswordErrorMessage()),C(4),U("error",(i.changePWForm.get("password_confirm").invalid||i.changePWForm.hasError("passwordMismatch"))&&i.validationError)("errorMessage",i.getPasswordConfirmErrorMessage()),C(3),U("disabled",i.changePWForm.pristine||i.changePWForm.invalid))},dependencies:[qi,qn,Ln,Wi,Ci,Li,In,is,Ot,Eo,rs],styles:[".password-requirements[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:25px;padding:12px;background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:4px}.password-requirements[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin-bottom:8px;color:#495057;font-weight:600;font-size:14px}.password-requirements[_ngcontent-%COMP%] h5[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:6px;color:#007bff;font-size:12px}.password-requirements[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-bottom:0}.password-requirements[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:2px 0;font-size:12px;line-height:1.4}.password-requirements[_ngcontent-%COMP%] li[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:6px;width:10px;font-size:10px}.password-requirements[_ngcontent-%COMP%] .text-success[_ngcontent-%COMP%]{color:#28a745!important}.password-requirements[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%]{color:#dc3545!important}.password-requirements[_ngcontent-%COMP%] .fa-check[_ngcontent-%COMP%]{color:#28a745}.password-requirements[_ngcontent-%COMP%] .fa-times[_ngcontent-%COMP%]{color:#dc3545}"]})}}class AB{constructor(e){if(e)for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}}const S_e=()=>[0,1,2,3,4,5];function k_e(n,e){if(1&n){const t=pe();f(0,"div",0)(1,"h3"),w(2,"Authentication"),p(),f(3,"p",2),w(4,"EMAIL AUTHENTICATION:"),p(),f(5,"p"),w(6,"You can use email to receive an authentication code. Please enter a valid email address below to set up this method and then enter the code you receive."),p(),f(7,"div",3)(8,"ue-float-input-container")(9,"input",4),Ui("ngModelChange",function(r){ne(t);const o=A();return nr(o.emailAddress,r)||(o.emailAddress=r),ie(r)}),W("ngModelChange",function(r){ne(t);return ie(A().onEmailChange(r))}),p()()(),f(10,"div",5)(11,"ue-button",6),W("onClick",function(){ne(t);return ie(A().onBackToOptions())}),w(12,"Go Back"),p(),f(13,"ue-button",7),W("onClick",function(){ne(t);return ie(A().onStartSetup())}),w(14,"Submit"),p()()()}if(2&n){const t=A();C(9),Bi("ngModel",t.emailAddress),U("error",t.emailAddress&&!t.isValidEmail(t.emailAddress)),C(4),U("disabled",t.loading||!t.isValidEmail(t.emailAddress))}}function T_e(n,e){if(1&n){const t=pe();f(0,"input",17),Ui("ngModelChange",function(r){const o=ne(t).$index,s=A(2);return nr(s.codeDigits[o],r)||(s.codeDigits[o]=r),ie(r)}),W("input",function(r){const o=ne(t).$index;return ie(A(2).onCodeDigitInput(r,o))})("keydown",function(r){const o=ne(t).$index;return ie(A(2).onCodeKeyDown(r,o))}),p()}if(2&n){const t=e.$index;Bi("ngModel",A(2).codeDigits[t])}}function E_e(n,e){if(1&n){const t=pe();f(0,"div",13)(1,"div",18)(2,"input",19),W("change",function(r){ne(t);return ie(A(2).onRegisterDeviceChange(r.target.checked))}),p(),f(3,"label",20),w(4,"Remember this device"),p()(),f(5,"p",21),w(6," This device will be remembered for future logins. "),p()()}if(2&n){const t=A(2);C(2),U("checked",t.registerDevice)}}function x_e(n,e){if(1&n){const t=pe();f(0,"div",1)(1,"h3"),w(2,"Authentication"),p(),f(3,"div",8)(4,"p"),w(5,"An email message was sent to the provided address with a 6 digit authentication code."),p()(),f(6,"div",9)(7,"p",10),w(8,"AUTHENTICATION CODE:"),p(),f(9,"p"),w(10,"Please enter the 6-digit authentication code you received."),p(),f(11,"div",11),bn(12,T_e,1,1,"input",12,vn),p()(),V(14,E_e,7,1,"div",13),f(15,"div",14)(16,"ue-button",6),W("onClick",function(){ne(t);return ie(A().onBackToOptions())}),w(17,"Go Back"),p(),f(18,"ue-button",15),W("onClick",function(){ne(t);return ie(A().onResendCode())}),w(19,"Re-Send Code"),p(),f(20,"ue-button",16),W("onClick",function(){ne(t);return ie(A().onConfirmSetup())}),w(21,"Confirm Code"),p()()()}if(2&n){const t=A();C(12),wn(sa(3,S_e)),C(2),B(t.canRegisterDevice?14:-1),C(4),U("disabled",t.loading),C(2),U("disabled",t.loading||!t.isCodeComplete())}}class XM{constructor(){this.loading=!1,this.verificationSent=!1,this.emailAddress="",this.verificationCode="",this.isLoginFlow=!1,this.canRegisterDevice=!1,this.registerDevice=!1,this.startSetup=new Se,this.confirmSetup=new Se,this.emailChange=new Se,this.codeChange=new Se,this.backToOptions=new Se,this.resendCode=new Se,this.registerDeviceChange=new Se,this.codeDigits=["","","","","",""]}onEmailChange(e){this.emailAddress=e,this.emailChange.emit(e)}onCodeDigitInput(e,t){const i=e.target.value;if(i&&/^\d$/.test(i)){if(this.codeDigits[t]=i,t<5){const r=e.target.parentElement.children[t+1];r&&r.focus()}}else i||(this.codeDigits[t]="");this.updateVerificationCode()}onCodeKeyDown(e,t){if("Backspace"===e.key&&!this.codeDigits[t]&&t>0){const i=e.target.parentElement.children[t-1];i&&i.focus()}}updateVerificationCode(){this.verificationCode=this.codeDigits.join(""),this.codeChange.emit(this.verificationCode)}isCodeComplete(){return this.codeDigits.every(e=>""!==e)}onStartSetup(){this.startSetup.emit(this.emailAddress)}onConfirmSetup(){this.confirmSetup.emit(this.verificationCode)}onBackToOptions(){this.backToOptions.emit()}onResendCode(){this.resendCode.emit()}onRegisterDeviceChange(e){this.registerDeviceChange.emit(e)}isValidEmail(e){return!!e&&/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}static{this.\u0275fac=function(t){return new(t||XM)}}static{this.\u0275cmp=Fe({type:XM,selectors:[["ue-email-factor"]],inputs:{loading:"loading",verificationSent:"verificationSent",emailAddress:"emailAddress",verificationCode:"verificationCode",isLoginFlow:"isLoginFlow",canRegisterDevice:"canRegisterDevice",registerDevice:"registerDevice"},outputs:{startSetup:"startSetup",confirmSetup:"confirmSetup",emailChange:"emailChange",codeChange:"codeChange",backToOptions:"backToOptions",resendCode:"resendCode",registerDeviceChange:"registerDeviceChange"},standalone:!1,decls:2,vars:2,consts:[[1,"setup-form"],[1,"verification-step"],[1,"setup-label"],[1,"email-input-group"],["ueFloatInput","","type","email","label","Email Address","id","emailAddress","placeholder","example@example.com","errorMessage","Please enter a valid email address",3,"ngModelChange","ngModel","error"],[1,"form-actions"],["btnClass","default","icon","fa fa-arrow-left",3,"onClick"],["btnClass","primary","icon","fa fa-paper-plane",3,"onClick","disabled"],[1,"success-message"],[1,"auth-code-section"],[1,"auth-label"],[1,"code-inputs"],["type","text","maxlength","1",1,"code-input",3,"ngModel"],[1,"remember-device-section"],[1,"verification-actions"],["btnClass","primary","icon","fa fa-refresh",3,"onClick","disabled"],["btnClass","success","icon","fa fa-check",3,"onClick","disabled"],["type","text","maxlength","1",1,"code-input",3,"ngModelChange","input","keydown","ngModel"],[1,"checkbox-container"],["type","checkbox","id","registerDeviceEmail",3,"change","checked"],["for","registerDeviceEmail"],[1,"help-text"]],template:function(t,i){1&t&&(V(0,k_e,15,3,"div",0),V(1,x_e,22,4,"div",1)),2&t&&(B(i.verificationSent?-1:0),C(),B(i.verificationSent?1:-1))},dependencies:[qn,Ln,Qo,eo,In,Eo,rs],styles:[".factor-setup-section[_ngcontent-%COMP%]{background-color:#f8f9fa;border:1px solid #e1e5e9;border-radius:4px;padding:20px;margin-bottom:20px}.factor-input[_ngcontent-%COMP%]{margin-bottom:20px}.factor-input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block;margin-bottom:8px;font-weight:600;color:#212529}.factor-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;margin-bottom:0}.setup-buttons[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;gap:10px;margin-top:15px}.verification-section-setup[_ngcontent-%COMP%]{background-color:#e3f2fd;border:1px solid #90caf9;border-radius:4px;padding:20px;margin-bottom:20px}.verification-input[_ngcontent-%COMP%]{margin-bottom:15px}.verification-input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block;margin-bottom:8px;font-weight:600;color:#212529}.verification-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;margin-bottom:0}.setup-form[_ngcontent-%COMP%]{background:#fff}.setup-form[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 25px;font-size:24px;font-weight:500;color:#333}.setup-form[_ngcontent-%COMP%] .setup-label[_ngcontent-%COMP%]{color:#007bff;font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px}.setup-form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#666;line-height:1.5;margin-bottom:25px}.email-input-group[_ngcontent-%COMP%]{margin-bottom:30px}.verification-step[_ngcontent-%COMP%]{background:#fff}.verification-step[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 20px;font-size:24px;font-weight:500;color:#333}.success-message[_ngcontent-%COMP%]{background:#d4edda;border:1px solid #c3e6cb;border-radius:6px;padding:15px 20px;margin-bottom:25px}.success-message[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:#155724;font-size:14px}.auth-code-section[_ngcontent-%COMP%]{margin-bottom:30px}.auth-label[_ngcontent-%COMP%]{color:#007bff;font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px}.auth-code-section[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#666;margin-bottom:20px}.code-inputs[_ngcontent-%COMP%]{display:flex;gap:10px;justify-content:center;margin-bottom:20px}.code-input[_ngcontent-%COMP%]{width:50px;height:50px;text-align:center;font-size:24px;font-weight:600;border:2px solid #e0e0e0;border-radius:8px;background:#fff;transition:border-color .2s ease}.code-input[_ngcontent-%COMP%]:focus{outline:none;border-color:#007bff}.form-actions[_ngcontent-%COMP%], .verification-actions[_ngcontent-%COMP%]{display:flex;gap:10px;justify-content:flex-end;padding-top:20px;margin-top:30px;background:transparent}@media(max-width:768px){.code-inputs[_ngcontent-%COMP%]{flex-wrap:wrap;gap:8px}.code-input[_ngcontent-%COMP%]{width:45px;height:45px;font-size:20px}.form-actions[_ngcontent-%COMP%], .verification-actions[_ngcontent-%COMP%]{flex-direction:column}}.remember-device-section[_ngcontent-%COMP%]{margin:20px 0;padding:15px;background-color:#f8f9fa;border-radius:5px;border:1px solid #e9ecef}.checkbox-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:8px}.checkbox-container[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin-right:8px;transform:scale(1.2)}.checkbox-container[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:500;margin-bottom:0;cursor:pointer}.help-text[_ngcontent-%COMP%]{font-size:13px;color:#6c757d;margin-bottom:0;line-height:1.4}"]})}}const L_e=()=>[0,1,2,3,4,5];function I_e(n,e){if(1&n){const t=pe();f(0,"button",11),W("click",function(){ne(t);return ie(A(2).clearPhone())}),O(1,"i",12),p()}}function P_e(n,e){if(1&n){const t=pe();f(0,"div",0)(1,"h3"),w(2,"Authentication"),p(),f(3,"p",2),w(4,"SMS AUTHENTICATION:"),p(),f(5,"p"),w(6,"You can use SMS to receive an authentication code. Please enter a valid phone number below to set up this method and then enter the code you receive."),p(),f(7,"div",3)(8,"div",4),O(9,"i",5),f(10,"input",6),Ui("ngModelChange",function(r){ne(t);const o=A();return nr(o.phoneNumber,r)||(o.phoneNumber=r),ie(r)}),W("input",function(r){ne(t);return ie(A().onPhoneChange(r.target.value))}),p(),V(11,I_e,2,0,"button",7),p()(),f(12,"div",8)(13,"ue-button",9),W("onClick",function(){ne(t);return ie(A().onBackToOptions())}),w(14,"Go Back"),p(),f(15,"ue-button",10),W("onClick",function(){ne(t);return ie(A().onStartSetup())}),w(16,"Submit"),p()()()}if(2&n){const t=A();C(10),Bi("ngModel",t.phoneNumber),C(),B(t.phoneNumber?11:-1),C(4),U("disabled",t.loading||!t.phoneNumber)}}function A_e(n,e){if(1&n){const t=pe();f(0,"input",22),Ui("ngModelChange",function(r){const o=ne(t).$index,s=A(2);return nr(s.codeDigits[o],r)||(s.codeDigits[o]=r),ie(r)}),W("input",function(r){const o=ne(t).$index;return ie(A(2).onCodeDigitInput(r,o))})("keydown",function(r){const o=ne(t).$index;return ie(A(2).onCodeKeyDown(r,o))}),p()}if(2&n){const t=e.$index;Bi("ngModel",A(2).codeDigits[t])}}function O_e(n,e){if(1&n){const t=pe();f(0,"div",18)(1,"div",23)(2,"input",24),W("change",function(r){ne(t);return ie(A(2).onRegisterDeviceChange(r.target.checked))}),p(),f(3,"label",25),w(4,"Remember this device"),p()(),f(5,"p",26),w(6," This device will be remembered for future logins. "),p()()}if(2&n){const t=A(2);C(2),U("checked",t.registerDevice)}}function R_e(n,e){if(1&n){const t=pe();f(0,"div",1)(1,"h3"),w(2,"Authentication"),p(),f(3,"div",13)(4,"p"),w(5,"A text message was sent to the provided number with a 6 digit authentication code."),p()(),f(6,"div",14)(7,"p",15),w(8,"AUTHENTICATION CODE:"),p(),f(9,"p"),w(10,"Please enter the 6-digit authentication code you received."),p(),f(11,"div",16),bn(12,A_e,1,1,"input",17,vn),p()(),V(14,O_e,7,1,"div",18),f(15,"div",19)(16,"ue-button",9),W("onClick",function(){ne(t);return ie(A().onBackToOptions())}),w(17,"Go Back"),p(),f(18,"ue-button",20),W("onClick",function(){ne(t);return ie(A().onResendCode())}),w(19,"Re-Send Code"),p(),f(20,"ue-button",21),W("onClick",function(){ne(t);return ie(A().onConfirmSetup())}),w(21,"Confirm Code"),p()()()}if(2&n){const t=A();C(12),wn(sa(3,L_e)),C(2),B(t.canRegisterDevice?14:-1),C(4),U("disabled",t.loading),C(2),U("disabled",t.loading||!t.isCodeComplete())}}class e1{constructor(){this.loading=!1,this.verificationSent=!1,this.phoneNumber="",this.verificationCode="",this.isLoginFlow=!1,this.canRegisterDevice=!1,this.registerDevice=!1,this.startSetup=new Se,this.confirmSetup=new Se,this.phoneChange=new Se,this.codeChange=new Se,this.backToOptions=new Se,this.resendCode=new Se,this.registerDeviceChange=new Se,this.codeDigits=["","","","","",""]}onPhoneChange(e){this.phoneNumber=e,this.phoneChange.emit(e)}onCodeDigitInput(e,t){const i=e.target.value;if(i&&/^\d$/.test(i)){if(this.codeDigits[t]=i,t<5){const r=e.target.parentElement.children[t+1];r&&r.focus()}}else i||(this.codeDigits[t]="");this.updateVerificationCode()}onCodeKeyDown(e,t){if("Backspace"===e.key&&!this.codeDigits[t]&&t>0){const i=e.target.parentElement.children[t-1];i&&i.focus()}}updateVerificationCode(){this.verificationCode=this.codeDigits.join(""),this.codeChange.emit(this.verificationCode)}isCodeComplete(){return this.codeDigits.every(e=>""!==e)}onStartSetup(){this.startSetup.emit(this.phoneNumber)}onConfirmSetup(){this.confirmSetup.emit(this.verificationCode)}onBackToOptions(){this.backToOptions.emit()}onResendCode(){this.resendCode.emit()}clearPhone(){this.phoneNumber="",this.phoneChange.emit("")}onRegisterDeviceChange(e){this.registerDeviceChange.emit(e)}static{this.\u0275fac=function(t){return new(t||e1)}}static{this.\u0275cmp=Fe({type:e1,selectors:[["ue-sms-factor"]],inputs:{loading:"loading",verificationSent:"verificationSent",phoneNumber:"phoneNumber",verificationCode:"verificationCode",isLoginFlow:"isLoginFlow",canRegisterDevice:"canRegisterDevice",registerDevice:"registerDevice"},outputs:{startSetup:"startSetup",confirmSetup:"confirmSetup",phoneChange:"phoneChange",codeChange:"codeChange",backToOptions:"backToOptions",resendCode:"resendCode",registerDeviceChange:"registerDeviceChange"},standalone:!1,decls:2,vars:2,consts:[[1,"setup-form"],[1,"verification-step"],[1,"setup-label"],[1,"phone-input-group"],[1,"input-with-icon"],["aria-hidden","true",1,"fa","fa-mobile","input-icon"],["type","tel","placeholder","+1 (555) 123-4567",1,"form-control","phone-input",3,"ngModelChange","input","ngModel"],[1,"input-action-btn"],[1,"form-actions"],["btnClass","default","icon","fa fa-arrow-left",3,"onClick"],["btnClass","primary","icon","fa fa-paper-plane",3,"onClick","disabled"],[1,"input-action-btn",3,"click"],["aria-hidden","true",1,"fa","fa-times"],[1,"success-message"],[1,"auth-code-section"],[1,"auth-label"],[1,"code-inputs"],["type","text","maxlength","1",1,"code-input",3,"ngModel"],[1,"remember-device-section"],[1,"verification-actions"],["btnClass","primary","icon","fa fa-refresh",3,"onClick","disabled"],["btnClass","success","icon","fa fa-check",3,"onClick","disabled"],["type","text","maxlength","1",1,"code-input",3,"ngModelChange","input","keydown","ngModel"],[1,"checkbox-container"],["type","checkbox","id","registerDeviceSms",3,"change","checked"],["for","registerDeviceSms"],[1,"help-text"]],template:function(t,i){1&t&&(V(0,P_e,17,3,"div",0),V(1,R_e,22,4,"div",1)),2&t&&(B(i.verificationSent?-1:0),C(),B(i.verificationSent?1:-1))},dependencies:[qn,Ln,Qo,eo,In],styles:[".factor-setup-section[_ngcontent-%COMP%]{background-color:#f8f9fa;border:1px solid #e1e5e9;border-radius:4px;padding:20px;margin-bottom:20px}.factor-input[_ngcontent-%COMP%]{margin-bottom:20px}.factor-input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block;margin-bottom:8px;font-weight:600;color:#212529}.factor-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;margin-bottom:0}.setup-buttons[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;gap:10px;margin-top:15px}.verification-section-setup[_ngcontent-%COMP%]{background-color:#e3f2fd;border:1px solid #90caf9;border-radius:4px;padding:20px;margin-bottom:20px}.verification-input[_ngcontent-%COMP%]{margin-bottom:15px}.verification-input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block;margin-bottom:8px;font-weight:600;color:#212529}.verification-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;margin-bottom:0}.setup-form[_ngcontent-%COMP%]{background:#fff}.setup-form[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 25px;font-size:24px;font-weight:500;color:#333}.setup-form[_ngcontent-%COMP%] .setup-label[_ngcontent-%COMP%]{color:#007bff;font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px}.setup-form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#666;line-height:1.5;margin-bottom:25px}.phone-input-group[_ngcontent-%COMP%]{margin-bottom:30px}.input-with-icon[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center}.input-icon[_ngcontent-%COMP%]{position:absolute;left:15px;color:#666;font-size:16px;z-index:2}.phone-input[_ngcontent-%COMP%]{flex:1;padding:12px 15px 12px 45px;border:1px solid #e0e0e0;border-radius:6px;font-size:16px;transition:border-color .2s ease}.phone-input[_ngcontent-%COMP%]:focus{outline:none;border-color:#007bff}.input-action-btn[_ngcontent-%COMP%]{position:absolute;right:10px;background:#dc3545;border:none;color:#fff;width:24px;height:24px;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:12px}.input-action-btn[_ngcontent-%COMP%]:hover{background:#c82333}.verification-step[_ngcontent-%COMP%]{background:#fff}.verification-step[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 20px;font-size:24px;font-weight:500;color:#333}.success-message[_ngcontent-%COMP%]{background:#d4edda;border:1px solid #c3e6cb;border-radius:6px;padding:15px 20px;margin-bottom:25px}.success-message[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:#155724;font-size:14px}.auth-code-section[_ngcontent-%COMP%]{margin-bottom:30px}.auth-label[_ngcontent-%COMP%]{color:#007bff;font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px}.auth-code-section[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#666;margin-bottom:20px}.code-inputs[_ngcontent-%COMP%]{display:flex;gap:10px;justify-content:center;margin-bottom:20px}.code-input[_ngcontent-%COMP%]{width:50px;height:50px;text-align:center;font-size:24px;font-weight:600;border:2px solid #e0e0e0;border-radius:8px;background:#fff;transition:border-color .2s ease}.code-input[_ngcontent-%COMP%]:focus{outline:none;border-color:#007bff}.form-actions[_ngcontent-%COMP%], .verification-actions[_ngcontent-%COMP%]{display:flex;gap:10px;justify-content:flex-end;padding-top:20px;margin-top:30px;background:transparent}@media(max-width:768px){.code-inputs[_ngcontent-%COMP%]{flex-wrap:wrap;gap:8px}.code-input[_ngcontent-%COMP%]{width:45px;height:45px;font-size:20px}.form-actions[_ngcontent-%COMP%], .verification-actions[_ngcontent-%COMP%]{flex-direction:column}}.remember-device-section[_ngcontent-%COMP%]{margin:20px 0;padding:15px;background-color:#f8f9fa;border-radius:5px;border:1px solid #e9ecef}.checkbox-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:8px}.checkbox-container[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin-right:8px;transform:scale(1.2)}.checkbox-container[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:500;margin-bottom:0;cursor:pointer}.help-text[_ngcontent-%COMP%]{font-size:13px;color:#6c757d;margin-bottom:0;line-height:1.4}"]})}}const N_e=()=>[0,1,2,3,4,5];function F_e(n,e){if(1&n){const t=pe();f(0,"div",0)(1,"h3"),w(2,"Google Authenticator"),p(),f(3,"p",3),w(4,"AUTHENTICATOR APP:"),p(),f(5,"p"),w(6,"You can use an authenticator app as a second factor. It can be used to get authentication codes even when your device is offline. Simply open the app and then scan the QR code."),p(),f(7,"div",4)(8,"ue-button",5),W("onClick",function(){ne(t);return ie(A().onBackToOptions())}),w(9,"Go Back"),p(),f(10,"ue-button",6),W("onClick",function(){ne(t);return ie(A().onStartSetup())}),w(11,"Continue"),p()()()}if(2&n){const t=A();C(10),U("disabled",t.loading)}}function Y_e(n,e){if(1&n){const t=pe();f(0,"div",1)(1,"h3"),w(2,"Google Authenticator"),p(),f(3,"p",3),w(4,"AUTHENTICATOR APP:"),p(),f(5,"p"),w(6,"You can use an authenticator app as a second factor. It can be used to get authentication codes even when your device is offline. Simply open the app and then scan the QR code."),p(),f(7,"div",7),O(8,"qrcode",8),p(),f(9,"div",4)(10,"ue-button",5),W("onClick",function(){ne(t);return ie(A().onBackToOptions())}),w(11,"Go Back"),p(),f(12,"ue-button",9),W("onClick",function(){ne(t);return ie(A().onConfirmQRScanned())}),w(13,"Confirm"),p()()()}if(2&n){const t=A();C(8),U("qrdata",t.keyUri)("width",200)("errorCorrectionLevel","M")}}function j_e(n,e){if(1&n){const t=pe();f(0,"input",14),Ui("ngModelChange",function(r){const o=ne(t).$index,s=A(2);return nr(s.codeDigits[o],r)||(s.codeDigits[o]=r),ie(r)}),W("input",function(r){const o=ne(t).$index;return ie(A(2).onCodeDigitInput(r,o))})("keydown",function(r){const o=ne(t).$index;return ie(A(2).onCodeKeyDown(r,o))}),p()}if(2&n){const t=e.$index;Bi("ngModel",A(2).codeDigits[t])}}function H_e(n,e){if(1&n){const t=pe();f(0,"div",12)(1,"div",15)(2,"input",16),W("change",function(r){ne(t);return ie(A(2).onRegisterDeviceChange(r.target.checked))}),p(),f(3,"label",17),w(4,"Remember this device"),p()(),f(5,"p",18),w(6," This device will be remembered for future logins. "),p()()}if(2&n){const t=A(2);C(2),U("checked",t.registerDevice)}}function V_e(n,e){if(1&n){const t=pe();f(0,"div",2)(1,"h3"),w(2,"Google Authenticator"),p(),f(3,"p",3),w(4,"AUTHENTICATOR APP:"),p(),f(5,"p"),w(6,"Please enter the 6-digit code currently displayed on your authenticator app."),p(),f(7,"div",10),bn(8,j_e,1,1,"input",11,vn),p(),V(10,H_e,7,1,"div",12),f(11,"div",4)(12,"ue-button",5),W("onClick",function(){ne(t);return ie(A().onBackToOptions())}),w(13,"Go Back"),p(),f(14,"ue-button",13),W("onClick",function(){ne(t);return ie(A().onConfirmSetup())}),w(15,"Confirm Code"),p()()()}if(2&n){const t=A();C(8),wn(sa(2,N_e)),C(2),B(t.canRegisterDevice?10:-1),C(4),U("disabled",t.loading||!t.isCodeComplete())}}class t1{constructor(){this.loading=!1,this.keyUri="",this.verificationCode="",this.verificationSent=!1,this.isLoginFlow=!1,this.canRegisterDevice=!1,this.registerDevice=!1,this.startSetup=new Se,this.confirmSetup=new Se,this.codeChange=new Se,this.backToOptions=new Se,this.confirmQRScanned=new Se,this.registerDeviceChange=new Se,this.codeDigits=["","","","","",""]}onCodeDigitInput(e,t){const i=e.target.value;if(i&&/^\d$/.test(i)){if(this.codeDigits[t]=i,t<5){const r=e.target.parentElement.children[t+1];r&&r.focus()}}else i||(this.codeDigits[t]="");this.updateVerificationCode()}onCodeKeyDown(e,t){if("Backspace"===e.key&&!this.codeDigits[t]&&t>0){const i=e.target.parentElement.children[t-1];i&&i.focus()}}updateVerificationCode(){this.verificationCode=this.codeDigits.join(""),this.codeChange.emit(this.verificationCode)}isCodeComplete(){return this.codeDigits.every(e=>""!==e)}onStartSetup(){this.startSetup.emit()}onConfirmSetup(){this.confirmSetup.emit(this.verificationCode)}onBackToOptions(){this.backToOptions.emit()}onConfirmQRScanned(){this.confirmQRScanned.emit()}onRegisterDeviceChange(e){this.registerDeviceChange.emit(e)}static{this.\u0275fac=function(t){return new(t||t1)}}static{this.\u0275cmp=Fe({type:t1,selectors:[["ue-google-authenticator-factor"]],inputs:{loading:"loading",keyUri:"keyUri",verificationCode:"verificationCode",verificationSent:"verificationSent",isLoginFlow:"isLoginFlow",canRegisterDevice:"canRegisterDevice",registerDevice:"registerDevice"},outputs:{startSetup:"startSetup",confirmSetup:"confirmSetup",codeChange:"codeChange",backToOptions:"backToOptions",confirmQRScanned:"confirmQRScanned",registerDeviceChange:"registerDeviceChange"},standalone:!1,decls:3,vars:3,consts:[[1,"setup-form"],[1,"qr-step"],[1,"verification-step"],[1,"setup-label"],[1,"form-actions"],["btnClass","default","icon","fa fa-arrow-left",3,"onClick"],["btnClass","primary","icon","fa fa-arrow-right",3,"onClick","disabled"],[1,"qr-code-container"],[3,"qrdata","width","errorCorrectionLevel"],["btnClass","primary","icon","fa fa-check",3,"onClick"],[1,"code-inputs"],["type","text","maxlength","1",1,"code-input",3,"ngModel"],[1,"remember-device-section"],["btnClass","success","icon","fa fa-check",3,"onClick","disabled"],["type","text","maxlength","1",1,"code-input",3,"ngModelChange","input","keydown","ngModel"],[1,"checkbox-container"],["type","checkbox","id","registerDeviceGoogle",3,"change","checked"],["for","registerDeviceGoogle"],[1,"help-text"]],template:function(t,i){1&t&&(V(0,F_e,12,1,"div",0),V(1,Y_e,14,3,"div",1),V(2,V_e,16,3,"div",2)),2&t&&(B(i.keyUri?-1:0),C(),B(i.keyUri&&!i.verificationSent?1:-1),C(),B(i.verificationSent?2:-1))},dependencies:[qn,Ln,Qo,eo,In,f_],styles:[".factor-setup-section[_ngcontent-%COMP%]{background-color:#f8f9fa;border:1px solid #e1e5e9;border-radius:4px;padding:20px;margin-bottom:20px}.factor-input[_ngcontent-%COMP%]{margin-bottom:20px}.factor-input[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:15px;color:#6c757d}.setup-buttons[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;gap:10px;margin-top:15px}.qr-code-section[_ngcontent-%COMP%]{text-align:center;margin:20px 0;padding:20px;background-color:#f8f9fa;border:1px solid #e1e5e9;border-radius:4px}.qr-code[_ngcontent-%COMP%]{max-width:200px;height:auto;border:1px solid #e1e5e9;border-radius:4px}.verification-section-setup[_ngcontent-%COMP%]{background-color:#e3f2fd;border:1px solid #90caf9;border-radius:4px;padding:20px;margin-bottom:20px}.verification-input[_ngcontent-%COMP%]{margin-bottom:15px}.verification-input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block;margin-bottom:8px;font-weight:600;color:#212529}.verification-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;margin-bottom:0}.setup-form[_ngcontent-%COMP%]{background:#fff}.setup-form[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 25px;font-size:24px;font-weight:500;color:#333}.setup-form[_ngcontent-%COMP%] .setup-label[_ngcontent-%COMP%]{color:#007bff;font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px}.setup-form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#666;line-height:1.5;margin-bottom:25px}.qr-step[_ngcontent-%COMP%]{background:#fff}.qr-step[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 25px;font-size:24px;font-weight:500;color:#333}.qr-step[_ngcontent-%COMP%] .setup-label[_ngcontent-%COMP%]{color:#007bff;font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px}.qr-step[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#666;line-height:1.5;margin-bottom:25px}.qr-code-container[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:30px 0}.qr-code[_ngcontent-%COMP%]{max-width:200px;height:auto;border:1px solid #e0e0e0;border-radius:8px;padding:10px;background:#fff}.verification-step[_ngcontent-%COMP%]{background:#fff}.verification-step[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 25px;font-size:24px;font-weight:500;color:#333}.verification-step[_ngcontent-%COMP%] .setup-label[_ngcontent-%COMP%]{color:#007bff;font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px}.verification-step[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#666;line-height:1.5;margin-bottom:25px}.code-inputs[_ngcontent-%COMP%]{display:flex;gap:10px;justify-content:center;margin-bottom:20px}.code-input[_ngcontent-%COMP%]{width:50px;height:50px;text-align:center;font-size:24px;font-weight:600;border:2px solid #e0e0e0;border-radius:8px;background:#fff;transition:border-color .2s ease}.code-input[_ngcontent-%COMP%]:focus{outline:none;border-color:#007bff}.form-actions[_ngcontent-%COMP%]{display:flex;gap:10px;justify-content:flex-end;padding-top:20px;margin-top:30px;background:transparent}@media(max-width:768px){.code-inputs[_ngcontent-%COMP%]{flex-wrap:wrap;gap:8px}.code-input[_ngcontent-%COMP%]{width:45px;height:45px;font-size:20px}.form-actions[_ngcontent-%COMP%]{flex-direction:column}}.remember-device-section[_ngcontent-%COMP%]{margin:20px 0;padding:15px;background-color:#f8f9fa;border-radius:5px;border:1px solid #e9ecef}.checkbox-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:8px}.checkbox-container[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin-right:8px;transform:scale(1.2)}.checkbox-container[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:500;margin-bottom:0;cursor:pointer}.help-text[_ngcontent-%COMP%]{font-size:13px;color:#6c757d;margin-bottom:0;line-height:1.4}"]})}}function B_e(n,e){if(1&n&&(f(0,"div",7),w(1),p()),2&n){const t=e.$implicit;C(),De(t)}}function U_e(n,e){if(1&n&&(f(0,"div",2)(1,"div",6),bn(2,B_e,2,1,"div",7,vn),p(),f(4,"p",8),w(5,"Please save these codes in a secure location. They will not be shown again."),p()()),2&n){const t=A();C(2),wn(t.backupCodes)}}class n1{constructor(){this.loading=!1,this.showBackupCodes=!1,this.backupCodes=[],this.isLoginFlow=!1,this.confirmSetup=new Se,this.backToOptions=new Se,this.generateCodes=new Se}onConfirmSetup(){this.confirmSetup.emit()}onBackToOptions(){this.backToOptions.emit()}onGenerateCodes(){this.generateCodes.emit()}static{this.\u0275fac=function(t){return new(t||n1)}}static{this.\u0275cmp=Fe({type:n1,selectors:[["ue-onetime-codes-factor"]],inputs:{loading:"loading",showBackupCodes:"showBackupCodes",backupCodes:"backupCodes",isLoginFlow:"isLoginFlow"},outputs:{confirmSetup:"confirmSetup",backToOptions:"backToOptions",generateCodes:"generateCodes"},standalone:!1,decls:13,vars:2,consts:[[1,"setup-form"],[1,"setup-label"],[1,"backup-codes"],[1,"form-actions"],["btnClass","default","icon","fa fa-arrow-left",3,"onClick"],["btnClass","success","icon","fa fa-check",3,"onClick","disabled"],[1,"codes-list"],[1,"backup-code"],[1,"codes-warning"]],template:function(t,i){1&t&&(f(0,"div",0)(1,"h3"),w(2,"One Time Use Codes"),p(),f(3,"p",1),w(4,"BACKUP CODES:"),p(),f(5,"p"),w(6,"These codes can be used as a backup when your other authentication methods are not available. Each code can only be used once."),p(),V(7,U_e,6,0,"div",2),f(8,"div",3)(9,"ue-button",4),W("onClick",function(){return i.onBackToOptions()}),w(10,"Go Back"),p(),f(11,"ue-button",5),W("onClick",function(){return i.onConfirmSetup()}),w(12,"Continue"),p()()()),2&t&&(C(7),B(i.showBackupCodes?7:-1),C(4),U("disabled",i.loading))},dependencies:[In],styles:[".setup-form[_ngcontent-%COMP%]{background:#fff}.setup-form[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 25px;font-size:24px;font-weight:500;color:#333}.setup-form[_ngcontent-%COMP%] .setup-label[_ngcontent-%COMP%]{color:#007bff;font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px}.setup-form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#666;line-height:1.5;margin-bottom:25px}.backup-codes[_ngcontent-%COMP%]{margin:30px 0}.codes-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:20px;padding:20px;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:8px}.backup-code[_ngcontent-%COMP%]{padding:10px 15px;background:#fff;border:1px solid #ddd;border-radius:4px;font-family:Courier New,monospace;font-size:14px;text-align:center}.codes-warning[_ngcontent-%COMP%]{color:#856404;background:#fff3cd;border:1px solid #ffeaa7;border-radius:6px;padding:12px 15px;margin:0;font-size:14px}.form-actions[_ngcontent-%COMP%]{display:flex;gap:10px;justify-content:flex-end;padding-top:20px;margin-top:30px;background:transparent}@media(max-width:768px){.codes-list[_ngcontent-%COMP%]{grid-template-columns:1fr}.form-actions[_ngcontent-%COMP%]{flex-direction:column}}"]})}}function z_e(n,e){if(1&n&&(f(0,"option",5),w(1),p()),2&n){const t=e.$implicit;U("value",t.key),C(),We(" ",t.description," ")}}function $_e(n,e){if(1&n){const t=pe();f(0,"ue-button",9),W("onClick",function(){ne(t);return ie(A().onBackToOptions())}),w(1,"Go Back"),p()}}class i1{constructor(){this.loading=!1,this.securityLevels=[],this.currentSecurityLevel="",this.confirmSecurityLevel=new Se,this.backToOptions=new Se,this.selectedSecurityLevel=""}ngOnInit(){this.initializeSelection()}ngOnChanges(e){(e.securityLevels||e.currentSecurityLevel)&&this.initializeSelection()}initializeSelection(){this.selectedSecurityLevel=this.currentSecurityLevel}onConfirm(){this.selectedSecurityLevel&&this.confirmSecurityLevel.emit(this.selectedSecurityLevel)}onBackToOptions(){this.backToOptions.emit()}isConfirmDisabled(){return this.loading||!this.selectedSecurityLevel||this.selectedSecurityLevel===this.currentSecurityLevel}static{this.\u0275fac=function(t){return new(t||i1)}}static{this.\u0275cmp=Fe({type:i1,selectors:[["ue-security-level"]],inputs:{loading:"loading",securityLevels:"securityLevels",currentSecurityLevel:"currentSecurityLevel"},outputs:{confirmSecurityLevel:"confirmSecurityLevel",backToOptions:"backToOptions"},standalone:!1,features:[ji],decls:17,vars:4,consts:[[1,"setup-form"],[1,"setup-label"],[1,"security-level-group"],["label","Security Level",3,"ngModelChange","ngModel","readonly"],["value","","disabled",""],[3,"value"],[1,"form-actions"],["btnClass","default","icon","fa fa-arrow-left"],["btnClass","primary","icon","fa fa-check",3,"onClick","disabled"],["btnClass","default","icon","fa fa-arrow-left",3,"onClick"]],template:function(t,i){1&t&&(f(0,"div",0)(1,"h3"),w(2,"Security Level"),p(),f(3,"p",1),w(4,"CHOOSE YOUR SECURITY LEVEL:"),p(),f(5,"p"),w(6,"Select the security level that best fits your needs. Higher security levels provide better protection but may require more frequent authentication."),p(),f(7,"div",2)(8,"ue-float-label-select",3),Ui("ngModelChange",function(o){return nr(i.selectedSecurityLevel,o)||(i.selectedSecurityLevel=o),o}),f(9,"option",4),w(10,"Select a security level"),p(),bn(11,z_e,2,2,"option",5,vn),p()(),f(13,"div",6),V(14,$_e,2,0,"ue-button",7),f(15,"ue-button",8),W("onClick",function(){return i.onConfirm()}),w(16,"Confirm Security Level"),p()()()),2&t&&(C(8),Bi("ngModel",i.selectedSecurityLevel),U("readonly",i.loading),C(3),wn(i.securityLevels),C(3),B(i.currentSecurityLevel?14:-1),C(),U("disabled",i.isConfirmDisabled()))},dependencies:[Ka,Ja,Ln,eo,In,yl],styles:[".setup-form[_ngcontent-%COMP%]{background:#fff}.setup-form[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 25px;font-size:24px;font-weight:500;color:#333}.setup-form[_ngcontent-%COMP%] .setup-label[_ngcontent-%COMP%]{color:#007bff;font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px}.setup-form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#666;line-height:1.5;margin-bottom:25px}.security-level-group[_ngcontent-%COMP%]{margin-bottom:30px}.form-actions[_ngcontent-%COMP%]{display:flex;gap:10px;justify-content:flex-end;padding-top:20px;margin-top:30px;background:transparent}@media(max-width:768px){.form-actions[_ngcontent-%COMP%]{flex-direction:column}}"]})}}const W_e=["ueModal"],q_e=()=>[0,1,2,3,4,5],G_e=()=>[0,1,2,3,4,5,6,7];function Q_e(n,e){1&n&&(f(0,"span"),w(1,"Two Factor Authentication"),p())}function K_e(n,e){1&n&&(f(0,"span"),w(1,"Authentication Required"),p())}function J_e(n,e){1&n&&(f(0,"div",3)(1,"div",4)(2,"span",5),w(3,"Loading..."),p()()())}function Z_e(n,e){if(1&n){const t=pe();f(0,"div")(1,"ue-security-level",6),W("confirmSecurityLevel",function(r){ne(t);return ie(A().confirmSecurityLevel(r))})("backToOptions",function(){ne(t);const r=A();return r.showSetupOptions=!0,ie(r.showSecurityLevel=!1)}),p()()}if(2&n){const t=A();C(),U("loading",t.loading)("securityLevels",t.securityLevels)("currentSecurityLevel",t.currentSecurityLevel)}}function X_e(n,e){if(1&n){const t=pe();f(0,"div",12),W("click",function(){ne(t);const r=A().$implicit;return ie(A(3).handleFactorClick(r))}),f(1,"div",13),O(2,"i",14),p(),f(3,"div",15)(4,"h4"),w(5),p(),f(6,"p"),w(7),p()()()}if(2&n){const t=A().$implicit,i=A(3);C(2),Cn(i.getFactorIcon(t.type)),C(3),De(i.getFactorName(t.type)),C(2),De(i.getFactorSubtext(t))}}function eye(n,e){1&n&&(f(0,"div",17)(1,"p"),w(2,"An authentication code was sent. Please check your device."),p()())}function tye(n,e){1&n&&(f(0,"p"),w(1,"Please enter the 6-digit authentication code you received."),p())}function nye(n,e){1&n&&(f(0,"p"),w(1,"Please enter one of your 8-digit backup codes."),p())}function iye(n,e){if(1&n){const t=pe();f(0,"input",27),Ui("ngModelChange",function(r){const o=ne(t).$index,s=A(6);return nr(s.codeDigits[o],r)||(s.codeDigits[o]=r),ie(r)}),W("input",function(r){const o=ne(t).$index;return ie(A(6).onCodeDigitInput(r,o))})("keydown",function(r){const o=ne(t).$index;return ie(A(6).onCodeKeyDown(r,o))}),p()}if(2&n){const t=e.$index;Bi("ngModel",A(6).codeDigits[t])}}function rye(n,e){1&n&&bn(0,iye,1,1,"input",26,vn),2&n&&wn(sa(0,q_e))}function oye(n,e){if(1&n){const t=pe();f(0,"input",27),Ui("ngModelChange",function(r){const o=ne(t).$index,s=A(6);return nr(s.codeDigits[o],r)||(s.codeDigits[o]=r),ie(r)}),W("input",function(r){const o=ne(t).$index;return ie(A(6).onCodeDigitInput(r,o))})("keydown",function(r){const o=ne(t).$index;return ie(A(6).onCodeKeyDown(r,o))}),p()}if(2&n){const t=e.$index;Bi("ngModel",A(6).codeDigits[t])}}function sye(n,e){1&n&&bn(0,oye,1,1,"input",26,vn),2&n&&wn(sa(0,G_e))}function aye(n,e){1&n&&(f(0,"span"),w(1,"This device will be remembered and you won't need to enter a code next time you log in from this device."),p())}function lye(n,e){1&n&&(f(0,"span"),w(1,"This device and IP address will be remembered for future logins."),p())}function cye(n,e){if(1&n){const t=pe();f(0,"div",21)(1,"div",28)(2,"input",29),Ui("ngModelChange",function(r){ne(t);const o=A(5);return nr(o.registerDevice,r)||(o.registerDevice=r),ie(r)}),p(),f(3,"label",30),w(4,"Remember this device"),p()(),f(5,"p",31),V(6,aye,2,0,"span"),V(7,lye,2,0,"span"),p()()}if(2&n){const t=A(5);C(2),Bi("ngModel",t.registerDevice),C(4),B("y"===t.currentSecurityLevel||"low"===t.currentSecurityLevel?6:-1),C(),B("p"===t.currentSecurityLevel||"medium"===t.currentSecurityLevel?7:-1)}}function dye(n,e){if(1&n){const t=pe();f(0,"ue-button",32),W("onClick",function(){ne(t);const r=A(2).$implicit;return ie(A(3).resendCode(r))}),w(1,"Re-Send Code"),p()}if(2&n){U("disabled",A(5).loading)}}function uye(n,e){if(1&n){const t=pe();f(0,"div",11)(1,"div",16)(2,"h3"),w(3,"Authentication"),p()(),V(4,eye,3,0,"div",17),f(5,"div",18)(6,"p",19),w(7,"AUTHENTICATION CODE:"),p(),V(8,tye,2,0,"p"),V(9,nye,2,0,"p"),f(10,"div",20),V(11,rye,2,1),V(12,sye,2,1),p()(),V(13,cye,8,3,"div",21),f(14,"div",22)(15,"ue-button",23),W("onClick",function(){ne(t);const r=A().$implicit;return ie(A(3).cancelVerification(r))}),w(16,"Go Back"),p(),V(17,dye,2,1,"ue-button",24),f(18,"ue-button",25),W("onClick",function(){ne(t);const r=A().$implicit;return ie(A(3).confirmVerification(r))}),w(19,"Confirm Code"),p()()()}if(2&n){const t=A().$implicit,i=A(3);C(4),B(i.verificationSent?4:-1),C(4),B("onetime_codes"!==t.type?8:-1),C(),B("onetime_codes"===t.type?9:-1),C(2),B("onetime_codes"!==t.type?11:-1),C(),B("onetime_codes"===t.type?12:-1),C(),B(i.canRegisterDevice()?13:-1),C(2),U("disabled",i.loading),C(2),B("onetime_codes"!==t.type&&"google_authenticator"!==t.type?17:-1),C(),U("disabled",i.loading||!i.isCodeComplete())}}function hye(n,e){if(1&n&&(f(0,"div",8),V(1,X_e,8,4,"div",10),V(2,uye,20,9,"div",11),p()),2&n){const t=e.$implicit,i=A(3);C(),B("pending_verification"===t.status||i.hasAnyPendingVerification()?-1:1),C(),B("pending_verification"===t.status?2:-1)}}function fye(n,e){if(1&n){const t=pe();f(0,"div",9)(1,"ue-button",33),W("onClick",function(){ne(t);return ie(A(3).continueToSetup())}),w(2,"Continue"),p()()}}function pye(n,e){if(1&n&&(f(0,"div",7),bn(1,hye,3,2,"div",8,vn),V(3,fye,3,0,"div",9),p()),2&n){const t=A(2);C(),wn(t.getActivFactors()),C(2),B(t.requiresVerification()?-1:3)}}function mye(n,e){if(1&n&&(f(0,"div"),V(1,pye,4,1,"div",7),p()),2&n){const t=A();C(),B(t.existingFactors.length>0?1:-1)}}function gye(n,e){1&n&&(f(0,"p",35),w(1,"SETUP SECOND FACTORS:"),p())}function _ye(n,e){1&n&&(f(0,"p",35),w(1,"SETUP AUTHENTICATION:"),p())}function yye(n,e){1&n&&(f(0,"p",36),w(1," To protect the security of your account we encourage you to add a second authentication method. This allows us to verify your identity using something other than your password. Once you do, we require you to set up at least two options so that you can still log in if one isn't working for any reason. "),p())}function vye(n,e){1&n&&(f(0,"p",36),w(1," Your account requires two-factor authentication to continue. Please set up at least one authentication method below to complete your login. "),p())}function bye(n,e){if(1&n){const t=pe();f(0,"div",43)(1,"span",44),W("click",function(r){ne(t);const o=A().$implicit;return A(2).deleteSpecificFactor(o.type),ie(r.stopPropagation())}),w(2,"remove"),p()()}}function wye(n,e){if(1&n){const t=pe();f(0,"div",40),W("click",function(){const r=ne(t).$implicit,o=A(2);return ie(o.hasFactorType(r.type)?null:o.setupNewFactor(r.type))}),f(1,"div",41),O(2,"i",14),p(),f(3,"div",42)(4,"h4"),w(5),p(),f(6,"p"),w(7),p()(),V(8,bye,3,0,"div",43),p()}if(2&n){const t=e.$implicit,i=A(2);Re("existing",i.hasFactorType(t.type))("available",!i.hasFactorType(t.type)),C(2),Cn(t.icon),C(3),De(t.name),C(2),De(t.description),C(),B(i.hasFactorType(t.type)?8:-1)}}function Cye(n,e){if(1&n){const t=pe();f(0,"div",39)(1,"ue-button",45),W("onClick",function(){ne(t);return ie(A(2).showSecurityLevelSelection())}),w(2,"Change Security Level"),p()()}}function Mye(n,e){if(1&n&&(f(0,"div")(1,"div",34),V(2,gye,2,0,"p",35),V(3,_ye,2,0,"p",35),V(4,yye,2,0,"p",36),V(5,vye,2,0,"p",36),p(),f(6,"div",37),bn(7,wye,9,9,"div",38,vn),p(),V(9,Cye,3,0,"div",39),p()),2&n){const t=A();C(2),B(t.isLoginFlow?-1:2),C(),B(t.isLoginFlow?3:-1),C(),B(t.isLoginFlow?-1:4),C(),B(t.isLoginFlow?5:-1),C(2),wn(t.filteredAuthOptions),C(2),B(t.isLoginFlow?-1:9)}}function Dye(n,e){if(1&n){const t=pe();f(0,"ue-email-factor",51),W("startSetup",function(r){ne(t);return ie(A(2).onEmailStart(r))})("confirmSetup",function(r){ne(t);return ie(A(2).onFactorConfirm(r))})("emailChange",function(r){ne(t);return ie(A(2).emailAddress=r)})("codeChange",function(r){ne(t);return ie(A(2).verificationCode=r)})("registerDeviceChange",function(r){ne(t);return ie(A(2).registerDevice=r)})("backToOptions",function(){ne(t);return ie(A(2).backToOptions())})("resendCode",function(){ne(t);return ie(A(2).resendCode())}),p()}if(2&n){const t=A(2);U("loading",t.loading)("verificationSent",t.verificationSent)("emailAddress",t.emailAddress)("verificationCode",t.verificationCode)("isLoginFlow",t.isLoginFlow)("canRegisterDevice",t.canRegisterDevice())("registerDevice",t.registerDevice)}}function Sye(n,e){if(1&n){const t=pe();f(0,"ue-sms-factor",52),W("startSetup",function(r){ne(t);return ie(A(2).onSmsStart(r))})("confirmSetup",function(r){ne(t);return ie(A(2).onFactorConfirm(r))})("phoneChange",function(r){ne(t);return ie(A(2).phoneNumber=r)})("codeChange",function(r){ne(t);return ie(A(2).verificationCode=r)})("registerDeviceChange",function(r){ne(t);return ie(A(2).registerDevice=r)})("backToOptions",function(){ne(t);return ie(A(2).backToOptions())})("resendCode",function(){ne(t);return ie(A(2).resendCode())}),p()}if(2&n){const t=A(2);U("loading",t.loading)("verificationSent",t.verificationSent)("phoneNumber",t.phoneNumber)("verificationCode",t.verificationCode)("isLoginFlow",t.isLoginFlow)("canRegisterDevice",t.canRegisterDevice())("registerDevice",t.registerDevice)}}function kye(n,e){if(1&n){const t=pe();f(0,"ue-google-authenticator-factor",53),W("startSetup",function(){ne(t);return ie(A(2).onGoogleAuthStart())})("confirmSetup",function(r){ne(t);return ie(A(2).onFactorConfirm(r))})("codeChange",function(r){ne(t);return ie(A(2).verificationCode=r)})("registerDeviceChange",function(r){ne(t);return ie(A(2).registerDevice=r)})("backToOptions",function(){ne(t);return ie(A(2).backToOptions())})("confirmQRScanned",function(){ne(t);return ie(A(2).verificationSent=!0)}),p()}if(2&n){const t=A(2);U("loading",t.loading)("keyUri",t.keyUri)("verificationSent",t.verificationSent)("verificationCode",t.verificationCode)("isLoginFlow",t.isLoginFlow)("canRegisterDevice",t.canRegisterDevice())("registerDevice",t.registerDevice)}}function Tye(n,e){if(1&n){const t=pe();f(0,"ue-onetime-codes-factor",54),W("confirmSetup",function(){ne(t);return ie(A(2).onFactorConfirm())})("backToOptions",function(){ne(t);return ie(A(2).backToOptions())})("generateCodes",function(){ne(t);return ie(A(2).generateBackupCodes())}),p()}if(2&n){const t=A(2);U("loading",t.loading)("showBackupCodes",t.showBackupCodes)("backupCodes",t.backupCodes)("isLoginFlow",t.isLoginFlow)}}function Eye(n,e){if(1&n&&(f(0,"div")(1,"div",46),V(2,Dye,1,7,"ue-email-factor",47),V(3,Sye,1,7,"ue-sms-factor",48),V(4,kye,1,7,"ue-google-authenticator-factor",49),V(5,Tye,1,4,"ue-onetime-codes-factor",50),p()()),2&n){const t=A();C(2),B("email"===t.selectedFactorType?2:-1),C(),B("sms"===t.selectedFactorType?3:-1),C(),B("google_authenticator"===t.selectedFactorType?4:-1),C(),B("onetime_codes"===t.selectedFactorType?5:-1)}}class Uf{get filteredAuthOptions(){return 0===this.allowedFactors.length?this.authOptions:this.authOptions.filter(e=>this.allowedFactors.includes(e.type))}constructor(e){this.profileService=e,this.closeOnEscape=!0,this.closeOnOutsideClick=!0,this.onClose=new Se,this.isOpen=!1,this.loading=!1,this.existingFactors=[],this.showSetupOptions=!1,this.setupMode=!1,this.showSecurityLevel=!1,this.selectedFactorType="",this.verificationCode="",this.keyUri="",this.backupCodes=[],this.showBackupCodes=!1,this.emailAddress="",this.phoneNumber="",this.verificationSent=!1,this.newFactorKey="",this.allowedFactors=[],this.codeDigits=["","","","","","","",""],this.securityLevels=[],this.currentSecurityLevel="",this.email="",this.twoFactorRequired=!1,this.minimumSecurityLevel="",this.isLoginFlow=!1,this.registerDevice=!1,this.authOptions=[{type:"email",name:"Email",description:"Receive security codes via email.",icon:"fa fa-envelope"},{type:"sms",name:"SMS",description:"Receive security codes via text message.",icon:"fa fa-mobile"},{type:"google_authenticator",name:"Google Authenticator",description:"Use Google Authenticator app as your second factor.",icon:"fa fa-qrcode"},{type:"onetime_codes",name:"One Time Use Codes",description:"A list of one time use codes can be printed as your second factor.",icon:"fa fa-list"}]}ngOnInit(){}clearAlerts(){this.alert&&this.alert.closeAlert()}open(){this.clearAlerts(),this.ueModal.open(),this.isOpen=!0,this.isLoginFlow=!1,this.loadExistingFactors()}openForLogin(){this.clearAlerts(),this.ueModal.open(),this.isOpen=!0,this.isLoginFlow=!0,this.registerDevice=!1,this.loadExistingFactors()}close(){this.ueModal.close(),this.isOpen=!1,this.resetModal(),this.onClose.emit()}resetModal(){this.clearAlerts(),this.showSetupOptions=!1,this.setupMode=!1,this.showSecurityLevel=!1,this.selectedFactorType="",this.verificationCode="",this.keyUri="",this.showBackupCodes=!1,this.backupCodes=[],this.emailAddress="",this.phoneNumber="",this.verificationSent=!1,this.newFactorKey="",this.codeDigits=["","","","","","","",""],this.isLoginFlow=!1,this.registerDevice=!1}loadExistingFactors(){this.clearAlerts(),this.loading=!0,this.profileService.getTwoFactorSettings().subscribe(e=>{this.existingFactors=e.factors||[],this.allowedFactors=e.allowed_factors||[],this.securityLevels=e.security_levels||[],this.currentSecurityLevel=e.security_level||"",this.email=e.email||"",this.twoFactorRequired=e["2fa_required"]||!1,this.minimumSecurityLevel=e.minimum_security_level||"",this.loading=!1,!(this.existingFactors.length>0)&&0===this.existingFactors.length&&(this.isLoginFlow?this.showSetupOptions=!0:"disabled"===this.currentSecurityLevel?this.showSecurityLevel=!0:this.showSetupOptions=!0)},e=>{this.loading=!1,this.alert.newAlert("Error!",e.error||"Failed to load two-factor settings","danger")})}requiresVerification(){return this.existingFactors.length>0&&!this.showSetupOptions}handleFactorClick(e){this.clearAlerts(),this.verifyExistingFactor(e)}verifyExistingFactor(e){return this.clearAlerts(),"onetime_codes"===e.type?(e.status="pending_verification",void this.alert.newAlert("Success!","Please enter one of your backup codes below.","success")):"google_authenticator"===e.type?(e.status="pending_verification",void this.alert.newAlert("Success!","Please enter the 6-digit code from your Google Authenticator app.","success")):(this.loading=!0,void this.profileService.sendTwoFactorChallenge(e.factor_key).subscribe(t=>{this.loading=!1,this.alert.newAlert("Success!","Verification code sent. Please check your device.","success"),e.status="pending_verification"},t=>{this.loading=!1,this.alert.newAlert("Error!",t.error||"Failed to send verification code","danger")}))}confirmVerification(e){this.clearAlerts(),this.verificationCode?(this.loading=!0,this.isLoginFlow?this.profileService.confirmTwoFactorChallengeForLogin(e.factor_key,this.verificationCode,this.registerDevice).subscribe(t=>{this.loading=!1,this.alert.newAlert("Success!","Authentication successful!","success"),setTimeout(()=>this.close(),1e3)},t=>{this.loading=!1,this.alert.newAlert("Error!",t.error||"Authentication failed","danger")}):this.profileService.confirmTwoFactorChallenge(e.factor_key,this.verificationCode).subscribe(t=>{this.loading=!1,this.alert.newAlert("Success!","Verification successful!","success"),this.showSetupOptions=!0,this.verificationCode=""},t=>{this.loading=!1,this.alert.newAlert("Error!",t.error||"Verification failed","danger")})):this.alert.newAlert("Error!","Please enter the verification code","danger")}cancelVerification(e){this.clearAlerts(),e.status="",this.verificationCode=""}setupNewFactor(e){this.clearAlerts(),this.selectedFactorType=e,this.setupMode=!0,this.verificationSent=!1,this.verificationCode="",this.emailAddress="",this.phoneNumber="",this.newFactorKey="","onetime_codes"===e?this.generateBackupCodes():"google_authenticator"===e&&this.startFactorSetup()}onEmailStart(e){this.emailAddress=e,this.startFactorSetup()}onSmsStart(e){this.phoneNumber=e,this.startFactorSetup()}onGoogleAuthStart(){this.startFactorSetup()}onFactorConfirm(e){e&&(this.verificationCode=e),this.confirmFactorSetup()}startFactorSetup(){this.clearAlerts();const e={type:this.selectedFactorType};"email"===this.selectedFactorType?e.email=this.emailAddress:"sms"===this.selectedFactorType&&(e.number=this.phoneNumber),this.loading=!0,this.profileService.addTwoFactor(e).subscribe(t=>{this.loading=!1,t.factor_key&&(this.newFactorKey=t.factor_key),"google_authenticator"===this.selectedFactorType&&t.key_uri&&(this.keyUri=t.key_uri),("email"===this.selectedFactorType||"sms"===this.selectedFactorType)&&(this.verificationSent=!0),this.alert.newAlert("Success!","Factor setup initiated. Please complete the setup.","success")},t=>{this.loading=!1,this.alert.newAlert("Error!",t.error||"Failed to setup factor","danger")})}generateBackupCodes(){this.clearAlerts(),this.loading=!0,this.profileService.addTwoFactor({type:"onetime_codes"}).subscribe(e=>{this.loading=!1,this.backupCodes=e.codes||[],this.showBackupCodes=!0,this.alert.newAlert("Success!","Backup codes generated successfully!","success")},e=>{this.loading=!1,this.alert.newAlert("Error!",e.error||"Failed to generate backup codes","danger")})}confirmFactorSetup(){if(this.clearAlerts(),"onetime_codes"===this.selectedFactorType)return this.loading=!1,void(this.isLoginFlow?(this.alert.newAlert("Success!","Two-factor authentication setup completed! You can now use these codes to log in.","success"),setTimeout(()=>this.close(),2e3)):(this.alert.newAlert("Success!","Two-factor authentication setup completed!","success"),this.loadExistingFactorsAndShowOptions(),this.resetModalToOptions()));this.verificationCode?this.newFactorKey?(this.loading=!0,this.isLoginFlow?this.profileService.confirmTwoFactorChallengeForLogin(this.newFactorKey,this.verificationCode,this.registerDevice).subscribe(e=>{this.loading=!1,this.alert.newAlert("Success!","Two-factor authentication setup completed! You are now logged in.","success"),setTimeout(()=>this.close(),2e3)},e=>{this.loading=!1,this.alert.newAlert("Error!",e.error||"Setup confirmation failed","danger")}):this.profileService.confirmTwoFactorChallenge(this.newFactorKey,this.verificationCode).subscribe(e=>{this.loading=!1,this.alert.newAlert("Success!","Two-factor authentication setup completed!","success"),this.loadExistingFactorsAndShowOptions(),this.resetModalToOptions()},e=>{this.loading=!1,this.alert.newAlert("Error!",e.error||"Setup confirmation failed","danger")})):this.alert.newAlert("Error!","Factor setup not completed. Please try again.","danger"):this.alert.newAlert("Error!","Please enter the verification code","danger")}loadExistingFactorsAndShowOptions(){this.profileService.getTwoFactorSettings().subscribe(e=>{this.existingFactors=e.factors||[],this.allowedFactors=e.allowed_factors||[],this.showSetupOptions=!0},e=>{this.alert.newAlert("Error!",e.error||"Failed to load two-factor settings","danger")})}resetModalToOptions(){this.clearAlerts(),this.setupMode=!1,this.showSecurityLevel=!1,this.selectedFactorType="",this.verificationCode="",this.keyUri="",this.showBackupCodes=!1,this.backupCodes=[],this.emailAddress="",this.phoneNumber="",this.verificationSent=!1,this.newFactorKey="",this.codeDigits=["","","","","","","",""]}removeFactor(e){this.clearAlerts(),confirm(`Are you sure you want to remove ${e.name}?`)&&(this.loading=!0,this.profileService.deleteTwoFactor(e.factor_key).subscribe(t=>{this.loading=!1,this.alert.newAlert("Success!","Factor removed successfully!","success"),this.showSetupOptions?this.loadExistingFactorsAndShowOptions():this.loadExistingFactors()},t=>{this.loading=!1,this.alert.newAlert("Error!",t.error||"Failed to remove factor","danger")}))}deleteAllFactors(){if(this.clearAlerts(),confirm("Are you sure you want to remove ALL authentication methods? This action cannot be undone.")){this.loading=!0;const e=this.existingFactors.map(i=>this.profileService.deleteTwoFactor(i.factor_key));(e.length>0?Promise.all(e.map(i=>i.toPromise())):Promise.resolve([])).then(()=>{this.loading=!1,this.alert.newAlert("Success!","All authentication methods have been removed successfully!","success"),this.loadExistingFactors()}).catch(i=>{this.loading=!1,this.alert.newAlert("Error!",i.error||"Failed to remove some authentication methods","danger"),this.loadExistingFactors()})}}backToOptions(){this.clearAlerts(),this.setupMode=!1,this.showSecurityLevel=!1,this.selectedFactorType="",this.verificationCode="",this.keyUri="",this.showBackupCodes=!1,this.emailAddress="",this.phoneNumber="",this.verificationSent=!1,this.newFactorKey="",this.codeDigits=["","","","","","","",""]}continueToSetup(){this.clearAlerts(),this.showSetupOptions=!0}showSecurityLevelSelection(){this.clearAlerts(),this.showSecurityLevel=!0,this.showSetupOptions=!1,this.setupMode=!1}confirmSecurityLevel(e){this.clearAlerts(),this.loading=!0,this.profileService.updateSecurityLevel(e).subscribe(t=>{this.loading=!1,this.currentSecurityLevel=e,this.alert.newAlert("Success!","Security level updated successfully!","success"),this.showSecurityLevel=!1,this.showSetupOptions=!0},t=>{this.loading=!1,this.alert.newAlert("Error!",t.error||"Failed to update security level","danger")})}getFactorIcon(e){const t=this.authOptions.find(i=>i.type===e);return t?t.icon:"fa fa-shield"}getFactorName(e){const t=this.authOptions.find(i=>i.type===e);return t?t.name:e}getFactorDescription(e){switch(e.type){case"email":return e.email?`Email: ${e.email}`:"Email verification";case"sms":return e.number?`SMS: ${e.number}`:"SMS verification";case"google_authenticator":return"Google Authenticator app";case"onetime_codes":return"One-time backup codes";default:return e.name||"No description available"}}hasFactorType(e){return this.existingFactors.some(t=>t.type===e)}getExistingFactor(e){return this.existingFactors.find(t=>t.type===e)}deleteSpecificFactor(e){const t=this.getExistingFactor(e);t&&this.removeFactor(t)}getFactorDisplayText(e){switch(e.type){case"email":return"Email";case"sms":return"SMS";case"google_authenticator":return"Google Authenticator";case"onetime_codes":return"One-time Codes";default:return e.name||e.type}}getFactorSubtext(e){return e.description||"No description available"}onCodeDigitInput(e,t){const i=e.target.value;if(i&&/^\d$/.test(i)){this.codeDigits[t]=i;if(t<("onetime_codes"===this.getCurrentFactorType()?7:5)){const o=e.target.parentElement.children[t+1];o&&o.focus()}}else i||(this.codeDigits[t]="");this.updateVerificationCode()}onCodeKeyDown(e,t){if("Backspace"===e.key&&!this.codeDigits[t]&&t>0){const i=e.target.parentElement.children[t-1];i&&i.focus()}}updateVerificationCode(){const e="onetime_codes"===this.getCurrentFactorType()?8:6;this.verificationCode=this.codeDigits.slice(0,e).join("")}isCodeComplete(){const e="onetime_codes"===this.getCurrentFactorType()?8:6;return this.codeDigits.slice(0,e).every(t=>""!==t)}getCurrentFactorType(){const e=this.existingFactors.find(t=>"pending_verification"===t.status);return e?e.type:this.selectedFactorType}resendCode(e){this.clearAlerts(),e?this.verifyExistingFactor(e):this.startFactorSetup()}getActivFactors(){return this.existingFactors.filter(e=>!e.pending)}hasAnyPendingVerification(){return this.existingFactors.some(e=>"pending_verification"===e.status)}canRegisterDevice(){return this.isLoginFlow&&("y"===this.currentSecurityLevel||"p"===this.currentSecurityLevel||"low"===this.currentSecurityLevel||"medium"===this.currentSecurityLevel)}static{this.\u0275fac=function(t){return new(t||Uf)(G(kc))}}static{this.\u0275cmp=Fe({type:Uf,selectors:[["ue-mfa-modal"]],viewQuery:function(t,i){if(1&t&&qt(W_e,7)(Ot,7),2&t){let r;Ee(r=xe())&&(i.ueModal=r.first),Ee(r=xe())&&(i.alert=r.first)}},inputs:{closeOnEscape:"closeOnEscape",closeOnOutsideClick:"closeOnOutsideClick"},outputs:{onClose:"onClose"},standalone:!1,decls:13,vars:9,consts:[["ueModal",""],[3,"onClose","closeOnEscape","closeOnOutsideClick"],[1,"ellipsis"],[1,"loading-state"],[1,"loading-bar"],[1,"loading-text"],[3,"confirmSecurityLevel","backToOptions","loading","securityLevels","currentSecurityLevel"],[1,"existing-factors"],[1,"factor-card"],[1,"continue-section"],[1,"factor-item","clickable"],[1,"verification-section"],[1,"factor-item","clickable",3,"click"],[1,"factor-icon"],["aria-hidden","true"],[1,"factor-details"],[1,"verification-header"],[1,"success-message"],[1,"auth-code-section"],[1,"auth-label"],[1,"code-inputs"],[1,"remember-device-section"],[1,"verification-actions"],["btnClass","default","icon","fa fa-arrow-left",3,"onClick","disabled"],["btnClass","primary","icon","fa fa-refresh",3,"disabled"],["btnClass","success","icon","fa fa-check",3,"onClick","disabled"],["type","text","maxlength","1",1,"code-input",3,"ngModel"],["type","text","maxlength","1",1,"code-input",3,"ngModelChange","input","keydown","ngModel"],[1,"checkbox-container"],["type","checkbox","id","registerDevice",3,"ngModelChange","ngModel"],["for","registerDevice"],[1,"help-text"],["btnClass","primary","icon","fa fa-refresh",3,"onClick","disabled"],["btnClass","primary","icon","fa fa-arrow-right",3,"onClick"],[1,"setup-header"],[1,"setup-label"],[1,"setup-description"],[1,"factor-options"],[1,"factor-option-card",3,"existing","available"],[1,"security-level-section"],[1,"factor-option-card",3,"click"],[1,"option-icon"],[1,"option-content"],[1,"option-status"],[1,"remove-link",3,"click"],["btnClass","secondary","icon","fa fa-shield",3,"onClick"],[1,"setup-content"],[3,"loading","verificationSent","emailAddress","verificationCode","isLoginFlow","canRegisterDevice","registerDevice"],[3,"loading","verificationSent","phoneNumber","verificationCode","isLoginFlow","canRegisterDevice","registerDevice"],[3,"loading","keyUri","verificationSent","verificationCode","isLoginFlow","canRegisterDevice","registerDevice"],[3,"loading","showBackupCodes","backupCodes","isLoginFlow"],[3,"startSetup","confirmSetup","emailChange","codeChange","registerDeviceChange","backToOptions","resendCode","loading","verificationSent","emailAddress","verificationCode","isLoginFlow","canRegisterDevice","registerDevice"],[3,"startSetup","confirmSetup","phoneChange","codeChange","registerDeviceChange","backToOptions","resendCode","loading","verificationSent","phoneNumber","verificationCode","isLoginFlow","canRegisterDevice","registerDevice"],[3,"startSetup","confirmSetup","codeChange","registerDeviceChange","backToOptions","confirmQRScanned","loading","keyUri","verificationSent","verificationCode","isLoginFlow","canRegisterDevice","registerDevice"],[3,"confirmSetup","backToOptions","generateCodes","loading","showBackupCodes","backupCodes","isLoginFlow"]],template:function(t,i){1&t&&(f(0,"modal",1,0),W("onClose",function(){return i.close()}),f(2,"modal-header")(3,"h1",2),V(4,Q_e,2,0,"span"),V(5,K_e,2,0,"span"),p()(),f(6,"modal-content"),O(7,"ue-alert"),V(8,J_e,4,0,"div",3),V(9,Z_e,2,3,"div"),V(10,mye,2,1,"div"),V(11,Mye,10,5,"div"),V(12,Eye,6,4,"div"),p()()),2&t&&(U("closeOnEscape",i.closeOnEscape)("closeOnOutsideClick",i.closeOnOutsideClick),C(4),B(i.isLoginFlow?-1:4),C(),B(i.isLoginFlow?5:-1),C(3),B(i.loading?8:-1),C(),B(i.loading||!i.showSecurityLevel||i.setupMode?-1:9),C(),B(i.loading||i.showSetupOptions||i.setupMode||i.showSecurityLevel?-1:10),C(),B(i.loading||!i.showSetupOptions||i.setupMode||i.showSecurityLevel?-1:11),C(),B(i.loading||!i.setupMode||i.showSecurityLevel?-1:12))},dependencies:[qn,Yd,Ln,Qo,eo,So,Lr,Ir,In,Ot,XM,e1,t1,n1,i1],styles:['.modal-content[_ngcontent-%COMP%]{padding:0}.loading-state[_ngcontent-%COMP%]{text-align:center;padding:40px 20px}.loading-state[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 20px;color:#000;font-weight:500;font-size:24px}.loading-state[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 30px;color:#000;font-size:16px;font-weight:400}.loading-bar[_ngcontent-%COMP%]{width:100%;height:40px;background:#2196f3;border-radius:20px;margin:0 auto;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.loading-bar[_ngcontent-%COMP%] .loading-text[_ngcontent-%COMP%]{color:#fff;font-size:16px;font-weight:500;z-index:2;position:relative}.loading-bar[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(45deg,transparent 25%,rgba(255,255,255,.2) 25%,rgba(255,255,255,.2) 50%,transparent 50%,transparent 75%,rgba(255,255,255,.2) 75%);background-size:20px 20px;animation:_ngcontent-%COMP%_loading-stripes 3s linear infinite;z-index:1}@keyframes _ngcontent-%COMP%_loading-stripes{0%{left:-100%}to{left:100%}}.setup-header[_ngcontent-%COMP%]{margin-bottom:30px}.setup-label[_ngcontent-%COMP%]{color:#007bff;font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px}.setup-description[_ngcontent-%COMP%]{color:#666;line-height:1.5;margin-bottom:0}.factor-card[_ngcontent-%COMP%]{margin-bottom:15px}.factor-item[_ngcontent-%COMP%]{display:flex;align-items:center;padding:15px 20px;border:1px solid #e0e0e0;border-radius:8px;background:#fff;transition:all .2s ease}.factor-item.clickable[_ngcontent-%COMP%]{cursor:pointer}.factor-item.clickable[_ngcontent-%COMP%]:hover{border-color:#007bff;box-shadow:0 2px 8px #007bff1a}.factor-icon[_ngcontent-%COMP%]{width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-right:15px;color:#666;font-size:18px}.factor-details[_ngcontent-%COMP%]{flex:1}.factor-details[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0 0 5px;font-size:16px;font-weight:500;color:#333}.factor-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:14px;color:#666}.factor-actions[_ngcontent-%COMP%]{display:flex;align-items:center}.remove-link[_ngcontent-%COMP%]{color:#ff6b35;font-size:14px;cursor:pointer;text-decoration:none;font-weight:500}.remove-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.remove-btn[_ngcontent-%COMP%]{background:none;border:none;color:#ff6b35;font-size:14px;cursor:pointer;padding:5px 10px;border-radius:4px;transition:background-color .2s ease}.remove-btn[_ngcontent-%COMP%]:hover{background-color:#fff2f0}.factor-options[_ngcontent-%COMP%]{margin-bottom:30px}.factor-option-card[_ngcontent-%COMP%]{display:flex;align-items:center;padding:20px;border:1px solid #e0e0e0;border-radius:8px;margin-bottom:10px;background:#fff;transition:all .2s ease;cursor:pointer}.factor-option-card.available[_ngcontent-%COMP%]:hover{border-color:#007bff;box-shadow:0 2px 8px #007bff1a}.factor-option-card.existing[_ngcontent-%COMP%]{cursor:default;background-color:#f8f9fa}.option-icon[_ngcontent-%COMP%]{width:50px;height:50px;display:flex;align-items:center;justify-content:center;margin-right:20px;color:#666;font-size:24px}.option-content[_ngcontent-%COMP%]{flex:1}.option-content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0 0 8px;font-size:18px;font-weight:500;color:#333}.option-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:14px;color:#666;line-height:1.4}.option-status[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.success-icon[_ngcontent-%COMP%]{color:#28a745;font-size:20px}.verification-section[_ngcontent-%COMP%]{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:30px}.verification-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 20px;font-size:24px;font-weight:500;color:#333}.success-message[_ngcontent-%COMP%]{background:#d4edda;border:1px solid #c3e6cb;border-radius:6px;padding:15px 20px;margin-bottom:25px}.success-message[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:#155724;font-size:14px}.auth-code-section[_ngcontent-%COMP%]{margin-bottom:30px}.auth-label[_ngcontent-%COMP%]{color:#007bff;font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px}.auth-code-section[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#666;margin-bottom:20px}.code-inputs[_ngcontent-%COMP%]{display:flex;gap:10px;justify-content:center;margin-bottom:20px}.code-input[_ngcontent-%COMP%]{width:50px;height:50px;text-align:center;font-size:24px;font-weight:600;border:2px solid #e0e0e0;border-radius:8px;background:#fff;transition:border-color .2s ease}.code-input[_ngcontent-%COMP%]:focus{outline:none;border-color:#007bff}.verification-actions[_ngcontent-%COMP%]{display:flex;gap:10px;justify-content:flex-end}.setup-content[_ngcontent-%COMP%]{padding:0}.setup-form[_ngcontent-%COMP%]{background:#fff}.setup-form[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 25px;font-size:24px;font-weight:500;color:#333}.setup-form[_ngcontent-%COMP%] .setup-label[_ngcontent-%COMP%]{color:#007bff;font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px}.setup-form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#666;line-height:1.5;margin-bottom:25px}.email-input-group[_ngcontent-%COMP%], .phone-input-group[_ngcontent-%COMP%]{margin-bottom:30px}.input-with-icon[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center}.input-icon[_ngcontent-%COMP%]{position:absolute;left:15px;color:#666;font-size:16px;z-index:2}.email-input[_ngcontent-%COMP%], .phone-input[_ngcontent-%COMP%]{flex:1;padding:12px 15px 12px 45px;border:1px solid #e0e0e0;border-radius:6px;font-size:16px;transition:border-color .2s ease}.email-input[_ngcontent-%COMP%]:focus, .phone-input[_ngcontent-%COMP%]:focus{outline:none;border-color:#007bff}.input-action-btn[_ngcontent-%COMP%]{position:absolute;right:10px;background:#dc3545;border:none;color:#fff;width:24px;height:24px;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:12px}.input-action-btn[_ngcontent-%COMP%]:hover{background:#c82333}.qr-code-container[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:30px 0}.qr-code[_ngcontent-%COMP%]{max-width:200px;height:auto;border:1px solid #e0e0e0;border-radius:8px;padding:10px;background:#fff}.backup-codes[_ngcontent-%COMP%]{margin:30px 0}.codes-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:20px;padding:20px;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:8px}.backup-code[_ngcontent-%COMP%]{padding:10px 15px;background:#fff;border:1px solid #ddd;border-radius:4px;font-family:Courier New,monospace;font-size:14px;text-align:center}.codes-warning[_ngcontent-%COMP%]{color:#856404;background:#fff3cd;border:1px solid #ffeaa7;border-radius:6px;padding:12px 15px;margin:0;font-size:14px}.form-actions[_ngcontent-%COMP%]{display:flex;gap:10px;justify-content:flex-end;padding-top:20px;margin-top:30px;background:transparent}.modal-actions[_ngcontent-%COMP%]{display:flex;gap:10px;justify-content:flex-end;padding-top:30px;border-top:1px solid #e0e0e0;margin-top:30px}.legacy-options[_ngcontent-%COMP%]{text-align:center;margin-bottom:30px}.legacy-link[_ngcontent-%COMP%]{color:#007bff;text-decoration:none;font-size:14px;font-weight:500}.legacy-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.continue-section[_ngcontent-%COMP%]{text-align:center;margin-top:30px}.security-level-section[_ngcontent-%COMP%]{text-align:center;margin-top:30px;padding-top:20px;border-top:1px solid #e0e0e0}@media(max-width:768px){.factor-item[_ngcontent-%COMP%], .factor-option-card[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;text-align:left}.factor-icon[_ngcontent-%COMP%], .option-icon[_ngcontent-%COMP%]{margin-bottom:10px;margin-right:0}.factor-actions[_ngcontent-%COMP%], .option-status[_ngcontent-%COMP%]{align-self:stretch;justify-content:flex-start;margin-top:10px}.code-inputs[_ngcontent-%COMP%]{flex-wrap:wrap;gap:8px}.code-input[_ngcontent-%COMP%]{width:45px;height:45px;font-size:20px}.form-actions[_ngcontent-%COMP%], .modal-actions[_ngcontent-%COMP%], .verification-actions[_ngcontent-%COMP%]{flex-direction:column}.codes-list[_ngcontent-%COMP%]{grid-template-columns:1fr}}.remember-device-section[_ngcontent-%COMP%]{margin:20px 0;padding:15px;background-color:#f8f9fa;border-radius:5px;border:1px solid #e9ecef}.checkbox-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:8px}.checkbox-container[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin-right:8px;transform:scale(1.2)}.checkbox-container[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:500;margin-bottom:0;cursor:pointer}.help-text[_ngcontent-%COMP%]{font-size:13px;color:#6c757d;margin-bottom:0;line-height:1.4}']})}}const xye=["confirmDeletionModal"],Lye=["confirmLeaveLastMembershipModal"],Iye=["confirmLeaveCurrentMembershipModal"],Pye=["mfaModal"];function Aye(n,e){if(1&n){const t=pe();f(0,"div",12)(1,"div",13)(2,"div",23)(3,"p",24),w(4),p(),f(5,"ue-button",25),W("click",function(){const r=ne(t).$implicit;return ie(A(2).clickLeaveCompany(r))}),w(6,"Leave"),p()(),O(7,"hr"),p()()}if(2&n){const t=e.$implicit;C(4),De(t.company)}}function Oye(n,e){if(1&n){const t=pe();f(0,"div",5)(1,"form",10),W("ngSubmit",function(){ne(t);return ie(A().updateUser())}),f(2,"div",11)(3,"div",12)(4,"div",13)(5,"ue-float-input-container"),O(6,"input",14),p()()(),f(7,"div",12)(8,"div",13)(9,"ue-float-input-container"),O(10,"input",15),p()()(),f(11,"div",12)(12,"div",13)(13,"ue-float-input-container"),O(14,"input",16),p()()(),f(15,"div",12)(16,"div",13)(17,"ue-button",17),w(18,"Update User"),p()()(),f(19,"div",18)(20,"div",13)(21,"ue-button",19),W("onClick",function(){ne(t);return ie(A().openMfaModal())}),w(22,"Two Factor Authentication"),p()()()()(),O(23,"div",20),f(24,"div",21)(25,"h4",22),w(26,"Your Memberships"),p(),bn(27,Aye,8,1,"div",12,vn),p()()}if(2&n){const t=A();C(),U("formGroup",t.updateUserForm),C(5),U("error",t.updateUserForm.get("contact").invalid&&t.validationError),C(4),U("error",t.updateUserForm.get("email").invalid&&t.validationError),C(4),U("error",(t.updateUserForm.get("company").invalid||t.updateUserForm.hasError("error"))&&t.validationError),C(3),U("disabled",t.updateUserForm.pristine),C(10),wn(t.memberships)}}class r1{constructor(e,t,i,r,o,s){this.formBuilder=e,this.profileService=t,this.authService=i,this.router=r,this.sessionTimeoutService=o,this.ueHttp=s,this.validationError=!1,this.memberships=[]}ngOnInit(){this.getUser(),this.getProfile(),this.getMemberships()}getUser(){this.profileService.getUser().subscribe(e=>{this.user=new AB(e),this.initForms()},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.user=new AB(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,Be.required],email:[e.email,[Be.required,Be.email]],company:[e.company,[Be.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}})})}openMfaModal(){this.mfaModal.open()}onMfaModalClose(){}static{this.\u0275fac=function(t){return new(t||r1)(G(Ii),G(kc),G(Un),G(St),G(Ys),G(Gi))}}static{this.\u0275cmp=Fe({type:r1,selectors:[["ue-user-profile"]],viewQuery:function(t,i){if(1&t&&qt(Ot,7)(xye,7)(Lye,7)(Iye,7)(Pye,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first),Ee(r=xe())&&(i.confirmDeletionModal=r.first),Ee(r=xe())&&(i.confirmLeaveLastMembershipModal=r.first),Ee(r=xe())&&(i.confirmLeaveCurrentMembershipModal=r.first),Ee(r=xe())&&(i.mfaModal=r.first)}},standalone:!1,decls:11,vars:7,consts:[["confirmDeletionModal",""],["confirmLeaveLastMembershipModal",""],["confirmLeaveCurrentMembershipModal",""],["mfaModal",""],["title","User Profile","titleIcon","fa fa-user-circle-o"],[1,"panel-body","row"],["id","confirmDeletionModal","body","Leaving this company means you will no longer have access to any of its information. Are you sure you would like to continue?","icon","fa fa-check","btnClass","danger","buttonLabel","Leave",3,"callBack","header"],["id","confirmLeaveLastMembershipModal","body","Leaving this company means you will no longer have access to any of its information.\n\t\t\t\tAre you sure you would like to continue?","warning","This is your last membership, if you leave you will be automatically logged out. \n\t\t\t\tYou will not be able to log back in without joining or creating a new developer company.","icon","fa fa-check","btnClass","danger","buttonLabel","Leave",3,"callBack","header"],["id","confirmLeaveCurrentMembershipModal","body","Leaving this company means you will no longer have access to any of its information.\n\t\t\t\tAre you sure you would like to continue?","warning","You are currently viewing this company, if you leave you will be automatically logged out.","icon","fa fa-check","btnClass","danger","buttonLabel","Leave",3,"callBack","header"],[3,"onClose"],[3,"ngSubmit","formGroup"],[1,"col-xs-12","col-md-5"],[1,"row"],[1,"col-xs-12"],["ueFloatInput","","formControlName","contact","type","text","label","Contact Name","id","Contact","placeholder","Contact Name","errorMessage","Name is required",3,"error"],["ueFloatInput","","formControlName","email","type","email","label","Email","id","Email","placeholder","Email","errorMessage","Invalid email",3,"error"],["ueFloatInput","","formControlName","company","type","text","label","Company Name","placeholder","Company Name","id","Company","errorMessage","Company name is required",3,"error"],["type","submit","btnClass","success","icon","fa fa-save",3,"disabled"],[1,"row",2,"margin-top","15px"],["btnClass","primary","icon","fa fa-shield",3,"onClick"],[1,"col-xs-12","col-md-1"],[1,"align-top","col-xs-12","col-md-5"],[1,"textblue",2,"margin-bottom","15px"],[1,"company-tab"],[1,"pull-left"],["btnClass","danger","icon","fa fa-times",1,"pull-right",3,"click"]],template:function(t,i){1&t&&(O(0,"ue-alert")(1,"ue-section-title",4),V(2,Oye,29,5,"div",5),f(3,"ue-confirm-modal",6,0),W("callBack",function(){return i.leaveCompany(!1)}),p(),f(5,"ue-confirm-modal",7,1),W("callBack",function(){return i.leaveCompany(!0)}),p(),f(7,"ue-confirm-modal",8,2),W("callBack",function(){return i.leaveCompany(!0)}),p(),f(9,"ue-mfa-modal",9,3),W("onClose",function(){return i.onMfaModalClose()}),p()),2&t&&(C(2),B(i.updateUserForm?2:-1),C(),U("header",si("Confirm Leave: ",null==i.leaveCompanyTarget?null:i.leaveCompanyTarget.company)),C(2),U("header",si("Confirm Leave: ",null==i.leaveCompanyTarget?null:i.leaveCompanyTarget.company)),C(2),U("header",si("Confirm Leave: ",null==i.leaveCompanyTarget?null:i.leaveCompanyTarget.company)))},dependencies:[qi,qn,Ln,Wi,Ci,Li,In,ns,is,Ot,Eo,rs,Uf],styles:["hr[_ngcontent-%COMP%]{margin:0}.company-tab[_ngcontent-%COMP%]{padding:10px;margin-bottom:1.5em;height:43px;width:100%}.company-tab[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-size:15px}@media(max-width:992px){.align-top[_ngcontent-%COMP%]{margin-top:35px}}@media(min-width:992px){.align-top[_ngcontent-%COMP%]{top:-36px}}"]})}}const Rye=[{path:"company",canActivate:Vs([Hs]),component:JM},{path:"user",component:r1},{path:"change-password",component:ZM}];class o1{static{this.\u0275fac=function(t){return new(t||o1)}}static{this.\u0275mod=Ct({type:o1})}static{this.\u0275inj=dt({imports:[fi.forChild(Rye),fi]})}}class s1{static{this.\u0275fac=function(t){return new(t||s1)}}static{this.\u0275mod=Ct({type:s1})}static{this.\u0275inj=dt({imports:[js,V_,o1]})}}class zf{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{this.\u0275fac=function(t){return new(t||zf)(Ce(Gi))}}static{this.\u0275prov=ue({token:zf,factory:zf.\u0275fac})}}class a1{constructor(e,t){this.formBuilder=e,this.requestService=t,this.validationError=!1}ngOnInit(){this.requestForm=this.formBuilder.group({username:["",Be.required],name:["",Be.required],company:["",Be.required],email:["",Be.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{this.\u0275fac=function(t){return new(t||a1)(G(Ii),G(zf))}}static{this.\u0275cmp=Fe({type:a1,selectors:[["ue-request-test-account"]],viewQuery:function(t,i){if(1&t&&qt(Ot,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first)}},standalone:!1,decls:23,vars:6,consts:[["title","Request Test Account","titleIcon","fa fa-server"],[1,"row"],[1,"col-xs-8"],[1,"row","panel-body","col-md-10","col-sm-12","col-xs-12"],["novalidate","",3,"ngSubmit","formGroup"],[1,"col-xs-12","col-sm-12","col-md-10"],["ueFloatInput","","formControlName","username","type","text","label","Username","id","Username","placeholder","Username","errorMessage","This field is required.",3,"error"],["ueFloatInput","","formControlName","name","type","text","label","Contact Name","id","Contact Name","placeholder","Contact Name","errorMessage","This field is required.",3,"error"],["ueFloatInput","","formControlName","company","type","text","label","Company Name","id","Company Name","placeholder","Company Name","errorMessage","This field is required.",3,"error"],["ueFloatInput","","formControlName","email","type","text","label","Email","id","Email","placeholder","Email","errorMessage","This field is required.",3,"error"],[1,"col-xs-12"],["type","submit","btnClass","success","icon","fa fa-save",3,"disabled"]],template:function(t,i){1&t&&(O(0,"ue-section-title",0)(1,"ue-alert"),f(2,"div",1)(3,"div",2)(4,"h5"),w(5," If your client, the merchant, has not yet set up a live gateway account, a sandbox account will allow you to develop your application without delay. The sandbox environment exactly mimics the Merchant Console (live account) so that you can expect the same results once your account is live. The only work required to make the switch is to replace your sandbox source keys with the live ones. The Test Mode on our live servers is extremely limited and unfriendly in terms of developing an application. It does not generate any fake approval codes other than TESTMD and it does not store a transaction record. A sandbox account will generate approval codes, return all of the variables you request and store a transaction record from which reports can be generated. "),p()(),f(6,"div",3)(7,"form",4),W("ngSubmit",function(){return i.submitForm()}),f(8,"div",5)(9,"ue-float-input-container"),O(10,"input",6),p()(),f(11,"div",5)(12,"ue-float-input-container"),O(13,"input",7),p()(),f(14,"div",5)(15,"ue-float-input-container"),O(16,"input",8),p()(),f(17,"div",5)(18,"ue-float-input-container"),O(19,"input",9),p()(),f(20,"div",10)(21,"ue-button",11),w(22,"Submit Request"),p()()()()()),2&t&&(C(7),U("formGroup",i.requestForm),C(3),U("error",i.requestForm.get("username").invalid&&(i.requestForm.get("username").touched||i.validationError)),C(3),U("error",i.requestForm.get("name").invalid&&(i.requestForm.get("name").touched||i.validationError)),C(3),U("error",i.requestForm.get("company").invalid&&(i.requestForm.get("company").touched||i.validationError)),C(3),U("error",i.requestForm.get("email").invalid&&(i.requestForm.get("email").touched||i.validationError)),C(2),U("disabled",i.requestForm.pristine))},dependencies:[qi,qn,Ln,Wi,Ci,Li,In,is,Ot,Eo,rs],encapsulation:2})}}const Nye=[{path:"",component:a1}];class l1{static{this.\u0275fac=function(t){return new(t||l1)}}static{this.\u0275mod=Ct({type:l1})}static{this.\u0275inj=dt({imports:[fi.forChild(Nye),fi]})}}class c1{static{this.\u0275fac=function(t){return new(t||c1)}}static{this.\u0275mod=Ct({type:c1})}static{this.\u0275inj=dt({providers:[zf],imports:[l1,js]})}}const Fye=["progressModal"],OB=(n,e)=>({in:n,fadeOut:e}),RB=n=>({display:n}),Yye=n=>({"margin-top":n});class vl{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 i,r,o,s;"success"===e&&(i="fa-check",r="txt-success",o="stroke-success",s="Success!"),"error"===e&&(i="fa-times",r="txt-error",o="stroke-error",s="Error!"),this.updateResponse({icon:i,color:r,stroke:o,title:s,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{this.\u0275fac=function(t){return new(t||vl)}}static{this.\u0275cmp=Fe({type:vl,selectors:[["ue-progress-modal"]],viewQuery:function(t,i){if(1&t&&qt(Fye,7),2&t){let r;Ee(r=xe())&&(i.progressModal=r.first)}},inputs:{icon:"icon",color:"color",stroke:"stroke",title:"title",message:"message",receivedResponse:"receivedResponse",marginOverride:"marginOverride"},standalone:!1,decls:22,vars:36,consts:[["progressModal",""],[1,"modal-backdrop",3,"ngClass","ngStyle"],["tabindex","-1","role","dialog",1,"modal",3,"click","ngClass","ngStyle"],[1,"modal-dialog",3,"click","ngStyle"],["id","progress_modal"],[1,"process-modal","text-center"],["data-percent","100",1,"progress_chart"],["width","100","height","100"],["id","circle_animate","cx","140","cy","50","r","35","transform","rotate(-90, 95, 95)",1,"outer",3,"ngClass"],[1,"modal-header",2,"border-bottom","none","padding","0px"],["id","progress_resp",1,"txt-lgray"],[1,"progress","progress_bar"],[1,"progress","progress-striped","active"],["role","progressbar",1,"progress-bar","progressbar",2,"width","100%"],[1,"margin-top0"],[1,"message_response"]],template:function(t,i){1&t&&(O(0,"div",1),f(1,"div",2,0),W("click",function(){return i.close()}),f(3,"div",3),W("click",function(o){return i.preventClosing(o)}),f(4,"div",4)(5,"div",5)(6,"figure",6),O(7,"i"),wD(),f(8,"svg",7),O(9,"circle",8),p()(),CD(),f(10,"div",9)(11,"h3",10),w(12),p()(),f(13,"div",11)(14,"div",12),O(15,"div",13),p()(),f(16,"div")(17,"h3",14),w(18),p(),f(19,"div",15)(20,"strong"),w(21),p()()()()()()()),2&t&&(U("ngClass",zo(24,OB,i.isOpened,i.fadeOut))("ngStyle",ai(27,RB,i.isOpened?"block":"none")),C(),U("ngClass",zo(29,OB,i.isOpened,i.fadeOut))("ngStyle",ai(32,RB,i.isOpened?"block":"none")),C(2),U("ngStyle",ai(34,Yye,i.marginOverride?"0":"350px")),C(3),Re("hide_element",!i.receivedResponse),C(),Cn(Em("fa ",i.icon," fa-3x progress_icon ",i.color)),C(2),U("ngClass",i.stroke),C(),Re("hide_element",i.receivedResponse),C(2),De(i.title),C(),Re("hide_element",i.receivedResponse),C(3),Cn(si("progress_status ",i.color," closed_status")),Re("slidedown",i.receivedResponse),C(2),We(" ",i.title," "),C(3),De(i.message))},dependencies:[yo,vo],styles:[".modal-backdrop[_ngcontent-%COMP%]{z-index:1100}.modal[_ngcontent-%COMP%]{z-index:1200}.hide_element[_ngcontent-%COMP%]{display:none}.closed_status[_ngcontent-%COMP%]{max-height:0;transition:max-height .7s ease-in-out;transition-delay:1s;overflow:hidden}.closed_status.slidedown[_ngcontent-%COMP%]{max-height:200px}.progress_chart[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadein .5s;-webkit-animation:_ngcontent-%COMP%_fadein .5s;-moz-animation:fadein .5s}.fadeOut[_ngcontent-%COMP%]{opacity:0!important;transition:opacity .5s ease}@keyframes _ngcontent-%COMP%_fadein{0%{opacity:0}to{opacity:1}}"]})}}class bl{constructor(e){this.ueHttp=e,this.emitProgressModal=new Se,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 i=this.url;return e&&(i+="?"+e),this.queryParams.refresh=!1,this.ueHttp.get(i,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 i=t?"?hard_delete=true":"";return this.ueHttp.delete(this.url+"/"+e+i)}assignBranding(e,t){return this.ueHttp.put(this.url+"/"+e+"/branding",{brand:t})}bulkResetDevices(e){return Cg(e.map(i=>this.ueHttp.post(this.url+"/"+i+"/reset",null).pipe(io(r=>Qe(r)))))}bulkUpdateDevices(e){return Cg(e.map(i=>(i.notify_update_next=!0,this.ueHttp.put(this.url+"/"+i.key,i).pipe(io(r=>Qe(r))))))}bulkDeleteDevices(e,t){return Cg(e.map(r=>{const o=t?"?hard_delete=true":"";return this.ueHttp.delete(this.url+"/"+r+o).pipe(io(s=>Qe(s)))}))}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 i=this.filterColumns.filter(r=>-1!==(r=r.toLowerCase()).indexOf(e));return[].concat(i)}pendingText(e){return e.update_available&&(e.notify_update||e.notify_update_next)?"Pending Update":e.update_available?"Update Available":null}static{this.\u0275fac=function(t){return new(t||bl)(G(Gi))}}static{this.\u0275dir=je({type:bl,outputs:{emitProgressModal:"emitProgressModal"}})}static{this.\u0275prov=ue({token:bl,factory:bl.\u0275fac})}}class Hye{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new Vye(e,this.dueTime,this.scheduler))}}class Vye extends wt{constructor(e,t,i){super(e),this.dueTime=t,this.scheduler=i,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(Bye,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 Bye(n){n.debouncedNext()}class d1{constructor(e){this.viewContainer=e}ngOnInit(){this.viewContainer.createEmbeddedView(this.externalTemplate,{$implicit:this.item})}static{this.\u0275fac=function(t){return new(t||d1)(G(Cr))}}static{this.\u0275dir=je({type:d1,selectors:[["","ueTemplateWrapper",""]],inputs:{item:"item",externalTemplate:"externalTemplate"},standalone:!1})}}const Uye=["inputEl"],zye=[[["li"]]],$ye=["li"];function Wye(n,e){if(1&n){const t=pe();f(0,"i",5),W("click",function(){ne(t);return ie(A(2).resetField())}),p()}if(2&n){const t=A(2);fr("opacity",t.suggestionLookup.value?.5:0)("visibility",t.suggestionLookup.value?"visible":"hidden")}}function qye(n,e){if(1&n){const t=pe();f(0,"span"),V(1,Wye,1,4,"i",3),f(2,"input",4,0),W("keydown",function(r){ne(t);return ie(A().handleKeys(r))})("blur",function(){ne(t);return ie(A().blur())})("focus",function(){ne(t);return ie(A().focus())}),p()()}if(2&n){const t=A();C(),B(t.cancelIcon?1:-1),C(),U("formControl",t.suggestionLookup)("placeholder",t.placeholder)("ngStyle",t.inputStyles)("ngClass",t.inputClasses)("maxlength",t.maxlength)}}function Gye(n,e){if(1&n){const t=pe();f(0,"span",10),W("click",function(){ne(t);return ie(A(2).iconClick.emit())}),O(1,"i"),p()}if(2&n){const t=A(2);C(),Cn(t.icon)}}function Qye(n,e){if(1&n){const t=pe();f(0,"span",10),W("click",function(){ne(t);return ie(A(2).iconClick.emit())}),O(1,"i"),p()}if(2&n){const t=A(2);C(),Cn(t.icon)}}function Kye(n,e){if(1&n){const t=pe();f(0,"div",6)(1,"div",7),V(2,Gye,2,2,"span",8),f(3,"input",9),W("keydown",function(r){ne(t);return ie(A().handleKeys(r))})("blur",function(){ne(t);return ie(A().blur())})("focus",function(){ne(t);return ie(A().focus())}),p(),V(4,Qye,2,2,"span",8),p()()}if(2&n){const t=A();Re("has-error",t.hasError),C(),U("ngClass",t.typeaheadSelectClasses),C(),B(t.iconRight?-1:2),C(),U("formControl",t.suggestionLookup)("placeholder",t.placeholder)("ngStyle",t.inputStyles)("ngClass",t.inputClasses),C(),B(t.iconRight?4:-1)}}function Jye(n,e){if(1&n&&(f(0,"span"),w(1),p()),2&n){const t=A().$implicit,i=A(2);C(),We(" ",i.objectKey?t[i.objectKey]:t," ")}}function Zye(n,e){}function Xye(n,e){if(1&n&&en(0,Zye,0,0,"ng-template",14),2&n){const t=A().$implicit;U("externalTemplate",A(2).suggestionTemplate)("item",t)}}function eve(n,e){if(1&n){const t=pe();f(0,"li",13),W("click",function(){ne(t);return ie(A(2).selectDropdownOption())})("mouseover",function(){const r=ne(t).$index;return ie(A(2).highlightedIndex=r)}),V(1,Jye,2,1,"span"),V(2,Xye,1,2,null,14),p()}if(2&n){const t=e.$index,i=A(2);Re("highlight",t===i.highlightedIndex),C(),B(i.suggestionTemplate?-1:1),C(),B(i.suggestionTemplate?2:-1)}}function tve(n,e){if(1&n&&(f(0,"div",11)(1,"ul"),Dr(2),bn(3,eve,3,4,"li",12,vn),p()()),2&n){const t=A();Re("hasLabel",t.icon),U("ngStyle",t.dropdownStyles)("ngClass",t.dropdownClasses),C(3),wn(t.suggestions)}}class $f{constructor(){this.suggestionLookup=new Lg,this.suggestions=[],this.disableSuggestions=!1,this.showDropdown=!0,this.highlightedIndex=0,this.onSelect=new Se,this.onCompleteMethod=new Se,this.onFocus=new Se,this.onBlur=new Se,this.debounceTime=200,this.placeholder="",this.iconRight=!1,this.iconClick=new Se,this.forceSelectionError=new Se,this.multiLookup=!1,this.cancelIcon=!1,this._onChange=e=>{},this.onTouched=()=>{}}ngOnInit(){this.suggestions=[],this.suggestionLookup.valueChanges.pipe(function jye(n,e=y_){return t=>t.lift(new Hye(n,e))}(this.debounceTime),qC()).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 i;if("string"==typeof e?i=e:this.objectKey&&(i=e[this.objectKey]),this.multiLookup){const r=this.suggestionLookup.value?this.suggestionLookup.value:"",o=r.split(" ");if(o.pop(),o.push(i),r.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(i)}else this.suggestionLookup.patchValue(i,{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{this.\u0275fac=function(t){return new(t||$f)}}static{this.\u0275cmp=Fe({type:$f,selectors:[["ue-typeahead"]],contentQueries:function(t,i,r){if(1&t&&Zl(r,wr,7),2&t){let o;Ee(o=xe())&&(i.suggestionTemplate=o.first)}},viewQuery:function(t,i){if(1&t&&qt(Uye,5),2&t){let r;Ee(r=xe())&&(i.inputEl=r.first)}},inputs:{suggestions:"suggestions",disableEnter:"disableEnter",debounceTime:"debounceTime",placeholder:"placeholder",inputStyles:"inputStyles",inputClasses:"inputClasses",typeaheadSelectClasses:"typeaheadSelectClasses",debugDropdown:"debugDropdown",dropdownStyles:"dropdownStyles",dropdownClasses:"dropdownClasses",objectKey:"objectKey",icon:"icon",iconRight:"iconRight",hasError:"hasError",forceSelection:"forceSelection",multiLookup:"multiLookup",cancelIcon:"cancelIcon",maxlength:"maxlength"},outputs:{onSelect:"onSelect",onCompleteMethod:"onCompleteMethod",onFocus:"onFocus",onBlur:"onBlur",iconClick:"iconClick",forceSelectionError:"forceSelectionError"},standalone:!1,features:[Yt([{provide:Xr,multi:!0,useExisting:$f}])],ngContentSelectors:$ye,decls:3,vars:3,consts:[["inputEl",""],[1,"form-group",3,"has-error"],[1,"suggestions",3,"hasLabel","ngStyle","ngClass"],[1,"fa","fa-lg","fa-times-circle","cancel-button","pointer",3,"opacity","visibility"],["type","text",3,"keydown","blur","focus","formControl","placeholder","ngStyle","ngClass","maxlength"],[1,"fa","fa-lg","fa-times-circle","cancel-button","pointer",3,"click"],[1,"form-group"],[1,"input-group","input-group-sm",3,"ngClass"],[1,"input-group-addon"],["type","text",1,"form-control",3,"keydown","blur","focus","formControl","placeholder","ngStyle","ngClass"],[1,"input-group-addon",3,"click"],[1,"suggestions",3,"ngStyle","ngClass"],[1,"pointer",3,"highlight"],[1,"pointer",3,"click","mouseover"],["ueTemplateWrapper","",3,"externalTemplate","item"]],template:function(t,i){1&t&&(Bo(zye),V(0,qye,4,6,"span"),V(1,Kye,5,9,"div",1),V(2,tve,5,4,"div",2)),2&t&&(B(i.icon?-1:0),C(),B(i.icon?1:-1),C(),B(((null==i.suggestions?null:i.suggestions.length)>0&&i.showDropdown||i.debugDropdown)&&!i.suggestionLookup.disabled?2:-1))},dependencies:[yo,vo,qn,Ln,Qo,ac,d1],styles:[".highlight[_ngcontent-%COMP%]{background-color:#006dbb!important;color:#fff}.add-custom-li[_ngcontent-%COMP%]{background:#073a59;color:#fff;border-bottom-left-radius:6px;border-bottom-right-radius:6px}.suggestions[_ngcontent-%COMP%]{position:absolute;background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:6px;z-index:904;box-shadow:0 5px 10px #0003;font-size:1.1em;left:0;right:0;margin-left:12px;margin-right:12px}.no_border_style[_ngcontent-%COMP%]{background-color:transparent;border:none;padding:0;font-weight:100;cursor:text}ul[_ngcontent-%COMP%]{padding-left:0;margin-bottom:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:5px 10px}.error-border-bottom[_ngcontent-%COMP%]{border-bottom:1px solid #b94a48;background-color:#fff9cb}.hasLabel[_ngcontent-%COMP%]{margin-top:-16px}.cancel-button[_ngcontent-%COMP%]{position:absolute;top:10px;right:3em;transition:all .2s ease-in;-webkit-transition:all .2s ease-in}.invoice-options-input[_ngcontent-%COMP%]{border-radius:5px!important}div.invoice-options-select[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]{border-radius:0 5px 5px 0!important}div.invoice-options-select[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{border-radius:5px 0 0 5px!important}.no_border_style_invoice[_ngcontent-%COMP%]{background-color:transparent;border:none;padding:0;font-weight:100;cursor:text}.no_border_style_invoice[_ngcontent-%COMP%]:hover{border-bottom:1px solid #3276b1}.ng-float-label[_ngcontent-%COMP%]{width:100%;background-color:transparent;border:none;padding:21px 10px 6px;margin:0;-webkit-appearance:none;-moz-appearance:none}.ng-float-label-empty[_ngcontent-%COMP%]{padding:13px 10px;color:#42779d}.ue-float-match[_ngcontent-%COMP%]{height:43px;width:100%;border-radius:5px;border:1px solid #cdcdcd;padding-left:10px;color:#3b729e}"]})}}const nve=()=>({width:"100%",height:"100%","padding-left":"5px","padding-right":"30px"}),ive=()=>({width:"100%",margin:"0px"}),rve=(n,e)=>({"glyphicon glyphicon-arrow-right":n,"fa fa-search":e});function ove(n,e){if(1&n&&(f(0,"span",6),w(1),p()),2&n){const t=e.$implicit;C(),We(" ",t," ")}}class Mu{constructor(){this.open=!1,this.cancelIcon=!1,this.getFilterSuggestions=new Se,this.updateFilter=new Se}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{this.\u0275fac=function(t){return new(t||Mu)}}static{this.\u0275cmp=Fe({type:Mu,selectors:[["ue-table-filter"]],viewQuery:function(t,i){if(1&t&&qt($f,7),2&t){let r;Ee(r=xe())&&(i.typeahead=r.first)}},inputs:{formControlRef:"formControlRef",suggestions:"suggestions",disableEnter:"disableEnter",dropdownClasses:"dropdownClasses",cancelIcon:"cancelIcon"},outputs:{getFilterSuggestions:"getFilterSuggestions",updateFilter:"updateFilter"},standalone:!1,decls:10,vars:17,consts:[[1,"table-filter"],[1,"filterInput"],["placeholder","Search",3,"onCompleteMethod","onSelect","formControl","inputStyles","suggestions","disableEnter","multiLookup","dropdownClasses","dropdownStyles","debounceTime","cancelIcon"],[2,"padding","5px 10px"],["type","button",1,"btn","btn-second-primary",3,"click"],[1,"width13",3,"ngClass"],[2,"padding","5px 10px 5px 20px"]],template:function(t,i){1&t&&(f(0,"div",0)(1,"div",1)(2,"ue-typeahead",2),W("onCompleteMethod",function(o){return i.getFilterSuggestions.emit(o)})("onSelect",function(o){return i.updateFilter.emit(o)}),f(3,"li",3)(4,"span")(5,"strong"),w(6,"Search For:"),p()()(),en(7,ove,2,1,"ng-template"),p()(),f(8,"button",4),W("click",function(){return i.handleButtonClick()}),O(9,"i",5),p()()),2&t&&(C(),Re("open",i.open),C(),U("formControl",i.formControlRef)("inputStyles",sa(12,nve))("suggestions",i.suggestions)("disableEnter",i.disableEnter)("multiLookup",!0)("dropdownClasses",i.dropdownClasses)("dropdownStyles",sa(13,ive))("debounceTime",0)("cancelIcon",i.cancelIcon),C(7),U("ngClass",zo(14,rve,i.open&&i.isEmpty(i.formControlRef.value),!i.open||i.open&&!i.isEmpty(i.formControlRef.value))))},dependencies:[yo,Ln,ac,$f],styles:[".table-filter[_ngcontent-%COMP%]{display:inline-block;position:relative}.filterInput[_ngcontent-%COMP%]{width:0px;display:inline-block;transition:width 1s;-webkit-transition:width 1s;height:32px;margin-right:-6px;overflow:hidden;vertical-align:bottom}.open[_ngcontent-%COMP%]{width:250px}.width13[_ngcontent-%COMP%]{width:13px}@media screen and (max-width:430px){.open[_ngcontent-%COMP%]{width:140px}}"]})}}const sve=["*"],ave=(n,e)=>({"background-color":n,color:e});class Wf{constructor(){}ngOnInit(){}buildStyle(e){return Object.assign({},e,this.addStyle)}static{this.\u0275fac=function(t){return new(t||Wf)}}static{this.\u0275cmp=Fe({type:Wf,selectors:[["ue-pill"]],inputs:{backgroundColor:"backgroundColor",textColor:"textColor",pillClass:"pillClass",addStyle:"addStyle"},standalone:!1,ngContentSelectors:sve,decls:2,vars:7,consts:[[3,"ngStyle"]],template:function(t,i){1&t&&(Bo(),f(0,"span",0),Dr(1),p()),2&t&&(Cn(si("badge padding37 ",i.pillClass)),U("ngStyle",i.buildStyle(zo(4,ave,i.backgroundColor,i.textColor))))},dependencies:[vo],encapsulation:2})}}class os{constructor(e,t){this.ueHttp=e,this.http=t,this.emitProgressModal=new Se,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 i=this.filterColumns.filter(r=>-1!==(r=r.toLowerCase()).indexOf(e));return[].concat(i)}static{this.\u0275fac=function(t){return new(t||os)(G(Gi),G(Ls))}}static{this.\u0275dir=je({type:os,outputs:{emitProgressModal:"emitProgressModal"}})}static{this.\u0275prov=ue({token:os,factory:os.\u0275fac})}}var lve=P(262),cve=P.t(lve,2);class hy{constructor(){this._papa=cve}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{this.\u0275fac=function(t){return new(t||hy)}}static{this.\u0275prov=ue({token:hy,factory:hy.\u0275fac,providedIn:"root"})}}const dve=["modal"],uve=["fileUpload"];function hve(n,e){if(1&n&&(f(0,"option",14),w(1),p()),2&n){const t=e.$implicit;U("value",Uo(t.key)),C(),De(t.name)}}function fve(n,e){if(1&n&&(f(0,"ue-float-label-select",11)(1,"option",8),w(2,"Select One"),p(),bn(3,hve,2,3,"option",14,vn),p()),2&n){const t=A(3);U("error",(t.showValidation||t.importForm.get("server_key").touched)&&t.importForm.hasError("server_key")),C(3),wn(t.servers)}}function pve(n,e){if(1&n&&(f(0,"ue-float-label-select",12)(1,"option",8),w(2,"Select One"),p(),f(3,"option",15),w(4,"Ingenico"),p(),f(5,"option",16),w(6,"Verifone"),p()()),2&n){const t=A(3);U("error",(t.showValidation||t.importForm.get("make").touched)&&t.importForm.hasError("make"))}}function mve(n,e){if(1&n&&(f(0,"ue-float-label-select",13)(1,"option",8),w(2,"Select One"),p(),f(3,"option",17),w(4,"Sandbox"),p(),f(5,"option",18),w(6,"Production"),p()()),2&n){const t=A(3);U("error",(t.showValidation||t.importForm.get("env").touched)&&t.importForm.hasError("env"))}}function gve(n,e){if(1&n&&(f(0,"form",5)(1,"div",6)(2,"ue-float-label-select",7)(3,"option",8),w(4,"Select One"),p(),f(5,"option",9),w(6,"Stand Alone"),p(),f(7,"option",10),w(8,"Managed"),p()(),V(9,fve,5,1,"ue-float-label-select",11),V(10,pve,7,1,"ue-float-label-select",12),V(11,mve,7,1,"ue-float-label-select",13),p()()),2&n){const t=A(2);U("formGroup",t.importForm),C(2),U("error",(t.showValidation||t.importForm.get("device_type").touched)&&t.importForm.get("device_type").invalid),C(7),B("managed"===t.importForm.get("device_type").value?9:-1),C(),B("managed"===t.importForm.get("device_type").value?10:-1),C(),B("standalone"===t.importForm.get("device_type").value?11:-1)}}function _ve(n,e){if(1&n&&(f(0,"div"),V(1,gve,12,5,"form",5),p()),2&n){const t=A();C(),B(t.importForm?1:-1)}}function yve(n,e){if(1&n){const t=pe();f(0,"div")(1,"p"),w(2),p(),f(3,"p"),w(4),p(),f(5,"p"),w(6),p(),f(7,"ue-button",19),W("onClick",function(){ne(t);return ie(A().outputCsvLink.click())}),w(8,"Download Import Results"),p()()}if(2&n){const t=A();C(2),We("Total Attempted: ",t.parseTotal),C(2),We("Successfully Saved: ",t.saveSuccess),C(2),We("Errors: ",t.parseTotal-t.saveSuccess)}}function vve(n,e){if(1&n){const t=pe();f(0,"span",4)(1,"label",20),w(2,"Upload CSV"),p(),f(3,"input",21,1),W("click",function(r){ne(t);return ie(A().checkForValidationErrors(r))})("change",function(r){ne(t);return ie(A().onFileChange(r))}),p()()}}class u1{constructor(e,t,i,r){this.deviceService=e,this.serverService=t,this.fb=i,this.papa=r,this.completed=!1,this.saveSuccess=0,this.parseTotal=0,this.errors=[],this.servers=[],this.showValidation=!1,this.output=[],this.hideModal=!1,this.refreshDevices=new Se}ngOnInit(){this.getServers(),this.createForm(),this.formSubscription=this.subscribeToDeviceType()}createForm(){this.importForm=this.fb.group({server_key:[""],device_type:["",Be.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:(i,r)=>{r.pause(),this.handleRow(i,()=>{this.parseTotal++,this.progressModal.updateTitle(`Devices parsed: ${this.parseTotal} Saved: ${this.saveSuccess} Errors: ${this.parseTotal-this.saveSuccess}`),r.resume()})},error:(i,r)=>{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 i=Array.isArray(e.data)?e.data[0]:e.data,r=Object.assign({reason:"n/a",saved:!1,devicekey:"n/a"},i);if(e.errors.length>0)return r.saved=!1,r.reason=e.errors[0].type+": "+e.errors[0].message,this.output.push(r),void t();const o=this.checkRequiredFields(i,["device_name","device_ip","apikey","apipin"]);if(o.length>0)return r.saved=!1,r.reason=o,this.output.push(r),void t();this.saveDevice(i,(s,a)=>{s?(r.saved=!1,r.reason=s):(this.saveSuccess++,r.devicekey=a,r.saved=!0),this.output.push(r),t()})}saveDevice(e,t){const i={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(i).subscribe(r=>{t(null,r.devicekey)},r=>{t(`${r.errorcode} - ${r.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,i=`${t.getFullYear()}_${t.getDay()}_${t.getDay()}_${t.getHours()}_${t.getMinutes()}`;this.outputCsvLink.download=`import_devices_result_${i}.csv`,document.body.appendChild(this.outputCsvLink)}checkRequiredFields(e,t){const i=[];return t.forEach(r=>{-1===Object.keys(e).indexOf(r)&&i.push(`field ${r} is not defined for row`),""===e[r]&&i.push(Error(`field ${r} is empty for row`))}),i.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{this.\u0275fac=function(t){return new(t||u1)(G(bl),G(os),G(Ii),G(hy))}}static{this.\u0275cmp=Fe({type:u1,selectors:[["ue-device-import"]],viewQuery:function(t,i){if(1&t&&qt(dve,7)(uve,5)(Ot,7)(vl,7),2&t){let r;Ee(r=xe())&&(i.modal=r.first),Ee(r=xe())&&(i.fileUploadElement=r.first),Ee(r=xe())&&(i.alert=r.first),Ee(r=xe())&&(i.progressModal=r.first)}},outputs:{refreshDevices:"refreshDevices"},standalone:!1,decls:14,vars:5,consts:[["modal",""],["fileUpload",""],[3,"onClose"],["btnClass","default","icon","fa fa-times",3,"onClick"],[2,"margin-left","5px"],["novalidate","",3,"formGroup"],[1,"row"],["formControlName","device_type","label","Select Type","errorMessage","Please select one option",1,"col-xs-12",3,"error"],["value",""],["value","standalone"],["value","managed"],["formControlName","server_key","label","Select a Server Key","placeholder","Server Key","errorMessage","Server is required",1,"col-xs-12",3,"error"],["formControlName","make","label","Select Make","errorMessage","Please select one option",1,"col-xs-12",3,"error"],["formControlName","env","label","Select Environment","errorMessage","Please select one option",1,"col-xs-12",3,"error"],[3,"value"],["value","Ingenico"],["value","Verifone"],["value","sandbox"],["value","production"],["btnClass","default","icon","fa fa-floppy-o",3,"onClick"],["for","upload",1,"btn","btn-success","pointer"],["id","upload","type","file","name","","value","",1,"btn","btn-success",3,"click","change"]],template:function(t,i){if(1&t){const r=pe();f(0,"modal",2,0),W("onClose",function(){return i.resetForm()}),f(2,"modal-header")(3,"h1"),w(4,"Import New Devices"),p()(),f(5,"modal-content"),O(6,"ue-alert"),V(7,_ve,2,1,"div"),V(8,yve,9,3,"div"),p(),f(9,"modal-footer")(10,"ue-button",3),W("onClick",function(){ne(r);return ie($n(1).close())}),w(11,"Close"),p(),V(12,vve,5,0,"span",4),p()(),O(13,"ue-progress-modal")}2&t&&(Re("hidden",i.hideModal),C(7),B(i.completed?-1:7),C(),B(i.completed?8:-1),C(4),B(i.completed?-1:12))},dependencies:[qi,Ka,Ja,Ln,Wi,Ci,Li,So,Lr,Ir,Ur,In,yl,Ot,vl],styles:["#upload[_ngcontent-%COMP%]{opacity:0;position:absolute;z-index:-1}"]})}}const bve=["confirmBulkResetModal"],wve=["confirmBulkUpdateModal"],Cve=["confirmBulkDeletionModal"],so=n=>({color:n});function Mve(n,e){if(1&n){const t=pe();f(0,"li",44),W("click",function(){const r=ne(t).$implicit;return ie(A(2).selectLabelSuggestion(r.title))}),O(1,"span",45),f(2,"span"),w(3),p()()}if(2&n){const t=e.$implicit;C(),fr("background-color",t.bgcolor),C(2),De(t.title)}}function Dve(n,e){if(1&n&&(f(0,"div",8)(1,"strong"),w(2,"Select Label to Search: "),p(),f(3,"ul"),bn(4,Mve,4,3,"li",43,vn),p()()),2&n){const t=A();C(4),wn(t.labelSuggestions)}}function Sve(n,e){if(1&n){const t=pe();f(0,"ue-button",46),W("onClick",function(){ne(t);return ie(A().onRowSelect("new"))}),w(1,"Add Device"),p()}}function kve(n,e){if(1&n){const t=pe();f(0,"ue-button",47),W("onClick",function(){ne(t),A();return ie($n(76).open())}),w(1,"Import"),p()}}function Tve(n,e){if(1&n&&O(0,"span",50),2&n){const t=e.$implicit,i=A(2);fr("background-color",t.bgcolor),U("ueTooltip",Uo(t.title))("tooltipColor",Uo(t.bgcolor))("tooltipTextColor",i.getContrastYIQ(t.bgcolor))}}function Eve(n,e){if(1&n&&(f(0,"span",48),w(1),p(),O(2,"br"),bn(3,Tve,1,7,"span",49,vn)),2&n){const t=e.rowData;U("ngStyle",ai(2,so,t.disabled?"#bababa":"")),C(),De(t.name),C(2),wn(t.labels)}}function xve(n,e){if(1&n&&(f(0,"span",48),w(1),p()),2&n){const t=e.rowData;U("ngStyle",ai(2,so,t.disabled?"#bababa":"")),C(),De(t.merchant_company)}}function Lve(n,e){if(1&n&&(f(0,"ue-pill",51),w(1),p()),2&n){const t=e.rowData,i=A();U("backgroundColor",i.deviceService.getStatusColor(t.status)),C(),We(" ",i.deviceService.parseStatus(t.status)," ")}}function Ive(n,e){if(1&n){const t=pe();f(0,"div",52),W("click",function(r){ne(t);const o=A().rowData;return ie(A().navigateToServer(r,o.server_key))}),f(1,"a"),w(2),p()()}if(2&n){const t=A().rowData;C(2),De(t.device_type)}}function Pve(n,e){if(1&n&&(f(0,"div",48),w(1),p()),2&n){const t=A().rowData;U("ngStyle",ai(2,so,t.disabled?"#bababa":"")),C(),We(" ",t.device_type," ")}}function Ave(n,e){if(1&n&&(f(0,"div",48),w(1),p()),2&n){const t=A().rowData;U("ngStyle",ai(2,so,t.disabled?"#bababa":"")),C(),We(" ",t.device_type," ")}}function Ove(n,e){if(1&n&&(V(0,Ive,3,1,"div"),V(1,Pve,2,4,"div",48),V(2,Ave,2,4,"div",48)),2&n){const t=e.rowData;B("managed"===t.device_type?0:-1),C(),B("standalone"===t.device_type?1:-1),C(),B("direct"===t.device_type?2:-1)}}function Rve(n,e){if(1&n&&(f(0,"span",48),w(1),p()),2&n){const t=e.rowData;U("ngStyle",ai(2,so,t.disabled?"#bababa":"")),C(),De(t.env)}}function Nve(n,e){if(1&n&&(f(0,"span",48),w(1),p()),2&n){const t=e.rowData;U("ngStyle",ai(2,so,t.disabled?"#bababa":"")),C(),De(t.make?t.make:"N/A")}}function Fve(n,e){if(1&n&&(f(0,"span",48),w(1),p()),2&n){const t=e.rowData;U("ngStyle",ai(2,so,t.disabled?"#bababa":"")),C(),De(t.model?t.model:"N/A")}}function Yve(n,e){if(1&n&&(f(0,"span",48),w(1),p()),2&n){const t=e.rowData;U("ngStyle",ai(2,so,t.disabled?"#bababa":"")),C(),De(t.key_pan?t.key_pan:"N/A")}}function jve(n,e){if(1&n&&(f(0,"span",48),w(1),p()),2&n){const t=e.rowData;U("ngStyle",ai(2,so,t.disabled?"#bababa":"")),C(),De(t.key_pin?t.key_pin:"N/A")}}function Hve(n,e){if(1&n&&(f(0,"span",48),w(1),p()),2&n){const t=e.rowData;U("ngStyle",ai(2,so,t.disabled?"#bababa":"")),C(),De(t.device_ip?t.device_ip:"N/A")}}function Vve(n,e){if(1&n&&(f(0,"span",48),w(1),p()),2&n){const t=e.rowData;U("ngStyle",ai(2,so,t.disabled?"#bababa":"")),C(),We("...",t.devicekey_masked)}}function Bve(n,e){if(1&n&&(f(0,"span",48),w(1),p()),2&n){const t=e.rowData;U("ngStyle",ai(2,so,t.disabled?"#bababa":"")),C(),We("...",t.apikey_masked)}}function Uve(n,e){if(1&n&&(f(0,"span",48),w(1),p()),2&n){const t=e.rowData;U("ngStyle",ai(2,so,t.disabled?"#bababa":"")),C(),De(t.serial?t.serial:"N/A")}}function zve(n,e){if(1&n&&(f(0,"span",48),w(1),p()),2&n){const t=e.rowData;U("ngStyle",ai(2,so,t.disabled?"#bababa":"")),C(),De(t.revision?t.revision:"N/A")}}function $ve(n,e){if(1&n&&(f(0,"ue-pill",53),w(1),p()),2&n){const t=A().rowData,i=A();C(),De(i.pendingText(t))}}function Wve(n,e){1&n&&(f(0,"ue-pill"),w(1,"N/A"),p())}function qve(n,e){if(1&n&&(V(0,$ve,2,1,"ue-pill",53),V(1,Wve,2,0,"ue-pill")),2&n){const t=e.rowData,i=A();B(i.pendingText(t)?0:-1),C(),B(i.pendingText(t)?-1:1)}}function Gve(n,e){if(1&n&&(f(0,"span",39)(1,"strong"),w(2,"Warning!"),p(),w(3),p()),2&n){const t=A();C(3),$b(" You are about to remove ",t.selectedRows.length," ",t.deviceString," from your list and the device manager. The ",t.deviceString," will no longer exist and this action cannot be undone.")}}class h1{constructor(e,t,i,r,o,s,a){this.deviceService=e,this.router=t,this.route=i,this.authService=r,this.sessionTimeoutService=o,this.labelServcie=s,this.document=a,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(l=>l.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(l=>l.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 Lg,this.labelSelect=!1,this.labels=[]}ngOnInit(){this.updateServiceQueryParams(),this.subscribeProgressModal(),this.getDevices(),this.getLabels(),this.routerEventsSubscription=this.router.events.pipe(Pi(e=>e instanceof Er&&(0===this.route.children.length||0===this.devices.length)),Pi(()=>!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 i in this.deviceService.queryParams)this.deviceService.queryParams[i]&&(t+=[i]+"="+this.deviceService.queryParams[i]+"&");this.deviceService.refreshList(t,!e).subscribe(i=>{this.refreshing=!1,this.devices=i.data,e&&this.alert.newAlert("Success!","List has been refreshed","success")},i=>{this.refreshing=!1,e&&this.alert.newAlert("Error!",i.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(i=>-1!==i.title.toLowerCase().indexOf(e.toLowerCase()));this.labelSuggestions=t}keepSelectedDevices(e){this.selectedRows=e.filter(t=>-1!==this.selectedRows.map(i=>i.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(" "),i=t[t.length-1];"@label"===t[t.length-2]||"@label"===i?this.labelSelect=!0:this.labelSelect=!1,this.labelSelect?(this.getLabelSuggestions(i),this.suggestions=[]):this.suggestions=this.deviceService.getSuggestions(i)}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(i=>!i.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(i=>!i.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(i=>!i.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{this.\u0275fac=function(t){return new(t||h1)(G(bl),G(St),G(ir),G(Un),G(Ys),G(du),G(_n))}}static{this.\u0275cmp=Fe({type:h1,selectors:[["ue-devices-list"]],viewQuery:function(t,i){if(1&t&&qt(Ot,7)(To,7)(vl,7)(bve,7)(wve,7)(Cve,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first),Ee(r=xe())&&(i.paginationComponent=r.first),Ee(r=xe())&&(i.progressModalComponent=r.first),Ee(r=xe())&&(i.confirmBulkResetModal=r.first),Ee(r=xe())&&(i.confirmBulkUpdateModal=r.first),Ee(r=xe())&&(i.confirmBulkDeletionModal=r.first)}},standalone:!1,decls:77,vars:31,consts:[["confirmBulkResetModal",""],["confirmBulkUpdateModal",""],["confirmBulkDeletionModal",""],["importModal",""],[1,"row"],[1,"col-xs-6","col-lg-3"],["title","Devices","titleIcon","fa fa-fw fa-sitemap"],[1,"col-xs-12","col-sm-12","col-md-12","col-lg-9","text-right","margintop15"],[1,"label-suggestions"],["dropdownClasses","text-left",2,"margin-right","5px",3,"getFilterSuggestions","updateFilter","formControlRef","suggestions","cancelIcon"],["btnClass","primary","icon","fa fa-plus",1,"pull-right",2,"margin-left","5px"],["btnClass","primary","icon","fa fa-upload",1,"pull-right",2,"margin-left","5px"],["type","button",1,"pull-right","btn","btn-primary","hidden-md","hidden-lg",2,"padding-top","6px","padding-bottom","6px",3,"click","disabled"],[1,"fa","fa-refresh"],["type","button",1,"pull-right","btn","btn-primary","hidden-xs","hidden-sm","btn-labeled",3,"click","disabled"],[1,"btn-label"],[1,"col-xs-12"],[3,"sort","onRowSelect","updateCheckedRows","value","sortField","sortDir","gettingData","checkedRows","menuItemsSelected","menuItemsAll"],["field","name","header","Device Name"],["ueTemplate","body"],["field","merchant_company","header","Merchant Company"],["field","status","header","Status"],["field","device_type","header","Device Type"],["field","env","header","Environment"],["field","make","header","Device Make"],["field","model","header","Device Model"],["field","key_pan","header","Key Pan"],["field","key_pin","header","Key Pin"],["field","device_ip","header","Device IP"],["field","devicekey_masked","header","Device Key"],["field","apikey_masked","header","API Key"],["field","serial","header","Serial Number"],["field","revision","header","Last Revised"],["field","update_available","header","Update"],[3,"goToPage"],["header","Confirm Bulk Reset","icon","fa fa-check","btnClass","warning","buttonLabel","Reset",3,"callBack","body"],["header","Confirm Bulk Update","icon","fa fa-check","btnClass","warning","buttonLabel","Confirm",3,"callBack","body"],[3,"onOpen"],[3,"ngModelChange","ngModel","label"],[1,"txt-color-red"],["btnClass","default","icon","fa fa-times",3,"onClick"],["btnClass","danger","icon","fa fa-check",3,"onClick"],[3,"refreshDevices"],[1,"list-label"],[1,"list-label",3,"click"],[1,"label-dot"],["btnClass","primary","icon","fa fa-plus",1,"pull-right",2,"margin-left","5px",3,"onClick"],["btnClass","primary","icon","fa fa-upload",1,"pull-right",2,"margin-left","5px",3,"onClick"],[3,"ngStyle"],["tooltipPosition","right",1,"label-dot",3,"background-color","ueTooltip","tooltipColor","tooltipTextColor"],["tooltipPosition","right",1,"label-dot",3,"ueTooltip","tooltipColor","tooltipTextColor"],[2,"text-transform","capitalize",3,"backgroundColor"],[3,"click"],["backgroundColor","#C3323D"]],template:function(t,i){if(1&t){const r=pe();f(0,"div",4)(1,"div",5),O(2,"ue-section-title",6),p(),f(3,"div",7),V(4,Dve,6,0,"div",8),f(5,"ue-table-filter",9),W("getFilterSuggestions",function(s){return i.getFilterSuggestions(s)})("updateFilter",function(s){return i.updateFilter(s)}),p(),V(6,Sve,2,0,"ue-button",10),V(7,kve,2,0,"ue-button",11),f(8,"button",12),W("click",function(){return i.refreshList(!0)}),O(9,"i",13),p(),f(10,"button",14),W("click",function(){return i.refreshList(!0)}),f(11,"span",15),O(12,"i",13),p(),w(13," Refresh "),p()()(),O(14,"ue-alert")(15,"ue-progress-modal"),f(16,"div",4)(17,"div",16)(18,"ue-table",17),W("sort",function(s){return i.onSort(s)})("onRowSelect",function(s){return i.onRowSelect(s.key)})("updateCheckedRows",function(s){return i.updateCheckedRows(s)}),f(19,"ue-column",18),en(20,Eve,5,4,"ng-template",19),p(),f(21,"ue-column",20),en(22,xve,2,4,"ng-template",19),p(),f(23,"ue-column",21),en(24,Lve,2,2,"ng-template",19),p(),f(25,"ue-column",22),en(26,Ove,3,3,"ng-template",19),p(),f(27,"ue-column",23),en(28,Rve,2,4,"ng-template",19),p(),f(29,"ue-column",24),en(30,Nve,2,4,"ng-template",19),p(),f(31,"ue-column",25),en(32,Fve,2,4,"ng-template",19),p(),f(33,"ue-column",26),en(34,Yve,2,4,"ng-template",19),p(),f(35,"ue-column",27),en(36,jve,2,4,"ng-template",19),p(),f(37,"ue-column",28),en(38,Hve,2,4,"ng-template",19),p(),f(39,"ue-column",29),en(40,Vve,2,4,"ng-template",19),p(),f(41,"ue-column",30),en(42,Bve,2,4,"ng-template",19),p(),f(43,"ue-column",31),en(44,Uve,2,4,"ng-template",19),p(),f(45,"ue-column",32),en(46,zve,2,4,"ng-template",19),p(),f(47,"ue-column",33),en(48,qve,2,2,"ng-template",19),p()()()(),f(49,"ue-pagination",34),W("goToPage",function(s){return i.goToPage(s)}),p(),O(50,"router-outlet"),f(51,"ue-confirm-modal",35,0),W("callBack",function(){return i.bulkResetDevices()}),p(),f(53,"ue-confirm-modal",36,1),W("callBack",function(){return i.bulkUpdateDevices()}),p(),f(55,"modal",37,2),W("onOpen",function(){return i.deleteModalOpen()}),f(57,"modal-header")(58,"h1"),w(59,"Confirm Bulk Delete"),p()(),f(60,"modal-content")(61,"div",4)(62,"div",16)(63,"div")(64,"span"),w(65),p()(),O(66,"br"),f(67,"ue-checkbox",38),Ui("ngModelChange",function(s){return ne(r),nr(i.hardDelete,s)||(i.hardDelete=s),ie(s)}),p(),O(68,"br"),V(69,Gve,4,3,"span",39),p()()(),f(70,"modal-footer")(71,"ue-button",40),W("onClick",function(){ne(r);return ie($n(56).close())}),w(72,"Close"),p(),f(73,"ue-button",41),W("onClick",function(){return i.bulkDeleteDevices()}),w(74,"Delete"),p()()(),f(75,"ue-device-import",42,3),W("refreshDevices",function(){return i.getDevices()}),p()}2&t&&(C(4),B(i.labelSelect?4:-1),C(),U("formControlRef",i.filterControl)("suggestions",i.suggestions)("cancelIcon",!0),C(),B(i.canDelete?6:-1),C(),B(i.canCreate?7:-1),C(),U("disabled",i.refreshing),C(),Re("fa-spin",i.refreshing),C(),U("disabled",i.refreshing),C(2),Re("fa-spin",i.refreshing),C(6),U("value",i.devices)("sortField",i.deviceService.queryParams.sort)("sortDir",i.deviceService.queryParams.sortDir)("gettingData",i.isLoading)("checkedRows",i.selectedRows)("menuItemsSelected",i.menuItemsSelected)("menuItemsAll",i.menuItemsAll),C(33),U("body",Em("You are about to reset ",i.selectedRows.length," ",i.deviceString,". Are you sure you would like to continue?")),C(2),U("body",Em("You are about to send an update to ",i.devicesToUpdate.length," ",i.deviceString,". Are you sure you would like to continue?")),C(12),Sh("You are about to remove ",i.selectedRows.length," ",i.deviceString," from your list. Are you sure you want to continue?"),C(2),U("label",si("Completely remove ",i.deviceString,".")),Bi("ngModel",i.hardDelete),C(2),B(i.hardDelete?69:-1))},dependencies:[vo,Ln,eo,So,Lr,Ir,Ur,Xo,sl,ya,In,gc,To,ns,is,Mu,Ot,Bf,Wf,vl,Co,u1],styles:[".label-suggestions[_ngcontent-%COMP%]{z-index:1000;border:1px solid lightgray;position:absolute;background-color:#fff;display:inline-block;right:371px;top:32px;text-align:left;border-radius:6px;width:289px}.label-suggestions[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{margin:0;padding:0}.label-suggestions[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;padding:5px 10px;font-size:14px}.label-dot[_ngcontent-%COMP%]{display:inline-block;margin-top:3px;margin-right:10px;height:12px;width:12px;border-radius:7px;border:1px solid lightgray;background-color:#999}.list-label[_ngcontent-%COMP%]{padding:5px 10px;text-align:left}.list-label[_ngcontent-%COMP%]:hover{background-color:#d3d3d3;cursor:pointer}@media screen and (max-width:991px){.label-suggestions[_ngcontent-%COMP%]{right:139px}}@media screen and (max-width:430px){.label-suggestions[_ngcontent-%COMP%]{width:179px;right:139px}}"]})}}const Qve=["modal"],Kve=["brandingModal"],Jve=["confirmDeleteModal"],Zve=["confirmAbandonModal"],Xve=["confirmLabelEditModal"],ebe=["confirmLabelDeletionModal"],tbe=["confirmUpdateModal"];function nbe(n,e){1&n&&(f(0,"div")(1,"h1",27),w(2,"Device is Unavailable"),p()())}function ibe(n,e){if(1&n&&(f(0,"span"),w(1),p()),2&n){const t=A(2);C(),De(t.device.devicekey)}}function rbe(n,e){1&n&&(f(0,"span"),w(1,"Not Available"),p())}function obe(n,e){if(1&n&&(f(0,"span"),w(1),p()),2&n){const t=A(2);C(),De(t.device.model)}}function sbe(n,e){1&n&&(f(0,"span"),w(1,"Not Available"),p())}function abe(n,e){if(1&n&&(f(0,"span"),w(1),p()),2&n){const t=A(2);C(),De(t.device.serial)}}function lbe(n,e){1&n&&(f(0,"span"),w(1,"Not Available"),p())}function cbe(n,e){if(1&n&&(f(0,"span"),w(1),p()),2&n){const t=A(2);C(),De(t.device.server_name)}}function dbe(n,e){1&n&&(f(0,"span"),w(1,"Not Available"),p())}function ube(n,e){if(1&n&&(f(0,"div")(1,"ue-pill",35),w(2),p()()),2&n){const t=A(2);C(2),We(" ",t.pendingText()," ")}}function hbe(n,e){if(1&n&&(f(0,"div")(1,"p"),O(2,"i",36),w(3),p()()),2&n){const t=A(3);C(),Cn(si("deviceConnected ",t.device.status)),C(2),We(" ",t.device.status)}}function fbe(n,e){if(1&n&&(f(0,"div"),V(1,hbe,4,4,"div"),p()),2&n){const t=A(2);C(),B("managed"===t.device.device_type?1:-1)}}function pbe(n,e){if(1&n&&(f(0,"div")(1,"p"),O(2,"i",36),w(3),p()()),2&n){const t=A(2);C(),Cn(si("textConnected ",t.device.status)),C(2),We(" ",t.device.status)}}function mbe(n,e){if(1&n&&(f(0,"span"),w(1),p()),2&n){const t=A(2);C(),De(t.device.devicekey)}}function gbe(n,e){1&n&&(f(0,"span"),w(1,"Not Available"),p())}function _be(n,e){if(1&n&&(f(0,"span"),w(1),p()),2&n){const t=A(2);C(),De(t.device.model)}}function ybe(n,e){1&n&&(f(0,"span"),w(1,"Not Available"),p())}function vbe(n,e){if(1&n&&(f(0,"span"),w(1),p()),2&n){const t=A(2);C(),De(t.device.serial)}}function bbe(n,e){1&n&&(f(0,"span"),w(1,"Not Available"),p())}function wbe(n,e){if(1&n&&(f(0,"span"),w(1),p()),2&n){const t=A(2);C(),De(t.device.server_name)}}function Cbe(n,e){1&n&&(f(0,"span"),w(1,"Not Available"),p())}function Mbe(n,e){if(1&n&&(f(0,"div",34)(1,"ue-pill",35),w(2),p()()),2&n){const t=A(2);C(2),We(" ",t.pendingText()," ")}}function Dbe(n,e){if(1&n){const t=pe();f(0,"div",9)(1,"div",11)(2,"div",28)(3,"input",29),Ui("ngModelChange",function(r){ne(t);const o=A();return nr(o.device.name,r)||(o.device.name=r),ie(r)}),W("ngModelChange",function(r){ne(t);return ie(A().updateDeviceFormName(r))}),p(),f(4,"div",30)(5,"div")(6,"strong"),w(7,"Device Key:"),p(),V(8,ibe,2,1,"span"),V(9,rbe,2,0,"span"),p(),f(10,"div")(11,"strong"),w(12,"Model:"),p(),V(13,obe,2,1,"span"),V(14,sbe,2,0,"span"),p(),f(15,"div")(16,"strong"),w(17,"Serial #:"),p(),V(18,abe,2,1,"span"),V(19,lbe,2,0,"span"),p(),f(20,"div")(21,"strong"),w(22,"Server:"),p(),V(23,cbe,2,1,"span"),V(24,dbe,2,0,"span"),p(),V(25,ube,3,1,"div"),p()(),f(26,"div",31)(27,"div",32),O(28,"i"),p(),V(29,fbe,2,1,"div"),V(30,pbe,4,4,"div"),p(),f(31,"div",33)(32,"div")(33,"strong"),w(34,"Device Key:"),p(),V(35,mbe,2,1,"span"),V(36,gbe,2,0,"span"),p(),f(37,"div")(38,"strong"),w(39,"Model:"),p(),V(40,_be,2,1,"span"),V(41,ybe,2,0,"span"),p(),f(42,"div")(43,"strong"),w(44,"Serial #:"),p(),V(45,vbe,2,1,"span"),V(46,bbe,2,0,"span"),p(),f(47,"div")(48,"strong"),w(49,"Server:"),p(),V(50,wbe,2,1,"span"),V(51,Cbe,2,0,"span"),p(),V(52,Mbe,3,1,"div",34),p()()()}if(2&n){const t=A();C(3),U("disabled",!t.canEdit),Bi("ngModel",t.device.name),C(5),B(t.device.devicekey?8:-1),C(),B(t.device.devicekey?-1:9),C(4),B(t.device.model?13:-1),C(),B(t.device.model?-1:14),C(4),B(t.device.serial?18:-1),C(),B(t.device.serial?-1:19),C(4),B(t.device.server_name?23:-1),C(),B(t.device.server_name?-1:24),C(),B(t.pendingText()?25:-1),C(3),Cn(Em("deviceConnected um um-",t.device.model?t.device.model:"pin"," ",t.device.status)),Re("glyph",!t.device.model),C(),B("waiting for device pairing"===t.device.status?29:-1),C(),B("waiting for device pairing"!==t.device.status?30:-1),C(5),B(t.device.devicekey?35:-1),C(),B(t.device.devicekey?-1:36),C(4),B(t.device.model?40:-1),C(),B(t.device.model?-1:41),C(4),B(t.device.serial?45:-1),C(),B(t.device.serial?-1:46),C(4),B(t.device.server_name?50:-1),C(),B(t.device.server_name?-1:51),C(),B(t.pendingText()?52:-1)}}function Sbe(n,e){1&n&&(f(0,"div",10)(1,"h1"),w(2,"Add Device"),p()())}function kbe(n,e){1&n&&O(0,"ue-loader")}function Tbe(n,e){if(1&n){const t=pe();f(0,"a",51),W("click",function(){ne(t);return ie(A(2).openLabelDropdown())}),w(1,"Edit"),p()}}function Ebe(n,e){if(1&n&&(f(0,"div",40)(1,"ue-pill",52),w(2),p()()),2&n){const t=e.$implicit,i=A(2);C(),U("backgroundColor",t.bgcolor)("textColor",i.getContrastYIQ(t.bgcolor)),C(),We(" ",t.title," ")}}function xbe(n,e){1&n&&(f(0,"div",53),O(1,"i",61),p())}function Lbe(n,e){if(1&n){const t=pe();f(0,"i",67),W("click",function(){ne(t);const r=A().$implicit;return ie(A(3).handleClickDelete(r))}),p()}}function Ibe(n,e){if(1&n){const t=pe();f(0,"i",68),W("click",function(){ne(t);const r=A().$implicit;return ie(A(3).handleClickEdit(r))}),p()}}function Pbe(n,e){1&n&&O(0,"i",66)}function Abe(n,e){if(1&n){const t=pe();f(0,"li",62),W("click",function(){const r=ne(t).$implicit,o=A(3);return ie(o.handleLabelClick(r,o.checkLabel(r.key)))}),O(1,"span",63),f(2,"span"),w(3),p(),V(4,Lbe,1,0,"i",64),V(5,Ibe,1,0,"i",65),V(6,Pbe,1,0,"i",66),p()}if(2&n){const t=e.$implicit,i=A(3);Re("label-edit-icon",i.editLabelMode),C(),fr("background-color",t.bgcolor),C(2),De(t.title),C(),B(i.editLabelMode?4:-1),C(),B(i.editLabelMode?5:-1),C(),B(i.checkLabel(t.key)&&!i.editLabelMode?6:-1)}}function Obe(n,e){1&n&&(f(0,"span"),w(1,"Edit Labels"),p())}function Rbe(n,e){1&n&&(f(0,"span"),w(1,"Exit Edit Mode"),p())}function Nbe(n,e){if(1&n){const t=pe();f(0,"div",41),V(1,xbe,2,0,"div",53),f(2,"div",54)(3,"strong"),w(4,"Assign Lables"),p(),f(5,"i",55),W("click",function(){ne(t);return ie(A(2).closeLabels())}),p()(),f(6,"div",56)(7,"ul"),bn(8,Abe,7,8,"li",57,vn),p(),f(10,"div",58)(11,"ul")(12,"li",59),W("click",function(){ne(t);return ie(A(2).handleAddNewLabel())}),f(13,"span"),w(14,"Add a New Label"),p()(),f(15,"li",60),W("click",function(){ne(t);const r=A(2);return ie(r.editLabelMode=!r.editLabelMode)}),V(16,Obe,2,0,"span"),V(17,Rbe,2,0,"span"),p()()()()()}if(2&n){const t=A(2);C(),B(t.labelsLoading?1:-1),C(7),wn(t.labels),C(8),B(t.editLabelMode?-1:16),C(),B(t.editLabelMode?17:-1)}}function Fbe(n,e){1&n&&(f(0,"div",53),O(1,"i",61),p())}function Ybe(n,e){1&n&&(f(0,"strong"),w(1,"Create New Label"),p())}function jbe(n,e){1&n&&(f(0,"strong"),w(1,"Edit Label"),p())}function Hbe(n,e){if(1&n){const t=pe();f(0,"div",82),W("click",function(){const r=ne(t).$implicit;return ie(A(3).populateColor(r))}),p()}if(2&n){fr("background-color",e.$implicit)}}function Vbe(n,e){if(1&n){const t=pe();f(0,"button",83),W("click",function(){ne(t);return ie(A(3).addNewLabel())}),w(1,"Create"),p()}if(2&n){const t=A(3);U("disabled",null==t.newLabelForm?null:t.newLabelForm.invalid)}}function Bbe(n,e){if(1&n){const t=pe();f(0,"button",84),W("click",function(){ne(t);return ie(A(3).handleEditLabelConfirm())}),w(1,"Update"),p()}if(2&n){const t=A(3);U("disabled",null==t.newLabelForm?null:t.newLabelForm.invalid)}}function Ube(n,e){if(1&n){const t=pe();f(0,"div",41),V(1,Fbe,2,0,"div",53),f(2,"div",54)(3,"i",69),W("click",function(){ne(t);return ie(A(2).addLabel=!1)}),p(),V(4,Ybe,2,0,"strong"),V(5,jbe,2,0,"strong"),f(6,"i",55),W("click",function(){ne(t);return ie(A(2).closeLabels())}),p()(),f(7,"div",70)(8,"form",71),W("onSubmit",function(){ne(t);return ie(A(2).handleLabelFormSubmit())}),f(9,"div",72),O(10,"input",73),p(),f(11,"div",74),bn(12,Hbe,1,2,"div",75,vn),p(),f(14,"div",76),O(15,"span",77)(16,"input",78),p(),V(17,Vbe,2,1,"button",79),V(18,Bbe,2,1,"button",80),f(19,"button",81),W("click",function(){ne(t);return ie(A(2).addLabel=!1)}),w(20,"Cancel"),p()()()()}if(2&n){const t=A(2);C(),B(t.labelsLoading?1:-1),C(3),B(t.editLabelMode?-1:4),C(),B(t.editLabelMode?5:-1),C(3),U("formGroup",t.newLabelForm),C(4),wn(t.colorSuggestions),C(3),fr("background-color",(null==t.newLabelForm?null:t.newLabelForm.get("bgcolor").value)||"#a4a4a4"),C(2),B(t.editLabelMode?-1:17),C(),B(t.editLabelMode?18:-1)}}function zbe(n,e){if(1&n&&(f(0,"div")(1,"div")(2,"strong"),w(3,"Pairing Code:"),p(),f(4,"span"),w(5),p()(),f(6,"div")(7,"strong"),w(8,"Status:"),p(),f(9,"span"),w(10),p()()()),2&n){const t=A(3);C(5),De(t.device.pairing_code),C(5),De(t.device.status)}}function $be(n,e){if(1&n&&(f(0,"div",10),V(1,zbe,11,2,"div"),p()),2&n){const t=A(2);C(),B("standalone"===t.device.device_type||"direct"===t.device.device_type?1:-1)}}function Wbe(n,e){if(1&n&&(f(0,"div")(1,"div",11)(2,"strong",85),w(3,"API Key ID:"),p(),f(4,"span",86),w(5),p()(),f(6,"div",11)(7,"strong",85),w(8,"Environment:"),p(),f(9,"span",86),w(10),p()(),f(11,"div",11)(12,"strong",85),w(13,"Merchant Company:"),p(),f(14,"span",86),w(15),p()(),f(16,"div",11)(17,"strong",85),w(18,"Device Type:"),p(),f(19,"span",86),w(20),p()(),f(21,"div",11)(22,"strong",85),w(23,"Revision:"),p(),f(24,"span",86),w(25),p()(),f(26,"div",11)(27,"strong",85),w(28,"Device IP:"),p(),f(29,"span",86),w(30),p()(),f(31,"div",11)(32,"strong",85),w(33,"Key Pan:"),p(),f(34,"span",86),w(35),p()(),f(36,"div",11)(37,"strong",85),w(38,"Key Pin:"),p(),f(39,"span",86),w(40),p()(),f(41,"div",11)(42,"strong",85),w(43,"Created By:"),p(),f(44,"span",86),w(45),p()(),f(46,"div",11)(47,"strong",85),w(48,"Modified By:"),p(),f(49,"span",86),w(50),p()()()),2&n){const t=A(2);C(5),We("...",t.device.apikey_masked),C(5),De(t.device.env),C(5),De(t.device.merchant_company),C(5),De(t.device.device_type),C(5),De(t.device.revision?t.device.revision:"N/A"),C(5),De(t.device.device_ip?t.device.device_ip:"N/A"),C(5),De(t.device.key_pan?t.device.key_pan:"N/A"),C(5),De(t.device.key_pin?t.device.key_pin:"N/A"),C(5),De(t.device.created_by?t.device.created_by:"N/A"),C(5),De(t.device.modified_by?t.device.modified_by:"N/A")}}function qbe(n,e){1&n&&(f(0,"div",43)(1,"span",87),w(2,"This device no longer exists in the device manager. You must manually delete it from the list."),p()())}function Gbe(n,e){if(1&n&&(f(0,"div"),O(1,"ue-checkbox",88),p()),2&n){const t=A(3);C(),U("readonly",!t.canEdit)}}function Qbe(n,e){if(1&n&&(f(0,"div"),O(1,"ue-checkbox",89),p()),2&n){const t=A(3);C(),U("readonly",!t.canEdit)}}function Kbe(n,e){if(1&n&&(f(0,"form",46)(1,"div",48)(2,"strong"),w(3,"Settings"),p()(),V(4,Gbe,2,1,"div"),V(5,Qbe,2,1,"div"),p()),2&n){const t=A(2);U("formGroup",t.deviceForm),C(4),B("managed"!==t.device.device_type?4:-1),C(),B("managed"===t.device.device_type?5:-1)}}function Jbe(n,e){if(1&n){const t=pe();f(0,"button",90),W("click",function(){ne(t);return ie(A(2).refreshDevice(!0))}),f(1,"span",91),O(2,"i",92),p(),w(3," Refresh Info "),p()}if(2&n){const t=A(2);U("disabled",t.refreshing),C(2),Re("fa-spin",t.refreshing)}}function Zbe(n,e){if(1&n){const t=pe();f(0,"button",93),W("click",function(){ne(t);return ie(A(2).resetDevice())}),f(1,"span",91),O(2,"i",94),p(),w(3," Reset Device "),p()}}function Xbe(n,e){if(1&n){const t=pe();f(0,"div")(1,"button",95),W("click",function(){ne(t);return ie(A(2).openUpdateModal())}),f(2,"span",91),O(3,"i",96),p(),w(4," Send Update "),p()()}}function ewe(n,e){if(1&n){const t=pe();f(0,"div")(1,"button",97),W("click",function(){ne(t),A(2);return ie($n(46).open())}),f(2,"span",91),O(3,"i",98),p(),w(4," Send Branding "),p()()}}function twe(n,e){if(1&n&&(f(0,"div",11)(1,"fieldset",37)(2,"div",38)(3,"strong"),w(4,"Labels"),p(),V(5,Tbe,2,0,"a",39),p(),f(6,"div",10),bn(7,Ebe,3,3,"div",40,vn),p(),V(9,Nbe,18,3,"div",41),V(10,Ube,21,8,"div",41),p(),f(11,"fieldset",42),V(12,$be,2,1,"div",10),V(13,Wbe,51,10,"div"),V(14,qbe,3,0,"div",43),p(),f(15,"div",44)(16,"fieldset",45),V(17,Kbe,6,3,"form",46),p(),f(18,"fieldset",47)(19,"div",48)(20,"strong"),w(21,"Actions"),p()(),f(22,"div"),V(23,Jbe,4,3,"button",49),p(),f(24,"div"),V(25,Zbe,4,0,"button",50),p(),V(26,Xbe,5,0,"div"),V(27,ewe,5,0,"div"),p()()()),2&n){const t=A();C(5),B(t.canEdit?5:-1),C(2),wn(t.device.labels),C(2),B(t.editLabels&&!t.addLabel?9:-1),C(),B(t.editLabels&&t.addLabel?10:-1),C(2),B("waiting for device pairing"===t.device.status?12:-1),C(),B("waiting for device pairing"!==t.device.status?13:-1),C(),B("deleted"===(null==t.device?null:t.device.status)?14:-1),C(3),B(t.deviceForm?17:-1),C(6),B("deleted"!==(null==t.device?null:t.device.status)?23:-1),C(2),B(t.showButton("reset")?25:-1),C(),B("managed"!==t.device.device_type&&t.device.update_available?26:-1),C(),B(t.showButton("branding")?27:-1)}}function nwe(n,e){1&n&&(f(0,"option",108),w(1,"Managed"),p())}function iwe(n,e){if(1&n&&(f(0,"option",114),w(1),p()),2&n){const t=e.$implicit;U("value",Uo(t.key)),C(),De(t.name)}}function rwe(n,e){if(1&n&&(f(0,"div")(1,"ue-float-label-select",111)(2,"option",105),w(3,"Select One"),p(),f(4,"option",112),w(5,"Ingenico"),p()(),f(6,"ue-float-label-select",113)(7,"option",105),w(8,"Select One"),p(),bn(9,iwe,2,3,"option",114,vn),p(),f(11,"div",10)(12,"ue-float-input-container"),O(13,"input",115),p()()()),2&n){const t=A(3);C(),U("error",(t.showValidation||t.deviceForm.get("make").touched)&&t.hasError(t.deviceForm.errors,"make")),C(5),U("error",(t.showValidation||t.deviceForm.get("server_key").touched)&&t.hasError(t.deviceForm.errors,"server_key")),C(3),wn(t.servers),C(4),U("error",(t.showValidation||t.deviceForm.get("device_ip").touched)&&t.hasError(t.deviceForm.errors,"device_ip"))}}function owe(n,e){if(1&n&&(f(0,"div")(1,"ue-float-label-select",116)(2,"option",105),w(3,"Select One"),p(),f(4,"option",117),w(5,"Sandbox"),p(),f(6,"option",118),w(7,"Production"),p()()()),2&n){const t=A(3);C(),U("error",(t.showValidation||t.deviceForm.get("env").touched)&&t.hasError(t.deviceForm.errors,"env"))}}function swe(n,e){if(1&n&&(f(0,"div",11)(1,"div",10)(2,"ue-float-input-container"),O(3,"input",103),p()(),f(4,"ue-float-label-select",104)(5,"option",105),w(6,"Select One"),p(),f(7,"option",106),w(8,"Stand Alone"),p(),f(9,"option",107),w(10,"Direct"),p(),V(11,nwe,2,0,"option",108),p(),f(12,"div",10)(13,"ue-float-input-container"),O(14,"input",109),p()(),f(15,"div",10)(16,"ue-float-input-container"),O(17,"input",110),p()(),V(18,rwe,14,3,"div"),V(19,owe,8,1,"div"),p()),2&n){const t=A(2);C(3),U("error",(t.showValidation||t.deviceForm.get("name").touched)&&t.deviceForm.get("name").invalid),C(),U("error",(t.showValidation||t.deviceForm.get("device_type").touched)&&t.deviceForm.get("device_type").invalid),C(7),B(t.hasServers()?11:-1),C(3),U("error",(t.showValidation||t.deviceForm.get("apikey").touched)&&t.deviceForm.get("apikey").invalid),C(3),U("error",(t.showValidation||t.deviceForm.get("apipin").touched)&&t.deviceForm.get("apipin").invalid),C(),B("managed"===t.deviceForm.get("device_type").value?18:-1),C(),B("standalone"===t.deviceForm.get("device_type").value||"direct"===t.deviceForm.get("device_type").value?19:-1)}}function awe(n,e){if(1&n&&(f(0,"div",11)(1,"div",10)(2,"ue-float-input-container"),O(3,"input",119),p()(),f(4,"div",10)(5,"ue-float-input-container"),O(6,"input",109),p()(),f(7,"div",10)(8,"ue-float-input-container"),O(9,"input",110),p()(),f(10,"ue-float-label-select",116)(11,"option",105),w(12,"Select One"),p(),f(13,"option",117),w(14,"Sandbox"),p(),f(15,"option",118),w(16,"Production"),p()()()),2&n){const t=A(2);C(3),U("error",(t.showValidation||t.deviceForm.get("device_key").touched)&&t.deviceForm.get("device_key").invalid),C(3),U("error",(t.showValidation||t.deviceForm.get("apikey").touched)&&t.deviceForm.get("apikey").invalid),C(3),U("error",(t.showValidation||t.deviceForm.get("apipin").touched)&&t.deviceForm.get("apipin").invalid),C(),U("error",(t.showValidation||t.deviceForm.get("env").touched)&&t.deviceForm.get("env").invalid)}}function lwe(n,e){if(1&n){const t=pe();f(0,"div",11)(1,"ue-float-label-select",99),W("ngModelChange",function(r){ne(t);return ie(A().deviceTypeChange(r))}),f(2,"option",100),w(3,"Add New Device"),p(),f(4,"option",101),w(5,"Add Already Registered Device"),p()(),f(6,"form",102)(7,"div",10),V(8,swe,20,7,"div",11),V(9,awe,17,4,"div",11),p()()()}if(2&n){const t=A();C(),U("ngModel",t.deviceType),C(5),U("formGroup",t.deviceForm),C(2),B(1===t.deviceForm.get("register_new_device").value?8:-1),C(),B(0===t.deviceForm.get("register_new_device").value?9:-1)}}function cwe(n,e){if(1&n){const t=pe();f(0,"ue-button",120),W("onClick",function(){ne(t),A();return ie($n(33).open())}),w(1,"Delete"),p()}}function dwe(n,e){if(1&n){const t=pe();f(0,"ue-button",121),W("onClick",function(){ne(t);return ie(A().saveDevice(!1))}),w(1,"Apply"),p()}if(2&n){const t=A();U("disabled",(null==t.deviceForm?null:t.deviceForm.pristine)||t.disableSave)}}function uwe(n,e){if(1&n){const t=pe();f(0,"ue-button",122),W("onClick",function(){ne(t);return ie(A().saveDevice(!0))}),w(1,"Save"),p()}if(2&n){const t=A();U("disabled",(null==t.deviceForm?null:t.deviceForm.pristine)||t.disableSave)}}function hwe(n,e){1&n&&(f(0,"span",87)(1,"strong"),w(2,"Warning!"),p(),w(3," 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."),p())}function fwe(n,e){if(1&n){const t=pe();f(0,"div",10)(1,"span"),w(2,"You 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."),p(),O(3,"br"),w(4," Are you sure you want to continue? "),O(5,"br"),f(6,"ue-checkbox",123),Ui("ngModelChange",function(r){ne(t);const o=A(2);return nr(o.hardDelete,r)||(o.hardDelete=r),ie(r)}),p(),O(7,"br"),V(8,hwe,4,0,"span",87),p()}if(2&n){const t=A(2);C(),fr("text-decoration",t.hardDelete?"line-through":""),C(5),Bi("ngModel",t.hardDelete),C(2),B(t.hardDelete?8:-1)}}function pwe(n,e){if(1&n){const t=pe();f(0,"div",10)(1,"span",87)(2,"strong"),w(3,"Warning!"),p(),w(4," 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."),p(),O(5,"br"),w(6," Are you sure you want to continue? "),O(7,"br"),f(8,"ue-checkbox",124),Ui("ngModelChange",function(r){ne(t);const o=A(2);return nr(o.hardDelete,r)||(o.hardDelete=r),ie(r)}),p(),O(9,"br"),p()}if(2&n){const t=A(2);C(8),Bi("ngModel",t.hardDelete)}}function mwe(n,e){if(1&n){const t=pe();f(0,"div",10)(1,"span",87)(2,"strong"),w(3,"Warning!"),p(),w(4," 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."),p(),O(5,"br"),w(6," Are you sure you want to continue? "),O(7,"br"),f(8,"ue-checkbox",124),Ui("ngModelChange",function(r){ne(t);const o=A(2);return nr(o.hardDelete,r)||(o.hardDelete=r),ie(r)}),p(),O(9,"br"),p()}if(2&n){const t=A(2);C(8),Bi("ngModel",t.hardDelete)}}function gwe(n,e){if(1&n&&(f(0,"div",11),V(1,fwe,9,4,"div",10),V(2,pwe,10,1,"div",10),V(3,mwe,10,1,"div",10),p()),2&n){const t=A();C(),B("standalone"===(null==t.device?null:t.device.device_type)?1:-1),C(),B("managed"===(null==t.device?null:t.device.device_type)?2:-1),C(),B("direct"===(null==t.device?null:t.device.device_type)?3:-1)}}function _we(n,e){1&n&&(f(0,"div",11)(1,"div",10),w(2," This device no longer exists in the device manager. Click confirm to remove this device from your list. "),p()())}class f1{constructor(e,t,i,r,o,s,a,l,c){this.router=e,this.route=t,this.formBuilder=i,this.serverService=r,this.deviceService=o,this.authService=s,this.sessionTimeoutService=a,this.labelService=l,this.el=c,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(i=>i.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,Be.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,Be.required],name:["",Be.required],device_type:["",this.floatValidator],apikey:["",Be.required],apipin:["",Be.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,Be.required],apikey:["",Be.required],apipin:["",Be.required],device_key:["",Be.required],env:["",Be.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(i=>i.key)),this.deviceService.saveDevice(t).subscribe(i=>{this.disableSave=!1,this.alert.newAlert("Success!","Device has been saved successfully.","success"),e?this.router.navigate(["devices"],{queryParams:{updated:!0}}):(this.device=i,this.deviceForm.markAsPristine(),this.router.navigate(["."],{replaceUrl:!0,relativeTo:this.route}))},i=>{this.disableSave=!1,this.alert.newAlert("Error!",i.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:["",Be.required],bgcolor:["",Be.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(i=>i.key).indexOf(e)}handleLabelClick(e,t){if(!this.editLabelMode)if(this.deviceForm.markAsDirty(),t){const r=this.device.labels.map(o=>o.key).indexOf(e.key);this.device.labels.splice(r,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((i,r)=>{i!==t||e.splice(r,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(i=>i.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 i=this.device.labels.map(r=>r.key).indexOf(e);-1!==i&&this.device.labels.splice(i,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{this.\u0275fac=function(t){return new(t||f1)(G(St),G(ir),G(Ii),G(os),G(bl),G(Un),G(Ys),G(du),G(On))}}static{this.\u0275cmp=Fe({type:f1,selectors:[["ue-device-detail"]],viewQuery:function(t,i){if(1&t&&qt(Qve,7)(Kve,7)(Jve,7)(Zve,7)(Xve,7)(ebe,7)(tbe,7)(Ot,7),2&t){let r;Ee(r=xe())&&(i.modal=r.first),Ee(r=xe())&&(i.brandingModal=r.first),Ee(r=xe())&&(i.confirmDeleteModal=r.first),Ee(r=xe())&&(i.confirmAbandonModal=r.first),Ee(r=xe())&&(i.confirmLabelEditModal=r.first),Ee(r=xe())&&(i.confirmLabelDeletionModal=r.first),Ee(r=xe())&&(i.confirmUpdateModal=r.first),Ee(r=xe())&&(i.alert=r.first)}},standalone:!1,decls:69,vars:35,consts:[["modal",""],["confirmUpdateModal",""],["confirmDeleteModal",""],["brandingModal",""],["confirmAbandonModal",""],["confirmLabelEditModal",""],["confirmLabelDeletionModal",""],["modalClass","modal-lg",3,"closeOnOutsideClick","closeOnEscape","hideCloseButton"],[1,"row","header"],[1,"col-xs-12","header_details"],[1,"col-xs-12"],[1,"row"],["btnClass","default","icon","fa fa-remove",1,"pull-left",3,"onClick"],["btnClass","danger","icon","fa fa-trash"],["btnClass","success","icon","fa fa-check",3,"disabled"],["btnClass","primary","icon","fa fa-save",3,"disabled"],[3,"onOpen","onClose"],[1,"ellipsis"],["btnClass","default","icon","fa fa-times",3,"onClick"],["btnClass","warning","icon","fa fa-check",3,"onClick"],["btnClass","warning","icon","fa fa-check",3,"onClick","disabled"],[1,"row",2,"margin-top","10px"],["ueFloatInput","","type","text","label","Branding Package Name","placeholder","Branding Package Name",3,"ngModelChange","ngModel"],["btnClass","success","icon","fa fa-arrow-right",3,"onClick","disabled"],["header","Confirm Close","body","You currently have unsaved changes. Are you sure you want to discard changes to this form without saving?","icon","fa fa-check","btnClass","warning","buttonLabel","Abandon Changes",3,"callBack","closeOnOutsideClick","closeOnEscape","hideCloseButton"],["body","Editing this label will change it on the label list as well as any devices to which it has been previously assigned. \n\t\t\t\tAre you sure you want to continue?","icon","fa fa-check","btnClass","warning","buttonLabel","Confirm",3,"callBack","header","closeOnOutsideClick","closeOnEscape","hideCloseButton"],["body","Deleting this label will remove it from the label list as well as on any devices to which it has been previously assigned. \n\t\t\t\tAre you sure you want to continue?","icon","fa fa-check","btnClass","warning","buttonLabel","Confirm",3,"callBack","header","closeOnOutsideClick","closeOnEscape","hideCloseButton"],[1,"textblue"],[1,"col-xs-12","col-sm-10","col-sm-push-2"],["type","text",3,"ngModelChange","disabled","ngModel"],[1,"hidden-xs"],[1,"col-xs-3","col-sm-2","col-sm-pull-10",2,"text-align","center"],[1,"device_block"],[1,"col-xs-9","visible-xs"],[2,"margin-top","5px"],["backgroundColor","#C3323D",2,"margin-bottom","10px","display","inline-block"],[1,"fa","fa-power-off"],[1,"labels-container"],[1,"col-xs-12",2,"margin-bottom","5px"],[1,"pull-right","edit-labels"],[1,"pill-container"],[1,"edit-labels-dropdown"],[1,"col-xs-12","col-sm-7","xs-border-bottom"],[2,"padding-top","15px"],[1,"row","col-xs-12","col-sm-5"],[1,"col-xs-6","col-sm-12","sm-border-bottom"],[3,"formGroup"],[1,"col-xs-6","col-sm-12"],[2,"margin-bottom","5px"],["type","button",1,"btn","btn-primary","btn-labeled",2,"margin-top","5px","padding-right","30px","margin-left","0 !important",3,"disabled"],["type","button",1,"btn","btn-warning","btn-labeled",2,"margin-top","5px","padding-right","23px"],[1,"pull-right","edit-labels",3,"click"],[3,"backgroundColor","textColor"],[1,"labels-loading-overlay"],[1,"edit-labels-header"],[1,"pull-right","fa","fa-remove",3,"click"],[1,"edit-labels-list"],[1,"list-label",3,"label-edit-icon"],[1,"edit-labels-list-footer"],[1,"add-new-label",3,"click"],[1,"delete-label",3,"click"],[1,"fa","fa-spinner","fa-4x","fa-spin"],[1,"list-label",3,"click"],[1,"label-dot"],[1,"pull-right","fa","fa-trash-o","label-delete-icon",2,"top","2px"],[1,"pull-right","fa","fa-edit","label-edit-icon"],[1,"pull-right","fa","fa-check"],[1,"pull-right","fa","fa-trash-o","label-delete-icon",2,"top","2px",3,"click"],[1,"pull-right","fa","fa-edit","label-edit-icon",3,"click"],[1,"pull-left","fa","fa-arrow-left",3,"click"],[1,"add-label-form"],[3,"onSubmit","formGroup"],[1,"form-group"],["type","text","formControlName","title","placeholder","Label Name",1,"form-control"],[1,"label-color-block-container"],[1,"label-color-block",3,"background-color"],[1,"input-group","form-group"],[1,"input-group-addon","label-color-preview"],["type","text","formControlName","bgcolor","placeholder","Hex Color ex: #a4a4a4","maxlength","7",1,"form-control"],["type","submit",1,"btn","btn-success","pull-right",3,"disabled"],["type","submit",1,"btn","btn-primary","pull-right",3,"disabled"],[1,"btn","btn-default",3,"click"],[1,"label-color-block",3,"click"],["type","submit",1,"btn","btn-success","pull-right",3,"click","disabled"],["type","submit",1,"btn","btn-primary","pull-right",3,"click","disabled"],[1,"col-xs-4","text-right"],[1,"col-xs-8"],[1,"txt-color-red"],["formControlName","notify_update","label","Automatically Update",3,"readonly"],["formControlName","disabled","label","Disabled",3,"readonly"],["type","button",1,"btn","btn-primary","btn-labeled",2,"margin-top","5px","padding-right","30px","margin-left","0 !important",3,"click","disabled"],[1,"btn-label"],[1,"fa","fa-fw","fa-refresh"],["type","button",1,"btn","btn-warning","btn-labeled",2,"margin-top","5px","padding-right","23px",3,"click"],[1,"fa","fa-fw","fa-retweet"],["type","button",1,"btn","btn-success","btn-labeled",2,"margin-top","5px","padding-right","25px",3,"click"],[1,"fa","fa-fw","fa-paper-plane"],["type","button",1,"btn","btn-default","btn-labeled",2,"margin-top","5px","padding-right","15px",3,"click"],[1,"fa","fa-fw","fa-arrow-right"],["label","Select New or Registered",1,"col-xs-12",3,"ngModelChange","ngModel"],["value","1"],["value","0"],["novalidate","",3,"formGroup"],["ueFloatInput","","formControlName","name","type","text","label","Name of Device","id","Name of Device","placeholder","Name of Device","errorMessage","Name of device is required",3,"error"],["formControlName","device_type","label","Select Type","errorMessage","Please select one option",1,"col-xs-12",3,"error"],["value",""],["value","standalone"],["value","direct"],["value","managed"],["ueFloatInput","","formControlName","apikey","type","text","label","API Key","id","Source Key","placeholder","API Key","errorMessage","API key is required",3,"error"],["ueFloatInput","","formControlName","apipin","type","text","label","API PIN","id","PIN","placeholder","API PIN","errorMessage","API PIN is required",3,"error"],["formControlName","make","label","Select Device Make","placeholder","Device Make","errorMessage","Make is required",1,"col-xs-12",3,"error"],["value","Ingenico"],["formControlName","server_key","label","Select a Server Key","placeholder","Server Key","errorMessage","Server is required",1,"col-xs-12",3,"error"],[3,"value"],["ueFloatInput","","formControlName","device_ip","type","text","label","Device IP","id","Device IP","placeholder","Device IP","ueTooltip",'you can also add a port number - e.g "209.37.23.125:3000"',"tooltipPosition","bottom","errorMessage","Please enter a valid Device IP",3,"error"],["formControlName","env","label","Select an Environment","placeholder","Environment","errorMessage","Environment is required",1,"col-xs-12",3,"error"],["value","sandbox"],["value","production"],["ueFloatInput","","formControlName","device_key","type","text","label","Device Key","id","Device Key","placeholder","Device Key","errorMessage","Device Key is required",3,"error"],["btnClass","danger","icon","fa fa-trash",3,"onClick"],["btnClass","success","icon","fa fa-check",3,"onClick","disabled"],["btnClass","primary","icon","fa fa-save",3,"onClick","disabled"],["label","Completely remove device.",3,"ngModelChange","ngModel"],["label","I understand this will completely remove this device.",3,"ngModelChange","ngModel"]],template:function(t,i){if(1&t){const r=pe();f(0,"route-modal",7,0)(2,"modal-header"),V(3,nbe,3,0,"div"),f(4,"div",8),V(5,Dbe,53,28,"div",9),V(6,Sbe,3,0,"div",10),p()(),f(7,"modal-content"),O(8,"ue-alert"),V(9,kbe,1,0,"ue-loader"),V(10,twe,28,11,"div",11),V(11,lwe,10,4,"div",11),p(),f(12,"modal-footer")(13,"ue-button",12),W("onClick",function(){return i.closeModal()}),w(14,"Close"),p(),V(15,cwe,2,0,"ue-button",13),V(16,dwe,2,1,"ue-button",14),V(17,uwe,2,1,"ue-button",15),p()(),f(18,"modal",16,1),W("onOpen",function(){return i.open()})("onClose",function(){return i.close()}),f(20,"modal-header")(21,"h1",17),w(22),p()(),f(23,"modal-content")(24,"div",11)(25,"div",10),w(26),p()()(),f(27,"modal-footer")(28,"ue-button",18),W("onClick",function(){ne(r);return ie($n(19).close())}),w(29,"Close"),p(),f(30,"ue-button",19),W("onClick",function(){return i.updateDeviceVersion()}),w(31," Confirm"),p()()(),f(32,"modal",16,2),W("onOpen",function(){return i.deleteModalOpen()})("onClose",function(){return i.deleteModalClose()}),f(34,"modal-header")(35,"h1"),w(36),p()(),f(37,"modal-content"),V(38,gwe,4,3,"div",11),V(39,_we,3,0,"div",11),p(),f(40,"modal-footer")(41,"ue-button",18),W("onClick",function(){ne(r);return ie($n(33).close())}),w(42,"Close"),p(),f(43,"ue-button",20),W("onClick",function(){return i.deleteDevice()}),w(44,"Confirm"),p()()(),f(45,"modal",null,3)(47,"modal-header")(48,"h1",17),w(49,"Send Branding Package"),p()(),f(50,"modal-content")(51,"div",11)(52,"div",10),w(53," Enter the name of the branding package you would like to send to this device: "),p()(),f(54,"div",21)(55,"div",10)(56,"ue-float-input-container")(57,"input",22),Ui("ngModelChange",function(s){return ne(r),nr(i.brandingName,s)||(i.brandingName=s),ie(s)}),p()()()()(),f(58,"modal-footer")(59,"ue-button",18),W("onClick",function(){ne(r);return ie($n(46).close())}),w(60,"Close"),p(),f(61,"ue-button",23),W("onClick",function(){return i.assignBranding()}),w(62,"Send"),p()()(),f(63,"ue-confirm-modal",24,4),W("callBack",function(){return i.abandonChanges()}),p(),f(65,"ue-confirm-modal",25,5),W("callBack",function(){return i.updateLabel()}),p(),f(67,"ue-confirm-modal",26,6),W("callBack",function(){return i.labelDelete(null==i.labelDeleteTarget?null:i.labelDeleteTarget.key)}),p()}if(2&t){const r=$n(46),o=$n(64),s=$n(66),a=$n(68);Re("hide",i.deleteModalIsOpen||o.isOpen||s.isOpen||a.isOpen||r.isOpened),U("closeOnOutsideClick",!i.isNewAppWindow()&&(null==i.deviceForm?null:i.deviceForm.pristine))("closeOnEscape",!i.isNewAppWindow()&&(null==i.deviceForm?null:i.deviceForm.pristine))("hideCloseButton",!0),C(3),B(i.deviceError?3:-1),C(2),B(!i.isNew&&i.device?5:-1),C(),B(i.isNew?6:-1),C(3),B(i.isLoading?9:-1),C(),B(i.isNew||i.isLoading?-1:10),C(),B(i.isNew&&!i.isLoading?11:-1),C(4),B(i.showButton("delete")?15:-1),C(),B(i.showButton("apply")?16:-1),C(),B(i.showButton("save")?17:-1),C(5),We("Confirm Update: ",null==i.device?null:i.device.name),C(4),We(" You are about to send an update to ",null==i.device?null:i.device.name,". Are you sure you want to continue? "),C(10),We("Confirm Delete: ",null==i.device?null:i.device.name),C(2),B("deleted"!==(null==i.device?null:i.device.status)?38:-1),C(),B("deleted"===(null==i.device?null:i.device.status)?39:-1),C(4),U("disabled","managed"===(null==i.device?null:i.device.device_type)&&!i.hardDelete&&"deleted"!==(null==i.device?null:i.device.status)),C(14),Bi("ngModel",i.brandingName),C(4),U("disabled",0===i.brandingName.length),C(2),U("closeOnOutsideClick",!1)("closeOnEscape",!1)("hideCloseButton",!0),C(2),U("header",si("Confirm Edit: '",null==i.labelEditTarget?null:i.labelEditTarget.title,"' Label"))("closeOnOutsideClick",!1)("closeOnEscape",!1)("hideCloseButton",!0),C(2),U("header",si("Confirm Delete: '",null==i.labelDeleteTarget?null:i.labelDeleteTarget.title,"' Label"))("closeOnOutsideClick",!1)("closeOnEscape",!1)("hideCloseButton",!0)}},dependencies:[qi,Ka,Ja,qn,Ln,Wi,Qo,eo,Ci,Li,So,_c,Lr,Ir,Ur,In,gc,ns,yl,Ot,Bf,Wf,Eo,rs,uy],styles:['fieldset[_ngcontent-%COMP%]{margin-bottom:10px}ul[_ngcontent-%COMP%]{padding-left:0}a[_ngcontent-%COMP%]{color:#000}a.edit-labels[_ngcontent-%COMP%]:hover{color:#000;text-decoration:underline!important;cursor:pointer}.labels-container[_ngcontent-%COMP%]{padding-bottom:20px;margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#e5e5e5}.edit-labels-dropdown[_ngcontent-%COMP%]{position:absolute;z-index:1;border:1px solid lightgrey;border-radius:5px;width:275px;background-color:#fff;right:6px;top:30px;box-shadow:0 2px 4px #0000001a}.edit-labels-dropdown[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0}.edit-labels-header[_ngcontent-%COMP%]{text-align:center;border-bottom:1px solid lightgrey;margin:0 10px 10px;padding:5px 0 10px;font-size:15px}.edit-labels-header[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{margin-top:3px;color:#d3d3d3}.edit-labels-header[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]:hover{color:gray}.edit-labels-list[_ngcontent-%COMP%]{font-size:14px}.edit-labels-list[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{max-height:200px;overflow-y:scroll}.label-dot[_ngcontent-%COMP%]{display:inline-block;position:relative;top:2px;margin-right:10px;height:14px;width:14px;border-radius:7px;border:1px solid lightgray;background-color:#999}.list-label[_ngcontent-%COMP%]{padding:5px 10px}.list-label[_ngcontent-%COMP%]:hover{background-color:#d3d3d3;cursor:pointer}.list-label.label-edit-icon[_ngcontent-%COMP%]:hover{background-color:#fff;cursor:auto}.add-new-label[_ngcontent-%COMP%]{padding:10px 20px;text-align:center}.add-new-label[_ngcontent-%COMP%]:hover{background-color:#d3d3d3;cursor:pointer}.delete-label[_ngcontent-%COMP%]{padding:10px 20px;text-align:center;border-top:1px solid lightgrey}.delete-label[_ngcontent-%COMP%]:hover{background-color:#d3d3d3;cursor:pointer}.label-edit-icon[_ngcontent-%COMP%] .label-delete-icon[_ngcontent-%COMP%]:hover{color:red;cursor:pointer}.label-edit-icon[_ngcontent-%COMP%] .label-edit-icon[_ngcontent-%COMP%]:hover{color:#000;cursor:pointer}.list-label[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{position:relative;top:3px;color:gray}.edit-labels-list-footer[_ngcontent-%COMP%]{margin-top:10px;border-top:1px solid lightgrey}.add-label-form[_ngcontent-%COMP%]{padding:5px}.add-label-form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border-radius:2px!important}.label-color-block-container[_ngcontent-%COMP%]{border-radius:3px;margin-bottom:15px;font-size:0;overflow:hidden;width:263px}.label-color-block[_ngcontent-%COMP%]{display:inline-block;width:32.875px;height:33px}.label-color-preview[_ngcontent-%COMP%]{width:30px;border-top-left-radius:2px;border-bottom-left-radius:2px}.add-label-form[_ngcontent-%COMP%] .input-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border-top-left-radius:0!important;border-bottom-left-radius:0!important;width:232px}.labels-loading-overlay[_ngcontent-%COMP%]{position:absolute;z-index:2;height:100%;width:100%;border-radius:5px;background-color:#0006}.labels-loading-overlay[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{position:relative;top:calc(50% - 26px);left:calc(50% - 26px);color:#fff}.input-group[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{z-index:auto}.pill-container[_ngcontent-%COMP%]{display:inline-block;margin:5px}.margintop_0[_ngcontent-%COMP%]{margin-top:0}.marginbot_0[_ngcontent-%COMP%]{margin-bottom:0}.make_inline[_ngcontent-%COMP%]{display:inline-block}.make_inline[_ngcontent-%COMP%]:nth-child(n){margin-right:13px}.header[_ngcontent-%COMP%]{margin-top:10px}.header_details[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-size:30px;margin-top:-5px;margin-bottom:5px;font-weight:400;color:#39719b;border:1px solid white;width:100%}.header_details[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(n){padding:0 5px 0 0}.header_details[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:block;padding:0 5px}.device_icon[_ngcontent-%COMP%]{font-size:3em}.device_block[_ngcontent-%COMP%]{display:block;position:relative;text-align:center;overflow:hidden}.deviceLink[_ngcontent-%COMP%]:before{content:" "}.deviceLink[_ngcontent-%COMP%]{position:relative}.deviceLink[_ngcontent-%COMP%]:after{content:" "}.deviceConnected[_ngcontent-%COMP%]{display:inline-block;font-size:3rem;margin:13px 0 10px;color:#999}.textConnected[_ngcontent-%COMP%]{color:#999}.deviceConnected.connected[_ngcontent-%COMP%], .textConnected.connected[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_successConnect;animation-duration:3s;animation-iteration-count:infinite;animation-direction:normal}.deviceConnected.offline[_ngcontent-%COMP%], .textConnected.offline[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_offlineDisconnect;animation-duration:3s;animation-iteration-count:infinite;animation-direction:normal}.deviceConnected.online[_ngcontent-%COMP%] .textConnected.online[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_onlineStatus;animation-duration:3s;animation-iteration-count:infinite;animation-direction:normal}.glyph[_ngcontent-%COMP%]{font-size:40px}@keyframes _ngcontent-%COMP%_successConnect{0%{color:#21c522}50%{color:#999}to{color:#21c522}}@keyframes _ngcontent-%COMP%_offlineDisconnect{0%{color:#db261a}50%{color:#999}to{color:#db261a}}@keyframes _ngcontent-%COMP%_onlineStatus{0%{color:#3c7299}50%{color:#999}to{color:#3c7299}}@media only screen and (max-width:767px){fieldset.xs-border-bottom[_ngcontent-%COMP%]{padding-bottom:20px;border-bottom:1px solid #e5e5e5;margin-bottom:20px}}@media only screen and (min-width:768px){fieldset.sm-border-bottom[_ngcontent-%COMP%]{padding-bottom:20px;border-bottom:1px solid #e5e5e5;margin-bottom:20px}}@media only screen and (min-width:992px){.header_details[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-block}}']})}}const ywe=[{path:"",component:h1,children:[{path:":key",component:f1}]}];class p1{static{this.\u0275fac=function(t){return new(t||p1)}}static{this.\u0275mod=Ct({type:p1})}static{this.\u0275inj=dt({imports:[fi.forChild(ywe),fi]})}}class m1{static{this.\u0275fac=function(t){return new(t||m1)}}static{this.\u0275mod=Ct({type:m1})}static{this.\u0275inj=dt({providers:[bl,os],imports:[js,p1]})}}class fy{transform(e){let t=e,i=Math.floor(t/86400);t%=86400;let r=Math.floor(t/3600);t%=3600;let o=Math.floor(t/60);return t%=60,i>0?`${i}d ${r}h ${o}m ${t}s`:r>0?`${r}h ${o}m ${t}s`:o>0?`${o}m ${t}s`:`${t}s`}static{this.\u0275fac=function(t){return new(t||fy)}}static{this.\u0275pipe=Mr({name:"ueSeconds",type:fy,pure:!0,standalone:!1})}}function vwe(n,e){if(1&n){const t=pe();f(0,"ue-button",18),W("onClick",function(){ne(t);return ie(A().onRowSelect("new"))}),w(1,"Add Device Server"),p()}}function bwe(n,e){if(1&n&&(f(0,"ue-pill",19),w(1),p()),2&n){const t=e.rowData;U("backgroundColor",A().getStatusColor(t.status)),C(),De(t.status)}}function wwe(n,e){if(1&n&&(w(0),qb(1,"ueSeconds")),2&n){We(" ",ak(1,1,e.rowData.uptime)," ")}}class g1{constructor(e,t,i,r,o){this.serverService=e,this.router=t,this.route=i,this.ueWindow=r,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 Lg}ngOnInit(){this.subscribeProgressModal(),this.updateServiceQueryParams(),this.getServerList(),this.routerEventsSubscription=this.router.events.pipe(Pi(e=>e instanceof Er&&(0===this.route.children.length||0===this.servers.length)),Pi(()=>!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(r=>r)),this.selectedRows.map(r=>{t.push(r.key)});let i=[];for(let r=0;r{this.dataForExport.push("serial,devicekey,device_name,merchant_company,apikey_masked,device_type,server_name,status,env"),r.map(a=>{const l=a.slice(94,-1);this.dataForExport.push(l)});const o=this.dataForExport.join(""),s=document.createElement("a");s.href="data:attachment/csv;charset=utf-8,"+encodeURIComponent(o),s.target="_self",s.download="servers.csv",document.body.appendChild(s),s.click(),s.remove()}),t=[],i=[],this.dataForExport=[],this.selectedRows=[]}keepSelectedServers(e){this.selectedRows=e.filter(t=>-1!==this.selectedRows.map(i=>i.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(" "),i=t[t.length-1];this.suggestions=this.serverService.getSuggestions(i)}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{this.\u0275fac=function(t){return new(t||g1)(G(os),G(St),G(ir),G(al),G(Un))}}static{this.\u0275cmp=Fe({type:g1,selectors:[["ue-server-list"]],viewQuery:function(t,i){if(1&t&&qt(To,7)(Ot,7)(vl,7),2&t){let r;Ee(r=xe())&&(i.paginationComponent=r.first),Ee(r=xe())&&(i.alert=r.first),Ee(r=xe())&&(i.progressModalComponent=r.first)}},standalone:!1,decls:25,vars:11,consts:[[1,"row"],[1,"col-xs-6","col-lg-3"],["title","Device Servers","titleIcon","fa fa-fw fa-database"],[1,"col-xs-12","col-sm-12","col-md-12","col-lg-9","text-right","margintop15"],["dropdownClasses","text-left",2,"margin-right","5px",3,"getFilterSuggestions","updateFilter","formControlRef","suggestions","cancelIcon"],["btnClass","primary","icon","fa fa-refresh",1,"buttonPadding",3,"onClick"],["btnClass","primary","icon","fa fa-download",1,"buttonPadding",3,"onClick"],["btnClass","success","icon","fa fa-plus",1,"buttonPadding"],[1,"col-xs-12"],[3,"sort","updateCheckedRows","onRowSelect","value","sortField","sortDir","gettingData","checkedRows","menuItemsAll","menuItemsSelected"],["field","name","header","Server Name"],["field","status","header","Status"],["ueTemplate","body"],["field","env","header","Environment"],["field","uptime","header","Uptime"],["field","clientip","header","Client IP"],["field","revision","header","Revision"],[3,"goToPage"],["btnClass","success","icon","fa fa-plus",1,"buttonPadding",3,"onClick"],[3,"backgroundColor"]],template:function(t,i){1&t&&(f(0,"div",0)(1,"div",1),O(2,"ue-section-title",2),p(),f(3,"div",3)(4,"ue-table-filter",4),W("getFilterSuggestions",function(o){return i.getFilterSuggestions(o)})("updateFilter",function(o){return i.updateFilter(o)}),p(),f(5,"ue-button",5),W("onClick",function(){return i.refreshList()}),w(6,"Refresh"),p(),f(7,"ue-button",6),W("onClick",function(){return i.exportDevices(!0)}),w(8,"Export All"),p(),V(9,vwe,2,0,"ue-button",7),p()(),O(10,"ue-alert")(11,"ue-progress-modal"),f(12,"div",0)(13,"div",8)(14,"ue-table",9),W("sort",function(o){return i.onSort(o)})("updateCheckedRows",function(o){return i.updateCheckedRows(o)})("onRowSelect",function(o){return i.onRowSelect(o.key)}),O(15,"ue-column",10),f(16,"ue-column",11),en(17,bwe,2,2,"ng-template",12),p(),O(18,"ue-column",13),f(19,"ue-column",14),en(20,wwe,2,3,"ng-template",12),p(),O(21,"ue-column",15)(22,"ue-column",16),p()()(),f(23,"ue-pagination",17),W("goToPage",function(o){return i.goToPage(o)}),p(),O(24,"router-outlet")),2&t&&(C(4),U("formControlRef",i.filterControl)("suggestions",i.suggestions)("cancelIcon",!0),C(5),B(i.canCreate?9:-1),C(5),U("value",i.servers)("sortField",i.serverService.queryParams.sort)("sortDir",i.serverService.queryParams.sortDir)("gettingData",i.isLoading)("checkedRows",i.selectedRows)("menuItemsAll",i.menuItemsAll)("menuItemsSelected",i.menuItemsSelected))},dependencies:[Xo,sl,ya,In,To,is,Mu,Ot,Wf,vl,Co,fy],styles:[".buttonPadding[_ngcontent-%COMP%]{padding-right:5px}"]})}}const Cwe=["modal"];class _1{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{this.\u0275fac=function(t){return new(t||_1)(G(os),G(St))}}static{this.\u0275cmp=Fe({type:_1,selectors:[["ue-delete-server-modal"]],viewQuery:function(t,i){if(1&t&&qt(Cwe,7)(Ot,7),2&t){let r;Ee(r=xe())&&(i.modal=r.first),Ee(r=xe())&&(i.alert=r.first)}},inputs:{server:"server"},standalone:!1,decls:27,vars:4,consts:[["modal",""],[3,"onOpen","onClose"],[1,"txt-color-red"],["label","I understand this will completely remove this server.",3,"ngModelChange","ngModel"],["btnClass","default","icon","fa fa-times",3,"onClick"],["btnClass","danger","icon","fa fa-check",3,"onClick","disabled"]],template:function(t,i){if(1&t){const r=pe();f(0,"modal",1,0),W("onOpen",function(){return i.onConfirmDeleteModalOpen()})("onClose",function(){return i.onConfirmDeleteModalClose()}),f(2,"modal-header")(3,"h1"),w(4),p()(),f(5,"modal-content"),O(6,"ue-alert"),f(7,"div")(8,"span",2)(9,"strong"),w(10,"Warning!"),p(),w(11," You are about to delete this server, which will also delete the "),f(12,"strong"),w(13),p(),w(14," device(s) connected to it. The server and its connected devices will no longer exist and this action cannot be undone. "),p(),O(15,"br")(16,"br"),w(17," Are you sure you want to continue? "),O(18,"br")(19,"br"),f(20,"ue-checkbox",3),Ui("ngModelChange",function(s){return ne(r),nr(i.hardDeleteConfirmed,s)||(i.hardDeleteConfirmed=s),ie(s)}),p(),O(21,"br"),p()(),f(22,"modal-footer")(23,"ue-button",4),W("onClick",function(){ne(r);return ie($n(1).close())}),w(24,"Close"),p(),f(25,"ue-button",5),W("onClick",function(){return i.deleteServer()}),w(26,"Delete"),p()()()}2&t&&(C(4),We("Confirm Delete: ",null==i.server?null:i.server.name),C(9),De(null==i.server?null:i.server.connected_devices),C(7),Bi("ngModel",i.hardDeleteConfirmed),C(5),U("disabled",!i.hardDeleteConfirmed))},dependencies:[Ln,eo,So,Lr,Ir,Ur,In,gc,Ot],encapsulation:2})}}const Mwe=["modal"];function Dwe(n,e){if(1&n&&(f(0,"h1",3),w(1),p()),2&n){const t=A();C(),De(t.server.name)}}function Swe(n,e){1&n&&(f(0,"h1"),w(1,"Add Device Server"),p())}function kwe(n,e){1&n&&(f(0,"div")(1,"div",12)(2,"div",13),O(3,"div",14),p()()())}function Twe(n,e){if(1&n&&(f(0,"div",4)(1,"div",15)(2,"p"),O(3,"i",16),w(4),p()(),f(5,"div",17)(6,"div",18),O(7,"i"),p()(),f(8,"div",19)(9,"div",4)(10,"strong",20),w(11,"Client IP:"),p(),f(12,"span",21),w(13),p()(),f(14,"div",4)(15,"strong",20),w(16,"Environment:"),p(),f(17,"span",21),w(18),p()(),f(19,"div",4)(20,"strong",20),w(21,"Uptime:"),p(),f(22,"span",21),w(23),qb(24,"ueSeconds"),p()(),f(25,"div",4)(26,"strong",20),w(27,"Revision:"),p(),f(28,"span",21),w(29),p()(),f(30,"div",4)(31,"strong",20),w(32,"Connected:"),p(),f(33,"span",21),w(34),p()(),f(35,"div",4)(36,"strong",20),w(37,"Registered:"),p(),f(38,"span",21),w(39),p()()()()),2&n){const t=A();C(2),Cn(si("text-left serverinfo ",t.server.status)),C(2),We(" ",t.server.status," "),C(3),Cn(si("fa fa-server serverType ",t.server.status)),C(6),De(t.server.clientip),C(5),De(t.server.env),C(5),De(ak(24,13,t.server.uptime)),C(6),De(t.server.revision),C(5),De(t.server.connected_devices),C(5),De(t.server.registered_devices)}}function Ewe(n,e){if(1&n&&(f(0,"div",4)(1,"form",22)(2,"div",15)(3,"div",4)(4,"div",15)(5,"ue-float-input-container"),O(6,"input",23),p()(),f(7,"div",15)(8,"ue-float-input-container"),O(9,"input",24),p()(),f(10,"ue-float-label-select",25)(11,"option",26),w(12,"Select One"),p(),f(13,"option",27),w(14,"Sandbox"),p(),f(15,"option",28),w(16,"Production"),p()()()()()()),2&n){const t=A();C(),U("formGroup",t.serverForm),C(5),U("error",(t.showValidation||t.serverForm.get("name").touched)&&t.serverForm.get("name").invalid),C(3),U("error",(t.showValidation||t.serverForm.get("pairing_code").touched)&&t.serverForm.get("pairing_code").invalid),C(),U("error",(t.showValidation||t.serverForm.get("env").touched)&&t.serverForm.get("env").invalid)}}function xwe(n,e){if(1&n){const t=pe();f(0,"ue-button",29),W("onClick",function(){ne(t),A();return ie($n(19).open())}),w(1,"Delete"),p()}if(2&n){U("disabled",A().isLoading)}}function Lwe(n,e){if(1&n){const t=pe();f(0,"ue-button",30),W("onClick",function(){ne(t);return ie(A().exportDevices())}),w(1,"Export Devices"),p()}}function Iwe(n,e){if(1&n){const t=pe();f(0,"ue-button",31),W("onClick",function(){ne(t);return ie(A().refreshServer())}),w(1,"Refresh"),p()}}function Pwe(n,e){if(1&n){const t=pe();f(0,"ue-button",32),W("onClick",function(){ne(t);return ie(A().saveServer(!1))}),w(1,"Apply"),p()}if(2&n){U("disabled",A().serverForm.pristine)}}function Awe(n,e){if(1&n){const t=pe();f(0,"ue-button",33),W("onClick",function(){ne(t);return ie(A().saveServer(!0))}),w(1,"Save"),p()}if(2&n){U("disabled",A().serverForm.pristine)}}class y1{constructor(e,t,i,r,o,s){this.router=e,this.serverService=t,this.route=i,this.formBuilder=r,this.ueWindow=o,this.authService=s,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:["",Be.required],pairing_code:["",Be.required],env:["",Be.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{this.\u0275fac=function(t){return new(t||y1)(G(St),G(os),G(ir),G(Ii),G(al),G(Un))}}static{this.\u0275cmp=Fe({type:y1,selectors:[["ue-server-detail"]],viewQuery:function(t,i){if(1&t&&qt(Ot,7)(Mwe,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first),Ee(r=xe())&&(i.modal=r.first)}},standalone:!1,decls:20,vars:16,consts:[["modal",""],["confirmDeleteModal",""],[3,"closeOnOutsideClick","closeOnEscape","hideCloseButton"],[1,"textblue"],[1,"row"],["btnClass","danger","icon","fa fa-trash",1,"pull-left",3,"disabled"],["btnClass","default","icon","fa fa-remove",3,"onClick"],["btnClass","primary","icon","fa fa-download"],["btnClass","success","icon","fa fa-refresh"],["btnClass","primary","icon","fa fa-check",3,"disabled"],["btnClass","success","icon","fa fa-save",3,"disabled"],[3,"server"],[1,"progress","progress_bar"],[1,"progress","progress-striped","active"],["role","progressbar",1,"progress-bar","progressbar",2,"width","100%"],[1,"col-xs-12"],[1,"fa","fa-power-off"],[1,"col-xs-12","col-md-4","text-center"],[1,"server-block"],[1,"col-xs-12","col-md-8"],[1,"col-xs-4"],[1,"col-xs-8"],["novalidate","",3,"formGroup"],["ueFloatInput","","formControlName","name","type","text","label","Name","id","Name","placeholder","Name","errorMessage","Name is required",3,"error"],["ueFloatInput","","formControlName","pairing_code","type","text","label","Pairing Code","id","Pairing Code","placeholder","Pairing Code","errorMessage","Pairing Code is required",3,"error"],["formControlName","env","label","Select an Environment","placeholder","Environment","errorMessage","Environment is required",1,"col-xs-12",3,"error"],["value",""],["value","sandbox"],["value","production"],["btnClass","danger","icon","fa fa-trash",1,"pull-left",3,"onClick","disabled"],["btnClass","primary","icon","fa fa-download",3,"onClick"],["btnClass","success","icon","fa fa-refresh",3,"onClick"],["btnClass","primary","icon","fa fa-check",3,"onClick","disabled"],["btnClass","success","icon","fa fa-save",3,"onClick","disabled"]],template:function(t,i){if(1&t&&(f(0,"route-modal",2,0)(2,"modal-header"),V(3,Dwe,2,1,"h1",3),V(4,Swe,2,0,"h1"),p(),f(5,"modal-content"),O(6,"ue-alert"),V(7,kwe,4,0,"div"),V(8,Twe,40,15,"div",4),V(9,Ewe,17,4,"div",4),p(),f(10,"modal-footer"),V(11,xwe,2,1,"ue-button",5),f(12,"ue-button",6),W("onClick",function(){return i.closeModal()}),w(13,"Close"),p(),V(14,Lwe,2,0,"ue-button",7),V(15,Iwe,2,0,"ue-button",8),V(16,Pwe,2,1,"ue-button",9),V(17,Awe,2,1,"ue-button",10),p()(),O(18,"ue-delete-server-modal",11,1)),2&t){Re("hide",$n(19).isOpen),U("closeOnOutsideClick",!i.isNewAppWindow())("closeOnEscape",!i.isNewAppWindow())("hideCloseButton",!0),C(3),B(!i.isNew&&i.server?3:-1),C(),B(i.isNew?4:-1),C(3),B(i.isNew||i.server?-1:7),C(),B(!i.isNew&&i.server?8:-1),C(),B(i.isNew?9:-1),C(2),B(i.isNew||i.viewOnly||!i.canDelete?-1:11),C(3),B(i.isNew||!i.server||i.viewOnly?-1:14),C(),B(i.isNew||!i.server||i.viewOnly?-1:15),C(),B(i.isNew&&i.canCreate?16:-1),C(),B(i.isNew&&i.canCreate?17:-1),C(),U("server",i.server)}},dependencies:[qi,Ka,Ja,qn,Ln,Wi,Ci,Li,_c,Lr,Ir,Ur,In,yl,Ot,Eo,rs,_1,fy],styles:["ul[_ngcontent-%COMP%]{padding-left:0}.serverinfo[_ngcontent-%COMP%], .server-block[_ngcontent-%COMP%]{margin-bottom:15px}.serverinfo[_ngcontent-%COMP%]{color:#999}.server-block[_ngcontent-%COMP%] .serverType[_ngcontent-%COMP%]{font-size:5rem;color:#999}.server-block[_ngcontent-%COMP%] .serverType.connected[_ngcontent-%COMP%], .serverinfo.connected[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_connected;animation-duration:3s;animation-iteration-count:infinite;animation-direction:normal}@keyframes _ngcontent-%COMP%_connected{0%{color:#21c522}50%{color:#999}to{color:#21c522}}"]})}}const Owe=[{path:"",component:g1,children:[{path:":key",component:y1}]}];class v1{static{this.\u0275fac=function(t){return new(t||v1)}}static{this.\u0275mod=Ct({type:v1})}static{this.\u0275inj=dt({imports:[fi.forChild(Owe),fi]})}}class b1{static{this.\u0275fac=function(t){return new(t||b1)}}static{this.\u0275mod=Ct({type:b1})}static{this.\u0275inj=dt({providers:[os],imports:[js,v1]})}}class wl{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 i=this.filterColumns.filter(r=>-1!==(r=r.toLowerCase()).indexOf(e));return[].concat(i)}static{this.\u0275fac=function(t){return new(t||wl)(Ce(Gi))}}static{this.\u0275prov=ue({token:wl,factory:wl.\u0275fac})}}const Rwe=["confirmDeletionModal"];function Nwe(n,e){if(1&n){const t=pe();f(0,"ue-button",17),W("onClick",function(){ne(t);return ie(A().onRowSelect("new"))}),w(1,"Invite User"),p()}}function Fwe(n,e){if(1&n&&(f(0,"span"),w(1),p()),2&n){const t=e.rowData;C(),De(t.contact)}}function Ywe(n,e){if(1&n&&(f(0,"span"),w(1),p()),2&n){const t=e.rowData;C(),De(t.email)}}function jwe(n,e){if(1&n&&(f(0,"span"),w(1),p()),2&n){const t=e.rowData;C(),De(t.company)}}class w1{constructor(e,t,i,r){this.userService=e,this.router=t,this.route=i,this.authService=r,this.users=[],this.filterControl=new Lg,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(Pi(e=>e instanceof Er&&(0===this.route.children.length||0===this.users.length)),Pi(()=>!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(" "),i=t[t.length-1];this.suggestions=this.userService.getSuggestions(i)}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{this.\u0275fac=function(t){return new(t||w1)(G(wl),G(St),G(ir),G(Un))}}static{this.\u0275cmp=Fe({type:w1,selectors:[["ue-user-list"]],viewQuery:function(t,i){if(1&t&&qt(Ot,7)(To,7)(Rwe,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first),Ee(r=xe())&&(i.paginationComponent=r.first),Ee(r=xe())&&(i.confirmDeletionModal=r.first)}},standalone:!1,decls:22,vars:12,consts:[["contextMenuRef",""],["confirmDeletionModal",""],[1,"row"],[1,"col-xs-6","col-lg-3"],["title","Users","titleIcon","fa fa-fw fa-users"],[1,"col-xs-12","col-sm-12","col-md-12","col-lg-9","text-right","margintop15"],["dropdownClasses","text-left",2,"margin-right","5px",3,"getFilterSuggestions","updateFilter","formControlRef","suggestions","cancelIcon"],["btnClass","primary","icon","fa fa-plus",1,"pull-right",2,"margin-left","5px"],[1,"col-xs-12"],[3,"menuItems"],[3,"sort","onRowSelect","value","sortField","sortDir","gettingData","contextMenuRef"],["field","contact","header","Contact"],["ueTemplate","body"],["field","email","header","Email"],["field","company","header","Company"],[3,"goToPage"],["body","Are you sure you would like to remove this user from your company profile?","icon","fa fa-check","btnClass","warning","buttonLabel","Confirm",3,"callBack","header"],["btnClass","primary","icon","fa fa-plus",1,"pull-right",2,"margin-left","5px",3,"onClick"]],template:function(t,i){if(1&t&&(f(0,"div",2)(1,"div",3),O(2,"ue-section-title",4),p(),f(3,"div",5)(4,"ue-table-filter",6),W("getFilterSuggestions",function(o){return i.getFilterSuggestions(o)})("updateFilter",function(o){return i.updateFilter(o)}),p(),V(5,Nwe,2,0,"ue-button",7),p()(),O(6,"ue-alert"),f(7,"div",2)(8,"div",8),O(9,"ue-context-menu",9,0),f(11,"ue-table",10),W("sort",function(o){return i.onSort(o)})("onRowSelect",function(o){return i.onRowSelect(o.key)}),f(12,"ue-column",11),en(13,Fwe,2,1,"ng-template",12),p(),f(14,"ue-column",13),en(15,Ywe,2,1,"ng-template",12),p(),f(16,"ue-column",14),en(17,jwe,2,1,"ng-template",12),p()()()(),f(18,"ue-pagination",15),W("goToPage",function(o){return i.goToPage(o)}),p(),O(19,"router-outlet"),f(20,"ue-confirm-modal",16,1),W("callBack",function(){return i.deleteUser(i.contextMenuTarget)}),p()),2&t){const r=$n(10);C(4),U("formControlRef",i.filterControl)("suggestions",i.suggestions)("cancelIcon",!0),C(),B(i.canCreate?5:-1),C(4),U("menuItems",i.contextMenuItems),C(2),U("value",i.users)("sortField",i.userService.queryParams.sort)("sortDir",i.userService.queryParams.sortDir)("gettingData",i.isLoading)("contextMenuRef",r),C(9),U("header",si("Confirm Delete: ",null==i.contextMenuTarget?null:i.contextMenuTarget.contact))}},dependencies:[Xo,sl,ya,Vf,In,To,ns,is,Mu,Ot,Co],encapsulation:2})}}const Hwe=["myModal"],Vwe=["confirmDeletionModal"],Bwe=["confirmAbandonModal"];function Uwe(n,e){1&n&&(f(0,"div")(1,"div",13)(2,"div",14),O(3,"div",15),p()()())}function zwe(n,e){if(1&n&&(f(0,"div")(1,"form",16)(2,"h3",17),w(3,"User Info"),p(),f(4,"div",18)(5,"div",19)(6,"div",20)(7,"p",21),w(8,"Name: "),p()(),f(9,"div",22)(10,"p"),w(11),p()()()(),f(12,"div",23)(13,"div",19)(14,"div",20)(15,"p",21),w(16,"Email: "),p()(),f(17,"div",24)(18,"p"),w(19),p()()()(),f(20,"h3"),w(21,"Permissions"),p(),f(22,"h5",25),w(23,"Devices:"),p(),f(24,"div",26)(25,"div",27)(26,"div",28)(27,"label"),O(28,"input",29),f(29,"span"),w(30,"disabled"),p()()()(),f(31,"div",27)(32,"div",28)(33,"label"),O(34,"input",30),f(35,"span"),w(36,"read only"),p()()()(),f(37,"div",27)(38,"div",28)(39,"label"),O(40,"input",31),f(41,"span"),w(42,"read and write"),p()()()()(),f(43,"h5",25),w(44,"Endpoints:"),p(),f(45,"div",32)(46,"div",27)(47,"div",28)(48,"label"),O(49,"input",33),f(50,"span"),w(51,"disabled"),p()()()(),f(52,"div",27)(53,"div",28)(54,"label"),O(55,"input",34),f(56,"span"),w(57,"read only"),p()()()(),f(58,"div",27)(59,"div",28)(60,"label"),O(61,"input",35),f(62,"span"),w(63,"read and write"),p()()()()(),f(64,"h5",25),w(65,"Profile:"),p(),f(66,"div",36)(67,"div",27)(68,"div",28)(69,"label"),O(70,"input",37),f(71,"span"),w(72,"disabled"),p()()()(),f(73,"div",27)(74,"div",28)(75,"label"),O(76,"input",38),f(77,"span"),w(78,"read only"),p()()()(),f(79,"div",27)(80,"div",28)(81,"label"),O(82,"input",39),f(83,"span"),w(84,"read and write"),p()()()()(),f(85,"h5",25),w(86,"Servers:"),p(),f(87,"div",40)(88,"div",27)(89,"div",28)(90,"label"),O(91,"input",41),f(92,"span"),w(93,"disabled"),p()()()(),f(94,"div",27)(95,"div",28)(96,"label"),O(97,"input",42),f(98,"span"),w(99,"read only"),p()()()(),f(100,"div",27)(101,"div",28)(102,"label"),O(103,"input",43),f(104,"span"),w(105,"read and write"),p()()()()(),f(106,"h5",25),w(107,"Users:"),p(),f(108,"div",44)(109,"div",27)(110,"div",28)(111,"label"),O(112,"input",45),f(113,"span"),w(114,"disabled"),p()()()(),f(115,"div",27)(116,"div",28)(117,"label"),O(118,"input",46),f(119,"span"),w(120,"read only"),p()()()(),f(121,"div",27)(122,"div",28)(123,"label"),O(124,"input",47),f(125,"span"),w(126,"read and write"),p()()()()()()()),2&n){const t=A();U("@slideDown",void 0),C(),U("formGroup",t.userForm),C(10),De(t.contact),C(8),De(t.email),C(15),Zn("disabled",t.disableRead("devices")),C(6),Zn("disabled",t.disableWrite("devices")),C(15),Zn("disabled",t.disableRead("endpoints")),C(6),Zn("disabled",t.disableWrite("endpoints")),C(15),Zn("disabled",t.disableRead("profile")),C(6),Zn("disabled",t.disableWrite("profile")),C(15),Zn("disabled",t.disableRead("servers")),C(6),Zn("disabled",t.disableWrite("servers")),C(15),Zn("disabled",t.disableRead("members")),C(6),Zn("disabled",t.disableWrite("members"))}}function $we(n,e){if(1&n){const t=pe();f(0,"ue-button",48),W("onClick",function(){ne(t);return ie(A().confirmDelete())}),w(1,"Remove"),p()}if(2&n){U("disabled",A().isLoading)}}function Wwe(n,e){if(1&n){const t=pe();f(0,"ue-button",49),W("onClick",function(){ne(t);return ie(A().saveChanges(!1))}),w(1,"Apply"),p()}if(2&n){U("disabled",A().userForm.pristine)}}function qwe(n,e){if(1&n){const t=pe();f(0,"ue-button",50),W("onClick",function(){ne(t);return ie(A().saveChanges(!0))}),w(1,"Save"),p()}if(2&n){U("disabled",A().userForm.pristine)}}class C1{constructor(e,t,i,r,o){this.route=e,this.userService=t,this.formBuilder=i,this.router=r,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",Be.required],perm_endpoints:["disabled",Be.required],perm_profile:["disabled",Be.required],perm_servers:["disabled",Be.required],perm_users:["disabled",Be.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(i=>{this.alert.newAlert("Success!","User information has been successfully saved","success"),e&&this.router.navigate(["/users/members"],{queryParams:{updated:!0}})},i=>{this.alert.newAlert("Error!",i.error,"danger")})}}getUpdatedControls(e){const t={};for(const i in e.controls)e.controls[i].dirty&&(t[i]=e.controls[i].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(" "),i=t[0].split("-"),r=t[1].split(":");return`${i[1].replace("0","")}/${i[2]}/${i[0]} ${r[0].replace("0","")}:${r[1]}`}static{this.\u0275fac=function(t){return new(t||C1)(G(ir),G(wl),G(Ii),G(St),G(Un))}}static{this.\u0275cmp=Fe({type:C1,selectors:[["ue-user-detail"]],viewQuery:function(t,i){if(1&t&&qt(Ot,7)(Hwe,7)(Vwe,7)(Bwe,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first),Ee(r=xe())&&(i.myModal=r.first),Ee(r=xe())&&(i.confirmDeletionModal=r.first),Ee(r=xe())&&(i.confirmAbandonModal=r.first)}},standalone:!1,decls:27,vars:18,consts:[["myModal",""],["confirmAbandonModal",""],["confirmDeletionModal",""],[3,"closeOnOutsideClick","closeOnEscape","hideCloseButton"],[1,"row"],[1,"col-xs-12","col-sm-7","col-md-7","col-lg-7"],[1,"text-right","col-xs-12","col-sm-5","col-md-5","col-lg-5"],["btnClass","danger","icon","fa fa-trash",1,"pull-left",3,"disabled"],["btnClass","default","icon","fa fa-remove",3,"onClick","disabled"],["btnClass","primary","icon","fa fa-check",3,"disabled"],["btnClass","success","icon","fa fa-floppy-o",3,"disabled"],["header","Confirm Close","body","You currently have unsaved changes. Are you sure you want to discard changes to this form without saving?","icon","fa fa-check","btnClass","warning","buttonLabel","Abandon Changes",3,"callBack","closeOnOutsideClick","closeOnEscape","hideCloseButton"],["body","Are you sure you would like to remove this user from your company profile?","icon","fa fa-check","btnClass","warning","buttonLabel","Confirm",3,"callBack","header"],[1,"progress","progress_bar"],[1,"progress","progress-striped","active"],["role","progressbar",1,"progress-bar","progressbar",2,"width","100%"],["novalidate","",3,"formGroup"],[2,"margin-top","0"],["id","contact",1,"row"],[1,"row","col-xs-12","col-sm-12","col-md-12","col-lg-12"],[1,"text-right","col-xs-2","col","sm-2","co","md-2","col-lg-2"],[1,"static-label"],[1,"col-xs-10","col","sm-10","co","md-10","col-lg-10"],["id","email",1,"row"],[1,"col-xs-10","col","sm-10","col-md-10","col-lg-10"],[1,"textblue"],["id","perm_devices",1,"row"],[1,"col-xs-12","col-sm-4","col-md-4","col-lg-4"],[1,"radio"],["type","radio","name","perm_devices","value","disabled","formControlName","perm_devices"],["type","radio","name","perm_devices","value","read","formControlName","perm_devices"],["type","radio","name","perm_devices","value","readwrite","formControlName","perm_devices"],["id","perm_endpoints",1,"row"],["type","radio","name","perm_endpoints","value","disabled","formControlName","perm_endpoints"],["type","radio","name","perm_endpoints","value","read","formControlName","perm_endpoints"],["type","radio","name","perm_endpoints","value","readwrite","formControlName","perm_endpoints"],["id","perm_profile",1,"row"],["type","radio","name","perm_profile","value","disabled","formControlName","perm_profile"],["type","radio","name","perm_profile","value","read","formControlName","perm_profile"],["type","radio","name","perm_profile","value","readwrite","formControlName","perm_profile"],["id","perm_servers",1,"row"],["type","radio","name","perm_servers","value","disabled","formControlName","perm_servers"],["type","radio","name","perm_servers","value","read","formControlName","perm_servers"],["type","radio","name","perm_servers","value","readwrite","formControlName","perm_servers"],["id","perm_users",1,"row"],["type","radio","name","perm_users","value","disabled","formControlName","perm_users"],["type","radio","name","perm_users","value","read","formControlName","perm_users"],["type","radio","name","perm_users","value","readwrite","formControlName","perm_users"],["btnClass","danger","icon","fa fa-trash",1,"pull-left",3,"onClick","disabled"],["btnClass","primary","icon","fa fa-check",3,"onClick","disabled"],["btnClass","success","icon","fa fa-floppy-o",3,"onClick","disabled"]],template:function(t,i){if(1&t&&(f(0,"route-modal",3,0)(2,"modal-header")(3,"div",4)(4,"div",5)(5,"h1"),w(6,"Member Information Detail"),p()(),f(7,"div",6)(8,"p")(9,"strong"),w(10,"Added: "),p(),f(11,"span"),w(12),p()()()()(),f(13,"modal-content"),O(14,"ue-alert"),V(15,Uwe,4,0,"div"),V(16,zwe,127,14,"div"),p(),f(17,"modal-footer"),V(18,$we,2,1,"ue-button",7),f(19,"ue-button",8),W("onClick",function(){return i.onCloseModal()}),w(20,"Close"),p(),V(21,Wwe,2,1,"ue-button",9),V(22,qwe,2,1,"ue-button",10),p()(),f(23,"ue-confirm-modal",11,1),W("callBack",function(){return i.onCloseModal()}),p(),f(25,"ue-confirm-modal",12,2),W("callBack",function(){return i.deleteUser()}),p()),2&t){const r=$n(24);Re("hide",$n(26).isOpen||r.isOpen),U("closeOnOutsideClick",i.userForm.pristine&&!i.isNewAppWindow())("closeOnEscape",i.userForm.pristine&&!i.isNewAppWindow())("hideCloseButton",!0),C(5),U("@slideDown",void 0),C(7),De(i.created),C(3),B(i.isLoading?15:-1),C(),B(i.isLoading?-1:16),C(2),B(i.canDelete?18:-1),C(),U("disabled",i.isLoading),C(2),B(i.canEdit?21:-1),C(),B(i.canEdit?22:-1),C(),U("closeOnOutsideClick",!1)("closeOnEscape",!1)("hideCloseButton",!0),C(2),U("header",si("Confirm Delete: ",i.contact))}},dependencies:[qi,qn,Bd,Ln,Wi,Ci,Li,_c,Lr,Ir,Ur,In,ns,Ot],styles:[".text-right[_ngcontent-%COMP%]{text-align:right}.static-label[_ngcontent-%COMP%]{color:#3c7299;margin-bottom:0}input[_ngcontent-%COMP%]:checked ~ span[_ngcontent-%COMP%]{font-weight:700}input[_ngcontent-%COMP%]:disabled ~ span[_ngcontent-%COMP%]{color:#d3d3d3}"],data:{animation:[fg("slideDown",[Pd("void",qa({height:"0",overflow:"hidden"})),Ad("void => *",Id("200ms ease-out"))])]}})}}const Gwe=["confirmDeletionModal"];function Qwe(n,e){if(1&n&&(f(0,"span"),w(1),p()),2&n){const t=e.rowData;Re("expired",A().checkExpired(t.expires)),C(),De(t.email)}}function Kwe(n,e){if(1&n&&(f(0,"span"),w(1),p()),2&n){const t=e.rowData,i=A();Re("expired",i.checkExpired(t.expires)),C(),De(i.cleanDate(t.created))}}function Jwe(n,e){if(1&n&&(f(0,"span"),w(1),p()),2&n){const t=e.rowData,i=A();Re("expired",i.checkExpired(t.expires)),C(),De(i.cleanDate(t.expires))}}class M1{constructor(e,t,i){this.userService=e,this.router=t,this.route=i,this.invites=[],this.filterControl=new Lg,this.contextMenuItems=[{icon:"fa fa-edit",label:"Edit",command:r=>{this.onRowSelect(r.key)}},{icon:"glyphicon glyphicon-trash",label:"Delete",command:r=>{this.contextMenuTarget=r,this.confirmDeletionModal.open()}}]}ngOnInit(){this.updateServiceQueryParams(),this.getInvites(),this.routerEventsSubscription=this.router.events.pipe(Pi(e=>e instanceof Er&&(0===this.route.children.length||0===this.invites.length)),Pi(()=>!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(" "),i=t[t.length-1];this.suggestions=this.userService.getSuggestions(i)}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(" "),i=t[0].split("-"),r=t[1].split(":");return`${i[1].replace("0","")}/${i[2]}/${i[0]} ${r[0].replace("0","")}:${r[1]}`}checkExpired(e){const t=Date.now();return!(Date.parse(e.split(" ").join("T"))>t)}static{this.\u0275fac=function(t){return new(t||M1)(G(wl),G(St),G(ir))}}static{this.\u0275cmp=Fe({type:M1,selectors:[["ue-invite-list"]],viewQuery:function(t,i){if(1&t&&qt(Ot,7)(To,7)(Gwe,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first),Ee(r=xe())&&(i.paginationComponent=r.first),Ee(r=xe())&&(i.confirmDeletionModal=r.first)}},standalone:!1,decls:23,vars:11,consts:[["contextMenuRef",""],["confirmDeletionModal",""],[1,"row"],[1,"col-xs-6","col-lg-3"],["title","Invites","titleIcon","fa fa-fw fa-users"],[1,"col-xs-12","col-sm-12","col-md-12","col-lg-9","text-right","margintop15"],["dropdownClasses","text-left",2,"margin-right","5px",3,"getFilterSuggestions","updateFilter","formControlRef","suggestions","cancelIcon"],["btnClass","primary","icon","fa fa-plus",1,"pull-right",2,"margin-left","5px",3,"onClick"],[1,"col-xs-12"],[3,"menuItems"],[3,"sort","onRowSelect","value","sortField","sortDir","gettingData","contextMenuRef"],["field","email","header","Email"],["ueTemplate","body"],["field","created","header","Date Added"],["field","expires","header","Date Expires"],[3,"goToPage"],["body","Are you sure you would like to remove this invite from your company profile?","icon","fa fa-check","btnClass","warning","buttonLabel","Confirm",3,"callBack","header"]],template:function(t,i){if(1&t&&(f(0,"div",2)(1,"div",3),O(2,"ue-section-title",4),p(),f(3,"div",5)(4,"ue-table-filter",6),W("getFilterSuggestions",function(o){return i.getFilterSuggestions(o)})("updateFilter",function(o){return i.updateFilter(o)}),p(),f(5,"ue-button",7),W("onClick",function(){return i.onRowSelect("new")}),w(6,"Invite User"),p()()(),O(7,"ue-alert"),f(8,"div",2)(9,"div",8),O(10,"ue-context-menu",9,0),f(12,"ue-table",10),W("sort",function(o){return i.onSort(o)})("onRowSelect",function(o){return i.onRowSelect(o.key)}),f(13,"ue-column",11),en(14,Qwe,2,3,"ng-template",12),p(),f(15,"ue-column",13),en(16,Kwe,2,3,"ng-template",12),p(),f(17,"ue-column",14),en(18,Jwe,2,3,"ng-template",12),p()()()(),f(19,"ue-pagination",15),W("goToPage",function(o){return i.goToPage(o)}),p(),O(20,"router-outlet"),f(21,"ue-confirm-modal",16,1),W("callBack",function(){return i.deleteInvite(i.contextMenuTarget)}),p()),2&t){const r=$n(11);C(4),U("formControlRef",i.filterControl)("suggestions",i.suggestions)("cancelIcon",!0),C(6),U("menuItems",i.contextMenuItems),C(2),U("value",i.invites)("sortField",i.userService.invitesQueryParams.sort)("sortDir",i.userService.invitesQueryParams.sortDir)("gettingData",i.isLoading)("contextMenuRef",r),C(9),U("header",si("Confirm Delete: ",null==i.contextMenuTarget?null:i.contextMenuTarget.email))}},dependencies:[Xo,sl,ya,Vf,In,To,ns,is,Mu,Ot,Co],styles:[".expired[_ngcontent-%COMP%]{color:#8b0000}"]})}}const Zwe=["myModal"],Xwe=["confirmDeletionModal"],eCe=["confirmAbandonModal"];function tCe(n,e){1&n&&(f(0,"div",5)(1,"h1"),w(2,"Invite User"),p()())}function nCe(n,e){if(1&n&&(f(0,"div",12)(1,"h1"),w(2,"Invitation Details"),p()(),f(3,"div",13)(4,"p")(5,"strong"),w(6,"Invited: "),p(),f(7,"span",14),w(8),p(),O(9,"br"),f(10,"strong"),w(11,"Expires: "),p(),f(12,"span",15),w(13),p()()()),2&n){const t=A();C(8),De(t.created),C(5),De(t.expires)}}function iCe(n,e){1&n&&(f(0,"div")(1,"div",16)(2,"div",17),O(3,"div",18),p()()())}function rCe(n,e){if(1&n&&(f(0,"div")(1,"h3",44),w(2,"User Info: "),p(),f(3,"div",4)(4,"div",45)(5,"ue-float-input-container"),O(6,"input",46),p()()()()),2&n){const t=A(2);C(6),U("error",t.inviteForm.get("email").touched&&t.inviteForm.get("email").invalid)}}function oCe(n,e){if(1&n){const t=pe();f(0,"div",20)(1,"h3",44),w(2,"User Info"),p(),f(3,"div",4)(4,"div",47)(5,"div",48)(6,"p",49),w(7,"Email: "),p()(),f(8,"div",50)(9,"p"),w(10),p()(),f(11,"div",51)(12,"ue-button",52),W("click",function(){ne(t);return ie(A(2).resendInvite())}),w(13,"Resend Invite"),p()()()()()}if(2&n){const t=A(2);C(10),De(t.inviteForm.get("email").value)}}function sCe(n,e){if(1&n&&(f(0,"div")(1,"form",19),V(2,rCe,7,1,"div"),V(3,oCe,14,1,"div",20),f(4,"h3"),w(5,"Permissions"),p(),f(6,"h5",21),w(7,"Devices:"),p(),f(8,"div",22)(9,"div",23)(10,"div",24)(11,"label"),O(12,"input",25),f(13,"span"),w(14,"disabled"),p()()()(),f(15,"div",23)(16,"div",24)(17,"label"),O(18,"input",26),f(19,"span"),w(20,"read only"),p()()()(),f(21,"div",23)(22,"div",24)(23,"label"),O(24,"input",27),f(25,"span"),w(26,"read and write"),p()()()()(),f(27,"h5",21),w(28,"Endpoints:"),p(),f(29,"div",28)(30,"div",23)(31,"div",24)(32,"label"),O(33,"input",29),f(34,"span"),w(35,"disabled"),p()()()(),f(36,"div",23)(37,"div",24)(38,"label"),O(39,"input",30),f(40,"span"),w(41,"read only"),p()()()(),f(42,"div",23)(43,"div",24)(44,"label"),O(45,"input",31),f(46,"span"),w(47,"read and write"),p()()()()(),f(48,"h5",21),w(49,"Profile:"),p(),f(50,"div",32)(51,"div",23)(52,"div",24)(53,"label"),O(54,"input",33),f(55,"span"),w(56,"disabled"),p()()()(),f(57,"div",23)(58,"div",24)(59,"label"),O(60,"input",34),f(61,"span"),w(62,"read only"),p()()()(),f(63,"div",23)(64,"div",24)(65,"label"),O(66,"input",35),f(67,"span"),w(68,"read and write"),p()()()()(),f(69,"h5",21),w(70,"Servers:"),p(),f(71,"div",36)(72,"div",23)(73,"div",24)(74,"label"),O(75,"input",37),f(76,"span"),w(77,"disabled"),p()()()(),f(78,"div",23)(79,"div",24)(80,"label"),O(81,"input",38),f(82,"span"),w(83,"read only"),p()()()(),f(84,"div",23)(85,"div",24)(86,"label"),O(87,"input",39),f(88,"span"),w(89,"read and write"),p()()()()(),f(90,"h5",21),w(91,"Users:"),p(),f(92,"div",40)(93,"div",23)(94,"div",24)(95,"label"),O(96,"input",41),f(97,"span"),w(98,"disabled"),p()()()(),f(99,"div",23)(100,"div",24)(101,"label"),O(102,"input",42),f(103,"span"),w(104,"read only"),p()()()(),f(105,"div",23)(106,"div",24)(107,"label"),O(108,"input",43),f(109,"span"),w(110,"read and write"),p()()()()()()()),2&n){const t=A();U("@slideDown",void 0),C(),U("formGroup",t.inviteForm),C(),B(t.isNew?2:-1),C(),B(t.isNew?-1:3)}}function aCe(n,e){if(1&n){const t=pe();f(0,"ue-button",53),W("onClick",function(){ne(t);return ie(A().confirmDelete())}),w(1,"Remove"),p()}if(2&n){U("disabled",A().isLoading)}}class D1{constructor(e,t,i,r,o){this.route=e,this.userService=t,this.formBuilder=i,this.router=r,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:["",[Be.required,Be.email]],perm_devices:["disabled",Be.required],perm_endpoints:["disabled",Be.required],perm_profile:["disabled",Be.required],perm_servers:["disabled",Be.required],perm_users:["disabled",Be.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(i=>{this.alert.newAlert("Success!","Invite information has been successfully saved","success"),e&&this.router.navigate(["/users/invites"],{queryParams:{updated:!0}})},i=>{this.alert.newAlert("Error!",i.error,"danger")})}}getUpdatedControls(e){const t={};for(const i in e.controls)e.controls[i].dirty&&(t[i]=e.controls[i].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(" "),i=t[0].split("-"),r=t[1].split(":");return`${i[1].replace("0","")}/${i[2]}/${i[0]} ${r[0].replace("0","")}:${r[1]}`}checkExpired(e){const t=Date.now();return!(Date.parse(e.split(" ").join("T"))>t)}static{this.\u0275fac=function(t){return new(t||D1)(G(ir),G(wl),G(Ii),G(St),G(Un))}}static{this.\u0275cmp=Fe({type:D1,selectors:[["ue-invite-detail"]],viewQuery:function(t,i){if(1&t&&qt(Ot,7)(Zwe,7)(Xwe,7)(eCe,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first),Ee(r=xe())&&(i.myModal=r.first),Ee(r=xe())&&(i.confirmDeletionModal=r.first),Ee(r=xe())&&(i.confirmAbandonModal=r.first)}},standalone:!1,decls:22,vars:18,consts:[["myModal",""],["confirmAbandonModal",""],["confirmDeletionModal",""],[3,"closeOnOutsideClick","closeOnEscape","hideCloseButton"],[1,"row"],[1,"pull-left","col-xs-12","col-sm-12","col-md-12","col-lg-12"],["btnClass","danger","icon","fa fa-trash",1,"pull-left",3,"disabled"],["btnClass","default","icon","fa fa-remove",3,"onClick","disabled"],["btnClass","primary","icon","fa fa-check",3,"onClick","disabled"],["btnClass","success","icon","fa fa-floppy-o",3,"onClick","disabled"],["header","Confirm Close","body","You currently have unsaved changes. Are you sure you want to discard changes to this form without saving?","icon","fa fa-check","btnClass","warning","buttonLabel","Abandon Changes",3,"callBack","closeOnOutsideClick","closeOnEscape","hideCloseButton"],["body","Are you sure you would like to delete this invite from your company profile?","icon","fa fa-check","btnClass","warning","buttonLabel","Confirm",3,"callBack","header"],[1,"pull-left","col-xs-12","col-sm-7","col-md-7","col-lg-7",2,"overflow-x","scroll"],[1,"text-right","col-xs-12","col-sm-5","col-md-5","col-lg-5"],["id","created"],["id","expires"],[1,"progress","progress_bar"],[1,"progress","progress-striped","active"],["role","progressbar",1,"progress-bar","progressbar",2,"width","100%"],["novalidate","",3,"formGroup"],["id","email"],[1,"textblue"],["id","perm_devices",1,"row"],[1,"col-xs-12","col-sm-4","col-md-4","col-lg-4"],[1,"radio"],["type","radio","name","perm_devices","value","disabled","formControlName","perm_devices"],["type","radio","name","perm_devices","value","read","formControlName","perm_devices"],["type","radio","name","perm_devices","value","readwrite","formControlName","perm_devices"],["id","perm_endpoints",1,"row"],["type","radio","name","perm_endpoints","value","disabled","formControlName","perm_endpoints"],["type","radio","name","perm_endpoints","value","read","formControlName","perm_endpoints"],["type","radio","name","perm_endpoints","value","readwrite","formControlName","perm_endpoints"],["id","perm_profile",1,"row"],["type","radio","name","perm_profile","value","disabled","formControlName","perm_profile"],["type","radio","name","perm_profile","value","read","formControlName","perm_profile"],["type","radio","name","perm_profile","value","readwrite","formControlName","perm_profile"],["id","perm_servers",1,"row"],["type","radio","name","perm_servers","value","disabled","formControlName","perm_servers"],["type","radio","name","perm_servers","value","read","formControlName","perm_servers"],["type","radio","name","perm_servers","value","readwrite","formControlName","perm_servers"],["id","perm_users",1,"row"],["type","radio","name","perm_users","value","disabled","formControlName","perm_users"],["type","radio","name","perm_users","value","read","formControlName","perm_users"],["type","radio","name","perm_users","value","readwrite","formControlName","perm_users"],[2,"margin-top","0"],[1,"col-xs-12","col-sm-12","col-md-12","col-lg-12"],["ueFloatInput","","formControlName","email","type","text","label","Email","id","email","placeholder","Email","errorMessage","email is required",3,"error"],[1,"row","col-xs-12","col-sm-12","col-md-12","col-lg-12"],[1,"text-right","col-xs-2","col","sm-2","co","md-2","col-lg-2"],[1,"static-label"],[1,"col-xs-6","col-sm-6","co-md-6","col-lg-6"],[1,"col-xs-4","col-sm-4","co-md-4","col-lg-4"],["btnClass","primary","icon","fa fa-paper-plane",1,"pull-right",3,"click"],["btnClass","danger","icon","fa fa-trash",1,"pull-left",3,"onClick","disabled"]],template:function(t,i){if(1&t&&(f(0,"route-modal",3,0)(2,"modal-header")(3,"div",4),V(4,tCe,3,0,"div",5),V(5,nCe,14,2),p()(),f(6,"modal-content"),O(7,"ue-alert"),V(8,iCe,4,0,"div"),V(9,sCe,111,4,"div"),p(),f(10,"modal-footer"),V(11,aCe,2,1,"ue-button",6),f(12,"ue-button",7),W("onClick",function(){return i.onCloseModal()}),w(13,"Close"),p(),f(14,"ue-button",8),W("onClick",function(){return i.saveChanges(!1)}),w(15,"Apply"),p(),f(16,"ue-button",9),W("onClick",function(){return i.saveChanges(!0)}),w(17,"Save"),p()()(),f(18,"ue-confirm-modal",10,1),W("callBack",function(){return i.onCloseModal()}),p(),f(20,"ue-confirm-modal",11,2),W("callBack",function(){return i.deleteInvite()}),p()),2&t){const r=$n(19);Re("hide",$n(21).isOpen||r.isOpen),U("closeOnOutsideClick",i.inviteForm.pristine&&!i.isNewAppWindow())("closeOnEscape",i.inviteForm.pristine&&!i.isNewAppWindow())("hideCloseButton",!0),C(4),B(i.isNew?4:-1),C(),B(i.isNew?-1:5),C(3),B(i.isLoading?8:-1),C(),B(i.isLoading?-1:9),C(2),B(i.isNew?-1:11),C(),U("disabled",i.isLoading),C(2),U("disabled",i.inviteForm.pristine),C(2),U("disabled",i.inviteForm.pristine),C(2),U("closeOnOutsideClick",!1)("closeOnEscape",!1)("hideCloseButton",!0),C(2),U("header",si("Confirm Delete: ",i.inviteForm.get("email").value))}},dependencies:[qi,qn,Bd,Ln,Wi,Ci,Li,_c,Lr,Ir,Ur,In,ns,Ot,Eo,rs],styles:[".static-label[_ngcontent-%COMP%]{color:#3c7299;margin-bottom:0}.expired[_ngcontent-%COMP%]{color:#8b0000}input[_ngcontent-%COMP%]:checked ~ span[_ngcontent-%COMP%]{font-weight:700}input[_ngcontent-%COMP%]:disabled ~ span[_ngcontent-%COMP%]{color:#d3d3d3}"],data:{animation:[fg("slideDown",[Pd("void",qa({height:"0",overflow:"hidden"})),Ad("void => *",Id("200ms ease-out"))])]}})}}const lCe=[{path:"members",canActivate:Vs([Hs]),component:w1,children:[{path:":key",component:C1}]},{path:"invites",canActivate:Vs([Hs]),component:M1,children:[{path:":key",component:D1}]}];class S1{static{this.\u0275fac=function(t){return new(t||S1)}}static{this.\u0275mod=Ct({type:S1})}static{this.\u0275inj=dt({imports:[fi.forChild(lCe),fi]})}}class k1{static{this.\u0275fac=function(t){return new(t||k1)}}static{this.\u0275mod=Ct({type:k1})}static{this.\u0275inj=dt({providers:[wl],imports:[qo,js,S1]})}}class T1{constructor(){}ngOnInit(){}static{this.\u0275fac=function(t){return new(t||T1)}}static{this.\u0275cmp=Fe({type:T1,selectors:[["ue-not-found"]],standalone:!1,decls:11,vars:0,consts:[[1,"row"],[1,"col-md-4","col-md-offset-4","col-xs-8","col-xs-offset-2"],[1,"well","text-center"],[1,"loginTitle"]],template:function(t,i){1&t&&(O(0,"br")(1,"br")(2,"br"),f(3,"div",0)(4,"div",1)(5,"div",2)(6,"h2",3),w(7,"Page Not Found"),p(),w(8," The page you requested was not found. Please check your link and try again. "),O(9,"br")(10,"br"),p()()())},encapsulation:2})}}const cCe=()=>["/login"];function dCe(n,e){if(1&n&&(f(0,"li")(1,"a",14),w(2,"Help"),p()()),2&n){const t=A();C(),U("href",t.helpLink,ra)}}class E1{constructor(e,t,i){this.router=e,this.ueTheme=t,this.authService=i,this.showNavbar=!1}ngOnInit(){this.authService.isInvitation?this.title="Developer Activation":this.router.events.subscribe(e=>{e instanceof Er&&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{this.\u0275fac=function(t){return new(t||E1)(G(St),G(ll),G(Un))}}static{this.\u0275cmp=Fe({type:E1,selectors:[["ue-log-in"]],standalone:!1,decls:20,vars:9,consts:[[1,"navbar","navbar-default","navbar-fixed-top"],["id","logo-container",1,"container"],["alt","logo",3,"src"],[1,"navbar-text"],[1,"glyphicon","glyphicon-lock"],[1,"nav","navbar-nav","navbar-right","navfull"],["id","loginButton",1,"btn","btn-sm","btn-default",3,"routerLink"],["id","navsmallbutton",1,"btn","btn-small",3,"click"],[1,"glyphicon","glyphicon-align-justify"],[1,"slideDown"],[1,"container","mainArea"],[1,"ueGenericLogin","panel","panel-default","form-signin"],[1,"panel-heading"],[1,"panel-body"],["id","helpLink","target","_blank",3,"href"]],template:function(t,i){1&t&&(f(0,"div",0)(1,"div",1),O(2,"img",2),f(3,"p",3),O(4,"span",4),w(5," Secured Login Form"),p(),f(6,"ul",5),V(7,dCe,3,1,"li"),f(8,"li")(9,"a",6),w(10,"Login"),p()()()()(),f(11,"button",7),W("click",function(){return i.showNavbar=!i.showNavbar}),O(12,"span",8),p(),f(13,"div",9)(14,"div",10)(15,"div",11)(16,"div",12),w(17),p(),f(18,"div",13),O(19,"router-outlet"),p()()()()),2&t&&(C(2),U("src",i.logoUrl,ra),C(4),Re("showNavbar",i.showNavbar),C(),B(i.showHelpLink?7:-1),C(2),U("routerLink",sa(8,cCe)),C(4),Re("marginTop220",i.showNavbar),C(4),We(" ",i.title," "))},dependencies:[Co,Mo],styles:["#logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:130px;height:39px;margin:10px;float:left}#loginButton[_ngcontent-%COMP%]{display:inline-block;padding:12px 25px;line-height:20px;color:#fff;text-align:center;vertical-align:middle;background-repeat:repeat-x;background-color:#26ae90;border-radius:5px;box-shadow:0 -2px #0000001a inset;font-size:12px;text-transform:uppercase;font-weight:700}.navbar-default[_ngcontent-%COMP%]{text-transform:uppercase;background-color:#fff;font-size:1em}.navbar-nav[_ngcontent-%COMP%]{margin:5px}.navbar-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}@media(max-width:767px){.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{text-align:center}.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{clear:both}.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{clear:both;float:none!important}.navfull[_ngcontent-%COMP%]{overflow:hidden;max-height:0px;transition:max-height .5s ease-in-out}.navbar-text[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}#navsmallbutton[_ngcontent-%COMP%]{display:block!important}}@media(min-width:767px){.navfull[_ngcontent-%COMP%]{display:block!important;visibility:visible}}.showNavbar[_ngcontent-%COMP%]{display:block!important;max-height:500px}#navsmallbutton[_ngcontent-%COMP%]{position:fixed;top:10px;left:10px;z-index:9999;background-color:#f5f5f5;display:none}.slideDown[_ngcontent-%COMP%]{margin-top:60px;transition:margin-top .5s ease-in-out}.marginTop220[_ngcontent-%COMP%]{margin-top:220px}.form-signin[_ngcontent-%COMP%]{max-width:350px;margin:0 auto}.dropdown-menu[_ngcontent-%COMP%]{font-size:.8em}.ueGenericLogin[_ngcontent-%COMP%]{background-color:#fff;box-shadow:3px 3px 10px 3px #0003}.buttonFullWidth[_ngcontent-%COMP%]{width:100%}.messageBlockNatural[_ngcontent-%COMP%]{background-color:#f3f7fc;color:#55606f}.alert[_ngcontent-%COMP%]{text-align:left}.help-block[_ngcontent-%COMP%]{font-size:.8em}.mainArea[_ngcontent-%COMP%]{margin-top:150px}input[_ngcontent-%COMP%]:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px white inset;background-color:#fff!important}.ueSubmitButton[_ngcontent-%COMP%], .ueTextInput[_ngcontent-%COMP%], .input-group-addon[_ngcontent-%COMP%], .messageBlockNatural[_ngcontent-%COMP%]{border-radius:4px!important}.input-group-addon[_ngcontent-%COMP%]{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.ueTextInput[_ngcontent-%COMP%]{border-top-left-radius:0!important;border-bottom-left-radius:0!important}span[_ngcontent-%COMP%] i.fa[_ngcontent-%COMP%]{min-width:14px}"]})}}function uCe(n,e){if(1&n&&(f(0,"div")(1,"h4"),w(2),p(),w(3),p()),2&n){const t=A();Cn(si("alert alert-",t.alert.type)),C(2),De(t.alert.title),C(),We(" ",t.alert.message," ")}}class xo{constructor(){}newAlert(e,t,i){this.alert={},this.alert.title=e,this.alert.message=t,this.alert.type=i}static{this.\u0275fac=function(t){return new(t||xo)}}static{this.\u0275cmp=Fe({type:xo,selectors:[["ue-log-in-alert"]],standalone:!1,decls:1,vars:1,consts:[[3,"class"]],template:function(t,i){1&t&&V(0,uCe,4,5,"div",0),2&t&&B(i.alert?0:-1)},styles:[".alert-danger[_ngcontent-%COMP%]{color:#a94442;background-color:#f2dede;border-color:#ebccd1!important}.alert[_ngcontent-%COMP%]{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}"]})}}const hCe=()=>["/lostpassword"];function fCe(n,e){1&n&&(f(0,"div",2)(1,"div",9)(2,"span",10),O(3,"i",11),p(),O(4,"input",12),p()())}function pCe(n,e){1&n&&(f(0,"div",3)(1,"div",9)(2,"span",10),O(3,"i",13),p(),O(4,"input",14),p()())}function mCe(n,e){1&n&&(f(0,"div",4)(1,"div",9)(2,"span",10),O(3,"i",15),p(),O(4,"input",16),p()())}function gCe(n,e){if(1&n&&(f(0,"button",5),w(1),p()),2&n){const t=A();U("disabled",t.loginForm.invalid),C(),De(t.loginMsg)}}function _Ce(n,e){if(1&n){const t=pe();f(0,"button",17),W("click",function(){ne(t);return ie(A().goLogin())}),w(1,"I have an account"),p()}}function yCe(n,e){if(1&n){const t=pe();f(0,"button",18),W("click",function(){ne(t);return ie(A().register())}),w(1,"Register for an account"),p()}}function vCe(n,e){if(1&n){const t=pe();f(0,"button",18),W("click",function(){ne(t);return ie(A().goBack())}),w(1,"Cancel"),p()}}function bCe(n,e){1&n&&(f(0,"div"),O(1,"hr"),f(2,"p",19),w(3," Forgot Password? "),O(4,"br"),f(5,"a",20),w(6,"Send new password please!"),p()()()),2&n&&(C(5),U("routerLink",sa(1,hCe)))}class py{constructor(e,t,i,r){this.formBuilder=e,this.authService=t,this.router=i,this.route=r,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:["",Be.required],password:["",Be.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=>{"2fa_required"===e.state?this.openMfaModal():"no_company"===e.state?this.router.navigate(["/register-company"]):(this.authService.isLoggedIn=!0,this.router.navigate(["/dashboard"]))},e=>{1===e.errorcode?this.alert.newAlert("Password/Username Incorrect","Please remember that usernames and passwords are case-sensitive.","danger"):this.alert.newAlert("Error!",e.error,"danger")})}openMfaModal(){this.mfaModal&&this.mfaModal.openForLogin()}onMfaComplete(){this.authService.isLoggedIn=!0,this.router.navigate(["/dashboard"])}static{this.\u0275fac=function(t){return new(t||py)(G(Ii),G(Un),G(St),G(ir))}}static{this.\u0275cmp=Fe({type:py,selectors:[["ue-log-in-form"]],viewQuery:function(t,i){if(1&t&&qt(xo,7)(Uf,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first),Ee(r=xe())&&(i.mfaModal=r.first)}},standalone:!1,decls:12,vars:9,consts:[["novalidate","",3,"ngSubmit","formGroup"],[1,"ueFormBlock"],["id","email",1,"form-group","ueControlGroup"],["id","password",1,"form-group","ueControlGroup"],[1,"form-group","ueControlGroup"],["id","ueLoginButton","type","submit","name","action","value","Login",1,"ueSubmitButton","btn","btn-primary","btn-large","buttonFullWidth",3,"disabled"],["id","ueGoLogin",1,"btn","btn-success","btn-large","buttonFullWidth"],[1,"ueSubmitButton","btn","btn-default","btn-large","buttonFullWidth",2,"margin-top","5px"],[3,"onClose"],[1,"controls","ueControls","input-group"],[1,"input-group-addon"],[1,"fa","fa-user"],["formControlName","username","type","text","placeholder","Email",1,"ueTextInput","form-control"],[1,"fa","fa-lock"],["formControlName","password","type","password","autocomplete","off","placeholder","Password",1,"ueTextInput","form-control"],[1,"fa","fa-key"],["formControlName","invite_token","type","text","autocomplete","off","placeholder","Activation Token",1,"ueTextInput","form-control"],["id","ueGoLogin",1,"btn","btn-success","btn-large","buttonFullWidth",3,"click"],[1,"ueSubmitButton","btn","btn-default","btn-large","buttonFullWidth",2,"margin-top","5px",3,"click"],[1,"help-block"],[3,"routerLink"]],template:function(t,i){1&t&&(O(0,"ue-log-in-alert"),f(1,"form",0),W("ngSubmit",function(){return i.submitForm()}),f(2,"div",1),V(3,fCe,5,0,"div",2),V(4,pCe,5,0,"div",3),V(5,mCe,5,0,"div",4),V(6,gCe,2,2,"button",5),V(7,_Ce,2,0,"button",6),V(8,yCe,2,0,"button",7),V(9,vCe,2,0,"button",7),V(10,bCe,7,2,"div"),p()(),f(11,"ue-mfa-modal",8),W("onClose",function(){return i.onMfaComplete()}),p()),2&t&&(C(),U("formGroup",i.loginForm),C(2),B(i.showLogin?3:-1),C(),B(i.showLogin?4:-1),C(),B(i.isInvitation&&i.showLogin?5:-1),C(),B(i.showLogin?6:-1),C(),B(i.showLogin?-1:7),C(),B(i.showRegister?8:-1),C(),B("Confirm Account"===i.loginMsg?9:-1),C(),B(i.isInvitation?-1:10))},dependencies:[Mo,qi,qn,Ln,Wi,Ci,Li,xo,Uf],styles:["#logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:130px;height:39px;margin:10px;float:left}#loginButton[_ngcontent-%COMP%]{display:inline-block;padding:12px 25px;line-height:20px;color:#fff;text-align:center;vertical-align:middle;background-repeat:repeat-x;background-color:#26ae90;border-radius:5px;box-shadow:0 -2px #0000001a inset;font-size:12px;text-transform:uppercase;font-weight:700}.navbar-default[_ngcontent-%COMP%]{text-transform:uppercase;background-color:#fff;font-size:1em}.navbar-nav[_ngcontent-%COMP%]{margin:5px}.navbar-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}@media(max-width:767px){.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{text-align:center}.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{clear:both}.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{clear:both;float:none!important}.navfull[_ngcontent-%COMP%]{overflow:hidden;max-height:0px;transition:max-height .5s ease-in-out}.navbar-text[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}#navsmallbutton[_ngcontent-%COMP%]{display:block!important}}@media(min-width:767px){.navfull[_ngcontent-%COMP%]{display:block!important;visibility:visible}}.showNavbar[_ngcontent-%COMP%]{display:block!important;max-height:500px}#navsmallbutton[_ngcontent-%COMP%]{position:fixed;top:10px;left:10px;z-index:9999;background-color:#f5f5f5;display:none}.slideDown[_ngcontent-%COMP%]{margin-top:60px;transition:margin-top .5s ease-in-out}.marginTop220[_ngcontent-%COMP%]{margin-top:220px}.form-signin[_ngcontent-%COMP%]{max-width:350px;margin:0 auto}.dropdown-menu[_ngcontent-%COMP%]{font-size:.8em}.ueGenericLogin[_ngcontent-%COMP%]{background-color:#fff;box-shadow:3px 3px 10px 3px #0003}.buttonFullWidth[_ngcontent-%COMP%]{width:100%}.messageBlockNatural[_ngcontent-%COMP%]{background-color:#f3f7fc;color:#55606f}.alert[_ngcontent-%COMP%]{text-align:left}.help-block[_ngcontent-%COMP%]{font-size:.8em}.mainArea[_ngcontent-%COMP%]{margin-top:150px}input[_ngcontent-%COMP%]:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px white inset;background-color:#fff!important}.ueSubmitButton[_ngcontent-%COMP%], .ueTextInput[_ngcontent-%COMP%], .input-group-addon[_ngcontent-%COMP%], .messageBlockNatural[_ngcontent-%COMP%]{border-radius:4px!important}.input-group-addon[_ngcontent-%COMP%]{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.ueTextInput[_ngcontent-%COMP%]{border-top-left-radius:0!important;border-bottom-left-radius:0!important}span[_ngcontent-%COMP%] i.fa[_ngcontent-%COMP%]{min-width:14px}"]})}}function wCe(n,e){1&n&&(f(0,"div",0)(1,"p"),w(2,"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."),p(),f(3,"p"),w(4,"If you already have a developer's account, "),f(5,"a",18),w(6,"login here"),p(),w(7,"."),p()())}function CCe(n,e){if(1&n&&(f(0,"div",15)(1,"div",4)(2,"span",5),O(3,"i",19),p(),O(4,"input",20),p()()),2&n){const t=A();C(4),Re("error",t.validationError&&t.registerForm.get("company").invalid)}}class my{constructor(e,t,i){this.fb=e,this.authService=t,this.router=i,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:["",Be.required],password:["",Be.required],password_confirm:["",Be.required],contact:["",Be.required],company:["",Be.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.";return void this.alert.newAlert("Registration Error!",t,"danger")}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{this.\u0275fac=function(t){return new(t||my)(G(Ii),G(Un),G(St))}}static{this.\u0275cmp=Fe({type:my,selectors:[["ue-register-form"]],viewQuery:function(t,i){if(1&t&&qt(xo,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first)}},standalone:!1,decls:34,vars:14,consts:[[1,"alert","messageBlockNatural"],["novalidate","",3,"ngSubmit","formGroup"],[1,"ueFormBlock"],[1,"form-group","ueControlGroup"],[1,"controls","ueControls","input-group"],[1,"input-group-addon"],[1,"fa","fa-envelope"],["formControlName","email","type","text","placeholder","*Email",1,"ueTextInput","form-control"],[1,"fa","fa-lock"],["formControlName","password","type","password","autocomplete","off","placeholder","*Password",1,"ueTextInput","form-control"],["formControlName","password_confirm","type","password","autocomplete","off","placeholder","*Confirm Password",1,"ueTextInput","form-control"],[1,"fa","fa-user"],["formControlName","contact","type","text","autocomplete","off","placeholder","*Name",1,"ueTextInput","form-control"],[1,"fa","fa-building"],["formControlName","company","type","text","autocomplete","off","placeholder","*Company",1,"ueTextInput","form-control"],[1,"form-group","ueControlGroup",2,"margin-top","10px"],["type","submit","name","action",1,"ueSubmitButton","btn","btn-primary","btn-large","buttonFullWidth",2,"margin-top","5px",3,"disabled"],[1,"ueSubmitButton","btn","btn-default","btn-large","buttonFullWidth",2,"margin-top","5px",3,"click"],["routerLink","/login"],[1,"fa","fa-key"],["formControlName","invite_token","type","text","autocomplete","off","placeholder","*Invitation Token",1,"ueTextInput","form-control"]],template:function(t,i){1&t&&(O(0,"ue-log-in-alert"),V(1,wCe,8,0,"div",0),f(2,"form",1),W("ngSubmit",function(){return i.register()}),f(3,"div",2)(4,"div",3)(5,"div",4)(6,"span",5),O(7,"i",6),p(),O(8,"input",7),p()(),f(9,"div",3)(10,"div",4)(11,"span",5),O(12,"i",8),p(),O(13,"input",9),p()(),f(14,"div",3)(15,"div",4)(16,"span",5),O(17,"i",8),p(),O(18,"input",10),p()(),f(19,"div",3)(20,"div",4)(21,"span",5),O(22,"i",11),p(),O(23,"input",12),p()(),f(24,"div",3)(25,"div",4)(26,"span",5),O(27,"i",13),p(),O(28,"input",14),p()(),V(29,CCe,5,2,"div",15),f(30,"button",16),w(31,"Register new account"),p(),f(32,"button",17),W("click",function(){return i.goBack()}),w(33,"Cancel"),p()()()),2&t&&(C(),B(i.isInvitation?-1:1),C(),U("formGroup",i.registerForm),C(6),Re("error",i.validationError&&i.registerForm.get("email").invalid),C(5),Re("error",i.validationError&&i.registerForm.get("password").invalid),C(5),Re("error",i.validationError&&i.registerForm.get("password_confirm").invalid),C(5),Re("error",i.validationError&&i.registerForm.get("contact").invalid),C(5),Re("error",i.validationError&&i.registerForm.get("company").invalid),C(),B(i.isInvitation?29:-1),C(),U("disabled",i.registerForm.invalid))},dependencies:[Mo,qi,qn,Ln,Wi,Ci,Li,xo],styles:[".size[_ngcontent-%COMP%]{font-size:10px}","#logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:130px;height:39px;margin:10px;float:left}#loginButton[_ngcontent-%COMP%]{display:inline-block;padding:12px 25px;line-height:20px;color:#fff;text-align:center;vertical-align:middle;background-repeat:repeat-x;background-color:#26ae90;border-radius:5px;box-shadow:0 -2px #0000001a inset;font-size:12px;text-transform:uppercase;font-weight:700}.navbar-default[_ngcontent-%COMP%]{text-transform:uppercase;background-color:#fff;font-size:1em}.navbar-nav[_ngcontent-%COMP%]{margin:5px}.navbar-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}@media(max-width:767px){.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{text-align:center}.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{clear:both}.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{clear:both;float:none!important}.navfull[_ngcontent-%COMP%]{overflow:hidden;max-height:0px;transition:max-height .5s ease-in-out}.navbar-text[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}#navsmallbutton[_ngcontent-%COMP%]{display:block!important}}@media(min-width:767px){.navfull[_ngcontent-%COMP%]{display:block!important;visibility:visible}}.showNavbar[_ngcontent-%COMP%]{display:block!important;max-height:500px}#navsmallbutton[_ngcontent-%COMP%]{position:fixed;top:10px;left:10px;z-index:9999;background-color:#f5f5f5;display:none}.slideDown[_ngcontent-%COMP%]{margin-top:60px;transition:margin-top .5s ease-in-out}.marginTop220[_ngcontent-%COMP%]{margin-top:220px}.form-signin[_ngcontent-%COMP%]{max-width:350px;margin:0 auto}.dropdown-menu[_ngcontent-%COMP%]{font-size:.8em}.ueGenericLogin[_ngcontent-%COMP%]{background-color:#fff;box-shadow:3px 3px 10px 3px #0003}.buttonFullWidth[_ngcontent-%COMP%]{width:100%}.messageBlockNatural[_ngcontent-%COMP%]{background-color:#f3f7fc;color:#55606f}.alert[_ngcontent-%COMP%]{text-align:left}.help-block[_ngcontent-%COMP%]{font-size:.8em}.mainArea[_ngcontent-%COMP%]{margin-top:150px}input[_ngcontent-%COMP%]:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px white inset;background-color:#fff!important}.ueSubmitButton[_ngcontent-%COMP%], .ueTextInput[_ngcontent-%COMP%], .input-group-addon[_ngcontent-%COMP%], .messageBlockNatural[_ngcontent-%COMP%]{border-radius:4px!important}.input-group-addon[_ngcontent-%COMP%]{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.ueTextInput[_ngcontent-%COMP%]{border-top-left-radius:0!important;border-bottom-left-radius:0!important}span[_ngcontent-%COMP%] i.fa[_ngcontent-%COMP%]{min-width:14px}"]})}}function MCe(n,e){1&n&&(f(0,"div",0),w(1," Use 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. The link will expire after 30 minutes. "),p())}function DCe(n,e){1&n&&(f(0,"button",1),w(1," Return to sign in "),p())}function SCe(n,e){1&n&&(f(0,"span",10),w(1,"* Please enter your email!"),p())}function kCe(n,e){if(1&n){const t=pe();f(0,"div",5)(1,"re-captcha",12),W("resolved",function(r){ne(t);return ie(A(2).onCaptchaResolved(r))}),p()()}if(2&n){const t=A(2);C(),U("siteKey",t.recaptchaSiteKey)}}function TCe(n,e){if(1&n){const t=pe();f(0,"form",3),W("ngSubmit",function(){ne(t);return ie(A().submitForm())}),f(1,"div",4)(2,"div",5)(3,"div",6)(4,"span",7),O(5,"i",8),p(),O(6,"input",9),p(),V(7,SCe,2,0,"span",10),p(),V(8,kCe,2,1,"div",5),f(9,"button",11),w(10,"Continue"),p(),f(11,"button",1),w(12," Cancel "),p()()()}if(2&n){const t=A();U("formGroup",t.lostPasswordForm),C(2),Re("has-error",t.validationError),C(5),B(t.validationError&&t.lostPasswordForm.get("email").invalid?7:-1),C(),B(t.showCaptcha&&t.recaptchaSiteKey?8:-1)}}class x1{constructor(e,t,i,r){this.formBuilder=e,this.router=t,this.authService=i,this.http=r,this.response=!1,this.showCaptcha=!1,this.captchaResponse="",this.recaptchaSiteKey="",this.loadingCaptcha=!1}ngOnInit(){this.lostPasswordForm=this.formBuilder.group({email:["",Be.required]})}onCaptchaResolved(e){this.captchaResponse=e}loadCaptchaConfig(){this.http.get("/api/DVPRTLFE/developers/recaptcha/config").subscribe(e=>{this.recaptchaSiteKey=e.site_key},e=>{console.error("Failed to load reCAPTCHA config",e)})}submitForm(){if(this.lostPasswordForm.invalid)return this.validationError=!0,void this.alert.newAlert("Error!","Please enter your email.","danger");const e={email:this.lostPasswordForm.value.email,"g-recaptcha-response":this.captchaResponse};this.authService.forgotPW(e).subscribe(t=>{this.response=!0,this.alert.newAlert("Success!",t.message||"Password reset email sent successfully.","success")},t=>{const i="string"==typeof t.error?t.error:t.error?.error;"Captcha Required"===i||"Captcha ERROR"===i||10004===t.errorcode?(this.showCaptcha=!0,this.loadCaptchaConfig(),this.alert.newAlert("Error!","Please complete the CAPTCHA verification.","danger")):this.alert.newAlert("Error!",t.error,"danger")})}static{this.\u0275fac=function(t){return new(t||x1)(G(Ii),G(St),G(Un),G(Ls))}}static{this.\u0275cmp=Fe({type:x1,selectors:[["ue-lost-password"]],viewQuery:function(t,i){if(1&t&&qt(xo,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first)}},standalone:!1,decls:4,vars:3,consts:[[1,"alert","messageBlockNatural"],["name","action","routerLink","/login",1,"ueSubmitButton","btn","btn-default","btn-large","buttonFullWidth",2,"margin-top","5px"],["novalidate","",3,"formGroup"],["novalidate","",3,"ngSubmit","formGroup"],[1,"ueFormBlock"],[1,"form-group","ueControlGroup"],[1,"controls","ueControls","input-group"],[1,"input-group-addon"],[1,"fa","fa-user"],["formControlName","email","type","text","placeholder","Email",1,"ueTextInput","form-control"],[1,"help-block"],["id","ueLoginButton","type","submit","name","action",1,"ueSubmitButton","btn","btn-primary","btn-large","buttonFullWidth"],[3,"resolved","siteKey"]],template:function(t,i){1&t&&(O(0,"ue-log-in-alert"),V(1,MCe,2,0,"div",0),V(2,DCe,2,0,"button",1),V(3,TCe,13,5,"form",2)),2&t&&(C(),B(i.response?-1:1),C(),B(i.response?2:-1),C(),B(i.response?-1:3))},dependencies:[Mo,qi,qn,Ln,Wi,Ci,Li,p_,xo],styles:["#logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:130px;height:39px;margin:10px;float:left}#loginButton[_ngcontent-%COMP%]{display:inline-block;padding:12px 25px;line-height:20px;color:#fff;text-align:center;vertical-align:middle;background-repeat:repeat-x;background-color:#26ae90;border-radius:5px;box-shadow:0 -2px #0000001a inset;font-size:12px;text-transform:uppercase;font-weight:700}.navbar-default[_ngcontent-%COMP%]{text-transform:uppercase;background-color:#fff;font-size:1em}.navbar-nav[_ngcontent-%COMP%]{margin:5px}.navbar-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}@media(max-width:767px){.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{text-align:center}.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{clear:both}.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{clear:both;float:none!important}.navfull[_ngcontent-%COMP%]{overflow:hidden;max-height:0px;transition:max-height .5s ease-in-out}.navbar-text[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}#navsmallbutton[_ngcontent-%COMP%]{display:block!important}}@media(min-width:767px){.navfull[_ngcontent-%COMP%]{display:block!important;visibility:visible}}.showNavbar[_ngcontent-%COMP%]{display:block!important;max-height:500px}#navsmallbutton[_ngcontent-%COMP%]{position:fixed;top:10px;left:10px;z-index:9999;background-color:#f5f5f5;display:none}.slideDown[_ngcontent-%COMP%]{margin-top:60px;transition:margin-top .5s ease-in-out}.marginTop220[_ngcontent-%COMP%]{margin-top:220px}.form-signin[_ngcontent-%COMP%]{max-width:350px;margin:0 auto}.dropdown-menu[_ngcontent-%COMP%]{font-size:.8em}.ueGenericLogin[_ngcontent-%COMP%]{background-color:#fff;box-shadow:3px 3px 10px 3px #0003}.buttonFullWidth[_ngcontent-%COMP%]{width:100%}.messageBlockNatural[_ngcontent-%COMP%]{background-color:#f3f7fc;color:#55606f}.alert[_ngcontent-%COMP%]{text-align:left}.help-block[_ngcontent-%COMP%]{font-size:.8em}.mainArea[_ngcontent-%COMP%]{margin-top:150px}input[_ngcontent-%COMP%]:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px white inset;background-color:#fff!important}.ueSubmitButton[_ngcontent-%COMP%], .ueTextInput[_ngcontent-%COMP%], .input-group-addon[_ngcontent-%COMP%], .messageBlockNatural[_ngcontent-%COMP%]{border-radius:4px!important}.input-group-addon[_ngcontent-%COMP%]{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.ueTextInput[_ngcontent-%COMP%]{border-top-left-radius:0!important;border-bottom-left-radius:0!important}span[_ngcontent-%COMP%] i.fa[_ngcontent-%COMP%]{min-width:14px}"]})}}function ECe(n,e){1&n&&(f(0,"span",9),w(1,"* Please enter your email!"),p())}function xCe(n,e){1&n&&(f(0,"span",9),w(1,"* Please enter a valid password!"),p())}function LCe(n,e){1&n&&(f(0,"span",9),w(1,"* Passwords do not match!"),p())}class L1{constructor(e,t,i,r){this.formBuilder=e,this.route=t,this.router=i,this.authService=r,this.validationError=!1}ngOnInit(){const e=this.route.queryParams._value.authcode?this.route.queryParams._value.authcode:"";this.resetPasswordForm=this.formBuilder.group({authcode:[e,[Be.required]],email:["",[Be.required]],password:["",[Be.required,Be.minLength(6)]],password_confirm:["",[Be.required,Be.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{this.\u0275fac=function(t){return new(t||L1)(G(Ii),G(ir),G(St),G(Un))}}static{this.\u0275cmp=Fe({type:L1,selectors:[["ue-reset-password"]],viewQuery:function(t,i){if(1&t&&qt(xo,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first)}},standalone:!1,decls:29,vars:10,consts:[[1,"alert","messageBlockNatural"],["routerLink","/lostpassword"],["novalidate","",3,"ngSubmit","formGroup"],[1,"ueFormBlock"],[1,"form-group","ueControlGroup"],[1,"controls","ueControls","input-group"],[1,"input-group-addon"],[1,"fa","fa-user"],["formControlName","email","type","text","placeholder","Email",1,"ueTextInput","form-control"],[1,"help-block"],[1,"fa","fa-lock"],["formControlName","password","type","password","placeholder","Password",1,"ueTextInput","form-control"],["formControlName","password_confirm","type","password","placeholder","Confirm Password",1,"ueTextInput","form-control"],["id","ueLoginButton","type","submit","name","action",1,"ueSubmitButton","btn","btn-primary","btn-large","buttonFullWidth"],["name","action","routerLink","/login",1,"ueSubmitButton","btn","btn-default","btn-large","buttonFullWidth",2,"margin-top","5px"]],template:function(t,i){1&t&&(O(0,"ue-log-in-alert"),f(1,"div",0),w(2," Use the form below to reset your password. If you are unable to reset your password, "),f(3,"a",1),w(4,"click here to start over."),p()(),f(5,"form",2),W("ngSubmit",function(){return i.submitForm()}),f(6,"div",3)(7,"div",4)(8,"div",5)(9,"span",6),O(10,"i",7),p(),O(11,"input",8),p(),V(12,ECe,2,0,"span",9),p(),f(13,"div",4)(14,"div",5)(15,"span",6),O(16,"i",10),p(),O(17,"input",11),p(),V(18,xCe,2,0,"span",9),p(),f(19,"div",4)(20,"div",5)(21,"span",6),O(22,"i",10),p(),O(23,"input",12),p(),V(24,LCe,2,0,"span",9),p(),f(25,"button",13),w(26,"Change Password"),p(),f(27,"button",14),w(28," Cancel "),p()()()),2&t&&(C(5),U("formGroup",i.resetPasswordForm),C(2),Re("has-error",i.resetPasswordForm.get("email").invalid&&i.validationError),C(5),B(i.resetPasswordForm.get("email").invalid&&i.validationError?12:-1),C(),Re("has-error",i.resetPasswordForm.get("password").invalid&&i.validationError),C(5),B(i.resetPasswordForm.get("password").invalid&&i.validationError?18:-1),C(),Re("has-error",(i.resetPasswordForm.get("password_confirm").invalid||(null==i.resetPasswordForm.errors?null:i.resetPasswordForm.errors.error))&&i.validationError),C(5),B(null!=i.resetPasswordForm.errors&&i.resetPasswordForm.errors.error&&i.validationError?24:-1))},dependencies:[Mo,qi,qn,Ln,Wi,Ci,Li,xo],styles:["#logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:130px;height:39px;margin:10px;float:left}#loginButton[_ngcontent-%COMP%]{display:inline-block;padding:12px 25px;line-height:20px;color:#fff;text-align:center;vertical-align:middle;background-repeat:repeat-x;background-color:#26ae90;border-radius:5px;box-shadow:0 -2px #0000001a inset;font-size:12px;text-transform:uppercase;font-weight:700}.navbar-default[_ngcontent-%COMP%]{text-transform:uppercase;background-color:#fff;font-size:1em}.navbar-nav[_ngcontent-%COMP%]{margin:5px}.navbar-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}@media(max-width:767px){.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{text-align:center}.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{clear:both}.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{clear:both;float:none!important}.navfull[_ngcontent-%COMP%]{overflow:hidden;max-height:0px;transition:max-height .5s ease-in-out}.navbar-text[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}#navsmallbutton[_ngcontent-%COMP%]{display:block!important}}@media(min-width:767px){.navfull[_ngcontent-%COMP%]{display:block!important;visibility:visible}}.showNavbar[_ngcontent-%COMP%]{display:block!important;max-height:500px}#navsmallbutton[_ngcontent-%COMP%]{position:fixed;top:10px;left:10px;z-index:9999;background-color:#f5f5f5;display:none}.slideDown[_ngcontent-%COMP%]{margin-top:60px;transition:margin-top .5s ease-in-out}.marginTop220[_ngcontent-%COMP%]{margin-top:220px}.form-signin[_ngcontent-%COMP%]{max-width:350px;margin:0 auto}.dropdown-menu[_ngcontent-%COMP%]{font-size:.8em}.ueGenericLogin[_ngcontent-%COMP%]{background-color:#fff;box-shadow:3px 3px 10px 3px #0003}.buttonFullWidth[_ngcontent-%COMP%]{width:100%}.messageBlockNatural[_ngcontent-%COMP%]{background-color:#f3f7fc;color:#55606f}.alert[_ngcontent-%COMP%]{text-align:left}.help-block[_ngcontent-%COMP%]{font-size:.8em}.mainArea[_ngcontent-%COMP%]{margin-top:150px}input[_ngcontent-%COMP%]:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px white inset;background-color:#fff!important}.ueSubmitButton[_ngcontent-%COMP%], .ueTextInput[_ngcontent-%COMP%], .input-group-addon[_ngcontent-%COMP%], .messageBlockNatural[_ngcontent-%COMP%]{border-radius:4px!important}.input-group-addon[_ngcontent-%COMP%]{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.ueTextInput[_ngcontent-%COMP%]{border-top-left-radius:0!important;border-bottom-left-radius:0!important}span[_ngcontent-%COMP%] i.fa[_ngcontent-%COMP%]{min-width:14px}"]})}}const ICe=["container"],PCe=["panel"],ACe=n=>({"ue-dropdown-panel":!0,"pull-right":n,"dropdown-menu":!0}),OCe=(n,e,t)=>({"ue-dropdown-item":n,"ue-dropdown-item-empty":e,divider:t});function RCe(n,e){if(1&n&&(f(0,"ue-button",3),w(1),p()),2&n){const t=A();U("btnClass",si("",t.btnClass," pointer"))("icon",Uo(t.btnIcon)),C(),De(t.btnLabel)}}function NCe(n,e){if(1&n&&O(0,"ue-buttonTemplateLoader",4),2&n){U("template",A().template)}}function FCe(n,e){if(1&n&&O(0,"i"),2&n){Cn(A(2).$implicit.icon)}}function YCe(n,e){if(1&n&&(f(0,"span"),V(1,FCe,1,2,"i",9),w(2),p()),2&n){const t=A().$implicit;C(),B(t.icon?1:-1),C(),We(" ",t.label," ")}}function jCe(n,e){if(1&n){const t=pe();f(0,"li",8),W("click",function(){const r=ne(t).$implicit;return ie(A(2).onItemClick(r))}),V(1,YCe,3,2,"span"),p()}if(2&n){const t=e.$implicit,i=A(2);U("ngClass",bN(2,OCe,!i.isDivider(t),!t.label||0===t.label.length||i.isDivider(t),i.isDivider(t))),C(),B(i.itemTemplate||i.isDivider(t)?-1:1)}}function HCe(n,e){if(1&n&&(f(0,"ul",7),bn(1,jCe,2,6,"li",5,vn),p()),2&n){const t=A();C(),wn(t.optionsToDisplay)}}class I1{constructor(e,t){this.el=e,this.renderer=t,this.panelVisible=!1,this.optionsToDisplay=[],this.selectItemEvent=new Se}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{this.\u0275fac=function(t){return new(t||I1)(G(On),G(ur))}}static{this.\u0275cmp=Fe({type:I1,selectors:[["ue-dropdown-menu"]],contentQueries:function(t,i,r){if(1&t&&Zl(r,wr,7),2&t){let o;Ee(o=xe())&&(i.template=o.first)}},viewQuery:function(t,i){if(1&t&&qt(ICe,7)(PCe,7),2&t){let r;Ee(r=xe())&&(i.containerViewChild=r.first),Ee(r=xe())&&(i.panelViewChild=r.first)}},inputs:{options:"options",pullRight:"pullRight",btnLabel:"btnLabel",btnClass:"btnClass",btnIcon:"btnIcon",maxHeight:"maxHeight",customMarginTop:"customMarginTop"},outputs:{selectItemEvent:"selectItemEvent"},standalone:!1,decls:8,vars:13,consts:[["container",""],["panel",""],[1,"ue-dropdown","ue-state-default","ue-helper-clearfix",3,"click"],["noLabel","true",3,"btnClass","icon"],[3,"template"],[3,"ngClass"],[1,"ue-dropdown-items-wrapper"],[1,"ue-dropdown-list"],[3,"click","ngClass"],[3,"class"]],template:function(t,i){1&t&&(f(0,"div",2,0),W("click",function(){return i.onMouseclick()}),V(2,RCe,2,5,"ue-button",3),V(3,NCe,1,1,"ue-buttonTemplateLoader",4),f(4,"div",5,1)(6,"div",6),V(7,HCe,3,0,"ul",7),p()()()),2&t&&(fr("margin-top",i.customMarginTop),C(2),B(i.template?-1:2),C(),B(i.template?3:-1),C(),fr("display",i.panelVisible?"block":"none"),U("ngClass",ai(11,ACe,i.pullRight))("@panelState",i.panelVisible?"visible":"hidden"),C(2),fr("max-height",i.maxHeight),C(),B(i.panelVisible?7:-1))},dependencies:()=>[yo,In,P1],styles:[".ue-dropdown[_ngcontent-%COMP%]{display:inline-block;position:relative;vertical-align:middle}.ue-dropdown[_ngcontent-%COMP%] .ue-dropdown-item-empty[_ngcontent-%COMP%]{text-indent:-9999px}.ue-dropdown[_ngcontent-%COMP%] .ue-dropdown-panel[_ngcontent-%COMP%]{min-width:100%}.ue-dropdown-panel[_ngcontent-%COMP%]{position:absolute;height:auto;background-color:#fff;background-clip:padding-box;padding:4px;margin-top:2px;border:1px solid rgba(0,0,0,.15);border-radius:2px;box-shadow:0 6px 12px #0000002d;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175)}.ue-dropdown-panel.pull-right[_ngcontent-%COMP%]{right:0;left:auto}.ue-dropdown-panel[_ngcontent-%COMP%] .ue-dropdown-items-wrapper[_ngcontent-%COMP%]{overflow:auto}.ue-dropdown-panel[_ngcontent-%COMP%] .ue-dropdown-item[_ngcontent-%COMP%]{font-weight:400;border:0 none;cursor:pointer;text-align:left;border-radius:4px}.ue-dropdown-item[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{margin:3px 0;display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;white-space:nowrap}.ue-dropdown-item[_ngcontent-%COMP%]:hover{color:#fff;background-color:#3276b1}.ue-dropdown-panel[_ngcontent-%COMP%] .ue-dropdown-list[_ngcontent-%COMP%]{padding-left:0;border:0 none;margin:0}"],data:{animation:[fg("panelState",[Pd("hidden",qa({opacity:0})),Pd("visible",qa({opacity:1})),Ad("visible => hidden",Id("400ms ease-in")),Ad("hidden => visible",Id("400ms ease-out"))])]}})}}class P1{constructor(e){this.viewContainer=e}ngOnInit(){this.viewContainer.createEmbeddedView(this.template,{$implicit:this.template})}static{this.\u0275fac=function(t){return new(t||P1)(G(Cr))}}static{this.\u0275cmp=Fe({type:P1,selectors:[["ue-buttonTemplateLoader"]],inputs:{template:"template"},standalone:!1,decls:0,vars:0,template:function(t,i){},encapsulation:2})}}function VCe(n,e){if(1&n&&O(0,"span"),2&n){fr("background-image",A().logoPath)}}function BCe(n,e){1&n&&O(0,"span",5)}function UCe(n,e){1&n&&(f(0,"span",19),w(1,"Select Reseller "),O(2,"i",20),p())}function zCe(n,e){if(1&n&&(f(0,"ue-dropdown-menu",18),en(1,UCe,3,0,"ng-template"),p()),2&n){U("options",A(2).resellerOptions)("pullRight",!1)}}function $Ce(n,e){if(1&n&&(f(0,"div")(1,"div",9)(2,"div",14),O(3,"span",15),p(),f(4,"div",16)(5,"span",17),w(6),p(),V(7,zCe,2,2,"ue-dropdown-menu",18),p()()()),2&n){const t=A();C(6),De(t.reseller),C(),B(t.resellerList.length>1?7:-1)}}function WCe(n,e){1&n&&(f(0,"span",19),w(1,"Select Company "),O(2,"i",20),p())}function qCe(n,e){if(1&n&&(f(0,"ue-dropdown-menu",18),en(1,WCe,3,0,"ng-template"),p()),2&n){U("options",A(2).companyOptions)("pullRight",!1)}}function GCe(n,e){if(1&n&&(f(0,"div",9)(1,"div",14),O(2,"span",15),p(),f(3,"div",16)(4,"span",17),w(5),p(),V(6,qCe,2,2,"ue-dropdown-menu",18),p()()),2&n){const t=A();C(5),De(t.company),C(),B(t.companyList.length>1?6:-1)}}function QCe(n,e){if(1&n&&(f(0,"div",10)(1,"strong"),w(2,"Error! "),p(),w(3),p()),2&n){const t=A();C(3),We(" ",t.httpError.error||"Could not load membership list."," ")}}function KCe(n,e){1&n&&(f(0,"a",21)(1,"span",22),O(2,"i",23)(3,"i",24),p(),O(4,"i",25),p())}class A1{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{this.\u0275fac=function(t){return new(t||A1)(G(Lf))}}static{this.\u0275cmp=Fe({type:A1,selectors:[["ue-header"]],inputs:{dropdownMenuOptions:"dropdownMenuOptions",resellerId:"resellerId",url:"url"},standalone:!1,decls:17,vars:7,consts:[["id","header",1,"print1"],["id","logo-group",1,"hidden-xs","hidden-sm"],["id","logo"],["id","logo-img"],[3,"background-image"],[1,"um","usaepay-icon"],["id","hide-menu",1,"btn-header","transparent","pull-right","hidden-lg","hidden-md"],[3,"click"],[1,"fa","fa-reorder"],[1,"project-context",2,"padding-top","7px"],[1,"alert","alert-danger",2,"margin","0 0 0 10px"],["id","top-left-search"],["id","user-setting-link"],["customMarginTop","11px",3,"options","pullRight"],["id","merchant-icon",2,"height","100%"],["id","fontIcon","aria-hidden","true",1,"fa","fa-id-card","txt-color-darkblue",2,"margin","0"],["id","project-context"],[1,"label"],[3,"options","pullRight"],["id","project-selector"],[1,"fa","fa-angle-down"],[1,"pointer","txt-color-navy"],[1,"fa-stack"],[1,"fa","fa-circle","fa-stack-2x"],[1,"fa","fa-user","fa-stack-1x","fa-inverse"],[1,"fa","fa-caret-down"]],template:function(t,i){1&t&&(f(0,"header",0)(1,"div",1)(2,"span",2)(3,"span",3),V(4,VCe,1,2,"span",4),V(5,BCe,1,0,"span",5),p()()(),f(6,"div",6)(7,"span")(8,"a",7),W("click",function(){return i.clickHamburger()}),O(9,"i",8),p()()(),V(10,$Ce,8,2,"div"),V(11,GCe,7,2,"div",9),V(12,QCe,4,1,"div",10),f(13,"div",11)(14,"div",12)(15,"ue-dropdown-menu",13),en(16,KCe,5,0,"ng-template"),p()()()()),2&t&&(C(4),B(i.logoPath?4:-1),C(),B(i.logoPath?-1:5),C(5),B(i.isReseller()?10:-1),C(),B(i.isDeveloper()?11:-1),C(),B(i.hasError?12:-1),C(3),U("options",i.dropdownMenuOptions)("pullRight",!0))},dependencies:[I1],styles:["#fontIcon[_ngcontent-%COMP%]{font-size:35px!important;margin:5px!important}"]})}}const JCe=["tabs"],Qx=(n,e)=>({width:n,"font-size":e});function ZCe(n,e){if(1&n&&(f(0,"li",3)(1,"a",5),O(2,"span",6),f(3,"span",7),w(4),p()()()),2&n){const t=A().$implicit;U("routerLink",t.route),C(),U("title",Uo(t.label)),C(),Cn(t.icon),U("ngStyle",zo(7,Qx,t.width?t.width:"2.1em",t.fontSize?t.fontSize:"1em")),C(2),De(t.label)}}function XCe(n,e){if(1&n&&(f(0,"li")(1,"a",8),O(2,"span",6),f(3,"span",7),w(4),p()()()),2&n){const t=A().$implicit;C(),U("title",Uo(t.label))("href",t.externalRoute,ra),C(),Cn(t.icon),U("ngStyle",zo(7,Qx,t.width?t.width:"2.1em",t.fontSize?t.fontSize:"1em")),C(2),De(t.label)}}function eMe(n,e){1&n&&O(0,"em",11)}function tMe(n,e){1&n&&O(0,"em",12)}function nMe(n,e){if(1&n&&(f(0,"li",14)(1,"a",15),w(2),p()()),2&n){const t=A().$implicit;U("routerLink",t.route),C(2),De(t.label)}}function iMe(n,e){if(1&n&&(f(0,"li")(1,"a",16),w(2),p()()),2&n){const t=A().$implicit;C(),U("href",t.externalRoute,ra),C(),De(t.label)}}function rMe(n,e){if(1&n&&(V(0,nMe,3,2,"li",14),V(1,iMe,3,2,"li")),2&n){const t=e.$implicit;B(t.externalRoute?-1:0),C(),B(t.externalRoute?1:-1)}}function oMe(n,e){if(1&n){const t=pe();f(0,"li",9),W("click",function(){ne(t);const r=A().$index;return ie(A().click(r))}),f(1,"a"),O(2,"span",6),f(3,"span",7),w(4),p(),f(5,"b",10),V(6,eMe,1,0,"em",11),V(7,tMe,1,0,"em",12),p()(),f(8,"ul",13),W("click",function(r){return r.stopPropagation()}),bn(9,rMe,2,2,null,null,vn),p()()}if(2&n){const t=A(),i=t.$implicit,r=t.$index,o=A();C(2),Cn(i.icon),U("ngStyle",zo(7,Qx,i.width?i.width:"2.1em",i.fontSize?i.fontSize:"1em")),C(2),De(i.label),C(2),B(o.open!==r?6:-1),C(),B(o.open===r?7:-1),C(),U("@slideState",o.findState(r)),C(),wn(i.children)}}function sMe(n,e){if(1&n&&(V(0,ZCe,5,10,"li",3),V(1,XCe,5,10,"li"),V(2,oMe,11,10,"li",4)),2&n){const t=e.$implicit;B(t.children||t.externalRoute?-1:0),C(),B(!t.children&&t.externalRoute?1:-1),C(),B(t.children?2:-1)}}class O1{constructor(e,t){this.ngZone=e,this.router=t,this.setBodyClass(),window.onresize=i=>{e.run(()=>{this.setBodyClass()})}}ngOnInit(){}ngAfterViewInit(){const t=this.router.url.split("/")[1];this.childTabs.forEach(i=>{const r=i.nativeElement.getAttribute("data-route"),o=i.nativeElement.getAttribute("data-index");if(r){const s=r.split("/")[1];t===s&&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{this.\u0275fac=function(t){return new(t||O1)(G(Et),G(St))}}static{this.\u0275cmp=Fe({type:O1,selectors:[["ue-navbar"]],viewQuery:function(t,i){if(1&t&&qt(JCe,5),2&t){let r;Ee(r=xe())&&(i.childTabs=r)}},inputs:{navTabs:"navTabs"},standalone:!1,decls:7,vars:0,consts:[["id","left-panel",1,"print1"],[1,"minifyme",3,"click"],[1,"fa","fa-arrow-circle-left","hit","txt-color-white"],["routerLinkActive","active",1,"pointer",3,"routerLink"],[1,"pointer"],[3,"title"],[3,"ngStyle"],[1,"menu-item-parent"],[3,"title","href"],[1,"pointer",3,"click"],[1,"collapse-sign"],[1,"fa","fa-plus-square-o"],[1,"fa","fa-minus-square-o"],[1,"nav-item-child-hide",3,"click"],["routerLinkActive","active",3,"routerLink"],[1,"nav-item-child-indent"],[1,"nav-item-child-indent",3,"href"]],template:function(t,i){1&t&&(f(0,"aside",0)(1,"nav")(2,"ul"),bn(3,sMe,3,3,null,null,vn),p()(),f(5,"span",1),W("click",function(){return i.minify()}),O(6,"i",2),p()()),2&t&&(C(3),wn(i.navTabs))},dependencies:[vo,Mo,c_],styles:[".nav-item-child-indent[_ngcontent-%COMP%]{padding:6px 17px 6px 43px!important}.nav-item-child-hide[_ngcontent-%COMP%]{display:block;overflow:hidden}.um[_ngcontent-%COMP%]{font-size:8px}"],data:{animation:[fg("slideState",[Pd("open",qa({height:"*",paddingTop:"7px",paddingBottom:"7px"})),Pd("closed",qa({height:"0",paddingTop:"0px",paddingBottom:"0px"})),Ad("closed => open",[Id(".3s ease")]),Ad("open => closed",[Id(".3s ease")])])]}})}}class R1{constructor(){}ngOnInit(){}static{this.\u0275fac=function(t){return new(t||R1)}}static{this.\u0275cmp=Fe({type:R1,selectors:[["ue-terms"]],standalone:!1,decls:571,vars:0,consts:[["border","0","width","718","cellpadding","20"],["align","center"],["face","Arial, Verdana","size","4"],["face","Arial, Verdana","color","#800000"],["size","1","face","Arial, Verdana"],["border","0","width","88%","cellpadding","7"],["align","left","width","80%"],["align","left"],["border","0","cellpadding","7","width","88%"],["href","http://www.usaepay.com/privacy.htm"],["size","1","face","Arial"],["face","Arial, Verdana","size","1"]],template:function(t,i){1&t&&(f(0,"table",0)(1,"tbody")(2,"tr")(3,"td")(4,"p",1)(5,"b")(6,"font",2),w(7,"USA ePay Gateway License / User Agreement"),O(8,"br"),w(9," version 1. rev. 10"),p()()()()(),f(10,"tr")(11,"td")(12,"b")(13,"font",3),w(14,"Transaction Processing Terms "),O(15,"br"),p()(),f(16,"font",4),O(17,"br"),w(18," Your Capacity and Related Matters. By accepting the terms and conditions of this Agreement, You represent and warrant that (a) You are 18 years of age or older, (b) all information You have provided to USAePay is true and correct in all respects, and (c) You will update USAePay by e-mail with any changes to information You have previously supplied. You further represent and warrant that You have the legal authority to accept the terms and conditions of this Agreement on behalf of Your company and that such acceptance will be binding on Your company. "),O(19,"br"),w(20,"\n\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0 "),O(21,"br"),w(22,' This Agreement is entered by USAePay Transaction Processing Terms & Software License Agreement (herein after referred to as the "Agreement") by and between Gor Corporation, whose principal place of business is 1833 Victory Blvd, Glendale, CA 91201 (hereinafter referred to as "USAePay"), and "Merchant," whose name, complete address, business organization and type of business are stated in records stored by USAePay for "Merchant". USAePay is a subsidiary of GorCorp, Inc., a California corporation whose principal place of business is in Los Angeles, California. For purposes of this Agreement the corporate entities USAePay and Gor, Inc. shall be synonymous. In consideration of the premises set forth herein, USAePay and Merchant hereby agree as follows: '),O(23,"br")(24,"br"),f(25,"b"),w(26,"1. "),p(),w(27,"USAePay agrees to perform transaction processing services for Merchant. This includes the acceptance and authorization of transactions forwarded from Merchant in a timely manner, the subsequent transmission of"),O(28,"br"),w(29," transactions to the processing network and the detailed reporting of those transactions via Merchant's web-based Merchant Menu. "),O(30,"br")(31,"br"),f(32,"b"),w(33,"2. "),p(),w(34,"By signing the Agreement, Merchant understands and agrees that the USAePay Transaction Processing Services require additional charges, as indicated below under Schedule of Fees, to be billed directly by USAePay or by registered resellers to the Merchant and payable pursuant to paragraphs 14 and 16 listed below. "),O(35,"br")(36,"br"),f(37,"b"),w(38,"3. "),p(),w(39,"By signing this document, Merchant will indemnify, protect, defend and hold USAePay, affiliates and / or subsidiaries and all of its or their officers, agents and / or employees, harmless from and against any and all claims, losses, demands, actions, expenses, damages, liability, and / or causes of action, including (without limitation) attorneys' fees, other costs of defense and / or collection fees, which in any way result directly or indirectly from:"),p(),f(40,"div",1)(41,"table",5)(42,"tbody")(43,"tr")(44,"td",6)(45,"p",7)(46,"font",4),w(47,"a. Merchant breach of this Agreement or any warranty or representation made to USAePay;"),p()()()(),f(48,"tr")(49,"td",6)(50,"font",4),w(51,"b. Any damage or loss caused by negligence, fraud, dishonesty or willful behavior by Merchant or any of Merchant employees or agents;"),p()()(),f(52,"tr")(53,"td",6)(54,"font",4),w(55,"c. Any contention, whether well-founded, baseless or otherwise, that Merchant violated the law or any rule or regulation;"),p()()(),f(56,"tr")(57,"td",6)(58,"font",4),w(59,"d. Any damages resulting from or related to any failure or delay of USAePay in providing Transaction Processing services under this Agreement; or"),p()()(),f(60,"tr")(61,"td",6)(62,"font",4),w(63,"e. Any delays in the performance of services hereunder or for any failure to perform same hereunder if such delays are due to strikes, inclement weather, acts of God, or other causes beyond USAePay\ufffds reasonable control. USAePay will not be liable for performance of services where delayed by war, riots, embargoes, strikes, or acts of it's vendors and suppliers, concealed acts of workmen (whether of USAePay or others), or accidents. The indemnifications provided for in this Article shall survive any termination of this Agreement."),p()()()()()(),f(64,"p")(65,"font",4),O(66,"br"),f(67,"b"),w(68,"4. "),p(),w(69,"Merchant warrants to USAePay all of the following:"),p()(),f(70,"div",1)(71,"table",5)(72,"tbody")(73,"tr")(74,"td")(75,"font",4),w(76,"a. That all representations and statements made by Merchant in this Agreement, or in any other document relating hereto, by Merchant or on Merchant's behalf are true, accurate and complete in all material respects. Merchant hereby authorizes USAePay to investigate and confirm the information herein. For this purpose, USAePay may utilize credit bureau / reporting agencies and / or its own agents. Upon Merchant's request, USAePay will provide Merchant with a copy of the results of"),p()()(),f(77,"tr")(78,"td")(79,"font",4),w(80,"b. That Merchant is engaged in the lawful business shown on the Agreement which includes the sale of merchandise and / or services, and is duly licensed to conduct such business under the laws of the state, county and city in which Merchant is located. "),p()()()()()(),f(81,"p")(82,"font",4),O(83,"br"),f(84,"b"),w(85,"5."),p(),w(86," USAePay shall not be liable for the individual merit and legitimacy of orders forwarded from Merchant. This liability shall remain the Merchant's. "),O(87,"br")(88,"br"),f(89,"b"),w(90,"6. "),p(),w(91,"USAePay shall in no event be liable to Merchant or Purchaser (Purchaser is any customer, client, member or entity who elects to buy goods or services from Merchant) for any indirect, special or consequential damages or lost profits arising out of or related to this Agreement, the performance or breach thereof, or the accuracy or correctness of the data being passed to and from Merchant, even if USAePay and/or Merchant has been advised of the possibility thereof."),O(92,"br")(93,"br"),f(94,"b"),w(95,"7."),p(),w(96," Any claim or legal action arising out of disputes, failures, misrepresentations, malfunctions, or defects shall be waived. In no event shall USAePay's liability to Merchant exceed the total amount Merchant paid to USAePay hereunder. Merchant agrees that any cause or action arising out of or relating to this Agreement must commence within one (1) year after the cause of action arose; otherwise, such cause of action is permanently barred. Jurisdiction of any legal proceeding arising hereby shall be Los Angeles, California, United States of America."),O(97,"br")(98,"br"),f(99,"b"),w(100,"8. "),p(),w(101,"Merchant agrees, as a company and/or as an individual, to defend, indemnify, and hold harmless USAePay from any and all claims resulting from Merchant's use of any services contemplated under this Agreement, which cause damage to Merchant or any other party."),O(102,"br")(103,"br"),f(104,"b"),w(105,"9."),p(),w(106," USAePay shall not be responsible or liable for unauthorized access of facilities or to Merchant's data or programs due to accident, illegal or fraudulent means or devices."),O(107,"br")(108,"br"),f(109,"b"),w(110,"10."),p(),w(111," USAePay shall retain full ownership of all data submitted by either Merchant or Purchaser through the USAePay Payment Gateway (Payment Gateway refers to the electronic systems through which a Merchant may pass payment information to USAePay) including, but not limited to name, mailing & shipping address, card verification value 2, email address, phone number, dollar amount of purchase, type of purchase and description of purchase."),p()(),f(112,"div",1)(113,"table",8)(114,"tbody")(115,"tr")(116,"td")(117,"font",4)(118,"b"),w(119,"a. USAePay Privacy Obligation"),p(),O(120,"br"),w(121," USAePay will collect, retain, and disclose information and data collected from You and your customers (including data associated with the USAePay Services) in accordance with USAePay's then current privacy policy available at "),f(122,"a",9),w(123," http://www.usaepay.com/privacy.htm"),p(),w(124," or such other location as specified by USAePay. You hereby consent, as a condition of Your enrollment in and use of the USAePay Services, to the collection, use, processing and transfer of personal data as described in this paragraph and USAePay's privacy policies. You understand that USAePay will collect and hold personal or non-public information about You and Your customers, including but not limited to: Your name, address, telephone number and e-mail address for the purpose of considering eligibility for the USAePay Services as well Your customers' names, mailing & shipping addresses, email addresses, phone number, dollar amount of purchases, types of purchases and descriptions of purchases for the purpose of providing You with the USAePay Services (\"Data\"). You also understand and agree that USAePay may obtain various consumer reports regarding You from third parties, run a credit check or obtain other personal or credit information about You. You further understand and agree that USAePay, its suppliers and/or their agents/contractors may transfer Data among themselves as necessary for the purpose of the provision and management of the USAePay Services, and that USAePay may further transfer Data to third parties assisting USAePay in evaluating Your eligibility for, provision of, administration and management of the USAePay Services, as well as under circumstances described in USAePay's privacy policies, as they may be published on the USAePay web site and changed from time to time by USAePay."),p()()(),f(125,"tr")(126,"td")(127,"font",10)(128,"b"),w(129,"b. Data Retention"),p(),O(130,"br"),w(131," You are solely responsible for compiling and retaining permanent records of all Transactions and other Data for Your reference. Upon the termination of this Agreement, USAePay shall have no obligation to store, retain, report or otherwise provide any copies of or access to any records of Transactions or other Data collected or processed by USAePay. "),p()()(),f(132,"tr")(133,"td")(134,"font",10)(135,"b"),w(136,"c. 3rd Party / Merchant Obligations"),O(137,"br"),p(),w(138,"You are solely responsible for the security of data residing on server(s) owned or operated by You, or a third party designated by You (e.g., a web hosting company, processor, or other service provider), including credit card numbers. You shall comply with all applicable laws and regulations governing the collection, retention and use by You of credit card and other financial information. You agree to provide notice to your customers on Your web site that discloses how and why personal and financial information is collected and used, including uses governed by this Agreement. Nothing in this Agreement shall prevent or restrict You from using any information You collect or receive independent of Your performance under this Agreement."),p()()()()()(),f(139,"p")(140,"font",4),O(141,"br")(142,"br"),f(143,"b"),w(144,"11."),p(),w(145," Merchant agrees that USAePay's services shall only be performed for lawful purposes. Any transaction or transmission, which violates any Federal, State, or local laws, is expressly prohibited."),O(146,"br")(147,"br"),f(148,"b"),w(149,"12."),p(),w(150," Merchant understands that Merchant may not process orders on behalf of any other entity or individual and that the use of the Transaction processing services is provided herein as a service license for a single Merchant account. Any attempt to use the Transaction Processing services provided herein for more than one Merchant account without additional service licenses may result in additional fees and charges and/or the revocation of the service license and termination of this Agreement. This service license is transferable and may be sold, traded, assumed or otherwise transferred to other individual or entity with the express written consent of USAePay."),O(151,"br")(152,"br"),f(153,"b"),w(154,"13."),p(),w(155," This Agreement may be amended by USAePay at any time upon written or electronic notice to Merchant of not less than ten (10) days prior to the effective date of such amendment, except for service fee or other fee increases, exclusive of those increases listed in Section 17, of which will be upon thirty (30) days' notice."),O(156,"br")(157,"br"),f(158,"b"),w(159,"14."),p(),w(160," Merchant hereby authorizes USAePay to either initiate transaction entries to Merchant's depository account number or other business financial account for the monthly charges required as listed under Schedule of Fees. This billing will occur on the last day of each month regardless of the number of days in which services were actually performed for that month. Merchant agrees that in the event of non-payment Merchant's processing services may be placed on hold and a non-payment fee of $25.00 will be incurred for each unsuccessful attempt to bill Merchant by either ACH debit or credit card charge. Service will be restored immediately upon payment in full of past due charges and fees. Merchant agrees to pay all costs and expenses of whatever nature, including attorneys' fees and other legal expenses, incurred by or on behalf of USAePay in connection with the collection of all unpaid charges and fees."),O(161,"br")(162,"br"),f(163,"b"),w(164,"15."),p(),w(165," Merchant agrees not to change its type of business, without the express written consent of USAePay."),O(166,"br")(167,"br"),f(168,"b"),w(169,"16."),p(),w(170," The Merchant will be considered in default when past due charges have not been paid for 30 days and will be subject to an interest charge of 1.5% per month on the outstanding balance."),O(171,"br")(172,"br"),f(173,"b"),w(174,"17."),p(),w(175," Merchant may terminate monthly service with 30 days written notice and only a request in writing relieves Merchant from the obligation to pay charges at the conclusion of thirty days from date of receipt of notice. USAePay reserves the right to cancel Merchant's Transaction Processing account at any time for any reason."),O(176,"br")(177,"br"),f(178,"b"),w(179,"18."),p(),w(180," If any provision in this Agreement is invalid, such invalidity shall not affect the validity of the remaining provisions of this Agreement and Merchant and USAePay agree to substitute for the invalid provision a valid provision which most closely approximates the effect and intent of the invalid provision. "),O(181,"br"),w(182,"\n\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0 "),p()(),O(183,"hr"),f(184,"p")(185,"b")(186,"font",3),w(187,"*Schedule of Fees "),O(188,"br")(189,"br"),p()(),f(190,"font",4),w(191,'You shall pay to USAePay the fees set forth in the Fee Schedule provided to You by USAePay and/or, if applicable, a Merchant Service Provider (the "Fees"). The Fee Schedule is hereby incorporated into the terms of this Agreement by reference. If the amount(s) of one or more of the Fees is more than zero, USAePay shall bill and collect such Fee(s) from You. If the amount(s) of one or more Fees listed in the Fee Schedule is zero or blank, USAePay shall not charge, bill, or collect from You any such Fees. Notwithstanding the foregoing, a Merchant Service Provider may charge, bill, and collect such Fees from You, in the amounts stated in and in accordance with the terms and conditions of the agreement between You and such Merchant Service Provider. Notwithstanding the foregoing, if Your relationship with a Merchant Service Provider that sold you the USAePay Services expires or terminates and such Merchant Service Provider was billing You for certain Fees, then You may continue using the USAePay Services. If You elect to continue using the USAePay services, You acknowledge and agree that USAePay may begin to bill You for such Fees in the amounts that the Merchant Service Provider had been charging You and pursuant to the terms and conditions set forth below. '),O(192,"br")(193,"br"),w(194," You will remit any and all amounts that are payable to USAePay under this Agreement on a monthly basis, and the first payment shall be due on the first day of the month immediately following the Effective Date. Unless otherwise specified herein, Fees and payments for any subsequent time periods shall be due on the first day of the month. You hereby authorize USAePay to initiate transaction entries to Your depositories account or, if USAePay is unable is unable to collect owing amounts from Your depository account, to charge Your credit card, the numbers of which are to be provided to USAePay by You (directly or through a Merchant Service Provider) on or before the Effective Date, for any and all amounts owing to USAePay under this Agreement. If Your depositories account number or credit card number changes, You shall promptly provide USAePay with written notice of the change and the new number(s). If You fail to provide USAePay with accurate current depositories account or credit card numbers, USAePay may discontinue its performance of the USAePay Services for You until such information is provided to USAePay or terminate this Agreement. You acknowledge that any change in account information may not be effective until the billing month following the second month in which USAePay receives such notice."),O(195,"br")(196,"br"),w(197," Monthly Gateway Fee assessed the first of every month."),O(198,"br"),w(199," - This fee is dependent on the reseller of USAePay. USAePay is not responsible for the amount of this fee if merchant is not an \ufffdin house\ufffd account. "),O(200,"br")(201,"br"),f(202,"b"),w(203,"1. Initial Setup Cost."),O(204,"br"),p(),w(205,"Fee is set by the reseller of USAePay's services. "),O(206,"br")(207,"br"),f(208,"b"),w(209,"2. Annual Security Assessment and Audit Fee of $79.95."),O(210,"br"),p(),w(211,"Fee is debited directly out of merchant's account every year on the 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 audit fee covers all requirement for Visa\xae PCI/CISP, MasterCard\xae SDP, & American 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."),O(212,"br")(213,"br"),f(214,"b"),w(215,"3. Fees for non-payment of services"),p()()(),f(216,"div",1)(217,"table",8)(218,"tbody")(219,"tr")(220,"td")(221,"font",4),w(222,"a. NSF (non-sufficient funds) fee ($10.00) is charged the following month of billing cycle for services. Double NSF will result in temporary closure of account until payment of balance (including re-activation fee) is complete. "),p()()(),f(223,"tr")(224,"td")(225,"font",4),w(226,"b. Re-Activation ($25.00) fee is charged if an account is ever terminated temporarily due to NSF and/or merchants own free will. "),p()()()()()(),f(227,"p")(228,"font",11)(229,"b"),w(230,"4."),p(),w(231," Settlement account change fee: $15.95 per occurrence."),O(232,"br"),w(233,"\n\xa0\xa0\xa0 "),O(234,"br"),f(235,"b"),w(236,"5"),p(),w(237,". Merchant DBA name change fee: $15.95 per occurrence."),O(238,"br")(239,"br")(240,"br"),p(),f(241,"font",11),w(242,"*Fee Schedules subject to change without notice."),O(243,"br"),w(244,"\n\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0 "),p()(),O(245,"hr"),f(246,"p")(247,"font",3)(248,"b"),w(249,"USAePay Software License Agreement"),O(250,"br"),p()(),f(251,"font",4),O(252,"br"),f(253,"b"),w(254,"1. Grant of Software License: "),O(255,"br"),p(),w(256,'Upon installation/setup of the USAePay software and service (the "Software") or by using it for any purpose, you accept all the terms and conditions of this License. Please read this License in its entirety carefully before using the Software. Subject to your acceptance of the terms of this License, USAePay hereby grants to you, the Licensee, a nonexclusive license to use the Software for sending and/or receiving payment authorizations for delivery and processing through an authorized payment gateway.'),O(257,"br")(258,"br"),f(259,"b"),w(260,"2. Limitations:"),p()()(),f(261,"div",1)(262,"table",5)(263,"tbody")(264,"tr")(265,"td")(266,"font",4)(267,"b"),w(268,"a. Copyright Protection. "),p(),O(269,"br"),w(270," The Software is owned or licensed by USAePay and is subject to protection under the copyright, patent and trademark laws of the United States and other countries. You may not remove any of the copyright notices, USAePay identifiers, or other proprietary labels, or modify, reverse engineer, decompile, or disassemble the binary components of the Software."),p()()(),f(271,"tr")(272,"td")(273,"font",4)(274,"b"),w(275,"b. Single Product. "),p(),O(276,"br"),w(277," The Software is licensed as a single product and it may not be separated into its component files nor shall its component files be used for any purpose other than as set forth in Section 1. "),p()()(),f(278,"tr")(279,"td")(280,"font",4)(281,"b"),w(282,"c. Distribution and Copying. "),p(),O(283,"br"),w(284," You may not distribute the Software or incorporate the Software or any portion of it into any other products or software or create derivative works from it without the prior written consent of USAePay. "),p()()(),f(285,"tr")(286,"td")(287,"font",4)(288,"b"),w(289,"d. Changes and Updates. "),O(290,"br"),p(),w(291,'USAePay may, in its discretion, issue updates, corrections, and new releases (a "Change") to the Software. USAePay is not responsible for any damages suffered as a result of such Change. If USAePay chooses to issue a Change, the terms of this License shall apply to such Change and the same shall be treated as Software hereunder. Changes may require that you agree to additional or revised terms and conditions as a condition of continued use of the Software. Unless otherwise agreed to by USAePay in writing, USAePay shall have no obligation to provide Changes, maintenance, or support to you or any person to whom you provide access to the Software.'),p()()()()()(),f(292,"p")(293,"font",4),O(294,"br"),f(295,"b"),w(296,"3. Government Use: "),O(297,"br"),p(),w(298,"Use, duplication or disclosure by or on behalf of U.S. Government entities is subject to restrictions set forth in subparagraphs (a) through (d) of the Commercial Computer-Restricted Rights clause at FAR 52.227-19 when applicable, or in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013, and in similar clauses in the NASA AR Supplement. The contractor/manufacturer is USAePay, 5900 Wilshire Blvd, Suite 2700, Los Angeles, CA 90036. USA. "),O(299,"br")(300,"br"),f(301,"b"),w(302,"4. Restrictions on Export: "),O(303,"br"),p(),w(304,"You may not setup, download or otherwise export or re-export the Software or any of its components, data, code or technology except in full compliance with all United States and other applicable laws and regulations. In particular, but without limitation, none of the Software or its components, data, code or technology may be"),O(305,"br"),w(306," downloaded or otherwise exported or re-exported."),p()(),f(307,"div",1)(308,"table",8)(309,"tbody")(310,"tr")(311,"td")(312,"font",4),w(313,"a. into (or to a national resident of) Cuba, Iraq, Libya, Sudan, North Korea, Iran, or Syria, Indonesia, Romania, Malaysia or"),p()()(),f(314,"tr")(315,"td")(316,"font",4),w(317,"b. to anyone on the U.S. Treasury Department's list of Specially Designated nationals or the U.S. Commerce Department's Table of Deny Orders. By downloading the Software, you are agreeing to the preceding terms and are representing and warranting that you are not located in, under the control of, or a national or resident of any such country or on any such list."),p()()()()()(),f(318,"p")(319,"font",4),O(320,"br"),f(321,"b"),w(322,"5. Limited Warranty:"),O(323,"br"),p(),w(324,"USAePay warrants that if the Software is inoperable or defective, it will make commercially reasonable efforts to make available to you at no charge a replacement copy of the Software. USAePay and its vendors disclaim all other warranties, expressed or implied, written or oral, including but not limited to those of merchantability, fitness for a particular purpose, and infringement. "),O(325,"br")(326,"br"),f(327,"b"),w(328,"6. Limitation of Damages:"),p()()(),f(329,"div",1)(330,"table",8)(331,"tbody")(332,"tr")(333,"td")(334,"font",4),w(335,"a. Except for a breach by you of your obligations under Sections 2(a), (b), and (c), the parties hereto, and their vendors (and any officers, directors, employees and agents of the parties, and their vendors) shall not be liable for any consequential, incidental or indirect damages."),p()()(),f(336,"tr")(337,"td")(338,"font",4),w(339,"b. Except for claims arising from criminal or willful misconduct, the parties agree to waive any claim to seek punitive or exemplary damages."),p()()()()()(),f(340,"p")(341,"font",4),O(342,"br"),f(343,"b"),w(344,"7. Termination:"),p()()(),f(345,"div",1)(346,"table",8)(347,"tbody")(348,"tr")(349,"td")(350,"font",4),w(351,"a. Either party may terminate this License on 30 days written notice for material breach by the other party of its obligations hereunder unless such breach is cured within such 30-day period."),p()()(),f(352,"tr")(353,"td")(354,"font",4),w(355,"b. In addition to your termination right under paragraph (a) you may terminate this license on 10 days written notice. "),p()()(),f(356,"tr")(357,"td")(358,"font",4),w(359,"c. In addition to USAePay's termination right under paragraph (a), USAePay may terminate this license as provided in Section 11."),p()()(),f(360,"tr")(361,"td")(362,"font",4),w(363,"d. Upon termination of this License, you will return or destroy all copies of the Software in your possession. "),p()()()()()(),f(364,"p")(365,"font",4),O(366,"br"),f(367,"b"),w(368,"8. Notices:"),O(369,"br"),p(),w(370,"All notices shall be given electronically, with notices to you being sent to the electronic mail address which you furnish at the time you install the Software and notices to USAePay going to legal@USAePay.com."),O(371,"br")(372,"br"),f(373,"b"),w(374,"9. Trademarks:"),O(375,"br"),p(),w(376,'"USAePay", the USAePay logo, "Gor Corporation", the Gor Corporation logo are trademarks of Gor Corporation. USAePay grants you a limited, non-exclusive license to use those trademarks in displaying payment options on your web site and in promotional documentation.'),O(377,"br")(378,"br"),f(379,"b"),w(380,"10. No Agency: "),O(381,"br"),p(),w(382,"Without USAePay's written consent, you will not represent that you are an agent of USAePay, or that you have been endorsed or certified by USAePay."),O(383,"br")(384,"br"),f(385,"b"),w(386,"11. Infringement Indemnity:"),p()()(),f(387,"div",1)(388,"table",8)(389,"tbody")(390,"tr")(391,"td")(392,"font",4),w(393,"a. USAePay hereby agrees to indemnify you against any loss or damage, including attorneys' fees and costs of litigation, arising from a claim that the Software infringes a patent, copyright, trademark or other intellectual property right of any other person."),O(394,"br"),w(395,"\n\xa0"),p()()(),f(396,"tr")(397,"td")(398,"font",4),w(399,"b. You hereby agree to indemnify USAePay against any loss or damage, including attorneys' fees and costs of litigation, arising from a claim that the Software infringes a patent, copyright, trademark or other intellectual property right resulting from:"),O(400,"br"),w(401,"\n\xa0"),p(),f(402,"div",1)(403,"table",8)(404,"tbody")(405,"tr")(406,"td")(407,"font",4),w(408,"i. your use of the Software for purposes other than making use of a payment service authorized by USAePay; or"),p()()(),f(409,"tr")(410,"td")(411,"font",4),w(412,"ii. an unauthorized modification of the Software by you, provided, however, that the foregoing indemnification obligation applies only to such a claim that would have been avoided in the absence of such use or modification. "),p()()()()()()()(),f(413,"tr")(414,"td")(415,"font",4),w(416,'c. In the event a party (the "Indemnified Party") becomes aware of a claim described in Sections 10 (a) or (b) for which it may seek indemnification, the Indemnified Party shall promptly give the other party (the "Indemnifying Party") notice of the claim and permit the Indemnifying Party to assume the defense of the claim. The Indemnified Party shall have the right to participate in the defense at its expense.'),p()()(),f(417,"tr")(418,"td")(419,"font",4),w(420,"d. USAePay shall have no obligation to indemnify you with respect to any claim to extent it is based on:"),p(),f(421,"div",1)(422,"table",8)(423,"tbody")(424,"tr")(425,"td")(426,"font",4),w(427,"i. the use of the Software for a purpose other than using a payment service authorized by USAePay;"),p()()(),f(428,"tr")(429,"td")(430,"font",4),w(431,"ii. The use of the Software in combination with other products, equipment, devices or software where such combination is likely to infringe or infringes the rights of a third party; or"),p()()(),f(432,"tr")(433,"td")(434,"font",4),w(435," iii. The alteration or modification of the binary elements of the Software by or for you if such infringement charge would have been avoided in the absence of such alteration or modification."),p()()()()()()()(),f(436,"tr")(437,"td")(438,"font",4),w(439,"e. If the Software or any component of the Software becomes, or in USAePay's opinion is likely to become, the subject of a claim of infringement, then you shall permit USAePay, at its option and expense, either:"),O(440,"br"),w(441,"\n\xa0"),p(),f(442,"div",1)(443,"table",8)(444,"tbody")(445,"tr")(446,"td")(447,"font",4),w(448,"i. to procure for you the right to continue using the Software as permitted in this Agreement, or"),p()()(),f(449,"tr")(450,"td")(451,"font",4),w(452,"ii. To replace or modify Software or the infringing component of the"),O(453,"br"),w(454," Software so that it becomes non-infringing. If, after the using commercially reasonable efforts USAePay is unable to cure the infringement, either party may terminate this Agreement on written notice to the other."),p()()()()()()()()()()(),f(455,"p")(456,"font",4)(457,"b"),w(458,"12. Payment Terms:"),p()()(),f(459,"div",1)(460,"table",8)(461,"tbody")(462,"tr")(463,"td")(464,"font",4),w(465,"a. It is the Licensee's understanding they will be charged the rates and fees for their use of the Software as set forth in their Agreement at the time of sale."),p()()(),f(466,"tr")(467,"td")(468,"font",4),w(469,"b. If the Licensee fails to stay current with the payment terms as described in 12 (a), USAePay reserves the right to discontinue use of the Software by Licensee until paid in full."),p()()()()()(),f(470,"p")(471,"font",4)(472,"b"),w(473,"13. Acceptable Use Policy: "),O(474,"br"),p(),w(475,"Merchant will not engage in Net Abuse, that can be defined as (but is not limited to):"),p()(),f(476,"div",1)(477,"table",8)(478,"tbody")(479,"tr")(480,"td")(481,"font",4),w(482,"a. Sending any kind of unsolicited or unwelcome email to a substantial number of network users, anywhere on the Internet."),p()()(),f(483,"tr")(484,"td")(485,"font",4),w(486,"b. Posting a single article or substantially similar articles to an excessive number of newsgroups or mailing lists (i.e., 20 or more)."),p()()(),f(487,"tr")(488,"td")(489,"font",4),w(490,"c. Repeated or deliberate posting of articles that are off-topic according to the charter of that newsgroup or mail list."),p()()(),f(491,"tr")(492,"td")(493,"font",4),w(494,"d. Posting commercial advertising in almost any conference or newsgroup, unless it is specifically permitted within that group. I understand that USAePay investigates all reported occurrences of net abuse, and will take action according to the circumstances and severity of the abuse. For first offenders, USAePay will normally issue a warning, and take necessary action to minimize any damage. Depending on the severity of the breach of this policy, USAePay may immediately take any of the following actions:"),p(),f(495,"div",1)(496,"table",8)(497,"tbody")(498,"tr")(499,"td")(500,"font",4),w(501,"i. Immediate suspension of your account, halting all processing of credit card and/or ACH transactions."),p()()(),f(502,"tr")(503,"td")(504,"font",4),w(505,"ii. Possible termination of account. USAePay will not tolerate Net Abuse of any kind."),p()()()()()()()()()()(),f(506,"p")(507,"font",4)(508,"b"),w(509,"14. Agreement Provisions:"),O(510,"br"),p(),w(511,"This License constitutes the entire Agreement between you and USAePay pertaining to the subject matter hereof, and supersedes in their entirety any and all written or oral Agreements pertaining to the Software and its use between the parties."),p()(),f(512,"div",1)(513,"table",8)(514,"tbody")(515,"tr")(516,"td")(517,"font",10)(518,"b"),w(519,"a. Publicity"),p(),O(520,"br"),w(521," The parties may work together to issue publicity and general marketing communications concerning their relationship and other mutually agreed-upon matters, provided, however, that neither party will have any obligation to do so. In addition, neither party will issue such publicity and general marketing communications concerning this relationship without the prior written consent of the other party (not to be unreasonably withheld or delayed)."),p()()(),f(522,"tr")(523,"td")(524,"font",10)(525,"b"),w(526,"b. Non-exclusivity"),p(),O(527,"br"),w(528," Each party acknowledges and agrees that the rights granted to the other party in this Agreement are non-exclusive, and that, without limiting the generality of the foregoing, nothing in this Agreement shall be deemed or construed to prohibit either party from participating in similar business arrangements as those described herein."),p()()(),f(529,"tr")(530,"td")(531,"font",10)(532,"b"),w(533,"c. Severability; Headings"),p(),O(534,"br"),w(535," If any provision of this Agreement is held to be invalid or unenforceable for any reason, the remaining provisions will continue in full force without being impaired or invalidated in any way. The parties agree to replace any invalid provision with a valid provision, which most closely approximates the intent and economic effect of the invalid provision. Headings are used for convenience of reference only and in no way define, limit, construe or describe the scope or extent of any section, or in any way affect this Agreement."),p()()(),f(536,"tr")(537,"td")(538,"font",10)(539,"b"),w(540,"d. Waiver"),O(541,"br"),p(),w(542,"The failure of any party to insist on or enforce strict performance of any provision of this Agreement or to exercise any right or remedy under this Agreement or applicable law will not be construed as a waiver or relinquishment to any extent of the right to assert or rely upon any such provision, right or remedy in that or any other instance; rather, the same will be and remain in full force and effect. Waiver by either party of a breach of any provision contained herein must be in writing, and no such waiver will be construed as a waiver of any other and/or succeeding breach of such provision or a waiver of the provision itself."),p()()(),f(543,"tr")(544,"td")(545,"font",10)(546,"b"),w(547,"e. Dispute Resolution"),p(),O(548,"br"),w(549,' Any dispute or claim arising out of or relating to this Agreement, except claims involving intellectual property and claims for indemnification, will be resolved by binding arbitration. The arbitration of any dispute or claim shall be conducted in accordance with the American Arbitration Association ("AAA") rules, as modified by this Agreement, and will take place in Los Angeles, California, USA, unless the Parties mutually agree to hold the proceedings elsewhere. This Agreement evidences a transaction in interstate commerce and this arbitration provision will be interpreted and enforced in accordance with the Federal Arbitration Act and federal arbitration law. An arbitrator may not award relief in excess of or contrary to what this Agreement provides or order consolidation or arbitration on a class wide or representative basis, except that the arbitrator may award on an individual basis damages required by statute and may order injunctive or declaratory relief pursuant to an applicable consumer protection statute. Any arbitration shall be confidential, and neither Party may disclose the existence, content or results of any arbitration, except as may be required by law or for purposes of enforcement of the arbitration award. Judgment on any arbitration award may be entered in any court having proper jurisdiction. All administrative fees and expenses will be divided equally between the Parties, but each Party will bear the expense of its own counsel, experts, witnesses and preparation and presentation of evidence at the arbitration. IF FOR ANY REASON THIS ARBITRATION CLAUSE IS DEEMED INAPPLICABLE OR INVALID, THE PARTIES WAIVE, TO THE FULLEST EXTENT ALLOWED BY LAW, ANY RIGHT TO PURSUE ANY CLAIMS ON A CLASS OR CONSOLIDATED BASIS OR IN A REPRESENTATIVE CAPACITY. No action, regardless of form, arising out of or in conjunction with the subject matter of this Agreement, except for claims involving intellectual property and claims for indemnification, may be brought by either Party more than one (1) year after the cause of action arose.'),p()()()()()(),f(550,"p")(551,"font",4)(552,"b"),w(553,"15. Governing Law:"),O(554,"br"),p(),w(555,"This License Agreement shall be governed by the laws of the State of California, United States of America."),O(556,"br")(557,"br"),f(558,"b"),w(559,"16. Malicious Attempts:"),O(560,"br"),p(),w(561,"Any malicious attempts taken on any entity of the USAePay website or software will result in immediate termination of account as well an assessed malice fee for any and all damages. "),O(562,"br")(563,"br"),p(),f(564,"font",11),O(565,"br"),w(566," Last revised : 03/09/2010"),O(567,"br"),w(568," version 1. rev. 10. "),O(569,"br"),w(570,"\n\xa0"),p()()()()()())},encapsulation:2})}}function aMe(n,e){1&n&&(f(0,"li",4),O(1,"span",8),p())}class N1{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{this.\u0275fac=function(t){return new(t||N1)}}static{this.\u0275cmp=Fe({type:N1,selectors:[["ue-footer"]],inputs:{supportEmail:"supportEmail",privacyPolicyUrl:"privacyPolicyUrl",hidePoweredBy:"hidePoweredBy"},standalone:!1,decls:21,vars:3,consts:[["license",""],["id","shortcut"],["target","_top",1,"pointer",3,"href"],["target","_blank",1,"pointer",3,"href"],[1,"pull-right"],["modalClass","modal-lg modal-sm help-modal"],["align","center",2,"height","450px","overflow","auto"],["btnClass","default","icon","fa fa-close",3,"onClick"],["id","foot-logo",2,"background-image","url('/img/powered-by.png')"]],template:function(t,i){if(1&t){const r=pe();f(0,"div",1)(1,"ul")(2,"li")(3,"a",2),w(4,"Email Support"),p()(),f(5,"li")(6,"a",3),w(7," Privacy Policy "),p()(),V(8,aMe,2,0,"li",4),p()(),f(9,"modal",5,0)(11,"modal-header")(12,"h4"),w(13,"License Agreement"),p(),w(14," Last revised : 07/18/2016 "),p(),f(15,"modal-content")(16,"div",6),O(17,"ue-terms"),p()(),f(18,"modal-footer")(19,"ue-button",7),W("onClick",function(){ne(r);return ie($n(10).close())}),w(20,"Close"),p()()()}2&t&&(C(3),U("href","mailto:"+i.supportEmail,ra),C(3),U("href",i.privacyPolicyUrl,ra),C(2),B(i.hidePoweredBy?-1:8))},dependencies:[In,So,Lr,Ir,Ur,R1],encapsulation:2})}}class F1{constructor(e,t,i,r,o){this.authService=e,this.router=t,this.ueHttp=i,this.http=r,this.sessionTimeoutService=o,this.secondsLeft=0}ngOnInit(){this.sessionTimeoutService.resetDevSessionExpiration(),this.sessionTimeoutService.startInterval(()=>this.onInterval())}onInterval(){const e=new Date,t=this.sessionTimeoutService.devSessionWarning,i=this.sessionTimeoutService.devSessionExpiration;this.secondsLeft=this.calculateSecondsLeft(e,i),e>t?this.openWarningModal():this.closeWarningModal(),e>i&&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 i=e.getTime();let o=t.getTime()-i;return o<0&&(o=0),Math.floor(o/1e3)}static{this.\u0275fac=function(t){return new(t||F1)(G(Un),G(St),G(Gi),G(Ls),G(Ys))}}static{this.\u0275cmp=Fe({type:F1,selectors:[["ue-session-timeout"]],viewQuery:function(t,i){if(1&t&&qt(So,7)(Ot,7),2&t){let r;Ee(r=xe())&&(i.modal=r.first),Ee(r=xe())&&(i.alert=r.first)}},standalone:!1,decls:13,vars:4,consts:[[3,"hideCloseButton","closeOnEscape","closeOnOutsideClick"],["btnClass","danger","icon","fa fa-sign-out",3,"onClick"],["btnClass","success","icon","fa fa-clock-o",3,"onClick"]],template:function(t,i){1&t&&(O(0,"ue-alert"),f(1,"modal",0)(2,"modal-header")(3,"h1"),w(4,"Session Timeout Warning"),p()(),f(5,"modal-content")(6,"h4"),w(7),p()(),f(8,"modal-footer")(9,"ue-button",1),W("onClick",function(){return i.logout()}),w(10,"Sign Out"),p(),f(11,"ue-button",2),W("onClick",function(){return i.extendSession()}),w(12,"Extend Session"),p()()()),2&t&&(C(),U("hideCloseButton",!0)("closeOnEscape",!1)("closeOnOutsideClick",!1),C(6),We("Your sesssion will expire in ",i.secondsLeft," seconds."))},dependencies:[So,Lr,Ir,Ur,In,Ot],encapsulation:2})}}const lMe=["alertModal"];class Y1{constructor(e,t,i){this.router=e,this.authService=t,this.ueTheme=i,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"),i=this.authService.checkPermissions("invites_view");if(t){const o={route:["/users/members"],label:"Members"};e.children.push(o)}if(i){const o={route:["/users/invites"],label:"Invites"};e.children.push(o)}(t||i)&&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{this.\u0275fac=function(t){return new(t||Y1)(G(St),G(Un),G(ll))}}static{this.\u0275cmp=Fe({type:Y1,selectors:[["ue-console"]],viewQuery:function(t,i){if(1&t&&qt(lMe,7),2&t){let r;Ee(r=xe())&&(i.alertModal=r.first)}},standalone:!1,decls:17,vars:9,consts:[["alertModal",""],[3,"dropdownMenuOptions","resellerId","url"],[3,"navTabs"],["id","main"],["id","content"],[3,"supportEmail","privacyPolicyUrl","hidePoweredBy"],["btnClass","default","icon","fa fa-remove",3,"onClick"]],template:function(t,i){1&t&&(O(0,"ue-header",1)(1,"ue-navbar",2),f(2,"div",3)(3,"div",4),O(4,"router-outlet"),p()(),O(5,"ue-footer",5),f(6,"modal",null,0)(8,"modal-header")(9,"h1"),w(10),p()(),f(11,"modal-content"),w(12),p(),f(13,"modal-footer")(14,"ue-button",6),W("onClick",function(){return i.closeModal()}),w(15,"Close"),p()()(),O(16,"ue-session-timeout")),2&t&&(U("dropdownMenuOptions",i.dropdownMenuOptions)("resellerId",i.ueTheme.themeId)("url",i.baseUrl),C(),U("navTabs",i.navTabs),C(4),U("supportEmail",i.supportEmail)("privacyPolicyUrl",i.privacyPolicyUrl)("hidePoweredBy",i.hidePoweredBy),C(5),De(i.alertModalContent.header),C(2),We(" ",i.alertModalContent.body," "))},dependencies:[Co,So,Lr,Ir,Ur,In,A1,O1,N1,F1],encapsulation:2})}}class j1{constructor(e,t,i){this.fb=e,this.authService=t,this.router=i,this.validationError=!1}ngOnInit(){this.initRegisterForm()}initRegisterForm(){this.registerForm=this.fb.group({contact:["",Be.required],company:["",Be.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.";return void this.alert.newAlert("Login Error!",t,"danger")}this.registerForm.markAsPristine(),this.authService.registerCompany(this.registerForm.value).subscribe(e=>{this.router.navigate(["/dashboard"])},e=>{this.alert.newAlert("Error!",e.error,"danger")})}static{this.\u0275fac=function(t){return new(t||j1)(G(Ii),G(Un),G(St))}}static{this.\u0275cmp=Fe({type:j1,selectors:[["ue-register-company-form"]],viewQuery:function(t,i){if(1&t&&qt(xo,7),2&t){let r;Ee(r=xe())&&(i.alert=r.first)}},standalone:!1,decls:55,vars:20,consts:[[1,"alert","messageBlockNatural"],["novalidate","",3,"ngSubmit","formGroup"],[1,"ueFormBlock"],[1,"form-group","ueControlGroup"],[1,"controls","ueControls","input-group"],[1,"input-group-addon"],[1,"fa","fa-building"],["formControlName","company","type","text","autocomplete","off","placeholder","*Company",1,"ueTextInput","form-control"],[1,"fa","fa-envelope"],["formControlName","contact","type","text","placeholder","*Contact",1,"ueTextInput","form-control"],[1,"fa","fa-map-marker"],["formControlName","address1","type","text","autocomplete","off","placeholder","Address1",1,"ueTextInput","form-control"],["formControlName","address2","type","text","autocomplete","off","placeholder","Address2",1,"ueTextInput","form-control"],["formControlName","city","type","text","autocomplete","off","placeholder","City",1,"ueTextInput","form-control"],["formControlName","state","type","text","autocomplete","off","placeholder","State",1,"ueTextInput","form-control"],["formControlName","zip","type","text","autocomplete","off","placeholder","Zip",1,"ueTextInput","form-control"],["formControlName","country","type","text","autocomplete","off","placeholder","Country",1,"ueTextInput","form-control"],[1,"fa","fa-phone"],["formControlName","phone","type","text","autocomplete","off","placeholder","Phone",1,"ueTextInput","form-control"],["type","submit","name","action",1,"ueSubmitButton","btn","btn-primary","btn-large","buttonFullWidth",3,"disabled"],["routerLink","/login",1,"ueSubmitButton","btn","btn-default","btn-large","buttonFullWidth",2,"margin-top","5px"]],template:function(t,i){1&t&&(O(0,"ue-log-in-alert"),f(1,"div",0)(2,"p"),w(3,"You currently do not belong to any company, please create a developer company."),p()(),f(4,"form",1),W("ngSubmit",function(){return i.register()}),f(5,"div",2)(6,"div",3)(7,"div",4)(8,"span",5),O(9,"i",6),p(),O(10,"input",7),p()(),f(11,"div",3)(12,"div",4)(13,"span",5),O(14,"i",8),p(),O(15,"input",9),p()(),f(16,"div",3)(17,"div",4)(18,"span",5),O(19,"i",10),p(),O(20,"input",11),p()(),f(21,"div",3)(22,"div",4)(23,"span",5),O(24,"i",10),p(),O(25,"input",12),p()(),f(26,"div",3)(27,"div",4)(28,"span",5),O(29,"i",10),p(),O(30,"input",13),p()(),f(31,"div",3)(32,"div",4)(33,"span",5),O(34,"i",10),p(),O(35,"input",14),p()(),f(36,"div",3)(37,"div",4)(38,"span",5),O(39,"i",10),p(),O(40,"input",15),p()(),f(41,"div",3)(42,"div",4)(43,"span",5),O(44,"i",10),p(),O(45,"input",16),p()(),f(46,"div",3)(47,"div",4)(48,"span",5),O(49,"i",17),p(),O(50,"input",18),p()(),f(51,"button",19),w(52,"Register new account"),p(),f(53,"button",20),w(54,"Cancel"),p()()()),2&t&&(C(4),U("formGroup",i.registerForm),C(6),Re("error",i.validationError&&i.registerForm.get("company").invalid),C(5),Re("error",i.validationError&&i.registerForm.get("contact").invalid),C(5),Re("error",i.validationError&&i.registerForm.get("address1").invalid),C(5),Re("error",i.validationError&&i.registerForm.get("address2").invalid),C(5),Re("error",i.validationError&&i.registerForm.get("city").invalid),C(5),Re("error",i.validationError&&i.registerForm.get("state").invalid),C(5),Re("error",i.validationError&&i.registerForm.get("zip").invalid),C(5),Re("error",i.validationError&&i.registerForm.get("country").invalid),C(5),Re("error",i.validationError&&i.registerForm.get("phone").invalid),C(),U("disabled",i.registerForm.invalid))},dependencies:[Mo,qi,qn,Ln,Wi,Ci,Li,xo],styles:["#logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:130px;height:39px;margin:10px;float:left}#loginButton[_ngcontent-%COMP%]{display:inline-block;padding:12px 25px;line-height:20px;color:#fff;text-align:center;vertical-align:middle;background-repeat:repeat-x;background-color:#26ae90;border-radius:5px;box-shadow:0 -2px #0000001a inset;font-size:12px;text-transform:uppercase;font-weight:700}.navbar-default[_ngcontent-%COMP%]{text-transform:uppercase;background-color:#fff;font-size:1em}.navbar-nav[_ngcontent-%COMP%]{margin:5px}.navbar-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}@media(max-width:767px){.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{text-align:center}.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{clear:both}.navbar.navbar-default.navbar-fixed-top[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{clear:both;float:none!important}.navfull[_ngcontent-%COMP%]{overflow:hidden;max-height:0px;transition:max-height .5s ease-in-out}.navbar-text[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}#navsmallbutton[_ngcontent-%COMP%]{display:block!important}}@media(min-width:767px){.navfull[_ngcontent-%COMP%]{display:block!important;visibility:visible}}.showNavbar[_ngcontent-%COMP%]{display:block!important;max-height:500px}#navsmallbutton[_ngcontent-%COMP%]{position:fixed;top:10px;left:10px;z-index:9999;background-color:#f5f5f5;display:none}.slideDown[_ngcontent-%COMP%]{margin-top:60px;transition:margin-top .5s ease-in-out}.marginTop220[_ngcontent-%COMP%]{margin-top:220px}.form-signin[_ngcontent-%COMP%]{max-width:350px;margin:0 auto}.dropdown-menu[_ngcontent-%COMP%]{font-size:.8em}.ueGenericLogin[_ngcontent-%COMP%]{background-color:#fff;box-shadow:3px 3px 10px 3px #0003}.buttonFullWidth[_ngcontent-%COMP%]{width:100%}.messageBlockNatural[_ngcontent-%COMP%]{background-color:#f3f7fc;color:#55606f}.alert[_ngcontent-%COMP%]{text-align:left}.help-block[_ngcontent-%COMP%]{font-size:.8em}.mainArea[_ngcontent-%COMP%]{margin-top:150px}input[_ngcontent-%COMP%]:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px white inset;background-color:#fff!important}.ueSubmitButton[_ngcontent-%COMP%], .ueTextInput[_ngcontent-%COMP%], .input-group-addon[_ngcontent-%COMP%], .messageBlockNatural[_ngcontent-%COMP%]{border-radius:4px!important}.input-group-addon[_ngcontent-%COMP%]{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.ueTextInput[_ngcontent-%COMP%]{border-top-left-radius:0!important;border-bottom-left-radius:0!important}span[_ngcontent-%COMP%] i.fa[_ngcontent-%COMP%]{min-width:14px}"]})}}const cMe=[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"",canActivate:Vs([If]),component:E1,children:[{path:"login",component:py},{path:"register",component:my},{path:"lostpassword",component:x1},{path:"resetpassword",component:L1},{path:"register-company",component:j1},{path:"invitation",children:[{path:":key",redirectTo:"/invitation/:key/verify",pathMatch:"full"},{path:":key/verify",component:py},{path:":key/register",component:my}]}]},{path:"",component:Y1,children:[{path:"dashboard",canActivate:Vs([es]),loadChildren:()=>$M},{path:"endpoints",canActivate:Vs([Hs,es]),loadChildren:()=>KM},{path:"profile",canActivate:Vs([es]),loadChildren:()=>s1},{path:"request-test-account",canActivate:Vs([es]),loadChildren:()=>c1},{path:"devices",canActivate:Vs([Hs,es]),loadChildren:()=>m1},{path:"servers",canActivate:Vs([Hs,es]),loadChildren:()=>b1},{path:"users",canActivate:Vs([es]),loadChildren:()=>k1}]},{path:"**",component:T1,pathMatch:"full"}];class H1{static{this.\u0275fac=function(t){return new(t||H1)}}static{this.\u0275mod=Ct({type:H1})}static{this.\u0275inj=dt({imports:[fi.forRoot(cMe,{}),fi]})}}class V1{static{this.\u0275fac=function(t){return new(t||V1)}}static{this.\u0275cmp=Fe({type:V1,selectors:[["ue-root"]],standalone:!1,decls:1,vars:0,template:function(t,i){1&t&&O(0,"router-outlet")},dependencies:[Co],encapsulation:2})}}class B1{static{this.\u0275fac=function(t){return new(t||B1)}}static{this.\u0275mod=Ct({type:B1,bootstrap:[V1]})}static{this.\u0275inj=dt({providers:[aj(cj())],imports:[jh,wg,dc,V_,H1]})}}jte().bootstrapModule(B1,{applicationProviders:[function OZ(n){const e=n?.scheduleInRootZone,t=function AZ({ngZoneFactory:n,scheduleInRootZone:e}){return n??=()=>new Et({...t3(),scheduleInRootZone:e}),[{provide:dv,useValue:!1},{provide:Et,useFactory:n},{provide:us,multi:!0,useFactory:()=>{const t=$(Hm,{optional:!0});return()=>t.initialize()}},{provide:us,multi:!0,useFactory:()=>{const t=$(Vm);return()=>{t.initialize()}}},{provide:VL,useValue:e??NL}]}({ngZoneFactory:()=>{const i=t3(n);return i.scheduleInRootZone=e,i.shouldCoalesceEventChangeDetection&&Hi("NgZone_CoalesceEvent"),new Et(i)},scheduleInRootZone:e});return Pa([{provide:PZ,useValue:!0},t])}()]})},7468(te){var Y={utf8:{stringToBytes:function(P){return Y.bin.stringToBytes(unescape(encodeURIComponent(P)))},bytesToString:function(P){return decodeURIComponent(escape(Y.bin.bytesToString(P)))}},bin:{stringToBytes:function(P){for(var D=[],h=0;h>>32-h},rotr:function(D,h){return D<<32-h|D>>>h},endian:function(D){if(D.constructor==Number)return 16711935&P.rotl(D,8)|4278255360&P.rotl(D,24);for(var h=0;h0;D--)h.push(Math.floor(256*Math.random()));return h},bytesToWords:function(D){for(var h=[],v=0,g=0;v>>5]|=D[v]<<24-g%32;return h},wordsToBytes:function(D){for(var h=[],v=0;v<32*D.length;v+=8)h.push(D[v>>>5]>>>24-v%32&255);return h},bytesToHex:function(D){for(var h=[],v=0;v>>4).toString(16)),h.push((15&D[v]).toString(16));return h.join("")},hexToBytes:function(D){for(var h=[],v=0;v>>6*(3-y)&63)):h.push("=");return h.join("")},base64ToBytes:function(D){D=D.replace(/[^A-Z0-9+\/]/gi,"");for(var h=[],v=0,g=0;v>>6-2*g);return h}},te.exports=P},243(te){"use strict";var Y={single_source_shortest_paths:function(P,D,h){var v={},g={};g[D]=0;var M,L,E,z,F,X,Z,y=Y.PriorityQueue.make();for(y.push(D,0);!y.empty();)for(E in L=(M=y.pop()).value,z=M.cost,F=P[L]||{})F.hasOwnProperty(E)&&(X=z+F[E],Z=g[E],(typeof g[E]>"u"||Z>X)&&(g[E]=X,y.push(E,X),v[E]=L));if(typeof h<"u"&&typeof g[h]>"u"){var le=["Could not find a path from ",D," to ",h,"."].join("");throw new Error(le)}return v},extract_shortest_path_from_predecessor_list:function(P,D){for(var h=[],v=D;v;)h.push(v),P[v],v=P[v];return h.reverse(),h},find_path:function(P,D,h){var v=Y.single_source_shortest_paths(P,D,h);return Y.extract_shortest_path_from_predecessor_list(v,h)},PriorityQueue:{make:function(P){var v,D=Y.PriorityQueue,h={};for(v in P=P||{},D)D.hasOwnProperty(v)&&(h[v]=D[v]);return h.queue=[],h.sorter=P.sorter||D.default_sorter,h},default_sorter:function(P,D){return P.cost-D.cost},push:function(P,D){var h={value:P,cost:D};this.queue.push(h),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};te.exports=Y},8749(te){function Y(D){return!!D.constructor&&"function"==typeof D.constructor.isBuffer&&D.constructor.isBuffer(D)}te.exports=function(D){return null!=D&&(Y(D)||function P(D){return"function"==typeof D.readFloatLE&&"function"==typeof D.slice&&Y(D.slice(0,0))}(D)||!!D._isBuffer)}},9812(te,Y,P){var D,h,v,g,y;D=P(9928),h=P(7468).utf8,v=P(8749),g=P(7468).bin,(y=function(M,L){M.constructor==String?M=L&&"binary"===L.encoding?g.stringToBytes(M):h.stringToBytes(M):v(M)?M=Array.prototype.slice.call(M,0):!Array.isArray(M)&&M.constructor!==Uint8Array&&(M=M.toString());for(var E=D.bytesToWords(M),z=8*M.length,F=1732584193,K=-271733879,X=-1732584194,Z=271733878,ce=0;ce>>24)|4278255360&(E[ce]<<24|E[ce]>>>8);E[z>>>5]|=128<>>9<<4)]=z;var le=y._ff,Ue=y._gg,Ae=y._hh,Oe=y._ii;for(ce=0;ce>>0,K=K+ze>>>0,X=X+un>>>0,Z=Z+an>>>0}return D.endian([F,K,X,Z])})._ff=function(M,L,E,z,F,K,X){var Z=M+(L&E|~L&z)+(F>>>0)+X;return(Z<>>32-K)+L},y._gg=function(M,L,E,z,F,K,X){var Z=M+(L&z|E&~z)+(F>>>0)+X;return(Z<>>32-K)+L},y._hh=function(M,L,E,z,F,K,X){var Z=M+(L^E^z)+(F>>>0)+X;return(Z<>>32-K)+L},y._ii=function(M,L,E,z,F,K,X){var Z=M+(E^(L|~z))+(F>>>0)+X;return(Z<>>32-K)+L},y._blocksize=16,y._digestsize=16,te.exports=function(M,L){if(null==M)throw new Error("Illegal argument "+M);var E=D.wordsToBytes(y(M,L));return L&&L.asBytes?E:L&&L.asString?g.bytesToString(E):D.bytesToHex(E)}},1544(te,Y,P){!function(D){"use strict";D.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(v){return/^nm$/i.test(v)},meridiem:function(v,g,y){return v<12?y?"vm":"VM":y?"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(v){return v+(1===v||8===v||v>=20?"ste":"de")},week:{dow:1,doy:4}})}(P(7586))},2155(te,Y,P){!function(D){"use strict";var h=function(L){return 0===L?0:1===L?1:2===L?2:L%100>=3&&L%100<=10?3:L%100>=11?4:5},v={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"]},g=function(L){return function(E,z,F,K){var X=h(E),Z=v[L][h(E)];return 2===X&&(Z=Z[z?0:1]),Z.replace(/%d/i,E)}},y=["\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"];D.defineLocale("ar-dz",{months:y,monthsShort:y,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(L){return"\u0645"===L},meridiem:function(L,E,z){return L<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:g("s"),ss:g("s"),m:g("m"),mm:g("m"),h:g("h"),hh:g("h"),d:g("d"),dd:g("d"),M:g("M"),MM:g("M"),y:g("y"),yy:g("y")},postformat:function(L){return L.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(P(7586))},3583(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},1638(te,Y,P){!function(D){"use strict";var h={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},v=function(E){return 0===E?0:1===E?1:2===E?2:E%100>=3&&E%100<=10?3:E%100>=11?4:5},g={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"]},y=function(E){return function(z,F,K,X){var Z=v(z),ce=g[E][v(z)];return 2===Z&&(ce=ce[F?0:1]),ce.replace(/%d/i,z)}},M=["\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"];D.defineLocale("ar-ly",{months:M,monthsShort:M,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(E){return"\u0645"===E},meridiem:function(E,z,F){return E<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:y("s"),ss:y("s"),m:y("m"),mm:y("m"),h:y("h"),hh:y("h"),d:y("d"),dd:y("d"),M:y("M"),MM:y("M"),y:y("y"),yy:y("y")},preparse:function(E){return E.replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(z){return h[z]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(P(7586))},7823(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},7712(te,Y,P){!function(D){"use strict";var h={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},v={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};D.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(y){return"\u0645"===y},meridiem:function(y,M,L){return y<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(y){return y.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(M){return v[M]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(M){return v[M]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(M){return h[M]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(P(7586))},8261(te,Y,P){!function(D){"use strict";var h={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},v={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};D.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(y){return"\u0645"===y},meridiem:function(y,M,L){return y<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(y){return y.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(M){return v[M]}).replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(M){return h[M]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(P(7586))},6703(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},3108(te,Y,P){!function(D){"use strict";var h={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},v={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},g=function(z){return 0===z?0:1===z?1:2===z?2:z%100>=3&&z%100<=10?3:z%100>=11?4:5},y={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(z){return function(F,K,X,Z){var ce=g(F),le=y[z][g(F)];return 2===ce&&(le=le[K?0:1]),le.replace(/%d/i,F)}},L=["\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"];D.defineLocale("ar",{months:L,monthsShort:L,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(z){return"\u0645"===z},meridiem:function(z,F,K){return z<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")},preparse:function(z){return z.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(F){return v[F]}).replace(/\u060c/g,",")},postformat:function(z){return z.replace(/\d/g,function(F){return h[F]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(P(7586))},6508(te,Y,P){!function(D){"use strict";var h={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"};D.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(g){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(g)},meridiem:function(g,y,M){return g<4?"gec\u0259":g<12?"s\u0259h\u0259r":g<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(g){if(0===g)return g+"-\u0131nc\u0131";var y=g%10,M=g%100-y,L=g>=100?100:null;return g+(h[y]||h[M]||h[L])},week:{dow:1,doy:7}})}(P(7586))},6766(te,Y,P){!function(D){"use strict";function h(y,M){var L=y.split("_");return M%10==1&&M%100!=11?L[0]:M%10>=2&&M%10<=4&&(M%100<10||M%100>=20)?L[1]:L[2]}function v(y,M,L){return"m"===L?M?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===L?M?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":y+" "+h({ss:M?"\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:M?"\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:M?"\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"}[L],+y)}D.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:v,mm:v,h:v,hh:v,d:"\u0434\u0437\u0435\u043d\u044c",dd:v,M:"\u043c\u0435\u0441\u044f\u0446",MM:v,y:"\u0433\u043e\u0434",yy:v},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(y){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(y)},meridiem:function(y,M,L){return y<4?"\u043d\u043e\u0447\u044b":y<12?"\u0440\u0430\u043d\u0456\u0446\u044b":y<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(y,M){switch(M){case"M":case"d":case"DDD":case"w":case"W":return y%10!=2&&y%10!=3||y%100==12||y%100==13?y+"-\u044b":y+"-\u0456";case"D":return y+"-\u0433\u0430";default:return y}},week:{dow:1,doy:7}})}(P(7586))},8564(te,Y,P){!function(D){"use strict";D.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(v){var g=v%10,y=v%100;return 0===v?v+"-\u0435\u0432":0===y?v+"-\u0435\u043d":y>10&&y<20?v+"-\u0442\u0438":1===g?v+"-\u0432\u0438":2===g?v+"-\u0440\u0438":7===g||8===g?v+"-\u043c\u0438":v+"-\u0442\u0438"},week:{dow:1,doy:7}})}(P(7586))},7462(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},3438(te,Y,P){!function(D){"use strict";var h={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},v={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};D.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(y){return y.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(M){return v[M]})},postformat:function(y){return y.replace(/\d/g,function(M){return h[M]})},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(y,M){return 12===y&&(y=0),"\u09b0\u09be\u09a4"===M?y<4?y:y+12:"\u09ad\u09cb\u09b0"===M||"\u09b8\u0995\u09be\u09b2"===M?y:"\u09a6\u09c1\u09aa\u09c1\u09b0"===M?y>=3?y:y+12:"\u09ac\u09bf\u0995\u09be\u09b2"===M||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===M?y+12:void 0},meridiem:function(y,M,L){return y<4?"\u09b0\u09be\u09a4":y<6?"\u09ad\u09cb\u09b0":y<12?"\u09b8\u0995\u09be\u09b2":y<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":y<18?"\u09ac\u09bf\u0995\u09be\u09b2":y<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(P(7586))},7107(te,Y,P){!function(D){"use strict";var h={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},v={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};D.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(y){return y.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(M){return v[M]})},postformat:function(y){return y.replace(/\d/g,function(M){return h[M]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(y,M){return 12===y&&(y=0),"\u09b0\u09be\u09a4"===M&&y>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===M&&y<5||"\u09ac\u09bf\u0995\u09be\u09b2"===M?y+12:y},meridiem:function(y,M,L){return y<4?"\u09b0\u09be\u09a4":y<10?"\u09b8\u0995\u09be\u09b2":y<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":y<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(P(7586))},9004(te,Y,P){!function(D){"use strict";var h={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},v={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};D.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(y){return y.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(M){return v[M]})},postformat:function(y){return y.replace(/\d/g,function(M){return h[M]})},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(y,M){return 12===y&&(y=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===M&&y>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===M&&y<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===M?y+12:y},meridiem:function(y,M,L){return y<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":y<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":y<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":y<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(P(7586))},927(te,Y,P){!function(D){"use strict";function h(le,Ue,Ae){return le+" "+y({mm:"munutenn",MM:"miz",dd:"devezh"}[Ae],le)}function v(le){switch(g(le)){case 1:case 3:case 4:case 5:case 9:return le+" bloaz";default:return le+" vloaz"}}function g(le){return le>9?g(le%10):le}function y(le,Ue){return 2===Ue?M(le):le}function M(le){var Ue={m:"v",b:"v",d:"z"};return void 0===Ue[le.charAt(0)]?le:Ue[le.charAt(0)]+le.substring(1)}var L=[/^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],E=/^(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,z=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,F=/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,K=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],X=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],Z=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];D.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:Z,fullWeekdaysParse:K,shortWeekdaysParse:X,minWeekdaysParse:Z,monthsRegex:E,monthsShortRegex:E,monthsStrictRegex:z,monthsShortStrictRegex:F,monthsParse:L,longMonthsParse:L,shortMonthsParse:L,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:h,h:"un eur",hh:"%d eur",d:"un devezh",dd:h,M:"ur miz",MM:h,y:"ur bloaz",yy:v},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(le){return le+(1===le?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(le){return"g.m."===le},meridiem:function(le,Ue,Ae){return le<12?"a.m.":"g.m."}})}(P(7586))},7768(te,Y,P){!function(D){"use strict";function h(y,M,L,E){if("m"===L)return M?"jedna minuta":E?"jednu minutu":"jedne minute"}function v(y,M,L){var E=y+" ";switch(L){case"ss":return E+=1===y?"sekunda":2===y||3===y||4===y?"sekunde":"sekundi";case"mm":return E+=1===y?"minuta":2===y||3===y||4===y?"minute":"minuta";case"h":return"jedan sat";case"hh":return E+=1===y?"sat":2===y||3===y||4===y?"sata":"sati";case"dd":return E+=1===y?"dan":"dana";case"MM":return E+=1===y?"mjesec":2===y||3===y||4===y?"mjeseca":"mjeseci";case"yy":return E+=1===y?"godina":2===y||3===y||4===y?"godine":"godina"}}D.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:h,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}})}(P(7586))},6291(te,Y,P){!function(D){"use strict";D.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(v,g){var y=1===v?"r":2===v?"n":3===v?"r":4===v?"t":"\xe8";return("w"===g||"W"===g)&&(y="a"),v+y},week:{dow:1,doy:4}})}(P(7586))},5301(te,Y,P){!function(D){"use strict";var h={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},v="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),g=[/^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],y=/^(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 M(z){return z>1&&z<5&&1!=~~(z/10)}function L(z,F,K,X){var Z=z+" ";switch(K){case"s":return F||X?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return F||X?Z+(M(z)?"sekundy":"sekund"):Z+"sekundami";case"m":return F?"minuta":X?"minutu":"minutou";case"mm":return F||X?Z+(M(z)?"minuty":"minut"):Z+"minutami";case"h":return F?"hodina":X?"hodinu":"hodinou";case"hh":return F||X?Z+(M(z)?"hodiny":"hodin"):Z+"hodinami";case"d":return F||X?"den":"dnem";case"dd":return F||X?Z+(M(z)?"dny":"dn\xed"):Z+"dny";case"M":return F||X?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return F||X?Z+(M(z)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):Z+"m\u011bs\xedci";case"y":return F||X?"rok":"rokem";case"yy":return F||X?Z+(M(z)?"roky":"let"):Z+"lety"}}D.defineLocale("cs",{months:h,monthsShort:v,monthsRegex:y,monthsShortRegex:y,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:g,longMonthsParse:g,shortMonthsParse:g,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:L,ss:L,m:L,mm:L,h:L,hh:L,d:L,dd:L,M:L,MM:L,y:L,yy:L},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(P(7586))},6666(te,Y,P){!function(D){"use strict";D.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(v){return v+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(v)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(v)?"\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}})}(P(7586))},5163(te,Y,P){!function(D){"use strict";D.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(v){var y="";return v>20?y=40===v||50===v||60===v||80===v||100===v?"fed":"ain":v>0&&(y=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][v]),v+y},week:{dow:1,doy:4}})}(P(7586))},7360(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},3248(te,Y,P){!function(D){"use strict";function h(g,y,M,L){var E={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[g+" Tage",g+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[g+" Monate",g+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[g+" Jahre",g+" Jahren"]};return y?E[M][0]:E[M][1]}D.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:h,mm:"%d Minuten",h,hh:"%d Stunden",d:h,dd:h,w:h,ww:"%d Wochen",M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(P(7586))},3222(te,Y,P){!function(D){"use strict";function h(g,y,M,L){var E={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[g+" Tage",g+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[g+" Monate",g+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[g+" Jahre",g+" Jahren"]};return y?E[M][0]:E[M][1]}D.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:h,mm:"%d Minuten",h,hh:"%d Stunden",d:h,dd:h,w:h,ww:"%d Wochen",M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(P(7586))},5932(te,Y,P){!function(D){"use strict";function h(g,y,M,L){var E={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[g+" Tage",g+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[g+" Monate",g+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[g+" Jahre",g+" Jahren"]};return y?E[M][0]:E[M][1]}D.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:h,mm:"%d Minuten",h,hh:"%d Stunden",d:h,dd:h,w:h,ww:"%d Wochen",M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(P(7586))},6405(te,Y,P){!function(D){"use strict";var h=["\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"],v=["\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"];D.defineLocale("dv",{months:h,monthsShort:h,weekdays:v,weekdaysShort:v,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(y){return"\u0789\u078a"===y},meridiem:function(y,M,L){return y<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(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(P(7586))},718(te,Y,P){!function(D){"use strict";function h(g){return typeof Function<"u"&&g instanceof Function||"[object Function]"===Object.prototype.toString.call(g)}D.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(g,y){return g?"string"==typeof y&&/D/.test(y.substring(0,y.indexOf("MMMM")))?this._monthsGenitiveEl[g.month()]:this._monthsNominativeEl[g.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(g,y,M){return g>11?M?"\u03bc\u03bc":"\u039c\u039c":M?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(g){return"\u03bc"===(g+"").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(g,y){var M=this._calendarEl[g],L=y&&y.hours();return h(M)&&(M=M.apply(y)),M.replace("{}",L%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}})}(P(7586))},6319(te,Y,P){!function(D){"use strict";D.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(v){var g=v%10;return v+(1==~~(v%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")},week:{dow:0,doy:4}})}(P(7586))},597(te,Y,P){!function(D){"use strict";D.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(v){var g=v%10;return v+(1==~~(v%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")}})}(P(7586))},1800(te,Y,P){!function(D){"use strict";D.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(v){var g=v%10;return v+(1==~~(v%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")},week:{dow:1,doy:4}})}(P(7586))},807(te,Y,P){!function(D){"use strict";D.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(v){var g=v%10;return v+(1==~~(v%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")},week:{dow:1,doy:4}})}(P(7586))},5960(te,Y,P){!function(D){"use strict";D.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(v){var g=v%10;return v+(1==~~(v%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")}})}(P(7586))},4418(te,Y,P){!function(D){"use strict";D.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(v){var g=v%10;return v+(1==~~(v%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")},week:{dow:0,doy:6}})}(P(7586))},6865(te,Y,P){!function(D){"use strict";D.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(v){var g=v%10;return v+(1==~~(v%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")},week:{dow:1,doy:4}})}(P(7586))},2647(te,Y,P){!function(D){"use strict";D.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(v){var g=v%10;return v+(1==~~(v%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")},week:{dow:1,doy:4}})}(P(7586))},1931(te,Y,P){!function(D){"use strict";D.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(v){return"p"===v.charAt(0).toLowerCase()},meridiem:function(v,g,y){return v>11?y?"p.t.m.":"P.T.M.":y?"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}})}(P(7586))},1805(te,Y,P){!function(D){"use strict";var h="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),v="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),g=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],y=/^(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;D.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,E){return L?/-MMM-/.test(E)?v[L.month()]:h[L.month()]:h},monthsRegex:y,monthsShortRegex:y,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:g,longMonthsParse:g,shortMonthsParse:g,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}})}(P(7586))},3445(te,Y,P){!function(D){"use strict";var h="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),v="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),g=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],y=/^(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;D.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,E){return L?/-MMM-/.test(E)?v[L.month()]:h[L.month()]:h},monthsRegex:y,monthsShortRegex:y,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:g,longMonthsParse:g,shortMonthsParse:g,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"})}(P(7586))},1516(te,Y,P){!function(D){"use strict";var h="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),v="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),g=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],y=/^(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;D.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,E){return L?/-MMM-/.test(E)?v[L.month()]:h[L.month()]:h},monthsRegex:y,monthsShortRegex:y,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:g,longMonthsParse:g,shortMonthsParse:g,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}})}(P(7586))},6679(te,Y,P){!function(D){"use strict";var h="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),v="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),g=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],y=/^(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;D.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,E){return L?/-MMM-/.test(E)?v[L.month()]:h[L.month()]:h},monthsRegex:y,monthsShortRegex:y,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:g,longMonthsParse:g,shortMonthsParse:g,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"})}(P(7586))},8150(te,Y,P){!function(D){"use strict";function h(g,y,M,L){var E={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[g+"sekundi",g+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[g+" minuti",g+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[g+" tunni",g+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[g+" kuu",g+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[g+" aasta",g+" aastat"]};return y?E[M][2]?E[M][2]:E[M][1]:L?E[M][0]:E[M][1]}D.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:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:"%d p\xe4eva",M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(P(7586))},757(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},5742(te,Y,P){!function(D){"use strict";var h={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},v={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};D.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(y){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(y)},meridiem:function(y,M,L){return y<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(y){return y.replace(/[\u06f0-\u06f9]/g,function(M){return v[M]}).replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(M){return h[M]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(P(7586))},3958(te,Y,P){!function(D){"use strict";var h="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),v=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",h[7],h[8],h[9]];function g(L,E,z,F){var K="";switch(z){case"s":return F?"muutaman sekunnin":"muutama sekunti";case"ss":K=F?"sekunnin":"sekuntia";break;case"m":return F?"minuutin":"minuutti";case"mm":K=F?"minuutin":"minuuttia";break;case"h":return F?"tunnin":"tunti";case"hh":K=F?"tunnin":"tuntia";break;case"d":return F?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":K=F?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return F?"kuukauden":"kuukausi";case"MM":K=F?"kuukauden":"kuukautta";break;case"y":return F?"vuoden":"vuosi";case"yy":K=F?"vuoden":"vuotta"}return K=y(L,F)+" "+K}function y(L,E){return L<10?E?v[L]:h[L]:L}D.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:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(P(7586))},6720(te,Y,P){!function(D){"use strict";D.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(v){return v},week:{dow:1,doy:4}})}(P(7586))},8352(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},2096(te,Y,P){!function(D){"use strict";D.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(v,g){switch(g){default:case"M":case"Q":case"D":case"DDD":case"d":return v+(1===v?"er":"e");case"w":case"W":return v+(1===v?"re":"e")}}})}(P(7586))},5759(te,Y,P){!function(D){"use strict";D.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(v,g){switch(g){default:case"M":case"Q":case"D":case"DDD":case"d":return v+(1===v?"er":"e");case"w":case"W":return v+(1===v?"re":"e")}},week:{dow:1,doy:4}})}(P(7586))},4059(te,Y,P){!function(D){"use strict";var h=/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,v=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,g=/(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,y=[/^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];D.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:g,monthsShortRegex:g,monthsStrictRegex:h,monthsShortStrictRegex:v,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,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(L,E){switch(E){case"D":return L+(1===L?"er":"");default:case"M":case"Q":case"DDD":case"d":return L+(1===L?"er":"e");case"w":case"W":return L+(1===L?"re":"e")}},week:{dow:1,doy:4}})}(P(7586))},5958(te,Y,P){!function(D){"use strict";var h="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),v="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");D.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(y,M){return y?/-MMM-/.test(M)?v[y.month()]:h[y.month()]:h},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(y){return y+(1===y||8===y||y>=20?"ste":"de")},week:{dow:1,doy:4}})}(P(7586))},4143(te,Y,P){!function(D){"use strict";var h=["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],v=["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],g=["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],y=["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],M=["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"];D.defineLocale("ga",{months:h,monthsShort:v,monthsParseExact:!0,weekdays:g,weekdaysShort:y,weekdaysMin: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:"[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(E){return E+(1===E?"d":E%10==2?"na":"mh")},week:{dow:1,doy:4}})}(P(7586))},7028(te,Y,P){!function(D){"use strict";var h=["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"],v=["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],g=["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],y=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],M=["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"];D.defineLocale("gd",{months:h,monthsShort:v,monthsParseExact:!0,weekdays:g,weekdaysShort:y,weekdaysMin: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:"[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(E){return E+(1===E?"d":E%10==2?"na":"mh")},week:{dow:1,doy:4}})}(P(7586))},428(te,Y,P){!function(D){"use strict";D.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(v){return 0===v.indexOf("un")?"n"+v:"en "+v},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}})}(P(7586))},6861(te,Y,P){!function(D){"use strict";function h(g,y,M,L){var E={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:[g+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",g+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[g+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",g+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[g+" \u0935\u0930\u093e\u0902\u0928\u0940",g+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[g+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",g+" \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:[g+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",g+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[g+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",g+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return L?E[M][0]:E[M][1]}D.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:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(g,y){return"D"===y?g+"\u0935\u0947\u0930":g},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(g,y){return 12===g&&(g=0),"\u0930\u093e\u0924\u0940"===y?g<4?g:g+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===y?g:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===y?g>12?g:g+12:"\u0938\u093e\u0902\u091c\u0947"===y?g+12:void 0},meridiem:function(g,y,M){return g<4?"\u0930\u093e\u0924\u0940":g<12?"\u0938\u0915\u093e\u0933\u0940\u0902":g<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":g<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(P(7586))},7718(te,Y,P){!function(D){"use strict";function h(g,y,M,L){var E={s:["thoddea sekondamni","thodde sekond"],ss:[g+" sekondamni",g+" sekond"],m:["eka mintan","ek minut"],mm:[g+" mintamni",g+" mintam"],h:["eka voran","ek vor"],hh:[g+" voramni",g+" voram"],d:["eka disan","ek dis"],dd:[g+" disamni",g+" dis"],M:["eka mhoinean","ek mhoino"],MM:[g+" mhoineamni",g+" mhoine"],y:["eka vorsan","ek voros"],yy:[g+" vorsamni",g+" vorsam"]};return L?E[M][0]:E[M][1]}D.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:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(g,y){return"D"===y?g+"er":g},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(g,y){return 12===g&&(g=0),"rati"===y?g<4?g:g+12:"sokallim"===y?g:"donparam"===y?g>12?g:g+12:"sanje"===y?g+12:void 0},meridiem:function(g,y,M){return g<4?"rati":g<12?"sokallim":g<16?"donparam":g<20?"sanje":"rati"}})}(P(7586))},6827(te,Y,P){!function(D){"use strict";var h={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},v={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};D.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(y){return y.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(M){return v[M]})},postformat:function(y){return y.replace(/\d/g,function(M){return h[M]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(y,M){return 12===y&&(y=0),"\u0ab0\u0abe\u0aa4"===M?y<4?y:y+12:"\u0ab8\u0ab5\u0abe\u0ab0"===M?y:"\u0aac\u0aaa\u0acb\u0ab0"===M?y>=10?y:y+12:"\u0ab8\u0abe\u0a82\u0a9c"===M?y+12:void 0},meridiem:function(y,M,L){return y<4?"\u0ab0\u0abe\u0aa4":y<10?"\u0ab8\u0ab5\u0abe\u0ab0":y<17?"\u0aac\u0aaa\u0acb\u0ab0":y<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(P(7586))},1936(te,Y,P){!function(D){"use strict";D.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(v){return 2===v?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":v+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(v){return 2===v?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":v+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(v){return 2===v?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":v+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(v){return 2===v?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":v%10==0&&10!==v?v+" \u05e9\u05e0\u05d4":v+" \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(v){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(v)},meridiem:function(v,g,y){return v<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":v<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":v<12?y?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":v<18?y?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(P(7586))},1332(te,Y,P){!function(D){"use strict";var h={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},v={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},g=[/^\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],y=[/^\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];D.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:g,longMonthsParse:g,shortMonthsParse:y,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(L){return L.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(E){return v[E]})},postformat:function(L){return L.replace(/\d/g,function(E){return h[E]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(L,E){return 12===L&&(L=0),"\u0930\u093e\u0924"===E?L<4?L:L+12:"\u0938\u0941\u092c\u0939"===E?L:"\u0926\u094b\u092a\u0939\u0930"===E?L>=10?L:L+12:"\u0936\u093e\u092e"===E?L+12:void 0},meridiem:function(L,E,z){return L<4?"\u0930\u093e\u0924":L<10?"\u0938\u0941\u092c\u0939":L<17?"\u0926\u094b\u092a\u0939\u0930":L<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(P(7586))},1957(te,Y,P){!function(D){"use strict";function h(g,y,M){var L=g+" ";switch(M){case"ss":return L+=1===g?"sekunda":2===g||3===g||4===g?"sekunde":"sekundi";case"m":return y?"jedna minuta":"jedne minute";case"mm":return L+=1===g?"minuta":2===g||3===g||4===g?"minute":"minuta";case"h":return y?"jedan sat":"jednog sata";case"hh":return L+=1===g?"sat":2===g||3===g||4===g?"sata":"sati";case"dd":return L+=1===g?"dan":"dana";case"MM":return L+=1===g?"mjesec":2===g||3===g||4===g?"mjeseca":"mjeseci";case"yy":return L+=1===g?"godina":2===g||3===g||4===g?"godine":"godina"}}D.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:h,m:h,mm:h,h,hh:h,d:"dan",dd:h,M:"mjesec",MM:h,y:"godinu",yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(P(7586))},8928(te,Y,P){!function(D){"use strict";var h="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function v(M,L,E,z){var F=M;switch(E){case"s":return z||L?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return F+(z||L)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(z||L?" perc":" perce");case"mm":return F+(z||L?" perc":" perce");case"h":return"egy"+(z||L?" \xf3ra":" \xf3r\xe1ja");case"hh":return F+(z||L?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(z||L?" nap":" napja");case"dd":return F+(z||L?" nap":" napja");case"M":return"egy"+(z||L?" h\xf3nap":" h\xf3napja");case"MM":return F+(z||L?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(z||L?" \xe9v":" \xe9ve");case"yy":return F+(z||L?" \xe9v":" \xe9ve")}return""}function g(M){return(M?"":"[m\xfalt] ")+"["+h[this.day()]+"] LT[-kor]"}D.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(M){return"u"===M.charAt(1).toLowerCase()},meridiem:function(M,L,E){return M<12?!0===E?"de":"DE":!0===E?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return g.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return g.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%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:4}})}(P(7586))},6215(te,Y,P){!function(D){"use strict";D.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(v){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(v)},meridiem:function(v){return v<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":v<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":v<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(v,g){switch(g){case"DDD":case"w":case"W":case"DDDo":return 1===v?v+"-\u056b\u0576":v+"-\u0580\u0564";default:return v}},week:{dow:1,doy:7}})}(P(7586))},586(te,Y,P){!function(D){"use strict";D.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(v,g){return 12===v&&(v=0),"pagi"===g?v:"siang"===g?v>=11?v:v+12:"sore"===g||"malam"===g?v+12:void 0},meridiem:function(v,g,y){return v<11?"pagi":v<15?"siang":v<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}})}(P(7586))},211(te,Y,P){!function(D){"use strict";function h(y){return y%100==11||y%10!=1}function v(y,M,L,E){var z=y+" ";switch(L){case"s":return M||E?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return h(y)?z+(M||E?"sek\xfandur":"sek\xfandum"):z+"sek\xfanda";case"m":return M?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return h(y)?z+(M||E?"m\xedn\xfatur":"m\xedn\xfatum"):M?z+"m\xedn\xfata":z+"m\xedn\xfatu";case"hh":return h(y)?z+(M||E?"klukkustundir":"klukkustundum"):z+"klukkustund";case"d":return M?"dagur":E?"dag":"degi";case"dd":return h(y)?M?z+"dagar":z+(E?"daga":"d\xf6gum"):M?z+"dagur":z+(E?"dag":"degi");case"M":return M?"m\xe1nu\xf0ur":E?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return h(y)?M?z+"m\xe1nu\xf0ir":z+(E?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):M?z+"m\xe1nu\xf0ur":z+(E?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return M||E?"\xe1r":"\xe1ri";case"yy":return h(y)?z+(M||E?"\xe1r":"\xe1rum"):z+(M||E?"\xe1r":"\xe1ri")}}D.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:v,ss:v,m:v,mm:v,h:"klukkustund",hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(P(7586))},2340(te,Y,P){!function(D){"use strict";D.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(v){return(/^[0-9].+$/.test(v)?"tra":"in")+" "+v},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}})}(P(7586))},170(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},9770(te,Y,P){!function(D){"use strict";D.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(v,g){return"\u5143"===g[1]?1:parseInt(g[1]||v,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(v){return"\u5348\u5f8c"===v},meridiem:function(v,g,y){return v<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(v){return v.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(v){return this.week()!==v.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(v,g){switch(g){case"y":return 1===v?"\u5143\u5e74":v+"\u5e74";case"d":case"D":case"DDD":return v+"\u65e5";default:return v}},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"}})}(P(7586))},3875(te,Y,P){!function(D){"use strict";D.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(v,g){return 12===v&&(v=0),"enjing"===g?v:"siyang"===g?v>=11?v:v+12:"sonten"===g||"ndalu"===g?v+12:void 0},meridiem:function(v,g,y){return v<11?"enjing":v<15?"siyang":v<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}})}(P(7586))},9499(te,Y,P){!function(D){"use strict";D.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(v){return v.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(g,y,M){return"\u10d8"===M?y+"\u10e8\u10d8":y+M+"\u10e8\u10d8"})},past:function(v){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(v)?v.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(v)?v.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):v},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(v){return 0===v?v:1===v?v+"-\u10da\u10d8":v<20||v<=100&&v%20==0||v%100==0?"\u10db\u10d4-"+v:v+"-\u10d4"},week:{dow:1,doy:7}})}(P(7586))},3573(te,Y,P){!function(D){"use strict";var h={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"};D.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(g){var y=g%10,M=g>=100?100:null;return g+(h[g]||h[y]||h[M])},week:{dow:1,doy:7}})}(P(7586))},8807(te,Y,P){!function(D){"use strict";var h={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},v={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};D.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(y){return"\u179b\u17d2\u1784\u17b6\u1785"===y},meridiem:function(y,M,L){return y<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(y){return y.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(M){return v[M]})},postformat:function(y){return y.replace(/\d/g,function(M){return h[M]})},week:{dow:1,doy:4}})}(P(7586))},5082(te,Y,P){!function(D){"use strict";var h={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},v={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};D.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(y){return y.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(M){return v[M]})},postformat:function(y){return y.replace(/\d/g,function(M){return h[M]})},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(y,M){return 12===y&&(y=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===M?y<4?y:y+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===M?y:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===M?y>=10?y:y+12:"\u0cb8\u0c82\u0c9c\u0cc6"===M?y+12:void 0},meridiem:function(y,M,L){return y<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":y<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":y<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":y<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(y){return y+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(P(7586))},137(te,Y,P){!function(D){"use strict";D.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(v,g){switch(g){case"d":case"D":case"DDD":return v+"\uc77c";case"M":return v+"\uc6d4";case"w":case"W":return v+"\uc8fc";default:return v}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(v){return"\uc624\ud6c4"===v},meridiem:function(v,g,y){return v<12?"\uc624\uc804":"\uc624\ud6c4"}})}(P(7586))},3744(te,Y,P){!function(D){"use strict";function h(y,M,L,E){var z={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[y+" san\xeeye",y+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[y+" deq\xeeqe",y+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[y+" saet",y+" saetan"],d:["rojek","rojek\xea"],dd:[y+" roj",y+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[y+" hefte",y+" hefteyan"],M:["mehek","mehek\xea"],MM:[y+" meh",y+" mehan"],y:["salek","salek\xea"],yy:[y+" sal",y+" salan"]};return M?z[L][0]:z[L][1]}function v(y){var M=(y=""+y).substring(y.length-1),L=y.length>1?y.substring(y.length-2):"";return 12==L||13==L||"2"!=M&&"3"!=M&&"50"!=L&&"70"!=M&&"80"!=M?"\xea":"y\xea"}D.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(y,M,L){return y<12?L?"bn":"BN":L?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"ber\xee %s",s:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,w:h,ww:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(y,M){var L=M.toLowerCase();return L.includes("w")||L.includes("m")?y+".":y+v(y)},week:{dow:1,doy:4}})}(P(7586))},111(te,Y,P){!function(D){"use strict";var h={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},v={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},g=["\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"];D.defineLocale("ku",{months:g,monthsShort:g,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(M){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(M)},meridiem:function(M,L,E){return M<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(M){return M.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(L){return v[L]}).replace(/\u060c/g,",")},postformat:function(M){return M.replace(/\d/g,function(L){return h[L]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(P(7586))},9187(te,Y,P){!function(D){"use strict";var h={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"};D.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(g){var y=g%10,M=g>=100?100:null;return g+(h[g]||h[y]||h[M])},week:{dow:1,doy:7}})}(P(7586))},5969(te,Y,P){!function(D){"use strict";function h(L,E,z,F){var K={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 E?K[z][0]:K[z][1]}function v(L){return y(L.substr(0,L.indexOf(" ")))?"a "+L:"an "+L}function g(L){return y(L.substr(0,L.indexOf(" ")))?"viru "+L:"virun "+L}function y(L){if(L=parseInt(L,10),isNaN(L))return!1;if(L<0)return!0;if(L<10)return 4<=L&&L<=7;if(L<100){var E=L%10;return y(0===E?L/10:E)}if(L<1e4){for(;L>=10;)L/=10;return y(L)}return y(L/=1e3)}D.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:v,past:g,s:"e puer Sekonnen",ss:"%d Sekonnen",m:h,mm:"%d Minutten",h,hh:"%d Stonnen",d:h,dd:"%d Deeg",M:h,MM:"%d M\xe9int",y:h,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(P(7586))},3526(te,Y,P){!function(D){"use strict";D.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(v){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===v},meridiem:function(v,g,y){return v<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(v){return"\u0e97\u0eb5\u0ec8"+v}})}(P(7586))},411(te,Y,P){!function(D){"use strict";var h={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 v(z,F,K,X){return F?"kelios sekund\u0117s":X?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"}function g(z,F,K,X){return F?M(K)[0]:X?M(K)[1]:M(K)[2]}function y(z){return z%10==0||z>10&&z<20}function M(z){return h[z].split("_")}function L(z,F,K,X){var Z=z+" ";return 1===z?Z+g(z,F,K[0],X):F?Z+(y(z)?M(K)[1]:M(K)[0]):X?Z+M(K)[1]:Z+(y(z)?M(K)[1]:M(K)[2])}D.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:v,ss:L,m:g,mm:L,h:g,hh:L,d:g,dd:L,M:g,MM:L,y:g,yy:L},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(z){return z+"-oji"},week:{dow:1,doy:4}})}(P(7586))},2621(te,Y,P){!function(D){"use strict";var h={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 v(E,z,F){return F?z%10==1&&z%100!=11?E[2]:E[3]:z%10==1&&z%100!=11?E[0]:E[1]}function g(E,z,F){return E+" "+v(h[F],E,z)}function y(E,z,F){return v(h[F],E,z)}function M(E,z){return z?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"}D.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:M,ss:g,m:y,mm:g,h:y,hh:g,d:y,dd:g,M:y,MM:g,y,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(P(7586))},5869(te,Y,P){!function(D){"use strict";var h={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(g,y){return 1===g?y[0]:g>=2&&g<=4?y[1]:y[2]},translate:function(g,y,M){var L=h.words[M];return 1===M.length?y?L[0]:L[1]:g+" "+h.correctGrammaticalCase(g,L)}};D.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:h.translate,m:h.translate,mm:h.translate,h:h.translate,hh:h.translate,d:"dan",dd:h.translate,M:"mjesec",MM:h.translate,y:"godinu",yy:h.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(P(7586))},5881(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},2391(te,Y,P){!function(D){"use strict";D.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(v){var g=v%10,y=v%100;return 0===v?v+"-\u0435\u0432":0===y?v+"-\u0435\u043d":y>10&&y<20?v+"-\u0442\u0438":1===g?v+"-\u0432\u0438":2===g?v+"-\u0440\u0438":7===g||8===g?v+"-\u043c\u0438":v+"-\u0442\u0438"},week:{dow:1,doy:7}})}(P(7586))},1126(te,Y,P){!function(D){"use strict";D.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(v,g){return 12===v&&(v=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===g&&v>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===g||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===g?v+12:v},meridiem:function(v,g,y){return v<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":v<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":v<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":v<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(P(7586))},4892(te,Y,P){!function(D){"use strict";function h(g,y,M,L){switch(M){case"s":return y?"\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 g+(y?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return g+(y?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return g+(y?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return g+(y?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return g+(y?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return g+(y?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return g}}D.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(g){return"\u04ae\u0425"===g},meridiem:function(g,y,M){return g<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:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(g,y){switch(y){case"d":case"D":case"DDD":return g+" \u04e9\u0434\u04e9\u0440";default:return g}}})}(P(7586))},9080(te,Y,P){!function(D){"use strict";var h={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},v={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function g(M,L,E,z){var F="";if(L)switch(E){case"s":F="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":F="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":F="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":F="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":F="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":F="%d \u0924\u093e\u0938";break;case"d":F="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":F="%d \u0926\u093f\u0935\u0938";break;case"M":F="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":F="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":F="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":F="%d \u0935\u0930\u094d\u0937\u0947"}else switch(E){case"s":F="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":F="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":F="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":F="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":F="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":F="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":F="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":F="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":F="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":F="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":F="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":F="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return F.replace(/%d/i,M)}D.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:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},preparse:function(M){return M.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(L){return v[L]})},postformat:function(M){return M.replace(/\d/g,function(L){return h[L]})},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(M,L){return 12===M&&(M=0),"\u092a\u0939\u093e\u091f\u0947"===L||"\u0938\u0915\u093e\u0933\u0940"===L?M:"\u0926\u0941\u092a\u093e\u0930\u0940"===L||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===L||"\u0930\u093e\u0924\u094d\u0930\u0940"===L?M>=12?M:M+12:void 0},meridiem:function(M,L,E){return M>=0&&M<6?"\u092a\u0939\u093e\u091f\u0947":M<12?"\u0938\u0915\u093e\u0933\u0940":M<17?"\u0926\u0941\u092a\u093e\u0930\u0940":M<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(P(7586))},5950(te,Y,P){!function(D){"use strict";D.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(v,g){return 12===v&&(v=0),"pagi"===g?v:"tengahari"===g?v>=11?v:v+12:"petang"===g||"malam"===g?v+12:void 0},meridiem:function(v,g,y){return v<11?"pagi":v<15?"tengahari":v<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}})}(P(7586))},399(te,Y,P){!function(D){"use strict";D.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(v,g){return 12===v&&(v=0),"pagi"===g?v:"tengahari"===g?v>=11?v:v+12:"petang"===g||"malam"===g?v+12:void 0},meridiem:function(v,g,y){return v<11?"pagi":v<15?"tengahari":v<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}})}(P(7586))},9902(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},2985(te,Y,P){!function(D){"use strict";var h={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},v={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};D.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(y){return y.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(M){return v[M]})},postformat:function(y){return y.replace(/\d/g,function(M){return h[M]})},week:{dow:1,doy:4}})}(P(7586))},7859(te,Y,P){!function(D){"use strict";D.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(P(7586))},3642(te,Y,P){!function(D){"use strict";var h={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},v={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};D.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(y){return y.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(M){return v[M]})},postformat:function(y){return y.replace(/\d/g,function(M){return h[M]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(y,M){return 12===y&&(y=0),"\u0930\u093e\u0924\u093f"===M?y<4?y:y+12:"\u092c\u093f\u0939\u093e\u0928"===M?y:"\u0926\u093f\u0909\u0901\u0938\u094b"===M?y>=10?y:y+12:"\u0938\u093e\u0901\u091d"===M?y+12:void 0},meridiem:function(y,M,L){return y<3?"\u0930\u093e\u0924\u093f":y<12?"\u092c\u093f\u0939\u093e\u0928":y<16?"\u0926\u093f\u0909\u0901\u0938\u094b":y<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}})}(P(7586))},9875(te,Y,P){!function(D){"use strict";var h="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),v="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),g=[/^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],y=/^(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;D.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(L,E){return L?/-MMM-/.test(E)?v[L.month()]:h[L.month()]:h},monthsRegex:y,monthsShortRegex:y,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:g,longMonthsParse:g,shortMonthsParse:g,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(L){return L+(1===L||8===L||L>=20?"ste":"de")},week:{dow:1,doy:4}})}(P(7586))},5441(te,Y,P){!function(D){"use strict";var h="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),v="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),g=[/^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],y=/^(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;D.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(L,E){return L?/-MMM-/.test(E)?v[L.month()]:h[L.month()]:h},monthsRegex:y,monthsShortRegex:y,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:g,longMonthsParse:g,shortMonthsParse:g,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(L){return L+(1===L||8===L||L>=20?"ste":"de")},week:{dow:1,doy:4}})}(P(7586))},1311(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},2567(te,Y,P){!function(D){"use strict";D.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(v,g){var y=1===v?"r":2===v?"n":3===v?"r":4===v?"t":"\xe8";return("w"===g||"W"===g)&&(y="a"),v+y},week:{dow:1,doy:4}})}(P(7586))},6962(te,Y,P){!function(D){"use strict";var h={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},v={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};D.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(y){return y.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(M){return v[M]})},postformat:function(y){return y.replace(/\d/g,function(M){return h[M]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(y,M){return 12===y&&(y=0),"\u0a30\u0a3e\u0a24"===M?y<4?y:y+12:"\u0a38\u0a35\u0a47\u0a30"===M?y:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===M?y>=10?y:y+12:"\u0a38\u0a3c\u0a3e\u0a2e"===M?y+12:void 0},meridiem:function(y,M,L){return y<4?"\u0a30\u0a3e\u0a24":y<10?"\u0a38\u0a35\u0a47\u0a30":y<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":y<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(P(7586))},1063(te,Y,P){!function(D){"use strict";var h="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),v="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),g=[/^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 y(E){return E%10<5&&E%10>1&&~~(E/10)%10!=1}function M(E,z,F){var K=E+" ";switch(F){case"ss":return K+(y(E)?"sekundy":"sekund");case"m":return z?"minuta":"minut\u0119";case"mm":return K+(y(E)?"minuty":"minut");case"h":return z?"godzina":"godzin\u0119";case"hh":return K+(y(E)?"godziny":"godzin");case"ww":return K+(y(E)?"tygodnie":"tygodni");case"MM":return K+(y(E)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return K+(y(E)?"lata":"lat")}}D.defineLocale("pl",{months:function(E,z){return E?/D MMMM/.test(z)?v[E.month()]:h[E.month()]:h},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:g,longMonthsParse:g,shortMonthsParse:g,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:M,m:M,mm:M,h:M,hh:M,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:M,M:"miesi\u0105c",MM:M,y:"rok",yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(P(7586))},7476(te,Y,P){!function(D){"use strict";D.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"})}(P(7586))},8719(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},1004(te,Y,P){!function(D){"use strict";function h(g,y,M){var E=" ";return(g%100>=20||g>=100&&g%100==0)&&(E=" de "),g+E+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[M]}D.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:h,m:"un minut",mm:h,h:"o or\u0103",hh:h,d:"o zi",dd:h,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:h,M:"o lun\u0103",MM:h,y:"un an",yy:h},week:{dow:1,doy:7}})}(P(7586))},1326(te,Y,P){!function(D){"use strict";function h(M,L){var E=M.split("_");return L%10==1&&L%100!=11?E[0]:L%10>=2&&L%10<=4&&(L%100<10||L%100>=20)?E[1]:E[2]}function v(M,L,E){return"m"===E?L?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":M+" "+h({ss:L?"\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:L?"\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"}[E],+M)}var g=[/^\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];D.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:g,longMonthsParse:g,shortMonthsParse:g,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(M){if(M.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(M){if(M.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:v,m:v,mm:v,h:"\u0447\u0430\u0441",hh:v,d:"\u0434\u0435\u043d\u044c",dd:v,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:v,M:"\u043c\u0435\u0441\u044f\u0446",MM:v,y:"\u0433\u043e\u0434",yy:v},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(M){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(M)},meridiem:function(M,L,E){return M<4?"\u043d\u043e\u0447\u0438":M<12?"\u0443\u0442\u0440\u0430":M<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(M,L){switch(L){case"M":case"d":case"DDD":return M+"-\u0439";case"D":return M+"-\u0433\u043e";case"w":case"W":return M+"-\u044f";default:return M}},week:{dow:1,doy:4}})}(P(7586))},2608(te,Y,P){!function(D){"use strict";var h=["\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"],v=["\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"];D.defineLocale("sd",{months:h,monthsShort:h,weekdays:v,weekdaysShort:v,weekdaysMin:v,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(y){return"\u0634\u0627\u0645"===y},meridiem:function(y,M,L){return y<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(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(P(7586))},3911(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},5147(te,Y,P){!function(D){"use strict";D.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(v){return v+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(v){return"\u0db4.\u0dc0."===v||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===v},meridiem:function(v,g,y){return v>11?y?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":y?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(P(7586))},3741(te,Y,P){!function(D){"use strict";var h="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),v="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function g(L){return L>1&&L<5}function y(L,E,z,F){var K=L+" ";switch(z){case"s":return E||F?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return E||F?K+(g(L)?"sekundy":"sek\xfand"):K+"sekundami";case"m":return E?"min\xfata":F?"min\xfatu":"min\xfatou";case"mm":return E||F?K+(g(L)?"min\xfaty":"min\xfat"):K+"min\xfatami";case"h":return E?"hodina":F?"hodinu":"hodinou";case"hh":return E||F?K+(g(L)?"hodiny":"hod\xedn"):K+"hodinami";case"d":return E||F?"de\u0148":"d\u0148om";case"dd":return E||F?K+(g(L)?"dni":"dn\xed"):K+"d\u0148ami";case"M":return E||F?"mesiac":"mesiacom";case"MM":return E||F?K+(g(L)?"mesiace":"mesiacov"):K+"mesiacmi";case"y":return E||F?"rok":"rokom";case"yy":return E||F?K+(g(L)?"roky":"rokov"):K+"rokmi"}}D.defineLocale("sk",{months:h,monthsShort:v,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:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(P(7586))},3e3(te,Y,P){!function(D){"use strict";function h(g,y,M,L){var E=g+" ";switch(M){case"s":return y||L?"nekaj sekund":"nekaj sekundami";case"ss":return E+=1===g?y?"sekundo":"sekundi":2===g?y||L?"sekundi":"sekundah":g<5?y||L?"sekunde":"sekundah":"sekund";case"m":return y?"ena minuta":"eno minuto";case"mm":return E+=1===g?y?"minuta":"minuto":2===g?y||L?"minuti":"minutama":g<5?y||L?"minute":"minutami":y||L?"minut":"minutami";case"h":return y?"ena ura":"eno uro";case"hh":return E+=1===g?y?"ura":"uro":2===g?y||L?"uri":"urama":g<5?y||L?"ure":"urami":y||L?"ur":"urami";case"d":return y||L?"en dan":"enim dnem";case"dd":return E+=1===g?y||L?"dan":"dnem":2===g?y||L?"dni":"dnevoma":y||L?"dni":"dnevi";case"M":return y||L?"en mesec":"enim mesecem";case"MM":return E+=1===g?y||L?"mesec":"mesecem":2===g?y||L?"meseca":"mesecema":g<5?y||L?"mesece":"meseci":y||L?"mesecev":"meseci";case"y":return y||L?"eno leto":"enim letom";case"yy":return E+=1===g?y||L?"leto":"letom":2===g?y||L?"leti":"letoma":g<5?y||L?"leta":"leti":y||L?"let":"leti"}}D.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:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(P(7586))},451(te,Y,P){!function(D){"use strict";D.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(v){return"M"===v.charAt(0)},meridiem:function(v,g,y){return v<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}})}(P(7586))},905(te,Y,P){!function(D){"use strict";var h={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(g,y){return g%10>=1&&g%10<=4&&(g%100<10||g%100>=20)?g%10==1?y[0]:y[1]:y[2]},translate:function(g,y,M,L){var z,E=h.words[M];return 1===M.length?"y"===M&&y?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":L||y?E[0]:E[1]:(z=h.correctGrammaticalCase(g,E),"yy"===M&&y&&"\u0433\u043e\u0434\u0438\u043d\u0443"===z?g+" \u0433\u043e\u0434\u0438\u043d\u0430":g+" "+z)}};D.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:h.translate,m:h.translate,mm:h.translate,h:h.translate,hh:h.translate,d:h.translate,dd:h.translate,M:h.translate,MM:h.translate,y:h.translate,yy:h.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(P(7586))},5046(te,Y,P){!function(D){"use strict";var h={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(g,y){return g%10>=1&&g%10<=4&&(g%100<10||g%100>=20)?g%10==1?y[0]:y[1]:y[2]},translate:function(g,y,M,L){var z,E=h.words[M];return 1===M.length?"y"===M&&y?"jedna godina":L||y?E[0]:E[1]:(z=h.correctGrammaticalCase(g,E),"yy"===M&&y&&"godinu"===z?g+" godina":g+" "+z)}};D.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:h.translate,m:h.translate,mm:h.translate,h:h.translate,hh:h.translate,d:h.translate,dd:h.translate,M:h.translate,MM:h.translate,y:h.translate,yy:h.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(P(7586))},5765(te,Y,P){!function(D){"use strict";D.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(v,g,y){return v<11?"ekuseni":v<15?"emini":v<19?"entsambama":"ebusuku"},meridiemHour:function(v,g){return 12===v&&(v=0),"ekuseni"===g?v:"emini"===g?v>=11?v:v+12:"entsambama"===g||"ebusuku"===g?0===v?0:v+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(P(7586))},9290(te,Y,P){!function(D){"use strict";D.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(v){var g=v%10;return v+(1==~~(v%100/10)?":e":1===g||2===g?":a":":e")},week:{dow:1,doy:4}})}(P(7586))},3449(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},2688(te,Y,P){!function(D){"use strict";var h={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},v={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};D.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(y){return y+"\u0bb5\u0ba4\u0bc1"},preparse:function(y){return y.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(M){return v[M]})},postformat:function(y){return y.replace(/\d/g,function(M){return h[M]})},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(y,M,L){return y<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":y<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":y<10?" \u0b95\u0bbe\u0bb2\u0bc8":y<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":y<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":y<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(y,M){return 12===y&&(y=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===M?y<2?y:y+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===M||"\u0b95\u0bbe\u0bb2\u0bc8"===M||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===M&&y>=10?y:y+12},week:{dow:0,doy:6}})}(P(7586))},2060(te,Y,P){!function(D){"use strict";D.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(v,g){return 12===v&&(v=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===g?v<4?v:v+12:"\u0c09\u0c26\u0c2f\u0c02"===g?v:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===g?v>=10?v:v+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===g?v+12:void 0},meridiem:function(v,g,y){return v<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":v<10?"\u0c09\u0c26\u0c2f\u0c02":v<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":v<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(P(7586))},3290(te,Y,P){!function(D){"use strict";D.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(v){var g=v%10;return v+(1==~~(v%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")},week:{dow:1,doy:4}})}(P(7586))},8294(te,Y,P){!function(D){"use strict";var h={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"};D.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(g,y){return 12===g&&(g=0),"\u0448\u0430\u0431"===y?g<4?g:g+12:"\u0441\u0443\u0431\u04b3"===y?g:"\u0440\u04ef\u0437"===y?g>=11?g:g+12:"\u0431\u0435\u0433\u043e\u04b3"===y?g+12:void 0},meridiem:function(g,y,M){return g<4?"\u0448\u0430\u0431":g<11?"\u0441\u0443\u0431\u04b3":g<16?"\u0440\u04ef\u0437":g<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(g){var y=g%10,M=g>=100?100:null;return g+(h[g]||h[y]||h[M])},week:{dow:1,doy:7}})}(P(7586))},1231(te,Y,P){!function(D){"use strict";D.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(v){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===v},meridiem:function(v,g,y){return v<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"}})}(P(7586))},3746(te,Y,P){!function(D){"use strict";var h={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"};D.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(g,y){switch(y){case"d":case"D":case"Do":case"DD":return g;default:if(0===g)return g+"'unjy";var M=g%10,L=g%100-M,E=g>=100?100:null;return g+(h[M]||h[L]||h[E])}},week:{dow:1,doy:7}})}(P(7586))},9040(te,Y,P){!function(D){"use strict";D.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(v){return v},week:{dow:1,doy:4}})}(P(7586))},7187(te,Y,P){!function(D){"use strict";var h="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function v(E){var z=E;return z=-1!==E.indexOf("jaj")?z.slice(0,-3)+"leS":-1!==E.indexOf("jar")?z.slice(0,-3)+"waQ":-1!==E.indexOf("DIS")?z.slice(0,-3)+"nem":z+" pIq"}function g(E){var z=E;return z=-1!==E.indexOf("jaj")?z.slice(0,-3)+"Hu\u2019":-1!==E.indexOf("jar")?z.slice(0,-3)+"wen":-1!==E.indexOf("DIS")?z.slice(0,-3)+"ben":z+" ret"}function y(E,z,F,K){var X=M(E);switch(F){case"ss":return X+" lup";case"mm":return X+" tup";case"hh":return X+" rep";case"dd":return X+" jaj";case"MM":return X+" jar";case"yy":return X+" DIS"}}function M(E){var z=Math.floor(E%1e3/100),F=Math.floor(E%100/10),K=E%10,X="";return z>0&&(X+=h[z]+"vatlh"),F>0&&(X+=(""!==X?" ":"")+h[F]+"maH"),K>0&&(X+=(""!==X?" ":"")+h[K]),""===X?"pagh":X}D.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:v,past:g,s:"puS lup",ss:y,m:"wa\u2019 tup",mm:y,h:"wa\u2019 rep",hh:y,d:"wa\u2019 jaj",dd:y,M:"wa\u2019 jar",MM:y,y:"wa\u2019 DIS",yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(P(7586))},153(te,Y,P){!function(D){"use strict";var h={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"};D.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(g,y,M){return g<12?M?"\xf6\xf6":"\xd6\xd6":M?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(g){return"\xf6s"===g||"\xd6S"===g},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(g,y){switch(y){case"d":case"D":case"Do":case"DD":return g;default:if(0===g)return g+"'\u0131nc\u0131";var M=g%10,L=g%100-M,E=g>=100?100:null;return g+(h[M]||h[L]||h[E])}},week:{dow:1,doy:7}})}(P(7586))},8521(te,Y,P){!function(D){"use strict";D.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(g){return"d'o"===g.toLowerCase()},meridiem:function(g,y,M){return g>11?M?"d'o":"D'O":M?"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: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:4}});function v(g,y,M,L){var E={s:["viensas secunds","'iensas secunds"],ss:[g+" secunds",g+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[g+" m\xeduts",g+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[g+" \xfeoras",g+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[g+" ziuas",g+" ziuas"],M:["'n mes","'iens mes"],MM:[g+" mesen",g+" mesen"],y:["'n ar","'iens ar"],yy:[g+" ars",g+" ars"]};return L||y?E[M][0]:E[M][1]}}(P(7586))},2234(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},8010(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},3349(te,Y,P){!function(D){"use strict";D.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(v,g){return 12===v&&(v=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===g||"\u0633\u06d5\u06be\u06d5\u0631"===g||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===g?v:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===g||"\u0643\u06d5\u0686"===g?v+12:v>=11?v:v+12},meridiem:function(v,g,y){var M=100*v+g;return M<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":M<900?"\u0633\u06d5\u06be\u06d5\u0631":M<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":M<1230?"\u0686\u06c8\u0634":M<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(v,g){switch(g){case"d":case"D":case"DDD":return v+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return v+"-\u06be\u06d5\u067e\u062a\u06d5";default:return v}},preparse:function(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(P(7586))},8479(te,Y,P){!function(D){"use strict";function h(L,E){var z=L.split("_");return E%10==1&&E%100!=11?z[0]:E%10>=2&&E%10<=4&&(E%100<10||E%100>=20)?z[1]:z[2]}function v(L,E,z){return"m"===z?E?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===z?E?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":L+" "+h({ss:E?"\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:E?"\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:E?"\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"}[z],+L)}function g(L,E){var z={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===L?z.nominative.slice(1,7).concat(z.nominative.slice(0,1)):L?z[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(E)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(E)?"genitive":"nominative"][L.day()]:z.nominative}function y(L){return function(){return L+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}D.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:g,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:y("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:y("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:y("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:y("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return y("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return y("[\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:v,m:v,mm:v,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:v,d:"\u0434\u0435\u043d\u044c",dd:v,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:v,y:"\u0440\u0456\u043a",yy:v},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(L){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(L)},meridiem:function(L,E,z){return L<4?"\u043d\u043e\u0447\u0456":L<12?"\u0440\u0430\u043d\u043a\u0443":L<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(L,E){switch(E){case"M":case"d":case"DDD":case"w":case"W":return L+"-\u0439";case"D":return L+"-\u0433\u043e";default:return L}},week:{dow:1,doy:7}})}(P(7586))},3024(te,Y,P){!function(D){"use strict";var h=["\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"],v=["\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"];D.defineLocale("ur",{months:h,monthsShort:h,weekdays:v,weekdaysShort:v,weekdaysMin:v,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(y){return"\u0634\u0627\u0645"===y},meridiem:function(y,M,L){return y<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(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(P(7586))},2376(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},9800(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},9366(te,Y,P){!function(D){"use strict";D.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(v){return/^ch$/i.test(v)},meridiem:function(v,g,y){return v<12?y?"sa":"SA":y?"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(v){return v},week:{dow:1,doy:4}})}(P(7586))},9702(te,Y,P){!function(D){"use strict";D.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(v){var g=v%10;return v+(1==~~(v%100/10)?"th":1===g?"st":2===g?"nd":3===g?"rd":"th")},week:{dow:1,doy:4}})}(P(7586))},2655(te,Y,P){!function(D){"use strict";D.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}})}(P(7586))},575(te,Y,P){!function(D){"use strict";D.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(v,g){return 12===v&&(v=0),"\u51cc\u6668"===g||"\u65e9\u4e0a"===g||"\u4e0a\u5348"===g?v:"\u4e0b\u5348"===g||"\u665a\u4e0a"===g?v+12:v>=11?v:v+12},meridiem:function(v,g,y){var M=100*v+g;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(v){return v.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(v){return this.week()!==v.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(v,g){switch(g){case"d":case"D":case"DDD":return v+"\u65e5";case"M":return v+"\u6708";case"w":case"W":return v+"\u5468";default:return v}},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}})}(P(7586))},8351(te,Y,P){!function(D){"use strict";D.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(v,g){return 12===v&&(v=0),"\u51cc\u6668"===g||"\u65e9\u4e0a"===g||"\u4e0a\u5348"===g?v:"\u4e2d\u5348"===g?v>=11?v:v+12:"\u4e0b\u5348"===g||"\u665a\u4e0a"===g?v+12:void 0},meridiem:function(v,g,y){var M=100*v+g;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1200?"\u4e0a\u5348":1200===M?"\u4e2d\u5348":M<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(v,g){switch(g){case"d":case"D":case"DDD":return v+"\u65e5";case"M":return v+"\u6708";case"w":case"W":return v+"\u9031";default:return v}},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"}})}(P(7586))},1626(te,Y,P){!function(D){"use strict";D.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(v,g){return 12===v&&(v=0),"\u51cc\u6668"===g||"\u65e9\u4e0a"===g||"\u4e0a\u5348"===g?v:"\u4e2d\u5348"===g?v>=11?v:v+12:"\u4e0b\u5348"===g||"\u665a\u4e0a"===g?v+12:void 0},meridiem:function(v,g,y){var M=100*v+g;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<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(v,g){switch(g){case"d":case"D":case"DDD":return v+"\u65e5";case"M":return v+"\u6708";case"w":case"W":return v+"\u9031";default:return v}},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"}})}(P(7586))},8887(te,Y,P){!function(D){"use strict";D.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(v,g){return 12===v&&(v=0),"\u51cc\u6668"===g||"\u65e9\u4e0a"===g||"\u4e0a\u5348"===g?v:"\u4e2d\u5348"===g?v>=11?v:v+12:"\u4e0b\u5348"===g||"\u665a\u4e0a"===g?v+12:void 0},meridiem:function(v,g,y){var M=100*v+g;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<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(v,g){switch(g){case"d":case"D":case"DDD":return v+"\u65e5";case"M":return v+"\u6708";case"w":case"W":return v+"\u9031";default:return v}},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"}})}(P(7586))},7586(te,Y,P){(te=P.nmd(te)).exports=function(){"use strict";var D,Ue;function h(){return D.apply(null,arguments)}function v(u){D=u}function g(u){return u instanceof Array||"[object Array]"===Object.prototype.toString.call(u)}function y(u){return null!=u&&"[object Object]"===Object.prototype.toString.call(u)}function M(u,_){return Object.prototype.hasOwnProperty.call(u,_)}function L(u){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(u).length;var _;for(_ in u)if(M(u,_))return!1;return!0}function E(u){return void 0===u}function z(u){return"number"==typeof u||"[object Number]"===Object.prototype.toString.call(u)}function F(u){return u instanceof Date||"[object Date]"===Object.prototype.toString.call(u)}function K(u,_){var x,k=[],N=u.length;for(x=0;x>>0;for(x=0;x0)for(k=0;k=0?k?"+":"":"-")+Math.pow(10,Math.max(0,N)).toString().substr(1)+x}var tt=/(\[[^\[]*\])|(\\)?([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,gn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ke={},nt={};function ge(u,_,k,x){var N=x;"string"==typeof x&&(N=function(){return this[x]()}),u&&(nt[u]=N),_&&(nt[_[0]]=function(){return At(N.apply(this,arguments),_[1],_[2])}),k&&(nt[k]=function(){return this.localeData().ordinal(N.apply(this,arguments),u)})}function Hn(u){return u.match(/\[[\s\S]/)?u.replace(/^\[|\]$/g,""):u.replace(/\\/g,"")}function _t(u){var k,x,_=u.match(tt);for(k=0,x=_.length;k=0&&gn.test(u);)u=u.replace(gn,x),gn.lastIndex=0,k-=1;return u}var Je={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 Mt(u){var _=this._longDateFormat[u],k=this._longDateFormat[u.toUpperCase()];return _||!k?_:(this._longDateFormat[u]=k.match(tt).map(function(x){return"MMMM"===x||"MM"===x||"DD"===x||"dddd"===x?x.slice(1):x}).join(""),this._longDateFormat[u])}var bt="Invalid date";function lt(){return this._invalidDate}var Dt="%d",ii=/\d{1,2}/;function ln(u){return this._ordinal.replace("%d",u)}var nn={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 ot(u,_,k,x){var N=this._relativeTime[k];return he(N)?N(u,_,k,x):N.replace(/%d/i,u)}function Qn(u,_){var k=this._relativeTime[u>0?"future":"past"];return he(k)?k(_):k.replace(/%s/i,_)}var Bt={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Tt(u){return"string"==typeof u?Bt[u]||Bt[u.toLowerCase()]:void 0}function Vn(u){var k,x,_={};for(x in u)M(u,x)&&(k=Tt(x))&&(_[k]=u[x]);return _}var Ca={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function or(u){var k,_=[];for(k in u)M(u,k)&&_.push({unit:k,priority:Ca[k]});return _.sort(function(x,N){return x.priority-N.priority}),_}var xc,Lt=/\d/,cn=/\d\d/,Ki=/\d{3}/,li=/\d{4}/,wt=/[+-]?\d{6}/,Ut=/\d\d?/,Ml=/\d\d\d\d?/,Ec=/\d\d\d\d\d\d?/,sr=/\d{1,3}/,Ji=/\d{1,4}/,Lo=/[+-]?\d{1,6}/,Io=/\d+/,Ht=/[+-]?\d+/,gy=/Z|[+-]\d\d:?\d\d/gi,qf=/Z|[+-]\d\d(?::?\d\d)?/gi,Ma=/[+-]?\d+(\.\d{1,3})?/,Dl=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Da=/^[1-9]\d?/,Ze=/^([1-9]\d|\d)/;function Ie(u,_,k){xc[u]=he(_)?_:function(x,N){return x&&k?k:_}}function Gf(u,_){return M(xc,u)?xc[u](_._strict,_._locale):new RegExp(Qf(u))}function Qf(u){return Zi(u.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(_,k,x,N,J){return k||x||N||J}))}function Zi(u){return u.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function lo(u){return u<0?Math.ceil(u)||0:Math.floor(u)}function zt(u){var _=+u,k=0;return 0!==_&&isFinite(_)&&(k=lo(_)),k}xc={};var _y={};function hn(u,_){var k,N,x=_;for("string"==typeof u&&(u=[u]),z(_)&&(x=function(J,de){de[_]=zt(J)}),N=u.length,k=0;k68?1900:2e3)};var pi,ls=Pc("FullYear",!0);function Kf(){return Lc(this.year())}function Pc(u,_){return function(k){return null!=k?(rn(this,u,k),h.updateOffset(this,_),this):Ac(this,u)}}function Ac(u,_){if(!u.isValid())return NaN;var k=u._d,x=u._isUTC;switch(_){case"Milliseconds":return x?k.getUTCMilliseconds():k.getMilliseconds();case"Seconds":return x?k.getUTCSeconds():k.getSeconds();case"Minutes":return x?k.getUTCMinutes():k.getMinutes();case"Hours":return x?k.getUTCHours():k.getHours();case"Date":return x?k.getUTCDate():k.getDate();case"Day":return x?k.getUTCDay():k.getDay();case"Month":return x?k.getUTCMonth():k.getMonth();case"FullYear":return x?k.getUTCFullYear():k.getFullYear();default:return NaN}}function rn(u,_,k){var x,N,J,de,He;if(u.isValid()&&!isNaN(k)){switch(x=u._d,N=u._isUTC,_){case"Milliseconds":return void(N?x.setUTCMilliseconds(k):x.setMilliseconds(k));case"Seconds":return void(N?x.setUTCSeconds(k):x.setSeconds(k));case"Minutes":return void(N?x.setUTCMinutes(k):x.setMinutes(k));case"Hours":return void(N?x.setUTCHours(k):x.setHours(k));case"Date":return void(N?x.setUTCDate(k):x.setDate(k));case"FullYear":break;default:return}J=k,de=u.month(),He=29!==(He=u.date())||1!==de||Lc(J)?He:28,N?x.setUTCFullYear(J,de,He):x.setFullYear(J,de,He)}}function ct(u){return he(this[u=Tt(u)])?this[u]():this}function Su(u,_){if("object"==typeof u){var x,k=or(u=Vn(u)),N=k.length;for(x=0;x=0?(He=new Date(u+400,_,k,x,N,J,de),isFinite(He.getFullYear())&&He.setFullYear(u)):He=new Date(u,_,k,x,N,J,de),He}function ku(u){var _,k;return u<100&&u>=0?((k=Array.prototype.slice.call(arguments))[0]=u+400,_=new Date(Date.UTC.apply(null,k)),isFinite(_.getUTCFullYear())&&_.setUTCFullYear(u)):_=new Date(Date.UTC.apply(null,arguments)),_}function ue(u,_,k){var x=7+_-k;return-(7+ku(u,0,x).getUTCDay()-_)%7+x-1}function dt(u,_,k,x,N){var ft,$t,He=1+7*(_-1)+(7+k-x)%7+ue(u,x,N);return He<=0?$t=Ic(ft=u-1)+He:He>Ic(u)?(ft=u+1,$t=He-Ic(u)):(ft=u,$t=He),{year:ft,dayOfYear:$t}}function $s(u,_,k){var J,de,x=ue(u.year(),_,k),N=Math.floor((u.dayOfYear()-x-1)/7)+1;return N<1?J=N+cs(de=u.year()-1,_,k):N>cs(u.year(),_,k)?(J=N-cs(u.year(),_,k),de=u.year()+1):(de=u.year(),J=N),{week:J,year:de}}function cs(u,_,k){var x=ue(u,_,k),N=ue(u+1,_,k);return(Ic(u)-x+N)/7}function Q1(u){return $s(u,this._week.dow,this._week.doy).week}ge("w",["ww",2],"wo","week"),ge("W",["WW",2],"Wo","isoWeek"),Ie("w",Ut,Da),Ie("ww",Ut,cn),Ie("W",Ut,Da),Ie("WW",Ut,cn),as(["w","ww","W","WW"],function(u,_,k,x){_[x.substr(0,1)]=zt(u)});var K1={dow:0,doy:6};function Tu(){return this._week.dow}function Eu(){return this._week.doy}function Zf(u){var _=this.localeData().week(this);return null==u?_:this.add(7*(u-_),"d")}function _e(u){var _=$s(this,1,4).week;return null==u?_:this.add(7*(u-_),"d")}function Xf(u,_){return"string"!=typeof u?u:isNaN(u)?"number"==typeof(u=_.weekdaysParse(u))?u:null:parseInt(u,10)}function kl(u,_){return"string"==typeof u?_.weekdaysParse(u)%7||7:isNaN(u)?null:u}function Tl(u,_){return u.slice(_,7).concat(u.slice(0,_))}ge("d",0,"do","day"),ge("dd",0,0,function(u){return this.localeData().weekdaysMin(this,u)}),ge("ddd",0,0,function(u){return this.localeData().weekdaysShort(this,u)}),ge("dddd",0,0,function(u){return this.localeData().weekdays(this,u)}),ge("e",0,0,"weekday"),ge("E",0,0,"isoWeekday"),Ie("d",Ut),Ie("e",Ut),Ie("E",Ut),Ie("dd",function(u,_){return _.weekdaysMinRegex(u)}),Ie("ddd",function(u,_){return _.weekdaysShortRegex(u)}),Ie("dddd",function(u,_){return _.weekdaysRegex(u)}),as(["dd","ddd","dddd"],function(u,_,k,x){var N=k._locale.weekdaysParse(u,x,k._strict);null!=N?_.d=N:le(k).invalidWeekday=u}),as(["d","e","E"],function(u,_,k,x){_[x]=zt(u)});var Sa="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),by="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),J1="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Z1=Dl,El=Dl,oL=Dl;function sL(u,_){var k=g(this._weekdays)?this._weekdays:this._weekdays[u&&!0!==u&&this._weekdays.isFormat.test(_)?"format":"standalone"];return!0===u?Tl(k,this._week.dow):u?k[u.day()]:k}function aL(u){return!0===u?Tl(this._weekdaysShort,this._week.dow):u?this._weekdaysShort[u.day()]:this._weekdaysShort}function lL(u){return!0===u?Tl(this._weekdaysMin,this._week.dow):u?this._weekdaysMin[u.day()]:this._weekdaysMin}function cL(u,_,k){var x,N,J,de=u.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],x=0;x<7;++x)J=Z([2e3,1]).day(x),this._minWeekdaysParse[x]=this.weekdaysMin(J,"").toLocaleLowerCase(),this._shortWeekdaysParse[x]=this.weekdaysShort(J,"").toLocaleLowerCase(),this._weekdaysParse[x]=this.weekdays(J,"").toLocaleLowerCase();return k?"dddd"===_?-1!==(N=pi.call(this._weekdaysParse,de))?N:null:"ddd"===_?-1!==(N=pi.call(this._shortWeekdaysParse,de))?N:null:-1!==(N=pi.call(this._minWeekdaysParse,de))?N:null:"dddd"===_?-1!==(N=pi.call(this._weekdaysParse,de))||-1!==(N=pi.call(this._shortWeekdaysParse,de))||-1!==(N=pi.call(this._minWeekdaysParse,de))?N:null:"ddd"===_?-1!==(N=pi.call(this._shortWeekdaysParse,de))||-1!==(N=pi.call(this._weekdaysParse,de))||-1!==(N=pi.call(this._minWeekdaysParse,de))?N:null:-1!==(N=pi.call(this._minWeekdaysParse,de))||-1!==(N=pi.call(this._weekdaysParse,de))||-1!==(N=pi.call(this._shortWeekdaysParse,de))?N:null}function X1(u,_,k){var x,N,J;if(this._weekdaysParseExact)return cL.call(this,u,_,k);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),x=0;x<7;x++){if(N=Z([2e3,1]).day(x),k&&!this._fullWeekdaysParse[x]&&(this._fullWeekdaysParse[x]=new RegExp("^"+this.weekdays(N,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[x]=new RegExp("^"+this.weekdaysShort(N,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[x]=new RegExp("^"+this.weekdaysMin(N,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[x]||(J="^"+this.weekdays(N,"")+"|^"+this.weekdaysShort(N,"")+"|^"+this.weekdaysMin(N,""),this._weekdaysParse[x]=new RegExp(J.replace(".",""),"i")),k&&"dddd"===_&&this._fullWeekdaysParse[x].test(u))return x;if(k&&"ddd"===_&&this._shortWeekdaysParse[x].test(u))return x;if(k&&"dd"===_&&this._minWeekdaysParse[x].test(u))return x;if(!k&&this._weekdaysParse[x].test(u))return x}}function dL(u){if(!this.isValid())return null!=u?this:NaN;var _=Ac(this,"Day");return null!=u?(u=Xf(u,this.localeData()),this.add(u-_,"d")):_}function ep(u){if(!this.isValid())return null!=u?this:NaN;var _=(this.day()+7-this.localeData()._week.dow)%7;return null==u?_:this.add(u-_,"d")}function Oc(u){if(!this.isValid())return null!=u?this:NaN;if(null!=u){var _=kl(u,this.localeData());return this.day(this.day()%7?_:_-7)}return this.day()||7}function tp(u){return this._weekdaysParseExact?(M(this,"_weekdaysRegex")||co.call(this),u?this._weekdaysStrictRegex:this._weekdaysRegex):(M(this,"_weekdaysRegex")||(this._weekdaysRegex=Z1),this._weekdaysStrictRegex&&u?this._weekdaysStrictRegex:this._weekdaysRegex)}function np(u){return this._weekdaysParseExact?(M(this,"_weekdaysRegex")||co.call(this),u?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(M(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=El),this._weekdaysShortStrictRegex&&u?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function wy(u){return this._weekdaysParseExact?(M(this,"_weekdaysRegex")||co.call(this),u?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(M(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=oL),this._weekdaysMinStrictRegex&&u?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function co(){function u(tr,mo){return mo.length-tr.length}var J,de,He,ft,$t,_=[],k=[],x=[],N=[];for(J=0;J<7;J++)de=Z([2e3,1]).day(J),He=Zi(this.weekdaysMin(de,"")),ft=Zi(this.weekdaysShort(de,"")),$t=Zi(this.weekdays(de,"")),_.push(He),k.push(ft),x.push($t),N.push(He),N.push(ft),N.push($t);_.sort(u),k.sort(u),x.sort(u),N.sort(u),this._weekdaysRegex=new RegExp("^("+N.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+x.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+k.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+_.join("|")+")","i")}function ka(){return this.hours()%12||12}function Cy(){return this.hours()||24}function uo(u,_){ge(u,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),_)})}function Rc(u,_){return _._meridiemParse}function Vt(u){return"p"===(u+"").toLowerCase().charAt(0)}ge("H",["HH",2],0,"hour"),ge("h",["hh",2],0,ka),ge("k",["kk",2],0,Cy),ge("hmm",0,0,function(){return""+ka.apply(this)+At(this.minutes(),2)}),ge("hmmss",0,0,function(){return""+ka.apply(this)+At(this.minutes(),2)+At(this.seconds(),2)}),ge("Hmm",0,0,function(){return""+this.hours()+At(this.minutes(),2)}),ge("Hmmss",0,0,function(){return""+this.hours()+At(this.minutes(),2)+At(this.seconds(),2)}),uo("a",!0),uo("A",!1),Ie("a",Rc),Ie("A",Rc),Ie("H",Ut,Ze),Ie("h",Ut,Da),Ie("k",Ut,Da),Ie("HH",Ut,cn),Ie("hh",Ut,cn),Ie("kk",Ut,cn),Ie("hmm",Ml),Ie("hmmss",Ec),Ie("Hmm",Ml),Ie("Hmmss",Ec),hn(["H","HH"],bi),hn(["k","kk"],function(u,_,k){var x=zt(u);_[bi]=24===x?0:x}),hn(["a","A"],function(u,_,k){k._isPm=k._locale.isPM(u),k._meridiem=u}),hn(["h","hh"],function(u,_,k){_[bi]=zt(u),le(k).bigHour=!0}),hn("hmm",function(u,_,k){var x=u.length-2;_[bi]=zt(u.substr(0,x)),_[Rt]=zt(u.substr(x)),le(k).bigHour=!0}),hn("hmmss",function(u,_,k){var x=u.length-4,N=u.length-2;_[bi]=zt(u.substr(0,x)),_[Rt]=zt(u.substr(x,2)),_[fn]=zt(u.substr(N)),le(k).bigHour=!0}),hn("Hmm",function(u,_,k){var x=u.length-2;_[bi]=zt(u.substr(0,x)),_[Rt]=zt(u.substr(x))}),hn("Hmmss",function(u,_,k){var x=u.length-4,N=u.length-2;_[bi]=zt(u.substr(0,x)),_[Rt]=zt(u.substr(x,2)),_[fn]=zt(u.substr(N))});var uL=/[ap]\.?m?\.?/i,wi=Pc("Hours",!0);function mr(u,_,k){return u>11?k?"pm":"PM":k?"am":"AM"}var Nt,Nc={calendar:Sn,longDateFormat:Je,invalidDate:bt,ordinal:Dt,dayOfMonthOrdinalParse:ii,relativeTime:nn,months:Zx,monthsShort:zs,week:K1,weekdays:Sa,weekdaysMin:J1,weekdaysShort:by,meridiemParse:uL},pn={},st={};function hL(u,_){var k,x=Math.min(u.length,_.length);for(k=0;k0;){if(N=Ws(J.slice(0,k).join("-")))return N;if(x&&x.length>=k&&hL(J,x)>=k-1)break;k--}_++}return Nt}function Dy(u){return!(!u||!u.match("^[^/\\\\]*$"))}function Ws(u){var _=null;if(void 0===pn[u]&&te&&te.exports&&Dy(u))try{_=Nt._abbr,P(5358)("./"+u),Ao(_)}catch{pn[u]=null}return pn[u]}function Ao(u,_){var k;return u&&((k=E(_)?ds(u):Sy(u,_))?Nt=k:typeof console<"u"&&console.warn&&console.warn("Locale "+u+" not found. Did you forget to load it?")),Nt._abbr}function Sy(u,_){if(null!==_){var k,x=Nc;if(_.abbr=u,null!=pn[u])ae("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."),x=pn[u]._config;else if(null!=_.parentLocale)if(null!=pn[_.parentLocale])x=pn[_.parentLocale]._config;else{if(null==(k=Ws(_.parentLocale)))return st[_.parentLocale]||(st[_.parentLocale]=[]),st[_.parentLocale].push({name:u,config:_}),null;x=k._config}return pn[u]=new Ve(ke(x,_)),st[u]&&st[u].forEach(function(N){Sy(N.name,N.config)}),Ao(u),pn[u]}return delete pn[u],null}function fL(u,_){if(null!=_){var k,x,N=Nc;null!=pn[u]&&null!=pn[u].parentLocale?pn[u].set(ke(pn[u]._config,_)):(null!=(x=Ws(u))&&(N=x._config),_=ke(N,_),null==x&&(_.abbr=u),(k=new Ve(_)).parentLocale=pn[u],pn[u]=k),Ao(u)}else null!=pn[u]&&(null!=pn[u].parentLocale?(pn[u]=pn[u].parentLocale,u===Ao()&&Ao(u)):null!=pn[u]&&delete pn[u]);return pn[u]}function ds(u){var _;if(u&&u._locale&&u._locale._abbr&&(u=u._locale._abbr),!u)return Nt;if(!g(u)){if(_=Ws(u))return _;u=[u]}return ip(u)}function rp(){return Qt(pn)}function ky(u){var _,k=u._a;return k&&-2===le(u).overflow&&(_=k[Po]<0||k[Po]>11?Po:k[ee]<1||k[ee]>Jf(k[Oi],k[Po])?ee:k[bi]<0||k[bi]>24||24===k[bi]&&(0!==k[Rt]||0!==k[fn]||0!==k[Sl])?bi:k[Rt]<0||k[Rt]>59?Rt:k[fn]<0||k[fn]>59?fn:k[Sl]<0||k[Sl]>999?Sl:-1,le(u)._overflowDayOfYear&&(_ee)&&(_=ee),le(u)._overflowWeeks&&-1===_&&(_=Jx),le(u)._overflowWeekday&&-1===_&&(_=dn),le(u).overflow=_),u}var eD=/^\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)?)?$/,Ty=/^\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)?)?$/,tD=/Z|[+-]\d\d(?::?\d\d)?/,xu=[["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]],Fc=[["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/]],Ey=/^\/?Date\((-?\d+)/i,gr=/^(?:(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}))$/,xy={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function nD(u){var _,k,J,de,He,ft,x=u._i,N=eD.exec(x)||Ty.exec(x),$t=xu.length,tr=Fc.length;if(N){for(le(u).iso=!0,_=0,k=$t;_Ic(de)||0===u._dayOfYear)&&(le(u)._overflowDayOfYear=!0),k=ku(de,0,u._dayOfYear),u._a[Po]=k.getUTCMonth(),u._a[ee]=k.getUTCDate()),_=0;_<3&&null==u._a[_];++_)u._a[_]=x[_]=N[_];for(;_<7;_++)u._a[_]=x[_]=null==u._a[_]?2===_?1:0:u._a[_];24===u._a[bi]&&0===u._a[Rt]&&0===u._a[fn]&&0===u._a[Sl]&&(u._nextDay=!0,u._a[bi]=0),u._d=(u._useUTC?ku:rL).apply(null,x),J=u._useUTC?u._d.getUTCDay():u._d.getDay(),null!=u._tzm&&u._d.setUTCMinutes(u._d.getUTCMinutes()-u._tzm),u._nextDay&&(u._a[bi]=24),u._w&&typeof u._w.d<"u"&&u._w.d!==J&&(le(u).weekdayMismatch=!0)}}function ap(u){var _,k,x,N,J,de,He,ft,$t;null!=(_=u._w).GG||null!=_.W||null!=_.E?(J=1,de=4,k=$(_.GG,u._a[Oi],$s(Tn(),1,4).year),x=$(_.W,1),((N=$(_.E,1))<1||N>7)&&(ft=!0)):(J=u._locale._week.dow,de=u._locale._week.doy,$t=$s(Tn(),J,de),k=$(_.gg,u._a[Oi],$t.year),x=$(_.w,$t.week),null!=_.d?((N=_.d)<0||N>6)&&(ft=!0):null!=_.e?(N=_.e+J,(_.e<0||_.e>6)&&(ft=!0)):N=J),x<1||x>cs(k,J,de)?le(u)._overflowWeeks=!0:null!=ft?le(u)._overflowWeekday=!0:(He=dt(k,x,N,J,de),u._a[Oi]=He.year,u._dayOfYear=He.dayOfYear)}function Ea(u){if(u._f!==h.ISO_8601)if(u._f!==h.RFC_2822){u._a=[],le(u).empty=!0;var k,x,N,J,de,$t,tr,_=""+u._i,He=_.length,ft=0;for(tr=(N=tn(u._f,u._locale).match(tt)||[]).length,k=0;k0&&le(u).unusedInput.push(de),_=_.slice(_.indexOf(x)+x.length),ft+=x.length),nt[J]?(x?le(u).empty=!1:le(u).unusedTokens.push(J),yy(J,x,u)):u._strict&&!x&&le(u).unusedTokens.push(J);le(u).charsLeftOver=He-ft,_.length>0&&le(u).unusedInput.push(_),u._a[bi]<=12&&!0===le(u).bigHour&&u._a[bi]>0&&(le(u).bigHour=void 0),le(u).parsedDateParts=u._a.slice(0),le(u).meridiem=u._meridiem,u._a[bi]=oD(u._locale,u._a[bi],u._meridiem),null!==($t=le(u).era)&&(u._a[Oi]=u._locale.erasConvertYear($t,u._a[Oi])),sp(u),ky(u)}else Ce(u);else nD(u)}function oD(u,_,k){var x;return null==k?_:null!=u.meridiemHour?u.meridiemHour(_,k):(null!=u.isPM&&((x=u.isPM(k))&&_<12&&(_+=12),!x&&12===_&&(_=0)),_)}function xa(u){var _,k,x,N,J,de,He=!1,ft=u._f.length;if(0===ft)return le(u).invalidFormat=!0,void(u._d=new Date(NaN));for(N=0;Nthis?this:u:Oe()});function Hc(u,_){var k,x;if(1===_.length&&g(_[0])&&(_=_[0]),!_.length)return Tn();for(k=_[0],x=1;x<_.length;++x)(!_[x].isValid()||_[x][u](k))&&(k=_[x]);return k}function lp(){return Hc("isBefore",[].slice.call(arguments,0))}function Vc(){return Hc("isAfter",[].slice.call(arguments,0))}var aD=function(){return Date.now?Date.now():+new Date},ar=["year","quarter","month","week","day","hour","minute","second","millisecond"];function on(u){var _,x,k=!1,N=ar.length;for(_ in u)if(M(u,_)&&(-1===pi.call(ar,_)||null!=u[_]&&isNaN(u[_])))return!1;for(x=0;xthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function hp(){if(!E(this._isDSTShifted))return this._isDSTShifted;var _,u={};return un(u,this),(u=La(u))._a?(_=u._isUTC?Z(u._a):Tn(u._a),this._isDSTShifted=this.isValid()&&lD(u._a,_.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Iu(){return!!this.isValid()&&!this._isUTC}function Hy(){return!!this.isValid()&&this._isUTC}function Pu(){return!!this.isValid()&&this._isUTC&&0===this._offset}h.updateOffset=function(){};var Au=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ri=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ni(u,_){var N,J,de,k=u,x=null;return Ia(u)?k={ms:u._milliseconds,d:u._days,M:u._months}:z(u)||!isNaN(+u)?(k={},_?k[_]=+u:k.milliseconds=+u):(x=Au.exec(u))?(N="-"===x[1]?-1:1,k={y:0,d:zt(x[ee])*N,h:zt(x[bi])*N,m:zt(x[Rt])*N,s:zt(x[fn])*N,ms:zt(Pa(1e3*x[Sl]))*N}):(x=ri.exec(u))?(N="-"===x[1]?-1:1,k={y:fs(x[2],N),M:fs(x[3],N),w:fs(x[4],N),d:fs(x[5],N),h:fs(x[6],N),m:fs(x[7],N),s:fs(x[8],N)}):null==k?k={}:"object"==typeof k&&("from"in k||"to"in k)&&(de=dD(Tn(k.from),Tn(k.to)),(k={}).ms=de.milliseconds,k.M=de.months),J=new xl(k),Ia(u)&&M(u,"_locale")&&(J._locale=u._locale),Ia(u)&&M(u,"_isValid")&&(J._isValid=u._isValid),J}function fs(u,_){var k=u&&parseFloat(u.replace(",","."));return(isNaN(k)?0:k)*_}function Vy(u,_){var k={};return k.months=_.month()-u.month()+12*(_.year()-u.year()),u.clone().add(k.months,"M").isAfter(_)&&--k.months,k.milliseconds=+_-+u.clone().add(k.months,"M"),k}function dD(u,_){var k;return u.isValid()&&_.isValid()?(_=Ll(_,u),u.isBefore(_)?k=Vy(u,_):((k=Vy(_,u)).milliseconds=-k.milliseconds,k.months=-k.months),k):{milliseconds:0,months:0}}function fp(u,_){return function(k,x){var J;return null!==x&&!isNaN(+x)&&(ae(_,"moment()."+_+"(period, number) is deprecated. Please use moment()."+_+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),J=k,k=x,x=J),Il(this,Ni(k,x),u),this}}function Il(u,_,k,x){var N=_._milliseconds,J=Pa(_._days),de=Pa(_._months);u.isValid()&&(x=x??!0,de&&G1(u,Ac(u,"Month")+de*k),J&&rn(u,"Date",Ac(u,"Date")+J*k),N&&u._d.setTime(u._d.valueOf()+N*k),x&&h.updateOffset(u,J||de))}Ni.fn=xl.prototype,Ni.invalid=Oy;var Pl=fp(1,"add"),uD=fp(-1,"subtract");function By(u){return"string"==typeof u||u instanceof String}function hD(u){return Le(u)||F(u)||By(u)||z(u)||Fi(u)||pp(u)||null==u}function pp(u){var N,J,_=y(u)&&!L(u),k=!1,x=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],de=x.length;for(N=0;Nk.valueOf():k.valueOf()9999?kn(k,_?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):he(Date.prototype.toISOString)?_?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",kn(k,"Z")):kn(k,_?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Oa(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var k,x,N,J,u="moment",_="";return this.isLocal()||(u=0===this.utcOffset()?"moment.utc":"moment.parseZone",_="Z"),k="["+u+'("]',x=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",N="-MM-DD[T]HH:mm:ss.SSS",J=_+'[")]',this.format(k+x+N+J)}function Ou(u){u||(u=this.isUtc()?h.defaultFormatUtc:h.defaultFormat);var _=kn(this,u);return this.localeData().postformat(_)}function Al(u,_){return this.isValid()&&(Le(u)&&u.isValid()||Tn(u).isValid())?Ni({to:this,from:u}).locale(this.locale()).humanize(!_):this.localeData().invalidDate()}function di(u){return this.from(Tn(),u)}function Ra(u,_){return this.isValid()&&(Le(u)&&u.isValid()||Tn(u).isValid())?Ni({from:this,to:u}).locale(this.locale()).humanize(!_):this.localeData().invalidDate()}function Ol(u){return this.to(Tn(),u)}function Oo(u){var _;return void 0===u?this._locale._abbr:(null!=(_=ds(u))&&(this._locale=_),this)}h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var $r=q("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(u){return void 0===u?this.localeData():this.locale(u)});function gp(){return this._locale}var ho=1e3,qs=60*ho,Ro=60*qs,yr=3506328*Ro;function fo(u,_){return(u%_+_)%_}function No(u,_,k){return u<100&&u>=0?new Date(u+400,_,k)-yr:new Date(u,_,k).valueOf()}function Xe(u,_,k){return u<100&&u>=0?Date.UTC(u+400,_,k)-yr:Date.UTC(u,_,k)}function _p(u){var _,k;if(void 0===(u=Tt(u))||"millisecond"===u||!this.isValid())return this;switch(k=this._isUTC?Xe:No,u){case"year":_=k(this.year(),0,1);break;case"quarter":_=k(this.year(),this.month()-this.month()%3,1);break;case"month":_=k(this.year(),this.month(),1);break;case"week":_=k(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":_=k(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":_=k(this.year(),this.month(),this.date());break;case"hour":_=this._d.valueOf(),_-=fo(_+(this._isUTC?0:this.utcOffset()*qs),Ro);break;case"minute":_=this._d.valueOf(),_-=fo(_,qs);break;case"second":_=this._d.valueOf(),_-=fo(_,ho)}return this._d.setTime(_),h.updateOffset(this,!0),this}function Gs(u){var _,k;if(void 0===(u=Tt(u))||"millisecond"===u||!this.isValid())return this;switch(k=this._isUTC?Xe:No,u){case"year":_=k(this.year()+1,0,1)-1;break;case"quarter":_=k(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":_=k(this.year(),this.month()+1,1)-1;break;case"week":_=k(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":_=k(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":_=k(this.year(),this.month(),this.date()+1)-1;break;case"hour":_=this._d.valueOf(),_+=Ro-fo(_+(this._isUTC?0:this.utcOffset()*qs),Ro)-1;break;case"minute":_=this._d.valueOf(),_+=qs-fo(_,qs)-1;break;case"second":_=this._d.valueOf(),_+=ho-fo(_,ho)-1}return this._d.setTime(_),h.updateOffset(this,!0),this}function ps(){return this._d.valueOf()-6e4*(this._offset||0)}function Ru(){return Math.floor(this.valueOf()/1e3)}function Rl(){return new Date(this.valueOf())}function Pn(){var u=this;return[u.year(),u.month(),u.date(),u.hour(),u.minute(),u.second(),u.millisecond()]}function Kn(){var u=this;return{years:u.year(),months:u.month(),date:u.date(),hours:u.hours(),minutes:u.minutes(),seconds:u.seconds(),milliseconds:u.milliseconds()}}function lr(){return this.isValid()?this.toISOString():null}function Uy(){return Ae(this)}function Fo(){return X({},le(this))}function Nl(){return le(this).overflow}function po(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Qs(u,_){var k,x,N,J=this._eras||ds("en")._eras;for(k=0,x=J.length;k=0)return J[x]}function _L(u,_){var k=u.since<=u.until?1:-1;return void 0===_?h(u.since).year():h(u.since).year()+(_-u.offset)*k}function ms(){var u,_,k,x=this.localeData().eras();for(u=0,_=x.length;u<_;++u)if(k=this.clone().startOf("day").valueOf(),x[u].since<=k&&k<=x[u].until||x[u].until<=k&&k<=x[u].since)return x[u].name;return""}function zy(){var u,_,k,x=this.localeData().eras();for(u=0,_=x.length;u<_;++u)if(k=this.clone().startOf("day").valueOf(),x[u].since<=k&&k<=x[u].until||x[u].until<=k&&k<=x[u].since)return x[u].narrow;return""}function yL(){var u,_,k,x=this.localeData().eras();for(u=0,_=x.length;u<_;++u)if(k=this.clone().startOf("day").valueOf(),x[u].since<=k&&k<=x[u].until||x[u].until<=k&&k<=x[u].since)return x[u].abbr;return""}function fD(){var u,_,k,x,N=this.localeData().eras();for(u=0,_=N.length;u<_;++u)if(k=N[u].since<=N[u].until?1:-1,x=this.clone().startOf("day").valueOf(),N[u].since<=x&&x<=N[u].until||N[u].until<=x&&x<=N[u].since)return(this.year()-h(N[u].since).year())*k+N[u].offset;return this.year()}function Nu(u){return M(this,"_erasNameRegex")||yp.call(this),u?this._erasNameRegex:this._erasRegex}function vL(u){return M(this,"_erasAbbrRegex")||yp.call(this),u?this._erasAbbrRegex:this._erasRegex}function bL(u){return M(this,"_erasNarrowRegex")||yp.call(this),u?this._erasNarrowRegex:this._erasRegex}function $y(u,_){return _.erasAbbrRegex(u)}function wL(u,_){return _.erasNameRegex(u)}function CL(u,_){return _.erasNarrowRegex(u)}function ML(u,_){return _._eraYearOrdinalRegex||Io}function yp(){var N,J,de,He,ft,u=[],_=[],k=[],x=[],$t=this.eras();for(N=0,J=$t.length;N(J=cs(u,x,N))&&(_=J),EL.call(this,u,_,k,x,N))}function EL(u,_,k,x,N){var J=dt(u,_,k,x,N),de=ku(J.year,0,J.dayOfYear);return this.year(de.getUTCFullYear()),this.month(de.getUTCMonth()),this.date(de.getUTCDate()),this}function Gy(u){return null==u?Math.ceil((this.month()+1)/3):this.month(3*(u-1)+this.month()%3)}ge("N",0,0,"eraAbbr"),ge("NN",0,0,"eraAbbr"),ge("NNN",0,0,"eraAbbr"),ge("NNNN",0,0,"eraName"),ge("NNNNN",0,0,"eraNarrow"),ge("y",["y",1],"yo","eraYear"),ge("y",["yy",2],0,"eraYear"),ge("y",["yyy",3],0,"eraYear"),ge("y",["yyyy",4],0,"eraYear"),Ie("N",$y),Ie("NN",$y),Ie("NNN",$y),Ie("NNNN",wL),Ie("NNNNN",CL),hn(["N","NN","NNN","NNNN","NNNNN"],function(u,_,k,x){var N=k._locale.erasParse(u,x,k._strict);N?le(k).era=N:le(k).invalidEra=u}),Ie("y",Io),Ie("yy",Io),Ie("yyy",Io),Ie("yyyy",Io),Ie("yo",ML),hn(["y","yy","yyy","yyyy"],Oi),hn(["yo"],function(u,_,k,x){var N;k._locale._eraYearOrdinalRegex&&(N=u.match(k._locale._eraYearOrdinalRegex)),k._locale.eraYearOrdinalParse?_[Oi]=k._locale.eraYearOrdinalParse(u,N):_[Oi]=parseInt(u,10)}),ge(0,["gg",2],0,function(){return this.weekYear()%100}),ge(0,["GG",2],0,function(){return this.isoWeekYear()%100}),vp("gggg","weekYear"),vp("ggggg","weekYear"),vp("GGGG","isoWeekYear"),vp("GGGGG","isoWeekYear"),Ie("G",Ht),Ie("g",Ht),Ie("GG",Ut,cn),Ie("gg",Ut,cn),Ie("GGGG",Ji,li),Ie("gggg",Ji,li),Ie("GGGGG",Lo,wt),Ie("ggggg",Lo,wt),as(["gggg","ggggg","GGGG","GGGGG"],function(u,_,k,x){_[x.substr(0,2)]=zt(u)}),as(["gg","GG"],function(u,_,k,x){_[x]=h.parseTwoDigitYear(u)}),ge("Q",0,"Qo","quarter"),Ie("Q",Lt),hn("Q",function(u,_){_[Po]=3*(zt(u)-1)}),ge("D",["DD",2],"Do","date"),Ie("D",Ut,Da),Ie("DD",Ut,cn),Ie("Do",function(u,_){return u?_._dayOfMonthOrdinalParse||_._ordinalParse:_._dayOfMonthOrdinalParseLenient}),hn(["D","DD"],ee),hn("Do",function(u,_){_[ee]=zt(u.match(Ut)[0])});var bp=Pc("Date",!0);function Ti(u){var _=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==u?_:this.add(u-_,"d")}ge("DDD",["DDDD",3],"DDDo","dayOfYear"),Ie("DDD",sr),Ie("DDDD",Ki),hn(["DDD","DDDD"],function(u,_,k){k._dayOfYear=zt(u)}),ge("m",["mm",2],0,"minute"),Ie("m",Ut,Ze),Ie("mm",Ut,cn),hn(["m","mm"],Rt);var mD=Pc("Minutes",!1);ge("s",["ss",2],0,"second"),Ie("s",Ut,Ze),Ie("ss",Ut,cn),hn(["s","ss"],fn);var En,Qy,Fl=Pc("Seconds",!1);for(ge("S",0,0,function(){return~~(this.millisecond()/100)}),ge(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),ge(0,["SSS",3],0,"millisecond"),ge(0,["SSSS",4],0,function(){return 10*this.millisecond()}),ge(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),ge(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),ge(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),ge(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),ge(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Ie("S",sr,Lt),Ie("SS",sr,cn),Ie("SSS",sr,Ki),En="SSSS";En.length<=9;En+="S")Ie(En,Io);function Yl(u,_){_[Sl]=zt(1e3*("0."+u))}for(En="S";En.length<=9;En+="S")hn(En,Yl);function Na(){return this._isUTC?"UTC":""}function wp(){return this._isUTC?"Coordinated Universal Time":""}Qy=Pc("Milliseconds",!1),ge("z",0,0,"zoneAbbr"),ge("zz",0,0,"zoneName");var be=an.prototype;function gD(u){return Tn(1e3*u)}function Cp(){return Tn.apply(null,arguments).parseZone()}function Ky(u){return u}be.add=Pl,be.calendar=ci,be.clone=we,be.diff=sn,be.endOf=Gs,be.format=Ou,be.from=Al,be.fromNow=di,be.to=Ra,be.toNow=Ol,be.get=ct,be.invalidAt=Nl,be.isAfter=rt,be.isBefore=oi,be.isBetween=Xi,be.isSame=ki,be.isSameOrAfter=Aa,be.isSameOrBefore=Bc,be.isValid=Uy,be.lang=$r,be.locale=Oo,be.localeData=gp,be.max=Ay,be.min=Py,be.parsingFlags=Fo,be.set=Su,be.startOf=_p,be.subtract=uD,be.toArray=Pn,be.toObject=Kn,be.toDate=Rl,be.toISOString=yt,be.inspect=Oa,typeof Symbol<"u"&&null!=Symbol.for&&(be[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),be.toJSON=lr,be.toString=jr,be.unix=Ru,be.valueOf=ps,be.creationData=po,be.eraName=ms,be.eraNarrow=zy,be.eraAbbr=yL,be.eraYear=fD,be.year=ls,be.isLeapYear=Kf,be.weekYear=DL,be.isoWeekYear=SL,be.quarter=be.quarters=Gy,be.month=Ri,be.daysInMonth=Ge,be.week=be.weeks=Zf,be.isoWeek=be.isoWeeks=_e,be.weeksInYear=qy,be.weeksInWeekYear=TL,be.isoWeeksInYear=kL,be.isoWeeksInISOWeekYear=Wy,be.date=bp,be.day=be.days=dL,be.weekday=ep,be.isoWeekday=Oc,be.dayOfYear=Ti,be.hour=be.hours=wi,be.minute=be.minutes=mD,be.second=be.seconds=Fl,be.millisecond=be.milliseconds=Qy,be.utcOffset=dp,be.utc=up,be.local=Fy,be.parseZone=Yy,be.hasAlignedHourOffset=hs,be.isDST=jy,be.isLocal=Iu,be.isUtcOffset=Hy,be.isUtc=Pu,be.isUTC=Pu,be.zoneAbbr=Na,be.zoneName=wp,be.dates=q("dates accessor is deprecated. Use date instead.",bp),be.months=q("months accessor is deprecated. Use month instead",Ri),be.years=q("years accessor is deprecated. Use year instead",ls),be.zone=q("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",cD),be.isDSTShifted=q("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",hp);var ut=Ve.prototype;function Uc(u,_,k,x){var N=ds(),J=Z().set(x,_);return N[k](J,u)}function Mp(u,_,k){if(z(u)&&(_=u,u=void 0),u=u||"",null!=_)return Uc(u,_,k,"month");var x,N=[];for(x=0;x<12;x++)N[x]=Uc(u,x,k,"month");return N}function Fu(u,_,k,x){"boolean"==typeof u?(z(_)&&(k=_,_=void 0),_=_||""):(k=_=u,u=!1,z(_)&&(k=_,_=void 0),_=_||"");var de,N=ds(),J=u?N._week.dow:0,He=[];if(null!=k)return Uc(_,(k+J)%7,x,"day");for(de=0;de<7;de++)He[de]=Uc(_,(de+J)%7,x,"day");return He}function Yu(u,_){return Mp(u,_,"months")}function Dp(u,_){return Mp(u,_,"monthsShort")}function jl(u,_,k){return Fu(u,_,k,"weekdays")}function ju(u,_,k){return Fu(u,_,k,"weekdaysShort")}function Sp(u,_,k){return Fu(u,_,k,"weekdaysMin")}ut.calendar=it,ut.longDateFormat=Mt,ut.invalidDate=lt,ut.ordinal=ln,ut.preparse=Ky,ut.postformat=Ky,ut.relativeTime=ot,ut.pastFuture=Qn,ut.set=me,ut.eras=Qs,ut.erasParse=gL,ut.erasConvertYear=_L,ut.erasAbbrRegex=vL,ut.erasNameRegex=Nu,ut.erasNarrowRegex=bL,ut.months=$1,ut.monthsShort=W1,ut.monthsParse=q1,ut.monthsRegex=iL,ut.monthsShortRegex=nL,ut.week=Q1,ut.firstDayOfYear=Eu,ut.firstDayOfWeek=Tu,ut.weekdays=sL,ut.weekdaysMin=lL,ut.weekdaysShort=aL,ut.weekdaysParse=X1,ut.weekdaysRegex=tp,ut.weekdaysShortRegex=np,ut.weekdaysMinRegex=wy,ut.isPM=Vt,ut.meridiem=mr,Ao("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(u){var _=u%10;return u+(1===zt(u%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")}}),h.lang=q("moment.lang is deprecated. Use moment.locale instead.",Ao),h.langData=q("moment.langData is deprecated. Use moment.localeData instead.",ds);var Yi=Math.abs;function Jy(){var u=this._data;return this._milliseconds=Yi(this._milliseconds),this._days=Yi(this._days),this._months=Yi(this._months),u.milliseconds=Yi(u.milliseconds),u.seconds=Yi(u.seconds),u.minutes=Yi(u.minutes),u.hours=Yi(u.hours),u.months=Yi(u.months),u.years=Yi(u.years),this}function kp(u,_,k,x){var N=Ni(_,k);return u._milliseconds+=x*N._milliseconds,u._days+=x*N._days,u._months+=x*N._months,u._bubble()}function _D(u,_){return kp(this,u,_,1)}function ht(u,_){return kp(this,u,_,-1)}function Ks(u){return u<0?Math.floor(u):Math.ceil(u)}function Tp(){var N,J,de,He,ft,u=this._milliseconds,_=this._days,k=this._months,x=this._data;return u>=0&&_>=0&&k>=0||u<=0&&_<=0&&k<=0||(u+=864e5*Ks(Ep(k)+_),_=0,k=0),x.milliseconds=u%1e3,N=lo(u/1e3),x.seconds=N%60,J=lo(N/60),x.minutes=J%60,de=lo(J/60),x.hours=de%24,_+=lo(de/24),k+=ft=lo(Hu(_)),_-=Ks(Ep(ft)),He=lo(k/12),k%=12,x.days=_,x.months=k,x.years=He,this}function Hu(u){return 4800*u/146097}function Ep(u){return 146097*u/4800}function yD(u){if(!this.isValid())return NaN;var _,k,x=this._milliseconds;if("month"===(u=Tt(u))||"quarter"===u||"year"===u)switch(_=this._days+x/864e5,k=this._months+Hu(_),u){case"month":return k;case"quarter":return k/3;case"year":return k/12}else switch(_=this._days+Math.round(Ep(this._months)),u){case"week":return _/7+x/6048e5;case"day":return _+x/864e5;case"hour":return 24*_+x/36e5;case"minute":return 1440*_+x/6e4;case"second":return 86400*_+x/1e3;case"millisecond":return Math.floor(864e5*_)+x;default:throw new Error("Unknown unit "+u)}}function Yo(u){return function(){return this.as(u)}}var Vu=Yo("ms"),Zy=Yo("s"),Xy=Yo("m"),vD=Yo("h"),xL=Yo("d"),bD=Yo("w"),ev=Yo("M"),fe=Yo("Q"),vt=Yo("y"),ne=Vu;function ie(){return Ni(this)}function gt(u){return u=Tt(u),this.isValid()?this[u+"s"]():NaN}function Js(u){return function(){return this.isValid()?this._data[u]:NaN}}var zc=Js("milliseconds"),gs=Js("seconds"),tv=Js("minutes"),nv=Js("hours"),iv=Js("days"),LL=Js("months"),IL=Js("years");function rv(){return lo(this.days()/7)}var jo=Math.round,_s={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function er(u,_,k,x,N){return N.relativeTime(_||1,!!k,u,x)}function ys(u,_,k,x){var N=Ni(u).abs(),J=jo(N.as("s")),de=jo(N.as("m")),He=jo(N.as("h")),ft=jo(N.as("d")),$t=jo(N.as("M")),tr=jo(N.as("w")),mo=jo(N.as("y")),Zs=J<=k.ss&&["s",J]||J0,Zs[4]=x,er.apply(null,Zs)}function ov(u){return void 0===u?jo:"function"==typeof u&&(jo=u,!0)}function vr(u,_){return void 0!==_s[u]&&(void 0===_?_s[u]:(_s[u]=_,"s"===u&&(_s.ss=_-1),!0))}function vs(u,_){if(!this.isValid())return this.localeData().invalidDate();var N,J,k=!1,x=_s;return"object"==typeof u&&(_=u,u=!1),"boolean"==typeof u&&(k=u),"object"==typeof _&&(x=Object.assign({},_s,_),null!=_.s&&null==_.ss&&(x.ss=_.s-1)),J=ys(this,!k,x,N=this.localeData()),k&&(J=N.pastFuture(+this,J)),N.postformat(J)}var xp=Math.abs;function Fa(u){return(u>0)-(u<0)||+u}function Bu(){if(!this.isValid())return this.localeData().invalidDate();var x,N,J,de,ft,$t,tr,mo,u=xp(this._milliseconds)/1e3,_=xp(this._days),k=xp(this._months),He=this.asSeconds();return He?(x=lo(u/60),N=lo(x/60),u%=60,x%=60,J=lo(k/12),k%=12,de=u?u.toFixed(3).replace(/\.?0+$/,""):"",ft=He<0?"-":"",$t=Fa(this._months)!==Fa(He)?"-":"",tr=Fa(this._days)!==Fa(He)?"-":"",mo=Fa(this._milliseconds)!==Fa(He)?"-":"",ft+"P"+(J?$t+J+"Y":"")+(k?$t+k+"M":"")+(_?tr+_+"D":"")+(N||x||u?"T":"")+(N?mo+N+"H":"")+(x?mo+x+"M":"")+(u?mo+de+"S":"")):"P0D"}var Kt=xl.prototype;return Kt.isValid=us,Kt.abs=Jy,Kt.add=_D,Kt.subtract=ht,Kt.as=yD,Kt.asMilliseconds=Vu,Kt.asSeconds=Zy,Kt.asMinutes=Xy,Kt.asHours=vD,Kt.asDays=xL,Kt.asWeeks=bD,Kt.asMonths=ev,Kt.asQuarters=fe,Kt.asYears=vt,Kt.valueOf=ne,Kt._bubble=Tp,Kt.clone=ie,Kt.get=gt,Kt.milliseconds=zc,Kt.seconds=gs,Kt.minutes=tv,Kt.hours=nv,Kt.days=iv,Kt.weeks=rv,Kt.months=LL,Kt.years=IL,Kt.humanize=vs,Kt.toISOString=Bu,Kt.toString=Bu,Kt.toJSON=Bu,Kt.locale=Oo,Kt.localeData=gp,Kt.toIsoString=q("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Bu),Kt.lang=$r,ge("X",0,0,"unix"),ge("x",0,0,"valueOf"),Ie("x",Ht),Ie("X",Ma),hn("X",function(u,_,k){k._d=new Date(1e3*parseFloat(u))}),hn("x",function(u,_,k){k._d=new Date(zt(u))}),h.version="2.30.1",v(Tn),h.fn=be,h.min=lp,h.max=Vc,h.now=aD,h.utc=Z,h.unix=gD,h.months=Yu,h.isDate=F,h.locale=Ao,h.invalid=Oe,h.duration=Ni,h.isMoment=Le,h.weekdays=jl,h.parseZone=Cp,h.localeData=ds,h.isDuration=Ia,h.monthsShort=Dp,h.weekdaysMin=Sp,h.defineLocale=Sy,h.updateLocale=fL,h.locales=rp,h.weekdaysShort=ju,h.normalizeUnits=Tt,h.relativeTimeRounding=ov,h.relativeTimeThreshold=vr,h.calendarFormat=mL,h.prototype=be,h.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"},h}()},262(te,Y){var P,D,h;D=[],P=function v(){var y,g=typeof self<"u"?self:typeof window<"u"?window:void 0!==g?g:{},M=!g.document&&!!g.postMessage,L=g.IS_PAPA_WORKER||!1,E={},z=0,F={};function K(q){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(Q){var ae=an(Q);ae.chunkSize=parseInt(ae.chunkSize),Q.step||Q.chunk||(ae.chunkSize=null),this._handle=new Ue(ae),(this._handle.streamer=this)._config=ae}.call(this,q),this.parseChunk=function(Q,ae){var he=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0=this._config.preview,L)g.postMessage({results:me,workerId:F.WORKER_ID,finished:he});else if(Pe(this._config.chunk)&&!ae){if(this._config.chunk(me,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=me=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(me.data),this._completeResults.errors=this._completeResults.errors.concat(me.errors),this._completeResults.meta=me.meta),this._completed||!he||!Pe(this._config.complete)||me&&me.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),he||me&&me.meta.paused||this._nextChunk(),me}this._halted=!0},this._sendError=function(Q){Pe(this._config.error)?this._config.error(Q):L&&this._config.error&&g.postMessage({workerId:F.WORKER_ID,error:Q,finished:!1})}}function X(q){var Q;(q=q||{}).chunkSize||(q.chunkSize=F.RemoteChunkSize),K.call(this,q),this._nextChunk=M?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(ae){this._input=ae,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(Q=new XMLHttpRequest,this._config.withCredentials&&(Q.withCredentials=this._config.withCredentials),M||(Q.onload=Le(this._chunkLoaded,this),Q.onerror=Le(this._chunkError,this)),Q.open(this._config.downloadRequestBody?"POST":"GET",this._input,!M),this._config.downloadRequestHeaders){var ae,he=this._config.downloadRequestHeaders;for(ae in he)Q.setRequestHeader(ae,he[ae])}var me;this._config.chunkSize&&(me=this._start+this._config.chunkSize-1,Q.setRequestHeader("Range","bytes="+this._start+"-"+me));try{Q.send(this._config.downloadRequestBody)}catch(ke){this._chunkError(ke.message)}M&&0===Q.status&&this._chunkError()}},this._chunkLoaded=function(){var ae;4===Q.readyState&&(Q.status<200||400<=Q.status?this._chunkError():(this._start+=this._config.chunkSize||Q.responseText.length,this._finished=!this._config.chunkSize||this._start>=(null!==(ae=(ae=Q).getResponseHeader("Content-Range"))?parseInt(ae.substring(ae.lastIndexOf("/")+1)):-1),this.parseChunk(Q.responseText)))},this._chunkError=function(ae){ae=Q.statusText||ae,this._sendError(new Error(ae))}}function Z(q){(q=q||{}).chunkSize||(q.chunkSize=F.LocalChunkSize),K.call(this,q);var Q,ae,he=typeof FileReader<"u";this.stream=function(me){this._input=me,ae=me.slice||me.webkitSlice||me.mozSlice,he?((Q=new FileReader).onload=Le(this._chunkLoaded,this),Q.onerror=Le(this._chunkError,this)):Q=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(me.target.result)},this._chunkError=function(){this._sendError(Q.error)}}function ce(q){var Q;K.call(this,q=q||{}),this.stream=function(ae){return Q=ae,this._nextChunk()},this._nextChunk=function(){var ae,he;if(!this._finished)return ae=this._config.chunkSize,Q=ae?(he=Q.substring(0,ae),Q.substring(ae)):(he=Q,""),this._finished=!Q,this.parseChunk(he)}}function le(q){K.call(this,q=q||{});var Q=[],ae=!0,he=!1;this.pause=function(){K.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){K.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(me){this._input=me,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){he&&1===Q.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),Q.length?this.parseChunk(Q.shift()):ae=!0},this._streamData=Le(function(me){try{Q.push("string"==typeof me?me:me.toString(this._config.encoding)),ae&&(ae=!1,this._checkIsFinished(),this.parseChunk(Q.shift()))}catch(ke){this._streamError(ke)}},this),this._streamError=Le(function(me){this._streamCleanUp(),this._sendError(me)},this),this._streamEnd=Le(function(){this._streamCleanUp(),he=!0,this._streamData("")},this),this._streamCleanUp=Le(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function Ue(q){var Q,ae,he,me,ke=Math.pow(2,53),Ve=-ke,Qt=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,Sn=/^((\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)))$/,it=this,At=0,tt=0,gn=!1,Ke=!1,nt=[],ge={data:[],errors:[],meta:{}};function Hn(Je){return"greedy"===q.skipEmptyLines?""===Je.join("").trim():1===Je.length&&0===Je[0].length}function _t(){if(ge&&he&&(tn("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+F.DefaultDelimiter+"'"),he=!1),q.skipEmptyLines&&(ge.data=ge.data.filter(function(Dt){return!Hn(Dt)})),kn()){let Dt=function(ii,ln){Pe(q.transformHeader)&&(ii=q.transformHeader(ii,ln)),nt.push(ii)};if(ge)if(Array.isArray(ge.data[0])){for(var Je=0;kn()&&Je{return Vn=Bt,q.dynamicTypingFunction&&void 0===q.dynamicTyping[Vn]&&(q.dynamicTyping[Vn]=q.dynamicTypingFunction(Vn)),!0===(q.dynamicTyping[Vn]||q.dynamicTyping)?"true"===Tt||"TRUE"===Tt||"false"!==Tt&&"FALSE"!==Tt&&((Vn=>{if(Qt.test(Vn)&&(Vn=parseFloat(Vn),Ve=nt.length?"__parsed_extra":nt[nn]:ot,Qn=q.transform?q.transform(Qn,ot):Qn),"__parsed_extra"===ot?(ln[ot]=ln[ot]||[],ln[ot].push(Qn)):ln[ot]=Qn}return q.header&&(nn>nt.length?tn("FieldMismatch","TooManyFields","Too many fields: expected "+nt.length+" fields but parsed "+nn,tt+ii):nnq.preview?ae.abort():(ge.data=ge.data[0],me(ge,it))))}),this.parse=function(Je,Mt,bt){var lt=q.quoteChar||'"';return q.newline||(q.newline=this.guessLineEndings(Je,lt)),he=!1,q.delimiter?Pe(q.delimiter)&&(q.delimiter=q.delimiter(Je),ge.meta.delimiter=q.delimiter):((lt=((Dt,ii,ln,nn,ot)=>{var Qn,Bt,Tt,Vn;ot=ot||[",","\t","|",";",F.RECORD_SEP,F.UNIT_SEP];for(var Ca=0;Ca=bt.length/2?"\r\n":"\r"}}function Ae(q){return q.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Oe(q){var Q=(q=q||{}).delimiter,ae=q.newline,he=q.comments,me=q.step,ke=q.preview,Ve=q.fastMode,Qt=null,Sn=!1,it=null==q.quoteChar?'"':q.quoteChar,At=it;if(void 0!==q.escapeChar&&(At=q.escapeChar),("string"!=typeof Q||-1=ke)return cn(!0);break}bt.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:Mt.length,index:tt}),Bt++}}else if(he&&0===lt.length&&Ke.substring(tt,tt+tn)===he){if(-1===ot)return cn();tt=ot+kn,ot=Ke.indexOf(ae,tt),nn=Ke.indexOf(Q,tt)}else if(-1!==nn&&(nn=ke)return cn(!0)}return or();function Vn(li){Mt.push(li),Dt=tt}function Ca(li){var wt=0;return-1!==li&&(li=Ke.substring(Bt+1,li))&&""===li.trim()?li.length:wt}function or(li){return ge||(void 0===li&&(li=Ke.substring(tt)),lt.push(li),tt=Hn,Vn(lt),Je&&Ki()),cn()}function Lt(li){tt=li,Vn(lt),lt=[],ot=Ke.indexOf(ae,tt)}function cn(li){if(q.header&&!nt&&Mt.length&&!Sn){var wt=Mt[0],Ut=Object.create(null),Ml=new Set(wt);let Ec=!1;for(let sr=0;sr{var he,me,ke;return!!F.WORKERS_SUPPORTED&&(me=g.URL||g.webkitURL||null,ke=v.toString(),he=F.BLOB_URL||(F.BLOB_URL=me.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; ","(",ke,")();"],{type:"text/javascript"}))),(he=new g.Worker(he)).onmessage=et,he.id=z++,E[he.id]=he)})()).userStep=Q.step,ae.userChunk=Q.chunk,ae.userComplete=Q.complete,ae.userError=Q.error,Q.step=Pe(Q.step),Q.chunk=Pe(Q.chunk),Q.complete=Pe(Q.complete),Q.error=Pe(Q.error),delete Q.worker,ae.postMessage({input:q,config:Q,workerId:ae.id})},F.unparse=function(q,Q){var ae=!1,he=!0,me=",",ke="\r\n",Ve='"',Qt=Ve+Ve,Sn=!1,it=null,At=!1,tt=((()=>{if("object"==typeof Q){if("string"!=typeof Q.delimiter||F.BAD_DELIMITERS.filter(function(nt){return-1!==Q.delimiter.indexOf(nt)}).length||(me=Q.delimiter),"boolean"!=typeof Q.quotes&&"function"!=typeof Q.quotes&&!Array.isArray(Q.quotes)||(ae=Q.quotes),"boolean"!=typeof Q.skipEmptyLines&&"string"!=typeof Q.skipEmptyLines||(Sn=Q.skipEmptyLines),"string"==typeof Q.newline&&(ke=Q.newline),"string"==typeof Q.quoteChar&&(Ve=Q.quoteChar),"boolean"==typeof Q.header&&(he=Q.header),Array.isArray(Q.columns)){if(0===Q.columns.length)throw new Error("Option columns is empty");it=Q.columns}void 0!==Q.escapeChar&&(Qt=Q.escapeChar+Ve),Q.escapeFormulae instanceof RegExp?At=Q.escapeFormulae:"boolean"==typeof Q.escapeFormulae&&Q.escapeFormulae&&(At=/^[=+\-@\t\r].*$/)}})(),new RegExp(Ae(Ve),"g"));if("string"==typeof q&&(q=JSON.parse(q)),Array.isArray(q)){if(!q.length||Array.isArray(q[0]))return gn(null,q,Sn);if("object"==typeof q[0])return gn(it||Object.keys(q[0]),q,Sn)}else if("object"==typeof q)return"string"==typeof q.data&&(q.data=JSON.parse(q.data)),Array.isArray(q.data)&&(q.fields||(q.fields=q.meta&&q.meta.fields||it),q.fields||(q.fields=Array.isArray(q.data[0])?q.fields:"object"==typeof q.data[0]?Object.keys(q.data[0]):[]),Array.isArray(q.data[0])||"object"==typeof q.data[0]||(q.data=[q.data])),gn(q.fields||[],q.data||[],Sn);throw new Error("Unable to serialize unrecognized input");function gn(nt,ge,Hn){var _t="",kn=("string"==typeof nt&&(nt=JSON.parse(nt)),"string"==typeof ge&&(ge=JSON.parse(ge)),Array.isArray(nt)&&0{for(var Je=0;Je"u"?(K=F,F=void 0):(K=F,F=z,z=E,E=void 0));try{const le=v.create(z,F);K(null,L(le,E,F))}catch(le){K(le)}}v.create,Y.mo=M.bind(null,g.render),Y.dY=M.bind(null,g.renderToDataURL),Y.toString=M.bind(null,function(L,E,z){return y.render(L,z)})},2836(te){te.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6214(te,Y,P){const D=P(9089).getSymbolSize;Y.getRowColCoords=function(v){if(1===v)return[];const g=Math.floor(v/7)+2,y=D(v),M=145===y?26:2*Math.ceil((y-13)/(2*g-2)),L=[y-7];for(let E=1;E>>7-P%8&1)},put:function(P,D){for(let h=0;h>>D-h-1&1))},getLengthInBits:function(){return this.length},putBit:function(P){const D=Math.floor(this.length/8);this.buffer.length<=D&&this.buffer.push(0),P&&(this.buffer[D]|=128>>>this.length%8),this.length++}},te.exports=Y},5941(te){function Y(P){if(!P||P<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=P,this.data=new Uint8Array(P*P),this.reservedBit=new Uint8Array(P*P)}Y.prototype.set=function(P,D,h,v){const g=P*this.size+D;this.data[g]=h,v&&(this.reservedBit[g]=!0)},Y.prototype.get=function(P,D){return this.data[P*this.size+D]},Y.prototype.xor=function(P,D,h){this.data[P*this.size+D]^=h},Y.prototype.isReserved=function(P,D){return this.reservedBit[P*this.size+D]},te.exports=Y},4969(te,Y,P){const D=P(1677);function h(v){this.mode=D.BYTE,this.data="string"==typeof v?(new TextEncoder).encode(v):new Uint8Array(v)}h.getBitsLength=function(g){return 8*g},h.prototype.getLength=function(){return this.data.length},h.prototype.getBitsLength=function(){return h.getBitsLength(this.data.length)},h.prototype.write=function(v){for(let g=0,y=this.data.length;g=0&&h.bit<4},Y.from=function(h,v){if(Y.isValid(h))return h;try{return function P(D){if("string"!=typeof D)throw new Error("Param is not a string");switch(D.toLowerCase()){case"l":case"low":return Y.L;case"m":case"medium":return Y.M;case"q":case"quartile":return Y.Q;case"h":case"high":return Y.H;default:throw new Error("Unknown EC Level: "+D)}}(h)}catch{return v}}},6269(te,Y,P){const D=P(9089).getSymbolSize;Y.getPositions=function(g){const y=D(g);return[[0,0],[y-7,0],[0,y-7]]}},6254(te,Y,P){const D=P(9089),g=D.getBCHDigit(1335);Y.getEncodedBits=function(M,L){const E=M.bit<<3|L;let z=E<<10;for(;D.getBCHDigit(z)-g>=0;)z^=1335<=33088&&M<=40956)M-=33088;else{if(!(M>=57408&&M<=60351))throw new Error("Invalid SJIS character: "+this.data[y]+"\nMake sure your charset is UTF-8");M-=49472}M=192*(M>>>8&255)+(255&M),g.put(M,13)}},te.exports=v},3361(te,Y){Y.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const P_N1=3,P_N2=3,P_N3=40,P_N4=10;function D(h,v,g){switch(h){case Y.Patterns.PATTERN000:return(v+g)%2==0;case Y.Patterns.PATTERN001:return v%2==0;case Y.Patterns.PATTERN010:return g%3==0;case Y.Patterns.PATTERN011:return(v+g)%3==0;case Y.Patterns.PATTERN100:return(Math.floor(v/2)+Math.floor(g/3))%2==0;case Y.Patterns.PATTERN101:return v*g%2+v*g%3==0;case Y.Patterns.PATTERN110:return(v*g%2+v*g%3)%2==0;case Y.Patterns.PATTERN111:return(v*g%3+(v+g)%2)%2==0;default:throw new Error("bad maskPattern:"+h)}}Y.isValid=function(v){return null!=v&&""!==v&&!isNaN(v)&&v>=0&&v<=7},Y.from=function(v){return Y.isValid(v)?parseInt(v,10):void 0},Y.getPenaltyN1=function(v){const g=v.size;let y=0,M=0,L=0,E=null,z=null;for(let F=0;F=5&&(y+=P_N1+(M-5)),E=X,M=1),X=v.get(K,F),X===z?L++:(L>=5&&(y+=P_N1+(L-5)),z=X,L=1)}M>=5&&(y+=P_N1+(M-5)),L>=5&&(y+=P_N1+(L-5))}return y},Y.getPenaltyN2=function(v){const g=v.size;let y=0;for(let M=0;M=10&&(1488===M||93===M)&&y++,L=L<<1&2047|v.get(z,E),z>=10&&(1488===L||93===L)&&y++}return y*P_N3},Y.getPenaltyN4=function(v){let g=0;const y=v.data.length;for(let L=0;L=1&&M<10?y.ccBits[0]:M<27?y.ccBits[1]:y.ccBits[2]},Y.getBestModeForData=function(y){return h.testNumeric(y)?Y.NUMERIC:h.testAlphanumeric(y)?Y.ALPHANUMERIC:h.testKanji(y)?Y.KANJI:Y.BYTE},Y.toString=function(y){if(y&&y.id)return y.id;throw new Error("Invalid mode")},Y.isValid=function(y){return y&&y.bit&&y.ccBits},Y.from=function(y,M){if(Y.isValid(y))return y;try{return function v(g){if("string"!=typeof g)throw new Error("Param is not a string");switch(g.toLowerCase()){case"numeric":return Y.NUMERIC;case"alphanumeric":return Y.ALPHANUMERIC;case"kanji":return Y.KANJI;case"byte":return Y.BYTE;default:throw new Error("Unknown mode: "+g)}}(y)}catch{return M}}},6628(te,Y,P){const D=P(1677);function h(v){this.mode=D.NUMERIC,this.data=v.toString()}h.getBitsLength=function(g){return 10*Math.floor(g/3)+(g%3?g%3*3+1:0)},h.prototype.getLength=function(){return this.data.length},h.prototype.getBitsLength=function(){return h.getBitsLength(this.data.length)},h.prototype.write=function(g){let y,M,L;for(y=0;y+3<=this.data.length;y+=3)M=this.data.substr(y,3),L=parseInt(M,10),g.put(L,10);const E=this.data.length-y;E>0&&(M=this.data.substr(y),L=parseInt(M,10),g.put(L,3*E+1))},te.exports=h},1744(te,Y,P){const D=P(6686);Y.mul=function(v,g){const y=new Uint8Array(v.length+g.length-1);for(let M=0;M=0;){const M=y[0];for(let E=0;E>he&1),he<6?Le.set(he,8,me,!0):he<8?Le.set(he+1,8,me,!0):Le.set(Q-15+he,8,me,!0),he<8?Le.set(8,Q-he-1,me,!0):he<9?Le.set(8,15-he-1+1,me,!0):Le.set(8,15-he-1,me,!0);Le.set(Q-8,8,1,!0)}function ze(Le,Pe,q){const Q=new v;q.forEach(function(Ve){Q.put(Ve.mode.bit,4),Q.put(Ve.getLength(),X.getCharCountIndicator(Ve.mode,Le)),Ve.write(Q)});const me=8*(D.getSymbolTotalCodewords(Le)-E.getTotalCodewordsCount(Le,Pe));for(Q.getLengthInBits()+4<=me&&Q.put(0,4);Q.getLengthInBits()%8!=0;)Q.putBit(0);const ke=(me-Q.getLengthInBits())/8;for(let Ve=0;Ve=0&&ke<=6&&(0===Ve||6===Ve)||Ve>=0&&Ve<=6&&(0===ke||6===ke)||ke>=2&&ke<=4&&Ve>=2&&Ve<=4?Le.set(he+ke,me+Ve,!0,!0):Le.set(he+ke,me+Ve,!1,!0))}}(Ve,Pe),function le(Le){const Pe=Le.size;for(let q=8;q=7&&function Ae(Le,Pe){const q=Le.size,Q=F.getEncodedBits(Pe);let ae,he,me;for(let ke=0;ke<18;ke++)ae=Math.floor(ke/3),he=ke%3+q-8-3,me=1==(Q>>ke&1),Le.set(ae,he,me,!0),Le.set(he,ae,me,!0)}(Ve,Pe),function et(Le,Pe){const q=Le.size;let Q=-1,ae=q-1,he=7,me=0;for(let ke=q-1;ke>0;ke-=2)for(6===ke&&ke--;;){for(let Ve=0;Ve<2;Ve++)if(!Le.isReserved(ae,ke-Ve)){let Qt=!1;me>>he&1)),Le.set(ae,ke-Ve,Qt),he--,-1===he&&(me++,he=7)}if(ae+=Q,ae<0||q<=ae){ae-=Q,Q=-Q;break}}}(Ve,me),isNaN(Q)&&(Q=L.getBestMask(Ve,Oe.bind(null,Ve,q))),L.applyMask(Q,Ve),Oe(Ve,q,Q),{modules:Ve,version:Pe,errorCorrectionLevel:q,maskPattern:Q,segments:ae}}Y.create=function(Pe,q){if(typeof Pe>"u"||""===Pe)throw new Error("No input text");let ae,he,Q=h.M;return typeof q<"u"&&(Q=h.from(q.errorCorrectionLevel,h.M),ae=F.from(q.version),he=L.from(q.maskPattern),q.toSJISFunc&&D.setToSJISFunction(q.toSJISFunc)),an(Pe,ae,Q,he)}},6289(te,Y,P){const D=P(1744);function h(v){this.genPoly=void 0,this.degree=v,this.degree&&this.initialize(this.degree)}h.prototype.initialize=function(g){this.degree=g,this.genPoly=D.generateECPolynomial(this.degree)},h.prototype.encode=function(g){if(!this.genPoly)throw new Error("Encoder not initialized");const y=new Uint8Array(g.length+this.degree);y.set(g);const M=D.mod(y,this.genPoly),L=this.degree-M.length;if(L>0){const E=new Uint8Array(this.degree);return E.set(M,L),E}return M},te.exports=h},9359(te,Y){const P="[0-9]+";let h="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";h=h.replace(/u/g,"\\u");const v="(?:(?![A-Z0-9 $%*+\\-./:]|"+h+")(?:.|[\r\n]))+";Y.KANJI=new RegExp(h,"g"),Y.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Y.BYTE=new RegExp(v,"g"),Y.NUMERIC=new RegExp(P,"g"),Y.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const g=new RegExp("^"+h+"$"),y=new RegExp("^"+P+"$"),M=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Y.testKanji=function(E){return g.test(E)},Y.testNumeric=function(E){return y.test(E)},Y.testAlphanumeric=function(E){return M.test(E)}},2868(te,Y,P){const D=P(1677),h=P(6628),v=P(1018),g=P(4969),y=P(3264),M=P(9359),L=P(9089),E=P(243);function z(Ae){return unescape(encodeURIComponent(Ae)).length}function F(Ae,Oe,et){const ze=[];let un;for(;null!==(un=Ae.exec(et));)ze.push({data:un[0],index:un.index,mode:Oe,length:un[0].length});return ze}function K(Ae){const Oe=F(M.NUMERIC,D.NUMERIC,Ae),et=F(M.ALPHANUMERIC,D.ALPHANUMERIC,Ae);let ze,un;return L.isKanjiModeEnabled()?(ze=F(M.BYTE,D.BYTE,Ae),un=F(M.KANJI,D.KANJI,Ae)):(ze=F(M.BYTE_KANJI,D.BYTE,Ae),un=[]),Oe.concat(et,ze,un).sort(function(Le,Pe){return Le.index-Pe.index}).map(function(Le){return{data:Le.data,mode:Le.mode,length:Le.length}})}function X(Ae,Oe){switch(Oe){case D.NUMERIC:return h.getBitsLength(Ae);case D.ALPHANUMERIC:return v.getBitsLength(Ae);case D.KANJI:return y.getBitsLength(Ae);case D.BYTE:return g.getBitsLength(Ae)}}function Ue(Ae,Oe){let et;const ze=D.getBestModeForData(Ae);if(et=D.from(Oe,ze),et!==D.BYTE&&et.bit=0?Oe[Oe.length-1]:null;return ze&&ze.mode===et.mode?(Oe[Oe.length-1].data+=et.data,Oe):(Oe.push(et),Oe)},[])}(Pe))},Y.rawSplit=function(Oe){return Y.fromArray(K(Oe,L.isKanjiModeEnabled()))}},9089(te,Y){let P;const D=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Y.getSymbolSize=function(v){if(!v)throw new Error('"version" cannot be null or undefined');if(v<1||v>40)throw new Error('"version" should be in range from 1 to 40');return 4*v+17},Y.getSymbolTotalCodewords=function(v){return D[v]},Y.getBCHDigit=function(h){let v=0;for(;0!==h;)v++,h>>>=1;return v},Y.setToSJISFunction=function(v){if("function"!=typeof v)throw new Error('"toSJISFunc" is not a valid function.');P=v},Y.isKanjiModeEnabled=function(){return typeof P<"u"},Y.toSJIS=function(v){return P(v)}},377(te,Y){Y.isValid=function(D){return!isNaN(D)&&D>=1&&D<=40}},1252(te,Y,P){const D=P(9089),h=P(3677),v=P(7424),g=P(1677),y=P(377),L=D.getBCHDigit(7973);function z(X,Z){return g.getCharCountIndicator(X,Z)+4}function F(X,Z){let ce=0;return X.forEach(function(le){const Ue=z(le.mode,Z);ce+=Ue+le.getBitsLength()}),ce}Y.from=function(Z,ce){return y.isValid(Z)?parseInt(Z,10):ce},Y.getCapacity=function(Z,ce,le){if(!y.isValid(Z))throw new Error("Invalid QR Code version");typeof le>"u"&&(le=g.BYTE);const Oe=8*(D.getSymbolTotalCodewords(Z)-h.getTotalCodewordsCount(Z,ce));if(le===g.MIXED)return Oe;const et=Oe-z(le,Z);switch(le){case g.NUMERIC:return Math.floor(et/10*3);case g.ALPHANUMERIC:return Math.floor(et/11*2);case g.KANJI:return Math.floor(et/13);case g.BYTE:default:return Math.floor(et/8)}},Y.getBestVersionForData=function(Z,ce){let le;const Ue=v.from(ce,v.M);if(Array.isArray(Z)){if(Z.length>1)return function K(X,Z){for(let ce=1;ce<=40;ce++)if(F(X,ce)<=Y.getCapacity(ce,Z,g.MIXED))return ce}(Z,Ue);if(0===Z.length)return 1;le=Z[0]}else le=Z;return function E(X,Z,ce){for(let le=1;le<=40;le++)if(Z<=Y.getCapacity(le,ce,X))return le}(le.mode,le.getLength(),Ue)},Y.getEncodedBits=function(Z){if(!y.isValid(Z)||Z<7)throw new Error("Invalid QR Code version");let ce=Z<<12;for(;D.getBCHDigit(ce)-L>=0;)ce^=7973<"u"&&(!M||!M.getContext)&&(E=M,M=void 0),M||(z=function v(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),E=D.getOptions(E);const F=D.getImageWidth(y.modules.size,E),K=z.getContext("2d"),X=K.createImageData(F,F);return D.qrToImageData(X.data,y,E),function h(g,y,M){g.clearRect(0,0,y.width,y.height),y.style||(y.style={}),y.height=M,y.width=M,y.style.height=M+"px",y.style.width=M+"px"}(K,z,F),K.putImageData(X,0,0),z},Y.renderToDataURL=function(y,M,L){let E=L;typeof E>"u"&&(!M||!M.getContext)&&(E=M,M=void 0),E||(E={});const z=Y.render(y,M,E),F=E.type||"image/png",K=E.rendererOpts||{};return z.toDataURL(F,K.quality)}},6511(te,Y,P){const D=P(7077);function h(y,M){const L=y.a/255,E=M+'="'+y.hex+'"';return L<1?E+" "+M+'-opacity="'+L.toFixed(2).slice(1)+'"':E}function v(y,M,L){let E=y+M;return typeof L<"u"&&(E+=" "+L),E}Y.render=function(M,L,E){const z=D.getOptions(L),F=M.modules.size,K=M.modules.data,X=F+2*z.margin,Z=z.color.light.a?"':"",ce="0&&Z>0&&y[X-1]||(E+=F?v("M",Z+L,.5+ce+L):v("m",z,0),z=0,F=!1),Z+1',le='viewBox="0 0 '+X+" "+X+'"',Ae=''+Z+ce+"\n";return"function"==typeof E&&E(null,Ae),Ae}},7077(te,Y){function P(D){if("number"==typeof D&&(D=D.toString()),"string"!=typeof D)throw new Error("Color should be defined as hex string");let h=D.slice().replace("#","").split("");if(h.length<3||5===h.length||h.length>8)throw new Error("Invalid hex color: "+D);(3===h.length||4===h.length)&&(h=Array.prototype.concat.apply([],h.map(function(g){return[g,g]}))),6===h.length&&h.push("F","F");const v=parseInt(h.join(""),16);return{r:v>>24&255,g:v>>16&255,b:v>>8&255,a:255&v,hex:"#"+h.slice(0,6).join("")}}Y.getOptions=function(h){h||(h={}),h.color||(h.color={});const v=typeof h.margin>"u"||null===h.margin||h.margin<0?4:h.margin,g=h.width&&h.width>=21?h.width:void 0,y=h.scale||4;return{width:g,scale:g?4:y,margin:v,color:{dark:P(h.color.dark||"#000000ff"),light:P(h.color.light||"#ffffffff")},type:h.type,rendererOpts:h.rendererOpts||{}}},Y.getScale=function(h,v){return v.width&&v.width>=h+2*v.margin?v.width/(h+2*v.margin):v.scale},Y.getImageWidth=function(h,v){const g=Y.getScale(h,v);return Math.floor((h+2*v.margin)*g)},Y.qrToImageData=function(h,v,g){const y=v.modules.size,M=v.modules.data,L=Y.getScale(y,g),E=Math.floor((y+2*g.margin)*L),z=g.margin*L,F=[g.color.light,g.color.dark];for(let K=0;K=z&&X>=z&&K0&&void 0!==arguments[0]?arguments[0]:M,kn=_t.length;if(_t===M||_t[0]===Oe[0]&&1===kn)return Oe.split(M).concat([Z]).concat(ze.split(M));if(_t===he&&Q)return Oe.split(M).concat(["0",he,Z]).concat(ze.split(M));var tn=_t[0]===z&⁢tn&&(_t=_t.toString().substr(1));var Je=_t.lastIndexOf(he),Mt=-1!==Je,bt=void 0,lt=void 0,Dt=void 0;if(_t.slice(-1*ge)===ze&&(_t=_t.slice(0,-1*ge)),Mt&&(Q||Qt)?(bt=_t.slice(_t.slice(0,nt)===Oe?nt:0,Je),lt=h((lt=_t.slice(Je+1,kn)).replace(K,M))):bt=_t.slice(0,nt)===Oe?_t.slice(nt):_t,Ke&&(typeof Ke>"u"?"undefined":g(Ke))===X){var ii="."===Pe?"[.]":""+Pe,ln=(bt.match(new RegExp(ii,"g"))||[]).length;bt=bt.slice(0,Ke+ln*Hn)}return bt=bt.replace(K,M),tt||(bt=bt.replace(/^0+(0$|[^0])/,"$1")),Dt=h(bt=an?v(bt,Pe):bt),(Mt&&Q||!0===Qt)&&(_t[Je-1]!==he&&Dt.push(ce),Dt.push(he,ce),lt&&((typeof ke>"u"?"undefined":g(ke))===X&&(lt=lt.slice(0,ke)),Dt=Dt.concat(lt)),!0===Qt&&_t[Je-1]===he&&Dt.push(Z)),nt>0&&(Dt=Oe.split(M).concat(Dt)),tn&&(Dt.length===nt&&Dt.push(Z),Dt=[F].concat(Dt)),ze.length>0&&(Dt=Dt.concat(ze.split(M))),Dt}var Ue=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Ae=Ue.prefix,Oe=void 0===Ae?y:Ae,et=Ue.suffix,ze=void 0===et?M:et,un=Ue.includeThousandsSeparator,an=void 0===un||un,Le=Ue.thousandsSeparatorSymbol,Pe=void 0===Le?L:Le,q=Ue.allowDecimal,Q=void 0!==q&&q,ae=Ue.decimalSymbol,he=void 0===ae?E:ae,me=Ue.decimalLimit,ke=void 0===me?2:me,Ve=Ue.requireDecimal,Qt=void 0!==Ve&&Ve,Sn=Ue.allowNegative,it=void 0!==Sn&&Sn,At=Ue.allowLeadingZeroes,tt=void 0!==At&&At,gn=Ue.integerLimit,Ke=void 0===gn?null:gn,nt=Oe&&Oe.length||0,ge=ze&&ze.length||0,Hn=Pe&&Pe.length||0;return le.instanceOf="createNumberMask",le}function h(le){return le.split(M).map(function(Ue){return Z.test(Ue)?Z:Ue})}function v(le,Ue){return le.replace(/\B(?=(\d{3})+(?!\d))/g,Ue)}Object.defineProperty(P,"__esModule",{value:!0});var g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(le){return typeof le}:function(le){return le&&"function"==typeof Symbol&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le};P.default=D;var y="$",M="",L=",",E=".",z="-",F=/-/,K=/\D+/g,X="number",Z=/\d/,ce="[]"}])},5358(te,Y,P){var D={"./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-ps":7712,"./ar-ps.js":7712,"./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":8564,"./bg.js":8564,"./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-kmr":3744,"./ku-kmr.js":3744,"./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":7859,"./nb.js":7859,"./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 h(g){var y=v(g);return P(y)}function v(g){if(!P.o(D,g)){var y=new Error("Cannot find module '"+g+"'");throw y.code="MODULE_NOT_FOUND",y}return D[g]}h.keys=function(){return Object.keys(D)},h.resolve=v,te.exports=h,h.id=5358}},te=>{var D;D=4043,te(te.s=D)}]);