bimplus-webcomponents 0.0.148 → 0.0.149
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/languages/.gitignore +36 -36
- package/dist/assets/languages/strings_cs.json +24 -72
- package/dist/assets/languages/strings_de.json +4 -15
- package/dist/assets/languages/strings_en.json +5 -5
- package/dist/assets/languages/strings_es.json +6 -54
- package/dist/assets/languages/strings_fr.json +6 -50
- package/dist/assets/languages/strings_it.json +2 -50
- package/dist/assets/languages/strings_nl.json +796 -796
- package/dist/assets/languages/strings_ro.json +7 -55
- package/dist/assets/languages/strings_ru.json +45 -93
- package/dist/assets/languages/strings_tr.json +2 -50
- package/dist/assets/languages/strings_us.json +8 -44
- package/dist/bimplus-components/main.js +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/assets/cursor_hide.cur +0 -0
- package/dist/assets/cursor_pick.cur +0 -0
|
@@ -4,9 +4,9 @@ ${e.map((i,o)=>`${o+1}) ${i.toString()}`).join(`
|
|
|
4
4
|
`);return e===-1?n:n.substring(0,e)}function Jc(t,n){return t==null||t===""?n===null?"":n:n==null||n===""?t:t+" "+n}var Av=We({__forward_ref__:We});function ji(t){return t.__forward_ref__=ji,t.toString=function(){return Lt(this())},t}function wt(t){return Q1(t)?t():t}function Q1(t){return typeof t=="function"&&t.hasOwnProperty(Av)&&t.__forward_ref__===ji}function $(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Be(t){return{providers:t.providers||[],imports:t.imports||[]}}function tu(t){return a1(t,K1)||a1(t,J1)}function a1(t,n){return t.hasOwnProperty(n)?t[n]:null}function Ov(t){let n=t&&(t[K1]||t[J1]);return n||null}function l1(t){return t&&(t.hasOwnProperty(c1)||t.hasOwnProperty(Iv))?t[c1]:null}var K1=We({\u0275prov:We}),c1=We({\u0275inj:We}),J1=We({ngInjectableDef:We}),Iv=We({ngInjectorDef:We}),G=class{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=$({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function e0(t){return t&&!!t.\u0275providers}var Sv=We({\u0275cmp:We}),Pv=We({\u0275dir:We}),Tv=We({\u0275pipe:We});var ga=We({\u0275fac:We}),Mr=We({__NG_ELEMENT_ID__:We}),d1=We({__NG_ENV_ID__:We});function Ei(t){return typeof t=="string"?t:t==null?"":String(t)}function Lv(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Ei(t)}function Vv(t,n){let e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new ge(-200,t)}function nu(t,n){throw new ge(-201,!1)}var we=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(we||{}),ed;function t0(){return ed}function Mt(t){let n=ed;return ed=t,n}function n0(t,n,e){let i=tu(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&we.Optional)return null;if(n!==void 0)return n;nu(t,"Injector")}var Fv={},kr=Fv,td="__NG_DI_FLAG__",ha="ngTempTokenPath",Nv="ngTokenPath",jv=/\n/gm,Rv="\u0275",u1="__source",po;function Bv(){return po}function Wn(t){let n=po;return po=t,n}function zv(t,n=we.Default){if(po===void 0)throw new ge(-203,!1);return po===null?n0(t,void 0,n):po.get(t,n&we.Optional?null:void 0,n)}function R(t,n=we.Default){return(t0()||zv)(wt(t),n)}function W(t,n=we.Default){return R(t,za(n))}function za(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function nd(t){let n=[];for(let e=0;e<t.length;e++){let i=wt(t[e]);if(Array.isArray(i)){if(i.length===0)throw new ge(900,!1);let o,r=we.Default;for(let s=0;s<i.length;s++){let a=i[s],l=Hv(a);typeof l=="number"?l===-1?o=a.token:r|=l:o=a}n.push(R(o,r))}else n.push(R(i))}return n}function i0(t,n){return t[td]=n,t.prototype[td]=n,t}function Hv(t){return t[td]}function Zv(t,n,e,i){let o=t[ha];throw n[u1]&&o.unshift(n[u1]),t.message=$v(`
|
|
5
5
|
`+t.message,o,e,i),t[Nv]=o,t[ha]=null,t}function $v(t,n,e,i=null){t=t&&t.charAt(0)===`
|
|
6
6
|
`&&t.charAt(1)==Rv?t.slice(2):t;let o=Lt(n);if(Array.isArray(n))o=n.map(Lt).join(" -> ");else if(typeof n=="object"){let r=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];r.push(s+":"+(typeof a=="string"?JSON.stringify(a):Lt(a)))}o=`{${r.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${t.replace(jv,`
|
|
7
|
-
`)}`}var iu=i0(X1("Optional"),8);var o0=i0(X1("SkipSelf"),4);function Ai(t,n){let e=t.hasOwnProperty(ga);return e?t[ga]:null}function Uv(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let o=t[i],r=n[i];if(e&&(o=e(o),r=e(r)),r!==o)return!1}return!0}function Wv(t){return t.flat(Number.POSITIVE_INFINITY)}function ou(t,n){t.forEach(e=>Array.isArray(e)?ou(e,n):n(e))}function r0(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function fa(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Gv(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function qv(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(o===1)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;){let r=o-2;t[o]=t[r],o--}t[n]=e,t[n+1]=i}}function ru(t,n,e){let i=jr(t,n);return i>=0?t[i|1]=e:(i=~i,qv(t,i,n,e)),i}function Rc(t,n){let e=jr(t,n);if(e>=0)return t[e|1]}function jr(t,n){return Yv(t,n,1)}function Yv(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){let r=i+(o-i>>1),s=t[r<<e];if(n===s)return r<<e;s>n?o=r:i=r+1}return~(o<<e)}var go={},Dt=[],Er=new G(""),s0=new G("",-1),a0=new G(""),ba=class{get(n,e=kr){if(e===kr){let i=new Error(`NullInjectorError: No provider for ${Lt(n)}!`);throw i.name="NullInjectorError",i}return e}},l0=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(l0||{}),gn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(gn||{}),Yn=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Yn||{});function Xv(t,n,e){let i=t.length;for(;;){let o=t.indexOf(n,e);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=n.length;if(o+r===i||t.charCodeAt(o+r)<=32)return o}e=o+1}}function id(t,n,e){let i=0;for(;i<e.length;){let o=e[i];if(typeof o=="number"){if(o!==0)break;i++;let r=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,r)}else{let r=o,s=e[++i];Qv(r)?t.setProperty(n,r,s):t.setAttribute(n,r,s),i++}}return i}function c0(t){return t===3||t===4||t===6}function Qv(t){return t.charCodeAt(0)===64}function Ar(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let o=n[i];typeof o=="number"?e=o:e===0||(e===-1||e===2?p1(t,e,o,null,n[++i]):p1(t,e,o,null,null))}}return t}function p1(t,n,e,i,o){let r=0,s=t.length;if(n===-1)s=-1;else for(;r<t.length;){let a=t[r++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=r-1;break}}}for(;r<t.length;){let a=t[r];if(typeof a=="number")break;if(a===e){if(i===null){o!==null&&(t[r+1]=o);return}else if(i===t[r+1]){t[r+2]=o;return}}r++,i!==null&&r++,o!==null&&r++}s!==-1&&(t.splice(s,0,n),r=s+1),t.splice(r++,0,e),i!==null&&t.splice(r++,0,i),o!==null&&t.splice(r++,0,o)}var d0="ng-template";function Kv(t,n,e,i){let o=0;if(i){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&Xv(n[o+1].toLowerCase(),e,0)!==-1)return!0}else if(su(t))return!1;if(o=n.indexOf(1,o),o>-1){let r;for(;++o<n.length&&typeof(r=n[o])=="string";)if(r.toLowerCase()===e)return!0}return!1}function su(t){return t.type===4&&t.value!==d0}function Jv(t,n,e){let i=t.type===4&&!e?d0:t.value;return n===i}function e3(t,n,e){let i=4,o=t.attrs,r=o!==null?i3(o):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!nn(i)&&!nn(l))return!1;if(s&&nn(l))continue;s=!1,i=l|i&1;continue}if(!s)if(i&4){if(i=2|i&1,l!==""&&!Jv(t,l,e)||l===""&&n.length===1){if(nn(i))return!1;s=!0}}else if(i&8){if(o===null||!Kv(t,o,l,e)){if(nn(i))return!1;s=!0}}else{let c=n[++a],u=t3(l,o,su(t),e);if(u===-1){if(nn(i))return!1;s=!0;continue}if(c!==""){let f;if(u>r?f="":f=o[u+1].toLowerCase(),i&2&&c!==f){if(nn(i))return!1;s=!0}}}}return nn(i)||s}function nn(t){return(t&1)===0}function t3(t,n,e,i){if(n===null)return-1;let o=0;if(i||!e){let r=!1;for(;o<n.length;){let s=n[o];if(s===t)return o;if(s===3||s===6)r=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=r?1:2}return-1}else return o3(n,t)}function u0(t,n,e=!1){for(let i=0;i<n.length;i++)if(e3(t,n[i],e))return!0;return!1}function n3(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if(!(e&1))return n[e+1]}return null}function i3(t){for(let n=0;n<t.length;n++){let e=t[n];if(c0(e))return n}return t.length}function o3(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function r3(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let o=0;o<t.length;o++)if(t[o]!==i[o])continue e;return!0}}return!1}function m1(t,n){return t?":not("+n.trim()+")":n}function s3(t){let n=t[0],e=1,i=2,o="",r=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(i&2){let a=t[++e];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?o+="."+s:i&4&&(o+=" "+s);else o!==""&&!nn(s)&&(n+=m1(r,o),o=""),i=s,r=r||!nn(i);e++}return o!==""&&(n+=m1(r,o)),n}function a3(t){return t.map(s3).join(",")}function l3(t){let n=[],e=[],i=1,o=2;for(;i<t.length;){let r=t[i];if(typeof r=="string")o===2?r!==""&&n.push(r,t[++i]):o===8&&e.push(r);else{if(!nn(o))break;o=r}i++}return{attrs:n,classes:e}}function A(t){return Nr(()=>{let n=g0(t),e=Ye(ae({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===l0.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||gn.Emulated,styles:t.styles||Dt,_:null,schemas:t.schemas||null,tView:null,id:""});h0(e);let i=t.dependencies;return e.directiveDefs=h1(i,!1),e.pipeDefs=h1(i,!0),e.id=p3(e),e})}function c3(t){return Oi(t)||p0(t)}function d3(t){return t!==null}function ze(t){return Nr(()=>({type:t.type,bootstrap:t.bootstrap||Dt,declarations:t.declarations||Dt,imports:t.imports||Dt,exports:t.exports||Dt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function g1(t,n){if(t==null)return go;let e={};for(let i in t)if(t.hasOwnProperty(i)){let o=t[i],r,s,a=Yn.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),n?(e[r]=a!==Yn.None?[i,a]:i,n[r]=s):e[r]=i}return e}function Q(t){return Nr(()=>{let n=g0(t);return h0(n),n})}function Rr(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Oi(t){return t[Sv]||null}function p0(t){return t[Pv]||null}function m0(t){return t[Tv]||null}function u3(t){let n=Oi(t)||p0(t)||m0(t);return n!==null?n.standalone:!1}function g0(t){let 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,inputTransforms:null,inputConfig:t.inputs||go,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Dt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:g1(t.inputs,n),outputs:g1(t.outputs),debugInfo:null}}function h0(t){t.features?.forEach(n=>n(t))}function h1(t,n){if(!t)return null;let e=n?m0:c3;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(d3)}function p3(t){let n=0,e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of e)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function Ha(t){return{\u0275providers:t}}function au(...t){return{\u0275providers:f0(!0,t),\u0275fromNgModule:!0}}function f0(t,...n){let e=[],i=new Set,o,r=s=>{e.push(s)};return ou(n,s=>{let a=s;od(a,r,[],i)&&(o||=[],o.push(a))}),o!==void 0&&b0(o,r),e}function b0(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:o}=t[e];lu(o,r=>{n(r,i)})}}function od(t,n,e,i){if(t=wt(t),!t)return!1;let o=null,r=l1(t),s=!r&&Oi(t);if(!r&&!s){let l=t.ngModule;if(r=l1(l),r)o=l;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)od(c,n,e,i)}}else if(r){if(r.imports!=null&&!a){i.add(o);let c;try{ou(r.imports,u=>{od(u,n,e,i)&&(c||=[],c.push(u))})}finally{}c!==void 0&&b0(c,n)}if(!a){let c=Ai(o)||(()=>new o);n({provide:o,useFactory:c,deps:Dt},o),n({provide:a0,useValue:o,multi:!0},o),n({provide:Er,useValue:()=>R(o),multi:!0},o)}let l=r.providers;if(l!=null&&!a){let c=t;lu(l,u=>{n(u,c)})}}else return!1;return o!==t&&t.providers!==void 0}function lu(t,n){for(let e of t)e0(e)&&(e=e.\u0275providers),Array.isArray(e)?lu(e,n):n(e)}var m3=We({provide:String,useValue:We});function v0(t){return t!==null&&typeof t=="object"&&m3 in t}function g3(t){return!!(t&&t.useExisting)}function h3(t){return!!(t&&t.useFactory)}function ho(t){return typeof t=="function"}function f3(t){return!!t.useClass}var Za=new G(""),la={},b3={},Bc;function $a(){return Bc===void 0&&(Bc=new ba),Bc}var Zt=class{},Or=class extends Zt{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,sd(n,s=>this.processProvider(s)),this.records.set(s0,lo(void 0,this)),o.has("environment")&&this.records.set(Zt,lo(void 0,this));let r=this.records.get(Za);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(a0,Dt,we.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let n=Ce(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Ce(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();let e=Wn(this),i=Mt(void 0),o;try{return n()}finally{Wn(e),Mt(i)}}get(n,e=kr,i=we.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(d1))return n[d1](this);i=za(i);let o,r=Wn(this),s=Mt(void 0);try{if(!(i&we.SkipSelf)){let l=this.records.get(n);if(l===void 0){let c=x3(n)&&tu(n);c&&this.injectableDefInScope(c)?l=lo(rd(n),la):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l)}let a=i&we.Self?$a():this.parent;return e=i&we.Optional&&e===kr?null:e,a.get(n,e)}catch(a){if(a.name==="NullInjectorError"){if((a[ha]=a[ha]||[]).unshift(Lt(n)),r)throw a;return Zv(a,n,"R3InjectorError",this.source)}else throw a}finally{Mt(s),Wn(r)}}resolveInjectorInitializers(){let n=Ce(null),e=Wn(this),i=Mt(void 0),o;try{let r=this.get(Er,Dt,we.Self);for(let s of r)s()}finally{Wn(e),Mt(i),Ce(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(Lt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ge(205,!1)}processProvider(n){n=wt(n);let e=ho(n)?n:wt(n&&n.provide),i=_3(n);if(!ho(n)&&n.multi===!0){let o=this.records.get(e);o||(o=lo(void 0,la,!0),o.factory=()=>nd(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){let i=Ce(null);try{return e.value===la&&(e.value=b3,e.value=e.factory()),typeof e.value=="object"&&e.value&&w3(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{Ce(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=wt(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function rd(t){let n=tu(t),e=n!==null?n.factory:Ai(t);if(e!==null)return e;if(t instanceof G)throw new ge(204,!1);if(t instanceof Function)return v3(t);throw new ge(204,!1)}function v3(t){if(t.length>0)throw new ge(204,!1);let e=Ov(t);return e!==null?()=>e.factory(t):()=>new t}function _3(t){if(v0(t))return lo(void 0,t.useValue);{let n=_0(t);return lo(n,la)}}function _0(t,n,e){let i;if(ho(t)){let o=wt(t);return Ai(o)||rd(o)}else if(v0(t))i=()=>wt(t.useValue);else if(h3(t))i=()=>t.useFactory(...nd(t.deps||[]));else if(g3(t))i=()=>R(wt(t.useExisting));else{let o=wt(t&&(t.useClass||t.provide));if(C3(t))i=()=>new o(...nd(t.deps));else return Ai(o)||rd(o)}return i}function lo(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function C3(t){return!!t.deps}function w3(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function x3(t){return typeof t=="function"||typeof t=="object"&&t instanceof G}function sd(t,n){for(let e of t)Array.isArray(e)?sd(e,n):e&&e0(e)?sd(e.\u0275providers,n):n(e)}function C0(t,n){t instanceof Or&&t.assertNotDestroyed();let e,i=Wn(t),o=Mt(void 0);try{return n()}finally{Wn(i),Mt(o)}}function w0(){return t0()!==void 0||Bv()!=null}function x0(t){if(!w0())throw new ge(-203,!1)}function y3(t){return typeof t=="function"}var In=0,ue=1,le=2,vt=3,rn=4,At=5,fo=6,va=7,pt=8,bo=9,hn=10,Qe=11,Ir=12,f1=13,Do=14,kt=15,Ii=16,co=17,On=18,Ua=19,y0=20,Gn=21,zc=22,Ht=23,mt=25,M0=1;var Si=7,_a=8,vo=9,bt=10,Ca=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Ca||{});function qn(t){return Array.isArray(t)&&typeof t[M0]=="object"}function Sn(t){return Array.isArray(t)&&t[M0]===!0}function cu(t){return(t.flags&4)!==0}function Wa(t){return t.componentOffset>-1}function Ga(t){return(t.flags&1)===1}function Xn(t){return!!t.template}function ad(t){return(t[le]&512)!==0}var Sr=class{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function D0(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}function Ge(){return k0}function k0(t){return t.type.prototype.ngOnChanges&&(t.setInput=D3),M3}Ge.ngInherit=!0;function M3(){let t=A0(this),n=t?.current;if(n){let e=t.previous;if(e===go)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function D3(t,n,e,i,o){let r=this.declaredInputs[i],s=A0(t)||k3(t,{previous:go,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[r];a[r]=new Sr(c&&c.currentValue,e,l===go),D0(t,n,o,e)}var E0="__ngSimpleChanges__";function A0(t){return t[E0]||null}function k3(t,n){return t[E0]=n}var b1=null;var pn=function(t,n,e){b1?.(t,n,e)},O0="svg",E3="math";function fn(t){for(;Array.isArray(t);)t=t[In];return t}function I0(t,n){return fn(n[t])}function $t(t,n){return fn(n[t.index])}function du(t,n){return t.data[n]}function S0(t,n){return t[n]}function ei(t,n){let e=n[t];return qn(e)?e:e[In]}function A3(t){return(t[le]&4)===4}function uu(t){return(t[le]&128)===128}function O3(t){return Sn(t[vt])}function Qn(t,n){return n==null?null:t[n]}function P0(t){t[co]=0}function T0(t){t[le]&1024||(t[le]|=1024,uu(t)&&Ya(t))}function I3(t,n){for(;t>0;)n=n[Do],t--;return n}function qa(t){return!!(t[le]&9216||t[Ht]?.dirty)}function ld(t){t[hn].changeDetectionScheduler?.notify(8),t[le]&64&&(t[le]|=1024),qa(t)&&Ya(t)}function Ya(t){t[hn].changeDetectionScheduler?.notify(0);let n=Pi(t);for(;n!==null&&!(n[le]&8192||(n[le]|=8192,!uu(n)));)n=Pi(n)}function L0(t,n){if((t[le]&256)===256)throw new ge(911,!1);t[Gn]===null&&(t[Gn]=[]),t[Gn].push(n)}function S3(t,n){if(t[Gn]===null)return;let e=t[Gn].indexOf(n);e!==-1&&t[Gn].splice(e,1)}function Pi(t){let n=t[vt];return Sn(n)?n[vt]:n}var he={lFrame:Z0(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var V0=!1;function P3(){return he.lFrame.elementDepthCount}function T3(){he.lFrame.elementDepthCount++}function L3(){he.lFrame.elementDepthCount--}function F0(){return he.bindingsEnabled}function N0(){return he.skipHydrationRootTNode!==null}function V3(t){return he.skipHydrationRootTNode===t}function F3(){he.skipHydrationRootTNode=null}function ie(){return he.lFrame.lView}function Ke(){return he.lFrame.tView}function C(t){return he.lFrame.contextLView=t,t[pt]}function w(t){return he.lFrame.contextLView=null,t}function gt(){let t=j0();for(;t!==null&&t.type===64;)t=t.parent;return t}function j0(){return he.lFrame.currentTNode}function N3(){let t=he.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Ri(t,n){let e=he.lFrame;e.currentTNode=t,e.isParent=n}function pu(){return he.lFrame.isParent}function mu(){he.lFrame.isParent=!1}function j3(){return he.lFrame.contextLView}function R0(){return V0}function v1(t){V0=t}function ko(){let t=he.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function R3(){return he.lFrame.bindingIndex}function B3(t){return he.lFrame.bindingIndex=t}function Bi(){return he.lFrame.bindingIndex++}function gu(t){let n=he.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function z3(){return he.lFrame.inI18n}function H3(t,n){let e=he.lFrame;e.bindingIndex=e.bindingRootIndex=t,cd(n)}function Z3(){return he.lFrame.currentDirectiveIndex}function cd(t){he.lFrame.currentDirectiveIndex=t}function $3(t){let n=he.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function B0(){return he.lFrame.currentQueryIndex}function hu(t){he.lFrame.currentQueryIndex=t}function U3(t){let n=t[ue];return n.type===2?n.declTNode:n.type===1?t[At]:null}function z0(t,n,e){if(e&we.SkipSelf){let o=n,r=t;for(;o=o.parent,o===null&&!(e&we.Host);)if(o=U3(r),o===null||(r=r[Do],o.type&10))break;if(o===null)return!1;n=o,t=r}let i=he.lFrame=H0();return i.currentTNode=n,i.lView=t,!0}function fu(t){let n=H0(),e=t[ue];he.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function H0(){let t=he.lFrame,n=t===null?null:t.child;return n===null?Z0(t):n}function Z0(t){let 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 t!==null&&(t.child=n),n}function $0(){let t=he.lFrame;return he.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var U0=$0;function bu(){let t=$0();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 W3(t){return(he.lFrame.contextLView=I3(t,he.lFrame.contextLView))[pt]}function Pn(){return he.lFrame.selectedIndex}function Ti(t){he.lFrame.selectedIndex=t}function Br(){let t=he.lFrame;return du(t.tView,t.selectedIndex)}function W0(){he.lFrame.currentNamespace=O0}function G3(){return he.lFrame.currentNamespace}var G0=!0;function Xa(){return G0}function Qa(t){G0=t}function q3(t,n,e){let{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){let s=k0(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}o&&(e.preOrderHooks??=[]).push(0-t,o),r&&((e.preOrderHooks??=[]).push(t,r),(e.preOrderCheckHooks??=[]).push(t,r))}function Ka(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let r=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=r;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),u!=null&&(t.destroyHooks??=[]).push(e,u)}}function ca(t,n,e){q0(t,n,3,e)}function da(t,n,e,i){(t[le]&3)===e&&q0(t,n,e,i)}function Hc(t,n){let e=t[le];(e&3)===n&&(e&=16383,e+=1,t[le]=e)}function q0(t,n,e,i){let o=i!==void 0?t[co]&65535:0,r=i??-1,s=n.length-1,a=0;for(let l=o;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],i!=null&&a>=i)break}else n[l]<0&&(t[co]+=65536),(a<r||r==-1)&&(Y3(t,e,n,l),t[co]=(t[co]&4294901760)+l+2),l++}function _1(t,n){pn(4,t,n);let e=Ce(null);try{n.call(t)}finally{Ce(e),pn(5,t,n)}}function Y3(t,n,e,i){let o=e[i]<0,r=e[i+1],s=o?-e[i]:e[i],a=t[s];o?t[le]>>14<t[co]>>16&&(t[le]&3)===n&&(t[le]+=16384,_1(a,r)):_1(a,r)}var mo=-1,Li=class{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}};function X3(t){return t instanceof Li}function Q3(t){return(t.flags&8)!==0}function K3(t){return(t.flags&16)!==0}var Zc={},dd=class{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=za(i);let o=this.injector.get(n,Zc,i);return o!==Zc||e===Zc?o:this.parentInjector.get(n,e,i)}};function Y0(t){return t!==mo}function wa(t){return t&32767}function J3(t){return t>>16}function xa(t,n){let e=J3(t),i=n;for(;e>0;)i=i[Do],e--;return i}var ud=!0;function ya(t){let n=ud;return ud=t,n}var e_=256,X0=e_-1,Q0=5,t_=0,mn={};function n_(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(Mr)&&(i=e[Mr]),i==null&&(i=e[Mr]=t_++);let o=i&X0,r=1<<o;n.data[t+(o>>Q0)]|=r}function Ma(t,n){let e=K0(t,n);if(e!==-1)return e;let i=n[ue];i.firstCreatePass&&(t.injectorIndex=n.length,$c(i.data,t),$c(n,null),$c(i.blueprint,null));let o=vu(t,n),r=t.injectorIndex;if(Y0(o)){let s=wa(o),a=xa(o,n),l=a[ue].data;for(let c=0;c<8;c++)n[r+c]=a[s+c]|l[s+c]}return n[r+8]=o,r}function $c(t,n){t.push(0,0,0,0,0,0,0,0,n)}function K0(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function vu(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;o!==null;){if(i=ig(o),i===null)return mo;if(e++,o=o[Do],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return mo}function pd(t,n,e){n_(t,n,e)}function i_(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,o=0;for(;o<i;){let r=e[o];if(c0(r))break;if(r===0)o=o+2;else if(typeof r=="number")for(o++;o<i&&typeof e[o]=="string";)o++;else{if(r===n)return e[o+1];o=o+2}}}return null}function J0(t,n,e){if(e&we.Optional||t!==void 0)return t;nu(n,"NodeInjector")}function eg(t,n,e,i){if(e&we.Optional&&i===void 0&&(i=null),!(e&(we.Self|we.Host))){let o=t[bo],r=Mt(void 0);try{return o?o.get(n,i,e&we.Optional):n0(n,i,e&we.Optional)}finally{Mt(r)}}return J0(i,n,e)}function tg(t,n,e,i=we.Default,o){if(t!==null){if(n[le]&2048&&!(i&we.Self)){let s=a_(t,n,e,i,mn);if(s!==mn)return s}let r=ng(t,n,e,i,mn);if(r!==mn)return r}return eg(n,e,i,o)}function ng(t,n,e,i,o){let r=r_(e);if(typeof r=="function"){if(!z0(n,t,i))return i&we.Host?J0(o,e,i):eg(n,e,i,o);try{let s;if(s=r(i),s==null&&!(i&we.Optional))nu(e);else return s}finally{U0()}}else if(typeof r=="number"){let s=null,a=K0(t,n),l=mo,c=i&we.Host?n[kt][At]:null;for((a===-1||i&we.SkipSelf)&&(l=a===-1?vu(t,n):n[a+8],l===mo||!w1(i,!1)?a=-1:(s=n[ue],a=wa(l),n=xa(l,n)));a!==-1;){let u=n[ue];if(C1(r,a,u.data)){let f=o_(a,n,e,s,i,c);if(f!==mn)return f}l=n[a+8],l!==mo&&w1(i,n[ue].data[a+8]===c)&&C1(r,a,n)?(s=u,a=wa(l),n=xa(l,n)):a=-1}}return o}function o_(t,n,e,i,o,r){let s=n[ue],a=s.data[t+8],l=i==null?Wa(a)&&ud:i!=s&&(a.type&3)!==0,c=o&we.Host&&r===a,u=ua(a,s,e,l,c);return u!==null?Vi(n,s,u,a):mn}function ua(t,n,e,i,o){let r=t.providerIndexes,s=n.data,a=r&1048575,l=t.directiveStart,c=t.directiveEnd,u=r>>20,f=i?a:a+u,x=o?a+u:c;for(let b=f;b<x;b++){let E=s[b];if(b<l&&e===E||b>=l&&E.type===e)return b}if(o){let b=s[l];if(b&&Xn(b)&&b.type===e)return l}return null}function Vi(t,n,e,i){let o=t[e],r=n.data;if(X3(o)){let s=o;s.resolving&&Vv(Lv(r[e]));let a=ya(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Mt(s.injectImpl):null,u=z0(t,i,we.Default);try{o=t[e]=s.factory(void 0,r,t,i),n.firstCreatePass&&e>=i.directiveStart&&q3(e,r[e],n)}finally{c!==null&&Mt(c),ya(a),s.resolving=!1,U0()}}return o}function r_(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Mr)?t[Mr]:void 0;return typeof n=="number"?n>=0?n&X0:s_:n}function C1(t,n,e){let i=1<<t;return!!(e[n+(t>>Q0)]&i)}function w1(t,n){return!(t&we.Self)&&!(t&we.Host&&n)}var ki=class{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return tg(this._tNode,this._lView,n,za(i),e)}};function s_(){return new ki(gt(),ie())}function Ut(t){return Nr(()=>{let n=t.prototype.constructor,e=n[ga]||md(n),i=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){let r=o[ga]||md(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function md(t){return Q1(t)?()=>{let n=md(wt(t));return n&&n()}:Ai(t)}function a_(t,n,e,i,o){let r=t,s=n;for(;r!==null&&s!==null&&s[le]&2048&&!(s[le]&512);){let a=ng(r,s,e,i|we.Self,mn);if(a!==mn)return a;let l=r.parent;if(!l){let c=s[y0];if(c){let u=c.get(e,mn,i);if(u!==mn)return u}l=ig(s),s=s[Do]}r=l}return o}function ig(t){let n=t[ue],e=n.type;return e===2?n.declTNode:e===1?t[At]:null}function Eo(t){return i_(gt(),t)}function x1(t,n=null,e=null,i){let o=l_(t,n,e,i);return o.resolveInjectorInitializers(),o}function l_(t,n=null,e=null,i,o=new Set){let r=[e||Dt,au(t)];return i=i||(typeof t=="object"?void 0:Lt(t)),new Or(r,n||$a(),i||null,o)}var bn=class t{static{this.THROW_IF_NOT_FOUND=kr}static{this.NULL=new ba}static create(n,e){if(Array.isArray(n))return x1({name:""},e,n,"");{let i=n.name??"";return x1({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=$({token:t,providedIn:"any",factory:()=>R(s0)})}static{this.__NG_ELEMENT_ID__=-1}};var c_=new G("");c_.__NG_ELEMENT_ID__=t=>{let n=gt();if(n===null)throw new ge(204,!1);if(n.type&2)return n.value;if(t&we.Optional)return null;throw new ge(204,!1)};var d_="ngOriginalError";function Uc(t){return t[d_]}var og=!0,Ao=(()=>{class t{static{this.__NG_ELEMENT_ID__=u_}static{this.__NG_ENV_ID__=e=>e}}return t})(),gd=class extends Ao{constructor(n){super(),this._lView=n}onDestroy(n){return L0(this._lView,n),()=>S3(this._lView,n)}};function u_(){return new gd(ie())}var Oo=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ie(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t})}}return t})();var hd=class extends ve{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,w0()&&(this.destroyRef=W(Ao,{optional:!0})??void 0,this.pendingTasks=W(Oo,{optional:!0})??void 0)}emit(n){let e=Ce(null);try{super.next(n)}finally{Ce(e)}}subscribe(n,e,i){let o=n,r=e||(()=>null),s=i;if(n&&typeof n=="object"){let l=n;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:r,complete:s});return n instanceof Xe&&n.add(a),a}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{n(e),i!==void 0&&this.pendingTasks?.remove(i)})}}},y=hd;function Da(...t){}function rg(t){let n,e;function i(){t=Da;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function y1(t){return queueMicrotask(()=>t()),()=>{t=Da}}var _u="isAngularZone",ka=_u+"_ID",p_=0,Me=class t{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new y(!1),this.onMicrotaskEmpty=new y(!1),this.onStable=new y(!1),this.onError=new y(!1);let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:r=og}=n;if(typeof Zone>"u")throw new ge(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&i,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=r,h_(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(_u)===!0}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,o){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,m_,Da,Da);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},m_={};function Cu(t){if(t._nesting==0&&!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 g_(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){rg(()=>{t.callbackScheduled=!1,fd(t),t.isCheckStableRunning=!0,Cu(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),fd(t)}function h_(t){let n=()=>{g_(t)},e=p_++;t._inner=t._inner.fork({name:"angular",properties:{[_u]:!0,[ka]:e,[ka+e]:!0},onInvokeTask:(i,o,r,s,a,l)=>{if(f_(l))return i.invokeTask(r,s,a,l);try{return M1(t),i.invokeTask(r,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),D1(t)}},onInvoke:(i,o,r,s,a,l,c)=>{try{return M1(t),i.invoke(r,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!b_(l)&&n(),D1(t)}},onHasTask:(i,o,r,s)=>{i.hasTask(r,s),o===r&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,fd(t),Cu(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,o,r,s)=>(i.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function fd(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function M1(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function D1(t){t._nesting--,Cu(t)}var bd=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new y,this.onMicrotaskEmpty=new y,this.onStable=new y,this.onError=new y}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,o){return n.apply(e,i)}};function f_(t){return sg(t,"__ignore_ng_zone__")}function b_(t){return sg(t,"__scheduler_tick__")}function sg(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var vn=class{constructor(){this._console=console}handleError(n){let e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&Uc(n);for(;e&&Uc(e);)e=Uc(e);return e||null}},v_=new G("",{providedIn:"root",factory:()=>{let t=W(Me),n=W(vn);return e=>t.runOutsideAngular(()=>n.handleError(e))}});function __(){return Io(gt(),ie())}function Io(t,n){return new q($t(t,n))}var q=(()=>{class t{constructor(e){this.nativeElement=e}static{this.__NG_ELEMENT_ID__=__}}return t})();function C_(t){return t instanceof q?t.nativeElement:t}function w_(){return this._results[Symbol.iterator]()}var Pr=class t{get changes(){return this._changes??=new y}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let e=t.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=w_)}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;let i=Wv(n);(this._changesDetected=!Uv(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function ag(t){return(t.flags&128)===128}var lg=new Map,x_=0;function y_(){return x_++}function M_(t){lg.set(t[Ua],t)}function vd(t){lg.delete(t[Ua])}var k1="__ngContext__";function Kn(t,n){qn(n)?(t[k1]=n[Ua],M_(n)):t[k1]=n}function cg(t){return ug(t[Ir])}function dg(t){return ug(t[rn])}function ug(t){for(;t!==null&&!Sn(t);)t=t[rn];return t}var _d;function pg(t){_d=t}function mg(){if(_d!==void 0)return _d;if(typeof document<"u")return document;throw new ge(210,!1)}var Ja=new G("",{providedIn:"root",factory:()=>D_}),D_="ng",wu=new G(""),Cn=new G("",{providedIn:"platform",factory:()=>"unknown"});var zr=new G(""),Hr=new G("",{providedIn:"root",factory:()=>mg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var k_="h",E_="b";var A_=()=>null;function xu(t,n,e=!1){return A_(t,n,e)}var gg=!1,O_=new G("",{providedIn:"root",factory:()=>gg});var na;function I_(){if(na===void 0&&(na=null,Dr.trustedTypes))try{na=Dr.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return na}function el(t){return I_()?.createHTML(t)||t}var ia;function S_(){if(ia===void 0&&(ia=null,Dr.trustedTypes))try{ia=Dr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ia}function E1(t){return S_()?.createHTML(t)||t}var Ea=class{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Y1})`}};function So(t){return t instanceof Ea?t.changingThisBreaksApplicationSecurity:t}function yu(t,n){let e=P_(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Y1})`)}return e===n}function P_(t){return t instanceof Ea&&t.getTypeName()||null}function T_(t){let n=new wd(t);return L_()?new Cd(n):n}var Cd=class{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(el(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},wd=class{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=el(n),e}};function L_(){try{return!!new window.DOMParser().parseFromString(el(""),"text/html")}catch{return!1}}var V_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Mu(t){return t=String(t),t.match(V_)?t:"unsafe:"+t}function Tn(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Zr(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var hg=Tn("area,br,col,hr,img,wbr"),fg=Tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bg=Tn("rp,rt"),F_=Zr(bg,fg),N_=Zr(fg,Tn("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")),j_=Zr(bg,Tn("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")),A1=Zr(hg,N_,j_,F_),vg=Tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),R_=Tn("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"),B_=Tn("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"),z_=Zr(vg,R_,B_),H_=Tn("script,style,template"),xd=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0,o=[];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){o.push(e),e=U_(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=$_(e);if(r){e=r;break}e=o.pop()}}return this.buf.join("")}startElement(n){let e=O1(n).toLowerCase();if(!A1.hasOwnProperty(e))return this.sanitizedSomething=!0,!H_.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let o=0;o<i.length;o++){let r=i.item(o),s=r.name,a=s.toLowerCase();if(!z_.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=r.value;vg[a]&&(l=Mu(l)),this.buf.push(" ",s,'="',I1(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=O1(n).toLowerCase();A1.hasOwnProperty(e)&&!hg.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(I1(n))}};function Z_(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function $_(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw _g(n);return n}function U_(t){let n=t.firstChild;if(n&&Z_(t,n))throw _g(n);return n}function O1(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function _g(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var W_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,G_=/([^\#-~ |!])/g;function I1(t){return t.replace(/&/g,"&").replace(W_,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(G_,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var oa;function Cg(t,n){let e=null;try{oa=oa||T_(t);let i=n?String(n):"";e=oa.getInertBodyElement(i);let o=5,r=i;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=e.innerHTML,e=oa.getInertBodyElement(i)}while(i!==r);let a=new xd().sanitizeChildren(S1(e)||e);return el(a)}finally{if(e){let i=S1(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function S1(t){return"content"in t&&q_(t)?t.content:null}function q_(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var tl=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}(tl||{});function Du(t){let n=wg();return n?E1(n.sanitize(tl.HTML,t)||""):yu(t,"HTML")?E1(So(t)):Cg(mg(),Ei(t))}function $r(t){let n=wg();return n?n.sanitize(tl.URL,t)||"":yu(t,"URL")?So(t):Mu(Ei(t))}function wg(){let t=ie();return t&&t[hn].sanitizer}var Y_=/^>|^->|<!--|-->|--!>|<!-$/g,X_=/(<|>)/g,Q_="\u200B$1\u200B";function K_(t){return t.replace(Y_,n=>n.replace(X_,Q_))}function Vt(t){return t.ownerDocument}var _n=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(_n||{}),J_;function ku(t,n){return J_(t,n)}function uo(t,n,e,i,o){if(i!=null){let r,s=!1;Sn(i)?r=i:qn(i)&&(s=!0,i=i[In]);let a=fn(i);t===0&&e!==null?o==null?kg(n,e,a):Aa(n,e,a,o||null,!0):t===1&&e!==null?Aa(n,e,a,o||null,!0):t===2?m4(n,a,s):t===3&&n.destroyNode(a),r!=null&&h4(n,t,r,e,o)}}function e4(t,n){return t.createText(n)}function t4(t,n,e){t.setValue(n,e)}function n4(t,n){return t.createComment(K_(n))}function xg(t,n,e){return t.createElement(n,e)}function i4(t,n){yg(t,n),n[In]=null,n[At]=null}function o4(t,n,e,i,o,r){i[In]=o,i[At]=n,ol(t,i,e,1,o,r)}function yg(t,n){n[hn].changeDetectionScheduler?.notify(9),ol(t,n,n[Qe],2,null,null)}function r4(t){let n=t[Ir];if(!n)return Wc(t[ue],t);for(;n;){let e=null;if(qn(n))e=n[Ir];else{let i=n[bt];i&&(e=i)}if(!e){for(;n&&!n[rn]&&n!==t;)qn(n)&&Wc(n[ue],n),n=n[vt];n===null&&(n=t),qn(n)&&Wc(n[ue],n),e=n&&n[rn]}n=e}}function s4(t,n,e,i){let o=bt+i,r=e.length;i>0&&(e[o-1][rn]=n),i<r-bt?(n[rn]=e[o],r0(e,bt+i,n)):(e.push(n),n[rn]=null),n[vt]=e;let s=n[Ii];s!==null&&e!==s&&Mg(s,n);let a=n[On];a!==null&&a.insertView(t),ld(n),n[le]|=128}function Mg(t,n){let e=t[vo],i=n[vt];if(qn(i))t[le]|=Ca.HasTransplantedViews;else{let o=i[vt][kt];n[kt]!==o&&(t[le]|=Ca.HasTransplantedViews)}e===null?t[vo]=[n]:e.push(n)}function Eu(t,n){let e=t[vo],i=e.indexOf(n);e.splice(i,1)}function Tr(t,n){if(t.length<=bt)return;let e=bt+n,i=t[e];if(i){let o=i[Ii];o!==null&&o!==t&&Eu(o,i),n>0&&(t[e-1][rn]=i[rn]);let r=fa(t,bt+n);i4(i[ue],i);let s=r[On];s!==null&&s.detachView(r[ue]),i[vt]=null,i[rn]=null,i[le]&=-129}return i}function nl(t,n){if(!(n[le]&256)){let e=n[Qe];e.destroyNode&&ol(t,n,e,3,null,null),r4(n)}}function Wc(t,n){if(n[le]&256)return;let e=Ce(null);try{n[le]&=-129,n[le]|=256,n[Ht]&&xc(n[Ht]),l4(t,n),a4(t,n),n[ue].type===1&&n[Qe].destroy();let i=n[Ii];if(i!==null&&Sn(n[vt])){i!==n[vt]&&Eu(i,n);let o=n[On];o!==null&&o.detachView(t)}vd(n)}finally{Ce(e)}}function a4(t,n){let e=t.cleanup,i=n[va];if(e!==null)for(let r=0;r<e.length-1;r+=2)if(typeof e[r]=="string"){let s=e[r+3];s>=0?i[s]():i[-s].unsubscribe(),r+=2}else{let s=i[e[r+1]];e[r].call(s)}i!==null&&(n[va]=null);let o=n[Gn];if(o!==null){n[Gn]=null;for(let r=0;r<o.length;r++){let s=o[r];s()}}}function l4(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let o=n[e[i]];if(!(o instanceof Li)){let r=e[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let a=o[r[s]],l=r[s+1];pn(4,a,l);try{l.call(a)}finally{pn(5,a,l)}}else{pn(4,o,r);try{r.call(o)}finally{pn(5,o,r)}}}}}function Dg(t,n,e){return c4(t,n.parent,e)}function c4(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[In];{let{componentOffset:o}=i;if(o>-1){let{encapsulation:r}=t.data[i.directiveStart+o];if(r===gn.None||r===gn.Emulated)return null}return $t(i,e)}}function Aa(t,n,e,i,o){t.insertBefore(n,e,i,o)}function kg(t,n,e){t.appendChild(n,e)}function P1(t,n,e,i,o){i!==null?Aa(t,n,e,i,o):kg(t,n,e)}function Eg(t,n){return t.parentNode(n)}function d4(t,n){return t.nextSibling(n)}function Ag(t,n,e){return p4(t,n,e)}function u4(t,n,e){return t.type&40?$t(t,e):null}var p4=u4,T1;function il(t,n,e,i){let o=Dg(t,i,n),r=n[Qe],s=i.parent||n[At],a=Ag(s,i,n);if(o!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)P1(r,o,e[l],a,!1);else P1(r,o,e,a,!1);T1!==void 0&&T1(r,i,n,e,o)}function xr(t,n){if(n!==null){let e=n.type;if(e&3)return $t(n,t);if(e&4)return yd(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return xr(t,i);{let o=t[n.index];return Sn(o)?yd(-1,o):fn(o)}}else{if(e&128)return xr(t,n.next);if(e&32)return ku(n,t)()||fn(t[n.index]);{let i=Og(t,n);if(i!==null){if(Array.isArray(i))return i[0];let o=Pi(t[kt]);return xr(o,i)}else return xr(t,n.next)}}}return null}function Og(t,n){if(n!==null){let i=t[kt][At],o=n.projection;return i.projection[o]}return null}function yd(t,n){let e=bt+t+1;if(e<n.length){let i=n[e],o=i[ue].firstChild;if(o!==null)return xr(i,o)}return n[Si]}function m4(t,n,e){t.removeChild(null,n,e)}function Au(t,n,e,i,o,r,s){for(;e!=null;){if(e.type===128){e=e.next;continue}let a=i[e.index],l=e.type;if(s&&n===0&&(a&&Kn(fn(a),i),e.flags|=2),(e.flags&32)!==32)if(l&8)Au(t,n,e.child,i,o,r,!1),uo(n,t,o,a,r);else if(l&32){let c=ku(e,i),u;for(;u=c();)uo(n,t,o,u,r);uo(n,t,o,a,r)}else l&16?Ig(t,n,i,e,o,r):uo(n,t,o,a,r);e=s?e.projectionNext:e.next}}function ol(t,n,e,i,o,r){Au(e,i,t.firstChild,n,o,r,!1)}function g4(t,n,e){let i=n[Qe],o=Dg(t,e,n),r=e.parent||n[At],s=Ag(r,e,n);Ig(i,0,n,e,o,s)}function Ig(t,n,e,i,o,r){let s=e[kt],l=s[At].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];uo(n,t,o,u,r)}else{let c=l,u=s[vt];ag(i)&&(c.flags|=128),Au(t,n,c,u,o,r,!0)}}function h4(t,n,e,i,o){let r=e[Si],s=fn(e);r!==s&&uo(n,t,i,r,o);for(let a=bt;a<e.length;a++){let l=e[a];ol(l[ue],l,t,n,i,r)}}function f4(t,n,e,i,o){if(n)o?t.addClass(e,i):t.removeClass(e,i);else{let r=i.indexOf("-")===-1?void 0:_n.DashCase;o==null?t.removeStyle(e,i,r):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=_n.Important),t.setStyle(e,i,o,r))}}function b4(t,n,e){t.setAttribute(n,"style",e)}function Sg(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function Pg(t,n,e){let{mergedAttrs:i,classes:o,styles:r}=e;i!==null&&id(t,n,i),o!==null&&Sg(t,n,o),r!==null&&b4(t,n,r)}var Ft={};function d(t=1){Tg(Ke(),ie(),Pn()+t,!1)}function Tg(t,n,e,i){if(!i)if((n[le]&3)===3){let r=t.preOrderCheckHooks;r!==null&&ca(n,r,e)}else{let r=t.preOrderHooks;r!==null&&da(n,r,0,e)}Ti(e)}function _(t,n=we.Default){let e=ie();if(e===null)return R(t,n);let i=gt();return tg(i,e,wt(t),n)}function Lg(){let t="invalid";throw new Error(t)}function Vg(t,n,e,i,o,r){let s=Ce(null);try{let a=null;o&Yn.SignalBased&&(a=n[i][kn]),a!==null&&a.transformFn!==void 0&&(r=a.transformFn(r)),o&Yn.HasDecoratorInputTransform&&(r=t.inputTransforms[i].call(n,r)),t.setInput!==null?t.setInput(n,a,r,e,i):D0(n,a,i,r)}finally{Ce(s)}}function v4(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let o=e[i];if(o<0)Ti(~o);else{let r=o,s=e[++i],a=e[++i];H3(s,r);let l=n[r];a(2,l)}}}finally{Ti(-1)}}function rl(t,n,e,i,o,r,s,a,l,c,u){let f=n.blueprint.slice();return f[In]=o,f[le]=i|4|128|8|64,(c!==null||t&&t[le]&2048)&&(f[le]|=2048),P0(f),f[vt]=f[Do]=t,f[pt]=e,f[hn]=s||t&&t[hn],f[Qe]=a||t&&t[Qe],f[bo]=l||t&&t[bo]||null,f[At]=r,f[Ua]=y_(),f[fo]=u,f[y0]=c,f[kt]=n.type==2?t[kt]:f,f}function Po(t,n,e,i,o){let r=t.data[n];if(r===null)r=_4(t,n,e,i,o),z3()&&(r.flags|=32);else if(r.type&64){r.type=e,r.value=i,r.attrs=o;let s=N3();r.injectorIndex=s===null?-1:s.injectorIndex}return Ri(r,!0),r}function _4(t,n,e,i,o){let r=j0(),s=pu(),a=s?r:r&&r.parent,l=t.data[n]=D4(t,a,e,n,i,o);return t.firstChild===null&&(t.firstChild=l),r!==null&&(s?r.child==null&&l.parent!==null&&(r.child=l):r.next===null&&(r.next=l,l.prev=r)),l}function Fg(t,n,e,i){if(e===0)return-1;let o=n.length;for(let r=0;r<e;r++)n.push(i),t.blueprint.push(i),t.data.push(null);return o}function Ng(t,n,e,i,o){let r=Pn(),s=i&2;try{Ti(-1),s&&n.length>mt&&Tg(t,n,mt,!1),pn(s?2:0,o),e(i,o)}finally{Ti(r),pn(s?3:1,o)}}function Ou(t,n,e){if(cu(n)){let i=Ce(null);try{let o=n.directiveStart,r=n.directiveEnd;for(let s=o;s<r;s++){let a=t.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{Ce(i)}}}function Iu(t,n,e){F0()&&(S4(t,n,e,$t(e,n)),(e.flags&64)===64&&Bg(t,n,e))}function Su(t,n,e=$t){let i=n.localNames;if(i!==null){let o=n.index+1;for(let r=0;r<i.length;r+=2){let s=i[r+1],a=s===-1?e(n,t):t[s];t[o++]=a}}}function jg(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=Pu(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function Pu(t,n,e,i,o,r,s,a,l,c,u){let f=mt+i,x=f+o,b=C4(f,x),E=typeof c=="function"?c():c;return b[ue]={type:t,blueprint:b,template:e,queries:null,viewQuery:a,declTNode:n,data:b.slice().fill(null,f),bindingStartIndex:f,expandoStartIndex:x,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:typeof r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:E,incompleteFirstPass:!1,ssrId:u}}function C4(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:Ft);return e}function w4(t,n,e,i){let r=i.get(O_,gg)||e===gn.ShadowDom,s=t.selectRootElement(n,r);return x4(s),s}function x4(t){y4(t)}var y4=()=>null;function M4(t,n,e,i){let o=Zg(n);o.push(e),t.firstCreatePass&&$g(t).push(i,o.length-1)}function D4(t,n,e,i,o,r){let s=n?n.injectorIndex:-1,a=0;return N0()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs: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}}function L1(t,n,e,i,o){for(let r in n){if(!n.hasOwnProperty(r))continue;let s=n[r];if(s===void 0)continue;i??={};let a,l=Yn.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=r;if(o!==null){if(!o.hasOwnProperty(r))continue;c=o[r]}t===0?V1(i,e,c,a,l):V1(i,e,c,a)}return i}function V1(t,n,e,i,o){let r;t.hasOwnProperty(e)?(r=t[e]).push(n,i):r=t[e]=[n,i],o!==void 0&&r.push(o)}function k4(t,n,e){let i=n.directiveStart,o=n.directiveEnd,r=t.data,s=n.attrs,a=[],l=null,c=null;for(let u=i;u<o;u++){let f=r[u],x=e?e.get(f):null,b=x?x.inputs:null,E=x?x.outputs:null;l=L1(0,f.inputs,u,l,b),c=L1(1,f.outputs,u,c,E);let S=l!==null&&s!==null&&!su(n)?H4(l,u,s):null;a.push(S)}l!==null&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}function E4(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function sl(t,n,e,i,o,r,s,a){let l=$t(n,e),c=n.inputs,u;!a&&c!=null&&(u=c[i])?(Lu(t,e,u,i,o),Wa(n)&&A4(e,n.index)):n.type&3?(i=E4(i),o=s!=null?s(o,n.value||"",i):o,r.setProperty(l,i,o)):n.type&12}function A4(t,n){let e=ei(n,t);e[le]&16||(e[le]|=64)}function Tu(t,n,e,i){if(F0()){let o=i===null?null:{"":-1},r=T4(t,e),s,a;r===null?s=a=null:[s,a]=r,s!==null&&Rg(t,n,e,s,o,a),o&&L4(e,i,o)}e.mergedAttrs=Ar(e.mergedAttrs,e.attrs)}function Rg(t,n,e,i,o,r){for(let c=0;c<i.length;c++)pd(Ma(e,n),t,i[c].type);F4(e,t.data.length,i.length);for(let c=0;c<i.length;c++){let u=i[c];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,l=Fg(t,n,i.length,null);for(let c=0;c<i.length;c++){let u=i[c];e.mergedAttrs=Ar(e.mergedAttrs,u.hostAttrs),N4(t,e,n,l,u),V4(l,u,o),u.contentQueries!==null&&(e.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(e.flags|=64);let f=u.type.prototype;!s&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),s=!0),!a&&(f.ngOnChanges||f.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),a=!0),l++}k4(t,e,r)}function O4(t,n,e,i,o){let r=o.hostBindings;if(r){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;I4(s)!=a&&s.push(a),s.push(e,i,r)}}function I4(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function S4(t,n,e,i){let o=e.directiveStart,r=e.directiveEnd;Wa(e)&&j4(n,e,t.data[o+e.componentOffset]),t.firstCreatePass||Ma(e,n),Kn(i,n);let s=e.initialInputs;for(let a=o;a<r;a++){let l=t.data[a],c=Vi(n,t,a,e);if(Kn(c,n),s!==null&&z4(n,a-o,c,l,e,s),Xn(l)){let u=ei(e.index,n);u[pt]=Vi(n,t,a,e)}}}function Bg(t,n,e){let i=e.directiveStart,o=e.directiveEnd,r=e.index,s=Z3();try{Ti(r);for(let a=i;a<o;a++){let l=t.data[a],c=n[a];cd(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&P4(l,c)}}finally{Ti(-1),cd(s)}}function P4(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function T4(t,n){let e=t.directiveRegistry,i=null,o=null;if(e)for(let r=0;r<e.length;r++){let s=e[r];if(u0(n,s.selectors,!1))if(i||(i=[]),Xn(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),i.unshift(...a,s);let l=a.length;Md(t,n,l)}else i.unshift(s),Md(t,n,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,i,o),i.push(s)}return i===null?null:[i,o]}function Md(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function L4(t,n,e){if(n){let i=t.localNames=[];for(let o=0;o<n.length;o+=2){let r=e[n[o+1]];if(r==null)throw new ge(-301,!1);i.push(n[o],r)}}}function V4(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Xn(n)&&(e[""]=t)}}function F4(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function N4(t,n,e,i,o){t.data[i]=o;let r=o.factory||(o.factory=Ai(o.type,!0)),s=new Li(r,Xn(o),_);t.blueprint[i]=s,e[i]=s,O4(t,n,i,Fg(t,e,o.hostVars,Ft),o)}function j4(t,n,e){let i=$t(n,t),o=jg(e),r=t[hn].rendererFactory,s=16;e.signals?s=4096:e.onPush&&(s=64);let a=al(t,rl(t,o,null,s,i,n,null,r.createRenderer(i,e),null,null,null));t[n.index]=a}function R4(t,n,e,i,o,r){let s=$t(t,n);B4(n[Qe],s,r,t.value,e,i,o)}function B4(t,n,e,i,o,r,s){if(r==null)t.removeAttribute(n,o,e);else{let a=s==null?Ei(r):s(r,i||"",o);t.setAttribute(n,o,a,e)}}function z4(t,n,e,i,o,r){let s=r[n];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],u=s[a++],f=s[a++];Vg(i,e,l,c,u,f)}}function H4(t,n,e){let i=null,o=0;for(;o<e.length;){let r=e[o];if(r===0){o+=4;continue}else if(r===5){o+=2;continue}if(typeof r=="number")break;if(t.hasOwnProperty(r)){i===null&&(i=[]);let s=t[r];for(let a=0;a<s.length;a+=3)if(s[a]===n){i.push(r,s[a+1],s[a+2],e[o+1]);break}}o+=2}return i}function zg(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function Hg(t,n){let e=t.contentQueries;if(e!==null){let i=Ce(null);try{for(let o=0;o<e.length;o+=2){let r=e[o],s=e[o+1];if(s!==-1){let a=t.data[s];hu(r),a.contentQueries(2,n[s],s)}}}finally{Ce(i)}}}function al(t,n){return t[Ir]?t[f1][rn]=n:t[Ir]=n,t[f1]=n,n}function Dd(t,n,e){hu(0);let i=Ce(null);try{n(t,e)}finally{Ce(i)}}function Zg(t){return t[va]??=[]}function $g(t){return t.cleanup??=[]}function Ug(t,n){let e=t[bo],i=e?e.get(vn,null):null;i&&i.handleError(n)}function Lu(t,n,e,i,o){for(let r=0;r<e.length;){let s=e[r++],a=e[r++],l=e[r++],c=n[s],u=t.data[s];Vg(u,c,i,a,l,o)}}function Wg(t,n,e){let i=I0(n,t);t4(t[Qe],i,e)}function Z4(t,n){let e=ei(n,t),i=e[ue];$4(i,e);let o=e[In];o!==null&&e[fo]===null&&(e[fo]=xu(o,e[bo])),Vu(i,e,e[pt])}function $4(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function Vu(t,n,e){fu(n);try{let i=t.viewQuery;i!==null&&Dd(1,i,e);let o=t.template;o!==null&&Ng(t,n,o,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[On]?.finishViewCreation(t),t.staticContentQueries&&Hg(t,n),t.staticViewQueries&&Dd(2,t.viewQuery,e);let r=t.components;r!==null&&U4(n,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[le]&=-5,bu()}}function U4(t,n){for(let e=0;e<n.length;e++)Z4(t,n[e])}function Ur(t,n,e,i){let o=Ce(null);try{let r=n.tView,a=t[le]&4096?4096:16,l=rl(t,r,e,a,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[Ii]=c;let u=t[On];return u!==null&&(l[On]=u.createEmbeddedView(r)),Vu(r,l,e),l}finally{Ce(o)}}function Gg(t,n){let e=bt+n;if(e<t.length)return t[e]}function _o(t,n){return!n||n.firstChild===null||ag(t)}function Wr(t,n,e,i=!0){let o=n[ue];if(s4(o,n,t,e),i){let s=yd(e,t),a=n[Qe],l=Eg(a,t[Si]);l!==null&&o4(o,t[At],a,n,l,s)}let r=n[fo];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function qg(t,n){let e=Tr(t,n);return e!==void 0&&nl(e[ue],e),e}function Oa(t,n,e,i,o=!1){for(;e!==null;){if(e.type===128){e=o?e.projectionNext:e.next;continue}let r=n[e.index];r!==null&&i.push(fn(r)),Sn(r)&&W4(r,i);let s=e.type;if(s&8)Oa(t,n,e.child,i);else if(s&32){let a=ku(e,n),l;for(;l=a();)i.push(l)}else if(s&16){let a=Og(n,e);if(Array.isArray(a))i.push(...a);else{let l=Pi(n[kt]);Oa(l[ue],l,a,i,!0)}}e=o?e.projectionNext:e.next}return i}function W4(t,n){for(let e=bt;e<t.length;e++){let i=t[e],o=i[ue].firstChild;o!==null&&Oa(i[ue],i,o,n)}t[Si]!==t[In]&&n.push(t[Si])}var Yg=[];function G4(t){return t[Ht]??q4(t)}function q4(t){let n=Yg.pop()??Object.create(X4);return n.lView=t,n}function Y4(t){t.lView[Ht]!==t&&(t.lView=null,Yg.push(t))}var X4=Ye(ae({},pr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Ya(t.lView)},consumerOnSignalRead(){this.lView[Ht]=this}});function Q4(t){let n=t[Ht]??Object.create(K4);return n.lView=t,n}var K4=Ye(ae({},pr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let n=Pi(t.lView);for(;n&&!Xg(n[ue]);)n=Pi(n);n&&T0(n)},consumerOnSignalRead(){this.lView[Ht]=this}});function Xg(t){return t.type!==2}var J4=100;function Qg(t,n=!0,e=0){let i=t[hn],o=i.rendererFactory,r=!1;r||o.begin?.();try{e8(t,e)}catch(s){throw n&&Ug(t,s),s}finally{r||(o.end?.(),i.inlineEffectRunner?.flush())}}function e8(t,n){let e=R0();try{v1(!0),kd(t,n);let i=0;for(;qa(t);){if(i===J4)throw new ge(103,!1);i++,kd(t,1)}}finally{v1(e)}}function t8(t,n,e,i){let o=n[le];if((o&256)===256)return;let r=!1,s=!1;!r&&n[hn].inlineEffectRunner?.flush(),fu(n);let a=!0,l=null,c=null;r||(Xg(t)?(c=G4(n),l=xs(c)):gm()===null?(a=!1,c=Q4(n),l=xs(c)):n[Ht]&&(xc(n[Ht]),n[Ht]=null));try{P0(n),B3(t.bindingStartIndex),e!==null&&Ng(t,n,e,2,i);let u=(o&3)===3;if(!r)if(u){let b=t.preOrderCheckHooks;b!==null&&ca(n,b,null)}else{let b=t.preOrderHooks;b!==null&&da(n,b,0,null),Hc(n,0)}if(s||n8(n),Kg(n,0),t.contentQueries!==null&&Hg(t,n),!r)if(u){let b=t.contentCheckHooks;b!==null&&ca(n,b)}else{let b=t.contentHooks;b!==null&&da(n,b,1),Hc(n,1)}v4(t,n);let f=t.components;f!==null&&eh(n,f,0);let x=t.viewQuery;if(x!==null&&Dd(2,x,i),!r)if(u){let b=t.viewCheckHooks;b!==null&&ca(n,b)}else{let b=t.viewHooks;b!==null&&da(n,b,2),Hc(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[zc]){for(let b of n[zc])b();n[zc]=null}r||(n[le]&=-73)}catch(u){throw r||Ya(n),u}finally{c!==null&&(Cc(c,l),a&&Y4(c)),bu()}}function Kg(t,n){for(let e=cg(t);e!==null;e=dg(e))for(let i=bt;i<e.length;i++){let o=e[i];Jg(o,n)}}function n8(t){for(let n=cg(t);n!==null;n=dg(n)){if(!(n[le]&Ca.HasTransplantedViews))continue;let e=n[vo];for(let i=0;i<e.length;i++){let o=e[i];T0(o)}}}function i8(t,n,e){let i=ei(n,t);Jg(i,e)}function Jg(t,n){uu(t)&&kd(t,n)}function kd(t,n){let i=t[ue],o=t[le],r=t[Ht],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(r?.dirty&&wc(r)),s||=!1,r&&(r.dirty=!1),t[le]&=-9217,s)t8(i,t,i.template,t[pt]);else if(o&8192){Kg(t,1);let a=i.components;a!==null&&eh(t,a,1)}}function eh(t,n,e){for(let i=0;i<n.length;i++)i8(t,n[i],e)}function Fu(t,n){let e=R0()?64:1088;for(t[hn].changeDetectionScheduler?.notify(n);t;){t[le]|=e;let i=Pi(t);if(ad(t)&&!i)return t;t=i}return null}var Fi=class{get rootNodes(){let n=this._lView,e=n[ue];return Oa(e,n,e.firstChild,[])}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[pt]}set context(n){this._lView[pt]=n}get destroyed(){return(this._lView[le]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[vt];if(Sn(n)){let e=n[_a],i=e?e.indexOf(this):-1;i>-1&&(Tr(n,i),fa(e,i))}this._attachedToViewContainer=!1}nl(this._lView[ue],this._lView)}onDestroy(n){L0(this._lView,n)}markForCheck(){Fu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[le]&=-129}reattach(){ld(this._lView),this._lView[le]|=128}detectChanges(){this._lView[le]|=1024,Qg(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ge(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=ad(this._lView),e=this._lView[Ii];e!==null&&!n&&Eu(e,this._lView),yg(this._lView[ue],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new ge(902,!1);this._appRef=n;let e=ad(this._lView),i=this._lView[Ii];i!==null&&!e&&Mg(i,this._lView),ld(this._lView)}},De=(()=>{class t{static{this.__NG_ELEMENT_ID__=s8}}return t})(),o8=De,r8=class extends o8{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let o=Ur(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new Fi(o)}};function s8(){return ll(gt(),ie())}function ll(t,n){return t.type&4?new r8(n,t,Io(t,n)):null}var fP=new RegExp(`^(\\d+)*(${E_}|${k_})*(.*)`);var a8=()=>null;function Co(t,n){return a8(t,n)}var wo=class{},Nu=new G("",{providedIn:"root",factory:()=>!1});var th=new G(""),nh=new G(""),Ed=class{},Ia=class{};function l8(t){let n=Error(`No component factory found for ${Lt(t)}.`);return n[c8]=t,n}var c8="ngComponent";var Ad=class{resolveComponentFactory(n){throw l8(n)}},Jn=class{static{this.NULL=new Ad}},xo=class{},sn=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>d8()}}return t})();function d8(){let t=ie(),n=gt(),e=ei(n.index,t);return(qn(e)?e:t)[Qe]}var u8=(()=>{class t{static{this.\u0275prov=$({token:t,providedIn:"root",factory:()=>null})}}return t})();function Sa(t,n,e){let i=e?t.styles:null,o=e?t.classes:null,r=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")r=a;else if(r==1)o=Jc(o,a);else if(r==2){let l=a,c=n[++s];i=Jc(i,l+": "+c+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=o:t.classesWithoutHost=o}var Od=class extends Jn{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=Oi(n);return new Lr(e,this.ngModule)}};function F1(t,n){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let o=t[i];if(o===void 0)continue;let r=Array.isArray(o),s=r?o[0]:o,a=r?o[1]:Yn.None;n?e.push({propName:s,templateName:i,isSignal:(a&Yn.SignalBased)!==0}):e.push({propName:s,templateName:i})}return e}function p8(t){let n=t.toLowerCase();return n==="svg"?O0:n==="math"?E3:null}var Lr=class extends Ia{get inputs(){let n=this.componentDef,e=n.inputTransforms,i=F1(n.inputs,!0);if(e!==null)for(let o of i)e.hasOwnProperty(o.propName)&&(o.transform=e[o.propName]);return i}get outputs(){return F1(this.componentDef.outputs,!1)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=a3(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,o){let r=Ce(null);try{o=o||this.ngModule;let s=o instanceof Zt?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new dd(n,s):n,l=a.get(xo,null);if(l===null)throw new ge(407,!1);let c=a.get(u8,null),u=a.get(wo,null),f={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,changeDetectionScheduler:u},x=l.createRenderer(null,this.componentDef),b=this.componentDef.selectors[0][0]||"div",E=i?w4(x,i,this.componentDef.encapsulation,a):xg(x,b,p8(b)),S=512;this.componentDef.signals?S|=4096:this.componentDef.onPush||(S|=16);let P=null;E!==null&&(P=xu(E,a,!0));let T=Pu(0,null,null,1,0,null,null,null,null,null,null),U=rl(null,T,null,S,null,null,f,x,a,null,P);fu(U);let de,Le,Te=null;try{let H=this.componentDef,xe,je=null;H.findHostDirectiveDefs?(xe=[],je=new Map,H.findHostDirectiveDefs(H,xe,je),xe.push(H)):xe=[H];let Dn=m8(U,E);Te=g8(Dn,E,H,xe,U,f,x),Le=du(T,mt),E&&b8(x,H,E,i),e!==void 0&&v8(Le,this.ngContentSelectors,e),de=f8(Te,H,xe,je,U,[_8]),Vu(T,U,null)}catch(H){throw Te!==null&&vd(Te),vd(U),H}finally{bu()}return new Id(this.componentType,de,Io(Le,U),U,Le)}finally{Ce(r)}}},Id=class extends Ed{constructor(n,e,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new Fi(o,void 0,!1),this.componentType=n}setInput(n,e){let i=this._tNode.inputs,o;if(i!==null&&(o=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView;Lu(r[ue],r,o,n,e),this.previousInputValues.set(n,e);let s=ei(this._tNode.index,r);Fu(s,1)}}get injector(){return new ki(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function m8(t,n){let e=t[ue],i=mt;return t[i]=n,Po(e,i,2,"#host",null)}function g8(t,n,e,i,o,r,s){let a=o[ue];h8(i,t,n,s);let l=null;n!==null&&(l=xu(n,o[bo]));let c=r.rendererFactory.createRenderer(n,e),u=16;e.signals?u=4096:e.onPush&&(u=64);let f=rl(o,jg(e),null,u,o[t.index],t,r,c,null,null,l);return a.firstCreatePass&&Md(a,t,i.length-1),al(o,f),o[t.index]=f}function h8(t,n,e,i){for(let o of t)n.mergedAttrs=Ar(n.mergedAttrs,o.hostAttrs);n.mergedAttrs!==null&&(Sa(n,n.mergedAttrs,!0),e!==null&&Pg(i,e,n))}function f8(t,n,e,i,o,r){let s=gt(),a=o[ue],l=$t(s,o);Rg(a,o,s,e,null,i);for(let u=0;u<e.length;u++){let f=s.directiveStart+u,x=Vi(o,a,f,s);Kn(x,o)}Bg(a,o,s),l&&Kn(l,o);let c=Vi(o,a,s.directiveStart+s.componentOffset,s);if(t[pt]=o[pt]=c,r!==null)for(let u of r)u(c,n);return Ou(a,s,o),c}function b8(t,n,e,i){if(i)id(t,e,["ng-version","18.2.12"]);else{let{attrs:o,classes:r}=l3(n.selectors[0]);o&&id(t,e,o),r&&r.length>0&&Sg(t,e,r.join(" "))}}function v8(t,n,e){let i=t.projection=[];for(let o=0;o<n.length;o++){let r=e[o];i.push(r!=null?Array.from(r):null)}}function _8(){let t=gt();Ka(ie()[ue],t)}var wn=(()=>{class t{static{this.__NG_ELEMENT_ID__=C8}}return t})();function C8(){let t=gt();return oh(t,ie())}var w8=wn,ih=class extends w8{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Io(this._hostTNode,this._hostLView)}get injector(){return new ki(this._hostTNode,this._hostLView)}get parentInjector(){let n=vu(this._hostTNode,this._hostLView);if(Y0(n)){let e=xa(n,this._hostLView),i=wa(n),o=e[ue].data[i+8];return new ki(o,e)}else return new ki(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=N1(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-bt}createEmbeddedView(n,e,i){let o,r;typeof i=="number"?o=i:i!=null&&(o=i.index,r=i.injector);let s=Co(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},r,s);return this.insertImpl(a,o,_o(this._hostTNode,s)),a}createComponent(n,e,i,o,r){let s=n&&!y3(n),a;if(s)a=e;else{let E=e||{};a=E.index,i=E.injector,o=E.projectableNodes,r=E.environmentInjector||E.ngModuleRef}let l=s?n:new Lr(Oi(n)),c=i||this.parentInjector;if(!r&&l.ngModule==null){let S=(s?c:this.parentInjector).get(Zt,null);S&&(r=S)}let u=Oi(l.componentType??{}),f=Co(this._lContainer,u?.id??null),x=f?.firstChild??null,b=l.create(c,o,x,r);return this.insertImpl(b.hostView,a,_o(this._hostTNode,f)),b}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let o=n._lView;if(O3(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=o[vt],c=new ih(l,l[At],l[vt]);c.detach(c.indexOf(n))}}let r=this._adjustIndex(e),s=this._lContainer;return Wr(s,o,r,i),n.attachToViewContainerRef(),r0(Gc(s),r,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=N1(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=Tr(this._lContainer,e);i&&(fa(Gc(this._lContainer),e),nl(i[ue],i))}detach(n){let e=this._adjustIndex(n,-1),i=Tr(this._lContainer,e);return i&&fa(Gc(this._lContainer),e)!=null?new Fi(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function N1(t){return t[_a]}function Gc(t){return t[_a]||(t[_a]=[])}function oh(t,n){let e,i=n[t.index];return Sn(i)?e=i:(e=zg(i,n,null,t),n[t.index]=e,al(n,e)),y8(e,n,t,i),new ih(e,t,n)}function x8(t,n){let e=t[Qe],i=e.createComment(""),o=$t(n,t),r=Eg(e,o);return Aa(e,r,i,d4(e,o),!1),i}var y8=k8,M8=()=>!1;function D8(t,n,e){return M8(t,n,e)}function k8(t,n,e,i){if(t[Si])return;let o;e.type&8?o=fn(i):o=x8(n,e),t[Si]=o}var Sd=class t{constructor(n){this.queryList=n,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Pd=class t{constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,o=[];for(let r=0;r<i;r++){let s=e.getByIndex(r),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}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++)ju(n,e).matches!==null&&this.queries[e].setDirty()}},Pa=class{constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=L8(n):this.predicate=n}},Td=class t{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++){let o=e!==null?e.length:0,r=this.getByIndex(i).embeddedTView(n,o);r&&(r.indexInDeclarationView=i,e!==null?e.push(r):e=[r])}return e!==null?new t(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)}},Ld=class t{constructor(n,e=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,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 t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){let r=i[o];this.matchTNodeWithReadOption(n,e,E8(e,r)),this.matchTNodeWithReadOption(n,e,ua(e,n,r,!1,!1))}else i===De?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,ua(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let o=this.metadata.read;if(o!==null)if(o===q||o===wn||o===De&&e.type&4)this.addMatch(e.index,-2);else{let r=ua(e,n,o,!1,!1);r!==null&&this.addMatch(e.index,r)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function E8(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function A8(t,n){return t.type&11?Io(t,n):t.type&4?ll(t,n):null}function O8(t,n,e,i){return e===-1?A8(n,t):e===-2?I8(t,n,i):Vi(t,t[ue],e,n)}function I8(t,n,e){if(e===q)return Io(n,t);if(e===De)return ll(n,t);if(e===wn)return oh(n,t)}function rh(t,n,e,i){let o=n[On].queries[i];if(o.matches===null){let r=t.data,s=e.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let u=r[c];a.push(O8(n,u,s[l+1],e.metadata.read))}}o.matches=a}return o.matches}function Vd(t,n,e,i){let o=t.queries.getByIndex(e),r=o.matches;if(r!==null){let s=rh(t,n,o,e);for(let a=0;a<r.length;a+=2){let l=r[a];if(l>0)i.push(s[a/2]);else{let c=r[a+1],u=n[-l];for(let f=bt;f<u.length;f++){let x=u[f];x[Ii]===x[vt]&&Vd(x[ue],x,c,i)}if(u[vo]!==null){let f=u[vo];for(let x=0;x<f.length;x++){let b=f[x];Vd(b[ue],b,c,i)}}}}}return i}function S8(t,n){return t[On].queries[n].queryList}function sh(t,n,e){let i=new Pr((e&4)===4);return M4(t,n,i,i.destroy),(n[On]??=new Pd).queries.push(new Sd(i))-1}function P8(t,n,e){let i=Ke();return i.firstCreatePass&&(ah(i,new Pa(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),sh(i,ie(),n)}function T8(t,n,e,i){let o=Ke();if(o.firstCreatePass){let r=gt();ah(o,new Pa(n,e,i),r.index),V8(o,t),(e&2)===2&&(o.staticContentQueries=!0)}return sh(o,ie(),e)}function L8(t){return t.split(",").map(n=>n.trim())}function ah(t,n,e){t.queries===null&&(t.queries=new Td),t.queries.track(new Ld(n,e))}function V8(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function ju(t,n){return t.queries.getByIndex(n)}function F8(t,n){let e=t[ue],i=ju(e,n);return i.crossesNgTemplate?Vd(e,t,n,[]):rh(e,t,i,n)}var j1=new Set;function zi(t){j1.has(t)||(j1.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function lh(t){return typeof t=="function"&&t[kn]!==void 0}function J(t,n){zi("NgSignals");let e=Dm(t),i=e[kn];return n?.equal&&(i.equal=n.equal),e.set=o=>yc(i,o),e.update=o=>km(i,o),e.asReadonly=N8.bind(e),e}function N8(){let t=this[kn];if(t.readonlyFn===void 0){let n=()=>this();n[kn]=t,t.readonlyFn=n}return t.readonlyFn}function ch(t){return lh(t)&&typeof t.set=="function"}function j8(t){return Object.getPrototypeOf(t.prototype).constructor}function Y(t){let n=j8(t.type),e=!0,i=[t];for(;n;){let o;if(Xn(t))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new ge(903,!1);o=n.\u0275dir}if(o){if(e){i.push(o);let s=t;s.inputs=ra(t.inputs),s.inputTransforms=ra(t.inputTransforms),s.declaredInputs=ra(t.declaredInputs),s.outputs=ra(t.outputs);let a=o.hostBindings;a&&Z8(t,a);let l=o.viewQuery,c=o.contentQueries;if(l&&z8(t,l),c&&H8(t,c),R8(t,o),Ev(t.outputs,o.outputs),Xn(o)&&o.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let r=o.features;if(r)for(let s=0;s<r.length;s++){let a=r[s];a&&a.ngInherit&&a(t),a===Y&&(e=!1)}}n=Object.getPrototypeOf(n)}B8(i)}function R8(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];if(i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e],n.inputTransforms!==null)){let o=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=n.inputTransforms[o]}}}function B8(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=Ar(o.hostAttrs,e=Ar(e,o.hostAttrs))}}function ra(t){return t===go?{}:t===Dt?[]:t}function z8(t,n){let e=t.viewQuery;e?t.viewQuery=(i,o)=>{n(i,o),e(i,o)}:t.viewQuery=n}function H8(t,n){let e=t.contentQueries;e?t.contentQueries=(i,o,r)=>{n(i,o,r),e(i,o,r)}:t.contentQueries=n}function Z8(t,n){let e=t.hostBindings;e?t.hostBindings=(i,o)=>{n(i,o),e(i,o)}:t.hostBindings=n}function be(t){let n=t.inputConfig,e={};for(let i in n)if(n.hasOwnProperty(i)){let o=n[i];Array.isArray(o)&&o[3]&&(e[i]=o[3])}t.inputTransforms=e}var yo=class{};var Ta=class extends yo{constructor(n){super(),this.componentFactoryResolver=new Od(this),this.instance=null;let e=new Or([...n.providers,{provide:yo,useValue:this},{provide:Jn,useValue:this.componentFactoryResolver}],n.parent||$a(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function $8(t,n,e=null){return new Ta({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}function dh(t){return Ru(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function U8(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function Ru(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Gr(t,n,e){return t[n]=e}function W8(t,n){return t[n]}function Et(t,n,e){let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function Vr(t,n,e,i){let o=Et(t,n,e);return Et(t,n+1,i)||o}function G8(t,n,e,i,o){let r=Vr(t,n,e,i);return Et(t,n+2,o)||r}function uh(t,n,e,i,o,r){let s=Vr(t,n,e,i);return Vr(t,n+2,o,r)||s}function q8(t){return(t.flags&32)===32}function Y8(t,n,e,i,o,r,s,a,l){let c=n.consts,u=Po(n,t,4,s||null,a||null);Tu(n,e,u,Qn(c,l)),Ka(n,u);let f=u.tView=Pu(2,u,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return n.queries!==null&&(n.queries.template(n,u),f.queries=n.queries.embeddedTView(u)),u}function La(t,n,e,i,o,r,s,a,l,c){let u=e+mt,f=n.firstCreatePass?Y8(u,n,t,i,o,r,s,a,l):n.data[u];Ri(f,!1);let x=X8(n,t,f,e);Xa()&&il(n,t,x,f),Kn(x,t);let b=zg(x,t,x,f);return t[u]=b,al(t,b),D8(b,f,t),Ga(f)&&Iu(n,t,f),l!=null&&Su(t,f,c),f}function M(t,n,e,i,o,r,s,a){let l=ie(),c=Ke(),u=Qn(c.consts,r);return La(l,c,t,n,e,i,o,u,s,a),M}var X8=Q8;function Q8(t,n,e,i){return Qa(!0),n[Qe].createComment("")}var yr=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(yr||{}),K8=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t})}}return t})(),R1=class t{constructor(){this.ngZone=W(Me),this.scheduler=W(wo),this.errorHandler=W(vn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[yr.EarlyRead,yr.Write,yr.MixedReadWrite,yr.Read]}execute(){this.executing=!0;for(let n of t.PHASES)for(let e of this.sequences)if(!(e.erroredOrDestroyed||!e.hooks[n]))try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>e.hooks[n](e.pipelinedValue))}catch(i){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static{this.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t})}};function ee(t,n,e,i){let o=ie(),r=Bi();if(Et(o,r,n)){let s=Ke(),a=Br();R4(a,o,t,n,e,i)}return ee}function ph(t,n,e,i){return Et(t,Bi(),e)?n+Ei(e)+i:Ft}function J8(t,n,e,i,o,r){let s=R3(),a=Vr(t,s,e,o);return gu(2),a?n+Ei(e)+i+Ei(o)+r:Ft}function sa(t,n){return t<<17|n<<2}function Ni(t){return t>>17&32767}function e5(t){return(t&2)==2}function t5(t,n){return t&131071|n<<17}function Fd(t){return t|2}function Mo(t){return(t&131068)>>2}function qc(t,n){return t&-131069|n<<2}function n5(t){return(t&1)===1}function Nd(t){return t|1}function i5(t,n,e,i,o,r){let s=r?n.classBindings:n.styleBindings,a=Ni(s),l=Mo(s);t[i]=e;let c=!1,u;if(Array.isArray(e)){let f=e;u=f[1],(u===null||jr(f,u)>0)&&(c=!0)}else u=e;if(o)if(l!==0){let x=Ni(t[a+1]);t[i+1]=sa(x,a),x!==0&&(t[x+1]=qc(t[x+1],i)),t[a+1]=t5(t[a+1],i)}else t[i+1]=sa(a,0),a!==0&&(t[a+1]=qc(t[a+1],i)),a=i;else t[i+1]=sa(l,0),a===0?a=i:t[l+1]=qc(t[l+1],i),l=i;c&&(t[i+1]=Fd(t[i+1])),B1(t,u,i,!0),B1(t,u,i,!1),o5(n,u,t,i,r),s=sa(a,l),r?n.classBindings=s:n.styleBindings=s}function o5(t,n,e,i,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof n=="string"&&jr(r,n)>=0&&(e[i+1]=Nd(e[i+1]))}function B1(t,n,e,i){let o=t[e+1],r=n===null,s=i?Ni(o):Mo(o),a=!1;for(;s!==0&&(a===!1||r);){let l=t[s],c=t[s+1];r5(l,n)&&(a=!0,t[s+1]=i?Nd(c):Fd(c)),s=i?Ni(c):Mo(c)}a&&(t[e+1]=i?Fd(o):Nd(o))}function r5(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?jr(t,n)>=0:!1}var on={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function s5(t){return t.substring(on.key,on.keyEnd)}function a5(t){return l5(t),mh(t,gh(t,0,on.textEnd))}function mh(t,n){let e=on.textEnd;return e===n?-1:(n=on.keyEnd=c5(t,on.key=n,e),gh(t,n,e))}function l5(t){on.key=0,on.keyEnd=0,on.value=0,on.valueEnd=0,on.textEnd=t.length}function gh(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function c5(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function h(t,n,e){let i=ie(),o=Bi();if(Et(i,o,n)){let r=Ke(),s=Br();sl(r,s,i,t,n,i[Qe],e,!1)}return h}function jd(t,n,e,i,o){let r=n.inputs,s=o?"class":"style";Lu(t,e,r[s],s,i)}function qe(t,n,e){return hh(t,n,e,!1),qe}function X(t,n){return hh(t,n,null,!0),X}function qr(t){u5(b5,d5,t,!0)}function d5(t,n){for(let e=a5(n);e>=0;e=mh(n,e))ru(t,s5(n),!0)}function hh(t,n,e,i){let o=ie(),r=Ke(),s=gu(2);if(r.firstUpdatePass&&bh(r,t,s,i),n!==Ft&&Et(o,s,n)){let a=r.data[Pn()];vh(r,a,o,o[Qe],t,o[s+1]=_5(n,e),i,s)}}function u5(t,n,e,i){let o=Ke(),r=gu(2);o.firstUpdatePass&&bh(o,null,r,i);let s=ie();if(e!==Ft&&Et(s,r,e)){let a=o.data[Pn()];if(_h(a,i)&&!fh(o,r)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=Jc(l,e||"")),jd(o,a,s,e,i)}else v5(o,a,s,s[Qe],s[r+1],s[r+1]=f5(t,n,e),i,r)}}function fh(t,n){return n>=t.expandoStartIndex}function bh(t,n,e,i){let o=t.data;if(o[e+1]===null){let r=o[Pn()],s=fh(t,e);_h(r,i)&&n===null&&!s&&(n=!1),n=p5(o,r,n,i),i5(o,r,n,e,s,i)}}function p5(t,n,e,i){let o=$3(t),r=i?n.residualClasses:n.residualStyles;if(o===null)(i?n.classBindings:n.styleBindings)===0&&(e=Yc(null,t,n,e,i),e=Fr(e,n.attrs,i),r=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==o)if(e=Yc(o,t,n,e,i),r===null){let l=m5(t,n,i);l!==void 0&&Array.isArray(l)&&(l=Yc(null,t,n,l[1],i),l=Fr(l,n.attrs,i),g5(t,n,i,l))}else r=h5(t,n,i)}return r!==void 0&&(i?n.residualClasses=r:n.residualStyles=r),e}function m5(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Mo(i)!==0)return t[Ni(i)]}function g5(t,n,e,i){let o=e?n.classBindings:n.styleBindings;t[Ni(o)]=i}function h5(t,n,e){let i,o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r<o;r++){let s=t[r].hostAttrs;i=Fr(i,s,e)}return Fr(i,n.attrs,e)}function Yc(t,n,e,i,o){let r=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(r=n[a],i=Fr(i,r.hostAttrs,o),r!==t);)a++;return t!==null&&(e.directiveStylingLast=a),i}function Fr(t,n,e){let i=e?1:2,o=-1;if(n!==null)for(let r=0;r<n.length;r++){let s=n[r];typeof s=="number"?o=s:o===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),ru(t,s,e?!0:n[++r]))}return t===void 0?null:t}function f5(t,n,e){if(e==null||e==="")return Dt;let i=[],o=So(e);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(i,o[r],!0);else if(typeof o=="object")for(let r in o)o.hasOwnProperty(r)&&t(i,r,o[r]);else typeof o=="string"&&n(i,o);return i}function b5(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&ru(t,i,e)}function v5(t,n,e,i,o,r,s,a){o===Ft&&(o=Dt);let l=0,c=0,u=0<o.length?o[0]:null,f=0<r.length?r[0]:null;for(;u!==null||f!==null;){let x=l<o.length?o[l+1]:void 0,b=c<r.length?r[c+1]:void 0,E=null,S;u===f?(l+=2,c+=2,x!==b&&(E=f,S=b)):f===null||u!==null&&u<f?(l+=2,E=u):(c+=2,E=f,S=b),E!==null&&vh(t,n,e,i,E,S,s,a),u=l<o.length?o[l]:null,f=c<r.length?r[c]:null}}function vh(t,n,e,i,o,r,s,a){if(!(n.type&3))return;let l=t.data,c=l[a+1],u=n5(c)?z1(l,n,e,o,Mo(c),s):void 0;if(!Va(u)){Va(r)||e5(c)&&(r=z1(l,null,e,o,a,s));let f=I0(Pn(),e);f4(i,s,f,o,r)}}function z1(t,n,e,i,o,r){let s=n===null,a;for(;o>0;){let l=t[o],c=Array.isArray(l),u=c?l[1]:l,f=u===null,x=e[o+1];x===Ft&&(x=f?Dt:void 0);let b=f?Rc(x,i):u===i?x:void 0;if(c&&!Va(b)&&(b=Rc(l,i)),Va(b)&&(a=b,s))return a;let E=t[o+1];o=s?Ni(E):Mo(E)}if(n!==null){let l=r?n.residualClasses:n.residualStyles;l!=null&&(a=Rc(l,i))}return a}function Va(t){return t!==void 0}function _5(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Lt(So(t)))),t}function _h(t,n){return(t.flags&(n?8:16))!==0}function Bu(){return ie()[kt][pt]}var Rd=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),o=Math.max(n,e),r=this.detach(o);if(o-i>1){let s=this.detach(i);this.attach(i,r),this.attach(o,s)}else this.attach(i,r)}move(n,e){this.attach(e,this.detach(n))}};function Xc(t,n,e,i,o){return t===e&&Object.is(n,i)?1:Object.is(o(t,n),o(e,i))?-1:0}function C5(t,n,e){let i,o,r=0,s=t.length-1,a=void 0;if(Array.isArray(n)){let l=n.length-1;for(;r<=s&&r<=l;){let c=t.at(r),u=n[r],f=Xc(r,c,r,u,e);if(f!==0){f<0&&t.updateValue(r,u),r++;continue}let x=t.at(s),b=n[l],E=Xc(s,x,l,b,e);if(E!==0){E<0&&t.updateValue(s,b),s--,l--;continue}let S=e(r,c),P=e(s,x),T=e(r,u);if(Object.is(T,P)){let U=e(l,b);Object.is(U,S)?(t.swap(r,s),t.updateValue(s,b),l--,s--):t.move(s,r),t.updateValue(r,u),r++;continue}if(i??=new Fa,o??=Z1(t,r,s,e),Bd(t,i,r,T))t.updateValue(r,u),r++,s++;else if(o.has(T))i.set(S,t.detach(r)),s--;else{let U=t.create(r,n[r]);t.attach(r,U),r++,s++}}for(;r<=l;)H1(t,i,e,r,n[r]),r++}else if(n!=null){let l=n[Symbol.iterator](),c=l.next();for(;!c.done&&r<=s;){let u=t.at(r),f=c.value,x=Xc(r,u,r,f,e);if(x!==0)x<0&&t.updateValue(r,f),r++,c=l.next();else{i??=new Fa,o??=Z1(t,r,s,e);let b=e(r,f);if(Bd(t,i,r,b))t.updateValue(r,f),r++,s++,c=l.next();else if(!o.has(b))t.attach(r,t.create(r,f)),r++,s++,c=l.next();else{let E=e(r,u);i.set(E,t.detach(r)),s--}}}for(;!c.done;)H1(t,i,e,t.length,c.value),c=l.next()}for(;r<=s;)t.destroy(t.detach(s--));i?.forEach(l=>{t.destroy(l)})}function Bd(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function H1(t,n,e,i,o){if(Bd(t,n,i,e(i,o)))t.updateValue(i,o);else{let r=t.create(i,o);t.attach(i,r)}}function Z1(t,n,e,i){let o=new Set;for(let r=n;r<=e;r++)o.add(i(r,t.at(r)));return o}var Fa=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&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);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(i);)i=o.get(i);o.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(i);)i=o.get(i),n(i,e)}}};function L(t,n){zi("NgControlFlow");let e=ie(),i=Bi(),o=e[i]!==Ft?e[i]:-1,r=o!==-1?Na(e,mt+o):void 0,s=0;if(Et(e,i,t)){let a=Ce(null);try{if(r!==void 0&&qg(r,s),t!==-1){let l=mt+t,c=Na(e,l),u=$d(e[ue],l),f=Co(c,u.tView.ssrId),x=Ur(e,u,n,{dehydratedView:f});Wr(c,x,s,_o(u,f))}}finally{Ce(a)}}else if(r!==void 0){let a=Gg(r,s);a!==void 0&&(a[pt]=n)}}var zd=class{constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-bt}};function Ot(t,n){return n}var Hd=class{constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function it(t,n,e,i,o,r,s,a,l,c,u,f,x){zi("NgControlFlow");let b=ie(),E=Ke(),S=l!==void 0,P=ie(),T=a?s.bind(P[kt][pt]):s,U=new Hd(S,T);P[mt+t]=U,La(b,E,t+1,n,e,i,o,Qn(E.consts,r)),S&&La(b,E,t+2,l,c,u,f,Qn(E.consts,x))}var Zd=class extends Rd{constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-bt}at(n){return this.getLView(n)[pt].$implicit}attach(n,e){let i=e[fo];this.needsIndexUpdate||=n!==this.length,Wr(this.lContainer,e,n,_o(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,w5(this.lContainer,n)}create(n,e){let i=Co(this.lContainer,this.templateTNode.tView.ssrId),o=Ur(this.hostLView,this.templateTNode,new zd(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),o}destroy(n){nl(n[ue],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[pt].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[pt].$index=n}getLView(n){return x5(this.lContainer,n)}};function ot(t){let n=Ce(null),e=Pn();try{let i=ie(),o=i[ue],r=i[e],s=e+1,a=Na(i,s);if(r.liveCollection===void 0){let c=$d(o,s);r.liveCollection=new Zd(a,i,c)}else r.liveCollection.reset();let l=r.liveCollection;if(C5(l,t,r.trackByFn),l.updateIndexes(),r.hasEmptyBlock){let c=Bi(),u=l.length===0;if(Et(i,c,u)){let f=e+2,x=Na(i,f);if(u){let b=$d(o,f),E=Co(x,b.tView.ssrId),S=Ur(i,b,void 0,{dehydratedView:E});Wr(x,S,0,_o(b,E))}else qg(x,0)}}}finally{Ce(n)}}function Na(t,n){return t[n]}function w5(t,n){return Tr(t,n)}function x5(t,n){return Gg(t,n)}function $d(t,n){return du(t,n)}function y5(t,n,e,i,o,r){let s=n.consts,a=Qn(s,o),l=Po(n,t,2,i,a);return Tu(n,e,l,Qn(s,r)),l.attrs!==null&&Sa(l,l.attrs,!1),l.mergedAttrs!==null&&Sa(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function p(t,n,e,i){let o=ie(),r=Ke(),s=mt+t,a=o[Qe],l=r.firstCreatePass?y5(s,r,o,n,e,i):r.data[s],c=M5(r,o,l,a,n,t);o[s]=c;let u=Ga(l);return Ri(l,!0),Pg(a,c,l),!q8(l)&&Xa()&&il(r,o,c,l),P3()===0&&Kn(c,o),T3(),u&&(Iu(r,o,l),Ou(r,l,o)),i!==null&&Su(o,l),p}function g(){let t=gt();pu()?mu():(t=t.parent,Ri(t,!1));let n=t;V3(n)&&F3(),L3();let e=Ke();return e.firstCreatePass&&(Ka(e,t),cu(t)&&e.queries.elementEnd(t)),n.classesWithoutHost!=null&&Q3(n)&&jd(e,n,ie(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&K3(n)&&jd(e,n,ie(),n.stylesWithoutHost,!1),g}function O(t,n,e,i){return p(t,n,e,i),g(),O}var M5=(t,n,e,i,o,r)=>(Qa(!0),xg(i,o,G3()));function D5(t,n,e,i,o){let r=n.consts,s=Qn(r,i),a=Po(n,t,8,"ng-container",s);s!==null&&Sa(a,s,!0);let l=Qn(r,o);return Tu(n,e,a,l),n.queries!==null&&n.queries.elementStart(n,a),a}function Wt(t,n,e){let i=ie(),o=Ke(),r=t+mt,s=o.firstCreatePass?D5(r,o,i,n,e):o.data[r];Ri(s,!0);let a=k5(o,i,s,t);return i[r]=a,Xa()&&il(o,i,a,s),Kn(a,i),Ga(s)&&(Iu(o,i,s),Ou(o,s,i)),e!=null&&Su(i,s),Wt}function Gt(){let t=gt(),n=Ke();return pu()?mu():(t=t.parent,Ri(t,!1)),n.firstCreatePass&&(Ka(n,t),cu(t)&&n.queries.elementEnd(t)),Gt}function dt(t,n,e){return Wt(t,n,e),Gt(),dt}var k5=(t,n,e,i)=>(Qa(!0),n4(n[Qe],""));function F(){return ie()}function Yr(t,n,e){let i=ie(),o=Bi();if(Et(i,o,n)){let r=Ke(),s=Br();sl(r,s,i,t,n,i[Qe],e,!0)}return Yr}var ja="en-US";var E5=ja;function A5(t){typeof t=="string"&&(E5=t.toLowerCase().replace(/_/g,"-"))}var O5=(t,n,e)=>{};function v(t,n,e,i){let o=ie(),r=Ke(),s=gt();return Ch(r,o,o[Qe],s,t,n,i),v}function I5(t,n,e,i){let o=t.cleanup;if(o!=null)for(let r=0;r<o.length-1;r+=2){let s=o[r];if(s===e&&o[r+1]===i){let a=n[va],l=o[r+2];return a.length>l?a[l]:null}typeof s=="string"&&(r+=2)}return null}function Ch(t,n,e,i,o,r,s){let a=Ga(i),c=t.firstCreatePass&&$g(t),u=n[pt],f=Zg(n),x=!0;if(i.type&3||s){let S=$t(i,n),P=s?s(S):S,T=f.length,U=s?Le=>s(fn(Le[i.index])):i.index,de=null;if(!s&&a&&(de=I5(t,n,o,i.index)),de!==null){let Le=de.__ngLastListenerFn__||de;Le.__ngNextListenerFn__=r,de.__ngLastListenerFn__=r,x=!1}else{r=U1(i,n,u,r),O5(S,o,r);let Le=e.listen(P,o,r);f.push(r,Le),c&&c.push(o,U,T,T+1)}}else r=U1(i,n,u,r);let b=i.outputs,E;if(x&&b!==null&&(E=b[o])){let S=E.length;if(S)for(let P=0;P<S;P+=2){let T=E[P],U=E[P+1],Te=n[T][U].subscribe(r),H=f.length;f.push(r,Te),c&&c.push(o,i.index,H,-(H+1))}}}function $1(t,n,e,i){let o=Ce(null);try{return pn(6,n,e),e(i)!==!1}catch(r){return Ug(t,r),!1}finally{pn(7,n,e),Ce(o)}}function U1(t,n,e,i){return function o(r){if(r===Function)return i;let s=t.componentOffset>-1?ei(t.index,n):n;Fu(s,5);let a=$1(n,e,i,r),l=o.__ngNextListenerFn__;for(;l;)a=$1(n,e,l,r)&&a,l=l.__ngNextListenerFn__;return a}}function m(t=1){return W3(t)}function S5(t,n){let e=null,i=n3(t);for(let o=0;o<n.length;o++){let r=n[o];if(r==="*"){e=o;continue}if(i===null?u0(t,r,!0):r3(i,r))return o}return e}function He(t){let n=ie()[kt][At];if(!n.projection){let e=t?t.length:1,i=n.projection=Gv(e,null),o=i.slice(),r=n.child;for(;r!==null;){if(r.type!==128){let s=t?S5(r,t):0;s!==null&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r)}r=r.next}}}function Ee(t,n=0,e,i,o,r){let s=ie(),a=Ke(),l=i?t+1:null;l!==null&&La(s,a,l,i,o,r,null,e);let c=Po(a,mt+t,16,null,e||null);c.projection===null&&(c.projection=n),mu();let f=!s[fo]||N0();s[kt][At].projection[c.projection]===null&&l!==null?P5(s,a,l):f&&(c.flags&32)!==32&&g4(a,s,c)}function P5(t,n,e){let i=mt+e,o=n.data[i],r=t[i],s=Co(r,o.tView.ssrId),a=Ur(t,o,void 0,{dehydratedView:s});Wr(r,a,0,_o(o,s))}function _e(t,n,e){return wh(t,"",n,"",e),_e}function wh(t,n,e,i,o){let r=ie(),s=ph(r,n,e,i);if(s!==Ft){let a=Ke(),l=Br();sl(a,l,r,t,s,r[Qe],o,!1)}return wh}function _t(t,n,e,i){T8(t,n,e,i)}function rt(t,n,e){P8(t,n,e)}function Ae(t){let n=ie(),e=Ke(),i=B0();hu(i+1);let o=ju(e,i);if(t.dirty&&A3(n)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let r=F8(n,i);t.reset(r,C_),t.notifyOnChanges()}return!0}return!1}function Oe(){return S8(ie(),B0())}function T5(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function tt(t){let n=j3();return S0(n,mt+t)}function k(t,n=""){let e=ie(),i=Ke(),o=t+mt,r=i.firstCreatePass?Po(i,o,1,n,null):i.data[o],s=L5(i,e,r,n,t);e[o]=s,Xa()&&il(i,e,s,r),Ri(r,!1)}var L5=(t,n,e,i,o)=>(Qa(!0),e4(n[Qe],i));function ne(t){return Z("",t,""),ne}function Z(t,n,e){let i=ie(),o=ph(i,t,n,e);return o!==Ft&&Wg(i,Pn(),o),Z}function an(t,n,e,i,o){let r=ie(),s=J8(r,t,n,e,i,o);return s!==Ft&&Wg(r,Pn(),s),an}function Ln(t,n,e){ch(n)&&(n=n());let i=ie(),o=Bi();if(Et(i,o,n)){let r=Ke(),s=Br();sl(r,s,i,t,n,i[Qe],e,!1)}return Ln}function ti(t,n){let e=ch(t);return e&&t.set(n),e}function Vn(t,n){let e=ie(),i=Ke(),o=gt();return Ch(i,e,e[Qe],o,t,n),Vn}function V5(t,n,e){let i=Ke();if(i.firstCreatePass){let o=Xn(t);Ud(e,i.data,i.blueprint,o,!0),Ud(n,i.data,i.blueprint,o,!1)}}function Ud(t,n,e,i,o){if(t=wt(t),Array.isArray(t))for(let r=0;r<t.length;r++)Ud(t[r],n,e,i,o);else{let r=Ke(),s=ie(),a=gt(),l=ho(t)?t:wt(t.provide),c=_0(t),u=a.providerIndexes&1048575,f=a.directiveStart,x=a.providerIndexes>>20;if(ho(t)||!t.multi){let b=new Li(c,o,_),E=Kc(l,n,o?u:u+x,f);E===-1?(pd(Ma(a,s),r,l),Qc(r,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(b),s.push(b)):(e[E]=b,s[E]=b)}else{let b=Kc(l,n,u+x,f),E=Kc(l,n,u,u+x),S=b>=0&&e[b],P=E>=0&&e[E];if(o&&!P||!o&&!S){pd(Ma(a,s),r,l);let T=j5(o?N5:F5,e.length,o,i,c);!o&&P&&(e[E].providerFactory=T),Qc(r,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(T),s.push(T)}else{let T=xh(e[o?E:b],c,!o&&i);Qc(r,t,b>-1?b:E,T)}!o&&i&&P&&e[E].componentProviders++}}}function Qc(t,n,e,i){let o=ho(n),r=f3(n);if(o||r){let l=(r?wt(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){let u=c.indexOf(e);u===-1?c.push(e,[i,l]):c[u+1].push(i,l)}else c.push(e,l)}}}function xh(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Kc(t,n,e,i){for(let o=e;o<i;o++)if(n[o]===t)return o;return-1}function F5(t,n,e,i){return Wd(this.multi,[])}function N5(t,n,e,i){let o=this.multi,r;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Vi(e,e[ue],this.providerFactory.index,i);r=a.slice(0,s),Wd(o,r);for(let l=s;l<a.length;l++)r.push(a[l])}else r=[],Wd(o,r);return r}function Wd(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function j5(t,n,e,i,o){let r=new Li(t,e,_);return r.multi=[],r.index=n,r.componentProviders=0,xh(r,o,i&&!e),r}function oe(t,n=[]){return e=>{e.providersResolver=(i,o)=>V5(i,o?o(t):t,n)}}var R5=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=f0(!1,e.type),o=i.length>0?$8([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=$({token:t,providedIn:"environment",factory:()=>new t(R(Zt))})}}return t})();function I(t){zi("NgStandalone"),t.getStandaloneInjector=n=>n.get(R5).getOrCreateStandaloneInjector(t)}function Se(t,n,e,i){return Dh(ie(),ko(),t,n,e,i)}function ht(t,n,e,i,o){return B5(ie(),ko(),t,n,e,i,o)}function ft(t,n,e,i,o,r){return z5(ie(),ko(),t,n,e,i,o,r)}function yh(t,n,e,i,o,r,s){return H5(ie(),ko(),t,n,e,i,o,r,s)}function Mh(t,n,e,i,o,r,s,a){let l=ko()+t,c=ie(),u=uh(c,l,e,i,o,r);return Et(c,l+4,s)||u?Gr(c,l+5,a?n.call(a,e,i,o,r,s):n(e,i,o,r,s)):W8(c,l+5)}function cl(t,n){let e=t[n];return e===Ft?void 0:e}function Dh(t,n,e,i,o,r){let s=n+e;return Et(t,s,o)?Gr(t,s+1,r?i.call(r,o):i(o)):cl(t,s+1)}function B5(t,n,e,i,o,r,s){let a=n+e;return Vr(t,a,o,r)?Gr(t,a+2,s?i.call(s,o,r):i(o,r)):cl(t,a+2)}function z5(t,n,e,i,o,r,s,a){let l=n+e;return G8(t,l,o,r,s)?Gr(t,l+3,a?i.call(a,o,r,s):i(o,r,s)):cl(t,l+3)}function H5(t,n,e,i,o,r,s,a,l){let c=n+e;return uh(t,c,o,r,s,a)?Gr(t,c+4,l?i.call(l,o,r,s,a):i(o,r,s,a)):cl(t,c+4)}function N(t,n){let e=Ke(),i,o=t+mt;e.firstCreatePass?(i=Z5(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks??=[]).push(o,i.onDestroy)):i=e.data[o];let r=i.factory||(i.factory=Ai(i.type,!0)),s,a=Mt(_);try{let l=ya(!1),c=r();return ya(l),T5(e,ie(),o,c),c}finally{Mt(a)}}function Z5(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function j(t,n,e){let i=t+mt,o=ie(),r=S0(o,i);return $5(o,i)?Dh(o,ko(),n,r.transform,e,r):r.transform(e)}function $5(t,n){return t[ue].data[n].pure}function Ct(t,n){return ll(t,n)}var kh=new G("");function Xr(t){return!!t&&typeof t.then=="function"}function Eh(t){return!!t&&typeof t.subscribe=="function"}var U5=new G(""),Ah=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=W(U5,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let r=o();if(Xr(r))e.push(r);else if(Eh(r)){let s=new Promise((a,l)=>{r.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),e.length===0&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Oh=new G("");function W5(){Mm(()=>{throw new ge(600,!1)})}function G5(t){return t.isBoundToModule}var q5=10;function Y5(t,n,e){try{let i=e();return Xr(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}var xn=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(v_),this.afterRenderManager=W(K8),this.zonelessEnabled=W(Nu),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ve,this.afterTick=new ve,this.componentTypes=[],this.components=[],this.isStable=W(Oo).hasPendingTasks.pipe(me(e=>!e)),this._injector=W(Zt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,i){let o=e instanceof Ia;if(!this._injector.get(Ah).done){let x=!o&&u3(e),b=!1;throw new ge(405,b)}let s;o?s=e:s=this._injector.get(Jn).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=G5(s)?void 0:this._injector.get(yo),l=i||s.selector,c=s.create(bn.NULL,[],l,a),u=c.location.nativeElement,f=c.injector.get(kh,null);return f?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),pa(this.components,c),f?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new ge(101,!1);let e=Ce(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,Ce(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(xo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++<q5;)this.synchronizeOnce(e)}synchronizeOnce(e){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:o,notifyErrorHandler:r}of this._views)X5(o,r,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else e?.begin?.(),e?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>qa(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;pa(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let i=this._injector.get(Oh,[]);[...this._bootstrapListeners,...i].forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>pa(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ge(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function pa(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function X5(t,n,e,i){if(!e&&!qa(t))return;Qg(t,n,e&&!i?0:1)}var Q5=(()=>{class t{constructor(){this.zone=W(Me),this.changeDetectionScheduler=W(wo),this.applicationRef=W(xn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function K5({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new Me(Ye(ae({},J5()),{scheduleInRootZone:e})),[{provide:Me,useFactory:t},{provide:Er,multi:!0,useFactory:()=>{let i=W(Q5,{optional:!0});return()=>i.initialize()}},{provide:Er,multi:!0,useFactory:()=>{let i=W(e6);return()=>{i.initialize()}}},n===!0?{provide:th,useValue:!0}:[],{provide:nh,useValue:e??og}]}function J5(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var e6=(()=>{class t{constructor(){this.subscription=new Xe,this.initialized=!1,this.zone=W(Me),this.pendingTasks=W(Oo)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Me.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Me.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var t6=(()=>{class t{constructor(){this.appRef=W(xn),this.taskService=W(Oo),this.ngZone=W(Me),this.zonelessEnabled=W(Nu),this.disableScheduling=W(th,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Xe,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ka):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(W(nh,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof bd||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?y1:rg;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ka+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,y1(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function n6(){return typeof $localize<"u"&&$localize.locale||ja}var dl=new G("",{providedIn:"root",factory:()=>W(dl,we.Optional|we.SkipSelf)||n6()});var Gd=new G("");function aa(t){return!t.moduleRef}function i6(t){let n=aa(t)?t.r3Injector:t.moduleRef.injector,e=n.get(Me);return e.run(()=>{aa(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(vn,null),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r=>{i.handleError(r)}})}),aa(t)){let r=()=>n.destroy(),s=t.platformInjector.get(Gd);s.add(r),n.onDestroy(()=>{o.unsubscribe(),s.delete(r)})}else{let r=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Gd);s.add(r),t.moduleRef.onDestroy(()=>{pa(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(r)})}return Y5(i,e,()=>{let r=n.get(Ah);return r.runInitializers(),r.donePromise.then(()=>{let s=n.get(dl,ja);if(A5(s||ja),aa(t)){let a=n.get(xn);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return o6(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function o6(t,n){let e=t.injector.get(xn);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new ge(-403,!1);n.push(t)}var ma=null;function r6(t=[],n){return bn.create({name:n,providers:[{provide:Za,useValue:"platform"},{provide:Gd,useValue:new Set([()=>ma=null])},...t]})}function s6(t=[]){if(ma)return ma;let n=r6(t);return ma=n,W5(),a6(n),n}function a6(t){t.get(wu,null)?.forEach(e=>e())}var Je=(()=>{class t{static{this.__NG_ELEMENT_ID__=l6}}return t})();function l6(t){return c6(gt(),ie(),(t&16)===16)}function c6(t,n,e){if(Wa(t)&&!e){let i=ei(t.index,n);return new Fi(i,i)}else if(t.type&175){let i=n[kt];return new Fi(i,n)}return null}var qd=class{constructor(){}supports(n){return dh(n)}create(n){return new Yd(n)}},d6=(t,n)=>n,Yd=class{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||d6}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){let s=!i||e&&e.currentIndex<W1(i,o,r)?e:i,a=W1(s,o,r),l=s.currentIndex;if(s===i)o--,i=i._nextRemoved;else if(e=e._next,s.previousIndex==null)o++;else{r||(r=[]);let c=a-o,u=l-o;if(c!=u){for(let x=0;x<c;x++){let b=x<r.length?r[x]:r[x]=0,E=b+x;u<=E&&E<c&&(r[x]=b+1)}let f=s.previousIndex;r[f]=u-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!dh(n))throw new ge(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,o,r,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)r=n[a],s=this._trackByFn(a,r),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,r,s,a),i=!0):(i&&(e=this._verifyReinsertion(e,r,s,a)),Object.is(e.item,r)||this._addIdentityChange(e,r)),e=e._next}else o=0,U8(n,a=>{s=this._trackByFn(o,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,o),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;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,o){let r;return n===null?r=this._itTail:(r=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,o),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,o)):n=this._addAfter(new Xd(e,i),r,o)),n}_verifyReinsertion(n,e,i,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return r!==null?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,r=n._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,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=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let o=e===null?this._itHead:e._next;return n._next=o,n._prev=e,o===null?this._itTail=n:o._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new Ra),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ra),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(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=this._identityChangesTail._nextIdentityChange=n,n}},Xd=class{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Qd=class{constructor(){this._head=null,this._tail=null}add(n){this._head===null?(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;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},Ra=class{constructor(){this.map=new Map}put(n){let e=n.trackById,i=this.map.get(e);i||(i=new Qd,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,o=this.map.get(i);return o?o.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function W1(t,n,e){let i=t.previousIndex;if(i===null)return i;let o=0;return e&&i<e.length&&(o=e[i]),i+n+o}var Kd=class{constructor(){}supports(n){return n instanceof Map||Ru(n)}create(){return new Jd}},Jd=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let e;for(e=this._mapHead;e!==null;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||Ru(n)))throw new ge(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,o)=>{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{let r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;i!==null;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){let 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)){let o=this._records.get(n);this._maybeAddToChanges(o,e);let r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}let i=new eu(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;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;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){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?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))}},eu=class{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function G1(){return new To([new qd])}var To=(()=>{class t{static{this.\u0275prov=$({token:t,providedIn:"root",factory:G1})}constructor(e){this.factories=e}static create(e,i){if(i!=null){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||G1()),deps:[[t,new o0,new iu]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i!=null)return i;throw new ge(901,!1)}}return t})();function q1(){return new zu([new Kd])}var zu=(()=>{class t{static{this.\u0275prov=$({token:t,providedIn:"root",factory:q1})}constructor(e){this.factories=e}static create(e,i){if(i){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||q1()),deps:[[t,new o0,new iu]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i)return i;throw new ge(901,!1)}}return t})();function Ih(t){try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,o=s6(i),r=[K5({}),{provide:wo,useExisting:t6},...e||[]],s=new Ta({providers:r,parent:o,debugName:"",runEnvironmentInitializers:!1});return i6({r3Injector:s.injector,platformInjector:o,rootComponent:n})}catch(n){return Promise.reject(n)}}function D(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Nt(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function jt(t,n){zi("NgSignals");let e=wm(t);return n?.equal&&(e[kn].equal=n.equal),e}function Fn(t){let n=Ce(null);try{return t()}finally{Ce(n)}}function Hu(t,n){let e=Oi(t),i=n.elementInjector||$a();return new Lr(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}var ul={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)},scheduleBeforeRender(t){if(typeof window>"u")return ul.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return ul.schedule(t,16);let n=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(n)}};function u6(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function p6(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function m6(t){return typeof t=="function"}var Zu;function g6(t,n){if(!Zu){let e=Element.prototype;Zu=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?Zu.call(t,n):!1}function h6(t,n){return t===n||t!==t&&n!==n}function f6(t){let n={};return t.forEach(({propName:e,templateName:i,transform:o})=>{n[u6(i)]=[e,o]}),n}function b6(t,n){return n.get(Jn).resolveComponentFactory(t).inputs}function v6(t,n){let e=t.childNodes,i=n.map(()=>[]),o=-1;n.some((r,s)=>r==="*"?(o=s,!0):!1);for(let r=0,s=e.length;r<s;++r){let a=e[r],l=_6(a,n,o);l!==-1&&i[l].push(a)}return i}function _6(t,n,e){let i=e;return p6(t)&&n.some((o,r)=>o!=="*"&&g6(t,o)?(i=r,!0):!1),i}var C6=10,$u=class{constructor(n,e){this.componentFactory=e.get(Jn).resolveComponentFactory(n)}create(n){return new Uu(this.componentFactory,n)}},Uu=class{constructor(n,e){this.componentFactory=n,this.injector=e,this.eventEmitters=new Bn(1),this.events=this.eventEmitters.pipe(Tt(i=>An(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(Me),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=ul.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},C6))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e,i){this.runInZone(()=>{if(i&&(e=i.call(this.componentRef?.instance,e)),this.componentRef===null){this.initialInputValues.set(n,e);return}h6(e,this.getInputValue(n))&&!(e===void 0&&this.unchangedInputs.has(n))||(this.recordInputChange(n,e),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=e,this.scheduleDetectChanges())})}initializeComponent(n){let e=bn.create({providers:[],parent:this.injector}),i=v6(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.viewChangeDetectorRef=this.componentRef.injector.get(Je),this.implementsOnChanges=m6(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(xn).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:e})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),e)}),this.initialInputValues.clear()}initializeOutputs(n){let e=this.componentFactory.outputs.map(({propName:i,templateName:o})=>n.instance[i].pipe(me(s=>({name:o,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(n){if(!this.implementsOnChanges||this.inputChanges===null)return;let e=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(e)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=ul.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,e){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let i=this.inputChanges[n];if(i){i.currentValue=e;return}let o=this.unchangedInputs.has(n),r=o?void 0:this.getInputValue(n);this.inputChanges[n]=new Sr(r,e,o)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},Wu=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}};function Ve(t,n){let e=b6(t,n.injector),i=n.strategyFactory||new $u(t,n.injector),o=f6(e);class r extends Wu{static{this.observedAttributes=Object.keys(o)}get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=i.create(this.injector||n.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;let u=this[l];delete this[l],a.setInputValue(l,u,c)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,u){let[f,x]=o[a];this.ngElementStrategy.setInputValue(f,c,x)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return e.forEach(({propName:s,transform:a})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),r}var Lh=null;function Vo(){return Lh}function Vh(t){Lh??=t}var ml=class{};var nt=new G("");function gl(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[o,r]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}var Gu=/\s+/,Sh=[],re=(()=>{class t{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=Sh,this.stateMap=new Map}set klass(e){this.initialClasses=e!=null?e.trim().split(Gu):Sh}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Gu):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(Gu).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(i){return new(i||t)(_(q),_(sn))}}static{this.\u0275dir=Q({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return t})();var qu=class{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Fe=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((o,r,s)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new qu(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(r===null?void 0:r);else if(r!==null){let a=i.get(r);i.move(a,s),Ph(a,o)}});for(let o=0,r=i.length;o<r;o++){let a=i.get(o).context;a.index=o,a.count=r,a.ngForOf=this._ngForOf}e.forEachIdentityChange(o=>{let r=i.get(o.currentIndex);Ph(r,o)})}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(_(wn),_(De),_(To))}}static{this.\u0275dir=Q({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return t})();function Ph(t,n){t.context.$implicit=n.item}var ut=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new Yu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Th("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Th("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(_(wn),_(De))}}static{this.\u0275dir=Q({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return t})(),Yu=class{constructor(){this.$implicit=null,this.ngIf=null}};function Th(t,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Lt(n)}'.`)}var Fo=(()=>{class t{constructor(e,i,o){this._ngEl=e,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){let[o,r]=e.split("."),s=o.indexOf("-")===-1?void 0:_n.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${i}${r}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_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{this.\u0275fac=function(i){return new(i||t)(_(q),_(zu),_(sn))}}static{this.\u0275dir=Q({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return t})(),Nn=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(e,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}static{this.\u0275fac=function(i){return new(i||t)(_(wn))}}static{this.\u0275dir=Q({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ge]})}}return t})();var z=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ze({type:t})}static{this.\u0275inj=Be({})}}return t})(),Xu="browser",x6="server";function Fh(t){return t===Xu}function hl(t){return t===x6}var Lo=class{};var Kr=class{},bl=class{},jn=class t{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
7
|
+
`)}`}var iu=i0(X1("Optional"),8);var o0=i0(X1("SkipSelf"),4);function Ai(t,n){let e=t.hasOwnProperty(ga);return e?t[ga]:null}function Uv(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let o=t[i],r=n[i];if(e&&(o=e(o),r=e(r)),r!==o)return!1}return!0}function Wv(t){return t.flat(Number.POSITIVE_INFINITY)}function ou(t,n){t.forEach(e=>Array.isArray(e)?ou(e,n):n(e))}function r0(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function fa(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Gv(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function qv(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(o===1)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;){let r=o-2;t[o]=t[r],o--}t[n]=e,t[n+1]=i}}function ru(t,n,e){let i=jr(t,n);return i>=0?t[i|1]=e:(i=~i,qv(t,i,n,e)),i}function Rc(t,n){let e=jr(t,n);if(e>=0)return t[e|1]}function jr(t,n){return Yv(t,n,1)}function Yv(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){let r=i+(o-i>>1),s=t[r<<e];if(n===s)return r<<e;s>n?o=r:i=r+1}return~(o<<e)}var go={},Dt=[],Er=new G(""),s0=new G("",-1),a0=new G(""),ba=class{get(n,e=kr){if(e===kr){let i=new Error(`NullInjectorError: No provider for ${Lt(n)}!`);throw i.name="NullInjectorError",i}return e}},l0=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(l0||{}),gn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(gn||{}),Yn=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Yn||{});function Xv(t,n,e){let i=t.length;for(;;){let o=t.indexOf(n,e);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=n.length;if(o+r===i||t.charCodeAt(o+r)<=32)return o}e=o+1}}function id(t,n,e){let i=0;for(;i<e.length;){let o=e[i];if(typeof o=="number"){if(o!==0)break;i++;let r=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,r)}else{let r=o,s=e[++i];Qv(r)?t.setProperty(n,r,s):t.setAttribute(n,r,s),i++}}return i}function c0(t){return t===3||t===4||t===6}function Qv(t){return t.charCodeAt(0)===64}function Ar(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let o=n[i];typeof o=="number"?e=o:e===0||(e===-1||e===2?p1(t,e,o,null,n[++i]):p1(t,e,o,null,null))}}return t}function p1(t,n,e,i,o){let r=0,s=t.length;if(n===-1)s=-1;else for(;r<t.length;){let a=t[r++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=r-1;break}}}for(;r<t.length;){let a=t[r];if(typeof a=="number")break;if(a===e){if(i===null){o!==null&&(t[r+1]=o);return}else if(i===t[r+1]){t[r+2]=o;return}}r++,i!==null&&r++,o!==null&&r++}s!==-1&&(t.splice(s,0,n),r=s+1),t.splice(r++,0,e),i!==null&&t.splice(r++,0,i),o!==null&&t.splice(r++,0,o)}var d0="ng-template";function Kv(t,n,e,i){let o=0;if(i){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&Xv(n[o+1].toLowerCase(),e,0)!==-1)return!0}else if(su(t))return!1;if(o=n.indexOf(1,o),o>-1){let r;for(;++o<n.length&&typeof(r=n[o])=="string";)if(r.toLowerCase()===e)return!0}return!1}function su(t){return t.type===4&&t.value!==d0}function Jv(t,n,e){let i=t.type===4&&!e?d0:t.value;return n===i}function e3(t,n,e){let i=4,o=t.attrs,r=o!==null?i3(o):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!nn(i)&&!nn(l))return!1;if(s&&nn(l))continue;s=!1,i=l|i&1;continue}if(!s)if(i&4){if(i=2|i&1,l!==""&&!Jv(t,l,e)||l===""&&n.length===1){if(nn(i))return!1;s=!0}}else if(i&8){if(o===null||!Kv(t,o,l,e)){if(nn(i))return!1;s=!0}}else{let c=n[++a],u=t3(l,o,su(t),e);if(u===-1){if(nn(i))return!1;s=!0;continue}if(c!==""){let f;if(u>r?f="":f=o[u+1].toLowerCase(),i&2&&c!==f){if(nn(i))return!1;s=!0}}}}return nn(i)||s}function nn(t){return(t&1)===0}function t3(t,n,e,i){if(n===null)return-1;let o=0;if(i||!e){let r=!1;for(;o<n.length;){let s=n[o];if(s===t)return o;if(s===3||s===6)r=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=r?1:2}return-1}else return o3(n,t)}function u0(t,n,e=!1){for(let i=0;i<n.length;i++)if(e3(t,n[i],e))return!0;return!1}function n3(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if(!(e&1))return n[e+1]}return null}function i3(t){for(let n=0;n<t.length;n++){let e=t[n];if(c0(e))return n}return t.length}function o3(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function r3(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let o=0;o<t.length;o++)if(t[o]!==i[o])continue e;return!0}}return!1}function m1(t,n){return t?":not("+n.trim()+")":n}function s3(t){let n=t[0],e=1,i=2,o="",r=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(i&2){let a=t[++e];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?o+="."+s:i&4&&(o+=" "+s);else o!==""&&!nn(s)&&(n+=m1(r,o),o=""),i=s,r=r||!nn(i);e++}return o!==""&&(n+=m1(r,o)),n}function a3(t){return t.map(s3).join(",")}function l3(t){let n=[],e=[],i=1,o=2;for(;i<t.length;){let r=t[i];if(typeof r=="string")o===2?r!==""&&n.push(r,t[++i]):o===8&&e.push(r);else{if(!nn(o))break;o=r}i++}return{attrs:n,classes:e}}function A(t){return Nr(()=>{let n=g0(t),e=Ye(ae({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===l0.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||gn.Emulated,styles:t.styles||Dt,_:null,schemas:t.schemas||null,tView:null,id:""});h0(e);let i=t.dependencies;return e.directiveDefs=h1(i,!1),e.pipeDefs=h1(i,!0),e.id=p3(e),e})}function c3(t){return Oi(t)||p0(t)}function d3(t){return t!==null}function ze(t){return Nr(()=>({type:t.type,bootstrap:t.bootstrap||Dt,declarations:t.declarations||Dt,imports:t.imports||Dt,exports:t.exports||Dt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function g1(t,n){if(t==null)return go;let e={};for(let i in t)if(t.hasOwnProperty(i)){let o=t[i],r,s,a=Yn.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),n?(e[r]=a!==Yn.None?[i,a]:i,n[r]=s):e[r]=i}return e}function Q(t){return Nr(()=>{let n=g0(t);return h0(n),n})}function Rr(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Oi(t){return t[Sv]||null}function p0(t){return t[Pv]||null}function m0(t){return t[Tv]||null}function u3(t){let n=Oi(t)||p0(t)||m0(t);return n!==null?n.standalone:!1}function g0(t){let 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,inputTransforms:null,inputConfig:t.inputs||go,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Dt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:g1(t.inputs,n),outputs:g1(t.outputs),debugInfo:null}}function h0(t){t.features?.forEach(n=>n(t))}function h1(t,n){if(!t)return null;let e=n?m0:c3;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(d3)}function p3(t){let n=0,e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of e)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function Ha(t){return{\u0275providers:t}}function au(...t){return{\u0275providers:f0(!0,t),\u0275fromNgModule:!0}}function f0(t,...n){let e=[],i=new Set,o,r=s=>{e.push(s)};return ou(n,s=>{let a=s;od(a,r,[],i)&&(o||=[],o.push(a))}),o!==void 0&&b0(o,r),e}function b0(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:o}=t[e];lu(o,r=>{n(r,i)})}}function od(t,n,e,i){if(t=wt(t),!t)return!1;let o=null,r=l1(t),s=!r&&Oi(t);if(!r&&!s){let l=t.ngModule;if(r=l1(l),r)o=l;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)od(c,n,e,i)}}else if(r){if(r.imports!=null&&!a){i.add(o);let c;try{ou(r.imports,u=>{od(u,n,e,i)&&(c||=[],c.push(u))})}finally{}c!==void 0&&b0(c,n)}if(!a){let c=Ai(o)||(()=>new o);n({provide:o,useFactory:c,deps:Dt},o),n({provide:a0,useValue:o,multi:!0},o),n({provide:Er,useValue:()=>R(o),multi:!0},o)}let l=r.providers;if(l!=null&&!a){let c=t;lu(l,u=>{n(u,c)})}}else return!1;return o!==t&&t.providers!==void 0}function lu(t,n){for(let e of t)e0(e)&&(e=e.\u0275providers),Array.isArray(e)?lu(e,n):n(e)}var m3=We({provide:String,useValue:We});function v0(t){return t!==null&&typeof t=="object"&&m3 in t}function g3(t){return!!(t&&t.useExisting)}function h3(t){return!!(t&&t.useFactory)}function ho(t){return typeof t=="function"}function f3(t){return!!t.useClass}var Za=new G(""),la={},b3={},Bc;function $a(){return Bc===void 0&&(Bc=new ba),Bc}var Zt=class{},Or=class extends Zt{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,sd(n,s=>this.processProvider(s)),this.records.set(s0,lo(void 0,this)),o.has("environment")&&this.records.set(Zt,lo(void 0,this));let r=this.records.get(Za);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(a0,Dt,we.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let n=Ce(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Ce(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();let e=Wn(this),i=Mt(void 0),o;try{return n()}finally{Wn(e),Mt(i)}}get(n,e=kr,i=we.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(d1))return n[d1](this);i=za(i);let o,r=Wn(this),s=Mt(void 0);try{if(!(i&we.SkipSelf)){let l=this.records.get(n);if(l===void 0){let c=x3(n)&&tu(n);c&&this.injectableDefInScope(c)?l=lo(rd(n),la):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l)}let a=i&we.Self?$a():this.parent;return e=i&we.Optional&&e===kr?null:e,a.get(n,e)}catch(a){if(a.name==="NullInjectorError"){if((a[ha]=a[ha]||[]).unshift(Lt(n)),r)throw a;return Zv(a,n,"R3InjectorError",this.source)}else throw a}finally{Mt(s),Wn(r)}}resolveInjectorInitializers(){let n=Ce(null),e=Wn(this),i=Mt(void 0),o;try{let r=this.get(Er,Dt,we.Self);for(let s of r)s()}finally{Wn(e),Mt(i),Ce(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(Lt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ge(205,!1)}processProvider(n){n=wt(n);let e=ho(n)?n:wt(n&&n.provide),i=_3(n);if(!ho(n)&&n.multi===!0){let o=this.records.get(e);o||(o=lo(void 0,la,!0),o.factory=()=>nd(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){let i=Ce(null);try{return e.value===la&&(e.value=b3,e.value=e.factory()),typeof e.value=="object"&&e.value&&w3(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{Ce(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=wt(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function rd(t){let n=tu(t),e=n!==null?n.factory:Ai(t);if(e!==null)return e;if(t instanceof G)throw new ge(204,!1);if(t instanceof Function)return v3(t);throw new ge(204,!1)}function v3(t){if(t.length>0)throw new ge(204,!1);let e=Ov(t);return e!==null?()=>e.factory(t):()=>new t}function _3(t){if(v0(t))return lo(void 0,t.useValue);{let n=_0(t);return lo(n,la)}}function _0(t,n,e){let i;if(ho(t)){let o=wt(t);return Ai(o)||rd(o)}else if(v0(t))i=()=>wt(t.useValue);else if(h3(t))i=()=>t.useFactory(...nd(t.deps||[]));else if(g3(t))i=()=>R(wt(t.useExisting));else{let o=wt(t&&(t.useClass||t.provide));if(C3(t))i=()=>new o(...nd(t.deps));else return Ai(o)||rd(o)}return i}function lo(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function C3(t){return!!t.deps}function w3(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function x3(t){return typeof t=="function"||typeof t=="object"&&t instanceof G}function sd(t,n){for(let e of t)Array.isArray(e)?sd(e,n):e&&e0(e)?sd(e.\u0275providers,n):n(e)}function C0(t,n){t instanceof Or&&t.assertNotDestroyed();let e,i=Wn(t),o=Mt(void 0);try{return n()}finally{Wn(i),Mt(o)}}function w0(){return t0()!==void 0||Bv()!=null}function x0(t){if(!w0())throw new ge(-203,!1)}function y3(t){return typeof t=="function"}var In=0,ue=1,le=2,vt=3,rn=4,At=5,fo=6,va=7,pt=8,bo=9,hn=10,Qe=11,Ir=12,f1=13,Do=14,kt=15,Ii=16,co=17,On=18,Ua=19,y0=20,Gn=21,zc=22,Ht=23,mt=25,M0=1;var Si=7,_a=8,vo=9,bt=10,Ca=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Ca||{});function qn(t){return Array.isArray(t)&&typeof t[M0]=="object"}function Sn(t){return Array.isArray(t)&&t[M0]===!0}function cu(t){return(t.flags&4)!==0}function Wa(t){return t.componentOffset>-1}function Ga(t){return(t.flags&1)===1}function Xn(t){return!!t.template}function ad(t){return(t[le]&512)!==0}var Sr=class{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function D0(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}function Ge(){return k0}function k0(t){return t.type.prototype.ngOnChanges&&(t.setInput=D3),M3}Ge.ngInherit=!0;function M3(){let t=A0(this),n=t?.current;if(n){let e=t.previous;if(e===go)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function D3(t,n,e,i,o){let r=this.declaredInputs[i],s=A0(t)||k3(t,{previous:go,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[r];a[r]=new Sr(c&&c.currentValue,e,l===go),D0(t,n,o,e)}var E0="__ngSimpleChanges__";function A0(t){return t[E0]||null}function k3(t,n){return t[E0]=n}var b1=null;var pn=function(t,n,e){b1?.(t,n,e)},O0="svg",E3="math";function fn(t){for(;Array.isArray(t);)t=t[In];return t}function I0(t,n){return fn(n[t])}function $t(t,n){return fn(n[t.index])}function du(t,n){return t.data[n]}function S0(t,n){return t[n]}function ei(t,n){let e=n[t];return qn(e)?e:e[In]}function A3(t){return(t[le]&4)===4}function uu(t){return(t[le]&128)===128}function O3(t){return Sn(t[vt])}function Qn(t,n){return n==null?null:t[n]}function P0(t){t[co]=0}function T0(t){t[le]&1024||(t[le]|=1024,uu(t)&&Ya(t))}function I3(t,n){for(;t>0;)n=n[Do],t--;return n}function qa(t){return!!(t[le]&9216||t[Ht]?.dirty)}function ld(t){t[hn].changeDetectionScheduler?.notify(8),t[le]&64&&(t[le]|=1024),qa(t)&&Ya(t)}function Ya(t){t[hn].changeDetectionScheduler?.notify(0);let n=Pi(t);for(;n!==null&&!(n[le]&8192||(n[le]|=8192,!uu(n)));)n=Pi(n)}function L0(t,n){if((t[le]&256)===256)throw new ge(911,!1);t[Gn]===null&&(t[Gn]=[]),t[Gn].push(n)}function S3(t,n){if(t[Gn]===null)return;let e=t[Gn].indexOf(n);e!==-1&&t[Gn].splice(e,1)}function Pi(t){let n=t[vt];return Sn(n)?n[vt]:n}var he={lFrame:Z0(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var V0=!1;function P3(){return he.lFrame.elementDepthCount}function T3(){he.lFrame.elementDepthCount++}function L3(){he.lFrame.elementDepthCount--}function F0(){return he.bindingsEnabled}function N0(){return he.skipHydrationRootTNode!==null}function V3(t){return he.skipHydrationRootTNode===t}function F3(){he.skipHydrationRootTNode=null}function ie(){return he.lFrame.lView}function Ke(){return he.lFrame.tView}function C(t){return he.lFrame.contextLView=t,t[pt]}function w(t){return he.lFrame.contextLView=null,t}function gt(){let t=j0();for(;t!==null&&t.type===64;)t=t.parent;return t}function j0(){return he.lFrame.currentTNode}function N3(){let t=he.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Ri(t,n){let e=he.lFrame;e.currentTNode=t,e.isParent=n}function pu(){return he.lFrame.isParent}function mu(){he.lFrame.isParent=!1}function j3(){return he.lFrame.contextLView}function R0(){return V0}function v1(t){V0=t}function ko(){let t=he.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function R3(){return he.lFrame.bindingIndex}function B3(t){return he.lFrame.bindingIndex=t}function Bi(){return he.lFrame.bindingIndex++}function gu(t){let n=he.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function z3(){return he.lFrame.inI18n}function H3(t,n){let e=he.lFrame;e.bindingIndex=e.bindingRootIndex=t,cd(n)}function Z3(){return he.lFrame.currentDirectiveIndex}function cd(t){he.lFrame.currentDirectiveIndex=t}function $3(t){let n=he.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function B0(){return he.lFrame.currentQueryIndex}function hu(t){he.lFrame.currentQueryIndex=t}function U3(t){let n=t[ue];return n.type===2?n.declTNode:n.type===1?t[At]:null}function z0(t,n,e){if(e&we.SkipSelf){let o=n,r=t;for(;o=o.parent,o===null&&!(e&we.Host);)if(o=U3(r),o===null||(r=r[Do],o.type&10))break;if(o===null)return!1;n=o,t=r}let i=he.lFrame=H0();return i.currentTNode=n,i.lView=t,!0}function fu(t){let n=H0(),e=t[ue];he.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function H0(){let t=he.lFrame,n=t===null?null:t.child;return n===null?Z0(t):n}function Z0(t){let 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 t!==null&&(t.child=n),n}function $0(){let t=he.lFrame;return he.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var U0=$0;function bu(){let t=$0();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 W3(t){return(he.lFrame.contextLView=I3(t,he.lFrame.contextLView))[pt]}function Pn(){return he.lFrame.selectedIndex}function Ti(t){he.lFrame.selectedIndex=t}function Br(){let t=he.lFrame;return du(t.tView,t.selectedIndex)}function W0(){he.lFrame.currentNamespace=O0}function G3(){return he.lFrame.currentNamespace}var G0=!0;function Xa(){return G0}function Qa(t){G0=t}function q3(t,n,e){let{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){let s=k0(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}o&&(e.preOrderHooks??=[]).push(0-t,o),r&&((e.preOrderHooks??=[]).push(t,r),(e.preOrderCheckHooks??=[]).push(t,r))}function Ka(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let r=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=r;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),u!=null&&(t.destroyHooks??=[]).push(e,u)}}function ca(t,n,e){q0(t,n,3,e)}function da(t,n,e,i){(t[le]&3)===e&&q0(t,n,e,i)}function Hc(t,n){let e=t[le];(e&3)===n&&(e&=16383,e+=1,t[le]=e)}function q0(t,n,e,i){let o=i!==void 0?t[co]&65535:0,r=i??-1,s=n.length-1,a=0;for(let l=o;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],i!=null&&a>=i)break}else n[l]<0&&(t[co]+=65536),(a<r||r==-1)&&(Y3(t,e,n,l),t[co]=(t[co]&4294901760)+l+2),l++}function _1(t,n){pn(4,t,n);let e=Ce(null);try{n.call(t)}finally{Ce(e),pn(5,t,n)}}function Y3(t,n,e,i){let o=e[i]<0,r=e[i+1],s=o?-e[i]:e[i],a=t[s];o?t[le]>>14<t[co]>>16&&(t[le]&3)===n&&(t[le]+=16384,_1(a,r)):_1(a,r)}var mo=-1,Li=class{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}};function X3(t){return t instanceof Li}function Q3(t){return(t.flags&8)!==0}function K3(t){return(t.flags&16)!==0}var Zc={},dd=class{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=za(i);let o=this.injector.get(n,Zc,i);return o!==Zc||e===Zc?o:this.parentInjector.get(n,e,i)}};function Y0(t){return t!==mo}function wa(t){return t&32767}function J3(t){return t>>16}function xa(t,n){let e=J3(t),i=n;for(;e>0;)i=i[Do],e--;return i}var ud=!0;function ya(t){let n=ud;return ud=t,n}var e_=256,X0=e_-1,Q0=5,t_=0,mn={};function n_(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(Mr)&&(i=e[Mr]),i==null&&(i=e[Mr]=t_++);let o=i&X0,r=1<<o;n.data[t+(o>>Q0)]|=r}function Ma(t,n){let e=K0(t,n);if(e!==-1)return e;let i=n[ue];i.firstCreatePass&&(t.injectorIndex=n.length,$c(i.data,t),$c(n,null),$c(i.blueprint,null));let o=vu(t,n),r=t.injectorIndex;if(Y0(o)){let s=wa(o),a=xa(o,n),l=a[ue].data;for(let c=0;c<8;c++)n[r+c]=a[s+c]|l[s+c]}return n[r+8]=o,r}function $c(t,n){t.push(0,0,0,0,0,0,0,0,n)}function K0(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function vu(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;o!==null;){if(i=ig(o),i===null)return mo;if(e++,o=o[Do],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return mo}function pd(t,n,e){n_(t,n,e)}function i_(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,o=0;for(;o<i;){let r=e[o];if(c0(r))break;if(r===0)o=o+2;else if(typeof r=="number")for(o++;o<i&&typeof e[o]=="string";)o++;else{if(r===n)return e[o+1];o=o+2}}}return null}function J0(t,n,e){if(e&we.Optional||t!==void 0)return t;nu(n,"NodeInjector")}function eg(t,n,e,i){if(e&we.Optional&&i===void 0&&(i=null),!(e&(we.Self|we.Host))){let o=t[bo],r=Mt(void 0);try{return o?o.get(n,i,e&we.Optional):n0(n,i,e&we.Optional)}finally{Mt(r)}}return J0(i,n,e)}function tg(t,n,e,i=we.Default,o){if(t!==null){if(n[le]&2048&&!(i&we.Self)){let s=a_(t,n,e,i,mn);if(s!==mn)return s}let r=ng(t,n,e,i,mn);if(r!==mn)return r}return eg(n,e,i,o)}function ng(t,n,e,i,o){let r=r_(e);if(typeof r=="function"){if(!z0(n,t,i))return i&we.Host?J0(o,e,i):eg(n,e,i,o);try{let s;if(s=r(i),s==null&&!(i&we.Optional))nu(e);else return s}finally{U0()}}else if(typeof r=="number"){let s=null,a=K0(t,n),l=mo,c=i&we.Host?n[kt][At]:null;for((a===-1||i&we.SkipSelf)&&(l=a===-1?vu(t,n):n[a+8],l===mo||!w1(i,!1)?a=-1:(s=n[ue],a=wa(l),n=xa(l,n)));a!==-1;){let u=n[ue];if(C1(r,a,u.data)){let f=o_(a,n,e,s,i,c);if(f!==mn)return f}l=n[a+8],l!==mo&&w1(i,n[ue].data[a+8]===c)&&C1(r,a,n)?(s=u,a=wa(l),n=xa(l,n)):a=-1}}return o}function o_(t,n,e,i,o,r){let s=n[ue],a=s.data[t+8],l=i==null?Wa(a)&&ud:i!=s&&(a.type&3)!==0,c=o&we.Host&&r===a,u=ua(a,s,e,l,c);return u!==null?Vi(n,s,u,a):mn}function ua(t,n,e,i,o){let r=t.providerIndexes,s=n.data,a=r&1048575,l=t.directiveStart,c=t.directiveEnd,u=r>>20,f=i?a:a+u,x=o?a+u:c;for(let b=f;b<x;b++){let E=s[b];if(b<l&&e===E||b>=l&&E.type===e)return b}if(o){let b=s[l];if(b&&Xn(b)&&b.type===e)return l}return null}function Vi(t,n,e,i){let o=t[e],r=n.data;if(X3(o)){let s=o;s.resolving&&Vv(Lv(r[e]));let a=ya(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Mt(s.injectImpl):null,u=z0(t,i,we.Default);try{o=t[e]=s.factory(void 0,r,t,i),n.firstCreatePass&&e>=i.directiveStart&&q3(e,r[e],n)}finally{c!==null&&Mt(c),ya(a),s.resolving=!1,U0()}}return o}function r_(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Mr)?t[Mr]:void 0;return typeof n=="number"?n>=0?n&X0:s_:n}function C1(t,n,e){let i=1<<t;return!!(e[n+(t>>Q0)]&i)}function w1(t,n){return!(t&we.Self)&&!(t&we.Host&&n)}var ki=class{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return tg(this._tNode,this._lView,n,za(i),e)}};function s_(){return new ki(gt(),ie())}function Ut(t){return Nr(()=>{let n=t.prototype.constructor,e=n[ga]||md(n),i=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){let r=o[ga]||md(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function md(t){return Q1(t)?()=>{let n=md(wt(t));return n&&n()}:Ai(t)}function a_(t,n,e,i,o){let r=t,s=n;for(;r!==null&&s!==null&&s[le]&2048&&!(s[le]&512);){let a=ng(r,s,e,i|we.Self,mn);if(a!==mn)return a;let l=r.parent;if(!l){let c=s[y0];if(c){let u=c.get(e,mn,i);if(u!==mn)return u}l=ig(s),s=s[Do]}r=l}return o}function ig(t){let n=t[ue],e=n.type;return e===2?n.declTNode:e===1?t[At]:null}function Eo(t){return i_(gt(),t)}function x1(t,n=null,e=null,i){let o=l_(t,n,e,i);return o.resolveInjectorInitializers(),o}function l_(t,n=null,e=null,i,o=new Set){let r=[e||Dt,au(t)];return i=i||(typeof t=="object"?void 0:Lt(t)),new Or(r,n||$a(),i||null,o)}var bn=class t{static{this.THROW_IF_NOT_FOUND=kr}static{this.NULL=new ba}static create(n,e){if(Array.isArray(n))return x1({name:""},e,n,"");{let i=n.name??"";return x1({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=$({token:t,providedIn:"any",factory:()=>R(s0)})}static{this.__NG_ELEMENT_ID__=-1}};var c_=new G("");c_.__NG_ELEMENT_ID__=t=>{let n=gt();if(n===null)throw new ge(204,!1);if(n.type&2)return n.value;if(t&we.Optional)return null;throw new ge(204,!1)};var d_="ngOriginalError";function Uc(t){return t[d_]}var og=!0,Ao=(()=>{class t{static{this.__NG_ELEMENT_ID__=u_}static{this.__NG_ENV_ID__=e=>e}}return t})(),gd=class extends Ao{constructor(n){super(),this._lView=n}onDestroy(n){return L0(this._lView,n),()=>S3(this._lView,n)}};function u_(){return new gd(ie())}var Oo=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ie(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t})}}return t})();var hd=class extends ve{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,w0()&&(this.destroyRef=W(Ao,{optional:!0})??void 0,this.pendingTasks=W(Oo,{optional:!0})??void 0)}emit(n){let e=Ce(null);try{super.next(n)}finally{Ce(e)}}subscribe(n,e,i){let o=n,r=e||(()=>null),s=i;if(n&&typeof n=="object"){let l=n;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:r,complete:s});return n instanceof Xe&&n.add(a),a}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{n(e),i!==void 0&&this.pendingTasks?.remove(i)})}}},y=hd;function Da(...t){}function rg(t){let n,e;function i(){t=Da;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function y1(t){return queueMicrotask(()=>t()),()=>{t=Da}}var _u="isAngularZone",ka=_u+"_ID",p_=0,Me=class t{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new y(!1),this.onMicrotaskEmpty=new y(!1),this.onStable=new y(!1),this.onError=new y(!1);let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:r=og}=n;if(typeof Zone>"u")throw new ge(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&i,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=r,h_(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(_u)===!0}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,o){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,m_,Da,Da);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},m_={};function Cu(t){if(t._nesting==0&&!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 g_(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){rg(()=>{t.callbackScheduled=!1,fd(t),t.isCheckStableRunning=!0,Cu(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),fd(t)}function h_(t){let n=()=>{g_(t)},e=p_++;t._inner=t._inner.fork({name:"angular",properties:{[_u]:!0,[ka]:e,[ka+e]:!0},onInvokeTask:(i,o,r,s,a,l)=>{if(f_(l))return i.invokeTask(r,s,a,l);try{return M1(t),i.invokeTask(r,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),D1(t)}},onInvoke:(i,o,r,s,a,l,c)=>{try{return M1(t),i.invoke(r,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!b_(l)&&n(),D1(t)}},onHasTask:(i,o,r,s)=>{i.hasTask(r,s),o===r&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,fd(t),Cu(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,o,r,s)=>(i.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function fd(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function M1(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function D1(t){t._nesting--,Cu(t)}var bd=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new y,this.onMicrotaskEmpty=new y,this.onStable=new y,this.onError=new y}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,o){return n.apply(e,i)}};function f_(t){return sg(t,"__ignore_ng_zone__")}function b_(t){return sg(t,"__scheduler_tick__")}function sg(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var vn=class{constructor(){this._console=console}handleError(n){let e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&Uc(n);for(;e&&Uc(e);)e=Uc(e);return e||null}},v_=new G("",{providedIn:"root",factory:()=>{let t=W(Me),n=W(vn);return e=>t.runOutsideAngular(()=>n.handleError(e))}});function __(){return Io(gt(),ie())}function Io(t,n){return new q($t(t,n))}var q=(()=>{class t{constructor(e){this.nativeElement=e}static{this.__NG_ELEMENT_ID__=__}}return t})();function C_(t){return t instanceof q?t.nativeElement:t}function w_(){return this._results[Symbol.iterator]()}var Pr=class t{get changes(){return this._changes??=new y}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let e=t.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=w_)}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;let i=Wv(n);(this._changesDetected=!Uv(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function ag(t){return(t.flags&128)===128}var lg=new Map,x_=0;function y_(){return x_++}function M_(t){lg.set(t[Ua],t)}function vd(t){lg.delete(t[Ua])}var k1="__ngContext__";function Kn(t,n){qn(n)?(t[k1]=n[Ua],M_(n)):t[k1]=n}function cg(t){return ug(t[Ir])}function dg(t){return ug(t[rn])}function ug(t){for(;t!==null&&!Sn(t);)t=t[rn];return t}var _d;function pg(t){_d=t}function mg(){if(_d!==void 0)return _d;if(typeof document<"u")return document;throw new ge(210,!1)}var Ja=new G("",{providedIn:"root",factory:()=>D_}),D_="ng",wu=new G(""),Cn=new G("",{providedIn:"platform",factory:()=>"unknown"});var zr=new G(""),Hr=new G("",{providedIn:"root",factory:()=>mg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var k_="h",E_="b";var A_=()=>null;function xu(t,n,e=!1){return A_(t,n,e)}var gg=!1,O_=new G("",{providedIn:"root",factory:()=>gg});var na;function I_(){if(na===void 0&&(na=null,Dr.trustedTypes))try{na=Dr.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return na}function el(t){return I_()?.createHTML(t)||t}var ia;function S_(){if(ia===void 0&&(ia=null,Dr.trustedTypes))try{ia=Dr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ia}function E1(t){return S_()?.createHTML(t)||t}var Ea=class{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Y1})`}};function So(t){return t instanceof Ea?t.changingThisBreaksApplicationSecurity:t}function yu(t,n){let e=P_(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Y1})`)}return e===n}function P_(t){return t instanceof Ea&&t.getTypeName()||null}function T_(t){let n=new wd(t);return L_()?new Cd(n):n}var Cd=class{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(el(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},wd=class{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=el(n),e}};function L_(){try{return!!new window.DOMParser().parseFromString(el(""),"text/html")}catch{return!1}}var V_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Mu(t){return t=String(t),t.match(V_)?t:"unsafe:"+t}function Tn(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Zr(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var hg=Tn("area,br,col,hr,img,wbr"),fg=Tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bg=Tn("rp,rt"),F_=Zr(bg,fg),N_=Zr(fg,Tn("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")),j_=Zr(bg,Tn("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")),A1=Zr(hg,N_,j_,F_),vg=Tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),R_=Tn("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"),B_=Tn("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"),z_=Zr(vg,R_,B_),H_=Tn("script,style,template"),xd=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0,o=[];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){o.push(e),e=U_(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=$_(e);if(r){e=r;break}e=o.pop()}}return this.buf.join("")}startElement(n){let e=O1(n).toLowerCase();if(!A1.hasOwnProperty(e))return this.sanitizedSomething=!0,!H_.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let o=0;o<i.length;o++){let r=i.item(o),s=r.name,a=s.toLowerCase();if(!z_.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=r.value;vg[a]&&(l=Mu(l)),this.buf.push(" ",s,'="',I1(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=O1(n).toLowerCase();A1.hasOwnProperty(e)&&!hg.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(I1(n))}};function Z_(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function $_(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw _g(n);return n}function U_(t){let n=t.firstChild;if(n&&Z_(t,n))throw _g(n);return n}function O1(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function _g(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var W_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,G_=/([^\#-~ |!])/g;function I1(t){return t.replace(/&/g,"&").replace(W_,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(G_,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var oa;function Cg(t,n){let e=null;try{oa=oa||T_(t);let i=n?String(n):"";e=oa.getInertBodyElement(i);let o=5,r=i;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=e.innerHTML,e=oa.getInertBodyElement(i)}while(i!==r);let a=new xd().sanitizeChildren(S1(e)||e);return el(a)}finally{if(e){let i=S1(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function S1(t){return"content"in t&&q_(t)?t.content:null}function q_(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var tl=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}(tl||{});function Du(t){let n=wg();return n?E1(n.sanitize(tl.HTML,t)||""):yu(t,"HTML")?E1(So(t)):Cg(mg(),Ei(t))}function $r(t){let n=wg();return n?n.sanitize(tl.URL,t)||"":yu(t,"URL")?So(t):Mu(Ei(t))}function wg(){let t=ie();return t&&t[hn].sanitizer}var Y_=/^>|^->|<!--|-->|--!>|<!-$/g,X_=/(<|>)/g,Q_="\u200B$1\u200B";function K_(t){return t.replace(Y_,n=>n.replace(X_,Q_))}function Vt(t){return t.ownerDocument}var _n=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(_n||{}),J_;function ku(t,n){return J_(t,n)}function uo(t,n,e,i,o){if(i!=null){let r,s=!1;Sn(i)?r=i:qn(i)&&(s=!0,i=i[In]);let a=fn(i);t===0&&e!==null?o==null?kg(n,e,a):Aa(n,e,a,o||null,!0):t===1&&e!==null?Aa(n,e,a,o||null,!0):t===2?m4(n,a,s):t===3&&n.destroyNode(a),r!=null&&h4(n,t,r,e,o)}}function e4(t,n){return t.createText(n)}function t4(t,n,e){t.setValue(n,e)}function n4(t,n){return t.createComment(K_(n))}function xg(t,n,e){return t.createElement(n,e)}function i4(t,n){yg(t,n),n[In]=null,n[At]=null}function o4(t,n,e,i,o,r){i[In]=o,i[At]=n,ol(t,i,e,1,o,r)}function yg(t,n){n[hn].changeDetectionScheduler?.notify(9),ol(t,n,n[Qe],2,null,null)}function r4(t){let n=t[Ir];if(!n)return Wc(t[ue],t);for(;n;){let e=null;if(qn(n))e=n[Ir];else{let i=n[bt];i&&(e=i)}if(!e){for(;n&&!n[rn]&&n!==t;)qn(n)&&Wc(n[ue],n),n=n[vt];n===null&&(n=t),qn(n)&&Wc(n[ue],n),e=n&&n[rn]}n=e}}function s4(t,n,e,i){let o=bt+i,r=e.length;i>0&&(e[o-1][rn]=n),i<r-bt?(n[rn]=e[o],r0(e,bt+i,n)):(e.push(n),n[rn]=null),n[vt]=e;let s=n[Ii];s!==null&&e!==s&&Mg(s,n);let a=n[On];a!==null&&a.insertView(t),ld(n),n[le]|=128}function Mg(t,n){let e=t[vo],i=n[vt];if(qn(i))t[le]|=Ca.HasTransplantedViews;else{let o=i[vt][kt];n[kt]!==o&&(t[le]|=Ca.HasTransplantedViews)}e===null?t[vo]=[n]:e.push(n)}function Eu(t,n){let e=t[vo],i=e.indexOf(n);e.splice(i,1)}function Tr(t,n){if(t.length<=bt)return;let e=bt+n,i=t[e];if(i){let o=i[Ii];o!==null&&o!==t&&Eu(o,i),n>0&&(t[e-1][rn]=i[rn]);let r=fa(t,bt+n);i4(i[ue],i);let s=r[On];s!==null&&s.detachView(r[ue]),i[vt]=null,i[rn]=null,i[le]&=-129}return i}function nl(t,n){if(!(n[le]&256)){let e=n[Qe];e.destroyNode&&ol(t,n,e,3,null,null),r4(n)}}function Wc(t,n){if(n[le]&256)return;let e=Ce(null);try{n[le]&=-129,n[le]|=256,n[Ht]&&xc(n[Ht]),l4(t,n),a4(t,n),n[ue].type===1&&n[Qe].destroy();let i=n[Ii];if(i!==null&&Sn(n[vt])){i!==n[vt]&&Eu(i,n);let o=n[On];o!==null&&o.detachView(t)}vd(n)}finally{Ce(e)}}function a4(t,n){let e=t.cleanup,i=n[va];if(e!==null)for(let r=0;r<e.length-1;r+=2)if(typeof e[r]=="string"){let s=e[r+3];s>=0?i[s]():i[-s].unsubscribe(),r+=2}else{let s=i[e[r+1]];e[r].call(s)}i!==null&&(n[va]=null);let o=n[Gn];if(o!==null){n[Gn]=null;for(let r=0;r<o.length;r++){let s=o[r];s()}}}function l4(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let o=n[e[i]];if(!(o instanceof Li)){let r=e[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let a=o[r[s]],l=r[s+1];pn(4,a,l);try{l.call(a)}finally{pn(5,a,l)}}else{pn(4,o,r);try{r.call(o)}finally{pn(5,o,r)}}}}}function Dg(t,n,e){return c4(t,n.parent,e)}function c4(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[In];{let{componentOffset:o}=i;if(o>-1){let{encapsulation:r}=t.data[i.directiveStart+o];if(r===gn.None||r===gn.Emulated)return null}return $t(i,e)}}function Aa(t,n,e,i,o){t.insertBefore(n,e,i,o)}function kg(t,n,e){t.appendChild(n,e)}function P1(t,n,e,i,o){i!==null?Aa(t,n,e,i,o):kg(t,n,e)}function Eg(t,n){return t.parentNode(n)}function d4(t,n){return t.nextSibling(n)}function Ag(t,n,e){return p4(t,n,e)}function u4(t,n,e){return t.type&40?$t(t,e):null}var p4=u4,T1;function il(t,n,e,i){let o=Dg(t,i,n),r=n[Qe],s=i.parent||n[At],a=Ag(s,i,n);if(o!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)P1(r,o,e[l],a,!1);else P1(r,o,e,a,!1);T1!==void 0&&T1(r,i,n,e,o)}function xr(t,n){if(n!==null){let e=n.type;if(e&3)return $t(n,t);if(e&4)return yd(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return xr(t,i);{let o=t[n.index];return Sn(o)?yd(-1,o):fn(o)}}else{if(e&128)return xr(t,n.next);if(e&32)return ku(n,t)()||fn(t[n.index]);{let i=Og(t,n);if(i!==null){if(Array.isArray(i))return i[0];let o=Pi(t[kt]);return xr(o,i)}else return xr(t,n.next)}}}return null}function Og(t,n){if(n!==null){let i=t[kt][At],o=n.projection;return i.projection[o]}return null}function yd(t,n){let e=bt+t+1;if(e<n.length){let i=n[e],o=i[ue].firstChild;if(o!==null)return xr(i,o)}return n[Si]}function m4(t,n,e){t.removeChild(null,n,e)}function Au(t,n,e,i,o,r,s){for(;e!=null;){if(e.type===128){e=e.next;continue}let a=i[e.index],l=e.type;if(s&&n===0&&(a&&Kn(fn(a),i),e.flags|=2),(e.flags&32)!==32)if(l&8)Au(t,n,e.child,i,o,r,!1),uo(n,t,o,a,r);else if(l&32){let c=ku(e,i),u;for(;u=c();)uo(n,t,o,u,r);uo(n,t,o,a,r)}else l&16?Ig(t,n,i,e,o,r):uo(n,t,o,a,r);e=s?e.projectionNext:e.next}}function ol(t,n,e,i,o,r){Au(e,i,t.firstChild,n,o,r,!1)}function g4(t,n,e){let i=n[Qe],o=Dg(t,e,n),r=e.parent||n[At],s=Ag(r,e,n);Ig(i,0,n,e,o,s)}function Ig(t,n,e,i,o,r){let s=e[kt],l=s[At].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];uo(n,t,o,u,r)}else{let c=l,u=s[vt];ag(i)&&(c.flags|=128),Au(t,n,c,u,o,r,!0)}}function h4(t,n,e,i,o){let r=e[Si],s=fn(e);r!==s&&uo(n,t,i,r,o);for(let a=bt;a<e.length;a++){let l=e[a];ol(l[ue],l,t,n,i,r)}}function f4(t,n,e,i,o){if(n)o?t.addClass(e,i):t.removeClass(e,i);else{let r=i.indexOf("-")===-1?void 0:_n.DashCase;o==null?t.removeStyle(e,i,r):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=_n.Important),t.setStyle(e,i,o,r))}}function b4(t,n,e){t.setAttribute(n,"style",e)}function Sg(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function Pg(t,n,e){let{mergedAttrs:i,classes:o,styles:r}=e;i!==null&&id(t,n,i),o!==null&&Sg(t,n,o),r!==null&&b4(t,n,r)}var Ft={};function d(t=1){Tg(Ke(),ie(),Pn()+t,!1)}function Tg(t,n,e,i){if(!i)if((n[le]&3)===3){let r=t.preOrderCheckHooks;r!==null&&ca(n,r,e)}else{let r=t.preOrderHooks;r!==null&&da(n,r,0,e)}Ti(e)}function _(t,n=we.Default){let e=ie();if(e===null)return R(t,n);let i=gt();return tg(i,e,wt(t),n)}function Lg(){let t="invalid";throw new Error(t)}function Vg(t,n,e,i,o,r){let s=Ce(null);try{let a=null;o&Yn.SignalBased&&(a=n[i][kn]),a!==null&&a.transformFn!==void 0&&(r=a.transformFn(r)),o&Yn.HasDecoratorInputTransform&&(r=t.inputTransforms[i].call(n,r)),t.setInput!==null?t.setInput(n,a,r,e,i):D0(n,a,i,r)}finally{Ce(s)}}function v4(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let o=e[i];if(o<0)Ti(~o);else{let r=o,s=e[++i],a=e[++i];H3(s,r);let l=n[r];a(2,l)}}}finally{Ti(-1)}}function rl(t,n,e,i,o,r,s,a,l,c,u){let f=n.blueprint.slice();return f[In]=o,f[le]=i|4|128|8|64,(c!==null||t&&t[le]&2048)&&(f[le]|=2048),P0(f),f[vt]=f[Do]=t,f[pt]=e,f[hn]=s||t&&t[hn],f[Qe]=a||t&&t[Qe],f[bo]=l||t&&t[bo]||null,f[At]=r,f[Ua]=y_(),f[fo]=u,f[y0]=c,f[kt]=n.type==2?t[kt]:f,f}function Po(t,n,e,i,o){let r=t.data[n];if(r===null)r=_4(t,n,e,i,o),z3()&&(r.flags|=32);else if(r.type&64){r.type=e,r.value=i,r.attrs=o;let s=N3();r.injectorIndex=s===null?-1:s.injectorIndex}return Ri(r,!0),r}function _4(t,n,e,i,o){let r=j0(),s=pu(),a=s?r:r&&r.parent,l=t.data[n]=D4(t,a,e,n,i,o);return t.firstChild===null&&(t.firstChild=l),r!==null&&(s?r.child==null&&l.parent!==null&&(r.child=l):r.next===null&&(r.next=l,l.prev=r)),l}function Fg(t,n,e,i){if(e===0)return-1;let o=n.length;for(let r=0;r<e;r++)n.push(i),t.blueprint.push(i),t.data.push(null);return o}function Ng(t,n,e,i,o){let r=Pn(),s=i&2;try{Ti(-1),s&&n.length>mt&&Tg(t,n,mt,!1),pn(s?2:0,o),e(i,o)}finally{Ti(r),pn(s?3:1,o)}}function Ou(t,n,e){if(cu(n)){let i=Ce(null);try{let o=n.directiveStart,r=n.directiveEnd;for(let s=o;s<r;s++){let a=t.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{Ce(i)}}}function Iu(t,n,e){F0()&&(S4(t,n,e,$t(e,n)),(e.flags&64)===64&&Bg(t,n,e))}function Su(t,n,e=$t){let i=n.localNames;if(i!==null){let o=n.index+1;for(let r=0;r<i.length;r+=2){let s=i[r+1],a=s===-1?e(n,t):t[s];t[o++]=a}}}function jg(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=Pu(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function Pu(t,n,e,i,o,r,s,a,l,c,u){let f=mt+i,x=f+o,b=C4(f,x),E=typeof c=="function"?c():c;return b[ue]={type:t,blueprint:b,template:e,queries:null,viewQuery:a,declTNode:n,data:b.slice().fill(null,f),bindingStartIndex:f,expandoStartIndex:x,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:typeof r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:E,incompleteFirstPass:!1,ssrId:u}}function C4(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:Ft);return e}function w4(t,n,e,i){let r=i.get(O_,gg)||e===gn.ShadowDom,s=t.selectRootElement(n,r);return x4(s),s}function x4(t){y4(t)}var y4=()=>null;function M4(t,n,e,i){let o=Zg(n);o.push(e),t.firstCreatePass&&$g(t).push(i,o.length-1)}function D4(t,n,e,i,o,r){let s=n?n.injectorIndex:-1,a=0;return N0()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs: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}}function L1(t,n,e,i,o){for(let r in n){if(!n.hasOwnProperty(r))continue;let s=n[r];if(s===void 0)continue;i??={};let a,l=Yn.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=r;if(o!==null){if(!o.hasOwnProperty(r))continue;c=o[r]}t===0?V1(i,e,c,a,l):V1(i,e,c,a)}return i}function V1(t,n,e,i,o){let r;t.hasOwnProperty(e)?(r=t[e]).push(n,i):r=t[e]=[n,i],o!==void 0&&r.push(o)}function k4(t,n,e){let i=n.directiveStart,o=n.directiveEnd,r=t.data,s=n.attrs,a=[],l=null,c=null;for(let u=i;u<o;u++){let f=r[u],x=e?e.get(f):null,b=x?x.inputs:null,E=x?x.outputs:null;l=L1(0,f.inputs,u,l,b),c=L1(1,f.outputs,u,c,E);let S=l!==null&&s!==null&&!su(n)?H4(l,u,s):null;a.push(S)}l!==null&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}function E4(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function sl(t,n,e,i,o,r,s,a){let l=$t(n,e),c=n.inputs,u;!a&&c!=null&&(u=c[i])?(Lu(t,e,u,i,o),Wa(n)&&A4(e,n.index)):n.type&3?(i=E4(i),o=s!=null?s(o,n.value||"",i):o,r.setProperty(l,i,o)):n.type&12}function A4(t,n){let e=ei(n,t);e[le]&16||(e[le]|=64)}function Tu(t,n,e,i){if(F0()){let o=i===null?null:{"":-1},r=T4(t,e),s,a;r===null?s=a=null:[s,a]=r,s!==null&&Rg(t,n,e,s,o,a),o&&L4(e,i,o)}e.mergedAttrs=Ar(e.mergedAttrs,e.attrs)}function Rg(t,n,e,i,o,r){for(let c=0;c<i.length;c++)pd(Ma(e,n),t,i[c].type);F4(e,t.data.length,i.length);for(let c=0;c<i.length;c++){let u=i[c];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,l=Fg(t,n,i.length,null);for(let c=0;c<i.length;c++){let u=i[c];e.mergedAttrs=Ar(e.mergedAttrs,u.hostAttrs),N4(t,e,n,l,u),V4(l,u,o),u.contentQueries!==null&&(e.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(e.flags|=64);let f=u.type.prototype;!s&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),s=!0),!a&&(f.ngOnChanges||f.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),a=!0),l++}k4(t,e,r)}function O4(t,n,e,i,o){let r=o.hostBindings;if(r){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;I4(s)!=a&&s.push(a),s.push(e,i,r)}}function I4(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function S4(t,n,e,i){let o=e.directiveStart,r=e.directiveEnd;Wa(e)&&j4(n,e,t.data[o+e.componentOffset]),t.firstCreatePass||Ma(e,n),Kn(i,n);let s=e.initialInputs;for(let a=o;a<r;a++){let l=t.data[a],c=Vi(n,t,a,e);if(Kn(c,n),s!==null&&z4(n,a-o,c,l,e,s),Xn(l)){let u=ei(e.index,n);u[pt]=Vi(n,t,a,e)}}}function Bg(t,n,e){let i=e.directiveStart,o=e.directiveEnd,r=e.index,s=Z3();try{Ti(r);for(let a=i;a<o;a++){let l=t.data[a],c=n[a];cd(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&P4(l,c)}}finally{Ti(-1),cd(s)}}function P4(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function T4(t,n){let e=t.directiveRegistry,i=null,o=null;if(e)for(let r=0;r<e.length;r++){let s=e[r];if(u0(n,s.selectors,!1))if(i||(i=[]),Xn(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),i.unshift(...a,s);let l=a.length;Md(t,n,l)}else i.unshift(s),Md(t,n,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,i,o),i.push(s)}return i===null?null:[i,o]}function Md(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function L4(t,n,e){if(n){let i=t.localNames=[];for(let o=0;o<n.length;o+=2){let r=e[n[o+1]];if(r==null)throw new ge(-301,!1);i.push(n[o],r)}}}function V4(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Xn(n)&&(e[""]=t)}}function F4(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function N4(t,n,e,i,o){t.data[i]=o;let r=o.factory||(o.factory=Ai(o.type,!0)),s=new Li(r,Xn(o),_);t.blueprint[i]=s,e[i]=s,O4(t,n,i,Fg(t,e,o.hostVars,Ft),o)}function j4(t,n,e){let i=$t(n,t),o=jg(e),r=t[hn].rendererFactory,s=16;e.signals?s=4096:e.onPush&&(s=64);let a=al(t,rl(t,o,null,s,i,n,null,r.createRenderer(i,e),null,null,null));t[n.index]=a}function R4(t,n,e,i,o,r){let s=$t(t,n);B4(n[Qe],s,r,t.value,e,i,o)}function B4(t,n,e,i,o,r,s){if(r==null)t.removeAttribute(n,o,e);else{let a=s==null?Ei(r):s(r,i||"",o);t.setAttribute(n,o,a,e)}}function z4(t,n,e,i,o,r){let s=r[n];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],u=s[a++],f=s[a++];Vg(i,e,l,c,u,f)}}function H4(t,n,e){let i=null,o=0;for(;o<e.length;){let r=e[o];if(r===0){o+=4;continue}else if(r===5){o+=2;continue}if(typeof r=="number")break;if(t.hasOwnProperty(r)){i===null&&(i=[]);let s=t[r];for(let a=0;a<s.length;a+=3)if(s[a]===n){i.push(r,s[a+1],s[a+2],e[o+1]);break}}o+=2}return i}function zg(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function Hg(t,n){let e=t.contentQueries;if(e!==null){let i=Ce(null);try{for(let o=0;o<e.length;o+=2){let r=e[o],s=e[o+1];if(s!==-1){let a=t.data[s];hu(r),a.contentQueries(2,n[s],s)}}}finally{Ce(i)}}}function al(t,n){return t[Ir]?t[f1][rn]=n:t[Ir]=n,t[f1]=n,n}function Dd(t,n,e){hu(0);let i=Ce(null);try{n(t,e)}finally{Ce(i)}}function Zg(t){return t[va]??=[]}function $g(t){return t.cleanup??=[]}function Ug(t,n){let e=t[bo],i=e?e.get(vn,null):null;i&&i.handleError(n)}function Lu(t,n,e,i,o){for(let r=0;r<e.length;){let s=e[r++],a=e[r++],l=e[r++],c=n[s],u=t.data[s];Vg(u,c,i,a,l,o)}}function Wg(t,n,e){let i=I0(n,t);t4(t[Qe],i,e)}function Z4(t,n){let e=ei(n,t),i=e[ue];$4(i,e);let o=e[In];o!==null&&e[fo]===null&&(e[fo]=xu(o,e[bo])),Vu(i,e,e[pt])}function $4(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function Vu(t,n,e){fu(n);try{let i=t.viewQuery;i!==null&&Dd(1,i,e);let o=t.template;o!==null&&Ng(t,n,o,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[On]?.finishViewCreation(t),t.staticContentQueries&&Hg(t,n),t.staticViewQueries&&Dd(2,t.viewQuery,e);let r=t.components;r!==null&&U4(n,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[le]&=-5,bu()}}function U4(t,n){for(let e=0;e<n.length;e++)Z4(t,n[e])}function Ur(t,n,e,i){let o=Ce(null);try{let r=n.tView,a=t[le]&4096?4096:16,l=rl(t,r,e,a,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[Ii]=c;let u=t[On];return u!==null&&(l[On]=u.createEmbeddedView(r)),Vu(r,l,e),l}finally{Ce(o)}}function Gg(t,n){let e=bt+n;if(e<t.length)return t[e]}function _o(t,n){return!n||n.firstChild===null||ag(t)}function Wr(t,n,e,i=!0){let o=n[ue];if(s4(o,n,t,e),i){let s=yd(e,t),a=n[Qe],l=Eg(a,t[Si]);l!==null&&o4(o,t[At],a,n,l,s)}let r=n[fo];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function qg(t,n){let e=Tr(t,n);return e!==void 0&&nl(e[ue],e),e}function Oa(t,n,e,i,o=!1){for(;e!==null;){if(e.type===128){e=o?e.projectionNext:e.next;continue}let r=n[e.index];r!==null&&i.push(fn(r)),Sn(r)&&W4(r,i);let s=e.type;if(s&8)Oa(t,n,e.child,i);else if(s&32){let a=ku(e,n),l;for(;l=a();)i.push(l)}else if(s&16){let a=Og(n,e);if(Array.isArray(a))i.push(...a);else{let l=Pi(n[kt]);Oa(l[ue],l,a,i,!0)}}e=o?e.projectionNext:e.next}return i}function W4(t,n){for(let e=bt;e<t.length;e++){let i=t[e],o=i[ue].firstChild;o!==null&&Oa(i[ue],i,o,n)}t[Si]!==t[In]&&n.push(t[Si])}var Yg=[];function G4(t){return t[Ht]??q4(t)}function q4(t){let n=Yg.pop()??Object.create(X4);return n.lView=t,n}function Y4(t){t.lView[Ht]!==t&&(t.lView=null,Yg.push(t))}var X4=Ye(ae({},pr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Ya(t.lView)},consumerOnSignalRead(){this.lView[Ht]=this}});function Q4(t){let n=t[Ht]??Object.create(K4);return n.lView=t,n}var K4=Ye(ae({},pr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let n=Pi(t.lView);for(;n&&!Xg(n[ue]);)n=Pi(n);n&&T0(n)},consumerOnSignalRead(){this.lView[Ht]=this}});function Xg(t){return t.type!==2}var J4=100;function Qg(t,n=!0,e=0){let i=t[hn],o=i.rendererFactory,r=!1;r||o.begin?.();try{e8(t,e)}catch(s){throw n&&Ug(t,s),s}finally{r||(o.end?.(),i.inlineEffectRunner?.flush())}}function e8(t,n){let e=R0();try{v1(!0),kd(t,n);let i=0;for(;qa(t);){if(i===J4)throw new ge(103,!1);i++,kd(t,1)}}finally{v1(e)}}function t8(t,n,e,i){let o=n[le];if((o&256)===256)return;let r=!1,s=!1;!r&&n[hn].inlineEffectRunner?.flush(),fu(n);let a=!0,l=null,c=null;r||(Xg(t)?(c=G4(n),l=xs(c)):gm()===null?(a=!1,c=Q4(n),l=xs(c)):n[Ht]&&(xc(n[Ht]),n[Ht]=null));try{P0(n),B3(t.bindingStartIndex),e!==null&&Ng(t,n,e,2,i);let u=(o&3)===3;if(!r)if(u){let b=t.preOrderCheckHooks;b!==null&&ca(n,b,null)}else{let b=t.preOrderHooks;b!==null&&da(n,b,0,null),Hc(n,0)}if(s||n8(n),Kg(n,0),t.contentQueries!==null&&Hg(t,n),!r)if(u){let b=t.contentCheckHooks;b!==null&&ca(n,b)}else{let b=t.contentHooks;b!==null&&da(n,b,1),Hc(n,1)}v4(t,n);let f=t.components;f!==null&&eh(n,f,0);let x=t.viewQuery;if(x!==null&&Dd(2,x,i),!r)if(u){let b=t.viewCheckHooks;b!==null&&ca(n,b)}else{let b=t.viewHooks;b!==null&&da(n,b,2),Hc(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[zc]){for(let b of n[zc])b();n[zc]=null}r||(n[le]&=-73)}catch(u){throw r||Ya(n),u}finally{c!==null&&(Cc(c,l),a&&Y4(c)),bu()}}function Kg(t,n){for(let e=cg(t);e!==null;e=dg(e))for(let i=bt;i<e.length;i++){let o=e[i];Jg(o,n)}}function n8(t){for(let n=cg(t);n!==null;n=dg(n)){if(!(n[le]&Ca.HasTransplantedViews))continue;let e=n[vo];for(let i=0;i<e.length;i++){let o=e[i];T0(o)}}}function i8(t,n,e){let i=ei(n,t);Jg(i,e)}function Jg(t,n){uu(t)&&kd(t,n)}function kd(t,n){let i=t[ue],o=t[le],r=t[Ht],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(r?.dirty&&wc(r)),s||=!1,r&&(r.dirty=!1),t[le]&=-9217,s)t8(i,t,i.template,t[pt]);else if(o&8192){Kg(t,1);let a=i.components;a!==null&&eh(t,a,1)}}function eh(t,n,e){for(let i=0;i<n.length;i++)i8(t,n[i],e)}function Fu(t,n){let e=R0()?64:1088;for(t[hn].changeDetectionScheduler?.notify(n);t;){t[le]|=e;let i=Pi(t);if(ad(t)&&!i)return t;t=i}return null}var Fi=class{get rootNodes(){let n=this._lView,e=n[ue];return Oa(e,n,e.firstChild,[])}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[pt]}set context(n){this._lView[pt]=n}get destroyed(){return(this._lView[le]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[vt];if(Sn(n)){let e=n[_a],i=e?e.indexOf(this):-1;i>-1&&(Tr(n,i),fa(e,i))}this._attachedToViewContainer=!1}nl(this._lView[ue],this._lView)}onDestroy(n){L0(this._lView,n)}markForCheck(){Fu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[le]&=-129}reattach(){ld(this._lView),this._lView[le]|=128}detectChanges(){this._lView[le]|=1024,Qg(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ge(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=ad(this._lView),e=this._lView[Ii];e!==null&&!n&&Eu(e,this._lView),yg(this._lView[ue],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new ge(902,!1);this._appRef=n;let e=ad(this._lView),i=this._lView[Ii];i!==null&&!e&&Mg(i,this._lView),ld(this._lView)}},De=(()=>{class t{static{this.__NG_ELEMENT_ID__=s8}}return t})(),o8=De,r8=class extends o8{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let o=Ur(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new Fi(o)}};function s8(){return ll(gt(),ie())}function ll(t,n){return t.type&4?new r8(n,t,Io(t,n)):null}var fP=new RegExp(`^(\\d+)*(${E_}|${k_})*(.*)`);var a8=()=>null;function Co(t,n){return a8(t,n)}var wo=class{},Nu=new G("",{providedIn:"root",factory:()=>!1});var th=new G(""),nh=new G(""),Ed=class{},Ia=class{};function l8(t){let n=Error(`No component factory found for ${Lt(t)}.`);return n[c8]=t,n}var c8="ngComponent";var Ad=class{resolveComponentFactory(n){throw l8(n)}},Jn=class{static{this.NULL=new Ad}},xo=class{},sn=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>d8()}}return t})();function d8(){let t=ie(),n=gt(),e=ei(n.index,t);return(qn(e)?e:t)[Qe]}var u8=(()=>{class t{static{this.\u0275prov=$({token:t,providedIn:"root",factory:()=>null})}}return t})();function Sa(t,n,e){let i=e?t.styles:null,o=e?t.classes:null,r=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")r=a;else if(r==1)o=Jc(o,a);else if(r==2){let l=a,c=n[++s];i=Jc(i,l+": "+c+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=o:t.classesWithoutHost=o}var Od=class extends Jn{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=Oi(n);return new Lr(e,this.ngModule)}};function F1(t,n){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let o=t[i];if(o===void 0)continue;let r=Array.isArray(o),s=r?o[0]:o,a=r?o[1]:Yn.None;n?e.push({propName:s,templateName:i,isSignal:(a&Yn.SignalBased)!==0}):e.push({propName:s,templateName:i})}return e}function p8(t){let n=t.toLowerCase();return n==="svg"?O0:n==="math"?E3:null}var Lr=class extends Ia{get inputs(){let n=this.componentDef,e=n.inputTransforms,i=F1(n.inputs,!0);if(e!==null)for(let o of i)e.hasOwnProperty(o.propName)&&(o.transform=e[o.propName]);return i}get outputs(){return F1(this.componentDef.outputs,!1)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=a3(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,o){let r=Ce(null);try{o=o||this.ngModule;let s=o instanceof Zt?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new dd(n,s):n,l=a.get(xo,null);if(l===null)throw new ge(407,!1);let c=a.get(u8,null),u=a.get(wo,null),f={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,changeDetectionScheduler:u},x=l.createRenderer(null,this.componentDef),b=this.componentDef.selectors[0][0]||"div",E=i?w4(x,i,this.componentDef.encapsulation,a):xg(x,b,p8(b)),S=512;this.componentDef.signals?S|=4096:this.componentDef.onPush||(S|=16);let P=null;E!==null&&(P=xu(E,a,!0));let T=Pu(0,null,null,1,0,null,null,null,null,null,null),U=rl(null,T,null,S,null,null,f,x,a,null,P);fu(U);let de,Le,Te=null;try{let H=this.componentDef,xe,je=null;H.findHostDirectiveDefs?(xe=[],je=new Map,H.findHostDirectiveDefs(H,xe,je),xe.push(H)):xe=[H];let Dn=m8(U,E);Te=g8(Dn,E,H,xe,U,f,x),Le=du(T,mt),E&&b8(x,H,E,i),e!==void 0&&v8(Le,this.ngContentSelectors,e),de=f8(Te,H,xe,je,U,[_8]),Vu(T,U,null)}catch(H){throw Te!==null&&vd(Te),vd(U),H}finally{bu()}return new Id(this.componentType,de,Io(Le,U),U,Le)}finally{Ce(r)}}},Id=class extends Ed{constructor(n,e,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new Fi(o,void 0,!1),this.componentType=n}setInput(n,e){let i=this._tNode.inputs,o;if(i!==null&&(o=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView;Lu(r[ue],r,o,n,e),this.previousInputValues.set(n,e);let s=ei(this._tNode.index,r);Fu(s,1)}}get injector(){return new ki(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function m8(t,n){let e=t[ue],i=mt;return t[i]=n,Po(e,i,2,"#host",null)}function g8(t,n,e,i,o,r,s){let a=o[ue];h8(i,t,n,s);let l=null;n!==null&&(l=xu(n,o[bo]));let c=r.rendererFactory.createRenderer(n,e),u=16;e.signals?u=4096:e.onPush&&(u=64);let f=rl(o,jg(e),null,u,o[t.index],t,r,c,null,null,l);return a.firstCreatePass&&Md(a,t,i.length-1),al(o,f),o[t.index]=f}function h8(t,n,e,i){for(let o of t)n.mergedAttrs=Ar(n.mergedAttrs,o.hostAttrs);n.mergedAttrs!==null&&(Sa(n,n.mergedAttrs,!0),e!==null&&Pg(i,e,n))}function f8(t,n,e,i,o,r){let s=gt(),a=o[ue],l=$t(s,o);Rg(a,o,s,e,null,i);for(let u=0;u<e.length;u++){let f=s.directiveStart+u,x=Vi(o,a,f,s);Kn(x,o)}Bg(a,o,s),l&&Kn(l,o);let c=Vi(o,a,s.directiveStart+s.componentOffset,s);if(t[pt]=o[pt]=c,r!==null)for(let u of r)u(c,n);return Ou(a,s,o),c}function b8(t,n,e,i){if(i)id(t,e,["ng-version","18.2.11"]);else{let{attrs:o,classes:r}=l3(n.selectors[0]);o&&id(t,e,o),r&&r.length>0&&Sg(t,e,r.join(" "))}}function v8(t,n,e){let i=t.projection=[];for(let o=0;o<n.length;o++){let r=e[o];i.push(r!=null?Array.from(r):null)}}function _8(){let t=gt();Ka(ie()[ue],t)}var wn=(()=>{class t{static{this.__NG_ELEMENT_ID__=C8}}return t})();function C8(){let t=gt();return oh(t,ie())}var w8=wn,ih=class extends w8{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Io(this._hostTNode,this._hostLView)}get injector(){return new ki(this._hostTNode,this._hostLView)}get parentInjector(){let n=vu(this._hostTNode,this._hostLView);if(Y0(n)){let e=xa(n,this._hostLView),i=wa(n),o=e[ue].data[i+8];return new ki(o,e)}else return new ki(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=N1(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-bt}createEmbeddedView(n,e,i){let o,r;typeof i=="number"?o=i:i!=null&&(o=i.index,r=i.injector);let s=Co(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},r,s);return this.insertImpl(a,o,_o(this._hostTNode,s)),a}createComponent(n,e,i,o,r){let s=n&&!y3(n),a;if(s)a=e;else{let E=e||{};a=E.index,i=E.injector,o=E.projectableNodes,r=E.environmentInjector||E.ngModuleRef}let l=s?n:new Lr(Oi(n)),c=i||this.parentInjector;if(!r&&l.ngModule==null){let S=(s?c:this.parentInjector).get(Zt,null);S&&(r=S)}let u=Oi(l.componentType??{}),f=Co(this._lContainer,u?.id??null),x=f?.firstChild??null,b=l.create(c,o,x,r);return this.insertImpl(b.hostView,a,_o(this._hostTNode,f)),b}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let o=n._lView;if(O3(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=o[vt],c=new ih(l,l[At],l[vt]);c.detach(c.indexOf(n))}}let r=this._adjustIndex(e),s=this._lContainer;return Wr(s,o,r,i),n.attachToViewContainerRef(),r0(Gc(s),r,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=N1(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=Tr(this._lContainer,e);i&&(fa(Gc(this._lContainer),e),nl(i[ue],i))}detach(n){let e=this._adjustIndex(n,-1),i=Tr(this._lContainer,e);return i&&fa(Gc(this._lContainer),e)!=null?new Fi(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function N1(t){return t[_a]}function Gc(t){return t[_a]||(t[_a]=[])}function oh(t,n){let e,i=n[t.index];return Sn(i)?e=i:(e=zg(i,n,null,t),n[t.index]=e,al(n,e)),y8(e,n,t,i),new ih(e,t,n)}function x8(t,n){let e=t[Qe],i=e.createComment(""),o=$t(n,t),r=Eg(e,o);return Aa(e,r,i,d4(e,o),!1),i}var y8=k8,M8=()=>!1;function D8(t,n,e){return M8(t,n,e)}function k8(t,n,e,i){if(t[Si])return;let o;e.type&8?o=fn(i):o=x8(n,e),t[Si]=o}var Sd=class t{constructor(n){this.queryList=n,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Pd=class t{constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,o=[];for(let r=0;r<i;r++){let s=e.getByIndex(r),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}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++)ju(n,e).matches!==null&&this.queries[e].setDirty()}},Pa=class{constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=L8(n):this.predicate=n}},Td=class t{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++){let o=e!==null?e.length:0,r=this.getByIndex(i).embeddedTView(n,o);r&&(r.indexInDeclarationView=i,e!==null?e.push(r):e=[r])}return e!==null?new t(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)}},Ld=class t{constructor(n,e=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,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 t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){let r=i[o];this.matchTNodeWithReadOption(n,e,E8(e,r)),this.matchTNodeWithReadOption(n,e,ua(e,n,r,!1,!1))}else i===De?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,ua(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let o=this.metadata.read;if(o!==null)if(o===q||o===wn||o===De&&e.type&4)this.addMatch(e.index,-2);else{let r=ua(e,n,o,!1,!1);r!==null&&this.addMatch(e.index,r)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function E8(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function A8(t,n){return t.type&11?Io(t,n):t.type&4?ll(t,n):null}function O8(t,n,e,i){return e===-1?A8(n,t):e===-2?I8(t,n,i):Vi(t,t[ue],e,n)}function I8(t,n,e){if(e===q)return Io(n,t);if(e===De)return ll(n,t);if(e===wn)return oh(n,t)}function rh(t,n,e,i){let o=n[On].queries[i];if(o.matches===null){let r=t.data,s=e.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let u=r[c];a.push(O8(n,u,s[l+1],e.metadata.read))}}o.matches=a}return o.matches}function Vd(t,n,e,i){let o=t.queries.getByIndex(e),r=o.matches;if(r!==null){let s=rh(t,n,o,e);for(let a=0;a<r.length;a+=2){let l=r[a];if(l>0)i.push(s[a/2]);else{let c=r[a+1],u=n[-l];for(let f=bt;f<u.length;f++){let x=u[f];x[Ii]===x[vt]&&Vd(x[ue],x,c,i)}if(u[vo]!==null){let f=u[vo];for(let x=0;x<f.length;x++){let b=f[x];Vd(b[ue],b,c,i)}}}}}return i}function S8(t,n){return t[On].queries[n].queryList}function sh(t,n,e){let i=new Pr((e&4)===4);return M4(t,n,i,i.destroy),(n[On]??=new Pd).queries.push(new Sd(i))-1}function P8(t,n,e){let i=Ke();return i.firstCreatePass&&(ah(i,new Pa(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),sh(i,ie(),n)}function T8(t,n,e,i){let o=Ke();if(o.firstCreatePass){let r=gt();ah(o,new Pa(n,e,i),r.index),V8(o,t),(e&2)===2&&(o.staticContentQueries=!0)}return sh(o,ie(),e)}function L8(t){return t.split(",").map(n=>n.trim())}function ah(t,n,e){t.queries===null&&(t.queries=new Td),t.queries.track(new Ld(n,e))}function V8(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function ju(t,n){return t.queries.getByIndex(n)}function F8(t,n){let e=t[ue],i=ju(e,n);return i.crossesNgTemplate?Vd(e,t,n,[]):rh(e,t,i,n)}var j1=new Set;function zi(t){j1.has(t)||(j1.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function lh(t){return typeof t=="function"&&t[kn]!==void 0}function J(t,n){zi("NgSignals");let e=Dm(t),i=e[kn];return n?.equal&&(i.equal=n.equal),e.set=o=>yc(i,o),e.update=o=>km(i,o),e.asReadonly=N8.bind(e),e}function N8(){let t=this[kn];if(t.readonlyFn===void 0){let n=()=>this();n[kn]=t,t.readonlyFn=n}return t.readonlyFn}function ch(t){return lh(t)&&typeof t.set=="function"}function j8(t){return Object.getPrototypeOf(t.prototype).constructor}function Y(t){let n=j8(t.type),e=!0,i=[t];for(;n;){let o;if(Xn(t))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new ge(903,!1);o=n.\u0275dir}if(o){if(e){i.push(o);let s=t;s.inputs=ra(t.inputs),s.inputTransforms=ra(t.inputTransforms),s.declaredInputs=ra(t.declaredInputs),s.outputs=ra(t.outputs);let a=o.hostBindings;a&&Z8(t,a);let l=o.viewQuery,c=o.contentQueries;if(l&&z8(t,l),c&&H8(t,c),R8(t,o),Ev(t.outputs,o.outputs),Xn(o)&&o.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let r=o.features;if(r)for(let s=0;s<r.length;s++){let a=r[s];a&&a.ngInherit&&a(t),a===Y&&(e=!1)}}n=Object.getPrototypeOf(n)}B8(i)}function R8(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];if(i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e],n.inputTransforms!==null)){let o=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=n.inputTransforms[o]}}}function B8(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=Ar(o.hostAttrs,e=Ar(e,o.hostAttrs))}}function ra(t){return t===go?{}:t===Dt?[]:t}function z8(t,n){let e=t.viewQuery;e?t.viewQuery=(i,o)=>{n(i,o),e(i,o)}:t.viewQuery=n}function H8(t,n){let e=t.contentQueries;e?t.contentQueries=(i,o,r)=>{n(i,o,r),e(i,o,r)}:t.contentQueries=n}function Z8(t,n){let e=t.hostBindings;e?t.hostBindings=(i,o)=>{n(i,o),e(i,o)}:t.hostBindings=n}function be(t){let n=t.inputConfig,e={};for(let i in n)if(n.hasOwnProperty(i)){let o=n[i];Array.isArray(o)&&o[3]&&(e[i]=o[3])}t.inputTransforms=e}var yo=class{};var Ta=class extends yo{constructor(n){super(),this.componentFactoryResolver=new Od(this),this.instance=null;let e=new Or([...n.providers,{provide:yo,useValue:this},{provide:Jn,useValue:this.componentFactoryResolver}],n.parent||$a(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function $8(t,n,e=null){return new Ta({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}function dh(t){return Ru(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function U8(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function Ru(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Gr(t,n,e){return t[n]=e}function W8(t,n){return t[n]}function Et(t,n,e){let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function Vr(t,n,e,i){let o=Et(t,n,e);return Et(t,n+1,i)||o}function G8(t,n,e,i,o){let r=Vr(t,n,e,i);return Et(t,n+2,o)||r}function uh(t,n,e,i,o,r){let s=Vr(t,n,e,i);return Vr(t,n+2,o,r)||s}function q8(t){return(t.flags&32)===32}function Y8(t,n,e,i,o,r,s,a,l){let c=n.consts,u=Po(n,t,4,s||null,a||null);Tu(n,e,u,Qn(c,l)),Ka(n,u);let f=u.tView=Pu(2,u,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return n.queries!==null&&(n.queries.template(n,u),f.queries=n.queries.embeddedTView(u)),u}function La(t,n,e,i,o,r,s,a,l,c){let u=e+mt,f=n.firstCreatePass?Y8(u,n,t,i,o,r,s,a,l):n.data[u];Ri(f,!1);let x=X8(n,t,f,e);Xa()&&il(n,t,x,f),Kn(x,t);let b=zg(x,t,x,f);return t[u]=b,al(t,b),D8(b,f,t),Ga(f)&&Iu(n,t,f),l!=null&&Su(t,f,c),f}function M(t,n,e,i,o,r,s,a){let l=ie(),c=Ke(),u=Qn(c.consts,r);return La(l,c,t,n,e,i,o,u,s,a),M}var X8=Q8;function Q8(t,n,e,i){return Qa(!0),n[Qe].createComment("")}var yr=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(yr||{}),K8=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t})}}return t})(),R1=class t{constructor(){this.ngZone=W(Me),this.scheduler=W(wo),this.errorHandler=W(vn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[yr.EarlyRead,yr.Write,yr.MixedReadWrite,yr.Read]}execute(){this.executing=!0;for(let n of t.PHASES)for(let e of this.sequences)if(!(e.erroredOrDestroyed||!e.hooks[n]))try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>e.hooks[n](e.pipelinedValue))}catch(i){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static{this.\u0275prov=$({token:t,providedIn:"root",factory:()=>new t})}};function ee(t,n,e,i){let o=ie(),r=Bi();if(Et(o,r,n)){let s=Ke(),a=Br();R4(a,o,t,n,e,i)}return ee}function ph(t,n,e,i){return Et(t,Bi(),e)?n+Ei(e)+i:Ft}function J8(t,n,e,i,o,r){let s=R3(),a=Vr(t,s,e,o);return gu(2),a?n+Ei(e)+i+Ei(o)+r:Ft}function sa(t,n){return t<<17|n<<2}function Ni(t){return t>>17&32767}function e5(t){return(t&2)==2}function t5(t,n){return t&131071|n<<17}function Fd(t){return t|2}function Mo(t){return(t&131068)>>2}function qc(t,n){return t&-131069|n<<2}function n5(t){return(t&1)===1}function Nd(t){return t|1}function i5(t,n,e,i,o,r){let s=r?n.classBindings:n.styleBindings,a=Ni(s),l=Mo(s);t[i]=e;let c=!1,u;if(Array.isArray(e)){let f=e;u=f[1],(u===null||jr(f,u)>0)&&(c=!0)}else u=e;if(o)if(l!==0){let x=Ni(t[a+1]);t[i+1]=sa(x,a),x!==0&&(t[x+1]=qc(t[x+1],i)),t[a+1]=t5(t[a+1],i)}else t[i+1]=sa(a,0),a!==0&&(t[a+1]=qc(t[a+1],i)),a=i;else t[i+1]=sa(l,0),a===0?a=i:t[l+1]=qc(t[l+1],i),l=i;c&&(t[i+1]=Fd(t[i+1])),B1(t,u,i,!0),B1(t,u,i,!1),o5(n,u,t,i,r),s=sa(a,l),r?n.classBindings=s:n.styleBindings=s}function o5(t,n,e,i,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof n=="string"&&jr(r,n)>=0&&(e[i+1]=Nd(e[i+1]))}function B1(t,n,e,i){let o=t[e+1],r=n===null,s=i?Ni(o):Mo(o),a=!1;for(;s!==0&&(a===!1||r);){let l=t[s],c=t[s+1];r5(l,n)&&(a=!0,t[s+1]=i?Nd(c):Fd(c)),s=i?Ni(c):Mo(c)}a&&(t[e+1]=i?Fd(o):Nd(o))}function r5(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?jr(t,n)>=0:!1}var on={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function s5(t){return t.substring(on.key,on.keyEnd)}function a5(t){return l5(t),mh(t,gh(t,0,on.textEnd))}function mh(t,n){let e=on.textEnd;return e===n?-1:(n=on.keyEnd=c5(t,on.key=n,e),gh(t,n,e))}function l5(t){on.key=0,on.keyEnd=0,on.value=0,on.valueEnd=0,on.textEnd=t.length}function gh(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function c5(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function h(t,n,e){let i=ie(),o=Bi();if(Et(i,o,n)){let r=Ke(),s=Br();sl(r,s,i,t,n,i[Qe],e,!1)}return h}function jd(t,n,e,i,o){let r=n.inputs,s=o?"class":"style";Lu(t,e,r[s],s,i)}function qe(t,n,e){return hh(t,n,e,!1),qe}function X(t,n){return hh(t,n,null,!0),X}function qr(t){u5(b5,d5,t,!0)}function d5(t,n){for(let e=a5(n);e>=0;e=mh(n,e))ru(t,s5(n),!0)}function hh(t,n,e,i){let o=ie(),r=Ke(),s=gu(2);if(r.firstUpdatePass&&bh(r,t,s,i),n!==Ft&&Et(o,s,n)){let a=r.data[Pn()];vh(r,a,o,o[Qe],t,o[s+1]=_5(n,e),i,s)}}function u5(t,n,e,i){let o=Ke(),r=gu(2);o.firstUpdatePass&&bh(o,null,r,i);let s=ie();if(e!==Ft&&Et(s,r,e)){let a=o.data[Pn()];if(_h(a,i)&&!fh(o,r)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=Jc(l,e||"")),jd(o,a,s,e,i)}else v5(o,a,s,s[Qe],s[r+1],s[r+1]=f5(t,n,e),i,r)}}function fh(t,n){return n>=t.expandoStartIndex}function bh(t,n,e,i){let o=t.data;if(o[e+1]===null){let r=o[Pn()],s=fh(t,e);_h(r,i)&&n===null&&!s&&(n=!1),n=p5(o,r,n,i),i5(o,r,n,e,s,i)}}function p5(t,n,e,i){let o=$3(t),r=i?n.residualClasses:n.residualStyles;if(o===null)(i?n.classBindings:n.styleBindings)===0&&(e=Yc(null,t,n,e,i),e=Fr(e,n.attrs,i),r=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==o)if(e=Yc(o,t,n,e,i),r===null){let l=m5(t,n,i);l!==void 0&&Array.isArray(l)&&(l=Yc(null,t,n,l[1],i),l=Fr(l,n.attrs,i),g5(t,n,i,l))}else r=h5(t,n,i)}return r!==void 0&&(i?n.residualClasses=r:n.residualStyles=r),e}function m5(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Mo(i)!==0)return t[Ni(i)]}function g5(t,n,e,i){let o=e?n.classBindings:n.styleBindings;t[Ni(o)]=i}function h5(t,n,e){let i,o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r<o;r++){let s=t[r].hostAttrs;i=Fr(i,s,e)}return Fr(i,n.attrs,e)}function Yc(t,n,e,i,o){let r=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(r=n[a],i=Fr(i,r.hostAttrs,o),r!==t);)a++;return t!==null&&(e.directiveStylingLast=a),i}function Fr(t,n,e){let i=e?1:2,o=-1;if(n!==null)for(let r=0;r<n.length;r++){let s=n[r];typeof s=="number"?o=s:o===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),ru(t,s,e?!0:n[++r]))}return t===void 0?null:t}function f5(t,n,e){if(e==null||e==="")return Dt;let i=[],o=So(e);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(i,o[r],!0);else if(typeof o=="object")for(let r in o)o.hasOwnProperty(r)&&t(i,r,o[r]);else typeof o=="string"&&n(i,o);return i}function b5(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&ru(t,i,e)}function v5(t,n,e,i,o,r,s,a){o===Ft&&(o=Dt);let l=0,c=0,u=0<o.length?o[0]:null,f=0<r.length?r[0]:null;for(;u!==null||f!==null;){let x=l<o.length?o[l+1]:void 0,b=c<r.length?r[c+1]:void 0,E=null,S;u===f?(l+=2,c+=2,x!==b&&(E=f,S=b)):f===null||u!==null&&u<f?(l+=2,E=u):(c+=2,E=f,S=b),E!==null&&vh(t,n,e,i,E,S,s,a),u=l<o.length?o[l]:null,f=c<r.length?r[c]:null}}function vh(t,n,e,i,o,r,s,a){if(!(n.type&3))return;let l=t.data,c=l[a+1],u=n5(c)?z1(l,n,e,o,Mo(c),s):void 0;if(!Va(u)){Va(r)||e5(c)&&(r=z1(l,null,e,o,a,s));let f=I0(Pn(),e);f4(i,s,f,o,r)}}function z1(t,n,e,i,o,r){let s=n===null,a;for(;o>0;){let l=t[o],c=Array.isArray(l),u=c?l[1]:l,f=u===null,x=e[o+1];x===Ft&&(x=f?Dt:void 0);let b=f?Rc(x,i):u===i?x:void 0;if(c&&!Va(b)&&(b=Rc(l,i)),Va(b)&&(a=b,s))return a;let E=t[o+1];o=s?Ni(E):Mo(E)}if(n!==null){let l=r?n.residualClasses:n.residualStyles;l!=null&&(a=Rc(l,i))}return a}function Va(t){return t!==void 0}function _5(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Lt(So(t)))),t}function _h(t,n){return(t.flags&(n?8:16))!==0}function Bu(){return ie()[kt][pt]}var Rd=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),o=Math.max(n,e),r=this.detach(o);if(o-i>1){let s=this.detach(i);this.attach(i,r),this.attach(o,s)}else this.attach(i,r)}move(n,e){this.attach(e,this.detach(n))}};function Xc(t,n,e,i,o){return t===e&&Object.is(n,i)?1:Object.is(o(t,n),o(e,i))?-1:0}function C5(t,n,e){let i,o,r=0,s=t.length-1,a=void 0;if(Array.isArray(n)){let l=n.length-1;for(;r<=s&&r<=l;){let c=t.at(r),u=n[r],f=Xc(r,c,r,u,e);if(f!==0){f<0&&t.updateValue(r,u),r++;continue}let x=t.at(s),b=n[l],E=Xc(s,x,l,b,e);if(E!==0){E<0&&t.updateValue(s,b),s--,l--;continue}let S=e(r,c),P=e(s,x),T=e(r,u);if(Object.is(T,P)){let U=e(l,b);Object.is(U,S)?(t.swap(r,s),t.updateValue(s,b),l--,s--):t.move(s,r),t.updateValue(r,u),r++;continue}if(i??=new Fa,o??=Z1(t,r,s,e),Bd(t,i,r,T))t.updateValue(r,u),r++,s++;else if(o.has(T))i.set(S,t.detach(r)),s--;else{let U=t.create(r,n[r]);t.attach(r,U),r++,s++}}for(;r<=l;)H1(t,i,e,r,n[r]),r++}else if(n!=null){let l=n[Symbol.iterator](),c=l.next();for(;!c.done&&r<=s;){let u=t.at(r),f=c.value,x=Xc(r,u,r,f,e);if(x!==0)x<0&&t.updateValue(r,f),r++,c=l.next();else{i??=new Fa,o??=Z1(t,r,s,e);let b=e(r,f);if(Bd(t,i,r,b))t.updateValue(r,f),r++,s++,c=l.next();else if(!o.has(b))t.attach(r,t.create(r,f)),r++,s++,c=l.next();else{let E=e(r,u);i.set(E,t.detach(r)),s--}}}for(;!c.done;)H1(t,i,e,t.length,c.value),c=l.next()}for(;r<=s;)t.destroy(t.detach(s--));i?.forEach(l=>{t.destroy(l)})}function Bd(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function H1(t,n,e,i,o){if(Bd(t,n,i,e(i,o)))t.updateValue(i,o);else{let r=t.create(i,o);t.attach(i,r)}}function Z1(t,n,e,i){let o=new Set;for(let r=n;r<=e;r++)o.add(i(r,t.at(r)));return o}var Fa=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&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);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(i);)i=o.get(i);o.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(i);)i=o.get(i),n(i,e)}}};function L(t,n){zi("NgControlFlow");let e=ie(),i=Bi(),o=e[i]!==Ft?e[i]:-1,r=o!==-1?Na(e,mt+o):void 0,s=0;if(Et(e,i,t)){let a=Ce(null);try{if(r!==void 0&&qg(r,s),t!==-1){let l=mt+t,c=Na(e,l),u=$d(e[ue],l),f=Co(c,u.tView.ssrId),x=Ur(e,u,n,{dehydratedView:f});Wr(c,x,s,_o(u,f))}}finally{Ce(a)}}else if(r!==void 0){let a=Gg(r,s);a!==void 0&&(a[pt]=n)}}var zd=class{constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-bt}};function Ot(t,n){return n}var Hd=class{constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function it(t,n,e,i,o,r,s,a,l,c,u,f,x){zi("NgControlFlow");let b=ie(),E=Ke(),S=l!==void 0,P=ie(),T=a?s.bind(P[kt][pt]):s,U=new Hd(S,T);P[mt+t]=U,La(b,E,t+1,n,e,i,o,Qn(E.consts,r)),S&&La(b,E,t+2,l,c,u,f,Qn(E.consts,x))}var Zd=class extends Rd{constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-bt}at(n){return this.getLView(n)[pt].$implicit}attach(n,e){let i=e[fo];this.needsIndexUpdate||=n!==this.length,Wr(this.lContainer,e,n,_o(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,w5(this.lContainer,n)}create(n,e){let i=Co(this.lContainer,this.templateTNode.tView.ssrId),o=Ur(this.hostLView,this.templateTNode,new zd(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),o}destroy(n){nl(n[ue],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[pt].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[pt].$index=n}getLView(n){return x5(this.lContainer,n)}};function ot(t){let n=Ce(null),e=Pn();try{let i=ie(),o=i[ue],r=i[e],s=e+1,a=Na(i,s);if(r.liveCollection===void 0){let c=$d(o,s);r.liveCollection=new Zd(a,i,c)}else r.liveCollection.reset();let l=r.liveCollection;if(C5(l,t,r.trackByFn),l.updateIndexes(),r.hasEmptyBlock){let c=Bi(),u=l.length===0;if(Et(i,c,u)){let f=e+2,x=Na(i,f);if(u){let b=$d(o,f),E=Co(x,b.tView.ssrId),S=Ur(i,b,void 0,{dehydratedView:E});Wr(x,S,0,_o(b,E))}else qg(x,0)}}}finally{Ce(n)}}function Na(t,n){return t[n]}function w5(t,n){return Tr(t,n)}function x5(t,n){return Gg(t,n)}function $d(t,n){return du(t,n)}function y5(t,n,e,i,o,r){let s=n.consts,a=Qn(s,o),l=Po(n,t,2,i,a);return Tu(n,e,l,Qn(s,r)),l.attrs!==null&&Sa(l,l.attrs,!1),l.mergedAttrs!==null&&Sa(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function p(t,n,e,i){let o=ie(),r=Ke(),s=mt+t,a=o[Qe],l=r.firstCreatePass?y5(s,r,o,n,e,i):r.data[s],c=M5(r,o,l,a,n,t);o[s]=c;let u=Ga(l);return Ri(l,!0),Pg(a,c,l),!q8(l)&&Xa()&&il(r,o,c,l),P3()===0&&Kn(c,o),T3(),u&&(Iu(r,o,l),Ou(r,l,o)),i!==null&&Su(o,l),p}function g(){let t=gt();pu()?mu():(t=t.parent,Ri(t,!1));let n=t;V3(n)&&F3(),L3();let e=Ke();return e.firstCreatePass&&(Ka(e,t),cu(t)&&e.queries.elementEnd(t)),n.classesWithoutHost!=null&&Q3(n)&&jd(e,n,ie(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&K3(n)&&jd(e,n,ie(),n.stylesWithoutHost,!1),g}function O(t,n,e,i){return p(t,n,e,i),g(),O}var M5=(t,n,e,i,o,r)=>(Qa(!0),xg(i,o,G3()));function D5(t,n,e,i,o){let r=n.consts,s=Qn(r,i),a=Po(n,t,8,"ng-container",s);s!==null&&Sa(a,s,!0);let l=Qn(r,o);return Tu(n,e,a,l),n.queries!==null&&n.queries.elementStart(n,a),a}function Wt(t,n,e){let i=ie(),o=Ke(),r=t+mt,s=o.firstCreatePass?D5(r,o,i,n,e):o.data[r];Ri(s,!0);let a=k5(o,i,s,t);return i[r]=a,Xa()&&il(o,i,a,s),Kn(a,i),Ga(s)&&(Iu(o,i,s),Ou(o,s,i)),e!=null&&Su(i,s),Wt}function Gt(){let t=gt(),n=Ke();return pu()?mu():(t=t.parent,Ri(t,!1)),n.firstCreatePass&&(Ka(n,t),cu(t)&&n.queries.elementEnd(t)),Gt}function dt(t,n,e){return Wt(t,n,e),Gt(),dt}var k5=(t,n,e,i)=>(Qa(!0),n4(n[Qe],""));function F(){return ie()}function Yr(t,n,e){let i=ie(),o=Bi();if(Et(i,o,n)){let r=Ke(),s=Br();sl(r,s,i,t,n,i[Qe],e,!0)}return Yr}var ja="en-US";var E5=ja;function A5(t){typeof t=="string"&&(E5=t.toLowerCase().replace(/_/g,"-"))}var O5=(t,n,e)=>{};function v(t,n,e,i){let o=ie(),r=Ke(),s=gt();return Ch(r,o,o[Qe],s,t,n,i),v}function I5(t,n,e,i){let o=t.cleanup;if(o!=null)for(let r=0;r<o.length-1;r+=2){let s=o[r];if(s===e&&o[r+1]===i){let a=n[va],l=o[r+2];return a.length>l?a[l]:null}typeof s=="string"&&(r+=2)}return null}function Ch(t,n,e,i,o,r,s){let a=Ga(i),c=t.firstCreatePass&&$g(t),u=n[pt],f=Zg(n),x=!0;if(i.type&3||s){let S=$t(i,n),P=s?s(S):S,T=f.length,U=s?Le=>s(fn(Le[i.index])):i.index,de=null;if(!s&&a&&(de=I5(t,n,o,i.index)),de!==null){let Le=de.__ngLastListenerFn__||de;Le.__ngNextListenerFn__=r,de.__ngLastListenerFn__=r,x=!1}else{r=U1(i,n,u,r),O5(S,o,r);let Le=e.listen(P,o,r);f.push(r,Le),c&&c.push(o,U,T,T+1)}}else r=U1(i,n,u,r);let b=i.outputs,E;if(x&&b!==null&&(E=b[o])){let S=E.length;if(S)for(let P=0;P<S;P+=2){let T=E[P],U=E[P+1],Te=n[T][U].subscribe(r),H=f.length;f.push(r,Te),c&&c.push(o,i.index,H,-(H+1))}}}function $1(t,n,e,i){let o=Ce(null);try{return pn(6,n,e),e(i)!==!1}catch(r){return Ug(t,r),!1}finally{pn(7,n,e),Ce(o)}}function U1(t,n,e,i){return function o(r){if(r===Function)return i;let s=t.componentOffset>-1?ei(t.index,n):n;Fu(s,5);let a=$1(n,e,i,r),l=o.__ngNextListenerFn__;for(;l;)a=$1(n,e,l,r)&&a,l=l.__ngNextListenerFn__;return a}}function m(t=1){return W3(t)}function S5(t,n){let e=null,i=n3(t);for(let o=0;o<n.length;o++){let r=n[o];if(r==="*"){e=o;continue}if(i===null?u0(t,r,!0):r3(i,r))return o}return e}function He(t){let n=ie()[kt][At];if(!n.projection){let e=t?t.length:1,i=n.projection=Gv(e,null),o=i.slice(),r=n.child;for(;r!==null;){if(r.type!==128){let s=t?S5(r,t):0;s!==null&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r)}r=r.next}}}function Ee(t,n=0,e,i,o,r){let s=ie(),a=Ke(),l=i?t+1:null;l!==null&&La(s,a,l,i,o,r,null,e);let c=Po(a,mt+t,16,null,e||null);c.projection===null&&(c.projection=n),mu();let f=!s[fo]||N0();s[kt][At].projection[c.projection]===null&&l!==null?P5(s,a,l):f&&(c.flags&32)!==32&&g4(a,s,c)}function P5(t,n,e){let i=mt+e,o=n.data[i],r=t[i],s=Co(r,o.tView.ssrId),a=Ur(t,o,void 0,{dehydratedView:s});Wr(r,a,0,_o(o,s))}function _e(t,n,e){return wh(t,"",n,"",e),_e}function wh(t,n,e,i,o){let r=ie(),s=ph(r,n,e,i);if(s!==Ft){let a=Ke(),l=Br();sl(a,l,r,t,s,r[Qe],o,!1)}return wh}function _t(t,n,e,i){T8(t,n,e,i)}function rt(t,n,e){P8(t,n,e)}function Ae(t){let n=ie(),e=Ke(),i=B0();hu(i+1);let o=ju(e,i);if(t.dirty&&A3(n)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let r=F8(n,i);t.reset(r,C_),t.notifyOnChanges()}return!0}return!1}function Oe(){return S8(ie(),B0())}function T5(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function tt(t){let n=j3();return S0(n,mt+t)}function k(t,n=""){let e=ie(),i=Ke(),o=t+mt,r=i.firstCreatePass?Po(i,o,1,n,null):i.data[o],s=L5(i,e,r,n,t);e[o]=s,Xa()&&il(i,e,s,r),Ri(r,!1)}var L5=(t,n,e,i,o)=>(Qa(!0),e4(n[Qe],i));function ne(t){return Z("",t,""),ne}function Z(t,n,e){let i=ie(),o=ph(i,t,n,e);return o!==Ft&&Wg(i,Pn(),o),Z}function an(t,n,e,i,o){let r=ie(),s=J8(r,t,n,e,i,o);return s!==Ft&&Wg(r,Pn(),s),an}function Ln(t,n,e){ch(n)&&(n=n());let i=ie(),o=Bi();if(Et(i,o,n)){let r=Ke(),s=Br();sl(r,s,i,t,n,i[Qe],e,!1)}return Ln}function ti(t,n){let e=ch(t);return e&&t.set(n),e}function Vn(t,n){let e=ie(),i=Ke(),o=gt();return Ch(i,e,e[Qe],o,t,n),Vn}function V5(t,n,e){let i=Ke();if(i.firstCreatePass){let o=Xn(t);Ud(e,i.data,i.blueprint,o,!0),Ud(n,i.data,i.blueprint,o,!1)}}function Ud(t,n,e,i,o){if(t=wt(t),Array.isArray(t))for(let r=0;r<t.length;r++)Ud(t[r],n,e,i,o);else{let r=Ke(),s=ie(),a=gt(),l=ho(t)?t:wt(t.provide),c=_0(t),u=a.providerIndexes&1048575,f=a.directiveStart,x=a.providerIndexes>>20;if(ho(t)||!t.multi){let b=new Li(c,o,_),E=Kc(l,n,o?u:u+x,f);E===-1?(pd(Ma(a,s),r,l),Qc(r,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(b),s.push(b)):(e[E]=b,s[E]=b)}else{let b=Kc(l,n,u+x,f),E=Kc(l,n,u,u+x),S=b>=0&&e[b],P=E>=0&&e[E];if(o&&!P||!o&&!S){pd(Ma(a,s),r,l);let T=j5(o?N5:F5,e.length,o,i,c);!o&&P&&(e[E].providerFactory=T),Qc(r,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(T),s.push(T)}else{let T=xh(e[o?E:b],c,!o&&i);Qc(r,t,b>-1?b:E,T)}!o&&i&&P&&e[E].componentProviders++}}}function Qc(t,n,e,i){let o=ho(n),r=f3(n);if(o||r){let l=(r?wt(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){let u=c.indexOf(e);u===-1?c.push(e,[i,l]):c[u+1].push(i,l)}else c.push(e,l)}}}function xh(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Kc(t,n,e,i){for(let o=e;o<i;o++)if(n[o]===t)return o;return-1}function F5(t,n,e,i){return Wd(this.multi,[])}function N5(t,n,e,i){let o=this.multi,r;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Vi(e,e[ue],this.providerFactory.index,i);r=a.slice(0,s),Wd(o,r);for(let l=s;l<a.length;l++)r.push(a[l])}else r=[],Wd(o,r);return r}function Wd(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function j5(t,n,e,i,o){let r=new Li(t,e,_);return r.multi=[],r.index=n,r.componentProviders=0,xh(r,o,i&&!e),r}function oe(t,n=[]){return e=>{e.providersResolver=(i,o)=>V5(i,o?o(t):t,n)}}var R5=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=f0(!1,e.type),o=i.length>0?$8([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=$({token:t,providedIn:"environment",factory:()=>new t(R(Zt))})}}return t})();function I(t){zi("NgStandalone"),t.getStandaloneInjector=n=>n.get(R5).getOrCreateStandaloneInjector(t)}function Se(t,n,e,i){return Dh(ie(),ko(),t,n,e,i)}function ht(t,n,e,i,o){return B5(ie(),ko(),t,n,e,i,o)}function ft(t,n,e,i,o,r){return z5(ie(),ko(),t,n,e,i,o,r)}function yh(t,n,e,i,o,r,s){return H5(ie(),ko(),t,n,e,i,o,r,s)}function Mh(t,n,e,i,o,r,s,a){let l=ko()+t,c=ie(),u=uh(c,l,e,i,o,r);return Et(c,l+4,s)||u?Gr(c,l+5,a?n.call(a,e,i,o,r,s):n(e,i,o,r,s)):W8(c,l+5)}function cl(t,n){let e=t[n];return e===Ft?void 0:e}function Dh(t,n,e,i,o,r){let s=n+e;return Et(t,s,o)?Gr(t,s+1,r?i.call(r,o):i(o)):cl(t,s+1)}function B5(t,n,e,i,o,r,s){let a=n+e;return Vr(t,a,o,r)?Gr(t,a+2,s?i.call(s,o,r):i(o,r)):cl(t,a+2)}function z5(t,n,e,i,o,r,s,a){let l=n+e;return G8(t,l,o,r,s)?Gr(t,l+3,a?i.call(a,o,r,s):i(o,r,s)):cl(t,l+3)}function H5(t,n,e,i,o,r,s,a,l){let c=n+e;return uh(t,c,o,r,s,a)?Gr(t,c+4,l?i.call(l,o,r,s,a):i(o,r,s,a)):cl(t,c+4)}function N(t,n){let e=Ke(),i,o=t+mt;e.firstCreatePass?(i=Z5(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks??=[]).push(o,i.onDestroy)):i=e.data[o];let r=i.factory||(i.factory=Ai(i.type,!0)),s,a=Mt(_);try{let l=ya(!1),c=r();return ya(l),T5(e,ie(),o,c),c}finally{Mt(a)}}function Z5(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function j(t,n,e){let i=t+mt,o=ie(),r=S0(o,i);return $5(o,i)?Dh(o,ko(),n,r.transform,e,r):r.transform(e)}function $5(t,n){return t[ue].data[n].pure}function Ct(t,n){return ll(t,n)}var kh=new G("");function Xr(t){return!!t&&typeof t.then=="function"}function Eh(t){return!!t&&typeof t.subscribe=="function"}var U5=new G(""),Ah=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=W(U5,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let r=o();if(Xr(r))e.push(r);else if(Eh(r)){let s=new Promise((a,l)=>{r.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),e.length===0&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Oh=new G("");function W5(){Mm(()=>{throw new ge(600,!1)})}function G5(t){return t.isBoundToModule}var q5=10;function Y5(t,n,e){try{let i=e();return Xr(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}var xn=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(v_),this.afterRenderManager=W(K8),this.zonelessEnabled=W(Nu),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ve,this.afterTick=new ve,this.componentTypes=[],this.components=[],this.isStable=W(Oo).hasPendingTasks.pipe(me(e=>!e)),this._injector=W(Zt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,i){let o=e instanceof Ia;if(!this._injector.get(Ah).done){let x=!o&&u3(e),b=!1;throw new ge(405,b)}let s;o?s=e:s=this._injector.get(Jn).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=G5(s)?void 0:this._injector.get(yo),l=i||s.selector,c=s.create(bn.NULL,[],l,a),u=c.location.nativeElement,f=c.injector.get(kh,null);return f?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),pa(this.components,c),f?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new ge(101,!1);let e=Ce(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,Ce(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(xo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++<q5;)this.synchronizeOnce(e)}synchronizeOnce(e){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:o,notifyErrorHandler:r}of this._views)X5(o,r,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else e?.begin?.(),e?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>qa(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;pa(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let i=this._injector.get(Oh,[]);[...this._bootstrapListeners,...i].forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>pa(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ge(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function pa(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function X5(t,n,e,i){if(!e&&!qa(t))return;Qg(t,n,e&&!i?0:1)}var Q5=(()=>{class t{constructor(){this.zone=W(Me),this.changeDetectionScheduler=W(wo),this.applicationRef=W(xn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function K5({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new Me(Ye(ae({},J5()),{scheduleInRootZone:e})),[{provide:Me,useFactory:t},{provide:Er,multi:!0,useFactory:()=>{let i=W(Q5,{optional:!0});return()=>i.initialize()}},{provide:Er,multi:!0,useFactory:()=>{let i=W(e6);return()=>{i.initialize()}}},n===!0?{provide:th,useValue:!0}:[],{provide:nh,useValue:e??og}]}function J5(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var e6=(()=>{class t{constructor(){this.subscription=new Xe,this.initialized=!1,this.zone=W(Me),this.pendingTasks=W(Oo)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Me.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Me.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var t6=(()=>{class t{constructor(){this.appRef=W(xn),this.taskService=W(Oo),this.ngZone=W(Me),this.zonelessEnabled=W(Nu),this.disableScheduling=W(th,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Xe,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ka):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(W(nh,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof bd||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?y1:rg;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ka+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,y1(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function n6(){return typeof $localize<"u"&&$localize.locale||ja}var dl=new G("",{providedIn:"root",factory:()=>W(dl,we.Optional|we.SkipSelf)||n6()});var Gd=new G("");function aa(t){return!t.moduleRef}function i6(t){let n=aa(t)?t.r3Injector:t.moduleRef.injector,e=n.get(Me);return e.run(()=>{aa(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(vn,null),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r=>{i.handleError(r)}})}),aa(t)){let r=()=>n.destroy(),s=t.platformInjector.get(Gd);s.add(r),n.onDestroy(()=>{o.unsubscribe(),s.delete(r)})}else{let r=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Gd);s.add(r),t.moduleRef.onDestroy(()=>{pa(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(r)})}return Y5(i,e,()=>{let r=n.get(Ah);return r.runInitializers(),r.donePromise.then(()=>{let s=n.get(dl,ja);if(A5(s||ja),aa(t)){let a=n.get(xn);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return o6(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function o6(t,n){let e=t.injector.get(xn);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new ge(-403,!1);n.push(t)}var ma=null;function r6(t=[],n){return bn.create({name:n,providers:[{provide:Za,useValue:"platform"},{provide:Gd,useValue:new Set([()=>ma=null])},...t]})}function s6(t=[]){if(ma)return ma;let n=r6(t);return ma=n,W5(),a6(n),n}function a6(t){t.get(wu,null)?.forEach(e=>e())}var Je=(()=>{class t{static{this.__NG_ELEMENT_ID__=l6}}return t})();function l6(t){return c6(gt(),ie(),(t&16)===16)}function c6(t,n,e){if(Wa(t)&&!e){let i=ei(t.index,n);return new Fi(i,i)}else if(t.type&175){let i=n[kt];return new Fi(i,n)}return null}var qd=class{constructor(){}supports(n){return dh(n)}create(n){return new Yd(n)}},d6=(t,n)=>n,Yd=class{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||d6}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){let s=!i||e&&e.currentIndex<W1(i,o,r)?e:i,a=W1(s,o,r),l=s.currentIndex;if(s===i)o--,i=i._nextRemoved;else if(e=e._next,s.previousIndex==null)o++;else{r||(r=[]);let c=a-o,u=l-o;if(c!=u){for(let x=0;x<c;x++){let b=x<r.length?r[x]:r[x]=0,E=b+x;u<=E&&E<c&&(r[x]=b+1)}let f=s.previousIndex;r[f]=u-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!dh(n))throw new ge(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,o,r,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)r=n[a],s=this._trackByFn(a,r),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,r,s,a),i=!0):(i&&(e=this._verifyReinsertion(e,r,s,a)),Object.is(e.item,r)||this._addIdentityChange(e,r)),e=e._next}else o=0,U8(n,a=>{s=this._trackByFn(o,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,o),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;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,o){let r;return n===null?r=this._itTail:(r=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,o),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,o)):n=this._addAfter(new Xd(e,i),r,o)),n}_verifyReinsertion(n,e,i,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return r!==null?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,r=n._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,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=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let o=e===null?this._itHead:e._next;return n._next=o,n._prev=e,o===null?this._itTail=n:o._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new Ra),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ra),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(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=this._identityChangesTail._nextIdentityChange=n,n}},Xd=class{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Qd=class{constructor(){this._head=null,this._tail=null}add(n){this._head===null?(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;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},Ra=class{constructor(){this.map=new Map}put(n){let e=n.trackById,i=this.map.get(e);i||(i=new Qd,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,o=this.map.get(i);return o?o.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function W1(t,n,e){let i=t.previousIndex;if(i===null)return i;let o=0;return e&&i<e.length&&(o=e[i]),i+n+o}var Kd=class{constructor(){}supports(n){return n instanceof Map||Ru(n)}create(){return new Jd}},Jd=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let e;for(e=this._mapHead;e!==null;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||Ru(n)))throw new ge(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,o)=>{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{let r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;i!==null;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){let 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)){let o=this._records.get(n);this._maybeAddToChanges(o,e);let r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}let i=new eu(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;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;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){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?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))}},eu=class{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function G1(){return new To([new qd])}var To=(()=>{class t{static{this.\u0275prov=$({token:t,providedIn:"root",factory:G1})}constructor(e){this.factories=e}static create(e,i){if(i!=null){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||G1()),deps:[[t,new o0,new iu]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i!=null)return i;throw new ge(901,!1)}}return t})();function q1(){return new zu([new Kd])}var zu=(()=>{class t{static{this.\u0275prov=$({token:t,providedIn:"root",factory:q1})}constructor(e){this.factories=e}static create(e,i){if(i){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||q1()),deps:[[t,new o0,new iu]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i)return i;throw new ge(901,!1)}}return t})();function Ih(t){try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,o=s6(i),r=[K5({}),{provide:wo,useExisting:t6},...e||[]],s=new Ta({providers:r,parent:o,debugName:"",runEnvironmentInitializers:!1});return i6({r3Injector:s.injector,platformInjector:o,rootComponent:n})}catch(n){return Promise.reject(n)}}function D(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Nt(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function jt(t,n){zi("NgSignals");let e=wm(t);return n?.equal&&(e[kn].equal=n.equal),e}function Fn(t){let n=Ce(null);try{return t()}finally{Ce(n)}}function Hu(t,n){let e=Oi(t),i=n.elementInjector||$a();return new Lr(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}var ul={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)},scheduleBeforeRender(t){if(typeof window>"u")return ul.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return ul.schedule(t,16);let n=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(n)}};function u6(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function p6(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function m6(t){return typeof t=="function"}var Zu;function g6(t,n){if(!Zu){let e=Element.prototype;Zu=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?Zu.call(t,n):!1}function h6(t,n){return t===n||t!==t&&n!==n}function f6(t){let n={};return t.forEach(({propName:e,templateName:i,transform:o})=>{n[u6(i)]=[e,o]}),n}function b6(t,n){return n.get(Jn).resolveComponentFactory(t).inputs}function v6(t,n){let e=t.childNodes,i=n.map(()=>[]),o=-1;n.some((r,s)=>r==="*"?(o=s,!0):!1);for(let r=0,s=e.length;r<s;++r){let a=e[r],l=_6(a,n,o);l!==-1&&i[l].push(a)}return i}function _6(t,n,e){let i=e;return p6(t)&&n.some((o,r)=>o!=="*"&&g6(t,o)?(i=r,!0):!1),i}var C6=10,$u=class{constructor(n,e){this.componentFactory=e.get(Jn).resolveComponentFactory(n)}create(n){return new Uu(this.componentFactory,n)}},Uu=class{constructor(n,e){this.componentFactory=n,this.injector=e,this.eventEmitters=new Bn(1),this.events=this.eventEmitters.pipe(Tt(i=>An(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(Me),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=ul.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},C6))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e,i){this.runInZone(()=>{if(i&&(e=i.call(this.componentRef?.instance,e)),this.componentRef===null){this.initialInputValues.set(n,e);return}h6(e,this.getInputValue(n))&&!(e===void 0&&this.unchangedInputs.has(n))||(this.recordInputChange(n,e),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=e,this.scheduleDetectChanges())})}initializeComponent(n){let e=bn.create({providers:[],parent:this.injector}),i=v6(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.viewChangeDetectorRef=this.componentRef.injector.get(Je),this.implementsOnChanges=m6(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(xn).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:e})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),e)}),this.initialInputValues.clear()}initializeOutputs(n){let e=this.componentFactory.outputs.map(({propName:i,templateName:o})=>n.instance[i].pipe(me(s=>({name:o,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(n){if(!this.implementsOnChanges||this.inputChanges===null)return;let e=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(e)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=ul.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,e){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let i=this.inputChanges[n];if(i){i.currentValue=e;return}let o=this.unchangedInputs.has(n),r=o?void 0:this.getInputValue(n);this.inputChanges[n]=new Sr(r,e,o)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},Wu=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}};function Ve(t,n){let e=b6(t,n.injector),i=n.strategyFactory||new $u(t,n.injector),o=f6(e);class r extends Wu{static{this.observedAttributes=Object.keys(o)}get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=i.create(this.injector||n.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;let u=this[l];delete this[l],a.setInputValue(l,u,c)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,u){let[f,x]=o[a];this.ngElementStrategy.setInputValue(f,c,x)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return e.forEach(({propName:s,transform:a})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),r}var Lh=null;function Vo(){return Lh}function Vh(t){Lh??=t}var ml=class{};var nt=new G("");function gl(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[o,r]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}var Gu=/\s+/,Sh=[],re=(()=>{class t{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=Sh,this.stateMap=new Map}set klass(e){this.initialClasses=e!=null?e.trim().split(Gu):Sh}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Gu):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(Gu).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(i){return new(i||t)(_(q),_(sn))}}static{this.\u0275dir=Q({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return t})();var qu=class{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Fe=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((o,r,s)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new qu(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(r===null?void 0:r);else if(r!==null){let a=i.get(r);i.move(a,s),Ph(a,o)}});for(let o=0,r=i.length;o<r;o++){let a=i.get(o).context;a.index=o,a.count=r,a.ngForOf=this._ngForOf}e.forEachIdentityChange(o=>{let r=i.get(o.currentIndex);Ph(r,o)})}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(_(wn),_(De),_(To))}}static{this.\u0275dir=Q({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return t})();function Ph(t,n){t.context.$implicit=n.item}var ut=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new Yu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Th("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Th("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(_(wn),_(De))}}static{this.\u0275dir=Q({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return t})(),Yu=class{constructor(){this.$implicit=null,this.ngIf=null}};function Th(t,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Lt(n)}'.`)}var Fo=(()=>{class t{constructor(e,i,o){this._ngEl=e,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){let[o,r]=e.split("."),s=o.indexOf("-")===-1?void 0:_n.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${i}${r}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_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{this.\u0275fac=function(i){return new(i||t)(_(q),_(zu),_(sn))}}static{this.\u0275dir=Q({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return t})(),Nn=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(e,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}static{this.\u0275fac=function(i){return new(i||t)(_(wn))}}static{this.\u0275dir=Q({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ge]})}}return t})();var z=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ze({type:t})}static{this.\u0275inj=Be({})}}return t})(),Xu="browser",x6="server";function Fh(t){return t===Xu}function hl(t){return t===x6}var Lo=class{};var Kr=class{},bl=class{},jn=class t{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
8
8
|
`).forEach(e=>{let i=e.indexOf(":");if(i>0){let o=e.slice(0,i),r=o.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.setHeaderEntries(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();let 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 t?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){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let o=(n.op==="a"?this.headers.get(e):void 0)||[];o.push(...i),this.headers.set(e,o);break;case"d":let r=n.value;if(!r)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>r.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=n.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var Ku=class{encodeKey(n){return Nh(n)}encodeValue(n){return Nh(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function y6(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let r=o.indexOf("="),[s,a]=r==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}var M6=/%(\d[a-f0-9])/gi,D6={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Nh(t){return encodeURIComponent(t).replace(M6,(n,e)=>D6[e]??n)}function fl(t){return`${t}`}var ii=class t{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Ku,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=y6(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],o=Array.isArray(i)?i.map(fl):[fl(i)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let 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){let e=[];return Object.keys(n).forEach(i=>{let o=n[i];Array.isArray(o)?o.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:o,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=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(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":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(fl(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],o=i.indexOf(fl(n.value));o!==-1&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var Ju=class{constructor(){this.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 k6(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function jh(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Rh(t){return typeof Blob<"u"&&t instanceof Blob}function Bh(t){return typeof FormData<"u"&&t instanceof FormData}function E6(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Qr=class t{constructor(n,e,i,o){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase();let r;if(k6(this.method)||o?(this.body=i!==void 0?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new jn,this.context??=new Ju,!this.params)this.params=new ii,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||jh(this.body)||Rh(this.body)||Bh(this.body)||E6(this.body)?this.body:this.body instanceof ii?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Bh(this.body)?null:Rh(this.body)?this.body.type||null:jh(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof ii?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,o=n.responseType||this.responseType,r=n.transferCache??this.transferCache,s=n.body!==void 0?n.body:this.body,a=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress,c=n.headers||this.headers,u=n.params||this.params,f=n.context??this.context;return n.setHeaders!==void 0&&(c=Object.keys(n.setHeaders).reduce((x,b)=>x.set(b,n.setHeaders[b]),c)),n.setParams&&(u=Object.keys(n.setParams).reduce((x,b)=>x.set(b,n.setParams[b]),u)),new t(e,i,s,{params:u,headers:c,context:f,reportProgress:l,responseType:o,withCredentials:a,transferCache:r})}},oi=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}(oi||{}),Jr=class{constructor(n,e=200,i="OK"){this.headers=n.headers||new jn,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},vl=class t extends Jr{constructor(n={}){super(n),this.type=oi.ResponseHeader}clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},es=class t extends Jr{constructor(n={}){super(n),this.type=oi.Response,this.body=n.body!==void 0?n.body:null}clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},ni=class extends Jr{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},$h=200,A6=204;function Qu(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,transferCache:t.transferCache}}var np=(()=>{class t{constructor(e){this.handler=e}request(e,i,o={}){let r;if(e instanceof Qr)r=e;else{let l;o.headers instanceof jn?l=o.headers:l=new jn(o.headers);let c;o.params&&(o.params instanceof ii?c=o.params:c=new ii({fromObject:o.params})),r=new Qr(e,i,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=Pe(r).pipe(Pt(l=>this.handler.handle(l)));if(e instanceof Qr||o.observe==="events")return s;let a=s.pipe(un(l=>l instanceof es));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(me(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(me(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(me(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return a.pipe(me(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}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 ii().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,Qu(o,i))}post(e,i,o={}){return this.request("POST",e,Qu(o,i))}put(e,i,o={}){return this.request("PUT",e,Qu(o,i))}static{this.\u0275fac=function(i){return new(i||t)(R(Kr))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),O6=/^\)\]\}',?\n/,I6="X-Request-URL";function zh(t){if(t.url)return t.url;let n=I6.toLocaleLowerCase();return t.headers.get(n)}var S6=(()=>{class t{constructor(){this.fetchImpl=W(ep,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=W(Me)}handle(e){return new fe(i=>{let o=new AbortController;return this.doRequest(e,o.signal,i).then(tp,r=>i.error(new ni({error:r}))),()=>o.abort()})}doRequest(e,i,o){return cn(this,null,function*(){let r=this.createRequestInit(e),s;try{let b=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,ae({signal:i},r)));P6(b),o.next({type:oi.Sent}),s=yield b}catch(b){o.error(new ni({error:b,status:b.status??0,statusText:b.statusText,url:e.urlWithParams,headers:b.headers}));return}let a=new jn(s.headers),l=s.statusText,c=zh(s)??e.urlWithParams,u=s.status,f=null;if(e.reportProgress&&o.next(new vl({headers:a,status:u,statusText:l,url:c})),s.body){let b=s.headers.get("content-length"),E=[],S=s.body.getReader(),P=0,T,U,de=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>cn(this,null,function*(){for(;;){let{done:Te,value:H}=yield S.read();if(Te)break;if(E.push(H),P+=H.length,e.reportProgress){U=e.responseType==="text"?(U??"")+(T??=new TextDecoder).decode(H,{stream:!0}):void 0;let xe=()=>o.next({type:oi.DownloadProgress,total:b?+b:void 0,loaded:P,partialText:U});de?de.run(xe):xe()}}}));let Le=this.concatChunks(E,P);try{let Te=s.headers.get("Content-Type")??"";f=this.parseBody(e,Le,Te)}catch(Te){o.error(new ni({error:Te,headers:new jn(s.headers),status:s.status,statusText:s.statusText,url:zh(s)??e.urlWithParams}));return}}u===0&&(u=f?$h:0),u>=200&&u<300?(o.next(new es({body:f,headers:a,status:u,statusText:l,url:c})),o.complete()):o.error(new ni({error:f,headers:a,status:u,statusText:l,url:c}))})}parseBody(e,i,o){switch(e.responseType){case"json":let r=new TextDecoder().decode(i).replace(O6,"");return r===""?null:JSON.parse(r);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(e){let i={},o=e.withCredentials?"include":void 0;if(e.headers.forEach((r,s)=>i[r]=s.join(",")),e.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let r=e.detectContentTypeHeader();r!==null&&(i["Content-Type"]=r)}return{body:e.serializeBody(),method:e.method,headers:i,credentials:o}}concatChunks(e,i){let o=new Uint8Array(i),r=0;for(let s of e)o.set(s,r),r+=s.length;return o}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),ep=class{};function tp(){}function P6(t){t.then(tp,tp)}function T6(t,n){return n(t)}function L6(t,n,e){return(i,o)=>C0(e,()=>n(i,r=>t(r,o)))}var Uh=new G(""),V6=new G(""),F6=new G("",{providedIn:"root",factory:()=>!0});var Hh=(()=>{class t extends Kr{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=W(Oo),this.contributeToStability=W(F6)}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Uh),...this.injector.get(V6,[])]));this.chain=i.reduceRight((o,r)=>L6(o,r,this.injector),T6)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(Nc(()=>this.pendingTasks.remove(i)))}else return this.chain(e,i=>this.backend.handle(i))}static{this.\u0275fac=function(i){return new(i||t)(R(bl),R(Zt))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})();var N6=/^\)\]\}',?\n/;function j6(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Zh=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new ge(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Ue(i.\u0275loadImpl()):Pe(null)).pipe(Tt(()=>new fe(r=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((S,P)=>s.setRequestHeader(S,P.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let S=e.detectContentTypeHeader();S!==null&&s.setRequestHeader("Content-Type",S)}if(e.responseType){let S=e.responseType.toLowerCase();s.responseType=S!=="json"?S:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let S=s.statusText||"OK",P=new jn(s.getAllResponseHeaders()),T=j6(s)||e.url;return l=new vl({headers:P,status:s.status,statusText:S,url:T}),l},u=()=>{let{headers:S,status:P,statusText:T,url:U}=c(),de=null;P!==A6&&(de=typeof s.response>"u"?s.responseText:s.response),P===0&&(P=de?$h:0);let Le=P>=200&&P<300;if(e.responseType==="json"&&typeof de=="string"){let Te=de;de=de.replace(N6,"");try{de=de!==""?JSON.parse(de):null}catch(H){de=Te,Le&&(Le=!1,de={error:H,text:de})}}Le?(r.next(new es({body:de,headers:S,status:P,statusText:T,url:U||void 0})),r.complete()):r.error(new ni({error:de,headers:S,status:P,statusText:T,url:U||void 0}))},f=S=>{let{url:P}=c(),T=new ni({error:S,status:s.status||0,statusText:s.statusText||"Unknown Error",url:P||void 0});r.error(T)},x=!1,b=S=>{x||(r.next(c()),x=!0);let P={type:oi.DownloadProgress,loaded:S.loaded};S.lengthComputable&&(P.total=S.total),e.responseType==="text"&&s.responseText&&(P.partialText=s.responseText),r.next(P)},E=S=>{let P={type:oi.UploadProgress,loaded:S.loaded};S.lengthComputable&&(P.total=S.total),r.next(P)};return s.addEventListener("load",u),s.addEventListener("error",f),s.addEventListener("timeout",f),s.addEventListener("abort",f),e.reportProgress&&(s.addEventListener("progress",b),a!==null&&s.upload&&s.upload.addEventListener("progress",E)),s.send(a),r.next({type:oi.Sent}),()=>{s.removeEventListener("error",f),s.removeEventListener("abort",f),s.removeEventListener("load",u),s.removeEventListener("timeout",f),e.reportProgress&&(s.removeEventListener("progress",b),a!==null&&s.upload&&s.upload.removeEventListener("progress",E)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(i){return new(i||t)(R(Lo))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),Wh=new G(""),R6="XSRF-TOKEN",B6=new G("",{providedIn:"root",factory:()=>R6}),z6="X-XSRF-TOKEN",H6=new G("",{providedIn:"root",factory:()=>z6}),_l=class{},Z6=(()=>{class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=gl(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.\u0275fac=function(i){return new(i||t)(R(nt),R(Cn),R(B6))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})();function $6(t,n){let e=t.url.toLowerCase();if(!W(Wh)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let i=W(_l).getToken(),o=W(H6);return i!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,i)})),n(t)}function Gh(...t){let n=[np,Zh,Hh,{provide:Kr,useExisting:Hh},{provide:bl,useFactory:()=>W(S6,{optional:!0})??W(Zh)},{provide:Uh,useValue:$6,multi:!0},{provide:Wh,useValue:!0},{provide:_l,useClass:Z6}];for(let e of t)n.push(...e.\u0275providers);return Ha(n)}var rp=class extends ml{constructor(){super(...arguments),this.supportsDOMEvents=!0}},sp=class t extends rp{static makeCurrent(){Vh(new t)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.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 e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=W6();return e==null?null:G6(e)}resetBaseElement(){ts=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return gl(document.cookie,n)}},ts=null;function W6(){return ts=ts||document.querySelector("base"),ts?ts.getAttribute("href"):null}function G6(t){return new URL(t,document.baseURI).pathname}var q6=(()=>{class t{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),ap=new G(""),Qh=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(r=>r.supports(e)),!i)throw new ge(5101,!1);return this._eventNameToPlugin.set(e,i),i}static{this.\u0275fac=function(i){return new(i||t)(R(ap),R(Me))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),Cl=class{constructor(n){this._doc=n}},ip="ng-app-id",Kh=(()=>{class t{constructor(e,i,o,r={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=hl(r),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${ip}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){let o=this.styleRef;if(o.has(e)){let r=o.get(e);return r.usage+=i,r.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let o=this.styleNodesInDOM,r=o?.get(i);if(r?.parentNode===e)return o.delete(i),r.removeAttribute(ip),r;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(ip,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let o=this.getStyleElement(e,i),r=this.styleRef,s=r.get(i)?.elements;s?s.push(o):r.set(i,{elements:[o],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||t)(R(nt),R(Ja),R(Hr,8),R(Cn))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),op={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"},cp=/%COMP%/g,Jh="%COMP%",Y6=`_nghost-${Jh}`,X6=`_ngcontent-${Jh}`,Q6=!0,K6=new G("",{providedIn:"root",factory:()=>Q6});function J6(t){return X6.replace(cp,t)}function eC(t){return Y6.replace(cp,t)}function ef(t,n){return n.map(e=>e.replace(cp,t))}var qh=(()=>{class t{constructor(e,i,o,r,s,a,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=hl(a),this.defaultRenderer=new ns(e,s,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===gn.ShadowDom&&(i=Ye(ae({},i),{encapsulation:gn.Emulated}));let o=this.getOrCreateRenderer(e,i);return o instanceof wl?o.applyToHost(e):o instanceof is&&o.applyStyles(),o}getOrCreateRenderer(e,i){let o=this.rendererByCompId,r=o.get(i.id);if(!r){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case gn.Emulated:r=new wl(l,c,i,this.appId,u,s,a,f);break;case gn.ShadowDom:return new lp(l,c,e,i,s,a,this.nonce,f);default:r=new is(l,c,i,u,s,a,f);break}o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||t)(R(Qh),R(Kh),R(Ja),R(K6),R(nt),R(Cn),R(Me),R(Hr))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),ns=class{constructor(n,e,i,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(op[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Yh(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(Yh(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?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,o){if(o){e=o+":"+e;let r=op[o];r?n.setAttributeNS(r,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let o=op[i];o?n.removeAttributeNS(o,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,o){o&(_n.DashCase|_n.Important)?n.style.setProperty(e,i,o&_n.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&_n.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i){if(typeof n=="string"&&(n=Vo().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function Yh(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var lp=class extends ns{constructor(n,e,i,o,r,s,a,l){super(n,r,s,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=ef(o.id,o.styles);for(let u of c){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=u,this.shadowRoot.appendChild(f)}}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)}},is=class extends ns{constructor(n,e,i,o,r,s,a,l){super(n,r,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=l?ef(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},wl=class extends is{constructor(n,e,i,o,r,s,a,l){let c=o+"-"+i.id;super(n,e,i,r,s,a,l,c),this.contentAttr=J6(c),this.hostAttr=eC(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}},tC=(()=>{class t extends Cl{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}static{this.\u0275fac=function(i){return new(i||t)(R(nt))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),Xh=["alt","control","meta","shift"],nC={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},iC={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},oC=(()=>{class t extends Cl{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,o){let r=t.parseEventName(i),s=t.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Vo().onAndCancel(e,r.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let r=t._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),Xh.forEach(c=>{let u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=r,i.length!=0||r.length===0)return null;let l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let o=nC[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Xh.forEach(s=>{if(s!==o){let a=iC[s];a(e)&&(r+=s+".")}}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(i){return new(i||t)(R(nt))}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})();function tf(t){return Ih(rC(t))}function rC(t){return{appProviders:[...dC,...t?.providers??[]],platformProviders:cC}}function sC(){sp.makeCurrent()}function aC(){return new vn}function lC(){return pg(document),document}var cC=[{provide:Cn,useValue:Xu},{provide:wu,useValue:sC,multi:!0},{provide:nt,useFactory:lC,deps:[]}];var dC=[{provide:Za,useValue:"root"},{provide:vn,useFactory:aC,deps:[]},{provide:ap,useClass:tC,multi:!0,deps:[nt,Me,Cn]},{provide:ap,useClass:oC,multi:!0,deps:[nt]},qh,Kh,Qh,{provide:xo,useExisting:qh},{provide:Lo,useClass:q6,deps:[]},[]];var df=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}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{this.\u0275fac=function(i){return new(i||t)(_(sn),_(q))}}static{this.\u0275dir=Q({type:t})}}return t})(),uC=(()=>{class t extends df{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=Ut(t)))(o||t)}})()}static{this.\u0275dir=Q({type:t,features:[Y]})}}return t})(),kl=new G("");var pC={provide:kl,useExisting:ji(()=>uf),multi:!0};function mC(){let t=Vo()?Vo().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var gC=new G(""),uf=(()=>{class t extends df{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!mC())}writeValue(e){let i=e??"";this.setProperty("value",i)}_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{this.\u0275fac=function(i){return new(i||t)(_(sn),_(q),_(gC,8))}}static{this.\u0275dir=Q({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,o){i&1&&v("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[oe([pC]),Y]})}}return t})();var hC=new G(""),fC=new G("");function pf(t){return t!=null}function mf(t){return Xr(t)?Ue(t):t}function gf(t){let n={};return t.forEach(e=>{n=e!=null?ae(ae({},n),e):n}),Object.keys(n).length===0?null:n}function hf(t,n){return n.map(e=>e(t))}function bC(t){return!t.validate}function ff(t){return t.map(n=>bC(n)?n:e=>n.validate(e))}function vC(t){if(!t)return null;let n=t.filter(pf);return n.length==0?null:function(e){return gf(hf(e,n))}}function bf(t){return t!=null?vC(ff(t)):null}function _C(t){if(!t)return null;let n=t.filter(pf);return n.length==0?null:function(e){let i=hf(e,n).map(mf);return _r(i).pipe(me(gf))}}function vf(t){return t!=null?_C(ff(t)):null}function nf(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function CC(t){return t._rawValidators}function wC(t){return t._rawAsyncValidators}function dp(t){return t?Array.isArray(t)?t:[t]:[]}function yl(t,n){return Array.isArray(t)?t.includes(n):t===n}function of(t,n){let e=dp(n);return dp(t).forEach(o=>{yl(e,o)||e.push(o)}),e}function rf(t,n){return dp(n).filter(e=>!yl(t,e))}var Ml=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=bf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=vf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_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):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},up=class extends Ml{get formDirective(){return null}get path(){return null}},ls=class extends Ml{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},pp=class{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}},xC={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},ZT=Ye(ae({},xC),{"[class.ng-submitted]":"isSubmitted"}),Bo=(()=>{class t extends pp{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||t)(_(ls,2))}}static{this.\u0275dir=Q({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&X("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Y]})}}return t})();var os="VALID",xl="INVALID",No="PENDING",rs="DISABLED",Ro=class{},Dl=class extends Ro{constructor(n,e){super(),this.value=n,this.source=e}},ss=class extends Ro{constructor(n,e){super(),this.pristine=n,this.source=e}},as=class extends Ro{constructor(n,e){super(),this.touched=n,this.source=e}},jo=class extends Ro{constructor(n,e){super(),this.status=n,this.source=e}};function yC(t){return(El(t)?t.validators:t)||null}function MC(t){return Array.isArray(t)?bf(t):t||null}function DC(t,n){return(El(n)?n.asyncValidators:t)||null}function kC(t){return Array.isArray(t)?vf(t):t||null}function El(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var mp=class{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=jt(()=>this.statusReactive()),this.statusReactive=J(void 0),this._pristine=jt(()=>this.pristineReactive()),this.pristineReactive=J(!0),this._touched=jt(()=>this.touchedReactive()),this.touchedReactive=J(!1),this._events=new ve,this.events=this._events.asObservable(),this._onDisabledChange=[],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 Fn(this.statusReactive)}set status(n){Fn(()=>this.statusReactive.set(n))}get valid(){return this.status===os}get invalid(){return this.status===xl}get pending(){return this.status==No}get disabled(){return this.status===rs}get enabled(){return this.status!==rs}get pristine(){return Fn(this.pristineReactive)}set pristine(n){Fn(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Fn(this.touchedReactive)}set touched(n){Fn(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}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(of(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(of(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(rf(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(rf(n,this._rawAsyncValidators))}hasValidator(n){return yl(this._rawValidators,n)}hasAsyncValidator(n){return yl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(Ye(ae({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new as(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new as(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(Ye(ae({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new ss(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new ss(!0,i))}markAsPending(n={}){this.status=No;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new jo(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(Ye(ae({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=rs,this.errors=null,this._forEachChild(o=>{o.disable(Ye(ae({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Dl(this.value,i)),this._events.next(new jo(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Ye(ae({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=os,this._forEachChild(i=>{i.enable(Ye(ae({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Ye(ae({},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){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===os||this.status===No)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Dl(this.value,e)),this._events.next(new jo(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(Ye(ae({},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()?rs:os}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=No,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=mf(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){let 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 jo(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new y,this.statusChanges=new y}_calculateStatus(){return this._allControlsDisabled()?rs:this.errors?xl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(No)?No:this._anyControlsHaveStatus(xl)?xl:os}_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){let i=!this._anyControlsDirty(),o=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),o&&this._events.next(new ss(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new as(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){El(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=MC(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=kC(this._rawAsyncValidators)}};var _f=new G("CallSetDisabledState",{providedIn:"root",factory:()=>gp}),gp="always";function EC(t,n){return[...n.path,t]}function AC(t,n,e=gp){IC(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),SC(t,n),TC(t,n),PC(t,n),OC(t,n)}function sf(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function OC(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function IC(t,n){let e=CC(t);n.validator!==null?t.setValidators(nf(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=wC(t);n.asyncValidator!==null?t.setAsyncValidators(nf(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let o=()=>t.updateValueAndValidity();sf(n._rawValidators,o),sf(n._rawAsyncValidators,o)}function SC(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Cf(t,n)})}function PC(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Cf(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function Cf(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function TC(t,n){let e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function LC(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function VC(t){return Object.getPrototypeOf(t.constructor)===uC}function FC(t,n){if(!n)return null;Array.isArray(n);let e,i,o;return n.forEach(r=>{r.constructor===uf?e=r:VC(r)?i=r:o=r}),o||i||e||null}function af(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function lf(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var NC=class extends mp{constructor(n=null,e,i){super(yC(e),DC(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),El(e)&&(e.nonNullable||e.initialValueIsDefault)&&(lf(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),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}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){af(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){af(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){lf(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}};var jC={provide:ls,useExisting:ji(()=>Hi)},cf=Promise.resolve(),Hi=(()=>{class t extends ls{constructor(e,i,o,r,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new NC,this._registered=!1,this.name="",this.update=new y,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=FC(this,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),LC(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&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){AC(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){cf.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,o=i!==0&&D(i);cf.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?EC(e,this._parent):[e]}static{this.\u0275fac=function(i){return new(i||t)(_(up,9),_(hC,10),_(fC,10),_(kl,10),_(Je,8),_(_f,8))}}static{this.\u0275dir=Q({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"],features:[oe([jC]),Y,Ge]})}}return t})();var RC=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ze({type:t})}static{this.\u0275inj=Be({})}}return t})();var zo=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:_f,useValue:e.callSetDisabledState??gp}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ze({type:t})}static{this.\u0275inj=Be({imports:[RC]})}}return t})();var BC=["content"],zC=["scroll"],HC=["padding"],yf=["*"],ds=t=>({searchTerm:t});function ZC(t,n){if(t&1&&(p(0,"div",3),dt(1,6),g()),t&2){let e=m();d(),h("ngTemplateOutlet",e.headerTemplate)("ngTemplateOutletContext",Se(2,ds,e.filterValue))}}function $C(t,n){if(t&1&&(p(0,"div",5),dt(1,6),g()),t&2){let e=m();d(),h("ngTemplateOutlet",e.footerTemplate)("ngTemplateOutletContext",Se(2,ds,e.filterValue))}}var UC=["searchInput"],WC=["clearButton"],GC=(t,n,e)=>({item:t,clear:n,label:e}),qC=(t,n)=>({items:t,clear:n}),YC=(t,n,e,i)=>({item:t,item$:n,index:e,searchTerm:i});function XC(t,n){if(t&1&&(p(0,"div",20),k(1),g()),t&2){let e=m(2);d(),ne(e.placeholder)}}function QC(t,n){}function KC(t,n){if(t&1&&M(0,XC,2,1,"ng-template",null,1,Ct)(2,QC,0,0,"ng-template",19),t&2){let e=tt(1),i=m();d(2),h("ngTemplateOutlet",i.placeholderTemplate||e)}}function JC(t,n){if(t&1){let e=F();p(0,"span",23),v("click",function(){C(e);let o=m().$implicit,r=m(2);return w(r.unselect(o))}),k(1,"\xD7"),g(),O(2,"span",24)}if(t&2){let e=m().$implicit,i=m(2);d(2),h("ngItemLabel",e.label)("escape",i.escapeHTML)}}function e9(t,n){}function t9(t,n){if(t&1&&(p(0,"div",22),M(1,JC,3,2,"ng-template",null,2,Ct)(3,e9,0,0,"ng-template",12),g()),t&2){let e=n.$implicit,i=tt(2),o=m(2);X("ng-value-disabled",e.disabled),d(3),h("ngTemplateOutlet",o.labelTemplate||i)("ngTemplateOutletContext",ft(4,GC,e.value,o.clearItem,e.label))}}function n9(t,n){if(t&1&&it(0,t9,4,8,"div",21,Bu().trackByOption,!0),t&2){let e=m();ot(e.selectedItems)}}function i9(t,n){}function o9(t,n){if(t&1&&M(0,i9,0,0,"ng-template",12),t&2){let e=m();h("ngTemplateOutlet",e.multiLabelTemplate)("ngTemplateOutletContext",ht(2,qC,e.selectedValues,e.clearItem))}}function r9(t,n){t&1&&O(0,"div",25)}function s9(t,n){}function a9(t,n){if(t&1&&M(0,r9,1,0,"ng-template",null,3,Ct)(2,s9,0,0,"ng-template",19),t&2){let e=tt(1),i=m();d(2),h("ngTemplateOutlet",i.loadingSpinnerTemplate||e)}}function l9(t,n){if(t&1&&(p(0,"span",15,4)(2,"span",26),k(3,"\xD7"),g()()),t&2){let e=m();_e("title",e.clearAllText)}}function c9(t,n){if(t&1&&O(0,"span",31),t&2){let e=m().$implicit,i=m(2);h("ngItemLabel",e.label)("escape",i.escapeHTML)}}function d9(t,n){}function u9(t,n){if(t&1){let e=F();p(0,"div",30),v("click",function(){let o=C(e).$implicit,r=m(2);return w(r.toggleItem(o))})("mouseover",function(){let o=C(e).$implicit,r=m(2);return w(r.onItemHover(o))}),M(1,c9,1,2,"ng-template",null,5,Ct)(3,d9,0,0,"ng-template",12),g()}if(t&2){let e=n.$implicit,i=tt(2),o=m(2);X("ng-option-disabled",e.disabled)("ng-option-selected",e.selected)("ng-optgroup",e.children)("ng-option",!e.children)("ng-option-child",!!e.parent)("ng-option-marked",e===o.itemsList.markedItem),ee("role",e.children?"group":"option")("aria-selected",e.selected)("id",e==null?null:e.htmlId),d(3),h("ngTemplateOutlet",e.children?o.optgroupTemplate||i:o.optionTemplate||i)("ngTemplateOutletContext",yh(17,YC,e.value,e,e.index,o.searchTerm))}}function p9(t,n){if(t&1&&(p(0,"span")(1,"span",33),k(2),g(),k(3),g()),t&2){let e=m(3);d(2),ne(e.addTagText),d(),Z('"',e.searchTerm,'"')}}function m9(t,n){}function g9(t,n){if(t&1){let e=F();p(0,"div",32),v("mouseover",function(){C(e);let o=m(2);return w(o.itemsList.unmarkItem())})("click",function(){C(e);let o=m(2);return w(o.selectTag())}),M(1,p9,4,2,"ng-template",null,6,Ct)(3,m9,0,0,"ng-template",12),g()}if(t&2){let e=tt(2),i=m(2);X("ng-option-marked",!i.itemsList.markedItem),d(3),h("ngTemplateOutlet",i.tagTemplate||e)("ngTemplateOutletContext",Se(4,ds,i.searchTerm))}}function h9(t,n){if(t&1&&(p(0,"div",34),k(1),g()),t&2){let e=m(3);d(),ne(e.notFoundText)}}function f9(t,n){}function b9(t,n){if(t&1&&M(0,h9,2,1,"ng-template",null,7,Ct)(2,f9,0,0,"ng-template",12),t&2){let e=tt(1),i=m(2);d(2),h("ngTemplateOutlet",i.notFoundTemplate||e)("ngTemplateOutletContext",Se(2,ds,i.searchTerm))}}function v9(t,n){if(t&1&&(p(0,"div",34),k(1),g()),t&2){let e=m(3);d(),ne(e.typeToSearchText)}}function _9(t,n){}function C9(t,n){if(t&1&&M(0,v9,2,1,"ng-template",null,8,Ct)(2,_9,0,0,"ng-template",19),t&2){let e=tt(1),i=m(2);d(2),h("ngTemplateOutlet",i.typeToSearchTemplate||e)}}function w9(t,n){if(t&1&&(p(0,"div",34),k(1),g()),t&2){let e=m(3);d(),ne(e.loadingText)}}function x9(t,n){}function y9(t,n){if(t&1&&M(0,w9,2,1,"ng-template",null,9,Ct)(2,x9,0,0,"ng-template",12),t&2){let e=tt(1),i=m(2);d(2),h("ngTemplateOutlet",i.loadingTextTemplate||e)("ngTemplateOutletContext",Se(2,ds,i.searchTerm))}}function M9(t,n){if(t&1){let e=F();p(0,"ng-dropdown-panel",27),v("update",function(o){C(e);let r=m();return w(r.viewPortItems=o)})("scroll",function(o){C(e);let r=m();return w(r.scroll.emit(o))})("scrollToEnd",function(o){C(e);let r=m();return w(r.scrollToEnd.emit(o))})("outsideClick",function(){C(e);let o=m();return w(o.close())}),Wt(1),it(2,u9,4,22,"div",28,Bu().trackByOption,!0),M(4,g9,4,6,"div",29),Gt(),M(5,b9,3,4)(6,C9,3,1)(7,y9,3,4),g()}if(t&2){let e=m();X("ng-select-multiple",e.multiple),h("virtualScroll",e.virtualScroll)("bufferAmount",e.bufferAmount)("appendTo",e.appendTo)("position",e.dropdownPosition)("headerTemplate",e.headerTemplate)("footerTemplate",e.footerTemplate)("filterValue",e.searchTerm)("items",e.itemsList.filteredItems)("markedItem",e.itemsList.markedItem)("ngClass",e.appendTo?e.ngClass?e.ngClass:e.classes:null)("id",e.dropdownId),d(2),ot(e.viewPortItems),d(2),L(e.showAddTag?4:-1),d(),L(e.showNoItemsFound()?5:-1),d(),L(e.showTypeToSearch()?6:-1),d(),L(e.loading&&e.itemsList.filteredItems.length===0?7:-1)}}var Mf=/[&<>"']/g,D9=RegExp(Mf.source),k9={"&":"&","<":"<",">":">",'"':""","'":"'"};function E9(t){return t&&D9.test(t)?t.replace(Mf,n=>k9[n]):t}function et(t){return t!=null}function cs(t){return typeof t=="object"&&et(t)}function A9(t){return t instanceof Promise}function Ol(t){return t instanceof Function}var O9=(()=>{class t{constructor(e){this.element=e,this.escape=!0}ngOnChanges(e){this.element.nativeElement.innerHTML=this.escape?E9(this.ngItemLabel):this.ngItemLabel}static{this.\u0275fac=function(i){return new(i||t)(_(q))}}static{this.\u0275dir=Q({type:t,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},standalone:!0,features:[Ge]})}}return t})(),I9=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(_(De))}}static{this.\u0275dir=Q({type:t,selectors:[["","ng-option-tmp",""]],standalone:!0})}}return t})(),S9=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(_(De))}}static{this.\u0275dir=Q({type:t,selectors:[["","ng-optgroup-tmp",""]],standalone:!0})}}return t})(),P9=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(_(De))}}static{this.\u0275dir=Q({type:t,selectors:[["","ng-label-tmp",""]],standalone:!0})}}return t})(),T9=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(_(De))}}static{this.\u0275dir=Q({type:t,selectors:[["","ng-multi-label-tmp",""]],standalone:!0})}}return t})(),L9=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(_(De))}}static{this.\u0275dir=Q({type:t,selectors:[["","ng-header-tmp",""]],standalone:!0})}}return t})(),V9=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(_(De))}}static{this.\u0275dir=Q({type:t,selectors:[["","ng-footer-tmp",""]],standalone:!0})}}return t})(),F9=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(_(De))}}static{this.\u0275dir=Q({type:t,selectors:[["","ng-notfound-tmp",""]],standalone:!0})}}return t})(),N9=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(_(De))}}static{this.\u0275dir=Q({type:t,selectors:[["","ng-placeholder-tmp",""]],standalone:!0})}}return t})(),j9=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(_(De))}}static{this.\u0275dir=Q({type:t,selectors:[["","ng-typetosearch-tmp",""]],standalone:!0})}}return t})(),R9=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(_(De))}}static{this.\u0275dir=Q({type:t,selectors:[["","ng-loadingtext-tmp",""]],standalone:!0})}}return t})(),B9=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(_(De))}}static{this.\u0275dir=Q({type:t,selectors:[["","ng-tag-tmp",""]],standalone:!0})}}return t})(),z9=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(_(De))}}static{this.\u0275dir=Q({type:t,selectors:[["","ng-loadingspinner-tmp",""]],standalone:!0})}}return t})();function Df(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var H9={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function Al(t){let n=e=>H9[e]||e;return t.replace(/[^\u0000-\u007E]/g,n)}var fp=class{constructor(n,e){this._ngSelect=n,this._selectionModel=e,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let n=this.selectedItems.length-1;for(;n>=0;n--){let e=this.selectedItems[n];if(!e.disabled)return e}return null}setItems(n){this._items=n.map((e,i)=>this.mapItem(e,i)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(n){if(n.selected||this.maxItemsSelected)return;let e=this._ngSelect.multiple;e||this.clearSelected(),this._selectionModel.select(n,e,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(n)}unselect(n){n.selected&&(this._selectionModel.unselect(n,this._ngSelect.multiple),this._ngSelect.hideSelected&&et(n.index)&&this._ngSelect.multiple&&this._showSelected(n))}findItem(n){let e;return this._ngSelect.compareWith?e=i=>this._ngSelect.compareWith(i.value,n):this._ngSelect.bindValue?e=i=>!i.children&&this.resolveNested(i.value,this._ngSelect.bindValue)===n:e=i=>i.value===n||!i.children&&i.label&&i.label===this.resolveNested(n,this._ngSelect.bindLabel),this._items.find(i=>e(i))}addItem(n){let e=this.mapItem(n,this._items.length);return this._items.push(e),this._filteredItems.push(e),e}clearSelected(n=!1){this._selectionModel.clear(n),this._items.forEach(e=>{e.selected=n&&e.selected&&e.disabled,e.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(n){return n=Al(n).toLocaleLowerCase(),this.filteredItems.find(e=>Al(e.label).toLocaleLowerCase().substr(0,n.length)===n)}filter(n){if(!n){this.resetFilteredItems();return}this._filteredItems=[],n=this._ngSelect.searchFn?n:Al(n).toLocaleLowerCase();let e=this._ngSelect.searchFn||this._defaultSearchFn,i=this._ngSelect.hideSelected;for(let o of Array.from(this._groups.keys())){let r=[];for(let s of this._groups.get(o)){if(i&&(s.parent&&s.parent.selected||s.selected))continue;let a=this._ngSelect.searchFn?s.value:s;e(n,a)&&r.push(s)}if(r.length>0){let[s]=r.slice(-1);if(s.parent){let a=this._items.find(l=>l===s.parent);this._filteredItems.push(a)}this._filteredItems.push(...r)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected&&this.selectedItems.length>0?this._filteredItems=this._items.filter(n=>!n.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(n){this._markedIndex=this._filteredItems.indexOf(n)}markSelectedOrDefault(n){if(this._filteredItems.length===0)return;let e=this._getLastMarkedIndex();e>-1?this._markedIndex=e:this._markedIndex=n?this.filteredItems.findIndex(i=>!i.disabled):-1}resolveNested(n,e){if(!cs(n))return n;if(e.indexOf(".")===-1)return n[e];{let i=e.split("."),o=n;for(let r=0,s=i.length;r<s;++r){if(o==null)return null;o=o[i[r]]}return o}}mapItem(n,e){let i=et(n.$ngOptionLabel)?n.$ngOptionLabel:this.resolveNested(n,this._ngSelect.bindLabel),o=et(n.$ngOptionValue)?n.$ngOptionValue:n;return{index:e,label:et(i)?i.toString():"",value:o,disabled:n.disabled,htmlId:`${this._ngSelect.dropdownId}-${e}`}}mapSelectedItems(){let n=this._ngSelect.multiple;for(let e of this.selectedItems){let i=this._ngSelect.bindValue?this.resolveNested(e.value,this._ngSelect.bindValue):e.value,o=et(i)?this.findItem(i):null;this._selectionModel.unselect(e,n),this._selectionModel.select(o||e,n,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(e=>this.selectedItems.indexOf(e)===-1))}_showSelected(n){if(this._filteredItems.push(n),n.parent){let e=n.parent;this._filteredItems.find(o=>o===e)||this._filteredItems.push(e)}else if(n.children)for(let e of n.children)e.selected=!1,this._filteredItems.push(e);this._filteredItems=[...this._filteredItems.sort((e,i)=>e.index-i.index)]}_hideSelected(n){this._filteredItems=this._filteredItems.filter(e=>e!==n),n.parent?n.parent.children.every(i=>i.selected)&&(this._filteredItems=this._filteredItems.filter(i=>i!==n.parent)):n.children&&(this._filteredItems=this.filteredItems.filter(e=>e.parent!==n))}_defaultSearchFn(n,e){return Al(e.label).toLocaleLowerCase().indexOf(n)>-1}_getNextItemIndex(n){return n>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(n){this._filteredItems.length===0||this._filteredItems.every(e=>e.disabled)||(this._markedIndex=this._getNextItemIndex(n),this.markedItem.disabled&&this._stepToItem(n))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let n=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&n<0?-1:Math.max(this.markedIndex,n)}_groupBy(n,e){let i=new Map;if(n.length===0)return i;if(Array.isArray(n[0].value[e])){for(let s of n){let a=(s.value[e]||[]).map((l,c)=>this.mapItem(l,c));i.set(s,a)}return i}let o=Ol(this._ngSelect.groupBy),r=s=>{let a=o?e(s.value):s.value[e];return et(a)?a:void 0};for(let s of n){let a=r(s),l=i.get(a);l?l.push(s):i.set(a,[s])}return i}_flatten(n){let e=Ol(this._ngSelect.groupBy),i=[];for(let o of Array.from(n.keys())){let r=i.length;if(o===void 0){let f=n.get(void 0)||[];i.push(...f.map(x=>(x.index=r++,x)));continue}let s=cs(o),a={label:s?"":String(o),children:void 0,parent:null,index:r++,disabled:!this._ngSelect.selectableGroup,htmlId:Df()},l=e?this._ngSelect.bindLabel:this._ngSelect.groupBy,c=this._ngSelect.groupValue||(()=>s?o.value:{[l]:o}),u=n.get(o).map(f=>(f.parent=a,f.children=void 0,f.index=r++,f));a.children=u,a.value=c(o,u.map(f=>f.value)),i.push(a),i.push(...u)}return i}},yn=function(t){return t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Esc=27]="Esc",t[t.Space=32]="Space",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown",t[t.Backspace=8]="Backspace",t}(yn||{}),kf=(()=>{class t{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,i,o){let r=this._dimensions,s=r.itemHeight*i,l=Math.max(0,e)/s*i,c=Math.min(i,Math.ceil(l)+(r.itemsPerViewport+1)),f=Math.max(0,c-r.itemsPerViewport),x=Math.min(f,Math.floor(l)),b=r.itemHeight*Math.ceil(x)-r.itemHeight*Math.min(x,o);return b=isNaN(b)?0:b,x=isNaN(x)?-1:x,c=isNaN(c)?-1:c,x-=o,x=Math.max(0,x),c+=o,c=Math.min(i,c),{topPadding:b,scrollHeight:s,start:x,end:c}}setDimensions(e,i){let o=Math.max(1,Math.floor(i/e));this._dimensions={itemHeight:e,panelHeight:i,itemsPerViewport:o}}getScrollTo(e,i,o){let{panelHeight:r}=this.dimensions,s=e+i,a=o,l=a+r;return r>=s&&o===e?null:s>l?a+s-l:e<=a?e:null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac})}}return t})(),wf=["top","right","bottom","left"],Z9=typeof requestAnimationFrame<"u"?Lc:Tc,xf=(()=>{class t{constructor(e,i,o,r,s){this._renderer=e,this._zone=i,this._panelService=o,this._document=s,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new y,this.scroll=new y,this.scrollToEnd=new y,this.outsideClick=new y,this._destroy$=new ve,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=r.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:e,panelHeight:i}=this._panelService.dimensions,o=this.markedItem.index*e;return i>o?0:o}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(e){if(e.items){let i=e.items;this._onItemsChange(i.currentValue,i.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(e,i=!1){if(!e)return;let o=this.items.indexOf(e);if(o<0||o>=this.itemsLength)return;let r;if(this.virtualScroll){let s=this._panelService.dimensions.itemHeight;r=this._panelService.getScrollTo(o*s,s,this._lastScrollPosition)}else{let s=this._dropdown.querySelector(`#${e.htmlId}`),a=i?s.offsetTop:this._lastScrollPosition;r=this._panelService.getScrollTo(s.offsetTop,s.clientHeight,a)}et(r)&&(this._scrollablePanel.scrollTop=r)}scrollToTag(){let e=this._scrollablePanel;e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),wf.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(e){wf.forEach(o=>{let r=`ng-select-${o}`;this._renderer.removeClass(this._dropdown,r),this._renderer.removeClass(this._select,r)});let i=`ng-select-${e}`;this._renderer.addClass(this._dropdown,i),this._renderer.addClass(this._select,i)}_handleScroll(){this._zone.runOutsideAngular(()=>{$n(this.scrollElementRef.nativeElement,"scroll").pipe(lt(this._destroy$),Fc(0,Z9)).subscribe(e=>{let i=e.path||e.composedPath&&e.composedPath();if(!i||i.length===0&&!e.target)return;let o=!i||i.length===0?e.target.scrollTop:i[0].scrollTop;this._onContentScrolled(o)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{An($n(this._document,"touchstart",{capture:!0}),$n(this._document,"click",{capture:!0})).pipe(lt(this._destroy$)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;let i=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&i&&i[0]&&this._select.contains(i[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(e,i){this.items=e||[],this._scrollToEndFired=!1,this.itemsLength=e.length,this.virtualScroll?this._updateItemsRange(i):(this._setVirtualHeight(),this._updateItems(i))}_updateItems(e){this.update.emit(this.items),e!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let i=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,i),this._handleDropdownPosition(),this.scrollTo(this.markedItem,e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding.style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;e=e||this._scrollablePanel.scrollTop;let i=this._panelService.calculateItems(e,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(i.scrollHeight),this._contentPanel.style.transform=`translateY(${i.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(i.start,i.end)),this.scroll.emit({start:i.start,end:i.end})}),et(e)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[e]=this.items;return this.update.emit([e]),Promise.resolve().then(()=>{let o=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;this._virtualPadding.style.height=`${o*this.itemsLength}px`;let r=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(o,r),this._panelService.dimensions})}_fireScrollToEnd(e){if(this._scrollToEndFired||e===0)return;let i=this.virtualScroll?this._virtualPadding:this._contentPanel;e+this._dropdown.clientHeight>=i.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){if(this.position!=="auto")return this.position;let i=this._select.getBoundingClientRect(),o=document.documentElement.scrollTop||document.body.scrollTop,r=i.top+window.pageYOffset,s=i.height,a=e.getBoundingClientRect().height;return r+s+a>o+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),o=e.left-i.left;this._dropdown.style.left=o+"px",this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){let e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),o=e.height;if(this._currentPosition==="top"){let r=i.bottom-e.bottom;this._dropdown.style.bottom=r+o+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let r=e.top-i.top;this._dropdown.style.top=r+o+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{$n(this._dropdown,"mousedown").pipe(lt(this._destroy$)).subscribe(e=>{e.target.tagName!=="INPUT"&&e.preventDefault()})})}static{this.\u0275fac=function(i){return new(i||t)(_(sn),_(Me),_(kf),_(q),_(nt,8))}}static{this.\u0275cmp=A({type:t,selectors:[["ng-dropdown-panel"]],viewQuery:function(i,o){if(i&1&&(rt(BC,7,q),rt(zC,7,q),rt(HC,7,q)),i&2){let r;Ae(r=Oe())&&(o.contentElementRef=r.first),Ae(r=Oe())&&(o.scrollElementRef=r.first),Ae(r=Oe())&&(o.paddingElementRef=r.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:[2,"virtualScroll","virtualScroll",D],headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},standalone:!0,features:[be,Ge,I],ngContentSelectors:yf,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,o){i&1&&(He(),M(0,ZC,2,4,"div",3),p(1,"div",4,0),O(3,"div",null,1),p(5,"div",null,2),Ee(7),g()(),M(8,$C,2,4,"div",5)),i&2&&(L(o.headerTemplate?0:-1),d(3),X("total-padding",o.virtualScroll),d(2),X("scrollable-content",o.virtualScroll&&o.items.length),d(3),L(o.footerTemplate?8:-1))},dependencies:[Nn],encapsulation:2,changeDetection:0})}}return t})(),Zi=(()=>{class t{constructor(e){this.elementRef=e,this.disabled=!1,this.stateChange$=new ve}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this.disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this.disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}static{this.\u0275fac=function(i){return new(i||t)(_(q))}}static{this.\u0275cmp=A({type:t,selectors:[["ng-option"]],inputs:{value:"value",disabled:[2,"disabled","disabled",D]},standalone:!0,features:[be,Ge,I],ngContentSelectors:yf,decls:1,vars:0,template:function(i,o){i&1&&(He(),Ee(0))},encapsulation:2,changeDetection:0})}}return t})();function Ef(){return new bp}var bp=class{constructor(){this._selected=[]}get value(){return this._selected}select(n,e,i){if(n.selected=!0,(!n.children||!e&&i)&&this._selected.push(n),e)if(n.parent){let o=n.parent.children.length,r=n.parent.children.filter(s=>s.selected).length;n.parent.selected=o===r}else n.children&&(this._setChildrenSelectedState(n.children,!0),this._removeChildren(n),i&&this._activeChildren(n)?this._selected=[...this._selected.filter(o=>o.parent!==n),n]:this._selected=[...this._selected,...n.children.filter(o=>!o.disabled)])}unselect(n,e){if(this._selected=this._selected.filter(i=>i!==n),n.selected=!1,e)if(n.parent&&n.parent.selected){let i=n.parent.children;this._removeParent(n.parent),this._removeChildren(n.parent),this._selected.push(...i.filter(o=>o!==n&&!o.disabled)),n.parent.selected=!1}else n.children&&(this._setChildrenSelectedState(n.children,!1),this._removeChildren(n))}clear(n){this._selected=n?this._selected.filter(e=>e.disabled):[]}_setChildrenSelectedState(n,e){for(let i of n)i.disabled||(i.selected=e)}_removeChildren(n){this._selected=[...this._selected.filter(e=>e.parent!==n),...n.children.filter(e=>e.parent===n&&e.disabled&&e.selected)]}_removeParent(n){this._selected=this._selected.filter(e=>e!==n)}_activeChildren(n){return n.children.every(e=>!e.disabled||e.selected)}},$9=(()=>{class t{constructor(){this.fixedPlaceholder=!0,this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),U9=(()=>{class t{warn(e){console.warn(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Af=new G("ng-select-selection-model"),Ho=(()=>{class t{constructor(e,i,o,r,s,a,l){this.classes=e,this.autoFocus=i,this.config=o,this._cd=a,this._console=l,this.markFirst=!0,this.fixedPlaceholder=!0,this.preventToggleOnRightClick=!1,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.ngClass=null,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new y,this.focusEvent=new y,this.changeEvent=new y,this.openEvent=new y,this.closeEvent=new y,this.searchEvent=new y,this.clearEvent=new y,this.addEvent=new y,this.removeEvent=new y,this.scroll=new y,this.scrollToEnd=new y,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=Df(),this.escapeHTML=!0,this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new ve,this._keyPress$=new ve,this._items=[],this.keyDownFn=c=>!0,this.clearItem=c=>{let u=this.selectedItems.find(f=>f.value===c);this.unselect(u)},this.trackByOption=(c,u)=>this.trackByFn?this.trackByFn(u.value):u,this._onChange=c=>{},this._onTouched=()=>{},this._mergeGlobalConfig(o),this.itemsList=new fp(this,r?r():Ef()),this.element=s.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get items(){return this._items}set items(e){this._itemsAreUsed=!0,this._items=e??[]}get disabled(){return this.readonly||this._disabled}get compareWith(){return this._compareWith}set compareWith(e){if(e!=null&&!Ol(e))throw Error("`compareWith` must be a function.");this._compareWith=e}get clearSearchOnAdd(){return et(this._clearSearchOnAdd)?this._clearSearchOnAdd:et(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(e){this._clearSearchOnAdd=e}get deselectOnClick(){return et(this._deselectOnClick)?this._deselectOnClick:et(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(e){this._deselectOnClick=e}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}get showAddTag(){if(!this._validTerm)return!1;let e=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(i=>i.label.toLowerCase()===e)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(i=>i.label.toLowerCase()===e))&&!this.loading}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){let e=this.searchTerm&&this.searchTerm.trim();return e&&e.length>=this.minTermLength}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=et(e.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),et(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(e){if(yn[e.which]){if(this.keyDownFn(e)===!1)return;this.handleKeyCode(e)}else e.key&&e.key.length===1&&this._keyPress$.next(e.key.toLocaleLowerCase())}handleKeyCode(e){let i=e.target;this.clearButton&&this.clearButton.nativeElement===i?this.handleKeyCodeClear(e):this.handleKeyCodeInput(e)}handleKeyCodeInput(e){switch(e.which){case yn.ArrowDown:this._handleArrowDown(e);break;case yn.ArrowUp:this._handleArrowUp(e);break;case yn.Space:this._handleSpace(e);break;case yn.Enter:this._handleEnter(e);break;case yn.Tab:this._handleTab(e);break;case yn.Esc:this.close(),e.preventDefault();break;case yn.Backspace:this._handleBackspace();break}}handleKeyCodeClear(e){switch(e.which){case yn.Enter:this.handleClearClick(),e.preventDefault();break}}handleMousedown(e){if(this.preventToggleOnRightClick&&e.button===2)return!1;let i=e.target;if(i.tagName!=="INPUT"&&e.preventDefault(),i.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(i.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}i.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled=e,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(e){!e||e.disabled||this.disabled||(this.deselectOnClick&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm&&this._setSearchTermFromItems())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e.value),this._onSelectionChanged())}selectTag(){let e;Ol(this.addTag)?e=this.addTag(this.searchTerm):e=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let i=o=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(o,null):this.itemsList.addItem(o);A9(e)?e.then(o=>this.select(i(o))).catch(()=>{}):e&&this.select(i(e))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}showNoItemsFound(){let e=this.itemsList.filteredItems.length===0;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,!this.searchWhileComposing&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=e,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(e),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(i=>i.value)}),this.open())}onInputFocus(e){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let e=this.selectedItems&&this.selectedItems[0];this.searchTerm=e&&e.label||null}_setItems(e){let i=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=et(i)?!cs(i):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&et(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let e=o=>{this.items=o.map(r=>({$ngOptionValue:r.value,$ngOptionLabel:r.elementRef.nativeElement.innerHTML,disabled:r.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},i=()=>{let o=An(this.ngOptions.changes,this._destroy$);An(...this.ngOptions.map(r=>r.stateChange$)).pipe(lt(o)).subscribe(r=>{let s=this.itemsList.findItem(r.value);s.disabled=r.disabled,s.label=r.label||s.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(Un(this.ngOptions),lt(this._destroy$)).subscribe(o=>{this.bindLabel=this._defaultLabel,e(o),i()})}_isValidWriteValue(e){if(!et(e)||this.multiple&&e===""||Array.isArray(e)&&e.length===0)return!1;let i=o=>!et(this.compareWith)&&cs(o)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(o)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(e)?e.every(o=>i(o)):(this._console.warn("Multiple select ngModel should be array."),!1):i(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;let i=o=>{let r=this.itemsList.findItem(o);if(r)this.itemsList.select(r);else{let s=cs(o),a=!s&&!this.bindValue;s||a?this.itemsList.select(this.itemsList.mapItem(o,null)):this.bindValue&&(r={[this.bindLabel]:null,[this.bindValue]:o},this.itemsList.select(this.itemsList.mapItem(r,null)))}};this.multiple?e.forEach(o=>i(o)):i(e)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(lt(this._destroy$),tn(e=>this._pressedKeys.push(e)),Di(200),un(()=>this._pressedKeys.length>0),me(()=>this._pressedKeys.join(""))).subscribe(e=>{let i=this.itemsList.findByLabel(e);i&&(this.isOpen?(this.itemsList.markItem(i),this._scrollToMarked(),this._cd.markForCheck()):this.select(i)),this._pressedKeys=[]})}_setInputAttributes(){let e=this.searchInput.nativeElement,i=ae({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(let o of Object.keys(i))e.setAttribute(o,i[o])}_updateNgModel(){let e=[];for(let o of this.selectedItems)if(this.bindValue){let r=null;if(o.children){let s=this.groupValue?this.bindValue:this.groupBy;r=o.value[s||this.groupBy]}else r=this.itemsList.resolveNested(o.value,this.bindValue);e.push(r)}else e.push(o.value);let i=this.selectedItems.map(o=>o.value);this.multiple?(this._onChange(e),this.changeEvent.emit(i)):(this._onChange(et(e[0])?e[0]:null),this.changeEvent.emit(i[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this.searchTerm=e,this._isTypeahead&&this.typeahead.next(e)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(e){if(this.isOpen===!1){if(this.showClear()&&!e.shiftKey)this.focusOnClear(),e.preventDefault();else if(!this.addTag)return}this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close()}_handleEnter(e){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(this.openOnEnter)this.open();else return;e.preventDefault()}_handleSpace(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){let i=this.itemsList.markedIndex+e;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(i<0||i===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(e){this.placeholder=this.placeholder||e.placeholder,this.fixedPlaceholder=this.fixedPlaceholder||e.fixedPlaceholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=et(this.virtualScroll)?this.virtualScroll:et(e.disableVirtualScroll)?!e.disableVirtualScroll:!1,this.openOnEnter=et(this.openOnEnter)?this.openOnEnter:e.openOnEnter,this.appendTo=this.appendTo||e.appendTo,this.bindValue=this.bindValue||e.bindValue,this.bindLabel=this.bindLabel||e.bindLabel,this.appearance=this.appearance||e.appearance}static{this.\u0275fac=function(i){return new(i||t)(Eo("class"),Eo("autofocus"),_($9),_(Af,8),_(q),_(Je),_(U9))}}static{this.\u0275cmp=A({type:t,selectors:[["ng-select"]],contentQueries:function(i,o,r){if(i&1&&(_t(r,I9,5,De),_t(r,S9,5,De),_t(r,P9,5,De),_t(r,T9,5,De),_t(r,L9,5,De),_t(r,V9,5,De),_t(r,F9,5,De),_t(r,N9,5,De),_t(r,j9,5,De),_t(r,R9,5,De),_t(r,B9,5,De),_t(r,z9,5,De),_t(r,Zi,5)),i&2){let s;Ae(s=Oe())&&(o.optionTemplate=s.first),Ae(s=Oe())&&(o.optgroupTemplate=s.first),Ae(s=Oe())&&(o.labelTemplate=s.first),Ae(s=Oe())&&(o.multiLabelTemplate=s.first),Ae(s=Oe())&&(o.headerTemplate=s.first),Ae(s=Oe())&&(o.footerTemplate=s.first),Ae(s=Oe())&&(o.notFoundTemplate=s.first),Ae(s=Oe())&&(o.placeholderTemplate=s.first),Ae(s=Oe())&&(o.typeToSearchTemplate=s.first),Ae(s=Oe())&&(o.loadingTextTemplate=s.first),Ae(s=Oe())&&(o.tagTemplate=s.first),Ae(s=Oe())&&(o.loadingSpinnerTemplate=s.first),Ae(s=Oe())&&(o.ngOptions=s)}},viewQuery:function(i,o){if(i&1&&(rt(xf,5),rt(UC,7),rt(WC,5)),i&2){let r;Ae(r=Oe())&&(o.dropdownPanel=r.first),Ae(r=Oe())&&(o.searchInput=r.first),Ae(r=Oe())&&(o.clearButton=r.first)}},hostVars:20,hostBindings:function(i,o){i&1&&v("keydown",function(s){return o.handleKeyDown(s)}),i&2&&X("ng-select-typeahead",o.typeahead)("ng-select-multiple",o.multiple)("ng-select-taggable",o.addTag)("ng-select-searchable",o.searchable)("ng-select-clearable",o.clearable)("ng-select-opened",o.isOpen)("ng-select",o.useDefaultClass)("ng-select-filtered",o.filtered)("ng-select-single",o.single)("ng-select-disabled",o.disabled)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",ariaLabel:"ariaLabel",markFirst:[2,"markFirst","markFirst",D],placeholder:"placeholder",fixedPlaceholder:"fixedPlaceholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",preventToggleOnRightClick:"preventToggleOnRightClick",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:[2,"loading","loading",D],closeOnSelect:[2,"closeOnSelect","closeOnSelect",D],hideSelected:[2,"hideSelected","hideSelected",D],selectOnTab:[2,"selectOnTab","selectOnTab",D],openOnEnter:[2,"openOnEnter","openOnEnter",D],maxSelectedItems:[2,"maxSelectedItems","maxSelectedItems",Nt],groupBy:"groupBy",groupValue:"groupValue",bufferAmount:[2,"bufferAmount","bufferAmount",Nt],virtualScroll:[2,"virtualScroll","virtualScroll",D],selectableGroup:[2,"selectableGroup","selectableGroup",D],selectableGroupAsModel:[2,"selectableGroupAsModel","selectableGroupAsModel",D],searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:[2,"clearOnBackspace","clearOnBackspace",D],labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:[2,"tabIndex","tabIndex",Nt],readonly:[2,"readonly","readonly",D],searchWhileComposing:[2,"searchWhileComposing","searchWhileComposing",D],minTermLength:[2,"minTermLength","minTermLength",Nt],editableSearchTerm:[2,"editableSearchTerm","editableSearchTerm",D],ngClass:"ngClass",typeahead:"typeahead",multiple:[2,"multiple","multiple",D],addTag:"addTag",searchable:[2,"searchable","searchable",D],clearable:[2,"clearable","clearable",D],isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick",keyDownFn:"keyDownFn"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},standalone:!0,features:[oe([{provide:kl,useExisting:ji(()=>t),multi:!0},kf]),be,Ge,I],decls:13,vars:19,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(i,o){if(i&1){let r=F();p(0,"div",10),v("mousedown",function(a){return C(r),w(o.handleMousedown(a))}),p(1,"div",11),M(2,KC,3,1)(3,n9,2,0)(4,o9,1,5,null,12),p(5,"div",13)(6,"input",14,0),v("blur",function(a){return C(r),w(o.onInputBlur(a))})("change",function(a){return C(r),w(a.stopPropagation())})("compositionend",function(){C(r);let a=tt(7);return w(o.onCompositionEnd(a.value))})("compositionstart",function(){return C(r),w(o.onCompositionStart())})("focus",function(a){return C(r),w(o.onInputFocus(a))})("input",function(){C(r);let a=tt(7);return w(o.filter(a.value))}),g()()(),M(8,a9,3,1)(9,l9,4,1,"span",15),p(10,"span",16),O(11,"span",17),g()(),M(12,M9,8,17,"ng-dropdown-panel",18)}i&2&&(X("ng-appearance-outline",o.appearance==="outline")("ng-has-value",o.hasValue),d(2),L(o.selectedItems.length===0&&!o.searchTerm||o.fixedPlaceholder===!0?2:-1),d(),L((!o.multiLabelTemplate||!o.multiple)&&o.selectedItems.length>0?3:-1),d(),L(o.multiple&&o.multiLabelTemplate&&o.selectedValues.length>0?4:-1),d(2),h("disabled",o.disabled)("readOnly",!o.searchable||o.itemsList.maxItemsSelected)("value",o.searchTerm?o.searchTerm:""),ee("aria-activedescendant",o.isOpen?o.itemsList==null||o.itemsList.markedItem==null?null:o.itemsList.markedItem.htmlId:null)("aria-controls",o.isOpen?o.dropdownId:null)("aria-expanded",o.isOpen)("aria-label",o.ariaLabel)("id",o.labelForId)("tabindex",o.tabIndex),d(2),L(o.loading?8:-1),d(),L(o.showClear()?9:-1),d(3),L(o.isOpen?12:-1))},dependencies:[Nn,O9,xf,re],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}
|
|
9
|
-
`],encapsulation:2,changeDetection:0})}}return t})(),Zo=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ze({type:t})}static{this.\u0275inj=Be({providers:[{provide:Af,useValue:Ef}]})}}return t})();var si=class{},Of=(()=>{class t extends si{getTranslation(e){return Pe({})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ut(t)))(o||t)}})();static \u0275prov=$({token:t,factory:t.\u0275fac})}return t})(),$i=class{},If=(()=>{class t{handle(e){return e.key}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$({token:t,factory:t.\u0275fac})}return t})();function Sl(t,n){if(t===n)return!0;if(t===null||n===null)return!1;if(t!==t&&n!==n)return!0;let e=typeof t,i=typeof n,o,r,s;if(e==i&&e=="object")if(Array.isArray(t)){if(!Array.isArray(n))return!1;if((o=t.length)==n.length){for(r=0;r<o;r++)if(!Sl(t[r],n[r]))return!1;return!0}}else{if(Array.isArray(n))return!1;s=Object.create(null);for(r in t){if(!Sl(t[r],n[r]))return!1;s[r]=!0}for(r in n)if(!(r in s)&&typeof n[r]<"u")return!1;return!0}return!1}function ri(t){return typeof t<"u"&&t!==null}function ps(t){return Il(t)&&!Dp(t)}function Il(t){return typeof t=="object"}function Dp(t){return Array.isArray(t)}function kp(t){return typeof t=="string"}function W9(t){return typeof t=="function"}function _p(t,n){let e=Object.assign({},t);return Il(t)?(Il(t)&&Il(n)&&Object.keys(n).forEach(i=>{ps(n[i])?i in t?e[i]=_p(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e):_p({},n)}function Cp(t,n){let e=n.split(".");n="";do n+=e.shift(),ri(t)&&ri(t[n])&&(ps(t[n])||Dp(t[n])||!e.length)?(t=t[n],n=""):e.length?n+=".":t=void 0;while(e.length);return t}function G9(t,n,e){let i=n.split("."),o=t;for(let r=0;r<i.length;r++){let s=i[r];r===i.length-1?o[s]=e:((!o[s]||!ps(o[s]))&&(o[s]={}),o=o[s])}}var $o=class{},Sf=(()=>{class t extends $o{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){if(kp(e))return this.interpolateString(e,i);if(W9(e))return this.interpolateFunction(e,i)}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(o,r)=>{let s=Cp(i,r);return ri(s)?s:o}):e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ut(t)))(o||t)}})();static \u0275prov=$({token:t,factory:t.\u0275fac})}return t})(),Uo=class{},Pf=(()=>{class t extends Uo{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ut(t)))(o||t)}})();static \u0275prov=$({token:t,factory:t.\u0275fac})}return t})(),Pl=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new y;onLangChange=new y;onDefaultLangChange=new y},wp=new G("ISOALTE_TRANSLATE_SERVICE"),xp=new G("USE_DEFAULT_LANG"),yp=new G("DEFAULT_LANGUAGE"),Mp=new G("USE_EXTEND"),us=t=>yt(t)?t:Pe(t),V=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new y;_onLangChange=new y;_onDefaultLangChange=new y;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,i,o,r,s,a=!0,l=!1,c=!1,u){this.store=e,this.currentLoader=i,this.compiler=o,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=c,u&&this.setDefaultLang(u)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=e),i.pipe(ct(1)).subscribe(()=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(this.lastUseLanguage=e,e===this.currentLang)return Pe(this.translations[e]);this.currentLang||(this.currentLang=e);let i=this.retrieveTranslations(e);return yt(i)?(i.pipe(ct(1)).subscribe(()=>{this.changeLang(e)}),i):(this.changeLang(e),Pe(this.translations[e]))}changeLang(e){e===this.lastUseLanguage&&(this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e))}retrieveTranslations(e){if(typeof this.translations[e]>"u"||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}getTranslation(e){return this.loadAndCompileTranslations(e)}loadAndCompileTranslations(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(ea(1),ct(1));return this.loadingTranslations=i.pipe(me(o=>this.compiler.compileTranslations(o,e)),ea(1),ct(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[e]=this.extend&&this.translations[e]?ae(ae({},o),this.translations[e]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),i}setTranslation(e,i,o=!1){let r=this.compiler.compileTranslations(i,e);(o||this.extend)&&this.translations[e]?this.translations[e]=_p(this.translations[e],r):this.translations[e]=r,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{this.langs.indexOf(i)===-1&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,i,o){let r;if(e&&(r=this.runInterpolation(Cp(e,i),o)),r===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.runInterpolation(Cp(this.translations[this.defaultLang],i),o)),r===void 0){let s={key:i,translateService:this};typeof o<"u"&&(s.interpolateParams=o),r=this.missingTranslationHandler.handle(s)}return r!==void 0?r:i}runInterpolation(e,i){if(Dp(e))return e.map(o=>this.runInterpolation(o,i));if(ps(e)){let o={};for(let r in e)o[r]=this.runInterpolation(e[r],i);return o}else return this.parser.interpolate(e,i)}getParsedResult(e,i,o){if(i instanceof Array){let r={},s=!1;for(let l of i)r[l]=this.getParsedResultForKey(e,l,o),s=s||yt(r[l]);if(!s)return r;let a=i.map(l=>us(r[l]));return _r(a).pipe(me(l=>{let c={};return l.forEach((u,f)=>{c[i[f]]=u}),c}))}return this.getParsedResultForKey(e,i,o)}get(e,i){if(!ri(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Pt(o=>us(this.getParsedResult(o,e,i)))):us(this.getParsedResult(this.translations[this.currentLang],e,i))}getStreamOnTranslationChange(e,i){if(!ri(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return zt(Ks(()=>this.get(e,i)),this.onTranslationChange.pipe(Tt(o=>{let r=this.getParsedResult(o.translations,e,i);return us(r)})))}stream(e,i){if(!ri(e)||!e.length)throw new Error('Parameter "key" required');return zt(Ks(()=>this.get(e,i)),this.onLangChange.pipe(Tt(o=>{let r=this.getParsedResult(o.translations,e,i);return us(r)})))}instant(e,i){if(!ri(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let o=this.getParsedResult(this.translations[this.currentLang],e,i);return yt(o)?Array.isArray(e)?e.reduce((r,s)=>(r[s]=s,r),{}):e:o}set(e,i,o=this.currentLang){G9(this.translations[o],e,kp(i)?this.compiler.compile(i,o):this.compiler.compileTranslations(i,o)),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(i){return new(i||t)(R(Pl),R(si),R(Uo),R($o),R($i),R(xp),R(wp),R(Mp),R(yp))};static \u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var pe=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,i){this.translate=e,this._ref=i}updateValue(e,i,o){let r=s=>{this.value=s!==void 0?s:e,this.lastKey=e,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,e,i);yt(s)?s.subscribe(r):r(s)}this.translate.get(e,i).subscribe(r)}transform(e,...i){if(!e||!e.length)return e;if(Sl(e,this.lastKey)&&Sl(i,this.lastParams))return this.value;let o;if(ri(i[0])&&i.length)if(kp(i[0])&&i[0].length){let r=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{o=JSON.parse(r)}catch(s){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else ps(i[0])&&(o=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{this.lastKey&&r.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||t)(_(V,16),_(Je,16))};static \u0275pipe=Rr({name:"translate",type:t,pure:!1,standalone:!0});static \u0275prov=$({token:t,factory:t.\u0275fac})}return t})();var K=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:si,useClass:Of},e.compiler||{provide:Uo,useClass:Pf},e.parser||{provide:$o,useClass:Sf},e.missingTranslationHandler||{provide:$i,useClass:If},Pl,{provide:wp,useValue:e.isolate},{provide:xp,useValue:e.useDefaultLang},{provide:Mp,useValue:e.extend},{provide:yp,useValue:e.defaultLanguage},V]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:si,useClass:Of},e.compiler||{provide:Uo,useClass:Pf},e.parser||{provide:$o,useClass:Sf},e.missingTranslationHandler||{provide:$i,useClass:If},{provide:wp,useValue:e.isolate},{provide:xp,useValue:e.useDefaultLang},{provide:Mp,useValue:e.extend},{provide:yp,useValue:e.defaultLanguage},V]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=ze({type:t});static \u0275inj=Be({})}return t})();var ce=(()=>{class t{constructor(e){this.translateService=e,this._selectedLanguage=J("en"),this._localizedStrings=J({})}get selectedLanguage(){return this._selectedLanguage()}set selectedLanguage(e){this._selectedLanguage.set(e),this.translateService.use(e);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings)}catch(i){console.error(i)}}get localizedStrings(){return this._localizedStrings()}set localizedStrings(e){this._localizedStrings.set(e),this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,e)}catch(i){console.error(i)}}static{this.\u0275fac=function(i){return new(i||t)(_(V))}}static{this.\u0275cmp=A({type:t,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},standalone:!0,features:[oe([V]),I],decls:2,vars:0,template:function(i,o){i&1&&(p(0,"p"),k(1," localized widget works! "),g())},dependencies:[z,K],encapsulation:3})}}return t})();function q9(t,n){t&1&&(p(0,"div",3),k(1),g()),t&2&&(d(),Z(" ",n," "))}function Y9(t,n){if(t&1&&(p(0,"div",5),k(1),g()),t&2){let e=n.$implicit;d(),Z(" ",e," ")}}function X9(t,n){if(t&1&&(p(0,"div",4),it(1,Y9,2,1,"div",5,Ot),g()),t&2){let e=m();d(),ot(e.spinnerTexts())}}var Tl=(()=>{class t{constructor(){this.spinnerSpinActive=!1,this.spinnerHoverEnabled=!1,this.spinnerDisabled=!1,this.spinnerText=J(void 0),this.spinnerTexts=J(void 0),this.isSpinnerTextsArray=jt(()=>{let e=this.spinnerTexts();return!!(e&&typeof e=="object"&&Array.isArray(e)&&e.length)})}set spinnerTextValue(e){this.spinnerText.set(e)}set spinnerTextsValue(e){this.spinnerTexts.set(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["lib-loading-spinner"]],inputs:{spinnerSpinActive:[2,"spinnerSpinActive","spinnerSpinActive",D],spinnerHoverEnabled:[2,"spinnerHoverEnabled","spinnerHoverEnabled",D],spinnerDisabled:[2,"spinnerDisabled","spinnerDisabled",D],spinnerTextValue:[0,"spinnerText","spinnerTextValue"],spinnerTextsValue:[0,"spinnerTexts","spinnerTextsValue"]},standalone:!0,features:[be,I],decls:5,vars:8,consts:[[1,"loading-spinner"],[1,"spinner-conatiner"],[1,"spinner-icon"],["data-test","spinner-text",1,"spinner-text"],["data-test","spinner-texts",1,"spinner-texts"],[1,"spinner-text"]],template:function(i,o){if(i&1&&(p(0,"div",0)(1,"div",1),O(2,"div",2),M(3,q9,2,1,"div",3)(4,X9,3,0,"div",4),g()()),i&2){let r;d(2),X("spinner-spin-active",o.spinnerSpinActive)("spinner-disabled",o.spinnerDisabled)("hover-enabled",o.spinnerHoverEnabled&&!o.spinnerDisabled),d(),L((r=o.spinnerText())?3:-1,r),d(),L(o.isSpinnerTextsArray()?4:-1)}},styles:['.loading-spinner[_ngcontent-%COMP%]{font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.4rem);font-weight:var(--font-weight, 400);color:var(--loading-spinner-text-color-enabled);position:absolute;min-width:100%;min-height:100%;background-color:var(--loading-spinner-background-color-enabled);display:flex;justify-content:center;align-items:center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%]{display:flex;flex-direction:column}@keyframes _ngcontent-%COMP%_spin_icon{to{transform:rotate(360deg)}}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon[_ngcontent-%COMP%]{min-width:var(--loading-spinner-size, 1rem);min-height:var(--loading-spinner-size, 1rem);background-image:var(--loading-spinner-icon, url("./assets/Spinner_18_gray.svg"));background-size:var(--loading-spinner-size, 1rem);background-repeat:no-repeat;background-position:center center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.hover-enabled[_ngcontent-%COMP%]:hover{background-image:var(--loading-spinner-hover-icon, url("./assets/Spinner_18_active.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.spinner-disabled[_ngcontent-%COMP%]{background-image:var(--loading-spinner-disabled-icon, url("./assets/Spinner_18_disabled.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-spin-active[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin_icon var(--loading-spinner-time, 1.8s) infinite linear}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-text[_ngcontent-%COMP%]{text-align:center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-texts[_ngcontent-%COMP%] > .spinner-text[_ngcontent-%COMP%]{text-align:center}']})}}return t})();var Q9=["*"];function K9(t,n){t&1&&(p(0,"div",1)(1,"div",4)(2,"span"),k(3),g()()()),t&2&&(d(3),ne(n))}function J9(t,n){if(t&1&&(p(0,"div",3),O(1,"lib-loading-spinner",5),g()),t&2){let e=m();d(),h("spinnerHoverEnabled",!1)("spinnerSpinActive",!0)("spinnerDisabled",!1)("spinnerText",e.loadingSpinnerText)}}var Wo=(()=>{class t{constructor(){this.header=J(""),this.isLoading=J(!1),this.loadingSpinnerText=""}set headerValue(e){this.header.set(e)}set isLoadingValue(e){this.isLoading.set(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["lib-bimplus-sidenav-drawer-content"]],inputs:{headerValue:[0,"header","headerValue"],isLoadingValue:[0,"isLoading","isLoadingValue"],loadingSpinnerText:"loadingSpinnerText"},standalone:!0,features:[I],ngContentSelectors:Q9,decls:5,vars:2,consts:[[1,"sidenav-drawer-content-layout"],[1,"sidenav-drawer-header"],[1,"sidenav-drawer-content-offset"],[1,"sidenav-drawer-loading-overlay"],[1,"sidenav-drawer-header-title"],[3,"spinnerHoverEnabled","spinnerSpinActive","spinnerDisabled","spinnerText"]],template:function(i,o){if(i&1&&(He(),p(0,"div",0),M(1,K9,4,1,"div",1),p(2,"div",2),Ee(3),g(),M(4,J9,2,4,"div",3),g()),i&2){let r;d(),L((r=o.header())?1:-1,r),d(3),L(o.isLoading()?4:-1)}},dependencies:[Tl],styles:[`.sidenav-drawer-content-layout{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;width:100%;max-height:100%;min-height:0}.sidenav-drawer-content-layout>.sidenav-drawer-header{flex:0;width:100%;background-color:var(--sidenav-drawer-content-header-background-color-enabled);transition:background-color .7s;display:inline-block}.sidenav-drawer-content-layout>.sidenav-drawer-header>.sidenav-drawer-header-title{font-size:1.8rem;flex-shrink:0;height:2.4rem;line-height:2.4rem;font-weight:600;padding-left:1.4rem;padding-bottom:0;margin-top:1rem;margin-bottom:1.2rem;overflow:hidden}.sidenav-drawer-content-layout>.sidenav-drawer-content-offset{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;max-height:100%;min-height:0;margin:var(--sidenav-drawer-content-offset, .8rem)}.sidenav-drawer-content-layout>.sidenav-drawer-loading-overlay{position:absolute;top:4.6rem;left:0;min-width:100%;min-height:100%;z-index:4}.sidenav-drawer-content-layout>.sidenav-drawer-loading-overlay>lib-loading-spinner{--background-color: var(--sidenav-drawer-loading-spinner-background-color-enabled);--loading-spinner-size: 6rem;--loading-spinner-time: 1.8s;--color: var(--sidenav-drawer-loading-spinner-text-color-enabled)}
|
|
9
|
+
`],encapsulation:2,changeDetection:0})}}return t})(),Zo=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ze({type:t})}static{this.\u0275inj=Be({providers:[{provide:Af,useValue:Ef}]})}}return t})();var si=class{},Of=(()=>{class t extends si{getTranslation(e){return Pe({})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ut(t)))(o||t)}})();static \u0275prov=$({token:t,factory:t.\u0275fac})}return t})(),$i=class{},If=(()=>{class t{handle(e){return e.key}static \u0275fac=function(i){return new(i||t)};static \u0275prov=$({token:t,factory:t.\u0275fac})}return t})();function Sl(t,n){if(t===n)return!0;if(t===null||n===null)return!1;if(t!==t&&n!==n)return!0;let e=typeof t,i=typeof n,o,r,s;if(e==i&&e=="object")if(Array.isArray(t)){if(!Array.isArray(n))return!1;if((o=t.length)==n.length){for(r=0;r<o;r++)if(!Sl(t[r],n[r]))return!1;return!0}}else{if(Array.isArray(n))return!1;s=Object.create(null);for(r in t){if(!Sl(t[r],n[r]))return!1;s[r]=!0}for(r in n)if(!(r in s)&&typeof n[r]<"u")return!1;return!0}return!1}function ri(t){return typeof t<"u"&&t!==null}function ps(t){return Il(t)&&!Dp(t)}function Il(t){return typeof t=="object"}function Dp(t){return Array.isArray(t)}function kp(t){return typeof t=="string"}function W9(t){return typeof t=="function"}function _p(t,n){let e=Object.assign({},t);return Il(t)?(Il(t)&&Il(n)&&Object.keys(n).forEach(i=>{ps(n[i])?i in t?e[i]=_p(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e):_p({},n)}function Cp(t,n){let e=n.split(".");n="";do n+=e.shift(),ri(t)&&ri(t[n])&&(ps(t[n])||Dp(t[n])||!e.length)?(t=t[n],n=""):e.length?n+=".":t=void 0;while(e.length);return t}function G9(t,n,e){let i=n.split("."),o=t;for(let r=0;r<i.length;r++){let s=i[r];r===i.length-1?o[s]=e:((!o[s]||!ps(o[s]))&&(o[s]={}),o=o[s])}}var $o=class{},Sf=(()=>{class t extends $o{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){if(kp(e))return this.interpolateString(e,i);if(W9(e))return this.interpolateFunction(e,i)}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(o,r)=>{let s=Cp(i,r);return ri(s)?s:o}):e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ut(t)))(o||t)}})();static \u0275prov=$({token:t,factory:t.\u0275fac})}return t})(),Uo=class{},Pf=(()=>{class t extends Uo{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ut(t)))(o||t)}})();static \u0275prov=$({token:t,factory:t.\u0275fac})}return t})(),Pl=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new y;onLangChange=new y;onDefaultLangChange=new y},wp=new G("ISOALTE_TRANSLATE_SERVICE"),xp=new G("USE_DEFAULT_LANG"),yp=new G("DEFAULT_LANGUAGE"),Mp=new G("USE_EXTEND"),us=t=>yt(t)?t:Pe(t),V=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new y;_onLangChange=new y;_onDefaultLangChange=new y;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,i,o,r,s,a=!0,l=!1,c=!1,u){this.store=e,this.currentLoader=i,this.compiler=o,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=c,u&&this.setDefaultLang(u)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=e),i.pipe(ct(1)).subscribe(()=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(this.lastUseLanguage=e,e===this.currentLang)return Pe(this.translations[e]);this.currentLang||(this.currentLang=e);let i=this.retrieveTranslations(e);return yt(i)?(i.pipe(ct(1)).subscribe(()=>{this.changeLang(e)}),i):(this.changeLang(e),Pe(this.translations[e]))}changeLang(e){e===this.lastUseLanguage&&(this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e))}retrieveTranslations(e){if(typeof this.translations[e]>"u"||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}getTranslation(e){return this.loadAndCompileTranslations(e)}loadAndCompileTranslations(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(ea(1),ct(1));return this.loadingTranslations=i.pipe(me(o=>this.compiler.compileTranslations(o,e)),ea(1),ct(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[e]=this.extend&&this.translations[e]?ae(ae({},o),this.translations[e]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),i}setTranslation(e,i,o=!1){let r=this.compiler.compileTranslations(i,e);(o||this.extend)&&this.translations[e]?this.translations[e]=_p(this.translations[e],r):this.translations[e]=r,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{this.langs.indexOf(i)===-1&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,i,o){let r;if(e&&(r=this.runInterpolation(Cp(e,i),o)),r===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.runInterpolation(Cp(this.translations[this.defaultLang],i),o)),r===void 0){let s={key:i,translateService:this};typeof o<"u"&&(s.interpolateParams=o),r=this.missingTranslationHandler.handle(s)}return r!==void 0?r:i}runInterpolation(e,i){if(Dp(e))return e.map(o=>this.runInterpolation(o,i));if(ps(e)){let o={};for(let r in e)o[r]=this.runInterpolation(e[r],i);return o}else return this.parser.interpolate(e,i)}getParsedResult(e,i,o){if(i instanceof Array){let r={},s=!1;for(let l of i)r[l]=this.getParsedResultForKey(e,l,o),s=s||yt(r[l]);if(!s)return r;let a=i.map(l=>us(r[l]));return _r(a).pipe(me(l=>{let c={};return l.forEach((u,f)=>{c[i[f]]=u}),c}))}return this.getParsedResultForKey(e,i,o)}get(e,i){if(!ri(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Pt(o=>us(this.getParsedResult(o,e,i)))):us(this.getParsedResult(this.translations[this.currentLang],e,i))}getStreamOnTranslationChange(e,i){if(!ri(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return zt(Ks(()=>this.get(e,i)),this.onTranslationChange.pipe(Tt(o=>{let r=this.getParsedResult(o.translations,e,i);return us(r)})))}stream(e,i){if(!ri(e)||!e.length)throw new Error('Parameter "key" required');return zt(Ks(()=>this.get(e,i)),this.onLangChange.pipe(Tt(o=>{let r=this.getParsedResult(o.translations,e,i);return us(r)})))}instant(e,i){if(!ri(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let o=this.getParsedResult(this.translations[this.currentLang],e,i);return yt(o)?Array.isArray(e)?e.reduce((r,s)=>(r[s]=s,r),{}):e:o}set(e,i,o=this.currentLang){G9(this.translations[o],e,kp(i)?this.compiler.compile(i,o):this.compiler.compileTranslations(i,o)),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(i){return new(i||t)(R(Pl),R(si),R(Uo),R($o),R($i),R(xp),R(wp),R(Mp),R(yp))};static \u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var pe=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,i){this.translate=e,this._ref=i}updateValue(e,i,o){let r=s=>{this.value=s!==void 0?s:e,this.lastKey=e,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,e,i);yt(s)?s.subscribe(r):r(s)}this.translate.get(e,i).subscribe(r)}transform(e,...i){if(!e||!e.length)return e;if(Sl(e,this.lastKey)&&Sl(i,this.lastParams))return this.value;let o;if(ri(i[0])&&i.length)if(kp(i[0])&&i[0].length){let r=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{o=JSON.parse(r)}catch(s){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else ps(i[0])&&(o=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{this.lastKey&&r.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||t)(_(V,16),_(Je,16))};static \u0275pipe=Rr({name:"translate",type:t,pure:!1,standalone:!0});static \u0275prov=$({token:t,factory:t.\u0275fac})}return t})();var K=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:si,useClass:Of},e.compiler||{provide:Uo,useClass:Pf},e.parser||{provide:$o,useClass:Sf},e.missingTranslationHandler||{provide:$i,useClass:If},Pl,{provide:wp,useValue:e.isolate},{provide:xp,useValue:e.useDefaultLang},{provide:Mp,useValue:e.extend},{provide:yp,useValue:e.defaultLanguage},V]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:si,useClass:Of},e.compiler||{provide:Uo,useClass:Pf},e.parser||{provide:$o,useClass:Sf},e.missingTranslationHandler||{provide:$i,useClass:If},{provide:wp,useValue:e.isolate},{provide:xp,useValue:e.useDefaultLang},{provide:Mp,useValue:e.extend},{provide:yp,useValue:e.defaultLanguage},V]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=ze({type:t});static \u0275inj=Be({})}return t})();var ce=(()=>{class t{constructor(e){this.translateService=e,this._selectedLanguage=J("en"),this._localizedStrings=J({})}get selectedLanguage(){return this._selectedLanguage()}set selectedLanguage(e){this._selectedLanguage.set(e),this.translateService.use(e);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings())}catch(i){console.error(i)}}get localizedStrings(){return this._localizedStrings()}set localizedStrings(e){this._localizedStrings.set(e),this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,e)}catch(i){console.error(i)}}static{this.\u0275fac=function(i){return new(i||t)(_(V))}}static{this.\u0275cmp=A({type:t,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},standalone:!0,features:[oe([V]),I],decls:2,vars:0,template:function(i,o){i&1&&(p(0,"p"),k(1," localized widget works! "),g())},dependencies:[z,K],encapsulation:3})}}return t})();function q9(t,n){t&1&&(p(0,"div",3),k(1),g()),t&2&&(d(),Z(" ",n," "))}function Y9(t,n){if(t&1&&(p(0,"div",5),k(1),g()),t&2){let e=n.$implicit;d(),Z(" ",e," ")}}function X9(t,n){if(t&1&&(p(0,"div",4),it(1,Y9,2,1,"div",5,Ot),g()),t&2){let e=m();d(),ot(e.spinnerTexts())}}var Tl=(()=>{class t{constructor(){this.spinnerSpinActive=!1,this.spinnerHoverEnabled=!1,this.spinnerDisabled=!1,this.spinnerText=J(void 0),this.spinnerTexts=J(void 0),this.isSpinnerTextsArray=jt(()=>{let e=this.spinnerTexts();return!!(e&&typeof e=="object"&&Array.isArray(e)&&e.length)})}set spinnerTextValue(e){this.spinnerText.set(e)}set spinnerTextsValue(e){this.spinnerTexts.set(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["lib-loading-spinner"]],inputs:{spinnerSpinActive:[2,"spinnerSpinActive","spinnerSpinActive",D],spinnerHoverEnabled:[2,"spinnerHoverEnabled","spinnerHoverEnabled",D],spinnerDisabled:[2,"spinnerDisabled","spinnerDisabled",D],spinnerTextValue:[0,"spinnerText","spinnerTextValue"],spinnerTextsValue:[0,"spinnerTexts","spinnerTextsValue"]},standalone:!0,features:[be,I],decls:5,vars:8,consts:[[1,"loading-spinner"],[1,"spinner-conatiner"],[1,"spinner-icon"],["data-test","spinner-text",1,"spinner-text"],["data-test","spinner-texts",1,"spinner-texts"],[1,"spinner-text"]],template:function(i,o){if(i&1&&(p(0,"div",0)(1,"div",1),O(2,"div",2),M(3,q9,2,1,"div",3)(4,X9,3,0,"div",4),g()()),i&2){let r;d(2),X("spinner-spin-active",o.spinnerSpinActive)("spinner-disabled",o.spinnerDisabled)("hover-enabled",o.spinnerHoverEnabled&&!o.spinnerDisabled),d(),L((r=o.spinnerText())?3:-1,r),d(),L(o.isSpinnerTextsArray()?4:-1)}},styles:['.loading-spinner[_ngcontent-%COMP%]{font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.4rem);font-weight:var(--font-weight, 400);color:var(--loading-spinner-text-color-enabled);position:absolute;min-width:100%;min-height:100%;background-color:var(--loading-spinner-background-color-enabled);display:flex;justify-content:center;align-items:center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%]{display:flex;flex-direction:column}@keyframes _ngcontent-%COMP%_spin_icon{to{transform:rotate(360deg)}}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon[_ngcontent-%COMP%]{min-width:var(--loading-spinner-size, 1rem);min-height:var(--loading-spinner-size, 1rem);background-image:var(--loading-spinner-icon, url("./assets/Spinner_18_gray.svg"));background-size:var(--loading-spinner-size, 1rem);background-repeat:no-repeat;background-position:center center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.hover-enabled[_ngcontent-%COMP%]:hover{background-image:var(--loading-spinner-hover-icon, url("./assets/Spinner_18_active.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.spinner-disabled[_ngcontent-%COMP%]{background-image:var(--loading-spinner-disabled-icon, url("./assets/Spinner_18_disabled.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-spin-active[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin_icon var(--loading-spinner-time, 1.8s) infinite linear}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-text[_ngcontent-%COMP%]{text-align:center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-texts[_ngcontent-%COMP%] > .spinner-text[_ngcontent-%COMP%]{text-align:center}']})}}return t})();var Q9=["*"];function K9(t,n){t&1&&(p(0,"div",1)(1,"div",4)(2,"span"),k(3),g()()()),t&2&&(d(3),ne(n))}function J9(t,n){if(t&1&&(p(0,"div",3),O(1,"lib-loading-spinner",5),g()),t&2){let e=m();d(),h("spinnerHoverEnabled",!1)("spinnerSpinActive",!0)("spinnerDisabled",!1)("spinnerText",e.loadingSpinnerText)}}var Wo=(()=>{class t{constructor(){this.header=J(""),this.isLoading=J(!1),this.loadingSpinnerText=""}set headerValue(e){this.header.set(e)}set isLoadingValue(e){this.isLoading.set(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["lib-bimplus-sidenav-drawer-content"]],inputs:{headerValue:[0,"header","headerValue"],isLoadingValue:[0,"isLoading","isLoadingValue"],loadingSpinnerText:"loadingSpinnerText"},standalone:!0,features:[I],ngContentSelectors:Q9,decls:5,vars:2,consts:[[1,"sidenav-drawer-content-layout"],[1,"sidenav-drawer-header"],[1,"sidenav-drawer-content-offset"],[1,"sidenav-drawer-loading-overlay"],[1,"sidenav-drawer-header-title"],[3,"spinnerHoverEnabled","spinnerSpinActive","spinnerDisabled","spinnerText"]],template:function(i,o){if(i&1&&(He(),p(0,"div",0),M(1,K9,4,1,"div",1),p(2,"div",2),Ee(3),g(),M(4,J9,2,4,"div",3),g()),i&2){let r;d(),L((r=o.header())?1:-1,r),d(3),L(o.isLoading()?4:-1)}},dependencies:[Tl],styles:[`.sidenav-drawer-content-layout{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;width:100%;max-height:100%;min-height:0}.sidenav-drawer-content-layout>.sidenav-drawer-header{flex:0;width:100%;background-color:var(--sidenav-drawer-content-header-background-color-enabled);transition:background-color .7s;display:inline-block}.sidenav-drawer-content-layout>.sidenav-drawer-header>.sidenav-drawer-header-title{font-size:1.8rem;flex-shrink:0;height:2.4rem;line-height:2.4rem;font-weight:600;padding-left:1.4rem;padding-bottom:0;margin-top:1rem;margin-bottom:1.2rem;overflow:hidden}.sidenav-drawer-content-layout>.sidenav-drawer-content-offset{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;max-height:100%;min-height:0;margin:var(--sidenav-drawer-content-offset, .8rem)}.sidenav-drawer-content-layout>.sidenav-drawer-loading-overlay{position:absolute;top:4.6rem;left:0;min-width:100%;min-height:100%;z-index:4}.sidenav-drawer-content-layout>.sidenav-drawer-loading-overlay>lib-loading-spinner{--background-color: var(--sidenav-drawer-loading-spinner-background-color-enabled);--loading-spinner-size: 6rem;--loading-spinner-time: 1.8s;--color: var(--sidenav-drawer-loading-spinner-text-color-enabled)}
|
|
10
10
|
`],encapsulation:2})}}return t})();function e7(t,n){if(t&1){let e=F();Wt(0),p(1,"button",2),v("click",function(){let o=C(e).$implicit,r=m();return w(r._buttonClicked(o))}),k(2),g(),Gt()}if(t&2){let e=n.$implicit,i=n.last,o=n.first;d(),X("last",i)("first",o)("primary-button",e.buttonStyle===void 0||e.buttonStyle==="primary")("secondary-button",e.buttonStyle==="secondary")("text-button",e.buttonType===void 0||e.buttonType==="text")("icon-button",e.buttonType==="icon")("combined-button",e.buttonType==="combined")("disabled",e.disabled===!0),_e("title",e.tooltip),d(),Z(" ",e.title," ")}}var Ll=(()=>{class t extends ce{constructor(){super(...arguments),this.items=J([]),this.buttonClicked=new y}set itemsValue(e){this.items.set(e)}_buttonClicked(e){e.disabled||this.buttonClicked.emit({id:e.id})}static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=Ut(t)))(o||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["lib-bimplus-buttons-row"]],inputs:{itemsValue:[0,"items","itemsValue"]},outputs:{buttonClicked:"buttonClicked"},standalone:!0,features:[Y,I],decls:2,vars:1,consts:[[1,"button-row"],[4,"ngFor","ngForOf"],["data-test","button",3,"click","title"]],template:function(i,o){i&1&&(p(0,"div",0),M(1,e7,3,18,"ng-container",1),g()),i&2&&(d(),h("ngForOf",o.items()))},dependencies:[Fe],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-disabled>.ng-select-container{background-color:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}[dir=rtl] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:var(--select-container-placeholder-text-color-enabled)}.ng-select.ng-select-single .ng-select-container{height:36px}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}[dir=rtl] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);border-radius:2px;margin-right:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:var(--select-multiple-container-value-background-color-disabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label,.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:var(--select-multiple-container-value-input-text-color-enabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}.ng-select .ng-clear-wrapper{color:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.ng-select .ng-clear-wrapper:focus{outline:none}.ng-select .ng-spinner-zone{padding:5px 5px 0 0}[dir=rtl] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}[dir=rtl] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-right-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-color:var(--dropdown-panel-select-bottom-border-color-enabled);margin-top:-1px}.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-left-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:var(--dropdown-panel-items-text-color-enabled);cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);padding:8px 10px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}[dir=rtl] .ng-dropdown-panel{direction:rtl;text-align:right}.button-row{display:flex;margin-left:var(--button-row-margin-left, 0);margin-right:var(--button-row-margin-right, 0);margin-top:var(--button-row-margin-top, .8rem);margin-bottom:var(--button-row-margin-bottom, .8rem);justify-content:flex-end}.button-row>.primary-button{text-transform:uppercase;font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.2rem);font-weight:var(--font-weight, 700);display:inline-block;height:var(--button-height, 2.4rem);white-space:nowrap;border-radius:var(--button-border-style, .2rem);vertical-align:middle;border-color:var(--primary-button-border-color-enabled);border-style:var(--button-border-style, solid);border-width:var(--button-border-style, .2rem);color:var(--primary-button-text-color-enabled);background-color:var(--primary-button-background-color-enabled);cursor:pointer;margin-right:var(--buttons-spacing, .8rem)}.button-row>.primary-button.last{margin-right:0}.button-row>.primary-button:hover{border-color:var(--primary-button-border-color-hovered);color:var(--primary-button-text-color-hovered);background-color:var(--primary-button-background-color-hovered);outline:0}.button-row>.primary-button:focus{border-color:var(--primary-button-border-color-focused);color:var(--primary-button-text-color-focused);background-color:var(--primary-button-background-color-focused);outline:0}.button-row>.primary-button.disabled,.button-row>.primary-button:disabled,.button-row>.primary-button:disabled:active{border-color:var(--primary-button-border-color-disabled);color:var(--primary-button-text-color-disabled);background-color:var(--primary-button-background-color-disabled);cursor:default}.button-row>.primary-button:active{border-color:var(--primary-button-border-color-pressed);color:var(--primary-button-text-color-pressed);background-color:var(--primary-button-background-color-pressed);cursor:default}
|
|
11
11
|
`],encapsulation:3})}}return t})();var t7=[[["lib-expansion-panel-header"]],"*"],n7=["lib-expansion-panel-header","*"],ai=(()=>{class t{constructor(){this.expanded=J(!0)}set expandedValue(e){this.expanded.set(e)}toggleExpand(){this.expanded.update(e=>!e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["lib-expansion-panel"]],inputs:{expandedValue:[0,"expanded","expandedValue"]},standalone:!0,features:[I],ngContentSelectors:n7,decls:7,vars:2,consts:[[1,"expansion-panel"],[1,"expansion-panel-header-row"],["data-test","expansion-panel",1,"expansion-panel-expander-icon",3,"click","keypress","ngClass"],[1,"expansion-panel-header-content"],[1,"expansion-panel-content-container",3,"ngClass"]],template:function(i,o){i&1&&(He(t7),p(0,"div",0)(1,"div",1)(2,"div",2),v("click",function(){return o.toggleExpand()})("keypress",function(){return o.toggleExpand()}),g(),p(3,"div",3),Ee(4),g()(),p(5,"div",4),Ee(6,1),g()()),i&2&&(d(2),h("ngClass",o.expanded()?"open":"closed"),d(3),h("ngClass",o.expanded()?"":"collapsed"))},dependencies:[z,re],styles:['.expansion-panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:2.4rem}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon[_ngcontent-%COMP%]{width:var(--expansion-panel-header-height, 2.4rem);height:var(--expansion-panel-header-height, 2.4rem);display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--expansion-panel-expander-icon-size, 1.8rem) var(--expansion-panel-expander-icon-size, 1.8rem);min-width:var(--expansion-panel-header-height, 2.4rem);max-width:var(--expansion-panel-header-height, 2.4rem)}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon.open[_ngcontent-%COMP%]{background-image:url("./assets/expanded_18.svg")}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon.closed[_ngcontent-%COMP%]{background-image:url("./assets/collapsed_18.svg")}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-header-content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex:1;line-height:var(--expansion-panel-header-height, 2.4rem);min-width:0}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-content-container[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;padding-left:var(--expansion-panel-content-container-padding-left, 0)}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-content-container.collapsed[_ngcontent-%COMP%]{display:none}']})}}return t})();var i7=["*",[["lib-expansion-panel-header-actions"]]],o7=["*","lib-expansion-panel-header-actions"],li=(()=>{class t{constructor(){this.centerMenuButtonClass=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["lib-expansion-panel-header"]],hostVars:2,hostBindings:function(i,o){i&2&&X("expansion-panel-header-container",o.centerMenuButtonClass)},standalone:!0,features:[I],ngContentSelectors:o7,decls:4,vars:0,consts:[[1,"expansion-panel-header-title"]],template:function(i,o){i&1&&(He(i7),p(0,"div",0),Ee(1),g(),p(2,"div"),Ee(3,1),g())},styles:[`.expansion-panel-header-title{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;user-select:none}.expansion-panel-header-container{display:flex;width:100%}
|
|
12
12
|
`],encapsulation:2})}}return t})();var r7=["*"],Go=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["lib-expansion-panel-header-actions"]],standalone:!0,features:[I],ngContentSelectors:r7,decls:1,vars:0,template:function(i,o){i&1&&(He(),Ee(0))}})}}return t})();function s7(t,n){t&1&&(p(0,"div",0),k(1),g()),t&2&&(d(),Z(" ",n," "))}var Tf=(()=>{class t{constructor(){this.message=J(void 0)}set messageValue(e){this.message.set(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["lib-bimplus-text-message"]],inputs:{messageValue:[0,"message","messageValue"]},standalone:!0,features:[I],decls:1,vars:1,consts:[[1,"message"]],template:function(i,o){if(i&1&&M(0,s7,2,1,"div",0),i&2){let r;L((r=o.message())?0:-1,r)}},styles:[".message[_ngcontent-%COMP%]{background-color:transparent;color:var(--text-message-text-color-enabled);padding:.7rem;border:.2rem solid var(--text-message-border-color-enabled);border-radius:.5rem;margin-top:var(--text-message-margin, 2.4rem);margin-bottom:var(--text-message-margin, 2.4rem);font-size:var(--font-size, 1.3rem)}"]})}}return t})();var a7=typeof global=="object"&&global&&global.Object===Object&&global,Lf=a7;var l7=typeof self=="object"&&self&&self.Object===Object&&self,c7=Lf||l7||Function("return this")(),Vl=c7;var d7=Vl.Symbol,qo=d7;var Vf=Object.prototype,u7=Vf.hasOwnProperty,p7=Vf.toString,ms=qo?qo.toStringTag:void 0;function m7(t){var n=u7.call(t,ms),e=t[ms];try{t[ms]=void 0;var i=!0}catch{}var o=p7.call(t);return i&&(n?t[ms]=e:delete t[ms]),o}var Ff=m7;var g7=Object.prototype,h7=g7.toString;function f7(t){return h7.call(t)}var Nf=f7;var b7="[object Null]",v7="[object Undefined]",jf=qo?qo.toStringTag:void 0;function _7(t){return t==null?t===void 0?v7:b7:jf&&jf in Object(t)?Ff(t):Nf(t)}var Rf=_7;function C7(t){return t!=null&&typeof t=="object"}var Bf=C7;var w7="[object Symbol]";function x7(t){return typeof t=="symbol"||Bf(t)&&Rf(t)==w7}var zf=x7;var y7=/\s/;function M7(t){for(var n=t.length;n--&&y7.test(t.charAt(n)););return n}var Hf=M7;var D7=/^\s+/;function k7(t){return t&&t.slice(0,Hf(t)+1).replace(D7,"")}var Zf=k7;function E7(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}var Ui=E7;var $f=NaN,A7=/^[-+]0x[0-9a-f]+$/i,O7=/^0b[01]+$/i,I7=/^0o[0-7]+$/i,S7=parseInt;function P7(t){if(typeof t=="number")return t;if(zf(t))return $f;if(Ui(t)){var n=typeof t.valueOf=="function"?t.valueOf():t;t=Ui(n)?n+"":n}if(typeof t!="string")return t===0?t:+t;t=Zf(t);var e=O7.test(t);return e||I7.test(t)?S7(t.slice(2),e?2:8):A7.test(t)?$f:+t}var Ep=P7;var T7=function(){return Vl.Date.now()},Fl=T7;var L7="Expected a function",V7=Math.max,F7=Math.min;function N7(t,n,e){var i,o,r,s,a,l,c=0,u=!1,f=!1,x=!0;if(typeof t!="function")throw new TypeError(L7);n=Ep(n)||0,Ui(e)&&(u=!!e.leading,f="maxWait"in e,r=f?V7(Ep(e.maxWait)||0,n):r,x="trailing"in e?!!e.trailing:x);function b(H){var xe=i,je=o;return i=o=void 0,c=H,s=t.apply(je,xe),s}function E(H){return c=H,a=setTimeout(T,n),u?b(H):s}function S(H){var xe=H-l,je=H-c,Dn=n-xe;return f?F7(Dn,r-je):Dn}function P(H){var xe=H-l,je=H-c;return l===void 0||xe>=n||xe<0||f&&je>=r}function T(){var H=Fl();if(P(H))return U(H);a=setTimeout(T,S(H))}function U(H){return a=void 0,x&&i?b(H):(i=o=void 0,s)}function de(){a!==void 0&&clearTimeout(a),c=0,i=l=o=a=void 0}function Le(){return a===void 0?s:U(Fl())}function Te(){var H=Fl(),xe=P(H);if(i=arguments,o=this,l=H,xe){if(a===void 0)return E(l);if(f)return clearTimeout(a),a=setTimeout(T,n),b(l)}return a===void 0&&(a=setTimeout(T,n)),s}return Te.cancel=de,Te.flush=Le,Te}var Wi=N7;var j7="Expected a function";function R7(t,n,e){var i=!0,o=!0;if(typeof t!="function")throw new TypeError(j7);return Ui(e)&&(i="leading"in e?!!e.leading:i,o="trailing"in e?!!e.trailing:o),Wi(t,n,{leading:i,maxWait:n,trailing:o})}var Ap=R7;var Xo=function(){return Xo=Object.assign||function(n){for(var e,i=1,o=arguments.length;i<o;i++){e=arguments[i];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},Xo.apply(this,arguments)};function Gf(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}function qf(t){return!t||!t.ownerDocument?document:t.ownerDocument}var Yf=function(t){var n={},e=Array.prototype.reduce.call(t,function(i,o){var r=o.name.match(/data-simplebar-(.+)/);if(r){var s=r[1].replace(/\W+(.)/g,function(a,l){return l.toUpperCase()});switch(o.value){case"true":i[s]=!0;break;case"false":i[s]=!1;break;case void 0:i[s]=!0;break;default:i[s]=o.value}}return i},n);return e};function Xf(t,n){var e;t&&(e=t.classList).add.apply(e,n.split(" "))}function Qf(t,n){t&&n.split(" ").forEach(function(e){t.classList.remove(e)})}function Kf(t){return".".concat(t.split(" ").join("."))}var Ip=!!(typeof window<"u"&&window.document&&window.document.createElement),B7=Object.freeze({__proto__:null,addClasses:Xf,canUseDOM:Ip,classNamesToQuery:Kf,getElementDocument:qf,getElementWindow:Gf,getOptions:Yf,removeClasses:Qf}),Yo=null,Uf=null;Ip&&window.addEventListener("resize",function(){Uf!==window.devicePixelRatio&&(Uf=window.devicePixelRatio,Yo=null)});function Wf(){if(Yo===null){if(typeof document>"u")return Yo=0,Yo;var t=document.body,n=document.createElement("div");n.classList.add("simplebar-hide-scrollbar"),t.appendChild(n);var e=n.getBoundingClientRect().right;t.removeChild(n),Yo=e}return Yo}var ci=Gf,Op=qf,z7=Yf,di=Xf,ui=Qf,It=Kf,gs=function(){function t(n,e){e===void 0&&(e={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var o=ci(i.el);i.scrollXTicking||(o.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(o.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,di(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){ui(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(di(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){ui(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(o){i.mouseX=o.clientX,i.mouseY=o.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(o){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var r,s;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(r=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(s=i.isWithinBounds(i.axis.y.track.rect)),(r||s)&&(o.stopPropagation(),o.type==="pointerdown"&&o.pointerType!=="touch"&&(r&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(o,"x"):i.onTrackClick(o,"x")),s&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(o,"y"):i.onTrackClick(o,"y"))))}},this.drag=function(o){var r,s,a,l,c,u,f,x,b,E,S;if(!(!i.draggedAxis||!i.contentWrapperEl)){var P,T=i.axis[i.draggedAxis].track,U=(s=(r=T.rect)===null||r===void 0?void 0:r[i.axis[i.draggedAxis].sizeAttr])!==null&&s!==void 0?s:0,de=i.axis[i.draggedAxis].scrollbar,Le=(l=(a=i.contentWrapperEl)===null||a===void 0?void 0:a[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&l!==void 0?l:0,Te=parseInt((u=(c=i.elStyles)===null||c===void 0?void 0:c[i.axis[i.draggedAxis].sizeAttr])!==null&&u!==void 0?u:"0px",10);o.preventDefault(),o.stopPropagation(),i.draggedAxis==="y"?P=o.pageY:P=o.pageX;var H=P-((x=(f=T.rect)===null||f===void 0?void 0:f[i.axis[i.draggedAxis].offsetAttr])!==null&&x!==void 0?x:0)-i.axis[i.draggedAxis].dragOffset;H=i.draggedAxis==="x"&&i.isRtl?((E=(b=T.rect)===null||b===void 0?void 0:b[i.axis[i.draggedAxis].sizeAttr])!==null&&E!==void 0?E:0)-de.size-H:H;var xe=H/(U-de.size),je=xe*(Le-Te);i.draggedAxis==="x"&&i.isRtl&&(je=!((S=t.getRtlHelpers())===null||S===void 0)&&S.isScrollingToNegative?-je:je),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=je}},this.onEndDrag=function(o){i.isDragging=!1;var r=Op(i.el),s=ci(i.el);o.preventDefault(),o.stopPropagation(),ui(i.el,i.classNames.dragging),i.onStopScrolling(),r.removeEventListener("mousemove",i.drag,!0),r.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=s.setTimeout(function(){r.removeEventListener("click",i.preventClick,!0),r.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(o){o.preventDefault(),o.stopPropagation()},this.el=n,this.options=Xo(Xo({},t.defaultOptions),e),this.classNames=Xo(Xo({},t.defaultOptions.classNames),e.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Ap(this._onMouseMove,64),this.onWindowResize=Wi(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Wi(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Wi(this._onMouseEntered,this.stopScrollDelay),this.init()}return t.getRtlHelpers=function(){if(t.rtlHelpers)return t.rtlHelpers;var n=document.createElement("div");n.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var e=n.firstElementChild,i=e?.firstElementChild;if(!i)return null;document.body.appendChild(e),e.scrollLeft=0;var o=t.getOffset(e),r=t.getOffset(i);e.scrollLeft=-999;var s=t.getOffset(i);return document.body.removeChild(e),t.rtlHelpers={isScrollOriginAtZero:o.left!==r.left,isScrollingToNegative:r.left!==s.left},t.rtlHelpers},t.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Wf()}catch{return Wf()}},t.getOffset=function(n){var e=n.getBoundingClientRect(),i=Op(n),o=ci(n);return{top:e.top+(o.pageYOffset||i.documentElement.scrollTop),left:e.left+(o.pageXOffset||i.documentElement.scrollLeft)}},t.prototype.init=function(){Ip&&(this.initDOM(),this.rtlHelpers=t.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.prototype.initDOM=function(){var n,e;this.wrapperEl=this.el.querySelector(It(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(It(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(It(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(It(this.classNames.offset)),this.maskEl=this.el.querySelector(It(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,It(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(It(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(It(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(It(this.classNames.track)).concat(It(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(It(this.classNames.track)).concat(It(this.classNames.vertical))),this.axis.x.scrollbar.el=((n=this.axis.x.track.el)===null||n===void 0?void 0:n.querySelector(It(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((e=this.axis.y.track.el)===null||e===void 0?void 0:e.querySelector(It(this.classNames.scrollbar)))||null,this.options.autoHide||(di(this.axis.x.scrollbar.el,this.classNames.visible),di(this.axis.y.scrollbar.el,this.classNames.visible))},t.prototype.initListeners=function(){var n=this,e,i=ci(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(e=this.contentWrapperEl)===null||e===void 0||e.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var o=!1,r=i.ResizeObserver||ResizeObserver;this.resizeObserver=new r(function(){o&&i.requestAnimationFrame(function(){n.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){o=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){n.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},t.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var n=ci(this.el);this.elStyles=n.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var e=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,o=this.heightAutoObserverEl.offsetWidth<=1||e>0,r=this.contentWrapperEl.offsetWidth,s=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var l=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=o?"".concat(e||c,"px"):"auto",this.placeholderEl.style.height="".concat(l,"px");var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=e!==0&&c>e,this.axis.y.isOverflowing=l>u,this.axis.x.isOverflowing=s==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=a==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var f=this.axis.x.isOverflowing?this.scrollbarWidth:0,x=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>r-x,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&l>u-f,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},t.prototype.getScrollbarSize=function(n){var e,i;if(n===void 0&&(n="y"),!this.axis[n].isOverflowing||!this.contentEl)return 0;var o=this.contentEl[this.axis[n].scrollSizeAttr],r=(i=(e=this.axis[n].track.el)===null||e===void 0?void 0:e[this.axis[n].offsetSizeAttr])!==null&&i!==void 0?i:0,s=r/o,a;return a=Math.max(~~(s*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(a=Math.min(a,this.options.scrollbarMaxSize)),a},t.prototype.positionScrollbar=function(n){var e,i,o;n===void 0&&(n="y");var r=this.axis[n].scrollbar;if(!(!this.axis[n].isOverflowing||!this.contentWrapperEl||!r.el||!this.elStyles)){var s=this.contentWrapperEl[this.axis[n].scrollSizeAttr],a=((e=this.axis[n].track.el)===null||e===void 0?void 0:e[this.axis[n].offsetSizeAttr])||0,l=parseInt(this.elStyles[this.axis[n].sizeAttr],10),c=this.contentWrapperEl[this.axis[n].scrollOffsetAttr];c=n==="x"&&this.isRtl&&(!((i=t.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-c:c,n==="x"&&this.isRtl&&(c=!((o=t.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?c:-c);var u=c/(s-l),f=~~((a-r.size)*u);f=n==="x"&&this.isRtl?-f+(a-r.size):f,r.el.style.transform=n==="x"?"translate3d(".concat(f,"px, 0, 0)"):"translate3d(0, ".concat(f,"px, 0)")}},t.prototype.toggleTrackVisibility=function(n){n===void 0&&(n="y");var e=this.axis[n].track.el,i=this.axis[n].scrollbar.el;!e||!i||!this.contentWrapperEl||(this.axis[n].isOverflowing||this.axis[n].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[n].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(n))):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[n].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(n))),this.axis[n].isOverflowing?i.style.display="block":i.style.display="none")},t.prototype.showScrollbar=function(n){n===void 0&&(n="y"),this.axis[n].isOverflowing&&!this.axis[n].scrollbar.isVisible&&(di(this.axis[n].scrollbar.el,this.classNames.visible),this.axis[n].scrollbar.isVisible=!0)},t.prototype.hideScrollbar=function(n){n===void 0&&(n="y"),!this.isDragging&&this.axis[n].isOverflowing&&this.axis[n].scrollbar.isVisible&&(ui(this.axis[n].scrollbar.el,this.classNames.visible),this.axis[n].scrollbar.isVisible=!1)},t.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},t.prototype.onMouseMoveForAxis=function(n){n===void 0&&(n="y");var e=this.axis[n];!e.track.el||!e.scrollbar.el||(e.track.rect=e.track.el.getBoundingClientRect(),e.scrollbar.rect=e.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(e.track.rect)?(this.showScrollbar(n),di(e.track.el,this.classNames.hover),this.isWithinBounds(e.scrollbar.rect)?di(e.scrollbar.el,this.classNames.hover):ui(e.scrollbar.el,this.classNames.hover)):(ui(e.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(n)))},t.prototype.onMouseLeaveForAxis=function(n){n===void 0&&(n="y"),ui(this.axis[n].track.el,this.classNames.hover),ui(this.axis[n].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(n)},t.prototype.onDragStart=function(n,e){var i;e===void 0&&(e="y"),this.isDragging=!0;var o=Op(this.el),r=ci(this.el),s=this.axis[e].scrollbar,a=e==="y"?n.pageY:n.pageX;this.axis[e].dragOffset=a-(((i=s.rect)===null||i===void 0?void 0:i[this.axis[e].offsetAttr])||0),this.draggedAxis=e,di(this.el,this.classNames.dragging),o.addEventListener("mousemove",this.drag,!0),o.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(o.addEventListener("click",this.preventClick,!0),o.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.prototype.onTrackClick=function(n,e){var i=this,o,r,s,a;e===void 0&&(e="y");var l=this.axis[e];if(!(!this.options.clickOnTrack||!l.scrollbar.el||!this.contentWrapperEl)){n.preventDefault();var c=ci(this.el);this.axis[e].scrollbar.rect=l.scrollbar.el.getBoundingClientRect();var u=this.axis[e].scrollbar,f=(r=(o=u.rect)===null||o===void 0?void 0:o[this.axis[e].offsetAttr])!==null&&r!==void 0?r:0,x=parseInt((a=(s=this.elStyles)===null||s===void 0?void 0:s[this.axis[e].sizeAttr])!==null&&a!==void 0?a:"0px",10),b=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],E=e==="y"?this.mouseY-f:this.mouseX-f,S=E<0?-1:1,P=S===-1?b-x:b+x,T=40,U=function(){i.contentWrapperEl&&(S===-1?b>P&&(b-=T,i.contentWrapperEl[i.axis[e].scrollOffsetAttr]=b,c.requestAnimationFrame(U)):b<P&&(b+=T,i.contentWrapperEl[i.axis[e].scrollOffsetAttr]=b,c.requestAnimationFrame(U)))};U()}},t.prototype.getContentElement=function(){return this.contentEl},t.prototype.getScrollElement=function(){return this.contentWrapperEl},t.prototype.removeListeners=function(){var n=ci(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),n.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},t.prototype.unMount=function(){this.removeListeners()},t.prototype.isWithinBounds=function(n){return this.mouseX>=n.left&&this.mouseX<=n.left+n.width&&this.mouseY>=n.top&&this.mouseY<=n.top+n.height},t.prototype.findChild=function(n,e){var i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;return Array.prototype.filter.call(n.children,function(o){return i.call(o,e)})[0]},t.rtlHelpers=null,t.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},t.getOptions=z7,t.helpers=B7,t}();var Pp=function(t,n){return Pp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])},Pp(t,n)};function H7(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");Pp(t,n);function e(){this.constructor=t}t.prototype=n===null?Object.create(n):(e.prototype=n.prototype,new e)}var Tp=gs.helpers,Sp=Tp.getOptions,qt=Tp.addClasses,Z7=Tp.canUseDOM,Lp=function(t){H7(n,t);function n(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var o=t.apply(this,e)||this;return n.instances.set(e[0],o),o}return n.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(e){e.getAttribute("data-simplebar")!=="init"&&!n.instances.has(e)&&new n(e,Sp(e.attributes))})},n.removeObserver=function(){var e;(e=n.globalObserver)===null||e===void 0||e.disconnect()},n.prototype.initDOM=function(){var e=this,i,o,r;if(!Array.prototype.filter.call(this.el.children,function(l){return l.classList.contains(e.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),qt(this.wrapperEl,this.classNames.wrapper),qt(this.contentWrapperEl,this.classNames.contentWrapper),qt(this.offsetEl,this.classNames.offset),qt(this.maskEl,this.classNames.mask),qt(this.contentEl,this.classNames.contentEl),qt(this.placeholderEl,this.classNames.placeholder),qt(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),qt(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(i=this.contentWrapperEl)===null||i===void 0||i.setAttribute("tabindex",this.options.tabIndex.toString()),(o=this.contentWrapperEl)===null||o===void 0||o.setAttribute("role","region"),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var s=document.createElement("div"),a=document.createElement("div");qt(s,this.classNames.track),qt(a,this.classNames.scrollbar),s.appendChild(a),this.axis.x.track.el=s.cloneNode(!0),qt(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=s.cloneNode(!0),qt(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}gs.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},n.prototype.unMount=function(){gs.prototype.unMount.call(this),n.instances.delete(this.el)},n.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(n.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},n.handleMutations=function(e){e.forEach(function(i){i.addedNodes.forEach(function(o){o.nodeType===1&&(o.hasAttribute("data-simplebar")?!n.instances.has(o)&&document.documentElement.contains(o)&&new n(o,Sp(o.attributes)):o.querySelectorAll("[data-simplebar]").forEach(function(r){r.getAttribute("data-simplebar")!=="init"&&!n.instances.has(r)&&document.documentElement.contains(r)&&new n(r,Sp(r.attributes))}))}),i.removedNodes.forEach(function(o){var r;o.nodeType===1&&(o.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(o)&&((r=n.instances.get(o))===null||r===void 0||r.unMount()):Array.prototype.forEach.call(o.querySelectorAll('[data-simplebar="init"]'),function(s){var a;!document.documentElement.contains(s)&&((a=n.instances.get(s))===null||a===void 0||a.unMount())}))})})},n.instances=new WeakMap,n}(gs);Z7&&Lp.initHtmlApi();var $7=["*"],Yt=(()=>{class t{constructor(e){this.elementRef=e,this._scrollableContainerClassName=".scrollable-container",this._element=this.elementRef.nativeElement}_initializationSimpleScrollBar(){let e=this._element?.querySelector(this._scrollableContainerClassName);e&&(this._simpleBar=new Lp(e))}ngAfterViewInit(){this._initializationSimpleScrollBar()}_recalculateScrollbar(){!this._element||!this._element?.querySelector(this._scrollableContainerClassName)||this._simpleBar&&this._simpleBar.recalculate()}ngAfterViewChecked(){this._recalculateScrollbar()}static{this.\u0275fac=function(i){return new(i||t)(_(q))}}static{this.\u0275cmp=A({type:t,selectors:[["lib-bimplus-scrollable-container"]],standalone:!0,features:[I],ngContentSelectors:$7,decls:2,vars:0,consts:[[1,"scrollable-container"]],template:function(i,o){i&1&&(He(),p(0,"div",0),Ee(1),g())},styles:[`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;inset:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;inset:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:before,.simplebar-content:after{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{inset:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{inset:0 auto 0 0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.scrollable-container{height:100%;max-height:100%;padding-right:var(--scrollable-container-paddin-right, .8rem)}
|