(()=>{"use strict";var e,i={},d={};function a(e){var n=d[e];if(void 0!==n)return n.exports;var r=d[e]={id:e,loaded:!1,exports:{}};return i[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=i,e=[],a.O=(n,r,s,l)=>{if(!r){var o=1/0;for(f=0;f<e.length;f++){for(var[r,s,l]=e[f],u=!0,t=0;t<r.length;t++)(!1&l||o>=l)&&Object.keys(a.O).every(p=>a.O[p](r[t]))?r.splice(t--,1):(u=!1,l<o&&(o=l));if(u){e.splice(f--,1);var c=s();void 0!==c&&(n=c)}}return n}l=l||0;for(var f=e.length;f>0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,s,l]},a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},a.d=(e,n)=>{for(var r in n)a.o(n,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={121:0};a.O.j=s=>0===e[s];var n=(s,l)=>{var t,c,[f,o,u]=l,v=0;if(f.some(_=>0!==e[_])){for(t in o)a.o(o,t)&&(a.m[t]=o[t]);if(u)var h=u(a)}for(s&&s(l);v<f.length;v++)a.o(e,c=f[v])&&e[c]&&e[c][0](),e[c]=0;return a.O(h)},r=self.webpackChunklforms=self.webpackChunklforms||[];r.forEach(n.bind(null,0)),r.push=n.bind(null,r.push.bind(r))})()})();

(self.webpackChunklforms=self.webpackChunklforms||[]).push([[461],{4050(){}},s=>{s(s.s=4050)}]);

(self.webpackChunklforms=self.webpackChunklforms||[]).push([[792],{1002(ne,se,R){"use strict";
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */let P;function w(){return P}function q(t){const n=P;return P=t,n}const $=Symbol("NotFound");function p(t){return t===$||"\u0275NotFound"===t?.name}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */Error;let v=null,D=!1,I=1;const E=Symbol("SIGNAL");function A(t){const n=v;return v=t,n}const Q={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 X(t){if(D)throw new Error("");if(null===v)return;v.consumerOnSignalRead(t);const n=v.producersTail;if(void 0!==n&&n.producer===t)return;let e;const i=v.recomputing;if(i&&(e=void 0!==n?n.nextProducer:v.producers,void 0!==e&&e.producer===t))return v.producersTail=e,void(e.lastReadVersion=t.version);const r=t.consumersTail;if(void 0!==r&&r.consumer===v&&(!i||function Un(t,n){const e=n.producersTail;if(void 0!==e){let i=n.producers;do{if(i===t)return!0;if(i===e)break;i=i.nextProducer}while(void 0!==i)}return!1}(r,v)))return;const o=ji(v),a={producer:t,consumer:v,nextProducer:e,prevConsumer:r,lastReadVersion:t.version,nextConsumer:void 0};v.producersTail=a,void 0!==n?n.nextProducer=a:v.producers=a,o&&Gt(t,a)}function fe(t){if((!ji(t)||t.dirty)&&(t.dirty||t.lastCleanEpoch!==I)){if(!t.producerMustRecompute(t)&&!Sn(t))return void C(t);t.producerRecomputeValue(t),C(t)}}function we(t){if(void 0===t.consumers)return;const n=D;D=!0;try{for(let e=t.consumers;void 0!==e;e=e.nextConsumer){const i=e.consumer;i.dirty||qe(i)}}finally{D=n}}function ze(){return!1!==v?.consumerAllowSignalWrites}function qe(t){t.dirty=!0,we(t),t.consumerMarkedDirty?.(t)}function C(t){t.dirty=!1,t.lastCleanEpoch=I}function Fe(t){return t&&function Ve(t){t.producersTail=void 0,t.recomputing=!0}(t),A(t)}function Ct(t,n){A(n),t&&function Yt(t){t.recomputing=!1;const n=t.producersTail;let e=void 0!==n?n.nextProducer:t.producers;if(void 0!==e){if(ji(t))do{e=Hn(e)}while(void 0!==e);void 0!==n?n.nextProducer=void 0:t.producers=void 0}}(t)}function Sn(t){for(let n=t.producers;void 0!==n;n=n.nextProducer){const e=n.producer,i=n.lastReadVersion;if(i!==e.version||(fe(e),i!==e.version))return!0}return!1}function ht(t){if(ji(t)){let n=t.producers;for(;void 0!==n;)n=Hn(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function Gt(t,n){const e=t.consumersTail,i=ji(t);if(void 0!==e?(n.nextConsumer=e.nextConsumer,e.nextConsumer=n):(n.nextConsumer=void 0,t.consumers=n),n.prevConsumer=e,t.consumersTail=n,!i)for(let r=t.producers;void 0!==r;r=r.nextProducer)Gt(r.producer,r)}function Hn(t){const n=t.producer,e=t.nextProducer,i=t.nextConsumer,r=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,void 0!==i?i.prevConsumer=r:n.consumersTail=r,void 0!==r)r.nextConsumer=i;else if(n.consumers=i,!ji(n)){let o=n.producers;for(;void 0!==o;)o=Hn(o)}return e}function ji(t){return t.consumerIsAlwaysLive||void 0!==t.consumers}function sr(t,n){return Object.is(t,n)}function rt(t,n){const e=Object.create(Ue);e.computation=t,void 0!==n&&(e.equal=n);const i=()=>{if(fe(e),X(e),e.value===Ce)throw e.error;return e.value};return i[E]=e,i}const _t=Symbol("UNSET"),De=Symbol("COMPUTING"),Ce=Symbol("ERRORED"),Ue={...Q,value:_t,dirty:!0,error:null,equal:sr,kind:"computed",producerMustRecompute:t=>t.value===_t||t.value===De,producerRecomputeValue(t){if(t.value===De)throw new Error("");const n=t.value;t.value=De;const e=Fe(t);let i,r=!1;try{i=t.computation(),A(null),r=n!==_t&&n!==Ce&&i!==Ce&&t.equal(n,i)}catch(o){i=Ce,t.error=o}finally{Ct(t,e)}r?t.value=n:(t.value=i,t.version++)}};let an=function Et(){throw new Error};function Dn(t){an(t)}function ki(t,n){ze()||Dn(t),t.equal(t.value,n)||(t.value=n,function mi(t){t.version++,function de(){I++}(),we(t)}(t))}function vr(t,n){ze()||Dn(t),ki(t,n(t.value))}const $i={...Q,equal:sr,value:void 0,kind:"signal"};function Pt(t){return"function"==typeof t}function Ei(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const Lr=Ei(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e});function Wi(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class Vt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(Pt(i))try{i()}catch(o){n=o instanceof Lr?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{$n(o)}catch(a){n=n??[],a instanceof Lr?n=[...n,...a.errors]:n.push(a)}}if(n)throw new Lr(n)}}add(n){var e;if(n&&n!==this)if(this.closed)$n(n);else{if(n instanceof Vt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}_hasParent(n){const{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){const{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&Wi(e,n)}remove(n){const{_finalizers:e}=this;e&&Wi(e,n),n instanceof Vt&&n._removeParent(this)}}Vt.EMPTY=(()=>{const t=new Vt;return t.closed=!0,t})();const vo=Vt.EMPTY;function Tt(t){return t instanceof Vt||t&&"closed"in t&&Pt(t.remove)&&Pt(t.add)&&Pt(t.unsubscribe)}function $n(t){Pt(t)?t():t.unsubscribe()}const Qt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Do={setTimeout(t,n,...e){const{delegate:i}=Do;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=Do;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Lo(t){Do.setTimeout(()=>{const{onUnhandledError:n}=Qt;if(!n)throw t;n(t)})}function Oa(){}const sc=Ni("C",void 0,void 0);function Ni(t,n,e){return{kind:t,value:n,error:e}}let $r=null;function ye(t){if(Qt.useDeprecatedSynchronousErrorHandling){const n=!$r;if(n&&($r={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=$r;if($r=null,e)throw i}}else t()}class At extends Vt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Tt(n)&&n.add(this)):this.destination=Wr}static create(n,e,i){return new Or(n,e,i)}next(n){this.isStopped?Ii(function ya(t){return Ni("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ii(function Qs(t){return Ni("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ii(sc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const di=Function.prototype.bind;function hi(t,n){return di.call(t,n)}class en{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){_o(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){_o(i)}else _o(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){_o(e)}}}class Or extends At{constructor(n,e,i){let r;if(super(),Pt(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&Qt.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&hi(n.next,o),error:n.error&&hi(n.error,o),complete:n.complete&&hi(n.complete,o)}):r=n}this.destination=new en(r)}}function _o(t){Qt.useDeprecatedSynchronousErrorHandling?function Se(t){Qt.useDeprecatedSynchronousErrorHandling&&$r&&($r.errorThrown=!0,$r.error=t)}(t):Lo(t)}function Ii(t,n){const{onStoppedNotification:e}=Qt;e&&Do.setTimeout(()=>e(t,n))}const Wr={closed:!0,next:Oa,error:function Tr(t){throw t},complete:Oa},xo="function"==typeof Symbol&&Symbol.observable||"@@observable";function Dr(t){return t}function us(t){return 0===t.length?Dr:1===t.length?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}let Be=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function xr(t){return t&&t instanceof At||function Xs(t){return t&&Pt(t.next)&&Pt(t.error)&&Pt(t.complete)}(t)&&Tt(t)}(e)?e:new Or(e,i,r);return ye(()=>{const{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=Xo(i))((r,o)=>{const a=new Or({next:s=>{try{e(s)}catch(l){o(l),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[xo](){return this}pipe(...e){return us(e)(this)}toPromise(e){return new(e=Xo(e))((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return t.create=n=>new t(n),t})();function Xo(t){var n;return null!==(n=t??Qt.Promise)&&void 0!==n?n:Promise}const Zs=Ei(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let it=(()=>{class t extends Be{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new ds(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Zs}next(e){ye(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){ye(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){ye(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:o}=this;return i||r?vo:(this.currentObservers=null,o.push(e),new Vt(()=>{this.currentObservers=null,Wi(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new Be;return e.source=this,e}}return t.create=(n,e)=>new ds(n,e),t})();class ds extends it{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:vo}}class ei extends it{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */const lr="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class ge extends Error{code;constructor(n,e){super(wi(n,e)),this.code=n}}function wi(t,n){return`${function Po(t){return`NG0${Math.abs(t)}`}(t)}${n?": "+n:""}`}const pi=globalThis;function Xt(t){for(let n in t)if(t[n]===Xt)return n;throw Error("")}function zs(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function ko(t){if("string"==typeof t)return t;if(Array.isArray(t))return`[${t.map(ko).join(", ")}]`;if(null==t)return""+t;const n=t.overriddenName||t.name;if(n)return`${n}`;const e=t.toString();if(null==e)return""+e;const i=e.indexOf("\n");return i>=0?e.slice(0,i):e}function cc(t,n){return t?n?`${t} ${n}`:t:n||""}const l0=Xt({__forward_ref__:Xt});function Bn(t){return t.__forward_ref__=Bn,t.toString=function(){return ko(this())},t}function mn(t){return Qc(t)?t():t}function Qc(t){return"function"==typeof t&&t.hasOwnProperty(l0)&&t.__forward_ref__===Bn}function $e(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function kn(t){return{providers:t.providers||[],imports:t.imports||[]}}function zl(t){return function el(t,n){return t.hasOwnProperty(n)&&t[n]||null}(t,hc)}function tl(t){return t&&t.hasOwnProperty(eu)?t[eu]:null}const hc=Xt({\u0275prov:Xt}),eu=Xt({\u0275inj:Xt});class Ie{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=$e({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function gc(t){return t&&!!t.\u0275providers}const vc=Xt({\u0275cmp:Xt}),Gu=Xt({\u0275dir:Xt}),Ku=Xt({\u0275pipe:Xt}),m0=Xt({\u0275mod:Xt}),nl=Xt({\u0275fac:Xt}),_c=Xt({__NG_ELEMENT_ID__:Xt}),il=Xt({__NG_ENV_ID__:Xt});function yt(t){return"string"==typeof t?t:null==t?"":String(t)}const ru=Xt({ngErrorCode:Xt}),u=Xt({ngErrorMessage:Xt}),f=Xt({ngTokenPath:Xt});function b(t,n){return me("",-200,n)}function j(t,n){throw new ge(-201,!1)}function me(t,n,e){const i=new ge(n,t);return i[ru]=n,i[u]=t,e&&(i[f]=e),i}let be;function Ke(){return be}function Ot(t){const n=be;return be=t,n}function Wn(t,n,e){const i=zl(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:8&e?null:void 0!==n?n:void j()}const Ri={};class Ga{injector;constructor(n){this.injector=n}retrieve(n,e){const i=No(e)||0;try{return this.injector.get(n,8&i?null:Ri,i)}catch(r){if(p(r))return r;throw r}}}function qn(t,n=0){const e=w();if(void 0===e)throw new ge(-203,!1);if(null===e)return Wn(t,void 0,n);{const i=function Qu(t){return{optional:!!(8&t),host:!!(1&t),self:!!(2&t),skipSelf:!!(4&t)}}(n),r=e.retrieve(t,i);if(p(r)){if(i.optional)return null;throw r}return r}}function It(t,n=0){return(Ke()||qn)(mn(t),n)}function U(t,n){return It(t,No(n))}function No(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Ro(t){const n=[];for(let e=0;e<t.length;e++){const i=mn(t[e]);if(Array.isArray(i)){if(0===i.length)throw new ge(900,!1);let r,o=0;for(let a=0;a<i.length;a++){const s=i[a],l=Ca(s);"number"==typeof l?-1===l?r=s.token:o|=l:r=s}n.push(It(r,o))}else n.push(It(i))}return n}function Ca(t){return t.__NG_DI_FLAG__}function Fo(t,n){return t.hasOwnProperty(nl)?t[nl]:null}function Ls(t,n){t.forEach(e=>Array.isArray(e)?Ls(e,n):n(e))}function Pa(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function wa(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function ti(t,n,e){let i=Eo(t,n);return i>=0?t[1|i]=e:(i=~i,function p0(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(1===r)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;)t[r]=t[r-2],r--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function rl(t,n){const e=Eo(t,n);if(e>=0)return t[1|e]}function Eo(t,n){return function Al(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){const o=i+(r-i>>1),a=t[o<<e];if(n===a)return o<<e;a>n?r=o:i=o+1}return~(r<<e)}(t,n,1)}const Ka={},ai=[],ps=new Ie(""),Os=new Ie("",-1),bc=new Ie("");class Ho{get(n,e=Ri){if(e===Ri){const r=me("",-201);throw r.name="\u0275NotFound",r}return e}}function Vo(t){return t[m0]||null}function Xn(t){return t[vc]||null}function lo(t){return t[Gu]||null}function ta(t){return t[Ku]||null}function vs(t){return{\u0275providers:t}}function Kd(...t){return{\u0275providers:Cc(0,t),\u0275fromNgModule:!0}}function Cc(t,...n){const e=[],i=new Set;let r;const o=a=>{e.push(a)};return Ls(n,a=>{const s=a;Z(s,o,[],i)&&(r||=[],r.push(s))}),void 0!==r&&Zu(r,o),e}function Zu(t,n){for(let e=0;e<t.length;e++){const{ngModule:i,providers:r}=t[e];_e(r,o=>{n(o,i)})}}function Z(t,n,e,i){if(!(t=mn(t)))return!1;let r=null,o=tl(t);const a=!o&&Xn(t);if(o||a){if(a&&!a.standalone)return!1;r=t}else{const l=t.ngModule;if(o=tl(l),!o)return!1;r=l}const s=i.has(r);if(a){if(s)return!1;if(i.add(r),a.dependencies){const l="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const c of l)Z(c,n,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!s){let c;i.add(r);try{Ls(o.imports,h=>{Z(h,n,e,i)&&(c||=[],c.push(h))})}finally{}void 0!==c&&Zu(c,n)}if(!s){const c=Fo(r)||(()=>new r);n({provide:r,useFactory:c,deps:ai},r),n({provide:bc,useValue:r,multi:!0},r),n({provide:ps,useValue:()=>It(r),multi:!0},r)}const l=o.providers;if(null!=l&&!s){const c=t;_e(l,h=>{n(h,c)})}}}return r!==t&&void 0!==t.providers}function _e(t,n){for(let e of t)gc(e)&&(e=e.\u0275providers),Array.isArray(e)?_e(e,n):n(e)}const Me=Xt({provide:String,useValue:Xt});function Ee(t){return null!==t&&"object"==typeof t&&Me in t}function wt(t){return"function"==typeof t}const tn=new Ie(""),Nt={},sn={};let Nn;function Ft(){return void 0===Nn&&(Nn=new Ho),Nn}class pn{}class Nr extends pn{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,Qd(n,a=>this.processProvider(a)),this.records.set(Os,au(void 0,this)),r.has("environment")&&this.records.set(pn,au(void 0,this));const o=this.records.get(tn);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(bc,ai,{self:!0}))}retrieve(n,e){const i=No(e)||0;try{return this.get(n,Ri,i)}catch(r){if(p(r))return r;throw r}}destroy(){Hr(this),this._destroyed=!0;const n=A(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const e=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),A(n)}}onDestroy(n){return Hr(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Hr(this);const e=q(this),i=Ot(void 0);try{return n()}finally{q(e),Ot(i)}}get(n,e=Ri,i){if(Hr(this),n.hasOwnProperty(il))return n[il](this);const r=No(i),a=q(this),s=Ot(void 0);try{if(!(4&r)){let c=this.records.get(n);if(void 0===c){const h=function xm(t){return"function"==typeof t||"object"==typeof t&&"InjectionToken"===t.ngMetadataName}(n)&&zl(n);c=h&&this.injectableDefInScope(h)?au(Kr(n),Nt):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c,r)}return(2&r?Ft():this.parent).get(n,e=8&r&&e===Ri?null:e)}catch(l){const c=function Te(t){return t[ru]}(l);throw-200===c||-201===c?new ge(c,null):l}finally{Ot(s),q(a)}}resolveInjectorInitializers(){const n=A(null),e=q(this),i=Ot(void 0);try{const o=this.get(ps,ai,{self:!0});for(const a of o)a()}finally{q(e),Ot(i),A(n)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(ko(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){let e=wt(n=mn(n))?n:mn(n&&n.provide);const i=function Qa(t){return Ee(t)?au(void 0,t.useValue):au(ol(t),Nt)}(n);if(!wt(n)&&!0===n.multi){let r=this.records.get(e);r||(r=au(void 0,Nt,!0),r.factory=()=>Ro(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e,i){const r=A(null);try{if(e.value===sn)throw b(ko(n));return e.value===Nt&&(e.value=sn,e.value=e.factory(void 0,i)),"object"==typeof e.value&&e.value&&function Dm(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{A(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;const e=mn(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){const e=this._onDestroyHooks.indexOf(n);-1!==e&&this._onDestroyHooks.splice(e,1)}}function Kr(t){const n=zl(t),e=null!==n?n.factory:Fo(t);if(null!==e)return e;if(t instanceof Ie)throw new ge(204,!1);if(t instanceof Function)return function na(t){if(t.length>0)throw new ge(204,!1);const e=function f0(t){return(t?.[hc]??null)||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new ge(204,!1)}function ol(t,n,e){let i;if(wt(t)){const r=mn(t);return Fo(r)||Kr(r)}if(Ee(t))i=()=>mn(t.useValue);else if(function ft(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Ro(t.deps||[]));else if(function nt(t){return!(!t||!t.useExisting)}(t))i=(r,o)=>It(mn(t.useExisting),void 0!==o&&8&o?8:void 0);else{const r=mn(t&&(t.useClass||t.provide));if(!function Tm(t){return!!t.deps}(t))return Fo(r)||Kr(r);i=()=>new r(...Ro(t.deps))}return i}function Hr(t){if(t.destroyed)throw new ge(205,!1)}function au(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function Qd(t,n){for(const e of t)Array.isArray(e)?Qd(e,n):e&&gc(e)?Qd(e.\u0275providers,n):n(e)}function Ra(t,n){let e;t instanceof Nr?(Hr(t),e=t):e=new Ga(t);const r=q(e),o=Ot(void 0);try{return n()}finally{q(r),Ot(o)}}function Xd(){return void 0!==Ke()||null!=w()}function kr(t){return Array.isArray(t)&&"object"==typeof t[1]}function ia(t){return Array.isArray(t)&&!0===t[1]}function R4(t){return!!(4&t.flags)}function cl(t){return t.componentOffset>-1}function cu(t){return!(1&~t.flags)}function Va(t){return!!t.template}function Nl(t){return!!(512&t[2])}function ul(t){return!(256&~t[2])}function bo(t){for(;Array.isArray(t);)t=t[0];return t}function Ze(t,n){return bo(n[t])}function Xr(t,n){return bo(n[t.index])}function Dc(t,n){return t.data[n]}function Yn(t,n){return t[n]}function Bo(t,n){const e=n[t];return kr(e)?e:e[0]}function o2(t){return!(128&~t[2])}function qo(t,n){return null==n?null:t[n]}function U4(t){t[17]=0}function a2(t){1024&t[2]||(t[2]|=1024,o2(t)&&du(t))}function t1(t){return!!(9216&t[2]||t[24]?.dirty)}function y0(t){t[10].changeDetectionScheduler?.notify(8),64&t[2]&&(t[2]|=1024),t1(t)&&du(t)}function du(t){t[10].changeDetectionScheduler?.notify(0);let n=dl(t);for(;null!==n&&!(8192&n[2])&&(n[2]|=8192,o2(n));)n=dl(n)}function b0(t,n){if(ul(t))throw new ge(911,!1);null===t[21]&&(t[21]=[]),t[21].push(n)}function dl(t){const n=t[3];return ia(n)?n[3]:n}function s2(t){return t[7]??=[]}function w0(t){return t.cleanup??=[]}const gn={lFrame:tb(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let c2=!1;function B4(){gn.lFrame.elementDepthCount--}function u2(){return gn.bindingsEnabled}function q4(){return null!==gn.skipHydrationRootTNode}function Y4(t){return gn.skipHydrationRootTNode===t}function Rl(){gn.skipHydrationRootTNode=null}function Le(){return gn.lFrame.lView}function xn(){return gn.lFrame.tView}function ce(t){return gn.lFrame.contextLView=t,t[8]}function ue(t){return gn.lFrame.contextLView=null,t}function bn(){let t=j4();for(;null!==t&&64===t.type;)t=t.parent;return t}function j4(){return gn.lFrame.currentTNode}function hl(t,n){const e=gn.lFrame;e.currentTNode=t,e.isParent=n}function Fs(){return gn.lFrame.isParent}function xc(){gn.lFrame.isParent=!1}function G4(){return c2}function hu(t){const n=c2;return c2=t,n}function Zr(){const t=gn.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Za(){return gn.lFrame.bindingIndex}function d(){return gn.lFrame.bindingIndex++}function m(t){const n=gn.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function W(t,n){const e=gn.lFrame;e.bindingIndex=e.bindingRootIndex=t,ke(n)}function ke(t){gn.lFrame.currentDirectiveIndex=t}function Ut(t){const n=gn.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function En(){return gn.lFrame.currentQueryIndex}function gi(t){gn.lFrame.currentQueryIndex=t}function ra(t){const n=t[1];return 2===n.type?n.declTNode:1===n.type?t[5]:null}function Hs(t,n,e){if(4&e){let r=n,o=t;for(;!(r=r.parent,null!==r||1&e||(r=ra(o),null===r||(o=o[14],10&r.type))););if(null===r)return!1;n=r,t=o}const i=gn.lFrame=eb();return i.currentTNode=n,i.lView=t,!0}function Vs(t){const n=eb(),e=t[1];gn.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function eb(){const t=gn.lFrame,n=null===t?null:t.child;return null===n?tb(t):n}function tb(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function nb(){const t=gn.lFrame;return gn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ib=nb;function Hm(){const t=nb();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function oa(){return gn.lFrame.selectedIndex}function i1(t){gn.lFrame.selectedIndex=t}function Fl(){const t=gn.lFrame;return Dc(t.tView,t.selectedIndex)}let rb=!0;function K4(){return rb}function d2(t){rb=t}function ob(t,n=null,e=null,i){const r=ab(t,n,e,i);return r.resolveInjectorInitializers(),r}function ab(t,n=null,e=null,i,r=new Set){const o=[e||ai,Kd(t)];return i=i||("object"==typeof t?void 0:ko(t)),new Nr(o,n||Ft(),i||null,r)}class Vr{static THROW_IF_NOT_FOUND=Ri;static NULL=new Ho;static create(n,e){if(Array.isArray(n))return ob({name:""},e,n,"");{const i=n.name??"";return ob({name:i},n.parent,n.providers,i)}}static \u0275prov=$e({token:Vr,providedIn:"any",factory:()=>It(Os)});static __NG_ELEMENT_ID__=-1}const br=new Ie("");let In=(()=>class t{static __NG_ELEMENT_ID__=MR;static __NG_ENV_ID__=e=>e})();class sb extends In{_lView;constructor(n){super(),this._lView=n}get destroyed(){return ul(this._lView)}onDestroy(n){const e=this._lView;return b0(e,n),()=>function C0(t,n){if(null===t[21])return;const e=t[21].indexOf(n);-1!==e&&t[21].splice(e,1)}(e,n)}}function MR(){return new sb(Le())}class S0{_console=console;handleError(n){this._console.error("ERROR",n)}}const fl=new Ie("",{providedIn:"root",factory:()=>{const t=U(pn);let n;return e=>{t.destroyed&&!n?setTimeout(()=>{throw e}):(n??=t.get(S0),n.handleError(e))}}}),TR={provide:ps,useValue:()=>{U(S0)},multi:!0};function Q4(t){return"function"==typeof t&&void 0!==t[E]}function Jr(t,n){const[e,i,r]=function cn(t,n){const e=Object.create($i);e.value=t,void 0!==n&&(e.equal=n);const i=()=>function fn(t){return X(t),t.value}(e);return i[E]=e,[i,a=>ki(e,a),a=>vr(e,a)]}(t,n?.equal),o=e;return o.set=i,o.update=r,o.asReadonly=Vm.bind(o),o}function Vm(){const t=this[E];if(void 0===t.readonlyFn){const n=()=>this();n[E]=t,t.readonlyFn=n}return t.readonlyFn}function lb(t){return Q4(t)&&"function"==typeof t.set}let Um=(()=>class t{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=xR})();function xR(){return new Um(Le(),bn())}class r1{}const cb=new Ie("",{providedIn:"root",factory:()=>!1}),ub=new Ie(""),db=new Ie("");let fu=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ei(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Be(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),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(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=$e({token:t,providedIn:"root",factory:()=>new t})}return t})(),h2=(()=>{class t{internalPendingTasks=U(fu);scheduler=U(r1);errorHandler=U(fl);add(){const e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){const i=this.add();e().catch(this.errorHandler).finally(i)}static \u0275prov=$e({token:t,providedIn:"root",factory:()=>new t})}return t})();function f2(...t){}let hb=(()=>{class t{static \u0275prov=$e({token:t,providedIn:"root",factory:()=>new kR})}return t})();class kR{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){const i=this.queues.get(n.zone);i.has(n)&&(i.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){const e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);const i=this.queues.get(e);i.has(n)||i.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(const[e,i]of this.queues)n||=null===e?this.flushQueue(i):e.run(()=>this.flushQueue(i));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(const i of n)i.dirty&&(this.dirtyEffectCount--,e=!0,i.run());return e}}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */let fb=null;function mu(){return fb}class IR{}let mb=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:()=>U(zR),providedIn:"platform"})}return t})(),zR=(()=>{class t extends mb{_location;_history;_doc=U(br);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return mu().getBaseHref(this._doc)}onPopState(e){const i=mu().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=mu().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.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,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function pb(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function gb(t){const n=t.search(/#|\?|$/);return"/"===t[n-1]?t.slice(0,n-1)+t.slice(n):t}function o1(t){return t&&"?"!==t[0]?`?${t}`:t}let X4=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:()=>U(LR),providedIn:"root"})}return t})();const AR=new Ie("");let LR=(()=>{class t extends X4{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??U(br).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 pb(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+o1(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const a=this.prepareExternalUrl(r+o1(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){const a=this.prepareExternalUrl(r+o1(o));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(It(mb),It(AR,8))};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),M0=(()=>{class t{_subject=new it;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function NR(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */(gb(vb(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+o1(i))}normalize(e){return t.stripTrailingSlash(function PR(t,n){if(!t||!n.startsWith(t))return n;const e=n.substring(t.length);return""===e||["/",";","?","#"].includes(e[0])?e:n}(this._basePath,vb(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+o1(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+o1(i)),r)}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(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=o1;static joinWithSlash=pb;static stripTrailingSlash=gb;static \u0275fac=function(i){return new(i||t)(It(X4))};static \u0275prov=$e({token:t,factory:()=>function OR(){return new M0(It(X4))}(),providedIn:"root"})}return t})();function vb(t){return t.replace(/\/index.html$/,"")}function _b(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}class yb{}function Cb(t){return Pt(t?.lift)}function Rr(t){return n=>{if(Cb(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function dr(t,n,e,i,r){return new RR(t,n,e,i,r)}class RR extends At{constructor(n,e,i,r,o,a){super(n),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(l){n.error(l)}}:super._next,this._error=r?function(s){try{r(s)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function jt(t,n){return Rr((e,i)=>{let r=0;e.subscribe(dr(i,o=>{i.next(t.call(n,o,r++))}))})}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
function kc(t){return{toString:t}.toString()}const Ab=Function;class fF{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Lb(t,n,e,i){null!==n?n.applyValueToInputSignal(n,i):t[e]=i}const vn=(()=>{const t=()=>Ob;return t.ngInherit=!0,t})();function Ob(t){return t.type.prototype.ngOnChanges&&(t.setInput=pF),mF}function mF(){const t=Nb(this),n=t?.current;if(n){const e=t.previous;if(e===Ka)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function pF(t,n,e,i,r){const o=this.declaredInputs[i],a=Nb(t)||function gF(t,n){return t[Pb]=n}(t,{previous:Ka,current:null}),s=a.current||(a.current={}),l=a.previous,c=l[o];s[o]=new fF(c&&c.currentValue,e,l===Ka),Lb(t,n,r,e)}const Pb="__ngSimpleChanges__";function Nb(t){return t[Pb]||null}const l1=[],Ki=function(t,n=null,e){for(let i=0;i<l1.length;i++)(0,l1[i])(t,n,e)};function Rb(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){const o=t.data[e].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:h}=o;a&&(t.contentHooks??=[]).push(-e,a),s&&((t.contentHooks??=[]).push(e,s),(t.contentCheckHooks??=[]).push(e,s)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),null!=h&&(t.destroyHooks??=[]).push(e,h)}}function af(t,n,e){Fb(t,n,3,e)}function sf(t,n,e,i){(3&t[2])===e&&Fb(t,n,e,i)}function Km(t,n){let e=t[2];(3&e)===n&&(e&=16383,e+=1,t[2]=e)}function Fb(t,n,e,i){const o=i??-1,a=n.length-1;let s=0;for(let l=void 0!==i?65535&t[17]:0;l<a;l++)if("number"==typeof n[l+1]){if(s=n[l],null!=i&&s>=i)break}else n[l]<0&&(t[17]+=65536),(s<o||-1==o)&&(CF(t,e,n,l),t[17]=(4294901760&t[17])+l+2),l++}function Hb(t,n){Ki(4,t,n);const e=A(null);try{n.call(t)}finally{A(e),Ki(5,t,n)}}function CF(t,n,e,i){const r=e[i]<0,o=e[i+1],s=t[r?-e[i]:e[i]];r?t[2]>>14<t[17]>>16&&(3&t[2])===n&&(t[2]+=16384,Hb(s,o)):Hb(s,o)}class v2{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i,r){this.factory=n,this.name=r,this.canSeeViewProviders=e,this.injectImpl=i}}function Ub(t){return 3===t||4===t||6===t}function Bb(t){return 64===t.charCodeAt(0)}function A0(t,n){if(null!==n&&0!==n.length)if(null===t||0===t.length)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){const r=n[i];"number"==typeof r?e=r:0===e||qb(t,e,r,0,-1===e||2===e?n[++i]:null)}}return t}function qb(t,n,e,i,r){let o=0,a=t.length;if(-1===n)a=-1;else for(;o<t.length;){const s=t[o++];if("number"==typeof s){if(s===n){a=-1;break}if(s>n){a=o-1;break}}}for(;o<t.length;){const s=t[o];if("number"==typeof s)break;if(s===e)return void(null!==r&&(t[o+1]=r));o++,null!==r&&o++}-1!==a&&(t.splice(a,0,n),o=a+1),t.splice(o++,0,e),null!==r&&t.splice(o++,0,r)}function Xm(t){return-1!==t}function _2(t){return 32767&t}function y2(t,n){let e=function TF(t){return t>>16}(t),i=n;for(;e>0;)i=i[14],e--;return i}let Zm=!0;function lf(t){const n=Zm;return Zm=t,n}let DF=0;const Vl={};function cf(t,n){const e=$b(t,n);if(-1!==e)return e;const i=n[1];i.firstCreatePass&&(t.injectorIndex=n.length,Jm(i.data,t),Jm(n,null),Jm(i.blueprint,null));const r=uf(t,n),o=t.injectorIndex;if(Xm(r)){const a=_2(r),s=y2(r,n),l=s[1].data;for(let c=0;c<8;c++)n[o+c]=s[a+c]|l[a+c]}return n[o+8]=r,o}function Jm(t,n){t.push(0,0,0,0,0,0,0,0,n)}function $b(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function uf(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;null!==r;){if(i=Jb(r),null===i)return-1;if(e++,r=r[14],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function ep(t,n,e){!function xF(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(_c)&&(i=e[_c]),null==i&&(i=e[_c]=DF++);const r=255&i;n.data[t+(r>>5)]|=1<<r}(t,n,e)}function Wb(t,n,e){if(8&e||void 0!==t)return t;j()}function Gb(t,n,e,i){if(8&e&&void 0===i&&(i=null),!(3&e)){const r=t[9],o=Ot(void 0);try{return r?r.get(n,i,8&e):Wn(n,i,8&e)}finally{Ot(o)}}return Wb(i,0,e)}function Kb(t,n,e,i=0,r){if(null!==t){if(2048&n[2]&&!(2&i)){const a=function AF(t,n,e,i,r){let o=t,a=n;for(;null!==o&&null!==a&&2048&a[2]&&!Nl(a);){const s=Qb(o,a,e,2|i,Vl);if(s!==Vl)return s;let l=o.parent;if(!l){const c=a[20];if(c){const h=c.get(e,Vl,i);if(h!==Vl)return h}l=Jb(a),a=a[14]}o=l}return r}(t,n,e,i,Vl);if(a!==Vl)return a}const o=Qb(t,n,e,i,Vl);if(o!==Vl)return o}return Gb(n,e,i,r)}function Qb(t,n,e,i,r){const o=function IF(t){if("string"==typeof t)return t.charCodeAt(0)||0;const n=t.hasOwnProperty(_c)?t[_c]:void 0;return"number"==typeof n?n>=0?255&n:zF:n}(e);if("function"==typeof o){if(!Hs(n,t,i))return 1&i?Wb(r,0,i):Gb(n,e,i,r);try{let a;if(a=o(i),null!=a||8&i)return a;j()}finally{ib()}}else if("number"==typeof o){let a=null,s=$b(t,n),l=-1,c=1&i?n[15][5]:null;for((-1===s||4&i)&&(l=-1===s?uf(t,n):n[s+8],-1!==l&&Zb(i,!1)?(a=n[1],s=_2(l),n=y2(l,n)):s=-1);-1!==s;){const h=n[1];if(Xb(o,s,h.data)){const g=EF(s,n,e,a,i,c);if(g!==Vl)return g}l=n[s+8],-1!==l&&Zb(i,n[1].data[s+8]===c)&&Xb(o,s,n)?(a=h,s=_2(l),n=y2(l,n)):s=-1}}return r}function EF(t,n,e,i,r,o){const a=n[1],s=a.data[t+8],h=df(s,a,e,null==i?cl(s)&&Zm:i!=a&&!!(3&s.type),1&r&&o===s);return null!==h?b2(n,a,h,s,r):Vl}function df(t,n,e,i,r){const o=t.providerIndexes,a=n.data,s=1048575&o,l=t.directiveStart,h=o>>20,L=r?s+h:t.directiveEnd;for(let y=i?s:s+h;y<L;y++){const x=a[y];if(y<l&&e===x||y>=l&&x.type===e)return y}if(r){const y=a[l];if(y&&Va(y)&&y.type===e)return l}return null}function b2(t,n,e,i,r){let o=t[e];const a=n.data;if(o instanceof v2){const s=o;if(s.resolving)throw function On(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():yt(t)}(a[e]),b();const l=lf(s.canSeeViewProviders);s.resolving=!0;const g=s.injectImpl?Ot(s.injectImpl):null;Hs(t,i,0);try{o=t[e]=s.factory(void 0,r,a,t,i),n.firstCreatePass&&e>=i.directiveStart&&function bF(t,n,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const a=Ob(n);(e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}(e,a[e],n)}finally{null!==g&&Ot(g),lf(l),s.resolving=!1,ib()}}return o}function Xb(t,n,e){return!!(e[n+(t>>5)]&1<<t)}function Zb(t,n){return!(2&t||1&t&&n)}class eo{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return Kb(this._tNode,this._lView,n,No(i),e)}}function zF(){return new eo(bn(),Le())}function Si(t){return kc(()=>{const n=t.prototype.constructor,e=n[nl]||tp(n),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const o=r[nl]||tp(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function tp(t){return Qc(t)?()=>{const n=tp(mn(t));return n&&n()}:Fo(t)}function Jb(t){const n=t[1],e=n.type;return 2===e?n.declTNode:1===e?t[5]:null}function C2(t){return function kF(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let r=0;for(;r<i;){const o=e[r];if(Ub(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof e[r];)r++;else{if(o===n)return e[r+1];r+=2}}}return null}(bn(),t)}function VF(){return L0(bn(),Le())}function L0(t,n){return new un(Xr(t,n))}let un=(()=>class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=VF})();function rC(t){return t instanceof un?t.nativeElement:t}function UF(){return this._results[Symbol.iterator]()}class O0{_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 it}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;const i=function cr(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function As(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=UF}function w2(t){return!(128&~t.flags)}var ff=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(ff||{});const mf=new Map;let YF=0;function rp(t){mf.delete(t[19])}const ap="__ngContext__";function es(t,n){kr(n)?(t[ap]=n[19],function $F(t){mf.set(t[19],t)}(n)):t[ap]=n}function pC(t){return vC(t[12])}function gC(t){return vC(t[4])}function vC(t){for(;null!==t&&!ia(t);)t=t[4];return t}let sp;function vu(){if(void 0!==sp)return sp;if(typeof document<"u")return document;throw new ge(210,!1)}const P0=new Ie("",{providedIn:"root",factory:()=>mH}),mH="ng",MC=new Ie(""),M2=new Ie("",{providedIn:"platform",factory:()=>"unknown"}),N0=new Ie(""),T2=new Ie("",{providedIn:"root",factory:()=>vu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),wH=new Ie("",{providedIn:"root",factory:()=>!1});function yf(t){return!(32&~t.flags)}function KC(t,n){const e=t.contentQueries;if(null!==e){const i=A(null);try{for(let r=0;r<e.length;r+=2){const a=e[r+1];if(-1!==a){const s=t.data[a];gi(e[r]),s.contentQueries(2,n[a],a)}}}finally{A(i)}}}function Tp(t,n,e){gi(0);const i=A(null);try{n(t,e)}finally{A(i)}}function Dp(t,n,e){if(R4(n)){const i=A(null);try{const o=n.directiveEnd;for(let a=n.directiveStart;a<o;a++){const s=t.data[a];s.contentQueries&&s.contentQueries(1,e[a],a)}}finally{A(i)}}}var Ec=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Ec||{});let Df,xf;function U0(t){return function JC(){if(void 0===Df&&(Df=null,pi.trustedTypes))try{Df=pi.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Df}()?.createHTML(t)||t}function Ep(){if(void 0===xf&&(xf=null,pi.trustedTypes))try{xf=pi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return xf}function ew(t){return Ep()?.createHTML(t)||t}function nw(t){return Ep()?.createScriptURL(t)||t}class u1{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${lr})`}}class tV extends u1{getTypeName(){return"HTML"}}class nV extends u1{getTypeName(){return"Style"}}class iV extends u1{getTypeName(){return"Script"}}class rV extends u1{getTypeName(){return"URL"}}class oV extends u1{getTypeName(){return"ResourceURL"}}function _s(t){return t instanceof u1?t.changingThisBreaksApplicationSecurity:t}function Ul(t,n){const e=function aV(t){return t instanceof u1&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${lr})`)}return e===n}class hV{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const e=(new window.DOMParser).parseFromString(U0(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}}class fV{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const e=this.inertDocument.createElement("template");return e.innerHTML=U0(n),e}}const pV=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function k2(t){return(t=String(t)).match(pV)?t:"unsafe:"+t}function Bl(t){const n={};for(const e of t.split(","))n[e]=!0;return n}function B0(...t){const n={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}const rw=Bl("area,br,col,hr,img,wbr"),ow=Bl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),aw=Bl("rp,rt"),Ip=B0(rw,B0(ow,Bl("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")),B0(aw,Bl("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")),B0(aw,ow)),zp=Bl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ap=B0(zp,Bl("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"),Bl("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")),gV=Bl("script,style,template");class vV{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,i=!0,r=[];for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)r.push(e),e=bV(e);else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=yV(e);if(o){e=o;break}e=r.pop()}return this.buf.join("")}startElement(n){const e=sw(n).toLowerCase();if(!Ip.hasOwnProperty(e))return this.sanitizedSomething=!0,!gV.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=n.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),a=o.name,s=a.toLowerCase();if(!Ap.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=o.value;zp[s]&&(l=k2(l)),this.buf.push(" ",a,'="',cw(l),'"')}return this.buf.push(">"),!0}endElement(n){const e=sw(n).toLowerCase();Ip.hasOwnProperty(e)&&!rw.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(cw(n))}}function yV(t){const n=t.nextSibling;if(n&&t!==n.previousSibling)throw lw(n);return n}function bV(t){const n=t.firstChild;if(n&&function _V(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,n))throw lw(n);return n}function sw(t){const n=t.nodeName;return"string"==typeof n?n:"FORM"}function lw(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const CV=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wV=/([^\#-~ |!])/g;function cw(t){return t.replace(/&/g,"&amp;").replace(CV,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(wV,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let kf;function uw(t,n){let e=null;try{kf=kf||function iw(t){const n=new fV(t);return function mV(){try{return!!(new window.DOMParser).parseFromString(U0(""),"text/html")}catch{return!1}}()?new hV(n):n}(t);let i=n?String(n):"";e=kf.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=e.innerHTML,e=kf.getInertBodyElement(i)}while(i!==o);return U0((new vV).sanitizeChildren(Op(e)||e))}finally{if(e){const i=Op(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function Op(t){return"content"in t&&function SV(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const MV=/^>|^->|<!--|-->|--!>|<!-$/g,TV=/(<|>)/g;function Np(t,n){return t.createComment(function dw(t){return t.replace(MV,n=>n.replace(TV,"\u200b$1\u200b"))}(n))}function Ef(t,n,e){return t.createElement(n,e)}function d1(t,n,e,i,r){t.insertBefore(n,e,i,r)}function fw(t,n,e){t.appendChild(n,e)}function mw(t,n,e,i,r){null!==i?d1(t,n,e,i,r):fw(t,n,e)}function E2(t,n,e,i){t.removeChild(null,n,e,i)}function gw(t,n,e){const{mergedAttrs:i,classes:r,styles:o}=e;null!==i&&function MF(t,n,e){let i=0;for(;i<e.length;){const r=e[i];if("number"==typeof r){if(0!==r)break;i++;const o=e[i++],a=e[i++],s=e[i++];t.setAttribute(n,a,s,o)}else{const o=r,a=e[++i];Bb(o)?t.setProperty(n,o,a):t.setAttribute(n,o,a),i++}}}(t,n,i),null!==r&&function kV(t,n,e){""===e?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}(t,n,r),null!==o&&function xV(t,n,e){t.setAttribute(n,"style",e)}(t,n,o)}var ys=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(ys||{});function ql(t){const n=z2();return n?ew(n.sanitize(ys.HTML,t)||""):Ul(t,"HTML")?ew(_s(t)):uw(vu(),yt(t))}function I2(t){const n=z2();return n?n.sanitize(ys.URL,t)||"":Ul(t,"URL")?_s(t):k2(yt(t))}function vw(t){const n=z2();if(n)return nw(n.sanitize(ys.RESOURCE_URL,t)||"");if(Ul(t,"ResourceURL"))return nw(_s(t));throw new ge(904,!1)}const OV=new Set(["embed","frame","iframe","media","script"]),PV=new Set(["base","link","script"]);function _w(t,n,e){return function NV(t,n){return"src"===n&&OV.has(t)||"href"===n&&PV.has(t)||"xlink:href"===n&&"script"===t?vw:I2}(n,e)(t)}function z2(){const t=Le();return t&&t[10].sanitizer}function Yl(t){return t instanceof Function?t():t}function WV(t,n,e){let i=t.length;for(;;){const r=t.indexOf(n,e);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}const Sw="ng-template";function GV(t,n,e,i){let r=0;if(i){for(;r<n.length&&"string"==typeof n[r];r+=2)if("class"===n[r]&&-1!==WV(n[r+1].toLowerCase(),e,0))return!0}else if(Rp(t))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&"string"==typeof(o=n[r]);)if(o.toLowerCase()===e)return!0}return!1}function Rp(t){return 4===t.type&&t.value!==Sw}function KV(t,n,e){return n===(4!==t.type||e?t.value:Sw)}function QV(t,n,e){let i=4;const r=t.attrs,o=null!==r?function JV(t){for(let n=0;n<t.length;n++)if(Ub(t[n]))return n;return t.length}(r):0;let a=!1;for(let s=0;s<n.length;s++){const l=n[s];if("number"!=typeof l){if(!a)if(4&i){if(i=2|1&i,""!==l&&!KV(t,l,e)||""===l&&1===n.length){if(ml(i))return!1;a=!0}}else if(8&i){if(null===r||!GV(t,r,l,e)){if(ml(i))return!1;a=!0}}else{const c=n[++s],h=XV(l,r,Rp(t),e);if(-1===h){if(ml(i))return!1;a=!0;continue}if(""!==c){let g;if(g=h>o?"":r[h+1].toLowerCase(),2&i&&c!==g){if(ml(i))return!1;a=!0}}}}else{if(!a&&!ml(i)&&!ml(l))return!1;if(a&&ml(l))continue;a=!1,i=l|1&i}}return ml(i)||a}function ml(t){return!(1&t)}function XV(t,n,e,i){if(null===n)return-1;let r=0;if(i||!e){let o=!1;for(;r<n.length;){const a=n[r];if(a===t)return r;if(3===a||6===a)o=!0;else{if(1===a||2===a){let s=n[++r];for(;"string"==typeof s;)s=n[++r];continue}if(4===a)break;if(0===a){r+=4;continue}}r+=o?1:2}return-1}return function eU(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){const i=t[e];if("number"==typeof i)return-1;if(i===n)return e;e++}return-1}(n,t)}function Mw(t,n,e=!1){for(let i=0;i<n.length;i++)if(QV(t,n[i],e))return!0;return!1}function tU(t,n){e:for(let e=0;e<n.length;e++){const i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0}}return!1}function Tw(t,n){return t?":not("+n.trim()+")":n}function nU(t){let n=t[0],e=1,i=2,r="",o=!1;for(;e<t.length;){let a=t[e];if("string"==typeof a)if(2&i){const s=t[++e];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""!==r&&!ml(a)&&(n+=Tw(o,r),r=""),i=a,o=o||!ml(i);e++}return""!==r&&(n+=Tw(o,r)),n}const Hi={};function Fp(t,n,e,i,r,o,a,s,l,c,h){const g=27+i,L=g+r,y=function oU(t,n){const e=[];for(let i=0;i<n;i++)e.push(i<t?null:Hi);return e}(g,L),x="function"==typeof c?c():c;return y[1]={type:t,blueprint:y,template:e,queries:null,viewQuery:s,declTNode:n,data:y.slice().fill(null,g),bindingStartIndex:g,expandoStartIndex:L,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:l,consts:x,incompleteFirstPass:!1,ssrId:h}}function zf(t,n,e,i,r,o,a,s,l,c,h){const g=n.blueprint.slice();return g[0]=r,g[2]=1228|i,(null!==c||t&&2048&t[2])&&(g[2]|=2048),U4(g),g[3]=g[14]=t,g[8]=e,g[10]=a||t&&t[10],g[11]=s||t&&t[11],g[9]=l||t&&t[9]||null,g[5]=o,g[19]=function jF(){return YF++}(),g[6]=h,g[20]=c,g[15]=2==n.type?t[15]:g,g}function Hp(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function A2(t,n,e,i){if(0===e)return-1;const r=n.length;for(let o=0;o<e;o++)n.push(i),t.blueprint.push(i),t.data.push(null);return r}function Vp(t,n){return t[12]?t[13][4]=n:t[12]=n,t[13]=n,n}function z(t=1){xw(xn(),Le(),oa()+t,!1)}function xw(t,n,e,i){if(!i)if(3&~n[2]){const o=t.preOrderHooks;null!==o&&sf(n,o,0,e)}else{const o=t.preOrderCheckHooks;null!==o&&af(n,o,e)}i1(e)}var Af=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Af||{});function L2(t,n,e,i){const r=A(null);try{const[o,a,s]=t.inputs[e];let l=null;0!==(a&Af.SignalBased)&&(l=n[o][E]),null!==l&&void 0!==l.transformFn?i=l.transformFn(i):null!==s&&(i=s.call(n,i)),null!==t.setInput?t.setInput(n,l,i,e,o):Lb(n,l,o,i)}finally{A(r)}}var yu=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(yu||{});function Bp(t,n){return undefined(t,n)}const h1=new Set;var qp=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(qp||{});const O2=new Ie(""),zw=new Set;function Ta(t){zw.has(t)||(zw.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}const Aw=!1,dt=class hU extends it{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Xd()&&(this.destroyRef=U(In,{optional:!0})??void 0,this.pendingTasks=U(fu,{optional:!0})??void 0)}emit(n){const e=A(null);try{super.next(n)}finally{A(e)}}subscribe(n,e,i){let r=n,o=e||(()=>null),a=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),a=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));const s=super.subscribe({next:r,error:o,complete:a});return n instanceof Vt&&n.add(s),s}wrapInTimeout(n){return e=>{const i=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{void 0!==i&&this.pendingTasks?.remove(i)}})}}};function Lw(t){let n,e;function i(){t=f2;try{void 0!==e&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(e),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),"function"==typeof requestAnimationFrame&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function Ow(t){return queueMicrotask(()=>t()),()=>{t=f2}}const Yp="isAngularZone",Of=Yp+"_ID";let fU=0;class $t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new dt(!1);onMicrotaskEmpty=new dt(!1);onStable=new dt(!1);onError=new dt(!1);constructor(n){const{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=Aw}=n;if(typeof Zone>"u")throw new ge(908,!1);Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&i,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,function gU(t){const n=()=>{!function pU(t){function n(){Lw(()=>{t.callbackScheduled=!1,$p(t),t.isCheckStableRunning=!0,jp(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),$p(t))}(t)},e=fU++;t._inner=t._inner.fork({name:"angular",properties:{[Yp]:!0,[Of]:e,[Of+e]:!0},onInvokeTask:(i,r,o,a,s,l)=>{if(function vU(t){return Rw(t,"__ignore_ng_zone__")}(l))return i.invokeTask(o,a,s,l);try{return Pw(t),i.invokeTask(o,a,s,l)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||t.shouldCoalesceRunChangeDetection)&&n(),Nw(t)}},onInvoke:(i,r,o,a,s,l,c)=>{try{return Pw(t),i.invoke(o,a,s,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function _U(t){return Rw(t,"__scheduler_tick__")}(l)&&n(),Nw(t)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&("microTask"==a.change?(t._hasPendingMicrotasks=a.microTask,$p(t),jp(t)):"macroTask"==a.change&&(t.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,r,o,a)=>(i.handleError(o,a),t.runOutsideAngular(()=>t.onError.emit(a)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Yp)}static assertInAngularZone(){if(!$t.isInAngularZone())throw new ge(909,!1)}static assertNotInAngularZone(){if($t.isInAngularZone())throw new ge(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,n,mU,f2,f2);try{return o.runTask(a,e,i)}finally{o.cancelTask(a)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const mU={};function jp(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function $p(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function Pw(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Nw(t){t._nesting--,jp(t)}class Wp{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new dt;onMicrotaskEmpty=new dt;onStable=new dt;onError=new dt;run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}}function Rw(t,n){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[n]}let Fw=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=$e({token:t,providedIn:"root",factory:()=>new t})}return t})();const Hw=[0,1,2,3];let bU=(()=>{class t{ngZone=U($t);scheduler=U(r1);errorHandler=U(S0,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){U(O2,{optional:!0})}execute(){const e=this.sequences.size>0;e&&Ki(16),this.executing=!0;for(const i of Hw)for(const r of this.sequences)if(!r.erroredOrDestroyed&&r.hooks[i])try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,r.hooks[i])(r.pipelinedValue),r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(const i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(const i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Ki(17)}register(e){const{view:i}=e;void 0!==i?((i[25]??=[]).push(e),du(i),i[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,i){return i?i.run(qp.AFTER_NEXT_RENDER,e):e()}static \u0275prov=$e({token:t,providedIn:"root",factory:()=>new t})}return t})();class Vw{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r,o,a=null){this.impl=n,this.hooks=e,this.view=i,this.once=r,this.snapshot=a,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 n=this.view?.[25];n&&(this.view[25]=n.filter(e=>e!==this))}}function bu(t,n){const e=n?.injector??U(Vr);return Ta("NgAfterNextRender"),Bw(t,e,n,!0)}function Bw(t,n,e,i){const r=n.get(Fw);r.impl??=n.get(bU);const o=n.get(O2,null,{optional:!0}),a=!0!==e?.manualCleanup?n.get(In):null,s=n.get(Um,null,{optional:!0}),l=new Vw(r.impl,function CU(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}(t),s?.view,i,a,o?.snapshot(null));return r.impl.register(l),l}const Pf=new Ie("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function qw(t,n,e){const i=t.get(Pf);if(Array.isArray(n))for(const r of n)i.queue.add(r),e?.detachedLeaveAnimationFns?.push(r);else i.queue.add(n),e?.detachedLeaveAnimationFns?.push(n);i.scheduler&&i.scheduler(t)}function Yw(t,n,e,i){const r=t?.[26]?.enter;null!==n&&r&&r.has(e.index)&&function Gp(t,n){for(const[e,i]of n)qw(t,i.animateFns)}(i,r)}function j0(t,n,e,i,r,o,a,s){if(null!=r){let l,c=!1;ia(r)?l=r:kr(r)&&(c=!0,r=r[0]);const h=bo(r);0===t&&null!==i?(Yw(s,i,o,e),null==a?fw(n,i,h):d1(n,i,h,a||null,!0)):1===t&&null!==i?(Yw(s,i,o,e),d1(n,i,h,a||null,!0)):2===t?Ww(s,o,e,g=>{E2(n,h,c,g)}):3===t&&Ww(s,o,e,()=>{n.destroyNode(h)}),null!=l&&function IU(t,n,e,i,r,o,a){const s=i[7];s!==bo(i)&&j0(n,t,e,o,s,r,a);for(let c=10;c<i.length;c++){const h=i[c];Ff(h[1],h,t,n,o,s)}}(n,t,e,l,o,i,a)}}function $w(t,n){n[10].changeDetectionScheduler?.notify(9),Ff(t,n,n[11],2,null,null)}function Kp(t,n){const e=t[9],i=e.indexOf(n);e.splice(i,1)}function P2(t,n){if(ul(n))return;const e=n[11];e.destroyNode&&Ff(t,n,e,3,null,null),function TU(t){let n=t[12];if(!n)return Qp(t[1],t);for(;n;){let e=null;if(kr(n))e=n[12];else{const i=n[10];i&&(e=i)}if(!e){for(;n&&!n[4]&&n!==t;)kr(n)&&Qp(n[1],n),n=n[3];null===n&&(n=t),kr(n)&&Qp(n[1],n),e=n&&n[4]}n=e}}(n)}function Qp(t,n){if(ul(n))return;const e=A(null);try{n[2]&=-129,n[2]|=256,n[24]&&ht(n[24]),function kU(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i<e.length;i+=2){const r=n[e[i]];if(!(r instanceof v2)){const o=e[i+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){const s=r[o[a]],l=o[a+1];Ki(4,s,l);try{l.call(s)}finally{Ki(5,s,l)}}else{Ki(4,r,o);try{o.call(r)}finally{Ki(5,r,o)}}}}}(t,n),function xU(t,n){const e=t.cleanup,i=n[7];if(null!==e)for(let a=0;a<e.length-1;a+=2)if("string"==typeof e[a]){const s=e[a+3];s>=0?i[s]():i[-s].unsubscribe(),a+=2}else e[a].call(i[e[a+1]]);null!==i&&(n[7]=null);const r=n[21];if(null!==r){n[21]=null;for(let a=0;a<r.length;a++)(0,r[a])()}const o=n[23];if(null!==o){n[23]=null;for(const a of o)a.destroy()}}(t,n),1===n[1].type&&n[11].destroy();const i=n[16];if(null!==i&&ia(n[3])){i!==n[3]&&Kp(i,n);const r=n[18];null!==r&&r.detachView(t)}rp(n)}finally{A(e)}}function Ww(t,n,e,i){const r=t?.[26];if(null==r||null==r.leave||!r.leave.has(n.index))return i(!1);t&&h1.add(t),qw(e,()=>{if(r.leave&&r.leave.has(n.index)){const a=r.leave.get(n.index),s=[];if(a){for(let l=0;l<a.animateFns.length;l++){const c=a.animateFns[l],{promise:h}=c();s.push(h)}r.detachedLeaveAnimationFns=void 0}r.running=Promise.allSettled(s),function DU(t,n){const e=t[26]?.running;e?e.then(()=>{t[26].running=void 0,h1.delete(t),n(!0)}):n(!1)}(t,i)}else t&&h1.delete(t),i(!1)},r)}function Xp(t,n,e){return function Gw(t,n,e){let i=n;for(;null!==i&&168&i.type;)i=(n=i).parent;if(null===i)return e[0];if(cl(i)){const{encapsulation:r}=t.data[i.directiveStart+i.componentOffset];if(r===Ec.None||r===Ec.Emulated)return null}return Xr(i,e)}(t,n.parent,e)}function Kw(t,n,e){return Xw(t,n,e)}let Xw=function Qw(t,n,e){return 40&t.type?Xr(t,e):null};function Jp(t,n,e,i){const r=Xp(t,i,n),o=n[11],s=Kw(i.parent||n[5],i,n);if(null!=r)if(Array.isArray(e))for(let l=0;l<e.length;l++)mw(o,r,e[l],s,!1);else mw(o,r,e,s,!1)}function f1(t,n){if(null!==n){const e=n.type;if(3&e)return Xr(n,t);if(4&e)return Rf(-1,t[n.index]);if(8&e){const i=n.child;if(null!==i)return f1(t,i);{const r=t[n.index];return ia(r)?Rf(-1,r):bo(r)}}if(128&e)return f1(t,n.next);if(32&e)return Bp(n,t)()||bo(t[n.index]);{const i=Jw(t,n);return null!==i?Array.isArray(i)?i[0]:f1(dl(t[15]),i):f1(t,n.next)}}return null}function Jw(t,n){return null!==n?t[15][5].projection[n.projection]:null}function Rf(t,n){const e=10+t+1;if(e<n.length){const i=n[e],r=i[1].firstChild;if(null!==r)return f1(i,r)}return n[7]}function eg(t,n,e,i,r,o,a){for(;null!=e;){const s=i[9];if(128===e.type){e=e.next;continue}const l=i[e.index],c=e.type;if(a&&0===n&&(l&&es(bo(l),i),e.flags|=2),!yf(e))if(8&c)eg(t,n,e.child,i,r,o,!1),j0(n,t,s,r,l,e,o,i);else if(32&c){const h=Bp(e,i);let g;for(;g=h();)j0(n,t,s,r,g,e,o,i);j0(n,t,s,r,l,e,o,i)}else 16&c?eS(t,n,i,e,r,o):j0(n,t,s,r,l,e,o,i);e=a?e.projectionNext:e.next}}function Ff(t,n,e,i,r,o){eg(e,i,t.firstChild,n,r,o,!1)}function eS(t,n,e,i,r,o){const a=e[15],l=a[5].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)j0(n,t,e[9],r,l[c],i,o,e);else{let c=l;const h=a[3];w2(i)&&(c.flags|=128),eg(t,n,c,h,r,o,!0)}}function tS(t,n,e,i,r){const o=oa(),a=2&i;try{i1(-1),a&&n.length>27&&xw(t,n,27,!1),Ki(a?2:0,r,e),e(i,r)}finally{i1(o),Ki(a?3:1,r,e)}}function Hf(t,n,e){(function NU(t,n,e){const i=e.directiveStart,r=e.directiveEnd;cl(e)&&function aU(t,n,e){const i=Xr(n,t),r=function Dw(t){const n=t.tView;return null===n||n.incompleteFirstPass?t.tView=Fp(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}(e),o=t[10].rendererFactory,a=Vp(t,zf(t,r,null,Hp(e),i,n,null,o.createRenderer(i,e),null,null,null));t[n.index]=a}(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||cf(e,n);const o=e.initialInputs;for(let a=i;a<r;a++){const s=t.data[a],l=b2(n,t,a,e);es(l,n),null!==o&&VU(0,a-i,l,s,0,o),Va(s)&&(Bo(e.index,n)[8]=b2(n,t,a,e))}})(t,n,e),!(64&~e.flags)&&function RU(t,n,e){const i=e.directiveStart,r=e.directiveEnd,o=e.index,a=function le(){return gn.lFrame.currentDirectiveIndex}();try{i1(o);for(let s=i;s<r;s++){const l=t.data[s],c=n[s];ke(s),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&FU(l,c)}}finally{i1(-1),ke(a)}}(t,n,e)}function $0(t,n,e=Xr){const i=n.localNames;if(null!==i){let r=n.index+1;for(let o=0;o<i.length;o+=2){const a=i[o+1],s=-1===a?e(n,t):t[a];t[r++]=s}}}let nS=()=>null;function tg(t,n,e,i,r,o){qf(t,n[1],n,e,i)?cl(t)&&function iS(t,n){const e=Bo(n,t);16&e[2]||(e[2]|=64)}(n,t.index):(3&t.type&&(e=function PU(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(e)),ng(t,n,e,i,r,o))}function ng(t,n,e,i,r,o){if(3&t.type){const a=Xr(t,n);i=null!=o?o(i,t.value||"",e):i,r.setProperty(a,e,i)}}function FU(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function ig(t,n){const e=t.directiveRegistry;let i=null;if(e)for(let r=0;r<e.length;r++){const o=e[r];Mw(n,o.selectors,!1)&&(i??=[],Va(o)?i.unshift(o):i.push(o))}return i}function VU(t,n,e,i,r,o){const a=o[n];if(null!==a)for(let s=0;s<a.length;s+=2)L2(i,e,a[s],a[s+1])}function Uf(t,n,e,i,r){const o=27+e,a=n[1],s=r(a,n,t,i,e);n[o]=s,hl(t,!0);const l=2===t.type;return l?(gw(n[11],s,t),(0===function Pm(){return gn.lFrame.elementDepthCount}()||cu(t))&&es(s,n),function Nm(){gn.lFrame.elementDepthCount++}()):es(s,n),K4()&&(!l||!yf(t))&&Jp(a,n,s,t),t}function Bf(t){let n=t;return Fs()?xc():(n=n.parent,hl(n,!1)),n}function qf(t,n,e,i,r){const o=t.inputs?.[i],a=t.hostDirectiveInputs?.[i];let s=!1;if(a)for(let l=0;l<a.length;l+=2){const c=a[l];L2(n.data[c],e[c],a[l+1],r),s=!0}if(o)for(const l of o)L2(n.data[l],e[l],i,r),s=!0;return s}function BU(t,n){const e=Bo(n,t),i=e[1];!function qU(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}(i,e);const r=e[0];null!==r&&null===e[6]&&(e[6]=null),Ki(18),Yf(i,e,e[8]),Ki(19,e[8])}function Yf(t,n,e){Vs(n);try{const i=t.viewQuery;null!==i&&Tp(1,i,e);const r=t.template;null!==r&&tS(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[18]?.finishViewCreation(t),t.staticContentQueries&&KC(t,n),t.staticViewQueries&&Tp(2,t.viewQuery,e);const o=t.components;null!==o&&function YU(t,n){for(let e=0;e<n.length;e++)BU(t,n[e])}(n,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[2]&=-5,Hm()}}function W0(t,n,e,i){const r=A(null);try{const o=n.tView,l=zf(t,o,e,4096&t[2]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[16]=t[n.index];const h=t[18];return null!==h&&(l[18]=h.createEmbeddedView(o)),Yf(o,l,e),l}finally{A(r)}}function m1(t,n){return!n||null===n.firstChild||w2(t)}function N2(t,n,e,i,r=!1){for(;null!==e;){if(128===e.type){e=r?e.projectionNext:e.next;continue}const o=n[e.index];null!==o&&i.push(bo(o)),ia(o)&&jU(o,i);const a=e.type;if(8&a)N2(t,n,e.child,i);else if(32&a){const s=Bp(e,n);let l;for(;l=s();)i.push(l)}else if(16&a){const s=Jw(n,e);if(Array.isArray(s))i.push(...s);else{const l=dl(n[15]);N2(l[1],l,s,i,!0)}}e=r?e.projectionNext:e.next}return i}function jU(t,n){for(let e=10;e<t.length;e++){const i=t[e],r=i[1].firstChild;null!==r&&N2(i[1],i,r,n)}t[7]!==t[0]&&n.push(t[7])}function aS(t){if(null!==t[25]){for(const n of t[25])n.impl.addSequence(n);t[25].length=0}}let sS=[];const KU={...Q,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{du(t.lView)},consumerOnSignalRead(){this.lView[24]=this}},XU={...Q,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=dl(t.lView);for(;n&&!lS(n[1]);)n=dl(n);n&&a2(n)},consumerOnSignalRead(){this.lView[24]=this}};function lS(t){return 2!==t.type}function cS(t){if(null===t[23])return;let n=!0;for(;n;){let e=!1;for(const i of t[23])i.dirty&&(e=!0,null===i.zone||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=e&&!!(8192&t[2])}}function jf(t,n=0){const i=t[10].rendererFactory;i.begin?.();try{!function JU(t,n){const e=G4();try{hu(!0),og(t,n);let i=0;for(;t1(t);){if(100===i)throw new ge(103,!1);i++,og(t,1)}}finally{hu(e)}}(t,n)}finally{i.end?.()}}function uS(t,n,e,i){if(ul(n))return;const r=n[2];Vs(n);let s=!0,l=null,c=null;lS(t)?(c=function $U(t){return t[24]??function WU(t){const n=sS.pop()??Object.create(KU);return n.lView=t,n}(t)}(n),l=Fe(c)):null===function G(){return v}()?(s=!1,c=function QU(t){const n=t[24]??Object.create(XU);return n.lView=t,n}(n),l=Fe(c)):n[24]&&(ht(n[24]),n[24]=null);try{U4(n),function Jn(t){return gn.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==e&&tS(t,n,e,2,i);const h=!(3&~r);if(h){const y=t.preOrderCheckHooks;null!==y&&af(n,y,null)}else{const y=t.preOrderHooks;null!==y&&sf(n,y,0,null),Km(n,0)}if(function eB(t){for(let n=pC(t);null!==n;n=gC(n)){if(!(2&n[2]))continue;const e=n[9];for(let i=0;i<e.length;i++)a2(e[i])}}(n),cS(n),dS(n,0),null!==t.contentQueries&&KC(t,n),h){const y=t.contentCheckHooks;null!==y&&af(n,y)}else{const y=t.contentHooks;null!==y&&sf(n,y,1),Km(n,1)}!function nB(t,n){const e=t.hostBindingOpCodes;if(null!==e)try{for(let i=0;i<e.length;i++){const r=e[i];if(r<0)i1(~r);else{const o=r,a=e[++i],s=e[++i];W(a,o);const l=n[o];Ki(24,l),s(2,l),Ki(25,l)}}}finally{i1(-1)}}(t,n);const g=t.components;null!==g&&fS(n,g,0);const L=t.viewQuery;if(null!==L&&Tp(2,L,i),h){const y=t.viewCheckHooks;null!==y&&af(n,y)}else{const y=t.viewHooks;null!==y&&sf(n,y,2),Km(n,2)}if(!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),n[22]){for(const y of n[22])y();n[22]=null}aS(n),n[2]&=-73}catch(h){throw du(n),h}finally{null!==c&&(Ct(c,l),s&&function GU(t){t.lView[24]!==t&&(t.lView=null,sS.push(t))}(c)),Hm()}}function dS(t,n){for(let e=pC(t);null!==e;e=gC(e))for(let i=10;i<e.length;i++)hS(e[i],n)}function tB(t,n,e){Ki(18);const i=Bo(n,t);hS(i,e),Ki(19,i[8])}function hS(t,n){o2(t)&&og(t,n)}function og(t,n){const i=t[1],r=t[2],o=t[24];let a=!!(0===n&&16&r);if(a||=!!(64&r&&0===n),a||=!!(1024&r),a||=!(!o?.dirty||!Sn(o)),a||=!1,o&&(o.dirty=!1),t[2]&=-9217,a)uS(i,t,i.template,t[8]);else if(8192&r){const s=A(null);try{cS(t),dS(t,1);const l=i.components;null!==l&&fS(t,l,1),aS(t)}finally{A(s)}}}function fS(t,n,e){for(let i=0;i<n.length;i++)tB(t,n[i],e)}function G0(t,n){const e=G4()?64:1088;for(t[10].changeDetectionScheduler?.notify(n);t;){t[2]|=e;const i=dl(t);if(Nl(t)&&!i)return t;t=i}return null}function mS(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function pS(t,n){const e=10+n;if(e<t.length)return t[e]}function K0(t,n,e,i=!0){const r=n[1];if(function iB(t,n,e,i){const r=10+i,o=e.length;i>0&&(e[r-1][4]=n),i<o-10?(n[4]=e[r],Pa(e,10+i,n)):(e.push(n),n[4]=null),n[3]=e;const a=n[16];null!==a&&e!==a&&gS(a,n);const s=n[18];null!==s&&s.insertView(t),y0(n),n[2]|=128}(r,n,t,e),i){const a=Rf(e,t),s=n[11],l=s.parentNode(t[7]);null!==l&&function MU(t,n,e,i,r,o){i[0]=r,i[5]=n,Ff(t,i,e,1,r,o)}(r,t[5],s,n,l,a)}const o=n[6];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function ag(t,n){const e=R2(t,n);return void 0!==e&&P2(e[1],e),e}function R2(t,n){if(t.length<=10)return;const e=10+n,i=t[e];if(i){const r=i[16];null!==r&&r!==t&&Kp(r,i),n>0&&(t[e-1][4]=i[4]);const o=wa(t,10+n);!function jw(t,n){$w(t,n),n[0]=null,n[5]=null}(i[1],i);const a=o[18];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function gS(t,n){const e=t[9],i=n[3];(kr(i)||n[15]!==i[3][15])&&(t[2]|=2),null===e?t[9]=[n]:e.push(n)}class F2{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const n=this._lView,e=n[1];return N2(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e}get context(){return this._lView[8]}set context(n){this._lView[8]=n}get destroyed(){return ul(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[3];if(ia(n)){const e=n[8],i=e?e.indexOf(this):-1;i>-1&&(R2(n,i),wa(e,i))}this._attachedToViewContainer=!1}P2(this._lView[1],this._lView)}onDestroy(n){b0(this._lView,n)}markForCheck(){G0(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){y0(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,jf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ge(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=Nl(this._lView),e=this._lView[16];null!==e&&!n&&Kp(e,this._lView),$w(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new ge(902,!1);this._appRef=n;const e=Nl(this._lView),i=this._lView[16];null!==i&&!e&&gS(i,this._lView),y0(this._lView)}}let Yo=(()=>class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=aB;constructor(e,i,r){this._declarationLView=e,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,r){const o=W0(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:r});return new F2(o)}})();function aB(){return $f(bn(),Le())}function $f(t,n){return 4&t.type?new Yo(n,t,L0(t,n)):null}function p1(t,n,e,i,r){let o=t.data[n];if(null===o)o=function ug(t,n,e,i,r){const o=j4(),a=Fs(),l=t.data[n]=function pB(t,n,e,i,r,o){let a=n?n.injectorIndex:-1,s=0;return q4()&&(s|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,e,n,i,r);return function mB(t,n,e,i){null===t.firstChild&&(t.firstChild=n),null!==e&&(i?null==e.child&&null!==n.parent&&(e.child=n):null===e.next&&(e.next=n,n.prev=e))}(t,l,o,a),l}(t,n,e,i,r),function T(){return gn.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=e,o.value=i,o.attrs=r;const a=function n1(){const t=gn.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}();o.injectorIndex=null===a?-1:a.injectorIndex}return hl(o,!0),o}function PS(t,n){let e=0,i=t.firstChild;if(i){const r=t.data.r;for(;e<r;){const o=i.nextSibling;E2(n,i,!1),i=o,e++}}}let XB=class{},US=class{};class ZB{resolveComponentFactory(n){throw new ge(917,!1)}}let X0=class{static NULL=new ZB};class Bs{}let to=(()=>class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>function JB(){const t=Le(),e=Bo(bn().index,t);return(kr(e)?e:t)[11]}()})(),eq=(()=>{class t{static \u0275prov=$e({token:t,providedIn:"root",factory:()=>null})}return t})();const _g={};class Z0{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){const r=this.injector.get(n,_g,i);return r!==_g||e===_g?r:this.parentInjector.get(n,e,i)}}function t3(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(null!==n)for(let a=0;a<n.length;a++){const s=n[a];"number"==typeof s?o=s:1==o?r=cc(r,s):2==o&&(i=cc(i,s+": "+n[++a]+";"))}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r}function xe(t,n=0){const e=Le();return null===e?It(t,n):Kb(bn(),e,mn(t),n)}function qS(t,n,e,i,r){const o=null===i?null:{"":-1},a=r(t,e);if(null!==a){let s=a,l=null,c=null;for(const h of a)if(null!==h.resolveHostDirectives){[s,l,c]=h.resolveHostDirectives(a);break}!function sq(t,n,e,i,r,o,a){const s=i.length;let l=!1;for(let L=0;L<s;L++){const y=i[L];!l&&Va(y)&&(l=!0,aq(t,e,L)),ep(cf(e,n),t,y.type)}!function fq(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}(e,t.data.length,s);for(let L=0;L<s;L++){const y=i[L];y.providersResolver&&y.providersResolver(y)}let c=!1,h=!1,g=A2(t,n,s,null);s>0&&(e.directiveToIndex=new Map);for(let L=0;L<s;L++){const y=i[L];if(e.mergedAttrs=A0(e.mergedAttrs,y.hostAttrs),cq(t,e,n,g,y),hq(g,y,r),null!==a&&a.has(y)){const[B,ee]=a.get(y);e.directiveToIndex.set(y.type,[g,B+e.directiveStart,ee+e.directiveStart])}else(null===o||!o.has(y))&&e.directiveToIndex.set(y.type,g);null!==y.contentQueries&&(e.flags|=4),(null!==y.hostBindings||null!==y.hostAttrs||0!==y.hostVars)&&(e.flags|=64);const x=y.type.prototype;!c&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),c=!0),!h&&(x.ngOnChanges||x.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),h=!0),g++}!function lq(t,n,e){for(let i=n.directiveStart;i<n.directiveEnd;i++){const r=t.data[i];if(null!==e&&e.has(r)){const o=e.get(r);jS(0,n,o,i),jS(1,n,o,i),WS(n,i,!0)}else YS(0,n,r,i),YS(1,n,r,i),WS(n,i,!1)}}(t,e,o)}(t,n,e,s,o,l,c)}null!==o&&null!==i&&function oq(t,n,e){const i=t.localNames=[];for(let r=0;r<n.length;r+=2){const o=e[n[r+1]];if(null==o)throw new ge(-301,!1);i.push(n[r],o)}}(e,i,o)}function aq(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function YS(t,n,e,i){const r=0===t?e.inputs:e.outputs;for(const o in r)if(r.hasOwnProperty(o)){let a;a=0===t?n.inputs??={}:n.outputs??={},a[o]??=[],a[o].push(i),$S(n,o)}}function jS(t,n,e,i){const r=0===t?e.inputs:e.outputs;for(const o in r)if(r.hasOwnProperty(o)){const a=r[o];let s;s=0===t?n.hostDirectiveInputs??={}:n.hostDirectiveOutputs??={},s[a]??=[],s[a].push(i,o),$S(n,a)}}function $S(t,n){"class"===n?t.flags|=8:"style"===n&&(t.flags|=16)}function WS(t,n,e){const{attrs:i,inputs:r,hostDirectiveInputs:o}=t;if(null===i||!e&&null===r||e&&null===o||Rp(t))return t.initialInputs??=[],void t.initialInputs.push(null);let a=null,s=0;for(;s<i.length;){const l=i[s];if(0!==l)if(5!==l){if("number"==typeof l)break;if(!e&&r.hasOwnProperty(l)){const c=r[l];for(const h of c)if(h===n){a??=[],a.push(l,i[s+1]);break}}else if(e&&o.hasOwnProperty(l)){const c=o[l];for(let h=0;h<c.length;h+=2)if(c[h]===n){a??=[],a.push(c[h+1],i[s+1]);break}}s+=2}else s+=2;else s+=4}t.initialInputs??=[],t.initialInputs.push(a)}function cq(t,n,e,i,r){t.data[i]=r;const o=r.factory||(r.factory=Fo(r.type)),a=new v2(o,Va(r),xe,null);t.blueprint[i]=a,e[i]=a,function uq(t,n,e,i,r){const o=r.hostBindings;if(o){let a=t.hostBindingOpCodes;null===a&&(a=t.hostBindingOpCodes=[]);const s=~n.index;(function dq(t){let n=t.length;for(;n>0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(a)!=s&&a.push(s),a.push(e,i,o)}}(t,n,i,A2(t,e,r.hostVars,Hi),r)}function hq(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Va(n)&&(e[""]=t)}}function yg(t,n,e,i,r,o,a,s){const l=n[1],c=l.consts,g=p1(l,t,e,i,qo(c,a));return o&&qS(l,n,g,qo(c,s),r),g.mergedAttrs=A0(g.mergedAttrs,g.attrs),null!==g.attrs&&t3(g,g.attrs,!1),null!==g.mergedAttrs&&t3(g,g.mergedAttrs,!0),null!==l.queries&&l.queries.elementStart(l,g),g}function bg(t,n){Rb(t,n),R4(n)&&t.queries.elementEnd(n)}function n3(t){return!!Cg(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Cg(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function jl(t,n,e){return t[n]=e}function Er(t,n,e){return e!==Hi&&(!Object.is(t[n],e)&&(t[n]=e,!0))}function _1(t,n,e,i){const r=Er(t,n,e);return Er(t,n+1,i)||r}function K2(t,n,e){return function i(r){G0(cl(t)?Bo(t.index,n):n,5);const a=n[8];let s=KS(n,a,e,r),l=i.__ngNextListenerFn__;for(;l;)s=KS(n,a,l,r)&&s,l=l.__ngNextListenerFn__;return s}}function KS(t,n,e,i){const r=A(null);try{return Ki(6,n,e),!1!==e(i)}catch(o){return function rg(t,n){const e=t[9];if(!e)return;let i;try{i=e.get(fl,null)}catch{i=null}i?.(n)}(t,o),!1}finally{Ki(7,n,e),A(r)}}function QS(t,n,e,i,r,o,a,s){const l=cu(t);let c=!1,h=null;if(!i&&l&&(h=function _q(t,n,e,i){const r=t.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const a=r[o];if(a===e&&r[o+1]===i){const s=n[7],l=r[o+2];return s&&s.length>l?s[l]:null}"string"==typeof a&&(o+=2)}return null}(n,e,o,t.index)),null!==h)(h.__ngLastListenerFn__||h).__ngNextListenerFn__=a,h.__ngLastListenerFn__=a,c=!0;else{const g=Xr(t,e),L=i?i(g):g,y=r.listen(L,o,s);(function vq(t){return t.startsWith("animation")||t.startsWith("transition")})(o)||XS(i?B=>i(bo(B[t.index])):t.index,n,e,o,s,y,!1)}return c}function XS(t,n,e,i,r,o,a){const s=n.firstCreatePass?w0(n):null,l=s2(e),c=l.length;l.push(r,o),s&&s.push(i,t,c,(c+1)*(a?-1:1))}function r3(t,n,e,i,r,o){const s=n[1],g=n[e][s.data[e].outputs[i]].subscribe(o);XS(t.index,s,n,r,o,g,!0)}
/*!
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.dev/license
       */
const wu=Symbol("BINDING");class ZS extends X0{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=Xn(n);return new o3(e,this.ngModule)}}class o3 extends US{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function Dq(t){return Object.keys(t).map(n=>{const[e,i,r]=t[n],o={propName:e,templateName:n,isSignal:0!==(i&Af.SignalBased)};return r&&(o.transform=r),o})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function xq(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function iU(t){return t.map(nU).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,i,r,o,a){Ki(22);const s=A(null);try{const l=this.componentDef,c=function Aq(t,n,e,i){const r=t?["ng-version","20.3.18"]:function rU(t){const n=[],e=[];let i=1,r=2;for(;i<t.length;){let o=t[i];if("string"==typeof o)2===r?""!==o&&n.push(o,t[++i]):8===r&&e.push(o);else{if(!ml(r))break;r=o}i++}return e.length&&n.push(1,...e),n}(n.selectors[0]);let o=null,a=null,s=0;if(e)for(const h of e)s+=h[wu].requiredVars,h.create&&(h.targetIdx=0,(o??=[]).push(h)),h.update&&(h.targetIdx=0,(a??=[]).push(h));if(i)for(let h=0;h<i.length;h++){const g=i[h];if("function"!=typeof g)for(const L of g.bindings){s+=L[wu].requiredVars;const y=h+1;L.create&&(L.targetIdx=y,(o??=[]).push(L)),L.update&&(L.targetIdx=y,(a??=[]).push(L))}}const l=[n];if(i)for(const h of i){const L=lo("function"==typeof h?h:h.type);l.push(L)}return Fp(0,null,function Lq(t,n){return t||n?e=>{if(1&e&&t)for(const i of t)i.create();if(2&e&&n)for(const i of n)i.update()}:null}(o,a),1,s,l,null,null,null,[r],null)}(i,l,a,o),h=function kq(t,n,e){let i=n instanceof pn?n:n?.injector;return i&&null!==t.getStandaloneInjector&&(i=t.getStandaloneInjector(i)||i),i?new Z0(e,i):e}(l,r||this.ngModule,n),g=function Eq(t){const n=t.get(Bs,null);if(null===n)throw new ge(407,!1);return{rendererFactory:n,sanitizer:t.get(eq,null),changeDetectionScheduler:t.get(r1,null),ngReflect:!1}}(h),L=g.rendererFactory.createRenderer(null,l),y=i?function AU(t,n,e,i){const o=i.get(wH,!1)||e===Ec.ShadowDom,a=t.selectRootElement(n,o);return function LU(t){nS(t)}(a),a}(L,i,l.encapsulation,h):function Iq(t,n){const e=function zq(t){return(t.selectors[0][0]||"div").toLowerCase()}(t);return Ef(n,e,"svg"===e?"svg":"math"===e?"math":null)}(l,L),x=a?.some(JS)||o?.some(re=>"function"!=typeof re&&re.bindings.some(JS)),B=zf(null,c,null,512|Hp(l),null,null,g,L,h,null,null);B[27]=y,Vs(B);let ee=null;try{const re=yg(27,B,2,"#host",()=>c.directiveRegistry,!0,0);gw(L,y,re),es(y,B),Hf(c,B,re),Dp(c,re,B),bg(c,re),void 0!==e&&function Pq(t,n,e){const i=t.projection=[];for(let r=0;r<n.length;r++){const o=e[r];i.push(null!=o&&o.length?Array.from(o):null)}}(re,this.ngContentSelectors,e),ee=Bo(re.index,B),B[8]=ee[8],Yf(c,B,null)}catch(re){throw null!==ee&&rp(ee),rp(B),re}finally{Ki(23),Hm()}return new Oq(this.componentType,B,!!x)}finally{A(s)}}}function JS(t){const n=t[wu].kind;return"input"===n||"twoWay"===n}class Oq extends XB{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,i){super(),this._rootLView=e,this._hasInputBindings=i,this._tNode=Dc(e[1],27),this.location=L0(this._tNode,e),this.instance=Bo(this._tNode.index,e)[8],this.hostView=this.changeDetectorRef=new F2(e,void 0),this.componentType=n}setInput(n,e){const i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;const r=this._rootLView;qf(i,r[1],r,n,e),this.previousInputValues.set(n,e),G0(Bo(i.index,r),1)}get injector(){return new eo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}let Da=(()=>class t{static __NG_ELEMENT_ID__=Nq})();function Nq(){return nM(bn(),Le())}const Rq=Da,eM=class extends Rq{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return L0(this._hostTNode,this._hostLView)}get injector(){return new eo(this._hostTNode,this._hostLView)}get parentInjector(){const n=uf(this._hostTNode,this._hostLView);if(Xm(n)){const e=y2(n,this._hostLView),i=_2(n);return new eo(e[1].data[i+8],e)}return new eo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=tM(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=n.createEmbeddedViewImpl(e||{},o,null);return this.insertImpl(s,r,m1(this._hostTNode,null)),s}createComponent(n,e,i,r,o,a,s){const l=n&&!function g2(t){return"function"==typeof t}(n);let c;if(l)c=e;else{const ee=e||{};c=ee.index,i=ee.injector,r=ee.projectableNodes,o=ee.environmentInjector||ee.ngModuleRef,a=ee.directives,s=ee.bindings}const h=l?n:new o3(Xn(n)),g=i||this.parentInjector;if(!o&&null==h.ngModule){const re=(l?g:this.parentInjector).get(pn,null);re&&(o=re)}Xn(h.componentType??{});const B=h.create(g,r,null,o,a,s);return this.insertImpl(B.hostView,c,m1(this._hostTNode,null)),B}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){const r=n._lView;if(function Lm(t){return ia(t[3])}(r)){const s=this.indexOf(n);if(-1!==s)this.detach(s);else{const l=r[3],c=new eM(l,l[5],l[3]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(e),a=this._lContainer;return K0(a,r,o,i),n.attachToViewContainerRef(),Pa(wg(a),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){const e=tM(this._lContainer);return null!==e?e.indexOf(n):-1}remove(n){const e=this._adjustIndex(n,-1),i=R2(this._lContainer,e);i&&(wa(wg(this._lContainer),e),P2(i[1],i))}detach(n){const e=this._adjustIndex(n,-1),i=R2(this._lContainer,e);return i&&null!=wa(wg(this._lContainer),e)?new F2(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function tM(t){return t[8]}function wg(t){return t[8]||(t[8]=[])}function nM(t,n){let e;const i=n[t.index];return ia(i)?e=i:(e=mS(i,n,null,t),n[t.index]=e,Vp(n,e)),iM(e,n,t,i),new eM(e,t,n)}let iM=function oM(t,n,e,i){if(t[7])return;let r;r=8&e.type?bo(i):function Fq(t,n){const e=t[11],i=e.createComment(""),r=Xr(n,t),o=e.parentNode(r);return d1(e,o,i,e.nextSibling(r),!1),i}(n,e),t[7]=r};class Mg{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new Mg(this.queryList)}setDirty(){this.queryList.setDirty()}}class Tg{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){const e=n.queries;if(null!==e){const i=null!==n.contentQueries?n.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){const a=e.getByIndex(o);r.push(this.queries[a.indexInDeclarationView].clone())}return new Tg(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)null!==Ig(n,e).matches&&this.queries[e].setDirty()}}class aM{flags;read;predicate;constructor(n,e,i=null){this.flags=e,this.read=i,this.predicate="string"==typeof n?function jq(t){return t.split(",").map(n=>n.trim())}(n):n}}class Dg{queries;constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){const r=null!==e?e.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,null!==e?e.push(o):e=[o])}return null!==e?new Dg(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class xg{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,e=-1){this.metadata=n,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new xg(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1&~this.metadata.flags){const e=this._declarationNodeIndex;let i=n.parent;for(;null!==i&&8&i.type&&i.index!==e;)i=i.parent;return e===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(n,e,Uq(e,o)),this.matchTNodeWithReadOption(n,e,df(e,n,o,!1,!1))}else i===Yo?4&e.type&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,df(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===un||r===Da||r===Yo&&4&e.type)this.addMatch(e.index,-2);else{const o=df(e,n,r,!1,!1);null!==o&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(n,e){null===this.matches?this.matches=[n,e]:this.matches.push(n,e)}}function Uq(t,n){const e=t.localNames;if(null!==e)for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1];return null}function qq(t,n,e,i){return-1===e?function Bq(t,n){return 11&t.type?L0(t,n):4&t.type?$f(t,n):null}(n,t):-2===e?function Yq(t,n,e){return e===un?L0(n,t):e===Yo?$f(n,t):e===Da?nM(n,t):void 0}(t,n,i):b2(t,t[1],e,n)}function sM(t,n,e,i){const r=n[18].queries[i];if(null===r.matches){const o=t.data,a=e.matches,s=[];for(let l=0;null!==a&&l<a.length;l+=2){const c=a[l];s.push(c<0?null:qq(n,o[c],a[l+1],e.metadata.read))}r.matches=s}return r.matches}function kg(t,n,e,i){const r=t.queries.getByIndex(e),o=r.matches;if(null!==o){const a=sM(t,n,r,e);for(let s=0;s<o.length;s+=2){const l=o[s];if(l>0)i.push(a[s/2]);else{const c=o[s+1],h=n[-l];for(let g=10;g<h.length;g++){const L=h[g];L[16]===L[3]&&kg(L[1],L,c,i)}if(null!==h[9]){const g=h[9];for(let L=0;L<g.length;L++){const y=g[L];kg(y[1],y,c,i)}}}}}return i}function Eg(t,n){return t[18].queries[n].queryList}function lM(t,n,e){const i=new O0(!(4&~e));return function Om(t,n,e,i){const r=s2(n);r.push(e),t.firstCreatePass&&w0(t).push(i,r.length-1)}(t,n,i,i.destroy),(n[18]??=new Tg).queries.push(new Mg(i))-1}function cM(t,n,e){const i=xn();return i.firstCreatePass&&(dM(i,new aM(t,n,e),-1),!(2&~n)&&(i.staticViewQueries=!0)),lM(i,Le(),n)}function uM(t,n,e,i){const r=xn();if(r.firstCreatePass){const o=bn();dM(r,new aM(n,e,i),o.index),function $q(t,n){const e=t.contentQueries||(t.contentQueries=[]);n!==(e.length?e[e.length-1]:-1)&&e.push(t.queries.length-1,n)}(r,t),!(2&~e)&&(r.staticContentQueries=!0)}return lM(r,Le(),e)}function dM(t,n,e){null===t.queries&&(t.queries=new Dg),t.queries.track(new xg(n,e))}function Ig(t,n){return t.queries.getByIndex(n)}function hM(t,n){const e=t[1],i=Ig(e,n);return i.crossesNgTemplate?kg(e,t,n,[]):sM(e,t,i,n)}function zg(t,n,e){let i;const r=rt(()=>{i._dirtyCounter();const o=function Gq(t,n){const e=t._lView,i=t._queryIndex;if(void 0===e||void 0===i||4&e[2])return n?void 0:ai;const r=Eg(e,i),o=hM(e,i);return r.reset(o,rC),n?r.first:r._changesDetected||void 0===t._flatValue?t._flatValue=r.toArray():t._flatValue}(i,t);if(n&&void 0===o)throw new ge(-951,!1);return o});return i=r[E],i._dirtyCounter=Jr(0),i._flatValue=void 0,r}function fM(t){return zg(!0,!1)}function mM(t){return zg(!0,!0)}function pM(t,n){const e=t[E];e._lView=Le(),e._queryIndex=n,e._queryList=Eg(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}let Su=class{},yM=class{};class Lg extends Su{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ZS(this);constructor(n,e,i,r=!0){super(),this.ngModuleType=n,this._parent=e;const o=Vo(n);this._bootstrapComponents=Yl(o.bootstrap),this._r3Injector=ab(n,e,[{provide:Su,useValue:this},{provide:X0,useValue:this.componentFactoryResolver},...i],ko(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class bM extends yM{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Lg(this.moduleType,n,[])}}class rY extends Su{injector;componentFactoryResolver=new ZS(this);instance=null;constructor(n){super();const e=new Nr([...n.providers,{provide:Su,useValue:this},{provide:X0,useValue:this.componentFactoryResolver}],n.parent||Ft(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Og(t,n,e=null){return new rY({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}let oY=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const i=Cc(0,e.type),r=i.length>0?Og([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=$e({token:t,providedIn:"environment",factory:()=>new t(It(pn))})}return t})();function bt(t){return kc(()=>{const n=wM(t),e={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===ff.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(oY).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ec.Emulated,styles:t.styles||ai,_:null,schemas:t.schemas||null,tView:null,id:""};n.standalone&&Ta("NgStandalone"),SM(e);const i=t.dependencies;return e.directiveDefs=a3(i,CM),e.pipeDefs=a3(i,ta),e.id=function cY(t){let n=0;const i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,"function"==typeof t.consts?"":t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(const o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)|0;return n+=2147483648,"c"+n}(e),e})}function CM(t){return Xn(t)||lo(t)}function vi(t){return kc(()=>({type:t.type,bootstrap:t.bootstrap||ai,declarations:t.declarations||ai,imports:t.imports||ai,exports:t.exports||ai,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function aY(t,n){if(null==t)return Ka;const e={};for(const i in t)if(t.hasOwnProperty(i)){const r=t[i];let o,a,s,l;Array.isArray(r)?(s=r[0],o=r[1],a=r[2]??o,l=r[3]||null):(o=r,a=r,s=Af.None,l=null),e[o]=[i,s,l],n[o]=a}return e}function sY(t){if(null==t)return Ka;const n={};for(const e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function vt(t){return kc(()=>{const n=wM(t);return SM(n),n})}function xa(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function wM(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||Ka,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:!0===t.signals,selectors:t.selectors||ai,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:aY(t.inputs,n),outputs:sY(t.outputs),debugInfo:null}}function SM(t){t.features?.forEach(n=>n(t))}function a3(t,n){return t?()=>{const e="function"==typeof t?t():t,i=[];for(const r of e){const o=n(r);null!==o&&i.push(o)}return i}:null}function Rn(t){let n=function MM(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),e=!0;const i=[t];for(;n;){let r;if(Va(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new ge(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);const a=t;a.inputs=Pg(t.inputs),a.declaredInputs=Pg(t.declaredInputs),a.outputs=Pg(t.outputs);const s=r.hostBindings;s&&mY(t,s);const l=r.viewQuery,c=r.contentQueries;if(l&&hY(t,l),c&&fY(t,c),uY(t,r),zs(t.outputs,r.outputs),Va(r)&&r.data.animation){const h=t.data;h.animation=(h.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let a=0;a<o.length;a++){const s=o[a];s&&s.ngInherit&&s(t),s===Rn&&(e=!1)}}n=Object.getPrototypeOf(n)}!function dY(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){const r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=A0(r.hostAttrs,e=A0(e,r.hostAttrs))}}(i)}function uY(t,n){for(const e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;const i=n.inputs[e];void 0!==i&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e])}}function Pg(t){return t===Ka?{}:t===ai?[]:t}function hY(t,n){const e=t.viewQuery;t.viewQuery=e?(i,r)=>{n(i,r),e(i,r)}:n}function fY(t,n){const e=t.contentQueries;t.contentQueries=e?(i,r,o)=>{n(i,r,o),e(i,r,o)}:n}function mY(t,n){const e=t.hostBindings;t.hostBindings=e?(i,r)=>{n(i,r),e(i,r)}:n}function s3(t){const n=e=>{const i=Array.isArray(t);null===e.hostDirectives?(e.resolveHostDirectives=_Y,e.hostDirectives=i?t.map(Ng):[t]):i?e.hostDirectives.unshift(...t.map(Ng)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function _Y(t){const n=[];let e=!1,i=null,r=null;for(let o=0;o<t.length;o++){const a=t[o];if(null!==a.hostDirectives){const s=n.length;i??=new Map,r??=new Map,TM(a,n,i),r.set(a,[s,n.length-1])}0===o&&Va(a)&&(e=!0,n.push(a))}for(let o=e?1:0;o<t.length;o++)n.push(t[o]);return[n,i,r]}function TM(t,n,e){if(null!==t.hostDirectives)for(const i of t.hostDirectives)if("function"==typeof i){const r=i();for(const o of r)DM(Ng(o),n,e)}else DM(i,n,e)}function DM(t,n,e){const i=lo(t.directive);(function yY(t,n){for(const e in n)n.hasOwnProperty(e)&&(t[n[e]]=t[e])})(i.declaredInputs,t.inputs),TM(i,n,e),e.set(i,t),n.push(i)}function Ng(t){return"function"==typeof t?{directive:mn(t),inputs:Ka,outputs:Ka}:{directive:mn(t.directive),inputs:xM(t.inputs),outputs:xM(t.outputs)}}function xM(t){if(void 0===t||0===t.length)return Ka;const n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n}function EM(t,n,e,i,r,o,a,s){if(e.firstCreatePass){t.mergedAttrs=A0(t.mergedAttrs,t.attrs);const h=t.tView=Fp(2,t,r,o,a,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);null!==e.queries&&(e.queries.template(e,t),h.queries=e.queries.embeddedTView(t))}s&&(t.flags|=s),hl(t,!1);const l=IM(e,n,t,i);K4()&&Jp(e,n,l,t),es(l,n);const c=mS(l,n,l,t);n[i+27]=c,Vp(n,c)}function y1(t,n,e,i,r,o,a,s,l,c,h){const g=e+27;let L;if(n.firstCreatePass){if(L=p1(n,g,4,a||null,s||null),null!=c){const y=qo(n.consts,c);L.localNames=[];for(let x=0;x<y.length;x+=2)L.localNames.push(y[x],-1)}}else L=n.data[g];return EM(L,t,n,e,i,r,o,l),null!=c&&$0(t,L,h),L}function ve(t,n,e,i,r,o,a,s){const l=Le(),c=xn();return function bY(t,n,e,i,r,o,a,s,l,c,h){const g=e+27;let L;n.firstCreatePass?(L=p1(n,g,4,a||null,s||null),u2()&&qS(n,t,L,qo(n.consts,c),ig),Rb(n,L)):L=n.data[g],EM(L,t,n,e,i,r,o,l),cu(L)&&Hf(n,t,L),null!=c&&$0(t,L,h)}(l,c,t,n,e,i,r,qo(c.consts,o),void 0,a,s),ve}function Rg(t,n,e,i,r,o,a,s){const l=Le(),c=xn();return y1(l,c,t,n,e,i,r,qo(c.consts,o),void 0,a,s),Rg}let IM=function zM(t,n,e,i){return d2(!0),n[11].createComment("")};let YM=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const oT=new Ie(""),p3=new Ie("");let $g,Yg=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,i,r){this._ngZone=e,this.registry=i,Xd()&&(this._destroyRef=U(In,{optional:!0})??void 0),$g||(function kj(t){$g=t}(r),r.addToWindow(i)),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}}),i=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{$t.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),i.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(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),e()},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!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,i,r),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}static \u0275fac=function(i){return new(i||t)(It($t),It(jg),It(p3))};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})(),jg=(()=>{class t{_applications=new Map;registerApplication(e,i){this._applications.set(e,i)}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,i=!0){return $g?.findTestabilityInTree(this,e,i)??null}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function th(t){return!!t&&"function"==typeof t.then}function aT(t){return!!t&&"function"==typeof t.subscribe}const sT=new Ie("");let lT=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=U(sT,{optional:!0})??[];injector=U(Vr);constructor(){}runInitializers(){if(this.initialized)return;const e=[];for(const r of this.appInits){const o=Ra(this.injector,r);if(th(o))e.push(o);else if(aT(o)){const a=new Promise((s,l)=>{o.subscribe({complete:s,error:l})});e.push(a)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const Ej=new Ie("");function cT(t,n){return Array.isArray(n)?n.reduce(cT,t):{...t,...n}}let pl=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=U(fl);afterRenderManager=U(Fw);zonelessEnabled=U(cb);rootEffectScheduler=U(hb);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new it;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=U(fu);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(jt(e=>!e))}constructor(){U(O2,{optional:!0})}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=U(pn);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,i){return this.bootstrapImpl(e,i)}bootstrapImpl(e,i,r=Vr.NULL){return this._injector.get($t).run(()=>{Ki(10);const a=e instanceof US;if(!this._injector.get(lT).done)throw new ge(405,"");let l;l=a?e:this._injector.get(X0).resolveComponentFactory(e),this.componentTypes.push(l.componentType);const c=function zj(t){return t.isBoundToModule}(l)?void 0:this._injector.get(Su),g=l.create(r,[],i||l.selector,c),L=g.location.nativeElement,y=g.injector.get(oT,null);return y?.registerApplication(L),g.onDestroy(()=>{this.detachView(g.hostView),g3(this.components,g),y?.unregisterApplication(L)}),this._loadComponent(g),Ki(11,g),g})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Ki(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(qp.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new ge(101,!1);const e=A(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,A(e),this.afterTick.next(),Ki(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Bs,null,{optional:!0}));let e=0;for(;0!==this.dirtyFlags&&e++<10;)Ki(14),this.synchronizeOnce(),Ki(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(7&this.dirtyFlags){const i=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews)(i||t1(r))&&(jf(r,i&&!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})=>t1(e))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;g3(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(e),this._injector.get(Ej,[]).forEach(r=>r(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),()=>g3(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ge(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function g3(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function gt(t,n,e,i){const r=Le();return Er(r,d(),n)&&(xn(),function HU(t,n,e,i,r,o){const a=Xr(t,n);!function Vf(t,n,e,i,r,o,a){if(null==o)t.removeAttribute(n,r,e);else{const s=null==a?yt(o):a(o,i||"",r);t.setAttribute(n,r,s,e)}}(n[11],a,o,t.value,e,i,r)}(Fl(),r,t,n,e,i)),gt}typeof document<"u"&&document;class k${destroy(n){}updateValue(n,e){}swap(n,e){const i=Math.min(n,e),r=Math.max(n,e),o=this.detach(r);if(r-i>1){const a=this.detach(i);this.attach(i,o),this.attach(r,a)}else this.attach(i,o)}move(n,e){this.attach(e,this.detach(n))}}function i5(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function r5(t,n,e,i){return!(void 0===n||!n.has(i)||(t.attach(e,n.get(i)),n.delete(i),0))}function wT(t,n,e,i,r){if(r5(t,n,i,e(i,r)))t.updateValue(i,r);else{const o=t.create(i,r);t.attach(i,o)}}function ST(t,n,e,i){const r=new Set;for(let o=n;o<=e;o++)r.add(i(o,t.at(o)));return r}class MT{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const e=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),void 0!==this._vMap){const r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e)}}}function lt(t,n,e,i,r,o,a,s){Ta("NgControlFlow");const l=Le(),c=xn();return y1(l,c,t,n,e,i,r,qo(c.consts,o),256,a,s),o5}function o5(t,n,e,i,r,o,a,s){Ta("NgControlFlow");const l=Le(),c=xn();return y1(l,c,t,n,e,i,r,qo(c.consts,o),512,a,s),o5}function ct(t,n){Ta("NgControlFlow");const e=Le(),i=d(),r=e[i]!==Hi?e[i]:-1,o=-1!==r?T3(e,27+r):void 0;if(Er(e,i,t)){const s=A(null);try{if(void 0!==o&&ag(o,0),-1!==t){const l=27+t,c=T3(e,l),h=a5(e[1],l),g=null;K0(c,W0(e,h,n,{dehydratedView:g}),0,m1(h,g))}}finally{A(s)}}else if(void 0!==o){const s=pS(o,0);void 0!==s&&(s[8]=n)}}class I${lContainer;$implicit;$index;constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-10}}function Ic(t){return t}function x1(t,n){return n}class z${hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}}function Ti(t,n,e,i,r,o,a,s,l,c,h,g,L){Ta("NgControlFlow");const y=Le(),x=xn(),B=void 0!==l,ee=Le(),re=s?a.bind(ee[15][8]):a,ae=new z$(B,re);ee[27+t]=ae,y1(y,x,t+1,n,e,i,r,qo(x.consts,o),256),B&&y1(y,x,t+2,l,c,h,g,qo(x.consts,L),512)}class A$ extends k${lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i}get length(){return this.lContainer.length-10}at(n){return this.getLView(n)[8].$implicit}attach(n,e){const i=e[6];this.needsIndexUpdate||=n!==this.length,K0(this.lContainer,e,n,m1(this.templateTNode,i)),function L$(t,n){if(t.length<=10)return;const i=t[10+n],r=i?i[26]:void 0;i&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0&&(function wU(t,n){const e=t.get(Pf);if(n.detachedLeaveAnimationFns){for(const i of n.detachedLeaveAnimationFns)e.queue.delete(i);n.detachedLeaveAnimationFns=void 0}}(i[9],r),h1.delete(i),r.detachedLeaveAnimationFns=void 0)}(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function O$(t,n){if(t.length<=10)return;const i=t[10+n],r=i?i[26]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}(this.lContainer,n),function P$(t,n){return R2(t,n)}(this.lContainer,n)}create(n,e){const r=W0(this.hostLView,this.templateTNode,new I$(this.lContainer,e,n),{dehydratedView:null});return this.operationsCounter?.recordCreate(),r}destroy(n){P2(n[1],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[8].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[8].$index=n}getLView(n){return function N$(t,n){return pS(t,n)}(this.lContainer,n)}}function Di(t){const n=A(null),e=oa();try{const i=Le(),r=i[1],o=i[e],a=e+1,s=T3(i,a);if(void 0===o.liveCollection){const c=a5(r,a);o.liveCollection=new A$(s,i,c)}else o.liveCollection.reset();const l=o.liveCollection;if(function E$(t,n,e){let i,r,o=0,a=t.length-1;if(Array.isArray(n)){let l=n.length-1;for(;o<=a&&o<=l;){const c=t.at(o),h=n[o],g=i5(o,c,o,h,e);if(0!==g){g<0&&t.updateValue(o,h),o++;continue}const L=t.at(a),y=n[l],x=i5(a,L,l,y,e);if(0!==x){x<0&&t.updateValue(a,y),a--,l--;continue}const B=e(o,c),ee=e(a,L),re=e(o,h);if(Object.is(re,ee)){const ae=e(l,y);Object.is(ae,B)?(t.swap(o,a),t.updateValue(a,y),l--,a--):t.move(a,o),t.updateValue(o,h),o++;continue}if(i??=new MT,r??=ST(t,o,a,e),r5(t,i,o,re))t.updateValue(o,h),o++,a++;else if(r.has(re))i.set(B,t.detach(o)),a--;else{const ae=t.create(o,n[o]);t.attach(o,ae),o++,a++}}for(;o<=l;)wT(t,i,e,o,n[o]),o++}else if(null!=n){const l=n[Symbol.iterator]();let c=l.next();for(;!c.done&&o<=a;){const h=t.at(o),g=c.value,L=i5(o,h,o,g,e);if(0!==L)L<0&&t.updateValue(o,g),o++,c=l.next();else{i??=new MT,r??=ST(t,o,a,e);const y=e(o,g);if(r5(t,i,o,y))t.updateValue(o,g),o++,a++,c=l.next();else if(r.has(y)){const x=e(o,h);i.set(x,t.detach(o)),a--}else t.attach(o,t.create(o,g)),o++,a++,c=l.next()}}for(;!c.done;)wT(t,i,e,t.length,c.value),c=l.next()}for(;o<=a;)t.destroy(t.detach(a--));i?.forEach(l=>{t.destroy(l)})}(l,t,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){const c=d(),h=0===l.length;if(Er(i,c,h)){const g=e+2,L=T3(i,g);if(h){const y=a5(r,g),x=null;K0(L,W0(i,y,void 0,{dehydratedView:x}),0,m1(y,x))}else r.firstUpdatePass&&function Xf(t){const n=t[6]??[],i=t[3][11],r=[];for(const o of n)void 0!==o.data.di?r.push(o):PS(o,i);t[6]=r}(L),ag(L,0)}}}finally{A(n)}}function T3(t,n){return t[n]}function a5(t,n){return Dc(t,n)}function N(t,n,e){const i=Le();return Er(i,d(),n)&&(xn(),tg(Fl(),i,t,n,i[11],e)),N}function s5(t,n,e,i,r){qf(n,t,e,r?"class":"style",i)}function J(t,n,e,i){const r=Le(),o=r[1],a=t+27,s=o.firstCreatePass?yg(a,r,2,n,ig,u2(),e,i):o.data[a];if(Uf(s,r,t,n,l5),cu(s)){const l=r[1];Hf(l,r,s),Dp(l,s,r)}return null!=i&&$0(r,s),J}function te(){const t=xn(),e=Bf(bn());return t.firstCreatePass&&bg(t,e),Y4(e)&&Rl(),B4(),null!=e.classesWithoutHost&&function wF(t){return!!(8&t.flags)}(e)&&s5(t,e,Le(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function SF(t){return!!(16&t.flags)}(e)&&s5(t,e,Le(),e.stylesWithoutHost,!1),te}function He(t,n,e,i){return J(t,n,e,i),te(),He}function ni(t,n,e,i){const r=Le(),o=r[1],a=t+27,s=o.firstCreatePass?function GS(t,n,e,i,r,o){const a=n.consts,l=p1(n,t,e,i,qo(a,r));if(l.mergedAttrs=A0(l.mergedAttrs,l.attrs),null!=o){const c=qo(a,o);l.localNames=[];for(let h=0;h<c.length;h+=2)l.localNames.push(c[h],-1)}return null!==l.attrs&&t3(l,l.attrs,!1),null!==l.mergedAttrs&&t3(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(a,o,2,n,e,i):o.data[a];return Uf(s,r,t,n,l5),null!=i&&$0(r,s),ni}function ii(){return Y4(Bf(bn()))&&Rl(),B4(),ii}function Ur(t,n,e,i){return ni(t,n,e,i),ii(),Ur}let l5=(t,n,e,i,r)=>(d2(!0),Ef(n[11],i,function SR(){return gn.lFrame.currentNamespace}()));function Ge(t,n,e){const i=Le(),r=i[1],o=t+27,a=r.firstCreatePass?yg(o,i,8,"ng-container",ig,u2(),n,e):r.data[o];if(Uf(a,i,t,"ng-container",u5),cu(a)){const s=i[1];Hf(s,i,a),Dp(s,a,i)}return null!=e&&$0(i,a),Ge}function Ye(){const t=xn(),e=Bf(bn());return t.firstCreatePass&&bg(t,e),Ye}function Ua(t,n,e){return Ge(t,n,e),Ye(),Ua}let u5=(t,n,e,i,r)=>(d2(!0),Np(n[11],""));function tt(){return Le()}function Xi(t,n,e){const i=Le();return Er(i,d(),n)&&(xn(),ng(Fl(),i,t,n,i[11],e)),Xi}function ih(t,n,e){const i=Le();if(Er(i,d(),n)){const o=xn(),a=Fl();ng(a,i,t,n,function oS(t,n,e){return(null===t||Va(t))&&(e=function zm(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(e[n.index])),e[11]}(Ut(o.data),a,i),e)}return ih}const D3=void 0;var V$=["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"]],D3,[["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"]],D3,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",D3,"{1} 'at' {0}",D3],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function H$(t){const n=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===e?1:5}];let ld={};function Ba(t){const n=function B$(t){return t.toLowerCase().replace(/_/g,"-")}(t);let e=kT(n);if(e)return e;const i=n.split("-")[0];if(e=kT(i),e)return e;if("en"===i)return V$;throw new ge(701,!1)}function kT(t){return t in ld||(ld[t]=pi.ng&&pi.ng.common&&pi.ng.common.locales&&pi.ng.common.locales[t]),ld[t]}var Ir=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Ir||{});const x3="en-US";let ET=x3;function Ne(t,n,e){const i=Le(),r=xn(),o=bn();return f5(r,i,i[11],o,t,n,e),Ne}function hr(t,n,e){const i=Le(),r=xn(),o=bn();return(3&o.type||e)&&QS(o,r,i,e,i[11],t,n,K2(o,i,n)),hr}function f5(t,n,e,i,r,o,a){let s=!0,l=null;if((3&i.type||a)&&(l??=K2(i,n,o),QS(i,t,n,a,e,r,o,l)&&(s=!1)),s){const c=i.outputs?.[r],h=i.hostDirectiveOutputs?.[r];if(h&&h.length)for(let g=0;g<h.length;g+=2){const L=h[g],y=h[g+1];l??=K2(i,n,o),r3(i,n,L,y,r,l)}if(c&&c.length)for(const g of c)l??=K2(i,n,o),r3(i,n,g,r,r,l)}}function k(t=1){return function _R(t){return(gn.lFrame.contextLView=function Rs(t,n){for(;t>0;)n=n[14],t--;return n}(t,gn.lFrame.contextLView))[8]}(t)}function kW(t,n){let e=null;const i=function ZV(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(!(1&e))return n[e+1]}return null}(t);for(let r=0;r<n.length;r++){const o=n[r];if("*"!==o){if(null===i?Mw(t,o,!0):tU(i,o))return r}else e=r}return e}function ka(t){const n=Le()[15][5];if(!n.projection){const i=n.projection=function yc(t,n){const e=[];for(let i=0;i<t;i++)e.push(n);return e}(t?t.length:1,null),r=i.slice();let o=n.child;for(;null!==o;){if(128!==o.type){const a=t?kW(o,t):0;null!==a&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o)}o=o.next}}}function Io(t,n=0,e,i,r,o){const a=Le(),s=xn(),l=i?t+1:null;null!==l&&y1(a,s,l,i,r,o,null,e);const c=p1(s,27+t,16,null,e||null);null===c.projection&&(c.projection=n),xc();const g=!a[6]||q4();null===a[15][5].projection[c.projection]&&null!==l?function EW(t,n,e){const i=27+e,r=n.data[i],o=t[i];K0(o,W0(t,r,void 0,{dehydratedView:null}),0,m1(r,null))}(a,s,l):g&&!yf(c)&&function EU(t,n,e){eS(n[11],0,n,e,Xp(t,e,n),Kw(e.parent||n[5],e,n))}(s,a,c)}function qa(t,n,e,i){uM(t,n,e,i)}function Ai(t,n,e){cM(t,n,e)}function zn(t){const n=Le(),e=xn(),i=En();gi(i+1);const r=Ig(e,i);if(t.dirty&&function r2(t){return!(4&~t[2])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)t.reset([]);else{const o=hM(n,i);t.reset(o,rC),t.notifyOnChanges()}return!0}return!1}function An(){return Eg(Le(),En())}function m5(t,n,e,i,r){pM(n,uM(t,e,i,r))}function A3(t=1){gi(En()+t)}function fr(t){return Yn(function $4(){return gn.lFrame.contextLView}(),27+t)}function L3(t,n){return t<<17|n<<2}function k1(t){return t>>17&32767}function p5(t){return 2|t}function cd(t){return(131068&t)>>2}function g5(t,n){return-131069&t|n<<2}function v5(t){return 1|t}function QT(t,n,e,i){const r=t[e+1],o=null===n;let a=i?k1(r):cd(r),s=!1;for(;0!==a&&(!1===s||o);){const c=t[a+1];PW(t[a],n)&&(s=!0,t[a+1]=i?v5(c):p5(c)),a=i?k1(c):cd(c)}s&&(t[e+1]=i?p5(r):v5(r))}function PW(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&Eo(t,n)>=0}const zo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function XT(t){return t.substring(zo.key,zo.keyEnd)}function NW(t){return t.substring(zo.value,zo.valueEnd)}function ZT(t,n){const e=zo.textEnd;return e===n?-1:(n=zo.keyEnd=function HW(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}(t,zo.key=n,e),ud(t,n,e))}function JT(t,n){const e=zo.textEnd;let i=zo.key=ud(t,n,e);return e===i?-1:(i=zo.keyEnd=function VW(t,n,e){let i;for(;n<e&&(45===(i=t.charCodeAt(n))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)n++;return n}(t,i,e),i=tD(t,i,e),i=zo.value=ud(t,i,e),i=zo.valueEnd=function UW(t,n,e){let i=-1,r=-1,o=-1,a=n,s=a;for(;a<e;){const l=t.charCodeAt(a++);if(59===l)return s;34===l||39===l?s=a=nD(t,l,a,e):n===a-4&&85===o&&82===r&&76===i&&40===l?s=a=nD(t,41,a,e):l>32&&(s=a),o=r,r=i,i=-33&l}return s}(t,i,e),tD(t,i,e))}function eD(t){zo.key=0,zo.keyEnd=0,zo.value=0,zo.valueEnd=0,zo.textEnd=t.length}function ud(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function tD(t,n,e,i){return(n=ud(t,n,e))<e&&n++,n}function nD(t,n,e,i){let r=-1,o=e;for(;o<i;){const a=t.charCodeAt(o++);if(a==n&&92!==r)return o;r=92==a&&92===r?0:a}throw new Error}function Zi(t,n,e){return iD(t,n,e,!1),Zi}function Bt(t,n){return iD(t,n,null,!0),Bt}function Mi(t){rD(sD,BW,t,!1)}function BW(t,n){for(let e=function FW(t){return eD(t),JT(t,ud(t,0,zo.textEnd))}(n);e>=0;e=JT(n,e))sD(t,XT(n),NW(n))}function Oe(t){rD(KW,qW,t,!0)}function qW(t,n){for(let e=function RW(t){return eD(t),ZT(t,ud(t,0,zo.textEnd))}(n);e>=0;e=ZT(n,e))ti(t,XT(n),!0)}function iD(t,n,e,i){const r=Le(),o=xn(),a=m(2);o.firstUpdatePass&&aD(o,t,a,i),n!==Hi&&Er(r,a,n)&&lD(o,o.data[oa()],r,r[11],t,r[a+1]=function XW(t,n){return null==t||""===t||("string"==typeof n?t+=n:"object"==typeof t&&(t=ko(_s(t)))),t}(n,e),i,a)}function rD(t,n,e,i){const r=xn(),o=m(2);r.firstUpdatePass&&aD(r,null,o,i);const a=Le();if(e!==Hi&&Er(a,o,e)){const s=r.data[oa()];if(uD(s,i)&&!oD(r,o)){let l=i?s.classesWithoutHost:s.stylesWithoutHost;null!==l&&(e=cc(l,e||"")),s5(r,s,a,e,i)}else!function QW(t,n,e,i,r,o,a,s){r===Hi&&(r=ai);let l=0,c=0,h=0<r.length?r[0]:null,g=0<o.length?o[0]:null;for(;null!==h||null!==g;){const L=l<r.length?r[l+1]:void 0,y=c<o.length?o[c+1]:void 0;let B,x=null;h===g?(l+=2,c+=2,L!==y&&(x=g,B=y)):null===g||null!==h&&h<g?(l+=2,x=h):(c+=2,x=g,B=y),null!==x&&lD(t,n,e,i,x,B,a,s),h=l<r.length?r[l]:null,g=c<o.length?o[c]:null}}(r,s,a,a[11],a[o+1],a[o+1]=function GW(t,n,e){if(null==e||""===e)return ai;const i=[],r=_s(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&t(i,o,r[o]);else"string"==typeof r&&n(i,r);return i}(t,n,e),i,o)}}function oD(t,n){return n>=t.expandoStartIndex}function aD(t,n,e,i){const r=t.data;if(null===r[e+1]){const o=r[oa()],a=oD(t,e);uD(o,i)&&null===n&&!a&&(n=!1),n=function YW(t,n,e,i){const r=Ut(t);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(e=lh(e=_5(null,t,n,e,i),n.attrs,i),o=null);else{const a=n.directiveStylingLast;if(-1===a||t[a]!==r)if(e=_5(r,t,n,e,i),null===o){let l=function jW(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==cd(i))return t[k1(i)]}(t,n,i);void 0!==l&&Array.isArray(l)&&(l=_5(null,t,n,l[1],i),l=lh(l,n.attrs,i),function $W(t,n,e,i){t[k1(e?n.classBindings:n.styleBindings)]=i}(t,n,i,l))}else o=function WW(t,n,e){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++)i=lh(i,t[o].hostAttrs,e);return lh(i,n.attrs,e)}(t,n,i)}return void 0!==o&&(i?n.residualClasses=o:n.residualStyles=o),e}(r,o,n,i),function LW(t,n,e,i,r,o){let a=o?n.classBindings:n.styleBindings,s=k1(a),l=cd(a);t[i]=e;let h,c=!1;if(Array.isArray(e)?(h=e[1],(null===h||Eo(e,h)>0)&&(c=!0)):h=e,r)if(0!==l){const L=k1(t[s+1]);t[i+1]=L3(L,s),0!==L&&(t[L+1]=g5(t[L+1],i)),t[s+1]=function zW(t,n){return 131071&t|n<<17}(t[s+1],i)}else t[i+1]=L3(s,0),0!==s&&(t[s+1]=g5(t[s+1],i)),s=i;else t[i+1]=L3(l,0),0===s?s=i:t[l+1]=g5(t[l+1],i),l=i;c&&(t[i+1]=p5(t[i+1])),QT(t,h,i,!0),QT(t,h,i,!1),function OW(t,n,e,i,r){const o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof n&&Eo(o,n)>=0&&(e[i+1]=v5(e[i+1]))}(n,h,t,i,o),a=L3(s,l),o?n.classBindings=a:n.styleBindings=a}(r,o,n,e,a,i)}}function _5(t,n,e,i,r){let o=null;const a=e.directiveEnd;let s=e.directiveStylingLast;for(-1===s?s=e.directiveStart:s++;s<a&&(o=n[s],i=lh(i,o.hostAttrs,r),o!==t);)s++;return null!==t&&(e.directiveStylingLast=s),i}function lh(t,n,e){const i=e?1:2;let r=-1;if(null!==n)for(let o=0;o<n.length;o++){const a=n[o];"number"==typeof a?r=a:r===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),ti(t,a,!!e||n[++o]))}return void 0===t?null:t}function sD(t,n,e){ti(t,n,_s(e))}function KW(t,n,e){const i=String(n);""!==i&&!i.includes(" ")&&ti(t,i,e)}function lD(t,n,e,i,r,o,a,s){if(!(3&n.type))return;const l=t.data,c=l[s+1],h=function AW(t){return!(1&~t)}(c)?cD(l,n,e,r,cd(c),a):void 0;O3(h)||(O3(o)||function IW(t){return!(2&~t)}(c)&&(o=cD(l,null,e,r,s,a)),function zU(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=-1===i.indexOf("-")?void 0:yu.DashCase;null==r?t.removeStyle(e,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=yu.Important),t.setStyle(e,i,r,o))}}(i,a,Ze(oa(),e),r,o))}function cD(t,n,e,i,r,o){const a=null===n;let s;for(;r>0;){const l=t[r],c=Array.isArray(l),h=c?l[1]:l,g=null===h;let L=e[r+1];L===Hi&&(L=g?ai:void 0);let y=g?rl(L,i):h===i?L:void 0;if(c&&!O3(y)&&(y=rl(l,i)),O3(y)&&(s=y,a))return s;const x=t[r+1];r=a?k1(x):cd(x)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(s=rl(l,i))}return s}function O3(t){return void 0!==t}function uD(t,n){return!!(t.flags&(n?8:16))}function Pe(t,n=""){const e=Le(),i=xn(),r=t+27,o=i.firstCreatePass?p1(i,r,1,n,null):i.data[r],a=dD(i,e,o,n,t);e[r]=a,K4()&&Jp(i,e,a,o),hl(o,!1)}let dD=(t,n,e,i,r)=>(d2(!0),function Pp(t,n){return t.createText(n)}(n[11],i));function fD(t,n,e,i=""){return Er(t,d(),e)?n+yt(e)+i:Hi}function gD(t,n,e,i,r,o,a,s,l,c=""){const g=function qs(t,n,e,i,r,o){const a=_1(t,n,e,i);return _1(t,n+2,r,o)||a}(t,Za(),e,r,a,l);return m(4),g?n+yt(e)+i+yt(r)+o+yt(a)+s+yt(l)+c:Hi}function ln(t){return zt("",t),ln}function zt(t,n,e){const i=Le(),r=fD(i,t,n,e);return r!==Hi&&function zc(t,n,e){const i=Ze(n,t);!function hw(t,n,e){t.setValue(n,e)}(t[11],i,e)}
/*!
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.dev/license
       */(i,oa(),r),zt}function Vi(t,n,e){lb(n)&&(n=n());const i=Le();return Er(i,d(),n)&&(xn(),tg(Fl(),i,t,n,i[11],e)),Vi}function Ji(t,n){const e=lb(t);return e&&t.set(n),e}function Ui(t,n){const e=Le(),i=xn(),r=bn();return f5(i,e,e[11],r,t,n),Ui
/*!
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.dev/license
       */}
/*!
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.dev/license
       */
function Mt(t){return Er(Le(),d(),t)?yt(t):Hi}function pe(t,n,e=""){return fD(Le(),t,n,e)}function $l(t,n,e,i,r=""){return function mD(t,n,e,i,r,o=""){const s=_1(t,Za(),e,r);return m(2),s?n+yt(e)+i+yt(r)+o:Hi}(Le(),t,n,e,i,r)}function y5(t,n,e,i,r){if(t=mn(t),Array.isArray(t))for(let o=0;o<t.length;o++)y5(t[o],n,e,i,r);else{const o=xn(),a=Le(),s=bn();let l=wt(t)?t:mn(t.provide);const c=ol(t),h=1048575&s.providerIndexes,g=s.directiveStart,L=s.providerIndexes>>20;if(wt(t)||!t.multi){const y=new v2(c,r,xe,null),x=C5(l,n,r?h:h+L,g);-1===x?(ep(cf(s,a),o,l),b5(o,t,n.length),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(y),a.push(y)):(e[x]=y,a[x]=y)}else{const y=C5(l,n,h+L,g),x=C5(l,n,h,h+L),ee=x>=0&&e[x];if(r&&!ee||!r&&!(y>=0&&e[y])){ep(cf(s,a),o,l);const re=function dG(t,n,e,i,r){const a=new v2(t,e,xe,null);return a.multi=[],a.index=n,a.componentProviders=0,AD(a,r,i&&!e),a}(r?uG:cG,e.length,r,i,c);!r&&ee&&(e[x].providerFactory=re),b5(o,t,n.length,0),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(re),a.push(re)}else b5(o,t,y>-1?y:x,AD(e[r?x:y],c,!r&&i));!r&&i&&ee&&e[x].componentProviders++}}}function b5(t,n,e,i){const r=wt(n),o=function pt(t){return!!t.useClass}(n);if(r||o){const l=(o?mn(n.useClass):n).prototype.ngOnDestroy;if(l){const c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){const h=c.indexOf(e);-1===h?c.push(e,[i,l]):c[h+1].push(i,l)}else c.push(e,l)}}}function AD(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function C5(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function cG(t,n,e,i,r){return w5(this.multi,[])}function uG(t,n,e,i,r){const o=this.multi;let a;if(this.providerFactory){const s=this.providerFactory.componentProviders,l=b2(i,i[1],this.providerFactory.index,r);a=l.slice(0,s),w5(o,a);for(let c=s;c<l.length;c++)a.push(l[c])}else a=[],w5(o,a);return a}function w5(t,n){for(let e=0;e<t.length;e++)n.push((0,t[e])());return n}function jn(t,n=[]){return e=>{e.providersResolver=(i,r)=>function lG(t,n,e){const i=xn();if(i.firstCreatePass){const r=Va(t);y5(e,i.data,i.blueprint,r,!0),y5(n,i.data,i.blueprint,r,!1)}}(i,r?r(t):t,n)}}function Ac(t,n,e){const i=Zr()+t,r=Le();return r[i]===Hi?jl(r,i,e?n.call(e):n()):function G2(t,n){return t[n]}(r,i)}function Fr(t,n,e,i){return PD(Le(),Zr(),t,n,e,i)}function ch(t,n){const e=t[n];return e===Hi?void 0:e}function PD(t,n,e,i,r,o){const a=n+e;return Er(t,a,r)?jl(t,a+1,o?i.call(o,r):i(r)):ch(t,a+1)}function uo(t,n){const e=xn();let i;const r=t+27;e.firstCreatePass?(i=function wG(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=Fo(i.type)),s=Ot(xe);try{const l=lf(!1),c=o();return lf(l),function uu(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,Le(),r,c),c}finally{Ot(s)}}function jo(t,n,e){const i=t+27,r=Le(),o=Yn(r,i);return uh(r,i)?PD(r,Zr(),n,o.transform,e,o):o.transform(e)}function N3(t,n,e,i){const r=t+27,o=Le(),a=Yn(o,r);return uh(o,r)?function ND(t,n,e,i,r,o,a){const s=n+e;return _1(t,s,r,o)?jl(t,s+2,a?i.call(a,r,o):i(r,o)):ch(t,s+2)}(o,Zr(),n,a.transform,e,i,a):a.transform(e,i)}function uh(t,n){return t[1].data[n].pure}function ho(t,n){return $f(t,n)}class JG{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let eK=(()=>{class t{compileModuleSync(e){return new bM(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=Yl(Vo(e).declarations).reduce((a,s)=>{const l=Xn(s);return l&&a.push(new o3(l)),a},[]);return new JG(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),nK=(()=>{class t{zone=U($t);changeDetectionScheduler=U(r1);applicationRef=U(pl);applicationErrorHandler=U(fl);_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(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ix({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new $t({...x5(),scheduleInRootZone:e}),[{provide:$t,useFactory:t},{provide:ps,multi:!0,useFactory:()=>{const i=U(nK,{optional:!0});return()=>i.initialize()}},{provide:ps,multi:!0,useFactory:()=>{const i=U(rK);return()=>{i.initialize()}}},!0===n?{provide:ub,useValue:!0}:[],{provide:db,useValue:e??Aw},{provide:fl,useFactory:()=>{const i=U($t),r=U(pn);let o;return a=>{i.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw a}):(o??=r.get(S0),o.handleError(a))})}}}]}function x5(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let rK=(()=>{class t{subscription=new Vt;initialized=!1;zone=U($t);pendingTasks=U(fu);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(()=>{$t.assertNotInAngularZone(),queueMicrotask(()=>{null!==e&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{$t.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ax=(()=>{class t{applicationErrorHandler=U(fl);appRef=U(pl);taskService=U(fu);ngZone=U($t);zonelessEnabled=U(cb);tracing=U(O2,{optional:!0});disableScheduling=U(ub,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Vt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Of):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(U(db,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Wp||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&5===e)return;let i=!1;switch(e){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,i=!0;break;case 12:this.appRef.dirtyFlags|=16,i=!0;break;case 11:i=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;const r=this.useMicrotaskScheduler?Ow:Lw;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Of+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(i){this.taskService.remove(e),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Ow(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const xu=new Ie("",{providedIn:"root",factory:()=>U(xu,{optional:!0,skipSelf:!0})||function oK(){return typeof $localize<"u"&&$localize.locale||x3}()}),ux="browser";function A5(t){return t===ux}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
const K3=Symbol("InputSignalNode#UNSET"),Jx={...$i,transformFn:void 0,applyValueToInputSignal(t,n){ki(t,n)}};function ek(t,n){const e=Object.create(Jx);function i(){if(X(e),e.value===K3)throw new ge(-950,null);return e.value}return e.value=t,e.transformFn=n?.transform,i[E]=e,i}
/*!
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.dev/license
       */
class AX{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>C2(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}const tk=new Ie("");function nk(t,n){return ek(t,n)}tk.__NG_ELEMENT_ID__=t=>{const n=bn();if(null===n)throw new ge(204,!1);if(2&n.type)return n.value;if(8&t)return null;throw new ge(204,!1)};const Lc=(nk.required=function LX(t){return ek(K3,t)},nk);function ik(t,n){return fM()}const PX=(ik.required=function OX(t,n){return mM()},ik);function rk(t,n){return fM()}const RX=(rk.required=function NX(t,n){return mM()},rk);const Q3=new Ie(""),qX=new Ie("");function vh(t){return!t.moduleRef}let uk;function dk(){uk=YX}function YX(t,n){const e=t.injector.get(pl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new ge(-403,!1);t.instance.ngDoBootstrap(e)}n.push(t)}let hk=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,i){const r=i?.scheduleInRootZone,a=i?.ignoreChangesOutsideZone,s=[ix({ngZoneFactory:()=>function yU(t="zone.js",n){return"noop"===t?new Wp:"zone.js"===t?new $t(n):t}(i?.ngZone,{...x5({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}),scheduleInRootZone:r}),ignoreChangesOutsideZone:a}),{provide:r1,useExisting:ax},TR],l=function iY(t,n,e){return new Lg(t,n,e,!1)}(e.moduleType,this.injector,s);return dk(),function ck(t){const n=vh(t)?t.r3Injector:t.moduleRef.injector,e=n.get($t);return e.run(()=>{vh(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();const i=n.get(fl);let r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:i})}),vh(t)){const o=()=>n.destroy(),a=t.platformInjector.get(Q3);a.add(o),n.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{const o=()=>t.moduleRef.destroy(),a=t.platformInjector.get(Q3);a.add(o),t.moduleRef.onDestroy(()=>{g3(t.allPlatformModules,t.moduleRef),r.unsubscribe(),a.delete(o)})}return function jX(t,n,e){try{const i=e();return th(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t(i)),i}}(i,e,()=>{const o=n.get(fu),a=o.add(),s=n.get(lT);return s.runInitializers(),s.donePromise.then(()=>{if(function $$(t){"string"==typeof t&&(ET=t.toLowerCase().replace(/_/g,"-"))}(n.get(xu,x3)||x3),!n.get(qX,!0))return vh(t)?n.get(pl):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(vh(t)){const h=n.get(pl);return void 0!==t.rootComponent&&h.bootstrap(t.rootComponent),h}return uk?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{o.remove(a)})})})}({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,i=[]){const r=cT({},i);return dk(),function HX(t,n,e){const i=new bM(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ge(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(Q3,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(i){return new(i||t)(It(Vr))};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),pd=null;function fk(t,n,e=[]){const i=`Platform: ${n}`,r=new Ie(i);return(o=[])=>{let a=X3();if(!a){const s=[...e,...o,{provide:r,useValue:!0}];a=t?.(s)??function $X(t){if(X3())throw new ge(400,!1);(function Ij(){!function Vn(t){an=t}(()=>{throw new ge(600,"")})})(),pd=t;const n=t.get(hk);return function pk(t){const n=t.get(MC,null);Ra(t,()=>{n?.forEach(e=>e())})}(t),n}(function mk(t=[],n){return Vr.create({name:n,providers:[{provide:tn,useValue:"platform"},{provide:Q3,useValue:new Set([()=>pd=null])},...t]})}(s,i))}return function WX(){const n=X3();if(!n)throw new ge(-401,!1);return n}()}}function X3(){return pd?.get(hk)??null}let Cr=(()=>class t{static __NG_ELEMENT_ID__=KX})();function KX(t){return function QX(t,n,e){if(cl(t)&&!e){const i=Bo(t.index,n);return new F2(i,i)}return 175&t.type?new F2(n[15],n):null}(bn(),Le(),!(16&~t))}class _k{constructor(){}supports(n){return n3(n)}create(n){return new ZX(n)}}const XX=(t,n)=>n;class ZX{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(n){this._trackByFn=n||XX}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const a=!i||e&&e.currentIndex<bk(i,r,o)?e:i,s=bk(a,r,o),l=a.currentIndex;if(a===i)r--,i=i._nextRemoved;else if(e=e._next,null==a.previousIndex)r++;else{o||(o=[]);const c=s-r,h=l-r;if(c!=h){for(let L=0;L<c;L++){const y=L<o.length?o[L]:o[L]=0,x=y+L;h<=x&&x<c&&(o[L]=y+1)}o[a.previousIndex]=h-c}}s!==l&&n(a,s,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)n(e)}diff(n){if(null==n&&(n=[]),!n3(n))throw new ge(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let r,o,a,e=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(let s=0;s<this.length;s++)o=n[s],a=this._trackByFn(s,o),null!==e&&Object.is(e.trackById,a)?(i&&(e=this._verifyReinsertion(e,o,a,s)),Object.is(e.item,o)||this._addIdentityChange(e,o)):(e=this._mismatch(e,o,a,s),i=!0),e=e._next}else r=0,function pq(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{const e=t[Symbol.iterator]();let i;for(;!(i=e.next()).done;)n(i.value)}}(n,s=>{a=this._trackByFn(r,s),null!==e&&Object.is(e.trackById,a)?(i&&(e=this._verifyReinsertion(e,s,a,r)),Object.is(e.item,s)||this._addIdentityChange(e,s)):(e=this._mismatch(e,s,a,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new JX(e,i),o,r),n}_verifyReinsertion(n,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=e}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(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const r=null===e?this._itHead:e._next;return n._next=r,n._prev=e,null===r?this._itTail=n:r._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new yk),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new yk),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class JX{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(n,e){this.item=n,this.trackById=e}}class eZ{_head=null;_tail=null;add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class yk{map=new Map;put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new eZ,this.map.set(e,i)),i.add(n)}get(n,e){const r=this.map.get(n);return r?r.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function bk(t,n,e){const i=t.previousIndex;if(null===i)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+n+r}class Ck{constructor(){}supports(n){return n instanceof Map||Cg(n)}create(){return new tZ}}class tZ{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(n){let e;for(e=this._mapHead;null!==e;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)n(e)}diff(n){if(n){if(!(n instanceof Map||Cg(n)))throw new ge(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,r)=>{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;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(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,e);const o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}const i=new nZ(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class nZ{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}}function wk(){return new Y5([new _k])}let Y5=(()=>{class t{factories;static \u0275prov=$e({token:t,providedIn:"root",factory:wk});constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{const i=U(t,{optional:!0,skipSelf:!0});return t.create(e,i||wk())}}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new ge(901,!1)}}return t})();function Sk(){return new Z3([new Ck])}let Z3=(()=>{class t{static \u0275prov=$e({token:t,providedIn:"root",factory:Sk});factories;constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{const i=U(t,{optional:!0,skipSelf:!0});return t.create(e,i||Sk())}}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new ge(901,!1)}}return t})();const oZ=fk(null,"core",[]);let aZ=(()=>{class t{constructor(e){}static \u0275fac=function(i){return new(i||t)(It(pl))};static \u0275mod=vi({type:t});static \u0275inj=kn({})}return t})();function Qe(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function yh(t,n=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?n:Number(t)}function Fk(t,n){const e=Xn(t),i=n.elementInjector||Ft();return new o3(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
function Hk(t,n,e){const i=Object.create(PZ);i.source=t,i.computation=n,null!=e&&(i.equal=e);const o=()=>{if(fe(i),X(i),i.value===Ce)throw i.error;return i.value};return o[E]=i,o}const PZ={...Q,value:_t,dirty:!0,error:null,equal:sr,kind:"linkedSignal",producerMustRecompute:t=>t.value===_t||t.value===De,producerRecomputeValue(t){if(t.value===De)throw new Error("");const n=t.value;t.value=De;const e=Fe(t);let i;try{const r=t.source();i=t.computation(r,n===_t||n===Ce?void 0:{source:t.sourceValue,value:n}),t.sourceValue=r}catch(r){i=Ce,t.error=r}finally{Ct(t,e)}n!==_t&&i!==Ce&&t.equal(n,i)?t.value=n:(t.value=i,t.version++)}},RZ={...Q,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function tr(t){return function NZ(t){const n=A(null);try{return t()}finally{A(n)}}(t)}function Co(t,n){return rt(t,n?.equal)}class jZ{[E];constructor(n){this[E]=n}destroy(){this[E].destroy()}}function G5(t,n){const e=n?.injector??U(Vr);let r,i=!0!==n?.manualCleanup?e.get(In):null;const o=e.get(Um,null,{optional:!0}),a=e.get(r1);return null!==o?(r=function GZ(t,n,e){const i=Object.create(WZ);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=qk(i,e),t[23]??=new Set,t[23].add(i),i.consumerMarkedDirty(i),i}(o.view,a,t),i instanceof sb&&i._lView===o.view&&(i=null)):r=function KZ(t,n,e){const i=Object.create($Z);return i.fn=qk(i,t),i.scheduler=n,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}(t,e.get(hb),a),r.injector=e,null!==i&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new jZ(r)}const Bk={...RZ,cleanupFns:void 0,zone:null,onDestroyFn:f2,run(){const t=hu(!1);try{!function FZ(t){if(t.dirty=!1,t.version>0&&!Sn(t))return;t.version++;const n=Fe(t);try{t.cleanup(),t.fn()}finally{Ct(t,n)}}(this)}finally{hu(t)}},cleanup(){if(!this.cleanupFns?.length)return;const t=A(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],A(t)}}},$Z={...Bk,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){ht(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}},WZ={...Bk,consumerMarkedDirty(){this.view[2]|=8192,du(this.view),this.notifier.notify(13)},destroy(){ht(this),this.onDestroyFn(),this.cleanup(),this.view[23]?.delete(this)}};function qk(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}const QZ=t=>t;function Yk(t,n){const e=t[E],i=t;return i.set=r=>function LZ(t,n){fe(t),ki(t,n),C(t)}(e,r),i.update=r=>function OZ(t,n){fe(t),vr(t,n),C(t)}(e,r),i.asReadonly=Vm.bind(t),i}Error,Error;var i6=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(i6||{}),fo=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(fo||{}),_i=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(_i||{}),Cs=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(Cs||{});function O1(t,n,e){const i=Ba(t),o=js([i[Ir.DayPeriodsFormat],i[Ir.DayPeriodsStandalone]],n);return js(o,e)}function r6(t,n){return js(Ba(t)[Ir.DateFormat],n)}function o6(t,n){return js(Ba(t)[Ir.TimeFormat],n)}function a6(t,n){return js(Ba(t)[Ir.DateTimeFormat],n)}function Ys(t,n){const e=Ba(t),i=e[Ir.NumberSymbols][n];if(typeof i>"u"){if(12===n)return e[Ir.NumberSymbols][0];if(13===n)return e[Ir.NumberSymbols][1]}return i}function Gk(t){if(!t[Ir.ExtraData])throw new ge(2303,!1)}function js(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new ge(2304,!1)}function Z5(t){const[n,e]=t.split(":");return{hours:+n,minutes:+e}}const vJ=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,s6={},_J=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Kk(t,n,e,i){let r=function xJ(t){if(Zk(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[r,o=1,a=1]=t.split("-").map(s=>+s);return l6(r,o-1,a)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(vJ))return function kJ(t){const n=new Date(0);let e=0,i=0;const r=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));const a=Number(t[4]||0)-e,s=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return o.call(n,a,s,l,c),n}(i)}const n=new Date(t);if(!Zk(n))throw new ge(2311,!1);return n}(t);n=Oc(e,n)||n;let s,a=[];for(;n;){if(s=_J.exec(n),!s){a.push(n);break}{a=a.concat(s.slice(1));const h=a.pop();if(!h)break;n=h}}let l=r.getTimezoneOffset();i&&(l=Xk(i,l),r=function DJ(t,n){const r=t.getTimezoneOffset();return function TJ(t,n){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+n),t}(t,-1*(Xk(n,r)-r))}(r,i));let c="";return a.forEach(h=>{const g=function MJ(t){if(e7[t])return e7[t];let n;switch(t){case"G":case"GG":case"GGG":n=wr(3,_i.Abbreviated);break;case"GGGG":n=wr(3,_i.Wide);break;case"GGGGG":n=wr(3,_i.Narrow);break;case"y":n=So(0,1,0,!1,!0);break;case"yy":n=So(0,2,0,!0,!0);break;case"yyy":n=So(0,3,0,!1,!0);break;case"yyyy":n=So(0,4,0,!1,!0);break;case"Y":n=h6(1);break;case"YY":n=h6(2,!0);break;case"YYY":n=h6(3);break;case"YYYY":n=h6(4);break;case"M":case"L":n=So(1,1,1);break;case"MM":case"LL":n=So(1,2,1);break;case"MMM":n=wr(2,_i.Abbreviated);break;case"MMMM":n=wr(2,_i.Wide);break;case"MMMMM":n=wr(2,_i.Narrow);break;case"LLL":n=wr(2,_i.Abbreviated,fo.Standalone);break;case"LLLL":n=wr(2,_i.Wide,fo.Standalone);break;case"LLLLL":n=wr(2,_i.Narrow,fo.Standalone);break;case"w":n=J5(1);break;case"ww":n=J5(2);break;case"W":n=J5(1,!0);break;case"d":n=So(2,1);break;case"dd":n=So(2,2);break;case"c":case"cc":n=So(7,1);break;case"ccc":n=wr(1,_i.Abbreviated,fo.Standalone);break;case"cccc":n=wr(1,_i.Wide,fo.Standalone);break;case"ccccc":n=wr(1,_i.Narrow,fo.Standalone);break;case"cccccc":n=wr(1,_i.Short,fo.Standalone);break;case"E":case"EE":case"EEE":n=wr(1,_i.Abbreviated);break;case"EEEE":n=wr(1,_i.Wide);break;case"EEEEE":n=wr(1,_i.Narrow);break;case"EEEEEE":n=wr(1,_i.Short);break;case"a":case"aa":case"aaa":n=wr(0,_i.Abbreviated);break;case"aaaa":n=wr(0,_i.Wide);break;case"aaaaa":n=wr(0,_i.Narrow);break;case"b":case"bb":case"bbb":n=wr(0,_i.Abbreviated,fo.Standalone,!0);break;case"bbbb":n=wr(0,_i.Wide,fo.Standalone,!0);break;case"bbbbb":n=wr(0,_i.Narrow,fo.Standalone,!0);break;case"B":case"BB":case"BBB":n=wr(0,_i.Abbreviated,fo.Format,!0);break;case"BBBB":n=wr(0,_i.Wide,fo.Format,!0);break;case"BBBBB":n=wr(0,_i.Narrow,fo.Format,!0);break;case"h":n=So(3,1,-12);break;case"hh":n=So(3,2,-12);break;case"H":n=So(3,1);break;case"HH":n=So(3,2);break;case"m":n=So(4,1);break;case"mm":n=So(4,2);break;case"s":n=So(5,1);break;case"ss":n=So(5,2);break;case"S":n=So(6,1);break;case"SS":n=So(6,2);break;case"SSS":n=So(6,3);break;case"Z":case"ZZ":case"ZZZ":n=u6(0);break;case"ZZZZZ":n=u6(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=u6(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=u6(2);break;default:return null}return e7[t]=n,n}(h);c+=g?g(r,e,l):"''"===h?"'":h.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function l6(t,n,e){const i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i}function Oc(t,n){const e=function aJ(t){return Ba(t)[Ir.LocaleId]}(t);if(s6[e]??={},s6[e][n])return s6[e][n];let i="";switch(n){case"shortDate":i=r6(t,Cs.Short);break;case"mediumDate":i=r6(t,Cs.Medium);break;case"longDate":i=r6(t,Cs.Long);break;case"fullDate":i=r6(t,Cs.Full);break;case"shortTime":i=o6(t,Cs.Short);break;case"mediumTime":i=o6(t,Cs.Medium);break;case"longTime":i=o6(t,Cs.Long);break;case"fullTime":i=o6(t,Cs.Full);break;case"short":const r=Oc(t,"shortTime"),o=Oc(t,"shortDate");i=c6(a6(t,Cs.Short),[r,o]);break;case"medium":const a=Oc(t,"mediumTime"),s=Oc(t,"mediumDate");i=c6(a6(t,Cs.Medium),[a,s]);break;case"long":const l=Oc(t,"longTime"),c=Oc(t,"longDate");i=c6(a6(t,Cs.Long),[l,c]);break;case"full":const h=Oc(t,"fullTime"),g=Oc(t,"fullDate");i=c6(a6(t,Cs.Full),[h,g])}return i&&(s6[e][n]=i),i}function c6(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return null!=n&&i in n?n[i]:e})),t}function gl(t,n,e="-",i,r){let o="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,o=e));let a=String(t);for(;a.length<n;)a="0"+a;return i&&(a=a.slice(a.length-n)),o+a}function So(t,n,e=0,i=!1,r=!1){return function(o,a){let s=function bJ(t,n){switch(t){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new ge(2301,!1)}}(t,o);if((e>0||s>-e)&&(s+=e),3===t)0===s&&-12===e&&(s=12);else if(6===t)return function yJ(t,n){return gl(t,3).substring(0,n)}(s,n);const l=Ys(a,5);return gl(s,n,l,i,r)}}function wr(t,n,e=fo.Format,i=!1){return function(r,o){return function CJ(t,n,e,i,r,o){switch(e){case 2:return function lJ(t,n,e){const i=Ba(t),o=js([i[Ir.MonthsFormat],i[Ir.MonthsStandalone]],n);return js(o,e)}(n,r,i)[t.getMonth()];case 1:return function sJ(t,n,e){const i=Ba(t),o=js([i[Ir.DaysFormat],i[Ir.DaysStandalone]],n);return js(o,e)}(n,r,i)[t.getDay()];case 0:const a=t.getHours(),s=t.getMinutes();if(o){const c=function hJ(t){const n=Ba(t);return Gk(n),(n[Ir.ExtraData][2]||[]).map(i=>"string"==typeof i?Z5(i):[Z5(i[0]),Z5(i[1])])}(n),h=function fJ(t,n,e){const i=Ba(t);Gk(i);const o=js([i[Ir.ExtraData][0],i[Ir.ExtraData][1]],n)||[];return js(o,e)||[]}(n,r,i),g=c.findIndex(L=>{if(Array.isArray(L)){const[y,x]=L,B=a>=y.hours&&s>=y.minutes,ee=a<x.hours||a===x.hours&&s<x.minutes;if(y.hours<x.hours){if(B&&ee)return!0}else if(B||ee)return!0}else if(L.hours===a&&L.minutes===s)return!0;return!1});if(-1!==g)return h[g]}return O1(n,r,i)[a<12?0:1];case 3:return function cJ(t,n){return js(Ba(t)[Ir.Eras],n)}(n,i)[t.getFullYear()<=0?0:1];default:throw new ge(2302,!1)}}(r,o,t,n,e,i)}}function u6(t){return function(n,e,i){const r=-1*i,o=Ys(e,5),a=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case 0:return(r>=0?"+":"")+gl(a,2,o)+gl(Math.abs(r%60),2,o);case 1:return"GMT"+(r>=0?"+":"")+gl(a,1,o);case 2:return"GMT"+(r>=0?"+":"")+gl(a,2,o)+":"+gl(Math.abs(r%60),2,o);case 3:return 0===i?"Z":(r>=0?"+":"")+gl(a,2,o)+":"+gl(Math.abs(r%60),2,o);default:throw new ge(2310,!1)}}}function Qk(t){const n=t.getDay(),e=0===n?-3:4-n;return l6(t.getFullYear(),t.getMonth(),t.getDate()+e)}function J5(t,n=!1){return function(e,i){let r;if(n){const o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,a=e.getDate();r=1+Math.floor((a+o)/7)}else{const o=Qk(e),a=function SJ(t){const n=l6(t,0,1).getDay();return l6(t,0,1+(n<=4?4:11)-n)}(o.getFullYear()),s=o.getTime()-a.getTime();r=1+Math.round(s/6048e5)}return gl(r,t,Ys(i,5))}}function h6(t,n=!1){return function(e,i){return gl(Qk(e).getFullYear(),t,Ys(i,5),n)}}const e7={};function Xk(t,n){t=t.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function Zk(t){return t instanceof Date&&!isNaN(t.valueOf())}const EJ=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function r7(t){const n=parseInt(t);if(isNaN(n))throw new ge(2305,!1);return n}const a7=/\s+/,nE=[];let s7=(()=>{class t{_ngEl;_renderer;initialClasses=nE;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=null!=e?e.trim().split(a7):nE}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(a7):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){const r=this.stateMap.get(e);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(a7).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||t)(xe(un),xe(to))};static \u0275dir=vt({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();class UJ{$implicit;ngForOf;index;count;constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let $s=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,o,a)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new UJ(r.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)i.remove(null===o?void 0:o);else if(null!==o){const s=i.get(o);i.move(s,a),rE(s,r)}});for(let r=0,o=i.length;r<o;r++){const s=i.get(r).context;s.index=r,s.count=o,s.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{rE(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(xe(Da),xe(Yo),xe(Y5))};static \u0275dir=vt({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function rE(t,n){t.context.$implicit=n.item}let nr=(()=>{class t{_viewContainer;_context=new BJ;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,i){this._viewContainer=e,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){oE(e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){oE(e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(xe(Da),xe(Yo))};static \u0275dir=vt({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})();class BJ{$implicit=null;ngIf=null}function oE(t,n){if(t&&!t.createEmbeddedView)throw new ge(2020,!1)}class l7{_viewContainerRef;_templateRef;_created=!1;constructor(n,e){this._viewContainerRef=n,this._templateRef=e}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let ws=(()=>{class t{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e===this._ngSwitch;return this._lastCasesMatched||=i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return t})(),vl=(()=>{class t{ngSwitch;_view;ngSwitchCase;constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new l7(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(i){return new(i||t)(xe(Da),xe(Yo),xe(ws,9))};static \u0275dir=vt({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return t})(),Sh=(()=>{class t{constructor(e,i,r){r._addDefault(new l7(e,i))}static \u0275fac=function(i){return new(i||t)(xe(Da),xe(Yo),xe(ws,9))};static \u0275dir=vt({type:t,selectors:[["","ngSwitchDefault",""]]})}return t})(),m6=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r}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,i){const[r,o]=e.split("."),a=-1===r.indexOf("-")?void 0:yu.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static \u0275fac=function(i){return new(i||t)(xe(un),xe(Z3),xe(to))};static \u0275dir=vt({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),_l=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,r),get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||t)(xe(Da))};static \u0275dir=vt({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[vn]})}return t})();function yl(t,n){return new ge(2100,!1)}class YJ{createSubscription(n,e,i){return tr(()=>n.subscribe({next:e,error:i}))}dispose(n){tr(()=>n.unsubscribe())}}class jJ{createSubscription(n,e,i){return n.then(r=>e?.(r),r=>i?.(r)),{unsubscribe:()=>{e=null,i=null}}}dispose(n){n.unsubscribe()}}const $J=new jJ,WJ=new YJ;let sE=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=U(fl);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i),i=>this.applicationErrorHandler(i))}_selectStrategy(e){if(th(e))return $J;if(aT(e))return WJ;throw yl()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(i){return new(i||t)(xe(Cr,16))};static \u0275pipe=xa({name:"async",type:t,pure:!1})}return t})(),lE=(()=>{class t{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=cE;transform(e,i=cE){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ??=this.differs.find(e).create();const r=this.differ.diff(e),o=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(a=>{this.keyValues.push(function aee(t,n){return{key:t,value:n}}(a.key,a.currentValue))})),(r||o)&&(i&&this.keyValues.sort(i),this.compareFn=i),this.keyValues}static \u0275fac=function(i){return new(i||t)(xe(Z3,16))};static \u0275pipe=xa({name:"keyvalue",type:t,pure:!1})}return t})();function cE(t,n){const e=t.key,i=n.key;if(e===i)return 0;if(null==e)return 1;if(null==i)return-1;if("string"==typeof e&&"string"==typeof i)return e<i?-1:1;if("number"==typeof e&&"number"==typeof i)return e-i;if("boolean"==typeof e&&"boolean"==typeof i)return e<i?-1:1;const r=String(e),o=String(i);return r==o?0:r<o?-1:1}let uE=(()=>{class t{_locale;constructor(e){this._locale=e}transform(e,i,r){if(!function c7(t){return!(null==t||""===t||t!=t)}(e))return null;r||=this._locale;try{return function PJ(t,n,e){return function n7(t,n,e,i,r,o,a=!1){let s="",l=!1;if(isFinite(t)){let c=function RJ(t){let i,r,o,a,s,n=Math.abs(t)+"",e=0;for((r=n.indexOf("."))>-1&&(n=n.replace(".","")),(o=n.search(/e/i))>0?(r<0&&(r=o),r+=+n.slice(o+1),n=n.substring(0,o)):r<0&&(r=n.length),o=0;"0"===n.charAt(o);o++);if(o===(s=n.length))i=[0],r=1;else{for(s--;"0"===n.charAt(s);)s--;for(r-=o,i=[],a=0;o<=s;o++,a++)i[a]=Number(n.charAt(o))}return r>22&&(i=i.splice(0,21),e=r-1,r=1),{digits:i,exponent:e,integerLen:r}}(t);a&&(c=function NJ(t){if(0===t.digits[0])return t;const n=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===n?t.digits.push(0,0):1===n&&t.digits.push(0),t.integerLen+=2),t}(c));let h=n.minInt,g=n.minFrac,L=n.maxFrac;if(o){const ae=o.match(EJ);if(null===ae)throw new ge(2306,!1);const Xe=ae[1],ot=ae[3],St=ae[5];null!=Xe&&(h=r7(Xe)),null!=ot&&(g=r7(ot)),null!=St?L=r7(St):null!=ot&&g>L&&(L=g)}!function FJ(t,n,e){if(n>e)throw new ge(2307,!1);let i=t.digits,r=i.length-t.integerLen;const o=Math.min(Math.max(n,r),e);let a=o+t.integerLen,s=i[a];if(a>0){i.splice(Math.max(t.integerLen,a));for(let g=a;g<i.length;g++)i[g]=0}else{r=Math.max(0,r),t.integerLen=1,i.length=Math.max(1,a=o+1),i[0]=0;for(let g=1;g<a;g++)i[g]=0}if(s>=5)if(a-1<0){for(let g=0;g>a;g--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[a-1]++;for(;r<Math.max(0,o);r++)i.push(0);let l=0!==o;const c=n+t.integerLen,h=i.reduceRight(function(g,L,y,x){return x[y]=(L+=g)<10?L:L-10,l&&(0===x[y]&&y>=c?x.pop():l=!1),L>=10?1:0},0);h&&(i.unshift(h),t.integerLen++)}(c,g,L);let y=c.digits,x=c.integerLen;const B=c.exponent;let ee=[];for(l=y.every(ae=>!ae);x<h;x++)y.unshift(0);for(;x<0;x++)y.unshift(0);x>0?ee=y.splice(x,y.length):(ee=y,y=[0]);const re=[];for(y.length>=n.lgSize&&re.unshift(y.splice(-n.lgSize,y.length).join(""));y.length>n.gSize;)re.unshift(y.splice(-n.gSize,y.length).join(""));y.length&&re.unshift(y.join("")),s=re.join(Ys(e,i)),ee.length&&(s+=Ys(e,r)+ee.join("")),B&&(s+=Ys(e,6)+"+"+B)}else s=Ys(e,9);return s=t<0&&!l?n.negPre+s+n.negSuf:n.posPre+s+n.posSuf,s}(t,function i7(t,n="-"){const e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),r=i[0],o=i[1],a=-1!==r.indexOf(".")?r.split("."):[r.substring(0,r.lastIndexOf("0")+1),r.substring(r.lastIndexOf("0")+1)],s=a[0],l=a[1]||"";e.posPre=s.substring(0,s.indexOf("#"));for(let h=0;h<l.length;h++){const g=l.charAt(h);"0"===g?e.minFrac=e.maxFrac=h+1:"#"===g?e.maxFrac=h+1:e.posSuf+=g}const c=s.split(",");if(e.gSize=c[1]?c[1].length:0,e.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,o){const h=r.length-e.posPre.length-e.posSuf.length,g=o.indexOf("#");e.negPre=o.substring(0,g).replace(/'/g,""),e.negSuf=o.slice(g+h).replace(/'/g,"")}else e.negPre=n+e.posPre,e.negSuf=e.posSuf;return e}(function X5(t,n){return Ba(t)[Ir.NumberFormats][n]}(n,i6.Decimal),Ys(n,5)),n,1,0,e)}(function u7(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new ge(2309,!1);return t}(e),r,i)}catch(o){throw yl()}}static \u0275fac=function(i){return new(i||t)(xe(xu,16))};static \u0275pipe=xa({name:"number",type:t,pure:!0})}return t})();let cee=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({})}return t})();
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */class dE{_doc;constructor(n){this._doc=n}manager}let d7=(()=>{class t extends dE{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r,o){return e.addEventListener(i,r,o),()=>this.removeEventListener(e,i,r,o)}removeEventListener(e,i,r,o){return e.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||t)(It(br))};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})();const h7=new Ie("");let hE=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(a=>{a.manager=this});const r=e.filter(a=>!(a instanceof d7));this._plugins=r.slice().reverse();const o=e.find(a=>a instanceof d7);o&&this._plugins.push(o)}addEventListener(e,i,r,o){return this._findPluginFor(i).addEventListener(e,i,r,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new ge(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||t)(It(h7),It($t))};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})();const f7="ng-app-id";function fE(t){for(const n of t)n.remove()}function mE(t,n){const e=n.createElement("style");return e.textContent=t,e}function m7(t,n){const e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}let pE=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,function uee(t,n,e,i){const r=t.head?.querySelectorAll(`style[${f7}="${n}"],link[${f7}="${n}"]`);if(r)for(const o of r)o.removeAttribute(f7),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}(e,i,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,i){for(const r of e)this.addUsage(r,this.inline,mE);i?.forEach(r=>this.addUsage(r,this.external,m7))}removeStyles(e,i){for(const r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){const o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(e,this.doc)))})}removeUsage(e,i){const r=i.get(e);r&&(r.usage--,r.usage<=0&&(fE(r.elements),i.delete(e)))}ngOnDestroy(){for(const[,{elements:e}]of[...this.inline,...this.external])fE(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(const[i,{elements:r}]of this.inline)r.push(this.addElement(e,mE(i,this.doc)));for(const[i,{elements:r}]of this.external)r.push(this.addElement(e,m7(i,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),e.appendChild(i)}static \u0275fac=function(i){return new(i||t)(It(br),It(P0),It(T2,8),It(M2))};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})();const p7={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"},g7=/%COMP%/g,gee=new Ie("",{providedIn:"root",factory:()=>!0});function vE(t,n){return n.map(e=>e.replace(g7,t))}let v7=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,i,r,o,a,s,l=null,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.ngZone=s,this.nonce=l,this.tracingService=c,this.platformIsServer=!1,this.defaultRenderer=new _7(e,a,s,this.platformIsServer,this.tracingService)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;const r=this.getOrCreateRenderer(e,i);return r instanceof yE?r.applyToHost(e):r instanceof y7&&r.applyStyles(),r}getOrCreateRenderer(e,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const a=this.doc,s=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,g=this.platformIsServer,L=this.tracingService;switch(i.encapsulation){case Ec.Emulated:o=new yE(l,c,i,this.appId,h,a,s,g,L);break;case Ec.ShadowDom:return new bee(l,c,e,i,a,s,this.nonce,g,L);default:o=new y7(l,c,i,h,a,s,g,L)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(i){return new(i||t)(It(hE),It(pE),It(P0),It(gee),It(br),It($t),It(T2),It(O2,8))};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})();class _7{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,i,r,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(p7[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(_E(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(_E(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new ge(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;const o=p7[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const r=p7[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(yu.DashCase|yu.Important)?n.style.setProperty(e,i,r&yu.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&yu.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){null!=n&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i,r){if("string"==typeof n&&!(n=mu().getGlobalEventTarget(this.doc,n)))throw new ge(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,r)}decoratePreventDefault(n){return e=>{if("__ngUnwrap__"===e)return n;!1===n(e)&&e.preventDefault()}}}function _E(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class bee extends _7{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,i,r,o,a,s,l,c){super(n,o,a,l,c),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let h=r.styles;h=vE(r.id,h);for(const L of h){const y=document.createElement("style");s&&y.setAttribute("nonce",s),y.textContent=L,this.shadowRoot.appendChild(y)}const g=r.getExternalStyles?.();if(g)for(const L of g){const y=m7(L,o);s&&y.setAttribute("nonce",s),this.shadowRoot.appendChild(y)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class y7 extends _7{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,i,r,o,a,s,l,c){super(n,o,a,s,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let h=i.styles;this.styles=c?vE(c,h):h,this.styleUrls=i.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===h1.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class yE extends y7{contentAttr;hostAttr;constructor(n,e,i,r,o,a,s,l,c){const h=r+"-"+i.id;super(n,e,i,o,a,s,l,c,h),this.contentAttr=function vee(t){return"_ngcontent-%COMP%".replace(g7,t)}(h),this.hostAttr=function _ee(t){return"_nghost-%COMP%".replace(g7,t)}(h)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
class b7 extends IR{supportsDOMEvents=!0;static makeCurrent(){!function ER(t){fb??=t}(new b7)}onAndCancel(n,e,i,r){return n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function Cee(){return Mh=Mh||document.head.querySelector("base"),Mh?Mh.getAttribute("href"):null}();return null==e?null:function wee(t){return new URL(t,document.baseURI).pathname}(e)}resetBaseElement(){Mh=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return _b(document.cookie,n)}}let Mh=null,Mee=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})();const CE=["alt","control","meta","shift"],Tee={"\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"},Dee={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let xee=(()=>{class t extends dE{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,r,o){const a=t.parseEventName(i),s=t.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>mu().onAndCancel(e,a.domEventName,s,o))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=t._normalizeKey(i.pop());let a="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),a="code."),CE.forEach(c=>{const h=i.indexOf(c);h>-1&&(i.splice(h,1),a+=c+".")}),a+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=a,l}static matchEventFullKeyCode(e,i){let r=Tee[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),CE.forEach(a=>{a!==r&&(0,Dee[a])(e)&&(o+=a+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}static \u0275fac=function(i){return new(i||t)(It(br))};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})();const zee=fk(oZ,"browser",[{provide:M2,useValue:ux},{provide:MC,useValue:function kee(){b7.makeCurrent()},multi:!0},{provide:br,useFactory:function Iee(){return function fH(t){sp=t}(document),document}}]),ME=[{provide:p3,useClass:class See{addToWindow(n){pi.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new ge(5103,!1);return o},pi.getAllAngularTestabilities=()=>n.getAllTestabilities(),pi.getAllAngularRootElements=()=>n.getAllRootElements(),pi.frameworkStabilizers||(pi.frameworkStabilizers=[]),pi.frameworkStabilizers.push(i=>{const r=pi.getAllAngularTestabilities();let o=r.length;const a=function(){o--,0==o&&i()};r.forEach(s=>{s.whenStable(a)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?mu().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}}},{provide:oT,useClass:Yg,deps:[$t,jg,p3]},{provide:Yg,useClass:Yg,deps:[$t,jg,p3]}],TE=[{provide:tn,useValue:"root"},{provide:S0,useFactory:function Eee(){return new S0}},{provide:h7,useClass:d7,multi:!0,deps:[br]},{provide:h7,useClass:xee,multi:!0,deps:[br]},v7,pE,hE,{provide:Bs,useExisting:v7},{provide:yb,useClass:Mee},[]];let DE=(()=>{class t{constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({providers:[...TE,...ME],imports:[cee,aZ]})}return t})();const C7={now:()=>(C7.delegate||Date).now(),delegate:void 0};class P1 extends it{constructor(n=1/0,e=1/0,i=C7){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){const{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;e||(i.push(n),!r&&i.push(o.now()+a)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let a=0;a<o.length&&!n.closed;a+=i?1:2)n.next(o[a]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){const{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){const a=e.now();let s=0;for(let l=1;l<i.length&&i[l]<=a;l+=2)s=l;s&&i.splice(0,s+1)}}}function mr(t,n,e,i,r,o){function a(re){if(void 0!==re&&"function"!=typeof re)throw new TypeError("Function expected");return re}for(var g,s=i.kind,l="getter"===s?"get":"setter"===s?"set":"value",c=!n&&t?i.static?t:t.prototype:null,h=n||(c?Object.getOwnPropertyDescriptor(c,i.name):{}),L=!1,y=e.length-1;y>=0;y--){var x={};for(var B in i)x[B]="access"===B?{}:i[B];for(var B in i.access)x.access[B]=i.access[B];x.addInitializer=function(re){if(L)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(re||null))};var ee=(0,e[y])("accessor"===s?{get:h.get,set:h.set}:h[l],x);if("accessor"===s){if(void 0===ee)continue;if(null===ee||"object"!=typeof ee)throw new TypeError("Object expected");(g=a(ee.get))&&(h.get=g),(g=a(ee.set))&&(h.set=g),(g=a(ee.init))&&r.unshift(g)}else(g=a(ee))&&("field"===s?r.unshift(g):h[l]=g)}c&&Object.defineProperty(c,i.name,h),L=!0}function rn(t,n,e){for(var i=arguments.length>2,r=0;r<n.length;r++)e=i?n[r].call(t,e):n[r].call(t);return i?e:void 0}function Eu(t){return this instanceof Eu?(this.v=t,this):new Eu(t)}function IE(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function T7(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(a){return new Promise(function(s,l){!function r(o,a,s,l){Promise.resolve(l).then(function(c){o({value:c,done:s})},a)}(s,l,(a=t[o](a)).done,a.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const x7=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function zE(t){return Pt(t?.then)}function AE(t){return Pt(t[xo])}function LE(t){return Symbol.asyncIterator&&Pt(t?.[Symbol.asyncIterator])}function OE(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const PE=function nte(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function NE(t){return Pt(t?.[PE])}function RE(t){return function EE(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(t,n||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",function a(y){return function(x){return Promise.resolve(x).then(y,g)}}),r[Symbol.asyncIterator]=function(){return this},r;function s(y,x){i[y]&&(r[y]=function(B){return new Promise(function(ee,re){o.push([y,B,ee,re])>1||l(y,B)})},x&&(r[y]=x(r[y])))}function l(y,x){try{!function c(y){y.value instanceof Eu?Promise.resolve(y.value.v).then(h,g):L(o[0][2],y)}(i[y](x))}catch(B){L(o[0][3],B)}}function h(y){l("next",y)}function g(y){l("throw",y)}function L(y,x){y(x),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:i,done:r}=yield Eu(e.read());if(r)return yield Eu(void 0);yield yield Eu(i)}}finally{e.releaseLock()}})}function FE(t){return Pt(t?.getReader)}function la(t){if(t instanceof Be)return t;if(null!=t){if(AE(t))return function ite(t){return new Be(n=>{const e=t[xo]();if(Pt(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(x7(t))return function rte(t){return new Be(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}(t);if(zE(t))return function ote(t){return new Be(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Lo)})}(t);if(LE(t))return HE(t);if(NE(t))return function ate(t){return new Be(n=>{for(const e of t)if(n.next(e),n.closed)return;n.complete()})}(t);if(FE(t))return function ste(t){return HE(RE(t))}(t)}throw OE(t)}function HE(t){return new Be(n=>{(function lte(t,n){var e,i,r,o;return function xE(t,n,e,i){return new(e||(e=Promise))(function(o,a){function s(h){try{c(i.next(h))}catch(g){a(g)}}function l(h){try{c(i.throw(h))}catch(g){a(g)}}function c(h){h.done?o(h.value):function r(o){return o instanceof e?o:new e(function(a){a(o)})}(h.value).then(s,l)}c((i=i.apply(t,n||[])).next())})}(this,void 0,void 0,function*(){try{for(e=IE(t);!(i=yield e.next()).done;)if(n.next(i.value),n.closed)return}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}n.complete()})})(t,n).catch(e=>n.error(e))})}function Pc(t,n,e,i=0,r=!1){const o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}function $o(t,n,e=1/0){return Pt(n)?$o((i,r)=>jt((o,a)=>n(i,o,r,a))(la(t(i,r))),e):("number"==typeof n&&(e=n),Rr((i,r)=>function cte(t,n,e,i,r,o,a,s){const l=[];let c=0,h=0,g=!1;const L=()=>{g&&!l.length&&!c&&n.complete()},y=B=>c<i?x(B):l.push(B),x=B=>{o&&n.next(B),c++;let ee=!1;la(e(B,h++)).subscribe(dr(n,re=>{r?.(re),o?y(re):n.next(re)},()=>{ee=!0},void 0,()=>{if(ee)try{for(c--;l.length&&c<i;){const re=l.shift();a?Pc(n,a,()=>x(re)):x(re)}L()}catch(re){n.error(re)}}))};return t.subscribe(dr(n,y,()=>{g=!0,L()})),()=>{s?.()}}(i,r,t,e)))}function p6(t=1/0){return $o(Dr,t)}const rs=new Be(t=>t.complete());function VE(t){return t&&Pt(t.schedule)}function k7(t){return t[t.length-1]}function E7(t){return Pt(k7(t))?t.pop():void 0}function Th(t){return VE(k7(t))?t.pop():void 0}function UE(t,n=0){return Rr((e,i)=>{e.subscribe(dr(i,r=>Pc(i,t,()=>i.next(r),n),()=>Pc(i,t,()=>i.complete(),n),r=>Pc(i,t,()=>i.error(r),n)))})}function BE(t,n=0){return Rr((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function qE(t,n){if(!t)throw new Error("Iterable cannot be null");return new Be(e=>{Pc(e,n,()=>{const i=t[Symbol.asyncIterator]();Pc(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function ca(t,n){return n?function _te(t,n){if(null!=t){if(AE(t))return function fte(t,n){return la(t).pipe(BE(n),UE(n))}(t,n);if(x7(t))return function pte(t,n){return new Be(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}(t,n);if(zE(t))return function mte(t,n){return la(t).pipe(BE(n),UE(n))}(t,n);if(LE(t))return qE(t,n);if(NE(t))return function gte(t,n){return new Be(e=>{let i;return Pc(e,n,()=>{i=t[PE](),Pc(e,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){return void e.error(a)}o?e.complete():e.next(r)},0,!0)}),()=>Pt(i?.return)&&i.return()})}(t,n);if(FE(t))return function vte(t,n){return qE(RE(t),n)}(t,n)}throw OE(t)}(t,n):la(t)}function Ss(...t){const n=Th(t),e=function hte(t,n){return"number"==typeof k7(t)?t.pop():n}(t,1/0),i=t;return i.length?1===i.length?la(i[0]):p6(e)(ca(i,n)):rs}function Ea(t,n){return Rr((e,i)=>{let r=null,o=0,a=!1;const s=()=>a&&!r&&i.complete();e.subscribe(dr(i,l=>{r?.unsubscribe();let c=0;const h=o++;la(t(l,h)).subscribe(r=dr(i,g=>i.next(n?n(l,g,h,c++):g),()=>{r=null,s()}))},()=>{a=!0,s()}))})}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */const yte={schedule(t,n){const e=setTimeout(t,n);return()=>clearTimeout(e)}};let I7;function Dte(t,n,e){let i=e;return function Cte(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}(t)&&n.some((r,o)=>!("*"===r||!function wte(t,n){if(!I7){const e=Element.prototype;I7=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE&&I7.call(t,n)}(t,r)||(i=o,0))),i}class kte{componentFactory;inputMap=new Map;constructor(n,e){this.componentFactory=e.get(X0).resolveComponentFactory(n);for(const i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(n){return new Ete(this.componentFactory,n,this.inputMap)}}class Ete{componentFactory;injector;inputMap;eventEmitters=new P1(1);events=this.eventEmitters.pipe(Ea(n=>Ss(...n)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(n,e,i){this.componentFactory=n,this.injector=e,this.inputMap=i,this.ngZone=this.injector.get($t),this.appRef=this.injector.get(pl),this.cdScheduler=e.get(r1),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=yte.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(n){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e){null!==this.componentRef?this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(n)??n,e),function rB(t){return t1(t._lView)||!!(64&t._lView[2])}(this.componentRef.hostView)&&(function oB(t){a2(t._lView)}(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))}):this.initialInputValues.set(n,e)}initializeComponent(n){const e=Vr.create({providers:[],parent:this.injector}),i=function Tte(t,n){const e=t.childNodes,i=n.map(()=>[]);let r=-1;n.some((o,a)=>"*"===o&&(r=a,!0));for(let o=0,a=e.length;o<a;++o){const s=e[o],l=Dte(s,n,r);-1!==l&&i[l].push(s)}return i}(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(const[n,e]of this.initialInputValues)this.setInputValue(n,e);this.initialInputValues.clear()}initializeOutputs(n){const e=this.componentFactory.outputs.map(({propName:i,templateName:r})=>{const o=n.instance[i];return new Be(a=>{const s=o.subscribe(l=>a.next({name:r,value:l}));return()=>s.unsubscribe()})});this.eventEmitters.next(e)}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}}class Ite extends HTMLElement{ngElementEventsSubscription=null}var Ate=R(5801),Lte=R(9545),g6=R.n(Lte),Ote=Function.prototype.toString,z7=Object.create,Pte=Object.prototype.toString,Nte=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(n){return!!~this._keys.indexOf(n)},t.prototype.get=function(n){return this._values[this._keys.indexOf(n)]},t.prototype.set=function(n,e){this._keys.push(n),this._values.push(e)},t}(),Hte=typeof WeakMap<"u"?function Fte(){return new WeakMap}:function Rte(){return new Nte};function A7(t){if(!t)return z7(null);var n=t.constructor;if(n===Object)return t===Object.prototype?{}:z7(t);if(n&&~Ote.call(n).indexOf("[native code]"))try{return new n}catch{}return z7(t)}var Bte="g"===/test/g.flags?function Ute(t){return t.flags}:function Vte(t){var n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n};function YE(t){var n=Pte.call(t);return n.substring(8,n.length-1)}var Yte=typeof Symbol<"u"?function qte(t){return t[Symbol.toStringTag]||YE(t)}:YE,jte=Object.defineProperty,$te=Object.getOwnPropertyDescriptor,jE=Object.getOwnPropertyNames,L7=Object.getOwnPropertySymbols,$E=Object.prototype,WE=$E.hasOwnProperty,Wte=$E.propertyIsEnumerable,GE="function"==typeof L7,Kte=GE?function Gte(t){return jE(t).concat(L7(t))}:jE;function v6(t,n,e){for(var i=Kte(t),r=0,o=i.length,a=void 0,s=void 0;r<o;++r)if("callee"!==(a=i[r])&&"caller"!==a){if(!(s=$te(t,a))){n[a]=e.copier(t[a],e);continue}!s.get&&!s.set&&(s.value=e.copier(s.value,e));try{jte(n,a,s)}catch{n[a]=s.value}}return n}function KE(t,n){return t.slice(0)}function QE(t,n){var e=new n.Constructor;return n.cache.set(t,e),t.forEach(function(i,r){e.set(r,n.copier(i,n))}),e}function O7(t,n){return new n.Constructor(t.valueOf())}function _6(t,n){return t}function XE(t,n){var e=new n.Constructor;return n.cache.set(t,e),t.forEach(function(i){e.add(n.copier(i,n))}),e}var lne=Array.isArray,P7=Object.assign,cne=Object.getPrototypeOf||function(t){return t.__proto__},ZE={array:function Qte(t,n){var e=new n.Constructor;n.cache.set(t,e);for(var i=0,r=t.length;i<r;++i)e[i]=n.copier(t[i],n);return e},arrayBuffer:KE,blob:function Zte(t,n){return t.slice(0,t.size,t.type)},dataView:function Jte(t,n){return new n.Constructor(KE(t.buffer))},date:function ene(t,n){return new n.Constructor(t.getTime())},error:_6,map:QE,object:GE?function ine(t,n){var e=A7(n.prototype);for(var i in n.cache.set(t,e),t)WE.call(t,i)&&(e[i]=n.copier(t[i],n));for(var r=L7(t),o=0,a=r.length,s=void 0;o<a;++o)Wte.call(t,s=r[o])&&(e[s]=n.copier(t[s],n));return e}:function nne(t,n){var e=A7(n.prototype);for(var i in n.cache.set(t,e),t)WE.call(t,i)&&(e[i]=n.copier(t[i],n));return e},regExp:function ane(t,n){var e=new n.Constructor(t.source,Bte(t));return e.lastIndex=t.lastIndex,e},set:XE},une=P7({},ZE,{array:function Xte(t,n){var e=new n.Constructor;return n.cache.set(t,e),v6(t,e,n)},map:function tne(t,n){return v6(t,QE(t,n),n)},object:function one(t,n){var e=A7(n.prototype);return n.cache.set(t,e),v6(t,e,n)},set:function sne(t,n){return v6(t,XE(t,n),n)}});function JE(t){var e=function dne(t){return{Arguments:t.object,Array:t.array,ArrayBuffer:t.arrayBuffer,Blob:t.blob,Boolean:O7,DataView:t.dataView,Date:t.date,Error:t.error,Float32Array:t.arrayBuffer,Float64Array:t.arrayBuffer,Int8Array:t.arrayBuffer,Int16Array:t.arrayBuffer,Int32Array:t.arrayBuffer,Map:t.map,Number:O7,Object:t.object,Promise:_6,RegExp:t.regExp,Set:t.set,String:O7,WeakMap:_6,WeakSet:_6,Uint8Array:t.arrayBuffer,Uint8ClampedArray:t.arrayBuffer,Uint16Array:t.arrayBuffer,Uint32Array:t.arrayBuffer,Uint64Array:t.arrayBuffer}}(P7({},ZE,t)),i=e.Array,r=e.Object;function o(a,s){if(s.prototype=s.Constructor=void 0,!a||"object"!=typeof a)return a;if(s.cache.has(a))return s.cache.get(a);if(s.prototype=cne(a),s.Constructor=s.prototype&&s.prototype.constructor,!s.Constructor||s.Constructor===Object)return r(a,s);if(lne(a))return i(a,s);var l=e[Yte(a)];return l?l(a,s):"function"==typeof a.then?a:r(a,s)}return function(s){return o(s,{Constructor:void 0,cache:Hte(),copier:o,prototype:void 0})}}!function hne(t){JE(P7({},une,t))}({});var Dh=JE({}),fne=R(9250),N7=R.n(fne);const Mn=JSON.parse('{"helpTitle":"Instruction","legalTitle":"legal","dateFormat":"MM/dd/yyyy","dateTimeFormat":"MM/dd/yyyy HH:mm:ss","timeFormat":"HH:mm:ss","decimalCharacter":".","decimalRegex":"^\\\\s*[\\\\+-]?([\\\\+-]?\\\\d+\\\\.?\\\\d*([eE]?[\\\\+|-]?\\\\d+)?|[\\\\+-]?\\\\d*\\\\.?\\\\d+[eE]?([\\\\+|-]?\\\\d+)?)\\\\s*$","placeholderSearchMultiOptionsOrString":"Search for or type values","placeholderSearchSingleOptionsOrString":"Search for or type a value","placeholderSelectMultiOptionsOrString":"Select one or more or type a value","placeholderSelectSingleOptionsOrString":"Select one or type a value","placeholderSearchMulti":"Search for values","placeholderSearchSingle":"Search for a value","placeholderSelectMulti":"Select one or more","placeholderSelectSingle":"Select one","placeholderDate":"MM/DD/YYYY","placeholderDateTime":"MM/DD/YYYY HH:MM:SS","placeholderTime":"HH:MM:SS","placeholderTypeANumber":"Type a number","placeholderTypeAValue":"Type a value","added":"Added ","removed":"Removed ","errorMessages":{"BL":"must be a boolean (true/false).","INT":"must be an integer number.","REAL":"must be a decimal number.","ST":"must be a string value.","TX":"must be a text value.","BIN":"must be a binary value.","DT":"must be a date value.","DTM":"must be a date and time value.","TM":"must be a time value.","RTO":"must be a ratio value.","QTY":"must be a decimal number.","NR":"must be two numeric values separated by a ^. One value can be omitted, but not the ^.","YEAR":"must be a numeric value of year.","MONTH":"must be a numeric value of month.","DAY":"must be a numeric value of day.","URL":"must be a valid URL.","EMAIL":"must be a valid email address.","PHONE":"must be a valid phone number."},"requiresAValue":"requires a value","mustBeGreater":"must be a value greater than {lformsParam}.","mustBeGreaterOrEqual":"must be a value greater than or equal to {lformsParam}.","mustBeLess":"must be a value less than {lformsParam}.","mustBeLessOrEqual":"must be a value less than or equal to {lformsParam}.","mustHaveTotalLength":"must have a total length of {lformsParam}.","mustHaveTotalLengthLessOrEqual":"must have a total length less than or equal to {lformsParam}.","mustHaveTotalLengthGreaterOrEqual":"must have a total length greater than or equal to {lformsParam}.","mustMatchRegex":"must match a RegExp pattern of {lformsParam}.","mustNotHaveMoreDecimalPlaces":"must not have more than {lformsParam} decimal places.","mustNotHaveMoreAnswers":"must not have more than {lformsParam} answers.","mustNotHaveLessAnswers":"must have at least {lformsParam} answers.","booleanYes":"Yes","booleanNo":"No","booleanNotAnswered":"Not Answered","pleaseEnterInfoForTheBlank":"Please enter info in the blank \\"{lformsParam}\\".","other":"Other","parsedDateFormats":["M/D/YYYY","M/D/YY","M/D","M-D-YYYY","M-D-YY","M-D","YYYY","YYYY-M-D","YYYY/M/D","M/D/YYYY HH:mm","M/D/YY HH:mm","M/D HH:mm","M-D-YYYY HH:mm","M-D-YY HH:mm","M-D HH:mm"]}'),on={parseDateFormats:[...Mn.parsedDateFormats,g6().ISO_8601],intRegex:/^\s*(\+|-)?\d+\s*$/,decRegex:new RegExp(Mn.decimalRegex),areTwoAnswersSame:function(t,n,e){let i=["label","code","text","score","other"];if("object"!=typeof t)return!1;let o=!1;if(!t.system&&!n.system||t.system===(n.system?n.system:e.answerCodeSystem)){o=!0;let l=Object.keys(t);for(var a=0,s=l.length;a<s;a++)if(i.indexOf(l[a])>=0&&t[l[a]]!==n[l[a]]){o=!1;break}}return o},dateToDTStringISO:function(t){return t&&t instanceof Date&&!isNaN(t.getTime())?[(1e4+t.getFullYear()).toString().substr(1),(101+t.getMonth()).toString().substr(1),(100+t.getDate()).toString().substr(1)].join("-"):void 0},stringToDTDateISO:function(t){var n=new Date(t);return isNaN(n.getTime())?void 0:new Date(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate())},dateToDTMString:function(t){return"string"==typeof t&&(t=this.stringToDate(t,!0)),t.toISOString()},stringToDate:function(t,n){if(!t||"string"!=typeof t)return t;if("t"===t.trim())return new Date;let e=g6()(t,this.parseDateFormats,!0);return n&&!e.isValid()&&(e=g6()(t)),e.isValid()?e.toDate():null},isValidDate:function(t){return!!this.stringToDate(t)},formatDate:function(t,n){return g6()(t).format(n)},getNextLetter:function(t){for(var e=[],i=t;i>0;){var r=i%26;e.push(r=0===r?25:r-1),i=Math.floor((i-1)/26)}for(var o="",a=e.length-1;a>=0;a--)o+="abcdefghijklmnopqrstuvqxyz".charAt(e[a]);return o},findObjectInArray:function(t,n,e,i,r){var o=r?[]:null;if(Array.isArray(t)){var a=0;i&&Math.abs(i)<t.length&&(a=i<0?t.length+i:i);for(var s=t.length,l=a;l<s;l++)if(t[l][n]===e){var c=t[l];if(!r){o=c;break}o.push(c)}}return o},_pruneObject:function(t,n,e){if("object"==typeof n)for(var i in n)if(i.match(t))delete n[i];else if(e&&i===e){var r=n[i];if(Array.isArray(r))for(var o=r.length,a=0;a<o;a++)this._pruneObject(t,r[a],e);else this._pruneObject(t,r,e)}},pruneNulls:function(t){if(Array.isArray(t))for(var n=t.length-1;n>=0;n--)null==t[n]?t.splice(n,1):"object"==typeof t[n]&&this.pruneNulls(t[n]);else t&&"object"==typeof t&&Object.keys(t).forEach(function(i){null==t[i]?delete t[i]:"object"==typeof t[i]&&this.pruneNulls(t[i])},this)},deepCopy:function(t){return Dh(t)},deepEqual:function(t,n){return N7()(t,n)},shallowEqual:function(t,n){var e=!0;if(typeof t!=typeof n)e=!1;else if("object"!=typeof t)t!==n&&(e=!1);else{var i=Object.keys(t),r=Object.keys(n);if(i.length!==r.length)e=!1;else for(var o=0,a=i.length;o<a;o++)if(t[i[o]]!==n[i[o]]){e=!1;break}}return e},showWarning:function(t,n){n&&(t='The question "'+n.text+'" produced the following warning:  '+t),console.log(t)},isInteger(t){return!!Number.isInteger(t)||"number"!=typeof t&&this.intRegex.test(t)},isDecimal(t){return"number"==typeof t||this.decRegex.test(t)}},eI={messages:{comparatorInQuantity:{en:"This item cannot accept a quantity with a comparator"},nonMatchingQuantityUnit:{en:"An attempt was made to assign a quantity with a non-matching unit."},MultipleValuesForNonRepeat:{en:"An attempt was made to assign multiple values to a non-repeating item."},invalidTagInHelpHTMLContent:{en:"Invalid HTML tags/attributes found in the help text."},invalidTagInLegalHTMLContent:{en:"Invalid HTML tags/attributes found in the legal text."},invalidTagInAnswerOptionHTMLContent:{en:"Invalid HTML tags/attributes found in answerOptions."},invalidTagInHTMLContent:{en:"Invalid HTML tags/attributes found in item text/prefix."},answerValueSetLoadingError:{en:"Unable to load the answer list for this question."},hasModifierExtension:{en:"One or more modifierExtensions are found in the Questionnaire resource. The rendered Questionnaire below is for display only and may not be correctly rendered, and the QuestionnaireResponse generated from it may not be valid."}},getMsg:function(t){const n=this.messages[t];if(!n)throw new Error('Unknown message ID "'+t+'"');const e=n[this.language];if(!e)throw new Error('Unknown language code "'+this.language+'" for message ID "'+t+'"');return e},addMsg:function(t,n){t[n]=this.getMsg(n)},setLanguage:function(t){this.language=t}},Je_DATA_CONTROL_CONSTRUCTION_ARRAY="ARRAY",Je_DATA_CONTROL_CONSTRUCTION_OBJECT="OBJECT",Je_DATA_CONTROL_CONSTRUCTION_SIMPLE="SIMPLE",Je_DATA_CONTROL_SOURCE_INTERNAL="INTERNAL",Je_SKIP_LOGIC_ACTION_ENABLE="show",Je_SKIP_LOGIC_ACTION_DISABLE="hide",Je_SKIP_LOGIC_STATUS_ENABLED="target-enabled",Je_SKIP_LOGIC_STATUS_DISABLED="target-disabled",Je_CALCULATION_METHOD_TOTALSCORE="TOTALSCORE",Je_DATA_TYPE_INT="INT",Je_DATA_TYPE_REAL="REAL",Je_DATA_TYPE_ST="ST",Je_DATA_TYPE_TX="TX",Je_DATA_TYPE_DT="DT",Je_DATA_TYPE_DTM="DTM",Je_DATA_TYPE_TM="TM",Je_DATA_TYPE_CNE="CNE",Je_DATA_TYPE_CWE="CWE",Je_DATA_TYPE_SECTION="SECTION",Je_DATA_TYPE_TITLE="TITLE",Je_DATA_TYPE_QTY="QTY",Je_DATA_TYPE_BL="BL",Je_DATA_TYPE_CODING="CODING",mne=new Uint16Array('\u1d41<\xd5\u0131\u028a\u049d\u057b\u05d0\u0675\u06de\u07a2\u07d6\u080f\u0a4a\u0a91\u0da1\u0e6d\u0f09\u0f26\u10ca\u1228\u12e1\u1415\u149d\u14c3\u14df\u1525\0\0\0\0\0\0\u156b\u16cd\u198d\u1c12\u1ddd\u1f7e\u2060\u21b0\u228d\u23c0\u23fb\u2442\u2824\u2912\u2d08\u2e48\u2fce\u3016\u32ba\u3639\u37ac\u38fe\u3a28\u3a71\u3ae0\u3b2e\u0800EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig\u803b\xc6\u40c6P\u803b&\u4026cute\u803b\xc1\u40c1reve;\u4102\u0100iyx}rc\u803b\xc2\u40c2;\u4410r;\uc000\u{1d504}rave\u803b\xc0\u40c0pha;\u4391acr;\u4100d;\u6a53\u0100gp\x9d\xa1on;\u4104f;\uc000\u{1d538}plyFunction;\u6061ing\u803b\xc5\u40c5\u0100cs\xbe\xc3r;\uc000\u{1d49c}ign;\u6254ilde\u803b\xc3\u40c3ml\u803b\xc4\u40c4\u0400aceforsu\xe5\xfb\xfe\u0117\u011c\u0122\u0127\u012a\u0100cr\xea\xf2kslash;\u6216\u0176\xf6\xf8;\u6ae7ed;\u6306y;\u4411\u0180crt\u0105\u010b\u0114ause;\u6235noullis;\u612ca;\u4392r;\uc000\u{1d505}pf;\uc000\u{1d539}eve;\u42d8c\xf2\u0113mpeq;\u624e\u0700HOacdefhilorsu\u014d\u0151\u0156\u0180\u019e\u01a2\u01b5\u01b7\u01ba\u01dc\u0215\u0273\u0278\u027ecy;\u4427PY\u803b\xa9\u40a9\u0180cpy\u015d\u0162\u017aute;\u4106\u0100;i\u0167\u0168\u62d2talDifferentialD;\u6145leys;\u612d\u0200aeio\u0189\u018e\u0194\u0198ron;\u410cdil\u803b\xc7\u40c7rc;\u4108nint;\u6230ot;\u410a\u0100dn\u01a7\u01adilla;\u40b8terDot;\u40b7\xf2\u017fi;\u43a7rcle\u0200DMPT\u01c7\u01cb\u01d1\u01d6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01e2\u01f8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020foubleQuote;\u601duote;\u6019\u0200lnpu\u021e\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6a74\u0180git\u022f\u0236\u023aruent;\u6261nt;\u622fourIntegral;\u622e\u0100fr\u024c\u024e;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6a2fcr;\uc000\u{1d49e}p\u0100;C\u0284\u0285\u62d3ap;\u624d\u0580DJSZacefios\u02a0\u02ac\u02b0\u02b4\u02b8\u02cb\u02d7\u02e1\u02e6\u0333\u048d\u0100;o\u0179\u02a5trahd;\u6911cy;\u4402cy;\u4405cy;\u440f\u0180grs\u02bf\u02c4\u02c7ger;\u6021r;\u61a1hv;\u6ae4\u0100ay\u02d0\u02d5ron;\u410e;\u4414l\u0100;t\u02dd\u02de\u6207a;\u4394r;\uc000\u{1d507}\u0100af\u02eb\u0327\u0100cm\u02f0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031ccute;\u40b4o\u0174\u030b\u030d;\u42d9bleAcute;\u42ddrave;\u4060ilde;\u42dcond;\u62c4ferentialD;\u6146\u0470\u033d\0\0\0\u0342\u0354\0\u0405f;\uc000\u{1d53b}\u0180;DE\u0348\u0349\u034d\u40a8ot;\u60dcqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03cf\u03e2\u03f8ontourIntegra\xec\u0239o\u0274\u0379\0\0\u037b\xbb\u0349nArrow;\u61d3\u0100eo\u0387\u03a4ft\u0180ART\u0390\u0396\u03a1rrow;\u61d0ightArrow;\u61d4e\xe5\u02cang\u0100LR\u03ab\u03c4eft\u0100AR\u03b3\u03b9rrow;\u67f8ightArrow;\u67faightArrow;\u67f9ight\u0100AT\u03d8\u03derrow;\u61d2ee;\u62a8p\u0241\u03e9\0\0\u03efrrow;\u61d1ownArrow;\u61d5erticalBar;\u6225n\u0300ABLRTa\u0412\u042a\u0430\u045e\u047f\u037crrow\u0180;BU\u041d\u041e\u0422\u6193ar;\u6913pArrow;\u61f5reve;\u4311eft\u02d2\u043a\0\u0446\0\u0450ightVector;\u6950eeVector;\u695eector\u0100;B\u0459\u045a\u61bdar;\u6956ight\u01d4\u0467\0\u0471eeVector;\u695fector\u0100;B\u047a\u047b\u61c1ar;\u6957ee\u0100;A\u0486\u0487\u62a4rrow;\u61a7\u0100ct\u0492\u0497r;\uc000\u{1d49f}rok;\u4110\u0800NTacdfglmopqstux\u04bd\u04c0\u04c4\u04cb\u04de\u04e2\u04e7\u04ee\u04f5\u0521\u052f\u0536\u0552\u055d\u0560\u0565G;\u414aH\u803b\xd0\u40d0cute\u803b\xc9\u40c9\u0180aiy\u04d2\u04d7\u04dcron;\u411arc\u803b\xca\u40ca;\u442dot;\u4116r;\uc000\u{1d508}rave\u803b\xc8\u40c8ement;\u6208\u0100ap\u04fa\u04fecr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65fberySmallSquare;\u65ab\u0100gp\u0526\u052aon;\u4118f;\uc000\u{1d53c}silon;\u4395u\u0100ai\u053c\u0549l\u0100;T\u0542\u0543\u6a75ilde;\u6242librium;\u61cc\u0100ci\u0557\u055ar;\u6130m;\u6a73a;\u4397ml\u803b\xcb\u40cb\u0100ip\u056a\u056fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058d\u05b2\u05ccy;\u4424r;\uc000\u{1d509}lled\u0253\u0597\0\0\u05a3mallSquare;\u65fcerySmallSquare;\u65aa\u0370\u05ba\0\u05bf\0\0\u05c4f;\uc000\u{1d53d}All;\u6200riertrf;\u6131c\xf2\u05cb\u0600JTabcdfgorst\u05e8\u05ec\u05ef\u05fa\u0600\u0612\u0616\u061b\u061d\u0623\u066c\u0672cy;\u4403\u803b>\u403emma\u0100;d\u05f7\u05f8\u4393;\u43dcreve;\u411e\u0180eiy\u0607\u060c\u0610dil;\u4122rc;\u411c;\u4413ot;\u4120r;\uc000\u{1d50a};\u62d9pf;\uc000\u{1d53e}eater\u0300EFGLST\u0635\u0644\u064e\u0656\u065b\u0666qual\u0100;L\u063e\u063f\u6265ess;\u62dbullEqual;\u6267reater;\u6aa2ess;\u6277lantEqual;\u6a7eilde;\u6273cr;\uc000\u{1d4a2};\u626b\u0400Aacfiosu\u0685\u068b\u0696\u069b\u069e\u06aa\u06be\u06caRDcy;\u442a\u0100ct\u0690\u0694ek;\u42c7;\u405eirc;\u4124r;\u610clbertSpace;\u610b\u01f0\u06af\0\u06b2f;\u610dizontalLine;\u6500\u0100ct\u06c3\u06c5\xf2\u06a9rok;\u4126mp\u0144\u06d0\u06d8ownHum\xf0\u012fqual;\u624f\u0700EJOacdfgmnostu\u06fa\u06fe\u0703\u0707\u070e\u071a\u071e\u0721\u0728\u0744\u0778\u078b\u078f\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803b\xcd\u40cd\u0100iy\u0713\u0718rc\u803b\xce\u40ce;\u4418ot;\u4130r;\u6111rave\u803b\xcc\u40cc\u0180;ap\u0720\u072f\u073f\u0100cg\u0734\u0737r;\u412ainaryI;\u6148lie\xf3\u03dd\u01f4\u0749\0\u0762\u0100;e\u074d\u074e\u622c\u0100gr\u0753\u0758ral;\u622bsection;\u62c2isible\u0100CT\u076c\u0772omma;\u6063imes;\u6062\u0180gpt\u077f\u0783\u0788on;\u412ef;\uc000\u{1d540}a;\u4399cr;\u6110ilde;\u4128\u01eb\u079a\0\u079ecy;\u4406l\u803b\xcf\u40cf\u0280cfosu\u07ac\u07b7\u07bc\u07c2\u07d0\u0100iy\u07b1\u07b5rc;\u4134;\u4419r;\uc000\u{1d50d}pf;\uc000\u{1d541}\u01e3\u07c7\0\u07ccr;\uc000\u{1d4a5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07e4\u07e8\u07ec\u07f1\u07fd\u0802\u0808cy;\u4425cy;\u440cppa;\u439a\u0100ey\u07f6\u07fbdil;\u4136;\u441ar;\uc000\u{1d50e}pf;\uc000\u{1d542}cr;\uc000\u{1d4a6}\u0580JTaceflmost\u0825\u0829\u082c\u0850\u0863\u09b3\u09b8\u09c7\u09cd\u0a37\u0a47cy;\u4409\u803b<\u403c\u0280cmnpr\u0837\u083c\u0841\u0844\u084dute;\u4139bda;\u439bg;\u67ealacetrf;\u6112r;\u619e\u0180aey\u0857\u085c\u0861ron;\u413ddil;\u413b;\u441b\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087e\u08a9\u08b1\u08e0\u08e6\u08fc\u092f\u095b\u0390\u096a\u0100nr\u0883\u088fgleBracket;\u67e8row\u0180;BR\u0899\u089a\u089e\u6190ar;\u61e4ightArrow;\u61c6eiling;\u6308o\u01f5\u08b7\0\u08c3bleBracket;\u67e6n\u01d4\u08c8\0\u08d2eeVector;\u6961ector\u0100;B\u08db\u08dc\u61c3ar;\u6959loor;\u630aight\u0100AV\u08ef\u08f5rrow;\u6194ector;\u694e\u0100er\u0901\u0917e\u0180;AV\u0909\u090a\u0910\u62a3rrow;\u61a4ector;\u695aiangle\u0180;BE\u0924\u0925\u0929\u62b2ar;\u69cfqual;\u62b4p\u0180DTV\u0937\u0942\u094cownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61bfar;\u6958ector\u0100;B\u0965\u0966\u61bcar;\u6952ight\xe1\u039cs\u0300EFGLST\u097e\u098b\u0995\u099d\u09a2\u09adqualGreater;\u62daullEqual;\u6266reater;\u6276ess;\u6aa1lantEqual;\u6a7dilde;\u6272r;\uc000\u{1d50f}\u0100;e\u09bd\u09be\u62d8ftarrow;\u61daidot;\u413f\u0180npw\u09d4\u0a16\u0a1bg\u0200LRlr\u09de\u09f7\u0a02\u0a10eft\u0100AR\u09e6\u09ecrrow;\u67f5ightArrow;\u67f7ightArrow;\u67f6eft\u0100ar\u03b3\u0a0aight\xe1\u03bfight\xe1\u03caf;\uc000\u{1d543}er\u0100LR\u0a22\u0a2ceftArrow;\u6199ightArrow;\u6198\u0180cht\u0a3e\u0a40\u0a42\xf2\u084c;\u61b0rok;\u4141;\u626a\u0400acefiosu\u0a5a\u0a5d\u0a60\u0a77\u0a7c\u0a85\u0a8b\u0a8ep;\u6905y;\u441c\u0100dl\u0a65\u0a6fiumSpace;\u605flintrf;\u6133r;\uc000\u{1d510}nusPlus;\u6213pf;\uc000\u{1d544}c\xf2\u0a76;\u439c\u0480Jacefostu\u0aa3\u0aa7\u0aad\u0ac0\u0b14\u0b19\u0d91\u0d97\u0d9ecy;\u440acute;\u4143\u0180aey\u0ab4\u0ab9\u0aberon;\u4147dil;\u4145;\u441d\u0180gsw\u0ac7\u0af0\u0b0eative\u0180MTV\u0ad3\u0adf\u0ae8ediumSpace;\u600bhi\u0100cn\u0ae6\u0ad8\xeb\u0ad9eryThi\xee\u0ad9ted\u0100GL\u0af8\u0b06reaterGreate\xf2\u0673essLes\xf3\u0a48Line;\u400ar;\uc000\u{1d511}\u0200Bnpt\u0b22\u0b28\u0b37\u0b3areak;\u6060BreakingSpace;\u40a0f;\u6115\u0680;CDEGHLNPRSTV\u0b55\u0b56\u0b6a\u0b7c\u0ba1\u0beb\u0c04\u0c5e\u0c84\u0ca6\u0cd8\u0d61\u0d85\u6aec\u0100ou\u0b5b\u0b64ngruent;\u6262pCap;\u626doubleVerticalBar;\u6226\u0180lqx\u0b83\u0b8a\u0b9bement;\u6209ual\u0100;T\u0b92\u0b93\u6260ilde;\uc000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0bb6\u0bb7\u0bbd\u0bc9\u0bd3\u0bd8\u0be5\u626fqual;\u6271ullEqual;\uc000\u2267\u0338reater;\uc000\u226b\u0338ess;\u6279lantEqual;\uc000\u2a7e\u0338ilde;\u6275ump\u0144\u0bf2\u0bfdownHump;\uc000\u224e\u0338qual;\uc000\u224f\u0338e\u0100fs\u0c0a\u0c27tTriangle\u0180;BE\u0c1a\u0c1b\u0c21\u62eaar;\uc000\u29cf\u0338qual;\u62ecs\u0300;EGLST\u0c35\u0c36\u0c3c\u0c44\u0c4b\u0c58\u626equal;\u6270reater;\u6278ess;\uc000\u226a\u0338lantEqual;\uc000\u2a7d\u0338ilde;\u6274ested\u0100GL\u0c68\u0c79reaterGreater;\uc000\u2aa2\u0338essLess;\uc000\u2aa1\u0338recedes\u0180;ES\u0c92\u0c93\u0c9b\u6280qual;\uc000\u2aaf\u0338lantEqual;\u62e0\u0100ei\u0cab\u0cb9verseElement;\u620cghtTriangle\u0180;BE\u0ccb\u0ccc\u0cd2\u62ebar;\uc000\u29d0\u0338qual;\u62ed\u0100qu\u0cdd\u0d0cuareSu\u0100bp\u0ce8\u0cf9set\u0100;E\u0cf0\u0cf3\uc000\u228f\u0338qual;\u62e2erset\u0100;E\u0d03\u0d06\uc000\u2290\u0338qual;\u62e3\u0180bcp\u0d13\u0d24\u0d4eset\u0100;E\u0d1b\u0d1e\uc000\u2282\u20d2qual;\u6288ceeds\u0200;EST\u0d32\u0d33\u0d3b\u0d46\u6281qual;\uc000\u2ab0\u0338lantEqual;\u62e1ilde;\uc000\u227f\u0338erset\u0100;E\u0d58\u0d5b\uc000\u2283\u20d2qual;\u6289ilde\u0200;EFT\u0d6e\u0d6f\u0d75\u0d7f\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uc000\u{1d4a9}ilde\u803b\xd1\u40d1;\u439d\u0700Eacdfgmoprstuv\u0dbd\u0dc2\u0dc9\u0dd5\u0ddb\u0de0\u0de7\u0dfc\u0e02\u0e20\u0e22\u0e32\u0e3f\u0e44lig;\u4152cute\u803b\xd3\u40d3\u0100iy\u0dce\u0dd3rc\u803b\xd4\u40d4;\u441eblac;\u4150r;\uc000\u{1d512}rave\u803b\xd2\u40d2\u0180aei\u0dee\u0df2\u0df6cr;\u414cga;\u43a9cron;\u439fpf;\uc000\u{1d546}enCurly\u0100DQ\u0e0e\u0e1aoubleQuote;\u601cuote;\u6018;\u6a54\u0100cl\u0e27\u0e2cr;\uc000\u{1d4aa}ash\u803b\xd8\u40d8i\u016c\u0e37\u0e3cde\u803b\xd5\u40d5es;\u6a37ml\u803b\xd6\u40d6er\u0100BP\u0e4b\u0e60\u0100ar\u0e50\u0e53r;\u603eac\u0100ek\u0e5a\u0e5c;\u63deet;\u63b4arenthesis;\u63dc\u0480acfhilors\u0e7f\u0e87\u0e8a\u0e8f\u0e92\u0e94\u0e9d\u0eb0\u0efcrtialD;\u6202y;\u441fr;\uc000\u{1d513}i;\u43a6;\u43a0usMinus;\u40b1\u0100ip\u0ea2\u0eadncareplan\xe5\u069df;\u6119\u0200;eio\u0eb9\u0eba\u0ee0\u0ee4\u6abbcedes\u0200;EST\u0ec8\u0ec9\u0ecf\u0eda\u627aqual;\u6aaflantEqual;\u627cilde;\u627eme;\u6033\u0100dp\u0ee9\u0eeeuct;\u620fortion\u0100;a\u0225\u0ef9l;\u621d\u0100ci\u0f01\u0f06r;\uc000\u{1d4ab};\u43a8\u0200Ufos\u0f11\u0f16\u0f1b\u0f1fOT\u803b"\u4022r;\uc000\u{1d514}pf;\u611acr;\uc000\u{1d4ac}\u0600BEacefhiorsu\u0f3e\u0f43\u0f47\u0f60\u0f73\u0fa7\u0faa\u0fad\u1096\u10a9\u10b4\u10bearr;\u6910G\u803b\xae\u40ae\u0180cnr\u0f4e\u0f53\u0f56ute;\u4154g;\u67ebr\u0100;t\u0f5c\u0f5d\u61a0l;\u6916\u0180aey\u0f67\u0f6c\u0f71ron;\u4158dil;\u4156;\u4420\u0100;v\u0f78\u0f79\u611cerse\u0100EU\u0f82\u0f99\u0100lq\u0f87\u0f8eement;\u620builibrium;\u61cbpEquilibrium;\u696fr\xbb\u0f79o;\u43a1ght\u0400ACDFTUVa\u0fc1\u0feb\u0ff3\u1022\u1028\u105b\u1087\u03d8\u0100nr\u0fc6\u0fd2gleBracket;\u67e9row\u0180;BL\u0fdc\u0fdd\u0fe1\u6192ar;\u61e5eftArrow;\u61c4eiling;\u6309o\u01f5\u0ff9\0\u1005bleBracket;\u67e7n\u01d4\u100a\0\u1014eeVector;\u695dector\u0100;B\u101d\u101e\u61c2ar;\u6955loor;\u630b\u0100er\u102d\u1043e\u0180;AV\u1035\u1036\u103c\u62a2rrow;\u61a6ector;\u695biangle\u0180;BE\u1050\u1051\u1055\u62b3ar;\u69d0qual;\u62b5p\u0180DTV\u1063\u106e\u1078ownVector;\u694feeVector;\u695cector\u0100;B\u1082\u1083\u61bear;\u6954ector\u0100;B\u1091\u1092\u61c0ar;\u6953\u0100pu\u109b\u109ef;\u611dndImplies;\u6970ightarrow;\u61db\u0100ch\u10b9\u10bcr;\u611b;\u61b1leDelayed;\u69f4\u0680HOacfhimoqstu\u10e4\u10f1\u10f7\u10fd\u1119\u111e\u1151\u1156\u1161\u1167\u11b5\u11bb\u11bf\u0100Cc\u10e9\u10eeHcy;\u4429y;\u4428FTcy;\u442ccute;\u415a\u0280;aeiy\u1108\u1109\u110e\u1113\u1117\u6abcron;\u4160dil;\u415erc;\u415c;\u4421r;\uc000\u{1d516}ort\u0200DLRU\u112a\u1134\u113e\u1149ownArrow\xbb\u041eeftArrow\xbb\u089aightArrow\xbb\u0fddpArrow;\u6191gma;\u43a3allCircle;\u6218pf;\uc000\u{1d54a}\u0272\u116d\0\0\u1170t;\u621aare\u0200;ISU\u117b\u117c\u1189\u11af\u65a1ntersection;\u6293u\u0100bp\u118f\u119eset\u0100;E\u1197\u1198\u628fqual;\u6291erset\u0100;E\u11a8\u11a9\u6290qual;\u6292nion;\u6294cr;\uc000\u{1d4ae}ar;\u62c6\u0200bcmp\u11c8\u11db\u1209\u120b\u0100;s\u11cd\u11ce\u62d0et\u0100;E\u11cd\u11d5qual;\u6286\u0100ch\u11e0\u1205eeds\u0200;EST\u11ed\u11ee\u11f4\u11ff\u627bqual;\u6ab0lantEqual;\u627dilde;\u627fTh\xe1\u0f8c;\u6211\u0180;es\u1212\u1213\u1223\u62d1rset\u0100;E\u121c\u121d\u6283qual;\u6287et\xbb\u1213\u0580HRSacfhiors\u123e\u1244\u1249\u1255\u125e\u1271\u1276\u129f\u12c2\u12c8\u12d1ORN\u803b\xde\u40deADE;\u6122\u0100Hc\u124e\u1252cy;\u440by;\u4426\u0100bu\u125a\u125c;\u4009;\u43a4\u0180aey\u1265\u126a\u126fron;\u4164dil;\u4162;\u4422r;\uc000\u{1d517}\u0100ei\u127b\u1289\u01f2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128e\u1298kSpace;\uc000\u205f\u200aSpace;\u6009lde\u0200;EFT\u12ab\u12ac\u12b2\u12bc\u623cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uc000\u{1d54b}ipleDot;\u60db\u0100ct\u12d6\u12dbr;\uc000\u{1d4af}rok;\u4166\u0ae1\u12f7\u130e\u131a\u1326\0\u132c\u1331\0\0\0\0\0\u1338\u133d\u1377\u1385\0\u13ff\u1404\u140a\u1410\u0100cr\u12fb\u1301ute\u803b\xda\u40dar\u0100;o\u1307\u1308\u619fcir;\u6949r\u01e3\u1313\0\u1316y;\u440eve;\u416c\u0100iy\u131e\u1323rc\u803b\xdb\u40db;\u4423blac;\u4170r;\uc000\u{1d518}rave\u803b\xd9\u40d9acr;\u416a\u0100di\u1341\u1369er\u0100BP\u1348\u135d\u0100ar\u134d\u1350r;\u405fac\u0100ek\u1357\u1359;\u63dfet;\u63b5arenthesis;\u63ddon\u0100;P\u1370\u1371\u62c3lus;\u628e\u0100gp\u137b\u137fon;\u4172f;\uc000\u{1d54c}\u0400ADETadps\u1395\u13ae\u13b8\u13c4\u03e8\u13d2\u13d7\u13f3rrow\u0180;BD\u1150\u13a0\u13a4ar;\u6912ownArrow;\u61c5ownArrow;\u6195quilibrium;\u696eee\u0100;A\u13cb\u13cc\u62a5rrow;\u61a5own\xe1\u03f3er\u0100LR\u13de\u13e8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13f9\u13fa\u43d2on;\u43a5ing;\u416ecr;\uc000\u{1d4b0}ilde;\u4168ml\u803b\xdc\u40dc\u0480Dbcdefosv\u1427\u142c\u1430\u1433\u143e\u1485\u148a\u1490\u1496ash;\u62abar;\u6aeby;\u4412ash\u0100;l\u143b\u143c\u62a9;\u6ae6\u0100er\u1443\u1445;\u62c1\u0180bty\u144c\u1450\u147aar;\u6016\u0100;i\u144f\u1455cal\u0200BLST\u1461\u1465\u146a\u1474ar;\u6223ine;\u407ceparator;\u6758ilde;\u6240ThinSpace;\u600ar;\uc000\u{1d519}pf;\uc000\u{1d54d}cr;\uc000\u{1d4b1}dash;\u62aa\u0280cefos\u14a7\u14ac\u14b1\u14b6\u14bcirc;\u4174dge;\u62c0r;\uc000\u{1d51a}pf;\uc000\u{1d54e}cr;\uc000\u{1d4b2}\u0200fios\u14cb\u14d0\u14d2\u14d8r;\uc000\u{1d51b};\u439epf;\uc000\u{1d54f}cr;\uc000\u{1d4b3}\u0480AIUacfosu\u14f1\u14f5\u14f9\u14fd\u1504\u150f\u1514\u151a\u1520cy;\u442fcy;\u4407cy;\u442ecute\u803b\xdd\u40dd\u0100iy\u1509\u150drc;\u4176;\u442br;\uc000\u{1d51c}pf;\uc000\u{1d550}cr;\uc000\u{1d4b4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153f\u154b\u154f\u155d\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417d;\u4417ot;\u417b\u01f2\u1554\0\u155boWidt\xe8\u0ad9a;\u4396r;\u6128pf;\u6124cr;\uc000\u{1d4b5}\u0be1\u1583\u158a\u1590\0\u15b0\u15b6\u15bf\0\0\0\0\u15c6\u15db\u15eb\u165f\u166d\0\u1695\u169b\u16b2\u16b9\0\u16becute\u803b\xe1\u40e1reve;\u4103\u0300;Ediuy\u159c\u159d\u15a1\u15a3\u15a8\u15ad\u623e;\uc000\u223e\u0333;\u623frc\u803b\xe2\u40e2te\u80bb\xb4\u0306;\u4430lig\u803b\xe6\u40e6\u0100;r\xb2\u15ba;\uc000\u{1d51e}rave\u803b\xe0\u40e0\u0100ep\u15ca\u15d6\u0100fp\u15cf\u15d4sym;\u6135\xe8\u15d3ha;\u43b1\u0100ap\u15dfc\u0100cl\u15e4\u15e7r;\u4101g;\u6a3f\u0264\u15f0\0\0\u160a\u0280;adsv\u15fa\u15fb\u15ff\u1601\u1607\u6227nd;\u6a55;\u6a5clope;\u6a58;\u6a5a\u0380;elmrsz\u1618\u1619\u161b\u161e\u163f\u164f\u1659\u6220;\u69a4e\xbb\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163a\u163c\u163e;\u69a8;\u69a9;\u69aa;\u69ab;\u69ac;\u69ad;\u69ae;\u69aft\u0100;v\u1645\u1646\u621fb\u0100;d\u164c\u164d\u62be;\u699d\u0100pt\u1654\u1657h;\u6222\xbb\xb9arr;\u637c\u0100gp\u1663\u1667on;\u4105f;\uc000\u{1d552}\u0380;Eaeiop\u12c1\u167b\u167d\u1682\u1684\u1687\u168a;\u6a70cir;\u6a6f;\u624ad;\u624bs;\u4027rox\u0100;e\u12c1\u1692\xf1\u1683ing\u803b\xe5\u40e5\u0180cty\u16a1\u16a6\u16a8r;\uc000\u{1d4b6};\u402amp\u0100;e\u12c1\u16af\xf1\u0288ilde\u803b\xe3\u40e3ml\u803b\xe4\u40e4\u0100ci\u16c2\u16c8onin\xf4\u0272nt;\u6a11\u0800Nabcdefiklnoprsu\u16ed\u16f1\u1730\u173c\u1743\u1748\u1778\u177d\u17e0\u17e6\u1839\u1850\u170d\u193d\u1948\u1970ot;\u6aed\u0100cr\u16f6\u171ek\u0200ceps\u1700\u1705\u170d\u1713ong;\u624cpsilon;\u43f6rime;\u6035im\u0100;e\u171a\u171b\u623dq;\u62cd\u0176\u1722\u1726ee;\u62bded\u0100;g\u172c\u172d\u6305e\xbb\u172drk\u0100;t\u135c\u1737brk;\u63b6\u0100oy\u1701\u1741;\u4431quo;\u601e\u0280cmprt\u1753\u175b\u1761\u1764\u1768aus\u0100;e\u010a\u0109ptyv;\u69b0s\xe9\u170cno\xf5\u0113\u0180ahw\u176f\u1771\u1773;\u43b2;\u6136een;\u626cr;\uc000\u{1d51f}g\u0380costuvw\u178d\u179d\u17b3\u17c1\u17d5\u17db\u17de\u0180aiu\u1794\u1796\u179a\xf0\u0760rc;\u65efp\xbb\u1371\u0180dpt\u17a4\u17a8\u17adot;\u6a00lus;\u6a01imes;\u6a02\u0271\u17b9\0\0\u17becup;\u6a06ar;\u6605riangle\u0100du\u17cd\u17d2own;\u65bdp;\u65b3plus;\u6a04e\xe5\u1444\xe5\u14adarow;\u690d\u0180ako\u17ed\u1826\u1835\u0100cn\u17f2\u1823k\u0180lst\u17fa\u05ab\u1802ozenge;\u69ebriangle\u0200;dlr\u1812\u1813\u1818\u181d\u65b4own;\u65beeft;\u65c2ight;\u65b8k;\u6423\u01b1\u182b\0\u1833\u01b2\u182f\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183e\u184d\u0100;q\u1843\u1846\uc000=\u20e5uiv;\uc000\u2261\u20e5t;\u6310\u0200ptwx\u1859\u185e\u1867\u186cf;\uc000\u{1d553}\u0100;t\u13cb\u1863om\xbb\u13cctie;\u62c8\u0600DHUVbdhmptuv\u1885\u1896\u18aa\u18bb\u18d7\u18db\u18ec\u18ff\u1905\u190a\u1910\u1921\u0200LRlr\u188e\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18a1\u18a2\u18a4\u18a6\u18a8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18b3\u18b5\u18b7\u18b9;\u655d;\u655a;\u655c;\u6559\u0380;HLRhlr\u18ca\u18cb\u18cd\u18cf\u18d1\u18d3\u18d5\u6551;\u656c;\u6563;\u6560;\u656b;\u6562;\u655fox;\u69c9\u0200LRlr\u18e4\u18e6\u18e8\u18ea;\u6555;\u6552;\u6510;\u650c\u0280;DUdu\u06bd\u18f7\u18f9\u18fb\u18fd;\u6565;\u6568;\u652c;\u6534inus;\u629flus;\u629eimes;\u62a0\u0200LRlr\u1919\u191b\u191d\u191f;\u655b;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193b\u6502;\u656a;\u6561;\u655e;\u653c;\u6524;\u651c\u0100ev\u0123\u1942bar\u803b\xa6\u40a6\u0200ceio\u1951\u1956\u195a\u1960r;\uc000\u{1d4b7}mi;\u604fm\u0100;e\u171a\u171cl\u0180;bh\u1968\u1969\u196b\u405c;\u69c5sub;\u67c8\u016c\u1974\u197el\u0100;e\u1979\u197a\u6022t\xbb\u197ap\u0180;Ee\u012f\u1985\u1987;\u6aae\u0100;q\u06dc\u06db\u0ce1\u19a7\0\u19e8\u1a11\u1a15\u1a32\0\u1a37\u1a50\0\0\u1ab4\0\0\u1ac1\0\0\u1b21\u1b2e\u1b4d\u1b52\0\u1bfd\0\u1c0c\u0180cpr\u19ad\u19b2\u19ddute;\u4107\u0300;abcds\u19bf\u19c0\u19c4\u19ca\u19d5\u19d9\u6229nd;\u6a44rcup;\u6a49\u0100au\u19cf\u19d2p;\u6a4bp;\u6a47ot;\u6a40;\uc000\u2229\ufe00\u0100eo\u19e2\u19e5t;\u6041\xee\u0693\u0200aeiu\u19f0\u19fb\u1a01\u1a05\u01f0\u19f5\0\u19f8s;\u6a4don;\u410ddil\u803b\xe7\u40e7rc;\u4109ps\u0100;s\u1a0c\u1a0d\u6a4cm;\u6a50ot;\u410b\u0180dmn\u1a1b\u1a20\u1a26il\u80bb\xb8\u01adptyv;\u69b2t\u8100\xa2;e\u1a2d\u1a2e\u40a2r\xe4\u01b2r;\uc000\u{1d520}\u0180cei\u1a3d\u1a40\u1a4dy;\u4447ck\u0100;m\u1a47\u1a48\u6713ark\xbb\u1a48;\u43c7r\u0380;Ecefms\u1a5f\u1a60\u1a62\u1a6b\u1aa4\u1aaa\u1aae\u65cb;\u69c3\u0180;el\u1a69\u1a6a\u1a6d\u42c6q;\u6257e\u0261\u1a74\0\0\u1a88rrow\u0100lr\u1a7c\u1a81eft;\u61baight;\u61bb\u0280RSacd\u1a92\u1a94\u1a96\u1a9a\u1a9f\xbb\u0f47;\u64c8st;\u629birc;\u629aash;\u629dnint;\u6a10id;\u6aefcir;\u69c2ubs\u0100;u\u1abb\u1abc\u6663it\xbb\u1abc\u02ec\u1ac7\u1ad4\u1afa\0\u1b0aon\u0100;e\u1acd\u1ace\u403a\u0100;q\xc7\xc6\u026d\u1ad9\0\0\u1ae2a\u0100;t\u1ade\u1adf\u402c;\u4040\u0180;fl\u1ae8\u1ae9\u1aeb\u6201\xee\u1160e\u0100mx\u1af1\u1af6ent\xbb\u1ae9e\xf3\u024d\u01e7\u1afe\0\u1b07\u0100;d\u12bb\u1b02ot;\u6a6dn\xf4\u0246\u0180fry\u1b10\u1b14\u1b17;\uc000\u{1d554}o\xe4\u0254\u8100\xa9;s\u0155\u1b1dr;\u6117\u0100ao\u1b25\u1b29rr;\u61b5ss;\u6717\u0100cu\u1b32\u1b37r;\uc000\u{1d4b8}\u0100bp\u1b3c\u1b44\u0100;e\u1b41\u1b42\u6acf;\u6ad1\u0100;e\u1b49\u1b4a\u6ad0;\u6ad2dot;\u62ef\u0380delprvw\u1b60\u1b6c\u1b77\u1b82\u1bac\u1bd4\u1bf9arr\u0100lr\u1b68\u1b6a;\u6938;\u6935\u0270\u1b72\0\0\u1b75r;\u62dec;\u62dfarr\u0100;p\u1b7f\u1b80\u61b6;\u693d\u0300;bcdos\u1b8f\u1b90\u1b96\u1ba1\u1ba5\u1ba8\u622arcap;\u6a48\u0100au\u1b9b\u1b9ep;\u6a46p;\u6a4aot;\u628dr;\u6a45;\uc000\u222a\ufe00\u0200alrv\u1bb5\u1bbf\u1bde\u1be3rr\u0100;m\u1bbc\u1bbd\u61b7;\u693cy\u0180evw\u1bc7\u1bd4\u1bd8q\u0270\u1bce\0\0\u1bd2re\xe3\u1b73u\xe3\u1b75ee;\u62ceedge;\u62cfen\u803b\xa4\u40a4earrow\u0100lr\u1bee\u1bf3eft\xbb\u1b80ight\xbb\u1bbde\xe4\u1bdd\u0100ci\u1c01\u1c07onin\xf4\u01f7nt;\u6231lcty;\u632d\u0980AHabcdefhijlorstuwz\u1c38\u1c3b\u1c3f\u1c5d\u1c69\u1c75\u1c8a\u1c9e\u1cac\u1cb7\u1cfb\u1cff\u1d0d\u1d7b\u1d91\u1dab\u1dbb\u1dc6\u1dcdr\xf2\u0381ar;\u6965\u0200glrs\u1c48\u1c4d\u1c52\u1c54ger;\u6020eth;\u6138\xf2\u1133h\u0100;v\u1c5a\u1c5b\u6010\xbb\u090a\u016b\u1c61\u1c67arow;\u690fa\xe3\u0315\u0100ay\u1c6e\u1c73ron;\u410f;\u4434\u0180;ao\u0332\u1c7c\u1c84\u0100gr\u02bf\u1c81r;\u61catseq;\u6a77\u0180glm\u1c91\u1c94\u1c98\u803b\xb0\u40b0ta;\u43b4ptyv;\u69b1\u0100ir\u1ca3\u1ca8sht;\u697f;\uc000\u{1d521}ar\u0100lr\u1cb3\u1cb5\xbb\u08dc\xbb\u101e\u0280aegsv\u1cc2\u0378\u1cd6\u1cdc\u1ce0m\u0180;os\u0326\u1cca\u1cd4nd\u0100;s\u0326\u1cd1uit;\u6666amma;\u43ddin;\u62f2\u0180;io\u1ce7\u1ce8\u1cf8\u40f7de\u8100\xf7;o\u1ce7\u1cf0ntimes;\u62c7n\xf8\u1cf7cy;\u4452c\u026f\u1d06\0\0\u1d0arn;\u631eop;\u630d\u0280lptuw\u1d18\u1d1d\u1d22\u1d49\u1d55lar;\u4024f;\uc000\u{1d555}\u0280;emps\u030b\u1d2d\u1d37\u1d3d\u1d42q\u0100;d\u0352\u1d33ot;\u6251inus;\u6238lus;\u6214quare;\u62a1blebarwedg\xe5\xfan\u0180adh\u112e\u1d5d\u1d67ownarrow\xf3\u1c83arpoon\u0100lr\u1d72\u1d76ef\xf4\u1cb4igh\xf4\u1cb6\u0162\u1d7f\u1d85karo\xf7\u0f42\u026f\u1d8a\0\0\u1d8ern;\u631fop;\u630c\u0180cot\u1d98\u1da3\u1da6\u0100ry\u1d9d\u1da1;\uc000\u{1d4b9};\u4455l;\u69f6rok;\u4111\u0100dr\u1db0\u1db4ot;\u62f1i\u0100;f\u1dba\u1816\u65bf\u0100ah\u1dc0\u1dc3r\xf2\u0429a\xf2\u0fa6angle;\u69a6\u0100ci\u1dd2\u1dd5y;\u445fgrarr;\u67ff\u0900Dacdefglmnopqrstux\u1e01\u1e09\u1e19\u1e38\u0578\u1e3c\u1e49\u1e61\u1e7e\u1ea5\u1eaf\u1ebd\u1ee1\u1f2a\u1f37\u1f44\u1f4e\u1f5a\u0100Do\u1e06\u1d34o\xf4\u1c89\u0100cs\u1e0e\u1e14ute\u803b\xe9\u40e9ter;\u6a6e\u0200aioy\u1e22\u1e27\u1e31\u1e36ron;\u411br\u0100;c\u1e2d\u1e2e\u6256\u803b\xea\u40ealon;\u6255;\u444dot;\u4117\u0100Dr\u1e41\u1e45ot;\u6252;\uc000\u{1d522}\u0180;rs\u1e50\u1e51\u1e57\u6a9aave\u803b\xe8\u40e8\u0100;d\u1e5c\u1e5d\u6a96ot;\u6a98\u0200;ils\u1e6a\u1e6b\u1e72\u1e74\u6a99nters;\u63e7;\u6113\u0100;d\u1e79\u1e7a\u6a95ot;\u6a97\u0180aps\u1e85\u1e89\u1e97cr;\u4113ty\u0180;sv\u1e92\u1e93\u1e95\u6205et\xbb\u1e93p\u01001;\u1e9d\u1ea4\u0133\u1ea1\u1ea3;\u6004;\u6005\u6003\u0100gs\u1eaa\u1eac;\u414bp;\u6002\u0100gp\u1eb4\u1eb8on;\u4119f;\uc000\u{1d556}\u0180als\u1ec4\u1ece\u1ed2r\u0100;s\u1eca\u1ecb\u62d5l;\u69e3us;\u6a71i\u0180;lv\u1eda\u1edb\u1edf\u43b5on\xbb\u1edb;\u43f5\u0200csuv\u1eea\u1ef3\u1f0b\u1f23\u0100io\u1eef\u1e31rc\xbb\u1e2e\u0269\u1ef9\0\0\u1efb\xed\u0548ant\u0100gl\u1f02\u1f06tr\xbb\u1e5dess\xbb\u1e7a\u0180aei\u1f12\u1f16\u1f1als;\u403dst;\u625fv\u0100;D\u0235\u1f20D;\u6a78parsl;\u69e5\u0100Da\u1f2f\u1f33ot;\u6253rr;\u6971\u0180cdi\u1f3e\u1f41\u1ef8r;\u612fo\xf4\u0352\u0100ah\u1f49\u1f4b;\u43b7\u803b\xf0\u40f0\u0100mr\u1f53\u1f57l\u803b\xeb\u40ebo;\u60ac\u0180cip\u1f61\u1f64\u1f67l;\u4021s\xf4\u056e\u0100eo\u1f6c\u1f74ctatio\xee\u0559nential\xe5\u0579\u09e1\u1f92\0\u1f9e\0\u1fa1\u1fa7\0\0\u1fc6\u1fcc\0\u1fd3\0\u1fe6\u1fea\u2000\0\u2008\u205allingdotse\xf1\u1e44y;\u4444male;\u6640\u0180ilr\u1fad\u1fb3\u1fc1lig;\u8000\ufb03\u0269\u1fb9\0\0\u1fbdg;\u8000\ufb00ig;\u8000\ufb04;\uc000\u{1d523}lig;\u8000\ufb01lig;\uc000fj\u0180alt\u1fd9\u1fdc\u1fe1t;\u666dig;\u8000\ufb02ns;\u65b1of;\u4192\u01f0\u1fee\0\u1ff3f;\uc000\u{1d557}\u0100ak\u05bf\u1ff7\u0100;v\u1ffc\u1ffd\u62d4;\u6ad9artint;\u6a0d\u0100ao\u200c\u2055\u0100cs\u2011\u2052\u03b1\u201a\u2030\u2038\u2045\u2048\0\u2050\u03b2\u2022\u2025\u2027\u202a\u202c\0\u202e\u803b\xbd\u40bd;\u6153\u803b\xbc\u40bc;\u6155;\u6159;\u615b\u01b3\u2034\0\u2036;\u6154;\u6156\u02b4\u203e\u2041\0\0\u2043\u803b\xbe\u40be;\u6157;\u615c5;\u6158\u01b6\u204c\0\u204e;\u615a;\u615d8;\u615el;\u6044wn;\u6322cr;\uc000\u{1d4bb}\u0880Eabcdefgijlnorstv\u2082\u2089\u209f\u20a5\u20b0\u20b4\u20f0\u20f5\u20fa\u20ff\u2103\u2112\u2138\u0317\u213e\u2152\u219e\u0100;l\u064d\u2087;\u6a8c\u0180cmp\u2090\u2095\u209dute;\u41f5ma\u0100;d\u209c\u1cda\u43b3;\u6a86reve;\u411f\u0100iy\u20aa\u20aerc;\u411d;\u4433ot;\u4121\u0200;lqs\u063e\u0642\u20bd\u20c9\u0180;qs\u063e\u064c\u20c4lan\xf4\u0665\u0200;cdl\u0665\u20d2\u20d5\u20e5c;\u6aa9ot\u0100;o\u20dc\u20dd\u6a80\u0100;l\u20e2\u20e3\u6a82;\u6a84\u0100;e\u20ea\u20ed\uc000\u22db\ufe00s;\u6a94r;\uc000\u{1d524}\u0100;g\u0673\u061bmel;\u6137cy;\u4453\u0200;Eaj\u065a\u210c\u210e\u2110;\u6a92;\u6aa5;\u6aa4\u0200Eaes\u211b\u211d\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6a8arox\xbb\u2124\u0100;q\u212e\u212f\u6a88\u0100;q\u212e\u211bim;\u62e7pf;\uc000\u{1d558}\u0100ci\u2143\u2146r;\u610am\u0180;el\u066b\u214e\u2150;\u6a8e;\u6a90\u8300>;cdlqr\u05ee\u2160\u216a\u216e\u2173\u2179\u0100ci\u2165\u2167;\u6aa7r;\u6a7aot;\u62d7Par;\u6995uest;\u6a7c\u0280adels\u2184\u216a\u2190\u0656\u219b\u01f0\u2189\0\u218epro\xf8\u209er;\u6978q\u0100lq\u063f\u2196les\xf3\u2088i\xed\u066b\u0100en\u21a3\u21adrtneqq;\uc000\u2269\ufe00\xc5\u21aa\u0500Aabcefkosy\u21c4\u21c7\u21f1\u21f5\u21fa\u2218\u221d\u222f\u2268\u227dr\xf2\u03a0\u0200ilmr\u21d0\u21d4\u21d7\u21dbrs\xf0\u1484f\xbb\u2024il\xf4\u06a9\u0100dr\u21e0\u21e4cy;\u444a\u0180;cw\u08f4\u21eb\u21efir;\u6948;\u61adar;\u610firc;\u4125\u0180alr\u2201\u220e\u2213rts\u0100;u\u2209\u220a\u6665it\xbb\u220alip;\u6026con;\u62b9r;\uc000\u{1d525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223a\u223e\u2243\u225e\u2263rr;\u61fftht;\u623bk\u0100lr\u2249\u2253eftarrow;\u61a9ightarrow;\u61aaf;\uc000\u{1d559}bar;\u6015\u0180clt\u226f\u2274\u2278r;\uc000\u{1d4bd}as\xe8\u21f4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xbb\u1c5b\u0ae1\u22a3\0\u22aa\0\u22b8\u22c5\u22ce\0\u22d5\u22f3\0\0\u22f8\u2322\u2367\u2362\u237f\0\u2386\u23aa\u23b4cute\u803b\xed\u40ed\u0180;iy\u0771\u22b0\u22b5rc\u803b\xee\u40ee;\u4438\u0100cx\u22bc\u22bfy;\u4435cl\u803b\xa1\u40a1\u0100fr\u039f\u22c9;\uc000\u{1d526}rave\u803b\xec\u40ec\u0200;ino\u073e\u22dd\u22e9\u22ee\u0100in\u22e2\u22e6nt;\u6a0ct;\u622dfin;\u69dcta;\u6129lig;\u4133\u0180aop\u22fe\u231a\u231d\u0180cgt\u2305\u2308\u2317r;\u412b\u0180elp\u071f\u230f\u2313in\xe5\u078ear\xf4\u0720h;\u4131f;\u62b7ed;\u41b5\u0280;cfot\u04f4\u232c\u2331\u233d\u2341are;\u6105in\u0100;t\u2338\u2339\u621eie;\u69dddo\xf4\u2319\u0280;celp\u0757\u234c\u2350\u235b\u2361al;\u62ba\u0100gr\u2355\u2359er\xf3\u1563\xe3\u234darhk;\u6a17rod;\u6a3c\u0200cgpt\u236f\u2372\u2376\u237by;\u4451on;\u412ff;\uc000\u{1d55a}a;\u43b9uest\u803b\xbf\u40bf\u0100ci\u238a\u238fr;\uc000\u{1d4be}n\u0280;Edsv\u04f4\u239b\u239d\u23a1\u04f3;\u62f9ot;\u62f5\u0100;v\u23a6\u23a7\u62f4;\u62f3\u0100;i\u0777\u23aelde;\u4129\u01eb\u23b8\0\u23bccy;\u4456l\u803b\xef\u40ef\u0300cfmosu\u23cc\u23d7\u23dc\u23e1\u23e7\u23f5\u0100iy\u23d1\u23d5rc;\u4135;\u4439r;\uc000\u{1d527}ath;\u4237pf;\uc000\u{1d55b}\u01e3\u23ec\0\u23f1r;\uc000\u{1d4bf}rcy;\u4458kcy;\u4454\u0400acfghjos\u240b\u2416\u2422\u2427\u242d\u2431\u2435\u243bppa\u0100;v\u2413\u2414\u43ba;\u43f0\u0100ey\u241b\u2420dil;\u4137;\u443ar;\uc000\u{1d528}reen;\u4138cy;\u4445cy;\u445cpf;\uc000\u{1d55c}cr;\uc000\u{1d4c0}\u0b80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248d\u2491\u250e\u253d\u255a\u2580\u264e\u265e\u2665\u2679\u267d\u269a\u26b2\u26d8\u275d\u2768\u278b\u27c0\u2801\u2812\u0180art\u2477\u247a\u247cr\xf2\u09c6\xf2\u0395ail;\u691barr;\u690e\u0100;g\u0994\u248b;\u6a8bar;\u6962\u0963\u24a5\0\u24aa\0\u24b1\0\0\0\0\0\u24b5\u24ba\0\u24c6\u24c8\u24cd\0\u24f9ute;\u413amptyv;\u69b4ra\xee\u084cbda;\u43bbg\u0180;dl\u088e\u24c1\u24c3;\u6991\xe5\u088e;\u6a85uo\u803b\xab\u40abr\u0400;bfhlpst\u0899\u24de\u24e6\u24e9\u24eb\u24ee\u24f1\u24f5\u0100;f\u089d\u24e3s;\u691fs;\u691d\xeb\u2252p;\u61abl;\u6939im;\u6973l;\u61a2\u0180;ae\u24ff\u2500\u2504\u6aabil;\u6919\u0100;s\u2509\u250a\u6aad;\uc000\u2aad\ufe00\u0180abr\u2515\u2519\u251drr;\u690crk;\u6772\u0100ak\u2522\u252cc\u0100ek\u2528\u252a;\u407b;\u405b\u0100es\u2531\u2533;\u698bl\u0100du\u2539\u253b;\u698f;\u698d\u0200aeuy\u2546\u254b\u2556\u2558ron;\u413e\u0100di\u2550\u2554il;\u413c\xec\u08b0\xe2\u2529;\u443b\u0200cqrs\u2563\u2566\u256d\u257da;\u6936uo\u0100;r\u0e19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694bh;\u61b2\u0280;fgqs\u258b\u258c\u0989\u25f3\u25ff\u6264t\u0280ahlrt\u2598\u25a4\u25b7\u25c2\u25e8rrow\u0100;t\u0899\u25a1a\xe9\u24f6arpoon\u0100du\u25af\u25b4own\xbb\u045ap\xbb\u0966eftarrows;\u61c7ight\u0180ahs\u25cd\u25d6\u25derrow\u0100;s\u08f4\u08a7arpoon\xf3\u0f98quigarro\xf7\u21f0hreetimes;\u62cb\u0180;qs\u258b\u0993\u25falan\xf4\u09ac\u0280;cdgs\u09ac\u260a\u260d\u261d\u2628c;\u6aa8ot\u0100;o\u2614\u2615\u6a7f\u0100;r\u261a\u261b\u6a81;\u6a83\u0100;e\u2622\u2625\uc000\u22da\ufe00s;\u6a93\u0280adegs\u2633\u2639\u263d\u2649\u264bppro\xf8\u24c6ot;\u62d6q\u0100gq\u2643\u2645\xf4\u0989gt\xf2\u248c\xf4\u099bi\xed\u09b2\u0180ilr\u2655\u08e1\u265asht;\u697c;\uc000\u{1d529}\u0100;E\u099c\u2663;\u6a91\u0161\u2669\u2676r\u0100du\u25b2\u266e\u0100;l\u0965\u2673;\u696alk;\u6584cy;\u4459\u0280;acht\u0a48\u2688\u268b\u2691\u2696r\xf2\u25c1orne\xf2\u1d08ard;\u696bri;\u65fa\u0100io\u269f\u26a4dot;\u4140ust\u0100;a\u26ac\u26ad\u63b0che\xbb\u26ad\u0200Eaes\u26bb\u26bd\u26c9\u26d4;\u6268p\u0100;p\u26c3\u26c4\u6a89rox\xbb\u26c4\u0100;q\u26ce\u26cf\u6a87\u0100;q\u26ce\u26bbim;\u62e6\u0400abnoptwz\u26e9\u26f4\u26f7\u271a\u272f\u2741\u2747\u2750\u0100nr\u26ee\u26f1g;\u67ecr;\u61fdr\xeb\u08c1g\u0180lmr\u26ff\u270d\u2714eft\u0100ar\u09e6\u2707ight\xe1\u09f2apsto;\u67fcight\xe1\u09fdparrow\u0100lr\u2725\u2729ef\xf4\u24edight;\u61ac\u0180afl\u2736\u2739\u273dr;\u6985;\uc000\u{1d55d}us;\u6a2dimes;\u6a34\u0161\u274b\u274fst;\u6217\xe1\u134e\u0180;ef\u2757\u2758\u1800\u65cange\xbb\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277c\u2785\u2787r\xf2\u08a8orne\xf2\u1d8car\u0100;d\u0f98\u2783;\u696d;\u600eri;\u62bf\u0300achiqt\u2798\u279d\u0a40\u27a2\u27ae\u27bbquo;\u6039r;\uc000\u{1d4c1}m\u0180;eg\u09b2\u27aa\u27ac;\u6a8d;\u6a8f\u0100bu\u252a\u27b3o\u0100;r\u0e1f\u27b9;\u601arok;\u4142\u8400<;cdhilqr\u082b\u27d2\u2639\u27dc\u27e0\u27e5\u27ea\u27f0\u0100ci\u27d7\u27d9;\u6aa6r;\u6a79re\xe5\u25f2mes;\u62c9arr;\u6976uest;\u6a7b\u0100Pi\u27f5\u27f9ar;\u6996\u0180;ef\u2800\u092d\u181b\u65c3r\u0100du\u2807\u280dshar;\u694ahar;\u6966\u0100en\u2817\u2821rtneqq;\uc000\u2268\ufe00\xc5\u281e\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288e\u2893\u28a0\u28a5\u28a8\u28da\u28e2\u28e4\u0a83\u28f3\u2902Dot;\u623a\u0200clpr\u284e\u2852\u2863\u287dr\u803b\xaf\u40af\u0100et\u2857\u2859;\u6642\u0100;e\u285e\u285f\u6720se\xbb\u285f\u0100;s\u103b\u2868to\u0200;dlu\u103b\u2873\u2877\u287bow\xee\u048cef\xf4\u090f\xf0\u13d1ker;\u65ae\u0100oy\u2887\u288cmma;\u6a29;\u443cash;\u6014asuredangle\xbb\u1626r;\uc000\u{1d52a}o;\u6127\u0180cdn\u28af\u28b4\u28c9ro\u803b\xb5\u40b5\u0200;acd\u1464\u28bd\u28c0\u28c4s\xf4\u16a7ir;\u6af0ot\u80bb\xb7\u01b5us\u0180;bd\u28d2\u1903\u28d3\u6212\u0100;u\u1d3c\u28d8;\u6a2a\u0163\u28de\u28e1p;\u6adb\xf2\u2212\xf0\u0a81\u0100dp\u28e9\u28eeels;\u62a7f;\uc000\u{1d55e}\u0100ct\u28f8\u28fdr;\uc000\u{1d4c2}pos\xbb\u159d\u0180;lm\u2909\u290a\u290d\u43bctimap;\u62b8\u0c00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297e\u2989\u2998\u29da\u29e9\u2a15\u2a1a\u2a58\u2a5d\u2a83\u2a95\u2aa4\u2aa8\u2b04\u2b07\u2b44\u2b7f\u2bae\u2c34\u2c67\u2c7c\u2ce9\u0100gt\u2947\u294b;\uc000\u22d9\u0338\u0100;v\u2950\u0bcf\uc000\u226b\u20d2\u0180elt\u295a\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61cdightarrow;\u61ce;\uc000\u22d8\u0338\u0100;v\u297b\u0c47\uc000\u226a\u20d2ightarrow;\u61cf\u0100Dd\u298e\u2993ash;\u62afash;\u62ae\u0280bcnpt\u29a3\u29a7\u29ac\u29b1\u29ccla\xbb\u02deute;\u4144g;\uc000\u2220\u20d2\u0280;Eiop\u0d84\u29bc\u29c0\u29c5\u29c8;\uc000\u2a70\u0338d;\uc000\u224b\u0338s;\u4149ro\xf8\u0d84ur\u0100;a\u29d3\u29d4\u666el\u0100;s\u29d3\u0b38\u01f3\u29df\0\u29e3p\u80bb\xa0\u0b37mp\u0100;e\u0bf9\u0c00\u0280aeouy\u29f4\u29fe\u2a03\u2a10\u2a13\u01f0\u29f9\0\u29fb;\u6a43on;\u4148dil;\u4146ng\u0100;d\u0d7e\u2a0aot;\uc000\u2a6d\u0338p;\u6a42;\u443dash;\u6013\u0380;Aadqsx\u0b92\u2a29\u2a2d\u2a3b\u2a41\u2a45\u2a50rr;\u61d7r\u0100hr\u2a33\u2a36k;\u6924\u0100;o\u13f2\u13f0ot;\uc000\u2250\u0338ui\xf6\u0b63\u0100ei\u2a4a\u2a4ear;\u6928\xed\u0b98ist\u0100;s\u0ba0\u0b9fr;\uc000\u{1d52b}\u0200Eest\u0bc5\u2a66\u2a79\u2a7c\u0180;qs\u0bbc\u2a6d\u0be1\u0180;qs\u0bbc\u0bc5\u2a74lan\xf4\u0be2i\xed\u0bea\u0100;r\u0bb6\u2a81\xbb\u0bb7\u0180Aap\u2a8a\u2a8d\u2a91r\xf2\u2971rr;\u61aear;\u6af2\u0180;sv\u0f8d\u2a9c\u0f8c\u0100;d\u2aa1\u2aa2\u62fc;\u62facy;\u445a\u0380AEadest\u2ab7\u2aba\u2abe\u2ac2\u2ac5\u2af6\u2af9r\xf2\u2966;\uc000\u2266\u0338rr;\u619ar;\u6025\u0200;fqs\u0c3b\u2ace\u2ae3\u2aeft\u0100ar\u2ad4\u2ad9rro\xf7\u2ac1ightarro\xf7\u2a90\u0180;qs\u0c3b\u2aba\u2aealan\xf4\u0c55\u0100;s\u0c55\u2af4\xbb\u0c36i\xed\u0c5d\u0100;r\u0c35\u2afei\u0100;e\u0c1a\u0c25i\xe4\u0d90\u0100pt\u2b0c\u2b11f;\uc000\u{1d55f}\u8180\xac;in\u2b19\u2b1a\u2b36\u40acn\u0200;Edv\u0b89\u2b24\u2b28\u2b2e;\uc000\u22f9\u0338ot;\uc000\u22f5\u0338\u01e1\u0b89\u2b33\u2b35;\u62f7;\u62f6i\u0100;v\u0cb8\u2b3c\u01e1\u0cb8\u2b41\u2b43;\u62fe;\u62fd\u0180aor\u2b4b\u2b63\u2b69r\u0200;ast\u0b7b\u2b55\u2b5a\u2b5flle\xec\u0b7bl;\uc000\u2afd\u20e5;\uc000\u2202\u0338lint;\u6a14\u0180;ce\u0c92\u2b70\u2b73u\xe5\u0ca5\u0100;c\u0c98\u2b78\u0100;e\u0c92\u2b7d\xf1\u0c98\u0200Aait\u2b88\u2b8b\u2b9d\u2ba7r\xf2\u2988rr\u0180;cw\u2b94\u2b95\u2b99\u619b;\uc000\u2933\u0338;\uc000\u219d\u0338ghtarrow\xbb\u2b95ri\u0100;e\u0ccb\u0cd6\u0380chimpqu\u2bbd\u2bcd\u2bd9\u2b04\u0b78\u2be4\u2bef\u0200;cer\u0d32\u2bc6\u0d37\u2bc9u\xe5\u0d45;\uc000\u{1d4c3}ort\u026d\u2b05\0\0\u2bd6ar\xe1\u2b56m\u0100;e\u0d6e\u2bdf\u0100;q\u0d74\u0d73su\u0100bp\u2beb\u2bed\xe5\u0cf8\xe5\u0d0b\u0180bcp\u2bf6\u2c11\u2c19\u0200;Ees\u2bff\u2c00\u0d22\u2c04\u6284;\uc000\u2ac5\u0338et\u0100;e\u0d1b\u2c0bq\u0100;q\u0d23\u2c00c\u0100;e\u0d32\u2c17\xf1\u0d38\u0200;Ees\u2c22\u2c23\u0d5f\u2c27\u6285;\uc000\u2ac6\u0338et\u0100;e\u0d58\u2c2eq\u0100;q\u0d60\u2c23\u0200gilr\u2c3d\u2c3f\u2c45\u2c47\xec\u0bd7lde\u803b\xf1\u40f1\xe7\u0c43iangle\u0100lr\u2c52\u2c5ceft\u0100;e\u0c1a\u2c5a\xf1\u0c26ight\u0100;e\u0ccb\u2c65\xf1\u0cd7\u0100;m\u2c6c\u2c6d\u43bd\u0180;es\u2c74\u2c75\u2c79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2c8f\u2c94\u2c99\u2c9e\u2ca3\u2cb0\u2cb6\u2cd3\u2ce3ash;\u62adarr;\u6904p;\uc000\u224d\u20d2ash;\u62ac\u0100et\u2ca8\u2cac;\uc000\u2265\u20d2;\uc000>\u20d2nfin;\u69de\u0180Aet\u2cbd\u2cc1\u2cc5rr;\u6902;\uc000\u2264\u20d2\u0100;r\u2cca\u2ccd\uc000<\u20d2ie;\uc000\u22b4\u20d2\u0100At\u2cd8\u2cdcrr;\u6903rie;\uc000\u22b5\u20d2im;\uc000\u223c\u20d2\u0180Aan\u2cf0\u2cf4\u2d02rr;\u61d6r\u0100hr\u2cfa\u2cfdk;\u6923\u0100;o\u13e7\u13e5ear;\u6927\u1253\u1a95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2d2d\0\u2d38\u2d48\u2d60\u2d65\u2d72\u2d84\u1b07\0\0\u2d8d\u2dab\0\u2dc8\u2dce\0\u2ddc\u2e19\u2e2b\u2e3e\u2e43\u0100cs\u2d31\u1a97ute\u803b\xf3\u40f3\u0100iy\u2d3c\u2d45r\u0100;c\u1a9e\u2d42\u803b\xf4\u40f4;\u443e\u0280abios\u1aa0\u2d52\u2d57\u01c8\u2d5alac;\u4151v;\u6a38old;\u69bclig;\u4153\u0100cr\u2d69\u2d6dir;\u69bf;\uc000\u{1d52c}\u036f\u2d79\0\0\u2d7c\0\u2d82n;\u42dbave\u803b\xf2\u40f2;\u69c1\u0100bm\u2d88\u0df4ar;\u69b5\u0200acit\u2d95\u2d98\u2da5\u2da8r\xf2\u1a80\u0100ir\u2d9d\u2da0r;\u69beoss;\u69bbn\xe5\u0e52;\u69c0\u0180aei\u2db1\u2db5\u2db9cr;\u414dga;\u43c9\u0180cdn\u2dc0\u2dc5\u01cdron;\u43bf;\u69b6pf;\uc000\u{1d560}\u0180ael\u2dd4\u2dd7\u01d2r;\u69b7rp;\u69b9\u0380;adiosv\u2dea\u2deb\u2dee\u2e08\u2e0d\u2e10\u2e16\u6228r\xf2\u1a86\u0200;efm\u2df7\u2df8\u2e02\u2e05\u6a5dr\u0100;o\u2dfe\u2dff\u6134f\xbb\u2dff\u803b\xaa\u40aa\u803b\xba\u40bagof;\u62b6r;\u6a56lope;\u6a57;\u6a5b\u0180clo\u2e1f\u2e21\u2e27\xf2\u2e01ash\u803b\xf8\u40f8l;\u6298i\u016c\u2e2f\u2e34de\u803b\xf5\u40f5es\u0100;a\u01db\u2e3as;\u6a36ml\u803b\xf6\u40f6bar;\u633d\u0ae1\u2e5e\0\u2e7d\0\u2e80\u2e9d\0\u2ea2\u2eb9\0\0\u2ecb\u0e9c\0\u2f13\0\0\u2f2b\u2fbc\0\u2fc8r\u0200;ast\u0403\u2e67\u2e72\u0e85\u8100\xb6;l\u2e6d\u2e6e\u40b6le\xec\u0403\u0269\u2e78\0\0\u2e7bm;\u6af3;\u6afdy;\u443fr\u0280cimpt\u2e8b\u2e8f\u2e93\u1865\u2e97nt;\u4025od;\u402eil;\u6030enk;\u6031r;\uc000\u{1d52d}\u0180imo\u2ea8\u2eb0\u2eb4\u0100;v\u2ead\u2eae\u43c6;\u43d5ma\xf4\u0a76ne;\u660e\u0180;tv\u2ebf\u2ec0\u2ec8\u43c0chfork\xbb\u1ffd;\u43d6\u0100au\u2ecf\u2edfn\u0100ck\u2ed5\u2eddk\u0100;h\u21f4\u2edb;\u610e\xf6\u21f4s\u0480;abcdemst\u2ef3\u2ef4\u1908\u2ef9\u2efd\u2f04\u2f06\u2f0a\u2f0e\u402bcir;\u6a23ir;\u6a22\u0100ou\u1d40\u2f02;\u6a25;\u6a72n\u80bb\xb1\u0e9dim;\u6a26wo;\u6a27\u0180ipu\u2f19\u2f20\u2f25ntint;\u6a15f;\uc000\u{1d561}nd\u803b\xa3\u40a3\u0500;Eaceinosu\u0ec8\u2f3f\u2f41\u2f44\u2f47\u2f81\u2f89\u2f92\u2f7e\u2fb6;\u6ab3p;\u6ab7u\xe5\u0ed9\u0100;c\u0ece\u2f4c\u0300;acens\u0ec8\u2f59\u2f5f\u2f66\u2f68\u2f7eppro\xf8\u2f43urlye\xf1\u0ed9\xf1\u0ece\u0180aes\u2f6f\u2f76\u2f7approx;\u6ab9qq;\u6ab5im;\u62e8i\xed\u0edfme\u0100;s\u2f88\u0eae\u6032\u0180Eas\u2f78\u2f90\u2f7a\xf0\u2f75\u0180dfp\u0eec\u2f99\u2faf\u0180als\u2fa0\u2fa5\u2faalar;\u632eine;\u6312urf;\u6313\u0100;t\u0efb\u2fb4\xef\u0efbrel;\u62b0\u0100ci\u2fc0\u2fc5r;\uc000\u{1d4c5};\u43c8ncsp;\u6008\u0300fiopsu\u2fda\u22e2\u2fdf\u2fe5\u2feb\u2ff1r;\uc000\u{1d52e}pf;\uc000\u{1d562}rime;\u6057cr;\uc000\u{1d4c6}\u0180aeo\u2ff8\u3009\u3013t\u0100ei\u2ffe\u3005rnion\xf3\u06b0nt;\u6a16st\u0100;e\u3010\u3011\u403f\xf1\u1f19\xf4\u0f14\u0a80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30e0\u310e\u312b\u3147\u3162\u3172\u318e\u3206\u3215\u3224\u3229\u3258\u326e\u3272\u3290\u32b0\u32b7\u0180art\u3047\u304a\u304cr\xf2\u10b3\xf2\u03ddail;\u691car\xf2\u1c65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307f\u308f\u3094\u30cc\u0100eu\u306d\u3071;\uc000\u223d\u0331te;\u4155i\xe3\u116emptyv;\u69b3g\u0200;del\u0fd1\u3089\u308b\u308d;\u6992;\u69a5\xe5\u0fd1uo\u803b\xbb\u40bbr\u0580;abcfhlpstw\u0fdc\u30ac\u30af\u30b7\u30b9\u30bc\u30be\u30c0\u30c3\u30c7\u30cap;\u6975\u0100;f\u0fe0\u30b4s;\u6920;\u6933s;\u691e\xeb\u225d\xf0\u272el;\u6945im;\u6974l;\u61a3;\u619d\u0100ai\u30d1\u30d5il;\u691ao\u0100;n\u30db\u30dc\u6236al\xf3\u0f1e\u0180abr\u30e7\u30ea\u30eer\xf2\u17e5rk;\u6773\u0100ak\u30f3\u30fdc\u0100ek\u30f9\u30fb;\u407d;\u405d\u0100es\u3102\u3104;\u698cl\u0100du\u310a\u310c;\u698e;\u6990\u0200aeuy\u3117\u311c\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xec\u0ff2\xe2\u30fa;\u4440\u0200clqs\u3134\u3137\u313d\u3144a;\u6937dhar;\u6969uo\u0100;r\u020e\u020dh;\u61b3\u0180acg\u314e\u315f\u0f44l\u0200;ips\u0f78\u3158\u315b\u109cn\xe5\u10bbar\xf4\u0fa9t;\u65ad\u0180ilr\u3169\u1023\u316esht;\u697d;\uc000\u{1d52f}\u0100ao\u3177\u3186r\u0100du\u317d\u317f\xbb\u047b\u0100;l\u1091\u3184;\u696c\u0100;v\u318b\u318c\u43c1;\u43f1\u0180gns\u3195\u31f9\u31fcht\u0300ahlrst\u31a4\u31b0\u31c2\u31d8\u31e4\u31eerrow\u0100;t\u0fdc\u31ada\xe9\u30c8arpoon\u0100du\u31bb\u31bfow\xee\u317ep\xbb\u1092eft\u0100ah\u31ca\u31d0rrow\xf3\u0feaarpoon\xf3\u0551ightarrows;\u61c9quigarro\xf7\u30cbhreetimes;\u62ccg;\u42daingdotse\xf1\u1f32\u0180ahm\u320d\u3210\u3213r\xf2\u0feaa\xf2\u0551;\u600foust\u0100;a\u321e\u321f\u63b1che\xbb\u321fmid;\u6aee\u0200abpt\u3232\u323d\u3240\u3252\u0100nr\u3237\u323ag;\u67edr;\u61fer\xeb\u1003\u0180afl\u3247\u324a\u324er;\u6986;\uc000\u{1d563}us;\u6a2eimes;\u6a35\u0100ap\u325d\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6a12ar\xf2\u31e3\u0200achq\u327b\u3280\u10bc\u3285quo;\u603ar;\uc000\u{1d4c7}\u0100bu\u30fb\u328ao\u0100;r\u0214\u0213\u0180hir\u3297\u329b\u32a0re\xe5\u31f8mes;\u62cai\u0200;efl\u32aa\u1059\u1821\u32ab\u65b9tri;\u69celuhar;\u6968;\u611e\u0d61\u32d5\u32db\u32df\u332c\u3338\u3371\0\u337a\u33a4\0\0\u33ec\u33f0\0\u3428\u3448\u345a\u34ad\u34b1\u34ca\u34f1\0\u3616\0\0\u3633cute;\u415bqu\xef\u27ba\u0500;Eaceinpsy\u11ed\u32f3\u32f5\u32ff\u3302\u330b\u330f\u331f\u3326\u3329;\u6ab4\u01f0\u32fa\0\u32fc;\u6ab8on;\u4161u\xe5\u11fe\u0100;d\u11f3\u3307il;\u415frc;\u415d\u0180Eas\u3316\u3318\u331b;\u6ab6p;\u6abaim;\u62e9olint;\u6a13i\xed\u1204;\u4441ot\u0180;be\u3334\u1d47\u3335\u62c5;\u6a66\u0380Aacmstx\u3346\u334a\u3357\u335b\u335e\u3363\u336drr;\u61d8r\u0100hr\u3350\u3352\xeb\u2228\u0100;o\u0a36\u0a34t\u803b\xa7\u40a7i;\u403bwar;\u6929m\u0100in\u3369\xf0nu\xf3\xf1t;\u6736r\u0100;o\u3376\u2055\uc000\u{1d530}\u0200acoy\u3382\u3386\u3391\u33a0rp;\u666f\u0100hy\u338b\u338fcy;\u4449;\u4448rt\u026d\u3399\0\0\u339ci\xe4\u1464ara\xec\u2e6f\u803b\xad\u40ad\u0100gm\u33a8\u33b4ma\u0180;fv\u33b1\u33b2\u33b2\u43c3;\u43c2\u0400;deglnpr\u12ab\u33c5\u33c9\u33ce\u33d6\u33de\u33e1\u33e6ot;\u6a6a\u0100;q\u12b1\u12b0\u0100;E\u33d3\u33d4\u6a9e;\u6aa0\u0100;E\u33db\u33dc\u6a9d;\u6a9fe;\u6246lus;\u6a24arr;\u6972ar\xf2\u113d\u0200aeit\u33f8\u3408\u340f\u3417\u0100ls\u33fd\u3404lsetm\xe9\u336ahp;\u6a33parsl;\u69e4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341c\u341d\u6aaa\u0100;s\u3422\u3423\u6aac;\uc000\u2aac\ufe00\u0180flp\u342e\u3433\u3442tcy;\u444c\u0100;b\u3438\u3439\u402f\u0100;a\u343e\u343f\u69c4r;\u633ff;\uc000\u{1d564}a\u0100dr\u344d\u0402es\u0100;u\u3454\u3455\u6660it\xbb\u3455\u0180csu\u3460\u3479\u349f\u0100au\u3465\u346fp\u0100;s\u1188\u346b;\uc000\u2293\ufe00p\u0100;s\u11b4\u3475;\uc000\u2294\ufe00u\u0100bp\u347f\u348f\u0180;es\u1197\u119c\u3486et\u0100;e\u1197\u348d\xf1\u119d\u0180;es\u11a8\u11ad\u3496et\u0100;e\u11a8\u349d\xf1\u11ae\u0180;af\u117b\u34a6\u05b0r\u0165\u34ab\u05b1\xbb\u117car\xf2\u1148\u0200cemt\u34b9\u34be\u34c2\u34c5r;\uc000\u{1d4c8}tm\xee\xf1i\xec\u3415ar\xe6\u11be\u0100ar\u34ce\u34d5r\u0100;f\u34d4\u17bf\u6606\u0100an\u34da\u34edight\u0100ep\u34e3\u34eapsilo\xee\u1ee0h\xe9\u2eafs\xbb\u2852\u0280bcmnp\u34fb\u355e\u1209\u358b\u358e\u0480;Edemnprs\u350e\u350f\u3511\u3515\u351e\u3523\u352c\u3531\u3536\u6282;\u6ac5ot;\u6abd\u0100;d\u11da\u351aot;\u6ac3ult;\u6ac1\u0100Ee\u3528\u352a;\u6acb;\u628alus;\u6abfarr;\u6979\u0180eiu\u353d\u3552\u3555t\u0180;en\u350e\u3545\u354bq\u0100;q\u11da\u350feq\u0100;q\u352b\u3528m;\u6ac7\u0100bp\u355a\u355c;\u6ad5;\u6ad3c\u0300;acens\u11ed\u356c\u3572\u3579\u357b\u3326ppro\xf8\u32faurlye\xf1\u11fe\xf1\u11f3\u0180aes\u3582\u3588\u331bppro\xf8\u331aq\xf1\u3317g;\u666a\u0680123;Edehlmnps\u35a9\u35ac\u35af\u121c\u35b2\u35b4\u35c0\u35c9\u35d5\u35da\u35df\u35e8\u35ed\u803b\xb9\u40b9\u803b\xb2\u40b2\u803b\xb3\u40b3;\u6ac6\u0100os\u35b9\u35bct;\u6abeub;\u6ad8\u0100;d\u1222\u35c5ot;\u6ac4s\u0100ou\u35cf\u35d2l;\u67c9b;\u6ad7arr;\u697bult;\u6ac2\u0100Ee\u35e4\u35e6;\u6acc;\u628blus;\u6ac0\u0180eiu\u35f4\u3609\u360ct\u0180;en\u121c\u35fc\u3602q\u0100;q\u1222\u35b2eq\u0100;q\u35e7\u35e4m;\u6ac8\u0100bp\u3611\u3613;\u6ad4;\u6ad6\u0180Aan\u361c\u3620\u362drr;\u61d9r\u0100hr\u3626\u3628\xeb\u222e\u0100;o\u0a2b\u0a29war;\u692alig\u803b\xdf\u40df\u0be1\u3651\u365d\u3660\u12ce\u3673\u3679\0\u367e\u36c2\0\0\0\0\0\u36db\u3703\0\u3709\u376c\0\0\0\u3787\u0272\u3656\0\0\u365bget;\u6316;\u43c4r\xeb\u0e5f\u0180aey\u3666\u366b\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uc000\u{1d531}\u0200eiko\u3686\u369d\u36b5\u36bc\u01f2\u368b\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369b\u43b8ym;\u43d1\u0100cn\u36a2\u36b2k\u0100as\u36a8\u36aeppro\xf8\u12c1im\xbb\u12acs\xf0\u129e\u0100as\u36ba\u36ae\xf0\u12c1rn\u803b\xfe\u40fe\u01ec\u031f\u36c6\u22e7es\u8180\xd7;bd\u36cf\u36d0\u36d8\u40d7\u0100;a\u190f\u36d5r;\u6a31;\u6a30\u0180eps\u36e1\u36e3\u3700\xe1\u2a4d\u0200;bcf\u0486\u36ec\u36f0\u36f4ot;\u6336ir;\u6af1\u0100;o\u36f9\u36fc\uc000\u{1d565}rk;\u6ada\xe1\u3362rime;\u6034\u0180aip\u370f\u3712\u3764d\xe5\u1248\u0380adempst\u3721\u374d\u3740\u3751\u3757\u375c\u375fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65b5own\xbb\u1dbbeft\u0100;e\u2800\u373e\xf1\u092e;\u625cight\u0100;e\u32aa\u374b\xf1\u105aot;\u65ecinus;\u6a3alus;\u6a39b;\u69cdime;\u6a3bezium;\u63e2\u0180cht\u3772\u377d\u3781\u0100ry\u3777\u377b;\uc000\u{1d4c9};\u4446cy;\u445brok;\u4167\u0100io\u378b\u378ex\xf4\u1777head\u0100lr\u3797\u37a0eftarro\xf7\u084fightarrow\xbb\u0f5d\u0900AHabcdfghlmoprstuw\u37d0\u37d3\u37d7\u37e4\u37f0\u37fc\u380e\u381c\u3823\u3834\u3851\u385d\u386b\u38a9\u38cc\u38d2\u38ea\u38f6r\xf2\u03edar;\u6963\u0100cr\u37dc\u37e2ute\u803b\xfa\u40fa\xf2\u1150r\u01e3\u37ea\0\u37edy;\u445eve;\u416d\u0100iy\u37f5\u37farc\u803b\xfb\u40fb;\u4443\u0180abh\u3803\u3806\u380br\xf2\u13adlac;\u4171a\xf2\u13c3\u0100ir\u3813\u3818sht;\u697e;\uc000\u{1d532}rave\u803b\xf9\u40f9\u0161\u3827\u3831r\u0100lr\u382c\u382e\xbb\u0957\xbb\u1083lk;\u6580\u0100ct\u3839\u384d\u026f\u383f\0\0\u384arn\u0100;e\u3845\u3846\u631cr\xbb\u3846op;\u630fri;\u65f8\u0100al\u3856\u385acr;\u416b\u80bb\xa8\u0349\u0100gp\u3862\u3866on;\u4173f;\uc000\u{1d566}\u0300adhlsu\u114b\u3878\u387d\u1372\u3891\u38a0own\xe1\u13b3arpoon\u0100lr\u3888\u388cef\xf4\u382digh\xf4\u382fi\u0180;hl\u3899\u389a\u389c\u43c5\xbb\u13faon\xbb\u389aparrows;\u61c8\u0180cit\u38b0\u38c4\u38c8\u026f\u38b6\0\0\u38c1rn\u0100;e\u38bc\u38bd\u631dr\xbb\u38bdop;\u630eng;\u416fri;\u65f9cr;\uc000\u{1d4ca}\u0180dir\u38d9\u38dd\u38e2ot;\u62f0lde;\u4169i\u0100;f\u3730\u38e8\xbb\u1813\u0100am\u38ef\u38f2r\xf2\u38a8l\u803b\xfc\u40fcangle;\u69a7\u0780ABDacdeflnoprsz\u391c\u391f\u3929\u392d\u39b5\u39b8\u39bd\u39df\u39e4\u39e8\u39f3\u39f9\u39fd\u3a01\u3a20r\xf2\u03f7ar\u0100;v\u3926\u3927\u6ae8;\u6ae9as\xe8\u03e1\u0100nr\u3932\u3937grt;\u699c\u0380eknprst\u34e3\u3946\u394b\u3952\u395d\u3964\u3996app\xe1\u2415othin\xe7\u1e96\u0180hir\u34eb\u2ec8\u3959op\xf4\u2fb5\u0100;h\u13b7\u3962\xef\u318d\u0100iu\u3969\u396dgm\xe1\u33b3\u0100bp\u3972\u3984setneq\u0100;q\u397d\u3980\uc000\u228a\ufe00;\uc000\u2acb\ufe00setneq\u0100;q\u398f\u3992\uc000\u228b\ufe00;\uc000\u2acc\ufe00\u0100hr\u399b\u399fet\xe1\u369ciangle\u0100lr\u39aa\u39afeft\xbb\u0925ight\xbb\u1051y;\u4432ash\xbb\u1036\u0180elr\u39c4\u39d2\u39d7\u0180;be\u2dea\u39cb\u39cfar;\u62bbq;\u625alip;\u62ee\u0100bt\u39dc\u1468a\xf2\u1469r;\uc000\u{1d533}tr\xe9\u39aesu\u0100bp\u39ef\u39f1\xbb\u0d1c\xbb\u0d59pf;\uc000\u{1d567}ro\xf0\u0efbtr\xe9\u39b4\u0100cu\u3a06\u3a0br;\uc000\u{1d4cb}\u0100bp\u3a10\u3a18n\u0100Ee\u3980\u3a16\xbb\u397en\u0100Ee\u3992\u3a1e\xbb\u3990igzag;\u699a\u0380cefoprs\u3a36\u3a3b\u3a56\u3a5b\u3a54\u3a61\u3a6airc;\u4175\u0100di\u3a40\u3a51\u0100bg\u3a45\u3a49ar;\u6a5fe\u0100;q\u15fa\u3a4f;\u6259erp;\u6118r;\uc000\u{1d534}pf;\uc000\u{1d568}\u0100;e\u1479\u3a66at\xe8\u1479cr;\uc000\u{1d4cc}\u0ae3\u178e\u3a87\0\u3a8b\0\u3a90\u3a9b\0\0\u3a9d\u3aa8\u3aab\u3aaf\0\0\u3ac3\u3ace\0\u3ad8\u17dc\u17dftr\xe9\u17d1r;\uc000\u{1d535}\u0100Aa\u3a94\u3a97r\xf2\u03c3r\xf2\u09f6;\u43be\u0100Aa\u3aa1\u3aa4r\xf2\u03b8r\xf2\u09eba\xf0\u2713is;\u62fb\u0180dpt\u17a4\u3ab5\u3abe\u0100fl\u3aba\u17a9;\uc000\u{1d569}im\xe5\u17b2\u0100Aa\u3ac7\u3acar\xf2\u03cer\xf2\u0a01\u0100cq\u3ad2\u17b8r;\uc000\u{1d4cd}\u0100pt\u17d6\u3adcr\xe9\u17d4\u0400acefiosu\u3af0\u3afd\u3b08\u3b0c\u3b11\u3b15\u3b1b\u3b21c\u0100uy\u3af6\u3afbte\u803b\xfd\u40fd;\u444f\u0100iy\u3b02\u3b06rc;\u4177;\u444bn\u803b\xa5\u40a5r;\uc000\u{1d536}cy;\u4457pf;\uc000\u{1d56a}cr;\uc000\u{1d4ce}\u0100cm\u3b26\u3b29y;\u444el\u803b\xff\u40ff\u0500acdefhiosw\u3b42\u3b48\u3b54\u3b58\u3b64\u3b69\u3b6d\u3b74\u3b7a\u3b80cute;\u417a\u0100ay\u3b4d\u3b52ron;\u417e;\u4437ot;\u417c\u0100et\u3b5d\u3b61tr\xe6\u155fa;\u43b6r;\uc000\u{1d537}cy;\u4436grarr;\u61ddpf;\uc000\u{1d56b}cr;\uc000\u{1d4cf}\u0100jn\u3b85\u3b87;\u600dj;\u600c'.split("").map(t=>t.charCodeAt(0))),pne=new Uint16Array("\u0200aglq\t\x15\x18\x1b\u026d\x0f\0\0\x12p;\u4026os;\u4027t;\u403et;\u403cuot;\u4022".split("").map(t=>t.charCodeAt(0)));var R7;const gne=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),F7=null!==(R7=String.fromCodePoint)&&void 0!==R7?R7:function(t){let n="";return t>65535&&(t-=65536,n+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),n+=String.fromCharCode(t),n};var ua=function(t){return t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z",t}(ua||{}),N1=function(t){return t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE",t}(N1||{});function H7(t){return t>=ua.ZERO&&t<=ua.NINE}function yne(t){return t>=ua.UPPER_A&&t<=ua.UPPER_F||t>=ua.LOWER_A&&t<=ua.LOWER_F}function Cne(t){return t===ua.EQUALS||function bne(t){return t>=ua.UPPER_A&&t<=ua.UPPER_Z||t>=ua.LOWER_A&&t<=ua.LOWER_Z||H7(t)}(t)}var da=function(t){return t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity",t}(da||{}),Ms=function(t){return t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute",t}(Ms||{});class nI{constructor(n,e,i){this.decodeTree=n,this.emitCodePoint=e,this.errors=i,this.state=da.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ms.Strict}startEntity(n){this.decodeMode=n,this.state=da.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(n,e){switch(this.state){case da.EntityStart:return n.charCodeAt(e)===ua.NUM?(this.state=da.NumericStart,this.consumed+=1,this.stateNumericStart(n,e+1)):(this.state=da.NamedEntity,this.stateNamedEntity(n,e));case da.NumericStart:return this.stateNumericStart(n,e);case da.NumericDecimal:return this.stateNumericDecimal(n,e);case da.NumericHex:return this.stateNumericHex(n,e);case da.NamedEntity:return this.stateNamedEntity(n,e)}}stateNumericStart(n,e){return e>=n.length?-1:(32|n.charCodeAt(e))===ua.LOWER_X?(this.state=da.NumericHex,this.consumed+=1,this.stateNumericHex(n,e+1)):(this.state=da.NumericDecimal,this.stateNumericDecimal(n,e))}addToNumericResult(n,e,i,r){if(e!==i){const o=i-e;this.result=this.result*Math.pow(r,o)+Number.parseInt(n.substr(e,o),r),this.consumed+=o}}stateNumericHex(n,e){const i=e;for(;e<n.length;){const r=n.charCodeAt(e);if(!H7(r)&&!yne(r))return this.addToNumericResult(n,i,e,16),this.emitNumericEntity(r,3);e+=1}return this.addToNumericResult(n,i,e,16),-1}stateNumericDecimal(n,e){const i=e;for(;e<n.length;){const r=n.charCodeAt(e);if(!H7(r))return this.addToNumericResult(n,i,e,10),this.emitNumericEntity(r,2);e+=1}return this.addToNumericResult(n,i,e,10),-1}emitNumericEntity(n,e){var i;if(this.consumed<=e)return null===(i=this.errors)||void 0===i||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(n===ua.SEMI)this.consumed+=1;else if(this.decodeMode===Ms.Strict)return 0;return this.emitCodePoint(function tI(t){var n;return t>=55296&&t<=57343||t>1114111?65533:null!==(n=gne.get(t))&&void 0!==n?n:t}(this.result),this.consumed),this.errors&&(n!==ua.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(n,e){const{decodeTree:i}=this;let r=i[this.treeIndex],o=(r&N1.VALUE_LENGTH)>>14;for(;e<n.length;e++,this.excess++){const a=n.charCodeAt(e);if(this.treeIndex=wne(i,r,this.treeIndex+Math.max(1,o),a),this.treeIndex<0)return 0===this.result||this.decodeMode===Ms.Attribute&&(0===o||Cne(a))?0:this.emitNotTerminatedNamedEntity();if(r=i[this.treeIndex],o=(r&N1.VALUE_LENGTH)>>14,0!==o){if(a===ua.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Ms.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var n;const{result:e,decodeTree:i}=this;return this.emitNamedEntityData(e,(i[e]&N1.VALUE_LENGTH)>>14,this.consumed),null===(n=this.errors)||void 0===n||n.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(n,e,i){const{decodeTree:r}=this;return this.emitCodePoint(1===e?r[n]&~N1.VALUE_LENGTH:r[n+1],i),3===e&&this.emitCodePoint(r[n+2],i),i}end(){var n;switch(this.state){case da.NamedEntity:return 0===this.result||this.decodeMode===Ms.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case da.NumericDecimal:return this.emitNumericEntity(0,2);case da.NumericHex:return this.emitNumericEntity(0,3);case da.NumericStart:return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case da.EntityStart:return 0}}}function wne(t,n,e,i){const r=(n&N1.BRANCH_LENGTH)>>7,o=n&N1.JUMP_TABLE;if(0===r)return 0!==o&&i===o?e:-1;if(o){const l=i-o;return l<0||l>=r?-1:t[e+l]-1}let a=e,s=a+r-1;for(;a<=s;){const l=a+s>>>1,c=t[l];if(c<i)a=l+1;else{if(!(c>i))return t[l+r];s=l-1}}return-1}var dn=function(t){return t[t.Tab=9]="Tab",t[t.NewLine=10]="NewLine",t[t.FormFeed=12]="FormFeed",t[t.CarriageReturn=13]="CarriageReturn",t[t.Space=32]="Space",t[t.ExclamationMark=33]="ExclamationMark",t[t.Number=35]="Number",t[t.Amp=38]="Amp",t[t.SingleQuote=39]="SingleQuote",t[t.DoubleQuote=34]="DoubleQuote",t[t.Dash=45]="Dash",t[t.Slash=47]="Slash",t[t.Zero=48]="Zero",t[t.Nine=57]="Nine",t[t.Semi=59]="Semi",t[t.Lt=60]="Lt",t[t.Eq=61]="Eq",t[t.Gt=62]="Gt",t[t.Questionmark=63]="Questionmark",t[t.UpperA=65]="UpperA",t[t.LowerA=97]="LowerA",t[t.UpperF=70]="UpperF",t[t.LowerF=102]="LowerF",t[t.UpperZ=90]="UpperZ",t[t.LowerZ=122]="LowerZ",t[t.LowerX=120]="LowerX",t[t.OpeningSquareBracket=91]="OpeningSquareBracket",t}(dn||{}),et=function(t){return t[t.Text=1]="Text",t[t.BeforeTagName=2]="BeforeTagName",t[t.InTagName=3]="InTagName",t[t.InSelfClosingTag=4]="InSelfClosingTag",t[t.BeforeClosingTagName=5]="BeforeClosingTagName",t[t.InClosingTagName=6]="InClosingTagName",t[t.AfterClosingTagName=7]="AfterClosingTagName",t[t.BeforeAttributeName=8]="BeforeAttributeName",t[t.InAttributeName=9]="InAttributeName",t[t.AfterAttributeName=10]="AfterAttributeName",t[t.BeforeAttributeValue=11]="BeforeAttributeValue",t[t.InAttributeValueDq=12]="InAttributeValueDq",t[t.InAttributeValueSq=13]="InAttributeValueSq",t[t.InAttributeValueNq=14]="InAttributeValueNq",t[t.BeforeDeclaration=15]="BeforeDeclaration",t[t.InDeclaration=16]="InDeclaration",t[t.InProcessingInstruction=17]="InProcessingInstruction",t[t.BeforeComment=18]="BeforeComment",t[t.CDATASequence=19]="CDATASequence",t[t.InSpecialComment=20]="InSpecialComment",t[t.InCommentLike=21]="InCommentLike",t[t.BeforeSpecialS=22]="BeforeSpecialS",t[t.BeforeSpecialT=23]="BeforeSpecialT",t[t.SpecialStartSequence=24]="SpecialStartSequence",t[t.InSpecialTag=25]="InSpecialTag",t[t.InEntity=26]="InEntity",t}(et||{});function Nc(t){return t===dn.Space||t===dn.NewLine||t===dn.Tab||t===dn.FormFeed||t===dn.CarriageReturn}function y6(t){return t===dn.Slash||t===dn.Gt||Nc(t)}var Rc=function(t){return t[t.NoValue=0]="NoValue",t[t.Unquoted=1]="Unquoted",t[t.Single=2]="Single",t[t.Double=3]="Double",t}(Rc||{});const Mo={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};class Tne{constructor({xmlMode:n=!1,decodeEntities:e=!0},i){this.cbs=i,this.state=et.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=et.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=n,this.decodeEntities=e,this.entityDecoder=new nI(n?pne:mne,(r,o)=>this.emitCodePoint(r,o))}reset(){this.state=et.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=et.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(n){this.offset+=this.buffer.length,this.buffer=n,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(n){n===dn.Lt||!this.decodeEntities&&this.fastForwardTo(dn.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=et.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&n===dn.Amp&&this.startEntity()}stateSpecialStartSequence(n){const e=this.sequenceIndex===this.currentSequence.length;if(e?y6(n):(32|n)===this.currentSequence[this.sequenceIndex]){if(!e)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=et.InTagName,this.stateInTagName(n)}stateInSpecialTag(n){if(this.sequenceIndex===this.currentSequence.length){if(n===dn.Gt||Nc(n)){const e=this.index-this.currentSequence.length;if(this.sectionStart<e){const i=this.index;this.index=e,this.cbs.ontext(this.sectionStart,e),this.index=i}return this.isSpecial=!1,this.sectionStart=e+2,void this.stateInClosingTagName(n)}this.sequenceIndex=0}(32|n)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===Mo.TitleEnd?this.decodeEntities&&n===dn.Amp&&this.startEntity():this.fastForwardTo(dn.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(n===dn.Lt)}stateCDATASequence(n){n===Mo.Cdata[this.sequenceIndex]?++this.sequenceIndex===Mo.Cdata.length&&(this.state=et.InCommentLike,this.currentSequence=Mo.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=et.InDeclaration,this.stateInDeclaration(n))}fastForwardTo(n){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===n)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(n){n===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Mo.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=et.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):n!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(n){return this.xmlMode?!y6(n):function Mne(t){return t>=dn.LowerA&&t<=dn.LowerZ||t>=dn.UpperA&&t<=dn.UpperZ}(n)}startSpecial(n,e){this.isSpecial=!0,this.currentSequence=n,this.sequenceIndex=e,this.state=et.SpecialStartSequence}stateBeforeTagName(n){if(n===dn.ExclamationMark)this.state=et.BeforeDeclaration,this.sectionStart=this.index+1;else if(n===dn.Questionmark)this.state=et.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(n)){const e=32|n;this.sectionStart=this.index,this.state=this.xmlMode?et.InTagName:e===Mo.ScriptEnd[2]?et.BeforeSpecialS:e===Mo.TitleEnd[2]||e===Mo.XmpEnd[2]?et.BeforeSpecialT:et.InTagName}else n===dn.Slash?this.state=et.BeforeClosingTagName:(this.state=et.Text,this.stateText(n))}stateInTagName(n){y6(n)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=et.BeforeAttributeName,this.stateBeforeAttributeName(n))}stateBeforeClosingTagName(n){Nc(n)||(n===dn.Gt?this.state=et.Text:(this.state=this.isTagStartChar(n)?et.InClosingTagName:et.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(n){(n===dn.Gt||Nc(n))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=et.AfterClosingTagName,this.stateAfterClosingTagName(n))}stateAfterClosingTagName(n){(n===dn.Gt||this.fastForwardTo(dn.Gt))&&(this.state=et.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(n){n===dn.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=et.InSpecialTag,this.sequenceIndex=0):this.state=et.Text,this.sectionStart=this.index+1):n===dn.Slash?this.state=et.InSelfClosingTag:Nc(n)||(this.state=et.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(n){n===dn.Gt?(this.cbs.onselfclosingtag(this.index),this.state=et.Text,this.sectionStart=this.index+1,this.isSpecial=!1):Nc(n)||(this.state=et.BeforeAttributeName,this.stateBeforeAttributeName(n))}stateInAttributeName(n){(n===dn.Eq||y6(n))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=et.AfterAttributeName,this.stateAfterAttributeName(n))}stateAfterAttributeName(n){n===dn.Eq?this.state=et.BeforeAttributeValue:n===dn.Slash||n===dn.Gt?(this.cbs.onattribend(Rc.NoValue,this.sectionStart),this.sectionStart=-1,this.state=et.BeforeAttributeName,this.stateBeforeAttributeName(n)):Nc(n)||(this.cbs.onattribend(Rc.NoValue,this.sectionStart),this.state=et.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(n){n===dn.DoubleQuote?(this.state=et.InAttributeValueDq,this.sectionStart=this.index+1):n===dn.SingleQuote?(this.state=et.InAttributeValueSq,this.sectionStart=this.index+1):Nc(n)||(this.sectionStart=this.index,this.state=et.InAttributeValueNq,this.stateInAttributeValueNoQuotes(n))}handleInAttributeValue(n,e){n===e||!this.decodeEntities&&this.fastForwardTo(e)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(e===dn.DoubleQuote?Rc.Double:Rc.Single,this.index+1),this.state=et.BeforeAttributeName):this.decodeEntities&&n===dn.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(n){this.handleInAttributeValue(n,dn.DoubleQuote)}stateInAttributeValueSingleQuotes(n){this.handleInAttributeValue(n,dn.SingleQuote)}stateInAttributeValueNoQuotes(n){Nc(n)||n===dn.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Rc.Unquoted,this.index),this.state=et.BeforeAttributeName,this.stateBeforeAttributeName(n)):this.decodeEntities&&n===dn.Amp&&this.startEntity()}stateBeforeDeclaration(n){n===dn.OpeningSquareBracket?(this.state=et.CDATASequence,this.sequenceIndex=0):this.state=n===dn.Dash?et.BeforeComment:et.InDeclaration}stateInDeclaration(n){(n===dn.Gt||this.fastForwardTo(dn.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=et.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(n){(n===dn.Gt||this.fastForwardTo(dn.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=et.Text,this.sectionStart=this.index+1)}stateBeforeComment(n){n===dn.Dash?(this.state=et.InCommentLike,this.currentSequence=Mo.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=et.InDeclaration}stateInSpecialComment(n){(n===dn.Gt||this.fastForwardTo(dn.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=et.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(n){const e=32|n;e===Mo.ScriptEnd[3]?this.startSpecial(Mo.ScriptEnd,4):e===Mo.StyleEnd[3]?this.startSpecial(Mo.StyleEnd,4):(this.state=et.InTagName,this.stateInTagName(n))}stateBeforeSpecialT(n){switch(32|n){case Mo.TitleEnd[3]:this.startSpecial(Mo.TitleEnd,4);break;case Mo.TextareaEnd[3]:this.startSpecial(Mo.TextareaEnd,4);break;case Mo.XmpEnd[3]:this.startSpecial(Mo.XmpEnd,4);break;default:this.state=et.InTagName,this.stateInTagName(n)}}startEntity(){this.baseState=this.state,this.state=et.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?Ms.Strict:this.baseState===et.Text||this.baseState===et.InSpecialTag?Ms.Legacy:Ms.Attribute)}stateInEntity(){const n=this.entityDecoder.write(this.buffer,this.index-this.offset);n>=0?(this.state=this.baseState,0===n&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===et.Text||this.state===et.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===et.InAttributeValueDq||this.state===et.InAttributeValueSq||this.state===et.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const n=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case et.Text:this.stateText(n);break;case et.SpecialStartSequence:this.stateSpecialStartSequence(n);break;case et.InSpecialTag:this.stateInSpecialTag(n);break;case et.CDATASequence:this.stateCDATASequence(n);break;case et.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(n);break;case et.InAttributeName:this.stateInAttributeName(n);break;case et.InCommentLike:this.stateInCommentLike(n);break;case et.InSpecialComment:this.stateInSpecialComment(n);break;case et.BeforeAttributeName:this.stateBeforeAttributeName(n);break;case et.InTagName:this.stateInTagName(n);break;case et.InClosingTagName:this.stateInClosingTagName(n);break;case et.BeforeTagName:this.stateBeforeTagName(n);break;case et.AfterAttributeName:this.stateAfterAttributeName(n);break;case et.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(n);break;case et.BeforeAttributeValue:this.stateBeforeAttributeValue(n);break;case et.BeforeClosingTagName:this.stateBeforeClosingTagName(n);break;case et.AfterClosingTagName:this.stateAfterClosingTagName(n);break;case et.BeforeSpecialS:this.stateBeforeSpecialS(n);break;case et.BeforeSpecialT:this.stateBeforeSpecialT(n);break;case et.InAttributeValueNq:this.stateInAttributeValueNoQuotes(n);break;case et.InSelfClosingTag:this.stateInSelfClosingTag(n);break;case et.InDeclaration:this.stateInDeclaration(n);break;case et.BeforeDeclaration:this.stateBeforeDeclaration(n);break;case et.BeforeComment:this.stateBeforeComment(n);break;case et.InProcessingInstruction:this.stateInProcessingInstruction(n);break;case et.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===et.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const n=this.buffer.length+this.offset;this.sectionStart>=n||(this.state===et.InCommentLike?this.currentSequence===Mo.CdataEnd?this.cbs.oncdata(this.sectionStart,n,0):this.cbs.oncomment(this.sectionStart,n,0):this.state===et.InTagName||this.state===et.BeforeAttributeName||this.state===et.BeforeAttributeValue||this.state===et.AfterAttributeName||this.state===et.InAttributeName||this.state===et.InAttributeValueSq||this.state===et.InAttributeValueDq||this.state===et.InAttributeValueNq||this.state===et.InClosingTagName||this.cbs.ontext(this.sectionStart,n))}emitCodePoint(n,e){this.baseState!==et.Text&&this.baseState!==et.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+e,this.index=this.sectionStart-1,this.cbs.onattribentity(n)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+e,this.index=this.sectionStart-1,this.cbs.ontextentity(n,this.sectionStart))}}const vd=new Set(["input","option","optgroup","select","button","datalist","textarea"]),ir=new Set(["p"]),iI=new Set(["thead","tbody"]),rI=new Set(["dd","dt"]),oI=new Set(["rt","rp"]),Dne=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",ir],["h1",ir],["h2",ir],["h3",ir],["h4",ir],["h5",ir],["h6",ir],["select",vd],["input",vd],["output",vd],["button",vd],["datalist",vd],["textarea",vd],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",rI],["dt",rI],["address",ir],["article",ir],["aside",ir],["blockquote",ir],["details",ir],["div",ir],["dl",ir],["fieldset",ir],["figcaption",ir],["figure",ir],["footer",ir],["form",ir],["header",ir],["hr",ir],["main",ir],["nav",ir],["ol",ir],["pre",ir],["section",ir],["table",ir],["ul",ir],["rt",oI],["rp",oI],["tbody",iI],["tfoot",iI]]),xne=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),aI=new Set(["math","svg"]),sI=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),kne=/\s|\//;class Ene{constructor(n,e={}){var i,r,o,a,s,l;this.options=e,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=n??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=null!==(i=e.lowerCaseTags)&&void 0!==i?i:this.htmlMode,this.lowerCaseAttributeNames=null!==(r=e.lowerCaseAttributeNames)&&void 0!==r?r:this.htmlMode,this.recognizeSelfClosing=null!==(o=e.recognizeSelfClosing)&&void 0!==o?o:!this.htmlMode,this.tokenizer=new(null!==(a=e.Tokenizer)&&void 0!==a?a:Tne)(this.options,this),this.foreignContext=[!this.htmlMode],null===(l=(s=this.cbs).onparserinit)||void 0===l||l.call(s,this)}ontext(n,e){var i,r;const o=this.getSlice(n,e);this.endIndex=e-1,null===(r=(i=this.cbs).ontext)||void 0===r||r.call(i,o),this.startIndex=e}ontextentity(n,e){var i,r;this.endIndex=e-1,null===(r=(i=this.cbs).ontext)||void 0===r||r.call(i,F7(n)),this.startIndex=e}isVoidElement(n){return this.htmlMode&&xne.has(n)}onopentagname(n,e){this.endIndex=e;let i=this.getSlice(n,e);this.lowerCaseTagNames&&(i=i.toLowerCase()),this.emitOpenTag(i)}emitOpenTag(n){var e,i,r,o;this.openTagStart=this.startIndex,this.tagname=n;const a=this.htmlMode&&Dne.get(n);if(a)for(;this.stack.length>0&&a.has(this.stack[0]);){const s=this.stack.shift();null===(i=(e=this.cbs).onclosetag)||void 0===i||i.call(e,s,!0)}this.isVoidElement(n)||(this.stack.unshift(n),this.htmlMode&&(aI.has(n)?this.foreignContext.unshift(!0):sI.has(n)&&this.foreignContext.unshift(!1))),null===(o=(r=this.cbs).onopentagname)||void 0===o||o.call(r,n),this.cbs.onopentag&&(this.attribs={})}endOpenTag(n){var e,i;this.startIndex=this.openTagStart,this.attribs&&(null===(i=(e=this.cbs).onopentag)||void 0===i||i.call(e,this.tagname,this.attribs,n),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(n){this.endIndex=n,this.endOpenTag(!1),this.startIndex=n+1}onclosetag(n,e){var i,r,o,a,s,l,c,h;this.endIndex=e;let g=this.getSlice(n,e);if(this.lowerCaseTagNames&&(g=g.toLowerCase()),this.htmlMode&&(aI.has(g)||sI.has(g))&&this.foreignContext.shift(),this.isVoidElement(g))this.htmlMode&&"br"===g&&(null===(a=(o=this.cbs).onopentagname)||void 0===a||a.call(o,"br"),null===(l=(s=this.cbs).onopentag)||void 0===l||l.call(s,"br",{},!0),null===(h=(c=this.cbs).onclosetag)||void 0===h||h.call(c,"br",!1));else{const L=this.stack.indexOf(g);if(-1!==L)for(let y=0;y<=L;y++){const x=this.stack.shift();null===(r=(i=this.cbs).onclosetag)||void 0===r||r.call(i,x,y!==L)}else this.htmlMode&&"p"===g&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=e+1}onselfclosingtag(n){this.endIndex=n,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=n+1):this.onopentagend(n)}closeCurrentTag(n){var e,i;const r=this.tagname;this.endOpenTag(n),this.stack[0]===r&&(null===(i=(e=this.cbs).onclosetag)||void 0===i||i.call(e,r,!n),this.stack.shift())}onattribname(n,e){this.startIndex=n;const i=this.getSlice(n,e);this.attribname=this.lowerCaseAttributeNames?i.toLowerCase():i}onattribdata(n,e){this.attribvalue+=this.getSlice(n,e)}onattribentity(n){this.attribvalue+=F7(n)}onattribend(n,e){var i,r;this.endIndex=e,null===(r=(i=this.cbs).onattribute)||void 0===r||r.call(i,this.attribname,this.attribvalue,n===Rc.Double?'"':n===Rc.Single?"'":n===Rc.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(n){const e=n.search(kne);let i=e<0?n:n.substr(0,e);return this.lowerCaseTagNames&&(i=i.toLowerCase()),i}ondeclaration(n,e){this.endIndex=e;const i=this.getSlice(n,e);if(this.cbs.onprocessinginstruction){const r=this.getInstructionName(i);this.cbs.onprocessinginstruction(`!${r}`,`!${i}`)}this.startIndex=e+1}onprocessinginstruction(n,e){this.endIndex=e;const i=this.getSlice(n,e);if(this.cbs.onprocessinginstruction){const r=this.getInstructionName(i);this.cbs.onprocessinginstruction(`?${r}`,`?${i}`)}this.startIndex=e+1}oncomment(n,e,i){var r,o,a,s;this.endIndex=e,null===(o=(r=this.cbs).oncomment)||void 0===o||o.call(r,this.getSlice(n,e-i)),null===(s=(a=this.cbs).oncommentend)||void 0===s||s.call(a),this.startIndex=e+1}oncdata(n,e,i){var r,o,a,s,l,c,h,g,L,y;this.endIndex=e;const x=this.getSlice(n,e-i);!this.htmlMode||this.options.recognizeCDATA?(null===(o=(r=this.cbs).oncdatastart)||void 0===o||o.call(r),null===(s=(a=this.cbs).ontext)||void 0===s||s.call(a,x),null===(c=(l=this.cbs).oncdataend)||void 0===c||c.call(l)):(null===(g=(h=this.cbs).oncomment)||void 0===g||g.call(h,`[CDATA[${x}]]`),null===(y=(L=this.cbs).oncommentend)||void 0===y||y.call(L)),this.startIndex=e+1}onend(){var n,e;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let i=0;i<this.stack.length;i++)this.cbs.onclosetag(this.stack[i],!0)}null===(e=(n=this.cbs).onend)||void 0===e||e.call(n)}reset(){var n,e,i,r;null===(e=(n=this.cbs).onreset)||void 0===e||e.call(n),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(r=(i=this.cbs).onparserinit)||void 0===r||r.call(i,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(n){this.reset(),this.end(n)}getSlice(n,e){for(;n-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let i=this.buffers[0].slice(n-this.bufferOffset,e-this.bufferOffset);for(;e-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),i+=this.buffers[0].slice(0,e-this.bufferOffset);return i}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(n){var e,i;this.ended?null===(i=(e=this.cbs).onerror)||void 0===i||i.call(e,new Error(".write() after done!")):(this.buffers.push(n),this.tokenizer.running&&(this.tokenizer.write(n),this.writeIndex++))}end(n){var e,i;this.ended?null===(i=(e=this.cbs).onerror)||void 0===i||i.call(e,new Error(".end() after done!")):(n&&this.write(n),this.ended=!0,this.tokenizer.end())}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(n){this.write(n)}done(n){this.end(n)}}const jne=new Uint16Array('\u1d41<\xd5\u0131\u028a\u049d\u057b\u05d0\u0675\u06de\u07a2\u07d6\u080f\u0a4a\u0a91\u0da1\u0e6d\u0f09\u0f26\u10ca\u1228\u12e1\u1415\u149d\u14c3\u14df\u1525\0\0\0\0\0\0\u156b\u16cd\u198d\u1c12\u1ddd\u1f7e\u2060\u21b0\u228d\u23c0\u23fb\u2442\u2824\u2912\u2d08\u2e48\u2fce\u3016\u32ba\u3639\u37ac\u38fe\u3a28\u3a71\u3ae0\u3b2e\u0800EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig\u803b\xc6\u40c6P\u803b&\u4026cute\u803b\xc1\u40c1reve;\u4102\u0100iyx}rc\u803b\xc2\u40c2;\u4410r;\uc000\u{1d504}rave\u803b\xc0\u40c0pha;\u4391acr;\u4100d;\u6a53\u0100gp\x9d\xa1on;\u4104f;\uc000\u{1d538}plyFunction;\u6061ing\u803b\xc5\u40c5\u0100cs\xbe\xc3r;\uc000\u{1d49c}ign;\u6254ilde\u803b\xc3\u40c3ml\u803b\xc4\u40c4\u0400aceforsu\xe5\xfb\xfe\u0117\u011c\u0122\u0127\u012a\u0100cr\xea\xf2kslash;\u6216\u0176\xf6\xf8;\u6ae7ed;\u6306y;\u4411\u0180crt\u0105\u010b\u0114ause;\u6235noullis;\u612ca;\u4392r;\uc000\u{1d505}pf;\uc000\u{1d539}eve;\u42d8c\xf2\u0113mpeq;\u624e\u0700HOacdefhilorsu\u014d\u0151\u0156\u0180\u019e\u01a2\u01b5\u01b7\u01ba\u01dc\u0215\u0273\u0278\u027ecy;\u4427PY\u803b\xa9\u40a9\u0180cpy\u015d\u0162\u017aute;\u4106\u0100;i\u0167\u0168\u62d2talDifferentialD;\u6145leys;\u612d\u0200aeio\u0189\u018e\u0194\u0198ron;\u410cdil\u803b\xc7\u40c7rc;\u4108nint;\u6230ot;\u410a\u0100dn\u01a7\u01adilla;\u40b8terDot;\u40b7\xf2\u017fi;\u43a7rcle\u0200DMPT\u01c7\u01cb\u01d1\u01d6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01e2\u01f8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020foubleQuote;\u601duote;\u6019\u0200lnpu\u021e\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6a74\u0180git\u022f\u0236\u023aruent;\u6261nt;\u622fourIntegral;\u622e\u0100fr\u024c\u024e;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6a2fcr;\uc000\u{1d49e}p\u0100;C\u0284\u0285\u62d3ap;\u624d\u0580DJSZacefios\u02a0\u02ac\u02b0\u02b4\u02b8\u02cb\u02d7\u02e1\u02e6\u0333\u048d\u0100;o\u0179\u02a5trahd;\u6911cy;\u4402cy;\u4405cy;\u440f\u0180grs\u02bf\u02c4\u02c7ger;\u6021r;\u61a1hv;\u6ae4\u0100ay\u02d0\u02d5ron;\u410e;\u4414l\u0100;t\u02dd\u02de\u6207a;\u4394r;\uc000\u{1d507}\u0100af\u02eb\u0327\u0100cm\u02f0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031ccute;\u40b4o\u0174\u030b\u030d;\u42d9bleAcute;\u42ddrave;\u4060ilde;\u42dcond;\u62c4ferentialD;\u6146\u0470\u033d\0\0\0\u0342\u0354\0\u0405f;\uc000\u{1d53b}\u0180;DE\u0348\u0349\u034d\u40a8ot;\u60dcqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03cf\u03e2\u03f8ontourIntegra\xec\u0239o\u0274\u0379\0\0\u037b\xbb\u0349nArrow;\u61d3\u0100eo\u0387\u03a4ft\u0180ART\u0390\u0396\u03a1rrow;\u61d0ightArrow;\u61d4e\xe5\u02cang\u0100LR\u03ab\u03c4eft\u0100AR\u03b3\u03b9rrow;\u67f8ightArrow;\u67faightArrow;\u67f9ight\u0100AT\u03d8\u03derrow;\u61d2ee;\u62a8p\u0241\u03e9\0\0\u03efrrow;\u61d1ownArrow;\u61d5erticalBar;\u6225n\u0300ABLRTa\u0412\u042a\u0430\u045e\u047f\u037crrow\u0180;BU\u041d\u041e\u0422\u6193ar;\u6913pArrow;\u61f5reve;\u4311eft\u02d2\u043a\0\u0446\0\u0450ightVector;\u6950eeVector;\u695eector\u0100;B\u0459\u045a\u61bdar;\u6956ight\u01d4\u0467\0\u0471eeVector;\u695fector\u0100;B\u047a\u047b\u61c1ar;\u6957ee\u0100;A\u0486\u0487\u62a4rrow;\u61a7\u0100ct\u0492\u0497r;\uc000\u{1d49f}rok;\u4110\u0800NTacdfglmopqstux\u04bd\u04c0\u04c4\u04cb\u04de\u04e2\u04e7\u04ee\u04f5\u0521\u052f\u0536\u0552\u055d\u0560\u0565G;\u414aH\u803b\xd0\u40d0cute\u803b\xc9\u40c9\u0180aiy\u04d2\u04d7\u04dcron;\u411arc\u803b\xca\u40ca;\u442dot;\u4116r;\uc000\u{1d508}rave\u803b\xc8\u40c8ement;\u6208\u0100ap\u04fa\u04fecr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65fberySmallSquare;\u65ab\u0100gp\u0526\u052aon;\u4118f;\uc000\u{1d53c}silon;\u4395u\u0100ai\u053c\u0549l\u0100;T\u0542\u0543\u6a75ilde;\u6242librium;\u61cc\u0100ci\u0557\u055ar;\u6130m;\u6a73a;\u4397ml\u803b\xcb\u40cb\u0100ip\u056a\u056fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058d\u05b2\u05ccy;\u4424r;\uc000\u{1d509}lled\u0253\u0597\0\0\u05a3mallSquare;\u65fcerySmallSquare;\u65aa\u0370\u05ba\0\u05bf\0\0\u05c4f;\uc000\u{1d53d}All;\u6200riertrf;\u6131c\xf2\u05cb\u0600JTabcdfgorst\u05e8\u05ec\u05ef\u05fa\u0600\u0612\u0616\u061b\u061d\u0623\u066c\u0672cy;\u4403\u803b>\u403emma\u0100;d\u05f7\u05f8\u4393;\u43dcreve;\u411e\u0180eiy\u0607\u060c\u0610dil;\u4122rc;\u411c;\u4413ot;\u4120r;\uc000\u{1d50a};\u62d9pf;\uc000\u{1d53e}eater\u0300EFGLST\u0635\u0644\u064e\u0656\u065b\u0666qual\u0100;L\u063e\u063f\u6265ess;\u62dbullEqual;\u6267reater;\u6aa2ess;\u6277lantEqual;\u6a7eilde;\u6273cr;\uc000\u{1d4a2};\u626b\u0400Aacfiosu\u0685\u068b\u0696\u069b\u069e\u06aa\u06be\u06caRDcy;\u442a\u0100ct\u0690\u0694ek;\u42c7;\u405eirc;\u4124r;\u610clbertSpace;\u610b\u01f0\u06af\0\u06b2f;\u610dizontalLine;\u6500\u0100ct\u06c3\u06c5\xf2\u06a9rok;\u4126mp\u0144\u06d0\u06d8ownHum\xf0\u012fqual;\u624f\u0700EJOacdfgmnostu\u06fa\u06fe\u0703\u0707\u070e\u071a\u071e\u0721\u0728\u0744\u0778\u078b\u078f\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803b\xcd\u40cd\u0100iy\u0713\u0718rc\u803b\xce\u40ce;\u4418ot;\u4130r;\u6111rave\u803b\xcc\u40cc\u0180;ap\u0720\u072f\u073f\u0100cg\u0734\u0737r;\u412ainaryI;\u6148lie\xf3\u03dd\u01f4\u0749\0\u0762\u0100;e\u074d\u074e\u622c\u0100gr\u0753\u0758ral;\u622bsection;\u62c2isible\u0100CT\u076c\u0772omma;\u6063imes;\u6062\u0180gpt\u077f\u0783\u0788on;\u412ef;\uc000\u{1d540}a;\u4399cr;\u6110ilde;\u4128\u01eb\u079a\0\u079ecy;\u4406l\u803b\xcf\u40cf\u0280cfosu\u07ac\u07b7\u07bc\u07c2\u07d0\u0100iy\u07b1\u07b5rc;\u4134;\u4419r;\uc000\u{1d50d}pf;\uc000\u{1d541}\u01e3\u07c7\0\u07ccr;\uc000\u{1d4a5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07e4\u07e8\u07ec\u07f1\u07fd\u0802\u0808cy;\u4425cy;\u440cppa;\u439a\u0100ey\u07f6\u07fbdil;\u4136;\u441ar;\uc000\u{1d50e}pf;\uc000\u{1d542}cr;\uc000\u{1d4a6}\u0580JTaceflmost\u0825\u0829\u082c\u0850\u0863\u09b3\u09b8\u09c7\u09cd\u0a37\u0a47cy;\u4409\u803b<\u403c\u0280cmnpr\u0837\u083c\u0841\u0844\u084dute;\u4139bda;\u439bg;\u67ealacetrf;\u6112r;\u619e\u0180aey\u0857\u085c\u0861ron;\u413ddil;\u413b;\u441b\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087e\u08a9\u08b1\u08e0\u08e6\u08fc\u092f\u095b\u0390\u096a\u0100nr\u0883\u088fgleBracket;\u67e8row\u0180;BR\u0899\u089a\u089e\u6190ar;\u61e4ightArrow;\u61c6eiling;\u6308o\u01f5\u08b7\0\u08c3bleBracket;\u67e6n\u01d4\u08c8\0\u08d2eeVector;\u6961ector\u0100;B\u08db\u08dc\u61c3ar;\u6959loor;\u630aight\u0100AV\u08ef\u08f5rrow;\u6194ector;\u694e\u0100er\u0901\u0917e\u0180;AV\u0909\u090a\u0910\u62a3rrow;\u61a4ector;\u695aiangle\u0180;BE\u0924\u0925\u0929\u62b2ar;\u69cfqual;\u62b4p\u0180DTV\u0937\u0942\u094cownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61bfar;\u6958ector\u0100;B\u0965\u0966\u61bcar;\u6952ight\xe1\u039cs\u0300EFGLST\u097e\u098b\u0995\u099d\u09a2\u09adqualGreater;\u62daullEqual;\u6266reater;\u6276ess;\u6aa1lantEqual;\u6a7dilde;\u6272r;\uc000\u{1d50f}\u0100;e\u09bd\u09be\u62d8ftarrow;\u61daidot;\u413f\u0180npw\u09d4\u0a16\u0a1bg\u0200LRlr\u09de\u09f7\u0a02\u0a10eft\u0100AR\u09e6\u09ecrrow;\u67f5ightArrow;\u67f7ightArrow;\u67f6eft\u0100ar\u03b3\u0a0aight\xe1\u03bfight\xe1\u03caf;\uc000\u{1d543}er\u0100LR\u0a22\u0a2ceftArrow;\u6199ightArrow;\u6198\u0180cht\u0a3e\u0a40\u0a42\xf2\u084c;\u61b0rok;\u4141;\u626a\u0400acefiosu\u0a5a\u0a5d\u0a60\u0a77\u0a7c\u0a85\u0a8b\u0a8ep;\u6905y;\u441c\u0100dl\u0a65\u0a6fiumSpace;\u605flintrf;\u6133r;\uc000\u{1d510}nusPlus;\u6213pf;\uc000\u{1d544}c\xf2\u0a76;\u439c\u0480Jacefostu\u0aa3\u0aa7\u0aad\u0ac0\u0b14\u0b19\u0d91\u0d97\u0d9ecy;\u440acute;\u4143\u0180aey\u0ab4\u0ab9\u0aberon;\u4147dil;\u4145;\u441d\u0180gsw\u0ac7\u0af0\u0b0eative\u0180MTV\u0ad3\u0adf\u0ae8ediumSpace;\u600bhi\u0100cn\u0ae6\u0ad8\xeb\u0ad9eryThi\xee\u0ad9ted\u0100GL\u0af8\u0b06reaterGreate\xf2\u0673essLes\xf3\u0a48Line;\u400ar;\uc000\u{1d511}\u0200Bnpt\u0b22\u0b28\u0b37\u0b3areak;\u6060BreakingSpace;\u40a0f;\u6115\u0680;CDEGHLNPRSTV\u0b55\u0b56\u0b6a\u0b7c\u0ba1\u0beb\u0c04\u0c5e\u0c84\u0ca6\u0cd8\u0d61\u0d85\u6aec\u0100ou\u0b5b\u0b64ngruent;\u6262pCap;\u626doubleVerticalBar;\u6226\u0180lqx\u0b83\u0b8a\u0b9bement;\u6209ual\u0100;T\u0b92\u0b93\u6260ilde;\uc000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0bb6\u0bb7\u0bbd\u0bc9\u0bd3\u0bd8\u0be5\u626fqual;\u6271ullEqual;\uc000\u2267\u0338reater;\uc000\u226b\u0338ess;\u6279lantEqual;\uc000\u2a7e\u0338ilde;\u6275ump\u0144\u0bf2\u0bfdownHump;\uc000\u224e\u0338qual;\uc000\u224f\u0338e\u0100fs\u0c0a\u0c27tTriangle\u0180;BE\u0c1a\u0c1b\u0c21\u62eaar;\uc000\u29cf\u0338qual;\u62ecs\u0300;EGLST\u0c35\u0c36\u0c3c\u0c44\u0c4b\u0c58\u626equal;\u6270reater;\u6278ess;\uc000\u226a\u0338lantEqual;\uc000\u2a7d\u0338ilde;\u6274ested\u0100GL\u0c68\u0c79reaterGreater;\uc000\u2aa2\u0338essLess;\uc000\u2aa1\u0338recedes\u0180;ES\u0c92\u0c93\u0c9b\u6280qual;\uc000\u2aaf\u0338lantEqual;\u62e0\u0100ei\u0cab\u0cb9verseElement;\u620cghtTriangle\u0180;BE\u0ccb\u0ccc\u0cd2\u62ebar;\uc000\u29d0\u0338qual;\u62ed\u0100qu\u0cdd\u0d0cuareSu\u0100bp\u0ce8\u0cf9set\u0100;E\u0cf0\u0cf3\uc000\u228f\u0338qual;\u62e2erset\u0100;E\u0d03\u0d06\uc000\u2290\u0338qual;\u62e3\u0180bcp\u0d13\u0d24\u0d4eset\u0100;E\u0d1b\u0d1e\uc000\u2282\u20d2qual;\u6288ceeds\u0200;EST\u0d32\u0d33\u0d3b\u0d46\u6281qual;\uc000\u2ab0\u0338lantEqual;\u62e1ilde;\uc000\u227f\u0338erset\u0100;E\u0d58\u0d5b\uc000\u2283\u20d2qual;\u6289ilde\u0200;EFT\u0d6e\u0d6f\u0d75\u0d7f\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uc000\u{1d4a9}ilde\u803b\xd1\u40d1;\u439d\u0700Eacdfgmoprstuv\u0dbd\u0dc2\u0dc9\u0dd5\u0ddb\u0de0\u0de7\u0dfc\u0e02\u0e20\u0e22\u0e32\u0e3f\u0e44lig;\u4152cute\u803b\xd3\u40d3\u0100iy\u0dce\u0dd3rc\u803b\xd4\u40d4;\u441eblac;\u4150r;\uc000\u{1d512}rave\u803b\xd2\u40d2\u0180aei\u0dee\u0df2\u0df6cr;\u414cga;\u43a9cron;\u439fpf;\uc000\u{1d546}enCurly\u0100DQ\u0e0e\u0e1aoubleQuote;\u601cuote;\u6018;\u6a54\u0100cl\u0e27\u0e2cr;\uc000\u{1d4aa}ash\u803b\xd8\u40d8i\u016c\u0e37\u0e3cde\u803b\xd5\u40d5es;\u6a37ml\u803b\xd6\u40d6er\u0100BP\u0e4b\u0e60\u0100ar\u0e50\u0e53r;\u603eac\u0100ek\u0e5a\u0e5c;\u63deet;\u63b4arenthesis;\u63dc\u0480acfhilors\u0e7f\u0e87\u0e8a\u0e8f\u0e92\u0e94\u0e9d\u0eb0\u0efcrtialD;\u6202y;\u441fr;\uc000\u{1d513}i;\u43a6;\u43a0usMinus;\u40b1\u0100ip\u0ea2\u0eadncareplan\xe5\u069df;\u6119\u0200;eio\u0eb9\u0eba\u0ee0\u0ee4\u6abbcedes\u0200;EST\u0ec8\u0ec9\u0ecf\u0eda\u627aqual;\u6aaflantEqual;\u627cilde;\u627eme;\u6033\u0100dp\u0ee9\u0eeeuct;\u620fortion\u0100;a\u0225\u0ef9l;\u621d\u0100ci\u0f01\u0f06r;\uc000\u{1d4ab};\u43a8\u0200Ufos\u0f11\u0f16\u0f1b\u0f1fOT\u803b"\u4022r;\uc000\u{1d514}pf;\u611acr;\uc000\u{1d4ac}\u0600BEacefhiorsu\u0f3e\u0f43\u0f47\u0f60\u0f73\u0fa7\u0faa\u0fad\u1096\u10a9\u10b4\u10bearr;\u6910G\u803b\xae\u40ae\u0180cnr\u0f4e\u0f53\u0f56ute;\u4154g;\u67ebr\u0100;t\u0f5c\u0f5d\u61a0l;\u6916\u0180aey\u0f67\u0f6c\u0f71ron;\u4158dil;\u4156;\u4420\u0100;v\u0f78\u0f79\u611cerse\u0100EU\u0f82\u0f99\u0100lq\u0f87\u0f8eement;\u620builibrium;\u61cbpEquilibrium;\u696fr\xbb\u0f79o;\u43a1ght\u0400ACDFTUVa\u0fc1\u0feb\u0ff3\u1022\u1028\u105b\u1087\u03d8\u0100nr\u0fc6\u0fd2gleBracket;\u67e9row\u0180;BL\u0fdc\u0fdd\u0fe1\u6192ar;\u61e5eftArrow;\u61c4eiling;\u6309o\u01f5\u0ff9\0\u1005bleBracket;\u67e7n\u01d4\u100a\0\u1014eeVector;\u695dector\u0100;B\u101d\u101e\u61c2ar;\u6955loor;\u630b\u0100er\u102d\u1043e\u0180;AV\u1035\u1036\u103c\u62a2rrow;\u61a6ector;\u695biangle\u0180;BE\u1050\u1051\u1055\u62b3ar;\u69d0qual;\u62b5p\u0180DTV\u1063\u106e\u1078ownVector;\u694feeVector;\u695cector\u0100;B\u1082\u1083\u61bear;\u6954ector\u0100;B\u1091\u1092\u61c0ar;\u6953\u0100pu\u109b\u109ef;\u611dndImplies;\u6970ightarrow;\u61db\u0100ch\u10b9\u10bcr;\u611b;\u61b1leDelayed;\u69f4\u0680HOacfhimoqstu\u10e4\u10f1\u10f7\u10fd\u1119\u111e\u1151\u1156\u1161\u1167\u11b5\u11bb\u11bf\u0100Cc\u10e9\u10eeHcy;\u4429y;\u4428FTcy;\u442ccute;\u415a\u0280;aeiy\u1108\u1109\u110e\u1113\u1117\u6abcron;\u4160dil;\u415erc;\u415c;\u4421r;\uc000\u{1d516}ort\u0200DLRU\u112a\u1134\u113e\u1149ownArrow\xbb\u041eeftArrow\xbb\u089aightArrow\xbb\u0fddpArrow;\u6191gma;\u43a3allCircle;\u6218pf;\uc000\u{1d54a}\u0272\u116d\0\0\u1170t;\u621aare\u0200;ISU\u117b\u117c\u1189\u11af\u65a1ntersection;\u6293u\u0100bp\u118f\u119eset\u0100;E\u1197\u1198\u628fqual;\u6291erset\u0100;E\u11a8\u11a9\u6290qual;\u6292nion;\u6294cr;\uc000\u{1d4ae}ar;\u62c6\u0200bcmp\u11c8\u11db\u1209\u120b\u0100;s\u11cd\u11ce\u62d0et\u0100;E\u11cd\u11d5qual;\u6286\u0100ch\u11e0\u1205eeds\u0200;EST\u11ed\u11ee\u11f4\u11ff\u627bqual;\u6ab0lantEqual;\u627dilde;\u627fTh\xe1\u0f8c;\u6211\u0180;es\u1212\u1213\u1223\u62d1rset\u0100;E\u121c\u121d\u6283qual;\u6287et\xbb\u1213\u0580HRSacfhiors\u123e\u1244\u1249\u1255\u125e\u1271\u1276\u129f\u12c2\u12c8\u12d1ORN\u803b\xde\u40deADE;\u6122\u0100Hc\u124e\u1252cy;\u440by;\u4426\u0100bu\u125a\u125c;\u4009;\u43a4\u0180aey\u1265\u126a\u126fron;\u4164dil;\u4162;\u4422r;\uc000\u{1d517}\u0100ei\u127b\u1289\u01f2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128e\u1298kSpace;\uc000\u205f\u200aSpace;\u6009lde\u0200;EFT\u12ab\u12ac\u12b2\u12bc\u623cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uc000\u{1d54b}ipleDot;\u60db\u0100ct\u12d6\u12dbr;\uc000\u{1d4af}rok;\u4166\u0ae1\u12f7\u130e\u131a\u1326\0\u132c\u1331\0\0\0\0\0\u1338\u133d\u1377\u1385\0\u13ff\u1404\u140a\u1410\u0100cr\u12fb\u1301ute\u803b\xda\u40dar\u0100;o\u1307\u1308\u619fcir;\u6949r\u01e3\u1313\0\u1316y;\u440eve;\u416c\u0100iy\u131e\u1323rc\u803b\xdb\u40db;\u4423blac;\u4170r;\uc000\u{1d518}rave\u803b\xd9\u40d9acr;\u416a\u0100di\u1341\u1369er\u0100BP\u1348\u135d\u0100ar\u134d\u1350r;\u405fac\u0100ek\u1357\u1359;\u63dfet;\u63b5arenthesis;\u63ddon\u0100;P\u1370\u1371\u62c3lus;\u628e\u0100gp\u137b\u137fon;\u4172f;\uc000\u{1d54c}\u0400ADETadps\u1395\u13ae\u13b8\u13c4\u03e8\u13d2\u13d7\u13f3rrow\u0180;BD\u1150\u13a0\u13a4ar;\u6912ownArrow;\u61c5ownArrow;\u6195quilibrium;\u696eee\u0100;A\u13cb\u13cc\u62a5rrow;\u61a5own\xe1\u03f3er\u0100LR\u13de\u13e8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13f9\u13fa\u43d2on;\u43a5ing;\u416ecr;\uc000\u{1d4b0}ilde;\u4168ml\u803b\xdc\u40dc\u0480Dbcdefosv\u1427\u142c\u1430\u1433\u143e\u1485\u148a\u1490\u1496ash;\u62abar;\u6aeby;\u4412ash\u0100;l\u143b\u143c\u62a9;\u6ae6\u0100er\u1443\u1445;\u62c1\u0180bty\u144c\u1450\u147aar;\u6016\u0100;i\u144f\u1455cal\u0200BLST\u1461\u1465\u146a\u1474ar;\u6223ine;\u407ceparator;\u6758ilde;\u6240ThinSpace;\u600ar;\uc000\u{1d519}pf;\uc000\u{1d54d}cr;\uc000\u{1d4b1}dash;\u62aa\u0280cefos\u14a7\u14ac\u14b1\u14b6\u14bcirc;\u4174dge;\u62c0r;\uc000\u{1d51a}pf;\uc000\u{1d54e}cr;\uc000\u{1d4b2}\u0200fios\u14cb\u14d0\u14d2\u14d8r;\uc000\u{1d51b};\u439epf;\uc000\u{1d54f}cr;\uc000\u{1d4b3}\u0480AIUacfosu\u14f1\u14f5\u14f9\u14fd\u1504\u150f\u1514\u151a\u1520cy;\u442fcy;\u4407cy;\u442ecute\u803b\xdd\u40dd\u0100iy\u1509\u150drc;\u4176;\u442br;\uc000\u{1d51c}pf;\uc000\u{1d550}cr;\uc000\u{1d4b4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153f\u154b\u154f\u155d\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417d;\u4417ot;\u417b\u01f2\u1554\0\u155boWidt\xe8\u0ad9a;\u4396r;\u6128pf;\u6124cr;\uc000\u{1d4b5}\u0be1\u1583\u158a\u1590\0\u15b0\u15b6\u15bf\0\0\0\0\u15c6\u15db\u15eb\u165f\u166d\0\u1695\u169b\u16b2\u16b9\0\u16becute\u803b\xe1\u40e1reve;\u4103\u0300;Ediuy\u159c\u159d\u15a1\u15a3\u15a8\u15ad\u623e;\uc000\u223e\u0333;\u623frc\u803b\xe2\u40e2te\u80bb\xb4\u0306;\u4430lig\u803b\xe6\u40e6\u0100;r\xb2\u15ba;\uc000\u{1d51e}rave\u803b\xe0\u40e0\u0100ep\u15ca\u15d6\u0100fp\u15cf\u15d4sym;\u6135\xe8\u15d3ha;\u43b1\u0100ap\u15dfc\u0100cl\u15e4\u15e7r;\u4101g;\u6a3f\u0264\u15f0\0\0\u160a\u0280;adsv\u15fa\u15fb\u15ff\u1601\u1607\u6227nd;\u6a55;\u6a5clope;\u6a58;\u6a5a\u0380;elmrsz\u1618\u1619\u161b\u161e\u163f\u164f\u1659\u6220;\u69a4e\xbb\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163a\u163c\u163e;\u69a8;\u69a9;\u69aa;\u69ab;\u69ac;\u69ad;\u69ae;\u69aft\u0100;v\u1645\u1646\u621fb\u0100;d\u164c\u164d\u62be;\u699d\u0100pt\u1654\u1657h;\u6222\xbb\xb9arr;\u637c\u0100gp\u1663\u1667on;\u4105f;\uc000\u{1d552}\u0380;Eaeiop\u12c1\u167b\u167d\u1682\u1684\u1687\u168a;\u6a70cir;\u6a6f;\u624ad;\u624bs;\u4027rox\u0100;e\u12c1\u1692\xf1\u1683ing\u803b\xe5\u40e5\u0180cty\u16a1\u16a6\u16a8r;\uc000\u{1d4b6};\u402amp\u0100;e\u12c1\u16af\xf1\u0288ilde\u803b\xe3\u40e3ml\u803b\xe4\u40e4\u0100ci\u16c2\u16c8onin\xf4\u0272nt;\u6a11\u0800Nabcdefiklnoprsu\u16ed\u16f1\u1730\u173c\u1743\u1748\u1778\u177d\u17e0\u17e6\u1839\u1850\u170d\u193d\u1948\u1970ot;\u6aed\u0100cr\u16f6\u171ek\u0200ceps\u1700\u1705\u170d\u1713ong;\u624cpsilon;\u43f6rime;\u6035im\u0100;e\u171a\u171b\u623dq;\u62cd\u0176\u1722\u1726ee;\u62bded\u0100;g\u172c\u172d\u6305e\xbb\u172drk\u0100;t\u135c\u1737brk;\u63b6\u0100oy\u1701\u1741;\u4431quo;\u601e\u0280cmprt\u1753\u175b\u1761\u1764\u1768aus\u0100;e\u010a\u0109ptyv;\u69b0s\xe9\u170cno\xf5\u0113\u0180ahw\u176f\u1771\u1773;\u43b2;\u6136een;\u626cr;\uc000\u{1d51f}g\u0380costuvw\u178d\u179d\u17b3\u17c1\u17d5\u17db\u17de\u0180aiu\u1794\u1796\u179a\xf0\u0760rc;\u65efp\xbb\u1371\u0180dpt\u17a4\u17a8\u17adot;\u6a00lus;\u6a01imes;\u6a02\u0271\u17b9\0\0\u17becup;\u6a06ar;\u6605riangle\u0100du\u17cd\u17d2own;\u65bdp;\u65b3plus;\u6a04e\xe5\u1444\xe5\u14adarow;\u690d\u0180ako\u17ed\u1826\u1835\u0100cn\u17f2\u1823k\u0180lst\u17fa\u05ab\u1802ozenge;\u69ebriangle\u0200;dlr\u1812\u1813\u1818\u181d\u65b4own;\u65beeft;\u65c2ight;\u65b8k;\u6423\u01b1\u182b\0\u1833\u01b2\u182f\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183e\u184d\u0100;q\u1843\u1846\uc000=\u20e5uiv;\uc000\u2261\u20e5t;\u6310\u0200ptwx\u1859\u185e\u1867\u186cf;\uc000\u{1d553}\u0100;t\u13cb\u1863om\xbb\u13cctie;\u62c8\u0600DHUVbdhmptuv\u1885\u1896\u18aa\u18bb\u18d7\u18db\u18ec\u18ff\u1905\u190a\u1910\u1921\u0200LRlr\u188e\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18a1\u18a2\u18a4\u18a6\u18a8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18b3\u18b5\u18b7\u18b9;\u655d;\u655a;\u655c;\u6559\u0380;HLRhlr\u18ca\u18cb\u18cd\u18cf\u18d1\u18d3\u18d5\u6551;\u656c;\u6563;\u6560;\u656b;\u6562;\u655fox;\u69c9\u0200LRlr\u18e4\u18e6\u18e8\u18ea;\u6555;\u6552;\u6510;\u650c\u0280;DUdu\u06bd\u18f7\u18f9\u18fb\u18fd;\u6565;\u6568;\u652c;\u6534inus;\u629flus;\u629eimes;\u62a0\u0200LRlr\u1919\u191b\u191d\u191f;\u655b;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193b\u6502;\u656a;\u6561;\u655e;\u653c;\u6524;\u651c\u0100ev\u0123\u1942bar\u803b\xa6\u40a6\u0200ceio\u1951\u1956\u195a\u1960r;\uc000\u{1d4b7}mi;\u604fm\u0100;e\u171a\u171cl\u0180;bh\u1968\u1969\u196b\u405c;\u69c5sub;\u67c8\u016c\u1974\u197el\u0100;e\u1979\u197a\u6022t\xbb\u197ap\u0180;Ee\u012f\u1985\u1987;\u6aae\u0100;q\u06dc\u06db\u0ce1\u19a7\0\u19e8\u1a11\u1a15\u1a32\0\u1a37\u1a50\0\0\u1ab4\0\0\u1ac1\0\0\u1b21\u1b2e\u1b4d\u1b52\0\u1bfd\0\u1c0c\u0180cpr\u19ad\u19b2\u19ddute;\u4107\u0300;abcds\u19bf\u19c0\u19c4\u19ca\u19d5\u19d9\u6229nd;\u6a44rcup;\u6a49\u0100au\u19cf\u19d2p;\u6a4bp;\u6a47ot;\u6a40;\uc000\u2229\ufe00\u0100eo\u19e2\u19e5t;\u6041\xee\u0693\u0200aeiu\u19f0\u19fb\u1a01\u1a05\u01f0\u19f5\0\u19f8s;\u6a4don;\u410ddil\u803b\xe7\u40e7rc;\u4109ps\u0100;s\u1a0c\u1a0d\u6a4cm;\u6a50ot;\u410b\u0180dmn\u1a1b\u1a20\u1a26il\u80bb\xb8\u01adptyv;\u69b2t\u8100\xa2;e\u1a2d\u1a2e\u40a2r\xe4\u01b2r;\uc000\u{1d520}\u0180cei\u1a3d\u1a40\u1a4dy;\u4447ck\u0100;m\u1a47\u1a48\u6713ark\xbb\u1a48;\u43c7r\u0380;Ecefms\u1a5f\u1a60\u1a62\u1a6b\u1aa4\u1aaa\u1aae\u65cb;\u69c3\u0180;el\u1a69\u1a6a\u1a6d\u42c6q;\u6257e\u0261\u1a74\0\0\u1a88rrow\u0100lr\u1a7c\u1a81eft;\u61baight;\u61bb\u0280RSacd\u1a92\u1a94\u1a96\u1a9a\u1a9f\xbb\u0f47;\u64c8st;\u629birc;\u629aash;\u629dnint;\u6a10id;\u6aefcir;\u69c2ubs\u0100;u\u1abb\u1abc\u6663it\xbb\u1abc\u02ec\u1ac7\u1ad4\u1afa\0\u1b0aon\u0100;e\u1acd\u1ace\u403a\u0100;q\xc7\xc6\u026d\u1ad9\0\0\u1ae2a\u0100;t\u1ade\u1adf\u402c;\u4040\u0180;fl\u1ae8\u1ae9\u1aeb\u6201\xee\u1160e\u0100mx\u1af1\u1af6ent\xbb\u1ae9e\xf3\u024d\u01e7\u1afe\0\u1b07\u0100;d\u12bb\u1b02ot;\u6a6dn\xf4\u0246\u0180fry\u1b10\u1b14\u1b17;\uc000\u{1d554}o\xe4\u0254\u8100\xa9;s\u0155\u1b1dr;\u6117\u0100ao\u1b25\u1b29rr;\u61b5ss;\u6717\u0100cu\u1b32\u1b37r;\uc000\u{1d4b8}\u0100bp\u1b3c\u1b44\u0100;e\u1b41\u1b42\u6acf;\u6ad1\u0100;e\u1b49\u1b4a\u6ad0;\u6ad2dot;\u62ef\u0380delprvw\u1b60\u1b6c\u1b77\u1b82\u1bac\u1bd4\u1bf9arr\u0100lr\u1b68\u1b6a;\u6938;\u6935\u0270\u1b72\0\0\u1b75r;\u62dec;\u62dfarr\u0100;p\u1b7f\u1b80\u61b6;\u693d\u0300;bcdos\u1b8f\u1b90\u1b96\u1ba1\u1ba5\u1ba8\u622arcap;\u6a48\u0100au\u1b9b\u1b9ep;\u6a46p;\u6a4aot;\u628dr;\u6a45;\uc000\u222a\ufe00\u0200alrv\u1bb5\u1bbf\u1bde\u1be3rr\u0100;m\u1bbc\u1bbd\u61b7;\u693cy\u0180evw\u1bc7\u1bd4\u1bd8q\u0270\u1bce\0\0\u1bd2re\xe3\u1b73u\xe3\u1b75ee;\u62ceedge;\u62cfen\u803b\xa4\u40a4earrow\u0100lr\u1bee\u1bf3eft\xbb\u1b80ight\xbb\u1bbde\xe4\u1bdd\u0100ci\u1c01\u1c07onin\xf4\u01f7nt;\u6231lcty;\u632d\u0980AHabcdefhijlorstuwz\u1c38\u1c3b\u1c3f\u1c5d\u1c69\u1c75\u1c8a\u1c9e\u1cac\u1cb7\u1cfb\u1cff\u1d0d\u1d7b\u1d91\u1dab\u1dbb\u1dc6\u1dcdr\xf2\u0381ar;\u6965\u0200glrs\u1c48\u1c4d\u1c52\u1c54ger;\u6020eth;\u6138\xf2\u1133h\u0100;v\u1c5a\u1c5b\u6010\xbb\u090a\u016b\u1c61\u1c67arow;\u690fa\xe3\u0315\u0100ay\u1c6e\u1c73ron;\u410f;\u4434\u0180;ao\u0332\u1c7c\u1c84\u0100gr\u02bf\u1c81r;\u61catseq;\u6a77\u0180glm\u1c91\u1c94\u1c98\u803b\xb0\u40b0ta;\u43b4ptyv;\u69b1\u0100ir\u1ca3\u1ca8sht;\u697f;\uc000\u{1d521}ar\u0100lr\u1cb3\u1cb5\xbb\u08dc\xbb\u101e\u0280aegsv\u1cc2\u0378\u1cd6\u1cdc\u1ce0m\u0180;os\u0326\u1cca\u1cd4nd\u0100;s\u0326\u1cd1uit;\u6666amma;\u43ddin;\u62f2\u0180;io\u1ce7\u1ce8\u1cf8\u40f7de\u8100\xf7;o\u1ce7\u1cf0ntimes;\u62c7n\xf8\u1cf7cy;\u4452c\u026f\u1d06\0\0\u1d0arn;\u631eop;\u630d\u0280lptuw\u1d18\u1d1d\u1d22\u1d49\u1d55lar;\u4024f;\uc000\u{1d555}\u0280;emps\u030b\u1d2d\u1d37\u1d3d\u1d42q\u0100;d\u0352\u1d33ot;\u6251inus;\u6238lus;\u6214quare;\u62a1blebarwedg\xe5\xfan\u0180adh\u112e\u1d5d\u1d67ownarrow\xf3\u1c83arpoon\u0100lr\u1d72\u1d76ef\xf4\u1cb4igh\xf4\u1cb6\u0162\u1d7f\u1d85karo\xf7\u0f42\u026f\u1d8a\0\0\u1d8ern;\u631fop;\u630c\u0180cot\u1d98\u1da3\u1da6\u0100ry\u1d9d\u1da1;\uc000\u{1d4b9};\u4455l;\u69f6rok;\u4111\u0100dr\u1db0\u1db4ot;\u62f1i\u0100;f\u1dba\u1816\u65bf\u0100ah\u1dc0\u1dc3r\xf2\u0429a\xf2\u0fa6angle;\u69a6\u0100ci\u1dd2\u1dd5y;\u445fgrarr;\u67ff\u0900Dacdefglmnopqrstux\u1e01\u1e09\u1e19\u1e38\u0578\u1e3c\u1e49\u1e61\u1e7e\u1ea5\u1eaf\u1ebd\u1ee1\u1f2a\u1f37\u1f44\u1f4e\u1f5a\u0100Do\u1e06\u1d34o\xf4\u1c89\u0100cs\u1e0e\u1e14ute\u803b\xe9\u40e9ter;\u6a6e\u0200aioy\u1e22\u1e27\u1e31\u1e36ron;\u411br\u0100;c\u1e2d\u1e2e\u6256\u803b\xea\u40ealon;\u6255;\u444dot;\u4117\u0100Dr\u1e41\u1e45ot;\u6252;\uc000\u{1d522}\u0180;rs\u1e50\u1e51\u1e57\u6a9aave\u803b\xe8\u40e8\u0100;d\u1e5c\u1e5d\u6a96ot;\u6a98\u0200;ils\u1e6a\u1e6b\u1e72\u1e74\u6a99nters;\u63e7;\u6113\u0100;d\u1e79\u1e7a\u6a95ot;\u6a97\u0180aps\u1e85\u1e89\u1e97cr;\u4113ty\u0180;sv\u1e92\u1e93\u1e95\u6205et\xbb\u1e93p\u01001;\u1e9d\u1ea4\u0133\u1ea1\u1ea3;\u6004;\u6005\u6003\u0100gs\u1eaa\u1eac;\u414bp;\u6002\u0100gp\u1eb4\u1eb8on;\u4119f;\uc000\u{1d556}\u0180als\u1ec4\u1ece\u1ed2r\u0100;s\u1eca\u1ecb\u62d5l;\u69e3us;\u6a71i\u0180;lv\u1eda\u1edb\u1edf\u43b5on\xbb\u1edb;\u43f5\u0200csuv\u1eea\u1ef3\u1f0b\u1f23\u0100io\u1eef\u1e31rc\xbb\u1e2e\u0269\u1ef9\0\0\u1efb\xed\u0548ant\u0100gl\u1f02\u1f06tr\xbb\u1e5dess\xbb\u1e7a\u0180aei\u1f12\u1f16\u1f1als;\u403dst;\u625fv\u0100;D\u0235\u1f20D;\u6a78parsl;\u69e5\u0100Da\u1f2f\u1f33ot;\u6253rr;\u6971\u0180cdi\u1f3e\u1f41\u1ef8r;\u612fo\xf4\u0352\u0100ah\u1f49\u1f4b;\u43b7\u803b\xf0\u40f0\u0100mr\u1f53\u1f57l\u803b\xeb\u40ebo;\u60ac\u0180cip\u1f61\u1f64\u1f67l;\u4021s\xf4\u056e\u0100eo\u1f6c\u1f74ctatio\xee\u0559nential\xe5\u0579\u09e1\u1f92\0\u1f9e\0\u1fa1\u1fa7\0\0\u1fc6\u1fcc\0\u1fd3\0\u1fe6\u1fea\u2000\0\u2008\u205allingdotse\xf1\u1e44y;\u4444male;\u6640\u0180ilr\u1fad\u1fb3\u1fc1lig;\u8000\ufb03\u0269\u1fb9\0\0\u1fbdg;\u8000\ufb00ig;\u8000\ufb04;\uc000\u{1d523}lig;\u8000\ufb01lig;\uc000fj\u0180alt\u1fd9\u1fdc\u1fe1t;\u666dig;\u8000\ufb02ns;\u65b1of;\u4192\u01f0\u1fee\0\u1ff3f;\uc000\u{1d557}\u0100ak\u05bf\u1ff7\u0100;v\u1ffc\u1ffd\u62d4;\u6ad9artint;\u6a0d\u0100ao\u200c\u2055\u0100cs\u2011\u2052\u03b1\u201a\u2030\u2038\u2045\u2048\0\u2050\u03b2\u2022\u2025\u2027\u202a\u202c\0\u202e\u803b\xbd\u40bd;\u6153\u803b\xbc\u40bc;\u6155;\u6159;\u615b\u01b3\u2034\0\u2036;\u6154;\u6156\u02b4\u203e\u2041\0\0\u2043\u803b\xbe\u40be;\u6157;\u615c5;\u6158\u01b6\u204c\0\u204e;\u615a;\u615d8;\u615el;\u6044wn;\u6322cr;\uc000\u{1d4bb}\u0880Eabcdefgijlnorstv\u2082\u2089\u209f\u20a5\u20b0\u20b4\u20f0\u20f5\u20fa\u20ff\u2103\u2112\u2138\u0317\u213e\u2152\u219e\u0100;l\u064d\u2087;\u6a8c\u0180cmp\u2090\u2095\u209dute;\u41f5ma\u0100;d\u209c\u1cda\u43b3;\u6a86reve;\u411f\u0100iy\u20aa\u20aerc;\u411d;\u4433ot;\u4121\u0200;lqs\u063e\u0642\u20bd\u20c9\u0180;qs\u063e\u064c\u20c4lan\xf4\u0665\u0200;cdl\u0665\u20d2\u20d5\u20e5c;\u6aa9ot\u0100;o\u20dc\u20dd\u6a80\u0100;l\u20e2\u20e3\u6a82;\u6a84\u0100;e\u20ea\u20ed\uc000\u22db\ufe00s;\u6a94r;\uc000\u{1d524}\u0100;g\u0673\u061bmel;\u6137cy;\u4453\u0200;Eaj\u065a\u210c\u210e\u2110;\u6a92;\u6aa5;\u6aa4\u0200Eaes\u211b\u211d\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6a8arox\xbb\u2124\u0100;q\u212e\u212f\u6a88\u0100;q\u212e\u211bim;\u62e7pf;\uc000\u{1d558}\u0100ci\u2143\u2146r;\u610am\u0180;el\u066b\u214e\u2150;\u6a8e;\u6a90\u8300>;cdlqr\u05ee\u2160\u216a\u216e\u2173\u2179\u0100ci\u2165\u2167;\u6aa7r;\u6a7aot;\u62d7Par;\u6995uest;\u6a7c\u0280adels\u2184\u216a\u2190\u0656\u219b\u01f0\u2189\0\u218epro\xf8\u209er;\u6978q\u0100lq\u063f\u2196les\xf3\u2088i\xed\u066b\u0100en\u21a3\u21adrtneqq;\uc000\u2269\ufe00\xc5\u21aa\u0500Aabcefkosy\u21c4\u21c7\u21f1\u21f5\u21fa\u2218\u221d\u222f\u2268\u227dr\xf2\u03a0\u0200ilmr\u21d0\u21d4\u21d7\u21dbrs\xf0\u1484f\xbb\u2024il\xf4\u06a9\u0100dr\u21e0\u21e4cy;\u444a\u0180;cw\u08f4\u21eb\u21efir;\u6948;\u61adar;\u610firc;\u4125\u0180alr\u2201\u220e\u2213rts\u0100;u\u2209\u220a\u6665it\xbb\u220alip;\u6026con;\u62b9r;\uc000\u{1d525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223a\u223e\u2243\u225e\u2263rr;\u61fftht;\u623bk\u0100lr\u2249\u2253eftarrow;\u61a9ightarrow;\u61aaf;\uc000\u{1d559}bar;\u6015\u0180clt\u226f\u2274\u2278r;\uc000\u{1d4bd}as\xe8\u21f4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xbb\u1c5b\u0ae1\u22a3\0\u22aa\0\u22b8\u22c5\u22ce\0\u22d5\u22f3\0\0\u22f8\u2322\u2367\u2362\u237f\0\u2386\u23aa\u23b4cute\u803b\xed\u40ed\u0180;iy\u0771\u22b0\u22b5rc\u803b\xee\u40ee;\u4438\u0100cx\u22bc\u22bfy;\u4435cl\u803b\xa1\u40a1\u0100fr\u039f\u22c9;\uc000\u{1d526}rave\u803b\xec\u40ec\u0200;ino\u073e\u22dd\u22e9\u22ee\u0100in\u22e2\u22e6nt;\u6a0ct;\u622dfin;\u69dcta;\u6129lig;\u4133\u0180aop\u22fe\u231a\u231d\u0180cgt\u2305\u2308\u2317r;\u412b\u0180elp\u071f\u230f\u2313in\xe5\u078ear\xf4\u0720h;\u4131f;\u62b7ed;\u41b5\u0280;cfot\u04f4\u232c\u2331\u233d\u2341are;\u6105in\u0100;t\u2338\u2339\u621eie;\u69dddo\xf4\u2319\u0280;celp\u0757\u234c\u2350\u235b\u2361al;\u62ba\u0100gr\u2355\u2359er\xf3\u1563\xe3\u234darhk;\u6a17rod;\u6a3c\u0200cgpt\u236f\u2372\u2376\u237by;\u4451on;\u412ff;\uc000\u{1d55a}a;\u43b9uest\u803b\xbf\u40bf\u0100ci\u238a\u238fr;\uc000\u{1d4be}n\u0280;Edsv\u04f4\u239b\u239d\u23a1\u04f3;\u62f9ot;\u62f5\u0100;v\u23a6\u23a7\u62f4;\u62f3\u0100;i\u0777\u23aelde;\u4129\u01eb\u23b8\0\u23bccy;\u4456l\u803b\xef\u40ef\u0300cfmosu\u23cc\u23d7\u23dc\u23e1\u23e7\u23f5\u0100iy\u23d1\u23d5rc;\u4135;\u4439r;\uc000\u{1d527}ath;\u4237pf;\uc000\u{1d55b}\u01e3\u23ec\0\u23f1r;\uc000\u{1d4bf}rcy;\u4458kcy;\u4454\u0400acfghjos\u240b\u2416\u2422\u2427\u242d\u2431\u2435\u243bppa\u0100;v\u2413\u2414\u43ba;\u43f0\u0100ey\u241b\u2420dil;\u4137;\u443ar;\uc000\u{1d528}reen;\u4138cy;\u4445cy;\u445cpf;\uc000\u{1d55c}cr;\uc000\u{1d4c0}\u0b80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248d\u2491\u250e\u253d\u255a\u2580\u264e\u265e\u2665\u2679\u267d\u269a\u26b2\u26d8\u275d\u2768\u278b\u27c0\u2801\u2812\u0180art\u2477\u247a\u247cr\xf2\u09c6\xf2\u0395ail;\u691barr;\u690e\u0100;g\u0994\u248b;\u6a8bar;\u6962\u0963\u24a5\0\u24aa\0\u24b1\0\0\0\0\0\u24b5\u24ba\0\u24c6\u24c8\u24cd\0\u24f9ute;\u413amptyv;\u69b4ra\xee\u084cbda;\u43bbg\u0180;dl\u088e\u24c1\u24c3;\u6991\xe5\u088e;\u6a85uo\u803b\xab\u40abr\u0400;bfhlpst\u0899\u24de\u24e6\u24e9\u24eb\u24ee\u24f1\u24f5\u0100;f\u089d\u24e3s;\u691fs;\u691d\xeb\u2252p;\u61abl;\u6939im;\u6973l;\u61a2\u0180;ae\u24ff\u2500\u2504\u6aabil;\u6919\u0100;s\u2509\u250a\u6aad;\uc000\u2aad\ufe00\u0180abr\u2515\u2519\u251drr;\u690crk;\u6772\u0100ak\u2522\u252cc\u0100ek\u2528\u252a;\u407b;\u405b\u0100es\u2531\u2533;\u698bl\u0100du\u2539\u253b;\u698f;\u698d\u0200aeuy\u2546\u254b\u2556\u2558ron;\u413e\u0100di\u2550\u2554il;\u413c\xec\u08b0\xe2\u2529;\u443b\u0200cqrs\u2563\u2566\u256d\u257da;\u6936uo\u0100;r\u0e19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694bh;\u61b2\u0280;fgqs\u258b\u258c\u0989\u25f3\u25ff\u6264t\u0280ahlrt\u2598\u25a4\u25b7\u25c2\u25e8rrow\u0100;t\u0899\u25a1a\xe9\u24f6arpoon\u0100du\u25af\u25b4own\xbb\u045ap\xbb\u0966eftarrows;\u61c7ight\u0180ahs\u25cd\u25d6\u25derrow\u0100;s\u08f4\u08a7arpoon\xf3\u0f98quigarro\xf7\u21f0hreetimes;\u62cb\u0180;qs\u258b\u0993\u25falan\xf4\u09ac\u0280;cdgs\u09ac\u260a\u260d\u261d\u2628c;\u6aa8ot\u0100;o\u2614\u2615\u6a7f\u0100;r\u261a\u261b\u6a81;\u6a83\u0100;e\u2622\u2625\uc000\u22da\ufe00s;\u6a93\u0280adegs\u2633\u2639\u263d\u2649\u264bppro\xf8\u24c6ot;\u62d6q\u0100gq\u2643\u2645\xf4\u0989gt\xf2\u248c\xf4\u099bi\xed\u09b2\u0180ilr\u2655\u08e1\u265asht;\u697c;\uc000\u{1d529}\u0100;E\u099c\u2663;\u6a91\u0161\u2669\u2676r\u0100du\u25b2\u266e\u0100;l\u0965\u2673;\u696alk;\u6584cy;\u4459\u0280;acht\u0a48\u2688\u268b\u2691\u2696r\xf2\u25c1orne\xf2\u1d08ard;\u696bri;\u65fa\u0100io\u269f\u26a4dot;\u4140ust\u0100;a\u26ac\u26ad\u63b0che\xbb\u26ad\u0200Eaes\u26bb\u26bd\u26c9\u26d4;\u6268p\u0100;p\u26c3\u26c4\u6a89rox\xbb\u26c4\u0100;q\u26ce\u26cf\u6a87\u0100;q\u26ce\u26bbim;\u62e6\u0400abnoptwz\u26e9\u26f4\u26f7\u271a\u272f\u2741\u2747\u2750\u0100nr\u26ee\u26f1g;\u67ecr;\u61fdr\xeb\u08c1g\u0180lmr\u26ff\u270d\u2714eft\u0100ar\u09e6\u2707ight\xe1\u09f2apsto;\u67fcight\xe1\u09fdparrow\u0100lr\u2725\u2729ef\xf4\u24edight;\u61ac\u0180afl\u2736\u2739\u273dr;\u6985;\uc000\u{1d55d}us;\u6a2dimes;\u6a34\u0161\u274b\u274fst;\u6217\xe1\u134e\u0180;ef\u2757\u2758\u1800\u65cange\xbb\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277c\u2785\u2787r\xf2\u08a8orne\xf2\u1d8car\u0100;d\u0f98\u2783;\u696d;\u600eri;\u62bf\u0300achiqt\u2798\u279d\u0a40\u27a2\u27ae\u27bbquo;\u6039r;\uc000\u{1d4c1}m\u0180;eg\u09b2\u27aa\u27ac;\u6a8d;\u6a8f\u0100bu\u252a\u27b3o\u0100;r\u0e1f\u27b9;\u601arok;\u4142\u8400<;cdhilqr\u082b\u27d2\u2639\u27dc\u27e0\u27e5\u27ea\u27f0\u0100ci\u27d7\u27d9;\u6aa6r;\u6a79re\xe5\u25f2mes;\u62c9arr;\u6976uest;\u6a7b\u0100Pi\u27f5\u27f9ar;\u6996\u0180;ef\u2800\u092d\u181b\u65c3r\u0100du\u2807\u280dshar;\u694ahar;\u6966\u0100en\u2817\u2821rtneqq;\uc000\u2268\ufe00\xc5\u281e\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288e\u2893\u28a0\u28a5\u28a8\u28da\u28e2\u28e4\u0a83\u28f3\u2902Dot;\u623a\u0200clpr\u284e\u2852\u2863\u287dr\u803b\xaf\u40af\u0100et\u2857\u2859;\u6642\u0100;e\u285e\u285f\u6720se\xbb\u285f\u0100;s\u103b\u2868to\u0200;dlu\u103b\u2873\u2877\u287bow\xee\u048cef\xf4\u090f\xf0\u13d1ker;\u65ae\u0100oy\u2887\u288cmma;\u6a29;\u443cash;\u6014asuredangle\xbb\u1626r;\uc000\u{1d52a}o;\u6127\u0180cdn\u28af\u28b4\u28c9ro\u803b\xb5\u40b5\u0200;acd\u1464\u28bd\u28c0\u28c4s\xf4\u16a7ir;\u6af0ot\u80bb\xb7\u01b5us\u0180;bd\u28d2\u1903\u28d3\u6212\u0100;u\u1d3c\u28d8;\u6a2a\u0163\u28de\u28e1p;\u6adb\xf2\u2212\xf0\u0a81\u0100dp\u28e9\u28eeels;\u62a7f;\uc000\u{1d55e}\u0100ct\u28f8\u28fdr;\uc000\u{1d4c2}pos\xbb\u159d\u0180;lm\u2909\u290a\u290d\u43bctimap;\u62b8\u0c00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297e\u2989\u2998\u29da\u29e9\u2a15\u2a1a\u2a58\u2a5d\u2a83\u2a95\u2aa4\u2aa8\u2b04\u2b07\u2b44\u2b7f\u2bae\u2c34\u2c67\u2c7c\u2ce9\u0100gt\u2947\u294b;\uc000\u22d9\u0338\u0100;v\u2950\u0bcf\uc000\u226b\u20d2\u0180elt\u295a\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61cdightarrow;\u61ce;\uc000\u22d8\u0338\u0100;v\u297b\u0c47\uc000\u226a\u20d2ightarrow;\u61cf\u0100Dd\u298e\u2993ash;\u62afash;\u62ae\u0280bcnpt\u29a3\u29a7\u29ac\u29b1\u29ccla\xbb\u02deute;\u4144g;\uc000\u2220\u20d2\u0280;Eiop\u0d84\u29bc\u29c0\u29c5\u29c8;\uc000\u2a70\u0338d;\uc000\u224b\u0338s;\u4149ro\xf8\u0d84ur\u0100;a\u29d3\u29d4\u666el\u0100;s\u29d3\u0b38\u01f3\u29df\0\u29e3p\u80bb\xa0\u0b37mp\u0100;e\u0bf9\u0c00\u0280aeouy\u29f4\u29fe\u2a03\u2a10\u2a13\u01f0\u29f9\0\u29fb;\u6a43on;\u4148dil;\u4146ng\u0100;d\u0d7e\u2a0aot;\uc000\u2a6d\u0338p;\u6a42;\u443dash;\u6013\u0380;Aadqsx\u0b92\u2a29\u2a2d\u2a3b\u2a41\u2a45\u2a50rr;\u61d7r\u0100hr\u2a33\u2a36k;\u6924\u0100;o\u13f2\u13f0ot;\uc000\u2250\u0338ui\xf6\u0b63\u0100ei\u2a4a\u2a4ear;\u6928\xed\u0b98ist\u0100;s\u0ba0\u0b9fr;\uc000\u{1d52b}\u0200Eest\u0bc5\u2a66\u2a79\u2a7c\u0180;qs\u0bbc\u2a6d\u0be1\u0180;qs\u0bbc\u0bc5\u2a74lan\xf4\u0be2i\xed\u0bea\u0100;r\u0bb6\u2a81\xbb\u0bb7\u0180Aap\u2a8a\u2a8d\u2a91r\xf2\u2971rr;\u61aear;\u6af2\u0180;sv\u0f8d\u2a9c\u0f8c\u0100;d\u2aa1\u2aa2\u62fc;\u62facy;\u445a\u0380AEadest\u2ab7\u2aba\u2abe\u2ac2\u2ac5\u2af6\u2af9r\xf2\u2966;\uc000\u2266\u0338rr;\u619ar;\u6025\u0200;fqs\u0c3b\u2ace\u2ae3\u2aeft\u0100ar\u2ad4\u2ad9rro\xf7\u2ac1ightarro\xf7\u2a90\u0180;qs\u0c3b\u2aba\u2aealan\xf4\u0c55\u0100;s\u0c55\u2af4\xbb\u0c36i\xed\u0c5d\u0100;r\u0c35\u2afei\u0100;e\u0c1a\u0c25i\xe4\u0d90\u0100pt\u2b0c\u2b11f;\uc000\u{1d55f}\u8180\xac;in\u2b19\u2b1a\u2b36\u40acn\u0200;Edv\u0b89\u2b24\u2b28\u2b2e;\uc000\u22f9\u0338ot;\uc000\u22f5\u0338\u01e1\u0b89\u2b33\u2b35;\u62f7;\u62f6i\u0100;v\u0cb8\u2b3c\u01e1\u0cb8\u2b41\u2b43;\u62fe;\u62fd\u0180aor\u2b4b\u2b63\u2b69r\u0200;ast\u0b7b\u2b55\u2b5a\u2b5flle\xec\u0b7bl;\uc000\u2afd\u20e5;\uc000\u2202\u0338lint;\u6a14\u0180;ce\u0c92\u2b70\u2b73u\xe5\u0ca5\u0100;c\u0c98\u2b78\u0100;e\u0c92\u2b7d\xf1\u0c98\u0200Aait\u2b88\u2b8b\u2b9d\u2ba7r\xf2\u2988rr\u0180;cw\u2b94\u2b95\u2b99\u619b;\uc000\u2933\u0338;\uc000\u219d\u0338ghtarrow\xbb\u2b95ri\u0100;e\u0ccb\u0cd6\u0380chimpqu\u2bbd\u2bcd\u2bd9\u2b04\u0b78\u2be4\u2bef\u0200;cer\u0d32\u2bc6\u0d37\u2bc9u\xe5\u0d45;\uc000\u{1d4c3}ort\u026d\u2b05\0\0\u2bd6ar\xe1\u2b56m\u0100;e\u0d6e\u2bdf\u0100;q\u0d74\u0d73su\u0100bp\u2beb\u2bed\xe5\u0cf8\xe5\u0d0b\u0180bcp\u2bf6\u2c11\u2c19\u0200;Ees\u2bff\u2c00\u0d22\u2c04\u6284;\uc000\u2ac5\u0338et\u0100;e\u0d1b\u2c0bq\u0100;q\u0d23\u2c00c\u0100;e\u0d32\u2c17\xf1\u0d38\u0200;Ees\u2c22\u2c23\u0d5f\u2c27\u6285;\uc000\u2ac6\u0338et\u0100;e\u0d58\u2c2eq\u0100;q\u0d60\u2c23\u0200gilr\u2c3d\u2c3f\u2c45\u2c47\xec\u0bd7lde\u803b\xf1\u40f1\xe7\u0c43iangle\u0100lr\u2c52\u2c5ceft\u0100;e\u0c1a\u2c5a\xf1\u0c26ight\u0100;e\u0ccb\u2c65\xf1\u0cd7\u0100;m\u2c6c\u2c6d\u43bd\u0180;es\u2c74\u2c75\u2c79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2c8f\u2c94\u2c99\u2c9e\u2ca3\u2cb0\u2cb6\u2cd3\u2ce3ash;\u62adarr;\u6904p;\uc000\u224d\u20d2ash;\u62ac\u0100et\u2ca8\u2cac;\uc000\u2265\u20d2;\uc000>\u20d2nfin;\u69de\u0180Aet\u2cbd\u2cc1\u2cc5rr;\u6902;\uc000\u2264\u20d2\u0100;r\u2cca\u2ccd\uc000<\u20d2ie;\uc000\u22b4\u20d2\u0100At\u2cd8\u2cdcrr;\u6903rie;\uc000\u22b5\u20d2im;\uc000\u223c\u20d2\u0180Aan\u2cf0\u2cf4\u2d02rr;\u61d6r\u0100hr\u2cfa\u2cfdk;\u6923\u0100;o\u13e7\u13e5ear;\u6927\u1253\u1a95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2d2d\0\u2d38\u2d48\u2d60\u2d65\u2d72\u2d84\u1b07\0\0\u2d8d\u2dab\0\u2dc8\u2dce\0\u2ddc\u2e19\u2e2b\u2e3e\u2e43\u0100cs\u2d31\u1a97ute\u803b\xf3\u40f3\u0100iy\u2d3c\u2d45r\u0100;c\u1a9e\u2d42\u803b\xf4\u40f4;\u443e\u0280abios\u1aa0\u2d52\u2d57\u01c8\u2d5alac;\u4151v;\u6a38old;\u69bclig;\u4153\u0100cr\u2d69\u2d6dir;\u69bf;\uc000\u{1d52c}\u036f\u2d79\0\0\u2d7c\0\u2d82n;\u42dbave\u803b\xf2\u40f2;\u69c1\u0100bm\u2d88\u0df4ar;\u69b5\u0200acit\u2d95\u2d98\u2da5\u2da8r\xf2\u1a80\u0100ir\u2d9d\u2da0r;\u69beoss;\u69bbn\xe5\u0e52;\u69c0\u0180aei\u2db1\u2db5\u2db9cr;\u414dga;\u43c9\u0180cdn\u2dc0\u2dc5\u01cdron;\u43bf;\u69b6pf;\uc000\u{1d560}\u0180ael\u2dd4\u2dd7\u01d2r;\u69b7rp;\u69b9\u0380;adiosv\u2dea\u2deb\u2dee\u2e08\u2e0d\u2e10\u2e16\u6228r\xf2\u1a86\u0200;efm\u2df7\u2df8\u2e02\u2e05\u6a5dr\u0100;o\u2dfe\u2dff\u6134f\xbb\u2dff\u803b\xaa\u40aa\u803b\xba\u40bagof;\u62b6r;\u6a56lope;\u6a57;\u6a5b\u0180clo\u2e1f\u2e21\u2e27\xf2\u2e01ash\u803b\xf8\u40f8l;\u6298i\u016c\u2e2f\u2e34de\u803b\xf5\u40f5es\u0100;a\u01db\u2e3as;\u6a36ml\u803b\xf6\u40f6bar;\u633d\u0ae1\u2e5e\0\u2e7d\0\u2e80\u2e9d\0\u2ea2\u2eb9\0\0\u2ecb\u0e9c\0\u2f13\0\0\u2f2b\u2fbc\0\u2fc8r\u0200;ast\u0403\u2e67\u2e72\u0e85\u8100\xb6;l\u2e6d\u2e6e\u40b6le\xec\u0403\u0269\u2e78\0\0\u2e7bm;\u6af3;\u6afdy;\u443fr\u0280cimpt\u2e8b\u2e8f\u2e93\u1865\u2e97nt;\u4025od;\u402eil;\u6030enk;\u6031r;\uc000\u{1d52d}\u0180imo\u2ea8\u2eb0\u2eb4\u0100;v\u2ead\u2eae\u43c6;\u43d5ma\xf4\u0a76ne;\u660e\u0180;tv\u2ebf\u2ec0\u2ec8\u43c0chfork\xbb\u1ffd;\u43d6\u0100au\u2ecf\u2edfn\u0100ck\u2ed5\u2eddk\u0100;h\u21f4\u2edb;\u610e\xf6\u21f4s\u0480;abcdemst\u2ef3\u2ef4\u1908\u2ef9\u2efd\u2f04\u2f06\u2f0a\u2f0e\u402bcir;\u6a23ir;\u6a22\u0100ou\u1d40\u2f02;\u6a25;\u6a72n\u80bb\xb1\u0e9dim;\u6a26wo;\u6a27\u0180ipu\u2f19\u2f20\u2f25ntint;\u6a15f;\uc000\u{1d561}nd\u803b\xa3\u40a3\u0500;Eaceinosu\u0ec8\u2f3f\u2f41\u2f44\u2f47\u2f81\u2f89\u2f92\u2f7e\u2fb6;\u6ab3p;\u6ab7u\xe5\u0ed9\u0100;c\u0ece\u2f4c\u0300;acens\u0ec8\u2f59\u2f5f\u2f66\u2f68\u2f7eppro\xf8\u2f43urlye\xf1\u0ed9\xf1\u0ece\u0180aes\u2f6f\u2f76\u2f7approx;\u6ab9qq;\u6ab5im;\u62e8i\xed\u0edfme\u0100;s\u2f88\u0eae\u6032\u0180Eas\u2f78\u2f90\u2f7a\xf0\u2f75\u0180dfp\u0eec\u2f99\u2faf\u0180als\u2fa0\u2fa5\u2faalar;\u632eine;\u6312urf;\u6313\u0100;t\u0efb\u2fb4\xef\u0efbrel;\u62b0\u0100ci\u2fc0\u2fc5r;\uc000\u{1d4c5};\u43c8ncsp;\u6008\u0300fiopsu\u2fda\u22e2\u2fdf\u2fe5\u2feb\u2ff1r;\uc000\u{1d52e}pf;\uc000\u{1d562}rime;\u6057cr;\uc000\u{1d4c6}\u0180aeo\u2ff8\u3009\u3013t\u0100ei\u2ffe\u3005rnion\xf3\u06b0nt;\u6a16st\u0100;e\u3010\u3011\u403f\xf1\u1f19\xf4\u0f14\u0a80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30e0\u310e\u312b\u3147\u3162\u3172\u318e\u3206\u3215\u3224\u3229\u3258\u326e\u3272\u3290\u32b0\u32b7\u0180art\u3047\u304a\u304cr\xf2\u10b3\xf2\u03ddail;\u691car\xf2\u1c65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307f\u308f\u3094\u30cc\u0100eu\u306d\u3071;\uc000\u223d\u0331te;\u4155i\xe3\u116emptyv;\u69b3g\u0200;del\u0fd1\u3089\u308b\u308d;\u6992;\u69a5\xe5\u0fd1uo\u803b\xbb\u40bbr\u0580;abcfhlpstw\u0fdc\u30ac\u30af\u30b7\u30b9\u30bc\u30be\u30c0\u30c3\u30c7\u30cap;\u6975\u0100;f\u0fe0\u30b4s;\u6920;\u6933s;\u691e\xeb\u225d\xf0\u272el;\u6945im;\u6974l;\u61a3;\u619d\u0100ai\u30d1\u30d5il;\u691ao\u0100;n\u30db\u30dc\u6236al\xf3\u0f1e\u0180abr\u30e7\u30ea\u30eer\xf2\u17e5rk;\u6773\u0100ak\u30f3\u30fdc\u0100ek\u30f9\u30fb;\u407d;\u405d\u0100es\u3102\u3104;\u698cl\u0100du\u310a\u310c;\u698e;\u6990\u0200aeuy\u3117\u311c\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xec\u0ff2\xe2\u30fa;\u4440\u0200clqs\u3134\u3137\u313d\u3144a;\u6937dhar;\u6969uo\u0100;r\u020e\u020dh;\u61b3\u0180acg\u314e\u315f\u0f44l\u0200;ips\u0f78\u3158\u315b\u109cn\xe5\u10bbar\xf4\u0fa9t;\u65ad\u0180ilr\u3169\u1023\u316esht;\u697d;\uc000\u{1d52f}\u0100ao\u3177\u3186r\u0100du\u317d\u317f\xbb\u047b\u0100;l\u1091\u3184;\u696c\u0100;v\u318b\u318c\u43c1;\u43f1\u0180gns\u3195\u31f9\u31fcht\u0300ahlrst\u31a4\u31b0\u31c2\u31d8\u31e4\u31eerrow\u0100;t\u0fdc\u31ada\xe9\u30c8arpoon\u0100du\u31bb\u31bfow\xee\u317ep\xbb\u1092eft\u0100ah\u31ca\u31d0rrow\xf3\u0feaarpoon\xf3\u0551ightarrows;\u61c9quigarro\xf7\u30cbhreetimes;\u62ccg;\u42daingdotse\xf1\u1f32\u0180ahm\u320d\u3210\u3213r\xf2\u0feaa\xf2\u0551;\u600foust\u0100;a\u321e\u321f\u63b1che\xbb\u321fmid;\u6aee\u0200abpt\u3232\u323d\u3240\u3252\u0100nr\u3237\u323ag;\u67edr;\u61fer\xeb\u1003\u0180afl\u3247\u324a\u324er;\u6986;\uc000\u{1d563}us;\u6a2eimes;\u6a35\u0100ap\u325d\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6a12ar\xf2\u31e3\u0200achq\u327b\u3280\u10bc\u3285quo;\u603ar;\uc000\u{1d4c7}\u0100bu\u30fb\u328ao\u0100;r\u0214\u0213\u0180hir\u3297\u329b\u32a0re\xe5\u31f8mes;\u62cai\u0200;efl\u32aa\u1059\u1821\u32ab\u65b9tri;\u69celuhar;\u6968;\u611e\u0d61\u32d5\u32db\u32df\u332c\u3338\u3371\0\u337a\u33a4\0\0\u33ec\u33f0\0\u3428\u3448\u345a\u34ad\u34b1\u34ca\u34f1\0\u3616\0\0\u3633cute;\u415bqu\xef\u27ba\u0500;Eaceinpsy\u11ed\u32f3\u32f5\u32ff\u3302\u330b\u330f\u331f\u3326\u3329;\u6ab4\u01f0\u32fa\0\u32fc;\u6ab8on;\u4161u\xe5\u11fe\u0100;d\u11f3\u3307il;\u415frc;\u415d\u0180Eas\u3316\u3318\u331b;\u6ab6p;\u6abaim;\u62e9olint;\u6a13i\xed\u1204;\u4441ot\u0180;be\u3334\u1d47\u3335\u62c5;\u6a66\u0380Aacmstx\u3346\u334a\u3357\u335b\u335e\u3363\u336drr;\u61d8r\u0100hr\u3350\u3352\xeb\u2228\u0100;o\u0a36\u0a34t\u803b\xa7\u40a7i;\u403bwar;\u6929m\u0100in\u3369\xf0nu\xf3\xf1t;\u6736r\u0100;o\u3376\u2055\uc000\u{1d530}\u0200acoy\u3382\u3386\u3391\u33a0rp;\u666f\u0100hy\u338b\u338fcy;\u4449;\u4448rt\u026d\u3399\0\0\u339ci\xe4\u1464ara\xec\u2e6f\u803b\xad\u40ad\u0100gm\u33a8\u33b4ma\u0180;fv\u33b1\u33b2\u33b2\u43c3;\u43c2\u0400;deglnpr\u12ab\u33c5\u33c9\u33ce\u33d6\u33de\u33e1\u33e6ot;\u6a6a\u0100;q\u12b1\u12b0\u0100;E\u33d3\u33d4\u6a9e;\u6aa0\u0100;E\u33db\u33dc\u6a9d;\u6a9fe;\u6246lus;\u6a24arr;\u6972ar\xf2\u113d\u0200aeit\u33f8\u3408\u340f\u3417\u0100ls\u33fd\u3404lsetm\xe9\u336ahp;\u6a33parsl;\u69e4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341c\u341d\u6aaa\u0100;s\u3422\u3423\u6aac;\uc000\u2aac\ufe00\u0180flp\u342e\u3433\u3442tcy;\u444c\u0100;b\u3438\u3439\u402f\u0100;a\u343e\u343f\u69c4r;\u633ff;\uc000\u{1d564}a\u0100dr\u344d\u0402es\u0100;u\u3454\u3455\u6660it\xbb\u3455\u0180csu\u3460\u3479\u349f\u0100au\u3465\u346fp\u0100;s\u1188\u346b;\uc000\u2293\ufe00p\u0100;s\u11b4\u3475;\uc000\u2294\ufe00u\u0100bp\u347f\u348f\u0180;es\u1197\u119c\u3486et\u0100;e\u1197\u348d\xf1\u119d\u0180;es\u11a8\u11ad\u3496et\u0100;e\u11a8\u349d\xf1\u11ae\u0180;af\u117b\u34a6\u05b0r\u0165\u34ab\u05b1\xbb\u117car\xf2\u1148\u0200cemt\u34b9\u34be\u34c2\u34c5r;\uc000\u{1d4c8}tm\xee\xf1i\xec\u3415ar\xe6\u11be\u0100ar\u34ce\u34d5r\u0100;f\u34d4\u17bf\u6606\u0100an\u34da\u34edight\u0100ep\u34e3\u34eapsilo\xee\u1ee0h\xe9\u2eafs\xbb\u2852\u0280bcmnp\u34fb\u355e\u1209\u358b\u358e\u0480;Edemnprs\u350e\u350f\u3511\u3515\u351e\u3523\u352c\u3531\u3536\u6282;\u6ac5ot;\u6abd\u0100;d\u11da\u351aot;\u6ac3ult;\u6ac1\u0100Ee\u3528\u352a;\u6acb;\u628alus;\u6abfarr;\u6979\u0180eiu\u353d\u3552\u3555t\u0180;en\u350e\u3545\u354bq\u0100;q\u11da\u350feq\u0100;q\u352b\u3528m;\u6ac7\u0100bp\u355a\u355c;\u6ad5;\u6ad3c\u0300;acens\u11ed\u356c\u3572\u3579\u357b\u3326ppro\xf8\u32faurlye\xf1\u11fe\xf1\u11f3\u0180aes\u3582\u3588\u331bppro\xf8\u331aq\xf1\u3317g;\u666a\u0680123;Edehlmnps\u35a9\u35ac\u35af\u121c\u35b2\u35b4\u35c0\u35c9\u35d5\u35da\u35df\u35e8\u35ed\u803b\xb9\u40b9\u803b\xb2\u40b2\u803b\xb3\u40b3;\u6ac6\u0100os\u35b9\u35bct;\u6abeub;\u6ad8\u0100;d\u1222\u35c5ot;\u6ac4s\u0100ou\u35cf\u35d2l;\u67c9b;\u6ad7arr;\u697bult;\u6ac2\u0100Ee\u35e4\u35e6;\u6acc;\u628blus;\u6ac0\u0180eiu\u35f4\u3609\u360ct\u0180;en\u121c\u35fc\u3602q\u0100;q\u1222\u35b2eq\u0100;q\u35e7\u35e4m;\u6ac8\u0100bp\u3611\u3613;\u6ad4;\u6ad6\u0180Aan\u361c\u3620\u362drr;\u61d9r\u0100hr\u3626\u3628\xeb\u222e\u0100;o\u0a2b\u0a29war;\u692alig\u803b\xdf\u40df\u0be1\u3651\u365d\u3660\u12ce\u3673\u3679\0\u367e\u36c2\0\0\0\0\0\u36db\u3703\0\u3709\u376c\0\0\0\u3787\u0272\u3656\0\0\u365bget;\u6316;\u43c4r\xeb\u0e5f\u0180aey\u3666\u366b\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uc000\u{1d531}\u0200eiko\u3686\u369d\u36b5\u36bc\u01f2\u368b\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369b\u43b8ym;\u43d1\u0100cn\u36a2\u36b2k\u0100as\u36a8\u36aeppro\xf8\u12c1im\xbb\u12acs\xf0\u129e\u0100as\u36ba\u36ae\xf0\u12c1rn\u803b\xfe\u40fe\u01ec\u031f\u36c6\u22e7es\u8180\xd7;bd\u36cf\u36d0\u36d8\u40d7\u0100;a\u190f\u36d5r;\u6a31;\u6a30\u0180eps\u36e1\u36e3\u3700\xe1\u2a4d\u0200;bcf\u0486\u36ec\u36f0\u36f4ot;\u6336ir;\u6af1\u0100;o\u36f9\u36fc\uc000\u{1d565}rk;\u6ada\xe1\u3362rime;\u6034\u0180aip\u370f\u3712\u3764d\xe5\u1248\u0380adempst\u3721\u374d\u3740\u3751\u3757\u375c\u375fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65b5own\xbb\u1dbbeft\u0100;e\u2800\u373e\xf1\u092e;\u625cight\u0100;e\u32aa\u374b\xf1\u105aot;\u65ecinus;\u6a3alus;\u6a39b;\u69cdime;\u6a3bezium;\u63e2\u0180cht\u3772\u377d\u3781\u0100ry\u3777\u377b;\uc000\u{1d4c9};\u4446cy;\u445brok;\u4167\u0100io\u378b\u378ex\xf4\u1777head\u0100lr\u3797\u37a0eftarro\xf7\u084fightarrow\xbb\u0f5d\u0900AHabcdfghlmoprstuw\u37d0\u37d3\u37d7\u37e4\u37f0\u37fc\u380e\u381c\u3823\u3834\u3851\u385d\u386b\u38a9\u38cc\u38d2\u38ea\u38f6r\xf2\u03edar;\u6963\u0100cr\u37dc\u37e2ute\u803b\xfa\u40fa\xf2\u1150r\u01e3\u37ea\0\u37edy;\u445eve;\u416d\u0100iy\u37f5\u37farc\u803b\xfb\u40fb;\u4443\u0180abh\u3803\u3806\u380br\xf2\u13adlac;\u4171a\xf2\u13c3\u0100ir\u3813\u3818sht;\u697e;\uc000\u{1d532}rave\u803b\xf9\u40f9\u0161\u3827\u3831r\u0100lr\u382c\u382e\xbb\u0957\xbb\u1083lk;\u6580\u0100ct\u3839\u384d\u026f\u383f\0\0\u384arn\u0100;e\u3845\u3846\u631cr\xbb\u3846op;\u630fri;\u65f8\u0100al\u3856\u385acr;\u416b\u80bb\xa8\u0349\u0100gp\u3862\u3866on;\u4173f;\uc000\u{1d566}\u0300adhlsu\u114b\u3878\u387d\u1372\u3891\u38a0own\xe1\u13b3arpoon\u0100lr\u3888\u388cef\xf4\u382digh\xf4\u382fi\u0180;hl\u3899\u389a\u389c\u43c5\xbb\u13faon\xbb\u389aparrows;\u61c8\u0180cit\u38b0\u38c4\u38c8\u026f\u38b6\0\0\u38c1rn\u0100;e\u38bc\u38bd\u631dr\xbb\u38bdop;\u630eng;\u416fri;\u65f9cr;\uc000\u{1d4ca}\u0180dir\u38d9\u38dd\u38e2ot;\u62f0lde;\u4169i\u0100;f\u3730\u38e8\xbb\u1813\u0100am\u38ef\u38f2r\xf2\u38a8l\u803b\xfc\u40fcangle;\u69a7\u0780ABDacdeflnoprsz\u391c\u391f\u3929\u392d\u39b5\u39b8\u39bd\u39df\u39e4\u39e8\u39f3\u39f9\u39fd\u3a01\u3a20r\xf2\u03f7ar\u0100;v\u3926\u3927\u6ae8;\u6ae9as\xe8\u03e1\u0100nr\u3932\u3937grt;\u699c\u0380eknprst\u34e3\u3946\u394b\u3952\u395d\u3964\u3996app\xe1\u2415othin\xe7\u1e96\u0180hir\u34eb\u2ec8\u3959op\xf4\u2fb5\u0100;h\u13b7\u3962\xef\u318d\u0100iu\u3969\u396dgm\xe1\u33b3\u0100bp\u3972\u3984setneq\u0100;q\u397d\u3980\uc000\u228a\ufe00;\uc000\u2acb\ufe00setneq\u0100;q\u398f\u3992\uc000\u228b\ufe00;\uc000\u2acc\ufe00\u0100hr\u399b\u399fet\xe1\u369ciangle\u0100lr\u39aa\u39afeft\xbb\u0925ight\xbb\u1051y;\u4432ash\xbb\u1036\u0180elr\u39c4\u39d2\u39d7\u0180;be\u2dea\u39cb\u39cfar;\u62bbq;\u625alip;\u62ee\u0100bt\u39dc\u1468a\xf2\u1469r;\uc000\u{1d533}tr\xe9\u39aesu\u0100bp\u39ef\u39f1\xbb\u0d1c\xbb\u0d59pf;\uc000\u{1d567}ro\xf0\u0efbtr\xe9\u39b4\u0100cu\u3a06\u3a0br;\uc000\u{1d4cb}\u0100bp\u3a10\u3a18n\u0100Ee\u3980\u3a16\xbb\u397en\u0100Ee\u3992\u3a1e\xbb\u3990igzag;\u699a\u0380cefoprs\u3a36\u3a3b\u3a56\u3a5b\u3a54\u3a61\u3a6airc;\u4175\u0100di\u3a40\u3a51\u0100bg\u3a45\u3a49ar;\u6a5fe\u0100;q\u15fa\u3a4f;\u6259erp;\u6118r;\uc000\u{1d534}pf;\uc000\u{1d568}\u0100;e\u1479\u3a66at\xe8\u1479cr;\uc000\u{1d4cc}\u0ae3\u178e\u3a87\0\u3a8b\0\u3a90\u3a9b\0\0\u3a9d\u3aa8\u3aab\u3aaf\0\0\u3ac3\u3ace\0\u3ad8\u17dc\u17dftr\xe9\u17d1r;\uc000\u{1d535}\u0100Aa\u3a94\u3a97r\xf2\u03c3r\xf2\u09f6;\u43be\u0100Aa\u3aa1\u3aa4r\xf2\u03b8r\xf2\u09eba\xf0\u2713is;\u62fb\u0180dpt\u17a4\u3ab5\u3abe\u0100fl\u3aba\u17a9;\uc000\u{1d569}im\xe5\u17b2\u0100Aa\u3ac7\u3acar\xf2\u03cer\xf2\u0a01\u0100cq\u3ad2\u17b8r;\uc000\u{1d4cd}\u0100pt\u17d6\u3adcr\xe9\u17d4\u0400acefiosu\u3af0\u3afd\u3b08\u3b0c\u3b11\u3b15\u3b1b\u3b21c\u0100uy\u3af6\u3afbte\u803b\xfd\u40fd;\u444f\u0100iy\u3b02\u3b06rc;\u4177;\u444bn\u803b\xa5\u40a5r;\uc000\u{1d536}cy;\u4457pf;\uc000\u{1d56a}cr;\uc000\u{1d4ce}\u0100cm\u3b26\u3b29y;\u444el\u803b\xff\u40ff\u0500acdefhiosw\u3b42\u3b48\u3b54\u3b58\u3b64\u3b69\u3b6d\u3b74\u3b7a\u3b80cute;\u417a\u0100ay\u3b4d\u3b52ron;\u417e;\u4437ot;\u417c\u0100et\u3b5d\u3b61tr\xe6\u155fa;\u43b6r;\uc000\u{1d537}cy;\u4436grarr;\u61ddpf;\uc000\u{1d56b}cr;\uc000\u{1d4cf}\u0100jn\u3b85\u3b87;\u600dj;\u600c'.split("").map(t=>t.charCodeAt(0))),$ne=new Uint16Array("\u0200aglq\t\x15\x18\x1b\u026d\x0f\0\0\x12p;\u4026os;\u4027t;\u403et;\u403cuot;\u4022".split("").map(t=>t.charCodeAt(0)));var $7;const Wne=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),fI=null!==($7=String.fromCodePoint)&&void 0!==$7?$7:function(t){let n="";return t>65535&&(t-=65536,n+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),n+=String.fromCharCode(t),n};var ha=function(t){return t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z",t}(ha||{}),R1=function(t){return t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE",t}(R1||{});function W7(t){return t>=ha.ZERO&&t<=ha.NINE}function Kne(t){return t>=ha.UPPER_A&&t<=ha.UPPER_F||t>=ha.LOWER_A&&t<=ha.LOWER_F}function Xne(t){return t===ha.EQUALS||function Qne(t){return t>=ha.UPPER_A&&t<=ha.UPPER_Z||t>=ha.LOWER_A&&t<=ha.LOWER_Z||W7(t)}(t)}var fa=function(t){return t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity",t}(fa||{}),Wl=function(t){return t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute",t}(Wl||{});class Zne{constructor(n,e,i){this.decodeTree=n,this.emitCodePoint=e,this.errors=i,this.state=fa.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Wl.Strict}startEntity(n){this.decodeMode=n,this.state=fa.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(n,e){switch(this.state){case fa.EntityStart:return n.charCodeAt(e)===ha.NUM?(this.state=fa.NumericStart,this.consumed+=1,this.stateNumericStart(n,e+1)):(this.state=fa.NamedEntity,this.stateNamedEntity(n,e));case fa.NumericStart:return this.stateNumericStart(n,e);case fa.NumericDecimal:return this.stateNumericDecimal(n,e);case fa.NumericHex:return this.stateNumericHex(n,e);case fa.NamedEntity:return this.stateNamedEntity(n,e)}}stateNumericStart(n,e){return e>=n.length?-1:(32|n.charCodeAt(e))===ha.LOWER_X?(this.state=fa.NumericHex,this.consumed+=1,this.stateNumericHex(n,e+1)):(this.state=fa.NumericDecimal,this.stateNumericDecimal(n,e))}addToNumericResult(n,e,i,r){if(e!==i){const o=i-e;this.result=this.result*Math.pow(r,o)+parseInt(n.substr(e,o),r),this.consumed+=o}}stateNumericHex(n,e){const i=e;for(;e<n.length;){const r=n.charCodeAt(e);if(!W7(r)&&!Kne(r))return this.addToNumericResult(n,i,e,16),this.emitNumericEntity(r,3);e+=1}return this.addToNumericResult(n,i,e,16),-1}stateNumericDecimal(n,e){const i=e;for(;e<n.length;){const r=n.charCodeAt(e);if(!W7(r))return this.addToNumericResult(n,i,e,10),this.emitNumericEntity(r,2);e+=1}return this.addToNumericResult(n,i,e,10),-1}emitNumericEntity(n,e){var i;if(this.consumed<=e)return null===(i=this.errors)||void 0===i||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(n===ha.SEMI)this.consumed+=1;else if(this.decodeMode===Wl.Strict)return 0;return this.emitCodePoint(function mI(t){var n;return t>=55296&&t<=57343||t>1114111?65533:null!==(n=Wne.get(t))&&void 0!==n?n:t}(this.result),this.consumed),this.errors&&(n!==ha.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(n,e){const{decodeTree:i}=this;let r=i[this.treeIndex],o=(r&R1.VALUE_LENGTH)>>14;for(;e<n.length;e++,this.excess++){const a=n.charCodeAt(e);if(this.treeIndex=Jne(i,r,this.treeIndex+Math.max(1,o),a),this.treeIndex<0)return 0===this.result||this.decodeMode===Wl.Attribute&&(0===o||Xne(a))?0:this.emitNotTerminatedNamedEntity();if(r=i[this.treeIndex],o=(r&R1.VALUE_LENGTH)>>14,0!==o){if(a===ha.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Wl.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var n;const{result:e,decodeTree:i}=this;return this.emitNamedEntityData(e,(i[e]&R1.VALUE_LENGTH)>>14,this.consumed),null===(n=this.errors)||void 0===n||n.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(n,e,i){const{decodeTree:r}=this;return this.emitCodePoint(1===e?r[n]&~R1.VALUE_LENGTH:r[n+1],i),3===e&&this.emitCodePoint(r[n+2],i),i}end(){var n;switch(this.state){case fa.NamedEntity:return 0===this.result||this.decodeMode===Wl.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case fa.NumericDecimal:return this.emitNumericEntity(0,2);case fa.NumericHex:return this.emitNumericEntity(0,3);case fa.NumericStart:return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case fa.EntityStart:return 0}}}function pI(t){let n="";const e=new Zne(t,i=>n+=fI(i));return function(r,o){let a=0,s=0;for(;(s=r.indexOf("&",s))>=0;){n+=r.slice(a,s),e.startEntity(o);const c=e.write(r,s+1);if(c<0){a=s+e.end();break}a=s+c,s=0===c?a+1:a}const l=n+r.slice(a);return n="",l}}function Jne(t,n,e,i){const r=(n&R1.BRANCH_LENGTH)>>7,o=n&R1.JUMP_TABLE;if(0===r)return 0!==o&&i===o?e:-1;if(o){const l=i-o;return l<0||l>=r?-1:t[e+l]-1}let a=e,s=a+r-1;for(;a<=s;){const l=a+s>>>1,c=t[l];if(c<i)a=l+1;else{if(!(c>i))return t[l+r];s=l-1}}return-1}function C6(t){for(let n=1;n<t.length;n++)t[n][0]+=t[n-1][0]+1;return t}pI(jne),pI($ne),new Map(C6([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(C6([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(C6([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(C6([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));function K7(t,n){return function(i){let r,o=0,a="";for(;r=t.exec(i);)o!==r.index&&(a+=i.substring(o,r.index)),a+=n.get(r[0].charCodeAt(0)),o=r.index+1;return a+i.substring(o)}}K7(/[&<>'"]/g,new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]])),K7(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),K7(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(t=>[t.toLowerCase(),t])),new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(t=>[t.toLowerCase(),t]));var II=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,tre=/\n/g,nre=/^\s*/,ire=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,rre=/^:\s*/,ore=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,are=/^[;\s]*/,sre=/^\s+|\s+$/g;function LI(t){return t?t.replace(sre,""):""}function hre(t,n){let e=null;if(!t||"string"!=typeof t)return e;const i=function dre(t,n){if("string"!=typeof t)throw new TypeError("First argument must be a string");if(!t)return[];n=n||{};var e=1,i=1;function r(x){var B=x.match(tre);B&&(e+=B.length);var ee=x.lastIndexOf("\n");i=~ee?x.length-ee:i+x.length}function o(){var x={line:e,column:i};return function(B){return B.position=new a(x),c(),B}}function a(x){this.start=x,this.end={line:e,column:i},this.source=n.source}function s(x){var B=new Error(n.source+":"+e+":"+i+": "+x);if(B.reason=x,B.filename=n.source,B.line=e,B.column=i,B.source=t,!n.silent)throw B}function l(x){var B=x.exec(t);if(B){var ee=B[0];return r(ee),t=t.slice(ee.length),B}}function c(){l(nre)}function h(x){var B;for(x=x||[];B=g();)!1!==B&&x.push(B);return x}function g(){var x=o();if("/"==t.charAt(0)&&"*"==t.charAt(1)){for(var B=2;""!=t.charAt(B)&&("*"!=t.charAt(B)||"/"!=t.charAt(B+1));)++B;if(""===t.charAt((B+=2)-1))return s("End of comment missing");var ee=t.slice(2,B-2);return i+=2,r(ee),t=t.slice(B),i+=2,x({type:"comment",comment:ee})}}function L(){var x=o(),B=l(ire);if(B){if(g(),!l(rre))return s("property missing ':'");var ee=l(ore),re=x({type:"declaration",property:LI(B[0].replace(II,"")),value:ee?LI(ee[0].replace(II,"")):""});return l(are),re}}return a.prototype.content=t,c(),function y(){var B,x=[];for(h(x);B=L();)!1!==B&&(x.push(B),h(x));return x}()}(t),r="function"==typeof n;return i.forEach(o=>{if("declaration"!==o.type)return;const{property:a,value:s}=o;r?n(a,s,o):s&&(e=e||{},e[a]=s)}),e}const Li={assignValueToItem:function(t,n,e){var i=!1;if(e=e||n&&n._type,n&&"Quantity"===e){t.value!==n.value&&(t.value=n.value,i=!0);var r={name:n.name};n.code&&(r.code=n.code,n.system&&(r.system=n.system)),on.deepEqual(t.unit,r)||(t.unit=r,i=!0)}else on.deepEqual(t.value,n)||(t.value=n,i=!0);return i},modelForOffListUnit:function(t){return t?{name:t,_displayUnit:t}:void 0},setAnswerTextHTML:function(t,n,e,i,r){if(t.textHTML=n.valueString,e){i&&n.valueString.match(/img/)&&n.valueString.match(/src/)&&(t.textHTML=this._getHtmlStringWithContainedImages(i,n.valueString)||t.textHTML);let o=this.checkForInvalidHtmlTags(t.textHTML);if(o&&o.length>0){t._hasInvalidHTMLTagInText=!0;let a={};this.errorMessages.addMsg(a,"invalidTagInAnswerOptionHTMLContent");let s=[{errors:a}];this.printInvalidHtmlToConsole(o),this.setItemMessagesArray(r,s,"setAnswerTextHTML")}}},checkForInvalidHtmlTags:function(t,n=!1){let e=[];const o=["html","head","body","ref","script","form","base","link","xlink","iframe","object"].concat(["applet","basefont","blink","center","dir","embed","font","frame","frameset","isindex","noframes","marquee","menu","plaintext","s","strike","u"]),a=/^(?:data:|#|\/)/i,l=["background","background-image","border","border-image","border-image-source","content","cursor","filter","list-style","list-style-image","mask","mask-image","offset-path","clip-path"],c={a:["href"],area:["href"],blockquote:["cite"],del:["cite"],img:["langdesc","src","usemap"],input:["src","usemap"],ins:["cite"],q:["cite"],audio:["src"],button:["formaction"],input:["formaction"],source:["src"],tract:["src"],video:["poster","src"]},h={img:"srcset",source:"srcset"};let g=this;const L=new Ene({onopentag(y,x){o.forEach(B=>{y.toLocaleLowerCase()===B&&e.push({tag:B})});for(const[B,ee]of Object.entries(c))if(y.toLocaleLowerCase()===B)for(const[re,ae]of Object.entries(x))ee.forEach(Xe=>{re===Xe&&!ae.match(a)&&("href"!==Xe||!n)&&e.push({tag:B,attribute:Xe})});for(const[B,ee]of Object.entries(h))if(y.toLocaleLowerCase()===B)for(const[re,ae]of Object.entries(x))re===ee&&ae.split(",").forEach(ot=>{ot.trim().match(a)||e.push({tag:B,attribute:ee})});for(const[B,ee]of Object.entries(x))if("style"===B){let re=hre(ee);for(const[ae,Xe]of Object.entries(re))l.forEach(ot=>{ae.toLocaleLowerCase()===ot&&g._hasForbiddenCssUrl(Xe).forEach(qt=>{e.push({tag:y.toLocaleLowerCase(),attribute:"style",cssPropertyValue:ot+" : "+qt})})})}}});return L.write(t),L.end(),e},_hasForbiddenCssUrl:function(t){let n=[],i=t.match(/url\(\s*["']?(.*?)["']?\s*\)/g);const r=/^url\(\s*[\\"']?[A-Za-z0-9]*\:\/\//;if(i)for(let o=0;o<i.length;o++){let a=i[o];a.match(r)&&n.push(a)}return n},printInvalidHtmlToConsole:function(t){console.log("Possible invalid HTML tags/attributes:"),t.forEach(n=>{n.attributeValue?console.log("  - Attribute value: "+n.attributeValue+" of "+n.attribute+" in "+n.tag):n.attribute?console.log("  - Attribute: "+n.attribute+" in "+n.tag):n.tag&&console.log("  - Element: "+n.tag)})},setItemMessagesArray:function(t,n,e){let i,r;for(let o of n)if(o){i||(i={errors:{},warnings:{},info:{}},r=Object.keys(i));for(let a of r)o[a]&&Object.assign(i[a],o[a])}this.setItemMessages(t,i,e)},setItemMessages:function(t,n,e){n?(t.messages||(t.messages={}),t.messages[e]=n):t.messages&&(delete t.messages[e],Object.keys(t.messages).length||delete t.messages)},addItemWarning:function(t,n,e){e||(e="Other message source");let i=t.messages;i||(i=t.messages={});let r=i[e];r||(r=i[e]={});let o=r.warnings;o||(o=r.warnings={}),o[n]=eI.getMsg(n),console.log(JSON.stringify(t.messages))},removeItemWarning:function(t,n,e){let i,r,o;e||(e="Other message source"),(i=t.messages)&&(r=i[e])&&(o=r.warnings)&&delete o[n]},hasAnswerList:function(t){return"CODING"===t.dataType||t.answers&&("ST"===t.dataType||"INT"===t.dataType||"DT"===t.dataType||"TM"===t.dataType)},_getHtmlStringWithContainedImages:function(t,n){if(t){let i=(new DOMParser).parseFromString(n,"text/html"),r=i.getElementsByTagName("img");for(let o=0;o<r.length;o++){let a=r[o].getAttribute("src");if(a&&a.match(/^#/)){let l=t[a.substring(1)];l&&r[o].setAttribute("src",l)}}return i.body.innerHTML}return""},targetEnabled:function(t){return!1!==t._enableWhenExpVal&&t._skipLogicStatus!==Je_SKIP_LOGIC_STATUS_DISABLED},targetDisabledAndProtected:function(t){return"protected"===t._disabledDisplayStatus&&!this.targetEnabled(t)},targetShown:function(t){return"protected"===t._disabledDisplayStatus||this.targetEnabled(t)},getItemAnswerId(t,n){let e;const i=t._elementId;return e="string"!=typeof n?i+"|"+(n.system?n.system.replaceAll("\\","\\\\").replaceAll("|","\\|"):"")+"|"+(n.code||n.text.toString()).replaceAll("%","%25").replaceAll(" ","%20").replaceAll("\\","\\\\").replaceAll("|","\\|"):i.replaceAll("\\","\\\\").replaceAll("|","\\|")+"|"+n,e}};Li.errorMessages=eI,Li.errorMessages.setLanguage("en");const fre=JSON.parse('{"itemControl":["list","table","gtable","inline","autocomplete","drop-down","check-box","lookup","radio-button"]}'),mre=new RegExp("http://hl7.org/fhir/(\\d+.\\d+)([.\\d]+)?/StructureDefinition/Questionnaire"),pre=new RegExp("http://hl7.org/fhir/u./sdc/StructureDefinition/sdc-questionnaire\\|(\\d+.\\d+)(.\\d+)?"),OI={STU3:1,R4:2,R4B:3,R5:4},PI={addFormToPage:function(t,i,e){i="string"==typeof i?document.getElementById(i):i,"string"==typeof t&&(t=t.indexOf("{")>=0?JSON.parse(t):window[t]);var r=t.resourceType,o=e&&e.fhirVersion;if(r&&"Questionnaire"!==r)throw new Error("Only Questionnaire FHIR content is supported in addFormToPage.");this.pageFormID_||(this.pageFormID_=0),LForms.addedFormDefs||(LForms.addedFormDefs=[]),LForms.addedFormDefs.push(t);for(var a=e&&!0===e.prepopulate;i.firstChild;)i.removeChild(i.lastChild);const s=document.createElement("wc-lhc-form");return i.appendChild(s),new Promise(function(c,h){try{s.questionnaire=t,s.options=e,s.prepop=a,s.fhirVersion=o,s.addEventListener("onFormReady",function(g){c()}),s.addEventListener("onError",function(g){h(g.detail)})}catch(g){h(g)}})},removeFormsFromPage:function(n){for(n="string"==typeof n?document.getElementById(n):n;n.firstChild;)n.removeChild(n.lastChild)},getUserData:function(t,n,e,i){var r=this._getFormObjectInScope(t);return r?r.getUserData(n,e,i):null},getFormData:function(t,n,e){var i=this._getFormObjectInScope(t);return i?i.getFormData(n,e):null},getFormHL7Data:function(t){var n=this._getFormObjectInScope(t);return n?LForms.HL7.toHL7Segments(n):null},getFormFHIRData:function(t,n,e,i){return(!e||e instanceof HTMLElement||"string"==typeof e)&&(e=this._getFormObjectInScope(e)),this._convertLFormsToFHIRData(t,n,e,i)},checkValidity:function(t){var n=this._getFormObjectInScope(t);return n?n.checkValidity():null},_convertLFormsToFHIRData:function(t,n,e,i){i||(i={}),e instanceof LForms.LFormsData||(e=new LForms.LFormsData(e));var r=this.validateFHIRVersion(n),o=LForms.FHIR[r],a=null;if(e)switch(t){case"DiagnosticReport":var s=i?i.bundleType:void 0;a=o.DiagnosticReport.createDiagnosticReport(e,i.subject,null!=s,s);break;case"Questionnaire":a=o.SDC.convertLFormsToQuestionnaire(e,i.noExtensions);break;case"QuestionnaireResponse":a=i.extract?o.SDC.convertLFormsToQRAndExtractFHIRData(e,i.noExtensions,i.subject):o.SDC.convertLFormsToQuestionnaireResponse(e,i.noExtensions,i.subject)}return a},convertFHIRQuestionnaireToLForms:function(t,n){var e=null;return t&&(n=this._requireValidFHIRVersion(n,t),e=LForms.FHIR[n].SDC.convertQuestionnaireToLForms(t)),e},mergeFHIRDataIntoLForms:function(t,n,e){if("string"==typeof t&&(t=n,n=e,e=arguments[3]),t){let r=Dh(t);e=this._requireValidFHIRVersion(e,r);var i=LForms.FHIR[e];switch(r.resourceType){case"DiagnosticReport":(n=i.DiagnosticReport.mergeDiagnosticReportToLForms(n,r)).hasSavedData=!0;break;case"Bundle":"searchset"===r.type&&r.entry.find(o=>"DiagnosticReport"===o.resource.resourceType)&&((n=i.DiagnosticReport.mergeDiagnosticReportToLForms(n,r)).hasSavedData=!0);break;case"QuestionnaireResponse":(n=i.SDC.mergeQuestionnaireResponseToLForms(n,r)).hasSavedData=!0}}return n},_requireValidFHIRVersion:function(t,n){if(t||(t=this.detectFHIRVersion(n)||this.guessFHIRVersion(n)),!t)throw new Error("Could not determine the FHIR version for this resource.  Please make sure it is specified via meta.profile (see http://build.fhir.org/versioning.html#mp-version and https://www.hl7.org/fhir/references.html#canonical).  Example 1:  http://hl7.org/fhir/4.0/StructureDefinition/Questionnaire (for Questionnaire version 4.0, a.k.a. R4).Example 2:  http://hl7.org/fhir/3.0/StructureDefinition/Questionnaire (for Questionnaire version 3.0, a.k.a. STU3).Example 3:  http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire|2.7  (for SDC Questionnaire version 2.7).");return this.validateFHIRVersion(t)},setFHIRContext:function(t,n){if(!LForms.FHIR)throw new Error("LHC-Forms FHIR support files have not been loaded.See http://lhncbc.github.io/lforms/#fhirScripts");LForms.fhirContext={client:t,vars:n},LForms.fhirCapabilities={},delete LForms._serverFHIRReleaseID},_fhirVersionToRelease:function(t){let n=t,e=t.match(/^\d+(\.\d+)/);if(e){const i=parseFloat(e[0]);n=i>=5&&i<6||4.2==i||i>=4.4&i<=4.6?"R5":4.1==i||4.3==i?"R4B":i>3&&i<=4?"R4":i>=1.1&&i<=3?"STU3":t}return n},getServerFHIRReleaseID:function(t){if(!LForms.fhirContext)throw new Error("setFHIRContext needs to be called before getFHIRReleaseID");if(!LForms.fhirContext.client)throw new Error("setFHIRContext was called, but no server connection was provided");if(LForms._serverFHIRReleaseID)setTimeout(function(){t(LForms._serverFHIRReleaseID)});else try{LForms.fhirContext.client.getFhirVersion().then(function(e){LForms._serverFHIRReleaseID=LForms.Util._fhirVersionToRelease(e),console.log("Server FHIR version is "+LForms._serverFHIRReleaseID+" ("+e+")"),t(LForms._serverFHIRReleaseID)},function(e){console.log("Error retrieving server's CompatibilityStatement:"),console.log(e),t()})}catch(e){throw setTimeout(function(){t()}),e}},validateFHIRVersion:function(t){if(!LForms.Util.FHIRSupport[t])throw new Error("Version "+t+" of FHIR is not supported.");if(!LForms.FHIR)throw new Error("The FHIR support files for LHC-Forms do not appear to have been loaded.  Please consult the documentation at http://lhncbc.github.io/lforms/#fhirSupport.");if(!LForms.FHIR[t])throw new Error("Version "+t+" of FHIR is supported, but the supporting code was not loaded.");return t},detectFHIRVersion:function(t){let n=null;return t.meta&&t.meta.profile&&(n=this.detectFHIRVersionFromProfiles(t.meta.profile)),n},detectFHIRVersionFromProfiles(t){if(!t||!t.length)return null;let n=null;for(let i=0;i<t.length;i++){var e=t[i].match(mre);let r;if(e?r=e[1]:(e=t[i].match(pre))&&(r=e[1],"2.0"===r?r="3.0":parseFloat(r)>=2.1&&(r="4.0")),r){const o=this._fhirVersionToRelease(r);(!n||OI[o]>OI[n])&&(n=o)}}return n},guessFHIRVersion:function(t){var n=null;return"Questionnaire"==t.resourceType?n=this._testValues(t,"item",function(o){let a=!!(o.option||o.options||o.initialBoolean||o.initialDecimal||o.initialInteger||o.initialDate||o.initialDateTime||o.initialTime||o.initialString||o.initialUri||o.initialAttachment||o.initialQuantity||o.initialReference);return!a&&o.enableWhen?.length&&(a=o.enableWhen.some(s=>"hasAnswer"in s)),a})?"STU3":this._testValues(t,"item",function(o){return!(!o.disabledDisplay&&!o.answerConstraint&&"coding"!==o.type)})?"R5":"R4":"QuestionnaireResponse"==t.resourceType&&(n=t.parent||this._testValues(t,"item",function(a){return!!a.subject})?"STU3":"R4"),n},_testValues:function(t,n,e){var i=!1;if(t instanceof Array)for(var r=0,o=t.length;!i&&r<o;++r)i=this._testValues(t[r],n,e);else if("object"==typeof t)for(var a=Object.keys(t),s=0,l=a.length;!i&&s<l;++s){var c=a[s],h=t[c];if(c===n)if(h instanceof Array)for(var g=0,L=h.length;!i&&g<L;++g)i=e(h[g]);else i=e(h);i||(i=this._testValues(h,n,e))}return i},_getFormObjectInScope:function(t){var n,e;if("string"==typeof t&&(t=document.querySelector(t)),t)e=t.getElementsByTagName("wc-lhc-form");else{var i=document.getElementsByTagName("body");e=i&&i.length>0?(t=i[0]).getElementsByTagName("wc-lhc-form"):document.getElementsByTagName("wc-lhc-form")}for(let r of e){n=r.lhcFormData;break}return n},isItemValueEmpty:function(t){var n=!0;if(null!=t&&""!==t&&"function"!=typeof t)if("string"==typeof t||t instanceof String)n=""===t.trim();else if(Array.isArray(t)){for(var e=0;e<t.length;++e)if(!this.isItemValueEmpty(t[e])){n=!1;break}}else if("object"==typeof t){var i=Object.keys(t);if(i.length>0){e=0;for(var r=i.length;e<r;e++)if(!this.isItemValueEmpty(t[i[e]])){n=!1;break}}else t.constructor!==Object&&(n=!1)}else n=!1;return n},findItem:function(t,n,e){var i=null;if(t)for(var r=0;!i&&r<t.length;++r){var o=t[r];o[n]===e?i=o:Array.isArray(o.items)&&(i=this.findItem(o.items,n,e))}return i},initializeCodes:function(t){var n=t.question||t.questionCode,e=n?t.questionCode:t.code,r=n?t.question:t.name,o=this.getCodeSystem(n?t.questionCodeSystem:t.codeSystem);if(e){t.codeList||(t.codeList=[]);for(var a=t.codeList,s=!1,l=0;l<a.length;l++)if(e===a[l].code&&(!o&&!a[l].system||o===a[l].system)){s=!0;break}s||"LinkId"===o||(e={code:e,display:r},o&&(e.system=o),a.unshift(e))}else t.codeList&&t.codeList.length>0&&(n?(t.questionCode=t.codeList[0].code,t.questionCodeSystem=t.codeList[0].system):(t.code=t.codeList[0].code,t.codeSystem=t.codeList[0].system));return t},createLocalFHIRReference:function(t){var n={reference:t.resourceType+"/"+t.id};if("Patient"===t.resourceType&&t.name&&t.name.length>0){var e=t.name[0];e.text?n.display=e.text:(e.given&&e.given.length>0&&(n.display=e.given[0]),e.family&&(n.display=n.display?n.display+" "+e.family:e.family))}return n},getCodeSystem:function(t){return"LOINC"===t?"http://loinc.org":t},removeObjectsFromArray:function(t,n,e,i,r){var o=r?[]:null,a=r?[]:null;if(Array.isArray(t)){var s=0;i&&Math.abs(i)<t.length&&(s=i<0?t.length+i:i);for(var l=t.length,c=s;c<l;c++)if(t[c][n]===e){var h=t[c];if(!r){o=c,a=h;break}o.push(c),a.push(h)}if(Array.isArray(o))for(c=o.length-1;c>=0;c--)t.splice(o[c],1);else null!==o&&t.splice(o,1)}return a},baseFormDef:function(){return{lformsVersion:LForms.lformsVersion}},getAnswersResourceStatus:function(t){return(!t||t instanceof HTMLElement||"string"==typeof t)&&(t=this._getFormObjectInScope(t)),t.checkAnswersResourceStatus()},loadScript:function(t){return new Promise(function(n,e){var i=document.createElement("script");i.onreadystatechange=n,i.onload=n,i.onerror=e,i.src=t,document.body.appendChild(i)})},loadFHIRLibs:function(t,n){return Promise.all([this.loadScript(t),this.loadScript(n)])},_hasMultipleAnswers:function(t){return t.answerCardinality&&t.answerCardinality.max&&("*"===t.answerCardinality.max||parseInt(t.answerCardinality.max)>1)},escapeAttribute:function(t){return t.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},getSupportedFeatures:function(){return fre}};PI._internalUtil=Li;const as={...on,...PI},D6={_timeout:1500,_restrictionKeys:["minExclusive","minInclusive","maxExclusive","maxInclusive","totalDigits","fractionDigits","length","minLength","maxLength","enumeration","whiteSpace","pattern"],_dataTypes:["BL","INT","REAL","ST","TX","BIN","DT","DTM","TM","CODING","RTO","QTY","NR","YEAR","MONTH","DAY","URL","EMAIL","PHONE",""],_errorMessages:Mn.errorMessages,checkRequired:function(t,n,e){var i=!0;return t&&(null==n||""===n||Array.isArray(n)&&0===n.length)&&(i=!1,e.push(Mn.requiresAValue)),i},checkDataType:function(t,n,e){var i=!0;if(null!=n&&""!==n)switch(t){case"BL":!0!==n&&!1!==n&&(i=!1);break;case"INT":i=on.isInteger(n);break;case"REAL":case"QTY":i=on.isDecimal(n);break;case"PHONE":i=/(((^\s*(\d\d){0,1}\s*(-?|\.)\s*(\(?\d\d\d\)?\s*(-?|\.?)){0,1}\s*\d\d\d\s*(-?|\.?)\s*\d{4}\b)|(^\s*\+\(?(\d{1,4}\)?(-?|\.?))(\s*\(?\d{2,}\)?\s*(-?|\.?)\s*\d{2,}\s*(-?|\.?)(\s*\d*\s*(-|\.?)){0,3})))(\s*(x|ext|X)\s*\d+){0,1}$)/.test(n);break;case"EMAIL":i=/^\s*((\w+)(\.\w+)*)@((\w+)(\.\w+)+)$/.test(n);break;case"URL":i=/^(https?|ftp):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&amp;:\/~+#-]*[\w@?^=%&amp;\/~+#-])?$/.test(n);break;case"TM":i=/^\s*(((\d|[0-1]\d|2[0-4]):([0-5]\d))|(\d|0\d|1[0-2]):([0-5]\d)\s*([aApP][mM]))\s*$/.test(n);break;case"YEAR":i=/^\d{1,4}$/.test(n);break;case"MONTH":i=/^(0?[1-9]|1[012])$/.test(n);break;case"DAY":i=/^(0?[1-9]|[12]\d|3[01])$/.test(n);break;case"NR":i=/^(\-?\d+(\.\d*)?)?\s*\^\s*(\-?\d+(\.\d*)?)?$/.test(n);break;case"DT":i=on.isValidDate(n);break;default:i=!0}return Array.isArray(e)&&!i&&e.push(this._errorMessages[t]),i},checkRestrictions:function(t,n,e){var i=!0;if(null!=n&&""!==n)for(var r in t){var o=!0,a=t[r];switch(r){case"minExclusive":parseFloat(n)>parseFloat(a)?o=!0:(o=!1,e.push(Mn.mustBeGreater.replace("{lformsParam}",a)));break;case"minInclusive":parseFloat(n)>=parseFloat(a)?o=!0:(o=!1,e.push(Mn.mustBeGreaterOrEqual.replace("{lformsParam}",a)));break;case"maxExclusive":parseFloat(n)<parseFloat(a)?o=!0:(o=!1,e.push(Mn.mustBeLess.replace("{lformsParam}",a)));break;case"maxInclusive":parseFloat(n)<=parseFloat(a)?o=!0:(o=!1,e.push(Mn.mustBeLessOrEqual.replace("{lformsParam}",a)));break;case"totalDigits":case"fractionDigits":break;case"length":n.length==parseInt(a)?o=!0:(o=!1,e.push(Mn.mustHaveTotalLength.replace("{lformsParam}",a)));break;case"maxLength":n.length<=parseInt(a)?o=!0:(o=!1,e.push(Mn.mustHaveTotalLengthLessOrEqual.replace("{lformsParam}",a)));break;case"minLength":n.length>=parseInt(a)?o=!0:(o=!1,e.push(Mn.mustHaveTotalLengthGreaterOrEqual.replace("{lformsParam}",a)));break;case"pattern":var c,h,s=a.indexOf("/"),l=a.lastIndexOf("/");0===s&&l>0?(c=a.slice(s+1,l),h=a.slice(l+1)):c=a,new RegExp(c,h).test(n)?o=!0:(o=!1,e.push(Mn.mustMatchRegex.replace("{lformsParam}",a)));break;case"maxDecimalPlaces":const L=n.toString().split(/[eE]/),y=parseInt(L[1])||0;(L[0].split(".")[1]?.length||0)-y<=a?o=!0:(o=!1,e.push(Mn.mustNotHaveMoreDecimalPlaces.replace("{lformsParam}",a)));break;case"maxOccurs":Array.isArray(n)&&n.length<=parseInt(a)?o=!0:Array.isArray(n)&&(o=!1,e.push(Mn.mustNotHaveMoreAnswers.replace("{lformsParam}",a)));break;case"minOccurs":Array.isArray(n)&&n.length>=parseInt(a)?o=!0:Array.isArray(n)&&(o=!1,e.push(Mn.mustNotHaveLessAnswers.replace("{lformsParam}",a)));break;default:o=!0}i=i&&o}return i}};let gre={getValueInStandardUnit:function(t,n){return(t*this.units_[n]).toFixed(this.precision_)},getStandardUnit:function(){},precision_:4,units_:{kg:1,kgs:1,kilograms:1,pounds:.453592,lbs:.453592,cm:1,cms:1,centimeters:1,feet:30.48,ft:30.48,inches:2.54,"[in_i]":2.54,meters:100,"ft-inches":2.54}},vre={calculations_:{precision_:2,TOTALSCORE:function(t){for(var n=0,e=0,i=t.length;e<i;e++)n+=parseFloat(t[e]);return n},BMI:function(t){var n="",e=parseFloat(t[0]),i=parseFloat(t[1]);return e&&""!=e&&i&&""!=i&&"0"!=i&&(n=(n=e/Math.pow(i/100,2)).toFixed(this.precision_)),n},BSA:function(t){var n="",e=parseFloat(t[0]),i=parseFloat(t[1]);return e&&""!=e&&i&&""!=i&&(n=(n=Math.sqrt(i*e/3600)).toFixed(this.precision_)),n}}};const iv=Li.errorMessages;class RI{code=null;codeList=null;identifier=null;name=null;templateOptions={};items=[];PATH_DELIMITER="/";hasSavedData=!1;_invalidData=!1;_repeatableItems={};_opt={};_actionLogs=[];_activeItem=null;_totalLevelsOfHierarchy=0;_defaultTemplateOptions={showQuestionCode:!1,showCodingInstruction:!1,allowMultipleEmptyRepeatingItems:!1,allowHTML:!1,displayControl:{questionLayout:"vertical"},viewMode:"auto",defaultAnswerLayout:{answerLayout:{type:"COMBO_BOX",columns:"0"}},hideTreeLine:"auto",hideIndentation:!1,hideRepetitionNumber:!0,displayScoreWithAnswerText:!0,displayInvalidHTML:!1,messageLevel:"error",allowExternalURL:!1,readonlyMode:!1};lformsVersion="40.1.3";_packageStore=null;_variableExt=null;_codePath="";_idPath="";_displayLevel=0;_formReady;_horizontalTableInfo={};itemList;itemHash;_asyncChangeListeners;fhirVersion;_fhir;_hasInitialExpr;extension;codeSystem;template;answerLists;_expressionProcessor;_fhirVariables;_hasResponsiveExpr;copyrightNotice;url;version;type;_showErrors;_showWarnings;_showInfo;contained;_containedImages;_containedImageHtmlMap=new Map;constructor(n,e=null){if(e&&(this._packageStore=e),n&&n._initializeInternalData){const i=Object.getOwnPropertyNames(n);for(let r=0;r<i.length;r++)i[r]&&!i[r].startsWith("_")&&"function"!=typeof n[i[r]]&&(this[i[r]]=n[i[r]]);n._variableExt&&(this._variableExt=n._variableExt)}else Object.assign(this,n),this.templateOptions=n.templateOptions||{},this.PATH_DELIMITER=n.PATH_DELIMITER||"/";LForms.FHIR&&n.fhirVersion&&this._initializeFormFHIRData(n),n.contained&&this._fhir&&(this._containedImages=this._fhir.SDC.buildContainedImageMap(n.contained)),this._initializeInternalData()}setMessageLevel(n){this._showInfo="info"==n,this._showWarnings=this._showInfo||"warning"==n,this._showErrors=this._showWarnings||"error"==n}_getResourcesFromPackageStore(n,e){let i=null;if(this._packageStore&&e&&n){const r=e.split("|"),o=r[0],a=r[1];for(let s=0,l=this._packageStore.length;s<l;s++){const c=this._packageStore[s];if(c.resourceType===n&&c.url===o&&(a&&c.version===a||!a)){i=JSON.parse(JSON.stringify(c));break}}}return i}checkAnswersResourceStatus(){const n=[];for(let e=0,i=this.itemList.length;e<i;e++){const r=this.itemList[e];r.answerValueSet&&!r.answers&&!r.externallyDefined&&!r.isSearchAutocomplete&&n.push("Value set not loaded: "+r.answerValueSet)}return n}addAsyncChangeListener(n){this._asyncChangeListeners||(this._asyncChangeListeners=[]),this._asyncChangeListeners.push(n)}_notifyAsyncChangeListeners(){if(this._asyncChangeListeners)for(let n=0,e=this._asyncChangeListeners.length;n<e;++n)this._asyncChangeListeners[n]()}_initializeFormFHIRData(n){this.fhirVersion=n.fhirVersion,this._fhir=LForms.FHIR[this.fhirVersion],this._expressionProcessor=new this._fhir.SDC.ExpressionProcessor(this),this._fhirVariables={},this.extension=n.extension?n.extension.slice(0):null,n.extension&&(this._fhir.SDC.buildExtensionMap(this),this._hasResponsiveExpr=this._hasResponsiveExpr||this._fhir.SDC.hasResponsiveExpression(this),this._hasInitialExpr=this._hasInitialExpr||this._fhir.SDC.hasInitialExpression(this)),this._fhir.SDC.processExtensions(this,"obj_title")}_getFHIRSupport(){let n=this._fhir;if(!n){const e=Object.keys(LForms.FHIR);if(e.length>0&&(n=LForms.FHIR[e[0]]),!n)throw new Error("The LHC-Forms FHIR support file was not loaded.");this._fhir=n}return n}loadFHIRResources(n){const e=this,i=this._fhir.SDC,r=i._getTerminologyServer(this);!LForms.fhirContext&&!r&&console.log("Warning: FHIR resources might not be loaded, because loadFHIRResources() was called before LForms.Util.setFHIRContext()");let o=LForms.fhirContext?i.loadLaunchContext(this):[];return o=o.concat(i.loadAnswerValueSets(this)),n&&o.push(i.requestLinkedObs(this)),this._resolveAllPromises(o).then(function(){e._notifyAsyncChangeListeners()})}_resolveAllPromises(n){return Promise.allSettled(n).then(e=>{const i=[],r=e.length;for(let o=0;o<r;o++)"fulfilled"!==e[o].status&&i.push(e[o].reason);if(i.length>0)return Promise.reject(i)})}_buildURL(n,e){let i=n.map(r=>encodeURIComponent(r)).join("/");return e&&(i+="?"+Object.keys(e).map(r=>r+"="+encodeURIComponent(e[r])).join("&")),i}_loadAnswerValueSetsFromPackage(n){if(n.answerValueSet){const e=this._getResourcesFromPackageStore("ValueSet",n.answerValueSet);if(e&&this._fhir){const i=this._fhir.SDC.answersFromVS(e.fileContent);i&&(n.answers=i)}}}_checkFHIRVarName(n){if(this._fhir.reservedVarNames[n])throw'The "'+n+'" variable name is reserved; Questionnaires may not assign a value to it.'}_initializeInternalData(){this._setDefaultValues(),as.initializeCodes(this),this._repeatableItems={},this._setTreeNodes(this.items,this),this._updateLastRepeatingItemsStatus(this.items),this._updateItemDisabledDisplayStatus(this.items),this.itemList=[],this.itemHash={},this._updateItemReferenceList(this.items),this._standardizeScoreRule(this.itemList),this._resetHorizontalTableInfo(),this._adjustLastSiblingListForHorizontalLayout(),this._setUpAnswerAndUnitAutoComp(this.itemList),this._setupSourceToTargetMap(),this._checkFormControls()}_resetInternalData(){this._updateTreeNodes(this.items,this),this._updateLastRepeatingItemsStatus(this.items),this._updateItemDisabledDisplayStatus(this.items),this.itemList=[],this.itemHash={},this._updateItemReferenceList(this.items),this._standardizeScoreRule(this.itemList),this._resetHorizontalTableInfo(),this._adjustLastSiblingListForHorizontalLayout(),this._setUpAnswerAndUnitAutoComp(this.itemList),this._setupSourceToTargetMap(),this._checkFormControls()}updateSkipLogicControlledItems(n,e){let i=!1;if(n._skipLogicTargets)for(let r=0,o=n._skipLogicTargets.length;r<o;r++){const a=n._skipLogicTargets[r];i=this._updateItemSkipLogicStatus(a,null)||i,i&&this.updateSkipLogicControlledItems(a,e)}return i=e(n)||i,i}updateOnSourceItemChange(n){const e=this;let i=!0;for(;i;)i=this.updateSkipLogicControlledItems(n,function(r){let o=!1;if(r._formulaTargets)for(var a=0,s=r._formulaTargets.length;a<s;a++)o=e._processItemFormula(r._formulaTargets[a])||o;if(r._dataControlTargets)for(a=0,s=r._dataControlTargets.length;a<s;a++)o=e._processItemDataControl(r._dataControlTargets[a])||o;return o});if(this._updateTreeNodes(this.items,this),this._updateLastRepeatingItemsStatus(this.items),this._resetHorizontalTableInfo(),this._adjustLastSiblingListForHorizontalLayout(),this._checkFormControls(),LForms.FHIR&&this._hasResponsiveExpr){const r=this;setTimeout(function(){r._expressionProcessor.runCalculations(!1).then(()=>{r._checkFormControls()})})}}_checkValidations(n){if(n._hasValidation){const e=[];D6.checkRequired(n._answerRequired,n.value,e),D6.checkDataType(n.dataType,n.value,e),D6.checkRestrictions(n.restrictions,n.value,e),n._validationErrors=e}}_checkFormControls(){let n=!0;for(;n;){n=!1;for(let e=0,i=this.itemList.length;e<i;e++){const r=this.itemList[e];r.calculationMethod&&(n=this._processItemFormula(r)||n),r.dataControl&&(n=this._processItemDataControl(r)||n),r.skipLogic&&(n=this._updateItemSkipLogicStatus(r,null)||n)}}this._updateSubItemsHiddenFromView(this,!1),this._updateTreeNodes(this.items,this),this._updateLastRepeatingItemsStatus(this.items),this._resetHorizontalTableInfo(),this._adjustLastSiblingListForHorizontalLayout()}_updateSubItemsHiddenFromView(n,e){if(n.items&&n.items.length>0)for(let i=0,r=n.items.length;i<r;i++){const o=n.items[i],a=e||this.isItemHidden(o);o._isHiddenFromView=a,this._updateSubItemsHiddenFromView(o,a)}}_setupSourceToTargetMap(){for(let r=0,o=this.itemList.length;r<o;r++){const a=this.itemList[r];if(a.calculationMethod&&a.calculationMethod.name){const s=this._getFormulaSourceItems(a,a.calculationMethod.value);for(var n=0,e=s.length;n<e;n++)s[n]._formulaTargets?s[n]._formulaTargets.push(a):s[n]._formulaTargets=[a]}if(a.dataControl&&Array.isArray(a.dataControl))for(n=0,e=a.dataControl.length;n<e;n++){const c=a.dataControl[n].source;if(c&&(!c.sourceType||c.sourceType===Je_DATA_CONTROL_SOURCE_INTERNAL)&&c.sourceLinkId){if(!(i=this._findItemByLinkId(a,c.sourceLinkId)))throw new Error("Data control for item '"+a.question+"' refers to source item '"+c.sourceLinkId+"' which was not found as a sibling, ancestor, or ancestor sibling.");i._dataControlTargets?i._dataControlTargets.push(a):i._dataControlTargets=[a]}}if(a.skipLogic)for(n=0,e=a.skipLogic.conditions.length;n<e;n++){var i;(i=this._getSkipLogicSourceItem(a,a.skipLogic.conditions[n].source))._skipLogicTargets?i._skipLogicTargets.push(a):i._skipLogicTargets=[a]}}}_updateItemSkipLogicStatus(n,e){let r,i=!1;if(!e&&n?._parentItem?._skipLogicStatus===Je_SKIP_LOGIC_STATUS_DISABLED&&(e=!0),e)i=this._setSkipLogicStatusValue(n,Je_SKIP_LOGIC_STATUS_DISABLED)||i,r=!0;else{if(n.skipLogic){const a=this._checkSkipLogic(n);n.skipLogic.action&&n.skipLogic.action!==Je_SKIP_LOGIC_ACTION_ENABLE?n.skipLogic.action===Je_SKIP_LOGIC_ACTION_DISABLE&&(i=this._setSkipLogicStatusValue(n,a?Je_SKIP_LOGIC_STATUS_DISABLED:Je_SKIP_LOGIC_STATUS_ENABLED)||i):i=this._setSkipLogicStatusValue(n,a?Je_SKIP_LOGIC_STATUS_ENABLED:Je_SKIP_LOGIC_STATUS_DISABLED)||i}else n._skipLogicStatus===Je_SKIP_LOGIC_STATUS_DISABLED&&(i=this._setSkipLogicStatusValue(n,Je_SKIP_LOGIC_STATUS_ENABLED)||i);r=n._skipLogicStatus===Je_SKIP_LOGIC_STATUS_DISABLED}if(n.items&&n.items.length>0)for(let a=0,s=n.items.length;a<s;a++)i=this._updateItemSkipLogicStatus(n.items[a],r)||i;return i}_presetSkipLogicStatus(n,e){if(n.skipLogic||e){this._setSkipLogicStatusValue(n,Je_SKIP_LOGIC_STATUS_DISABLED,!0);const i=!0;if(n.items)for(let r=0,o=n.items.length;r<o;r++)this._presetSkipLogicStatus(n.items[r],i)}}_setSkipLogicStatusValue(n,e,i=!1){let r=!1;return n._skipLogicStatus!==e&&(n._skipLogicStatus&&(i||this._actionLogs.push(e===Je_SKIP_LOGIC_STATUS_DISABLED?"Hiding "+n._text:"Showing "+n._text)),n._skipLogicStatus=e,r=!0),r}_updateItemReferenceList(n){for(let e=0,i=n.length;e<i;e++){const r=n[e];this.itemList.push(r),this.itemHash[r._elementId]=r,r.items&&r.items.length>0&&this._updateItemReferenceList(r.items)}}_updateItemDisabledDisplayStatus(n,e=null){for(let i=0,r=n.length;i<r;i++){const o=n[i],a=o.disabledDisplay||e;a&&(o._disabledDisplayStatus=a,o.items&&o.items.length>0&&this._updateItemDisabledDisplayStatus(o.items,a))}}_findItemsWithScore(){const n={};for(let e=0,i=this.itemList.length;e<i;e++){const r=this.itemList[e];if(r.dataType===Je_DATA_TYPE_CODING&&r.answers&&Array.isArray(r.answers)&&r.answers.length>0)for(let o=0,a=r.answers.length;o<a;o++){const s=r.answers[o];if(s&&s.hasOwnProperty("score")&&!isNaN(s.score)){n[r.linkId]=r;break}}}return Object.keys(n)}_standardizeScoreRule(n){for(let e=0,i=n.length;e<i;e++){const r=n[e];if(r.calculationMethod&&(r.calculationMethod.name===Je_CALCULATION_METHOD_TOTALSCORE||r.calculationMethod===Je_CALCULATION_METHOD_TOTALSCORE)){r.calculationMethod={name:Je_CALCULATION_METHOD_TOTALSCORE,value:[]};const o=this._findItemsWithScore();r.calculationMethod.value=o}}}_setDefaultValues(){this._codePath="",this._idPath="",this._displayLevel=0,this._totalLevelsOfHierarchy=0,this._activeItem=null,(!this.template||0==this.template.length||"form-view-a"===this.template||"form-view-b"===this.template)&&(this.template="table");const n=on.deepCopy(this.templateOptions),e=on.deepCopy(this._defaultTemplateOptions);this.setTemplateOptions(n,e)}_mergeTwoArrays(n,e){for(let i=0,r=e.length;i<r;i++)if(e[i]){const o=Object.keys(e[i]);for(let a=0,s=o.length;a<s;a++)(null!==e[i][o[a]]||void 0!==e[i][o[a]])&&(n[i][o[a]]=e[i][o[a]])}}setTemplateOptions(n,e=null){if(n&&n.hasOwnProperty("allowHTMLInInstructions")&&!n.hasOwnProperty("allowHTML")&&(n.allowHTML=n.allowHTMLInInstructions,delete n.allowHTMLInInstructions),n){e||(e=on.deepCopy(this.templateOptions));const i=void 0!==n.displayScoreWithAnswerText&&n.displayScoreWithAnswerText!==e.displayScoreWithAnswerText,r=void 0!==n.allowHTML&&n.allowHTML!==e.allowHTML,o=void 0!==n.displayInvalidHTML&&n.displayInvalidHTML!==e.displayInvalidHTML,a=void 0!==n.readonlyMode&&n.readonlyMode!==e.readonlyMode;if(this.templateOptions=Object.assign({},e,n),a&&this.itemList)for(let s=0,l=this.itemList.length;s<l;s++)this._updateItemAttrs(this.itemList[s]);if((i||r||o)&&this.itemList)for(let s=0,l=this.itemList.length;s<l;s++){const c=this.itemList[s];c._hasAnswerList&&(r||o||c._hasScoreInAnswer)&&this._updateAutocompOptions(c)}if(this.templateOptions.allowHTML&&this.itemList)for(let s=0,l=this.itemList.length;s<l;s++){const c=this.itemList[s];if(["_displayTextHTML","_prefixHTML"].forEach(h=>{if(c[h]){if(this._containedImages&&c[h].match(/img/)&&c[h].match(/src/)){const x=h+"Original";this._containedImageHtmlMap.has(c[x])?c[h]=this._containedImageHtmlMap.get(c[x]):(c[x]=c[h],c[h]=Li._getHtmlStringWithContainedImages(this._containedImages,c[x]),this._containedImageHtmlMap.set(c[x],c[h]))}let g,L;const y=LForms.Util._internalUtil.checkForInvalidHtmlTags(c[h],this.templateOptions.allowExternalURL);y&&y.length>0&&("_displayHTML"===h?c._hasInvalidHTMLTagInText=!0:"_prefixHTML"===h&&(c._hasInvalidHTMLTagInPrefix=!0),g={},iv.addMsg(g,"invalidTagInHTMLContent"),L=[{errors:g}],Li.printInvalidHtmlToConsole(y),Li.setItemMessagesArray(c,L,"setTemplateOptions"))}}),c.codingInstructions&&c.codingInstructions.length>0&&"html"===c.codingInstructionsFormat){let h,g;this._containedImages&&c.codingInstructions.match(/img/)&&c.codingInstructions.match(/src/)&&(c._codingInstructionsWithContainedImages=Li._getHtmlStringWithContainedImages(this._containedImages,c.codingInstructions));const y=LForms.Util._internalUtil.checkForInvalidHtmlTags(c._codingInstructionsWithContainedImages||c.codingInstructions,this.templateOptions.allowExternalURL);y&&y.length>0&&(c.codingInstructionsHasInvalidHtmlTag=!0,h={},iv.addMsg(h,"invalidTagInHelpHTMLContent"),g=[{errors:h}],Li.printInvalidHtmlToConsole(y),Li.setItemMessagesArray(c,g,"_processCodingInstructionsAndLegal"))}if(c.legal&&c.legal.length>0&&"html"===c.legalFormat){let h,g;this._containedImages&&c.legal.match(/img/)&&c.legal.match(/src/)&&(c._legalWithContainedImages=Li._getHtmlStringWithContainedImages(this._containedImages,c.legal));const y=LForms.Util._internalUtil.checkForInvalidHtmlTags(c._legalWithContainedImages||c.legal,this.templateOptions.allowExternalURL);y&&y.length>0&&(c.legalHasInvalidHtmlTag=!0,h={},iv.addMsg(h,"invalidTagInLegalHTMLContent"),g=[{errors:h}],Li.printInvalidHtmlToConsole(y),Li.setItemMessagesArray(c,g,"_processCodingInstructionsAndLegal"))}}this.setMessageLevel(this.templateOptions.messageLevel)}}_lfItemValueFromDefaultAnswer(n){let e=n.defaultAnswer;if(null==e||""===e)return!1;!n._hasAnswerList&&(n.dataType===Je_DATA_TYPE_DTM||n.dataType===Je_DATA_TYPE_DT)&&"string"==typeof e&&(e=on.stringToDate(e),e||console.error(n.defaultAnswer+": Invalid date/datetime string as defaultAnswer for "+n.questionCode)),Li.assignValueToItem(n,e)}_setTreeNodes(n,e){const i=n.length,r=i-1;let o=null,a=1;for(let s=0;s<i;s++){const l=n[s];if(l.dataType===Je_DATA_TYPE_CNE?l.dataType=Je_DATA_TYPE_CODING:l.dataType===Je_DATA_TYPE_CWE&&(l.dataType=Je_DATA_TYPE_CODING,l.answerConstraint="optionsOrString"),as.initializeCodes(l),l._text=l.prefix?l.prefix+" "+l.question:l.question,l.header?l.dataType!==Je_DATA_TYPE_TITLE&&(l.dataType=Je_DATA_TYPE_SECTION):l.units&&!l.dataType?l.dataType=Je_DATA_TYPE_REAL:l.dataType||(l.dataType=Je_DATA_TYPE_ST),("string"==typeof l.answers||"number"==typeof l.answers)&&this.answerLists&&Array.isArray(this.answerLists[l.answers])&&(l.answers=this.answerLists[l.answers]),this._packageStore&&this._loadAnswerValueSetsFromPackage(l),l._hasAnswerList=Li.hasAnswerList(l),"SECTION"===l.dataType?l.displayControl?l.displayControl.questionLayout||(l.displayControl.questionLayout="vertical"):(l.displayControl={questionLayout:"vertical"},l.layout&&(l.displayControl.questionLayout=l.layout,delete l.layout)):l._hasAnswerList&&(l.displayControl?l.displayControl.answerLayout||(l.displayControl.answerLayout=on.deepCopy(this.templateOptions.defaultAnswerLayout.answerLayout)):l.displayControl=on.deepCopy(this.templateOptions.defaultAnswerLayout)),l.extension&&this._fhir&&(this._fhir.SDC.buildExtensionMap(l),this._hasResponsiveExpr=this._hasResponsiveExpr||this._fhir.SDC.hasResponsiveExpression(l),this._hasInitialExpr=this._hasInitialExpr||this._fhir.SDC.hasInitialExpression(l),l._hasListExpr=this._fhir.SDC.hasListExpression(l)),this._updateItemAttrs(l),l._hasAnswerList?this._resetItemValueWithAnswers(l):!this.hasSavedData&&null!=l.defaultAnswer&&null==l.value&&this._lfItemValueFromDefaultAnswer(l),l._questionRepeatable&&o&&o.linkId===l.linkId?a+=1:a=1,l._id=a,l._idPath=e._idPath+this.PATH_DELIMITER+l._id,!l.linkId)throw new Error("linkId is missing for item '"+l.question+"', but it is a required field for items.");if(l._elementId=l.linkId.replaceAll("\\","\\\\").replaceAll(this.PATH_DELIMITER,"\\"+this.PATH_DELIMITER)+l._idPath,l._displayLevel=e._displayLevel+1,l._displayLevel>this._totalLevelsOfHierarchy&&(this._totalLevelsOfHierarchy=l._displayLevel),l._lastSibling=s===r,l._firstSibling=0===s,this._setupInFieldPlaceholders(l),l.value&&!l._hasAnswerList&&(l.dataType===Je_DATA_TYPE_DT||l.dataType===Je_DATA_TYPE_DTM)&&(l.value=on.stringToDate(l.value)),!l._hasAnswerList&&(l.dataType===Je_DATA_TYPE_INT||l.dataType===Je_DATA_TYPE_REAL||l.dataType===Je_DATA_TYPE_QTY)&&"number"==typeof l.value&&(l.value=l.value+""),(l._answerRequired||l.restrictions||l.dataType!==Je_DATA_TYPE_ST&&l.dataType!==Je_DATA_TYPE_TX&&l.dataType!==Je_DATA_TYPE_DTM&&l.dataType!==Je_DATA_TYPE_DT&&l.dataType!==Je_DATA_TYPE_TM&&!l._hasAnswerList)&&(l._hasValidation=!0),l.items&&l.items.length>0&&this._setTreeNodes(l.items,l),l._questionRepeatable&&1===l._id){delete l._parentItem;const c=on.deepCopy(l);this._removeUserDataAndRepeatingSubItems(c),this._repeatableItems[l.linkId]=c}l._parentItem=e,o=l}}_setupInFieldPlaceholders(n){if(!n._readOnly)if(n._entryFormat)n._placeholder=n._entryFormat;else if(n._hasAnswerList)n._placeholder="optionsOrString"===n.answerConstraint?n.externallyDefined?n._multipleAnswers?Mn.placeholderSearchMultiOptionsOrString:Mn.placeholderSearchSingleOptionsOrString:n._multipleAnswers?Mn.placeholderSelectMultiOptionsOrString:Mn.placeholderSelectSingleOptionsOrString:n.externallyDefined?n._multipleAnswers?Mn.placeholderSearchMulti:Mn.placeholderSearchSingle:n._multipleAnswers?Mn.placeholderSelectMulti:Mn.placeholderSelectSingle;else switch(n.dataType){case Je_DATA_TYPE_DT:n._placeholder=Mn.placeholderDate;break;case Je_DATA_TYPE_DTM:n._placeholder=Mn.placeholderDateTime;break;case Je_DATA_TYPE_TM:n._placeholder=Mn.placeholderTime;break;case Je_DATA_TYPE_CODING:n.answerConstaint&&"optionsOnly"!==n.answerConstraint?"optionsOrString"===n.answerConstraint&&(n._placeholder=n.externallyDefined?n._multipleAnswers?Mn.placeholderSearchMultiOptionsOrString:Mn.placeholderSearchSingleOptionsOrString:n._multipleAnswers?Mn.placeholderSelectMultiOptionsOrString:Mn.placeholderSelectSingleOptionsOrString):n._placeholder=n.externallyDefined?n._multipleAnswers?"Search for values":"Search for value":n._multipleAnswers?"Select one or more":"Select one";break;case"SECTION":case"TITLE":case"":n._placeholder="";break;case Je_DATA_TYPE_INT:case Je_DATA_TYPE_REAL:case Je_DATA_TYPE_QTY:n._placeholder=Mn.placeholderTypeANumber;break;default:n._placeholder=Mn.placeholderTypeAValue}}_removeUserDataAndRepeatingSubItems(n){if(n.value=null,n.unit=null,n.items&&n.items.length>0)for(let e=0;e<n.items.length;e++){const i=n.items[e];i._questionRepeatable&&1!=i._id?(n.items.splice(e,1),e--):this._removeUserDataAndRepeatingSubItems(i)}}_updateItemAttrs(n){if(n.questionCardinality||(n.questionCardinality={min:"1",max:"1"}),n.answerCardinality||(n.answerCardinality={min:"0",max:"1"}),!Array.isArray(n.answers)&&""!==n.answers&&this.answerLists&&(n.answers=this.answerLists[n.answers]),this._containedImages&&n.codingInstructions&&n.codingInstructions.length>0&&this.templateOptions.allowHTML&&"html"===n.codingInstructionsFormat&&n.codingInstructions.match(/img/)&&n.codingInstructions.match(/src/)&&(n._codingInstructionsWithContainedImages=Li._getHtmlStringWithContainedImages(this._containedImages,n.codingInstructions)),Array.isArray(n.answers)&&n.dataType===Je_DATA_TYPE_CODING){const e=n.answerCodeSystem?as.getCodeSystem(n.answerCodeSystem):null;for(let i=0,r=n.answers.length;i<r;i++){const o=n.answers[i];o.system?o.system=as.getCodeSystem(o.system):o.codeSystem?(o.system=as.getCodeSystem(o.codeSystem),delete o.codeSystem):e&&(o.system=e)}}n._questionRepeatable=n.questionCardinality.max&&("*"===n.questionCardinality.max||parseInt(n.questionCardinality.max)>1),n._answerRequired=n.answerCardinality.min&&n.answerCardinality.min&&parseInt(n.answerCardinality.min)>=1,n._multipleAnswers=as._hasMultipleAnswers(n),n._readOnly=this.templateOptions.readonlyMode||"0"===n.editable||!!n.calculationMethod||Li.targetDisabledAndProtected(n),this._fhir&&(this._fhir.SDC.processExtensions(n,"obj_text"),this._fhir.SDC.processExtensions(n,"obj_prefix"))}isItemHidden(n){return(n._skipLogicStatus===Je_SKIP_LOGIC_STATUS_DISABLED||!1===n._enableWhenExpVal)&&"protected"!==n._disabledDisplayStatus||n.isHiddenInDef}_updateTreeNodes(n,e){let i=n.length,r=i-1,o=!1;for(var a=i-1;a>=0;a--){if((s=n[a])._id||(s._id=1),s._idPath=e._idPath+this.PATH_DELIMITER+s._id,s._elementId=s.linkId+s._idPath,s._displayLevel=e._displayLevel+1,s._displayLevel>this._totalLevelsOfHierarchy&&(this._totalLevelsOfHierarchy=s._displayLevel),s._parentItem=e,s._repeatingSectionList=null,this._updateItemAttrs(s),s._lastSibling=a===r,o||(this.isItemHidden(s)?(s._lastSibling=!1,r-=1):(s._lastSibling=!0,o=!0)),s._questionRepeatable&&1===s._id&&!this._repeatableItems[s.linkId]){delete s._parentItem;const h=on.deepCopy(s);this._removeUserDataAndRepeatingSubItems(h),this._repeatableItems[s.linkId]=h}s._parentItem=e,s.items&&s.items.length>0&&this._updateTreeNodes(s.items,s)}let l=!1,c=0;for(a=0;a<i;a++){var s;(s=n[a])._firstSibling=a===c,l||(s._skipLogicStatus===Je_SKIP_LOGIC_STATUS_DISABLED?(s._firstSibling=!1,c+=1):(s._firstSibling=!0,l=!0))}}getFormData(n,e,i){const r=this.getUserData(!1,n,e,i);let o=!1;for(let s=0,l=this.itemList.length;s<l;s++)if(!as.isItemValueEmpty(this.itemList[s].value)){o=!0;break}const a={lformsVersion:this.lformsVersion,PATH_DELIMITER:this.PATH_DELIMITER,code:this.code,codeList:this.codeList,identifier:this.identifier,codeSystem:this.codeSystem,name:this.name,type:this.type,template:this.template,copyrightNotice:this.copyrightNotice,url:this.url,version:this.version,items:r.itemsData,templateOptions:on.deepCopy(this.templateOptions)};return this.extension&&this.extension.length>0&&(a.extension=this.extension),o&&(a.hasSavedData=!0),this.fhirVersion&&(a.fhirVersion=this.fhirVersion),a}getUserData(n,e,i,r){const o={};return this._invalidData=!1,this._checkSubTreeValues(this.items),o.itemsData=this._processDataInItems(this.items,n,e,i,r),on.deepCopy(o)}checkValidity(){const n=[],e=this.itemList.length;for(let i=0;i<e;i++){const r=this.itemList[i];if(r._skipLogicStatus!==Je_SKIP_LOGIC_STATUS_DISABLED&&(this._checkValidations(r),void 0!==r._validationErrors&&r._validationErrors.length)){const o=r._validationErrors.map(a=>`${r.question} ${a}`);Array.prototype.push.apply(n,o)}}return n.length?n:null}_checkSubTreeValues(n){for(let e=0,i=n.length;e<i;e++)this._setSubTreeHasValue(n[e])}_setSubTreeHasValue(n){let e=!1;if(as.isItemValueEmpty(n.value)||(e=!0),n.items&&n.items.length>0)for(let i=0,r=n.items.length;i<r;i++)this._setSubTreeHasValue(n.items[i])&&(e=!0);return n._itemOrSubtreeHasValue=e,e}_processDataInItems(n,e,i,r,o){const a=[];for(let s=0,l=n.length;s<l;s++){const c=n[s],h={};if(!(r&&c._skipLogicStatus===Je_SKIP_LOGIC_STATUS_DISABLED||i&&!c._itemOrSubtreeHasValue&&c.dataType!==Je_DATA_TYPE_SECTION&&c.dataType!==Je_DATA_TYPE_TITLE)){if(e)h.questionCode=c.questionCode,c.dataType!==Je_DATA_TYPE_SECTION&&c.dataType!==Je_DATA_TYPE_TITLE&&(void 0!==c.value&&(h.value=this._getOriginalValue(c,c.value,c.dataType,c._hasAnswerList)),c.unit&&(h.unit=this._getOriginalValue(c,c.unit)));else{c.extension&&c.extension.length>0&&(h.extension=c.extension);for(const g in c)"value"===g?h[g]=this._getOriginalValue(c,c[g],c.dataType,c._hasAnswerList):"unit"===g?h[g]=this._getOriginalValue(c,c[g]):!g.match(/^[_\$]/)&&"extension"!==g&&(h[g]=c[g]),o&&(h._id=c._id)}c.items&&c.items.length>0&&(h.items=this._processDataInItems(c.items,e,i,r,o)),(!i||h.items&&0!==h.items.length||c._itemOrSubtreeHasValue)&&a.push(h)}}return a}_filterInternalData(n,e){let i={};if(e&&n._notOnList&&!n.code&&!n.system)i=n.text;else for(const r in n)r.match(/^[_\$]/)||(i[r]=n[r]);return i}getItemValues(n){let e;if(n._questionRepeatable){e=[];const i=n._parentItem.items,r=n.linkId;let o=!1;for(let a=0,s=i.length;a<s;++a){const l=i[a];if(l.linkId===r)as.isItemValueEmpty(l.value)||e.push(l.value),o=!0;else if(o)break}}else{const i=n.value;e=as.isItemValueEmpty(i)?[]:n._multipleAnswers?i:[i]}return e}_getObjectValue(n,e=!1){let i=null;if(n)if(Array.isArray(n)){const r=[];for(let o=0,a=n.length;o<a;o++)r.push("object"==typeof n[o]?this._filterInternalData(n[o],e):n[o]);i=r}else"object"==typeof n&&(i=this._filterInternalData(n,e));return i}_getOriginalValue(n,e,i=null,r=!1){let o;if(null!=e)if(i)switch(i){case Je_DATA_TYPE_INT:r?n.answerConstraint&&"optionsOnly"!==n.answerConstraint?"optionsOrString"===n.answerConstraint&&(o=this._getObjectValue(e,!0)):o=this._getObjectValue(e):Array.isArray(e)?o=e.map(a=>(on.isInteger(a)||(this._invalidData=!0),parseInt(a))):(on.isInteger(e)||(this._invalidData=!0),o=parseInt(e));break;case Je_DATA_TYPE_REAL:case Je_DATA_TYPE_QTY:on.isDecimal(e)||(this._invalidData=!0),"string"==typeof e&&(e=e.replace(Mn.decimalCharacter,".")),o=parseFloat(e);break;case Je_DATA_TYPE_DT:r?n.answerConstraint&&"optionsOnly"!==n.answerConstraint?"optionsOrString"===n.answerConstraint&&(o=this._getObjectValue(e,!0)):o=this._getObjectValue(e):o=Array.isArray(e)?e.map(a=>on.dateToDTStringISO(a)):on.dateToDTStringISO(e);break;case Je_DATA_TYPE_DTM:o=on.dateToDTMString(e);break;case Je_DATA_TYPE_CODING:n.answerConstraint&&"optionsOnly"!==n.answerConstraint?"optionsOrString"===n.answerConstraint&&(o=this._getObjectValue(e,!0)):o=this._getObjectValue(e);break;case Je_DATA_TYPE_BL:o=!!e;break;case Je_DATA_TYPE_ST:case Je_DATA_TYPE_TM:r?n.answerConstraint&&"optionsOnly"!==n.answerConstraint?"optionsOrString"===n.answerConstraint&&(o=this._getObjectValue(e,!0)):o=this._getObjectValue(e):o=e;break;default:o=e}else o=this._getObjectValue(e);return o}getRepeatingItemMaxId(n){let e=n._id;if(n._parentItem&&Array.isArray(n._parentItem.items))for(let i=0,r=n._parentItem.items.length;i<r;i++)n._parentItem.items[i].linkId===n.linkId&&n._parentItem.items[i]._id>e&&(e=n._parentItem.items[i]._id);return e}getRepeatingItemCount(n){let e=0;if(n._parentItem&&Array.isArray(n._parentItem.items))for(let i=0,r=n._parentItem.items.length;i<r;i++)n._parentItem.items[i].linkId===n.linkId&&e++;return e}_updateLastRepeatingItemsStatus(n){if(!n||0===n.length)return;const e=n.length;let i="",r=1;for(let o=0;o<e;o++){const a=n[o];""!==i?(n[o-1]._lastRepeatingItem=!(i===a.linkId||!n[o-1]._questionRepeatable||!("*"===n[o-1].questionCardinality.max||parseInt(n[o-1].questionCardinality.max)>r)),n[o-1]._minOccursNotMet=!!(n[o-1]._lastRepeatingItem&&parseInt(n[o-1].questionCardinality.min)>r),n[o-1]._maxOccursExcceeded=!!(i!==a.linkId&&n[o-1]._questionRepeatable&&parseInt(n[o-1].questionCardinality.max)<r),i===a.linkId?r++:r=1):r=1,i=a.linkId,a.items&&a.items.length>0&&this._updateLastRepeatingItemsStatus(a.items)}n[e-1]._lastRepeatingItem=!(!n[e-1]._questionRepeatable||!("*"===n[e-1].questionCardinality.max||parseInt(n[e-1].questionCardinality.max)>r)),n[e-1]._minOccursNotMet=!!(n[e-1]._lastRepeatingItem&&parseInt(n[e-1].questionCardinality.min)>r),n[e-1]._maxOccursExcceeded=!!(n[e-1]._questionRepeatable&&parseInt(n[e-1].questionCardinality.max)<r),n[e-1].items&&n[e-1].items.length>0&&this._updateLastRepeatingItemsStatus(n[e-1].items)}_getLastSubItem(n){let e=n;if(n&&Array.isArray(n.items)&&n.items.length>0){let i,r=n.items.length,o=!1;do{i=n.items[--r],i._skipLogicStatus!==Je_SKIP_LOGIC_STATUS_DISABLED&&(o=!0)}while(!o);o&&(e=this._getLastSubItem(i))}return e}_resetHorizontalTableInfo(){this._horizontalTableInfo={};let n=null,e=null;for(let o=0,a=this.itemList.length;o<a;o++){const s=this.itemList[o];if(s.dataType===Je_DATA_TYPE_SECTION&&s.displayControl&&"horizontal"==s.displayControl.questionLayout){let l=[];const c=[];s._inHorizontalTable=!0;const h=s.linkId+s._parentItem._idPath;if(e=s._elementId,null===n||n!==h){n=h,s._horizontalTableHeader=!0,s._horizontalTableId=n,l=s.items;for(var i=0,r=l.length;i<r;i++){const g=l[i];c.push({item:g,id:"col"+g._elementId,displayControl:g.displayControl}),l[i]._inHorizontalTable=!0}this._horizontalTableInfo[n]={tableStartIndex:o,tableEndIndex:o+l.length,columnHeaders:c,tableRows:[{header:s,cells:l}],tableHeaders:[s]},this._horizontalTableInfo[n].lastHeaderId=e}else if(n===h){for(s._horizontalTableHeader=!1,l=s.items,i=0,r=l.length;i<r;i++)l[i]._inHorizontalTable=!0;this._horizontalTableInfo[n].tableRows.push({header:s,cells:l}),this._horizontalTableInfo[n].tableHeaders.push(s),this._horizontalTableInfo[n].tableEndIndex=o+l.length,this._horizontalTableInfo[n].lastHeaderId=e}}}}_adjustLastSiblingListForHorizontalLayout(){const n=this._horizontalTableInfo;for(const e in n){const i=n[e].tableHeaders;i.length>1&&(i[0]._lastSibling=i[i.length-1]._lastSibling)}}addRepeatingItems(n){const e=this.getRepeatingItemMaxId(n),i=this._repeatableItems[n.linkId];this._fillAnswersInRepeatItem(i,n);const r=on.deepCopy(i);if(r._id=e+1,n._parentItem&&Array.isArray(n._parentItem.items)){let a=0;for(let s=0,l=n._parentItem.items.length;s<l;s++)if(n._parentItem.items[s].linkId===n.linkId&&n._parentItem.items[s]._id===n._id){a=s;break}n._parentItem.items.splice(a+1,0,r),r._parentItem=n._parentItem,this._presetSkipLogicStatus(r,!1)}this._resetInternalData();const o=Mn.added+this.itemDescription(n);return this._actionLogs.push(o),LForms.FHIR&&this._hasResponsiveExpr&&this._expressionProcessor.runCalculations(!1).then(()=>{}),r}_fillAnswersInRepeatItem(n,e){n.items&&Array.isArray(n.items)&&n.items.length>0&&n.items.forEach(i=>{const r=e.items.find(o=>o.linkId===i.linkId);r&&(!i.answers&&r.answers&&(i.answers=r.answers),this._fillAnswersInRepeatItem(i,r))})}_findIndexForNewRepetition(n){let e=0,i=!1;for(var r=0,o=n._parentItem.items.length;r<o;r++)if(n._parentItem.items[r].linkId===n.linkId&&(i=!0),i&&n._parentItem.items[r].linkId!==n.linkId){e=r;break}return i&&r===o&&(e=r),e}appendRepeatingItems(n){const e=this.getRepeatingItemMaxId(n),i=on.deepCopy(this._repeatableItems[n.linkId]);if(i._id=e+1,n._parentItem&&Array.isArray(n._parentItem.items)){const o=this._findIndexForNewRepetition(n);n._parentItem.items.splice(o,0,i),i._parentItem=n._parentItem,this._presetSkipLogicStatus(i,!1)}this._resetInternalData();const r=Mn.added+this.itemDescription(n);return this._actionLogs.push(r),i}areAnyRepeatingItemsEmpty(n){let e=!1;const i=this._getRepeatingItems(n);for(let r=0,o=i.length;r<o;r++)i[r]._showUnusedItemWarning=!1,this._isRepeatingItemEmpty(i[r])&&(e=!0);return e&&(n._showUnusedItemWarning=!0),e}_isRepeatingItemEmpty(n){let e=!0;if(n.dataType!==Je_DATA_TYPE_SECTION){if(null==n.value||""===n.value)return e;if(n._skipLogicStatus!==Je_SKIP_LOGIC_STATUS_DISABLED)if(Array.isArray(n.value)&&n.value.length>0){let i=!1;for(let r=0,o=n.value.length;r<o&&(n.value[r].text&&(i=null!=n.value[r].text&&""!==n.value[r].text),!i);r++);e=!i}else if("object"==typeof n.value){const i=n.value;e=!(null!=i.data||i.url||i.text||i instanceof Date)}else null!=n.value&&""!==n.value&&(e=!1)}if(e&&n.items)for(let i=0,r=n.items.length;i<r&&(e=this._isRepeatingItemEmpty(n.items[i]),e);i++);return e}_getRepeatingItems(n){const e=[];if(n._questionRepeatable&&n._parentItem&&Array.isArray(n._parentItem.items)){const i=n._parentItem.items;for(let r=0,o=i.length;r<o;r++)i[r].linkId===n.linkId&&e.push(i[r])}return e}getPrevRepeatingItem(n){const e=this._getRepeatingItems(n),r=e.map(function(o){return o._elementId}).indexOf(n._elementId);return r>0?e[r-1]:null}getNextRepeatingItem(n){const e=this._getRepeatingItems(n),r=e.map(function(o){return o._elementId}).indexOf(n._elementId);return r<e.length-1?e[r+1]:null}getFirstRepeatingItem(n){return this._getRepeatingItems(n)[0]}getLastRepeatingItem(n){const e=this._getRepeatingItems(n);return e[e.length-1]}removeRepeatingItems(n){if(n._parentItem&&Array.isArray(n._parentItem.items))for(let i=0,r=n._parentItem.items.length;i<r;i++)if(n._parentItem.items[i].linkId==n.linkId&&n._parentItem.items[i]._id==n._id){n._parentItem.items.splice(i,1);break}this._resetInternalData();const e=Mn.removed+this.itemDescription(n);this._actionLogs.push(e),LForms.FHIR&&this._hasResponsiveExpr&&this._expressionProcessor.runCalculations(!1).then(()=>{})}setRepeatingItems(n,e,i,r){let a,o=!1,s=!1,l=!1;if(on.deepEqual(n._lastComputedMessages,i)||(n._lastComputedRepeatingMessages=i,s=!0),n._questionRepeatable){if(n._parentItem&&Array.isArray(n._parentItem.items)){a=this._getRepeatingItems(n);let x,B,y=e.length-a.length;if(o=0!==y,y<0&&(B=this._findIndexForNewRepetition(n)+y,n._parentItem.items.splice(B,-y),a.splice(y),0===e.length&&(y=1,x=0)),y>0){void 0===B&&(B=this._findIndexForNewRepetition(n),x=this.getRepeatingItemMaxId(n));const ee=n._parentItem._skipLogicStatus===Je_SKIP_LOGIC_STATUS_DISABLED;for(var c=0;c<y;++c){const re=on.deepCopy(this._repeatableItems[n.linkId]);re._id=x+c+1,n._parentItem.items.splice(B+c,0,re),re._parentItem=n._parentItem,a.push(re),this._presetSkipLogicStatus(re,ee)}}c=0;for(var h=e.length;c<h;++c)l=Li.assignValueToItem(a[c],e[c])||l,s&&Li.setItemMessages(a[c],i[c],r)}}else n._multipleAnswers?n.value=e:(l=Li.assignValueToItem(n,e[0])||l,e.length>1?(Li.addItemWarning(n,"MultipleValuesForNonRepeat"),console.log(JSON.stringify(e))):Li.removeItemWarning(n,"MultipleValuesForNonRepeat")),s&&Li.setItemMessagesArray(n,i,r);o&&this._resetInternalData();const g="Set values for "+this.itemDescription(n);return this._actionLogs.push(g),l&&this.updateOnSourceItemChange(n),o?a[a.length-1]:void 0}setRepeatingItemMessages(n,e,i){if(!on.deepEqual(n._lastComputedMessages,e))if(n._lastComputedRepeatingMessages=e,n._questionRepeatable){if(n._parentItem&&Array.isArray(n._parentItem.items)){const r=this._getRepeatingItems(n);for(let o=0,a=r.length;o<a;++o)Li.setItemMessages(r[o],e[o],i)}}else Li.setItemMessagesArray(n,e,i)}itemDescription(n){return n._inHorizontalTable?"row":n.dataType===Je_DATA_TYPE_SECTION?"section":"question"}_getScores(n,e){const i=[],r=this._getFormulaSourceItems(n,e.value);for(let o=0,a=r.length;o<a;o++){let l=0;(n=r[o])&&n.value&&n.value.score&&n._skipLogicStatus!==Je_SKIP_LOGIC_STATUS_DISABLED&&(l=n.value.score),i.push(l)}return i}_getFormulaSourceItems(n,e){const i=[];for(let r=0,o=e.length;r<o;r++){const s=this._findItemByLinkId(n,e[r]);i.push(s)}return i}_getValuesInStandardUnit(n,e){const i=[],r=this._getFormulaSourceItems(n,e.value);for(let o=0,a=r.length;o<a;o++){let s=null;(n=r[o]).value&&n._skipLogicStatus!==Je_SKIP_LOGIC_STATUS_DISABLED&&(s=n.unit&&n.unit.name?gre.getValueInStandardUnit(parseFloat(n.value),n.unit.name):parseFloat(n.value)),i.push(s)}return i}getFormulaResult(n){let e="",i=[];if(n.calculationMethod){const r=n.calculationMethod;i=r.name===Je_CALCULATION_METHOD_TOTALSCORE?this._getScores(n,r):this._getValuesInStandardUnit(n,r),e=vre.calculations_[r.name](i)}return e}_processItemFormula(n){let e=!1;if(n.calculationMethod&&n.calculationMethod.name){const i=this.getFormulaResult(n);on.deepEqual(i,n.value)||(n.value=i,e=!0)}return e}_processItemDataControl(n){let e=!1;return n.dataControl&&Array.isArray(n.dataControl)&&(e=this._updateDataByDataControl(n),e&&(this._updateAutocompOptions(n),this._updateUnitAutocompOptions(n))),e}_constructObjectByDataFormat(n,e){const i={};if("object"==typeof n){const r=Object.keys(n);for(let o=0,a=r.length;o<a;o++)i[r[o]]=this._getDataFromNestedAttributes(n[r[o]],e)}return i}_constructArrayByDataFormat(n,e){let i=[],r=!1;if("object"==typeof n){const a=Object.keys(n),s={},l=a.length;let c=-1;for(var o=0;o<l;o++){const h=s[a[o]]=this._getDataFromNestedAttributes(n[a[o]],e);if(!Array.isArray(h)){r=!0;break}if(-1===c)c=h.length;else if(c!==h.length){r=!0;break}}if(!r)for(let h=0;h<c;h++){const g={};for(o=0;o<l;o++)g[a[o]]=s[a[o]][h];i.push(g)}}return i}_updateDataByDataControl(n){let e=!1;for(let i=0,r=n.dataControl.length;i<r;i++){let o=n.dataControl[i].source,a=n.dataControl[i].onAttribute,s=n.dataControl[i].construction,l=n.dataControl[i].dataFormat;if(a||(a="value"),s||(s=Je_DATA_CONTROL_CONSTRUCTION_SIMPLE),l||(l="value"),o){let c=o.sourceType;if(c||(c=Je_DATA_CONTROL_SOURCE_INTERNAL),c===Je_DATA_CONTROL_SOURCE_INTERNAL&&o.sourceLinkId){const h=this._findItemByLinkId(n,o.sourceLinkId);if(h&&h._skipLogicStatus!==Je_SKIP_LOGIC_STATUS_DISABLED){let g;s===Je_DATA_CONTROL_CONSTRUCTION_ARRAY?g=this._constructArrayByDataFormat(l,h):s===Je_DATA_CONTROL_CONSTRUCTION_OBJECT?g=this._constructObjectByDataFormat(l,h):s===Je_DATA_CONTROL_CONSTRUCTION_SIMPLE&&(g=this._getDataFromNestedAttributes(l,h)),on.deepEqual(n[a],g)||(n[a]=on.deepCopy(g),e=!0)}}}}return e}_getDataFromNestedAttributes(n,e){const i=n.trim().split(".");for(var r=e,o=i.length,a=0;a<o&&r;a++){const s=i[a];if(!s)break;{const l=s.match(/^(.+)\[(\d+)\]$/);if(l){r=r[l[1]];const h=parseInt(l[2]);if(!Number.isInteger(h))break;r=r[h]}else r=r[s]}}return a===o&&r?r:null}_setUpAnswerAndUnitAutoComp(n){for(let e=0,i=n.length;e<i;e++){const r=n[e];r._hasAnswerList&&this._updateAutocompOptions(r),this._updateUnitAutocompOptions(r)}}_setUnitDisplay(n){n._displayUnit=n.name?n.name:n.code?n.code:null}_updateUnitAutocompOptions(n){if(n.units&&!n._hasAnswerList){n.unit&&this._setUnitDisplay(n.unit),n._unitAutocompOptions=null;const e=[],i=n.units;let r;for(let o=0,a=i.length;o<a;o++){const s=on.deepCopy(i[o]);this._setUnitDisplay(s),i[o].default&&(r=s),s._displayUnit&&e.push(s)}if((n.dataType===Je_DATA_TYPE_INT||n.dataType===Je_DATA_TYPE_REAL)&&(n.units&&n.units.length>1?(console.log('Form definition warning: Data types of INT or REAL may only have one unit.  Question "'+n.question+'" has '+n.units.length+" units.  For multiple units, use type QTY instead."),n.dataType=Je_DATA_TYPE_QTY):(n._unitReadonly=!0,n.unit||(n.unit=e[0]))),n.dataType===Je_DATA_TYPE_QTY){const o={listItems:e,matchListValue:n.units&&(!n._unitOpen||"optionsOrString"!=n._unitOpen)||!n.units&&"optionsOnly"==n._unitOpen,autoFill:!0,display:"_displayUnit"};void 0!==r?o.defaultValue=r:1===e.length&&(o.defaultValue=e[0]),on.deepEqual(n._unitAutocompOptions,o)||(n._unitAutocompOptions=o)}}}_resetItemValueWithAnswers(n){if(n._hasAnswerList){let e=null;const i=this.hasSavedData?n.value:n.value||n.defaultAnswer;if(i){e=[];const r=n._multipleAnswers&&Array.isArray(i)?i:[i];if("optionsOrString"!==n.answerConstraint)e=r;else for(let o=0,a=r.length;o<a;++o)"string"==typeof r[o]||"number"==typeof r[o]?(e.push({text:r[o],_notOnList:!0}),n._answerOther=r[o],n._answerOtherChecked=!0):e.push(r[o])}if(e){let r=[];for(let a=0,s=e.length;a<s;++a){const l=e[a];let c=!1;if(n.externallyDefined)r=e;else if(Array.isArray(n.answers)){for(let h=0,g=n.answers.length;!c&&h<g;++h)on.areTwoAnswersSame(l,n.answers[h],n)&&(r.push(n.answers[h]),c=!0);!c&&"optionsOrString"===n.answerConstraint&&l&&(l._notOnList=!0,r.push(l))}else r.push(l)}n.value=n._multipleAnswers?r:r[0]}}}_fhirClientSearchByValueSetID(n,e,i){return LForms.fhirContext.client.request(this._buildURL(["ValueSet",n,"$expand"],{count:i,filter:e}))}_findValueSetIDAndSearch(n,e,i){const r="Could not retrieve the ValueSet definition for "+n.answerValueSet,o=LForms.fhirContext.client;LForms._valueSetUrlToID||(LForms._valueSetUrlToID={});const a=LForms._valueSetUrlToID[n.answerValueSet];if(a)return this._fhirClientSearchByValueSetID(a,e,i);{const s=this;return o.request(this._buildURL(["ValueSet"],{url:n.answerValueSet,_total:"accurate"})).then(function(l){if(1===l.total){const h=l.entry[0].resource.id;return LForms._valueSetUrlToID[n.answerValueSet]=h,s._fhirClientSearchByValueSetID(h,e,i)}return console.log(r),Promise.reject(r)},function(l){return console.log(r),Promise.reject(r)})}}_updateAutocompOptions(n){if(n._hasAnswerList){let r=n.answerCardinality?n.answerCardinality.max:1;"*"!==r&&"string"==typeof r&&(r=parseInt(r));const o={matchListValue:"optionsOrString"!==n.answerConstraint,maxSelect:r,autoFill:!1},a=n.externallyDefined;if(a){if(o.url=a,o.autocomp=!0,o.nonMatchSuggestions=!1,o.tableFormat=!0,o.valueCols=[0],o.colHeaders=n.displayControl.listColHeaders,o.colHeaders){const s=o.colHeaders;for(var e=0,i=s.length;e<i;++e)s[e]=s[e].replace(/</g,"&lt;")}o.url.startsWith("https://snowstorm.ihtsdotools.org/")&&(o.frequency=.5)}else if(n.isSearchAutocomplete&&n.answerValueSet){const l=this._getFHIRSupport().SDC._getExpansionURL(n);if(l)o.url=l,o.fhir=!0;else{if(!LForms.fhirContext?.client)throw new Error('Cannot properly initialize the list for field "'+n.question+'" because it requires either a terminology server to be specified or LForms.Util.setFHIRContext(...) to have been called to provide access to a FHIR server.');{const c=this;o.fhir={search:function(h,g){return LForms.fhirCapabilities.urlExpandBroken?c._findValueSetIDAndSearch(n,h,g):LForms.fhirContext.client.request(c._buildURL(["ValueSet","$expand"],{count:g,filter:h,url:n.answerValueSet})).catch(y=>(LForms.fhirCapabilities.urlExpandBroken=!0,c._findValueSetIDAndSearch(n,h,g)))}},o.url?.startsWith("https://snowstorm.ihtsdotools.org/")&&(o.frequency=.5)}}}else{[o.listItems,o.addSeqNum]=this._getAnswerDisplayTextWithLabelAndScore(this.templateOptions.displayScoreWithAnswerText,n),o.display="_displayText",o.listItemsForModel=n.answers;const s=o.listItems;let l=!0;for(e=0,i=s.length;e<i&&l;++e)l=!!s[e].parentAnswerCode;if(!l){const c=[],h={};for(e=0,i=s.length;e<i;++e){const y=s[e];c.push(y.code),y.parentAnswerCode&&(h[y.code]=y.parentAnswerCode)}o.codes=c,o.itemToHeading=h}if(!n.displayControl||!n.displayControl.answerLayout||"RADIO_CHECKBOX"!==n.displayControl.answerLayout.type){o.isListHTML=s.some(c=>"html"===c._displayType);for(let c=0;c<s.length;++c)"html"===s[c]._displayType?s[c]._displayText=s[c]._displayTextHTML:"escaped"===s[c]._displayType?s[c]._displayText=LForms.Util.escapeAttribute(s[c]._displayTextHTML):o.isListHTML&&(s[c]._displayText=LForms.Util.escapeAttribute(s[c]._displayText))}}on.deepEqual(o,n._autocompOptions)||(n._autocompOptions=o)}}getTextDisplayType(n){let e="plain";return n._displayTextHTML&&n._displayTextHTML.length>0&&this.templateOptions.allowHTML&&(e=n._hasInvalidHTMLTagInText?this.templateOptions.displayInvalidHTML?"escaped":"plain":"html"),e}getPrefixDisplayType(n){let e="plain";return n._prefixHTML&&n._prefixHTML.length>0&&this.templateOptions.allowHTML&&(e=n._hasInvalidHTMLTagInPrefix?this.templateOptions.displayInvalidHTML?"escaped":"plain":"html"),e}_getAnswerDisplayTextWithLabelAndScore(n,e){const i=[];let r=!1,o=!1;const a=e.answers;if(a&&Array.isArray(a))for(let l=0,c=a.length;l<c;l++){const h=on.deepCopy(a[l]);let g=(h.text||h.code)+"",L=h.textHTML;h.label?(g=h.label+". "+g,r=!0,L&&(L=h.label+". "+L)):!o&&!isNaN(h.text)&&(o=!0),null!=h.score&&(e._hasScoreInAnswer=!0,n&&(g=g+" - "+h.score,L&&(L=L+" - "+h.score))),h._displayText=g,h._displayTextHTML=L,h._displayType=this.getTextDisplayType(h),i.push(h)}return[i,!r&&!o]}_inRange(n,e){let i=!1;if(n&&!isNaN(e)){const r=Object.keys(n);if(1==r.length)switch(r[0]){case"minInclusive":i=n.minInclusive<=e;break;case"minExclusive":i=n.minExclusive<e;break;case"maxInclusive":i=n.maxInclusive>=e;break;case"maxExclusive":i=n.maxExclusive>e}else 2==r.length&&(n.hasOwnProperty("minInclusive")?i=n.minInclusive<=e:n.hasOwnProperty("minExclusive")&&(i=n.minExclusive<e),i&&(n.hasOwnProperty("maxInclusive")?i=n.maxInclusive>=e:n.hasOwnProperty("maxExclusive")&&(i=n.maxExclusive>e)))}return i}_objectEqual(n,e){return on.shallowEqual(n,e)}_findItemByLinkId(n,e){let i=null,r=n._parentItem,o=!1;for(;!o&&r;)r.linkId===e&&(i=r,o=!0),r=r._parentItem;let a=null;if(!i){for(let s=0,l=this.itemList.length;s<l;s++)if(n._elementId===this.itemList[s]._elementId){a=s;break}if(null!==a){for(let s=a-1;s>=0;s--)if(this.itemList[s].linkId===e){i=this.itemList[s];break}if(!i)for(let s=a+1,l=this.itemList.length;s<l;s++)if(this.itemList[s].linkId===e){i=this.itemList[s];break}}}return i}_getSkipLogicSourceItem(n,e){return this._findItemByLinkId(n,e)}_codingsEqual(n,e){let i=!1;const r=o=>null!=o&&""!==o;return(n.system===e.system||!n.system&&!e.system)&&(i=r(n.code)||r(e.code)?n.code===e.code:n.text&&e.text&&n.text===e.text),!!i}_checkSkipLogicCondition(n,e){let i=!1;const r=n&&null!=n.value&&""!==n.value&&n._skipLogicStatus!==Je_SKIP_LOGIC_STATUS_DISABLED;if(e.hasOwnProperty("exists"))i=e.exists&&r||!e.exists&&!r;else if(r){const c=n.value;if(n._hasAnswerList)switch(n.dataType){case Je_DATA_TYPE_CODING:case Je_DATA_TYPE_INT:case Je_DATA_TYPE_ST:case Je_DATA_TYPE_DT:case Je_DATA_TYPE_TM:var o=e.hasOwnProperty("value")?e.value:e.hasOwnProperty("notEqual")?e.notEqual:null,a=Array.isArray(c)?c:[c],s=!1;for(let h=0,g=a.length;h<g;h++){let L=a[h];if(n.dataType===Je_DATA_TYPE_CODING){if(n.answerCodeSystem&&(L=Object.assign({system:n.answerCodeSystem},L)),this._codingsEqual(o,L)){s=!0;break}}else if(o===L.text){s=!0;break}}e.hasOwnProperty("value")?s&&(i=!0):e.hasOwnProperty("notEqual")&&(s||(i=!0))}else switch(n.dataType){case Je_DATA_TYPE_INT:case Je_DATA_TYPE_REAL:case Je_DATA_TYPE_QTY:var l=parseFloat(c);e.hasOwnProperty("value")?e.value===l&&(i=!0):e.hasOwnProperty("notEqual")?e.notEqual!=l&&(i=!0):this._inRange(e,l)&&(i=!0);break;case Je_DATA_TYPE_ST:case Je_DATA_TYPE_TX:case Je_DATA_TYPE_BL:e.hasOwnProperty("value")?e.value===c&&(i=!0):e.hasOwnProperty("notEqual")&&e.notEqual!=c&&(i=!0)}}else e.hasOwnProperty("notEqual")&&null!=e.notEqual&&""!==e.notEqual&&(i=!0);return i}_checkSkipLogic(n){let e=!1;if(n.skipLogic){const i="ALL"===n.skipLogic.logic,r=!n.skipLogic.logic||"ANY"===n.skipLogic.logic;e=i;for(let o=0,a=n.skipLogic.conditions.length;o<a;o++){const s=n.skipLogic.conditions[o],l=this._getSkipLogicSourceItem(n,s.source),c=this._checkSkipLogicCondition(l,s.trigger);if(i&&!c){e=!1;break}if(r&&c){e=!0;break}}}return e}getSkipLogicClass(n){return n._skipLogicStatus}needExtra(n){let e=!1;return n&&n.value&&!Array.isArray(n.value)&&n.value.other&&(e=!0),e}setActiveRow(n){this._activeItem=n}getActiveRowClass(n){let e="";return this._activeItem&&this._activeItem._elementId===n._elementId&&(e="lhc-active-row"),e}}const _re={LOINC_URI:"http://loinc.org",LOINC_CS:"LN",obrFieldNum:43,obxFieldNum:17,DataType:{ST:"String",TX:"Text data",FT:"Formatted text",CQ:"Composite quantity with units",MO:"Money",NM:"Numeric",SI:"Sequence ID",SN:"Structured numeric",ID:"Coded values for HL7 tables",IS:"Coded values for user-defined tables",HD:"Hierarchic designator",EI:"Entity identifier",RP:"Reference pointer",PL:"Person location",PT:"Processing type",DT:"Date",DTM:"Date/Time",TM:"Time",TS:"Time stamp",CE:"Coded element",CF:"Coded element with formatted values",CK:"Composite ID with check digit",CN:"Composite ID number and name",CX:"Extended composite ID with check digit",XCN:"Extended composite ID number and name",CM:"Composite",AD:"Address",PN:"Person name",TN:"Telephone number",XAD:"Extended address",XPN:"Extended person name",XON:"Extended composite name and ID number for organizations",XTN:"Extended telecommunications number",CD:"Channel definition",MA:"Multiplexed array",NA:"Numeric array",ED:"Encapsulated data",CP:"Composite price",FC:"Financial class",QSC:"Query selection criteria",QIP:"Query input parameter list",RCD:"Row column definition",DLN:"Driver\u2019s license number",JCC:"Job code/class",VH:"Visiting hours",PPN:"Performing person time stamp",DR:"Date/time range",RI:"Repeat interval",SCV:"Scheduling class value pair",TQ:"Timing/quantity"},delimiters:{segment:"\r",field:"|",component:"^",subcomponent:"&",repetition:"~",escape:"\\"},OBX:[{seq:1,len:4,dt:"SI",opt:"O",name:"Set ID"},{seq:2,len:2,dt:"ID",opt:"R",name:"Value Type"},{seq:3,len:590,dt:"CE",opt:"R",name:"Observation Identifier"},{seq:4,len:20,dt:"ST",opt:"O",name:"Observation Sub-ID"},{seq:5,len:65536,dt:"ST",opt:"O",name:"Observation Value"},{seq:6,len:60,dt:"CE",opt:"O",name:"Units"},{seq:7,len:10,dt:"ST",opt:"O",name:"Reference Range"},{seq:8,len:5,dt:"ID",opt:"O",name:"Abnormal Flags"},{seq:9,len:5,dt:"NM",opt:"O",name:"Probability"},{seq:10,len:2,dt:"ID",opt:"O",name:"Nature of Abnormal Test"},{seq:11,len:1,dt:"ID",opt:"R",name:"Observation Result Status"},{seq:12,len:26,dt:"TS",opt:"O",name:"Date Last Obs Normal Values"},{seq:13,len:20,dt:"ST",opt:"O",name:"User Defined Access Checks"},{seq:14,len:26,dt:"TS",opt:"O",name:"Date/Time of the Observation"},{seq:15,len:60,dt:"CE",opt:"O",name:"Producer's ID"},{seq:16,len:80,dt:"XCN",opt:"O",name:"Responsible Observer"},{seq:17,len:80,dt:"CE",opt:"O",name:"Observation Method"}],OBR:[{seq:1,len:4,dt:"SI",opt:"C",name:"Set ID - OBR"},{seq:2,len:75,dt:"EI",opt:"C",name:"Placer Order Number"},{seq:3,len:75,dt:"EI",opt:"C",name:"Filler Order Number"},{seq:4,len:200,dt:"CE",opt:"R",name:"Universal Service ID"},{seq:5,len:2,dt:"ID",opt:"B",name:"Priority"},{seq:6,len:26,dt:"TS",opt:"B",name:"Requested Date/time"},{seq:7,len:26,dt:"TS",opt:"C",name:"Observation Date/Time"},{seq:8,len:26,dt:"TS",opt:"O",name:"Observation End Date/Time"},{seq:9,len:20,dt:"CQ",opt:"O",name:"Collection Volume"},{seq:10,len:60,dt:"XCN",opt:"O",name:"Collector Identifier"},{seq:11,len:1,dt:"ID",opt:"O",name:"Specimen Action Code"},{seq:12,len:60,dt:"CE",opt:"O",name:"Danger Code"},{seq:13,len:300,dt:"ST",opt:"O",name:"Relevant Clinical Info."},{seq:14,len:26,dt:"TS",opt:"C",name:"Specimen Received Date/Time"},{seq:15,len:300,dt:"CM",opt:"O",name:"Specimen Source"},{seq:16,len:80,dt:"XCN",opt:"O",name:"Ordering Provider"},{seq:17,len:40,dt:"XTN",opt:"O",name:"Order Callback Phone Number"},{seq:18,len:60,dt:"ST",opt:"O",name:"Placer field 1"},{seq:19,len:60,dt:"ST",opt:"O",name:"Placer field 2"},{seq:20,len:60,dt:"ST",opt:"O",name:"Filler Field 1"},{seq:21,len:60,dt:"ST",opt:"O",name:"Filler Field 2"},{seq:22,len:26,dt:"TS",opt:"C",name:"Results Rpt/Status Chng - Date/Time"},{seq:23,len:40,dt:"CM",opt:"O",name:"Charge to Practice"},{seq:24,len:10,dt:"ID",opt:"O",name:"Diagnostic Serv Sect ID"},{seq:25,len:1,dt:"ID",opt:"C",name:"Result Status"},{seq:26,len:400,dt:"CM",opt:"O",name:"Parent Result"},{seq:27,len:200,dt:"TQ",opt:"O",name:"Quantity/Timing"},{seq:28,len:150,dt:"XCN",opt:"O",name:"Result Copies To"},{seq:29,len:150,dt:"CM",opt:"O",name:"Parent"},{seq:30,len:20,dt:"ID",opt:"O",name:"Transportation Mode"},{seq:31,len:300,dt:"CE",opt:"O",name:"Reason for Study"},{seq:32,len:200,dt:"CM",opt:"O",name:"Principal Result Interpreter"},{seq:33,len:200,dt:"CM",opt:"O",name:"Assistant Result Interpreter"},{seq:34,len:200,dt:"CM",opt:"O",name:"Technician"},{seq:35,len:200,dt:"CM",opt:"O",name:"Transcriptionist"},{seq:36,len:26,dt:"TS",opt:"O",name:"Scheduled Date/Time"},{seq:37,len:4,dt:"NM",opt:"O",name:"Number of Sample Containers"},{seq:38,len:60,dt:"CE",opt:"O",name:"Transport Logistics of Collected Sample"},{seq:39,len:200,dt:"CE",opt:"O",name:"Collector\u2019s Comment"},{seq:40,len:60,dt:"CE",opt:"O",name:"Transport Arrangement Responsibility"},{seq:41,len:30,dt:"ID",opt:"O",name:"Transport Arranged"},{seq:42,len:1,dt:"ID",opt:"O",name:"Escort Required"},{seq:43,len:200,dt:"CE",opt:"O",name:"Planned Patient Transport Comment"}],getHL7V2DataType:function(t){var e,n=t.dataType;switch(n){case"INT":case"REAL":case"QTY":e="NM";break;case"NR":case"TX":case"DT":case"DTM":case"TM":e=n;break;case"CODING":t.answerConstraint&&"optionsOnly"!==t.answerConstraint?"optionsOrString"===t.answerConstraint&&(e="CWE"):e="CNE";break;default:e="ST"}return e},toHL7Segments:function(t){var n="",e={obrIndex:1,obxIndex:1},i=t.getFormData(!1,!0);this._generateOBX4(i);var r=new Array(this.obrFieldNum);r[0]="OBR",r[1]="1",r[4]=i.code+this.delimiters.component+i.name+this.delimiters.component+this.LOINC_CS;for(var a=this.obrFieldNum-1;a>=0;a--)void 0===r[a]||(void 0!==r[a]?n=r[a]+this.delimiters.field+n:n+=this.delimiters.field);if(n+=this.delimiters.segment,i.items)for(var l=0,c=i.items.length;l<c;l++)"TITLE"!==i.items[l].dataType&&(n+=this._itemToHL7v2(i.items[l],e));return n},_generateOBX4:function(t){t&&t.items&&this._precessOBX4AtOneLevel("",t.items)},_precessOBX4AtOneLevel:function(t,n){for(var e=0,i=1,r=null,o=0,a=n.length;o<a;o++){var l,s=n[o];if("SECTION"===s.dataType)if((l=s.questionCardinality.max)&&("*"===l||parseInt(l)>1)){if(this._isSectionEmpty(s))continue;!r||r&&r.questionCode!==s.questionCode?(i=1,e+=1):i+=1;var c=on.getNextLetter(i);s._obx4=t?t+"."+e+c:e+c,this._precessOBX4AtOneLevel(s._obx4,s.items)}else i=1,e+=1,s._obx4=t?t+"."+e:e,this._precessOBX4AtOneLevel(s._obx4,s.items);else if((l=s.questionCardinality.max)&&("*"===l||parseInt(l)>1)){if(as.isItemValueEmpty(s.value))continue;!r||r&&r.questionCode!==s.questionCode?i=1:i+=1,c=on.getNextLetter(i),s._obx4=t?t+"."+c:c}else s._obx4=t||"",i=1;r=s}},_generateOBX5:function(t,n,e){var r=t.code;return"CWE"!==n||r||0===r?r+this.delimiters.component+t.text+this.delimiters.component+(t.system?"LOINC"===t.system||t.system===this.LOINC_URI?this.LOINC_CS:t.system:""):this.delimiters.component.repeat(8)+t.text},_DT_FMT:"YYYYMMDD",_DTM_FMT:"YYYYMMDDHHmmss",_itemToHL7v2:function(t,n){var e="",i=this.LOINC_CS;if("TITLE"!==t.dataType){var r=new Array(this.obrFieldNum);if(t.header){var o="";r[0]="OBR",r[1]=++n.obrIndex,r[4]=t.questionCode+this.delimiters.component+t.question+this.delimiters.component+i;for(var s=this.obrFieldNum-1;s>=0;s--)void 0===r[s]||(void 0!==r[s]?o=r[s]+this.delimiters.field+o:o+=this.delimiters.field);if(o+=this.delimiters.segment,t.items)for(var c=0,h=t.items.length;c<h;c++)e+=this._itemToHL7v2(t.items[c],n)}else if(!as.isItemValueEmpty(t.value)){var g=Array.isArray(t.value),L=g?t.value:[t.value],y=this.getHL7V2DataType(t),x=[];if(x[0]="OBX",x[1]=n.obxIndex++,x[2]=y,x[3]=t.questionCode+this.delimiters.component+t.question+this.delimiters.component+i,t.unit){var B="";void 0!==t.unit.name&&(B=t.unit.name),x[6]=B+this.delimiters.component+B+this.delimiters.component+this.LOINC_CS}s=0;for(var ee=L.length;s<ee;++s){var re=L[s];if(x[4]=t._obx4,g&&(""!==t._obx4&&(x[4]+="."),x[4]+=on.getNextLetter(s+1)),"CNE"===y||"CWE"===y)x[5]=this._generateOBX5(re,y);else if("DT"===t.dataType||"DTM"===t.dataType){var ae="string"==typeof re?on.stringToDate(re):re;x[5]=on.formatDate(ae,"DT"===t.dataType?this._DT_FMT:this._DTM_FMT)}else x[5]=re.toString();e+=x.join(this.delimiters.field)+this.delimiters.field+this.delimiters.segment}}}return e},_isSectionEmpty:function(t){var n=!0;if(t.items)for(var e=0,i=t.items.length;e<i&&n;e++){var r=t.items[e];n="SECTION"===r.dataType?!0===r._emptySection||!1===r._emptySection?r._emptySection:this._isSectionEmpty(r):as.isItemValueEmpty(r.value)}return t._emptySection=n,n}};var yre=R(3224),FI=R.n(yre);window.LForms={externalJQuery:window.jQuery,jQuery:FI()},window.jQuery=FI();var bre=R(9339),x6=R.n(bre),Cre=R(4527);const Ws=window.LForms;Ws.LFormsData=RI,Ws.HL7=_re,Ws.ucumPkg=Ate,Ws.Util=as,Ws.Def=x6(),Ws.Validations=D6,Ws.lformsVersion="40.1.3",Ws.Util.FHIRSupport=Cre,Ws.externalJQuery?window.jQuery=Ws.externalJQuery:delete window.jQuery,delete Ws.externalJQuery;const{isArray:wre}=Array,{getPrototypeOf:Sre,prototype:Mre,keys:Tre}=Object;function HI(t){if(1===t.length){const n=t[0];if(wre(n))return{args:n,keys:null};if(function Dre(t){return t&&"object"==typeof t&&Sre(t)===Mre}(n)){const e=Tre(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}const{isArray:xre}=Array;function rv(t){return jt(n=>function kre(t,n){return xre(n)?t(...n):t(n)}(t,n))}function VI(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
let UI=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||t)(xe(to),xe(un))};static \u0275dir=vt({type:t})}return t})(),H1=(()=>{class t extends UI{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275dir=vt({type:t,features:[Rn]})}return t})();const Wo=new Ie(""),Ire={provide:Wo,useExisting:Bn(()=>k6),multi:!0};let k6=(()=>{class t extends H1{writeValue(e){this.setProperty("checked",e)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275dir=vt({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&Ne("change",function(a){return r.onChange(a.target.checked)})("blur",function(){return r.onTouched()})},standalone:!1,features:[jn([Ire]),Rn]})}return t})();const zre={provide:Wo,useExisting:Bn(()=>bl),multi:!0},Lre=new Ie("");let bl=(()=>{class t extends UI{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,null==this._compositionMode&&(this._compositionMode=!function Are(){const t=mu()?mu().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_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(i){return new(i||t)(xe(to),xe(un),xe(Lre,8))};static \u0275dir=vt({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){1&i&&Ne("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},standalone:!1,features:[jn([zre]),Rn]})}return t})();const Ia=new Ie(""),zu=new Ie("");function QI(t){return null!=t}function XI(t){return th(t)?ca(t):t}function ZI(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function JI(t,n){return n.map(e=>e(t))}function ez(t){return t.map(n=>function Pre(t){return!t.validate}(n)?n:e=>n.validate(e))}function sv(t){return null!=t?function tz(t){if(!t)return null;const n=t.filter(QI);return 0==n.length?null:function(e){return ZI(JI(e,n))}}(ez(t)):null}function lv(t){return null!=t?function nz(t){if(!t)return null;const n=t.filter(QI);return 0==n.length?null:function(e){return function Ere(...t){const n=E7(t),{args:e,keys:i}=HI(t),r=new Be(o=>{const{length:a}=e;if(!a)return void o.complete();const s=new Array(a);let l=a,c=a;for(let h=0;h<a;h++){let g=!1;la(e[h]).subscribe(dr(o,L=>{g||(g=!0,c--),s[h]=L},()=>l--,void 0,()=>{(!l||!g)&&(c||o.next(i?VI(i,s):s),o.complete())}))}});return n?r.pipe(rv(n)):r}(JI(e,n).map(XI)).pipe(jt(ZI))}}(ez(t)):null}function iz(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function cv(t){return t?Array.isArray(t)?t:[t]:[]}function I6(t,n){return Array.isArray(t)?t.includes(n):t===n}function az(t,n){const e=cv(n);return cv(t).forEach(r=>{I6(e,r)||e.push(r)}),e}function sz(t,n){return cv(n).filter(e=>!I6(t,e))}class lz{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(n){this._rawValidators=n||[],this._composedValidatorFn=sv(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=lv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class Ya extends lz{name;get formDirective(){return null}get path(){return null}}class Au extends lz{_parent=null;name=null;valueAccessor=null}class cz{_cd;constructor(n){this._cd=n}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}}let ja=(()=>{class t extends cz{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(xe(Au,2))};static \u0275dir=vt({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&Bt("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[Rn]})}return t})(),uz=(()=>{class t extends cz{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(xe(Ya,10))};static \u0275dir=vt({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){2&i&&Bt("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[Rn]})}return t})();const Eh="VALID",A6="INVALID",yd="PENDING",Ih="DISABLED";class bd{}class hz extends bd{value;source;constructor(n,e){super(),this.value=n,this.source=e}}class hv extends bd{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}}class fv extends bd{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}}class L6 extends bd{status;source;constructor(n,e){super(),this.status=n,this.source=e}}class fz extends bd{source;constructor(n){super(),this.source=n}}class mv extends bd{source;constructor(n){super(),this.source=n}}function pv(t){return(O6(t)?t.validators:t)||null}function gv(t,n){return(O6(n)?n.asyncValidators:t)||null}function O6(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class vv{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return tr(this.statusReactive)}set status(n){tr(()=>this.statusReactive.set(n))}_status=Co(()=>this.statusReactive());statusReactive=Jr(void 0);get valid(){return this.status===Eh}get invalid(){return this.status===A6}get pending(){return this.status==yd}get disabled(){return this.status===Ih}get enabled(){return this.status!==Ih}errors;get pristine(){return tr(this.pristineReactive)}set pristine(n){tr(()=>this.pristineReactive.set(n))}_pristine=Co(()=>this.pristineReactive());pristineReactive=Jr(!0);get dirty(){return!this.pristine}get touched(){return tr(this.touchedReactive)}set touched(n){tr(()=>this.touchedReactive.set(n))}_touched=Co(()=>this.touchedReactive());touchedReactive=Jr(!1);get untouched(){return!this.touched}_events=new it;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(az(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(az(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(sz(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(sz(n,this._rawAsyncValidators))}hasValidator(n){return I6(this._rawValidators,n)}hasAsyncValidator(n){return I6(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const e=!1===this.touched;this.touched=!0;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:i}),e&&!1!==n.emitEvent&&this._events.next(new fv(!0,i))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){const e=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&!1!==n.emitEvent&&this._events.next(new fv(!1,i))}markAsDirty(n={}){const e=!0===this.pristine;this.pristine=!1;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:i}),e&&!1!==n.emitEvent&&this._events.next(new hv(!1,i))}markAsPristine(n={}){const e=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&!1!==n.emitEvent&&this._events.next(new hv(!0,i))}markAsPending(n={}){this.status=yd;const e=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new L6(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:e})}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Ih,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue();const i=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new hz(this.value,i)),this._events.next(new L6(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e},this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Eh,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e},this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Eh||this.status===yd)&&this._runAsyncValidator(i,n.emitEvent)}const e=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new hz(this.value,e)),this._events.next(new L6(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:e})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ih:Eh}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=yd,this._hasOwnPendingAsyncValidator={emitEvent:!1!==e,shouldHaveEmitted:!1!==n};const i=XI(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent,this,e.shouldHaveEmitted)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new L6(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new dt,this.statusChanges=new dt}_calculateStatus(){return this._allControlsDisabled()?Ih:this.errors?A6:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(yd)?yd:this._anyControlsHaveStatus(A6)?A6:Eh}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){const i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new hv(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new fv(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){O6(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function Bre(t){return Array.isArray(t)?sv(t):t||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function qre(t){return Array.isArray(t)?lv(t):t||null}(this._rawAsyncValidators)}}class _v extends vv{constructor(n,e,i){super(pv(e),gv(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){(function pz(t,n,e){t._forEachChild((i,r)=>{if(void 0===e[r])throw new ge(1002,"")})})(this,0,n),Object.keys(n).forEach(i=>{(function mz(t,n,e){const i=t.controls;if(!(n?Object.keys(i):i).length)throw new ge(1e3,"");if(!i[e])throw new ge(1001,"")})(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(i=>{const r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),!1!==e?.emitEvent&&this._events.next(new mv(this))}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const V1=new Ie("",{providedIn:"root",factory:()=>zh}),zh="always";function Ah(t,n,e=zh){yv(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||"always"===e)&&n.valueAccessor.setDisabledState?.(t.disabled),function $re(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&gz(t,n)})}(t,n),function Gre(t,n){const e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function Wre(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&gz(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function jre(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function R6(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function yv(t,n){const e=function rz(t){return t._rawValidators}(t);null!==n.validator?t.setValidators(iz(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=function oz(t){return t._rawAsyncValidators}(t);null!==n.asyncValidator?t.setAsyncValidators(iz(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();R6(n._rawValidators,r),R6(n._rawAsyncValidators,r)}function gz(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}const Jre={provide:Ya,useExisting:Bn(()=>Oh)},Lh=Promise.resolve();let Oh=(()=>{class t extends Ya{callSetDisabledState;get submitted(){return tr(this.submittedReactive)}_submitted=Co(()=>this.submittedReactive());submittedReactive=Jr(!1);_directives=new Set;form;ngSubmit=new dt;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new _v({},sv(e),lv(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Lh.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Ah(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Lh.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Lh.then(()=>{const i=this._findContainer(e.path),r=new _v({});(function vz(t,n){yv(t,n)})(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Lh.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Lh.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),function _z(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new fz(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(i){return new(i||t)(xe(Ia,10),xe(zu,10),xe(V1,8))};static \u0275dir=vt({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){1&i&&Ne("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[jn([Jre]),Rn]})}return t})();function yz(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function bz(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const Cz=class extends vv{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(pv(e),gv(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),O6(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=bz(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1,!1!==e?.emitEvent&&this._events.next(new mv(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){yz(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){yz(this._onDisabledChange,n)}_forEachChild(n){}_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(n){bz(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},roe={provide:Au,useExisting:Bn(()=>za)},wz=Promise.resolve();let za=(()=>{class t extends Au{_changeDetectorRef;callSetDisabledState;control=new Cz;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new dt;constructor(e,i,r,o,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function wv(t,n){if(!n)return null;let e,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===bl?e=o:function Xre(t){return Object.getPrototypeOf(t.constructor)===H1}(o)?i=o:r=o}),r||i||e||null}(0,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),function Cv(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ah(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()}_updateValue(e){wz.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&Qe(i);wz.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?function P6(t,n){return[...n.path,t]}(e,this._parent):[e]}static \u0275fac=function(i){return new(i||t)(xe(Ya,9),xe(Ia,10),xe(zu,10),xe(Wo,10),xe(Cr,8),xe(V1,8))};static \u0275dir=vt({type:t,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:[jn([roe]),Rn,vn]})}return t})(),Sz=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})();const aoe={provide:Wo,useExisting:Bn(()=>Sv),multi:!0};let soe=(()=>{class t{_accessors=[];add(e,i){this._accessors.push([e,i])}remove(e){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===e)return void this._accessors.splice(i,1)}select(e){this._accessors.forEach(i=>{this._isSameGroup(i,e)&&i[1]!==e&&i[1].fireUncheck(e.value)})}_isSameGroup(e,i){return!!e[0].control&&e[0]._parent===i._control._parent&&e[1].name===i.name}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Sv=(()=>{class t extends H1{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=U(V1,{optional:!0})??zh;constructor(e,i,r,o){super(e,i),this._registry=r,this._injector=o}ngOnInit(){this._control=this._injector.get(Au),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)}static \u0275fac=function(i){return new(i||t)(xe(to),xe(un),xe(soe),xe(Vr))};static \u0275dir=vt({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,r){1&i&&Ne("change",function(){return r.onChange()})("blur",function(){return r.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[jn([aoe]),Rn]})}return t})();const Mv=new Ie("");let Vz=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({})}return t})(),Nh=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:V1,useValue:e.callSetDisabledState??zh}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({imports:[Vz]})}return t})(),Eoe=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Mv,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:V1,useValue:e.callSetDisabledState??zh}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({imports:[Vz]})}return t})();function Rh(t,n){return Pt(n)?$o(t,n,1):$o(t,1)}function pr(t,n){return Rr((e,i)=>{let r=0;e.subscribe(dr(i,o=>t.call(n,o,r++)&&i.next(o)))})}function Lu(t){return Rr((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function Wt(...t){return ca(t,Th(t))}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
class q6{}class Fh{}class Cl{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof Cl?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new Cl;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Cl?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const r=("a"===n.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=n.value;if(o){let a=this.headers.get(e);if(!a)return;a=a.filter(s=>-1===o.indexOf(s)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}addHeaderEntry(n,e){const i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(n,e){const i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class Ioe{encodeKey(n){return Bz(n)}encodeValue(n){return Bz(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const Aoe=/%(\d[a-f0-9])/gi,Loe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Bz(t){return encodeURIComponent(t).replace(Aoe,(n,e)=>Loe[e]??n)}function Y6(t){return`${t}`}class Ou{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Ioe,n.fromString){if(n.fromObject)throw new ge(2805,!1);this.map=function zoe(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[a,s]=-1==o?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(a)||[];l.push(s),e.set(a,l)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],r=Array.isArray(i)?i.map(Y6):[Y6(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const r=n[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new Ou({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(Y6(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const r=i.indexOf(Y6(n.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class Ooe{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function qz(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Yz(t){return typeof Blob<"u"&&t instanceof Blob}function jz(t){return typeof FormData<"u"&&t instanceof FormData}const Hh="Content-Type",kv="X-Request-URL",$z="text/plain",Wz="application/json",Gz=`${Wz}, ${$z}, */*`;class Vh{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,i,r){let o;if(this.url=e,this.method=n.toUpperCase(),function Poe(t){switch(t){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 ge(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),this.transferCache=o.transferCache}if(this.headers??=new Cl,this.context??=new Ooe,this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":s<e.length-1?"&":"")+a}}else this.params=new Ou,this.urlWithParams=e}serializeBody(){return null===this.body?null:"string"==typeof this.body||qz(this.body)||Yz(this.body)||jz(this.body)||function Noe(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Ou?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||jz(this.body)?null:Yz(this.body)?this.body.type||null:qz(this.body)?null:"string"==typeof this.body?$z:this.body instanceof Ou?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?Wz:null}clone(n={}){const e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.keepalive??this.keepalive,a=n.priority||this.priority,s=n.cache||this.cache,l=n.mode||this.mode,c=n.redirect||this.redirect,h=n.credentials||this.credentials,g=n.referrer||this.referrer,L=n.integrity||this.integrity,y=n.transferCache??this.transferCache,x=n.timeout??this.timeout,B=void 0!==n.body?n.body:this.body,ee=n.withCredentials??this.withCredentials,re=n.reportProgress??this.reportProgress;let ae=n.headers||this.headers,Xe=n.params||this.params;const ot=n.context??this.context;return void 0!==n.setHeaders&&(ae=Object.keys(n.setHeaders).reduce((St,qt)=>St.set(qt,n.setHeaders[qt]),ae)),n.setParams&&(Xe=Object.keys(n.setParams).reduce((St,qt)=>St.set(qt,n.setParams[qt]),Xe)),new Vh(e,i,B,{params:Xe,headers:ae,context:ot,reportProgress:re,responseType:r,withCredentials:ee,transferCache:y,keepalive:o,cache:s,priority:a,timeout:x,mode:l,redirect:c,credentials:h,referrer:g,integrity:L})}}var Pu=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Pu||{});class Ev{headers;status;statusText;url;ok;type;redirected;constructor(n,e=200,i="OK"){this.headers=n.headers||new Cl,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.redirected=n.redirected,this.ok=this.status>=200&&this.status<300}}class $6 extends Ev{constructor(n={}){super(n)}type=Pu.ResponseHeader;clone(n={}){return new $6({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Uh extends Ev{body;constructor(n={}){super(n),this.body=void 0!==n.body?n.body:null}type=Pu.Response;clone(n={}){return new Uh({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected})}}class B1 extends Ev{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function Iv(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer}}let Qz=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Vh)o=e;else{let l,c;l=r.headers instanceof Cl?r.headers:new Cl(r.headers),r.params&&(c=r.params instanceof Ou?r.params:new Ou({fromObject:r.params})),o=new Vh(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,integrity:r.integrity,timeout:r.timeout})}const a=Wt(o).pipe(Rh(l=>this.handler.handle(l)));if(e instanceof Vh||"events"===r.observe)return a;const s=a.pipe(pr(l=>l instanceof Uh));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(jt(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new ge(2806,!1);return l.body}));case"blob":return s.pipe(jt(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new ge(2807,!1);return l.body}));case"text":return s.pipe(jt(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new ge(2808,!1);return l.body}));default:return s.pipe(jt(l=>l.body))}case"response":return s;default:throw new ge(2809,!1)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Ou).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Iv(r,i))}post(e,i,r={}){return this.request("POST",e,Iv(r,i))}put(e,i,r={}){return this.request("PUT",e,Iv(r,i))}static \u0275fac=function(i){return new(i||t)(It(q6))};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})();const Zz=new Ie("");function Jz(t,n){return n(t)}function Boe(t,n){return(e,i)=>n.intercept(e,{handle:r=>t(r,i)})}const Yoe=new Ie(""),Bh=new Ie(""),joe=new Ie(""),eA=new Ie("",{providedIn:"root",factory:()=>!0});function $oe(){let t=null;return(n,e)=>{null===t&&(t=(U(Yoe,{optional:!0})??[]).reduceRight(Boe,Jz));const i=U(h2);if(U(eA)){const o=i.add();return t(n,e).pipe(Lu(o))}return t(n,e)}}let tA=(()=>{class t extends q6{backend;injector;chain=null;pendingTasks=U(h2);contributeToStability=U(eA);constructor(e,i){super(),this.backend=e,this.injector=i}handle(e){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(Bh),...this.injector.get(joe,[])]));this.chain=i.reduceRight((r,o)=>function qoe(t,n,e){return(i,r)=>Ra(e,()=>n(i,o=>t(o,r)))}(r,o,this.injector),Jz)}if(this.contributeToStability){const i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(Lu(i))}return this.chain(e,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||t)(It(Fh),It(pn))};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})();const Qoe=/^\)\]\}',?\n/,Xoe=RegExp(`^${kv}:`,"m");let iA=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new ge(-2800,!1);const i=this.xhrFactory;return Wt(null).pipe(Ea(()=>new Be(o=>{const a=i.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((ee,re)=>a.setRequestHeader(ee,re.join(","))),e.headers.has("Accept")||a.setRequestHeader("Accept",Gz),!e.headers.has(Hh)){const ee=e.detectContentTypeHeader();null!==ee&&a.setRequestHeader(Hh,ee)}if(e.timeout&&(a.timeout=e.timeout),e.responseType){const ee=e.responseType.toLowerCase();a.responseType="json"!==ee?ee:"text"}const s=e.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const ee=a.statusText||"OK",re=new Cl(a.getAllResponseHeaders()),ae=function Zoe(t){return"responseURL"in t&&t.responseURL?t.responseURL:Xoe.test(t.getAllResponseHeaders())?t.getResponseHeader(kv):null}(a)||e.url;return l=new $6({headers:re,status:a.status,statusText:ee,url:ae}),l},h=()=>{let{headers:ee,status:re,statusText:ae,url:Xe}=c(),ot=null;204!==re&&(ot=typeof a.response>"u"?a.responseText:a.response),0===re&&(re=ot?200:0);let St=re>=200&&re<300;if("json"===e.responseType&&"string"==typeof ot){const qt=ot;ot=ot.replace(Qoe,"");try{ot=""!==ot?JSON.parse(ot):null}catch(wn){ot=qt,St&&(St=!1,ot={error:wn,text:ot})}}St?(o.next(new Uh({body:ot,headers:ee,status:re,statusText:ae,url:Xe||void 0})),o.complete()):o.error(new B1({error:ot,headers:ee,status:re,statusText:ae,url:Xe||void 0}))},g=ee=>{const{url:re}=c(),ae=new B1({error:ee,status:a.status||0,statusText:a.statusText||"Unknown Error",url:re||void 0});o.error(ae)};let L=g;e.timeout&&(L=ee=>{const{url:re}=c(),ae=new B1({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:re||void 0});o.error(ae)});let y=!1;const x=ee=>{y||(o.next(c()),y=!0);let re={type:Pu.DownloadProgress,loaded:ee.loaded};ee.lengthComputable&&(re.total=ee.total),"text"===e.responseType&&a.responseText&&(re.partialText=a.responseText),o.next(re)},B=ee=>{let re={type:Pu.UploadProgress,loaded:ee.loaded};ee.lengthComputable&&(re.total=ee.total),o.next(re)};return a.addEventListener("load",h),a.addEventListener("error",g),a.addEventListener("timeout",L),a.addEventListener("abort",g),e.reportProgress&&(a.addEventListener("progress",x),null!==s&&a.upload&&a.upload.addEventListener("progress",B)),a.send(s),o.next({type:Pu.Sent}),()=>{a.removeEventListener("error",g),a.removeEventListener("abort",g),a.removeEventListener("load",h),a.removeEventListener("timeout",L),e.reportProgress&&(a.removeEventListener("progress",x),null!==s&&a.upload&&a.upload.removeEventListener("progress",B)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(i){return new(i||t)(It(yb))};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})();const Lv=new Ie(""),rA=new Ie("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),oA=new Ie("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class aA{}let tae=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,i){this.doc=e,this.cookieName=i}getToken(){const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=_b(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(i){return new(i||t)(It(br),It(rA))};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})();const nae=/^(?:https?:)?\/\//i;function iae(t,n){if(!U(Lv)||"GET"===t.method||"HEAD"===t.method||nae.test(t.url))return n(t);const e=U(aA).getToken(),i=U(oA);return null!=e&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,e)})),n(t)}var Nu=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Nu||{});function rae(...t){const n=[Qz,iA,tA,{provide:q6,useExisting:tA},{provide:Fh,useFactory:()=>U(Zz,{optional:!0})??U(iA)},{provide:Bh,useValue:iae,multi:!0},{provide:Lv,useValue:!0},{provide:aA,useClass:tae}];for(const e of t)n.push(...e.\u0275providers);return vs(n)}const sA=new Ie("");function oae(){return function q1(t,n){return{\u0275kind:t,\u0275providers:n}}(Nu.LegacyInterceptors,[{provide:sA,useFactory:$oe},{provide:Bh,useExisting:sA,multi:!0}])}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
var Cn=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(Cn||{});const Hc="*";function Ts(t,n){return{type:Cn.Trigger,name:t,definitions:n,options:{}}}function Oi(t,n=null){return{type:Cn.Animate,styles:n,timings:t}}function Kt(t){return{type:Cn.Style,styles:t,offset:null}}function $a(t,n,e){return{type:Cn.State,name:t,styles:n,options:e}}function Bi(t,n,e=null){return{type:Cn.Transition,expr:t,animation:n,options:e}}function lA(t,n,e=null){return{type:Cn.Query,selector:t,animation:n,options:e}}function cA(t,n){return{type:Cn.Stagger,timings:t,animation:n}}class qh{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,e=0){this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class uA{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let e=0,i=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++i==o&&this._onDestroy()}),a.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function hA(t){return new ge(3e3,!1)}function gae(t){return new ge(3002,!1)}function Ru(t){switch(t.length){case 0:return new qh;case 1:return t[0];default:return new uA(t)}}function fA(t,n,e=new Map,i=new Map){const r=[],o=[];let a=-1,s=null;if(n.forEach(l=>{const c=l.get("offset"),h=c==a,g=h&&s||new Map;l.forEach((L,y)=>{let x=y,B=L;if("offset"!==y)switch(x=t.normalizePropertyName(x,r),B){case"!":B=e.get(y);break;case Hc:B=i.get(y);break;default:B=t.normalizeStyleValue(y,x,B,r)}g.set(x,B)}),h||o.push(g),s=g,a=c}),r.length)throw function xae(){return new ge(3502,!1)}();return o}function Pv(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&Nv(e,"start",t)));break;case"done":t.onDone(()=>i(e&&Nv(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&Nv(e,"destroy",t)))}}function Nv(t,n,e){const o=Rv(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),a=t._data;return null!=a&&(o._data=a),o}function Rv(t,n,e,i,r="",o=0,a){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function Ds(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function mA(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}const Hae=typeof document>"u"?null:document.documentElement;function Fv(t){const n=t.parentNode||t.host||null;return n===Hae?null:n}let Y1=null,pA=!1;function gA(t,n){for(;n;){if(n===t)return!0;n=Fv(n)}return!1}function vA(t,n,e){if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]}const yA="ng-enter",Hv="ng-leave",W6="ng-trigger",G6=".ng-trigger",bA="ng-animating",Vv=".ng-animating";function Vc(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Uv(parseFloat(n[1]),n[2])}function Uv(t,n){return"s"===n?1e3*t:t}function K6(t,n,e){return t.hasOwnProperty("duration")?t:function $ae(t,n,e){let i,r=0,o="";if("string"==typeof t){const a=t.match(jae);if(null===a)return n.push(hA()),{duration:0,delay:0,easing:""};i=Uv(parseFloat(a[1]),a[2]);const s=a[3];null!=s&&(r=Uv(parseFloat(s),a[4]));const l=a[5];l&&(o=l)}else i=t;if(!e){let a=!1,s=n.length;i<0&&(n.push(function sae(){return new ge(3100,!1)}()),a=!0),r<0&&(n.push(function lae(){return new ge(3101,!1)}()),a=!0),a&&n.splice(s,0,hA())}return{duration:i,delay:r,easing:o}}(t,n,e)}const jae=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Kl(t,n,e){n.forEach((i,r)=>{const o=qv(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i})}function j1(t,n){n.forEach((e,i)=>{const r=qv(i);t.style[r]=""})}function Yh(t){return Array.isArray(t)?1==t.length?t[0]:function aae(t,n=null){return{type:Cn.Sequence,steps:t,options:n}}(t):t}const Bv=new RegExp("{{\\s*(.+?)\\s*}}","g");function CA(t){let n=[];if("string"==typeof t){let e;for(;e=Bv.exec(t);)n.push(e[1]);Bv.lastIndex=0}return n}function jh(t,n,e){const i=`${t}`,r=i.replace(Bv,(o,a)=>{let s=n[a];return null==s&&(e.push(function uae(){return new ge(3003,!1)}()),s=""),s.toString()});return r==i?t:r}const Kae=/-+([a-z0-9])/g;function qv(t){return t.replace(Kae,(...n)=>n[1].toUpperCase())}function xs(t,n,e){switch(n.type){case Cn.Trigger:return t.visitTrigger(n,e);case Cn.State:return t.visitState(n,e);case Cn.Transition:return t.visitTransition(n,e);case Cn.Sequence:return t.visitSequence(n,e);case Cn.Group:return t.visitGroup(n,e);case Cn.Animate:return t.visitAnimate(n,e);case Cn.Keyframes:return t.visitKeyframes(n,e);case Cn.Style:return t.visitStyle(n,e);case Cn.Reference:return t.visitReference(n,e);case Cn.AnimateChild:return t.visitAnimateChild(n,e);case Cn.AnimateRef:return t.visitAnimateRef(n,e);case Cn.Query:return t.visitQuery(n,e);case Cn.Stagger:return t.visitStagger(n,e);default:throw function dae(){return new ge(3004,!1)}()}}function Yv(t,n){return window.getComputedStyle(t)[n]}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
let jv=(()=>{class t{validateStyleProperty(e){return function Uae(t){Y1||(Y1=function Bae(){return typeof document<"u"?document.body:null}()||{},pA=!!Y1.style&&"WebkitAppearance"in Y1.style);let n=!0;return Y1.style&&!function Vae(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in Y1.style,!n&&pA&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Y1.style)),n}(e)}containsElement(e,i){return gA(e,i)}getParentElement(e){return Fv(e)}query(e,i,r){return vA(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,a,s=[],l){return new qh(r,o)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})();class $v{static NOOP=new jv}class Wv{}const ise=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 SA extends Wv{normalizePropertyName(n,e){return qv(n)}normalizeStyleValue(n,e,i,r){let o="";const a=i.toString().trim();if(ise.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const s=i.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push(function hae(){return new ge(3005,!1)}())}return a+o}}const X6=new Set(["true","1"]),Z6=new Set(["false","0"]);function MA(t,n){const e=X6.has(t)||Z6.has(t),i=X6.has(n)||Z6.has(n);return(r,o)=>{let a="*"==t||t==r,s="*"==n||n==o;return!a&&e&&"boolean"==typeof r&&(a=r?X6.has(t):Z6.has(t)),!s&&i&&"boolean"==typeof o&&(s=o?X6.has(n):Z6.has(n)),a&&s}}const sse=new RegExp("s*:selfs*,?","g");function Kv(t,n,e,i){return new lse(t).build(n,e,i)}class lse{_driver;constructor(n){this._driver=n}build(n,e,i){const r=new dse(e);return this._resetContextStyleTimingState(r),xs(this,Yh(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],a=[];return"@"==n.name.charAt(0)&&e.errors.push(function fae(){return new ge(3006,!1)}()),n.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),s.type==Cn.State){const l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(h=>{l.name=h,o.push(this.visitState(l,e))}),l.name=c}else if(s.type==Cn.Transition){const l=this.visitTransition(s,e);i+=l.queryCount,r+=l.depCount,a.push(l)}else e.errors.push(function mae(){return new ge(3007,!1)}())}),{type:Cn.Trigger,name:n.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,a=r||{};i.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{CA(l).forEach(c=>{a.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(function pae(){return new ge(3008,!1)}(0,o.values()))}return{type:Cn.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=xs(this,Yh(n.animation),e),r=function rse(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function ose(t,n,e){if(":"==t[0]){const l=function ase(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return n.push(function Tae(){return new ge(3016,!1)}()),"* => *"}}(t,e);if("function"==typeof l)return void n.push(l);t=l}const i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function Mae(){return new ge(3015,!1)}()),n;const r=i[1],o=i[2],a=i[3];n.push(MA(r,a)),"<"==o[0]&&("*"!=r||"*"!=a)&&n.push(MA(a,r))}(i,e,n)):e.push(t),e}(n.expr,e.errors);return{type:Cn.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:$1(n.options)}}visitSequence(n,e){return{type:Cn.Sequence,steps:n.steps.map(i=>xs(this,i,e)),options:$1(n.options)}}visitGroup(n,e){const i=e.currentTime;let r=0;const o=n.steps.map(a=>{e.currentTime=i;const s=xs(this,a,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:Cn.Group,steps:o,options:$1(n.options)}}visitAnimate(n,e){const i=function fse(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return Qv(K6(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Qv(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=K6(e,n);return Qv(r.duration,r.delay,r.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:Kt({});if(o.type==Cn.Keyframes)r=this.visitKeyframes(o,e);else{let a=n.styles,s=!1;if(!a){s=!0;const c={};i.easing&&(c.easing=i.easing),a=Kt(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(a,e);l.isEmptyStep=s,r=l}return e.currentAnimateTimings=null,{type:Cn.Animate,timings:i,style:r,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let s of r)"string"==typeof s?s===Hc?i.push(s):e.errors.push(gae()):i.push(new Map(Object.entries(s)));let o=!1,a=null;return i.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!o))for(let l of s.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:Cn.Style,styles:i,easing:a,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(a=>{"string"!=typeof a&&a.forEach((s,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),h=c.get(l);let g=!0;h&&(o!=r&&o>=h.startTime&&r<=h.endTime&&(e.errors.push(function vae(){return new ge(3010,!1)}()),g=!1),o=h.startTime),g&&c.set(l,{startTime:o,endTime:r}),e.options&&function Gae(t,n,e){const i=n.params||{},r=CA(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function cae(){return new ge(3001,!1)}())})}(s,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:Cn.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function _ae(){return new ge(3011,!1)}()),i;let o=0;const a=[];let s=!1,l=!1,c=0;const h=n.steps.map(re=>{const ae=this._makeStyleAst(re,e);let Xe=null!=ae.offset?ae.offset:function hse(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}(ae.styles),ot=0;return null!=Xe&&(o++,ot=ae.offset=Xe),l=l||ot<0||ot>1,s=s||ot<c,c=ot,a.push(ot),ae});l&&e.errors.push(function yae(){return new ge(3012,!1)}()),s&&e.errors.push(function bae(){return new ge(3200,!1)}());const g=n.steps.length;let L=0;o>0&&o<g?e.errors.push(function Cae(){return new ge(3202,!1)}()):0==o&&(L=1/(g-1));const y=g-1,x=e.currentTime,B=e.currentAnimateTimings,ee=B.duration;return h.forEach((re,ae)=>{const Xe=L>0?ae==y?1:L*ae:a[ae],ot=Xe*ee;e.currentTime=x+B.delay+ot,B.duration=ot,this._validateStyleAst(re,e),re.offset=Xe,i.styles.push(re)}),i}visitReference(n,e){return{type:Cn.Reference,animation:xs(this,Yh(n.animation),e),options:$1(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:Cn.AnimateChild,options:$1(n.options)}}visitAnimateRef(n,e){return{type:Cn.AnimateRef,animation:this.visitReference(n.animation,e),options:$1(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;const[o,a]=function cse(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(sse,"")),t=t.replace(/@\*/g,G6).replace(/@\w+/g,e=>G6+"-"+e.slice(1)).replace(/:animating/g,Vv),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,Ds(e.collectedStyles,e.currentQuerySelector,new Map);const s=xs(this,Yh(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:Cn.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:n.selector,options:$1(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function wae(){return new ge(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:K6(n.timings,e.errors,!0);return{type:Cn.Stagger,animation:xs(this,Yh(n.animation),e),timings:i,options:null}}}class dse{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(n){this.errors=n}}function $1(t){return t?(t={...t}).params&&(t.params=function use(t){return t?{...t}:null}(t.params)):t={},t}function Qv(t,n,e){return{duration:t,delay:n,easing:e}}function Xv(t,n,e,i,r,o,a=null,s=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}class J6{_map=new Map;get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const gse=new RegExp(":enter","g"),_se=new RegExp(":leave","g");function Zv(t,n,e,i,r,o=new Map,a=new Map,s,l,c=[]){return(new yse).buildKeyframes(t,n,e,i,r,o,a,s,l,c)}class yse{buildKeyframes(n,e,i,r,o,a,s,l,c,h=[]){c=c||new J6;const g=new Jv(n,e,c,r,o,h,[]);g.options=l;const L=l.delay?Vc(l.delay):0;g.currentTimeline.delayNextStep(L),g.currentTimeline.setStyles([a],null,g.errors,l),xs(this,i,g);const y=g.timelines.filter(x=>x.containsAnimation());if(y.length&&s.size){let x;for(let B=y.length-1;B>=0;B--){const ee=y[B];if(ee.element===e){x=ee;break}}x&&!x.allowOnlyTimelineStyles()&&x.setStyles([s],null,g.errors,l)}return y.length?y.map(x=>x.buildKeyframes()):[Xv(e,[],[],[],0,L,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(n.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,r,r.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(const r of n){const o=r?.delay;if(o){const a="number"==typeof o?o:Vc(jh(o,r?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime;const a=null!=i.duration?Vc(i.duration):null,s=null!=i.delay?Vc(i.delay):null;return 0!==a&&n.forEach(l=>{const c=e.appendInstructionToTimeline(l,a,s);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),xs(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let r=e;const o=n.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){r.previousNode.type==Cn.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=e8);const a=Vc(o.delay);r.delayNextStep(a)}n.steps.length&&(n.steps.forEach(a=>xs(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let r=e.currentTimeline.currentTime;const o=n.options&&n.options.delay?Vc(n.options.delay):0;n.steps.forEach(a=>{const s=e.createSubContext(n.options);o&&s.delayNextStep(o),xs(this,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(r),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return K6(e.params?jh(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=n.style;o.type==Cn.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,s=e.createSubContext().currentTimeline;s.easing=i.easing,n.styles.forEach(l=>{s.forwardTime((l.offset||0)*o),s.setStyles(l.styles,l.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+o),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?Vc(r.delay):0;o&&(e.previousNode.type===Cn.Style||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=e8);let a=i;const s=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;let l=null;s.forEach((c,h)=>{e.currentQueryIndex=h;const g=e.createSubContext(n.options,c);o&&g.delayNextStep(o),c===e.element&&(l=g.currentTimeline),xs(this,n.animation,g),g.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,g.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,r=e.currentTimeline,o=n.timings,a=Math.abs(o.duration),s=a*(e.currentQueryTotal-1);let l=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=i.currentStaggerTime}const h=e.currentTimeline;l&&h.delayNextStep(l);const g=h.currentTime;xs(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-g+(r.startTime-i.currentTimeline.startTime)}}const e8={};class Jv{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=e8;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,e,i,r,o,a,s,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.currentTimeline=l||new t8(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=Vc(i.duration)),null!=i.delay&&(r.delay=Vc(i.delay));const o=i.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!e||!a.hasOwnProperty(s))&&(a[s]=jh(o[s],a,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){const r=e||this.element,o=new Jv(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(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=e8,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new bse(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,o,a){let s=[];if(r&&s.push(this.element),n.length>0){n=(n=n.replace(gse,"."+this._enterClassName)).replace(_se,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),s.push(...c)}return!o&&0==s.length&&a.push(function Sae(){return new ge(3014,!1)}()),s}}class t8{_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(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,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(n){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new t8(this._driver,n,e||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(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Hc),this._currentKeyframe.set(e,Hc);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},a=function Cse(t,n){const e=new Map;let i;return t.forEach(r=>{if("*"===r){i??=n.keys();for(let o of i)e.set(o,Hc)}else for(let[o,a]of r)e.set(o,a)}),e}(n,this._globalTimelineStyles);for(let[s,l]of a){const c=jh(l,o,i);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??Hc),this._updateStyle(s,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,l)=>{const c=new Map([...this._backFill,...s]);c.forEach((h,g)=>{"!"===h?n.add(g):h===Hc&&e.add(g)}),i||c.set("offset",l/this.duration),r.push(c)});const o=[...n.values()],a=[...e.values()];if(i){const s=r[0],l=new Map(s);s.set("offset",0),l.set("offset",1),r=[s,l]}return Xv(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}class bse extends t8{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,e,i,r,o,a,s=!1){super(n,e,a.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],a=i+e,s=e/a,l=new Map(n[0]);l.set("offset",0),o.push(l);const c=new Map(n[0]);c.set("offset",xA(s)),o.push(c);const h=n.length-1;for(let g=1;g<=h;g++){let L=new Map(n[g]);const y=L.get("offset");L.set("offset",xA((e+y*i)/a)),o.push(L)}i=a,e=0,r="",n=o}return Xv(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function xA(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}function kA(t,n,e,i,r,o,a,s,l,c,h,g,L){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:h,totalTime:g,errors:L}}const e9={};class EA{_triggerName;ast;_stateStyles;constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return function wse(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,o,a,s,l,c,h){const g=[],L=this.ast.options&&this.ast.options.params||e9,x=this.buildStyles(i,s&&s.params||e9,g),B=l&&l.params||e9,ee=this.buildStyles(r,B,g),re=new Set,ae=new Map,Xe=new Map,ot="void"===r,St={params:IA(B,L),delay:this.ast.options?.delay},qt=h?[]:Zv(n,e,this.ast.animation,o,a,x,ee,St,c,g);let wn=0;return qt.forEach(Ln=>{wn=Math.max(Ln.duration+Ln.delay,wn)}),g.length?kA(e,this._triggerName,i,r,ot,x,ee,[],[],ae,Xe,wn,g):(qt.forEach(Ln=>{const yn=Ln.element,ui=Ds(ae,yn,new Set);Ln.preStyleProps.forEach(gr=>ui.add(gr));const go=Ds(Xe,yn,new Set);Ln.postStyleProps.forEach(gr=>go.add(gr)),yn!==e&&re.add(yn)}),kA(e,this._triggerName,i,r,ot,x,ee,qt,[...re.values()],ae,Xe,wn))}}function IA(t,n){const e={...n};return Object.entries(t).forEach(([i,r])=>{null!=r&&(e[i]=r)}),e}class Sse{styles;defaultParams;normalizer;constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,r=IA(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,s)=>{a&&(a=jh(a,r,e));const l=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,l,a,e),i.set(s,a)})}),i}}class Tse{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,e.states.forEach(r=>{this.states.set(r.name,new Sse(r.style,r.options&&r.options.params||{},i))}),zA(this.states,"true","1"),zA(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new EA(n,r,this.states))}),this.fallbackTransition=function Dse(t,n){return new EA(t,{type:Cn.Transition,animation:{type:Cn.Sequence,steps:[],options:null},matchers:[(a,s)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(a=>a.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function zA(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const xse=new J6;class kse{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i}register(n,e){const i=[],o=Kv(this._driver,e,i,[]);if(i.length)throw function kae(){return new ge(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,e,i){const r=n.element,o=fA(this._normalizer,n.keyframes,e,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const r=[],o=this._animations.get(n);let a;const s=new Map;if(o?(a=Zv(this._driver,e,o,yA,Hv,new Map,new Map,i,xse,r),a.forEach(h=>{const g=Ds(s,h.element,new Map);h.postStyleProps.forEach(L=>g.set(L,null))})):(r.push(function Eae(){return new ge(3300,!1)}()),a=[]),r.length)throw function Iae(){return new ge(3504,!1)}();s.forEach((h,g)=>{h.forEach((L,y)=>{h.set(y,this._driver.computeStyle(g,y,Hc))})});const c=Ru(a.map(h=>{const g=s.get(h.element);return this._buildPlayer(h,new Map,g)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function zae(){return new ge(3301,!1)}();return e}listen(n,e,i,r){const o=Rv(e,"","","");return Pv(this._getPlayer(n),i,o,r),()=>{}}command(n,e,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,e,r[0]||{});const o=this._getPlayer(n);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(n)}}}const AA="ng-animate-queued",t9="ng-animate-disabled",Lse=[],LA={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ose={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},wl="__ng_removed";class n9{namespaceId;value;options;get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function Fse(t){return t??null}(i?n.value:n),i){const{value:o,...a}=n;this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const $h="void",i9=new n9($h);class Pse{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+n,Gs(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw function Aae(){return new ge(3302,!1)}();if(null==i||0==i.length)throw function Lae(){return new ge(3303,!1)}();if(!function Hse(t){return"start"==t||"done"==t}(i))throw function Oae(){return new ge(3400,!1)}();const o=Ds(this._elementListeners,n,[]),a={name:e,phase:i,callback:r};o.push(a);const s=Ds(this._engine.statesByElement,n,new Map);return s.has(e)||(Gs(n,W6),Gs(n,W6+"-"+e),s.set(e,i9)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(a);l>=0&&o.splice(l,1),this._triggers.has(e)||s.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function Pae(){return new ge(3401,!1)}();return e}trigger(n,e,i,r=!0){const o=this._getTrigger(e),a=new r9(this.id,e,n);let s=this._engine.statesByElement.get(n);s||(Gs(n,W6),Gs(n,W6+"-"+e),this._engine.statesByElement.set(n,s=new Map));let l=s.get(e);const c=new n9(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(e,c),l||(l=i9),c.value!==$h&&l.value===c.value){if(!function Bse(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){const o=e[r];if(!n.hasOwnProperty(o)||t[o]!==n[o])return!1}return!0}(l.params,c.params)){const B=[],ee=o.matchStyles(l.value,l.params,B),re=o.matchStyles(c.value,c.params,B);B.length?this._engine.reportError(B):this._engine.afterFlush(()=>{j1(n,ee),Kl(n,re)})}return}const L=Ds(this._engine.playersByElement,n,[]);L.forEach(B=>{B.namespaceId==this.id&&B.triggerName==e&&B.queued&&B.destroy()});let y=o.matchTransition(l.value,c.value,n,c.params),x=!1;if(!y){if(!r)return;y=o.fallbackTransition,x=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:y,fromState:l,toState:c,player:a,isFallbackTransition:x}),x||(Gs(n,AA),a.onStart(()=>{Cd(n,AA)})),a.onDone(()=>{let B=this.players.indexOf(a);B>=0&&this.players.splice(B,1);const ee=this._engine.playersByElement.get(n);if(ee){let re=ee.indexOf(a);re>=0&&ee.splice(re,1)}}),this.players.push(a),L.push(a),a}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,G6,!0);i.forEach(r=>{if(r[wl])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,e,i,r){const o=this._engine.statesByElement.get(n),a=new Map;if(o){const s=[];if(o.forEach((l,c)=>{if(a.set(c,l.value),this._triggers.has(c)){const h=this.trigger(n,c,$h,r);h&&s.push(h)}}),s.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,a),i&&Ru(s).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const r=new Set;e.forEach(o=>{const a=o.name;if(r.has(a))return;r.add(a);const l=this._triggers.get(a).fallbackTransition,c=i.get(a)||i9,h=new n9($h),g=new r9(this.id,a,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:a,transition:l,fromState:c,toState:h,player:g,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let a=n;for(;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{const o=n[wl];(!o||o===LA)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Gs(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==i.triggerName){const l=Rv(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Pv(i.player,s.phase,l,s.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,a=r.transition.ast.depCount;return 0==o||0==a?o-a:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class Nse{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=(n,e)=>{};_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new Pse(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,s=this.driver.getParentElement(e);for(;s;){const l=r.get(s);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),a=!0;break}s=this.driver.getParentElement(s)}a||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(n,e,i,r){if(n8(e)){const o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!n8(e))return;const o=e[wl];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(n){const a=this._fetchNamespace(n);a&&a.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Gs(n,t9)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Cd(n,t9))}removeNode(n,e,i){if(n8(e)){const r=n?this._fetchNamespace(n):null;r?r.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);const o=this.namespacesByHostElement.get(e);o&&o.id!==n&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,r,o){this.collectedLeaveElements.push(e),e[wl]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return n8(e)?this._fetchNamespace(n).listen(e,i,r,o):()=>{}}_buildInstruction(n,e,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,G6,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,Vv,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Ru(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[wl];if(e&&e.setForRemoval){if(n[wl]=LA,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(t9)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];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;i<this.collectedEnterElements.length;i++)Gs(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{e=this._flushAnimations(i,n)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Ru(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function Nae(){return new ge(3402,!1)}()}_flushAnimations(n,e){const i=new J6,r=[],o=new Map,a=[],s=new Map,l=new Map,c=new Map,h=new Set;this.disabledNodes.forEach(st=>{h.add(st);const Lt=this.driver.query(st,".ng-animate-queued",!0);for(let Jt=0;Jt<Lt.length;Jt++)h.add(Lt[Jt])});const g=this.bodyNode,L=Array.from(this.statesByElement.keys()),y=NA(L,this.collectedEnterElements),x=new Map;let B=0;y.forEach((st,Lt)=>{const Jt=yA+B++;x.set(Lt,Jt),st.forEach(Kn=>Gs(Kn,Jt))});const ee=[],re=new Set,ae=new Set;for(let st=0;st<this.collectedLeaveElements.length;st++){const Lt=this.collectedLeaveElements[st],Jt=Lt[wl];Jt&&Jt.setForRemoval&&(ee.push(Lt),re.add(Lt),Jt.hasAnimation?this.driver.query(Lt,".ng-star-inserted",!0).forEach(Kn=>re.add(Kn)):ae.add(Lt))}const Xe=new Map,ot=NA(L,Array.from(re));ot.forEach((st,Lt)=>{const Jt=Hv+B++;Xe.set(Lt,Jt),st.forEach(Kn=>Gs(Kn,Jt))}),n.push(()=>{y.forEach((st,Lt)=>{const Jt=x.get(Lt);st.forEach(Kn=>Cd(Kn,Jt))}),ot.forEach((st,Lt)=>{const Jt=Xe.get(Lt);st.forEach(Kn=>Cd(Kn,Jt))}),ee.forEach(st=>{this.processLeaveNode(st)})});const St=[],qt=[];for(let st=this._namespaceList.length-1;st>=0;st--)this._namespaceList[st].drainQueuedTransitions(e).forEach(Jt=>{const Kn=Jt.player,jr=Jt.element;if(St.push(Kn),this.collectedEnterElements.length){const Qn=jr[wl];if(Qn&&Qn.setForMove){if(Qn.previousTriggersValues&&Qn.previousTriggersValues.has(Jt.triggerName)){const oi=Qn.previousTriggersValues.get(Jt.triggerName),hn=this.statesByElement.get(Jt.element);if(hn&&hn.has(Jt.triggerName)){const Ao=hn.get(Jt.triggerName);Ao.value=oi,hn.set(Jt.triggerName,Ao)}}return void Kn.destroy()}}const _a=!g||!this.driver.containsElement(g,jr),ao=Xe.get(jr),kl=x.get(jr),je=this._buildInstruction(Jt,i,kl,ao,_a);if(je.errors&&je.errors.length)return void qt.push(je);if(_a)return Kn.onStart(()=>j1(jr,je.fromStyles)),Kn.onDestroy(()=>Kl(jr,je.toStyles)),void r.push(Kn);if(Jt.isFallbackTransition)return Kn.onStart(()=>j1(jr,je.fromStyles)),Kn.onDestroy(()=>Kl(jr,je.toStyles)),void r.push(Kn);const Re=[];je.timelines.forEach(Qn=>{Qn.stretchStartingKeyframe=!0,this.disabledNodes.has(Qn.element)||Re.push(Qn)}),je.timelines=Re,i.append(jr,je.timelines),a.push({instruction:je,player:Kn,element:jr}),je.queriedElements.forEach(Qn=>Ds(s,Qn,[]).push(Kn)),je.preStyleProps.forEach((Qn,oi)=>{if(Qn.size){let hn=l.get(oi);hn||l.set(oi,hn=new Set),Qn.forEach((Ao,El)=>hn.add(El))}}),je.postStyleProps.forEach((Qn,oi)=>{let hn=c.get(oi);hn||c.set(oi,hn=new Set),Qn.forEach((Ao,El)=>hn.add(El))})});if(qt.length){const st=[];qt.forEach(Lt=>{st.push(function Rae(){return new ge(3505,!1)}())}),St.forEach(Lt=>Lt.destroy()),this.reportError(st)}const wn=new Map,Ln=new Map;a.forEach(st=>{const Lt=st.element;i.has(Lt)&&(Ln.set(Lt,Lt),this._beforeAnimationBuild(st.player.namespaceId,st.instruction,wn))}),r.forEach(st=>{const Lt=st.element;this._getPreviousPlayers(Lt,!1,st.namespaceId,st.triggerName,null).forEach(Kn=>{Ds(wn,Lt,[]).push(Kn),Kn.destroy()})});const yn=ee.filter(st=>FA(st,l,c)),ui=new Map;PA(ui,this.driver,ae,c,Hc).forEach(st=>{FA(st,l,c)&&yn.push(st)});const gr=new Map;y.forEach((st,Lt)=>{PA(gr,this.driver,new Set(st),l,"!")}),yn.forEach(st=>{const Lt=ui.get(st),Jt=gr.get(st);ui.set(st,new Map([...Lt?.entries()??[],...Jt?.entries()??[]]))});const va=[],ls=[],ar={};a.forEach(st=>{const{element:Lt,player:Jt,instruction:Kn}=st;if(i.has(Lt)){if(h.has(Lt))return Jt.onDestroy(()=>Kl(Lt,Kn.toStyles)),Jt.disabled=!0,Jt.overrideTotalTime(Kn.totalTime),void r.push(Jt);let jr=ar;if(Ln.size>1){let ao=Lt;const kl=[];for(;ao=ao.parentNode;){const je=Ln.get(ao);if(je){jr=je;break}kl.push(ao)}kl.forEach(je=>Ln.set(je,jr))}const _a=this._buildAnimation(Jt.namespaceId,Kn,wn,o,gr,ui);if(Jt.setRealPlayer(_a),jr===ar)va.push(Jt);else{const ao=this.playersByElement.get(jr);ao&&ao.length&&(Jt.parentPlayer=Ru(ao)),r.push(Jt)}}else j1(Lt,Kn.fromStyles),Jt.onDestroy(()=>Kl(Lt,Kn.toStyles)),ls.push(Jt),h.has(Lt)&&r.push(Jt)}),ls.forEach(st=>{const Lt=o.get(st.element);if(Lt&&Lt.length){const Jt=Ru(Lt);st.setRealPlayer(Jt)}}),r.forEach(st=>{st.parentPlayer?st.syncPlayerEvents(st.parentPlayer):st.destroy()});for(let st=0;st<ee.length;st++){const Lt=ee[st],Jt=Lt[wl];if(Cd(Lt,Hv),Jt&&Jt.hasAnimation)continue;let Kn=[];if(s.size){let _a=s.get(Lt);_a&&_a.length&&Kn.push(..._a);let ao=this.driver.query(Lt,Vv,!0);for(let kl=0;kl<ao.length;kl++){let je=s.get(ao[kl]);je&&je.length&&Kn.push(...je)}}const jr=Kn.filter(_a=>!_a.destroyed);jr.length?Vse(this,Lt,jr):this.processLeaveNode(Lt)}return ee.length=0,va.forEach(st=>{this.players.push(st),st.onDone(()=>{st.destroy();const Lt=this.players.indexOf(st);this.players.splice(Lt,1)}),st.play()}),va}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,o){let a=[];if(e){const s=this.playersByQueriedElement.get(n);s&&(a=s)}else{const s=this.playersByElement.get(n);if(s){const l=!o||o==$h;s.forEach(c=>{c.queued||!l&&c.triggerName!=r||a.push(c)})}}return(i||r)&&(a=a.filter(s=>!(i&&i!=s.namespaceId||r&&r!=s.triggerName))),a}_beforeAnimationBuild(n,e,i){const o=e.element,a=e.isRemovalTransition?void 0:n,s=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,h=c!==o,g=Ds(i,c,[]);this._getPreviousPlayers(c,h,a,s,e.toState).forEach(y=>{const x=y.getRealPlayer();x.beforeDestroy&&x.beforeDestroy(),y.destroy(),g.push(y)})}j1(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,a){const s=e.triggerName,l=e.element,c=[],h=new Set,g=new Set,L=e.timelines.map(x=>{const B=x.element;h.add(B);const ee=B[wl];if(ee&&ee.removedBeforeQueried)return new qh(x.duration,x.delay);const re=B!==l,ae=function Use(t){const n=[];return RA(t,n),n}((i.get(B)||Lse).map(wn=>wn.getRealPlayer())).filter(wn=>!!wn.element&&wn.element===B),Xe=o.get(B),ot=a.get(B),St=fA(this._normalizer,x.keyframes,Xe,ot),qt=this._buildPlayer(x,St,ae);if(x.subTimeline&&r&&g.add(B),re){const wn=new r9(n,s,B);wn.setRealPlayer(qt),c.push(wn)}return qt});c.forEach(x=>{Ds(this.playersByQueriedElement,x.element,[]).push(x),x.onDone(()=>function Rse(t,n,e){let i=t.get(n);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,x.element,x))}),h.forEach(x=>Gs(x,bA));const y=Ru(L);return y.onDestroy(()=>{h.forEach(x=>Cd(x,bA)),Kl(l,e.toStyles)}),g.forEach(x=>{Ds(r,x,[]).push(y)}),y}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new qh(n.duration,n.delay)}}class r9{namespaceId;triggerName;element;_player=new qh;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>Pv(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){Ds(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}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(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function n8(t){return t&&1===t.nodeType}function OA(t,n){const e=t.style.display;return t.style.display=n??"none",e}function PA(t,n,e,i,r){const o=[];e.forEach(l=>o.push(OA(l)));const a=[];i.forEach((l,c)=>{const h=new Map;l.forEach(g=>{const L=n.computeStyle(c,g,r);h.set(g,L),(!L||0==L.length)&&(c[wl]=Ose,a.push(c))}),t.set(c,h)});let s=0;return e.forEach(l=>OA(l,o[s++])),a}function NA(t,n){const e=new Map;if(t.forEach(s=>e.set(s,[])),0==n.length)return e;const r=new Set(n),o=new Map;function a(s){if(!s)return 1;let l=o.get(s);if(l)return l;const c=s.parentNode;return l=e.has(c)?c:r.has(c)?1:a(c),o.set(s,l),l}return n.forEach(s=>{const l=a(s);1!==l&&e.get(l).push(s)}),e}function Gs(t,n){t.classList?.add(n)}function Cd(t,n){t.classList?.remove(n)}function Vse(t,n,e){Ru(e).onDone(()=>t.processLeaveNode(n))}function RA(t,n){for(let e=0;e<t.length;e++){const i=t[e];i instanceof uA?RA(i.players,n):n.push(i)}}function FA(t,n,e){const i=e.get(t);if(!i)return!1;let r=n.get(t);return r?i.forEach(o=>r.add(o)):n.set(t,i),e.delete(t),!0}class Wh{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,e)=>{};constructor(n,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new Nse(n.body,e,i),this._timelineEngine=new kse(n.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,e,i,r,o){const a=n+"-"+r;let s=this._triggerCache[a];if(!s){const l=[],h=Kv(this._driver,o,l,[]);if(l.length)throw function Dae(){return new ge(3404,!1)}();s=function Mse(t,n,e){return new Tse(t,n,e)}(r,h,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(e,r,s)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if("@"==i.charAt(0)){const[o,a]=mA(i);this._timelineEngine.command(o,e,a,r)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,o){if("@"==i.charAt(0)){const[a,s]=mA(i);return this._timelineEngine.listen(a,e,s,o)}return this._transitionEngine.listen(n,e,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}let Yse=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Kl(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Kl(this._element,this._initialStyles),this._endStyles&&(Kl(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(j1(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(j1(this._element,this._endStyles),this._endStyles=null),Kl(this._element,this._initialStyles),this._state=3)}}return t})();function o9(t){let n=null;return t.forEach((e,i)=>{(function jse(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class HA{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(n,e,i,r){this.element=n,this.keyframes=e,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(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const n=this.keyframes,e=this._triggerWebAnimation(this.element,n,this.options);if(!e)return this._onFinish(),null;this.domPlayer=e,this._finalKeyframe=n.length?n[n.length-1]:new Map;const i=()=>this._onFinish();return e.addEventListener("finish",i),this.onDestroy(()=>{e.removeEventListener("finish",i)}),e}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){const r=this._convertKeyframesToObject(e);try{return n.animate(r,i)}catch{return null}}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){const n=this._buildPlayer();n&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),n.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(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=n*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 n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&n.set(r,this._finished?i:Yv(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class VA{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,e){return gA(n,e)}getParentElement(n){return Fv(n)}query(n,e,i){return vA(n,e,i)}computeStyle(n,e,i){return Yv(n,e)}animate(n,e,i,r,o,a=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,h=a.filter(y=>y instanceof HA);(function Qae(t,n){return 0===t||0===n})(i,r)&&h.forEach(y=>{y.currentSnapshot.forEach((x,B)=>c.set(B,x))});let g=function Wae(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}(e).map(y=>new Map(y));g=function Xae(t,n,e){if(e.size&&n.length){let i=n[0],r=[];if(e.forEach((o,a)=>{i.has(a)||r.push(a),i.set(a,o)}),r.length)for(let o=1;o<n.length;o++){let a=n[o];r.forEach(s=>a.set(s,Yv(t,s)))}}return n}(n,g,c);const L=function qse(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=o9(n[0]),n.length>1&&(i=o9(n[n.length-1]))):n instanceof Map&&(e=o9(n)),e||i?new Yse(t,e,i):null}(n,g);return new HA(n,g,l,L)}}const UA="@.disabled";class BA{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,e,i,r){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i,r){r?this.delegate.removeChild(n,e,i,r):this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==UA?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i,r){return this.delegate.listen(n,e,i,r)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class $se extends BA{factory;constructor(n,e,i,r,o){super(e,i,r,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==UA?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i,r){if("@"==e.charAt(0)){const o=function Wse(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let a=e.slice(1),s="";return"@"!=a.charAt(0)&&([a,s]=function Gse(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(a)),this.engine.listen(this.namespaceId,o,a,s,l=>{this.factory.scheduleListenerCallback(l._data||-1,i,l)})}return this.delegate.listen(n,e,i,r)}}class Kse{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,e,i){this.delegate=n,this.engine=e,this._zone=i,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(n,e){const r=this.delegate.createRenderer(n,e);if(!n||!e?.data?.animation){const c=this._rendererCache;let h=c.get(r);return h||(h=new BA("",r,this.engine,()=>c.delete(r)),c.set(r,h)),h}const o=e.id,a=e.id+"-"+this._currentId;this._currentId++,this.engine.register(a,n);const s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(o,a,n,c.name,c)};return e.data.animation.forEach(s),new $se(this,a,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,e,i){if(n>=0&&n<this._microtaskId)return void this._zone.run(()=>e(i));const r=this._animationCallbacksBuffer;0==r.length&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{const[a,s]=o;a(s)}),this._animationCallbacksBuffer=[]})}),r.push([e,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(n){this.engine.flush(),this.delegate.componentReplaced?.(n)}}const qA=[{provide:Wv,useFactory:function Zse(){return new SA}},{provide:Wh,useClass:(()=>{class t extends Wh{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||t)(It(br),It($v),It(Wv))};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})()},{provide:Bs,useFactory:function Jse(t,n,e){return new Kse(t,n,e)},deps:[v7,Wh,$t]}],YA=[{provide:$v,useClass:jv},{provide:N0,useValue:"NoopAnimations"},...qA],a9=[{provide:$v,useFactory:()=>new VA},{provide:N0,useFactory:()=>"BrowserAnimations"},...qA];let ele=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?YA:a9}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({providers:a9,imports:[DE]})}return t})();const Gh="[NG-ZORRO]:";const W1=(...t)=>{};function Uc(t){return(Uc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(t)}function Ht(t,n){if(n.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+n.length+" present")}function _n(t){Ht(1,arguments);var n=Object.prototype.toString.call(t);return t instanceof Date||"object"===Uc(t)&&"[object Date]"===n?new Date(t.getTime()):"number"==typeof t||"[object Number]"===n?new Date(t):(("string"==typeof t||"[object String]"===n)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function Br(t){if(null===t||!0===t||!1===t)return NaN;var n=Number(t);return isNaN(n)?n:n<0?Math.ceil(n):Math.floor(n)}var WA={};function Fu(){return WA}function GA(t,n){var e,i,r,o,a,s,l,c;Ht(1,arguments);var h=Fu(),g=Br(null!==(e=null!==(i=null!==(r=null!==(o=n?.weekStartsOn)&&void 0!==o?o:null==n||null===(a=n.locale)||void 0===a||null===(s=a.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==r?r:h.weekStartsOn)&&void 0!==i?i:null===(l=h.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==e?e:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var L=_n(t),y=L.getDay(),x=(y<g?7:0)+y-g;return L.setDate(L.getDate()-x),L.setHours(0,0,0,0),L}function r8(t){return Ht(1,arguments),GA(t,{weekStartsOn:1})}function wd(t){if(Ht(1,arguments),!function cle(t){return Ht(1,arguments),t instanceof Date||"object"===Uc(t)&&"[object Date]"===Object.prototype.toString.call(t)}(t)&&"number"!=typeof t)return!1;var n=_n(t);return!isNaN(Number(n))}function KA(t,n){return Ht(2,arguments),function ule(t,n){Ht(2,arguments);var e=_n(t).getTime(),i=Br(n);return new Date(e+i)}(t,-Br(n))}function Sd(t){Ht(1,arguments);var e=_n(t),i=e.getUTCDay(),r=(i<1?7:0)+i-1;return e.setUTCDate(e.getUTCDate()-r),e.setUTCHours(0,0,0,0),e}function QA(t){Ht(1,arguments);var n=_n(t),e=n.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(e+1,0,4),i.setUTCHours(0,0,0,0);var r=Sd(i),o=new Date(0);o.setUTCFullYear(e,0,4),o.setUTCHours(0,0,0,0);var a=Sd(o);return n.getTime()>=r.getTime()?e+1:n.getTime()>=a.getTime()?e:e-1}function XA(t){Ht(1,arguments);var n=_n(t),e=Sd(n).getTime()-function fle(t){Ht(1,arguments);var n=QA(t),e=new Date(0);return e.setUTCFullYear(n,0,4),e.setUTCHours(0,0,0,0),Sd(e)}(n).getTime();return Math.round(e/6048e5)+1}function G1(t,n){var e,i,r,o,a,s,l,c;Ht(1,arguments);var h=Fu(),g=Br(null!==(e=null!==(i=null!==(r=null!==(o=n?.weekStartsOn)&&void 0!==o?o:null==n||null===(a=n.locale)||void 0===a||null===(s=a.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==r?r:h.weekStartsOn)&&void 0!==i?i:null===(l=h.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==e?e:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var L=_n(t),y=L.getUTCDay(),x=(y<g?7:0)+y-g;return L.setUTCDate(L.getUTCDate()-x),L.setUTCHours(0,0,0,0),L}function s9(t,n){var e,i,r,o,a,s,l,c;Ht(1,arguments);var h=_n(t),g=h.getUTCFullYear(),L=Fu(),y=Br(null!==(e=null!==(i=null!==(r=null!==(o=n?.firstWeekContainsDate)&&void 0!==o?o:null==n||null===(a=n.locale)||void 0===a||null===(s=a.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==r?r:L.firstWeekContainsDate)&&void 0!==i?i:null===(l=L.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==e?e:1);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var x=new Date(0);x.setUTCFullYear(g+1,0,y),x.setUTCHours(0,0,0,0);var B=G1(x,n),ee=new Date(0);ee.setUTCFullYear(g,0,y),ee.setUTCHours(0,0,0,0);var re=G1(ee,n);return h.getTime()>=B.getTime()?g+1:h.getTime()>=re.getTime()?g:g-1}function ZA(t,n){Ht(1,arguments);var e=_n(t),i=G1(e,n).getTime()-function ple(t,n){var e,i,r,o,a,s,l,c;Ht(1,arguments);var h=Fu(),g=Br(null!==(e=null!==(i=null!==(r=null!==(o=n?.firstWeekContainsDate)&&void 0!==o?o:null==n||null===(a=n.locale)||void 0===a||null===(s=a.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==r?r:h.firstWeekContainsDate)&&void 0!==i?i:null===(l=h.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==e?e:1),L=s9(t,n),y=new Date(0);return y.setUTCFullYear(L,0,g),y.setUTCHours(0,0,0,0),G1(y,n)}(e,n).getTime();return Math.round(i/6048e5)+1}function qi(t,n){for(var e=t<0?"-":"",i=Math.abs(t).toString();i.length<n;)i="0"+i;return e+i}const Hu_y=function(n,e){var i=n.getUTCFullYear(),r=i>0?i:1-i;return qi("yy"===e?r%100:r,e.length)},Hu_M=function(n,e){var i=n.getUTCMonth();return"M"===e?String(i+1):qi(i+1,2)},Hu_d=function(n,e){return qi(n.getUTCDate(),e.length)},Hu_h=function(n,e){return qi(n.getUTCHours()%12||12,e.length)},Hu_H=function(n,e){return qi(n.getUTCHours(),e.length)},Hu_m=function(n,e){return qi(n.getUTCMinutes(),e.length)},Hu_s=function(n,e){return qi(n.getUTCSeconds(),e.length)},Hu_S=function(n,e){var i=e.length,r=n.getUTCMilliseconds();return qi(Math.floor(r*Math.pow(10,i-3)),e.length)};var _le={G:function(n,e,i){var r=n.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(r,{width:"abbreviated"});case"GGGGG":return i.era(r,{width:"narrow"});default:return i.era(r,{width:"wide"})}},y:function(n,e,i){if("yo"===e){var r=n.getUTCFullYear();return i.ordinalNumber(r>0?r:1-r,{unit:"year"})}return Hu_y(n,e)},Y:function(n,e,i,r){var o=s9(n,r),a=o>0?o:1-o;return"YY"===e?qi(a%100,2):"Yo"===e?i.ordinalNumber(a,{unit:"year"}):qi(a,e.length)},R:function(n,e){return qi(QA(n),e.length)},u:function(n,e){return qi(n.getUTCFullYear(),e.length)},Q:function(n,e,i){var r=Math.ceil((n.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return qi(r,2);case"Qo":return i.ordinalNumber(r,{unit:"quarter"});case"QQQ":return i.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(r,{width:"narrow",context:"formatting"});default:return i.quarter(r,{width:"wide",context:"formatting"})}},q:function(n,e,i){var r=Math.ceil((n.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return qi(r,2);case"qo":return i.ordinalNumber(r,{unit:"quarter"});case"qqq":return i.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(r,{width:"narrow",context:"standalone"});default:return i.quarter(r,{width:"wide",context:"standalone"})}},M:function(n,e,i){var r=n.getUTCMonth();switch(e){case"M":case"MM":return Hu_M(n,e);case"Mo":return i.ordinalNumber(r+1,{unit:"month"});case"MMM":return i.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(r,{width:"narrow",context:"formatting"});default:return i.month(r,{width:"wide",context:"formatting"})}},L:function(n,e,i){var r=n.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return qi(r+1,2);case"Lo":return i.ordinalNumber(r+1,{unit:"month"});case"LLL":return i.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(r,{width:"narrow",context:"standalone"});default:return i.month(r,{width:"wide",context:"standalone"})}},w:function(n,e,i,r){var o=ZA(n,r);return"wo"===e?i.ordinalNumber(o,{unit:"week"}):qi(o,e.length)},I:function(n,e,i){var r=XA(n);return"Io"===e?i.ordinalNumber(r,{unit:"week"}):qi(r,e.length)},d:function(n,e,i){return"do"===e?i.ordinalNumber(n.getUTCDate(),{unit:"date"}):Hu_d(n,e)},D:function(n,e,i){var r=function hle(t){Ht(1,arguments);var n=_n(t),e=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var i=n.getTime();return Math.floor((e-i)/864e5)+1}(n);return"Do"===e?i.ordinalNumber(r,{unit:"dayOfYear"}):qi(r,e.length)},E:function(n,e,i){var r=n.getUTCDay();switch(e){case"E":case"EE":case"EEE":return i.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},e:function(n,e,i,r){var o=n.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return qi(a,2);case"eo":return i.ordinalNumber(a,{unit:"day"});case"eee":return i.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},c:function(n,e,i,r){var o=n.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return qi(a,e.length);case"co":return i.ordinalNumber(a,{unit:"day"});case"ccc":return i.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(o,{width:"narrow",context:"standalone"});case"cccccc":return i.day(o,{width:"short",context:"standalone"});default:return i.day(o,{width:"wide",context:"standalone"})}},i:function(n,e,i){var r=n.getUTCDay(),o=0===r?7:r;switch(e){case"i":return String(o);case"ii":return qi(o,e.length);case"io":return i.ordinalNumber(o,{unit:"day"});case"iii":return i.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},a:function(n,e,i){var o=n.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(n,e,i){var o,r=n.getUTCHours();switch(o=12===r?"noon":0===r?"midnight":r/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(n,e,i){var o,r=n.getUTCHours();switch(o=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",e){case"B":case"BB":case"BBB":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(n,e,i){if("ho"===e){var r=n.getUTCHours()%12;return 0===r&&(r=12),i.ordinalNumber(r,{unit:"hour"})}return Hu_h(n,e)},H:function(n,e,i){return"Ho"===e?i.ordinalNumber(n.getUTCHours(),{unit:"hour"}):Hu_H(n,e)},K:function(n,e,i){var r=n.getUTCHours()%12;return"Ko"===e?i.ordinalNumber(r,{unit:"hour"}):qi(r,e.length)},k:function(n,e,i){var r=n.getUTCHours();return 0===r&&(r=24),"ko"===e?i.ordinalNumber(r,{unit:"hour"}):qi(r,e.length)},m:function(n,e,i){return"mo"===e?i.ordinalNumber(n.getUTCMinutes(),{unit:"minute"}):Hu_m(n,e)},s:function(n,e,i){return"so"===e?i.ordinalNumber(n.getUTCSeconds(),{unit:"second"}):Hu_s(n,e)},S:function(n,e){return Hu_S(n,e)},X:function(n,e,i,r){var a=(r._originalDate||n).getTimezoneOffset();if(0===a)return"Z";switch(e){case"X":return eL(a);case"XXXX":case"XX":return K1(a);default:return K1(a,":")}},x:function(n,e,i,r){var a=(r._originalDate||n).getTimezoneOffset();switch(e){case"x":return eL(a);case"xxxx":case"xx":return K1(a);default:return K1(a,":")}},O:function(n,e,i,r){var a=(r._originalDate||n).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+JA(a,":");default:return"GMT"+K1(a,":")}},z:function(n,e,i,r){var a=(r._originalDate||n).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+JA(a,":");default:return"GMT"+K1(a,":")}},t:function(n,e,i,r){return qi(Math.floor((r._originalDate||n).getTime()/1e3),e.length)},T:function(n,e,i,r){return qi((r._originalDate||n).getTime(),e.length)}};function JA(t,n){var e=t>0?"-":"+",i=Math.abs(t),r=Math.floor(i/60),o=i%60;if(0===o)return e+String(r);var a=n||"";return e+String(r)+a+qi(o,2)}function eL(t,n){return t%60==0?(t>0?"-":"+")+qi(Math.abs(t)/60,2):K1(t,n)}function K1(t,n){var e=n||"",i=t>0?"-":"+",r=Math.abs(t);return i+qi(Math.floor(r/60),2)+e+qi(r%60,2)}const yle=_le;var tL=function(n,e){switch(n){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},nL=function(n,e){switch(n){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}};const l9={p:nL,P:function(n,e){var a,i=n.match(/(P+)(p+)?/)||[],r=i[1],o=i[2];if(!o)return tL(n,e);switch(r){case"P":a=e.dateTime({width:"short"});break;case"PP":a=e.dateTime({width:"medium"});break;case"PPP":a=e.dateTime({width:"long"});break;default:a=e.dateTime({width:"full"})}return a.replace("{{date}}",tL(r,e)).replace("{{time}}",nL(o,e))}};function o8(t){var n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),t.getTime()-n.getTime()}var wle=["D","DD"],Sle=["YY","YYYY"];function iL(t){return-1!==wle.indexOf(t)}function rL(t){return-1!==Sle.indexOf(t)}function a8(t,n,e){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(n,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(n,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(n,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(n,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Mle={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function c9(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=n.width?String(n.width):t.defaultWidth;return t.formats[e]||t.formats[t.defaultWidth]}}const zle={date:c9({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:c9({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:c9({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var Ale={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Kh(t){return function(n,e){var r;if("formatting"===(null!=e&&e.context?String(e.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,a=null!=e&&e.width?String(e.width):o;r=t.formattingValues[a]||t.formattingValues[o]}else{var s=t.defaultWidth,l=null!=e&&e.width?String(e.width):t.defaultWidth;r=t.values[l]||t.values[s]}return r[t.argumentCallback?t.argumentCallback(n):n]}}const qle={ordinalNumber:function(n,e){var i=Number(n),r=i%100;if(r>20||r<10)switch(r%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:Kh({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Kh({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(n){return n-1}}),month:Kh({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Kh({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Kh({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function Qh(t){return function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.width,o=n.match(i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth]);if(!o)return null;var c,a=o[0],s=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(s)?function jle(t,n){for(var e=0;e<t.length;e++)if(n(t[e]))return e}(s,function(g){return g.test(a)}):function Yle(t,n){for(var e in t)if(t.hasOwnProperty(e)&&n(t[e]))return e}(s,function(g){return g.test(a)});return c=t.valueCallback?t.valueCallback(l):l,{value:c=e.valueCallback?e.valueCallback(c):c,rest:n.slice(a.length)}}}var oce={ordinalNumber:function $le(t){return function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.match(t.matchPattern);if(!i)return null;var r=i[0],o=n.match(t.parsePattern);if(!o)return null;var a=t.valueCallback?t.valueCallback(o[0]):o[0];return{value:a=e.valueCallback?e.valueCallback(a):a,rest:n.slice(r.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(n){return parseInt(n,10)}}),era:Qh({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Qh({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(n){return n+1}}),month:Qh({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Qh({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Qh({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};const oL={code:"en-US",formatDistance:function(n,e,i){var r,o=Mle[n];return r="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!=i&&i.addSuffix?i.comparison&&i.comparison>0?"in "+r:r+" ago":r},formatLong:zle,formatRelative:function(n,e,i,r){return Ale[n]},localize:qle,match:oce,options:{weekStartsOn:0,firstWeekContainsDate:1}};var sce=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,lce=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,cce=/^'([^]*?)'?$/,uce=/''/g,dce=/[a-zA-Z]/;function aL(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,i=Array(n);e<n;e++)i[e]=t[e];return i}function sL(t,n){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function mce(t,n){if(t){if("string"==typeof t)return aL(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?aL(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(c){throw c},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return a=c.done,c},e:function(c){s=!0,o=c},f:function(){try{a||null==e.return||e.return()}finally{if(s)throw o}}}}function pce(t,n){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t}function kt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u9(t,n){return(u9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,i){return e.__proto__=i,e})(t,n)}function yi(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&u9(t,n)}function s8(t){return(s8=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)})(t)}function lL(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(lL=function(){return!!t})()}function bi(t){var n=lL();return function(){var e,i=s8(t);if(n){var r=s8(this).constructor;e=Reflect.construct(i,arguments,r)}else e=i.apply(this,arguments);return function gce(t,n){if(n&&("object"==Uc(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return kt(t)}(this,e)}}function si(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function cL(t){var n=function vce(t,n){if("object"!=Uc(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,n||"default");if("object"!=Uc(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==Uc(n)?n:n+""}function uL(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,cL(i.key),i)}}function li(t,n,e){return n&&uL(t.prototype,n),e&&uL(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function at(t,n,e){return(n=cL(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var dL=function(){function t(){si(this,t),at(this,"priority",void 0),at(this,"subPriority",0)}return li(t,[{key:"validate",value:function(e,i){return!0}}]),t}(),yce=function(t){yi(e,t);var n=bi(e);function e(i,r,o,a,s){var l;return si(this,e),(l=n.call(this)).value=i,l.validateValue=r,l.setValue=o,l.priority=a,s&&(l.subPriority=s),l}return li(e,[{key:"validate",value:function(r,o){return this.validateValue(r,this.value,o)}},{key:"set",value:function(r,o,a){return this.setValue(r,o,this.value,a)}}]),e}(dL),bce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",10),at(kt(i),"subPriority",-1),i}return li(e,[{key:"set",value:function(r,o){if(o.timestampIsSet)return r;var a=new Date(0);return a.setFullYear(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()),a.setHours(r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),r.getUTCMilliseconds()),a}}]),e}(dL),xi=function(){function t(){si(this,t),at(this,"incompatibleTokens",void 0),at(this,"priority",void 0),at(this,"subPriority",void 0)}return li(t,[{key:"run",value:function(e,i,r,o){var a=this.parse(e,i,r,o);return a?{setter:new yce(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}},{key:"validate",value:function(e,i,r){return!0}}]),t}(),Cce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",140),at(kt(i),"incompatibleTokens",["R","u","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"G":case"GG":case"GGG":return a.era(r,{width:"abbreviated"})||a.era(r,{width:"narrow"});case"GGGGG":return a.era(r,{width:"narrow"});default:return a.era(r,{width:"wide"})||a.era(r,{width:"abbreviated"})||a.era(r,{width:"narrow"})}}},{key:"set",value:function(r,o,a){return o.era=a,r.setUTCFullYear(a,0,1),r.setUTCHours(0,0,0,0),r}}]),e}(xi),mo_month=(Math.pow(10,8),/^(1[0-2]|0?\d)/),mo_date=/^(3[0-1]|[0-2]?\d)/,mo_dayOfYear=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,mo_week=/^(5[0-3]|[0-4]?\d)/,mo_hour23h=/^(2[0-3]|[0-1]?\d)/,mo_hour24h=/^(2[0-4]|[0-1]?\d)/,mo_hour11h=/^(1[0-1]|0?\d)/,mo_hour12h=/^(1[0-2]|0?\d)/,mo_minute=/^[0-5]?\d/,mo_second=/^[0-5]?\d/,mo_singleDigit=/^\d/,mo_twoDigits=/^\d{1,2}/,mo_threeDigits=/^\d{1,3}/,mo_fourDigits=/^\d{1,4}/,mo_anyDigitsSigned=/^-?\d+/,mo_singleDigitSigned=/^-?\d/,mo_twoDigitsSigned=/^-?\d{1,2}/,mo_threeDigitsSigned=/^-?\d{1,3}/,mo_fourDigitsSigned=/^-?\d{1,4}/,Ql_basicOptionalMinutes=/^([+-])(\d{2})(\d{2})?|Z/,Ql_basic=/^([+-])(\d{2})(\d{2})|Z/,Ql_basicOptionalSeconds=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,Ql_extended=/^([+-])(\d{2}):(\d{2})|Z/,Ql_extendedOptionalSeconds=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function po(t,n){return t&&{value:n(t.value),rest:t.rest}}function qr(t,n){var e=n.match(t);return e?{value:parseInt(e[0],10),rest:n.slice(e[0].length)}:null}function Xl(t,n){var e=n.match(t);return e?"Z"===e[0]?{value:0,rest:n.slice(1)}:{value:("+"===e[1]?1:-1)*(36e5*(e[2]?parseInt(e[2],10):0)+6e4*(e[3]?parseInt(e[3],10):0)+1e3*(e[5]?parseInt(e[5],10):0)),rest:n.slice(e[0].length)}:null}function pL(t){return qr(mo_anyDigitsSigned,t)}function ro(t,n){switch(t){case 1:return qr(mo_singleDigit,n);case 2:return qr(mo_twoDigits,n);case 3:return qr(mo_threeDigits,n);case 4:return qr(mo_fourDigits,n);default:return qr(new RegExp("^\\d{1,"+t+"}"),n)}}function l8(t,n){switch(t){case 1:return qr(mo_singleDigitSigned,n);case 2:return qr(mo_twoDigitsSigned,n);case 3:return qr(mo_threeDigitsSigned,n);case 4:return qr(mo_fourDigitsSigned,n);default:return qr(new RegExp("^-?\\d{1,"+t+"}"),n)}}function d9(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function gL(t,n){var r,e=n>0,i=e?n:1-n;if(i<=50)r=t||100;else{var o=i+50;r=t+100*Math.floor(o/100)-(t>=o%100?100:0)}return e?r:1-r}function vL(t){return t%400==0||t%4==0&&t%100!=0}var kce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",130),at(kt(i),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){var s=function(c){return{year:c,isTwoDigitYear:"yy"===o}};switch(o){case"y":return po(ro(4,r),s);case"yo":return po(a.ordinalNumber(r,{unit:"year"}),s);default:return po(ro(o.length,r),s)}}},{key:"validate",value:function(r,o){return o.isTwoDigitYear||o.year>0}},{key:"set",value:function(r,o,a){var s=r.getUTCFullYear();if(a.isTwoDigitYear){var l=gL(a.year,s);return r.setUTCFullYear(l,0,1),r.setUTCHours(0,0,0,0),r}return r.setUTCFullYear("era"in o&&1!==o.era?1-a.year:a.year,0,1),r.setUTCHours(0,0,0,0),r}}]),e}(xi),Ece=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",130),at(kt(i),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){var s=function(c){return{year:c,isTwoDigitYear:"YY"===o}};switch(o){case"Y":return po(ro(4,r),s);case"Yo":return po(a.ordinalNumber(r,{unit:"year"}),s);default:return po(ro(o.length,r),s)}}},{key:"validate",value:function(r,o){return o.isTwoDigitYear||o.year>0}},{key:"set",value:function(r,o,a,s){var l=s9(r,s);if(a.isTwoDigitYear){var c=gL(a.year,l);return r.setUTCFullYear(c,0,s.firstWeekContainsDate),r.setUTCHours(0,0,0,0),G1(r,s)}return r.setUTCFullYear("era"in o&&1!==o.era?1-a.year:a.year,0,s.firstWeekContainsDate),r.setUTCHours(0,0,0,0),G1(r,s)}}]),e}(xi),Ice=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",130),at(kt(i),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),i}return li(e,[{key:"parse",value:function(r,o){return l8("R"===o?4:o.length,r)}},{key:"set",value:function(r,o,a){var s=new Date(0);return s.setUTCFullYear(a,0,4),s.setUTCHours(0,0,0,0),Sd(s)}}]),e}(xi),zce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",130),at(kt(i),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),i}return li(e,[{key:"parse",value:function(r,o){return l8("u"===o?4:o.length,r)}},{key:"set",value:function(r,o,a){return r.setUTCFullYear(a,0,1),r.setUTCHours(0,0,0,0),r}}]),e}(xi),Ace=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",120),at(kt(i),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"Q":case"QQ":return ro(o.length,r);case"Qo":return a.ordinalNumber(r,{unit:"quarter"});case"QQQ":return a.quarter(r,{width:"abbreviated",context:"formatting"})||a.quarter(r,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(r,{width:"narrow",context:"formatting"});default:return a.quarter(r,{width:"wide",context:"formatting"})||a.quarter(r,{width:"abbreviated",context:"formatting"})||a.quarter(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,o){return o>=1&&o<=4}},{key:"set",value:function(r,o,a){return r.setUTCMonth(3*(a-1),1),r.setUTCHours(0,0,0,0),r}}]),e}(xi),Lce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",120),at(kt(i),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"q":case"qq":return ro(o.length,r);case"qo":return a.ordinalNumber(r,{unit:"quarter"});case"qqq":return a.quarter(r,{width:"abbreviated",context:"standalone"})||a.quarter(r,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(r,{width:"narrow",context:"standalone"});default:return a.quarter(r,{width:"wide",context:"standalone"})||a.quarter(r,{width:"abbreviated",context:"standalone"})||a.quarter(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,o){return o>=1&&o<=4}},{key:"set",value:function(r,o,a){return r.setUTCMonth(3*(a-1),1),r.setUTCHours(0,0,0,0),r}}]),e}(xi),Oce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),at(kt(i),"priority",110),i}return li(e,[{key:"parse",value:function(r,o,a){var s=function(c){return c-1};switch(o){case"M":return po(qr(mo_month,r),s);case"MM":return po(ro(2,r),s);case"Mo":return po(a.ordinalNumber(r,{unit:"month"}),s);case"MMM":return a.month(r,{width:"abbreviated",context:"formatting"})||a.month(r,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(r,{width:"narrow",context:"formatting"});default:return a.month(r,{width:"wide",context:"formatting"})||a.month(r,{width:"abbreviated",context:"formatting"})||a.month(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,o){return o>=0&&o<=11}},{key:"set",value:function(r,o,a){return r.setUTCMonth(a,1),r.setUTCHours(0,0,0,0),r}}]),e}(xi),Pce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",110),at(kt(i),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){var s=function(c){return c-1};switch(o){case"L":return po(qr(mo_month,r),s);case"LL":return po(ro(2,r),s);case"Lo":return po(a.ordinalNumber(r,{unit:"month"}),s);case"LLL":return a.month(r,{width:"abbreviated",context:"standalone"})||a.month(r,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(r,{width:"narrow",context:"standalone"});default:return a.month(r,{width:"wide",context:"standalone"})||a.month(r,{width:"abbreviated",context:"standalone"})||a.month(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,o){return o>=0&&o<=11}},{key:"set",value:function(r,o,a){return r.setUTCMonth(a,1),r.setUTCHours(0,0,0,0),r}}]),e}(xi),Rce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",100),at(kt(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"w":return qr(mo_week,r);case"wo":return a.ordinalNumber(r,{unit:"week"});default:return ro(o.length,r)}}},{key:"validate",value:function(r,o){return o>=1&&o<=53}},{key:"set",value:function(r,o,a,s){return G1(function Nce(t,n,e){Ht(2,arguments);var i=_n(t),r=Br(n),o=ZA(i,e)-r;return i.setUTCDate(i.getUTCDate()-7*o),i}(r,a,s),s)}}]),e}(xi),Hce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",100),at(kt(i),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"I":return qr(mo_week,r);case"Io":return a.ordinalNumber(r,{unit:"week"});default:return ro(o.length,r)}}},{key:"validate",value:function(r,o){return o>=1&&o<=53}},{key:"set",value:function(r,o,a){return Sd(function Fce(t,n){Ht(2,arguments);var e=_n(t),i=Br(n),r=XA(e)-i;return e.setUTCDate(e.getUTCDate()-7*r),e}(r,a))}}]),e}(xi),Vce=[31,28,31,30,31,30,31,31,30,31,30,31],Uce=[31,29,31,30,31,30,31,31,30,31,30,31],Bce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",90),at(kt(i),"subPriority",1),at(kt(i),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"d":return qr(mo_date,r);case"do":return a.ordinalNumber(r,{unit:"date"});default:return ro(o.length,r)}}},{key:"validate",value:function(r,o){var s=vL(r.getUTCFullYear()),l=r.getUTCMonth();return s?o>=1&&o<=Uce[l]:o>=1&&o<=Vce[l]}},{key:"set",value:function(r,o,a){return r.setUTCDate(a),r.setUTCHours(0,0,0,0),r}}]),e}(xi),qce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",90),at(kt(i),"subpriority",1),at(kt(i),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"D":case"DD":return qr(mo_dayOfYear,r);case"Do":return a.ordinalNumber(r,{unit:"date"});default:return ro(o.length,r)}}},{key:"validate",value:function(r,o){return vL(r.getUTCFullYear())?o>=1&&o<=366:o>=1&&o<=365}},{key:"set",value:function(r,o,a){return r.setUTCMonth(0,a),r.setUTCHours(0,0,0,0),r}}]),e}(xi);function h9(t,n,e){var i,r,o,a,s,l,c,h;Ht(2,arguments);var g=Fu(),L=Br(null!==(i=null!==(r=null!==(o=null!==(a=e?.weekStartsOn)&&void 0!==a?a:null==e||null===(s=e.locale)||void 0===s||null===(l=s.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==o?o:g.weekStartsOn)&&void 0!==r?r:null===(c=g.locale)||void 0===c||null===(h=c.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(L>=0&&L<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=_n(t),x=Br(n),ae=((x%7+7)%7<L?7:0)+x-y.getUTCDay();return y.setUTCDate(y.getUTCDate()+ae),y}var Yce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",90),at(kt(i),"incompatibleTokens",["D","i","e","c","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"E":case"EE":case"EEE":return a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"});default:return a.day(r,{width:"wide",context:"formatting"})||a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,o){return o>=0&&o<=6}},{key:"set",value:function(r,o,a,s){return(r=h9(r,a,s)).setUTCHours(0,0,0,0),r}}]),e}(xi),jce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",90),at(kt(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a,s){var l=function(h){var g=7*Math.floor((h-1)/7);return(h+s.weekStartsOn+6)%7+g};switch(o){case"e":case"ee":return po(ro(o.length,r),l);case"eo":return po(a.ordinalNumber(r,{unit:"day"}),l);case"eee":return a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"});case"eeeee":return a.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"});default:return a.day(r,{width:"wide",context:"formatting"})||a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,o){return o>=0&&o<=6}},{key:"set",value:function(r,o,a,s){return(r=h9(r,a,s)).setUTCHours(0,0,0,0),r}}]),e}(xi),$ce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",90),at(kt(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a,s){var l=function(h){var g=7*Math.floor((h-1)/7);return(h+s.weekStartsOn+6)%7+g};switch(o){case"c":case"cc":return po(ro(o.length,r),l);case"co":return po(a.ordinalNumber(r,{unit:"day"}),l);case"ccc":return a.day(r,{width:"abbreviated",context:"standalone"})||a.day(r,{width:"short",context:"standalone"})||a.day(r,{width:"narrow",context:"standalone"});case"ccccc":return a.day(r,{width:"narrow",context:"standalone"});case"cccccc":return a.day(r,{width:"short",context:"standalone"})||a.day(r,{width:"narrow",context:"standalone"});default:return a.day(r,{width:"wide",context:"standalone"})||a.day(r,{width:"abbreviated",context:"standalone"})||a.day(r,{width:"short",context:"standalone"})||a.day(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,o){return o>=0&&o<=6}},{key:"set",value:function(r,o,a,s){return(r=h9(r,a,s)).setUTCHours(0,0,0,0),r}}]),e}(xi),Gce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",90),at(kt(i),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){var s=function(c){return 0===c?7:c};switch(o){case"i":case"ii":return ro(o.length,r);case"io":return a.ordinalNumber(r,{unit:"day"});case"iii":return po(a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"}),s);case"iiiii":return po(a.day(r,{width:"narrow",context:"formatting"}),s);case"iiiiii":return po(a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"}),s);default:return po(a.day(r,{width:"wide",context:"formatting"})||a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"}),s)}}},{key:"validate",value:function(r,o){return o>=1&&o<=7}},{key:"set",value:function(r,o,a){return r=function Wce(t,n){Ht(2,arguments);var e=Br(n);e%7==0&&(e-=7);var r=_n(t),l=((e%7+7)%7<1?7:0)+e-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+l),r}(r,a),r.setUTCHours(0,0,0,0),r}}]),e}(xi),Kce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",80),at(kt(i),"incompatibleTokens",["b","B","H","k","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"a":case"aa":case"aaa":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(r,{width:"narrow",context:"formatting"});default:return a.dayPeriod(r,{width:"wide",context:"formatting"})||a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,o,a){return r.setUTCHours(d9(a),0,0,0),r}}]),e}(xi),Qce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",80),at(kt(i),"incompatibleTokens",["a","B","H","k","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"b":case"bb":case"bbb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(r,{width:"narrow",context:"formatting"});default:return a.dayPeriod(r,{width:"wide",context:"formatting"})||a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,o,a){return r.setUTCHours(d9(a),0,0,0),r}}]),e}(xi),Xce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",80),at(kt(i),"incompatibleTokens",["a","b","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"B":case"BB":case"BBB":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(r,{width:"narrow",context:"formatting"});default:return a.dayPeriod(r,{width:"wide",context:"formatting"})||a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,o,a){return r.setUTCHours(d9(a),0,0,0),r}}]),e}(xi),Zce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",70),at(kt(i),"incompatibleTokens",["H","K","k","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"h":return qr(mo_hour12h,r);case"ho":return a.ordinalNumber(r,{unit:"hour"});default:return ro(o.length,r)}}},{key:"validate",value:function(r,o){return o>=1&&o<=12}},{key:"set",value:function(r,o,a){var s=r.getUTCHours()>=12;return r.setUTCHours(s&&a<12?a+12:s||12!==a?a:0,0,0,0),r}}]),e}(xi),Jce=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",70),at(kt(i),"incompatibleTokens",["a","b","h","K","k","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"H":return qr(mo_hour23h,r);case"Ho":return a.ordinalNumber(r,{unit:"hour"});default:return ro(o.length,r)}}},{key:"validate",value:function(r,o){return o>=0&&o<=23}},{key:"set",value:function(r,o,a){return r.setUTCHours(a,0,0,0),r}}]),e}(xi),eue=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",70),at(kt(i),"incompatibleTokens",["h","H","k","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"K":return qr(mo_hour11h,r);case"Ko":return a.ordinalNumber(r,{unit:"hour"});default:return ro(o.length,r)}}},{key:"validate",value:function(r,o){return o>=0&&o<=11}},{key:"set",value:function(r,o,a){var s=r.getUTCHours()>=12;return r.setUTCHours(s&&a<12?a+12:a,0,0,0),r}}]),e}(xi),tue=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",70),at(kt(i),"incompatibleTokens",["a","b","h","H","K","t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"k":return qr(mo_hour24h,r);case"ko":return a.ordinalNumber(r,{unit:"hour"});default:return ro(o.length,r)}}},{key:"validate",value:function(r,o){return o>=1&&o<=24}},{key:"set",value:function(r,o,a){return r.setUTCHours(a<=24?a%24:a,0,0,0),r}}]),e}(xi),nue=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",60),at(kt(i),"incompatibleTokens",["t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"m":return qr(mo_minute,r);case"mo":return a.ordinalNumber(r,{unit:"minute"});default:return ro(o.length,r)}}},{key:"validate",value:function(r,o){return o>=0&&o<=59}},{key:"set",value:function(r,o,a){return r.setUTCMinutes(a,0,0),r}}]),e}(xi),iue=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",50),at(kt(i),"incompatibleTokens",["t","T"]),i}return li(e,[{key:"parse",value:function(r,o,a){switch(o){case"s":return qr(mo_second,r);case"so":return a.ordinalNumber(r,{unit:"second"});default:return ro(o.length,r)}}},{key:"validate",value:function(r,o){return o>=0&&o<=59}},{key:"set",value:function(r,o,a){return r.setUTCSeconds(a,0),r}}]),e}(xi),rue=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",30),at(kt(i),"incompatibleTokens",["t","T"]),i}return li(e,[{key:"parse",value:function(r,o){return po(ro(o.length,r),function(l){return Math.floor(l*Math.pow(10,3-o.length))})}},{key:"set",value:function(r,o,a){return r.setUTCMilliseconds(a),r}}]),e}(xi),oue=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",10),at(kt(i),"incompatibleTokens",["t","T","x"]),i}return li(e,[{key:"parse",value:function(r,o){switch(o){case"X":return Xl(Ql_basicOptionalMinutes,r);case"XX":return Xl(Ql_basic,r);case"XXXX":return Xl(Ql_basicOptionalSeconds,r);case"XXXXX":return Xl(Ql_extendedOptionalSeconds,r);default:return Xl(Ql_extended,r)}}},{key:"set",value:function(r,o,a){return o.timestampIsSet?r:new Date(r.getTime()-a)}}]),e}(xi),aue=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",10),at(kt(i),"incompatibleTokens",["t","T","X"]),i}return li(e,[{key:"parse",value:function(r,o){switch(o){case"x":return Xl(Ql_basicOptionalMinutes,r);case"xx":return Xl(Ql_basic,r);case"xxxx":return Xl(Ql_basicOptionalSeconds,r);case"xxxxx":return Xl(Ql_extendedOptionalSeconds,r);default:return Xl(Ql_extended,r)}}},{key:"set",value:function(r,o,a){return o.timestampIsSet?r:new Date(r.getTime()-a)}}]),e}(xi),sue=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",40),at(kt(i),"incompatibleTokens","*"),i}return li(e,[{key:"parse",value:function(r){return pL(r)}},{key:"set",value:function(r,o,a){return[new Date(1e3*a),{timestampIsSet:!0}]}}]),e}(xi),lue=function(t){yi(e,t);var n=bi(e);function e(){var i;si(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return at(kt(i=n.call.apply(n,[this].concat(o))),"priority",20),at(kt(i),"incompatibleTokens","*"),i}return li(e,[{key:"parse",value:function(r){return pL(r)}},{key:"set",value:function(r,o,a){return[new Date(a),{timestampIsSet:!0}]}}]),e}(xi),cue={G:new Cce,y:new kce,Y:new Ece,R:new Ice,u:new zce,Q:new Ace,q:new Lce,M:new Oce,L:new Pce,w:new Rce,I:new Hce,d:new Bce,D:new qce,E:new Yce,e:new jce,c:new $ce,i:new Gce,a:new Kce,b:new Qce,B:new Xce,h:new Zce,H:new Jce,K:new eue,k:new tue,m:new nue,s:new iue,S:new rue,X:new oue,x:new aue,t:new sue,T:new lue},uue=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,due=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,hue=/^'([^]*?)'?$/,fue=/''/g,mue=/\S/,pue=/[a-zA-Z]/;function c8(t){Ht(1,arguments);var n=_n(t);return Math.floor(n.getMonth()/3)+1}function _L(t,n){Ht(2,arguments);var e=_n(t),i=Br(n);if(isNaN(i))return new Date(NaN);if(!i)return e;var r=e.getDate(),o=new Date(e.getTime());return o.setMonth(e.getMonth()+i+1,0),r>=o.getDate()?o:(e.setFullYear(o.getFullYear(),o.getMonth(),r),e)}function yL(t,n){Ht(2,arguments);var e=_n(t),i=Br(n),r=e.getFullYear(),o=e.getDate(),a=new Date(0);a.setFullYear(r,i,15),a.setHours(0,0,0,0);var s=function Cue(t){Ht(1,arguments);var n=_n(t),e=n.getFullYear(),i=n.getMonth(),r=new Date(0);return r.setFullYear(e,i+1,0),r.setHours(0,0,0,0),r.getDate()}(a);return e.setMonth(i,Math.min(o,s)),e}function Tue(t,n){Ht(2,arguments);var e=_n(t),i=_n(n);return e.getFullYear()===i.getFullYear()}function f9(t){Ht(1,arguments);var n=_n(t),e=n.getMonth();return n.setMonth(e-e%3,1),n.setHours(0,0,0,0),n}function Due(t,n){Ht(2,arguments);var e=f9(t),i=f9(n);return e.getTime()===i.getTime()}function xue(t,n){Ht(2,arguments);var e=_n(t),i=_n(n);return e.getFullYear()===i.getFullYear()&&e.getMonth()===i.getMonth()}function u8(t){Ht(1,arguments);var n=_n(t);return n.setHours(0,0,0,0),n}function m9(t,n){Ht(2,arguments);var e=u8(t),i=u8(n);return e.getTime()===i.getTime()}function bL(t){Ht(1,arguments);var n=_n(t);return n.setMinutes(0,0,0),n}function kue(t,n){Ht(2,arguments);var e=bL(t),i=bL(n);return e.getTime()===i.getTime()}function CL(t){Ht(1,arguments);var n=_n(t);return n.setSeconds(0,0),n}function Eue(t,n){Ht(2,arguments);var e=CL(t),i=CL(n);return e.getTime()===i.getTime()}function wL(t){Ht(1,arguments);var n=_n(t);return n.setMilliseconds(0),n}function Iue(t,n){Ht(2,arguments);var e=wL(t),i=wL(n);return e.getTime()===i.getTime()}function zue(t,n){Ht(2,arguments);var e=_n(t),i=_n(n);return e.getFullYear()-i.getFullYear()}function Aue(t,n){Ht(2,arguments);var e=_n(t),i=_n(n);return 4*(e.getFullYear()-i.getFullYear())+(c8(e)-c8(i))}function Lue(t,n){Ht(2,arguments);var e=_n(t),i=_n(n);return 12*(e.getFullYear()-i.getFullYear())+(e.getMonth()-i.getMonth())}function SL(t,n){Ht(2,arguments);var e=u8(t),i=u8(n),r=e.getTime()-o8(e),o=i.getTime()-o8(i);return Math.round((r-o)/864e5)}function p9(t,n){return Ht(2,arguments),_n(t).getTime()-_n(n).getTime()}var ML={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(n){return n<0?Math.ceil(n):Math.floor(n)}};function g9(t){return t?ML[t]:ML.trunc}function Nue(t,n,e){Ht(2,arguments);var i=p9(t,n)/36e5;return g9(e?.roundingMethod)(i)}function Rue(t,n,e){Ht(2,arguments);var i=p9(t,n)/6e4;return g9(e?.roundingMethod)(i)}function Fue(t,n,e){Ht(2,arguments);var i=p9(t,n)/1e3;return g9(e?.roundingMethod)(i)}function TL(t){return!!t&&(t instanceof Be||Pt(t.lift)&&Pt(t.subscribe))}const jue=["addListener","removeListener"],$ue=["addEventListener","removeEventListener"],Wue=["on","off"];function Td(t,n,e,i){if(Pt(e)&&(i=e,e=void 0),i)return Td(t,n,e).pipe(rv(i));const[r,o]=function Que(t){return Pt(t.addEventListener)&&Pt(t.removeEventListener)}(t)?$ue.map(a=>s=>t[a](n,s,e)):function Gue(t){return Pt(t.addListener)&&Pt(t.removeListener)}(t)?jue.map(DL(t,n)):function Kue(t){return Pt(t.on)&&Pt(t.off)}(t)?Wue.map(DL(t,n)):[];if(!r&&x7(t))return $o(a=>Td(a,n,e))(la(t));if(!r)throw new TypeError("Invalid event target");return new Be(a=>{const s=(...l)=>a.next(1<l.length?l:l[0]);return r(s),()=>o(s)})}function DL(t,n){return e=>i=>t[e](n,i)}function Yr(t){return typeof t<"u"&&null!==t}function kL(t){return typeof t>"u"||null===t}function d8(t){return t instanceof Yo}function v9(t){return function Yue(t){return null!=t&&"false"!=`${t}`}(t)}function n1e(t){return yh(t,0)}function Bc(t,...n){return"function"==typeof t?t(...n):t}function AL(t){return TL(t)?t:function s1e(t){return!!t&&"function"==typeof t.then&&"function"==typeof t.catch}(t)?new Be(n=>{Promise.resolve(t).then(e=>{n.next(e),n.complete()}).catch(e=>n.error(e))}):Wt(t)}function LL(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function OL({mark:t}={}){return t?t.startsWith("data-")?t:`data-${t}`:"rc-util-key"}function M9(t){return t.attachTo?t.attachTo:document.querySelector("head")||document.body}function PL(t,n={}){if(!LL())return null;const e=document.createElement("style");n.cspNonce&&(e.nonce=n.cspNonce),e.innerHTML=t;const i=M9(n),{firstChild:r}=i;return n.prepend&&i.prepend?i.prepend(e):n.prepend&&r?i.insertBefore(e,r):i.appendChild(e),e}typeof window<"u"&&window;const T9=new Map;function RL(t,n,e){return{[`${t}-status-success`]:"success"===n,[`${t}-status-warning`]:"warning"===n,[`${t}-status-error`]:"error"===n,[`${t}-status-validating`]:"validating"===n,[`${t}-has-feedback`]:e}}function ks(t,n,e){return t?new Be(i=>function v1e(t){return typeof Zone<"u"?Zone.root.run(t):t()}(()=>Td(t,n,e).subscribe(i))):rs}function FL(t){const[n,e]=t;return!!n&&!!e&&e.isBeforeDay(n)}function Xh(t){return Array.isArray(t)?t.map(n=>n instanceof ri?n.clone():null):t instanceof ri?t.clone():null}class ri{nativeDate;constructor(n){if(n)if(n instanceof Date)this.nativeDate=n;else{if("string"!=typeof n&&"number"!=typeof n)throw new Error('The input date type is not supported ("Date" is now recommended)');this.nativeDate=new Date(n)}else this.nativeDate=new Date}calendarStart(n){return new ri(GA(function _ue(t){Ht(1,arguments);var n=_n(t);return n.setDate(1),n.setHours(0,0,0,0),n}(this.nativeDate),n))}getYear(){return this.nativeDate.getFullYear()}getMonth(){return this.nativeDate.getMonth()}getDay(){return this.nativeDate.getDay()}getTime(){return this.nativeDate.getTime()}getDate(){return this.nativeDate.getDate()}getHours(){return this.nativeDate.getHours()}getMinutes(){return this.nativeDate.getMinutes()}getSeconds(){return this.nativeDate.getSeconds()}getMilliseconds(){return this.nativeDate.getMilliseconds()}clone(){return new ri(new Date(this.nativeDate))}setHms(n,e,i){const r=new Date(this.nativeDate.setHours(n,e,i));return new ri(r)}setYear(n){return new ri(function yue(t,n){Ht(2,arguments);var e=_n(t),i=Br(n);return isNaN(e.getTime())?new Date(NaN):(e.setFullYear(i),e)}(this.nativeDate,n))}addYears(n){return new ri(function bue(t,n){return Ht(2,arguments),_L(t,12*Br(n))}(this.nativeDate,n))}setMonth(n){return new ri(yL(this.nativeDate,n))}addMonths(n){return new ri(_L(this.nativeDate,n))}setDay(n,e){return new ri(function Sue(t,n,e){var i,r,o,a,s,l,c,h;Ht(2,arguments);var g=Fu(),L=Br(null!==(i=null!==(r=null!==(o=null!==(a=e?.weekStartsOn)&&void 0!==a?a:null==e||null===(s=e.locale)||void 0===s||null===(l=s.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==o?o:g.weekStartsOn)&&void 0!==r?r:null===(c=g.locale)||void 0===c||null===(h=c.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(L>=0&&L<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=_n(t),x=Br(n),B=y.getDay(),ae=7-L;return function wue(t,n){Ht(2,arguments);var e=_n(t),i=Br(n);return isNaN(i)?new Date(NaN):(i&&e.setDate(e.getDate()+i),e)}(y,x<0||x>6?x-(B+ae)%7:((x%7+7)%7+ae)%7-(B+ae)%7)}(this.nativeDate,n,e))}setDate(n){const e=new Date(this.nativeDate);return e.setDate(n),new ri(e)}getQuarter(){return c8(this.nativeDate)}setQuarter(n){return new ri(function Mue(t,n){Ht(2,arguments);var e=_n(t),o=Br(n)-(Math.floor(e.getMonth()/3)+1);return yL(e,e.getMonth()+3*o)}(this.nativeDate,n))}addDays(n){return this.setDate(this.getDate()+n)}add(n,e){switch(e){case"decade":return this.addYears(10*n);case"year":return this.addYears(n);default:return this.addMonths(n)}}isSame(n,e="day"){let i;switch(e){case"decade":i=(r,o)=>Math.abs(r.getFullYear()-o.getFullYear())<11;break;case"year":i=Tue;break;case"quarter":i=Due;break;case"month":i=xue;break;case"day":default:i=m9;break;case"hour":i=kue;break;case"minute":i=Eue;break;case"second":i=Iue}return i(this.nativeDate,this.toNativeDate(n))}isSameYear(n){return this.isSame(n,"year")}isSameQuarter(n){return this.isSame(n,"quarter")}isSameMonth(n){return this.isSame(n,"month")}isSameDay(n){return this.isSame(n,"day")}isSameHour(n){return this.isSame(n,"hour")}isSameMinute(n){return this.isSame(n,"minute")}isSameSecond(n){return this.isSame(n,"second")}isBefore(n,e="day"){if(null===n)return!1;let i;switch(e){case"year":i=zue;break;case"quarter":i=Aue;break;case"month":i=Lue;break;case"day":default:i=SL;break;case"hour":i=Nue;break;case"minute":i=Rue;break;case"second":i=Fue}return i(this.nativeDate,this.toNativeDate(n))<0}isBeforeYear(n){return this.isBefore(n,"year")}isBeforeQuarter(n){return this.isBefore(n,"quarter")}isBeforeMonth(n){return this.isBefore(n,"month")}isBeforeDay(n){return this.isBefore(n,"day")}isToday(){return function Hue(t){return Ht(1,arguments),m9(t,Date.now())}(this.nativeDate)}isValid(){return wd(this.nativeDate)}isFirstDayOfMonth(){return function Vue(t){return Ht(1,arguments),1===_n(t).getDate()}(this.nativeDate)}isLastDayOfMonth(){return function que(t){Ht(1,arguments);var n=_n(t);return function Uue(t){Ht(1,arguments);var n=_n(t);return n.setHours(23,59,59,999),n}(n).getTime()===function Bue(t){Ht(1,arguments);var n=_n(t),e=n.getMonth();return n.setFullYear(n.getFullYear(),e+1,0),n.setHours(23,59,59,999),n}(n).getTime()}(this.nativeDate)}toNativeDate(n){return n instanceof ri?n.nativeDate:n}}class C1e{format;localeId;regex=null;matchMap={hour:null,minute:null,second:null,periodNarrow:null,periodWide:null,periodAbbreviated:null};constructor(n,e){this.format=n,this.localeId=e,this.genRegexp()}toDate(n){const e=this.getTimeResult(n),i=new Date;return Yr(e?.hour)&&i.setHours(e.hour),Yr(e?.minute)&&i.setMinutes(e.minute),Yr(e?.second)&&i.setSeconds(e.second),1===e?.period&&i.getHours()<12&&i.setHours(i.getHours()+12),i}getTimeResult(n){const e=this.regex.exec(n);let i=null;return e?(Yr(this.matchMap.periodNarrow)&&(i=O1(this.localeId,fo.Format,_i.Narrow).indexOf(e[this.matchMap.periodNarrow+1])),Yr(this.matchMap.periodWide)&&(i=O1(this.localeId,fo.Format,_i.Wide).indexOf(e[this.matchMap.periodWide+1])),Yr(this.matchMap.periodAbbreviated)&&(i=O1(this.localeId,fo.Format,_i.Abbreviated).indexOf(e[this.matchMap.periodAbbreviated+1])),{hour:Yr(this.matchMap.hour)?Number.parseInt(e[this.matchMap.hour+1],10):null,minute:Yr(this.matchMap.minute)?Number.parseInt(e[this.matchMap.minute+1],10):null,second:Yr(this.matchMap.second)?Number.parseInt(e[this.matchMap.second+1],10):null,period:i}):null}genRegexp(){let n=this.format.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$&");const e=/h{1,2}/i,i=/m{1,2}/,r=/s{1,2}/,o=/aaaaa/,a=/aaaa/,s=/a{1,3}/,l=e.exec(this.format),c=i.exec(this.format),h=r.exec(this.format),g=o.exec(this.format);let L=null,y=null;g||(L=a.exec(this.format)),!L&&!g&&(y=s.exec(this.format)),[l,c,h,g,L,y].filter(B=>!!B).sort((B,ee)=>B.index-ee.index).forEach((B,ee)=>{switch(B){case l:this.matchMap.hour=ee,n=n.replace(e,"(\\d{1,2})");break;case c:this.matchMap.minute=ee,n=n.replace(i,"(\\d{1,2})");break;case h:this.matchMap.second=ee,n=n.replace(r,"(\\d{1,2})");break;case g:{this.matchMap.periodNarrow=ee;const re=O1(this.localeId,fo.Format,_i.Narrow).join("|");n=n.replace(o,`(${re})`);break}case L:{this.matchMap.periodWide=ee;const re=O1(this.localeId,fo.Format,_i.Wide).join("|");n=n.replace(a,`(${re})`);break}case y:{this.matchMap.periodAbbreviated=ee;const re=O1(this.localeId,fo.Format,_i.Abbreviated).join("|");n=n.replace(s,`(${re})`);break}}}),this.regex=new RegExp(n)}}var HL={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Form:{optional:"(optional)"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Image:{preview:"Preview"},CronExpression:{cronError:"Invalid cron expression",second:"second",minute:"minute",hour:"hour",day:"day",month:"month",week:"week"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},CheckList:{checkList:"Check List",checkListFinish:"You have successfully completed the list!",checkListClose:"Close",checkListFooter:"Check list is no longer required",checkListCheck:"Do you want to close the list?",ok:"OK",cancel:"Cancel",checkListCheckOther:"No longer required to show"}},S1e={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},DatePicker:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeQuarterPlaceholder:["\u5f00\u59cb\u5b63\u5ea6","\u7ed3\u675f\u5b63\u5ea6"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},TimePicker:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]},Calendar:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},global:{placeholder:"\u8bf7\u9009\u62e9"},Table:{filterTitle:"\u7b5b\u9009",filterConfirm:"\u786e\u5b9a",filterReset:"\u91cd\u7f6e",filterEmptyText:"\u65e0\u7b5b\u9009\u9879",selectAll:"\u5168\u9009\u5f53\u9875",selectInvert:"\u53cd\u9009\u5f53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5e8f",expand:"\u5c55\u5f00\u884c",collapse:"\u5173\u95ed\u884c",triggerDesc:"\u70b9\u51fb\u964d\u5e8f",triggerAsc:"\u70b9\u51fb\u5347\u5e8f",cancelSort:"\u53d6\u6d88\u6392\u5e8f",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7b5b\u9009\u9879\u4e2d\u641c\u7d22",selectNone:"\u6e05\u7a7a\u6240\u6709"},Modal:{okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",justOkText:"\u77e5\u9053\u4e86"},Popconfirm:{cancelText:"\u53d6\u6d88",okText:"\u786e\u5b9a"},Transfer:{searchPlaceholder:"\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5f53\u9875",removeCurrent:"\u5220\u9664\u5f53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90e8",selectInvert:"\u53cd\u9009\u5f53\u9875"},Upload:{uploading:"\u6587\u4ef6\u4e0a\u4f20\u4e2d",removeFile:"\u5220\u9664\u6587\u4ef6",uploadError:"\u4e0a\u4f20\u9519\u8bef",previewFile:"\u9884\u89c8\u6587\u4ef6",downloadFile:"\u4e0b\u8f7d\u6587\u4ef6"},Empty:{description:"\u6682\u65e0\u6570\u636e"},Form:{optional:"(\u53ef\u9009)"},Icon:{icon:"\u56fe\u6807"},Text:{edit:"\u7f16\u8f91",copy:"\u590d\u5236",copied:"\u590d\u5236\u6210\u529f",expand:"\u5c55\u5f00"},PageHeader:{back:"\u8fd4\u56de"},Image:{preview:"\u9884\u89c8"},CronExpression:{cronError:"cron \u8868\u8fbe\u5f0f\u4e0d\u5408\u6cd5",second:"\u79d2",minute:"\u5206\u949f",hour:"\u5c0f\u65f6",day:"\u65e5",month:"\u6708",week:"\u5468"},QRCode:{expired:"\u4e8c\u7ef4\u7801\u8fc7\u671f",refresh:"\u70b9\u51fb\u5237\u65b0",scanned:"\u5df2\u626b\u63cf"},CheckList:{checkList:"\u4efb\u52a1\u6e05\u5355",checkListFinish:"\u4f60\u5df2\u6210\u529f\u5b8c\u6210\u4efb\u52a1\u6e05\u5355\uff01",checkListClose:"\u5173\u95ed",checkListFooter:"\u4e0d\u9700\u8981\u64cd\u4f5c\u6307\u5f15",checkListCheck:"\u4f60\u8981\u5173\u95ed\u64cd\u4f5c\u6e05\u5355\u5417",ok:"\u786e\u5b9a",cancel:"\u53d6\u6d88",checkListCheckOther:"\u4ee5\u540e\u4e0d\u518d\u9700\u8981\u64cd\u4f5c\u6e05\u5355"}};const f8=new Ie(""),M1e=new Ie("");let Dd=(()=>{class t{_locale;_change=new ei(this._locale);dateLocale;get localeChange(){return this._change.asObservable()}constructor(){this.setLocale(U(f8,{optional:!0})||S1e),this.setDateLocale(U(M1e,{optional:!0}))}translate(e,i){let r=this._getObjectPath(this._locale,e);return"string"==typeof r?(i&&Object.keys(i).forEach(o=>r=r.replace(new RegExp(`%${o}%`,"g"),i[o])),r):e}setLocale(e){this._locale&&this._locale.locale===e.locale||(this._locale=e,this._change.next(e))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(e){this.dateLocale=e}getDateLocale(){return this.dateLocale}getLocaleData(e,i){const r=e?this._getObjectPath(this._locale,e):this._locale;return r||i||this._getObjectPath(HL,e)||{}}_getObjectPath(e,i){let r=e;const o=i.split("."),a=o.length;let s=0;for(;r&&s<a;)r=r[o[s++]];return s===a?r:null}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),T1e=(()=>{class t{_locale=U(Dd);transform(e,i){return this._locale.translate(e,i)}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=xa({name:"nzI18n",type:t,pure:!0})}return t})(),D1e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({})}return t})();const x1e=new Ie(""),k1e={firstDayOfWeek:void 0};let Es=(()=>{class t{i18n;config=function E1e(t){return{...k1e,...t}}(U(x1e,{optional:!0}));constructor(e){this.i18n=e}static \u0275fac=function(i){return new(i||t)(It(Dd))};static \u0275prov=$e({token:t,factory:()=>function I1e(){const t=U(Dd);return t.getDateLocale()?new z1e(t):new A1e(t)}(),providedIn:"root"})}return t})();class z1e extends Es{getISOWeek(n){return function lle(t){Ht(1,arguments);var n=_n(t),e=r8(n).getTime()-function ale(t){Ht(1,arguments);var n=function ole(t){Ht(1,arguments);var n=_n(t),e=n.getFullYear(),i=new Date(0);i.setFullYear(e+1,0,4),i.setHours(0,0,0,0);var r=r8(i),o=new Date(0);o.setFullYear(e,0,4),o.setHours(0,0,0,0);var a=r8(o);return n.getTime()>=r.getTime()?e+1:n.getTime()>=a.getTime()?e:e-1}(t),e=new Date(0);return e.setFullYear(n,0,4),e.setHours(0,0,0,0),r8(e)}(n).getTime();return Math.round(e/6048e5)+1}(n)}getFirstDayOfWeek(){let n;try{n=this.i18n.getDateLocale().options.weekStartsOn}catch{n=1}return null==this.config.firstDayOfWeek?n:this.config.firstDayOfWeek}format(n,e){return n?function hce(t,n,e){var i,r,o,a,s,l,c,h,g,L,y,x,B,ee,re,ae,Xe,ot;Ht(2,arguments);var St=String(n),qt=Fu(),wn=null!==(i=null!==(r=e?.locale)&&void 0!==r?r:qt.locale)&&void 0!==i?i:oL,Ln=Br(null!==(o=null!==(a=null!==(s=null!==(l=e?.firstWeekContainsDate)&&void 0!==l?l:null==e||null===(c=e.locale)||void 0===c||null===(h=c.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==s?s:qt.firstWeekContainsDate)&&void 0!==a?a:null===(g=qt.locale)||void 0===g||null===(L=g.options)||void 0===L?void 0:L.firstWeekContainsDate)&&void 0!==o?o:1);if(!(Ln>=1&&Ln<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var yn=Br(null!==(y=null!==(x=null!==(B=null!==(ee=e?.weekStartsOn)&&void 0!==ee?ee:null==e||null===(re=e.locale)||void 0===re||null===(ae=re.options)||void 0===ae?void 0:ae.weekStartsOn)&&void 0!==B?B:qt.weekStartsOn)&&void 0!==x?x:null===(Xe=qt.locale)||void 0===Xe||null===(ot=Xe.options)||void 0===ot?void 0:ot.weekStartsOn)&&void 0!==y?y:0);if(!(yn>=0&&yn<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!wn.localize)throw new RangeError("locale must contain localize property");if(!wn.formatLong)throw new RangeError("locale must contain formatLong property");var ui=_n(t);if(!wd(ui))throw new RangeError("Invalid time value");var gr=KA(ui,o8(ui)),va={firstWeekContainsDate:Ln,weekStartsOn:yn,locale:wn,_originalDate:ui},ls=St.match(lce).map(function(ar){var st=ar[0];return"p"===st||"P"===st?(0,l9[st])(ar,wn.formatLong):ar}).join("").match(sce).map(function(ar){if("''"===ar)return"'";var st=ar[0];if("'"===st)return function fce(t){var n=t.match(cce);return n?n[1].replace(uce,"'"):t}(ar);var Lt=yle[st];if(Lt)return!(null!=e&&e.useAdditionalWeekYearTokens)&&rL(ar)&&a8(ar,n,String(t)),!(null!=e&&e.useAdditionalDayOfYearTokens)&&iL(ar)&&a8(ar,n,String(t)),Lt(gr,ar,wn.localize,va);if(st.match(dce))throw new RangeError("Format string contains an unescaped latin alphabet character `"+st+"`");return ar}).join("");return ls}(n,e,{locale:this.i18n.getDateLocale()}):""}parseDate(n,e){return function gue(t,n,e,i){var r,o,a,s,l,c,h,g,L,y,x,B,ee,re,ae,Xe,ot,St;Ht(3,arguments);var qt=String(t),wn=String(n),Ln=Fu(),yn=null!==(r=null!==(o=i?.locale)&&void 0!==o?o:Ln.locale)&&void 0!==r?r:oL;if(!yn.match)throw new RangeError("locale must contain match property");var ui=Br(null!==(a=null!==(s=null!==(l=null!==(c=i?.firstWeekContainsDate)&&void 0!==c?c:null==i||null===(h=i.locale)||void 0===h||null===(g=h.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==l?l:Ln.firstWeekContainsDate)&&void 0!==s?s:null===(L=Ln.locale)||void 0===L||null===(y=L.options)||void 0===y?void 0:y.firstWeekContainsDate)&&void 0!==a?a:1);if(!(ui>=1&&ui<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var go=Br(null!==(x=null!==(B=null!==(ee=null!==(re=i?.weekStartsOn)&&void 0!==re?re:null==i||null===(ae=i.locale)||void 0===ae||null===(Xe=ae.options)||void 0===Xe?void 0:Xe.weekStartsOn)&&void 0!==ee?ee:Ln.weekStartsOn)&&void 0!==B?B:null===(ot=Ln.locale)||void 0===ot||null===(St=ot.options)||void 0===St?void 0:St.weekStartsOn)&&void 0!==x?x:0);if(!(go>=0&&go<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===wn)return""===qt?_n(e):new Date(NaN);var Lt,gr={firstWeekContainsDate:ui,weekStartsOn:go,locale:yn},va=[new bce],ls=wn.match(due).map(function(oi){var hn=oi[0];return hn in l9?(0,l9[hn])(oi,yn.formatLong):oi}).join("").match(uue),ar=[],st=sL(ls);try{var Jt=function(){var hn=Lt.value;!(null!=i&&i.useAdditionalWeekYearTokens)&&rL(hn)&&a8(hn,wn,t),(null==i||!i.useAdditionalDayOfYearTokens)&&iL(hn)&&a8(hn,wn,t);var Ao=hn[0],El=cue[Ao];if(El){var pR=El.incompatibleTokens;if(Array.isArray(pR)){var gR=ar.find(function(vR){return pR.includes(vR.token)||vR.token===Ao});if(gR)throw new RangeError("The format string mustn't contain `".concat(gR.fullToken,"` and `").concat(hn,"` at the same time"))}else if("*"===El.incompatibleTokens&&ar.length>0)throw new RangeError("The format string mustn't contain `".concat(hn,"` and any other token at the same time"));ar.push({token:Ao,fullToken:hn});var Ly=El.run(qt,hn,yn.match,gr);if(!Ly)return{v:new Date(NaN)};va.push(Ly.setter),qt=Ly.rest}else{if(Ao.match(pue))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Ao+"`");if("''"===hn?hn="'":"'"===Ao&&(hn=function vue(t){return t.match(hue)[1].replace(fue,"'")}(hn)),0!==qt.indexOf(hn))return{v:new Date(NaN)};qt=qt.slice(hn.length)}};for(st.s();!(Lt=st.n()).done;){var Kn=Jt();if("object"===Uc(Kn))return Kn.v}}catch(oi){st.e(oi)}finally{st.f()}if(qt.length>0&&mue.test(qt))return new Date(NaN);var jr=va.map(function(oi){return oi.priority}).sort(function(oi,hn){return hn-oi}).filter(function(oi,hn,Ao){return Ao.indexOf(oi)===hn}).map(function(oi){return va.filter(function(hn){return hn.priority===oi}).sort(function(hn,Ao){return Ao.subPriority-hn.subPriority})}).map(function(oi){return oi[0]}),_a=_n(e);if(isNaN(_a.getTime()))return new Date(NaN);var Re,ao=KA(_a,o8(_a)),kl={},je=sL(jr);try{for(je.s();!(Re=je.n()).done;){var ut=Re.value;if(!ut.validate(ao,gr))return new Date(NaN);var Qn=ut.set(ao,kl,gr);Array.isArray(Qn)?(ao=Qn[0],pce(kl,Qn[1])):ao=Qn}}catch(oi){je.e(oi)}finally{je.f()}return ao}(n,e,new Date,{locale:this.i18n.getDateLocale(),weekStartsOn:this.getFirstDayOfWeek()})}parseTime(n,e){return this.parseDate(n,e)}}class A1e extends Es{getISOWeek(n){return+this.format(n,"w")}getFirstDayOfWeek(){if(void 0===this.config.firstDayOfWeek){const n=this.i18n.getLocaleId();return n&&["zh-cn","zh-tw"].indexOf(n.toLowerCase())>-1?1:0}return this.config.firstDayOfWeek}format(n,e){return n?this.replaceQuarter(Kk(n,e,this.i18n.getLocaleId()),n):""}parseDate(n){return new Date(n)}parseTime(n,e){return new C1e(e,this.i18n.getLocaleId()).toDate(n)}replaceQuarter(n,e){const i=c8(e).toString(),r={Q:i,QQ:`0${i}`,QQQ:`Q${i}`};return n.replace(/Q+(?![^[]*])/g,o=>r[o]??i).replace(/\[(Q+)]/g,"$1")}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.dev/license
       */
const m8=void 0,O1e=["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"]],m8,[["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"]],m8,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",m8,"{1} 'at' {0}",m8],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function L1e(t){const e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}],P1e=new Ie("cdk-dir-doc",{providedIn:"root",factory:function N1e(){return U(br)}}),R1e=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let z9,A9,oo=(()=>{class t{get value(){return this.valueSignal()}valueSignal=Jr("ltr");change=new dt;constructor(){const e=U(P1e,{optional:!0});e&&this.valueSignal.set(function F1e(t){const n=t?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?R1e.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Zh(t){return Rr((n,e)=>{la(t).subscribe(dr(e,()=>e.complete(),Oa)),!e.closed&&n.subscribe(e)})}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
function mt(t){t||(t=U(In));const n=new Be(e=>{if(!t.destroyed)return t.onDestroy(e.next.bind(e));e.next()});return e=>e.pipe(Zh(n))}function YL(t,n){const i=n?.manualCleanup?null:n?.injector?.get(In)??U(In),r=function W1e(t=Object.is){return(n,e)=>1===n.kind&&1===e.kind&&t(n.value,e.value)}(n?.equal);let o,a;o=Jr(n?.requireSync?{kind:0}:{kind:1,value:n?.initialValue},{equal:r});const s=t.subscribe({next:l=>o.set({kind:1,value:l}),error:l=>{o.set({kind:2,error:l}),a?.()},complete:()=>{a?.()}});if(n?.requireSync&&0===o().kind)throw new ge(601,!1);return a=i?.onDestroy(s.unsubscribe.bind(s)),Co(()=>{const l=o();switch(l.kind){case 1:return l.value;case 2:throw l.error;case 0:throw new ge(601,!1)}},{equal:n?.equal})}function jL(t){return pr((n,e)=>t<=e)}function Vu(t,n=Dr){return t=t??G1e,Rr((e,i)=>{let r,o=!0;e.subscribe(dr(i,a=>{const s=n(a);(o||!t(r,s))&&(o=!1,r=s,i.next(a))}))})}function G1e(t,n){return t===n}function Zl(t){return t.composedPath?t.composedPath()[0]:t.target}try{A9=typeof Intl<"u"&&Intl.v8BreakIterator}catch{A9=!1}let Jh,Aa=(()=>{class t{_platformId=U(M2);isBrowser=this._platformId?A5(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&&!A9)&&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(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function m0e(t){return function f0e(){if(null==Jh&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Jh=!0}))}finally{Jh=Jh||!1}return Jh}()?t:!!t.capture}function GL(t,n=0){return function p0e(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):2===arguments.length?n:0}function e4(t){return t instanceof un?t.nativeElement:t}const g0e=new Ie("cdk-input-modality-detector-options"),v0e={ignoreKeys:[18,17,224,91,16]},L9={passive:!0,capture:!0};let _0e=(()=>{class t{_platform=U(Aa);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new ei(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Zl(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<650||(this._modality.next(function K1e(t){return 0===t.buttons||0===t.detail}(e)?"keyboard":"mouse"),this._mostRecentTarget=Zl(e))};_onTouchstart=e=>{!function Q1e(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}(e)?(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Zl(e)):this._modality.next("keyboard")};constructor(){const e=U($t),i=U(br),r=U(g0e,{optional:!0});if(this._options={...v0e,...r},this.modalityDetected=this._modality.pipe(jL(1)),this.modalityChanged=this.modalityDetected.pipe(Vu()),this._platform.isBrowser){const o=U(Bs).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(i,"keydown",this._onKeydown,L9),o.listen(i,"mousedown",this._onMousedown,L9),o.listen(i,"touchstart",this._onTouchstart,L9)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var v8=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(v8||{});const y0e=new Ie("cdk-focus-monitor-default-options"),_8=m0e({passive:!0,capture:!0});let t4=(()=>{class t{_ngZone=U($t);_platform=U(Aa);_inputModalityDetector=U(_0e);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=U(br);_stopInputModalityDetector=new it;constructor(){const e=U(y0e,{optional:!0});this._detectionMode=e?.detectionMode||v8.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{for(let r=Zl(e);r;r=r.parentElement)"focus"===e.type?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){const r=e4(e);if(!this._platform.isBrowser||1!==r.nodeType)return Wt();const o=function h0e(t){if(function d0e(){if(null==z9){const t=typeof document<"u"?document.head:null;z9=!(!t||!t.createShadowRoot&&!t.attachShadow)}return z9}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(r)||this._document,a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;const s={checkChildren:i,subject:new it,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const i=e4(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const o=e4(e);o===this._document.activeElement?this._getClosestElementsInfo(o).forEach(([s,l])=>this._originChanged(s,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===v8.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,this._detectionMode===v8.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),o=Zl(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,_8),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,_8)}),this._rootNodeFocusListenerCount.set(i,r+1),1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Zh(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,_8),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,_8),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let a=0;a<o.length;a++)if(o[a].contains(i))return!0;return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),b0e=(()=>{class t{_elementRef=U(un);_focusMonitor=U(t4);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new dt;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();class C0e extends Vt{constructor(n,e){super()}schedule(n,e=0){return this}}const y8={setInterval(t,n,...e){const{delegate:i}=y8;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){const{delegate:n}=y8;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};class O9 extends C0e{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,i=0){return y8.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&y8.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Wi(i,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}class n4{constructor(n,e=n4.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}}n4.now=C7.now;class P9 extends n4{constructor(n,e=n4.now){super(n,e),this.actions=[],this._active=!1}flush(n){const{actions:e}=this;if(this._active)return void e.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const b8=new P9(O9),w0e=b8;function C8(t,n=b8){return Rr((e,i)=>{let r=null,o=null,a=null;const s=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=a+t,h=n.now();if(h<c)return r=this.schedule(void 0,c-h),void i.add(r);s()}e.subscribe(dr(i,c=>{o=c,a=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{s(),i.complete()},void 0,()=>{o=r=null}))})}const i4={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=i4;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=n(o=>{e=void 0,t(o)});return new Vt(()=>e?.(r))},requestAnimationFrame(...t){const{delegate:n}=i4;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:n}=i4;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0},N9=new class M0e extends P9{flush(n){let e;this._active=!0,n?e=n.id:(e=this._scheduled,this._scheduled=void 0);const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}}(class S0e extends O9{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=i4.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:o}=n;null!=e&&e===n._scheduled&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(i4.cancelAnimationFrame(e),n._scheduled=void 0)}});let R9,T0e=1;const w8={};function QL(t){return t in w8&&(delete w8[t],!0)}const D0e={setImmediate(t){const n=T0e++;return w8[n]=!0,R9||(R9=Promise.resolve()),R9.then(()=>QL(n)&&t()),n},clearImmediate(t){QL(t)}},{setImmediate:x0e,clearImmediate:k0e}=D0e,S8={setImmediate(...t){const{delegate:n}=S8;return(n?.setImmediate||x0e)(...t)},clearImmediate(t){const{delegate:n}=S8;return(n?.clearImmediate||k0e)(t)},delegate:void 0},M8=new class I0e extends P9{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}}(class E0e extends O9{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=S8.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:o}=n;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(S8.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}});let V0e=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||t)(It(br))};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),F9=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:function(i){let r=null;return r=i?new(i||t):It(Y0e),r},providedIn:"root"})}return t})(),Y0e=(()=>{class t extends F9{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case ys.NONE:return i;case ys.HTML:return Ul(i,"HTML")?_s(i):uw(this._doc,String(i)).toString();case ys.STYLE:return Ul(i,"Style")?_s(i):i;case ys.SCRIPT:if(Ul(i,"Script"))return _s(i);throw new ge(5200,!1);case ys.URL:return Ul(i,"URL")?_s(i):k2(String(i));case ys.RESOURCE_URL:if(Ul(i,"ResourceURL"))return _s(i);throw new ge(5201,!1);default:throw new ge(5202,!1)}}bypassSecurityTrustHtml(e){return function sV(t){return new tV(t)}(e)}bypassSecurityTrustStyle(e){return function lV(t){return new nV(t)}(e)}bypassSecurityTrustScript(e){return function cV(t){return new iV(t)}(e)}bypassSecurityTrustUrl(e){return function uV(t){return new rV(t)}(e)}bypassSecurityTrustResourceUrl(e){return function dV(t){return new oV(t)}(e)}static \u0275fac=function(i){return new(i||t)(It(br))};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Go(t,n,e){const i=Pt(t)||n||e?{next:t,error:n,complete:e}:t;return i?Rr((r,o)=>{var a;null===(a=i.subscribe)||void 0===a||a.call(i);let s=!0;r.subscribe(dr(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;s=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;s=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;s&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):Dr}function Q1(t){return Rr((n,e)=>{let o,i=null,r=!1;i=n.subscribe(dr(e,void 0,void 0,a=>{o=la(t(a,Q1(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function H9(t,n,...e){if(!0===n)return void t();if(!1===n)return;const i=new Or({next:()=>{i.unsubscribe(),t()}});return la(n(...e)).subscribe(i)}function Jl(t){return t<=0?()=>rs:Rr((n,e)=>{let i=0;n.subscribe(dr(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}const Ko=Math.round;function V9(t,n){const e=t.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],i=e.map(r=>parseFloat(r));for(let r=0;r<3;r+=1)i[r]=n(i[r]||0,e[r]||"",r);return i[3]=e[3]?e[3].includes("%")?i[3]/100:i[3]:1,i}const oO=(t,n,e)=>0===e?t:t/100;function a4(t,n){const e=n||255;return t>e?e:t<0?0:t}class xd{constructor(n){function e(i){return i[0]in n&&i[1]in n&&i[2]in n}if(at(this,"isValid",!0),at(this,"r",0),at(this,"g",0),at(this,"b",0),at(this,"a",1),at(this,"_h",void 0),at(this,"_s",void 0),at(this,"_l",void 0),at(this,"_v",void 0),at(this,"_max",void 0),at(this,"_min",void 0),at(this,"_brightness",void 0),n)if("string"==typeof n){let r=function(o){return i.startsWith(o)};const i=n.trim();/^#?[A-F\d]{3,8}$/i.test(i)?this.fromHexString(i):r("rgb")?this.fromRgbString(i):r("hsl")?this.fromHslString(i):(r("hsv")||r("hsb"))&&this.fromHsvString(i)}else if(n instanceof xd)this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this._h=n._h,this._s=n._s,this._l=n._l,this._v=n._v;else if(e("rgb"))this.r=a4(n.r),this.g=a4(n.g),this.b=a4(n.b),this.a="number"==typeof n.a?a4(n.a,1):1;else if(e("hsl"))this.fromHsl(n);else{if(!e("hsv"))throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(n));this.fromHsv(n)}}setR(n){return this._sc("r",n)}setG(n){return this._sc("g",n)}setB(n){return this._sc("b",n)}setA(n){return this._sc("a",n,1)}setHue(n){const e=this.toHsv();return e.h=n,this._c(e)}getLuminance(){function n(o){const a=o/255;return a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4)}return.2126*n(this.r)+.7152*n(this.g)+.0722*n(this.b)}getHue(){if(typeof this._h>"u"){const n=this.getMax()-this.getMin();this._h=0===n?0:Ko(60*(this.r===this.getMax()?(this.g-this.b)/n+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/n+2:(this.r-this.g)/n+4))}return this._h}getSaturation(){if(typeof this._s>"u"){const n=this.getMax()-this.getMin();this._s=0===n?0:n/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(299*this.r+587*this.g+114*this.b)/1e3),this._brightness}darken(n=10){const e=this.getHue(),i=this.getSaturation();let r=this.getLightness()-n/100;return r<0&&(r=0),this._c({h:e,s:i,l:r,a:this.a})}lighten(n=10){const e=this.getHue(),i=this.getSaturation();let r=this.getLightness()+n/100;return r>1&&(r=1),this._c({h:e,s:i,l:r,a:this.a})}mix(n,e=50){const i=this._c(n),r=e/100,o=s=>(i[s]-this[s])*r+this[s],a={r:Ko(o("r")),g:Ko(o("g")),b:Ko(o("b")),a:Ko(100*o("a"))/100};return this._c(a)}tint(n=10){return this.mix({r:255,g:255,b:255,a:1},n)}shade(n=10){return this.mix({r:0,g:0,b:0,a:1},n)}onBackground(n){const e=this._c(n),i=this.a+e.a*(1-this.a),r=o=>Ko((this[o]*this.a+e[o]*e.a*(1-this.a))/i);return this._c({r:r("r"),g:r("g"),b:r("b"),a:i})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(n){return this.r===n.r&&this.g===n.g&&this.b===n.b&&this.a===n.a}clone(){return this._c(this)}toHexString(){let n="#";const e=(this.r||0).toString(16);n+=2===e.length?e:"0"+e;const i=(this.g||0).toString(16);n+=2===i.length?i:"0"+i;const r=(this.b||0).toString(16);if(n+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){const o=Ko(255*this.a).toString(16);n+=2===o.length?o:"0"+o}return n}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const n=this.getHue(),e=Ko(100*this.getSaturation()),i=Ko(100*this.getLightness());return 1!==this.a?`hsla(${n},${e}%,${i}%,${this.a})`:`hsl(${n},${e}%,${i}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(n,e,i){const r=this.clone();return r[n]=a4(e,i),r}_c(n){return new this.constructor(n)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(n){const e=n.replace("#","");function i(r,o){return parseInt(e[r]+e[o||r],16)}e.length<6?(this.r=i(0),this.g=i(1),this.b=i(2),this.a=e[3]?i(3)/255:1):(this.r=i(0,1),this.g=i(2,3),this.b=i(4,5),this.a=e[6]?i(6,7)/255:1)}fromHsl({h:n,s:e,l:i,a:r}){if(this._h=n%360,this._s=e,this._l=i,this.a="number"==typeof r?r:1,e<=0){const L=Ko(255*i);this.r=L,this.g=L,this.b=L}let o=0,a=0,s=0;const l=n/60,c=(1-Math.abs(2*i-1))*e,h=c*(1-Math.abs(l%2-1));l>=0&&l<1?(o=c,a=h):l>=1&&l<2?(o=h,a=c):l>=2&&l<3?(a=c,s=h):l>=3&&l<4?(a=h,s=c):l>=4&&l<5?(o=h,s=c):l>=5&&l<6&&(o=c,s=h);const g=i-c/2;this.r=Ko(255*(o+g)),this.g=Ko(255*(a+g)),this.b=Ko(255*(s+g))}fromHsv({h:n,s:e,v:i,a:r}){this._h=n%360,this._s=e,this._v=i,this.a="number"==typeof r?r:1;const o=Ko(255*i);if(this.r=o,this.g=o,this.b=o,e<=0)return;const a=n/60,s=Math.floor(a),l=a-s,c=Ko(i*(1-e)*255),h=Ko(i*(1-e*l)*255),g=Ko(i*(1-e*(1-l))*255);switch(s){case 0:this.g=g,this.b=c;break;case 1:this.r=h,this.b=c;break;case 2:this.r=c,this.b=g;break;case 3:this.r=c,this.g=h;break;case 4:this.r=g,this.g=c;break;default:this.g=c,this.b=h}}fromHsvString(n){const e=V9(n,oO);this.fromHsv({h:e[0],s:e[1],v:e[2],a:e[3]})}fromHslString(n){const e=V9(n,oO);this.fromHsl({h:e[0],s:e[1],l:e[2],a:e[3]})}fromRgbString(n){const e=V9(n,(i,r)=>r.includes("%")?Ko(i/100*255):i);this.r=e[0],this.g=e[1],this.b=e[2],this.a=e[3]}}var K0e=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function cO(t,n,e){var i;return(i=Math.round(t.h)>=60&&Math.round(t.h)<=240?e?Math.round(t.h)-2*n:Math.round(t.h)+2*n:e?Math.round(t.h)+2*n:Math.round(t.h)-2*n)<0?i+=360:i>=360&&(i-=360),i}function uO(t,n,e){return 0===t.h&&0===t.s?t.s:((i=e?t.s-.16*n:4===n?t.s+.16:t.s+.05*n)>1&&(i=1),e&&5===n&&i>.1&&(i=.1),i<.06&&(i=.06),Math.round(100*i)/100);var i}function dO(t,n,e){var i;return i=e?t.v+.05*n:t.v-.15*n,i=Math.max(0,Math.min(1,i)),Math.round(100*i)/100}var U9=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];U9.primary=U9[5];var B9=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];B9.primary=B9[5];var q9=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];q9.primary=q9[5];var Y9=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Y9.primary=Y9[5];var j9=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];j9.primary=j9[5];var $9=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];$9.primary=$9[5];var W9=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];W9.primary=W9[5];var G9=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];G9.primary=G9[5];var K9=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];K9.primary=K9[5];var Q9=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];Q9.primary=Q9[5];var X9=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];X9.primary=X9[5];var Z9=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];Z9.primary=Z9[5];var J9=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];J9.primary=J9[5];var e_=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];e_.primary=e_[5];var t_=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];t_.primary=t_[5];var n_=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];n_.primary=n_[5];var i_=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];i_.primary=i_[5];var r_=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];r_.primary=r_[5];var o_=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];o_.primary=o_[5];var a_=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];a_.primary=a_[5];var s_=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];s_.primary=s_[5];var l_=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];l_.primary=l_[5];var c_=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];c_.primary=c_[5];var u_=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];u_.primary=u_[5];var d_=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];d_.primary=d_[5];var h_=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];h_.primary=h_[5];const qc="[@ant-design/icons-angular]:";function fO(t){return function Q0e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=[],i=new xd(t),r=i.toHsv(),o=5;o>0;o-=1){var a=new xd({h:cO(r,o,!0),s:uO(r,o,!0),v:dO(r,o,!0)});e.push(a)}e.push(i);for(var s=1;s<=4;s+=1){var l=new xd({h:cO(r,s),s:uO(r,s),v:dO(r,s)});e.push(l)}return"dark"===n.theme?K0e.map(function(c){var h=c.index,g=c.amount;return new xd(n.backgroundColor||"#141414").mix(e[h],g).toHexString()}):e.map(function(c){return c.toHexString()})}(t)[0]}function D8(t,n){switch(n){case"fill":return`${t}-fill`;case"outline":return`${t}-o`;case"twotone":return`${t}-twotone`;case void 0:return t;default:throw new Error(`${qc}Theme "${n}" is not a recognized theme!`)}}function mO(t){return"object"==typeof t&&"string"==typeof t.name&&("string"==typeof t.theme||void 0===t.theme)&&"string"==typeof t.icon}function x8(t){const n=t.split(":");switch(n.length){case 1:return[t,""];case 2:return[n[1],n[0]];default:throw new Error(`${qc}The icon type ${t} is not valid!`)}}function pO(t){return new Error(`${qc}the icon ${t} does not exist or is not registered.`)}function cde(){return new Error(`${qc}<svg> tag not found.`)}const gO=new Ie("ant_icons");let vO=(()=>{class t{set twoToneColor({primaryColor:e,secondaryColor:i}){this._twoToneColorPalette.primaryColor=e,this._twoToneColorPalette.secondaryColor=i||fO(e)}get twoToneColor(){return{...this._twoToneColorPalette}}get _disableDynamicLoading(){return!1}constructor(e){this._antIcons=e,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new it,this._rendererFactory=U(Bs),this._handler=U(Fh,{optional:!0}),this._document=U(br),this.sanitizer=U(F9),this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new Qz(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}useJsonpLoading(){this._enableJsonpLoading||(this._enableJsonpLoading=!0,window.__ant_icon_load=e=>{this._jsonpIconLoad$.next(e)})}changeAssetsSource(e){this._assetsUrlRoot=e.endsWith("/")?e:e+"/"}addIcon(...e){e.forEach(i=>{this._svgDefinitions.set(D8(i.name,i.theme),i)})}addIconLiteral(e,i){const[r,o]=x8(e);if(!o)throw function ade(){return new Error(`${qc}Type should have a namespace. Try "namespace:${name}".`)}();this.addIcon({name:e,icon:i})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(e,i){const r=mO(e)?e:this._svgDefinitions.get(e)||null;if(!r&&this._disableDynamicLoading)throw pO(e);return(r?Wt(r):this._loadIconDynamically(e)).pipe(jt(a=>{if(!a)throw pO(e);return this._loadSVGFromCacheOrCreateNew(a,i)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(e){if(!this._http&&!this._enableJsonpLoading)return Wt(function sde(){return function Z0e(t){console.error(`${qc} ${t}.`)}('you need to import "HttpClientModule" to use dynamic importing.'),null}());let i=this._inProgressFetches.get(e);if(!i){const[r,o]=x8(e),a=o?{name:e,icon:""}:function nde(t){const n=t.split("-"),e=function ede(t){return"o"===t?"outline":t}(n.splice(n.length-1,1)[0]);return{name:n.join("-"),theme:e,icon:""}}(r),l=(o?`${this._assetsUrlRoot}assets/${o}/${r}`:`${this._assetsUrlRoot}assets/${a.theme}/${a.name}`)+(this._enableJsonpLoading?".js":".svg"),c=this.sanitizer.sanitize(ys.URL,l);if(!c)throw function lde(t){return new Error(`${qc}The url "${t}" is unsafe.`)}(l);i=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(a,c):this._http.get(c,{responseType:"text"}).pipe(jt(g=>({...a,icon:g})))).pipe(Go(g=>this.addIcon(g)),Lu(()=>this._inProgressFetches.delete(e)),Q1(()=>Wt(null)),function j0e(t={}){const{connector:n=()=>new it,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let a,s,l,c=0,h=!1,g=!1;const L=()=>{s?.unsubscribe(),s=void 0},y=()=>{L(),a=l=void 0,h=g=!1},x=()=>{const B=a;y(),B?.unsubscribe()};return Rr((B,ee)=>{c++,!g&&!h&&L();const re=l=l??n();ee.add(()=>{c--,0===c&&!g&&!h&&(s=H9(x,r))}),re.subscribe(ee),!a&&c>0&&(a=new Or({next:ae=>re.next(ae),error:ae=>{g=!0,L(),s=H9(y,e,ae),re.error(ae)},complete:()=>{h=!0,L(),s=H9(y,i),re.complete()}}),la(B).subscribe(a))})(o)}}()),this._inProgressFetches.set(e,i)}return i}_loadIconDynamicallyWithJsonp(e,i){return new Be(r=>{const o=this._document.createElement("script"),a=setTimeout(()=>{s(),r.error(function ude(){return new Error(`${qc}Importing timeout error.`)}())},6e3);function s(){o.parentNode.removeChild(o),clearTimeout(a)}o.src=i,this._document.body.appendChild(o),this._jsonpIconLoad$.pipe(pr(l=>l.name===e.name&&l.theme===e.theme),Jl(1)).subscribe(l=>{r.next(l),s()})})}_loadSVGFromCacheOrCreateNew(e,i){let r;const o=i||this._twoToneColorPalette.primaryColor,a=fO(o)||this._twoToneColorPalette.secondaryColor,s="twotone"===e.theme?function J0e(t,n,e,i){return`${D8(t,n)}-${e}-${i}`}(e.name,e.theme,o,a):void 0===e.theme?e.name:D8(e.name,e.theme),l=this._svgRenderedDefinitions.get(s);return l?r=l.icon:(r=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(function ode(t){return""!==x8(t)[1]}(e.name)?e.icon:function rde(t){return t.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}(e.icon)),"twotone"===e.theme,o,a)),this._svgRenderedDefinitions.set(s,{...e,icon:r})),function ide(t){return t.cloneNode(!0)}(r)}_createSVGElementFromString(e){const i=this._document.createElement("div");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw cde;return r}_setSVGAttribute(e){return this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em"),e}_colorizeSVGIcon(e,i,r,o){if(i){const a=e.childNodes,s=a.length;for(let l=0;l<s;l++){const c=a[l];"secondaryColor"===c.getAttribute("fill")?this._renderer.setAttribute(c,"fill",o):this._renderer.setAttribute(c,"fill",r)}}return this._renderer.setAttribute(e,"fill","currentColor"),e}static{this.\u0275fac=function(i){return new(i||t)(It(gO,8))}}static{this.\u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),fde=(()=>{class t{constructor(e){this._iconService=e,this._elementRef=U(un),this._renderer=U(to)}ngOnChanges(e){(e.type||e.theme||e.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(e=>{if(!this.type)return this._clearSVGElement(),void e(null);const i=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(r=>{const o=this._getSelfRenderMeta();!function hde(t,n){return t.type===n.type&&t.theme===n.theme&&t.twoToneColor===n.twoToneColor}(i,o)?e(null):(this._setSVGElement(r),e(r))})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(e,i){if(mO(e))return e;{const[r,o]=x8(e);return o?e:function tde(t){return t.endsWith("-fill")||t.endsWith("-o")||t.endsWith("-twotone")}(r)?r:D8(r,i||this._iconService.defaultTheme)}}_setSVGElement(e){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,e)}_clearSVGElement(){const e=this._elementRef.nativeElement,i=e.childNodes;for(let o=i.length-1;o>=0;o--){const a=i[o];"svg"===a.tagName?.toLowerCase()&&this._renderer.removeChild(e,a)}}static{this.\u0275fac=function(i){return new(i||t)(xe(vO))}}static{this.\u0275dir=vt({type:t,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[vn]})}}return t})();function ma(t,n){(function mde(t){return"string"==typeof t&&-1!==t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var e=function pde(t){return"string"==typeof t&&-1!==t.indexOf("%")}(t);return t=360===n?t:Math.min(n,Math.max(0,parseFloat(t))),e&&(t=parseInt(String(t*n),10)/100),Math.abs(t-n)<1e-6?1:t=360===n?(t<0?t%n+n:t%n)/parseFloat(String(n)):t%n/parseFloat(String(n))}function k8(t){return Math.min(1,Math.max(0,t))}function _O(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function E8(t){return t<=1?"".concat(100*Number(t),"%"):t}function X1(t){return 1===t.length?"0"+t:String(t)}function yO(t,n,e){t=ma(t,255),n=ma(n,255),e=ma(e,255);var i=Math.max(t,n,e),r=Math.min(t,n,e),o=0,a=0,s=(i+r)/2;if(i===r)a=0,o=0;else{var l=i-r;switch(a=s>.5?l/(2-i-r):l/(i+r),i){case t:o=(n-e)/l+(n<e?6:0);break;case n:o=(e-t)/l+2;break;case e:o=(t-n)/l+4}o/=6}return{h:o,s:a,l:s}}function f_(t,n,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?t+6*e*(n-t):e<.5?n:e<2/3?t+(n-t)*(2/3-e)*6:t}function m_(t,n,e){t=ma(t,255),n=ma(n,255),e=ma(e,255);var i=Math.max(t,n,e),r=Math.min(t,n,e),o=0,a=i,s=i-r,l=0===i?0:s/i;if(i===r)o=0;else{switch(i){case t:o=(n-e)/s+(n<e?6:0);break;case n:o=(e-t)/s+2;break;case e:o=(t-n)/s+4}o/=6}return{h:o,s:l,v:a}}function p_(t,n,e,i){var r=[X1(Math.round(t).toString(16)),X1(Math.round(n).toString(16)),X1(Math.round(e).toString(16))];return i&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function bO(t){return Math.round(255*parseFloat(t)).toString(16)}function CO(t){return Is(t)/255}function Is(t){return parseInt(t,16)}var g_={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function kd(t){var n={r:0,g:0,b:0},e=1,i=null,r=null,o=null,a=!1,s=!1;return"string"==typeof t&&(t=function Sde(t){if(0===(t=t.trim().toLowerCase()).length)return!1;var n=!1;if(g_[t])t=g_[t],n=!0;else if("transparent"===t)return{r:0,g:0,b:0,a:0,format:"name"};var e=Sl.rgb.exec(t);return e?{r:e[1],g:e[2],b:e[3]}:(e=Sl.rgba.exec(t))?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=Sl.hsl.exec(t))?{h:e[1],s:e[2],l:e[3]}:(e=Sl.hsla.exec(t))?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=Sl.hsv.exec(t))?{h:e[1],s:e[2],v:e[3]}:(e=Sl.hsva.exec(t))?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=Sl.hex8.exec(t))?{r:Is(e[1]),g:Is(e[2]),b:Is(e[3]),a:CO(e[4]),format:n?"name":"hex8"}:(e=Sl.hex6.exec(t))?{r:Is(e[1]),g:Is(e[2]),b:Is(e[3]),format:n?"name":"hex"}:(e=Sl.hex4.exec(t))?{r:Is(e[1]+e[1]),g:Is(e[2]+e[2]),b:Is(e[3]+e[3]),a:CO(e[4]+e[4]),format:n?"name":"hex8"}:!!(e=Sl.hex3.exec(t))&&{r:Is(e[1]+e[1]),g:Is(e[2]+e[2]),b:Is(e[3]+e[3]),format:n?"name":"hex"}}(t)),"object"==typeof t&&(Yc(t.r)&&Yc(t.g)&&Yc(t.b)?(n=function gde(t,n,e){return{r:255*ma(t,255),g:255*ma(n,255),b:255*ma(e,255)}}(t.r,t.g,t.b),a=!0,s="%"===String(t.r).substr(-1)?"prgb":"rgb"):Yc(t.h)&&Yc(t.s)&&Yc(t.v)?(i=E8(t.s),r=E8(t.v),n=function _de(t,n,e){t=6*ma(t,360),n=ma(n,100),e=ma(e,100);var i=Math.floor(t),r=t-i,o=e*(1-n),a=e*(1-r*n),s=e*(1-(1-r)*n),l=i%6;return{r:255*[e,a,o,o,s,e][l],g:255*[s,e,e,a,o,o][l],b:255*[o,o,s,e,e,a][l]}}(t.h,i,r),a=!0,s="hsv"):Yc(t.h)&&Yc(t.s)&&Yc(t.l)&&(i=E8(t.s),o=E8(t.l),n=function vde(t,n,e){var i,r,o;if(t=ma(t,360),n=ma(n,100),e=ma(e,100),0===n)r=e,o=e,i=e;else{var a=e<.5?e*(1+n):e+n-e*n,s=2*e-a;i=f_(s,a,t+1/3),r=f_(s,a,t),o=f_(s,a,t-1/3)}return{r:255*i,g:255*r,b:255*o}}(t.h,i,o),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(e=t.a)),e=_O(e),{ok:a,format:t.format||s,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:e}}var Bu="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),v_="[\\s|\\(]+(".concat(Bu,")[,|\\s]+(").concat(Bu,")[,|\\s]+(").concat(Bu,")\\s*\\)?"),__="[\\s|\\(]+(".concat(Bu,")[,|\\s]+(").concat(Bu,")[,|\\s]+(").concat(Bu,")[,|\\s]+(").concat(Bu,")\\s*\\)?"),Sl={CSS_UNIT:new RegExp(Bu),rgb:new RegExp("rgb"+v_),rgba:new RegExp("rgba"+__),hsl:new RegExp("hsl"+v_),hsla:new RegExp("hsla"+__),hsv:new RegExp("hsv"+v_),hsva:new RegExp("hsva"+__),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Yc(t){return!!Sl.CSS_UNIT.exec(String(t))}var z8=function(){function t(n,e){var i;if(void 0===n&&(n=""),void 0===e&&(e={}),n instanceof t)return n;"number"==typeof n&&(n=function bde(t){return{r:t>>16,g:(65280&t)>>8,b:255&t}}(n)),this.originalInput=n;var r=kd(n);this.originalInput=n,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(i=e.format)&&void 0!==i?i:r.format,this.gradientType=e.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var n=this.toRgb();return(299*n.r+587*n.g+114*n.b)/1e3},t.prototype.getLuminance=function(){var n=this.toRgb(),o=n.r/255,a=n.g/255,s=n.b/255;return.2126*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.7152*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))+.0722*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(n){return this.a=_O(n),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){return 0===this.toHsl().s},t.prototype.toHsv=function(){var n=m_(this.r,this.g,this.b);return{h:360*n.h,s:n.s,v:n.v,a:this.a}},t.prototype.toHsvString=function(){var n=m_(this.r,this.g,this.b),e=Math.round(360*n.h),i=Math.round(100*n.s),r=Math.round(100*n.v);return 1===this.a?"hsv(".concat(e,", ").concat(i,"%, ").concat(r,"%)"):"hsva(".concat(e,", ").concat(i,"%, ").concat(r,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var n=yO(this.r,this.g,this.b);return{h:360*n.h,s:n.s,l:n.l,a:this.a}},t.prototype.toHslString=function(){var n=yO(this.r,this.g,this.b),e=Math.round(360*n.h),i=Math.round(100*n.s),r=Math.round(100*n.l);return 1===this.a?"hsl(".concat(e,", ").concat(i,"%, ").concat(r,"%)"):"hsla(".concat(e,", ").concat(i,"%, ").concat(r,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(n){return void 0===n&&(n=!1),p_(this.r,this.g,this.b,n)},t.prototype.toHexString=function(n){return void 0===n&&(n=!1),"#"+this.toHex(n)},t.prototype.toHex8=function(n){return void 0===n&&(n=!1),function yde(t,n,e,i,r){var o=[X1(Math.round(t).toString(16)),X1(Math.round(n).toString(16)),X1(Math.round(e).toString(16)),X1(bO(i))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this.r,this.g,this.b,this.a,n)},t.prototype.toHex8String=function(n){return void 0===n&&(n=!1),"#"+this.toHex8(n)},t.prototype.toHexShortString=function(n){return void 0===n&&(n=!1),1===this.a?this.toHexString(n):this.toHex8String(n)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var n=Math.round(this.r),e=Math.round(this.g),i=Math.round(this.b);return 1===this.a?"rgb(".concat(n,", ").concat(e,", ").concat(i,")"):"rgba(".concat(n,", ").concat(e,", ").concat(i,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var n=function(e){return"".concat(Math.round(100*ma(e,255)),"%")};return{r:n(this.r),g:n(this.g),b:n(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var n=function(e){return Math.round(100*ma(e,255))};return 1===this.a?"rgb(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%)"):"rgba(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var n="#"+p_(this.r,this.g,this.b,!1),e=0,i=Object.entries(g_);e<i.length;e++){var r=i[e];if(n===r[1])return r[0]}return!1},t.prototype.toString=function(n){var e=!!n;n=n??this.format;var i=!1;return!e&&this.a<1&&this.a>=0&&(n.startsWith("hex")||"name"===n)?"name"===n&&0===this.a?this.toName():this.toRgbString():("rgb"===n&&(i=this.toRgbString()),"prgb"===n&&(i=this.toPercentageRgbString()),("hex"===n||"hex6"===n)&&(i=this.toHexString()),"hex3"===n&&(i=this.toHexString(!0)),"hex4"===n&&(i=this.toHex8String(!0)),"hex8"===n&&(i=this.toHex8String()),"name"===n&&(i=this.toName()),"hsl"===n&&(i=this.toHslString()),"hsv"===n&&(i=this.toHsvString()),i||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(n){void 0===n&&(n=10);var e=this.toHsl();return e.l+=n/100,e.l=k8(e.l),new t(e)},t.prototype.brighten=function(n){void 0===n&&(n=10);var e=this.toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(-n/100*255))),e.g=Math.max(0,Math.min(255,e.g-Math.round(-n/100*255))),e.b=Math.max(0,Math.min(255,e.b-Math.round(-n/100*255))),new t(e)},t.prototype.darken=function(n){void 0===n&&(n=10);var e=this.toHsl();return e.l-=n/100,e.l=k8(e.l),new t(e)},t.prototype.tint=function(n){return void 0===n&&(n=10),this.mix("white",n)},t.prototype.shade=function(n){return void 0===n&&(n=10),this.mix("black",n)},t.prototype.desaturate=function(n){void 0===n&&(n=10);var e=this.toHsl();return e.s-=n/100,e.s=k8(e.s),new t(e)},t.prototype.saturate=function(n){void 0===n&&(n=10);var e=this.toHsl();return e.s+=n/100,e.s=k8(e.s),new t(e)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(n){var e=this.toHsl(),i=(e.h+n)%360;return e.h=i<0?360+i:i,new t(e)},t.prototype.mix=function(n,e){void 0===e&&(e=50);var i=this.toRgb(),r=new t(n).toRgb(),o=e/100;return new t({r:(r.r-i.r)*o+i.r,g:(r.g-i.g)*o+i.g,b:(r.b-i.b)*o+i.b,a:(r.a-i.a)*o+i.a})},t.prototype.analogous=function(n,e){void 0===n&&(n=6),void 0===e&&(e=30);var i=this.toHsl(),r=360/e,o=[this];for(i.h=(i.h-(r*n>>1)+720)%360;--n;)i.h=(i.h+r)%360,o.push(new t(i));return o},t.prototype.complement=function(){var n=this.toHsl();return n.h=(n.h+180)%360,new t(n)},t.prototype.monochromatic=function(n){void 0===n&&(n=6);for(var e=this.toHsv(),i=e.h,r=e.s,o=e.v,a=[],s=1/n;n--;)a.push(new t({h:i,s:r,v:o})),o=(o+s)%1;return a},t.prototype.splitcomplement=function(){var n=this.toHsl(),e=n.h;return[this,new t({h:(e+72)%360,s:n.s,l:n.l}),new t({h:(e+216)%360,s:n.s,l:n.l})]},t.prototype.onBackground=function(n){var e=this.toRgb(),i=new t(n).toRgb(),r=e.a+i.a*(1-e.a);return new t({r:(e.r*e.a+i.r*i.a*(1-e.a))/r,g:(e.g*e.a+i.g*i.a*(1-e.a))/r,b:(e.b*e.a+i.b*i.a*(1-e.a))/r,a:r})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(n){for(var e=this.toHsl(),i=e.h,r=[this],o=360/n,a=1;a<n;a++)r.push(new t({h:(i+a*o)%360,s:e.s,l:e.l}));return r},t.prototype.equals=function(n){return this.toRgbString()===new t(n).toRgbString()},t}();const Tde=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"],Ide=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function TO({r:t,g:n,b:e}){const i=m_(t,n,e);return{h:360*i.h,s:i.s,v:i.v}}function L8({r:t,g:n,b:e}){return`#${p_(t,n,e,!1)}`}function DO(t,n,e){let i;return i=Math.round(t.h)>=60&&Math.round(t.h)<=240?e?Math.round(t.h)-2*n:Math.round(t.h)+2*n:e?Math.round(t.h)+2*n:Math.round(t.h)-2*n,i<0?i+=360:i>=360&&(i-=360),i}function xO(t,n,e){if(0===t.h&&0===t.s)return t.s;let i;return i=e?t.s-.16*n:4===n?t.s+.16:t.s+.05*n,i>1&&(i=1),e&&5===n&&i>.1&&(i=.1),i<.06&&(i=.06),Number(i.toFixed(2))}function kO(t,n,e){let i;return i=e?t.v+.05*n:t.v-.15*n,i>1&&(i=1),Number(i.toFixed(2))}function EO(t,n={}){const e=[],i=kd(t);for(let r=5;r>0;r-=1){const o=TO(i),a=L8(kd({h:DO(o,r,!0),s:xO(o,r,!0),v:kO(o,r,!0)}));e.push(a)}e.push(L8(i));for(let r=1;r<=4;r+=1){const o=TO(i),a=L8(kd({h:DO(o,r),s:xO(o,r),v:kO(o,r)}));e.push(a)}return"dark"===n.theme?Ide.map(({index:r,opacity:o})=>L8(function zde(t,n,e){const i=e/100;return{r:(n.r-t.r)*i+t.r,g:(n.g-t.g)*i+t.g,b:(n.b-t.b)*i+t.b}}(kd(n.backgroundColor||"#141414"),kd(e[r]),100*o))):e}const IO=new Ie(""),Nde=`-ant-${Date.now()}-${Math.random()}`;function zO(t,n,e){const i=function Rde(t,n){const e={},i=(a,s)=>{let l=a.clone();return l=s?.(l)||l,l.toRgbString()},r=(a,s)=>{const l=new z8(a),c=EO(l.toRgbString());e[`${s}-color`]=i(l),e[`${s}-color-disabled`]=c[1],e[`${s}-color-hover`]=c[4],e[`${s}-color-active`]=c[7],e[`${s}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),e[`${s}-color-deprecated-bg`]=c[1],e[`${s}-color-deprecated-border`]=c[3]};if(n.primaryColor){r(n.primaryColor,"primary");const a=new z8(n.primaryColor),s=EO(a.toRgbString());s.forEach((c,h)=>{e[`primary-${h+1}`]=c}),e["primary-color-deprecated-l-35"]=i(a,c=>c.lighten(35)),e["primary-color-deprecated-l-20"]=i(a,c=>c.lighten(20)),e["primary-color-deprecated-t-20"]=i(a,c=>c.tint(20)),e["primary-color-deprecated-t-50"]=i(a,c=>c.tint(50)),e["primary-color-deprecated-f-12"]=i(a,c=>c.setAlpha(.12*c.getAlpha()));const l=new z8(s[0]);e["primary-color-active-deprecated-f-30"]=i(l,c=>c.setAlpha(.3*c.getAlpha())),e["primary-color-active-deprecated-d-02"]=i(l,c=>c.darken(2))}return n.successColor&&r(n.successColor,"success"),n.warningColor&&r(n.warningColor,"warning"),n.errorColor&&r(n.errorColor,"error"),n.infoColor&&r(n.infoColor,"info"),`\n  :root {\n    ${Object.keys(e).map(a=>`--${t}-${a}: ${e[a]};`).join("\n")}\n  }\n  `.trim()}(t,n);LL()&&function g1e(t,n,e={}){const i=M9(e);if(!T9.has(i)){const a=PL("",e),{parentNode:s}=a;T9.set(i,s),s.removeChild(a)}const r=function NL(t,n={}){const e=M9(n);return Array.from(T9.get(e)?.children||[]).find(i=>"STYLE"===i.tagName&&i.getAttribute(OL(n))===t)}(n,e);if(r)return e.cspNonce&&r.nonce!==e.cspNonce&&(r.nonce=e.cspNonce),r.innerHTML!==t&&(r.innerHTML=t),r;const o=PL(t,e);o?.setAttribute(OL(e),n)}(i,`${Nde}-dynamic-theme`,{cspNonce:e})}function O8(t){return void 0!==t}let Ml=(()=>{class t{configUpdated$=new it;_configMap=new Map;config=U(IO,{optional:!0})||{};cspNonce=U(T2,{optional:!0});constructor(){this.config.theme&&zO(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme,this.cspNonce)}_getConfigValue(e){let i=this._configMap.get(e);return i||(i=Jr(this.config[e]),this._configMap.set(e,i),i)}getConfig(){return this.config}getConfigForComponent(e){return this.config[e]}getConfigChangeEventForComponent(e){return this.configUpdated$.pipe(pr(i=>i===e),jt(()=>{}))}set(e,i){this.config[e]={...this.config[e],...i},this._configMap.get(e)?.set(this.config[e]),"theme"===e&&this.config.theme&&zO(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme,this.cspNonce),this.configUpdated$.next(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function LO(t,n){const e=U(In),i=U(Ml);let r=null;const o=bu(()=>{r=i.getConfigChangeEventForComponent(t).pipe(mt(e)).subscribe(n)});return()=>{o.destroy(),r?.unsubscribe()}}function Mr(){return function(t,n){n.addInitializer(function(){const e=U(Ml),i=this[n.name];let r,o=!1;Object.defineProperty(this,n.name,{get:()=>{const a=e.getConfigForComponent(this._nzModuleName)?.[n.name];return o?r:O8(a)?a:i},set:a=>{o=O8(a),r=a},enumerable:!0,configurable:!0})})}}const OO={name:"star",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" /></svg>'},z2e=[{name:"bars",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'},{name:"calendar",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /></svg>'},{name:"caret-up",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'},{name:"caret-up",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'},{name:"caret-down",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'},{name:"caret-down",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'},{name:"check-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" /></svg>'},{name:"check-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'},{name:"check",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" /></svg>'},{name:"clock-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" /></svg>'},{name:"close-circle",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z" /></svg>'},{name:"close-circle",theme:"fill",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /></svg>'},{name:"close",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" /></svg>'},{name:"copy",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /></svg>'},{name:"delete",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" /></svg>'},{name:"double-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z" /></svg>'},{name:"double-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /></svg>'},{name:"down",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /></svg>'},{name:"edit",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" /></svg>'},{name:"ellipsis",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'},{name:"exclamation-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},{name:"exclamation-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" /></svg>'},{name:"eye",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" /></svg>'},{name:"eye-invisible",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" /><path d="M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" /></svg>'},{name:"file",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z" /></svg>'},{name:"file",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" /></svg>'},{name:"filter",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /></svg>'},{name:"info-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},{name:"info-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /></svg>'},{name:"left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /></svg>'},{name:"loading",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /></svg>'},{name:"paper-clip",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z" /></svg>'},{name:"question-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'},{name:"right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /></svg>'},{name:"rotate-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z" /><path d="M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z" /></svg>'},{name:"rotate-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z" /><path d="M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z" /></svg>'},OO,{name:"search",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /></svg>'},OO,{name:"upload",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" /></svg>'},{name:"vertical-align-top",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z" /></svg>'},{name:"up",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /></svg>'},{name:"swap",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" /></svg>'},{name:"swap-right",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" /></svg>'},{name:"zoom-in",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'},{name:"zoom-out",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'}],PO=new Ie(""),NO="#1890ff";let RO=(()=>{class t extends vO{nzConfigService=U(Ml);platform=U(Aa);configUpdated$=new it;get _disableDynamicLoading(){return!this.platform.isBrowser}iconfontCache=new Set;normalizeSvgElement(e){e.getAttribute("viewBox")||this._renderer.setAttribute(e,"viewBox","0 0 1024 1024"),(!e.getAttribute("width")||!e.getAttribute("height"))&&(this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em")),e.getAttribute("fill")||this._renderer.setAttribute(e,"fill","currentColor")}fetchFromIconfont(e){const{scriptUrl:i}=e;if(this._document&&!this.iconfontCache.has(i)){const r=this._renderer.createElement("script");this._renderer.setAttribute(r,"src",i),this._renderer.setAttribute(r,"data-namespace",i.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,r),this.iconfontCache.add(i)}}createIconfontIcon(e){return this._createSVGElementFromString(`<svg><use xlink:href="${e}"></svg>`)}constructor(){super([...z2e,...U(PO,{optional:!0})||[]]),this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme()}onConfigChange(){LO("icon",()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){const e=this.getConfig();this.defaultTheme=e.nzTheme||"outline"}configDefaultTwotoneColor(){const i=this.getConfig().nzTwotoneColor||NO;let r=NO;i&&i.startsWith("#")&&(r=i),this.twoToneColor={primaryColor:r}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const FO=new Ie("nz_icons_patch");let HO=(()=>{class t{rootIconService;patched=!1;extraIcons=U(FO,{self:!0});constructor(e){this.rootIconService=e}doPatch(){this.patched||(this.extraIcons.forEach(e=>this.rootIconService.addIcon(e)),this.patched=!0)}static \u0275fac=function(i){return new(i||t)(It(RO))};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})(),La=(()=>{class t extends fde{iconService;ngZone=U($t);changeDetectorRef=U(Cr);renderer=U(to);destroyRef=U(In);pendingTasks=U(h2);isBrowser=A5(U(M2));nzSpin=!1;nzRotate=0;set nzType(e){this.type=e}set nzTheme(e){this.theme=e}set nzTwotoneColor(e){this.twoToneColor=e}set nzIconfont(e){this.iconfont=e}hostClass;el;iconfont;constructor(e){super(e),this.iconService=e,U(HO,{optional:!0})?.doPatch(),this.el=this._elementRef.nativeElement}ngOnChanges(e){const{nzType:i,nzTwotoneColor:r,nzTheme:o,nzRotate:a}=e;i||r||o?this.ngZone.runOutsideAngular(()=>this.changeIcon2()):a?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngAfterContentChecked(){if(!this.type){const e=this.el.children;let i=e.length;if(!this.type&&e.length)for(;i--;){const r=e[i];"svg"===r.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(r)}}}changeIcon2(){const e=this.pendingTasks.add();AL(this._changeIcon()).pipe(C8(0,this.isBrowser?N9:M8),mt(this.destroyRef),Lu(e)).subscribe({next:r=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),r&&(this.setSVGData(r),this.handleRotate(r))})},error:W1})}handleRotate(e){this.nzRotate?this.renderer.setAttribute(e,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(e,"style")}setSVGData(e){this.renderer.setAttribute(e,"data-icon",this.type),this.renderer.setAttribute(e,"aria-hidden","true")}static \u0275fac=function(i){return new(i||t)(xe(RO))};static \u0275dir=vt({type:t,selectors:[["nz-icon"],["","nz-icon",""]],hostAttrs:["role","img",1,"anticon"],hostVars:5,hostBindings:function(i,r){2&i&&(gt("aria-label",r.type),Oe("anticon-"+r.type),Bt("anticon-spin",r.nzSpin||"loading"===r.type))},inputs:{nzSpin:[2,"nzSpin","nzSpin",Qe],nzRotate:[2,"nzRotate","nzRotate",yh],nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[Rn,vn]})}return t})();const A2e=t=>vs([{provide:PO,useValue:t}]),L2e=t=>[HO,{provide:FO,useValue:t}];let ec=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[A2e(e)]}}static forChild(e){return{ngModule:t,providers:[L2e(e)]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({})}return t})();function O2e(t,n){1&t&&He(0,"nz-icon",0),2&t&&N("nzType",k().iconType)}let P8=(()=>{class t{formStatusChanges=new P1(1);static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})(),VO=(()=>{class t{noFormStatus=new ei(!1);static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})();const P2e={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"};let UO=(()=>{class t{cdr=U(Cr);status="";iconType=null;ngOnChanges(e){this.updateIcon()}updateIcon(){this.iconType=this.status?P2e[this.status]:null,this.cdr.markForCheck()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["nz-form-item-feedback-icon"]],hostAttrs:[1,"ant-form-item-feedback-icon"],hostVars:8,hostBindings:function(i,r){2&i&&Bt("ant-form-item-feedback-icon-error","error"===r.status)("ant-form-item-feedback-icon-warning","warning"===r.status)("ant-form-item-feedback-icon-success","success"===r.status)("ant-form-item-feedback-icon-validating","validating"===r.status)},inputs:{status:"status"},exportAs:["nzFormFeedbackIcon"],features:[vn],decls:1,vars:1,consts:[[3,"nzType"]],template:function(i,r){1&i&&lt(0,O2e,1,1,"nz-icon",0),2&i&&ct(r.iconType?0:-1)},dependencies:[ec,La],encapsulation:2,changeDetection:0})}return t})();const BO=["*"],N2e=["inputElement"],R2e=["nz-radio",""];let y_=(()=>{class t{selected$=new P1(1);touched$=new it;disabled$=new P1(1);name$=new P1(1);touch(){this.touched$.next()}select(e){this.selected$.next(e)}setDisabled(e){this.disabled$.next(e)}setName(e){this.name$.next(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})(),qO=(()=>{class t{cdr=U(Cr);nzRadioService=U(y_);directionality=U(oo);destroyRef=U(In);value=null;isNzDisableFirstChange=!0;onChange=()=>{};onTouched=()=>{};nzDisabled=!1;nzButtonStyle="outline";nzSize="default";nzName=null;dir="ltr";ngOnInit(){this.nzRadioService.selected$.pipe(mt(this.destroyRef)).subscribe(e=>{this.value!==e&&(this.value=e,this.onChange(this.value))}),this.nzRadioService.touched$.pipe(mt(this.destroyRef)).subscribe(()=>{Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe(mt(this.destroyRef)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(e){const{nzDisabled:i,nzName:r}=e;i&&this.nzRadioService.setDisabled(this.nzDisabled),r&&this.nzRadioService.setName(this.nzName)}writeValue(e){this.value=e,this.nzRadioService.select(e),this.cdr.markForCheck()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||e,this.isNzDisableFirstChange=!1,this.nzRadioService.setDisabled(this.nzDisabled),this.cdr.markForCheck()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["nz-radio-group"]],hostAttrs:[1,"ant-radio-group"],hostVars:8,hostBindings:function(i,r){2&i&&Bt("ant-radio-group-large","large"===r.nzSize)("ant-radio-group-small","small"===r.nzSize)("ant-radio-group-solid","solid"===r.nzButtonStyle)("ant-radio-group-rtl","rtl"===r.dir)},inputs:{nzDisabled:[2,"nzDisabled","nzDisabled",Qe],nzButtonStyle:"nzButtonStyle",nzSize:"nzSize",nzName:"nzName"},exportAs:["nzRadioGroup"],features:[jn([y_,{provide:Wo,useExisting:Bn(()=>t),multi:!0}]),vn],ngContentSelectors:BO,decls:1,vars:0,template:function(i,r){1&i&&(ka(),Io(0))},encapsulation:2,changeDetection:0})}return t})(),YO=(()=>{class t{directionality=U(oo);nzRadioService=U(y_,{optional:!0});ngZone=U($t);elementRef=U(un);cdr=U(Cr);focusMonitor=U(t4);destroyRef=U(In);nzFormStatusService=U(P8,{optional:!0});isNgModel=!1;isNzDisableFirstChange=!0;isChecked=!1;name=null;onChange=()=>{};onTouched=()=>{};inputElement;nzValue=null;nzDisabled=!1;nzAutoFocus=!1;isRadioButton=!1;dir="ltr";focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(){this.destroyRef.onDestroy(()=>{this.focusMonitor.stopMonitoring(this.elementRef)})}setDisabledState(e){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||e,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}writeValue(e){this.isChecked=e,this.cdr.markForCheck()}registerOnChange(e){this.isNgModel=!0,this.onChange=e}registerOnTouched(e){this.onTouched=e}ngOnInit(){this.nzRadioService&&(this.nzRadioService.name$.pipe(mt(this.destroyRef)).subscribe(e=>{this.name=e,this.cdr.markForCheck()}),this.nzRadioService.disabled$.pipe(mt(this.destroyRef)).subscribe(e=>{this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||e,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}),this.nzRadioService.selected$.pipe(mt(this.destroyRef)).subscribe(e=>{const i=this.isChecked;this.isChecked=this.nzValue===e,this.isNgModel&&i!==this.isChecked&&!1===this.isChecked&&this.onChange(!1),this.cdr.markForCheck()})),this.focusMonitor.monitor(this.elementRef,!0).pipe(mt(this.destroyRef)).subscribe(e=>{e||(Promise.resolve().then(()=>this.onTouched()),this.nzRadioService&&this.nzRadioService.touch())}),this.directionality.change.pipe(mt(this.destroyRef)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.setupClickListener()}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}setupClickListener(){ks(this.elementRef.nativeElement,"click").pipe(mt(this.destroyRef)).subscribe(e=>{e.stopPropagation(),e.preventDefault(),!this.nzDisabled&&!this.isChecked&&this.ngZone.run(()=>{this.focus(),this.nzRadioService?.select(this.nzValue),this.isNgModel&&(this.isChecked=!0,this.onChange(!0)),this.cdr.markForCheck()})})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(i,r){if(1&i&&Ai(N2e,7),2&i){let o;zn(o=An())&&(r.inputElement=o.first)}},hostVars:18,hostBindings:function(i,r){2&i&&Bt("ant-radio-wrapper-in-form-item",!!r.nzFormStatusService)("ant-radio-wrapper",!r.isRadioButton)("ant-radio-button-wrapper",r.isRadioButton)("ant-radio-wrapper-checked",r.isChecked&&!r.isRadioButton)("ant-radio-button-wrapper-checked",r.isChecked&&r.isRadioButton)("ant-radio-wrapper-disabled",r.nzDisabled&&!r.isRadioButton)("ant-radio-button-wrapper-disabled",r.nzDisabled&&r.isRadioButton)("ant-radio-wrapper-rtl",!r.isRadioButton&&"rtl"===r.dir)("ant-radio-button-wrapper-rtl",r.isRadioButton&&"rtl"===r.dir)},inputs:{nzValue:"nzValue",nzDisabled:[2,"nzDisabled","nzDisabled",Qe],nzAutoFocus:[2,"nzAutoFocus","nzAutoFocus",Qe],isRadioButton:[2,"nz-radio-button","isRadioButton",Qe]},exportAs:["nzRadio"],features:[jn([{provide:Wo,useExisting:Bn(()=>t),multi:!0}])],attrs:R2e,ngContentSelectors:BO,decls:6,vars:24,consts:[["inputElement",""],["type","radio",3,"disabled","checked"]],template:function(i,r){1&i&&(ka(),ni(0,"span"),Ur(1,"input",1,0)(3,"span"),ii(),ni(4,"span"),Io(5),ii()),2&i&&(Bt("ant-radio",!r.isRadioButton)("ant-radio-checked",r.isChecked&&!r.isRadioButton)("ant-radio-disabled",r.nzDisabled&&!r.isRadioButton)("ant-radio-button",r.isRadioButton)("ant-radio-button-checked",r.isChecked&&r.isRadioButton)("ant-radio-button-disabled",r.nzDisabled&&r.isRadioButton),z(),Bt("ant-radio-input",!r.isRadioButton)("ant-radio-button-input",r.isRadioButton),Xi("disabled",r.nzDisabled)("checked",r.isChecked),gt("autofocus",r.nzAutoFocus?"autofocus":null)("name",r.name),z(2),Bt("ant-radio-inner",!r.isRadioButton)("ant-radio-button-inner",r.isRadioButton))},encapsulation:2,changeDetection:0})}return t})(),F2e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({})}return t})();const b_=["*"],H2e=["inputElement"],V2e=["nz-checkbox",""],U2e=(t,n)=>n.value;function B2e(t,n){if(1&t&&(J(0,"label",0),Pe(1),te()),2&t){const e=n.$implicit,i=k(2);N("nzValue",e.value)("nzName",i.nzName())("nzDisabled",e.disabled||i.finalDisabled()),z(),zt(" ",e.label," ")}}function q2e(t,n){1&t&&Ti(0,B2e,2,4,"label",0,U2e),2&t&&Di(k().normalizedOptions())}let jO=(()=>{class t{nzOnChange=new dt;checkboxList=[];addCheckbox(e){this.checkboxList.push(e)}removeCheckbox(e){this.checkboxList.splice(this.checkboxList.indexOf(e),1)}onChange(){const e=this.checkboxList.filter(i=>i.nzChecked).map(i=>i.nzValue);this.nzOnChange.emit(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["nz-checkbox-wrapper"]],hostAttrs:[1,"ant-checkbox-group"],outputs:{nzOnChange:"nzOnChange"},exportAs:["nzCheckboxWrapper"],ngContentSelectors:b_,decls:1,vars:0,template:function(i,r){1&i&&(ka(),Io(0))},encapsulation:2,changeDetection:0})}return t})();const $O=new Ie("");let C_=(()=>{class t{ngZone=U($t);elementRef=U(un);cdr=U(Cr);focusMonitor=U(t4);directionality=U(oo);destroyRef=U(In);checkboxGroupComponent=U($O,{optional:!0});nzFormStatusService=U(P8,{optional:!0});nzCheckboxWrapperComponent=U(jO,{optional:!0});dir="ltr";destroy$=new it;isNzDisableFirstChange=!0;onChange=()=>{};onTouched=()=>{};inputElement;nzCheckedChange=new dt;nzValue=null;nzAutoFocus=!1;nzDisabled=!1;nzIndeterminate=!1;nzChecked=!1;nzId=null;nzName=null;innerCheckedChange(e){!this.nzDisabled&&!this.checkboxGroupComponent?.finalDisabled()&&(this.setValue(e),this.nzCheckboxWrapperComponent?.onChange(),this.checkboxGroupComponent?.onCheckedChange(this.nzValue,e))}writeValue(e){this.nzChecked=e,this.cdr.markForCheck()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||e,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(){this.destroyRef.onDestroy(()=>{this.focusMonitor.stopMonitoring(this.elementRef),this.nzCheckboxWrapperComponent?.removeCheckbox(this)}),this.checkboxGroupComponent&&G5(()=>{const e=this.checkboxGroupComponent.value()||[];this.setValue(e.includes(this.nzValue)),this.cdr.markForCheck()})}ngOnInit(){this.focusMonitor.monitor(this.elementRef,!0).pipe(mt(this.destroyRef)).subscribe(e=>{e||Promise.resolve().then(()=>this.onTouched())}),this.nzCheckboxWrapperComponent?.addCheckbox(this),this.directionality.change.pipe(mt(this.destroyRef)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value,ks(this.elementRef.nativeElement,"click").pipe(mt(this.destroyRef)).subscribe(e=>{e.preventDefault(),this.focus(),!this.nzDisabled&&this.ngZone.run(()=>{this.innerCheckedChange(!this.nzChecked),this.cdr.markForCheck()})}),ks(this.inputElement.nativeElement,"click").pipe(mt(this.destroyRef)).subscribe(e=>e.stopPropagation())}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}setValue(e){this.nzChecked=e,this.onChange(e),this.nzCheckedChange.emit(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["","nz-checkbox",""]],viewQuery:function(i,r){if(1&i&&Ai(H2e,7),2&i){let o;zn(o=An())&&(r.inputElement=o.first)}},hostAttrs:[1,"ant-checkbox-wrapper"],hostVars:10,hostBindings:function(i,r){2&i&&Bt("ant-checkbox-group-item",!!r.checkboxGroupComponent)("ant-checkbox-wrapper-in-form-item",!!r.nzFormStatusService)("ant-checkbox-wrapper-checked",r.nzChecked)("ant-checkbox-wrapper-disabled",r.nzDisabled||(null==r.checkboxGroupComponent?null:r.checkboxGroupComponent.finalDisabled()))("ant-checkbox-rtl","rtl"===r.dir)},inputs:{nzValue:"nzValue",nzAutoFocus:[2,"nzAutoFocus","nzAutoFocus",Qe],nzDisabled:[2,"nzDisabled","nzDisabled",Qe],nzIndeterminate:[2,"nzIndeterminate","nzIndeterminate",Qe],nzChecked:[2,"nzChecked","nzChecked",Qe],nzId:"nzId",nzName:"nzName"},outputs:{nzCheckedChange:"nzCheckedChange"},exportAs:["nzCheckbox"],features:[jn([{provide:Wo,useExisting:Bn(()=>t),multi:!0}])],attrs:V2e,ngContentSelectors:b_,decls:6,vars:12,consts:[["inputElement",""],[1,"ant-checkbox"],["type","checkbox",1,"ant-checkbox-input",3,"ngModelChange","checked","ngModel","disabled"],[1,"ant-checkbox-inner"]],template:function(i,r){if(1&i){const o=tt();ka(),J(0,"span",1)(1,"input",2,0),Ne("ngModelChange",function(s){return ce(o),ue(r.innerCheckedChange(s))}),te(),He(3,"span",3),te(),J(4,"span"),Io(5),te()}2&i&&(Bt("ant-checkbox-checked",r.nzChecked&&!r.nzIndeterminate)("ant-checkbox-disabled",r.nzDisabled||(null==r.checkboxGroupComponent?null:r.checkboxGroupComponent.finalDisabled()))("ant-checkbox-indeterminate",r.nzIndeterminate),z(),N("checked",r.nzChecked)("ngModel",r.nzChecked)("disabled",r.nzDisabled||((null==r.checkboxGroupComponent?null:r.checkboxGroupComponent.finalDisabled())??!1)),gt("autofocus",r.nzAutoFocus?"autofocus":null)("id",r.nzId)("name",r.nzName||(null==r.checkboxGroupComponent?null:r.checkboxGroupComponent.nzName())))},dependencies:[Nh,k6,ja,za],encapsulation:2,changeDetection:0})}return t})(),Y2e=(()=>{class t{onChange=()=>{};onTouched=()=>{};isDisabledFirstChange=!0;directionality=U(oo);nzName=Lc(null);nzDisabled=Lc(!1,{transform:Qe});nzOptions=Lc([]);value=Jr(null);finalDisabled=function K5(t,n){return Yk("function"==typeof t?Hk(t,QZ,n?.equal):Hk(t.source,t.computation,t.equal))}(()=>this.nzDisabled());dir=YL(this.directionality.change,{initialValue:this.directionality.value});normalizedOptions=Co(()=>function j2e(t){return t.map(n=>"string"==typeof n||"number"==typeof n?{label:`${n}`,value:n}:n)}(this.nzOptions()));constructor(){const e=U(un),i=U(t4),r=U(In);bu(()=>{i.monitor(e,!0).pipe(mt(r)).subscribe(o=>{o||this.onTouched()}),r.onDestroy(()=>{i.stopMonitoring(e)})})}writeValue(e){tr(()=>{this.value.set(e)})}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){tr(()=>{this.finalDisabled.set(this.isDisabledFirstChange&&this.nzDisabled()||e)}),this.isDisabledFirstChange=!1}onCheckedChange(e,i){this.finalDisabled()||(this.value.update(r=>i?r?.concat(e)||[e]:r?.filter(o=>o!==e)||[]),this.onChange(this.value()))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["nz-checkbox-group"]],hostAttrs:[1,"ant-checkbox-group"],hostVars:2,hostBindings:function(i,r){2&i&&Bt("ant-checkbox-group-rtl","rtl"===r.dir())},inputs:{nzName:[1,"nzName"],nzDisabled:[1,"nzDisabled"],nzOptions:[1,"nzOptions"]},exportAs:["nzCheckboxGroup"],features:[jn([{provide:Wo,useExisting:Bn(()=>t),multi:!0},{provide:$O,useExisting:Bn(()=>t)}])],ngContentSelectors:b_,decls:2,vars:0,consts:[["nz-checkbox","",3,"nzValue","nzName","nzDisabled"]],template:function(i,r){1&i&&(ka(),Io(0,0,null,q2e,2,0))},dependencies:[C_],encapsulation:2,changeDetection:0})}return t})(),$2e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({imports:[C_,Y2e]})}return t})();function s4(...t){return function W2e(){return p6(1)}()(ca(t,Th(t)))}function jc(...t){const n=Th(t);return Rr((e,i)=>{(n?s4(t,e,n):s4(t,e)).subscribe(i)})}let Qo=(()=>{class t{viewContainer=U(Da);templateRef=U(Yo);embeddedViewRef=null;context=new G2e;nzStringTemplateOutletContext=null;nzStringTemplateOutlet=null;static ngTemplateContextGuard(e,i){return!0}recreateView(){this.viewContainer.clear(),this.embeddedViewRef=d8(this.nzStringTemplateOutlet)?this.viewContainer.createEmbeddedView(this.nzStringTemplateOutlet,this.nzStringTemplateOutletContext):this.viewContainer.createEmbeddedView(this.templateRef,this.context)}updateContext(){const e=d8(this.nzStringTemplateOutlet)?this.nzStringTemplateOutletContext:this.context,i=this.embeddedViewRef.context;if(e)for(const r of Object.keys(e))i[r]=e[r]}ngOnChanges(e){const{nzStringTemplateOutletContext:i,nzStringTemplateOutlet:r}=e;r&&(this.context.$implicit=r.currentValue),(()=>{let s=!1;return r&&(s=r.firstChange||d8(r.previousValue)||d8(r.currentValue)),i&&(h=>{const g=Object.keys(h.previousValue||{}),L=Object.keys(h.currentValue||{});if(g.length===L.length){for(const y of L)if(-1===g.indexOf(y))return!0;return!1}return!0})(i)||s})()?this.recreateView():this.updateContext()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[vn]})}return t})();class G2e{$implicit}let Tl=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({})}return t})();const WO=["*"],K2e=t=>({$implicit:t});function Q2e(t,n){1&t&&Pe(0),2&t&&ln(k(3).nzSplit)}function X2e(t,n){if(1&t&&(J(0,"span",2),ve(1,Q2e,1,1,"ng-template",3),te()),2&t){const e=k().$index,i=k();z(),N("nzStringTemplateOutlet",i.nzSplit)("nzStringTemplateOutletContext",Fr(2,K2e,e))}}function Z2e(t,n){if(1&t&&(J(0,"div",0),Ua(1,1),te(),lt(2,X2e,2,4,"span",2)),2&t){const e=n.$implicit,i=n.$index,r=n.$count,o=k();z(),N("ngTemplateOutlet",e),z(),ct(o.nzSplit&&i!==r-1?2:-1)}}const N8=new Ie(""),GO=new Ie(""),R8=new Ie("");let J2e=(()=>{class t{nzBlock=Lc(!1,{transform:Qe});nzDirection=Lc("horizontal");nzSize=Lc("default");elementRef=U(un);static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["nz-space-compact"]],hostAttrs:[1,"ant-space-compact"],hostVars:4,hostBindings:function(i,r){2&i&&Bt("ant-space-compact-block",r.nzBlock())("ant-space-compact-vertical","vertical"===r.nzDirection())},inputs:{nzBlock:[1,"nzBlock"],nzDirection:[1,"nzDirection"],nzSize:[1,"nzSize"]},exportAs:["nzSpaceCompact"],features:[jn([{provide:N8,useFactory:()=>U(t).nzSize},{provide:GO,useFactory:()=>Jr([])}])],ngContentSelectors:WO,decls:1,vars:0,template:function(i,r){1&i&&(ka(),Io(0))},encapsulation:2,changeDetection:0})}return t})(),w_=(()=>{class t{spaceCompactCmp=U(J2e,{host:!0,optional:!0});items=U(GO,{host:!0,optional:!0});type=U(R8);elementRef=U(un);directionality=U(oo);dir=YL(this.directionality.change,{initialValue:this.directionality.value});get parentElement(){return this.elementRef.nativeElement?.parentElement}class=Co(()=>{if(!this.spaceCompactCmp||!this.items||this.parentElement!==this.spaceCompactCmp.elementRef.nativeElement)return null;const e=this.items(),i=this.spaceCompactCmp.nzDirection(),r=[ehe(this.type,i,"rtl"===this.dir())],o=e.indexOf(this);return o===e.findIndex(s=>s)&&r.push(function the(t,n){return S_(t,n,"first-item")}(this.type,i)),o===e.length-1&&r.push(function nhe(t,n){return S_(t,n,"last-item")}(this.type,i)),r});constructor(){!this.spaceCompactCmp||!this.items||(bu(()=>{if(this.parentElement===this.spaceCompactCmp.elementRef.nativeElement){const e=Array.from(this.parentElement.children).indexOf(this.elementRef.nativeElement);this.items.update(i=>{const r=i.slice();return r.splice(e,0,this),r})}}),U(In).onDestroy(()=>{this.items?.update(e=>e.filter(i=>i!==this))}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,hostVars:2,hostBindings:function(i,r){2&i&&Oe(r.class())},exportAs:["nzSpaceCompactItem"]})}return t})();function S_(t,n,e){return`ant-${t}-compact-${"vertical"===n?"vertical-":""}${e}`}function ehe(t,n,e){const i=e?"-rtl":"";return`${S_(t,n,"item")}${i}`}let ihe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["","nzSpaceItem",""]]})}return t})();const ohe={small:8,middle:16,large:24};(()=>{let t,n=[],e=[];(class Oy{static{const r="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;t=[Mr()],mr(null,null,t,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:o=>"nzSize"in o,get:o=>o.nzSize,set:(o,a)=>{o.nzSize=a}},metadata:r},n,e),r&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:r})}_nzModuleName="space";nzConfigService=U(Ml);cdr=U(Cr);destroyRef=U(In);nzDirection="horizontal";nzAlign;nzSplit=null;nzWrap=!1;nzSize=rn(this,n,"small");items=rn(this,e);mergedAlign;horizontalSize;verticalSize;constructor(){this.updateSpaceSize()}ngOnChanges(r){const{nzSize:o}=r;o&&this.updateSpaceSize(),this.mergedAlign=void 0===this.nzAlign&&"horizontal"===this.nzDirection?"center":this.nzAlign}ngAfterContentInit(){this.items.changes.pipe(mt(this.destroyRef)).subscribe(()=>{this.cdr.markForCheck()})}updateSpaceSize(){const{horizontalSize:r,verticalSize:o}=function ahe(t){const[n,e]=(Array.isArray(t)?t:[t,t]).map(i=>"number"==typeof i?i:ohe[i]);return{horizontalSize:n,verticalSize:e}}(this.nzSize);this.horizontalSize=r,this.verticalSize=o}static \u0275fac=function(o){return new(o||Oy)};static \u0275cmp=bt({type:Oy,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(o,a,s){if(1&o&&qa(s,ihe,4,Yo),2&o){let l;zn(l=An())&&(a.items=l)}},hostAttrs:[1,"ant-space"],hostVars:18,hostBindings:function(o,a){2&o&&(Zi("flex-wrap",a.nzWrap?"wrap":null)("column-gap",a.horizontalSize,"px")("row-gap",a.verticalSize,"px"),Bt("ant-space-horizontal","horizontal"===a.nzDirection)("ant-space-vertical","vertical"===a.nzDirection)("ant-space-align-start","start"===a.mergedAlign)("ant-space-align-end","end"===a.mergedAlign)("ant-space-align-center","center"===a.mergedAlign)("ant-space-align-baseline","baseline"===a.mergedAlign))},inputs:{nzDirection:"nzDirection",nzAlign:"nzAlign",nzSplit:"nzSplit",nzWrap:[2,"nzWrap","nzWrap",Qe],nzSize:"nzSize"},exportAs:["nzSpace"],features:[vn],ngContentSelectors:WO,decls:3,vars:0,consts:[[1,"ant-space-item"],[3,"ngTemplateOutlet"],[1,"ant-space-split"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(o,a){1&o&&(ka(),Io(0),Ti(1,Z2e,3,2,null,null,x1)),2&o&&(z(),Di(a.items))},dependencies:[_l,Qo],encapsulation:2,changeDetection:0})})})();let KO=(()=>{class t{elementRef=U(un);renderer=U(to);hidden=null;setHiddenAttribute(){this.hidden?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","string"==typeof this.hidden?this.hidden:""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden")}constructor(){this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["","nz-button",""],["","nz-icon",""],["nz-icon"],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[vn]})}return t})(),she=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({})}return t})();class lhe{triggerElement;ngZone;insertExtraNode;platform;cspNonce;waveTransitionDuration=400;styleForPseudo=null;extraNode=null;lastTime=0;clickHandler;get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}constructor(n,e,i,r,o){this.triggerElement=n,this.ngZone=e,this.insertExtraNode=i,this.platform=r,this.cspNonce=o,this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}onClick=n=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||"INPUT"===n.target.tagName||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()};bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){const n=this.triggerElement,e=this.getWaveColor(n);n.setAttribute(this.waveAttributeName,"true"),!(Date.now()<this.lastTime+this.waveTransitionDuration)&&(this.isValidColor(e)&&(this.styleForPseudo||(this.styleForPseudo=document.createElement("style"),this.cspNonce&&(this.styleForPseudo.nonce=this.cspNonce)),this.styleForPseudo.innerHTML=`\n      [ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node {\n        --antd-wave-shadow-color: ${e};\n      }`,document.body.appendChild(this.styleForPseudo)),this.insertExtraNode&&(this.extraNode||(this.extraNode=document.createElement("div")),this.extraNode.className="ant-click-animating-node",n.appendChild(this.extraNode)),this.lastTime=Date.now(),this.runTimeoutOutsideZone(()=>{n.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(n){return!!n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&this.isNotGrey(n)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(n)&&"transparent"!==n}isNotGrey(n){const e=n.match(/rgba?\((\d*), (\d*), (\d*)(, [.\d]*)?\)/);return!(e&&e[1]&&e[2]&&e[3]&&e[1]===e[2]&&e[2]===e[3])}getWaveColor(n){const e=getComputedStyle(n);return e.getPropertyValue("border-top-color")||e.getPropertyValue("border-color")||e.getPropertyValue("background-color")}runTimeoutOutsideZone(n,e){this.ngZone.runOutsideAngular(()=>setTimeout(n,e))}}const che={disabled:!1},QO=new Ie("");function uhe(t){return vs([{provide:QO,useValue:t}])}let M_=(()=>{class t{nzWaveExtraNode=!1;waveRenderer;waveDisabled=!1;get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}cspNonce=U(T2,{optional:!0});platform=U(Aa);config=U(QO,{optional:!0});animationType=U(N0,{optional:!0});ngZone=U($t);elementRef=U(un);constructor(){this.waveDisabled=this.isConfigDisabled()}isConfigDisabled(){let e=!1;return this.config&&"boolean"==typeof this.config.disabled&&(e=this.config.disabled),"NoopAnimations"===this.animationType&&(e=!0),e}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new lhe(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platform,this.cspNonce))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]})}return t})(),XO=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({providers:[uhe(che)]})}return t})();const dhe=["nz-button",""],hhe=["*"];function fhe(t,n){1&t&&(J(0,"span",0),He(1,"nz-icon",1),te())}let T_=(()=>{let t,n=[],e=[];return class Py{static{const r="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;t=[Mr()],mr(null,null,t,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:o=>"nzSize"in o,get:o=>o.nzSize,set:(o,a)=>{o.nzSize=a}},metadata:r},n,e),r&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:r})}elementRef=U(un);cdr=U(Cr);renderer=U(to);directionality=U(oo);destroyRef=U(In);_nzModuleName="button";nzIconDirectiveElement;nzBlock=!1;nzGhost=!1;nzSearch=!1;nzLoading=!1;nzDanger=!1;disabled=!1;tabIndex=null;nzType=null;nzShape=null;nzSize=rn(this,n,"default");dir=(rn(this,e),"ltr");elementOnly=Jr(!1);size=Jr(this.nzSize);compactSize=U(N8,{optional:!0});loading$=new it;finalSize=Co(()=>this.compactSize?this.compactSize():this.size());iconDir=RX(La);loadingIconDir=PX(La);iconOnly=Co(()=>this.elementOnly()&&(!!this.iconDir()||!!this.loadingIconDir()));constructor(){LO("button",()=>{this.size.set(this.nzSize),this.cdr.markForCheck()}),function Uw(t,n){const e=n?.injector??U(Vr);return Ta("NgAfterRender"),Bw(t,e,n,!1)}({read:()=>{const{children:r}=this.elementRef.nativeElement,o=Array.from(r).filter(a=>"none"!==a.style.display);this.elementOnly.set(1===o.length)}})}ngOnInit(){this.size.set(this.nzSize),this.directionality.change?.pipe(mt(this.destroyRef)).subscribe(r=>{this.dir=r,this.cdr.detectChanges()}),this.dir=this.directionality.value,ks(this.elementRef.nativeElement,"click",{capture:!0}).pipe(mt(this.destroyRef)).subscribe(r=>{(this.disabled&&"A"===r.target?.tagName||this.nzLoading)&&(r.preventDefault(),r.stopImmediatePropagation())})}ngOnChanges({nzLoading:r,nzSize:o}){r&&this.loading$.next(this.nzLoading),o&&this.size.set(o.currentValue)}ngAfterViewInit(){this.insertSpan()}ngAfterContentInit(){this.loading$.pipe(jc(this.nzLoading),pr(()=>!!this.nzIconDirectiveElement),mt(this.destroyRef)).subscribe(r=>{const o=this.nzIconDirectiveElement.nativeElement;r?this.renderer.setStyle(o,"display","none"):this.renderer.removeStyle(o,"display")})}insertSpan(){this.elementRef.nativeElement.childNodes.forEach(r=>{if(r.nodeType===Node.TEXT_NODE&&r.textContent.trim().length>0){const o=this.renderer.createElement("span"),a=this.renderer.parentNode(r);this.renderer.insertBefore(a,o,r),this.renderer.appendChild(o,r)}})}static \u0275fac=function(o){return new(o||Py)};static \u0275cmp=bt({type:Py,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(o,a,s){if(1&o&&(m5(s,a.iconDir,La,5),qa(s,La,5,un)),2&o){let l;A3(),zn(l=An())&&(a.nzIconDirectiveElement=l.first)}},viewQuery:function(o,a){1&o&&function KT(t,n,e,i){pM(t,cM(n,e,i))}(a.loadingIconDir,La,5),2&o&&A3()},hostAttrs:[1,"ant-btn"],hostVars:34,hostBindings:function(o,a){2&o&&(gt("tabindex",a.disabled?-1:null===a.tabIndex?null:a.tabIndex)("disabled",a.disabled||null),Bt("ant-btn-default","default"===a.nzType)("ant-btn-primary","primary"===a.nzType)("ant-btn-dashed","dashed"===a.nzType)("ant-btn-link","link"===a.nzType)("ant-btn-text","text"===a.nzType)("ant-btn-circle","circle"===a.nzShape)("ant-btn-round","round"===a.nzShape)("ant-btn-lg","large"===a.finalSize())("ant-btn-sm","small"===a.finalSize())("ant-btn-dangerous",a.nzDanger)("ant-btn-loading",a.nzLoading)("ant-btn-background-ghost",a.nzGhost)("ant-btn-block",a.nzBlock)("ant-input-search-button",a.nzSearch)("ant-btn-rtl","rtl"===a.dir)("ant-btn-icon-only",a.iconOnly()))},inputs:{nzBlock:[2,"nzBlock","nzBlock",Qe],nzGhost:[2,"nzGhost","nzGhost",Qe],nzSearch:[2,"nzSearch","nzSearch",Qe],nzLoading:[2,"nzLoading","nzLoading",Qe],nzDanger:[2,"nzDanger","nzDanger",Qe],disabled:[2,"disabled","disabled",Qe],tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[jn([{provide:R8,useValue:"btn"}]),s3([w_]),vn],attrs:dhe,ngContentSelectors:hhe,decls:2,vars:1,consts:[[1,"ant-btn-icon","ant-btn-loading-icon"],["nzType","loading"]],template:function(o,a){1&o&&(ka(),lt(0,fhe,2,0,"span",0),Io(1)),2&o&&ct(a.nzLoading?0:-1)},dependencies:[ec,La],encapsulation:2,changeDetection:0})}})(),JO=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({imports:[T_,she,XO]})}return t})();function eP(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const F8=new WeakMap;let tP=(()=>{class t{_appRef;_injector=U(Vr);_environmentInjector=U(pn);load(e){const i=this._appRef=this._appRef||this._injector.get(pl);let r=F8.get(i);r||(r={loaders:new Set,refs:[]},F8.set(i,r),i.onDestroy(()=>{F8.get(i)?.refs.forEach(o=>o.destroy()),F8.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(Fk(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function To(t){return null==t?"":"string"==typeof t?t:`${t}px`}function H8(t){return Array.isArray(t)?t:[t]}function nP(t=0,n,e=w0e){let i=-1;return null!=n&&(VE(n)?e=n:i=n),new Be(r=>{let o=function phe(t){return t instanceof Date&&!isNaN(t)}(t)?+t-e.now():t;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function Ed(t,n=b8){return function mhe(t){return Rr((n,e)=>{let i=!1,r=null,o=null,a=!1;const s=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,e.next(c)}a&&e.complete()},l=()=>{o=null,a&&e.complete()};n.subscribe(dr(e,c=>{i=!0,r=c,o||la(t(c)).subscribe(o=dr(e,s,l))},()=>{a=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>nP(t,n))}let D_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({})}return t})(),iP=(()=>{class t{_ngZone=U($t);_platform=U(Aa);_renderer=U(Bs).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new it;_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 i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Be(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const r=e>0?this._scrolled.pipe(Ed(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Wt()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(pr(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_scrollableContainsElement(e,i){let r=e4(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),l4=(()=>{class t{_platform=U(Aa);_listeners;_viewportSize;_change=new it;_document=U(br);constructor(){const e=U($t),i=U(Bs).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){const r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}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:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Ed(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(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),rP=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({})}return t})(),oP=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({imports:[D_,rP,D_,rP]})}return t})();class x_{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class bhe extends x_{component;viewContainerRef;injector;projectableNodes;constructor(n,e,i,r){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=r}}class k_ extends x_{templateRef;viewContainerRef;context;injector;constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class Che extends x_{element;constructor(n){super(),this.element=n instanceof un?n.nativeElement:n}}class whe{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof bhe?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof k_?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof Che?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class She extends whe{outletElement;_appRef;_defaultInjector;constructor(n,e,i){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=i}attachComponentPortal(n){let e;if(n.viewContainerRef){const i=n.injector||n.viewContainerRef.injector,r=i.get(Su,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{const i=this._appRef,r=n.injector||this._defaultInjector||Vr.NULL,o=r.get(pn,i.injector);e=Fk(n.component,{elementInjector:r,environmentInjector:o,projectableNodes:n.projectableNodes||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{const e=n.element,i=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let Z1,Mhe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({})}return t})();function The(){if(null==Z1){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Z1=!1,Z1;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Z1=!0;else{const t=Element.prototype.scrollTo;Z1=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return Z1}const E_={};let xhe=(()=>{class t{_appId=U(P0);getId(e){return"ng"!==this._appId&&(e+=this._appId),E_.hasOwnProperty(e)||(E_[e]=0),`${e}${E_[e]++}`}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function U8(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}const aP=The();class Ehe{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=To(-this._previousScrollPosition.left),n.style.top=To(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,r=this._document.body.style,o=i.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),aP&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),aP&&(i.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class zhe{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(pr(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class I_{enable(){}disable(){}attach(){}}function z_(t,n){return n.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function sP(t,n){return n.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}function B8(t,n){return new Ahe(t.get(iP),t.get(l4),t.get($t),n)}class Ahe{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();z_(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Lhe=(()=>{class t{_injector=U(Vr);constructor(){}noop=()=>new I_;close=e=>function Ihe(t,n){return new zhe(t.get(iP),t.get($t),t.get(l4),n)}(this._injector,e);block=()=>function khe(t){return new Ehe(t.get(l4),t.get(br))}(this._injector);reposition=e=>B8(this._injector,e);static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class lP{positionStrategy;scrollStrategy=new I_;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class zr{offsetX;offsetY;panelClass;originX;originY;overlayX;overlayY;constructor(n,e,i,r,o){this.offsetX=i,this.offsetY=r,this.panelClass=o,this.originX=n.originX,this.originY=n.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class Ohe{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let cP=(()=>{class t{_attachedOverlays=[];_document=U(br);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Phe=(()=>{class t extends cP{_ngZone=U($t);_renderer=U(Bs).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{const i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--)if(i[r]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[r]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Nhe=(()=>{class t extends cP{_platform=U(Aa);_ngZone=U($t);_renderer=U(Bs).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){const i=this._document.body,r={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(i,"pointerdown",this._pointerDownListener,r),o.listen(i,"click",this._clickListener,r),o.listen(i,"auxclick",this._clickListener,r),o.listen(i,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=Zl(e)};_clickListener=e=>{const i=Zl(e),r="click"===e.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;const o=this._attachedOverlays.slice();for(let a=o.length-1;a>-1;a--){const s=o[a];if(s._outsidePointerEvents.observers.length<1||!s.hasAttached())continue;if(uP(s.overlayElement,i)||uP(s.overlayElement,r))break;const l=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function uP(t,n){const e=typeof ShadowRoot<"u"&&ShadowRoot;let i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}let dP=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}\n"],encapsulation:2,changeDetection:0})}return t})(),hP=(()=>{class t{_platform=U(Aa);_containerElement;_document=U(br);_styleLoader=U(tP);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||eP()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}const i=this._document.createElement("div");i.classList.add(e),eP()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(dP)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class Rhe{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,i,r){this._renderer=e,this._ngZone=i,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{const n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}}class Fhe{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new it;_attachments=new it;_detachments=new it;_positionStrategy;_scrollStrategy;_locationChanges=Vt.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new it;_outsidePointerEvents=new it;_afterNextRenderRef;constructor(n,e,i,r,o,a,s,l,c,h=!1,g,L){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=h,this._injector=g,this._renderer=L,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=bu(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=To(this._config.width),n.height=To(this._config.height),n.minWidth=To(this._config.minWidth),n.minHeight=To(this._config.minHeight),n.maxWidth=To(this._config.maxWidth),n.maxHeight=To(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Rhe(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,i){const r=H8(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=bu(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(e){if(n)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){const n=this._scrollStrategy;n?.disable(),n?.detach?.()}}const fP="cdk-overlay-connected-position-bounding-box",Hhe=/([A-Za-z%]+)$/;function A_(t,n){return new Vhe(n,t.get(l4),t.get(br),t.get(Aa),t.get(hP))}class Vhe{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new it;_resizeSubscription=Vt.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(fP),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let a;for(let s of this._preferredPositions){let l=this._getOriginPoint(n,r,s),c=this._getOverlayPoint(l,e,s),h=this._getOverlayFit(c,e,i,s);if(h.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,l);this._canFitWithFlexibleDimensions(h,c,i)?o.push({position:s,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,s)}):(!a||a.overlayFit.visibleArea<h.visibleArea)&&(a={overlayFit:h,overlayPoint:c,originPoint:l,position:s,overlayRect:e})}if(o.length){let s=null,l=-1;for(const c of o){const h=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);h>l&&(l=h,s=c)}return this._isPushed=!1,void this._applyPosition(s.position,s.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&J1(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(fP),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let r,o;if("center"==i.originX)r=n.left+n.width/2;else{const a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;r="start"==i.originX?a:s}return e.left<0&&(r-=e.left),o="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){const o=pP(e);let{x:a,y:s}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(a+=l),c&&(s+=c);let L=0-s,y=s+o.height-i.height,x=this._subtractOverflows(o.width,0-a,a+o.width-i.width),B=this._subtractOverflows(o.height,L,y),ee=x*B;return{visibleArea:ee,isCompletelyWithinViewport:o.width*o.height===ee,fitsInViewportVertically:B===o.height,fitsInViewportHorizontally:x==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,a=mP(this._overlayRef.getConfig().minHeight),s=mP(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=a&&a<=r)&&(n.fitsInViewportHorizontally||null!=s&&s<=o)}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const r=pP(e),o=this._viewportRect,a=Math.max(n.x+r.width-o.width,0),s=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0);let h=0,g=0;return h=r.width<=o.width?c||-a:n.x<this._viewportMargin?o.left-i.left-n.x:0,g=r.height<=o.height?l||-s:n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:h,y:g},{x:n.x+h,y:n.y+g}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){const i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!function Uhe(t,n){return t===n||t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}(this._lastScrollVisibility,i)){const r=new Ohe(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,r=n.overlayY;i="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,e){const i=this._viewportRect,r=this._isRtl();let o,a,s,h,g,L;if("top"===e.overlayY)a=n.y,o=i.height-a+this._viewportMargin;else if("bottom"===e.overlayY)s=i.height-n.y+2*this._viewportMargin,o=i.height-s+this._viewportMargin;else{const y=Math.min(i.bottom-n.y+i.top,n.y),x=this._lastBoundingBoxSize.height;o=2*y,a=n.y-y,o>x&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-x/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)L=i.width-n.x+2*this._viewportMargin,h=n.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)g=n.x,h=i.right-n.x;else{const y=Math.min(i.right-n.x+i.left,n.x),x=this._lastBoundingBoxSize.width;h=2*y,g=n.x-y,h>x&&!this._isInitialRender&&!this._growAfterOpen&&(g=n.x-x/2)}return{top:a,left:g,bottom:s,right:L,width:h,height:o}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=To(i.height),r.top=To(i.top),r.bottom=To(i.bottom),r.width=To(i.width),r.left=To(i.left),r.right=To(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=To(o)),a&&(r.maxWidth=To(a))}this._lastBoundingBoxSize=i,J1(this._boundingBox.style,r)}_resetBoundingBoxStyles(){J1(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){J1(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){const h=this._viewportRuler.getViewportScrollPosition();J1(i,this._getExactOverlayY(e,n,h)),J1(i,this._getExactOverlayX(e,n,h))}else i.position="static";let s="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),i.transform=s.trim(),a.maxHeight&&(r?i.maxHeight=To(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(r?i.maxWidth=To(a.maxWidth):o&&(i.maxWidth="")),J1(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===n.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=To(o.y),r}_getExactOverlayX(n,e,i){let a,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),a=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===a?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=To(o.x),r}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:sP(n,i),isOriginOutsideView:z_(n,i),isOverlayClipped:sP(e,i),isOverlayOutsideView:z_(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&H8(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof un)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function J1(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function mP(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(Hhe);return e&&"px"!==e?null:parseFloat(n)}return t||null}function pP(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const gP="cdk-global-overlay-wrapper";class qhe{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(gP),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=i,l=!("100%"!==r&&"100vw"!==r||a&&"100%"!==a&&"100vw"!==a),c=!("100%"!==o&&"100vh"!==o||s&&"100%"!==s&&"100vh"!==s),h=this._xPosition,g=this._xOffset,L="rtl"===this._overlayRef.getConfig().direction;let y="",x="",B="";l?B="flex-start":"center"===h?(B="center",L?x=g:y=g):L?"left"===h||"end"===h?(B="flex-end",y=g):("right"===h||"start"===h)&&(B="flex-start",x=g):"left"===h||"start"===h?(B="flex-start",y=g):("right"===h||"end"===h)&&(B="flex-end",x=g),n.position=this._cssPosition,n.marginLeft=l?"0":y,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":x,e.justifyContent=B,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(gP),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let Yhe=(()=>{class t{_injector=U(Vr);constructor(){}global(){return function Bhe(){return new qhe}()}flexibleConnectedTo(e){return A_(this._injector,e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function L_(t,n){t.get(tP).load(dP);const e=t.get(hP),i=t.get(br),r=t.get(xhe),o=t.get(pl),a=t.get(oo),s=i.createElement("div"),l=i.createElement("div");l.id=r.getId("cdk-overlay-"),l.classList.add("cdk-overlay-pane"),s.appendChild(l),e.getContainerElement().appendChild(s);const c=new She(l,o,t),h=new lP(n),g=t.get(to,null,{optional:!0})||t.get(Bs).createRenderer(null,null);return h.direction=h.direction||a.value,new Fhe(c,s,l,h,t.get($t),t.get(Phe),i,t.get(M0),t.get(Nhe),n?.disableAnimations??"NoopAnimations"===t.get(N0,null,{optional:!0}),t.get(pn),g)}let jhe=(()=>{class t{scrollStrategies=U(Lhe);_positionBuilder=U(Yhe);_injector=U(Vr);constructor(){}create(e){return L_(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const $he=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],vP=new Ie("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const t=U(Vr);return()=>B8(t)}});let u4=(()=>{class t{elementRef=U(un);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),e0=(()=>{class t{_dir=U(oo,{optional:!0});_injector=U(Vr);_overlayRef;_templatePortal;_backdropSubscription=Vt.EMPTY;_attachSubscription=Vt.EMPTY;_detachSubscription=Vt.EMPTY;_positionSubscription=Vt.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=U(vP);_disposeOnNavigation=!1;_ngZone=U($t);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new dt;positionChange=new dt;attach=new dt;detach=new dt;overlayKeydown=new dt;overlayOutsideClick=new dt;constructor(){const e=U(Yo),i=U(Da);this._templatePortal=new k_(e,i),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=$he);const e=this._overlayRef=L_(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!U8(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{const r=this._getOriginElement(),o=Zl(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new lP({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=A_(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof u4?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof u4?this.origin.elementRef.nativeElement:this.origin instanceof un?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function Dhe(t,n=!1){return Rr((e,i)=>{let r=0;e.subscribe(dr(i,o=>{const a=t(o,r++);(a||n)&&i.next(o),!a&&i.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",Qe],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Qe],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Qe],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Qe],push:[2,"cdkConnectedOverlayPush","push",Qe],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Qe]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[vn]})}return t})();const Ghe={provide:vP,useFactory:function Whe(t){const n=U(Vr);return()=>B8(n)}};let q8=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({providers:[jhe,Ghe],imports:[D_,Mhe,oP,oP]})}return t})();function _P(...t){const n=E7(t);return Rr((e,i)=>{const r=t.length,o=new Array(r);let a=t.map(()=>!1),s=!1;for(let l=0;l<r;l++)la(t[l]).subscribe(dr(i,c=>{o[l]=c,!s&&!a[l]&&(a[l]=!0,(s=a.every(Dr))&&(a=null))},Oa));e.subscribe(dr(i,l=>{if(s){const c=[l,...o];i.next(n?n(...c):c)}}))})}let Khe=(()=>{class t{create(e){return typeof ResizeObserver>"u"?null:new ResizeObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),yP=(()=>{class t{nzResizeObserverFactory=U(Khe);destroyRef=U(In);observedElements=new Map;constructor(){this.destroyRef.onDestroy(()=>this.observedElements.forEach((e,i)=>this.cleanupObserver(i)))}observe(e){const i=e4(e);return new Be(r=>{const a=this.observeElement(i).subscribe(r);return()=>{a.unsubscribe(),this.unobserveElement(i)}})}observeElement(e){if(this.observedElements.has(e))this.observedElements.get(e).count++;else{const i=new it,r=this.nzResizeObserverFactory.create(o=>i.next(o));r&&r.observe(e),this.observedElements.set(e,{observer:r,stream:i,count:1})}return this.observedElements.get(e).stream}unobserveElement(e){this.observedElements.has(e)&&(this.observedElements.get(e).count--,this.observedElements.get(e).count||this.cleanupObserver(e))}cleanupObserver(e){if(this.observedElements.has(e)){const{observer:i,stream:r}=this.observedElements.get(e);i&&i.disconnect(),r.complete(),this.observedElements.delete(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),pa=(()=>class t{static SLOW="0.3s";static BASE="0.2s";static FAST="0.1s"})(),ga=(()=>class t{static EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)";static EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)";static EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)";static EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)";static EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)";static EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)";static EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)";static EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)";static EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)";static EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)";static EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)";static EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)";static EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)";static EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)"})();const Qhe=Ts("collapseMotion",[$a("expanded",Kt({height:"*"})),$a("collapsed",Kt({height:0,overflow:"hidden"})),$a("hidden",Kt({height:0,overflow:"hidden",borderTopWidth:"0"})),Bi("expanded => collapsed",Oi(`150ms ${ga.EASE_IN_OUT}`)),Bi("expanded => hidden",Oi(`150ms ${ga.EASE_IN_OUT}`)),Bi("collapsed => expanded",Oi(`150ms ${ga.EASE_IN_OUT}`)),Bi("hidden => expanded",Oi(`150ms ${ga.EASE_IN_OUT}`))]),Xhe=(Ts("treeCollapseMotion",[Bi("* => *",[lA("nz-tree-node:leave,nz-tree-builtin-node:leave",[Kt({overflow:"hidden"}),cA(0,[Oi(`150ms ${ga.EASE_IN_OUT}`,Kt({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),lA("nz-tree-node:enter,nz-tree-builtin-node:enter",[Kt({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),cA(0,[Oi(`150ms ${ga.EASE_IN_OUT}`,Kt({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),Ts("drawerMaskMotion",[Bi(":enter",[Kt({opacity:0}),Oi(`${pa.SLOW}`,Kt({opacity:1}))]),Bi(":leave",[Kt({opacity:1}),Oi(`${pa.SLOW}`,Kt({opacity:0}))])]),Ts("fadeMotion",[Bi("* => enter",[Kt({opacity:0}),Oi(`${pa.BASE}`,Kt({opacity:1}))]),Bi("* => leave, :leave",[Kt({opacity:1}),Oi(`${pa.BASE}`,Kt({opacity:0}))])]),Ts("helpMotion",[Bi(":enter",[Kt({opacity:0,transform:"translateY(-5px)"}),Oi(`${pa.SLOW} ${ga.EASE_IN_OUT}`,Kt({opacity:1,transform:"translateY(0)"}))]),Bi(":leave",[Kt({opacity:1,transform:"translateY(0)"}),Oi(`${pa.SLOW} ${ga.EASE_IN_OUT}`,Kt({opacity:0,transform:"translateY(-5px)"}))])]),Ts("moveUpMotion",[Bi("* => enter",[Kt({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),Oi(`${pa.BASE}`,Kt({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),Bi("* => leave",[Kt({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),Oi(`${pa.BASE}`,Kt({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),Ts("notificationMotion",[$a("enterRight",Kt({opacity:1,transform:"translateX(0)"})),Bi("* => enterRight",[Kt({opacity:0,transform:"translateX(5%)"}),Oi("100ms linear")]),$a("enterLeft",Kt({opacity:1,transform:"translateX(0)"})),Bi("* => enterLeft",[Kt({opacity:0,transform:"translateX(-5%)"}),Oi("100ms linear")]),$a("enterTop",Kt({opacity:1,transform:"translateY(0)"})),Bi("* => enterTop",[Kt({opacity:0,transform:"translateY(-5%)"}),Oi("100ms linear")]),$a("enterBottom",Kt({opacity:1,transform:"translateY(0)"})),Bi("* => enterBottom",[Kt({opacity:0,transform:"translateY(5%)"}),Oi("100ms linear")]),$a("leave",Kt({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),Bi("* => leave",[Kt({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),Oi("100ms linear")])]),`${pa.BASE} ${ga.EASE_OUT_QUINT}`),Zhe=`${pa.BASE} ${ga.EASE_IN_QUINT}`,Y8=Ts("slideMotion",[$a("void",Kt({opacity:0,transform:"scaleY(0.8)"})),$a("enter",Kt({opacity:1,transform:"scaleY(1)"})),Bi("void => *",[Oi(Xhe)]),Bi("* => void",[Oi(Zhe)])]),Jhe=(Ts("slideAlertMotion",[Bi(":leave",[Kt({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),Oi(`${pa.SLOW} ${ga.EASE_IN_OUT_CIRC}`,Kt({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),Ts("tabSwitchMotion",[$a("leave",Kt({display:"none"})),Bi("* => enter",[Kt({display:"block",opacity:0}),Oi(pa.SLOW)]),Bi("* => leave, :leave",[Kt({position:"absolute",top:0,left:0,width:"100%"}),Oi(pa.SLOW,Kt({opacity:0})),Kt({display:"none"})])])),O_=(Ts("thumbMotion",[$a("from",Kt({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:0,width:0}}),$a("to",Kt({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:100,width:0}}),$a("fromVertical",Kt({transform:"translateY({{ transform }}px)",width:"{{ width }}px",height:"{{ height }}px"}),{params:{transform:0,width:0,height:0}}),$a("toVertical",Kt({transform:"translateY({{ transform }}px)",width:"{{ width }}px",height:"{{ height }}px"}),{params:{transform:100,width:0,height:0}}),Bi("from => to",Oi(`300ms ${ga.EASE_IN_OUT}`)),Bi("fromVertical => toVertical",Oi(`300ms ${ga.EASE_IN_OUT}`))]),Ts("zoomBigMotion",[Bi("void => active",[Kt({opacity:0,transform:"scale(0.8)"}),Oi(`${pa.BASE} ${ga.EASE_OUT_CIRC}`,Kt({opacity:1,transform:"scale(1)"}))]),Bi("active => void",[Kt({opacity:1,transform:"scale(1)"}),Oi(`${pa.BASE} ${ga.EASE_IN_OUT_CIRC}`,Kt({opacity:0,transform:"scale(0.8)"}))])]));Ts("zoomBadgeMotion",[Bi(":enter",[Kt({opacity:0,transform:"scale(0) translate(50%, -50%)"}),Oi(`${pa.SLOW} ${ga.EASE_OUT_BACK}`,Kt({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),Bi(":leave",[Kt({opacity:1,transform:"scale(1) translate(50%, -50%)"}),Oi(`${pa.SLOW} ${ga.EASE_IN_BACK}`,Kt({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])]);let tc=(()=>{class t{animationType=U(N0,{optional:!0});nzNoAnimation=!1;static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["","nzNoAnimation",""]],hostVars:2,hostBindings:function(i,r){2&i&&Bt("nz-animate-disabled",r.nzNoAnimation||"NoopAnimations"===r.animationType)},inputs:{nzNoAnimation:[2,"nzNoAnimation","nzNoAnimation",Qe]},exportAs:["nzNoAnimation"]})}return t})();const rr={top:new zr({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new zr({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new zr({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new zr({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new zr({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new zr({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new zr({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new zr({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new zr({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new zr({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new zr({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new zr({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new zr({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new zr({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},Id=((t=12)=>({top:[0,-t],topCenter:[0,-t],topLeft:[0,-t],topRight:[0,-t],right:[t,0],rightTop:[t,0],rightBottom:[t,0],bottom:[0,t],bottomCenter:[0,t],bottomLeft:[0,t],bottomRight:[0,t],left:[-t,0],leftTop:[-t,0],leftBottom:[-t,0]}))(),bP=[zd(rr.top,Id.top),zd(rr.right,Id.right),zd(rr.bottom,Id.bottom),zd(rr.left,Id.left)];function j8(t){for(const n in rr)if(t.connectionPair.originX===rr[n].originX&&t.connectionPair.originY===rr[n].originY&&t.connectionPair.overlayX===rr[n].overlayX&&t.connectionPair.overlayY===rr[n].overlayY)return n}new zr({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new zr({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"}),new zr({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"});const d4={bottomLeft:new zr({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),topLeft:new zr({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),bottomRight:new zr({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),topRight:new zr({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2)},CP=[d4.bottomLeft,d4.topLeft,d4.bottomRight,d4.topRight];function zd(t,n){const[e,i]=function e4e(t){return Array.isArray(t)?t:[t,t]}(n);return{...t,offsetX:e,offsetY:i}}let $8=(()=>{class t{cdkConnectedOverlay=U(e0);nzArrowPointAtCenter=!1;constructor(){this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe(mt()).subscribe(e=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(e)})}updateArrowPosition(e){const i=this.getOriginRect(),r=j8(e);let o=0,a=0;"topLeft"===r||"bottomLeft"===r?o=i.width/2-14:"topRight"===r||"bottomRight"===r?o=-(i.width/2-14):"leftTop"===r||"rightTop"===r?a=i.height/2-10:("leftBottom"===r||"rightBottom"===r)&&(a=-(i.height/2-10)),(this.cdkConnectedOverlay.offsetX!==o||this.cdkConnectedOverlay.offsetY!==a)&&(this.cdkConnectedOverlay.offsetY=a,this.cdkConnectedOverlay.offsetX=o,this.cdkConnectedOverlay.overlayRef.updatePosition())}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof u4?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){const e=this.getFlexibleConnectedPositionStrategyOrigin();if(e instanceof un)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const i=e.width||0,r=e.height||0;return{top:e.y,bottom:e.y+r,left:e.x,right:e.x+i,height:r,width:i}}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:[2,"nzArrowPointAtCenter","nzArrowPointAtCenter",Qe]},exportAs:["nzConnectedOverlay"]})}return t})(),W8=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({})}return t})();const G8="function"==typeof globalThis.requestAnimationFrame?globalThis.requestAnimationFrame:globalThis.setTimeout,t4e=(globalThis,globalThis,["hourListElement"]),n4e=["minuteListElement"],i4e=["secondListElement"],r4e=["use12HoursListElement"];function o4e(t,n){if(1&t&&(J(0,"div",4)(1,"div",8),Pe(2),te()()),2&t){const e=k();z(2),ln(e.dateHelper.format(null==e.time?null:e.time.value,e.format)||"\xa0")}}function a4e(t,n){if(1&t){const e=tt();J(0,"li",10),Ne("click",function(){ce(e);const r=k().$implicit;return ue(k(2).selectHour(r))}),J(1,"div",11),Pe(2),uo(3,"number"),te()()}if(2&t){const e=k().$implicit;Bt("ant-picker-time-panel-cell-selected",k(2).isSelectedHour(e))("ant-picker-time-panel-cell-disabled",e.disabled),z(2),ln(N3(3,5,e.index,"2.0-0"))}}function s4e(t,n){if(1&t&&lt(0,a4e,4,8,"li",9),2&t){const e=n.$implicit;ct(k(2).nzHideDisabledOptions&&e.disabled?-1:0)}}function l4e(t,n){if(1&t&&(J(0,"ul",6,0),Ti(2,s4e,1,1,null,null,Ic),te()),2&t){const e=k();z(2),Di(e.hourRange)}}function c4e(t,n){if(1&t){const e=tt();J(0,"li",10),Ne("click",function(){ce(e);const r=k().$implicit;return ue(k(2).selectMinute(r))}),J(1,"div",11),Pe(2),uo(3,"number"),te()()}if(2&t){const e=k().$implicit;Bt("ant-picker-time-panel-cell-selected",k(2).isSelectedMinute(e))("ant-picker-time-panel-cell-disabled",e.disabled),z(2),ln(N3(3,5,e.index,"2.0-0"))}}function u4e(t,n){if(1&t&&lt(0,c4e,4,8,"li",9),2&t){const e=n.$implicit;ct(k(2).nzHideDisabledOptions&&e.disabled?-1:0)}}function d4e(t,n){if(1&t&&(J(0,"ul",6,1),Ti(2,u4e,1,1,null,null,Ic),te()),2&t){const e=k();z(2),Di(e.minuteRange)}}function h4e(t,n){if(1&t){const e=tt();J(0,"li",10),Ne("click",function(){ce(e);const r=k().$implicit;return ue(k(2).selectSecond(r))}),J(1,"div",11),Pe(2),uo(3,"number"),te()()}if(2&t){const e=k().$implicit;Bt("ant-picker-time-panel-cell-selected",k(2).isSelectedSecond(e))("ant-picker-time-panel-cell-disabled",e.disabled),z(2),ln(N3(3,5,e.index,"2.0-0"))}}function f4e(t,n){if(1&t&&lt(0,h4e,4,8,"li",9),2&t){const e=n.$implicit;ct(k(2).nzHideDisabledOptions&&e.disabled?-1:0)}}function m4e(t,n){if(1&t&&(J(0,"ul",6,2),Ti(2,f4e,1,1,null,null,Ic),te()),2&t){const e=k();z(2),Di(e.secondRange)}}function p4e(t,n){if(1&t){const e=tt();J(0,"li",10),Ne("click",function(){const r=ce(e).$implicit;return ue(k(2).select12Hours(r))}),J(1,"div",11),Pe(2),te()()}if(2&t){const e=n.$implicit;Bt("ant-picker-time-panel-cell-selected",k(2).isSelected12Hours(e)),z(2),ln(e.value)}}function g4e(t,n){if(1&t&&(J(0,"ul",6,3),Ti(2,p4e,3,3,"li",12,x1),te()),2&t){const e=k();z(2),Di(e.use12HoursRange)}}function v4e(t,n){}function _4e(t,n){if(1&t&&(J(0,"div",13),ve(1,v4e,0,0,"ng-template",19),te()),2&t){const e=k(2);z(),N("ngTemplateOutlet",e.nzAddOn)}}function y4e(t,n){if(1&t){const e=tt();J(0,"div",7),lt(1,_4e,2,1,"div",13),J(2,"ul",14)(3,"li",15)(4,"a",16),Ne("click",function(){return ce(e),ue(k().onClickNow())}),Pe(5),uo(6,"nzI18n"),te()(),J(7,"li",17)(8,"button",18),Ne("click",function(){return ce(e),ue(k().onClickOk())}),Pe(9),uo(10,"nzI18n"),te()()()()}if(2&t){const e=k();z(),ct(e.nzAddOn?1:-1),z(4),zt(" ",e.nzNowText||jo(6,3,"Calendar.lang.now")," "),z(4),zt(" ",e.nzOkText||jo(10,5,"Calendar.lang.ok")," ")}}const b4e=["inputElement"];function C4e(t,n){if(1&t&&(Ge(0),He(1,"nz-icon",8),Ye()),2&t){const e=n.$implicit;z(),N("nzType",e)}}function w4e(t,n){1&t&&He(0,"nz-form-item-feedback-icon",5),2&t&&N("status",k().status)}function S4e(t,n){if(1&t){const e=tt();J(0,"span",9),Ne("click",function(r){return ce(e),ue(k().onClickClearBtn(r))}),He(1,"nz-icon",10),te()}if(2&t){const e=k();z(),gt("aria-label",e.nzClearText)("title",e.nzClearText)}}function M4e(t,n){if(1&t){const e=tt();J(0,"div",11)(1,"div",12)(2,"div",13)(3,"nz-time-picker-panel",14),uo(4,"async"),Ui("ngModelChange",function(r){ce(e);const o=k();return Ji(o.value,r)||(o.value=r),ue(r)}),Ne("ngModelChange",function(r){return ce(e),ue(k().onPanelValueChange(r))})("closePanel",function(){return ce(e),ue(k().closePanel())}),te()()()()}if(2&t){const e=k();N("@slideMotion","enter"),z(3),Oe(e.nzPopupClassName),N("format",e.nzFormat)("nzHourStep",e.nzHourStep)("nzMinuteStep",e.nzMinuteStep)("nzSecondStep",e.nzSecondStep)("nzDisabledHours",e.nzDisabledHours)("nzDisabledMinutes",e.nzDisabledMinutes)("nzDisabledSeconds",e.nzDisabledSeconds)("nzPlaceHolder",e.nzPlaceHolder||jo(4,20,e.i18nPlaceHolder$))("nzHideDisabledOptions",e.nzHideDisabledOptions)("nzUse12Hours",e.nzUse12Hours)("nzDefaultOpenValue",e.nzDefaultOpenValue)("nzAddOn",e.nzAddOn)("nzClearText",e.nzClearText)("nzNowText",e.nzNowText)("nzOkText",e.nzOkText)("nzAllowEmpty",e.nzAllowEmpty),Vi("ngModel",e.value)}}class T4e{selected12Hours=void 0;_value;_use12Hours=!1;_defaultOpenValue;_changes=new it;setMinutes(n,e){return e||(this.initValue(),this.value.setMinutes(n),this.update()),this}setHours(n,e){return e||(this.initValue(),this.value.setHours(this._use12Hours?"PM"===this.selected12Hours&&12!==n?n+12:"AM"===this.selected12Hours&&12===n?0:n:n),this.update()),this}setSeconds(n,e){return e||(this.initValue(),this.value.setSeconds(n),this.update()),this}setUse12Hours(n){return this._use12Hours=n,this}get changes(){return this._changes.asObservable()}setValue(n,e){return Yr(e)&&(this._use12Hours=e),n!==this.value&&(this._value=n,Yr(this.value)?this._use12Hours&&Yr(this.hours)&&(this.selected12Hours=this.hours>=12?"PM":"AM"):this._clear()),this}initValue(){kL(this.value)&&this.setValue(new Date,this._use12Hours)}clear(){this._clear(),this.update()}get isEmpty(){return!(Yr(this.hours)||Yr(this.minutes)||Yr(this.seconds))}_clear(){this._value=void 0,this.selected12Hours=void 0}update(){this.isEmpty?this._value=void 0:(Yr(this.hours)&&this.value.setHours(this.hours),Yr(this.minutes)&&this.value.setMinutes(this.minutes),Yr(this.seconds)&&this.value.setSeconds(this.seconds),this._use12Hours&&("PM"===this.selected12Hours&&this.hours<12&&this.value.setHours(this.hours+12),"AM"===this.selected12Hours&&this.hours>=12&&this.value.setHours(this.hours-12))),this.changed()}changed(){this._changes.next(this.value)}get viewHours(){return this._use12Hours&&Yr(this.hours)?this.calculateViewHour(this.hours):this.hours}setSelected12Hours(n){n.toUpperCase()!==this.selected12Hours&&(this.selected12Hours=n.toUpperCase(),this.update())}get value(){return this._value||this._defaultOpenValue}get hours(){return this.value?.getHours()}get minutes(){return this.value?.getMinutes()}get seconds(){return this.value?.getSeconds()}setDefaultOpenValue(n){return this._defaultOpenValue=n,this}calculateViewHour(n){const e=this.selected12Hours;return"PM"===e&&n>12?n-12:"AM"===e&&0===n?12:n}}function P_(t,n=1,e=0){return new Array(Math.ceil(t/n)).fill(0).map((i,r)=>(r+e)*n)}let N_=(()=>{class t{dateHelper=U(Es);ngZone=U($t);cdr=U(Cr);elementRef=U(un);destroyRef=U(In);_nzHourStep=1;_nzMinuteStep=1;_nzSecondStep=1;onChange;onTouch;_format="HH:mm:ss";_disabledHours=()=>[];_disabledMinutes=()=>[];_disabledSeconds=()=>[];_allowEmpty=!0;time=new T4e;hourEnabled=!0;minuteEnabled=!0;secondEnabled=!0;firstScrolled=!1;enabledColumns=3;hourRange;minuteRange;secondRange;use12HoursRange;hourListElement;minuteListElement;secondListElement;use12HoursListElement;nzInDatePicker=!1;nzAddOn;nzHideDisabledOptions=!1;nzClearText;nzNowText;nzOkText;nzPlaceHolder;nzUse12Hours=!1;nzDefaultOpenValue;closePanel=new dt;set nzAllowEmpty(e){this._allowEmpty=e}get nzAllowEmpty(){return this._allowEmpty}set nzDisabledHours(e){this._disabledHours=e,this._disabledHours&&this.buildHours()}get nzDisabledHours(){return this._disabledHours}set nzDisabledMinutes(e){Yr(e)&&(this._disabledMinutes=e,this.buildMinutes())}get nzDisabledMinutes(){return this._disabledMinutes}set nzDisabledSeconds(e){Yr(e)&&(this._disabledSeconds=e,this.buildSeconds())}get nzDisabledSeconds(){return this._disabledSeconds}set format(e){if(Yr(e)){this._format=e,this.enabledColumns=0;const i=new Set(e);this.hourEnabled=i.has("H")||i.has("h"),this.minuteEnabled=i.has("m"),this.secondEnabled=i.has("s"),this.hourEnabled&&this.enabledColumns++,this.minuteEnabled&&this.enabledColumns++,this.secondEnabled&&this.enabledColumns++,this.nzUse12Hours&&this.build12Hours()}}get format(){return this._format}set nzHourStep(e){this._nzHourStep=e||1,this.buildHours()}get nzHourStep(){return this._nzHourStep}set nzMinuteStep(e){this._nzMinuteStep=e||1,this.buildMinutes()}get nzMinuteStep(){return this._nzMinuteStep}set nzSecondStep(e){this._nzSecondStep=e||1,this.buildSeconds()}get nzSecondStep(){return this._nzSecondStep}buildHours(){let e=24,i=this.nzDisabledHours?.(),r=0;if(this.nzUse12Hours&&(e=12,i&&(i="PM"===this.time.selected12Hours?i.filter(o=>o>=12).map(o=>o>12?o-12:o):i.filter(o=>o<12||24===o).map(o=>24===o||0===o?12:o)),r=1),this.hourRange=P_(e,this.nzHourStep,r).map(o=>({index:o,disabled:!!i&&-1!==i.indexOf(o)})),this.nzUse12Hours&&12===this.hourRange[this.hourRange.length-1].index){const o=[...this.hourRange];o.unshift(o[o.length-1]),o.splice(o.length-1,1),this.hourRange=o}}buildMinutes(){this.minuteRange=P_(60,this.nzMinuteStep).map(e=>({index:e,disabled:!!this.nzDisabledMinutes&&-1!==this.nzDisabledMinutes(this.time.hours).indexOf(e)}))}buildSeconds(){this.secondRange=P_(60,this.nzSecondStep).map(e=>({index:e,disabled:!!this.nzDisabledSeconds&&-1!==this.nzDisabledSeconds(this.time.hours,this.time.minutes).indexOf(e)}))}build12Hours(){const e=this._format.includes("A");this.use12HoursRange=[{index:0,value:e?"AM":"am"},{index:1,value:e?"PM":"pm"}]}buildTimes(){this.buildHours(),this.buildMinutes(),this.buildSeconds(),this.build12Hours()}scrollToTime(e=0){this.hourEnabled&&this.hourListElement&&this.scrollToSelected(this.hourListElement.nativeElement,this.time.viewHours,e,"hour"),this.minuteEnabled&&this.minuteListElement&&this.scrollToSelected(this.minuteListElement.nativeElement,this.time.minutes,e,"minute"),this.secondEnabled&&this.secondListElement&&this.scrollToSelected(this.secondListElement.nativeElement,this.time.seconds,e,"second"),this.nzUse12Hours&&this.use12HoursListElement&&this.scrollToSelected(this.use12HoursListElement.nativeElement,"AM"===this.time.selected12Hours?0:1,e,"12-hour")}selectHour(e){this.time.setHours(e.index,e.disabled),this._disabledMinutes&&this.buildMinutes(),(this._disabledSeconds||this._disabledMinutes)&&this.buildSeconds()}selectMinute(e){this.time.setMinutes(e.index,e.disabled),this._disabledSeconds&&this.buildSeconds()}selectSecond(e){this.time.setSeconds(e.index,e.disabled)}select12Hours(e){this.time.setSelected12Hours(e.value),this._disabledHours&&this.buildHours(),this._disabledMinutes&&this.buildMinutes(),this._disabledSeconds&&this.buildSeconds()}scrollToSelected(e,i,r=0,o){if(!e)return;const a=this.translateIndex(i,o);this.scrollTo(e,(e.children[a]||e.children[0]).offsetTop,r)}translateIndex(e,i){return"hour"===i?this.calcIndex(this.nzDisabledHours?.(),this.hourRange.map(r=>r.index).indexOf(e)):"minute"===i?this.calcIndex(this.nzDisabledMinutes?.(this.time.hours),this.minuteRange.map(r=>r.index).indexOf(e)):"second"===i?this.calcIndex(this.nzDisabledSeconds?.(this.time.hours,this.time.minutes),this.secondRange.map(r=>r.index).indexOf(e)):this.calcIndex([],this.use12HoursRange.map(r=>r.index).indexOf(e))}scrollTo(e,i,r){if(r<=0)return void(e.scrollTop=i);const a=(i-e.scrollTop)/r*10;this.ngZone.runOutsideAngular(()=>{G8(()=>{e.scrollTop=e.scrollTop+a,e.scrollTop!==i&&this.scrollTo(e,i,r-10)})})}calcIndex(e,i){return e?.length&&this.nzHideDisabledOptions?i-e.reduce((r,o)=>r+(o<i?1:0),0):i}changed(){this.onChange&&this.onChange(this.time.value)}touched(){this.onTouch&&this.onTouch()}timeDisabled(e){const i=e.getHours(),r=e.getMinutes(),o=e.getSeconds();return(this.nzDisabledHours?.().indexOf(i)??-1)>-1||(this.nzDisabledMinutes?.(i).indexOf(r)??-1)>-1||(this.nzDisabledSeconds?.(i,r).indexOf(o)??-1)>-1}onClickNow(){const e=new Date;this.timeDisabled(e)||(this.time.setValue(e),this.changed(),this.closePanel.emit())}onClickOk(){this.time.setValue(this.time.value,this.nzUse12Hours),this.changed(),this.closePanel.emit()}isSelectedHour(e){return e.index===this.time.viewHours}isSelectedMinute(e){return e.index===this.time.minutes}isSelectedSecond(e){return e.index===this.time.seconds}isSelected12Hours(e){return e.value.toUpperCase()===this.time.selected12Hours}ngOnInit(){this.time.changes.pipe(mt(this.destroyRef)).subscribe(()=>{this.changed(),this.touched(),this.scrollToTime(120)}),this.buildTimes(),this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.scrollToTime(),this.firstScrolled=!0})}),ks(this.elementRef.nativeElement,"mousedown").pipe(mt(this.destroyRef)).subscribe(e=>{e.preventDefault()})}ngOnChanges(e){const{nzUse12Hours:i,nzDefaultOpenValue:r}=e;!i?.previousValue&&i?.currentValue&&(this.build12Hours(),this.enabledColumns++),r?.currentValue&&this.time.setDefaultOpenValue(this.nzDefaultOpenValue||new Date)}writeValue(e){this.time.setValue(e,this.nzUse12Hours),this.buildTimes(),e&&this.firstScrolled&&this.scrollToTime(120),this.cdr.markForCheck()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouch=e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["nz-time-picker-panel"]],viewQuery:function(i,r){if(1&i&&(Ai(t4e,5),Ai(n4e,5),Ai(i4e,5),Ai(r4e,5)),2&i){let o;zn(o=An())&&(r.hourListElement=o.first),zn(o=An())&&(r.minuteListElement=o.first),zn(o=An())&&(r.secondListElement=o.first),zn(o=An())&&(r.use12HoursListElement=o.first)}},hostAttrs:[1,"ant-picker-time-panel"],hostVars:12,hostBindings:function(i,r){2&i&&Bt("ant-picker-time-panel-column-0",0===r.enabledColumns&&!r.nzInDatePicker)("ant-picker-time-panel-column-1",1===r.enabledColumns&&!r.nzInDatePicker)("ant-picker-time-panel-column-2",2===r.enabledColumns&&!r.nzInDatePicker)("ant-picker-time-panel-column-3",3===r.enabledColumns&&!r.nzInDatePicker)("ant-picker-time-panel-narrow",r.enabledColumns<3)("ant-picker-time-panel-placement-bottomLeft",!r.nzInDatePicker)},inputs:{nzInDatePicker:[2,"nzInDatePicker","nzInDatePicker",Qe],nzAddOn:"nzAddOn",nzHideDisabledOptions:"nzHideDisabledOptions",nzClearText:"nzClearText",nzNowText:"nzNowText",nzOkText:"nzOkText",nzPlaceHolder:"nzPlaceHolder",nzUse12Hours:[2,"nzUse12Hours","nzUse12Hours",Qe],nzDefaultOpenValue:"nzDefaultOpenValue",nzAllowEmpty:[2,"nzAllowEmpty","nzAllowEmpty",Qe],nzDisabledHours:"nzDisabledHours",nzDisabledMinutes:"nzDisabledMinutes",nzDisabledSeconds:"nzDisabledSeconds",format:"format",nzHourStep:[2,"nzHourStep","nzHourStep",yh],nzMinuteStep:[2,"nzMinuteStep","nzMinuteStep",yh],nzSecondStep:[2,"nzSecondStep","nzSecondStep",yh]},outputs:{closePanel:"closePanel"},exportAs:["nzTimePickerPanel"],features:[jn([{provide:Wo,useExisting:Bn(()=>t),multi:!0}]),vn],decls:7,vars:6,consts:[["hourListElement",""],["minuteListElement",""],["secondListElement",""],["use12HoursListElement",""],[1,"ant-picker-header"],[1,"ant-picker-content"],[1,"ant-picker-time-panel-column",2,"position","relative"],[1,"ant-picker-footer"],[1,"ant-picker-header-view"],[1,"ant-picker-time-panel-cell",3,"ant-picker-time-panel-cell-selected","ant-picker-time-panel-cell-disabled"],[1,"ant-picker-time-panel-cell",3,"click"],[1,"ant-picker-time-panel-cell-inner"],[1,"ant-picker-time-panel-cell",3,"ant-picker-time-panel-cell-selected"],[1,"ant-picker-footer-extra"],[1,"ant-picker-ranges"],[1,"ant-picker-now"],[3,"click"],[1,"ant-picker-ok"],["nz-button","","type","button","nzSize","small","nzType","primary",3,"click"],[3,"ngTemplateOutlet"]],template:function(i,r){1&i&&(lt(0,o4e,3,1,"div",4),J(1,"div",5),lt(2,l4e,4,0,"ul",6),lt(3,d4e,4,0,"ul",6),lt(4,m4e,4,0,"ul",6),lt(5,g4e,4,0,"ul",6),te(),lt(6,y4e,11,7,"div",7)),2&i&&(ct(r.nzInDatePicker?0:-1),z(2),ct(r.hourEnabled?2:-1),z(),ct(r.minuteEnabled?3:-1),z(),ct(r.secondEnabled?4:-1),z(),ct(r.nzUse12Hours?5:-1),z(),ct(r.nzInDatePicker?-1:6))},dependencies:[_l,D1e,JO,T_,KO,M_,uE,T1e],encapsulation:2,changeDetection:0})}return t})(),wP=(()=>{let t,i,a,c,L,B,ae,St,Ln,go,ls,Lt,jr,n=[],e=[],r=[],o=[],s=[],l=[],h=[],g=[],y=[],x=[],ee=[],re=[],Xe=[],ot=[],qt=[],wn=[],yn=[],ui=[],gr=[],va=[],ar=[],st=[],Jt=[],Kn=[],_a=[],ao=[];return class Cm{static{const je="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;t=[Mr()],i=[Mr()],a=[Mr()],c=[Mr()],L=[Mr()],B=[Mr()],ae=[Mr()],St=[Mr()],Ln=[Mr()],go=[Mr()],ls=[Mr()],Lt=[Mr()],jr=[Mr()],mr(null,null,t,{kind:"field",name:"nzVariant",static:!1,private:!1,access:{has:Re=>"nzVariant"in Re,get:Re=>Re.nzVariant,set:(Re,ut)=>{Re.nzVariant=ut}},metadata:je},n,e),mr(null,null,i,{kind:"field",name:"nzHourStep",static:!1,private:!1,access:{has:Re=>"nzHourStep"in Re,get:Re=>Re.nzHourStep,set:(Re,ut)=>{Re.nzHourStep=ut}},metadata:je},r,o),mr(null,null,a,{kind:"field",name:"nzMinuteStep",static:!1,private:!1,access:{has:Re=>"nzMinuteStep"in Re,get:Re=>Re.nzMinuteStep,set:(Re,ut)=>{Re.nzMinuteStep=ut}},metadata:je},s,l),mr(null,null,c,{kind:"field",name:"nzSecondStep",static:!1,private:!1,access:{has:Re=>"nzSecondStep"in Re,get:Re=>Re.nzSecondStep,set:(Re,ut)=>{Re.nzSecondStep=ut}},metadata:je},h,g),mr(null,null,L,{kind:"field",name:"nzClearText",static:!1,private:!1,access:{has:Re=>"nzClearText"in Re,get:Re=>Re.nzClearText,set:(Re,ut)=>{Re.nzClearText=ut}},metadata:je},y,x),mr(null,null,B,{kind:"field",name:"nzNowText",static:!1,private:!1,access:{has:Re=>"nzNowText"in Re,get:Re=>Re.nzNowText,set:(Re,ut)=>{Re.nzNowText=ut}},metadata:je},ee,re),mr(null,null,ae,{kind:"field",name:"nzOkText",static:!1,private:!1,access:{has:Re=>"nzOkText"in Re,get:Re=>Re.nzOkText,set:(Re,ut)=>{Re.nzOkText=ut}},metadata:je},Xe,ot),mr(null,null,St,{kind:"field",name:"nzPopupClassName",static:!1,private:!1,access:{has:Re=>"nzPopupClassName"in Re,get:Re=>Re.nzPopupClassName,set:(Re,ut)=>{Re.nzPopupClassName=ut}},metadata:je},qt,wn),mr(null,null,Ln,{kind:"field",name:"nzFormat",static:!1,private:!1,access:{has:Re=>"nzFormat"in Re,get:Re=>Re.nzFormat,set:(Re,ut)=>{Re.nzFormat=ut}},metadata:je},yn,ui),mr(null,null,go,{kind:"field",name:"nzUse12Hours",static:!1,private:!1,access:{has:Re=>"nzUse12Hours"in Re,get:Re=>Re.nzUse12Hours,set:(Re,ut)=>{Re.nzUse12Hours=ut}},metadata:je},gr,va),mr(null,null,ls,{kind:"field",name:"nzSuffixIcon",static:!1,private:!1,access:{has:Re=>"nzSuffixIcon"in Re,get:Re=>Re.nzSuffixIcon,set:(Re,ut)=>{Re.nzSuffixIcon=ut}},metadata:je},ar,st),mr(null,null,Lt,{kind:"field",name:"nzAllowEmpty",static:!1,private:!1,access:{has:Re=>"nzAllowEmpty"in Re,get:Re=>Re.nzAllowEmpty,set:(Re,ut)=>{Re.nzAllowEmpty=ut}},metadata:je},Jt,Kn),mr(null,null,jr,{kind:"field",name:"nzBackdrop",static:!1,private:!1,access:{has:Re=>"nzBackdrop"in Re,get:Re=>Re.nzBackdrop,set:(Re,ut)=>{Re.nzBackdrop=ut}},metadata:je},_a,ao),je&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:je})}_nzModuleName="timePicker";nzConfigService=U(Ml);i18n=U(Dd);elementRef=U(un);renderer=U(to);cdr=U(Cr);dateHelper=U(Es);platform=U(Aa);directionality=U(oo);destroyRef=U(In);_onChange;_onTouched;isNzDisableFirstChange=!0;isInit=!1;focused=!1;inputValue="";value=null;preValue=null;inputSize;i18nPlaceHolder$=Wt(void 0);overlayPositions=[{offsetY:3,originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{offsetY:-3,originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{offsetY:3,originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{offsetY:-3,originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}];dir="ltr";prefixCls="ant-picker";statusCls={};status="";hasFeedback=!1;get origin(){return this.elementRef}inputRef;nzId=null;nzSize="default";nzStatus="";nzVariant=rn(this,n,"outlined");nzHourStep=(rn(this,e),rn(this,r,1));nzMinuteStep=(rn(this,o),rn(this,s,1));nzSecondStep=(rn(this,l),rn(this,h,1));nzClearText=(rn(this,g),rn(this,y,"clear"));nzNowText=(rn(this,x),rn(this,ee,""));nzOkText=(rn(this,re),rn(this,Xe,""));nzPopupClassName=(rn(this,ot),rn(this,qt,""));nzPlaceHolder=(rn(this,wn),"");nzAddOn;nzDefaultOpenValue;nzDisabledHours;nzDisabledMinutes;nzDisabledSeconds;nzFormat=rn(this,yn,"HH:mm:ss");nzOpen=(rn(this,ui),!1);nzUse12Hours=rn(this,gr,!1);nzSuffixIcon=(rn(this,va),rn(this,ar,"clock-circle"));nzOpenChange=(rn(this,st),new dt);nzHideDisabledOptions=!1;nzAllowEmpty=rn(this,Jt,!0);nzDisabled=(rn(this,Kn),!1);nzAutoFocus=!1;nzBackdrop=rn(this,_a,!1);nzBorderless=(rn(this,ao),!1);nzInputReadOnly=!1;emitValue(je){this.setValue(je,!0),this._onChange&&this._onChange(this.value),this._onTouched&&this._onTouched()}setValue(je,Re=!1){Re&&(this.preValue=wd(je)?new Date(je):null),this.value=wd(je)?new Date(je):null,this.inputValue=this.dateHelper.format(je,this.nzFormat),this.cdr.markForCheck()}open(){this.nzDisabled||this.nzOpen||(this.focus(),this.nzOpen=!0,this.nzOpenChange.emit(this.nzOpen))}close(){this.nzOpen=!1,this.cdr.markForCheck(),this.nzOpenChange.emit(this.nzOpen)}updateAutoFocus(){this.isInit&&!this.nzDisabled&&(this.nzAutoFocus?this.renderer.setAttribute(this.inputRef.nativeElement,"autofocus","autofocus"):this.renderer.removeAttribute(this.inputRef.nativeElement,"autofocus"))}onClickClearBtn(je){je.stopPropagation(),this.emitValue(null)}onClickOutside(je){const Re=Zl(je);this.elementRef.nativeElement.contains(Re)||this.setCurrentValueAndClose()}onFocus(je){this.focused=je,je||(this.checkTimeValid(this.value)?this.setCurrentValueAndClose():(this.setValue(this.preValue),this.close()))}focus(){this.inputRef.nativeElement&&this.inputRef.nativeElement.focus()}blur(){this.inputRef.nativeElement&&this.inputRef.nativeElement.blur()}onKeyupEsc(){this.setValue(this.preValue)}onKeyupEnter(){this.nzOpen&&wd(this.value)?this.setCurrentValueAndClose():this.nzOpen||this.open()}onInputChange(je){!this.platform.TRIDENT&&document.activeElement===this.inputRef.nativeElement&&(this.open(),this.parseTimeString(je))}onPanelValueChange(je){this.setValue(je),this.focus()}closePanel(){this.inputRef.nativeElement.blur()}setCurrentValueAndClose(){this.emitValue(this.value),this.close()}finalSize=Co(()=>this.compactSize?this.compactSize():this.size());size=Jr(this.nzSize);compactSize=U(N8,{optional:!0});nzFormStatusService=U(P8,{optional:!0});nzFormNoStatusService=U(VO,{optional:!0});ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe(Vu((je,Re)=>je.status===Re.status&&je.hasFeedback===Re.hasFeedback),_P(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:Wt(!1)),jt(([{status:je,hasFeedback:Re},ut])=>({status:ut?"":je,hasFeedback:Re})),mt(this.destroyRef)).subscribe(({status:je,hasFeedback:Re})=>{this.setStatusStyles(je,Re)}),this.inputSize=Math.max(8,this.nzFormat.length)+2,this.i18nPlaceHolder$=this.i18n.localeChange.pipe(jt(je=>je.TimePicker.placeholder)),this.dir=this.directionality.value,this.directionality.change?.pipe(mt(this.destroyRef)).subscribe(je=>{this.dir=je})}ngOnChanges({nzUse12Hours:je,nzFormat:Re,nzDisabled:ut,nzAutoFocus:Qn,nzStatus:oi,nzSize:hn}){if(je&&!je.previousValue&&je.currentValue&&!Re&&(this.nzFormat="h:mm:ss a"),ut){const El=this.inputRef.nativeElement;ut.currentValue?this.renderer.setAttribute(El,"disabled",""):this.renderer.removeAttribute(El,"disabled")}Qn&&this.updateAutoFocus(),oi&&this.setStatusStyles(this.nzStatus,this.hasFeedback),hn&&this.size.set(hn.currentValue)}parseTimeString(je){const Re=this.dateHelper.parseTime(je,this.nzFormat)||null;wd(Re)&&(this.value=Re,this.cdr.markForCheck())}ngAfterViewInit(){this.isInit=!0,this.updateAutoFocus()}writeValue(je){let Re;Re=je instanceof Date?je:kL(je)?null:new Date(je),this.setValue(Re,!0)}registerOnChange(je){this._onChange=je}registerOnTouched(je){this._onTouched=je}setDisabledState(je){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||je,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}checkTimeValid(je){if(!je)return!0;const Re=this.nzDisabledHours?.(),ut=this.nzDisabledMinutes?.(je.getHours()),Qn=this.nzDisabledSeconds?.(je.getHours(),je.getMinutes());return!(Re?.includes(je.getHours())||ut?.includes(je.getMinutes())||Qn?.includes(je.getSeconds()))}setStatusStyles(je,Re){this.status=je,this.hasFeedback=Re,this.cdr.markForCheck(),this.statusCls=RL(this.prefixCls,je,Re),Object.keys(this.statusCls).forEach(ut=>{this.statusCls[ut]?this.renderer.addClass(this.elementRef.nativeElement,ut):this.renderer.removeClass(this.elementRef.nativeElement,ut)})}static \u0275fac=function(Re){return new(Re||Cm)};static \u0275cmp=bt({type:Cm,selectors:[["nz-time-picker"]],viewQuery:function(Re,ut){if(1&Re&&Ai(b4e,7),2&Re){let Qn;zn(Qn=An())&&(ut.inputRef=Qn.first)}},hostAttrs:[1,"ant-picker"],hostVars:16,hostBindings:function(Re,ut){1&Re&&Ne("click",function(){return ut.open()}),2&Re&&Bt("ant-picker-large","large"===ut.finalSize())("ant-picker-small","small"===ut.finalSize())("ant-picker-disabled",ut.nzDisabled)("ant-picker-focused",ut.focused)("ant-picker-rtl","rtl"===ut.dir)("ant-picker-borderless","borderless"===ut.nzVariant||"outlined"===ut.nzVariant&&ut.nzBorderless)("ant-picker-filled","filled"===ut.nzVariant)("ant-picker-underlined","underlined"===ut.nzVariant)},inputs:{nzId:"nzId",nzSize:"nzSize",nzStatus:"nzStatus",nzVariant:"nzVariant",nzHourStep:"nzHourStep",nzMinuteStep:"nzMinuteStep",nzSecondStep:"nzSecondStep",nzClearText:"nzClearText",nzNowText:"nzNowText",nzOkText:"nzOkText",nzPopupClassName:"nzPopupClassName",nzPlaceHolder:"nzPlaceHolder",nzAddOn:"nzAddOn",nzDefaultOpenValue:"nzDefaultOpenValue",nzDisabledHours:"nzDisabledHours",nzDisabledMinutes:"nzDisabledMinutes",nzDisabledSeconds:"nzDisabledSeconds",nzFormat:"nzFormat",nzOpen:"nzOpen",nzUse12Hours:[2,"nzUse12Hours","nzUse12Hours",Qe],nzSuffixIcon:"nzSuffixIcon",nzHideDisabledOptions:[2,"nzHideDisabledOptions","nzHideDisabledOptions",Qe],nzAllowEmpty:[2,"nzAllowEmpty","nzAllowEmpty",Qe],nzDisabled:[2,"nzDisabled","nzDisabled",Qe],nzAutoFocus:[2,"nzAutoFocus","nzAutoFocus",Qe],nzBackdrop:"nzBackdrop",nzBorderless:[2,"nzBorderless","nzBorderless",Qe],nzInputReadOnly:[2,"nzInputReadOnly","nzInputReadOnly",Qe]},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzTimePicker"],features:[jn([{provide:Wo,useExisting:Bn(()=>Cm),multi:!0},{provide:R8,useValue:"picker"}]),s3([w_]),vn],decls:9,vars:16,consts:[["inputElement",""],[1,"ant-picker-input"],["type","text","autocomplete","off",3,"ngModelChange","focus","blur","keyup.enter","keyup.escape","size","placeholder","ngModel","disabled","readOnly"],[1,"ant-picker-suffix"],[4,"nzStringTemplateOutlet"],[3,"status"],[1,"ant-picker-clear"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"detach","overlayOutsideClick","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn"],[3,"nzType"],[1,"ant-picker-clear",3,"click"],["nzType","close-circle","nzTheme","fill"],[1,"ant-picker-dropdown",2,"position","relative"],[1,"ant-picker-panel-container"],["tabindex","-1",1,"ant-picker-panel"],[3,"ngModelChange","closePanel","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzPlaceHolder","nzHideDisabledOptions","nzUse12Hours","nzDefaultOpenValue","nzAddOn","nzClearText","nzNowText","nzOkText","nzAllowEmpty","ngModel"]],template:function(Re,ut){if(1&Re){const Qn=tt();J(0,"div",1)(1,"input",2,0),uo(3,"async"),Ui("ngModelChange",function(hn){return ce(Qn),Ji(ut.inputValue,hn)||(ut.inputValue=hn),ue(hn)}),Ne("focus",function(){return ce(Qn),ue(ut.onFocus(!0))})("blur",function(){return ce(Qn),ue(ut.onFocus(!1))})("keyup.enter",function(){return ce(Qn),ue(ut.onKeyupEnter())})("keyup.escape",function(){return ce(Qn),ue(ut.onKeyupEsc())})("ngModelChange",function(hn){return ce(Qn),ue(ut.onInputChange(hn))}),te(),J(4,"span",3),ve(5,C4e,2,1,"ng-container",4),lt(6,w4e,1,1,"nz-form-item-feedback-icon",5),te(),lt(7,S4e,2,2,"span",6),te(),ve(8,M4e,5,22,"ng-template",7),Ne("detach",function(){return ce(Qn),ue(ut.close())})("overlayOutsideClick",function(hn){return ce(Qn),ue(ut.onClickOutside(hn))})}2&Re&&(z(),N("size",ut.inputSize)("placeholder",ut.nzPlaceHolder||jo(3,14,ut.i18nPlaceHolder$)),Vi("ngModel",ut.inputValue),N("disabled",ut.nzDisabled)("readOnly",ut.nzInputReadOnly),gt("id",ut.nzId),z(4),N("nzStringTemplateOutlet",ut.nzSuffixIcon),z(),ct(ut.hasFeedback&&ut.status?6:-1),z(),ct(ut.nzAllowEmpty&&!ut.nzDisabled&&ut.value?7:-1),z(),N("cdkConnectedOverlayHasBackdrop",ut.nzBackdrop)("cdkConnectedOverlayPositions",ut.overlayPositions)("cdkConnectedOverlayOrigin",ut.origin)("cdkConnectedOverlayOpen",ut.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-picker-dropdown"))},dependencies:[Nh,bl,ja,za,Tl,Qo,ec,La,UO,N_,W8,$8,q8,e0,sE],encapsulation:2,data:{animation:[Y8]},changeDetection:0})}})(),SP=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({imports:[wP,N_]})}return t})();function x4e(t,n){1&t&&Pe(0),2&t&&ln(k(2).extraFooter)}function k4e(t,n){if(1&t&&(J(0,"div"),ve(1,x4e,1,1,"ng-template",2),te()),2&t){const e=k();Oe(pe("",e.prefixCls,"-footer-extra")),z(),N("nzStringTemplateOutlet",e.extraFooter)}}function E4e(t,n){if(1&t){const e=tt();J(0,"a",3),Ne("click",function(){ce(e);const r=k();return ue(r.isTodayDisabled?null:r.onClickToday())}),Pe(1),te()}if(2&t){const e=k();Oe($l("",e.prefixCls,"-today-btn ",e.isTodayDisabled?e.prefixCls+"-today-btn-disabled":"")),N("title",Mt(e.todayTitle)),z(),zt(" ",e.locale.today," ")}}function I4e(t,n){1&t&&Ua(0)}function z4e(t,n){if(1&t){const e=tt();J(0,"li")(1,"a",5),Ne("click",function(){ce(e);const r=k(2);return ue(r.isTodayDisabled?null:r.onClickToday())}),Pe(2),te()()}if(2&t){const e=k(2);Oe(pe("",e.prefixCls,"-now")),z(),Oe(pe("",e.prefixCls,"-now-btn")),z(),zt(" ",e.locale.now," ")}}function A4e(t,n){if(1&t){const e=tt();J(0,"li")(1,"button",6),Ne("click",function(){ce(e);const r=k(2);return ue(r.okDisabled?null:r.clickOk.emit())}),Pe(2),te()()}if(2&t){const e=k(2);Oe(pe("",e.prefixCls,"-ok")),z(),N("disabled",e.okDisabled),z(),zt(" ",e.locale.ok," ")}}function L4e(t,n){if(1&t&&(J(0,"ul"),ve(1,I4e,1,0,"ng-container",4),lt(2,z4e,3,7,"li",0),lt(3,A4e,3,5,"li",0),te()),2&t){const e=k();Oe(pe("",e.prefixCls,"-ranges")),z(),N("ngTemplateOutlet",e.rangeQuickSelector),z(),ct(e.showNow?2:-1),z(),ct(e.hasTimePicker?3:-1)}}function h4(t,n){return this.trackBySelector(n)}function O4e(t,n){if(1&t){const e=tt();ni(0,"button",6),hr("click",function(){return ue(ce(e).$implicit.onClick())}),Pe(1),ii()}if(2&t){const e=n.$implicit;Oe(e.className),Xi("title",Mt(e.title||null)),z(),zt(" ",e.label," ")}}const Wa=t=>({$implicit:t}),nc=(t,n)=>n.trackByIndex;function P4e(t,n){1&t&&He(0,"th",3)}function N4e(t,n){if(1&t&&(J(0,"th",4),Pe(1),te()),2&t){const e=n.$implicit;N("title",e.title),z(),zt(" ",e.content)}}function R4e(t,n){if(1&t&&(J(0,"thead")(1,"tr",2),lt(2,P4e,1,0,"th",3),Ti(3,N4e,2,2,"th",4,Ic),te()()),2&t){const e=k();z(2),ct(e.showWeek?2:-1),z(),Di(e.headRow)}}function F4e(t,n){if(1&t&&(J(0,"td",7),Pe(1),te()),2&t){const e=k().$implicit;Oe(pe("",k().prefixCls,"-cell-week")),z(),zt(" ",e.weekNum)}}function H4e(t,n){1&t&&Pe(0),2&t&&zt(" ",k(3).$implicit.cellRender," ")}function V4e(t,n){if(1&t&&ve(0,H4e,1,1,"ng-template",10),2&t){const e=k(2).$implicit;N("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Fr(2,Wa,e.value))}}function U4e(t,n){if(1&t&&(J(0,"div"),Pe(1),te()),2&t){const e=k(2).$implicit;Oe(pe("",k(2).prefixCls,"-cell-inner")),gt("aria-selected",e.isSelected)("aria-disabled",e.isDisabled),z(),zt(" ",e.content," ")}}function B4e(t,n){1&t&&lt(0,V4e,1,4,null,10)(1,U4e,2,6,"div",11),2&t&&ct(k().$implicit.cellRender?0:1)}function q4e(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k(3).$implicit;z(),zt(" ",e.fullCellRender," ")}}function Y4e(t,n){if(1&t&&ve(0,q4e,2,1,"ng-container",12),2&t){const e=k(2).$implicit;N("nzStringTemplateOutlet",e.fullCellRender)("nzStringTemplateOutletContext",Fr(2,Wa,e.value))}}function j4e(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k(3).$implicit;z(),zt(" ",e.cellRender," ")}}function $4e(t,n){if(1&t&&(J(0,"div"),Pe(1),te(),J(2,"div"),ve(3,j4e,2,1,"ng-container",12),te()),2&t){const e=k(2).$implicit,i=k(2);Oe(pe("",i.prefixCls,"-date-value")),z(),ln(e.content),z(),Oe(pe("",i.prefixCls,"-date-content")),z(),N("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Fr(9,Wa,e.value))}}function W4e(t,n){if(1&t&&(J(0,"div"),lt(1,Y4e,1,4,"ng-container")(2,$4e,4,11),te()),2&t){const e=k().$implicit;Oe(pe("",k(2).prefixCls,"-date ant-picker-cell-inner")),Bt("ant-picker-calendar-date-today",e.isToday),z(),ct(e.fullCellRender?1:2)}}function G4e(t,n){if(1&t){const e=tt();J(0,"td",8),Ne("click",function(){const r=ce(e).$implicit;return ue(r.isDisabled?null:r.onClick())})("mouseenter",function(){return ue(ce(e).$implicit.onMouseEnter())}),lt(1,B4e,2,1)(2,W4e,3,6,"div",9),te()}if(2&t){let e;const i=n.$implicit,r=k(2);Oe(i.classMap),N("title",i.title),z(),ct("ant-picker"===(e=r.prefixCls)?1:"ant-picker-calendar"===e?2:-1)}}function K4e(t,n){if(1&t&&(J(0,"tr",2),lt(1,F4e,2,4,"td",5),Ti(2,G4e,3,4,"td",6,nc),te()),2&t){const e=n.$implicit;Oe(e.classMap),z(),ct(e.weekNum?1:-1),z(),Di(e.dateCells)}}function Q4e(t,n){if(1&t){const e=tt();ni(0,"button",6),hr("click",function(){return ue(ce(e).$implicit.onClick())}),Pe(1),ii()}if(2&t){const e=n.$implicit;Oe(e.className),Xi("title",Mt(e.title||null)),z(),zt(" ",e.label," ")}}function X4e(t,n){1&t&&He(0,"th",3)}function Z4e(t,n){if(1&t&&(J(0,"th",4),Pe(1),te()),2&t){const e=n.$implicit;N("title",e.title),z(),zt(" ",e.content)}}function J4e(t,n){if(1&t&&(J(0,"thead")(1,"tr",2),lt(2,X4e,1,0,"th",3),Ti(3,Z4e,2,2,"th",4,Ic),te()()),2&t){const e=k();z(2),ct(e.showWeek?2:-1),z(),Di(e.headRow)}}function efe(t,n){if(1&t&&(J(0,"td",7),Pe(1),te()),2&t){const e=k().$implicit;Oe(pe("",k().prefixCls,"-cell-week")),z(),zt(" ",e.weekNum)}}function tfe(t,n){1&t&&Pe(0),2&t&&zt(" ",k(3).$implicit.cellRender," ")}function nfe(t,n){if(1&t&&ve(0,tfe,1,1,"ng-template",10),2&t){const e=k(2).$implicit;N("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Fr(2,Wa,e.value))}}function ife(t,n){if(1&t&&(J(0,"div"),Pe(1),te()),2&t){const e=k(2).$implicit;Oe(pe("",k(2).prefixCls,"-cell-inner")),gt("aria-selected",e.isSelected)("aria-disabled",e.isDisabled),z(),zt(" ",e.content," ")}}function rfe(t,n){1&t&&lt(0,nfe,1,4,null,10)(1,ife,2,6,"div",11),2&t&&ct(k().$implicit.cellRender?0:1)}function ofe(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k(3).$implicit;z(),zt(" ",e.fullCellRender," ")}}function afe(t,n){if(1&t&&ve(0,ofe,2,1,"ng-container",12),2&t){const e=k(2).$implicit;N("nzStringTemplateOutlet",e.fullCellRender)("nzStringTemplateOutletContext",Fr(2,Wa,e.value))}}function sfe(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k(3).$implicit;z(),zt(" ",e.cellRender," ")}}function lfe(t,n){if(1&t&&(J(0,"div"),Pe(1),te(),J(2,"div"),ve(3,sfe,2,1,"ng-container",12),te()),2&t){const e=k(2).$implicit,i=k(2);Oe(pe("",i.prefixCls,"-date-value")),z(),ln(e.content),z(),Oe(pe("",i.prefixCls,"-date-content")),z(),N("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Fr(9,Wa,e.value))}}function cfe(t,n){if(1&t&&(J(0,"div"),lt(1,afe,1,4,"ng-container")(2,lfe,4,11),te()),2&t){const e=k().$implicit;Oe(pe("",k(2).prefixCls,"-date ant-picker-cell-inner")),Bt("ant-picker-calendar-date-today",e.isToday),z(),ct(e.fullCellRender?1:2)}}function ufe(t,n){if(1&t){const e=tt();J(0,"td",8),Ne("click",function(){const r=ce(e).$implicit;return ue(r.isDisabled?null:r.onClick())})("mouseenter",function(){return ue(ce(e).$implicit.onMouseEnter())}),lt(1,rfe,2,1)(2,cfe,3,6,"div",9),te()}if(2&t){let e;const i=n.$implicit,r=k(2);Oe(i.classMap),N("title",i.title),z(),ct("ant-picker"===(e=r.prefixCls)?1:"ant-picker-calendar"===e?2:-1)}}function dfe(t,n){if(1&t&&(J(0,"tr",2),lt(1,efe,2,4,"td",5),Ti(2,ufe,3,4,"td",6,nc),te()),2&t){const e=n.$implicit;Oe(e.classMap),z(),ct(e.weekNum?1:-1),z(),Di(e.dateCells)}}function hfe(t,n){if(1&t){const e=tt();ni(0,"button",6),hr("click",function(){return ue(ce(e).$implicit.onClick())}),Pe(1),ii()}if(2&t){const e=n.$implicit;Oe(e.className),Xi("title",Mt(e.title||null)),z(),zt(" ",e.label," ")}}function ffe(t,n){1&t&&He(0,"th",3)}function mfe(t,n){if(1&t&&(J(0,"th",4),Pe(1),te()),2&t){const e=n.$implicit;N("title",e.title),z(),zt(" ",e.content)}}function pfe(t,n){if(1&t&&(J(0,"thead")(1,"tr",2),lt(2,ffe,1,0,"th",3),Ti(3,mfe,2,2,"th",4,Ic),te()()),2&t){const e=k();z(2),ct(e.showWeek?2:-1),z(),Di(e.headRow)}}function gfe(t,n){if(1&t&&(J(0,"td",7),Pe(1),te()),2&t){const e=k().$implicit;Oe(pe("",k().prefixCls,"-cell-week")),z(),zt(" ",e.weekNum)}}function vfe(t,n){1&t&&Pe(0),2&t&&zt(" ",k(3).$implicit.cellRender," ")}function _fe(t,n){if(1&t&&ve(0,vfe,1,1,"ng-template",10),2&t){const e=k(2).$implicit;N("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Fr(2,Wa,e.value))}}function yfe(t,n){if(1&t&&(J(0,"div"),Pe(1),te()),2&t){const e=k(2).$implicit;Oe(pe("",k(2).prefixCls,"-cell-inner")),gt("aria-selected",e.isSelected)("aria-disabled",e.isDisabled),z(),zt(" ",e.content," ")}}function bfe(t,n){1&t&&lt(0,_fe,1,4,null,10)(1,yfe,2,6,"div",11),2&t&&ct(k().$implicit.cellRender?0:1)}function Cfe(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k(3).$implicit;z(),zt(" ",e.fullCellRender," ")}}function wfe(t,n){if(1&t&&ve(0,Cfe,2,1,"ng-container",12),2&t){const e=k(2).$implicit;N("nzStringTemplateOutlet",e.fullCellRender)("nzStringTemplateOutletContext",Fr(2,Wa,e.value))}}function Sfe(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k(3).$implicit;z(),zt(" ",e.cellRender," ")}}function Mfe(t,n){if(1&t&&(J(0,"div"),Pe(1),te(),J(2,"div"),ve(3,Sfe,2,1,"ng-container",12),te()),2&t){const e=k(2).$implicit,i=k(2);Oe(pe("",i.prefixCls,"-date-value")),z(),ln(e.content),z(),Oe(pe("",i.prefixCls,"-date-content")),z(),N("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Fr(9,Wa,e.value))}}function Tfe(t,n){if(1&t&&(J(0,"div"),lt(1,wfe,1,4,"ng-container")(2,Mfe,4,11),te()),2&t){const e=k().$implicit;Oe(pe("",k(2).prefixCls,"-date ant-picker-cell-inner")),Bt("ant-picker-calendar-date-today",e.isToday),z(),ct(e.fullCellRender?1:2)}}function Dfe(t,n){if(1&t){const e=tt();J(0,"td",8),Ne("click",function(){const r=ce(e).$implicit;return ue(r.isDisabled?null:r.onClick())})("mouseenter",function(){return ue(ce(e).$implicit.onMouseEnter())}),lt(1,bfe,2,1)(2,Tfe,3,6,"div",9),te()}if(2&t){let e;const i=n.$implicit,r=k(2);Oe(i.classMap),N("title",i.title),z(),ct("ant-picker"===(e=r.prefixCls)?1:"ant-picker-calendar"===e?2:-1)}}function xfe(t,n){if(1&t&&(J(0,"tr",2),lt(1,gfe,2,4,"td",5),Ti(2,Dfe,3,4,"td",6,nc),te()),2&t){const e=n.$implicit;Oe(e.classMap),z(),ct(e.weekNum?1:-1),z(),Di(e.dateCells)}}function kfe(t,n){if(1&t){const e=tt();ni(0,"button",6),hr("click",function(){return ue(ce(e).$implicit.onClick())}),Pe(1),ii()}if(2&t){const e=n.$implicit;Oe(e.className),Xi("title",Mt(e.title||null)),z(),zt(" ",e.label," ")}}function Efe(t,n){1&t&&He(0,"th",3)}function Ife(t,n){if(1&t&&(J(0,"th",4),Pe(1),te()),2&t){const e=n.$implicit;N("title",e.title),z(),zt(" ",e.content)}}function zfe(t,n){if(1&t&&(J(0,"thead")(1,"tr",2),lt(2,Efe,1,0,"th",3),Ti(3,Ife,2,2,"th",4,Ic),te()()),2&t){const e=k();z(2),ct(e.showWeek?2:-1),z(),Di(e.headRow)}}function Afe(t,n){if(1&t&&(J(0,"td",7),Pe(1),te()),2&t){const e=k().$implicit;Oe(pe("",k().prefixCls,"-cell-week")),z(),zt(" ",e.weekNum)}}function Lfe(t,n){1&t&&Pe(0),2&t&&zt(" ",k(3).$implicit.cellRender," ")}function Ofe(t,n){if(1&t&&ve(0,Lfe,1,1,"ng-template",10),2&t){const e=k(2).$implicit;N("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Fr(2,Wa,e.value))}}function Pfe(t,n){if(1&t&&(J(0,"div"),Pe(1),te()),2&t){const e=k(2).$implicit;Oe(pe("",k(2).prefixCls,"-cell-inner")),gt("aria-selected",e.isSelected)("aria-disabled",e.isDisabled),z(),zt(" ",e.content," ")}}function Nfe(t,n){1&t&&lt(0,Ofe,1,4,null,10)(1,Pfe,2,6,"div",11),2&t&&ct(k().$implicit.cellRender?0:1)}function Rfe(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k(3).$implicit;z(),zt(" ",e.fullCellRender," ")}}function Ffe(t,n){if(1&t&&ve(0,Rfe,2,1,"ng-container",12),2&t){const e=k(2).$implicit;N("nzStringTemplateOutlet",e.fullCellRender)("nzStringTemplateOutletContext",Fr(2,Wa,e.value))}}function Hfe(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k(3).$implicit;z(),zt(" ",e.cellRender," ")}}function Vfe(t,n){if(1&t&&(J(0,"div"),Pe(1),te(),J(2,"div"),ve(3,Hfe,2,1,"ng-container",12),te()),2&t){const e=k(2).$implicit,i=k(2);Oe(pe("",i.prefixCls,"-date-value")),z(),ln(e.content),z(),Oe(pe("",i.prefixCls,"-date-content")),z(),N("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Fr(9,Wa,e.value))}}function Ufe(t,n){if(1&t&&(J(0,"div"),lt(1,Ffe,1,4,"ng-container")(2,Vfe,4,11),te()),2&t){const e=k().$implicit;Oe(pe("",k(2).prefixCls,"-date ant-picker-cell-inner")),Bt("ant-picker-calendar-date-today",e.isToday),z(),ct(e.fullCellRender?1:2)}}function Bfe(t,n){if(1&t){const e=tt();J(0,"td",8),Ne("click",function(){const r=ce(e).$implicit;return ue(r.isDisabled?null:r.onClick())})("mouseenter",function(){return ue(ce(e).$implicit.onMouseEnter())}),lt(1,Nfe,2,1)(2,Ufe,3,6,"div",9),te()}if(2&t){let e;const i=n.$implicit,r=k(2);Oe(i.classMap),N("title",i.title),z(),ct("ant-picker"===(e=r.prefixCls)?1:"ant-picker-calendar"===e?2:-1)}}function qfe(t,n){if(1&t&&(J(0,"tr",2),lt(1,Afe,2,4,"td",5),Ti(2,Bfe,3,4,"td",6,nc),te()),2&t){const e=n.$implicit;Oe(e.classMap),z(),ct(e.weekNum?1:-1),z(),Di(e.dateCells)}}function Yfe(t,n){if(1&t){const e=tt();ni(0,"button",6),hr("click",function(){return ue(ce(e).$implicit.onClick())}),Pe(1),ii()}if(2&t){const e=n.$implicit;Oe(e.className),Xi("title",Mt(e.title||null)),z(),zt(" ",e.label," ")}}function jfe(t,n){1&t&&He(0,"th",3)}function $fe(t,n){if(1&t&&(J(0,"th",4),Pe(1),te()),2&t){const e=n.$implicit;N("title",e.title),z(),zt(" ",e.content)}}function Wfe(t,n){if(1&t&&(J(0,"thead")(1,"tr",2),lt(2,jfe,1,0,"th",3),Ti(3,$fe,2,2,"th",4,Ic),te()()),2&t){const e=k();z(2),ct(e.showWeek?2:-1),z(),Di(e.headRow)}}function Gfe(t,n){if(1&t&&(J(0,"td",7),Pe(1),te()),2&t){const e=k().$implicit;Oe(pe("",k().prefixCls,"-cell-week")),z(),zt(" ",e.weekNum)}}function Kfe(t,n){1&t&&Pe(0),2&t&&zt(" ",k(3).$implicit.cellRender," ")}function Qfe(t,n){if(1&t&&ve(0,Kfe,1,1,"ng-template",10),2&t){const e=k(2).$implicit;N("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Fr(2,Wa,e.value))}}function Xfe(t,n){if(1&t&&(J(0,"div"),Pe(1),te()),2&t){const e=k(2).$implicit;Oe(pe("",k(2).prefixCls,"-cell-inner")),gt("aria-selected",e.isSelected)("aria-disabled",e.isDisabled),z(),zt(" ",e.content," ")}}function Zfe(t,n){1&t&&lt(0,Qfe,1,4,null,10)(1,Xfe,2,6,"div",11),2&t&&ct(k().$implicit.cellRender?0:1)}function Jfe(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k(3).$implicit;z(),zt(" ",e.fullCellRender," ")}}function e3e(t,n){if(1&t&&ve(0,Jfe,2,1,"ng-container",12),2&t){const e=k(2).$implicit;N("nzStringTemplateOutlet",e.fullCellRender)("nzStringTemplateOutletContext",Fr(2,Wa,e.value))}}function t3e(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k(3).$implicit;z(),zt(" ",e.cellRender," ")}}function n3e(t,n){if(1&t&&(J(0,"div"),Pe(1),te(),J(2,"div"),ve(3,t3e,2,1,"ng-container",12),te()),2&t){const e=k(2).$implicit,i=k(2);Oe(pe("",i.prefixCls,"-date-value")),z(),ln(e.content),z(),Oe(pe("",i.prefixCls,"-date-content")),z(),N("nzStringTemplateOutlet",e.cellRender)("nzStringTemplateOutletContext",Fr(9,Wa,e.value))}}function i3e(t,n){if(1&t&&(J(0,"div"),lt(1,e3e,1,4,"ng-container")(2,n3e,4,11),te()),2&t){const e=k().$implicit;Oe(pe("",k(2).prefixCls,"-date ant-picker-cell-inner")),Bt("ant-picker-calendar-date-today",e.isToday),z(),ct(e.fullCellRender?1:2)}}function r3e(t,n){if(1&t){const e=tt();J(0,"td",8),Ne("click",function(){const r=ce(e).$implicit;return ue(r.isDisabled?null:r.onClick())})("mouseenter",function(){return ue(ce(e).$implicit.onMouseEnter())}),lt(1,Zfe,2,1)(2,i3e,3,6,"div",9),te()}if(2&t){let e;const i=n.$implicit,r=k(2);Oe(i.classMap),N("title",i.title),z(),ct("ant-picker"===(e=r.prefixCls)?1:"ant-picker-calendar"===e?2:-1)}}function o3e(t,n){if(1&t&&(J(0,"tr",2),lt(1,Gfe,2,4,"td",5),Ti(2,r3e,3,4,"td",6,nc),te()),2&t){const e=n.$implicit;Oe(e.classMap),z(),ct(e.weekNum?1:-1),z(),Di(e.dateCells)}}function a3e(t,n){if(1&t){const e=tt();J(0,"decade-header",2),Ui("valueChange",function(r){ce(e);const o=k();return Ji(o.activeDate,r)||(o.activeDate=r),ue(r)}),Ne("panelChange",function(r){return ce(e),ue(k().panelChange.emit(r))})("valueChange",function(r){return ce(e),ue(k().headerChange.emit(r))}),te(),J(1,"div")(2,"decade-table",3),Ne("valueChange",function(r){return ce(e),ue(k().onChooseDecade(r))}),te()()}if(2&t){const e=k();Vi("value",e.activeDate),N("locale",e.locale)("showSuperPreBtn",e.enablePrevNext("prev","decade"))("showSuperNextBtn",e.enablePrevNext("next","decade"))("showNextBtn",!1)("showPreBtn",!1),z(),Oe(pe("",e.prefixCls,"-body")),z(),N("activeDate",e.activeDate)("value",e.value)("locale",e.locale)("disabledDate",e.disabledDate)}}function s3e(t,n){if(1&t){const e=tt();J(0,"year-header",2),Ui("valueChange",function(r){ce(e);const o=k();return Ji(o.activeDate,r)||(o.activeDate=r),ue(r)}),Ne("panelChange",function(r){return ce(e),ue(k().panelChange.emit(r))})("valueChange",function(r){return ce(e),ue(k().headerChange.emit(r))}),te(),J(1,"div")(2,"year-table",4),Ne("valueChange",function(r){return ce(e),ue(k().onChooseYear(r))})("cellHover",function(r){return ce(e),ue(k().cellHover.emit(r))}),te()()}if(2&t){const e=k();Vi("value",e.activeDate),N("locale",e.locale)("showSuperPreBtn",e.enablePrevNext("prev","year"))("showSuperNextBtn",e.enablePrevNext("next","year"))("showNextBtn",!1)("showPreBtn",!1),z(),Oe(pe("",e.prefixCls,"-body")),z(),N("activeDate",e.activeDate)("value",e.value)("locale",e.locale)("disabledDate",e.disabledDate)("selectedValue",e.selectedValue)("hoverValue",e.hoverValue)}}function l3e(t,n){if(1&t){const e=tt();J(0,"month-header",2),Ui("valueChange",function(r){ce(e);const o=k();return Ji(o.activeDate,r)||(o.activeDate=r),ue(r)}),Ne("panelChange",function(r){return ce(e),ue(k().panelChange.emit(r))})("valueChange",function(r){return ce(e),ue(k().headerChange.emit(r))}),te(),J(1,"div")(2,"month-table",5),Ne("valueChange",function(r){return ce(e),ue(k().onChooseMonth(r))})("cellHover",function(r){return ce(e),ue(k().cellHover.emit(r))}),te()()}if(2&t){const e=k();Vi("value",e.activeDate),N("locale",e.locale)("showSuperPreBtn",e.enablePrevNext("prev","month"))("showSuperNextBtn",e.enablePrevNext("next","month"))("showNextBtn",!1)("showPreBtn",!1),z(),Oe(pe("",e.prefixCls,"-body")),z(),N("value",e.value)("activeDate",e.activeDate)("locale",e.locale)("disabledDate",e.disabledDate)("selectedValue",e.selectedValue)("hoverValue",e.hoverValue)}}function c3e(t,n){if(1&t){const e=tt();J(0,"quarter-header",2),Ui("valueChange",function(r){ce(e);const o=k();return Ji(o.activeDate,r)||(o.activeDate=r),ue(r)}),Ne("panelChange",function(r){return ce(e),ue(k().panelChange.emit(r))})("valueChange",function(r){return ce(e),ue(k().headerChange.emit(r))}),te(),J(1,"div")(2,"quarter-table",6),Ne("valueChange",function(r){return ce(e),ue(k().onChooseQuarter(r))})("cellHover",function(r){return ce(e),ue(k().cellHover.emit(r))}),te()()}if(2&t){const e=k();Vi("value",e.activeDate),N("locale",e.locale)("showSuperPreBtn",e.enablePrevNext("prev","month"))("showSuperNextBtn",e.enablePrevNext("next","month"))("showNextBtn",!1)("showPreBtn",!1),z(),Oe(pe("",e.prefixCls,"-body")),z(),N("value",e.value)("activeDate",e.activeDate)("locale",e.locale)("disabledDate",e.disabledDate)("selectedValue",e.selectedValue)("hoverValue",e.hoverValue)("cellRender",e.dateRender)}}function u3e(t,n){if(1&t){const e=tt();J(0,"date-header",7),Ui("valueChange",function(r){ce(e);const o=k();return Ji(o.activeDate,r)||(o.activeDate=r),ue(r)}),Ne("panelChange",function(r){return ce(e),ue(k().panelChange.emit(r))})("valueChange",function(r){return ce(e),ue(k().headerChange.emit(r))}),te(),J(1,"div")(2,"date-table",8),Ne("valueChange",function(r){return ce(e),ue(k().onSelectDate(r))})("cellHover",function(r){return ce(e),ue(k().cellHover.emit(r))}),te()()}if(2&t){const e=k();Vi("value",e.activeDate),N("locale",e.locale)("showSuperPreBtn",e.enablePrevNext("prev","week"===e.panelMode?"week":"date"))("showSuperNextBtn",e.enablePrevNext("next","week"===e.panelMode?"week":"date"))("showPreBtn",e.enablePrevNext("prev","week"===e.panelMode?"week":"date"))("showNextBtn",e.enablePrevNext("next","week"===e.panelMode?"week":"date")),z(),Oe(pe("",e.prefixCls,"-body")),z(),N("locale",e.locale)("showWeek",e.showWeek)("value",e.value)("activeDate",e.activeDate)("disabledDate",e.disabledDate)("cellRender",e.dateRender)("selectedValue",e.selectedValue)("hoverValue",e.hoverValue)("canSelectWeek","week"===e.panelMode)("format",e.format)}}function d3e(t,n){if(1&t){const e=tt();J(0,"nz-time-picker-panel",9),Ne("ngModelChange",function(r){return ce(e),ue(k().onSelectTime(r))}),te()}if(2&t){const e=k();N("nzInDatePicker",!0)("ngModel",null==e.value?null:e.value.nativeDate)("format",e.timeOptions.nzFormat)("nzHourStep",e.timeOptions.nzHourStep)("nzMinuteStep",e.timeOptions.nzMinuteStep)("nzSecondStep",e.timeOptions.nzSecondStep)("nzDisabledHours",e.timeOptions.nzDisabledHours)("nzDisabledMinutes",e.timeOptions.nzDisabledMinutes)("nzDisabledSeconds",e.timeOptions.nzDisabledSeconds)("nzHideDisabledOptions",!!e.timeOptions.nzHideDisabledOptions)("nzDefaultOpenValue",e.timeOptions.nzDefaultOpenValue)("nzUse12Hours",!!e.timeOptions.nzUse12Hours)("nzAddOn",e.timeOptions.nzAddOn)}}const h3e=t=>({partType:t}),MP=()=>({partType:"left"}),TP=()=>({partType:"right"});function f3e(t,n){1&t&&Ua(0)}function m3e(t,n){if(1&t&&ve(0,f3e,1,0,"ng-container",5),2&t){const e=k(2);N("ngTemplateOutlet",fr(3))("ngTemplateOutletContext",Fr(2,h3e,e.datePickerService.activeInput))}}function p3e(t,n){1&t&&Ua(0)}function g3e(t,n){1&t&&Ua(0)}function v3e(t,n){if(1&t&&ve(0,p3e,1,0,"ng-container",5)(1,g3e,1,0,"ng-container",5),2&t){k(2);const e=fr(3);N("ngTemplateOutlet",e)("ngTemplateOutletContext",Ac(4,MP)),z(),N("ngTemplateOutlet",e)("ngTemplateOutletContext",Ac(5,TP))}}function _3e(t,n){1&t&&Ua(0)}function y3e(t,n){if(1&t&&(J(0,"div"),He(1,"div"),J(2,"div")(3,"div"),lt(4,m3e,1,4,"ng-container")(5,v3e,2,6),te(),ve(6,_3e,1,0,"ng-container",4),te()()),2&t){const e=k(),i=fr(5);Oe($l("",e.prefixCls,"-range-wrapper ",e.prefixCls,"-date-range-wrapper")),z(),Mi(e.arrowPosition),Oe(pe("",e.prefixCls,"-range-arrow")),z(),Oe($l("",e.prefixCls,"-panel-container ",e.showWeek?e.prefixCls+"-week-number":"")),z(),Oe(pe("",e.prefixCls,"-panels")),z(),ct(e.hasTimePicker?4:5),z(2),N("ngTemplateOutlet",i)}}function b3e(t,n){1&t&&Ua(0)}function C3e(t,n){1&t&&Ua(0)}function w3e(t,n){if(1&t&&(J(0,"div")(1,"div",6),ve(2,b3e,1,0,"ng-container",4)(3,C3e,1,0,"ng-container",4),te()()),2&t){const e=k(),i=fr(3),r=fr(5);Oe(function zD(t,n,e,i,r,o,a,s,l=""){return gD(Le(),t,n,e,i,r,o,a,s,l)}("",e.prefixCls,"-panel-container ",e.showWeek?e.prefixCls+"-week-number":""," ",e.hasTimePicker?e.prefixCls+"-time":""," ",e.isRange?e.prefixCls+"-range":"")),z(),Oe(pe("",e.prefixCls,"-panel")),Bt("ant-picker-panel-rtl","rtl"===e.dir),z(),N("ngTemplateOutlet",i),z(),N("ngTemplateOutlet",r)}}function S3e(t,n){if(1&t){const e=tt();J(0,"div")(1,"inner-popup",7),Ne("panelChange",function(r){const o=ce(e).partType;return ue(k().onPanelModeChange(r,o))})("cellHover",function(r){return ce(e),ue(k().onCellHover(r))})("selectDate",function(r){ce(e);const o=k();return ue(o.changeValueFromSelect(r,!o.showTime))})("selectTime",function(r){const o=ce(e).partType;return ue(k().onSelectTime(r,o))})("headerChange",function(r){const o=ce(e).partType;return ue(k().onActiveDateChange(r,o))}),te()()}if(2&t){const e=n.partType,i=k();Oe(pe("",i.prefixCls,"-panel")),Bt("ant-picker-panel-rtl","rtl"===i.dir),z(),N("showWeek",i.showWeek)("endPanelMode",i.getPanelMode(i.endPanelMode,e))("partType",e)("locale",i.locale)("showTimePicker",i.hasTimePicker)("timeOptions",i.getTimeOptions(e))("panelMode",i.getPanelMode(i.panelMode,e))("activeDate",i.getActiveDate(e))("value",i.getValue(e))("disabledDate",i.disabledDate)("dateRender",i.dateRender)("selectedValue",null==i.datePickerService?null:i.datePickerService.value)("hoverValue",i.hoverValue)("format",i.format)}}function M3e(t,n){if(1&t){const e=tt();J(0,"calendar-footer",9),Ne("clickOk",function(){return ce(e),ue(k(2).onClickOk())})("clickToday",function(r){return ce(e),ue(k(2).onClickToday(r))}),te()}if(2&t){const e=k(2),i=fr(7);N("locale",e.locale)("isRange",e.isRange)("showToday",e.showToday)("showNow",e.showNow)("hasTimePicker",e.hasTimePicker)("okDisabled",!e.isAllowed(null==e.datePickerService?null:e.datePickerService.value))("extraFooter",e.extraFooter)("rangeQuickSelector",e.ranges?i:null)}}function T3e(t,n){1&t&&lt(0,M3e,1,8,"calendar-footer",8),2&t&&ct(k().hasFooter?0:-1)}function D3e(t,n){if(1&t){const e=tt();J(0,"li",10),Ne("click",function(){const r=ce(e).$implicit,o=k(2);return ue(o.onClickPresetRange(o.ranges[r]))})("mouseenter",function(){const r=ce(e).$implicit,o=k(2);return ue(o.onHoverPresetRange(o.ranges[r]))})("mouseleave",function(){return ce(e),ue(k(2).onPresetRangeMouseLeave())}),J(1,"span",11),Pe(2),te()()}if(2&t){const e=n.$implicit;Oe(pe("",k(2).prefixCls,"-preset")),z(2),ln(e)}}function x3e(t,n){if(1&t&&Ti(0,D3e,3,4,"li",3,x1),2&t){const e=k();Di(e.getObjectKeys(e.ranges))}}const k3e=["separatorElement"],E3e=["pickerInput"],I3e=["rangePickerInput"];function z3e(t,n){1&t&&Ua(0)}function A3e(t,n){if(1&t){const e=tt();J(0,"div")(1,"input",9,3),Ui("ngModelChange",function(r){ce(e);const o=k(2);return Ji(o.inputValue,r)||(o.inputValue=r),ue(r)}),Ne("focus",function(r){return ce(e),ue(k(2).onFocus(r))})("focusout",function(r){return ce(e),ue(k(2).onFocusout(r))})("ngModelChange",function(r){return ce(e),ue(k(2).onInputChange(r))})("keyup.enter",function(r){return ce(e),ue(k(2).onKeyupEnter(r))}),te(),ve(3,z3e,1,0,"ng-container",10),te()}if(2&t){const e=k(2),i=fr(5);Oe(pe("",e.prefixCls,"-input")),z(),Bt("ant-input-disabled",e.nzDisabled),N("placeholder",Mt(e.getPlaceholder()))("disabled",e.nzDisabled)("readOnly",e.nzInputReadOnly),Vi("ngModel",e.inputValue),N("size",e.inputSize),gt("id",e.nzId),z(2),N("ngTemplateOutlet",i)}}function L3e(t,n){1&t&&Ua(0)}function O3e(t,n){1&t&&Pe(0),2&t&&zt(" ",k(4).nzSeparator," ")}function P3e(t,n){1&t&&He(0,"nz-icon",13)}function N3e(t,n){if(1&t&&(Ge(0),lt(1,O3e,1,1)(2,P3e,1,0,"nz-icon",13),Ye()),2&t){const e=k(3);z(),ct(e.nzSeparator?1:2)}}function R3e(t,n){1&t&&Ua(0)}function F3e(t,n){1&t&&Ua(0)}function H3e(t,n){if(1&t&&(J(0,"div"),ve(1,L3e,1,0,"ng-container",11),te(),J(2,"div",null,4)(4,"span"),ve(5,N3e,3,1,"ng-container",12),te()(),J(6,"div"),ve(7,R3e,1,0,"ng-container",11),te(),ve(8,F3e,1,0,"ng-container",10)),2&t){const e=k(2),i=fr(3),r=fr(5);Oe(pe("",e.prefixCls,"-input")),z(),N("ngTemplateOutlet",i)("ngTemplateOutletContext",Ac(18,MP)),z(),Oe(pe("",e.prefixCls,"-range-separator")),z(2),Oe(pe("",e.prefixCls,"-separator")),z(),N("nzStringTemplateOutlet",e.nzSeparator),z(),Oe(pe("",e.prefixCls,"-input")),z(),N("ngTemplateOutlet",i)("ngTemplateOutletContext",Ac(19,TP)),z(),N("ngTemplateOutlet",r)}}function V3e(t,n){1&t&&lt(0,A3e,4,13,"div",8)(1,H3e,9,20),2&t&&ct(k().isRange?1:0)}function U3e(t,n){}function B3e(t,n){1&t&&ve(0,U3e,0,0,"ng-template",6),2&t&&(k(),N("ngTemplateOutlet",fr(7)))}function q3e(t,n){if(1&t){const e=tt();J(0,"input",14,5),Ne("click",function(r){return ce(e),ue(k().onClickInputBox(r))})("focusout",function(r){return ce(e),ue(k().onFocusout(r))})("focus",function(r){const o=ce(e).partType;return ue(k().onFocus(r,o))})("keyup.enter",function(r){return ce(e),ue(k().onKeyupEnter(r))}),Ui("ngModelChange",function(r){const o=ce(e).partType,a=k();return Ji(a.inputValue[a.datePickerService.getActiveIndex(o)],r)||(a.inputValue[a.datePickerService.getActiveIndex(o)]=r),ue(r)}),Ne("ngModelChange",function(r){return ce(e),ue(k().onInputChange(r))}),te()}if(2&t){const e=n.partType,i=k();N("placeholder",Mt(i.getPlaceholder(e)))("disabled",i.nzDisabled)("readOnly",i.nzInputReadOnly)("size",i.inputSize),Vi("ngModel",i.inputValue[i.datePickerService.getActiveIndex(e)]),gt("id",i.nzId)}}function Y3e(t,n){if(1&t){const e=tt();J(0,"span",16),Ne("click",function(r){return ce(e),ue(k(2).onClickClear(r))}),He(1,"nz-icon",17),te()}2&t&&Oe(pe("",k(2).prefixCls,"-clear"))}function j3e(t,n){if(1&t&&(Ge(0),He(1,"nz-icon",18),Ye()),2&t){const e=n.$implicit;z(),N("nzType",e)}}function $3e(t,n){1&t&&He(0,"nz-form-item-feedback-icon",15),2&t&&N("status",k(2).status)}function W3e(t,n){if(1&t&&(He(0,"div"),lt(1,Y3e,2,3,"span",8),J(2,"span"),ve(3,j3e,2,1,"ng-container",12),lt(4,$3e,1,1,"nz-form-item-feedback-icon",15),te()),2&t){const e=k();Mi(e.activeBarStyle),Oe(pe("",e.prefixCls,"-active-bar")),z(),ct(e.showClear?1:-1),z(),Oe(pe("",e.prefixCls,"-suffix")),z(),N("nzStringTemplateOutlet",e.nzSuffixIcon),z(),ct(e.hasFeedback&&e.status?4:-1)}}function G3e(t,n){if(1&t){const e=tt();J(0,"div")(1,"date-range-popup",19),Ne("panelModeChange",function(r){return ce(e),ue(k().onPanelModeChange(r))})("calendarChange",function(r){return ce(e),ue(k().onCalendarChange(r))})("resultOk",function(){return ce(e),ue(k().onResultOk())}),te()()}if(2&t){const e=k();Mi(e.nzPopupStyle),Oe($l("",e.prefixCls,"-dropdown ",e.nzDropdownClassName)),Bt("ant-picker-dropdown-rtl","rtl"===e.dir)("ant-picker-dropdown-placement-bottomLeft","bottom"===e.currentPositionY&&"start"===e.currentPositionX)("ant-picker-dropdown-placement-topLeft","top"===e.currentPositionY&&"start"===e.currentPositionX)("ant-picker-dropdown-placement-bottomRight","bottom"===e.currentPositionY&&"end"===e.currentPositionX)("ant-picker-dropdown-placement-topRight","top"===e.currentPositionY&&"end"===e.currentPositionX)("ant-picker-dropdown-range",e.isRange)("ant-picker-active-left","left"===e.datePickerService.activeInput)("ant-picker-active-right","right"===e.datePickerService.activeInput),z(),N("isRange",e.isRange)("inline",e.nzInline)("defaultPickerValue",e.nzDefaultPickerValue)("showWeek",e.nzShowWeekNumber||"week"===e.nzMode)("panelMode",e.panelMode)("locale",null==e.nzLocale?null:e.nzLocale.lang)("showToday","date"===e.nzMode&&e.nzShowToday&&!e.isRange&&!e.nzShowTime)("showNow","date"===e.nzMode&&e.nzShowNow&&!e.isRange&&!!e.nzShowTime)("showTime",e.nzShowTime)("dateRender",e.nzDateRender)("disabledDate",e.nzDisabledDate)("disabledTime",e.nzDisabledTime)("extraFooter",e.extraFooter)("ranges",e.nzRanges)("dir",e.dir)("format",e.nzFormat)}}function K3e(t,n){1&t&&Ua(0)}function Q3e(t,n){if(1&t&&(J(0,"div",20),ve(1,K3e,1,0,"ng-container",10),te()),2&t){const e=k(),i=fr(7);Zi("position","relative"),N("nzNoAnimation",!(null==e.noAnimation||!e.noAnimation.nzNoAnimation))("@slideMotion","enter"),z(),N("ngTemplateOutlet",i)}}const K8="ant-picker",X3e={nzDisabledHours:()=>[],nzDisabledMinutes:()=>[],nzDisabledSeconds:()=>[]};function DP(t,n){let e=n?n(t&&t.nativeDate):{};return e={...X3e,...e},e}function Q8(t,n,e){return!(!t||n&&n(t.nativeDate)||e&&!function J3e(t,n){return function Z3e(t,n){let e=!1;if(t){const i=t.getHours(),r=t.getMinutes(),o=t.getSeconds();e=-1!==n.nzDisabledHours().indexOf(i)||-1!==n.nzDisabledMinutes(i).indexOf(r)||-1!==n.nzDisabledSeconds(i,r).indexOf(o)}return!e}(t,DP(t,n))}(t,e))}function f4(t){return t&&t.replace(/Y/g,"y").replace(/D/g,"d")}let xP=(()=>{class t{dateHelper=U(Es);locale;showToday=!1;showNow=!1;hasTimePicker=!1;isRange=!1;okDisabled=!1;disabledDate;extraFooter;rangeQuickSelector=null;clickOk=new dt;clickToday=new dt;prefixCls=K8;isTodayDisabled=!1;todayTitle="";ngOnChanges(e){const i=new Date;if(e.disabledDate&&(this.isTodayDisabled=!(!this.disabledDate||!this.disabledDate(i))),e.locale){const r=f4(this.locale.dateFormat);this.todayTitle=this.dateHelper.format(i,r)}}onClickToday(){const e=new ri;this.clickToday.emit(e.clone())}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["calendar-footer"]],inputs:{locale:"locale",showToday:[2,"showToday","showToday",Qe],showNow:[2,"showNow","showNow",Qe],hasTimePicker:[2,"hasTimePicker","hasTimePicker",Qe],isRange:[2,"isRange","isRange",Qe],okDisabled:[2,"okDisabled","okDisabled",Qe],disabledDate:"disabledDate",extraFooter:"extraFooter",rangeQuickSelector:"rangeQuickSelector"},outputs:{clickOk:"clickOk",clickToday:"clickToday"},features:[vn],decls:4,vars:6,consts:[[3,"class"],["role","button",3,"class","title"],[3,"nzStringTemplateOutlet"],["role","button",3,"click","title"],[4,"ngTemplateOutlet"],[3,"click"],["nz-button","","type","button","nzType","primary","nzSize","small",3,"click","disabled"]],template:function(i,r){1&i&&(J(0,"div"),lt(1,k4e,2,4,"div",0),lt(2,E4e,2,7,"a",1),lt(3,L4e,4,6,"ul",0),te()),2&i&&(Oe(pe("",r.prefixCls,"-footer")),z(),ct(r.extraFooter?1:-1),z(),ct(r.showToday?2:-1),z(),ct(r.hasTimePicker||r.rangeQuickSelector?3:-1))},dependencies:[_l,JO,T_,KO,M_,Qo],encapsulation:2,changeDetection:0})}return t})(),R_=(()=>{class t{initialValue;value;activeDate;activeInput="left";arrowLeft=0;isRange=!1;valueChange$=new P1(1);emitValue$=new it;inputPartChange$=new it;initValue(e=!1){e&&(this.initialValue=this.isRange?[]:null),this.setValue(this.initialValue)}hasValue(e=this.value){return Array.isArray(e)?!!e[0]||!!e[1]:!!e}makeValue(e){return this.isRange?e?e.map(i=>new ri(i)):[]:e?new ri(e):null}setActiveDate(e,i=!1,r="month"){this.activeDate=this.isRange?function b1e(t,n,e="month",i="left"){const[r,o]=t;let a=r||new ri,s=o||(n?a:a.add(1,e));return r&&!o?(a=r,s=n?r:r.add(1,e)):!r&&o?(a=n?o:o.add(-1,e),s=o):r&&o&&!n&&(r.isSame(o,e)||"left"===i?s=a.add(1,e):a=s.add(-1,e)),[a,s]}(e,i,{date:"month",month:"year",quarter:"year",year:"decade"}[r],this.activeInput):Xh(e)}setValue(e){this.value=e,this.valueChange$.next(this.value)}getActiveIndex(e=this.activeInput){return{left:0,right:1}[e]}ngOnDestroy(){this.valueChange$.complete(),this.emitValue$.complete(),this.inputPartChange$.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})(),m4=(()=>{class t{prefixCls="ant-picker-header";selectors=[];mode;value;locale;showSuperPreBtn=!0;showSuperNextBtn=!0;showPreBtn=!0;showNextBtn=!0;panelChange=new dt;valueChange=new dt;superPreviousTitle(){return this.locale.previousYear}previousTitle(){return this.locale.previousMonth}superNextTitle(){return this.locale.nextYear}nextTitle(){return this.locale.nextMonth}superPrevious(){this.changeValue(this.value.addYears(-1))}superNext(){this.changeValue(this.value.addYears(1))}previous(){this.changeValue(this.value.addMonths(-1))}next(){this.changeValue(this.value.addMonths(1))}changeValue(e){this.value!==e&&(this.value=e,this.valueChange.emit(this.value),this.changeMode(this.mode),this.render())}changeMode(e){this.panelChange.emit({mode:e,date:this.value.nativeDate})}render(){this.value&&(this.selectors=this.getSelectors())}ngOnInit(){this.value||(this.value=new ri),this.selectors=this.getSelectors()}ngOnChanges(e){(e.value||e.locale)&&this.render()}trackBySelector(e){return`${e.title}-${e.label}`}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,inputs:{value:"value",locale:"locale",showSuperPreBtn:[2,"showSuperPreBtn","showSuperPreBtn",Qe],showSuperNextBtn:[2,"showSuperNextBtn","showSuperNextBtn",Qe],showPreBtn:[2,"showPreBtn","showPreBtn",Qe],showNextBtn:[2,"showNextBtn","showNextBtn",Qe]},outputs:{panelChange:"panelChange",valueChange:"valueChange"},features:[vn]})}return t})(),e6e=(()=>{class t extends m4{previous(){}next(){}mode="decade";get startYear(){return 100*parseInt(""+this.value.getYear()/100,10)}get endYear(){return this.startYear+99}superPrevious(){this.changeValue(this.value.addYears(-100))}superNext(){this.changeValue(this.value.addYears(100))}getSelectors(){return[{className:`${this.prefixCls}-decade-btn`,title:"",onClick:()=>{},label:`${this.startYear}-${this.endYear}`}]}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275cmp=bt({type:t,selectors:[["decade-header"]],features:[Rn],decls:12,vars:33,consts:[["role","button","type","button","tabindex","-1",3,"click","title"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],["role","button","type","button",3,"class","title"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"click","title"]],template:function(i,r){1&i&&(ni(0,"div")(1,"button",0),hr("click",function(){return r.superPrevious()}),Ur(2,"span",1),ii(),ni(3,"button",0),hr("click",function(){return r.previous()}),Ur(4,"span",2),ii(),ni(5,"div"),Ti(6,O4e,2,5,"button",3,h4,!0),ii(),ni(8,"button",0),hr("click",function(){return r.next()}),Ur(9,"span",4),ii(),ni(10,"button",0),hr("click",function(){return r.superNext()}),Ur(11,"span",5),ii()()),2&i&&(Oe(r.prefixCls),z(),Oe(pe("",r.prefixCls,"-super-prev-btn")),Zi("visibility",r.showSuperPreBtn?"visible":"hidden"),Xi("title",Mt(r.superPreviousTitle())),z(2),Oe(pe("",r.prefixCls,"-prev-btn")),Zi("visibility",r.showPreBtn?"visible":"hidden"),Xi("title",Mt(r.previousTitle())),z(2),Oe(pe("",r.prefixCls,"-view")),z(),Di(r.selectors),z(2),Oe(pe("",r.prefixCls,"-next-btn")),Zi("visibility",r.showNextBtn?"visible":"hidden"),Xi("title",Mt(r.nextTitle())),z(2),Oe(pe("",r.prefixCls,"-super-next-btn")),Zi("visibility",r.showSuperNextBtn?"visible":"hidden"),Xi("title",Mt(r.superNextTitle())))},encapsulation:2,changeDetection:0})}return t})(),p4=(()=>{class t{headRow=[];bodyRows=[];MAX_ROW=6;MAX_COL=7;prefixCls="ant-picker";value;locale;activeDate=new ri;showWeek=!1;selectedValue=[];hoverValue=[];disabledDate;cellRender;fullCellRender;canSelectWeek=!1;valueChange=new dt;cellHover=new dt;render(){this.activeDate&&(this.headRow=this.makeHeadRow(),this.bodyRows=this.makeBodyRows())}hasRangeValue(){return this.selectedValue?.length>0||this.hoverValue?.length>0}getClassMap(e){return{"ant-picker-cell":!0,"ant-picker-cell-in-view":!0,"ant-picker-cell-selected":e.isSelected,"ant-picker-cell-disabled":e.isDisabled,"ant-picker-cell-in-range":!!e.isInSelectedRange,"ant-picker-cell-range-start":!!e.isSelectedStart,"ant-picker-cell-range-end":!!e.isSelectedEnd,"ant-picker-cell-range-start-single":!!e.isStartSingle,"ant-picker-cell-range-end-single":!!e.isEndSingle,"ant-picker-cell-range-hover":!!e.isInHoverRange,"ant-picker-cell-range-hover-start":!!e.isHoverStart,"ant-picker-cell-range-hover-end":!!e.isHoverEnd,"ant-picker-cell-range-hover-edge-start":!!e.isFirstCellInPanel,"ant-picker-cell-range-hover-edge-end":!!e.isLastCellInPanel,"ant-picker-cell-range-start-near-hover":!!e.isRangeStartNearHover,"ant-picker-cell-range-end-near-hover":!!e.isRangeEndNearHover}}ngOnInit(){this.render()}ngOnChanges(e){e.activeDate&&!e.activeDate.currentValue&&(this.activeDate=new ri),(e.disabledDate||e.locale||e.showWeek||e.selectWeek||this.isDateRealChange(e.activeDate)||this.isDateRealChange(e.value)||this.isDateRealChange(e.selectedValue)||this.isDateRealChange(e.hoverValue))&&this.render()}isDateRealChange(e){if(e){const i=e.previousValue,r=e.currentValue;return Array.isArray(r)?!Array.isArray(i)||r.length!==i.length||r.some((o,a)=>{const s=i[a];return s instanceof ri?s.isSameDay(o):s!==o}):!this.isSameDate(i,r)}return!1}isSameDate(e,i){return!e&&!i||e&&i&&i.isSameDay(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,inputs:{prefixCls:"prefixCls",value:"value",locale:"locale",activeDate:"activeDate",showWeek:[2,"showWeek","showWeek",Qe],selectedValue:"selectedValue",hoverValue:"hoverValue",disabledDate:"disabledDate",cellRender:"cellRender",fullCellRender:"fullCellRender",canSelectWeek:[2,"canSelectWeek","canSelectWeek",Qe]},outputs:{valueChange:"valueChange",cellHover:"cellHover"},features:[vn]})}return t})(),i6e=(()=>{class t extends p4{get startYear(){return 100*parseInt(""+this.activeDate.getYear()/100,10)}get endYear(){return this.startYear+99}makeHeadRow(){return[]}makeBodyRows(){const e=[],i=this.value&&this.value.getYear(),r=this.startYear,o=this.endYear,a=r-10;let s=0;for(let l=0;l<4;l++){const c={dateCells:[],trackByIndex:l};for(let h=0;h<3;h++){const g=a+10*s,L=a+10*s+9,y=`${g}-${L}`,x={trackByIndex:h,value:this.activeDate.setYear(g).nativeDate,content:y,title:y,isDisabled:!1,isSelected:i>=g&&i<=L,isLowerThanStart:L<r,isBiggerThanEnd:g>o,classMap:{},onClick(){},onMouseEnter(){}};x.classMap=this.getClassMap(x),x.onClick=()=>this.chooseDecade(g),s++,c.dateCells.push(x)}e.push(c)}return e}getClassMap(e){return{[`${this.prefixCls}-cell`]:!0,[`${this.prefixCls}-cell-in-view`]:!e.isBiggerThanEnd&&!e.isLowerThanStart,[`${this.prefixCls}-cell-selected`]:e.isSelected,[`${this.prefixCls}-cell-disabled`]:e.isDisabled}}chooseDecade(e){this.value=this.activeDate.setYear(e),this.valueChange.emit(this.value)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275cmp=bt({type:t,selectors:[["decade-table"]],features:[Rn],decls:5,vars:1,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],["role","row",3,"class"],["role","row"],["role","columnheader"],["role","columnheader",3,"title"],["role","gridcell",3,"class"],["role","gridcell",3,"title","class"],["role","gridcell"],["role","gridcell",3,"click","mouseenter","title"],[3,"class","ant-picker-calendar-date-today"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"class"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,r){1&i&&(J(0,"table",0),lt(1,R4e,5,1,"thead"),J(2,"tbody"),Ti(3,K4e,4,3,"tr",1,nc),te()()),2&i&&(z(),ct(r.headRow&&r.headRow.length>0?1:-1),z(2),Di(r.bodyRows))},dependencies:[Qo],encapsulation:2,changeDetection:0})}return t})(),r6e=(()=>{class t extends m4{mode="year";get startYear(){return 10*parseInt(""+this.value.getYear()/10,10)}get endYear(){return this.startYear+9}superPrevious(){this.changeValue(this.value.addYears(-10))}superNext(){this.changeValue(this.value.addYears(10))}getSelectors(){return[{className:`${this.prefixCls}-year-btn`,title:"",onClick:()=>{this.mode="decade",this.changeMode("decade")},label:`${this.startYear}-${this.endYear}`}]}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275cmp=bt({type:t,selectors:[["year-header"]],features:[Rn],decls:12,vars:33,consts:[["role","button","type","button","tabindex","-1",3,"click","title"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],["role","button","type","button",3,"class","title"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"click","title"]],template:function(i,r){1&i&&(ni(0,"div")(1,"button",0),hr("click",function(){return r.superPrevious()}),Ur(2,"span",1),ii(),ni(3,"button",0),hr("click",function(){return r.previous()}),Ur(4,"span",2),ii(),ni(5,"div"),Ti(6,Q4e,2,5,"button",3,h4,!0),ii(),ni(8,"button",0),hr("click",function(){return r.next()}),Ur(9,"span",4),ii(),ni(10,"button",0),hr("click",function(){return r.superNext()}),Ur(11,"span",5),ii()()),2&i&&(Oe(r.prefixCls),z(),Oe(pe("",r.prefixCls,"-super-prev-btn")),Zi("visibility",r.showSuperPreBtn?"visible":"hidden"),Xi("title",Mt(r.superPreviousTitle())),z(2),Oe(pe("",r.prefixCls,"-prev-btn")),Zi("visibility",r.showPreBtn?"visible":"hidden"),Xi("title",Mt(r.previousTitle())),z(2),Oe(pe("",r.prefixCls,"-view")),z(),Di(r.selectors),z(2),Oe(pe("",r.prefixCls,"-next-btn")),Zi("visibility",r.showNextBtn?"visible":"hidden"),Xi("title",Mt(r.nextTitle())),z(2),Oe(pe("",r.prefixCls,"-super-next-btn")),Zi("visibility",r.showSuperNextBtn?"visible":"hidden"),Xi("title",Mt(r.superNextTitle())))},encapsulation:2,changeDetection:0})}return t})(),o6e=(()=>{class t extends p4{dateHelper=U(Es);MAX_ROW=4;MAX_COL=3;makeHeadRow(){return[]}makeBodyRows(){const e=this.activeDate&&this.activeDate.getYear(),i=10*parseInt(""+e/10,10),r=i+9,o=i-1,a=[];let s=0;for(let l=0;l<this.MAX_ROW;l++){const c={dateCells:[],trackByIndex:l};for(let h=0;h<this.MAX_COL;h++){const g=o+s,L=this.activeDate.setYear(g),y=this.dateHelper.format(L.nativeDate,"yyyy"),x=this.isDisabledYear(L),B={trackByIndex:h,value:L.nativeDate,isDisabled:x,isSameDecade:g>=i&&g<=r,isSelected:g===(this.value&&this.value.getYear()),content:y,title:y,classMap:{},isLastCellInPanel:L.getYear()===r,isFirstCellInPanel:L.getYear()===i,cellRender:Bc(this.cellRender,L),fullCellRender:Bc(this.fullCellRender,L),onClick:()=>this.chooseYear(B.value.getFullYear()),onMouseEnter:()=>this.cellHover.emit(L)};this.addCellProperty(B,L),c.dateCells.push(B),s++}a.push(c)}return a}getClassMap(e){return{...super.getClassMap(e),"ant-picker-cell-in-view":!!e.isSameDecade}}isDisabledYear(e){if(!this.disabledDate)return!1;for(let r=e.setMonth(0).setDate(1);r.getYear()===e.getYear();r=r.addDays(1))if(!this.disabledDate(r.nativeDate))return!1;return!0}addCellProperty(e,i){if(this.hasRangeValue()){const[r,o]=this.hoverValue,[a,s]=this.selectedValue;a?.isSameYear(i)&&(e.isSelectedStart=!0,e.isSelected=!0),s?.isSameYear(i)&&(e.isSelectedEnd=!0,e.isSelected=!0),r&&o&&(e.isHoverStart=r.isSameYear(i),e.isHoverEnd=o.isSameYear(i),e.isInHoverRange=r.isBeforeYear(i)&&i.isBeforeYear(o)),e.isStartSingle=a&&!s,e.isEndSingle=!a&&s,e.isInSelectedRange=a?.isBeforeYear(i)&&i?.isBeforeYear(s),e.isRangeStartNearHover=a&&e.isInHoverRange,e.isRangeEndNearHover=s&&e.isInHoverRange}else i.isSameYear(this.value)&&(e.isSelected=!0);e.classMap=this.getClassMap(e)}chooseYear(e){this.value=this.activeDate.setYear(e),this.valueChange.emit(this.value),this.render()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275cmp=bt({type:t,selectors:[["year-table"]],features:[Rn],decls:5,vars:1,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],["role","row",3,"class"],["role","row"],["role","columnheader"],["role","columnheader",3,"title"],["role","gridcell",3,"class"],["role","gridcell",3,"title","class"],["role","gridcell"],["role","gridcell",3,"click","mouseenter","title"],[3,"class","ant-picker-calendar-date-today"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"class"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,r){1&i&&(J(0,"table",0),lt(1,J4e,5,1,"thead"),J(2,"tbody"),Ti(3,dfe,4,3,"tr",1,nc),te()()),2&i&&(z(),ct(r.headRow&&r.headRow.length>0?1:-1),z(2),Di(r.bodyRows))},dependencies:[Qo],encapsulation:2,changeDetection:0})}return t})(),a6e=(()=>{class t extends m4{dateHelper=U(Es);mode="quarter";getSelectors(){return[{className:`${this.prefixCls}-quarter-btn`,title:this.locale.yearSelect,onClick:()=>{this.mode="year",this.changeMode("year")},label:this.dateHelper.format(this.value.nativeDate,f4(this.locale.yearFormat))}]}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275cmp=bt({type:t,selectors:[["quarter-header"]],features:[Rn],decls:12,vars:33,consts:[["role","button","type","button","tabindex","-1",3,"click","title"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],["role","button","type","button",3,"class","title"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"click","title"]],template:function(i,r){1&i&&(ni(0,"div")(1,"button",0),hr("click",function(){return r.superPrevious()}),Ur(2,"span",1),ii(),ni(3,"button",0),hr("click",function(){return r.previous()}),Ur(4,"span",2),ii(),ni(5,"div"),Ti(6,hfe,2,5,"button",3,h4,!0),ii(),ni(8,"button",0),hr("click",function(){return r.next()}),Ur(9,"span",4),ii(),ni(10,"button",0),hr("click",function(){return r.superNext()}),Ur(11,"span",5),ii()()),2&i&&(Oe(r.prefixCls),z(),Oe(pe("",r.prefixCls,"-super-prev-btn")),Zi("visibility",r.showSuperPreBtn?"visible":"hidden"),Xi("title",Mt(r.superPreviousTitle())),z(2),Oe(pe("",r.prefixCls,"-prev-btn")),Zi("visibility",r.showPreBtn?"visible":"hidden"),Xi("title",Mt(r.previousTitle())),z(2),Oe(pe("",r.prefixCls,"-view")),z(),Di(r.selectors),z(2),Oe(pe("",r.prefixCls,"-next-btn")),Zi("visibility",r.showNextBtn?"visible":"hidden"),Xi("title",Mt(r.nextTitle())),z(2),Oe(pe("",r.prefixCls,"-super-next-btn")),Zi("visibility",r.showSuperNextBtn?"visible":"hidden"),Xi("title",Mt(r.superNextTitle())))},encapsulation:2,changeDetection:0})}return t})(),s6e=(()=>{class t extends p4{dateHelper=U(Es);MAX_ROW=1;MAX_COL=4;changeValueFromInside(e){this.activeDate=e.clone(),this.valueChange.emit(this.activeDate),this.activeDate.isSameQuarter(this.value)||this.render()}makeHeadRow(){return[]}makeBodyRows(){const e=[],i=[{dateCells:e,trackByIndex:0}];let r=1;for(let o=1;o<=this.MAX_COL;o++,r++){const a=this.activeDate.setQuarter(r),s=this.isDisabledQuarter(a),l=this.dateHelper.format(a.nativeDate,"[Q]Q"),c={trackByIndex:o,value:a.nativeDate,isDisabled:s,isSelected:a.isSameQuarter(this.value),content:l,title:l,classMap:{},cellRender:Bc(this.cellRender,a),fullCellRender:Bc(this.fullCellRender,a),onClick:()=>this.changeValueFromInside(a),onMouseEnter:()=>this.cellHover.emit(a)};this.addCellProperty(c,a),e.push(c)}return i}isDisabledQuarter(e){if(!this.disabledDate)return!1;for(let r=new ri(f9(e.nativeDate));r.getQuarter()===e.getQuarter();r=r.addMonths(1))if(!this.disabledDate(r.nativeDate))return!1;return!0}addCellProperty(e,i){if(this.hasRangeValue()){const[r,o]=this.hoverValue,[a,s]=this.selectedValue;a?.isSameQuarter(i)&&(e.isSelectedStart=!0,e.isSelected=!0),s?.isSameQuarter(i)&&(e.isSelectedEnd=!0,e.isSelected=!0),r&&o&&(e.isHoverStart=r.isSameQuarter(i),e.isHoverEnd=o.isSameQuarter(i),e.isLastCellInPanel=4===i.getQuarter(),e.isFirstCellInPanel=1===i.getQuarter(),e.isInHoverRange=r.isBeforeQuarter(i)&&i.isBeforeQuarter(o)),e.isStartSingle=a&&!s,e.isEndSingle=!a&&s,e.isInSelectedRange=a?.isBeforeQuarter(i)&&i?.isBeforeQuarter(s),e.isRangeStartNearHover=a&&e.isInHoverRange,e.isRangeEndNearHover=s&&e.isInHoverRange}else i.isSameQuarter(this.value)&&(e.isSelected=!0);e.classMap=this.getClassMap(e)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275cmp=bt({type:t,selectors:[["quarter-table"]],features:[Rn],decls:5,vars:1,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],["role","row",3,"class"],["role","row"],["role","columnheader"],["role","columnheader",3,"title"],["role","gridcell",3,"class"],["role","gridcell",3,"title","class"],["role","gridcell"],["role","gridcell",3,"click","mouseenter","title"],[3,"class","ant-picker-calendar-date-today"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"class"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,r){1&i&&(J(0,"table",0),lt(1,pfe,5,1,"thead"),J(2,"tbody"),Ti(3,xfe,4,3,"tr",1,nc),te()()),2&i&&(z(),ct(r.headRow&&r.headRow.length>0?1:-1),z(2),Di(r.bodyRows))},dependencies:[Qo],encapsulation:2,changeDetection:0})}return t})(),l6e=(()=>{class t extends m4{dateHelper=U(Es);mode="month";getSelectors(){return[{className:`${this.prefixCls}-month-btn`,title:this.locale.yearSelect,onClick:()=>{this.mode="year",this.changeMode("year")},label:this.dateHelper.format(this.value.nativeDate,f4(this.locale.yearFormat))}]}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275cmp=bt({type:t,selectors:[["month-header"]],features:[Rn],decls:12,vars:33,consts:[["role","button","type","button","tabindex","-1",3,"click","title"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],["role","button","type","button",3,"class","title"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"click","title"]],template:function(i,r){1&i&&(ni(0,"div")(1,"button",0),hr("click",function(){return r.superPrevious()}),Ur(2,"span",1),ii(),ni(3,"button",0),hr("click",function(){return r.previous()}),Ur(4,"span",2),ii(),ni(5,"div"),Ti(6,kfe,2,5,"button",3,h4,!0),ii(),ni(8,"button",0),hr("click",function(){return r.next()}),Ur(9,"span",4),ii(),ni(10,"button",0),hr("click",function(){return r.superNext()}),Ur(11,"span",5),ii()()),2&i&&(Oe(r.prefixCls),z(),Oe(pe("",r.prefixCls,"-super-prev-btn")),Zi("visibility",r.showSuperPreBtn?"visible":"hidden"),Xi("title",Mt(r.superPreviousTitle())),z(2),Oe(pe("",r.prefixCls,"-prev-btn")),Zi("visibility",r.showPreBtn?"visible":"hidden"),Xi("title",Mt(r.previousTitle())),z(2),Oe(pe("",r.prefixCls,"-view")),z(),Di(r.selectors),z(2),Oe(pe("",r.prefixCls,"-next-btn")),Zi("visibility",r.showNextBtn?"visible":"hidden"),Xi("title",Mt(r.nextTitle())),z(2),Oe(pe("",r.prefixCls,"-super-next-btn")),Zi("visibility",r.showSuperNextBtn?"visible":"hidden"),Xi("title",Mt(r.superNextTitle())))},encapsulation:2,changeDetection:0})}return t})(),c6e=(()=>{class t extends p4{dateHelper=U(Es);MAX_ROW=4;MAX_COL=3;makeHeadRow(){return[]}makeBodyRows(){const e=[];let i=0;for(let r=0;r<this.MAX_ROW;r++){const o={dateCells:[],trackByIndex:r};for(let a=0;a<this.MAX_COL;a++){const s=this.activeDate.setMonth(i),l=this.isDisabledMonth(s),c=this.dateHelper.format(s.nativeDate,"MMM"),h={trackByIndex:a,value:s.nativeDate,isDisabled:l,isSelected:s.isSameMonth(this.value),content:c,title:c,classMap:{},cellRender:Bc(this.cellRender,s),fullCellRender:Bc(this.fullCellRender,s),onClick:()=>this.chooseMonth(h.value.getMonth()),onMouseEnter:()=>this.cellHover.emit(s)};this.addCellProperty(h,s),o.dateCells.push(h),i++}e.push(o)}return e}isDisabledMonth(e){if(!this.disabledDate)return!1;for(let r=e.setDate(1);r.getMonth()===e.getMonth();r=r.addDays(1))if(!this.disabledDate(r.nativeDate))return!1;return!0}addCellProperty(e,i){if(this.hasRangeValue()){const[r,o]=this.hoverValue,[a,s]=this.selectedValue;a?.isSameMonth(i)&&(e.isSelectedStart=!0,e.isSelected=!0),s?.isSameMonth(i)&&(e.isSelectedEnd=!0,e.isSelected=!0),r&&o&&(e.isHoverStart=r.isSameMonth(i),e.isHoverEnd=o.isSameMonth(i),e.isLastCellInPanel=11===i.getMonth(),e.isFirstCellInPanel=0===i.getMonth(),e.isInHoverRange=r.isBeforeMonth(i)&&i.isBeforeMonth(o)),e.isStartSingle=a&&!s,e.isEndSingle=!a&&s,e.isInSelectedRange=a?.isBeforeMonth(i)&&i?.isBeforeMonth(s),e.isRangeStartNearHover=a&&e.isInHoverRange,e.isRangeEndNearHover=s&&e.isInHoverRange}else i.isSameMonth(this.value)&&(e.isSelected=!0);e.classMap=this.getClassMap(e)}chooseMonth(e){this.value=this.activeDate.setMonth(e),this.valueChange.emit(this.value)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275cmp=bt({type:t,selectors:[["month-table"]],features:[Rn],decls:5,vars:1,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],["role","row",3,"class"],["role","row"],["role","columnheader"],["role","columnheader",3,"title"],["role","gridcell",3,"class"],["role","gridcell",3,"title","class"],["role","gridcell"],["role","gridcell",3,"click","mouseenter","title"],[3,"class","ant-picker-calendar-date-today"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"class"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,r){1&i&&(J(0,"table",0),lt(1,zfe,5,1,"thead"),J(2,"tbody"),Ti(3,qfe,4,3,"tr",1,nc),te()()),2&i&&(z(),ct(r.headRow&&r.headRow.length>0?1:-1),z(2),Di(r.bodyRows))},dependencies:[Qo],encapsulation:2,changeDetection:0})}return t})(),u6e=(()=>{class t extends m4{dateHelper=U(Es);mode="date";getSelectors(){return[{className:`${this.prefixCls}-year-btn`,title:this.locale.yearSelect,onClick:()=>{this.mode="year",this.changeMode("year")},label:this.dateHelper.format(this.value.nativeDate,f4(this.locale.yearFormat))},{className:`${this.prefixCls}-month-btn`,title:this.locale.monthSelect,onClick:()=>{this.mode="month",this.changeMode("month")},label:this.dateHelper.format(this.value.nativeDate,this.locale.monthFormat||"MMM")}]}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275cmp=bt({type:t,selectors:[["date-header"]],features:[Rn],decls:12,vars:33,consts:[["role","button","type","button","tabindex","-1",3,"click","title"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],["role","button","type","button",3,"class","title"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"click","title"]],template:function(i,r){1&i&&(ni(0,"div")(1,"button",0),hr("click",function(){return r.superPrevious()}),Ur(2,"span",1),ii(),ni(3,"button",0),hr("click",function(){return r.previous()}),Ur(4,"span",2),ii(),ni(5,"div"),Ti(6,Yfe,2,5,"button",3,h4,!0),ii(),ni(8,"button",0),hr("click",function(){return r.next()}),Ur(9,"span",4),ii(),ni(10,"button",0),hr("click",function(){return r.superNext()}),Ur(11,"span",5),ii()()),2&i&&(Oe(r.prefixCls),z(),Oe(pe("",r.prefixCls,"-super-prev-btn")),Zi("visibility",r.showSuperPreBtn?"visible":"hidden"),Xi("title",Mt(r.superPreviousTitle())),z(2),Oe(pe("",r.prefixCls,"-prev-btn")),Zi("visibility",r.showPreBtn?"visible":"hidden"),Xi("title",Mt(r.previousTitle())),z(2),Oe(pe("",r.prefixCls,"-view")),z(),Di(r.selectors),z(2),Oe(pe("",r.prefixCls,"-next-btn")),Zi("visibility",r.showNextBtn?"visible":"hidden"),Xi("title",Mt(r.nextTitle())),z(2),Oe(pe("",r.prefixCls,"-super-next-btn")),Zi("visibility",r.showSuperNextBtn?"visible":"hidden"),Xi("title",Mt(r.superNextTitle())))},encapsulation:2,changeDetection:0})}return t})(),d6e=(()=>{class t extends p4{format;i18n=U(Dd);dateHelper=U(Es);changeValueFromInside(e){this.activeDate=this.activeDate.setYear(e.getYear()).setMonth(e.getMonth()).setDate(e.getDate()),this.valueChange.emit(this.activeDate),this.activeDate.isSameMonth(this.value)||this.render()}makeHeadRow(){const e=[],i=this.activeDate.calendarStart({weekStartsOn:this.dateHelper.getFirstDayOfWeek()});for(let r=0;r<this.MAX_COL;r++){const o=i.addDays(r);e.push({trackByIndex:null,value:o.nativeDate,title:this.dateHelper.format(o.nativeDate,"E"),content:this.dateHelper.format(o.nativeDate,this.getVeryShortWeekFormat()),isSelected:!1,isDisabled:!1,onClick(){},onMouseEnter(){}})}return e}getVeryShortWeekFormat(){return 0===this.i18n.getLocaleId().toLowerCase().indexOf("zh")?"EEEEE":"EEEEEE"}makeBodyRows(){const e=[],i=this.activeDate.calendarStart({weekStartsOn:this.dateHelper.getFirstDayOfWeek()});for(let r=0;r<this.MAX_ROW;r++){const o=i.addDays(7*r),a={isActive:!1,dateCells:[],trackByIndex:r};for(let s=0;s<7;s++){const l=o.addDays(s),c=f4(this.format??this.i18n.getLocaleData("DatePicker.lang.dateFormat","YYYY-MM-DD")),h=this.dateHelper.format(l.nativeDate,c),g=this.dateHelper.format(l.nativeDate,"dd"),L={trackByIndex:s,value:l.nativeDate,label:g,isSelected:!1,isDisabled:!1,isToday:!1,title:h,cellRender:Bc(this.cellRender,l),fullCellRender:Bc(this.fullCellRender,l),content:`${l.getDate()}`,onClick:()=>this.changeValueFromInside(l),onMouseEnter:()=>this.cellHover.emit(l)};this.addCellProperty(L,l),this.showWeek&&!a.weekNum&&(a.weekNum=this.dateHelper.getISOWeek(l.nativeDate)),l.isSameDay(this.value)&&(a.isActive=l.isSameDay(this.value)),a.dateCells.push(L)}a.classMap={"ant-picker-week-panel-row":this.canSelectWeek,"ant-picker-week-panel-row-selected":this.canSelectWeek&&a.isActive},e.push(a)}return e}addCellProperty(e,i){if(this.hasRangeValue()&&!this.canSelectWeek){const[r,o]=this.hoverValue,[a,s]=this.selectedValue;a?.isSameDay(i)&&(e.isSelectedStart=!0,e.isSelected=!0),s?.isSameDay(i)&&(e.isSelectedEnd=!0,e.isSelected=!0),r&&o&&(e.isHoverStart=r.isSameDay(i),e.isHoverEnd=o.isSameDay(i),e.isLastCellInPanel=i.isLastDayOfMonth(),e.isFirstCellInPanel=i.isFirstDayOfMonth(),e.isInHoverRange=r.isBeforeDay(i)&&i.isBeforeDay(o)),e.isStartSingle=a&&!s,e.isEndSingle=!a&&s,e.isInSelectedRange=a?.isBeforeDay(i)&&i.isBeforeDay(s),e.isRangeStartNearHover=a&&e.isInHoverRange,e.isRangeEndNearHover=s&&e.isInHoverRange}e.isToday=i.isToday(),e.isSelected=i.isSameDay(this.value),e.isDisabled=!!this.disabledDate?.(i.nativeDate),e.classMap=this.getClassMap(e)}getClassMap(e){const i=new ri(e.value);return{...super.getClassMap(e),"ant-picker-cell-today":!!e.isToday,"ant-picker-cell-in-view":i.isSameMonth(this.activeDate)}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275cmp=bt({type:t,selectors:[["date-table"]],inputs:{format:"format"},features:[Rn],decls:5,vars:1,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],["role","row",3,"class"],["role","row"],["role","columnheader"],["role","columnheader",3,"title"],["role","gridcell",3,"class"],["role","gridcell",3,"title","class"],["role","gridcell"],["role","gridcell",3,"click","mouseenter","title"],[3,"class","ant-picker-calendar-date-today"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"class"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,r){1&i&&(J(0,"table",0),lt(1,Wfe,5,1,"thead"),J(2,"tbody"),Ti(3,o3e,4,3,"tr",1,nc),te()()),2&i&&(z(),ct(r.headRow&&r.headRow.length>0?1:-1),z(2),Di(r.bodyRows))},dependencies:[Qo],encapsulation:2,changeDetection:0})}return t})(),h6e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({})}return t})(),kP=(()=>{class t{activeDate;endPanelMode;panelMode;showWeek;locale;showTimePicker;timeOptions;disabledDate;dateRender;selectedValue;hoverValue;value;partType;format;panelChange=new dt;headerChange=new dt;selectDate=new dt;selectTime=new dt;cellHover=new dt;prefixCls=K8;enablePrevNext(e,i){return!(!this.showTimePicker&&i===this.endPanelMode&&("left"===this.partType&&"next"===e||"right"===this.partType&&"prev"===e))}onLeave(){this.cellHover.emit(null)}onSelectTime(e){this.selectTime.emit(new ri(e))}onSelectDate(e){const i=e instanceof ri?e:new ri(e),r=this.timeOptions&&this.timeOptions.nzDefaultOpenValue;!this.value&&r&&i.setHms(r.getHours(),r.getMinutes(),r.getSeconds()),this.selectDate.emit(i)}onChooseMonth(e){this.activeDate=this.activeDate.setMonth(e.getMonth()),"month"===this.endPanelMode?(this.value=e,this.selectDate.emit(e)):(this.headerChange.emit(e),this.panelChange.emit({mode:this.endPanelMode,date:e.nativeDate}))}onChooseQuarter(e){this.activeDate=this.activeDate.setQuarter(e.getQuarter()),this.value=e,this.selectDate.emit(e)}onChooseYear(e){this.activeDate=this.activeDate.setYear(e.getYear()),"year"===this.endPanelMode?(this.value=e,this.selectDate.emit(e)):(this.headerChange.emit(e),this.panelChange.emit({mode:this.endPanelMode,date:e.nativeDate}))}onChooseDecade(e){this.activeDate=this.activeDate.setYear(e.getYear()),"decade"===this.endPanelMode?(this.value=e,this.selectDate.emit(e)):(this.headerChange.emit(e),this.panelChange.emit({mode:"year",date:e.nativeDate}))}ngOnChanges(e){e.activeDate&&!e.activeDate.currentValue&&(this.activeDate=new ri),e.panelMode&&"time"===e.panelMode.currentValue&&(this.panelMode="date")}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["inner-popup"]],inputs:{activeDate:"activeDate",endPanelMode:"endPanelMode",panelMode:"panelMode",showWeek:[2,"showWeek","showWeek",Qe],locale:"locale",showTimePicker:[2,"showTimePicker","showTimePicker",Qe],timeOptions:"timeOptions",disabledDate:"disabledDate",dateRender:"dateRender",selectedValue:"selectedValue",hoverValue:"hoverValue",value:"value",partType:"partType",format:"format"},outputs:{panelChange:"panelChange",headerChange:"headerChange",selectDate:"selectDate",selectTime:"selectTime",cellHover:"cellHover"},features:[vn],decls:8,vars:8,consts:[[3,"mouseleave"],[3,"nzInDatePicker","ngModel","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzHideDisabledOptions","nzDefaultOpenValue","nzUse12Hours","nzAddOn"],[3,"valueChange","panelChange","value","locale","showSuperPreBtn","showSuperNextBtn","showNextBtn","showPreBtn"],[3,"valueChange","activeDate","value","locale","disabledDate"],[3,"valueChange","cellHover","activeDate","value","locale","disabledDate","selectedValue","hoverValue"],[3,"valueChange","cellHover","value","activeDate","locale","disabledDate","selectedValue","hoverValue"],[3,"valueChange","cellHover","value","activeDate","locale","disabledDate","selectedValue","hoverValue","cellRender"],[3,"valueChange","panelChange","value","locale","showSuperPreBtn","showSuperNextBtn","showPreBtn","showNextBtn"],[3,"valueChange","cellHover","locale","showWeek","value","activeDate","disabledDate","cellRender","selectedValue","hoverValue","canSelectWeek","format"],[3,"ngModelChange","nzInDatePicker","ngModel","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzHideDisabledOptions","nzDefaultOpenValue","nzUse12Hours","nzAddOn"]],template:function(i,r){if(1&i&&(J(0,"div",0),Ne("mouseleave",function(){return r.onLeave()}),J(1,"div"),lt(2,a3e,3,13)(3,s3e,3,15)(4,l3e,3,15)(5,c3e,3,16)(6,u3e,3,19),te(),lt(7,d3e,1,13,"nz-time-picker-panel",1),te()),2&i){let o;Bt("ant-picker-datetime-panel",r.showTimePicker),z(),Oe($l("",r.prefixCls,"-",r.panelMode,"-panel")),z(),ct("decade"===(o=r.panelMode)?2:"year"===o?3:"month"===o?4:"quarter"===o?5:6),z(5),ct(r.showTimePicker&&r.timeOptions?7:-1)}},dependencies:[h6e,u6e,d6e,e6e,i6e,l6e,c6e,r6e,o6e,a6e,s6e,SP,N_,Nh,ja,za],encapsulation:2,changeDetection:0})}return t})(),F_=(()=>{class t{datePickerService=U(R_);cdr=U(Cr);host=U(un);destroyRef=U(In);isRange;inline=!1;showWeek;locale;disabledDate;disabledTime;showToday;showNow;showTime;extraFooter;ranges;dateRender;panelMode;defaultPickerValue;dir="ltr";format;panelModeChange=new dt;calendarChange=new dt;resultOk=new dt;prefixCls=K8;endPanelMode="date";timeOptions=null;hoverValue=[];checkedPartArr=[!1,!1];get hasTimePicker(){return!!this.showTime}get hasFooter(){return this.showToday||this.hasTimePicker||!!this.extraFooter||!!this.ranges}get arrowPosition(){return"rtl"===this.dir?{right:`${this.datePickerService?.arrowLeft}px`}:{left:`${this.datePickerService?.arrowLeft}px`}}ngOnInit(){Ss(this.datePickerService.valueChange$,this.datePickerService.inputPartChange$).pipe(mt(this.destroyRef)).subscribe(()=>{this.updateActiveDate(),this.cdr.markForCheck()}),ks(this.host.nativeElement,"mousedown").pipe(mt(this.destroyRef)).subscribe(e=>e.preventDefault())}ngOnChanges(e){(e.showTime||e.disabledTime)&&this.showTime&&this.buildTimeOptions(),e.panelMode&&(this.endPanelMode=this.panelMode),e.defaultPickerValue&&this.updateActiveDate()}updateActiveDate(){const e=this.datePickerService.hasValue()?this.datePickerService.value:this.datePickerService.makeValue(this.defaultPickerValue);this.datePickerService.setActiveDate(e,this.hasTimePicker,this.getPanelMode(this.endPanelMode))}onClickOk(){this.changeValueFromSelect(this.isRange?this.datePickerService.value[{left:0,right:1}[this.datePickerService.activeInput]]:this.datePickerService.value),this.resultOk.emit()}onClickToday(e){this.changeValueFromSelect(e,!this.showTime)}onCellHover(e){if(!this.isRange)return;if(null===e)return void(this.hoverValue=[]);const r=this.datePickerService.value[{left:1,right:0}[this.datePickerService.activeInput]];r&&(this.hoverValue=r.isBeforeDay(e)?[r,e]:[e,r])}onPanelModeChange(e,i){this.isRange?(this.panelMode=0===this.datePickerService.getActiveIndex(i)?[e.mode,this.panelMode[1]]:[this.panelMode[0],e.mode],this.panelModeChange.emit({mode:this.panelMode,date:this.datePickerService.activeDate.map(o=>o.nativeDate)})):(this.panelMode=e.mode,this.panelModeChange.emit({mode:this.panelMode,date:e.date}))}onActiveDateChange(e,i){if(this.isRange){const r=[];r[this.datePickerService.getActiveIndex(i)]=e,this.datePickerService.setActiveDate(r,this.hasTimePicker,this.getPanelMode(this.endPanelMode,i))}else this.datePickerService.setActiveDate(e)}onSelectTime(e,i){if(this.isRange){const r=Xh(this.datePickerService.value),o=this.datePickerService.getActiveIndex(i);r[o]=this.overrideHms(e,r[o]),this.datePickerService.setValue(r)}else{const r=this.overrideHms(e,this.datePickerService.value);this.datePickerService.setValue(r)}this.datePickerService.inputPartChange$.next(null),this.buildTimeOptions()}changeValueFromSelect(e,i=!0){if(this.isRange){const r=Xh(this.datePickerService.value),o=this.datePickerService.activeInput;let a=o;r[this.datePickerService.getActiveIndex(o)]=e,this.checkedPartArr[this.datePickerService.getActiveIndex(o)]=!0,this.hoverValue=r,i?this.inline?(a=this.reversedPart(o),"right"===a&&(r[this.datePickerService.getActiveIndex(a)]=null,this.checkedPartArr[this.datePickerService.getActiveIndex(a)]=!1),this.datePickerService.setValue(r),this.calendarChange.emit(r),this.isBothAllowed(r)&&this.checkedPartArr[0]&&this.checkedPartArr[1]&&(this.clearHoverValue(),this.datePickerService.emitValue$.next())):(FL(r)&&(a=this.reversedPart(o),r[this.datePickerService.getActiveIndex(a)]=null,this.checkedPartArr[this.datePickerService.getActiveIndex(a)]=!1),this.datePickerService.setValue(r),this.isBothAllowed(r)&&this.checkedPartArr[0]&&this.checkedPartArr[1]?(this.calendarChange.emit(r),this.clearHoverValue(),this.datePickerService.emitValue$.next()):this.isAllowed(r)&&(a=this.reversedPart(o),this.calendarChange.emit([e.clone()]))):this.datePickerService.setValue(r),this.datePickerService.inputPartChange$.next(a)}else this.datePickerService.setValue(e),this.datePickerService.inputPartChange$.next(null),i&&this.isAllowed(e)&&this.datePickerService.emitValue$.next();this.buildTimeOptions()}reversedPart(e){return"left"===e?"right":"left"}getPanelMode(e,i){return this.isRange?e[this.datePickerService.getActiveIndex(i)]:e}getValue(e){return this.isRange?(this.datePickerService.value||[])[this.datePickerService.getActiveIndex(e)]:this.datePickerService.value}getActiveDate(e){return this.isRange?this.datePickerService.activeDate[this.datePickerService.getActiveIndex(e)]:this.datePickerService.activeDate}disabledStartTime=e=>this.disabledTime&&this.disabledTime(e,"start");disabledEndTime=e=>this.disabledTime&&this.disabledTime(e,"end");isOneAllowed(e){const i=this.datePickerService.getActiveIndex();return Q8(e[i],this.disabledDate,[this.disabledStartTime,this.disabledEndTime][i])}isBothAllowed(e){return Q8(e[0],this.disabledDate,this.disabledStartTime)&&Q8(e[1],this.disabledDate,this.disabledEndTime)}isAllowed(e,i=!1){return this.isRange?i?this.isBothAllowed(e):this.isOneAllowed(e):Q8(e,this.disabledDate,this.disabledTime)}getTimeOptions(e){return this.showTime&&this.timeOptions?this.timeOptions instanceof Array?this.timeOptions[this.datePickerService.getActiveIndex(e)]:this.timeOptions:null}onClickPresetRange(e){const i="function"==typeof e?e():e;i&&(this.datePickerService.setValue([new ri(i[0]),new ri(i[1])]),this.datePickerService.emitValue$.next())}onPresetRangeMouseLeave(){this.clearHoverValue()}onHoverPresetRange(e){"function"!=typeof e&&(this.hoverValue=[new ri(e[0]),new ri(e[1])])}getObjectKeys(e){return e?Object.keys(e):[]}show(e){return!(this.showTime&&this.isRange&&this.datePickerService.activeInput!==e)}clearHoverValue(){this.hoverValue=[]}buildTimeOptions(){if(this.showTime){const e="object"==typeof this.showTime?this.showTime:{};if(this.isRange){const i=this.datePickerService.value;this.timeOptions=[this.overrideTimeOptions(e,i[0],"start"),this.overrideTimeOptions(e,i[1],"end")]}else this.timeOptions=this.overrideTimeOptions(e,this.datePickerService.value)}else this.timeOptions=null}overrideTimeOptions(e,i,r){let o;return o=r?"start"===r?this.disabledStartTime:this.disabledEndTime:this.disabledTime,{...e,...DP(i,o)}}overrideHms(e,i){return e=e||new ri,(i=i||new ri).setHms(e.getHours(),e.getMinutes(),e.getSeconds())}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["date-range-popup"]],inputs:{isRange:[2,"isRange","isRange",Qe],inline:[2,"inline","inline",Qe],showWeek:[2,"showWeek","showWeek",Qe],locale:"locale",disabledDate:"disabledDate",disabledTime:"disabledTime",showToday:[2,"showToday","showToday",Qe],showNow:[2,"showNow","showNow",Qe],showTime:"showTime",extraFooter:"extraFooter",ranges:"ranges",dateRender:"dateRender",panelMode:"panelMode",defaultPickerValue:"defaultPickerValue",dir:"dir",format:"format"},outputs:{panelModeChange:"panelModeChange",calendarChange:"calendarChange",resultOk:"resultOk"},features:[vn],decls:8,vars:1,consts:[["tplInnerPopup",""],["tplFooter",""],["tplRangeQuickSelector",""],[3,"class"],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","-1"],[3,"panelChange","cellHover","selectDate","selectTime","headerChange","showWeek","endPanelMode","partType","locale","showTimePicker","timeOptions","panelMode","activeDate","value","disabledDate","dateRender","selectedValue","hoverValue","format"],[3,"locale","isRange","showToday","showNow","hasTimePicker","okDisabled","extraFooter","rangeQuickSelector"],[3,"clickOk","clickToday","locale","isRange","showToday","showNow","hasTimePicker","okDisabled","extraFooter","rangeQuickSelector"],[3,"click","mouseenter","mouseleave"],[1,"ant-tag","ant-tag-blue"]],template:function(i,r){1&i&&(lt(0,y3e,7,18,"div",3)(1,w3e,4,13,"div",3),ve(2,S3e,2,19,"ng-template",null,0,ho)(4,T3e,1,1,"ng-template",null,1,ho)(6,x3e,2,0,"ng-template",null,2,ho)),2&i&&ct(r.isRange?0:1)},dependencies:[kP,_l,xP],encapsulation:2,changeDetection:0})}return t})();const H_={position:"relative"};let V_=(()=>{let t,i,a,c,n=[],e=[],r=[],o=[],s=[],l=[],h=[],g=[];return class wm{static{const y="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;t=[Mr()],i=[Mr()],a=[Mr()],c=[Mr()],mr(null,null,t,{kind:"field",name:"nzVariant",static:!1,private:!1,access:{has:x=>"nzVariant"in x,get:x=>x.nzVariant,set:(x,B)=>{x.nzVariant=B}},metadata:y},n,e),mr(null,null,i,{kind:"field",name:"nzSeparator",static:!1,private:!1,access:{has:x=>"nzSeparator"in x,get:x=>x.nzSeparator,set:(x,B)=>{x.nzSeparator=B}},metadata:y},r,o),mr(null,null,a,{kind:"field",name:"nzSuffixIcon",static:!1,private:!1,access:{has:x=>"nzSuffixIcon"in x,get:x=>x.nzSuffixIcon,set:(x,B)=>{x.nzSuffixIcon=B}},metadata:y},s,l),mr(null,null,c,{kind:"field",name:"nzBackdrop",static:!1,private:!1,access:{has:x=>"nzBackdrop"in x,get:x=>x.nzBackdrop,set:(x,B)=>{x.nzBackdrop=B}},metadata:y},h,g),y&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:y})}nzConfigService=U(Ml);datePickerService=U(R_);i18n=U(Dd);cdr=U(Cr);renderer=U(to);elementRef=U(un);dateHelper=U(Es);nzResizeObserver=U(yP);platform=U(Aa);directionality=U(oo);destroyRef=U(In);_nzModuleName="datePicker";static ngAcceptInputType_nzShowTime;static ngAcceptInputType_nzMode;isRange=!1;extraFooter;dir="ltr";statusCls={};status="";hasFeedback=!1;panelMode="date";isCustomPlaceHolder=!1;isCustomFormat=!1;showTime=!1;isNzDisableFirstChange=!0;nzAllowClear=!0;nzAutoFocus=!1;nzDisabled=!1;nzBorderless=!1;nzInputReadOnly=!1;nzInline=!1;nzOpen;nzDisabledDate;nzLocale;nzPlaceHolder="";nzPopupStyle=H_;nzDropdownClassName;nzSize="default";nzStatus="";nzFormat;nzVariant=rn(this,n,"outlined");nzDateRender=rn(this,e);nzDisabledTime;nzRenderExtraFooter;nzShowToday=!0;nzMode="date";nzShowNow=!0;nzRanges;nzDefaultPickerValue=null;nzSeparator=rn(this,r,void 0);nzSuffixIcon=(rn(this,o),rn(this,s,"calendar"));nzBackdrop=(rn(this,l),rn(this,h,!1));nzId=(rn(this,g),null);nzPlacement="bottomLeft";nzShowWeekNumber=!1;nzOnPanelChange=new dt;nzOnCalendarChange=new dt;nzOnOk=new dt;nzOnOpenChange=new dt;get nzShowTime(){return this.showTime}set nzShowTime(y){this.showTime="object"==typeof y?y:v9(y)}cdkConnectedOverlay;panel;separatorElement;pickerInput;rangePickerInputs;get origin(){return this.elementRef}inputSize=12;inputWidth;prefixCls=K8;inputValue;activeBarStyle={};overlayOpen=!1;overlayPositions=[...CP];currentPositionX="start";currentPositionY="bottom";get realOpenState(){return this.isOpenHandledByUser()?!!this.nzOpen:this.overlayOpen}finalSize=Co(()=>this.compactSize?this.compactSize():this.size());size=Jr(this.nzSize);compactSize=U(N8,{optional:!0});document=U(br);ngAfterViewInit(){this.nzAutoFocus&&this.focus(),this.isRange&&this.platform.isBrowser&&this.nzResizeObserver.observe(this.elementRef).pipe(mt(this.destroyRef)).subscribe(()=>{this.updateInputWidthAndArrowLeft()}),this.datePickerService.inputPartChange$.pipe(mt(this.destroyRef)).subscribe(y=>{y&&(this.datePickerService.activeInput=y),this.focus(),this.updateInputWidthAndArrowLeft()}),this.platform.isBrowser&&ks(this.elementRef.nativeElement,"mousedown").pipe(mt(this.destroyRef)).subscribe(y=>{"input"!==y.target.tagName.toLowerCase()&&y.preventDefault()})}updateInputWidthAndArrowLeft(){this.inputWidth=this.rangePickerInputs?.first?.nativeElement.offsetWidth||0;const y={position:"absolute",width:`${this.inputWidth}px`};this.datePickerService.arrowLeft="left"===this.datePickerService.activeInput?0:this.inputWidth+this.separatorElement?.nativeElement.offsetWidth||0,this.activeBarStyle="rtl"===this.dir?{...y,right:`${this.datePickerService.arrowLeft}px`}:{...y,left:`${this.datePickerService.arrowLeft}px`},this.cdr.markForCheck()}getInput(y){if(!this.nzInline)return this.isRange?"left"===y?this.rangePickerInputs?.first.nativeElement:this.rangePickerInputs?.last.nativeElement:this.pickerInput.nativeElement}focus(){const y=this.getInput(this.datePickerService.activeInput);this.document.activeElement!==y&&y?.focus()}onFocus(y,x){y.preventDefault(),x&&this.datePickerService.inputPartChange$.next(x),this.renderClass(!0)}onFocusout(y){y.preventDefault(),this.onTouchedFn(),this.elementRef.nativeElement.contains(y.relatedTarget)||this.checkAndClose(),this.renderClass(!1)}open(){this.nzInline||!this.realOpenState&&!this.nzDisabled&&(this.updateInputWidthAndArrowLeft(),this.overlayOpen=!0,this.nzOnOpenChange.emit(!0),this.focus(),this.cdr.markForCheck())}close(){this.nzInline||this.realOpenState&&(this.overlayOpen=!1,this.nzOnOpenChange.emit(!1))}get showClear(){return!this.nzDisabled&&!this.isEmptyValue(this.datePickerService.value)&&this.nzAllowClear}checkAndClose(){if(this.realOpenState)if(this.panel.isAllowed(this.datePickerService.value,!0)){if(Array.isArray(this.datePickerService.value)&&FL(this.datePickerService.value)){const y=this.datePickerService.getActiveIndex();return void this.panel.changeValueFromSelect(this.datePickerService.value[y],!0)}this.updateInputValue(),this.datePickerService.emitValue$.next()}else this.datePickerService.setValue(this.datePickerService.initialValue),this.close()}onClickInputBox(y){y.stopPropagation(),this.focus(),this.isOpenHandledByUser()||this.open()}onOverlayKeydown(y){27===y.keyCode&&this.datePickerService.initValue()}onPositionChange(y){this.currentPositionX=y.connectionPair.originX,this.currentPositionY=y.connectionPair.originY,this.cdr.detectChanges()}onClickClear(y){y.preventDefault(),y.stopPropagation(),this.datePickerService.initValue(!0),this.datePickerService.emitValue$.next()}updateInputValue(){const y=this.datePickerService.value;this.inputValue=this.isRange?y?y.map(x=>this.formatValue(x)):["",""]:this.formatValue(y),this.cdr.markForCheck()}formatValue(y){return this.dateHelper.format(y&&y.nativeDate,this.nzFormat)}onInputChange(y,x=!1){if(!this.platform.TRIDENT&&this.document.activeElement===this.getInput(this.datePickerService.activeInput)&&!this.realOpenState)return void this.open();const B=this.checkValidDate(y);B&&this.realOpenState&&this.panel.changeValueFromSelect(B,x)}onKeyupEnter(y){this.onInputChange(y.target.value,!0)}checkValidDate(y){const x=new ri(this.dateHelper.parseDate(y,this.nzFormat));return x.isValid()&&y===this.dateHelper.format(x.nativeDate,this.nzFormat)?x:null}getPlaceholder(y){return this.isRange?this.nzPlaceHolder[this.datePickerService.getActiveIndex(y)]:this.nzPlaceHolder}isEmptyValue(y){return null===y||(this.isRange?!y||!Array.isArray(y)||y.every(x=>!x):!y)}isOpenHandledByUser(){return void 0!==this.nzOpen}noAnimation=U(tc,{host:!0,optional:!0});nzFormStatusService=U(P8,{optional:!0});nzFormNoStatusService=U(VO,{optional:!0});ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe(Vu((y,x)=>y.status===x.status&&y.hasFeedback===x.hasFeedback),_P(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:Wt(!1)),jt(([{status:y,hasFeedback:x},B])=>({status:B?"":y,hasFeedback:x})),mt(this.destroyRef)).subscribe(({status:y,hasFeedback:x})=>{this.setStatusStyles(y,x)}),this.nzLocale||this.i18n.localeChange.pipe(mt(this.destroyRef)).subscribe(()=>this.setLocale()),this.datePickerService.isRange=this.isRange,this.datePickerService.initValue(!0),this.datePickerService.emitValue$.pipe(mt(this.destroyRef)).subscribe(()=>{const y=this.showTime?"second":"day",x=this.datePickerService.value,B=this.datePickerService.initialValue;if(!this.isRange&&x?.isSame(B?.nativeDate,y))return this.onTouchedFn(),this.close();if(this.isRange){const[ee,re]=B,[ae,Xe]=x;if(ee?.isSame(ae?.nativeDate,y)&&re?.isSame(Xe?.nativeDate,y))return this.onTouchedFn(),this.close()}if(this.datePickerService.initialValue=Xh(x),this.isRange){const ee=x;this.onChangeFn(ee.length?[ee[0]?.nativeDate??null,ee[1]?.nativeDate??null]:[])}else this.onChangeFn(x?x.nativeDate:null);this.onTouchedFn(),this.close()}),this.directionality.change?.pipe(mt(this.destroyRef)).subscribe(y=>{this.dir=y,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.inputValue=this.isRange?["",""]:"",this.setModeAndFormat(),this.datePickerService.valueChange$.pipe(mt(this.destroyRef)).subscribe(()=>{this.updateInputValue()})}ngOnChanges({nzStatus:y,nzPlacement:x,nzPopupStyle:B,nzPlaceHolder:ee,nzLocale:re,nzFormat:ae,nzRenderExtraFooter:Xe,nzMode:ot,nzSize:St}){B&&(this.nzPopupStyle=this.nzPopupStyle?{...this.nzPopupStyle,...H_}:H_),ee?.currentValue&&(this.isCustomPlaceHolder=!0),ae?.currentValue&&(this.isCustomFormat=!0,this.updateInputValue()),re&&this.setDefaultPlaceHolder(),Xe&&(this.extraFooter=Bc(this.nzRenderExtraFooter)),ot&&(this.setDefaultPlaceHolder(),this.setModeAndFormat()),y&&this.setStatusStyles(this.nzStatus,this.hasFeedback),x&&this.setPlacement(this.nzPlacement),St&&this.size.set(St.currentValue)}setModeAndFormat(){const y={year:"yyyy",quarter:"yyyy-[Q]Q",month:"yyyy-MM",week:"YYYY-ww",date:this.nzShowTime?"yyyy-MM-dd HH:mm:ss":"yyyy-MM-dd"};this.nzMode||(this.nzMode="date"),this.panelMode=this.isRange?[this.nzMode,this.nzMode]:this.nzMode,this.isCustomFormat||(this.nzFormat=y[this.nzMode]),this.inputSize=Math.max(10,this.nzFormat.length)+2,this.updateInputValue()}onOpenChange(y){this.nzOnOpenChange.emit(y)}onChangeFn=()=>{};onTouchedFn=()=>{};writeValue(y){this.setValue(y),this.cdr.markForCheck()}registerOnChange(y){this.onChangeFn=y}registerOnTouched(y){this.onTouchedFn=y}setDisabledState(y){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||y,this.cdr.markForCheck(),this.isNzDisableFirstChange=!1}setLocale(){this.nzLocale=this.i18n.getLocaleData("DatePicker",{}),this.setDefaultPlaceHolder(),this.cdr.markForCheck()}setDefaultPlaceHolder(){if(!this.isCustomPlaceHolder&&this.nzLocale){const y={year:this.getPropertyOfLocale("yearPlaceholder"),quarter:this.getPropertyOfLocale("quarterPlaceholder"),month:this.getPropertyOfLocale("monthPlaceholder"),week:this.getPropertyOfLocale("weekPlaceholder"),date:this.getPropertyOfLocale("placeholder")},x={year:this.getPropertyOfLocale("rangeYearPlaceholder"),quarter:this.getPropertyOfLocale("rangeQuarterPlaceholder"),month:this.getPropertyOfLocale("rangeMonthPlaceholder"),week:this.getPropertyOfLocale("rangeWeekPlaceholder"),date:this.getPropertyOfLocale("rangePlaceholder")};this.nzPlaceHolder=this.isRange?x[this.nzMode]:y[this.nzMode]}}getPropertyOfLocale(y){return this.nzLocale.lang[y]||this.i18n.getLocaleData(`DatePicker.lang.${y}`)}setValue(y){const x=this.datePickerService.makeValue(y);this.datePickerService.setValue(x),this.datePickerService.initialValue=Xh(x),this.cdr.detectChanges()}renderClass(y){y?this.renderer.addClass(this.elementRef.nativeElement,"ant-picker-focused"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-picker-focused")}onPanelModeChange(y){this.nzOnPanelChange.emit(y)}onCalendarChange(y){if(this.isRange&&Array.isArray(y)){const x=y.filter(B=>B instanceof ri).map(B=>B.nativeDate);this.nzOnCalendarChange.emit(x)}}onResultOk(){if(this.isRange){const y=this.datePickerService.value;this.nzOnOk.emit(y.length?[y[0]?.nativeDate||null,y[1]?.nativeDate||null]:[])}else this.nzOnOk.emit(this.datePickerService.value?this.datePickerService.value.nativeDate:null)}setStatusStyles(y,x){this.status=y,this.hasFeedback=x,this.cdr.markForCheck(),this.statusCls=RL(this.prefixCls,y,x),Object.keys(this.statusCls).forEach(B=>{this.statusCls[B]?this.renderer.addClass(this.elementRef.nativeElement,B):this.renderer.removeClass(this.elementRef.nativeElement,B)})}setPlacement(y){const x=d4[y];this.overlayPositions=[x,...CP],this.currentPositionX=x.originX,this.currentPositionY=x.originY}static \u0275fac=function(x){return new(x||wm)};static \u0275cmp=bt({type:wm,selectors:[["nz-date-picker"],["nz-week-picker"],["nz-month-picker"],["nz-quarter-picker"],["nz-year-picker"],["nz-range-picker"]],viewQuery:function(x,B){if(1&x&&(Ai(e0,5),Ai(F_,5),Ai(k3e,5),Ai(E3e,5),Ai(I3e,5)),2&x){let ee;zn(ee=An())&&(B.cdkConnectedOverlay=ee.first),zn(ee=An())&&(B.panel=ee.first),zn(ee=An())&&(B.separatorElement=ee.first),zn(ee=An())&&(B.pickerInput=ee.first),zn(ee=An())&&(B.rangePickerInputs=ee)}},hostVars:20,hostBindings:function(x,B){1&x&&Ne("click",function(re){return B.onClickInputBox(re)}),2&x&&Bt("ant-picker",!0)("ant-picker-range",B.isRange)("ant-picker-large","large"===B.finalSize())("ant-picker-small","small"===B.finalSize())("ant-picker-disabled",B.nzDisabled)("ant-picker-rtl","rtl"===B.dir)("ant-picker-borderless","borderless"===B.nzVariant||"outlined"===B.nzVariant&&B.nzBorderless)("ant-picker-filled","filled"===B.nzVariant)("ant-picker-underlined","underlined"===B.nzVariant)("ant-picker-inline",B.nzInline)},inputs:{nzAllowClear:[2,"nzAllowClear","nzAllowClear",Qe],nzAutoFocus:[2,"nzAutoFocus","nzAutoFocus",Qe],nzDisabled:[2,"nzDisabled","nzDisabled",Qe],nzBorderless:[2,"nzBorderless","nzBorderless",Qe],nzInputReadOnly:[2,"nzInputReadOnly","nzInputReadOnly",Qe],nzInline:[2,"nzInline","nzInline",Qe],nzOpen:[2,"nzOpen","nzOpen",Qe],nzDisabledDate:"nzDisabledDate",nzLocale:"nzLocale",nzPlaceHolder:"nzPlaceHolder",nzPopupStyle:"nzPopupStyle",nzDropdownClassName:"nzDropdownClassName",nzSize:"nzSize",nzStatus:"nzStatus",nzFormat:"nzFormat",nzVariant:"nzVariant",nzDateRender:"nzDateRender",nzDisabledTime:"nzDisabledTime",nzRenderExtraFooter:"nzRenderExtraFooter",nzShowToday:[2,"nzShowToday","nzShowToday",Qe],nzMode:"nzMode",nzShowNow:[2,"nzShowNow","nzShowNow",Qe],nzRanges:"nzRanges",nzDefaultPickerValue:"nzDefaultPickerValue",nzSeparator:"nzSeparator",nzSuffixIcon:"nzSuffixIcon",nzBackdrop:"nzBackdrop",nzId:"nzId",nzPlacement:"nzPlacement",nzShowWeekNumber:[2,"nzShowWeekNumber","nzShowWeekNumber",Qe],nzShowTime:"nzShowTime"},outputs:{nzOnPanelChange:"nzOnPanelChange",nzOnCalendarChange:"nzOnCalendarChange",nzOnOk:"nzOnOk",nzOnOpenChange:"nzOnOpenChange"},exportAs:["nzDatePicker"],features:[jn([R_,{provide:R8,useValue:"picker"},{provide:Wo,multi:!0,useExisting:Bn(()=>wm)}]),s3([w_]),vn],decls:9,vars:6,consts:[["tplRangeInput",""],["tplRightRest",""],["inlineMode",""],["pickerInput",""],["separatorElement",""],["rangePickerInput",""],[3,"ngTemplateOutlet"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"positionChange","detach","overlayKeydown","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayTransformOriginOn"],[3,"class"],["autocomplete","off",3,"ngModelChange","focus","focusout","keyup.enter","disabled","readOnly","ngModel","placeholder","size"],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"nzStringTemplateOutlet"],["nzType","swap-right","nzTheme","outline"],["autocomplete","off",3,"click","focusout","focus","keyup.enter","ngModelChange","disabled","readOnly","size","ngModel","placeholder"],[3,"status"],[3,"click"],["nzType","close-circle","nzTheme","fill"],[3,"nzType"],[3,"panelModeChange","calendarChange","resultOk","isRange","inline","defaultPickerValue","showWeek","panelMode","locale","showToday","showNow","showTime","dateRender","disabledDate","disabledTime","extraFooter","ranges","dir","format"],[1,"ant-picker-wrapper",3,"nzNoAnimation"]],template:function(x,B){if(1&x){const ee=tt();lt(0,V3e,2,1)(1,B3e,1,1,null,6),ve(2,q3e,2,7,"ng-template",null,0,ho)(4,W3e,5,11,"ng-template",null,1,ho)(6,G3e,2,38,"ng-template",null,2,ho)(8,Q3e,2,5,"ng-template",7),Ne("positionChange",function(ae){return ce(ee),ue(B.onPositionChange(ae))})("detach",function(){return ce(ee),ue(B.close())})("overlayKeydown",function(ae){return ce(ee),ue(B.onOverlayKeydown(ae))})}2&x&&(ct(B.nzInline?1:0),z(8),N("cdkConnectedOverlayHasBackdrop",B.nzBackdrop)("cdkConnectedOverlayOrigin",B.origin)("cdkConnectedOverlayOpen",B.realOpenState)("cdkConnectedOverlayPositions",B.overlayPositions)("cdkConnectedOverlayTransformOriginOn",".ant-picker-wrapper"))},dependencies:[Nh,bl,ja,za,_l,Tl,Qo,ec,La,UO,F_,e0,W8,$8,tc],encapsulation:2,data:{animation:[Y8]},changeDetection:0})}})(),m6e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({imports:[V_,xP,kP,F_]})}return t})();function qu(...t){const n=Th(t),e=E7(t),{args:i,keys:r}=HI(t);if(0===i.length)return ca([],n);const o=new Be(function p6e(t,n,e=Dr){return i=>{EP(n,()=>{const{length:r}=t,o=new Array(r);let a=r,s=r;for(let l=0;l<r;l++)EP(n,()=>{const c=ca(t[l],n);let h=!1;c.subscribe(dr(i,g=>{o[l]=g,h||(h=!0,s--),s||i.next(e(o.slice()))},()=>{--a||i.complete()}))},i)},i)}}(i,n,r?a=>VI(r,a):Dr));return e?o.pipe(rv(e)):o}function EP(t,n,e){t?Pc(e,t,n):n()}const IP=new Set;let t0,U_=(()=>{class t{_platform=U(Aa);_nonce=U(T2,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):v6e}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function g6e(t,n){if(!IP.has(t))try{t0||(t0=document.createElement("style"),n&&t0.setAttribute("nonce",n),t0.setAttribute("type","text/css"),document.head.appendChild(t0)),t0.sheet&&(t0.sheet.insertRule(`@media ${t} {body{ }}`,0),IP.add(t))}catch(e){console.error(e)}}(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function v6e(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let _6e=(()=>{class t{_mediaMatcher=U(U_);_zone=U($t);_queries=new Map;_destroySubject=new it;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return zP(H8(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=qu(zP(H8(e)).map(a=>this._registerQuery(a).observable));return o=s4(o.pipe(Jl(1)),o.pipe(jL(1),C8(0))),o.pipe(jt(a=>{const s={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:c})=>{s.matches=s.matches||l,s.breakpoints[c]=l}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new Be(a=>{const s=l=>this._zone.run(()=>a.next(l));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(jc(i),jt(({matches:a})=>({query:e,matches:a})),Zh(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function zP(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}const B_=()=>{};let b6e=(()=>{class t{ngZone=U($t);destroyRef=U(In);resizeSource$=new it;listeners=0;renderer=U(Bs).createRenderer(null,null);disposeHandle=B_;handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})};constructor(){this.destroyRef.onDestroy(()=>{this.handler=B_})}connect(){return this.registerListener(),this.resizeSource$.pipe(Ed(16),Lu(()=>this.unregisterListener()))}disconnet(){this.unregisterListener()}registerListener(){0===this.listeners&&this.ngZone.runOutsideAngular(()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)}),this.listeners+=1}unregisterListener(){this.listeners-=1,0===this.listeners&&(this.disposeHandle(),this.disposeHandle=B_)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var AP=function(t){return t.xxl="xxl",t.xl="xl",t.lg="lg",t.md="md",t.sm="sm",t.xs="xs",t}(AP||{});const X8={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"};let C6e=(()=>{class t{resizeService=U(b6e);mediaMatcher=U(U_);constructor(){this.resizeService.connect().pipe(mt()).subscribe(()=>{})}subscribe(e,i){if(i){const r=()=>this.matchMedia(e,!0);return this.resizeService.connect().pipe(jt(r),jc(r()),Vu((o,a)=>o[0]===a[0]),jt(o=>o[1]))}{const r=()=>this.matchMedia(e);return this.resizeService.connect().pipe(jt(r),jc(r()),Vu())}}matchMedia(e,i){let r=AP.md;const o={};return Object.keys(e).map(a=>{const s=a,l=this.mediaMatcher.matchMedia(X8[s]).matches;o[a]=l,l&&(r=s)}),i?[r,o]:r}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),LP=(()=>{class t{elementRef=U(un);renderer=U(to);mediaMatcher=U(U_);platform=U(Aa);breakpointService=U(C6e);directionality=U(oo);destroyRef=U(In);nzAlign=null;nzJustify=null;nzGutter=null;actualGutter$=new P1(1);dir="ltr";getGutter(){const e=[null,null],i=this.nzGutter||0;return(Array.isArray(i)?i:[i,null]).forEach((o,a)=>{"object"==typeof o&&null!==o?(e[a]=null,Object.keys(X8).map(s=>{const l=s;this.mediaMatcher.matchMedia(X8[l]).matches&&o[l]&&(e[a]=o[l])})):e[a]=Number(o)||null}),e}setGutterStyle(){const[e,i]=this.getGutter();this.actualGutter$.next([e,i]);const r=(o,a)=>{null!==a&&this.renderer.setStyle(this.elementRef.nativeElement,o,`-${a/2}px`)};r("margin-left",e),r("margin-right",e),r("margin-top",i),r("margin-bottom",i)}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(mt(this.destroyRef)).subscribe(e=>{this.dir=e}),this.setGutterStyle()}ngOnChanges(e){e.nzGutter&&this.setGutterStyle()}ngAfterViewInit(){this.platform.isBrowser&&this.breakpointService.subscribe(X8).pipe(mt(this.destroyRef)).subscribe(()=>{this.setGutterStyle()})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["","nz-row",""],["nz-row"],["nz-form-item"]],hostAttrs:[1,"ant-row"],hostVars:20,hostBindings:function(i,r){2&i&&Bt("ant-row-top","top"===r.nzAlign)("ant-row-middle","middle"===r.nzAlign)("ant-row-bottom","bottom"===r.nzAlign)("ant-row-start","start"===r.nzJustify)("ant-row-end","end"===r.nzJustify)("ant-row-center","center"===r.nzJustify)("ant-row-space-around","space-around"===r.nzJustify)("ant-row-space-between","space-between"===r.nzJustify)("ant-row-space-evenly","space-evenly"===r.nzJustify)("ant-row-rtl","rtl"===r.dir)},inputs:{nzAlign:"nzAlign",nzJustify:"nzJustify",nzGutter:"nzGutter"},exportAs:["nzRow"],features:[vn]})}return t})(),w6e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({})}return t})();function OP(t,n){return n?e=>s4(n.pipe(Jl(1),function S6e(){return Rr((t,n)=>{t.subscribe(dr(n,Oa))})}()),e.pipe(OP(t))):$o((e,i)=>la(t(e,i)).pipe(Jl(1),function M6e(t){return jt(()=>t)}(e)))}function PP(t,n=b8){const e=nP(t,n);return OP(()=>e)}const T6e=["overlay"];function D6e(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k(2);z(),ln(e.nzTitle)}}function x6e(t,n){if(1&t&&(J(0,"div",2),He(1,"div",3),J(2,"div",4)(3,"div",5),ve(4,D6e,2,1,"ng-container",6),te()()()),2&t){const e=k();Mi(e.nzOverlayStyle),Oe(e._classMap),Bt("ant-tooltip-rtl","rtl"===e.dir),N("@.disabled",!(null==e.noAnimation||!e.noAnimation.nzNoAnimation))("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),z(),Mi(e._arrowStyleMap),z(2),Mi(e._contentStyleMap),z(),N("nzStringTemplateOutlet",e.nzTitle)("nzStringTemplateOutletContext",e.nzTitleContext)}}let k6e=(()=>{class t{componentType;config;cdkConnectedOverlayPush;visibleChange=new dt;get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return typeof this.trigger<"u"?this.trigger:"hover"}get _placement(){const e=this.placement;return Array.isArray(e)&&e.length>0?e:"string"==typeof e&&e?[e]:["top"]}get _visible(){return(typeof this.visible<"u"?this.visible:this.internalVisible)||!1}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}get _overlayClickable(){return this.overlayClickable??!0}internalVisible=!1;getProxyPropertyMap(){return{noAnimation:["noAnimation",()=>!!this.noAnimation]}}component;destroy$=new it;triggerDisposables=[];delayTimer;elementRef=U(un);hostView=U(Da);renderer=U(to);noAnimation=U(tc,{host:!0,optional:!0});nzConfigService=U(Ml);destroyRef=U(In);platformId=U(M2);constructor(e){this.componentType=e,this.destroyRef.onDestroy(()=>{this.clearTogglingTimer(),this.removeTriggerListeners()})}ngAfterViewInit(){A5(this.platformId)&&(this.createComponent(),this.registerTriggers())}ngOnChanges(e){const{trigger:i}=e;i&&!i.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(e)}show(){this.component?.show()}hide(){this.component?.hide()}updatePosition(){this.component&&this.component.updatePosition()}createComponent(){const e=this.hostView.createComponent(this.componentType);this.component=e.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),e.location.nativeElement),this.component.setOverlayOrigin(this.origin||this.elementRef),this.initProperties();const i=this.component.nzVisibleChange.pipe(Vu());i.pipe(mt(this.destroyRef)).subscribe(r=>{this.internalVisible=r,this.visibleChange.emit(r)}),i.pipe(pr(r=>r),PP(0,M8),pr(()=>!!this.component?.overlay?.overlayRef),mt(this.destroyRef)).subscribe(()=>{this.component?.updatePosition()})}registerTriggers(){const e=this.elementRef.nativeElement,i=this.trigger;if(this.removeTriggerListeners(),"hover"===i){let r;this.triggerDisposables.push(this.renderer.listen(e,"mouseenter",()=>{this.delayEnterLeave(!0,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(e,"mouseleave",()=>{this.delayEnterLeave(!0,!1,this._mouseLeaveDelay),this.component?.overlay.overlayRef&&!r&&(r=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(r,"mouseenter",()=>{this.delayEnterLeave(!1,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(r,"mouseleave",()=>{this.delayEnterLeave(!1,!1,this._mouseLeaveDelay)})))}))}else"focus"===i?(this.triggerDisposables.push(this.renderer.listen(e,"focusin",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(e,"focusout",()=>this.hide()))):"click"===i&&this.triggerDisposables.push(this.renderer.listen(e,"click",r=>{r.preventDefault(),this.show()}))}updatePropertiesByChanges(e){this.updatePropertiesByKeys(Object.keys(e))}updatePropertiesByKeys(e){const i={title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle],overlayClickable:["nzOverlayClickable",()=>this._overlayClickable],arrowPointAtCenter:["nzArrowPointAtCenter",()=>this.arrowPointAtCenter],cdkConnectedOverlayPush:["cdkConnectedOverlayPush",()=>this.cdkConnectedOverlayPush],...this.getProxyPropertyMap()};(e||Object.keys(i).filter(r=>!r.startsWith("directive"))).forEach(r=>{if(i[r]){const[o,a]=i[r];this.updateComponentValue(o,a())}}),this.component?.updateByDirective()}initProperties(){this.updatePropertiesByKeys()}updateComponentValue(e,i){typeof i<"u"&&(this.component[e]=i)}delayEnterLeave(e,i,r=-1){this.delayTimer?this.clearTogglingTimer():r>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,i?this.show():this.hide()},1e3*r):i&&e?this.show():this.hide()}removeTriggerListeners(){this.triggerDisposables.forEach(e=>e()),this.triggerDisposables.length=0}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0)}static \u0275fac=function(i){return new(i||t)(xe(Ab))};static \u0275dir=vt({type:t,features:[vn]})}return t})(),E6e=(()=>{class t{overlay;noAnimation=U(tc,{host:!0,optional:!0});directionality=U(oo);cdr=U(Cr);elementRef=U(un);destroyRef=U(In);nzTitle=null;nzContent=null;nzArrowPointAtCenter=!1;nzOverlayClassName;nzOverlayStyle={};nzOverlayClickable=!0;nzBackdrop=!1;nzMouseEnterDelay;nzMouseLeaveDelay;cdkConnectedOverlayPush=!0;nzVisibleChange=new it;set nzVisible(e){const i=v9(e);this._visible!==i&&(this._visible=i,this.nzVisibleChange.next(i))}get nzVisible(){return this._visible}_visible=!1;set nzTrigger(e){this._trigger=e}get nzTrigger(){return this._trigger}_trigger="hover";set nzPlacement(e){const i=e.map(r=>zd(rr[r],Id[r]));this._positions=[...i,...bP]}preferredPlacement="top";origin;dir="ltr";_classMap={};_prefix="ant-tooltip";_positions=[...bP];constructor(){this.destroyRef.onDestroy(()=>{this.nzVisibleChange.complete()})}ngOnInit(){this.directionality.change?.pipe(mt(this.destroyRef)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=!0,this.nzVisibleChange.next(!0),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&"rtl"===this.overlay.overlayRef.getDirection()&&this.overlay.overlayRef.setDirection("ltr"))}hide(){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.next(!1),this.cdr.detectChanges())}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then(()=>{this.updatePosition(),this.updateVisibilityByTitle()})}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition()}onPositionChange(e){this.preferredPlacement=j8(e),this.updateStyles(),this.cdr.detectChanges()}setOverlayOrigin(e){this.origin=e,this.cdr.markForCheck()}onClickOutside(e){if(!this.nzOverlayClickable)return;const i=Zl(e);!this.origin.nativeElement.contains(i)&&null!==this.nzTrigger&&this.hide()}updateVisibilityByTitle(){this.isEmpty()&&this.hide()}updateStyles(){this._classMap={...this.transformClassListToMap(this.nzOverlayClassName),[`${this._prefix}-placement-${this.preferredPlacement}`]:!0}}transformClassListToMap(e){const i={};return(null!==e?e.split(/\s+/):[]).forEach(o=>i[o]=!0),i}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,viewQuery:function(i,r){if(1&i&&Ai(T6e,5),2&i){let o;zn(o=An())&&(r.overlay=o.first)}}})}return t})();function q_(t){return!(t instanceof Yo||""!==t&&Yr(t))}let I6e=(()=>{class t extends E6e{nzTitle=null;nzTitleContext=null;nzColor;_arrowStyleMap={};_contentStyleMap={};isEmpty(){return q_(this.nzTitle)}updateStyles(){const e=this.nzColor&&function Dde(t){return-1!==Tde.indexOf(t)}(this.nzColor);this._classMap={...this.transformClassListToMap(this.nzOverlayClassName),[`${this._prefix}-placement-${this.preferredPlacement}`]:!0,[`${this._prefix}-${this.nzColor}`]:e},this._contentStyleMap={backgroundColor:this.nzColor&&!e?this.nzColor:null},this._arrowStyleMap={"--antd-arrow-background-color":this.nzColor&&!e?this.nzColor:null}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275cmp=bt({type:t,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[Rn],decls:2,vars:5,consts:[["overlay","cdkConnectedOverlay"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayPush","nzArrowPointAtCenter"],[1,"ant-tooltip",3,"nzNoAnimation"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-content"],[1,"ant-tooltip-inner"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,r){if(1&i){const o=tt();ve(0,x6e,5,15,"ng-template",1,0,ho),Ne("overlayOutsideClick",function(s){return ce(o),ue(r.onClickOutside(s))})("detach",function(){return ce(o),ue(r.hide())})("positionChange",function(s){return ce(o),ue(r.onPositionChange(s))})}2&i&&N("cdkConnectedOverlayOrigin",r.origin)("cdkConnectedOverlayOpen",r._visible)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayPush",r.cdkConnectedOverlayPush)("nzArrowPointAtCenter",r.nzArrowPointAtCenter)},dependencies:[q8,e0,tc,Tl,Qo,W8,$8],encapsulation:2,data:{animation:[O_]},changeDetection:0})}return t})();const NP=t=>({$implicit:t});function z6e(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k(3);z(),zt(" ",e.nzTitle," ")}}function A6e(t,n){if(1&t&&(J(0,"div",6),ve(1,z6e,2,1,"ng-container",8),te()),2&t){const e=k(2);z(),N("nzStringTemplateOutlet",e.nzTitle)("nzStringTemplateOutletContext",Fr(2,NP,e.nzTitleContext))}}function L6e(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k(2);z(),zt(" ",e.nzContent," ")}}function O6e(t,n){if(1&t&&(J(0,"div",2),He(1,"div",3),J(2,"div",4)(3,"div",5)(4,"div"),lt(5,A6e,2,4,"div",6),J(6,"div",7),ve(7,L6e,2,1,"ng-container",8),te()()()()()),2&t){const e=k();Mi(e.nzOverlayStyle),Oe(e._classMap),Bt("ant-popover-rtl","rtl"===e.dir),N("@.disabled",!(null==e.noAnimation||!e.noAnimation.nzNoAnimation))("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),z(5),ct(e.nzTitle?5:-1),z(2),N("nzStringTemplateOutlet",e.nzContent)("nzStringTemplateOutletContext",Fr(12,NP,e.nzContentContext))}}let N6e=(()=>{let n,t=k6e,e=[],i=[];return class Ny extends t{static{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(t[Symbol.metadata]??null):void 0;n=[Mr()],mr(null,null,n,{kind:"field",name:"nzPopoverBackdrop",static:!1,private:!1,access:{has:a=>"nzPopoverBackdrop"in a,get:a=>a.nzPopoverBackdrop,set:(a,s)=>{a.nzPopoverBackdrop=s}},metadata:o},e,i),o&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})}_nzModuleName="popover";arrowPointAtCenter;title;titleContext=null;content;contentContext=null;directiveTitle;trigger="hover";placement="top";origin;visible;mouseEnterDelay;mouseLeaveDelay;overlayClassName;overlayStyle;overlayClickable;directiveContent=null;nzPopoverBackdrop=rn(this,e,!1);visibleChange=(rn(this,i),new dt);getProxyPropertyMap(){return{nzPopoverBackdrop:["nzBackdrop",()=>this.nzPopoverBackdrop],titleContext:["nzTitleContext",()=>this.titleContext],contentContext:["nzContentContext",()=>this.contentContext],...super.getProxyPropertyMap()}}constructor(){super(RP)}static \u0275fac=function(a){return new(a||Ny)};static \u0275dir=vt({type:Ny,selectors:[["","nz-popover",""]],hostVars:2,hostBindings:function(a,s){2&a&&Bt("ant-popover-open",s.visible)},inputs:{arrowPointAtCenter:[2,"nzPopoverArrowPointAtCenter","arrowPointAtCenter",Qe],title:[0,"nzPopoverTitle","title"],titleContext:[0,"nzPopoverTitleContext","titleContext"],content:[0,"nzPopoverContent","content"],contentContext:[0,"nzPopoverContentContext","contentContext"],directiveTitle:[0,"nz-popover","directiveTitle"],trigger:[0,"nzPopoverTrigger","trigger"],placement:[0,"nzPopoverPlacement","placement"],origin:[0,"nzPopoverOrigin","origin"],visible:[0,"nzPopoverVisible","visible"],mouseEnterDelay:[0,"nzPopoverMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:[0,"nzPopoverMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:[0,"nzPopoverOverlayClassName","overlayClassName"],overlayStyle:[0,"nzPopoverOverlayStyle","overlayStyle"],overlayClickable:[0,"nzPopoverOverlayClickable","overlayClickable"],nzPopoverBackdrop:"nzPopoverBackdrop"},outputs:{visibleChange:"nzPopoverVisibleChange"},exportAs:["nzPopover"],features:[Rn]})}})(),RP=(()=>{class t extends I6e{_prefix="ant-popover";nzContentContext=null;get hasBackdrop(){return"click"===this.nzTrigger&&this.nzBackdrop}isEmpty(){return q_(this.nzTitle)&&q_(this.nzContent)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275cmp=bt({type:t,selectors:[["nz-popover"]],exportAs:["nzPopoverComponent"],features:[Rn],decls:2,vars:6,consts:[["overlay","cdkConnectedOverlay"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayPush","nzArrowPointAtCenter"],[1,"ant-popover",3,"nzNoAnimation"],[1,"ant-popover-arrow"],[1,"ant-popover-content"],["role","tooltip",1,"ant-popover-inner"],[1,"ant-popover-title"],[1,"ant-popover-inner-content"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,r){if(1&i){const o=tt();ve(0,O6e,8,14,"ng-template",1,0,ho),Ne("overlayOutsideClick",function(s){return ce(o),ue(r.onClickOutside(s))})("detach",function(){return ce(o),ue(r.hide())})("positionChange",function(s){return ce(o),ue(r.onPositionChange(s))})}2&i&&N("cdkConnectedOverlayHasBackdrop",r.hasBackdrop)("cdkConnectedOverlayOrigin",r.origin)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayOpen",r._visible)("cdkConnectedOverlayPush",r.cdkConnectedOverlayPush)("nzArrowPointAtCenter",r.nzArrowPointAtCenter)},dependencies:[q8,e0,W8,$8,tc,Tl,Qo],encapsulation:2,data:{animation:[O_]},changeDetection:0})}return t})(),R6e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({imports:[RP]})}return t})();const F6e=["switchElement"];function H6e(t,n){1&t&&He(0,"nz-icon",3)}function V6e(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k(2);z(),ln(e.nzCheckedChildren)}}function U6e(t,n){1&t&&ve(0,V6e,2,1,"ng-container",6),2&t&&N("nzStringTemplateOutlet",k().nzCheckedChildren)}function B6e(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k(2);z(),ln(e.nzUnCheckedChildren)}}function q6e(t,n){1&t&&ve(0,B6e,2,1,"ng-container",6),2&t&&N("nzStringTemplateOutlet",k().nzUnCheckedChildren)}let j6e=(()=>{let t,n=[],e=[];return class Sm{static{const r="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;t=[Mr()],mr(null,null,t,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:o=>"nzSize"in o,get:o=>o.nzSize,set:(o,a)=>{o.nzSize=a}},metadata:r},n,e),r&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:r})}_nzModuleName="switch";nzConfigService=U(Ml);el=U(un).nativeElement;ngZone=U($t);cdr=U(Cr);focusMonitor=U(t4);directionality=U(oo);destroyRef=U(In);isChecked=!1;onChange=()=>{};onTouched=()=>{};switchElement;nzLoading=!1;nzDisabled=!1;nzControl=!1;nzCheckedChildren=null;nzUnCheckedChildren=null;nzSize=rn(this,n,"default");nzId=(rn(this,e),null);dir="ltr";isNzDisableFirstChange=!0;updateValue(r){this.isChecked!==r&&(this.isChecked=r,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}constructor(){this.destroyRef.onDestroy(()=>{this.focusMonitor.stopMonitoring(this.switchElement.nativeElement)})}ngOnInit(){this.directionality.change.pipe(mt(this.destroyRef)).subscribe(r=>{this.dir=r,this.cdr.detectChanges()}),this.dir=this.directionality.value,ks(this.el,"click").pipe(mt(this.destroyRef)).subscribe(r=>{r.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),ks(this.switchElement.nativeElement,"keydown").pipe(mt(this.destroyRef)).subscribe(r=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:o}=r;37!==o&&39!==o&&32!==o&&13!==o||(r.preventDefault(),this.ngZone.run(()=>{37===o?this.updateValue(!1):39===o?this.updateValue(!0):(32===o||13===o)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe(mt(this.destroyRef)).subscribe(r=>{r||Promise.resolve().then(()=>this.onTouched())})}writeValue(r){this.isChecked=r,this.cdr.markForCheck()}registerOnChange(r){this.onChange=r}registerOnTouched(r){this.onTouched=r}setDisabledState(r){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||r,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}static \u0275fac=function(o){return new(o||Sm)};static \u0275cmp=bt({type:Sm,selectors:[["nz-switch"]],viewQuery:function(o,a){if(1&o&&Ai(F6e,7),2&o){let s;zn(s=An())&&(a.switchElement=s.first)}},inputs:{nzLoading:[2,"nzLoading","nzLoading",Qe],nzDisabled:[2,"nzDisabled","nzDisabled",Qe],nzControl:[2,"nzControl","nzControl",Qe],nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize",nzId:"nzId"},exportAs:["nzSwitch"],features:[jn([{provide:Wo,useExisting:Bn(()=>Sm),multi:!0}])],decls:8,vars:15,consts:[["switchElement",""],["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],[1,"ant-switch-handle"],["nzType","loading",1,"ant-switch-loading-icon"],[1,"ant-switch-inner"],[1,"ant-click-animating-node"],[4,"nzStringTemplateOutlet"]],template:function(o,a){1&o&&(J(0,"button",1,0)(2,"span",2),lt(3,H6e,1,0,"nz-icon",3),te(),J(4,"span",4),lt(5,U6e,1,1,"ng-container")(6,q6e,1,1,"ng-container"),te(),He(7,"div",5),te()),2&o&&(Bt("ant-switch-checked",a.isChecked)("ant-switch-loading",a.nzLoading)("ant-switch-disabled",a.nzDisabled)("ant-switch-small","small"===a.nzSize)("ant-switch-rtl","rtl"===a.dir),N("disabled",a.nzDisabled)("nzWaveExtraNode",!0),gt("id",a.nzId),z(3),ct(a.nzLoading?3:-1),z(2),ct(a.isChecked?5:6))},dependencies:[XO,M_,ec,La,Tl,Qo],encapsulation:2,changeDetection:0})}})(),$6e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({imports:[j6e]})}return t})();const Z8=Ei(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Y_(t){return new Be(n=>{la(t()).subscribe(n)})}function J8(t,n){const e=Pt(t)?t:()=>t,i=r=>r.error(e());return new Be(n?r=>n.schedule(i,0,r):i)}function j_(){return Rr((t,n)=>{let e=null;t._refCount++;const i=dr(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(e=null);const r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}class FP extends Be{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Cb(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Vt;const e=this.getSubject();n.add(this.source.subscribe(dr(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Vt.EMPTY)}return n}refCount(){return j_()(this)}}function em(t){return Rr((n,e)=>{let i=!1;n.subscribe(dr(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function HP(t=W6e){return Rr((n,e)=>{let i=!1;n.subscribe(dr(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function W6e(){return new Z8}function Yu(t,n){const e=arguments.length>=2;return i=>i.pipe(t?pr((r,o)=>t(r,o,i)):Dr,Jl(1),e?em(n):HP(()=>new Z8))}function $_(t){return t<=0?()=>rs:Rr((n,e)=>{let i=[];n.subscribe(dr(e,r=>{i.push(r),t<i.length&&i.shift()},()=>{for(const r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
const Fn="primary",g4=Symbol("RouteTitle");class e8e{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Ad(t){return new e8e(t)}function t8e(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.length<t.length))return null;const r={};for(let o=0;o<i.length;o++){const a=i[o],s=t[o];if(":"===a[0])r[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function ic(t,n){const e=t?W_(t):void 0,i=n?W_(n):void 0;if(!e||!i||e.length!=i.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!VP(t[r],n[r]))return!1;return!0}function W_(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function VP(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;const e=[...t].sort(),i=[...n].sort();return e.every((r,o)=>i[o]===r)}return t===n}function UP(t){return t.length>0?t[t.length-1]:null}function $c(t){return TL(t)?t:th(t)?ca(Promise.resolve(t)):Wt(t)}const i8e={exact:function YP(t,n,e){if(!i0(t.segments,n.segments)||!tm(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!YP(t.children[i],n.children[i],e))return!1;return!0},subset:jP},BP={exact:function r8e(t,n){return ic(t,n)},subset:function o8e(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>VP(t[e],n[e]))},ignored:()=>!0};function qP(t,n,e){return i8e[e.paths](t.root,n.root,e.matrixParams)&&BP[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function jP(t,n,e){return $P(t,n,n.segments,e)}function $P(t,n,e,i){if(t.segments.length>e.length){const r=t.segments.slice(0,e.length);return!(!i0(r,e)||n.hasChildren()||!tm(r,e,i))}if(t.segments.length===e.length){if(!i0(t.segments,e)||!tm(t.segments,e,i))return!1;for(const r in n.children)if(!t.children[r]||!jP(t.children[r],n.children[r],i))return!1;return!0}{const r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!!(i0(t.segments,r)&&tm(t.segments,r,i)&&t.children[Fn])&&$P(t.children[Fn],n,o,i)}}function tm(t,n,e){return n.every((i,r)=>BP[e](t[r].parameters,i.parameters))}class n0{root;queryParams;fragment;_queryParamMap;constructor(n=new or([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=Ad(this.queryParams),this._queryParamMap}toString(){return l8e.serialize(this)}}class or{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return rm(this)}}class v4{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Ad(this.parameters),this._parameterMap}toString(){return KP(this)}}function i0(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let nm=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:()=>new im,providedIn:"root"})}return t})();class im{parse(n){const e=new y8e(n);return new n0(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${_4(n.root,!0)}`,i=function d8e(t){const n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${om(e)}=${om(r)}`).join("&"):`${om(e)}=${om(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${i}${"string"==typeof n.fragment?`#${function c8e(t){return encodeURI(t)}(n.fragment)}`:""}`}}const l8e=new im;function rm(t){return t.segments.map(n=>KP(n)).join("/")}function _4(t,n){if(!t.hasChildren())return rm(t);if(n){const e=t.children[Fn]?_4(t.children[Fn],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==Fn&&i.push(`${r}:${_4(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function s8e(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===Fn&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==Fn&&(e=e.concat(n(r,i)))}),e}(t,(i,r)=>r===Fn?[_4(t.children[Fn],!1)]:[`${r}:${_4(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[Fn]?`${rm(t)}/${e[0]}`:`${rm(t)}/(${e.join("//")})`}}function WP(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function om(t){return WP(t).replace(/%3B/gi,";")}function G_(t){return WP(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function am(t){return decodeURIComponent(t)}function GP(t){return am(t.replace(/\+/g,"%20"))}function KP(t){return`${G_(t.path)}${function u8e(t){return Object.entries(t).map(([n,e])=>`;${G_(n)}=${G_(e)}`).join("")}(t.parameters)}`}const h8e=/^[^\/()?;#]+/;function K_(t){const n=t.match(h8e);return n?n[0]:""}const f8e=/^[^\/()?;=#]+/,p8e=/^[^=?&#]+/,v8e=/^[^&#]+/;class y8e{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new or([],{}):new or([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[Fn]=new or(n,e)),i}parseSegment(){const n=K_(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new ge(4009,!1);return this.capture(n),new v4(am(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=function m8e(t){const n=t.match(f8e);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=K_(this.remaining);r&&(i=r,this.capture(i))}n[am(e)]=am(i)}parseQueryParam(n){const e=function g8e(t){const n=t.match(p8e);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const a=function _8e(t){const n=t.match(v8e);return n?n[0]:""}(this.remaining);a&&(i=a,this.capture(i))}const r=GP(e),o=GP(i);if(n.hasOwnProperty(r)){let a=n[r];Array.isArray(a)||(a=[a],n[r]=a),a.push(o)}else n[r]=o}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=K_(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new ge(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=Fn);const a=this.parseChildren();e[o??Fn]=1===Object.keys(a).length&&a[Fn]?a[Fn]:new or([],a),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new ge(4011,!1)}}function QP(t){return t.segments.length>0?new or([],{[Fn]:t}):t}function XP(t){const n={};for(const[i,r]of Object.entries(t.children)){const o=XP(r);if(i===Fn&&0===o.segments.length&&o.hasChildren())for(const[a,s]of Object.entries(o.children))n[a]=s;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}return function b8e(t){if(1===t.numberOfChildren&&t.children[Fn]){const n=t.children[Fn];return new or(t.segments.concat(n.segments),n.children)}return t}(new or(t.segments,n))}function r0(t){return t instanceof n0}function ZP(t){let n;const r=QP(function e(o){const a={};for(const l of o.children){const c=e(l);a[l.outlet]=c}const s=new or(o.url,a);return o===t&&(n=s),s}(t.root));return n??r}function JP(t,n,e,i){let r=t;for(;r.parent;)r=r.parent;if(0===n.length)return Q_(r,r,r,e,i);const o=function w8e(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new tN(!0,0,t);let n=0,e=!1;const i=t.reduce((r,o,a)=>{if("object"==typeof o&&null!=o){if(o.outlets){const s={};return Object.entries(o.outlets).forEach(([l,c])=>{s[l]="string"==typeof c?c.split("/"):c}),[...r,{outlets:s}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===a?(o.split("/").forEach((s,l)=>{0==l&&"."===s||(0==l&&""===s?e=!0:".."===s?n++:""!=s&&r.push(s))}),r):[...r,o]},[]);return new tN(e,n,i)}(n);if(o.toRoot())return Q_(r,r,new or([],{}),e,i);const a=function S8e(t,n,e){if(t.isAbsolute)return new lm(n,!0,0);if(!e)return new lm(n,!1,NaN);if(null===e.parent)return new lm(e,!0,0);const i=sm(t.commands[0])?0:1;return function M8e(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new ge(4005,!1);r=i.segments.length}return new lm(i,!1,r-o)}(e,e.segments.length-1+i,t.numberOfDoubleDots)}(o,r,t),s=a.processChildren?b4(a.segmentGroup,a.index,o.commands):nN(a.segmentGroup,a.index,o.commands);return Q_(r,a.segmentGroup,s,e,i)}function sm(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function y4(t){return"object"==typeof t&&null!=t&&t.outlets}function Q_(t,n,e,i,r){let a,o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(h=>`${h}`):`${c}`}),a=t===n?e:eN(t,n,e);const s=QP(XP(a));return new n0(s,o,r)}function eN(t,n,e){const i={};return Object.entries(t.children).forEach(([r,o])=>{i[r]=o===n?e:eN(o,n,e)}),new or(t.segments,i)}class tN{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&sm(i[0]))throw new ge(4003,!1);const r=i.find(y4);if(r&&r!==UP(i))throw new ge(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class lm{segmentGroup;processChildren;index;constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function nN(t,n,e){if(t??=new or([],{}),0===t.segments.length&&t.hasChildren())return b4(t,n,e);const i=function D8e(t,n,e){let i=0,r=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=e.length)return o;const a=t.segments[r],s=e[i];if(y4(s))break;const l=`${s}`,c=i<e.length-1?e[i+1]:null;if(r>0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!rN(l,c,a))return o;i+=2}else{if(!rN(l,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const o=new or(t.segments.slice(0,i.pathIndex),{});return o.children[Fn]=new or(t.segments.slice(i.pathIndex),t.children),b4(o,0,r)}return i.match&&0===r.length?new or(t.segments,{}):i.match&&!t.hasChildren()?X_(t,n,e):i.match?b4(t,0,r):X_(t,n,e)}function b4(t,n,e){if(0===e.length)return new or(t.segments,{});{const i=function T8e(t){return y4(t[0])?t[0].outlets:{[Fn]:t}}(e),r={};if(Object.keys(i).some(o=>o!==Fn)&&t.children[Fn]&&1===t.numberOfChildren&&0===t.children[Fn].segments.length){const o=b4(t.children[Fn],n,e);return new or(t.segments,o.children)}return Object.entries(i).forEach(([o,a])=>{"string"==typeof a&&(a=[a]),null!==a&&(r[o]=nN(t.children[o],n,a))}),Object.entries(t.children).forEach(([o,a])=>{void 0===i[o]&&(r[o]=a)}),new or(t.segments,r)}}function X_(t,n,e){const i=t.segments.slice(0,n);let r=0;for(;r<e.length;){const o=e[r];if(y4(o)){const l=x8e(o.outlets);return new or(i,l)}if(0===r&&sm(e[0])){i.push(new v4(t.segments[n].path,iN(e[0]))),r++;continue}const a=y4(o)?o.outlets[Fn]:`${o}`,s=r<e.length-1?e[r+1]:null;a&&s&&sm(s)?(i.push(new v4(a,iN(s))),r+=2):(i.push(new v4(a,{})),r++)}return new or(i,{})}function x8e(t){const n={};return Object.entries(t).forEach(([e,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(n[e]=X_(new or([],{}),0,i))}),n}function iN(t){const n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function rN(t,n,e){return t==e.path&&ic(n,e.parameters)}const cm="imperative";var ci=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(ci||{});class rc{id;url;constructor(n,e){this.id=n,this.url=e}}class Z_ extends rc{type=ci.NavigationStart;navigationTrigger;restoredState;constructor(n,e,i="imperative",r=null){super(n,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Wc extends rc{urlAfterRedirects;type=ci.NavigationEnd;constructor(n,e,i){super(n,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var ss=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t}(ss||{}),J_=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(J_||{});class o0 extends rc{reason;code;type=ci.NavigationCancel;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class C4 extends rc{reason;code;type=ci.NavigationSkipped;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}}class ey extends rc{error;target;type=ci.NavigationError;constructor(n,e,i,r){super(n,e),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class oN extends rc{urlAfterRedirects;state;type=ci.RoutesRecognized;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class k8e extends rc{urlAfterRedirects;state;type=ci.GuardsCheckStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class E8e extends rc{urlAfterRedirects;state;shouldActivate;type=ci.GuardsCheckEnd;constructor(n,e,i,r,o){super(n,e),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 I8e extends rc{urlAfterRedirects;state;type=ci.ResolveStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class z8e extends rc{urlAfterRedirects;state;type=ci.ResolveEnd;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class A8e{route;type=ci.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class L8e{route;type=ci.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class O8e{snapshot;type=ci.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class P8e{snapshot;type=ci.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class N8e{snapshot;type=ci.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class R8e{snapshot;type=ci.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ty{}class um{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}}function Dl(t){return t.outlet||Fn}function Ld(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class Y8e{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Ld(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new w4(this.rootInjector)}}let w4=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,i){const r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new Y8e(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(i){return new(i||t)(It(pn))};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class aN{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=ny(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=ny(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=iy(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return iy(n,this._root).map(e=>e.value)}}function ny(t,n){if(t===n.value)return n;for(const e of n.children){const i=ny(t,e);if(i)return i}return null}function iy(t,n){if(t===n.value)return[n];for(const e of n.children){const i=iy(t,e);if(i.length)return i.unshift(n),i}return[]}class xl{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function Od(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class sN extends aN{snapshot;constructor(n,e){super(n),this.snapshot=e,ry(this,n)}toString(){return this.snapshot.toString()}}function lN(t){const n=function j8e(t){const o=new hm([],{},{},"",{},Fn,t,null,{});return new cN("",new xl(o,[]))}(t),e=new ei([new v4("",{})]),i=new ei({}),r=new ei({}),o=new ei({}),a=new ei(""),s=new S4(e,i,o,a,r,Fn,t,n.root);return s.snapshot=n.root,new sN(new xl(s,[]),n)}class S4{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,i,r,o,a,s,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(jt(c=>c[g4]))??Wt(void 0),this.url=n,this.params=e,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(jt(n=>Ad(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(jt(n=>Ad(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function dm(t,n,e="emptyOnly"){let i;const{routeConfig:r}=t;return i=null===n||"always"!==e&&""!==r?.path&&(n.component||n.routeConfig?.loadComponent)?{params:{...t.params},data:{...t.data},resolve:{...t.data,...t._resolvedData??{}}}:{params:{...n.params,...t.params},data:{...n.data,...t.data},resolve:{...t.data,...n.data,...r?.data,...t._resolvedData}},r&&dN(r)&&(i.resolve[g4]=r.title),i}class hm{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[g4]}constructor(n,e,i,r,o,a,s,l,c){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=c}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??=Ad(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ad(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class cN extends aN{url;constructor(n,e){super(e),this.url=n,ry(this,e)}toString(){return uN(this._root)}}function ry(t,n){n.value._routerState=t,n.children.forEach(e=>ry(t,e))}function uN(t){const n=t.children.length>0?` { ${t.children.map(uN).join(", ")} } `:"";return`${t.value}${n}`}function oy(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,ic(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),ic(n.params,e.params)||t.paramsSubject.next(e.params),function n8e(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!ic(t[e],n[e]))return!1;return!0}(n.url,e.url)||t.urlSubject.next(e.url),ic(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function ay(t,n){const e=ic(t.params,n.params)&&function a8e(t,n){return i0(t,n)&&t.every((e,i)=>ic(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||ay(t.parent,n.parent))}function dN(t){return"string"==typeof t.title||null===t.title}const $8e=new Ie("");let hN=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Fn;activateEvents=new dt;deactivateEvents=new dt;attachEvents=new dt;detachEvents=new dt;routerOutletData=Lc();parentContexts=U(w4);location=U(Da);changeDetector=U(Cr);inputBinder=U(sy,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),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 ge(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ge(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ge(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,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,i){if(this.isActivated)throw new ge(4013,!1);this._activatedRoute=e;const r=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new W8e(e,s,r.injector,this.routerOutletData);this.activated=r.createComponent(a,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[vn]})}return t})();class W8e{route;childContexts;parent;outletData;constructor(n,e,i,r){this.route=n,this.childContexts=e,this.parent=i,this.outletData=r}get(n,e){return n===S4?this.route:n===w4?this.childContexts:n===$8e?this.outletData:this.parent.get(n,e)}}const sy=new Ie("");let fN=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){1&i&&He(0,"router-outlet")},dependencies:[hN],encapsulation:2})}return t})();function ly(t){const n=t.children&&t.children.map(ly),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==Fn&&(e.component=fN),e}function M4(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const r=function K8e(t,n,e){return n.children.map(i=>{for(const r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return M4(t,i,r);return M4(t,i)})}(t,n,e);return new xl(i,r)}{if(t.shouldAttach(n.value)){const o=t.retrieve(n.value);if(null!==o){const a=o.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(s=>M4(t,s)),a}}const i=function Q8e(t){return new S4(new ei(t.url),new ei(t.params),new ei(t.queryParams),new ei(t.fragment),new ei(t.data),t.outlet,t.component,t)}(n.value),r=n.children.map(o=>M4(t,o));return new xl(i,r)}}class cy{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}}const mN="ngNavigationCancelingError";function fm(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=r0(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=pN(!1,ss.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function pN(t,n){const e=new Error(`NavigationCancelingError: ${t||""}`);return e[mN]=!0,e.cancellationCode=n,e}function gN(t){return!!t&&t[mN]}class J8e{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,i,r,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),oy(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const r=Od(e);n.children.forEach(o=>{const a=o.value.outlet;this.deactivateRoutes(o,r[a],i),delete r[a]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){const r=n.value,o=e?e.value:null;if(r===o)if(r.component){const a=i.getContext(r.outlet);a&&this.deactivateChildRoutes(n,e,a.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=Od(n);for(const a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);if(i&&i.outlet){const a=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:s})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=Od(n);for(const a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){const r=Od(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new R8e(o.value.snapshot))}),n.children.length&&this.forwardEvent(new P8e(n.value.snapshot))}activateRoutes(n,e,i){const r=n.value,o=e?e.value:null;if(oy(r),r===o)if(r.component){const a=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,i);else if(r.component){const a=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),oy(s.route.value),this.activateChildRoutes(n,null,a.children)}else a.attachRef=null,a.route=r,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(n,null,a.children)}else this.activateChildRoutes(n,null,i)}}class vN{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class mm{component;route;constructor(n,e){this.component=n,this.route=e}}function eme(t,n,e){const i=t._root;return T4(i,n?n._root:null,e,[i.value])}function Pd(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function qd(t){return null!==zl(t)}(t)?n.get(t):t:i}function T4(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Od(n);return t.children.forEach(a=>{(function nme(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,a=n?n.value:null,s=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const l=function ime(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!i0(t.url,n.url);case"pathParamsOrQueryParamsChange":return!i0(t.url,n.url)||!ic(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ay(t,n)||!ic(t.queryParams,n.queryParams);default:return!ay(t,n)}}(a,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new vN(i)):(o.data=a.data,o._resolvedData=a._resolvedData),T4(t,n,o.component?s?s.children:null:e,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new mm(s.outlet.component,a))}else a&&D4(n,s,r),r.canActivateChecks.push(new vN(i)),T4(t,null,o.component?s?s.children:null:e,i,r)})(a,o[a.value.outlet],e,i.concat([a.value]),r),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>D4(s,e.getContext(a),r)),r}function D4(t,n,e){const i=Od(t),r=t.value;Object.entries(i).forEach(([o,a])=>{D4(a,r.component?n?n.children.getContext(o):null:n,e)}),e.canDeactivateChecks.push(new mm(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function x4(t){return"function"==typeof t}function _N(t){return t instanceof Z8||"EmptyError"===t?.name}const pm=Symbol("INITIAL_VALUE");function Nd(){return Ea(t=>qu(t.map(n=>n.pipe(Jl(1),jc(pm)))).pipe(jt(n=>{for(const e of n)if(!0!==e){if(e===pm)return pm;if(!1===e||ume(e))return e}return!0}),pr(n=>n!==pm),Jl(1)))}function ume(t){return r0(t)||t instanceof cy}function yN(t){return function cs(...t){return us(t)}(Go(n=>{if("boolean"!=typeof n)throw fm(0,n)}),jt(n=>!0===n))}class uy{segmentGroup;constructor(n){this.segmentGroup=n||null}}class dy extends Error{urlTree;constructor(n){super(),this.urlTree=n}}function Rd(t){return J8(new uy(t))}function Cme(t){return J8(new ge(4e3,!1))}class Sme{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return Wt(i);if(r.numberOfChildren>1||!r.children[Fn])return Cme();r=r.children[Fn]}}applyRedirectCommands(n,e,i,r,o){return function Mme(t,n,e){if("string"==typeof t)return Wt(t);const i=t,{queryParams:r,fragment:o,routeConfig:a,url:s,outlet:l,params:c,data:h,title:g}=n;return $c(Ra(e,()=>i({params:c,data:h,queryParams:r,fragment:o,routeConfig:a,url:s,outlet:l,title:g})))}(e,r,o).pipe(jt(a=>{if(a instanceof n0)throw new dy(a);const s=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),n,i);if("/"===a[0])throw new dy(s);return s}))}applyRedirectCreateUrlTree(n,e,i,r){const o=this.createSegmentGroup(n,e.root,i,r);return new n0(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return Object.entries(n).forEach(([r,o])=>{if("string"==typeof o&&":"===o[0]){const s=o.substring(1);i[r]=e[s]}else i[r]=o}),i}createSegmentGroup(n,e,i,r){const o=this.createSegments(n,e.segments,i,r);let a={};return Object.entries(e.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(n,l,i,r)}),new or(o,a)}createSegments(n,e,i,r){return e.map(o=>":"===o.path[0]?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){const r=i[e.path.substring(1)];if(!r)throw new ge(4001,!1);return r}findOrReturn(n,e){let i=0;for(const r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}}const hy={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Tme(t,n,e,i,r){const o=bN(t,n,e);return o.matched?(i=function H8e(t,n){return t.providers&&!t._injector&&(t._injector=Og(t.providers,n,`Route: ${t.path}`)),t._injector??n}(n,i),function bme(t,n,e,i){const r=n.canMatch;return r&&0!==r.length?Wt(r.map(a=>{const s=Pd(a,t);return $c(function cme(t){return t&&x4(t.canMatch)}(s)?s.canMatch(n,e):Ra(t,()=>s(n,e)))})).pipe(Nd(),yN()):Wt(!0)}(i,n,e).pipe(jt(a=>!0===a?o:{...hy}))):Wt(o)}function bN(t,n,e){if("**"===n.path)return function Dme(t){return{matched:!0,parameters:t.length>0?UP(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}(e);if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...hy}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(n.matcher||t8e)(e,t,n);if(!r)return{...hy};const o={};Object.entries(r.posParams??{}).forEach(([s,l])=>{o[s]=l.path});const a=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function CN(t,n,e,i){return e.length>0&&function Eme(t,n,e){return e.some(i=>gm(t,n,i)&&Dl(i)!==Fn)}(t,e,i)?{segmentGroup:new or(n,kme(i,new or(e,t.children))),slicedSegments:[]}:0===e.length&&function Ime(t,n,e){return e.some(i=>gm(t,n,i))}(t,e,i)?{segmentGroup:new or(t.segments,xme(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new or(t.segments,t.children),slicedSegments:e}}function xme(t,n,e,i){const r={};for(const o of e)if(gm(t,n,o)&&!i[Dl(o)]){const a=new or([],{});r[Dl(o)]=a}return{...i,...r}}function kme(t,n){const e={};e[Fn]=n;for(const i of t)if(""===i.path&&Dl(i)!==Fn){const r=new or([],{});e[Dl(i)]=r}return e}function gm(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}class Ame{}class Pme{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,i,r,o,a,s){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new Sme(this.urlSerializer,this.urlTree)}noMatchError(n){return new ge(4002,`'${n.segmentGroup}'`)}recognize(){const n=CN(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(jt(({children:e,rootSnapshot:i})=>{const r=new xl(i,e),o=new cN("",r),a=function C8e(t,n,e=null,i=null){return JP(ZP(t),n,e,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}}))}match(n){const e=new hm([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Fn,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,Fn,e).pipe(jt(i=>({children:i,rootSnapshot:e})),Q1(i=>{if(i instanceof dy)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof uy?this.noMatchError(i):i}))}processSegmentGroup(n,e,i,r,o){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i,o):this.processSegment(n,e,i,i.segments,r,!0,o).pipe(jt(a=>a instanceof xl?[a]:[]))}processChildren(n,e,i,r){const o=[];for(const a of Object.keys(i.children))"primary"===a?o.unshift(a):o.push(a);return ca(o).pipe(Rh(a=>{const s=i.children[a],l=function q8e(t,n){const e=t.filter(i=>Dl(i)===n);return e.push(...t.filter(i=>Dl(i)!==n)),e}(e,a);return this.processSegmentGroup(n,l,s,a,r)}),function K6e(t,n){return Rr(function G6e(t,n,e,i,r){return(o,a)=>{let s=e,l=n,c=0;o.subscribe(dr(a,h=>{const g=c++;l=s?t(l,h,g):(s=!0,h),i&&a.next(l)},r&&(()=>{s&&a.next(l),a.complete()})))}}(t,n,arguments.length>=2,!0))}((a,s)=>(a.push(...s),a)),em(null),function Q6e(t,n){const e=arguments.length>=2;return i=>i.pipe(t?pr((r,o)=>t(r,o,i)):Dr,$_(1),e?em(n):HP(()=>new Z8))}(),$o(a=>{if(null===a)return Rd(i);const s=wN(a);return function Nme(t){t.sort((n,e)=>n.value.outlet===Fn?-1:e.value.outlet===Fn?1:n.value.outlet.localeCompare(e.value.outlet))}(s),Wt(s)}))}processSegment(n,e,i,r,o,a,s){return ca(e).pipe(Rh(l=>this.processSegmentAgainstRoute(l._injector??n,e,l,i,r,o,a,s).pipe(Q1(c=>{if(c instanceof uy)return Wt(null);throw c}))),Yu(l=>!!l),Q1(l=>{if(_N(l))return function zme(t,n,e){return 0===n.length&&!t.children[e]}(i,r,o)?Wt(new Ame):Rd(i);throw l}))}processSegmentAgainstRoute(n,e,i,r,o,a,s,l){return Dl(i)===a||a!==Fn&&gm(r,o,i)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,r,i,o,a,l):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,o,a,l):Rd(r):Rd(r)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,a,s){const{matched:l,parameters:c,consumedSegments:h,positionalParamSegments:g,remainingSegments:L}=bN(e,r,o);if(!l)return Rd(e);"string"==typeof r.redirectTo&&"/"===r.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const y=new hm(o,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,SN(r),Dl(r),r.component??r._loadedComponent??null,r,MN(r)),x=dm(y,s,this.paramsInheritanceStrategy);return y.params=Object.freeze(x.params),y.data=Object.freeze(x.data),this.applyRedirects.applyRedirectCommands(h,r.redirectTo,g,y,n).pipe(Ea(ee=>this.applyRedirects.lineralizeSegments(r,ee)),$o(ee=>this.processSegment(n,i,e,ee.concat(L),a,!1,s)))}matchSegmentAgainstRoute(n,e,i,r,o,a){const s=Tme(e,i,r,n);return"**"===i.path&&(e.children={}),s.pipe(Ea(l=>l.matched?this.getChildConfig(n=i._injector??n,i,r).pipe(Ea(({routes:c})=>{const h=i._loadedInjector??n,{parameters:g,consumedSegments:L,remainingSegments:y}=l,x=new hm(L,g,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,SN(i),Dl(i),i.component??i._loadedComponent??null,i,MN(i)),B=dm(x,a,this.paramsInheritanceStrategy);x.params=Object.freeze(B.params),x.data=Object.freeze(B.data);const{segmentGroup:ee,slicedSegments:re}=CN(e,L,y,c);if(0===re.length&&ee.hasChildren())return this.processChildren(h,c,ee,x).pipe(jt(Xe=>new xl(x,Xe)));if(0===c.length&&0===re.length)return Wt(new xl(x,[]));const ae=Dl(i)===o;return this.processSegment(h,c,ee,re,ae?Fn:o,!0,x).pipe(jt(Xe=>new xl(x,Xe instanceof xl?[Xe]:[])))})):Rd(e)))}getChildConfig(n,e,i){return e.children?Wt({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?Wt({routes:e._loadedRoutes,injector:e._loadedInjector}):function yme(t,n,e,i){const r=n.canLoad;return void 0===r||0===r.length?Wt(!0):Wt(r.map(a=>{const s=Pd(a,t);return $c(function ome(t){return t&&x4(t.canLoad)}(s)?s.canLoad(n,e):Ra(t,()=>s(n,e)))})).pipe(Nd(),yN())}(n,e,i).pipe($o(r=>r?this.configLoader.loadChildren(n,e).pipe(Go(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function wme(){return J8(pN(!1,ss.GuardRejected))}())):Wt({routes:[],injector:n})}}function Rme(t){const n=t.value.routeConfig;return n&&""===n.path}function wN(t){const n=[],e=new Set;for(const i of t){if(!Rme(i)){n.push(i);continue}const r=n.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):n.push(i)}for(const i of e){const r=wN(i.children);n.push(new xl(i.value,r))}return n.filter(i=>!e.has(i))}function SN(t){return t.data||{}}function MN(t){return t.resolve||{}}function TN(t){const n=t.children.map(e=>TN(e)).flat();return[t,...n]}function fy(t){return Ea(n=>{const e=t(n);return e?ca(e).pipe(jt(()=>n)):Wt(n)})}let DN=(()=>{class t{buildTitle(e){let i,r=e.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===Fn);return i}getResolvedTitleForRoute(e){return e.data[g4]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:()=>U(qme),providedIn:"root"})}return t})(),qme=(()=>{class t extends DN{title;constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||t)(It(V0e))};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const vm=new Ie("",{providedIn:"root",factory:()=>({})}),xN=new Ie("");let kN=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=U(eK);loadComponent(e,i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return Wt(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);const r=$c(Ra(e,()=>i.loadComponent())).pipe(jt(EN),Ea(IN),Go(a=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=a}),Lu(()=>{this.componentLoaders.delete(i)})),o=new FP(r,()=>new it).pipe(j_());return this.componentLoaders.set(i,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return Wt({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=function Yme(t,n,e,i){return $c(Ra(e,()=>t.loadChildren())).pipe(jt(EN),Ea(IN),$o(r=>r instanceof yM||Array.isArray(r)?Wt(r):ca(n.compileModuleAsync(r))),jt(r=>{i&&i(t);let o,a,s=!1;return Array.isArray(r)?(a=r,!0):(o=r.create(e).injector,a=o.get(xN,[],{optional:!0,self:!0}).flat()),{routes:a.map(ly),injector:o}}))}(i,this.compiler,e,this.onLoadEndListener).pipe(Lu(()=>{this.childrenLoaders.delete(i)})),a=new FP(o,()=>new it).pipe(j_());return this.childrenLoaders.set(i,a),a}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function EN(t){return function jme(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}function IN(t){return Wt(t)}let my=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:()=>U($me),providedIn:"root"})}return t})(),$me=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const Wme=new Ie(""),Qme=new Ie("");let Xme=(()=>{class t{currentNavigation=Jr(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new it;transitionAbortWithErrorSubject=new it;configLoader=U(kN);environmentInjector=U(pn);destroyRef=U(In);urlSerializer=U(nm);rootContexts=U(w4);location=U(M0);inputBindingEnabled=null!==U(sy,{optional:!0});titleStrategy=U(DN);options=U(vm,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=U(my);createViewTransition=U(Wme,{optional:!0});navigationErrorHandler=U(Qme,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>Wt(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=r=>this.events.next(new L8e(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new A8e(r)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){const i=++this.navigationId;tr(()=>{this.transitions?.next({...e,extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:i})})}setupNavigations(e){return this.transitions=new ei(null),this.transitions.pipe(pr(i=>null!==i),Ea(i=>{let r=!1;return Wt(i).pipe(Ea(o=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",ss.SupersededByNewNavigation),rs;this.currentTransition=i,this.currentNavigation.set({id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:"string"==typeof o.extras.browserUrl?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null,abort:()=>o.abortController.abort()});const a=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!a&&"reload"!==(o.extras.onSameUrlNavigation??e.onSameUrlNavigation))return this.events.next(new C4(o.id,this.urlSerializer.serialize(o.rawUrl),"",J_.IgnoredSameUrlNavigation)),o.resolve(!1),rs;if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return Wt(o).pipe(Ea(l=>(this.events.next(new Z_(l.id,this.urlSerializer.serialize(l.extractedUrl),l.source,l.restoredState)),l.id!==this.navigationId?rs:Promise.resolve(l))),function Fme(t,n,e,i,r,o){return $o(a=>function Lme(t,n,e,i,r,o,a="emptyOnly"){return new Pme(t,n,e,i,r,a,o).recognize()}(t,n,e,i,a.extractedUrl,r,o).pipe(jt(({state:s,tree:l})=>({...a,targetSnapshot:s,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Go(l=>{i.targetSnapshot=l.targetSnapshot,i.urlAfterRedirects=l.urlAfterRedirects,this.currentNavigation.update(h=>(h.finalUrl=l.urlAfterRedirects,h));const c=new oN(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){const{id:l,extractedUrl:c,source:h,restoredState:g,extras:L}=o,y=new Z_(l,this.urlSerializer.serialize(c),h,g);this.events.next(y);const x=lN(this.rootComponentType).snapshot;return this.currentTransition=i={...o,targetSnapshot:x,urlAfterRedirects:c,extras:{...L,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(B=>(B.finalUrl=c,B)),Wt(i)}return this.events.next(new C4(o.id,this.urlSerializer.serialize(o.extractedUrl),"",J_.IgnoredByUrlHandlingStrategy)),o.resolve(!1),rs}),Go(o=>{const a=new k8e(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(a)}),jt(o=>(this.currentTransition=i={...o,guards:eme(o.targetSnapshot,o.currentSnapshot,this.rootContexts)},i)),function dme(t,n){return $o(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:a}}=e;return 0===a.length&&0===o.length?Wt({...e,guardsResult:!0}):function hme(t,n,e,i){return ca(t).pipe($o(r=>function _me(t,n,e,i,r){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?Wt(o.map(s=>{const l=Ld(n)??r,c=Pd(s,l);return $c(function lme(t){return t&&x4(t.canDeactivate)}(c)?c.canDeactivate(t,n,e,i):Ra(l,()=>c(t,n,e,i))).pipe(Yu())})).pipe(Nd()):Wt(!0)}(r.component,r.route,e,n,i)),Yu(r=>!0!==r,!0))}(a,i,r,t).pipe($o(s=>s&&function rme(t){return"boolean"==typeof t}(s)?function fme(t,n,e,i){return ca(n).pipe(Rh(r=>s4(function pme(t,n){return null!==t&&n&&n(new O8e(t)),Wt(!0)}(r.route.parent,i),function mme(t,n){return null!==t&&n&&n(new N8e(t)),Wt(!0)}(r.route,i),function vme(t,n,e){const i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(a=>function tme(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(a)).filter(a=>null!==a).map(a=>Y_(()=>Wt(a.guards.map(l=>{const c=Ld(a.node)??e,h=Pd(l,c);return $c(function sme(t){return t&&x4(t.canActivateChild)}(h)?h.canActivateChild(i,t):Ra(c,()=>h(i,t))).pipe(Yu())})).pipe(Nd())));return Wt(o).pipe(Nd())}(t,r.path,e),function gme(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return Wt(!0);const r=i.map(o=>Y_(()=>{const a=Ld(n)??e,s=Pd(o,a);return $c(function ame(t){return t&&x4(t.canActivate)}(s)?s.canActivate(n,t):Ra(a,()=>s(n,t))).pipe(Yu())}));return Wt(r).pipe(Nd())}(t,r.route,e))),Yu(r=>!0!==r,!0))}(i,o,t,n):Wt(s)),jt(s=>({...e,guardsResult:s})))})}(this.environmentInjector,o=>this.events.next(o)),Go(o=>{if(i.guardsResult=o.guardsResult,o.guardsResult&&"boolean"!=typeof o.guardsResult)throw fm(0,o.guardsResult);const a=new E8e(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(a)}),pr(o=>!!o.guardsResult||(this.cancelNavigationTransition(o,"",ss.GuardRejected),!1)),fy(o=>{if(0!==o.guards.canActivateChecks.length)return Wt(o).pipe(Go(a=>{const s=new I8e(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(s)}),Ea(a=>{let s=!1;return Wt(a).pipe(function Hme(t,n){return $o(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return Wt(e);const o=new Set(r.map(l=>l.route)),a=new Set;for(const l of o)if(!a.has(l))for(const c of TN(l))a.add(c);let s=0;return ca(a).pipe(Rh(l=>o.has(l)?function Vme(t,n,e,i){const r=t.routeConfig,o=t._resolve;return void 0!==r?.title&&!dN(r)&&(o[g4]=r.title),Y_(()=>(t.data=dm(t,t.parent,e).resolve,function Ume(t,n,e,i){const r=W_(t);if(0===r.length)return Wt({});const o={};return ca(r).pipe($o(a=>function Bme(t,n,e,i){const r=Ld(n)??i,o=Pd(t,r);return $c(o.resolve?o.resolve(n,e):Ra(r,()=>o(n,e)))}(t[a],n,e,i).pipe(Yu(),Go(s=>{if(s instanceof cy)throw fm(new im,s);o[a]=s}))),$_(1),jt(()=>o),Q1(a=>_N(a)?rs:J8(a)))}(o,t,n,i).pipe(jt(a=>(t._resolvedData=a,t.data={...t.data,...a},null)))))}(l,i,t,n):(l.data=dm(l,l.parent,t).resolve,Wt(void 0))),Go(()=>s++),$_(1),$o(l=>s===a.size?Wt(e):rs))})}(this.paramsInheritanceStrategy,this.environmentInjector),Go({next:()=>s=!0,complete:()=>{s||this.cancelNavigationTransition(a,"",ss.NoDataFromResolver)}}))}),Go(a=>{const s=new z8e(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(s)}))}),fy(o=>{const a=s=>{const l=[];if(s.routeConfig?.loadComponent){const c=Ld(s)??this.environmentInjector;l.push(this.configLoader.loadComponent(c,s.routeConfig).pipe(Go(h=>{s.component=h}),jt(()=>{})))}for(const c of s.children)l.push(...a(c));return l};return qu(a(o.targetSnapshot.root)).pipe(em(null),Jl(1))}),fy(()=>this.afterPreactivation()),Ea(()=>{const{currentSnapshot:o,targetSnapshot:a}=i,s=this.createViewTransition?.(this.environmentInjector,o.root,a.root);return s?ca(s).pipe(jt(()=>i)):Wt(i)}),jt(o=>{const a=function G8e(t,n,e){const i=M4(t,n._root,e?e._root:void 0);return new sN(i,n)}(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=i={...o,targetRouterState:a},this.currentNavigation.update(s=>(s.targetRouterState=a,s)),i}),Go(()=>{this.events.next(new ty)}),((t,n,e,i)=>jt(r=>(new J8e(n,r.targetRouterState,r.currentRouterState,e,i).activate(t),r)))(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),Jl(1),Zh(new Be(o=>{const a=i.abortController.signal,s=()=>o.next();return a.addEventListener("abort",s),()=>a.removeEventListener("abort",s)}).pipe(pr(()=>!r&&!i.targetRouterState),Go(()=>{this.cancelNavigationTransition(i,i.abortController.signal.reason+"",ss.Aborted)}))),Go({next:o=>{r=!0,this.lastSuccessfulNavigation=tr(this.currentNavigation),this.events.next(new Wc(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{r=!0}}),Zh(this.transitionAbortWithErrorSubject.pipe(Go(o=>{throw o}))),Lu(()=>{r||this.cancelNavigationTransition(i,"",ss.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Q1(o=>{if(this.destroyed)return i.resolve(!1),rs;if(r=!0,gN(o))this.events.next(new o0(i.id,this.urlSerializer.serialize(i.extractedUrl),o.message,o.cancellationCode)),function X8e(t){return gN(t)&&r0(t.url)}(o)?this.events.next(new um(o.url,o.navigationBehaviorOptions)):i.resolve(!1);else{const a=new ey(i.id,this.urlSerializer.serialize(i.extractedUrl),o,i.targetSnapshot??void 0);try{const s=Ra(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(!(s instanceof cy))throw this.events.next(a),o;{const{message:l,cancellationCode:c}=fm(0,s);this.events.next(new o0(i.id,this.urlSerializer.serialize(i.extractedUrl),l,c)),this.events.next(new um(s.redirectTo,s.navigationBehaviorOptions))}}catch(s){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(s)}}return rs}))}))}cancelNavigationTransition(e,i,r){const o=new o0(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),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))),i=tr(this.currentNavigation),r=i?.targetBrowserUrl??i?.extractedUrl;return e.toString()!==r?.toString()&&!i?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Zme(t){return t!==cm}let Jme=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:()=>U(tpe),providedIn:"root"})}return t})();class epe{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}let tpe=(()=>{class t extends epe{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zN=(()=>{class t{urlSerializer=U(nm);options=U(vm,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=U(M0);urlHandlingStrategy=U(my);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new n0;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:i,targetBrowserUrl:r}){const o=void 0!==e?this.urlHandlingStrategy.merge(e,i):i,a=r??o;return a instanceof n0?this.urlSerializer.serialize(a):a}commitTransition({targetRouterState:e,finalUrl:i,initialUrl:r}){i&&e?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=e):this.rawUrlTree=r}routerState=lN(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:()=>U(npe),providedIn:"root"})}return t})(),npe=(()=>{class t extends zN{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{"popstate"===i.type&&setTimeout(()=>{e(i.url,i.state,"popstate")})})}handleRouterEvent(e,i){e instanceof Z_?this.updateStateMemento():e instanceof C4?this.commitTransition(i):e instanceof oN?"eager"===this.urlUpdateStrategy&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof ty?(this.commitTransition(i),"deferred"===this.urlUpdateStrategy&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof o0&&e.code!==ss.SupersededByNewNavigation&&e.code!==ss.Redirect?this.restoreHistory(i):e instanceof ey?this.restoreHistory(i,!0):e instanceof Wc&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:i,id:r}){const{replaceUrl:o,state:a}=i;if(this.location.isCurrentPathEqualTo(e)||o){const s=this.browserPageId,l={...a,...this.generateNgRouterState(r,s)};this.location.replaceState(e,"",l)}else{const s={...a,...this.generateNgRouterState(r,this.browserPageId+1)};this.location.go(e,"",s)}}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-this.browserPageId;0!==o?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&0===o&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Si(t)))(r||t)}})();static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const rpe={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ope={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Fd=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=U(YM);stateManager=U(zN);options=U(vm,{optional:!0})||{};pendingTasks=U(fu);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=U(Xme);urlSerializer=U(nm);location=U(M0);urlHandlingStrategy=U(my);injector=U(pn);_events=new it;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=U(Jme);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=U(xN,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!U(sy,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Vt;subscribeToNavigationEvents(){const e=this.navigationTransitions.events.subscribe(i=>{try{const r=this.navigationTransitions.currentTransition,o=tr(this.navigationTransitions.currentNavigation);if(null!==r&&null!==o)if(this.stateManager.handleRouterEvent(i,o),i instanceof o0&&i.code!==ss.Redirect&&i.code!==ss.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Wc)this.navigated=!0;else if(i instanceof um){const a=i.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l={browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Zme(r.source),...a};this.scheduleNavigation(s,cm,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}(function F8e(t){return!(t instanceof ty||t instanceof um)})(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortWithErrorSubject.next(r)}});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),cm,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i,r)=>{this.navigateToSyncWithBrowser(e,r,i)})}navigateToSyncWithBrowser(e,i,r){const o={replaceUrl:!0},a=r?.navigationId?r:null;if(r){const l={...r};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const s=this.parseUrl(e);this.scheduleNavigation(s,i,a,o).catch(l=>{this.disposed||this.injector.get(fl)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return tr(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(ly),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){const{relativeTo:r,queryParams:o,fragment:a,queryParamsHandling:s,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:a;let g,h=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":h={...this.currentUrlTree.queryParams,...o};break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=o||null}null!==h&&(h=this.removeEmptyProps(h));try{g=ZP(r?r.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||"/"!==e[0][0])&&(e=[]),g=this.currentUrlTree.root}return JP(g,e,h,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=r0(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,cm,null,i)}navigate(e,i={skipLocationChange:!1}){return function ape(t){for(let n=0;n<t.length;n++)if(null==t[n])throw new ge(4008,!1)}(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(wi(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,i){let r;if(r=!0===i?{...rpe}:!1===i?{...ope}:i,r0(e))return qP(this.currentUrlTree,e,r);const o=this.parseUrl(e);return qP(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,o])=>(null!=o&&(i[r]=o),i),{})}scheduleNavigation(e,i,r,o,a){if(this.disposed)return Promise.resolve(!1);let s,l,c;a?(s=a.resolve,l=a.reject,c=a.promise):c=new Promise((g,L)=>{s=g,l=L});const h=this.pendingTasks.add();return function ipe(t,n){t.events.pipe(pr(e=>e instanceof Wc||e instanceof o0||e instanceof ey||e instanceof C4),jt(e=>e instanceof Wc||e instanceof C4?0:e instanceof o0&&(e.code===ss.Redirect||e.code===ss.SupersededByNewNavigation)?2:1),pr(e=>2!==e),Jl(1)).subscribe(()=>{n()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:s,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(g=>Promise.reject(g))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vd=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=Jr(null);get href(){return tr(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new it;applicationErrorHandler=U(fl);options=U(vm,{optional:!0});constructor(e,i,r,o,a,s){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=a,this.locationStrategy=s,this.reactiveHref.set(U(new AX("href"),{optional:!0}));const l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l||!("object"!=typeof customElements||!customElements.get(l)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(void 0!==this.subscription||!this.isAnchorElement)return;let e=this.preserveFragment;const i=r=>"merge"===r||"preserve"===r;e||=i(this.queryParamsHandling),e||=!this.queryParamsHandling&&!i(this.options?.defaultQueryParamsHandling),e&&(this.subscription=this.router.events.subscribe(r=>{r instanceof Wc&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){null==e?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=r0(e)||Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,o,a){const s=this.urlTree;if(null===s||this.isAnchorElement&&(0!==e||i||r||o||a||"string"==typeof this.target&&"_self"!=this.target))return!0;const l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,l)?.catch(c=>{this.applicationErrorHandler(c)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const e=this.urlTree;this.reactiveHref.set(null!==e&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null)}applyAttributeValue(e,i){const r=this.renderer,o=this.el.nativeElement;null!==i?r.setAttribute(o,e,i):r.removeAttribute(o,e)}get urlTree(){return null===this.routerLinkInput?null:r0(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(i){return new(i||t)(xe(Fd),xe(S4),C2("tabindex"),xe(to),xe(un),xe(X4))};static \u0275dir=vt({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(i,r){1&i&&Ne("click",function(a){return r.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&i&&gt("href",r.reactiveHref(),_w)("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Qe],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Qe],replaceUrl:[2,"replaceUrl","replaceUrl",Qe],routerLink:"routerLink"},features:[vn]})}return t})();class Ipe{_letterKeyStream=new it;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new it;selectedItem=this._selectedItem;constructor(n,e){const i="number"==typeof e?.debounceInterval?e.debounceInterval:200;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){const e=n.keyCode;n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Go(e=>this._pressedLetters.push(e)),C8(n),pr(()=>this._pressedLetters.length>0),jt(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){const o=this._items[(this._selectedItemIndex+i)%this._items.length];if(!this._skipPredicateFn?.(o)&&0===o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)){this._selectedItem.next(o);break}}this._pressedLetters=[]})}}class zpe{_items;_activeItemIndex=Jr(-1);_activeItem=Jr(null);_wrap=!1;_typeaheadSubscription=Vt.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,e){this._items=n,n instanceof O0?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):Q4(n)&&(this._effectRef=G5(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new it;change=new it;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();const e=this._getItemsArray();return this._typeahead=new Ipe(e,{debounceInterval:"number"==typeof n?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){const e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(n){const e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex()+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o<a?o:a-1,-1);break}return;default:return void((r||U8(n,"shiftKey"))&&this._typeahead?.handleKey(n))}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n);this._activeItem.set(e[i]??null),this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex()+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return Q4(this._items)?this._items():this._items instanceof O0?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);const e=this._activeItem();if(e){const i=n.indexOf(e);i>-1&&i!==this._activeItemIndex()&&(this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i))}}}class Ape extends zpe{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let Lpe=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ope=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({providers:[Lpe]})}return t})();var a0=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(a0||{});const KN="cdk-high-contrast-black-on-white",QN="cdk-high-contrast-white-on-black",yy="cdk-high-contrast-active";let Bpe=(()=>{class t{_platform=U(Aa);_hasCheckedHighContrastMode;_document=U(br);_breakpointSubscription;constructor(){this._breakpointSubscription=U(_6e).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return a0.NONE;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return a0.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return a0.BLACK_ON_WHITE}return a0.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(yy,KN,QN),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();i===a0.BLACK_ON_WHITE?e.add(yy,KN):i===a0.WHITE_ON_BLACK&&e.add(yy,QN)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),qpe=(()=>{class t{constructor(){U(Bpe)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({imports:[Ope]})}return t})();const Ype=["nz-menu-item",""],XN=["*"],jpe=["nz-submenu-inline-child",""];function $pe(t,n){}const Wpe=["nz-submenu-none-inline-child",""];function Gpe(t,n){}const Kpe=["nz-submenu-title",""];function Qpe(t,n){1&t&&He(0,"nz-icon",0),2&t&&N("nzType",k().nzIcon)}function Xpe(t,n){if(1&t&&(Ge(0),J(1,"span",4),Pe(2),te(),Ye()),2&t){const e=k();z(2),ln(e.nzTitle)}}function Zpe(t,n){1&t&&He(0,"nz-icon",5)}function Jpe(t,n){1&t&&He(0,"nz-icon",6)}function ege(t,n){if(1&t&&(J(0,"span",2),lt(1,Zpe,1,0,"nz-icon",5)(2,Jpe,1,0,"nz-icon",6),te()),2&t){let e;const i=k();z(),ct("rtl"===(e=i.dir)?1:2)}}function tge(t,n){1&t&&He(0,"span",3)}const nge=["nz-submenu",""],ige=[[["","title",""]],"*"],rge=["[title]","*"];function oge(t,n){1&t&&Io(0)}function age(t,n){if(1&t&&He(0,"div",3),2&t){const e=k(),i=fr(6);N("mode",e.mode)("nzOpen",e.nzOpen)("@.disabled",!(null==e.noAnimation||!e.noAnimation.nzNoAnimation))("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("menuClass",e.nzMenuClassName)("templateOutlet",i)}}function sge(t,n){if(1&t){const e=tt();J(0,"div",6),Ne("subMenuMouseState",function(r){return ce(e),ue(k(2).setMouseEnterState(r))}),te()}if(2&t){const e=k(2),i=fr(6);N("theme",e.theme)("mode",e.mode)("nzOpen",e.nzOpen)("position",e.position)("nzDisabled",e.nzDisabled)("isMenuInsideDropDown",e.isMenuInsideDropDown)("nzTriggerSubMenuAction",e.nzTriggerSubMenuAction)("templateOutlet",i)("menuClass",e.nzMenuClassName)("@.disabled",!(null==e.noAnimation||!e.noAnimation.nzNoAnimation))("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)}}function lge(t,n){if(1&t){const e=tt();ve(0,sge,1,11,"ng-template",5),Ne("positionChange",function(r){return ce(e),ue(k().onPositionChange(r))})("overlayOutsideClick",function(){return ce(e),ue(k().setMouseEnterState(!1))})}if(2&t){const e=k(),i=fr(1);N("cdkConnectedOverlayPositions",e.overlayPositions)("cdkConnectedOverlayOrigin",i)("cdkConnectedOverlayWidth",e.triggerWidth)("cdkConnectedOverlayOpen",e.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function cge(t,n){1&t&&Io(0,1)}const uge=["titleElement"],dge=["nz-menu-group",""],hge=["*",[["","title",""]]],fge=["*","[title]"];function mge(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k();z(),ln(e.nzTitle)}}function pge(t,n){1&t&&Io(0,1)}let Gc=(()=>{class t{descendantMenuItemClick$=new it;childMenuItemClick$=new it;theme$=new ei("light");mode$=new ei("vertical");inlineIndent$=new ei(24);isChildSubMenuOpen$=new ei(!1);onDescendantMenuItemClick(e){this.descendantMenuItemClick$.next(e)}onChildMenuItemClick(e){this.childMenuItemClick$.next(e)}setMode(e){this.mode$.next(e)}setTheme(e){this.theme$.next(e)}setInlineIndent(e){this.inlineIndent$.next(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})();const ac=new Ie(""),ZN=new Ie("");let by=(()=>{class t{nzMenuService=U(Gc);nzHostSubmenuService=U(t,{optional:!0,skipSelf:!0});mode$=this.nzMenuService.mode$.pipe(jt(e=>"inline"===e?"inline":"vertical"===e||this.nzHostSubmenuService?"vertical":"horizontal"));level=1;isMenuInsideDropDown=U(ac);isCurrentSubMenuOpen$=new ei(!1);isChildSubMenuOpen$=new ei(!1);isMouseEnterTitleOrOverlay$=new it;childMenuItemClick$=new it;onChildMenuItemClick(e){this.childMenuItemClick$.next(e)}setOpenStateWithoutDebounce(e){this.isCurrentSubMenuOpen$.next(e)}setMouseEnterTitleOrOverlayState(e){this.isMouseEnterTitleOrOverlay$.next(e)}constructor(){this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);const e=this.childMenuItemClick$.pipe($o(()=>this.mode$),pr(o=>"inline"!==o||this.isMenuInsideDropDown),jt(()=>!1)),i=Ss(this.isMouseEnterTitleOrOverlay$,e);qu([this.isChildSubMenuOpen$,i]).pipe(jt(([o,a])=>o||a),Ed(150)).pipe(Vu(),mt()).subscribe(o=>{this.setOpenStateWithoutDebounce(o),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(o):this.nzMenuService.isChildSubMenuOpen$.next(o)})}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac})}return t})(),Cy=(()=>{class t{nzMenuService=U(Gc);destroyRef=U(In);cdr=U(Cr);nzSubmenuService=U(by,{optional:!0});directionality=U(oo);routerLink=U(Vd,{optional:!0});router=U(Fd,{optional:!0});isMenuInsideDropDown=U(ac);level=this.nzSubmenuService?this.nzSubmenuService.level+1:1;selected$=new it;inlinePaddingLeft=null;dir="ltr";nzPaddingLeft;nzDisabled=!1;nzSelected=!1;nzDanger=!1;nzMatchRouterExact=!1;nzMatchRouter=!1;listOfRouterLink;clickMenuItem(e){if(this.nzDisabled)return e.preventDefault(),void e.stopPropagation();this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this)}setSelectedState(e){this.nzSelected=e,this.selected$.next(e)}updateRouterActive(){!this.listOfRouterLink||!this.router||!this.router.navigated||!this.nzMatchRouter||Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.nzSelected!==e&&(this.nzSelected=e,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.routerLink&&e(this.routerLink)||this.listOfRouterLink.some(e)}isLinkActive(e){return i=>e.isActive(i.urlTree||"",{paths:this.nzMatchRouterExact?"exact":"subset",queryParams:this.nzMatchRouterExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}constructor(){this.router?.events.pipe(mt(),pr(e=>e instanceof Wc)).subscribe(()=>this.updateRouterActive())}ngOnInit(){qu([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(mt(this.destroyRef)).subscribe(([e,i])=>{this.inlinePaddingLeft="inline"===e?this.level*i:null}),this.dir=this.directionality.value,this.directionality.change?.pipe(mt(this.destroyRef)).subscribe(e=>{this.dir=e})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe(mt(this.destroyRef)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(e){const{nzSelected:i}=e;i&&this.setSelectedState(this.nzSelected)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["","nz-menu-item",""]],contentQueries:function(i,r,o){if(1&i&&qa(o,Vd,5),2&i){let a;zn(a=An())&&(r.listOfRouterLink=a)}},hostVars:20,hostBindings:function(i,r){1&i&&Ne("click",function(a){return r.clickMenuItem(a)}),2&i&&(Zi("padding-left","rtl"===r.dir?null:r.nzPaddingLeft||r.inlinePaddingLeft,"px")("padding-right","rtl"===r.dir?r.nzPaddingLeft||r.inlinePaddingLeft:null,"px"),Bt("ant-dropdown-menu-item",r.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",r.isMenuInsideDropDown&&r.nzSelected)("ant-dropdown-menu-item-danger",r.isMenuInsideDropDown&&r.nzDanger)("ant-dropdown-menu-item-disabled",r.isMenuInsideDropDown&&r.nzDisabled)("ant-menu-item",!r.isMenuInsideDropDown)("ant-menu-item-selected",!r.isMenuInsideDropDown&&r.nzSelected)("ant-menu-item-danger",!r.isMenuInsideDropDown&&r.nzDanger)("ant-menu-item-disabled",!r.isMenuInsideDropDown&&r.nzDisabled))},inputs:{nzPaddingLeft:[2,"nzPaddingLeft","nzPaddingLeft",n1e],nzDisabled:[2,"nzDisabled","nzDisabled",Qe],nzSelected:[2,"nzSelected","nzSelected",Qe],nzDanger:[2,"nzDanger","nzDanger",Qe],nzMatchRouterExact:[2,"nzMatchRouterExact","nzMatchRouterExact",Qe],nzMatchRouter:[2,"nzMatchRouter","nzMatchRouter",Qe]},exportAs:["nzMenuItem"],features:[vn],attrs:Ype,ngContentSelectors:XN,decls:2,vars:0,consts:[[1,"ant-menu-title-content"]],template:function(i,r){1&i&&(ka(),ni(0,"span",0),Io(1),ii())},encapsulation:2,changeDetection:0})}return t})(),gge=(()=>{class t{elementRef=U(un);renderer=U(to);directionality=U(oo);destroyRef=U(In);templateOutlet=null;menuClass="";mode="vertical";nzOpen=!1;listOfCacheClassName=[];expandState="collapsed";dir="ltr";calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe(mt(this.destroyRef)).subscribe(e=>{this.dir=e})}ngOnChanges(e){const{mode:i,nzOpen:r,menuClass:o}=e;(i||r)&&this.calcMotionState(),o&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.forEach(a=>{a&&this.renderer.removeClass(this.elementRef.nativeElement,a)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.forEach(a=>{a&&this.renderer.addClass(this.elementRef.nativeElement,a)})))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["","nz-submenu-inline-child",""]],hostAttrs:[1,"ant-menu","ant-menu-inline","ant-menu-sub"],hostVars:3,hostBindings:function(i,r){2&i&&(ih("@collapseMotion",r.expandState),Bt("ant-menu-rtl","rtl"===r.dir))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[vn],attrs:jpe,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(i,r){1&i&&ve(0,$pe,0,0,"ng-template",0),2&i&&N("ngTemplateOutlet",r.templateOutlet)},dependencies:[_l],encapsulation:2,data:{animation:[Qhe]},changeDetection:0})}return t})(),vge=(()=>{class t{directionality=U(oo);destroyRef=U(In);menuClass="";theme="light";templateOutlet=null;isMenuInsideDropDown=!1;mode="vertical";nzTriggerSubMenuAction="hover";position="right";nzDisabled=!1;nzOpen=!1;subMenuMouseState=new dt;expandState="collapsed";dir="ltr";setMouseState(e){!this.nzDisabled&&"hover"===this.nzTriggerSubMenuAction&&this.subMenuMouseState.next(e)}calcMotionState(){this.nzOpen?"horizontal"===this.mode?this.expandState="bottom":"vertical"===this.mode&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe(mt(this.destroyRef)).subscribe(e=>{this.dir=e})}ngOnChanges(e){const{mode:i,nzOpen:r}=e;(i||r)&&this.calcMotionState()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["","nz-submenu-none-inline-child",""]],hostAttrs:[1,"ant-menu-submenu","ant-menu-submenu-popup"],hostVars:14,hostBindings:function(i,r){1&i&&Ne("mouseenter",function(){return r.setMouseState(!0)})("mouseleave",function(){return r.setMouseState(!1)}),2&i&&(ih("@slideMotion",r.expandState)("@zoomBigMotion",r.expandState),Bt("ant-menu-light","light"===r.theme)("ant-menu-dark","dark"===r.theme)("ant-menu-submenu-placement-bottom","horizontal"===r.mode)("ant-menu-submenu-placement-right","vertical"===r.mode&&"right"===r.position)("ant-menu-submenu-placement-left","vertical"===r.mode&&"left"===r.position)("ant-menu-submenu-rtl","rtl"===r.dir))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",nzTriggerSubMenuAction:"nzTriggerSubMenuAction",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],features:[vn],attrs:Wpe,decls:2,vars:17,consts:[[3,"ngTemplateOutlet"]],template:function(i,r){1&i&&(J(0,"div"),ve(1,Gpe,0,0,"ng-template",0),te()),2&i&&(Oe(r.menuClass),Bt("ant-dropdown-menu",r.isMenuInsideDropDown)("ant-menu",!r.isMenuInsideDropDown)("ant-dropdown-menu-vertical",r.isMenuInsideDropDown)("ant-menu-vertical",!r.isMenuInsideDropDown)("ant-dropdown-menu-sub",r.isMenuInsideDropDown)("ant-menu-sub",!r.isMenuInsideDropDown)("ant-menu-rtl","rtl"===r.dir),z(),N("ngTemplateOutlet",r.templateOutlet))},dependencies:[_l],encapsulation:2,data:{animation:[O_,Y8]},changeDetection:0})}return t})(),JN=(()=>{class t{destroyRef=U(In);cdr=U(Cr);directionality=U(oo);nzIcon=null;nzTitle=null;isMenuInsideDropDown=!1;nzDisabled=!1;paddingLeft=null;mode="vertical";nzTriggerSubMenuAction="hover";toggleSubMenu=new dt;subMenuMouseState=new dt;dir="ltr";ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(mt(this.destroyRef)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()})}setMouseState(e){!this.nzDisabled&&"hover"===this.nzTriggerSubMenuAction&&this.subMenuMouseState.next(e)}clickTitle(){("inline"===this.mode||"click"===this.nzTriggerSubMenuAction)&&!this.nzDisabled&&(this.subMenuMouseState.next(!0),this.toggleSubMenu.emit())}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(i,r){1&i&&Ne("click",function(){return r.clickTitle()})("mouseenter",function(){return r.setMouseState(!0)})("mouseleave",function(){return r.setMouseState(!1)}),2&i&&(Zi("padding-left","rtl"===r.dir?null:r.paddingLeft,"px")("padding-right","rtl"===r.dir?r.paddingLeft:null,"px"),Bt("ant-dropdown-menu-submenu-title",r.isMenuInsideDropDown)("ant-menu-submenu-title",!r.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode",nzTriggerSubMenuAction:"nzTriggerSubMenuAction"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],attrs:Kpe,ngContentSelectors:XN,decls:5,vars:3,consts:[[3,"nzType"],[4,"nzStringTemplateOutlet"],[1,"ant-dropdown-menu-submenu-expand-icon"],[1,"ant-menu-submenu-arrow"],[1,"ant-menu-title-content"],["nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"]],template:function(i,r){1&i&&(ka(),lt(0,Qpe,1,1,"nz-icon",0),ve(1,Xpe,3,1,"ng-container",1),Io(2),lt(3,ege,3,1,"span",2)(4,tge,1,0,"span",3)),2&i&&(ct(r.nzIcon?0:-1),z(),N("nzStringTemplateOutlet",r.nzTitle),z(2),ct(r.isMenuInsideDropDown?3:4))},dependencies:[ec,La,Tl,Qo],encapsulation:2,changeDetection:0})}return t})();const eR=[rr.rightTop,rr.right,rr.rightBottom,rr.leftTop,rr.left,rr.leftBottom],_ge=[rr.bottomLeft,rr.bottomRight,rr.topRight,rr.topLeft];let tR=(()=>{class t{nzSubmenuService=U(by);isMenuInsideDropDown=U(ac);noAnimation=U(tc,{optional:!0,host:!0});directionality=U(oo);destroyRef=U(In);nzMenuService=U(Gc);cdr=U(Cr);platform=U(Aa);nzMenuClassName="";nzPaddingLeft=null;nzTitle=null;nzIcon=null;nzTriggerSubMenuAction="hover";nzOpen=!1;nzDisabled=!1;nzPlacement="bottomLeft";nzOpenChange=new dt;cdkOverlayOrigin=null;listOfNzSubMenuComponent=null;listOfNzMenuItemDirective=null;level=this.nzSubmenuService.level;position="right";triggerWidth=null;theme="light";mode="vertical";inlinePaddingLeft=null;overlayPositions=eR;isSelected=!1;isActive=!1;dir="ltr";setOpenStateWithoutDebounce(e){this.nzSubmenuService.setOpenStateWithoutDebounce(e)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(e){this.isActive=e,"inline"!==this.mode&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(e)}setTriggerWidth(){"horizontal"===this.mode&&this.platform.isBrowser&&this.cdkOverlayOrigin&&"bottomLeft"===this.nzPlacement&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(e){const i=j8(e);"rightTop"===i||"rightBottom"===i||"right"===i?this.position="right":("leftTop"===i||"leftBottom"===i||"left"===i)&&(this.position="left")}ngOnInit(){this.nzMenuService.theme$.pipe(mt(this.destroyRef)).subscribe(e=>{this.theme=e,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe(mt(this.destroyRef)).subscribe(e=>{this.mode=e,"horizontal"===e?this.overlayPositions=[rr[this.nzPlacement],..._ge]:"vertical"===e&&(this.overlayPositions=eR),this.cdr.markForCheck()}),qu([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(mt(this.destroyRef)).subscribe(([e,i])=>{this.inlinePaddingLeft="inline"===e?this.level*i:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe(mt(this.destroyRef)).subscribe(e=>{this.isActive=e,e!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=e,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,this.directionality.change?.pipe(mt(this.destroyRef)).subscribe(e=>{this.dir=e,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();const e=this.listOfNzMenuItemDirective,i=e.changes,r=Ss(i,...e.map(o=>o.selected$));i.pipe(jc(e),Ea(()=>r),jc(!0),jt(()=>e.some(o=>o.nzSelected)),mt(this.destroyRef)).subscribe(o=>{this.isSelected=o,this.cdr.markForCheck()})}ngOnChanges(e){const{nzOpen:i}=e;i&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["","nz-submenu",""]],contentQueries:function(i,r,o){if(1&i&&(qa(o,t,5),qa(o,Cy,5)),2&i){let a;zn(a=An())&&(r.listOfNzSubMenuComponent=a),zn(a=An())&&(r.listOfNzMenuItemDirective=a)}},viewQuery:function(i,r){if(1&i&&Ai(u4,7,un),2&i){let o;zn(o=An())&&(r.cdkOverlayOrigin=o.first)}},hostVars:34,hostBindings:function(i,r){2&i&&Bt("ant-dropdown-menu-submenu",r.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",r.isMenuInsideDropDown&&r.nzDisabled)("ant-dropdown-menu-submenu-open",r.isMenuInsideDropDown&&r.nzOpen)("ant-dropdown-menu-submenu-selected",r.isMenuInsideDropDown&&r.isSelected)("ant-dropdown-menu-submenu-vertical",r.isMenuInsideDropDown&&"vertical"===r.mode)("ant-dropdown-menu-submenu-horizontal",r.isMenuInsideDropDown&&"horizontal"===r.mode)("ant-dropdown-menu-submenu-inline",r.isMenuInsideDropDown&&"inline"===r.mode)("ant-dropdown-menu-submenu-active",r.isMenuInsideDropDown&&r.isActive)("ant-menu-submenu",!r.isMenuInsideDropDown)("ant-menu-submenu-disabled",!r.isMenuInsideDropDown&&r.nzDisabled)("ant-menu-submenu-open",!r.isMenuInsideDropDown&&r.nzOpen)("ant-menu-submenu-selected",!r.isMenuInsideDropDown&&r.isSelected)("ant-menu-submenu-vertical",!r.isMenuInsideDropDown&&"vertical"===r.mode)("ant-menu-submenu-horizontal",!r.isMenuInsideDropDown&&"horizontal"===r.mode)("ant-menu-submenu-inline",!r.isMenuInsideDropDown&&"inline"===r.mode)("ant-menu-submenu-active",!r.isMenuInsideDropDown&&r.isActive)("ant-menu-submenu-rtl","rtl"===r.dir)},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzTriggerSubMenuAction:"nzTriggerSubMenuAction",nzOpen:[2,"nzOpen","nzOpen",Qe],nzDisabled:[2,"nzDisabled","nzDisabled",Qe],nzPlacement:"nzPlacement"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[jn([by]),vn],attrs:nge,ngContentSelectors:rge,decls:7,vars:9,consts:[["origin","cdkOverlayOrigin"],["subMenuTemplate",""],["nz-submenu-title","","cdkOverlayOrigin","",3,"subMenuMouseState","toggleSubMenu","nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft","nzTriggerSubMenuAction"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn"],["cdkConnectedOverlay","",3,"positionChange","overlayOutsideClick","cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn"],["nz-submenu-none-inline-child","",3,"subMenuMouseState","theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","nzTriggerSubMenuAction","templateOutlet","menuClass","nzNoAnimation"]],template:function(i,r){if(1&i){const o=tt();ka(ige),J(0,"div",2,0),Ne("subMenuMouseState",function(s){return ce(o),ue(r.setMouseEnterState(s))})("toggleSubMenu",function(){return ce(o),ue(r.toggleSubMenu())}),lt(2,oge,1,0),te(),lt(3,age,1,6,"div",3)(4,lge,1,5,null,4),ve(5,cge,1,0,"ng-template",null,1,ho)}2&i&&(N("nzIcon",r.nzIcon)("nzTitle",r.nzTitle)("mode",r.mode)("nzDisabled",r.nzDisabled)("isMenuInsideDropDown",r.isMenuInsideDropDown)("paddingLeft",r.nzPaddingLeft||r.inlinePaddingLeft)("nzTriggerSubMenuAction",r.nzTriggerSubMenuAction),z(2),ct(r.nzTitle?-1:2),z(),ct("inline"===r.mode?3:4))},dependencies:[JN,gge,tc,vge,q8,e0,u4],encapsulation:2,changeDetection:0})}return t})();function yge(){const t=U(Gc,{skipSelf:!0,optional:!0}),n=U(ZN);return t??n}function bge(){return U(ac,{skipSelf:!0,optional:!0})??!1}let Cge=(()=>{class t{nzMenuService=U(Gc);destroyRef=U(In);cdr=U(Cr);directionality=U(oo);listOfNzMenuItemDirective;isMenuInsideDropDown=U(ac);listOfNzSubMenuComponent;nzInlineIndent=24;nzTheme="light";nzMode="vertical";nzInlineCollapsed=!1;nzSelectable=!this.isMenuInsideDropDown;nzClick=new dt;actualMode="vertical";dir="ltr";inlineCollapsed$=new ei(this.nzInlineCollapsed);mode$=new ei(this.nzMode);listOfOpenedNzSubMenuComponent=[];setInlineCollapsed(e){this.nzInlineCollapsed=e,this.inlineCollapsed$.next(e)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(e=>e.nzOpen),this.listOfNzSubMenuComponent.forEach(e=>e.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(e=>e.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}ngOnInit(){qu([this.inlineCollapsed$,this.mode$]).pipe(mt(this.destroyRef)).subscribe(([e,i])=>{this.actualMode=e?"vertical":i,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe(mt(this.destroyRef)).subscribe(e=>{this.nzClick.emit(e),this.nzSelectable&&!e.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(i=>i.setSelectedState(i===e))}),this.dir=this.directionality.value,this.directionality.change?.pipe(mt(this.destroyRef)).subscribe(e=>{this.dir=e,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe(mt(this.destroyRef)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(e){const{nzInlineCollapsed:i,nzInlineIndent:r,nzTheme:o,nzMode:a}=e;i&&this.inlineCollapsed$.next(this.nzInlineCollapsed),r&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),o&&this.nzMenuService.setTheme(this.nzTheme),a&&(this.mode$.next(this.nzMode),!a.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(s=>s.setOpenStateWithoutDebounce(!1)))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["","nz-menu",""]],contentQueries:function(i,r,o){if(1&i&&(qa(o,Cy,5),qa(o,tR,5)),2&i){let a;zn(a=An())&&(r.listOfNzMenuItemDirective=a),zn(a=An())&&(r.listOfNzSubMenuComponent=a)}},hostVars:34,hostBindings:function(i,r){2&i&&Bt("ant-dropdown-menu",r.isMenuInsideDropDown)("ant-dropdown-menu-root",r.isMenuInsideDropDown)("ant-dropdown-menu-light",r.isMenuInsideDropDown&&"light"===r.nzTheme)("ant-dropdown-menu-dark",r.isMenuInsideDropDown&&"dark"===r.nzTheme)("ant-dropdown-menu-vertical",r.isMenuInsideDropDown&&"vertical"===r.actualMode)("ant-dropdown-menu-horizontal",r.isMenuInsideDropDown&&"horizontal"===r.actualMode)("ant-dropdown-menu-inline",r.isMenuInsideDropDown&&"inline"===r.actualMode)("ant-dropdown-menu-inline-collapsed",r.isMenuInsideDropDown&&r.nzInlineCollapsed)("ant-menu",!r.isMenuInsideDropDown)("ant-menu-root",!r.isMenuInsideDropDown)("ant-menu-light",!r.isMenuInsideDropDown&&"light"===r.nzTheme)("ant-menu-dark",!r.isMenuInsideDropDown&&"dark"===r.nzTheme)("ant-menu-vertical",!r.isMenuInsideDropDown&&"vertical"===r.actualMode)("ant-menu-horizontal",!r.isMenuInsideDropDown&&"horizontal"===r.actualMode)("ant-menu-inline",!r.isMenuInsideDropDown&&"inline"===r.actualMode)("ant-menu-inline-collapsed",!r.isMenuInsideDropDown&&r.nzInlineCollapsed)("ant-menu-rtl","rtl"===r.dir)},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:[2,"nzInlineCollapsed","nzInlineCollapsed",Qe],nzSelectable:[2,"nzSelectable","nzSelectable",Qe]},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],features:[jn([{provide:ZN,useClass:Gc},{provide:Gc,useFactory:yge},{provide:ac,useFactory:bge}]),vn]})}return t})();function wge(){return U(ac,{optional:!0,skipSelf:!0})??!1}let Sge=(()=>{class t{renderer=U(to);isMenuInsideDropDown=U(ac);nzTitle;titleElement;ngAfterViewInit(){const e=this.titleElement.nativeElement.nextElementSibling;e&&this.renderer.addClass(e,this.isMenuInsideDropDown?"ant-dropdown-menu-item-group-list":"ant-menu-item-group-list")}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["","nz-menu-group",""]],viewQuery:function(i,r){if(1&i&&Ai(uge,5),2&i){let o;zn(o=An())&&(r.titleElement=o.first)}},hostVars:4,hostBindings:function(i,r){2&i&&Bt("ant-menu-item-group",!r.isMenuInsideDropDown)("ant-dropdown-menu-item-group",r.isMenuInsideDropDown)},inputs:{nzTitle:"nzTitle"},exportAs:["nzMenuGroup"],features:[jn([{provide:ac,useFactory:wge}])],attrs:dge,ngContentSelectors:fge,decls:5,vars:6,consts:[["titleElement",""],[4,"nzStringTemplateOutlet"]],template:function(i,r){1&i&&(ka(hge),J(0,"div",null,0),ve(2,mge,2,1,"ng-container",1),lt(3,pge,1,0),te(),Io(4)),2&i&&(Bt("ant-menu-item-group-title",!r.isMenuInsideDropDown)("ant-dropdown-menu-item-group-title",r.isMenuInsideDropDown),z(2),N("nzStringTemplateOutlet",r.nzTitle),z(),ct(r.nzTitle?-1:3))},dependencies:[Tl,Qo],encapsulation:2,changeDetection:0})}return t})(),Mge=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({imports:[tR,Sge,JN]})}return t})();const Tge=["*"];function Dge(t,n){1&t&&He(0,"div",1)}function xge(t,n){if(1&t){const e=tt();J(0,"div",0),Ne("@slideMotion.done",function(r){return ce(e),ue(k().onAnimationEvent(r))})("mouseenter",function(){return ce(e),ue(k().setMouseState(!0))})("mouseleave",function(){return ce(e),ue(k().setMouseState(!1))}),lt(1,Dge,1,0,"div",1),Io(2),te()}if(2&t){const e=k();Mi(e.nzOverlayStyle),Oe(e.nzOverlayClassName),Bt("ant-dropdown-rtl","rtl"===e.dir)("ant-dropdown-show-arrow",e.nzArrow)("ant-dropdown-placement-bottomLeft","bottomLeft"===e.placement)("ant-dropdown-placement-bottomRight","bottomRight"===e.placement)("ant-dropdown-placement-bottom","bottom"===e.placement)("ant-dropdown-placement-topLeft","topLeft"===e.placement)("ant-dropdown-placement-topRight","topRight"===e.placement)("ant-dropdown-placement-top","top"===e.placement),N("@slideMotion",void 0)("@.disabled",!(null==e.noAnimation||!e.noAnimation.nzNoAnimation))("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation),z(),ct(e.nzArrow?1:-1)}}const Ege=["bottomLeft","bottomRight","topRight","topLeft"],wy=t=>"topCenter"===t?"top":"bottomCenter"===t?"bottom":t;let Ige=(()=>{let t,n=[],e=[];return class Ry{static{const r="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;t=[Mr()],mr(null,null,t,{kind:"field",name:"nzBackdrop",static:!1,private:!1,access:{has:o=>"nzBackdrop"in o,get:o=>o.nzBackdrop,set:(o,a)=>{o.nzBackdrop=a}},metadata:r},n,e),r&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:r})}nzConfigService=U(Ml);renderer=U(to);viewContainerRef=U(Da);platform=U(Aa);destroyRef=U(In);_nzModuleName="dropDown";elementRef=U(un);injector=U(Vr);portal;overlayRef=null;inputVisible$=new ei(!1);nzTrigger$=new ei("hover");overlayClose$=new it;nzDropdownMenu=null;nzTrigger="hover";nzMatchWidthElement=null;nzBackdrop=rn(this,n,!1);nzClickHide=(rn(this,e),!0);nzDisabled=!1;nzVisible=!1;nzArrow=!1;nzOverlayClassName="";nzOverlayStyle={};nzPlacement="bottomLeft";nzVisibleChange=new dt;constructor(){this.destroyRef.onDestroy(()=>{this.overlayRef?.dispose(),this.overlayRef=null})}setDropdownMenuValue(r,o){this.nzDropdownMenu?.setValue(r,o)}ngAfterViewInit(){if(this.nzDropdownMenu){const r=this.elementRef.nativeElement,o=Ss(Td(r,"mouseenter").pipe(jt(()=>!0)),Td(r,"mouseleave").pipe(jt(()=>!1))),s=Ss(this.nzDropdownMenu.mouseState$,o),l=Td(r,"click").pipe(jt(()=>!this.nzVisible)),g=Ss(this.nzTrigger$.pipe(Ea(y=>"hover"===y?s:"click"===y?l:rs)),this.nzDropdownMenu.descendantMenuItemClick$.pipe(pr(()=>this.nzClickHide),jt(()=>!1)),this.overlayClose$).pipe(pr(()=>!this.nzDisabled));qu([Ss(this.inputVisible$,g),this.nzDropdownMenu.isChildSubMenuOpen$]).pipe(jt(([y,x])=>y||x),Ed(150),Vu(),pr(()=>this.platform.isBrowser),mt(this.destroyRef)).subscribe(y=>{const B=(this.nzMatchWidthElement?this.nzMatchWidthElement.nativeElement:r).getBoundingClientRect().width;if(this.nzVisible!==y&&this.nzVisibleChange.emit(y),this.nzVisible=y,y){const ee=A_(this.injector,this.elementRef.nativeElement).withLockedPosition().withTransformOriginOn(".ant-dropdown");ee.positionChanges.pipe(pr(()=>!!this.overlayRef),jt(ae=>j8(ae)),mt(this.destroyRef)).subscribe(ae=>{ae&&this.setDropdownMenuValue("placement",wy(ae))}),this.overlayRef?this.overlayRef.getConfig().minWidth=B:(this.overlayRef=L_(this.injector,{positionStrategy:ee,minWidth:B,disposeOnNavigation:!0,hasBackdrop:this.nzBackdrop&&"click"===this.nzTrigger,scrollStrategy:B8(this.injector)}),Ss(this.overlayRef.backdropClick(),this.overlayRef.detachments(),this.overlayRef.outsidePointerEvents().pipe(pr(ae=>!this.elementRef.nativeElement.contains(ae.target))),this.overlayRef.keydownEvents().pipe(pr(ae=>27===ae.keyCode&&!U8(ae)))).pipe(mt(this.destroyRef)).subscribe(()=>{this.overlayClose$.next(!1)}));const re=[this.nzPlacement,...Ege].map(ae=>this.nzArrow?zd(rr[ae],Id[ae]):rr[ae]);ee.withPositions(re),(!this.portal||this.portal.templateRef!==this.nzDropdownMenu.templateRef)&&(this.portal=new k_(this.nzDropdownMenu.templateRef,this.viewContainerRef)),this.setDropdownMenuValue("nzArrow",this.nzArrow),this.setDropdownMenuValue("placement",wy(this.nzPlacement)),this.overlayRef.attach(this.portal)}else this.overlayRef?.detach()}),this.nzDropdownMenu.animationStateChange$.pipe(mt(this.destroyRef)).subscribe(y=>{"void"===y.toState&&(this.overlayRef?.dispose(),this.overlayRef=null)})}}ngOnChanges(r){const{nzVisible:o,nzDisabled:a,nzOverlayClassName:s,nzOverlayStyle:l,nzTrigger:c,nzArrow:h,nzPlacement:g}=r;if(c&&this.nzTrigger$.next(this.nzTrigger),o&&this.inputVisible$.next(this.nzVisible),a){const L=this.elementRef.nativeElement;this.nzDisabled?(this.renderer.setAttribute(L,"disabled",""),this.inputVisible$.next(!1)):this.renderer.removeAttribute(L,"disabled")}s&&this.setDropdownMenuValue("nzOverlayClassName",this.nzOverlayClassName),l&&this.setDropdownMenuValue("nzOverlayStyle",this.nzOverlayStyle),h&&this.setDropdownMenuValue("nzArrow",this.nzArrow),g&&this.setDropdownMenuValue("placement",wy(this.nzPlacement))}static \u0275fac=function(o){return new(o||Ry)};static \u0275dir=vt({type:Ry,selectors:[["","nz-dropdown",""]],hostAttrs:[1,"ant-dropdown-trigger"],inputs:{nzDropdownMenu:"nzDropdownMenu",nzTrigger:"nzTrigger",nzMatchWidthElement:"nzMatchWidthElement",nzBackdrop:[2,"nzBackdrop","nzBackdrop",Qe],nzClickHide:[2,"nzClickHide","nzClickHide",Qe],nzDisabled:[2,"nzDisabled","nzDisabled",Qe],nzVisible:[2,"nzVisible","nzVisible",Qe],nzArrow:[2,"nzArrow","nzArrow",Qe],nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzPlacement:"nzPlacement"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzDropdown"],features:[vn]})}})(),zge=(()=>{class t{cdr=U(Cr);elementRef=U(un);renderer=U(to);viewContainerRef=U(Da);directionality=U(oo);destroyRef=U(In);noAnimation=U(tc,{host:!0,optional:!0});nzMenuService=U(Gc);isChildSubMenuOpen$=this.nzMenuService.isChildSubMenuOpen$;descendantMenuItemClick$=this.nzMenuService.descendantMenuItemClick$;mouseState$=new ei(!1);animationStateChange$=new dt;templateRef;nzOverlayClassName="";nzOverlayStyle={};nzArrow=!1;placement="bottomLeft";dir="ltr";onAnimationEvent(e){this.animationStateChange$.emit(e)}setMouseState(e){this.mouseState$.next(e)}setValue(e,i){this[e]=i,this.cdr.markForCheck()}ngOnInit(){this.directionality.change?.pipe(mt(this.destroyRef)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["nz-dropdown-menu"]],viewQuery:function(i,r){if(1&i&&Ai(Yo,7),2&i){let o;zn(o=An())&&(r.templateRef=o.first)}},exportAs:["nzDropdownMenu"],features:[jn([Gc,{provide:ac,useValue:!0}])],ngContentSelectors:Tge,decls:1,vars:0,consts:[[1,"ant-dropdown",3,"mouseenter","mouseleave","nzNoAnimation"],[1,"ant-dropdown-arrow"]],template:function(i,r){1&i&&(ka(),ve(0,xge,3,24,"ng-template"))},dependencies:[tc],encapsulation:2,data:{animation:[Y8]},changeDetection:0})}return t})();function Age(t,n){if(1&t&&(Ge(0),He(1,"nz-icon",1),Ye()),2&t){const e=n.$implicit;z(),N("nzType",e)}}new zr({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}),new zr({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new zr({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new zr({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"});const Lge=["nz-tab-body",""];function Oge(t,n){}function Pge(t,n){if(1&t&&(Ge(0),He(1,"nz-icon",1),Ye()),2&t){const e=n.$implicit;z(),N("nzType",e)}}const Nge=()=>({minWidth:"46px"}),Rge=()=>({visible:!1});function Fge(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k().$implicit;z(),zt(" ",e.tab.label," ")}}function Hge(t,n){if(1&t){const e=tt();J(0,"li",7),Ne("click",function(){const r=ce(e).$implicit;return ue(k(2).onSelect(r))})("contextmenu",function(r){const o=ce(e).$implicit;return ue(k(2).onContextmenu(o,r))}),ve(1,Fge,2,1,"ng-container",8),te()}if(2&t){const e=n.$implicit;Bt("ant-tabs-dropdown-menu-item-disabled",e.disabled),N("nzSelected",e.active)("nzDisabled",e.disabled),z(),N("nzStringTemplateOutlet",e.tab.label)("nzStringTemplateOutletContext",Ac(6,Rge))}}function Vge(t,n){if(1&t&&(J(0,"ul",4),Ti(1,Hge,2,7,"li",6,x1),te()),2&t){const e=k();z(),Di(e.items)}}function Uge(t,n){if(1&t){const e=tt();J(0,"button",9),Ne("click",function(){return ce(e),ue(k().addClicked.emit())}),te()}2&t&&N("addIcon",k().addIcon)}const Bge=["navWrap"],qge=["navList"],Yge=["*"];function jge(t,n){}function $ge(t,n){if(1&t&&(J(0,"div",2),ve(1,jge,0,0,"ng-template",8),te()),2&t){const e=k();z(),N("ngTemplateOutlet",e.startExtraContent().templateRef)}}function Wge(t,n){if(1&t){const e=tt();J(0,"button",9),Ne("click",function(){return ce(e),ue(k().addClicked.emit())}),te()}2&t&&(N("addIcon",k().addIcon),gt("tabindex",-1))}function Gge(t,n){}function Kge(t,n){if(1&t&&(J(0,"div",2),ve(1,Gge,0,0,"ng-template",8),te()),2&t){const e=k();z(),N("ngTemplateOutlet",e.endExtraContent().templateRef)}}function Qge(t,n){}function Xge(t,n){if(1&t&&(J(0,"div",2),ve(1,Qge,0,0,"ng-template",8),te()),2&t){const e=k();z(),N("ngTemplateOutlet",e.extraTemplate)}}const Zge=["contentTemplate"],Jge=[[["","nz-tab-link",""]],"*"],e5e=["[nz-tab-link]","*"];function t5e(t,n){1&t&&Io(0)}function n5e(t,n){1&t&&Io(0,1)}const i5e=()=>({visible:!0});function r5e(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k().$implicit;z(),zt(" ",e.label," ")}}function o5e(t,n){if(1&t){const e=tt();J(0,"button",10),Ne("click",function(r){ce(e);const o=k().$index;return ue(k(2).onClose(o,r))}),te()}2&t&&N("closeIcon",k().$implicit.nzCloseIcon)}function a5e(t,n){if(1&t){const e=tt();J(0,"div",6),Ne("click",function(r){const o=ce(e),a=o.$implicit,s=o.$index;return ue(k(2).clickNavItem(a,s,r))})("contextmenu",function(r){const o=ce(e).$implicit;return ue(k(2).contextmenuNavItem(o,r))}),J(1,"button",7),ve(2,r5e,2,1,"ng-container",8),lt(3,o5e,1,1,"button",9),te()()}if(2&t){const e=n.$implicit,i=n.$index,r=k(2);Zi("margin-right","horizontal"===r.position?r.nzTabBarGutter:null,"px")("margin-bottom","vertical"===r.position?r.nzTabBarGutter:null,"px"),Bt("ant-tabs-tab-active",r.nzSelectedIndex===i)("ant-tabs-tab-disabled",e.nzDisabled),z(),N("id",r.getTabContentId(i))("disabled",e.nzDisabled)("tab",e)("active",r.nzSelectedIndex===i),gt("tabIndex",r.getTabIndex(e,i))("aria-disabled",e.nzDisabled)("aria-selected",r.nzSelectedIndex===i&&!r.nzHideAll)("aria-controls",r.getTabContentId(i)),z(),N("nzStringTemplateOutlet",e.label)("nzStringTemplateOutletContext",Ac(19,i5e)),z(),ct(e.nzClosable&&r.closable&&!e.nzDisabled?3:-1)}}function s5e(t,n){if(1&t){const e=tt();J(0,"nz-tabs-nav",4),Ne("tabScroll",function(r){return ce(e),ue(k().nzTabListScroll.emit(r))})("selectFocusedIndex",function(r){return ce(e),ue(k().setSelectedIndex(r))})("addClicked",function(){return ce(e),ue(k().onAdd())}),Ti(1,a5e,4,20,"div",5,x1),te()}if(2&t){const e=k();Mi(e.nzTabBarStyle),N("selectedIndex",e.nzSelectedIndex||0)("inkBarAnimated",e.inkBarAnimated)("addable",e.addable)("addIcon",e.nzAddIcon)("hideBar",e.nzHideAll)("position",e.position)("extraTemplate",e.nzTabBarExtraContent)("extraContents",e.extraContents()),z(),Di(e.tabs)}}function l5e(t,n){}function c5e(t,n){1&t&&ve(0,l5e,0,0,"ng-template",11),2&t&&(k(),N("ngTemplateOutlet",fr(4)))}function u5e(t,n){}function d5e(t,n){1&t&&ve(0,u5e,0,0,"ng-template",11),2&t&&(k(2),N("ngTemplateOutlet",fr(4)))}function h5e(t,n){if(1&t&&lt(0,d5e,1,1,null,11),2&t){const e=k().$index;ct(k(2).nzSelectedIndex===e?0:-1)}}function f5e(t,n){}function m5e(t,n){1&t&&ve(0,f5e,0,0,"ng-template",11),2&t&&(k(2),N("ngTemplateOutlet",fr(4)))}function p5e(t,n){if(1&t&&lt(0,m5e,1,1,null,11),2&t){const e=k(),i=e.$implicit,r=e.$index;ct(k(2).nzSelectedIndex===r||i.hasBeenActive?0:-1)}}function g5e(t,n){if(1&t&&He(0,"div",12),2&t){const e=k(),i=e.$implicit,r=e.$index,o=k(2);N("id",o.getTabContentId(r))("active",o.nzSelectedIndex===r)("content",i.content)("animated",o.tabPaneAnimated),gt("aria-labelledby",o.getTabContentId(r))}}function v5e(t,n){if(1&t&&(lt(0,c5e,1,1,null,11)(1,h5e,1,1)(2,p5e,1,1),ve(3,g5e,1,5,"ng-template",null,0,ho)),2&t){const e=n.$implicit,i=k(2);ct(e.nzForceRender?0:i.nzDestroyInactiveTabPane?1:2)}}function _5e(t,n){1&t&&Ti(0,v5e,5,1,null,null,x1),2&t&&Di(k().tabs)}class y5e{index;tab}let k4=(()=>{class t{addIcon="plus";element=U(un).nativeElement;getElementWidth(){return this.element?.offsetWidth||0}getElementHeight(){return this.element?.offsetHeight||0}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["nz-tab-add-button"],["button","nz-tab-add-button",""]],hostAttrs:["aria-label","Add tab","type","button",1,"ant-tabs-nav-add"],inputs:{addIcon:"addIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nzTheme","outline",3,"nzType"]],template:function(i,r){1&i&&ve(0,Age,2,1,"ng-container",0),2&i&&N("nzStringTemplateOutlet",r.addIcon)},dependencies:[Tl,Qo,ec,La],encapsulation:2})}return t})(),Sy=(()=>{class t{position=Lc("end",{alias:"nzTabBarExtraContent"});templateRef=U(Yo);static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["","nzTabBarExtraContent","",5,"nz-tabset",5,"nz-tabs"]],inputs:{position:[1,"nzTabBarExtraContent","position"]}})}return t})(),nR=(()=>{class t{content=null;active=!1;animated=!0;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["","nz-tab-body",""]],hostAttrs:[1,"ant-tabs-tabpane"],hostVars:10,hostBindings:function(i,r){2&i&&(ih("@tabSwitchMotion",r.active?"enter":"leave")("@.disabled",!r.animated),gt("tabindex",r.active?0:-1)("aria-hidden",!r.active),Zi("overflow-y",r.animated?r.active?null:"none":null),Bt("ant-tabs-tabpane-active",r.active)("ant-tabs-tabpane-hidden",r.animated?null:!r.active))},inputs:{content:"content",active:"active",animated:"animated"},exportAs:["nzTabBody"],attrs:Lge,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(i,r){1&i&&ve(0,Oge,0,0,"ng-template",0),2&i&&N("ngTemplateOutlet",r.content)},dependencies:[_l],encapsulation:2,data:{animation:[Jhe]},changeDetection:0})}return t})(),My=(()=>{class t{closeIcon="close";static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["nz-tab-close-button"],["button","nz-tab-close-button",""]],hostAttrs:["aria-label","Close tab","type","button",1,"ant-tabs-tab-remove"],inputs:{closeIcon:"closeIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nzTheme","outline",3,"nzType"]],template:function(i,r){1&i&&ve(0,Pge,2,1,"ng-container",0),2&i&&N("nzStringTemplateOutlet",r.closeIcon)},dependencies:[Tl,Qo,ec,La],encapsulation:2})}return t})(),iR=(()=>{class t{templateRef=U(Yo,{host:!0});static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["ng-template","nzTabLink",""]],exportAs:["nzTabLinkTemplate"]})}return t})(),Ty=(()=>{class t{elementRef=U(un);routerLink=U(Vd,{self:!0,optional:!0});static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["a","nz-tab-link",""]],exportAs:["nzTabLink"]})}return t})(),Dy=(()=>{class t{disabled=!1;tab;active=!1;elementRef=U(un);el=this.elementRef.nativeElement;parentElement=this.el.parentElement;focus(){this.el.focus({preventScroll:!0})}get width(){return this.parentElement.offsetWidth}get height(){return this.parentElement.offsetHeight}get left(){return this.parentElement.offsetLeft}get top(){return this.parentElement.offsetTop}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["","nzTabNavItem",""]],inputs:{disabled:[2,"disabled","disabled",Qe],tab:"tab",active:[2,"active","active",Qe]}})}return t})(),_m=(()=>{class t{items=[];addable=!1;addIcon="plus";addClicked=new dt;selected=new dt;closeAnimationWaitTimeoutId;menuOpened=!1;cdr=U(Cr);element=U(un).nativeElement;onSelect(e){e.disabled||(e.tab.nzClick.emit(),this.selected.emit(e))}onContextmenu(e,i){e.disabled||e.tab.nzContextmenu.emit(i)}showItems(){clearTimeout(this.closeAnimationWaitTimeoutId),this.menuOpened=!0,this.cdr.markForCheck()}menuVisChange(e){e||(this.closeAnimationWaitTimeoutId=setTimeout(()=>{this.menuOpened=!1,this.cdr.markForCheck()},150))}getElementWidth(){return this.element?.offsetWidth||0}getElementHeight(){return this.element?.offsetHeight||0}ngOnDestroy(){clearTimeout(this.closeAnimationWaitTimeoutId)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["nz-tab-nav-operation"]],hostAttrs:[1,"ant-tabs-nav-operations"],hostVars:2,hostBindings:function(i,r){2&i&&Bt("ant-tabs-nav-operations-hidden",0===r.items.length)},inputs:{items:"items",addable:[2,"addable","addable",Qe],addIcon:"addIcon"},outputs:{addClicked:"addClicked",selected:"selected"},exportAs:["nzTabNavOperation"],decls:7,vars:6,consts:[["dropdownTrigger","nzDropdown"],["menu","nzDropdownMenu"],["nz-dropdown","","type","button","tabindex","-1","aria-hidden","true","nzOverlayClassName","nz-tabs-dropdown",1,"ant-tabs-nav-more",3,"nzVisibleChange","mouseenter","nzDropdownMenu","nzOverlayStyle","nzMatchWidthElement"],["nzType","ellipsis"],["nz-menu",""],["nz-tab-add-button","",3,"addIcon"],["nz-menu-item","",1,"ant-tabs-dropdown-menu-item",3,"ant-tabs-dropdown-menu-item-disabled","nzSelected","nzDisabled"],["nz-menu-item","",1,"ant-tabs-dropdown-menu-item",3,"click","contextmenu","nzSelected","nzDisabled"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-add-button","",3,"click","addIcon"]],template:function(i,r){if(1&i){const o=tt();J(0,"button",2,0),Ne("nzVisibleChange",function(s){return ce(o),ue(r.menuVisChange(s))})("mouseenter",function(){return ce(o),ue(r.showItems())}),He(2,"nz-icon",3),te(),J(3,"nz-dropdown-menu",null,1),lt(5,Vge,3,0,"ul",4),te(),lt(6,Uge,1,1,"button",5)}2&i&&(N("nzDropdownMenu",fr(4))("nzOverlayStyle",Ac(5,Nge))("nzMatchWidthElement",null),z(5),ct(r.menuOpened?5:-1),z(),ct(r.addable?6:-1))},dependencies:[ec,La,Tl,Qo,k4,zge,Mge,Cge,Cy,Ige],encapsulation:2,changeDetection:0})}return t})();const oR=.995**20;let aR=(()=>{class t{ngZone=U($t);destroyRef=U(In);el=U(un).nativeElement;lastWheelDirection=null;lastWheelTimestamp=0;lastTimestamp=0;lastTimeDiff=0;lastMixedWheel=0;lastWheelPrevent=!1;touchPosition=null;lastOffset=null;motion=-1;offsetChange=new dt;tabScroll=new dt;ngOnInit(){const e=ks(this.el,"wheel"),i=ks(this.el,"touchstart"),r=ks(this.el,"touchmove"),o=ks(this.el,"touchend");this.subscribeWrap("wheel",e,this.onWheel),this.subscribeWrap("touchstart",i,this.onTouchStart),this.subscribeWrap("touchmove",r,this.onTouchMove),this.subscribeWrap("touchend",o,this.onTouchEnd)}subscribeWrap(e,i,r){return i.pipe(mt(this.destroyRef)).subscribe(o=>{this.tabScroll.emit({type:e,event:o}),o.defaultPrevented||r(o)})}onTouchEnd=e=>{if(!this.touchPosition)return;const i=this.lastOffset,r=this.lastTimeDiff;if(this.lastOffset=this.touchPosition=null,i){const o=i.x/r,a=i.y/r,s=Math.abs(o),l=Math.abs(a);if(Math.max(s,l)<.1)return;let c=o,h=a;this.motion=window.setInterval(()=>{Math.abs(c)<.01&&Math.abs(h)<.01?window.clearInterval(this.motion):(c*=oR,h*=oR,this.onOffset(20*c,20*h,e))},20)}};onTouchMove=e=>{if(!this.touchPosition)return;e.preventDefault();const{screenX:i,screenY:r}=e.touches[0],o=i-this.touchPosition.x,a=r-this.touchPosition.y;this.onOffset(o,a,e);const s=Date.now();this.lastTimeDiff=s-this.lastTimestamp,this.lastTimestamp=s,this.lastOffset={x:o,y:a},this.touchPosition={x:i,y:r}};onTouchStart=e=>{const{screenX:i,screenY:r}=e.touches[0];this.touchPosition={x:i,y:r},window.clearInterval(this.motion)};onWheel=e=>{const{deltaX:i,deltaY:r}=e;let o;const a=Math.abs(i),s=Math.abs(r);a===s?o="x"===this.lastWheelDirection?i:r:a>s?(o=i,this.lastWheelDirection="x"):(o=r,this.lastWheelDirection="y");const l=Date.now(),c=Math.abs(o);(l-this.lastWheelTimestamp>100||c-this.lastMixedWheel>10)&&(this.lastWheelPrevent=!1),this.onOffset(-o,-o,e),(e.defaultPrevented||this.lastWheelPrevent)&&(this.lastWheelPrevent=!0),this.lastWheelTimestamp=l,this.lastMixedWheel=c};onOffset(e,i,r){this.offsetChange.observers.length&&this.ngZone.run(()=>{this.offsetChange.emit({x:e,y:i,event:r})})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["","nzTabScrollList",""]],outputs:{offsetChange:"offsetChange",tabScroll:"tabScroll"}})}return t})(),xy=(()=>{class t{ngZone=U($t);el=U(un).nativeElement;position="horizontal";animated=!0;animationMode=U(N0,{optional:!0});get _animated(){return"NoopAnimations"!==this.animationMode&&this.animated}alignToElement(e){this.ngZone.runOutsideAngular(()=>{G8(()=>this.setStyles(e))})}setStyles(e){"horizontal"===this.position?(this.el.style.top="",this.el.style.height="",this.el.style.left=this.getLeftPosition(e),this.el.style.width=this.getElementWidth(e)):(this.el.style.left="",this.el.style.width="",this.el.style.top=this.getTopPosition(e),this.el.style.height=this.getElementHeight(e))}getLeftPosition(e){return e?`${e.offsetLeft||0}px`:"0"}getElementWidth(e){return e?`${e.offsetWidth||0}px`:"0"}getTopPosition(e){return e?`${e.offsetTop||0}px`:"0"}getElementHeight(e){return e?`${e.offsetHeight||0}px`:"0"}static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["nz-tabs-ink-bar"],["","nz-tabs-ink-bar",""]],hostAttrs:[1,"ant-tabs-ink-bar"],hostVars:2,hostBindings:function(i,r){2&i&&Bt("ant-tabs-ink-bar-animated",r._animated)},inputs:{position:"position",animated:"animated"}})}return t})();const C5e=typeof G8<"u"?N9:M8;let bm=(()=>{class t{cdr=U(Cr);ngZone=U($t);viewportRuler=U(l4);nzResizeObserver=U(yP);dir=U(oo);destroyRef=U(In);indexFocused=new dt;selectFocusedIndex=new dt;addClicked=new dt;tabScroll=new dt;position="horizontal";addable=!1;hideBar=!1;addIcon="plus";inkBarAnimated=!0;extraTemplate;extraContents=Lc.required();startExtraContent=Co(()=>this.extraContents().find(e=>"start"===e.position()));endExtraContent=Co(()=>this.extraContents().find(e=>"end"===e.position()));get selectedIndex(){return this._selectedIndex}set selectedIndex(e){const i=GL(e);this._selectedIndex!==i&&(this._selectedIndex=e,this.selectedIndexChanged=!0,this.keyManager&&this.keyManager.updateActiveItem(e))}navWrapRef;navListRef;operationRef;addBtnRef;inkBar;items;get focusIndex(){return this.keyManager?this.keyManager.activeItemIndex:0}set focusIndex(e){!this.isValidIndex(e)||this.focusIndex===e||!this.keyManager||this.keyManager.setActiveItem(e)}get showAddButton(){return 0===this.hiddenItems.length&&this.addable}translate=null;transformX=0;transformY=0;pingLeft=!1;pingRight=!1;pingTop=!1;pingBottom=!1;hiddenItems=[];keyManager;_selectedIndex=0;wrapperWidth=0;wrapperHeight=0;scrollListWidth=0;scrollListHeight=0;operationWidth=0;operationHeight=0;addButtonWidth=0;addButtonHeight=0;selectedIndexChanged=!1;lockAnimationTimeoutId;cssTransformTimeWaitingId;constructor(){this.destroyRef.onDestroy(()=>{clearTimeout(this.lockAnimationTimeoutId),clearTimeout(this.cssTransformTimeWaitingId)})}ngAfterViewInit(){const e=this.dir?this.dir.change.asObservable():Wt(null),i=this.viewportRuler.change(150),r=()=>{this.updateScrollListPosition(),this.alignInkBarToSelectedTab()};this.keyManager=new Ape(this.items).withHorizontalOrientation(this.getLayoutDirection()).withWrap(),this.keyManager.updateActiveItem(this.selectedIndex),G8(r),Ss(this.nzResizeObserver.observe(this.navWrapRef),this.nzResizeObserver.observe(this.navListRef)).pipe(mt(this.destroyRef),Ed(16,C5e)).subscribe(()=>{r()}),Ss(e,i,this.items.changes).pipe(mt(this.destroyRef)).subscribe(()=>{Promise.resolve().then(r),this.keyManager.withHorizontalOrientation(this.getLayoutDirection())}),this.keyManager.change.pipe(mt(this.destroyRef)).subscribe(o=>{this.indexFocused.emit(o),this.scrollToTab(this.keyManager.activeItem)})}ngAfterContentChecked(){this.selectedIndexChanged&&(this.updateScrollListPosition(),this.alignInkBarToSelectedTab(),this.selectedIndexChanged=!1,this.cdr.markForCheck())}onSelectedFromMenu(e){const i=this.items.toArray().findIndex(r=>r===e);-1!==i&&(this.keyManager.updateActiveItem(i),this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this.scrollToTab(e)))}onOffsetChange(e){if("horizontal"===this.position){if(!this.lockAnimationTimeoutId&&(this.transformX>=0&&e.x>0||this.transformX<=this.wrapperWidth-this.scrollListWidth&&e.x<0))return;e.event.preventDefault(),this.transformX=this.clampTransformX(this.transformX+e.x),this.setTransform(this.transformX,0)}else{if(!this.lockAnimationTimeoutId&&(this.transformY>=0&&e.y>0||this.transformY<=this.wrapperHeight-this.scrollListHeight&&e.y<0))return;e.event.preventDefault(),this.transformY=this.clampTransformY(this.transformY+e.y),this.setTransform(0,this.transformY)}this.lockAnimation(),this.setVisibleRange(),this.setPingStatus()}handleKeydown(e){const i=this.navWrapRef.nativeElement.contains(e.target);if(!U8(e)&&i)switch(e.keyCode){case 37:case 38:case 39:case 40:this.lockAnimation(),this.keyManager.onKeydown(e);break;case 13:case 32:this.focusIndex!==this.selectedIndex&&this.selectFocusedIndex.emit(this.focusIndex);break;default:this.keyManager.onKeydown(e)}}isValidIndex(e){if(!this.items)return!0;const i=this.items?this.items.toArray()[e]:null;return!!i&&!i.disabled}scrollToTab(e){if(!this.items.find(r=>r===e))return;const i=this.items.toArray();if("horizontal"===this.position){let r=this.transformX;if("rtl"===this.getLayoutDirection()){const o=i[0].left+i[0].width-e.left-e.width;o<this.transformX?r=o:o+e.width>this.transformX+this.wrapperWidth&&(r=o+e.width-this.wrapperWidth)}else e.left<-this.transformX?r=-e.left:e.left+e.width>-this.transformX+this.wrapperWidth&&(r=-(e.left+e.width-this.wrapperWidth));this.transformX=r,this.transformY=0,this.setTransform(r,0)}else{let r=this.transformY;e.top<-this.transformY?r=-e.top:e.top+e.height>-this.transformY+this.wrapperHeight&&(r=-(e.top+e.height-this.wrapperHeight)),this.transformY=r,this.transformX=0,this.setTransform(0,r)}clearTimeout(this.cssTransformTimeWaitingId),this.cssTransformTimeWaitingId=setTimeout(()=>{this.setVisibleRange()},150)}lockAnimation(){this.lockAnimationTimeoutId||this.ngZone.runOutsideAngular(()=>{this.navListRef.nativeElement.style.transition="none",this.lockAnimationTimeoutId=setTimeout(()=>{this.navListRef.nativeElement.style.transition="",this.lockAnimationTimeoutId=void 0},150)})}setTransform(e,i){this.navListRef.nativeElement.style.transform=`translate(${e}px, ${i}px)`}clampTransformX(e){const i=this.wrapperWidth-this.scrollListWidth;return"rtl"===this.getLayoutDirection()?Math.max(Math.min(i,e),0):Math.min(Math.max(i,e),0)}clampTransformY(e){return Math.min(Math.max(this.wrapperHeight-this.scrollListHeight,e),0)}updateScrollListPosition(){this.resetSizes(),this.transformX=this.clampTransformX(this.transformX),this.transformY=this.clampTransformY(this.transformY),this.setVisibleRange(),this.setPingStatus(),this.keyManager&&(this.keyManager.updateActiveItem(this.keyManager.activeItemIndex),this.keyManager.activeItem&&this.scrollToTab(this.keyManager.activeItem))}resetSizes(){this.addButtonWidth=this.addBtnRef?this.addBtnRef.getElementWidth():0,this.addButtonHeight=this.addBtnRef?this.addBtnRef.getElementHeight():0,this.operationWidth=this.operationRef.getElementWidth(),this.operationHeight=this.operationRef.getElementHeight(),this.wrapperWidth=this.navWrapRef.nativeElement.offsetWidth||0,this.wrapperHeight=this.navWrapRef.nativeElement.offsetHeight||0,this.scrollListHeight=this.navListRef.nativeElement.offsetHeight||0,this.scrollListWidth=this.navListRef.nativeElement.offsetWidth||0}alignInkBarToSelectedTab(){const e=this.items&&this.items.length?this.items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i&&this.inkBar.alignToElement(i.parentElement)}setPingStatus(){const e={top:!1,right:!1,bottom:!1,left:!1},i=this.navWrapRef.nativeElement;"horizontal"===this.position?"rtl"===this.getLayoutDirection()?(e.right=this.transformX>0,e.left=this.transformX+this.wrapperWidth<this.scrollListWidth):(e.left=this.transformX<0,e.right=-this.transformX+this.wrapperWidth<this.scrollListWidth):(e.top=this.transformY<0,e.bottom=-this.transformY+this.wrapperHeight<this.scrollListHeight),Object.keys(e).forEach(r=>{const o=`ant-tabs-nav-wrap-ping-${r}`;e[r]?i.classList.add(o):i.classList.remove(o)})}setVisibleRange(){let e,i,r,o,a,s;const l=this.items.toArray(),c={width:0,height:0,left:0,top:0,right:0},h=re=>{let ae;return ae="right"===i?l[0].left+l[0].width-l[re].left-l[re].width:(l[re]||c)[i],ae};"horizontal"===this.position?(e="width",o=this.wrapperWidth,a=this.scrollListWidth-(this.hiddenItems.length?this.operationWidth:0),s=this.addButtonWidth,r=Math.abs(this.transformX),"rtl"===this.getLayoutDirection()?(i="right",this.pingRight=this.transformX>0,this.pingLeft=this.transformX+this.wrapperWidth<this.scrollListWidth):(this.pingLeft=this.transformX<0,this.pingRight=-this.transformX+this.wrapperWidth<this.scrollListWidth,i="left")):(e="height",o=this.wrapperHeight,a=this.scrollListHeight-(this.hiddenItems.length?this.operationHeight:0),s=this.addButtonHeight,i="top",r=-this.transformY,this.pingTop=this.transformY<0,this.pingBottom=-this.transformY+this.wrapperHeight<this.scrollListHeight);let g=o;if(a+s>o&&(g=o-s),!l.length)return this.hiddenItems=[],void this.cdr.markForCheck();const L=l.length;let y=L;for(let re=0;re<L;re+=1)if(h(re)+(l[re]||c)[e]>r+g){y=re-1;break}let x=0;for(let re=L-1;re>=0;re-=1)if(h(re)<r){x=re+1;break}const B=l.slice(0,x),ee=l.slice(y+1);this.hiddenItems=[...B,...ee],this.cdr.markForCheck()}getLayoutDirection(){return this.dir&&"rtl"===this.dir.value?"rtl":"ltr"}ngOnChanges(e){const{position:i}=e;i&&!i.isFirstChange()&&(this.alignInkBarToSelectedTab(),this.lockAnimation(),this.updateScrollListPosition())}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["nz-tabs-nav"]],contentQueries:function(i,r,o){if(1&i&&qa(o,Dy,5),2&i){let a;zn(a=An())&&(r.items=a)}},viewQuery:function(i,r){if(1&i&&(Ai(Bge,7),Ai(qge,7),Ai(_m,7),Ai(k4,5),Ai(xy,7)),2&i){let o;zn(o=An())&&(r.navWrapRef=o.first),zn(o=An())&&(r.navListRef=o.first),zn(o=An())&&(r.operationRef=o.first),zn(o=An())&&(r.addBtnRef=o.first),zn(o=An())&&(r.inkBar=o.first)}},hostAttrs:[1,"ant-tabs-nav"],hostBindings:function(i,r){1&i&&Ne("keydown",function(a){return r.handleKeydown(a)})},inputs:{position:"position",addable:[2,"addable","addable",Qe],hideBar:[2,"hideBar","hideBar",Qe],addIcon:"addIcon",inkBarAnimated:"inkBarAnimated",extraTemplate:"extraTemplate",extraContents:[1,"extraContents"],selectedIndex:"selectedIndex"},outputs:{indexFocused:"indexFocused",selectFocusedIndex:"selectFocusedIndex",addClicked:"addClicked",tabScroll:"tabScroll"},exportAs:["nzTabsNav"],features:[vn],ngContentSelectors:Yge,decls:11,vars:17,consts:[["navWrap",""],["navList",""],[1,"ant-tabs-extra-content"],[1,"ant-tabs-nav-wrap"],["nzTabScrollList","","role","tablist",1,"ant-tabs-nav-list",3,"offsetChange","tabScroll"],["role","tab","nz-tab-add-button","",3,"addIcon"],["nz-tabs-ink-bar","",3,"hidden","position","animated"],[3,"addClicked","selected","addIcon","addable","items"],[3,"ngTemplateOutlet"],["role","tab","nz-tab-add-button","",3,"click","addIcon"]],template:function(i,r){if(1&i){const o=tt();ka(),lt(0,$ge,2,1,"div",2),J(1,"div",3,0)(3,"div",4,1),Ne("offsetChange",function(s){return ce(o),ue(r.onOffsetChange(s))})("tabScroll",function(s){return ce(o),ue(r.tabScroll.emit(s))}),Io(5),lt(6,Wge,1,2,"button",5),He(7,"div",6),te()(),J(8,"nz-tab-nav-operation",7),Ne("addClicked",function(){return ce(o),ue(r.addClicked.emit())})("selected",function(s){return ce(o),ue(r.onSelectedFromMenu(s))}),te(),lt(9,Kge,2,1,"div",2)(10,Xge,2,1,"div",2)}2&i&&(ct(r.startExtraContent()?0:-1),z(),Bt("ant-tabs-nav-wrap-ping-left",r.pingLeft)("ant-tabs-nav-wrap-ping-right",r.pingRight)("ant-tabs-nav-wrap-ping-top",r.pingTop)("ant-tabs-nav-wrap-ping-bottom",r.pingBottom),z(5),ct(r.showAddButton?6:-1),z(),N("hidden",r.hideBar)("position",r.position)("animated",r.inkBarAnimated),z(),N("addIcon",r.addIcon)("addable",r.addable)("items",r.hiddenItems),z(),ct(r.endExtraContent()?9:r.extraTemplate?10:-1))},dependencies:[aR,k4,xy,_m,_l],encapsulation:2,changeDetection:0})}return t})(),lR=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=vt({type:t,selectors:[["","nz-tab",""]],exportAs:["nzTab"]})}return t})();const cR=new Ie("");let ky=(()=>{class t{nzTitle="";nzClosable=!1;nzCloseIcon="close";nzDisabled=!1;nzForceRender=!1;nzSelect=new dt;nzDeselect=new dt;nzClick=new dt;nzContextmenu=new dt;nzTabLinkTemplateDirective;template=null;linkDirective;contentTemplate;isActive=!1;hasBeenActive=!1;position=null;origin=null;closestTabSet=U(cR);stateChanges=new it;get content(){return this.template||this.contentTemplate}get label(){return this.nzTitle||this.nzTabLinkTemplateDirective?.templateRef}ngOnChanges(e){const{nzTitle:i,nzDisabled:r,nzForceRender:o}=e;(i||r||o)&&this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete()}setActive(e){this.isActive=e,e&&(this.hasBeenActive=!0)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["nz-tab"]],contentQueries:function(i,r,o){if(1&i&&(qa(o,iR,5),qa(o,lR,5,Yo),qa(o,Ty,5)),2&i){let a;zn(a=An())&&(r.nzTabLinkTemplateDirective=a.first),zn(a=An())&&(r.template=a.first),zn(a=An())&&(r.linkDirective=a.first)}},viewQuery:function(i,r){if(1&i&&Ai(Zge,7),2&i){let o;zn(o=An())&&(r.contentTemplate=o.first)}},inputs:{nzTitle:"nzTitle",nzClosable:[2,"nzClosable","nzClosable",Qe],nzCloseIcon:"nzCloseIcon",nzDisabled:[2,"nzDisabled","nzDisabled",Qe],nzForceRender:[2,"nzForceRender","nzForceRender",Qe]},outputs:{nzSelect:"nzSelect",nzDeselect:"nzDeselect",nzClick:"nzClick",nzContextmenu:"nzContextmenu"},exportAs:["nzTab"],features:[vn],ngContentSelectors:e5e,decls:4,vars:0,consts:[["tabLinkTemplate",""],["contentTemplate",""]],template:function(i,r){1&i&&(ka(Jge),Rg(0,t5e,1,0,"ng-template",null,0,ho)(2,n5e,1,0,"ng-template",null,1,ho))},encapsulation:2,changeDetection:0})}return t})(),S5e=0,Ey=(()=>{let t,i,a,c,n=[],e=[],r=[],o=[],s=[],l=[],h=[],g=[];return class Mm{static{const y="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;t=[Mr()],i=[Mr()],a=[Mr()],c=[Mr()],mr(null,null,t,{kind:"field",name:"nzType",static:!1,private:!1,access:{has:x=>"nzType"in x,get:x=>x.nzType,set:(x,B)=>{x.nzType=B}},metadata:y},n,e),mr(null,null,i,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:x=>"nzSize"in x,get:x=>x.nzSize,set:(x,B)=>{x.nzSize=B}},metadata:y},r,o),mr(null,null,a,{kind:"field",name:"nzAnimated",static:!1,private:!1,access:{has:x=>"nzAnimated"in x,get:x=>x.nzAnimated,set:(x,B)=>{x.nzAnimated=B}},metadata:y},s,l),mr(null,null,c,{kind:"field",name:"nzTabBarGutter",static:!1,private:!1,access:{has:x=>"nzTabBarGutter"in x,get:x=>x.nzTabBarGutter,set:(x,B)=>{x.nzTabBarGutter=B}},metadata:y},h,g),y&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:y})}_nzModuleName="tabs";nzConfigService=U(Ml);ngZone=U($t);cdr=U(Cr);directionality=U(oo);destroyRef=U(In);get nzSelectedIndex(){return this.selectedIndex}set nzSelectedIndex(y){this.indexToSelect=GL(y,null)}nzTabPosition="top";nzTabBarExtraContent;nzCanDeactivate=null;nzAddIcon="plus";nzTabBarStyle=null;nzType=rn(this,n,"line");nzSize=(rn(this,e),rn(this,r,"default"));nzAnimated=(rn(this,o),rn(this,s,!0));nzTabBarGutter=(rn(this,l),rn(this,h,void 0));nzHideAdd=(rn(this,g),!1);nzCentered=!1;nzHideAll=!1;nzLinkRouter=!1;nzLinkExact=!0;nzDestroyInactiveTabPane=!1;nzSelectChange=new dt(!0);nzSelectedIndexChange=new dt;nzTabListScroll=new dt;nzClose=new dt;nzAdd=new dt;get position(){return-1===["top","bottom"].indexOf(this.nzTabPosition)?"vertical":"horizontal"}get addable(){return"editable-card"===this.nzType&&!this.nzHideAdd}get closable(){return"editable-card"===this.nzType}get line(){return"line"===this.nzType}get inkBarAnimated(){return this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.inkBar)}get tabPaneAnimated(){return"boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.tabPane}allTabs=new O0;tabLinks=new O0;tabNavBarRef;tabs=new O0;extraContents=function FX(t,n){return function Wq(){return zg(!1,!1)}()}();dir="ltr";tabSetId;indexToSelect=0;selectedIndex=null;tabLabelSubscription=Vt.EMPTY;canDeactivateSubscription=Vt.EMPTY;router=U(Fd,{optional:!0});constructor(){this.tabSetId=S5e++,U(tk),this.destroyRef.onDestroy(()=>{this.tabs.destroy(),this.tabLabelSubscription.unsubscribe(),this.canDeactivateSubscription.unsubscribe()})}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(mt(this.destroyRef)).subscribe(y=>{this.dir=y,this.cdr.detectChanges()})}ngAfterContentInit(){this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>this.setUpRouter())}),this.subscribeToTabLabels(),this.subscribeToAllTabChanges(),this.tabs.changes.pipe(mt(this.destroyRef)).subscribe(()=>{if(this.clampTabIndex(this.indexToSelect)===this.selectedIndex){const x=this.tabs.toArray();for(let B=0;B<x.length;B++)if(x[B].isActive){this.indexToSelect=this.selectedIndex=B;break}}this.subscribeToTabLabels(),this.cdr.markForCheck()})}ngAfterContentChecked(){const y=this.indexToSelect=this.clampTabIndex(this.indexToSelect);if(this.selectedIndex!==y){const x=null==this.selectedIndex;x||this.nzSelectChange.emit(this.createChangeEvent(y)),Promise.resolve().then(()=>{this.tabs.forEach((B,ee)=>B.setActive(ee===y)),x||this.nzSelectedIndexChange.emit(y)})}this.tabs.forEach((x,B)=>{x.position=B-y,null!=this.selectedIndex&&0===x.position&&!x.origin&&(x.origin=y-this.selectedIndex)}),this.selectedIndex!==y&&(this.selectedIndex=y,this.cdr.markForCheck())}onClose(y,x){x.preventDefault(),x.stopPropagation(),this.nzClose.emit({index:y})}onAdd(){this.nzAdd.emit()}clampTabIndex(y){return Math.min(this.tabs.length-1,Math.max(y||0,0))}createChangeEvent(y){const x=new y5e;return x.index=y,this.tabs&&this.tabs.length&&(x.tab=this.tabs.toArray()[y],this.tabs.forEach((B,ee)=>{ee!==y&&B.nzDeselect.emit()}),x.tab.nzSelect.emit()),x}subscribeToTabLabels(){this.tabLabelSubscription&&this.tabLabelSubscription.unsubscribe(),this.tabLabelSubscription=Ss(...this.tabs.map(y=>y.stateChanges)).subscribe(()=>this.cdr.markForCheck())}subscribeToAllTabChanges(){this.allTabs.changes.pipe(jc(this.allTabs)).subscribe(y=>{this.tabs.reset(y.filter(x=>x.closestTabSet===this)),this.tabs.notifyOnChanges()})}canDeactivateFun(y,x){return"function"==typeof this.nzCanDeactivate?AL(this.nzCanDeactivate(y,x)).pipe(Yu(),mt(this.destroyRef)):Wt(!0)}clickNavItem(y,x,B){y.nzDisabled||(y.nzClick.emit(),this.isRouterLinkClickEvent(x,B)||this.setSelectedIndex(x))}isRouterLinkClickEvent(y,x){const B=x.target;return!!this.nzLinkRouter&&!!this.tabs.toArray()[y]?.linkDirective?.elementRef.nativeElement.contains(B)}contextmenuNavItem(y,x){y.nzDisabled||y.nzContextmenu.emit(x)}setSelectedIndex(y){this.canDeactivateSubscription.unsubscribe(),this.canDeactivateSubscription=this.canDeactivateFun(this.selectedIndex,y).subscribe(x=>{x&&(this.nzSelectedIndex=y,this.tabNavBarRef.focusIndex=y,this.cdr.markForCheck())})}getTabIndex(y,x){return y.nzDisabled?null:this.selectedIndex===x?0:-1}getTabContentId(y){return`nz-tabs-${this.tabSetId}-tab-${y}`}setUpRouter(){if(this.nzLinkRouter){if(!this.router)throw new Error(`${Gh} you should import 'RouterModule' if you want to use 'nzLinkRouter'!`);Ss(this.router.events.pipe(pr(y=>y instanceof Wc)),this.tabLinks.changes).pipe(jc(!0),PP(0),mt(this.destroyRef)).subscribe(()=>{this.updateRouterActive(),this.cdr.markForCheck()})}}updateRouterActive(){if(this.router?.navigated){const y=this.findShouldActiveTabIndex();y!==this.selectedIndex&&this.setSelectedIndex(y),Promise.resolve().then(()=>this.nzHideAll=-1===y)}}findShouldActiveTabIndex(){const y=this.tabs.toArray(),x=this.isLinkActive(this.router);return y.findIndex(B=>{const ee=B.linkDirective;return!!ee&&x(ee.routerLink)})}isLinkActive(y){return x=>!!x&&!!y?.isActive(x.urlTree||"",{paths:this.nzLinkExact?"exact":"subset",queryParams:this.nzLinkExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}static \u0275fac=function(x){return new(x||Mm)};static \u0275cmp=bt({type:Mm,selectors:[["nz-tabs"],["nz-tabset"]],contentQueries:function(x,B,ee){if(1&x&&(m5(ee,B.extraContents,Sy,4),qa(ee,ky,5),qa(ee,Ty,5)),2&x){let re;A3(),zn(re=An())&&(B.allTabs=re),zn(re=An())&&(B.tabLinks=re)}},viewQuery:function(x,B){if(1&x&&Ai(bm,5),2&x){let ee;zn(ee=An())&&(B.tabNavBarRef=ee.first)}},hostAttrs:[1,"ant-tabs"],hostVars:24,hostBindings:function(x,B){2&x&&Bt("ant-tabs-card","card"===B.nzType||"editable-card"===B.nzType)("ant-tabs-editable","editable-card"===B.nzType)("ant-tabs-editable-card","editable-card"===B.nzType)("ant-tabs-centered",B.nzCentered)("ant-tabs-rtl","rtl"===B.dir)("ant-tabs-top","top"===B.nzTabPosition)("ant-tabs-bottom","bottom"===B.nzTabPosition)("ant-tabs-left","left"===B.nzTabPosition)("ant-tabs-right","right"===B.nzTabPosition)("ant-tabs-default","default"===B.nzSize)("ant-tabs-small","small"===B.nzSize)("ant-tabs-large","large"===B.nzSize)},inputs:{nzSelectedIndex:"nzSelectedIndex",nzTabPosition:"nzTabPosition",nzTabBarExtraContent:"nzTabBarExtraContent",nzCanDeactivate:"nzCanDeactivate",nzAddIcon:"nzAddIcon",nzTabBarStyle:"nzTabBarStyle",nzType:"nzType",nzSize:"nzSize",nzAnimated:"nzAnimated",nzTabBarGutter:"nzTabBarGutter",nzHideAdd:[2,"nzHideAdd","nzHideAdd",Qe],nzCentered:[2,"nzCentered","nzCentered",Qe],nzHideAll:[2,"nzHideAll","nzHideAll",Qe],nzLinkRouter:[2,"nzLinkRouter","nzLinkRouter",Qe],nzLinkExact:[2,"nzLinkExact","nzLinkExact",Qe],nzDestroyInactiveTabPane:[2,"nzDestroyInactiveTabPane","nzDestroyInactiveTabPane",Qe]},outputs:{nzSelectChange:"nzSelectChange",nzSelectedIndexChange:"nzSelectedIndexChange",nzTabListScroll:"nzTabListScroll",nzClose:"nzClose",nzAdd:"nzAdd"},exportAs:["nzTabs"],features:[jn([{provide:cR,useExisting:Bn(()=>Mm)}])],decls:4,vars:12,consts:[["tabpaneTmpl",""],[3,"style","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","extraContents"],[1,"ant-tabs-content-holder"],[1,"ant-tabs-content"],[3,"tabScroll","selectFocusedIndex","addClicked","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","extraContents"],[1,"ant-tabs-tab",3,"margin-right","margin-bottom","ant-tabs-tab-active","ant-tabs-tab-disabled"],[1,"ant-tabs-tab",3,"click","contextmenu"],["type","button","role","tab","nzTabNavItem","","cdkMonitorElementFocus","",1,"ant-tabs-tab-btn",3,"id","disabled","tab","active"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["type","button","nz-tab-close-button","",3,"closeIcon"],["type","button","nz-tab-close-button","",3,"click","closeIcon"],[3,"ngTemplateOutlet"],["role","tabpanel","nz-tab-body","",3,"id","active","content","animated"]],template:function(x,B){1&x&&(lt(0,s5e,3,10,"nz-tabs-nav",1),J(1,"div",2)(2,"div",3),lt(3,_5e,2,0),te()()),2&x&&(ct(B.tabs.length||B.addable?0:-1),z(2),Bt("ant-tabs-content-top","top"===B.nzTabPosition)("ant-tabs-content-bottom","bottom"===B.nzTabPosition)("ant-tabs-content-left","left"===B.nzTabPosition)("ant-tabs-content-right","right"===B.nzTabPosition)("ant-tabs-content-animated",B.tabPaneAnimated),z(),ct(B.nzHideAll?-1:3))},dependencies:[bm,_l,Dy,qpe,b0e,Tl,Qo,My,nR],encapsulation:2})}})(),M5e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=vi({type:t});static \u0275inj=kn({imports:[Ey,bm,_m,k4,My]})}return t})();class E4{_windowWidth$=null;_viewMode$=null;constructor(){this._windowWidth$=new ei(window.innerWidth),this._viewMode$=new ei("lg")}getWindowWidth(){return this._windowWidth$.getValue()}getViewMode(){return this._viewMode$.getValue()}setWindowWidth(n){let e;this._windowWidth$.next(n),e=n<=400?"sm":n<=600?"md":"lg",this._viewMode$.next(e)}get windowWidth(){return this._windowWidth$.asObservable()}get viewMode(){return this._viewMode$.asObservable()}}class T5e{logID;logElement;constructor(n){if(this.logID=n,void 0===n){n="reader_log";const e=document.getElementById(n);e?this.logElement=e:(this.logElement=document.createElement("div"),this.logElement.setAttribute("id",n),document.body.appendChild(this.logElement))}else this.logElement=document.getElementById(n);this.logElement.setAttribute("aria-live","assertive"),this.logElement.setAttribute("aria-relevant","additions"),this.logElement.setAttribute("role","log"),this.logElement.setAttribute("class","screen_reader_only")}add(n){const e=document.createElement("p");e.appendChild(document.createTextNode(n)),this.logElement.appendChild(e)}}class Ar{lhcFormData;srLog;constructor(){this.srLog=new T5e}getLhcFormData(){return this.lhcFormData}setLhcFormData(n){this.lhcFormData=n}getTemplateOptions(){return this.lhcFormData?.templateOptions||{}}setActiveRow(n){this.lhcFormData&&n&&(this.lhcFormData.setActiveRow(n),n._validationErrors&&n._validationErrors.forEach(e=>{this.sendMsgToScreenReader(`${n.question} ${e}`)}))}activeRowOnBlur(n){n._visitedBefore?n._showValidation=!1:(n._showValidation=!0,setTimeout(()=>{n._showValidation=!1,n._visitedBefore=!0},window.LForms.Validations._timeout))}getActiveRowClass(n){return this.lhcFormData.getActiveRowClass(n)}getSkipLogicClass(n){return this.lhcFormData.getSkipLogicClass(n)}getTableColumnStyle(n){const e={};if(n.displayControl&&Array.isArray(n.displayControl.colCSS)){const i=n.displayControl.colCSS;for(let r=0,o=i.length;r<o;r++){const a=i[r];e[a.name]=a.value}}return e}getItemStyle(n){const e={};if(n.displayControl&&Array.isArray(n.displayControl.css))for(let i=0,r=n.displayControl.css.length;i<r;i++){const o=n.displayControl.css[i];e[o.name]=o.value}return e}hasOneRepeatingItem(n){return!(this.lhcFormData.getRepeatingItemCount(n)>1)}hasOneRepeatingRow(n){let e=!1;const i=this.lhcFormData._horizontalTableInfo[n._codePath+n._parentIdPath_];return i&&i.tableRows&&1===i.tableRows.length&&(e=!0),e}getLastRepeatingItem(n){const e=this.lhcFormData._getRepeatingItems(n);return e.length?e[e.length-1]:null}getTextDisplayType(n){return this.lhcFormData?.getTextDisplayType(n)||"plain"}getPrefixDisplayType(n){return this.lhcFormData?.getPrefixDisplayType(n)||"plain"}getCodingInstructionsDisplayType(n){let e="";if(n.codingInstructions&&n.codingInstructions.length>0){if(this.lhcFormData.templateOptions.allowHTML&&"html"===n.codingInstructionsFormat){var i="html";n.codingInstructionsHasInvalidHtmlTag&&(i=this.lhcFormData.templateOptions.displayInvalidHTML?"escaped":"plain")}else i="escaped";e=(this.lhcFormData.templateOptions.showCodingInstruction?"inline":"popover")+"-"+i}return e}getLegalDisplayType(n){let e="";if(n.legal&&n.legal.length>0){if(this.lhcFormData.templateOptions.allowHTML&&"html"===n.legalFormat){var i="html";n.legalHasInvalidHtmlTag&&(i=this.lhcFormData.templateOptions.displayInvalidHTML?"escaped":"plain")}else i="escaped";e=(this.lhcFormData.templateOptions.showCodingInstruction?"inline":"popover")+"-"+i}return e}checkUnits(n){return!!(n._unitAutocompOptions||n._unitReadonly&&n.unit&&n.unit._displayUnit)}targetEnabled(n){return!!this.lhcFormData&&Li.targetEnabled(n)}targetDisabledAndProtected(n){return!!this.lhcFormData&&Li.targetDisabledAndProtected(n)}targetShown(n){return!!this.lhcFormData&&Li.targetShown(n)}getRepeatingSN(n){let e="";return n._questionRepeatable&&(e=n._idPath.slice(1).replace(/\//g,".")),e}getItemAnswerId(n,e){return Li.getItemAnswerId(n,e)}getSiblingStatus(n){let e="";return n._lastSibling&&(e+="lhc-last-item"),n._firstSibling&&(e+=" lhc-first-item"),e}getTreeLineClass(n=!1){if(n)return"";const e=this.getLhcFormData().templateOptions;return e.hideIndentation||"true"===e.hideTreeLine||!0===e.hideTreeLine||"auto"===e.hideTreeLine&&this.getLhcFormData()._totalLevelsOfHierarchy<=3?"":"lhc-tree-line"}getIndentationClass(n=!1){return n||this.getLhcFormData().templateOptions.hideIndentation?"":"lhc-indentation"}getItemClassList(n,e,i=!1){return["lhc-item",this.getItemViewModeClass(n,e),this.getTreeLineClass(i),this.getIndentationClass(i),this.getSiblingStatus(n),this.getRowClass(n)].join(" ")}isHideRepetitionNumber(){return this.getLhcFormData().templateOptions.hideRepetitionNumber}getRowClass(n){let e=" lhc-datatype-"+n.dataType;return n._answerRequired&&(e+=" lf-answer-required"),e+=n.header?" lhc-item-group":" lhc-item-question",(!n.question||0===n.question.length)&&(e+=" lf-empty-question"),n._visitedBefore&&(e+=" lhc-visited-before"),n._showValidation&&(e+=" lhc-show-validation"),n._isHiddenFromView&&(e+=" lhc-hidden-from-view"),this.targetDisabledAndProtected(n)&&(e+=" lhc-item-disabled-protected"),Array.isArray(n._validationErrors)&&n._validationErrors.length>0&&(e+=" lhc-invalid"),e}getViewModeClass(n){let e,i=this.lhcFormData?.templateOptions?.viewMode;switch((!i||"auto"===i)&&(i=n),i){case"lg":default:e="lhc-view-lg";break;case"md":e="lhc-view-md";break;case"sm":e="lhc-view-sm"}return e}getItemViewModeClass(n,e){let i,r="";if(n)switch(i=n.displayControl&&n.displayControl.viewMode?n.displayControl.viewMode:this.lhcFormData.templateOptions.viewMode,(!i||"auto"===i)&&(i=e),i){case"lg":default:r="lhc-item-view-lg";break;case"md":r="lhc-item-view-md";break;case"sm":r="lhc-item-view-sm"}return r}addOneRepeatingItem(n,e){let i=!1;this.lhcFormData&&!this.lhcFormData.templateOptions.allowMultipleEmptyRepeatingItems&&(i=this.lhcFormData.areAnyRepeatingItemsEmpty(n),i&&n._showUnusedItemWarning&&(n._unusedItemWarning||(n._unusedItemWarning=Mn.pleaseEnterInfoForTheBlank.replace("{lformsParam}",n._text)))),i||(e?this.lhcFormData.appendRepeatingItems(n):this.lhcFormData.addRepeatingItems(n),this.sendActionsToScreenReader())}removeOneRepeatingItem(n){const e=this.lhcFormData.getNextRepeatingItem(n);let i="";if(e)i=2===this.lhcFormData.getRepeatingItemCount(n)?"add-"+e._elementId:"del-"+e._elementId;else{const r=this.lhcFormData.getPrevRepeatingItem(n);r&&(i="add-"+r._elementId)}this.lhcFormData.removeRepeatingItems(n),this.sendActionsToScreenReader(),setTimeout(function(){const r=document.getElementById(i);r&&r.focus()},1)}hideUnusedItemWarning(n){this.lhcFormData&&!this.lhcFormData.templateOptions.allowMultipleEmptyRepeatingItems&&(n._showUnusedItemWarning=!1)}getHorizontalTableInfo(){return this.lhcFormData._horizontalTableInfo}trackByElementId(n,e){return e._elementId}trackByRowHeaderElementId(n,e){return e.header._elementId}trackByColumnHeaderId(n,e){return e.id}isSubsequentHorizontalTableGroupItem(n){return n&&n.displayControl&&"horizontal"===n.displayControl.questionLayout&&!n._horizontalTableHeader}sendMsgToScreenReader(n){this.srLog.add(n)}sendActionsToScreenReader(){this.lhcFormData&&this.lhcFormData._actionLogs.length>0&&(this.lhcFormData._actionLogs.forEach(n=>{this.srLog.add(n)}),this.lhcFormData._actionLogs=[])}isFormReady(){return!!this.lhcFormData._formReady}onItemValueChange(n,e,i,r=!1){this.lhcFormData&&(r||!r&&!on.deepEqual(e,i))&&(this.lhcFormData.updateOnSourceItemChange(n),this.sendActionsToScreenReader())}}function D5e(t,n){if(1&t){const e=tt();J(0,"button",10),Ne("click",function(){ce(e);const r=k(3);return ue(r.lhcDataService.removeOneRepeatingItem(r.item))}),Pe(1,"-"),te()}if(2&t){const e=k(3);N("id",pe("del-",e.item._elementId))("title",pe('Remove this "',e.item._text,'"'))("disabled",e.item._readOnly)}}function x5e(t,n){if(1&t&&(J(0,"div",5)(1,"div",6),He(2,"lhc-item-question-text",7),te(),J(3,"div",8),ve(4,D5e,2,5,"button",9),te()()),2&t){const e=k(2);z(2),N("item",e.item),z(2),N("ngIf",!e.lhcDataService.hasOneRepeatingItem(e.item))}}function k5e(t,n){if(1&t&&He(0,"lhc-item",14),2&t){const e=k().$implicit,i=k(3);Oe(i.lhcDataService.getItemClassList(e,i.viewMode)),N("id",pe("item-",e._elementId))("item",e)}}function E5e(t,n){if(1&t&&(Ge(0),ve(1,k5e,1,5,"lhc-item",13),Ye()),2&t){const e=n.$implicit,i=k(3);z(),N("ngIf",e&&i.lhcDataService.targetShown(e)&&!e._isHiddenFromView)}}function I5e(t,n){if(1&t&&(J(0,"div",11),ve(1,E5e,2,1,"ng-container",12),te()),2&t){const e=k(2);z(),N("ngForOf",e.item.items)("ngForTrackBy",e.lhcDataService.trackByElementId)}}function z5e(t,n){if(1&t&&(J(0,"span",16),Pe(1),te()),2&t){const e=k(3);z(),zt(" This repeatable item should have at least ",e.item.questionCardinality.min," occurrences.")}}function A5e(t,n){if(1&t&&(J(0,"div"),He(1,"lhc-button-popover",15),ve(2,z5e,2,1,"span",4),te()),2&t){const e=k(2);Oe(pe("lhc-button-padding ",e.lhcDataService.getSkipLogicClass(e.item))),z(),N("buttonLabel",pe("+ ",e.item._text))("item",e.item)("popoverType","repeating-item"),z(),N("ngIf",e.item._minOccursNotMet)}}function L5e(t,n){if(1&t&&(J(0,"span",16),Pe(1),te()),2&t){const e=k(2);z(),zt(" This repeatable item should have at most ",e.item.questionCardinality.max," occurrences.")}}function O5e(t,n){if(1&t&&(Ge(0),ve(1,x5e,5,2,"div",1)(2,I5e,2,2,"div",2)(3,A5e,3,8,"div",3)(4,L5e,2,1,"span",4),Ye()),2&t){const e=k();z(),N("ngIf",!e.hideGrouptTitle),z(),N("ngIf",e.item.items),z(),N("ngIf",e.item._lastRepeatingItem),z(),N("ngIf",e.item._maxOccursExcceeded)}}let Iy=(()=>{class t{winService;lhcDataService;item;hideGrouptTitle=!1;viewMode="";constructor(e,i){this.winService=e,this.lhcDataService=i,e.windowWidth.subscribe(r=>{this.viewMode=e.getViewMode()})}static \u0275fac=function(i){return new(i||t)(xe(E4),xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-group-vertical"]],inputs:{item:"item",hideGrouptTitle:"hideGrouptTitle"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],["class","lhc-item-group-title lhc-de-label-button",4,"ngIf"],["class","lhc-item-group-body",4,"ngIf"],[3,"class",4,"ngIf"],["style","color: red;",4,"ngIf"],[1,"lhc-item-group-title","lhc-de-label-button"],[1,"lhc-de-label"],[3,"item"],[1,"lhc-de-button"],["class","lhc-float-button lhc-button","type","button",3,"id","title","disabled","click",4,"ngIf"],["type","button",1,"lhc-float-button","lhc-button",3,"click","id","title","disabled"],[1,"lhc-item-group-body"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"item","class","id",4,"ngIf"],[3,"item","id"],[3,"item","popoverType","buttonLabel"],[2,"color","red"]],template:function(i,r){1&i&&ve(0,O5e,5,4,"ng-container",0),2&i&&N("ngIf",r.item)},encapsulation:2})}return t})(),I4=(()=>{class t{sanitized;constructor(e){this.sanitized=e}transform(e,...i){return this.sanitized.bypassSecurityTrustHtml(e)}static \u0275fac=function(i){return new(i||t)(xe(F9,16))};static \u0275pipe=xa({name:"safeHtml",type:t,pure:!0,standalone:!1})}return t})();function P5e(t,n){if(1&t){const e=tt();J(0,"button",13),Ne("click",function(){ce(e);const r=k();return ue(r.lhcDataService.addOneRepeatingItem(r.item,r.append))})("blur",function(){ce(e);const r=k();return ue(r.lhcDataService.hideUnusedItemWarning(r.item))}),Pe(1),te()}if(2&t){const e=k(),i=fr(10);gt("aria-controls",pe("add-button-",e.item._elementId))("aria-label",pe("add button for ",e.item.question))("aria-describedby",pe("add-button-",e.item._elementId)),N("id",pe("add-",e.item._elementId))("disabled",e.item._readOnly)("nzPopoverVisible",e.item._showUnusedItemWarning)("nzPopoverContent",i)("nzPopoverTrigger",null),z(),zt(" ",e.buttonLabel," ")}}function N5e(t,n){if(1&t){const e=tt();J(0,"button",14),Ne("click",function(){ce(e);const r=k();return ue(r.onShowingPopover(r.item))}),He(1,"i",15),te()}if(2&t){const e=k(),i=fr(16);gt("aria-controls",pe("help-content-",e.item._elementId))("aria-label",pe("Help button for ",e.item.question))("aria-describedby",pe("help-button-",e.item._elementId)),N("id",pe("help-button-",e.item._elementId))("nzPopoverContent",i)("nzPopoverTitle",e.language.helpTitle)}}function R5e(t,n){if(1&t){const e=tt();J(0,"button",14),Ne("click",function(){ce(e);const r=k();return ue(r.onShowingPopover(r.item))}),He(1,"i",15),te()}if(2&t){const e=k(),i=fr(12);gt("aria-controls",pe("help-content-",e.item._elementId))("aria-label",pe("Help button for ",e.item.question))("aria-describedby",pe("help-button-",e.item._elementId)),N("id",pe("help-button-",e.item._elementId))("nzPopoverContent",i)("nzPopoverTitle",e.language.helpTitle)}}function F5e(t,n){if(1&t){const e=tt();J(0,"button",14),Ne("click",function(){ce(e);const r=k();return ue(r.onShowingPopover(r.item))}),He(1,"i",15),te()}if(2&t){const e=k(),i=fr(14);gt("aria-controls",pe("help-content-",e.item._elementId))("aria-label",pe("Help button for ",e.item.question))("aria-describedby",pe("help-button-",e.item._elementId)),N("id",pe("help-button-",e.item._elementId))("nzPopoverContent",i)("nzPopoverTitle",e.language.helpTitle)}}function H5e(t,n){if(1&t){const e=tt();J(0,"button",16),Ne("click",function(){ce(e);const r=k();return ue(r.onShowingPopover(r.item))}),He(1,"i",17),te()}if(2&t){const e=k(),i=fr(22);gt("aria-controls",pe("legal-content-",e.item._elementId))("aria-label",pe("Legal button for ",e.item.question))("aria-describedby",pe("legal-button-",e.item._elementId)),N("id",pe("legal-button-",e.item._elementId))("nzPopoverContent",i)("nzPopoverTitle",e.language.legalTitle)}}function V5e(t,n){if(1&t){const e=tt();J(0,"button",16),Ne("click",function(){ce(e);const r=k();return ue(r.onShowingPopover(r.item))}),He(1,"i",17),te()}if(2&t){const e=k(),i=fr(18);gt("aria-controls",pe("legal-content-",e.item._elementId))("aria-label",pe("Legal button for ",e.item.question))("aria-describedby",pe("legal-button-",e.item._elementId)),N("id",pe("legal-button-",e.item._elementId))("nzPopoverContent",i)("nzPopoverTitle",e.language.legalTitle)}}function U5e(t,n){if(1&t){const e=tt();J(0,"button",16),Ne("click",function(){ce(e);const r=k();return ue(r.onShowingPopover(r.item))}),He(1,"i",17),te()}if(2&t){const e=k(),i=fr(20);gt("aria-controls",pe("legal-content-",e.item._elementId))("aria-label",pe("Legal button for ",e.item.question))("aria-describedby",pe("legal-button-",e.item._elementId)),N("id",pe("legal-button-",e.item._elementId))("nzPopoverContent",i)("nzPopoverTitle",e.language.legalTitle)}}function B5e(t,n){if(1&t){const e=tt();J(0,"button",19),Ne("click",function(){ce(e);const r=k(2);return ue(r.onShowingPopover(r.item))}),He(1,"i",20),te()}if(2&t){const e=k(2),i=fr(24);gt("aria-controls",pe("copyright-content-",e.popoverIdentifier))("aria-label",pe("Copyright button for ",e.item.name||e.item.shortName))("aria-describedby",pe("copyright-button-",e.popoverIdentifier)),N("id",pe("copyright-button-",e.popoverIdentifier))("nzPopoverContent",i)}}function q5e(t,n){if(1&t&&(Ge(0),ve(1,B5e,2,9,"button",18),Ye()),2&t){const e=k();z(),N("ngIf",e.formLevel)}}function Y5e(t,n){if(1&t&&(J(0,"span",21),Pe(1),te()),2&t){const e=k();gt("aria-labelledby",pe("add-button-",e.item._elementId))("aria-describedby",pe("add-content-",e.item._elementId)),N("id",pe("add-content-",e.item._elementId)),gt("aria-label",e.item._unusedItemWarning),z(),ln(e.item._unusedItemWarning)}}function j5e(t,n){if(1&t&&(He(0,"span",22),uo(1,"safeHtml")),2&t){const e=k();Mi(e.item._obj_helpCSS),gt("aria-labelledby",pe("help-button-",e.item._elementId))("aria-label",pe("Instruction for ",e.item.question))("aria-describedby",pe("help-content-",e.item._elementId)),N("id",pe("help-content-",e.item._elementId))("innerHTML",jo(1,11,e.item._codingInstructionsWithContainedImages||e.item.codingInstructions),ql)}}function $5e(t,n){if(1&t&&(J(0,"span",21),Pe(1),te()),2&t){const e=k();Mi(e.item._obj_helpCSS),gt("aria-labelledby",pe("help-button-",e.item._elementId))("aria-label",pe("Instruction for ",e.item.question))("aria-describedby",pe("help-content-",e.item._elementId)),N("id",pe("help-content-",e.item._elementId)),z(),ln(e.item.codingInstructionsPlain)}}function W5e(t,n){if(1&t&&(J(0,"span",21),Pe(1),te()),2&t){const e=k();Mi(e.item._obj_helpCSS),gt("aria-labelledby",pe("help-button-",e.item._elementId))("aria-label",pe("Instruction for ",e.item.question))("aria-describedby",pe("help-content-",e.item._elementId)),N("id",pe("help-content-",e.item._elementId)),z(),ln(e.item.codingInstructions)}}function G5e(t,n){if(1&t&&(He(0,"span",22),uo(1,"safeHtml")),2&t){const e=k();Mi(e.item._obj_legalCSS),gt("aria-labelledby",pe("legal-button-",e.item._elementId))("aria-label",pe("Legal for ",e.item.question))("aria-describedby",pe("legal-content-",e.item._elementId)),N("id",pe("legal-content-",e.item._elementId))("innerHTML",jo(1,11,e.item._legalWithContainedImages||e.item.legal),ql)}}function K5e(t,n){if(1&t&&(J(0,"span",21),Pe(1),te()),2&t){const e=k();Mi(e.item._obj_legalCSS),gt("aria-labelledby",pe("legal-button-",e.item._elementId))("aria-label",pe("Legal for ",e.item.question))("aria-describedby",pe("legal-content-",e.item._elementId)),N("id",pe("legal-content-",e.item._elementId)),z(),ln(e.item.legalPlain)}}function Q5e(t,n){if(1&t&&(J(0,"span",21),Pe(1),te()),2&t){const e=k();Mi(e.item._obj_legalCSS),gt("aria-labelledby",pe("legal-button-",e.item._elementId))("aria-label",pe("Legal for ",e.item.question))("aria-describedby",pe("legal-content-",e.item._elementId)),N("id",pe("legal-content-",e.item._elementId)),z(),ln(e.item.legal)}}function X5e(t,n){if(1&t&&(J(0,"span",21),Pe(1),te()),2&t){const e=k(2);gt("aria-labelledby",pe("copyright-button-",e.popoverIdentifier))("aria-label",pe("Copyright notice for ",e.item.name||e.item.shortName))("aria-describedby",pe("copyright-content-",e.popoverIdentifier)),N("id",pe("copyright-content-",e.popoverIdentifier))("id",pe("copyright-content-",e.popoverIdentifier)),z(),ln(e.item.copyrightNotice)}}function Z5e(t,n){1&t&&ve(0,X5e,2,11,"span",23),2&t&&N("ngIf",k().formLevel)}let z4=(()=>{class t{lhcDataService;item;popoverType;formLevel=!1;buttonLabel=null;append=!1;popoverIdentifier=null;constructor(e){this.lhcDataService=e}ngOnInit(){this.formLevel&&this.item&&(this.popoverIdentifier=(this.item.code||this.item.name||this.item.shortName).replaceAll(/[\/\s]/g,"-"))}onShowingPopover(){let e,i;"copyright-string"===this.popoverType?(e="Copyright notice:",i="copyright-content-"+(this.formLevel?this.item.code:this.item._elementId)):this.popoverType.startsWith("legal")?(e=`${Mn.legalTitle}:`,i="legal-content-"+(this.formLevel?this.item.code:this.item._elementId)):(e=`${Mn.helpTitle}:`,i="help-content-"+(this.formLevel?this.item.code:this.item._elementId)),setTimeout(()=>{const r=document.getElementById(i).textContent;this.lhcDataService.sendMsgToScreenReader(`${e} ${r}`)},10)}language=Mn;static \u0275fac=function(i){return new(i||t)(xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-button-popover"]],inputs:{item:"item",popoverType:"popoverType",formLevel:"formLevel",buttonLabel:"buttonLabel",append:"append"},standalone:!1,decls:25,vars:9,consts:[["warningStrTemplate",""],["helpHtmlTemplate",""],["helpPlainTemplate",""],["helpStrTemplate",""],["legalHtmlTemplate",""],["legalPlainTemplate",""],["legalStrTemplate",""],["copyrightStrTemplate",""],[3,"ngSwitch"],["type","button","class","lhc-float-button lhc-button","nz-popover","","nzPopoverPlacement","right",3,"id","disabled","nzPopoverVisible","nzPopoverContent","nzPopoverTrigger","click","blur",4,"ngSwitchCase"],["type","button","class","lhc-help-button","nz-popover","","nzPopoverTrigger","click","nzPopoverPlacement","right","nzPopoverOverlayClassName","lhc-popover-help",3,"id","nzPopoverContent","nzPopoverTitle","click",4,"ngSwitchCase"],["type","button","class","lhc-legal-button","nz-popover","","nzPopoverTrigger","click","nzPopoverPlacement","right","nzPopoverOverlayClassName","lhc-popover-legal",3,"id","nzPopoverContent","nzPopoverTitle","click",4,"ngSwitchCase"],[4,"ngSwitchCase"],["type","button","nz-popover","","nzPopoverPlacement","right",1,"lhc-float-button","lhc-button",3,"click","blur","id","disabled","nzPopoverVisible","nzPopoverContent","nzPopoverTrigger"],["type","button","nz-popover","","nzPopoverTrigger","click","nzPopoverPlacement","right","nzPopoverOverlayClassName","lhc-popover-help",1,"lhc-help-button",3,"click","id","nzPopoverContent","nzPopoverTitle"],["nz-icon","","nzType","question-circle","nzTheme","fill"],["type","button","nz-popover","","nzPopoverTrigger","click","nzPopoverPlacement","right","nzPopoverOverlayClassName","lhc-popover-legal",1,"lhc-legal-button",3,"click","id","nzPopoverContent","nzPopoverTitle"],["nz-icon","","nzType","info-circle","nzTheme","fill"],["type","button","class","lhc-copyright-button","nz-popover","","nzPopoverTrigger","click","nzPopoverPlacement","right","nzPopoverTitle","Copyright","nzPopoverOverlayClassName","lhc-popover-copyright",3,"id","nzPopoverContent","click",4,"ngIf"],["type","button","nz-popover","","nzPopoverTrigger","click","nzPopoverPlacement","right","nzPopoverTitle","Copyright","nzPopoverOverlayClassName","lhc-popover-copyright",1,"lhc-copyright-button",3,"click","id","nzPopoverContent"],["nz-icon","","nzType","copyright-circle","nzTheme","outline"],["role","region",3,"id"],["role","region",3,"id","innerHTML"],["role","region",3,"id",4,"ngIf"]],template:function(i,r){1&i&&(Ge(0,8),ve(1,P5e,2,13,"button",9)(2,N5e,2,10,"button",10)(3,R5e,2,10,"button",10)(4,F5e,2,10,"button",10)(5,H5e,2,10,"button",11)(6,V5e,2,10,"button",11)(7,U5e,2,10,"button",11)(8,q5e,2,1,"ng-container",12),Ye(),ve(9,Y5e,2,8,"ng-template",null,0,ho)(11,j5e,2,13,"ng-template",null,1,ho)(13,$5e,2,11,"ng-template",null,2,ho)(15,W5e,2,11,"ng-template",null,3,ho)(17,G5e,2,13,"ng-template",null,4,ho)(19,K5e,2,11,"ng-template",null,5,ho)(21,Q5e,2,11,"ng-template",null,6,ho)(23,Z5e,1,1,"ng-template",null,7,ho)),2&i&&(N("ngSwitch",r.popoverType),z(),N("ngSwitchCase","repeating-item"),z(),N("ngSwitchCase","help-string"),z(),N("ngSwitchCase","help-html"),z(),N("ngSwitchCase","help-plain"),z(),N("ngSwitchCase","legal-string"),z(),N("ngSwitchCase","legal-html"),z(),N("ngSwitchCase","legal-plain"),z(),N("ngSwitchCase","copyright-string"))},dependencies:[nr,ws,vl,N6e,La,I4],encapsulation:2})}return t})();function J5e(t,n){if(1&t&&(J(0,"span",10),Pe(1),te()),2&t){const e=k(2);z(),ln(e.lhcDataService.getRepeatingSN(e.item))}}function e7e(t,n){if(1&t&&(J(0,"span",13),Pe(1),te()),2&t){const e=k(3);Mi(e.item._obj_prefixCSS),z(),ln(e.item._prefixHTML)}}function t7e(t,n){if(1&t&&(He(0,"span",14),uo(1,"safeHtml")),2&t){const e=k(3);Mi(e.item._obj_prefixCSS),N("innerHTML",jo(1,3,e.item._prefixHTML),ql)}}function n7e(t,n){if(1&t&&(J(0,"span",13),Pe(1),te()),2&t){const e=k(3);Mi(e.item._obj_prefixCSS),z(),ln(e.item.prefix)}}function i7e(t,n){if(1&t&&(Ge(0)(1,5),ve(2,e7e,2,3,"span",11)(3,t7e,2,5,"span",12)(4,n7e,2,3,"span",11),Ye()()),2&t){const e=k(2);z(),N("ngSwitch",e.lhcDataService.getPrefixDisplayType(e.item)),z(),N("ngSwitchCase","escaped"),z(),N("ngSwitchCase","html"),z(),N("ngSwitchCase","plain")}}function r7e(t,n){if(1&t&&(J(0,"span",15),Pe(1),te()),2&t){const e=k(2);Mi(e.item._obj_textCSS),z(),ln(e.item._displayTextHTML)}}function o7e(t,n){if(1&t&&(He(0,"span",16),uo(1,"safeHtml")),2&t){const e=k(2);Mi(e.item._obj_textCSS),N("innerHTML",jo(1,3,e.item._displayTextHTML),ql)}}function a7e(t,n){if(1&t&&(J(0,"span",15),Pe(1),te()),2&t){const e=k(2);Mi(e.item._obj_textCSS),z(),ln(e.item.question)}}function s7e(t,n){1&t&&(J(0,"span",17),Pe(1," *"),te())}function l7e(t,n){if(1&t&&(J(0,"a",21),Pe(1),te()),2&t){const e=k(2).$implicit;N("href",Mt("https://loinc.org/"+e.code),I2),z(),zt(" [",e.code,"] ")}}function c7e(t,n){if(1&t&&(J(0,"span",22),Pe(1),te()),2&t){const e=k(2).$implicit;z(),zt("[",e.code,"]")}}function u7e(t,n){if(1&t&&(J(0,"span"),ve(1,l7e,2,3,"a",19)(2,c7e,2,1,"span",20),te()),2&t){const e=k().$implicit;z(),N("ngIf","http://loinc.org"===e.system),z(),N("ngIf","http://loinc.org"!==e.system)}}function d7e(t,n){if(1&t&&(J(0,"span"),ve(1,u7e,3,2,"span",0),te()),2&t){const e=n.$implicit;z(),N("ngIf",e.code)}}function h7e(t,n){if(1&t&&(J(0,"span"),ve(1,d7e,2,1,"span",18),te()),2&t){const e=k(2);z(),N("ngForOf",e.item.codeList)}}function f7e(t,n){if(1&t&&(J(0,"div",26),Pe(1),te()),2&t){const e=k(3);Mi(e.item._obj_helpCSS),gt("aria-label",pe("Help for question ",e.item.question))("aria-describedby",pe("label-",e.item._elementId)),N("id",pe("help-",e.item._elementId)),z(),ln(e.item.codingInstructions)}}function m7e(t,n){if(1&t&&(He(0,"div",27),uo(1,"safeHtml")),2&t){const e=k(3);Mi(e.item._obj_helpCSS),gt("aria-label",pe("Help for question ",e.item.question))("aria-describedby",pe("label-",e.item._elementId)),N("id",pe("help-",e.item._elementId))("innerHTML",jo(1,9,e.item._codingInstructionsWithContainedImages||e.item.codingInstructions),ql)}}function p7e(t,n){if(1&t&&(J(0,"div",26),Pe(1),te()),2&t){const e=k(3);Mi(e.item._obj_helpCSS),gt("aria-label",pe("Help for question ",e.item.question))("aria-describedby",pe("label-",e.item._elementId)),N("id",pe("help-",e.item._elementId)),z(),ln(e.item.codingInstructionsPlain)}}function g7e(t,n){if(1&t&&(Ge(0),He(1,"lhc-button-popover",28),Ye()),2&t){const e=k(3);z(),N("item",e.item)("popoverType","help-string")}}function v7e(t,n){if(1&t&&(Ge(0),He(1,"lhc-button-popover",28),Ye()),2&t){const e=k(3);z(),N("item",e.item)("popoverType","help-html")}}function _7e(t,n){if(1&t&&(Ge(0),He(1,"lhc-button-popover",28),Ye()),2&t){const e=k(3);z(),N("item",e.item)("popoverType","help-plain")}}function y7e(t,n){if(1&t&&(J(0,"span",5),ve(1,f7e,2,9,"div",23)(2,m7e,2,11,"div",24)(3,p7e,2,9,"div",23)(4,g7e,2,2,"ng-container",25)(5,v7e,2,2,"ng-container",25)(6,_7e,2,2,"ng-container",25),te()),2&t){const e=k(2);N("ngSwitch",e.lhcDataService.getCodingInstructionsDisplayType(e.item)),z(),N("ngSwitchCase","inline-escaped"),z(),N("ngSwitchCase","inline-html"),z(),N("ngSwitchCase","inline-plain"),z(),N("ngSwitchCase","popover-escaped"),z(),N("ngSwitchCase","popover-html"),z(),N("ngSwitchCase","popover-plain")}}function b7e(t,n){if(1&t&&(J(0,"div",31),Pe(1),te()),2&t){const e=k(3);Mi(e.item._obj_legalCSS),gt("aria-label",pe("Legal for question ",e.item.question))("aria-describedby",pe("label-",e.item._elementId)),N("id",pe("legal-",e.item._elementId)),z(),ln(e.item.legal)}}function C7e(t,n){if(1&t&&(He(0,"div",32),uo(1,"safeHtml")),2&t){const e=k(3);Mi(e.item._obj_legalCSS),gt("aria-label",pe("Legal for question ",e.item.question))("aria-describedby",pe("label-",e.item._elementId)),N("id",pe("legal-",e.item._elementId))("innerHTML",jo(1,9,e.item._legalWithContainedImages||e.item.legal),ql)}}function w7e(t,n){if(1&t&&(J(0,"div",31),Pe(1),te()),2&t){const e=k(3);Mi(e.item._obj_legalCSS),gt("aria-label",pe("Legal for question ",e.item.question))("aria-describedby",pe("label-",e.item._elementId)),N("id",pe("legal-",e.item._elementId)),z(),ln(e.item.legalPlain)}}function S7e(t,n){if(1&t&&(Ge(0),He(1,"lhc-button-popover",28),Ye()),2&t){const e=k(3);z(),N("item",e.item)("popoverType","legal-string")}}function M7e(t,n){if(1&t&&(Ge(0),He(1,"lhc-button-popover",28),Ye()),2&t){const e=k(3);z(),N("item",e.item)("popoverType","legal-html")}}function T7e(t,n){if(1&t&&(Ge(0),He(1,"lhc-button-popover",28),Ye()),2&t){const e=k(3);z(),N("item",e.item)("popoverType","legal-plain")}}function D7e(t,n){if(1&t&&(J(0,"span",5),ve(1,b7e,2,9,"div",29)(2,C7e,2,11,"div",30)(3,w7e,2,9,"div",29)(4,S7e,2,2,"ng-container",25)(5,M7e,2,2,"ng-container",25)(6,T7e,2,2,"ng-container",25),te()),2&t){const e=k(2);N("ngSwitch",e.lhcDataService.getLegalDisplayType(e.item)),z(),N("ngSwitchCase","inline-escaped"),z(),N("ngSwitchCase","inline-html"),z(),N("ngSwitchCase","inline-plain"),z(),N("ngSwitchCase","popover-escaped"),z(),N("ngSwitchCase","popover-html"),z(),N("ngSwitchCase","popover-plain")}}function x7e(t,n){if(1&t){const e=tt();Ge(0),J(1,"div",1),Ne("focus",function(){ce(e);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),ve(2,J5e,2,1,"span",2),J(3,"span",3)(4,"label",4),ve(5,i7e,5,4,"ng-container",0),Ge(6,5),ve(7,r7e,2,3,"span",6)(8,o7e,2,5,"span",7)(9,a7e,2,3,"span",6),Ye(),ve(10,s7e,2,0,"span",8),te()(),ve(11,h7e,2,1,"span",0)(12,y7e,7,7,"span",9)(13,D7e,7,7,"span",9),te(),Ye()}if(2&t){const e=k();z(2),N("ngIf",e.item._questionRepeatable&&!e.item._horizontalTableHeader&&!e.lhcDataService.isHideRepetitionNumber()),z(2),N("id",pe("label-",e.item._elementId))("for",Mt(e.item._elementId)),z(),N("ngIf",e.item.prefix),z(),N("ngSwitch",e.lhcDataService.getTextDisplayType(e.item)),z(),N("ngSwitchCase","escaped"),z(),N("ngSwitchCase","html"),z(),N("ngSwitchCase","plain"),z(),N("ngIf",e.item._answerRequired),z(),N("ngIf",e.lhcDataService.getLhcFormData().templateOptions.showQuestionCode&&e.item.codeList&&e.item.codeList.length>0),z(),N("ngIf",e.item.codingInstructions),z(),N("ngIf",e.item.legal)}}let A4=(()=>{class t{lhcDataService;item;constructor(e){this.lhcDataService=e}ngOnInit(){this.item&&this.item.copyrightNotice&&!this.item.legal&&(this.item.legal=this.item.copyrightNotice,delete this.item.copyrightNotice)}static \u0275fac=function(i){return new(i||t)(xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-item-question-text"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[1,"lhc-de-label",3,"focus"],["class","lf-sn",4,"ngIf"],[1,"lhc-question"],[3,"id","for"],[3,"ngSwitch"],["class","question",3,"style",4,"ngSwitchCase"],["class","question",3,"style","innerHTML",4,"ngSwitchCase"],["class","lhc-required","title","Required",4,"ngIf"],[3,"ngSwitch",4,"ngIf"],[1,"lf-sn"],["class","prefix",3,"style",4,"ngSwitchCase"],["class","prefix",3,"style","innerHTML",4,"ngSwitchCase"],[1,"prefix"],[1,"prefix",3,"innerHTML"],[1,"question"],[1,"question",3,"innerHTML"],["title","Required",1,"lhc-required"],[4,"ngFor","ngForOf"],["class","lhc-item-code","target","_blank","rel","noopener noreferrer",3,"href",4,"ngIf"],["class","lhc-item-code",4,"ngIf"],["target","_blank","rel","noopener noreferrer",1,"lhc-item-code",3,"href"],[1,"lhc-item-code"],["class","lhc-inline-help",3,"id","style",4,"ngSwitchCase"],["class","lhc-inline-help",3,"id","innerHTML","style",4,"ngSwitchCase"],[4,"ngSwitchCase"],[1,"lhc-inline-help",3,"id"],[1,"lhc-inline-help",3,"id","innerHTML"],[3,"item","popoverType"],["class","lhc-inline-legal",3,"id","style",4,"ngSwitchCase"],["class","lhc-inline-legal",3,"id","innerHTML","style",4,"ngSwitchCase"],[1,"lhc-inline-legal",3,"id"],[1,"lhc-inline-legal",3,"id","innerHTML"]],template:function(i,r){1&i&&ve(0,x7e,14,14,"ng-container",0),2&i&&N("ngIf",r.item)},dependencies:[$s,nr,ws,vl,z4,I4],encapsulation:2})}return t})(),Ud=(()=>{class t{areTwoAnswersSame(e,i,r){return on.areTwoAnswersSame(e,i,r)}str2num(e,i){let r=null;if("integer"===i){const o=parseInt(e);r=isNaN(o)?null:o}else if("decimal"===i){const o=parseFloat(e);r=isNaN(o)?null:o}return r}getDisplayControlIsVertical(e){return void 0!==e?.answerLayout?.columns&&"0"!==e.answerLayout.columns}getAriaLabel(e){return e.prefix?`${e.prefix} ${e.question}`:e.question}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$e({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const k7e=t=>({"lhc-vertical":t}),E7e=t=>({text:t,_notOnList:!0});function I7e(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k().$implicit;z(),ln(e._displayTextHTML)}}function z7e(t,n){1&t&&(He(0,"span",9),uo(1,"safeHtml")),2&t&&N("outerHTML",jo(1,1,k().$implicit._displayTextHTML),ql)}function A7e(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k().$implicit;z(),ln(e._displayText)}}function L7e(t,n){if(1&t){const e=tt();J(0,"div")(1,"label",5),Ne("click",function(){ce(e);const r=k(2);return ue(r.lhcDataService.setActiveRow(r.item))}),Ui("ngModelChange",function(r){const o=ce(e).index,a=k(2);return Ji(a.checkboxModels[o],r)||(a.checkboxModels[o]=r),ue(r)}),Ge(2,6),ve(3,I7e,2,1,"ng-container",7)(4,z7e,2,3,"span",8)(5,A7e,2,1,"ng-container",7),Ye(),te()()}if(2&t){const e=n.$implicit,i=n.index,r=k(2);z(),Mi(e._obj_CSS),gt("aria-label",$l("Checkbox ",e._displayText," for ",r.item.question)),N("nzValue",r.item.answers[i]),Vi("ngModel",r.checkboxModels[i]),N("nzDisabled",r.item._readOnly)("id",r.lhcDataService.getItemAnswerId(r.item,e)),z(),N("ngSwitch",r.lhcDataService.getTextDisplayType(e)),z(),N("ngSwitchCase","escaped"),z(),N("ngSwitchCase","html"),z(),N("ngSwitchCase","plain")}}function O7e(t,n){if(1&t){const e=tt();J(0,"input",12),Ne("ngModelChange",function(r){return ce(e),ue(k(3).onOtherValueChange(r))})("focus",function(){ce(e);const r=k(3);return ue(r.lhcDataService.setActiveRow(r.item))}),te()}if(2&t){const e=k(3);N("ngModel",e.otherValue)("id",e.lhcDataService.getItemAnswerId(e.item,"_otherValue"))("disabled",e.item._readOnly)}}function P7e(t,n){if(1&t){const e=tt();J(0,"div")(1,"label",10),Ne("click",function(){ce(e);const r=k(2);return ue(r.lhcDataService.setActiveRow(r.item))}),Ui("ngModelChange",function(r){ce(e);const o=k(2);return Ji(o.otherCheckboxModel,r)||(o.otherCheckboxModel=r),ue(r)}),Pe(2),te(),ve(3,O7e,1,3,"input",11),te()}if(2&t){const e=k(2);z(),gt("aria-label",pe("Checkbox Other for ",e.item.question)),N("nzValue",Fr(8,E7e,e.otherValue))("nzDisabled",e.item._readOnly),Vi("ngModel",e.otherCheckboxModel),N("id",e.lhcDataService.getItemAnswerId(e.item,"_other")),z(),zt(" ",e.item.openLabel||e.language.other," "),z(),N("ngIf",e.otherCheckboxModel)}}function N7e(t,n){if(1&t){const e=tt();J(0,"nz-checkbox-wrapper",1),Ne("nzOnChange",function(r){return ce(e),ue(k().onCheckboxModelChange(r))}),J(1,"div",2),ve(2,L7e,6,13,"div",3)(3,P7e,4,10,"div",4),te()()}if(2&t){const e=k();z(),N("ngClass",Fr(3,k7e,e.commonUtils.getDisplayControlIsVertical(e.item.displayControl))),z(),N("ngForOf",e.acOptions.listItems),z(),N("ngIf","optionsOrString"===e.item.answerConstraint)}}let R7e=(()=>{class t{commonUtils;lhcDataService;item;acOptions;language=Mn;otherValue=null;checkboxModels=[];otherCheckboxModel=null;prevCheckBoxValue=null;constructor(e,i){this.commonUtils=e,this.lhcDataService=i}setInitialValue(){if(this.item&&this.item.value&&Array.isArray(this.item.value)&&this.item.answers&&Array.isArray(this.item.answers)){const e=this.item.answers.length;this.checkboxModels=new Array(e);for(let i=0,r=this.item.value.length;i<r;i++){const o=this.item.value[i];if(o._notOnList)this.otherCheckboxModel=!0,this.otherValue=o.text;else for(let a=0;a<e;a++)this.commonUtils.areTwoAnswersSame(o,this.item.answers[a],this.item)&&(this.checkboxModels[a]=!0)}this.prevCheckBoxValue=this.item.value}}ngOnInit(){}ngOnChanges(e){this.setInitialValue()}onCheckboxModelChange(e){this.item.value=e,this.lhcDataService.onItemValueChange(this.item,this.item.value,this.prevCheckBoxValue),this.prevCheckBoxValue=this.item.value,this.item._visitedBefore=!0}onOtherValueChange(e){this.otherCheckboxModel&&(this.item.value=on.deepCopy(this.prevCheckBoxValue).map(i=>(i._notOnList&&(i.text=e),i)),this.otherValue=e,this.lhcDataService.onItemValueChange(this.item,this.item.value,this.prevCheckBoxValue),this.prevCheckBoxValue=this.item.value)}static \u0275fac=function(i){return new(i||t)(xe(Ud),xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-item-choice-check-box"]],inputs:{item:"item",acOptions:"acOptions"},standalone:!1,features:[vn],decls:1,vars:1,consts:[["style","width: 100%;",3,"nzOnChange",4,"ngIf"],[2,"width","100%",3,"nzOnChange"],["nz-row","",3,"ngClass"],[4,"ngFor","ngForOf"],[4,"ngIf"],["nz-checkbox","",3,"click","ngModelChange","nzValue","ngModel","nzDisabled","id"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"outerHTML",4,"ngSwitchCase"],[3,"outerHTML"],["nz-checkbox","",3,"click","ngModelChange","nzValue","nzDisabled","ngModel","id"],["type","text","class","lhc-answer-other-input","nz-input","",3,"ngModel","id","disabled","ngModelChange","focus",4,"ngIf"],["type","text","nz-input","",1,"lhc-answer-other-input",3,"ngModelChange","focus","ngModel","id","disabled"]],template:function(i,r){1&i&&ve(0,N7e,4,5,"nz-checkbox-wrapper",0),2&i&&N("ngIf",r.item)},dependencies:[s7,$s,nr,ws,vl,bl,ja,za,C_,jO,LP,I4],styles:[".lhc-answer-other-input[_ngcontent-%COMP%]{height:22px}.ant-checkbox-group[_ngcontent-%COMP%], .ant-checkbox-wrapper[_ngcontent-%COMP%]{color:#000000d9}.lhc-vertical[_ngcontent-%COMP%]{flex-direction:column}\n\n/*# sourceMappingURL=lhc-item-choice-check-box.component.css.map*/"]})}return t})();const F7e=t=>({"lhc-vertical":t}),H7e=t=>({text:t,_notOnList:!0});function V7e(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k().$implicit;z(),ln(e._displayTextHTML)}}function U7e(t,n){1&t&&(He(0,"span",8),uo(1,"safeHtml")),2&t&&N("outerHTML",jo(1,1,k().$implicit._displayTextHTML),ql)}function B7e(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k().$implicit;z(),ln(e._displayText)}}function q7e(t,n){if(1&t){const e=tt();J(0,"label",4),Ne("click",function(){ce(e);const r=k(2);return ue(r.lhcDataService.setActiveRow(r.item))}),Ui("ngModelChange",function(r){const o=ce(e).index,a=k(2);return Ji(a.radioModels[o],r)||(a.radioModels[o]=r),ue(r)}),Ge(1,5),ve(2,V7e,2,1,"ng-container",6)(3,U7e,2,3,"span",7)(4,B7e,2,1,"ng-container",6),Ye(),te()}if(2&t){const e=n.$implicit,i=n.index,r=k(2);Mi(e._obj_CSS),N("nzDisabled",r.item._readOnly)("disabled",r.item._readOnly)("nzValue",r.item.answers[i]),Vi("ngModel",r.radioModels[i]),N("id",r.lhcDataService.getItemAnswerId(r.item,e)),z(),N("ngSwitch",r.lhcDataService.getTextDisplayType(e)),z(),N("ngSwitchCase","escaped"),z(),N("ngSwitchCase","html"),z(),N("ngSwitchCase","plain")}}function Y7e(t,n){if(1&t){const e=tt();J(0,"input",10),Ne("ngModelChange",function(r){return ce(e),ue(k(3).onOtherValueChange(r))})("focus",function(){ce(e);const r=k(3);return ue(r.lhcDataService.setActiveRow(r.item))}),te()}if(2&t){const e=k(3);N("ngModel",e.otherValue)("id",e.lhcDataService.getItemAnswerId(e.item,"_otherValue"))("disabled",e.item._readOnly)}}function j7e(t,n){if(1&t){const e=tt();J(0,"label",4),Ne("click",function(){ce(e);const r=k(2);return ue(r.lhcDataService.setActiveRow(r.item))}),Ui("ngModelChange",function(r){ce(e);const o=k(2);return Ji(o.otherRadioModel,r)||(o.otherRadioModel=r),ue(r)}),Pe(1),ve(2,Y7e,1,3,"input",9),te()}if(2&t){const e=k(2);N("nzDisabled",e.item._readOnly)("disabled",e.item._readOnly)("nzValue",Fr(7,H7e,e.otherValue)),Vi("ngModel",e.otherRadioModel),N("id",e.lhcDataService.getItemAnswerId(e.item,"_other")),z(),zt(" ",e.item.openLabel||e.language.other," "),z(),N("ngIf",e.radioValue&&e.radioValue._notOnList)}}function $7e(t,n){if(1&t){const e=tt();J(0,"div")(1,"nz-radio-group",1),Ne("ngModelChange",function(r){return ce(e),ue(k().onRadioModelChange(r))}),ve(2,q7e,5,11,"label",2)(3,j7e,3,9,"label",3),te()()}if(2&t){const e=k();z(),gt("aria-labelledby",pe("label-",e.item._elementId)),N("ngModel",e.radioValue)("nzDisabled",e.item._readOnly)("nzName","radiogroup_"+e.item._elementId)("ngClass",Fr(8,F7e,e.commonUtils.getDisplayControlIsVertical(e.item.displayControl))),z(),N("ngForOf",e.acOptions.listItems),z(),N("ngIf","optionsOrString"===e.item.answerConstraint)}}let W7e=(()=>{class t{commonUtils;lhcDataService;item;acOptions;language=Mn;radioValue=null;otherValue=null;radioModels=[];otherRadioModel=null;constructor(e,i){this.commonUtils=e,this.lhcDataService=i}setInitialValue(){if(this.item&&this.item.value&&this.item.answers&&Array.isArray(this.item.answers))if(this.radioValue=this.item.value,this.item.value._notOnList)this.otherValue=this.item.value.text,this.otherRadioModel=!0;else{const e=this.item.answers.length;this.radioModels=new Array(e);for(let i=0;i<e;i++)if(this.commonUtils.areTwoAnswersSame(this.item.value,this.item.answers[i],this.item)){this.radioModels[i]=!0;break}}}ngOnChanges(e){this.setInitialValue()}onRadioModelChange(e){this.radioValue=e;const i=this.item.value;this.item.value=e,this.lhcDataService.onItemValueChange(this.item,this.item.value,i)}onOtherValueChange(e){this.otherValue=e;const i=this.item.value;this.item.value={text:e,_notOnList:!0},this.lhcDataService.onItemValueChange(this.item,this.item.value,i)}static \u0275fac=function(i){return new(i||t)(xe(Ud),xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-item-choice-radio-button"]],inputs:{item:"item",acOptions:"acOptions"},standalone:!1,features:[vn],decls:1,vars:1,consts:[[4,"ngIf"],["role","radiogroup","nz-row","",1,"lhc-radio-group",3,"ngModelChange","ngModel","nzDisabled","nzName","ngClass"],["class","lhc-answer","nz-radio","",3,"nzDisabled","disabled","nzValue","ngModel","id","style","click","ngModelChange",4,"ngFor","ngForOf"],["nz-radio","","class","lhc-answer",3,"nzDisabled","disabled","nzValue","ngModel","id","click","ngModelChange",4,"ngIf"],["nz-radio","",1,"lhc-answer",3,"click","ngModelChange","nzDisabled","disabled","nzValue","ngModel","id"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"outerHTML",4,"ngSwitchCase"],[3,"outerHTML"],["type","text","class","lhc-answer-other-input","nz-input","",3,"ngModel","id","disabled","ngModelChange","focus",4,"ngIf"],["type","text","nz-input","",1,"lhc-answer-other-input",3,"ngModelChange","focus","ngModel","id","disabled"]],template:function(i,r){1&i&&ve(0,$7e,4,10,"div",0),2&i&&N("ngIf",r.item)},dependencies:[s7,$s,nr,ws,vl,bl,ja,za,YO,qO,LP,I4],styles:[".lhc-radio-group[_ngcontent-%COMP%]{display:flex}.lhc-answer[_ngcontent-%COMP%]{margin:0}.lhc-answer-other-input[_ngcontent-%COMP%]{height:22px}.ant-radio-group[_ngcontent-%COMP%], .ant-radio-wrapper[_ngcontent-%COMP%]{color:#000000d9}.lhc-vertical[_ngcontent-%COMP%]{flex-direction:column}\n\n/*# sourceMappingURL=lhc-item-choice-radio-button.component.css.map*/"]})}return t})();const G7e=["ac"];function K7e(t,n){if(1&t){const e=tt();J(0,"div")(1,"input",2,0),Ne("blur",function(){return ce(e),ue(k().onInputBlur())})("focus",function(){return ce(e),ue(k().onInputFocus())}),te()()}if(2&t){const e=k();Oe(e.options.readOnly?"lhc-item-readyonly":null),z(),N("placeholder",Mt(e.options.placeholder))("id",Mt(e.options.elementId))("disabled",e.options.readOnly)}}let uR=(()=>{class t{lhcDataService;options;item;dataModel;isFormReady;dataModelChange=new dt;onFocusFn=new dt;onBlurFn=new dt;ac;selectedItems=[];multipleSelections=!1;allowNotOnList=!1;acType=null;acInstance=null;prefetchTextToItem;displayProp="";viewInitialized=!1;constructor(e){this.lhcDataService=e}ngOnChanges(e){if(this.viewInitialized){let i;if(e.options&&e.dataModel)this.cleanupAutocomplete(!0),this.setupAutocomplete(),i=e.dataModel&&!on.deepEqual(this.dataModel,e.dataModel.previousValue);else if(e.options){const{keep:r,dataModelChanged:o}=this.keepDataModel(e);this.cleanupAutocomplete(r),this.setupAutocomplete(),i=o||!r}else e.dataModel&&(this.updateDisplayedValue(this.dataModel),i=!0);i&&(this.dataModelChange.emit(this.dataModel),this.lhcDataService.onItemValueChange(this.item,null,null,!0))}}keepDataModel(e){let i,r;if(void 0!==e.isFormReady?.previousValue?e.isFormReady.previousValue:this.isFormReady){const a=e?.options?.previousValue?.acOptions||{},s=e?.options?.currentValue?.acOptions||{};let l,c;void 0!==a.listItems||void 0!==s.listItems?(l=a.listItems,c=s.listItems):void 0!==a.url||void 0!==s.url?(l=a.url,c=s.url):(void 0!==a.fhir||void 0!==s.fhir)&&(l=a.fhir,c=s.fhir),i=on.deepEqual(l,c),a.maxSelect!==s.maxSelect&&(("*"===a.maxSelect||parseInt(a.maxSelect)>1)&&1===parseInt(s.maxSelect)?(this.dataModel=this.dataModel[0],r=!0):1===parseInt(a.maxSelect)&&("*"===s.maxSelect||parseInt(s.maxSelect)>1)&&(this.dataModel=[this.dataModel],r=!0),i=!0)}else i=!0;return{keep:i,dataModelChanged:r}}updateDisplayedValue(e){if(this.multipleSelections){if(this.acInstance.clearStoredSelection(),Array.isArray(e))for(const i of e){const r=this.updateAutocompSelectionModel(i);this.acInstance.addToSelectedArea(r)}}else if(e){const i=this.updateAutocompSelectionModel(e);if("string"==typeof i){const r="prefetch"===this.acType?i.trim():i;this.acInstance.setFieldVal(r,!1)}else this.acInstance.setFieldVal("",!1)}else this.acInstance.setFieldVal("",!1)}getDisplayValue(e){let i=null;if("string"==typeof e)i=e;else if("prefetch"===this.acType)if(e._notOnList)e._notOnList&&(i=e.text);else if(this.options.acOptions.listItemsForModel){for(let r=0,o=this.options.acOptions.listItemsForModel.length;r<o;r++)if(on.deepEqual(e,this.options.acOptions.listItemsForModel[r])){i=this.options.acOptions.listItems[r][this.displayProp],this.options.acOptions.isListHTML&&(i=i.replace(/(<([^>]+)>)/gi,"").trim());break}}else i=e[this.displayProp]?e[this.displayProp]:e.text;else i=e[this.displayProp];return i}updateAutocompSelectionModel(e){const i=this.getDisplayValue(e);return this.acInstance.storeSelectedItem(i,e.code),i}ngAfterViewInit(){const e=on.deepCopy(this.dataModel);this.setupAutocomplete(),on.deepEqual(e,this.dataModel)||(this.dataModelChange.emit(this.dataModel),this.lhcDataService.onItemValueChange(this.item,null,null,!0)),this.viewInitialized=!0}ngOnDestroy(){this.cleanupAutocomplete()}onInputBlur(){this.onBlurFn.emit()}onInputFocus(){this.onFocusFn.emit()}cleanupAutocomplete(e=!1){this.acInstance&&(this.acInstance.setFieldVal("",!1),!e&&void 0!==this.dataModel&&(this.dataModel=null),this.acInstance.destroy())}setupAutocomplete(){if(this.selectedItems=[],this.multipleSelections=!1,this.acType=null,this.acInstance=!1,this.allowNotOnList=null,this.prefetchTextToItem={},this.displayProp="",this.options&&this.options.acOptions){const e=this.options.acOptions;if(e.maxSelect&&("*"===e.maxSelect||parseInt(e.maxSelect)>1)&&(this.multipleSelections=!0),this.allowNotOnList=!e.matchListValue,this.displayProp=e.display||"text",e.hasOwnProperty("url")||e.fhir&&e.fhir.search)this.acType="search",this.acInstance=new(x6().Autocompleter.Search)(this.ac.nativeElement,e.url,e);else{this.acType="prefetch";const o=[];e.listItems.forEach((a,s)=>{o.push(a[this.displayProp]);let l=a[this.displayProp].trim();e.isListHTML&&(l=l.replace(/(<([^>]+)>)/gi,"").trim()),this.prefetchTextToItem[l]=e.listItemsForModel?e.listItemsForModel[s]:a},this),this.acInstance=new(x6().Autocompleter.Prefetch)(this.ac.nativeElement,o,e)}this.setItemInitValue(this.dataModel||e.defaultValue),x6().Autocompleter.Event.observeListSelections(this.options.elementId,this.onSelectionHandler.bind(this))}}setItemInitValue(e){if(e)if(this.multipleSelections&&Array.isArray(e)){for(let i=0,r=e.length;i<r;++i){const o=e[i],a=this.getDisplayValue(o);this.acInstance.storeSelectedItem(a,o.code),this.acInstance.addToSelectedArea(a)}this.acInstance.setFieldVal("",!1),this.selectedItems=e}else{const i=this.getDisplayValue(e);if("string"==typeof i){this.acInstance.storeSelectedItem(i,e.code);const r="prefetch"===this.acType?i.trim():i;this.acInstance.setFieldVal(r,!1)}else this.acInstance.setFieldVal("",!1);this.dataModel=e}}onSelectionHandler(e){let i=!1;if("prefetch"===this.acType){const r=this.acInstance.getSelectedItems();i=this.setItemValueForPrefetchAC(r)}else"search"===this.acType&&(i=this.setItemValueForSearchAC(e));i&&(this.dataModelChange.emit(this.dataModel),this.lhcDataService.onItemValueChange(this.item,null,null,!0))}setItemValueForPrefetchAC(e){const i=Dh(this.dataModel);if(e)if(0===e.length)this.dataModel=null;else{const r=e.map(o=>this.prefetchTextToItem[o]||(this.allowNotOnList?this.options.modelForOffListItem?this.options.modelForOffListItem(o):{text:o,_notOnList:!0}:void 0));this.dataModel=this.multipleSelections?r:r.length>=0&&r[0]?r[0]:null}else this.dataModel=null;return!on.deepEqual(i,this.dataModel)}getSearchItemModelData(e,i){let r=null;if(""!==e){const o=this.acInstance.getItemData(e);i?r=o:!i&&this.allowNotOnList&&(r=o,r._notOnList=!0),r&&r.code_system&&!r.system&&(r.system=r.code_system,delete r.code_system)}return r}setItemValueForSearchAC(e){const i=e.final_val,r=e.on_list,o=Dh(this.dataModel);if("search"===this.acType)if(this.multipleSelections)if(e.removed)this.selectedItems=this.selectedItems.filter(a=>i!==a.text);else{const a=this.getSearchItemModelData(i,r);a&&(this.selectedItems=[...this.selectedItems,a])}else this.selectedItems=this.getSearchItemModelData(i,r);return this.dataModel=this.selectedItems,!on.deepEqual(o,this.dataModel)}static \u0275fac=function(i){return new(i||t)(xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-autocomplete"]],viewQuery:function(i,r){if(1&i&&Ai(G7e,5),2&i){let o;zn(o=An())&&(r.ac=o.first)}},inputs:{options:"options",item:"item",dataModel:"dataModel",isFormReady:"isFormReady"},outputs:{dataModelChange:"dataModelChange",onFocusFn:"onFocusFn",onBlurFn:"onBlurFn"},standalone:!1,features:[vn],decls:1,vars:1,consts:[["ac",""],[3,"class",4,"ngIf"],["type","text",3,"blur","focus","disabled","placeholder","id"]],template:function(i,r){1&i&&ve(0,K7e,3,7,"div",1),2&i&&N("ngIf",r.options)},dependencies:[nr],encapsulation:2})}return t})();function Q7e(t,n){if(1&t){const e=tt();J(0,"div")(1,"lhc-autocomplete",1),Ui("dataModelChange",function(r){ce(e);const o=k();return Ji(o.item.value,r)||(o.item.value=r),ue(r)}),Ne("onBlurFn",function(){ce(e);const r=k();return ue(r.lhcDataService.activeRowOnBlur(r.item))})("onFocusFn",function(){ce(e);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),te()()}if(2&t){const e=k();z(),N("options",e.options)("item",e.item),Vi("dataModel",e.item.value),N("isFormReady",e.lhcDataService.isFormReady())}}let X7e=(()=>{class t{lhcDataService;item;acOptions;readOnly;options={};constructor(e){this.lhcDataService=e}ngOnChanges(e){this.item&&(e.acOptions||e.readOnly)&&(this.options={elementId:this.item._elementId,acOptions:this.item._autocompOptions,placeholder:this.item._placeholder,readOnly:this.readOnly})}static \u0275fac=function(i){return new(i||t)(xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-item-choice-autocomplete"]],inputs:{item:"item",acOptions:"acOptions",readOnly:"readOnly"},standalone:!1,features:[vn],decls:1,vars:1,consts:[[4,"ngIf"],[3,"dataModelChange","onBlurFn","onFocusFn","options","item","dataModel","isFormReady"]],template:function(i,r){1&i&&ve(0,Q7e,2,4,"div",0),2&i&&N("ngIf",r.item)},dependencies:[nr,uR],encapsulation:2})}return t})();function Z7e(t,n){if(1&t&&He(0,"lhc-item-choice-radio-button",5),2&t){const e=k(3);N("item",e.item)("acOptions",e.item._autocompOptions)}}function J7e(t,n){if(1&t&&He(0,"lhc-item-choice-check-box",5),2&t){const e=k(3);N("item",e.item)("acOptions",e.item._autocompOptions)}}function eve(t,n){if(1&t&&(Ge(0),ve(1,Z7e,1,2,"lhc-item-choice-radio-button",4)(2,J7e,1,2,"lhc-item-choice-check-box",4),Ye()),2&t){const e=k(2);z(),N("ngIf",!e.item._multipleAnswers),z(),N("ngIf",e.item._multipleAnswers)}}function tve(t,n){if(1&t&&He(0,"lhc-item-choice-autocomplete",6),2&t){const e=k(2);N("item",e.item)("acOptions",e.item._autocompOptions)("readOnly",e.item._readOnly)}}function nve(t,n){if(1&t&&(Ge(0)(1,1),ve(2,eve,3,2,"ng-container",2)(3,tve,1,3,"lhc-item-choice-autocomplete",3),Ye()()),2&t){const e=k();z(),N("ngSwitch",e.item.displayControl&&e.item.displayControl.answerLayout&&e.item.displayControl.answerLayout.type),z(),N("ngSwitchCase","RADIO_CHECKBOX")}}let ive=(()=>{class t{item;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["lhc-item-choice"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"item","acOptions","readOnly",4,"ngSwitchDefault"],[3,"item","acOptions",4,"ngIf"],[3,"item","acOptions"],[3,"item","acOptions","readOnly"]],template:function(i,r){1&i&&ve(0,nve,4,2,"ng-container",0),2&i&&N("ngIf",r.item)},dependencies:[nr,ws,vl,Sh,R7e,W7e,X7e],encapsulation:2})}return t})();function rve(t,n){if(1&t){const e=tt();Ge(0),J(1,"input",1),Ne("ngModelChange",function(r){return ce(e),ue(k().onModelChange(r))})("blur",function(){ce(e);const r=k();return ue(r.lhcDataService.activeRowOnBlur(r.item))})("focus",function(){ce(e);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),te(),Ye()}if(2&t){const e=k();z(),gt("aria-labelledby",pe("label-",e.item._elementId)),N("id",Mt(e.item._elementId))("placeholder",Mt(e.item._placeholder))("disabled",e.item._readOnly)("ngModel",e.item.value),gt("aria-required",e.item._answerRequired)}}let zy=(()=>{class t{lhcDataService;item;constructor(e){this.lhcDataService=e}onModelChange(e){const i=this.item.value;this.item.value=e,this.lhcDataService.onItemValueChange(this.item,this.item.value,i)}static \u0275fac=function(i){return new(i||t)(xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-input"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],["type","text",3,"ngModelChange","blur","focus","id","disabled","ngModel","placeholder"]],template:function(i,r){1&i&&ve(0,rve,2,9,"ng-container",0),2&i&&N("ngIf",r.item)},dependencies:[nr,bl,ja,za],encapsulation:2})}return t})();function ove(t,n){if(1&t){const e=tt();J(0,"div",3)(1,"input",4),Ne("blur",function(){ce(e);const r=k(2);return ue(r.lhcDataService.activeRowOnBlur(r.item))})("focus",function(){ce(e);const r=k(2);return ue(r.lhcDataService.setActiveRow(r.item))}),te()()}if(2&t){const e=k(2);z(),N("id",Mt(e.unitElementId))("value",Mt(e.item.itemControlUnit||e.item.unit.name||e.item.unit.code))("disabled",e.item._readOnly)}}function ave(t,n){if(1&t&&(Ge(0),He(1,"lhc-input",1),ve(2,ove,2,5,"div",2),Ye()),2&t){const e=k();z(),N("item",e.item),z(),N("ngIf",e.hasSingleUnit)}}let sve=(()=>{class t{lhcDataService;item;isSimpleType=!1;hasSingleUnit=!1;unitElementId="";constructor(e){this.lhcDataService=e}ngOnChanges(){this.item&&(this.isSimpleType="INT"===this.item.dataType||"REAL"===this.item.dataType||"ST"===this.item.dataType||!this.item.dataType,this.hasSingleUnit=this.item.unit&&this.item._unitReadonly,this.unitElementId="unit_"+this.item._elementId)}static \u0275fac=function(i){return new(i||t)(xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-item-simple-type"]],inputs:{item:"item"},standalone:!1,features:[vn],decls:1,vars:1,consts:[[4,"ngIf"],[3,"item"],["class","lhc-de-unit",4,"ngIf"],[1,"lhc-de-unit"],["type","text","aria-labelledby","th_Units","readonly","",3,"blur","focus","disabled","id","value"]],template:function(i,r){1&i&&ve(0,ave,3,2,"ng-container",0),2&i&&N("ngIf",r.item&&r.isSimpleType)},dependencies:[nr,zy],encapsulation:2})}return t})();function lve(t,n){if(1&t){const e=tt();Ge(0),J(1,"lhc-autocomplete",1),Ui("dataModelChange",function(r){ce(e);const o=k();return Ji(o.item.unit,r)||(o.item.unit=r),ue(r)}),Ne("onBlurFn",function(){ce(e);const r=k();return ue(r.lhcDataService.activeRowOnBlur(r.item))})("onFocusFn",function(){ce(e);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),te(),Ye()}if(2&t){const e=k();z(),N("options",e.options)("item",e.item),Vi("dataModel",e.item.unit),N("isFormReady",e.lhcDataService.isFormReady())}}function cve(t,n){if(1&t){const e=tt();Ge(0),J(1,"input",2),Ne("blur",function(){ce(e);const r=k();return ue(r.lhcDataService.activeRowOnBlur(r.item))})("focus",function(){ce(e);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))})("change",function(r){return ce(e),ue(k().updateModel(r))}),te(),Ye()}if(2&t){const e=k();z(),N("placeholder",Mt(e.options.toolTip))("id",Mt(e.options.elementId))("value",Mt((null==e.item||null==e.item.unit?null:e.item.unit.name)||(null==e.item||null==e.item.unit?null:e.item.unit.code)))("readOnly",e.options.readOnly)}}let uve=(()=>{class t{lhcDataService;item;options={};hasUnitAutocomplete=!1;hasUnitInputField=!1;constructor(e){this.lhcDataService=e}ngOnChanges(e){const i=this.item;i&&(this.hasUnitAutocomplete=!!i._unitAutocompOptions,this.options.readOnly=this.lhcDataService.getTemplateOptions().readonlyMode||i._readOnly||!i.units&&i._unitOpen&&"optionsOrString"!=i._unitOpen,this.options.elementId="unit_"+i._elementId,this.options.acOptions=i._unitAutocompOptions,this.options.placeholder=i._placeholder,this.options.modelForOffListItem=Li.modelForOffListUnit)}updateModel(e){this.item.unit={name:e.target.value}}static \u0275fac=function(i){return new(i||t)(xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-unit"]],inputs:{item:"item"},standalone:!1,features:[vn],decls:2,vars:2,consts:[[4,"ngIf"],[3,"dataModelChange","onBlurFn","onFocusFn","options","item","dataModel","isFormReady"],["type","text",3,"blur","focus","change","readOnly","placeholder","id","value"]],template:function(i,r){1&i&&ve(0,lve,2,4,"ng-container",0)(1,cve,2,7,"ng-container",0),2&i&&(N("ngIf",r.hasUnitAutocomplete),z(),N("ngIf",!r.hasUnitAutocomplete))},dependencies:[nr,uR],encapsulation:2})}return t})();function dve(t,n){if(1&t&&(Ge(0),He(1,"lhc-input",1)(2,"lhc-unit",1),Ye()),2&t){const e=k();z(),N("item",e.item),z(),N("item",e.item)}}let hve=(()=>{class t{item;isQuantity=!1;ngOnInit(){this.isQuantity=this.item&&"QTY"===this.item.dataType}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["lhc-item-quantity"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[3,"item"]],template:function(i,r){1&i&&ve(0,dve,3,2,"ng-container",0),2&i&&N("ngIf",r.item&&r.isQuantity)},dependencies:[nr,uve,zy],encapsulation:2})}return t})();function fve(t,n){if(1&t&&(J(0,"div")(1,"div",5),He(2,"i",6),J(3,"span",7),Pe(4),te(),J(5,"span",8),Pe(6),te()()()),2&t){const e=n.$implicit,i=k(3);z(4),ln(i.item.question),z(2),ln(e)}}function mve(t,n){if(1&t&&(J(0,"div",3),ve(1,fve,7,2,"div",4),te()),2&t){const e=k(2);z(),N("ngForOf",e.item._validationErrors)}}function pve(t,n){if(1&t&&(Ge(0),ve(1,mve,2,1,"div",1),J(2,"div",2),Pe(3),te(),Ye()),2&t){const e=k();z(),N("ngIf",e.item._hasValidation),z(2),ln(e.value)}}let gve=(()=>{class t{lhcDataService;item;value;constructor(e){this.lhcDataService=e}ngOnChanges(e){if(e.value&&!e.value.firstChange){const i=this.lhcDataService.getLhcFormData();setTimeout(()=>{i._checkValidations(this.item),this.item._validationErrors&&this.item._validationErrors.forEach(r=>{this.lhcDataService.sendMsgToScreenReader(`${this.item.question} ${r}`)})},1)}}static \u0275fac=function(i){return new(i||t)(xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-validate"]],inputs:{item:"item",value:"value"},standalone:!1,features:[vn],decls:1,vars:1,consts:[[4,"ngIf"],["class","lhc-validation-popover",4,"ngIf"],[1,"lhc-watched-value"],[1,"lhc-validation-popover"],[4,"ngFor","ngForOf"],[1,"validation-error"],["nz-icon","","nzType","close",1,"lhc-error-icon"],[1,"lhc-error-item"],[1,"lhc-error-msg"]],template:function(i,r){1&i&&ve(0,pve,4,2,"ng-container",0),2&i&&N("ngIf",r.item)},dependencies:[$s,nr,La],styles:[".lhc-error-icon[_ngcontent-%COMP%]{color:red;font-weight:700}.lhc-error-msg[_ngcontent-%COMP%]{color:red}.lhc-error-msg[_ngcontent-%COMP%], .lhc-error-item[_ngcontent-%COMP%]{margin-left:.5em}.lhc-watched-value[_ngcontent-%COMP%]{display:none}\n\n/*# sourceMappingURL=lhc-validate.component.css.map*/"]})}return t})();function vve(t,n){if(1&t){const e=tt();Ge(0),J(1,"nz-radio-group",1),Ne("ngModelChange",function(r){return ce(e),ue(k().onModelChange(r))})("click",function(){ce(e);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),J(2,"label",2),Ui("ngModelChange",function(r){ce(e);const o=k();return Ji(o.booleanModels[0],r)||(o.booleanModels[0]=r),ue(r)}),Pe(3),te(),J(4,"label",2),Ui("ngModelChange",function(r){ce(e);const o=k();return Ji(o.booleanModels[1],r)||(o.booleanModels[1]=r),ue(r)}),Pe(5),te(),J(6,"label",2),Ui("ngModelChange",function(r){ce(e);const o=k();return Ji(o.booleanModels[2],r)||(o.booleanModels[2]=r),ue(r)}),Pe(7),te()(),Ye()}if(2&t){const e=k();z(),gt("aria-labelledby",pe("label-",e.item._elementId)),N("ngModel",e.value)("nzName","radiogroup_"+e.item._elementId),z(),N("nzDisabled",e.item._readOnly)("disabled",e.item._readOnly)("nzValue",!0),Vi("ngModel",e.booleanModels[0]),N("id",e.lhcDataService.getItemAnswerId(e.item,"true")),z(),ln(e.language.booleanYes),z(),N("nzDisabled",e.item._readOnly)("disabled",e.item._readOnly)("nzValue",!1),Vi("ngModel",e.booleanModels[1]),N("id",e.lhcDataService.getItemAnswerId(e.item,"false")),z(),ln(e.language.booleanNo),z(),N("nzDisabled",e.item._readOnly)("disabled",e.item._readOnly)("nzValue",null),Vi("ngModel",e.booleanModels[2]),N("id",e.lhcDataService.getItemAnswerId(e.item,"null")),z(),ln(e.language.booleanNotAnswered)}}let _ve=(()=>{class t{lhcDataService;item;value;booleanModels=new Array(3);language=Mn;constructor(e){this.lhcDataService=e}ngOnChanges(e){this.setBooleanModels()}onModelChange(e){const i=this.item.value;this.item.value=e,this.lhcDataService.onItemValueChange(this.item,this.item.value,i)}setBooleanModels(){if(this.item){const e=this.item.value;!0===e?this.booleanModels=[!0,!1,!1]:!1===e?this.booleanModels=[!1,!0,!1]:null==e&&(this.booleanModels=[!1,!1,!0])}}static \u0275fac=function(i){return new(i||t)(xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-item-boolean"]],inputs:{item:"item",value:"value"},standalone:!1,features:[vn],decls:1,vars:1,consts:[[4,"ngIf"],["role","radiogroup",3,"ngModelChange","click","ngModel","nzName"],["nz-radio","",3,"ngModelChange","nzDisabled","disabled","nzValue","ngModel","id"]],template:function(i,r){1&i&&ve(0,vve,8,22,"ng-container",0),2&i&&N("ngIf",r.item)},dependencies:[nr,ja,za,YO,qO],styles:["[_nghost-%COMP%]{display:block;padding:4.3125px 2px}\n\n/*# sourceMappingURL=lhc-item-boolean.component.css.map*/"]})}return t})();const yve=["nzDatePickerComponent"];function bve(t,n){if(1&t){const e=tt();Ge(0),J(1,"nz-date-picker",2,0),Ne("ngModelChange",function(r){return ce(e),ue(k().onModelChange(r))}),Ui("ngModelChange",function(r){ce(e);const o=k();return Ji(o.item.value,r)||(o.item.value=r),ue(r)}),Ne("focus",function(){ce(e);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),te(),Ye()}if(2&t){const e=k();z(),N("id",Mt(e.item._elementId))("nzPlaceHolder",Mt(e.item._placeholder))("nzDisabled",e.item._readOnly)("nzFormat",e.language.dateFormat),Vi("ngModel",e.item.value),gt("aria-required",e.item._answerRequired)}}let Cve=(()=>{class t{lhcDataService;commonUtilsService;item;nzDatePickerComponent;constructor(e,i){this.lhcDataService=e,this.commonUtilsService=i}ngAfterViewInit(){this.nzDatePickerComponent.pickerInput.nativeElement.setAttribute("aria-label",this.commonUtilsService.getAriaLabel(this.item))}onModelChange(e){const i=this.item.value;this.item.value=e,this.lhcDataService.onItemValueChange(this.item,this.item.value,i)}language=Mn;static \u0275fac=function(i){return new(i||t)(xe(Ar),xe(Ud))};static \u0275cmp=bt({type:t,selectors:[["lhc-item-date"]],viewQuery:function(i,r){if(1&i&&Ai(yve,5),2&i){let o;zn(o=An())&&(r.nzDatePickerComponent=o.first)}},inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[["nzDatePickerComponent",""],[4,"ngIf"],["nzSize","small",1,"lhc-date-picker",3,"ngModelChange","focus","nzDisabled","id","nzFormat","nzPlaceHolder","ngModel"]],template:function(i,r){1&i&&ve(0,bve,3,8,"ng-container",1),2&i&&N("ngIf",r.item)},dependencies:[nr,ja,za,V_],encapsulation:2})}return t})();function wve(t,n){if(1&t){const e=tt();Ge(0),J(1,"nz-time-picker",1),Ne("ngModelChange",function(r){return ce(e),ue(k().onModelChange(r))})("focus",function(){ce(e);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),te(),Ye()}if(2&t){const e=k();z(),N("id",Mt(e.item._elementId))("nzPlaceHolder",Mt(e.item._placeholder))("nzDisabled",e.item._readOnly)("nzFormat",e.language.timeFormat)("ngModel",e.time),gt("aria-required",e.item._answerRequired)}}let Sve=(()=>{class t{lhcDataService;elRef;commonUtilsService;item;time=null;constructor(e,i,r){this.lhcDataService=e,this.elRef=i,this.commonUtilsService=r}ngOnChanges(){if(this.item.value){const e=new Date("1970-01-01 "+this.item.value);isNaN(e)||(this.time=e)}}onModelChange(e){const i=this.item.value;if(e){const r=e.toTimeString();r&&(this.item.value=r.slice(0,8),this.lhcDataService.onItemValueChange(this.item,this.item.value,i))}}ngAfterViewInit(){const e=this.elRef.nativeElement.querySelector("input");e&&e.setAttribute("aria-label",this.commonUtilsService.getAriaLabel(this.item))}language=Mn;static \u0275fac=function(i){return new(i||t)(xe(Ar),xe(un),xe(Ud))};static \u0275cmp=bt({type:t,selectors:[["lhc-item-time"]],inputs:{item:"item"},standalone:!1,features:[vn],decls:1,vars:1,consts:[[4,"ngIf"],["nzSize","small",1,"lhc-time-picker",3,"ngModelChange","focus","nzDisabled","id","nzFormat","nzPlaceHolder","ngModel"]],template:function(i,r){1&i&&ve(0,wve,2,8,"ng-container",0),2&i&&N("ngIf",r.item)},dependencies:[nr,ja,za,wP],encapsulation:2})}return t})();const Mve=["nzDatePickerComponent"];function Tve(t,n){if(1&t){const e=tt();Ge(0),J(1,"nz-date-picker",2,0),Ne("ngModelChange",function(r){return ce(e),ue(k().onModelChange(r))}),Ui("ngModelChange",function(r){ce(e);const o=k();return Ji(o.item.value,r)||(o.item.value=r),ue(r)}),Ne("nzOnOk",function(r){return ce(e),ue(k().onOk(r))})("focus",function(){ce(e);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),te(),Ye()}if(2&t){const e=k();z(),N("id",Mt(e.item._elementId))("nzPlaceHolder",Mt(e.item._placeholder))("nzDisabled",e.item._readOnly)("nzFormat",e.language.dateTimeFormat),Vi("ngModel",e.item.value),gt("aria-required",e.item._answerRequired)}}let Dve=(()=>{class t{lhcDataService;commonUtilsService;item;nzDatePickerComponent;constructor(e,i){this.lhcDataService=e,this.commonUtilsService=i}ngAfterViewInit(){this.nzDatePickerComponent.pickerInput.nativeElement.setAttribute("aria-label",this.commonUtilsService.getAriaLabel(this.item))}onOk(e){}onCalendarChange(e){}onModelChange(e){const i=this.item.value;this.item.value=e,this.lhcDataService.onItemValueChange(this.item,this.item.value,i,!0)}language=Mn;static \u0275fac=function(i){return new(i||t)(xe(Ar),xe(Ud))};static \u0275cmp=bt({type:t,selectors:[["lhc-item-datetime"]],viewQuery:function(i,r){if(1&i&&Ai(Mve,5),2&i){let o;zn(o=An())&&(r.nzDatePickerComponent=o.first)}},inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[["nzDatePickerComponent",""],[4,"ngIf"],["nzShowTime","","nzSize","small",1,"lhc-datetime-picker",3,"ngModelChange","nzOnOk","focus","nzDisabled","id","nzFormat","nzPlaceHolder","ngModel"]],template:function(i,r){1&i&&ve(0,Tve,3,8,"ng-container",1),2&i&&N("ngIf",r.item)},dependencies:[nr,ja,za,V_],encapsulation:2})}return t})();function xve(t,n){if(1&t){const e=tt();Ge(0),J(1,"textarea",1),Ne("ngModelChange",function(r){return ce(e),ue(k().onModelChange(r))})("blur",function(){ce(e);const r=k();return ue(r.lhcDataService.activeRowOnBlur(r.item))})("focus",function(){ce(e);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),Pe(2,"  "),te(),Ye()}if(2&t){const e=k();z(),gt("aria-labelledby",pe("label-",e.item._elementId)),N("id",Mt(e.item._elementId))("placeholder",Mt(e.item._placeholder))("disabled",e.item._readOnly)("ngModel",e.item.value),gt("aria-required",e.item._answerRequired)}}let kve=(()=>{class t{lhcDataService;item;constructor(e){this.lhcDataService=e}onModelChange(e){const i=this.item.value;this.item.value=e,this.lhcDataService.onItemValueChange(this.item,this.item.value,i)}static \u0275fac=function(i){return new(i||t)(xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-item-text"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngModelChange","blur","focus","id","disabled","ngModel","placeholder"]],template:function(i,r){1&i&&ve(0,xve,3,9,"ng-container",0),2&i&&N("ngIf",r.item)},dependencies:[nr,bl,ja,za],encapsulation:2})}return t})();const Eve=["fileInput"];function Ive(t,n){if(1&t){const e=tt();J(0,"div")(1,"label"),Pe(2,"URL for file:"),te(),J(3,"input",5),Ui("ngModelChange",function(r){ce(e);const o=k(3);return Ji(o.item._attachmentURL,r)||(o.item._attachmentURL=r),ue(r)}),Ne("focus",function(){ce(e);const r=k(3);return ue(r.lhcDataService.setActiveRow(r.item))})("blur",function(){ce(e);const r=k(3);return ue(r.lhcDataService.activeRowOnBlur(r.item))}),te(),J(4,"input",6),Ne("focus",function(){ce(e);const r=k(3);return ue(r.lhcDataService.setActiveRow(r.item))})("blur",function(){ce(e);const r=k(3);return ue(r.lhcDataService.activeRowOnBlur(r.item))}),Ui("ngModelChange",function(r){ce(e);const o=k(3);return Ji(o.item._attachmentName,r)||(o.item._attachmentName=r),ue(r)}),te(),J(5,"button",7),Ne("click",function(){ce(e);const r=k(3);return ue(r.createAttachment(r.item))}),Pe(6),te(),He(7,"br"),Pe(8," Note: The URL you enter will not be downloaded or verified, but simply copied into your response. Please ensure that it works. "),te()}if(2&t){const e=k(3);z(3),N("disabled",e.item._readOnly),Vi("ngModel",e.item._attachmentURL),z(),N("disabled",e.item._readOnly),Vi("ngModel",e.item._attachmentName),z(),N("disabled",e.item._readOnly),z(),zt(" Attach URL",e.item._fileInfo?" and file data":"")}}function zve(t,n){if(1&t){const e=tt();J(0,"div")(1,"input",3,0),Ne("change",function(r){return ce(e),ue(k(2).onChange(r))})("focus",function(){ce(e);const r=k(2);return ue(r.lhcDataService.setActiveRow(r.item))})("blur",function(){ce(e);const r=k(2);return ue(r.lhcDataService.activeRowOnBlur(r.item))}),te(),J(3,"button",4),Ne("click",function(){ce(e);const r=k(2);return ue(r.item._useURL=!r.item._useURL)}),Pe(4,"\u21af"),te(),ve(5,Ive,9,6,"div",1),te()}if(2&t){const e=k(2);z(),N("placeholder",Mt(e.item._placeholder))("id",Mt("file-"+e.item._elementId))("name",e.item._text)("disabled",e.item._readOnly),z(2),N("title",Mt(e.item._useURL?"Hide URL field":"Show URL field")),z(2),N("ngIf",e.item._useURL)}}function Ave(t,n){if(1&t){const e=tt();J(0,"a",10),Ne("click",function(r){ce(e);const o=k(3);return ue(o.downloadAttachment(o.item.value,r))}),Pe(1),te()}if(2&t){const e=k(3);N("title",Mt("Download "+e.item.value.title))("download",Mt(e.item.title))("href",Mt(e.item.value.url&&!e.item.value.data?e.item.value.url:"javascript:void(0)"),I2),z(),ln(e.item.value.title||e.item.value.url||"Unknown filename")}}function Lve(t,n){if(1&t&&(J(0,"span")(1,"label"),Pe(2,"Download progress: "),He(3,"progress",11),te()()),2&t){const e=k(3);z(3),N("value",Mt(e.item.value._progress))}}function Ove(t,n){if(1&t){const e=tt();J(0,"button",12),Ne("click",function(){ce(e);const r=k(3);return ue(r.removeAttachment(r.item))}),Pe(1,"\u2716"),te()}2&t&&N("title",Mt("Remove "+k(3).item.value.title))}function Pve(t,n){if(1&t&&(J(0,"span"),ve(1,Ave,2,7,"a",8)(2,Lve,4,2,"span",1)(3,Ove,2,2,"button",9),te()),2&t){const e=k(2);z(),N("ngIf",!e.item.value._progress),z(),N("ngIf",e.item.value._progress),z(),N("ngIf",!e.item._readOnly)}}function Nve(t,n){if(1&t&&(Ge(0),J(1,"div",2),ve(2,zve,6,9,"div",1)(3,Pve,4,3,"span",1),te(),Ye()),2&t){const e=k();z(),N("id",Mt(e.item._elementId)),z(),N("ngIf",!e.item.value),z(),N("ngIf",e.item.value)}}let Rve=(()=>{class t{lhcDataService;item;labelledBy;fileInput;fileName;constructor(e){this.lhcDataService=e}onChange(e){const{files:i}=e.target;if(i){let r=i[0];const o=this.item;if(r.type)if(o.allowedAttachmentTypes&&o.allowedAttachmentTypes.indexOf(r.type)<0){const a=o.allowedAttachmentTypes;alert("The file "+r.name+" is not one of the mime types permitted by this questionnaire ("+a.slice(0,-1).join(", ")+" and "+a.slice(-1)+").  Please make sure your file has an appropriate file extension for its type in its filename."),r=null}else r.size>o.maxAttachmentSize?(alert("The file "+r.name+" exceeds the maximum attachment size of "+o.maxAttachmentSize+" bytes permitted by this questionnaire.  If you can specify the file with a URL, use the button to open the URL field and enter that instead."),r=null):r.size>5e8&&(confirm("Adding a large file as an attachment might cause your computer to run low on memory.  There is a button to enter a URL instead of attaching the file data.  Are you sure you want to attach the file data?")||(r=null));else alert("Unknown file type.  Please ensure the file has an appropriate extension"),r=null;r||(this.fileInput.nativeElement.value=""),o._fileInfo=r,r&&!o._useURL&&this.createAttachment(o)}}removeAttachment(e){delete e.value,delete e._attachmentName,delete e._attachmentURL,delete e._fileInfo,delete e._useURL,this.lhcDataService.onItemValueChange(this.item,null,null,!0)}createAttachment(e){if(e._fileInfo||e._attachmentURL){e.value={title:e._attachmentName||e._fileInfo?.name};const i=e.value;if(e._attachmentURL&&(i.url=e._attachmentURL),e._fileInfo){const r=e._fileInfo;i.contentType=r.type,r.lastModified?i.creation=new Date(r.lastModified).toISOString():r.lastModifiedDate&&(i.creation=r.lastModifiedDate.toISOString()),e.value._progress=.001;const o=new FileReader;o.onload=a=>{const s=a.target.result,l=s.indexOf(",");if(0!==s.indexOf("data:")||l<0)throw alert("Unable to attach the file data."),new Error("data URL did not start with expected prefix, but with "+s.slice(0,30));delete i._progress,i.data=s.slice(l+1),this.lhcDataService.onItemValueChange(this.item,null,null,!0)},o.onprogress=a=>{e._progress=a.loaded/a.total},o.readAsDataURL(r)}else this.lhcDataService.onItemValueChange(this.item,null,null,!0)}else alert("An attachment must have either a file or a URL (or both).")}downloadAttachment(e,i){if(e.data){const r=i.target,o=r.href;r.href="data:"+(e.contentType?e.contentType:"")+";base64,"+e.data,r.download=e.title,setTimeout(()=>{r.href=o},0)}}static \u0275fac=function(i){return new(i||t)(xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-item-attachment"]],viewQuery:function(i,r){if(1&i&&Ai(Eve,5),2&i){let o;zn(o=An())&&(r.fileInput=o.first)}},inputs:{item:"item",labelledBy:"labelledBy"},standalone:!1,decls:1,vars:1,consts:[["fileInput",""],[4,"ngIf"],[3,"id"],["type","file",1,"lhc-attachment-upload",3,"change","focus","blur","name","placeholder","disabled","id"],["type","button",1,"lhc-attachment-button","toggle-attachment-fields",3,"click","title"],["type","text","placeholder","URL for retrieving file",1,"lhc-attachment-url",3,"ngModelChange","focus","blur","disabled","ngModel"],["type","text","placeholder","File name (optional)",1,"lhc-attachment-name",3,"focus","blur","ngModelChange","disabled","ngModel"],["type","button",1,"lf-float-button","attach-button",3,"click","disabled"],["button","","target","_blank","rel","noreferrer","class","download-link",3,"title","download","href","click",4,"ngIf"],["class","lhc-attachment-button lf-remove-attachment","type","button",3,"title","click",4,"ngIf"],["button","","target","_blank","rel","noreferrer",1,"download-link",3,"click","title","download","href"],[3,"value"],["type","button",1,"lhc-attachment-button","lf-remove-attachment",3,"click","title"]],template:function(i,r){1&i&&ve(0,Nve,4,4,"ng-container",1),2&i&&N("ngIf",r.item)},dependencies:[nr,bl,ja,za],styles:["input[type=file][_ngcontent-%COMP%]{border:1px solid gray;display:inline}.lhc-attachment-button[_ngcontent-%COMP%], .attach-button[_ngcontent-%COMP%]{padding-left:.25em;padding-right:.25em;border-radius:4px;margin-left:.5em;min-width:22px;color:#fff;border:none;background-color:#066aa0;vertical-align:top}.lhc-attachment-url[_ngcontent-%COMP%], .lhc-attachment-name[_ngcontent-%COMP%]{width:inherit!important}progress[_ngcontent-%COMP%]{vertical-align:text-bottom}.download-link[_ngcontent-%COMP%]{margin-left:5px}.lhc-button[_ngcontent-%COMP%]{border:0 none;cursor:pointer;overflow:visible;padding:0;position:relative;background-color:#066aa0}.lf-rm-attachment-button[_ngcontent-%COMP%]:hover{color:#0087fd}\n\n/*# sourceMappingURL=lhc-item-attachment.component.css.map*/"]})}return t})();function Fve(t,n){if(1&t&&(J(0,"div",5),Pe(1),te()),2&t){const e=n.$implicit;z(),zt("Error: ",e.value)}}function Hve(t,n){if(1&t&&(Ge(0),ve(1,Fve,2,1,"div",4),uo(2,"keyvalue"),Ye()),2&t){const e=k().$implicit;z(),N("ngForOf",jo(2,1,e.value.errors))}}function Vve(t,n){if(1&t&&(J(0,"div",7),Pe(1),te()),2&t){const e=n.$implicit;z(),zt("Warning: ",e.value)}}function Uve(t,n){if(1&t&&(Ge(0),ve(1,Vve,2,1,"div",6),uo(2,"keyvalue"),Ye()),2&t){const e=k().$implicit;z(),N("ngForOf",jo(2,1,e.value.warnings))}}function Bve(t,n){if(1&t&&(J(0,"div",9),Pe(1),te()),2&t){const e=n.$implicit;z(),ln(e.value)}}function qve(t,n){if(1&t&&(Ge(0),ve(1,Bve,2,1,"div",8),uo(2,"keyvalue"),Ye()),2&t){const e=k().$implicit;z(),N("ngForOf",jo(2,1,e.value.info))}}function Yve(t,n){if(1&t&&(Ge(0),ve(1,Hve,3,3,"ng-container",3)(2,Uve,3,3,"ng-container",3)(3,qve,3,3,"ng-container",3),Ye()),2&t){const e=k(2);z(),N("ngIf",e.showErrors()),z(),N("ngIf",e.showWarnings()),z(),N("ngIf",e.showInfo())}}function jve(t,n){if(1&t&&(J(0,"div",1),ve(1,Yve,4,3,"ng-container",2),uo(2,"keyvalue"),te()),2&t){const e=k();z(),N("ngForOf",jo(2,1,e.item.messages))}}let Ay=(()=>{class t{lhcDataService;item;constructor(e){this.lhcDataService=e}ngOnInit(){}showErrors(){return this.lhcDataService.getLhcFormData()._showErrors}showWarnings(){return this.lhcDataService.getLhcFormData()._showWarnings}showInfo(){return this.lhcDataService.getLhcFormData()._showInfo}static \u0275fac=function(i){return new(i||t)(xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-item-messages"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[["role","alert",4,"ngIf"],["role","alert"],[4,"ngFor","ngForOf"],[4,"ngIf"],["class","lhc-item-error","ng-container","",4,"ngFor","ngForOf"],["ng-container","",1,"lhc-item-error"],["class","lhc-item-warning","ng-container","",4,"ngFor","ngForOf"],["ng-container","",1,"lhc-item-warning"],["class","lhc-item-info","ng-container","",4,"ngFor","ngForOf"],["ng-container","",1,"lhc-item-info"]],template:function(i,r){1&i&&ve(0,jve,3,3,"div",0),2&i&&N("ngIf",r.item.messages)},dependencies:[$s,nr,lE],styles:['.lhc-item-error[_ngcontent-%COMP%]:before{content:"\\26a0";color:red;margin-left:3px;margin-right:6px;font-weight:700}.lhc-item-error[_ngcontent-%COMP%]{background-color:orange;margin:2px 0 2px 2px;border-radius:4px;padding:2px 4px}.lhc-item-warning[_ngcontent-%COMP%]{background-color:#ffffe0}.lhc-item-warning[_ngcontent-%COMP%]:before{content:"\\26a0";color:orange;margin-left:3px;margin-right:6px;font-weight:700}.lhc-item-info[_ngcontent-%COMP%]:before{content:"\\1f6c8";margin-right:6px}\n\n/*# sourceMappingURL=lhc-item-messages.component.css.map*/']})}return t})();const $ve=["deInput"];function Wve(t,n){if(1&t){const e=tt();J(0,"button",12),Ne("click",function(){ce(e);const r=k(3);return ue(r.lhcDataService.removeOneRepeatingItem(r.item))}),Pe(1,"-"),te()}if(2&t){const e=k(3);N("id",pe("del-",e.item._elementId))("title",pe('Remove this "',e.item._text,'"'))("disabled",e.item._readOnly)}}function Gve(t,n){if(1&t){const e=tt();J(0,"div",9),Ne("click",function(){ce(e);const r=k(2);return ue(r.lhcDataService.setActiveRow(r.item))}),He(1,"lhc-item-question-text",8),J(2,"div",10),ve(3,Wve,2,5,"button",11),te()()}if(2&t){const e=k(2);z(),N("item",e.item),z(2),N("ngIf",!e.lhcDataService.hasOneRepeatingItem(e.item))}}function Kve(t,n){1&t&&He(0,"lhc-item-simple-type",8),2&t&&N("item",k(3).item)}function Qve(t,n){1&t&&He(0,"lhc-item-choice",8),2&t&&N("item",k(3).item)}function Xve(t,n){if(1&t&&(Ge(0),ve(1,Kve,1,1,"lhc-item-simple-type",13)(2,Qve,1,1,"lhc-item-choice",13),Ye()),2&t){const e=k(2);z(),N("ngIf",!e.item._hasAnswerList),z(),N("ngIf",e.item._hasAnswerList)}}function Zve(t,n){if(1&t&&(Ge(0),He(1,"lhc-item-simple-type",8),Ye()),2&t){const e=k(2);z(),N("item",e.item)}}function Jve(t,n){if(1&t&&(Ge(0),He(1,"lhc-item-quantity",8),Ye()),2&t){const e=k(2);z(),N("item",e.item)}}function e9e(t,n){if(1&t&&(Ge(0),He(1,"lhc-item-choice",8),Ye()),2&t){const e=k(2);z(),N("item",e.item)}}function t9e(t,n){1&t&&He(0,"lhc-item-date",8),2&t&&N("item",k(3).item)}function n9e(t,n){1&t&&He(0,"lhc-item-choice",8),2&t&&N("item",k(3).item)}function i9e(t,n){if(1&t&&(Ge(0),ve(1,t9e,1,1,"lhc-item-date",13)(2,n9e,1,1,"lhc-item-choice",13),Ye()),2&t){const e=k(2);z(),N("ngIf",!e.item._hasAnswerList),z(),N("ngIf",e.item._hasAnswerList)}}function r9e(t,n){if(1&t&&(Ge(0),He(1,"lhc-item-datetime",8),Ye()),2&t){const e=k(2);z(),N("item",e.item)}}function o9e(t,n){1&t&&He(0,"lhc-item-time",8),2&t&&N("item",k(3).item)}function a9e(t,n){1&t&&He(0,"lhc-item-choice",8),2&t&&N("item",k(3).item)}function s9e(t,n){if(1&t&&(Ge(0),ve(1,o9e,1,1,"lhc-item-time",13)(2,a9e,1,1,"lhc-item-choice",13),Ye()),2&t){const e=k(2);z(),N("ngIf",!e.item._hasAnswerList),z(),N("ngIf",e.item._hasAnswerList)}}function l9e(t,n){if(1&t&&(Ge(0),He(1,"lhc-item-boolean",4),Ye()),2&t){const e=k(2);z(),N("item",e.item)("value",e.item.value)}}function c9e(t,n){1&t&&He(0,"lhc-input",8),2&t&&N("item",k(3).item)}function u9e(t,n){1&t&&He(0,"lhc-item-choice",8),2&t&&N("item",k(3).item)}function d9e(t,n){if(1&t&&(Ge(0),ve(1,c9e,1,1,"lhc-input",13)(2,u9e,1,1,"lhc-item-choice",13),Ye()),2&t){const e=k(2);z(),N("ngIf",!e.item._hasAnswerList),z(),N("ngIf",e.item._hasAnswerList)}}function h9e(t,n){if(1&t&&(Ge(0),He(1,"lhc-item-text",8),Ye()),2&t){const e=k(2);z(),N("item",e.item)}}function f9e(t,n){if(1&t&&(Ge(0),He(1,"lhc-item-attachment",8),Ye()),2&t){const e=k(2);z(),N("item",e.item)}}function m9e(t,n){if(1&t&&(Ge(0),He(1,"lhc-input",8),Ye()),2&t){const e=k(2);z(),N("item",e.item)}}function p9e(t,n){if(1&t){const e=tt();Ge(0),ve(1,Gve,4,2,"div",1),J(2,"div",2),Ne("click",function(){ce(e);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),J(3,"div",3),He(4,"lhc-validate",4),Ge(5,5),ve(6,Xve,3,2,"ng-container",6)(7,Zve,2,1,"ng-container",6)(8,Jve,2,1,"ng-container",6)(9,e9e,2,1,"ng-container",6)(10,i9e,3,2,"ng-container",6)(11,r9e,2,1,"ng-container",6)(12,s9e,3,2,"ng-container",6)(13,l9e,2,2,"ng-container",6)(14,d9e,3,2,"ng-container",6)(15,h9e,2,1,"ng-container",6)(16,f9e,2,1,"ng-container",6)(17,m9e,2,1,"ng-container",7),Ye(),He(18,"lhc-item-messages",8),te()(),Ye()}if(2&t){const e=k();z(),N("ngIf",!e.options||!e.options.hideQuestionText),z(),N("ngStyle",e.options&&e.options.hideQuestionText?null:e.eleStyle),z(2),N("item",e.item)("value",e.item.value),z(),N("ngSwitch",e.item.dataType),z(),N("ngSwitchCase","INT"),z(),N("ngSwitchCase","REAL"),z(),N("ngSwitchCase","QTY"),z(),N("ngSwitchCase","CODING"),z(),N("ngSwitchCase","DT"),z(),N("ngSwitchCase","DTM"),z(),N("ngSwitchCase","TM"),z(),N("ngSwitchCase","BL"),z(),N("ngSwitchCase","ST"),z(),N("ngSwitchCase","TX"),z(),N("ngSwitchCase","attachment"),z(2),N("item",e.item)}}let dR=(()=>{class t{winService;lhcDataService;item;options;deInputElement;eleStyle=null;constructor(e,i){this.winService=e,this.lhcDataService=i}ngOnInit(){this.winService.windowWidth.subscribe(e=>{const i=this.winService.getViewMode(),r=this.lhcDataService.getItemViewModeClass(this.item,i);this.eleStyle="lhc-item-view-lg"===r?{width:e/2+"px"}:null})}static \u0275fac=function(i){return new(i||t)(xe(E4),xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-item-question"]],viewQuery:function(i,r){if(1&i&&Ai($ve,5),2&i){let o;zn(o=An())&&(r.deInputElement=o.first)}},inputs:{item:"item",options:"options"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],["class","lhc-de-label-button",3,"click",4,"ngIf"],[1,"lhc-de-input-unit",3,"click","ngStyle"],[1,"lhc-de-input-unit-content"],[3,"item","value"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"item"],[1,"lhc-de-label-button",3,"click"],[1,"lhc-de-button"],["class","lhc-float-button lhc-button","type","button",3,"id","title","disabled","click",4,"ngIf"],["type","button",1,"lhc-float-button","lhc-button",3,"click","id","title","disabled"],[3,"item",4,"ngIf"]],template:function(i,r){1&i&&ve(0,p9e,19,17,"ng-container",0),2&i&&N("ngIf",r.item)},dependencies:[nr,m6,ws,vl,Sh,ive,sve,zy,hve,gve,_ve,Cve,Sve,Dve,kve,A4,Rve,Ay],styles:["[_nghost-%COMP%]{border:solid;border-color:#ced5d9;border-width:1px 0 0 0;margin:0 4px 0 2px;padding-left:2px}.lhc-de-input-unit-content[_ngcontent-%COMP%]{width:100%}.lhc-error-icon[_ngcontent-%COMP%]{color:red;font-weight:700}.lhc-error-msg[_ngcontent-%COMP%]{color:red}.lhc-error-msg[_ngcontent-%COMP%], .lhc-error-item[_ngcontent-%COMP%]{margin-left:.5em}.lhc-validate-class[_ngcontent-%COMP%]{background-color:#fcf8e3}\n\n/*# sourceMappingURL=lhc-item-question.component.css.map*/"]})}return t})();const g9e=()=>({hideQuestionText:!0});function v9e(t,n){if(1&t&&(J(0,"div",10),He(1,"lhc-item-question-text",11),te()),2&t){const e=k(3);N("ng-attr-role",Mt(e.item.header?"heading":void 0))("ng-attr-aria-level",Mt(e.item.header?e.item._displayLevel+1:void 0)),z(),N("item",e.item)}}function _9e(t,n){1&t&&He(0,"col",12)}function y9e(t,n){if(1&t&&He(0,"col",14),2&t){const e=k().$implicit;N("ngStyle",k(3).lhcDataService.getTableColumnStyle(e))}}function b9e(t,n){if(1&t&&(Ge(0),ve(1,y9e,1,1,"col",13),Ye()),2&t){const e=n.$implicit;z(),N("ngIf",!e.item._isHiddenFromView)}}function C9e(t,n){1&t&&He(0,"th",15)}function w9e(t,n){if(1&t&&(J(0,"th",17),He(1,"lhc-item-question-text",11),te()),2&t){const e=k().$implicit;N("id",Mt(e.id)),z(),N("item",e.item)}}function S9e(t,n){if(1&t&&(Ge(0),ve(1,w9e,2,3,"th",16),Ye()),2&t){const e=n.$implicit;z(),N("ngIf",!e.item._isHiddenFromView)}}function M9e(t,n){if(1&t){const e=tt();J(0,"button",20),Ne("click",function(){ce(e);const r=k(2).$implicit;return ue(k(3).lhcDataService.removeOneRepeatingItem(r.header))}),Pe(1,"-"),te()}if(2&t){const e=k(2).$implicit,i=k(3);N("id",pe("del-",e.header._elementId))("title",pe('Remove this row of "',e.header.question,'"'))("disabled",i.item._readOnly)}}function T9e(t,n){if(1&t&&(J(0,"td",12),ve(1,M9e,2,5,"button",19),te()),2&t){const e=k(4);z(),N("ngIf",!e.lhcDataService.hasOneRepeatingItem(e.item))}}function D9e(t,n){if(1&t&&(J(0,"td")(1,"div",21),He(2,"lhc-item-question",22),te()()),2&t){const e=k().$implicit,i=k(4);Oe($l("",i.lhcDataService.getRowClass(e)," ",i.lhcDataService.getSkipLogicClass(e))),z(2),Oe(pe("lhc-de ",i.lhcDataService.getActiveRowClass(e))),N("item",e)("options",Ac(9,g9e))}}function x9e(t,n){if(1&t&&(Ge(0),ve(1,D9e,3,10,"td",1),Ye()),2&t){const e=n.$implicit;z(),N("ngIf",!e._isHiddenFromView)}}function k9e(t,n){if(1&t&&(J(0,"tr",18),ve(1,T9e,2,1,"td",4)(2,x9e,2,1,"ng-container",5),te()),2&t){const e=n.$implicit,i=k(3);z(),N("ngIf",i.item._questionRepeatable&&i.lhcDataService.getHorizontalTableInfo()[i.item._horizontalTableId].tableRows.length>1),z(),N("ngForOf",e.cells)("ngForTrackBy",i.lhcDataService.trackByElementId)}}function E9e(t,n){if(1&t&&(J(0,"span",24),Pe(1),te()),2&t){const e=k(4);z(),zt(" This repeatable item should have at least ",e.item.questionCardinality.min," occurrences.")}}function I9e(t,n){if(1&t&&(J(0,"div"),He(1,"lhc-button-popover",23),ve(2,E9e,2,1,"span",9),te()),2&t){const e=k(3);Oe(pe("lhc-button-padding ",e.lhcDataService.getSkipLogicClass(e.item))),z(),N("buttonLabel",pe("+ ",e.item._text))("item",e.item)("popoverType","repeating-item")("append",!0),z(),N("ngIf",e.lhcDataService.getLastRepeatingItem(e.item)._minOccursNotMet)}}function z9e(t,n){if(1&t&&(J(0,"span",24),Pe(1),te()),2&t){const e=k(3);z(),zt(" This repeatable item should have at most ",e.item.questionCardinality.max," occurrences.")}}function A9e(t,n){if(1&t&&(J(0,"div"),ve(1,v9e,2,5,"div",2),J(2,"table",3)(3,"colgroup"),ve(4,_9e,1,0,"col",4)(5,b9e,2,1,"ng-container",5),te(),J(6,"thead")(7,"tr"),ve(8,C9e,1,0,"th",6)(9,S9e,2,1,"ng-container",5),te()(),J(10,"tbody",7),ve(11,k9e,3,3,"tr",8),te()(),ve(12,I9e,3,9,"div",1)(13,z9e,2,1,"span",9),te()),2&t){let e;const i=k(2);Oe(pe("lhc-layout-horizontal ",i.lhcDataService.getSiblingStatus(i.item)," ")),z(),N("ngIf",!i.formLevel),z(3),N("ngIf",i.item._questionRepeatable&&i.lhcDataService.getHorizontalTableInfo()[i.item._horizontalTableId].tableRows.length>1),z(),N("ngForOf",i.lhcDataService.getHorizontalTableInfo()[i.item._horizontalTableId].columnHeaders)("ngForTrackBy",i.lhcDataService.trackByColumnHeaderId),z(3),N("ngIf",i.item._questionRepeatable&&i.lhcDataService.getHorizontalTableInfo()[i.item._horizontalTableId].tableRows.length>1),z(),N("ngForOf",i.lhcDataService.getHorizontalTableInfo()[i.item._horizontalTableId].columnHeaders)("ngForTrackBy",i.lhcDataService.trackByColumnHeaderId),z(2),N("ngForOf",i.lhcDataService.getHorizontalTableInfo()[i.item._horizontalTableId].tableRows)("ngForTrackBy",i.lhcDataService.trackByRowHeaderElementId),z(),N("ngIf",i.item._questionRepeatable&&i.lhcDataService.getLastRepeatingItem(i.item)._lastRepeatingItem&&i.lhcDataService.targetEnabled(i.item)&&!i.item._isHiddenFromView),z(),N("ngIf",null==(e=i.lhcDataService.getLastRepeatingItem(i.item))?null:e._maxOccursExcceeded)}}function L9e(t,n){if(1&t&&(Ge(0),ve(1,A9e,14,14,"div",1),Ye()),2&t){const e=k();z(),N("ngIf",e.item._horizontalTableHeader&&e.lhcDataService.getHorizontalTableInfo()[e.item._horizontalTableId])}}let hR=(()=>{class t{lhcDataService;item;formLevel=!1;constructor(e){this.lhcDataService=e}static \u0275fac=function(i){return new(i||t)(xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-group-horizontal"]],inputs:{item:"item",formLevel:"formLevel"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[3,"class",4,"ngIf"],["class","lhc-form-horizontal-table-title",3,"ng-attr-role","ng-attr-aria-level",4,"ngIf"],[1,"lhc-form-horizontal-table"],["class","lhc-de-button",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","lhc-form-horizontal-table-header",4,"ngIf"],["id","",1,""],["class","lhc-data-row has-ng-animate",4,"ngFor","ngForOf","ngForTrackBy"],["style","color: red;",4,"ngIf"],[1,"lhc-form-horizontal-table-title",3,"ng-attr-role","ng-attr-aria-level"],[3,"item"],[1,"lhc-de-button"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[1,"lhc-form-horizontal-table-header"],["class","lhc-form-horizontal-table-header",3,"id",4,"ngIf"],[1,"lhc-form-horizontal-table-header",3,"id"],[1,"lhc-data-row","has-ng-animate"],["type","button","class","lhc-float-button lhc-button",3,"id","disabled","title","click",4,"ngIf"],["type","button",1,"lhc-float-button","lhc-button",3,"click","id","disabled","title"],[1,"lf-form-item-data","tooltipContainer"],[3,"item","options"],[3,"item","popoverType","buttonLabel","append"],[2,"color","red"]],template:function(i,r){1&i&&ve(0,L9e,2,1,"ng-container",0),2&i&&N("ngIf",r.item)},dependencies:[$s,nr,m6,A4,dR,z4],styles:[".lhc-form-horizontal-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{vertical-align:top}\n\n/*# sourceMappingURL=lhc-group-horizontal.component.css.map*/"]})}return t})();function O9e(t,n){if(1&t&&(J(0,"div",10),He(1,"lhc-item-question-text",11),te()),2&t){const e=k(2);z(),N("item",e.item)}}function P9e(t,n){1&t&&He(0,"col")}function N9e(t,n){1&t&&He(0,"col",12)}function R9e(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k().$implicit;z(),ln(e._displayTextHTML)}}function F9e(t,n){1&t&&(He(0,"span",17),uo(1,"safeHtml")),2&t&&N("outerHTML",jo(1,1,k().$implicit._displayTextHTML),ql)}function H9e(t,n){if(1&t&&(Ge(0),Pe(1),Ye()),2&t){const e=k().$implicit;z(),ln(e._displayText)}}function V9e(t,n){if(1&t&&(J(0,"th",13),Ge(1,14),ve(2,R9e,2,1,"ng-container",15)(3,F9e,2,3,"span",16)(4,H9e,2,1,"ng-container",15),Ye(),te()),2&t){const e=n.$implicit,i=k(2);Mi(e._obj_CSS),N("id",pe("answer-",i.index)),z(),N("ngSwitch",i.lhcDataService.getTextDisplayType(e)),z(),N("ngSwitchCase","escaped"),z(),N("ngSwitchCase","html"),z(),N("ngSwitchCase","plain")}}function U9e(t,n){if(1&t&&(J(0,"th",18),Pe(1),te()),2&t){const e=k(2);N("id",e.item._elementId+"_header_other"),z(),ln(e.item.items[0].openLabel||e.language.other)}}function B9e(t,n){if(1&t){const e=tt();J(0,"label")(1,"input",26),Ui("ngModelChange",function(r){ce(e);const o=k().index,a=k(2).$implicit;return Ji(a._checkboxModels[o],r)||(a._checkboxModels[o]=r),ue(r)}),Ne("ngModelChange",function(){ce(e);const r=k(3).$implicit;return ue(k(2).updateCheckboxListValue(r))}),te()()}if(2&t){const e=k(),i=e.$implicit,r=e.index,o=k(2).$implicit,a=k(2);z(),gt("aria-label",$l("",i.text," for ",o.question)),N("name",Mt(o._elementId))("disabled",a.item._readOnly)("id",a.lhcDataService.getItemAnswerId(o,i)),Vi("ngModel",o._checkboxModels[r]),gt("name",o._elementId)}}function q9e(t,n){if(1&t){const e=tt();J(0,"label")(1,"input",27),Ne("change",function(){ce(e);const r=k(),o=r.$implicit,a=r.index,s=k(2).$implicit;return ue(k(2).updateRadioListValue(s,o,a))}),te()()}if(2&t){const e=k(),i=e.$implicit,r=e.index,o=k(2).$implicit,a=k(2);z(),gt("aria-label",$l("",i.text," for ",o.question)),N("name",Mt(o._elementId))("disabled",a.item._readOnly)("id",a.lhcDataService.getItemAnswerId(o,i))("checked",o._selectedRadio===r)("value",i),gt("name",o._elementId)}}function Y9e(t,n){if(1&t&&(J(0,"td",23)(1,"span",24),ve(2,B9e,2,9,"label",25)(3,q9e,2,10,"label",25),te()()),2&t){const e=k(4);z(2),N("ngIf",e.isCheckbox),z(),N("ngIf",!e.isCheckbox)}}function j9e(t,n){if(1&t){const e=tt();J(0,"span",24)(1,"label")(2,"input",26),Ui("ngModelChange",function(r){ce(e);const o=k(3).$implicit;return Ji(o._answerOtherChecked,r)||(o._answerOtherChecked=r),ue(r)}),Ne("ngModelChange",function(){ce(e);const r=k(3).$implicit;return ue(k(2).updateCheckboxListValue(r))}),te()(),J(3,"label")(4,"input",30),Ui("ngModelChange",function(r){ce(e);const o=k(3).$implicit;return Ji(o._answerOther,r)||(o._answerOther=r),ue(r)}),Ne("ngModelChange",function(){ce(e);const r=k(3).$implicit;return ue(k(2).updateCheckboxListValue(r))}),te()()()}if(2&t){const e=k(3).$implicit,i=k(2);z(2),gt("aria-label",pe("Other values for ",e.question)),N("id",Mt(i.lhcDataService.getItemAnswerId(e,"_other")))("name",Mt(e._elementId))("disabled",i.item._readOnly),Vi("ngModel",e._answerOtherChecked),gt("name",e._elementId),z(2),gt("aria-label",pe("Other values for ",e.question)),N("id",Mt(i.lhcDataService.getItemAnswerId(e,"_otherValue")))("name",Mt(e._elementId))("disabled",i.item._readOnly),Vi("ngModel",e._answerOther),gt("name",e._elementId)}}function $9e(t,n){if(1&t){const e=tt();J(0,"span",24)(1,"label")(2,"input",31),Ui("ngModelChange",function(r){ce(e);const o=k(3).$implicit;return Ji(o._answerOtherChecked,r)||(o._answerOtherChecked=r),ue(r)}),Ne("change",function(){ce(e);const r=k(3).$implicit;return ue(k(2).updateRadioListValueForOther(r,r._answerOther))}),te()(),J(3,"label")(4,"input",30),Ui("ngModelChange",function(r){ce(e);const o=k(3).$implicit;return Ji(o._answerOther,r)||(o._answerOther=r),ue(r)}),Ne("ngModelChange",function(){ce(e);const r=k(3).$implicit;return ue(k(2).updateRadioListValueForOther(r,r._answerOther))}),te()()()}if(2&t){const e=k(3).$implicit,i=k(2);z(2),gt("aria-label",pe("Other values for ",e.question)),N("id",Mt(i.lhcDataService.getItemAnswerId(e,"_other")))("name",Mt(e._elementId))("disabled",i.item._readOnly),Vi("ngModel",e._answerOtherChecked),N("value",!0),gt("name",e._elementId),z(2),gt("aria-label",pe("Other values for ",e.question)),N("id",Mt(i.lhcDataService.getItemAnswerId(e,"_otherValue")))("name",Mt(e._elementId))("disabled",i.item._readOnly),Vi("ngModel",e._answerOther),gt("name",e._elementId)}}function W9e(t,n){if(1&t&&(J(0,"td",28),ve(1,j9e,5,18,"span",29)(2,$9e,5,19,"span",29),te()),2&t){const e=k(4);gt("aria-labeledby",e.item._elementId+"_header_other"),z(),N("ngIf",e.isCheckbox),z(),N("ngIf",!e.isCheckbox)}}function G9e(t,n){if(1&t&&(J(0,"tr",20)(1,"td",3),He(2,"lhc-item-question-text",11)(3,"lhc-item-messages",11),te(),ve(4,Y9e,4,2,"td",21)(5,W9e,3,3,"td",22),te()),2&t){const e=k().$implicit,i=k(2);z(2),N("item",e),z(),N("item",e),z(),N("ngForOf",i.item.items[0].answers),z(),N("ngIf","optionsOrString"===e.answerConstraint)}}function K9e(t,n){if(1&t&&(Ge(0),ve(1,G9e,6,4,"tr",19),Ye()),2&t){const e=n.$implicit;z(),N("ngIf",!e._isHiddenFromView)}}function Q9e(t,n){if(1&t&&(J(0,"div"),ve(1,O9e,2,1,"div",1),J(2,"table",2)(3,"colgroup"),He(4,"col",3),ve(5,P9e,1,0,"col",4)(6,N9e,1,0,"col",5),te(),J(7,"thead")(8,"tr",6),He(9,"th",3),ve(10,V9e,5,8,"th",7)(11,U9e,2,2,"th",8),te()(),J(12,"tbody"),ve(13,K9e,2,1,"ng-container",9),te()()()),2&t){const e=k();Oe(pe("lhc-layout-matrix ",e.lhcDataService.getSiblingStatus(e.item))),z(),N("ngIf",!e.formLevel),z(4),N("ngForOf",e.item.items[0].answers),z(),N("ngIf","optionsOrString"===e.item.items[0].answerConstraint),z(4),N("ngForOf",e.acOptions.listItems),z(),N("ngIf","optionsOrString"===e.item.items[0].answerConstraint),z(2),N("ngForOf",e.item.items)("ngForTrackBy",e.lhcDataService.trackByElementId)}}let fR=(()=>{class t{commonUtils;lhcDataService;item;acOptions;formLevel=!1;language=Mn;isCheckbox=!1;constructor(e,i){this.commonUtils=e,this.lhcDataService=i}ngOnChanges(e){this.setInitialValue(),this.lhcDataService.getLhcFormData()}updateCheckboxListValue(e){const i=[];for(let r=0,o=e._checkboxModels.length;r<o;r++)e._checkboxModels[r]&&i.push(e.answers[r]);e._answerOtherChecked&&i.push({text:e._answerOther,_notOnList:!0}),e.value=i,this.lhcDataService.onItemValueChange(e,null,null,!0)}updateRadioListValue(e,i,r){e.value=i,e._answerOtherChecked=!1,e._selectedRadio=r,this.lhcDataService.onItemValueChange(e,null,null,!0)}updateRadioListValueForOther(e,i){e._answerOtherChecked&&(e.value={text:i,_notOnList:!0},this.lhcDataService.onItemValueChange(e,null,null,!0))}setInitialValue(){this.isCheckbox=this.item.items[0]?._multipleAnswers,this.item.items.forEach(e=>{this.isCheckbox?this.setCheckboxInitialValue(e):this.setRadioInitialValue(e)})}setRadioInitialValue(e){if(e.value&&e.answers&&Array.isArray(e.answers)){if(e.value._notOnList)e._answerOtherChecked=!0,e._answerOther=e.value.text;else for(let i=0;i<e.answers.length;i++)if(this.commonUtils.areTwoAnswersSame(e.value,e.answers[i],e)){e._selectedRadio=i;break}}else e._answerOtherChecked=!1,e._selectedRadio=null,delete e._answerOther}_getCheckboxModels(e,i){const r=new Array(i.length).fill(!1);for(let o=0,a=e.length;o<a;o++)for(let s=0,l=i.length;s<l;s++)if(N7()(e[o],i[s])){r[s]=!0;break}return r}setCheckboxInitialValue(e){if(e.answers&&Array.isArray(e.answers))if(e.value&&Array.isArray(e.value)){const i=new Array(e.answers.length).fill(!1);for(let r=0,o=e.value.length;r<o;r++)if(e.value[r]._notOnList)e._answerOtherChecked=!0,e._answerOther=e.value[r].text;else for(let a=0,s=e.answers.length;a<s;a++)if(N7()(e.value[r],e.answers[a])){i[a]=!0;break}e._checkboxModels=i}else e._checkboxModels=new Array(e.answers.length).fill(!1),e._answerOtherChecked=!1,delete e._answerOther}static \u0275fac=function(i){return new(i||t)(xe(Ud),xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-group-matrix"]],inputs:{item:"item",acOptions:"acOptions",formLevel:"formLevel"},standalone:!1,features:[vn],decls:1,vars:1,consts:[[3,"class",4,"ngIf"],["class","lhc-form-matrix-table-title",4,"ngIf"],[1,"lhc-form-matrix-table"],[1,"lhc-question"],[4,"ngFor","ngForOf"],["class","other-answer",4,"ngIf"],[1,"lhc-matrix-table-header-row"],["class","lhc-form-matrix-cell",3,"id","style",4,"ngFor","ngForOf"],["class","lhc-form-matrix-cell-other",3,"id",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"lhc-form-matrix-table-title"],[3,"item"],[1,"other-answer"],[1,"lhc-form-matrix-cell",3,"id"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"outerHTML",4,"ngSwitchCase"],[3,"outerHTML"],[1,"lhc-form-matrix-cell-other",3,"id"],["role","radiogroup",4,"ngIf"],["role","radiogroup"],["class","lhc-form-matrix-cell",4,"ngFor","ngForOf"],["class","lhc-form-matrix-cell-other",4,"ngIf"],[1,"lhc-form-matrix-cell"],[1,"lhc-form-matrix-answer"],[4,"ngIf"],["type","checkbox",3,"ngModelChange","disabled","id","name","ngModel"],["type","radio",3,"change","disabled","id","checked","value","name"],[1,"lhc-form-matrix-cell-other"],["class","lhc-form-matrix-answer",4,"ngIf"],["type","text",3,"ngModelChange","disabled","id","name","ngModel"],["type","radio",3,"ngModelChange","change","disabled","id","ngModel","value","name"]],template:function(i,r){1&i&&ve(0,Q9e,14,10,"div",0),2&i&&N("ngIf",r.item)},dependencies:[$s,nr,ws,vl,bl,k6,Sv,ja,za,A4,Ay,I4],encapsulation:2})}return t})();function X9e(t,n){if(1&t&&(Ge(0),J(1,"nz-tab",3),He(2,"lhc-group-vertical",4),te(),Ye()),2&t){const e=k().$implicit;z(),N("nzTitle",e._text),z(),N("item",e)("hideGrouptTitle",!0)}}function Z9e(t,n){if(1&t&&(Ge(0),ve(1,X9e,3,3,"ng-container",0),Ye()),2&t){const e=n.$implicit;z(),N("ngIf",!e._isHiddenFromView)}}function J9e(t,n){if(1&t&&(Ge(0),J(1,"nz-tabset",1),ve(2,Z9e,2,1,"ng-container",2),te(),Ye()),2&t){const e=k();z(2),N("ngForOf",e.item.items)}}let e_e=(()=>{class t{item;constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["lhc-group-tabs"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],["nzType","card"],[4,"ngFor","ngForOf"],[3,"nzTitle"],[3,"item","hideGrouptTitle"]],template:function(i,r){1&i&&ve(0,J9e,3,1,"ng-container",0),2&i&&N("ngIf",r.item&&r.item.items)},dependencies:[$s,nr,Ey,ky,Iy],styles:["[_nghost-%COMP%]     .ant-tabs-top>.ant-tabs-nav{margin-bottom:0}[_nghost-%COMP%]     .ant-tabs-card>.ant-tabs-nav .ant-tabs-tab{padding-top:3px;padding-bottom:3px}\n\n/*# sourceMappingURL=lhc-group-tabs.component.css.map*/"]})}return t})();function t_e(t,n){if(1&t&&(Ge(0),He(1,"lhc-group-horizontal",3),Ye()),2&t){const e=k(2);z(),N("item",e.item)}}function n_e(t,n){if(1&t&&(Ge(0),He(1,"lhc-group-matrix",4),Ye()),2&t){const e=k(2);z(),N("item",e.item)("acOptions",null==e.item.items[0]?null:e.item.items[0]._autocompOptions)}}function i_e(t,n){if(1&t&&(Ge(0),He(1,"lhc-group-tabs",3),Ye()),2&t){const e=k(2);z(),N("item",e.item)}}function r_e(t,n){if(1&t&&(Ge(0),He(1,"lhc-group-vertical",3),Ye()),2&t){const e=k(2);z(),N("item",e.item)}}function o_e(t,n){1&t&&(Ge(0,1),ve(1,t_e,2,1,"ng-container",2)(2,n_e,2,2,"ng-container",2)(3,i_e,2,1,"ng-container",2)(4,r_e,2,1,"ng-container",2),Ye()),2&t&&(N("ngSwitch",k().item.displayControl.questionLayout),z(),N("ngSwitchCase","horizontal"),z(),N("ngSwitchCase","matrix"),z(),N("ngSwitchCase","tabs"),z(),N("ngSwitchCase","vertical"))}let a_e=(()=>{class t{lhcDataService;item;constructor(e){this.lhcDataService=e}static \u0275fac=function(i){return new(i||t)(xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-item-group"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[3,"ngSwitch",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"item"],[3,"item","acOptions"]],template:function(i,r){1&i&&ve(0,o_e,5,5,"ng-container",0),2&i&&N("ngIf",r.item)},dependencies:[nr,ws,vl,Iy,hR,fR,e_e],encapsulation:2})}return t})(),s_e=(()=>{class t{item;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=bt({type:t,selectors:[["lhc-item-display"]],inputs:{item:"item"},standalone:!1,decls:2,vars:1,consts:[[1,"lhc-item-display"],[3,"item"]],template:function(i,r){1&i&&(J(0,"div",0),He(1,"lhc-item-question-text",1),te()),2&i&&(z(),N("item",r.item))},dependencies:[A4],encapsulation:2})}return t})();function l_e(t,n){if(1&t&&(Ge(0),He(1,"lhc-item-group",4),Ye()),2&t){const e=k(2);z(),N("item",e.item)}}function c_e(t,n){if(1&t&&(Ge(0),He(1,"lhc-item-display",4),Ye()),2&t){const e=k(2);z(),N("item",e.item)}}function u_e(t,n){if(1&t&&He(0,"lhc-item",12),2&t){const e=k().$implicit,i=k(4);Oe(i.lhcDataService.getItemClassList(e,i.viewMode)),N("id",pe("item-",e._elementId))("item",e)}}function d_e(t,n){if(1&t&&(Ge(0),ve(1,u_e,1,5,"lhc-item",11),Ye()),2&t){const e=n.$implicit,i=k(4);z(),N("ngIf",e&&!e._isHiddenFromView&&i.lhcDataService.targetShown(e))}}function h_e(t,n){if(1&t&&(J(0,"div",9),ve(1,d_e,2,1,"ng-container",10),te()),2&t){const e=k(3);z(),N("ngForOf",e.item.items)("ngForTrackBy",e.lhcDataService.trackByElementId)}}function f_e(t,n){if(1&t&&(J(0,"span",14),Pe(1),te()),2&t){const e=k(4);z(),zt(" This repeatable item should have at least ",e.item.questionCardinality.min," occurrences.")}}function m_e(t,n){if(1&t&&(J(0,"div")(1,"div"),He(2,"lhc-button-popover",13),ve(3,f_e,2,1,"span",8),te()()),2&t){const e=k(3);Oe(pe("lhc-button-padding ",e.lhcDataService.getSiblingStatus(e.item))),z(),Oe(e.lhcDataService.getSkipLogicClass(e.item)),z(),N("buttonLabel",pe("+ ",e.item._text))("item",e.item)("popoverType","repeating-item"),z(),N("ngIf",e.item._minOccursNotMet)}}function p_e(t,n){if(1&t&&(J(0,"span",14),Pe(1),te()),2&t){const e=k(3);z(),zt(" This repeatable item should have at most ",e.item.questionCardinality.max," occurrences.")}}function g_e(t,n){if(1&t&&(Ge(0),He(1,"lhc-item-question",5),ve(2,h_e,2,2,"div",6)(3,m_e,4,10,"div",7)(4,p_e,2,1,"span",8),Ye()),2&t){const e=k(2);z(),Oe(pe("lhc-de ",e.lhcDataService.getActiveRowClass(e.item))),N("item",e.item)("ngStyle",e.lhcDataService.getItemStyle(e.item)),z(),N("ngIf",e.item.items),z(),N("ngIf",e.item._lastRepeatingItem&&!e.item._isHiddenFromView&&e.lhcDataService.targetEnabled(e.item)),z(),N("ngIf",e.item._maxOccursExcceeded)}}function v_e(t,n){if(1&t&&(Ge(0)(1,1),ve(2,l_e,2,1,"ng-container",2)(3,c_e,2,1,"ng-container",2)(4,g_e,5,8,"ng-container",3),Ye()()),2&t){const e=k();z(),N("ngSwitch",e.item.dataType),z(),N("ngSwitchCase","SECTION"),z(),N("ngSwitchCase","TITLE")}}let mR=(()=>{class t{winService;lhcDataService;item;viewMode="";constructor(e,i){this.winService=e,this.lhcDataService=i,e.windowWidth.subscribe(r=>{this.viewMode=e.getViewMode()})}static \u0275fac=function(i){return new(i||t)(xe(E4),xe(Ar))};static \u0275cmp=bt({type:t,selectors:[["lhc-item"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"item"],[3,"item","ngStyle"],["class","lhc-item-group-body",4,"ngIf"],[3,"class",4,"ngIf"],["style","color: red;",4,"ngIf"],[1,"lhc-item-group-body"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"item","class","id",4,"ngIf"],[3,"item","id"],[3,"item","popoverType","buttonLabel"],[2,"color","red"]],template:function(i,r){1&i&&ve(0,v_e,5,3,"ng-container",0),2&i&&N("ngIf",r.item)},dependencies:[$s,nr,m6,ws,vl,Sh,t,a_e,dR,s_e,z4],styles:["[_nghost-%COMP%]{display:block}\n\n/*# sourceMappingURL=lhc-item.component.css.map*/"]})}return t})();function __e(t,n){1&t&&He(0,"lhc-item-messages",3),2&t&&N("item",k().lhcFormData)}function y_e(t,n){if(1&t&&(J(0,"a",14),Pe(1),te()),2&t){const e=k(2).$implicit;N("href",Mt("https://loinc.org/"+e.code),I2),z(),zt(" [",e.code,"] ")}}function b_e(t,n){if(1&t&&(J(0,"span",15),Pe(1),te()),2&t){const e=k(2).$implicit;z(),zt("[",e.code,"]")}}function C_e(t,n){if(1&t&&(J(0,"span"),ve(1,y_e,2,3,"a",12)(2,b_e,2,1,"span",13),te()),2&t){const e=k().$implicit;z(),N("ngIf","http://loinc.org"===e.system),z(),N("ngIf","http://loinc.org"!==e.system)}}function w_e(t,n){if(1&t&&(J(0,"span"),ve(1,C_e,3,2,"span",7),te()),2&t){const e=n.$implicit;z(),N("ngIf",e.code)}}function S_e(t,n){if(1&t&&(J(0,"span"),ve(1,w_e,2,1,"span",11),te()),2&t){const e=k(2);z(),N("ngForOf",e.lhcFormData.codeList)}}function M_e(t,n){1&t&&He(0,"lhc-button-popover",16),2&t&&N("item",k(2).lhcFormData)("popoverType","copyright-string")("formLevel",!0)}function T_e(t,n){if(1&t&&(Ge(0),He(1,"lhc-group-horizontal",20),Ye()),2&t){const e=k(3);z(),N("item",e.lhcFormData)("formLevel",!0)}}function D_e(t,n){if(1&t&&(Ge(0),He(1,"lhc-group-matrix",21),Ye()),2&t){const e=k(3);z(),N("item",e.lhcFormData)("formLevel",!0)("acOptions",null==e.lhcFormData.items[0]?null:e.lhcFormData.items[0]._autocompOptions)}}function x_e(t,n){if(1&t&&He(0,"lhc-item",24),2&t){const e=k().$implicit,i=k(5);Oe(i.lhcDataService.getItemClassList(e,i.viewMode,!0)),N("id",pe("item-",e._elementId))("item",e)}}function k_e(t,n){if(1&t&&(Ge(0),ve(1,x_e,1,5,"lhc-item",23),Ye()),2&t){const e=n.$implicit,i=k(5);z(),N("ngIf",e&&i.lhcDataService.targetShown(e)&&!e._isHiddenFromView&&!i.lhcDataService.isSubsequentHorizontalTableGroupItem(e))}}function E_e(t,n){if(1&t&&(Ge(0),ve(1,k_e,2,1,"ng-container",22),Ye()),2&t){const e=k(4);z(),N("ngForOf",e.lhcFormData.items)("ngForTrackBy",e.lhcDataService.trackByElementId)}}function I_e(t,n){if(1&t&&(Ge(0),ve(1,E_e,2,2,"ng-container",7),Ye()),2&t){const e=k(3);z(),N("ngIf",e.lhcFormData.items)}}function z_e(t,n){1&t&&(Ge(0,17),ve(1,T_e,2,2,"ng-container",18)(2,D_e,2,3,"ng-container",18)(3,I_e,2,1,"ng-container",19),Ye()),2&t&&(N("ngSwitch",k(2).lhcFormData.templateOptions.displayControl.questionLayout),z(),N("ngSwitchCase","horizontal"),z(),N("ngSwitchCase","matrix"))}function A_e(t,n){if(1&t&&(J(0,"form",4,0)(2,"div",5)(3,"span",6),Pe(4),te(),ve(5,S_e,2,1,"span",7)(6,M_e,1,3,"lhc-button-popover",8),te(),J(7,"div",9),ve(8,z_e,4,3,"ng-container",10),te()()),2&t){const e=k();Oe(pe("lhc-form lf-template-table novalidate ",e.viewModeClass)),z(3),Mi(e.lhcFormData._obj_titleCSS),N("id",pe("label-",e.lhcFormData.code)),z(),ln(e.lhcFormData.name||e.lhcFormData.shortName),z(),N("ngIf",e.lhcFormData.templateOptions.showQuestionCode&&e.lhcFormData.codeList&&e.lhcFormData.codeList.length>0),z(),N("ngIf",e.lhcFormData.copyrightNotice),z(2),N("ngIf",e.lhcFormData.templateOptions.displayControl)}}let L_e=(()=>{class t{winService;lhcDataService;host;zone;questionnaire;options;prepop=!1;fhirVersion;lhcFormData;onFormReady=new dt;onError=new dt;viewModeClass="";viewMode="";_inputFieldWidth=null;changeSize=new it;observer;constructor(e,i,r,o){this.winService=e,this.lhcDataService=i,this.host=r,this.zone=o,this.changeSize.asObservable().pipe(C8(100)).subscribe(a=>{this.winService.setWindowWidth(a)}),e.viewMode.subscribe(a=>{this.viewModeClass=this.lhcDataService.getViewModeClass(a),this.viewMode=a})}ngOnInit(){this.observer=new ResizeObserver(e=>{this.zone.run(()=>{this.changeSize.next(e[0].contentRect.width)})}),this.observer.observe(this.host.nativeElement)}ngAfterViewChecked(){this.lhcFormData&&!this.lhcFormData._formRendered&&(this.lhcFormData._formRendered=!0,this.lhcFormData._formProcessed&&this.formReady())}ngOnDestroy(){this.observer.unobserve(this.host.nativeElement)}formProcessed(){this.lhcFormData._formProcessed=!0,this.lhcFormData._formRendered&&this.formReady()}formReady(){this.lhcFormData._formReady=!0,this.onFormReady.emit()}ngOnChanges(e){if(e.questionnaire)if(this.lhcFormData=null,this.lhcDataService.setLhcFormData(null),this.questionnaire){const i=this;setTimeout(()=>{try{let r=on.deepCopy(i.questionnaire);if("Questionnaire"===r.resourceType){const o=i.fhirVersion||LForms.Util.guessFHIRVersion(r)||"R4";if(LForms.FHIR[o]&&LForms.FHIR[o].SDC&&(r=LForms.FHIR[o].SDC.convertQuestionnaireToLForms(r,i.options),i.options?.questionnaireResponse)){const a=Dh(i.options.questionnaireResponse);r=LForms.FHIR[o].SDC.mergeQuestionnaireResponseToLForms(r,a)}}i.lhcFormData=new RI(r),e.options&&i.options&&i.lhcFormData.setTemplateOptions(i.options),i.lhcDataService.setLhcFormData(i.lhcFormData),LForms.FHIR&&i.lhcFormData.fhirVersion?i.lhcFormData.loadFHIRResources(i.prepop).then(()=>{i.lhcFormData&&(i.lhcFormData._hasResponsiveExpr||i.lhcFormData._hasInitialExpr)?i.lhcFormData._expressionProcessor.runCalculations(!i.lhcFormData.hasSavedData).then(()=>{i.lhcFormData._checkFormControls(),i.formProcessed()}).catch(o=>{i.onError.emit(["string"==typeof o?o:o.message])}):i.formProcessed()}).catch(o=>{i.onError.emit(o.message?[o.message]:o)}):i.formProcessed()}catch(r){i.onError.emit(["string"==typeof r?r:r.message])}},1)}else this.lhcFormData=null,this.lhcDataService.setLhcFormData(null);else if(e.options){const i=this.lhcDataService.getLhcFormData();i&&i.setTemplateOptions(this.options)}}static \u0275fac=function(i){return new(i||t)(xe(E4),xe(Ar),xe(un),xe($t))};static \u0275cmp=bt({type:t,selectors:[["lhc-form"]],inputs:{questionnaire:"questionnaire",options:"options",prepop:"prepop",fhirVersion:"fhirVersion",lhcFormData:"lhcFormData"},outputs:{onFormReady:"onFormReady",onError:"onError"},standalone:!1,features:[jn([E4,Ar]),vn],decls:2,vars:2,consts:[["lhcFormContainer",""],[3,"item",4,"ngIf"],["autocomplete","off",3,"class",4,"ngIf"],[3,"item"],["autocomplete","off"],["role","heading","aria-level","1",1,"lhc-form-title"],[1,"lhc-question",3,"id"],[4,"ngIf"],[3,"item","popoverType","formLevel",4,"ngIf"],[1,"lhc-form-body"],[3,"ngSwitch",4,"ngIf"],[4,"ngFor","ngForOf"],["target","_blank","rel","noopener noreferrer","class","lhc-item-code",3,"href",4,"ngIf"],["class","lhc-item-code",4,"ngIf"],["target","_blank","rel","noopener noreferrer",1,"lhc-item-code",3,"href"],[1,"lhc-item-code"],[3,"item","popoverType","formLevel"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"item","formLevel"],[3,"item","formLevel","acOptions"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"item","class","id",4,"ngIf"],[3,"item","id"]],template:function(i,r){1&i&&ve(0,__e,1,1,"lhc-item-messages",1)(1,A_e,9,11,"form",2),2&i&&(N("ngIf",r.lhcFormData),z(),N("ngIf",r.lhcFormData))},dependencies:[$s,nr,ws,vl,Sh,Sz,uz,Oh,mR,hR,fR,z4,Ay],styles:["[_nghost-%COMP%]{display:block;width:100%}\n\n/*# sourceMappingURL=lhc-form.component.css.map*/"]})}return t})();const O_e=[{name:"copyright-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm5.4 670c-110 0-173.4-73.2-173.4-194.9v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.6-3.2-8-7.4-4-49.5-40-83.4-93-83.4-65.3 0-102.1 48.5-102.1 135.5v52.6c0 85.7 36.9 133.6 102.1 133.6 52.8 0 88.7-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4z" /></svg>'},{name:"question-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 708c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z" /></svg>'},{name:"copyright-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z" /></svg>'}];!
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
function pK(t,n,e){(function U$(t,n,e){"string"!=typeof n&&(e=n,n=t[Ir.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),ld[n]=t,e&&(ld[n][Ir.ExtraData]=e)})(t,n,e)}(O1e);let P_e=(()=>{class t{injector;constructor(e){this.injector=e,window.LForms=Ws,customElements.get("wc-lhc-form")||customElements.define("wc-lhc-form",function zte(t,n){const e=function Mte(t,n){return n.get(X0).resolveComponentFactory(t).inputs}(t,n.injector),i=n.strategyFactory||new kte(t,n.injector),r=function Ste(t){const n={};return t.forEach(({propName:e,templateName:i,transform:r})=>{n[function bte(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}(i)]=[e,r]}),n}(e);class o extends Ite{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){const s=this._ngElementStrategy=i.create(this.injector||n.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;const h=this[l];delete this[l],s.setInputValue(l,h,c)})}return this._ngElementStrategy}_ngElementStrategy;constructor(s){super(),this.injector=s}attributeChangedCallback(s,l,c,h){const[g,L]=r[s];this.ngElementStrategy.setInputValue(g,c,L)}connectedCallback(){let s=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),s=!0),this.ngElementStrategy.connect(this),s||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(s=>{const l=new CustomEvent(s.name,{detail:s.value});this.dispatchEvent(l)})}}return e.forEach(({propName:a,transform:s})=>{Object.defineProperty(o.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(l){this.ngElementStrategy.setInputValue(a,l,s)},configurable:!0,enumerable:!0})}),o}(L_e,{injector:this.injector}))}ngDoBootstrap(){}static \u0275fac=function(i){return new(i||t)(It(Vr))};static \u0275mod=vi({type:t});static \u0275inj=kn({providers:[{provide:f8,useValue:HL},rae(oae())],imports:[DE,Nh,Eoe,ele,F2e,$2e,m6e,SP,w6e,R6e,ec.forRoot(O_e),$6e,M5e]})}return t})();(function LD(t,n,e){const i=t.\u0275cmp;i.directiveDefs=a3(n,CM),i.pipeDefs=a3(e,ta)})(Iy,function(){return[$s,nr,mR,A4,z4]},[]),zee().bootstrapModule(P_e).catch(t=>console.error(t))},9935(ne,se){"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.Ucum=void 0,se.Ucum={dimLen_:7,validOps_:[".","/"],codeSep_:": ",valMsgStart_:"Did you mean ",valMsgEnd_:"?",cnvMsgStart_:"We assumed you meant ",cnvMsgEnd_:".",openEmph_:" ->",closeEmph_:"<- ",openEmphHTML_:' <span class="emphSpan">',closeEmphHTML_:"</span> ",bracesMsg_:"FYI - annotations (text in curly braces {}) are ignored, except that an annotation without a leading symbol implies the default unit 1 (the unity).",needMoleWeightMsg_:"Did you wish to convert between mass and moles?  The molecular weight of the substance represented by the units is required to perform the conversion.",needEqWeightMsg_:"Did you wish to convert with equivalents?  The molecular weight of the substance is required to perform the conversion.",needEqChargeMsg_:"Did you wish to convert with equivalents?  The charge of the substance is required to perform the conversion.",csvCols_:{"case-sensitive code":"csCode_","LOINC property":"loincProperty_","name (display)":"name_",synonyms:"synonyms_",source:"source_",category:"category_",Guidance:"guidance_"},inputKey_:"case-sensitive code",specUnits_:{"B[10.nV]":"specialUnitOne","[m/s2/Hz^(1/2)]":"specialUnitTwo"}}},2937(ne,se,R){"use strict";se.f=void 0;var w=R(9935),q=R(9962);class K{constructor(_){if(0===w.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==_)this.assignZero();else if(_ instanceof Array){if(_.length!==w.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(_)}`);this.dimVec_=[];for(let p=0;p<w.Ucum.dimLen_;p++)this.dimVec_.push(_[p])}else if(q(_)){if(_<0||_>=w.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[_]=1}}setElementAt(_,p){if(!q(_)||_<0||_>=w.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${_})`);this.dimVec_||this.assignZero(),null==p&&(p=1),this.dimVec_[_]=p}getElementAt(_){if(!q(_)||_<0||_>=w.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${_})`);let p=null;return this.dimVec_&&(p=this.dimVec_[_]),p}getProperty(_){return this["_"===_.charAt(_.length-1)?_:_+"_"]}toString(){let _=null;return this.dimVec_&&(_="["+this.dimVec_.join(", ")+"]"),_}add(_){if(!_ instanceof K)throw new Error(`Dimension.add called with an invalid parameter - ${typeof _} instead of a Dimension object`);if(this.dimVec_&&_.dimVec_)for(let p=0;p<w.Ucum.dimLen_;p++)this.dimVec_[p]+=_.dimVec_[p];return this}sub(_){if(!_ instanceof K)throw new Error(`Dimension.sub called with an invalid parameter - ${typeof _} instead of a Dimension object`);if(this.dimVec_&&_.dimVec_)for(let p=0;p<w.Ucum.dimLen_;p++)this.dimVec_[p]-=_.dimVec_[p];return this}minus(){if(this.dimVec_)for(let _=0;_<w.Ucum.dimLen_;_++)this.dimVec_[_]=-this.dimVec_[_];return this}mul(_){if(!q(_))throw new Error(`Dimension.sub called with an invalid parameter - ${typeof dim2} instead of a number`);if(this.dimVec_)for(let p=0;p<w.Ucum.dimLen_;p++)this.dimVec_[p]*=_;return this}equals(_){if(!_ instanceof K)throw new Error(`Dimension.equals called with an invalid parameter - ${typeof _} instead of a Dimension object`);let p=!0,v=_.dimVec_;if(this.dimVec_&&v)for(let D=0;p&&D<w.Ucum.dimLen_;D++)p=this.dimVec_[D]===v[D];else p=null===this.dimVec_&&null===v;return p}assignDim(_){if(!_ instanceof K)throw new Error(`Dimension.assignDim called with an invalid parameter - ${typeof _} instead of a Dimension object`);if(null===_.dimVec_)this.dimVec_=null;else{null===this.dimVec_&&(this.dimVec_=[]);for(let p=0;p<w.Ucum.dimLen_;p++)this.dimVec_[p]=_.dimVec_[p]}return this}assignZero(){null==this.dimVec_&&(this.dimVec_=[]);for(let _=0;_<w.Ucum.dimLen_;_++)this.dimVec_.push(0);return this}isZero(){let _=null!==this.dimVec_;if(this.dimVec_)for(let p=0;_&&p<w.Ucum.dimLen_;p++)_=0===this.dimVec_[p];return _}isNull(){return null===this.dimVec_}clone(){let _=new K;return _.assignDim(this),_}}se.f=K},2447(ne,se){"use strict";se.YH=function v(D){const I=D&&D.config;if(I){if(I.length&&D.data){const M=K(I);return D.data.map(_.bind(null,M))}return D.data}return D};function K(D){return D.map(I=>Array.isArray(I)?I:[I])}function _(D,I){let M={};return D.forEach((E,A)=>{let G=M;for(let V=0;V<E.length-1;V++)G=G[E[V]]=G[E[V]]||{};G[E[E.length-1]]=I[A]}),M}},9261(ne,se,R){"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.Prefix=void 0,R(9935),se.Prefix=class w{constructor(K){if(null==K.code_||null==K.name_||null==K.value_||void 0===K.exp_)throw new Error("Prefix constructor called missing one or more parameters.  Prefix codes (cs or ci), name, value and exponent must all be specified and all but the exponent must not be null.");this.code_=K.code_,this.ciCode_=K.ciCode_,this.name_=K.name_,this.printSymbol_=K.printSymbol_,this.value_="string"==typeof K.value_?parseFloat(K.value_):K.value_,this.exp_=K.exp_}getValue(){return this.value_}getCode(){return this.code_}getCiCode(){return this.ciCode_}getName(){return this.name_}getPrintSymbol(){return this.printSymbol_}getExp(){return this.exp_}equals(K){return this.code_===K.code_&&this.ciCode_===K.ciCode_&&this.name_===K.name_&&this.printSymbol_===K.printSymbol_&&this.value_===K.value_&&this.exp_===K.exp_}}},5100(ne,se){"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.PrefixTables=se.PrefixTablesFactory=void 0;class R{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let K="",$=Object.keys(this.byValue_),_=$.length;for(let p=0;p<_;p++){let v=this.getPrefixByValue($[p]);K+=v.code_+","+v.name_+",,"+v.value_+"\r\n"}return K}allPrefixesByCode(){let K=[],$=Object.keys(this.byCode_);$.sort();let _=$.length;for(let p=0;p<_;p++)K.push(this.getPrefixByCode($[p]));return K}add(K){this.byCode_[K.getCode()]=K,this.byValue_[K.getValue()]=K}isDefined(K){return null!=this.byCode_[K]}getPrefixByCode(K){return this.byCode_[K]}getPrefixByValue(K){return this.byValue_[K]}}se.PrefixTablesFactory=R;var P=new R;se.PrefixTables={getInstance:function(){return P}}},6350(ne,se){"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.default=void 0;var P=new class R{constructor(){this.funcs={},this.funcs.cel={cnvTo:function(q){return q-273.15},cnvFrom:function(q){return q+273.15}},this.funcs.degf={cnvTo:function(q){return q-459.67},cnvFrom:function(q){return q+459.67}},this.funcs.degre={cnvTo:function(q){return q-273.15},cnvFrom:function(q){return q+273.15}},this.funcs.ph={cnvTo:function(q){return-Math.log(q)/Math.LN10},cnvFrom:function(q){return Math.pow(10,-q)}},this.funcs.ln={cnvTo:function(q){return Math.log(q)},cnvFrom:function(q){return Math.exp(q)}},this.funcs["2ln"]={cnvTo:function(q){return 2*Math.log(q)},cnvFrom:function(q){return Math.exp(q/2)}},this.funcs.lg={cnvTo:function(q){return Math.log(q)/Math.LN10},cnvFrom:function(q){return Math.pow(10,q)}},this.funcs["10lg"]={cnvTo:function(q){return 10*Math.log(q)/Math.LN10},cnvFrom:function(q){return Math.pow(10,q/10)}},this.funcs["20lg"]={cnvTo:function(q){return 20*Math.log(q)/Math.LN10},cnvFrom:function(q){return Math.pow(10,q/20)}},this.funcs["2lg"]={cnvTo:function(q){return 2*Math.log(q)/Math.LN10},cnvFrom:function(q){return Math.pow(10,q/2)}},this.funcs.lgtimes2=this.funcs["2lg"],this.funcs.ld={cnvTo:function(q){return Math.log(q)/Math.LN2},cnvFrom:function(q){return Math.pow(2,q)}},this.funcs["100tan"]={cnvTo:function(q){return 100*Math.tan(q)},cnvFrom:function(q){return Math.atan(q/100)}},this.funcs.tanTimes100=this.funcs["100tan"],this.funcs.sqrt={cnvTo:function(q){return Math.sqrt(q)},cnvFrom:function(q){return q*q}},this.funcs.inv={cnvTo:function(q){return 1/q},cnvFrom:function(q){return 1/q}},this.funcs.hpX={cnvTo:function(q){return-this.funcs.lg(q)},cnvFrom:function(q){return Math.pow(10,-q)}},this.funcs.hpC={cnvTo:function(q){return-this.func.ln(q)/this.funcs.ln(100)},cnvFrom:function(q){return Math.pow(100,-q)}},this.funcs.hpM={cnvTo:function(q){return-this.funcs.ln(q)/this.funcs.ln(1e3)},cnvFrom:function(q){return Math.pow(1e3,-q)}},this.funcs.hpQ={cnvTo:function(q){return-this.funcs.ln(q)/this.funcs.ln(5e4)},cnvFrom:function(q){return Math.pow(5e4,-q)}}}forName(q){q=q.toLowerCase();let K=this.funcs[q];if(null===K)throw new Error(`Requested function ${q} is not defined`);return K}isDefined(q){return q=q.toLowerCase(),null!==this.funcs[q]}};se.default=P},3537(ne,se,R){"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.isNumericString=function w($){let _=""+$;return!isNaN(_)&&!isNaN(parseFloat(_))},se.isIntegerUnit=function q($){return/^\d+$/.test($)},se.getSynonyms=function K($){let _={},v={};if(v=P.getInstance().getUnitBySynonym($),v.units){_.status="succeeded";let D=v.units.length;_.units=[];for(let I=0;I<D;I++){let M=v.units[I];_.units[I]={code:M.csCode_,name:M.name_,guidance:M.guidance_}}}else _.status=v.status,_.msg=v.msg;return _};var P=R(4870).UnitTables},6077(ne,se,R){"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.ucumJsonDefs=se.UcumJsonDefs=void 0;var P=R(9261),w=R(5100),q=R(7095),K=R(4870),$=R(2447).YH;class _{loadJsonDefs(){const D=R(3380);if(D.prefixes=$(D.prefixes),D.units=$(D.units),0===K.UnitTables.getInstance().unitsCount()){let I=w.PrefixTables.getInstance(),M=D.prefixes,E=M.length;for(let Y=0;Y<E;Y++){let Q=new P.Prefix(M[Y]);I.add(Q)}let A=K.UnitTables.getInstance(),G=D.units,V=G.length;for(let Y=0;Y<V;Y++){let Q=new q.Unit(G[Y]);A.addUnit(Q)}}}}se.UcumJsonDefs=_;var p=new _;se.ucumJsonDefs=p},1181(ne,se,R){"use strict";se.l=void 0;var w=R(6077),q=function K(D,I){if("function"==typeof WeakMap)var M=new WeakMap,E=new WeakMap;return function(A,G){if(!G&&A&&A.__esModule)return A;var V,Y,Q={__proto__:null,default:A};if(null===A||"object"!=typeof A&&"function"!=typeof A)return Q;if(V=G?E:M){if(V.has(A))return V.get(A);V.set(A,Q)}for(const X in A)"default"!==X&&{}.hasOwnProperty.call(A,X)&&((Y=(V=Object.defineProperty)&&Object.getOwnPropertyDescriptor(A,X))&&(Y.get||Y.set)?V(Q,X,Y):Q[X]=A[X]);return Q}(D,I)}(R(3537)),$=R(9935).Ucum,_=R(4870).UnitTables,p=R(6834).o;class v{constructor(){0===_.getInstance().unitsCount()&&w.ucumJsonDefs.loadJsonDefs(),this.uStrParser_=p.getInstance(),this.massDimIndex_=_.getInstance().getMassDimensionIndex()}useHTMLInMessages(I){void 0===I&&(I=!0),this.uStrParser_.useHTMLInMessages(I)}useBraceMsgForEachString(I){void 0===I&&(I=!0),this.uStrParser_.useBraceMsgForEachString(I)}validateUnitString(I,M,E){void 0===M&&(M=!1),void 0===E&&(E="validate");let A=this.getSpecifiedUnit(I,E,M),G=A.unit,V=G?{ucumCode:A.origString,unit:{code:G.csCode_,name:G.name_,guidance:G.guidance_}}:{ucumCode:null};return V.status=A.status,A.suggestions&&(V.suggestions=A.suggestions),V.msg=A.retMsg,V}detectConversionType(I,M){let E;return E=I.moleExp_==M.moleExp_&&I.equivalentExp_==M.equivalentExp_?"normal":I.equivalentExp_==M.equivalentExp_?"mol|mass":I.moleExp_==M.moleExp_?"eq|mass":I.dim_.getElementAt(this.massDimIndex_)==M.dim_.getElementAt(this.massDimIndex_)?"eq|mol":"eq|mol|mass",E}convertUnitTo(I,M,E,A={}){let{suggest:G=!1,molecularWeight:V=null,charge:Y=null}=A,Q={status:"failed",toVal:null,msg:[]};if(I&&(I=I.trim()),(!I||""==I)&&(Q.status="error",Q.msg.push('No "from" unit expression specified.')),this._checkFromVal(M,Q),E&&(E=E.trim()),(!E||""==E)&&(Q.status="error",Q.msg.push('No "to" unit expression specified.')),"error"!==Q.status){let X=null,de=this.getSpecifiedUnit(I,"convert",G);X=de.unit,de.retMsg&&(Q.msg=Q.msg.concat(de.retMsg)),de.suggestions&&(Q.suggestions={},Q.suggestions.from=de.suggestions),X||Q.msg.push(`Unable to find a unit for ${I}, so no conversion could be performed.`);let fe=null;if(de=this.getSpecifiedUnit(E,"convert",G),fe=de.unit,de.retMsg&&(Q.msg=Q.msg.concat(de.retMsg)),de.suggestions&&(Q.suggestions||(Q.suggestions={}),Q.suggestions.to=de.suggestions),fe||Q.msg.push(`Unable to find a unit for ${E}, so no conversion could be performed.`),X&&fe){const we=this.detectConversionType(X,fe),ze=Q.msg.length;switch(we){case"normal":try{Q.toVal=fe.convertFrom(M,X)}catch(qe){Q.msg.push(qe.message)}break;case"mol|mass":if(!X.isMolMassCommensurable(fe)){Q.msg.push(`Sorry.  ${I} cannot be converted to ${E}.`);break}if(!V){Q.msg.push($.needMoleWeightMsg_);break}Q.toVal=X.convertMolMass(M,fe,V);break;case"eq|mass":if(!X.isEqMassCommensurable(fe)){Q.msg.push(`Sorry.  ${I} cannot be converted to ${E}.`);break}V||Q.msg.push($.needEqWeightMsg_),Y||Q.msg.push($.needEqChargeMsg_),Q.msg.length||(Q.toVal=X.convertEqMass(M,fe,V,Y));break;case"eq|mol":if(!X.isEqMolCommensurable(fe)){Q.msg.push(`Sorry.  ${I} cannot be converted to ${E}.`);break}if(!Y){Q.msg.push($.needEqChargeMsg_);break}Q.toVal=X.convertEqMol(M,fe,Y);break;case"eq|mol|mass":if(!X.isEqMolMassCommensurable(fe)){Q.msg.push(`Sorry.  ${I} cannot be converted to ${E}.`);break}V||Q.msg.push($.needEqWeightMsg_),Y||Q.msg.push($.needEqChargeMsg_),Q.msg.length||(Q.toVal=X.convertEqMolMass(M,fe,V,Y));break;default:Q.msg.push("Unknown conversion type.  No conversion was attempted.")}Q.msg.length>ze?Q.status="failed":(Q.status="succeeded",Q.fromUnit=X,Q.toUnit=fe)}}return Q}convertToBaseUnits(I,M){let E={};if(this._checkFromVal(M,E),!E.status){let A=this.getSpecifiedUnit(I,"validate");E={status:"valid"==A.status?"succeeded":A.status};let G=A.unit;if(E.msg=A.retMsg||[],G){if(G.isArbitrary_)E.msg.push("Arbitrary units cannot be converted to base units or other units."),E.status="failed";else if("succeeded"==E.status){let V={},Y=G.dim_?.dimVec_,Q="1";if(Y){let fe=_.getInstance().dimVecIndexToBaseUnit_;for(let we=0,ze=Y.length;we<ze;++we){let qe=Y[we];qe&&(V[fe[we]]=qe,Q+="."+fe[we]+qe)}}let X=this.getSpecifiedUnit(Q,"validate"),de=X.unit;if("valid"!==X.status)E.msg.push("Unable construct base unit string; tried "+Q),E.status="error";else{try{E.magnitude=de.convertFrom(M,G)}catch(fe){E.msg.push(fe.toString()),E.status="error"}"succeeded"==E.status&&(E.unitToExp=V,E.fromUnitIsSpecial=G.isSpecial_)}}}else 0==A.retMsg?.length&&E.msg.push("Could not find unit information for "+I)}return E}_checkFromVal(I,M){(null===I||isNaN(I)||"number"!=typeof I&&!q.isNumericString(I))&&(M.status="error",M.msg||(M.msg=[]),M.msg.push('No "from" value, or an invalid "from" value, was specified.'))}checkSynonyms(I){let M={};return null==I?(M.status="error",M.msg="No term specified for synonym search."):M=q.getSynonyms(I),M}getSpecifiedUnit(I,M,E){void 0===E&&(E=!1);let A={retMsg:[]};if(I){let G=_.getInstance();I=I.trim();let V=G.getUnitByCode(I);if(V)A.unit=V,A.origString=I;else try{let Y=this.uStrParser_.parseString(I,M,E);A.unit=Y[0],A.origString=Y[1],Y[2]&&(A.retMsg=Y[2]),A.suggestions=Y[3]}catch(Y){console.log(`Unit requested for unit string ${I}.request unsuccessful; error thrown = `+Y.message),A.retMsg.unshift(`${I} is not a valid unit.  ${Y.message}`)}}else A.retMsg.push("No unit string specified.");return A.status=A.unit?A.origString===I?"valid":"invalid":A.origString?"invalid":"error",A}commensurablesList(I,M=null){let E=[],A=null,G=this.getSpecifiedUnit(I,"validate",!1),V=G.unit;if(G.retMsg.length>0&&(E=G.retMsg),V){let Y=null,Q=V.getProperty("dim_");if(Q){try{Y=Q.getProperty("dimVec_")}catch(X){E.push(X.message),"Dimension does not have requested property(dimVec_)"===X.message&&(Y=null)}Y&&(A=_.getInstance().getUnitsByDimension(Y),M&&(A=A.filter(de=>-1!==M.indexOf(de.category_))))}else E.push("No commensurable units were found for "+I)}else E.push(`Could not find unit ${I}.`);return[A,E]}}se.l=v,v.getInstance=function(){return new v}},5801(ne,se,R){"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.UnitTables=se.UcumLhcUtils=se.Ucum=void 0;var P=R(9935).Ucum;se.Ucum=P;var w=R(1181).l;se.UcumLhcUtils=w;var q=R(4870).UnitTables;se.UnitTables=q},7095(ne,se,R){"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.Unit=void 0;var p,P=function K(I){return I&&I.__esModule?I:{default:I}}(R(6350)),w=function q(I,M){if("function"==typeof WeakMap)var E=new WeakMap,A=new WeakMap;return function(G,V){if(!V&&G&&G.__esModule)return G;var Y,Q,X={__proto__:null,default:G};if(null===G||"object"!=typeof G&&"function"!=typeof G)return X;if(Y=V?A:E){if(Y.has(G))return Y.get(G);Y.set(G,X)}for(const de in G)"default"!==de&&{}.hasOwnProperty.call(G,de)&&((Q=(Y=Object.defineProperty)&&Object.getOwnPropertyDescriptor(G,de))&&(Q.get||Q.set)?Y(X,de,Q):X[de]=G[de]);return X}(I,M)}(R(3537)),$=R(9935).Ucum,_=R(2937).f,v=R(9962);class D{constructor(M={}){this.isBase_=M.isBase_||!1,this.name_=M.name_||"",this.csCode_=M.csCode_||"",this.ciCode_=M.ciCode_||"",this.property_=M.property_||"",this.magnitude_=M.magnitude_||1,this.dim_=null==M.dim_?new _:void 0!==M.dim_.dimVec_?new _(M.dim_.dimVec_):M.dim_ instanceof _?M.dim_:M.dim_ instanceof Array||v(M.dim_)?new _(M.dim_):new _,this.printSymbol_=M.printSymbol_||null,this.class_=M.class_||null,this.isMetric_=M.isMetric_||!1,this.variable_=M.variable_||null,this.cnv_=M.cnv_||null,this.cnvPfx_=M.cnvPfx_||1,this.isSpecial_=M.isSpecial_||!1,this.isArbitrary_=M.isArbitrary_||!1,this.moleExp_=M.moleExp_||0,this.equivalentExp_=M.equivalentExp_||0,this.synonyms_=M.synonyms_||null,this.source_=M.source_||null,this.loincProperty_=M.loincProperty_||null,this.category_=M.category_||null,this.guidance_=M.guidance_||null,this.csUnitString_=M.csUnitString_||null,this.ciUnitString_=M.ciUnitString_||null,this.baseFactorStr_=M.baseFactorStr_||null,this.baseFactor_=M.baseFactor_||null,this.defError_=M.defError_||!1}assignUnity(){return this.name_="",this.magnitude_=1,this.dim_||(this.dim_=new _),this.dim_.assignZero(),this.cnv_=null,this.cnvPfx_=1,this}assignVals(M){for(let E in M){let A="_"===!E.charAt(E.length-1)?E+"_":E;if(!this.hasOwnProperty(A))throw new Error(`Parameter error; ${E} is not a property of a Unit`);this[A]=M[E]}}clone(){let M=new D;return Object.getOwnPropertyNames(this).forEach(E=>{"dim_"===E?M.dim_=this.dim_?this.dim_.clone():null:M[E]=this[E]}),M}assign(M){Object.getOwnPropertyNames(M).forEach(E=>{"dim_"===E?this.dim_=M.dim_?M.dim_.clone():null:this[E]=M[E]})}equals(M){return this.magnitude_===M.magnitude_&&this.cnv_===M.cnv_&&this.cnvPfx_===M.cnvPfx_&&(null===this.dim_&&null===M.dim_||this.dim_.equals(M.dim_))}fullEquals(M){let E=Object.keys(this).sort(),A=Object.keys(M).sort(),G=E.length,V=G===A.length;for(let Y=0;Y<G&&V;Y++)V=E[Y]===A[Y]&&("dim_"===E[Y]?this.dim_.equals(M.dim_):this[E[Y]]===M[E[Y]]);return V}getProperty(M){return this["_"===M.charAt(M.length-1)?M:M+"_"]}convertFrom(M,E){let A=0;if(this.isArbitrary_)throw new Error(`Attempt to convert to arbitrary unit "${this.csCode_}"`);if(E.isArbitrary_)throw new Error(`Attempt to convert arbitrary unit "${E.csCode_}"`);if(E.dim_&&this.dim_&&!E.dim_.equals(this.dim_))throw this.isMolMassCommensurable(E)?new Error($.needMoleWeightMsg_):new Error(`Sorry.  ${E.csCode_} cannot be converted to ${this.csCode_}.`);if(E.dim_&&(!this.dim_||this.dim_.isNull()))throw new Error(`Sorry.  ${E.csCode_} cannot be converted to ${this.csCode_}.`);if(this.dim_&&(!E.dim_||E.dim_.isNull()))throw new Error(`Sorry.  ${E.csCode_} cannot be converted to ${this.csCode_}.`);let Y,G=E.cnv_,V=E.magnitude_;return Y=null!=G?P.default.forName(G).cnvFrom(M*E.cnvPfx_)*V:M*V,A=null!=this.cnv_?P.default.forName(this.cnv_).cnvTo(Y/this.magnitude_)/this.cnvPfx_:Y/this.magnitude_,A}convertTo(M,E){return E.convertFrom(M,this)}convertCoherent(M){return null!==this.cnv_&&(M=this.cnv_.f_from(M/this.cnvPfx_)*this.magnitude_),M}mutateCoherent(M){M=this.convertCoherent(M),this.magnitude_=1,this.cnv_=null,this.cnvPfx_=1,this.name_="";for(let E=0,A=_.getMax();E<A;E++){let G=this.dim_.getElementAt(E),Y=this._getUnitTables().getUnitsByDimension(new _(E));if(null==Y)throw new Error(`Can't find base unit for dimension ${E}`);this.name_=Y.name+G}return M}convertMolMass(M,E,A){const G=this.moleExp_-E.moleExp_;let Y=this._getUnitTables().getUnitByCode("mol").magnitude_,Q=Math.pow(A/Y,G);return this.magnitude_/E.magnitude_*Q*M}convertEqMass(M,E,A,G){const V=E.equivalentExp_-this.equivalentExp_;let Y=A/G,Q=this._getUnitTables().getUnitByCode("mol").magnitude_;return this.magnitude_*M/Math.pow(Y,V)/(E.magnitude_/Math.pow(Q,V))}convertEqMolMass(M,E,A,G){const Y=M/Math.pow(G,this.equivalentExp_-E.equivalentExp_),Q=this._getUnitTables(),X=Q.getMassDimensionIndex(),fe=-(this.dim_.getElementAt(X)-E.dim_.getElementAt(X)),we=Q.getUnitByCode("mol").magnitude_;let ze=Math.pow(A/we,fe);return this.magnitude_/E.magnitude_*ze*Y}isEquivalentUnit(){return 0!==this.equivalentExp_}isMolarUnit(){return 0!==this.moleExp_}convertEqMol(M,E,A){return M*(this.magnitude_/E.magnitude_)/Math.pow(A,this.equivalentExp_-E.equivalentExp_)}mutateRatio(M){return null==this.cnv_?this.mutateCoherent(M):M}multiplyThis(M){let E=this.clone();null!=E.cnv_?E.cnvPfx_*=M:E.magnitude_*=M;let A=M.toString();return E.name_=this._concatStrs(A,"*",this.name_,"[","]"),E.csCode_=this._concatStrs(A,".",this.csCode_,"(",")"),E.ciCode_=this._concatStrs(A,".",this.ciCode_,"(",")"),E.printSymbol_=this._concatStrs(A,".",this.printSymbol_,"(",")"),E}multiplyThese(M){var E=this.clone();if(null!=E.cnv_){if(null!=M.cnv_||M.dim_&&!M.dim_.isZero())throw new Error(`Attempt to multiply non-ratio unit ${E.name_} failed.`);E.cnvPfx_*=M.magnitude_}else if(null!=M.cnv_){if(E.dim_&&!E.dim_.isZero())throw new Error(`Attempt to multiply non-ratio unit ${M.name_}`);E.cnvPfx_=M.cnvPfx_*E.magnitude_,E.magnitude_=M.magnitude_,E.cnv_=M.cnv_}else E.magnitude_*=M.magnitude_;return!E.dim_||E.dim_&&!E.dim_.dimVec_?E.dim_=M.dim_?M.dim_.clone():M.dim_:M.dim_&&M.dim_ instanceof _&&E.dim_.add(M.dim_),E.equivalentExp_+=M.equivalentExp_,E.moleExp_+=M.moleExp_,E.name_=this._concatStrs(E.name_,"*",M.name_,"[","]"),E.csCode_=this._concatStrs(E.csCode_,".",M.csCode_,"(",")"),E.ciCode_&&M.ciCode_?E.ciCode_=this._concatStrs(E.ciCode_,".",M.ciCode_,"(",")"):M.ciCode_&&(E.ciCode_=M.ciCode_),E.resetFieldsForDerivedUnit(),E.printSymbol_&&M.printSymbol_?E.printSymbol_=this._concatStrs(E.printSymbol_,".",M.printSymbol_,"(",")"):M.printSymbol_&&(E.printSymbol_=M.printSymbol_),E.isArbitrary_||(E.isArbitrary_=M.isArbitrary_),E.isSpecial_||(E.isSpecial_=M.isSpecial_),E}resetFieldsForDerivedUnit(){this.guidance_="",this.synonyms_=null,this.isBase_=!1}divide(M){var E=this.clone();if(null!=E.cnv_)throw new Error(`Attempt to divide non-ratio unit ${E.name_}`);if(null!=M.cnv_)throw new Error(`Attempt to divide by non-ratio unit ${M.name_}`);return E.name_&&M.name_?E.name_=this._concatStrs(E.name_,"/",M.name_,"[","]"):M.name_&&(E.name_=M.invertString(M.name_)),E.csCode_=this._concatStrs(E.csCode_,"/",M.csCode_,"(",")"),E.ciCode_&&M.ciCode_?E.ciCode_=this._concatStrs(E.ciCode_,"/",M.ciCode_,"(",")"):M.ciCode_&&(E.ciCode_=M.invertString(M.ciCode_)),E.resetFieldsForDerivedUnit(),E.magnitude_/=M.magnitude_,E.printSymbol_&&M.printSymbol_?E.printSymbol_=this._concatStrs(E.printSymbol_,"/",M.printSymbol_,"(",")"):M.printSymbol_&&(E.printSymbol_=M.invertString(M.printSymbol_)),M.dim_&&(E.dim_?(E.dim_.isNull()&&E.dim_.assignZero(),E.dim_=E.dim_.sub(M.dim_)):E.dim_=M.dim_.clone().minus()),E.moleExp_-=M.moleExp_,E.equivalentExp_-=M.equivalentExp_,E.isArbitrary_||(E.isArbitrary_=M.isArbitrary_),E}invert(){var M=this.clone();if(null!=this.cnv_)throw new Error(`Attempt to invert a non-ratio unit - ${this.name_}`);return M.name_=this.invertString(this.name_),M.magnitude_=1/this.magnitude_,M.dim_.minus(),M.equivalentExp_=-this.equivalentExp_,M.moleExp_=-this.moleExp_,M}invertString(M){if(M.length>0){let E=M.replace("/","!").replace(".","/").replace("<!","</").replace("!",".");switch(E.charAt(0)){case".":M=E.substr(1);break;case"/":M=E;break;default:M="/"+E}}return M}_concatStrs(M,E,A,G,V){return this._buildOneString(M,G,V)+E+this._buildOneString(A,G,V)}_buildOneString(M,E,A){let G="";return G=w.isNumericString(M)||"("===M.charAt(0)&&M.endsWith(")")||"["===M.charAt(0)&&M.endsWith("]")?M:/[./* ]/.test(M)?E+M+A:M,G}power(M){if(null!=this.cnv_)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);var E=this.clone();let G=this.csCode_.match(/([./]|[^./]+)/g),V=G.length;for(let Y=0;Y<V;Y++){let Q=G[Y];if("/"!==Q&&"."!==Q){let X=parseInt(Q);if(v(X))G[Y]=Math.pow(X,M).toString();else{let de=Q.length;for(let fe=de-1;fe>=0;fe--){let we=parseInt(Q[fe]);if(!v(we)){if(("-"===Q[fe]||"+"===Q[fe])&&fe--,fe<de-1){let ze=parseInt(Q.substr(fe));ze=Math.pow(ze,M),G[Y]=Q.substr(0,fe)+ze.toString(),fe=-1}else G[Y]+=M.toString(),fe=-1;fe=-1}}}}}return E.csCode_=G.join(""),E.magnitude_=Math.pow(this.magnitude_,M),E.dim_&&E.dim_.mul(M),E.equivalentExp_*=M,E.moleExp_*=M,E}isMolMassCommensurable(M){let A=this._getUnitTables().getMassDimensionIndex();const G=this.dim_.clone();G.setElementAt(A,G.getElementAt(A)+this.moleExp_);const V=M.dim_.clone();return V.setElementAt(A,V.getElementAt(A)+M.moleExp_),G.equals(V)}isEqMassCommensurable(M){let A=this._getUnitTables().getMassDimensionIndex();const G=this.dim_.clone();G.setElementAt(A,G.getElementAt(A)+this.equivalentExp_);const V=M.dim_.clone();return V.setElementAt(A,V.getElementAt(A)+M.equivalentExp_),G.equals(V)}isEqMolCommensurable(M){return this.equivalentExp_+this.moleExp_==M.equivalentExp_+M.moleExp_&&this.dim_.equals(M.dim_)}isEqMolMassCommensurable(M){const E=this._getUnitTables().getMassDimensionIndex(),A=this.dim_.clone();A.setElementAt(E,A.getElementAt(E)+this.equivalentExp_+this.moleExp_);const G=M.dim_.clone();return G.setElementAt(E,G.getElementAt(E)+M.equivalentExp_+M.moleExp_),A.equals(G)}_getUnitTables(){return p||(p=R(4870).UnitTables),p.getInstance()}}se.Unit=D},6834(ne,se,R){"use strict";se.o=void 0;var w=function q(E,A){if("function"==typeof WeakMap)var G=new WeakMap,V=new WeakMap;return function(Y,Q){if(!Q&&Y&&Y.__esModule)return Y;var X,de,fe={__proto__:null,default:Y};if(null===Y||"object"!=typeof Y&&"function"!=typeof Y)return fe;if(X=Q?V:G){if(X.has(Y))return X.get(Y);X.set(Y,fe)}for(const we in Y)"default"!==we&&{}.hasOwnProperty.call(Y,we)&&((de=(X=Object.defineProperty)&&Object.getOwnPropertyDescriptor(Y,we))&&(de.get||de.set)?X(fe,we,de):fe[we]=Y[we]);return fe}(E,A)}(R(3537));function K(E,A,G){return(A=function $(E){var A=function _(E,A){if("object"!=typeof E||!E)return E;var G=E[Symbol.toPrimitive];if(void 0!==G){var V=G.call(E,A||"default");if("object"!=typeof V)return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===A?String:Number)(E)}(E,"string");return"symbol"==typeof A?A:A+""}(A))in E?Object.defineProperty(E,A,{value:G,enumerable:!0,configurable:!0,writable:!0}):E[A]=G,E}var p=R(9935).Ucum,v=R(7095).Unit,D=R(4870).UnitTables,I=R(5100).PrefixTables;class M{constructor(){this.utabs_=D.getInstance(),this.pfxTabs_=I.getInstance(),this.openEmph_=p.openEmph_,this.closeEmph_=p.closeEmph_,this.bracesMsg_="",this.parensFlag_="parens_placeholder",this.pFlagLen_=this.parensFlag_.length,this.braceFlag_="braces_placeholder",this.bFlagLen_=this.braceFlag_.length,this.vcMsgStart_=null,this.vcMsgEnd_=null,this.retMsg_=[],this.parensUnits_=[],this.annotations_=[],this.suggestions=[]}useHTMLInMessages(A){void 0===A||A?(this.openEmph_=p.openEmphHTML_,this.closeEmph_=p.closeEmphHTML_):(this.openEmph_=p.openEmph_,this.closeEmph_=p.closeEmph_)}useBraceMsgForEachString(A){this.bracesMsg_=void 0===A||A?p.bracesMsg_:""}parseString(A,G,V){if(""===(A=A.trim())||null===A)throw new Error("Please specify a unit expression to be validated.");"validate"===G?(this.vcMsgStart_=p.valMsgStart_,this.vcMsgEnd_=p.valMsgEnd_):(this.vcMsgStart_=p.cnvMsgStart_,this.vcMsgEnd_=p.cnvMsgEnd_),this.suggestions_=void 0===V||!1===V?null:[],this.retMsg_=[],this.parensUnits_=[],this.annotations_=[];let Y=A,Q=[];if(A=this._getAnnotations(A),this.retMsg_.length>0)Q[0]=null,Q[1]=null;else{let de=null;for(de in p.specUnits_)for(;-1!==A.indexOf(de);)A=A.replace(de,p.specUnits_[de]);if(A.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");Q=this._parseTheString(A,Y);let fe=Q[0];(w.isIntegerUnit(fe)||"number"==typeof fe)&&(fe=new v({csCode_:Y,ciCode_:Y,magnitude_:fe,name_:Y}),Q[0]=fe)}return Q[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(Q[3]=this.suggestions_),Q}_parseTheString(A,G){let V=null,Y=this.retMsg_.length>0,Q=this._processParens(A,G);Y=Q[2];let X=[];if(!Y){let de=this._makeUnitsArray(A=Q[0],G=Q[1]);if(Y=de[2],!Y){X=de[0],G=de[1];let fe=X.length;for(let we=0;we<fe;we++){let ze=X[we].un;if(w.isIntegerUnit(ze))X[we].un=Number(ze);else if(ze.indexOf(this.parensFlag_)>=0){let qe=this._getParensUnit(ze,G);Y||(Y=qe[1]),Y||(X[we].un=qe[0])}else{let qe=this._makeUnit(ze,G);null===qe[0]?Y=!0:(X[we].un=qe[0],G=qe[1])}}}}return Y||(null===X[0]||" "===X[0]||null==X[0].un)&&0===this.retMsg_.length&&(this.retMsg_.push(`Unit string (${G}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package.  Sorry`),Y=!0),Y||(V=this._performUnitArithmetic(X,G)),[V,G]}_getAnnotations(A){let G=A.indexOf("{");for(;G>=0;){let V=A.indexOf("}");if(V<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+A.substr(G)+this.closeEmph_),G=-1;else{let Y=A.substring(G,V+1);if(M.VALID_ANNOTATION_REGEX.test(Y)){let Q=this.annotations_.length.toString();A=A.replace(Y,this.braceFlag_+Q+this.braceFlag_),this.annotations_.push(Y),G=A.indexOf("{")}else this.retMsg_.push(M.INVALID_ANNOTATION_CHAR_MSG+this.openEmph_+Y+this.closeEmph_),G=-1}}if(0==this.retMsg_.length){let V=A.indexOf("}");V>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+A.substring(0,V+1)+this.closeEmph_)}return A}_processParens(A,G){let V=[],Y=0,Q=!1,X=this.parensUnits_.length,de=0;for(;""!==A&&!Q;){let fe=0,we=0,ze=A.indexOf("(");if(ze<0){let qe=A.indexOf(")");if(qe>=0){let C=`Missing open parenthesis for close parenthesis at ${A.substring(0,qe+de)}${this.openEmph_}${A.substr(qe,1)}${this.closeEmph_}`;qe<A.length-1&&(C+=`${A.substr(qe+1)}`),this.retMsg_.push(C),V[Y]=A,Q=!0}else V[Y]=A,A=""}else{fe+=1;let qe=A.length;ze>0&&(V[Y++]=A.substr(0,ze));let C=0,Fe=ze+1;for(;Fe<qe&&fe!=we;Fe++)"("===A[Fe]?fe+=1:")"===A[Fe]&&(we+=1);if(fe===we){C=Fe,V[Y++]=this.parensFlag_+X.toString()+this.parensFlag_;let Ve=this._parseTheString(A.substring(ze+1,C-1),G);null===Ve[0]?Q=!0:"/"===A[ze+1]?(this.retMsg_.push("Unary operator '/' is only allowed at the beginning of the main term, not inside a parenthesis."),Q=!0):(G=Ve[1],this.parensUnits_[X++]=Ve[0],A=A.substr(C),de=C)}else V.push(G.substr(ze)),this.retMsg_.push(`Missing close parenthesis for open parenthesis at ${G.substring(0,ze+de)}${this.openEmph_}${G.substr(ze,1)}${this.closeEmph_}${G.substr(ze+1)}`),Q=!0}}return Q&&(this.parensUnits_=[]),[V.join(""),G,Q]}_makeUnitsArray(A,G){let V=A.match(/([./]|[^./]+)/g),Y=!1,Q=[],X=/(^[0-9]+)(\[?[a-zA-Z\_0-9a-zA-Z\_]+\]?$)/;if("/"===V[0]?V.unshift("1"):"."===V[0]&&(this.retMsg_.push(`${G} is not a valid UCUM code. The multiplication operator at the beginning of the expression is not valid. A multiplication operator must appear only between two codes.`),Y=!0),!Y){if(!w.isNumericString(V[0])){let de=V[0].match(X);if(de&&3===de.length&&""!==de[1]&&""!==de[2]&&0!==de[2].indexOf(this.braceFlag_)){let fe=de[2];if(!Y&&-1!==de[2].indexOf(this.parensFlag_)){let we=this._getParensUnit(de[2],G);de[2]=we[0].csCode_,fe=`(${de[2]})`,Y=we[1]}Y||(this.retMsg_.push(`${de[1]}${fe} is not a valid UCUM code.  ${this.vcMsgStart_}${de[1]}.${fe}${this.vcMsgEnd_}`),G=G.replace(`${de[1]}${fe}`,`${de[1]}.${fe}`),V[0]=de[2],V.unshift(de[1],"."))}}if(!Y){let de=V.length;Q=[{op:"",un:V[0]}];for(let fe=1;fe<de;fe++){let we=V[fe++];if(V[fe])if(-1!==p.validOps_.indexOf(V[fe]))this.retMsg_.push(`${G} is not a valid UCUM code. A unit code is missing between${this.openEmph_}${we}${this.closeEmph_}and${this.openEmph_}${V[fe]}${this.closeEmph_}in${this.openEmph_}${we}${V[fe]}${this.closeEmph_}.`),fe=de,Y=!0;else if(w.isNumericString(V[fe]))Q.push({op:we,un:V[fe]});else{let ze=V[fe].match(X);if(ze&&3===ze.length&&""!==ze[1]&&""!==ze[2]&&0!==ze[2].indexOf(this.braceFlag_)){let qe=ze[0];if(Y||-1===ze[2].indexOf(this.parensFlag_)){let C="("+ze[1]+"."+ze[2]+")",Fe=this._processParens(C,G);Fe[2]?(fe=de,Y=!0):(this.retMsg_.push(`${ze[0]} is not a valid UCUM code.  ${this.vcMsgStart_}${ze[1]}.${ze[2]}${this.vcMsgEnd_}`),G=G.replace(ze[0],C),Q.push({op:we,un:Fe[0]}))}else{let C=this._getParensUnit(ze[2],G);if(ze[2]=C[0].csCode_,qe=`(${ze[2]})`,Y=C[1],!Y){this.retMsg_.push(`${ze[1]}${qe} is not a valid UCUM code.  ${this.vcMsgStart_}${ze[1]}.${qe}${this.vcMsgEnd_}`);let Fe=`(${ze[1]}.${qe})`;G=G.replace(`${ze[1]}${qe}`,Fe);let Ve=this._processParens(Fe,G);Y=Ve[2],Y||Q.push({op:we,un:Ve[0]})}}}else Q.push({op:we,un:V[fe]})}else this.retMsg_.push(`${G} is not a valid UCUM code. It is terminated with the operator ${this.openEmph_}${we}${this.closeEmph_}.`),fe=de,Y=!0}}}return[Q,G,Y]}_getParensUnit(A,G){let V=!1,Q=null,fe=A.indexOf(this.parensFlag_),we=null;fe>0&&(we=A.substring(0,fe));let ze=A.lastIndexOf(this.parensFlag_),qe=null;ze+this.pFlagLen_<A.length&&(qe=A.substr(ze+this.pFlagLen_));let C=A.substring(fe+this.pFlagLen_,ze);if(!w.isNumericString(C))throw new Error(`Processing error - invalid parens number ${C} found in ${A}.`);if(Q=this.parensUnits_[Number(C)],A=w.isIntegerUnit(Q)?Q:Q.csCode_,we)if(w.isNumericString(we)){let Fe=Q.getProperty("magnitude_");Fe*=Number(we),Q.assignVals({magnitude_:Fe}),this.retMsg_.push(`${we}${A=`${we}.${A}`} is not a valid UCUM code.\n`+this.vcMsgStart_+A+this.vcMsgEnd_)}else if(we.indexOf(this.braceFlag_)>=0){let Fe=this._getAnnoText(we,G);if(Fe[1]||Fe[2])throw new Error(`Text found before the parentheses (${we}) included an annotation along with other text for parenthetical unit ${Q.csCode_}`);this.retMsg_.push(`The annotation ${Fe[0]} before the unit code is invalid.\n`+this.vcMsgStart_+(A+=Fe[0])+this.vcMsgEnd_)}else this.retMsg_.push(`${we} preceding the unit code ${A} is invalid.  Unable to make a substitution.`),V=!0;if(qe)if(qe.indexOf(this.braceFlag_)>=0){let Fe=this._getAnnoText(qe,G);if(Fe[1]||Fe[2])throw new Error(`Text found after the parentheses (${qe}) included an annotation along with other text for parenthetical unit ${Q.csCode_}`);A+=Fe[0]}else if(w.isNumericString(qe)){Q=null;let Fe=`An exponent (${qe}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification.`;A.match(/\d$/)||(Fe+="\n  "+this.vcMsgStart_+(A+=qe)+this.vcMsgEnd_),this.retMsg_.push(Fe),V=!0}else this.retMsg_.push(`Text ${qe} following the unit code ${A} is invalid.  Unable to make a substitution.`),V=!0;return V||(Q?w.isIntegerUnit(Q)?Q=new v({csCode_:Q,magnitude_:Q,name_:Q}):Q.csCode_=A:Q=new v({csCode_:A,magnitude_:1,name_:A})),[Q,V]}_getAnnoText(A,G){let V=A.indexOf(this.braceFlag_),Y=V>0?A.substring(0,V):null;0!==V&&(A=A.substr(V));let Q=A.indexOf(this.braceFlag_,1),X=Q+this.bFlagLen_<A.length?A.substr(Q+this.bFlagLen_):null,de=A.substring(this.bFlagLen_,Q),fe=Number(de);if(!w.isNumericString(de)||fe>=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${de} found in ${A} that was created from ${G}`);return[A=this.annotations_[fe],Y,X]}_getSuggestions(A){let G=w.getSynonyms(A);if("succeeded"===G.status){let V={};V.msg=`${A} is not a valid UCUM code.  We found possible units that might be what was meant:`,V.invalidUnit=A;let Y=G.units.length;V.units=[];for(let Q=0;Q<Y;Q++){let X=G.units[Q];V.units.push([X.code,X.name,X.guidance])}this.suggestions_.push(V)}else this.retMsg_.push(`${A} is not a valid UCUM code.  No alternatives were found.`);return G.status}_makeUnit(A,G){let V=this.utabs_.getUnitByCode(A);if(V)V=V.clone();else if(A.indexOf(this.braceFlag_)>=0){let Y=this._getUnitWithAnnotation(A,G);V=Y[0],V&&(G=Y[1])}else{if(A.indexOf("^")>-1){let Y=A.replace("^","*");V=this.utabs_.getUnitByCode(Y),V&&(V=V.clone(),V.csCode_=V.csCode_.replace("*","^"),V.ciCode_=V.ciCode_.replace("*","^"))}if(!V){let Y="["+A+"]";V=this.utabs_.getUnitByCode(Y),V&&(V=V.clone(),G=G.replace(A,Y),this.retMsg_.push(`${A} is not a valid unit expression, but ${Y} is.\n`+this.vcMsgStart_+`${Y} (${V.name_})${this.vcMsgEnd_}`))}if(!V){let Y=this.utabs_.getUnitByName(A);if(Y&&Y.length>0){V=Y[0].clone();let Q="The UCUM code for "+A+" is "+V.csCode_+".\n"+this.vcMsgStart_+V.csCode_+this.vcMsgEnd_,X=!1;for(let we=0;we<this.retMsg_.length&&!X;we++)X=this.retMsg_[we]===Q;X||this.retMsg_.push(Q);let de=new RegExp("(^|[./({])("+A+")($|[./)}])"),fe=G.match(de);G=G.replace(de,fe[1]+V.csCode_+fe[3]),A=V.csCode_}}if(!V){let Y=null;for(Y in p.specUnits_)-1!==A.indexOf(p.specUnits_[Y])&&(A=A.replace(p.specUnits_[Y],Y));V=this.utabs_.getUnitByCode(A),V&&(V=V.clone())}if(!V){let Y=A,Q=null,X=null,de=null,fe=null,we=null,ze=null,qe=this._isCodeWithExponent(A),C=!1;if(qe&&(X=qe[1],C=w.isIntegerUnit(A=qe[0]),Q=C?new v({csCode_:A,ciCode_:A,magnitude_:Number(A),name_:A}):this.utabs_.getUnitByCode(A)),X&&isNaN(X))V=null,this.retMsg_.push(`${Y} is not a valid UCUM code.`);else if(!Q&&(de=A.charAt(0),fe=this.pfxTabs_.getPrefixByCode(de),fe)&&(we=fe.getValue(),ze=fe.getExp(),A=A.substr(de.length),Q=this.utabs_.getUnitByCode(A),!Q&&"d"==de&&"a"==A.substr(0,1)&&(de="da",fe=this.pfxTabs_.getPrefixByCode(de),we=fe.getValue(),A=A.substr(1),Q=this.utabs_.getUnitByCode(A)),Q&&"LOINC"==Q.source_&&(Q=null)),Q){V=Q.clone(),V.resetFieldsForDerivedUnit();let Fe=V.getProperty("dim_"),Ve=V.getProperty("magnitude_"),Ct=V.getProperty("name_"),Yt=V.getProperty("ciCode_"),Sn=V.getProperty("printSymbol_");if(X){X=parseInt(X);let Gt=X;Fe&&(Fe=Fe.mul(X)),V.equivalentExp_*=X,V.moleExp_*=X,Ve=Math.pow(Ve,X),V.assignVals({magnitude_:Ve}),fe&&ze&&(Gt*=fe.getExp(),we=Math.pow(10,Gt))}fe&&(V.cnv_?V.assignVals({cnvPfx_:we}):(Ve*=we,V.assignVals({magnitude_:Ve})));let ht=V.csCode_;if(fe&&(Ct=fe.getName()+Ct,ht=de+ht,Yt=fe.getCiCode()+Yt,Sn=fe.getPrintSymbol()+Sn,V.assignVals({name_:Ct,csCode_:ht,ciCode_:Yt,printSymbol_:Sn})),X){let Gt=X.toString();const Hn=C&&X>0?"+":"";V.assignVals({name_:Ct+"<sup>"+Gt+"</sup>",csCode_:ht+Hn+Gt,ciCode_:Yt+Hn+Gt,printSymbol_:Sn+"<sup>"+Gt+"</sup>"})}}else V=null,this.suggestions_?this._getSuggestions(Y):this.retMsg_.push(`${Y} is not a valid UCUM code.`)}}return[V,G]}_getUnitWithAnnotation(A,G){let V=null,Y=this._getAnnoText(A,G),Q=Y[0],X=Y[1],de=Y[2];this.bracesMsg_&&-1===this.retMsg_.indexOf(this.bracesMsg_)&&this.retMsg_.push(this.bracesMsg_);let fe=this.retMsg_.length;if(X||de)if(X&&!de)if(w.isIntegerUnit(X))V=new v({csCode_:X+Q,ciCode_:X+Q.toUpperCase(),magnitude_:Number(X),name_:X+Q});else{let we=this._makeUnit(X,G);we[0]?(V=we[0],V.csCode_+=Q,G=we[1]):this.retMsg_.push(`Unable to find a unit for ${X} that precedes the annotation ${Q}.`)}else if(!X&&de)if(w.isIntegerUnit(de))V=de+Q,this.retMsg_.push(`The annotation ${Q} before the ``${de} is invalid.\n`+this.vcMsgStart_+V+this.vcMsgEnd_);else{let we=this._makeUnit(de,G);we[0]?(V=we[0],V.csCode_+=Q,G=V.csCode_,this.retMsg_.push(`The annotation ${Q} before the unit code is invalid.\n`+this.vcMsgStart_+V.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${X} that follows the annotation ${Q}.`)}else this.retMsg_.push(`Unable to find a unit for ${X}${Q}${de}.\nWe are not sure how to interpret text both before and after the annotation.  Sorry`);else{let we="["+Q.substring(1,Q.length-1)+"]",ze=this._makeUnit(we,G);ze[0]?(V=A,this.retMsg_.push(`${Q} is a valid unit expression, but did you mean ${we} (${ze[0].name_})?`)):this.retMsg_.length>fe&&this.retMsg_.pop(),V=new v({csCode_:Q,ciCode_:Q,magnitude_:1,name_:Q})}return[V,G]}_performUnitArithmetic(A,G){let V=A[0].un;w.isIntegerUnit(V)&&(V=new v({csCode_:V,ciCode_:V,magnitude_:Number(V),name_:V}));let Y=A.length,Q=!1;for(let X=1;X<Y&&!Q;X++){let de=A[X].un;if(w.isIntegerUnit(de)&&(de=new v({csCode_:de,ciCode_:de,magnitude_:Number(de),name_:de})),null===de||"number"!=typeof de&&!de.getProperty){let fe=`Unit string (${G}) contains unrecognized element`;de&&(fe+=` (${this.openEmph_}${de.toString()}${this.closeEmph_})`),fe+="; could not parse full string.  Sorry",this.retMsg_.push(fe),Q=!0}else try{V="/"===A[X].op?V.divide(de):V.multiplyThese(de)}catch(fe){this.retMsg_.unshift(fe.message),Q=!0,V=null}}return V}_isCodeWithExponent(A){let G=[],V=A.match(/(^[^\-\+]+?)([\-\+\d]+)$/);return V&&V[2]&&""!==V[2]?(G.push(V[1]),G.push(V[2])):G=null,G}}se.o=M,K(M,"INVALID_ANNOTATION_CHAR_MSG","An invalid character was found in the annotation "),K(M,"VALID_ANNOTATION_REGEX",/^\{[!-z|~]*\}$/),M.getInstance=function(){return new M}},4870(ne,se,R){"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.UnitTables=void 0;var P=R(9935).Ucum,q=new class w{constructor(){this.unitNames_={},this.unitCodes_={},this.codeOrder_=[],this.unitStrings_={},this.unitDimensions_={},this.unitSynonyms_={},this.massDimIndex_=0,this.dimVecIndexToBaseUnit_={}}unitsCount(){return Object.keys(this.unitCodes_).length}addUnit(_){_.name_&&this.addUnitName(_),this.addUnitCode(_),this.addUnitString(_);try{_.dim_.getProperty("dimVec_")&&this.addUnitDimension(_)}catch{}if(_.isBase_){const v=_.dim_.dimVec_;let D;for(let I=0,M=v.length;null==D&&I<M;++I)0!=v[I]&&(D=I);this.dimVecIndexToBaseUnit_[D]=_.csCode_}}addUnitName(_){let p=_.name_;if(!p)throw new Error(`UnitTables.addUnitName called for a unit with no name.  Unit code = ${_.csCode_}.`);this.unitNames_[p]?this.unitNames_[p].push(_):this.unitNames_[p]=[_]}addUnitCode(_){let p=_.csCode_;if(!p)throw new Error("UnitTables.addUnitCode called for unit that has no code.");if(this.unitCodes_[p])throw new Error(`UnitTables.addUnitCode called, already contains entry for unit with code = ${p}`);if(this.unitCodes_[p]=_,this.codeOrder_.push(p),"g"==p){let v=_.dim_.dimVec_,D=0;for(;D<v.length&&v[D]<1;D++);this.massDimIndex_=D}}addUnitString(_){let p=null;if(p=1==P.caseSensitive_?_.csUnitString_:_.ciUnitString_,p){let v={mag:_.baseFactorStr_,unit:_};this.unitStrings_[p]?this.unitStrings_[p].push(v):this.unitStrings_[p]=[v]}}addUnitDimension(_){let p=_.dim_.getProperty("dimVec_");if(!p)throw new Error(`UnitTables.addUnitDimension called for a unit with no dimension.  Unit code = ${_.csCode_}.`);this.unitDimensions_[p]?this.unitDimensions_[p].push(_):this.unitDimensions_[p]=[_]}buildUnitSynonyms(){for(let _ in this.unitCodes_){let p=this.unitCodes_[_],v=p.synonyms_;if(v){let D=v.split(";");if(""!==D[0]){let I=D.length;for(let M=0;M<I;M++){let E=D[M].trim();this.addSynonymCodes(_,E)}}}this.addSynonymCodes(_,p.name_)}}addSynonymCodes(_,p){let v=p.split(" "),D=v.length;for(let I=0;I<D;I++){let M=v[I];this.unitSynonyms_[M]?-1===this.unitSynonyms_[M].indexOf(_)&&this.unitSynonyms_[M].push(_):this.unitSynonyms_[M]=[_]}}getUnitByCode(_){let p=null;return _&&(p=this.unitCodes_[_]),p}getUnitByName(_){if(null==_)throw new Error("Unable to find unit by name because no name was provided.");let p=_.indexOf(P.codeSep_),v=null;p>=1&&(v=_.substr(p+P.codeSep_.length),_=_.substr(0,p));let D=this.unitNames_[_];if(D){let I=D.length;if(v&&I>1){let M=0;for(;D[M].csCode_!==v&&M<I;M++);D=M<I?[D[M]]:null}}return D}getUnitByString(_){let p=null;return _&&(p=this.unitStrings_[_],void 0===p&&(p=null)),p}getUnitsByDimension(_){let p=null;if(null==_)throw new Error("Unable to find unit by because no dimension vector was provided.");return p=this.unitDimensions_[_],null==p&&console.log(`Unable to find unit with dimension = ${_}`),p}getUnitBySynonym(_){let p={},v=[];try{if(null==_)throw p.status="error",new Error("Unable to find unit by synonym because no synonym was provided.");0===Object.keys(this.unitSynonyms_).length&&this.buildUnitSynonyms();let D=[];if(D=this.unitSynonyms_[_],D){p.status="succeeded";let I=D.length;for(let M=0;M<I;M++)v.push(this.unitCodes_[D[M]]);p.units=v}0===v.length&&(p.status="failed",p.msg=`Unable to find any units with synonym = ${_}`)}catch(D){p.msg=D.message}return p}getAllUnitNames(){return Object.keys(this.unitNames_)}getUnitNamesList(){let _=[],p=Object.keys(this.unitCodes_);p.sort(this.compareCodes);let v=p.length;for(let D=0;D<v;D++)_[D]=p[D]+P.codeSep_+this.unitCodes_[p[D]].name_;return _}getMassDimensionIndex(){return this.massDimIndex_}compareCodes(_,p){return(_=(_=_.replace(/[\[\]]/g,"")).toLowerCase())<(p=(p=p.replace(/[\[\]]/g,"")).toLowerCase())?-1:1}getAllUnitCodes(){return Object.keys(this.unitCodes_)}allUnitsByDef(){let _=[],p=this.codeOrder_.length;for(let v=0;v<p;v++)_.push(this.getUnitByCode(this.codeOrder_[v]));return _}allUnitsByName(_,p){null==p&&(p="|");let v="",D=this.getAllUnitNames(),I=D.length,M=_.length;for(let E=0;E<I;E++){let A=this.getUnitByName(D[E]);for(let G=0;G<A.length;G++){let V=A[G];for(let Y=0;Y<M;Y++)if(Y>0&&(v+=p),"dim_"===_[Y])v+=null!=V.dim_&&V.dim_.dimVec_ instanceof Array?"["+V.dim_.dimVec_.join(",")+"]":"";else{let Q=V[_[Y]];v+="string"==typeof Q?Q.replace(/[\n\r]/g," "):Q}v+="\r\n"}}return v}printUnits(_,p){void 0===_&&(_=!1),void 0===p&&(p="|");let v="",D=this.codeOrder_.length,I="csCode"+p;_&&(I+="ciCode"+p),I+="name"+p,_&&(I+="isBase"+p),I+="magnitude"+p+"dimension"+p+"from unit(s)"+p+"value"+p+"function"+p,_&&(I+="property"+p+"printSymbol"+p+"synonyms"+p+"source"+p+"class"+p+"isMetric"+p+"variable"+p+"isSpecial"+p+"isAbitrary"+p),I+="comment",v=I+"\n";for(let M=0;M<D;M++){let E=this.getUnitByCode(this.codeOrder_[M]);I=this.codeOrder_[M]+p,_&&(I+=E.getProperty("ciCode_")+p),I+=E.getProperty("name_")+p,_&&(E.getProperty("isBase_")?I+="true"+p:I+="false"+p),I+=E.getProperty("magnitude_")+p;let A=E.getProperty("dim_");I+=A?A.dimVec_+p:"null"+p,I+=E.csUnitString_?E.csUnitString_+p+E.baseFactor_+p:"null"+p+"null"+p,I+=E.cnv_?E.cnv_+p:"null"+p,_&&(I+=E.getProperty("property_")+p+E.getProperty("printSymbol_")+p+E.getProperty("synonyms_")+p+E.getProperty("source_")+p+E.getProperty("class_")+p+E.getProperty("isMetric_")+p+E.getProperty("variable_")+p+E.getProperty("isSpecial_")+p+E.getProperty("isArbitrary_")+p),E.defError_&&(I+="problem parsing this one, deferred to later."),v+=I+"\n"}return v}};se.UnitTables={getInstance:function(){return q}}},2219(ne,se,R){"use strict";var w=R(840)("ArrayBuffer.prototype.byteLength",!0),q=R(3066);ne.exports=function($){return q($)?w?w($):$.byteLength:NaN}},1994(ne){ne.exports=function se(R){R.FieldAlarms.soundData_="data:audio/mp3;base64, "}},8898(ne){if(typeof se>"u")var se={};ne.exports=function R(P,w){"use strict";var q=w.PrototypeAPI.Browser,K=!!window.attachEvent&&!q.isOpera||typeof navigator<"u"&&navigator.userAgent.indexOf("Trident")>=0,$=w.jqueryLite.ui.keyCode;w.Autocompleter={isIE:K,currentAutoCompField_:-1,USE_STATISTICS:2,NO_COMPLETION_SUGGESTIONS:0,SUGGEST_SHORTEST:1,LIST_ITEM_FIELD_SEP:" - ",screenReaderLog_:new w.ScreenReaderLog,setOptions:function(p){Object.assign(this,p)},getFieldVal:function(p){return p.value},setFieldVal:function(p,v,D){var I;p.autocomp?p.autocomp.setFieldVal(v,D):(typeof D>"u"&&(D=!0),D&&(I=this.getFieldVal(p)),p.value=v,D&&I!==v&&w.Event.simulate(p,"change"))},getFieldLookupKey:w.Observable.lookupKey,lookupFields:function(p){for(var v=[],D=0,I=document.forms.length;D<I;++D){var M=document.forms[D].elements[p];void 0!==M&&v.push(M)}return v},findRelatedFields:function(p,v){return this.lookupFields(v)},getFieldLabel:function(p){return null},listItemElementContainer:function(){var p=document.querySelector("#completionOptions").firstChild;return p&&"TABLE"===p.tagName&&(p=p.tBodies[0]),p},listItemElements:function(){var p=null,v=this.listItemElementContainer();return v&&(p=v.childNodes),p},setOffAlarm:function(p){w.FieldAlarms.setOffAlarm(p)},cancelAlarm:function(p){w.FieldAlarms.cancelAlarm(p)},stopEvent:function(p){p.stopImmediatePropagation(),p.preventDefault()},screenReaderLog:function(p){w.Autocompleter.screenReaderLog_.add(p)},createDOMCache:function(p,v){var D={data:{},get:function(I){var M=this.data[I];return void 0===M&&(M=this.data[I]=this.refresh[I].apply(this)),M},set:function(I,M){this.data[I]=M},invalidate:function(I){I?delete this.data[I]:this.data={}},refresh:{}};return Object.assign(D,p),Object.assign(D.refresh,v),D}},w.Autocompleter.Base=function(){},Object.assign(w.Autocompleter.Base,{MAX_ITEMS_BELOW_FIELD:7,classInit_:!1,classInit:function(){this.classInit_||(document.body.insertAdjacentHTML("beforeend",'<div id="lhc-tools-searchResults" class="form_auto_complete">              <div id="completionOptionsScroller">             <span class="auto_complete" id="completionOptions"></span>              </div>              <div id="lhc-tools-moreResults">See more items (Ctl Ret)</div>              <div id="lhc-tools-searchCount">Search Results\x3c!-- place holder for result count,               needed for height calculation--\x3e</div>              <div id="lhc-tools-searchHint">Search Hint\x3c!--place holder--\x3e</div>              </div>'),document.querySelector("#lhc-tools-moreResults").addEventListener("mousedown",function(p){var v=P(w.Autocompleter.currentAutoCompField_);v.autocomp.handleSeeMoreItems(p),w.Autocompleter.Event.notifyObservers(v,"LIST_EXP",{list_expansion_method:"clicked"})}),document.querySelector("#completionOptionsScroller").addEventListener("mousedown",function(p){if(w.Autocompleter.isIE&&"completionOptionsScroller"===p.target.id&&(w.Autocompleter.stopEvent(p),w.Autocompleter.completionOptionsScrollerClicked_=!0,-1!=P(w.Autocompleter.currentAutoCompField_))){var v=P(w.Autocompleter.currentAutoCompField_);setTimeout(function(){v.focus()})}}.bind(this)),this.classInit_=!0)},noCaseSort:function(p,v){var D=p.toLowerCase(),I=v.toLowerCase();return D>I?1:D<I?-1:0},escapeAttribute:w.PrototypeAPI.escapeAttribute,unescapeAttribute:function(p){return p.replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">")}}),w.Autocompleter.sharedDOMCache=w.Autocompleter.createDOMCache({},{spacerDiv:function(){var p=P("spacer");return p||((p=document.createElement("div")).setAttribute("id","spacer"),document.body.appendChild(p)),p},listContainer:function(){return P("lhc-tools-searchResults")},firstEntryWidth:function(){return w.Autocompleter.listItemElements()[0].offsetWidth},listBoundingRect:function(){return this.get("listContainer").getBoundingClientRect()},viewPortWidth:function(){return document.documentElement.clientWidth},spacerCoords:function(){return this.get("spacerDiv").getBoundingClientRect()}});var _={constructorOpts_:null,scoreField_:null,scoreFieldInitialized_:!1,itemToDataIndex_:null,selectedCodes_:null,selectedItems_:null,selectedItemData_:null,matchListValue_:null,invalidStatus_:!1,matchStatus_:!0,focusInProgress_:!1,refocusInProgress_:!1,listBelowField_:!0,listContainer:null,recDataRequester_:null,enabled_:!0,preFieldFillVal_:null,fieldValIsListVal_:null,indexToHeadingLevel_:{},suggestionMode_:w.Autocompleter.SUGGEST_SHORTEST,lastScrollEffect_:null,multiSelect_:!1,listExtraData_:null,processedFieldVal_:null,tokenGroupingFunction_:p=>p,defAutocompleterBaseInit:function(p,v){v||(v={}),v.wordBoundaryChars&&(v.tokens=v.wordBoundaryChars),v.tokenGroupingFunction&&(this.tokenGroupingFunction_=v.tokenGroupingFunction),void 0!==v.suggestionMode&&(this.suggestionMode_=v.suggestionMode),this.twoColumnFlow_=v.twoColumnFlow,void 0===this.twoColumnFlow_&&(this.twoColumnFlow_=!0),this.caseInsenstiveSelection_=v.caseInsenstiveSelection,void 0===this.caseInsenstiveSelection_&&(this.caseInsenstiveSelection_=!0),v.tokens||void 0===v.maxSelect?v.maxSelect=1:"*"===v.maxSelect&&(v.maxSelect=1/0),this.multiSelect_=1!==v.maxSelect,this.scrolledContainer_=void 0!==v.scrolledContainer?v.scrolledContainer:document.documentElement,void 0===(this.nonMatchSuggestions_=v.nonMatchSuggestions)&&(this.nonMatchSuggestions_=!1),this.constructorOpts_=v,this.initStoredSelectionData();var D=v.dataRequester;if(w.Autocompleter.Base.classInit_||w.Autocompleter.Base.classInit(),this.matchListValue_=v.matchListValue||!1,this.recDataRequester_=D,this.update=P("completionOptions"),this.options=v,this.options.frequency=this.options.frequency||.01,this.options.minChars=this.options.minChars||1,this.element="string"==typeof p?P(p):p,!this.element)throw"string"==typeof p?new Error("Could not find the field with id '"+p+'"'):new Error("The autocompleter constructor requires an field element or an ID");if(this.ensureNeededAttrs(),this.hasFocus=!1,this.changed=!1,this.active=!1,this.index=0,this.entryCount=0,this.observer=null,this.element.setAttribute("autocomplete","off"),this.update.style.display="none;",this.elementEventListeners={},this.addEventListenerToElement("blur",this.onBlur.bind(this)),this.addEventListenerToElement("keydown",this.onKeyPress.bind(this)),this.options.tokens&&this.addEventListenerToElement("click",function(){this.tokenBounds=null,this.getTokenBounds(this.element.selectionStart)}.bind(this)),v.maxSelect>1){var I=document.createElement("span");I.classList.add("autocomp_selected"),this.element.parentNode.replaceChild(I,this.element),I.appendChild(document.createElement("ul")),I.appendChild(this.element),this.selectedList=I.firstChild}this.element.setAttribute("role","combobox"),this.element.setAttribute("aria-expanded","false"),this.onMouseDownListener=this.onMouseDown.bind(this),this.addEventListenerToElement("change",this.onChange.bind(this)),this.addEventListenerToElement("keypress",this.changeToFieldByKeys.bind(this));var E=function(){this.typedSinceLastFocus_=!0}.bind(this);this.addEventListenerToElement("paste",E),this.addEventListenerToElement("cut",E),this.listContainer=w.Autocompleter.sharedDOMCache.get("listContainer"),this.options.showList=this.showList.bind(this),this.options.hideList=this.hideList.bind(this),this.options.posAnsList=this.posAnsList.bind(this),this.update.style.display="block",this.element.autocomp=this,this.index=-1,this.initDOMCache(),this.oldElementValue=this.domCache.get("elemVal")},setFieldVal:function(p,v){var D;typeof v>"u"&&(v=!0),v&&(D=this.domCache.get("elemVal")),this.domCache.set("elemVal",this.element.value=this.oldElementValue=p),this.tokenBounds=null,v&&D!==p&&w.Event.simulate(this.element,"change")},ensureNeededAttrs:function(){var p=this.element;""===p.id&&(w.Autocompleter.lastGeneratedID_||(w.Autocompleter.lastGeneratedID_=0),p.id="ac"+ ++w.Autocompleter.lastGeneratedID_)},initStoredSelectionData:function(){this.selectedCodes_={},this.selectedItems_={},this.selectedItemData_=[]},clearStoredSelection:function(){this.initStoredSelectionData(),this.multiSelect_&&(this.selectedList.innerHTML="")},dupDataReqForField:function(p){var v=null;return this.recDataRequester_&&(v=this.recDataRequester_.dupForField(p)),v},getSelectedCodes:function(){for(var p=this.getSelectedItems(),v=[],D=0,I=p.length;D<I;++D)v.push(this.selectedCodes_[p[D]]);return v},getSelectedItems:function(){return Object.keys(this.selectedItems_)},getSelectedItemData:function(){return this.selectedItemData_.length>0?this.selectedItemData_:null},storeSelectedItem:function(p,v){if(void 0===p&&(p=this.domCache.get("elemVal"),v=this.getItemCode(p)),this.multiSelect_||this.clearStoredSelection(),p){var I,D=null!=v;D&&(this.selectedCodes_[p]=v),this.selectedItems_[p]=1,this.getItemData?I=this.getItemData(p):(I={text:p},D&&(I.code=v)),this.selectedItemData_.push(I)}},getItemCode:function(p){this.itemToDataIndex_||this.initItemToDataIndex();var v=this.itemToDataIndex_[p],D=null;return void 0!==v&&this.itemCodes_&&(D=this.itemCodes_[v]),D},addToSelectedArea:function(p){var v=w.Autocompleter.Base.escapeAttribute(p);return this.selectedList.insertAdjacentHTML("beforeend",'<li><button type="button" aria-label="&quot;'+v+'&quot; item remove"><span aria-hidden="true">&times;</span></button>'+v+"</li>"),this.selectedList.lastChild.childNodes[0].addEventListener("click",this.removeSelection.bind(this)),v},moveEntryToSelectedArea:function(){var p=this.addToSelectedArea(this.domCache.get("elemVal"));if(this.setFieldVal(this.processedFieldVal_="",!1),w.Autocompleter.screenReaderLog("Selected "+p),this.index>=0){var v=w.Autocompleter.listItemElementContainer();v.removeChild(this.getCurrentEntry()),--this.entryCount;for(var D=v.childNodes,I=this.index,M=D.length;I<M;++I)D[I].autocompleteIndex=I;if(this.index==this.entryCount&&--this.index,this.numHeadings_){for(var E=this.index;this.index<this.entryCount&&this.liIsHeading(this.getCurrentEntry());)++this.index;if(this.index==this.entryCount)for(this.index=E-1;this.index>0&&this.liIsHeading(this.getCurrentEntry());)--this.index}this.render()}this.active=!0,this.hasFocus=!0,this.posAnsList()},removeSelection:function(p){var v=p.target.parentNode;"SPAN"===p.target.tagName&&(v=v.parentNode),v.parentNode.removeChild(v);var D=v.childNodes[1].textContent;delete this.selectedCodes_[D],delete this.selectedItems_[D];for(var I=0,M=this.selectedItemData_.length;I<M;++I)if(this.selectedItemData_[I].text===D){this.selectedItemData_.splice(I,1);break}this.listSelectionNotification(D,!0,!0),w.Autocompleter.screenReaderLog("Unselected "+D)},isSelected:function(p){return this.selectedItems_&&void 0!==this.selectedItems_[p]},getScoreField:function(){return this.scoreFieldInitialized_||(this.scoreField_=w.Autocompleter.getScoreField(this.element),this.scoreField_&&(this.scoreFieldInitialized_=!0)),this.scoreField_},changeToFieldByKeys:function(p){if(!this.typedSinceLastFocus_){var v=!1;typeof p.which>"u"?v=!0:"number"==typeof p.which&&p.which>0&&(v=!p.ctrlKey&&!p.metaKey&&!p.altKey&&8!==p.which),this.typedSinceLastFocus_=v}},addObservers:function(p){p.addEventListener("mousedown",this.onMouseDownListener)},listItemValue:function(p){return this.options.tableFormat?p.getAttribute("data-fieldval"):p.textContent},markPrevious:function(){null===this.preFieldFillVal_&&(this.preFieldFillVal_=this.domCache.get("elemVal"));var v,p=this.index;-1===p&&(p=this.entryCount-1);do{this.index>0?this.index--:this.index=this.entryCount-1,v=this.getCurrentEntry();var D=this.listItemValue(v);this.itemTextIsHeading(D)&&(w.Autocompleter.screenReaderLog("Above list heading: "+D),v=null)}while(!v&&this.index!==p);v&&(this.scrollToShow(v,this.update.parentNode),this.updateElementAfterMarking(v))},markNext:function(){null===this.preFieldFillVal_&&(this.preFieldFillVal_=this.domCache.get("elemVal"));var v,p=this.index;-1===p&&(p=this.entryCount-1);do{this.index<this.entryCount-1?this.index++:this.index=0,v=this.getCurrentEntry();var D=this.listItemValue(v);this.itemTextIsHeading(D)&&(w.Autocompleter.screenReaderLog("Under list heading: "+D),v=null)}while(!v&&this.index!==p);v&&(this.scrollToShow(v,this.update.parentNode),this.updateElementAfterMarking(v))},updateElementAfterMarking:function(p){var v=this.tokenBounds;if(this.updateElement(p),this.options.tokens?(this.getTokenBounds(v&&v[0]),this.element.setSelectionRange(this.tokenBounds[0],this.tokenBounds[1])):this.element.select(),this.options.tableFormat){var D=[],I=p.querySelectorAll("td");if(I.length>1){for(var M=0,E=I.length;M<E;++M)D.push(I[M].innerText);w.Autocompleter.screenReaderLog(D.join("; "))}}},hideList:function(){w.Autocompleter.currentAutoCompField_===this.element.id&&("visible"!==this.listContainer.style.visibility||(this.listContainer.style.visibility="hidden",this.listShowing=!1,this.listContainer.setAttribute("aria-hidden","true"),this.element.setAttribute("aria-expanded","false"),window.removeEventListener("resize",this.windowResizeEventHandler)))},showList:function(){var p="visible"!==this.listContainer.style.visibility;this.listContainer.style.visibility="visible",this.listShowing=!0,this.listContainer.setAttribute("aria-hidden","false"),this.element.setAttribute("aria-expanded","true"),p&&!this.temporaryHide_&&this.entryCount>0&&(w.Autocompleter.screenReaderLog("A list has appeared below the "+this.getFieldName()+"."),this.options.tableFormat&&this.options.colHeaders&&w.Autocompleter.screenReaderLog("The column headers on the multi-column list are "+this.options.colHeaders.join("; "))),this.windowResizeEventHandler=this.posAnsList.bind(this),window.addEventListener("resize",this.windowResizeEventHandler)},getFieldName:function(){if(void 0===this.fieldName_){var p=w.Autocompleter.getFieldLabel(this.element.id);this.fieldName_=null===p?"field":'field "'+p+'"'}return this.fieldName_},scrollToShow:function(p,v){if(p.offsetTop<v.scrollTop)v.scrollTop=p.offsetTop;else{var D=p.clientHeight,I=v.clientHeight;p.offsetTop+D-v.scrollTop>I&&(v.scrollTop=p.offsetTop+D-I)}},pageOptionsUpOrDown:function(p){var I,v=document.querySelector("#completionOptionsScroller"),D=v.clientHeight;if(p)v.scrollTop>0&&((I=v.scrollTop-D)<0&&(I=0),v.scrollTop=I);else{var E=document.querySelector("#completionOptions").clientHeight-D;E<0&&(E=0),v.scrollTop<E&&((I=v.scrollTop+D)>E&&(I=E),v.scrollTop=I)}},isSearchKey:function(p){return p.ctrlKey&&p.keyCode===$.ENTER},onKeyPress:function(p){if(this.enabled_){var v=p.keyCode,D=!0;if(this.fieldEventIsBigList(p))p.stopImmediatePropagation(),this.preFieldFillVal_&&this.setFieldVal(this.preFieldFillVal_,!1),this.handleSeeMoreItems(p),w.Autocompleter.Event.notifyObservers(this.element,"LIST_EXP",{list_expansion_method:"CtrlRet"});else{var I=$;switch(v){case I.ENTER:this.multiSelect_&&w.Autocompleter.stopEvent(p),this.handleDataEntry(p);break;case I.TAB:""!==this.domCache.get("elemVal")&&this.handleDataEntry(p);break;case I.ESCAPE:null!==this.preFieldFillVal_&&(this.setFieldVal(this.preFieldFillVal_,!1),w.Autocompleter.Event.notifyObservers(this.element,"CANCEL",{restored_value:this.preFieldFillVal_})),this.active&&(this.index=-1,this.hide(),this.active=!1);break;default:if(this.active)switch(v){case I.PAGE_UP:this.pageOptionsUpOrDown(!0);break;case I.PAGE_DOWN:this.pageOptionsUpOrDown(!1);break;default:if(p.ctrlKey)D=!1;else switch(v){case I.DOWN:case I.UP:v===I.UP?this.markPrevious():this.markNext(),this.render(),w.Autocompleter.stopEvent(p);break;case I.LEFT:case I.RIGHT:this.options.tokens&&(this.tokenBounds=null,this.getTokenBounds()),!p.ctrlKey&&this.index>=0&&this.update.classList.contains("multi_col")&&this.moveToOtherColumn(p);break;default:D=!1}}else D=!1}}D||(!p.ctrlKey||86===v)&&16!==v&&17!==v&&0!==v&&(this.preFieldFillVal_=null,this.changed=!0,this.hasFocus=!0,this.matchListItemsToField_=!0,this.observer&&clearTimeout(this.observer),this.observer=setTimeout(this.onObserverEvent.bind(this),1e3*this.options.frequency))}},setMatchStatusIndicator:function(p){p!==this.matchStatus_&&(p?this.element.classList.contains("no_match")&&(this.element.classList.remove("no_match"),w.Autocompleter.screenReaderLog("The field no longer contains a non-matching value.")):(this.element.classList.add("no_match"),w.Autocompleter.screenReaderLog("The field's value does not match any items in the list.")),this.matchStatus_=p)},setInvalidValIndicator:function(p){p?(w.Autocompleter.setOffAlarm(this.element),this.invalidStatus_||(this.element.classList.add("invalid"),this.element.setAttribute("invalid",!0))):this.invalidStatus_&&(this.element.classList.remove("invalid"),this.element.setAttribute("invalid",!1)),this.invalidStatus_=p},cancelInvalidValIndicator:function(){w.Autocompleter.cancelAlarm(this.element)},updateChoices:function(p,v){if(this.index=-1,!this.changed&&this.hasFocus){this.update.innerHTML=p;var D=this.update.firstChild;D&&D.tHead&&D.tHead.addEventListener("mousedown",function(A){w.Autocompleter.stopEvent(A)});var I=w.Autocompleter.listItemElements();if(I){var M;if(this.entryCount=I.length,this.suggestionMode_!==w.Autocompleter.NO_COMPLETION_SUGGESTIONS&&this.entryCount>0&&!this.focusInProgress_&&v){for(M=0;this.liIsHeading(I[M])&&M<this.entryCount;++M);this.index=M}for(M=0;M<this.entryCount;M++){var E=this.getEntry(M);E.autocompleteIndex=M,this.addObservers(E)}}else this.entryCount=0;1===this.entryCount&&this.options.autoSelect?(this.selectEntry(),this.hide()):this.render(),this.focusInProgress_||this.setMatchStatusIndicator(this.entryCount>0||""===this.trimmedElemVal)}},pickedByNumber:function(){return this.add_seqnum&&this.trimmedElemVal.match(/^\d+$/)},pickBestMatch:function(p){var v=this.trimmedElemVal.toLowerCase(),D=p.length,I=-1;if(v.length>0&&D>0){for(var M=-1,E=1/0,A=-1,G=E,V=-1,Y=E,Q=0;Q<D;++Q){var X=p[Q];if(!this.itemTextIsHeading(X)){var de=X.toLowerCase(),fe=(de=de.replace(/^\W+/,"")).indexOf(v),we=X.length;0===fe?/(^\d+$)/.test(v)?(A=0,G=0):we<G&&(A=Q,G=we):-1===A&&(fe>0?we<Y&&(V=Q,Y=we):-1===V&&we<E&&(E=we,M=Q))}}I=A>-1?A:V>-1?V:M}return I},posAnsList:function(){this.posListBelowFieldInMultiCol(),this.index>0&&this.scrollToShow(this.getCurrentEntry(),P("completionOptionsScroller"))},posListBelowFieldInMultiCol:function(){var p=w.Autocompleter.sharedDOMCache,v=this.domCache.element,D=this.update;this.domCache.invalidate("elemPos"),p.invalidate("firstEntryWidth"),p.invalidate("listBoundingRect"),p.invalidate("viewPortWidth"),D.style.height&&(D.style.height=""),this.setListWrap(!1),D.style.width="auto",P("completionOptionsScroller").style.height="",this.listContainer.style.width="",this.listHeight=void 0;var I=this.listContainer;I.style.display="none";var M=this.domCache.get("elemPos");I.style.display="";var E=0,A=document.documentElement.style;/^-(\d+\.?\d*)px$/.test(A.top)&&(E=Number(RegExp.$1)),I.style.top=M.top+E+v.offsetHeight+"px";var G=this.scrolledContainer_,V=document.documentElement.clientHeight,Y=V,X=(Q=p.get("listBoundingRect")).bottom;if(X<=Y)this.setListLeft();else{var de=this.twoColumnFlow_&&!this.options.tableFormat&&this.entryCount>4;if(de&&(de=this.setListWrap(!0))&&(X=p.get("listBoundingRect").bottom),de&&X<=Y)this.setListLeft();else{var fe=v.getBoundingClientRect(),we=void 0;if(!G||G===document.documentElement&&this.getFixedPositionedParent(v))we=window.innerHeight-fe.bottom;else{this.lastScrollEffect_&&this.lastScrollEffect_.cancel();var ze=X-Y,qe=fe.top,C=0,Fe=this.constructorOpts_.headerBar;if(Fe){var Ve=document.getElementById(Fe);Ve&&(C=Ve.offsetHeight)}var Ct,Yt=G.getBoundingClientRect().top;ze>(Ct=Yt>C?qe-Yt:qe-C)&&(ze=Ct,we=V-fe.height-C),X=void 0===we?p.get("listBoundingRect").bottom:p.get("listBoundingRect").top+we;var Sn=p.get("spacerCoords");X>Sn.bottom&&(p.get("spacerDiv").style.height=X-Sn.top+"px",p.invalidate("spacerCoords")),this.lastScrollEffect_=new w.Effect.Scroll(G,{y:ze,duration:.4})}if(void 0!==we){this.setListHeight(we);var Hn=p.get("viewPortWidth"),Q=p.get("listBoundingRect");p.listWrap&&Q.width>Hn&&this.setListWrap(!1)}this.setListLeft()}}},getFixedPositionedParent:function(p){const v=p.offsetParent;return v?"fixed"===window.getComputedStyle(v).position?v:this.getFixedPositionedParent(v):null},initDOMCache:function(){var p=this,v=w.Autocompleter;this.domCache=v.createDOMCache({element:p.listPositioningElem()},{elemPos:function(){return w.jqueryLite.getElementOffset(this.element)},elemVal:function(){return v.getFieldVal(p.element)}})},listPositioningElem:function(){return this.multiSelect_?this.element.parentNode:this.element},setListWrap:function(p){var v=w.Autocompleter.sharedDOMCache;if(p!==v.listWrap){if(p){var D=2*v.get("firstEntryWidth")+4;D<=v.get("viewPortWidth")&&(this.listContainer.style.width=D+"px",this.update.classList.add("multi_col"),v.listWrap=!0)}else this.update.classList.remove("multi_col"),this.listContainer.style.width="",v.listWrap=!1,v.invalidate("viewPortWidth");v.invalidate("listBoundingRect"),this.domCache.invalidate("elemPos")}return v.listWrap},setListLeft:function(){var p=this.listContainer,v=w.Autocompleter.sharedDOMCache,D=v.get("viewPortWidth"),I=v.get("listBoundingRect"),M=this.domCache.get("elemPos"),E=I.width-(D-M.left);E<0&&(E=0);var A=M.left-E;A<0&&(A=0);var G=w.Autocompleter.sharedDOMCache;G.listPosLeft!==A&&(p.style.left=A+"px",G.listPosLeft=A)},setListHeight:function(I){var v=w.Autocompleter.sharedDOMCache,D=v.get("listBoundingRect");I=I-D.height+this.update.offsetHeight,this.listContainer.style.width=D.width+20+"px",I>=20&&(P("completionOptionsScroller").style.height=I+"px",v.invalidate("listBoundingRect"))},getToken:function(){var p=this.domCache.get("elemVal");if(this.options.tokens){var v=this.getTokenBounds();p=p.substring(v[0],v[1])}return p},getTokenBounds:function(){return function(p){if(null!=this.tokenBounds)return this.tokenBounds;var v=this.domCache.get("elemVal");if(""===v.trim())return[-1,0];for(var A,D=void 0!==p?p:this.element.selectionStart,I=D==this.oldElementValue.length?1:0,M=-1,E=v.length,G=0,V=this.options.tokens.length;G<V;++G)(A=v.lastIndexOf(this.options.tokens[G],D+I-1))>M&&(M=A),-1!=(A=v.indexOf(this.options.tokens[G],D+I))&&A<E&&(E=A);return this.tokenBounds=[M+1,E]}}(),dupForField:function(p){throw"dupForField must be overridden by autocompleter subclasses."},initItemToDataIndex:function(){throw"initItemToDataIndex must be overridden by autocompleter classes that need it"},propagateFieldChanges:function(p){void 0===p&&(p=this.matchStatus_),this.recDataRequester_&&(p&&""!==this.domCache.get("elemVal").trim()?this.recDataRequester_.requestData():this.recDataRequester_.clearDataOutputFields())},getValTyped:function(){return null===this.preFieldFillVal_?this.domCache.get("elemVal"):this.preFieldFillVal_},listSelectionNotification:function(p,v,D){var I;void 0===D?D=!1:D&&(I=p,p=""),void 0===I&&(I=this.domCache.get("elemVal"));var M=this.clickSelectionInProgress_?"clicked":null===this.preFieldFillVal_?"typed":"arrows",E="typed"!==M&&v,A=this.options.tokens?this.getTokenSeparatedCode_(I):this.getItemCode(I);this.options.tokens&&void 0!==this.pendingQueriesForCode_&&this.pendingQueriesForCode_.length?Promise.allSettled(this.pendingQueriesForCode_).then(()=>{var G=this.getTokenSeparatedCode_(I);w.Autocompleter.Event.notifyObservers(this.element,"LIST_SEL",{input_method:M,val_typed_in:p,final_val:I,used_list:E,list:this.rawList_,on_list:v,item_code:G,removed:D})}):w.Autocompleter.Event.notifyObservers(this.element,"LIST_SEL",{input_method:M,val_typed_in:p,final_val:I,used_list:E,list:this.rawList_,on_list:v,item_code:A,removed:D})},getTokenSeparatedCode_:function(p){const v=`(${this.options.tokens.map(V=>V.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")).join("|")})`,D=new RegExp(v,"g"),I=new RegExp(v),M=[];let A,E=0;for(;null!==(A=D.exec(p));){const V=p.slice(E,A.index);let Y=this.getCodeForSingleItem_(V);0!==E&&"string"==typeof Y&&I.test(Y)&&(Y=this.tokenGroupingFunction_(Y)),M.push(Y),M.push(A[0]),E=D.lastIndex}let G=this.getCodeForSingleItem_(p.slice(E));return 0!==E&&"string"==typeof G&&I.test(G)&&(G=this.tokenGroupingFunction_(G)),M.push(G),M.some(V=>null===V)?null:M.join("")},getCodeForSingleItem_:function(p){return void 0!==this.codesForSelectedItems_?this.codesForSelectedItems_[p]?this.codesForSelectedItems_[p]:(this.pendingQueriesForCode_.push(this.queryForCode_(p)),null):this.getItemCode(p)},attemptSelection:function(){var p=!1,v=this.getValTyped();if(this.active){if(-1===this.index){for(var D=this.getToken(),I=D.toLowerCase(),M=-1,E=-1,A=0;A<this.entryCount&&M<0;++A){var G=this.getEntry(A),V=this.listItemValue(G);this.liIsHeading(G)||(D===V?M=A:this.caseInsenstiveSelection_&&E<0&&I===V.toLowerCase()&&(E=A))}M>=0?(this.index=M,p=!0):E>=0&&(this.index=E,p=!0)}else p=this.entryCount>0&&!this.liIsHeading(this.getCurrentEntry());this.fieldValIsListVal_=p,p&&(this.active=!1,this.updateElement(this.getCurrentEntry()),this.storeSelectedItem(),null!==w.Autocompleter.Event.callbacks_&&this.listSelectionNotification(v,!0),this.processedFieldVal_=w.Autocompleter.getFieldVal(this.element),this.setMatchStatusIndicator(!0),this.setInvalidValIndicator(!1),this.propagateFieldChanges(),this.multiSelect_&&this.moveEntryToSelectedArea()),this.multiSelect_||(this.active=!1,this.hide())}return p},selectEntry:function(){this.attemptSelection()},handleNonListEntry:function(){this.propagateFieldChanges(!1),this.multiSelect_||this.clearStoredSelection();var p=w.Autocompleter.getFieldVal(this.element);""===w.Autocompleter.getFieldVal(this.element)?(this.setMatchStatusIndicator(!0),this.setInvalidValIndicator(!1),this.storeSelectedItem(""),null!==w.Autocompleter.Event.callbacks_&&this.listSelectionNotification("",!1),this.processedFieldVal_=p):(this.enabled_&&this.setMatchStatusIndicator(!1),null!==w.Autocompleter.Event.callbacks_&&this.listSelectionNotification(this.getValTyped(),!1),this.matchListValue_?(w.Autocompleter.screenReaderLog("For this field your entry must match an item from the suggestion list."),this.setInvalidValIndicator(!0),this.refocusInProgress_=!0,this.processedFieldVal_=p,setTimeout(function(){this.element.focus(),this.element.select(),this.refocusInProgress_=!1}.bind(this))):(this.storeSelectedItem(),this.multiSelect_?this.moveEntryToSelectedArea():this.processedFieldVal_=p,this.findSuggestions&&this.nonMatchSuggestions_&&!this.multiSelect_&&setTimeout(function(){this.findSuggestions()}.bind(this))))},onChange:function(p){this.domCache.invalidate("elemVal"),w.Autocompleter.completionOptionsScrollerClicked_||this.handleDataEntry(p)},onBlur:function(p){w.Autocompleter.completionOptionsScrollerClicked_||(this.lastScrollEffect_&&this.lastScrollEffect_.cancel(),w.Autocompleter.getFieldVal(this.element)!==this.processedFieldVal_&&w.Event.simulate(this.element,"change"),this.enabled_&&!this.refocusInProgress_&&(this.hide(),document.activeElement===this.element&&(this._disableListItemClick=!0),this.hasFocus=!1,this.active=!1,this.invalidStatus_?this.clearInvalidFieldVal():""===w.Autocompleter.getFieldVal(this.element)?this.setMatchStatusIndicator(!0):!1===this.fieldValIsListVal_&&this.setMatchStatusIndicator(!1)))},clearInvalidFieldVal:function(){this.setFieldVal("",!1),this.setInvalidValIndicator(!1),this.setMatchStatusIndicator(!0),this.listSelectionNotification("",!1),this.processedFieldVal_=""},onFocus:function(p){if(w.Autocompleter.currentAutoCompField_=this.element.id,this.refocusInProgress_||(this.processedFieldVal_=w.Autocompleter.getFieldVal(this.element)),this.refocusInProgress_=!1,this.preFieldFillVal_=null,w.Autocompleter.Event.notifyObservers(this.element,"FOCUS",{start_val:this.processedFieldVal_}),this.multiSelect_){var v=Object.getOwnPropertyNames(this.selectedItems_);if(v.length>0){var I="Above this multi-select field are deselection buttons for each selected item.  Currently selected:"+v.join(", ");w.Autocompleter.screenReaderLog(I)}}},onMouseDown:function(p){if(!this._disableListItemClick){w.Autocompleter.stopEvent(p);for(var v=p.target;v&&void 0===v.autocompleteIndex;)v=v.parentNode;v&&!this.liIsHeading(v)&&(this.clickSelectionInProgress_=!0,this.index=v.autocompleteIndex,this.selectEntry(),this.hide(),this.clickSelectionInProgress_=!1,this.multiSelect_&&this.showList()),this.tokenBounds=null}},handleDataEntry:function(p){if(this.invalidStatus_&&this.processedFieldVal_===this.domCache.get("elemVal"))this.clearInvalidFieldVal();else{this.observer&&clearTimeout(this.observer);var v=w.Autocompleter.getFieldVal(this.element),D=!1;(this.processedFieldVal_!==v&&""!==v||this.multiSelect_&&""===v&&this.index>=0)&&(D=this.attemptSelection()),this.processedFieldVal_!==v&&!D&&(""===v&&(this.fieldValIsListVal_=!1),this.handleNonListEntry()),this.multiSelect_||(this.hide(),this.active=!1),!p.stopped&&this.matchListValue_&&this.invalidStatus_&&w.Autocompleter.stopEvent(p)}},itemTextIsHeading:function(p){var v=!!this.numHeadings_;if(v){this.itemToDataIndex_||this.initItemToDataIndex();var D=this.itemToDataIndex_[p];v=void 0!==D&&!!this.indexToHeadingLevel_[D]}return v},liIsHeading:function(p){var v=!!this.numHeadings_;return v&&(v=this.itemTextIsHeading(this.listItemValue(p))),v},onShow:function(p,v){p.autocomp.showList()},onHide:function(p,v){p.autocomp.hideList()},moveToOtherColumn:function(p){var v=w.Autocompleter.listItemElements().length,D=Math.floor(v/2),I=Math.ceil(v/2),M=this.index;if(this.index<D?M=this.index+I:this.index>=I&&(M=this.index-I),M!==this.index){var E=this.getEntry(M);this.liIsHeading(E)||(this.index=M,this.setFieldVal(this.listItemValue(E),!1),this.element.select(),this.render(),w.Autocompleter.stopEvent(p))}},handleSeeMoreItems:function(p){},readSearchCount:function(){var p=!1;return"none"!==P("lhc-tools-searchCount").style.display&&(w.Autocompleter.screenReaderLog("Showing "+P("lhc-tools-searchCount").innerHTML+"."),"none"!==P("lhc-tools-moreResults").style.display&&w.Autocompleter.screenReaderLog("Pressing control+return will expand the list."),p=!0),p},destroy:function(){this.stopObservingEvents(),this.removeAutocompleteLhcClasses(),this.detachFromDOM()},addEventListenerToElement:function(p,v){this.element.addEventListener(p,v),this.elementEventListeners[p]||=[],this.elementEventListeners[p].push(v)},stopObservingEvents:function(){for(const[p,v]of Object.entries(this.elementEventListeners))v.forEach(D=>{this.element.removeEventListener(p,D)},this);this.elementEventListeners={}},removeAutocompleteLhcClasses:function(){this.element.classList.remove("no_match","invalid","ansList","ac_multiple","search_field")},detachFromDOM:function(){if(this.multiSelect_){var p=this.element.parentNode;p.parentNode.replaceChild(this.element,p),this.selectedList=null}this.element.autocomp=null,this.element=null,this.update=null,this.listContainer=null,this.recDataRequester_=null},updateElement:function(p){var v=this.listItemValue(p),D=v;if(this.options.tokens){var I=this.getTokenBounds();if(-1!=I[0]){var M=this.domCache.get("elemVal"),E=M.substr(0,I[0]),A=M.substr(I[0]).match(/^\s+/);A&&(E+=A[0]),D=E+v+M.substr(I[1])}void 0!==this.codesForSelectedItems_&&(this.codesForSelectedItems_[v]=this.getItemCode(v))}this.setFieldVal(D,!1),this.options.afterUpdateElement&&this.options.afterUpdateElement(this.element,p)},show:function(){"none"==getComputedStyle(this.update).display&&this.options.onShow(this.element,this.update),!this.iefix&&q.IE&&"absolute"==getComputedStyle(this.update).position&&(new Insertion.After(this.update,'<iframe id="'+this.update.id+'_iefix" style="display:none;position:absolute;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);" src="javascript:false;" frameborder="0" scrolling="no"></iframe>'),this.iefix=P(this.update.id+"_iefix")),this.iefix&&setTimeout(this.fixIEOverlapping.bind(this),50)},fixIEOverlapping:function(){var p=w.jqueryLite.getElementOffset(this.update);this.iefix.style.left=p.left,this.update.style.height||(this.update.style.top=p.top),this.iefix.style.zIndex=1,this.update.style.zIndex=2,this.iefix.style.display=""},hide:function(){"none"!=getComputedStyle(this.update).display&&this.options.onHide(this.element,this.update),this.iefix&&(this.iefix.style.display="none")},render:function(){if(this.entryCount>0){for(var p=0;p<this.entryCount;p++)this.index==p?this.getEntry(p).classList.add("selected"):this.getEntry(p).classList.remove("selected");this.hasFocus&&(this.show(),this.active=!0)}else this.active=!1,this.hide()},getEntry:function(p){return w.Autocompleter.listItemElements()[p]},getCurrentEntry:function(){return this.getEntry(this.index)},onObserverEvent:function(){this.domCache.invalidate("elemVal"),this.changed=!1,this.tokenBounds=null,this.getToken().length>=this.options.minChars?this.getUpdatedChoices():(this.active=!1,this.hide(),this.progressElement?.classList.remove("show")),this.oldElementValue=this.domCache.get("elemVal")}};Object.assign(w.Autocompleter.Base.prototype,_),_=null}},7606(ne){ne.exports=function se(R,P){"use strict";P.Autocompleter.Event={observeListExpansions:function(w,q){return this.storeCallback(w,"LIST_EXP",q)},observeListSelections:function(w,q){return this.storeCallback(w,"LIST_SEL",q)},observeFocusEvents:function(w,q){return this.storeCallback(w,"FOCUS",q)},observeCancelList:function(w,q){return this.storeCallback(w,"CANCEL",q)},observeSuggestions:function(w,q){return this.storeCallback(w,"SUGGESTIONS",q)},observeSuggestionUsed:function(w,q){return this.storeCallback(w,"SUGGESTION_USED",q)},observeListAssignments:function(w,q){return this.storeCallback(w,"LIST_ASSIGNMENT",q)},observeRDRClearing:function(w){return this.storeCallback(null,"RDR_CLEARING",w)},observeRDRAssignment:function(w){return this.storeCallback(null,"RDR_ASSIGNMENT",w)}},Object.assign(P.Autocompleter.Event,P.Observable)}},6400(ne){ne.exports=function se(R,P){"use strict";var K=P.jqueryLite.ui.keyCode;P.Autocompleter.Prefetch=P.PrototypeAPI.Class.create(),P.Autocompleter.Prefetch.constructor=P.Autocompleter.Prefetch,Object.assign(P.Autocompleter.Prefetch.prototype,P.Autocompleter.Base.prototype),P.Autocompleter.Prefetch.prototype.className="Def.Autocompleter.Prefetch";var $={SEQ_NUM_PREFIX:'<span class="listNum">',SEQ_NUM_SEPARATOR:":</span>&nbsp; ",validationFailed_:!1,listIsOriginal_:!0,rawList_:null,rawListWithoutTags_:null,itemCodes_:null,listLoadAttempted_:!1,seeMoreItemsClicked_:!1,matchListItemsToField_:!1,defaultSelectionIndex_:null,autoFill_:!0,isListHTML_:!1,initialize:function(_,p,v){var D=(v=Object.assign({ignoreCase:!0,fullSearch:!1,selector:this.selector,getFormattedItemText:this.getFormattedItemText,onShow:this.onShow,onHide:this.onHide},v||{})).addSeqNum;this.add_seqnum=void 0===D||D;var I=v.autoFill;void 0!==I&&(this.autoFill_=I);var M=v.isListHTML;void 0!==M&&(this.isListHTML_=M),P.Autocompleter.Base.classInit_||P.Autocompleter.Base.classInit(),this.initHeadings(v),this.defAutocompleterBaseInit(_,v),this.addEventListenerToElement("focus",this.onFocus.bind(this)),this.addEventListenerToElement("click",this.onFieldClick.bind(this));var E=v.codes;this.setList(p,E),this.listIsOriginal_=!0,this.originalCodes_=E,this.options.minChars=0,this.splitAutocomp_=!1,this.element.classList.add("ansList")},getUpdatedChoices:function(){this.trimmedElemVal=this.domCache.get("elemVal").trim(),this.updateChoices(this.options.selector(this),this.pickedByNumber())},dupItemToDataIndex:function(_){this.listIsOriginal_&&(this.itemToDataIndex_||this.initItemToDataIndex(),_.itemToDataIndex_=this.itemToDataIndex_)},dupForField:function(_){var p=this.dupDataReqForField(_),v={};Object.assign(!0,v,this.constructorOpts_),v.dataRequester=p;var D=new P.Autocompleter.Prefetch(_,this.rawList_,v);return this.dupItemToDataIndex(D),D},initHeadings:function(_){var p=_.codes,v=_.itemToHeading;if(v){_.itemToHeading=null;for(var D={},I={},M=0,E=p.length;M<E;++M){var G=v[p[M]];if(G){var V=D[G];if(!V){var Y=v[G];D[G]=V=Y?D[Y]+1:1}}}for(M=0,E=p.length;M<E;++M)I[M]=(V=D[p[M]])||0;this.indexToHeadingLevel_=I,_.indexToHeadingLevel=I,this.numHeadings_=Object.keys(D).length,_.numHeadings=this.numHeadings_}else _.indexToHeadingLevel&&(this.indexToHeadingLevel_=_.indexToHeadingLevel,this.numHeadings_=_.numHeadings)},initItemToDataIndex:function(){if(this.itemToDataIndex_={},this.rawList_)for(var _=0,p=this.rawList_.length;_<p;++_)this.itemToDataIndex_[this.rawList_[_]]=_},selector:function(_){var D=_.getToken(),I=0,M=null,E=!_.matchListItemsToField_||""===_.domCache.get("elemVal").trim(),A=_.seeMoreItemsClicked_?1/0:2*P.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD,G=E&&!_.seeMoreItemsClicked_?Math.floor(A/_.numHeadings_):1/0;G<1&&(G=1);var V=0,Y=[],Q=[],X={},de=null,fe=!1,we=0,ze=0,qe=0,C=!0===_.options.isListHTML,Fe=C?Ue=>Ue:P.Autocompleter.Base.escapeAttribute;_.options.ignoreCase&&(D=D.toLowerCase());for(var Ve=_.options.formattedListItems,Ct=0,Yt=_.rawList_.length;Ct<Yt;++Ct){var ht=!1;if(_.indexToHeadingLevel_[Ct])de=_.rawList_[Ct],fe=!1,++we;else{var Gt=null,Hn=_.rawList_[Ct];E&&(++I,Gt=Fe(Hn),Ve&&(Gt+=Ve[Ct]));var ji=null,Pi=!1,Ci=!1;if(_.add_seqnum&&(ht=(ji=Ct+1-we+"")===D,!E&&(ht||0===ji.indexOf(D))&&(++I,Ci=!0,(ht||I<=A)&&(ji="<strong>"+ji.substr(0,D.length)+"</strong>"+ji.substr(D.length),Pi=!0,Gt=_.SEQ_NUM_PREFIX+ji+_.SEQ_NUM_SEPARATOR+Fe(Hn),Ve&&(Gt+=Ve[Ct])))),!Ci&&!E){var Un=!1,sr=C?_.rawListWithoutTags_[Ct]:Hn;_.options.ignoreCase&&(sr=sr.toLowerCase());for(var rt=sr.indexOf(D);!Un&&-1!==rt;){if(0===rt)Un=!0,++I<=A&&(Gt=C?Hn:"<strong>"+Fe(Hn.substr(0,D.length))+"</strong>"+Fe(Hn.substr(D.length)),Ve&&(Gt+=Ve[Ct]));else if((_.options.fullSearch||/(.\b|_)./.test(sr.substr(rt-1,2)))&&(Un=!0,++I<=A)){var _t=Fe(Hn.substr(0,rt));Gt=C?Hn:_t+"<strong>"+Fe(Hn.substr(rt,D.length))+"</strong>"+Fe(Hn.substr(rt+D.length)),Ve&&(Gt+=Ve[Ct])}Un||(rt=sr.indexOf(D,rt+1))}}var De=!1;_.multiSelect_&&(De=_.isSelected(_.isListHTML_?_.rawListWithoutTags_[Ct]:Hn))&&++qe,!De&&Gt&&(ht||I<=A||_.numHeadings_>0&&E)&&(de&&!fe&&(fe=!0,Y.push(de),Q.push(Ct-1),++ze,X[de]=[Fe(de),"heading"],V=0),(!E||!_.numHeadings_||V<G||ht)&&(!Pi&&_.add_seqnum&&(Gt=_.SEQ_NUM_PREFIX+ji+_.SEQ_NUM_SEPARATOR+Gt),Y.push(Hn),Q.push(Ct),ht&&(M=Y.length-1),X[Hn]=[Gt],E&&++V))}}var Ce=Y.length-ze;return I>Ce+qe?(R("lhc-tools-searchCount").innerHTML=Ce+" of "+I+" items total",R("lhc-tools-moreResults").style.display="block",R("lhc-tools-searchCount").style.display="block"):(R("lhc-tools-moreResults").style.display="none",R("lhc-tools-searchCount").style.display="none"),_.buildHTML(Y,Q,X,M)},buildHTML:function(_,p,v,D){var M,I=-1,A=null!==D;if(!this.numHeadings_&&this.matchListItemsToField_&&(A||this.suggestionMode_===P.Autocompleter.SUGGEST_SHORTEST)&&(I=A?D:this.pickBestMatch(_))>=0){var E=_[I],G=p[I];for(M=I;M>0;--M)_[M]=_[M-1],p[M]=p[M-1];_[0]=E,p[0]=G}var V="<ul>";M=0,I>=0&&(V+='<li class="suggestion" autocompRawListIndex="'+p[0]+'">'+v[E][0]+"</li>",++M);for(var Y=_.length;M<Y;++M){var Q=v[_[M]],X=Q[1];V+=X?'<li class="'+X+'" autocompRawListIndex="'+p[M]+'">'+Q[0]+"</li>":'<li autocompRawListIndex="'+p[M]+'">'+Q[0]+"</li>"}return V+"</ul>"},setList:function(_,p){this.listIsOriginal_=!1;var v=_.length;this.rawList_=new Array(v),this.isListHTML_&&(this.rawListWithoutTags_=new Array(v));for(var D=0,I=_.length;D<I;++D)this.rawList_[D]=_[D].trim(),this.isListHTML_&&(this.rawListWithoutTags_[D]=_[D].replace(/(<([^>]+)>)/gi,"").trim());for(var M=new Array(v),E=P.Autocompleter.Base.escapeAttribute,A=0;A<v;++A)M[A]=E(this.rawList_[A]),!0===this.add_seqnum&&!this.indexToHeadingLevel_[A]&&(M[A]=this.SEQ_NUM_PREFIX+(A+1)+this.SEQ_NUM_SEPARATOR+M[A]);this.options.array=M,this.itemCodes_=p,this.itemToDataIndex_=null,this.enabled_=_.length>0,_.length>1||!this.autoFill_?this.element.classList.add("ac_multiple"):this.element.classList.remove("ac_multiple"),(this.hasFocus||document.activeElement===this.element)&&this.onFocus()},setFieldToListValue:function(_){this.setFieldVal(_,!1),this.fieldValIsListVal_=!0,this.storeSelectedItem(),this.processedFieldVal_=_,this.listSelectionNotification("",!0),this.setMatchStatusIndicator(!0),this.setInvalidValIndicator(!1),this.propagateFieldChanges()},setListAndField:function(_,p,v,D){void 0===v&&(v=!1),void 0===D&&(D=!1),this.setList(_,p),P.Autocompleter.Event.notifyObservers(this.element,"LIST_ASSIGNMENT",{});var E,I=this.domCache.get("elemVal"),M=_.length;!1===v&&(E=this.autoFill_&&(1===M||M>1&&D)?this.assembleValue(_[0]):""),!v&&I!==E&&this.setFieldToListValue(E),this.setInvalidValIndicator(!1),this.setMatchStatusIndicator(!0),this.options.afterUpdateElement&&this.options.afterUpdateElement()},assembleValue:function(_){return _.trim()},onObserverEvent:function(){this.temporaryHide_=!0,this.hideList(),P.Autocompleter.Base.prototype.onObserverEvent.apply(this,[]),this.posAnsList(),this.showList(),this.temporaryHide_=!1},loadList:function(_,p){void 0===_&&(_=this.element.id);var v=P.Autocompleter.getFieldLookupKey(this.element);this.listLoadAttempted_=!0;var D=P.RecordDataRequester.getOutputFieldRDR(_);if(D){var I=D.getFieldData(v);if(I?this.setListAndField(I[0],I[1],!0,!1):D.assignListData(),_!==this.element.id){var M=R(p),E=[p,"EQ",P.Autocompleter.getFieldVal(M)];D.addFieldsToUpdateList(_,this,E)}}},listIsEmpty:function(){return 0===this.options.array.length},getInitialSelectionIndex:function(){var _=-1;if(""==this.domCache.get("elemVal"))if(this.defaultSelectionIndex_)_=this.defaultSelectionIndex_;else{var p=this.constructorOpts_.defaultValue;if(void 0!==p){if(this.itemCodes_)for(var v=0,D=this.itemCodes_.length;v<D;++v)this.itemCodes_[v]===p&&(_=v);if(-1===_)for(var I=0,M=this.rawList_.length;I<M;++I)this.rawList_[I]===p&&(_=I)}_>=2*P.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD&&(_=-1),this.defaultSelectionIndex_=_}return _},onFocus:function(){!0===P.Autocompleter.completionOptionsScrollerClicked_?P.Autocompleter.completionOptionsScrollerClicked_=!1:(this.matchListItemsToField_=!1,!this.listLoadAttempted_&&this.listIsEmpty()&&!this.element.comboField&&this.loadList(),P.Autocompleter.Base.prototype.onFocus.apply(this),this.enabled_&&(this.listBelowField_=!0,this.focusInProgress_=!0,this.hideList(),this.element.shakeCanceled=!1,this.maybeShowList(),setTimeout(()=>{this._disableListItemClick=!1},10),this.index=this.getInitialSelectionIndex(),this.index>=0&&(this.setFieldToListValue(this.listItemValue(this.getCurrentEntry())),this.element.select(),this.render()),this.focusInProgress_=!1))},maybeShowList:function(){this.activate(),this.render();var _=!1;this.preventListFromShowing?_=!1:0==this.add_seqnum?_=this.entryCount>0:this.entryCount>1||!this.autoFill_?_=!0:1==this.entryCount&&(_=this.listItemValue(P.Autocompleter.listItemElements()[0])!=this.processedFieldVal_),1==_&&(this.posAnsList(),this.showList(),this.readSearchCount())},onFieldClick:function(){if(this.enabled_&&this.element.id===P.Autocompleter.currentAutoCompField_&&(!this.listShowing||this.matchListItemsToField_)){this.matchListItemsToField_=!1;var _=this.suggestionMode_;this.suggestionMode_=P.Autocompleter.NO_COMPLETION_SUGGESTIONS,this.maybeShowList(),this.suggestionMode_=_}},focusField:function(){this.element.focus()},listItemValue:function(_){const p=_.getAttribute("autocompRawListIndex");return this.isListHTML_?this.rawListWithoutTags_[p]:this.rawList_[p]},fieldEventIsBigList:function(_){return _.ctrlKey&&_.keyCode===K.ENTER},handleSeeMoreItems:function(_){this.seeMoreItemsClicked_=!0,R("lhc-tools-searchHint").style.display="none",this.listBelowField_=!1,this.getUpdatedChoices(),this.posAnsList(),this.seeMoreItemsClicked_=!1,this.splitAutocomp_=!1,P.Autocompleter.stopEvent(_)},findItemIndexByCode:function(_){for(var p=null,v=0,D=this.itemCodes_.length;v<D&&!p;++v)_==this.itemCodes_[v]&&(p=v);return p},selectByCode:function(_){var p=this.findItemIndexByCode(_);null!=p&&this.setFieldToListValue(this.rawList_[p])},readSearchCount:function(){var _=P.Autocompleter.Base.prototype.readSearchCount.apply(this);return!_&&this.entryCount>0&&(P.Autocompleter.screenReaderLog("Showing "+this.entryCount+" of "+this.rawList_.length+" items."),_=!0),_},activate:function(){this.changed=!1,this.hasFocus=!0,this.getUpdatedChoices()}};Object.assign(P.Autocompleter.Prefetch.prototype,$),$=null}},1615(ne){ne.exports=function se(R,P){"use strict";var q=P.jqueryLite.ui.keyCode;P.Autocompleter.Search=P.PrototypeAPI.Class.create();var K={urlToCache_:{},MAX_VALUE_SIZE_FOR_AUTOCOMP:25,EXPANDED_COUNT:500,constructor:P.Autocompleter.Search,superclass:P.Autocompleter.Base.prototype};Object.assign(P.Autocompleter.Search,K),K=null,Object.assign(P.Autocompleter.Search.prototype,P.Autocompleter.Base.prototype),P.Autocompleter.Search.prototype.className="Def.Autocompleter.Search";var $={lastAjaxRequest_:null,resultCache_:null,useResultCache_:!0,suggestionList_:null,showListOnFocusIfEmpty_:!1,showLoadingIndicator_:!0,codesForSelectedItems_:{},pendingQueriesForCode_:[],initialize:function(_,p,v){if(v=Object.assign({partialChars:2,onHide:function(A,G){R("lhc-tools-searchCount").style.display="none",R("lhc-tools-moreResults").style.display="none",P.Autocompleter.Base.prototype.hideList.apply(this)}.bind(this),onShow:function(A,G){R("lhc-tools-searchCount").style.display="block",R("lhc-tools-moreResults").style.display="block",P.Autocompleter.Base.prototype.showList.apply(this)}.bind(this),onComplete:this.onComplete.bind(this)},v||{}),P.Autocompleter.Base.classInit_||P.Autocompleter.Base.classInit(),this.url=p,this.fhir=v.fhir,this.search=v.search||this.fhir&&this.fhir.search,this.defAutocompleterBaseInit(_,v),this.autocomp=v.autocomp,void 0===this.autocomp?this.autocomp=!0:this.autocomp||(this.options.frequency=31536e3),void 0===v.sort&&(v.sort=!0),null!==v.useResultCache&&!1===v.useResultCache&&(this.useResultCache_=!1),this.showListOnFocusIfEmpty_=v.showListOnFocusIfEmpty||!1,!1===v.showLoadingIndicator&&(this.showLoadingIndicator_=!1),this.showLoadingIndicator_){var D=this.element.parentElement,I=document.createElement("span");I.classList.add("loading-indicator-container"),D.replaceChild(I,this.element),I.appendChild(this.element),this.progressElement=document.createElement("progress"),I.appendChild(this.progressElement)}this.addEventListenerToElement("focus",this.onFocus.bind(this));var M=v.buttonID;if(this.buttonID=M,M&&"null"!==M){var E=document.getElementById(M);E.addEventListener("mousedown",this.buttonClick.bind(this)),E.addEventListener("keypress",this.buttonKeyPress.bind(this))}this.element.classList.add("search_field"),v.colHeaders&&(this.colHeaderHTML="<table><thead><th>"+v.colHeaders.join("</th><th>")+"</th></thead><tbody>")},detachFromDOM:function(){var _=this.element.parentElement;_.classList.contains("loading-indicator-container")&&_.parentElement.replaceChild(this.element,_),P.Autocompleter.Search.superclass.detachFromDOM.apply(this)},initItemToDataIndex:function(){this.itemToDataIndex_={}},dupForField:function(_){var p=this.dupDataReqForField(_),v=Object.clone(this.constructorOpts_);return v.dataRequester=p,new P.Autocompleter.Search(_,this.url,v)},getSearchStr:function(_){var p=P.Autocompleter;return p.LIST_ITEM_FIELD_SEP_REGEX||(p.LIST_ITEM_FIELD_SEP_REGEX=new RegExp(p.LIST_ITEM_FIELD_SEP,"g")),_||(_=this.getToken()),_.replace(p.LIST_ITEM_FIELD_SEP_REGEX," ").trimLeft()},runSearch:function(){this.lastAjaxRequest_&&this.lastAjaxRequest_.abort();var _=this.search;if(this.url||_){this.searchInProgress=!0,this.searchStartTime=(new Date).getTime();var p=this.getSearchStr(),v=null;this.useResultCache_&&(v=this.getCachedResults(p,this.getLoadCount(P.Autocompleter.Search.EXPANDED_COUNT)))&&this.onComplete(v,!0),v||(this.showLoadingIndicator_&&this.showProgressBar(),_?this.useSearchFn(p,P.Autocompleter.Search.EXPANDED_COUNT):this.urlSearch(p,P.Autocompleter.Search.EXPANDED_COUNT),this.changed=!1,this.hasFocus=!0)}},getLoadCount(_){return this.search||this.fhir?_+(this.multiSelect_&&P.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD===_?this.getSelectedItems().length:0):this.multiSelect_&&_===P.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD?_+this.getSelectedItems().length:_!==P.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD?_:0},useSearchFn:function(_,p,v){var D=this;return this.search(_,this.getLoadCount(p)).then(function(I){v?v(I,_):D.onComplete({results:I,requestedCount:p,searchStr:_})},function(I){console.log("FHIR search failed: "+I)})},urlSearch:function(_,p,v=!1){var D={};if(this.fhir)D.filter=_,D._format="application/json",D.count=this.getLoadCount(p);else{D.terms=_;var I=this.getLoadCount(p);I&&(D.maxList=I)}window._token&&(params.authenticity_token=window._token);var M={data:D,dataType:"json"};if(v)return P.jqueryLite.ajaxAsPromise(this.url,M);M.complete=this.options.onComplete,this.lastAjaxRequest_=P.jqueryLite.ajax(this.url,M),this.lastAjaxRequest_.requestParamData_=D,this.lastAjaxRequest_.requestedCount=p},initResultCache:function(){this.resultCache_=this.url?P.Autocompleter.Search.urlToCache_[this.url]:null,this.resultCache_||(this.resultCache_=[],this.url&&(P.Autocompleter.Search.urlToCache_[this.url]=this.resultCache_))},getCachedResults:function(_,p){return this.resultCache_||this.initResultCache(),this.resultCache_[p]&&this.resultCache_[p][_]},storeCachedResults:function(_,p,v){this.resultCache_||this.initResultCache(),this.resultCache_[p]||(this.resultCache_[p]={}),this.resultCache_[p][_]=v},clearCachedResults:function(){this.resultCache_=[{},{}],P.Autocompleter.Search.urlToCache_[this.url]=this.resultCache_},setURL:function(_){this.url=_,this.initResultCache()},fieldEventIsBigList:function(_){return _.keyCode===q.ENTER&&(_.ctrlKey||!this.autocomp&&this.domCache.get("elemVal")!==this.processedFieldVal_&&""!==this.domCache.get("elemVal").trim())},buttonKeyPress:function(_){_.keyCode===q.ENTER&&this.runSearch()},processChoices:function(_,p){for(var v=[],D=Object.keys(_),I=0,M=D.length;I<M;++I){var E=D[I];(!this.multiSelect_||!this.isSelected(E))&&v.push(E)}if(v.length>0&&!this.numHeadings_){var G=null,V=-1;if(this.suggestionMode_===P.Autocompleter.USE_STATISTICS?V=0:this.suggestionMode_===P.Autocompleter.SUGGEST_SHORTEST&&(V=this.pickBestMatch(v)),this.options.sort)V>-1&&(G=v[V],v[V]=""),v=v.sort(P.Autocompleter.Base.noCaseSort),V>-1&&(v[0]=G);else if(V>0){var Y=v[0];v[0]=v[V],v[V]=Y}v.length>p&&(v.length=p)}return[v,V>-1]},escapeHTML:function(_){return P.Autocompleter.Base.escapeAttribute(_).replace(/&lt;(\/)?span&gt;/g,"<$1span>")},buildUpdateHTML:function(_,p,v){var D,I,M,E,A,G,V,Y=this.options.tableFormat;Y?(I=this.colHeaderHTML||"<table><tbody>",M="</tbody></table>",E="<tr",A="><td>",G="</td><td>",V="</td></tr>"):(I="<ul>",M="</ul>",E="<li",A=">",G=P.Autocompleter.LIST_ITEM_FIELD_SEP,V="</li>"),D=I;for(var Q=0,X=_.length;Q<X;++Q){for(var de=_[Q],fe=v[de],we=[],ze=0,qe=fe.length;ze<qe;++ze)we[ze]=this.escapeHTML(fe[ze]);D+=E,0===Q&&p&&(D+=' class="suggestion"'),Y&&(D+=' data-fieldval="'+this.escapeHTML(de)+'"'),D+=A,D+=we.join(G),D+=V}return D+M},setSearchCountDiv:function(_,p,v){var D=R("lhc-tools-searchCount"),I="";if(_>0||null===_){I=p+" of "+(null===_?"unknown":_)+" total";var E=(new Date).getTime()-this.searchStartTime+1e3*this.options.frequency+"",A=v+"";A.length<3&&(A+="&nbsp;");var G="; ";void 0!==v&&(G+=A+" bytes in "),G+=E+" ms",E.length<3&&(G+="&nbsp;"),D.innerHTML=I+=G,R("lhc-tools-searchCount").style.display="block"}},createFieldVals:function(_){var p={},v=this.options.valueCols,D=P.Autocompleter.LIST_ITEM_FIELD_SEP;if(this.itemToDataIndex_={},v)var I=v.length;for(var M=0,E=_.length;M<E;++M){var G,A=_[M];if(v){G=[];for(var V=0;V<I;++V)G[V]=A[v[V]]}else G=A;var Y=G.join(D);Y=Y.replace(/<\/?span>/g,""),this.itemToDataIndex_[Y]=M,p[Y]=A}return p},onComplete:function(_,p){const v=_.requestedCount||this.lastAjaxRequest_.requestedCount;var D=this.getToken();this.trimmedElemVal=D.trim(),this.lastAjaxRequest_===_&&(this.lastAjaxRequest_=null),this.showLoadingIndicator_&&(this.progressElement?.classList.remove("show"),clearTimeout(this.loadingAnnouncerTimeout));const I=!!_.results;if(200===_.status||I){if(I)var M=_.searchStr,E=_.requestedCount===P.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD;else{var A=_.requestParamData_;this.fhir?(M=A.filter,E=A.count===this.getLoadCount(P.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD)):(M=A.terms,E=void 0===A.maxList||A.maxList===this.getLoadCount(P.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD))}var G=P.Autocompleter.Search;!p&&this.useResultCache_&&this.storeCachedResults(M,this.getLoadCount(v),_);var V=this.getSearchStr(D);if(E&&(V=V.substr(0,G.MAX_VALUE_SIZE_FOR_AUTOCOMP)),(this.hasFocus||this.refocusInProgress_)&&V===M){var Y=I?_.results:_.responseJSON||JSON.parse(_.responseText);if(this.fhir){Q=Y.expansion.total,this.listExtraData_=null,this.itemCodes_=[],this.itemCodeSystems_=[],this.rawList_=[];var X=Y.expansion.contains;if(X)for(var de=0,fe=X.length;de<fe;++de){var we=X[de];this.itemCodes_[de]=we.code,this.itemCodeSystems_[de]=we.system,this.rawList_[de]=[we.display]}}else{var Q=Y[0];this.itemCodes_=Y[1],this.listExtraData_=Y[2],this.itemCodeSystems_=Y[4],this.rawList_=Y[3]}var ze=this.createFieldVals(this.rawList_),qe=this.processChoices(ze,v),C=qe[0],Ve=this.buildUpdateHTML(C,qe[1],ze);this.updateChoices(Ve,!1);var Ct=C.length;this.setSearchCountDiv(Q,Ct,I?void 0:_.responseText.length),R("lhc-tools-moreResults").style.display=(Ct<Q||null===Q)&&E?"block":"none",this.showLoadingIndicator_&&this.loadingAnnounced&&0===Q&&P.Autocompleter.screenReaderLog("No list items matched the field's value."),this.searchInProgress=!1,this.listBelowField_=this.entryCount<=P.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD,this.posAnsList()}}},getItemExtraData:function(_){var p={};if(this.listExtraData_){var v=this.itemToDataIndex_[_];if(null!=v)for(var D=Object.keys(this.listExtraData_),I=0,M=D.length;I<M;++I){var E=D[I];p[E]=this.listExtraData_[E][v]}}return p},getItemData:function(_){_||(_=this.domCache.get("elemVal"));var p={text:_};if(""!=_&&this.itemToDataIndex_){var v=this.getItemCode(_);if(null!=v&&(p.code=v,this.itemCodeSystems_)){var I=this.itemCodeSystems_[this.itemToDataIndex_[_]];I&&(p.code_system=I)}var M=this.getItemExtraData(_);Object.keys(M).length>0&&(p.data=M)}return p},show:function(){("hidden"===this.listContainer.style.visibility||""===this.listContainer.style.visibility)&&this.options.onShow(this.element,this.update)},hide:function(){this.searchInProgress||P.Autocompleter.Search.superclass.hide.apply(this)},buttonClick:function(_){this.observer&&clearTimeout(this.observer),this.searchInProgress=!0,this.runSearch(),P.Autocompleter.stopEvent(_)},handleSeeMoreItems:function(_){this.multiSelect_&&""===this.domCache.get("elemVal")&&this.preFieldFillVal_&&this.setFieldVal(this.preFieldFillVal_,!1),this.buttonClick(_)},onFocus:function(){!0===P.Autocompleter.completionOptionsScrollerClicked_?P.Autocompleter.completionOptionsScrollerClicked_=!1:(this.refocusInProgress_||(P.Autocompleter.screenReaderLog("Type to show matching list values."),this.hide(),this.rawList_=[]),P.Autocompleter.Base.prototype.onFocus.apply(this),this.hasFocus=!0,this.showListOnFocusIfEmpty_&&this.getUpdatedChoices(),setTimeout(()=>{this._disableListItemClick=!1},10))},onBlur:function(_){!this.refocusInProgress_&&!P.Autocompleter.completionOptionsScrollerClicked_&&(P.Autocompleter.Base.prototype.onBlur.apply(this,[_]),this.searchInProgress||(this.active=!1))},getUpdatedChoices:function(){if(this.lastAjaxRequest_&&this.lastAjaxRequest_.abort(),this.url||this.search){this.searchStartTime=(new Date).getTime();var _=null,p=P.Autocompleter.Search,v=this.getSearchStr();v.length>p.MAX_VALUE_SIZE_FOR_AUTOCOMP&&(v=v.substr(0,p.MAX_VALUE_SIZE_FOR_AUTOCOMP)),this.useResultCache_&&(_=this.getCachedResults(v,this.getLoadCount(P.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD)))&&this.onComplete(_,!0),_||(this.showLoadingIndicator_&&this.showProgressBar(),this.search?this.useSearchFn(v,P.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD):this.urlSearch(v,P.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD))}},showProgressBar:function(){this.progressElement?.classList.add("show"),clearTimeout(this.loadingAnnouncerTimeout),this.loadingAnnounced=!1,this.loadingAnnouncerTimeout=setTimeout(()=>{P.Autocompleter.screenReaderLog("A list is being loaded for the field."),this.loadingAnnounced=!0},1500)},findSuggestions:function(){if(this.url){var p={field_val:this.getSearchStr(),suggest:1};window._token&&(params.authenticity_token=window._token);var v={data:p,complete:this.onFindSuggestionComplete.bind(this)};P.jqueryLite.ajax(this.url,v)}},onFindSuggestionComplete:function(_){if(200===_.status){var p=_.responseJSON||JSON.parse(_.responseText),D=[],I=!1;if(p[0].length>0){var M=p[1];this.suggestionList_=p;for(var E=this.domCache.get("elemVal").trim().toLowerCase(),A=P.Autocompleter.LIST_ITEM_FIELD_SEP,G=0,V=M.length;!I&&G<V;++G)M[G]=M[G].join(A),M[G].toLowerCase()===E&&(I=!0,this.observer&&clearTimeout(this.observer),this.acceptSuggestion(G));I||(D=M)}I||P.Autocompleter.Event.notifyObservers(this.element,"SUGGESTIONS",{suggestion_list:D})}},acceptSuggestion:function(_){var p=this.suggestionList_[0],v=this.suggestionList_[1],D=v[_],I=this.domCache.get("elemVal");this.setFieldVal(this.processedFieldVal_=D,!1),this.setMatchStatusIndicator(!0),this.fieldValIsListVal_=!0,this.propagateFieldChanges(),P.Autocompleter.Event.notifyObservers(this.element,"SUGGESTION_USED",{suggestion_used:D}),this.itemCodes_=p,this.itemToDataIndex_={},this.itemToDataIndex_[v[_]]=_,this.listExtraData_=this.suggestionList_[2],this.itemCodeSystems_=this.suggestionList_[3],this.listSelectionNotification(I,!0),this.element.focus()},queryForCode_:function(_){return this.search?this.useSearchFn(_,P.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD,this.queryForCodeOnComplete_):this.urlSearch(_,P.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD,!0).then(p=>{this.queryForCodeOnComplete_(p,_)})},queryForCodeOnComplete_:function(_,p){var D=_.results?_.results:_.responseJSON||JSON.parse(_.responseText);if(this.fhir){this.listExtraData_=null,this.itemCodes_=[],this.itemCodeSystems_=[],this.rawList_=[];var I=D.expansion.contains;if(I)for(var M=0,E=I.length;M<E;++M){var A=I[M];this.itemCodes_[M]=A.code,this.itemCodeSystems_[M]=A.system,this.rawList_[M]=[A.display]}}else this.itemCodes_=D[1],this.listExtraData_=D[2],this.itemCodeSystems_=D[4],this.rawList_=D[3];this.createFieldVals(this.rawList_),this.codesForSelectedItems_[p]=this.getItemCode(p)}};Object.assign(P.Autocompleter.Search.prototype,$),$=null}},5955(ne){ne.exports=function se(R){"use strict";var P=R.PrototypeAPI.Class.create({initialize:function(w,q,K,$){if(this.displayedProp=w.display||"text",this.scope=q,this.acOptions=w,$){this.pElem=K[0];var _=this.pElem.autocomp;_&&(_.destroy(),q.modelData=null,this.removeAutocompFunction($.$formatters),this.removeAutocompFunction($.$parsers));var p=w.hasOwnProperty("url")||w.fhir&&w.fhir.search;this.ac=p?this.searchList():this.prefetchList();var v=q.modelData;if(null!=v)if(this.ac.multiSelect_){for(var I=0,M=v.length;I<M;++I)this.ac.storeSelectedItem(E=v[I][this.displayedProp],v[I].code),this.ac.addToSelectedArea(E);this.ac.setFieldVal("",!1)}else{var E;"string"==typeof(E=v[this.displayedProp])?(this.ac.storeSelectedItem(E,v.code),this.ac.setFieldVal(E,!1)):this.ac.setFieldVal("",!1)}this.parser=this.parser.bind(this),this.parser.fromAutocomp=!0,$.$parsers.push(this.parser),this.formatter=this.formatter.bind(this),this.formatter.fromAutocomp=!0,$.$formatters.push(this.formatter)}},parser:function(w){var q=this.scope.modelData;return void 0===q&&(q=null),q},formatter:function(w){var q="";return this.ac.multiSelect_?q="":("string"==typeof w?q=w:null!==w&&"object"==typeof w&&"string"==typeof w[this.displayedProp]&&(q=w[this.displayedProp]),q=q.trim()),this.ac.setFieldVal(q,!1),q},getPrefetchItemModelData:function(w,q){var K=q[w];return K||(""!=w?(K={_notOnList:!0})[this.displayedProp]=w:K=null),K},prefetchListSelHandler:function(w,q){var K=w.final_val;if(this.ac.multiSelect_){this.scope.modelData||(this.scope.modelData=[]);var $=this.scope.modelData;if(w.removed){for(var _=w.final_val,p=0,v=$.length;p<v;++p)if(_===$[p][this.displayedProp]){$.splice(p,1);break}}else if(w.on_list||!this.acOptions.matchListValue){var D=this.getPrefetchItemModelData(K,q);D&&$.push(D)}}else this.scope.modelData=this.getPrefetchItemModelData(K,q)},prefetchList:function(){var w=[],q={},K=this.acOptions,$=null,_=K.defaultValue,p=null,v=this.displayedProp;void 0!==_&&null==this.scope.modelData&&("string"==typeof _?($=v,p=_):p=_[$=Object.keys(_)[0]]);for(var I,D=null,M=0,E=K.listItems.length;M<E;++M){var A=K.listItems[M];w[M]=I=A[v];var G=I.trim();q[G]=A,$&&A[$].trim()===p&&(D=this.getPrefetchItemModelData(G,q))}var V=new R.Autocompleter.Prefetch(this.pElem,w,K);this.addNameAttr();var Y=this;return this.updateListSelectionHandler(function(Q){Y.scope.$apply(function(){Y.prefetchListSelHandler(Q,q)})}),null!==D&&!this.scope.modelData&&(this.scope.modelData=V.multiSelect_?[D]:D),V},getSearchItemModelData:function(w,q){var K;return""===w?K=null:(K=this.ac.getItemData(w),q||(K._notOnList=!0)),K},addNameAttr:function(){""===this.pElem.name&&(this.pElem.name=this.pElem.id)},searchListSelHandler:function(w){var q=w.final_val,K=w.on_list;if(this.ac.multiSelect_){this.scope.modelData||(this.scope.modelData=[]);var $=this.scope.modelData;if(w.removed){for(var _=w.final_val,p=0,v=$.length;p<v;++p)if(_===$[p].text){$.splice(p,1);break}}else if(w.on_list||!this.acOptions.matchListValue){var D=this.getSearchItemModelData(q,K);D&&$.push(D)}}else this.scope.modelData=this.getSearchItemModelData(q,K)},searchList:function(){var w=new R.Autocompleter.Search(this.pElem,this.acOptions.url,this.acOptions);this.addNameAttr();var q=this;return this.updateListSelectionHandler(function(K){q.scope.$apply(function(){q.searchListSelHandler(K)})}),w},removeAutocompFunction:function(w){for(var q=0,K=w.length;q<K;++q)if(w[q].fromAutocomp){w.splice(q,1);break}},updateListSelectionHandler:function(w){var q=this.pElem,K=R.Observable.lookupKey(q),$=R.Autocompleter.directiveListEventHandlers,_=$[q.id];_&&R.Autocompleter.Event.removeCallback(K,"LIST_SEL",_),R.Autocompleter.Event.observeListSelections(K,w),$[q.id]=w}});R.Autocompleter.directiveListEventHandlers={},typeof angular<"u"&&angular.module("autocompleteLhcMod",[]).directive("autocompleteLhc",[function(){return{restrict:"A",require:"?ngModel",scope:{modelData:"=ngModel",acOpts:"=autocompleteLhc"},link:function(w,q,K,$){$.$options||($.$options={}),$.$options.updateOn="none",$.$options.updateOnDefault=!1,w.$watch("acOpts",function _(p){new P(p,w,q,$)},!0)}}}])}},3319(ne){ne.exports=function se(R,P){"use strict";var q=R.$;function K(v,_,p){if(v=q(v),1==arguments.length){var D=v.cumulativeOffset();window.scrollTo(D[0],D[1])}else v.scrollLeft=_,v.scrollTop=p;return v}P.Scroll=R.Class.create(),Object.assign(Object.assign(P.Scroll.prototype,P.Base.prototype),{currentScrollPos:function($){return this.element===window?document.viewport.getScrollOffsets():this.element===document.documentElement&&0===document.documentElement.scrollTop&&0===document.documentElement.scrollLeft?{left:document.body.scrollLeft,top:document.body.scrollTop}:{left:this.element.scrollLeft,top:this.element.scrollTop}},initialize:function($){if(this.element=q($),!this.element)throw P._elementDoesNotExistError;var _=this.currentScrollPos($),p=Object.assign({x:0,y:0},arguments[1]||{});this.start({x:_.left+p.x,y:_.top+p.y})},setup:function(){},update:function($){var _=this.currentScrollPos(this.element),p=Math.round((this.options.x-_.left)*$+_.left),v=Math.round((this.options.y-_.top)*$+_.top);K(this.element,p,v),this.element===document.documentElement&&K(document.body,p,v)}})}},9769(ne){if(typeof se>"u")var se={};ne.exports=function R(P,w){"use strict";var q=w.PrototypeAPI.Class,K=w.PrototypeAPI.Enumerable,_=w.PrototypeAPI.isString,p={_elementDoesNotExistError:{name:"ElementDoesNotExistError",message:"The specified DOM element does not exist, but is required for this effect to operate"},Transitions:{linear:function(v){return v},sinoidal:function(v){return-Math.cos(v*Math.PI)/2+.5},reverse:function(v){return 1-v},flicker:function(D){return(D=-Math.cos(D*Math.PI)/4+.75+Math.random()/4)>1?1:D},wobble:function(v){return-Math.cos(v*Math.PI*(9*v))/2+.5},pulse:function(v,D){return-Math.cos(v*((D||5)-.5)*2*Math.PI)/2+.5},spring:function(v){return 1-Math.cos(4.5*v*Math.PI)*Math.exp(6*-v)},none:function(v){return 0},full:function(v){return 1}},DefaultOptions:{duration:1,fps:100,sync:!1,from:0,to:1,delay:0,queue:"parallel"}};p.DefaultOptions.transition=p.Transitions.sinoidal,p.ScopedQueue=q.create(K,{initialize:function(){this.effects=[],this.interval=null},_each:function(v){this.effects._each(v)},add:function(v){var D=(new Date).getTime();switch(_(v.options.queue)?v.options.queue:v.options.queue.position){case"front":this.effects.findAll(function(M){return"idle"==M.state}).each(function(M){M.startOn+=v.finishOn,M.finishOn+=v.finishOn});break;case"with-last":D=this.effects.pluck("startOn").max()||D;break;case"end":D=this.effects.pluck("finishOn").max()||D}v.startOn+=D,v.finishOn+=D,(!v.options.queue.limit||this.effects.length<v.options.queue.limit)&&this.effects.push(v),this.interval||(this.interval=setInterval(this.loop.bind(this),15))},remove:function(v){for(var D;(D=this.effects.indexOf(v))>-1;)this.effects.splice(D,1);0==this.effects.length&&(clearInterval(this.interval),this.interval=null)},loop:function(){for(var v=(new Date).getTime(),D=0,I=this.effects.length;D<I;D++)this.effects[D]&&this.effects[D].loop(v)}}),p.Queues={instances:{},get:function(v){return _(v)?this.instances[v]||(this.instances[v]=new p.ScopedQueue):v}},p.Queue=p.Queues.get("global"),p.Base=q.create({position:null,start:function(v){v&&!1===v.transition&&(v.transition=p.Transitions.linear),this.options=Object.assign(Object.assign({},p.DefaultOptions),v||{}),this.currentFrame=0,this.state="idle",this.startOn=1e3*this.options.delay,this.finishOn=this.startOn+1e3*this.options.duration,this.fromToDelta=this.options.to-this.options.from,this.totalTime=this.finishOn-this.startOn,this.totalFrames=this.options.fps*this.options.duration,this.render=function(){function D(I,M){I.options[M+"Internal"]&&I.options[M+"Internal"](I),I.options[M]&&I.options[M](I)}return function(I){"idle"===this.state&&(this.state="running",D(this,"beforeSetup"),this.setup&&this.setup(),D(this,"afterSetup")),"running"===this.state&&(I=this.options.transition(I)*this.fromToDelta+this.options.from,this.position=I,D(this,"beforeUpdate"),this.update&&this.update(I),D(this,"afterUpdate"))}}(),this.event("beforeStart"),this.options.sync||p.Queues.get(_(this.options.queue)?"global":this.options.queue.scope).add(this)},loop:function(v){if(v>=this.startOn){if(v>=this.finishOn)return this.render(1),this.cancel(),this.event("beforeFinish"),this.finish&&this.finish(),void this.event("afterFinish");var D=(v-this.startOn)/this.totalTime,I=Math.round(D*this.totalFrames);I>this.currentFrame&&(this.render(D),this.currentFrame=I)}},cancel:function(){this.options.sync||p.Queues.get(_(this.options.queue)?"global":this.options.queue.scope).remove(this),this.state="finished"},event:function(v){this.options[v+"Internal"]&&this.options[v+"Internal"](this),this.options[v]&&this.options[v](this)},inspect:function(){var v=$H();for(property in this)Object.isFunction(this[property])||v.set(property,this[property]);return"#<Effect:"+v.inspect()+",options:"+$H(this.options).inspect()+">"}}),p.Move=q.create(p.Base,{initialize:function(v){if(this.element=P(v),!this.element)throw p._elementDoesNotExistError;var D=Object.assign({x:0,y:0,mode:"relative"},arguments[1]||{});this.start(D)},setup:function(){w.PrototypeAPI.makePositioned(this.element);var v=w.PrototypeAPI;this.originalLeft=parseFloat(v.getStyle(this.element,"left")||"0"),this.originalTop=parseFloat(v.getStyle(this.element,"top")||"0"),"absolute"==this.options.mode&&(this.options.x=this.options.x-this.originalLeft,this.options.y=this.options.y-this.originalTop)},update:function(v){w.PrototypeAPI.setStyle(this.element,{left:Math.round(this.options.x*v+this.originalLeft)+"px",top:Math.round(this.options.y*v+this.originalTop)+"px"})}}),p.Shake=function(v){v=P(v);var D=Object.assign({distance:20,duration:.5},arguments[1]||{}),I=parseFloat(D.distance),M=parseFloat(D.duration)/10,E=w.jqueryLite.getElementOffset(v),A=w.PrototypeAPI,G={top:E.top,left:E.left};return new p.Move(v,{x:I,y:0,duration:M,afterFinishInternal:function(V){new p.Move(V.element,{x:2*-I,y:0,duration:2*M,afterFinishInternal:function(Y){new p.Move(Y.element,{x:2*I,y:0,duration:2*M,afterFinishInternal:function(Q){new p.Move(Q.element,{x:2*-I,y:0,duration:2*M,afterFinishInternal:function(X){new p.Move(X.element,{x:2*I,y:0,duration:2*M,afterFinishInternal:function(de){new p.Move(de.element,{x:-I,y:0,duration:M,afterFinishInternal:function(fe){A.setStyle(A.undoPositioned(fe.element),G)}})}})}})}})}})}})},w.Effect=p}},3895(ne){ne.exports=function se(R,P){"use strict";var w={HTMLEvents:/^(?:load|unload|abort|error|select|change|submit|reset|focus|blur|resize|scroll)$/,MouseEvents:/^(?:click|mouse(?:down|up|over|move|out))$/},q={pointerX:0,pointerY:0,button:0,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,bubbles:!0,cancelable:!0};P.Event={},P.Event.simulate=function(K,$){var p,_=Object.assign(q,arguments[2]||{}),v=null;for(var D in K=R(K),w)if(w[D].test($)){v=D;break}if(!v)throw new SyntaxError("Only HTMLEvents and MouseEvents interfaces are supported");return document.createEvent?(p=document.createEvent(v),"HTMLEvents"==v?p.initEvent($,_.bubbles,_.cancelable):p.initMouseEvent($,_.bubbles,_.cancelable,document.defaultView,_.button,_.pointerX,_.pointerY,_.pointerX,_.pointerY,_.ctrlKey,_.altKey,_.shiftKey,_.metaKey,_.button,K),K.dispatchEvent(p)):(_.clientX=_.pointerX,_.clientY=_.pointerY,p=Object.assign(document.createEventObject(),_),K.fireEvent("on"+$,p)),K}}},8033(ne){if(typeof se>"u")var se={};ne.exports=function R(P,w){"use strict";w.FieldAlarms={setOffAlarm:function(q){void 0===this.bonk&&(this.bonk=new Audio(this.soundData_)),this.bonk.readyState>=2&&(this.bonk.currentTime=0,0!==this.bonk.currentTime&&(this.bonk.src=this.bonk.src)),this.bonk.play(),w.Effect.Shake(q.id,5)},cancelAlarm:function(q){q.shakeCanceled=!0,this.bonk.pause(),this.bonk.currentTime=0}}}},9339(ne,se,R){var P={};P.PrototypeAPI=R(5922),R(7144),R(6433)(P),R(9769)(P.PrototypeAPI.$,P),R(3319)(P.PrototypeAPI,P.Effect),R(3895)(P.PrototypeAPI.$,P),R(6426)(P),R(3620)(P),R(3510)(P.PrototypeAPI.$,P),R(8033)(P.PrototypeAPI.$,P),R(1994)(P),R(8898)(P.PrototypeAPI.$,P),R(6400)(P.PrototypeAPI.$,P),R(1615)(P.PrototypeAPI.$,P),R(7606)(P.PrototypeAPI.$,P),R(5955)(P),ne.exports=P},6433(ne){ne.exports=function se(R){R.jqueryLite=function(){"use strict";return{ui:{keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}},getElementOffset:function(P){const w=P.getBoundingClientRect(),q=P.ownerDocument.defaultView;return{top:w.top+q.pageYOffset,left:w.left+q.pageXOffset}},ajax:function(P,w){P.startsWith("/")&&(P=window.location.origin+P);const q=new URL(P);if(w.data)for(const[$,_]of Object.entries(w.data))q.searchParams.set($,_);const K=new XMLHttpRequest;return K.open("GET",q.toString(),!0),K.onreadystatechange=function(){4===K.readyState&&w.complete(K)},K.send(),K},ajaxAsPromise:function(P,w){return new Promise((q,K)=>{P.startsWith("/")&&(P=window.location.origin+P);const $=new URL(P);if(w.data)for(const[p,v]of Object.entries(w.data))$.searchParams.set(p,v);const _=new XMLHttpRequest;_.open("GET",$.toString(),!0),_.onreadystatechange=function(){4===_.readyState&&q(_)},_.onerror=()=>K("Network Error"),_.send()})}}}()}},6426(ne){if(typeof se>"u")var se={};ne.exports=function R(P){"use strict";P.Observable={callbacks_:null,notifyObservers:function(w,q,K){null!==this.callbacks_&&(K.field_id=w?w.id:null,setTimeout(function(){var $=this.callbacks_[q];if(void 0!==$){if(null!==w)var p=$[this.lookupKey(w)];for(var D=[p,$.null],I=0,M=D.length;I<M;++I){var E=D[I];if(void 0!==E)for(var A=0,G=E.length;A<G;++A)E[A].call(this,K)}}}.bind(this)))},lookupKey:function(w){return w.name||w.id},storeCallback:function(w,q,K){null===this.callbacks_&&(this.callbacks_={});var $=this.callbacks_[q];void 0===$&&(this.callbacks_[q]=$={});var _=$[w];return void 0===_&&($[w]=_=[]),_.push(K),()=>{this.removeCallback(w,q,K)}},removeCallback:function(w,q,K){if(null!==this.callbacks_){var $=this.callbacks_[q];if(void 0!==$){var _=$[w];if(void 0!==_){var p=_.indexOf(K);p>-1&&_.splice(p,1)}}}}}}},7144(){"function"!=typeof Object.assign&&(Object.assign=function(ne){"use strict";if(null==ne)throw new TypeError("Cannot convert undefined or null to object");for(var se=Object(ne),R=1;R<arguments.length;R++){var P=arguments[R];if(null!=P)for(var w in P)P.hasOwnProperty(w)&&(se[w]=P[w])}return se}),String.prototype.trimLeft=function(){for(var ne=-1;this.charCodeAt(++ne)<33;);return this.slice(ne,this.length)}},5922(ne){if(typeof se>"u")var se={};se.PrototypeAPI=function(){"use strict";var R={};function P(Y){if(!Y)return[];if("toArray"in Object(Y))return Y.toArray();for(var Q=Y.length||0,X=new Array(Q);Q--;)X[Q]=Y[Q];return X}function w(Y){var Q=Y;return se.PrototypeAPI.isString(Y)&&(Q=document.getElementById(Y)),Q}var Y,Q,q=Object.prototype.toString,K=(Y=typeof navigator<"u"&&navigator.userAgent,Q="[object Opera]"==Object.prototype.toString.call(window.opera),{IE:!!window.attachEvent&&!Q,Opera:Q,WebKit:Y&&Y.indexOf("AppleWebKit/")>-1,Gecko:Y&&Y.indexOf("Gecko")>-1&&-1===Y.indexOf("KHTML"),MobileSafari:Y&&/Apple.*Mobile/.test(Y)});function $(Y){return"[object Function]"===q.call(Y)}function v(Y){var Q=Y.toString().match(/^[\s\(]*function[^(]*\(([^)]*)\)/)[1].replace(/\/\/.*?[\r\n]|\/\*(?:.|[\r\n])*?\*\//g,"").replace(/\s+/g,"").split(",");return 1!=Q.length||Q[0]?Q:[]}function I(Y){return Y}var M=function(){var Y=function(){for(var fe in{toString:1})if("toString"===fe)return!1;return!0}();function Q(){}return{create:function X(){var fe=null,we=P(arguments);function ze(){this.initialize.apply(this,arguments)}$(we[0])&&(fe=we.shift()),function D(Y,Q){for(var X in Q)Y[X]=Q[X]}(ze,M.Methods),ze.superclass=fe,ze.subclasses=[],fe&&(Q.prototype=fe.prototype,ze.prototype=new Q,fe.subclasses.push(ze));for(var qe=0,C=we.length;qe<C;qe++)ze.addMethods(we[qe]);return ze.prototype.initialize||(ze.prototype.initialize=function(){}),ze.prototype.constructor=ze,ze},Methods:{addMethods:function de(fe){var we=this.superclass&&this.superclass.prototype,ze=Object.keys(fe);Y&&(fe.toString!=Object.prototype.toString&&ze.push("toString"),fe.valueOf!=Object.prototype.valueOf&&ze.push("valueOf"));for(var qe=0,C=ze.length;qe<C;qe++){var Fe=ze[qe],Ve=fe[Fe];if(we&&$(Ve)&&"$super"==v(Ve)[0]){var Ct=Ve;Ve=function(Yt){return function(){return we[Yt].apply(this,arguments)}}(Fe).wrap(Ct),Ve.valueOf=function(Yt){return function(){return Yt.valueOf.call(Yt)}}(Ct),Ve.toString=function(Yt){return function(){return Yt.toString.call(Yt)}}(Ct)}this.prototype[Fe]=Ve}return this}}}}(),E=function(){function X(rt,_t){rt=rt||I;var De=!0;return this.each(function(Ce,Ue){if(!(De=De&&!!rt.call(_t,Ce,Ue,this)))throw R},this),De}function de(rt,_t){rt=rt||I;var De=!1;return this.each(function(Ce,Ue){if(De=!!rt.call(_t,Ce,Ue,this))throw R},this),De}function fe(rt,_t){rt=rt||I;var De=[];return this.each(function(Ce,Ue){De.push(rt.call(_t,Ce,Ue,this))},this),De}function we(rt,_t){var De;return this.each(function(Ce,Ue){if(rt.call(_t,Ce,Ue,this))throw De=Ce,R},this),De}function ze(rt,_t){var De=[];return this.each(function(Ce,Ue){rt.call(_t,Ce,Ue,this)&&De.push(Ce)},this),De}function C(rt){if($(this.indexOf)&&-1!=this.indexOf(rt))return!0;var _t=!1;return this.each(function(De){if(De==rt)throw _t=!0,R}),_t}function Pi(){return this.map()}return{each:function Y(rt,_t){try{this._each(rt,_t)}catch(De){if(De!=R)throw De}return this},eachSlice:function Q(rt,_t,De){var Ce=-rt,Ue=[],Et=this.toArray();if(rt<1)return Et;for(;(Ce+=rt)<Et.length;)Ue.push(Et.slice(Ce,Ce+rt));return Ue.collect(_t,De)},all:X,every:X,any:de,some:de,collect:fe,map:fe,detect:we,findAll:ze,select:ze,filter:ze,grep:function qe(rt,_t,De){_t=_t||I;var Ce=[];return se.PrototypeAPI.isString(rt)&&(rt=new RegExp(RegExp.escape(rt))),this.each(function(Ue,Et){rt.match(Ue)&&Ce.push(_t.call(De,Ue,Et,this))},this),Ce},include:C,member:C,inGroupsOf:function Fe(rt,_t){return _t=Object.isUndefined(_t)?null:_t,this.eachSlice(rt,function(De){for(;De.length<rt;)De.push(_t);return De})},inject:function Ve(rt,_t,De){return this.each(function(Ce,Ue){rt=_t.call(De,rt,Ce,Ue,this)},this),rt},invoke:function Ct(rt){var _t=P(arguments).slice(1);return this.map(function(De){return De[rt].apply(De,_t)})},max:function Yt(rt,_t){var De;return rt=rt||I,this.each(function(Ce,Ue){Ce=rt.call(_t,Ce,Ue,this),(null==De||Ce>=De)&&(De=Ce)},this),De},min:function Sn(rt,_t){var De;return rt=rt||I,this.each(function(Ce,Ue){Ce=rt.call(_t,Ce,Ue,this),(null==De||Ce<De)&&(De=Ce)},this),De},partition:function ht(rt,_t){rt=rt||I;var De=[],Ce=[];return this.each(function(Ue,Et){(rt.call(_t,Ue,Et,this)?De:Ce).push(Ue)},this),[De,Ce]},pluck:function Gt(rt){var _t=[];return this.each(function(De){_t.push(De[rt])}),_t},reject:function Hn(rt,_t){var De=[];return this.each(function(Ce,Ue){rt.call(_t,Ce,Ue,this)||De.push(Ce)},this),De},sortBy:function ji(rt,_t){return this.map(function(De,Ce){return{value:De,criteria:rt.call(_t,De,Ce,this)}},this).sort(function(De,Ce){var Ue=De.criteria,Et=Ce.criteria;return Ue<Et?-1:Ue>Et?1:0}).pluck("value")},toArray:Pi,entries:Pi,zip:function Ci(){var rt=P(arguments),_t=[this].concat(rt).map(P);return this.map(function(De,Ce){for(var Ue=[],Et=0,an=_t.length;Et<an;++Et)Ue.push(_t[Et][Ce]);return Ue})},size:function Un(){return this.toArray().length},inspect:function sr(){return"#<Enumerable:"+this.toArray().inspect()+">"},find:we}}();function G(Y){return Y.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}var V={setOpacity:function(Y,Q){return 1==Q||""===Q?Q="":Q<1e-5&&(Q=0),(Y=w(Y)).style.opacity=Q,Y},setStyle:function(Y,Q){var X=(Y=w(Y)).style;if(se.PrototypeAPI.isString(Q)){if(X.cssText+=";"+Q,Q.include("opacity")){var fe=Q.match(/opacity:\s*(\d?\.?\d*)/)[1];se.PrototypeAPI.setOpacity(Y,fe)}return Y}for(var we in Q)if("opacity"===we)se.PrototypeAPI.setOpacity(Y,Q[we]);else{var ze=Q[we];("float"===we||"cssFloat"===we)&&(we=void 0===X.styleFloat?"cssFloat":"styleFloat"),X[we]=ze}return Y},getStyle:function(Y,Q){var X=(Y=w(Y)).style[Q];if(!X||"auto"===X){var de=document.defaultView.getComputedStyle(Y,null);X=de?de[Q]:null}return"opacity"===Q?X?parseFloat(X):1:"auto"===X?null:X},makePositioned:function(Y){Y=w(Y);var Q=se.PrototypeAPI.getStyle(Y,"position"),X={};return("static"===Q||!Q)&&(X.position="relative",se.PrototypeAPI.Browser.Opera&&(X.top=0,X.left=0),se.PrototypeAPI.setStyle(Y,X),Y.dataset.prototypeMadePositioned=""),Y},undoPositioned:function(Y){return"prototypeMadePositioned"in(Y=w(Y)).dataset&&(delete Y.dataset.prototypeMadePositioned,se.PrototypeAPI.setStyle(Y,{position:"",top:"",bottom:"",left:"",right:""})),Y}};return{$:w,Class:M,Enumerable:E,isString:function _(Y){return"[object String]"===q.call(Y)},isArray:function p(Y){return"[object Array]"===q.call(Y)},Browser:K,parseQuery:function A(Y){var X=Y.trim().match(/([^?#]*)(#.*)?$/);if(!X)return{};for(var de=X[1].split("&"),we=0,ze=de.length;we<ze;++we){var qe=de[we];if((qe=qe.split("="))[0]){var C=decodeURIComponent(qe.shift()),Fe=qe.length>1?qe.join("="):qe[0];null!=Fe&&(Fe=Fe.gsub("+"," "),Fe=decodeURIComponent(Fe)),C in hash?(this.isArray(hash[C])||(hash[C]=[hash[C]]),hash[C].push(Fe)):hash[C]=Fe}}return{}},escapeHTML:G,escapeAttribute:G,getStyle:V.getStyle,setStyle:V.setStyle,makePositioned:V.makePositioned,undoPositioned:V.undoPositioned,$A:P}}(),ne.exports=se.PrototypeAPI},3510(ne){if(typeof se>"u")var se={};ne.exports=function R(P,w){"use strict";w.RecordDataRequester=w.PrototypeAPI.Class.create();var K={formField_:null,codeField_:null,dataURL_:null,dataReqInput_:null,dataReqOutput_:null,inputFieldsHash_:null,outputFieldsHash_:null,noPriorDataReq_:!0,latestPendingAjaxRequest_:null,lastFieldVal_:null,lastDataHash_:null,outputToSameGroup_:null,autoCompUpdateList_:null,initialize:function($,_,p,v,D){this.formField_=$,this.dataURL_=_,this.dataReqInput_=p,this.dataReqOutput_=v,this.outputToSameGroup_=D,this.setOutputNamesToRDRNames($,v)},setOutputNamesToRDRNames:function($,_){for(var p=w.Autocompleter.getFieldLookupKey($),v=w.RecordDataRequester.outputFieldNameToRDRFieldName_,D=0,I=_.length;D<I;++D)v[_[D]]=p},dupForField:function($){return new w.RecordDataRequester(P($),this.dataURL_,this.dataReqInput_,this.dataReqOutput_,this.outputToSameGroup_)},requestData:function($){this.noPriorDataReq_=!1,this.inputFieldsHash_||this.initFieldsHash(),this.dataRequestOptions_||(this.dataRequestOptions_={}),$||this.clearDataOutputFields(),this.dataRequestOptions_.complete=$?this.onDataReqCompleteForListData.bind(this):this.onDataReqComplete.bind(this),this.dataRequestOptions_.data=this.buildParameters(),this.latestPendingAjaxRequest_=w.jqueryLite.ajax(this.dataURL_,this.dataRequestOptions_),this.lastFieldVal_=w.Autocompleter.getFieldVal(this.formField_)},assignListData:function(){this.noPriorDataReq_&&""!==w.Autocompleter.getFieldVal(this.formField_)&&this.requestData(!0)},getFieldData:function($){var _=null;return this.lastDataHash_&&w.Autocompleter.getFieldVal(this.formField_)===this.lastFieldVal_&&(_=this.lastDataHash_[$]),_},onDataReqComplete:function($){if(this.latestPendingAjaxRequest_===$){this.lastFieldVal_=w.Autocompleter.getFieldVal(this.formField_);var _=$.responseJSON||JSON.parse($.responseText);this.lastDataHash_=_,this.assignDataToFields(_),this.processUpdateList(_),this.latestPendingAjaxRequest_=null}},onDataReqCompleteForListData:function($){if(this.latestPendingAjaxRequest_===$){var _=$.responseJSON||JSON.parse($.responseText);this.lastDataHash_=_,this.assignDataToFields(_,!0),this.processUpdateList(_),this.latestPendingAjaxRequest_=null}},clearDataOutputFields:function(){this.inputFieldsHash_||this.initFieldsHash();for(var $=[],_=this.getOutputFieldsHash(),p=0,v=this.dataReqOutput_.length;p<v;++p){var D=_[this.dataReqOutput_[p]];if(void 0!==D)for(var I=0,M=D.length;I<M;++I){var E=D[I];E.autocomp&&E.autocomp.setListAndField?E.autocomp.setListAndField([]):(w.Autocompleter.setFieldVal(E,"",!1),$.push(E))}}w.Autocompleter.Event.notifyObservers(null,"RDR_CLEARING",$)},addFieldsToUpdateList:function($,_,p){null===this.autoCompUpdateList_&&(this.autoCompUpdateList_={}),null===this.autoCompUpdateList_[$]&&(this.autoCompUpdateList_[$]={}),null===this.autoCompUpdateList_[$][p]?this.autoCompUpdateList_[$][p]=[_]:this.autoCompUpdateList_[$][p].push(_)},processUpdateList:function($){if(null!==this.autoCompUpdateList_)for(var _ in $){var p=$[_],v=p instanceof Array&&p.length>0;if(null!==this.autoCompUpdateList_[_])for(var D in this.autoCompUpdateList_[_]){var I=D.split(","),M=P(I[0]),E=w.Autocompleter.getFieldVal(M);if("EQ"===I[1]&&E===I[2]||"NE"===I[1]&&E!==I[2])for(var A=this.autoCompUpdateList_[_][D],G=0,V=A.length;G<V;G++)A[G].element&&(v?p[0]instanceof Array?A[G].setListAndField(p[0],p[1]):A[G].setListAndField(p):null===p&&A[G].setListAndField([],[]))}}},initFieldsHash:function(){this.inputFieldsHash_={};var $=w.Autocompleter;if(this.dataReqInput_)for(var _=this.dataReqInput_,p=0,v=_.length;p<v;++p){var D=_[p],I=$.findRelatedFields(this.formField_,D);1===I.length&&(this.inputFieldsHash_[D]=I[0])}this.outputToSameGroup_&&(this.outputFieldsHash_=this.constructOutputFieldsHash())},getOutputFieldsHash:function(){return this.outputToSameGroup_?this.outputFieldsHash_:this.constructOutputFieldsHash()},constructOutputFieldsHash:function(){for(var $={},_=this.dataReqOutput_,p=w.Autocompleter,v=0,D=_.length;v<D;++v){var I=_[v],M=p.findRelatedFields(this.formField_,I);M.length>0&&($[I]=M)}return $},assignDataToFields:function($,_){this.inputFieldsHash_||this.initFieldsHash();var p=[],v={},D=this.getOutputFieldsHash(),I=w.Autocompleter;for(var M in $){var E=D[M];if(void 0!==E)for(var A=0,G=E.length;A<G;++A){var V=E[A],Y=$[M];if(Array.isArray(Y)){if(null!==V.autocomp){var Q=I.getFieldLookupKey(V);if(this.setOutputNamesToRDRNames(this.formField_,[Q]),Y.length>0&&Array.isArray(Y[0])?(Y[2]&&V.autocomp.initHeadings(Y[2]),_?V.autocomp.setList(Y[0],Y[1]):V.autocomp.setListAndField(Y[0],Y[1])):_?V.autocomp.setList(Y):V.autocomp.setListAndField(Y),null!==this.autoCompUpdateList_&&null!==this.autoCompUpdateList_[Q]){var X={};X[Q]=Y,this.processUpdateList(X)}}}else _||(void 0!==V.comboField?V.comboField.mimicField(Y,this.formField_.id):(w.Autocompleter.setFieldVal(V,Y,!1),p.push(V),v[V.id]=Y))}}w.Autocompleter.Event.notifyObservers(null,"RDR_ASSIGNMENT",{updatedFields:p,updatedFieldIDToVal:v,listField:this.formField_})},buildParameters:function(){var $={};this.inputFieldsHash_||this.initFieldsHash();var _=this.formField_.autocomp.getSelectedCodes()[0];if(null!=_?$.code_val=_:$.field_val=w.Autocompleter.getFieldVal(this.formField_),this.dataReqInput_)for(var p=0,v=this.dataReqInput_.length;p<v;++p){var D=this.dataReqInput_[p],I=this.inputFieldsHash_[D];if(null==I)throw"Could not find field for "+D;$[D]=w.Autocompleter.getFieldVal(I)}return $.authenticity_token=window._token||"",$}};Object.assign(w.RecordDataRequester.prototype,K),K=null,Object.assign(w.RecordDataRequester,{outputFieldNameToRDRFieldName_:{},getOutputFieldRDR:function($){var _=null,p=P($),v=w.Autocompleter.getFieldLookupKey(p),I=w.Autocompleter.findRelatedFields(p,this.outputFieldNameToRDRFieldName_[v]);if(1===I.length){var E=I[0].autocomp;E&&(_=E.recDataRequester_)}return _}})}},3620(ne){ne.exports=function se(R){"use strict";R.ScreenReaderLog=function(P){if(void 0===P){for(var w="reader_log",q=(P=w,1);document.getElementById(P);)P=w+ ++q;this.logElement_=document.createElement("div"),this.logElement_.setAttribute("id",P),document.body.appendChild(this.logElement_)}else this.logElement_=document.getElementById(P);this.logElement_.setAttribute("aria-live","assertive"),this.logElement_.setAttribute("aria-relevant","additions"),this.logElement_.setAttribute("role","log"),this.logElement_.setAttribute("class","screen_reader_only")},R.ScreenReaderLog.prototype={add:function(P){var w=document.createElement("p");w.appendChild(document.createTextNode(P)),this.logElement_.appendChild(w)}},R.ScreenReaderLog.add=function(P){this.log_||(this.log_=new R.ScreenReaderLog("reader_log")),this.log_.add(P)}}},5124(ne,se,R){"use strict";var P=R(7707),w=R(814),q=R(7648),K=R(8963);ne.exports=K||P.call(q,w)},9713(ne,se,R){"use strict";var P=R(7707),w=R(814),q=R(5124);ne.exports=function(){return q(P,w,arguments)}},814(ne){"use strict";ne.exports=Function.prototype.apply},7648(ne){"use strict";ne.exports=Function.prototype.call},2282(ne,se,R){"use strict";var P=R(7707),w=R(8519),q=R(7648),K=R(5124);ne.exports=function(_){if(_.length<1||"function"!=typeof _[0])throw new w("a function is required");return K(P,q,_)}},8963(ne){"use strict";ne.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply},3463(ne,se,R){"use strict";var P=R(2521),w=R(6283),q=w(P("String.prototype.indexOf"));ne.exports=function($,_){var p=P($,!!_);return"function"==typeof p&&q($,".prototype.")>-1?w(p):p}},6283(ne,se,R){"use strict";var P=R(5557),w=R(1963),q=R(2282),K=R(9713);ne.exports=function(_){var p=q(arguments),v=_.length-(arguments.length-1);return P(p,1+(v>0?v:0),!0)},w?w(ne.exports,"apply",{value:K}):ne.exports.apply=K},840(ne,se,R){"use strict";var P=R(2521),w=R(2282),q=w([P("%String.prototype.indexOf%")]);ne.exports=function($,_){var p=P($,!!_);return"function"==typeof p&&q($,".prototype.")>-1?w([p]):p}},9250(ne,se,R){"use strict";var P=R(6969),w=R(3463),q=R(7057),K=R(2521),$=R(158),_=R(5492),p=R(545),v=R(8344),D=R(7638),I=R(3066),M=R(5500),E=R(5831),A=R(2090),G=R(9209),V=R(6959),Y=R(5757),Q=R(6547),X=R(2219),de=w("SharedArrayBuffer.prototype.byteLength",!0),fe=w("Date.prototype.getTime"),we=Object.getPrototypeOf,ze=w("Object.prototype.toString"),qe=K("%Set%",!0),C=w("Map.prototype.has",!0),Fe=w("Map.prototype.get",!0),Ve=w("Map.prototype.size",!0),Ct=w("Set.prototype.add",!0),Yt=w("Set.prototype.delete",!0),Sn=w("Set.prototype.has",!0),ht=w("Set.prototype.size",!0);function Gt(Ce,Ue,Et,an){for(var Vn,Dn=$(Ce);(Vn=Dn.next())&&!Vn.done;)if(Un(Ue,Vn.value,Et,an))return Yt(Ce,Vn.value),!0;return!1}function Hn(Ce){return typeof Ce>"u"?null:"object"!=typeof Ce?"symbol"!=typeof Ce&&("string"!=typeof Ce&&"number"!=typeof Ce||+Ce==+Ce):void 0}function ji(Ce,Ue,Et,an,Dn,Vn){var Dt=Hn(Et);if(null!=Dt)return Dt;var cn=Fe(Ue,Dt),xt=P({},Dn,{strict:!1});return!(typeof cn>"u"&&!C(Ue,Dt)||!Un(an,cn,xt,Vn))&&!C(Ce,Dt)&&Un(an,cn,xt,Vn)}function Pi(Ce,Ue,Et){var an=Hn(Et);return an??(Sn(Ue,an)&&!Sn(Ce,an))}function Ci(Ce,Ue,Et,an,Dn,Vn){for(var cn,xt,Dt=$(Ce);(cn=Dt.next())&&!cn.done;)if(Un(Et,xt=cn.value,Dn,Vn)&&Un(an,Fe(Ue,xt),Dn,Vn))return Yt(Ce,xt),!0;return!1}function Un(Ce,Ue,Et,an){var Dn=Et||{};if(Dn.strict?p(Ce,Ue):Ce===Ue)return!0;if(V(Ce)!==V(Ue))return!1;if(!Ce||!Ue||"object"!=typeof Ce&&"object"!=typeof Ue)return Dn.strict?p(Ce,Ue):Ce==Ue;var fn,cn=an.has(Ce),xt=an.has(Ue);if(cn&&xt){if(an.get(Ce)===an.get(Ue))return!0}else fn={};return cn||an.set(Ce,fn),xt||an.set(Ue,fn),function De(Ce,Ue,Et,an){var Dn,Vn;if(typeof Ce!=typeof Ue||null==Ce||null==Ue||ze(Ce)!==ze(Ue)||v(Ce)!==v(Ue))return!1;if(D(Ce)!==D(Ue))return!1;var xt=Ce instanceof Error,fn=Ue instanceof Error;if(xt!==fn||(xt||fn)&&(Ce.name!==Ue.name||Ce.message!==Ue.message))return!1;var ki=E(Ce),vr=E(Ue);if(ki!==vr||(ki||vr)&&(Ce.source!==Ue.source||q(Ce)!==q(Ue)))return!1;var _r=M(Ce),$i=M(Ue);if(_r!==$i||(_r||$i)&&fe(Ce)!==fe(Ue)||Et.strict&&we&&we(Ce)!==we(Ue))return!1;var mi=Q(Ce),Pt=Q(Ue);if(mi!==Pt)return!1;if(mi||Pt){if(Ce.length!==Ue.length)return!1;for(Dn=0;Dn<Ce.length;Dn++)if(Ce[Dn]!==Ue[Dn])return!1;return!0}var Ei=sr(Ce),Lr=sr(Ue);if(Ei!==Lr)return!1;if(Ei||Lr){if(Ce.length!==Ue.length)return!1;for(Dn=0;Dn<Ce.length;Dn++)if(Ce[Dn]!==Ue[Dn])return!1;return!0}var Wi=I(Ce),Vt=I(Ue);if(Wi!==Vt)return!1;if(Wi||Vt)return X(Ce)===X(Ue)&&"function"==typeof Uint8Array&&Un(new Uint8Array(Ce),new Uint8Array(Ue),Et,an);var vo=A(Ce),Tt=A(Ue);if(vo!==Tt)return!1;if(vo||Tt)return de(Ce)===de(Ue)&&"function"==typeof Uint8Array&&Un(new Uint8Array(Ce),new Uint8Array(Ue),Et,an);if(typeof Ce!=typeof Ue)return!1;var $n=G(Ce),Qt=G(Ue);if($n.length!==Qt.length)return!1;for($n.sort(),Qt.sort(),Dn=$n.length-1;Dn>=0;Dn--)if($n[Dn]!=Qt[Dn])return!1;for(Dn=$n.length-1;Dn>=0;Dn--)if(!Un(Ce[Vn=$n[Dn]],Ue[Vn],Et,an))return!1;var Do=Y(Ce),Lo=Y(Ue);return Do===Lo&&("Set"===Do||"Set"===Lo?function rt(Ce,Ue,Et,an){if(ht(Ce)!==ht(Ue))return!1;for(var Dt,cn,xt,Dn=$(Ce),Vn=$(Ue);(Dt=Dn.next())&&!Dt.done;)if(Dt.value&&"object"==typeof Dt.value)xt||(xt=new qe),Ct(xt,Dt.value);else if(!Sn(Ue,Dt.value)){if(Et.strict||!Pi(Ce,Ue,Dt.value))return!1;xt||(xt=new qe),Ct(xt,Dt.value)}if(xt){for(;(cn=Vn.next())&&!cn.done;)if(cn.value&&"object"==typeof cn.value){if(!Gt(xt,cn.value,Et.strict,an))return!1}else if(!Et.strict&&!Sn(Ce,cn.value)&&!Gt(xt,cn.value,Et.strict,an))return!1;return 0===ht(xt)}return!0}(Ce,Ue,Et,an):"Map"!==Do||function _t(Ce,Ue,Et,an){if(Ve(Ce)!==Ve(Ue))return!1;for(var Dt,cn,xt,fn,ki,vr,Dn=$(Ce),Vn=$(Ue);(Dt=Dn.next())&&!Dt.done;)if(ki=Dt.value[1],(fn=Dt.value[0])&&"object"==typeof fn)xt||(xt=new qe),Ct(xt,fn);else if(typeof(vr=Fe(Ue,fn))>"u"&&!C(Ue,fn)||!Un(ki,vr,Et,an)){if(Et.strict||!ji(Ce,Ue,fn,ki,Et,an))return!1;xt||(xt=new qe),Ct(xt,fn)}if(xt){for(;(cn=Vn.next())&&!cn.done;)if(vr=cn.value[1],(fn=cn.value[0])&&"object"==typeof fn){if(!Ci(xt,Ce,fn,vr,Et,an))return!1}else if(!(Et.strict||Ce.has(fn)&&Un(Fe(Ce,fn),vr,Et,an)||Ci(xt,Ce,fn,vr,P({},Et,{strict:!1}),an)))return!1;return 0===ht(xt)}return!0}(Ce,Ue,Et,an))}(Ce,Ue,Dn,an)}function sr(Ce){return!(!Ce||"object"!=typeof Ce||"number"!=typeof Ce.length||"function"!=typeof Ce.copy||"function"!=typeof Ce.slice||Ce.length>0&&"number"!=typeof Ce[0]||!(Ce.constructor&&Ce.constructor.isBuffer&&Ce.constructor.isBuffer(Ce)))}ne.exports=function(Ue,Et,an){return Un(Ue,Et,an,_())}},1197(ne,se,R){"use strict";var P=R(1963),w=R(4880),q=R(8519),K=R(9263);ne.exports=function(_,p,v){if(!_||"object"!=typeof _&&"function"!=typeof _)throw new q("`obj` must be an object or a function`");if("string"!=typeof p&&"symbol"!=typeof p)throw new q("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new q("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new q("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new q("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new q("`loose`, if provided, must be a boolean");var D=arguments.length>3?arguments[3]:null,I=arguments.length>4?arguments[4]:null,M=arguments.length>5?arguments[5]:null,E=arguments.length>6&&arguments[6],A=!!K&&K(_,p);if(P)P(_,p,{configurable:null===M&&A?A.configurable:!M,enumerable:null===D&&A?A.enumerable:!D,value:v,writable:null===I&&A?A.writable:!I});else{if(!E&&(D||I||M))throw new w("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");_[p]=v}}},592(ne,se,R){"use strict";var P=R(9209),w="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),q=Object.prototype.toString,K=Array.prototype.concat,$=R(1197),p=R(6652)(),v=function(I,M,E,A){if(M in I)if(!0===A){if(I[M]===E)return}else if(!function(I){return"function"==typeof I&&"[object Function]"===q.call(I)}(A)||!A())return;p?$(I,M,E,!0):$(I,M,E)},D=function(I,M){var E=arguments.length>2?arguments[2]:{},A=P(M);w&&(A=K.call(A,Object.getOwnPropertySymbols(M)));for(var G=0;G<A.length;G+=1)v(I,A[G],M[A[G]],E[A[G]])};D.supportsDescriptors=!!p,ne.exports=D},8580(ne,se,R){"use strict";var q,P=R(2282),w=R(9263);try{q=[].__proto__===Array.prototype}catch(p){if(!p||"object"!=typeof p||!("code"in p)||"ERR_PROTO_ACCESS"!==p.code)throw p}var K=!!q&&w&&w(Object.prototype,"__proto__"),$=Object,_=$.getPrototypeOf;ne.exports=K&&"function"==typeof K.get?P([K.get]):"function"==typeof _&&function(v){return _(null==v?v:$(v))}},1963(ne){"use strict";var se=Object.defineProperty||!1;if(se)try{se({},"a",{value:1})}catch{se=!1}ne.exports=se},2905(ne){"use strict";ne.exports=EvalError},1123(ne){"use strict";ne.exports=Error},7718(ne){"use strict";ne.exports=RangeError},3286(ne){"use strict";ne.exports=ReferenceError},4880(ne){"use strict";ne.exports=SyntaxError},8519(ne){"use strict";ne.exports=TypeError},2781(ne){"use strict";ne.exports=URIError},7888(ne){"use strict";ne.exports=Object},6062(ne,se,R){"use strict";var P=R(7268),w=Object.prototype.toString,q=Object.prototype.hasOwnProperty;ne.exports=function(D,I,M){if(!P(I))throw new TypeError("iterator must be a function");var E;arguments.length>=3&&(E=M),function p(v){return"[object Array]"===w.call(v)}(D)?function(D,I,M){for(var E=0,A=D.length;E<A;E++)q.call(D,E)&&(null==M?I(D[E],E,D):I.call(M,D[E],E,D))}(D,I,E):"string"==typeof D?function(D,I,M){for(var E=0,A=D.length;E<A;E++)null==M?I(D.charAt(E),E,D):I.call(M,D.charAt(E),E,D)}(D,I,E):function(D,I,M){for(var E in D)q.call(D,E)&&(null==M?I(D[E],E,D):I.call(M,D[E],E,D))}(D,I,E)}},3933(ne){"use strict";var R=Object.prototype.toString,P=Math.max,q=function(p,v){for(var D=[],I=0;I<p.length;I+=1)D[I]=p[I];for(var M=0;M<v.length;M+=1)D[M+p.length]=v[M];return D};ne.exports=function(p){var v=this;if("function"!=typeof v||"[object Function]"!==R.apply(v))throw new TypeError("Function.prototype.bind called on incompatible "+v);for(var I,D=function(p){for(var D=[],I=1,M=0;I<p.length;I+=1,M+=1)D[M]=p[I];return D}(arguments),E=P(0,v.length-D.length),A=[],G=0;G<E;G++)A[G]="$"+G;if(I=Function("binder","return function ("+function(_){for(var v="",D=0;D<_.length;D+=1)v+=_[D],D+1<_.length&&(v+=",");return v}(A)+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof I){var Y=v.apply(this,q(D,arguments));return Object(Y)===Y?Y:this}return v.apply(p,q(D,arguments))}),v.prototype){var V=function(){};V.prototype=v.prototype,I.prototype=new V,V.prototype=null}return I}},7707(ne,se,R){"use strict";var P=R(3933);ne.exports=Function.prototype.bind||P},5370(ne){"use strict";var se=function(){return"string"==typeof function(){}.name},R=Object.getOwnPropertyDescriptor;if(R)try{R([],"length")}catch{R=null}se.functionsHaveConfigurableNames=function(){if(!se()||!R)return!1;var q=R(function(){},"name");return!!q&&!!q.configurable};var P=Function.prototype.bind;se.boundFunctionsHaveNames=function(){return se()&&"function"==typeof P&&""!==function(){}.bind().name},ne.exports=se},2521(ne,se,R){"use strict";var P,w=R(7888),q=R(1123),K=R(2905),$=R(7718),_=R(3286),p=R(4880),v=R(8519),D=R(2781),I=R(7598),M=R(3116),E=R(2136),A=R(3462),G=R(1516),V=R(5714),Y=R(497),Q=Function,X=function(Vn){try{return Q('"use strict"; return ('+Vn+").constructor;")()}catch{}},de=R(9263),fe=R(1963),we=function(){throw new v},ze=de?function(){try{return we}catch{try{return de(arguments,"callee").get}catch{return we}}}():we,qe=R(1459)(),C=R(1568),Fe=R(9364),Ve=R(3996),Ct=R(814),Yt=R(7648),Sn={},ht=typeof Uint8Array>"u"||!C?P:C(Uint8Array),Gt={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?P:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?P:ArrayBuffer,"%ArrayIteratorPrototype%":qe&&C?C([][Symbol.iterator]()):P,"%AsyncFromSyncIteratorPrototype%":P,"%AsyncFunction%":Sn,"%AsyncGenerator%":Sn,"%AsyncGeneratorFunction%":Sn,"%AsyncIteratorPrototype%":Sn,"%Atomics%":typeof Atomics>"u"?P:Atomics,"%BigInt%":typeof BigInt>"u"?P:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?P:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?P:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?P:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":q,"%eval%":eval,"%EvalError%":K,"%Float16Array%":typeof Float16Array>"u"?P:Float16Array,"%Float32Array%":typeof Float32Array>"u"?P:Float32Array,"%Float64Array%":typeof Float64Array>"u"?P:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?P:FinalizationRegistry,"%Function%":Q,"%GeneratorFunction%":Sn,"%Int8Array%":typeof Int8Array>"u"?P:Int8Array,"%Int16Array%":typeof Int16Array>"u"?P:Int16Array,"%Int32Array%":typeof Int32Array>"u"?P:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":qe&&C?C(C([][Symbol.iterator]())):P,"%JSON%":"object"==typeof JSON?JSON:P,"%Map%":typeof Map>"u"?P:Map,"%MapIteratorPrototype%":typeof Map>"u"||!qe||!C?P:C((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":w,"%Object.getOwnPropertyDescriptor%":de,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?P:Promise,"%Proxy%":typeof Proxy>"u"?P:Proxy,"%RangeError%":$,"%ReferenceError%":_,"%Reflect%":typeof Reflect>"u"?P:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?P:Set,"%SetIteratorPrototype%":typeof Set>"u"||!qe||!C?P:C((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?P:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":qe&&C?C(""[Symbol.iterator]()):P,"%Symbol%":qe?Symbol:P,"%SyntaxError%":p,"%ThrowTypeError%":ze,"%TypedArray%":ht,"%TypeError%":v,"%Uint8Array%":typeof Uint8Array>"u"?P:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?P:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?P:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?P:Uint32Array,"%URIError%":D,"%WeakMap%":typeof WeakMap>"u"?P:WeakMap,"%WeakRef%":typeof WeakRef>"u"?P:WeakRef,"%WeakSet%":typeof WeakSet>"u"?P:WeakSet,"%Function.prototype.call%":Yt,"%Function.prototype.apply%":Ct,"%Object.defineProperty%":fe,"%Object.getPrototypeOf%":Fe,"%Math.abs%":I,"%Math.floor%":M,"%Math.max%":E,"%Math.min%":A,"%Math.pow%":G,"%Math.round%":V,"%Math.sign%":Y,"%Reflect.getPrototypeOf%":Ve};if(C)try{null.error}catch(Vn){var Hn=C(C(Vn));Gt["%Error.prototype%"]=Hn}var ji=function Vn(Dt){var cn;if("%AsyncFunction%"===Dt)cn=X("async function () {}");else if("%GeneratorFunction%"===Dt)cn=X("function* () {}");else if("%AsyncGeneratorFunction%"===Dt)cn=X("async function* () {}");else if("%AsyncGenerator%"===Dt){var xt=Vn("%AsyncGeneratorFunction%");xt&&(cn=xt.prototype)}else if("%AsyncIteratorPrototype%"===Dt){var fn=Vn("%AsyncGenerator%");fn&&C&&(cn=C(fn.prototype))}return Gt[Dt]=cn,cn},Pi={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Ci=R(7707),Un=R(3889),sr=Ci.call(Yt,Array.prototype.concat),rt=Ci.call(Ct,Array.prototype.splice),_t=Ci.call(Yt,String.prototype.replace),De=Ci.call(Yt,String.prototype.slice),Ce=Ci.call(Yt,RegExp.prototype.exec),Ue=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Et=/\\(\\)?/g,Dn=function(Dt,cn){var fn,xt=Dt;if(Un(Pi,xt)&&(xt="%"+(fn=Pi[xt])[0]+"%"),Un(Gt,xt)){var ki=Gt[xt];if(ki===Sn&&(ki=ji(xt)),typeof ki>"u"&&!cn)throw new v("intrinsic "+Dt+" exists, but is not available. Please file an issue!");return{alias:fn,name:xt,value:ki}}throw new p("intrinsic "+Dt+" does not exist!")};ne.exports=function(Dt,cn){if("string"!=typeof Dt||0===Dt.length)throw new v("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof cn)throw new v('"allowMissing" argument must be a boolean');if(null===Ce(/^%?[^%]*%?$/,Dt))throw new p("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var xt=function(Dt){var cn=De(Dt,0,1),xt=De(Dt,-1);if("%"===cn&&"%"!==xt)throw new p("invalid intrinsic syntax, expected closing `%`");if("%"===xt&&"%"!==cn)throw new p("invalid intrinsic syntax, expected opening `%`");var fn=[];return _t(Dt,Ue,function(ki,vr,_r,$i){fn[fn.length]=_r?_t($i,Et,"$1"):vr||ki}),fn}(Dt),fn=xt.length>0?xt[0]:"",ki=Dn("%"+fn+"%",cn),vr=ki.name,_r=ki.value,$i=!1,mi=ki.alias;mi&&(fn=mi[0],rt(xt,sr([0,1],mi)));for(var Pt=1,Ei=!0;Pt<xt.length;Pt+=1){var Lr=xt[Pt],Wi=De(Lr,0,1),Vt=De(Lr,-1);if(('"'===Wi||"'"===Wi||"`"===Wi||'"'===Vt||"'"===Vt||"`"===Vt)&&Wi!==Vt)throw new p("property names with quotes must have matching quotes");if(("constructor"===Lr||!Ei)&&($i=!0),Un(Gt,vr="%"+(fn+="."+Lr)+"%"))_r=Gt[vr];else if(null!=_r){if(!(Lr in _r)){if(!cn)throw new v("base intrinsic for "+Dt+" exists, but the property is not available.");return}if(de&&Pt+1>=xt.length){var vo=de(_r,Lr);_r=(Ei=!!vo)&&"get"in vo&&!("originalValue"in vo.get)?vo.get:_r[Lr]}else Ei=Un(_r,Lr),_r=_r[Lr];Ei&&!$i&&(Gt[vr]=_r)}}return _r}},9364(ne,se,R){"use strict";var P=R(7888);ne.exports=P.getPrototypeOf||null},3996(ne){"use strict";ne.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null},1568(ne,se,R){"use strict";var P=R(3996),w=R(9364),q=R(8580);ne.exports=P?function($){return P($)}:w?function($){if(!$||"object"!=typeof $&&"function"!=typeof $)throw new TypeError("getProto: not an object");return w($)}:q?function($){return q($)}:null},9817(ne){"use strict";ne.exports=Object.getOwnPropertyDescriptor},9263(ne,se,R){"use strict";var P=R(9817);if(P)try{P([],"length")}catch{P=null}ne.exports=P},362(ne){"use strict";var se=typeof BigInt<"u"&&BigInt;ne.exports=function(){return"function"==typeof se&&"function"==typeof BigInt&&"bigint"==typeof se(42)&&"bigint"==typeof BigInt(42)}},6652(ne,se,R){"use strict";var P=R(1963),w=function(){return!!P};w.hasArrayLengthDefineBug=function(){if(!P)return null;try{return 1!==P([],"length",{value:1}).length}catch{return!0}},ne.exports=w},1459(ne,se,R){"use strict";var P=typeof Symbol<"u"&&Symbol,w=R(6497);ne.exports=function(){return"function"==typeof P&&"function"==typeof Symbol&&"symbol"==typeof P("foo")&&"symbol"==typeof Symbol("bar")&&w()}},6497(ne){"use strict";ne.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var R={},P=Symbol("test"),w=Object(P);if("string"==typeof P||"[object Symbol]"!==Object.prototype.toString.call(P)||"[object Symbol]"!==Object.prototype.toString.call(w))return!1;for(var K in R[P]=42,R)return!1;if("function"==typeof Object.keys&&0!==Object.keys(R).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(R).length)return!1;var $=Object.getOwnPropertySymbols(R);if(1!==$.length||$[0]!==P||!Object.prototype.propertyIsEnumerable.call(R,P))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var _=Object.getOwnPropertyDescriptor(R,P);if(42!==_.value||!0!==_.enumerable)return!1}return!0}},5328(ne,se,R){"use strict";var P=R(6497);ne.exports=function(){return P()&&!!Symbol.toStringTag}},3889(ne,se,R){"use strict";var P=Function.prototype.call,w=Object.prototype.hasOwnProperty,q=R(7707);ne.exports=q.call(P,w)},2179(ne,se,R){"use strict";var P=R(3889),w=R(5492)(),q=R(8519),K={assert:function($,_){if(!$||"object"!=typeof $&&"function"!=typeof $)throw new q("`O` is not an object");if("string"!=typeof _)throw new q("`slot` must be a string");if(w.assert($),!K.has($,_))throw new q("`"+_+"` is not present on `O`")},get:function($,_){if(!$||"object"!=typeof $&&"function"!=typeof $)throw new q("`O` is not an object");if("string"!=typeof _)throw new q("`slot` must be a string");var p=w.get($);return p&&p["$"+_]},has:function($,_){if(!$||"object"!=typeof $&&"function"!=typeof $)throw new q("`O` is not an object");if("string"!=typeof _)throw new q("`slot` must be a string");var p=w.get($);return!!p&&P(p,"$"+_)},set:function($,_,p){if(!$||"object"!=typeof $&&"function"!=typeof $)throw new q("`O` is not an object");if("string"!=typeof _)throw new q("`slot` must be a string");var v=w.get($);v||w.set($,v={}),v["$"+_]=p}};Object.freeze&&Object.freeze(K),ne.exports=K},8344(ne,se,R){"use strict";var P=R(5328)(),q=R(840)("Object.prototype.toString"),K=function(v){return!(P&&v&&"object"==typeof v&&Symbol.toStringTag in v)&&"[object Arguments]"===q(v)},$=function(v){return!!K(v)||null!==v&&"object"==typeof v&&"length"in v&&"number"==typeof v.length&&v.length>=0&&"[object Array]"!==q(v)&&"callee"in v&&"[object Function]"===q(v.callee)},_=function(){return K(arguments)}();K.isLegacyArguments=$,ne.exports=_?K:$},3066(ne,se,R){"use strict";var P=R(6283),w=R(840),K=R(2521)("%ArrayBuffer%",!0),$=w("ArrayBuffer.prototype.byteLength",!0),_=w("Object.prototype.toString"),p=!!K&&!$&&new K(0).slice,v=!!p&&P(p);ne.exports=$||v?function(I){if(!I||"object"!=typeof I)return!1;try{return $?$(I):v(I,0),!0}catch{return!1}}:K?function(I){return"[object ArrayBuffer]"===_(I)}:function(I){return!1}},7671(ne,se,R){"use strict";if(R(362)()){var w=BigInt.prototype.valueOf;ne.exports=function($){return!(null===$||typeof $>"u"||"boolean"==typeof $||"string"==typeof $||"number"==typeof $||"symbol"==typeof $||"function"==typeof $)&&("bigint"==typeof $||function($){try{return w.call($),!0}catch{}return!1}($))}}else ne.exports=function($){return!1}},6484(ne,se,R){"use strict";var P=R(840),w=P("Boolean.prototype.toString"),q=P("Object.prototype.toString"),_=R(5328)();ne.exports=function(v){return"boolean"==typeof v||null!==v&&"object"==typeof v&&(_?function(v){try{return w(v),!0}catch{return!1}}(v):"[object Boolean]"===q(v))}},7268(ne){"use strict";var P,w,se=Function.prototype.toString,R="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof R&&"function"==typeof Object.defineProperty)try{P=Object.defineProperty({},"length",{get:function(){throw w}}),w={},R(function(){throw 42},null,P)}catch(Q){Q!==w&&(R=null)}else R=null;var q=/^\s*class\b/,K=function(X){try{var de=se.call(X);return q.test(de)}catch{return!1}},$=function(X){try{return!K(X)&&(se.call(X),!0)}catch{return!1}},_=Object.prototype.toString,A="function"==typeof Symbol&&!!Symbol.toStringTag,G=!(0 in[,]),V=function(){return!1};if("object"==typeof document){var Y=document.all;_.call(Y)===_.call(document.all)&&(V=function(X){if((G||!X)&&(typeof X>"u"||"object"==typeof X))try{var de=_.call(X);return("[object HTMLAllCollection]"===de||"[object HTML document.all class]"===de||"[object HTMLCollection]"===de||"[object Object]"===de)&&null==X("")}catch{}return!1})}ne.exports=R?function(X){if(V(X))return!0;if(!X||"function"!=typeof X&&"object"!=typeof X)return!1;try{R(X,null,P)}catch(de){if(de!==w)return!1}return!K(X)&&$(X)}:function(X){if(V(X))return!0;if(!X||"function"!=typeof X&&"object"!=typeof X)return!1;if(A)return $(X);if(K(X))return!1;var de=_.call(X);return!("[object Function]"!==de&&"[object GeneratorFunction]"!==de&&!/^\[object HTML/.test(de))&&$(X)}},5500(ne,se,R){"use strict";var P=R(840),w=P("Date.prototype.getDay"),K=P("Object.prototype.toString"),_=R(5328)();ne.exports=function(v){return"object"==typeof v&&null!==v&&(_?function(v){try{return w(v),!0}catch{return!1}}(v):"[object Date]"===K(v))}},3983(ne){"use strict";ne.exports=Number.isFinite||function(se){return!("number"!=typeof se||se!=se||se===1/0||se===-1/0)}},9962(ne,se,R){var P=R(3983);ne.exports=Number.isInteger||function(w){return"number"==typeof w&&P(w)&&Math.floor(w)===w}},5217(ne){"use strict";var P,se="function"==typeof Map&&Map.prototype?Map:null,R="function"==typeof Set&&Set.prototype?Set:null;se||(P=function($){return!1});var w=se?Map.prototype.has:null,q=R?Set.prototype.has:null;!P&&!w&&(P=function($){return!1}),ne.exports=P||function($){if(!$||"object"!=typeof $)return!1;try{if(w.call($),q)try{q.call($)}catch{return!0}return $ instanceof se}catch{}return!1}},8979(ne,se,R){"use strict";var P=R(840),w=P("Number.prototype.toString"),K=P("Object.prototype.toString"),_=R(5328)();ne.exports=function(v){return"number"==typeof v||!(!v||"object"!=typeof v)&&(_?function(v){try{return w(v),!0}catch{return!1}}(v):"[object Number]"===K(v))}},5831(ne,se,R){"use strict";var $,P=R(840),w=R(5328)(),q=R(3889),K=R(9263);if(w){var _=P("RegExp.prototype.exec"),p={},v=function(){throw p},D={toString:v,valueOf:v};"symbol"==typeof Symbol.toPrimitive&&(D[Symbol.toPrimitive]=v),$=function(A){if(!A||"object"!=typeof A)return!1;var G=K(A,"lastIndex");if(!G||!q(G,"value"))return!1;try{_(A,D)}catch(Y){return Y===p}}}else{var I=P("Object.prototype.toString");$=function(A){return!(!A||"object"!=typeof A&&"function"!=typeof A)&&"[object RegExp]"===I(A)}}ne.exports=$},9116(ne){"use strict";var P,se="function"==typeof Map&&Map.prototype?Map:null,R="function"==typeof Set&&Set.prototype?Set:null;R||(P=function($){return!1});var w=se?Map.prototype.has:null,q=R?Set.prototype.has:null;!P&&!q&&(P=function($){return!1}),ne.exports=P||function($){if(!$||"object"!=typeof $)return!1;try{if(q.call($),w)try{w.call($)}catch{return!0}return $ instanceof R}catch{}return!1}},2090(ne,se,R){"use strict";var w=R(840)("SharedArrayBuffer.prototype.byteLength",!0);ne.exports=w?function(K){if(!K||"object"!=typeof K)return!1;try{return w(K),!0}catch{return!1}}:function(K){return!1}},6837(ne,se,R){"use strict";var P=R(840),w=P("String.prototype.valueOf"),K=P("Object.prototype.toString"),_=R(5328)();ne.exports=function(v){return"string"==typeof v||!(!v||"object"!=typeof v)&&(_?function(v){try{return w(v),!0}catch{return!1}}(v):"[object String]"===K(v))}},3016(ne,se,R){"use strict";var P=R(840),w=P("Object.prototype.toString"),q=R(1459)(),K=R(7653);if(q){var $=P("Symbol.prototype.toString"),_=K(/^Symbol\(.*\)$/);ne.exports=function(D){if("symbol"==typeof D)return!0;if(!D||"object"!=typeof D||"[object Symbol]"!==w(D))return!1;try{return function(D){return"symbol"==typeof D.valueOf()&&_($(D))}(D)}catch{return!1}}}else ne.exports=function(D){return!1}},9462(ne){"use strict";var P,se="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,R="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;se||(P=function($){return!1});var w=se?se.prototype.has:null,q=R?R.prototype.has:null;!P&&!w&&(P=function($){return!1}),ne.exports=P||function($){if(!$||"object"!=typeof $)return!1;try{if(w.call($,w),q)try{q.call($,q)}catch{return!0}return $ instanceof se}catch{}return!1}},5028(ne,se,R){"use strict";var P=R(2521),w=R(840),q=P("%WeakSet%",!0),K=w("WeakSet.prototype.has",!0);if(K){var $=w("WeakMap.prototype.has",!0);ne.exports=function(p){if(!p||"object"!=typeof p)return!1;try{if(K(p,K),$)try{$(p,$)}catch{return!0}return p instanceof q}catch{}return!1}}else ne.exports=function(p){return!1}},7638(ne){var se={}.toString;ne.exports=Array.isArray||function(R){return"[object Array]"==se.call(R)}},3224(ne,se){var P;
/*!
      * jQuery JavaScript Library v3.7.1
      * https://jquery.com/
      *
      * Copyright OpenJS Foundation and other contributors
      * Released under the MIT license
      * https://jquery.org/license
      *
      * Date: 2023-08-28T13:37Z
      */!function(w,q){"use strict";"object"==typeof ne.exports?ne.exports=w.document?q(w,!0):function(K){if(!K.document)throw new Error("jQuery requires a window with a document");return q(K)}:q(w)}(typeof window<"u"?window:this,function(w,q){"use strict";var K=[],$=Object.getPrototypeOf,_=K.slice,p=K.flat?function(u){return K.flat.call(u)}:function(u){return K.concat.apply([],u)},v=K.push,D=K.indexOf,I={},M=I.toString,E=I.hasOwnProperty,A=E.toString,G=A.call(Object),V={},Y=function(f){return"function"==typeof f&&"number"!=typeof f.nodeType&&"function"!=typeof f.item},Q=function(f){return null!=f&&f===f.window},X=w.document,de={type:!0,src:!0,nonce:!0,noModule:!0};function fe(u,f,b){var S,F,H=(b=b||X).createElement("script");if(H.text=u,f)for(S in de)(F=f[S]||f.getAttribute&&f.getAttribute(S))&&H.setAttribute(S,F);b.head.appendChild(H).parentNode.removeChild(H)}function we(u){return null==u?u+"":"object"==typeof u||"function"==typeof u?I[M.call(u)]||"object":typeof u}var qe=/HTML$/i,C=function(u,f){return new C.fn.init(u,f)};function Fe(u){var f=!!u&&"length"in u&&u.length,b=we(u);return!Y(u)&&!Q(u)&&("array"===b||0===f||"number"==typeof f&&f>0&&f-1 in u)}function Ve(u,f){return u.nodeName&&u.nodeName.toLowerCase()===f.toLowerCase()}C.fn=C.prototype={jquery:"3.7.1",constructor:C,length:0,toArray:function(){return _.call(this)},get:function(u){return null==u?_.call(this):u<0?this[u+this.length]:this[u]},pushStack:function(u){var f=C.merge(this.constructor(),u);return f.prevObject=this,f},each:function(u){return C.each(this,u)},map:function(u){return this.pushStack(C.map(this,function(f,b){return u.call(f,b,f)}))},slice:function(){return this.pushStack(_.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,function(u,f){return(f+1)%2}))},odd:function(){return this.pushStack(C.grep(this,function(u,f){return f%2}))},eq:function(u){var f=this.length,b=+u+(u<0?f:0);return this.pushStack(b>=0&&b<f?[this[b]]:[])},end:function(){return this.prevObject||this.constructor()},push:v,sort:K.sort,splice:K.splice},C.extend=C.fn.extend=function(){var u,f,b,S,F,H,j=arguments[0]||{},oe=1,ie=arguments.length,me=!1;for("boolean"==typeof j&&(me=j,j=arguments[oe]||{},oe++),"object"!=typeof j&&!Y(j)&&(j={}),oe===ie&&(j=this,oe--);oe<ie;oe++)if(null!=(u=arguments[oe]))for(f in u)S=u[f],"__proto__"!==f&&j!==S&&(me&&S&&(C.isPlainObject(S)||(F=Array.isArray(S)))?(b=j[f],H=F&&!Array.isArray(b)?[]:F||C.isPlainObject(b)?b:{},F=!1,j[f]=C.extend(me,H,S)):void 0!==S&&(j[f]=S));return j},C.extend({expando:"jQuery"+("3.7.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(u){throw new Error(u)},noop:function(){},isPlainObject:function(u){var f,b;return!(!u||"[object Object]"!==M.call(u)||(f=$(u))&&("function"!=typeof(b=E.call(f,"constructor")&&f.constructor)||A.call(b)!==G))},isEmptyObject:function(u){var f;for(f in u)return!1;return!0},globalEval:function(u,f,b){fe(u,{nonce:f&&f.nonce},b)},each:function(u,f){var b,S=0;if(Fe(u))for(b=u.length;S<b&&!1!==f.call(u[S],S,u[S]);S++);else for(S in u)if(!1===f.call(u[S],S,u[S]))break;return u},text:function(u){var f,b="",S=0,F=u.nodeType;if(!F)for(;f=u[S++];)b+=C.text(f);return 1===F||11===F?u.textContent:9===F?u.documentElement.textContent:3===F||4===F?u.nodeValue:b},makeArray:function(u,f){var b=f||[];return null!=u&&(Fe(Object(u))?C.merge(b,"string"==typeof u?[u]:u):v.call(b,u)),b},inArray:function(u,f,b){return null==f?-1:D.call(f,u,b)},isXMLDoc:function(u){var b=u&&(u.ownerDocument||u).documentElement;return!qe.test(u&&u.namespaceURI||b&&b.nodeName||"HTML")},merge:function(u,f){for(var b=+f.length,S=0,F=u.length;S<b;S++)u[F++]=f[S];return u.length=F,u},grep:function(u,f,b){for(var F=[],H=0,j=u.length,oe=!b;H<j;H++)!f(u[H],H)!==oe&&F.push(u[H]);return F},map:function(u,f,b){var S,F,H=0,j=[];if(Fe(u))for(S=u.length;H<S;H++)null!=(F=f(u[H],H,b))&&j.push(F);else for(H in u)null!=(F=f(u[H],H,b))&&j.push(F);return p(j)},guid:1,support:V}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=K[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(u,f){I["[object "+f+"]"]=f.toLowerCase()});var Ct=K.pop,Yt=K.sort,Sn=K.splice,ht="[\\x20\\t\\r\\n\\f]",Gt=new RegExp("^"+ht+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ht+"+$","g");C.contains=function(u,f){var b=f&&f.parentNode;return u===b||!(!b||1!==b.nodeType||!(u.contains?u.contains(b):u.compareDocumentPosition&&16&u.compareDocumentPosition(b)))};var Hn=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function ji(u,f){return f?"\0"===u?"\ufffd":u.slice(0,-1)+"\\"+u.charCodeAt(u.length-1).toString(16)+" ":"\\"+u}C.escapeSelector=function(u){return(u+"").replace(Hn,ji)};var Pi=X,Ci=v;!function(){var u,f,b,S,F,j,oe,ie,me,Te,H=Ci,Ae=C.expando,be=0,Ke=0,Ot=rl(),Wn=rl(),Pn=rl(),so=rl(),Ri=function(Z,he){return Z===he&&(F=!0),0},ba="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Ga="(?:\\\\[\\da-fA-F]{1,6}"+ht+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",qn="\\["+ht+"*("+Ga+")(?:"+ht+"*([*^$|!~]?=)"+ht+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Ga+"))|)"+ht+"*\\]",It=":("+Ga+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+qn+")*)|.*)\\)|)",Gn=new RegExp(ht+"+","g"),U=new RegExp("^"+ht+"*,"+ht+"*"),No=new RegExp("^"+ht+"*([>+~]|"+ht+")"+ht+"*"),Qu=new RegExp(ht+"|>"),Ro=new RegExp(It),ms=new RegExp("^"+Ga+"$"),Ca={ID:new RegExp("^#("+Ga+")"),CLASS:new RegExp("^\\.("+Ga+")"),TAG:new RegExp("^("+Ga+"|[*])"),ATTR:new RegExp("^"+qn),PSEUDO:new RegExp("^"+It),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ht+"*(even|odd|(([+-]|)(\\d*)n|)"+ht+"*(?:([+-]|)"+ht+"*(\\d+)|))"+ht+"*\\)|)","i"),bool:new RegExp("^(?:"+ba+")$","i"),needsContext:new RegExp("^"+ht+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ht+"*((?:-\\d)?\\d*)"+ht+"*\\)|)(?=[^-]|$)","i")},Fo=/^(?:input|select|textarea|button)$/i,As=/^h\d$/i,cr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ls=/[+~]/,Pa=new RegExp("\\\\[\\da-fA-F]{1,6}"+ht+"?|\\\\([^\\r\\n\\f])","g"),wa=function(Z,he){var _e="0x"+Z.slice(1)-65536;return he||(_e<0?String.fromCharCode(_e+65536):String.fromCharCode(_e>>10|55296,1023&_e|56320))},yc=function(){Ho()},zi=ou(function(Z){return!0===Z.disabled&&Ve(Z,"fieldset")},{dir:"parentNode",next:"legend"});try{H.apply(K=_.call(Pi.childNodes),Pi.childNodes)}catch{H={apply:function(he,_e){Ci.apply(he,_.call(_e))},call:function(he){Ci.apply(he,_.call(arguments,1))}}}function ti(Z,he,_e,Me){var Ee,nt,ft,wt,pt,tn,Nt,sn=he&&he.ownerDocument,Nn=he?he.nodeType:9;if(_e=_e||[],"string"!=typeof Z||!Z||1!==Nn&&9!==Nn&&11!==Nn)return _e;if(!Me&&(Ho(he),he=he||j,ie)){if(11!==Nn&&(pt=cr.exec(Z)))if(Ee=pt[1]){if(9===Nn){if(!(ft=he.getElementById(Ee)))return _e;if(ft.id===Ee)return H.call(_e,ft),_e}else if(sn&&(ft=sn.getElementById(Ee))&&ti.contains(he,ft)&&ft.id===Ee)return H.call(_e,ft),_e}else{if(pt[2])return H.apply(_e,he.getElementsByTagName(Z)),_e;if((Ee=pt[3])&&he.getElementsByClassName)return H.apply(_e,he.getElementsByClassName(Ee)),_e}if(!(so[Z+" "]||me&&me.test(Z))){if(Nt=Z,sn=he,1===Nn&&(Qu.test(Z)||No.test(Z))){for(((sn=Ls.test(Z)&&bc(he.parentNode)||he)!=he||!V.scope)&&((wt=he.getAttribute("id"))?wt=C.escapeSelector(wt):he.setAttribute("id",wt=Ae)),nt=(tn=gs(Z)).length;nt--;)tn[nt]=(wt?"#"+wt:":scope")+" "+Xn(tn[nt]);Nt=tn.join(",")}try{return H.apply(_e,sn.querySelectorAll(Nt)),_e}catch{so(Z,!0)}finally{wt===Ae&&he.removeAttribute("id")}}}return Zu(Z.replace(Gt,"$1"),he,_e,Me)}function rl(){var Z=[];return function he(_e,Me){return Z.push(_e+" ")>f.cacheLength&&delete he[Z.shift()],he[_e+" "]=Me}}function Eo(Z){return Z[Ae]=!0,Z}function Al(Z){var he=j.createElement("fieldset");try{return!!Z(he)}catch{return!1}finally{he.parentNode&&he.parentNode.removeChild(he),he=null}}function Ka(Z){return function(he){return Ve(he,"input")&&he.type===Z}}function ai(Z){return function(he){return(Ve(he,"input")||Ve(he,"button"))&&he.type===Z}}function ps(Z){return function(he){return"form"in he?he.parentNode&&!1===he.disabled?"label"in he?"label"in he.parentNode?he.parentNode.disabled===Z:he.disabled===Z:he.isDisabled===Z||he.isDisabled!==!Z&&zi(he)===Z:he.disabled===Z:"label"in he&&he.disabled===Z}}function Os(Z){return Eo(function(he){return he=+he,Eo(function(_e,Me){for(var Ee,nt=Z([],_e.length,he),ft=nt.length;ft--;)_e[Ee=nt[ft]]&&(_e[Ee]=!(Me[Ee]=_e[Ee]))})})}function bc(Z){return Z&&typeof Z.getElementsByTagName<"u"&&Z}function Ho(Z){var he,_e=Z?Z.ownerDocument||Z:Pi;return _e==j||9!==_e.nodeType||!_e.documentElement||(oe=(j=_e).documentElement,ie=!C.isXMLDoc(j),Te=oe.matches||oe.webkitMatchesSelector||oe.msMatchesSelector,oe.msMatchesSelector&&Pi!=j&&(he=j.defaultView)&&he.top!==he&&he.addEventListener("unload",yc),V.getById=Al(function(Me){return oe.appendChild(Me).id=C.expando,!j.getElementsByName||!j.getElementsByName(C.expando).length}),V.disconnectedMatch=Al(function(Me){return Te.call(Me,"*")}),V.scope=Al(function(){return j.querySelectorAll(":scope")}),V.cssHas=Al(function(){try{return j.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),V.getById?(f.filter.ID=function(Me){var Ee=Me.replace(Pa,wa);return function(nt){return nt.getAttribute("id")===Ee}},f.find.ID=function(Me,Ee){if(typeof Ee.getElementById<"u"&&ie){var nt=Ee.getElementById(Me);return nt?[nt]:[]}}):(f.filter.ID=function(Me){var Ee=Me.replace(Pa,wa);return function(nt){var ft=typeof nt.getAttributeNode<"u"&&nt.getAttributeNode("id");return ft&&ft.value===Ee}},f.find.ID=function(Me,Ee){if(typeof Ee.getElementById<"u"&&ie){var nt,ft,wt,pt=Ee.getElementById(Me);if(pt){if((nt=pt.getAttributeNode("id"))&&nt.value===Me)return[pt];for(wt=Ee.getElementsByName(Me),ft=0;pt=wt[ft++];)if((nt=pt.getAttributeNode("id"))&&nt.value===Me)return[pt]}return[]}}),f.find.TAG=function(Me,Ee){return typeof Ee.getElementsByTagName<"u"?Ee.getElementsByTagName(Me):Ee.querySelectorAll(Me)},f.find.CLASS=function(Me,Ee){if(typeof Ee.getElementsByClassName<"u"&&ie)return Ee.getElementsByClassName(Me)},me=[],Al(function(Me){var Ee;oe.appendChild(Me).innerHTML="<a id='"+Ae+"' href='' disabled='disabled'></a><select id='"+Ae+"-\r\\' disabled='disabled'><option selected=''></option></select>",Me.querySelectorAll("[selected]").length||me.push("\\["+ht+"*(?:value|"+ba+")"),Me.querySelectorAll("[id~="+Ae+"-]").length||me.push("~="),Me.querySelectorAll("a#"+Ae+"+*").length||me.push(".#.+[+~]"),Me.querySelectorAll(":checked").length||me.push(":checked"),(Ee=j.createElement("input")).setAttribute("type","hidden"),Me.appendChild(Ee).setAttribute("name","D"),oe.appendChild(Me).disabled=!0,2!==Me.querySelectorAll(":disabled").length&&me.push(":enabled",":disabled"),(Ee=j.createElement("input")).setAttribute("name",""),Me.appendChild(Ee),Me.querySelectorAll("[name='']").length||me.push("\\["+ht+"*name"+ht+"*="+ht+"*(?:''|\"\")")}),V.cssHas||me.push(":has"),me=me.length&&new RegExp(me.join("|")),Ri=function(Me,Ee){if(Me===Ee)return F=!0,0;var nt=!Me.compareDocumentPosition-!Ee.compareDocumentPosition;return nt||(1&(nt=(Me.ownerDocument||Me)==(Ee.ownerDocument||Ee)?Me.compareDocumentPosition(Ee):1)||!V.sortDetached&&Ee.compareDocumentPosition(Me)===nt?Me===j||Me.ownerDocument==Pi&&ti.contains(Pi,Me)?-1:Ee===j||Ee.ownerDocument==Pi&&ti.contains(Pi,Ee)?1:S?D.call(S,Me)-D.call(S,Ee):0:4&nt?-1:1)}),j}for(u in ti.matches=function(Z,he){return ti(Z,null,null,he)},ti.matchesSelector=function(Z,he){if(Ho(Z),ie&&!so[he+" "]&&(!me||!me.test(he)))try{var _e=Te.call(Z,he);if(_e||V.disconnectedMatch||Z.document&&11!==Z.document.nodeType)return _e}catch{so(he,!0)}return ti(he,j,null,[Z]).length>0},ti.contains=function(Z,he){return(Z.ownerDocument||Z)!=j&&Ho(Z),C.contains(Z,he)},ti.attr=function(Z,he){(Z.ownerDocument||Z)!=j&&Ho(Z);var _e=f.attrHandle[he.toLowerCase()],Me=_e&&E.call(f.attrHandle,he.toLowerCase())?_e(Z,he,!ie):void 0;return void 0!==Me?Me:Z.getAttribute(he)},ti.error=function(Z){throw new Error("Syntax error, unrecognized expression: "+Z)},C.uniqueSort=function(Z){var he,_e=[],Me=0,Ee=0;if(F=!V.sortStable,S=!V.sortStable&&_.call(Z,0),Yt.call(Z,Ri),F){for(;he=Z[Ee++];)he===Z[Ee]&&(Me=_e.push(Ee));for(;Me--;)Sn.call(Z,_e[Me],1)}return S=null,Z},C.fn.uniqueSort=function(){return this.pushStack(C.uniqueSort(_.apply(this)))},(f=C.expr={cacheLength:50,createPseudo:Eo,match:Ca,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(Z){return Z[1]=Z[1].replace(Pa,wa),Z[3]=(Z[3]||Z[4]||Z[5]||"").replace(Pa,wa),"~="===Z[2]&&(Z[3]=" "+Z[3]+" "),Z.slice(0,4)},CHILD:function(Z){return Z[1]=Z[1].toLowerCase(),"nth"===Z[1].slice(0,3)?(Z[3]||ti.error(Z[0]),Z[4]=+(Z[4]?Z[5]+(Z[6]||1):2*("even"===Z[3]||"odd"===Z[3])),Z[5]=+(Z[7]+Z[8]||"odd"===Z[3])):Z[3]&&ti.error(Z[0]),Z},PSEUDO:function(Z){var he,_e=!Z[6]&&Z[2];return Ca.CHILD.test(Z[0])?null:(Z[3]?Z[2]=Z[4]||Z[5]||"":_e&&Ro.test(_e)&&(he=gs(_e,!0))&&(he=_e.indexOf(")",_e.length-he)-_e.length)&&(Z[0]=Z[0].slice(0,he),Z[2]=_e.slice(0,he)),Z.slice(0,3))}},filter:{TAG:function(Z){var he=Z.replace(Pa,wa).toLowerCase();return"*"===Z?function(){return!0}:function(_e){return Ve(_e,he)}},CLASS:function(Z){var he=Ot[Z+" "];return he||(he=new RegExp("(^|"+ht+")"+Z+"("+ht+"|$)"))&&Ot(Z,function(_e){return he.test("string"==typeof _e.className&&_e.className||typeof _e.getAttribute<"u"&&_e.getAttribute("class")||"")})},ATTR:function(Z,he,_e){return function(Me){var Ee=ti.attr(Me,Z);return null==Ee?"!="===he:!he||(Ee+="","="===he?Ee===_e:"!="===he?Ee!==_e:"^="===he?_e&&0===Ee.indexOf(_e):"*="===he?_e&&Ee.indexOf(_e)>-1:"$="===he?_e&&Ee.slice(-_e.length)===_e:"~="===he?(" "+Ee.replace(Gn," ")+" ").indexOf(_e)>-1:"|="===he&&(Ee===_e||Ee.slice(0,_e.length+1)===_e+"-"))}},CHILD:function(Z,he,_e,Me,Ee){var nt="nth"!==Z.slice(0,3),ft="last"!==Z.slice(-4),wt="of-type"===he;return 1===Me&&0===Ee?function(pt){return!!pt.parentNode}:function(pt,tn,Nt){var sn,Nn,Ft,pn,Nr,Kr=nt!==ft?"nextSibling":"previousSibling",na=pt.parentNode,Qa=wt&&pt.nodeName.toLowerCase(),ol=!Nt&&!wt,Hr=!1;if(na){if(nt){for(;Kr;){for(Ft=pt;Ft=Ft[Kr];)if(wt?Ve(Ft,Qa):1===Ft.nodeType)return!1;Nr=Kr="only"===Z&&!Nr&&"nextSibling"}return!0}if(Nr=[ft?na.firstChild:na.lastChild],ft&&ol){for(Hr=(pn=(sn=(Nn=na[Ae]||(na[Ae]={}))[Z]||[])[0]===be&&sn[1])&&sn[2],Ft=pn&&na.childNodes[pn];Ft=++pn&&Ft&&Ft[Kr]||(Hr=pn=0)||Nr.pop();)if(1===Ft.nodeType&&++Hr&&Ft===pt){Nn[Z]=[be,pn,Hr];break}}else if(ol&&(Hr=pn=(sn=(Nn=pt[Ae]||(pt[Ae]={}))[Z]||[])[0]===be&&sn[1]),!1===Hr)for(;(Ft=++pn&&Ft&&Ft[Kr]||(Hr=pn=0)||Nr.pop())&&(!(wt?Ve(Ft,Qa):1===Ft.nodeType)||!++Hr||(ol&&((Nn=Ft[Ae]||(Ft[Ae]={}))[Z]=[be,Hr]),Ft!==pt)););return(Hr-=Ee)===Me||Hr%Me===0&&Hr/Me>=0}}},PSEUDO:function(Z,he){var _e,Me=f.pseudos[Z]||f.setFilters[Z.toLowerCase()]||ti.error("unsupported pseudo: "+Z);return Me[Ae]?Me(he):Me.length>1?(_e=[Z,Z,"",he],f.setFilters.hasOwnProperty(Z.toLowerCase())?Eo(function(Ee,nt){for(var ft,wt=Me(Ee,he),pt=wt.length;pt--;)Ee[ft=D.call(Ee,wt[pt])]=!(nt[ft]=wt[pt])}):function(Ee){return Me(Ee,0,_e)}):Me}},pseudos:{not:Eo(function(Z){var he=[],_e=[],Me=Cc(Z.replace(Gt,"$1"));return Me[Ae]?Eo(function(Ee,nt,ft,wt){for(var pt,tn=Me(Ee,null,wt,[]),Nt=Ee.length;Nt--;)(pt=tn[Nt])&&(Ee[Nt]=!(nt[Nt]=pt))}):function(Ee,nt,ft){return he[0]=Ee,Me(he,null,ft,_e),he[0]=null,!_e.pop()}}),has:Eo(function(Z){return function(he){return ti(Z,he).length>0}}),contains:Eo(function(Z){return Z=Z.replace(Pa,wa),function(he){return(he.textContent||C.text(he)).indexOf(Z)>-1}}),lang:Eo(function(Z){return ms.test(Z||"")||ti.error("unsupported lang: "+Z),Z=Z.replace(Pa,wa).toLowerCase(),function(he){var _e;do{if(_e=ie?he.lang:he.getAttribute("xml:lang")||he.getAttribute("lang"))return(_e=_e.toLowerCase())===Z||0===_e.indexOf(Z+"-")}while((he=he.parentNode)&&1===he.nodeType);return!1}}),target:function(Z){var he=w.location&&w.location.hash;return he&&he.slice(1)===Z.id},root:function(Z){return Z===oe},focus:function(Z){return Z===function p0(){try{return j.activeElement}catch{}}()&&j.hasFocus()&&!!(Z.type||Z.href||~Z.tabIndex)},enabled:ps(!1),disabled:ps(!0),checked:function(Z){return Ve(Z,"input")&&!!Z.checked||Ve(Z,"option")&&!!Z.selected},selected:function(Z){return!0===Z.selected},empty:function(Z){for(Z=Z.firstChild;Z;Z=Z.nextSibling)if(Z.nodeType<6)return!1;return!0},parent:function(Z){return!f.pseudos.empty(Z)},header:function(Z){return As.test(Z.nodeName)},input:function(Z){return Fo.test(Z.nodeName)},button:function(Z){return Ve(Z,"input")&&"button"===Z.type||Ve(Z,"button")},text:function(Z){var he;return Ve(Z,"input")&&"text"===Z.type&&(null==(he=Z.getAttribute("type"))||"text"===he.toLowerCase())},first:Os(function(){return[0]}),last:Os(function(Z,he){return[he-1]}),eq:Os(function(Z,he,_e){return[_e<0?_e+he:_e]}),even:Os(function(Z,he){for(var _e=0;_e<he;_e+=2)Z.push(_e);return Z}),odd:Os(function(Z,he){for(var _e=1;_e<he;_e+=2)Z.push(_e);return Z}),lt:Os(function(Z,he,_e){var Me;for(Me=_e<0?_e+he:_e>he?he:_e;--Me>=0;)Z.push(Me);return Z}),gt:Os(function(Z,he,_e){for(var Me=_e<0?_e+he:_e;++Me<he;)Z.push(Me);return Z})}}).pseudos.nth=f.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})f.pseudos[u]=Ka(u);for(u in{submit:!0,reset:!0})f.pseudos[u]=ai(u);function Vo(){}function gs(Z,he){var _e,Me,Ee,nt,ft,wt,pt,tn=Wn[Z+" "];if(tn)return he?0:tn.slice(0);for(ft=Z,wt=[],pt=f.preFilter;ft;){for(nt in(!_e||(Me=U.exec(ft)))&&(Me&&(ft=ft.slice(Me[0].length)||ft),wt.push(Ee=[])),_e=!1,(Me=No.exec(ft))&&(_e=Me.shift(),Ee.push({value:_e,type:Me[0].replace(Gt," ")}),ft=ft.slice(_e.length)),f.filter)(Me=Ca[nt].exec(ft))&&(!pt[nt]||(Me=pt[nt](Me)))&&(_e=Me.shift(),Ee.push({value:_e,type:nt,matches:Me}),ft=ft.slice(_e.length));if(!_e)break}return he?ft.length:ft?ti.error(Z):Wn(Z,wt).slice(0)}function Xn(Z){for(var he=0,_e=Z.length,Me="";he<_e;he++)Me+=Z[he].value;return Me}function ou(Z,he,_e){var Me=he.dir,Ee=he.next,nt=Ee||Me,ft=_e&&"parentNode"===nt,wt=Ke++;return he.first?function(pt,tn,Nt){for(;pt=pt[Me];)if(1===pt.nodeType||ft)return Z(pt,tn,Nt);return!1}:function(pt,tn,Nt){var sn,Nn,Ft=[be,wt];if(Nt){for(;pt=pt[Me];)if((1===pt.nodeType||ft)&&Z(pt,tn,Nt))return!0}else for(;pt=pt[Me];)if(1===pt.nodeType||ft)if(Nn=pt[Ae]||(pt[Ae]={}),Ee&&Ve(pt,Ee))pt=pt[Me]||pt;else{if((sn=Nn[nt])&&sn[0]===be&&sn[1]===wt)return Ft[2]=sn[2];if(Nn[nt]=Ft,Ft[2]=Z(pt,tn,Nt))return!0}return!1}}function lo(Z){return Z.length>1?function(he,_e,Me){for(var Ee=Z.length;Ee--;)if(!Z[Ee](he,_e,Me))return!1;return!0}:Z[0]}function Na(Z,he,_e,Me,Ee){for(var nt,ft=[],wt=0,pt=Z.length,tn=null!=he;wt<pt;wt++)(nt=Z[wt])&&(!_e||_e(nt,Me,Ee))&&(ft.push(nt),tn&&he.push(wt));return ft}function vs(Z,he,_e,Me,Ee,nt){return Me&&!Me[Ae]&&(Me=vs(Me)),Ee&&!Ee[Ae]&&(Ee=vs(Ee,nt)),Eo(function(ft,wt,pt,tn){var Nt,sn,Nn,Ft,pn=[],Nr=[],Kr=wt.length,na=ft||function ta(Z,he,_e){for(var Me=0,Ee=he.length;Me<Ee;Me++)ti(Z,he[Me],_e);return _e}(he||"*",pt.nodeType?[pt]:pt,[]),Qa=!Z||!ft&&he?na:Na(na,pn,Z,pt,tn);if(_e?_e(Qa,Ft=Ee||(ft?Z:Kr||Me)?[]:wt,pt,tn):Ft=Qa,Me)for(Nt=Na(Ft,Nr),Me(Nt,[],pt,tn),sn=Nt.length;sn--;)(Nn=Nt[sn])&&(Ft[Nr[sn]]=!(Qa[Nr[sn]]=Nn));if(ft){if(Ee||Z){if(Ee){for(Nt=[],sn=Ft.length;sn--;)(Nn=Ft[sn])&&Nt.push(Qa[sn]=Nn);Ee(null,Ft=[],Nt,tn)}for(sn=Ft.length;sn--;)(Nn=Ft[sn])&&(Nt=Ee?D.call(ft,Nn):pn[sn])>-1&&(ft[Nt]=!(wt[Nt]=Nn))}}else Ft=Na(Ft===wt?Ft.splice(Kr,Ft.length):Ft),Ee?Ee(null,wt,Ft,tn):H.apply(wt,Ft)})}function Xu(Z){for(var he,_e,Me,Ee=Z.length,nt=f.relative[Z[0].type],ft=nt||f.relative[" "],wt=nt?1:0,pt=ou(function(sn){return sn===he},ft,!0),tn=ou(function(sn){return D.call(he,sn)>-1},ft,!0),Nt=[function(sn,Nn,Ft){var pn=!nt&&(Ft||Nn!=b)||((he=Nn).nodeType?pt(sn,Nn,Ft):tn(sn,Nn,Ft));return he=null,pn}];wt<Ee;wt++)if(_e=f.relative[Z[wt].type])Nt=[ou(lo(Nt),_e)];else{if((_e=f.filter[Z[wt].type].apply(null,Z[wt].matches))[Ae]){for(Me=++wt;Me<Ee&&!f.relative[Z[Me].type];Me++);return vs(wt>1&&lo(Nt),wt>1&&Xn(Z.slice(0,wt-1).concat({value:" "===Z[wt-2].type?"*":""})).replace(Gt,"$1"),_e,wt<Me&&Xu(Z.slice(wt,Me)),Me<Ee&&Xu(Z=Z.slice(Me)),Me<Ee&&Xn(Z))}Nt.push(_e)}return lo(Nt)}function Cc(Z,he){var _e,Me=[],Ee=[],nt=Pn[Z+" "];if(!nt){for(he||(he=gs(Z)),_e=he.length;_e--;)(nt=Xu(he[_e]))[Ae]?Me.push(nt):Ee.push(nt);nt=Pn(Z,function Kd(Z,he){var _e=he.length>0,Me=Z.length>0,Ee=function(nt,ft,wt,pt,tn){var Nt,sn,Nn,Ft=0,pn="0",Nr=nt&&[],Kr=[],na=b,Qa=nt||Me&&f.find.TAG("*",tn),ol=be+=null==na?1:Math.random()||.1,Hr=Qa.length;for(tn&&(b=ft==j||ft||tn);pn!==Hr&&null!=(Nt=Qa[pn]);pn++){if(Me&&Nt){for(sn=0,!ft&&Nt.ownerDocument!=j&&(Ho(Nt),wt=!ie);Nn=Z[sn++];)if(Nn(Nt,ft||j,wt)){H.call(pt,Nt);break}tn&&(be=ol)}_e&&((Nt=!Nn&&Nt)&&Ft--,nt&&Nr.push(Nt))}if(Ft+=pn,_e&&pn!==Ft){for(sn=0;Nn=he[sn++];)Nn(Nr,Kr,ft,wt);if(nt){if(Ft>0)for(;pn--;)Nr[pn]||Kr[pn]||(Kr[pn]=Ct.call(pt));Kr=Na(Kr)}H.apply(pt,Kr),tn&&!nt&&Kr.length>0&&Ft+he.length>1&&C.uniqueSort(pt)}return tn&&(be=ol,b=na),Nr};return _e?Eo(Ee):Ee}(Ee,Me)),nt.selector=Z}return nt}function Zu(Z,he,_e,Me){var Ee,nt,ft,wt,pt,tn="function"==typeof Z&&Z,Nt=!Me&&gs(Z=tn.selector||Z);if(_e=_e||[],1===Nt.length){if((nt=Nt[0]=Nt[0].slice(0)).length>2&&"ID"===(ft=nt[0]).type&&9===he.nodeType&&ie&&f.relative[nt[1].type]){if(!(he=(f.find.ID(ft.matches[0].replace(Pa,wa),he)||[])[0]))return _e;tn&&(he=he.parentNode),Z=Z.slice(nt.shift().value.length)}for(Ee=Ca.needsContext.test(Z)?0:nt.length;Ee--&&!f.relative[wt=(ft=nt[Ee]).type];)if((pt=f.find[wt])&&(Me=pt(ft.matches[0].replace(Pa,wa),Ls.test(nt[0].type)&&bc(he.parentNode)||he))){if(nt.splice(Ee,1),!(Z=Me.length&&Xn(nt)))return H.apply(_e,Me),_e;break}}return(tn||Cc(Z,Nt))(Me,he,!ie,_e,!he||Ls.test(Z)&&bc(he.parentNode)||he),_e}Vo.prototype=f.filters=f.pseudos,f.setFilters=new Vo,V.sortStable=Ae.split("").sort(Ri).join("")===Ae,Ho(),V.sortDetached=Al(function(Z){return 1&Z.compareDocumentPosition(j.createElement("fieldset"))}),C.find=ti,C.expr[":"]=C.expr.pseudos,C.unique=C.uniqueSort,ti.compile=Cc,ti.select=Zu,ti.setDocument=Ho,ti.tokenize=gs,ti.escape=C.escapeSelector,ti.getText=C.text,ti.isXML=C.isXMLDoc,ti.selectors=C.expr,ti.support=C.support,ti.uniqueSort=C.uniqueSort}();var Un=function(u,f,b){for(var S=[],F=void 0!==b;(u=u[f])&&9!==u.nodeType;)if(1===u.nodeType){if(F&&C(u).is(b))break;S.push(u)}return S},sr=function(u,f){for(var b=[];u;u=u.nextSibling)1===u.nodeType&&u!==f&&b.push(u);return b},rt=C.expr.match.needsContext,_t=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function De(u,f,b){return Y(f)?C.grep(u,function(S,F){return!!f.call(S,F,S)!==b}):f.nodeType?C.grep(u,function(S){return S===f!==b}):"string"!=typeof f?C.grep(u,function(S){return D.call(f,S)>-1!==b}):C.filter(f,u,b)}C.filter=function(u,f,b){var S=f[0];return b&&(u=":not("+u+")"),1===f.length&&1===S.nodeType?C.find.matchesSelector(S,u)?[S]:[]:C.find.matches(u,C.grep(f,function(F){return 1===F.nodeType}))},C.fn.extend({find:function(u){var f,b,S=this.length,F=this;if("string"!=typeof u)return this.pushStack(C(u).filter(function(){for(f=0;f<S;f++)if(C.contains(F[f],this))return!0}));for(b=this.pushStack([]),f=0;f<S;f++)C.find(u,F[f],b);return S>1?C.uniqueSort(b):b},filter:function(u){return this.pushStack(De(this,u||[],!1))},not:function(u){return this.pushStack(De(this,u||[],!0))},is:function(u){return!!De(this,"string"==typeof u&&rt.test(u)?C(u):u||[],!1).length}});var Ce,Ue=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Et=C.fn.init=function(u,f,b){var S,F;if(!u)return this;if(b=b||Ce,"string"==typeof u){if(!(S="<"===u[0]&&">"===u[u.length-1]&&u.length>=3?[null,u,null]:Ue.exec(u))||!S[1]&&f)return!f||f.jquery?(f||b).find(u):this.constructor(f).find(u);if(S[1]){if(C.merge(this,C.parseHTML(S[1],(f=f instanceof C?f[0]:f)&&f.nodeType?f.ownerDocument||f:X,!0)),_t.test(S[1])&&C.isPlainObject(f))for(S in f)Y(this[S])?this[S](f[S]):this.attr(S,f[S]);return this}return(F=X.getElementById(S[2]))&&(this[0]=F,this.length=1),this}return u.nodeType?(this[0]=u,this.length=1,this):Y(u)?void 0!==b.ready?b.ready(u):u(C):C.makeArray(u,this)};Et.prototype=C.fn,Ce=C(X);var an=/^(?:parents|prev(?:Until|All))/,Dn={children:!0,contents:!0,next:!0,prev:!0};function Vn(u,f){for(;(u=u[f])&&1!==u.nodeType;);return u}C.fn.extend({has:function(u){var f=C(u,this),b=f.length;return this.filter(function(){for(var S=0;S<b;S++)if(C.contains(this,f[S]))return!0})},closest:function(u,f){var b,S=0,F=this.length,H=[],j="string"!=typeof u&&C(u);if(!rt.test(u))for(;S<F;S++)for(b=this[S];b&&b!==f;b=b.parentNode)if(b.nodeType<11&&(j?j.index(b)>-1:1===b.nodeType&&C.find.matchesSelector(b,u))){H.push(b);break}return this.pushStack(H.length>1?C.uniqueSort(H):H)},index:function(u){return u?"string"==typeof u?D.call(C(u),this[0]):D.call(this,u.jquery?u[0]:u):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(u,f){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(u,f))))},addBack:function(u){return this.add(null==u?this.prevObject:this.prevObject.filter(u))}}),C.each({parent:function(u){var f=u.parentNode;return f&&11!==f.nodeType?f:null},parents:function(u){return Un(u,"parentNode")},parentsUntil:function(u,f,b){return Un(u,"parentNode",b)},next:function(u){return Vn(u,"nextSibling")},prev:function(u){return Vn(u,"previousSibling")},nextAll:function(u){return Un(u,"nextSibling")},prevAll:function(u){return Un(u,"previousSibling")},nextUntil:function(u,f,b){return Un(u,"nextSibling",b)},prevUntil:function(u,f,b){return Un(u,"previousSibling",b)},siblings:function(u){return sr((u.parentNode||{}).firstChild,u)},children:function(u){return sr(u.firstChild)},contents:function(u){return null!=u.contentDocument&&$(u.contentDocument)?u.contentDocument:(Ve(u,"template")&&(u=u.content||u),C.merge([],u.childNodes))}},function(u,f){C.fn[u]=function(b,S){var F=C.map(this,f,b);return"Until"!==u.slice(-5)&&(S=b),S&&"string"==typeof S&&(F=C.filter(S,F)),this.length>1&&(Dn[u]||C.uniqueSort(F),an.test(u)&&F.reverse()),this.pushStack(F)}});var Dt=/[^\x20\t\r\n\f]+/g;function xt(u){return u}function fn(u){throw u}function ki(u,f,b,S){var F;try{u&&Y(F=u.promise)?F.call(u).done(f).fail(b):u&&Y(F=u.then)?F.call(u,f,b):f.apply(void 0,[u].slice(S))}catch(H){b.apply(void 0,[H])}}C.Callbacks=function(u){u="string"==typeof u?function cn(u){var f={};return C.each(u.match(Dt)||[],function(b,S){f[S]=!0}),f}(u):C.extend({},u);var f,b,S,F,H=[],j=[],oe=-1,ie=function(){for(F=F||u.once,S=f=!0;j.length;oe=-1)for(b=j.shift();++oe<H.length;)!1===H[oe].apply(b[0],b[1])&&u.stopOnFalse&&(oe=H.length,b=!1);u.memory||(b=!1),f=!1,F&&(H=b?[]:"")},me={add:function(){return H&&(b&&!f&&(oe=H.length-1,j.push(b)),function Te(Ae){C.each(Ae,function(be,Ke){Y(Ke)?(!u.unique||!me.has(Ke))&&H.push(Ke):Ke&&Ke.length&&"string"!==we(Ke)&&Te(Ke)})}(arguments),b&&!f&&ie()),this},remove:function(){return C.each(arguments,function(Te,Ae){for(var be;(be=C.inArray(Ae,H,be))>-1;)H.splice(be,1),be<=oe&&oe--}),this},has:function(Te){return Te?C.inArray(Te,H)>-1:H.length>0},empty:function(){return H&&(H=[]),this},disable:function(){return F=j=[],H=b="",this},disabled:function(){return!H},lock:function(){return F=j=[],!b&&!f&&(H=b=""),this},locked:function(){return!!F},fireWith:function(Te,Ae){return F||(Ae=[Te,(Ae=Ae||[]).slice?Ae.slice():Ae],j.push(Ae),f||ie()),this},fire:function(){return me.fireWith(this,arguments),this},fired:function(){return!!S}};return me},C.extend({Deferred:function(u){var f=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],b="pending",S={state:function(){return b},always:function(){return F.done(arguments).fail(arguments),this},catch:function(H){return S.then(null,H)},pipe:function(){var H=arguments;return C.Deferred(function(j){C.each(f,function(oe,ie){var me=Y(H[ie[4]])&&H[ie[4]];F[ie[1]](function(){var Te=me&&me.apply(this,arguments);Te&&Y(Te.promise)?Te.promise().progress(j.notify).done(j.resolve).fail(j.reject):j[ie[0]+"With"](this,me?[Te]:arguments)})}),H=null}).promise()},then:function(H,j,oe){var ie=0;function me(Te,Ae,be,Ke){return function(){var Ot=this,Wn=arguments,Pn=function(){var Ri,ba;if(!(Te<ie)){if((Ri=be.apply(Ot,Wn))===Ae.promise())throw new TypeError("Thenable self-resolution");Y(ba=Ri&&("object"==typeof Ri||"function"==typeof Ri)&&Ri.then)?Ke?ba.call(Ri,me(ie,Ae,xt,Ke),me(ie,Ae,fn,Ke)):(ie++,ba.call(Ri,me(ie,Ae,xt,Ke),me(ie,Ae,fn,Ke),me(ie,Ae,xt,Ae.notifyWith))):(be!==xt&&(Ot=void 0,Wn=[Ri]),(Ke||Ae.resolveWith)(Ot,Wn))}},so=Ke?Pn:function(){try{Pn()}catch(Ri){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(Ri,so.error),Te+1>=ie&&(be!==fn&&(Ot=void 0,Wn=[Ri]),Ae.rejectWith(Ot,Wn))}};Te?so():(C.Deferred.getErrorHook?so.error=C.Deferred.getErrorHook():C.Deferred.getStackHook&&(so.error=C.Deferred.getStackHook()),w.setTimeout(so))}}return C.Deferred(function(Te){f[0][3].add(me(0,Te,Y(oe)?oe:xt,Te.notifyWith)),f[1][3].add(me(0,Te,Y(H)?H:xt)),f[2][3].add(me(0,Te,Y(j)?j:fn))}).promise()},promise:function(H){return null!=H?C.extend(H,S):S}},F={};return C.each(f,function(H,j){var oe=j[2],ie=j[5];S[j[1]]=oe.add,ie&&oe.add(function(){b=ie},f[3-H][2].disable,f[3-H][3].disable,f[0][2].lock,f[0][3].lock),oe.add(j[3].fire),F[j[0]]=function(){return F[j[0]+"With"](this===F?void 0:this,arguments),this},F[j[0]+"With"]=oe.fireWith}),S.promise(F),u&&u.call(F,F),F},when:function(u){var f=arguments.length,b=f,S=Array(b),F=_.call(arguments),H=C.Deferred(),j=function(oe){return function(ie){S[oe]=this,F[oe]=arguments.length>1?_.call(arguments):ie,--f||H.resolveWith(S,F)}};if(f<=1&&(ki(u,H.done(j(b)).resolve,H.reject,!f),"pending"===H.state()||Y(F[b]&&F[b].then)))return H.then();for(;b--;)ki(F[b],j(b),H.reject);return H.promise()}});var vr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(u,f){w.console&&w.console.warn&&u&&vr.test(u.name)&&w.console.warn("jQuery.Deferred exception: "+u.message,u.stack,f)},C.readyException=function(u){w.setTimeout(function(){throw u})};var _r=C.Deferred();function $i(){X.removeEventListener("DOMContentLoaded",$i),w.removeEventListener("load",$i),C.ready()}C.fn.ready=function(u){return _r.then(u).catch(function(f){C.readyException(f)}),this},C.extend({isReady:!1,readyWait:1,ready:function(u){(!0===u?--C.readyWait:C.isReady)||(C.isReady=!0,!(!0!==u&&--C.readyWait>0)&&_r.resolveWith(X,[C]))}}),C.ready.then=_r.then,"complete"===X.readyState||"loading"!==X.readyState&&!X.documentElement.doScroll?w.setTimeout(C.ready):(X.addEventListener("DOMContentLoaded",$i),w.addEventListener("load",$i));var mi=function(u,f,b,S,F,H,j){var oe=0,ie=u.length,me=null==b;if("object"===we(b))for(oe in F=!0,b)mi(u,f,oe,b[oe],!0,H,j);else if(void 0!==S&&(F=!0,Y(S)||(j=!0),me&&(j?(f.call(u,S),f=null):(me=f,f=function(Te,Ae,be){return me.call(C(Te),be)})),f))for(;oe<ie;oe++)f(u[oe],b,j?S:S.call(u[oe],oe,f(u[oe],b)));return F?u:me?f.call(u):ie?f(u[0],b):H},Pt=/^-ms-/,Ei=/-([a-z])/g;function Lr(u,f){return f.toUpperCase()}function Wi(u){return u.replace(Pt,"ms-").replace(Ei,Lr)}var Vt=function(u){return 1===u.nodeType||9===u.nodeType||!+u.nodeType};function vo(){this.expando=C.expando+vo.uid++}vo.uid=1,vo.prototype={cache:function(u){var f=u[this.expando];return f||(f={},Vt(u)&&(u.nodeType?u[this.expando]=f:Object.defineProperty(u,this.expando,{value:f,configurable:!0}))),f},set:function(u,f,b){var S,F=this.cache(u);if("string"==typeof f)F[Wi(f)]=b;else for(S in f)F[Wi(S)]=f[S];return F},get:function(u,f){return void 0===f?this.cache(u):u[this.expando]&&u[this.expando][Wi(f)]},access:function(u,f,b){return void 0===f||f&&"string"==typeof f&&void 0===b?this.get(u,f):(this.set(u,f,b),void 0!==b?b:f)},remove:function(u,f){var b,S=u[this.expando];if(void 0!==S){if(void 0!==f)for((b=(f=Array.isArray(f)?f.map(Wi):(f=Wi(f))in S?[f]:f.match(Dt)||[]).length);b--;)delete S[f[b]];(void 0===f||C.isEmptyObject(S))&&(u.nodeType?u[this.expando]=void 0:delete u[this.expando])}},hasData:function(u){var f=u[this.expando];return void 0!==f&&!C.isEmptyObject(f)}};var Tt=new vo,$n=new vo,Qt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Do=/[A-Z]/g;function Oa(u,f,b){var S;if(void 0===b&&1===u.nodeType)if(S="data-"+f.replace(Do,"-$&").toLowerCase(),"string"==typeof(b=u.getAttribute(S))){try{b=function Lo(u){return"true"===u||"false"!==u&&("null"===u?null:u===+u+""?+u:Qt.test(u)?JSON.parse(u):u)}(b)}catch{}$n.set(u,f,b)}else b=void 0;return b}C.extend({hasData:function(u){return $n.hasData(u)||Tt.hasData(u)},data:function(u,f,b){return $n.access(u,f,b)},removeData:function(u,f){$n.remove(u,f)},_data:function(u,f,b){return Tt.access(u,f,b)},_removeData:function(u,f){Tt.remove(u,f)}}),C.fn.extend({data:function(u,f){var b,S,F,H=this[0],j=H&&H.attributes;if(void 0===u){if(this.length&&(F=$n.get(H),1===H.nodeType&&!Tt.get(H,"hasDataAttrs"))){for(b=j.length;b--;)j[b]&&0===(S=j[b].name).indexOf("data-")&&(S=Wi(S.slice(5)),Oa(H,S,F[S]));Tt.set(H,"hasDataAttrs",!0)}return F}return"object"==typeof u?this.each(function(){$n.set(this,u)}):mi(this,function(oe){var ie;if(H&&void 0===oe)return void 0!==(ie=$n.get(H,u))||void 0!==(ie=Oa(H,u))?ie:void 0;this.each(function(){$n.set(this,u,oe)})},null,f,arguments.length>1,null,!0)},removeData:function(u){return this.each(function(){$n.remove(this,u)})}}),C.extend({queue:function(u,f,b){var S;if(u)return S=Tt.get(u,f=(f||"fx")+"queue"),b&&(!S||Array.isArray(b)?S=Tt.access(u,f,C.makeArray(b)):S.push(b)),S||[]},dequeue:function(u,f){var b=C.queue(u,f=f||"fx"),S=b.length,F=b.shift(),H=C._queueHooks(u,f);"inprogress"===F&&(F=b.shift(),S--),F&&("fx"===f&&b.unshift("inprogress"),delete H.stop,F.call(u,function(){C.dequeue(u,f)},H)),!S&&H&&H.empty.fire()},_queueHooks:function(u,f){var b=f+"queueHooks";return Tt.get(u,b)||Tt.access(u,b,{empty:C.Callbacks("once memory").add(function(){Tt.remove(u,[f+"queue",b])})})}}),C.fn.extend({queue:function(u,f){var b=2;return"string"!=typeof u&&(f=u,u="fx",b--),arguments.length<b?C.queue(this[0],u):void 0===f?this:this.each(function(){var S=C.queue(this,u,f);C._queueHooks(this,u),"fx"===u&&"inprogress"!==S[0]&&C.dequeue(this,u)})},dequeue:function(u){return this.each(function(){C.dequeue(this,u)})},clearQueue:function(u){return this.queue(u||"fx",[])},promise:function(u,f){var b,S=1,F=C.Deferred(),H=this,j=this.length,oe=function(){--S||F.resolveWith(H,[H])};for("string"!=typeof u&&(f=u,u=void 0),u=u||"fx";j--;)(b=Tt.get(H[j],u+"queueHooks"))&&b.empty&&(S++,b.empty.add(oe));return oe(),F.promise(f)}});var sc=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Qs=new RegExp("^(?:([+-])=|)("+sc+")([a-z%]*)$","i"),ya=["Top","Right","Bottom","Left"],Ni=X.documentElement,$r=function(u){return C.contains(u.ownerDocument,u)},ye={composed:!0};Ni.getRootNode&&($r=function(u){return C.contains(u.ownerDocument,u)||u.getRootNode(ye)===u.ownerDocument});var Se=function(u,f){return"none"===(u=f||u).style.display||""===u.style.display&&$r(u)&&"none"===C.css(u,"display")};function At(u,f,b,S){var F,H,j=20,oe=S?function(){return S.cur()}:function(){return C.css(u,f,"")},ie=oe(),me=b&&b[3]||(C.cssNumber[f]?"":"px"),Te=u.nodeType&&(C.cssNumber[f]||"px"!==me&&+ie)&&Qs.exec(C.css(u,f));if(Te&&Te[3]!==me){for(me=me||Te[3],Te=+(ie/=2)||1;j--;)C.style(u,f,Te+me),(1-H)*(1-(H=oe()/ie||.5))<=0&&(j=0),Te/=H;C.style(u,f,(Te*=2)+me),b=b||[]}return b&&(Te=+Te||+ie||0,F=b[1]?Te+(b[1]+1)*b[2]:+b[2],S&&(S.unit=me,S.start=Te,S.end=F)),F}var di={};function hi(u){var f,b=u.ownerDocument,S=u.nodeName,F=di[S];return F||(f=b.body.appendChild(b.createElement(S)),F=C.css(f,"display"),f.parentNode.removeChild(f),"none"===F&&(F="block"),di[S]=F,F)}function en(u,f){for(var b,S,F=[],H=0,j=u.length;H<j;H++)(S=u[H]).style&&(b=S.style.display,f?("none"===b&&(F[H]=Tt.get(S,"display")||null,F[H]||(S.style.display="")),""===S.style.display&&Se(S)&&(F[H]=hi(S))):"none"!==b&&(F[H]="none",Tt.set(S,"display",b)));for(H=0;H<j;H++)null!=F[H]&&(u[H].style.display=F[H]);return u}C.fn.extend({show:function(){return en(this,!0)},hide:function(){return en(this)},toggle:function(u){return"boolean"==typeof u?u?this.show():this.hide():this.each(function(){Se(this)?C(this).show():C(this).hide()})}});var f,b,Or=/^(?:checkbox|radio)$/i,_o=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Tr=/^$|^module$|\/(?:java|ecma)script/i;f=X.createDocumentFragment().appendChild(X.createElement("div")),(b=X.createElement("input")).setAttribute("type","radio"),b.setAttribute("checked","checked"),b.setAttribute("name","t"),f.appendChild(b),V.checkClone=f.cloneNode(!0).cloneNode(!0).lastChild.checked,f.innerHTML="<textarea>x</textarea>",V.noCloneChecked=!!f.cloneNode(!0).lastChild.defaultValue,f.innerHTML="<option></option>",V.option=!!f.lastChild;var Ii={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Wr(u,f){var b;return b=typeof u.getElementsByTagName<"u"?u.getElementsByTagName(f||"*"):typeof u.querySelectorAll<"u"?u.querySelectorAll(f||"*"):[],void 0===f||f&&Ve(u,f)?C.merge([u],b):b}function xo(u,f){for(var b=0,S=u.length;b<S;b++)Tt.set(u[b],"globalEval",!f||Tt.get(f[b],"globalEval"))}Ii.tbody=Ii.tfoot=Ii.colgroup=Ii.caption=Ii.thead,Ii.th=Ii.td,V.option||(Ii.optgroup=Ii.option=[1,"<select multiple='multiple'>","</select>"]);var Dr=/<|&#?\w+;/;function cs(u,f,b,S,F){for(var H,j,oe,ie,me,Te,Ae=f.createDocumentFragment(),be=[],Ke=0,Ot=u.length;Ke<Ot;Ke++)if((H=u[Ke])||0===H)if("object"===we(H))C.merge(be,H.nodeType?[H]:H);else if(Dr.test(H)){for(j=j||Ae.appendChild(f.createElement("div")),oe=(_o.exec(H)||["",""])[1].toLowerCase(),j.innerHTML=(ie=Ii[oe]||Ii._default)[1]+C.htmlPrefilter(H)+ie[2],Te=ie[0];Te--;)j=j.lastChild;C.merge(be,j.childNodes),(j=Ae.firstChild).textContent=""}else be.push(f.createTextNode(H));for(Ae.textContent="",Ke=0;H=be[Ke++];)if(S&&C.inArray(H,S)>-1)F&&F.push(H);else if(me=$r(H),j=Wr(Ae.appendChild(H),"script"),me&&xo(j),b)for(Te=0;H=j[Te++];)Tr.test(H.type||"")&&b.push(H);return Ae}var us=/^([^.]*)(?:\.(.+)|)/;function Be(){return!0}function Xo(){return!1}function Xs(u,f,b,S,F,H){var j,oe;if("object"==typeof f){for(oe in"string"!=typeof b&&(S=S||b,b=void 0),f)Xs(u,oe,b,S,f[oe],H);return u}if(null==S&&null==F?(F=b,S=b=void 0):null==F&&("string"==typeof b?(F=S,S=void 0):(F=S,S=b,b=void 0)),!1===F)F=Xo;else if(!F)return u;return 1===H&&(j=F,F=function(ie){return C().off(ie),j.apply(this,arguments)},F.guid=j.guid||(j.guid=C.guid++)),u.each(function(){C.event.add(this,f,F,S,b)})}function xr(u,f,b){b?(Tt.set(u,f,!1),C.event.add(u,f,{namespace:!1,handler:function(S){var F,H=Tt.get(this,f);if(1&S.isTrigger&&this[f]){if(H)(C.event.special[f]||{}).delegateType&&S.stopPropagation();else if(H=_.call(arguments),Tt.set(this,f,H),this[f](),F=Tt.get(this,f),Tt.set(this,f,!1),H!==F)return S.stopImmediatePropagation(),S.preventDefault(),F}else H&&(Tt.set(this,f,C.event.trigger(H[0],H.slice(1),this)),S.stopPropagation(),S.isImmediatePropagationStopped=Be)}})):void 0===Tt.get(u,f)&&C.event.add(u,f,Be)}C.event={global:{},add:function(u,f,b,S,F){var H,j,oe,ie,me,Te,Ae,be,Ke,Ot,Wn,Pn=Tt.get(u);if(Vt(u))for(b.handler&&(b=(H=b).handler,F=H.selector),F&&C.find.matchesSelector(Ni,F),b.guid||(b.guid=C.guid++),(ie=Pn.events)||(ie=Pn.events=Object.create(null)),(j=Pn.handle)||(j=Pn.handle=function(so){return typeof C<"u"&&C.event.triggered!==so.type?C.event.dispatch.apply(u,arguments):void 0}),me=(f=(f||"").match(Dt)||[""]).length;me--;)Ke=Wn=(oe=us.exec(f[me])||[])[1],Ot=(oe[2]||"").split(".").sort(),Ke&&(Ae=C.event.special[Ke]||{},Ae=C.event.special[Ke=(F?Ae.delegateType:Ae.bindType)||Ke]||{},Te=C.extend({type:Ke,origType:Wn,data:S,handler:b,guid:b.guid,selector:F,needsContext:F&&C.expr.match.needsContext.test(F),namespace:Ot.join(".")},H),(be=ie[Ke])||((be=ie[Ke]=[]).delegateCount=0,(!Ae.setup||!1===Ae.setup.call(u,S,Ot,j))&&u.addEventListener&&u.addEventListener(Ke,j)),Ae.add&&(Ae.add.call(u,Te),Te.handler.guid||(Te.handler.guid=b.guid)),F?be.splice(be.delegateCount++,0,Te):be.push(Te),C.event.global[Ke]=!0)},remove:function(u,f,b,S,F){var H,j,oe,ie,me,Te,Ae,be,Ke,Ot,Wn,Pn=Tt.hasData(u)&&Tt.get(u);if(Pn&&(ie=Pn.events)){for(me=(f=(f||"").match(Dt)||[""]).length;me--;)if(Ke=Wn=(oe=us.exec(f[me])||[])[1],Ot=(oe[2]||"").split(".").sort(),Ke){for(Ae=C.event.special[Ke]||{},be=ie[Ke=(S?Ae.delegateType:Ae.bindType)||Ke]||[],oe=oe[2]&&new RegExp("(^|\\.)"+Ot.join("\\.(?:.*\\.|)")+"(\\.|$)"),j=H=be.length;H--;)Te=be[H],(F||Wn===Te.origType)&&(!b||b.guid===Te.guid)&&(!oe||oe.test(Te.namespace))&&(!S||S===Te.selector||"**"===S&&Te.selector)&&(be.splice(H,1),Te.selector&&be.delegateCount--,Ae.remove&&Ae.remove.call(u,Te));j&&!be.length&&((!Ae.teardown||!1===Ae.teardown.call(u,Ot,Pn.handle))&&C.removeEvent(u,Ke,Pn.handle),delete ie[Ke])}else for(Ke in ie)C.event.remove(u,Ke+f[me],b,S,!0);C.isEmptyObject(ie)&&Tt.remove(u,"handle events")}},dispatch:function(u){var f,b,S,F,H,j,oe=new Array(arguments.length),ie=C.event.fix(u),me=(Tt.get(this,"events")||Object.create(null))[ie.type]||[],Te=C.event.special[ie.type]||{};for(oe[0]=ie,f=1;f<arguments.length;f++)oe[f]=arguments[f];if(ie.delegateTarget=this,!Te.preDispatch||!1!==Te.preDispatch.call(this,ie)){for(j=C.event.handlers.call(this,ie,me),f=0;(F=j[f++])&&!ie.isPropagationStopped();)for(ie.currentTarget=F.elem,b=0;(H=F.handlers[b++])&&!ie.isImmediatePropagationStopped();)(!ie.rnamespace||!1===H.namespace||ie.rnamespace.test(H.namespace))&&(ie.handleObj=H,ie.data=H.data,void 0!==(S=((C.event.special[H.origType]||{}).handle||H.handler).apply(F.elem,oe))&&!1===(ie.result=S)&&(ie.preventDefault(),ie.stopPropagation()));return Te.postDispatch&&Te.postDispatch.call(this,ie),ie.result}},handlers:function(u,f){var b,S,F,H,j,oe=[],ie=f.delegateCount,me=u.target;if(ie&&me.nodeType&&!("click"===u.type&&u.button>=1))for(;me!==this;me=me.parentNode||this)if(1===me.nodeType&&("click"!==u.type||!0!==me.disabled)){for(H=[],j={},b=0;b<ie;b++)void 0===j[F=(S=f[b]).selector+" "]&&(j[F]=S.needsContext?C(F,this).index(me)>-1:C.find(F,this,null,[me]).length),j[F]&&H.push(S);H.length&&oe.push({elem:me,handlers:H})}return me=this,ie<f.length&&oe.push({elem:me,handlers:f.slice(ie)}),oe},addProp:function(u,f){Object.defineProperty(C.Event.prototype,u,{enumerable:!0,configurable:!0,get:Y(f)?function(){if(this.originalEvent)return f(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[u]},set:function(b){Object.defineProperty(this,u,{enumerable:!0,configurable:!0,writable:!0,value:b})}})},fix:function(u){return u[C.expando]?u:new C.Event(u)},special:{load:{noBubble:!0},click:{setup:function(u){var f=this||u;return Or.test(f.type)&&f.click&&Ve(f,"input")&&xr(f,"click",!0),!1},trigger:function(u){var f=this||u;return Or.test(f.type)&&f.click&&Ve(f,"input")&&xr(f,"click"),!0},_default:function(u){var f=u.target;return Or.test(f.type)&&f.click&&Ve(f,"input")&&Tt.get(f,"click")||Ve(f,"a")}},beforeunload:{postDispatch:function(u){void 0!==u.result&&u.originalEvent&&(u.originalEvent.returnValue=u.result)}}}},C.removeEvent=function(u,f,b){u.removeEventListener&&u.removeEventListener(f,b)},C.Event=function(u,f){if(!(this instanceof C.Event))return new C.Event(u,f);u&&u.type?(this.originalEvent=u,this.type=u.type,this.isDefaultPrevented=u.defaultPrevented||void 0===u.defaultPrevented&&!1===u.returnValue?Be:Xo,this.target=u.target&&3===u.target.nodeType?u.target.parentNode:u.target,this.currentTarget=u.currentTarget,this.relatedTarget=u.relatedTarget):this.type=u,f&&C.extend(this,f),this.timeStamp=u&&u.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:Xo,isPropagationStopped:Xo,isImmediatePropagationStopped:Xo,isSimulated:!1,preventDefault:function(){var u=this.originalEvent;this.isDefaultPrevented=Be,u&&!this.isSimulated&&u.preventDefault()},stopPropagation:function(){var u=this.originalEvent;this.isPropagationStopped=Be,u&&!this.isSimulated&&u.stopPropagation()},stopImmediatePropagation:function(){var u=this.originalEvent;this.isImmediatePropagationStopped=Be,u&&!this.isSimulated&&u.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},function(u,f){function b(S){if(X.documentMode){var F=Tt.get(this,"handle"),H=C.event.fix(S);H.type="focusin"===S.type?"focus":"blur",H.isSimulated=!0,F(S),H.target===H.currentTarget&&F(H)}else C.event.simulate(f,S.target,C.event.fix(S))}C.event.special[u]={setup:function(){var S;if(xr(this,u,!0),!X.documentMode)return!1;(S=Tt.get(this,f))||this.addEventListener(f,b),Tt.set(this,f,(S||0)+1)},trigger:function(){return xr(this,u),!0},teardown:function(){var S;if(!X.documentMode)return!1;(S=Tt.get(this,f)-1)?Tt.set(this,f,S):(this.removeEventListener(f,b),Tt.remove(this,f))},_default:function(S){return Tt.get(S.target,u)},delegateType:f},C.event.special[f]={setup:function(){var S=this.ownerDocument||this.document||this,F=X.documentMode?this:S,H=Tt.get(F,f);H||(X.documentMode?this.addEventListener(f,b):S.addEventListener(u,b,!0)),Tt.set(F,f,(H||0)+1)},teardown:function(){var S=this.ownerDocument||this.document||this,F=X.documentMode?this:S,H=Tt.get(F,f)-1;H?Tt.set(F,f,H):(X.documentMode?this.removeEventListener(f,b):S.removeEventListener(u,b,!0),Tt.remove(F,f))}}}),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(u,f){C.event.special[u]={delegateType:f,bindType:f,handle:function(b){var S,H=b.relatedTarget,j=b.handleObj;return(!H||H!==this&&!C.contains(this,H))&&(b.type=j.origType,S=j.handler.apply(this,arguments),b.type=f),S}}}),C.fn.extend({on:function(u,f,b,S){return Xs(this,u,f,b,S)},one:function(u,f,b,S){return Xs(this,u,f,b,S,1)},off:function(u,f,b){var S,F;if(u&&u.preventDefault&&u.handleObj)return S=u.handleObj,C(u.delegateTarget).off(S.namespace?S.origType+"."+S.namespace:S.origType,S.selector,S.handler),this;if("object"==typeof u){for(F in u)this.off(F,f,u[F]);return this}return(!1===f||"function"==typeof f)&&(b=f,f=void 0),!1===b&&(b=Xo),this.each(function(){C.event.remove(this,u,b,f)})}});var Zs=/<script|<style|<link/i,it=/checked\s*(?:[^=]|=\s*.checked.)/i,ds=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function ei(u,f){return Ve(u,"table")&&Ve(11!==f.nodeType?f:f.firstChild,"tr")&&C(u).children("tbody")[0]||u}function Gi(u){return u.type=(null!==u.getAttribute("type"))+"/"+u.type,u}function Zo(u){return"true/"===(u.type||"").slice(0,5)?u.type=u.type.slice(5):u.removeAttribute("type"),u}function Oo(u,f){var b,S,F,j,oe,ie;if(1===f.nodeType){if(Tt.hasData(u)&&(ie=Tt.get(u).events))for(F in Tt.remove(f,"handle events"),ie)for(b=0,S=ie[F].length;b<S;b++)C.event.add(f,F,ie[F][b]);$n.hasData(u)&&(j=$n.access(u),oe=C.extend({},j),$n.set(f,oe))}}function lr(u,f){var b=f.nodeName.toLowerCase();"input"===b&&Or.test(u.type)?f.checked=u.checked:("input"===b||"textarea"===b)&&(f.defaultValue=u.defaultValue)}function ge(u,f,b,S){f=p(f);var F,H,j,oe,ie,me,Te=0,Ae=u.length,be=Ae-1,Ke=f[0],Ot=Y(Ke);if(Ot||Ae>1&&"string"==typeof Ke&&!V.checkClone&&it.test(Ke))return u.each(function(Wn){var Pn=u.eq(Wn);Ot&&(f[0]=Ke.call(this,Wn,Pn.html())),ge(Pn,f,b,S)});if(Ae&&(H=(F=cs(f,u[0].ownerDocument,!1,u,S)).firstChild,1===F.childNodes.length&&(F=H),H||S)){for(oe=(j=C.map(Wr(F,"script"),Gi)).length;Te<Ae;Te++)ie=F,Te!==be&&(ie=C.clone(ie,!0,!0),oe&&C.merge(j,Wr(ie,"script"))),b.call(u[Te],ie,Te);if(oe)for(me=j[j.length-1].ownerDocument,C.map(j,Zo),Te=0;Te<oe;Te++)Tr.test((ie=j[Te]).type||"")&&!Tt.access(ie,"globalEval")&&C.contains(me,ie)&&(ie.src&&"module"!==(ie.type||"").toLowerCase()?C._evalUrl&&!ie.noModule&&C._evalUrl(ie.src,{nonce:ie.nonce||ie.getAttribute("nonce")},me):fe(ie.textContent.replace(ds,""),ie,me))}return u}function Po(u,f,b){for(var S,F=f?C.filter(f,u):u,H=0;null!=(S=F[H]);H++)!b&&1===S.nodeType&&C.cleanData(Wr(S)),S.parentNode&&(b&&$r(S)&&xo(Wr(S,"script")),S.parentNode.removeChild(S));return u}C.extend({htmlPrefilter:function(u){return u},clone:function(u,f,b){var S,F,H,j,oe=u.cloneNode(!0),ie=$r(u);if(!(V.noCloneChecked||1!==u.nodeType&&11!==u.nodeType||C.isXMLDoc(u)))for(j=Wr(oe),S=0,F=(H=Wr(u)).length;S<F;S++)lr(H[S],j[S]);if(f)if(b)for(H=H||Wr(u),j=j||Wr(oe),S=0,F=H.length;S<F;S++)Oo(H[S],j[S]);else Oo(u,oe);return(j=Wr(oe,"script")).length>0&&xo(j,!ie&&Wr(u,"script")),oe},cleanData:function(u){for(var f,b,S,F=C.event.special,H=0;void 0!==(b=u[H]);H++)if(Vt(b)){if(f=b[Tt.expando]){if(f.events)for(S in f.events)F[S]?C.event.remove(b,S):C.removeEvent(b,S,f.handle);b[Tt.expando]=void 0}b[$n.expando]&&(b[$n.expando]=void 0)}}}),C.fn.extend({detach:function(u){return Po(this,u,!0)},remove:function(u){return Po(this,u)},text:function(u){return mi(this,function(f){return void 0===f?C.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=f)})},null,u,arguments.length)},append:function(){return ge(this,arguments,function(u){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ei(this,u).appendChild(u)})},prepend:function(){return ge(this,arguments,function(u){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var f=ei(this,u);f.insertBefore(u,f.firstChild)}})},before:function(){return ge(this,arguments,function(u){this.parentNode&&this.parentNode.insertBefore(u,this)})},after:function(){return ge(this,arguments,function(u){this.parentNode&&this.parentNode.insertBefore(u,this.nextSibling)})},empty:function(){for(var u,f=0;null!=(u=this[f]);f++)1===u.nodeType&&(C.cleanData(Wr(u,!1)),u.textContent="");return this},clone:function(u,f){return u=u??!1,f=f??u,this.map(function(){return C.clone(this,u,f)})},html:function(u){return mi(this,function(f){var b=this[0]||{},S=0,F=this.length;if(void 0===f&&1===b.nodeType)return b.innerHTML;if("string"==typeof f&&!Zs.test(f)&&!Ii[(_o.exec(f)||["",""])[1].toLowerCase()]){f=C.htmlPrefilter(f);try{for(;S<F;S++)1===(b=this[S]||{}).nodeType&&(C.cleanData(Wr(b,!1)),b.innerHTML=f);b=0}catch{}}b&&this.empty().append(f)},null,u,arguments.length)},replaceWith:function(){var u=[];return ge(this,arguments,function(f){var b=this.parentNode;C.inArray(this,u)<0&&(C.cleanData(Wr(this)),b&&b.replaceChild(f,this))},u)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(u,f){C.fn[u]=function(b){for(var S,F=[],H=C(b),j=H.length-1,oe=0;oe<=j;oe++)S=oe===j?this:this.clone(!0),C(H[oe])[f](S),v.apply(F,S.get());return this.pushStack(F)}});var wi=new RegExp("^("+sc+")(?!px)[a-z%]+$","i"),pi=/^--/,lc=function(u){var f=u.ownerDocument.defaultView;return(!f||!f.opener)&&(f=w),f.getComputedStyle(u)},Kc=function(u,f,b){var S,F,H={};for(F in f)H[F]=u.style[F],u.style[F]=f[F];for(F in S=b.call(u),f)u.style[F]=H[F];return S},Xt=new RegExp(ya.join("|"),"i");function zs(u,f,b){var S,F,H,j,oe=pi.test(f),ie=u.style;return(b=b||lc(u))&&(j=b.getPropertyValue(f)||b[f],oe&&j&&(j=j.replace(Gt,"$1")||void 0),""===j&&!$r(u)&&(j=C.style(u,f)),!V.pixelBoxStyles()&&wi.test(j)&&Xt.test(f)&&(S=ie.width,F=ie.minWidth,H=ie.maxWidth,ie.minWidth=ie.maxWidth=ie.width=j,j=b.width,ie.width=S,ie.minWidth=F,ie.maxWidth=H)),void 0!==j?j+"":j}function ko(u,f){return{get:function(){if(!u())return(this.get=f).apply(this,arguments);delete this.get}}}!function(){function u(){if(me){ie.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",me.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ni.appendChild(ie).appendChild(me);var Te=w.getComputedStyle(me);b="1%"!==Te.top,oe=12===f(Te.marginLeft),me.style.right="60%",H=36===f(Te.right),S=36===f(Te.width),me.style.position="absolute",F=12===f(me.offsetWidth/3),Ni.removeChild(ie),me=null}}function f(Te){return Math.round(parseFloat(Te))}var b,S,F,H,j,oe,ie=X.createElement("div"),me=X.createElement("div");me.style&&(me.style.backgroundClip="content-box",me.cloneNode(!0).style.backgroundClip="",V.clearCloneStyle="content-box"===me.style.backgroundClip,C.extend(V,{boxSizingReliable:function(){return u(),S},pixelBoxStyles:function(){return u(),H},pixelPosition:function(){return u(),b},reliableMarginLeft:function(){return u(),oe},scrollboxSize:function(){return u(),F},reliableTrDimensions:function(){var Te,Ae,be,Ke;return null==j&&(Te=X.createElement("table"),Ae=X.createElement("tr"),be=X.createElement("div"),Te.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Ae.style.cssText="box-sizing:content-box;border:1px solid",Ae.style.height="1px",be.style.height="9px",be.style.display="block",Ni.appendChild(Te).appendChild(Ae).appendChild(be),Ke=w.getComputedStyle(Ae),j=parseInt(Ke.height,10)+parseInt(Ke.borderTopWidth,10)+parseInt(Ke.borderBottomWidth,10)===Ae.offsetHeight,Ni.removeChild(Te)),j}}))}();var cc=["Webkit","Moz","ms"],s0=X.createElement("div").style,l0={};function mn(u){return C.cssProps[u]||l0[u]||(u in s0?u:l0[u]=function Bn(u){for(var f=u[0].toUpperCase()+u.slice(1),b=cc.length;b--;)if((u=cc[b]+f)in s0)return u}(u)||u)}var Qc=/^(none|table(?!-c[ea]).+)/,Jo={position:"absolute",visibility:"hidden",display:"block"},Bd={letterSpacing:"0",fontWeight:"400"};function ju(u,f,b){var S=Qs.exec(f);return S?Math.max(0,S[2]-(b||0))+(S[3]||"px"):f}function $u(u,f,b,S,F,H){var j="width"===f?1:0,oe=0,ie=0,me=0;if(b===(S?"border":"content"))return 0;for(;j<4;j+=2)"margin"===b&&(me+=C.css(u,b+ya[j],!0,F)),S?("content"===b&&(ie-=C.css(u,"padding"+ya[j],!0,F)),"margin"!==b&&(ie-=C.css(u,"border"+ya[j]+"Width",!0,F))):(ie+=C.css(u,"padding"+ya[j],!0,F),"padding"!==b?ie+=C.css(u,"border"+ya[j]+"Width",!0,F):oe+=C.css(u,"border"+ya[j]+"Width",!0,F));return!S&&H>=0&&(ie+=Math.max(0,Math.ceil(u["offset"+f[0].toUpperCase()+f.slice(1)]-H-ie-oe-.5))||0),ie+me}function hs(u,f,b){var S=lc(u),H=(!V.boxSizingReliable()||b)&&"border-box"===C.css(u,"boxSizing",!1,S),j=H,oe=zs(u,f,S),ie="offset"+f[0].toUpperCase()+f.slice(1);if(wi.test(oe)){if(!b)return oe;oe="auto"}return(!V.boxSizingReliable()&&H||!V.reliableTrDimensions()&&Ve(u,"tr")||"auto"===oe||!parseFloat(oe)&&"inline"===C.css(u,"display",!1,S))&&u.getClientRects().length&&(H="border-box"===C.css(u,"boxSizing",!1,S),(j=ie in u)&&(oe=u[ie])),(oe=parseFloat(oe)||0)+$u(u,f,b||(H?"border":"content"),j,S,oe)+"px"}function ea(u,f,b,S,F){return new ea.prototype.init(u,f,b,S,F)}C.extend({cssHooks:{opacity:{get:function(u,f){if(f){var b=zs(u,"opacity");return""===b?"1":b}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(u,f,b,S){if(u&&3!==u.nodeType&&8!==u.nodeType&&u.style){var F,H,j,oe=Wi(f),ie=pi.test(f),me=u.style;if(ie||(f=mn(oe)),j=C.cssHooks[f]||C.cssHooks[oe],void 0===b)return j&&"get"in j&&void 0!==(F=j.get(u,!1,S))?F:me[f];if("string"==(H=typeof b)&&(F=Qs.exec(b))&&F[1]&&(b=At(u,f,F),H="number"),null==b||b!=b)return;"number"===H&&!ie&&(b+=F&&F[3]||(C.cssNumber[oe]?"":"px")),!V.clearCloneStyle&&""===b&&0===f.indexOf("background")&&(me[f]="inherit"),(!j||!("set"in j)||void 0!==(b=j.set(u,b,S)))&&(ie?me.setProperty(f,b):me[f]=b)}},css:function(u,f,b,S){var F,H,j,oe=Wi(f);return pi.test(f)||(f=mn(oe)),(j=C.cssHooks[f]||C.cssHooks[oe])&&"get"in j&&(F=j.get(u,!0,b)),void 0===F&&(F=zs(u,f,S)),"normal"===F&&f in Bd&&(F=Bd[f]),""===b||b?(H=parseFloat(F),!0===b||isFinite(H)?H||0:F):F}}),C.each(["height","width"],function(u,f){C.cssHooks[f]={get:function(b,S,F){if(S)return!Qc.test(C.css(b,"display"))||b.getClientRects().length&&b.getBoundingClientRect().width?hs(b,f,F):Kc(b,Jo,function(){return hs(b,f,F)})},set:function(b,S,F){var H,j=lc(b),oe=!V.scrollboxSize()&&"absolute"===j.position,me=(oe||F)&&"border-box"===C.css(b,"boxSizing",!1,j),Te=F?$u(b,f,F,me,j):0;return me&&oe&&(Te-=Math.ceil(b["offset"+f[0].toUpperCase()+f.slice(1)]-parseFloat(j[f])-$u(b,f,"border",!1,j)-.5)),Te&&(H=Qs.exec(S))&&"px"!==(H[3]||"px")&&(b.style[f]=S,S=C.css(b,f)),ju(0,S,Te)}}}),C.cssHooks.marginLeft=ko(V.reliableMarginLeft,function(u,f){if(f)return(parseFloat(zs(u,"marginLeft"))||u.getBoundingClientRect().left-Kc(u,{marginLeft:0},function(){return u.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(u,f){C.cssHooks[u+f]={expand:function(b){for(var S=0,F={},H="string"==typeof b?b.split(" "):[b];S<4;S++)F[u+ya[S]+f]=H[S]||H[S-2]||H[0];return F}},"margin"!==u&&(C.cssHooks[u+f].set=ju)}),C.fn.extend({css:function(u,f){return mi(this,function(b,S,F){var H,j,oe={},ie=0;if(Array.isArray(S)){for(H=lc(b),j=S.length;ie<j;ie++)oe[S[ie]]=C.css(b,S[ie],!1,H);return oe}return void 0!==F?C.style(b,S,F):C.css(b,S)},u,f,arguments.length>1)}}),C.Tween=ea,ea.prototype={constructor:ea,init:function(u,f,b,S,F,H){this.elem=u,this.prop=b,this.easing=F||C.easing._default,this.options=f,this.start=this.now=this.cur(),this.end=S,this.unit=H||(C.cssNumber[b]?"":"px")},cur:function(){var u=ea.propHooks[this.prop];return u&&u.get?u.get(this):ea.propHooks._default.get(this)},run:function(u){var f,b=ea.propHooks[this.prop];return this.pos=f=this.options.duration?C.easing[this.easing](u,this.options.duration*u,0,1,this.options.duration):u,this.now=(this.end-this.start)*f+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),b&&b.set?b.set(this):ea.propHooks._default.set(this),this}},ea.prototype.init.prototype=ea.prototype,ea.propHooks={_default:{get:function(u){var f;return 1!==u.elem.nodeType||null!=u.elem[u.prop]&&null==u.elem.style[u.prop]?u.elem[u.prop]:(f=C.css(u.elem,u.prop,""))&&"auto"!==f?f:0},set:function(u){C.fx.step[u.prop]?C.fx.step[u.prop](u):1!==u.elem.nodeType||!C.cssHooks[u.prop]&&null==u.elem.style[mn(u.prop)]?u.elem[u.prop]=u.now:C.style(u.elem,u.prop,u.now+u.unit)}}},ea.propHooks.scrollTop=ea.propHooks.scrollLeft={set:function(u){u.elem.nodeType&&u.elem.parentNode&&(u.elem[u.prop]=u.now)}},C.easing={linear:function(u){return u},swing:function(u){return.5-Math.cos(u*Math.PI)/2},_default:"swing"},C.fx=ea.prototype.init,C.fx.step={};var uc,Xc,dc=/^(?:toggle|show|hide)$/,c0=/queueHooks$/;function u0(){Xc&&(!1===X.hidden&&w.requestAnimationFrame?w.requestAnimationFrame(u0):w.setTimeout(u0,C.fx.interval),C.fx.tick())}function d0(){return w.setTimeout(function(){uc=void 0}),uc=Date.now()}function Js(u,f){var b,S=0,F={height:u};for(f=f?1:0;S<4;S+=2-f)F["margin"+(b=ya[S])]=F["padding"+b]=u;return f&&(F.opacity=F.width=u),F}function Pr(u,f,b){for(var S,F=(Gr.tweeners[f]||[]).concat(Gr.tweeners["*"]),H=0,j=F.length;H<j;H++)if(S=F[H].call(b,f,u))return S}function Gr(u,f,b){var S,F,H=0,j=Gr.prefilters.length,oe=C.Deferred().always(function(){delete ie.elem}),ie=function(){if(F)return!1;for(var Ae=uc||d0(),be=Math.max(0,me.startTime+me.duration-Ae),Ot=1-(be/me.duration||0),Wn=0,Pn=me.tweens.length;Wn<Pn;Wn++)me.tweens[Wn].run(Ot);return oe.notifyWith(u,[me,Ot,be]),Ot<1&&Pn?be:(Pn||oe.notifyWith(u,[me,1,0]),oe.resolveWith(u,[me]),!1)},me=oe.promise({elem:u,props:C.extend({},f),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},b),originalProperties:f,originalOptions:b,startTime:uc||d0(),duration:b.duration,tweens:[],createTween:function(Ae,be){var Ke=C.Tween(u,me.opts,Ae,be,me.opts.specialEasing[Ae]||me.opts.easing);return me.tweens.push(Ke),Ke},stop:function(Ae){var be=0,Ke=Ae?me.tweens.length:0;if(F)return this;for(F=!0;be<Ke;be++)me.tweens[be].run(1);return Ae?(oe.notifyWith(u,[me,1,0]),oe.resolveWith(u,[me,Ae])):oe.rejectWith(u,[me,Ae]),this}}),Te=me.props;for(function Zc(u,f){var b,S,F,H,j;for(b in u)if(F=f[S=Wi(b)],H=u[b],Array.isArray(H)&&(F=H[1],H=u[b]=H[0]),b!==S&&(u[S]=H,delete u[b]),(j=C.cssHooks[S])&&"expand"in j)for(b in H=j.expand(H),delete u[S],H)b in u||(u[b]=H[b],f[b]=F);else f[S]=F}(Te,me.opts.specialEasing);H<j;H++)if(S=Gr.prefilters[H].call(me,u,Te,me.opts))return Y(S.stop)&&(C._queueHooks(me.elem,me.opts.queue).stop=S.stop.bind(S)),S;return C.map(Te,Pr,me),Y(me.opts.start)&&me.opts.start.call(u,me),me.progress(me.opts.progress).done(me.opts.done,me.opts.complete).fail(me.opts.fail).always(me.opts.always),C.fx.timer(C.extend(ie,{elem:u,anim:me,queue:me.opts.queue})),me}C.Animation=C.extend(Gr,{tweeners:{"*":[function(u,f){var b=this.createTween(u,f);return At(b.elem,u,Qs.exec(f),b),b}]},tweener:function(u,f){Y(u)?(f=u,u=["*"]):u=u.match(Dt);for(var b,S=0,F=u.length;S<F;S++)(Gr.tweeners[b=u[S]]=Gr.tweeners[b]||[]).unshift(f)},prefilters:[function Rt(u,f,b){var S,F,H,j,oe,ie,me,Te,Ae="width"in f||"height"in f,be=this,Ke={},Ot=u.style,Wn=u.nodeType&&Se(u),Pn=Tt.get(u,"fxshow");for(S in b.queue||(null==(j=C._queueHooks(u,"fx")).unqueued&&(j.unqueued=0,oe=j.empty.fire,j.empty.fire=function(){j.unqueued||oe()}),j.unqueued++,be.always(function(){be.always(function(){j.unqueued--,C.queue(u,"fx").length||j.empty.fire()})})),f)if(dc.test(F=f[S])){if(delete f[S],H=H||"toggle"===F,F===(Wn?"hide":"show")){if("show"!==F||!Pn||void 0===Pn[S])continue;Wn=!0}Ke[S]=Pn&&Pn[S]||C.style(u,S)}if((ie=!C.isEmptyObject(f))||!C.isEmptyObject(Ke))for(S in Ae&&1===u.nodeType&&(b.overflow=[Ot.overflow,Ot.overflowX,Ot.overflowY],null==(me=Pn&&Pn.display)&&(me=Tt.get(u,"display")),"none"===(Te=C.css(u,"display"))&&(me?Te=me:(en([u],!0),me=u.style.display||me,Te=C.css(u,"display"),en([u]))),("inline"===Te||"inline-block"===Te&&null!=me)&&"none"===C.css(u,"float")&&(ie||(be.done(function(){Ot.display=me}),null==me&&(me="none"===(Te=Ot.display)?"":Te)),Ot.display="inline-block")),b.overflow&&(Ot.overflow="hidden",be.always(function(){Ot.overflow=b.overflow[0],Ot.overflowX=b.overflow[1],Ot.overflowY=b.overflow[2]})),ie=!1,Ke)ie||(Pn?"hidden"in Pn&&(Wn=Pn.hidden):Pn=Tt.access(u,"fxshow",{display:me}),H&&(Pn.hidden=!Wn),Wn&&en([u],!0),be.done(function(){for(S in Wn||en([u]),Tt.remove(u,"fxshow"),Ke)C.style(u,S,Ke[S])})),ie=Pr(Wn?Pn[S]:0,S,be),S in Pn||(Pn[S]=ie.start,Wn&&(ie.end=ie.start,ie.start=0))}],prefilter:function(u,f){f?Gr.prefilters.unshift(u):Gr.prefilters.push(u)}}),C.speed=function(u,f,b){var S=u&&"object"==typeof u?C.extend({},u):{complete:b||!b&&f||Y(u)&&u,duration:u,easing:b&&f||f&&!Y(f)&&f};return C.fx.off?S.duration=0:"number"!=typeof S.duration&&(S.duration=S.duration in C.fx.speeds?C.fx.speeds[S.duration]:C.fx.speeds._default),(null==S.queue||!0===S.queue)&&(S.queue="fx"),S.old=S.complete,S.complete=function(){Y(S.old)&&S.old.call(this),S.queue&&C.dequeue(this,S.queue)},S},C.fn.extend({fadeTo:function(u,f,b,S){return this.filter(Se).css("opacity",0).show().end().animate({opacity:f},u,b,S)},animate:function(u,f,b,S){var F=C.isEmptyObject(u),H=C.speed(f,b,S),j=function(){var oe=Gr(this,C.extend({},u),H);(F||Tt.get(this,"finish"))&&oe.stop(!0)};return j.finish=j,F||!1===H.queue?this.each(j):this.queue(H.queue,j)},stop:function(u,f,b){var S=function(F){var H=F.stop;delete F.stop,H(b)};return"string"!=typeof u&&(b=f,f=u,u=void 0),f&&this.queue(u||"fx",[]),this.each(function(){var F=!0,H=null!=u&&u+"queueHooks",j=C.timers,oe=Tt.get(this);if(H)oe[H]&&oe[H].stop&&S(oe[H]);else for(H in oe)oe[H]&&oe[H].stop&&c0.test(H)&&S(oe[H]);for(H=j.length;H--;)j[H].elem===this&&(null==u||j[H].queue===u)&&(j[H].anim.stop(b),F=!1,j.splice(H,1));(F||!b)&&C.dequeue(this,u)})},finish:function(u){return!1!==u&&(u=u||"fx"),this.each(function(){var f,b=Tt.get(this),S=b[u+"queue"],F=b[u+"queueHooks"],H=C.timers,j=S?S.length:0;for(b.finish=!0,C.queue(this,u,[]),F&&F.stop&&F.stop.call(this,!0),f=H.length;f--;)H[f].elem===this&&H[f].queue===u&&(H[f].anim.stop(!0),H.splice(f,1));for(f=0;f<j;f++)S[f]&&S[f].finish&&S[f].finish.call(this);delete b.finish})}}),C.each(["toggle","show","hide"],function(u,f){var b=C.fn[f];C.fn[f]=function(S,F,H){return null==S||"boolean"==typeof S?b.apply(this,arguments):this.animate(Js(f,!0),S,F,H)}}),C.each({slideDown:Js("show"),slideUp:Js("hide"),slideToggle:Js("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(u,f){C.fn[u]=function(b,S,F){return this.animate(f,b,S,F)}}),C.timers=[],C.fx.tick=function(){var u,f=0,b=C.timers;for(uc=Date.now();f<b.length;f++)!(u=b[f])()&&b[f]===u&&b.splice(f--,1);b.length||C.fx.stop(),uc=void 0},C.fx.timer=function(u){C.timers.push(u),C.fx.start()},C.fx.interval=13,C.fx.start=function(){Xc||(Xc=!0,u0())},C.fx.stop=function(){Xc=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(u,f){return u=C.fx&&C.fx.speeds[u]||u,this.queue(f=f||"fx",function(b,S){var F=w.setTimeout(b,u);S.stop=function(){w.clearTimeout(F)}})},function(){var u=X.createElement("input"),b=X.createElement("select").appendChild(X.createElement("option"));u.type="checkbox",V.checkOn=""!==u.value,V.optSelected=b.selected,(u=X.createElement("input")).value="t",u.type="radio",V.radioValue="t"===u.value}();var h0,Jc=C.expr.attrHandle;C.fn.extend({attr:function(u,f){return mi(this,C.attr,u,f,arguments.length>1)},removeAttr:function(u){return this.each(function(){C.removeAttr(this,u)})}}),C.extend({attr:function(u,f,b){var S,F,H=u.nodeType;if(3!==H&&8!==H&&2!==H)return typeof u.getAttribute>"u"?C.prop(u,f,b):((1!==H||!C.isXMLDoc(u))&&(F=C.attrHooks[f.toLowerCase()]||(C.expr.match.bool.test(f)?h0:void 0)),void 0!==b?null===b?void C.removeAttr(u,f):F&&"set"in F&&void 0!==(S=F.set(u,b,f))?S:(u.setAttribute(f,b+""),b):F&&"get"in F&&null!==(S=F.get(u,f))?S:(S=C.find.attr(u,f))??void 0)},attrHooks:{type:{set:function(u,f){if(!V.radioValue&&"radio"===f&&Ve(u,"input")){var b=u.value;return u.setAttribute("type",f),b&&(u.value=b),f}}}},removeAttr:function(u,f){var b,S=0,F=f&&f.match(Dt);if(F&&1===u.nodeType)for(;b=F[S++];)u.removeAttribute(b)}}),h0={set:function(u,f,b){return!1===f?C.removeAttr(u,b):u.setAttribute(b,b),b}},C.each(C.expr.match.bool.source.match(/\w+/g),function(u,f){var b=Jc[f]||C.find.attr;Jc[f]=function(S,F,H){var j,oe,ie=F.toLowerCase();return H||(oe=Jc[ie],Jc[ie]=j,j=null!=b(S,F,H)?ie:null,Jc[ie]=oe),j}});var L4=/^(?:input|select|textarea|button)$/i,$e=/^(?:a|area)$/i;function Il(u){return(u.match(Dt)||[]).join(" ")}function kn(u){return u.getAttribute&&u.getAttribute("class")||""}function zl(u){return Array.isArray(u)?u:"string"==typeof u&&u.match(Dt)||[]}C.fn.extend({prop:function(u,f){return mi(this,C.prop,u,f,arguments.length>1)},removeProp:function(u){return this.each(function(){delete this[C.propFix[u]||u]})}}),C.extend({prop:function(u,f,b){var S,F,H=u.nodeType;if(3!==H&&8!==H&&2!==H)return(1!==H||!C.isXMLDoc(u))&&(F=C.propHooks[f=C.propFix[f]||f]),void 0!==b?F&&"set"in F&&void 0!==(S=F.set(u,b,f))?S:u[f]=b:F&&"get"in F&&null!==(S=F.get(u,f))?S:u[f]},propHooks:{tabIndex:{get:function(u){var f=C.find.attr(u,"tabindex");return f?parseInt(f,10):L4.test(u.nodeName)||$e.test(u.nodeName)&&u.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),V.optSelected||(C.propHooks.selected={get:function(u){return null},set:function(u){}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(u){var f,b,S,F,H,j;return Y(u)?this.each(function(oe){C(this).addClass(u.call(this,oe,kn(this)))}):(f=zl(u)).length?this.each(function(){if(S=kn(this),b=1===this.nodeType&&" "+Il(S)+" "){for(H=0;H<f.length;H++)b.indexOf(" "+(F=f[H])+" ")<0&&(b+=F+" ");j=Il(b),S!==j&&this.setAttribute("class",j)}}):this},removeClass:function(u){var f,b,S,F,H,j;return Y(u)?this.each(function(oe){C(this).removeClass(u.call(this,oe,kn(this)))}):arguments.length?(f=zl(u)).length?this.each(function(){if(S=kn(this),b=1===this.nodeType&&" "+Il(S)+" "){for(H=0;H<f.length;H++)for(F=f[H];b.indexOf(" "+F+" ")>-1;)b=b.replace(" "+F+" "," ");j=Il(b),S!==j&&this.setAttribute("class",j)}}):this:this.attr("class","")},toggleClass:function(u,f){var b,S,F,H,j=typeof u,oe="string"===j||Array.isArray(u);return Y(u)?this.each(function(ie){C(this).toggleClass(u.call(this,ie,kn(this),f),f)}):"boolean"==typeof f&&oe?f?this.addClass(u):this.removeClass(u):(b=zl(u),this.each(function(){if(oe)for(H=C(this),F=0;F<b.length;F++)H.hasClass(S=b[F])?H.removeClass(S):H.addClass(S);else(void 0===u||"boolean"===j)&&((S=kn(this))&&Tt.set(this,"__className__",S),this.setAttribute&&this.setAttribute("class",S||!1===u?"":Tt.get(this,"__className__")||""))}))},hasClass:function(u){var f,b,S=0;for(f=" "+u+" ";b=this[S++];)if(1===b.nodeType&&(" "+Il(kn(b))+" ").indexOf(f)>-1)return!0;return!1}});var qd=/\r/g;C.fn.extend({val:function(u){var f,b,S,F=this[0];return arguments.length?(S=Y(u),this.each(function(H){var j;1===this.nodeType&&(null==(j=S?u.call(this,H,C(this).val()):u)?j="":"number"==typeof j?j+="":Array.isArray(j)&&(j=C.map(j,function(oe){return null==oe?"":oe+""})),(!(f=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])||!("set"in f)||void 0===f.set(this,j,"value"))&&(this.value=j))})):F?(f=C.valHooks[F.type]||C.valHooks[F.nodeName.toLowerCase()])&&"get"in f&&void 0!==(b=f.get(F,"value"))?b:"string"==typeof(b=F.value)?b.replace(qd,""):b??"":void 0}}),C.extend({valHooks:{option:{get:function(u){return C.find.attr(u,"value")??Il(C.text(u))}},select:{get:function(u){var f,b,S,F=u.options,H=u.selectedIndex,j="select-one"===u.type,oe=j?null:[],ie=j?H+1:F.length;for(S=H<0?ie:j?H:0;S<ie;S++)if(((b=F[S]).selected||S===H)&&!b.disabled&&(!b.parentNode.disabled||!Ve(b.parentNode,"optgroup"))){if(f=C(b).val(),j)return f;oe.push(f)}return oe},set:function(u,f){for(var b,S,F=u.options,H=C.makeArray(f),j=F.length;j--;)((S=F[j]).selected=C.inArray(C.valHooks.option.get(S),H)>-1)&&(b=!0);return b||(u.selectedIndex=-1),H}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(u,f){if(Array.isArray(f))return u.checked=C.inArray(C(u).val(),f)>-1}},V.checkOn||(C.valHooks[this].get=function(u){return null===u.getAttribute("value")?"on":u.value})});var el=w.location,f0={guid:Date.now()},tl=/\?/;C.parseXML=function(u){var f,b;if(!u||"string"!=typeof u)return null;try{f=(new w.DOMParser).parseFromString(u,"text/xml")}catch{}return b=f&&f.getElementsByTagName("parsererror")[0],(!f||b)&&C.error("Invalid XML: "+(b?C.map(b.childNodes,function(S){return S.textContent}).join("\n"):u)),f};var hc=/^(?:focusinfocus|focusoutblur)$/,eu=function(u){u.stopPropagation()};C.extend(C.event,{trigger:function(u,f,b,S){var F,H,j,oe,ie,me,Te,Ae,be=[b||X],Ke=E.call(u,"type")?u.type:u,Ot=E.call(u,"namespace")?u.namespace.split("."):[];if(H=Ae=j=b=b||X,3!==b.nodeType&&8!==b.nodeType&&!hc.test(Ke+C.event.triggered)&&(Ke.indexOf(".")>-1&&(Ot=Ke.split("."),Ke=Ot.shift(),Ot.sort()),ie=Ke.indexOf(":")<0&&"on"+Ke,(u=u[C.expando]?u:new C.Event(Ke,"object"==typeof u&&u)).isTrigger=S?2:3,u.namespace=Ot.join("."),u.rnamespace=u.namespace?new RegExp("(^|\\.)"+Ot.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,u.result=void 0,u.target||(u.target=b),f=null==f?[u]:C.makeArray(f,[u]),Te=C.event.special[Ke]||{},S||!Te.trigger||!1!==Te.trigger.apply(b,f))){if(!S&&!Te.noBubble&&!Q(b)){for(hc.test((oe=Te.delegateType||Ke)+Ke)||(H=H.parentNode);H;H=H.parentNode)be.push(H),j=H;j===(b.ownerDocument||X)&&be.push(j.defaultView||j.parentWindow||w)}for(F=0;(H=be[F++])&&!u.isPropagationStopped();)Ae=H,u.type=F>1?oe:Te.bindType||Ke,(me=(Tt.get(H,"events")||Object.create(null))[u.type]&&Tt.get(H,"handle"))&&me.apply(H,f),(me=ie&&H[ie])&&me.apply&&Vt(H)&&(u.result=me.apply(H,f),!1===u.result&&u.preventDefault());return u.type=Ke,!S&&!u.isDefaultPrevented()&&(!Te._default||!1===Te._default.apply(be.pop(),f))&&Vt(b)&&ie&&Y(b[Ke])&&!Q(b)&&((j=b[ie])&&(b[ie]=null),C.event.triggered=Ke,u.isPropagationStopped()&&Ae.addEventListener(Ke,eu),b[Ke](),u.isPropagationStopped()&&Ae.removeEventListener(Ke,eu),C.event.triggered=void 0,j&&(b[ie]=j)),u.result}},simulate:function(u,f,b){var S=C.extend(new C.Event,b,{type:u,isSimulated:!0});C.event.trigger(S,null,f)}}),C.fn.extend({trigger:function(u,f){return this.each(function(){C.event.trigger(u,f,this)})},triggerHandler:function(u,f){var b=this[0];if(b)return C.event.trigger(u,f,b,!0)}});var Ie=/\[\]$/,tu=/\r?\n/g,fc=/^(?:submit|button|image|reset|file)$/i,nu=/^(?:input|select|textarea|keygen)/i;function fs(u,f,b,S){var F;if(Array.isArray(f))C.each(f,function(H,j){b||Ie.test(u)?S(u,j):fs(u+"["+("object"==typeof j&&null!=j?H:"")+"]",j,b,S)});else if(b||"object"!==we(f))S(u,f);else for(F in f)fs(u+"["+F+"]",f[F],b,S)}C.param=function(u,f){var b,S=[],F=function(H,j){var oe=Y(j)?j():j;S[S.length]=encodeURIComponent(H)+"="+encodeURIComponent(oe??"")};if(null==u)return"";if(Array.isArray(u)||u.jquery&&!C.isPlainObject(u))C.each(u,function(){F(this.name,this.value)});else for(b in u)fs(b,u[b],f,F);return S.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var u=C.prop(this,"elements");return u?C.makeArray(u):this}).filter(function(){var u=this.type;return this.name&&!C(this).is(":disabled")&&nu.test(this.nodeName)&&!fc.test(u)&&(this.checked||!Or.test(u))}).map(function(u,f){var b=C(this).val();return null==b?null:Array.isArray(b)?C.map(b,function(S){return{name:f.name,value:S.replace(tu,"\r\n")}}):{name:f.name,value:b.replace(tu,"\r\n")}}).get()}});var Yd=/%20/g,jd=/#.*$/,$d=/([?&])_=[^&]*/,mc=/^(.*?):[ \t]*([^\r\n]*)$/gm,P4=/^(?:GET|HEAD)$/,N4=/^\/\//,Wd={},pc={},Wu="*/".concat("*"),gc=X.createElement("a");function vc(u){return function(f,b){"string"!=typeof f&&(b=f,f="*");var S,F=0,H=f.toLowerCase().match(Dt)||[];if(Y(b))for(;S=H[F++];)"+"===S[0]?(S=S.slice(1)||"*",(u[S]=u[S]||[]).unshift(b)):(u[S]=u[S]||[]).push(b)}}function Gu(u,f,b,S){var F={},H=u===pc;function j(oe){var ie;return F[oe]=!0,C.each(u[oe]||[],function(me,Te){var Ae=Te(f,b,S);return"string"!=typeof Ae||H||F[Ae]?H?!(ie=Ae):void 0:(f.dataTypes.unshift(Ae),j(Ae),!1)}),ie}return j(f.dataTypes[0])||!F["*"]&&j("*")}function Ku(u,f){var b,S,F=C.ajaxSettings.flatOptions||{};for(b in f)void 0!==f[b]&&((F[b]?u:S||(S={}))[b]=f[b]);return S&&C.extend(!0,u,S),u}gc.href=el.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:el.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(el.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Wu,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(u,f){return f?Ku(Ku(u,C.ajaxSettings),f):Ku(C.ajaxSettings,u)},ajaxPrefilter:vc(Wd),ajaxTransport:vc(pc),ajax:function(u,f){"object"==typeof u&&(f=u,u=void 0);var b,S,F,H,j,oe,ie,me,Te,Ae,be=C.ajaxSetup({},f=f||{}),Ke=be.context||be,Ot=be.context&&(Ke.nodeType||Ke.jquery)?C(Ke):C.event,Wn=C.Deferred(),Pn=C.Callbacks("once memory"),so=be.statusCode||{},Ri={},ba={},Ga="canceled",qn={readyState:0,getResponseHeader:function(Gn){var U;if(ie){if(!H)for(H={};U=mc.exec(F);)H[U[1].toLowerCase()+" "]=(H[U[1].toLowerCase()+" "]||[]).concat(U[2]);U=H[Gn.toLowerCase()+" "]}return null==U?null:U.join(", ")},getAllResponseHeaders:function(){return ie?F:null},setRequestHeader:function(Gn,U){return null==ie&&(Gn=ba[Gn.toLowerCase()]=ba[Gn.toLowerCase()]||Gn,Ri[Gn]=U),this},overrideMimeType:function(Gn){return null==ie&&(be.mimeType=Gn),this},statusCode:function(Gn){var U;if(Gn)if(ie)qn.always(Gn[qn.status]);else for(U in Gn)so[U]=[so[U],Gn[U]];return this},abort:function(Gn){var U=Gn||Ga;return b&&b.abort(U),It(0,U),this}};if(Wn.promise(qn),be.url=((u||be.url||el.href)+"").replace(N4,el.protocol+"//"),be.type=f.method||f.type||be.method||be.type,be.dataTypes=(be.dataType||"*").toLowerCase().match(Dt)||[""],null==be.crossDomain){oe=X.createElement("a");try{oe.href=be.url,oe.href=oe.href,be.crossDomain=gc.protocol+"//"+gc.host!=oe.protocol+"//"+oe.host}catch{be.crossDomain=!0}}if(be.data&&be.processData&&"string"!=typeof be.data&&(be.data=C.param(be.data,be.traditional)),Gu(Wd,be,f,qn),ie)return qn;for(Te in(me=C.event&&be.global)&&0===C.active++&&C.event.trigger("ajaxStart"),be.type=be.type.toUpperCase(),be.hasContent=!P4.test(be.type),S=be.url.replace(jd,""),be.hasContent?be.data&&be.processData&&0===(be.contentType||"").indexOf("application/x-www-form-urlencoded")&&(be.data=be.data.replace(Yd,"+")):(Ae=be.url.slice(S.length),be.data&&(be.processData||"string"==typeof be.data)&&(S+=(tl.test(S)?"&":"?")+be.data,delete be.data),!1===be.cache&&(S=S.replace($d,"$1"),Ae=(tl.test(S)?"&":"?")+"_="+f0.guid+++Ae),be.url=S+Ae),be.ifModified&&(C.lastModified[S]&&qn.setRequestHeader("If-Modified-Since",C.lastModified[S]),C.etag[S]&&qn.setRequestHeader("If-None-Match",C.etag[S])),(be.data&&be.hasContent&&!1!==be.contentType||f.contentType)&&qn.setRequestHeader("Content-Type",be.contentType),qn.setRequestHeader("Accept",be.dataTypes[0]&&be.accepts[be.dataTypes[0]]?be.accepts[be.dataTypes[0]]+("*"!==be.dataTypes[0]?", "+Wu+"; q=0.01":""):be.accepts["*"]),be.headers)qn.setRequestHeader(Te,be.headers[Te]);if(be.beforeSend&&(!1===be.beforeSend.call(Ke,qn,be)||ie))return qn.abort();if(Ga="abort",Pn.add(be.complete),qn.done(be.success),qn.fail(be.error),b=Gu(pc,be,f,qn)){if(qn.readyState=1,me&&Ot.trigger("ajaxSend",[qn,be]),ie)return qn;be.async&&be.timeout>0&&(j=w.setTimeout(function(){qn.abort("timeout")},be.timeout));try{ie=!1,b.send(Ri,It)}catch(Gn){if(ie)throw Gn;It(-1,Gn)}}else It(-1,"No Transport");function It(Gn,U,No,Qu){var Ro,ms,Ca,Fo,As,cr=U;ie||(ie=!0,j&&w.clearTimeout(j),b=void 0,F=Qu||"",qn.readyState=Gn>0?4:0,Ro=Gn>=200&&Gn<300||304===Gn,No&&(Fo=function m0(u,f,b){for(var S,F,H,j,oe=u.contents,ie=u.dataTypes;"*"===ie[0];)ie.shift(),void 0===S&&(S=u.mimeType||f.getResponseHeader("Content-Type"));if(S)for(F in oe)if(oe[F]&&oe[F].test(S)){ie.unshift(F);break}if(ie[0]in b)H=ie[0];else{for(F in b){if(!ie[0]||u.converters[F+" "+ie[0]]){H=F;break}j||(j=F)}H=H||j}if(H)return H!==ie[0]&&ie.unshift(H),b[H]}(be,qn,No)),!Ro&&C.inArray("script",be.dataTypes)>-1&&C.inArray("json",be.dataTypes)<0&&(be.converters["text script"]=function(){}),Fo=function nl(u,f,b,S){var F,H,j,oe,ie,me={},Te=u.dataTypes.slice();if(Te[1])for(j in u.converters)me[j.toLowerCase()]=u.converters[j];for(H=Te.shift();H;)if(u.responseFields[H]&&(b[u.responseFields[H]]=f),!ie&&S&&u.dataFilter&&(f=u.dataFilter(f,u.dataType)),ie=H,H=Te.shift())if("*"===H)H=ie;else if("*"!==ie&&ie!==H){if(!(j=me[ie+" "+H]||me["* "+H]))for(F in me)if((oe=F.split(" "))[1]===H&&(j=me[ie+" "+oe[0]]||me["* "+oe[0]])){!0===j?j=me[F]:!0!==me[F]&&(H=oe[0],Te.unshift(oe[1]));break}if(!0!==j)if(j&&u.throws)f=j(f);else try{f=j(f)}catch(Ae){return{state:"parsererror",error:j?Ae:"No conversion from "+ie+" to "+H}}}return{state:"success",data:f}}(be,Fo,qn,Ro),Ro?(be.ifModified&&((As=qn.getResponseHeader("Last-Modified"))&&(C.lastModified[S]=As),(As=qn.getResponseHeader("etag"))&&(C.etag[S]=As)),204===Gn||"HEAD"===be.type?cr="nocontent":304===Gn?cr="notmodified":(cr=Fo.state,ms=Fo.data,Ro=!(Ca=Fo.error))):(Ca=cr,(Gn||!cr)&&(cr="error",Gn<0&&(Gn=0))),qn.status=Gn,qn.statusText=(U||cr)+"",Ro?Wn.resolveWith(Ke,[ms,cr,qn]):Wn.rejectWith(Ke,[qn,cr,Ca]),qn.statusCode(so),so=void 0,me&&Ot.trigger(Ro?"ajaxSuccess":"ajaxError",[qn,be,Ro?ms:Ca]),Pn.fireWith(Ke,[qn,cr]),me&&(Ot.trigger("ajaxComplete",[qn,be]),--C.active||C.event.trigger("ajaxStop")))}return qn},getJSON:function(u,f,b){return C.get(u,f,b,"json")},getScript:function(u,f){return C.get(u,void 0,f,"script")}}),C.each(["get","post"],function(u,f){C[f]=function(b,S,F,H){return Y(S)&&(H=H||F,F=S,S=void 0),C.ajax(C.extend({url:b,type:f,dataType:H,data:S,success:F},C.isPlainObject(b)&&b))}}),C.ajaxPrefilter(function(u){var f;for(f in u.headers)"content-type"===f.toLowerCase()&&(u.contentType=u.headers[f]||"")}),C._evalUrl=function(u,f,b){return C.ajax({url:u,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(S){C.globalEval(S,f,b)}})},C.fn.extend({wrapAll:function(u){var f;return this[0]&&(Y(u)&&(u=u.call(this[0])),f=C(u,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&f.insertBefore(this[0]),f.map(function(){for(var b=this;b.firstElementChild;)b=b.firstElementChild;return b}).append(this)),this},wrapInner:function(u){return Y(u)?this.each(function(f){C(this).wrapInner(u.call(this,f))}):this.each(function(){var f=C(this),b=f.contents();b.length?b.wrapAll(u):f.append(u)})},wrap:function(u){var f=Y(u);return this.each(function(b){C(this).wrapAll(f?u.call(this,b):u)})},unwrap:function(u){return this.parent(u).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(u){return!C.expr.pseudos.visible(u)},C.expr.pseudos.visible=function(u){return!!(u.offsetWidth||u.offsetHeight||u.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new w.XMLHttpRequest}catch{}};var _c={0:200,1223:204},il=C.ajaxSettings.xhr();V.cors=!!il&&"withCredentials"in il,V.ajax=il=!!il,C.ajaxTransport(function(u){var f,b;if(V.cors||il&&!u.crossDomain)return{send:function(S,F){var H,j=u.xhr();if(j.open(u.type,u.url,u.async,u.username,u.password),u.xhrFields)for(H in u.xhrFields)j[H]=u.xhrFields[H];for(H in u.mimeType&&j.overrideMimeType&&j.overrideMimeType(u.mimeType),!u.crossDomain&&!S["X-Requested-With"]&&(S["X-Requested-With"]="XMLHttpRequest"),S)j.setRequestHeader(H,S[H]);f=function(oe){return function(){f&&(f=b=j.onload=j.onerror=j.onabort=j.ontimeout=j.onreadystatechange=null,"abort"===oe?j.abort():"error"===oe?"number"!=typeof j.status?F(0,"error"):F(j.status,j.statusText):F(_c[j.status]||j.status,j.statusText,"text"!==(j.responseType||"text")||"string"!=typeof j.responseText?{binary:j.response}:{text:j.responseText},j.getAllResponseHeaders()))}},j.onload=f(),b=j.onerror=j.ontimeout=f("error"),void 0!==j.onabort?j.onabort=b:j.onreadystatechange=function(){4===j.readyState&&w.setTimeout(function(){f&&b()})},f=f("abort");try{j.send(u.hasContent&&u.data||null)}catch(oe){if(f)throw oe}},abort:function(){f&&f()}}}),C.ajaxPrefilter(function(u){u.crossDomain&&(u.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(u){return C.globalEval(u),u}}}),C.ajaxPrefilter("script",function(u){void 0===u.cache&&(u.cache=!1),u.crossDomain&&(u.type="GET")}),C.ajaxTransport("script",function(u){var f,b;if(u.crossDomain||u.scriptAttrs)return{send:function(S,F){f=C("<script>").attr(u.scriptAttrs||{}).prop({charset:u.scriptCharset,src:u.url}).on("load error",b=function(H){f.remove(),b=null,H&&F("error"===H.type?404:200,H.type)}),X.head.appendChild(f[0])},abort:function(){b&&b()}}});var u,yt=[],On=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var u=yt.pop()||C.expando+"_"+f0.guid++;return this[u]=!0,u}}),C.ajaxPrefilter("json jsonp",function(u,f,b){var S,F,H,j=!1!==u.jsonp&&(On.test(u.url)?"url":"string"==typeof u.data&&0===(u.contentType||"").indexOf("application/x-www-form-urlencoded")&&On.test(u.data)&&"data");if(j||"jsonp"===u.dataTypes[0])return S=u.jsonpCallback=Y(u.jsonpCallback)?u.jsonpCallback():u.jsonpCallback,j?u[j]=u[j].replace(On,"$1"+S):!1!==u.jsonp&&(u.url+=(tl.test(u.url)?"&":"?")+u.jsonp+"="+S),u.converters["script json"]=function(){return H||C.error(S+" was not called"),H[0]},u.dataTypes[0]="json",F=w[S],w[S]=function(){H=arguments},b.always(function(){void 0===F?C(w).removeProp(S):w[S]=F,u[S]&&(u.jsonpCallback=f.jsonpCallback,yt.push(S)),H&&Y(F)&&F(H[0]),H=F=void 0}),"script"}),V.createHTMLDocument=((u=X.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===u.childNodes.length),C.parseHTML=function(u,f,b){return"string"!=typeof u?[]:("boolean"==typeof f&&(b=f,f=!1),f||(V.createHTMLDocument?((S=(f=X.implementation.createHTMLDocument("")).createElement("base")).href=X.location.href,f.head.appendChild(S)):f=X),H=!b&&[],(F=_t.exec(u))?[f.createElement(F[1])]:(F=cs([u],f,H),H&&H.length&&C(H).remove(),C.merge([],F.childNodes)));var S,F,H},C.fn.load=function(u,f,b){var S,F,H,j=this,oe=u.indexOf(" ");return oe>-1&&(S=Il(u.slice(oe)),u=u.slice(0,oe)),Y(f)?(b=f,f=void 0):f&&"object"==typeof f&&(F="POST"),j.length>0&&C.ajax({url:u,type:F||"GET",dataType:"html",data:f}).done(function(ie){H=arguments,j.html(S?C("<div>").append(C.parseHTML(ie)).find(S):ie)}).always(b&&function(ie,me){j.each(function(){b.apply(this,H||[ie.responseText,me,ie])})}),this},C.expr.pseudos.animated=function(u){return C.grep(C.timers,function(f){return u===f.elem}).length},C.offset={setOffset:function(u,f,b){var S,F,H,j,oe,ie,Te=C.css(u,"position"),Ae=C(u),be={};"static"===Te&&(u.style.position="relative"),oe=Ae.offset(),H=C.css(u,"top"),ie=C.css(u,"left"),("absolute"===Te||"fixed"===Te)&&(H+ie).indexOf("auto")>-1?(j=(S=Ae.position()).top,F=S.left):(j=parseFloat(H)||0,F=parseFloat(ie)||0),Y(f)&&(f=f.call(u,b,C.extend({},oe))),null!=f.top&&(be.top=f.top-oe.top+j),null!=f.left&&(be.left=f.left-oe.left+F),"using"in f?f.using.call(u,be):Ae.css(be)}},C.fn.extend({offset:function(u){if(arguments.length)return void 0===u?this:this.each(function(F){C.offset.setOffset(this,u,F)});var f,b,S=this[0];return S?S.getClientRects().length?{top:(f=S.getBoundingClientRect()).top+(b=S.ownerDocument.defaultView).pageYOffset,left:f.left+b.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var u,f,b,S=this[0],F={top:0,left:0};if("fixed"===C.css(S,"position"))f=S.getBoundingClientRect();else{for(f=this.offset(),b=S.ownerDocument,u=S.offsetParent||b.documentElement;u&&(u===b.body||u===b.documentElement)&&"static"===C.css(u,"position");)u=u.parentNode;u&&u!==S&&1===u.nodeType&&((F=C(u).offset()).top+=C.css(u,"borderTopWidth",!0),F.left+=C.css(u,"borderLeftWidth",!0))}return{top:f.top-F.top-C.css(S,"marginTop",!0),left:f.left-F.left-C.css(S,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var u=this.offsetParent;u&&"static"===C.css(u,"position");)u=u.offsetParent;return u||Ni})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(u,f){var b="pageYOffset"===f;C.fn[u]=function(S){return mi(this,function(F,H,j){var oe;if(Q(F)?oe=F:9===F.nodeType&&(oe=F.defaultView),void 0===j)return oe?oe[f]:F[H];oe?oe.scrollTo(b?oe.pageXOffset:j,b?j:oe.pageYOffset):F[H]=j},u,S,arguments.length)}}),C.each(["top","left"],function(u,f){C.cssHooks[f]=ko(V.pixelPosition,function(b,S){if(S)return S=zs(b,f),wi.test(S)?C(b).position()[f]+"px":S})}),C.each({Height:"height",Width:"width"},function(u,f){C.each({padding:"inner"+u,content:f,"":"outer"+u},function(b,S){C.fn[S]=function(F,H){var j=arguments.length&&(b||"boolean"!=typeof F),oe=b||(!0===F||!0===H?"margin":"border");return mi(this,function(ie,me,Te){var Ae;return Q(ie)?0===S.indexOf("outer")?ie["inner"+u]:ie.document.documentElement["client"+u]:9===ie.nodeType?(Ae=ie.documentElement,Math.max(ie.body["scroll"+u],Ae["scroll"+u],ie.body["offset"+u],Ae["offset"+u],Ae["client"+u])):void 0===Te?C.css(ie,me,oe):C.style(ie,me,Te,oe)},f,j?F:void 0,j)}})}),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(u,f){C.fn[f]=function(b){return this.on(f,b)}}),C.fn.extend({bind:function(u,f,b){return this.on(u,null,f,b)},unbind:function(u,f){return this.off(u,null,f)},delegate:function(u,f,b,S){return this.on(f,u,b,S)},undelegate:function(u,f,b){return 1===arguments.length?this.off(u,"**"):this.off(f,u||"**",b)},hover:function(u,f){return this.on("mouseenter",u).on("mouseleave",f||u)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(u,f){C.fn[f]=function(b,S){return arguments.length>0?this.on(f,null,b,S):this.trigger(f)}});var iu=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;C.proxy=function(u,f){var b,S,F;if("string"==typeof f&&(b=u[f],f=u,u=b),Y(u))return S=_.call(arguments,2),F=function(){return u.apply(f||this,S.concat(_.call(arguments)))},F.guid=u.guid=u.guid||C.guid++,F},C.holdReady=function(u){u?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=Ve,C.isFunction=Y,C.isWindow=Q,C.camelCase=Wi,C.type=we,C.now=Date.now,C.isNumeric=function(u){var f=C.type(u);return("number"===f||"string"===f)&&!isNaN(u-parseFloat(u))},C.trim=function(u){return null==u?"":(u+"").replace(iu,"$1")},void 0!==(P=function(){return C}.apply(se,[]))&&(ne.exports=P);var Gd=w.jQuery,ru=w.$;return C.noConflict=function(u){return w.$===C&&(w.$=ru),u&&w.jQuery===C&&(w.jQuery=Gd),C},typeof q>"u"&&(w.jQuery=w.$=C),C})},7598(ne){"use strict";ne.exports=Math.abs},3116(ne){"use strict";ne.exports=Math.floor},159(ne){"use strict";ne.exports=Number.isNaN||function(R){return R!=R}},2136(ne){"use strict";ne.exports=Math.max},3462(ne){"use strict";ne.exports=Math.min},1516(ne){"use strict";ne.exports=Math.pow},5714(ne){"use strict";ne.exports=Math.round},497(ne,se,R){"use strict";var P=R(159);ne.exports=function(q){return P(q)||0===q?q:q<0?-1:1}},9545(ne,se,R){(ne=R.nmd(ne)).exports=function(){"use strict";var P,Y;function w(){return P.apply(null,arguments)}function K(d){return d instanceof Array||"[object Array]"===Object.prototype.toString.call(d)}function $(d){return null!=d&&"[object Object]"===Object.prototype.toString.call(d)}function _(d,m){return Object.prototype.hasOwnProperty.call(d,m)}function p(d){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(d).length;var m;for(m in d)if(_(d,m))return!1;return!0}function v(d){return void 0===d}function D(d){return"number"==typeof d||"[object Number]"===Object.prototype.toString.call(d)}function I(d){return d instanceof Date||"[object Date]"===Object.prototype.toString.call(d)}function M(d,m){var O,T=[],W=d.length;for(O=0;O<W;++O)T.push(m(d[O],O));return T}function E(d,m){for(var T in m)_(m,T)&&(d[T]=m[T]);return _(m,"toString")&&(d.toString=m.toString),_(m,"valueOf")&&(d.valueOf=m.valueOf),d}function A(d,m,T,O){return yc(d,m,T,O,!0).utc()}function V(d){return null==d._pf&&(d._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),d._pf}function Q(d){if(null==d._isValid){var m=V(d),T=Y.call(m.parsedDateParts,function(W){return null!=W}),O=!isNaN(d._d.getTime())&&m.overflow<0&&!m.empty&&!m.invalidEra&&!m.invalidMonth&&!m.invalidWeekday&&!m.weekdayMismatch&&!m.nullInput&&!m.invalidFormat&&!m.userInvalidated&&(!m.meridiem||m.meridiem&&T);if(d._strict&&(O=O&&0===m.charsLeftOver&&0===m.unusedTokens.length&&void 0===m.bigHour),null!=Object.isFrozen&&Object.isFrozen(d))return O;d._isValid=O}return d._isValid}function X(d){var m=A(NaN);return null!=d?E(V(m),d):V(m).userInvalidated=!0,m}Y=Array.prototype.some?Array.prototype.some:function(d){var O,m=Object(this),T=m.length>>>0;for(O=0;O<T;O++)if(O in m&&d.call(this,m[O],O,m))return!0;return!1};var de=w.momentProperties=[],fe=!1;function we(d,m){var T,O,W,le=de.length;if(v(m._isAMomentObject)||(d._isAMomentObject=m._isAMomentObject),v(m._i)||(d._i=m._i),v(m._f)||(d._f=m._f),v(m._l)||(d._l=m._l),v(m._strict)||(d._strict=m._strict),v(m._tzm)||(d._tzm=m._tzm),v(m._isUTC)||(d._isUTC=m._isUTC),v(m._offset)||(d._offset=m._offset),v(m._pf)||(d._pf=V(m)),v(m._locale)||(d._locale=m._locale),le>0)for(T=0;T<le;T++)v(W=m[O=de[T]])||(d[O]=W);return d}function ze(d){we(this,d),this._d=new Date(null!=d._d?d._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===fe&&(fe=!0,w.updateOffset(this),fe=!1)}function qe(d){return d instanceof ze||null!=d&&null!=d._isAMomentObject}function C(d){!1===w.suppressDeprecationWarnings&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+d)}function Fe(d,m){var T=!0;return E(function(){if(null!=w.deprecationHandler&&w.deprecationHandler(null,d),T){var W,le,ke,O=[],Ut=arguments.length;for(le=0;le<Ut;le++){if(W="","object"==typeof arguments[le]){for(ke in W+="\n["+le+"] ",arguments[0])_(arguments[0],ke)&&(W+=ke+": "+arguments[0][ke]+", ");W=W.slice(0,-2)}else W=arguments[le];O.push(W)}C(d+"\nArguments: "+Array.prototype.slice.call(O).join("")+"\n"+(new Error).stack),T=!1}return m.apply(this,arguments)},m)}var Hn,Ve={};function Ct(d,m){null!=w.deprecationHandler&&w.deprecationHandler(d,m),Ve[d]||(C(m),Ve[d]=!0)}function Yt(d){return typeof Function<"u"&&d instanceof Function||"[object Function]"===Object.prototype.toString.call(d)}function ht(d,m){var O,T=E({},d);for(O in m)_(m,O)&&($(d[O])&&$(m[O])?(T[O]={},E(T[O],d[O]),E(T[O],m[O])):null!=m[O]?T[O]=m[O]:delete T[O]);for(O in d)_(d,O)&&!_(m,O)&&$(d[O])&&(T[O]=E({},T[O]));return T}function Gt(d){null!=d&&this.set(d)}w.suppressDeprecationWarnings=!1,w.deprecationHandler=null,Hn=Object.keys?Object.keys:function(d){var m,T=[];for(m in d)_(d,m)&&T.push(m);return T};function Ci(d,m,T){var O=""+Math.abs(d);return(d>=0?T?"+":"":"-")+Math.pow(10,Math.max(0,m-O.length)).toString().substr(1)+O}var Un=/(\[[^\[]*\])|(\\)?([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,sr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,rt={},_t={};function De(d,m,T,O){var W=O;"string"==typeof O&&(W=function(){return this[O]()}),d&&(_t[d]=W),m&&(_t[m[0]]=function(){return Ci(W.apply(this,arguments),m[1],m[2])}),T&&(_t[T]=function(){return this.localeData().ordinal(W.apply(this,arguments),d)})}function Ce(d){return d.match(/\[[\s\S]/)?d.replace(/^\[|\]$/g,""):d.replace(/\\/g,"")}function Et(d,m){return d.isValid()?(m=an(m,d.localeData()),rt[m]=rt[m]||function Ue(d){var T,O,m=d.match(Un);for(T=0,O=m.length;T<O;T++)m[T]=_t[m[T]]?_t[m[T]]:Ce(m[T]);return function(W){var ke,le="";for(ke=0;ke<O;ke++)le+=Yt(m[ke])?m[ke].call(W,d):m[ke];return le}}(m),rt[m](d)):d.localeData().invalidDate()}function an(d,m){var T=5;function O(W){return m.longDateFormat(W)||W}for(sr.lastIndex=0;T>=0&&sr.test(d);)d=d.replace(sr,O),sr.lastIndex=0,T-=1;return d}var mi={};function Pt(d,m){var T=d.toLowerCase();mi[T]=mi[T+"s"]=mi[m]=d}function Ei(d){return"string"==typeof d?mi[d]||mi[d.toLowerCase()]:void 0}function Lr(d){var T,O,m={};for(O in d)_(d,O)&&(T=Ei(O))&&(m[T]=d[O]);return m}var Wi={};function Vt(d,m){Wi[d]=m}function Tt(d){return d%4==0&&d%100!=0||d%400==0}function $n(d){return d<0?Math.ceil(d)||0:Math.floor(d)}function Qt(d){var m=+d,T=0;return 0!==m&&isFinite(m)&&(T=$n(m)),T}function Do(d,m){return function(T){return null!=T?(Oa(this,d,T),w.updateOffset(this,m),this):Lo(this,d)}}function Lo(d,m){return d.isValid()?d._d["get"+(d._isUTC?"UTC":"")+m]():NaN}function Oa(d,m,T){d.isValid()&&!isNaN(T)&&("FullYear"===m&&Tt(d.year())&&1===d.month()&&29===d.date()?(T=Qt(T),d._d["set"+(d._isUTC?"UTC":"")+m](T,d.month(),zs(T,d.month()))):d._d["set"+(d._isUTC?"UTC":"")+m](T))}var us,ya=/\d/,Ni=/\d\d/,$r=/\d{3}/,ye=/\d{4}/,Se=/[+-]?\d{6}/,At=/\d\d?/,di=/\d\d\d\d?/,hi=/\d\d\d\d\d\d?/,en=/\d{1,3}/,Or=/\d{1,4}/,_o=/[+-]?\d{1,6}/,Tr=/\d+/,Ii=/[+-]?\d+/,Wr=/Z|[+-]\d\d:?\d\d/gi,xo=/Z|[+-]\d\d(?::?\d\d)?/gi,cs=/[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;function Be(d,m,T){us[d]=Yt(m)?m:function(O,W){return O&&T?T:m}}function Xo(d,m){return _(us,d)?us[d](m._strict,m._locale):new RegExp(function Xs(d){return xr(d.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(m,T,O,W,le){return T||O||W||le}))}(d))}function xr(d){return d.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}us={};var Zs={};function it(d,m){var T,W,O=m;for("string"==typeof d&&(d=[d]),D(m)&&(O=function(le,ke){ke[m]=Qt(le)}),W=d.length,T=0;T<W;T++)Zs[d[T]]=O}function ds(d,m){it(d,function(T,O,W,le){W._w=W._w||{},m(T,W._w,W,le)})}function ei(d,m,T){null!=m&&_(Zs,d)&&Zs[d](m,T._a,T,d)}var Xt,Gi=0,Zo=1,Oo=2,lr=3,ge=4,Po=5,wi=6,pi=7,lc=8;function zs(d,m){if(isNaN(d)||isNaN(m))return NaN;var T=function Kc(d,m){return(d%m+m)%m}(m,12);return d+=(m-T)/12,1===T?Tt(d)?29:28:31-T%7%2}Xt=Array.prototype.indexOf?Array.prototype.indexOf:function(d){var m;for(m=0;m<this.length;++m)if(this[m]===d)return m;return-1},De("M",["MM",2],"Mo",function(){return this.month()+1}),De("MMM",0,0,function(d){return this.localeData().monthsShort(this,d)}),De("MMMM",0,0,function(d){return this.localeData().months(this,d)}),Pt("month","M"),Vt("month",8),Be("M",At),Be("MM",At,Ni),Be("MMM",function(d,m){return m.monthsShortRegex(d)}),Be("MMMM",function(d,m){return m.monthsRegex(d)}),it(["M","MM"],function(d,m){m[Zo]=Qt(d)-1}),it(["MMM","MMMM"],function(d,m,T,O){var W=T._locale.monthsParse(d,O,T._strict);null!=W?m[Zo]=W:V(T).invalidMonth=d});var ko="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),cc="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),s0=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,l0=cs,Bn=cs;function Jo(d,m,T){var O,W,le,ke=d.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],O=0;O<12;++O)le=A([2e3,O]),this._shortMonthsParse[O]=this.monthsShort(le,"").toLocaleLowerCase(),this._longMonthsParse[O]=this.months(le,"").toLocaleLowerCase();return T?"MMM"===m?-1!==(W=Xt.call(this._shortMonthsParse,ke))?W:null:-1!==(W=Xt.call(this._longMonthsParse,ke))?W:null:"MMM"===m?-1!==(W=Xt.call(this._shortMonthsParse,ke))||-1!==(W=Xt.call(this._longMonthsParse,ke))?W:null:-1!==(W=Xt.call(this._longMonthsParse,ke))||-1!==(W=Xt.call(this._shortMonthsParse,ke))?W:null}function ju(d,m){var T;if(!d.isValid())return d;if("string"==typeof m)if(/^\d+$/.test(m))m=Qt(m);else if(!D(m=d.localeData().monthsParse(m)))return d;return T=Math.min(d.date(),zs(d.year(),m)),d._d["set"+(d._isUTC?"UTC":"")+"Month"](m,T),d}function $u(d){return null!=d?(ju(this,d),w.updateOffset(this,!0),this):Lo(this,"Month")}function Xc(){function d(ke,Ut){return Ut.length-ke.length}var W,le,m=[],T=[],O=[];for(W=0;W<12;W++)le=A([2e3,W]),m.push(this.monthsShort(le,"")),T.push(this.months(le,"")),O.push(this.months(le,"")),O.push(this.monthsShort(le,""));for(m.sort(d),T.sort(d),O.sort(d),W=0;W<12;W++)m[W]=xr(m[W]),T[W]=xr(T[W]);for(W=0;W<24;W++)O[W]=xr(O[W]);this._monthsRegex=new RegExp("^("+O.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+T.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+m.join("|")+")","i")}function dc(d){return Tt(d)?366:365}De("Y",0,0,function(){var d=this.year();return d<=9999?Ci(d,4):"+"+d}),De(0,["YY",2],0,function(){return this.year()%100}),De(0,["YYYY",4],0,"year"),De(0,["YYYYY",5],0,"year"),De(0,["YYYYYY",6,!0],0,"year"),Pt("year","y"),Vt("year",1),Be("Y",Ii),Be("YY",At,Ni),Be("YYYY",Or,ye),Be("YYYYY",_o,Se),Be("YYYYYY",_o,Se),it(["YYYYY","YYYYYY"],Gi),it("YYYY",function(d,m){m[Gi]=2===d.length?w.parseTwoDigitYear(d):Qt(d)}),it("YY",function(d,m){m[Gi]=w.parseTwoDigitYear(d)}),it("Y",function(d,m){m[Gi]=parseInt(d,10)}),w.parseTwoDigitYear=function(d){return Qt(d)+(Qt(d)>68?1900:2e3)};var c0=Do("FullYear",!0);function d0(d,m,T,O,W,le,ke){var Ut;return d<100&&d>=0?(Ut=new Date(d+400,m,T,O,W,le,ke),isFinite(Ut.getFullYear())&&Ut.setFullYear(d)):Ut=new Date(d,m,T,O,W,le,ke),Ut}function Js(d){var m,T;return d<100&&d>=0?((T=Array.prototype.slice.call(arguments))[0]=d+400,m=new Date(Date.UTC.apply(null,T)),isFinite(m.getUTCFullYear())&&m.setUTCFullYear(d)):m=new Date(Date.UTC.apply(null,arguments)),m}function Pr(d,m,T){var O=7+m-T;return-(7+Js(d,0,O).getUTCDay()-m)%7+O-1}function Rt(d,m,T,O,W){var En,gi,Ut=1+7*(m-1)+(7+T-O)%7+Pr(d,O,W);return Ut<=0?gi=dc(En=d-1)+Ut:Ut>dc(d)?(En=d+1,gi=Ut-dc(d)):(En=d,gi=Ut),{year:En,dayOfYear:gi}}function Zc(d,m,T){var le,ke,O=Pr(d.year(),m,T),W=Math.floor((d.dayOfYear()-O-1)/7)+1;return W<1?le=W+Gr(ke=d.year()-1,m,T):W>Gr(d.year(),m,T)?(le=W-Gr(d.year(),m,T),ke=d.year()+1):(ke=d.year(),le=W),{week:le,year:ke}}function Gr(d,m,T){var O=Pr(d,m,T),W=Pr(d+1,m,T);return(dc(d)-O+W)/7}De("w",["ww",2],"wo","week"),De("W",["WW",2],"Wo","isoWeek"),Pt("week","w"),Pt("isoWeek","W"),Vt("week",5),Vt("isoWeek",5),Be("w",At),Be("ww",At,Ni),Be("W",At),Be("WW",At,Ni),ds(["w","ww","W","WW"],function(d,m,T,O){m[O.substr(0,1)]=Qt(d)});function el(d,m){return d.slice(m,7).concat(d.slice(0,m))}De("d",0,"do","day"),De("dd",0,0,function(d){return this.localeData().weekdaysMin(this,d)}),De("ddd",0,0,function(d){return this.localeData().weekdaysShort(this,d)}),De("dddd",0,0,function(d){return this.localeData().weekdays(this,d)}),De("e",0,0,"weekday"),De("E",0,0,"isoWeekday"),Pt("day","d"),Pt("weekday","e"),Pt("isoWeekday","E"),Vt("day",11),Vt("weekday",11),Vt("isoWeekday",11),Be("d",At),Be("e",At),Be("E",At),Be("dd",function(d,m){return m.weekdaysMinRegex(d)}),Be("ddd",function(d,m){return m.weekdaysShortRegex(d)}),Be("dddd",function(d,m){return m.weekdaysRegex(d)}),ds(["dd","ddd","dddd"],function(d,m,T,O){var W=T._locale.weekdaysParse(d,O,T._strict);null!=W?m.d=W:V(T).invalidWeekday=d}),ds(["d","e","E"],function(d,m,T,O){m[O]=Qt(d)});var f0="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),tl="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),hc="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),eu=cs,Ie=cs,tu=cs;function Yd(d,m,T){var O,W,le,ke=d.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],O=0;O<7;++O)le=A([2e3,1]).day(O),this._minWeekdaysParse[O]=this.weekdaysMin(le,"").toLocaleLowerCase(),this._shortWeekdaysParse[O]=this.weekdaysShort(le,"").toLocaleLowerCase(),this._weekdaysParse[O]=this.weekdays(le,"").toLocaleLowerCase();return T?"dddd"===m?-1!==(W=Xt.call(this._weekdaysParse,ke))?W:null:"ddd"===m?-1!==(W=Xt.call(this._shortWeekdaysParse,ke))?W:null:-1!==(W=Xt.call(this._minWeekdaysParse,ke))?W:null:"dddd"===m?-1!==(W=Xt.call(this._weekdaysParse,ke))||-1!==(W=Xt.call(this._shortWeekdaysParse,ke))||-1!==(W=Xt.call(this._minWeekdaysParse,ke))?W:null:"ddd"===m?-1!==(W=Xt.call(this._shortWeekdaysParse,ke))||-1!==(W=Xt.call(this._weekdaysParse,ke))||-1!==(W=Xt.call(this._minWeekdaysParse,ke))?W:null:-1!==(W=Xt.call(this._minWeekdaysParse,ke))||-1!==(W=Xt.call(this._weekdaysParse,ke))||-1!==(W=Xt.call(this._shortWeekdaysParse,ke))?W:null}function pc(){function d(ra,Hs){return Hs.length-ra.length}var le,ke,Ut,En,gi,m=[],T=[],O=[],W=[];for(le=0;le<7;le++)ke=A([2e3,1]).day(le),Ut=xr(this.weekdaysMin(ke,"")),En=xr(this.weekdaysShort(ke,"")),gi=xr(this.weekdays(ke,"")),m.push(Ut),T.push(En),O.push(gi),W.push(Ut),W.push(En),W.push(gi);m.sort(d),T.sort(d),O.sort(d),W.sort(d),this._weekdaysRegex=new RegExp("^("+W.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+O.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+T.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+m.join("|")+")","i")}function Wu(){return this.hours()%12||12}function vc(d,m){De(d,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),m)})}function Gu(d,m){return m._meridiemParse}De("H",["HH",2],0,"hour"),De("h",["hh",2],0,Wu),De("k",["kk",2],0,function gc(){return this.hours()||24}),De("hmm",0,0,function(){return""+Wu.apply(this)+Ci(this.minutes(),2)}),De("hmmss",0,0,function(){return""+Wu.apply(this)+Ci(this.minutes(),2)+Ci(this.seconds(),2)}),De("Hmm",0,0,function(){return""+this.hours()+Ci(this.minutes(),2)}),De("Hmmss",0,0,function(){return""+this.hours()+Ci(this.minutes(),2)+Ci(this.seconds(),2)}),vc("a",!0),vc("A",!1),Pt("hour","h"),Vt("hour",13),Be("a",Gu),Be("A",Gu),Be("H",At),Be("h",At),Be("k",At),Be("HH",At,Ni),Be("hh",At,Ni),Be("kk",At,Ni),Be("hmm",di),Be("hmmss",hi),Be("Hmm",di),Be("Hmmss",hi),it(["H","HH"],lr),it(["k","kk"],function(d,m,T){var O=Qt(d);m[lr]=24===O?0:O}),it(["a","A"],function(d,m,T){T._isPm=T._locale.isPM(d),T._meridiem=d}),it(["h","hh"],function(d,m,T){m[lr]=Qt(d),V(T).bigHour=!0}),it("hmm",function(d,m,T){var O=d.length-2;m[lr]=Qt(d.substr(0,O)),m[ge]=Qt(d.substr(O)),V(T).bigHour=!0}),it("hmmss",function(d,m,T){var O=d.length-4,W=d.length-2;m[lr]=Qt(d.substr(0,O)),m[ge]=Qt(d.substr(O,2)),m[Po]=Qt(d.substr(W)),V(T).bigHour=!0}),it("Hmm",function(d,m,T){var O=d.length-2;m[lr]=Qt(d.substr(0,O)),m[ge]=Qt(d.substr(O))}),it("Hmmss",function(d,m,T){var O=d.length-4,W=d.length-2;m[lr]=Qt(d.substr(0,O)),m[ge]=Qt(d.substr(O,2)),m[Po]=Qt(d.substr(W))});var nl=Do("Hours",!0);var iu,il={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ko,monthsShort:cc,week:{dow:0,doy:6},weekdays:f0,weekdaysMin:hc,weekdaysShort:tl,meridiemParse:/[ap]\.?m?\.?/i},yt={},On={};function Gd(d,m){var T,O=Math.min(d.length,m.length);for(T=0;T<O;T+=1)if(d[T]!==m[T])return T;return O}function ru(d){return d&&d.toLowerCase().replace("_","-")}function b(d){var m=null;if(void 0===yt[d]&&ne&&ne.exports&&function f(d){return null!=d.match("^[^/\\\\]*$")}(d))try{m=iu._abbr,Object(function(){var W=new Error("Cannot find module 'undefined'");throw W.code="MODULE_NOT_FOUND",W}()),S(m)}catch{yt[d]=null}return yt[d]}function S(d,m){var T;return d&&((T=v(m)?j(d):F(d,m))?iu=T:typeof console<"u"&&console.warn&&console.warn("Locale "+d+" not found. Did you forget to load it?")),iu._abbr}function F(d,m){if(null!==m){var T,O=il;if(m.abbr=d,null!=yt[d])Ct("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),O=yt[d]._config;else if(null!=m.parentLocale)if(null!=yt[m.parentLocale])O=yt[m.parentLocale]._config;else{if(null==(T=b(m.parentLocale)))return On[m.parentLocale]||(On[m.parentLocale]=[]),On[m.parentLocale].push({name:d,config:m}),null;O=T._config}return yt[d]=new Gt(ht(O,m)),On[d]&&On[d].forEach(function(W){F(W.name,W.config)}),S(d),yt[d]}return delete yt[d],null}function j(d){var m;if(d&&d._locale&&d._locale._abbr&&(d=d._locale._abbr),!d)return iu;if(!K(d)){if(m=b(d))return m;d=[d]}return function u(d){for(var T,O,W,le,m=0;m<d.length;){for(T=(le=ru(d[m]).split("-")).length,O=(O=ru(d[m+1]))?O.split("-"):null;T>0;){if(W=b(le.slice(0,T).join("-")))return W;if(O&&O.length>=T&&Gd(le,O)>=T-1)break;T--}m++}return iu}(d)}function ie(d){var m,T=d._a;return T&&-2===V(d).overflow&&(m=T[Zo]<0||T[Zo]>11?Zo:T[Oo]<1||T[Oo]>zs(T[Gi],T[Zo])?Oo:T[lr]<0||T[lr]>24||24===T[lr]&&(0!==T[ge]||0!==T[Po]||0!==T[wi])?lr:T[ge]<0||T[ge]>59?ge:T[Po]<0||T[Po]>59?Po:T[wi]<0||T[wi]>999?wi:-1,V(d)._overflowDayOfYear&&(m<Gi||m>Oo)&&(m=Oo),V(d)._overflowWeeks&&-1===m&&(m=pi),V(d)._overflowWeekday&&-1===m&&(m=lc),V(d).overflow=m),d}var me=/^\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)?)?$/,Te=/^\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)?)?$/,Ae=/Z|[+-]\d\d(?::?\d\d)?/,be=[["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]],Ke=[["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/]],Ot=/^\/?Date\((-?\d+)/i,Wn=/^(?:(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}))$/,Pn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function so(d){var m,T,le,ke,Ut,En,O=d._i,W=me.exec(O)||Te.exec(O),gi=be.length,ra=Ke.length;if(W){for(V(d).iso=!0,m=0,T=gi;m<T;m++)if(be[m][1].exec(W[1])){ke=be[m][0],le=!1!==be[m][2];break}if(null==ke)return void(d._isValid=!1);if(W[3]){for(m=0,T=ra;m<T;m++)if(Ke[m][1].exec(W[3])){Ut=(W[2]||" ")+Ke[m][0];break}if(null==Ut)return void(d._isValid=!1)}if(!le&&null!=Ut)return void(d._isValid=!1);if(W[4]){if(!Ae.exec(W[4]))return void(d._isValid=!1);En="Z"}d._f=ke+(Ut||"")+(En||""),Ca(d)}else d._isValid=!1}function ba(d){var m=parseInt(d,10);return m<=49?2e3+m:m<=999?1900+m:m}function Gn(d){var T,m=Wn.exec(function Ga(d){return d.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(d._i));if(m){if(T=function Ri(d,m,T,O,W,le){var ke=[ba(d),cc.indexOf(m),parseInt(T,10),parseInt(O,10),parseInt(W,10)];return le&&ke.push(parseInt(le,10)),ke}(m[4],m[3],m[2],m[5],m[6],m[7]),!function qn(d,m,T){return!d||tl.indexOf(d)===new Date(m[0],m[1],m[2]).getDay()||(V(T).weekdayMismatch=!0,T._isValid=!1,!1)}(m[1],T,d))return;d._a=T,d._tzm=function It(d,m,T){if(d)return Pn[d];if(m)return 0;var O=parseInt(T,10),W=O%100;return(O-W)/100*60+W}(m[8],m[9],m[10]),d._d=Js.apply(null,d._a),d._d.setUTCMinutes(d._d.getUTCMinutes()-d._tzm),V(d).rfc2822=!0}else d._isValid=!1}function No(d,m,T){return d??m??T}function Ro(d){var m,T,W,le,ke,O=[];if(!d._d){for(W=function Qu(d){var m=new Date(w.now());return d._useUTC?[m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate()]:[m.getFullYear(),m.getMonth(),m.getDate()]}(d),d._w&&null==d._a[Oo]&&null==d._a[Zo]&&function ms(d){var m,T,O,W,le,ke,Ut,En,gi;null!=(m=d._w).GG||null!=m.W||null!=m.E?(le=1,ke=4,T=No(m.GG,d._a[Gi],Zc(zi(),1,4).year),O=No(m.W,1),((W=No(m.E,1))<1||W>7)&&(En=!0)):(le=d._locale._week.dow,ke=d._locale._week.doy,gi=Zc(zi(),le,ke),T=No(m.gg,d._a[Gi],gi.year),O=No(m.w,gi.week),null!=m.d?((W=m.d)<0||W>6)&&(En=!0):null!=m.e?(W=m.e+le,(m.e<0||m.e>6)&&(En=!0)):W=le),O<1||O>Gr(T,le,ke)?V(d)._overflowWeeks=!0:null!=En?V(d)._overflowWeekday=!0:(Ut=Rt(T,O,W,le,ke),d._a[Gi]=Ut.year,d._dayOfYear=Ut.dayOfYear)}(d),null!=d._dayOfYear&&(ke=No(d._a[Gi],W[Gi]),(d._dayOfYear>dc(ke)||0===d._dayOfYear)&&(V(d)._overflowDayOfYear=!0),T=Js(ke,0,d._dayOfYear),d._a[Zo]=T.getUTCMonth(),d._a[Oo]=T.getUTCDate()),m=0;m<3&&null==d._a[m];++m)d._a[m]=O[m]=W[m];for(;m<7;m++)d._a[m]=O[m]=null==d._a[m]?2===m?1:0:d._a[m];24===d._a[lr]&&0===d._a[ge]&&0===d._a[Po]&&0===d._a[wi]&&(d._nextDay=!0,d._a[lr]=0),d._d=(d._useUTC?Js:d0).apply(null,O),le=d._useUTC?d._d.getUTCDay():d._d.getDay(),null!=d._tzm&&d._d.setUTCMinutes(d._d.getUTCMinutes()-d._tzm),d._nextDay&&(d._a[lr]=24),d._w&&typeof d._w.d<"u"&&d._w.d!==le&&(V(d).weekdayMismatch=!0)}}function Ca(d){if(d._f!==w.ISO_8601)if(d._f!==w.RFC_2822){d._a=[],V(d).empty=!0;var T,O,W,le,ke,gi,ra,m=""+d._i,Ut=m.length,En=0;for(ra=(W=an(d._f,d._locale).match(Un)||[]).length,T=0;T<ra;T++)(O=(m.match(Xo(le=W[T],d))||[])[0])&&((ke=m.substr(0,m.indexOf(O))).length>0&&V(d).unusedInput.push(ke),m=m.slice(m.indexOf(O)+O.length),En+=O.length),_t[le]?(O?V(d).empty=!1:V(d).unusedTokens.push(le),ei(le,O,d)):d._strict&&!O&&V(d).unusedTokens.push(le);V(d).charsLeftOver=Ut-En,m.length>0&&V(d).unusedInput.push(m),d._a[lr]<=12&&!0===V(d).bigHour&&d._a[lr]>0&&(V(d).bigHour=void 0),V(d).parsedDateParts=d._a.slice(0),V(d).meridiem=d._meridiem,d._a[lr]=function Fo(d,m,T){var O;return null==T?m:null!=d.meridiemHour?d.meridiemHour(m,T):(null!=d.isPM&&((O=d.isPM(T))&&m<12&&(m+=12),!O&&12===m&&(m=0)),m)}(d._locale,d._a[lr],d._meridiem),null!==(gi=V(d).era)&&(d._a[Gi]=d._locale.erasConvertYear(gi,d._a[Gi])),Ro(d),ie(d)}else Gn(d);else so(d)}function Pa(d){var m=d._i,T=d._f;return d._locale=d._locale||j(d._l),null===m||void 0===T&&""===m?X({nullInput:!0}):("string"==typeof m&&(d._i=m=d._locale.preparse(m)),qe(m)?new ze(ie(m)):(I(m)?d._d=m:K(T)?function As(d){var m,T,O,W,le,ke,Ut=!1,En=d._f.length;if(0===En)return V(d).invalidFormat=!0,void(d._d=new Date(NaN));for(W=0;W<En;W++)le=0,ke=!1,m=we({},d),null!=d._useUTC&&(m._useUTC=d._useUTC),m._f=d._f[W],Ca(m),Q(m)&&(ke=!0),le+=V(m).charsLeftOver,le+=10*V(m).unusedTokens.length,V(m).score=le,Ut?le<O&&(O=le,T=m):(null==O||le<O||ke)&&(O=le,T=m,ke&&(Ut=!0));E(d,T||m)}(d):T?Ca(d):function wa(d){var m=d._i;v(m)?d._d=new Date(w.now()):I(m)?d._d=new Date(m.valueOf()):"string"==typeof m?function U(d){var m=Ot.exec(d._i);null===m?(so(d),!1===d._isValid&&(delete d._isValid,Gn(d),!1===d._isValid&&(delete d._isValid,d._strict?d._isValid=!1:w.createFromInputFallback(d)))):d._d=new Date(+m[1])}(d):K(m)?(d._a=M(m.slice(0),function(T){return parseInt(T,10)}),Ro(d)):$(m)?function cr(d){if(!d._d){var m=Lr(d._i);d._a=M([m.year,m.month,void 0===m.day?m.date:m.day,m.hour,m.minute,m.second,m.millisecond],function(O){return O&&parseInt(O,10)}),Ro(d)}}(d):D(m)?d._d=new Date(m):w.createFromInputFallback(d)}(d),Q(d)||(d._d=null),d))}function yc(d,m,T,O,W){var le={};return(!0===m||!1===m)&&(O=m,m=void 0),(!0===T||!1===T)&&(O=T,T=void 0),($(d)&&p(d)||K(d)&&0===d.length)&&(d=void 0),le._isAMomentObject=!0,le._useUTC=le._isUTC=W,le._l=T,le._i=d,le._f=m,le._strict=O,function Ls(d){var m=new ze(ie(Pa(d)));return m._nextDay&&(m.add(1,"d"),m._nextDay=void 0),m}(le)}function zi(d,m,T,O){return yc(d,m,T,O,!1)}w.createFromInputFallback=Fe("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(d){d._d=new Date(d._i+(d._useUTC?" UTC":""))}),w.ISO_8601=function(){},w.RFC_2822=function(){};var p0=Fe("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var d=zi.apply(null,arguments);return this.isValid()&&d.isValid()?d<this?this:d:X()}),ti=Fe("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var d=zi.apply(null,arguments);return this.isValid()&&d.isValid()?d>this?this:d:X()});function rl(d,m){var T,O;if(1===m.length&&K(m[0])&&(m=m[0]),!m.length)return zi();for(T=m[0],O=1;O<m.length;++O)(!m[O].isValid()||m[O][d](T))&&(T=m[O]);return T}var ai=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ho(d){var m=Lr(d),T=m.year||0,O=m.quarter||0,W=m.month||0,le=m.week||m.isoWeek||0,ke=m.day||0,Ut=m.hour||0,En=m.minute||0,gi=m.second||0,ra=m.millisecond||0;this._isValid=function ps(d){var m,O,T=!1,W=ai.length;for(m in d)if(_(d,m)&&(-1===Xt.call(ai,m)||null!=d[m]&&isNaN(d[m])))return!1;for(O=0;O<W;++O)if(d[ai[O]]){if(T)return!1;parseFloat(d[ai[O]])!==Qt(d[ai[O]])&&(T=!0)}return!0}(m),this._milliseconds=+ra+1e3*gi+6e4*En+1e3*Ut*60*60,this._days=+ke+7*le,this._months=+W+3*O+12*T,this._data={},this._locale=j(),this._bubble()}function Vo(d){return d instanceof Ho}function gs(d){return d<0?-1*Math.round(-1*d):Math.round(d)}function ou(d,m){De(d,0,0,function(){var T=this.utcOffset(),O="+";return T<0&&(T=-T,O="-"),O+Ci(~~(T/60),2)+m+Ci(~~T%60,2)})}ou("Z",":"),ou("ZZ",""),Be("Z",xo),Be("ZZ",xo),it(["Z","ZZ"],function(d,m,T){T._useUTC=!0,T._tzm=ta(xo,d)});var lo=/([\+\-]|\d\d)/gi;function ta(d,m){var W,le,T=(m||"").match(d);return null===T?null:0===(le=60*(W=((T[T.length-1]||[])+"").match(lo)||["-",0,0])[1]+Qt(W[2]))?0:"+"===W[0]?le:-le}function Na(d,m){var T,O;return m._isUTC?(T=m.clone(),O=(qe(d)||I(d)?d.valueOf():zi(d).valueOf())-T.valueOf(),T._d.setTime(T._d.valueOf()+O),w.updateOffset(T,!1),T):zi(d).local()}function vs(d){return-Math.round(d._d.getTimezoneOffset())}function ft(){return!!this.isValid()&&this._isUTC&&0===this._offset}w.updateOffset=function(){};var wt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,pt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function tn(d,m){var W,le,ke,T=d,O=null;return Vo(d)?T={ms:d._milliseconds,d:d._days,M:d._months}:D(d)||!isNaN(+d)?(T={},m?T[m]=+d:T.milliseconds=+d):(O=wt.exec(d))?(W="-"===O[1]?-1:1,T={y:0,d:Qt(O[Oo])*W,h:Qt(O[lr])*W,m:Qt(O[ge])*W,s:Qt(O[Po])*W,ms:Qt(gs(1e3*O[wi]))*W}):(O=pt.exec(d))?T={y:Nt(O[2],W="-"===O[1]?-1:1),M:Nt(O[3],W),w:Nt(O[4],W),d:Nt(O[5],W),h:Nt(O[6],W),m:Nt(O[7],W),s:Nt(O[8],W)}:null==T?T={}:"object"==typeof T&&("from"in T||"to"in T)&&(ke=function Nn(d,m){var T;return d.isValid()&&m.isValid()?(m=Na(m,d),d.isBefore(m)?T=sn(d,m):((T=sn(m,d)).milliseconds=-T.milliseconds,T.months=-T.months),T):{milliseconds:0,months:0}}(zi(T.from),zi(T.to)),(T={}).ms=ke.milliseconds,T.M=ke.months),le=new Ho(T),Vo(d)&&_(d,"_locale")&&(le._locale=d._locale),Vo(d)&&_(d,"_isValid")&&(le._isValid=d._isValid),le}function Nt(d,m){var T=d&&parseFloat(d.replace(",","."));return(isNaN(T)?0:T)*m}function sn(d,m){var T={};return T.months=m.month()-d.month()+12*(m.year()-d.year()),d.clone().add(T.months,"M").isAfter(m)&&--T.months,T.milliseconds=+m-+d.clone().add(T.months,"M"),T}function Ft(d,m){return function(T,O){var le;return null!==O&&!isNaN(+O)&&(Ct(m,"moment()."+m+"(period, number) is deprecated. Please use moment()."+m+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),le=T,T=O,O=le),pn(this,tn(T,O),d),this}}function pn(d,m,T,O){var W=m._milliseconds,le=gs(m._days),ke=gs(m._months);d.isValid()&&(O=O??!0,ke&&ju(d,Lo(d,"Month")+ke*T),le&&Oa(d,"Date",Lo(d,"Date")+le*T),W&&d._d.setTime(d._d.valueOf()+W*T),O&&w.updateOffset(d,le||ke))}tn.fn=Ho.prototype,tn.invalid=function bc(){return tn(NaN)};var Nr=Ft(1,"add"),Kr=Ft(-1,"subtract");function na(d){return"string"==typeof d||d instanceof String}function Qa(d){return qe(d)||I(d)||na(d)||D(d)||function Hr(d){var m=K(d),T=!1;return m&&(T=0===d.filter(function(O){return!D(O)&&na(d)}).length),m&&T}(d)||function ol(d){var W,m=$(d)&&!p(d),T=!1,O=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],ke=O.length;for(W=0;W<ke;W+=1)T=T||_(d,O[W]);return m&&T}(d)||null==d}function ur(d,m){if(d.date()<m.date())return-ur(m,d);var T=12*(m.year()-d.year())+(m.month()-d.month()),O=d.clone().add(T,"months");return-(T+(m-O<0?(m-O)/(O-d.clone().add(T-1,"months")):(m-O)/(d.clone().add(T+1,"months")-O)))||0}function Ll(d){var m;return void 0===d?this._locale._abbr:(null!=(m=j(d))&&(this._locale=m),this)}w.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",w.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var e1=Fe("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(d){return void 0===d?this.localeData():this.locale(d)});function Sc(){return this._locale}var Fa=6e4,al=60*Fa,Ps=3506328*al;function Ns(d,m){return(d%m+m)%m}function Zd(d,m,T){return d<100&&d>=0?new Date(d+400,m,T)-Ps:new Date(d,m,T).valueOf()}function sl(d,m,T){return d<100&&d>=0?Date.UTC(d+400,m,T)-Ps:Date.UTC(d,m,T)}function v0(d,m){return m.erasAbbrRegex(d)}function F4(){var W,le,d=[],m=[],T=[],O=[],ke=this.eras();for(W=0,le=ke.length;W<le;++W)m.push(xr(ke[W].name)),d.push(xr(ke[W].abbr)),T.push(xr(ke[W].narrow)),O.push(xr(ke[W].name)),O.push(xr(ke[W].abbr)),O.push(xr(ke[W].narrow));this._erasRegex=new RegExp("^("+O.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+m.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+d.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+T.join("|")+")","i")}function t2(d,m){De(0,[d,d.length],0,m)}function Im(d,m,T,O,W){var le;return null==d?Zc(this,O,W).year:(m>(le=Gr(d,O,W))&&(m=le),Wy.call(this,d,m,T,O,W))}function Wy(d,m,T,O,W){var le=Rt(d,m,T,O,W),ke=Js(le.year,0,le.dayOfYear);return this.year(ke.getUTCFullYear()),this.month(ke.getUTCMonth()),this.date(ke.getUTCDate()),this}De("N",0,0,"eraAbbr"),De("NN",0,0,"eraAbbr"),De("NNN",0,0,"eraAbbr"),De("NNNN",0,0,"eraName"),De("NNNNN",0,0,"eraNarrow"),De("y",["y",1],"yo","eraYear"),De("y",["yy",2],0,"eraYear"),De("y",["yyy",3],0,"eraYear"),De("y",["yyyy",4],0,"eraYear"),Be("N",v0),Be("NN",v0),Be("NNN",v0),Be("NNNN",function Uy(d,m){return m.erasNameRegex(d)}),Be("NNNNN",function km(d,m){return m.erasNarrowRegex(d)}),it(["N","NN","NNN","NNNN","NNNNN"],function(d,m,T,O){var W=T._locale.erasParse(d,O,T._strict);W?V(T).era=W:V(T).invalidEra=d}),Be("y",Tr),Be("yy",Tr),Be("yyy",Tr),Be("yyyy",Tr),Be("yo",function _0(d,m){return m._eraYearOrdinalRegex||Tr}),it(["y","yy","yyy","yyyy"],Gi),it(["yo"],function(d,m,T,O){var W;T._locale._eraYearOrdinalRegex&&(W=d.match(T._locale._eraYearOrdinalRegex)),m[Gi]=T._locale.eraYearOrdinalParse?T._locale.eraYearOrdinalParse(d,W):parseInt(d,10)}),De(0,["gg",2],0,function(){return this.weekYear()%100}),De(0,["GG",2],0,function(){return this.isoWeekYear()%100}),t2("gggg","weekYear"),t2("ggggg","weekYear"),t2("GGGG","isoWeekYear"),t2("GGGGG","isoWeekYear"),Pt("weekYear","gg"),Pt("isoWeekYear","GG"),Vt("weekYear",1),Vt("isoWeekYear",1),Be("G",Ii),Be("g",Ii),Be("GG",At,Ni),Be("gg",At,Ni),Be("GGGG",Or,ye),Be("gggg",Or,ye),Be("GGGGG",_o,Se),Be("ggggg",_o,Se),ds(["gggg","ggggg","GGGG","GGGGG"],function(d,m,T,O){m[O.substr(0,2)]=Qt(d)}),ds(["gg","GG"],function(d,m,T,O){m[O]=w.parseTwoDigitYear(d)}),De("Q",0,"Qo","quarter"),Pt("quarter","Q"),Vt("quarter",7),Be("Q",ya),it("Q",function(d,m){m[Zo]=3*(Qt(d)-1)}),De("D",["DD",2],"Do","date"),Pt("date","D"),Vt("date",9),Be("D",At),Be("DD",At,Ni),Be("Do",function(d,m){return d?m._dayOfMonthOrdinalParse||m._ordinalParse:m._dayOfMonthOrdinalParseLenient}),it(["D","DD"],Oo),it("Do",function(d,m){m[Oo]=Qt(d.match(At)[0])});var n2=Do("Date",!0);De("DDD",["DDDD",3],"DDDo","dayOfYear"),Pt("dayOfYear","DDD"),Vt("dayOfYear",4),Be("DDD",en),Be("DDDD",$r),it(["DDD","DDDD"],function(d,m,T){T._dayOfYear=Qt(d)}),De("m",["mm",2],0,"minute"),Pt("minute","m"),Vt("minute",14),Be("m",At),Be("mm",At,Ni),it(["m","mm"],ge);var Ky=Do("Minutes",!1);De("s",["ss",2],0,"second"),Pt("second","s"),Vt("second",15),Be("s",At),Be("ss",At,Ni),it(["s","ss"],Po);var Tc,i2,Qy=Do("Seconds",!1);for(De("S",0,0,function(){return~~(this.millisecond()/100)}),De(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),De(0,["SSS",3],0,"millisecond"),De(0,["SSSS",4],0,function(){return 10*this.millisecond()}),De(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),De(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),De(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),De(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),De(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Pt("millisecond","ms"),Vt("millisecond",16),Be("S",en,ya),Be("SS",en,Ni),Be("SSS",en,$r),Tc="SSSS";Tc.length<=9;Tc+="S")Be(Tc,Tr);function V4(d,m){m[wi]=Qt(1e3*("0."+d))}for(Tc="S";Tc.length<=9;Tc+="S")it(Tc,V4);i2=Do("Milliseconds",!1),De("z",0,0,"zoneAbbr"),De("zz",0,0,"zoneName");var Ze=ze.prototype;function Dc(d){return d}Ze.add=Nr,Ze.calendar=function Dm(d,m){1===arguments.length&&(arguments[0]?Qa(arguments[0])?(d=arguments[0],m=void 0):function au(d){var W,m=$(d)&&!p(d),T=!1,O=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(W=0;W<O.length;W+=1)T=T||_(d,O[W]);return m&&T}(arguments[0])&&(m=arguments[0],d=void 0):(d=void 0,m=void 0));var T=d||zi(),O=Na(T,this).startOf("day"),W=w.calendarFormat(this,O)||"sameElse",le=m&&(Yt(m[W])?m[W].call(this,T):m[W]);return this.format(le||this.localeData().calendar(W,this,zi(T)))},Ze.clone=function xm(){return new ze(this)},Ze.diff=function nn(d,m,T){var O,W,le;if(!this.isValid())return NaN;if(!(O=Na(d,this)).isValid())return NaN;switch(W=6e4*(O.utcOffset()-this.utcOffset()),m=Ei(m)){case"year":le=ur(this,O)/12;break;case"month":le=ur(this,O);break;case"quarter":le=ur(this,O)/3;break;case"second":le=(this-O)/1e3;break;case"minute":le=(this-O)/6e4;break;case"hour":le=(this-O)/36e5;break;case"day":le=(this-O-W)/864e5;break;case"week":le=(this-O-W)/6048e5;break;default:le=this-O}return T?le:$n(le)},Ze.endOf=function Mc(d){var m,T;if(void 0===(d=Ei(d))||"millisecond"===d||!this.isValid())return this;switch(T=this._isUTC?sl:Zd,d){case"year":m=T(this.year()+1,0,1)-1;break;case"quarter":m=T(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":m=T(this.year(),this.month()+1,1)-1;break;case"week":m=T(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":m=T(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":m=T(this.year(),this.month(),this.date()+1)-1;break;case"hour":m=this._d.valueOf(),m+=al-Ns(m+(this._isUTC?0:this.utcOffset()*Fa),al)-1;break;case"minute":m=this._d.valueOf(),m+=Fa-Ns(m,Fa)-1;break;case"second":m=this._d.valueOf(),m+=1e3-Ns(m,1e3)-1}return this._d.setTime(m),w.updateOffset(this,!0),this},Ze.format=function Ju(d){d||(d=this.isUtc()?w.defaultFormatUtc:w.defaultFormat);var m=Et(this,d);return this.localeData().postformat(m)},Ze.from=function fi(d,m){return this.isValid()&&(qe(d)&&d.isValid()||zi(d).isValid())?tn({to:this,from:d}).locale(this.locale()).humanize(!m):this.localeData().invalidDate()},Ze.fromNow=function Zn(d){return this.from(zi(),d)},Ze.to=function Xa(d,m){return this.isValid()&&(qe(d)&&d.isValid()||zi(d).isValid())?tn({from:this,to:d}).locale(this.locale()).humanize(!m):this.localeData().invalidDate()},Ze.toNow=function Tn(d){return this.to(zi(),d)},Ze.get=function sc(d){return Yt(this[d=Ei(d)])?this[d]():this},Ze.invalidAt=function lu(){return V(this).overflow},Ze.isAfter=function Qd(d,m){var T=qe(d)?d:zi(d);return!(!this.isValid()||!T.isValid())&&("millisecond"===(m=Ei(m)||"millisecond")?this.valueOf()>T.valueOf():T.valueOf()<this.clone().startOf(m).valueOf())},Ze.isBefore=function Ra(d,m){var T=qe(d)?d:zi(d);return!(!this.isValid()||!T.isValid())&&("millisecond"===(m=Ei(m)||"millisecond")?this.valueOf()<T.valueOf():this.clone().endOf(m).valueOf()<T.valueOf())},Ze.isBetween=function Xd(d,m,T,O){var W=qe(d)?d:zi(d),le=qe(m)?m:zi(m);return!!(this.isValid()&&W.isValid()&&le.isValid())&&("("===(O=O||"()")[0]?this.isAfter(W,T):!this.isBefore(W,T))&&(")"===O[1]?this.isBefore(le,T):!this.isAfter(le,T))},Ze.isSame=function Fy(d,m){var O,T=qe(d)?d:zi(d);return!(!this.isValid()||!T.isValid())&&("millisecond"===(m=Ei(m)||"millisecond")?this.valueOf()===T.valueOf():(O=T.valueOf(),this.clone().startOf(m).valueOf()<=O&&O<=this.clone().endOf(m).valueOf()))},Ze.isSameOrAfter=function Qr(d,m){return this.isSame(d,m)||this.isAfter(d,m)},Ze.isSameOrBefore=function We(d,m){return this.isSame(d,m)||this.isBefore(d,m)},Ze.isValid=function ll(){return Q(this)},Ze.lang=e1,Ze.locale=Ll,Ze.localeData=Sc,Ze.max=ti,Ze.min=p0,Ze.parsingFlags=function g0(){return E({},V(this))},Ze.set=function Qs(d,m){if("object"==typeof d){var O,T=function vo(d){var T,m=[];for(T in d)_(d,T)&&m.push({unit:T,priority:Wi[T]});return m.sort(function(O,W){return O.priority-W.priority}),m}(d=Lr(d)),W=T.length;for(O=0;O<W;O++)this[T[O].unit](d[T[O].unit])}else if(Yt(this[d=Ei(d)]))return this[d](m);return this},Ze.startOf=function Jd(d){var m,T;if(void 0===(d=Ei(d))||"millisecond"===d||!this.isValid())return this;switch(T=this._isUTC?sl:Zd,d){case"year":m=T(this.year(),0,1);break;case"quarter":m=T(this.year(),this.month()-this.month()%3,1);break;case"month":m=T(this.year(),this.month(),1);break;case"week":m=T(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":m=T(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":m=T(this.year(),this.month(),this.date());break;case"hour":m=this._d.valueOf(),m-=Ns(m+(this._isUTC?0:this.utcOffset()*Fa),al);break;case"minute":m=this._d.valueOf(),m-=Ns(m,Fa);break;case"second":m=this._d.valueOf(),m-=Ns(m,1e3)}return this._d.setTime(m),w.updateOffset(this,!0),this},Ze.subtract=Kr,Ze.toArray=function Zt(){var d=this;return[d.year(),d.month(),d.date(),d.hour(),d.minute(),d.second(),d.millisecond()]},Ze.toObject=function e2(){var d=this;return{years:d.year(),months:d.month(),date:d.date(),hours:d.hours(),minutes:d.minutes(),seconds:d.seconds(),milliseconds:d.milliseconds()}},Ze.toDate=function Ol(){return new Date(this.valueOf())},Ze.toISOString=function yo(d){if(!this.isValid())return null;var m=!0!==d,T=m?this.clone().utc():this;return T.year()<0||T.year()>9999?Et(T,m?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Yt(Date.prototype.toISOString)?m?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Et(T,"Z")):Et(T,m?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ze.inspect=function wc(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var T,O,d="moment",m="";return this.isLocal()||(d=0===this.utcOffset()?"moment.utc":"moment.parseZone",m="Z"),T="["+d+'("]',O=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(T+O+"-MM-DD[T]HH:mm:ss.SSS"+m+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Ze[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ze.toJSON=function Pl(){return this.isValid()?this.toISOString():null},Ze.toString=function Uo(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ze.unix=function su(){return Math.floor(this.valueOf()/1e3)},Ze.valueOf=function Ha(){return this._d.valueOf()-6e4*(this._offset||0)},Ze.creationData=function Fi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ze.eraName=function cl(){var d,m,T,O=this.localeData().eras();for(d=0,m=O.length;d<m;++d)if(T=this.clone().startOf("day").valueOf(),O[d].since<=T&&T<=O[d].until||O[d].until<=T&&T<=O[d].since)return O[d].name;return""},Ze.eraNarrow=function cu(){var d,m,T,O=this.localeData().eras();for(d=0,m=O.length;d<m;++d)if(T=this.clone().startOf("day").valueOf(),O[d].since<=T&&T<=O[d].until||O[d].until<=T&&T<=O[d].since)return O[d].narrow;return""},Ze.eraAbbr=function Va(){var d,m,T,O=this.localeData().eras();for(d=0,m=O.length;d<m;++d)if(T=this.clone().startOf("day").valueOf(),O[d].since<=T&&T<=O[d].until||O[d].until<=T&&T<=O[d].since)return O[d].abbr;return""},Ze.eraYear=function Nl(){var d,m,T,O,W=this.localeData().eras();for(d=0,m=W.length;d<m;++d)if(T=W[d].since<=W[d].until?1:-1,O=this.clone().startOf("day").valueOf(),W[d].since<=O&&O<=W[d].until||W[d].until<=O&&O<=W[d].since)return(this.year()-w(W[d].since).year())*T+W[d].offset;return this.year()},Ze.year=c0,Ze.isLeapYear=function u0(){return Tt(this.year())},Ze.weekYear=function By(d){return Im.call(this,d,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Ze.isoWeekYear=function qy(d){return Im.call(this,d,this.isoWeek(),this.isoWeekday(),1,4)},Ze.quarter=Ze.quarters=function Gy(d){return null==d?Math.ceil((this.month()+1)/3):this.month(3*(d-1)+this.month()%3)},Ze.month=$u,Ze.daysInMonth=function hs(){return zs(this.year(),this.month())},Ze.week=Ze.weeks=function Il(d){var m=this.localeData().week(this);return null==d?m:this.add(7*(d-m),"d")},Ze.isoWeek=Ze.isoWeeks=function kn(d){var m=Zc(this,1,4).week;return null==d?m:this.add(7*(d-m),"d")},Ze.weeksInYear=function Em(){var d=this.localeData()._week;return Gr(this.year(),d.dow,d.doy)},Ze.weeksInWeekYear=function $y(){var d=this.localeData()._week;return Gr(this.weekYear(),d.dow,d.doy)},Ze.isoWeeksInYear=function Yy(){return Gr(this.year(),1,4)},Ze.isoWeeksInISOWeekYear=function jy(){return Gr(this.isoWeekYear(),1,4)},Ze.date=n2,Ze.day=Ze.days=function $d(d){if(!this.isValid())return null!=d?this:NaN;var m=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=d?(d=function zl(d,m){return"string"!=typeof d?d:isNaN(d)?"number"==typeof(d=m.weekdaysParse(d))?d:null:parseInt(d,10)}(d,this.localeData()),this.add(d-m,"d")):m},Ze.weekday=function mc(d){if(!this.isValid())return null!=d?this:NaN;var m=(this.day()+7-this.localeData()._week.dow)%7;return null==d?m:this.add(d-m,"d")},Ze.isoWeekday=function O4(d){if(!this.isValid())return null!=d?this:NaN;if(null!=d){var m=function qd(d,m){return"string"==typeof d?m.weekdaysParse(d)%7||7:isNaN(d)?null:d}(d,this.localeData());return this.day(this.day()%7?m:m-7)}return this.day()||7},Ze.dayOfYear=function H4(d){var m=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==d?m:this.add(d-m,"d")},Ze.hour=Ze.hours=nl,Ze.minute=Ze.minutes=Ky,Ze.second=Ze.seconds=Qy,Ze.millisecond=Ze.milliseconds=i2,Ze.utcOffset=function Xu(d,m,T){var W,O=this._offset||0;if(!this.isValid())return null!=d?this:NaN;if(null!=d){if("string"==typeof d){if(null===(d=ta(xo,d)))return this}else Math.abs(d)<16&&!T&&(d*=60);return!this._isUTC&&m&&(W=vs(this)),this._offset=d,this._isUTC=!0,null!=W&&this.add(W,"m"),O!==d&&(!m||this._changeInProgress?pn(this,tn(d-O,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,w.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?O:vs(this)},Ze.utc=function Cc(d){return this.utcOffset(0,d)},Ze.local=function Zu(d){return this._isUTC&&(this.utcOffset(0,d),this._isUTC=!1,d&&this.subtract(vs(this),"m")),this},Ze.parseZone=function Z(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var d=ta(Wr,this._i);null!=d?this.utcOffset(d):this.utcOffset(0,!0)}return this},Ze.hasAlignedHourOffset=function he(d){return!!this.isValid()&&(d=d?zi(d).utcOffset():0,(this.utcOffset()-d)%60==0)},Ze.isDST=function _e(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ze.isLocal=function Ee(){return!!this.isValid()&&!this._isUTC},Ze.isUtcOffset=function nt(){return!!this.isValid()&&this._isUTC},Ze.isUtc=ft,Ze.isUTC=ft,Ze.zoneAbbr=function bo(){return this._isUTC?"UTC":""},Ze.zoneName=function zm(){return this._isUTC?"Coordinated Universal Time":""},Ze.dates=Fe("dates accessor is deprecated. Use date instead.",n2),Ze.months=Fe("months accessor is deprecated. Use month instead",$u),Ze.years=Fe("years accessor is deprecated. Use year instead",c0),Ze.zone=Fe("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Kd(d,m){return null!=d?("string"!=typeof d&&(d=-d),this.utcOffset(d,m),this):-this.utcOffset()}),Ze.isDSTShifted=Fe("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Me(){if(!v(this._isDSTShifted))return this._isDSTShifted;var m,d={};return we(d,this),(d=Pa(d))._a?(m=d._isUTC?A(d._a):zi(d._a),this._isDSTShifted=this.isValid()&&function Xn(d,m,T){var ke,O=Math.min(d.length,m.length),W=Math.abs(d.length-m.length),le=0;for(ke=0;ke<O;ke++)(T&&d[ke]!==m[ke]||!T&&Qt(d[ke])!==Qt(m[ke]))&&le++;return le+W}(d._a,m.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var Yn=Gt.prototype;function uu(d,m,T,O){var W=j(),le=A().set(O,m);return W[T](le,d)}function Bo(d,m,T){if(D(d)&&(m=d,d=void 0),d=d||"",null!=m)return uu(d,m,T,"month");var O,W=[];for(O=0;O<12;O++)W[O]=uu(d,O,T,"month");return W}function r2(d,m,T,O){"boolean"==typeof d?(D(m)&&(T=m,m=void 0),m=m||""):(T=m=d,d=!1,D(m)&&(T=m,m=void 0),m=m||"");var ke,W=j(),le=d?W._week.dow:0,Ut=[];if(null!=T)return uu(m,(T+le)%7,O,"day");for(ke=0;ke<7;ke++)Ut[ke]=uu(m,(ke+le)%7,O,"day");return Ut}Yn.calendar=function Pi(d,m,T){var O=this._calendar[d]||this._calendar.sameElse;return Yt(O)?O.call(m,T):O},Yn.longDateFormat=function Vn(d){var m=this._longDateFormat[d],T=this._longDateFormat[d.toUpperCase()];return m||!T?m:(this._longDateFormat[d]=T.match(Un).map(function(O){return"MMMM"===O||"MM"===O||"DD"===O||"dddd"===O?O.slice(1):O}).join(""),this._longDateFormat[d])},Yn.invalidDate=function cn(){return this._invalidDate},Yn.ordinal=function ki(d){return this._ordinal.replace("%d",d)},Yn.preparse=Dc,Yn.postformat=Dc,Yn.relativeTime=function _r(d,m,T,O){var W=this._relativeTime[T];return Yt(W)?W(d,m,T,O):W.replace(/%d/i,d)},Yn.pastFuture=function $i(d,m){var T=this._relativeTime[d>0?"future":"past"];return Yt(T)?T(m):T.replace(/%s/i,m)},Yn.set=function Sn(d){var m,T;for(T in d)_(d,T)&&(Yt(m=d[T])?this[T]=m:this["_"+T]=m);this._config=d,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Yn.eras=function kr(d,m){var T,O,W,le=this._eras||j("en")._eras;for(T=0,O=le.length;T<O;++T)switch("string"==typeof le[T].since&&(W=w(le[T].since).startOf("day"),le[T].since=W.valueOf()),typeof le[T].until){case"undefined":le[T].until=1/0;break;case"string":W=w(le[T].until).startOf("day").valueOf(),le[T].until=W.valueOf()}return le},Yn.erasParse=function ia(d,m,T){var O,W,ke,Ut,En,le=this.eras();for(d=d.toUpperCase(),O=0,W=le.length;O<W;++O)if(ke=le[O].name.toUpperCase(),Ut=le[O].abbr.toUpperCase(),En=le[O].narrow.toUpperCase(),T)switch(m){case"N":case"NN":case"NNN":if(Ut===d)return le[O];break;case"NNNN":if(ke===d)return le[O];break;case"NNNNN":if(En===d)return le[O]}else if([ke,Ut,En].indexOf(d)>=0)return le[O]},Yn.erasConvertYear=function R4(d,m){var T=d.since<=d.until?1:-1;return void 0===m?w(d.since).year():w(d.since).year()+(m-d.offset)*T},Yn.erasAbbrRegex=function Vy(d){return _(this,"_erasAbbrRegex")||F4.call(this),d?this._erasAbbrRegex:this._erasRegex},Yn.erasNameRegex=function Hy(d){return _(this,"_erasNameRegex")||F4.call(this),d?this._erasNameRegex:this._erasRegex},Yn.erasNarrowRegex=function ul(d){return _(this,"_erasNarrowRegex")||F4.call(this),d?this._erasNarrowRegex:this._erasRegex},Yn.months=function mn(d,m){return d?K(this._months)?this._months[d.month()]:this._months[(this._months.isFormat||s0).test(m)?"format":"standalone"][d.month()]:K(this._months)?this._months:this._months.standalone},Yn.monthsShort=function Qc(d,m){return d?K(this._monthsShort)?this._monthsShort[d.month()]:this._monthsShort[s0.test(m)?"format":"standalone"][d.month()]:K(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Yn.monthsParse=function Bd(d,m,T){var O,W,le;if(this._monthsParseExact)return Jo.call(this,d,m,T);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),O=0;O<12;O++){if(W=A([2e3,O]),T&&!this._longMonthsParse[O]&&(this._longMonthsParse[O]=new RegExp("^"+this.months(W,"").replace(".","")+"$","i"),this._shortMonthsParse[O]=new RegExp("^"+this.monthsShort(W,"").replace(".","")+"$","i")),!T&&!this._monthsParse[O]&&(le="^"+this.months(W,"")+"|^"+this.monthsShort(W,""),this._monthsParse[O]=new RegExp(le.replace(".",""),"i")),T&&"MMMM"===m&&this._longMonthsParse[O].test(d))return O;if(T&&"MMM"===m&&this._shortMonthsParse[O].test(d))return O;if(!T&&this._monthsParse[O].test(d))return O}},Yn.monthsRegex=function uc(d){return this._monthsParseExact?(_(this,"_monthsRegex")||Xc.call(this),d?this._monthsStrictRegex:this._monthsRegex):(_(this,"_monthsRegex")||(this._monthsRegex=Bn),this._monthsStrictRegex&&d?this._monthsStrictRegex:this._monthsRegex)},Yn.monthsShortRegex=function ea(d){return this._monthsParseExact?(_(this,"_monthsRegex")||Xc.call(this),d?this._monthsShortStrictRegex:this._monthsShortRegex):(_(this,"_monthsShortRegex")||(this._monthsShortRegex=l0),this._monthsShortStrictRegex&&d?this._monthsShortStrictRegex:this._monthsShortRegex)},Yn.week=function h0(d){return Zc(d,this._week.dow,this._week.doy).week},Yn.firstDayOfYear=function $e(){return this._week.doy},Yn.firstDayOfWeek=function L4(){return this._week.dow},Yn.weekdays=function fc(d,m){var T=K(this._weekdays)?this._weekdays:this._weekdays[d&&!0!==d&&this._weekdays.isFormat.test(m)?"format":"standalone"];return!0===d?el(T,this._week.dow):d?T[d.day()]:T},Yn.weekdaysMin=function fs(d){return!0===d?el(this._weekdaysMin,this._week.dow):d?this._weekdaysMin[d.day()]:this._weekdaysMin},Yn.weekdaysShort=function nu(d){return!0===d?el(this._weekdaysShort,this._week.dow):d?this._weekdaysShort[d.day()]:this._weekdaysShort},Yn.weekdaysParse=function jd(d,m,T){var O,W,le;if(this._weekdaysParseExact)return Yd.call(this,d,m,T);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),O=0;O<7;O++){if(W=A([2e3,1]).day(O),T&&!this._fullWeekdaysParse[O]&&(this._fullWeekdaysParse[O]=new RegExp("^"+this.weekdays(W,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[O]=new RegExp("^"+this.weekdaysShort(W,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[O]=new RegExp("^"+this.weekdaysMin(W,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[O]||(le="^"+this.weekdays(W,"")+"|^"+this.weekdaysShort(W,"")+"|^"+this.weekdaysMin(W,""),this._weekdaysParse[O]=new RegExp(le.replace(".",""),"i")),T&&"dddd"===m&&this._fullWeekdaysParse[O].test(d))return O;if(T&&"ddd"===m&&this._shortWeekdaysParse[O].test(d))return O;if(T&&"dd"===m&&this._minWeekdaysParse[O].test(d))return O;if(!T&&this._weekdaysParse[O].test(d))return O}},Yn.weekdaysRegex=function P4(d){return this._weekdaysParseExact?(_(this,"_weekdaysRegex")||pc.call(this),d?this._weekdaysStrictRegex:this._weekdaysRegex):(_(this,"_weekdaysRegex")||(this._weekdaysRegex=eu),this._weekdaysStrictRegex&&d?this._weekdaysStrictRegex:this._weekdaysRegex)},Yn.weekdaysShortRegex=function N4(d){return this._weekdaysParseExact?(_(this,"_weekdaysRegex")||pc.call(this),d?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(_(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ie),this._weekdaysShortStrictRegex&&d?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Yn.weekdaysMinRegex=function Wd(d){return this._weekdaysParseExact?(_(this,"_weekdaysRegex")||pc.call(this),d?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(_(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tu),this._weekdaysMinStrictRegex&&d?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Yn.isPM=function Ku(d){return"p"===(d+"").toLowerCase().charAt(0)},Yn.meridiem=function _c(d,m,T){return d>11?T?"pm":"PM":T?"am":"AM"},S("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(d){var m=d%10;return d+(1===Qt(d%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")}}),w.lang=Fe("moment.lang is deprecated. Use moment.locale instead.",S),w.langData=Fe("moment.langData is deprecated. Use moment.localeData instead.",j);var Rs=Math.abs;function y0(d,m,T,O){var W=tn(m,T);return d._milliseconds+=O*W._milliseconds,d._days+=O*W._days,d._months+=O*W._months,d._bubble()}function C0(d){return d<0?Math.floor(d):Math.ceil(d)}function s2(d){return 4800*d/146097}function w0(d){return 146097*d/4800}function Sa(d){return function(){return this.as(d)}}var l2=Sa("ms"),c2=Sa("s"),Pm=Sa("m"),Nm=Sa("h"),B4=Sa("d"),u2=Sa("w"),q4=Sa("M"),Y4=Sa("Q"),Rm=Sa("y");function Rl(d){return function(){return this.isValid()?this._data[d]:NaN}}var Le=Rl("milliseconds"),xn=Rl("seconds"),ce=Rl("minutes"),ue=Rl("hours"),bn=Rl("days"),j4=Rl("months"),n1=Rl("years");var Fs=Math.round,xc={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $4(d,m,T,O,W){return W.relativeTime(m||1,!!T,d,O)}var hu=Math.abs;function Zr(d){return(d>0)-(d<0)||+d}function Za(){if(!this.isValid())return this.localeData().invalidDate();var O,W,le,ke,En,gi,ra,Hs,d=hu(this._milliseconds)/1e3,m=hu(this._days),T=hu(this._months),Ut=this.asSeconds();return Ut?(O=$n(d/60),W=$n(O/60),d%=60,O%=60,le=$n(T/12),T%=12,ke=d?d.toFixed(3).replace(/\.?0+$/,""):"",En=Ut<0?"-":"",gi=Zr(this._months)!==Zr(Ut)?"-":"",ra=Zr(this._days)!==Zr(Ut)?"-":"",Hs=Zr(this._milliseconds)!==Zr(Ut)?"-":"",En+"P"+(le?gi+le+"Y":"")+(T?gi+T+"M":"")+(m?ra+m+"D":"")+(W||O||d?"T":"")+(W?Hs+W+"H":"")+(O?Hs+O+"M":"")+(d?Hs+ke+"S":"")):"P0D"}var Jn=Ho.prototype;
//! moment.js
return Jn.isValid=function Os(){return this._isValid},Jn.abs=function t1(){var d=this._data;return this._milliseconds=Rs(this._milliseconds),this._days=Rs(this._days),this._months=Rs(this._months),d.milliseconds=Rs(d.milliseconds),d.seconds=Rs(d.seconds),d.minutes=Rs(d.minutes),d.hours=Rs(d.hours),d.months=Rs(d.months),d.years=Rs(d.years),this},Jn.add=function du(d,m){return y0(this,d,m,1)},Jn.subtract=function b0(d,m){return y0(this,d,m,-1)},Jn.as=function Om(d){if(!this.isValid())return NaN;var m,T,O=this._milliseconds;if("month"===(d=Ei(d))||"quarter"===d||"year"===d)switch(m=this._days+O/864e5,T=this._months+s2(m),d){case"month":return T;case"quarter":return T/3;case"year":return T/12}else switch(m=this._days+Math.round(w0(this._months)),d){case"week":return m/7+O/6048e5;case"day":return m+O/864e5;case"hour":return 24*m+O/36e5;case"minute":return 1440*m+O/6e4;case"second":return 86400*m+O/1e3;case"millisecond":return Math.floor(864e5*m)+O;default:throw new Error("Unknown unit "+d)}},Jn.asMilliseconds=l2,Jn.asSeconds=c2,Jn.asMinutes=Pm,Jn.asHours=Nm,Jn.asDays=B4,Jn.asWeeks=u2,Jn.asMonths=q4,Jn.asQuarters=Y4,Jn.asYears=Rm,Jn.valueOf=function gn(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Qt(this._months/12):NaN},Jn._bubble=function dl(){var W,le,ke,Ut,En,d=this._milliseconds,m=this._days,T=this._months,O=this._data;return d>=0&&m>=0&&T>=0||d<=0&&m<=0&&T<=0||(d+=864e5*C0(w0(T)+m),m=0,T=0),O.milliseconds=d%1e3,W=$n(d/1e3),O.seconds=W%60,le=$n(W/60),O.minutes=le%60,ke=$n(le/60),O.hours=ke%24,m+=$n(ke/24),T+=En=$n(s2(m)),m-=C0(w0(En)),Ut=$n(T/12),T%=12,O.days=m,O.months=T,O.years=Ut,this},Jn.clone=function Xy(){return tn(this)},Jn.get=function Fm(d){return d=Ei(d),this.isValid()?this[d+"s"]():NaN},Jn.milliseconds=Le,Jn.seconds=xn,Jn.minutes=ce,Jn.hours=ue,Jn.days=bn,Jn.weeks=function hl(){return $n(this.days()/7)},Jn.months=j4,Jn.years=n1,Jn.humanize=function G4(d,m){if(!this.isValid())return this.localeData().invalidDate();var W,le,T=!1,O=xc;return"object"==typeof d&&(m=d,d=!1),"boolean"==typeof d&&(T=d),"object"==typeof m&&(O=Object.assign({},xc,m),null!=m.s&&null==m.ss&&(O.ss=m.s-1)),le=function Zy(d,m,T,O){var W=tn(d).abs(),le=Fs(W.as("s")),ke=Fs(W.as("m")),Ut=Fs(W.as("h")),En=Fs(W.as("d")),gi=Fs(W.as("M")),ra=Fs(W.as("w")),Hs=Fs(W.as("y")),Vs=le<=T.ss&&["s",le]||le<T.s&&["ss",le]||ke<=1&&["m"]||ke<T.m&&["mm",ke]||Ut<=1&&["h"]||Ut<T.h&&["hh",Ut]||En<=1&&["d"]||En<T.d&&["dd",En];return null!=T.w&&(Vs=Vs||ra<=1&&["w"]||ra<T.w&&["ww",ra]),(Vs=Vs||gi<=1&&["M"]||gi<T.M&&["MM",gi]||Hs<=1&&["y"]||["yy",Hs])[2]=m,Vs[3]=+d>0,Vs[4]=O,$4.apply(null,Vs)}(this,!T,O,W=this.localeData()),T&&(le=W.pastFuture(+this,le)),W.postformat(le)},Jn.toISOString=Za,Jn.toString=Za,Jn.toJSON=Za,Jn.locale=Ll,Jn.localeData=Sc,Jn.toIsoString=Fe("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Za),Jn.lang=e1,De("X",0,0,"unix"),De("x",0,0,"valueOf"),Be("x",Ii),Be("X",/[+-]?\d+(\.\d{1,3})?/),it("X",function(d,m,T){T._d=new Date(1e3*parseFloat(d))}),it("x",function(d,m,T){T._d=new Date(Qt(d))}),w.version="2.29.4",function q(d){P=d}(zi),w.fn=Ze,w.min=function Eo(){return rl("isBefore",[].slice.call(arguments,0))},w.max=function Al(){return rl("isAfter",[].slice.call(arguments,0))},w.now=function(){return Date.now?Date.now():+new Date},w.utc=A,w.unix=function Xr(d){return zi(1e3*d)},w.months=function o2(d,m){return Bo(d,m,"months")},w.isDate=I,w.locale=S,w.invalid=X,w.duration=tn,w.isMoment=qe,w.weekdays=function qo(d,m,T){return r2(d,m,T,"weekdays")},w.parseZone=function Am(){return zi.apply(null,arguments).parseZone()},w.localeData=j,w.isDuration=Vo,w.monthsShort=function Lm(d,m){return Bo(d,m,"monthsShort")},w.weekdaysMin=function a2(d,m,T){return r2(d,m,T,"weekdaysMin")},w.defineLocale=F,w.updateLocale=function H(d,m){if(null!=m){var T,O,W=il;null!=yt[d]&&null!=yt[d].parentLocale?yt[d].set(ht(yt[d]._config,m)):(null!=(O=b(d))&&(W=O._config),m=ht(W,m),null==O&&(m.abbr=d),(T=new Gt(m)).parentLocale=yt[d],yt[d]=T),S(d)}else null!=yt[d]&&(null!=yt[d].parentLocale?(yt[d]=yt[d].parentLocale,d===S()&&S(d)):null!=yt[d]&&delete yt[d]);return yt[d]},w.locales=function oe(){return Hn(yt)},w.weekdaysShort=function U4(d,m,T){return r2(d,m,T,"weekdaysShort")},w.normalizeUnits=Ei,w.relativeTimeRounding=function Jy(d){return void 0===d?Fs:"function"==typeof d&&(Fs=d,!0)},w.relativeTimeThreshold=function W4(d,m){return void 0!==xc[d]&&(void 0===m?xc[d]:(xc[d]=m,"s"===d&&(xc.ss=m-1),!0))},w.calendarFormat=function Tm(d,m){var T=d.diff(m,"days",!0);return T<-6?"sameElse":T<-1?"lastWeek":T<0?"lastDay":T<1?"sameDay":T<2?"nextDay":T<7?"nextWeek":"sameElse"},w.prototype=Ze,w.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"},w}()},3687(ne,se,R){var P="function"==typeof Map&&Map.prototype,w=Object.getOwnPropertyDescriptor&&P?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,q=P&&w&&"function"==typeof w.get?w.get:null,K=P&&Map.prototype.forEach,$="function"==typeof Set&&Set.prototype,_=Object.getOwnPropertyDescriptor&&$?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=$&&_&&"function"==typeof _.get?_.get:null,v=$&&Set.prototype.forEach,I="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,E="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,G="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,V=Boolean.prototype.valueOf,Y=Object.prototype.toString,Q=Function.prototype.toString,X=String.prototype.match,de=String.prototype.slice,fe=String.prototype.replace,we=String.prototype.toUpperCase,ze=String.prototype.toLowerCase,qe=RegExp.prototype.test,C=Array.prototype.concat,Fe=Array.prototype.join,Ve=Array.prototype.slice,Ct=Math.floor,Yt="function"==typeof BigInt?BigInt.prototype.valueOf:null,Sn=Object.getOwnPropertySymbols,ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Gt="function"==typeof Symbol&&"object"==typeof Symbol.iterator,Hn="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,ji=Object.prototype.propertyIsEnumerable,Pi=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(ye){return ye.__proto__}:null);function Ci(ye,Se){if(ye===1/0||ye===-1/0||ye!=ye||ye&&ye>-1e3&&ye<1e3||qe.call(/e/,Se))return Se;var At=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof ye){var di=ye<0?-Ct(-ye):Ct(ye);if(di!==ye){var hi=String(di),en=de.call(Se,hi.length+1);return fe.call(hi,At,"$&_")+"."+fe.call(fe.call(en,/([0-9]{3})/g,"$&_"),/_$/,"")}}return fe.call(Se,At,"$&_")}var Un=R(2634),sr=Un.custom,rt=ki(sr)?sr:null,_t={__proto__:null,double:'"',single:"'"},De={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function Ce(ye,Se,At){var hi=_t[At.quoteStyle||Se];return hi+ye+hi}function Ue(ye){return fe.call(String(ye),/"/g,"&quot;")}function Et(ye){return!Hn||!("object"==typeof ye&&(Hn in ye||typeof ye[Hn]<"u"))}function an(ye){return"[object Array]"===mi(ye)&&Et(ye)}function Vn(ye){return"[object RegExp]"===mi(ye)&&Et(ye)}function ki(ye){if(Gt)return ye&&"object"==typeof ye&&ye instanceof Symbol;if("symbol"==typeof ye)return!0;if(!ye||"object"!=typeof ye||!ht)return!1;try{return ht.call(ye),!0}catch{}return!1}ne.exports=function ye(Se,At,di,hi){var en=At||{};if($i(en,"quoteStyle")&&!$i(_t,en.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if($i(en,"maxStringLength")&&("number"==typeof en.maxStringLength?en.maxStringLength<0&&en.maxStringLength!==1/0:null!==en.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Or=!$i(en,"customInspect")||en.customInspect;if("boolean"!=typeof Or&&"symbol"!==Or)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if($i(en,"indent")&&null!==en.indent&&"\t"!==en.indent&&!(parseInt(en.indent,10)===en.indent&&en.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if($i(en,"numericSeparator")&&"boolean"!=typeof en.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var _o=en.numericSeparator;if(typeof Se>"u")return"undefined";if(null===Se)return"null";if("boolean"==typeof Se)return Se?"true":"false";if("string"==typeof Se)return Qt(Se,en);if("number"==typeof Se){if(0===Se)return 1/0/Se>0?"0":"-0";var Tr=String(Se);return _o?Ci(Se,Tr):Tr}if("bigint"==typeof Se){var Ii=String(Se)+"n";return _o?Ci(Se,Ii):Ii}var Wr=typeof en.depth>"u"?5:en.depth;if(typeof di>"u"&&(di=0),di>=Wr&&Wr>0&&"object"==typeof Se)return an(Se)?"[Array]":"[Object]";var xo=function ya(ye,Se){var At;if("\t"===ye.indent)At="\t";else{if(!("number"==typeof ye.indent&&ye.indent>0))return null;At=Fe.call(Array(ye.indent+1)," ")}return{base:At,prev:Fe.call(Array(Se+1),At)}}(en,di);if(typeof hi>"u")hi=[];else if(Ei(hi,Se)>=0)return"[Circular]";function Dr(wi,pi,lc){if(pi&&(hi=Ve.call(hi)).push(pi),lc){var Kc={depth:en.depth};return $i(en,"quoteStyle")&&(Kc.quoteStyle=en.quoteStyle),ye(wi,Kc,di+1,hi)}return ye(wi,en,di+1,hi)}if("function"==typeof Se&&!Vn(Se)){var cs=function Pt(ye){if(ye.name)return ye.name;var Se=X.call(Q.call(ye),/^function\s*([\w$]+)/);return Se?Se[1]:null}(Se),us=$r(Se,Dr);return"[Function"+(cs?": "+cs:" (anonymous)")+"]"+(us.length>0?" { "+Fe.call(us,", ")+" }":"")}if(ki(Se)){var Be=Gt?fe.call(String(Se),/^(Symbol\(.*\))_[^)]*$/,"$1"):ht.call(Se);return"object"!=typeof Se||Gt?Be:Lo(Be)}if(function $n(ye){return!(!ye||"object"!=typeof ye)&&(typeof HTMLElement<"u"&&ye instanceof HTMLElement||"string"==typeof ye.nodeName&&"function"==typeof ye.getAttribute)}(Se)){for(var Xo="<"+ze.call(String(Se.nodeName)),Xs=Se.attributes||[],xr=0;xr<Xs.length;xr++)Xo+=" "+Xs[xr].name+"="+Ce(Ue(Xs[xr].value),"double",en);return Xo+=">",Se.childNodes&&Se.childNodes.length&&(Xo+="..."),Xo+"</"+ze.call(String(Se.nodeName))+">"}if(an(Se)){if(0===Se.length)return"[]";var Zs=$r(Se,Dr);return xo&&!function Qs(ye){for(var Se=0;Se<ye.length;Se++)if(Ei(ye[Se],"\n")>=0)return!1;return!0}(Zs)?"["+Ni(Zs,xo)+"]":"[ "+Fe.call(Zs,", ")+" ]"}if(function Dt(ye){return"[object Error]"===mi(ye)&&Et(ye)}(Se)){var it=$r(Se,Dr);return"cause"in Error.prototype||!("cause"in Se)||ji.call(Se,"cause")?0===it.length?"["+String(Se)+"]":"{ ["+String(Se)+"] "+Fe.call(it,", ")+" }":"{ ["+String(Se)+"] "+Fe.call(C.call("[cause]: "+Dr(Se.cause),it),", ")+" }"}if("object"==typeof Se&&Or){if(rt&&"function"==typeof Se[rt]&&Un)return Un(Se,{depth:Wr-di});if("symbol"!==Or&&"function"==typeof Se.inspect)return Se.inspect()}if(function Lr(ye){if(!q||!ye||"object"!=typeof ye)return!1;try{q.call(ye);try{p.call(ye)}catch{return!0}return ye instanceof Map}catch{}return!1}(Se)){var ds=[];return K&&K.call(Se,function(wi,pi){ds.push(Dr(pi,Se,!0)+" => "+Dr(wi,Se))}),sc("Map",q.call(Se),ds,xo)}if(function vo(ye){if(!p||!ye||"object"!=typeof ye)return!1;try{p.call(ye);try{q.call(ye)}catch{return!0}return ye instanceof Set}catch{}return!1}(Se)){var ei=[];return v&&v.call(Se,function(wi){ei.push(Dr(wi,Se))}),sc("Set",p.call(Se),ei,xo)}if(function Wi(ye){if(!I||!ye||"object"!=typeof ye)return!1;try{I.call(ye,I);try{E.call(ye,E)}catch{return!0}return ye instanceof WeakMap}catch{}return!1}(Se))return Oa("WeakMap");if(function Tt(ye){if(!E||!ye||"object"!=typeof ye)return!1;try{E.call(ye,E);try{I.call(ye,I)}catch{return!0}return ye instanceof WeakSet}catch{}return!1}(Se))return Oa("WeakSet");if(function Vt(ye){if(!G||!ye||"object"!=typeof ye)return!1;try{return G.call(ye),!0}catch{}return!1}(Se))return Oa("WeakRef");if(function xt(ye){return"[object Number]"===mi(ye)&&Et(ye)}(Se))return Lo(Dr(Number(Se)));if(function vr(ye){if(!ye||"object"!=typeof ye||!Yt)return!1;try{return Yt.call(ye),!0}catch{}return!1}(Se))return Lo(Dr(Yt.call(Se)));if(function fn(ye){return"[object Boolean]"===mi(ye)&&Et(ye)}(Se))return Lo(V.call(Se));if(function cn(ye){return"[object String]"===mi(ye)&&Et(ye)}(Se))return Lo(Dr(String(Se)));if(typeof window<"u"&&Se===window)return"{ [object Window] }";if(typeof globalThis<"u"&&Se===globalThis||typeof global<"u"&&Se===global)return"{ [object globalThis] }";if(!function Dn(ye){return"[object Date]"===mi(ye)&&Et(ye)}(Se)&&!Vn(Se)){var Gi=$r(Se,Dr),Zo=Pi?Pi(Se)===Object.prototype:Se instanceof Object||Se.constructor===Object,Oo=Se instanceof Object?"":"null prototype",lr=!Zo&&Hn&&Object(Se)===Se&&Hn in Se?de.call(mi(Se),8,-1):Oo?"Object":"",Po=(Zo||"function"!=typeof Se.constructor?"":Se.constructor.name?Se.constructor.name+" ":"")+(lr||Oo?"["+Fe.call(C.call([],lr||[],Oo||[]),": ")+"] ":"");return 0===Gi.length?Po+"{}":xo?Po+"{"+Ni(Gi,xo)+"}":Po+"{ "+Fe.call(Gi,", ")+" }"}return String(Se)};var _r=Object.prototype.hasOwnProperty||function(ye){return ye in this};function $i(ye,Se){return _r.call(ye,Se)}function mi(ye){return Y.call(ye)}function Ei(ye,Se){if(ye.indexOf)return ye.indexOf(Se);for(var At=0,di=ye.length;At<di;At++)if(ye[At]===Se)return At;return-1}function Qt(ye,Se){if(ye.length>Se.maxStringLength){var At=ye.length-Se.maxStringLength,di="... "+At+" more character"+(At>1?"s":"");return Qt(de.call(ye,0,Se.maxStringLength),Se)+di}var hi=De[Se.quoteStyle||"single"];return hi.lastIndex=0,Ce(fe.call(fe.call(ye,hi,"\\$1"),/[\x00-\x1f]/g,Do),"single",Se)}function Do(ye){var Se=ye.charCodeAt(0),At={8:"b",9:"t",10:"n",12:"f",13:"r"}[Se];return At?"\\"+At:"\\x"+(Se<16?"0":"")+we.call(Se.toString(16))}function Lo(ye){return"Object("+ye+")"}function Oa(ye){return ye+" { ? }"}function sc(ye,Se,At,di){return ye+" ("+Se+") {"+(di?Ni(At,di):Fe.call(At,", "))+"}"}function Ni(ye,Se){if(0===ye.length)return"";var At="\n"+Se.prev+Se.base;return At+Fe.call(ye,","+At)+"\n"+Se.prev}function $r(ye,Se){var At=an(ye),di=[];if(At){di.length=ye.length;for(var hi=0;hi<ye.length;hi++)di[hi]=$i(ye,hi)?Se(ye[hi],ye):""}var Or,en="function"==typeof Sn?Sn(ye):[];if(Gt){Or={};for(var _o=0;_o<en.length;_o++)Or["$"+en[_o]]=en[_o]}for(var Tr in ye)$i(ye,Tr)&&(At&&String(Number(Tr))===Tr&&Tr<ye.length||Gt&&Or["$"+Tr]instanceof Symbol||(qe.call(/[^\w$]/,Tr)?di.push(Se(Tr,ye)+": "+Se(ye[Tr],ye)):di.push(Tr+": "+Se(ye[Tr],ye))));if("function"==typeof Sn)for(var Ii=0;Ii<en.length;Ii++)ji.call(ye,en[Ii])&&di.push("["+Se(en[Ii])+"]: "+Se(ye[en[Ii]],ye));return di}},9831(ne){"use strict";var se=function(R){return R!=R};ne.exports=function(P,w){return 0===P&&0===w?1/P==1/w:!!(P===w||se(P)&&se(w))}},545(ne,se,R){"use strict";var P=R(592),w=R(6283),q=R(9831),K=R(9110),$=R(5796),_=w(K(),Object);P(_,{getPolyfill:K,implementation:q,shim:$}),ne.exports=_},9110(ne,se,R){"use strict";var P=R(9831);ne.exports=function(){return"function"==typeof Object.is?Object.is:P}},5796(ne,se,R){"use strict";var P=R(9110),w=R(592);ne.exports=function(){var K=P();return w(Object,{is:K},{is:function(){return Object.is!==K}}),K}},7935(ne,se,R){"use strict";var P;if(!Object.keys){var w=Object.prototype.hasOwnProperty,q=Object.prototype.toString,K=R(6321),$=Object.prototype.propertyIsEnumerable,_=!$.call({toString:null},"toString"),p=$.call(function(){},"prototype"),v=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],D=function(A){var G=A.constructor;return G&&G.prototype===A},I={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},M=function(){if(typeof window>"u")return!1;for(var A in window)try{if(!I["$"+A]&&w.call(window,A)&&null!==window[A]&&"object"==typeof window[A])try{D(window[A])}catch{return!0}}catch{return!0}return!1}();P=function(G){var V=null!==G&&"object"==typeof G,Y="[object Function]"===q.call(G),Q=K(G),X=V&&"[object String]"===q.call(G),de=[];if(!V&&!Y&&!Q)throw new TypeError("Object.keys called on a non-object");var fe=p&&Y;if(X&&G.length>0&&!w.call(G,0))for(var we=0;we<G.length;++we)de.push(String(we));if(Q&&G.length>0)for(var ze=0;ze<G.length;++ze)de.push(String(ze));else for(var qe in G)(!fe||"prototype"!==qe)&&w.call(G,qe)&&de.push(String(qe));if(_)for(var C=function(A){if(typeof window>"u"||!M)return D(A);try{return D(A)}catch{return!1}}(G),Fe=0;Fe<v.length;++Fe)(!C||"constructor"!==v[Fe])&&w.call(G,v[Fe])&&de.push(v[Fe]);return de}}ne.exports=P},9209(ne,se,R){"use strict";var P=Array.prototype.slice,w=R(6321),q=Object.keys,K=q?function(p){return q(p)}:R(7935),$=Object.keys;K.shim=function(){if(Object.keys){var p=function(){var v=Object.keys(arguments);return v&&v.length===arguments.length}(1,2);p||(Object.keys=function(D){return w(D)?$(P.call(D)):$(D)})}else Object.keys=K;return Object.keys||K},ne.exports=K},6321(ne){"use strict";var se=Object.prototype.toString;ne.exports=function(P){var w=se.call(P),q="[object Arguments]"===w;return q||(q="[object Array]"!==w&&null!==P&&"object"==typeof P&&"number"==typeof P.length&&P.length>=0&&"[object Function]"===se.call(P.callee)),q}},8447(ne,se,R){"use strict";var P=R(9209),w=R(6497)(),q=R(840),K=R(7888),$=q("Array.prototype.push"),_=q("Object.prototype.propertyIsEnumerable"),p=w?K.getOwnPropertySymbols:null;ne.exports=function(D,I){if(null==D)throw new TypeError("target must be an object");var M=K(D);if(1===arguments.length)return M;for(var E=1;E<arguments.length;++E){var A=K(arguments[E]),G=P(A),V=w&&(K.getOwnPropertySymbols||p);if(V)for(var Y=V(A),Q=0;Q<Y.length;++Q){var X=Y[Q];_(A,X)&&$(G,X)}for(var de=0;de<G.length;++de){var fe=G[de];_(A,fe)&&(M[fe]=A[fe])}}return M}},6969(ne,se,R){"use strict";var P=R(592),w=R(6283),q=R(8447),K=R(78),$=R(7100),_=w.apply(K()),p=function(D,I){return _(Object,arguments)};P(p,{getPolyfill:K,implementation:q,shim:$}),ne.exports=p},78(ne,se,R){"use strict";var P=R(8447);ne.exports=function(){return!Object.assign||function(){if(!Object.assign)return!1;for(var K="abcdefghijklmnopqrst",$=K.split(""),_={},p=0;p<$.length;++p)_[$[p]]=$[p];var v=Object.assign({},_),D="";for(var I in v)D+=I;return K!==D}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var K=Object.preventExtensions({1:2});try{Object.assign(K,"xy")}catch{return"y"===K[1]}return!1}()?P:Object.assign}},7100(ne,se,R){"use strict";var P=R(592),w=R(78);ne.exports=function(){var K=w();return P(Object,{assign:K},{assign:function(){return Object.assign!==K}}),K}},6998(ne){"use strict";ne.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},1143(ne,se,R){"use strict";var P=R(6330),w=R(8519),q=Object;ne.exports=P(function(){if(null==this||this!==q(this))throw new w("RegExp.prototype.flags getter called on non-object");var $="";return this.hasIndices&&($+="d"),this.global&&($+="g"),this.ignoreCase&&($+="i"),this.multiline&&($+="m"),this.dotAll&&($+="s"),this.unicode&&($+="u"),this.unicodeSets&&($+="v"),this.sticky&&($+="y"),$},"get flags",!0)},7057(ne,se,R){"use strict";var P=R(592),w=R(6283),q=R(1143),K=R(4198),$=R(8436),_=w(K());P(_,{getPolyfill:K,implementation:q,shim:$}),ne.exports=_},4198(ne,se,R){"use strict";var P=R(1143),w=R(592).supportsDescriptors,q=Object.getOwnPropertyDescriptor;ne.exports=function(){if(w&&"gim"===/a/gim.flags){var $=q(RegExp.prototype,"flags");if($&&"function"==typeof $.get&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var _="",p={};if(Object.defineProperty(p,"hasIndices",{get:function(){_+="d"}}),Object.defineProperty(p,"sticky",{get:function(){_+="y"}}),$.get.call(p),"dy"===_)return $.get}}return P}},8436(ne,se,R){"use strict";var P=R(592).supportsDescriptors,w=R(4198),q=R(9263),K=Object.defineProperty,$=R(1123),_=R(1568),p=/a/;ne.exports=function(){if(!P||!_)throw new $("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var D=w(),I=_(p),M=q(I,"flags");return(!M||M.get!==D)&&K(I,"flags",{configurable:!0,enumerable:!1,get:D}),D}},7653(ne,se,R){"use strict";var P=R(840),w=R(5831),q=P("RegExp.prototype.exec"),K=R(8519);ne.exports=function(_){if(!w(_))throw new K("`regex` must be a RegExp");return function(v){return null!==q(_,v)}}},5557(ne,se,R){"use strict";var P=R(2521),w=R(1197),q=R(6652)(),K=R(9263),$=R(8519),_=P("%Math.floor%");ne.exports=function(v,D){if("function"!=typeof v)throw new $("`fn` is not a function");if("number"!=typeof D||D<0||D>4294967295||_(D)!==D)throw new $("`length` must be a positive 32-bit integer");var I=arguments.length>2&&!!arguments[2],M=!0,E=!0;if("length"in v&&K){var A=K(v,"length");A&&!A.configurable&&(M=!1),A&&!A.writable&&(E=!1)}return(M||E||!I)&&(q?w(v,"length",D,!0,!0):w(v,"length",D)),v}},6330(ne,se,R){"use strict";var P=R(1197),w=R(6652)(),q=R(5370).functionsHaveConfigurableNames(),K=R(8519);ne.exports=function(_,p){if("function"!=typeof _)throw new K("`fn` is not a function");return(!(arguments.length>2&&arguments[2])||q)&&(w?P(_,"name",p,!0,!0):P(_,"name",p)),_}},863(ne,se,R){"use strict";var P=R(3687),w=R(8519),q=function(v,D,I){for(var E,M=v;null!=(E=M.next);M=E)if(E.key===D)return M.next=E.next,I||(E.next=v.next,v.next=E),E};ne.exports=function(){var D,I={assert:function(M){if(!I.has(M))throw new w("Side channel does not contain "+P(M))},delete:function(M){var E=D&&D.next,A=function(v,D){if(v)return q(v,D,!0)}(D,M);return A&&E&&E===A&&(D=void 0),!!A},get:function(M){return function(v,D){if(v){var I=q(v,D);return I&&I.value}}(D,M)},has:function(M){return function(v,D){return!!v&&!!q(v,D)}(D,M)},set:function(M,E){D||(D={next:void 0}),function(v,D,I){var M=q(v,D);M?M.value=I:v.next={key:D,next:v.next,value:I}}(D,M,E)}};return I}},2375(ne,se,R){"use strict";var P=R(2521),w=R(840),q=R(3687),K=R(8519),$=P("%Map%",!0),_=w("Map.prototype.get",!0),p=w("Map.prototype.set",!0),v=w("Map.prototype.has",!0),D=w("Map.prototype.delete",!0),I=w("Map.prototype.size",!0);ne.exports=!!$&&function(){var E,A={assert:function(G){if(!A.has(G))throw new K("Side channel does not contain "+q(G))},delete:function(G){if(E){var V=D(E,G);return 0===I(E)&&(E=void 0),V}return!1},get:function(G){if(E)return _(E,G)},has:function(G){return!!E&&v(E,G)},set:function(G,V){E||(E=new $),p(E,G,V)}};return A}},603(ne,se,R){"use strict";var P=R(2521),w=R(840),q=R(3687),K=R(2375),$=R(8519),_=P("%WeakMap%",!0),p=w("WeakMap.prototype.get",!0),v=w("WeakMap.prototype.set",!0),D=w("WeakMap.prototype.has",!0),I=w("WeakMap.prototype.delete",!0);ne.exports=_?function(){var E,A,G={assert:function(V){if(!G.has(V))throw new $("Side channel does not contain "+q(V))},delete:function(V){if(_&&V&&("object"==typeof V||"function"==typeof V)){if(E)return I(E,V)}else if(K&&A)return A.delete(V);return!1},get:function(V){return _&&V&&("object"==typeof V||"function"==typeof V)&&E?p(E,V):A&&A.get(V)},has:function(V){return _&&V&&("object"==typeof V||"function"==typeof V)&&E?D(E,V):!!A&&A.has(V)},set:function(V,Y){_&&V&&("object"==typeof V||"function"==typeof V)?(E||(E=new _),v(E,V,Y)):K&&(A||(A=K()),A.set(V,Y))}};return G}:K},5492(ne,se,R){"use strict";var P=R(8519),w=R(3687),q=R(863),K=R(2375),_=R(603)||K||q;ne.exports=function(){var v,D={assert:function(I){if(!D.has(I))throw new P("Side channel does not contain "+w(I))},delete:function(I){return!!v&&v.delete(I)},get:function(I){return v&&v.get(I)},has:function(I){return!!v&&v.has(I)},set:function(I,M){v||(v=_()),v.set(I,M)}};return D}},5712(ne,se,R){"use strict";var P=R(2179),w=R(4880),q="object"==typeof StopIteration?StopIteration:null;ne.exports=function($){if(!q)throw new w("this environment lacks StopIteration");P.set($,"[[Done]]",!1);var _={next:function(){var v=P.get(this,"[[Iterator]]"),D=!!P.get(v,"[[Done]]");try{return{done:D,value:D?void 0:v.next()}}catch(I){if(P.set(v,"[[Done]]",!0),I!==q)throw I;return{done:!0,value:void 0}}}};return P.set(_,"[[Iterator]]",$),_}},6959(ne,se,R){"use strict";var P=R(6837),w=R(8979),q=R(6484),K=R(3016),$=R(7671);ne.exports=function(p){return null==p||"object"!=typeof p&&"function"!=typeof p?null:P(p)?"String":w(p)?"Number":q(p)?"Boolean":K(p)?"Symbol":$(p)?"BigInt":void 0}},5757(ne,se,R){"use strict";var P=R(5217),w=R(9116),q=R(9462),K=R(5028);ne.exports=function(_){if(_&&"object"==typeof _){if(P(_))return"Map";if(w(_))return"Set";if(q(_))return"WeakMap";if(K(_))return"WeakSet"}return!1}},6547(ne,se,R){"use strict";var P=R(6062),w=R(9819),q=R(6283),K=R(840),$=R(9263),_=R(1568),p=K("Object.prototype.toString"),v=R(5328)(),D=typeof globalThis>"u"?global:globalThis,I=w(),M=K("String.prototype.slice"),E=K("Array.prototype.indexOf",!0)||function(Q,X){for(var de=0;de<Q.length;de+=1)if(Q[de]===X)return de;return-1},A={__proto__:null};P(I,v&&$&&_?function(Y){var Q=new D[Y];if(Symbol.toStringTag in Q&&_){var X=_(Q),de=$(X,Symbol.toStringTag);if(!de&&X){var fe=_(X);de=$(fe,Symbol.toStringTag)}A["$"+Y]=q(de.get)}}:function(Y){var Q=new D[Y],X=Q.slice||Q.set;X&&(A["$"+Y]=q(X))}),ne.exports=function(Q){if(!Q||"object"!=typeof Q)return!1;if(!v){var X=M(p(Q),8,-1);return E(I,X)>-1?X:"Object"===X&&function(Q){var X=!1;return P(A,function(de,fe){if(!X)try{de(Q),X=M(fe,1)}catch{}}),X}(Q)}return $?function(Q){var X=!1;return P(A,function(de,fe){if(!X)try{"$"+de(Q)===fe&&(X=M(fe,1))}catch{}}),X}(Q):null}},4527(ne){ne.exports={STU3:"partial",R4:"WIP",R4B:"WIP",R5:"WIP"}},2634(){},9819(ne,se,R){"use strict";var P=R(6998),w=typeof globalThis>"u"?global:globalThis;ne.exports=function(){for(var K=[],$=0;$<P.length;$++)"function"==typeof w[P[$]]&&(K[K.length]=P[$]);return K}},158(ne,se,R){"use strict";var P=R(8344),w=R(5712);if(R(1459)()||R(6497)()){var q=Symbol.iterator;ne.exports=function(Ve){return null!=Ve&&typeof Ve[q]<"u"?Ve[q]():P(Ve)?Array.prototype[q].call(Ve):void 0}}else{var K=R(7638),$=R(6837),_=R(2521),p=_("%Map%",!0),v=_("%Set%",!0),D=R(3463),I=D("Array.prototype.push"),M=D("String.prototype.charCodeAt"),E=D("String.prototype.slice"),G=function(Ve){var Ct=0;return{next:function(){var ht,Sn=Ct>=Ve.length;return Sn||(ht=Ve[Ct],Ct+=1),{done:Sn,value:ht}}}},V=function(Ve,Ct){if(K(Ve)||P(Ve))return G(Ve);if($(Ve)){var Yt=0;return{next:function(){var ht=function(Ve,Ct){if(Ct+1>=Ve.length)return Ct+1;var Sn=M(Ve,Ct);if(Sn<55296||Sn>56319)return Ct+1;var ht=M(Ve,Ct+1);return ht<56320||ht>57343?Ct+1:Ct+2}(Ve,Yt),Gt=E(Ve,Yt,ht);return Yt=ht,{done:ht>Ve.length,value:Gt}}}}return Ct&&typeof Ve["_es6-shim iterator_"]<"u"?Ve["_es6-shim iterator_"]():void 0};if(p||v){var Y=R(5217),Q=R(9116),X=D("Map.prototype.forEach",!0),de=D("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var fe=D("Map.prototype.iterator",!0),we=D("Set.prototype.iterator",!0);var ze=D("Map.prototype.@@iterator",!0)||D("Map.prototype._es6-shim iterator_",!0),qe=D("Set.prototype.@@iterator",!0)||D("Set.prototype._es6-shim iterator_",!0);ne.exports=function(Ve){return function(Ve){if(Y(Ve)){if(fe)return w(fe(Ve));if(ze)return ze(Ve);if(X){var Ct=[];return X(Ve,function(Sn,ht){I(Ct,[ht,Sn])}),G(Ct)}}if(Q(Ve)){if(we)return w(we(Ve));if(qe)return qe(Ve);if(de){var Yt=[];return de(Ve,function(Sn){I(Yt,Sn)}),G(Yt)}}}(Ve)||V(Ve)}}else ne.exports=function(Ve){if(null!=Ve)return V(Ve,!0)}}},3380(ne){"use strict";ne.exports=JSON.parse('{"license":"The following data (prefixes and units) was generated by the UCUM LHC code from the UCUM data and selected LOINC combinations of UCUM units.  The license for the UCUM LHC code (demo and library code as well as the combined units) is located at https://github.com/lhncbc/ucum-lhc/blob/LICENSE.md.","prefixes":{"config":["code_","ciCode_","name_","printSymbol_","value_","exp_"],"data":[["E","EX","exa","E",1000000000000000000,"18"],["G","GA","giga","G",1000000000,"9"],["Gi","GIB","gibi","Gi",1073741824,null],["Ki","KIB","kibi","Ki",1024,null],["M","MA","mega","M",1000000,"6"],["Mi","MIB","mebi","Mi",1048576,null],["P","PT","peta","P",1000000000000000,"15"],["T","TR","tera","T",1000000000000,"12"],["Ti","TIB","tebi","Ti",1099511627776,null],["Y","YA","yotta","Y",1e+24,"24"],["Z","ZA","zetta","Z",1e+21,"21"],["a","A","atto","a",1e-18,"-18"],["c","C","centi","c",0.01,"-2"],["d","D","deci","d",0.1,"-1"],["da","DA","deka","da",10,"1"],["f","F","femto","f",1e-15,"-15"],["h","H","hecto","h",100,"2"],["k","K","kilo","k",1000,"3"],["m","M","milli","m",0.001,"-3"],["n","N","nano","n",1e-9,"-9"],["p","P","pico","p",1e-12,"-12"],["u","U","micro","\u03bc",0.000001,"-6"],["y","YO","yocto","y",1e-24,"-24"],["z","ZO","zepto","z",1e-21,"-21"]]},"units":{"config":["isBase_","name_","csCode_","ciCode_","property_","magnitude_",["dim_","dimVec_"],"printSymbol_","class_","isMetric_","variable_","cnv_","cnvPfx_","isSpecial_","isArbitrary_","moleExp_","equivalentExp_","synonyms_","source_","loincProperty_","category_","guidance_","csUnitString_","ciUnitString_","baseFactorStr_","baseFactor_","defError_"],"data":[[true,"meter","m","M","length",1,[1,0,0,0,0,0,0],"m",null,false,"L",null,1,false,false,0,0,"meters; metres; distance","UCUM","Len","Clinical","unit of length = 1.09361 yards",null,null,null,null,false],[true,"second - time","s","S","time",1,[0,1,0,0,0,0,0],"s",null,false,"T",null,1,false,false,0,0,"seconds","UCUM","Time","Clinical","",null,null,null,null,false],[true,"gram","g","G","mass",1,[0,0,1,0,0,0,0],"g",null,false,"M",null,1,false,false,0,0,"grams; gm","UCUM","Mass","Clinical","",null,null,null,null,false],[true,"radian","rad","RAD","plane angle",1,[0,0,0,1,0,0,0],"rad",null,false,"A",null,1,false,false,0,0,"radians","UCUM","Angle","Clinical","unit of angular measure where 1 radian = 1/2\u03c0 turn =  57.296 degrees. ",null,null,null,null,false],[true,"degree Kelvin","K","K","temperature",1,[0,0,0,0,1,0,0],"K",null,false,"C",null,1,false,false,0,0,"Kelvin; degrees","UCUM","Temp","Clinical","absolute, thermodynamic temperature scale ",null,null,null,null,false],[true,"coulomb","C","C","electric charge",1,[0,0,0,0,0,1,0],"C",null,false,"Q",null,1,false,false,0,0,"coulombs","UCUM","","Clinical","defined as amount of 1 electron charge = 6.2415093\xd710^18 e, and equivalent to 1 Ampere-second",null,null,null,null,false],[true,"candela","cd","CD","luminous intensity",1,[0,0,0,0,0,0,1],"cd",null,false,"F",null,1,false,false,0,0,"candelas","UCUM","","Clinical","SI base unit of luminous intensity",null,null,null,null,false],[false,"the number ten for arbitrary powers","10*","10*","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,0,"10^; 10 to the arbitrary powers","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number ten for arbitrary powers","10^","10^","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,0,"10*; 10 to the arbitrary power","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number pi","[pi]","[PI]","number",3.141592653589793,[0,0,0,0,0,0,0],"\u03c0","dimless",false,null,null,1,false,false,0,0,"\u03c0","UCUM","","Constant","a mathematical constant; the ratio of a circle\'s circumference to its diameter \u2248 3.14159","1","1","3.1415926535897932384626433832795028841971693993751058209749445923",3.141592653589793,false],[false,"","%","%","fraction",0.01,[0,0,0,0,0,0,0],"%","dimless",false,null,null,1,false,false,0,0,"percents","UCUM","FR; NFR; MFR; CFR; SFR Rto; etc. ","Clinical","","10*-2","10*-2","1",1,false],[false,"parts per thousand","[ppth]","[PPTH]","fraction",0.001,[0,0,0,0,0,0,0],"ppth","dimless",false,null,null,1,false,false,0,0,"ppth; 10^-3","UCUM","MCnc; MCnt","Clinical","[ppth] is often used in solution concentrations as 1 g/L or 1 g/kg.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-3","10*-3","1",1,false],[false,"parts per million","[ppm]","[PPM]","fraction",0.000001,[0,0,0,0,0,0,0],"ppm","dimless",false,null,null,1,false,false,0,0,"ppm; 10^-6","UCUM","MCnt; MCnc; SFr","Clinical","[ppm] is often used in solution concentrations as 1 mg/L  or 1 mg/kg. Also used to express mole fractions as 1 mmol/mol.\\n\\n[ppm] is also used in nuclear magnetic resonance (NMR) to represent chemical shift - the difference of a measured frequency in parts per million from the reference frequency.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-6","10*-6","1",1,false],[false,"parts per billion","[ppb]","[PPB]","fraction",1e-9,[0,0,0,0,0,0,0],"ppb","dimless",false,null,null,1,false,false,0,0,"ppb; 10^-9","UCUM","MCnt; MCnc; SFr","Clinical","[ppb] is often used in solution concentrations as 1 ug/L  or 1 ug/kg. Also used to express mole fractions as 1 umol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-9","10*-9","1",1,false],[false,"parts per trillion","[pptr]","[PPTR]","fraction",1e-12,[0,0,0,0,0,0,0],"pptr","dimless",false,null,null,1,false,false,0,0,"pptr; 10^-12","UCUM","MCnt; MCnc; SFr","Clinical","[pptr] is often used in solution concentrations as 1 ng/L or 1 ng/kg. Also used to express mole fractions as 1 nmol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-12","10*-12","1",1,false],[false,"mole","mol","MOL","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"mol","si",true,null,null,1,false,false,1,0,"moles","UCUM","Sub","Clinical","Measure the number of molecules ","10*23","10*23","6.0221367",6.0221367,false],[false,"steradian - solid angle","sr","SR","solid angle",1,[0,0,0,2,0,0,0],"sr","si",true,null,null,1,false,false,0,0,"square radian; rad2; rad^2","UCUM","Angle","Clinical","unit of solid angle in three-dimensional geometry analagous to radian; used in photometry which measures the perceived brightness of object by human eye (e.g. radiant intensity = watt/steradian)","rad2","RAD2","1",1,false],[false,"hertz","Hz","HZ","frequency",1,[0,-1,0,0,0,0,0],"Hz","si",true,null,null,1,false,false,0,0,"Herz; frequency; frequencies","UCUM","Freq; Num","Clinical","equal to one cycle per second","s-1","S-1","1",1,false],[false,"newton","N","N","force",1000,[1,-2,1,0,0,0,0],"N","si",true,null,null,1,false,false,0,0,"Newtons","UCUM","Force","Clinical","unit of force with base units kg.m/s2","kg.m/s2","KG.M/S2","1",1,false],[false,"pascal","Pa","PAL","pressure",1000,[-1,-2,1,0,0,0,0],"Pa","si",true,null,null,1,false,false,0,0,"pascals","UCUM","Pres","Clinical","standard unit of pressure equal to 1 newton per square meter (N/m2)","N/m2","N/M2","1",1,false],[false,"joule","J","J","energy",1000,[2,-2,1,0,0,0,0],"J","si",true,null,null,1,false,false,0,0,"joules","UCUM","Enrg","Clinical","unit of energy defined as the work required to move an object 1 m with a force of 1 N (N.m) or an electric charge of 1 C through 1 V (C.V), or to produce 1 W for 1 s (W.s) ","N.m","N.M","1",1,false],[false,"watt","W","W","power",1000,[2,-3,1,0,0,0,0],"W","si",true,null,null,1,false,false,0,0,"watts","UCUM","EngRat","Clinical","unit of power equal to 1 Joule per second (J/s) =  kg\u22c5m2\u22c5s\u22123","J/s","J/S","1",1,false],[false,"Ampere","A","A","electric current",1,[0,-1,0,0,0,1,0],"A","si",true,null,null,1,false,false,0,0,"Amperes","UCUM","ElpotRat","Clinical","unit of electric current equal to flow rate of electrons equal to 6.2415\xd710^18 elementary charges moving past a boundary in one second or 1 Coulomb/second","C/s","C/S","1",1,false],[false,"volt","V","V","electric potential",1000,[2,-2,1,0,0,-1,0],"V","si",true,null,null,1,false,false,0,0,"volts","UCUM","Elpot","Clinical","unit of electric potential (voltage) = 1 Joule per Coulomb (J/C)","J/C","J/C","1",1,false],[false,"farad","F","F","electric capacitance",0.001,[-2,2,-1,0,0,2,0],"F","si",true,null,null,1,false,false,0,0,"farads; electric capacitance","UCUM","","Clinical","CGS unit of electric capacitance with base units C/V (Coulomb per Volt)","C/V","C/V","1",1,false],[false,"ohm","Ohm","OHM","electric resistance",1000,[2,-1,1,0,0,-2,0],"\u03a9","si",true,null,null,1,false,false,0,0,"\u03a9; resistance; ohms","UCUM","","Clinical","unit of electrical resistance with units of Volt per Ampere","V/A","V/A","1",1,false],[false,"siemens","S","SIE","electric conductance",0.001,[-2,1,-1,0,0,2,0],"S","si",true,null,null,1,false,false,0,0,"Reciprocal ohm; mho; \u03a9\u22121; conductance","UCUM","","Clinical","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","Ohm-1","OHM-1","1",1,false],[false,"weber","Wb","WB","magnetic flux",1000,[2,-1,1,0,0,-1,0],"Wb","si",true,null,null,1,false,false,0,0,"magnetic flux; webers","UCUM","","Clinical","unit of magnetic flux equal to Volt second","V.s","V.S","1",1,false],[false,"degree Celsius","Cel","CEL","temperature",1,[0,0,0,0,1,0,0],"\xb0C","si",true,null,"Cel",1,true,false,0,0,"\xb0C; degrees","UCUM","Temp","Clinical","","K",null,null,1,false],[false,"tesla","T","T","magnetic flux density",1000,[0,-1,1,0,0,-1,0],"T","si",true,null,null,1,false,false,0,0,"Teslas; magnetic field","UCUM","","Clinical","SI unit of magnetic field strength for magnetic field B equal to 1 Weber/square meter =  1 kg/(s2*A)","Wb/m2","WB/M2","1",1,false],[false,"henry","H","H","inductance",1000,[2,0,1,0,0,-2,0],"H","si",true,null,null,1,false,false,0,0,"henries; inductance","UCUM","","Clinical","unit of electrical inductance; usually expressed in millihenrys (mH) or microhenrys (uH).","Wb/A","WB/A","1",1,false],[false,"lumen","lm","LM","luminous flux",1,[0,0,0,2,0,0,1],"lm","si",true,null,null,1,false,false,0,0,"luminous flux; lumens","UCUM","","Clinical","unit of luminous flux defined as 1 lm = 1 cd\u22c5sr (candela times sphere)","cd.sr","CD.SR","1",1,false],[false,"lux","lx","LX","illuminance",1,[-2,0,0,2,0,0,1],"lx","si",true,null,null,1,false,false,0,0,"illuminance; luxes","UCUM","","Clinical","unit of illuminance equal to one lumen per square meter. ","lm/m2","LM/M2","1",1,false],[false,"becquerel","Bq","BQ","radioactivity",1,[0,-1,0,0,0,0,0],"Bq","si",true,null,null,1,false,false,0,0,"activity; radiation; becquerels","UCUM","","Clinical","measure of the atomic radiation rate with units s^-1","s-1","S-1","1",1,false],[false,"gray","Gy","GY","energy dose",1,[2,-2,0,0,0,0,0],"Gy","si",true,null,null,1,false,false,0,0,"absorbed doses; ionizing radiation doses; kerma; grays","UCUM","EngCnt","Clinical","unit of ionizing radiation dose with base units of 1 joule of radiation energy per kilogram of matter","J/kg","J/KG","1",1,false],[false,"sievert","Sv","SV","dose equivalent",1,[2,-2,0,0,0,0,0],"Sv","si",true,null,null,1,false,false,0,0,"sieverts; radiation dose quantities; equivalent doses; effective dose; operational dose; committed dose","UCUM","","Clinical","SI unit for radiation dose equivalent equal to 1 Joule/kilogram.","J/kg","J/KG","1",1,false],[false,"degree - plane angle","deg","DEG","plane angle",0.017453292519943295,[0,0,0,1,0,0,0],"\xb0","iso1000",false,null,null,1,false,false,0,0,"\xb0; degree of arc; arc degree; arcdegree; angle","UCUM","Angle","Clinical","one degree is equivalent to \u03c0/180 radians.","[pi].rad/360","[PI].RAD/360","2",2,false],[false,"gon","gon","GON","plane angle",0.015707963267948967,[0,0,0,1,0,0,0],"\u25a1<sup>g</sup>","iso1000",false,null,null,1,false,false,0,0,"gon (grade); gons","UCUM","Angle","Nonclinical","unit of plane angle measurement equal to 1/400 circle","deg","DEG","0.9",0.9,false],[false,"arc minute","\'","\'","plane angle",0.0002908882086657216,[0,0,0,1,0,0,0],"\'","iso1000",false,null,null,1,false,false,0,0,"arcminutes; arcmin; arc minutes; arc mins","UCUM","Angle","Clinical","equal to 1/60 degree; used in optometry and opthamology (e.g. visual acuity tests)","deg/60","DEG/60","1",1,false],[false,"arc second","\'\'","\'\'","plane angle",0.00000484813681109536,[0,0,0,1,0,0,0],"\'\'","iso1000",false,null,null,1,false,false,0,0,"arcseconds; arcsecs","UCUM","Angle","Clinical","equal to 1/60 arcminute = 1/3600 degree; used in optometry and opthamology (e.g. visual acuity tests)","\'/60","\'/60","1",1,false],[false,"Liters","l","L","volume",0.001,[3,0,0,0,0,0,0],"l","iso1000",true,null,null,1,false,false,0,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using  \\"L\\"","dm3","DM3","1",1,false],[false,"Liters","L","L","volume",0.001,[3,0,0,0,0,0,0],"L","iso1000",true,null,null,1,false,false,0,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using  \\"L\\"","l",null,"1",1,false],[false,"are","ar","AR","area",100,[2,0,0,0,0,0,0],"a","iso1000",true,null,null,1,false,false,0,0,"100 m2; 100 m^2; 100 square meter; meters squared; metres","UCUM","Area","Clinical","metric base unit for area defined as 100 m^2","m2","M2","100",100,false],[false,"minute","min","MIN","time",60,[0,1,0,0,0,0,0],"min","iso1000",false,null,null,1,false,false,0,0,"minutes","UCUM","Time","Clinical","","s","S","60",60,false],[false,"hour","h","HR","time",3600,[0,1,0,0,0,0,0],"h","iso1000",false,null,null,1,false,false,0,0,"hours; hrs; age","UCUM","Time","Clinical","","min","MIN","60",60,false],[false,"day","d","D","time",86400,[0,1,0,0,0,0,0],"d","iso1000",false,null,null,1,false,false,0,0,"days; age; dy; 24 hours; 24 hrs","UCUM","Time","Clinical","","h","HR","24",24,false],[false,"tropical year","a_t","ANN_T","time",31556925.216,[0,1,0,0,0,0,0],"a<sub>t</sub>","iso1000",false,null,null,1,false,false,0,0,"solar years; a tropical; years","UCUM","Time","Clinical","has an average of 365.242181 days but is constantly changing.","d","D","365.24219",365.24219,false],[false,"mean Julian year","a_j","ANN_J","time",31557600,[0,1,0,0,0,0,0],"a<sub>j</sub>","iso1000",false,null,null,1,false,false,0,0,"mean Julian yr; a julian; years","UCUM","Time","Clinical","has an average of 365.25 days, and in everyday use, has been replaced by the Gregorian year. However, this unit is used in astronomy to calculate light year. ","d","D","365.25",365.25,false],[false,"mean Gregorian year","a_g","ANN_G","time",31556952,[0,1,0,0,0,0,0],"a<sub>g</sub>","iso1000",false,null,null,1,false,false,0,0,"mean Gregorian yr; a gregorian; years","UCUM","Time","Clinical","has an average of 365.2425 days and is the most internationally used civil calendar.","d","D","365.2425",365.2425,false],[false,"year","a","ANN","time",31557600,[0,1,0,0,0,0,0],"a","iso1000",false,null,null,1,false,false,0,0,"years; a; yr, yrs; annum","UCUM","Time","Clinical","","a_j","ANN_J","1",1,false],[false,"week","wk","WK","time",604800,[0,1,0,0,0,0,0],"wk","iso1000",false,null,null,1,false,false,0,0,"weeks; wks","UCUM","Time","Clinical","","d","D","7",7,false],[false,"synodal month","mo_s","MO_S","time",2551442.976,[0,1,0,0,0,0,0],"mo<sub>s</sub>","iso1000",false,null,null,1,false,false,0,0,"Moon; synodic month; lunar month; mo-s; mo s; months; moons","UCUM","Time","Nonclinical","has an average of 29.53 days per month, unit used in astronomy","d","D","29.53059",29.53059,false],[false,"mean Julian month","mo_j","MO_J","time",2629800,[0,1,0,0,0,0,0],"mo<sub>j</sub>","iso1000",false,null,null,1,false,false,0,0,"mo-julian; mo Julian; months","UCUM","Time","Clinical","has an average of 30.435 days per month","a_j/12","ANN_J/12","1",1,false],[false,"mean Gregorian month","mo_g","MO_G","time",2629746,[0,1,0,0,0,0,0],"mo<sub>g</sub>","iso1000",false,null,null,1,false,false,0,0,"months; month-gregorian; mo-gregorian","UCUM","Time","Clinical","has an average 30.436875 days per month and is from the most internationally used civil calendar.","a_g/12","ANN_G/12","1",1,false],[false,"month","mo","MO","time",2629800,[0,1,0,0,0,0,0],"mo","iso1000",false,null,null,1,false,false,0,0,"months; duration","UCUM","Time","Clinical","based on Julian calendar which has an average of 30.435 days per month (this unit is used in astronomy but not in everyday life - see mo_g)","mo_j","MO_J","1",1,false],[false,"metric ton","t","TNE","mass",1000000,[0,0,1,0,0,0,0],"t","iso1000",true,null,null,1,false,false,0,0,"tonnes; megagrams; tons","UCUM","Mass","Nonclinical","equal to 1000 kg used in the US (recognized by NIST as metric ton), and internationally (recognized as tonne)","kg","KG","1e3",1000,false],[false,"bar","bar","BAR","pressure",100000000,[-1,-2,1,0,0,0,0],"bar","iso1000",true,null,null,1,false,false,0,0,"bars","UCUM","Pres","Nonclinical","unit of pressure equal to 10^5 Pascals, primarily used by meteorologists and in weather forecasting","Pa","PAL","1e5",100000,false],[false,"unified atomic mass unit","u","AMU","mass",1.6605402e-24,[0,0,1,0,0,0,0],"u","iso1000",true,null,null,1,false,false,0,0,"unified atomic mass units; amu; Dalton; Da","UCUM","Mass","Clinical","the mass of 1/12 of an unbound Carbon-12 atom nuclide equal to 1.6606x10^-27 kg ","g","G","1.6605402e-24",1.6605402e-24,false],[false,"astronomic unit","AU","ASU","length",149597870691,[1,0,0,0,0,0,0],"AU","iso1000",false,null,null,1,false,false,0,0,"AU; units","UCUM","Len","Clinical","unit of length used in astronomy for measuring distance in Solar system","Mm","MAM","149597.870691",149597.870691,false],[false,"parsec","pc","PRS","length",30856780000000000,[1,0,0,0,0,0,0],"pc","iso1000",true,null,null,1,false,false,0,0,"parsecs","UCUM","Len","Clinical","unit of length equal to 3.26 light years, and used to measure large distances to objects outside our Solar System","m","M","3.085678e16",30856780000000000,false],[false,"velocity of light in a vacuum","[c]","[C]","velocity",299792458,[1,-1,0,0,0,0,0],"<i>c</i>","const",true,null,null,1,false,false,0,0,"speed of light","UCUM","Vel","Constant","equal to 299792458 m/s (approximately 3 x 10^8 m/s)","m/s","M/S","299792458",299792458,false],[false,"Planck constant","[h]","[H]","action",6.6260755e-31,[2,-1,1,0,0,0,0],"<i>h</i>","const",true,null,null,1,false,false,0,0,"Planck\'s constant","UCUM","","Constant","constant = 6.62607004 \xd7 10-34 m2.kg/s; defined as quantum of action","J.s","J.S","6.6260755e-34",6.6260755e-34,false],[false,"Boltzmann constant","[k]","[K]","(unclassified)",1.380658e-20,[2,-2,1,0,-1,0,0],"<i>k</i>","const",true,null,null,1,false,false,0,0,"k; kB","UCUM","","Constant","physical constant relating energy at the individual particle level with temperature = 1.38064852 \xd710^\u221223 J/K","J/K","J/K","1.380658e-23",1.380658e-23,false],[false,"permittivity of vacuum - electric","[eps_0]","[EPS_0]","electric permittivity",8.854187817000001e-15,[-3,2,-1,0,0,2,0],"<i>\u03b5<sub><r>0</r></sub></i>","const",true,null,null,1,false,false,0,0,"\u03b50; Electric Constant; vacuum permittivity; permittivity of free space ","UCUM","","Constant","approximately equal to 8.854\u2009\xd7 10^\u221212 F/m (farads per meter)","F/m","F/M","8.854187817e-12",8.854187817e-12,false],[false,"permeability of vacuum - magnetic","[mu_0]","[MU_0]","magnetic permeability",0.0012566370614359172,[1,0,1,0,0,-2,0],"<i>\u03bc<sub><r>0</r></sub></i>","const",true,null,null,1,false,false,0,0,"\u03bc0; vacuum permeability; permeability of free space; magnetic constant","UCUM","","Constant","equal to 4\u03c0\xd710^\u22127 N/A2 (Newtons per square ampere) \u2248 1.2566\xd710^\u22126 H/m (Henry per meter)","N/A2","4.[PI].10*-7.N/A2","1",0.0000012566370614359173,false],[false,"elementary charge","[e]","[E]","electric charge",1.60217733e-19,[0,0,0,0,0,1,0],"<i>e</i>","const",true,null,null,1,false,false,0,0,"e; q; electric charges","UCUM","","Constant","the magnitude of the electric charge carried by a single electron or proton \u2248 1.60217\xd710^-19 Coulombs","C","C","1.60217733e-19",1.60217733e-19,false],[false,"electronvolt","eV","EV","energy",1.60217733e-16,[2,-2,1,0,0,0,0],"eV","iso1000",true,null,null,1,false,false,0,0,"Electron Volts; electronvolts","UCUM","Eng","Clinical","unit of kinetic energy = 1 V * 1.602\xd710^\u221219 C = 1.6\xd710\u221219 Joules","[e].V","[E].V","1",1,false],[false,"electron mass","[m_e]","[M_E]","mass",9.1093897e-28,[0,0,1,0,0,0,0],"<i>m<sub><r>e</r></sub></i>","const",true,null,null,1,false,false,0,0,"electron rest mass; me","UCUM","Mass","Constant","approximately equal to 9.10938356 \xd7 10-31 kg; defined as the mass of a stationary electron","g","g","9.1093897e-28",9.1093897e-28,false],[false,"proton mass","[m_p]","[M_P]","mass",1.6726231e-24,[0,0,1,0,0,0,0],"<i>m<sub><r>p</r></sub></i>","const",true,null,null,1,false,false,0,0,"mp; masses","UCUM","Mass","Constant","approximately equal to 1.672622\xd710\u221227 kg","g","g","1.6726231e-24",1.6726231e-24,false],[false,"Newtonian constant of gravitation","[G]","[GC]","(unclassified)",6.67259e-14,[3,-2,-1,0,0,0,0],"<i>G</i>","const",true,null,null,1,false,false,0,0,"G; gravitational constant; Newton\'s constant","UCUM","","Constant","gravitational constant = 6.674\xd710\u221211 N\u22c5m2/kg2","m3.kg-1.s-2","M3.KG-1.S-2","6.67259e-11",6.67259e-11,false],[false,"standard acceleration of free fall","[g]","[G]","acceleration",9.80665,[1,-2,0,0,0,0,0],"<i>g<sub>n</sub></i>","const",true,null,null,1,false,false,0,0,"standard gravity; g; \u02610; \u0261n","UCUM","Accel","Constant","defined by standard = 9.80665 m/s2","m/s2","M/S2","980665e-5",9.80665,false],[false,"Torr","Torr","Torr","pressure",133322,[-1,-2,1,0,0,0,0],"Torr","const",false,null,null,1,false,false,0,0,"torrs","UCUM","Pres","Clinical","1 torr = 1 mmHg; unit used to measure blood pressure","Pa","PAL","133.322",133.322,false],[false,"standard atmosphere","atm","ATM","pressure",101325000,[-1,-2,1,0,0,0,0],"atm","const",false,null,null,1,false,false,0,0,"reference pressure; atmos; std atmosphere","UCUM","Pres","Clinical","defined as being precisely equal to 101,325 Pa","Pa","PAL","101325",101325,false],[false,"light-year","[ly]","[LY]","length",9460730472580800,[1,0,0,0,0,0,0],"l.y.","const",true,null,null,1,false,false,0,0,"light years; ly","UCUM","Len","Constant","unit of astronomal distance = 5.88\xd710^12 mi","[c].a_j","[C].ANN_J","1",1,false],[false,"gram-force","gf","GF","force",9.80665,[1,-2,1,0,0,0,0],"gf","const",true,null,null,1,false,false,0,0,"Newtons; gram forces","UCUM","Force","Clinical","May be specific to unit related to cardiac output","g.[g]","G.[G]","1",1,false],[false,"Kayser","Ky","KY","lineic number",100,[-1,0,0,0,0,0,0],"K","cgs",true,null,null,1,false,false,0,0,"wavenumbers; kaysers","UCUM","InvLen","Clinical","unit of wavelength equal to cm^-1","cm-1","CM-1","1",1,false],[false,"Gal","Gal","GL","acceleration",0.01,[1,-2,0,0,0,0,0],"Gal","cgs",true,null,null,1,false,false,0,0,"galileos; Gals","UCUM","Accel","Clinical","unit of acceleration used in gravimetry; equivalent to cm/s2 ","cm/s2","CM/S2","1",1,false],[false,"dyne","dyn","DYN","force",0.01,[1,-2,1,0,0,0,0],"dyn","cgs",true,null,null,1,false,false,0,0,"dynes","UCUM","Force","Clinical","unit of force equal to 10^-5 Newtons","g.cm/s2","G.CM/S2","1",1,false],[false,"erg","erg","ERG","energy",0.0001,[2,-2,1,0,0,0,0],"erg","cgs",true,null,null,1,false,false,0,0,"10^-7 Joules, 10-7 Joules; 100 nJ; 100 nanoJoules; 1 dyne cm; 1 g.cm2/s2","UCUM","Eng","Clinical","unit of energy = 1 dyne centimeter = 10^-7 Joules","dyn.cm","DYN.CM","1",1,false],[false,"Poise","P","P","dynamic viscosity",100.00000000000001,[-1,-1,1,0,0,0,0],"P","cgs",true,null,null,1,false,false,0,0,"dynamic viscosity; poises","UCUM","Visc","Clinical","unit of dynamic viscosity where 1 Poise = 1/10 Pascal second","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"Biot","Bi","BI","electric current",10,[0,-1,0,0,0,1,0],"Bi","cgs",true,null,null,1,false,false,0,0,"Bi; abamperes; abA","UCUM","ElpotRat","Clinical","equal to 10 amperes","A","A","10",10,false],[false,"Stokes","St","ST","kinematic viscosity",0.00009999999999999999,[2,-1,0,0,0,0,0],"St","cgs",true,null,null,1,false,false,0,0,"kinematic viscosity","UCUM","Visc","Clinical","unit of kimematic viscosity with units cm2/s","cm2/s","CM2/S","1",1,false],[false,"Maxwell","Mx","MX","flux of magnetic induction",0.00001,[2,-1,1,0,0,-1,0],"Mx","cgs",true,null,null,1,false,false,0,0,"magnetix flux; Maxwells","UCUM","","Clinical","unit of magnetic flux","Wb","WB","1e-8",1e-8,false],[false,"Gauss","G","GS","magnetic flux density",0.1,[0,-1,1,0,0,-1,0],"Gs","cgs",true,null,null,1,false,false,0,0,"magnetic fields; magnetic flux density; induction; B","UCUM","magnetic","Clinical","CGS unit of magnetic flux density, known as magnetic field B; defined as one maxwell unit per square centimeter (see Oersted for CGS unit for H field)","T","T","1e-4",0.0001,false],[false,"Oersted","Oe","OE","magnetic field intensity",79.57747154594767,[-1,-1,0,0,0,1,0],"Oe","cgs",true,null,null,1,false,false,0,0,"H magnetic B field; Oersteds","UCUM","","Clinical","CGS unit of the auxiliary magnetic field H defined as 1 dyne per unit pole = 1000/4\u03c0 amperes per meter (see Gauss for CGS unit for B field)","A/m","/[PI].A/M","250",79.57747154594767,false],[false,"Gilbert","Gb","GB","magnetic tension",0.7957747154594768,[0,-1,0,0,0,1,0],"Gb","cgs",true,null,null,1,false,false,0,0,"Gi; magnetomotive force; Gilberts","UCUM","","Clinical","unit of magnetomotive force (magnetic potential)","Oe.cm","OE.CM","1",1,false],[false,"stilb","sb","SB","lum. intensity density",10000,[-2,0,0,0,0,0,1],"sb","cgs",true,null,null,1,false,false,0,0,"stilbs","UCUM","","Obsolete","unit of luminance; equal to and replaced by unit candela per square centimeter (cd/cm2)","cd/cm2","CD/CM2","1",1,false],[false,"Lambert","Lmb","LMB","brightness",3183.098861837907,[-2,0,0,0,0,0,1],"L","cgs",true,null,null,1,false,false,0,0,"luminance; lamberts","UCUM","","Clinical","unit of luminance defined as 1 lambert = 1/ \u03c0 candela per square meter","cd/cm2/[pi]","CD/CM2/[PI]","1",1,false],[false,"phot","ph","PHT","illuminance",0.0001,[-2,0,0,2,0,0,1],"ph","cgs",true,null,null,1,false,false,0,0,"phots","UCUM","","Clinical","CGS photometric unit of illuminance, or luminous flux through an area equal to 10000 lumens per square meter = 10000 lux","lx","LX","1e-4",0.0001,false],[false,"Curie","Ci","CI","radioactivity",37000000000,[0,-1,0,0,0,0,0],"Ci","cgs",true,null,null,1,false,false,0,0,"curies","UCUM","","Obsolete","unit for measuring atomic disintegration rate; replaced by the Bequerel (Bq) unit","Bq","BQ","37e9",37000000000,false],[false,"Roentgen","R","ROE","ion dose",2.58e-7,[0,0,-1,0,0,1,0],"R","cgs",true,null,null,1,false,false,0,0,"r\xf6ntgen; Roentgens","UCUM","","Clinical","unit of exposure of X-rays and gamma rays in air; unit used primarily in the US but strongly discouraged by NIST","C/kg","C/KG","2.58e-4",0.000258,false],[false,"radiation absorbed dose","RAD","[RAD]","energy dose",0.01,[2,-2,0,0,0,0,0],"RAD","cgs",true,null,null,1,false,false,0,0,"doses","UCUM","","Clinical","unit of radiation absorbed dose used primarily in the US with base units 100 ergs per gram of material. Also see the SI unit Gray (Gy).","erg/g","ERG/G","100",100,false],[false,"radiation equivalent man","REM","[REM]","dose equivalent",0.01,[2,-2,0,0,0,0,0],"REM","cgs",true,null,null,1,false,false,0,0,"Roentgen Equivalent in Man; rems; dose equivalents","UCUM","","Clinical","unit of equivalent dose which measures the effect of radiation on humans equal to 0.01 sievert. Used primarily in the US. Also see SI unit Sievert (Sv)","RAD","[RAD]","1",1,false],[false,"inch","[in_i]","[IN_I]","length",0.025400000000000002,[1,0,0,0,0,0,0],"in","intcust",false,null,null,1,false,false,0,0,"inches; in; international inch; body height","UCUM","Len","Clinical","standard unit for inch in the US and internationally","cm","CM","254e-2",2.54,false],[false,"foot","[ft_i]","[FT_I]","length",0.3048,[1,0,0,0,0,0,0],"ft","intcust",false,null,null,1,false,false,0,0,"ft; fts; foot; international foot; feet; international feet; height","UCUM","Len","Clinical","unit used in the US and internationally","[in_i]","[IN_I]","12",12,false],[false,"yard","[yd_i]","[YD_I]","length",0.9144000000000001,[1,0,0,0,0,0,0],"yd","intcust",false,null,null,1,false,false,0,0,"international yards; yds; distance","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","3",3,false],[false,"mile","[mi_i]","[MI_I]","length",1609.344,[1,0,0,0,0,0,0],"mi","intcust",false,null,null,1,false,false,0,0,"international miles; mi I; statute mile","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","5280",5280,false],[false,"fathom","[fth_i]","[FTH_I]","depth of water",1.8288000000000002,[1,0,0,0,0,0,0],"fth","intcust",false,null,null,1,false,false,0,0,"international fathoms","UCUM","Len","Nonclinical","unit used in the US and internationally to measure depth of water; same length as the US fathom","[ft_i]","[FT_I]","6",6,false],[false,"nautical mile","[nmi_i]","[NMI_I]","length",1852,[1,0,0,0,0,0,0],"n.mi","intcust",false,null,null,1,false,false,0,0,"nautical mile; nautical miles; international nautical mile; international nautical miles; nm; n.m.; nmi","UCUM","Len","Nonclinical","standard unit used in the US and internationally","m","M","1852",1852,false],[false,"knot","[kn_i]","[KN_I]","velocity",0.5144444444444445,[1,-1,0,0,0,0,0],"knot","intcust",false,null,null,1,false,false,0,0,"kn; kt; international knots","UCUM","Vel","Nonclinical","defined as equal to one nautical mile (1.852 km) per hour","[nmi_i]/h","[NMI_I]/H","1",1,false],[false,"square inch","[sin_i]","[SIN_I]","area",0.0006451600000000001,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,0,"in2; in^2; inches squared; sq inch; inches squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[in_i]2","[IN_I]2","1",1,false],[false,"square foot","[sft_i]","[SFT_I]","area",0.09290304,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,0,"ft2; ft^2; ft squared; sq ft; feet; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[ft_i]2","[FT_I]2","1",1,false],[false,"square yard","[syd_i]","[SYD_I]","area",0.8361273600000002,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,0,"yd2; yd^2; sq. yds; yards squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[yd_i]2","[YD_I]2","1",1,false],[false,"cubic inch","[cin_i]","[CIN_I]","volume",0.000016387064000000006,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,0,"in3; in^3; in*3; inches^3; inches*3; cu. in; cu in; cubic inches; inches cubed; cin","UCUM","Vol","Clinical","standard unit used in the US and internationally","[in_i]3","[IN_I]3","1",1,false],[false,"cubic foot","[cft_i]","[CFT_I]","volume",0.028316846592000004,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,0,"ft3; ft^3; ft*3; cu. ft; cubic feet; cubed; [ft_i]3; international","UCUM","Vol","Clinical","","[ft_i]3","[FT_I]3","1",1,false],[false,"cubic yard","[cyd_i]","[CYD_I]","volume",0.7645548579840002,[3,0,0,0,0,0,0],"cu.yd","intcust",false,null,null,1,false,false,0,0,"cubic yards; cubic yds; cu yards; CYs; yards^3; yd^3; yds^3; yd3; yds3","UCUM","Vol","Nonclinical","standard unit used in the US and internationally","[yd_i]3","[YD_I]3","1",1,false],[false,"board foot","[bf_i]","[BF_I]","volume",0.0023597372160000006,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,0,"BDFT; FBM; BF; board feet; international","UCUM","Vol","Nonclinical","unit of volume used to measure lumber","[in_i]3","[IN_I]3","144",144,false],[false,"cord","[cr_i]","[CR_I]","volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,0,"crd I; international cords","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3","[ft_i]3","[FT_I]3","128",128,false],[false,"mil","[mil_i]","[MIL_I]","length",0.000025400000000000004,[1,0,0,0,0,0,0],"mil","intcust",false,null,null,1,false,false,0,0,"thou, thousandth; mils; international","UCUM","Len","Clinical","equal to 0.001 international inch","[in_i]","[IN_I]","1e-3",0.001,false],[false,"circular mil","[cml_i]","[CML_I]","area",5.067074790974979e-10,[2,0,0,0,0,0,0],"circ.mil","intcust",false,null,null,1,false,false,0,0,"circular mils; cml I; international","UCUM","Area","Clinical","","[pi]/4.[mil_i]2","[PI]/4.[MIL_I]2","1",1,false],[false,"hand","[hd_i]","[HD_I]","height of horses",0.10160000000000001,[1,0,0,0,0,0,0],"hd","intcust",false,null,null,1,false,false,0,0,"hands; international","UCUM","Len","Nonclinical","used to measure horse height","[in_i]","[IN_I]","4",4,false],[false,"foot - US","[ft_us]","[FT_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],"ft<sub>us</sub>","us-lengths",false,null,null,1,false,false,0,0,"US foot; foot US; us ft; ft us; height; visual distance; feet","UCUM","Len","Obsolete","Better to use [ft_i] which refers to the length used worldwide, including in the US;  [ft_us] may be confused with land survey units. ","m/3937","M/3937","1200",1200,false],[false,"yard - US","[yd_us]","[YD_US]","length",0.9144018288036575,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"US yards; us yds; distance","UCUM","Len; Nrat","Obsolete","Better to use [yd_i] which refers to the length used worldwide, including in the US; [yd_us] refers to unit used in land surveys in the US","[ft_us]","[FT_US]","3",3,false],[false,"inch - US","[in_us]","[IN_US]","length",0.0254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"US inches; in us; us in; inch US","UCUM","Len","Obsolete","Better to use [in_i] which refers to the length used worldwide, including in the US","[ft_us]/12","[FT_US]/12","1",1,false],[false,"rod - US","[rd_us]","[RD_US]","length",5.029210058420117,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"US rod; US rods; rd US; US rd","UCUM","Len","Obsolete","","[ft_us]","[FT_US]","16.5",16.5,false],[false,"Gunter\'s chain - US","[ch_us]","[CH_US]","length",20.116840233680467,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"surveyor\'s chain; Surveyor\'s chain USA; Gunter\u2019s measurement; surveyor\u2019s measurement; Gunter\'s Chain USA","UCUM","Len","Obsolete","historical unit used for land survey used only in the US","[rd_us]","[RD_US]","4",4,false],[false,"link for Gunter\'s chain - US","[lk_us]","[LK_US]","length",0.20116840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"Links for Gunter\'s Chain USA","UCUM","Len","Obsolete","","[ch_us]/100","[CH_US]/100","1",1,false],[false,"Ramden\'s chain - US","[rch_us]","[RCH_US]","length",30.480060960121918,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"Ramsden\'s chain; engineer\'s chains","UCUM","Len","Obsolete","distance measuring device used for\xa0land survey","[ft_us]","[FT_US]","100",100,false],[false,"link for Ramden\'s chain - US","[rlk_us]","[RLK_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"links for Ramsden\'s chain","UCUM","Len","Obsolete","","[rch_us]/100","[RCH_US]/100","1",1,false],[false,"fathom - US","[fth_us]","[FTH_US]","length",1.828803657607315,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"US fathoms; fathom USA; fth us","UCUM","Len","Obsolete","same length as the international fathom - better to use international fathom ([fth_i])","[ft_us]","[FT_US]","6",6,false],[false,"furlong - US","[fur_us]","[FUR_US]","length",201.16840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"US furlongs; fur us","UCUM","Len","Nonclinical","distance unit in horse racing","[rd_us]","[RD_US]","40",40,false],[false,"mile - US","[mi_us]","[MI_US]","length",1609.3472186944373,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"U.S. Survey Miles; US statute miles; survey mi; US mi; distance","UCUM","Len","Nonclinical","Better to use [mi_i] which refers to the length used worldwide, including in the US","[fur_us]","[FUR_US]","8",8,false],[false,"acre - US","[acr_us]","[ACR_US]","area",4046.872609874252,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"Acre USA Survey; Acre USA; survey acres","UCUM","Area","Nonclinical","an older unit based on pre 1959 US statute lengths that is still sometimes used in the US only for land survey purposes. ","[rd_us]2","[RD_US]2","160",160,false],[false,"square rod - US","[srd_us]","[SRD_US]","area",25.292953811714074,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"rod2; rod^2; sq. rod; rods squared","UCUM","Area","Nonclinical","Used only in the US to measure land area, based on US statute land survey length units","[rd_us]2","[RD_US]2","1",1,false],[false,"square mile - US","[smi_us]","[SMI_US]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"mi2; mi^2; sq mi; miles squared","UCUM","Area","Nonclinical","historical unit used only in the US for land survey purposes (based on the US survey mile), not the internationally recognized [mi_i]","[mi_us]2","[MI_US]2","1",1,false],[false,"section","[sct]","[SCT]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"sct; sections","UCUM","Area","Nonclinical","tract of land approximately equal to 1 mile square containing 640 acres","[mi_us]2","[MI_US]2","1",1,false],[false,"township","[twp]","[TWP]","area",93239944.93150276,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"twp; townships","UCUM","Area","Nonclinical","land measurement equal to 6 mile square","[sct]","[SCT]","36",36,false],[false,"mil - US","[mil_us]","[MIL_US]","length",0.0000254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"thou, thousandth; mils","UCUM","Len","Obsolete","better to use [mil_i] which is based on the internationally recognized inch","[in_us]","[IN_US]","1e-3",0.001,false],[false,"inch - British","[in_br]","[IN_BR]","length",0.025399980000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"imperial inches; imp in; br in; british inches","UCUM","Len","Obsolete","","cm","CM","2.539998",2.539998,false],[false,"foot - British","[ft_br]","[FT_BR]","length",0.30479976000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"British Foot; Imperial Foot; feet; imp fts; br fts","UCUM","Len","Obsolete","","[in_br]","[IN_BR]","12",12,false],[false,"rod - British","[rd_br]","[RD_BR]","length",5.02919604,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"British rods; br rd","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","16.5",16.5,false],[false,"Gunter\'s chain - British","[ch_br]","[CH_BR]","length",20.11678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"Gunter\'s Chain British; Gunters Chain British; Surveyor\'s Chain British","UCUM","Len","Obsolete","historical unit used for land survey used only in Great Britain","[rd_br]","[RD_BR]","4",4,false],[false,"link for Gunter\'s chain - British","[lk_br]","[LK_BR]","length",0.2011678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"Links for Gunter\'s Chain British","UCUM","Len","Obsolete","","[ch_br]/100","[CH_BR]/100","1",1,false],[false,"fathom - British","[fth_br]","[FTH_BR]","length",1.82879856,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"British fathoms; imperial fathoms; br fth; imp fth","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6",6,false],[false,"pace - British","[pc_br]","[PC_BR]","length",0.7619994000000001,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"British paces; br pc","UCUM","Len","Nonclinical","traditional unit of length equal to 152.4 centimeters, or 1.52 meter. ","[ft_br]","[FT_BR]","2.5",2.5,false],[false,"yard - British","[yd_br]","[YD_BR]","length",0.91439928,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"British yards; Br yds; distance","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","3",3,false],[false,"mile - British","[mi_br]","[MI_BR]","length",1609.3427328000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"imperial miles; British miles; English statute miles; imp mi, br mi","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","5280",5280,false],[false,"nautical mile - British","[nmi_br]","[NMI_BR]","length",1853.1825408000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"British nautical miles; Imperial nautical miles; Admiralty miles; n.m. br; imp nm","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6080",6080,false],[false,"knot - British","[kn_br]","[KN_BR]","velocity",0.5147729280000001,[1,-1,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"British knots; kn br; kt","UCUM","Vel","Obsolete","based on obsolete British nautical mile ","[nmi_br]/h","[NMI_BR]/H","1",1,false],[false,"acre","[acr_br]","[ACR_BR]","area",4046.850049400269,[2,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"Imperial acres; British; a; ac; ar; acr","UCUM","Area","Nonclinical","the standard unit for acre used in the US and internationally","[yd_br]2","[YD_BR]2","4840",4840,false],[false,"gallon - US","[gal_us]","[GAL_US]","fluid volume",0.0037854117840000014,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"US gallons; US liquid gallon; gal us; Queen Anne\'s wine gallon","UCUM","Vol","Nonclinical","only gallon unit used in the US; [gal_us] is only used in some other countries in South American and Africa to measure gasoline volume","[in_i]3","[IN_I]3","231",231,false],[false,"barrel - US","[bbl_us]","[BBL_US]","fluid volume",0.15898729492800007,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"bbl","UCUM","Vol","Nonclinical","[bbl_us] is the standard unit for oil barrel, which is a unit only used in the US to measure the volume oil. ","[gal_us]","[GAL_US]","42",42,false],[false,"quart - US","[qt_us]","[QT_US]","fluid volume",0.0009463529460000004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"US quarts; us qts","UCUM","Vol","Clinical","Used only in the US","[gal_us]/4","[GAL_US]/4","1",1,false],[false,"pint - US","[pt_us]","[PT_US]","fluid volume",0.0004731764730000002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"US pints; pint US; liquid pint; pt us; us pt","UCUM","Vol","Clinical","Used only in the US","[qt_us]/2","[QT_US]/2","1",1,false],[false,"gill - US","[gil_us]","[GIL_US]","fluid volume",0.00011829411825000005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"US gills; gil us","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in the US","[pt_us]/4","[PT_US]/4","1",1,false],[false,"fluid ounce - US","[foz_us]","[FOZ_US]","fluid volume",0.00002957352956250001,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,0,"US fluid ounces; fl ozs; FO; fl. oz.; foz us","UCUM","Vol","Clinical","unit used only in the US","[gil_us]/4","[GIL_US]/4","1",1,false],[false,"fluid dram - US","[fdr_us]","[FDR_US]","fluid volume",0.0000036966911953125014,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"US fluid drams; fdr us","UCUM","Vol","Nonclinical","equal to 1/8 US fluid ounce = 3.69 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_us]/8","[FOZ_US]/8","1",1,false],[false,"minim - US","[min_us]","[MIN_US]","fluid volume",6.161151992187503e-8,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"min US; US min; \u264f US","UCUM","Vol","Obsolete","","[fdr_us]/60","[FDR_US]/60","1",1,false],[false,"cord - US","[crd_us]","[CRD_US]","fluid volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"US cord; US cords; crd us; us crd","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3 (the same as international cord [cr_i])","[ft_i]3","[FT_I]3","128",128,false],[false,"bushel - US","[bu_us]","[BU_US]","dry volume",0.035239070166880014,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"US bushels; US bsh; US bu","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[in_i]3","[IN_I]3","2150.42",2150.42,false],[false,"gallon - historical","[gal_wi]","[GAL_WI]","dry volume",0.004404883770860002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"Corn Gallon British; Dry Gallon US; Gallons Historical; Grain Gallon British; Winchester Corn Gallon; historical winchester gallons; wi gal","UCUM","Vol","Obsolete","historical unit of dry volume no longer used","[bu_us]/8","[BU_US]/8","1",1,false],[false,"peck - US","[pk_us]","[PK_US]","dry volume",0.008809767541720004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"US pecks; US pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[bu_us]/4","[BU_US]/4","1",1,false],[false,"dry quart - US","[dqt_us]","[DQT_US]","dry volume",0.0011012209427150004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"dry quarts; dry quart US; US dry quart; dry qt; us dry qt; dqt; dqt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[pk_us]/8","[PK_US]/8","1",1,false],[false,"dry pint - US","[dpt_us]","[DPT_US]","dry volume",0.0005506104713575002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"dry pints; dry pint US; US dry pint; dry pt; dpt; dpt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[dqt_us]/2","[DQT_US]/2","1",1,false],[false,"tablespoon - US","[tbs_us]","[TBS_US]","volume",0.000014786764781250006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"Tbs; tbsp; tbs us; US tablespoons","UCUM","Vol","Clinical","unit defined as 0.5 US fluid ounces or 3 teaspoons - used only in the US. See [tbs_m] for the unit used internationally and in the US for nutrional labelling. ","[foz_us]/2","[FOZ_US]/2","1",1,false],[false,"teaspoon - US","[tsp_us]","[TSP_US]","volume",0.000004928921593750002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"tsp; t; US teaspoons","UCUM","Vol","Nonclinical","unit defined as 1/6 US fluid ounces - used only in the US. See [tsp_m] for the unit used internationally and in the US for nutrional labelling. ","[tbs_us]/3","[TBS_US]/3","1",1,false],[false,"cup - US customary","[cup_us]","[CUP_US]","volume",0.0002365882365000001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"cup us; us cups","UCUM","Vol","Nonclinical","Unit defined as 1/2 US pint or 16 US tablespoons \u2248 236.59 mL, which is not the standard unit defined by the FDA of 240 mL - see [cup_m] (metric cup)","[tbs_us]","[TBS_US]","16",16,false],[false,"fluid ounce - metric","[foz_m]","[FOZ_M]","fluid volume",0.000029999999999999997,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,0,"metric fluid ounces; fozs m; fl ozs m","UCUM","Vol","Clinical","unit used only in the US for nutritional labelling, as set by the FDA","mL","ML","30",30,false],[false,"cup - US legal","[cup_m]","[CUP_M]","volume",0.00023999999999999998,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"cup m; metric cups","UCUM","Vol","Clinical","standard unit equal to 240 mL used in the US for nutritional labelling, as defined by the FDA. Note that this is different from the US customary cup (236.59 mL) and the metric cup used in Commonwealth nations (250 mL).","mL","ML","240",240,false],[false,"teaspoon - metric","[tsp_m]","[TSP_M]","volume",0.0000049999999999999996,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"tsp; t; metric teaspoons","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","5",5,false],[false,"tablespoon - metric","[tbs_m]","[TBS_M]","volume",0.000014999999999999999,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"metric tablespoons; Tbs; tbsp; T; tbs m","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","15",15,false],[false,"gallon- British","[gal_br]","[GAL_BR]","volume",0.004546090000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"imperial gallons, UK gallons; British gallons; br gal; imp gal","UCUM","Vol","Nonclinical","Used only in Great Britain and other Commonwealth countries","l","L","4.54609",4.54609,false],[false,"peck - British","[pk_br]","[PK_BR]","volume",0.009092180000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"imperial pecks; British pecks; br pk; imp pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[gal_br]","[GAL_BR]","2",2,false],[false,"bushel - British","[bu_br]","[BU_BR]","volume",0.03636872000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"British bushels; imperial; br bsh; br bu; imp","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[pk_br]","[PK_BR]","4",4,false],[false,"quart - British","[qt_br]","[QT_BR]","volume",0.0011365225000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"British quarts; imperial quarts; br qts","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gal_br]/4","[GAL_BR]/4","1",1,false],[false,"pint - British","[pt_br]","[PT_BR]","volume",0.0005682612500000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"British pints; imperial pints; pt br; br pt; imp pt; pt imp","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[qt_br]/2","[QT_BR]/2","1",1,false],[false,"gill - British","[gil_br]","[GIL_BR]","volume",0.00014206531250000003,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"imperial gills; British gills; imp gill, br gill","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in Great Britain","[pt_br]/4","[PT_BR]/4","1",1,false],[false,"fluid ounce - British","[foz_br]","[FOZ_BR]","volume",0.000028413062500000005,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"British fluid ounces; Imperial fluid ounces; br fozs; imp fozs; br fl ozs","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gil_br]/5","[GIL_BR]/5","1",1,false],[false,"fluid dram - British","[fdr_br]","[FDR_BR]","volume",0.0000035516328125000006,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"British fluid drams; fdr br","UCUM","Vol","Nonclinical","equal to 1/8 Imperial fluid ounce = 3.55 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_br]/8","[FOZ_BR]/8","1",1,false],[false,"minim - British","[min_br]","[MIN_BR]","volume",5.919388020833334e-8,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"min br; br min; \u264f br","UCUM","Vol","Obsolete","","[fdr_br]/60","[FDR_BR]/60","1",1,false],[false,"grain","[gr]","[GR]","mass",0.06479891,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,0,"gr; grains","UCUM","Mass","Nonclinical","an apothecary measure of mass rarely used today","mg","MG","64.79891",64.79891,false],[false,"pound","[lb_av]","[LB_AV]","mass",453.59237,[0,0,1,0,0,0,0],"lb","avoirdupois",false,null,null,1,false,false,0,0,"avoirdupois pounds, international pounds; av lbs; pounds","UCUM","Mass","Clinical","standard unit used in the US and internationally","[gr]","[GR]","7000",7000,false],[false,"pound force - US","[lbf_av]","[LBF_AV]","force",4448.2216152605,[1,-2,1,0,0,0,0],"lbf","const",false,null,null,1,false,false,0,0,"lbfs; US lbf; US pound forces","UCUM","Force","Clinical","only rarely needed in health care - see [lb_av] which is the more common unit to express weight","[lb_av].[g]","[LB_AV].[G]","1",1,false],[false,"ounce","[oz_av]","[OZ_AV]","mass",28.349523125,[0,0,1,0,0,0,0],"oz","avoirdupois",false,null,null,1,false,false,0,0,"ounces; international ounces; avoirdupois ounces; av ozs","UCUM","Mass","Clinical","standard unit used in the US and internationally","[lb_av]/16","[LB_AV]/16","1",1,false],[false,"Dram mass unit","[dr_av]","[DR_AV]","mass",1.7718451953125,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,0,"Dram; drams avoirdupois; avoidupois dram; international dram","UCUM","Mass","Clinical","unit from the avoirdupois system, which is used in the US and internationally","[oz_av]/16","[OZ_AV]/16","1",1,false],[false,"short hundredweight","[scwt_av]","[SCWT_AV]","mass",45359.237,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,0,"hundredweights; s cwt; scwt; avoirdupois","UCUM","Mass","Nonclinical","Used only in the US to equal 100 pounds","[lb_av]","[LB_AV]","100",100,false],[false,"long hundredweight","[lcwt_av]","[LCWT_AV]","mass",50802.345440000005,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,0,"imperial hundredweights; imp cwt; lcwt; avoirdupois","UCUM","Mass","Obsolete","","[lb_av]","[LB_AV]","112",112,false],[false,"short ton - US","[ston_av]","[STON_AV]","mass",907184.74,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,0,"ton; US tons; avoirdupois tons","UCUM","Mass","Clinical","Used only in the US","[scwt_av]","[SCWT_AV]","20",20,false],[false,"long ton - British","[lton_av]","[LTON_AV]","mass",1016046.9088000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,0,"imperial tons; weight tons; British long tons; long ton avoirdupois","UCUM","Mass","Nonclinical","Used only in Great Britain and other Commonwealth countries","[lcwt_av]","[LCWT_AV]","20",20,false],[false,"stone - British","[stone_av]","[STONE_AV]","mass",6350.293180000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,0,"British stones; avoirdupois","UCUM","Mass","Nonclinical","Used primarily in the UK and Ireland to measure body weight","[lb_av]","[LB_AV]","14",14,false],[false,"pennyweight - troy","[pwt_tr]","[PWT_TR]","mass",1.5551738400000001,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,0,"dwt; denarius weights","UCUM","Mass","Obsolete","historical unit used to measure mass and cost of precious metals","[gr]","[GR]","24",24,false],[false,"ounce - troy","[oz_tr]","[OZ_TR]","mass",31.103476800000003,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,0,"troy ounces; tr ozs","UCUM","Mass","Nonclinical","unit of mass for precious metals and gemstones only","[pwt_tr]","[PWT_TR]","20",20,false],[false,"pound - troy","[lb_tr]","[LB_TR]","mass",373.2417216,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,0,"troy pounds; tr lbs","UCUM","Mass","Nonclinical","only used for weighing precious metals","[oz_tr]","[OZ_TR]","12",12,false],[false,"scruple","[sc_ap]","[SC_AP]","mass",1.2959782,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,0,"scruples; sc ap","UCUM","Mass","Obsolete","","[gr]","[GR]","20",20,false],[false,"dram - apothecary","[dr_ap]","[DR_AP]","mass",3.8879346,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,0,"\u0292; drachm; apothecaries drams; dr ap; dram ap","UCUM","Mass","Nonclinical","unit still used in the US occasionally to measure amount of drugs in pharmacies","[sc_ap]","[SC_AP]","3",3,false],[false,"ounce - apothecary","[oz_ap]","[OZ_AP]","mass",31.1034768,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,0,"apothecary ounces; oz ap; ap ozs; ozs ap","UCUM","Mass","Obsolete","","[dr_ap]","[DR_AP]","8",8,false],[false,"pound - apothecary","[lb_ap]","[LB_AP]","mass",373.2417216,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,0,"apothecary pounds; apothecaries pounds; ap lb; lb ap; ap lbs; lbs ap","UCUM","Mass","Obsolete","","[oz_ap]","[OZ_AP]","12",12,false],[false,"ounce - metric","[oz_m]","[OZ_M]","mass",28,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,0,"metric ounces; m ozs","UCUM","Mass","Clinical","see [oz_av] (the avoirdupois ounce) for the standard ounce used internationally; [oz_m] is equal to 28 grams and is based on the apothecaries\' system of mass units which is used in some US pharmacies. ","g","g","28",28,false],[false,"line","[lne]","[LNE]","length",0.002116666666666667,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"British lines; br L; L; l","UCUM","Len","Obsolete","","[in_i]/12","[IN_I]/12","1",1,false],[false,"point (typography)","[pnt]","[PNT]","length",0.0003527777777777778,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"DTP points; desktop publishing point; pt; pnt","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[lne]/6","[LNE]/6","1",1,false],[false,"pica (typography)","[pca]","[PCA]","length",0.004233333333333334,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt]","[PNT]","12",12,false],[false,"Printer\'s point (typography)","[pnt_pr]","[PNT_PR]","length",0.00035145980000000004,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"pnt pr","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[in_i]","[IN_I]","0.013837",0.013837,false],[false,"Printer\'s pica  (typography)","[pca_pr]","[PCA_PR]","length",0.004217517600000001,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"pca pr; Printer\'s picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt_pr]","[PNT_PR]","12",12,false],[false,"pied","[pied]","[PIED]","length",0.3248,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"pieds du roi; Paris foot; royal; French; feet","UCUM","Len","Obsolete","","cm","CM","32.48",32.48,false],[false,"pouce","[pouce]","[POUCE]","length",0.027066666666666666,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"historical French inches; French royal inches","UCUM","Len","Obsolete","","[pied]/12","[PIED]/12","1",1,false],[false,"ligne","[ligne]","[LIGNE]","length",0.0022555555555555554,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"Paris lines; lignes","UCUM","Len","Obsolete","","[pouce]/12","[POUCE]/12","1",1,false],[false,"didot","[didot]","[DIDOT]","length",0.0003759259259259259,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"Didot point; dd; Didots Point; didots; points","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[ligne]/6","[LIGNE]/6","1",1,false],[false,"cicero","[cicero]","[CICERO]","length",0.004511111111111111,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"Didot\'s pica; ciceros; picas","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[didot]","[DIDOT]","12",12,false],[false,"degrees Fahrenheit","[degF]","[DEGF]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0F","heat",false,null,"degF",1,true,false,0,0,"\xb0F; deg F","UCUM","Temp","Clinical","","K",null,null,0.5555555555555556,false],[false,"degrees Rankine","[degR]","[degR]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0R","heat",false,null,null,1,false,false,0,0,"\xb0R; \xb0Ra; Rankine","UCUM","Temp","Obsolete","Replaced by Kelvin","K/9","K/9","5",5,false],[false,"degrees R\xe9aumur","[degRe]","[degRe]","temperature",1.25,[0,0,0,0,1,0,0],"\xb0R\xe9","heat",false,null,"degRe",1,true,false,0,0,"\xb0R\xe9, \xb0Re, \xb0r; R\xe9aumur; degree Reaumur; Reaumur","UCUM","Temp","Obsolete","replaced by Celsius","K",null,null,1.25,false],[false,"calorie at 15\xb0C","cal_[15]","CAL_[15]","energy",4185.8,[2,-2,1,0,0,0,0],"cal<sub>15\xb0C</sub>","heat",true,null,null,1,false,false,0,0,"calorie 15 C; cals 15 C; calories at 15 C","UCUM","Enrg","Nonclinical","equal to 4.1855 joules; calorie most often used in engineering","J","J","4.18580",4.1858,false],[false,"calorie at 20\xb0C","cal_[20]","CAL_[20]","energy",4181.9,[2,-2,1,0,0,0,0],"cal<sub>20\xb0C</sub>","heat",true,null,null,1,false,false,0,0,"calorie 20 C; cal 20 C; calories at 20 C","UCUM","Enrg","Clinical","equal to 4.18190  joules. ","J","J","4.18190",4.1819,false],[false,"mean calorie","cal_m","CAL_M","energy",4190.0199999999995,[2,-2,1,0,0,0,0],"cal<sub>m</sub>","heat",true,null,null,1,false,false,0,0,"mean cals; mean calories","UCUM","Enrg","Clinical","equal to 4.19002 joules. ","J","J","4.19002",4.19002,false],[false,"international table calorie","cal_IT","CAL_IT","energy",4186.8,[2,-2,1,0,0,0,0],"cal<sub>IT</sub>","heat",true,null,null,1,false,false,0,0,"calories IT; IT cals; international steam table calories","UCUM","Enrg","Nonclinical","used in engineering steam tables and defined as 1/860 international watt-hour; equal to 4.1868 joules","J","J","4.1868",4.1868,false],[false,"thermochemical calorie","cal_th","CAL_TH","energy",4184,[2,-2,1,0,0,0,0],"cal<sub>th</sub>","heat",true,null,null,1,false,false,0,0,"thermochemical calories; th cals","UCUM","Enrg","Clinical","equal to 4.184 joules; used as the unit in medicine and biochemistry (equal to cal)","J","J","4.184",4.184,false],[false,"calorie","cal","CAL","energy",4184,[2,-2,1,0,0,0,0],"cal","heat",true,null,null,1,false,false,0,0,"gram calories; small calories","UCUM","Enrg","Clinical","equal to 4.184 joules (the same value as the thermochemical calorie, which is the most common calorie used in medicine and biochemistry)","cal_th","CAL_TH","1",1,false],[false,"nutrition label Calories","[Cal]","[CAL]","energy",4184000,[2,-2,1,0,0,0,0],"Cal","heat",false,null,null,1,false,false,0,0,"food calories; Cal; kcal","UCUM","Eng","Clinical","","kcal_th","KCAL_TH","1",1,false],[false,"British thermal unit at 39\xb0F","[Btu_39]","[BTU_39]","energy",1059670,[2,-2,1,0,0,0,0],"Btu<sub>39\xb0F</sub>","heat",false,null,null,1,false,false,0,0,"BTU 39F; BTU 39 F; B.T.U. 39 F; B.Th.U. 39 F; BThU 39 F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05967 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05967",1.05967,false],[false,"British thermal unit at 59\xb0F","[Btu_59]","[BTU_59]","energy",1054800,[2,-2,1,0,0,0,0],"Btu<sub>59\xb0F</sub>","heat",false,null,null,1,false,false,0,0,"BTU 59 F; BTU 59F; B.T.U. 59 F; B.Th.U. 59 F; BThU 59F; British thermal units","UCUM","Eng","Nonclinical","equal to  1.05480 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05480",1.0548,false],[false,"British thermal unit at 60\xb0F","[Btu_60]","[BTU_60]","energy",1054680,[2,-2,1,0,0,0,0],"Btu<sub>60\xb0F</sub>","heat",false,null,null,1,false,false,0,0,"BTU 60 F; BTU 60F; B.T.U. 60 F; B.Th.U. 60 F; BThU 60 F; British thermal units 60 F","UCUM","Eng","Nonclinical","equal to 1.05468 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05468",1.05468,false],[false,"mean British thermal unit","[Btu_m]","[BTU_M]","energy",1055870,[2,-2,1,0,0,0,0],"Btu<sub>m</sub>","heat",false,null,null,1,false,false,0,0,"BTU mean; B.T.U. mean; B.Th.U. mean; BThU mean; British thermal units mean; ","UCUM","Eng","Nonclinical","equal to 1.05587 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05587",1.05587,false],[false,"international table British thermal unit","[Btu_IT]","[BTU_IT]","energy",1055055.85262,[2,-2,1,0,0,0,0],"Btu<sub>IT</sub>","heat",false,null,null,1,false,false,0,0,"BTU IT; B.T.U. IT; B.Th.U. IT; BThU IT; British thermal units IT","UCUM","Eng","Nonclinical","equal to 1.055 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05505585262",1.05505585262,false],[false,"thermochemical British thermal unit","[Btu_th]","[BTU_TH]","energy",1054350,[2,-2,1,0,0,0,0],"Btu<sub>th</sub>","heat",false,null,null,1,false,false,0,0,"BTU Th; B.T.U. Th; B.Th.U. Th; BThU Th; thermochemical British thermal units","UCUM","Eng","Nonclinical","equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.054350",1.05435,false],[false,"British thermal unit","[Btu]","[BTU]","energy",1054350,[2,-2,1,0,0,0,0],"btu","heat",false,null,null,1,false,false,0,0,"BTU; B.T.U. ; B.Th.U.; BThU; British thermal units","UCUM","Eng","Nonclinical","equal to the thermochemical British thermal unit equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","[Btu_th]","[BTU_TH]","1",1,false],[false,"horsepower - mechanical","[HP]","[HP]","power",745699.8715822703,[2,-3,1,0,0,0,0],null,"heat",false,null,null,1,false,false,0,0,"imperial horsepowers","UCUM","EngRat","Nonclinical","refers to mechanical horsepower, which is unit used to measure engine power primarily in the US. ","[ft_i].[lbf_av]/s","[FT_I].[LBF_AV]/S","550",550,false],[false,"tex","tex","TEX","linear mass density (of textile thread)",0.001,[-1,0,1,0,0,0,0],"tex","heat",true,null,null,1,false,false,0,0,"linear mass density; texes","UCUM","","Clinical","unit of linear mass density for fibers equal to gram per 1000 meters","g/km","G/KM","1",1,false],[false,"Denier (linear mass density)","[den]","[DEN]","linear mass density (of textile thread)",0.0001111111111111111,[-1,0,1,0,0,0,0],"den","heat",false,null,null,1,false,false,0,0,"den; deniers","UCUM","","Nonclinical","equal to the mass in grams per 9000 meters of the fiber (1 denier = 1 strand of silk)","g/9/km","G/9/KM","1",1,false],[false,"meter of water column","m[H2O]","M[H2O]","pressure",9806650,[-1,-2,1,0,0,0,0],"m\xa0HO<sub><r>2</r></sub>","clinical",true,null,null,1,false,false,0,0,"mH2O; m H2O; meters of water column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"meter of mercury column","m[Hg]","M[HG]","pressure",133322000,[-1,-2,1,0,0,0,0],"m\xa0Hg","clinical",true,null,null,1,false,false,0,0,"mHg; m Hg; meters of mercury column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","133.3220",133.322,false],[false,"inch of water column","[in_i\'H2O]","[IN_I\'H2O]","pressure",249088.91000000003,[-1,-2,1,0,0,0,0],"in\xa0HO<sub><r>2</r></sub>","clinical",false,null,null,1,false,false,0,0,"inches WC; inAq; in H2O; inch of water gauge; iwg; pressure","UCUM","Pres","Clinical","unit of pressure, especially in respiratory and ventilation care","m[H2O].[in_i]/m","M[H2O].[IN_I]/M","1",1,false],[false,"inch of mercury column","[in_i\'Hg]","[IN_I\'HG]","pressure",3386378.8000000003,[-1,-2,1,0,0,0,0],"in\xa0Hg","clinical",false,null,null,1,false,false,0,0,"inHg; in Hg; pressure; inches","UCUM","Pres","Clinical","unit of pressure used in US to measure barometric pressure and occasionally blood pressure (see mm[Hg] for unit used internationally)","m[Hg].[in_i]/m","M[HG].[IN_I]/M","1",1,false],[false,"peripheral vascular resistance unit","[PRU]","[PRU]","fluid resistance",133322000000,[-4,-1,1,0,0,0,0],"P.R.U.","clinical",false,null,null,1,false,false,0,0,"peripheral vascular resistance units; peripheral resistance unit; peripheral resistance units; PRU","UCUM","FldResist","Clinical","used to assess blood flow in the capillaries; equal to 1 mmH.min/mL = 133.3 Pa\xb7min/mL","mm[Hg].s/ml","MM[HG].S/ML","1",1,false],[false,"Wood unit","[wood\'U]","[WOOD\'U]","fluid resistance",7999320000,[-4,-1,1,0,0,0,0],"Wood U.","clinical",false,null,null,1,false,false,0,0,"hybrid reference units; HRU; mmHg.min/L; vascular resistance","UCUM","Pres","Clinical","simplified unit of measurement for for measuring pulmonary vascular resistance that uses pressure; equal to mmHg.min/L","mm[Hg].min/L","MM[HG].MIN/L","1",1,false],[false,"diopter (lens)","[diop]","[DIOP]","refraction of a lens",1,[1,0,0,0,0,0,0],"dpt","clinical",false,null,"inv",1,false,false,0,0,"diopters; diop; dioptre; dpt; refractive power","UCUM","InvLen","Clinical","unit of optical power of lens represented by inverse meters (m^-1)","m","/M","1",1,false],[false,"prism diopter (magnifying power)","[p\'diop]","[P\'DIOP]","refraction of a prism",1,[0,0,0,1,0,0,0],"PD","clinical",false,null,"tanTimes100",1,true,false,0,0,"diopters; dioptres; p diops; pdiop; dpt; pdptr; \u0394; cm/m; centimeter per meter; centimetre; metre","UCUM","Angle","Clinical","unit for prism correction in eyeglass prescriptions","rad",null,null,1,false],[false,"percent of slope","%[slope]","%[SLOPE]","slope",0.017453292519943295,[0,0,0,1,0,0,0],"%","clinical",false,null,"100tan",1,true,false,0,0,"% slope; %slope; percents slopes","UCUM","VelFr; ElpotRatFr; VelRtoFr; AccelFr","Clinical","","deg",null,null,1,false],[false,"mesh","[mesh_i]","[MESH_I]","lineic number",0.025400000000000002,[1,0,0,0,0,0,0],null,"clinical",false,null,"inv",1,false,false,0,0,"meshes","UCUM","NLen (lineic number)","Clinical","traditional unit of length defined as the number of strands or particles per inch","[in_i]","/[IN_I]","1",1,false],[false,"French (catheter gauge) ","[Ch]","[CH]","gauge of catheters",0.0003333333333333333,[1,0,0,0,0,0,0],"Ch","clinical",false,null,null,1,false,false,0,0,"Charri\xe8res, French scales; French gauges; Fr, Fg, Ga, FR, Ch","UCUM","Len; Circ; Diam","Clinical","","mm/3","MM/3","1",1,false],[false,"drop - metric (1/20 mL)","[drp]","[DRP]","volume",5e-8,[3,0,0,0,0,0,0],"drp","clinical",false,null,null,1,false,false,0,0,"drop dosing units; metric drops; gtt","UCUM","Vol","Clinical","standard unit used in the US and internationally for clinical medicine but note that although [drp] is defined as 1/20 milliliter, in practice, drop sizes will vary due to external factors","ml/20","ML/20","1",1,false],[false,"Hounsfield unit","[hnsf\'U]","[HNSF\'U]","x-ray attenuation",1,[0,0,0,0,0,0,0],"HF","clinical",false,null,null,1,false,false,0,0,"HU; units","UCUM","","Clinical","used to measure X-ray attenuation, especially in CT scans.","1","1","1",1,false],[false,"Metabolic Equivalent of Task ","[MET]","[MET]","metabolic cost of physical activity",5.833333333333334e-11,[3,-1,-1,0,0,0,0],"MET","clinical",false,null,null,1,false,false,0,0,"metabolic equivalents","UCUM","RelEngRat","Clinical","unit used to measure rate of energy expenditure per power in treadmill and other functional tests","mL/min/kg","ML/MIN/KG","3.5",3.5,false],[false,"homeopathic potency of decimal series (retired)","[hp\'_X]","[HP\'_X]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,"hpX",1,true,false,0,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of centesimal series (retired)","[hp\'_C]","[HP\'_C]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,"hpC",1,true,false,0,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of millesimal series (retired)","[hp\'_M]","[HP\'_M]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,"hpM",1,true,false,0,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of quintamillesimal series (retired)","[hp\'_Q]","[HP\'_Q]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,"hpQ",1,true,false,0,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of decimal hahnemannian series","[hp_X]","[HP_X]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal hahnemannian series","[hp_C]","[HP_C]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal hahnemannian series","[hp_M]","[HP_M]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal hahnemannian series","[hp_Q]","[HP_Q]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of decimal korsakovian series","[kp_X]","[KP_X]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal korsakovian series","[kp_C]","[KP_C]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal korsakovian series","[kp_M]","[KP_M]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal korsakovian series","[kp_Q]","[KP_Q]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"equivalent","eq","EQ","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"eq","chemical",true,null,null,1,false,false,0,1,"equivalents","UCUM","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"osmole","osm","OSM","amount of substance (dissolved particles)",6.0221367e+23,[0,0,0,0,0,0,0],"osm","chemical",true,null,null,1,false,false,1,0,"osmoles; osmols","UCUM","Osmol","Clinical","the number of moles of solute that contribute to the osmotic pressure of a solution","mol","MOL","1",1,false],[false,"pH","[pH]","[PH]","acidity",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"pH","chemical",false,null,"pH",1,true,false,0,0,"pH scale","UCUM","LogCnc","Clinical","Log concentration of H+","mol/l",null,null,1,false],[false,"gram percent","g%","G%","mass concentration",10000,[-3,0,1,0,0,0,0],"g%","chemical",true,null,null,1,false,false,0,0,"gram %; gram%; grams per deciliter; g/dL; gm per dL; gram percents","UCUM","MCnc","Clinical","equivalent to unit gram per deciliter (g/dL), a unit often used in medical tests to represent solution concentrations","g/dl","G/DL","1",1,false],[false,"Svedberg unit","[S]","[S]","sedimentation coefficient",1e-13,[0,1,0,0,0,0,0],"S","chemical",false,null,null,1,false,false,0,0,"Sv; 10^-13 seconds; 100 fs; 100 femtoseconds","UCUM","Time","Clinical","unit of time used in measuring particle\'s sedimentation rate, usually after centrifugation. ","s","10*-13.S","1",1e-13,false],[false,"high power field (microscope)","[HPF]","[HPF]","view area in microscope",1,[0,0,0,0,0,0,0],"HPF","chemical",false,null,null,1,false,false,0,0,"HPF","UCUM","Area","Clinical","area visible under the maximum magnification power of the objective in microscopy (usually 400x)\\n","1","1","1",1,false],[false,"low power field (microscope)","[LPF]","[LPF]","view area in microscope",1,[0,0,0,0,0,0,0],"LPF","chemical",false,null,null,1,false,false,0,0,"LPF; fields","UCUM","Area","Clinical","area visible under the low magnification of the objective in microscopy (usually 100 x)\\n","1","1","100",100,false],[false,"katal","kat","KAT","catalytic activity",6.0221367e+23,[0,-1,0,0,0,0,0],"kat","chemical",true,null,null,1,false,false,1,0,"mol/secs; moles per second; mol*sec-1; mol*s-1; mol.s-1; katals; catalytic activity; enzymatic; enzyme units; activities","UCUM","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"enzyme unit","U","U","catalytic activity",10036894500000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,0,"micromoles per minute; umol/min; umol per minute; umol min-1; enzymatic activity; enzyme activity","UCUM","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"international unit - arbitrary","[iU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"IU","chemical",true,null,null,1,false,true,0,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","1","1","1",1,false],[false,"international unit - arbitrary","[IU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"i.U.","chemical",true,null,null,1,false,true,0,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"arbitary unit","[arb\'U]","[ARB\'U]","arbitrary",1,[0,0,0,0,0,0,0],"arb. U","chemical",false,null,null,1,false,true,0,0,"arbitary units; arb units; arbU","UCUM","Arb","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"United States Pharmacopeia unit","[USP\'U]","[USP\'U]","arbitrary",1,[0,0,0,0,0,0,0],"U.S.P.","chemical",false,null,null,1,false,true,0,0,"USP U; USP\'U","UCUM","Arb","Clinical","a dose unit to express potency of drugs and vitamins defined by the United States Pharmacopoeia; usually 1 USP = 1 IU","1","1","1",1,false],[false,"GPL unit","[GPL\'U]","[GPL\'U]","biologic activity of anticardiolipin IgG",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"GPL Units; GPL U; IgG anticardiolipin units; IgG Phospholipid","UCUM","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"MPL unit","[MPL\'U]","[MPL\'U]","biologic activity of anticardiolipin IgM",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"MPL units; MPL U; MPL\'U; IgM anticardiolipin units; IgM Phospholipid Units ","UCUM","ACnc","Clinical","units for antiphospholipid test","1","1","1",1,false],[false,"APL unit","[APL\'U]","[APL\'U]","biologic activity of anticardiolipin IgA",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"APL units; APL U; IgA anticardiolipin; IgA Phospholipid; biologic activity of","UCUM","AMass; ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"Bethesda unit","[beth\'U]","[BETH\'U]","biologic activity of factor VIII inhibitor",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"BU","UCUM","ACnc","Clinical","measures of blood coagulation inhibitior for many blood factors","1","1","1",1,false],[false,"anti factor Xa unit","[anti\'Xa\'U]","[ANTI\'XA\'U]","biologic activity of factor Xa inhibitor (heparin)",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"units","UCUM","ACnc","Clinical","[anti\'Xa\'U] unit is equivalent to and can be converted to IU/mL. ","1","1","1",1,false],[false,"Todd unit","[todd\'U]","[TODD\'U]","biologic activity antistreptolysin O",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"units","UCUM","InvThres; RtoThres","Clinical","the unit for the results of the testing for antistreptolysin O (ASO)","1","1","1",1,false],[false,"Dye unit","[dye\'U]","[DYE\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"units","UCUM","CCnc","Obsolete","equivalent to the Somogyi unit, which is an enzyme unit for amylase but better to use U, the standard enzyme unit for measuring catalytic activity","1","1","1",1,false],[false,"Somogyi unit","[smgy\'U]","[SMGY\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"Somogyi units; smgy U","UCUM","CAct","Clinical","measures the enzymatic activity of amylase in blood serum - better to use base units mg/mL ","1","1","1",1,false],[false,"Bodansky unit","[bdsk\'U]","[BDSK\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"","UCUM","ACnc","Obsolete","Enzyme unit specific to alkaline phosphatase - better to use standard enzyme unit of U","1","1","1",1,false],[false,"King-Armstrong unit","[ka\'U]","[KA\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"King-Armstrong Units; King units","UCUM","AMass","Obsolete","enzyme units for acid phosphatase - better to use enzyme unit [U]","1","1","1",1,false],[false,"Kunkel unit","[knk\'U]","[KNK\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"Mac Lagan unit","[mclg\'U]","[MCLG\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"galactose index; galactose tolerance test; thymol turbidity test unit; mclg U; units; indexes","UCUM","ACnc","Obsolete","unit for liver tests - previously used in thymol turbidity tests for liver disease diagnoses, and now is sometimes referred to in the oral galactose tolerance test","1","1","1",1,false],[false,"tuberculin unit","[tb\'U]","[TB\'U]","biologic activity of tuberculin",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"TU; units","UCUM","Arb","Clinical","amount of tuberculin antigen -usually in reference to a TB skin test ","1","1","1",1,false],[false,"50% cell culture infectious dose","[CCID_50]","[CCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"CCID<sub>50</sub>","chemical",false,null,null,1,false,true,0,0,"CCID50; 50% cell culture infective doses","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% tissue culture infectious dose","[TCID_50]","[TCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"TCID<sub>50</sub>","chemical",false,null,null,1,false,true,0,0,"TCID50; 50% tissue culture infective dose","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% embryo infectious dose","[EID_50]","[EID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"EID<sub>50</sub>","chemical",false,null,null,1,false,true,0,0,"EID50; 50% embryo infective doses; EID50 Egg Infective Dosage","UCUM","thresNum","Clinical","","1","1","1",1,false],[false,"plaque forming units","[PFU]","[PFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"PFU","chemical",false,null,null,1,false,true,0,0,"PFU","UCUM","ACnc","Clinical","tests usually report unit as number of PFU per unit volume","1","1","1",1,false],[false,"focus forming units (cells)","[FFU]","[FFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"FFU","chemical",false,null,null,1,false,true,0,0,"FFU","UCUM","EntNum","Clinical","","1","1","1",1,false],[false,"colony forming units","[CFU]","[CFU]","amount of a proliferating organism",1,[0,0,0,0,0,0,0],"CFU","chemical",false,null,null,1,false,true,0,0,"CFU","UCUM","Num","Clinical","","1","1","1",1,false],[false,"index of reactivity (allergen)","[IR]","[IR]","amount of an allergen callibrated through in-vivo testing using the Stallergenes\xae method.",1,[0,0,0,0,0,0,0],"IR","chemical",false,null,null,1,false,true,0,0,"IR; indexes","UCUM","Acnc","Clinical","amount of an allergen callibrated through in-vivo testing using the Stallergenes method. Usually reported in tests as IR/mL","1","1","1",1,false],[false,"bioequivalent allergen unit","[BAU]","[BAU]","amount of an allergen callibrated through in-vivo testing based on the ID50EAL method of (intradermal dilution for 50mm sum of erythema diameters",1,[0,0,0,0,0,0,0],"BAU","chemical",false,null,null,1,false,true,0,0,"BAU; Bioequivalent Allergy Units; bioequivalent allergen units","UCUM","Arb","Clinical","","1","1","1",1,false],[false,"allergy unit","[AU]","[AU]","procedure defined amount of an allergen using some reference standard",1,[0,0,0,0,0,0,0],"AU","chemical",false,null,null,1,false,true,0,0,"allergy units; allergen units; AU","UCUM","Arb","Clinical","Most standard test allergy units are reported as [IU] or as %. ","1","1","1",1,false],[false,"allergen unit for Ambrosia artemisiifolia","[Amb\'a\'1\'U]","[AMB\'A\'1\'U]","procedure defined amount of the major allergen of ragweed.",1,[0,0,0,0,0,0,0],"Amb a 1 U","chemical",false,null,null,1,false,true,0,0,"Amb a 1 unit; Antigen E; AgE U; allergen units","UCUM","Arb","Clinical","Amb a 1 is the major allergen in short ragweed, and can be converted Bioequivalent allergen units (BAU) where 350 Amb a 1 U/mL = 100,000 BAU/mL","1","1","1",1,false],[false,"protein nitrogen unit (allergen testing)","[PNU]","[PNU]","procedure defined amount of a protein substance",1,[0,0,0,0,0,0,0],"PNU","chemical",false,null,null,1,false,true,0,0,"protein nitrogen units; PNU","UCUM","Mass","Clinical","defined as 0.01 ug of phosphotungstic acid-precipitable protein nitrogen. Being replaced by bioequivalent allergy units (BAU).","1","1","1",1,false],[false,"Limit of flocculation","[Lf]","[LF]","procedure defined amount of an antigen substance",1,[0,0,0,0,0,0,0],"Lf","chemical",false,null,null,1,false,true,0,0,"Lf doses","UCUM","Arb","Clinical","the antigen content  forming 1:1 ratio against 1 unit of antitoxin","1","1","1",1,false],[false,"D-antigen unit (polio)","[D\'ag\'U]","[D\'AG\'U]","procedure defined amount of a poliomyelitis d-antigen substance",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"DAgU; units","UCUM","Acnc","Clinical","unit of potency of poliovirus vaccine used for poliomyelitis prevention reported as D antigen units/mL. The unit is poliovirus type-specific.","1","1","1",1,false],[false,"fibrinogen equivalent units","[FEU]","[FEU]","amount of fibrinogen broken down into the measured d-dimers",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"FEU","UCUM","MCnc","Clinical","Note both the FEU and DDU units are used to report D-dimer measurements. 1 DDU = 1/2 FFU","1","1","1",1,false],[false,"ELISA unit","[ELU]","[ELU]","arbitrary ELISA unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"Enzyme-Linked Immunosorbent Assay Units; ELU; EL. U","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"Ehrlich units (urobilinogen)","[EU]","[EU]","Ehrlich unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"EU/dL; mg{urobilinogen}/dL","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"neper","Np","NEP","level",1,[0,0,0,0,0,0,0],"Np","levels",true,null,"ln",1,true,false,0,0,"nepers","UCUM","LogRto","Clinical","logarithmic unit for ratios of measurements of physical field and power quantities, such as gain and loss of electronic signals","1",null,null,1,false],[false,"bel","B","B","level",1,[0,0,0,0,0,0,0],"B","levels",true,null,"lg",1,true,false,0,0,"bels","UCUM","LogRto","Clinical","Logarithm of the ratio of power- or field-type quantities; usually expressed in decibels ","1",null,null,1,false],[false,"bel sound pressure","B[SPL]","B[SPL]","pressure level",0.019999999999999997,[-1,-2,1,0,0,0,0],"B(SPL)","levels",true,null,"lgTimes2",1,true,false,0,0,"bel SPL; B SPL; sound pressure bels","UCUM","LogRto","Clinical","used to measure sound level in acoustics","Pa",null,null,0.000019999999999999998,false],[false,"bel volt","B[V]","B[V]","electric potential level",1000,[2,-2,1,0,0,-1,0],"B(V)","levels",true,null,"lgTimes2",1,true,false,0,0,"bel V; B V; volts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","V",null,null,1,false],[false,"bel millivolt","B[mV]","B[MV]","electric potential level",1,[2,-2,1,0,0,-1,0],"B(mV)","levels",true,null,"lgTimes2",1,true,false,0,0,"bel mV; B mV; millivolt bels; 10^-3V bels; 10*-3V ","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","mV",null,null,1,false],[false,"bel microvolt","B[uV]","B[UV]","electric potential level",0.001,[2,-2,1,0,0,-1,0],"B(\u03bcV)","levels",true,null,"lgTimes2",1,true,false,0,0,"bel uV; B uV; microvolts bels; 10^-6V bel; 10*-6V bel","UCUM","LogRto","Clinical","used to express power gain in electrical circuits","uV",null,null,1,false],[false,"bel 10 nanovolt","B[10.nV]","B[10.NV]","electric potential level",0.000010000000000000003,[2,-2,1,0,0,-1,0],"B(10 nV)","levels",true,null,"lgTimes2",1,true,false,0,0,"bel 10 nV; B 10 nV; 10 nanovolts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","nV",null,null,10,false],[false,"bel watt","B[W]","B[W]","power level",1000,[2,-3,1,0,0,0,0],"B(W)","levels",true,null,"lg",1,true,false,0,0,"bel W; b W; b Watt; Watts bels","UCUM","LogRto","Clinical","used to express power","W",null,null,1,false],[false,"bel kilowatt","B[kW]","B[KW]","power level",1000000,[2,-3,1,0,0,0,0],"B(kW)","levels",true,null,"lg",1,true,false,0,0,"bel kW; B kW; kilowatt bel; kW bel; kW B","UCUM","LogRto","Clinical","used to express power","kW",null,null,1,false],[false,"stere","st","STR","volume",1,[3,0,0,0,0,0,0],"st","misc",true,null,null,1,false,false,0,0,"st\xe8re; m3; cubic meter; m^3; meters cubed; metre","UCUM","Vol","Nonclinical","equal to one cubic meter, usually used for measuring firewood","m3","M3","1",1,false],[false,"\xc5ngstr\xf6m","Ao","AO","length",1.0000000000000002e-10,[1,0,0,0,0,0,0],"\xc5","misc",false,null,null,1,false,false,0,0,"\xc5; Angstroms; Ao; \xc5ngstr\xf6ms","UCUM","Len","Clinical","equal to 10^-10 meters; used to express wave lengths and atom scaled differences ","nm","NM","0.1",0.1,false],[false,"barn","b","BRN","action area",1.0000000000000001e-28,[2,0,0,0,0,0,0],"b","misc",false,null,null,1,false,false,0,0,"barns","UCUM","Area","Clinical","used in high-energy physics to express cross-sectional areas","fm2","FM2","100",100,false],[false,"technical atmosphere","att","ATT","pressure",98066500,[-1,-2,1,0,0,0,0],"at","misc",false,null,null,1,false,false,0,0,"at; tech atm; tech atmosphere; kgf/cm2; atms; atmospheres","UCUM","Pres","Obsolete","non-SI unit of pressure equal to one kilogram-force per square centimeter","kgf/cm2","KGF/CM2","1",1,false],[false,"mho","mho","MHO","electric conductance",0.001,[-2,1,-1,0,0,2,0],"mho","misc",true,null,null,1,false,false,0,0,"siemens; ohm reciprocals; \u03a9^\u22121; \u03a9-1 ","UCUM","","Obsolete","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","S","S","1",1,false],[false,"pound per square inch","[psi]","[PSI]","pressure",6894757.293168359,[-1,-2,1,0,0,0,0],"psi","misc",false,null,null,1,false,false,0,0,"psi; lb/in2; lb per in2","UCUM","Pres","Clinical","","[lbf_av]/[in_i]2","[LBF_AV]/[IN_I]2","1",1,false],[false,"circle - plane angle","circ","CIRC","plane angle",6.283185307179586,[0,0,0,1,0,0,0],"circ","misc",false,null,null,1,false,false,0,0,"angles; circles","UCUM","Angle","Clinical","","[pi].rad","[PI].RAD","2",2,false],[false,"spere - solid angle","sph","SPH","solid angle",12.566370614359172,[0,0,0,2,0,0,0],"sph","misc",false,null,null,1,false,false,0,0,"speres","UCUM","Angle","Clinical","equal to the solid angle of an entire sphere = 4\u03c0sr (sr = steradian) ","[pi].sr","[PI].SR","4",4,false],[false,"metric carat","[car_m]","[CAR_M]","mass",0.2,[0,0,1,0,0,0,0],"ct<sub>m</sub>","misc",false,null,null,1,false,false,0,0,"carats; ct; car m","UCUM","Mass","Nonclinical","unit of mass for gemstones","g","G","2e-1",0.2,false],[false,"carat of gold alloys","[car_Au]","[CAR_AU]","mass fraction",0.041666666666666664,[0,0,0,0,0,0,0],"ct<sub><r>Au</r></sub>","misc",false,null,null,1,false,false,0,0,"karats; k; kt; car au; carats","UCUM","MFr","Nonclinical","unit of purity for gold alloys","/24","/24","1",1,false],[false,"Smoot","[smoot]","[SMOOT]","length",1.7018000000000002,[1,0,0,0,0,0,0],null,"misc",false,null,null,1,false,false,0,0,"","UCUM","Len","Nonclinical","prank unit of length from MIT","[in_i]","[IN_I]","67",67,false],[false,"meter per square seconds per square root of hertz","[m/s2/Hz^(1/2)]","[M/S2/HZ^(1/2)]","amplitude spectral density",1,[2,-3,0,0,0,0,0],null,"misc",false,null,"sqrt",1,true,false,0,0,"m/s2/(Hz^.5); m/s2/(Hz^(1/2)); m per s2 per Hz^1/2","UCUM","","Constant","measures amplitude spectral density, and is equal to the square root of power spectral density\\n ","m2/s4/Hz",null,null,1,false],[false,"bit - logarithmic","bit_s","BIT_S","amount of information",1,[0,0,0,0,0,0,0],"bit<sub>s</sub>","infotech",false,null,"ld",1,true,false,0,0,"bit-s; bit s; bit logarithmic","UCUM","LogA","Nonclinical","defined as the log base 2 of the number of distinct signals; cannot practically be used to express more than 1000 bits\\n\\nIn information theory, the definition of the amount of self-information and information entropy is often expressed with the binary logarithm (log base 2)","1",null,null,1,false],[false,"bit","bit","BIT","amount of information",1,[0,0,0,0,0,0,0],"bit","infotech",true,null,null,1,false,false,0,0,"bits","UCUM","","Nonclinical","dimensionless information unit of 1 used in computing and digital communications","1","1","1",1,false],[false,"byte","By","BY","amount of information",8,[0,0,0,0,0,0,0],"B","infotech",true,null,null,1,false,false,0,0,"bytes","UCUM","","Nonclinical","equal to 8 bits","bit","bit","8",8,false],[false,"baud","Bd","BD","signal transmission rate",1,[0,1,0,0,0,0,0],"Bd","infotech",true,null,"inv",1,false,false,0,0,"Bd; bauds","UCUM","Freq","Nonclinical","unit to express rate in symbols per second or pulses per second. ","s","/s","1",1,false],[false,"per twelve hour","/(12.h)","1/(12.HR)","",0.000023148148148148147,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,0,"per 12 hours; 12hrs; 12 hrs; /12hrs","LOINC","Rat","Clinical","",null,null,null,null,false],[false,"per arbitrary unit","/[arb\'U]","1/[ARB\'U]","",1,[0,0,0,0,0,0,0],"/arb/ U",null,false,null,null,1,false,true,0,0,"/arbU","LOINC","InvA ","Clinical","",null,null,null,null,false],[false,"per high power field","/[HPF]","1/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,0,"/HPF; per HPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per international unit","/[IU]","1/[IU]","",1,[0,0,0,0,0,0,0],"/i/U.",null,false,null,null,1,false,true,0,0,"international units; /IU; per IU","LOINC","InvA","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)",null,null,null,null,false],[false,"per low power field","/[LPF]","1/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,0,"/LPF; per LPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per 10 billion  ","/10*10","1/(10*10)","",1e-10,[0,0,0,0,0,0,0],"/10<sup>10</sup>",null,false,null,null,1,false,false,0,0,"/10^10; per 10*10","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per trillion ","/10*12","1/(10*12)","",1e-12,[0,0,0,0,0,0,0],"/10<sup>12</sup>",null,false,null,null,1,false,false,0,0,"/10^12; per 10*12","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per thousand","/10*3","1/(10*3)","",0.001,[0,0,0,0,0,0,0],"/10<sup>3</sup>",null,false,null,null,1,false,false,0,0,"/10^3; per 10*3","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per million","/10*6","1/(10*6)","",0.000001,[0,0,0,0,0,0,0],"/10<sup>6</sup>",null,false,null,null,1,false,false,0,0,"/10^6; per 10*6;","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per billion","/10*9","1/(10*9)","",1e-9,[0,0,0,0,0,0,0],"/10<sup>9</sup>",null,false,null,null,1,false,false,0,0,"/10^9; per 10*9","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100","/100","1/100","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"per hundred; 10^2; 10*2","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100 cells","/100{cells}","/100{CELLS}","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"/100 cells; /100cells; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 neutrophils","/100{neutrophils}","/100{NEUTROPHILS}","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"/100 neutrophils; /100neutrophils; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 spermatozoa","/100{spermatozoa}","/100{SPERMATOZOA}","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"/100 spermatozoa; /100spermatozoa; per hundred","LOINC","NFr","Clinical","",null,null,null,null,false],[false,"per 100 white blood cells","/100{WBCs}","/100{WBCS}","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"/100 WBCs; /100WBCs; per hundred","LOINC","Ratio; NFr","Clinical","",null,null,null,null,false],[false,"per year","/a","1/ANN","",3.168808781402895e-8,[0,-1,0,0,0,0,0],"/a",null,false,null,null,1,false,false,0,0,"/Years; /yrs; yearly","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per centimeter of water","/cm[H2O]","1/CM[H2O]","",0.000010197162129779282,[1,2,-1,0,0,0,0],"/cm\xa0HO<sub><r>2</r></sub>",null,false,null,null,1,false,false,0,0,"/cmH2O; /cm H2O; centimeters; centimetres","LOINC","InvPress","Clinical","",null,null,null,null,false],[false,"per day","/d","1/D","",0.000011574074074074073,[0,-1,0,0,0,0,0],"/d",null,false,null,null,1,false,false,0,0,"/dy; per day","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per deciliter","/dL","1/DL","",10000,[-3,0,0,0,0,0,0],"/dL",null,false,null,null,1,false,false,0,0,"per dL; /deciliter; decilitre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per gram","/g","1/G","",1,[0,0,-1,0,0,0,0],"/g",null,false,null,null,1,false,false,0,0,"/gm; /gram; per g","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per hour","/h","1/HR","",0.0002777777777777778,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,0,"/hr; /hour; per hr","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per kilogram","/kg","1/KG","",0.001,[0,0,-1,0,0,0,0],"/kg",null,false,null,null,1,false,false,0,0,"per kg; per kilogram","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per liter","/L","1/L","",1000,[-3,0,0,0,0,0,0],"/L",null,false,null,null,1,false,false,0,0,"/liter; litre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per square meter","/m2","1/M2","",1,[-2,0,0,0,0,0,0],"/m<sup>2</sup>",null,false,null,null,1,false,false,0,0,"/m^2; /m*2; /sq. m; per square meter; meter squared; metre","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per cubic meter","/m3","1/M3","",1,[-3,0,0,0,0,0,0],"/m<sup>3</sup>",null,false,null,null,1,false,false,0,0,"/m^3; /m*3; /cu. m; per cubic meter; meter cubed; per m3; metre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per milligram","/mg","1/MG","",1000,[0,0,-1,0,0,0,0],"/mg",null,false,null,null,1,false,false,0,0,"/milligram; per mg","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per minute","/min","1/MIN","",0.016666666666666666,[0,-1,0,0,0,0,0],"/min",null,false,null,null,1,false,false,0,0,"/minute; per mins; breaths beats per minute","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per milliliter","/mL","1/ML","",1000000,[-3,0,0,0,0,0,0],"/mL",null,false,null,null,1,false,false,0,0,"/milliliter; per mL; millilitre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per millimeter","/mm","1/MM","",1000,[-1,0,0,0,0,0,0],"/mm",null,false,null,null,1,false,false,0,0,"/millimeter; per mm; millimetre","LOINC","InvLen","Clinical","",null,null,null,null,false],[false,"per month","/mo","1/MO","",3.802570537683474e-7,[0,-1,0,0,0,0,0],"/mo",null,false,null,null,1,false,false,0,0,"/month; per mo; monthly; month","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per second","/s","1/S","",1,[0,-1,0,0,0,0,0],"/s",null,false,null,null,1,false,false,0,0,"/second; /sec; per sec; frequency; Hertz; Herz; Hz; becquerels; Bq; s-1; s^-1","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per enzyme unit","/U","1/U","",9.963241120049633e-17,[0,1,0,0,0,0,0],"/U",null,false,null,null,1,false,false,-1,0,"/enzyme units; per U","LOINC","InvC; NCat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"per microliter","/uL","1/UL","",999999999.9999999,[-3,0,0,0,0,0,0],"/\u03bcL",null,false,null,null,1,false,false,0,0,"/microliter; microlitre; /mcl; per uL","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"per week","/wk","1/WK","",0.0000016534391534391535,[0,-1,0,0,0,0,0],"/wk",null,false,null,null,1,false,false,0,0,"/week; per wk; weekly, weeks","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"APL unit per milliliter","[APL\'U]/mL","[APL\'U]/ML","biologic activity of anticardiolipin IgA",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,0,"APL/mL; APL\'U/mL; APL U/mL; APL/milliliter; IgA anticardiolipin units per milliliter; IgA Phospholipid Units; millilitre; biologic activity of","LOINC","ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"arbitrary unit per milliliter","[arb\'U]/mL","[ARB\'U]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(arb. U)/mL","chemical",false,null,null,1,false,true,0,0,"arb\'U/mL; arbU/mL; arb U/mL; arbitrary units per milliliter; millilitre","LOINC","ACnc","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"colony forming units per liter","[CFU]/L","[CFU]/L","amount of a proliferating organism",1000,[-3,0,0,0,0,0,0],"CFU/L","chemical",false,null,null,1,false,true,0,0,"CFU per Liter; CFU/L","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"colony forming units per milliliter","[CFU]/mL","[CFU]/ML","amount of a proliferating organism",1000000,[-3,0,0,0,0,0,0],"CFU/mL","chemical",false,null,null,1,false,true,0,0,"CFU per mL; CFU/mL","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"foot per foot - US","[ft_us]/[ft_us]","[FT_US]/[FT_US]","length",1,[0,0,0,0,0,0,0],"(ft<sub>us</sub>)/(ft<sub>us</sub>)","us-lengths",false,null,null,1,false,false,0,0,"ft/ft; ft per ft; feet per feet; visual acuity","","LenRto","Clinical","distance ratio to measure 20:20 vision","m/3937","M/3937","1200",1200,false],[false,"GPL unit per milliliter","[GPL\'U]/mL","[GPL\'U]/ML","biologic activity of anticardiolipin IgG",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,0,"GPL U/mL; GPL\'U/mL; GPL/mL; GPL U per mL; IgG Phospholipid Units per milliliters; IgG anticardiolipin units; millilitres ","LOINC","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"international unit per 2 hour","[IU]/(2.h)","[IU]/(2.HR)","arbitrary",0.0001388888888888889,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,0,"IU/2hrs; IU/2 hours; IU per 2 hrs; international units per 2 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per 24 hour","[IU]/(24.h)","[IU]/(24.HR)","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,0,"IU/24hr; IU/24 hours; IU per 24 hrs; international units per 24 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per day","[IU]/d","[IU]/D","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/d","chemical",true,null,null,1,false,true,0,0,"IU/dy; IU/days; IU per dys; international units per day","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per deciliter","[IU]/dL","[IU]/DL","arbitrary",10000,[-3,0,0,0,0,0,0],"(i.U.)/dL","chemical",true,null,null,1,false,true,0,0,"IU/dL; IU per dL; international units per deciliters; decilitres","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per gram","[IU]/g","[IU]/G","arbitrary",1,[0,0,-1,0,0,0,0],"(i.U.)/g","chemical",true,null,null,1,false,true,0,0,"IU/gm; IU/gram; IU per gm; IU per g; international units per gram","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per hour","[IU]/h","[IU]/HR","arbitrary",0.0002777777777777778,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,0,"IU/hrs; IU per hours; international units per hour","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram","[IU]/kg","[IU]/KG","arbitrary",0.001,[0,0,-1,0,0,0,0],"(i.U.)/kg","chemical",true,null,null,1,false,true,0,0,"IU/kg; IU/kilogram; IU per kg; units","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram per day","[IU]/kg/d","([IU]/KG)/D","arbitrary",1.1574074074074074e-8,[0,-1,-1,0,0,0,0],"((i.U.)/kg)/d","chemical",true,null,null,1,false,true,0,0,"IU/kg/dy; IU/kg/day; IU/kilogram/day; IU per kg per day; units","LOINC","ACntRat","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per liter","[IU]/L","[IU]/L","arbitrary",1000,[-3,0,0,0,0,0,0],"(i.U.)/L","chemical",true,null,null,1,false,true,0,0,"IU/L; IU/liter; IU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per minute","[IU]/min","[IU]/MIN","arbitrary",0.016666666666666666,[0,-1,0,0,0,0,0],"(i.U.)/min","chemical",true,null,null,1,false,true,0,0,"IU/min; IU/minute; IU per minute; international units","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per milliliter","[IU]/mL","[IU]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(i.U.)/mL","chemical",true,null,null,1,false,true,0,0,"IU/mL; IU per mL; international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"MPL unit per milliliter","[MPL\'U]/mL","[MPL\'U]/ML","biologic activity of anticardiolipin IgM",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,0,"MPL/mL; MPL U/mL; MPL\'U/mL; IgM anticardiolipin units; IgM Phospholipid Units; millilitre ","LOINC","ACnc","Clinical","units for antiphospholipid test\\n","1","1","1",1,false],[false,"number per high power field","{#}/[HPF]","{#}/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,0,"#/HPF; # per HPF; number/HPF; numbers per high power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"number per low power field","{#}/[LPF]","{#}/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,0,"#/LPF; # per LPF; number/LPF; numbers per low power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"IgA antiphosphatidylserine unit ","{APS\'U}","{APS\'U}","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"APS Unit; Phosphatidylserine Antibody IgA Units","LOINC","ACnc","Clinical","unit for antiphospholipid test",null,null,null,null,false],[false,"EIA index","{EIA_index}","{EIA_index}","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"enzyme immunoassay index","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"kaolin clotting time","{KCT\'U}","{KCT\'U}","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"KCT","LOINC","Time","Clinical","sensitive\xa0test to detect\xa0lupus anticoagulants; measured in seconds",null,null,null,null,false],[false,"IgM antiphosphatidylserine unit","{MPS\'U}","{MPS\'U}","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"Phosphatidylserine Antibody IgM Measurement ","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"trillion per liter","10*12/L","(10*12)/L","number",1000000000000000,[-3,0,0,0,0,0,0],"(10<sup>12</sup>)/L","dimless",false,null,null,1,false,false,0,0,"10^12/L; 10*12 per Liter; trillion per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^3 (used for cell count)","10*3","10*3","number",1000,[0,0,0,0,0,0,0],"10<sup>3</sup>","dimless",false,null,null,1,false,false,0,0,"10^3; thousand","LOINC","Num","Clinical","usually used for counting entities (e.g. blood cells) per volume","1","1","10",10,false],[false,"thousand per liter","10*3/L","(10*3)/L","number",1000000,[-3,0,0,0,0,0,0],"(10<sup>3</sup>)/L","dimless",false,null,null,1,false,false,0,0,"10^3/L; 10*3 per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per milliliter","10*3/mL","(10*3)/ML","number",1000000000,[-3,0,0,0,0,0,0],"(10<sup>3</sup>)/mL","dimless",false,null,null,1,false,false,0,0,"10^3/mL; 10*3 per mL; thousand per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per microliter","10*3/uL","(10*3)/UL","number",999999999999.9999,[-3,0,0,0,0,0,0],"(10<sup>3</sup>)/\u03bcL","dimless",false,null,null,1,false,false,0,0,"10^3/uL; 10*3 per uL; thousand per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 thousand per microliter","10*4/uL","(10*4)/UL","number",10000000000000,[-3,0,0,0,0,0,0],"(10<sup>4</sup>)/\u03bcL","dimless",false,null,null,1,false,false,0,0,"10^4/uL; 10*4 per uL; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^5 ","10*5","10*5","number",100000,[0,0,0,0,0,0,0],"10<sup>5</sup>","dimless",false,null,null,1,false,false,0,0,"one hundred thousand","LOINC","Num","Clinical","","1","1","10",10,false],[false,"10^6","10*6","10*6","number",1000000,[0,0,0,0,0,0,0],"10<sup>6</sup>","dimless",false,null,null,1,false,false,0,0,"","LOINC","Num","Clinical","","1","1","10",10,false],[false,"million colony forming unit per liter","10*6.[CFU]/L","((10*6).[CFU])/L","number",1000000000,[-3,0,0,0,0,0,0],"((10<sup>6</sup>).CFU)/L","dimless",false,null,null,1,false,true,0,0,"10*6 CFU/L; 10^6 CFU/L; 10^6CFU; 10^6 CFU per liter; million colony forming units; litre","LOINC","ACnc","Clinical","","1","1","10",10,false],[false,"million international unit","10*6.[IU]","(10*6).[IU]","number",1000000,[0,0,0,0,0,0,0],"(10<sup>6</sup>).(i.U.)","dimless",false,null,null,1,false,true,0,0,"10*6 IU; 10^6 IU; international units","LOINC","arb","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","1","1","10",10,false],[false,"million per 24 hour","10*6/(24.h)","(10*6)/(24.HR)","number",11.574074074074074,[0,-1,0,0,0,0,0],"(10<sup>6</sup>)/h","dimless",false,null,null,1,false,false,0,0,"10*6/24hrs; 10^6/24 hrs; 10*6 per 24 hrs; 10^6 per 24 hours","LOINC","NRat","Clinical","","1","1","10",10,false],[false,"million per kilogram","10*6/kg","(10*6)/KG","number",1000,[0,0,-1,0,0,0,0],"(10<sup>6</sup>)/kg","dimless",false,null,null,1,false,false,0,0,"10^6/kg; 10*6 per kg; 10*6 per kilogram; millions","LOINC","NCnt","Clinical","","1","1","10",10,false],[false,"million per liter","10*6/L","(10*6)/L","number",1000000000,[-3,0,0,0,0,0,0],"(10<sup>6</sup>)/L","dimless",false,null,null,1,false,false,0,0,"10^6/L; 10*6 per Liter; 10^6 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per milliliter","10*6/mL","(10*6)/ML","number",1000000000000,[-3,0,0,0,0,0,0],"(10<sup>6</sup>)/mL","dimless",false,null,null,1,false,false,0,0,"10^6/mL; 10*6 per mL; 10*6 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per microliter","10*6/uL","(10*6)/UL","number",1000000000000000,[-3,0,0,0,0,0,0],"(10<sup>6</sup>)/\u03bcL","dimless",false,null,null,1,false,false,0,0,"10^6/uL; 10^6 per uL; 10^6/mcl; 10^6 per mcl; 10^6 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^8","10*8","10*8","number",100000000,[0,0,0,0,0,0,0],"10<sup>8</sup>","dimless",false,null,null,1,false,false,0,0,"100 million; one hundred million; 10^8","LOINC","Num","Clinical","","1","1","10",10,false],[false,"billion per liter","10*9/L","(10*9)/L","number",1000000000000,[-3,0,0,0,0,0,0],"(10<sup>9</sup>)/L","dimless",false,null,null,1,false,false,0,0,"10^9/L; 10*9 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per milliliter","10*9/mL","(10*9)/ML","number",1000000000000000,[-3,0,0,0,0,0,0],"(10<sup>9</sup>)/mL","dimless",false,null,null,1,false,false,0,0,"10^9/mL; 10*9 per mL; 10^9 per mL; 10*9 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per microliter","10*9/uL","(10*9)/UL","number",1000000000000000000,[-3,0,0,0,0,0,0],"(10<sup>9</sup>)/\u03bcL","dimless",false,null,null,1,false,false,0,0,"10^9/uL; 10^9 per uL; 10^9/mcl; 10^9 per mcl; 10*9 per uL; 10*9 per mcl; 10*9/mcl; 10^9 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 liter per minute per square meter","10.L/(min.m2)","(10.L)/(MIN.M2)","",0.00016666666666666666,[1,-1,0,0,0,0,0],"L/(min.(m<sup>2</sup>))",null,false,null,null,1,false,false,0,0,"10 liters per minutes per square meter; 10 L per min per m2; m^2; 10 L/(min*m2); 10L/(min*m^2); litres; sq. meter; metre; meters squared","LOINC","ArVRat","Clinical","",null,null,null,null,false],[false,"10 liter per minute","10.L/min","(10.L)/MIN","",0.00016666666666666666,[3,-1,0,0,0,0,0],"L/min",null,false,null,null,1,false,false,0,0,"10 liters per minute; 10 L per min; 10L; 10 L/min; litre","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"10 micronewton second per centimeter to the fifth power per square meter","10.uN.s/(cm5.m2)","((10.UN).S)/(CM5.M2)","",100000000,[-6,-1,1,0,0,0,0],"(\u03bcN.s)/(cm<sup>5</sup>).(m<sup>2</sup>)",null,false,null,null,1,false,false,0,0,"dyne seconds per centimeter5 and square meter; dyn.s/(cm5.m2); dyn.s/cm5/m2; cm^5; m^2","LOINC","","Clinical","unit to measure systemic vascular resistance per body surface area",null,null,null,null,false],[false,"24 hour","24.h","24.HR","",86400,[0,1,0,0,0,0,0],"h",null,false,null,null,1,false,false,0,0,"24hrs; 24 hrs; 24 hours; days; dy","LOINC","Time","Clinical","",null,null,null,null,false],[false,"ampere per meter","A/m","A/M","electric current",1,[-1,-1,0,0,0,1,0],"A/m","si",true,null,null,1,false,false,0,0,"A/m; amp/meter; magnetic field strength; H; B; amperes per meter; metre","LOINC","","Clinical","unit of magnetic field strength","C/s","C/S","1",1,false],[false,"centigram","cg","CG","mass",0.01,[0,0,1,0,0,0,0],"cg",null,false,"M",null,1,false,false,0,0,"centigrams; cg; cgm","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"centiliter","cL","CL","volume",0.00001,[3,0,0,0,0,0,0],"cL","iso1000",true,null,null,1,false,false,0,0,"centiliters; centilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"centimeter","cm","CM","length",0.01,[1,0,0,0,0,0,0],"cm",null,false,"L",null,1,false,false,0,0,"centimeters; centimetres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"centimeter of water","cm[H2O]","CM[H2O]","pressure",98066.5,[-1,-2,1,0,0,0,0],"cm\xa0HO<sub><r>2</r></sub>","clinical",true,null,null,1,false,false,0,0,"cm H2O; cmH2O; centimetres; pressure","LOINC","Pres","Clinical","unit of pressure mostly applies to blood pressure","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per liter per second","cm[H2O]/L/s","(CM[H2O]/L)/S","pressure",98066500,[-4,-3,1,0,0,0,0],"((cm\xa0HO<sub><r>2</r></sub>)/L)/s","clinical",true,null,null,1,false,false,0,0,"cm[H2O]/(L/s); cm[H2O].s/L; cm H2O/L/sec; cmH2O/L/sec; cmH2O/Liter; cmH2O per L per secs; centimeters of water per liters per second; centimetres; litres; cm[H2O]/(L/s)","LOINC","PresRat","Clinical","unit used to measure mean pulmonary resistance","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per second per meter","cm[H2O]/s/m","(CM[H2O]/S)/M","pressure",98066.5,[-2,-3,1,0,0,0,0],"((cm\xa0HO<sub><r>2</r></sub>)/s)/m","clinical",true,null,null,1,false,false,0,0,"cm[H2O]/(s.m); cm H2O/s/m; cmH2O; cmH2O/sec/m; cmH2O per secs per meters; centimeters of water per seconds per meter; centimetres; metre","LOINC","PresRat","Clinical","unit used to measure pulmonary pressure time product","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of mercury","cm[Hg]","CM[HG]","pressure",1333220,[-1,-2,1,0,0,0,0],"cm\xa0Hg","clinical",true,null,null,1,false,false,0,0,"centimeters of mercury; centimetres; cmHg; cm Hg","LOINC","Pres","Clinical","unit of pressure where 1 cmHg = 10 torr","kPa","KPAL","133.3220",133.322,false],[false,"square centimeter","cm2","CM2","length",0.0001,[2,0,0,0,0,0,0],"cm<sup>2</sup>",null,false,"L",null,1,false,false,0,0,"cm^2; sq cm; centimeters squared; square centimeters; centimetre; area","LOINC","Area","Clinical","",null,null,null,null,false],[false,"square centimeter per second","cm2/s","CM2/S","length",0.0001,[2,-1,0,0,0,0,0],"(cm<sup>2</sup>)/s",null,false,"L",null,1,false,false,0,0,"cm^2/sec; square centimeters per second; sq cm per sec; cm2; centimeters squared; centimetres","LOINC","AreaRat","Clinical","",null,null,null,null,false],[false,"centipoise","cP","CP","dynamic viscosity",1.0000000000000002,[-1,-1,1,0,0,0,0],"cP","cgs",true,null,null,1,false,false,0,0,"cps; centiposes","LOINC","Visc","Clinical","unit of dynamic viscosity in the CGS system with base units: 10^\u22123 Pa.s = 1 mPa\xb7.s (1 millipascal second)","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"centistoke","cSt","CST","kinematic viscosity",0.000001,[2,-1,0,0,0,0,0],"cSt","cgs",true,null,null,1,false,false,0,0,"centistokes","LOINC","Visc","Clinical","unit for kinematic viscosity with base units of mm^2/s (square millimeter per second)","cm2/s","CM2/S","1",1,false],[false,"dekaliter per minute","daL/min","DAL/MIN","volume",0.00016666666666666666,[3,-1,0,0,0,0,0],"daL/min","iso1000",true,null,null,1,false,false,0,0,"dekalitres; dekaliters per minute; per min","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"dekaliter per minute per square meter","daL/min/m2","(DAL/MIN)/M2","volume",0.00016666666666666666,[1,-1,0,0,0,0,0],"(daL/min)/(m<sup>2</sup>)","iso1000",true,null,null,1,false,false,0,0,"daL/min/m^2; daL/minute/m2; sq. meter; dekaliters per minutes per square meter; meter squared; dekalitres; metre","LOINC","ArVRat","Clinical","The area usually is the body surface area used to normalize cardiovascular measures for patient\'s size","l",null,"1",1,false],[false,"decibel","dB","DB","level",1,[0,0,0,0,0,0,0],"dB","levels",true,null,"lg",0.1,true,false,0,0,"decibels","LOINC","LogRto","Clinical","unit most commonly used in acoustics as unit of sound pressure level. (also see B[SPL] or bel sound pressure level). ","1",null,null,1,false],[false,"degree per second","deg/s","DEG/S","plane angle",0.017453292519943295,[0,-1,0,1,0,0,0],"\xb0/s","iso1000",false,null,null,1,false,false,0,0,"deg/sec; deg per sec; \xb0/sec; twist rate; angular speed; rotational speed","LOINC","ARat","Clinical","unit of angular (rotational) speed used to express turning rate","[pi].rad/360","[PI].RAD/360","2",2,false],[false,"decigram","dg","DG","mass",0.1,[0,0,1,0,0,0,0],"dg",null,false,"M",null,1,false,false,0,0,"decigrams; dgm; 0.1 grams; 1/10 gm","LOINC","Mass","Clinical","equal to 1/10 gram",null,null,null,null,false],[false,"deciliter","dL","DL","volume",0.0001,[3,0,0,0,0,0,0],"dL","iso1000",true,null,null,1,false,false,0,0,"deciliters; decilitres; 0.1 liters; 1/10 L","LOINC","Vol","Clinical","equal to 1/10 liter","l",null,"1",1,false],[false,"decimeter","dm","DM","length",0.1,[1,0,0,0,0,0,0],"dm",null,false,"L",null,1,false,false,0,0,"decimeters; decimetres; 0.1 meters; 1/10 m; 10 cm; centimeters","LOINC","Len","Clinical","equal to 1/10 meter or 10 centimeters",null,null,null,null,false],[false,"square decimeter per square second","dm2/s2","DM2/S2","length",0.010000000000000002,[2,-2,0,0,0,0,0],"(dm<sup>2</sup>)/(s<sup>2</sup>)",null,false,"L",null,1,false,false,0,0,"dm2 per s2; dm^2/s^2; decimeters squared per second squared; sq dm; sq sec","LOINC","EngMass (massic energy)","Clinical","units for energy per unit mass or Joules per kilogram (J/kg = kg.m2/s2/kg = m2/s2) ",null,null,null,null,false],[false,"dyne second per centimeter per square meter","dyn.s/(cm.m2)","(DYN.S)/(CM.M2)","force",1,[-2,-1,1,0,0,0,0],"(dyn.s)/(cm.(m<sup>2</sup>))","cgs",true,null,null,1,false,false,0,0,"(dyn*s)/(cm*m2); (dyn*s)/(cm*m^2); dyn s per cm per m2; m^2; dyne seconds per centimeters per square meter; centimetres; sq. meter; squared","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"dyne second per centimeter","dyn.s/cm","(DYN.S)/CM","force",1,[0,-1,1,0,0,0,0],"(dyn.s)/cm","cgs",true,null,null,1,false,false,0,0,"(dyn*s)/cm; dyn sec per cm; seconds; centimetre; dyne seconds","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"equivalent per liter","eq/L","EQ/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"eq/L","chemical",true,null,null,1,false,false,0,1,"eq/liter; eq/litre; eqs; equivalents per liter; litre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per milliliter","eq/mL","EQ/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"eq/mL","chemical",true,null,null,1,false,false,0,1,"equivalent/milliliter; equivalents per milliliter; eq per mL; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per millimole","eq/mmol","EQ/MMOL","amount of substance",1000,[0,0,0,0,0,0,0],"eq/mmol","chemical",true,null,null,1,false,false,-1,1,"equivalent/millimole; equivalents per millimole; eq per mmol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per micromole","eq/umol","EQ/UMOL","amount of substance",1000000,[0,0,0,0,0,0,0],"eq/\u03bcmol","chemical",true,null,null,1,false,false,-1,1,"equivalent/micromole; equivalents per micromole; eq per umol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"femtogram","fg","FG","mass",1e-15,[0,0,1,0,0,0,0],"fg",null,false,"M",null,1,false,false,0,0,"fg; fgm; femtograms; weight","LOINC","Mass","Clinical","equal to 10^-15 grams",null,null,null,null,false],[false,"femtoliter","fL","FL","volume",1e-18,[3,0,0,0,0,0,0],"fL","iso1000",true,null,null,1,false,false,0,0,"femtolitres; femtoliters","LOINC","Vol; EntVol","Clinical","equal to 10^-15 liters","l",null,"1",1,false],[false,"femtometer","fm","FM","length",1e-15,[1,0,0,0,0,0,0],"fm",null,false,"L",null,1,false,false,0,0,"femtometres; femtometers","LOINC","Len","Clinical","equal to 10^-15 meters",null,null,null,null,false],[false,"femtomole","fmol","FMOL","amount of substance",602213670,[0,0,0,0,0,0,0],"fmol","si",true,null,null,1,false,false,1,0,"femtomoles","LOINC","EntSub","Clinical","equal to 10^-15 moles","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per gram","fmol/g","FMOL/G","amount of substance",602213670,[0,0,-1,0,0,0,0],"fmol/g","si",true,null,null,1,false,false,1,0,"femtomoles; fmol/gm; fmol per gm","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per liter","fmol/L","FMOL/L","amount of substance",602213670000,[-3,0,0,0,0,0,0],"fmol/L","si",true,null,null,1,false,false,1,0,"femtomoles; fmol per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milligram","fmol/mg","FMOL/MG","amount of substance",602213670000,[0,0,-1,0,0,0,0],"fmol/mg","si",true,null,null,1,false,false,1,0,"fmol per mg; femtomoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milliliter","fmol/mL","FMOL/ML","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"fmol/mL","si",true,null,null,1,false,false,1,0,"femtomoles; millilitre; fmol per mL; fmol per milliliter","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"gram meter","g.m","G.M","mass",1,[1,0,1,0,0,0,0],"g.m",null,false,"M",null,1,false,false,0,0,"g*m; gxm; meters; metres","LOINC","Enrg","Clinical","Unit for measuring stroke work (heart work)",null,null,null,null,false],[false,"gram per 100 gram","g/(100.g)","G/(100.G)","mass",0.01,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,0,"g/100 gm; 100gm; grams per 100 grams; gm per 100 gm","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"gram per 12 hour","g/(12.h)","G/(12.HR)","mass",0.000023148148148148147,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/12hrs; 12 hrs; gm per 12 hrs; 12hrs; grams per 12 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 24 hour","g/(24.h)","G/(24.HR)","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; gm/dy; gm per dy; grams per day","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 3 days","g/(3.d)","G/(3.D)","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,0,"gm/3dy; gm/3 dy; gm per 3 days; grams","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 4 hour","g/(4.h)","G/(4.HR)","mass",0.00006944444444444444,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/4hrs; gm/4 hrs; gm per 4 hrs; 4hrs; grams per 4 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 48 hour","g/(48.h)","G/(48.HR)","mass",0.000005787037037037037,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/48hrs; gm/48 hrs; gm per 48 hrs; 48hrs; grams per 48 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 5 hour","g/(5.h)","G/(5.HR)","mass",0.00005555555555555556,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/5hrs; gm/5 hrs; gm per 5 hrs; 5hrs; grams per 5 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 6 hour","g/(6.h)","G/(6.HR)","mass",0.000046296296296296294,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/6hrs; gm/6 hrs; gm per 6 hrs; 6hrs; grams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 72 hour","g/(72.h)","G/(72.HR)","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/72hrs; gm/72 hrs; gm per 72 hrs; 72hrs; grams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per cubic centimeter","g/cm3","G/CM3","mass",999999.9999999999,[-3,0,1,0,0,0,0],"g/(cm<sup>3</sup>)",null,false,"M",null,1,false,false,0,0,"g/cm^3; gm per cm3; g per cm^3; grams per centimeter cubed; cu. cm; centimetre; g/mL; gram per milliliter; millilitre","LOINC","MCnc","Clinical","g/cm3 = g/mL",null,null,null,null,false],[false,"gram per day","g/d","G/D","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,0,"gm/dy; gm per dy; grams per day; gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; serving","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per deciliter","g/dL","G/DL","mass",10000,[-3,0,1,0,0,0,0],"g/dL",null,false,"M",null,1,false,false,0,0,"gm/dL; gm per dL; grams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"gram per gram","g/g","G/G","mass",1,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,0,"gm; grams","LOINC","MRto ","Clinical","",null,null,null,null,false],[false,"gram per hour","g/h","G/HR","mass",0.0002777777777777778,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/hr; gm per hr; grams; intake; output","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per hour per square meter","g/h/m2","(G/HR)/M2","mass",0.0002777777777777778,[-2,-1,1,0,0,0,0],"(g/h)/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,0,"gm/hr/m2; gm/h/m2; /m^2; sq. m; g per hr per m2; grams per hours per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[false,"gram per kilogram","g/kg ","G/KG","mass",0.001,[0,0,0,0,0,0,0],"g/kg",null,false,"M",null,1,false,false,0,0,"g per kg; gram per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"gram per kilogram per 8 hour ","g/kg/(8.h)","(G/KG)/(8.HR)","mass",3.472222222222222e-8,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,0,"g/(8.kg.h); gm/kg/8hrs; 8 hrs; g per kg per 8 hrs; 8hrs; grams per kilograms per 8 hours; shift","LOINC","MCntRat; RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a 8 hours, divided by the subject\'s body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[false,"gram per kilogram per day","g/kg/d","(G/KG)/D","mass",1.1574074074074074e-8,[0,-1,0,0,0,0,0],"(g/kg)/d",null,false,"M",null,1,false,false,0,0,"g/(kg.d); gm/kg/dy; gm per kg per dy; grams per kilograms per day","LOINC","RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a day, divided by the subject\'s body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[false,"gram per kilogram per hour","g/kg/h","(G/KG)/HR","mass",2.7777777777777776e-7,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,0,"g/(kg.h); g/kg/hr; g per kg per hrs; grams per kilograms per hour","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[false,"gram per kilogram per minute","g/kg/min","(G/KG)/MIN","mass",0.000016666666666666667,[0,-1,0,0,0,0,0],"(g/kg)/min",null,false,"M",null,1,false,false,0,0,"g/(kg.min); g/kg/min; g per kg per min; grams per kilograms per minute","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[false,"gram per liter","g/L","G/L","mass",1000,[-3,0,1,0,0,0,0],"g/L",null,false,"M",null,1,false,false,0,0,"gm per liter; g/liter; grams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"gram per square meter","g/m2","G/M2","mass",1,[-2,0,1,0,0,0,0],"g/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,0,"g/m^2; gram/square meter; g/sq m; g per m2; g per m^2; grams per square meter; meters squared; metre","LOINC","ArMass","Clinical","Tests measure myocardial mass (heart ventricle system) per body surface area; unit used to measure mass dose per body surface area",null,null,null,null,false],[false,"gram per milligram","g/mg","G/MG","mass",1000,[0,0,0,0,0,0,0],"g/mg",null,false,"M",null,1,false,false,0,0,"g per mg; grams per milligram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[false,"gram per minute","g/min","G/MIN","mass",0.016666666666666666,[0,-1,1,0,0,0,0],"g/min",null,false,"M",null,1,false,false,0,0,"g per min; grams per minute; gram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per milliliter","g/mL","G/ML","mass",1000000,[-3,0,1,0,0,0,0],"g/mL",null,false,"M",null,1,false,false,0,0,"g per mL; grams per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"gram per millimole","g/mmol","G/MMOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"g/mmol",null,false,"M",null,1,false,false,-1,0,"grams per millimole; g per mmol","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"joule per liter","J/L","J/L","energy",1000000,[-1,-2,1,0,0,0,0],"J/L","si",true,null,null,1,false,false,0,0,"joules per liter; litre; J per L","LOINC","EngCnc","Clinical","","N.m","N.M","1",1,false],[false,"degree Kelvin per Watt","K/W","K/W","temperature",0.001,[-2,3,-1,0,1,0,0],"K/W",null,false,"C",null,1,false,false,0,0,"degree Kelvin/Watt; K per W; thermal ohm; thermal resistance; degrees","LOINC","TempEngRat","Clinical","unit for absolute thermal resistance equal to the reciprocal of thermal conductance. Unit used for tests to measure work of breathing",null,null,null,null,false],[false,"kilo international unit per liter","k[IU]/L","K[IU]/L","arbitrary",1000000,[-3,0,0,0,0,0,0],"(ki.U.)/L","chemical",true,null,null,1,false,true,0,0,"kIU/L; kIU per L; kIU per liter; kilo international units; litre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/L","[iU]","[IU]","1",1,false],[false,"kilo international unit per milliliter","k[IU]/mL","K[IU]/ML","arbitrary",1000000000,[-3,0,0,0,0,0,0],"(ki.U.)/mL","chemical",true,null,null,1,false,true,0,0,"kIU/mL; kIU per mL; kIU per milliliter; kilo international units; millilitre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/mL","[iU]","[IU]","1",1,false],[false,"katal per kilogram","kat/kg","KAT/KG","catalytic activity",602213670000000000000,[0,-1,-1,0,0,0,0],"kat/kg","chemical",true,null,null,1,false,false,1,0,"kat per kg; katals per kilogram; mol/s/kg; moles per seconds per kilogram","LOINC","CCnt","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"katal per liter","kat/L","KAT/L","catalytic activity",6.0221366999999994e+26,[-3,-1,0,0,0,0,0],"kat/L","chemical",true,null,null,1,false,false,1,0,"kat per L; katals per liter; litre; mol/s/L; moles per seconds per liter","LOINC","CCnc","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"kilocalorie","kcal","KCAL","energy",4184000,[2,-2,1,0,0,0,0],"kcal","heat",true,null,null,1,false,false,0,0,"kilogram calories; large calories; food calories; kcals","LOINC","EngRat","Clinical","It is equal to 1000 calories (equal to 4.184 kJ). But in practical usage, kcal refers to food calories which excludes caloric content in fiber and other constitutes that is not digestible by humans. Also see nutrition label Calories ([Cal])","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per 24 hour","kcal/(24.h)","KCAL/(24.HR)","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,0,"kcal/24hrs; kcal/24 hrs; kcal per 24hrs; kilocalories per 24 hours; kilojoules; kJ/24hr; kJ/(24.h); kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","","EngRat","Clinical","","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per ounce","kcal/[oz_av]","KCAL/[OZ_AV]","energy",147586.25679704445,[2,-2,0,0,0,0,0],"kcal/oz","heat",true,null,null,1,false,false,0,0,"kcal/oz; kcal per ozs; large calories per ounces; food calories; servings; international","LOINC","EngCnt","Clinical","used in nutrition to represent calorie of food","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per day","kcal/d","KCAL/D","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/d","heat",true,null,null,1,false,false,0,0,"kcal/dy; kcal per day; kilocalories per days; kilojoules; kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","LOINC","EngRat","Clinical","unit in nutrition for food intake (measured in calories) in a day","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per hour","kcal/h","KCAL/HR","energy",1162.2222222222222,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,0,"kcal/hrs; kcals per hr; intake; kilocalories per hours; kilojoules","LOINC","EngRat","Clinical","used in nutrition to represent caloric requirement or consumption","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per kilogram per 24 hour","kcal/kg/(24.h)","(KCAL/KG)/(24.HR)","energy",0.04842592592592593,[2,-3,0,0,0,0,0],"(kcal/kg)/h","heat",true,null,null,1,false,false,0,0,"kcal/kg/24hrs; 24 hrs; kcal per kg per 24hrs; kilocalories per kilograms per 24 hours; kilojoules","LOINC","EngCntRat","Clinical","used in nutrition to represent caloric requirement per day based on subject\'s body weight in kilograms","cal_th","CAL_TH","1",1,false],[false,"kilogram","kg","KG","mass",1000,[0,0,1,0,0,0,0],"kg",null,false,"M",null,1,false,false,0,0,"kilograms; kgs","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"kilogram meter per second","kg.m/s","(KG.M)/S","mass",1000,[1,-1,1,0,0,0,0],"(kg.m)/s",null,false,"M",null,1,false,false,0,0,"kg*m/s; kg.m per sec; kg*m per sec; p; momentum","LOINC","","Clinical","unit for momentum =  mass times velocity",null,null,null,null,false],[false,"kilogram per second per square meter","kg/(s.m2)","KG/(S.M2)","mass",1000,[-2,-1,1,0,0,0,0],"kg/(s.(m<sup>2</sup>))",null,false,"M",null,1,false,false,0,0,"kg/(s*m2); kg/(s*m^2); kg per s per m2; per sec; per m^2; kilograms per seconds per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[false,"kilogram per hour","kg/h","KG/HR","mass",0.2777777777777778,[0,-1,1,0,0,0,0],"kg/h",null,false,"M",null,1,false,false,0,0,"kg/hr; kg per hr; kilograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kilogram per liter","kg/L","KG/L","mass",1000000,[-3,0,1,0,0,0,0],"kg/L",null,false,"M",null,1,false,false,0,0,"kg per liter; litre; kilograms","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"kilogram per square meter","kg/m2","KG/M2","mass",1000,[-2,0,1,0,0,0,0],"kg/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,0,"kg/m^2; kg/sq. m; kg per m2; per m^2; per sq. m; kilograms; meter squared; metre; BMI","LOINC","Ratio","Clinical","units for body mass index (BMI)",null,null,null,null,false],[false,"kilogram per cubic meter","kg/m3","KG/M3","mass",1000,[-3,0,1,0,0,0,0],"kg/(m<sup>3</sup>)",null,false,"M",null,1,false,false,0,0,"kg/m^3; kg/cu. m; kg per m3; per m^3; per cu. m; kilograms; meters cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"kilogram per minute","kg/min","KG/MIN","mass",16.666666666666668,[0,-1,1,0,0,0,0],"kg/min",null,false,"M",null,1,false,false,0,0,"kilogram/minute; kg per min; kilograms per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kilogram per mole","kg/mol","KG/MOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"kg/mol",null,false,"M",null,1,false,false,-1,0,"kilogram/mole; kg per mol; kilograms per mole","LOINC","SCnt","Clinical","",null,null,null,null,false],[false,"kilogram per second","kg/s","KG/S","mass",1000,[0,-1,1,0,0,0,0],"kg/s",null,false,"M",null,1,false,false,0,0,"kg/sec; kilogram/second; kg per sec; kilograms; second","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kiloliter","kL","KL","volume",1,[3,0,0,0,0,0,0],"kL","iso1000",true,null,null,1,false,false,0,0,"kiloliters; kilolitres; m3; m^3; meters cubed; metre","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"kilometer","km","KM","length",1000,[1,0,0,0,0,0,0],"km",null,false,"L",null,1,false,false,0,0,"kilometers; kilometres; distance","LOINC","Len","Clinical","",null,null,null,null,false],[false,"kilopascal","kPa","KPAL","pressure",1000000,[-1,-2,1,0,0,0,0],"kPa","si",true,null,null,1,false,false,0,0,"kilopascals; pressure","LOINC","Pres; PPresDiff","Clinical","","N/m2","N/M2","1",1,false],[false,"kilosecond","ks","KS","time",1000,[0,1,0,0,0,0,0],"ks",null,false,"T",null,1,false,false,0,0,"kiloseconds; ksec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"kilo enzyme unit","kU","KU","catalytic activity",10036894500000000000,[0,-1,0,0,0,0,0],"kU","chemical",true,null,null,1,false,false,1,0,"units; mmol/min; millimoles per minute","LOINC","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per gram","kU/g","KU/G","catalytic activity",10036894500000000000,[0,-1,-1,0,0,0,0],"kU/g","chemical",true,null,null,1,false,false,1,0,"units per grams; kU per gm","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per liter","kU/L","KU/L","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"kU/L","chemical",true,null,null,1,false,false,1,0,"units per liter; litre; enzymatic activity; enzyme activity per volume; activities","LOINC","ACnc; CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per milliliter","kU/mL","KU/ML","catalytic activity",1.00368945e+25,[-3,-1,0,0,0,0,0],"kU/mL","chemical",true,null,null,1,false,false,1,0,"kU per mL; units per milliliter; millilitre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Liters per 24 hour","L/(24.h)","L/(24.HR)","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,0,"L/24hrs; L/24 hrs; L per 24hrs; liters per 24 hours; day; dy; litres; volume flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per 8 hour","L/(8.h)","L/(8.HR)","volume",3.472222222222222e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,0,"L/8hrs; L/8 hrs; L per 8hrs; liters per 8 hours; litres; volume flow rate; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/(min.m2) ","L/(MIN.M2)","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"L/(min.(m<sup>2</sup>))","iso1000",true,null,null,1,false,false,0,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per day","L/d","L/D","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/d","iso1000",true,null,null,1,false,false,0,0,"L/dy; L per day; 24hrs; 24 hrs; 24 hours; liters; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per hour","L/h","L/HR","volume",2.7777777777777776e-7,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,0,"L/hr; L per hr; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per kilogram","L/kg","L/KG","volume",0.000001,[3,0,-1,0,0,0,0],"L/kg","iso1000",true,null,null,1,false,false,0,0,"L per kg; litre","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"Liters per liter","L/L","L/L","volume",1,[0,0,0,0,0,0,0],"L/L","iso1000",true,null,null,1,false,false,0,0,"L per L; liter/liter; litre","LOINC","VFr","Clinical","","l",null,"1",1,false],[false,"Liters per minute","L/min","L/MIN","volume",0.000016666666666666667,[3,-1,0,0,0,0,0],"L/min","iso1000",true,null,null,1,false,false,0,0,"liters per minute; litre","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/min/m2","(L/MIN)/M2","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"(L/min)/(m<sup>2</sup>)","iso1000",true,null,null,1,false,false,0,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per second","L/s","L/S","volume",0.001,[3,-1,0,0,0,0,0],"L/s","iso1000",true,null,null,1,false,false,0,0,"L per sec; litres","LOINC","VRat","Clinical","unit used often to measure gas flow and peak expiratory flow","l",null,"1",1,false],[false,"Liters per second per square second","L/s/s2","(L/S)/S2","volume",0.001,[3,-3,0,0,0,0,0],"(L/s)/(s<sup>2</sup>)","iso1000",true,null,null,1,false,false,0,0,"L/s/s^2; L/sec/sec2; L/sec/sec^2; L/sec/sq. sec; L per s per s2; L per sec per sec2; s^2; sec^2; liters per seconds per square second; second squared; litres ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output/body surface area","l",null,"1",1,false],[false,"lumen square meter","lm.m2","LM.M2","luminous flux",1,[2,0,0,2,0,0,1],"lm.(m<sup>2</sup>)","si",true,null,null,1,false,false,0,0,"lm*m2; lm*m^2; lumen meters squared; lumen sq. meters; metres","LOINC","","Clinical","","cd.sr","CD.SR","1",1,false],[false,"meter per second","m/s","M/S","length",1,[1,-1,0,0,0,0,0],"m/s",null,false,"L",null,1,false,false,0,0,"meter/second; m per sec; meters per second; metres; velocity; speed","LOINC","Vel","Clinical","unit of velocity",null,null,null,null,false],[false,"meter per square second","m/s2","M/S2","length",1,[1,-2,0,0,0,0,0],"m/(s<sup>2</sup>)",null,false,"L",null,1,false,false,0,0,"m/s^2; m/sq. sec; m per s2; per s^2; meters per square second; second squared; sq second; metres; acceleration","LOINC","Accel","Clinical","unit of acceleration",null,null,null,null,false],[false,"milli international unit per liter","m[IU]/L","M[IU]/L","arbitrary",1,[-3,0,0,0,0,0,0],"(mi.U.)/L","chemical",true,null,null,1,false,true,0,0,"mIU/L; m IU/L; mIU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"milli  international unit per milliliter","m[IU]/mL","M[IU]/ML","arbitrary",1000.0000000000001,[-3,0,0,0,0,0,0],"(mi.U.)/mL","chemical",true,null,null,1,false,true,0,0,"mIU/mL; m IU/mL; mIU per mL; milli international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"square meter","m2","M2","length",1,[2,0,0,0,0,0,0],"m<sup>2</sup>",null,false,"L",null,1,false,false,0,0,"m^2; sq m; square meters; meters squared; metres","LOINC","Area","Clinical","unit often used to represent body surface area",null,null,null,null,false],[false,"square meter per second","m2/s","M2/S","length",1,[2,-1,0,0,0,0,0],"(m<sup>2</sup>)/s",null,false,"L",null,1,false,false,0,0,"m^2/sec; m2 per sec; m^2 per sec; sq m/sec; meters squared/seconds; sq m per sec; meters squared; metres","LOINC","ArRat","Clinical","",null,null,null,null,false],[false,"cubic meter per second","m3/s","M3/S","length",1,[3,-1,0,0,0,0,0],"(m<sup>3</sup>)/s",null,false,"L",null,1,false,false,0,0,"m^3/sec; m3 per sec; m^3 per sec; cu m/sec; cubic meters per seconds; meters cubed; metres","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"milliampere","mA","MA","electric current",0.001,[0,-1,0,0,0,1,0],"mA","si",true,null,null,1,false,false,0,0,"mamp; milliamperes","LOINC","ElpotRat","Clinical","unit of electric current","C/s","C/S","1",1,false],[false,"millibar","mbar","MBAR","pressure",100000,[-1,-2,1,0,0,0,0],"mbar","iso1000",true,null,null,1,false,false,0,0,"millibars","LOINC","Pres","Clinical","unit of pressure","Pa","PAL","1e5",100000,false],[false,"millibar second per liter","mbar.s/L","(MBAR.S)/L","pressure",100000000,[-4,-1,1,0,0,0,0],"(mbar.s)/L","iso1000",true,null,null,1,false,false,0,0,"mbar*s/L; mbar.s per L; mbar*s per L; millibar seconds per liter; millibar second per litre","LOINC","","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"millibar per liter per second","mbar/L/s","(MBAR/L)/S","pressure",100000000,[-4,-3,1,0,0,0,0],"(mbar/L)/s","iso1000",true,null,null,1,false,false,0,0,"mbar/(L.s); mbar/L/sec; mbar/liter/second; mbar per L per sec; mbar per liter per second; millibars per liters per seconds; litres","LOINC","PresCncRat","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"milliequivalent","meq","MEQ","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"meq","chemical",true,null,null,1,false,false,0,1,"milliequivalents; meqs","LOINC","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 2 hour","meq/(2.h)","MEQ/(2.HR)","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,0,1,"meq/2hrs; meq/2 hrs; meq per 2 hrs; milliequivalents per 2 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 24 hour","meq/(24.h)","MEQ/(24.HR)","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,0,1,"meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 8 hour","meq/(8.h)","MEQ/(8.HR)","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,0,1,"meq/8hrs; meq/8 hrs; meq per 8 hrs; milliequivalents per 8 hours; shift","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per day","meq/d","MEQ/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/d","chemical",true,null,null,1,false,false,0,1,"meq/dy; meq per day; milliquivalents per days; meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per deciliter","meq/dL","MEQ/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"meq/dL","chemical",true,null,null,1,false,false,0,1,"meq per dL; milliequivalents per deciliter; decilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per gram","meq/g","MEQ/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"meq/g","chemical",true,null,null,1,false,false,0,1,"mgq/gm; meq per gm; milliequivalents per gram","LOINC","MCnt","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per hour","meq/h","MEQ/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,0,1,"meq/hrs; meq per hrs; milliequivalents per hour","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per kilogram","meq/kg","MEQ/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"meq/kg","chemical",true,null,null,1,false,false,0,1,"meq per kg; milliequivalents per kilogram","LOINC","SCnt","Clinical","equivalence equals moles per valence; used to measure dose per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per kilogram per hour","meq/kg/h","(MEQ/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(meq/kg)/h","chemical",true,null,null,1,false,false,0,1,"meq/(kg.h); meq/kg/hr; meq per kg per hr; milliequivalents per kilograms per hour","LOINC","SCntRat","Clinical","equivalence equals moles per valence; unit used to measure dose rate per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per liter","meq/L","MEQ/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"meq/L","chemical",true,null,null,1,false,false,0,1,"milliequivalents per liter; litre; meq per l; acidity","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per square meter","meq/m2","MEQ/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"meq/(m<sup>2</sup>)","chemical",true,null,null,1,false,false,0,1,"meq/m^2; meq/sq. m; milliequivalents per square meter; meter squared; metre","LOINC","ArSub","Clinical","equivalence equals moles per valence; note that the use of m2 in clinical units ofter refers to body surface area","mol","MOL","1",1,false],[false,"milliequivalent per minute","meq/min","MEQ/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"meq/min","chemical",true,null,null,1,false,false,0,1,"meq per min; milliequivalents per minute","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per milliliter","meq/mL","MEQ/ML","amount of substance",6.0221367e+26,[-3,0,0,0,0,0,0],"meq/mL","chemical",true,null,null,1,false,false,0,1,"meq per mL; milliequivalents per milliliter; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milligram","mg","MG","mass",0.001,[0,0,1,0,0,0,0],"mg",null,false,"M",null,1,false,false,0,0,"milligrams","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"milligram per 10 hour","mg/(10.h)","MG/(10.HR)","mass",2.7777777777777777e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/10hrs; mg/10 hrs; mg per 10 hrs; milligrams per 10 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 12 hour","mg/(12.h)","MG/(12.HR)","mass",2.3148148148148148e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/12hrs; mg/12 hrs; per 12 hrs; 12hrs; milligrams per 12 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[false,"milligram per 2 hour","mg/(2.h)","MG/(2.HR)","mass",1.3888888888888888e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/2hrs; mg/2 hrs; mg per 2 hrs; 2hrs; milligrams per 2 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[false,"milligram per 24 hour","mg/(24.h)","MG/(24.HR)","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/kg/dy; mg per kg per day; milligrams per kilograms per days","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 6 hour","mg/(6.h)","MG/(6.HR)","mass",4.6296296296296295e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/6hrs; mg/6 hrs; mg per 6 hrs; 6hrs; milligrams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 72 hour","mg/(72.h)","MG/(72.HR)","mass",3.858024691358025e-9,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/72hrs; mg/72 hrs; 72 hrs; 72hrs; milligrams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 8 hour","mg/(8.h)","MG/(8.HR)","mass",3.472222222222222e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/8hrs; mg/8 hrs; milligrams per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per day","mg/d","MG/D","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/d",null,false,"M",null,1,false,false,0,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/dy; mg per day; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per deciliter","mg/dL","MG/DL","mass",10,[-3,0,1,0,0,0,0],"mg/dL",null,false,"M",null,1,false,false,0,0,"mg per dL; milligrams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"milligram per gram","mg/g","MG/G","mass",0.001,[0,0,0,0,0,0,0],"mg/g",null,false,"M",null,1,false,false,0,0,"mg per gm; milligrams per gram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[false,"milligram per hour","mg/h","MG/HR","mass",2.7777777777777776e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/hr; mg per hr; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per kilogram","mg/kg","MG/KG","mass",0.000001,[0,0,0,0,0,0,0],"mg/kg",null,false,"M",null,1,false,false,0,0,"mg per kg; milligrams per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"milligram per kilogram per 8 hour","mg/kg/(8.h)","(MG/KG)/(8.HR)","mass",3.472222222222222e-11,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,0,"mg/(8.h.kg); mg/kg/8hrs; mg/kg/8 hrs; mg per kg per 8hrs; 8 hrs; milligrams per kilograms per 8 hours; shift","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"milligram per kilogram per day","mg/kg/d","(MG/KG)/D","mass",1.1574074074074074e-11,[0,-1,0,0,0,0,0],"(mg/kg)/d",null,false,"M",null,1,false,false,0,0,"mg/(kg.d); mg/(kg.24.h)mg/kg/dy; mg per kg per day; milligrams per kilograms per days; mg/kg/(24.h); mg/kg/24hrs; 24 hrs; 24 hours","LOINC","RelMRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"milligram per kilogram per hour","mg/kg/h","(MG/KG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,0,"mg/(kg.h); mg/kg/hr; mg per kg per hr; milligrams per kilograms per hour","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"milligram per kilogram per minute","mg/kg/min","(MG/KG)/MIN","mass",1.6666666666666667e-8,[0,-1,0,0,0,0,0],"(mg/kg)/min",null,false,"M",null,1,false,false,0,0,"mg/(kg.min); mg per kg per min; milligrams per kilograms per minute","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"milligram per liter","mg/L","MG/L","mass",1,[-3,0,1,0,0,0,0],"mg/L",null,false,"M",null,1,false,false,0,0,"mg per l; milligrams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"milligram per square meter","mg/m2","MG/M2","mass",0.001,[-2,0,1,0,0,0,0],"mg/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,0,"mg/m^2; mg/sq. m; mg per m2; mg per m^2; mg per sq. milligrams; meter squared; metre","LOINC","ArMass","Clinical","",null,null,null,null,false],[false,"milligram per cubic meter","mg/m3","MG/M3","mass",0.001,[-3,0,1,0,0,0,0],"mg/(m<sup>3</sup>)",null,false,"M",null,1,false,false,0,0,"mg/m^3; mg/cu. m; mg per m3; milligrams per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"milligram per milligram","mg/mg","MG/MG","mass",1,[0,0,0,0,0,0,0],"mg/mg",null,false,"M",null,1,false,false,0,0,"mg per mg; milligrams; milligram/milligram","LOINC","MRto","Clinical","",null,null,null,null,false],[false,"milligram per minute","mg/min","MG/MIN","mass",0.000016666666666666667,[0,-1,1,0,0,0,0],"mg/min",null,false,"M",null,1,false,false,0,0,"mg per min; milligrams per minutes; milligram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per milliliter","mg/mL","MG/ML","mass",1000.0000000000001,[-3,0,1,0,0,0,0],"mg/mL",null,false,"M",null,1,false,false,0,0,"mg per mL; milligrams per milliliters; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"milligram per millimole","mg/mmol","MG/MMOL","mass",1.660540186674939e-24,[0,0,1,0,0,0,0],"mg/mmol",null,false,"M",null,1,false,false,-1,0,"mg per mmol; milligrams per millimole; ","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"milligram per week","mg/wk","MG/WK","mass",1.6534391534391535e-9,[0,-1,1,0,0,0,0],"mg/wk",null,false,"M",null,1,false,false,0,0,"mg/week; mg per wk; milligrams per weeks; milligram/week","LOINC","Mrat","Clinical","",null,null,null,null,false],[false,"milliliter","mL","ML","volume",0.000001,[3,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,0,"milliliters; millilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"milliliter per 10 hour","mL/(10.h)","ML/(10.HR)","volume",2.7777777777777777e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/10hrs; ml/10 hrs; mL per 10hrs; 10 hrs; milliliters per 10 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 12 hour","mL/(12.h)","ML/(12.HR)","volume",2.3148148148148147e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/12hrs; ml/12 hrs; mL per 12hrs; 12 hrs; milliliters per 12 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 2 hour","mL/(2.h)","ML/(2.HR)","volume",1.3888888888888888e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/2hrs; ml/2 hrs; mL per 2hrs; 2 hrs; milliliters per 2 hours; millilitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 24 hour","mL/(24.h)","ML/(24.HR)","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/24hrs; ml/24 hrs; mL per 24hrs; 24 hrs; milliliters per 24 hours; millilitres; ml/dy; /day; ml per dy; days; fluid outputs; fluid inputs; flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 4 hour","mL/(4.h)","ML/(4.HR)","volume",6.944444444444444e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/4hrs; ml/4 hrs; mL per 4hrs; 4 hrs; milliliters per 4 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 5 hour","mL/(5.h)","ML/(5.HR)","volume",5.5555555555555553e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/5hrs; ml/5 hrs; mL per 5hrs; 5 hrs; milliliters per 5 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 6 hour","mL/(6.h)","ML/(6.HR)","volume",4.6296296296296294e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/6hrs; ml/6 hrs; mL per 6hrs; 6 hrs; milliliters per 6 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 72 hour","mL/(72.h)","ML/(72.HR)","volume",3.8580246913580245e-12,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/72hrs; ml/72 hrs; mL per 72hrs; 72 hrs; milliliters per 72 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour","mL/(8.h)","ML/(8.HR)","volume",3.472222222222222e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/8hrs; ml/8 hrs; mL per 8hrs; 8 hrs; milliliters per 8 hours; millilitres; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour per kilogram","mL/(8.h)/kg","(ML/(8.HR))/KG","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/h)/kg","iso1000",true,null,null,1,false,false,0,0,"mL/kg/(8.h); ml/8h/kg; ml/8 h/kg; ml/8hr/kg; ml/8 hr/kgr; mL per 8h per kg; 8 h; 8hr; 8 hr; milliliters per 8 hours per kilogram; millilitres; shift","LOINC","VRatCnt","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per square inch (international)","mL/[sin_i]","ML/[SIN_I]","volume",0.0015500031000061998,[1,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,0,"mL/sin; mL/in2; mL/in^2; mL per sin; in2; in^2; sq. in; milliliters per square inch; inch squared","LOINC","ArVol","Clinical","","l",null,"1",1,false],[false,"milliliter per centimeter of water","mL/cm[H2O]","ML/CM[H2O]","volume",1.0197162129779282e-11,[4,2,-1,0,0,0,0],"mL/(cm\xa0HO<sub><r>2</r></sub>)","iso1000",true,null,null,1,false,false,0,0,"milliliters per centimeter of water; millilitre per centimetre of water; millilitres per centimetre of water; mL/cmH2O; mL/cm H2O; mL per cmH2O; mL per cm H2O","LOINC","Compli","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per day","mL/d","ML/D","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/d","iso1000",true,null,null,1,false,false,0,0,"ml/day; ml per day; milliliters per day; 24 hours; 24hrs; millilitre;","LOINC","VRat","Clinical","usually used to measure fluid output or input; flow rate","l",null,"1",1,false],[false,"milliliter per deciliter","mL/dL","ML/DL","volume",0.009999999999999998,[0,0,0,0,0,0,0],"mL/dL","iso1000",true,null,null,1,false,false,0,0,"mL per dL; millilitres; decilitre; milliliters","LOINC","VFr; VFrDiff","Clinical","","l",null,"1",1,false],[false,"milliliter per hour","mL/h","ML/HR","volume",2.7777777777777777e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"mL/hr; mL per hr; milliliters per hour; millilitres; fluid intake; fluid output","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram","mL/kg","ML/KG","volume",9.999999999999999e-10,[3,0,-1,0,0,0,0],"mL/kg","iso1000",true,null,null,1,false,false,0,0,"mL per kg; milliliters per kilogram; millilitres","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram per 8 hour","mL/kg/(8.h)","(ML/KG)/(8.HR)","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,0,"mL/(8.h.kg); mL/kg/8hrs; mL/kg/8 hrs; mL per kg per 8hrs; 8 hrs; milliliters per kilograms per 8 hours; millilitres; shift","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per day","mL/kg/d","(ML/KG)/D","volume",1.1574074074074072e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/d","iso1000",true,null,null,1,false,false,0,0,"mL/(kg.d); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; mg/kg/24hrs; 24 hrs; per 24 hours millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per hour","mL/kg/h","(ML/KG)/HR","volume",2.7777777777777774e-13,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,0,"mL/(kg.h); mL/kg/hr; mL per kg per hr; milliliters per kilograms per hour; millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per minute","mL/kg/min","(ML/KG)/MIN","volume",1.6666666666666664e-11,[3,-1,-1,0,0,0,0],"(mL/kg)/min","iso1000",true,null,null,1,false,false,0,0,"mL/(kg.min); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; millilitres","LOINC","RelEngRat","Clinical","used for tests that measure activity metabolic rate compared to standard resting metabolic rate ","l",null,"1",1,false],[false,"milliliter per square meter","mL/m2","ML/M2","volume",0.000001,[1,0,0,0,0,0,0],"mL/(m<sup>2</sup>)","iso1000",true,null,null,1,false,false,0,0,"mL/m^2; mL/sq. meter; mL per m2; m^2; sq. meter; milliliters per square meter; millilitres; meter squared","LOINC","ArVol","Clinical","used for tests that relate to heart work - e.g. ventricular stroke volume; atrial volume per body surface area","l",null,"1",1,false],[false,"milliliter per millibar","mL/mbar","ML/MBAR","volume",1e-11,[4,2,-1,0,0,0,0],"mL/mbar","iso1000",true,null,null,1,false,false,0,0,"mL per mbar; milliliters per millibar; millilitres","LOINC","","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per minute","mL/min","ML/MIN","volume",1.6666666666666667e-8,[3,-1,0,0,0,0,0],"mL/min","iso1000",true,null,null,1,false,false,0,0,"mL per min; milliliters; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per minute per square meter","mL/min/m2","(ML/MIN)/M2","volume",1.6666666666666667e-8,[1,-1,0,0,0,0,0],"(mL/min)/(m<sup>2</sup>)","iso1000",true,null,null,1,false,false,0,0,"ml/min/m^2; ml/min/sq. meter; mL per min per m2; m^2; sq. meter; milliliters per minutes per square meter; millilitres; metre; meter squared","LOINC","ArVRat","Clinical","unit used to measure volume per body surface area; oxygen consumption index","l",null,"1",1,false],[false,"milliliter per millimeter","mL/mm","ML/MM","volume",0.001,[2,0,0,0,0,0,0],"mL/mm","iso1000",true,null,null,1,false,false,0,0,"mL per mm; milliliters per millimeter; millilitres; millimetre","LOINC","Lineic Volume","Clinical","","l",null,"1",1,false],[false,"milliliter per second","mL/s","ML/S","volume",0.000001,[3,-1,0,0,0,0,0],"mL/s","iso1000",true,null,null,1,false,false,0,0,"ml/sec; mL per sec; milliliters per second; millilitres","LOINC","Vel; VelRat; VRat","Clinical","","l",null,"1",1,false],[false,"millimeter","mm","MM","length",0.001,[1,0,0,0,0,0,0],"mm",null,false,"L",null,1,false,false,0,0,"millimeters; millimetres; height; length; diameter; thickness; axis; curvature; size","LOINC","Len","Clinical","",null,null,null,null,false],[false,"millimeter per hour","mm/h","MM/HR","length",2.7777777777777776e-7,[1,-1,0,0,0,0,0],"mm/h",null,false,"L",null,1,false,false,0,0,"mm/hr; mm per hr; millimeters per hour; millimetres","LOINC","Vel","Clinical","unit to measure sedimentation rate",null,null,null,null,false],[false,"millimeter per minute","mm/min","MM/MIN","length",0.000016666666666666667,[1,-1,0,0,0,0,0],"mm/min",null,false,"L",null,1,false,false,0,0,"mm per min; millimeters per minute; millimetres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"millimeter of water","mm[H2O]","MM[H2O]","pressure",9806.65,[-1,-2,1,0,0,0,0],"mm\xa0HO<sub><r>2</r></sub>","clinical",true,null,null,1,false,false,0,0,"mmH2O; mm H2O; millimeters of water; millimetres","LOINC","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"millimeter of mercury","mm[Hg]","MM[HG]","pressure",133322,[-1,-2,1,0,0,0,0],"mm\xa0Hg","clinical",true,null,null,1,false,false,0,0,"mmHg; mm Hg; millimeters of mercury; millimetres","LOINC","Pres; PPres; Ratio","Clinical","1 mm[Hg] = 1 torr; unit to measure blood pressure","kPa","KPAL","133.3220",133.322,false],[false,"square millimeter","mm2","MM2","length",0.000001,[2,0,0,0,0,0,0],"mm<sup>2</sup>",null,false,"L",null,1,false,false,0,0,"mm^2; sq. mm.; sq. millimeters; millimeters squared; millimetres","LOINC","Area","Clinical","",null,null,null,null,false],[false,"millimole","mmol","MMOL","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"mmol","si",true,null,null,1,false,false,1,0,"millimoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 12 hour","mmol/(12.h)","MMOL/(12.HR)","amount of substance",13940131250000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"mmol/12hrs; mmol/12 hrs; mmol per 12 hrs; 12hrs; millimoles per 12 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 2 hour","mmol/(2.h)","MMOL/(2.HR)","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"mmol/2hrs; mmol/2 hrs; mmol per 2 hrs; 2hrs; millimoles per 2 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 24 hour","mmol/(24.h)","MMOL/(24.HR)","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 5 hour","mmol/(5.h)","MMOL/(5.HR)","amount of substance",33456315000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"mmol/5hrs; mmol/5 hrs; mmol per 5 hrs; 5hrs; millimoles per 5 hours","LOINC","SRat","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 6 hour","mmol/(6.h)","MMOL/(6.HR)","amount of substance",27880262500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"mmol/6hrs; mmol/6 hrs; mmol per 6 hrs; 6hrs; millimoles per 6 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 8 hour","mmol/(8.h)","MMOL/(8.HR)","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"mmol/8hrs; mmol/8 hrs; mmol per 8 hrs; 8hrs; millimoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per day","mmol/d","MMOL/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/d","si",true,null,null,1,false,false,1,0,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per deciliter","mmol/dL","MMOL/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"mmol/dL","si",true,null,null,1,false,false,1,0,"mmol per dL; millimoles; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per gram","mmol/g","MMOL/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mmol/g","si",true,null,null,1,false,false,1,0,"mmol per gram; millimoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per hour","mmol/h","MMOL/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"mmol/hr; mmol per hr; millimoles per hour","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram","mmol/kg","MMOL/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"mmol/kg","si",true,null,null,1,false,false,1,0,"mmol per kg; millimoles per kilogram","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per 8 hour","mmol/kg/(8.h)","(MMOL/KG)/(8.HR)","amount of substance",20910196875000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,0,"mmol/(8.h.kg); mmol/kg/8hrs; mmol/kg/8 hrs; mmol per kg per 8hrs; 8 hrs; millimoles per kilograms per 8 hours; shift","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per day","mmol/kg/d","(MMOL/KG)/D","amount of substance",6970065625000,[0,-1,-1,0,0,0,0],"(mmol/kg)/d","si",true,null,null,1,false,false,1,0,"mmol/kg/dy; mmol/kg/day; mmol per kg per dy; millimoles per kilograms per day","LOINC","RelSRat","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per hour","mmol/kg/h","(MMOL/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,0,"mmol/kg/hr; mmol per kg per hr; millimoles per kilograms per hour","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per minute","mmol/kg/min","(MMOL/KG)/MIN","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/min","si",true,null,null,1,false,false,1,0,"mmol/(kg.min); mmol/kg/min; mmol per kg per min; millimoles per kilograms per minute","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass; note that the unit for the enzyme unit U = umol/min. mmol/kg/min = kU/kg; ","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per liter","mmol/L","MMOL/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mmol/L","si",true,null,null,1,false,false,1,0,"mmol per L; millimoles per liter; litre","LOINC","SCnc","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per square meter","mmol/m2","MMOL/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"mmol/(m<sup>2</sup>)","si",true,null,null,1,false,false,1,0,"mmol/m^2; mmol/sq. meter; mmol per m2; m^2; sq. meter; millimoles; meter squared; metre","LOINC","ArSub","Clinical","unit used to measure molar dose per patient body surface area","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per minute","mmol/min","MMOL/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"mmol/min","si",true,null,null,1,false,false,1,0,"mmol per min; millimoles per minute","LOINC","Srat; CAct","Clinical","unit for the enzyme unit U = umol/min. mmol/min = kU","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per millimole","mmol/mmol","MMOL/MMOL","amount of substance",1,[0,0,0,0,0,0,0],"mmol/mmol","si",true,null,null,1,false,false,0,0,"mmol per mmol; millimoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per mole","mmol/mol","MMOL/MOL","amount of substance",0.001,[0,0,0,0,0,0,0],"mmol/mol","si",true,null,null,1,false,false,0,0,"mmol per mol; millimoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per second per liter","mmol/s/L","(MMOL/S)/L","amount of substance",6.0221367e+23,[-3,-1,0,0,0,0,0],"(mmol/s)/L","si",true,null,null,1,false,false,1,0,"mmol/sec/L; mmol per s per L; per sec; millimoles per seconds per liter; litre","LOINC","CCnc ","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram","mol/kg","MOL/KG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mol/kg","si",true,null,null,1,false,false,1,0,"mol per kg; moles; mols","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram per second","mol/kg/s","(MOL/KG)/S","amount of substance",602213670000000000000,[0,-1,-1,0,0,0,0],"(mol/kg)/s","si",true,null,null,1,false,false,1,0,"mol/kg/sec; mol per kg per sec; moles per kilograms per second; mols","LOINC","CCnt","Clinical","unit of catalytic activity (mol/s) per mass (kg)","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per liter","mol/L","MOL/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"mol/L","si",true,null,null,1,false,false,1,0,"mol per L; moles per liter; litre; moles; mols","LOINC","SCnc","Clinical","unit often used in tests measuring oxygen content","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per cubic meter","mol/m3","MOL/M3","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mol/(m<sup>3</sup>)","si",true,null,null,1,false,false,1,0,"mol/m^3; mol/cu. m; mol per m3; m^3; cu. meter; mols; moles; meters cubed; metre; mole per kiloliter; kilolitre; mol/kL","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per milliliter","mol/mL","MOL/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"mol/mL","si",true,null,null,1,false,false,1,0,"mol per mL; moles; millilitre; mols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per mole","mol/mol","MOL/MOL","amount of substance",1,[0,0,0,0,0,0,0],"mol/mol","si",true,null,null,1,false,false,0,0,"mol per mol; moles per mol; mols","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per second","mol/s","MOL/S","amount of substance",6.0221367e+23,[0,-1,0,0,0,0,0],"mol/s","si",true,null,null,1,false,false,1,0,"mol per sec; moles per second; mols","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"milliosmole","mosm","MOSM","amount of substance (dissolved particles)",602213670000000000000,[0,0,0,0,0,0,0],"mosm","chemical",true,null,null,1,false,false,1,0,"milliosmoles","LOINC","Osmol","Clinical","equal to 1/1000 of an osmole","mol","MOL","1",1,false],[false,"milliosmole per kilogram","mosm/kg","MOSM/KG","amount of substance (dissolved particles)",602213670000000000,[0,0,-1,0,0,0,0],"mosm/kg","chemical",true,null,null,1,false,false,1,0,"mosm per kg; milliosmoles per kilogram","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"milliosmole per liter","mosm/L","MOSM/L","amount of substance (dissolved particles)",6.0221367e+23,[-3,0,0,0,0,0,0],"mosm/L","chemical",true,null,null,1,false,false,1,0,"mosm per liter; litre; milliosmoles","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"millipascal","mPa","MPAL","pressure",1,[-1,-2,1,0,0,0,0],"mPa","si",true,null,null,1,false,false,0,0,"millipascals","LOINC","Pres","Clinical","unit of pressure","N/m2","N/M2","1",1,false],[false,"millipascal second","mPa.s","MPAL.S","pressure",1,[-1,-1,1,0,0,0,0],"mPa.s","si",true,null,null,1,false,false,0,0,"mPa*s; millipoise; mP; dynamic viscosity","LOINC","Visc","Clinical","base units for millipoise, a measurement of dynamic viscosity","N/m2","N/M2","1",1,false],[false,"megasecond","Ms","MAS","time",1000000,[0,1,0,0,0,0,0],"Ms",null,false,"T",null,1,false,false,0,0,"megaseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"millisecond","ms","MS","time",0.001,[0,1,0,0,0,0,0],"ms",null,false,"T",null,1,false,false,0,0,"milliseconds; duration","LOINC","Time","Clinical","",null,null,null,null,false],[false,"milli enzyme unit per gram","mU/g","MU/G","catalytic activity",10036894500000,[0,-1,-1,0,0,0,0],"mU/g","chemical",true,null,null,1,false,false,1,0,"mU per gm; milli enzyme units per gram; enzyme activity; enzymatic activity per mass","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per liter","mU/L","MU/L","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"mU/L","chemical",true,null,null,1,false,false,1,0,"mU per liter; litre; milli enzyme units enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milligram","mU/mg","MU/MG","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"mU/mg","chemical",true,null,null,1,false,false,1,0,"mU per mg; milli enzyme units per milligram","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter","mU/mL","MU/ML","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"mU/mL","chemical",true,null,null,1,false,false,1,0,"mU per mL; milli enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter per minute","mU/mL/min","(MU/ML)/MIN","catalytic activity",167281575000000000,[-3,-2,0,0,0,0,0],"(mU/mL)/min","chemical",true,null,null,1,false,false,1,0,"mU per mL per min; mU per milliliters per minute; millilitres; milli enzyme units; enzymatic activity; enzyme activity","LOINC","CCncRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"millivolt","mV","MV","electric potential",1,[2,-2,1,0,0,-1,0],"mV","si",true,null,null,1,false,false,0,0,"millivolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false],[false,"Newton centimeter","N.cm","N.CM","force",10,[2,-2,1,0,0,0,0],"N.cm","si",true,null,null,1,false,false,0,0,"N*cm; Ncm; N cm; Newton*centimeters; Newton* centimetres; torque; work","LOINC","","Clinical","as a measurement of work, N.cm = 1/100 Joules;\\nnote that N.m is the standard unit of measurement for torque (although dimensionally equivalent to Joule), and N.cm can also be thought of as a torqe unit","kg.m/s2","KG.M/S2","1",1,false],[false,"Newton second","N.s","N.S","force",1000,[1,-1,1,0,0,0,0],"N.s","si",true,null,null,1,false,false,0,0,"Newton*seconds; N*s; N s; Ns; impulse; imp","LOINC","","Clinical","standard unit of impulse","kg.m/s2","KG.M/S2","1",1,false],[false,"nanogram","ng","NG","mass",1e-9,[0,0,1,0,0,0,0],"ng",null,false,"M",null,1,false,false,0,0,"nanograms","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"nanogram per 24 hour","ng/(24.h)","NG/(24.HR)","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,0,"ng/24hrs; ng/24 hrs; nanograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per 8 hour","ng/(8.h)","NG/(8.HR)","mass",3.4722222222222224e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,0,"ng/8hrs; ng/8 hrs; nanograms per 8 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per million","ng/10*6","NG/(10*6)","mass",1e-15,[0,0,1,0,0,0,0],"ng/(10<sup>6</sup>)",null,false,"M",null,1,false,false,0,0,"ng/10^6; ng per 10*6; 10^6; nanograms","LOINC","MNum","Clinical","",null,null,null,null,false],[false,"nanogram per day","ng/d","NG/D","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/d",null,false,"M",null,1,false,false,0,0,"ng/dy; ng per day; nanograms ","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per deciliter","ng/dL","NG/DL","mass",0.00001,[-3,0,1,0,0,0,0],"ng/dL",null,false,"M",null,1,false,false,0,0,"ng per dL; nanograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"nanogram per gram","ng/g","NG/G","mass",1e-9,[0,0,0,0,0,0,0],"ng/g",null,false,"M",null,1,false,false,0,0,"ng/gm; ng per gm; nanograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"nanogram per hour","ng/h","NG/HR","mass",2.777777777777778e-13,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,0,"ng/hr; ng per hr; nanograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per kilogram","ng/kg","NG/KG","mass",1e-12,[0,0,0,0,0,0,0],"ng/kg",null,false,"M",null,1,false,false,0,0,"ng per kg; nanograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"nanogram per kilogram per 8 hour","ng/kg/(8.h)","(NG/KG)/(8.HR)","mass",3.472222222222222e-17,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,0,"ng/(8.h.kg); ng/kg/8hrs; ng/kg/8 hrs; ng per kg per 8hrs; 8 hrs; nanograms per kilograms per 8 hours; shift","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"nanogram per kilogram per hour","ng/kg/h","(NG/KG)/HR","mass",2.7777777777777775e-16,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,0,"ng/(kg.h); ng/kg/hr; ng per kg per hr; nanograms per kilograms per hour","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"nanogram per kilogram per minute","ng/kg/min","(NG/KG)/MIN","mass",1.6666666666666667e-14,[0,-1,0,0,0,0,0],"(ng/kg)/min",null,false,"M",null,1,false,false,0,0,"ng/(kg.min); ng per kg per min; nanograms per kilograms per minute","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"nanogram per liter","ng/L","NG/L","mass",0.000001,[-3,0,1,0,0,0,0],"ng/L",null,false,"M",null,1,false,false,0,0,"ng per L; nanograms per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"nanogram per square meter","ng/m2","NG/M2","mass",1e-9,[-2,0,1,0,0,0,0],"ng/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,0,"ng/m^2; ng/sq. m; ng per m2; m^2; sq. meter; nanograms; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[false,"nanogram per milligram","ng/mg","NG/MG","mass",0.000001,[0,0,0,0,0,0,0],"ng/mg",null,false,"M",null,1,false,false,0,0,"ng per mg; nanograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"nanogram per milligram per hour","ng/mg/h","(NG/MG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(ng/mg)/h",null,false,"M",null,1,false,false,0,0,"ng/mg/hr; ng per mg per hr; nanograms per milligrams per hour","LOINC","MRtoRat ","Clinical","",null,null,null,null,false],[false,"nanogram per minute","ng/min","NG/MIN","mass",1.6666666666666667e-11,[0,-1,1,0,0,0,0],"ng/min",null,false,"M",null,1,false,false,0,0,"ng per min; nanograms","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per millliiter","ng/mL","NG/ML","mass",0.001,[-3,0,1,0,0,0,0],"ng/mL",null,false,"M",null,1,false,false,0,0,"ng per mL; nanograms; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"nanogram per milliliter per hour","ng/mL/h","(NG/ML)/HR","mass",2.7777777777777776e-7,[-3,-1,1,0,0,0,0],"(ng/mL)/h",null,false,"M",null,1,false,false,0,0,"ng/mL/hr; ng per mL per mL; nanograms per milliliter per hour; nanogram per millilitre per hour; nanograms per millilitre per hour; enzymatic activity per volume; enzyme activity per milliliters","LOINC","CCnc","Clinical","tests that measure enzymatic activity",null,null,null,null,false],[false,"nanogram per second","ng/s","NG/S","mass",1e-9,[0,-1,1,0,0,0,0],"ng/s",null,false,"M",null,1,false,false,0,0,"ng/sec; ng per sec; nanograms per second","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per enzyme unit","ng/U","NG/U","mass",9.963241120049634e-26,[0,1,1,0,0,0,0],"ng/U",null,false,"M",null,1,false,false,-1,0,"ng per U; nanograms per enzyme unit","LOINC","CMass","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"nanokatal","nkat","NKAT","catalytic activity",602213670000000,[0,-1,0,0,0,0,0],"nkat","chemical",true,null,null,1,false,false,1,0,"nanokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"nanoliter","nL","NL","volume",1.0000000000000002e-12,[3,0,0,0,0,0,0],"nL","iso1000",true,null,null,1,false,false,0,0,"nanoliters; nanolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"nanometer","nm","NM","length",1e-9,[1,0,0,0,0,0,0],"nm",null,false,"L",null,1,false,false,0,0,"nanometers; nanometres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"nanometer per second per liter","nm/s/L","(NM/S)/L","length",0.000001,[-2,-1,0,0,0,0,0],"(nm/s)/L",null,false,"L",null,1,false,false,0,0,"nm/sec/liter; nm/sec/litre; nm per s per l; nm per sec per l; nanometers per second per liter; nanometre per second per litre; nanometres per second per litre","LOINC","VelCnc","Clinical","",null,null,null,null,false],[false,"nanomole","nmol","NMOL","amount of substance",602213670000000,[0,0,0,0,0,0,0],"nmol","si",true,null,null,1,false,false,1,0,"nanomoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per 24 hour","nmol/(24.h)","NMOL/(24.HR)","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/h","si",true,null,null,1,false,false,1,0,"nmol/24hr; nmol/24 hr; nanomoles per 24 hours; nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per day","nmol/d","NMOL/D","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/d","si",true,null,null,1,false,false,1,0,"nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day; nmol/24hr; nmol/24 hr; nanomoles per 24 hours; ","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per deciliter","nmol/dL","NMOL/DL","amount of substance",6022136700000000000,[-3,0,0,0,0,0,0],"nmol/dL","si",true,null,null,1,false,false,1,0,"nmol per dL; nanomoles per deciliter; nanomole per decilitre; nanomoles per decilitre; nanomole/deciliter; nanomole/decilitre; nanomol/deciliter; nanomol/decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per gram","nmol/g","NMOL/G","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"nmol/g","si",true,null,null,1,false,false,1,0,"nmol per gram; nanomoles per gram; nanomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per hour per liter","nmol/h/L","(NMOL/HR)/L","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(nmol/h)/L","si",true,null,null,1,false,false,1,0,"nmol/hrs/L; nmol per hrs per L; nanomoles per hours per liter; litre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per liter","nmol/L","NMOL/L","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"nmol/L","si",true,null,null,1,false,false,1,0,"nmol per L; nanomoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram","nmol/mg","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,0,"nmol per mg; nanomoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram per hour","nmol/mg/h","(NMOL/MG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(nmol/mg)/h","si",true,null,null,1,false,false,1,0,"nmol/mg/hr; nmol per mg per hr; nanomoles per milligrams per hour","LOINC","SCntRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram of protein","nmol/mg{prot}","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,0,"nanomoles; nmol/mg prot; nmol per mg prot","LOINC","Ratio; CCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute","nmol/min","NMOL/MIN","amount of substance",10036894500000,[0,-1,0,0,0,0,0],"nmol/min","si",true,null,null,1,false,false,1,0,"nmol per min; nanomoles per minute; milli enzyme units; enzyme activity per volume; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/min = mU (milli enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute per milliliter","nmol/min/mL","(NMOL/MIN)/ML","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/min)/mL","si",true,null,null,1,false,false,1,0,"nmol per min per mL; nanomoles per minutes per milliliter; millilitre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter","nmol/mL","NMOL/ML","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"nmol/mL","si",true,null,null,1,false,false,1,0,"nmol per mL; nanomoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per hour","nmol/mL/h","(NMOL/ML)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/h","si",true,null,null,1,false,false,1,0,"nmol/mL/hr; nmol per mL per hr; nanomoles per milliliters per hour; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per minute","nmol/mL/min","(NMOL/ML)/MIN","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/min","si",true,null,null,1,false,false,1,0,"nmol per mL per min; nanomoles per milliliters per min; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole","nmol/mmol","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,0,"nmol per mmol; nanomoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole of creatinine","nmol/mmol{creat}","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,0,"nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per mole","nmol/mol","NMOL/MOL","amount of substance",1e-9,[0,0,0,0,0,0,0],"nmol/mol","si",true,null,null,1,false,false,0,0,"nmol per mole; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per nanomole","nmol/nmol","NMOL/NMOL","amount of substance",1,[0,0,0,0,0,0,0],"nmol/nmol","si",true,null,null,1,false,false,0,0,"nmol per nmol; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second","nmol/s","NMOL/S","amount of substance",602213670000000,[0,-1,0,0,0,0,0],"nmol/s","si",true,null,null,1,false,false,1,0,"nmol/sec; nmol per sec; nanomoles per sercond; milli enzyme units; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second per liter","nmol/s/L","(NMOL/S)/L","amount of substance",602213670000000000,[-3,-1,0,0,0,0,0],"(nmol/s)/L","si",true,null,null,1,false,false,1,0,"nmol/sec/L; nmol per s per L; nmol per sec per L; nanomoles per seconds per liter; litre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanosecond","ns","NS","time",1e-9,[0,1,0,0,0,0,0],"ns",null,false,"T",null,1,false,false,0,0,"nanoseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"nanoenzyme unit per milliliter","nU/mL","NU/ML","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"nU/mL","chemical",true,null,null,1,false,false,1,0,"nU per mL; nanoenzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 fU = pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Ohm meter","Ohm.m","OHM.M","electric resistance",1000,[3,-1,1,0,0,-2,0],"\u03a9.m","si",true,null,null,1,false,false,0,0,"electric resistivity; meters; metres","LOINC","","Clinical","unit of electric resistivity","V/A","V/A","1",1,false],[false,"osmole per kilogram","osm/kg","OSM/KG","amount of substance (dissolved particles)",602213670000000000000,[0,0,-1,0,0,0,0],"osm/kg","chemical",true,null,null,1,false,false,1,0,"osm per kg; osmoles per kilogram; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"osmole per liter","osm/L","OSM/L","amount of substance (dissolved particles)",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"osm/L","chemical",true,null,null,1,false,false,1,0,"osm per L; osmoles per liter; litre; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"picoampere","pA","PA","electric current",1e-12,[0,-1,0,0,0,1,0],"pA","si",true,null,null,1,false,false,0,0,"picoamperes","LOINC","","Clinical","equal to 10^-12 amperes","C/s","C/S","1",1,false],[false,"picogram","pg","PG","mass",1e-12,[0,0,1,0,0,0,0],"pg",null,false,"M",null,1,false,false,0,0,"picograms","LOINC","Mass; EntMass","Clinical","",null,null,null,null,false],[false,"picogram per deciliter","pg/dL","PG/DL","mass",9.999999999999999e-9,[-3,0,1,0,0,0,0],"pg/dL",null,false,"M",null,1,false,false,0,0,"pg per dL; picograms; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"picogram per liter","pg/L","PG/L","mass",1e-9,[-3,0,1,0,0,0,0],"pg/L",null,false,"M",null,1,false,false,0,0,"pg per L; picograms; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"picogram per milligram","pg/mg","PG/MG","mass",1e-9,[0,0,0,0,0,0,0],"pg/mg",null,false,"M",null,1,false,false,0,0,"pg per mg; picograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"picogram per milliliter","pg/mL","PG/ML","mass",0.000001,[-3,0,1,0,0,0,0],"pg/mL",null,false,"M",null,1,false,false,0,0,"pg per mL; picograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"picogram per millimeter","pg/mm","PG/MM","mass",1e-9,[-1,0,1,0,0,0,0],"pg/mm",null,false,"M",null,1,false,false,0,0,"pg per mm; picogram/millimeter; picogram/millimetre; picograms per millimeter; millimetre","LOINC","Lineic Mass","Clinical","",null,null,null,null,false],[false,"picokatal","pkat","PKAT","catalytic activity",602213670000,[0,-1,0,0,0,0,0],"pkat","chemical",true,null,null,1,false,false,1,0,"pkats; picokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"picoliter","pL","PL","volume",1e-15,[3,0,0,0,0,0,0],"pL","iso1000",true,null,null,1,false,false,0,0,"picoliters; picolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"picometer","pm","PM","length",1e-12,[1,0,0,0,0,0,0],"pm",null,false,"L",null,1,false,false,0,0,"picometers; picometres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"picomole","pmol","PMOL","amount of substance",602213670000,[0,0,0,0,0,0,0],"pmol","si",true,null,null,1,false,false,1,0,"picomoles; pmols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per 24 hour","pmol/(24.h)","PMOL/(24.HR)","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/h","si",true,null,null,1,false,false,1,0,"pmol/24hrs; pmol/24 hrs; pmol per 24 hrs; 24hrs; days; dy; picomoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per day","pmol/d","PMOL/D","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/d","si",true,null,null,1,false,false,1,0,"pmol/dy; pmol per day; 24 hours; 24hrs; 24 hrs; picomoles","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per deciliter","pmol/dL","PMOL/DL","amount of substance",6022136700000000,[-3,0,0,0,0,0,0],"pmol/dL","si",true,null,null,1,false,false,1,0,"pmol per dL; picomoles per deciliter; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per gram","pmol/g","PMOL/G","amount of substance",602213670000,[0,0,-1,0,0,0,0],"pmol/g","si",true,null,null,1,false,false,1,0,"pmol per gm; picomoles per gram; picomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per hour per milliliter ","pmol/h/mL","(PMOL/HR)/ML","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(pmol/h)/mL","si",true,null,null,1,false,false,1,0,"pmol/hrs/mL; pmol per hrs per mL; picomoles per hour per milliliter; millilitre; micro enzyme units per volume; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. ","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per liter","pmol/L","PMOL/L","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"pmol/L","si",true,null,null,1,false,false,1,0,"picomole/liter; pmol per L; picomoles; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per minute","pmol/min","PMOL/MIN","amount of substance",10036894500,[0,-1,0,0,0,0,0],"pmol/min","si",true,null,null,1,false,false,1,0,"picomole/minute; pmol per min; picomoles per minute; micro enzyme units; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. pmol/min = uU (micro enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per milliliter","pmol/mL","PMOL/ML","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"pmol/mL","si",true,null,null,1,false,false,1,0,"picomole/milliliter; picomole/millilitre; pmol per mL; picomoles; millilitre; picomols; pmols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per micromole","pmol/umol","PMOL/UMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"pmol/\u03bcmol","si",true,null,null,1,false,false,0,0,"pmol/mcgmol; picomole/micromole; pmol per umol; pmol per mcgmol; picomoles ","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picosecond","ps","PS","time",1e-12,[0,1,0,0,0,0,0],"ps",null,false,"T",null,1,false,false,0,0,"picoseconds; psec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"picotesla","pT","PT","magnetic flux density",1e-9,[0,-1,1,0,0,-1,0],"pT","si",true,null,null,1,false,false,0,0,"picoteslas","LOINC","","Clinical","SI unit of magnetic field strength for magnetic field B","Wb/m2","WB/M2","1",1,false],[false,"enzyme unit per 12 hour","U/(12.h)","U/(12.HR)","catalytic activity",232335520833.33334,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,0,"U/12hrs; U/ 12hrs; U per 12 hrs; 12hrs; enzyme units per 12 hours; enzyme activity; enzymatic activity per time; umol per min per 12 hours; micromoles per minute per 12 hours; umol/min/12hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 2 hour","U/(2.h)","U/(2.HR)","catalytic activity",1394013125000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,0,"U/2hrs; U/ 2hrs; U per 2 hrs; 2hrs; enzyme units per 2 hours; enzyme activity; enzymatic activity per time; umol per minute per 2 hours; micromoles per minute; umol/min/2hr; umol per min per 2hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 24 hour","U/(24.h)","U/(24.HR)","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,0,"U/24hrs; U/ 24hrs; U per 24 hrs; 24hrs; enzyme units per 24 hours; enzyme activity; enzymatic activity per time; micromoles per minute per 24 hours; umol/min/24hr; umol per min per 24hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10","U/10","U/10","catalytic activity",1003689450000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,0,"enzyme unit/10; U per 10; enzyme units per 10; enzymatic activity; enzyme activity; micromoles per minute; umol/min/10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10 billion","U/10*10","U/(10*10)","catalytic activity",1003689.45,[0,-1,0,0,0,0,0],"U/(10<sup>10</sup>)","chemical",true,null,null,1,false,false,1,0,"U per 10*10; enzyme units per 10*10; U per 10 billion; enzyme units; enzymatic activity; micromoles per minute per 10 billion; umol/min/10*10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per trillion","U/10*12","U/(10*12)","catalytic activity",10036.8945,[0,-1,0,0,0,0,0],"U/(10<sup>12</sup>)","chemical",true,null,null,1,false,false,1,0,"enzyme unit/10*12; U per 10*12; enzyme units per 10*12; enzyme units per trillion; enzymatic activity; micromoles per minute per trillion; umol/min/10*12; umol per min per 10*12","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per million","U/10*6","U/(10*6)","catalytic activity",10036894500,[0,-1,0,0,0,0,0],"U/(10<sup>6</sup>)","chemical",true,null,null,1,false,false,1,0,"enzyme unit/10*6; U per 10*6; enzyme units per 10*6; enzyme units; enzymatic activity per volume; micromoles per minute per million; umol/min/10*6; umol per min per 10*6","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per billion","U/10*9","U/(10*9)","catalytic activity",10036894.5,[0,-1,0,0,0,0,0],"U/(10<sup>9</sup>)","chemical",true,null,null,1,false,false,1,0,"enzyme unit/10*9; U per 10*9; enzyme units per 10*9; enzymatic activity per volume; micromoles per minute per billion; umol/min/10*9; umol per min per 10*9","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per day","U/d","U/D","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/d","chemical",true,null,null,1,false,false,1,0,"U/dy; enzyme units per day; enzyme units; enzyme activity; enzymatic activity per time; micromoles per minute per day; umol/min/day; umol per min per day","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per deciliter","U/dL","U/DL","catalytic activity",100368945000000000000,[-3,-1,0,0,0,0,0],"U/dL","chemical",true,null,null,1,false,false,1,0,"U per dL; enzyme units per deciliter; decilitre; micromoles per minute per deciliter; umol/min/dL; umol per min per dL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per gram","U/g","U/G","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"U/g","chemical",true,null,null,1,false,false,1,0,"U/gm; U per gm; enzyme units per gram; micromoles per minute per gram; umol/min/g; umol per min per g","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per hour","U/h","U/HR","catalytic activity",2788026250000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,0,"U/hr; U per hr; enzyme units per hour; micromoles per minute per hour; umol/min/hr; umol per min per hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per liter","U/L","U/L","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"U/L","chemical",true,null,null,1,false,false,1,0,"enzyme unit/liter; enzyme unit/litre; U per L; enzyme units per liter; enzyme unit per litre; micromoles per minute per liter; umol/min/L; umol per min per L","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per minute","U/min","U/MIN","catalytic activity",167281575000000,[0,-2,0,0,0,0,0],"U/min","chemical",true,null,null,1,false,false,1,0,"enzyme unit/minute; U per min; enzyme units; umol/min/min; micromoles per minute per minute; micromoles per min per min; umol","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per milliliter","U/mL","U/ML","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"U/mL","chemical",true,null,null,1,false,false,1,0,"U per mL; enzyme units per milliliter; millilitre; micromoles per minute per milliliter; umol/min/mL; umol per min per mL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per second","U/s","U/S","catalytic activity",10036894500000000,[0,-2,0,0,0,0,0],"U/s","chemical",true,null,null,1,false,false,1,0,"U/sec; U per second; enzyme units per second; micromoles per minute per second; umol/min/sec; umol per min per sec","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"micro international unit","u[IU]","U[IU]","arbitrary",0.000001,[0,0,0,0,0,0,0],"\u03bci.U.","chemical",true,null,null,1,false,true,0,0,"uIU; u IU; microinternational units","LOINC","Arb","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per liter","u[IU]/L","U[IU]/L","arbitrary",0.001,[-3,0,0,0,0,0,0],"(\u03bci.U.)/L","chemical",true,null,null,1,false,true,0,0,"uIU/L; u IU/L; uIU per L; microinternational units per liter; litre; ","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per milliliter","u[IU]/mL","U[IU]/ML","arbitrary",1,[-3,0,0,0,0,0,0],"(\u03bci.U.)/mL","chemical",true,null,null,1,false,true,0,0,"uIU/mL; u IU/mL; uIU per mL; microinternational units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"microequivalent","ueq","UEQ","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"\u03bceq","chemical",true,null,null,1,false,false,0,1,"microequivalents; 10^-6 equivalents; 10-6 equivalents","LOINC","Sub","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per liter","ueq/L","UEQ/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bceq/L","chemical",true,null,null,1,false,false,0,1,"ueq per liter; litre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per milliliter","ueq/mL","UEQ/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bceq/mL","chemical",true,null,null,1,false,false,0,1,"ueq per milliliter; millilitre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microgram","ug","UG","mass",0.000001,[0,0,1,0,0,0,0],"\u03bcg",null,false,"M",null,1,false,false,0,0,"mcg; micrograms; 10^-6 grams; 10-6 grams","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"microgram per 100 gram","ug/(100.g)","UG/(100.G)","mass",1e-8,[0,0,0,0,0,0,0],"\u03bcg/g",null,false,"M",null,1,false,false,0,0,"ug/100gm; ug/100 gm; mcg; ug per 100g; 100 gm; mcg per 100g; micrograms per 100 grams","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per 24 hour","ug/(24.h)","UG/(24.HR)","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,0,"ug/24hrs; ug/24 hrs; mcg/24hrs; ug per 24hrs; mcg per 24hrs; 24 hrs; micrograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per 8 hour","ug/(8.h)","UG/(8.HR)","mass",3.472222222222222e-11,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,0,"ug/8hrs; ug/8 hrs; mcg/8hrs; ug per 8hrs; mcg per 8hrs; 8 hrs; micrograms per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per square foot (international)","ug/[sft_i]","UG/[SFT_I]","mass",0.000010763910416709721,[-2,0,1,0,0,0,0],"\u03bcg",null,false,"M",null,1,false,false,0,0,"ug/sft; ug/ft2; ug/ft^2; ug/sq. ft; micrograms; sq. foot; foot squared","LOINC","ArMass","Clinical","",null,null,null,null,false],[false,"microgram per day","ug/d","UG/D","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"\u03bcg/d",null,false,"M",null,1,false,false,0,0,"ug/dy; mcg/dy; ug per day; mcg; micrograms per day","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per deciliter","ug/dL","UG/DL","mass",0.009999999999999998,[-3,0,1,0,0,0,0],"\u03bcg/dL",null,false,"M",null,1,false,false,0,0,"ug per dL; mcg/dl; mcg per dl; micrograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per gram","ug/g","UG/G","mass",0.000001,[0,0,0,0,0,0,0],"\u03bcg/g",null,false,"M",null,1,false,false,0,0,"ug per gm; mcg/gm; mcg per g; micrograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per hour","ug/h","UG/HR","mass",2.7777777777777777e-10,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,0,"ug/hr; mcg/hr; mcg per hr; ug per hr; ug per hour; micrograms","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per kilogram","ug/kg","UG/KG","mass",9.999999999999999e-10,[0,0,0,0,0,0,0],"\u03bcg/kg",null,false,"M",null,1,false,false,0,0,"ug per kg; mcg/kg; mcg per kg; micrograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per kilogram per 8 hour","ug/kg/(8.h)","(UG/KG)/(8.HR)","mass",3.472222222222222e-14,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/h",null,false,"M",null,1,false,false,0,0,"ug/kg/8hrs; mcg/kg/8hrs; ug/kg/8 hrs; mcg/kg/8 hrs; ug per kg per 8hrs; 8 hrs; mcg per kg per 8hrs; micrograms per kilograms per 8 hours; shift","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per kilogram per day","ug/kg/d","(UG/KG)/D","mass",1.1574074074074072e-14,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/d",null,false,"M",null,1,false,false,0,0,"ug/(kg.d); ug/kg/dy; mcg/kg/day; ug per kg per dy; 24 hours; 24hrs; mcg; kilograms; microgram per kilogram and day","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per kilogram per hour","ug/kg/h","(UG/KG)/HR","mass",2.7777777777777774e-13,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/h",null,false,"M",null,1,false,false,0,0,"ug/(kg.h); ug/kg/hr; mcg/kg/hr; ug per kg per hr; mcg per kg per hr; kilograms","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per kilogram per minute","ug/kg/min","(UG/KG)/MIN","mass",1.6666666666666664e-11,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/min",null,false,"M",null,1,false,false,0,0,"ug/kg/min; ug/kg/min; mcg/kg/min; ug per kg per min; mcg; micrograms per kilograms per minute ","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per liter","ug/L","UG/L","mass",0.001,[-3,0,1,0,0,0,0],"\u03bcg/L",null,false,"M",null,1,false,false,0,0,"mcg/L; ug per L; mcg; micrograms per liter; litre ","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per liter per 24 hour","ug/L/(24.h)","(UG/L)/(24.HR)","mass",1.1574074074074074e-8,[-3,-1,1,0,0,0,0],"(\u03bcg/L)/h",null,false,"M",null,1,false,false,0,0,"ug/L/24hrs; ug/L/24 hrs; mcg/L/24hrs; ug per L per 24hrs; 24 hrs; day; dy mcg; micrograms per liters per 24 hours; litres","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per square meter","ug/m2","UG/M2","mass",0.000001,[-2,0,1,0,0,0,0],"\u03bcg/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,0,"ug/m^2; ug/sq. m; mcg/m2; mcg/m^2; mcg/sq. m; ug per m2; m^2; sq. meter; mcg; micrograms per square meter; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[false,"microgram per cubic meter","ug/m3","UG/M3","mass",0.000001,[-3,0,1,0,0,0,0],"\u03bcg/(m<sup>3</sup>)",null,false,"M",null,1,false,false,0,0,"ug/m^3; ug/cu. m; mcg/m3; mcg/m^3; mcg/cu. m; ug per m3; ug per m^3; ug per cu. m; mcg; micrograms per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per milligram","ug/mg","UG/MG","mass",0.001,[0,0,0,0,0,0,0],"\u03bcg/mg",null,false,"M",null,1,false,false,0,0,"ug per mg; mcg/mg; mcg per mg; micromilligrams per milligram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per minute","ug/min","UG/MIN","mass",1.6666666666666667e-8,[0,-1,1,0,0,0,0],"\u03bcg/min",null,false,"M",null,1,false,false,0,0,"ug per min; mcg/min; mcg per min; microminutes per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per milliliter","ug/mL","UG/ML","mass",1,[-3,0,1,0,0,0,0],"\u03bcg/mL",null,false,"M",null,1,false,false,0,0,"ug per mL; mcg/mL; mcg per mL; micrograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per millimole","ug/mmol","UG/MMOL","mass",1.660540186674939e-27,[0,0,1,0,0,0,0],"\u03bcg/mmol",null,false,"M",null,1,false,false,-1,0,"ug per mmol; mcg/mmol; mcg per mmol; micrograms per millimole","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"microgram per nanogram","ug/ng","UG/NG","mass",999.9999999999999,[0,0,0,0,0,0,0],"\u03bcg/ng",null,false,"M",null,1,false,false,0,0,"ug per ng; mcg/ng; mcg per ng; micrograms per nanogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microkatal","ukat","UKAT","catalytic activity",602213670000000000,[0,-1,0,0,0,0,0],"\u03bckat","chemical",true,null,null,1,false,false,1,0,"microkatals; ukats","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"microliter","uL","UL","volume",1e-9,[3,0,0,0,0,0,0],"\u03bcL","iso1000",true,null,null,1,false,false,0,0,"microliters; microlitres; mcl","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"microliter per 2 hour","uL/(2.h)","UL/(2.HR)","volume",1.388888888888889e-13,[3,-1,0,0,0,0,0],"\u03bcL/h","iso1000",true,null,null,1,false,false,0,0,"uL/2hrs; uL/2 hrs; mcg/2hr; mcg per 2hr; uL per 2hr; uL per 2 hrs; microliters per 2 hours; microlitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"microliter per hour","uL/h","UL/HR","volume",2.777777777777778e-13,[3,-1,0,0,0,0,0],"\u03bcL/h","iso1000",true,null,null,1,false,false,0,0,"uL/hr; mcg/hr; mcg per hr; uL per hr; microliters per hour; microlitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"micrometer","um","UM","length",0.000001,[1,0,0,0,0,0,0],"\u03bcm",null,false,"L",null,1,false,false,0,0,"micrometers; micrometres; \u03bcm; microns","LOINC","Len","Clinical","Unit of length that is usually used in tests related to the eye",null,null,null,null,false],[false,"microns per second","um/s","UM/S","length",0.000001,[1,-1,0,0,0,0,0],"\u03bcm/s",null,false,"L",null,1,false,false,0,0,"um/sec; micron/second; microns/second; um per sec; micrometers per second; micrometres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"micromole","umol","UMOL","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"\u03bcmol","si",true,null,null,1,false,false,1,0,"micromoles; umols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 2 hour","umol/(2.h)","UMOL/(2.HR)","amount of substance",83640787500000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,0,"umol/2hrs; umol/2 hrs; umol per 2 hrs; 2hrs; micromoles per 2 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 24 hour","umol/(24.h)","UMOL/(24.HR)","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,0,"umol/24hrs; umol/24 hrs; umol per 24 hrs; per 24hrs; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 8 hour","umol/(8.h)","UMOL/(8.HR)","amount of substance",20910196875000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,0,"umol/8hr; umol/8 hr; umol per 8 hr; umol per 8hr; umols per 8hr; umol per 8 hours; micromoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per day","umol/d","UMOL/D","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/d","si",true,null,null,1,false,false,1,0,"umol/day; umol per day; umols per day; umol per days; micromoles per days; umol/24hr; umol/24 hr; umol per 24 hr; umol per 24hr; umols per 24hr; umol per 24 hours; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per deciliter","umol/dL","UMOL/DL","amount of substance",6.0221367e+21,[-3,0,0,0,0,0,0],"\u03bcmol/dL","si",true,null,null,1,false,false,1,0,"micromole/deciliter; micromole/decilitre; umol per dL; micromoles per deciliters; micromole per decilitres","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per gram","umol/g","UMOL/G","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"\u03bcmol/g","si",true,null,null,1,false,false,1,0,"micromole/gram; umol per g; micromoles per gram","LOINC","SCnt; Ratio","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per hour","umol/h","UMOL/HR","amount of substance",167281575000000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,0,"umol/hr; umol per hr; umol per hour; micromoles per hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per kilogram","umol/kg","UMOL/KG","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"\u03bcmol/kg","si",true,null,null,1,false,false,1,0,"umol per kg; micromoles per kilogram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter","umol/L","UMOL/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bcmol/L","si",true,null,null,1,false,false,1,0,"micromole/liter; micromole/litre; umol per liter; micromoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter per hour","umol/L/h","(UMOL/L)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/L)/h","si",true,null,null,1,false,false,1,0,"umol/liter/hr; umol/litre/hr; umol per L per hr; umol per liter per hour; micromoles per liters per hour; litre","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min; umol/L/h is a derived unit of enzyme units","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milligram","umol/mg","UMOL/MG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"\u03bcmol/mg","si",true,null,null,1,false,false,1,0,"micromole/milligram; umol per mg; micromoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute","umol/min","UMOL/MIN","amount of substance",10036894500000000,[0,-1,0,0,0,0,0],"\u03bcmol/min","si",true,null,null,1,false,false,1,0,"micromole/minute; umol per min; micromoles per minute; enzyme units","LOINC","CAct","Clinical","unit for the enzyme unit U = umol/min","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per gram","umol/min/g","(UMOL/MIN)/G","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(\u03bcmol/min)/g","si",true,null,null,1,false,false,1,0,"umol/min/gm; umol per min per gm; micromoles per minutes per gram; U/g; enzyme units","LOINC","CCnt","Clinical","unit for the enzyme unit U = umol/min. umol/min/g = U/g","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per liter","umol/min/L","(UMOL/MIN)/L","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/min)/L","si",true,null,null,1,false,false,1,0,"umol/min/liter; umol/minute/liter; micromoles per minutes per liter; litre; enzyme units; U/L","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/min/L = U/L","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter","umol/mL","UMOL/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bcmol/mL","si",true,null,null,1,false,false,1,0,"umol per mL; micromoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter per minute","umol/mL/min","(UMOL/ML)/MIN","amount of substance",1.00368945e+22,[-3,-1,0,0,0,0,0],"(\u03bcmol/mL)/min","si",true,null,null,1,false,false,1,0,"umol per mL per min; micromoles per milliliters per minute; millilitres","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/mL/min = U/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per millimole","umol/mmol","UMOL/MMOL","amount of substance",0.001,[0,0,0,0,0,0,0],"\u03bcmol/mmol","si",true,null,null,1,false,false,0,0,"umol per mmol; micromoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per mole","umol/mol","UMOL/MOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"\u03bcmol/mol","si",true,null,null,1,false,false,0,0,"umol per mol; micromoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per micromole","umol/umol","UMOL/UMOL","amount of substance",1,[0,0,0,0,0,0,0],"\u03bcmol/\u03bcmol","si",true,null,null,1,false,false,0,0,"umol per umol; micromoles per micromole","LOINC","Srto; SFr; EntSRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"microOhm","uOhm","UOHM","electric resistance",0.001,[2,-1,1,0,0,-2,0],"\u03bc\u03a9","si",true,null,null,1,false,false,0,0,"microOhms; \xb5\u03a9","LOINC","","Clinical","unit of electric resistance","V/A","V/A","1",1,false],[false,"microsecond","us","US","time",0.000001,[0,1,0,0,0,0,0],"\u03bcs",null,false,"T",null,1,false,false,0,0,"microseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"micro enzyme unit per gram","uU/g","UU/G","catalytic activity",10036894500,[0,-1,-1,0,0,0,0],"\u03bcU/g","chemical",true,null,null,1,false,false,1,0,"uU per gm; micro enzyme units per gram; micro enzymatic activity per mass; enzyme activity","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per liter","uU/L","UU/L","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"\u03bcU/L","chemical",true,null,null,1,false,false,1,0,"uU per L; micro enzyme units per liter; litre; enzymatic activity per volume; enzyme activity ","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per milliliter","uU/mL","UU/ML","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"\u03bcU/mL","chemical",true,null,null,1,false,false,1,0,"uU per mL; micro enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"microvolt","uV","UV","electric potential",0.001,[2,-2,1,0,0,-1,0],"\u03bcV","si",true,null,null,1,false,false,0,0,"microvolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false]]}}')}},ne=>{ne(ne.s=1002)}]);

//# sourceMappingURL=lhc-forms.js.map
