Files
Stackq/.svelte-kit/output/client/_app/immutable/chunks/DZmckTjd.js
T

3 lines
6.5 KiB
JavaScript

var Ae=Object.defineProperty;var re=i=>{throw TypeError(i)};var Se=(i,e,s)=>e in i?Ae(i,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[e]=s;var J=(i,e,s)=>Se(i,typeof e!="symbol"?e+"":e,s),Q=(i,e,s)=>e.has(i)||re("Cannot "+s);var t=(i,e,s)=>(Q(i,e,"read from private field"),s?s.call(i):e.get(i)),f=(i,e,s)=>e.has(i)?re("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(i):e.set(i,s),n=(i,e,s,a)=>(Q(i,e,"write to private field"),a?a.call(i,s):e.set(i,s),s),y=(i,e,s)=>(Q(i,e,"access private method"),s);import{aA as Ne,g as ve,ac as Oe,x as ye,ad as ae,aB as fe,q as j,J as A,i as S,R as x,aC as he,l as Ce,j as Fe,H as Ye,a7 as C,Q as me,B as U,a6 as X,a8 as ke,aD as xe,X as oe,W as le,aE as _e,aF as Me,Y as Ie,at as M,aG as de,aH as Be,aI as ce,aJ as He,p as Pe,a5 as K,s as W,D as Le,n as je,aK as ue,aL as Ve,L as We,aM as $e,aN as qe,aO as Z,P as ze,$ as be,ab as Ge,a0 as Je,aP as ee,o as P,aQ as Qe,aR as Ue,aS as Xe,aT as Ke,A as Ze,O as et,aU as tt,aV as st,G as it,aW as at,av as nt,am as rt,aX as ft,w as ht,aY as ot,aZ as lt,a_ as _t,a$ as dt,b0 as ct}from"./Dexp9pM5.js";import{a as ut,r as pe,h as ge,b as pt}from"./agKGoZF1.js";function gt(i){let e=0,s=ye(0),a;return()=>{Ne()&&(ve(s),Oe(()=>(e===0&&(a=ae(()=>i(()=>fe(s)))),e+=1,()=>{j(()=>{e-=1,e===0&&(a==null||a(),a=void 0,fe(s))})})))}}var vt=We|$e;function yt(i,e,s){new mt(i,e,s)}var d,I,T,N,m,b,l,E,R,O,D,F,Y,k,w,$,h,Ee,Te,te,V,se;class mt{constructor(e,s,a){f(this,h);J(this,"parent");J(this,"is_pending",!1);f(this,d);f(this,I,S?A:null);f(this,T);f(this,N);f(this,m);f(this,b,null);f(this,l,null);f(this,E,null);f(this,R,null);f(this,O,0);f(this,D,0);f(this,F,!1);f(this,Y,new Set);f(this,k,new Set);f(this,w,null);f(this,$,gt(()=>(n(this,w,ye(t(this,O))),()=>{n(this,w,null)})));n(this,d,e),n(this,T,s),n(this,N,o=>{var r=x;r.b=this,r.f|=he,a(o)}),this.parent=x.b,n(this,m,Ce(()=>{if(S){const o=t(this,I);Fe(),o.data===Ye?y(this,h,Te).call(this):y(this,h,Ee).call(this)}else y(this,h,te).call(this)},vt)),S&&n(this,d,A)}defer_effect(e){xe(e,t(this,Y),t(this,k))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!t(this,T).pending}update_pending_count(e){y(this,h,se).call(this,e),n(this,O,t(this,O)+e),!(!t(this,w)||t(this,F))&&(n(this,F,!0),j(()=>{n(this,F,!1),t(this,w)&&Pe(t(this,w),t(this,O))}))}get_effect_pending(){return t(this,$).call(this),ve(t(this,w))}error(e){var s=t(this,T).onerror;let a=t(this,T).failed;if(!s&&!a)throw e;t(this,b)&&(K(t(this,b)),n(this,b,null)),t(this,l)&&(K(t(this,l)),n(this,l,null)),t(this,E)&&(K(t(this,E)),n(this,E,null)),S&&(W(t(this,I)),Le(),W(je()));var o=!1,r=!1;const c=()=>{if(o){qe();return}o=!0,r&&Ve(),t(this,E)!==null&&X(t(this,E),()=>{n(this,E,null)}),y(this,h,V).call(this,()=>{U.ensure(),y(this,h,te).call(this)})};j(()=>{try{r=!0,s==null||s(e,c),r=!1}catch(_){ue(_,t(this,m)&&t(this,m).parent)}a&&n(this,E,y(this,h,V).call(this,()=>{U.ensure();try{return C(()=>{var _=x;_.b=this,_.f|=he,a(t(this,d),()=>e,()=>c)})}catch(_){return ue(_,t(this,m).parent),null}}))})}}d=new WeakMap,I=new WeakMap,T=new WeakMap,N=new WeakMap,m=new WeakMap,b=new WeakMap,l=new WeakMap,E=new WeakMap,R=new WeakMap,O=new WeakMap,D=new WeakMap,F=new WeakMap,Y=new WeakMap,k=new WeakMap,w=new WeakMap,$=new WeakMap,h=new WeakSet,Ee=function(){try{n(this,b,C(()=>t(this,N).call(this,t(this,d))))}catch(e){this.error(e)}},Te=function(){const e=t(this,T).pending;e&&(this.is_pending=!0,n(this,l,C(()=>e(t(this,d)))),j(()=>{var s=n(this,R,document.createDocumentFragment()),a=me();s.append(a),n(this,b,y(this,h,V).call(this,()=>(U.ensure(),C(()=>t(this,N).call(this,a))))),t(this,D)===0&&(t(this,d).before(s),n(this,R,null),X(t(this,l),()=>{n(this,l,null)}),this.is_pending=!1)}))},te=function(){try{if(this.is_pending=this.has_pending_snippet(),n(this,D,0),n(this,O,0),n(this,b,C(()=>{t(this,N).call(this,t(this,d))})),t(this,D)>0){var e=n(this,R,document.createDocumentFragment());ke(t(this,b),e);const s=t(this,T).pending;n(this,l,C(()=>s(t(this,d))))}else this.is_pending=!1}catch(s){this.error(s)}},V=function(e){var s=x,a=Ie,o=M;oe(t(this,m)),le(t(this,m)),_e(t(this,m).ctx);try{return e()}catch(r){return Me(r),null}finally{oe(s),le(a),_e(o)}},se=function(e){var s;if(!this.has_pending_snippet()){this.parent&&y(s=this.parent,h,se).call(s,e);return}if(n(this,D,t(this,D)+e),t(this,D)===0){this.is_pending=!1;for(const a of t(this,Y))de(a,Be),ce(a);for(const a of t(this,k))de(a,He),ce(a);t(this,Y).clear(),t(this,k).clear(),t(this,l)&&X(t(this,l),()=>{n(this,l,null)}),t(this,R)&&(t(this,d).before(t(this,R)),n(this,R,null))}};function St(i,e){var s=e==null?"":typeof e=="object"?e+"":e;s!==(i.__t??(i.__t=i.nodeValue))&&(i.__t=s,i.nodeValue=s+"")}function Re(i,e){return we(i,e)}function bt(i,e){Z(),e.intro=e.intro??!1;const s=e.target,a=S,o=A;try{for(var r=ze(s);r&&(r.nodeType!==be||r.data!==Ge);)r=Je(r);if(!r)throw ee;P(!0),W(r);const c=we(i,{...e,anchor:r});return P(!1),c}catch(c){if(c instanceof Error&&c.message.split(`
`).some(_=>_.startsWith("https://svelte.dev/e/")))throw c;return c!==ee&&console.warn("Failed to hydrate: ",c),e.recover===!1&&Qe(),Z(),Ue(s),P(!1),Re(i,e)}finally{P(a),W(o)}}const L=new Map;function we(i,{target:e,anchor:s,props:a={},events:o,context:r,intro:c=!0}){Z();var _=void 0,De=Xe(()=>{var B=s??e.appendChild(me());yt(B,{pending:()=>{}},u=>{Ze({});var p=M;if(r&&(p.c=r),o&&(a.$$events=o),S&&et(u,null),_=i(u,a)||{},S&&(x.nodes.end=A,A===null||A.nodeType!==be||A.data!==tt))throw st(),ee;it()});var q=new Set,z=u=>{for(var p=0;p<u.length;p++){var g=u[p];if(!q.has(g)){q.add(g);var H=pt(g);for(const G of[e,document]){var v=L.get(G);v===void 0&&(v=new Map,L.set(G,v));var ne=v.get(g);ne===void 0?(G.addEventListener(g,ge,{passive:H}),v.set(g,1)):v.set(g,ne+1)}}}};return z(Ke(ut)),pe.add(z),()=>{var H;for(var u of q)for(const v of[e,document]){var p=L.get(v),g=p.get(u);--g==0?(v.removeEventListener(u,ge),p.delete(u),p.size===0&&L.delete(v)):p.set(u,g)}pe.delete(z),B!==s&&((H=B.parentNode)==null||H.removeChild(B))}});return ie.set(_,De),_}let ie=new WeakMap;function Et(i,e){const s=ie.get(i);return s?(ie.delete(i),s(e)):Promise.resolve()}function Tt(i){M===null&&at(),rt&&M.l!==null?Rt(M).m.push(i):nt(()=>{const e=ae(i);if(typeof e=="function")return e})}function Rt(i){var e=i.l;return e.u??(e.u={a:[],b:[],m:[]})}const Nt=Object.freeze(Object.defineProperty({__proto__:null,flushSync:ht,getAllContexts:ot,getContext:lt,hasContext:_t,hydrate:bt,mount:Re,onMount:Tt,setContext:dt,settled:ct,tick:ft,unmount:Et,untrack:ae},Symbol.toStringTag,{value:"Module"}));export{Nt as a,gt as c,bt as h,Re as m,Tt as o,St as s,Et as u};