vendor: 2,894 bytes, line 1
1import{Ba as m,Ma as w,Oa as S,Td as g,Ua as E,Ud as d,Xa as M,b as x,ec as v,f as R,t as K,wa as C}from"./chunk-7WCNVARR.js";import{a as o,b as f}from"./chunk-6F4HVVOU.js";var k=Symbol("");function O(t){return new Proxy(t,{has(e,n){return!!this.get(e,n,void 0)},get(e,n){let r=g(e);return!U(r)||!(n in r)?(v(e[n])&&e[n][k]&&delete e[n],e[n]):(v(e[n])||(Object.defineProperty(e,n,{value:d(()=>e()[n]),configurable:!0}),e[n][k]=!0),O(e[n]))}})}var T=[WeakSet,WeakMap,Promise,Date,Error,RegExp,ArrayBuffer,DataView,Function];function U(t){if(t===null||typeof t!="object"||N(t))return!1;let e=Object.getPrototypeOf(t);if(e===Object.prototype)return!0;for(;e&&e!==Object.prototype;){if(T.includes(e.constructor))return!1;e=Object.getPrototypeOf(e)}return e===Object.prototype}function N(t){return typeof t?.[Symbol.iterator]=="function"}var L=new WeakMap,u=Symbol("");function Z(t,...e){let n=g(()=>P(t)),r=e.reduce((i,a)=>o(o({},i),typeof a=="function"?a(i):a),n),s=t[u],c=Reflect.ownKeys(t[u]);for(let i of Reflect.ownKeys(r))if(c.includes(i)){let a=i;n[a]!==r[a]&&s[a].set(r[a])}z(t)}function P(t){let e=t[u];return Reflect.ownKeys(t[u]).reduce((n,r)=>{let s=e[r]();return f(o({},n),{[r]:s})},{})}function _(t){return L.get(t[u])||[]}function z(t){let e=_(t);for(let n of e){let r=g(()=>P(t));n(r)}}function ee(...t){let e=[...t],n=typeof e[0]=="function"?{}:e.shift(),r=e;return(()=>{class c{constructor(){let a=r.reduce((b,A)=>A(b),G()),{stateSignals:p,props:y,methods:h,hooks:l}=a,j=o(o(o({},p),y),h);this[u]=a[u];for(let b of Reflect.ownKeys(j))this[b]=j[b];let{onInit:D,onDestroy:I}=l;D&&D(),I&&m(S).onDestroy(I)}static \u0275fac=function(p){return new(p||c)};static \u0275prov=C({token:c,factory:c.\u0275fac,providedIn:n.providedIn||null})}return c})()}function G(){return{[u]:{},stateSignals:{},props:{},methods:{},hooks:{}}}function W(...t){let e=typeof t[0]=="function"?t:t.slice(1);return n=>e.reduce((r,s)=>s(r),n)}function $(t){return e=>{let n=t(o(o(o({[u]:e[u]},e.stateSignals),e.props),e.methods));return f(o({},e),{props:o(o({},e.props),n)})}}function F(t){return $(e=>{let n=t(e);return Reflect.ownKeys(n).reduce((s,c)=>{let i=n[c];return f(o({},s),{[c]:v(i)?i:d(i)})},{})})}function te(t){return e=>{let n=o(o(o({[u]:e[u]},e.stateSignals),e.props),e.methods),r=typeof t=="function"?t(n):t,s=(c,i)=>i?()=>{c&&c(),i(n)}:c;return f(o({},e),{hooks:{onInit:s(e.hooks.onInit,r.onInit),onDestroy:s(e.hooks.onDestroy,r.onDestroy)}})}}function ne(t){return e=>{let n=t(o(o(o({[u]:e[u]},e.stateSignals),e.props),e.methods));return f(o({},e),{methods:o(o({},e.methods),n)})}}function q(t){return e=>{let n=typeof t=="function"?t():t,r=Reflect.ownKeys(n),s=e[u],c={};for(let i of r)s[i]=E(n[i]),c[i]=O(s[i]);return f(o({},e),{stateSignals:o(o({},e.stateSignals),c)})}}function ue(t,e){let n=e?.injector??m(w),r=new R,s=t(r).subscribe();n.get(S).onDestroy(()=>s.unsubscribe());let c=(i,a)=>
1{if(B(i))return r.next(i),{destroy:x};let p=H(),y=a?.injector??p??n;if(typeof i=="function"){let l=M(()=>{let j=i();g(()=>r.next(j))},{injector:y});return s.add({unsubscribe:()=>l.destroy()}),l}let h=i.subscribe(l=>r.next(l));return s.add(h),y!==n&&y.get(S).onDestroy(()=>h.unsubscribe()),{destroy:()=>h.unsubscribe()}};return c.destroy=s.unsubscribe.bind(s),c}function B(t){return typeof t!="function"&&!K(t)}function H(){try{return m(w)}catch(t){return}}function le(){return W(q({requestStatus:"idle"}),F(({requestStatus:t})=>({isPending:d(()=>t()==="pending"),isFulfilled:d(()=>t()==="fulfilled"),error:d(()=>{let e=t();return typeof e=="object"?e.error:null})})))}function ge(){return{requestStatus:"pending"}}function pe(){return{requestStatus:"fulfilled"}}function ye(t){return{requestStatus:{error:t}}}export{Z as a,ee as b,W as c,$ as d,F as e,te as f,ne as g,q as h,ue as i,le as j,ge as k,pe as l,ye as m};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.