bimplus-webcomponents 0.0.12 → 0.0.13
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.
|
@@ -4,7 +4,7 @@ ${i.map((n,o)=>`${o+1}) ${n.toString()}`).join(`
|
|
|
4
4
|
`);return i===-1?e:e.substring(0,i)}function Ka(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var qb=Se({__forward_ref__:Se});function $n(t){return t.__forward_ref__=$n,t.toString=function(){return gt(this())},t}function st(t){return um(t)?t():t}function um(t){return typeof t=="function"&&t.hasOwnProperty(qb)&&t.__forward_ref__===$n}function U(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Ee(t){return{providers:t.providers||[],imports:t.imports||[]}}function Qc(t){return Ed(t,dm)||Ed(t,mm)}function Ed(t,e){return t.hasOwnProperty(e)?t[e]:null}function Zb(t){let e=t&&(t[dm]||t[mm]);return e||null}function kd(t){return t&&(t.hasOwnProperty(Sd)||t.hasOwnProperty(Yb))?t[Sd]:null}var dm=Se({\u0275prov:Se}),Sd=Se({\u0275inj:Se}),mm=Se({ngInjectableDef:Se}),Yb=Se({ngInjectorDef:Se}),V=class{constructor(e,i){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof i=="number"?this.__NG_ELEMENT_ID__=i:i!==void 0&&(this.\u0275prov=U({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function pm(t){return t&&!!t.\u0275providers}var Qb=Se({\u0275cmp:Se}),Kb=Se({\u0275dir:Se}),Xb=Se({\u0275pipe:Se});var Lr=Se({\u0275fac:Se}),oo=Se({__NG_ELEMENT_ID__:Se}),Od=Se({__NG_ENV_ID__:Se});function hi(t){return typeof t=="string"?t:t==null?"":String(t)}function Jb(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():hi(t)}function e_(t,e){let i=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new me(-200,t)}function Kc(t,e){throw new me(-201,!1)}var de=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}(de||{}),Xa;function fm(){return Xa}function It(t){let e=Xa;return Xa=t,e}function hm(t,e,i){let n=Qc(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(i&de.Optional)return null;if(e!==void 0)return e;Kc(t,"Injector")}var t_={},ro=t_,Ja="__NG_DI_FLAG__",Vr="ngTempTokenPath",n_="ngTokenPath",i_=/\n/gm,o_="\u0275",Td="__source",pi;function r_(){return pi}function li(t){let e=pi;return pi=t,e}function s_(t,e=de.Default){if(pi===void 0)throw new me(-203,!1);return pi===null?hm(t,void 0,e):pi.get(t,e&de.Optional?null:void 0,e)}function F(t,e=de.Default){return(fm()||s_)(st(t),e)}function he(t,e=de.Default){return F(t,as(e))}function as(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function ec(t){let e=[];for(let i=0;i<t.length;i++){let n=st(t[i]);if(Array.isArray(n)){if(n.length===0)throw new me(900,!1);let o,r=de.Default;for(let s=0;s<n.length;s++){let a=n[s],c=a_(a);typeof c=="number"?c===-1?o=a.token:r|=c:o=a}e.push(F(o,r))}else e.push(F(n))}return e}function gm(t,e){return t[Ja]=e,t.prototype[Ja]=e,t}function a_(t){return t[Ja]}function c_(t,e,i,n){let o=t[Vr];throw e[Td]&&o.unshift(e[Td]),t.message=l_(`
|
|
5
5
|
`+t.message,o,i,n),t[n_]=o,t[Vr]=null,t}function l_(t,e,i,n=null){t=t&&t.charAt(0)===`
|
|
6
6
|
`&&t.charAt(1)==o_?t.slice(2):t;let o=gt(e);if(Array.isArray(e))o=e.map(gt).join(" -> ");else if(typeof e=="object"){let r=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];r.push(s+":"+(typeof a=="string"?JSON.stringify(a):gt(a)))}o=`{${r.join(", ")}}`}return`${i}${n?"("+n+")":""}[${o}]: ${t.replace(i_,`
|
|
7
|
-
`)}`}var Xc=gm(lm("Optional"),8);var bm=gm(lm("SkipSelf"),4);function Nn(t,e){let i=t.hasOwnProperty(Lr);return i?t[Lr]:null}function u_(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let o=t[n],r=e[n];if(i&&(o=i(o),r=i(r)),r!==o)return!1}return!0}function d_(t){return t.flat(Number.POSITIVE_INFINITY)}function Jc(t,e){t.forEach(i=>Array.isArray(i)?Jc(i,e):e(i))}function _m(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function Br(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function m_(t,e){let i=[];for(let n=0;n<t;n++)i.push(e);return i}function p_(t,e,i,n){let o=t.length;if(o==e)t.push(i,n);else if(o===1)t.push(n,t[0]),t[0]=i;else{for(o--,t.push(t[o-1],t[o]);o>e;){let r=o-2;t[o]=t[r],o--}t[e]=i,t[e+1]=n}}function el(t,e,i){let n=Co(t,e);return n>=0?t[n|1]=i:(n=~n,p_(t,n,e,i)),n}function Na(t,e){let i=Co(t,e);if(i>=0)return t[i|1]}function Co(t,e){return f_(t,e,1)}function f_(t,e,i){let n=0,o=t.length>>i;for(;o!==n;){let r=n+(o-n>>1),s=t[r<<i];if(e===s)return r<<i;s>e?o=r:n=r+1}return~(o<<i)}var gi={},pt=[],so=new V(""),vm=new V("",-1),ym=new V(""),zr=class{get(e,i=ro){if(i===ro){let n=new Error(`NullInjectorError: No provider for ${gt(e)}!`);throw n.name="NullInjectorError",n}return i}},Cm=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Cm||{}),$t=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}($t||{}),_=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(_||{});function h_(t,e,i){let n=t.length;for(;;){let o=t.indexOf(e,i);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=e.length;if(o+r===n||t.charCodeAt(o+r)<=32)return o}i=o+1}}function tc(t,e,i){let n=0;for(;n<i.length;){let o=i[n];if(typeof o=="number"){if(o!==0)break;n++;let r=i[n++],s=i[n++],a=i[n++];t.setAttribute(e,s,a,r)}else{let r=o,s=i[++n];g_(r)?t.setProperty(e,r,s):t.setAttribute(e,r,s),n++}}return n}function wm(t){return t===3||t===4||t===6}function g_(t){return t.charCodeAt(0)===64}function ao(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let i=-1;for(let n=0;n<e.length;n++){let o=e[n];typeof o=="number"?i=o:i===0||(i===-1||i===2?Ad(t,i,o,null,e[++n]):Ad(t,i,o,null,null))}}return t}function Ad(t,e,i,n,o){let r=0,s=t.length;if(e===-1)s=-1;else for(;r<t.length;){let a=t[r++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=r-1;break}}}for(;r<t.length;){let a=t[r];if(typeof a=="number")break;if(a===i){if(n===null){o!==null&&(t[r+1]=o);return}else if(n===t[r+1]){t[r+2]=o;return}}r++,n!==null&&r++,o!==null&&r++}s!==-1&&(t.splice(s,0,e),r=s+1),t.splice(r++,0,i),n!==null&&t.splice(r++,0,n),o!==null&&t.splice(r++,0,o)}var xm="ng-template";function b_(t,e,i,n){let o=0;if(n){for(;o<e.length&&typeof e[o]=="string";o+=2)if(e[o]==="class"&&h_(e[o+1].toLowerCase(),i,0)!==-1)return!0}else if(tl(t))return!1;if(o=e.indexOf(1,o),o>-1){let r;for(;++o<e.length&&typeof(r=e[o])=="string";)if(r.toLowerCase()===i)return!0}return!1}function tl(t){return t.type===4&&t.value!==xm}function __(t,e,i){let n=t.type===4&&!i?xm:t.value;return e===n}function v_(t,e,i){let n=4,o=t.attrs,r=o!==null?w_(o):0,s=!1;for(let a=0;a<e.length;a++){let c=e[a];if(typeof c=="number"){if(!s&&!Nt(n)&&!Nt(c))return!1;if(s&&Nt(c))continue;s=!1,n=c|n&1;continue}if(!s)if(n&4){if(n=2|n&1,c!==""&&!__(t,c,i)||c===""&&e.length===1){if(Nt(n))return!1;s=!0}}else if(n&8){if(o===null||!b_(t,o,c,i)){if(Nt(n))return!1;s=!0}}else{let l=e[++a],u=y_(c,o,tl(t),i);if(u===-1){if(Nt(n))return!1;s=!0;continue}if(l!==""){let p;if(u>r?p="":p=o[u+1].toLowerCase(),n&2&&l!==p){if(Nt(n))return!1;s=!0}}}}return Nt(n)||s}function Nt(t){return(t&1)===0}function y_(t,e,i,n){if(e===null)return-1;let o=0;if(n||!i){let r=!1;for(;o<e.length;){let s=e[o];if(s===t)return o;if(s===3||s===6)r=!0;else if(s===1||s===2){let a=e[++o];for(;typeof a=="string";)a=e[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=r?1:2}return-1}else return x_(e,t)}function Dm(t,e,i=!1){for(let n=0;n<e.length;n++)if(v_(t,e[n],i))return!0;return!1}function C_(t){let e=t.attrs;if(e!=null){let i=e.indexOf(5);if(!(i&1))return e[i+1]}return null}function w_(t){for(let e=0;e<t.length;e++){let i=t[e];if(wm(i))return e}return t.length}function x_(t,e){let i=t.indexOf(4);if(i>-1)for(i++;i<t.length;){let n=t[i];if(typeof n=="number")return-1;if(n===e)return i;i++}return-1}function D_(t,e){e:for(let i=0;i<e.length;i++){let n=e[i];if(t.length===n.length){for(let o=0;o<t.length;o++)if(t[o]!==n[o])continue e;return!0}}return!1}function Pd(t,e){return t?":not("+e.trim()+")":e}function I_(t){let e=t[0],i=1,n=2,o="",r=!1;for(;i<t.length;){let s=t[i];if(typeof s=="string")if(n&2){let a=t[++i];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Nt(s)&&(e+=Pd(r,o),o=""),n=s,r=r||!Nt(n);i++}return o!==""&&(e+=Pd(r,o)),e}function M_(t){return t.map(I_).join(",")}function E_(t){let e=[],i=[],n=1,o=2;for(;n<t.length;){let r=t[n];if(typeof r=="string")o===2?r!==""&&e.push(r,t[++n]):o===8&&i.push(r);else{if(!Nt(o))break;o=r}n++}return{attrs:e,classes:i}}function k(t){return yo(()=>{let e=Em(t),i=dt(ce({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Cm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||$t.Emulated,styles:t.styles||pt,_:null,schemas:t.schemas||null,tView:null,id:""});km(i);let n=t.dependencies;return i.directiveDefs=Nd(n,!1),i.pipeDefs=Nd(n,!0),i.id=T_(i),i})}function k_(t){return bi(t)||Im(t)}function S_(t){return t!==null}function ke(t){return yo(()=>({type:t.type,bootstrap:t.bootstrap||pt,declarations:t.declarations||pt,imports:t.imports||pt,exports:t.exports||pt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Fd(t,e){if(t==null)return gi;let i={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],r,s,a=_.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),e?(i[r]=a!==_.None?[n,a]:n,e[r]=s):i[r]=n}return i}function H(t){return yo(()=>{let e=Em(t);return km(e),e})}function wo(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 bi(t){return t[Qb]||null}function Im(t){return t[Kb]||null}function Mm(t){return t[Xb]||null}function O_(t){let e=bi(t)||Im(t)||Mm(t);return e!==null?e.standalone:!1}function Em(t){let e={};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:e,inputTransforms:null,inputConfig:t.inputs||gi,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||pt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Fd(t.inputs,e),outputs:Fd(t.outputs),debugInfo:null}}function km(t){t.features?.forEach(e=>e(t))}function Nd(t,e){if(!t)return null;let i=e?Mm:k_;return()=>(typeof t=="function"?t():t).map(n=>i(n)).filter(S_)}function T_(t){let e=0,i=[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 i)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Sm(t){return{\u0275providers:t}}function nl(...t){return{\u0275providers:Om(!0,t),\u0275fromNgModule:!0}}function Om(t,...e){let i=[],n=new Set,o,r=s=>{i.push(s)};return Jc(e,s=>{let a=s;nc(a,r,[],n)&&(o||=[],o.push(a))}),o!==void 0&&Tm(o,r),i}function Tm(t,e){for(let i=0;i<t.length;i++){let{ngModule:n,providers:o}=t[i];il(o,r=>{e(r,n)})}}function nc(t,e,i,n){if(t=st(t),!t)return!1;let o=null,r=kd(t),s=!r&&bi(t);if(!r&&!s){let c=t.ngModule;if(r=kd(c),r)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)nc(l,e,i,n)}}else if(r){if(r.imports!=null&&!a){n.add(o);let l;try{Jc(r.imports,u=>{nc(u,e,i,n)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Tm(l,e)}if(!a){let l=Nn(o)||(()=>new o);e({provide:o,useFactory:l,deps:pt},o),e({provide:ym,useValue:o,multi:!0},o),e({provide:so,useValue:()=>F(o),multi:!0},o)}let c=r.providers;if(c!=null&&!a){let l=t;il(c,u=>{e(u,l)})}}else return!1;return o!==t&&t.providers!==void 0}function il(t,e){for(let i of t)pm(i)&&(i=i.\u0275providers),Array.isArray(i)?il(i,e):e(i)}var A_=Se({provide:String,useValue:Se});function Am(t){return t!==null&&typeof t=="object"&&A_ in t}function P_(t){return!!(t&&t.useExisting)}function F_(t){return!!(t&&t.useFactory)}function _i(t){return typeof t=="function"}function N_(t){return!!t.useClass}var cs=new V(""),Ar={},j_={},ja;function ol(){return ja===void 0&&(ja=new zr),ja}var dn=class{},Hr=class extends dn{get destroyed(){return this._destroyed}constructor(e,i,n,o){super(),this.parent=i,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,oc(e,s=>this.processProvider(s)),this.records.set(vm,ui(void 0,this)),o.has("environment")&&this.records.set(dn,ui(void 0,this));let r=this.records.get(cs);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(ym,pt,de.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=le(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),le(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let i=li(this),n=It(void 0),o;try{return e()}finally{li(i),It(n)}}get(e,i=ro,n=de.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Od))return e[Od](this);n=as(n);let o,r=li(this),s=It(void 0);try{if(!(n&de.SkipSelf)){let c=this.records.get(e);if(c===void 0){let l=z_(e)&&Qc(e);l&&this.injectableDefInScope(l)?c=ui(ic(e),Ar):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&de.Self?ol():this.parent;return i=n&de.Optional&&i===ro?null:i,a.get(e,i)}catch(a){if(a.name==="NullInjectorError"){if((a[Vr]=a[Vr]||[]).unshift(gt(e)),r)throw a;return c_(a,e,"R3InjectorError",this.source)}else throw a}finally{It(s),li(r)}}resolveInjectorInitializers(){let e=le(null),i=li(this),n=It(void 0),o;try{let r=this.get(so,pt,de.Self);for(let s of r)s()}finally{li(i),It(n),le(e)}}toString(){let e=[],i=this.records;for(let n of i.keys())e.push(gt(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new me(205,!1)}processProvider(e){e=st(e);let i=_i(e)?e:st(e&&e.provide),n=L_(e);if(!_i(e)&&e.multi===!0){let o=this.records.get(i);o||(o=ui(void 0,Ar,!0),o.factory=()=>ec(o.multi),this.records.set(i,o)),i=e,o.multi.push(e)}this.records.set(i,n)}hydrate(e,i){let n=le(null);try{return i.value===Ar&&(i.value=j_,i.value=i.factory()),typeof i.value=="object"&&i.value&&B_(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{le(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let i=st(e.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(e){let i=this._onDestroyHooks.indexOf(e);i!==-1&&this._onDestroyHooks.splice(i,1)}};function ic(t){let e=Qc(t),i=e!==null?e.factory:Nn(t);if(i!==null)return i;if(t instanceof V)throw new me(204,!1);if(t instanceof Function)return R_(t);throw new me(204,!1)}function R_(t){if(t.length>0)throw new me(204,!1);let i=Zb(t);return i!==null?()=>i.factory(t):()=>new t}function L_(t){if(Am(t))return ui(void 0,t.useValue);{let e=Pm(t);return ui(e,Ar)}}function Pm(t,e,i){let n;if(_i(t)){let o=st(t);return Nn(o)||ic(o)}else if(Am(t))n=()=>st(t.useValue);else if(F_(t))n=()=>t.useFactory(...ec(t.deps||[]));else if(P_(t))n=()=>F(st(t.useExisting));else{let o=st(t&&(t.useClass||t.provide));if(V_(t))n=()=>new o(...ec(t.deps));else return Nn(o)||ic(o)}return n}function ui(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function V_(t){return!!t.deps}function B_(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function z_(t){return typeof t=="function"||typeof t=="object"&&t instanceof V}function oc(t,e){for(let i of t)Array.isArray(i)?oc(i,e):i&&pm(i)?oc(i.\u0275providers,e):e(i)}function H_(){return fm()!==void 0||r_()!=null}function $_(t){return typeof t=="function"}var tn=0,G=1,$=2,Ze=3,Rt=4,bt=5,vi=6,co=7,Xe=8,yi=9,Lt=10,Ae=11,lo=12,jd=13,Ii=14,Mt=15,xo=16,di=17,en=18,ls=19,Fm=20,un=21,Ra=22,jn=23,et=25,Nm=1;var Rn=7,$r=8,Ci=9,Je=10,rl=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(rl||{});function Pn(t){return Array.isArray(t)&&typeof t[Nm]=="object"}function nn(t){return Array.isArray(t)&&t[Nm]===!0}function sl(t){return(t.flags&4)!==0}function us(t){return t.componentOffset>-1}function ds(t){return(t.flags&1)===1}function mn(t){return!!t.template}function U_(t){return(t[$]&512)!==0}var uo=class{constructor(e,i,n){this.previousValue=e,this.currentValue=i,this.firstChange=n}isFirstChange(){return this.firstChange}};function jm(t,e,i,n){e!==null?e.applyValueToInputSignal(e,n):t[i]=n}function Be(){return Rm}function Rm(t){return t.type.prototype.ngOnChanges&&(t.setInput=G_),W_}Be.ngInherit=!0;function W_(){let t=Vm(this),e=t?.current;if(e){let i=t.previous;if(i===gi)t.previous=e;else for(let n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function G_(t,e,i,n,o){let r=this.declaredInputs[n],s=Vm(t)||q_(t,{previous:gi,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[r];a[r]=new uo(l&&l.currentValue,i,c===gi),jm(t,e,o,i)}var Lm="__ngSimpleChanges__";function Vm(t){return t[Lm]||null}function q_(t,e){return t[Lm]=e}var Rd=null;var zt=function(t,e,i){Rd?.(t,e,i)},Bm="svg",Z_="math",Y_=!1;function Q_(){return Y_}function Ut(t){for(;Array.isArray(t);)t=t[tn];return t}function zm(t,e){return Ut(e[t])}function kt(t,e){return Ut(e[t.index])}function al(t,e){return t.data[e]}function Hm(t,e){return t[e]}function fn(t,e){let i=e[t];return Pn(i)?i:i[tn]}function K_(t){return(t[$]&4)===4}function cl(t){return(t[$]&128)===128}function X_(t){return nn(t[Ze])}function wi(t,e){return e==null?null:t[e]}function $m(t){t[di]=0}function J_(t){t[$]&1024||(t[$]|=1024,cl(t)&&mo(t))}function ev(t,e){for(;t>0;)e=e[Ii],t--;return e}function ll(t){return!!(t[$]&9216||t[jn]?.dirty)}function rc(t){t[Lt].changeDetectionScheduler?.notify(1),ll(t)?mo(t):t[$]&64&&(Q_()?(t[$]|=1024,mo(t)):t[Lt].changeDetectionScheduler?.notify())}function mo(t){t[Lt].changeDetectionScheduler?.notify();let e=po(t);for(;e!==null&&!(e[$]&8192||(e[$]|=8192,!cl(e)));)e=po(e)}function Um(t,e){if((t[$]&256)===256)throw new me(911,!1);t[un]===null&&(t[un]=[]),t[un].push(e)}function tv(t,e){if(t[un]===null)return;let i=t[un].indexOf(e);i!==-1&&t[un].splice(i,1)}function po(t){let e=t[Ze];return nn(e)?e[Ze]:e}var Y={lFrame:Km(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function nv(){return Y.lFrame.elementDepthCount}function iv(){Y.lFrame.elementDepthCount++}function ov(){Y.lFrame.elementDepthCount--}function Wm(){return Y.bindingsEnabled}function Gm(){return Y.skipHydrationRootTNode!==null}function rv(t){return Y.skipHydrationRootTNode===t}function sv(){Y.skipHydrationRootTNode=null}function q(){return Y.lFrame.lView}function je(){return Y.lFrame.tView}function M(t){return Y.lFrame.contextLView=t,t[Xe]}function E(t){return Y.lFrame.contextLView=null,t}function tt(){let t=qm();for(;t!==null&&t.type===64;)t=t.parent;return t}function qm(){return Y.lFrame.currentTNode}function av(){let t=Y.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Un(t,e){let i=Y.lFrame;i.currentTNode=t,i.isParent=e}function ul(){return Y.lFrame.isParent}function dl(){Y.lFrame.isParent=!1}function cv(){return Y.lFrame.contextLView}function Do(){let t=Y.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function lv(){return Y.lFrame.bindingIndex}function uv(t){return Y.lFrame.bindingIndex=t}function Mi(){return Y.lFrame.bindingIndex++}function ml(t){let e=Y.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function dv(){return Y.lFrame.inI18n}function mv(t,e){let i=Y.lFrame;i.bindingIndex=i.bindingRootIndex=t,sc(e)}function pv(){return Y.lFrame.currentDirectiveIndex}function sc(t){Y.lFrame.currentDirectiveIndex=t}function fv(t){let e=Y.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Zm(){return Y.lFrame.currentQueryIndex}function pl(t){Y.lFrame.currentQueryIndex=t}function hv(t){let e=t[G];return e.type===2?e.declTNode:e.type===1?t[bt]:null}function Ym(t,e,i){if(i&de.SkipSelf){let o=e,r=t;for(;o=o.parent,o===null&&!(i&de.Host);)if(o=hv(r),o===null||(r=r[Ii],o.type&10))break;if(o===null)return!1;e=o,t=r}let n=Y.lFrame=Qm();return n.currentTNode=e,n.lView=t,!0}function fl(t){let e=Qm(),i=t[G];Y.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function Qm(){let t=Y.lFrame,e=t===null?null:t.child;return e===null?Km(t):e}function Km(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Xm(){let t=Y.lFrame;return Y.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Jm=Xm;function hl(){let t=Xm();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 gv(t){return(Y.lFrame.contextLView=ev(t,Y.lFrame.contextLView))[Xe]}function on(){return Y.lFrame.selectedIndex}function Ln(t){Y.lFrame.selectedIndex=t}function ms(){let t=Y.lFrame;return al(t.tView,t.selectedIndex)}function ep(){Y.lFrame.currentNamespace=Bm}function bv(){return Y.lFrame.currentNamespace}var tp=!0;function ps(){return tp}function fs(t){tp=t}function _v(t,e,i){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:r}=e.type.prototype;if(n){let s=Rm(e);(i.preOrderHooks??=[]).push(t,s),(i.preOrderCheckHooks??=[]).push(t,s)}o&&(i.preOrderHooks??=[]).push(0-t,o),r&&((i.preOrderHooks??=[]).push(t,r),(i.preOrderCheckHooks??=[]).push(t,r))}function hs(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i<n;i++){let r=t.data[i].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=r;s&&(t.contentHooks??=[]).push(-i,s),a&&((t.contentHooks??=[]).push(i,a),(t.contentCheckHooks??=[]).push(i,a)),c&&(t.viewHooks??=[]).push(-i,c),l&&((t.viewHooks??=[]).push(i,l),(t.viewCheckHooks??=[]).push(i,l)),u!=null&&(t.destroyHooks??=[]).push(i,u)}}function Pr(t,e,i){np(t,e,3,i)}function Fr(t,e,i,n){(t[$]&3)===i&&np(t,e,i,n)}function La(t,e){let i=t[$];(i&3)===e&&(i&=16383,i+=1,t[$]=i)}function np(t,e,i,n){let o=n!==void 0?t[di]&65535:0,r=n??-1,s=e.length-1,a=0;for(let c=o;c<s;c++)if(typeof e[c+1]=="number"){if(a=e[c],n!=null&&a>=n)break}else e[c]<0&&(t[di]+=65536),(a<r||r==-1)&&(vv(t,i,e,c),t[di]=(t[di]&4294901760)+c+2),c++}function Ld(t,e){zt(4,t,e);let i=le(null);try{e.call(t)}finally{le(i),zt(5,t,e)}}function vv(t,e,i,n){let o=i[n]<0,r=i[n+1],s=o?-i[n]:i[n],a=t[s];o?t[$]>>14<t[di]>>16&&(t[$]&3)===e&&(t[$]+=16384,Ld(a,r)):Ld(a,r)}var fi=-1,Vn=class{constructor(e,i,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n}};function yv(t){return t instanceof Vn}function Cv(t){return(t.flags&8)!==0}function wv(t){return(t.flags&16)!==0}function ip(t){return t!==fi}function Ur(t){return t&32767}function xv(t){return t>>16}function Wr(t,e){let i=xv(t),n=e;for(;i>0;)n=n[Ii],i--;return n}var ac=!0;function Gr(t){let e=ac;return ac=t,e}var Dv=256,op=Dv-1,rp=5,Iv=0,Ht={};function Mv(t,e,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(oo)&&(n=i[oo]),n==null&&(n=i[oo]=Iv++);let o=n&op,r=1<<o;e.data[t+(o>>rp)]|=r}function qr(t,e){let i=sp(t,e);if(i!==-1)return i;let n=e[G];n.firstCreatePass&&(t.injectorIndex=e.length,Va(n.data,t),Va(e,null),Va(n.blueprint,null));let o=gl(t,e),r=t.injectorIndex;if(ip(o)){let s=Ur(o),a=Wr(o,e),c=a[G].data;for(let l=0;l<8;l++)e[r+l]=a[s+l]|c[s+l]}return e[r+8]=o,r}function Va(t,e){t.push(0,0,0,0,0,0,0,0,e)}function sp(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function gl(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let i=0,n=null,o=e;for(;o!==null;){if(n=dp(o),n===null)return fi;if(i++,o=o[Ii],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return fi}function cc(t,e,i){Mv(t,e,i)}function Ev(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let i=t.attrs;if(i){let n=i.length,o=0;for(;o<n;){let r=i[o];if(wm(r))break;if(r===0)o=o+2;else if(typeof r=="number")for(o++;o<n&&typeof i[o]=="string";)o++;else{if(r===e)return i[o+1];o=o+2}}}return null}function ap(t,e,i){if(i&de.Optional||t!==void 0)return t;Kc(e,"NodeInjector")}function cp(t,e,i,n){if(i&de.Optional&&n===void 0&&(n=null),!(i&(de.Self|de.Host))){let o=t[yi],r=It(void 0);try{return o?o.get(e,n,i&de.Optional):hm(e,n,i&de.Optional)}finally{It(r)}}return ap(n,e,i)}function lp(t,e,i,n=de.Default,o){if(t!==null){if(e[$]&2048&&!(n&de.Self)){let s=Tv(t,e,i,n,Ht);if(s!==Ht)return s}let r=up(t,e,i,n,Ht);if(r!==Ht)return r}return cp(e,i,n,o)}function up(t,e,i,n,o){let r=Sv(i);if(typeof r=="function"){if(!Ym(e,t,n))return n&de.Host?ap(o,i,n):cp(e,i,n,o);try{let s;if(s=r(n),s==null&&!(n&de.Optional))Kc(i);else return s}finally{Jm()}}else if(typeof r=="number"){let s=null,a=sp(t,e),c=fi,l=n&de.Host?e[Mt][bt]:null;for((a===-1||n&de.SkipSelf)&&(c=a===-1?gl(t,e):e[a+8],c===fi||!Bd(n,!1)?a=-1:(s=e[G],a=Ur(c),e=Wr(c,e)));a!==-1;){let u=e[G];if(Vd(r,a,u.data)){let p=kv(a,e,i,s,n,l);if(p!==Ht)return p}c=e[a+8],c!==fi&&Bd(n,e[G].data[a+8]===l)&&Vd(r,a,e)?(s=u,a=Ur(c),e=Wr(c,e)):a=-1}}return o}function kv(t,e,i,n,o,r){let s=e[G],a=s.data[t+8],c=n==null?us(a)&&ac:n!=s&&(a.type&3)!==0,l=o&de.Host&&r===a,u=Nr(a,s,i,c,l);return u!==null?Bn(e,s,u,a):Ht}function Nr(t,e,i,n,o){let r=t.providerIndexes,s=e.data,a=r&1048575,c=t.directiveStart,l=t.directiveEnd,u=r>>20,p=n?a:a+u,b=o?a+u:l;for(let v=p;v<b;v++){let I=s[v];if(v<c&&i===I||v>=c&&I.type===i)return v}if(o){let v=s[c];if(v&&mn(v)&&v.type===i)return c}return null}function Bn(t,e,i,n){let o=t[i],r=e.data;if(yv(o)){let s=o;s.resolving&&e_(Jb(r[i]));let a=Gr(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?It(s.injectImpl):null,u=Ym(t,n,de.Default);try{o=t[i]=s.factory(void 0,r,t,n),e.firstCreatePass&&i>=n.directiveStart&&_v(i,r[i],e)}finally{l!==null&&It(l),Gr(a),s.resolving=!1,Jm()}}return o}function Sv(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(oo)?t[oo]:void 0;return typeof e=="number"?e>=0?e&op:Ov:e}function Vd(t,e,i){let n=1<<t;return!!(i[e+(t>>rp)]&n)}function Bd(t,e){return!(t&de.Self)&&!(t&de.Host&&e)}var Fn=class{constructor(e,i){this._tNode=e,this._lView=i}get(e,i,n){return lp(this._tNode,this._lView,e,as(n),i)}};function Ov(){return new Fn(tt(),q())}function ft(t){return yo(()=>{let e=t.prototype.constructor,i=e[Lr]||lc(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let r=o[Lr]||lc(o);if(r&&r!==i)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function lc(t){return um(t)?()=>{let e=lc(st(t));return e&&e()}:Nn(t)}function Tv(t,e,i,n,o){let r=t,s=e;for(;r!==null&&s!==null&&s[$]&2048&&!(s[$]&512);){let a=up(r,s,i,n|de.Self,Ht);if(a!==Ht)return a;let c=r.parent;if(!c){let l=s[Fm];if(l){let u=l.get(i,Ht,n);if(u!==Ht)return u}c=dp(s),s=s[Ii]}r=c}return o}function dp(t){let e=t[G],i=e.type;return i===2?e.declTNode:i===1?t[bt]:null}function Ei(t){return Ev(tt(),t)}function zd(t,e=null,i=null,n){let o=Av(t,e,i,n);return o.resolveInjectorInitializers(),o}function Av(t,e=null,i=null,n,o=new Set){let r=[i||pt,nl(t)];return n=n||(typeof t=="object"?void 0:gt(t)),new Hr(r,e||ol(),n||null,o)}var ki=(()=>{let e=class e{static create(n,o){if(Array.isArray(n))return zd({name:""},o,n,"");{let r=n.name??"";return zd({name:r},n.parent,n.providers,r)}}};e.THROW_IF_NOT_FOUND=ro,e.NULL=new zr,e.\u0275prov=U({token:e,providedIn:"any",factory:()=>F(vm)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var Pv="ngOriginalError";function Ba(t){return t[Pv]}var Wt=class{constructor(){this._console=console}handleError(e){let i=this._findOriginalError(e);this._console.error("ERROR",e),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(e){let i=e&&Ba(e);for(;i&&Ba(i);)i=Ba(i);return i||null}},mp=new V("",{providedIn:"root",factory:()=>he(Wt).handleError.bind(void 0)}),pp=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Fv,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),uc=class extends pp{constructor(e){super(),this._lView=e}onDestroy(e){return Um(this._lView,e),()=>tv(this._lView,e)}};function Fv(){return new uc(q())}function Nv(){return Si(tt(),q())}function Si(t,e){return new J(kt(t,e))}var J=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=Nv;let t=e;return t})();function jv(t){return t instanceof J?t.nativeElement:t}var dc=class extends we{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,H_()&&(this.destroyRef=he(pp,{optional:!0})??void 0)}emit(e){let i=le(null);try{super.next(e)}finally{le(i)}}subscribe(e,i,n){let o=e,r=i||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;o=c.next?.bind(c),r=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(r=za(r),o&&(o=za(o)),s&&(s=za(s)));let a=super.subscribe({next:o,error:r,complete:s});return e instanceof Fe&&e.add(a),a}};function za(t){return e=>{setTimeout(t,void 0,e)}}var D=dc;function Rv(){return this._results[Symbol.iterator]()}var Zr=class t{get changes(){return this._changes??=new D}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let i=t.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=Rv)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,i){return this._results.reduce(e,i)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,i){this.dirty=!1;let n=d_(e);(this._changesDetected=!u_(this._results,n,i))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function fp(t){return(t.flags&128)===128}var hp=new Map,Lv=0;function Vv(){return Lv++}function Bv(t){hp.set(t[ls],t)}function zv(t){hp.delete(t[ls])}var Hd="__ngContext__";function pn(t,e){Pn(e)?(t[Hd]=e[ls],Bv(e)):t[Hd]=e}function gp(t){return _p(t[lo])}function bp(t){return _p(t[Rt])}function _p(t){for(;t!==null&&!nn(t);)t=t[Rt];return t}var mc;function vp(t){mc=t}function Hv(){if(mc!==void 0)return mc;if(typeof document<"u")return document;throw new me(210,!1)}var gs=new V("",{providedIn:"root",factory:()=>$v}),$v="ng",bl=new V(""),hn=new V("",{providedIn:"platform",factory:()=>"unknown"});var Io=new V(""),Mo=new V("",{providedIn:"root",factory:()=>Hv().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Uv="h",Wv="b";var Gv=()=>null;function _l(t,e,i=!1){return Gv(t,e,i)}var yp=!1,qv=new V("",{providedIn:"root",factory:()=>yp});var Yr=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${cm})`}};function Eo(t){return t instanceof Yr?t.changingThisBreaksApplicationSecurity:t}function Cp(t,e){let i=Zv(t);if(i!=null&&i!==e){if(i==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${i} (see ${cm})`)}return i===e}function Zv(t){return t instanceof Yr&&t.getTypeName()||null}var Yv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function wp(t){return t=String(t),t.match(Yv)?t:"unsafe:"+t}var vl=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}(vl||{});function ko(t){let e=Qv();return e?e.sanitize(vl.URL,t)||"":Cp(t,"URL")?Eo(t):wp(hi(t))}function Qv(){let t=q();return t&&t[Lt].sanitizer}var Kv=/^>|^->|<!--|-->|--!>|<!-$/g,Xv=/(<|>)/g,Jv="\u200B$1\u200B";function e0(t){return t.replace(Kv,e=>e.replace(Xv,Jv))}function gn(t){return t.ownerDocument}var Gt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Gt||{}),t0;function yl(t,e){return t0(t,e)}function mi(t,e,i,n,o){if(n!=null){let r,s=!1;nn(n)?r=n:Pn(n)&&(s=!0,n=n[tn]);let a=Ut(n);t===0&&i!==null?o==null?Ep(e,i,a):Qr(e,i,a,o||null,!0):t===1&&i!==null?Qr(e,i,a,o||null,!0):t===2?b0(e,a,s):t===3&&e.destroyNode(a),r!=null&&v0(e,t,r,i,o)}}function n0(t,e){return t.createText(e)}function i0(t,e,i){t.setValue(e,i)}function o0(t,e){return t.createComment(e0(e))}function xp(t,e,i){return t.createElement(e,i)}function r0(t,e){Dp(t,e),e[tn]=null,e[bt]=null}function s0(t,e,i,n,o,r){n[tn]=o,n[bt]=e,vs(t,n,i,1,o,r)}function Dp(t,e){e[Lt].changeDetectionScheduler?.notify(1),vs(t,e,e[Ae],2,null,null)}function a0(t){let e=t[lo];if(!e)return Ha(t[G],t);for(;e;){let i=null;if(Pn(e))i=e[lo];else{let n=e[Je];n&&(i=n)}if(!i){for(;e&&!e[Rt]&&e!==t;)Pn(e)&&Ha(e[G],e),e=e[Ze];e===null&&(e=t),Pn(e)&&Ha(e[G],e),i=e&&e[Rt]}e=i}}function c0(t,e,i,n){let o=Je+n,r=i.length;n>0&&(i[o-1][Rt]=e),n<r-Je?(e[Rt]=i[o],_m(i,Je+n,e)):(i.push(e),e[Rt]=null),e[Ze]=i;let s=e[xo];s!==null&&i!==s&&l0(s,e);let a=e[en];a!==null&&a.insertView(t),rc(e),e[$]|=128}function l0(t,e){let i=t[Ci],o=e[Ze][Ze][Mt];e[Mt]!==o&&(t[$]|=rl.HasTransplantedViews),i===null?t[Ci]=[e]:i.push(e)}function Ip(t,e){let i=t[Ci],n=i.indexOf(e);i.splice(n,1)}function fo(t,e){if(t.length<=Je)return;let i=Je+e,n=t[i];if(n){let o=n[xo];o!==null&&o!==t&&Ip(o,n),e>0&&(t[i-1][Rt]=n[Rt]);let r=Br(t,Je+e);r0(n[G],n);let s=r[en];s!==null&&s.detachView(r[G]),n[Ze]=null,n[Rt]=null,n[$]&=-129}return n}function bs(t,e){if(!(e[$]&256)){let i=e[Ae];i.destroyNode&&vs(t,e,i,3,null,null),a0(e)}}function Ha(t,e){if(e[$]&256)return;let i=le(null);try{e[$]&=-129,e[$]|=256,e[jn]&&qu(e[jn]),d0(t,e),u0(t,e),e[G].type===1&&e[Ae].destroy();let n=e[xo];if(n!==null&&nn(e[Ze])){n!==e[Ze]&&Ip(n,e);let o=e[en];o!==null&&o.detachView(t)}zv(e)}finally{le(i)}}function u0(t,e){let i=t.cleanup,n=e[co];if(i!==null)for(let r=0;r<i.length-1;r+=2)if(typeof i[r]=="string"){let s=i[r+3];s>=0?n[s]():n[-s].unsubscribe(),r+=2}else{let s=n[i[r+1]];i[r].call(s)}n!==null&&(e[co]=null);let o=e[un];if(o!==null){e[un]=null;for(let r=0;r<o.length;r++){let s=o[r];s()}}}function d0(t,e){let i;if(t!=null&&(i=t.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let o=e[i[n]];if(!(o instanceof Vn)){let r=i[n+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let a=o[r[s]],c=r[s+1];zt(4,a,c);try{c.call(a)}finally{zt(5,a,c)}}else{zt(4,o,r);try{r.call(o)}finally{zt(5,o,r)}}}}}function Mp(t,e,i){return m0(t,e.parent,i)}function m0(t,e,i){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return i[tn];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:r}=t.data[n.directiveStart+o];if(r===$t.None||r===$t.Emulated)return null}return kt(n,i)}}function Qr(t,e,i,n,o){t.insertBefore(e,i,n,o)}function Ep(t,e,i){t.appendChild(e,i)}function $d(t,e,i,n,o){n!==null?Qr(t,e,i,n,o):Ep(t,e,i)}function p0(t,e,i,n){t.removeChild(e,i,n)}function Cl(t,e){return t.parentNode(e)}function f0(t,e){return t.nextSibling(e)}function kp(t,e,i){return g0(t,e,i)}function h0(t,e,i){return t.type&40?kt(t,i):null}var g0=h0,Ud;function _s(t,e,i,n){let o=Mp(t,n,e),r=e[Ae],s=n.parent||e[bt],a=kp(s,n,e);if(o!=null)if(Array.isArray(i))for(let c=0;c<i.length;c++)$d(r,o,i[c],a,!1);else $d(r,o,i,a,!1);Ud!==void 0&&Ud(r,n,e,i,o)}function jr(t,e){if(e!==null){let i=e.type;if(i&3)return kt(e,t);if(i&4)return pc(-1,t[e.index]);if(i&8){let n=e.child;if(n!==null)return jr(t,n);{let o=t[e.index];return nn(o)?pc(-1,o):Ut(o)}}else{if(i&32)return yl(e,t)()||Ut(t[e.index]);{let n=Sp(t,e);if(n!==null){if(Array.isArray(n))return n[0];let o=po(t[Mt]);return jr(o,n)}else return jr(t,e.next)}}}return null}function Sp(t,e){if(e!==null){let n=t[Mt][bt],o=e.projection;return n.projection[o]}return null}function pc(t,e){let i=Je+t+1;if(i<e.length){let n=e[i],o=n[G].firstChild;if(o!==null)return jr(n,o)}return e[Rn]}function b0(t,e,i){let n=Cl(t,e);n&&p0(t,n,e,i)}function wl(t,e,i,n,o,r,s){for(;i!=null;){let a=n[i.index],c=i.type;if(s&&e===0&&(a&&pn(Ut(a),n),i.flags|=2),(i.flags&32)!==32)if(c&8)wl(t,e,i.child,n,o,r,!1),mi(e,t,o,a,r);else if(c&32){let l=yl(i,n),u;for(;u=l();)mi(e,t,o,u,r);mi(e,t,o,a,r)}else c&16?Op(t,e,n,i,o,r):mi(e,t,o,a,r);i=s?i.projectionNext:i.next}}function vs(t,e,i,n,o,r){wl(i,n,t.firstChild,e,o,r,!1)}function _0(t,e,i){let n=e[Ae],o=Mp(t,i,e),r=i.parent||e[bt],s=kp(r,i,e);Op(n,0,e,i,o,s)}function Op(t,e,i,n,o,r){let s=i[Mt],c=s[bt].projection[n.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];mi(e,t,o,u,r)}else{let l=c,u=s[Ze];fp(n)&&(l.flags|=128),wl(t,e,l,u,o,r,!0)}}function v0(t,e,i,n,o){let r=i[Rn],s=Ut(i);r!==s&&mi(e,t,n,r,o);for(let a=Je;a<i.length;a++){let c=i[a];vs(c[G],c,t,e,n,r)}}function y0(t,e,i,n,o){if(e)o?t.addClass(i,n):t.removeClass(i,n);else{let r=n.indexOf("-")===-1?void 0:Gt.DashCase;o==null?t.removeStyle(i,n,r):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=Gt.Important),t.setStyle(i,n,o,r))}}function C0(t,e,i){t.setAttribute(e,"style",i)}function Tp(t,e,i){i===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",i)}function Ap(t,e,i){let{mergedAttrs:n,classes:o,styles:r}=i;n!==null&&tc(t,e,n),o!==null&&Tp(t,e,o),r!==null&&C0(t,e,r)}var St={};function d(t=1){Pp(je(),q(),on()+t,!1)}function Pp(t,e,i,n){if(!n)if((e[$]&3)===3){let r=t.preOrderCheckHooks;r!==null&&Pr(e,r,i)}else{let r=t.preOrderHooks;r!==null&&Fr(e,r,0,i)}Ln(i)}function C(t,e=de.Default){let i=q();if(i===null)return F(t,e);let n=tt();return lp(n,i,st(t),e)}function Fp(){let t="invalid";throw new Error(t)}function Np(t,e,i,n,o,r){let s=le(null);try{let a=null;o&_.SignalBased&&(a=e[n][fa]),a!==null&&a.transformFn!==void 0&&(r=a.transformFn(r)),o&_.HasDecoratorInputTransform&&(r=t.inputTransforms[n].call(e,r)),t.setInput!==null?t.setInput(e,a,r,i,n):jm(e,a,n,r)}finally{le(s)}}function w0(t,e){let i=t.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let o=i[n];if(o<0)Ln(~o);else{let r=o,s=i[++n],a=i[++n];mv(s,r);let c=e[r];a(2,c)}}}finally{Ln(-1)}}function ys(t,e,i,n,o,r,s,a,c,l,u){let p=e.blueprint.slice();return p[tn]=o,p[$]=n|4|128|8|64,(l!==null||t&&t[$]&2048)&&(p[$]|=2048),$m(p),p[Ze]=p[Ii]=t,p[Xe]=i,p[Lt]=s||t&&t[Lt],p[Ae]=a||t&&t[Ae],p[yi]=c||t&&t[yi]||null,p[bt]=r,p[ls]=Vv(),p[vi]=u,p[Fm]=l,p[Mt]=e.type==2?t[Mt]:p,p}function Oi(t,e,i,n,o){let r=t.data[e];if(r===null)r=x0(t,e,i,n,o),dv()&&(r.flags|=32);else if(r.type&64){r.type=i,r.value=n,r.attrs=o;let s=av();r.injectorIndex=s===null?-1:s.injectorIndex}return Un(r,!0),r}function x0(t,e,i,n,o){let r=qm(),s=ul(),a=s?r:r&&r.parent,c=t.data[e]=S0(t,a,i,e,n,o);return t.firstChild===null&&(t.firstChild=c),r!==null&&(s?r.child==null&&c.parent!==null&&(r.child=c):r.next===null&&(r.next=c,c.prev=r)),c}function jp(t,e,i,n){if(i===0)return-1;let o=e.length;for(let r=0;r<i;r++)e.push(n),t.blueprint.push(n),t.data.push(null);return o}function Rp(t,e,i,n,o){let r=on(),s=n&2;try{Ln(-1),s&&e.length>et&&Pp(t,e,et,!1),zt(s?2:0,o),i(n,o)}finally{Ln(r),zt(s?3:1,o)}}function xl(t,e,i){if(sl(e)){let n=le(null);try{let o=e.directiveStart,r=e.directiveEnd;for(let s=o;s<r;s++){let a=t.data[s];if(a.contentQueries){let c=i[s];a.contentQueries(1,c,s)}}}finally{le(n)}}}function Dl(t,e,i){Wm()&&(N0(t,e,i,kt(i,e)),(i.flags&64)===64&&Bp(t,e,i))}function Il(t,e,i=kt){let n=e.localNames;if(n!==null){let o=e.index+1;for(let r=0;r<n.length;r+=2){let s=n[r+1],a=s===-1?i(e,t):t[s];t[o++]=a}}}function Lp(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Ml(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Ml(t,e,i,n,o,r,s,a,c,l,u){let p=et+n,b=p+o,v=D0(p,b),I=typeof l=="function"?l():l;return v[G]={type:t,blueprint:v,template:i,queries:null,viewQuery:a,declTNode:e,data:v.slice().fill(null,p),bindingStartIndex:p,expandoStartIndex:b,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:c,consts:I,incompleteFirstPass:!1,ssrId:u}}function D0(t,e){let i=[];for(let n=0;n<e;n++)i.push(n<t?null:St);return i}function I0(t,e,i,n){let r=n.get(qv,yp)||i===$t.ShadowDom,s=t.selectRootElement(e,r);return M0(s),s}function M0(t){E0(t)}var E0=()=>null;function k0(t,e,i,n){let o=$p(e);o.push(i),t.firstCreatePass&&Up(t).push(n,o.length-1)}function S0(t,e,i,n,o,r){let s=e?e.injectorIndex:-1,a=0;return Gm()&&(a|=128),{type:i,index:n,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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Wd(t,e,i,n,o){for(let r in e){if(!e.hasOwnProperty(r))continue;let s=e[r];if(s===void 0)continue;n??={};let a,c=_.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=r;if(o!==null){if(!o.hasOwnProperty(r))continue;l=o[r]}t===0?Gd(n,i,l,a,c):Gd(n,i,l,a)}return n}function Gd(t,e,i,n,o){let r;t.hasOwnProperty(i)?(r=t[i]).push(e,n):r=t[i]=[e,n],o!==void 0&&r.push(o)}function O0(t,e,i){let n=e.directiveStart,o=e.directiveEnd,r=t.data,s=e.attrs,a=[],c=null,l=null;for(let u=n;u<o;u++){let p=r[u],b=i?i.get(p):null,v=b?b.inputs:null,I=b?b.outputs:null;c=Wd(0,p.inputs,u,c,v),l=Wd(1,p.outputs,u,l,I);let A=c!==null&&s!==null&&!tl(e)?G0(c,u,s):null;a.push(A)}c!==null&&(c.hasOwnProperty("class")&&(e.flags|=8),c.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=c,e.outputs=l}function T0(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function El(t,e,i,n,o,r,s,a){let c=kt(e,i),l=e.inputs,u;!a&&l!=null&&(u=l[n])?(Sl(t,i,u,n,o),us(e)&&A0(i,e.index)):e.type&3?(n=T0(n),o=s!=null?s(o,e.value||"",n):o,r.setProperty(c,n,o)):e.type&12}function A0(t,e){let i=fn(e,t);i[$]&16||(i[$]|=64)}function kl(t,e,i,n){if(Wm()){let o=n===null?null:{"":-1},r=R0(t,i),s,a;r===null?s=a=null:[s,a]=r,s!==null&&Vp(t,e,i,s,o,a),o&&L0(i,n,o)}i.mergedAttrs=ao(i.mergedAttrs,i.attrs)}function Vp(t,e,i,n,o,r){for(let l=0;l<n.length;l++)cc(qr(i,e),t,n[l].type);B0(i,t.data.length,n.length);for(let l=0;l<n.length;l++){let u=n[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=jp(t,e,n.length,null);for(let l=0;l<n.length;l++){let u=n[l];i.mergedAttrs=ao(i.mergedAttrs,u.hostAttrs),z0(t,i,e,c,u),V0(c,u,o),u.contentQueries!==null&&(i.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(i.flags|=64);let p=u.type.prototype;!s&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((t.preOrderHooks??=[]).push(i.index),s=!0),!a&&(p.ngOnChanges||p.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(i.index),a=!0),c++}O0(t,i,r)}function P0(t,e,i,n,o){let r=o.hostBindings;if(r){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;F0(s)!=a&&s.push(a),s.push(i,n,r)}}function F0(t){let e=t.length;for(;e>0;){let i=t[--e];if(typeof i=="number"&&i<0)return i}return 0}function N0(t,e,i,n){let o=i.directiveStart,r=i.directiveEnd;us(i)&&H0(e,i,t.data[o+i.componentOffset]),t.firstCreatePass||qr(i,e),pn(n,e);let s=i.initialInputs;for(let a=o;a<r;a++){let c=t.data[a],l=Bn(e,t,a,i);if(pn(l,e),s!==null&&W0(e,a-o,l,c,i,s),mn(c)){let u=fn(i.index,e);u[Xe]=Bn(e,t,a,i)}}}function Bp(t,e,i){let n=i.directiveStart,o=i.directiveEnd,r=i.index,s=pv();try{Ln(r);for(let a=n;a<o;a++){let c=t.data[a],l=e[a];sc(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&j0(c,l)}}finally{Ln(-1),sc(s)}}function j0(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function R0(t,e){let i=t.directiveRegistry,n=null,o=null;if(i)for(let r=0;r<i.length;r++){let s=i[r];if(Dm(e,s.selectors,!1))if(n||(n=[]),mn(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),n.unshift(...a,s);let c=a.length;fc(t,e,c)}else n.unshift(s),fc(t,e,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,n,o),n.push(s)}return n===null?null:[n,o]}function fc(t,e,i){e.componentOffset=i,(t.components??=[]).push(e.index)}function L0(t,e,i){if(e){let n=t.localNames=[];for(let o=0;o<e.length;o+=2){let r=i[e[o+1]];if(r==null)throw new me(-301,!1);n.push(e[o],r)}}}function V0(t,e,i){if(i){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)i[e.exportAs[n]]=t;mn(e)&&(i[""]=t)}}function B0(t,e,i){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+i,t.providerIndexes=e}function z0(t,e,i,n,o){t.data[n]=o;let r=o.factory||(o.factory=Nn(o.type,!0)),s=new Vn(r,mn(o),C);t.blueprint[n]=s,i[n]=s,P0(t,e,n,jp(t,i,o.hostVars,St),o)}function H0(t,e,i){let n=kt(e,t),o=Lp(i),r=t[Lt].rendererFactory,s=16;i.signals?s=4096:i.onPush&&(s=64);let a=Cs(t,ys(t,o,null,s,n,e,null,r.createRenderer(n,i),null,null,null));t[e.index]=a}function $0(t,e,i,n,o,r){let s=kt(t,e);U0(e[Ae],s,r,t.value,i,n,o)}function U0(t,e,i,n,o,r,s){if(r==null)t.removeAttribute(e,o,i);else{let a=s==null?hi(r):s(r,n||"",o);t.setAttribute(e,o,a,i)}}function W0(t,e,i,n,o,r){let s=r[e];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],l=s[a++],u=s[a++],p=s[a++];Np(n,i,c,l,u,p)}}function G0(t,e,i){let n=null,o=0;for(;o<i.length;){let r=i[o];if(r===0){o+=4;continue}else if(r===5){o+=2;continue}if(typeof r=="number")break;if(t.hasOwnProperty(r)){n===null&&(n=[]);let s=t[r];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(r,s[a+1],s[a+2],i[o+1]);break}}o+=2}return n}function zp(t,e,i,n){return[t,!0,0,e,null,n,null,i,null,null]}function Hp(t,e){let i=t.contentQueries;if(i!==null){let n=le(null);try{for(let o=0;o<i.length;o+=2){let r=i[o],s=i[o+1];if(s!==-1){let a=t.data[s];pl(r),a.contentQueries(2,e[s],s)}}}finally{le(n)}}}function Cs(t,e){return t[lo]?t[jd][Rt]=e:t[lo]=e,t[jd]=e,e}function hc(t,e,i){pl(0);let n=le(null);try{e(t,i)}finally{le(n)}}function $p(t){return t[co]||(t[co]=[])}function Up(t){return t.cleanup||(t.cleanup=[])}function Wp(t,e){let i=t[yi],n=i?i.get(Wt,null):null;n&&n.handleError(e)}function Sl(t,e,i,n,o){for(let r=0;r<i.length;){let s=i[r++],a=i[r++],c=i[r++],l=e[s],u=t.data[s];Np(u,l,n,a,c,o)}}function Gp(t,e,i){let n=zm(e,t);i0(t[Ae],n,i)}function q0(t,e){let i=fn(e,t),n=i[G];Z0(n,i);let o=i[tn];o!==null&&i[vi]===null&&(i[vi]=_l(o,i[yi])),Ol(n,i,i[Xe])}function Z0(t,e){for(let i=e.length;i<t.blueprint.length;i++)e.push(t.blueprint[i])}function Ol(t,e,i){fl(e);try{let n=t.viewQuery;n!==null&&hc(1,n,i);let o=t.template;o!==null&&Rp(t,e,o,1,i),t.firstCreatePass&&(t.firstCreatePass=!1),e[en]?.finishViewCreation(t),t.staticContentQueries&&Hp(t,e),t.staticViewQueries&&hc(2,t.viewQuery,i);let r=t.components;r!==null&&Y0(e,r)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[$]&=-5,hl()}}function Y0(t,e){for(let i=0;i<e.length;i++)q0(t,e[i])}function ws(t,e,i,n){let o=le(null);try{let r=e.tView,a=t[$]&4096?4096:16,c=ys(t,r,i,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),l=t[e.index];c[xo]=l;let u=t[en];return u!==null&&(c[en]=u.createEmbeddedView(r)),Ol(r,c,i),c}finally{le(o)}}function qp(t,e){let i=Je+e;if(i<t.length)return t[i]}function ho(t,e){return!e||e.firstChild===null||fp(t)}function xs(t,e,i,n=!0){let o=e[G];if(c0(o,e,t,i),n){let s=pc(i,t),a=e[Ae],c=Cl(a,t[Rn]);c!==null&&s0(o,t[bt],a,e,c,s)}let r=e[vi];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function Zp(t,e){let i=fo(t,e);return i!==void 0&&bs(i[G],i),i}function Kr(t,e,i,n,o=!1){for(;i!==null;){let r=e[i.index];r!==null&&n.push(Ut(r)),nn(r)&&Q0(r,n);let s=i.type;if(s&8)Kr(t,e,i.child,n);else if(s&32){let a=yl(i,e),c;for(;c=a();)n.push(c)}else if(s&16){let a=Sp(e,i);if(Array.isArray(a))n.push(...a);else{let c=po(e[Mt]);Kr(c[G],c,a,n,!0)}}i=o?i.projectionNext:i.next}return n}function Q0(t,e){for(let i=Je;i<t.length;i++){let n=t[i],o=n[G].firstChild;o!==null&&Kr(n[G],n,o,e)}t[Rn]!==t[tn]&&e.push(t[Rn])}var Yp=[];function K0(t){return t[jn]??X0(t)}function X0(t){let e=Yp.pop()??Object.create(ey);return e.lView=t,e}function J0(t){t.lView[jn]!==t&&(t.lView=null,Yp.push(t))}var ey=dt(ce({},Uu),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{mo(t.lView)},consumerOnSignalRead(){this.lView[jn]=this}}),Qp=100;function Kp(t,e=!0,i=0){let n=t[Lt],o=n.rendererFactory,r=!1;r||o.begin?.();try{ty(t,i)}catch(s){throw e&&Wp(t,s),s}finally{r||(o.end?.(),n.inlineEffectRunner?.flush())}}function ty(t,e){gc(t,e);let i=0;for(;ll(t);){if(i===Qp)throw new me(103,!1);i++,gc(t,1)}}function ny(t,e,i,n){let o=e[$];if((o&256)===256)return;let r=!1;!r&&e[Lt].inlineEffectRunner?.flush(),fl(e);let s=null,a=null;!r&&iy(t)&&(a=K0(e),s=Wu(a));try{$m(e),uv(t.bindingStartIndex),i!==null&&Rp(t,e,i,2,n);let c=(o&3)===3;if(!r)if(c){let p=t.preOrderCheckHooks;p!==null&&Pr(e,p,null)}else{let p=t.preOrderHooks;p!==null&&Fr(e,p,0,null),La(e,0)}if(oy(e),Xp(e,0),t.contentQueries!==null&&Hp(t,e),!r)if(c){let p=t.contentCheckHooks;p!==null&&Pr(e,p)}else{let p=t.contentHooks;p!==null&&Fr(e,p,1),La(e,1)}w0(t,e);let l=t.components;l!==null&&ef(e,l,0);let u=t.viewQuery;if(u!==null&&hc(2,u,n),!r)if(c){let p=t.viewCheckHooks;p!==null&&Pr(e,p)}else{let p=t.viewHooks;p!==null&&Fr(e,p,2),La(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Ra]){for(let p of e[Ra])p();e[Ra]=null}r||(e[$]&=-73)}catch(c){throw mo(e),c}finally{a!==null&&(Gu(a,s),J0(a)),hl()}}function iy(t){return t.type!==2}function Xp(t,e){for(let i=gp(t);i!==null;i=bp(i))for(let n=Je;n<i.length;n++){let o=i[n];Jp(o,e)}}function oy(t){for(let e=gp(t);e!==null;e=bp(e)){if(!(e[$]&rl.HasTransplantedViews))continue;let i=e[Ci];for(let n=0;n<i.length;n++){let o=i[n],r=o[Ze];J_(o)}}}function ry(t,e,i){let n=fn(e,t);Jp(n,i)}function Jp(t,e){cl(t)&&gc(t,e)}function gc(t,e){let n=t[G],o=t[$],r=t[jn],s=!!(e===0&&o&16);if(s||=!!(o&64&&e===0),s||=!!(o&1024),s||=!!(r?.dirty&&ha(r)),r&&(r.dirty=!1),t[$]&=-9217,s)ny(n,t,n.template,t[Xe]);else if(o&8192){Xp(t,1);let a=n.components;a!==null&&ef(t,a,1)}}function ef(t,e,i){for(let n=0;n<e.length;n++)ry(t,e[n],i)}function Tl(t){for(t[Lt].changeDetectionScheduler?.notify();t;){t[$]|=64;let e=po(t);if(U_(t)&&!e)return t;t=e}return null}var zn=class{get rootNodes(){let e=this._lView,i=e[G];return Kr(i,e,i.firstChild,[])}constructor(e,i,n=!0){this._lView=e,this._cdRefInjectingView=i,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Xe]}set context(e){this._lView[Xe]=e}get destroyed(){return(this._lView[$]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Ze];if(nn(e)){let i=e[$r],n=i?i.indexOf(this):-1;n>-1&&(fo(e,n),Br(i,n))}this._attachedToViewContainer=!1}bs(this._lView[G],this._lView)}onDestroy(e){Um(this._lView,e)}markForCheck(){Tl(this._cdRefInjectingView||this._lView)}detach(){this._lView[$]&=-129}reattach(){rc(this._lView),this._lView[$]|=128}detectChanges(){this._lView[$]|=1024,Kp(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new me(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Dp(this._lView[G],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new me(902,!1);this._appRef=e,rc(this._lView)}},ge=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=cy;let t=e;return t})(),sy=ge,ay=class extends sy{constructor(e,i,n){super(),this._declarationLView=e,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,n){let o=ws(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:n});return new zn(o)}};function cy(){return Ds(tt(),q())}function Ds(t,e){return t.type&4?new ay(e,t,Si(t,e)):null}var TP=new RegExp(`^(\\d+)*(${Wv}|${Uv})*(.*)`);var ly=()=>null;function go(t,e){return ly(t,e)}var bc=class{},_c=class{},Xr=class{};function uy(t){let e=Error(`No component factory found for ${gt(t)}.`);return e[dy]=t,e}var dy="ngComponent";var vc=class{resolveComponentFactory(e){throw uy(e)}},Ti=(()=>{let e=class e{};e.NULL=new vc;let t=e;return t})(),bo=class{},rn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>my();let t=e;return t})();function my(){let t=q(),e=tt(),i=fn(e.index,t);return(Pn(i)?i:t)[Ae]}var py=(()=>{let e=class e{};e.\u0275prov=U({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),$a={};var qd=new Set;function Is(t){qd.has(t)||(qd.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Zd(...t){}function fy(){let t=typeof io.requestAnimationFrame=="function",e=io[t?"requestAnimationFrame":"setTimeout"],i=io[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&i){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let o=i[Zone.__symbol__("OriginalDelegate")];o&&(i=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:i}}var ve=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new D(!1),this.onMicrotaskEmpty=new D(!1),this.onStable=new D(!1),this.onError=new D(!1),typeof Zone>"u")throw new me(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&i,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=fy().nativeRequestAnimationFrame,by(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new me(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new me(909,!1)}run(e,i,n){return this._inner.run(e,i,n)}runTask(e,i,n,o){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,e,hy,Zd,Zd);try{return r.runTask(s,i,n)}finally{r.cancelTask(s)}}runGuarded(e,i,n){return this._inner.runGuarded(e,i,n)}runOutsideAngular(e){return this._outer.run(e)}},hy={};function Al(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 gy(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(io,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,yc(t),t.isCheckStableRunning=!0,Al(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),yc(t))}function by(t){let e=()=>{gy(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,o,r,s,a)=>{if(_y(a))return i.invokeTask(o,r,s,a);try{return Yd(t),i.invokeTask(o,r,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&r.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Qd(t)}},onInvoke:(i,n,o,r,s,a,c)=>{try{return Yd(t),i.invoke(o,r,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),Qd(t)}},onHasTask:(i,n,o,r)=>{i.hasTask(o,r),n===o&&(r.change=="microTask"?(t._hasPendingMicrotasks=r.microTask,yc(t),Al(t)):r.change=="macroTask"&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(i,n,o,r)=>(i.handleError(o,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}function yc(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Yd(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Qd(t){t._nesting--,Al(t)}function _y(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var tf=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=U({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Jr(t,e,i){let n=i?t.styles:null,o=i?t.classes:null,r=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")r=a;else if(r==1)o=Ka(o,a);else if(r==2){let c=a,l=e[++s];n=Ka(n,c+": "+l+";")}}i?t.styles=n:t.stylesWithoutHost=n,i?t.classes=o:t.classesWithoutHost=o}var Cc=class extends Ti{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let i=bi(e);return new es(i,this.ngModule)}};function Kd(t){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let n=t[i];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:i})}return e}function vy(t){let e=t.toLowerCase();return e==="svg"?Bm:e==="math"?Z_:null}var wc=class{constructor(e,i){this.injector=e,this.parentInjector=i}get(e,i,n){n=as(n);let o=this.injector.get(e,$a,n);return o!==$a||i===$a?o:this.parentInjector.get(e,i,n)}},es=class extends Xr{get inputs(){let e=this.componentDef,i=e.inputTransforms,n=Kd(e.inputs);if(i!==null)for(let o of n)i.hasOwnProperty(o.propName)&&(o.transform=i[o.propName]);return n}get outputs(){return Kd(this.componentDef.outputs)}constructor(e,i){super(),this.componentDef=e,this.ngModule=i,this.componentType=e.type,this.selector=M_(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!i}create(e,i,n,o){let r=le(null);try{o=o||this.ngModule;let s=o instanceof dn?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new wc(e,s):e,c=a.get(bo,null);if(c===null)throw new me(407,!1);let l=a.get(py,null),u=a.get(tf,null),p=a.get(bc,null),b={rendererFactory:c,sanitizer:l,inlineEffectRunner:null,afterRenderEventManager:u,changeDetectionScheduler:p},v=c.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",A=n?I0(v,n,this.componentDef.encapsulation,a):xp(v,I,vy(I)),W=512;this.componentDef.signals?W|=4096:this.componentDef.onPush||(W|=16);let R=null;A!==null&&(R=_l(A,a,!0));let Ce=Ml(0,null,null,1,0,null,null,null,null,null,null),Oe=ys(null,Ce,null,W,null,null,b,v,a,null,R);fl(Oe);let Ke,nt;try{let ie=this.componentDef,Ue,it=null;ie.findHostDirectiveDefs?(Ue=[],it=new Map,ie.findHostDirectiveDefs(ie,Ue,it),Ue.push(ie)):Ue=[ie];let Qo=yy(Oe,A),tb=Cy(Qo,A,ie,Ue,Oe,b,v);nt=al(Ce,et),A&&Dy(v,ie,A,n),i!==void 0&&Iy(nt,this.ngContentSelectors,i),Ke=xy(tb,ie,Ue,it,Oe,[My]),Ol(Ce,Oe,null)}finally{hl()}return new xc(this.componentType,Ke,Si(nt,Oe),Oe,nt)}finally{le(r)}}},xc=class extends _c{constructor(e,i,n,o,r){super(),this.location=n,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new zn(o,void 0,!1),this.componentType=e}setInput(e,i){let n=this._tNode.inputs,o;if(n!==null&&(o=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),i))return;let r=this._rootLView;Sl(r[G],r,o,e,i),this.previousInputValues.set(e,i);let s=fn(this._tNode.index,r);Tl(s)}}get injector(){return new Fn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function yy(t,e){let i=t[G],n=et;return t[n]=e,Oi(i,n,2,"#host",null)}function Cy(t,e,i,n,o,r,s){let a=o[G];wy(n,t,e,s);let c=null;e!==null&&(c=_l(e,o[yi]));let l=r.rendererFactory.createRenderer(e,i),u=16;i.signals?u=4096:i.onPush&&(u=64);let p=ys(o,Lp(i),null,u,o[t.index],t,r,l,null,null,c);return a.firstCreatePass&&fc(a,t,n.length-1),Cs(o,p),o[t.index]=p}function wy(t,e,i,n){for(let o of t)e.mergedAttrs=ao(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(Jr(e,e.mergedAttrs,!0),i!==null&&Ap(n,i,e))}function xy(t,e,i,n,o,r){let s=tt(),a=o[G],c=kt(s,o);Vp(a,o,s,i,null,n);for(let u=0;u<i.length;u++){let p=s.directiveStart+u,b=Bn(o,a,p,s);pn(b,o)}Bp(a,o,s),c&&pn(c,o);let l=Bn(o,a,s.directiveStart+s.componentOffset,s);if(t[Xe]=o[Xe]=l,r!==null)for(let u of r)u(l,e);return xl(a,s,o),l}function Dy(t,e,i,n){if(n)tc(t,i,["ng-version","17.3.1"]);else{let{attrs:o,classes:r}=E_(e.selectors[0]);o&&tc(t,i,o),r&&r.length>0&&Tp(t,i,r.join(" "))}}function Iy(t,e,i){let n=t.projection=[];for(let o=0;o<e.length;o++){let r=i[o];n.push(r!=null?Array.from(r):null)}}function My(){let t=tt();hs(q()[G],t)}var qt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Ey;let t=e;return t})();function Ey(){let t=tt();return of(t,q())}var ky=qt,nf=class extends ky{constructor(e,i,n){super(),this._lContainer=e,this._hostTNode=i,this._hostLView=n}get element(){return Si(this._hostTNode,this._hostLView)}get injector(){return new Fn(this._hostTNode,this._hostLView)}get parentInjector(){let e=gl(this._hostTNode,this._hostLView);if(ip(e)){let i=Wr(e,this._hostLView),n=Ur(e),o=i[G].data[n+8];return new Fn(o,i)}else return new Fn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let i=Xd(this._lContainer);return i!==null&&i[e]||null}get length(){return this._lContainer.length-Je}createEmbeddedView(e,i,n){let o,r;typeof n=="number"?o=n:n!=null&&(o=n.index,r=n.injector);let s=go(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(i||{},r,s);return this.insertImpl(a,o,ho(this._hostTNode,s)),a}createComponent(e,i,n,o,r){let s=e&&!$_(e),a;if(s)a=i;else{let I=i||{};a=I.index,n=I.injector,o=I.projectableNodes,r=I.environmentInjector||I.ngModuleRef}let c=s?e:new es(bi(e)),l=n||this.parentInjector;if(!r&&c.ngModule==null){let A=(s?l:this.parentInjector).get(dn,null);A&&(r=A)}let u=bi(c.componentType??{}),p=go(this._lContainer,u?.id??null),b=p?.firstChild??null,v=c.create(l,o,b,r);return this.insertImpl(v.hostView,a,ho(this._hostTNode,p)),v}insert(e,i){return this.insertImpl(e,i,!0)}insertImpl(e,i,n){let o=e._lView;if(X_(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=o[Ze],l=new nf(c,c[bt],c[Ze]);l.detach(l.indexOf(e))}}let r=this._adjustIndex(i),s=this._lContainer;return xs(s,o,r,n),e.attachToViewContainerRef(),_m(Ua(s),r,e),e}move(e,i){return this.insert(e,i)}indexOf(e){let i=Xd(this._lContainer);return i!==null?i.indexOf(e):-1}remove(e){let i=this._adjustIndex(e,-1),n=fo(this._lContainer,i);n&&(Br(Ua(this._lContainer),i),bs(n[G],n))}detach(e){let i=this._adjustIndex(e,-1),n=fo(this._lContainer,i);return n&&Br(Ua(this._lContainer),i)!=null?new zn(n):null}_adjustIndex(e,i=0){return e??this.length+i}};function Xd(t){return t[$r]}function Ua(t){return t[$r]||(t[$r]=[])}function of(t,e){let i,n=e[t.index];return nn(n)?i=n:(i=zp(n,e,null,t),e[t.index]=i,Cs(e,i)),Oy(i,e,t,n),new nf(i,t,e)}function Sy(t,e){let i=t[Ae],n=i.createComment(""),o=kt(e,t),r=Cl(i,o);return Qr(i,r,n,f0(i,o),!1),n}var Oy=Py,Ty=()=>!1;function Ay(t,e,i){return Ty(t,e,i)}function Py(t,e,i,n){if(t[Rn])return;let o;i.type&8?o=Ut(n):o=Sy(e,i),t[Rn]=o}var Dc=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Ic=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let i=e.queries;if(i!==null){let n=e.contentQueries!==null?e.contentQueries[0]:i.length,o=[];for(let r=0;r<n;r++){let s=i.getByIndex(r),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let i=0;i<this.queries.length;i++)Pl(e,i).matches!==null&&this.queries[i].setDirty()}},ts=class{constructor(e,i,n=null){this.flags=i,this.read=n,typeof e=="string"?this.predicate=zy(e):this.predicate=e}},Mc=class t{constructor(e=[]){this.queries=e}elementStart(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,i)}elementEnd(e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(e)}embeddedTView(e){let i=null;for(let n=0;n<this.length;n++){let o=i!==null?i.length:0,r=this.getByIndex(n).embeddedTView(e,o);r&&(r.indexInDeclarationView=n,i!==null?i.push(r):i=[r])}return i!==null?new t(i):null}template(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,i)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Ec=class t{constructor(e,i=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(e,i){this.isApplyingToNode(i)&&this.matchTNode(e,i)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,i){this.elementStart(e,i)}embeddedTView(e,i){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,i),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let o=0;o<n.length;o++){let r=n[o];this.matchTNodeWithReadOption(e,i,Fy(i,r)),this.matchTNodeWithReadOption(e,i,Nr(i,e,r,!1,!1))}else n===ge?i.type&4&&this.matchTNodeWithReadOption(e,i,-1):this.matchTNodeWithReadOption(e,i,Nr(i,e,n,!1,!1))}matchTNodeWithReadOption(e,i,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===J||o===qt||o===ge&&i.type&4)this.addMatch(i.index,-2);else{let r=Nr(i,e,o,!1,!1);r!==null&&this.addMatch(i.index,r)}else this.addMatch(i.index,n)}}addMatch(e,i){this.matches===null?this.matches=[e,i]:this.matches.push(e,i)}};function Fy(t,e){let i=t.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===e)return i[n+1]}return null}function Ny(t,e){return t.type&11?Si(t,e):t.type&4?Ds(t,e):null}function jy(t,e,i,n){return i===-1?Ny(e,t):i===-2?Ry(t,e,n):Bn(t,t[G],i,e)}function Ry(t,e,i){if(i===J)return Si(e,t);if(i===ge)return Ds(e,t);if(i===qt)return of(e,t)}function rf(t,e,i,n){let o=e[en].queries[n];if(o.matches===null){let r=t.data,s=i.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=r[l];a.push(jy(e,u,s[c+1],i.metadata.read))}}o.matches=a}return o.matches}function kc(t,e,i,n){let o=t.queries.getByIndex(i),r=o.matches;if(r!==null){let s=rf(t,e,o,i);for(let a=0;a<r.length;a+=2){let c=r[a];if(c>0)n.push(s[a/2]);else{let l=r[a+1],u=e[-c];for(let p=Je;p<u.length;p++){let b=u[p];b[xo]===b[Ze]&&kc(b[G],b,l,n)}if(u[Ci]!==null){let p=u[Ci];for(let b=0;b<p.length;b++){let v=p[b];kc(v[G],v,l,n)}}}}}return n}function Ly(t,e){return t[en].queries[e].queryList}function sf(t,e,i){let n=new Zr((i&4)===4);return k0(t,e,n,n.destroy),(e[en]??=new Ic).queries.push(new Dc(n))-1}function Vy(t,e,i){let n=je();return n.firstCreatePass&&(af(n,new ts(t,e,i),-1),(e&2)===2&&(n.staticViewQueries=!0)),sf(n,q(),e)}function By(t,e,i,n){let o=je();if(o.firstCreatePass){let r=tt();af(o,new ts(e,i,n),r.index),Hy(o,t),(i&2)===2&&(o.staticContentQueries=!0)}return sf(o,q(),i)}function zy(t){return t.split(",").map(e=>e.trim())}function af(t,e,i){t.queries===null&&(t.queries=new Mc),t.queries.track(new Ec(e,i))}function Hy(t,e){let i=t.contentQueries||(t.contentQueries=[]),n=i.length?i[i.length-1]:-1;e!==n&&i.push(t.queries.length-1,e)}function Pl(t,e){return t.queries.getByIndex(e)}function $y(t,e){let i=t[G],n=Pl(i,e);return n.crossesNgTemplate?kc(i,t,e,[]):rf(i,t,n,e)}function cf(t){return typeof t=="function"&&t[fa]!==void 0}function lf(t){return cf(t)&&typeof t.set=="function"}function Uy(t){return Object.getPrototypeOf(t.prototype).constructor}function z(t){let e=Uy(t.type),i=!0,n=[t];for(;e;){let o;if(mn(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new me(903,!1);o=e.\u0275dir}if(o){if(i){n.push(o);let s=t;s.inputs=Or(t.inputs),s.inputTransforms=Or(t.inputTransforms),s.declaredInputs=Or(t.declaredInputs),s.outputs=Or(t.outputs);let a=o.hostBindings;a&&Yy(t,a);let c=o.viewQuery,l=o.contentQueries;if(c&&qy(t,c),l&&Zy(t,l),Wy(t,o),Gb(t.outputs,o.outputs),mn(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===z&&(i=!1)}}e=Object.getPrototypeOf(e)}Gy(n)}function Wy(t,e){for(let i in e.inputs){if(!e.inputs.hasOwnProperty(i)||t.inputs.hasOwnProperty(i))continue;let n=e.inputs[i];if(n!==void 0&&(t.inputs[i]=n,t.declaredInputs[i]=e.declaredInputs[i],e.inputTransforms!==null)){let o=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=e.inputTransforms[o]}}}function Gy(t){let e=0,i=null;for(let n=t.length-1;n>=0;n--){let o=t[n];o.hostVars=e+=o.hostVars,o.hostAttrs=ao(o.hostAttrs,i=ao(i,o.hostAttrs))}}function Or(t){return t===gi?{}:t===pt?[]:t}function qy(t,e){let i=t.viewQuery;i?t.viewQuery=(n,o)=>{e(n,o),i(n,o)}:t.viewQuery=e}function Zy(t,e){let i=t.contentQueries;i?t.contentQueries=(n,o,r)=>{e(n,o,r),i(n,o,r)}:t.contentQueries=e}function Yy(t,e){let i=t.hostBindings;i?t.hostBindings=(n,o)=>{e(n,o),i(n,o)}:t.hostBindings=e}function be(t){let e=t.inputConfig,i={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)&&o[3]&&(i[n]=o[3])}t.inputTransforms=i}var xi=class{};var ns=class extends xi{constructor(e){super(),this.componentFactoryResolver=new Cc(this),this.instance=null;let i=new Hr([...e.providers,{provide:xi,useValue:this},{provide:Ti,useValue:this.componentFactoryResolver}],e.parent||ol(),e.debugName,new Set(["environment"]));this.injector=i,e.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Qy(t,e,i=null){return new ns({providers:t,parent:e,debugName:i,runEnvironmentInitializers:!0}).injector}var uf=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ze(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function df(t){return Fl(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Ky(t,e){if(Array.isArray(t))for(let i=0;i<t.length;i++)e(t[i]);else{let i=t[Symbol.iterator](),n;for(;!(n=i.next()).done;)e(n.value)}}function Fl(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Ms(t,e,i){return t[e]=i}function Et(t,e,i){let n=t[e];return Object.is(n,i)?!1:(t[e]=i,!0)}function _o(t,e,i,n){let o=Et(t,e,i);return Et(t,e+1,n)||o}function Xy(t,e,i,n,o){let r=_o(t,e,i,n);return Et(t,e+2,o)||r}function Jy(t,e,i,n,o,r){let s=_o(t,e,i,n);return _o(t,e+2,o,r)||s}function eC(t){return(t.flags&32)===32}function tC(t,e,i,n,o,r,s,a,c){let l=e.consts,u=Oi(e,t,4,s||null,wi(l,a));kl(e,i,u,wi(l,c)),hs(e,u);let p=u.tView=Ml(2,u,n,o,r,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l,null);return e.queries!==null&&(e.queries.template(e,u),p.queries=e.queries.embeddedTView(u)),u}function x(t,e,i,n,o,r,s,a){let c=q(),l=je(),u=t+et,p=l.firstCreatePass?tC(u,l,c,e,i,n,o,r,s):l.data[u];Un(p,!1);let b=nC(l,c,p,t);ps()&&_s(l,c,b,p),pn(b,c);let v=zp(b,c,b,p);return c[u]=v,Cs(c,v),Ay(v,p,c),ds(p)&&Dl(l,c,p),s!=null&&Il(c,p,a),x}var nC=iC;function iC(t,e,i,n){return fs(!0),e[Ae].createComment("")}function Z(t,e,i,n){let o=q(),r=Mi();if(Et(o,r,e)){let s=je(),a=ms();$0(a,o,t,e,i,n)}return Z}function mf(t,e,i,n){return Et(t,Mi(),i)?e+hi(i)+n:St}function oC(t,e,i,n,o,r){let s=lv(),a=_o(t,s,i,o);return ml(2),a?e+hi(i)+n+hi(o)+r:St}function Tr(t,e){return t<<17|e<<2}function Hn(t){return t>>17&32767}function rC(t){return(t&2)==2}function sC(t,e){return t&131071|e<<17}function Sc(t){return t|2}function Di(t){return(t&131068)>>2}function Wa(t,e){return t&-131069|e<<2}function aC(t){return(t&1)===1}function Oc(t){return t|1}function cC(t,e,i,n,o,r){let s=r?e.classBindings:e.styleBindings,a=Hn(s),c=Di(s);t[n]=i;let l=!1,u;if(Array.isArray(i)){let p=i;u=p[1],(u===null||Co(p,u)>0)&&(l=!0)}else u=i;if(o)if(c!==0){let b=Hn(t[a+1]);t[n+1]=Tr(b,a),b!==0&&(t[b+1]=Wa(t[b+1],n)),t[a+1]=sC(t[a+1],n)}else t[n+1]=Tr(a,0),a!==0&&(t[a+1]=Wa(t[a+1],n)),a=n;else t[n+1]=Tr(c,0),a===0?a=n:t[c+1]=Wa(t[c+1],n),c=n;l&&(t[n+1]=Sc(t[n+1])),Jd(t,u,n,!0),Jd(t,u,n,!1),lC(e,u,t,n,r),s=Tr(a,c),r?e.classBindings=s:e.styleBindings=s}function lC(t,e,i,n,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof e=="string"&&Co(r,e)>=0&&(i[n+1]=Oc(i[n+1]))}function Jd(t,e,i,n){let o=t[i+1],r=e===null,s=n?Hn(o):Di(o),a=!1;for(;s!==0&&(a===!1||r);){let c=t[s],l=t[s+1];uC(c,e)&&(a=!0,t[s+1]=n?Oc(l):Sc(l)),s=n?Hn(l):Di(l)}a&&(t[i+1]=n?Sc(o):Oc(o))}function uC(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Co(t,e)>=0:!1}var jt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function dC(t){return t.substring(jt.key,jt.keyEnd)}function mC(t){return pC(t),pf(t,ff(t,0,jt.textEnd))}function pf(t,e){let i=jt.textEnd;return i===e?-1:(e=jt.keyEnd=fC(t,jt.key=e,i),ff(t,e,i))}function pC(t){jt.key=0,jt.keyEnd=0,jt.value=0,jt.valueEnd=0,jt.textEnd=t.length}function ff(t,e,i){for(;e<i&&t.charCodeAt(e)<=32;)e++;return e}function fC(t,e,i){for(;e<i&&t.charCodeAt(e)>32;)e++;return e}function f(t,e,i){let n=q(),o=Mi();if(Et(n,o,e)){let r=je(),s=ms();El(r,s,n,t,e,n[Ae],i,!1)}return f}function Tc(t,e,i,n,o){let r=e.inputs,s=o?"class":"style";Sl(t,i,r[s],s,n)}function Me(t,e,i){return hf(t,e,i,!1),Me}function ee(t,e){return hf(t,e,null,!0),ee}function So(t){gC(wC,hC,t,!0)}function hC(t,e){for(let i=mC(e);i>=0;i=pf(e,i))el(t,dC(e),!0)}function hf(t,e,i,n){let o=q(),r=je(),s=ml(2);if(r.firstUpdatePass&&bf(r,t,s,n),e!==St&&Et(o,s,e)){let a=r.data[on()];_f(r,a,o,o[Ae],t,o[s+1]=DC(e,i),n,s)}}function gC(t,e,i,n){let o=je(),r=ml(2);o.firstUpdatePass&&bf(o,null,r,n);let s=q();if(i!==St&&Et(s,r,i)){let a=o.data[on()];if(vf(a,n)&&!gf(o,r)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(i=Ka(c,i||"")),Tc(o,a,s,i,n)}else xC(o,a,s,s[Ae],s[r+1],s[r+1]=CC(t,e,i),n,r)}}function gf(t,e){return e>=t.expandoStartIndex}function bf(t,e,i,n){let o=t.data;if(o[i+1]===null){let r=o[on()],s=gf(t,i);vf(r,n)&&e===null&&!s&&(e=!1),e=bC(o,r,e,n),cC(o,r,e,i,s,n)}}function bC(t,e,i,n){let o=fv(t),r=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(i=Ga(null,t,e,i,n),i=vo(i,e.attrs,n),r=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(i=Ga(o,t,e,i,n),r===null){let c=_C(t,e,n);c!==void 0&&Array.isArray(c)&&(c=Ga(null,t,e,c[1],n),c=vo(c,e.attrs,n),vC(t,e,n,c))}else r=yC(t,e,n)}return r!==void 0&&(n?e.residualClasses=r:e.residualStyles=r),i}function _C(t,e,i){let n=i?e.classBindings:e.styleBindings;if(Di(n)!==0)return t[Hn(n)]}function vC(t,e,i,n){let o=i?e.classBindings:e.styleBindings;t[Hn(o)]=n}function yC(t,e,i){let n,o=e.directiveEnd;for(let r=1+e.directiveStylingLast;r<o;r++){let s=t[r].hostAttrs;n=vo(n,s,i)}return vo(n,e.attrs,i)}function Ga(t,e,i,n,o){let r=null,s=i.directiveEnd,a=i.directiveStylingLast;for(a===-1?a=i.directiveStart:a++;a<s&&(r=e[a],n=vo(n,r.hostAttrs,o),r!==t);)a++;return t!==null&&(i.directiveStylingLast=a),n}function vo(t,e,i){let n=i?1:2,o=-1;if(e!==null)for(let r=0;r<e.length;r++){let s=e[r];typeof s=="number"?o=s:o===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),el(t,s,i?!0:e[++r]))}return t===void 0?null:t}function CC(t,e,i){if(i==null||i==="")return pt;let n=[],o=Eo(i);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(n,o[r],!0);else if(typeof o=="object")for(let r in o)o.hasOwnProperty(r)&&t(n,r,o[r]);else typeof o=="string"&&e(n,o);return n}function wC(t,e,i){let n=String(e);n!==""&&!n.includes(" ")&&el(t,n,i)}function xC(t,e,i,n,o,r,s,a){o===St&&(o=pt);let c=0,l=0,u=0<o.length?o[0]:null,p=0<r.length?r[0]:null;for(;u!==null||p!==null;){let b=c<o.length?o[c+1]:void 0,v=l<r.length?r[l+1]:void 0,I=null,A;u===p?(c+=2,l+=2,b!==v&&(I=p,A=v)):p===null||u!==null&&u<p?(c+=2,I=u):(l+=2,I=p,A=v),I!==null&&_f(t,e,i,n,I,A,s,a),u=c<o.length?o[c]:null,p=l<r.length?r[l]:null}}function _f(t,e,i,n,o,r,s,a){if(!(e.type&3))return;let c=t.data,l=c[a+1],u=aC(l)?em(c,e,i,o,Di(l),s):void 0;if(!is(u)){is(r)||rC(l)&&(r=em(c,null,i,o,a,s));let p=zm(on(),i);y0(n,s,p,o,r)}}function em(t,e,i,n,o,r){let s=e===null,a;for(;o>0;){let c=t[o],l=Array.isArray(c),u=l?c[1]:c,p=u===null,b=i[o+1];b===St&&(b=p?pt:void 0);let v=p?Na(b,n):u===n?b:void 0;if(l&&!is(v)&&(v=Na(c,n)),is(v)&&(a=v,s))return a;let I=t[o+1];o=s?Hn(I):Di(I)}if(e!==null){let c=r?e.residualClasses:e.residualStyles;c!=null&&(a=Na(c,n))}return a}function is(t){return t!==void 0}function DC(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=gt(Eo(t)))),t}function vf(t,e){return(t.flags&(e?8:16))!==0}var Ac=class{destroy(e){}updateValue(e,i){}swap(e,i){let n=Math.min(e,i),o=Math.max(e,i),r=this.detach(o);if(o-n>1){let s=this.detach(n);this.attach(n,r),this.attach(o,s)}else this.attach(n,r)}move(e,i){this.attach(i,this.detach(e))}};function qa(t,e,i,n,o){return t===i&&Object.is(e,n)?1:Object.is(o(t,e),o(i,n))?-1:0}function IC(t,e,i){let n,o,r=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;r<=s&&r<=a;){let c=t.at(r),l=e[r],u=qa(r,c,r,l,i);if(u!==0){u<0&&t.updateValue(r,l),r++;continue}let p=t.at(s),b=e[a],v=qa(s,p,a,b,i);if(v!==0){v<0&&t.updateValue(s,b),s--,a--;continue}let I=i(r,c),A=i(s,p),W=i(r,l);if(Object.is(W,A)){let R=i(a,b);Object.is(R,I)?(t.swap(r,s),t.updateValue(s,b),a--,s--):t.move(s,r),t.updateValue(r,l),r++;continue}if(n??=new os,o??=nm(t,r,s,i),Pc(t,n,r,W))t.updateValue(r,l),r++,s++;else if(o.has(W))n.set(I,t.detach(r)),s--;else{let R=t.create(r,e[r]);t.attach(r,R),r++,s++}}for(;r<=a;)tm(t,n,i,r,e[r]),r++}else if(e!=null){let a=e[Symbol.iterator](),c=a.next();for(;!c.done&&r<=s;){let l=t.at(r),u=c.value,p=qa(r,l,r,u,i);if(p!==0)p<0&&t.updateValue(r,u),r++,c=a.next();else{n??=new os,o??=nm(t,r,s,i);let b=i(r,u);if(Pc(t,n,r,b))t.updateValue(r,u),r++,s++,c=a.next();else if(!o.has(b))t.attach(r,t.create(r,u)),r++,s++,c=a.next();else{let v=i(r,l);n.set(v,t.detach(r)),s--}}}for(;!c.done;)tm(t,n,i,t.length,c.value),c=a.next()}for(;r<=s;)t.destroy(t.detach(s--));n?.forEach(a=>{t.destroy(a)})}function Pc(t,e,i,n){return e!==void 0&&e.has(n)?(t.attach(i,e.get(n)),e.delete(n),!0):!1}function tm(t,e,i,n,o){if(Pc(t,e,n,i(n,o)))t.updateValue(n,o);else{let r=t.create(n,o);t.attach(n,r)}}function nm(t,e,i,n){let o=new Set;for(let r=e;r<=i;r++)o.add(n(r,t.at(r)));return o}var os=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let i=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(i)?(this.kvMap.set(e,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,i){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,i)}else this.kvMap.set(e,i)}forEach(e){for(let[i,n]of this.kvMap)if(e(n,i),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),e(n,i)}}};function Q(t,e,i){Is("NgControlFlow");let n=q(),o=Mi(),r=Rc(n,et+t),s=0;if(Et(n,o,e)){let a=le(null);try{if(Zp(r,s),e!==-1){let c=Lc(n[G],et+e),l=go(r,c.tView.ssrId),u=ws(n,c,i,{dehydratedView:l});xs(r,u,s,ho(c,l))}}finally{le(a)}}else{let a=qp(r,s);a!==void 0&&(a[Xe]=i)}}var Fc=class{constructor(e,i,n){this.lContainer=e,this.$implicit=i,this.$index=n}get $count(){return this.lContainer.length-Je}};function Oo(t,e){return e}var Nc=class{constructor(e,i,n){this.hasEmptyBlock=e,this.trackByFn=i,this.liveCollection=n}};function bn(t,e,i,n,o,r,s,a,c,l,u,p,b){Is("NgControlFlow");let v=c!==void 0,I=q(),A=a?s.bind(I[Mt][Xe]):s,W=new Nc(v,A);I[et+t]=W,x(t+1,e,i,n,o,r),v&&x(t+2,c,l,u,p,b)}var jc=class extends Ac{constructor(e,i,n){super(),this.lContainer=e,this.hostLView=i,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Je}at(e){return this.getLView(e)[Xe].$implicit}attach(e,i){let n=i[vi];this.needsIndexUpdate||=e!==this.length,xs(this.lContainer,i,e,ho(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,MC(this.lContainer,e)}create(e,i){let n=go(this.lContainer,this.templateTNode.tView.ssrId);return ws(this.hostLView,this.templateTNode,new Fc(this.lContainer,i,e),{dehydratedView:n})}destroy(e){bs(e[G],e)}updateValue(e,i){this.getLView(e)[Xe].$implicit=i}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[Xe].$index=e}getLView(e){return EC(this.lContainer,e)}};function _n(t){let e=le(null),i=on();try{let n=q(),o=n[G],r=n[i];if(r.liveCollection===void 0){let a=i+1,c=Rc(n,a),l=Lc(o,a);r.liveCollection=new jc(c,n,l)}else r.liveCollection.reset();let s=r.liveCollection;if(IC(s,t,r.trackByFn),s.updateIndexes(),r.hasEmptyBlock){let a=Mi(),c=s.length===0;if(Et(n,a,c)){let l=i+2,u=Rc(n,l);if(c){let p=Lc(o,l),b=go(u,p.tView.ssrId),v=ws(n,p,void 0,{dehydratedView:b});xs(u,v,0,ho(p,b))}else Zp(u,0)}}}finally{le(e)}}function Rc(t,e){return t[e]}function MC(t,e){return fo(t,e)}function EC(t,e){return qp(t,e)}function Lc(t,e){return al(t,e)}function kC(t,e,i,n,o,r){let s=e.consts,a=wi(s,o),c=Oi(e,t,2,n,a);return kl(e,i,c,wi(s,r)),c.attrs!==null&&Jr(c,c.attrs,!1),c.mergedAttrs!==null&&Jr(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function m(t,e,i,n){let o=q(),r=je(),s=et+t,a=o[Ae],c=r.firstCreatePass?kC(s,r,o,e,i,n):r.data[s],l=SC(r,o,c,a,e,t);o[s]=l;let u=ds(c);return Un(c,!0),Ap(a,l,c),!eC(c)&&ps()&&_s(r,o,l,c),nv()===0&&pn(l,o),iv(),u&&(Dl(r,o,c),xl(r,c,o)),n!==null&&Il(o,c),m}function h(){let t=tt();ul()?dl():(t=t.parent,Un(t,!1));let e=t;rv(e)&&sv(),ov();let i=je();return i.firstCreatePass&&(hs(i,t),sl(t)&&i.queries.elementEnd(t)),e.classesWithoutHost!=null&&Cv(e)&&Tc(i,e,q(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&wv(e)&&Tc(i,e,q(),e.stylesWithoutHost,!1),h}function O(t,e,i,n){return m(t,e,i,n),h(),O}var SC=(t,e,i,n,o,r)=>(fs(!0),xp(n,o,bv()));function OC(t,e,i,n,o){let r=e.consts,s=wi(r,n),a=Oi(e,t,8,"ng-container",s);s!==null&&Jr(a,s,!0);let c=wi(r,o);return kl(e,i,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function _t(t,e,i){let n=q(),o=je(),r=t+et,s=o.firstCreatePass?OC(r,o,n,e,i):o.data[r];Un(s,!0);let a=TC(o,n,s,t);return n[r]=a,ps()&&_s(o,n,a,s),pn(a,n),ds(s)&&(Dl(o,n,s),xl(o,s,n)),i!=null&&Il(n,s),_t}function vt(){let t=tt(),e=je();return ul()?dl():(t=t.parent,Un(t,!1)),e.firstCreatePass&&(hs(e,t),sl(t)&&e.queries.elementEnd(t)),vt}function at(t,e,i){return _t(t,e,i),vt(),at}var TC=(t,e,i,n)=>(fs(!0),o0(e[Ae],""));function N(){return q()}var rs="en-US";var AC=rs;function PC(t){typeof t=="string"&&(AC=t.toLowerCase().replace(/_/g,"-"))}function y(t,e,i,n){let o=q(),r=je(),s=tt();return yf(r,o,o[Ae],s,t,e,n),y}function FC(t,e,i,n){let o=t.cleanup;if(o!=null)for(let r=0;r<o.length-1;r+=2){let s=o[r];if(s===i&&o[r+1]===n){let a=e[co],c=o[r+2];return a.length>c?a[c]:null}typeof s=="string"&&(r+=2)}return null}function yf(t,e,i,n,o,r,s){let a=ds(n),l=t.firstCreatePass&&Up(t),u=e[Xe],p=$p(e),b=!0;if(n.type&3||s){let A=kt(n,e),W=s?s(A):A,R=p.length,Ce=s?Ke=>s(Ut(Ke[n.index])):n.index,Oe=null;if(!s&&a&&(Oe=FC(t,e,o,n.index)),Oe!==null){let Ke=Oe.__ngLastListenerFn__||Oe;Ke.__ngNextListenerFn__=r,Oe.__ngLastListenerFn__=r,b=!1}else{r=om(n,e,u,r,!1);let Ke=i.listen(W,o,r);p.push(r,Ke),l&&l.push(o,Ce,R,R+1)}}else r=om(n,e,u,r,!1);let v=n.outputs,I;if(b&&v!==null&&(I=v[o])){let A=I.length;if(A)for(let W=0;W<A;W+=2){let R=I[W],Ce=I[W+1],nt=e[R][Ce].subscribe(r),ie=p.length;p.push(r,nt),l&&l.push(o,n.index,ie,-(ie+1))}}}function im(t,e,i,n){let o=le(null);try{return zt(6,e,i),i(n)!==!1}catch(r){return Wp(t,r),!1}finally{zt(7,e,i),le(o)}}function om(t,e,i,n,o){return function r(s){if(s===Function)return n;let a=t.componentOffset>-1?fn(t.index,e):e;Tl(a);let c=im(e,i,n,s),l=r.__ngNextListenerFn__;for(;l;)c=im(e,i,l,s)&&c,l=l.__ngNextListenerFn__;return o&&c===!1&&s.preventDefault(),c}}function g(t=1){return gv(t)}function NC(t,e){let i=null,n=C_(t);for(let o=0;o<e.length;o++){let r=e[o];if(r==="*"){i=o;continue}if(n===null?Dm(t,r,!0):D_(n,r))return o}return i}function Ye(t){let e=q()[Mt][bt];if(!e.projection){let i=t?t.length:1,n=e.projection=m_(i,null),o=n.slice(),r=e.child;for(;r!==null;){let s=t?NC(r,t):0;s!==null&&(o[s]?o[s].projectionNext=r:n[s]=r,o[s]=r),r=r.next}}}function Re(t,e=0,i){let n=q(),o=je(),r=Oi(o,et+t,16,null,i||null);r.projection===null&&(r.projection=e),dl(),(!n[vi]||Gm())&&(r.flags&32)!==32&&_0(o,n,r)}function _e(t,e,i){return Cf(t,"",e,"",i),_e}function Cf(t,e,i,n,o){let r=q(),s=mf(r,e,i,n);if(s!==St){let a=je(),c=ms();El(a,c,r,t,s,r[Ae],o,!1)}return Cf}function ct(t,e,i,n){By(t,e,i,n)}function lt(t,e,i){Vy(t,e,i)}function xe(t){let e=q(),i=je(),n=Zm();pl(n+1);let o=Pl(i,n);if(t.dirty&&K_(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let r=$y(e,n);t.reset(r,jv),t.notifyOnChanges()}return!0}return!1}function De(){return Ly(q(),Zm())}function jC(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}function qe(t){let e=cv();return Hm(e,et+t)}function S(t,e=""){let i=q(),n=je(),o=t+et,r=n.firstCreatePass?Oi(n,o,1,e,null):n.data[o],s=RC(n,i,r,e,t);i[o]=s,ps()&&_s(n,i,s,r),Un(r,!1)}var RC=(t,e,i,n,o)=>(fs(!0),n0(e[Ae],n));function te(t){return oe("",t,""),te}function oe(t,e,i){let n=q(),o=mf(n,t,e,i);return o!==St&&Gp(n,on(),o),oe}function To(t,e,i,n,o){let r=q(),s=oC(r,t,e,i,n,o);return s!==St&&Gp(r,on(),s),To}function Ao(t,e,i){lf(e)&&(e=e());let n=q(),o=Mi();if(Et(n,o,e)){let r=je(),s=ms();El(r,s,n,t,e,n[Ae],i,!1)}return Ao}function Es(t,e){let i=lf(t);return i&&t.set(e),i}function Po(t,e){let i=q(),n=je(),o=tt();return yf(n,i,i[Ae],o,t,e),Po}function LC(t,e,i){let n=je();if(n.firstCreatePass){let o=mn(t);Vc(i,n.data,n.blueprint,o,!0),Vc(e,n.data,n.blueprint,o,!1)}}function Vc(t,e,i,n,o){if(t=st(t),Array.isArray(t))for(let r=0;r<t.length;r++)Vc(t[r],e,i,n,o);else{let r=je(),s=q(),a=tt(),c=_i(t)?t:st(t.provide),l=Pm(t),u=a.providerIndexes&1048575,p=a.directiveStart,b=a.providerIndexes>>20;if(_i(t)||!t.multi){let v=new Vn(l,o,C),I=Ya(c,e,o?u:u+b,p);I===-1?(cc(qr(a,s),r,c),Za(r,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),i.push(v),s.push(v)):(i[I]=v,s[I]=v)}else{let v=Ya(c,e,u+b,p),I=Ya(c,e,u,u+b),A=v>=0&&i[v],W=I>=0&&i[I];if(o&&!W||!o&&!A){cc(qr(a,s),r,c);let R=zC(o?BC:VC,i.length,o,n,l);!o&&W&&(i[I].providerFactory=R),Za(r,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),i.push(R),s.push(R)}else{let R=wf(i[o?I:v],l,!o&&n);Za(r,t,v>-1?v:I,R)}!o&&n&&W&&i[I].componentProviders++}}}function Za(t,e,i,n){let o=_i(e),r=N_(e);if(o||r){let c=(r?st(e.useClass):e).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let u=l.indexOf(i);u===-1?l.push(i,[n,c]):l[u+1].push(n,c)}else l.push(i,c)}}}function wf(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function Ya(t,e,i,n){for(let o=i;o<n;o++)if(e[o]===t)return o;return-1}function VC(t,e,i,n){return Bc(this.multi,[])}function BC(t,e,i,n){let o=this.multi,r;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Bn(i,i[G],this.providerFactory.index,n);r=a.slice(0,s),Bc(o,r);for(let c=s;c<a.length;c++)r.push(a[c])}else r=[],Bc(o,r);return r}function Bc(t,e){for(let i=0;i<t.length;i++){let n=t[i];e.push(n())}return e}function zC(t,e,i,n,o){let r=new Vn(t,i,C);return r.multi=[],r.index=e,r.componentProviders=0,wf(r,o,n&&!i),r}function K(t,e=[]){return i=>{i.providersResolver=(n,o)=>LC(n,o?o(t):t,e)}}var HC=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=Om(!1,n.type),r=o.length>0?Qy([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=U({token:e,providedIn:"environment",factory:()=>new e(F(dn))});let t=e;return t})();function T(t){Is("NgStandalone"),t.getStandaloneInjector=e=>e.get(HC).getOrCreateStandaloneInjector(t)}function Le(t,e,i,n){return Df(q(),Do(),t,e,i,n)}function Zt(t,e,i,n,o){return $C(q(),Do(),t,e,i,n,o)}function Yt(t,e,i,n,o,r){return UC(q(),Do(),t,e,i,n,o,r)}function xf(t,e,i,n,o,r,s){return WC(q(),Do(),t,e,i,n,o,r,s)}function ks(t,e){let i=t[e];return i===St?void 0:i}function Df(t,e,i,n,o,r){let s=e+i;return Et(t,s,o)?Ms(t,s+1,r?n.call(r,o):n(o)):ks(t,s+1)}function $C(t,e,i,n,o,r,s){let a=e+i;return _o(t,a,o,r)?Ms(t,a+2,s?n.call(s,o,r):n(o,r)):ks(t,a+2)}function UC(t,e,i,n,o,r,s,a){let c=e+i;return Xy(t,c,o,r,s)?Ms(t,c+3,a?n.call(a,o,r,s):n(o,r,s)):ks(t,c+3)}function WC(t,e,i,n,o,r,s,a,c){let l=e+i;return Jy(t,l,o,r,s,a)?Ms(t,l+4,c?n.call(c,o,r,s,a):n(o,r,s,a)):ks(t,l+4)}function re(t,e){let i=je(),n,o=t+et;i.firstCreatePass?(n=GC(e,i.pipeRegistry),i.data[o]=n,n.onDestroy&&(i.destroyHooks??=[]).push(o,n.onDestroy)):n=i.data[o];let r=n.factory||(n.factory=Nn(n.type,!0)),s,a=It(C);try{let c=Gr(!1),l=r();return Gr(c),jC(i,q(),o,l),l}finally{It(a)}}function GC(t,e){if(e)for(let i=e.length-1;i>=0;i--){let n=e[i];if(t===n.name)return n}}function se(t,e,i){let n=t+et,o=q(),r=Hm(o,n);return qC(o,n)?Df(o,Do(),e,r.transform,i,r):r.transform(i)}function qC(t,e){return t[G].data[e].pure}function yt(t,e){return Ds(t,e)}var If=new V("");function Fo(t){return!!t&&typeof t.then=="function"}function Mf(t){return!!t&&typeof t.subscribe=="function"}var ZC=new V(""),Ef=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=he(ZC,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let s=r();if(Fo(s))n.push(s);else if(Mf(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(r=>{this.reject(r)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),YC=new V("");function QC(){Zu(()=>{throw new me(600,!1)})}function KC(t){return t.isBoundToModule}function XC(t,e,i){try{let n=i();return Fo(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var No=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=he(mp),this.afterRenderEffectManager=he(tf),this.externalTestViews=new Set,this.beforeRender=new we,this.afterTick=new we,this.componentTypes=[],this.components=[],this.isStable=he(uf).hasPendingTasks.pipe(Ne(n=>!n)),this._injector=he(dn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let r=n instanceof Xr;if(!this._injector.get(Ef).done){let v=!r&&O_(n),I=!1;throw new me(405,I)}let a;r?a=n:a=this._injector.get(Ti).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=KC(a)?void 0:this._injector.get(xi),l=o||a.selector,u=a.create(ki.NULL,[],l,c),p=u.location.nativeElement,b=u.injector.get(If,null);return b?.registerApplication(p),u.onDestroy(()=>{this.detachView(u.hostView),Qa(this.components,u),b?.unregisterApplication(p)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new me(101,!1);let o=le(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,le(o)}}detectChangesInAttachedViews(n){let o=0,r=this.afterRenderEffectManager;for(;;){if(o===Qp)throw new me(103,!1);if(n){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:c}of this._views)JC(a,s,c)}if(o++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>zc(s))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>zc(s))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;Qa(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(YC,[]);[...this._bootstrapListeners,...o].forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Qa(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new me(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Qa(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function JC(t,e,i){!e&&!zc(t)||ew(t,i,e)}function zc(t){return ll(t)}function ew(t,e,i){let n;i?(n=0,t[$]|=1024):t[$]&64?n=0:n=1,Kp(t,e,n)}var tw=(()=>{let e=class e{constructor(){this.zone=he(ve),this.applicationRef=he(No)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function nw(t){return[{provide:ve,useFactory:t},{provide:so,multi:!0,useFactory:()=>{let e=he(tw,{optional:!0});return()=>e.initialize()}},{provide:so,multi:!0,useFactory:()=>{let e=he(sw);return()=>{e.initialize()}}},{provide:mp,useFactory:iw}]}function iw(){let t=he(ve),e=he(Wt);return i=>t.runOutsideAngular(()=>e.handleError(i))}function ow(t){let e=nw(()=>new ve(rw(t)));return Sm([[],e])}function rw(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var sw=(()=>{let e=class e{constructor(){this.subscription=new Fe,this.initialized=!1,this.zone=he(ve),this.pendingTasks=he(uf)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ve.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ve.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function aw(){return typeof $localize<"u"&&$localize.locale||rs}var Ss=new V("",{providedIn:"root",factory:()=>he(Ss,de.Optional|de.SkipSelf)||aw()});var kf=new V("");var Rr=null;function cw(t=[],e){return ki.create({name:e,providers:[{provide:cs,useValue:"platform"},{provide:kf,useValue:new Set([()=>Rr=null])},...t]})}function lw(t=[]){if(Rr)return Rr;let e=cw(t);return Rr=e,QC(),uw(e),e}function uw(t){t.get(bl,null)?.forEach(i=>i())}var Ct=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=dw;let t=e;return t})();function dw(t){return mw(tt(),q(),(t&16)===16)}function mw(t,e,i){if(us(t)&&!i){let n=fn(t.index,e);return new zn(n,n)}else if(t.type&47){let n=e[Mt];return new zn(n,e)}return null}var Hc=class{constructor(){}supports(e){return df(e)}create(e){return new $c(e)}},pw=(t,e)=>e,$c=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||pw}forEachItem(e){let i;for(i=this._itHead;i!==null;i=i._next)e(i)}forEachOperation(e){let i=this._itHead,n=this._removalsHead,o=0,r=null;for(;i||n;){let s=!n||i&&i.currentIndex<rm(n,o,r)?i:n,a=rm(s,o,r),c=s.currentIndex;if(s===n)o--,n=n._nextRemoved;else if(i=i._next,s.previousIndex==null)o++;else{r||(r=[]);let l=a-o,u=c-o;if(l!=u){for(let b=0;b<l;b++){let v=b<r.length?r[b]:r[b]=0,I=v+b;u<=I&&I<l&&(r[b]=v+1)}let p=s.previousIndex;r[p]=u-l}}a!==c&&e(s,a,c)}}forEachPreviousItem(e){let i;for(i=this._previousItHead;i!==null;i=i._nextPrevious)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachMovedItem(e){let i;for(i=this._movesHead;i!==null;i=i._nextMoved)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}forEachIdentityChange(e){let i;for(i=this._identityChangesHead;i!==null;i=i._nextIdentityChange)e(i)}diff(e){if(e==null&&(e=[]),!df(e))throw new me(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._itHead,n=!1,o,r,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)r=e[a],s=this._trackByFn(a,r),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,r,s,a),n=!0):(n&&(i=this._verifyReinsertion(i,r,s,a)),Object.is(i.item,r)||this._addIdentityChange(i,r)),i=i._next}else o=0,Ky(e,a=>{s=this._trackByFn(o,a),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,a,s,o),n=!0):(n&&(i=this._verifyReinsertion(i,a,s,o)),Object.is(i.item,a)||this._addIdentityChange(i,a)),i=i._next,o++}),this.length=o;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,i,n,o){let r;return e===null?r=this._itTail:(r=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._reinsertAfter(e,r,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._moveAfter(e,r,o)):e=this._addAfter(new Uc(i,n),r,o)),e}_verifyReinsertion(e,i,n,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return r!==null?e=this._reinsertAfter(r,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let i=e._next;this._addToRemovals(this._unlink(e)),e=i}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(e,i,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,r=e._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(e,i,n),this._addToMoves(e,n),e}_moveAfter(e,i,n){return this._unlink(e),this._insertAfter(e,i,n),this._addToMoves(e,n),e}_addAfter(e,i,n){return this._insertAfter(e,i,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,i,n){let o=i===null?this._itHead:i._next;return e._next=o,e._prev=i,o===null?this._itTail=e:o._prev=e,i===null?this._itHead=e:i._next=e,this._linkedRecords===null&&(this._linkedRecords=new ss),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let i=e._prev,n=e._next;return i===null?this._itHead=n:i._next=n,n===null?this._itTail=i:n._prev=i,e}_addToMoves(e,i){return e.previousIndex===i||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ss),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,i){return e.item=i,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Uc=class{constructor(e,i){this.item=e,this.trackById=i,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}},Wc=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,i){let n;for(n=this._head;n!==null;n=n._nextDup)if((i===null||i<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let i=e._prevDup,n=e._nextDup;return i===null?this._head=n:i._nextDup=n,n===null?this._tail=i:n._prevDup=i,this._head===null}},ss=class{constructor(){this.map=new Map}put(e){let i=e.trackById,n=this.map.get(i);n||(n=new Wc,this.map.set(i,n)),n.add(e)}get(e,i){let n=e,o=this.map.get(n);return o?o.get(e,i):null}remove(e){let i=e.trackById;return this.map.get(i).remove(e)&&this.map.delete(i),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function rm(t,e,i){let n=t.previousIndex;if(n===null)return n;let o=0;return i&&n<i.length&&(o=i[n]),n+e+o}var Gc=class{constructor(){}supports(e){return e instanceof Map||Fl(e)}create(){return new qc}},qc=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(e){let i;for(i=this._mapHead;i!==null;i=i._next)e(i)}forEachPreviousItem(e){let i;for(i=this._previousMapHead;i!==null;i=i._nextPrevious)e(i)}forEachChangedItem(e){let i;for(i=this._changesHead;i!==null;i=i._nextChanged)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Fl(e)))throw new me(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,o)=>{if(i&&i.key===o)this._maybeAddToChanges(i,n),this._appendAfter=i,i=i._next;else{let r=this._getOrCreateRecordForKey(o,n);i=this._insertBeforeOrAppend(i,r)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let n=i;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,i){if(e){let n=e._prev;return i._next=e,i._prev=n,e._prev=i,n&&(n._next=i),e===this._mapHead&&(this._mapHead=i),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(e,i){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,i);let r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}let n=new Zc(e);return this._records.set(e,n),n.currentValue=i,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,i){Object.is(i,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=i,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,i){e instanceof Map?e.forEach(i):Object.keys(e).forEach(n=>i(e[n],n))}},Zc=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function sm(){return new Ai([new Hc])}var Ai=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let r=o.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||sm()),deps:[[e,new bm,new Xc]]}}find(n){let o=this.factories.find(r=>r.supports(n));if(o!=null)return o;throw new me(901,!1)}};e.\u0275prov=U({token:e,providedIn:"root",factory:sm});let t=e;return t})();function am(){return new Nl([new Gc])}var Nl=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o){let r=o.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||am()),deps:[[e,new bm,new Xc]]}}find(n){let o=this.factories.find(r=>r.supports(n));if(o)return o;throw new me(901,!1)}};e.\u0275prov=U({token:e,providedIn:"root",factory:am});let t=e;return t})();function Sf(t){try{let{rootComponent:e,appProviders:i,platformProviders:n}=t,o=lw(n),r=[ow(),...i||[]],a=new ns({providers:r,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(ve);return c.run(()=>{a.resolveInjectorInitializers();let l=a.get(Wt,null),u;c.runOutsideAngular(()=>{u=c.onError.subscribe({next:v=>{l.handleError(v)}})});let p=()=>a.destroy(),b=o.get(kf);return b.add(p),a.onDestroy(()=>{u.unsubscribe(),b.delete(p)}),XC(l,c,()=>{let v=a.get(Ef);return v.runInitializers(),v.donePromise.then(()=>{let I=a.get(Ss,rs);PC(I||rs);let A=a.get(No);return e!==void 0&&A.bootstrap(e),A})})})}catch(e){return Promise.reject(e)}}function w(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function vn(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}var Os={schedule(t,e){let i=setTimeout(t,e);return()=>clearTimeout(i)},scheduleBeforeRender(t){if(typeof window>"u")return Os.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return Os.schedule(t,16);let e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};function fw(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function hw(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function gw(t){return typeof t=="function"}var jl;function bw(t,e){if(!jl){let i=Element.prototype;jl=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?jl.call(t,e):!1}function _w(t,e){return t===e||t!==t&&e!==e}function vw(t){let e={};return t.forEach(({propName:i,templateName:n,transform:o})=>{e[fw(n)]=[i,o]}),e}function yw(t,e){return e.get(Ti).resolveComponentFactory(t).inputs}function Cw(t,e){let i=t.childNodes,n=e.map(()=>[]),o=-1;e.some((r,s)=>r==="*"?(o=s,!0):!1);for(let r=0,s=i.length;r<s;++r){let a=i[r],c=ww(a,e,o);c!==-1&&n[c].push(a)}return n}function ww(t,e,i){let n=i;return hw(t)&&e.some((o,r)=>o!=="*"&&bw(t,o)?(n=r,!0):!1),n}var xw=10,Rl=class{constructor(e,i){this.componentFactory=i.get(Ti).resolveComponentFactory(e)}create(e){return new Ll(this.componentFactory,e)}},Ll=class{constructor(e,i){this.componentFactory=e,this.injector=i,this.eventEmitters=new On(1),this.events=this.eventEmitters.pipe(ci(n=>Jt(...n))),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:n})=>n)),this.ngZone=this.injector.get(ve),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Os.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},xw))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,i,n){this.runInZone(()=>{if(n&&(i=n.call(this.componentRef?.instance,i)),this.componentRef===null){this.initialInputValues.set(e,i);return}_w(i,this.getInputValue(e))&&!(i===void 0&&this.unchangedInputs.has(e))||(this.recordInputChange(e,i),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=i,this.scheduleDetectChanges())})}initializeComponent(e){let i=ki.create({providers:[],parent:this.injector}),n=Cw(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(i,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(Ct),this.implementsOnChanges=gw(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(No).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e,transform:i})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e),i)}),this.initialInputValues.clear()}initializeOutputs(e){let i=this.componentFactory.outputs.map(({propName:n,templateName:o})=>e.instance[n].pipe(Ne(s=>({name:o,value:s}))));this.eventEmitters.next(i)}callNgOnChanges(e){if(!this.implementsOnChanges||this.inputChanges===null)return;let i=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(i)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Os.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,i){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let n=this.inputChanges[e];if(n){n.currentValue=i;return}let o=this.unchangedInputs.has(e),r=o?void 0:this.getInputValue(e);this.inputChanges[e]=new uo(r,i,o)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},Vl=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}};function He(t,e){let i=yw(t,e.injector),n=e.strategyFactory||new Rl(t,e.injector),o=vw(i),s=class s extends Vl{get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=n.create(this.injector||e.injector);i.forEach(({propName:l,transform:u})=>{if(!this.hasOwnProperty(l))return;let p=this[l];delete this[l],c.setInputValue(l,p,u)})}return this._ngElementStrategy}constructor(c){super(),this.injector=c}attributeChangedCallback(c,l,u,p){let[b,v]=o[c];this.ngElementStrategy.setInputValue(b,u,v)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let l=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(l)})}};s.observedAttributes=Object.keys(o);let r=s;return i.forEach(({propName:a,transform:c})=>{Object.defineProperty(r.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(l){this.ngElementStrategy.setInputValue(a,l,c)},configurable:!0,enumerable:!0})}),r}var Pf=null;function Pi(){return Pf}function Ff(t){Pf??=t}var As=class{};var We=new V("");function Nf(t,e){e=encodeURIComponent(e);for(let i of t.split(";")){let n=i.indexOf("="),[o,r]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(o.trim()===e)return decodeURIComponent(r)}return null}var Bl=/\s+/,Of=[],X=(()=>{let e=class e{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=Of,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Bl):Of}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Bl):n}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let o of n)this._updateState(o,!0);else if(n!=null)for(let o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==o&&(r.changed=!0,r.enabled=o),r.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let o=n[0],r=n[1];r.changed?(this._toggleClass(o,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),r.touched=!1}}_toggleClass(n,o){n=n.trim(),n.length>0&&n.split(Bl).forEach(r=>{o?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};e.\u0275fac=function(o){return new(o||e)(C(J),C(rn))},e.\u0275dir=H({type:e,selectors:[["","ngClass",""]],inputs:{klass:[_.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var zl=class{constructor(e,i,n,o){this.$implicit=e,this.ngForOf=i,this.index=n,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}},Te=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,r){this._viewContainer=n,this._template=o,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let o=this._viewContainer;n.forEachOperation((r,s,a)=>{if(r.previousIndex==null)o.createEmbeddedView(this._template,new zl(r.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let c=o.get(s);o.move(c,a),Tf(c,r)}});for(let r=0,s=o.length;r<s;r++){let c=o.get(r).context;c.index=r,c.count=s,c.ngForOf=this._ngForOf}n.forEachIdentityChange(r=>{let s=o.get(r.currentIndex);Tf(s,r)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(C(qt),C(ge),C(Ai))},e.\u0275dir=H({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Tf(t,e){t.context.$implicit=e.item}var ut=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new Hl,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Af("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Af("ngIfElse",n),this._elseTemplateRef=n,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(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(C(qt),C(ge))},e.\u0275dir=H({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Hl=class{constructor(){this.$implicit=null,this.ngIf=null}};function Af(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${gt(e)}'.`)}var jf=(()=>{let e=class e{constructor(n,o,r){this._ngEl=n,this._differs=o,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,o){let[r,s]=n.split("."),a=r.indexOf("-")===-1?void 0:Gt.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(n){n.forEachRemovedItem(o=>this._setStyle(o.key,null)),n.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),n.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};e.\u0275fac=function(o){return new(o||e)(C(J),C(Nl),C(rn))},e.\u0275dir=H({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),Wn=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,o,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,r):!1,get:(n,o,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,r)}})}};e.\u0275fac=function(o){return new(o||e)(C(qt))},e.\u0275dir=H({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Be]});let t=e;return t})();var j=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ke({type:e}),e.\u0275inj=Ee({});let t=e;return t})(),$l="browser",Dw="server";function Rf(t){return t===$l}function Ul(t){return t===Dw}var Ps=class{};var ql=class extends As{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Zl=class t extends ql{static makeCurrent(){Ff(new t)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=Mw();return i==null?null:Ew(i)}resetBaseElement(){jo=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Nf(document.cookie,e)}},jo=null;function Mw(){return jo=jo||document.querySelector("base"),jo?jo.getAttribute("href"):null}function Ew(t){return new URL(t,document.baseURI).pathname}var kw=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac});let t=e;return t})(),Yl=new V(""),zf=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,r){return this._findPluginFor(o).addEventListener(n,o,r)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new me(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(F(Yl),F(ve))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let t=e;return t})(),Fs=class{constructor(e){this._doc=e}},Wl="ng-app-id",Hf=(()=>{let e=class e{constructor(n,o,r,s={}){this.doc=n,this.appId=o,this.nonce=r,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ul(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(r=>r.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Wl}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(r=>{r.textContent!=null&&o.set(r.textContent,r)}),o}return null}changeUsageCount(n,o){let r=this.styleRef;if(r.has(n)){let s=r.get(n);return s.usage+=o,s.usage}return r.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let r=this.styleNodesInDOM,s=r?.get(o);if(s?.parentNode===n)return r.delete(o),s.removeAttribute(Wl),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Wl,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let r=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(r):s.set(o,{elements:[r],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(F(We),F(gs),F(Mo,8),F(hn))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let t=e;return t})(),Gl={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Kl=/%COMP%/g,$f="%COMP%",Sw=`_nghost-${$f}`,Ow=`_ngcontent-${$f}`,Tw=!0,Aw=new V("",{providedIn:"root",factory:()=>Tw});function Pw(t){return Ow.replace(Kl,t)}function Fw(t){return Sw.replace(Kl,t)}function Uf(t,e){return e.map(i=>i.replace(Kl,t))}var Lf=(()=>{let e=class e{constructor(n,o,r,s,a,c,l,u=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Ul(c),this.defaultRenderer=new Ro(n,a,l,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===$t.ShadowDom&&(o=dt(ce({},o),{encapsulation:$t.Emulated}));let r=this.getOrCreateRenderer(n,o);return r instanceof Ns?r.applyToHost(n):r instanceof Lo&&r.applyStyles(),r}getOrCreateRenderer(n,o){let r=this.rendererByCompId,s=r.get(o.id);if(!s){let a=this.doc,c=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,b=this.platformIsServer;switch(o.encapsulation){case $t.Emulated:s=new Ns(l,u,o,this.appId,p,a,c,b);break;case $t.ShadowDom:return new Ql(l,u,n,o,a,c,this.nonce,b);default:s=new Lo(l,u,o,p,a,c,b);break}r.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(F(zf),F(Hf),F(gs),F(Aw),F(We),F(hn),F(ve),F(Mo))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let t=e;return t})(),Ro=class{constructor(e,i,n,o){this.eventManager=e,this.doc=i,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(Gl[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(Vf(e)?e.content:e).appendChild(i)}insertBefore(e,i,n){e&&(Vf(e)?e.content:e).insertBefore(i,n)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new me(-5104,!1);return i||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,n,o){if(o){i=o+":"+i;let r=Gl[o];r?e.setAttributeNS(r,i,n):e.setAttribute(i,n)}else e.setAttribute(i,n)}removeAttribute(e,i,n){if(n){let o=Gl[n];o?e.removeAttributeNS(o,i):e.removeAttribute(`${n}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,n,o){o&(Gt.DashCase|Gt.Important)?e.style.setProperty(i,n,o&Gt.Important?"important":""):e.style[i]=n}removeStyle(e,i,n){n&Gt.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,n){e!=null&&(e[i]=n)}setValue(e,i){e.nodeValue=i}listen(e,i,n){if(typeof e=="string"&&(e=Pi().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(n))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};function Vf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Ql=class extends Ro{constructor(e,i,n,o,r,s,a,c){super(e,r,s,c),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=Uf(o.id,o.styles);for(let u of l){let p=document.createElement("style");a&&p.setAttribute("nonce",a),p.textContent=u,this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,n){return super.insertBefore(this.nodeOrShadowRoot(e),i,n)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Lo=class extends Ro{constructor(e,i,n,o,r,s,a,c){super(e,r,s,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=o,this.styles=c?Uf(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Ns=class extends Lo{constructor(e,i,n,o,r,s,a,c){let l=o+"-"+n.id;super(e,i,n,r,s,a,c,l),this.contentAttr=Pw(l),this.hostAttr=Fw(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let n=super.createElement(e,i);return super.setAttribute(n,this.contentAttr,""),n}},Nw=(()=>{let e=class e extends Fs{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,r){return n.addEventListener(o,r,!1),()=>this.removeEventListener(n,o,r)}removeEventListener(n,o,r){return n.removeEventListener(o,r)}};e.\u0275fac=function(o){return new(o||e)(F(We))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let t=e;return t})(),Bf=["alt","control","meta","shift"],jw={"\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"},Rw={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Lw=(()=>{let e=class e extends Fs{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,r){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Pi().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),r=o.shift();if(o.length===0||!(r==="keydown"||r==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),Bf.forEach(u=>{let p=o.indexOf(u);p>-1&&(o.splice(p,1),a+=u+".")}),a+=s,o.length!=0||s.length===0)return null;let l={};return l.domEventName=r,l.fullKey=a,l}static matchEventFullKeyCode(n,o){let r=jw[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(r=n.code,s="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Bf.forEach(a=>{if(a!==r){let c=Rw[a];c(n)&&(s+=a+".")}}),s+=r,s===o)}static eventCallback(n,o,r){return s=>{e.matchEventFullKeyCode(s,n)&&r.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(F(We))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let t=e;return t})();function Wf(t){return Sf(Vw(t))}function Vw(t){return{appProviders:[...Uw,...t?.providers??[]],platformProviders:$w}}function Bw(){Zl.makeCurrent()}function zw(){return new Wt}function Hw(){return vp(document),document}var $w=[{provide:hn,useValue:$l},{provide:bl,useValue:Bw,multi:!0},{provide:We,useFactory:Hw,deps:[]}];var Uw=[{provide:cs,useValue:"root"},{provide:Wt,useFactory:zw,deps:[]},{provide:Yl,useClass:Nw,multi:!0,deps:[We,ve,hn]},{provide:Yl,useClass:Lw,multi:!0,deps:[We]},Lf,Hf,zf,{provide:bo,useExisting:Lf},{provide:Ps,useClass:kw,deps:[]},[]];var Fi=class{},Gf=(()=>{class t extends Fi{getTranslation(i){return ot({})}static \u0275fac=(()=>{let i;return function(o){return(i||(i=ft(t)))(o||t)}})();static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),Gn=class{},qf=(()=>{class t{handle(i){return i.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function js(t,e){if(t===e)return!0;if(t===null||e===null)return!1;if(t!==t&&e!==e)return!0;let i=typeof t,n=typeof e,o,r,s;if(i==n&&i=="object")if(Array.isArray(t)){if(!Array.isArray(e))return!1;if((o=t.length)==e.length){for(r=0;r<o;r++)if(!js(t[r],e[r]))return!1;return!0}}else{if(Array.isArray(e))return!1;s=Object.create(null);for(r in t){if(!js(t[r],e[r]))return!1;s[r]=!0}for(r in e)if(!(r in s)&&typeof e[r]<"u")return!1;return!0}return!1}function yn(t){return typeof t<"u"&&t!==null}function Xl(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Qf(t,e){let i=Object.assign({},t);return Xl(t)&&Xl(e)&&Object.keys(e).forEach(n=>{Xl(e[n])?n in t?i[n]=Qf(t[n],e[n]):Object.assign(i,{[n]:e[n]}):Object.assign(i,{[n]:e[n]})}),i}var Ni=class{},Zf=(()=>{class t extends Ni{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(i,n){let o;return typeof i=="string"?o=this.interpolateString(i,n):typeof i=="function"?o=this.interpolateFunction(i,n):o=i,o}getValue(i,n){let o=typeof n=="string"?n.split("."):[n];n="";do n+=o.shift(),yn(i)&&yn(i[n])&&(typeof i[n]=="object"||!o.length)?(i=i[n],n=""):o.length?n+=".":i=void 0;while(o.length);return i}interpolateFunction(i,n){return i(n)}interpolateString(i,n){return n?i.replace(this.templateMatcher,(o,r)=>{let s=this.getValue(n,r);return yn(s)?s:o}):i}static \u0275fac=(()=>{let i;return function(o){return(i||(i=ft(t)))(o||t)}})();static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),ji=class{},Yf=(()=>{class t extends ji{compile(i,n){return i}compileTranslations(i,n){return i}static \u0275fac=(()=>{let i;return function(o){return(i||(i=ft(t)))(o||t)}})();static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),Rs=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new D;onLangChange=new D;onDefaultLangChange=new D},Jl=new V("USE_STORE"),eu=new V("USE_DEFAULT_LANG"),tu=new V("DEFAULT_LANGUAGE"),nu=new V("USE_EXTEND"),P=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new D;_onLangChange=new D;_onDefaultLangChange=new D;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};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(i){this.isolate?this._defaultLang=i:this.store.defaultLang=i}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(i){this.isolate?this._currentLang=i:this.store.currentLang=i}get langs(){return this.isolate?this._langs:this.store.langs}set langs(i){this.isolate?this._langs=i:this.store.langs=i}get translations(){return this.isolate?this._translations:this.store.translations}set translations(i){this.isolate?this._translations=i:this.store.translations=i}constructor(i,n,o,r,s,a=!0,c=!1,l=!1,u){this.store=i,this.currentLoader=n,this.compiler=o,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=c,this.extend=l,u&&this.setDefaultLang(u)}setDefaultLang(i){if(i===this.defaultLang)return;let n=this.retrieveTranslations(i);typeof n<"u"?(this.defaultLang==null&&(this.defaultLang=i),n.pipe(Dt(1)).subscribe(o=>{this.changeDefaultLang(i)})):this.changeDefaultLang(i)}getDefaultLang(){return this.defaultLang}use(i){if(i===this.currentLang)return ot(this.translations[i]);let n=this.retrieveTranslations(i);return typeof n<"u"?(this.currentLang||(this.currentLang=i),n.pipe(Dt(1)).subscribe(o=>{this.changeLang(i)}),n):(this.changeLang(i),ot(this.translations[i]))}retrieveTranslations(i){let n;return(typeof this.translations[i]>"u"||this.extend)&&(this._translationRequests[i]=this._translationRequests[i]||this.getTranslation(i),n=this._translationRequests[i]),n}getTranslation(i){this.pending=!0;let n=this.currentLoader.getTranslation(i).pipe(Er(1),Dt(1));return this.loadingTranslations=n.pipe(Ne(o=>this.compiler.compileTranslations(o,i)),Er(1),Dt(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[i]=this.extend&&this.translations[i]?ce(ce({},o),this.translations[i]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),n}setTranslation(i,n,o=!1){n=this.compiler.compileTranslations(n,i),(o||this.extend)&&this.translations[i]?this.translations[i]=Qf(this.translations[i],n):this.translations[i]=n,this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}getLangs(){return this.langs}addLangs(i){i.forEach(n=>{this.langs.indexOf(n)===-1&&this.langs.push(n)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(i,n,o){let r;if(n instanceof Array){let s={},a=!1;for(let c of n)s[c]=this.getParsedResult(i,c,o),xt(s[c])&&(a=!0);if(a){let c=n.map(l=>xt(s[l])?s[l]:ot(s[l]));return eo(c).pipe(Ne(l=>{let u={};return l.forEach((p,b)=>{u[n[b]]=p}),u}))}return s}if(i&&(r=this.parser.interpolate(this.parser.getValue(i,n),o)),typeof r>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],n),o)),typeof r>"u"){let s={key:n,translateService:this};typeof o<"u"&&(s.interpolateParams=o),r=this.missingTranslationHandler.handle(s)}return typeof r<"u"?r:n}get(i,n){if(!yn(i)||!i.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Aa(o=>(o=this.getParsedResult(o,i,n),xt(o)?o:ot(o))));{let o=this.getParsedResult(this.translations[this.currentLang],i,n);return xt(o)?o:ot(o)}}getStreamOnTranslationChange(i,n){if(!yn(i)||!i.length)throw new Error('Parameter "key" required');return Xt(Mr(()=>this.get(i,n)),this.onTranslationChange.pipe(ci(o=>{let r=this.getParsedResult(o.translations,i,n);return typeof r.subscribe=="function"?r:ot(r)})))}stream(i,n){if(!yn(i)||!i.length)throw new Error('Parameter "key" required');return Xt(Mr(()=>this.get(i,n)),this.onLangChange.pipe(ci(o=>{let r=this.getParsedResult(o.translations,i,n);return xt(r)?r:ot(r)})))}instant(i,n){if(!yn(i)||!i.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],i,n);if(xt(o)){if(i instanceof Array){let r={};return i.forEach((s,a)=>{r[i[a]]=i[a]}),r}return i}else return o}set(i,n,o=this.currentLang){this.translations[o][i]=this.compiler.compile(n,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(i){this.currentLang=i,this.onLangChange.emit({lang:i,translations:this.translations[i]}),this.defaultLang==null&&this.changeDefaultLang(i)}changeDefaultLang(i){this.defaultLang=i,this.onDefaultLangChange.emit({lang:i,translations:this.translations[i]})}reloadLang(i){return this.resetLang(i),this.getTranslation(i)}resetLang(i){this._translationRequests[i]=void 0,this.translations[i]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;if(i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof i>"u"))return i.indexOf("-")!==-1&&(i=i.split("-")[0]),i.indexOf("_")!==-1&&(i=i.split("_")[0]),i}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;return i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,i}static \u0275fac=function(n){return new(n||t)(F(Rs),F(Fi),F(ji),F(Ni),F(Gn),F(eu),F(Jl),F(nu),F(tu))};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var Ve=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(i,n){this.translate=i,this._ref=n}updateValue(i,n,o){let r=s=>{this.value=s!==void 0?s:i,this.lastKey=i,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,i,n);xt(s.subscribe)?s.subscribe(r):r(s)}this.translate.get(i,n).subscribe(r)}transform(i,...n){if(!i||!i.length)return i;if(js(i,this.lastKey)&&js(n,this.lastParams))return this.value;let o;if(yn(n[0])&&n.length)if(typeof n[0]=="string"&&n[0].length){let r=n[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(r)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else typeof n[0]=="object"&&!Array.isArray(n[0])&&(o=n[0]);return this.lastKey=i,this.lastParams=n,this.updateValue(i,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{this.lastKey&&r.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(i,o,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,o,r.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,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(n){return new(n||t)(C(P,16),C(Ct,16))};static \u0275pipe=wo({name:"translate",type:t,pure:!1});static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),pe=(()=>{class t{static forRoot(i={}){return{ngModule:t,providers:[i.loader||{provide:Fi,useClass:Gf},i.compiler||{provide:ji,useClass:Yf},i.parser||{provide:Ni,useClass:Zf},i.missingTranslationHandler||{provide:Gn,useClass:qf},Rs,{provide:Jl,useValue:i.isolate},{provide:eu,useValue:i.useDefaultLang},{provide:nu,useValue:i.extend},{provide:tu,useValue:i.defaultLanguage},P]}}static forChild(i={}){return{ngModule:t,providers:[i.loader||{provide:Fi,useClass:Gf},i.compiler||{provide:ji,useClass:Yf},i.parser||{provide:Ni,useClass:Zf},i.missingTranslationHandler||{provide:Gn,useClass:qf},{provide:Jl,useValue:i.isolate},{provide:eu,useValue:i.useDefaultLang},{provide:nu,useValue:i.extend},{provide:tu,useValue:i.defaultLanguage},P]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=ke({type:t});static \u0275inj=Ee({})}return t})();var ae=(()=>{let e=class e{constructor(n){this.translateService=n,this._selectedLanguage="en",this._localizedStrings={}}get selectedLanguage(){return this._selectedLanguage}set selectedLanguage(n){this._selectedLanguage=n,this.translateService.use(n);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings)}catch(o){console.error(o)}}get localizedStrings(){return this._localizedStrings}set localizedStrings(n){this._localizedStrings=n,this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,n)}catch(o){console.error(o)}}};e.\u0275fac=function(o){return new(o||e)(C(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},standalone:!0,features:[K([P]),T],decls:2,vars:0,template:function(o,r){o&1&&(m(0,"p"),S(1," localized widget works! "),h())},dependencies:[j,pe],encapsulation:3});let t=e;return t})();function ne(t,e,i=null){if(!e){console.error("ERROR: Missing event name in fireEvent function in Bimplus components!");return}let n="BimPlus"in window&&typeof window.BimPlus=="object"&&window.BimPlus;n&&typeof n[e]=="function"&&n[e]({detail:i});let o=t;e in o&&o[e].emit(i)}var Kf=(()=>{let e=class e extends ae{constructor(n){super(n),this.bimplusContactClicked=new D}_contactClicked(){ne(this,"bimplusContactClicked","contact")}};e.\u0275fac=function(o){return new(o||e)(C(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-contact"]],outputs:{bimplusContactClicked:"bimplusContactClicked"},standalone:!0,features:[K([P]),z,T],decls:3,vars:3,consts:[["href","https://www.allplan.com/consulting-sale","rel","noopener","target","_blank",1,"bimplus-contact-link",3,"click","title"],[1,"bimplus-contact"]],template:function(o,r){o&1&&(m(0,"a",0),re(1,"translate"),y("click",function(){return r._contactClicked()}),O(2,"div",1),h()),o&2&&f("title",se(1,1,"_BimplusContactTitle"))},dependencies:[j,pe,Ve],styles:[`.bimplus-contact{height:1.375em;width:4em;background:url("./media/bimplus_Components_Contact.svg") no-repeat;background-size:1.375em;background-repeat:no-repeat;background-position:center;cursor:pointer}.bimplus-contact a{width:100%;height:100%}
|
|
7
|
+
`)}`}var Xc=gm(lm("Optional"),8);var bm=gm(lm("SkipSelf"),4);function Nn(t,e){let i=t.hasOwnProperty(Lr);return i?t[Lr]:null}function u_(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let o=t[n],r=e[n];if(i&&(o=i(o),r=i(r)),r!==o)return!1}return!0}function d_(t){return t.flat(Number.POSITIVE_INFINITY)}function Jc(t,e){t.forEach(i=>Array.isArray(i)?Jc(i,e):e(i))}function _m(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function Br(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function m_(t,e){let i=[];for(let n=0;n<t;n++)i.push(e);return i}function p_(t,e,i,n){let o=t.length;if(o==e)t.push(i,n);else if(o===1)t.push(n,t[0]),t[0]=i;else{for(o--,t.push(t[o-1],t[o]);o>e;){let r=o-2;t[o]=t[r],o--}t[e]=i,t[e+1]=n}}function el(t,e,i){let n=Co(t,e);return n>=0?t[n|1]=i:(n=~n,p_(t,n,e,i)),n}function Na(t,e){let i=Co(t,e);if(i>=0)return t[i|1]}function Co(t,e){return f_(t,e,1)}function f_(t,e,i){let n=0,o=t.length>>i;for(;o!==n;){let r=n+(o-n>>1),s=t[r<<i];if(e===s)return r<<i;s>e?o=r:n=r+1}return~(o<<i)}var gi={},pt=[],so=new V(""),vm=new V("",-1),ym=new V(""),zr=class{get(e,i=ro){if(i===ro){let n=new Error(`NullInjectorError: No provider for ${gt(e)}!`);throw n.name="NullInjectorError",n}return i}},Cm=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Cm||{}),$t=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}($t||{}),_=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(_||{});function h_(t,e,i){let n=t.length;for(;;){let o=t.indexOf(e,i);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=e.length;if(o+r===n||t.charCodeAt(o+r)<=32)return o}i=o+1}}function tc(t,e,i){let n=0;for(;n<i.length;){let o=i[n];if(typeof o=="number"){if(o!==0)break;n++;let r=i[n++],s=i[n++],a=i[n++];t.setAttribute(e,s,a,r)}else{let r=o,s=i[++n];g_(r)?t.setProperty(e,r,s):t.setAttribute(e,r,s),n++}}return n}function wm(t){return t===3||t===4||t===6}function g_(t){return t.charCodeAt(0)===64}function ao(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let i=-1;for(let n=0;n<e.length;n++){let o=e[n];typeof o=="number"?i=o:i===0||(i===-1||i===2?Ad(t,i,o,null,e[++n]):Ad(t,i,o,null,null))}}return t}function Ad(t,e,i,n,o){let r=0,s=t.length;if(e===-1)s=-1;else for(;r<t.length;){let a=t[r++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=r-1;break}}}for(;r<t.length;){let a=t[r];if(typeof a=="number")break;if(a===i){if(n===null){o!==null&&(t[r+1]=o);return}else if(n===t[r+1]){t[r+2]=o;return}}r++,n!==null&&r++,o!==null&&r++}s!==-1&&(t.splice(s,0,e),r=s+1),t.splice(r++,0,i),n!==null&&t.splice(r++,0,n),o!==null&&t.splice(r++,0,o)}var xm="ng-template";function b_(t,e,i,n){let o=0;if(n){for(;o<e.length&&typeof e[o]=="string";o+=2)if(e[o]==="class"&&h_(e[o+1].toLowerCase(),i,0)!==-1)return!0}else if(tl(t))return!1;if(o=e.indexOf(1,o),o>-1){let r;for(;++o<e.length&&typeof(r=e[o])=="string";)if(r.toLowerCase()===i)return!0}return!1}function tl(t){return t.type===4&&t.value!==xm}function __(t,e,i){let n=t.type===4&&!i?xm:t.value;return e===n}function v_(t,e,i){let n=4,o=t.attrs,r=o!==null?w_(o):0,s=!1;for(let a=0;a<e.length;a++){let c=e[a];if(typeof c=="number"){if(!s&&!Nt(n)&&!Nt(c))return!1;if(s&&Nt(c))continue;s=!1,n=c|n&1;continue}if(!s)if(n&4){if(n=2|n&1,c!==""&&!__(t,c,i)||c===""&&e.length===1){if(Nt(n))return!1;s=!0}}else if(n&8){if(o===null||!b_(t,o,c,i)){if(Nt(n))return!1;s=!0}}else{let l=e[++a],u=y_(c,o,tl(t),i);if(u===-1){if(Nt(n))return!1;s=!0;continue}if(l!==""){let p;if(u>r?p="":p=o[u+1].toLowerCase(),n&2&&l!==p){if(Nt(n))return!1;s=!0}}}}return Nt(n)||s}function Nt(t){return(t&1)===0}function y_(t,e,i,n){if(e===null)return-1;let o=0;if(n||!i){let r=!1;for(;o<e.length;){let s=e[o];if(s===t)return o;if(s===3||s===6)r=!0;else if(s===1||s===2){let a=e[++o];for(;typeof a=="string";)a=e[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=r?1:2}return-1}else return x_(e,t)}function Dm(t,e,i=!1){for(let n=0;n<e.length;n++)if(v_(t,e[n],i))return!0;return!1}function C_(t){let e=t.attrs;if(e!=null){let i=e.indexOf(5);if(!(i&1))return e[i+1]}return null}function w_(t){for(let e=0;e<t.length;e++){let i=t[e];if(wm(i))return e}return t.length}function x_(t,e){let i=t.indexOf(4);if(i>-1)for(i++;i<t.length;){let n=t[i];if(typeof n=="number")return-1;if(n===e)return i;i++}return-1}function D_(t,e){e:for(let i=0;i<e.length;i++){let n=e[i];if(t.length===n.length){for(let o=0;o<t.length;o++)if(t[o]!==n[o])continue e;return!0}}return!1}function Pd(t,e){return t?":not("+e.trim()+")":e}function I_(t){let e=t[0],i=1,n=2,o="",r=!1;for(;i<t.length;){let s=t[i];if(typeof s=="string")if(n&2){let a=t[++i];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Nt(s)&&(e+=Pd(r,o),o=""),n=s,r=r||!Nt(n);i++}return o!==""&&(e+=Pd(r,o)),e}function M_(t){return t.map(I_).join(",")}function E_(t){let e=[],i=[],n=1,o=2;for(;n<t.length;){let r=t[n];if(typeof r=="string")o===2?r!==""&&e.push(r,t[++n]):o===8&&i.push(r);else{if(!Nt(o))break;o=r}n++}return{attrs:e,classes:i}}function k(t){return yo(()=>{let e=Em(t),i=dt(ce({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Cm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||$t.Emulated,styles:t.styles||pt,_:null,schemas:t.schemas||null,tView:null,id:""});km(i);let n=t.dependencies;return i.directiveDefs=Nd(n,!1),i.pipeDefs=Nd(n,!0),i.id=T_(i),i})}function k_(t){return bi(t)||Im(t)}function S_(t){return t!==null}function ke(t){return yo(()=>({type:t.type,bootstrap:t.bootstrap||pt,declarations:t.declarations||pt,imports:t.imports||pt,exports:t.exports||pt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Fd(t,e){if(t==null)return gi;let i={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],r,s,a=_.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),e?(i[r]=a!==_.None?[n,a]:n,e[r]=s):i[r]=n}return i}function H(t){return yo(()=>{let e=Em(t);return km(e),e})}function wo(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 bi(t){return t[Qb]||null}function Im(t){return t[Kb]||null}function Mm(t){return t[Xb]||null}function O_(t){let e=bi(t)||Im(t)||Mm(t);return e!==null?e.standalone:!1}function Em(t){let e={};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:e,inputTransforms:null,inputConfig:t.inputs||gi,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||pt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Fd(t.inputs,e),outputs:Fd(t.outputs),debugInfo:null}}function km(t){t.features?.forEach(e=>e(t))}function Nd(t,e){if(!t)return null;let i=e?Mm:k_;return()=>(typeof t=="function"?t():t).map(n=>i(n)).filter(S_)}function T_(t){let e=0,i=[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 i)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Sm(t){return{\u0275providers:t}}function nl(...t){return{\u0275providers:Om(!0,t),\u0275fromNgModule:!0}}function Om(t,...e){let i=[],n=new Set,o,r=s=>{i.push(s)};return Jc(e,s=>{let a=s;nc(a,r,[],n)&&(o||=[],o.push(a))}),o!==void 0&&Tm(o,r),i}function Tm(t,e){for(let i=0;i<t.length;i++){let{ngModule:n,providers:o}=t[i];il(o,r=>{e(r,n)})}}function nc(t,e,i,n){if(t=st(t),!t)return!1;let o=null,r=kd(t),s=!r&&bi(t);if(!r&&!s){let c=t.ngModule;if(r=kd(c),r)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)nc(l,e,i,n)}}else if(r){if(r.imports!=null&&!a){n.add(o);let l;try{Jc(r.imports,u=>{nc(u,e,i,n)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Tm(l,e)}if(!a){let l=Nn(o)||(()=>new o);e({provide:o,useFactory:l,deps:pt},o),e({provide:ym,useValue:o,multi:!0},o),e({provide:so,useValue:()=>F(o),multi:!0},o)}let c=r.providers;if(c!=null&&!a){let l=t;il(c,u=>{e(u,l)})}}else return!1;return o!==t&&t.providers!==void 0}function il(t,e){for(let i of t)pm(i)&&(i=i.\u0275providers),Array.isArray(i)?il(i,e):e(i)}var A_=Se({provide:String,useValue:Se});function Am(t){return t!==null&&typeof t=="object"&&A_ in t}function P_(t){return!!(t&&t.useExisting)}function F_(t){return!!(t&&t.useFactory)}function _i(t){return typeof t=="function"}function N_(t){return!!t.useClass}var cs=new V(""),Ar={},j_={},ja;function ol(){return ja===void 0&&(ja=new zr),ja}var dn=class{},Hr=class extends dn{get destroyed(){return this._destroyed}constructor(e,i,n,o){super(),this.parent=i,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,oc(e,s=>this.processProvider(s)),this.records.set(vm,ui(void 0,this)),o.has("environment")&&this.records.set(dn,ui(void 0,this));let r=this.records.get(cs);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(ym,pt,de.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=le(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),le(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let i=li(this),n=It(void 0),o;try{return e()}finally{li(i),It(n)}}get(e,i=ro,n=de.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Od))return e[Od](this);n=as(n);let o,r=li(this),s=It(void 0);try{if(!(n&de.SkipSelf)){let c=this.records.get(e);if(c===void 0){let l=z_(e)&&Qc(e);l&&this.injectableDefInScope(l)?c=ui(ic(e),Ar):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&de.Self?ol():this.parent;return i=n&de.Optional&&i===ro?null:i,a.get(e,i)}catch(a){if(a.name==="NullInjectorError"){if((a[Vr]=a[Vr]||[]).unshift(gt(e)),r)throw a;return c_(a,e,"R3InjectorError",this.source)}else throw a}finally{It(s),li(r)}}resolveInjectorInitializers(){let e=le(null),i=li(this),n=It(void 0),o;try{let r=this.get(so,pt,de.Self);for(let s of r)s()}finally{li(i),It(n),le(e)}}toString(){let e=[],i=this.records;for(let n of i.keys())e.push(gt(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new me(205,!1)}processProvider(e){e=st(e);let i=_i(e)?e:st(e&&e.provide),n=L_(e);if(!_i(e)&&e.multi===!0){let o=this.records.get(i);o||(o=ui(void 0,Ar,!0),o.factory=()=>ec(o.multi),this.records.set(i,o)),i=e,o.multi.push(e)}this.records.set(i,n)}hydrate(e,i){let n=le(null);try{return i.value===Ar&&(i.value=j_,i.value=i.factory()),typeof i.value=="object"&&i.value&&B_(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{le(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let i=st(e.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(e){let i=this._onDestroyHooks.indexOf(e);i!==-1&&this._onDestroyHooks.splice(i,1)}};function ic(t){let e=Qc(t),i=e!==null?e.factory:Nn(t);if(i!==null)return i;if(t instanceof V)throw new me(204,!1);if(t instanceof Function)return R_(t);throw new me(204,!1)}function R_(t){if(t.length>0)throw new me(204,!1);let i=Zb(t);return i!==null?()=>i.factory(t):()=>new t}function L_(t){if(Am(t))return ui(void 0,t.useValue);{let e=Pm(t);return ui(e,Ar)}}function Pm(t,e,i){let n;if(_i(t)){let o=st(t);return Nn(o)||ic(o)}else if(Am(t))n=()=>st(t.useValue);else if(F_(t))n=()=>t.useFactory(...ec(t.deps||[]));else if(P_(t))n=()=>F(st(t.useExisting));else{let o=st(t&&(t.useClass||t.provide));if(V_(t))n=()=>new o(...ec(t.deps));else return Nn(o)||ic(o)}return n}function ui(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function V_(t){return!!t.deps}function B_(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function z_(t){return typeof t=="function"||typeof t=="object"&&t instanceof V}function oc(t,e){for(let i of t)Array.isArray(i)?oc(i,e):i&&pm(i)?oc(i.\u0275providers,e):e(i)}function H_(){return fm()!==void 0||r_()!=null}function $_(t){return typeof t=="function"}var tn=0,G=1,$=2,Ze=3,Rt=4,bt=5,vi=6,co=7,Xe=8,yi=9,Lt=10,Ae=11,lo=12,jd=13,Ii=14,Mt=15,xo=16,di=17,en=18,ls=19,Fm=20,un=21,Ra=22,jn=23,et=25,Nm=1;var Rn=7,$r=8,Ci=9,Je=10,rl=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(rl||{});function Pn(t){return Array.isArray(t)&&typeof t[Nm]=="object"}function nn(t){return Array.isArray(t)&&t[Nm]===!0}function sl(t){return(t.flags&4)!==0}function us(t){return t.componentOffset>-1}function ds(t){return(t.flags&1)===1}function mn(t){return!!t.template}function U_(t){return(t[$]&512)!==0}var uo=class{constructor(e,i,n){this.previousValue=e,this.currentValue=i,this.firstChange=n}isFirstChange(){return this.firstChange}};function jm(t,e,i,n){e!==null?e.applyValueToInputSignal(e,n):t[i]=n}function Be(){return Rm}function Rm(t){return t.type.prototype.ngOnChanges&&(t.setInput=G_),W_}Be.ngInherit=!0;function W_(){let t=Vm(this),e=t?.current;if(e){let i=t.previous;if(i===gi)t.previous=e;else for(let n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function G_(t,e,i,n,o){let r=this.declaredInputs[n],s=Vm(t)||q_(t,{previous:gi,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[r];a[r]=new uo(l&&l.currentValue,i,c===gi),jm(t,e,o,i)}var Lm="__ngSimpleChanges__";function Vm(t){return t[Lm]||null}function q_(t,e){return t[Lm]=e}var Rd=null;var zt=function(t,e,i){Rd?.(t,e,i)},Bm="svg",Z_="math",Y_=!1;function Q_(){return Y_}function Ut(t){for(;Array.isArray(t);)t=t[tn];return t}function zm(t,e){return Ut(e[t])}function kt(t,e){return Ut(e[t.index])}function al(t,e){return t.data[e]}function Hm(t,e){return t[e]}function fn(t,e){let i=e[t];return Pn(i)?i:i[tn]}function K_(t){return(t[$]&4)===4}function cl(t){return(t[$]&128)===128}function X_(t){return nn(t[Ze])}function wi(t,e){return e==null?null:t[e]}function $m(t){t[di]=0}function J_(t){t[$]&1024||(t[$]|=1024,cl(t)&&mo(t))}function ev(t,e){for(;t>0;)e=e[Ii],t--;return e}function ll(t){return!!(t[$]&9216||t[jn]?.dirty)}function rc(t){t[Lt].changeDetectionScheduler?.notify(1),ll(t)?mo(t):t[$]&64&&(Q_()?(t[$]|=1024,mo(t)):t[Lt].changeDetectionScheduler?.notify())}function mo(t){t[Lt].changeDetectionScheduler?.notify();let e=po(t);for(;e!==null&&!(e[$]&8192||(e[$]|=8192,!cl(e)));)e=po(e)}function Um(t,e){if((t[$]&256)===256)throw new me(911,!1);t[un]===null&&(t[un]=[]),t[un].push(e)}function tv(t,e){if(t[un]===null)return;let i=t[un].indexOf(e);i!==-1&&t[un].splice(i,1)}function po(t){let e=t[Ze];return nn(e)?e[Ze]:e}var Y={lFrame:Km(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function nv(){return Y.lFrame.elementDepthCount}function iv(){Y.lFrame.elementDepthCount++}function ov(){Y.lFrame.elementDepthCount--}function Wm(){return Y.bindingsEnabled}function Gm(){return Y.skipHydrationRootTNode!==null}function rv(t){return Y.skipHydrationRootTNode===t}function sv(){Y.skipHydrationRootTNode=null}function q(){return Y.lFrame.lView}function je(){return Y.lFrame.tView}function M(t){return Y.lFrame.contextLView=t,t[Xe]}function E(t){return Y.lFrame.contextLView=null,t}function tt(){let t=qm();for(;t!==null&&t.type===64;)t=t.parent;return t}function qm(){return Y.lFrame.currentTNode}function av(){let t=Y.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Un(t,e){let i=Y.lFrame;i.currentTNode=t,i.isParent=e}function ul(){return Y.lFrame.isParent}function dl(){Y.lFrame.isParent=!1}function cv(){return Y.lFrame.contextLView}function Do(){let t=Y.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function lv(){return Y.lFrame.bindingIndex}function uv(t){return Y.lFrame.bindingIndex=t}function Mi(){return Y.lFrame.bindingIndex++}function ml(t){let e=Y.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function dv(){return Y.lFrame.inI18n}function mv(t,e){let i=Y.lFrame;i.bindingIndex=i.bindingRootIndex=t,sc(e)}function pv(){return Y.lFrame.currentDirectiveIndex}function sc(t){Y.lFrame.currentDirectiveIndex=t}function fv(t){let e=Y.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Zm(){return Y.lFrame.currentQueryIndex}function pl(t){Y.lFrame.currentQueryIndex=t}function hv(t){let e=t[G];return e.type===2?e.declTNode:e.type===1?t[bt]:null}function Ym(t,e,i){if(i&de.SkipSelf){let o=e,r=t;for(;o=o.parent,o===null&&!(i&de.Host);)if(o=hv(r),o===null||(r=r[Ii],o.type&10))break;if(o===null)return!1;e=o,t=r}let n=Y.lFrame=Qm();return n.currentTNode=e,n.lView=t,!0}function fl(t){let e=Qm(),i=t[G];Y.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function Qm(){let t=Y.lFrame,e=t===null?null:t.child;return e===null?Km(t):e}function Km(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Xm(){let t=Y.lFrame;return Y.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Jm=Xm;function hl(){let t=Xm();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 gv(t){return(Y.lFrame.contextLView=ev(t,Y.lFrame.contextLView))[Xe]}function on(){return Y.lFrame.selectedIndex}function Ln(t){Y.lFrame.selectedIndex=t}function ms(){let t=Y.lFrame;return al(t.tView,t.selectedIndex)}function ep(){Y.lFrame.currentNamespace=Bm}function bv(){return Y.lFrame.currentNamespace}var tp=!0;function ps(){return tp}function fs(t){tp=t}function _v(t,e,i){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:r}=e.type.prototype;if(n){let s=Rm(e);(i.preOrderHooks??=[]).push(t,s),(i.preOrderCheckHooks??=[]).push(t,s)}o&&(i.preOrderHooks??=[]).push(0-t,o),r&&((i.preOrderHooks??=[]).push(t,r),(i.preOrderCheckHooks??=[]).push(t,r))}function hs(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i<n;i++){let r=t.data[i].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=r;s&&(t.contentHooks??=[]).push(-i,s),a&&((t.contentHooks??=[]).push(i,a),(t.contentCheckHooks??=[]).push(i,a)),c&&(t.viewHooks??=[]).push(-i,c),l&&((t.viewHooks??=[]).push(i,l),(t.viewCheckHooks??=[]).push(i,l)),u!=null&&(t.destroyHooks??=[]).push(i,u)}}function Pr(t,e,i){np(t,e,3,i)}function Fr(t,e,i,n){(t[$]&3)===i&&np(t,e,i,n)}function La(t,e){let i=t[$];(i&3)===e&&(i&=16383,i+=1,t[$]=i)}function np(t,e,i,n){let o=n!==void 0?t[di]&65535:0,r=n??-1,s=e.length-1,a=0;for(let c=o;c<s;c++)if(typeof e[c+1]=="number"){if(a=e[c],n!=null&&a>=n)break}else e[c]<0&&(t[di]+=65536),(a<r||r==-1)&&(vv(t,i,e,c),t[di]=(t[di]&4294901760)+c+2),c++}function Ld(t,e){zt(4,t,e);let i=le(null);try{e.call(t)}finally{le(i),zt(5,t,e)}}function vv(t,e,i,n){let o=i[n]<0,r=i[n+1],s=o?-i[n]:i[n],a=t[s];o?t[$]>>14<t[di]>>16&&(t[$]&3)===e&&(t[$]+=16384,Ld(a,r)):Ld(a,r)}var fi=-1,Vn=class{constructor(e,i,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n}};function yv(t){return t instanceof Vn}function Cv(t){return(t.flags&8)!==0}function wv(t){return(t.flags&16)!==0}function ip(t){return t!==fi}function Ur(t){return t&32767}function xv(t){return t>>16}function Wr(t,e){let i=xv(t),n=e;for(;i>0;)n=n[Ii],i--;return n}var ac=!0;function Gr(t){let e=ac;return ac=t,e}var Dv=256,op=Dv-1,rp=5,Iv=0,Ht={};function Mv(t,e,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(oo)&&(n=i[oo]),n==null&&(n=i[oo]=Iv++);let o=n&op,r=1<<o;e.data[t+(o>>rp)]|=r}function qr(t,e){let i=sp(t,e);if(i!==-1)return i;let n=e[G];n.firstCreatePass&&(t.injectorIndex=e.length,Va(n.data,t),Va(e,null),Va(n.blueprint,null));let o=gl(t,e),r=t.injectorIndex;if(ip(o)){let s=Ur(o),a=Wr(o,e),c=a[G].data;for(let l=0;l<8;l++)e[r+l]=a[s+l]|c[s+l]}return e[r+8]=o,r}function Va(t,e){t.push(0,0,0,0,0,0,0,0,e)}function sp(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function gl(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let i=0,n=null,o=e;for(;o!==null;){if(n=dp(o),n===null)return fi;if(i++,o=o[Ii],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return fi}function cc(t,e,i){Mv(t,e,i)}function Ev(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let i=t.attrs;if(i){let n=i.length,o=0;for(;o<n;){let r=i[o];if(wm(r))break;if(r===0)o=o+2;else if(typeof r=="number")for(o++;o<n&&typeof i[o]=="string";)o++;else{if(r===e)return i[o+1];o=o+2}}}return null}function ap(t,e,i){if(i&de.Optional||t!==void 0)return t;Kc(e,"NodeInjector")}function cp(t,e,i,n){if(i&de.Optional&&n===void 0&&(n=null),!(i&(de.Self|de.Host))){let o=t[yi],r=It(void 0);try{return o?o.get(e,n,i&de.Optional):hm(e,n,i&de.Optional)}finally{It(r)}}return ap(n,e,i)}function lp(t,e,i,n=de.Default,o){if(t!==null){if(e[$]&2048&&!(n&de.Self)){let s=Tv(t,e,i,n,Ht);if(s!==Ht)return s}let r=up(t,e,i,n,Ht);if(r!==Ht)return r}return cp(e,i,n,o)}function up(t,e,i,n,o){let r=Sv(i);if(typeof r=="function"){if(!Ym(e,t,n))return n&de.Host?ap(o,i,n):cp(e,i,n,o);try{let s;if(s=r(n),s==null&&!(n&de.Optional))Kc(i);else return s}finally{Jm()}}else if(typeof r=="number"){let s=null,a=sp(t,e),c=fi,l=n&de.Host?e[Mt][bt]:null;for((a===-1||n&de.SkipSelf)&&(c=a===-1?gl(t,e):e[a+8],c===fi||!Bd(n,!1)?a=-1:(s=e[G],a=Ur(c),e=Wr(c,e)));a!==-1;){let u=e[G];if(Vd(r,a,u.data)){let p=kv(a,e,i,s,n,l);if(p!==Ht)return p}c=e[a+8],c!==fi&&Bd(n,e[G].data[a+8]===l)&&Vd(r,a,e)?(s=u,a=Ur(c),e=Wr(c,e)):a=-1}}return o}function kv(t,e,i,n,o,r){let s=e[G],a=s.data[t+8],c=n==null?us(a)&&ac:n!=s&&(a.type&3)!==0,l=o&de.Host&&r===a,u=Nr(a,s,i,c,l);return u!==null?Bn(e,s,u,a):Ht}function Nr(t,e,i,n,o){let r=t.providerIndexes,s=e.data,a=r&1048575,c=t.directiveStart,l=t.directiveEnd,u=r>>20,p=n?a:a+u,b=o?a+u:l;for(let v=p;v<b;v++){let I=s[v];if(v<c&&i===I||v>=c&&I.type===i)return v}if(o){let v=s[c];if(v&&mn(v)&&v.type===i)return c}return null}function Bn(t,e,i,n){let o=t[i],r=e.data;if(yv(o)){let s=o;s.resolving&&e_(Jb(r[i]));let a=Gr(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?It(s.injectImpl):null,u=Ym(t,n,de.Default);try{o=t[i]=s.factory(void 0,r,t,n),e.firstCreatePass&&i>=n.directiveStart&&_v(i,r[i],e)}finally{l!==null&&It(l),Gr(a),s.resolving=!1,Jm()}}return o}function Sv(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(oo)?t[oo]:void 0;return typeof e=="number"?e>=0?e&op:Ov:e}function Vd(t,e,i){let n=1<<t;return!!(i[e+(t>>rp)]&n)}function Bd(t,e){return!(t&de.Self)&&!(t&de.Host&&e)}var Fn=class{constructor(e,i){this._tNode=e,this._lView=i}get(e,i,n){return lp(this._tNode,this._lView,e,as(n),i)}};function Ov(){return new Fn(tt(),q())}function ft(t){return yo(()=>{let e=t.prototype.constructor,i=e[Lr]||lc(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let r=o[Lr]||lc(o);if(r&&r!==i)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function lc(t){return um(t)?()=>{let e=lc(st(t));return e&&e()}:Nn(t)}function Tv(t,e,i,n,o){let r=t,s=e;for(;r!==null&&s!==null&&s[$]&2048&&!(s[$]&512);){let a=up(r,s,i,n|de.Self,Ht);if(a!==Ht)return a;let c=r.parent;if(!c){let l=s[Fm];if(l){let u=l.get(i,Ht,n);if(u!==Ht)return u}c=dp(s),s=s[Ii]}r=c}return o}function dp(t){let e=t[G],i=e.type;return i===2?e.declTNode:i===1?t[bt]:null}function Ei(t){return Ev(tt(),t)}function zd(t,e=null,i=null,n){let o=Av(t,e,i,n);return o.resolveInjectorInitializers(),o}function Av(t,e=null,i=null,n,o=new Set){let r=[i||pt,nl(t)];return n=n||(typeof t=="object"?void 0:gt(t)),new Hr(r,e||ol(),n||null,o)}var ki=(()=>{let e=class e{static create(n,o){if(Array.isArray(n))return zd({name:""},o,n,"");{let r=n.name??"";return zd({name:r},n.parent,n.providers,r)}}};e.THROW_IF_NOT_FOUND=ro,e.NULL=new zr,e.\u0275prov=U({token:e,providedIn:"any",factory:()=>F(vm)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var Pv="ngOriginalError";function Ba(t){return t[Pv]}var Wt=class{constructor(){this._console=console}handleError(e){let i=this._findOriginalError(e);this._console.error("ERROR",e),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(e){let i=e&&Ba(e);for(;i&&Ba(i);)i=Ba(i);return i||null}},mp=new V("",{providedIn:"root",factory:()=>he(Wt).handleError.bind(void 0)}),pp=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Fv,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),uc=class extends pp{constructor(e){super(),this._lView=e}onDestroy(e){return Um(this._lView,e),()=>tv(this._lView,e)}};function Fv(){return new uc(q())}function Nv(){return Si(tt(),q())}function Si(t,e){return new J(kt(t,e))}var J=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=Nv;let t=e;return t})();function jv(t){return t instanceof J?t.nativeElement:t}var dc=class extends we{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,H_()&&(this.destroyRef=he(pp,{optional:!0})??void 0)}emit(e){let i=le(null);try{super.next(e)}finally{le(i)}}subscribe(e,i,n){let o=e,r=i||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;o=c.next?.bind(c),r=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(r=za(r),o&&(o=za(o)),s&&(s=za(s)));let a=super.subscribe({next:o,error:r,complete:s});return e instanceof Fe&&e.add(a),a}};function za(t){return e=>{setTimeout(t,void 0,e)}}var D=dc;function Rv(){return this._results[Symbol.iterator]()}var Zr=class t{get changes(){return this._changes??=new D}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let i=t.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=Rv)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,i){return this._results.reduce(e,i)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,i){this.dirty=!1;let n=d_(e);(this._changesDetected=!u_(this._results,n,i))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function fp(t){return(t.flags&128)===128}var hp=new Map,Lv=0;function Vv(){return Lv++}function Bv(t){hp.set(t[ls],t)}function zv(t){hp.delete(t[ls])}var Hd="__ngContext__";function pn(t,e){Pn(e)?(t[Hd]=e[ls],Bv(e)):t[Hd]=e}function gp(t){return _p(t[lo])}function bp(t){return _p(t[Rt])}function _p(t){for(;t!==null&&!nn(t);)t=t[Rt];return t}var mc;function vp(t){mc=t}function Hv(){if(mc!==void 0)return mc;if(typeof document<"u")return document;throw new me(210,!1)}var gs=new V("",{providedIn:"root",factory:()=>$v}),$v="ng",bl=new V(""),hn=new V("",{providedIn:"platform",factory:()=>"unknown"});var Io=new V(""),Mo=new V("",{providedIn:"root",factory:()=>Hv().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Uv="h",Wv="b";var Gv=()=>null;function _l(t,e,i=!1){return Gv(t,e,i)}var yp=!1,qv=new V("",{providedIn:"root",factory:()=>yp});var Yr=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${cm})`}};function Eo(t){return t instanceof Yr?t.changingThisBreaksApplicationSecurity:t}function Cp(t,e){let i=Zv(t);if(i!=null&&i!==e){if(i==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${i} (see ${cm})`)}return i===e}function Zv(t){return t instanceof Yr&&t.getTypeName()||null}var Yv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function wp(t){return t=String(t),t.match(Yv)?t:"unsafe:"+t}var vl=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}(vl||{});function ko(t){let e=Qv();return e?e.sanitize(vl.URL,t)||"":Cp(t,"URL")?Eo(t):wp(hi(t))}function Qv(){let t=q();return t&&t[Lt].sanitizer}var Kv=/^>|^->|<!--|-->|--!>|<!-$/g,Xv=/(<|>)/g,Jv="\u200B$1\u200B";function e0(t){return t.replace(Kv,e=>e.replace(Xv,Jv))}function gn(t){return t.ownerDocument}var Gt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Gt||{}),t0;function yl(t,e){return t0(t,e)}function mi(t,e,i,n,o){if(n!=null){let r,s=!1;nn(n)?r=n:Pn(n)&&(s=!0,n=n[tn]);let a=Ut(n);t===0&&i!==null?o==null?Ep(e,i,a):Qr(e,i,a,o||null,!0):t===1&&i!==null?Qr(e,i,a,o||null,!0):t===2?b0(e,a,s):t===3&&e.destroyNode(a),r!=null&&v0(e,t,r,i,o)}}function n0(t,e){return t.createText(e)}function i0(t,e,i){t.setValue(e,i)}function o0(t,e){return t.createComment(e0(e))}function xp(t,e,i){return t.createElement(e,i)}function r0(t,e){Dp(t,e),e[tn]=null,e[bt]=null}function s0(t,e,i,n,o,r){n[tn]=o,n[bt]=e,vs(t,n,i,1,o,r)}function Dp(t,e){e[Lt].changeDetectionScheduler?.notify(1),vs(t,e,e[Ae],2,null,null)}function a0(t){let e=t[lo];if(!e)return Ha(t[G],t);for(;e;){let i=null;if(Pn(e))i=e[lo];else{let n=e[Je];n&&(i=n)}if(!i){for(;e&&!e[Rt]&&e!==t;)Pn(e)&&Ha(e[G],e),e=e[Ze];e===null&&(e=t),Pn(e)&&Ha(e[G],e),i=e&&e[Rt]}e=i}}function c0(t,e,i,n){let o=Je+n,r=i.length;n>0&&(i[o-1][Rt]=e),n<r-Je?(e[Rt]=i[o],_m(i,Je+n,e)):(i.push(e),e[Rt]=null),e[Ze]=i;let s=e[xo];s!==null&&i!==s&&l0(s,e);let a=e[en];a!==null&&a.insertView(t),rc(e),e[$]|=128}function l0(t,e){let i=t[Ci],o=e[Ze][Ze][Mt];e[Mt]!==o&&(t[$]|=rl.HasTransplantedViews),i===null?t[Ci]=[e]:i.push(e)}function Ip(t,e){let i=t[Ci],n=i.indexOf(e);i.splice(n,1)}function fo(t,e){if(t.length<=Je)return;let i=Je+e,n=t[i];if(n){let o=n[xo];o!==null&&o!==t&&Ip(o,n),e>0&&(t[i-1][Rt]=n[Rt]);let r=Br(t,Je+e);r0(n[G],n);let s=r[en];s!==null&&s.detachView(r[G]),n[Ze]=null,n[Rt]=null,n[$]&=-129}return n}function bs(t,e){if(!(e[$]&256)){let i=e[Ae];i.destroyNode&&vs(t,e,i,3,null,null),a0(e)}}function Ha(t,e){if(e[$]&256)return;let i=le(null);try{e[$]&=-129,e[$]|=256,e[jn]&&qu(e[jn]),d0(t,e),u0(t,e),e[G].type===1&&e[Ae].destroy();let n=e[xo];if(n!==null&&nn(e[Ze])){n!==e[Ze]&&Ip(n,e);let o=e[en];o!==null&&o.detachView(t)}zv(e)}finally{le(i)}}function u0(t,e){let i=t.cleanup,n=e[co];if(i!==null)for(let r=0;r<i.length-1;r+=2)if(typeof i[r]=="string"){let s=i[r+3];s>=0?n[s]():n[-s].unsubscribe(),r+=2}else{let s=n[i[r+1]];i[r].call(s)}n!==null&&(e[co]=null);let o=e[un];if(o!==null){e[un]=null;for(let r=0;r<o.length;r++){let s=o[r];s()}}}function d0(t,e){let i;if(t!=null&&(i=t.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let o=e[i[n]];if(!(o instanceof Vn)){let r=i[n+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let a=o[r[s]],c=r[s+1];zt(4,a,c);try{c.call(a)}finally{zt(5,a,c)}}else{zt(4,o,r);try{r.call(o)}finally{zt(5,o,r)}}}}}function Mp(t,e,i){return m0(t,e.parent,i)}function m0(t,e,i){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return i[tn];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:r}=t.data[n.directiveStart+o];if(r===$t.None||r===$t.Emulated)return null}return kt(n,i)}}function Qr(t,e,i,n,o){t.insertBefore(e,i,n,o)}function Ep(t,e,i){t.appendChild(e,i)}function $d(t,e,i,n,o){n!==null?Qr(t,e,i,n,o):Ep(t,e,i)}function p0(t,e,i,n){t.removeChild(e,i,n)}function Cl(t,e){return t.parentNode(e)}function f0(t,e){return t.nextSibling(e)}function kp(t,e,i){return g0(t,e,i)}function h0(t,e,i){return t.type&40?kt(t,i):null}var g0=h0,Ud;function _s(t,e,i,n){let o=Mp(t,n,e),r=e[Ae],s=n.parent||e[bt],a=kp(s,n,e);if(o!=null)if(Array.isArray(i))for(let c=0;c<i.length;c++)$d(r,o,i[c],a,!1);else $d(r,o,i,a,!1);Ud!==void 0&&Ud(r,n,e,i,o)}function jr(t,e){if(e!==null){let i=e.type;if(i&3)return kt(e,t);if(i&4)return pc(-1,t[e.index]);if(i&8){let n=e.child;if(n!==null)return jr(t,n);{let o=t[e.index];return nn(o)?pc(-1,o):Ut(o)}}else{if(i&32)return yl(e,t)()||Ut(t[e.index]);{let n=Sp(t,e);if(n!==null){if(Array.isArray(n))return n[0];let o=po(t[Mt]);return jr(o,n)}else return jr(t,e.next)}}}return null}function Sp(t,e){if(e!==null){let n=t[Mt][bt],o=e.projection;return n.projection[o]}return null}function pc(t,e){let i=Je+t+1;if(i<e.length){let n=e[i],o=n[G].firstChild;if(o!==null)return jr(n,o)}return e[Rn]}function b0(t,e,i){let n=Cl(t,e);n&&p0(t,n,e,i)}function wl(t,e,i,n,o,r,s){for(;i!=null;){let a=n[i.index],c=i.type;if(s&&e===0&&(a&&pn(Ut(a),n),i.flags|=2),(i.flags&32)!==32)if(c&8)wl(t,e,i.child,n,o,r,!1),mi(e,t,o,a,r);else if(c&32){let l=yl(i,n),u;for(;u=l();)mi(e,t,o,u,r);mi(e,t,o,a,r)}else c&16?Op(t,e,n,i,o,r):mi(e,t,o,a,r);i=s?i.projectionNext:i.next}}function vs(t,e,i,n,o,r){wl(i,n,t.firstChild,e,o,r,!1)}function _0(t,e,i){let n=e[Ae],o=Mp(t,i,e),r=i.parent||e[bt],s=kp(r,i,e);Op(n,0,e,i,o,s)}function Op(t,e,i,n,o,r){let s=i[Mt],c=s[bt].projection[n.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];mi(e,t,o,u,r)}else{let l=c,u=s[Ze];fp(n)&&(l.flags|=128),wl(t,e,l,u,o,r,!0)}}function v0(t,e,i,n,o){let r=i[Rn],s=Ut(i);r!==s&&mi(e,t,n,r,o);for(let a=Je;a<i.length;a++){let c=i[a];vs(c[G],c,t,e,n,r)}}function y0(t,e,i,n,o){if(e)o?t.addClass(i,n):t.removeClass(i,n);else{let r=n.indexOf("-")===-1?void 0:Gt.DashCase;o==null?t.removeStyle(i,n,r):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=Gt.Important),t.setStyle(i,n,o,r))}}function C0(t,e,i){t.setAttribute(e,"style",i)}function Tp(t,e,i){i===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",i)}function Ap(t,e,i){let{mergedAttrs:n,classes:o,styles:r}=i;n!==null&&tc(t,e,n),o!==null&&Tp(t,e,o),r!==null&&C0(t,e,r)}var St={};function d(t=1){Pp(je(),q(),on()+t,!1)}function Pp(t,e,i,n){if(!n)if((e[$]&3)===3){let r=t.preOrderCheckHooks;r!==null&&Pr(e,r,i)}else{let r=t.preOrderHooks;r!==null&&Fr(e,r,0,i)}Ln(i)}function C(t,e=de.Default){let i=q();if(i===null)return F(t,e);let n=tt();return lp(n,i,st(t),e)}function Fp(){let t="invalid";throw new Error(t)}function Np(t,e,i,n,o,r){let s=le(null);try{let a=null;o&_.SignalBased&&(a=e[n][fa]),a!==null&&a.transformFn!==void 0&&(r=a.transformFn(r)),o&_.HasDecoratorInputTransform&&(r=t.inputTransforms[n].call(e,r)),t.setInput!==null?t.setInput(e,a,r,i,n):jm(e,a,n,r)}finally{le(s)}}function w0(t,e){let i=t.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let o=i[n];if(o<0)Ln(~o);else{let r=o,s=i[++n],a=i[++n];mv(s,r);let c=e[r];a(2,c)}}}finally{Ln(-1)}}function ys(t,e,i,n,o,r,s,a,c,l,u){let p=e.blueprint.slice();return p[tn]=o,p[$]=n|4|128|8|64,(l!==null||t&&t[$]&2048)&&(p[$]|=2048),$m(p),p[Ze]=p[Ii]=t,p[Xe]=i,p[Lt]=s||t&&t[Lt],p[Ae]=a||t&&t[Ae],p[yi]=c||t&&t[yi]||null,p[bt]=r,p[ls]=Vv(),p[vi]=u,p[Fm]=l,p[Mt]=e.type==2?t[Mt]:p,p}function Oi(t,e,i,n,o){let r=t.data[e];if(r===null)r=x0(t,e,i,n,o),dv()&&(r.flags|=32);else if(r.type&64){r.type=i,r.value=n,r.attrs=o;let s=av();r.injectorIndex=s===null?-1:s.injectorIndex}return Un(r,!0),r}function x0(t,e,i,n,o){let r=qm(),s=ul(),a=s?r:r&&r.parent,c=t.data[e]=S0(t,a,i,e,n,o);return t.firstChild===null&&(t.firstChild=c),r!==null&&(s?r.child==null&&c.parent!==null&&(r.child=c):r.next===null&&(r.next=c,c.prev=r)),c}function jp(t,e,i,n){if(i===0)return-1;let o=e.length;for(let r=0;r<i;r++)e.push(n),t.blueprint.push(n),t.data.push(null);return o}function Rp(t,e,i,n,o){let r=on(),s=n&2;try{Ln(-1),s&&e.length>et&&Pp(t,e,et,!1),zt(s?2:0,o),i(n,o)}finally{Ln(r),zt(s?3:1,o)}}function xl(t,e,i){if(sl(e)){let n=le(null);try{let o=e.directiveStart,r=e.directiveEnd;for(let s=o;s<r;s++){let a=t.data[s];if(a.contentQueries){let c=i[s];a.contentQueries(1,c,s)}}}finally{le(n)}}}function Dl(t,e,i){Wm()&&(N0(t,e,i,kt(i,e)),(i.flags&64)===64&&Bp(t,e,i))}function Il(t,e,i=kt){let n=e.localNames;if(n!==null){let o=e.index+1;for(let r=0;r<n.length;r+=2){let s=n[r+1],a=s===-1?i(e,t):t[s];t[o++]=a}}}function Lp(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Ml(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Ml(t,e,i,n,o,r,s,a,c,l,u){let p=et+n,b=p+o,v=D0(p,b),I=typeof l=="function"?l():l;return v[G]={type:t,blueprint:v,template:i,queries:null,viewQuery:a,declTNode:e,data:v.slice().fill(null,p),bindingStartIndex:p,expandoStartIndex:b,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:c,consts:I,incompleteFirstPass:!1,ssrId:u}}function D0(t,e){let i=[];for(let n=0;n<e;n++)i.push(n<t?null:St);return i}function I0(t,e,i,n){let r=n.get(qv,yp)||i===$t.ShadowDom,s=t.selectRootElement(e,r);return M0(s),s}function M0(t){E0(t)}var E0=()=>null;function k0(t,e,i,n){let o=$p(e);o.push(i),t.firstCreatePass&&Up(t).push(n,o.length-1)}function S0(t,e,i,n,o,r){let s=e?e.injectorIndex:-1,a=0;return Gm()&&(a|=128),{type:i,index:n,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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Wd(t,e,i,n,o){for(let r in e){if(!e.hasOwnProperty(r))continue;let s=e[r];if(s===void 0)continue;n??={};let a,c=_.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=r;if(o!==null){if(!o.hasOwnProperty(r))continue;l=o[r]}t===0?Gd(n,i,l,a,c):Gd(n,i,l,a)}return n}function Gd(t,e,i,n,o){let r;t.hasOwnProperty(i)?(r=t[i]).push(e,n):r=t[i]=[e,n],o!==void 0&&r.push(o)}function O0(t,e,i){let n=e.directiveStart,o=e.directiveEnd,r=t.data,s=e.attrs,a=[],c=null,l=null;for(let u=n;u<o;u++){let p=r[u],b=i?i.get(p):null,v=b?b.inputs:null,I=b?b.outputs:null;c=Wd(0,p.inputs,u,c,v),l=Wd(1,p.outputs,u,l,I);let A=c!==null&&s!==null&&!tl(e)?G0(c,u,s):null;a.push(A)}c!==null&&(c.hasOwnProperty("class")&&(e.flags|=8),c.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=c,e.outputs=l}function T0(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function El(t,e,i,n,o,r,s,a){let c=kt(e,i),l=e.inputs,u;!a&&l!=null&&(u=l[n])?(Sl(t,i,u,n,o),us(e)&&A0(i,e.index)):e.type&3?(n=T0(n),o=s!=null?s(o,e.value||"",n):o,r.setProperty(c,n,o)):e.type&12}function A0(t,e){let i=fn(e,t);i[$]&16||(i[$]|=64)}function kl(t,e,i,n){if(Wm()){let o=n===null?null:{"":-1},r=R0(t,i),s,a;r===null?s=a=null:[s,a]=r,s!==null&&Vp(t,e,i,s,o,a),o&&L0(i,n,o)}i.mergedAttrs=ao(i.mergedAttrs,i.attrs)}function Vp(t,e,i,n,o,r){for(let l=0;l<n.length;l++)cc(qr(i,e),t,n[l].type);B0(i,t.data.length,n.length);for(let l=0;l<n.length;l++){let u=n[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=jp(t,e,n.length,null);for(let l=0;l<n.length;l++){let u=n[l];i.mergedAttrs=ao(i.mergedAttrs,u.hostAttrs),z0(t,i,e,c,u),V0(c,u,o),u.contentQueries!==null&&(i.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(i.flags|=64);let p=u.type.prototype;!s&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((t.preOrderHooks??=[]).push(i.index),s=!0),!a&&(p.ngOnChanges||p.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(i.index),a=!0),c++}O0(t,i,r)}function P0(t,e,i,n,o){let r=o.hostBindings;if(r){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;F0(s)!=a&&s.push(a),s.push(i,n,r)}}function F0(t){let e=t.length;for(;e>0;){let i=t[--e];if(typeof i=="number"&&i<0)return i}return 0}function N0(t,e,i,n){let o=i.directiveStart,r=i.directiveEnd;us(i)&&H0(e,i,t.data[o+i.componentOffset]),t.firstCreatePass||qr(i,e),pn(n,e);let s=i.initialInputs;for(let a=o;a<r;a++){let c=t.data[a],l=Bn(e,t,a,i);if(pn(l,e),s!==null&&W0(e,a-o,l,c,i,s),mn(c)){let u=fn(i.index,e);u[Xe]=Bn(e,t,a,i)}}}function Bp(t,e,i){let n=i.directiveStart,o=i.directiveEnd,r=i.index,s=pv();try{Ln(r);for(let a=n;a<o;a++){let c=t.data[a],l=e[a];sc(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&j0(c,l)}}finally{Ln(-1),sc(s)}}function j0(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function R0(t,e){let i=t.directiveRegistry,n=null,o=null;if(i)for(let r=0;r<i.length;r++){let s=i[r];if(Dm(e,s.selectors,!1))if(n||(n=[]),mn(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),n.unshift(...a,s);let c=a.length;fc(t,e,c)}else n.unshift(s),fc(t,e,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,n,o),n.push(s)}return n===null?null:[n,o]}function fc(t,e,i){e.componentOffset=i,(t.components??=[]).push(e.index)}function L0(t,e,i){if(e){let n=t.localNames=[];for(let o=0;o<e.length;o+=2){let r=i[e[o+1]];if(r==null)throw new me(-301,!1);n.push(e[o],r)}}}function V0(t,e,i){if(i){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)i[e.exportAs[n]]=t;mn(e)&&(i[""]=t)}}function B0(t,e,i){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+i,t.providerIndexes=e}function z0(t,e,i,n,o){t.data[n]=o;let r=o.factory||(o.factory=Nn(o.type,!0)),s=new Vn(r,mn(o),C);t.blueprint[n]=s,i[n]=s,P0(t,e,n,jp(t,i,o.hostVars,St),o)}function H0(t,e,i){let n=kt(e,t),o=Lp(i),r=t[Lt].rendererFactory,s=16;i.signals?s=4096:i.onPush&&(s=64);let a=Cs(t,ys(t,o,null,s,n,e,null,r.createRenderer(n,i),null,null,null));t[e.index]=a}function $0(t,e,i,n,o,r){let s=kt(t,e);U0(e[Ae],s,r,t.value,i,n,o)}function U0(t,e,i,n,o,r,s){if(r==null)t.removeAttribute(e,o,i);else{let a=s==null?hi(r):s(r,n||"",o);t.setAttribute(e,o,a,i)}}function W0(t,e,i,n,o,r){let s=r[e];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],l=s[a++],u=s[a++],p=s[a++];Np(n,i,c,l,u,p)}}function G0(t,e,i){let n=null,o=0;for(;o<i.length;){let r=i[o];if(r===0){o+=4;continue}else if(r===5){o+=2;continue}if(typeof r=="number")break;if(t.hasOwnProperty(r)){n===null&&(n=[]);let s=t[r];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(r,s[a+1],s[a+2],i[o+1]);break}}o+=2}return n}function zp(t,e,i,n){return[t,!0,0,e,null,n,null,i,null,null]}function Hp(t,e){let i=t.contentQueries;if(i!==null){let n=le(null);try{for(let o=0;o<i.length;o+=2){let r=i[o],s=i[o+1];if(s!==-1){let a=t.data[s];pl(r),a.contentQueries(2,e[s],s)}}}finally{le(n)}}}function Cs(t,e){return t[lo]?t[jd][Rt]=e:t[lo]=e,t[jd]=e,e}function hc(t,e,i){pl(0);let n=le(null);try{e(t,i)}finally{le(n)}}function $p(t){return t[co]||(t[co]=[])}function Up(t){return t.cleanup||(t.cleanup=[])}function Wp(t,e){let i=t[yi],n=i?i.get(Wt,null):null;n&&n.handleError(e)}function Sl(t,e,i,n,o){for(let r=0;r<i.length;){let s=i[r++],a=i[r++],c=i[r++],l=e[s],u=t.data[s];Np(u,l,n,a,c,o)}}function Gp(t,e,i){let n=zm(e,t);i0(t[Ae],n,i)}function q0(t,e){let i=fn(e,t),n=i[G];Z0(n,i);let o=i[tn];o!==null&&i[vi]===null&&(i[vi]=_l(o,i[yi])),Ol(n,i,i[Xe])}function Z0(t,e){for(let i=e.length;i<t.blueprint.length;i++)e.push(t.blueprint[i])}function Ol(t,e,i){fl(e);try{let n=t.viewQuery;n!==null&&hc(1,n,i);let o=t.template;o!==null&&Rp(t,e,o,1,i),t.firstCreatePass&&(t.firstCreatePass=!1),e[en]?.finishViewCreation(t),t.staticContentQueries&&Hp(t,e),t.staticViewQueries&&hc(2,t.viewQuery,i);let r=t.components;r!==null&&Y0(e,r)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[$]&=-5,hl()}}function Y0(t,e){for(let i=0;i<e.length;i++)q0(t,e[i])}function ws(t,e,i,n){let o=le(null);try{let r=e.tView,a=t[$]&4096?4096:16,c=ys(t,r,i,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),l=t[e.index];c[xo]=l;let u=t[en];return u!==null&&(c[en]=u.createEmbeddedView(r)),Ol(r,c,i),c}finally{le(o)}}function qp(t,e){let i=Je+e;if(i<t.length)return t[i]}function ho(t,e){return!e||e.firstChild===null||fp(t)}function xs(t,e,i,n=!0){let o=e[G];if(c0(o,e,t,i),n){let s=pc(i,t),a=e[Ae],c=Cl(a,t[Rn]);c!==null&&s0(o,t[bt],a,e,c,s)}let r=e[vi];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function Zp(t,e){let i=fo(t,e);return i!==void 0&&bs(i[G],i),i}function Kr(t,e,i,n,o=!1){for(;i!==null;){let r=e[i.index];r!==null&&n.push(Ut(r)),nn(r)&&Q0(r,n);let s=i.type;if(s&8)Kr(t,e,i.child,n);else if(s&32){let a=yl(i,e),c;for(;c=a();)n.push(c)}else if(s&16){let a=Sp(e,i);if(Array.isArray(a))n.push(...a);else{let c=po(e[Mt]);Kr(c[G],c,a,n,!0)}}i=o?i.projectionNext:i.next}return n}function Q0(t,e){for(let i=Je;i<t.length;i++){let n=t[i],o=n[G].firstChild;o!==null&&Kr(n[G],n,o,e)}t[Rn]!==t[tn]&&e.push(t[Rn])}var Yp=[];function K0(t){return t[jn]??X0(t)}function X0(t){let e=Yp.pop()??Object.create(ey);return e.lView=t,e}function J0(t){t.lView[jn]!==t&&(t.lView=null,Yp.push(t))}var ey=dt(ce({},Uu),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{mo(t.lView)},consumerOnSignalRead(){this.lView[jn]=this}}),Qp=100;function Kp(t,e=!0,i=0){let n=t[Lt],o=n.rendererFactory,r=!1;r||o.begin?.();try{ty(t,i)}catch(s){throw e&&Wp(t,s),s}finally{r||(o.end?.(),n.inlineEffectRunner?.flush())}}function ty(t,e){gc(t,e);let i=0;for(;ll(t);){if(i===Qp)throw new me(103,!1);i++,gc(t,1)}}function ny(t,e,i,n){let o=e[$];if((o&256)===256)return;let r=!1;!r&&e[Lt].inlineEffectRunner?.flush(),fl(e);let s=null,a=null;!r&&iy(t)&&(a=K0(e),s=Wu(a));try{$m(e),uv(t.bindingStartIndex),i!==null&&Rp(t,e,i,2,n);let c=(o&3)===3;if(!r)if(c){let p=t.preOrderCheckHooks;p!==null&&Pr(e,p,null)}else{let p=t.preOrderHooks;p!==null&&Fr(e,p,0,null),La(e,0)}if(oy(e),Xp(e,0),t.contentQueries!==null&&Hp(t,e),!r)if(c){let p=t.contentCheckHooks;p!==null&&Pr(e,p)}else{let p=t.contentHooks;p!==null&&Fr(e,p,1),La(e,1)}w0(t,e);let l=t.components;l!==null&&ef(e,l,0);let u=t.viewQuery;if(u!==null&&hc(2,u,n),!r)if(c){let p=t.viewCheckHooks;p!==null&&Pr(e,p)}else{let p=t.viewHooks;p!==null&&Fr(e,p,2),La(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Ra]){for(let p of e[Ra])p();e[Ra]=null}r||(e[$]&=-73)}catch(c){throw mo(e),c}finally{a!==null&&(Gu(a,s),J0(a)),hl()}}function iy(t){return t.type!==2}function Xp(t,e){for(let i=gp(t);i!==null;i=bp(i))for(let n=Je;n<i.length;n++){let o=i[n];Jp(o,e)}}function oy(t){for(let e=gp(t);e!==null;e=bp(e)){if(!(e[$]&rl.HasTransplantedViews))continue;let i=e[Ci];for(let n=0;n<i.length;n++){let o=i[n],r=o[Ze];J_(o)}}}function ry(t,e,i){let n=fn(e,t);Jp(n,i)}function Jp(t,e){cl(t)&&gc(t,e)}function gc(t,e){let n=t[G],o=t[$],r=t[jn],s=!!(e===0&&o&16);if(s||=!!(o&64&&e===0),s||=!!(o&1024),s||=!!(r?.dirty&&ha(r)),r&&(r.dirty=!1),t[$]&=-9217,s)ny(n,t,n.template,t[Xe]);else if(o&8192){Xp(t,1);let a=n.components;a!==null&&ef(t,a,1)}}function ef(t,e,i){for(let n=0;n<e.length;n++)ry(t,e[n],i)}function Tl(t){for(t[Lt].changeDetectionScheduler?.notify();t;){t[$]|=64;let e=po(t);if(U_(t)&&!e)return t;t=e}return null}var zn=class{get rootNodes(){let e=this._lView,i=e[G];return Kr(i,e,i.firstChild,[])}constructor(e,i,n=!0){this._lView=e,this._cdRefInjectingView=i,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Xe]}set context(e){this._lView[Xe]=e}get destroyed(){return(this._lView[$]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Ze];if(nn(e)){let i=e[$r],n=i?i.indexOf(this):-1;n>-1&&(fo(e,n),Br(i,n))}this._attachedToViewContainer=!1}bs(this._lView[G],this._lView)}onDestroy(e){Um(this._lView,e)}markForCheck(){Tl(this._cdRefInjectingView||this._lView)}detach(){this._lView[$]&=-129}reattach(){rc(this._lView),this._lView[$]|=128}detectChanges(){this._lView[$]|=1024,Kp(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new me(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Dp(this._lView[G],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new me(902,!1);this._appRef=e,rc(this._lView)}},ge=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=cy;let t=e;return t})(),sy=ge,ay=class extends sy{constructor(e,i,n){super(),this._declarationLView=e,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,n){let o=ws(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:n});return new zn(o)}};function cy(){return Ds(tt(),q())}function Ds(t,e){return t.type&4?new ay(e,t,Si(t,e)):null}var TP=new RegExp(`^(\\d+)*(${Wv}|${Uv})*(.*)`);var ly=()=>null;function go(t,e){return ly(t,e)}var bc=class{},_c=class{},Xr=class{};function uy(t){let e=Error(`No component factory found for ${gt(t)}.`);return e[dy]=t,e}var dy="ngComponent";var vc=class{resolveComponentFactory(e){throw uy(e)}},Ti=(()=>{let e=class e{};e.NULL=new vc;let t=e;return t})(),bo=class{},rn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>my();let t=e;return t})();function my(){let t=q(),e=tt(),i=fn(e.index,t);return(Pn(i)?i:t)[Ae]}var py=(()=>{let e=class e{};e.\u0275prov=U({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),$a={};var qd=new Set;function Is(t){qd.has(t)||(qd.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Zd(...t){}function fy(){let t=typeof io.requestAnimationFrame=="function",e=io[t?"requestAnimationFrame":"setTimeout"],i=io[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&i){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let o=i[Zone.__symbol__("OriginalDelegate")];o&&(i=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:i}}var ve=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new D(!1),this.onMicrotaskEmpty=new D(!1),this.onStable=new D(!1),this.onError=new D(!1),typeof Zone>"u")throw new me(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&i,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=fy().nativeRequestAnimationFrame,by(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new me(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new me(909,!1)}run(e,i,n){return this._inner.run(e,i,n)}runTask(e,i,n,o){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,e,hy,Zd,Zd);try{return r.runTask(s,i,n)}finally{r.cancelTask(s)}}runGuarded(e,i,n){return this._inner.runGuarded(e,i,n)}runOutsideAngular(e){return this._outer.run(e)}},hy={};function Al(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 gy(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(io,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,yc(t),t.isCheckStableRunning=!0,Al(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),yc(t))}function by(t){let e=()=>{gy(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,o,r,s,a)=>{if(_y(a))return i.invokeTask(o,r,s,a);try{return Yd(t),i.invokeTask(o,r,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&r.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Qd(t)}},onInvoke:(i,n,o,r,s,a,c)=>{try{return Yd(t),i.invoke(o,r,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),Qd(t)}},onHasTask:(i,n,o,r)=>{i.hasTask(o,r),n===o&&(r.change=="microTask"?(t._hasPendingMicrotasks=r.microTask,yc(t),Al(t)):r.change=="macroTask"&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(i,n,o,r)=>(i.handleError(o,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}function yc(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Yd(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Qd(t){t._nesting--,Al(t)}function _y(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var tf=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=U({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Jr(t,e,i){let n=i?t.styles:null,o=i?t.classes:null,r=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")r=a;else if(r==1)o=Ka(o,a);else if(r==2){let c=a,l=e[++s];n=Ka(n,c+": "+l+";")}}i?t.styles=n:t.stylesWithoutHost=n,i?t.classes=o:t.classesWithoutHost=o}var Cc=class extends Ti{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let i=bi(e);return new es(i,this.ngModule)}};function Kd(t){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let n=t[i];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:i})}return e}function vy(t){let e=t.toLowerCase();return e==="svg"?Bm:e==="math"?Z_:null}var wc=class{constructor(e,i){this.injector=e,this.parentInjector=i}get(e,i,n){n=as(n);let o=this.injector.get(e,$a,n);return o!==$a||i===$a?o:this.parentInjector.get(e,i,n)}},es=class extends Xr{get inputs(){let e=this.componentDef,i=e.inputTransforms,n=Kd(e.inputs);if(i!==null)for(let o of n)i.hasOwnProperty(o.propName)&&(o.transform=i[o.propName]);return n}get outputs(){return Kd(this.componentDef.outputs)}constructor(e,i){super(),this.componentDef=e,this.ngModule=i,this.componentType=e.type,this.selector=M_(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!i}create(e,i,n,o){let r=le(null);try{o=o||this.ngModule;let s=o instanceof dn?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new wc(e,s):e,c=a.get(bo,null);if(c===null)throw new me(407,!1);let l=a.get(py,null),u=a.get(tf,null),p=a.get(bc,null),b={rendererFactory:c,sanitizer:l,inlineEffectRunner:null,afterRenderEventManager:u,changeDetectionScheduler:p},v=c.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",A=n?I0(v,n,this.componentDef.encapsulation,a):xp(v,I,vy(I)),W=512;this.componentDef.signals?W|=4096:this.componentDef.onPush||(W|=16);let R=null;A!==null&&(R=_l(A,a,!0));let Ce=Ml(0,null,null,1,0,null,null,null,null,null,null),Oe=ys(null,Ce,null,W,null,null,b,v,a,null,R);fl(Oe);let Ke,nt;try{let ie=this.componentDef,Ue,it=null;ie.findHostDirectiveDefs?(Ue=[],it=new Map,ie.findHostDirectiveDefs(ie,Ue,it),Ue.push(ie)):Ue=[ie];let Qo=yy(Oe,A),tb=Cy(Qo,A,ie,Ue,Oe,b,v);nt=al(Ce,et),A&&Dy(v,ie,A,n),i!==void 0&&Iy(nt,this.ngContentSelectors,i),Ke=xy(tb,ie,Ue,it,Oe,[My]),Ol(Ce,Oe,null)}finally{hl()}return new xc(this.componentType,Ke,Si(nt,Oe),Oe,nt)}finally{le(r)}}},xc=class extends _c{constructor(e,i,n,o,r){super(),this.location=n,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new zn(o,void 0,!1),this.componentType=e}setInput(e,i){let n=this._tNode.inputs,o;if(n!==null&&(o=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),i))return;let r=this._rootLView;Sl(r[G],r,o,e,i),this.previousInputValues.set(e,i);let s=fn(this._tNode.index,r);Tl(s)}}get injector(){return new Fn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function yy(t,e){let i=t[G],n=et;return t[n]=e,Oi(i,n,2,"#host",null)}function Cy(t,e,i,n,o,r,s){let a=o[G];wy(n,t,e,s);let c=null;e!==null&&(c=_l(e,o[yi]));let l=r.rendererFactory.createRenderer(e,i),u=16;i.signals?u=4096:i.onPush&&(u=64);let p=ys(o,Lp(i),null,u,o[t.index],t,r,l,null,null,c);return a.firstCreatePass&&fc(a,t,n.length-1),Cs(o,p),o[t.index]=p}function wy(t,e,i,n){for(let o of t)e.mergedAttrs=ao(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(Jr(e,e.mergedAttrs,!0),i!==null&&Ap(n,i,e))}function xy(t,e,i,n,o,r){let s=tt(),a=o[G],c=kt(s,o);Vp(a,o,s,i,null,n);for(let u=0;u<i.length;u++){let p=s.directiveStart+u,b=Bn(o,a,p,s);pn(b,o)}Bp(a,o,s),c&&pn(c,o);let l=Bn(o,a,s.directiveStart+s.componentOffset,s);if(t[Xe]=o[Xe]=l,r!==null)for(let u of r)u(l,e);return xl(a,s,o),l}function Dy(t,e,i,n){if(n)tc(t,i,["ng-version","17.3.10"]);else{let{attrs:o,classes:r}=E_(e.selectors[0]);o&&tc(t,i,o),r&&r.length>0&&Tp(t,i,r.join(" "))}}function Iy(t,e,i){let n=t.projection=[];for(let o=0;o<e.length;o++){let r=i[o];n.push(r!=null?Array.from(r):null)}}function My(){let t=tt();hs(q()[G],t)}var qt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Ey;let t=e;return t})();function Ey(){let t=tt();return of(t,q())}var ky=qt,nf=class extends ky{constructor(e,i,n){super(),this._lContainer=e,this._hostTNode=i,this._hostLView=n}get element(){return Si(this._hostTNode,this._hostLView)}get injector(){return new Fn(this._hostTNode,this._hostLView)}get parentInjector(){let e=gl(this._hostTNode,this._hostLView);if(ip(e)){let i=Wr(e,this._hostLView),n=Ur(e),o=i[G].data[n+8];return new Fn(o,i)}else return new Fn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let i=Xd(this._lContainer);return i!==null&&i[e]||null}get length(){return this._lContainer.length-Je}createEmbeddedView(e,i,n){let o,r;typeof n=="number"?o=n:n!=null&&(o=n.index,r=n.injector);let s=go(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(i||{},r,s);return this.insertImpl(a,o,ho(this._hostTNode,s)),a}createComponent(e,i,n,o,r){let s=e&&!$_(e),a;if(s)a=i;else{let I=i||{};a=I.index,n=I.injector,o=I.projectableNodes,r=I.environmentInjector||I.ngModuleRef}let c=s?e:new es(bi(e)),l=n||this.parentInjector;if(!r&&c.ngModule==null){let A=(s?l:this.parentInjector).get(dn,null);A&&(r=A)}let u=bi(c.componentType??{}),p=go(this._lContainer,u?.id??null),b=p?.firstChild??null,v=c.create(l,o,b,r);return this.insertImpl(v.hostView,a,ho(this._hostTNode,p)),v}insert(e,i){return this.insertImpl(e,i,!0)}insertImpl(e,i,n){let o=e._lView;if(X_(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=o[Ze],l=new nf(c,c[bt],c[Ze]);l.detach(l.indexOf(e))}}let r=this._adjustIndex(i),s=this._lContainer;return xs(s,o,r,n),e.attachToViewContainerRef(),_m(Ua(s),r,e),e}move(e,i){return this.insert(e,i)}indexOf(e){let i=Xd(this._lContainer);return i!==null?i.indexOf(e):-1}remove(e){let i=this._adjustIndex(e,-1),n=fo(this._lContainer,i);n&&(Br(Ua(this._lContainer),i),bs(n[G],n))}detach(e){let i=this._adjustIndex(e,-1),n=fo(this._lContainer,i);return n&&Br(Ua(this._lContainer),i)!=null?new zn(n):null}_adjustIndex(e,i=0){return e??this.length+i}};function Xd(t){return t[$r]}function Ua(t){return t[$r]||(t[$r]=[])}function of(t,e){let i,n=e[t.index];return nn(n)?i=n:(i=zp(n,e,null,t),e[t.index]=i,Cs(e,i)),Oy(i,e,t,n),new nf(i,t,e)}function Sy(t,e){let i=t[Ae],n=i.createComment(""),o=kt(e,t),r=Cl(i,o);return Qr(i,r,n,f0(i,o),!1),n}var Oy=Py,Ty=()=>!1;function Ay(t,e,i){return Ty(t,e,i)}function Py(t,e,i,n){if(t[Rn])return;let o;i.type&8?o=Ut(n):o=Sy(e,i),t[Rn]=o}var Dc=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Ic=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let i=e.queries;if(i!==null){let n=e.contentQueries!==null?e.contentQueries[0]:i.length,o=[];for(let r=0;r<n;r++){let s=i.getByIndex(r),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let i=0;i<this.queries.length;i++)Pl(e,i).matches!==null&&this.queries[i].setDirty()}},ts=class{constructor(e,i,n=null){this.flags=i,this.read=n,typeof e=="string"?this.predicate=zy(e):this.predicate=e}},Mc=class t{constructor(e=[]){this.queries=e}elementStart(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,i)}elementEnd(e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(e)}embeddedTView(e){let i=null;for(let n=0;n<this.length;n++){let o=i!==null?i.length:0,r=this.getByIndex(n).embeddedTView(e,o);r&&(r.indexInDeclarationView=n,i!==null?i.push(r):i=[r])}return i!==null?new t(i):null}template(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,i)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Ec=class t{constructor(e,i=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(e,i){this.isApplyingToNode(i)&&this.matchTNode(e,i)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,i){this.elementStart(e,i)}embeddedTView(e,i){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,i),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let o=0;o<n.length;o++){let r=n[o];this.matchTNodeWithReadOption(e,i,Fy(i,r)),this.matchTNodeWithReadOption(e,i,Nr(i,e,r,!1,!1))}else n===ge?i.type&4&&this.matchTNodeWithReadOption(e,i,-1):this.matchTNodeWithReadOption(e,i,Nr(i,e,n,!1,!1))}matchTNodeWithReadOption(e,i,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===J||o===qt||o===ge&&i.type&4)this.addMatch(i.index,-2);else{let r=Nr(i,e,o,!1,!1);r!==null&&this.addMatch(i.index,r)}else this.addMatch(i.index,n)}}addMatch(e,i){this.matches===null?this.matches=[e,i]:this.matches.push(e,i)}};function Fy(t,e){let i=t.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===e)return i[n+1]}return null}function Ny(t,e){return t.type&11?Si(t,e):t.type&4?Ds(t,e):null}function jy(t,e,i,n){return i===-1?Ny(e,t):i===-2?Ry(t,e,n):Bn(t,t[G],i,e)}function Ry(t,e,i){if(i===J)return Si(e,t);if(i===ge)return Ds(e,t);if(i===qt)return of(e,t)}function rf(t,e,i,n){let o=e[en].queries[n];if(o.matches===null){let r=t.data,s=i.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=r[l];a.push(jy(e,u,s[c+1],i.metadata.read))}}o.matches=a}return o.matches}function kc(t,e,i,n){let o=t.queries.getByIndex(i),r=o.matches;if(r!==null){let s=rf(t,e,o,i);for(let a=0;a<r.length;a+=2){let c=r[a];if(c>0)n.push(s[a/2]);else{let l=r[a+1],u=e[-c];for(let p=Je;p<u.length;p++){let b=u[p];b[xo]===b[Ze]&&kc(b[G],b,l,n)}if(u[Ci]!==null){let p=u[Ci];for(let b=0;b<p.length;b++){let v=p[b];kc(v[G],v,l,n)}}}}}return n}function Ly(t,e){return t[en].queries[e].queryList}function sf(t,e,i){let n=new Zr((i&4)===4);return k0(t,e,n,n.destroy),(e[en]??=new Ic).queries.push(new Dc(n))-1}function Vy(t,e,i){let n=je();return n.firstCreatePass&&(af(n,new ts(t,e,i),-1),(e&2)===2&&(n.staticViewQueries=!0)),sf(n,q(),e)}function By(t,e,i,n){let o=je();if(o.firstCreatePass){let r=tt();af(o,new ts(e,i,n),r.index),Hy(o,t),(i&2)===2&&(o.staticContentQueries=!0)}return sf(o,q(),i)}function zy(t){return t.split(",").map(e=>e.trim())}function af(t,e,i){t.queries===null&&(t.queries=new Mc),t.queries.track(new Ec(e,i))}function Hy(t,e){let i=t.contentQueries||(t.contentQueries=[]),n=i.length?i[i.length-1]:-1;e!==n&&i.push(t.queries.length-1,e)}function Pl(t,e){return t.queries.getByIndex(e)}function $y(t,e){let i=t[G],n=Pl(i,e);return n.crossesNgTemplate?kc(i,t,e,[]):rf(i,t,n,e)}function cf(t){return typeof t=="function"&&t[fa]!==void 0}function lf(t){return cf(t)&&typeof t.set=="function"}function Uy(t){return Object.getPrototypeOf(t.prototype).constructor}function z(t){let e=Uy(t.type),i=!0,n=[t];for(;e;){let o;if(mn(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new me(903,!1);o=e.\u0275dir}if(o){if(i){n.push(o);let s=t;s.inputs=Or(t.inputs),s.inputTransforms=Or(t.inputTransforms),s.declaredInputs=Or(t.declaredInputs),s.outputs=Or(t.outputs);let a=o.hostBindings;a&&Yy(t,a);let c=o.viewQuery,l=o.contentQueries;if(c&&qy(t,c),l&&Zy(t,l),Wy(t,o),Gb(t.outputs,o.outputs),mn(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===z&&(i=!1)}}e=Object.getPrototypeOf(e)}Gy(n)}function Wy(t,e){for(let i in e.inputs){if(!e.inputs.hasOwnProperty(i)||t.inputs.hasOwnProperty(i))continue;let n=e.inputs[i];if(n!==void 0&&(t.inputs[i]=n,t.declaredInputs[i]=e.declaredInputs[i],e.inputTransforms!==null)){let o=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=e.inputTransforms[o]}}}function Gy(t){let e=0,i=null;for(let n=t.length-1;n>=0;n--){let o=t[n];o.hostVars=e+=o.hostVars,o.hostAttrs=ao(o.hostAttrs,i=ao(i,o.hostAttrs))}}function Or(t){return t===gi?{}:t===pt?[]:t}function qy(t,e){let i=t.viewQuery;i?t.viewQuery=(n,o)=>{e(n,o),i(n,o)}:t.viewQuery=e}function Zy(t,e){let i=t.contentQueries;i?t.contentQueries=(n,o,r)=>{e(n,o,r),i(n,o,r)}:t.contentQueries=e}function Yy(t,e){let i=t.hostBindings;i?t.hostBindings=(n,o)=>{e(n,o),i(n,o)}:t.hostBindings=e}function be(t){let e=t.inputConfig,i={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)&&o[3]&&(i[n]=o[3])}t.inputTransforms=i}var xi=class{};var ns=class extends xi{constructor(e){super(),this.componentFactoryResolver=new Cc(this),this.instance=null;let i=new Hr([...e.providers,{provide:xi,useValue:this},{provide:Ti,useValue:this.componentFactoryResolver}],e.parent||ol(),e.debugName,new Set(["environment"]));this.injector=i,e.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Qy(t,e,i=null){return new ns({providers:t,parent:e,debugName:i,runEnvironmentInitializers:!0}).injector}var uf=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ze(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function df(t){return Fl(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Ky(t,e){if(Array.isArray(t))for(let i=0;i<t.length;i++)e(t[i]);else{let i=t[Symbol.iterator](),n;for(;!(n=i.next()).done;)e(n.value)}}function Fl(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Ms(t,e,i){return t[e]=i}function Et(t,e,i){let n=t[e];return Object.is(n,i)?!1:(t[e]=i,!0)}function _o(t,e,i,n){let o=Et(t,e,i);return Et(t,e+1,n)||o}function Xy(t,e,i,n,o){let r=_o(t,e,i,n);return Et(t,e+2,o)||r}function Jy(t,e,i,n,o,r){let s=_o(t,e,i,n);return _o(t,e+2,o,r)||s}function eC(t){return(t.flags&32)===32}function tC(t,e,i,n,o,r,s,a,c){let l=e.consts,u=Oi(e,t,4,s||null,wi(l,a));kl(e,i,u,wi(l,c)),hs(e,u);let p=u.tView=Ml(2,u,n,o,r,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l,null);return e.queries!==null&&(e.queries.template(e,u),p.queries=e.queries.embeddedTView(u)),u}function x(t,e,i,n,o,r,s,a){let c=q(),l=je(),u=t+et,p=l.firstCreatePass?tC(u,l,c,e,i,n,o,r,s):l.data[u];Un(p,!1);let b=nC(l,c,p,t);ps()&&_s(l,c,b,p),pn(b,c);let v=zp(b,c,b,p);return c[u]=v,Cs(c,v),Ay(v,p,c),ds(p)&&Dl(l,c,p),s!=null&&Il(c,p,a),x}var nC=iC;function iC(t,e,i,n){return fs(!0),e[Ae].createComment("")}function Z(t,e,i,n){let o=q(),r=Mi();if(Et(o,r,e)){let s=je(),a=ms();$0(a,o,t,e,i,n)}return Z}function mf(t,e,i,n){return Et(t,Mi(),i)?e+hi(i)+n:St}function oC(t,e,i,n,o,r){let s=lv(),a=_o(t,s,i,o);return ml(2),a?e+hi(i)+n+hi(o)+r:St}function Tr(t,e){return t<<17|e<<2}function Hn(t){return t>>17&32767}function rC(t){return(t&2)==2}function sC(t,e){return t&131071|e<<17}function Sc(t){return t|2}function Di(t){return(t&131068)>>2}function Wa(t,e){return t&-131069|e<<2}function aC(t){return(t&1)===1}function Oc(t){return t|1}function cC(t,e,i,n,o,r){let s=r?e.classBindings:e.styleBindings,a=Hn(s),c=Di(s);t[n]=i;let l=!1,u;if(Array.isArray(i)){let p=i;u=p[1],(u===null||Co(p,u)>0)&&(l=!0)}else u=i;if(o)if(c!==0){let b=Hn(t[a+1]);t[n+1]=Tr(b,a),b!==0&&(t[b+1]=Wa(t[b+1],n)),t[a+1]=sC(t[a+1],n)}else t[n+1]=Tr(a,0),a!==0&&(t[a+1]=Wa(t[a+1],n)),a=n;else t[n+1]=Tr(c,0),a===0?a=n:t[c+1]=Wa(t[c+1],n),c=n;l&&(t[n+1]=Sc(t[n+1])),Jd(t,u,n,!0),Jd(t,u,n,!1),lC(e,u,t,n,r),s=Tr(a,c),r?e.classBindings=s:e.styleBindings=s}function lC(t,e,i,n,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof e=="string"&&Co(r,e)>=0&&(i[n+1]=Oc(i[n+1]))}function Jd(t,e,i,n){let o=t[i+1],r=e===null,s=n?Hn(o):Di(o),a=!1;for(;s!==0&&(a===!1||r);){let c=t[s],l=t[s+1];uC(c,e)&&(a=!0,t[s+1]=n?Oc(l):Sc(l)),s=n?Hn(l):Di(l)}a&&(t[i+1]=n?Sc(o):Oc(o))}function uC(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Co(t,e)>=0:!1}var jt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function dC(t){return t.substring(jt.key,jt.keyEnd)}function mC(t){return pC(t),pf(t,ff(t,0,jt.textEnd))}function pf(t,e){let i=jt.textEnd;return i===e?-1:(e=jt.keyEnd=fC(t,jt.key=e,i),ff(t,e,i))}function pC(t){jt.key=0,jt.keyEnd=0,jt.value=0,jt.valueEnd=0,jt.textEnd=t.length}function ff(t,e,i){for(;e<i&&t.charCodeAt(e)<=32;)e++;return e}function fC(t,e,i){for(;e<i&&t.charCodeAt(e)>32;)e++;return e}function f(t,e,i){let n=q(),o=Mi();if(Et(n,o,e)){let r=je(),s=ms();El(r,s,n,t,e,n[Ae],i,!1)}return f}function Tc(t,e,i,n,o){let r=e.inputs,s=o?"class":"style";Sl(t,i,r[s],s,n)}function Me(t,e,i){return hf(t,e,i,!1),Me}function ee(t,e){return hf(t,e,null,!0),ee}function So(t){gC(wC,hC,t,!0)}function hC(t,e){for(let i=mC(e);i>=0;i=pf(e,i))el(t,dC(e),!0)}function hf(t,e,i,n){let o=q(),r=je(),s=ml(2);if(r.firstUpdatePass&&bf(r,t,s,n),e!==St&&Et(o,s,e)){let a=r.data[on()];_f(r,a,o,o[Ae],t,o[s+1]=DC(e,i),n,s)}}function gC(t,e,i,n){let o=je(),r=ml(2);o.firstUpdatePass&&bf(o,null,r,n);let s=q();if(i!==St&&Et(s,r,i)){let a=o.data[on()];if(vf(a,n)&&!gf(o,r)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(i=Ka(c,i||"")),Tc(o,a,s,i,n)}else xC(o,a,s,s[Ae],s[r+1],s[r+1]=CC(t,e,i),n,r)}}function gf(t,e){return e>=t.expandoStartIndex}function bf(t,e,i,n){let o=t.data;if(o[i+1]===null){let r=o[on()],s=gf(t,i);vf(r,n)&&e===null&&!s&&(e=!1),e=bC(o,r,e,n),cC(o,r,e,i,s,n)}}function bC(t,e,i,n){let o=fv(t),r=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(i=Ga(null,t,e,i,n),i=vo(i,e.attrs,n),r=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(i=Ga(o,t,e,i,n),r===null){let c=_C(t,e,n);c!==void 0&&Array.isArray(c)&&(c=Ga(null,t,e,c[1],n),c=vo(c,e.attrs,n),vC(t,e,n,c))}else r=yC(t,e,n)}return r!==void 0&&(n?e.residualClasses=r:e.residualStyles=r),i}function _C(t,e,i){let n=i?e.classBindings:e.styleBindings;if(Di(n)!==0)return t[Hn(n)]}function vC(t,e,i,n){let o=i?e.classBindings:e.styleBindings;t[Hn(o)]=n}function yC(t,e,i){let n,o=e.directiveEnd;for(let r=1+e.directiveStylingLast;r<o;r++){let s=t[r].hostAttrs;n=vo(n,s,i)}return vo(n,e.attrs,i)}function Ga(t,e,i,n,o){let r=null,s=i.directiveEnd,a=i.directiveStylingLast;for(a===-1?a=i.directiveStart:a++;a<s&&(r=e[a],n=vo(n,r.hostAttrs,o),r!==t);)a++;return t!==null&&(i.directiveStylingLast=a),n}function vo(t,e,i){let n=i?1:2,o=-1;if(e!==null)for(let r=0;r<e.length;r++){let s=e[r];typeof s=="number"?o=s:o===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),el(t,s,i?!0:e[++r]))}return t===void 0?null:t}function CC(t,e,i){if(i==null||i==="")return pt;let n=[],o=Eo(i);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(n,o[r],!0);else if(typeof o=="object")for(let r in o)o.hasOwnProperty(r)&&t(n,r,o[r]);else typeof o=="string"&&e(n,o);return n}function wC(t,e,i){let n=String(e);n!==""&&!n.includes(" ")&&el(t,n,i)}function xC(t,e,i,n,o,r,s,a){o===St&&(o=pt);let c=0,l=0,u=0<o.length?o[0]:null,p=0<r.length?r[0]:null;for(;u!==null||p!==null;){let b=c<o.length?o[c+1]:void 0,v=l<r.length?r[l+1]:void 0,I=null,A;u===p?(c+=2,l+=2,b!==v&&(I=p,A=v)):p===null||u!==null&&u<p?(c+=2,I=u):(l+=2,I=p,A=v),I!==null&&_f(t,e,i,n,I,A,s,a),u=c<o.length?o[c]:null,p=l<r.length?r[l]:null}}function _f(t,e,i,n,o,r,s,a){if(!(e.type&3))return;let c=t.data,l=c[a+1],u=aC(l)?em(c,e,i,o,Di(l),s):void 0;if(!is(u)){is(r)||rC(l)&&(r=em(c,null,i,o,a,s));let p=zm(on(),i);y0(n,s,p,o,r)}}function em(t,e,i,n,o,r){let s=e===null,a;for(;o>0;){let c=t[o],l=Array.isArray(c),u=l?c[1]:c,p=u===null,b=i[o+1];b===St&&(b=p?pt:void 0);let v=p?Na(b,n):u===n?b:void 0;if(l&&!is(v)&&(v=Na(c,n)),is(v)&&(a=v,s))return a;let I=t[o+1];o=s?Hn(I):Di(I)}if(e!==null){let c=r?e.residualClasses:e.residualStyles;c!=null&&(a=Na(c,n))}return a}function is(t){return t!==void 0}function DC(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=gt(Eo(t)))),t}function vf(t,e){return(t.flags&(e?8:16))!==0}var Ac=class{destroy(e){}updateValue(e,i){}swap(e,i){let n=Math.min(e,i),o=Math.max(e,i),r=this.detach(o);if(o-n>1){let s=this.detach(n);this.attach(n,r),this.attach(o,s)}else this.attach(n,r)}move(e,i){this.attach(i,this.detach(e))}};function qa(t,e,i,n,o){return t===i&&Object.is(e,n)?1:Object.is(o(t,e),o(i,n))?-1:0}function IC(t,e,i){let n,o,r=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;r<=s&&r<=a;){let c=t.at(r),l=e[r],u=qa(r,c,r,l,i);if(u!==0){u<0&&t.updateValue(r,l),r++;continue}let p=t.at(s),b=e[a],v=qa(s,p,a,b,i);if(v!==0){v<0&&t.updateValue(s,b),s--,a--;continue}let I=i(r,c),A=i(s,p),W=i(r,l);if(Object.is(W,A)){let R=i(a,b);Object.is(R,I)?(t.swap(r,s),t.updateValue(s,b),a--,s--):t.move(s,r),t.updateValue(r,l),r++;continue}if(n??=new os,o??=nm(t,r,s,i),Pc(t,n,r,W))t.updateValue(r,l),r++,s++;else if(o.has(W))n.set(I,t.detach(r)),s--;else{let R=t.create(r,e[r]);t.attach(r,R),r++,s++}}for(;r<=a;)tm(t,n,i,r,e[r]),r++}else if(e!=null){let a=e[Symbol.iterator](),c=a.next();for(;!c.done&&r<=s;){let l=t.at(r),u=c.value,p=qa(r,l,r,u,i);if(p!==0)p<0&&t.updateValue(r,u),r++,c=a.next();else{n??=new os,o??=nm(t,r,s,i);let b=i(r,u);if(Pc(t,n,r,b))t.updateValue(r,u),r++,s++,c=a.next();else if(!o.has(b))t.attach(r,t.create(r,u)),r++,s++,c=a.next();else{let v=i(r,l);n.set(v,t.detach(r)),s--}}}for(;!c.done;)tm(t,n,i,t.length,c.value),c=a.next()}for(;r<=s;)t.destroy(t.detach(s--));n?.forEach(a=>{t.destroy(a)})}function Pc(t,e,i,n){return e!==void 0&&e.has(n)?(t.attach(i,e.get(n)),e.delete(n),!0):!1}function tm(t,e,i,n,o){if(Pc(t,e,n,i(n,o)))t.updateValue(n,o);else{let r=t.create(n,o);t.attach(n,r)}}function nm(t,e,i,n){let o=new Set;for(let r=e;r<=i;r++)o.add(n(r,t.at(r)));return o}var os=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let i=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(i)?(this.kvMap.set(e,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,i){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,i)}else this.kvMap.set(e,i)}forEach(e){for(let[i,n]of this.kvMap)if(e(n,i),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),e(n,i)}}};function Q(t,e,i){Is("NgControlFlow");let n=q(),o=Mi(),r=Rc(n,et+t),s=0;if(Et(n,o,e)){let a=le(null);try{if(Zp(r,s),e!==-1){let c=Lc(n[G],et+e),l=go(r,c.tView.ssrId),u=ws(n,c,i,{dehydratedView:l});xs(r,u,s,ho(c,l))}}finally{le(a)}}else{let a=qp(r,s);a!==void 0&&(a[Xe]=i)}}var Fc=class{constructor(e,i,n){this.lContainer=e,this.$implicit=i,this.$index=n}get $count(){return this.lContainer.length-Je}};function Oo(t,e){return e}var Nc=class{constructor(e,i,n){this.hasEmptyBlock=e,this.trackByFn=i,this.liveCollection=n}};function bn(t,e,i,n,o,r,s,a,c,l,u,p,b){Is("NgControlFlow");let v=c!==void 0,I=q(),A=a?s.bind(I[Mt][Xe]):s,W=new Nc(v,A);I[et+t]=W,x(t+1,e,i,n,o,r),v&&x(t+2,c,l,u,p,b)}var jc=class extends Ac{constructor(e,i,n){super(),this.lContainer=e,this.hostLView=i,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Je}at(e){return this.getLView(e)[Xe].$implicit}attach(e,i){let n=i[vi];this.needsIndexUpdate||=e!==this.length,xs(this.lContainer,i,e,ho(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,MC(this.lContainer,e)}create(e,i){let n=go(this.lContainer,this.templateTNode.tView.ssrId);return ws(this.hostLView,this.templateTNode,new Fc(this.lContainer,i,e),{dehydratedView:n})}destroy(e){bs(e[G],e)}updateValue(e,i){this.getLView(e)[Xe].$implicit=i}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[Xe].$index=e}getLView(e){return EC(this.lContainer,e)}};function _n(t){let e=le(null),i=on();try{let n=q(),o=n[G],r=n[i];if(r.liveCollection===void 0){let a=i+1,c=Rc(n,a),l=Lc(o,a);r.liveCollection=new jc(c,n,l)}else r.liveCollection.reset();let s=r.liveCollection;if(IC(s,t,r.trackByFn),s.updateIndexes(),r.hasEmptyBlock){let a=Mi(),c=s.length===0;if(Et(n,a,c)){let l=i+2,u=Rc(n,l);if(c){let p=Lc(o,l),b=go(u,p.tView.ssrId),v=ws(n,p,void 0,{dehydratedView:b});xs(u,v,0,ho(p,b))}else Zp(u,0)}}}finally{le(e)}}function Rc(t,e){return t[e]}function MC(t,e){return fo(t,e)}function EC(t,e){return qp(t,e)}function Lc(t,e){return al(t,e)}function kC(t,e,i,n,o,r){let s=e.consts,a=wi(s,o),c=Oi(e,t,2,n,a);return kl(e,i,c,wi(s,r)),c.attrs!==null&&Jr(c,c.attrs,!1),c.mergedAttrs!==null&&Jr(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function m(t,e,i,n){let o=q(),r=je(),s=et+t,a=o[Ae],c=r.firstCreatePass?kC(s,r,o,e,i,n):r.data[s],l=SC(r,o,c,a,e,t);o[s]=l;let u=ds(c);return Un(c,!0),Ap(a,l,c),!eC(c)&&ps()&&_s(r,o,l,c),nv()===0&&pn(l,o),iv(),u&&(Dl(r,o,c),xl(r,c,o)),n!==null&&Il(o,c),m}function h(){let t=tt();ul()?dl():(t=t.parent,Un(t,!1));let e=t;rv(e)&&sv(),ov();let i=je();return i.firstCreatePass&&(hs(i,t),sl(t)&&i.queries.elementEnd(t)),e.classesWithoutHost!=null&&Cv(e)&&Tc(i,e,q(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&wv(e)&&Tc(i,e,q(),e.stylesWithoutHost,!1),h}function O(t,e,i,n){return m(t,e,i,n),h(),O}var SC=(t,e,i,n,o,r)=>(fs(!0),xp(n,o,bv()));function OC(t,e,i,n,o){let r=e.consts,s=wi(r,n),a=Oi(e,t,8,"ng-container",s);s!==null&&Jr(a,s,!0);let c=wi(r,o);return kl(e,i,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function _t(t,e,i){let n=q(),o=je(),r=t+et,s=o.firstCreatePass?OC(r,o,n,e,i):o.data[r];Un(s,!0);let a=TC(o,n,s,t);return n[r]=a,ps()&&_s(o,n,a,s),pn(a,n),ds(s)&&(Dl(o,n,s),xl(o,s,n)),i!=null&&Il(n,s),_t}function vt(){let t=tt(),e=je();return ul()?dl():(t=t.parent,Un(t,!1)),e.firstCreatePass&&(hs(e,t),sl(t)&&e.queries.elementEnd(t)),vt}function at(t,e,i){return _t(t,e,i),vt(),at}var TC=(t,e,i,n)=>(fs(!0),o0(e[Ae],""));function N(){return q()}var rs="en-US";var AC=rs;function PC(t){typeof t=="string"&&(AC=t.toLowerCase().replace(/_/g,"-"))}function y(t,e,i,n){let o=q(),r=je(),s=tt();return yf(r,o,o[Ae],s,t,e,n),y}function FC(t,e,i,n){let o=t.cleanup;if(o!=null)for(let r=0;r<o.length-1;r+=2){let s=o[r];if(s===i&&o[r+1]===n){let a=e[co],c=o[r+2];return a.length>c?a[c]:null}typeof s=="string"&&(r+=2)}return null}function yf(t,e,i,n,o,r,s){let a=ds(n),l=t.firstCreatePass&&Up(t),u=e[Xe],p=$p(e),b=!0;if(n.type&3||s){let A=kt(n,e),W=s?s(A):A,R=p.length,Ce=s?Ke=>s(Ut(Ke[n.index])):n.index,Oe=null;if(!s&&a&&(Oe=FC(t,e,o,n.index)),Oe!==null){let Ke=Oe.__ngLastListenerFn__||Oe;Ke.__ngNextListenerFn__=r,Oe.__ngLastListenerFn__=r,b=!1}else{r=om(n,e,u,r,!1);let Ke=i.listen(W,o,r);p.push(r,Ke),l&&l.push(o,Ce,R,R+1)}}else r=om(n,e,u,r,!1);let v=n.outputs,I;if(b&&v!==null&&(I=v[o])){let A=I.length;if(A)for(let W=0;W<A;W+=2){let R=I[W],Ce=I[W+1],nt=e[R][Ce].subscribe(r),ie=p.length;p.push(r,nt),l&&l.push(o,n.index,ie,-(ie+1))}}}function im(t,e,i,n){let o=le(null);try{return zt(6,e,i),i(n)!==!1}catch(r){return Wp(t,r),!1}finally{zt(7,e,i),le(o)}}function om(t,e,i,n,o){return function r(s){if(s===Function)return n;let a=t.componentOffset>-1?fn(t.index,e):e;Tl(a);let c=im(e,i,n,s),l=r.__ngNextListenerFn__;for(;l;)c=im(e,i,l,s)&&c,l=l.__ngNextListenerFn__;return o&&c===!1&&s.preventDefault(),c}}function g(t=1){return gv(t)}function NC(t,e){let i=null,n=C_(t);for(let o=0;o<e.length;o++){let r=e[o];if(r==="*"){i=o;continue}if(n===null?Dm(t,r,!0):D_(n,r))return o}return i}function Ye(t){let e=q()[Mt][bt];if(!e.projection){let i=t?t.length:1,n=e.projection=m_(i,null),o=n.slice(),r=e.child;for(;r!==null;){let s=t?NC(r,t):0;s!==null&&(o[s]?o[s].projectionNext=r:n[s]=r,o[s]=r),r=r.next}}}function Re(t,e=0,i){let n=q(),o=je(),r=Oi(o,et+t,16,null,i||null);r.projection===null&&(r.projection=e),dl(),(!n[vi]||Gm())&&(r.flags&32)!==32&&_0(o,n,r)}function _e(t,e,i){return Cf(t,"",e,"",i),_e}function Cf(t,e,i,n,o){let r=q(),s=mf(r,e,i,n);if(s!==St){let a=je(),c=ms();El(a,c,r,t,s,r[Ae],o,!1)}return Cf}function ct(t,e,i,n){By(t,e,i,n)}function lt(t,e,i){Vy(t,e,i)}function xe(t){let e=q(),i=je(),n=Zm();pl(n+1);let o=Pl(i,n);if(t.dirty&&K_(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let r=$y(e,n);t.reset(r,jv),t.notifyOnChanges()}return!0}return!1}function De(){return Ly(q(),Zm())}function jC(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}function qe(t){let e=cv();return Hm(e,et+t)}function S(t,e=""){let i=q(),n=je(),o=t+et,r=n.firstCreatePass?Oi(n,o,1,e,null):n.data[o],s=RC(n,i,r,e,t);i[o]=s,ps()&&_s(n,i,s,r),Un(r,!1)}var RC=(t,e,i,n,o)=>(fs(!0),n0(e[Ae],n));function te(t){return oe("",t,""),te}function oe(t,e,i){let n=q(),o=mf(n,t,e,i);return o!==St&&Gp(n,on(),o),oe}function To(t,e,i,n,o){let r=q(),s=oC(r,t,e,i,n,o);return s!==St&&Gp(r,on(),s),To}function Ao(t,e,i){lf(e)&&(e=e());let n=q(),o=Mi();if(Et(n,o,e)){let r=je(),s=ms();El(r,s,n,t,e,n[Ae],i,!1)}return Ao}function Es(t,e){let i=lf(t);return i&&t.set(e),i}function Po(t,e){let i=q(),n=je(),o=tt();return yf(n,i,i[Ae],o,t,e),Po}function LC(t,e,i){let n=je();if(n.firstCreatePass){let o=mn(t);Vc(i,n.data,n.blueprint,o,!0),Vc(e,n.data,n.blueprint,o,!1)}}function Vc(t,e,i,n,o){if(t=st(t),Array.isArray(t))for(let r=0;r<t.length;r++)Vc(t[r],e,i,n,o);else{let r=je(),s=q(),a=tt(),c=_i(t)?t:st(t.provide),l=Pm(t),u=a.providerIndexes&1048575,p=a.directiveStart,b=a.providerIndexes>>20;if(_i(t)||!t.multi){let v=new Vn(l,o,C),I=Ya(c,e,o?u:u+b,p);I===-1?(cc(qr(a,s),r,c),Za(r,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),i.push(v),s.push(v)):(i[I]=v,s[I]=v)}else{let v=Ya(c,e,u+b,p),I=Ya(c,e,u,u+b),A=v>=0&&i[v],W=I>=0&&i[I];if(o&&!W||!o&&!A){cc(qr(a,s),r,c);let R=zC(o?BC:VC,i.length,o,n,l);!o&&W&&(i[I].providerFactory=R),Za(r,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),i.push(R),s.push(R)}else{let R=wf(i[o?I:v],l,!o&&n);Za(r,t,v>-1?v:I,R)}!o&&n&&W&&i[I].componentProviders++}}}function Za(t,e,i,n){let o=_i(e),r=N_(e);if(o||r){let c=(r?st(e.useClass):e).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let u=l.indexOf(i);u===-1?l.push(i,[n,c]):l[u+1].push(n,c)}else l.push(i,c)}}}function wf(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function Ya(t,e,i,n){for(let o=i;o<n;o++)if(e[o]===t)return o;return-1}function VC(t,e,i,n){return Bc(this.multi,[])}function BC(t,e,i,n){let o=this.multi,r;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Bn(i,i[G],this.providerFactory.index,n);r=a.slice(0,s),Bc(o,r);for(let c=s;c<a.length;c++)r.push(a[c])}else r=[],Bc(o,r);return r}function Bc(t,e){for(let i=0;i<t.length;i++){let n=t[i];e.push(n())}return e}function zC(t,e,i,n,o){let r=new Vn(t,i,C);return r.multi=[],r.index=e,r.componentProviders=0,wf(r,o,n&&!i),r}function K(t,e=[]){return i=>{i.providersResolver=(n,o)=>LC(n,o?o(t):t,e)}}var HC=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=Om(!1,n.type),r=o.length>0?Qy([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=U({token:e,providedIn:"environment",factory:()=>new e(F(dn))});let t=e;return t})();function T(t){Is("NgStandalone"),t.getStandaloneInjector=e=>e.get(HC).getOrCreateStandaloneInjector(t)}function Le(t,e,i,n){return Df(q(),Do(),t,e,i,n)}function Zt(t,e,i,n,o){return $C(q(),Do(),t,e,i,n,o)}function Yt(t,e,i,n,o,r){return UC(q(),Do(),t,e,i,n,o,r)}function xf(t,e,i,n,o,r,s){return WC(q(),Do(),t,e,i,n,o,r,s)}function ks(t,e){let i=t[e];return i===St?void 0:i}function Df(t,e,i,n,o,r){let s=e+i;return Et(t,s,o)?Ms(t,s+1,r?n.call(r,o):n(o)):ks(t,s+1)}function $C(t,e,i,n,o,r,s){let a=e+i;return _o(t,a,o,r)?Ms(t,a+2,s?n.call(s,o,r):n(o,r)):ks(t,a+2)}function UC(t,e,i,n,o,r,s,a){let c=e+i;return Xy(t,c,o,r,s)?Ms(t,c+3,a?n.call(a,o,r,s):n(o,r,s)):ks(t,c+3)}function WC(t,e,i,n,o,r,s,a,c){let l=e+i;return Jy(t,l,o,r,s,a)?Ms(t,l+4,c?n.call(c,o,r,s,a):n(o,r,s,a)):ks(t,l+4)}function re(t,e){let i=je(),n,o=t+et;i.firstCreatePass?(n=GC(e,i.pipeRegistry),i.data[o]=n,n.onDestroy&&(i.destroyHooks??=[]).push(o,n.onDestroy)):n=i.data[o];let r=n.factory||(n.factory=Nn(n.type,!0)),s,a=It(C);try{let c=Gr(!1),l=r();return Gr(c),jC(i,q(),o,l),l}finally{It(a)}}function GC(t,e){if(e)for(let i=e.length-1;i>=0;i--){let n=e[i];if(t===n.name)return n}}function se(t,e,i){let n=t+et,o=q(),r=Hm(o,n);return qC(o,n)?Df(o,Do(),e,r.transform,i,r):r.transform(i)}function qC(t,e){return t[G].data[e].pure}function yt(t,e){return Ds(t,e)}var If=new V("");function Fo(t){return!!t&&typeof t.then=="function"}function Mf(t){return!!t&&typeof t.subscribe=="function"}var ZC=new V(""),Ef=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=he(ZC,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let s=r();if(Fo(s))n.push(s);else if(Mf(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(r=>{this.reject(r)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),YC=new V("");function QC(){Zu(()=>{throw new me(600,!1)})}function KC(t){return t.isBoundToModule}function XC(t,e,i){try{let n=i();return Fo(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var No=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=he(mp),this.afterRenderEffectManager=he(tf),this.externalTestViews=new Set,this.beforeRender=new we,this.afterTick=new we,this.componentTypes=[],this.components=[],this.isStable=he(uf).hasPendingTasks.pipe(Ne(n=>!n)),this._injector=he(dn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let r=n instanceof Xr;if(!this._injector.get(Ef).done){let v=!r&&O_(n),I=!1;throw new me(405,I)}let a;r?a=n:a=this._injector.get(Ti).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=KC(a)?void 0:this._injector.get(xi),l=o||a.selector,u=a.create(ki.NULL,[],l,c),p=u.location.nativeElement,b=u.injector.get(If,null);return b?.registerApplication(p),u.onDestroy(()=>{this.detachView(u.hostView),Qa(this.components,u),b?.unregisterApplication(p)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new me(101,!1);let o=le(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,le(o)}}detectChangesInAttachedViews(n){let o=0,r=this.afterRenderEffectManager;for(;;){if(o===Qp)throw new me(103,!1);if(n){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:c}of this._views)JC(a,s,c)}if(o++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>zc(s))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>zc(s))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;Qa(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(YC,[]);[...this._bootstrapListeners,...o].forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Qa(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new me(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Qa(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function JC(t,e,i){!e&&!zc(t)||ew(t,i,e)}function zc(t){return ll(t)}function ew(t,e,i){let n;i?(n=0,t[$]|=1024):t[$]&64?n=0:n=1,Kp(t,e,n)}var tw=(()=>{let e=class e{constructor(){this.zone=he(ve),this.applicationRef=he(No)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function nw(t){return[{provide:ve,useFactory:t},{provide:so,multi:!0,useFactory:()=>{let e=he(tw,{optional:!0});return()=>e.initialize()}},{provide:so,multi:!0,useFactory:()=>{let e=he(sw);return()=>{e.initialize()}}},{provide:mp,useFactory:iw}]}function iw(){let t=he(ve),e=he(Wt);return i=>t.runOutsideAngular(()=>e.handleError(i))}function ow(t){let e=nw(()=>new ve(rw(t)));return Sm([[],e])}function rw(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var sw=(()=>{let e=class e{constructor(){this.subscription=new Fe,this.initialized=!1,this.zone=he(ve),this.pendingTasks=he(uf)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ve.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ve.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function aw(){return typeof $localize<"u"&&$localize.locale||rs}var Ss=new V("",{providedIn:"root",factory:()=>he(Ss,de.Optional|de.SkipSelf)||aw()});var kf=new V("");var Rr=null;function cw(t=[],e){return ki.create({name:e,providers:[{provide:cs,useValue:"platform"},{provide:kf,useValue:new Set([()=>Rr=null])},...t]})}function lw(t=[]){if(Rr)return Rr;let e=cw(t);return Rr=e,QC(),uw(e),e}function uw(t){t.get(bl,null)?.forEach(i=>i())}var Ct=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=dw;let t=e;return t})();function dw(t){return mw(tt(),q(),(t&16)===16)}function mw(t,e,i){if(us(t)&&!i){let n=fn(t.index,e);return new zn(n,n)}else if(t.type&47){let n=e[Mt];return new zn(n,e)}return null}var Hc=class{constructor(){}supports(e){return df(e)}create(e){return new $c(e)}},pw=(t,e)=>e,$c=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||pw}forEachItem(e){let i;for(i=this._itHead;i!==null;i=i._next)e(i)}forEachOperation(e){let i=this._itHead,n=this._removalsHead,o=0,r=null;for(;i||n;){let s=!n||i&&i.currentIndex<rm(n,o,r)?i:n,a=rm(s,o,r),c=s.currentIndex;if(s===n)o--,n=n._nextRemoved;else if(i=i._next,s.previousIndex==null)o++;else{r||(r=[]);let l=a-o,u=c-o;if(l!=u){for(let b=0;b<l;b++){let v=b<r.length?r[b]:r[b]=0,I=v+b;u<=I&&I<l&&(r[b]=v+1)}let p=s.previousIndex;r[p]=u-l}}a!==c&&e(s,a,c)}}forEachPreviousItem(e){let i;for(i=this._previousItHead;i!==null;i=i._nextPrevious)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachMovedItem(e){let i;for(i=this._movesHead;i!==null;i=i._nextMoved)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}forEachIdentityChange(e){let i;for(i=this._identityChangesHead;i!==null;i=i._nextIdentityChange)e(i)}diff(e){if(e==null&&(e=[]),!df(e))throw new me(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._itHead,n=!1,o,r,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)r=e[a],s=this._trackByFn(a,r),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,r,s,a),n=!0):(n&&(i=this._verifyReinsertion(i,r,s,a)),Object.is(i.item,r)||this._addIdentityChange(i,r)),i=i._next}else o=0,Ky(e,a=>{s=this._trackByFn(o,a),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,a,s,o),n=!0):(n&&(i=this._verifyReinsertion(i,a,s,o)),Object.is(i.item,a)||this._addIdentityChange(i,a)),i=i._next,o++}),this.length=o;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,i,n,o){let r;return e===null?r=this._itTail:(r=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._reinsertAfter(e,r,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._moveAfter(e,r,o)):e=this._addAfter(new Uc(i,n),r,o)),e}_verifyReinsertion(e,i,n,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return r!==null?e=this._reinsertAfter(r,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let i=e._next;this._addToRemovals(this._unlink(e)),e=i}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(e,i,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,r=e._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(e,i,n),this._addToMoves(e,n),e}_moveAfter(e,i,n){return this._unlink(e),this._insertAfter(e,i,n),this._addToMoves(e,n),e}_addAfter(e,i,n){return this._insertAfter(e,i,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,i,n){let o=i===null?this._itHead:i._next;return e._next=o,e._prev=i,o===null?this._itTail=e:o._prev=e,i===null?this._itHead=e:i._next=e,this._linkedRecords===null&&(this._linkedRecords=new ss),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let i=e._prev,n=e._next;return i===null?this._itHead=n:i._next=n,n===null?this._itTail=i:n._prev=i,e}_addToMoves(e,i){return e.previousIndex===i||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ss),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,i){return e.item=i,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Uc=class{constructor(e,i){this.item=e,this.trackById=i,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}},Wc=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,i){let n;for(n=this._head;n!==null;n=n._nextDup)if((i===null||i<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let i=e._prevDup,n=e._nextDup;return i===null?this._head=n:i._nextDup=n,n===null?this._tail=i:n._prevDup=i,this._head===null}},ss=class{constructor(){this.map=new Map}put(e){let i=e.trackById,n=this.map.get(i);n||(n=new Wc,this.map.set(i,n)),n.add(e)}get(e,i){let n=e,o=this.map.get(n);return o?o.get(e,i):null}remove(e){let i=e.trackById;return this.map.get(i).remove(e)&&this.map.delete(i),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function rm(t,e,i){let n=t.previousIndex;if(n===null)return n;let o=0;return i&&n<i.length&&(o=i[n]),n+e+o}var Gc=class{constructor(){}supports(e){return e instanceof Map||Fl(e)}create(){return new qc}},qc=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(e){let i;for(i=this._mapHead;i!==null;i=i._next)e(i)}forEachPreviousItem(e){let i;for(i=this._previousMapHead;i!==null;i=i._nextPrevious)e(i)}forEachChangedItem(e){let i;for(i=this._changesHead;i!==null;i=i._nextChanged)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Fl(e)))throw new me(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,o)=>{if(i&&i.key===o)this._maybeAddToChanges(i,n),this._appendAfter=i,i=i._next;else{let r=this._getOrCreateRecordForKey(o,n);i=this._insertBeforeOrAppend(i,r)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let n=i;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,i){if(e){let n=e._prev;return i._next=e,i._prev=n,e._prev=i,n&&(n._next=i),e===this._mapHead&&(this._mapHead=i),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(e,i){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,i);let r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}let n=new Zc(e);return this._records.set(e,n),n.currentValue=i,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,i){Object.is(i,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=i,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,i){e instanceof Map?e.forEach(i):Object.keys(e).forEach(n=>i(e[n],n))}},Zc=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function sm(){return new Ai([new Hc])}var Ai=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let r=o.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||sm()),deps:[[e,new bm,new Xc]]}}find(n){let o=this.factories.find(r=>r.supports(n));if(o!=null)return o;throw new me(901,!1)}};e.\u0275prov=U({token:e,providedIn:"root",factory:sm});let t=e;return t})();function am(){return new Nl([new Gc])}var Nl=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o){let r=o.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||am()),deps:[[e,new bm,new Xc]]}}find(n){let o=this.factories.find(r=>r.supports(n));if(o)return o;throw new me(901,!1)}};e.\u0275prov=U({token:e,providedIn:"root",factory:am});let t=e;return t})();function Sf(t){try{let{rootComponent:e,appProviders:i,platformProviders:n}=t,o=lw(n),r=[ow(),...i||[]],a=new ns({providers:r,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(ve);return c.run(()=>{a.resolveInjectorInitializers();let l=a.get(Wt,null),u;c.runOutsideAngular(()=>{u=c.onError.subscribe({next:v=>{l.handleError(v)}})});let p=()=>a.destroy(),b=o.get(kf);return b.add(p),a.onDestroy(()=>{u.unsubscribe(),b.delete(p)}),XC(l,c,()=>{let v=a.get(Ef);return v.runInitializers(),v.donePromise.then(()=>{let I=a.get(Ss,rs);PC(I||rs);let A=a.get(No);return e!==void 0&&A.bootstrap(e),A})})})}catch(e){return Promise.reject(e)}}function w(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function vn(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}var Os={schedule(t,e){let i=setTimeout(t,e);return()=>clearTimeout(i)},scheduleBeforeRender(t){if(typeof window>"u")return Os.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return Os.schedule(t,16);let e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};function fw(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function hw(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function gw(t){return typeof t=="function"}var jl;function bw(t,e){if(!jl){let i=Element.prototype;jl=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?jl.call(t,e):!1}function _w(t,e){return t===e||t!==t&&e!==e}function vw(t){let e={};return t.forEach(({propName:i,templateName:n,transform:o})=>{e[fw(n)]=[i,o]}),e}function yw(t,e){return e.get(Ti).resolveComponentFactory(t).inputs}function Cw(t,e){let i=t.childNodes,n=e.map(()=>[]),o=-1;e.some((r,s)=>r==="*"?(o=s,!0):!1);for(let r=0,s=i.length;r<s;++r){let a=i[r],c=ww(a,e,o);c!==-1&&n[c].push(a)}return n}function ww(t,e,i){let n=i;return hw(t)&&e.some((o,r)=>o!=="*"&&bw(t,o)?(n=r,!0):!1),n}var xw=10,Rl=class{constructor(e,i){this.componentFactory=i.get(Ti).resolveComponentFactory(e)}create(e){return new Ll(this.componentFactory,e)}},Ll=class{constructor(e,i){this.componentFactory=e,this.injector=i,this.eventEmitters=new On(1),this.events=this.eventEmitters.pipe(ci(n=>Jt(...n))),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:n})=>n)),this.ngZone=this.injector.get(ve),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Os.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},xw))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,i,n){this.runInZone(()=>{if(n&&(i=n.call(this.componentRef?.instance,i)),this.componentRef===null){this.initialInputValues.set(e,i);return}_w(i,this.getInputValue(e))&&!(i===void 0&&this.unchangedInputs.has(e))||(this.recordInputChange(e,i),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=i,this.scheduleDetectChanges())})}initializeComponent(e){let i=ki.create({providers:[],parent:this.injector}),n=Cw(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(i,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(Ct),this.implementsOnChanges=gw(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(No).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e,transform:i})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e),i)}),this.initialInputValues.clear()}initializeOutputs(e){let i=this.componentFactory.outputs.map(({propName:n,templateName:o})=>e.instance[n].pipe(Ne(s=>({name:o,value:s}))));this.eventEmitters.next(i)}callNgOnChanges(e){if(!this.implementsOnChanges||this.inputChanges===null)return;let i=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(i)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Os.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,i){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let n=this.inputChanges[e];if(n){n.currentValue=i;return}let o=this.unchangedInputs.has(e),r=o?void 0:this.getInputValue(e);this.inputChanges[e]=new uo(r,i,o)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},Vl=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}};function He(t,e){let i=yw(t,e.injector),n=e.strategyFactory||new Rl(t,e.injector),o=vw(i),s=class s extends Vl{get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=n.create(this.injector||e.injector);i.forEach(({propName:l,transform:u})=>{if(!this.hasOwnProperty(l))return;let p=this[l];delete this[l],c.setInputValue(l,p,u)})}return this._ngElementStrategy}constructor(c){super(),this.injector=c}attributeChangedCallback(c,l,u,p){let[b,v]=o[c];this.ngElementStrategy.setInputValue(b,u,v)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let l=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(l)})}};s.observedAttributes=Object.keys(o);let r=s;return i.forEach(({propName:a,transform:c})=>{Object.defineProperty(r.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(l){this.ngElementStrategy.setInputValue(a,l,c)},configurable:!0,enumerable:!0})}),r}var Pf=null;function Pi(){return Pf}function Ff(t){Pf??=t}var As=class{};var We=new V("");function Nf(t,e){e=encodeURIComponent(e);for(let i of t.split(";")){let n=i.indexOf("="),[o,r]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(o.trim()===e)return decodeURIComponent(r)}return null}var Bl=/\s+/,Of=[],X=(()=>{let e=class e{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=Of,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Bl):Of}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Bl):n}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let o of n)this._updateState(o,!0);else if(n!=null)for(let o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==o&&(r.changed=!0,r.enabled=o),r.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let o=n[0],r=n[1];r.changed?(this._toggleClass(o,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),r.touched=!1}}_toggleClass(n,o){n=n.trim(),n.length>0&&n.split(Bl).forEach(r=>{o?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};e.\u0275fac=function(o){return new(o||e)(C(J),C(rn))},e.\u0275dir=H({type:e,selectors:[["","ngClass",""]],inputs:{klass:[_.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var zl=class{constructor(e,i,n,o){this.$implicit=e,this.ngForOf=i,this.index=n,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}},Te=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,r){this._viewContainer=n,this._template=o,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let o=this._viewContainer;n.forEachOperation((r,s,a)=>{if(r.previousIndex==null)o.createEmbeddedView(this._template,new zl(r.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let c=o.get(s);o.move(c,a),Tf(c,r)}});for(let r=0,s=o.length;r<s;r++){let c=o.get(r).context;c.index=r,c.count=s,c.ngForOf=this._ngForOf}n.forEachIdentityChange(r=>{let s=o.get(r.currentIndex);Tf(s,r)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(C(qt),C(ge),C(Ai))},e.\u0275dir=H({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Tf(t,e){t.context.$implicit=e.item}var ut=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new Hl,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Af("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Af("ngIfElse",n),this._elseTemplateRef=n,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(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(C(qt),C(ge))},e.\u0275dir=H({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Hl=class{constructor(){this.$implicit=null,this.ngIf=null}};function Af(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${gt(e)}'.`)}var jf=(()=>{let e=class e{constructor(n,o,r){this._ngEl=n,this._differs=o,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,o){let[r,s]=n.split("."),a=r.indexOf("-")===-1?void 0:Gt.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(n){n.forEachRemovedItem(o=>this._setStyle(o.key,null)),n.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),n.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};e.\u0275fac=function(o){return new(o||e)(C(J),C(Nl),C(rn))},e.\u0275dir=H({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),Wn=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,o,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,r):!1,get:(n,o,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,r)}})}};e.\u0275fac=function(o){return new(o||e)(C(qt))},e.\u0275dir=H({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Be]});let t=e;return t})();var j=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ke({type:e}),e.\u0275inj=Ee({});let t=e;return t})(),$l="browser",Dw="server";function Rf(t){return t===$l}function Ul(t){return t===Dw}var Ps=class{};var ql=class extends As{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Zl=class t extends ql{static makeCurrent(){Ff(new t)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=Mw();return i==null?null:Ew(i)}resetBaseElement(){jo=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Nf(document.cookie,e)}},jo=null;function Mw(){return jo=jo||document.querySelector("base"),jo?jo.getAttribute("href"):null}function Ew(t){return new URL(t,document.baseURI).pathname}var kw=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac});let t=e;return t})(),Yl=new V(""),zf=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,r){return this._findPluginFor(o).addEventListener(n,o,r)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new me(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(F(Yl),F(ve))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let t=e;return t})(),Fs=class{constructor(e){this._doc=e}},Wl="ng-app-id",Hf=(()=>{let e=class e{constructor(n,o,r,s={}){this.doc=n,this.appId=o,this.nonce=r,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ul(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(r=>r.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Wl}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(r=>{r.textContent!=null&&o.set(r.textContent,r)}),o}return null}changeUsageCount(n,o){let r=this.styleRef;if(r.has(n)){let s=r.get(n);return s.usage+=o,s.usage}return r.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let r=this.styleNodesInDOM,s=r?.get(o);if(s?.parentNode===n)return r.delete(o),s.removeAttribute(Wl),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Wl,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let r=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(r):s.set(o,{elements:[r],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(F(We),F(gs),F(Mo,8),F(hn))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let t=e;return t})(),Gl={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Kl=/%COMP%/g,$f="%COMP%",Sw=`_nghost-${$f}`,Ow=`_ngcontent-${$f}`,Tw=!0,Aw=new V("",{providedIn:"root",factory:()=>Tw});function Pw(t){return Ow.replace(Kl,t)}function Fw(t){return Sw.replace(Kl,t)}function Uf(t,e){return e.map(i=>i.replace(Kl,t))}var Lf=(()=>{let e=class e{constructor(n,o,r,s,a,c,l,u=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Ul(c),this.defaultRenderer=new Ro(n,a,l,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===$t.ShadowDom&&(o=dt(ce({},o),{encapsulation:$t.Emulated}));let r=this.getOrCreateRenderer(n,o);return r instanceof Ns?r.applyToHost(n):r instanceof Lo&&r.applyStyles(),r}getOrCreateRenderer(n,o){let r=this.rendererByCompId,s=r.get(o.id);if(!s){let a=this.doc,c=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,b=this.platformIsServer;switch(o.encapsulation){case $t.Emulated:s=new Ns(l,u,o,this.appId,p,a,c,b);break;case $t.ShadowDom:return new Ql(l,u,n,o,a,c,this.nonce,b);default:s=new Lo(l,u,o,p,a,c,b);break}r.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(F(zf),F(Hf),F(gs),F(Aw),F(We),F(hn),F(ve),F(Mo))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let t=e;return t})(),Ro=class{constructor(e,i,n,o){this.eventManager=e,this.doc=i,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(Gl[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(Vf(e)?e.content:e).appendChild(i)}insertBefore(e,i,n){e&&(Vf(e)?e.content:e).insertBefore(i,n)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new me(-5104,!1);return i||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,n,o){if(o){i=o+":"+i;let r=Gl[o];r?e.setAttributeNS(r,i,n):e.setAttribute(i,n)}else e.setAttribute(i,n)}removeAttribute(e,i,n){if(n){let o=Gl[n];o?e.removeAttributeNS(o,i):e.removeAttribute(`${n}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,n,o){o&(Gt.DashCase|Gt.Important)?e.style.setProperty(i,n,o&Gt.Important?"important":""):e.style[i]=n}removeStyle(e,i,n){n&Gt.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,n){e!=null&&(e[i]=n)}setValue(e,i){e.nodeValue=i}listen(e,i,n){if(typeof e=="string"&&(e=Pi().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(n))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};function Vf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Ql=class extends Ro{constructor(e,i,n,o,r,s,a,c){super(e,r,s,c),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=Uf(o.id,o.styles);for(let u of l){let p=document.createElement("style");a&&p.setAttribute("nonce",a),p.textContent=u,this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,n){return super.insertBefore(this.nodeOrShadowRoot(e),i,n)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Lo=class extends Ro{constructor(e,i,n,o,r,s,a,c){super(e,r,s,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=o,this.styles=c?Uf(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Ns=class extends Lo{constructor(e,i,n,o,r,s,a,c){let l=o+"-"+n.id;super(e,i,n,r,s,a,c,l),this.contentAttr=Pw(l),this.hostAttr=Fw(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let n=super.createElement(e,i);return super.setAttribute(n,this.contentAttr,""),n}},Nw=(()=>{let e=class e extends Fs{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,r){return n.addEventListener(o,r,!1),()=>this.removeEventListener(n,o,r)}removeEventListener(n,o,r){return n.removeEventListener(o,r)}};e.\u0275fac=function(o){return new(o||e)(F(We))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let t=e;return t})(),Bf=["alt","control","meta","shift"],jw={"\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"},Rw={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Lw=(()=>{let e=class e extends Fs{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,r){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Pi().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),r=o.shift();if(o.length===0||!(r==="keydown"||r==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),Bf.forEach(u=>{let p=o.indexOf(u);p>-1&&(o.splice(p,1),a+=u+".")}),a+=s,o.length!=0||s.length===0)return null;let l={};return l.domEventName=r,l.fullKey=a,l}static matchEventFullKeyCode(n,o){let r=jw[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(r=n.code,s="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Bf.forEach(a=>{if(a!==r){let c=Rw[a];c(n)&&(s+=a+".")}}),s+=r,s===o)}static eventCallback(n,o,r){return s=>{e.matchEventFullKeyCode(s,n)&&r.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(F(We))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let t=e;return t})();function Wf(t){return Sf(Vw(t))}function Vw(t){return{appProviders:[...Uw,...t?.providers??[]],platformProviders:$w}}function Bw(){Zl.makeCurrent()}function zw(){return new Wt}function Hw(){return vp(document),document}var $w=[{provide:hn,useValue:$l},{provide:bl,useValue:Bw,multi:!0},{provide:We,useFactory:Hw,deps:[]}];var Uw=[{provide:cs,useValue:"root"},{provide:Wt,useFactory:zw,deps:[]},{provide:Yl,useClass:Nw,multi:!0,deps:[We,ve,hn]},{provide:Yl,useClass:Lw,multi:!0,deps:[We]},Lf,Hf,zf,{provide:bo,useExisting:Lf},{provide:Ps,useClass:kw,deps:[]},[]];var Fi=class{},Gf=(()=>{class t extends Fi{getTranslation(i){return ot({})}static \u0275fac=(()=>{let i;return function(o){return(i||(i=ft(t)))(o||t)}})();static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),Gn=class{},qf=(()=>{class t{handle(i){return i.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();function js(t,e){if(t===e)return!0;if(t===null||e===null)return!1;if(t!==t&&e!==e)return!0;let i=typeof t,n=typeof e,o,r,s;if(i==n&&i=="object")if(Array.isArray(t)){if(!Array.isArray(e))return!1;if((o=t.length)==e.length){for(r=0;r<o;r++)if(!js(t[r],e[r]))return!1;return!0}}else{if(Array.isArray(e))return!1;s=Object.create(null);for(r in t){if(!js(t[r],e[r]))return!1;s[r]=!0}for(r in e)if(!(r in s)&&typeof e[r]<"u")return!1;return!0}return!1}function yn(t){return typeof t<"u"&&t!==null}function Xl(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Qf(t,e){let i=Object.assign({},t);return Xl(t)&&Xl(e)&&Object.keys(e).forEach(n=>{Xl(e[n])?n in t?i[n]=Qf(t[n],e[n]):Object.assign(i,{[n]:e[n]}):Object.assign(i,{[n]:e[n]})}),i}var Ni=class{},Zf=(()=>{class t extends Ni{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(i,n){let o;return typeof i=="string"?o=this.interpolateString(i,n):typeof i=="function"?o=this.interpolateFunction(i,n):o=i,o}getValue(i,n){let o=typeof n=="string"?n.split("."):[n];n="";do n+=o.shift(),yn(i)&&yn(i[n])&&(typeof i[n]=="object"||!o.length)?(i=i[n],n=""):o.length?n+=".":i=void 0;while(o.length);return i}interpolateFunction(i,n){return i(n)}interpolateString(i,n){return n?i.replace(this.templateMatcher,(o,r)=>{let s=this.getValue(n,r);return yn(s)?s:o}):i}static \u0275fac=(()=>{let i;return function(o){return(i||(i=ft(t)))(o||t)}})();static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),ji=class{},Yf=(()=>{class t extends ji{compile(i,n){return i}compileTranslations(i,n){return i}static \u0275fac=(()=>{let i;return function(o){return(i||(i=ft(t)))(o||t)}})();static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),Rs=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new D;onLangChange=new D;onDefaultLangChange=new D},Jl=new V("USE_STORE"),eu=new V("USE_DEFAULT_LANG"),tu=new V("DEFAULT_LANGUAGE"),nu=new V("USE_EXTEND"),P=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new D;_onLangChange=new D;_onDefaultLangChange=new D;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};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(i){this.isolate?this._defaultLang=i:this.store.defaultLang=i}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(i){this.isolate?this._currentLang=i:this.store.currentLang=i}get langs(){return this.isolate?this._langs:this.store.langs}set langs(i){this.isolate?this._langs=i:this.store.langs=i}get translations(){return this.isolate?this._translations:this.store.translations}set translations(i){this.isolate?this._translations=i:this.store.translations=i}constructor(i,n,o,r,s,a=!0,c=!1,l=!1,u){this.store=i,this.currentLoader=n,this.compiler=o,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=c,this.extend=l,u&&this.setDefaultLang(u)}setDefaultLang(i){if(i===this.defaultLang)return;let n=this.retrieveTranslations(i);typeof n<"u"?(this.defaultLang==null&&(this.defaultLang=i),n.pipe(Dt(1)).subscribe(o=>{this.changeDefaultLang(i)})):this.changeDefaultLang(i)}getDefaultLang(){return this.defaultLang}use(i){if(i===this.currentLang)return ot(this.translations[i]);let n=this.retrieveTranslations(i);return typeof n<"u"?(this.currentLang||(this.currentLang=i),n.pipe(Dt(1)).subscribe(o=>{this.changeLang(i)}),n):(this.changeLang(i),ot(this.translations[i]))}retrieveTranslations(i){let n;return(typeof this.translations[i]>"u"||this.extend)&&(this._translationRequests[i]=this._translationRequests[i]||this.getTranslation(i),n=this._translationRequests[i]),n}getTranslation(i){this.pending=!0;let n=this.currentLoader.getTranslation(i).pipe(Er(1),Dt(1));return this.loadingTranslations=n.pipe(Ne(o=>this.compiler.compileTranslations(o,i)),Er(1),Dt(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[i]=this.extend&&this.translations[i]?ce(ce({},o),this.translations[i]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),n}setTranslation(i,n,o=!1){n=this.compiler.compileTranslations(n,i),(o||this.extend)&&this.translations[i]?this.translations[i]=Qf(this.translations[i],n):this.translations[i]=n,this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}getLangs(){return this.langs}addLangs(i){i.forEach(n=>{this.langs.indexOf(n)===-1&&this.langs.push(n)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(i,n,o){let r;if(n instanceof Array){let s={},a=!1;for(let c of n)s[c]=this.getParsedResult(i,c,o),xt(s[c])&&(a=!0);if(a){let c=n.map(l=>xt(s[l])?s[l]:ot(s[l]));return eo(c).pipe(Ne(l=>{let u={};return l.forEach((p,b)=>{u[n[b]]=p}),u}))}return s}if(i&&(r=this.parser.interpolate(this.parser.getValue(i,n),o)),typeof r>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],n),o)),typeof r>"u"){let s={key:n,translateService:this};typeof o<"u"&&(s.interpolateParams=o),r=this.missingTranslationHandler.handle(s)}return typeof r<"u"?r:n}get(i,n){if(!yn(i)||!i.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Aa(o=>(o=this.getParsedResult(o,i,n),xt(o)?o:ot(o))));{let o=this.getParsedResult(this.translations[this.currentLang],i,n);return xt(o)?o:ot(o)}}getStreamOnTranslationChange(i,n){if(!yn(i)||!i.length)throw new Error('Parameter "key" required');return Xt(Mr(()=>this.get(i,n)),this.onTranslationChange.pipe(ci(o=>{let r=this.getParsedResult(o.translations,i,n);return typeof r.subscribe=="function"?r:ot(r)})))}stream(i,n){if(!yn(i)||!i.length)throw new Error('Parameter "key" required');return Xt(Mr(()=>this.get(i,n)),this.onLangChange.pipe(ci(o=>{let r=this.getParsedResult(o.translations,i,n);return xt(r)?r:ot(r)})))}instant(i,n){if(!yn(i)||!i.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],i,n);if(xt(o)){if(i instanceof Array){let r={};return i.forEach((s,a)=>{r[i[a]]=i[a]}),r}return i}else return o}set(i,n,o=this.currentLang){this.translations[o][i]=this.compiler.compile(n,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(i){this.currentLang=i,this.onLangChange.emit({lang:i,translations:this.translations[i]}),this.defaultLang==null&&this.changeDefaultLang(i)}changeDefaultLang(i){this.defaultLang=i,this.onDefaultLangChange.emit({lang:i,translations:this.translations[i]})}reloadLang(i){return this.resetLang(i),this.getTranslation(i)}resetLang(i){this._translationRequests[i]=void 0,this.translations[i]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;if(i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof i>"u"))return i.indexOf("-")!==-1&&(i=i.split("-")[0]),i.indexOf("_")!==-1&&(i=i.split("_")[0]),i}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;return i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,i}static \u0275fac=function(n){return new(n||t)(F(Rs),F(Fi),F(ji),F(Ni),F(Gn),F(eu),F(Jl),F(nu),F(tu))};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})();var Ve=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(i,n){this.translate=i,this._ref=n}updateValue(i,n,o){let r=s=>{this.value=s!==void 0?s:i,this.lastKey=i,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,i,n);xt(s.subscribe)?s.subscribe(r):r(s)}this.translate.get(i,n).subscribe(r)}transform(i,...n){if(!i||!i.length)return i;if(js(i,this.lastKey)&&js(n,this.lastParams))return this.value;let o;if(yn(n[0])&&n.length)if(typeof n[0]=="string"&&n[0].length){let r=n[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(r)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else typeof n[0]=="object"&&!Array.isArray(n[0])&&(o=n[0]);return this.lastKey=i,this.lastParams=n,this.updateValue(i,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{this.lastKey&&r.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(i,o,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,o,r.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,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(n){return new(n||t)(C(P,16),C(Ct,16))};static \u0275pipe=wo({name:"translate",type:t,pure:!1});static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),pe=(()=>{class t{static forRoot(i={}){return{ngModule:t,providers:[i.loader||{provide:Fi,useClass:Gf},i.compiler||{provide:ji,useClass:Yf},i.parser||{provide:Ni,useClass:Zf},i.missingTranslationHandler||{provide:Gn,useClass:qf},Rs,{provide:Jl,useValue:i.isolate},{provide:eu,useValue:i.useDefaultLang},{provide:nu,useValue:i.extend},{provide:tu,useValue:i.defaultLanguage},P]}}static forChild(i={}){return{ngModule:t,providers:[i.loader||{provide:Fi,useClass:Gf},i.compiler||{provide:ji,useClass:Yf},i.parser||{provide:Ni,useClass:Zf},i.missingTranslationHandler||{provide:Gn,useClass:qf},{provide:Jl,useValue:i.isolate},{provide:eu,useValue:i.useDefaultLang},{provide:nu,useValue:i.extend},{provide:tu,useValue:i.defaultLanguage},P]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=ke({type:t});static \u0275inj=Ee({})}return t})();var ae=(()=>{let e=class e{constructor(n){this.translateService=n,this._selectedLanguage="en",this._localizedStrings={}}get selectedLanguage(){return this._selectedLanguage}set selectedLanguage(n){this._selectedLanguage=n,this.translateService.use(n);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings)}catch(o){console.error(o)}}get localizedStrings(){return this._localizedStrings}set localizedStrings(n){this._localizedStrings=n,this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,n)}catch(o){console.error(o)}}};e.\u0275fac=function(o){return new(o||e)(C(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},standalone:!0,features:[K([P]),T],decls:2,vars:0,template:function(o,r){o&1&&(m(0,"p"),S(1," localized widget works! "),h())},dependencies:[j,pe],encapsulation:3});let t=e;return t})();function ne(t,e,i=null){if(!e){console.error("ERROR: Missing event name in fireEvent function in Bimplus components!");return}let n="BimPlus"in window&&typeof window.BimPlus=="object"&&window.BimPlus;n&&typeof n[e]=="function"&&n[e]({detail:i});let o=t;e in o&&o[e].emit(i)}var Kf=(()=>{let e=class e extends ae{constructor(n){super(n),this.bimplusContactClicked=new D}_contactClicked(){ne(this,"bimplusContactClicked","contact")}};e.\u0275fac=function(o){return new(o||e)(C(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-contact"]],outputs:{bimplusContactClicked:"bimplusContactClicked"},standalone:!0,features:[K([P]),z,T],decls:3,vars:3,consts:[["href","https://www.allplan.com/consulting-sale","rel","noopener","target","_blank",1,"bimplus-contact-link",3,"click","title"],[1,"bimplus-contact"]],template:function(o,r){o&1&&(m(0,"a",0),re(1,"translate"),y("click",function(){return r._contactClicked()}),O(2,"div",1),h()),o&2&&f("title",se(1,1,"_BimplusContactTitle"))},dependencies:[j,pe,Ve],styles:[`.bimplus-contact{height:1.375em;width:4em;background:url("./media/bimplus_Components_Contact.svg") no-repeat;background-size:1.375em;background-repeat:no-repeat;background-position:center;cursor:pointer}.bimplus-contact a{width:100%;height:100%}
|
|
8
8
|
`],encapsulation:3});let t=e;return t})();var Cn=(()=>{let e=class e{constructor(){this.oldX=0,this.oldY=0,this.isDragging=!1,this.wasDragging=!1,this.isMouseDown=!1,this.dragging=new D,this.clicked=new D}onMouseMove(n){if(!this.isDragging&&!this.isMouseDown)return;let o=n.clientX-this.oldX,r=n.clientY-this.oldY;if(!this.isDragging)if(Math.abs(o)>2||Math.abs(r)>2)this.isDragging=!0,this.wasDragging=!0;else return;ne(this,"dragging",[o,r]),this.oldX=n.clientX,this.oldY=n.clientY}onMouseUp(){this.isDragging=!1,this.isMouseDown=!1}onMouseDown(n){this.isMouseDown=!0,this.wasDragging=!1,this.oldX=n.clientX,this.oldY=n.clientY}onMouseClick(n){this.wasDragging||ne(this,"clicked",n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=H({type:e,selectors:[["","libDraggable",""]],hostBindings:function(o,r){o&1&&y("mousemove",function(a){return r.onMouseMove(a)},!1,gn)("mouseup",function(a){return r.onMouseUp(a)},!1,gn)("mousedown",function(a){return r.onMouseDown(a)})("click",function(a){return r.onMouseClick(a)})},outputs:{dragging:"dragging",clicked:"clicked"},standalone:!0});let t=e;return t})();var Ri=(()=>{let e=class e{constructor(){this.isCollapsed=!1,this.dragElement=new D,this.draggerIcon="ui-icon-drag"}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-dragger"]],inputs:{isCollapsed:"isCollapsed"},outputs:{dragElement:"dragElement"},standalone:!0,features:[T],decls:1,vars:2,consts:[["libDraggable","",1,"floating-panel__dragger","dragger",3,"dragging","ngClass","className"]],template:function(o,r){o&1&&(m(0,"div",0),y("dragging",function(a){return r.dragElement.emit(a)}),h()),o&2&&f("ngClass",r.isCollapsed?"collapsed":"")("className",r.draggerIcon)},dependencies:[j,X,Cn],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.ui-icon22px[_ngcontent-%COMP%]{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:#fffc;transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}.ui-icon-drag[_ngcontent-%COMP%]{background-repeat:no-repeat;background-image:url("./media/ic_drag.svg")}']});let t=e;return t})();var Ww=t=>({active:t});function Gw(t,e){if(t&1){let i=N();m(0,"div")(1,"div",3),re(2,"translate"),y("click",function(){let o=M(i).$implicit,r=g();return E(r.onItemClicked(o.buttonId))}),h()()}if(t&2){let i=e.$implicit;d(),f("ngClass",Le(6,Ww,i.active))("className",i.iconClass)("title",se(2,4,i.title)),Z("data-test","floating_bar_item_"+i.buttonId)}}var Li=(()=>{let e=class e extends ae{constructor(n){super(n),this.isCollapsed=!1,this.activeItemChanged=new D,this.actionClicked=new D,this.dragElement=new D,this._items=new Array,this.activeItem=""}get items(){return this._items}set items(n){this._items=n}findItemById(n){return this._items.find(o=>o.buttonId===n)}_activateItem(n){this.activeItem=n;let o=this.findItemById(n);console.debug("_activateItem item:",n,o),this.activeItemChanged.emit(n)}onItemClicked(n){console.debug("onItemClicked action:",n);let o=this.findItemById(n);!o||o?.disabled||(console.debug(" => emit event !"),this.actionClicked.emit(n))}};e.\u0275fac=function(o){return new(o||e)(C(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-header-content"]],inputs:{isCollapsed:"isCollapsed",items:"items"},outputs:{activeItemChanged:"activeItemChanged",actionClicked:"actionClicked",dragElement:"dragElement"},standalone:!0,features:[K([P]),z,T],decls:3,vars:2,consts:[["libDraggable","",1,"floating-panel__header-content","dragger",3,"dragging","ngClass"],[1,"menu-content"],[4,"ngFor","ngForOf"],[1,"fp-block-item","fp-block-icon-item",3,"click","ngClass","className","title"]],template:function(o,r){o&1&&(m(0,"div",0),y("dragging",function(a){return r.dragElement.emit(a)}),m(1,"div",1),x(2,Gw,3,8,"div",2),h()()),o&2&&(f("ngClass",r.isCollapsed?"hidden":""),d(2),f("ngForOf",r.items))},dependencies:[j,X,Te,Cn,pe,Ve],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.ui-icon22px[_ngcontent-%COMP%]{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:#fffc;transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}[_ngcontent-%COMP%]:after, [_ngcontent-%COMP%]:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.menu-content[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center;-webkit-box-align-items:center;-moz-box-align-items:center;-webkit-align-items:center;-ms-align-items:center;align-items:center;padding-left:.5rem;padding-right:.5rem}.menu-content[_ngcontent-%COMP%] .block-icon-item[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat}.menu-content[_ngcontent-%COMP%] .ui-icon-hide-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/ic_eye_black.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-hide-object.active[_ngcontent-%COMP%]{background-image:url("./media/ic_eye_orange.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-transparent-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/ic_make_transparent.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-transparent-object.active[_ngcontent-%COMP%]{background-image:url("./media/ic_make_transparent_active.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-restore-hide-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/ic_reset.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-normal[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuNormal.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-normal.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuNormal_orange.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-clipped[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuClipped.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-clipped.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuClipped_orange.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-hidden[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuHidden.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-hidden.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuHidden_orange.svg")}']});let t=e;return t})();var Vi=(()=>{let e=class e extends ae{constructor(n){super(n),this.icon="",this.isCollapsed=!1,this.title="",this.logoClicked=new D,this.dragElement=new D}};e.\u0275fac=function(o){return new(o||e)(C(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-header-logo"]],hostVars:2,hostBindings:function(o,r){o&2&&ee("isCollapsed",r.isCollapsed)},inputs:{icon:"icon",isCollapsed:"isCollapsed",title:"title"},outputs:{logoClicked:"logoClicked",dragElement:"dragElement"},standalone:!0,features:[K([P]),z,T],decls:2,vars:5,consts:[["libDraggable","",1,"floating-panel__header-logo",3,"clicked","dragging","ngClass","className","title"]],template:function(o,r){o&1&&(m(0,"div",0),re(1,"translate"),y("clicked",function(a){return r.logoClicked.emit(a)})("dragging",function(a){return r.dragElement.emit(a)}),h()),o&2&&f("ngClass",r.isCollapsed?"collapsed":"")("className",r.icon)("title",se(1,3,r.title))},dependencies:[j,X,Cn,pe,Ve],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.ui-icon22px[_ngcontent-%COMP%]{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:#fffc;transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}']});let t=e;return t})();var qw=[[["",8,"floating-bar-header-logo"]],[["",8,"floating-bar-header-content"]],[["",8,"floating-bar-dragger"]],[["",8,"floating-bar-body"]]],Zw=[".floating-bar-header-logo",".floating-bar-header-content",".floating-bar-dragger",".floating-bar-body"],Bi=(()=>{let e=class e extends ae{constructor(n){super(n),this.noBody=!1,this.isCollapsed=!1,this.isFocused=!1,this.resizeEnabled=!1,this.autoCollapse=!1,this.focusSelector="",this.isVisible=!1}};e.\u0275fac=function(o){return new(o||e)(C(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar"]],inputs:{noBody:"noBody",isCollapsed:"isCollapsed",isFocused:"isFocused",resizeEnabled:"resizeEnabled",autoCollapse:"autoCollapse",focusSelector:"focusSelector",isVisible:"isVisible"},standalone:!0,features:[z,T],ngContentSelectors:Zw,decls:5,vars:8,consts:[[1,"floating-panel"]],template:function(o,r){o&1&&(Ye(qw),m(0,"div",0),Re(1),Re(2,1),Re(3,2),Re(4,3),h()),o&2&&ee("visible",r.isVisible)("no-body",r.noBody)("is-focused",r.isFocused)("collapsed",r.isCollapsed)},dependencies:[j],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.ui-icon22px[_ngcontent-%COMP%]{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:#fffc;transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}']});let t=e;return t})();var Xf=(()=>{let e=class e extends ae{constructor(){super(...arguments),this.activeItemChanged=new D,this.actionClicked=new D,this.noBody=!0,this.isCollapsed=!1,this.isFocused=!0,this.items=[],this.icon="ui-icon-hide-menu",this.title="",this.focusSelectorId="hide-menu-id",this.left=300,this.top=600}onActiveItemChanged(n){console.debug("Active item changed:",n),this.activeItemChanged.emit(n)}onActionClicked(n){console.debug("Action clicked:",n),this.actionClicked.emit(n)}onLogoClicked(n){this.isCollapsed=!this.isCollapsed,n.stopPropagation()}onDragElement(n){let o=n[0],r=n[1];this.left+=o,this.top+=r}};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=ft(e)))(r||e)}})(),e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-hide-objects"]],hostVars:4,hostBindings:function(o,r){o&2&&Me("left",r.left,"px")("top",r.top,"px")},inputs:{noBody:"noBody",isCollapsed:"isCollapsed",isFocused:"isFocused",items:"items",left:"left",top:"top"},outputs:{activeItemChanged:"activeItemChanged",actionClicked:"actionClicked"},standalone:!0,features:[K([P]),z,T],decls:4,vars:17,consts:[["id","hide-menu-fp-id",1,"hide-menu",3,"noBody","isCollapsed","isFocused","resizeEnabled","focusSelector","isVisible","selectedLanguage","localizedStrings"],[1,"floating-bar-header-logo",3,"logoClicked","dragElement","icon","isCollapsed","selectedLanguage","localizedStrings"],[1,"floating-bar-header-content",3,"activeItemChanged","actionClicked","dragElement","selectedLanguage","localizedStrings","items","isCollapsed"],[1,"floating-bar-dragger",3,"dragElement","isCollapsed"]],template:function(o,r){o&1&&(m(0,"lib-bimplus-floating-bar",0)(1,"lib-bimplus-floating-bar-header-logo",1),y("logoClicked",function(a){return r.onLogoClicked(a)})("dragElement",function(a){return r.onDragElement(a)}),h(),m(2,"lib-bimplus-floating-bar-header-content",2),y("activeItemChanged",function(a){return r.onActiveItemChanged(a)})("actionClicked",function(a){return r.onActionClicked(a)})("dragElement",function(a){return r.onDragElement(a)}),h(),m(3,"lib-bimplus-floating-bar-dragger",3),y("dragElement",function(a){return r.onDragElement(a)}),h()()),o&2&&(f("noBody",r.noBody)("isCollapsed",r.isCollapsed)("isFocused",r.isFocused)("resizeEnabled",!1)("focusSelector",r.focusSelectorId)("isVisible",!0)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),d(),f("icon",r.icon)("isCollapsed",r.isCollapsed)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),d(),f("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings)("items",r.items)("isCollapsed",r.isCollapsed),d(),f("isCollapsed",r.isCollapsed))},dependencies:[j,Bi,Ri,Li,Vi,pe],styles:[`@charset "UTF-8";.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:#fffc;transition:background-color .5s}.panel-background:hover{background-color:#fff}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:#fff}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid #c3c3c3}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}
|
|
9
9
|
`],encapsulation:3});let t=e;return t})();var Jf=(()=>{let e=class e extends ae{constructor(){super(...arguments),this.activeItemChanged=new D,this.actionClicked=new D,this.noBody=!0,this.isCollapsed=!1,this.isFocused=!0,this.items=[],this.left=200,this.top=600,this.icon="ui-icon-isolation-menu",this.title="",this.focusSelectorId="isolation-menu-id"}onActiveItemChanged(n){console.debug("Active item changed:",n),this.activeItemChanged.emit(n)}onActionClicked(n){console.debug("Action clicked:",n),this.actionClicked.emit(n)}onLogoClicked(n){this.isCollapsed=!this.isCollapsed,n.stopPropagation()}onDragElement(n){let o=n[0],r=n[1];this.left+=o,this.top+=r}};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=ft(e)))(r||e)}})(),e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-isolation-objects"]],hostVars:4,hostBindings:function(o,r){o&2&&Me("left",r.left,"px")("top",r.top,"px")},inputs:{noBody:"noBody",isCollapsed:"isCollapsed",isFocused:"isFocused",items:"items",left:"left",top:"top"},outputs:{activeItemChanged:"activeItemChanged",actionClicked:"actionClicked"},standalone:!0,features:[K([P]),z,T],decls:4,vars:17,consts:[["id","isolation-menu-fp-id",1,"isolation-menu",3,"noBody","isCollapsed","isFocused","resizeEnabled","focusSelector","isVisible","selectedLanguage","localizedStrings"],[1,"floating-bar-header-logo",3,"logoClicked","dragElement","icon","isCollapsed","selectedLanguage","localizedStrings"],[1,"floating-bar-header-content",3,"activeItemChanged","actionClicked","dragElement","items","isCollapsed","selectedLanguage","localizedStrings"],[1,"floating-bar-dragger",3,"dragElement","isCollapsed"]],template:function(o,r){o&1&&(m(0,"lib-bimplus-floating-bar",0)(1,"lib-bimplus-floating-bar-header-logo",1),y("logoClicked",function(a){return r.onLogoClicked(a)})("dragElement",function(a){return r.onDragElement(a)}),h(),m(2,"lib-bimplus-floating-bar-header-content",2),y("activeItemChanged",function(a){return r.onActiveItemChanged(a)})("actionClicked",function(a){return r.onActionClicked(a)})("dragElement",function(a){return r.onDragElement(a)}),h(),m(3,"lib-bimplus-floating-bar-dragger",3),y("dragElement",function(a){return r.onDragElement(a)}),h()()),o&2&&(f("noBody",r.noBody)("isCollapsed",r.isCollapsed)("isFocused",r.isFocused)("resizeEnabled",!1)("focusSelector",r.focusSelectorId)("isVisible",!0)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),d(),f("icon",r.icon)("isCollapsed",r.isCollapsed)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),d(),f("items",r.items)("isCollapsed",r.isCollapsed)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),d(),f("isCollapsed",r.isCollapsed))},dependencies:[j,Bi,Ri,Li,Vi,pe],styles:[`@charset "UTF-8";.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:#fffc;transition:background-color .5s}.panel-background:hover{background-color:#fff}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:#fff}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid #c3c3c3}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}
|
|
10
10
|
`],encapsulation:3});let t=e;return t})();var eh=(()=>{let e=class e extends ae{constructor(n){super(n),this.isCollapsed=!1}};e.\u0275fac=function(o){return new(o||e)(C(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-body"]],inputs:{isCollapsed:"isCollapsed"},standalone:!0,features:[z,T],decls:3,vars:1,consts:[["libDraggable","",1,"floating-panel__body",3,"ngClass"]],template:function(o,r){o&1&&(m(0,"div",0)(1,"p"),S(2,"bimplus-floating-bar-body works!"),h()()),o&2&&f("ngClass",r.isCollapsed?"hidden":"")},dependencies:[j,X]});let t=e;return t})();var th=(()=>{let e=class e extends ae{constructor(n){super(n),this.activeItemChanged=new D,this.actionClicked=new D,this.noBody=!1,this.isCollapsed=!1,this.isFocused=!0,this.left=600,this.top=600,this.icon="ui-icon-project-navigator",this.title="_Project_navigator",this.focusSelectorId="isolation-menu-id",this.contentItems=Array()}onActiveItemChanged(n){console.debug("Active item changed:",n),this.activeItemChanged.emit(n)}onActionClicked(n){console.debug("Action clicked:",n),this.actionClicked.emit(n)}onLogoClicked(n){this.isCollapsed=!this.isCollapsed,n.stopPropagation()}onDragElement(n){let o=n[0],r=n[1];this.left+=o,this.top+=r}};e.\u0275fac=function(o){return new(o||e)(C(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-project-navigator"]],hostVars:4,hostBindings:function(o,r){o&2&&Me("left",r.left,"px")("top",r.top,"px")},inputs:{noBody:"noBody",isCollapsed:"isCollapsed",isFocused:"isFocused",left:"left",top:"top"},outputs:{activeItemChanged:"activeItemChanged",actionClicked:"actionClicked"},standalone:!0,features:[K([P]),z,T],decls:5,vars:21,consts:[["id","project-navigator-fp-id",1,"project-navigator-fp",3,"selectedLanguage","localizedStrings","noBody","isCollapsed","isFocused","resizeEnabled","focusSelector","isVisible"],[1,"floating-bar-header-logo",3,"logoClicked","dragElement","selectedLanguage","localizedStrings","icon","title","isCollapsed"],[1,"floating-bar-header-content",3,"activeItemChanged","actionClicked","dragElement","selectedLanguage","localizedStrings","items","isCollapsed"],[1,"floating-bar-dragger",3,"dragElement","isCollapsed"],[1,"floating-bar-body",3,"selectedLanguage","localizedStrings","isCollapsed"]],template:function(o,r){o&1&&(m(0,"lib-bimplus-floating-bar",0)(1,"lib-bimplus-floating-bar-header-logo",1),y("logoClicked",function(a){return r.onLogoClicked(a)})("dragElement",function(a){return r.onDragElement(a)}),h(),m(2,"lib-bimplus-floating-bar-header-content",2),y("activeItemChanged",function(a){return r.onActiveItemChanged(a)})("actionClicked",function(a){return r.onActionClicked(a)})("dragElement",function(a){return r.onDragElement(a)}),h(),m(3,"lib-bimplus-floating-bar-dragger",3),y("dragElement",function(a){return r.onDragElement(a)}),h(),O(4,"lib-bimplus-floating-bar-body",4),h()),o&2&&(f("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings)("noBody",r.noBody)("isCollapsed",r.isCollapsed)("isFocused",r.isFocused)("resizeEnabled",!1)("focusSelector",r.focusSelectorId)("isVisible",!0),d(),f("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings)("icon",r.icon)("title",r.title)("isCollapsed",r.isCollapsed),d(),f("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings)("items",r.contentItems)("isCollapsed",r.isCollapsed),d(),f("isCollapsed",r.isCollapsed),d(),f("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings)("isCollapsed",r.isCollapsed))},dependencies:[j,Bi,Ri,Li,Vi,eh,pe],styles:[`@charset "UTF-8";.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:#fffc;transition:background-color .5s}.panel-background:hover{background-color:#fff}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:#fff}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid #c3c3c3}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}.project-navigator-fp{pointer-events:none;position:absolute;top:0;left:0}.project-navigator-fp .scene-selector{padding-left:.6rem;padding-right:.9rem;margin-bottom:.6rem}.project-navigator-fp .saved-scenes-select{margin-left:.6rem;margin-right:.6rem}.project-navigator-fp .scene-options{display:flex;flex:1 1 auto;flex-direction:row;align-items:center;justify-content:center}.project-navigator-fp .scene-options .secondary-button{border:solid .1rem #444444!important}.project-navigator-fp .scene-options .only-icon-button{flex:1 1 auto}.project-navigator-fp .secondary-button{border:solid .1rem #444444!important}.project-navigator-fp .bim-item-refresh{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem;background-size:2rem 2rem;cursor:pointer}.project-navigator-fp .bim-item-refresh.disabled{cursor:default}.project-navigator-fp.floating-panel{min-width:32.5rem;min-height:14rem;max-width:52.9rem}.project-navigator-fp.floating-panel.collapsed{min-width:auto;min-height:auto}.project-navigator-fp.floating-panel .floating-panel__body{padding-bottom:1.2rem;-webkit-user-select:none;user-select:none}.project-navigator-fp.floating-panel .floating-panel__body .bim-divisions-view .jstree-component{margin-top:0}.project-navigator-fp.floating-panel .floating-panel__header-content{justify-content:flex-end}.project-navigator-fp.floating-panel .ifc-export-container{height:3.2rem;width:3rem}.project-navigator-fp .model-topology-container{height:100%}.project-navigator-fp .model-topology-container.nodisplay{display:none}.is-touch .project-navigator-fp.floating-panel{min-width:27.5rem}.is-touch .project-navigator-fp.floating-panel.collapsed{min-width:auto;min-height:auto}.is-touch .project-navigator-fp.floating-panel .floating-panel__resizerNE{background:transparent}
|
|
@@ -12,7 +12,7 @@ ${i.map((n,o)=>`${o+1}) ${n.toString()}`).join(`
|
|
|
12
12
|
`],encapsulation:3});let t=e;return t})();var ih=(t,e)=>e.id;function Qw(t,e){if(t&1){let i=N();m(0,"div",4),re(1,"translate"),y("dblclick",function(o){M(i);let r=g(3);return E(r._menuItemIgnoreAction(o))})("click",function(o){M(i);let r=g().$implicit,s=g(2);return E(s._menuItemClicked(r,"normal",o))}),O(2,"div",5),m(3,"div",6),y("click",function(o){M(i);let r=g().$implicit,s=g(2);return E(s._menuItemClicked(r,"info",o))}),h()()}if(t&2){let i=g().$implicit,n=g(2);f("ngClass",n._getPrjItemClassAttributes(i,n.isTouch))("title",se(1,3,n._isDisabled(i)&&i.textIdDisabled?i.textIdDisabled:i.textId)),d(2),f("ngClass",n._getPrjIconClassAttributes(i))}}function Kw(t,e){if(t&1&&x(0,Qw,4,5,"div",3),t&2){let i=e.$implicit,n=g(2);Q(0,n._isHidden(i)?-1:0)}}function Xw(t,e){if(t&1&&bn(0,Kw,1,1,null,null,ih),t&2){let i=g();_n(i._menuPrjList)}}function Jw(t,e){if(t&1){let i=N();m(0,"div",4),re(1,"translate"),y("dblclick",function(o){M(i);let r=g(3);return E(r._menuItemIgnoreAction(o))})("click",function(o){M(i);let r=g().$implicit,s=g(2);return E(s._menuItemClicked(r,"normal",o))}),O(2,"div",5),m(3,"div",6),y("click",function(o){M(i);let r=g().$implicit,s=g(2);return E(s._menuItemClicked(r,"info",o))}),h()()}if(t&2){let i=g().$implicit,n=g(2);f("ngClass",n._getPrjItemClassAttributes(i,n.isTouch))("title",se(1,3,n._isDisabled(i)&&i.textIdDisabled?i.textIdDisabled:i.textId)),d(2),f("ngClass",n._getPrjIconClassAttributes(i))}}function ex(t,e){if(t&1&&x(0,Jw,4,5,"div",3),t&2){let i=e.$implicit,n=g(2);Q(0,!n._isHidden(i)&&(n.isCollapsed||i.action!=="processes")?0:-1)}}function tx(t,e){if(t&1&&bn(0,ex,1,1,null,null,ih),t&2){let i=g();_n(i._menuPrjList)}}function nx(t,e){t&1&&at(0)}function ix(t,e){if(t&1&&x(0,nx,1,0,"ng-container",13),t&2){g(2);let i=qe(1);f("ngTemplateOutlet",i)}}function ox(t,e){if(t&1&&(m(0,"div",7)(1,"div",8),O(2,"div",9),h(),m(3,"div",10),S(4),h()(),m(5,"div",11)(6,"div",12),x(7,ix,1,1,"ng-container"),h()()),t&2){let i=g();d(),f("ngStyle",i.prjImageOverlayStyle),d(),f("ngStyle",i.prjImageStyle),d(2),oe(" ",i.projectName," "),d(),f("ngClass",i.showHorizontalMenuIcons?"":"hidden"),d(2),Q(7,i.showHorizontalMenuIcons?7:-1)}}function rx(t,e){t&1&&at(0)}function sx(t,e){if(t&1&&x(0,rx,1,0,"ng-container",13),t&2){g(2);let i=qe(3);f("ngTemplateOutlet",i)}}function ax(t,e){t&1&&at(0)}function cx(t,e){if(t&1&&x(0,ax,1,0,"ng-container",13),t&2){g(2);let i=qe(1);f("ngTemplateOutlet",i)}}function lx(t,e){if(t&1){let i=N();m(0,"a",14),re(1,"translate"),y("dblclick",function(){M(i);let o=g();return E(o._projectMenuItemClicked("prjimagedblclick","normal"))})("click",function(){M(i);let o=g();return E(o._projectMenuItemClicked("prjimageclick","normal"))}),m(2,"div",15),O(3,"div",16),m(4,"div",17),x(5,sx,1,1,"ng-container"),h(),m(6,"div",18),S(7),h()()(),m(8,"div",11)(9,"div",12),x(10,cx,1,1,"ng-container"),h()()}if(t&2){let i=g();_e("href",i.projectExplorerUrl,ko),f("ngStyle",i.prjImageOverlayStyle)("title",se(1,10,"_ModelThumbnailTooltip")),d(2),f("ngStyle",i.prjImageStyle),d(),f("ngClass",i.hideMenuIcons||i.showHorizontalMenuIcons?"hidden":""),d(),f("ngClass",i.hideMenuIcons||i.showHorizontalMenuIcons?"hidden":""),d(),Q(5,!i.hideMenuIcons&&!i.showHorizontalMenuIcons?5:-1),d(2),oe(" ",i.projectName," "),d(),f("ngClass",i.showHorizontalMenuIcons?"":"hidden"),d(2),Q(10,i.showHorizontalMenuIcons?10:-1)}}var Ls=(()=>{let e=class e extends ae{constructor(n){super(n),this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.isCollapsed=!1,this.isMiniMode=!1,this.isTouch=!1,this.hideMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.prjListThumbnail=[],this.prjList=[],this._menuPrjList=[{action:"projectmembers",id:"portalBimUsers",type:"",class:"bim-pm-icon-users",textId:"_Project_members_tooltip",textIdDisabled:"_Insufficient rights title",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:"portalBimModels",type:"",class:"bim-pm-icon-models",textId:"_Models_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:"portalBimDocuments",type:"",class:"bim-pm-icon-documents",textId:"_Documents_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:"portalBimProjectSettings",type:"",class:"bim-pm-icon-project-settings",textId:"_Project_settings_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:"portalBimProcesses",type:"",class:"bim-pm-icon-processes",textId:"_Approvals",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}get prjImgUrl(){return this.projectImageUrl?this.projectImageUrl:"./assets/images/bimplus_Components_Project_Pic_Default.png"}get backgroundValue(){return`linear-gradient(rgba(245, 245, 245, 0.8),rgba(245, 245, 245, 0.5) 25%, 75%, rgba(245, 245, 245, 0.8)), url(${this.projectImageUrl?this.projectImageUrl:"./assets/images/bimplus_Components_Project_Pic_Default.png"})`}get prjImageOverlayStyle(){return{background:`${this.backgroundValue}`}}get prjImageStyle(){return{background:`url(${this.prjImgUrl})`}}_isHidden(n){if(n){let o=`${n.action?n.action:n.id}Visible`;return!this[o]}return!1}_isDisabled(n){if(n){let o=`${n.action?n.action:n.id}Disabled`;return!!this[o]}return!1}_projectMenuItemClicked(n,o){console.log(n,o)}_menuItemClicked(n,o,r){if(r&&(r.stopPropagation(),r.preventDefault()),console.log(n,o,r),o!="info"&&this._isDisabled(n))return;let s=n.action;ne(this,"bimplusProjectMenuClicked",{action:s,type:o})}_menuItemIgnoreAction(n){n&&(n.stopPropagation(),n.preventDefault())}_getPrjItemClassAttributes(n,o){return`${this._isDisabled(n)?"disabled":""} ${o?"":"hover-show-info"}`}_getPrjIconClassAttributes(n){return`${n.class} ${n.action===this.projectActiveItem?"active ":""} ${this._isDisabled(n)?"disabled":""}`}};e.\u0275fac=function(o){return new(o||e)(C(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-project-menu"]],inputs:{projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[_.HasDecoratorInputTransform,"projectmembersDisabled","projectmembersDisabled",w],modelsDisabled:[_.HasDecoratorInputTransform,"modelsDisabled","modelsDisabled",w],documentsDisabled:[_.HasDecoratorInputTransform,"documentsDisabled","documentsDisabled",w],projectsettingsDisabled:[_.HasDecoratorInputTransform,"projectsettingsDisabled","projectsettingsDisabled",w],processesDisabled:[_.HasDecoratorInputTransform,"processesDisabled","processesDisabled",w],projectmembersVisible:[_.HasDecoratorInputTransform,"projectmembersVisible","projectmembersVisible",w],modelsVisible:[_.HasDecoratorInputTransform,"modelsVisible","modelsVisible",w],documentsVisible:[_.HasDecoratorInputTransform,"documentsVisible","documentsVisible",w],projectsettingsVisible:[_.HasDecoratorInputTransform,"projectsettingsVisible","projectsettingsVisible",w],processesVisible:[_.HasDecoratorInputTransform,"processesVisible","processesVisible",w],isCollapsed:[_.HasDecoratorInputTransform,"isCollapsed","isCollapsed",w],isMiniMode:[_.HasDecoratorInputTransform,"isMiniMode","isMiniMode",w],isTouch:[_.HasDecoratorInputTransform,"isTouch","isTouch",w],hideMenuIcons:[_.HasDecoratorInputTransform,"hideMenuIcons","hideMenuIcons",w],showHorizontalMenuIcons:[_.HasDecoratorInputTransform,"showHorizontalMenuIcons","showHorizontalMenuIcons",w]},standalone:!0,features:[K([P]),be,z,T],decls:7,vars:4,consts:[["prjList",""],["prjListThumbnail",""],[1,"bim-pm-prj-container",3,"ngClass"],[1,"bim-pm-prj-item",3,"ngClass","title"],[1,"bim-pm-prj-item",3,"dblclick","click","ngClass","title"],[1,"bim-pm-prj-icon",3,"ngClass"],[1,"bim-pm-app-item-info","bim-pm-icon","bim-pm-icon-info",3,"click"],[1,"bim-pm-prj-details-mini"],[1,"bim-pm-prj-image-bkg-mini",3,"ngStyle"],[1,"bim-pm-prj-image-thumbnail",3,"ngStyle"],[1,"bim-pm-prj-name-mini"],[1,"bim-pm-prj-items-horizontal",3,"ngClass"],[1,"bim-pm-prj-items-list"],[4,"ngTemplateOutlet"],[1,"bim-pm-prj-details",3,"dblclick","click","href","ngStyle","title"],[1,"bim-pm-prj-image",3,"ngStyle"],[1,"bim-pm-prj-items-overlay",3,"ngClass"],[1,"bim-pm-prj-items-list",3,"ngClass"],[1,"bim-pm-prj-name"]],template:function(o,r){o&1&&(x(0,Xw,2,0,"ng-template",null,0,yt)(2,tx,2,0,"ng-template",null,1,yt),m(4,"div",2),x(5,ox,8,5)(6,lx,11,12),h()),o&2&&(d(4),f("ngClass",r.isCollapsed?"collapsed":"")("ngClass",r.isMiniMode?"mini-mode":"")("ngClass",r.isTouch?"is-touch":""),d(),Q(5,r.isMiniMode&&!r.isCollapsed?5:6))},dependencies:[j,X,Wn,jf,pe,Ve],styles:[`.bim-pm-prj-container{display:flex;flex-direction:column;justify-content:flex-start;background-color:#f5f5f5}.bim-pm-prj-container:not(.collapsed).mini-mode{border-bottom:thin solid #E1E1E1}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-horizontal{padding-left:.5em;padding-bottom:.5em}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-list{height:2.3em}.bim-pm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em}div:not(.collapsed) .bim-pm-prj-details{height:10em}div:not(.collapsed) .bim-pm-prj-details .bim-pm-prj-image{height:10em}.bim-pm-prj-details{color:inherit;background-size:100% auto!important;background-color:#f5f5f5;background-repeat:no-repeat!important;overflow:hidden}.bim-pm-prj-details .bim-pm-prj-image{background-size:auto 10em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;display:flex;flex-direction:column;position:relative;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list{width:4.6875em;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;flex:1 0 auto;position:absolute}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item{padding-top:.88em;width:100%;display:flex;justify-content:space-around;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item:first-child{padding-top:.43em}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin-left:.875em;margin-right:auto}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-details .bim-pm-prj-items-list .hover-show-info:hover .bim-pm-app-item-info{display:block}.bim-pm-prj-details .bim-pm-prj-name{background-color:#ffe6da;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:1em;font-weight:400;padding-left:.875em;padding-top:.375em;padding-right:1rem;height:1.625em;box-sizing:content-box;position:absolute;bottom:0;left:0;right:0}.bim-pm-prj-details .bim-pm-prj-items-overlay{position:absolute;background-color:#fffc;width:2.8125em;height:calc(100% - 2em)}.bim-pm-prj-details .bim-pm-prj-items-overlay.hidden{display:none}.bim-pm-prj-items-horizontal{border-bottom:1px solid #E6E6E6}.bim-pm-prj-items-horizontal.hidden{display:none}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list{width:auto;height:3.44em;position:relative;display:inline-flex;flex-direction:row;justify-content:center;align-items:center}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin:auto}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item{margin-left:.875em;margin-right:auto;cursor:pointer}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item~.bim-pm-prj-item{margin-left:1.13em}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-container.collapsed .bim-pm-prj-details,.bim-pm-prj-container.collapsed .bim-pm-prj-image{background:none transparent!important;min-height:7.589em}.bim-pm-prj-container.collapsed .bim-pm-prj-items-list{position:static}.bim-pm-prj-container.collapsed .bim-pm-prj-items-overlay,.bim-pm-prj-container.collapsed .bim-pm-prj-name,.bim-pm-prj-container.collapsed .bim-pm-app-item-details span{display:none}.bim-pm-prj-details-mini{display:grid;grid-template-columns:2.25em auto;grid-template-rows:min-content;row-gap:.4em;grid-gap:.8em;margin:.5em .9em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini{grid-column:1;grid-row:1;width:2.25em;height:2.25em;background-size:auto 2.25em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini .bim-pm-prj-image-thumbnail{width:2.25em;height:2.25em;background-size:auto 2.25em!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-name-mini{font-weight:700;grid-column:2;grid-row:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;align-self:center}.bim-pm-prj-items-list.hidden{display:none}.bim-pm-icon-users{background:url("./media/bimplus_Components_Users.svg") no-repeat center}.bim-pm-icon-users.active{background:url("./media/bimplus_Components_Users_Active.svg") no-repeat center}.bim-pm-icon-users.disabled{background:url("./media/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-pm-icon-models{background:url("./media/bimplus_Components_Models.svg") no-repeat center}.bim-pm-icon-models.active{background:url("./media/bimplus_Components_Models_Active.svg") no-repeat center}.bim-pm-icon-models.disabled{background:url("./media/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-pm-icon-documents{background:url("./media/bimplus_Components_Documents.svg") no-repeat center}.bim-pm-icon-documents.active{background:url("./media/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-pm-icon-documents.disabled{background:url("./media/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-pm-icon-processes{background:url("./media/bimplus_Components_ISO.svg") no-repeat center}.bim-pm-icon-processes.active{background:url("./media/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-pm-icon-processes.disabled{background:url("./media/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-pm-icon-project-settings{background:url("./media/bimplus_Components_Settings.svg") no-repeat center}.bim-pm-icon-project-settings.active{background:url("./media/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-pm-icon-project-settings.disabled{background:url("./media/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-pm-icon-shop{background:url("./media/bimplus_Components_Shop.svg") no-repeat center}.bim-pm-icon-info{background:url("./media/bimplus_Components_Info.svg") no-repeat center}.bim-pm-icon-info:hover{background:url("./media/bimplus_Components_Info_Active.svg") no-repeat center}
|
|
13
13
|
`],encapsulation:3});let t=e;return t})();var iu=t=>({$implicit:t});function ux(t,e){if(t&1&&O(0,"div",9),t&2){let i=g().$implicit;So(i.item.class),f("id",i.item.id)}}function dx(t,e){if(t&1){let i=N();m(0,"div",10),re(1,"translate"),m(2,"div",11),y("click",function(o){M(i);let r=g().$implicit,s=g();return E(s._mainMenuItemClicked(r.item,"normal",o))}),O(3,"div",12),m(4,"span"),S(5),re(6,"translate"),h()(),m(7,"div",13),y("click",function(o){M(i);let r=g().$implicit,s=g();return E(s._mainMenuItemClicked(r.item,"info",o))}),h()()}if(t&2){let i=g().$implicit,n=g();f("id",i.item.id)("ngClass",n.isTouch?"":"hover-show-info"+(i.active?"active ":" ")+(i.disabled?"disabled ":" ")+(i.clickable?" ":"not-clickable ")+(i.selected?"selected ":" "))("title",i.disabled?se(1,6,i.item.disabledTitle):""),d(2),f("ngClass",i.clickable?"":"not-clickable"),d(),f("ngClass",i.item.class+(i.active?" active":"")+(i.disabled?" disabled ":"")),d(2),te(se(6,8,i.isDisabled&&i.item.textIdDisabled!==""?i.item.textIdDisabled:i.item.textId))}}function mx(t,e){if(t&1&&x(0,ux,1,3,"div",8)(1,dx,8,10),t&2){let i=e.$implicit;Q(0,i.item.type==="divider"?0:1)}}function px(t,e){t&1&&at(0)}function fx(t,e){if(t&1&&x(0,px,1,0,"ng-container",14),t&2){let i=g(),n=qe(1);f("ngTemplateOutlet",n)("ngTemplateOutletContext",Le(2,iu,i._getContextData(i._openPrjBtn,i.projectActiveItem==="projectlist",i._isDisabled(i._openPrjBtn),!0,i.projectActiveItem==="projectlist")))}}function hx(t,e){if(t&1&&O(0,"lib-bimplus-project-menu",3),t&2){let i=g();_e("projectName",i.projectName),_e("projectImageUrl",i.projectImageUrl),_e("projectExplorerUrl",i.projectExplorerUrl),_e("projectActiveItem",i.projectActiveItem),_e("projectmembersDisabled",i.projectmembersDisabled),_e("modelsDisabled",i.modelsDisabled),_e("documentsDisabled",i.documentsDisabled),_e("projectsettingsDisabled",i.projectsettingsDisabled),_e("processesDisabled",i.processesDisabled),_e("projectmembersVisible",i.projectmembersVisible),_e("modelsVisible",i.modelsVisible),_e("documentsVisible",i.documentsVisible),_e("projectsettingsVisible",i.projectsettingsVisible),_e("processesVisible",i.processesVisible),_e("isCollapsed",i.isCollapsed),_e("isMiniMode",i.isTouch),_e("isTouch",i.isTouch),_e("hideMenuIcons",i.hideProjectMenuIcons),_e("showHorizontalMenuIcons",i.showHorizontalMenuIcons)}}function gx(t,e){t&1&&at(0)}function bx(t,e){if(t&1&&(m(0,"div"),x(1,gx,1,0,"ng-container",14),h()),t&2){let i=e.$implicit,n=g(),o=qe(1);d(),f("ngTemplateOutlet",o)("ngTemplateOutletContext",Le(2,iu,n._getContextData(i,!n._isSubscribed(i),n._isDisabled(i),n._isClickable(i),n.menuActiveItem===i.action)))}}function _x(t,e){t&1&&at(0)}function vx(t,e){if(t&1&&(m(0,"div"),x(1,_x,1,0,"ng-container",14),h()),t&2){let i=e.$implicit,n=g(),o=qe(1);d(),f("ngTemplateOutlet",o)("ngTemplateOutletContext",Le(2,iu,n._getContextData(i,n.footerActiveItem===i.action,n._isDisabled(i),!0,!1)))}}var oh=(()=>{let e=class e extends ae{constructor(n){super(n),this.isEmbedded=!1,this.isTouch=!1,this.isIpadApp=!1,this.isDev=!1,this.isStage=!1,this.hideProjectMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.footerActiveItem="",this.menuActiveItem="",this.isCollapsed=!1,this.showOverlay=!1,this.teammembersSubscribed=!1,this.propertymanagerSubscribed=!1,this.sciaSubscribed=!1,this.openProjectDisabled=!1,this.bimexplorerDisabled=!1,this.sciaDisabled=!1,this.teammembersDisabled=!1,this.propertymanagerDisabled=!1,this.shopDisabled=!1,this.openProjectVisible=!0,this.bimplusProjectMenuVisible=!0,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.bimexplorerVisible=!0,this.sciaVisible=!0,this.teammembersVisible=!0,this.propertymanagerVisible=!0,this.shopVisible=!0,this.dividerprojectmanagementVisible=!0,this.dividerappsVisible=!0,this.bimplusMainMenuClicked=new D,this.bimplusMainMenuOverlayClicked=new D,this._openPrjBtn={action:"openProject",id:"portalSelectProjectBtn",type:"",class:"bim-mm-icon-folder",textId:"_Portal_Menu_Open_Project",textIdDisabled:"_Portal_Menu_Open_Project",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},this.contextData={item:"haha",active:!0,disabled:!0,clickable:!0,selected:!0},this.appsList=[{action:"projectmembers",id:"portalBimUsers",type:"",class:"bim-mm-icon-users",textId:"_projectStatisticsMembers",textIdDisabled:"_projectStatisticsMembers",disabledTitle:"_Insufficient rights title",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:"portalBimModels",type:"",class:"bim-mm-icon-models",textId:"_Divisions",textIdDisabled:"_Divisions",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:"portalBimDocuments",type:"",class:"bim-mm-icon-documents",textId:"_Files",textIdDisabled:"_Files",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:"portalBimProjectSettings",type:"",class:"bim-mm-icon-project-settings",textId:"_Settings",textIdDisabled:"_Settings",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:"portalBimProcesses",type:"",class:"bim-mm-icon-processes",textId:"_Approvals",textIdDisabled:"_Approvals",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"",id:"dividerprojectmanagement",type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"bimexplorer",id:"portalBimViewerBtn",type:"",class:"bim-mm-icon-bim-explorer",textId:"_Portal_Menu_BIM_Explorer",textIdDisabled:"_Portal_Menu_BIM_Explorer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"scia",id:"portalBimSCIA",type:"",class:"bim-mm-icon-scia",textId:"_Scia",textIdDisabled:"_Scia",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"",id:"dividerapps",type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"teammembers",id:"portalTeamManagementBtn",type:"",class:"bim-mm-icon-team-members",textId:"_Portal_Menu_Team_Members",textIdDisabled:"_Portal_Menu_Team_Members",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},{action:"propertymanager",id:"portalPropertyManagerBtn",type:"",class:"bim-mm-icon-property-manager",textId:"_Portal_Menu_Properties",textIdDisabled:"_Portal_Menu_Properties",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""}],this._menuFooterList=[{action:"shop",id:"portalShopBtn",type:"",class:"bim-mm-icon-shop",textId:"_Shop",textIdDisabled:"_Shop",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}ngOnChanges(n){n.localizedStrings&&(this.localizedStrings=n.localizedStrings.currentValue)}get footerList(){return this._menuFooterList.filter(n=>!(!this._isSubscribed(n)||this._isHidden(n)))}_isSubscribed(n){if(n.checkSubscription){let o=`${n.action}Subscribed`;return!!this[o]}return!0}_isClickable(n){return n.clickPolicy==="noProjectNoSubscription"?this.projectName!=="":!0}_isHidden(n){if(n){let o=`${n.action?n.action:n.id}Visible`;return!this[o]}return!1}_isDisabled(n){let o=`${n.action}Disabled`;return!!this[o]}_getContextData(n,o,r,s,a){return{item:n,active:o,disabled:r,clickable:s,selected:a}}_overlayClicked(){ne(this,"bimplusMainMenuOverlayClicked")}_mainMenuItemClicked(n,o,r){if(r&&(r.stopPropagation(),r.preventDefault()),o!="info"&&this._isDisabled(n))return;let s=n.action;ne(this,"bimplusMainMenuClicked",{action:s,type:o})}};e.\u0275fac=function(o){return new(o||e)(C(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-main-menu"]],inputs:{isEmbedded:[_.HasDecoratorInputTransform,"isEmbedded","isEmbedded",w],isTouch:[_.HasDecoratorInputTransform,"isTouch","isTouch",w],isIpadApp:[_.HasDecoratorInputTransform,"isIpadApp","isIpadApp",w],isDev:[_.HasDecoratorInputTransform,"isDev","isDev",w],isStage:[_.HasDecoratorInputTransform,"isStage","isStage",w],hideProjectMenuIcons:[_.HasDecoratorInputTransform,"hideProjectMenuIcons","hideProjectMenuIcons",w],showHorizontalMenuIcons:[_.HasDecoratorInputTransform,"showHorizontalMenuIcons","showHorizontalMenuIcons",w],projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[_.HasDecoratorInputTransform,"projectmembersDisabled","projectmembersDisabled",w],modelsDisabled:[_.HasDecoratorInputTransform,"modelsDisabled","modelsDisabled",w],documentsDisabled:[_.HasDecoratorInputTransform,"documentsDisabled","documentsDisabled",w],projectsettingsDisabled:[_.HasDecoratorInputTransform,"projectsettingsDisabled","projectsettingsDisabled",w],processesDisabled:[_.HasDecoratorInputTransform,"processesDisabled","processesDisabled",w],footerActiveItem:"footerActiveItem",menuActiveItem:"menuActiveItem",isCollapsed:[_.HasDecoratorInputTransform,"isCollapsed","isCollapsed",w],showOverlay:[_.HasDecoratorInputTransform,"showOverlay","showOverlay",w],teammembersSubscribed:[_.HasDecoratorInputTransform,"teammembersSubscribed","teammembersSubscribed",w],propertymanagerSubscribed:[_.HasDecoratorInputTransform,"propertymanagerSubscribed","propertymanagerSubscribed",w],sciaSubscribed:[_.HasDecoratorInputTransform,"sciaSubscribed","sciaSubscribed",w],openProjectDisabled:[_.HasDecoratorInputTransform,"openProjectDisabled","openProjectDisabled",w],bimexplorerDisabled:[_.HasDecoratorInputTransform,"bimexplorerDisabled","bimexplorerDisabled",w],sciaDisabled:[_.HasDecoratorInputTransform,"sciaDisabled","sciaDisabled",w],teammembersDisabled:[_.HasDecoratorInputTransform,"teammembersDisabled","teammembersDisabled",w],propertymanagerDisabled:[_.HasDecoratorInputTransform,"propertymanagerDisabled","propertymanagerDisabled",w],shopDisabled:[_.HasDecoratorInputTransform,"shopDisabled","shopDisabled",w],openProjectVisible:[_.HasDecoratorInputTransform,"openProjectVisible","openProjectVisible",w],bimplusProjectMenuVisible:[_.HasDecoratorInputTransform,"bimplusProjectMenuVisible","bimplusProjectMenuVisible",w],projectmembersVisible:[_.HasDecoratorInputTransform,"projectmembersVisible","projectmembersVisible",w],modelsVisible:[_.HasDecoratorInputTransform,"modelsVisible","modelsVisible",w],documentsVisible:[_.HasDecoratorInputTransform,"documentsVisible","documentsVisible",w],projectsettingsVisible:[_.HasDecoratorInputTransform,"projectsettingsVisible","projectsettingsVisible",w],processesVisible:[_.HasDecoratorInputTransform,"processesVisible","processesVisible",w],bimexplorerVisible:[_.HasDecoratorInputTransform,"bimexplorerVisible","bimexplorerVisible",w],sciaVisible:[_.HasDecoratorInputTransform,"sciaVisible","sciaVisible",w],teammembersVisible:[_.HasDecoratorInputTransform,"teammembersVisible","teammembersVisible",w],propertymanagerVisible:[_.HasDecoratorInputTransform,"propertymanagerVisible","propertymanagerVisible",w],shopVisible:[_.HasDecoratorInputTransform,"shopVisible","shopVisible",w],dividerprojectmanagementVisible:[_.HasDecoratorInputTransform,"dividerprojectmanagementVisible","dividerprojectmanagementVisible",w],dividerappsVisible:[_.HasDecoratorInputTransform,"dividerappsVisible","dividerappsVisible",w]},outputs:{bimplusMainMenuClicked:"bimplusMainMenuClicked",bimplusMainMenuOverlayClicked:"bimplusMainMenuOverlayClicked"},standalone:!0,features:[K([P]),be,z,Be,T],decls:11,vars:6,consts:[["appItemContent",""],[1,"bim-mm-wrapper",3,"click","ngClass"],[1,"bim-mm-container"],[3,"projectName","projectImageUrl","projectExplorerUrl","projectActiveItem","projectmembersDisabled","modelsDisabled","documentsDisabled","projectsettingsDisabled","processesDisabled","projectmembersVisible","modelsVisible","documentsVisible","projectsettingsVisible","processesVisible","isCollapsed","isMiniMode","isTouch","hideMenuIcons","showHorizontalMenuIcons"],[3,"ngClass"],[1,"bim-mm-apps-list"],[4,"ngFor","ngForOf"],[1,"bim-mm-footer-container"],[1,"bim-mm-app-item",3,"class","id"],[1,"bim-mm-app-item",3,"id"],[1,"bim-mm-app-item",3,"id","ngClass","title"],[1,"bim-mm-app-item-details",3,"click","ngClass"],[1,"bim-mm-icon",3,"ngClass"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info",3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(o,r){if(o&1){let s=N();x(0,mx,2,1,"ng-template",null,0,yt),m(2,"div",1),y("click",function(){return M(s),E(r._overlayClicked())}),m(3,"div",2),x(4,fx,1,4,"ng-container")(5,hx,1,19,"lib-bimplus-project-menu",3),m(6,"div",4)(7,"div",5),x(8,bx,2,4,"div",6),h(),m(9,"div",7),x(10,vx,2,4,"div",6),h()()()()}o&2&&(d(2),f("ngClass",r.showOverlay?"bim-mm-overlay":""),d(2),Q(4,r._isHidden(r._openPrjBtn)?-1:4),d(),Q(5,r.bimplusProjectMenuVisible?5:-1),d(),f("ngClass",r.appsList.length||r.footerList.length?"bim-mm-apps-container":""),d(2),f("ngForOf",r.appsList),d(2),f("ngForOf",r.footerList))},dependencies:[j,X,Te,Wn,pe,Ve,Ls],styles:[`.bim-mm-container,.bim-mm-apps-container,.bim-mm-footer-container{display:flex;flex-direction:column;justify-content:flex-start}.bim-mm-wrapper{height:100%;font-size:1.6rem}.bim-mm-overlay{position:relative;height:100%;width:100vw;z-index:1;background-color:#0000004d}.bim-mm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em!important}.bim-mm-app-item{display:flex;flex-direction:row;justify-content:space-between;align-items:center;cursor:pointer;line-height:2em;min-height:2.5em;position:relative}.bim-mm-app-item.disabled{cursor:default;color:#d3d3d3}.bim-mm-app-item .bim-mm-app-item-details{display:flex;align-items:center;width:100%}.bim-mm-app-item .bim-mm-app-item-info{position:absolute;right:.375em;display:none}.bim-mm-app-item .not-clickable{pointer-events:none}.bim-mm-app-item-divider{width:100%;height:1px;min-height:1px;border-bottom:1px solid #E6E6E6;margin-top:.75em;margin-bottom:.75em}.hover-show-info:hover{background-color:#fff1eb}.hover-show-info:hover .bim-mm-app-item-info{display:block}.hover-show-info.selected,.bim-mm-app-item.selected{color:#fe5000}.hover-show-info.selected .bim-mm-icon-bim-explorer,.bim-mm-app-item.selected .bim-mm-icon-bim-explorer{background:url("./media/bimplus_Components_BIM_Explorer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-users,.bim-mm-app-item.selected .bim-mm-icon-users{background:url("./media/bimplus_Components_Users_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-models,.bim-mm-app-item.selected .bim-mm-icon-models{background:url("./media/bimplus_Components_Models_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-documents,.bim-mm-app-item.selected .bim-mm-icon-documents{background:url("./media/bimplus_Components_Documents_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-project-settings,.bim-mm-app-item.selected .bim-mm-icon-project-settings{background:url("./media/bimplus_Components_Setting_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-processes,.bim-mm-app-item.selected .bim-mm-icon-processes{background:url("./media/bimplus_Components_ISO_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-team-members,.bim-mm-app-item.selected .bim-mm-icon-team-members{background:url("./media/bimplus_Components_Team_Members_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-property-manager,.bim-mm-app-item.selected .bim-mm-icon-property-manager{background:url("./media/bimplus_Components_Property_Manager_Active.svg") no-repeat center}.bim-mm-footer-container .bim-mm-app-item.active{background-color:#ffd5c4}#portalSelectProjectBtn{padding:.36em 0 .52em;line-height:2em;font-size:1em;background-color:#fff}#portalSelectProjectBtn .bim-mm-icon{box-sizing:border-box;width:2.8125em;margin:0 0 0 .0625em}#portalSelectProjectBtn .bim-mm-app-item-info{width:1.13em;margin-right:.375em}#portalSelectProjectBtn .bim-mm-app-item-details span{font-weight:600;color:#444;text-transform:capitalize}#portalSelectProjectBtn.disabled .bim-mm-app-item-details span{font-weight:600;color:#d3d3d3}#portalSelectProjectBtn.selected .bim-mm-app-item-details span{font-weight:600;color:#fe5000}#portalTeamManagementBtn,#portalPropertyManagerBtn{text-transform:capitalize}#portalShopBtn .bim-mm-app-item-info,#portalBimProcesses .bim-mm-app-item-info{display:none}.bim-mm-container{background-color:#f5f5f5;width:15.31em;min-height:100%;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.bim-mm-apps-container{justify-content:space-between;background-color:#f5f5f5;flex:1 0 auto;margin-top:.5em}.bim-mm-apps-container .bim-mm-icon{margin:0 .8125em 0 .9375em}.bim-mm-icon-users{background:url("./media/bimplus_Components_Users.svg") no-repeat center}.bim-mm-icon-users.active{background:url("./media/bimplus_Components_Users_Active.svg") no-repeat center}.bim-mm-icon-users.disabled{background:url("./media/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-mm-icon-models{background:url("./media/bimplus_Components_Models.svg") no-repeat center}.bim-mm-icon-models.active{background:url("./media/bimplus_Components_Models_Active.svg") no-repeat center}.bim-mm-icon-models.disabled{background:url("./media/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-mm-icon-documents{background:url("./media/bimplus_Components_Documents.svg") no-repeat center}.bim-mm-icon-documents.active{background:url("./media/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-mm-icon-documents.disabled{background:url("./media/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-mm-icon-project-settings{background:url("./media/bimplus_Components_Settings.svg") no-repeat center}.bim-mm-icon-project-settings.active{background:url("./media/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-mm-icon-project-settings.disabled{background:url("./media/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-mm-icon-processes{background:url("./media/bimplus_Components_ISO.svg") no-repeat center}.bim-mm-icon-processes.active{background:url("./media/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-mm-icon-processes.disabled{background:url("./media/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-mm-icon-bim-explorer{background:url("./media/bimplus_Components_BIM_Explorer.svg") no-repeat center}.bim-mm-icon-bim-explorer.disabled{background:url("./media/bimplus_Components_BIM_Explorer_Disabled.svg") no-repeat center}.bim-mm-icon-scia{background:url("./media/bimplus_Components_SCIA.svg") no-repeat center}.bim-mm-icon-scia.active{background:url("./media/bimplus_Components_SCIA.svg") no-repeat center}.bim-mm-icon-scia.disabled{background:url("./media/bimplus_Components_SCIA_Disabled.svg") no-repeat center}.bim-mm-icon-team-members{background:url("./media/bimplus_Components_Team_Members.svg") no-repeat center}.bim-mm-icon-team-members.active{background:url("./media/bimplus_Components_Team_Members_Active.svg") no-repeat center}.bim-mm-icon-property-manager{background:url("./media/bimplus_Components_Property_Manager.svg") no-repeat center}.bim-mm-icon-property-manager.active{background:url("./media/bimplus_Components_Property_Manager_Active.svg") no-repeat center}.bim-mm-icon-property-manager.disabled{background:url("./media/bimplus_Components_Property_Manager_Disabled.svg") no-repeat center}.bim-mm-icon-shop{background:url("./media/bimplus_Components_Shop.svg") no-repeat center}.bim-mm-icon-shop.disabled{background:url("./media/bimplus_Components_Shop_Disabled.svg") no-repeat center}.bim-mm-icon-info{background:url("./media/bimplus_Components_Info.svg") no-repeat center;background-size:auto!important}.bim-mm-icon-info:hover{background:url("./media/bimplus_Components_Info_Active.svg") no-repeat center;background-size:auto!important;cursor:pointer}.bim-mm-icon-folder{background:url("./media/bimplus_Components_Projects_Folder.svg") no-repeat center}.bim-mm-icon-folder.active{background:url("./media/bimplus_Components_Projects_Folder_Active.svg") no-repeat center}.bim-mm-icon-folder.disabled{background:url("./media/bimplus_Components_Projects_Folder_Disabled.svg") no-repeat center}
|
|
14
14
|
`],encapsulation:3});let t=e;return t})();var yx=(t,e,i)=>({active:t,hidden:e,disabled:i}),Cx=t=>({hidden:t});function wx(t,e){t&1&&(m(0,"span"),S(1,"\xA0\xA0 -\xA0\xA0"),h())}var rh=(()=>{let e=class e{constructor(){this.projectInfo="",this.teamInfo="",this.isDev=!1,this.isStage=!1,this.teamInfoOffset="",this.isNavbarMenuVisible=!1,this.isModelViewerActive=!1,this.isNavbarMessageVisible=!1,this.isNavbarMenuActive=!1,this.isNavbarMenuEnabled=!0,this.isTouch=!1,this.selectedLanguage="en",this.bimplusNavbarClicked=new D}_menuClicked(){this.isNavbarMenuEnabled&&ne(this,"bimplusNavbarClicked","menu")}_logoClicked(){this.isModelViewerActive||ne(this,"bimplusNavbarClicked","logo")}_projectInfoClicked(){this.isDev&&ne(this,"bimplusNavbarClicked","project")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-navbar"]],inputs:{projectInfo:"projectInfo",teamInfo:"teamInfo",isDev:[_.HasDecoratorInputTransform,"isDev","isDev",w],isStage:[_.HasDecoratorInputTransform,"isStage","isStage",w],teamInfoOffset:"teamInfoOffset",isNavbarMenuVisible:[_.HasDecoratorInputTransform,"isNavbarMenuVisible","isNavbarMenuVisible",w],isModelViewerActive:[_.HasDecoratorInputTransform,"isModelViewerActive","isModelViewerActive",w],isNavbarMessageVisible:[_.HasDecoratorInputTransform,"isNavbarMessageVisible","isNavbarMessageVisible",w],isNavbarMenuActive:[_.HasDecoratorInputTransform,"isNavbarMenuActive","isNavbarMenuActive",w],isNavbarMenuEnabled:[_.HasDecoratorInputTransform,"isNavbarMenuEnabled","isNavbarMenuEnabled",w],isTouch:[_.HasDecoratorInputTransform,"isTouch","isTouch",w],selectedLanguage:"selectedLanguage"},outputs:{bimplusNavbarClicked:"bimplusNavbarClicked"},standalone:!0,features:[be,T],decls:13,vars:16,consts:[[1,"bimplus-navbar",3,"ngClass"],[1,"bimplus-navbar-logo-container"],[1,"bimplus-logo",3,"click","ngClass"],[1,"bimplus-navbar-menu","icon",3,"click","ngClass"],[1,"bimplus-navbar-container"],[1,"bimplus-navbar-info",3,"ngClass"],[1,"team"],[4,"ngIf"],[1,"project",3,"click","ngClass"],[1,"bimplus-navbar-slot"]],template:function(o,r){o&1&&(m(0,"div",0)(1,"div",1)(2,"div",2),y("click",function(){return r._logoClicked()}),h(),m(3,"div",3),y("click",function(){return r._menuClicked()}),h()(),m(4,"div",4)(5,"div",5)(6,"span",6),S(7),h(),x(8,wx,2,0,"span",7),m(9,"span",8),y("click",function(){return r._projectInfoClicked()}),S(10),h()(),m(11,"div",9),O(12,"slot"),h()()()),o&2&&(f("ngClass",r.isTouch?"is-touch":""),d(2),f("ngClass",r.isModelViewerActive?"model-viewer":""),d(),f("ngClass",Yt(10,yx,r.isNavbarMenuActive,!r.isNavbarMenuVisible,!r.isNavbarMenuEnabled)),d(2),Me("margin-left",r.teamInfoOffset),f("ngClass",Le(14,Cx,!r.isNavbarMenuVisible)),d(2),te(r.teamInfo),d(),f("ngIf",r.projectInfo&&!r.isTouch),d(),f("ngClass",r.isDev?"clickable":""),d(),oe(" ",r.projectInfo," "))},dependencies:[j,X,ut],styles:[`.bimplus-navbar{height:5.2rem;padding-left:0;padding-right:1em;background-color:#f5f5f5;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;font-size:1.6rem;font-weight:600;color:#444}.bimplus-navbar .bimplus-navbar-preview-mode{display:flex;justify-content:center;align-items:center;color:#fff;font-size:.8125em;line-height:.8125em;height:2.308em;font-weight:700;text-transform:uppercase;padding-left:.99em;padding-right:.99em;background-color:#0047ab;letter-spacing:.383em;margin:auto}.bimplus-navbar .bimplus-navbar-preview-mode__container{position:absolute;left:0;right:0;display:inline-flex;cursor:default}.bimplus-logo{height:100%;min-width:9em;margin-left:2.8em;margin-right:1.53em;background:url("./media/bimplus_Components_Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;cursor:pointer}.bimplus-logo.model-viewer{background:url("./media/Allplan-Cloud-Viewer-Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.icon{width:1.125em;height:1.125em;background-size:1.125em 1.125em!important;background-position:center;background-repeat:no-repeat}.bimplus-navbar-menu{height:100%;width:3.125em;background:url("./media/bimplus_Components_navbar_menu.svg") no-repeat center;background-size:1.125em 1.125em!important;cursor:pointer;margin-right:.4em}.bimplus-navbar-menu.active{background:url("./media/bimplus_Components_navbar_menu_active.svg") no-repeat center}.bimplus-navbar-menu.hidden{visibility:hidden;width:1.2rem}.bimplus-navbar-menu.disabled{background:url("./media/bimplus_Components_navbar_menu_disabled.svg") no-repeat center;cursor:default}.bimplus-navbar-logo-container{height:100%;display:flex;justify-content:flex-start;align-items:center;flex-direction:row-reverse;position:relative}.bimplus-navbar-container{display:flex;justify-content:space-between;align-items:center;flex:1 1 auto;position:relative}.bimplus-navbar-container .bimplus-navbar-info{display:inline-flex;flex:1 1 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:4em;min-width:0}.bimplus-navbar-container .bimplus-navbar-info .clickable{cursor:pointer}.bimplus-navbar-container .bimplus-navbar-info.hidden{visibility:hidden}.bimplus-navbar-container .bimplus-navbar-slot{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;white-space:nowrap;text-overflow:ellipsis}.is-touch .bimplus-navbar-info{display:flex;flex-direction:column;line-height:normal}.is-touch .bimplus-navbar-info .team{font-size:1em;font-weight:400}.is-touch .bimplus-navbar-info .project{font-size:1em;font-weight:700}
|
|
15
|
-
`],encapsulation:3});let t=e;return t})();var Mh=Hu(ou(),1);var Dx=typeof global=="object"&&global&&global.Object===Object&&global,ah=Dx;var Ix=typeof self=="object"&&self&&self.Object===Object&&self,Mx=ah||Ix||Function("return this")(),Vs=Mx;var Ex=Vs.Symbol,zi=Ex;var ch=Object.prototype,kx=ch.hasOwnProperty,Sx=ch.toString,Vo=zi?zi.toStringTag:void 0;function Ox(t){var e=kx.call(t,Vo),i=t[Vo];try{t[Vo]=void 0;var n=!0}catch{}var o=Sx.call(t);return n&&(e?t[Vo]=i:delete t[Vo]),o}var lh=Ox;var Tx=Object.prototype,Ax=Tx.toString;function Px(t){return Ax.call(t)}var uh=Px;var Fx="[object Null]",Nx="[object Undefined]",dh=zi?zi.toStringTag:void 0;function jx(t){return t==null?t===void 0?Nx:Fx:dh&&dh in Object(t)?lh(t):uh(t)}var mh=jx;function Rx(t){return t!=null&&typeof t=="object"}var ph=Rx;var Lx="[object Symbol]";function Vx(t){return typeof t=="symbol"||ph(t)&&mh(t)==Lx}var fh=Vx;var Bx=/\s/;function zx(t){for(var e=t.length;e--&&Bx.test(t.charAt(e)););return e}var hh=zx;var Hx=/^\s+/;function $x(t){return t&&t.slice(0,hh(t)+1).replace(Hx,"")}var gh=$x;function Ux(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var qn=Ux;var bh=NaN,Wx=/^[-+]0x[0-9a-f]+$/i,Gx=/^0b[01]+$/i,qx=/^0o[0-7]+$/i,Zx=parseInt;function Yx(t){if(typeof t=="number")return t;if(fh(t))return bh;if(qn(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=qn(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=gh(t);var i=Gx.test(t);return i||qx.test(t)?Zx(t.slice(2),i?2:8):Wx.test(t)?bh:+t}var ru=Yx;var Qx=function(){return Vs.Date.now()},Bs=Qx;var Kx="Expected a function",Xx=Math.max,Jx=Math.min;function eD(t,e,i){var n,o,r,s,a,c,l=0,u=!1,p=!1,b=!0;if(typeof t!="function")throw new TypeError(Kx);e=ru(e)||0,qn(i)&&(u=!!i.leading,p="maxWait"in i,r=p?Xx(ru(i.maxWait)||0,e):r,b="trailing"in i?!!i.trailing:b);function v(ie){var Ue=n,it=o;return n=o=void 0,l=ie,s=t.apply(it,Ue),s}function I(ie){return l=ie,a=setTimeout(R,e),u?v(ie):s}function A(ie){var Ue=ie-c,it=ie-l,Qo=e-Ue;return p?Jx(Qo,r-it):Qo}function W(ie){var Ue=ie-c,it=ie-l;return c===void 0||Ue>=e||Ue<0||p&&it>=r}function R(){var ie=Bs();if(W(ie))return Ce(ie);a=setTimeout(R,A(ie))}function Ce(ie){return a=void 0,b&&n?v(ie):(n=o=void 0,s)}function Oe(){a!==void 0&&clearTimeout(a),l=0,n=c=o=a=void 0}function Ke(){return a===void 0?s:Ce(Bs())}function nt(){var ie=Bs(),Ue=W(ie);if(n=arguments,o=this,c=ie,Ue){if(a===void 0)return I(c);if(p)return clearTimeout(a),a=setTimeout(R,e),v(c)}return a===void 0&&(a=setTimeout(R,e)),s}return nt.cancel=Oe,nt.flush=Ke,nt}var Zn=eD;var tD="Expected a function";function nD(t,e,i){var n=!0,o=!0;if(typeof t!="function")throw new TypeError(tD);return qn(i)&&(n="leading"in i?!!i.leading:n,o="trailing"in i?!!i.trailing:o),Zn(t,e,{leading:n,maxWait:e,trailing:o})}var su=nD;var cu=Hu(ou(),1),$i=function(){return $i=Object.assign||function(e){for(var i,n=1,o=arguments.length;n<o;n++){i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},$i.apply(this,arguments)},Hi=null,_h=null;cu.default&&window.addEventListener("resize",function(){_h!==window.devicePixelRatio&&(_h=window.devicePixelRatio,Hi=null)});function vh(){if(Hi===null){if(typeof document>"u")return Hi=0,Hi;var t=document.body,e=document.createElement("div");e.classList.add("simplebar-hide-scrollbar"),t.appendChild(e);var i=e.getBoundingClientRect().right;t.removeChild(e),Hi=i}return Hi}function yh(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}function Ch(t){return!t||!t.ownerDocument?document:t.ownerDocument}var wh=function(t){var e={},i=Array.prototype.reduce.call(t,function(n,o){var r=o.name.match(/data-simplebar-(.+)/);if(r){var s=r[1].replace(/\W+(.)/g,function(a,c){return c.toUpperCase()});switch(o.value){case"true":n[s]=!0;break;case"false":n[s]=!1;break;case void 0:n[s]=!0;break;default:n[s]=o.value}}return n},e);return i};function xh(t,e){var i;t&&(i=t.classList).add.apply(i,e.split(" "))}function Dh(t,e){t&&e.split(" ").forEach(function(i){t.classList.remove(i)})}function Ih(t){return".".concat(t.split(" ").join("."))}var iD=Object.freeze({__proto__:null,getElementWindow:yh,getElementDocument:Ch,getOptions:wh,addClasses:xh,removeClasses:Dh,classNamesToQuery:Ih}),wn=yh,au=Ch,oD=wh,xn=xh,Dn=Dh,ht=Ih,Bo=function(){function t(e,i){i===void 0&&(i={});var n=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!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=wn(n.el);n.scrollXTicking||(o.requestAnimationFrame(n.scrollX),n.scrollXTicking=!0),n.scrollYTicking||(o.requestAnimationFrame(n.scrollY),n.scrollYTicking=!0),n.isScrolling||(n.isScrolling=!0,xn(n.el,n.classNames.scrolling)),n.showScrollbar("x"),n.showScrollbar("y"),n.onStopScrolling()},this.scrollX=function(){n.axis.x.isOverflowing&&n.positionScrollbar("x"),n.scrollXTicking=!1},this.scrollY=function(){n.axis.y.isOverflowing&&n.positionScrollbar("y"),n.scrollYTicking=!1},this._onStopScrolling=function(){Dn(n.el,n.classNames.scrolling),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isScrolling=!1},this.onMouseEnter=function(){n.isMouseEntering||(xn(n.el,n.classNames.mouseEntered),n.showScrollbar("x"),n.showScrollbar("y"),n.isMouseEntering=!0),n.onMouseEntered()},this._onMouseEntered=function(){Dn(n.el,n.classNames.mouseEntered),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isMouseEntering=!1},this._onMouseMove=function(o){n.mouseX=o.clientX,n.mouseY=o.clientY,(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseMoveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseMoveForAxis("y")},this.onMouseLeave=function(){n.onMouseMove.cancel(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseLeaveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseLeaveForAxis("y"),n.mouseX=-1,n.mouseY=-1},this._onWindowResize=function(){n.scrollbarWidth=n.getScrollbarWidth(),n.hideNativeScrollbar()},this.onPointerEvent=function(o){if(!(!n.axis.x.track.el||!n.axis.y.track.el||!n.axis.x.scrollbar.el||!n.axis.y.scrollbar.el)){var r,s;n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&(r=n.isWithinBounds(n.axis.x.track.rect)),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&(s=n.isWithinBounds(n.axis.y.track.rect)),(r||s)&&(o.stopPropagation(),o.type==="pointerdown"&&o.pointerType!=="touch"&&(r&&(n.axis.x.scrollbar.rect=n.axis.x.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.x.scrollbar.rect)?n.onDragStart(o,"x"):n.onTrackClick(o,"x")),s&&(n.axis.y.scrollbar.rect=n.axis.y.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.scrollbar.rect)?n.onDragStart(o,"y"):n.onTrackClick(o,"y"))))}},this.drag=function(o){var r,s,a,c,l,u,p,b,v,I,A;if(!(!n.draggedAxis||!n.contentWrapperEl)){var W,R=n.axis[n.draggedAxis].track,Ce=(s=(r=R.rect)===null||r===void 0?void 0:r[n.axis[n.draggedAxis].sizeAttr])!==null&&s!==void 0?s:0,Oe=n.axis[n.draggedAxis].scrollbar,Ke=(c=(a=n.contentWrapperEl)===null||a===void 0?void 0:a[n.axis[n.draggedAxis].scrollSizeAttr])!==null&&c!==void 0?c:0,nt=parseInt((u=(l=n.elStyles)===null||l===void 0?void 0:l[n.axis[n.draggedAxis].sizeAttr])!==null&&u!==void 0?u:"0px",10);o.preventDefault(),o.stopPropagation(),n.draggedAxis==="y"?W=o.pageY:W=o.pageX;var ie=W-((b=(p=R.rect)===null||p===void 0?void 0:p[n.axis[n.draggedAxis].offsetAttr])!==null&&b!==void 0?b:0)-n.axis[n.draggedAxis].dragOffset;ie=n.draggedAxis==="x"&&n.isRtl?((I=(v=R.rect)===null||v===void 0?void 0:v[n.axis[n.draggedAxis].sizeAttr])!==null&&I!==void 0?I:0)-Oe.size-ie:ie;var Ue=ie/(Ce-Oe.size),it=Ue*(Ke-nt);n.draggedAxis==="x"&&n.isRtl&&(it=!((A=t.getRtlHelpers())===null||A===void 0)&&A.isScrollingToNegative?-it:it),n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr]=it}},this.onEndDrag=function(o){var r=au(n.el),s=wn(n.el);o.preventDefault(),o.stopPropagation(),Dn(n.el,n.classNames.dragging),r.removeEventListener("mousemove",n.drag,!0),r.removeEventListener("mouseup",n.onEndDrag,!0),n.removePreventClickId=s.setTimeout(function(){r.removeEventListener("click",n.preventClick,!0),r.removeEventListener("dblclick",n.preventClick,!0),n.removePreventClickId=null})},this.preventClick=function(o){o.preventDefault(),o.stopPropagation()},this.el=e,this.options=$i($i({},t.defaultOptions),i),this.classNames=$i($i({},t.defaultOptions.classNames),i.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=su(this._onMouseMove,64),this.onWindowResize=Zn(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Zn(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Zn(this._onMouseEntered,this.stopScrollDelay),this.init()}return t.getRtlHelpers=function(){if(t.rtlHelpers)return t.rtlHelpers;var e=document.createElement("div");e.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var i=e.firstElementChild,n=i?.firstElementChild;if(!n)return null;document.body.appendChild(i),i.scrollLeft=0;var o=t.getOffset(i),r=t.getOffset(n);i.scrollLeft=-999;var s=t.getOffset(n);return document.body.removeChild(i),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:vh()}catch{return vh()}},t.getOffset=function(e){var i=e.getBoundingClientRect(),n=au(e),o=wn(e);return{top:i.top+(o.pageYOffset||n.documentElement.scrollTop),left:i.left+(o.pageXOffset||n.documentElement.scrollLeft)}},t.prototype.init=function(){cu.default&&(this.initDOM(),this.rtlHelpers=t.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.prototype.initDOM=function(){var e,i;this.wrapperEl=this.el.querySelector(ht(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(ht(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(ht(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(ht(this.classNames.offset)),this.maskEl=this.el.querySelector(ht(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,ht(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(ht(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(ht(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(ht(this.classNames.track)).concat(ht(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(ht(this.classNames.track)).concat(ht(this.classNames.vertical))),this.axis.x.scrollbar.el=((e=this.axis.x.track.el)===null||e===void 0?void 0:e.querySelector(ht(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((i=this.axis.y.track.el)===null||i===void 0?void 0:i.querySelector(ht(this.classNames.scrollbar)))||null,this.options.autoHide||(xn(this.axis.x.scrollbar.el,this.classNames.visible),xn(this.axis.y.scrollbar.el,this.classNames.visible))},t.prototype.initListeners=function(){var e=this,i,n=wn(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),(i=this.contentWrapperEl)===null||i===void 0||i.addEventListener("scroll",this.onScroll),n.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var o=!1,r=n.ResizeObserver||ResizeObserver;this.resizeObserver=new r(function(){o&&n.requestAnimationFrame(function(){e.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),n.requestAnimationFrame(function(){o=!0})}this.mutationObserver=new n.MutationObserver(function(){n.requestAnimationFrame(function(){e.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 e=wn(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var i=this.contentEl.offsetWidth,n=this.heightAutoObserverEl.offsetHeight<=1,o=this.heightAutoObserverEl.offsetWidth<=1||i>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 c=this.contentEl.scrollHeight,l=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?"auto":"100%",this.placeholderEl.style.width=o?"".concat(i||l,"px"):"auto",this.placeholderEl.style.height="".concat(c,"px");var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=i!==0&&l>i,this.axis.y.isOverflowing=c>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 p=this.axis.x.isOverflowing?this.scrollbarWidth:0,b=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&l>r-b,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&c>u-p,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(e){var i,n;if(e===void 0&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var o=this.contentEl[this.axis[e].scrollSizeAttr],r=(n=(i=this.axis[e].track.el)===null||i===void 0?void 0:i[this.axis[e].offsetSizeAttr])!==null&&n!==void 0?n: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(e){var i,n,o;e===void 0&&(e="y");var r=this.axis[e].scrollbar;if(!(!this.axis[e].isOverflowing||!this.contentWrapperEl||!r.el||!this.elStyles)){var s=this.contentWrapperEl[this.axis[e].scrollSizeAttr],a=((i=this.axis[e].track.el)===null||i===void 0?void 0:i[this.axis[e].offsetSizeAttr])||0,c=parseInt(this.elStyles[this.axis[e].sizeAttr],10),l=this.contentWrapperEl[this.axis[e].scrollOffsetAttr];l=e==="x"&&this.isRtl&&(!((n=t.getRtlHelpers())===null||n===void 0)&&n.isScrollOriginAtZero)?-l:l,e==="x"&&this.isRtl&&(l=!((o=t.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?l:-l);var u=l/(s-c),p=~~((a-r.size)*u);p=e==="x"&&this.isRtl?-p+(a-r.size):p,r.el.style.transform=e==="x"?"translate3d(".concat(p,"px, 0, 0)"):"translate3d(0, ".concat(p,"px, 0)")}},t.prototype.toggleTrackVisibility=function(e){e===void 0&&(e="y");var i=this.axis[e].track.el,n=this.axis[e].scrollbar.el;!i||!n||!this.contentWrapperEl||(this.axis[e].isOverflowing||this.axis[e].forceVisible?(i.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(i.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?n.style.display="block":n.style.display="none")},t.prototype.showScrollbar=function(e){e===void 0&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(xn(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},t.prototype.hideScrollbar=function(e){e===void 0&&(e="y"),this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(Dn(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].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(e){e===void 0&&(e="y");var i=this.axis[e];!i.track.el||!i.scrollbar.el||(i.track.rect=i.track.el.getBoundingClientRect(),i.scrollbar.rect=i.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(i.track.rect)?(this.showScrollbar(e),xn(i.track.el,this.classNames.hover),this.isWithinBounds(i.scrollbar.rect)?xn(i.scrollbar.el,this.classNames.hover):Dn(i.scrollbar.el,this.classNames.hover)):(Dn(i.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},t.prototype.onMouseLeaveForAxis=function(e){e===void 0&&(e="y"),Dn(this.axis[e].track.el,this.classNames.hover),Dn(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},t.prototype.onDragStart=function(e,i){var n;i===void 0&&(i="y");var o=au(this.el),r=wn(this.el),s=this.axis[i].scrollbar,a=i==="y"?e.pageY:e.pageX;this.axis[i].dragOffset=a-(((n=s.rect)===null||n===void 0?void 0:n[this.axis[i].offsetAttr])||0),this.draggedAxis=i,xn(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(e,i){var n=this,o,r,s,a;i===void 0&&(i="y");var c=this.axis[i];if(!(!this.options.clickOnTrack||!c.scrollbar.el||!this.contentWrapperEl)){e.preventDefault();var l=wn(this.el);this.axis[i].scrollbar.rect=c.scrollbar.el.getBoundingClientRect();var u=this.axis[i].scrollbar,p=(r=(o=u.rect)===null||o===void 0?void 0:o[this.axis[i].offsetAttr])!==null&&r!==void 0?r:0,b=parseInt((a=(s=this.elStyles)===null||s===void 0?void 0:s[this.axis[i].sizeAttr])!==null&&a!==void 0?a:"0px",10),v=this.contentWrapperEl[this.axis[i].scrollOffsetAttr],I=i==="y"?this.mouseY-p:this.mouseX-p,A=I<0?-1:1,W=A===-1?v-b:v+b,R=40,Ce=function(){n.contentWrapperEl&&(A===-1?v>W&&(v-=R,n.contentWrapperEl[n.axis[i].scrollOffsetAttr]=v,l.requestAnimationFrame(Ce)):v<W&&(v+=R,n.contentWrapperEl[n.axis[i].scrollOffsetAttr]=v,l.requestAnimationFrame(Ce)))};Ce()}},t.prototype.getContentElement=function(){return this.contentEl},t.prototype.getScrollElement=function(){return this.contentWrapperEl},t.prototype.removeListeners=function(){var e=wn(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),e.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(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},t.prototype.findChild=function(e,i){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(o){return n.call(o,i)})[0]},t.rtlHelpers=null,t.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",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=oD,t.helpers=iD,t}();var uu=function(t,e){return uu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(i[o]=n[o])},uu(t,e)};function rD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");uu(t,e);function i(){this.constructor=t}t.prototype=e===null?Object.create(e):(i.prototype=e.prototype,new i)}var Eh=Bo.helpers,lu=Eh.getOptions,Ot=Eh.addClasses,du=function(t){rD(e,t);function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=t.apply(this,i)||this;return e.instances.set(i[0],o),o}return e.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(i){i.getAttribute("data-simplebar")!=="init"&&!e.instances.has(i)&&new e(i,lu(i.attributes))})},e.removeObserver=function(){var i;(i=e.globalObserver)===null||i===void 0||i.disconnect()},e.prototype.initDOM=function(){var i=this,n,o,r;if(!Array.prototype.filter.call(this.el.children,function(c){return c.classList.contains(i.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"),Ot(this.wrapperEl,this.classNames.wrapper),Ot(this.contentWrapperEl,this.classNames.contentWrapper),Ot(this.offsetEl,this.classNames.offset),Ot(this.maskEl,this.classNames.mask),Ot(this.contentEl,this.classNames.contentEl),Ot(this.placeholderEl,this.classNames.placeholder),Ot(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Ot(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),(n=this.contentWrapperEl)===null||n===void 0||n.setAttribute("tabindex","0"),(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");Ot(s,this.classNames.track),Ot(a,this.classNames.scrollbar),s.appendChild(a),this.axis.x.track.el=s.cloneNode(!0),Ot(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=s.cloneNode(!0),Ot(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}Bo.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},e.prototype.unMount=function(){Bo.prototype.unMount.call(this),e.instances.delete(this.el)},e.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(e.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))},e.handleMutations=function(i){i.forEach(function(n){n.addedNodes.forEach(function(o){o.nodeType===1&&(o.hasAttribute("data-simplebar")?!e.instances.has(o)&&document.documentElement.contains(o)&&new e(o,lu(o.attributes)):o.querySelectorAll("[data-simplebar]").forEach(function(r){r.getAttribute("data-simplebar")!=="init"&&!e.instances.has(r)&&document.documentElement.contains(r)&&new e(r,lu(r.attributes))}))}),n.removedNodes.forEach(function(o){o.nodeType===1&&(o.getAttribute("data-simplebar")==="init"?e.instances.has(o)&&!document.documentElement.contains(o)&&e.instances.get(o).unMount():Array.prototype.forEach.call(o.querySelectorAll('[data-simplebar="init"]'),function(r){e.instances.has(r)&&!document.documentElement.contains(r)&&e.instances.get(r).unMount()}))})})},e.instances=new WeakMap,e}(Bo);Mh.default&&du.initHtmlApi();var kh=t=>({capitalize:t}),Sh=t=>[t];function sD(t,e){if(t&1){let i=N();m(0,"div",21),y("click",function(){let o=M(i).index,r=g(2).$implicit,s=g(2);return E(s._messageAction(r,o))}),S(1),h()}if(t&2){let i=e.$implicit,n=e.index,o=g(2).$implicit,r=g(2);f("title",r._getItemLinkTitle(o,n)),d(),te(i)}}function aD(t,e){if(t&1&&x(0,sD,2,2,"div",20),t&2){let i=g().$implicit,n=g(2);f("ngForOf",i.linkText.constructor===n.Array?i.linkText:Le(1,Sh,i.linkText))}}function cD(t,e){if(t&1){let i=N();m(0,"div",9)(1,"div",14),O(2,"div",15),m(3,"div",16),S(4),h(),m(5,"div",17),y("click",function(o){let r=M(i).$implicit,s=g(2);return E(s._closeMessage(r,!1,o))}),h()(),m(6,"div",18),S(7),h(),x(8,aD,1,3,"div",19),h()}if(t&2){let i=e.$implicit;d(2),f("ngClass","message-item-icon-"+i.type),d(),f("ngClass",Le(5,kh,i.capitalizedTitle)),d(),oe(" ",i.title," "),d(3),te(i.text),d(),Q(8,i.linkText?8:-1)}}function lD(t,e){if(t&1&&x(0,cD,9,7,"div",13),t&2){let i=g();f("ngForOf",i._messagesList)}}function uD(t,e){t&1&&(m(0,"div",22),O(1,"div",23),m(2,"div",24),S(3),re(4,"translate"),h()()),t&2&&(d(3),te(se(4,1,"_Notify_No_Messages")))}function dD(t,e){if(t&1){let i=N();m(0,"div",21),y("click",function(){let o=M(i).index,r=g(2).$implicit,s=g();return E(s._messageAction(r,o))}),S(1),h()}if(t&2){let i=e.$implicit,n=e.index,o=g(2).$implicit,r=g();f("title",r._getItemLinkTitle(o,n)),d(),te(i)}}function mD(t,e){if(t&1&&x(0,dD,2,2,"div",20),t&2){let i=g().$implicit,n=g();f("ngForOf",i.linkText.constructor===n.Array?i.linkText:Le(1,Sh,i.linkText))}}function pD(t,e){if(t&1){let i=N();m(0,"div",9)(1,"div",14),O(2,"div",15),m(3,"div",16),S(4),h(),m(5,"div",17),y("click",function(o){let r=M(i).$implicit,s=g();return E(s._closeMessage(r,!0,o))}),h()(),m(6,"div",18),S(7),h(),x(8,mD,1,3,"div",19),h()}if(t&2){let i=e.$implicit;d(2),f("ngClass","message-item-icon-"+i.type),d(),f("ngClass",Le(5,kh,i.capitalizedTitle)),d(),oe(" ",i.title," "),d(3),oe(" ",i.text," "),d(),Q(8,i.linkText?8:-1)}}var zs="bimplus-notify-messages",Oh=(()=>{let e=class e extends ae{constructor(n,o){super(n),this.Array=Array,this._messagesList=[],this.messagePreviewTime=3e3,this.showMessagePreview=!0,this.previewMessagesLimit=3,this.previewMessagesOffsetY="2.7em",this.messages="",this._menuOpened=!1,this._alertActive=!1,this._oldMessagesList=[],this._previewMessagesList=[],this.bimplusNotifyDeleteMessage=new D,this.bimplusNotifyDeleteAllMessages=new D,this.bimplusNotifyMessageAction=new D,this._element=o.nativeElement}get newMessages(){return this._alertActive}get bimNotify(){return!0}ngOnChanges(n){if(n.messages){let o=n.messages.currentValue;this.updateMessages(o)}}updateMessages(n){if(!(n&&typeof n=="string")){this._messagesList=[],this._previewMessagesList=[],this._alertActive=!1;return}let r=JSON.parse(n);this._messagesList=r.messages;let s=this._messagesList.filter(a=>this._oldMessagesList.findIndex(c=>c.id===a.id)<0);s=s.filter(a=>this._messageNotReadYet(a)),s.reverse().forEach(a=>{this._previewMessagesList.findIndex(c=>a.id===c.id)<0&&(this._previewMessagesList.unshift(a),this.messagePreviewTime>0&&setTimeout(()=>{this._closePreviewMessage(a.id,!1)},this.messagePreviewTime))}),this._previewMessagesList.length=this._previewMessagesList.length>this.previewMessagesLimit?this.previewMessagesLimit:this._previewMessagesList.length,this._oldMessagesList=this._messagesList,this._alertActive=this._messagesList.length!=0}ngOnInit(){this.updateMessages(this.messages)}ngAfterViewInit(){let n=this._element?.querySelector(".messages-container");n&&(this._simpleBar=new du(n))}ngAfterViewChecked(){let n=this._element;if(!n?.querySelector(".messages-container"))return;let r=n?.querySelectorAll(".messages-container > .message-item");!n?.querySelector(".simplebar-content")||!r||this._simpleBar&&this._simpleBar.recalculate()}_closeMessage(n,o,r){if(o)return this._closePreviewMessage(n.id);r&&(r.stopPropagation(),r.preventDefault()),ne(this,"bimplusNotifyDeleteMessage",JSON.stringify(n))}_closePreviewMessage(n,o=!0){n&&(this._previewMessagesList=this._previewMessagesList.filter(r=>r.id!==n),this.storeMessagesAsRead([n]),o&&this._previewMessagesList.length===0&&(this._alertActive=!1))}_deleteAllMessages(){ne(this,"bimplusNotifyDeleteAllMessages"),this.clearAllLocalStorageMessages()}_messageAction(n,o){n.actionId=o,ne(this,"bimplusNotifyMessageAction",JSON.stringify(n))}_toggleOpened(){this._menuOpened=!this._menuOpened,this._alertActive=!1,this._previewMessagesList=[]}_messageNotReadYet(n){if(!n?.id)return!0;let o=window.localStorage.getItem(zs);return o?!o.includes(n.id):!0}storeMessagesAsRead(n){if(!n||n.length<1)return;let o=window.localStorage.getItem(zs);o||(o=""),n.forEach(r=>{o?.includes(r)||(o+=r+";")}),window.localStorage.setItem(zs,o)}clearAllLocalStorageMessages(){window.localStorage.removeItem(zs)}_getItemLinkTitle(n,o){let r=[];return n.linkText&&(n.links||n.link)&&(r=Array.isArray(n.links)?n.links:[n.link]),r[o]??""}};e.\u0275fac=function(o){return new(o||e)(C(P),C(J))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-notify"]],hostVars:4,hostBindings:function(o,r){o&2&&ee("new-messages",r.newMessages)("bim-notify",r.bimNotify)},inputs:{messagePreviewTime:"messagePreviewTime",showMessagePreview:[_.HasDecoratorInputTransform,"showMessagePreview","showMessagePreview",w],previewMessagesLimit:"previewMessagesLimit",previewMessagesOffsetY:"previewMessagesOffsetY",messages:"messages"},outputs:{bimplusNotifyDeleteMessage:"bimplusNotifyDeleteMessage",bimplusNotifyDeleteAllMessages:"bimplusNotifyDeleteAllMessages",bimplusNotifyMessageAction:"bimplusNotifyMessageAction"},standalone:!0,features:[K([P]),be,z,Be,T],decls:19,vars:16,consts:[[1,"dropdown",3,"click","ngClass","title"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"notify-tick"],[1,"messages-title"],[1,"messages-count"],[1,"messages-delete-all",3,"click"],[1,"messages-container"],[1,"message-item"],[1,"bimcomp-overlay",3,"click","ngClass"],[1,"bimcomp-messages-preview",3,"ngClass"],[1,"messages-container-preview"],["class","message-item",4,"ngFor","ngForOf"],[1,"message-item-title"],[3,"ngClass"],[1,"message-item-title-text",3,"ngClass"],[1,"message-item-icon-close",3,"click"],[1,"message-item-body-text"],[1,"message-item-link",3,"title"],["class","message-item-link",3,"title","click",4,"ngFor","ngForOf"],[1,"message-item-link",3,"click","title"],[1,"message-item-empty"],[1,"message-item-empty-icon"],[1,"message-item-empty-text"]],template:function(o,r){o&1&&(m(0,"div",0),re(1,"translate"),y("click",function(){return r._toggleOpened()}),m(2,"div",1),O(3,"div",2),h(),m(4,"div",3),O(5,"div",4),m(6,"div",5)(7,"div",6),S(8),h(),m(9,"div",7),y("click",function(){return r._deleteAllMessages()}),S(10),re(11,"translate"),h()(),m(12,"div",8),x(13,lD,1,1,"div",9)(14,uD,5,3),h()()(),m(15,"div",10),y("click",function(){return r._toggleOpened()}),h(),m(16,"div",11)(17,"div",12),x(18,pD,9,7,"div",13),h()()),o&2&&(f("ngClass",r._menuOpened?"open":"")("title",se(1,12,"_BimplusNotifyTitle")),d(3),f("ngClass","icon-notify"+(r._alertActive?"-alert notify":"")),d(),f("ngClass",r._menuOpened?"open":""),d(4),oe(" (",r._messagesList.length,") "),d(2),oe(" ",se(11,14,"_Notify_Mark_All")," "),d(3),Q(13,r._messagesList.length?13:14),d(2),f("ngClass",r._menuOpened?"open":""),d(),Me("top",r.previewMessagesOffsetY),f("ngClass",r.showMessagePreview&&!r._menuOpened&&r._previewMessagesList.length>0?"visible":""),d(2),f("ngForOf",r._previewMessagesList))},dependencies:[j,X,Te,pe,Ve],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:after,.simplebar-content:before{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}.bim-notify{position:relative}.bim-notify .dropdown{position:relative;width:3.25em;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.bim-notify .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;cursor:pointer}.bim-notify .bimcomp-dropdown-menu,.bim-notify .bimcomp-messages-preview{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:2;display:none;width:19em;margin:0;padding:.5em .65em .57em 0}.bim-notify .bimcomp-dropdown-menu .messages-title,.bim-notify .bimcomp-messages-preview .messages-title{height:2em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;color:#fff;background-color:#444}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-count,.bim-notify .bimcomp-messages-preview .messages-title .messages-count,.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{cursor:pointer;font-size:.8125em;font-weight:400;margin:0 .8125em}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{text-decoration:underline}.bim-notify .bimcomp-dropdown-menu div,.bim-notify .bimcomp-messages-preview div{font-size:1em}.bim-notify .bimcomp-dropdown-menu .noselect,.bim-notify .bimcomp-messages-preview .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{display:flex;flex-direction:row;align-items:center;box-sizing:content-box;padding:.21em 2.1em}.bim-notify .bimcomp-dropdown-menu li span,.bim-notify .bimcomp-messages-preview li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li:hover,.bim-notify .bimcomp-messages-preview li:hover{background-color:#f5f5f5}.bim-notify .bimcomp-dropdown-menu ul,.bim-notify .bimcomp-messages-preview ul,.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{list-style:none}.bim-notify .bimcomp-dropdown-menu .notify-tick,.bim-notify .bimcomp-messages-preview .notify-tick{width:2em;height:1em;align-self:flex-end;background-image:url("./media/bimplus_Components_Notify_Tick_Up.svg");background-size:cover}.bim-notify .bimcomp-dropdown-menu.open,.bim-notify .bimcomp-messages-preview.visible{display:flex;flex-direction:column}.bim-notify .messages-container,.bim-notify .messages-container-preview{list-style:none;background-color:#fff;border:thin solid rgba(0,0,0,.15);-webkit-box-shadow:0 .43em .86em rgba(0,0,0,.175);box-shadow:0 .43em .86em #0000002d;text-decoration-color:#333;text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400;max-height:16em;overflow:hidden;overflow-y:visible;scrollbar-width:none}.bim-notify .messages-container::-webkit-scrollbar,.bim-notify .messages-container-preview::-webkit-scrollbar{display:none}.bim-notify .messages-container .message-item-empty,.bim-notify .messages-container-preview .message-item-empty{max-width:19em;max-height:6em;padding:.6em .8125em 0;box-sizing:border-box;display:flex;flex-direction:column;align-items:center}.bim-notify .messages-container .message-item-empty-icon,.bim-notify .messages-container-preview .message-item-empty-icon{width:2.5em;height:2.5em;background-image:url("./media/bimplus_Components_Notify_Empty.svg");background-size:cover}.bim-notify .messages-container .message-item-empty-text,.bim-notify .messages-container-preview .message-item-empty-text{font-size:.8125em;line-height:2.2em}.bim-notify .messages-container .message-item,.bim-notify .messages-container-preview .message-item{max-width:19em;border-bottom:1px solid #D3D3D3;padding:.6em .8125em;box-sizing:border-box}.bim-notify .messages-container .message-item-title,.bim-notify .messages-container-preview .message-item-title{display:flex;align-items:center;line-height:1.5em}.bim-notify .messages-container .message-item-title-text,.bim-notify .messages-container-preview .message-item-title-text{font-size:.8125em;font-weight:700;flex:1 1 auto;margin-left:.8125em}.bim-notify .messages-container .message-item-icon-info,.bim-notify .messages-container-preview .message-item-icon-info{width:1.125em;height:1.125em;background-image:url("./media/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-failure,.bim-notify .messages-container-preview .message-item-icon-failure{width:1.125em;height:1.125em;background-image:url("./media/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-close,.bim-notify .messages-container-preview .message-item-icon-close{cursor:pointer;width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./media/bimplus_Components_Notify_Close.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-body-text,.bim-notify .messages-container-preview .message-item-body-text{font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal}.bim-notify .messages-container .message-item-link,.bim-notify .messages-container-preview .message-item-link{color:#fe5000;text-decoration:underline;font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal;cursor:pointer}.bim-notify .messages-container .message-item:last-child,.bim-notify .messages-container-preview .message-item:last-child{border-bottom:none}.bim-notify .messages-container-preview{max-height:none;background-color:transparent;border:none;-webkit-box-shadow:none;box-shadow:none}.bim-notify .messages-container-preview .message-item{background-color:#fff;border:thin solid rgba(0,0,0,.15);-webkit-box-shadow:0 .3em .3em rgba(0,0,0,.175);box-shadow:0 .3em .3em #0000002d;margin-bottom:.5em}.bim-notify .icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.bim-notify .main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bim-notify .main-icon.notify{transform-origin:center top}@keyframes ringbell{0%{transform:rotate(0)}5%{transform:rotate(35deg)}15%{transform:rotate(-30deg)}25%{transform:rotate(25deg)}35%{transform:rotate(-20deg)}45%{transform:rotate(15deg)}55%{transform:rotate(-10deg)}65%{transform:rotate(5deg)}70%{transform:rotate(0)}to{transform:rotate(0)}}.bim-notify .bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bim-notify .bimcomp-overlay.open{display:block;z-index:1}.bim-notify .icon-notify{background-image:url("./media/bimplus_Components_Notify_Main.svg")}.bim-notify .icon-notify-alert{background-image:url("./media/bimplus_Components_Notify_Alert.svg")}.bim-notify .icon-notify-tick-up{background-image:url("./media/bimplus_Components_Notify_Tick_Up.svg")}.bim-notify .icon-notify-info{background-image:url("./media/bimplus_Components_Info.svg")}.bim-notify .icon-notify-failure{background-image:url("./media/bimplus_Components_Info.svg")}.bim-notify .icon-notify-close{background-image:url("./media/bimplus_Components_Notify_Close.svg")}.bim-notify .icon-notify-empty{background-image:url("./media/bimplus_Components_Notify_Empty.svg")}
|
|
15
|
+
`],encapsulation:3});let t=e;return t})();var Mh=Hu(ou(),1);var Dx=typeof global=="object"&&global&&global.Object===Object&&global,ah=Dx;var Ix=typeof self=="object"&&self&&self.Object===Object&&self,Mx=ah||Ix||Function("return this")(),Vs=Mx;var Ex=Vs.Symbol,zi=Ex;var ch=Object.prototype,kx=ch.hasOwnProperty,Sx=ch.toString,Vo=zi?zi.toStringTag:void 0;function Ox(t){var e=kx.call(t,Vo),i=t[Vo];try{t[Vo]=void 0;var n=!0}catch{}var o=Sx.call(t);return n&&(e?t[Vo]=i:delete t[Vo]),o}var lh=Ox;var Tx=Object.prototype,Ax=Tx.toString;function Px(t){return Ax.call(t)}var uh=Px;var Fx="[object Null]",Nx="[object Undefined]",dh=zi?zi.toStringTag:void 0;function jx(t){return t==null?t===void 0?Nx:Fx:dh&&dh in Object(t)?lh(t):uh(t)}var mh=jx;function Rx(t){return t!=null&&typeof t=="object"}var ph=Rx;var Lx="[object Symbol]";function Vx(t){return typeof t=="symbol"||ph(t)&&mh(t)==Lx}var fh=Vx;var Bx=/\s/;function zx(t){for(var e=t.length;e--&&Bx.test(t.charAt(e)););return e}var hh=zx;var Hx=/^\s+/;function $x(t){return t&&t.slice(0,hh(t)+1).replace(Hx,"")}var gh=$x;function Ux(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var qn=Ux;var bh=NaN,Wx=/^[-+]0x[0-9a-f]+$/i,Gx=/^0b[01]+$/i,qx=/^0o[0-7]+$/i,Zx=parseInt;function Yx(t){if(typeof t=="number")return t;if(fh(t))return bh;if(qn(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=qn(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=gh(t);var i=Gx.test(t);return i||qx.test(t)?Zx(t.slice(2),i?2:8):Wx.test(t)?bh:+t}var ru=Yx;var Qx=function(){return Vs.Date.now()},Bs=Qx;var Kx="Expected a function",Xx=Math.max,Jx=Math.min;function eD(t,e,i){var n,o,r,s,a,c,l=0,u=!1,p=!1,b=!0;if(typeof t!="function")throw new TypeError(Kx);e=ru(e)||0,qn(i)&&(u=!!i.leading,p="maxWait"in i,r=p?Xx(ru(i.maxWait)||0,e):r,b="trailing"in i?!!i.trailing:b);function v(ie){var Ue=n,it=o;return n=o=void 0,l=ie,s=t.apply(it,Ue),s}function I(ie){return l=ie,a=setTimeout(R,e),u?v(ie):s}function A(ie){var Ue=ie-c,it=ie-l,Qo=e-Ue;return p?Jx(Qo,r-it):Qo}function W(ie){var Ue=ie-c,it=ie-l;return c===void 0||Ue>=e||Ue<0||p&&it>=r}function R(){var ie=Bs();if(W(ie))return Ce(ie);a=setTimeout(R,A(ie))}function Ce(ie){return a=void 0,b&&n?v(ie):(n=o=void 0,s)}function Oe(){a!==void 0&&clearTimeout(a),l=0,n=c=o=a=void 0}function Ke(){return a===void 0?s:Ce(Bs())}function nt(){var ie=Bs(),Ue=W(ie);if(n=arguments,o=this,c=ie,Ue){if(a===void 0)return I(c);if(p)return clearTimeout(a),a=setTimeout(R,e),v(c)}return a===void 0&&(a=setTimeout(R,e)),s}return nt.cancel=Oe,nt.flush=Ke,nt}var Zn=eD;var tD="Expected a function";function nD(t,e,i){var n=!0,o=!0;if(typeof t!="function")throw new TypeError(tD);return qn(i)&&(n="leading"in i?!!i.leading:n,o="trailing"in i?!!i.trailing:o),Zn(t,e,{leading:n,maxWait:e,trailing:o})}var su=nD;var cu=Hu(ou(),1),$i=function(){return $i=Object.assign||function(e){for(var i,n=1,o=arguments.length;n<o;n++){i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},$i.apply(this,arguments)},Hi=null,_h=null;cu.default&&window.addEventListener("resize",function(){_h!==window.devicePixelRatio&&(_h=window.devicePixelRatio,Hi=null)});function vh(){if(Hi===null){if(typeof document>"u")return Hi=0,Hi;var t=document.body,e=document.createElement("div");e.classList.add("simplebar-hide-scrollbar"),t.appendChild(e);var i=e.getBoundingClientRect().right;t.removeChild(e),Hi=i}return Hi}function yh(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}function Ch(t){return!t||!t.ownerDocument?document:t.ownerDocument}var wh=function(t){var e={},i=Array.prototype.reduce.call(t,function(n,o){var r=o.name.match(/data-simplebar-(.+)/);if(r){var s=r[1].replace(/\W+(.)/g,function(a,c){return c.toUpperCase()});switch(o.value){case"true":n[s]=!0;break;case"false":n[s]=!1;break;case void 0:n[s]=!0;break;default:n[s]=o.value}}return n},e);return i};function xh(t,e){var i;t&&(i=t.classList).add.apply(i,e.split(" "))}function Dh(t,e){t&&e.split(" ").forEach(function(i){t.classList.remove(i)})}function Ih(t){return".".concat(t.split(" ").join("."))}var iD=Object.freeze({__proto__:null,addClasses:xh,classNamesToQuery:Ih,getElementDocument:Ch,getElementWindow:yh,getOptions:wh,removeClasses:Dh}),wn=yh,au=Ch,oD=wh,xn=xh,Dn=Dh,ht=Ih,Bo=function(){function t(e,i){i===void 0&&(i={});var n=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=wn(n.el);n.scrollXTicking||(o.requestAnimationFrame(n.scrollX),n.scrollXTicking=!0),n.scrollYTicking||(o.requestAnimationFrame(n.scrollY),n.scrollYTicking=!0),n.isScrolling||(n.isScrolling=!0,xn(n.el,n.classNames.scrolling)),n.showScrollbar("x"),n.showScrollbar("y"),n.onStopScrolling()},this.scrollX=function(){n.axis.x.isOverflowing&&n.positionScrollbar("x"),n.scrollXTicking=!1},this.scrollY=function(){n.axis.y.isOverflowing&&n.positionScrollbar("y"),n.scrollYTicking=!1},this._onStopScrolling=function(){Dn(n.el,n.classNames.scrolling),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isScrolling=!1},this.onMouseEnter=function(){n.isMouseEntering||(xn(n.el,n.classNames.mouseEntered),n.showScrollbar("x"),n.showScrollbar("y"),n.isMouseEntering=!0),n.onMouseEntered()},this._onMouseEntered=function(){Dn(n.el,n.classNames.mouseEntered),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isMouseEntering=!1},this._onMouseMove=function(o){n.mouseX=o.clientX,n.mouseY=o.clientY,(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseMoveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseMoveForAxis("y")},this.onMouseLeave=function(){n.onMouseMove.cancel(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseLeaveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseLeaveForAxis("y"),n.mouseX=-1,n.mouseY=-1},this._onWindowResize=function(){n.scrollbarWidth=n.getScrollbarWidth(),n.hideNativeScrollbar()},this.onPointerEvent=function(o){if(!(!n.axis.x.track.el||!n.axis.y.track.el||!n.axis.x.scrollbar.el||!n.axis.y.scrollbar.el)){var r,s;n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&(r=n.isWithinBounds(n.axis.x.track.rect)),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&(s=n.isWithinBounds(n.axis.y.track.rect)),(r||s)&&(o.stopPropagation(),o.type==="pointerdown"&&o.pointerType!=="touch"&&(r&&(n.axis.x.scrollbar.rect=n.axis.x.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.x.scrollbar.rect)?n.onDragStart(o,"x"):n.onTrackClick(o,"x")),s&&(n.axis.y.scrollbar.rect=n.axis.y.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.scrollbar.rect)?n.onDragStart(o,"y"):n.onTrackClick(o,"y"))))}},this.drag=function(o){var r,s,a,c,l,u,p,b,v,I,A;if(!(!n.draggedAxis||!n.contentWrapperEl)){var W,R=n.axis[n.draggedAxis].track,Ce=(s=(r=R.rect)===null||r===void 0?void 0:r[n.axis[n.draggedAxis].sizeAttr])!==null&&s!==void 0?s:0,Oe=n.axis[n.draggedAxis].scrollbar,Ke=(c=(a=n.contentWrapperEl)===null||a===void 0?void 0:a[n.axis[n.draggedAxis].scrollSizeAttr])!==null&&c!==void 0?c:0,nt=parseInt((u=(l=n.elStyles)===null||l===void 0?void 0:l[n.axis[n.draggedAxis].sizeAttr])!==null&&u!==void 0?u:"0px",10);o.preventDefault(),o.stopPropagation(),n.draggedAxis==="y"?W=o.pageY:W=o.pageX;var ie=W-((b=(p=R.rect)===null||p===void 0?void 0:p[n.axis[n.draggedAxis].offsetAttr])!==null&&b!==void 0?b:0)-n.axis[n.draggedAxis].dragOffset;ie=n.draggedAxis==="x"&&n.isRtl?((I=(v=R.rect)===null||v===void 0?void 0:v[n.axis[n.draggedAxis].sizeAttr])!==null&&I!==void 0?I:0)-Oe.size-ie:ie;var Ue=ie/(Ce-Oe.size),it=Ue*(Ke-nt);n.draggedAxis==="x"&&n.isRtl&&(it=!((A=t.getRtlHelpers())===null||A===void 0)&&A.isScrollingToNegative?-it:it),n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr]=it}},this.onEndDrag=function(o){n.isDragging=!1;var r=au(n.el),s=wn(n.el);o.preventDefault(),o.stopPropagation(),Dn(n.el,n.classNames.dragging),n.onStopScrolling(),r.removeEventListener("mousemove",n.drag,!0),r.removeEventListener("mouseup",n.onEndDrag,!0),n.removePreventClickId=s.setTimeout(function(){r.removeEventListener("click",n.preventClick,!0),r.removeEventListener("dblclick",n.preventClick,!0),n.removePreventClickId=null})},this.preventClick=function(o){o.preventDefault(),o.stopPropagation()},this.el=e,this.options=$i($i({},t.defaultOptions),i),this.classNames=$i($i({},t.defaultOptions.classNames),i.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=su(this._onMouseMove,64),this.onWindowResize=Zn(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Zn(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Zn(this._onMouseEntered,this.stopScrollDelay),this.init()}return t.getRtlHelpers=function(){if(t.rtlHelpers)return t.rtlHelpers;var e=document.createElement("div");e.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var i=e.firstElementChild,n=i?.firstElementChild;if(!n)return null;document.body.appendChild(i),i.scrollLeft=0;var o=t.getOffset(i),r=t.getOffset(n);i.scrollLeft=-999;var s=t.getOffset(n);return document.body.removeChild(i),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:vh()}catch{return vh()}},t.getOffset=function(e){var i=e.getBoundingClientRect(),n=au(e),o=wn(e);return{top:i.top+(o.pageYOffset||n.documentElement.scrollTop),left:i.left+(o.pageXOffset||n.documentElement.scrollLeft)}},t.prototype.init=function(){cu.default&&(this.initDOM(),this.rtlHelpers=t.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.prototype.initDOM=function(){var e,i;this.wrapperEl=this.el.querySelector(ht(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(ht(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(ht(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(ht(this.classNames.offset)),this.maskEl=this.el.querySelector(ht(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,ht(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(ht(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(ht(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(ht(this.classNames.track)).concat(ht(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(ht(this.classNames.track)).concat(ht(this.classNames.vertical))),this.axis.x.scrollbar.el=((e=this.axis.x.track.el)===null||e===void 0?void 0:e.querySelector(ht(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((i=this.axis.y.track.el)===null||i===void 0?void 0:i.querySelector(ht(this.classNames.scrollbar)))||null,this.options.autoHide||(xn(this.axis.x.scrollbar.el,this.classNames.visible),xn(this.axis.y.scrollbar.el,this.classNames.visible))},t.prototype.initListeners=function(){var e=this,i,n=wn(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),(i=this.contentWrapperEl)===null||i===void 0||i.addEventListener("scroll",this.onScroll),n.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var o=!1,r=n.ResizeObserver||ResizeObserver;this.resizeObserver=new r(function(){o&&n.requestAnimationFrame(function(){e.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),n.requestAnimationFrame(function(){o=!0})}this.mutationObserver=new n.MutationObserver(function(){n.requestAnimationFrame(function(){e.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 e=wn(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var i=this.contentEl.offsetWidth,n=this.heightAutoObserverEl.offsetHeight<=1,o=this.heightAutoObserverEl.offsetWidth<=1||i>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 c=this.contentEl.scrollHeight,l=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?"auto":"100%",this.placeholderEl.style.width=o?"".concat(i||l,"px"):"auto",this.placeholderEl.style.height="".concat(c,"px");var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=i!==0&&l>i,this.axis.y.isOverflowing=c>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 p=this.axis.x.isOverflowing?this.scrollbarWidth:0,b=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&l>r-b,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&c>u-p,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(e){var i,n;if(e===void 0&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var o=this.contentEl[this.axis[e].scrollSizeAttr],r=(n=(i=this.axis[e].track.el)===null||i===void 0?void 0:i[this.axis[e].offsetSizeAttr])!==null&&n!==void 0?n: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(e){var i,n,o;e===void 0&&(e="y");var r=this.axis[e].scrollbar;if(!(!this.axis[e].isOverflowing||!this.contentWrapperEl||!r.el||!this.elStyles)){var s=this.contentWrapperEl[this.axis[e].scrollSizeAttr],a=((i=this.axis[e].track.el)===null||i===void 0?void 0:i[this.axis[e].offsetSizeAttr])||0,c=parseInt(this.elStyles[this.axis[e].sizeAttr],10),l=this.contentWrapperEl[this.axis[e].scrollOffsetAttr];l=e==="x"&&this.isRtl&&(!((n=t.getRtlHelpers())===null||n===void 0)&&n.isScrollOriginAtZero)?-l:l,e==="x"&&this.isRtl&&(l=!((o=t.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?l:-l);var u=l/(s-c),p=~~((a-r.size)*u);p=e==="x"&&this.isRtl?-p+(a-r.size):p,r.el.style.transform=e==="x"?"translate3d(".concat(p,"px, 0, 0)"):"translate3d(0, ".concat(p,"px, 0)")}},t.prototype.toggleTrackVisibility=function(e){e===void 0&&(e="y");var i=this.axis[e].track.el,n=this.axis[e].scrollbar.el;!i||!n||!this.contentWrapperEl||(this.axis[e].isOverflowing||this.axis[e].forceVisible?(i.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(i.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?n.style.display="block":n.style.display="none")},t.prototype.showScrollbar=function(e){e===void 0&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(xn(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},t.prototype.hideScrollbar=function(e){e===void 0&&(e="y"),!this.isDragging&&this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(Dn(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].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(e){e===void 0&&(e="y");var i=this.axis[e];!i.track.el||!i.scrollbar.el||(i.track.rect=i.track.el.getBoundingClientRect(),i.scrollbar.rect=i.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(i.track.rect)?(this.showScrollbar(e),xn(i.track.el,this.classNames.hover),this.isWithinBounds(i.scrollbar.rect)?xn(i.scrollbar.el,this.classNames.hover):Dn(i.scrollbar.el,this.classNames.hover)):(Dn(i.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},t.prototype.onMouseLeaveForAxis=function(e){e===void 0&&(e="y"),Dn(this.axis[e].track.el,this.classNames.hover),Dn(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},t.prototype.onDragStart=function(e,i){var n;i===void 0&&(i="y"),this.isDragging=!0;var o=au(this.el),r=wn(this.el),s=this.axis[i].scrollbar,a=i==="y"?e.pageY:e.pageX;this.axis[i].dragOffset=a-(((n=s.rect)===null||n===void 0?void 0:n[this.axis[i].offsetAttr])||0),this.draggedAxis=i,xn(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(e,i){var n=this,o,r,s,a;i===void 0&&(i="y");var c=this.axis[i];if(!(!this.options.clickOnTrack||!c.scrollbar.el||!this.contentWrapperEl)){e.preventDefault();var l=wn(this.el);this.axis[i].scrollbar.rect=c.scrollbar.el.getBoundingClientRect();var u=this.axis[i].scrollbar,p=(r=(o=u.rect)===null||o===void 0?void 0:o[this.axis[i].offsetAttr])!==null&&r!==void 0?r:0,b=parseInt((a=(s=this.elStyles)===null||s===void 0?void 0:s[this.axis[i].sizeAttr])!==null&&a!==void 0?a:"0px",10),v=this.contentWrapperEl[this.axis[i].scrollOffsetAttr],I=i==="y"?this.mouseY-p:this.mouseX-p,A=I<0?-1:1,W=A===-1?v-b:v+b,R=40,Ce=function(){n.contentWrapperEl&&(A===-1?v>W&&(v-=R,n.contentWrapperEl[n.axis[i].scrollOffsetAttr]=v,l.requestAnimationFrame(Ce)):v<W&&(v+=R,n.contentWrapperEl[n.axis[i].scrollOffsetAttr]=v,l.requestAnimationFrame(Ce)))};Ce()}},t.prototype.getContentElement=function(){return this.contentEl},t.prototype.getScrollElement=function(){return this.contentWrapperEl},t.prototype.removeListeners=function(){var e=wn(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),e.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(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},t.prototype.findChild=function(e,i){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(o){return n.call(o,i)})[0]},t.rtlHelpers=null,t.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",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=oD,t.helpers=iD,t}();var uu=function(t,e){return uu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(i[o]=n[o])},uu(t,e)};function rD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");uu(t,e);function i(){this.constructor=t}t.prototype=e===null?Object.create(e):(i.prototype=e.prototype,new i)}var Eh=Bo.helpers,lu=Eh.getOptions,Ot=Eh.addClasses,du=function(t){rD(e,t);function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=t.apply(this,i)||this;return e.instances.set(i[0],o),o}return e.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(i){i.getAttribute("data-simplebar")!=="init"&&!e.instances.has(i)&&new e(i,lu(i.attributes))})},e.removeObserver=function(){var i;(i=e.globalObserver)===null||i===void 0||i.disconnect()},e.prototype.initDOM=function(){var i=this,n,o,r;if(!Array.prototype.filter.call(this.el.children,function(c){return c.classList.contains(i.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"),Ot(this.wrapperEl,this.classNames.wrapper),Ot(this.contentWrapperEl,this.classNames.contentWrapper),Ot(this.offsetEl,this.classNames.offset),Ot(this.maskEl,this.classNames.mask),Ot(this.contentEl,this.classNames.contentEl),Ot(this.placeholderEl,this.classNames.placeholder),Ot(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Ot(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),(n=this.contentWrapperEl)===null||n===void 0||n.setAttribute("tabindex","0"),(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");Ot(s,this.classNames.track),Ot(a,this.classNames.scrollbar),s.appendChild(a),this.axis.x.track.el=s.cloneNode(!0),Ot(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=s.cloneNode(!0),Ot(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}Bo.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},e.prototype.unMount=function(){Bo.prototype.unMount.call(this),e.instances.delete(this.el)},e.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(e.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))},e.handleMutations=function(i){i.forEach(function(n){n.addedNodes.forEach(function(o){o.nodeType===1&&(o.hasAttribute("data-simplebar")?!e.instances.has(o)&&document.documentElement.contains(o)&&new e(o,lu(o.attributes)):o.querySelectorAll("[data-simplebar]").forEach(function(r){r.getAttribute("data-simplebar")!=="init"&&!e.instances.has(r)&&document.documentElement.contains(r)&&new e(r,lu(r.attributes))}))}),n.removedNodes.forEach(function(o){var r;o.nodeType===1&&(o.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(o)&&((r=e.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=e.instances.get(s))===null||a===void 0||a.unMount())}))})})},e.instances=new WeakMap,e}(Bo);Mh.default&&du.initHtmlApi();var kh=t=>({capitalize:t}),Sh=t=>[t];function sD(t,e){if(t&1){let i=N();m(0,"div",21),y("click",function(){let o=M(i).index,r=g(2).$implicit,s=g(2);return E(s._messageAction(r,o))}),S(1),h()}if(t&2){let i=e.$implicit,n=e.index,o=g(2).$implicit,r=g(2);f("title",r._getItemLinkTitle(o,n)),d(),te(i)}}function aD(t,e){if(t&1&&x(0,sD,2,2,"div",20),t&2){let i=g().$implicit,n=g(2);f("ngForOf",i.linkText.constructor===n.Array?i.linkText:Le(1,Sh,i.linkText))}}function cD(t,e){if(t&1){let i=N();m(0,"div",9)(1,"div",14),O(2,"div",15),m(3,"div",16),S(4),h(),m(5,"div",17),y("click",function(o){let r=M(i).$implicit,s=g(2);return E(s._closeMessage(r,!1,o))}),h()(),m(6,"div",18),S(7),h(),x(8,aD,1,3,"div",19),h()}if(t&2){let i=e.$implicit;d(2),f("ngClass","message-item-icon-"+i.type),d(),f("ngClass",Le(5,kh,i.capitalizedTitle)),d(),oe(" ",i.title," "),d(3),te(i.text),d(),Q(8,i.linkText?8:-1)}}function lD(t,e){if(t&1&&x(0,cD,9,7,"div",13),t&2){let i=g();f("ngForOf",i._messagesList)}}function uD(t,e){t&1&&(m(0,"div",22),O(1,"div",23),m(2,"div",24),S(3),re(4,"translate"),h()()),t&2&&(d(3),te(se(4,1,"_Notify_No_Messages")))}function dD(t,e){if(t&1){let i=N();m(0,"div",21),y("click",function(){let o=M(i).index,r=g(2).$implicit,s=g();return E(s._messageAction(r,o))}),S(1),h()}if(t&2){let i=e.$implicit,n=e.index,o=g(2).$implicit,r=g();f("title",r._getItemLinkTitle(o,n)),d(),te(i)}}function mD(t,e){if(t&1&&x(0,dD,2,2,"div",20),t&2){let i=g().$implicit,n=g();f("ngForOf",i.linkText.constructor===n.Array?i.linkText:Le(1,Sh,i.linkText))}}function pD(t,e){if(t&1){let i=N();m(0,"div",9)(1,"div",14),O(2,"div",15),m(3,"div",16),S(4),h(),m(5,"div",17),y("click",function(o){let r=M(i).$implicit,s=g();return E(s._closeMessage(r,!0,o))}),h()(),m(6,"div",18),S(7),h(),x(8,mD,1,3,"div",19),h()}if(t&2){let i=e.$implicit;d(2),f("ngClass","message-item-icon-"+i.type),d(),f("ngClass",Le(5,kh,i.capitalizedTitle)),d(),oe(" ",i.title," "),d(3),oe(" ",i.text," "),d(),Q(8,i.linkText?8:-1)}}var zs="bimplus-notify-messages",Oh=(()=>{let e=class e extends ae{constructor(n,o){super(n),this.Array=Array,this._messagesList=[],this.messagePreviewTime=3e3,this.showMessagePreview=!0,this.previewMessagesLimit=3,this.previewMessagesOffsetY="2.7em",this.messages="",this._menuOpened=!1,this._alertActive=!1,this._oldMessagesList=[],this._previewMessagesList=[],this.bimplusNotifyDeleteMessage=new D,this.bimplusNotifyDeleteAllMessages=new D,this.bimplusNotifyMessageAction=new D,this._element=o.nativeElement}get newMessages(){return this._alertActive}get bimNotify(){return!0}ngOnChanges(n){if(n.messages){let o=n.messages.currentValue;this.updateMessages(o)}}updateMessages(n){if(!(n&&typeof n=="string")){this._messagesList=[],this._previewMessagesList=[],this._alertActive=!1;return}let r=JSON.parse(n);this._messagesList=r.messages;let s=this._messagesList.filter(a=>this._oldMessagesList.findIndex(c=>c.id===a.id)<0);s=s.filter(a=>this._messageNotReadYet(a)),s.reverse().forEach(a=>{this._previewMessagesList.findIndex(c=>a.id===c.id)<0&&(this._previewMessagesList.unshift(a),this.messagePreviewTime>0&&setTimeout(()=>{this._closePreviewMessage(a.id,!1)},this.messagePreviewTime))}),this._previewMessagesList.length=this._previewMessagesList.length>this.previewMessagesLimit?this.previewMessagesLimit:this._previewMessagesList.length,this._oldMessagesList=this._messagesList,this._alertActive=this._messagesList.length!=0}ngOnInit(){this.updateMessages(this.messages)}ngAfterViewInit(){let n=this._element?.querySelector(".messages-container");n&&(this._simpleBar=new du(n))}ngAfterViewChecked(){let n=this._element;if(!n?.querySelector(".messages-container"))return;let r=n?.querySelectorAll(".messages-container > .message-item");!n?.querySelector(".simplebar-content")||!r||this._simpleBar&&this._simpleBar.recalculate()}_closeMessage(n,o,r){if(o)return this._closePreviewMessage(n.id);r&&(r.stopPropagation(),r.preventDefault()),ne(this,"bimplusNotifyDeleteMessage",JSON.stringify(n))}_closePreviewMessage(n,o=!0){n&&(this._previewMessagesList=this._previewMessagesList.filter(r=>r.id!==n),this.storeMessagesAsRead([n]),o&&this._previewMessagesList.length===0&&(this._alertActive=!1))}_deleteAllMessages(){ne(this,"bimplusNotifyDeleteAllMessages"),this.clearAllLocalStorageMessages()}_messageAction(n,o){n.actionId=o,ne(this,"bimplusNotifyMessageAction",JSON.stringify(n))}_toggleOpened(){this._menuOpened=!this._menuOpened,this._alertActive=!1,this._previewMessagesList=[]}_messageNotReadYet(n){if(!n?.id)return!0;let o=window.localStorage.getItem(zs);return o?!o.includes(n.id):!0}storeMessagesAsRead(n){if(!n||n.length<1)return;let o=window.localStorage.getItem(zs);o||(o=""),n.forEach(r=>{o?.includes(r)||(o+=r+";")}),window.localStorage.setItem(zs,o)}clearAllLocalStorageMessages(){window.localStorage.removeItem(zs)}_getItemLinkTitle(n,o){let r=[];return n.linkText&&(n.links||n.link)&&(r=Array.isArray(n.links)?n.links:[n.link]),r[o]??""}};e.\u0275fac=function(o){return new(o||e)(C(P),C(J))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-notify"]],hostVars:4,hostBindings:function(o,r){o&2&&ee("new-messages",r.newMessages)("bim-notify",r.bimNotify)},inputs:{messagePreviewTime:"messagePreviewTime",showMessagePreview:[_.HasDecoratorInputTransform,"showMessagePreview","showMessagePreview",w],previewMessagesLimit:"previewMessagesLimit",previewMessagesOffsetY:"previewMessagesOffsetY",messages:"messages"},outputs:{bimplusNotifyDeleteMessage:"bimplusNotifyDeleteMessage",bimplusNotifyDeleteAllMessages:"bimplusNotifyDeleteAllMessages",bimplusNotifyMessageAction:"bimplusNotifyMessageAction"},standalone:!0,features:[K([P]),be,z,Be,T],decls:19,vars:16,consts:[[1,"dropdown",3,"click","ngClass","title"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"notify-tick"],[1,"messages-title"],[1,"messages-count"],[1,"messages-delete-all",3,"click"],[1,"messages-container"],[1,"message-item"],[1,"bimcomp-overlay",3,"click","ngClass"],[1,"bimcomp-messages-preview",3,"ngClass"],[1,"messages-container-preview"],["class","message-item",4,"ngFor","ngForOf"],[1,"message-item-title"],[3,"ngClass"],[1,"message-item-title-text",3,"ngClass"],[1,"message-item-icon-close",3,"click"],[1,"message-item-body-text"],[1,"message-item-link",3,"title"],["class","message-item-link",3,"title","click",4,"ngFor","ngForOf"],[1,"message-item-link",3,"click","title"],[1,"message-item-empty"],[1,"message-item-empty-icon"],[1,"message-item-empty-text"]],template:function(o,r){o&1&&(m(0,"div",0),re(1,"translate"),y("click",function(){return r._toggleOpened()}),m(2,"div",1),O(3,"div",2),h(),m(4,"div",3),O(5,"div",4),m(6,"div",5)(7,"div",6),S(8),h(),m(9,"div",7),y("click",function(){return r._deleteAllMessages()}),S(10),re(11,"translate"),h()(),m(12,"div",8),x(13,lD,1,1,"div",9)(14,uD,5,3),h()()(),m(15,"div",10),y("click",function(){return r._toggleOpened()}),h(),m(16,"div",11)(17,"div",12),x(18,pD,9,7,"div",13),h()()),o&2&&(f("ngClass",r._menuOpened?"open":"")("title",se(1,12,"_BimplusNotifyTitle")),d(3),f("ngClass","icon-notify"+(r._alertActive?"-alert notify":"")),d(),f("ngClass",r._menuOpened?"open":""),d(4),oe(" (",r._messagesList.length,") "),d(2),oe(" ",se(11,14,"_Notify_Mark_All")," "),d(3),Q(13,r._messagesList.length?13:14),d(2),f("ngClass",r._menuOpened?"open":""),d(),Me("top",r.previewMessagesOffsetY),f("ngClass",r.showMessagePreview&&!r._menuOpened&&r._previewMessagesList.length>0?"visible":""),d(2),f("ngForOf",r._previewMessagesList))},dependencies:[j,X,Te,pe,Ve],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:after,.simplebar-content:before{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}.bim-notify{position:relative}.bim-notify .dropdown{position:relative;width:3.25em;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.bim-notify .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;cursor:pointer}.bim-notify .bimcomp-dropdown-menu,.bim-notify .bimcomp-messages-preview{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:2;display:none;width:19em;margin:0;padding:.5em .65em .57em 0}.bim-notify .bimcomp-dropdown-menu .messages-title,.bim-notify .bimcomp-messages-preview .messages-title{height:2em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;color:#fff;background-color:#444}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-count,.bim-notify .bimcomp-messages-preview .messages-title .messages-count,.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{cursor:pointer;font-size:.8125em;font-weight:400;margin:0 .8125em}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{text-decoration:underline}.bim-notify .bimcomp-dropdown-menu div,.bim-notify .bimcomp-messages-preview div{font-size:1em}.bim-notify .bimcomp-dropdown-menu .noselect,.bim-notify .bimcomp-messages-preview .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{display:flex;flex-direction:row;align-items:center;box-sizing:content-box;padding:.21em 2.1em}.bim-notify .bimcomp-dropdown-menu li span,.bim-notify .bimcomp-messages-preview li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li:hover,.bim-notify .bimcomp-messages-preview li:hover{background-color:#f5f5f5}.bim-notify .bimcomp-dropdown-menu ul,.bim-notify .bimcomp-messages-preview ul,.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{list-style:none}.bim-notify .bimcomp-dropdown-menu .notify-tick,.bim-notify .bimcomp-messages-preview .notify-tick{width:2em;height:1em;align-self:flex-end;background-image:url("./media/bimplus_Components_Notify_Tick_Up.svg");background-size:cover}.bim-notify .bimcomp-dropdown-menu.open,.bim-notify .bimcomp-messages-preview.visible{display:flex;flex-direction:column}.bim-notify .messages-container,.bim-notify .messages-container-preview{list-style:none;background-color:#fff;border:thin solid rgba(0,0,0,.15);-webkit-box-shadow:0 .43em .86em rgba(0,0,0,.175);box-shadow:0 .43em .86em #0000002d;text-decoration-color:#333;text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400;max-height:16em;overflow:hidden;overflow-y:visible;scrollbar-width:none}.bim-notify .messages-container::-webkit-scrollbar,.bim-notify .messages-container-preview::-webkit-scrollbar{display:none}.bim-notify .messages-container .message-item-empty,.bim-notify .messages-container-preview .message-item-empty{max-width:19em;max-height:6em;padding:.6em .8125em 0;box-sizing:border-box;display:flex;flex-direction:column;align-items:center}.bim-notify .messages-container .message-item-empty-icon,.bim-notify .messages-container-preview .message-item-empty-icon{width:2.5em;height:2.5em;background-image:url("./media/bimplus_Components_Notify_Empty.svg");background-size:cover}.bim-notify .messages-container .message-item-empty-text,.bim-notify .messages-container-preview .message-item-empty-text{font-size:.8125em;line-height:2.2em}.bim-notify .messages-container .message-item,.bim-notify .messages-container-preview .message-item{max-width:19em;border-bottom:1px solid #D3D3D3;padding:.6em .8125em;box-sizing:border-box}.bim-notify .messages-container .message-item-title,.bim-notify .messages-container-preview .message-item-title{display:flex;align-items:center;line-height:1.5em}.bim-notify .messages-container .message-item-title-text,.bim-notify .messages-container-preview .message-item-title-text{font-size:.8125em;font-weight:700;flex:1 1 auto;margin-left:.8125em}.bim-notify .messages-container .message-item-icon-info,.bim-notify .messages-container-preview .message-item-icon-info{width:1.125em;height:1.125em;background-image:url("./media/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-failure,.bim-notify .messages-container-preview .message-item-icon-failure{width:1.125em;height:1.125em;background-image:url("./media/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-close,.bim-notify .messages-container-preview .message-item-icon-close{cursor:pointer;width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./media/bimplus_Components_Notify_Close.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-body-text,.bim-notify .messages-container-preview .message-item-body-text{font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal}.bim-notify .messages-container .message-item-link,.bim-notify .messages-container-preview .message-item-link{color:#fe5000;text-decoration:underline;font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal;cursor:pointer}.bim-notify .messages-container .message-item:last-child,.bim-notify .messages-container-preview .message-item:last-child{border-bottom:none}.bim-notify .messages-container-preview{max-height:none;background-color:transparent;border:none;-webkit-box-shadow:none;box-shadow:none}.bim-notify .messages-container-preview .message-item{background-color:#fff;border:thin solid rgba(0,0,0,.15);-webkit-box-shadow:0 .3em .3em rgba(0,0,0,.175);box-shadow:0 .3em .3em #0000002d;margin-bottom:.5em}.bim-notify .icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.bim-notify .main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bim-notify .main-icon.notify{transform-origin:center top}@keyframes ringbell{0%{transform:rotate(0)}5%{transform:rotate(35deg)}15%{transform:rotate(-30deg)}25%{transform:rotate(25deg)}35%{transform:rotate(-20deg)}45%{transform:rotate(15deg)}55%{transform:rotate(-10deg)}65%{transform:rotate(5deg)}70%{transform:rotate(0)}to{transform:rotate(0)}}.bim-notify .bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bim-notify .bimcomp-overlay.open{display:block;z-index:1}.bim-notify .icon-notify{background-image:url("./media/bimplus_Components_Notify_Main.svg")}.bim-notify .icon-notify-alert{background-image:url("./media/bimplus_Components_Notify_Alert.svg")}.bim-notify .icon-notify-tick-up{background-image:url("./media/bimplus_Components_Notify_Tick_Up.svg")}.bim-notify .icon-notify-info{background-image:url("./media/bimplus_Components_Info.svg")}.bim-notify .icon-notify-failure{background-image:url("./media/bimplus_Components_Info.svg")}.bim-notify .icon-notify-close{background-image:url("./media/bimplus_Components_Notify_Close.svg")}.bim-notify .icon-notify-empty{background-image:url("./media/bimplus_Components_Notify_Empty.svg")}
|
|
16
16
|
`],encapsulation:2});let t=e;return t})();var Th=(()=>{let e=class e{transform(n){return n+"px"}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=wo({name:"pxsuffix",type:e,pure:!0,standalone:!0});let t=e;return t})();var Ah=(()=>{let e=class e{constructor(){this.oldX=0,this.isDragging=!1,this.wasDragging=!1,this.isMouseDown=!1,this.dragging=new D,this.clicked=new D}onMouseMove(n){if(!this.isDragging&&!this.isMouseDown)return;let o=n.clientX-this.oldX;if(!this.isDragging)if(Math.abs(o)>2)this.isDragging=!0,this.wasDragging=!0;else return;ne(this,"dragging",o),this.oldX=n.clientX}onMouseUp(){this.isDragging=!1,this.isMouseDown=!1}onMouseDown(n){this.isMouseDown=!0,this.wasDragging=!1,this.oldX=n.clientX}onMouseClick(n){this.wasDragging||ne(this,"clicked",n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=H({type:e,selectors:[["","xDraggable",""]],hostBindings:function(o,r){o&1&&y("mousemove",function(a){return r.onMouseMove(a)},!1,gn)("mouseup",function(a){return r.onMouseUp(a)},!1,gn)("mousedown",function(a){return r.onMouseDown(a)})("click",function(a){return r.onMouseClick(a)})},outputs:{dragging:"dragging",clicked:"clicked"},standalone:!0});let t=e;return t})();function fD(t,e){if(t&1&&O(0,"div",7),t&2){let i=g().$implicit;Me("background"," no-repeat center center url("+i.iconDisabled+")"),Z("data-test","sidenav_item_"+i.id)}}function hD(t,e){if(t&1){let i=N();m(0,"div",8),y("click",function(){M(i);let o=g(3);return E(o._toggleDrawer())}),h()}if(t&2){let i=g(2).$implicit;Me("background"," no-repeat center center url("+i.iconActive+")"),Z("data-test","sidenav_item_"+i.id)}}function gD(t,e){if(t&1){let i=N();m(0,"div",8),y("click",function(){M(i);let o=g(2).$implicit,r=g();return E(r._activateItem(o.id))}),h()}if(t&2){let i=g(2).$implicit;Me("background"," no-repeat center center url("+i.icon+")"),Z("data-test","sidenav_item_"+i.id)}}function bD(t,e){if(t&1&&x(0,hD,1,3,"div",6)(1,gD,1,3),t&2){let i=g().$implicit,n=g();Q(0,n.activeItem===i.id?0:1)}}function _D(t,e){if(t&1&&(m(0,"div",5),x(1,fD,1,3,"div",6)(2,bD,2,1),h()),t&2){let i=e.$implicit;d(),Q(1,i.disabled?1:2)}}function vD(t,e){if(t&1){let i=N();m(0,"div",5)(1,"div",8),y("click",function(){let o=M(i).$implicit,r=g(2);return E(r._clickAction(o.id))}),h()()}if(t&2){let i=e.$implicit;d(),Me("background"," no-repeat center center url("+i.icon+")"),Z("data-test","sidenav_action_item_"+i.id)}}function yD(t,e){if(t&1&&(O(0,"div",9),x(1,vD,2,3,"div",1)),t&2){let i=g();d(),f("ngForOf",i.actionItems)}}function CD(t,e){if(t&1){let i=N();m(0,"div",2)(1,"div",8),y("click",function(){M(i);let o=g();return E(o._clickFooter(o.footerItem.id))}),h()()}if(t&2){let i=g();d(),Me("background"," no-repeat center center url("+i.footerItem.icon+")"),Z("data-test","sidenav_footer_item_"+i.footerItem.id)}}function wD(t,e){if(t&1){let i=N();m(0,"div",10),y("dragging",function(o){M(i);let r=g();return E(r._onResizeWidth(o))}),h(),m(1,"div",11),y("dragging",function(o){M(i);let r=g();return E(r._onResizeWidth(o))})("clicked",function(){M(i);let o=g();return E(o._toggleDrawer())}),h()}}function xD(t,e){if(t&1){let i=N();m(0,"div",12),y("click",function(){M(i);let o=g();return E(o._toggleDrawer())}),h()}}var Ph=(()=>{let e=class e extends ae{constructor(n){super(n),this.activeItem="",this.drawerWidth=300,this.drawerExpanded=!0,this.activeItemChanged=new D,this.actionClicked=new D,this.footerClicked=new D,this._items=new Array,this._actionItems=new Array,this._footerItem=null}get items(){return this._items}set items(n){this._items.length=0,this._items=n,this.items.length>0&&this._activateItem(this.items[0].id)}get actionItems(){return this._actionItems}set actionItems(n){this._actionItems.length=0,this._actionItems=n}get footerItem(){return this._footerItem}set footerItem(n){this._footerItem=n}_activateItem(n){this.activeItem=n,this._items.find(r=>r.id==n)&&(this.drawerExpanded||this._toggleDrawer(),ne(this,"activeItemChanged",n))}_clickAction(n){ne(this,"actionClicked",n)}_clickFooter(n){ne(this,"footerClicked",n)}_toggleDrawer(){this.drawerExpanded=!this.drawerExpanded}_onResizeWidth(n){let o=n;this.drawerWidth+=o}};e.\u0275fac=function(o){return new(o||e)(C(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-sidenav"]],inputs:{items:"items",actionItems:"actionItems",footerItem:"footerItem"},outputs:{activeItemChanged:"activeItemChanged",actionClicked:"actionClicked",footerClicked:"footerClicked"},standalone:!0,features:[K([P]),z,T],decls:9,vars:10,consts:[[1,"sidenav"],["class","sidenav-row",4,"ngFor","ngForOf"],[1,"sidenav-row-footer"],[1,"sidenav-drawer",3,"ngClass"],["data-test","sidenav-resize-handle",1,"sidenav-resize-handle-left","collapsed"],[1,"sidenav-row"],[1,"sidenav-item",3,"background"],[1,"sidenav-item"],[1,"sidenav-item",3,"click"],[1,"sidenav-separator"],["xDraggable","",1,"sidenav-resize-border-right",3,"dragging"],["xDraggable","","data-test","sidenav-resize-handle",1,"sidenav-resize-handle-left",3,"dragging","clicked"],["data-test","sidenav-resize-handle",1,"sidenav-resize-handle-left","collapsed",3,"click"]],template:function(o,r){o&1&&(m(0,"div",0),x(1,_D,3,1,"div",1)(2,yD,2,1)(3,CD,2,3,"div",2),h(),m(4,"div",3),re(5,"pxsuffix"),O(6,"slot"),x(7,wD,2,0),h(),x(8,xD,1,0,"div",4)),o&2&&(d(),f("ngForOf",r.items),d(),Q(2,r.actionItems.length>0?2:-1),d(),Q(3,r.footerItem?3:-1),d(),Me("width",se(5,8,r.drawerWidth)),f("ngClass",r.drawerExpanded?"":"hidden"),d(3),Q(7,r.drawerExpanded?7:-1),d(),Q(8,r.drawerExpanded?-1:8))},dependencies:[j,X,Te,Th,Ah,pe],styles:[`.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav{width:4rem;height:100%;margin:0;padding:0;text-align:center;background-color:#444;border:0 solid #444444;font-size:0;display:flex;flex-direction:column;position:absolute;bottom:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav-item{width:3.2rem;height:3.2rem;background-size:2rem 2rem!important;margin:auto;cursor:pointer}.sidenav-separator{width:2rem;height:.1rem;border-top:.1rem solid white;cursor:default;pointer-events:none;margin-top:.8rem;text-align:center;display:inline-block;align-self:center}.sidenav-row{width:4rem;height:3.2rem;margin-top:.8rem;display:inline-block}.sidenav-row-footer{margin-top:auto;margin-bottom:5.2rem;width:4rem;height:3.2rem}.sidenav-row-footer:hover,.sidenav-row:hover{background-color:#555}.sidenav-drawer{min-width:25rem;height:100%;border:0 solid #444444;position:absolute;bottom:0;left:4rem;background-color:#fffc;transition:background-color .7s;border-right:solid thin #d4d4d4;width:300px;display:flex;flex-direction:row}.sidenav-drawer:hover{background-color:#fff}.sidenav-drawer.hidden{display:none}.sidenav-resize-border-right{right:-5px;position:absolute;height:100%;cursor:col-resize;width:5px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav-resize-handle-left{background-image:url("./media/ic_thin_arrow_left.svg");position:absolute;top:calc(50% - 2.4rem);right:-2.1rem;width:2.1rem;height:4.8rem;border-radius:0 .4rem .4rem 0;background-color:#ffffff94;cursor:pointer;pointer-events:all;background-position:center center;background-repeat:no-repeat;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav-resize-handle-left.collapsed{left:4rem!important;border-radius:.4rem 0 0 .4rem;transform:scaleX(-1)}
|
|
17
17
|
`],encapsulation:3});let t=e;return t})();var DD=["*"];function ID(t,e){if(t&1&&(m(0,"div",1)(1,"div",3)(2,"span"),S(3),h()()()),t&2){let i=g();d(3),te(i.header)}}var Hs=(()=>{let e=class e{constructor(){this.header=""}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-sidenav-drawer-content"]],inputs:{header:"header"},standalone:!0,features:[T],ngContentSelectors:DD,decls:4,vars:1,consts:[[1,"sidenav-drawer-content-layout"],[1,"sidenav-drawer-header"],[1,"sidenav-drawer-content-offset"],[1,"sidenav-drawer-header__title"]],template:function(o,r){o&1&&(Ye(),m(0,"div",0),x(1,ID,4,1,"div",1),m(2,"div",2),Re(3),h()()),o&2&&(d(),Q(1,r.header?1:-1))},styles:[`.sidenav-drawer-header{width:100%;background-color:#f5f5f5cc;transition:background-color .7s;display:inline-block}.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{display:flex;flex-direction:column;flex:1;width:100%;height:100%}.sidenav-drawer-content-offset{margin:8px}.sidenav-drawer-content{width:100%;height:100%}
|
|
18
18
|
`],encapsulation:2});let t=e;return t})();var MD=(t,e,i)=>({red:t,yellow:e,green:i}),Fh=(()=>{let e=class e extends ae{constructor(n){super(n),this.usedStorage=0,this.bimplusStorageInfoClicked=new D}_infoClicked(n){ne(this,"bimplusStorageInfoClicked",n)}};e.\u0275fac=function(o){return new(o||e)(C(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-storage-info"]],inputs:{usedStorage:"usedStorage"},outputs:{bimplusStorageInfoClicked:"bimplusStorageInfoClicked"},standalone:!0,features:[K([P]),z,T],decls:8,vars:13,consts:[[1,"storage-info",3,"click"],[1,"progress-title"],[1,"progress-text"],[1,"storage-info-bar-container"],[1,"storage-info-bar",3,"ngClass"]],template:function(o,r){o&1&&(m(0,"div",0),y("click",function(){return r._infoClicked("storageInfo")}),m(1,"span",1),S(2),re(3,"translate"),m(4,"span",2),S(5),h()(),m(6,"div",3),O(7,"div",4),h()()),o&2&&(d(2),oe(" ",se(3,7,"_Common_Data_Environment_Quota")," "),d(3),oe(" ",r.usedStorage,"% "),d(2),Me("width",r.usedStorage+"%")("max-width",r.usedStorage+"%"),f("ngClass",Yt(9,MD,r.usedStorage>=90,r.usedStorage>=80&&r.usedStorage<90,r.usedStorage<80)))},dependencies:[j,X,pe,Ve],styles:[`.storage-info{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:flex;cursor:pointer;color:#777;flex-direction:column}.storage-info.hovered,.storage-info:hover{color:#000}.storage-info.hovered .storage-info-bar .progress,.storage-info:hover .storage-info-bar .progress{border-color:#000}.storage-info .progress-title{line-height:1em;text-align:center;margin:auto .5em .19em;font-weight:600}.storage-info .progress-text{margin-left:.31em}.storage-info .storage-info-bar-container{width:auto;margin:0 .5em auto;background-color:#fff;padding:.125em;border:#777 solid thin}.storage-info .storage-info-bar-container .storage-info-bar{height:.31em}.storage-info .storage-info-bar-container .storage-info-bar.red{background-color:red}.storage-info .storage-info-bar-container .storage-info-bar.yellow{background-color:#ffd400}.storage-info .storage-info-bar-container .storage-info-bar.green{background-color:green}
|