UNPKG

altair-static

Version:

Static package for altair graphql client

3 lines (2 loc) 3.14 MB
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="45b2395e-ca12-5427-afeb-98eacdeca8e6")}catch(e){}}(); (self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[792],{64477:(se,Q,f)=>{"use strict";f.d(Q,{PL:()=>S,YK:()=>C});var U=f(35121),V=f(83118),D=f(66368),I=f(4645),A=f(31038),F=f(86040),w=f(57513),k=f(10964);const C=function(){var O=(0,U.A)(function*(T,$,H,{maxDepth:j=2,tabSize:_=2}={}){const R=T.getType(H);if(!(R instanceof V.bh))return{generated:"",metas:[]};const g=R.getFields()[$];if(!g)return{generated:"",metas:[]};const E=v(T,R),{node:q,metas:G}=b(g,{maxDepth:j,currentDepth:0}),ee={kind:D.b.SELECTION_SET,selections:[q]},oe={kind:D.b.DOCUMENT,definitions:[E?y(E,ee):x(R,ee)]};return{generated:yield(0,k.G)((0,I.print)(oe),_),metas:G}});return function($,H,j){return O.apply(this,arguments)}}(),v=(O,T)=>new Map([[O.getQueryType(),"query"],[O.getMutationType(),"mutation"],[O.getSubscriptionType(),"subscription"]]).get(T),y=(O,T)=>({kind:D.b.OPERATION_DEFINITION,operation:O,name:void 0,variableDefinitions:[],directives:[],selectionSet:T}),x=(O,T)=>({kind:D.b.FRAGMENT_DEFINITION,name:{kind:D.b.NAME,value:"____"},variableDefinitions:[],directives:[],typeCondition:{kind:D.b.NAMED_TYPE,name:{kind:D.b.NAME,value:O.name}},selectionSet:T}),S=(O,{maxDepth:T=1,currentDepth:$=0}={})=>{let H=[];const j={kind:D.b.SELECTION_SET,selections:[]};if(!O)return{selectionSet:j,metas:H};const _=(0,V.MR)(O);if(!(_ instanceof V.bh||_ instanceof V.VA))return{selectionSet:j,metas:H};if((0,V.zf)(O))return{selectionSet:j,metas:H};if($>=T)return{selectionSet:j,metas:H};const R=_&&_.getFields();return j.selections=Object.entries(R).map(([g,E])=>{const{node:q,metas:G}=b(E,{maxDepth:T,currentDepth:$});return H=[...H,...G],q}),{selectionSet:j,metas:H}},b=(O,{maxDepth:T=1,currentDepth:$=0}={})=>{const H=O.args.map(g=>({kind:D.b.ARGUMENT,name:{kind:D.b.NAME,value:g.name},value:N(g.type,g.defaultValue)})),{selectionSet:j,metas:_}=S(O.type,{maxDepth:T,currentDepth:$+1});return{node:{kind:D.b.FIELD,alias:void 0,name:{kind:D.b.NAME,value:O.name},arguments:H,directives:[],selectionSet:j},metas:[{hasArgs:!!H.length},..._]}},N=(O,T,{currentDepth:$=0,maxDepth:H=2}={})=>L(O,T,{currentDepth:$,maxDepth:H})??{kind:D.b.STRING,value:"_____"},L=(O,T,{currentDepth:$=0,maxDepth:H=2}={})=>{const j=(0,A.K)(T,O);if(j)return j;if((0,V.bd)(O)&&(O=O.ofType),(0,V.Fs)(O))return{kind:D.b.LIST,values:[N(O.ofType,void 0,{currentDepth:$+1,maxDepth:H})]};if((0,V.YQ)(O)||(0,V.qK)(O)){if($>=H)return;const R=[];for(const g of Object.values(O.getFields()))if((0,V.YX)(g)){const E=L(g.type,void 0,{currentDepth:$+1,maxDepth:H});E&&R.push({kind:D.b.OBJECT_FIELD,name:{kind:D.b.NAME,value:g.name},value:E})}return{kind:D.b.OBJECT,fields:R}}if(O instanceof V.Zb){const R=O.getValues()[0];return R?(0,A.K)(R.name,O):void 0}switch((0,w.Uz)(O)){case"String":return(0,A.K)("string",F.FV);case"Boolean":return(0,A.K)(!0,F.kk);case"Int":return(0,A.K)(1,F.Fh)}}},57513:(se,Q,f)=>{"use strict";f.d(Q,{Cs:()=>F,Ew:()=>S,J1:()=>x,Nh:()=>b,RY:()=>y,Uz:()=>w,nF:()=>T,rl:()=>O});var U=f(83118),V=f(66368),D=f(55053),I=f(16651),A=f(70919);const F=$=>$.trim().replace(/[^A-Za-z0-9]/g,"_").replace(/_+/g,"_").substr(0,20)+(1e3*Math.random()).toFixed(0),w=$=>(0,U.MR)($).toString(),k=$=>`${$}Fields`,C=$=>({kind:V.b.FRAGMENT_SPREAD,name:{kind:V.b.NAME,value:$}}),v=($,H)=>Object.entries($).map(([j,_])=>{const R=H.getType(j),g=R&&R.getFields();return{kind:V.b.FRAGMENT_DEFINITION,name:{kind:V.b.NAME,value:k(j)},typeCondition:{kind:V.b.NAMED_TYPE,name:{kind:V.b.NAME,value:j}},selectionSet:{kind:V.b.SELECTION_SET,selections:_.map(E=>{const q=g&&g[E];return{kind:V.b.FIELD,name:{kind:V.b.NAME,value:E},type:q?q.type.inspect():""}})}}}),y=($,H,j)=>{const _=new D.D(j);return(0,I.YR)($,(0,D.S)(_,{Field:{enter(g){_.enter(g);const E=_.getType();if(E){const q=w(E),G=H[q];if(G&&g.selectionSet&&G.every(ee=>!!g.selectionSet.selections.find(oe=>"name"in oe&&oe.name.value===ee)))return{...g,selectionSet:{...g.selectionSet,selections:[...g.selectionSet.selections.filter(ee=>"name"in ee&&!G.includes(ee.name.value)),C(k(q))]}}}},leave(g){_.leave(g)}}}))},x=($,H)=>{const j=new D.D(H),_={name:"root",count:0,fields:[],children:{}},R={root:_};function g(G){const ee=(0,U.MR)(G),oe=ee.toString();return R[oe]||={name:oe,count:0,type:ee,fields:[],children:{}}}const E={enter(G){j.enter(G);const ee=j.getType();if(G.type=ee,ee&&!(0,U.zf)((0,U.MR)(ee))){const oe=g(ee);if(oe.count++,G.selectionSet&&G.selectionSet.selections){const Ee=G.selectionSet.selections.filter(Se=>!Se.selectionSet||!Se.selectionSet.selections).filter(Se=>Se.kind===V.b.FIELD).filter(Se=>Se.name&&Se.name.value).map(Se=>Se.name&&Se.name.value).filter(Boolean);oe.fields.push(Ee)}const ce=j.getParentType();ce?g(ce).children[oe.name]=oe:_.children[oe.name]=oe}return G},leave(G){j.leave(G)}};return(0,I.YR)($,(0,D.S)(j,{OperationDefinition:E,Field:E})),{map:R,tree:_}},S=$=>{const H={};return Object.values($.map).forEach(j=>{j.count>=2&&j.fields.length&&j.fields[0]?.forEach(_=>{j.fields.slice(1).every(R=>R.includes(_))&&(H[j.name]||=[]).push(_)})}),H},b=($,H,j)=>(0,I.YR)($,{Document:_=>({..._,definitions:_.definitions.concat(v(H,j))})}),L=($,H)=>(($,H)=>(0,A.F)($,H))($.value,H),O=($,H,j)=>{const _={};let R=[];const g=new D.D(H);return{document:(0,I.YR)($,{enter(q){if(g.enter(q),q.kind===V.b.ARGUMENT){const G=g.getFieldDef();if(q.value.kind!==V.b.VARIABLE&&G&&G.args){const ee=G.args.find(oe=>oe.name===q.name.value);if(ee){let oe=ee.name;_[oe]&&(oe=F(ee.name));const ce={name:oe,value:L(q,j),type:ee.type.inspect()};return _[oe]=ce,R.push(ce),{...q,value:{kind:V.b.VARIABLE,name:{kind:V.b.NAME,value:oe}}}}}}},leave(q){if(g.leave(q),q.kind===V.b.OPERATION_DEFINITION){const G={...q,variableDefinitions:(q.variableDefinitions||[]).concat(R.map(oe=>({kind:V.b.VARIABLE_DEFINITION,variable:{kind:V.b.VARIABLE,name:{kind:V.b.NAME,value:oe.name}},type:{kind:V.b.NAMED_TYPE,name:{kind:V.b.NAME,value:oe.type}}})))},ee=q.name||{kind:V.b.NAME,value:F("refactored")};return G.name=ee,R=[],G}}}),variables:Object.entries(_).reduce((q,[G,ee])=>(q[G]=ee.value,q),{})}},T=$=>$.replace(/[[\]!]/g,"")},10964:(se,Q,f)=>{"use strict";f.d(Q,{G:()=>V});var U=f(35121);const V=function(){var D=(0,U.A)(function*(I,A=2){const F=yield f.e(949).then(f.bind(f,83949)),w=yield f.e(902).then(f.bind(f,16902));return F.format(I,{parser:"graphql",plugins:[w],tabWidth:A})});return function(A){return D.apply(this,arguments)}}()},37297:(se,Q,f)=>{"use strict";f.d(Q,{A:()=>U});const U=V=>[V.getQueryType(),V.getMutationType(),V.getSubscriptionType()].filter(Boolean)},59811:(se,Q,f)=>{"use strict";var U={};f.r(U),f.d(U,{FunctionToString:()=>W4,InboundFilters:()=>Z4});var V={};f.r(V),f.d(V,{Breadcrumbs:()=>J4,Dedupe:()=>n3,GlobalHandlers:()=>yp,HttpContext:()=>t3,LinkedErrors:()=>e3,TryCatch:()=>X4});var D={};function I(t,n){return Object.is(t,n)}f.r(D),f.d(D,{EventToMain:()=>LNe,ScopeToMain:()=>TJ});let A=null,F=!1,w=1;const k=Symbol("SIGNAL");function C(t){const n=A;return A=t,n}const S={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function b(t){if(F)throw new Error("");if(null===A)return;A.consumerOnSignalRead(t);const n=A.nextProducerIndex++;G(A),n<A.producerNode.length&&A.producerNode[n]!==t&&q(A)&&E(A.producerNode[n],A.producerIndexOfThis[n]),A.producerNode[n]!==t&&(A.producerNode[n]=t,A.producerIndexOfThis[n]=q(A)?g(t,A,n):0),A.producerLastReadVersion[n]=t.version}function L(t){if((!q(t)||t.dirty)&&(t.dirty||t.lastCleanEpoch!==w)){if(!t.producerMustRecompute(t)&&!_(t))return t.dirty=!1,void(t.lastCleanEpoch=w);t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=w}}function O(t){if(void 0===t.liveConsumerNode)return;const n=F;F=!0;try{for(const e of t.liveConsumerNode)e.dirty||$(e)}finally{F=n}}function T(){return!1!==A?.consumerAllowSignalWrites}function $(t){t.dirty=!0,O(t),t.consumerMarkedDirty?.(t)}function H(t){return t&&(t.nextProducerIndex=0),C(t)}function j(t,n){if(C(n),t&&void 0!==t.producerNode&&void 0!==t.producerIndexOfThis&&void 0!==t.producerLastReadVersion){if(q(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)E(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function _(t){G(t);for(let n=0;n<t.producerNode.length;n++){const e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(L(e),i!==e.version))return!0}return!1}function R(t){if(G(t),q(t))for(let n=0;n<t.producerNode.length;n++)E(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function g(t,n,e){if(ee(t),0===t.liveConsumerNode.length&&oe(t))for(let i=0;i<t.producerNode.length;i++)t.producerIndexOfThis[i]=g(t.producerNode[i],t,i);return t.liveConsumerIndexOfThis.push(e),t.liveConsumerNode.push(n)-1}function E(t,n){if(ee(t),1===t.liveConsumerNode.length&&oe(t))for(let i=0;i<t.producerNode.length;i++)E(t.producerNode[i],t.producerIndexOfThis[i]);const e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){const i=t.liveConsumerIndexOfThis[n],r=t.liveConsumerNode[n];G(r),r.producerIndexOfThis[i]=n}}function q(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function G(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function ee(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function oe(t){return void 0!==t.producerNode}function ce(t){const n=Object.create(ue);n.computation=t;const e=()=>{if(L(n),b(n),n.value===Me)throw n.error;return n.value};return e[k]=n,e}const Ee=Symbol("UNSET"),Se=Symbol("COMPUTING"),Me=Symbol("ERRORED"),ue={...S,value:Ee,dirty:!0,error:null,equal:I,producerMustRecompute:t=>t.value===Ee||t.value===Se,producerRecomputeValue(t){if(t.value===Se)throw new Error("Detected cycle in computations.");const n=t.value;t.value=Se;const e=H(t);let i;try{i=t.computation()}catch(r){i=Me,t.error=r}finally{j(t,e)}n!==Ee&&n!==Me&&i!==Me&&t.equal(n,i)?t.value=n:(t.value=i,t.version++)}};let he=function ke(){throw new Error};function Oe(){he()}let Re=null;function ht(t,n){T()||Oe(),t.equal(t.value,n)||(t.value=n,function ae(t){t.version++,function N(){w++}(),O(t),Re?.()}(t))}const en={...S,equal:I,value:void 0};const be=()=>{},Ue={...S,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:be};var Be=f(57586),We=f(197),je=f(60700);const Je=(0,je.L)(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Ge=f(9299),Ze=f(54715);let ze=(()=>{class t extends Be.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new nn(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Je}next(e){(0,Ze.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){(0,Ze.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){(0,Ze.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:o}=this;return i||r?We.Kn:(this.currentObservers=null,o.push(e),new We.yU(()=>{this.currentObservers=null,(0,Ge.o)(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new Be.c;return e.source=this,e}}return t.create=(n,e)=>new nn(n,e),t})();class nn extends ze{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:We.Kn}}class vt extends ze{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}var on=f(70295),ln=f(91955);function ct(t,n){return(0,on.N)((e,i)=>{let r=0;e.subscribe((0,ln._)(i,o=>{i.next(t.call(n,o,r++))}))})}const ii="https://g.co/ng/security#xss";class tt extends Error{constructor(n,e){super(function $o(t,n){return`NG0${Math.abs(t)}${n?": "+n:""}`}(n,e)),this.code=n}}const Vr=Symbol("InputSignalNode#UNSET"),Mo={...en,transformFn:void 0,applyValueToInputSignal(t,n){ht(t,n)}};function Zr(t,n){const e=Object.create(Mo);function i(){if(b(e),e.value===Vr)throw new tt(-950,!1);return e.value}return e.value=t,e.transformFn=n?.transform,i[k]=e,i}function Ri(t){return{toString:t}.toString()}const ds="__parameters__";function mt(t,n,e){return Ri(()=>{const i=function we(t){return function(...e){if(t){const i=t(...e);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const h=l.hasOwnProperty(ds)?l[ds]:Object.defineProperty(l,ds,{value:[]})[ds];for(;h.length<=u;)h.push(null);return(h[u]=h[u]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}const at=globalThis;function pn(t){for(let n in t)if(t[n]===pn)return n;throw Error("Could not find renamed property on target object.")}function di(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Zi(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Zi).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function zs(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const Ef=pn({__forward_ref__:pn});function hi(t){return t.__forward_ref__=hi,t.toString=function(){return Zi(this())},t}function Nn(t){return Au(t)?t():t}function Au(t){return"function"==typeof t&&t.hasOwnProperty(Ef)&&t.__forward_ref__===hi}function ot(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Wt(t){return{providers:t.providers||[],imports:t.imports||[]}}function f1(t){return Y6(t,xf)||Y6(t,G6)}function Y6(t,n){return t.hasOwnProperty(n)?t[n]:null}function m1(t){return t&&(t.hasOwnProperty(Nm)||t.hasOwnProperty(Iu))?t[Nm]:null}const xf=pn({\u0275prov:pn}),Nm=pn({\u0275inj:pn}),G6=pn({ngInjectableDef:pn}),Iu=pn({ngInjectorDef:pn});class rt{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=ot({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Df(t){return t&&!!t.\u0275providers}const $d=pn({\u0275cmp:pn}),Af=pn({\u0275dir:pn}),If=pn({\u0275pipe:pn}),X6=pn({\u0275mod:pn}),gl=pn({\u0275fac:pn}),Ud=pn({__NG_ELEMENT_ID__:pn}),Fm=pn({__NG_ENV_ID__:pn});function Un(t){return"string"==typeof t?t:null==t?"":String(t)}function Vm(t,n){throw new tt(-201,!1)}var zi=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}(zi||{});let Bm;function ey(){return Bm}function Ds(t){const n=Bm;return Bm=t,n}function Hm(t,n,e){const i=f1(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&zi.Optional?null:void 0!==n?n:void Vm()}const Fl={},Pu="__NG_DI_FLAG__",g1="ngTempTokenPath",Vl=/\n/gm,ny="__source";let Qd;function Bl(t){const n=Qd;return Qd=t,n}function jm(t,n=zi.Default){if(void 0===Qd)throw new tt(-203,!1);return null===Qd?Hm(t,void 0,n):Qd.get(t,n&zi.Optional?null:void 0,n)}function Te(t,n=zi.Default){return(ey()||jm)(Nn(t),n)}function pt(t,n=zi.Default){return Te(t,Pf(n))}function Pf(t){return typeof t>"u"||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function y1(t){const n=[];for(let e=0;e<t.length;e++){const i=Nn(t[e]);if(Array.isArray(i)){if(0===i.length)throw new tt(900,!1);let r,o=zi.Default;for(let s=0;s<i.length;s++){const a=i[s],l=_e(a);"number"==typeof l?-1===l?r=a.token:o|=l:r=a}n.push(Te(r,o))}else n.push(Te(i))}return n}function qd(t,n){return t[Pu]=n,t.prototype[Pu]=n,t}function _e(t){return t[Pu]}const qe=qd(mt("Inject",t=>({token:t})),-1),et=qd(mt("Optional"),8),dt=qd(mt("Self"),2),wt=qd(mt("SkipSelf"),4);function Rt(t,n){return t.hasOwnProperty(gl)?t[gl]:null}function Kt(t,n){t.forEach(e=>Array.isArray(e)?Kt(e,n):n(e))}function Zt(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Vn(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Uo(t,n,e){let i=Ru(t,n);return i>=0?t[1|i]=e:(i=~i,function lo(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(1===r)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;)t[r]=t[r-2],r--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function Rf(t,n){const e=Ru(t,n);if(e>=0)return t[1|e]}function Ru(t,n){return function IL(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){const o=i+(r-i>>1),s=t[o<<e];if(n===s)return o<<e;s>n?r=o:i=o+1}return~(r<<e)}(t,n,1)}const Tc={},Qi=[],yl=new rt(""),PL=new rt("",-1),Mw=new rt("");class oy{get(n,e=Fl){if(e===Fl){const i=new Error(`NullInjectorError: No provider for ${Zi(n)}!`);throw i.name="NullInjectorError",i}return e}}var sy=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(sy||{}),Hl=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Hl||{}),Yd=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Yd||{});function Cge(t,n,e){let i=t.length;for(;;){const r=t.indexOf(n,e);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}function zw(t,n,e){let i=0;for(;i<e.length;){const r=e[i];if("number"==typeof r){if(0!==r)break;i++;const o=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,o)}else{const o=r,s=e[++i];NL(o)?t.setProperty(n,o,s):t.setAttribute(n,o,s),i++}}return i}function RL(t){return 3===t||4===t||6===t}function NL(t){return 64===t.charCodeAt(0)}function $m(t,n){if(null!==n&&0!==n.length)if(null===t||0===t.length)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){const r=n[i];"number"==typeof r?e=r:0===e||LL(t,e,r,null,-1===e||2===e?n[++i]:null)}}return t}function LL(t,n,e,i,r){let o=0,s=t.length;if(-1===n)s=-1;else for(;o<t.length;){const a=t[o++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=o-1;break}}}for(;o<t.length;){const a=t[o];if("number"==typeof a)break;if(a===e){if(null===i)return void(null!==r&&(t[o+1]=r));if(i===t[o+1])return void(t[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(t.splice(s,0,n),o=s+1),t.splice(o++,0,e),null!==i&&t.splice(o++,0,i),null!==r&&t.splice(o++,0,r)}const FL="ng-template";function wge(t,n,e,i){let r=0;if(i){for(;r<n.length&&"string"==typeof n[r];r+=2)if("class"===n[r]&&-1!==Cge(n[r+1].toLowerCase(),e,0))return!0}else if(Dw(t))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&"string"==typeof(o=n[r]);)if(o.toLowerCase()===e)return!0}return!1}function Dw(t){return 4===t.type&&t.value!==FL}function Sge(t,n,e){return n===(4!==t.type||e?t.value:FL)}function Oge(t,n,e){let i=4;const r=t.attrs,o=null!==r?function Ege(t){for(let n=0;n<t.length;n++)if(RL(t[n]))return n;return t.length}(r):0;let s=!1;for(let a=0;a<n.length;a++){const l=n[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!Sge(t,l,e)||""===l&&1===n.length){if(jl(i))return!1;s=!0}}else if(8&i){if(null===r||!wge(t,r,l,e)){if(jl(i))return!1;s=!0}}else{const c=n[++a],u=kge(l,r,Dw(t),e);if(-1===u){if(jl(i))return!1;s=!0;continue}if(""!==c){let h;if(h=u>o?"":r[u+1].toLowerCase(),2&i&&c!==h){if(jl(i))return!1;s=!0}}}}else{if(!s&&!jl(i)&&!jl(l))return!1;if(s&&jl(l))continue;s=!1,i=l|1&i}}return jl(i)||s}function jl(t){return!(1&t)}function kge(t,n,e,i){if(null===n)return-1;let r=0;if(i||!e){let o=!1;for(;r<n.length;){const s=n[r];if(s===t)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=n[++r];for(;"string"==typeof a;)a=n[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function xge(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){const i=t[e];if("number"==typeof i)return-1;if(i===n)return e;e++}return-1}(n,t)}function VL(t,n,e=!1){for(let i=0;i<n.length;i++)if(Oge(t,n[i],e))return!0;return!1}function Mge(t,n){e:for(let e=0;e<n.length;e++){const i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0}}return!1}function BL(t,n){return t?":not("+n.trim()+")":n}function zge(t){let n=t[0],e=1,i=2,r="",o=!1;for(;e<t.length;){let s=t[e];if("string"==typeof s)if(2&i){const a=t[++e];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!jl(s)&&(n+=BL(o,r),r=""),i=s,o=o||!jl(i);e++}return""!==r&&(n+=BL(o,r)),n}function st(t){return Ri(()=>{const n=jL(t),e={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===sy.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Hl.Emulated,styles:t.styles||Qi,_:null,schemas:t.schemas||null,tView:null,id:""};$L(e);const i=t.dependencies;return e.directiveDefs=ay(i,!1),e.pipeDefs=ay(i,!0),e.id=function Nge(t){let n=0;const e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const r of e)n=Math.imul(31,n)+r.charCodeAt(0)|0;return n+=2147483648,"c"+n}(e),e})}function Ige(t){return ki(t)||Qo(t)}function Pge(t){return null!==t}function Jt(t){return Ri(()=>({type:t.type,bootstrap:t.bootstrap||Qi,declarations:t.declarations||Qi,imports:t.imports||Qi,exports:t.exports||Qi,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function HL(t,n){if(null==t)return Tc;const e={};for(const i in t)if(t.hasOwnProperty(i)){const r=t[i];let o,s,a=Yd.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(e[o]=a!==Yd.None?[i,a]:i,n[o]=s):e[o]=i}return e}function Dt(t){return Ri(()=>{const n=jL(t);return $L(n),n})}function At(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function ki(t){return t[$d]||null}function Qo(t){return t[Af]||null}function ps(t){return t[If]||null}function Is(t,n){const e=t[X6]||null;if(!e&&!0===n)throw new Error(`Type ${Zi(t)} does not have '\u0275mod' property.`);return e}function jL(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||Tc,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||Qi,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:HL(t.inputs,n),outputs:HL(t.outputs),debugInfo:null}}function $L(t){t.features?.forEach(n=>n(t))}function ay(t,n){if(!t)return null;const e=n?ps:Ige;return()=>("function"==typeof t?t():t).map(i=>e(i)).filter(Pge)}function Nf(t){return{\u0275providers:t}}function Lge(...t){return{\u0275providers:Aw(0,t),\u0275fromNgModule:!0}}function Aw(t,...n){const e=[],i=new Set;let r;const o=s=>{e.push(s)};return Kt(n,s=>{const a=s;ly(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&UL(r,o),e}function UL(t,n){for(let e=0;e<t.length;e++){const{ngModule:i,providers:r}=t[e];Iw(r,o=>{n(o,i)})}}function ly(t,n,e,i){if(!(t=Nn(t)))return!1;let r=null,o=m1(t);const s=!o&&ki(t);if(o||s){if(s&&!s.standalone)return!1;r=t}else{const l=t.ngModule;if(o=m1(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)ly(c,n,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Kt(o.imports,u=>{ly(u,n,e,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&UL(c,n)}if(!a){const c=Rt(r)||(()=>new r);n({provide:r,useFactory:c,deps:Qi},r),n({provide:Mw,useValue:r,multi:!0},r),n({provide:yl,useValue:()=>Te(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=t;Iw(l,u=>{n(u,c)})}}}return r!==t&&void 0!==t.providers}function Iw(t,n){for(let e of t)Df(e)&&(e=e.\u0275providers),Array.isArray(e)?Iw(e,n):n(e)}const Fge=pn({provide:String,useValue:pn});function Pw(t){return null!==t&&"object"==typeof t&&Fge in t}function v1(t){return"function"==typeof t}const Rw=new rt(""),cy={},Bge={};let Nw;function uy(){return void 0===Nw&&(Nw=new oy),Nw}class Aa{}class Lf extends Aa{get destroyed(){return this._destroyed}constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Fw(n,s=>this.processProvider(s)),this.records.set(PL,Ff(void 0,this)),r.has("environment")&&this.records.set(Aa,Ff(void 0,this));const o=this.records.get(Rw);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Mw,Qi,zi.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=C(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const e=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),C(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const e=Bl(this),i=Ds(void 0);try{return n()}finally{Bl(e),Ds(i)}}get(n,e=Fl,i=zi.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Fm))return n[Fm](this);i=Pf(i);const o=Bl(this),s=Ds(void 0);try{if(!(i&zi.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function Qge(t){return"function"==typeof t||"object"==typeof t&&t instanceof rt}(n)&&f1(n);l=c&&this.injectableDefInScope(c)?Ff(Lw(n),cy):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&zi.Self?uy():this.parent).get(n,e=i&zi.Optional&&e===Fl?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[g1]=a[g1]||[]).unshift(Zi(n)),o)throw a;return function Ie(t,n,e,i){const r=t[g1];throw n[ny]&&r.unshift(n[ny]),t.message=function Le(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let r=Zi(n);if(Array.isArray(n))r=n.map(Zi).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Zi(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(Vl,"\n ")}`}("\n"+t.message,r,e,i),t.ngTokenPath=r,t[g1]=null,t}(a,n,"R3InjectorError",this.source)}throw a}finally{Ds(s),Bl(o)}}resolveInjectorInitializers(){const n=C(null),e=Bl(this),i=Ds(void 0);try{const o=this.get(yl,Qi,zi.Self);for(const s of o)s()}finally{Bl(e),Ds(i),C(n)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(Zi(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new tt(205,!1)}processProvider(n){let e=v1(n=Nn(n))?n:Nn(n&&n.provide);const i=function jge(t){return Pw(t)?Ff(void 0,t.useValue):Ff(YL(t),cy)}(n);if(!v1(n)&&!0===n.multi){let r=this.records.get(e);r||(r=Ff(void 0,cy,!0),r.factory=()=>y1(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e){const i=C(null);try{return e.value===cy&&(e.value=Bge,e.value=e.factory()),"object"==typeof e.value&&e.value&&function Uge(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{C(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const e=Nn(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){const e=this._onDestroyHooks.indexOf(n);-1!==e&&this._onDestroyHooks.splice(e,1)}}function Lw(t){const n=f1(t),e=null!==n?n.factory:Rt(t);if(null!==e)return e;if(t instanceof rt)throw new tt(204,!1);if(t instanceof Function)return function Hge(t){if(t.length>0)throw new tt(204,!1);const e=function W6(t){return t&&(t[xf]||t[G6])||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new tt(204,!1)}function YL(t,n,e){let i;if(v1(t)){const r=Nn(t);return Rt(r)||Lw(r)}if(Pw(t))i=()=>Nn(t.useValue);else if(function qL(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...y1(t.deps||[]));else if(function QL(t){return!(!t||!t.useExisting)}(t))i=()=>Te(Nn(t.useExisting));else{const r=Nn(t&&(t.useClass||t.provide));if(!function $ge(t){return!!t.deps}(t))return Rt(r)||Lw(r);i=()=>new r(...y1(t.deps))}return i}function Ff(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function Fw(t,n){for(const e of t)Array.isArray(e)?Fw(e,n):e&&Df(e)?Fw(e.\u0275providers,n):n(e)}function Nu(t,n){t instanceof Lf&&t.assertNotDestroyed();const i=Bl(t),r=Ds(void 0);try{return n()}finally{Bl(i),Ds(r)}}function WL(){return void 0!==ey()||null!=function iy(){return Qd}()}function dy(t){if(!WL())throw new tt(-203,!1)}const ZL=Function;const Kr=0,Bt=1,In=2,Do=3,$l=4,fs=5,sa=6,Bf=7,zr=8,Ao=9,Ec=10,Qn=11,Qm=12,KL=13,Hf=14,Xr=15,_1=16,jf=17,Lu=18,$f=19,XL=20,Gd=21,py=22,vl=23,Sn=25,Bw=1,xc=7,Uf=9,vo=10;var my=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(my||{});function Yo(t){return Array.isArray(t)&&"object"==typeof t[Bw]}function Ps(t){return Array.isArray(t)&&!0===t[Bw]}function Hw(t){return!!(4&t.flags)}function b1(t){return t.componentOffset>-1}function gy(t){return!(1&~t.flags)}function Ul(t){return!!t.template}function Ym(t){return!!(512&t[In])}class n4e{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function iF(t,n,e,i){null!==n?n.applyValueToInputSignal(n,i):t[e]=i}function $t(){return rF}function rF(t){return t.type.prototype.ngOnChanges&&(t.setInput=r4e),i4e}function i4e(){const t=sF(this),n=t?.current;if(n){const e=t.previous;if(e===Tc)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function r4e(t,n,e,i,r){const o=this.declaredInputs[i],s=sF(t)||function o4e(t,n){return t[oF]=n}(t,{previous:Tc,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new n4e(c&&c.currentValue,e,l===Tc),iF(t,n,r,e)}$t.ngInherit=!0;const oF="__ngSimpleChanges__";function sF(t){return t[oF]||null}const Mc=function(t,n,e){};function qi(t){for(;Array.isArray(t);)t=t[Kr];return t}function Wm(t,n){return qi(n[t])}function aa(t,n){return qi(n[t.index])}function Gm(t,n){return t.data[n]}function C1(t,n){return t[n]}function $a(t,n){const e=n[t];return Yo(e)?e:e[Kr]}function qw(t){return!(128&~t[In])}function _l(t,n){return null==n?null:t[n]}function cF(t){t[jf]=0}function uF(t){1024&t[In]||(t[In]|=1024,qw(t)&&vy(t))}function yy(t){return!!(9216&t[In]||t[vl]?.dirty)}function Yw(t){t[Ec].changeDetectionScheduler?.notify(8),64&t[In]&&(t[In]|=1024),yy(t)&&vy(t)}function vy(t){t[Ec].changeDetectionScheduler?.notify(0);let n=Fu(t);for(;null!==n&&!(8192&n[In])&&(n[In]|=8192,qw(n));)n=Fu(n)}function _y(t,n){if(!(256&~t[In]))throw new tt(911,!1);null===t[Gd]&&(t[Gd]=[]),t[Gd].push(n)}function Fu(t){const n=t[Do];return Ps(n)?n[Do]:n}const qn={lFrame:SF(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let hF=!1;function pF(){return qn.bindingsEnabled}function w1(){return null!==qn.skipHydrationRootTNode}function bt(){return qn.lFrame.lView}function Ci(){return qn.lFrame.tView}function ne(t){return qn.lFrame.contextLView=t,t[zr]}function ie(t){return qn.lFrame.contextLView=null,t}function lr(){let t=fF();for(;null!==t&&64===t.type;)t=t.parent;return t}function fF(){return qn.lFrame.currentTNode}function Ql(t,n){const e=qn.lFrame;e.currentTNode=t,e.isParent=n}function Zw(){return qn.lFrame.isParent}function Kw(){qn.lFrame.isParent=!1}function yF(){return hF}function vF(t){hF=t}function la(){const t=qn.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function ql(){return qn.lFrame.bindingIndex++}function Bu(t){const n=qn.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function _4e(t,n){const e=qn.lFrame;e.bindingIndex=e.bindingRootIndex=t,Xw(n)}function Xw(t){qn.lFrame.currentDirectiveIndex=t}function Jw(t){const n=qn.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function eS(){return qn.lFrame.currentQueryIndex}function Cy(t){qn.lFrame.currentQueryIndex=t}function C4e(t){const n=t[Bt];return 2===n.type?n.declTNode:1===n.type?t[fs]:null}function CF(t,n,e){if(e&zi.SkipSelf){let r=n,o=t;for(;!(r=r.parent,null!==r||e&zi.Host||(r=C4e(o),null===r||(o=o[Hf],10&r.type))););if(null===r)return!1;n=r,t=o}const i=qn.lFrame=wF();return i.currentTNode=n,i.lView=t,!0}function tS(t){const n=wF(),e=t[Bt];qn.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function wF(){const t=qn.lFrame,n=null===t?null:t.child;return null===n?SF(t):n}function SF(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function OF(){const t=qn.lFrame;return qn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const kF=OF;function nS(){const t=OF();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 ms(){return qn.lFrame.selectedIndex}function S1(t){qn.lFrame.selectedIndex=t}function Dr(){const t=qn.lFrame;return Gm(t.tView,t.selectedIndex)}function wy(){qn.lFrame.currentNamespace="svg"}let EF=!0;function Km(){return EF}function zc(t){EF=t}function Sy(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){const o=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=o;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),null!=u&&(t.destroyHooks??=[]).push(e,u)}}function Oy(t,n,e){xF(t,n,3,e)}function ky(t,n,e,i){(3&t[In])===e&&xF(t,n,e,i)}function iS(t,n){let e=t[In];(3&e)===n&&(e&=16383,e+=1,t[In]=e)}function xF(t,n,e,i){const o=i??-1,s=n.length-1;let a=0;for(let l=void 0!==i?65535&t[jf]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=i&&a>=i)break}else n[l]<0&&(t[jf]+=65536),(a<o||-1==o)&&(E4e(t,e,n,l),t[jf]=(4294901760&t[jf])+l+2),l++}function MF(t,n){Mc(4,t,n);const e=C(null);try{n.call(t)}finally{C(e),Mc(5,t,n)}}function E4e(t,n,e,i){const r=e[i]<0,o=e[i+1],a=t[r?-e[i]:e[i]];r?t[In]>>14<t[jf]>>16&&(3&t[In])===n&&(t[In]+=16384,MF(a,o)):MF(a,o)}const Qf=-1;class Xm{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}const oS={};class O1{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=Pf(i);const r=this.injector.get(n,oS,i);return r!==oS||e===oS?r:this.parentInjector.get(n,e,i)}}function sS(t){return t!==Qf}function Jm(t){return 32767&t}function eg(t,n){let e=function A4e(t){return t>>16}(t),i=n;for(;e>0;)i=i[Hf],e--;return i}let aS=!0;function Ty(t){const n=aS;return aS=t,n}const DF=255,AF=5;let P4e=0;const Dc={};function Ey(t,n){const e=IF(t,n);if(-1!==e)return e;const i=n[Bt];i.firstCreatePass&&(t.injectorIndex=n.length,lS(i.data,t),lS(n,null),lS(i.blueprint,null));const r=xy(t,n),o=t.injectorIndex;if(sS(r)){const s=Jm(r),a=eg(r,n),l=a[Bt].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function lS(t,n){t.push(0,0,0,0,0,0,0,0,n)}function IF(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function xy(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;null!==r;){if(i=BF(r),null===i)return Qf;if(e++,r=r[Hf],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return Qf}function cS(t,n,e){!function R4e(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Ud)&&(i=e[Ud]),null==i&&(i=e[Ud]=P4e++);const r=i&DF;n.data[t+(r>>AF)]|=1<<r}(t,n,e)}function PF(t,n,e){if(e&zi.Optional||void 0!==t)return t;Vm()}function RF(t,n,e,i){if(e&zi.Optional&&void 0===i&&(i=null),!(e&(zi.Self|zi.Host))){const r=t[Ao],o=Ds(void 0);try{return r?r.get(n,i,e&zi.Optional):Hm(n,i,e&zi.Optional)}finally{Ds(o)}}return PF(i,0,e)}function NF(t,n,e,i=zi.Default,r){if(null!==t){if(2048&n[In]&&!(i&zi.Self)){const s=function B4e(t,n,e,i,r){let o=t,s=n;for(;null!==o&&null!==s&&2048&s[In]&&!(512&s[In]);){const a=LF(o,s,e,i|zi.Self,Dc);if(a!==Dc)return a;let l=o.parent;if(!l){const c=s[XL];if(c){const u=c.get(e,Dc,i);if(u!==Dc)return u}l=BF(s),s=s[Hf]}o=l}return r}(t,n,e,i,Dc);if(s!==Dc)return s}const o=LF(t,n,e,i,Dc);if(o!==Dc)return o}return RF(n,e,i,r)}function LF(t,n,e,i,r){const o=function F4e(t){if("string"==typeof t)return t.charCodeAt(0)||0;const n=t.hasOwnProperty(Ud)?t[Ud]:void 0;return"number"==typeof n?n>=0?n&DF:V4e:n}(e);if("function"==typeof o){if(!CF(n,t,i))return i&zi.Host?PF(r,0,i):RF(n,e,i,r);try{let s;if(s=o(i),null!=s||i&zi.Optional)return s;Vm()}finally{kF()}}else if("number"==typeof o){let s=null,a=IF(t,n),l=Qf,c=i&zi.Host?n[Xr][fs]:null;for((-1===a||i&zi.SkipSelf)&&(l=-1===a?xy(t,n):n[a+8],l!==Qf&&VF(i,!1)?(s=n[Bt],a=Jm(l),n=eg(l,n)):a=-1);-1!==a;){const u=n[Bt];if(FF(o,a,u.data)){const h=L4e(a,n,e,s,i,c);if(h!==Dc)return h}l=n[a+8],l!==Qf&&VF(i,n[Bt].data[a+8]===c)&&FF(o,a,n)?(s=u,a=Jm(l),n=eg(l,n)):a=-1}}return r}function L4e(t,n,e,i,r,o){const s=n[Bt],a=s.data[t+8],u=My(a,s,e,null==i?b1(a)&&aS:i!=s&&!!(3&a.type),r&zi.Host&&o===a);return null!==u?k1(n,s,u,a):Dc}function My(t,n,e,i,r){const o=t.providerIndexes,s=n.data,a=1048575&o,l=t.directiveStart,u=o>>20,p=r?a+u:t.directiveEnd;for(let m=i?a:a+u;m<p;m++){const B=s[m];if(m<l&&e===B||m>=l&&B.type===e)return m}if(r){const m=s[l];if(m&&Ul(m)&&m.type===e)return l}return null}function k1(t,n,e,i){let r=t[e];const o=n.data;if(function x4e(t){return t instanceof Xm}(r)){const s=r;s.resolving&&function Tw(t,n){throw n&&n.join(" > "),new tt(-200,t)}(function Ui(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Un(t)}(o[e]));const a=Ty(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Ds(s.injectImpl):null;CF(t,i,zi.Default);try{r=t[e]=s.factory(void 0,o,t,i),n.firstCreatePass&&e>=i.directiveStart&&function T4e(t,n,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=rF(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}(e,o[e],n)}finally{null!==c&&Ds(c),Ty(a),s.resolving=!1,kF()}}return r}function FF(t,n,e){return!!(e[n+(t>>AF)]&1<<t)}function VF(t,n){return!(t&zi.Self||t&zi.Host&&n)}class Wo{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return NF(this._tNode,this._lView,n,Pf(i),e)}}function V4e(){return new Wo(lr(),bt())}function cr(t){return Ri(()=>{const n=t.prototype.constructor,e=n[gl]||uS(n),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const o=r[gl]||uS(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function uS(t){return Au(t)?()=>{const n=uS(Nn(t));return n&&n()}:Rt(t)}function BF(t){const n=t[Bt],e=n.type;return 2===e?n.declTNode:1===e?t[fs]:null}function QF(t,n=null,e=null,i){const r=qF(t,n,e,i);return r.resolveInjectorInitializers(),r}function qF(t,n=null,e=null,i,r=new Set){const o=[e||Qi,Lge(t)];return i=i||("object"==typeof t?void 0:Zi(t)),new Lf(o,n||uy(),i||null,r)}class pr{static{this.THROW_IF_NOT_FOUND=Fl}static{this.NULL=new oy}static create(n,e){if(Array.isArray(n))return QF({name:""},e,n,"");{const i=n.name??"";return QF({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=ot({token:pr,providedIn:"any",factory:()=>Te(PL)})}static{this.__NG_ELEMENT_ID__=-1}}new rt("").__NG_ELEMENT_ID__=t=>{const n=lr();if(null===n)throw new tt(204,!1);if(2&n.type)return n.value;if(t&zi.Optional)return null;throw new tt(204,!1)};function hS(t){return t.ngOriginalError}const WF=!0;let Wf=(()=>{class t{static{this.__NG_ELEMENT_ID__=Z4e}static{this.__NG_ENV_ID__=e=>e}}return t})();class G4e extends Wf{constructor(n){super(),this._lView=n}onDestroy(n){return _y(this._lView,n),()=>function Ww(t,n){if(null===t[Gd])return;const e=t[Gd].indexOf(n);-1!==e&&t[Gd].splice(e,1)}(this._lView,n)}}function Z4e(){return new G4e(bt())}let Hu=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new vt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=ot({token:t,providedIn:"root",factory:()=>new t})}}return t})();const Ce=class K4e extends ze{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,WL()&&(this.destroyRef=pt(Wf,{optional:!0})??void 0,this.pendingTasks=pt(Hu,{optional:!0})??void 0)}emit(n){const e=C(null);try{super.next(n)}finally{C(e)}}subscribe(n,e,i){let r=n,o=e||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof We.yU&&n.add(a),a}wrapInTimeout(n){return e=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(e),void 0!==i&&this.pendingTasks?.remove(i)})}}};function Dy(...t){}function GF(t){let n,e;function i(){t=Dy;try{void 0!==e&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(e),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),"function"==typeof requestAnimationFrame&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function ZF(t){return queueMicrotask(()=>t()),()=>{t=Dy}}const pS="isAngularZone",Ay=pS+"_ID";let X4e=0;class Ut{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ce(!1),this.onMicrotaskEmpty=new Ce(!1),this.onStable=new Ce(!1),this.onError=new Ce(!1);const{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=WF}=n;if(typeof Zone>"u")throw new tt(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,function t3e(t){const n=()=>{!function e3e(t){function n(){GF(()=>{t.callbackScheduled=!1,mS(t),t.isCheckStableRunning=!0,fS(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),mS(t))}(t)},e=X4e++;t._inner=t._inner.fork({name:"angular",properties:{[pS]:!0,[Ay]:e,[Ay+e]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(function n3e(t){return JF(t,"__ignore_ng_zone__")}(l))return i.invokeTask(o,s,a,l);try{return KF(t),i.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&n(),XF(t)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return KF(t),i.invoke(o,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function i3e(t){return JF(t,"__scheduler_tick__")}(l)&&n(),XF(t)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,mS(t),fS(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(pS)}static assertInAngularZone(){if(!Ut.isInAngularZone())throw new tt(909,!1)}static assertNotInAngularZone(){if(Ut.isInAngularZone())throw new tt(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,J4e,Dy,Dy);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const J4e={};function fS(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function mS(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function KF(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function XF(t){t._nesting--,fS(t)}class gS{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ce,this.onMicrotaskEmpty=new Ce,this.onStable=new Ce,this.onError=new Ce}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}}function JF(t,n){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[n]}class Ua{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&hS(n);for(;e&&hS(e);)e=hS(e);return e||null}}const o3e=new rt("",{providedIn:"root",factory:()=>{const t=pt(Ut),n=pt(Ua);return e=>t.runOutsideAngular(()=>n.handleError(e))}});class eV{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=pt(Ua,{optional:!0}),this.destroyRef=pt(Wf),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new tt(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{const e=this.listeners?.indexOf(n);void 0!==e&&-1!==e&&this.listeners?.splice(e,1)}}}emit(n){if(this.destroyed)throw new tt(953,!1);if(null===this.listeners)return;const e=C(null);try{for(const i of this.listeners)try{i(n)}catch(r){this.errorHandler?.handleError(r)}}finally{C(e)}}}function ju(t){return new eV}function tV(t,n){return Zr(t,n)}const is=(tV.required=function s3e(t){return Zr(Vr,t)},tV);function a3e(){return Gf(lr(),bt())}function Gf(t,n){return new Xt(aa(t,n))}let Xt=(()=>{class t{constructor(e){this.nativeElement=e}static{this.__NG_ELEMENT_ID__=a3e}}return t})();function nV(t){return t instanceof Xt?t.nativeElement:t}function l3e(){return this._results[Symbol.iterator]()}class T1{get changes(){return this._changes??=new Ce}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const e=T1.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=l3e)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;const i=function Nt(t){return t.flat(Number.POSITIVE_INFINITY)