Refactor environment variable declarations, update client entry points, and optimize asset handling in SvelteKit project for improved performance and maintainability.
This commit is contained in:
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
import{i as c,j as s,l,L as i}from"./Dexp9pM5.js";import{B as _}from"./CRDN6Mh7.js";function f(n,o,r){c&&s();var a=new _(n);l(()=>{var e=o()??null;a.ensure(e,e&&(t=>r(t,e)))},i)}const u=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));export{u as _,f as c};
|
||||
@@ -0,0 +1,2 @@
|
||||
+ dm.?£öÜ&ͽB’€¾O Ë[ÿ�Q¯¿· —~c�b4!dŠÑmž"ÞZ†kwGL0Ü+CþDò�LoÙt²d4½®m1<*¹?óÏ#aFíÅ&ÚG^äÇËø¬Oü™\ò(Äê×ïGÀ ‡ÏÊU2™ÁÅ…
|
||||
€«uU˜••¸Ù°‹�–4F…”~âø!&2°ùynËÉ
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
import"./Bzak7iHL.js";import{t as j,a as b,s as f,c as g}from"./BKSreT2u.js";import{A,c as G,f as P,a as d,G as T,h,r as m,b as k,T as x}from"./Dexp9pM5.js";import{i as q}from"./CRDN6Mh7.js";import{p as r,b as p,r as C}from"./jOLfEXYH.js";const y=j({base:"focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 shadow-xs",destructive:"bg-destructive hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60 text-white shadow-xs",outline:"bg-background hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 border shadow-xs",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-xs",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});var D=k("<a><!></a>"),E=k("<button><!></button>");function L(_,e){A(e,!0);let o=r(e,"variant",3,"default"),l=r(e,"size",3,"default"),s=r(e,"ref",15,null),c=r(e,"href",3,void 0),z=r(e,"type",3,"button"),v=C(e,["$$slots","$$events","$$legacy","class","variant","size","ref","href","type","disabled","children"]);var u=G(),w=P(u);{var B=i=>{var a=D();b(a,t=>({"data-slot":"button",class:t,href:e.disabled?void 0:c(),"aria-disabled":e.disabled,role:e.disabled?"link":void 0,tabindex:e.disabled?-1:void 0,...v}),[()=>g(y({variant:o(),size:l()}),e.class)]);var n=h(a);f(n,()=>e.children??x),m(a),p(a,t=>s(t),()=>s()),d(i,a)},V=i=>{var a=E();b(a,t=>({"data-slot":"button",class:t,type:z(),disabled:e.disabled,...v}),[()=>g(y({variant:o(),size:l()}),e.class)]);var n=h(a);f(n,()=>e.children??x),m(a),p(a,t=>s(t),()=>s()),d(i,a)};q(w,i=>{c()?i(B):i(V,!1)})}d(_,u),T()}export{L as B};
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
import{i as a,j as d,J as s,K as E,l as v,L as y,M as h,N,O as x,P as T,Q as w,o as _,s as r,R as A,S as C}from"./Dexp9pM5.js";import{i as M}from"./agKGoZF1.js";import{B as S}from"./CRDN6Mh7.js";function L(m,u,c,i,b,P){let p=a;a&&d();var e=null;a&&s.nodeType===E&&(e=s,d());var l=a?s:m,f=new S(l,!1);v(()=>{const t=u()||null;var g=c||t==="svg"?N:void 0;if(t===null){f.ensure(null,null);return}return f.ensure(t,o=>{if(t){if(e=a?e:h(t,g),x(e,e),i){a&&M(t)&&e.append(document.createComment(""));var n=a?T(e):e.appendChild(w());a&&(n===null?_(!1):r(n)),i(e,n)}A.nodes.end=e,o.before(e)}a&&r(o)}),()=>{}},y),C(()=>{}),p&&(_(!0),r(l))}export{L as e};
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
import"./Bzak7iHL.js";import{A as C,h as i,T,r as n,a as o,G as L,b as h,c as U,f as I,D as $,E as y,C as p,g as V,u as W,az as X}from"./Dexp9pM5.js";import{s as Y}from"./DZmckTjd.js";import{i as Z}from"./CRDN6Mh7.js";import{c as b}from"./25AjRaeI.js";import{L as J,I as K,a as ee,e as re}from"./61AlszRR.js";import{C as ae,a as te}from"./CsnJU1X_.js";import{a as j,c as k,s as z}from"./BKSreT2u.js";import{p as A,b as D,r as G}from"./jOLfEXYH.js";import{B as se}from"./B12dZE2q.js";var oe=h("<p><!></p>");function de(c,e){C(e,!0);let d=A(e,"ref",15,null),u=G(e,["$$slots","$$events","$$legacy","ref","class","children"]);var r=oe();j(r,s=>({"data-slot":"card-description",class:s,...u}),[()=>k("text-muted-foreground text-sm",e.class)]);var v=i(r);z(v,()=>e.children??T),n(r),D(r,s=>d(s),()=>d()),o(c,r),L()}var le=h("<div><!></div>");function ie(c,e){C(e,!0);let d=A(e,"ref",15,null),u=G(e,["$$slots","$$events","$$legacy","ref","class","children"]);var r=le();j(r,s=>({"data-slot":"card-header",class:s,...u}),[()=>k("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e.class)]);var v=i(r);z(v,()=>e.children??T),n(r),D(r,s=>d(s),()=>d()),o(c,r),L()}var ne=h("<div><!></div>");function ce(c,e){C(e,!0);let d=A(e,"ref",15,null),u=G(e,["$$slots","$$events","$$legacy","ref","class","children"]);var r=ne();j(r,s=>({"data-slot":"card-title",class:s,...u}),[()=>k("leading-none font-semibold",e.class)]);var v=i(r);z(v,()=>e.children??T),n(r),D(r,s=>d(s),()=>d()),o(c,r),L()}var ue=h("<!> <!>",1),ve=h('<p class="text-destructive text-sm"> </p>'),fe=h('<form method="POST" action="?/login" class="space-y-4"><div class="space-y-2"><!> <!></div> <div class="space-y-2"><div class="flex items-center justify-between"><!> <a href="/forgot-password" class="text-muted-foreground text-sm underline hover:text-foreground">Forgot your password?</a></div> <!></div> <!> <!></form>'),me=h("<!> <!>",1);function Le(c,e){C(e,!0);var d=U(),u=I(d);b(u,()=>te,(r,v)=>{v(r,{class:"w-full max-w-sm",children:(s,_e)=>{var O=me(),S=I(O);b(S,()=>ie,(E,q)=>{q(E,{children:(B,N)=>{var f=ue(),g=I(f);b(g,()=>ce,(x,m)=>{m(x,{children:(_,F)=>{$();var w=y("Login");o(_,w)},$$slots:{default:!0}})});var P=p(g,2);b(P,()=>de,(x,m)=>{m(x,{children:(_,F)=>{$();var w=y("Enter your email and password to sign in.");o(_,w)},$$slots:{default:!0}})}),o(B,f)},$$slots:{default:!0}})});var M=p(S,2);b(M,()=>ae,(E,q)=>{q(E,{children:(B,N)=>{var f=fe(),g=i(f),P=i(g);J(P,{for:"email",children:(a,t)=>{$();var l=y("Email");o(a,l)},$$slots:{default:!0}});var x=p(P,2);{let a=W(()=>{var t;return((t=e.data)==null?void 0:t.email)??""});K(x,{id:"email",name:"email",type:"email",placeholder:"you@example.com",autocomplete:"email",get value(){return V(a)},required:!0})}n(g);var m=p(g,2),_=i(m),F=i(_);J(F,{for:"password",children:(a,t)=>{$();var l=y("Password");o(a,l)},$$slots:{default:!0}}),$(2),n(_);var w=p(_,2);K(w,{id:"password",name:"password",type:"password",autocomplete:"current-password",required:!0}),n(m);var H=p(m,2);{var Q=a=>{var t=ve(),l=i(t,!0);n(t),X(()=>Y(l,e.data.error)),o(a,t)};Z(H,a=>{var t;(t=e.data)!=null&&t.error&&a(Q)})}var R=p(H,2);se(R,{type:"submit",class:"w-full",children:(a,t)=>{$();var l=y("Login");o(a,l)},$$slots:{default:!0}}),n(f),ee(f,(a,t)=>{var l;return(l=re)==null?void 0:l(a,t)},()=>()=>async({update:a})=>{await a()}),o(B,f)},$$slots:{default:!0}})}),o(s,O)},$$slots:{default:!0}})}),o(c,d),L()}export{Le as default};
|
||||
Binary file not shown.
Binary file not shown.
+2
-2
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DRlIEfz1.js","./Bzak7iHL.js","./Dexp9pM5.js","./DZmckTjd.js","./agKGoZF1.js","./CRDN6Mh7.js","./iABcLwh6.js","./25AjRaeI.js","./jOLfEXYH.js","./BKSreT2u.js","./61AlszRR.js","./BapE3c1q.js","./B12dZE2q.js","./BC20z61P.js","./CsnJU1X_.js"])))=>i.map(i=>d[i]);
|
||||
import{i as P,_ as A}from"./CRDN6Mh7.js";import"./Bzak7iHL.js";import{Q as D,l as O,_ as V,i as p,$ as B,a0 as h,o as y,s as x,J as F,P as L,A as E,c as v,f as u,T as M,a as n,G as C,a1 as N,a2 as j,g as _,u as k,b as q}from"./Dexp9pM5.js";import{a as z}from"./DcVg5zjO.js";import{c as G}from"./25AjRaeI.js";import{t as H,a as J,c as Q,s as R}from"./BKSreT2u.js";import{e as S}from"./BC20z61P.js";import{p as w,b as K,r as U}from"./jOLfEXYH.js";function W(o,a){let r=null,d=p;var t;if(p){r=F;for(var e=L(document.head);e!==null&&(e.nodeType!==B||e.data!==o);)e=h(e);if(e===null)y(!1);else{var i=h(e);e.remove(),x(i)}}p||(t=document.head.appendChild(D()));try{O(()=>a(t),V)}finally{d&&(y(!0),x(r))}}const X=H({base:"focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] [&>svg]:pointer-events-none [&>svg]:size-3",variants:{variant:{default:"bg-primary text-primary-foreground [a&]:hover:bg-primary/90 border-transparent",secondary:"bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90 border-transparent",destructive:"bg-destructive [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/70 border-transparent text-white",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function ne(o,a){E(a,!0);let r=w(a,"ref",15,null),d=w(a,"variant",3,"default"),t=U(a,["$$slots","$$events","$$legacy","ref","href","class","variant","children"]);var e=v(),i=u(e);S(i,()=>a.href?"a":"span",!1,(c,l)=>{K(c,f=>r(f),()=>r()),J(c,f=>({"data-slot":"badge",href:a.href,class:f,...t}),[()=>Q(X({variant:d()}),a.class)]);var s=v(),m=u(s);R(m,()=>a.children??M),n(l,s)}),n(o,e),C()}var Y=q('<main class="container mx-auto flex flex-col gap-6 py-8"><p class="text-muted-foreground">Loading…</p></main>');function oe(o,a){E(a,!0);var r=v();W("rk8na7",e=>{N(()=>{j.title="Items – Stackq"})});var d=u(r);{var t=e=>{var i=v(),c=u(i);z(c,()=>A(()=>import("./DRlIEfz1.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url),l=>{var s=Y();n(l,s)},(l,s)=>{var m=k(()=>{var{default:g}=_(s);return{ItemsCrud:g}}),f=k(()=>_(m).ItemsCrud),b=v(),I=u(b);G(I,()=>_(f),(g,T)=>{T(g,{get data(){return a.data}})}),n(l,b)}),n(e,i)};P(d,e=>{e(t)})}n(o,r),C()}export{ne as B,oe as _,W as h};
|
||||
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
||||
import"./Bzak7iHL.js";import{t as j,a as b,s as f,c as g}from"./De4R2cbq.js";import{D,b as E,d as F,a as d,E as P,c as h,r as m,f as k,F as x}from"./MIlO0V30.js";import{i as q}from"./D6Mj8HfB.js";import{p as r,b as p,r as A}from"./znVx7SEM.js";const y=j({base:"focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 shadow-xs",destructive:"bg-destructive hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60 text-white shadow-xs",outline:"bg-background hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 border shadow-xs",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-xs",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});var C=k("<a><!></a>"),G=k("<button><!></button>");function M(_,e){D(e,!0);let o=r(e,"variant",3,"default"),l=r(e,"size",3,"default"),s=r(e,"ref",15,null),c=r(e,"href",3,void 0),z=r(e,"type",3,"button"),v=A(e,["$$slots","$$events","$$legacy","class","variant","size","ref","href","type","disabled","children"]);var u=E(),w=F(u);{var B=i=>{var a=C();b(a,t=>({"data-slot":"button",class:t,href:e.disabled?void 0:c(),"aria-disabled":e.disabled,role:e.disabled?"link":void 0,tabindex:e.disabled?-1:void 0,...v}),[()=>g(y({variant:o(),size:l()}),e.class)]);var n=h(a);f(n,()=>e.children??x),m(a),p(a,t=>s(t),()=>s()),d(i,a)},V=i=>{var a=G();b(a,t=>({"data-slot":"button",class:t,type:z(),disabled:e.disabled,...v}),[()=>g(y({variant:o(),size:l()}),e.class)]);var n=h(a);f(n,()=>e.children??x),m(a),p(a,t=>s(t),()=>s()),d(i,a)};q(w,i=>{c()?i(B):i(V,!1)})}d(_,u),P()}export{M as B};
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
var H=Object.defineProperty;var y=r=>{throw TypeError(r)};var I=(r,e,t)=>e in r?H(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var P=(r,e,t)=>I(r,typeof e!="symbol"?e+"":e,t),L=(r,e,t)=>e.has(r)||y("Cannot "+t);var s=(r,e,t)=>(L(r,e,"read from private field"),t?t.call(r):e.get(r)),v=(r,e,t)=>e.has(r)?y("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,t),C=(r,e,t,n)=>(L(r,e,"write to private field"),n?n.call(r,t):e.set(r,t),t);import{a3 as D,a4 as N,a5 as T,a6 as O,Q as F,a7 as j,i as R,J as $,a8 as q,a9 as U,l as Y,j as J,L as M,aa as Q,ab as W,H as z,n as G,s as K,o as x}from"./Dexp9pM5.js";var u,d,h,b,k,w,A;class V{constructor(e,t=!0){P(this,"anchor");v(this,u,new Map);v(this,d,new Map);v(this,h,new Map);v(this,b,new Set);v(this,k,!0);v(this,w,()=>{var e=D;if(s(this,u).has(e)){var t=s(this,u).get(e),n=s(this,d).get(t);if(n)N(n),s(this,b).delete(t);else{var f=s(this,h).get(t);f&&(s(this,d).set(t,f.effect),s(this,h).delete(t),f.fragment.lastChild.remove(),this.anchor.before(f.fragment),n=f.effect)}for(const[c,a]of s(this,u)){if(s(this,u).delete(c),c===e)break;const i=s(this,h).get(a);i&&(T(i.effect),s(this,h).delete(a))}for(const[c,a]of s(this,d)){if(c===t||s(this,b).has(c))continue;const i=()=>{if(Array.from(s(this,u).values()).includes(c)){var m=document.createDocumentFragment();q(a,m),m.append(F()),s(this,h).set(c,{effect:a,fragment:m})}else T(a);s(this,b).delete(c),s(this,d).delete(c)};s(this,k)||!n?(s(this,b).add(c),O(a,i,!1)):i()}}});v(this,A,e=>{s(this,u).delete(e);const t=Array.from(s(this,u).values());for(const[n,f]of s(this,h))t.includes(n)||(T(f.effect),s(this,h).delete(n))});this.anchor=e,C(this,k,t)}ensure(e,t){var n=D,f=U();if(t&&!s(this,d).has(e)&&!s(this,h).has(e))if(f){var c=document.createDocumentFragment(),a=F();c.append(a),s(this,h).set(e,{effect:j(()=>t(a)),fragment:c})}else s(this,d).set(e,j(()=>t(this.anchor)));if(s(this,u).set(n,e),f){for(const[i,o]of s(this,d))i===e?n.unskip_effect(o):n.skip_effect(o);for(const[i,o]of s(this,h))i===e?n.unskip_effect(o.effect):n.skip_effect(o.effect);n.oncommit(s(this,w)),n.ondiscard(s(this,A))}else R&&(this.anchor=$),s(this,w).call(this)}}u=new WeakMap,d=new WeakMap,h=new WeakMap,b=new WeakMap,k=new WeakMap,w=new WeakMap,A=new WeakMap;function se(r,e,t=!1){R&&J();var n=new V(r),f=t?M:0;function c(a,i){if(R){const l=Q(r);var o;if(l===W?o=0:l===z?o=!1:o=parseInt(l.substring(1)),a!==o){var m=G();K(m),n.anchor=m,x(!1),n.ensure(a,i),x(!0);return}}n.ensure(a,i)}Y(()=>{var a=!1;e((i,o=0)=>{a=!0,c(o,i)}),a||c(!1,null)},f)}const X="modulepreload",Z=function(r,e){return new URL(r,e).href},B={},re=function(e,t,n){let f=Promise.resolve();if(t&&t.length>0){let a=function(l){return Promise.all(l.map(p=>Promise.resolve(p).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};const i=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),m=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));f=a(t.map(l=>{if(l=Z(l,n),l in B)return;B[l]=!0;const p=l.endsWith(".css"),g=p?'[rel="stylesheet"]':"";if(n)for(let E=i.length-1;E>=0;E--){const S=i[E];if(S.href===l&&(!p||S.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${g}`))return;const _=document.createElement("link");if(_.rel=p?"stylesheet":X,p||(_.as="script"),_.crossOrigin="",_.href=l,m&&_.setAttribute("nonce",m),document.head.appendChild(_),p)return new Promise((E,S)=>{_.addEventListener("load",E),_.addEventListener("error",()=>S(Error(`Unable to preload CSS for ${l}`)))})}))}function c(a){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a}return f.then(a=>{for(const i of a||[])i.status==="rejected"&&c(i.reason);return e().catch(c)})};export{V as B,re as _,se as i};
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
import"./Bzak7iHL.js";import{A as o,h as c,r as n,a as i,G as f,T as v,b as h}from"./Dexp9pM5.js";import{a as m,s as u,c as p}from"./BKSreT2u.js";import{p as b,b as x,r as g}from"./jOLfEXYH.js";var _=h("<div><!></div>");function G(t,a){o(a,!0);let s=b(a,"ref",15,null),d=g(a,["$$slots","$$events","$$legacy","ref","class","children"]);var r=_();m(r,e=>({"data-slot":"card",class:e,...d}),[()=>p("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",a.class)]);var l=c(r);u(l,()=>a.children??v),n(r),x(r,e=>s(e),()=>s()),i(t,r),f()}var y=h("<div><!></div>");function T(t,a){o(a,!0);let s=b(a,"ref",15,null),d=g(a,["$$slots","$$events","$$legacy","ref","class","children"]);var r=y();m(r,e=>({"data-slot":"card-content",class:e,...d}),[()=>p("px-6",a.class)]);var l=c(r);u(l,()=>a.children??v),n(r),x(r,e=>s(e),()=>s()),i(t,r),f()}export{T as C,G as a};
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,2 +0,0 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DSpOEFAc.js","./Bzak7iHL.js","./MIlO0V30.js","./BMmwim-G.js","./Dt2zEVER.js","./D6Mj8HfB.js","./DPCugUAM.js","./BOCLbrhU.js","./De4R2cbq.js","./znVx7SEM.js","./BU_acMKx.js","./CINS0kDe.js"])))=>i.map(i=>d[i]);
|
||||
import{c as P,_ as B}from"./DPCugUAM.js";import"./Bzak7iHL.js";import{h as t,i as w,N as y,ap as L,k as N,Q as O,aq as S,ar as V,as as R,at as A,L as D,p as h,m as _,Y as q,au as j,av as z,aw as G,ax as k,D as F,b as p,d as b,F as H,a as c,E as I,_ as Q,ay as Y,g as E,u as C,f as J}from"./MIlO0V30.js";import{a as K}from"./DBvDeCtH.js";import{B as U,i as W}from"./D6Mj8HfB.js";import{t as X,a as Z,c as $,s as ee}from"./De4R2cbq.js";import{i as ae}from"./Dt2zEVER.js";import{p as T,b as re,r as te}from"./znVx7SEM.js";function ne(f,r,n,o,u,e){let d=t;t&&w();var a=null;t&&y.nodeType===L&&(a=y,w());var l=t?y:f,i=new U(l,!1);N(()=>{const s=r()||null;var v=n||s==="svg"?V:void 0;if(s===null){i.ensure(null,null);return}return i.ensure(s,m=>{if(s){if(a=t?a:S(s,v),R(a,a),o){t&&ae(s)&&a.append(document.createComment(""));var g=t?A(a):a.appendChild(D());t&&(g===null?h(!1):_(g)),o(a,g)}q.nodes.end=a,m.before(a)}t&&_(m)}),()=>{}},O),j(()=>{}),d&&(h(!0),_(l))}function se(f,r){let n=null,o=t;var u;if(t){n=y;for(var e=A(document.head);e!==null&&(e.nodeType!==G||e.data!==f);)e=k(e);if(e===null)h(!1);else{var d=k(e);e.remove(),_(d)}}t||(u=document.head.appendChild(D()));try{N(()=>r(u),z)}finally{o&&(h(!0),_(n))}}const ie=X({base:"focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] [&>svg]:pointer-events-none [&>svg]:size-3",variants:{variant:{default:"bg-primary text-primary-foreground [a&]:hover:bg-primary/90 border-transparent",secondary:"bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90 border-transparent",destructive:"bg-destructive [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/70 border-transparent text-white",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function _e(f,r){F(r,!0);let n=T(r,"ref",15,null),o=T(r,"variant",3,"default"),u=te(r,["$$slots","$$events","$$legacy","ref","href","class","variant","children"]);var e=p(),d=b(e);ne(d,()=>r.href?"a":"span",!1,(a,l)=>{re(a,v=>n(v),()=>n()),Z(a,v=>({"data-slot":"badge",href:r.href,class:v,...u}),[()=>$(ie({variant:o()}),r.class)]);var i=p(),s=b(i);ee(s,()=>r.children??H),c(l,i)}),c(f,e),I()}var oe=J('<main class="container mx-auto flex flex-col gap-6 py-8"><p class="text-muted-foreground">Loading…</p></main>');function pe(f,r){F(r,!0);var n=p();se("rk8na7",e=>{Q(()=>{Y.title="Items – Stackq"})});var o=b(n);{var u=e=>{var d=p(),a=b(d);K(a,()=>B(()=>import("./DSpOEFAc.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url),l=>{var i=oe();c(l,i)},(l,i)=>{var s=C(()=>{var{default:x}=E(i);return{ItemsCrud:x}}),v=C(()=>E(s).ItemsCrud),m=p(),g=b(m);P(g,()=>E(v),(x,M)=>{M(x,{get data(){return r.data}})}),c(l,m)}),c(e,d)};W(o,e=>{e(u)})}c(f,n),I()}export{_e as B,pe as _,ne as e,se as h};
|
||||
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
||||
var F=Object.defineProperty;var k=a=>{throw TypeError(a)};var I=(a,e,t)=>e in a?F(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var R=(a,e,t)=>I(a,typeof e!="symbol"?e+"":e,t),S=(a,e,t)=>e.has(a)||k("Cannot "+t);var s=(a,e,t)=>(S(a,e,"read from private field"),t?t.call(a):e.get(a)),u=(a,e,t)=>e.has(a)?k("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(a):e.set(a,t),w=(a,e,t,i)=>(S(a,e,"write to private field"),i?i.call(a,t):e.set(a,t),t);import{G as E,I as x,J as T,K as H,L as M,M as N,h as A,N as O,O as B,P as C,k as L,i as P,Q as Y,R as G,S as J,H as K,o as Q,m as j,p as D}from"./MIlO0V30.js";var l,d,h,_,v,m,b;class q{constructor(e,t=!0){R(this,"anchor");u(this,l,new Map);u(this,d,new Map);u(this,h,new Map);u(this,_,new Set);u(this,v,!0);u(this,m,()=>{var e=E;if(s(this,l).has(e)){var t=s(this,l).get(e),i=s(this,d).get(t);if(i)x(i),s(this,_).delete(t);else{var o=s(this,h).get(t);o&&(s(this,d).set(t,o.effect),s(this,h).delete(t),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),i=o.effect)}for(const[f,r]of s(this,l)){if(s(this,l).delete(f),f===e)break;const n=s(this,h).get(r);n&&(T(n.effect),s(this,h).delete(r))}for(const[f,r]of s(this,d)){if(f===t||s(this,_).has(f))continue;const n=()=>{if(Array.from(s(this,l).values()).includes(f)){var p=document.createDocumentFragment();B(r,p),p.append(M()),s(this,h).set(f,{effect:r,fragment:p})}else T(r);s(this,_).delete(f),s(this,d).delete(f)};s(this,v)||!i?(s(this,_).add(f),H(r,n,!1)):n()}}});u(this,b,e=>{s(this,l).delete(e);const t=Array.from(s(this,l).values());for(const[i,o]of s(this,h))t.includes(i)||(T(o.effect),s(this,h).delete(i))});this.anchor=e,w(this,v,t)}ensure(e,t){var i=E,o=C();if(t&&!s(this,d).has(e)&&!s(this,h).has(e))if(o){var f=document.createDocumentFragment(),r=M();f.append(r),s(this,h).set(e,{effect:N(()=>t(r)),fragment:f})}else s(this,d).set(e,N(()=>t(this.anchor)));if(s(this,l).set(i,e),o){for(const[n,c]of s(this,d))n===e?i.unskip_effect(c):i.skip_effect(c);for(const[n,c]of s(this,h))n===e?i.unskip_effect(c.effect):i.skip_effect(c.effect);i.oncommit(s(this,m)),i.ondiscard(s(this,b))}else A&&(this.anchor=O),s(this,m).call(this)}}l=new WeakMap,d=new WeakMap,h=new WeakMap,_=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap;function U(a,e,t=!1){A&&P();var i=new q(a),o=t?Y:0;function f(r,n){if(A){const g=G(a);var c;if(g===J?c=0:g===K?c=!1:c=parseInt(g.substring(1)),r!==c){var p=Q();j(p),i.anchor=p,D(!1),i.ensure(r,n),D(!0);return}}i.ensure(r,n)}L(()=>{var r=!1;e((n,c=0)=>{r=!0,f(c,n)}),r||f(!1,null)},o)}export{q as B,U as i};
|
||||
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
||||
import{e}from"./MIlO0V30.js";e();
|
||||
@@ -1,2 +0,0 @@
|
||||
‹€import{e}from"./MIlO0V30.js";e();
|
||||
|
||||
Binary file not shown.
@@ -1 +0,0 @@
|
||||
import{h as l,i as x,j as A,k as B,l as N,H as g,m as D,o as H,p as c,q as S,v,B as q,w as L,x as R,y as U,z as k,U as j,A as E,C as z}from"./MIlO0V30.js";import{B as C}from"./D6Mj8HfB.js";const T=0,_=1;function O(m,b,y,r,n){l&&x();var h=A(),t=j,i=h?k(t):E(t,!1,!1),o=h?k(t):E(t,!1,!1),s=new C(m);B(()=>{var u=b(),p=!1;let d=l&&N(u)===(m.data===g);if(d&&(D(H()),c(!1)),N(u)){var w=z(),I=!1;const a=e=>{if(!p){I=!0,w(!1),q.ensure(),l&&c(!1);try{e()}finally{L(),R||U()}}};u.then(e=>{a(()=>{v(i,e),s.ensure(_,r&&(f=>r(f,i)))})},e=>{a(()=>{if(v(o,e),s.ensure(_,n&&(f=>n(f,o))),!n)throw o.v})}),l?s.ensure(T,y):S(()=>{I||a(()=>{s.ensure(T,y)})})}else v(i,u),s.ensure(_,r&&(a=>r(a,i)));return d&&c(!0),()=>{p=!0}})}export{O as a};
|
||||
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
||||
import{h as E,i as g,k as p,Q as _}from"./MIlO0V30.js";import{B as b}from"./D6Mj8HfB.js";function R(f,i,a){E&&g();var d=new b(f);p(()=>{var o=i()??null;d.ensure(o,o&&(m=>a(m,o)))},_)}const P="modulepreload",S=function(f,i){return new URL(f,i).href},y={},T=function(i,a,d){let o=Promise.resolve();if(a&&a.length>0){let s=function(e){return Promise.all(e.map(r=>Promise.resolve(r).then(c=>({status:"fulfilled",value:c}),c=>({status:"rejected",reason:c}))))};const t=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),v=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));o=s(a.map(e=>{if(e=S(e,d),e in y)return;y[e]=!0;const r=e.endsWith(".css"),c=r?'[rel="stylesheet"]':"";if(d)for(let u=t.length-1;u>=0;u--){const h=t[u];if(h.href===e&&(!r||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${e}"]${c}`))return;const n=document.createElement("link");if(n.rel=r?"stylesheet":P,r||(n.as="script"),n.crossOrigin="",n.href=e,v&&n.setAttribute("nonce",v),document.head.appendChild(n),r)return new Promise((u,h)=>{n.addEventListener("load",u),n.addEventListener("error",()=>h(Error(`Unable to preload CSS for ${e}`)))})}))}function m(s){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=s,window.dispatchEvent(t),!t.defaultPrevented)throw s}return o.then(s=>{for(const t of s||[])t.status==="rejected"&&m(t.reason);return i().catch(m)})},j=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));export{T as _,j as a,R as c};
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
import"./Bzak7iHL.js";import{A as T,f as c,C as s,h as d,D as r,E as o,a,r as m,F as g,c as U,g as y,G as V,I as X,u as Y,b as x}from"./Dexp9pM5.js";import{c as l}from"./25AjRaeI.js";import{B as h}from"./B12dZE2q.js";import{D as Z,a as tt,b as et,c as at,I as st,d as rt}from"./iABcLwh6.js";import{g as ot}from"./BapE3c1q.js";var lt=x("<!> <!>",1),nt=x("<!> <!>",1),it=x('<main class="flex min-h-screen flex-col items-center justify-center gap-6 p-8"><h1 class="text-2xl font-semibold">Stackq</h1> <p class="text-muted-foreground">Svelte 5 + shadcn-svelte + PocketBase</p> <div class="flex w-full max-w-xs flex-col gap-2"><a href="/items" class="block"><!></a> <!> <a href="/logout" class="block"><!></a></div></main> <!>',1);function gt(A,P){T(P,!0);let n=X(!1);const C=Y(()=>{var t;return((t=P.data)==null?void 0:t.itemsForParent)??[]});function L(){g(n,!1),ot("/items")}var w=it(),u=c(w),b=s(d(u),4),f=d(b),N=d(f);h(N,{class:"w-full",children:(t,i)=>{r();var e=o("Items table");a(t,e)},$$slots:{default:!0}}),m(f);var D=s(f,2);h(D,{class:"w-full",variant:"outline",onclick:()=>g(n,!0),children:(t,i)=>{r();var e=o("New item");a(t,e)},$$slots:{default:!0}});var k=s(D,2),j=d(k);h(j,{class:"w-full",variant:"outline",children:(t,i)=>{r();var e=o("Log out");a(t,e)},$$slots:{default:!0}}),m(k),m(b),m(u);var E=s(u,2);l(E,()=>rt,(t,i)=>{i(t,{get open(){return y(n)},set open(e){g(n,e,!0)},children:(e,ct)=>{var F=U(),G=c(F);l(G,()=>Z,(H,O)=>{O(H,{class:"max-h-[90vh] overflow-y-auto sm:max-w-[500px]",children:(W,dt)=>{var I=nt(),S=c(I);l(S,()=>tt,(J,K)=>{K(J,{children:(M,mt)=>{var B=lt(),q=c(B);l(q,()=>et,(v,$)=>{$(v,{children:(p,R)=>{r();var _=o("New item");a(p,_)},$$slots:{default:!0}})});var Q=s(q,2);l(Q,()=>at,(v,$)=>{$(v,{children:(p,R)=>{r();var _=o("Add a new Stackq item.");a(p,_)},$$slots:{default:!0}})}),a(M,B)},$$slots:{default:!0}})});var z=s(S,2);st(z,{get itemsForParent(){return y(C)},action:"/items?/create",submitLabel:"Create",onSuccess:L}),a(W,I)},$$slots:{default:!0}})}),a(e,F)},$$slots:{default:!0}})}),a(A,w),V()}export{gt as default};
|
||||
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
||||
import"./Bzak7iHL.js";import{D as C,c as i,F as j,r as n,a as o,E as L,f as h,b as U,d as I,n as $,t as b,s as p,g as V,u as W,ao as X}from"./MIlO0V30.js";import{s as Y}from"./BMmwim-G.js";import{i as Z}from"./D6Mj8HfB.js";import{c as y}from"./DPCugUAM.js";import{C as ee,L as J,I as K,a as re,b as ae,e as te}from"./BOCLbrhU.js";import{a as k,c as D,s as O}from"./De4R2cbq.js";import{p as S,b as T,r as z}from"./znVx7SEM.js";import{B as se}from"./CINS0kDe.js";var oe=h("<p><!></p>");function de(c,e){C(e,!0);let d=S(e,"ref",15,null),u=z(e,["$$slots","$$events","$$legacy","ref","class","children"]);var r=oe();k(r,s=>({"data-slot":"card-description",class:s,...u}),[()=>D("text-muted-foreground text-sm",e.class)]);var v=i(r);O(v,()=>e.children??j),n(r),T(r,s=>d(s),()=>d()),o(c,r),L()}var le=h("<div><!></div>");function ie(c,e){C(e,!0);let d=S(e,"ref",15,null),u=z(e,["$$slots","$$events","$$legacy","ref","class","children"]);var r=le();k(r,s=>({"data-slot":"card-header",class:s,...u}),[()=>D("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e.class)]);var v=i(r);O(v,()=>e.children??j),n(r),T(r,s=>d(s),()=>d()),o(c,r),L()}var ne=h("<div><!></div>");function ce(c,e){C(e,!0);let d=S(e,"ref",15,null),u=z(e,["$$slots","$$events","$$legacy","ref","class","children"]);var r=ne();k(r,s=>({"data-slot":"card-title",class:s,...u}),[()=>D("leading-none font-semibold",e.class)]);var v=i(r);O(v,()=>e.children??j),n(r),T(r,s=>d(s),()=>d()),o(c,r),L()}var ue=h("<!> <!>",1),ve=h('<p class="text-destructive text-sm"> </p>'),fe=h('<form method="POST" action="?/login" class="space-y-4"><div class="space-y-2"><!> <!></div> <div class="space-y-2"><div class="flex items-center justify-between"><!> <a href="/forgot-password" class="text-muted-foreground text-sm underline hover:text-foreground">Forgot your password?</a></div> <!></div> <!> <!></form>'),me=h("<!> <!>",1);function Ce(c,e){C(e,!0);var d=U(),u=I(d);y(u,()=>ae,(r,v)=>{v(r,{class:"w-full max-w-sm",children:(s,_e)=>{var A=me(),G=I(A);y(G,()=>ie,(E,F)=>{F(E,{children:(q,N)=>{var f=ue(),g=I(f);y(g,()=>ce,(x,m)=>{m(x,{children:(_,B)=>{$();var w=b("Login");o(_,w)},$$slots:{default:!0}})});var P=p(g,2);y(P,()=>de,(x,m)=>{m(x,{children:(_,B)=>{$();var w=b("Enter your email and password to sign in.");o(_,w)},$$slots:{default:!0}})}),o(q,f)},$$slots:{default:!0}})});var M=p(G,2);y(M,()=>ee,(E,F)=>{F(E,{children:(q,N)=>{var f=fe(),g=i(f),P=i(g);J(P,{for:"email",children:(a,t)=>{$();var l=b("Email");o(a,l)},$$slots:{default:!0}});var x=p(P,2);{let a=W(()=>{var t;return((t=e.data)==null?void 0:t.email)??""});K(x,{id:"email",name:"email",type:"email",placeholder:"you@example.com",autocomplete:"email",get value(){return V(a)},required:!0})}n(g);var m=p(g,2),_=i(m),B=i(_);J(B,{for:"password",children:(a,t)=>{$();var l=b("Password");o(a,l)},$$slots:{default:!0}}),$(2),n(_);var w=p(_,2);K(w,{id:"password",name:"password",type:"password",autocomplete:"current-password",required:!0}),n(m);var H=p(m,2);{var Q=a=>{var t=ve(),l=i(t,!0);n(t),X(()=>Y(l,e.data.error)),o(a,t)};Z(H,a=>{var t;(t=e.data)!=null&&t.error&&a(Q)})}var R=p(H,2);se(R,{type:"submit",class:"w-full",children:(a,t)=>{$();var l=b("Login");o(a,l)},$$slots:{default:!0}}),n(f),re(f,(a,t)=>{var l;return(l=te)==null?void 0:l(a,t)},()=>()=>async({update:a})=>{await a()}),o(q,f)},$$slots:{default:!0}})}),o(s,A)},$$slots:{default:!0}})}),o(c,d),L()}export{Ce as default};
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
import{i as n,j as x,k as B,l as g,m as N,H as A,s as D,n as H,o as c,q as S,p as v,B as q,t as L,v as R,w as U,x as k,U as j,y as E,z}from"./Dexp9pM5.js";import{B as G}from"./CRDN6Mh7.js";const T=0,_=1;function P(m,b,y,r,l){n&&x();var h=B(),t=j,i=h?k(t):E(t,!1,!1),o=h?k(t):E(t,!1,!1),s=new G(m);g(()=>{var u=b(),p=!1;let d=n&&N(u)===(m.data===A);if(d&&(D(H()),c(!1)),N(u)){var w=z(),I=!1;const a=e=>{if(!p){I=!0,w(!1),q.ensure(),n&&c(!1);try{e()}finally{L(),R||U()}}};u.then(e=>{a(()=>{v(i,e),s.ensure(_,r&&(f=>r(f,i)))})},e=>{a(()=>{if(v(o,e),s.ensure(_,l&&(f=>l(f,o))),!l)throw o.v})}),n?s.ensure(T,y):S(()=>{I||a(()=>{s.ensure(T,y)})})}else v(i,u),s.ensure(_,r&&(a=>r(a,i)));return d&&c(!0),()=>{p=!0}})}export{P as a};
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-1
File diff suppressed because one or more lines are too long
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-1
@@ -1 +1 @@
|
||||
import{T as k,V as b,W as E,X as S,Y as m,q as L,Z as V}from"./MIlO0V30.js";function B(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const A=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function D(t){return A.includes(t)}const x={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function R(t){return t=t.toLowerCase(),x[t]??t}const I=["touchstart","touchmove"];function j(t){return I.includes(t)}const N=["textarea","script","style","title"];function C(t){return N.includes(t)}const i=Symbol("events"),P=new Set,W=new Set;function M(t,e,r,u={}){function o(a){if(u.capture||O.call(e,a),!a.cancelBubble)return V(()=>r==null?void 0:r.call(this,a))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?L(()=>{e.addEventListener(t,o,u)}):e.addEventListener(t,o,u),o}function X(t,e,r,u={}){var o=M(e,t,r,u);return()=>{t.removeEventListener(e,o,u)}}function z(t,e,r){(e[i]??(e[i]={}))[t]=r}function F(t){for(var e=0;e<t.length;e++)P.add(t[e]);for(var r of W)r(t)}let w=null;function O(t){var v,g;var e=this,r=e.ownerDocument,u=t.type,o=((v=t.composedPath)==null?void 0:v.call(t))||[],a=o[0]||t.target;w=t;var f=0,d=w===t&&t[i];if(d){var s=o.indexOf(d);if(s!==-1&&(e===document||e===window)){t[i]=e;return}var p=o.indexOf(e);if(p===-1)return;s<=p&&(f=s)}if(a=o[f]||t.target,a!==e){k(t,"currentTarget",{configurable:!0,get(){return a||r}});var y=S,T=m;b(null),E(null);try{for(var c,_=[];a!==null;){var l=a.assignedSlot||a.parentNode||a.host||null;try{var h=(g=a[i])==null?void 0:g[u];h!=null&&(!a.disabled||t.target===a)&&h.call(a,t)}catch(n){c?_.push(n):c=n}if(t.cancelBubble||l===e||l===null)break;a=l}if(c){for(let n of _)queueMicrotask(()=>{throw n});throw c}}finally{t[i]=e,delete t.currentTarget,b(y),E(T)}}}export{P as a,j as b,B as c,z as d,F as e,M as f,D as g,O as h,C as i,R as n,X as o,W as r};
|
||||
import{V as S,W as b,X as E,Y as T,R as m,q as L,Z as V}from"./Dexp9pM5.js";function q(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const A=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function B(t){return A.includes(t)}const x={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function D(t){return t=t.toLowerCase(),x[t]??t}const I=["touchstart","touchmove"];function j(t){return I.includes(t)}const N=["textarea","script","style","title"];function C(t){return N.includes(t)}const i=Symbol("events"),P=new Set,W=new Set;function M(t,e,r,u={}){function o(a){if(u.capture||O.call(e,a),!a.cancelBubble)return V(()=>r==null?void 0:r.call(this,a))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?L(()=>{e.addEventListener(t,o,u)}):e.addEventListener(t,o,u),o}function X(t,e,r,u={}){var o=M(e,t,r,u);return()=>{t.removeEventListener(e,o,u)}}function z(t,e,r){(e[i]??(e[i]={}))[t]=r}function F(t){for(var e=0;e<t.length;e++)P.add(t[e]);for(var r of W)r(t)}let w=null;function O(t){var v,g;var e=this,r=e.ownerDocument,u=t.type,o=((v=t.composedPath)==null?void 0:v.call(t))||[],a=o[0]||t.target;w=t;var f=0,d=w===t&&t[i];if(d){var s=o.indexOf(d);if(s!==-1&&(e===document||e===window)){t[i]=e;return}var p=o.indexOf(e);if(p===-1)return;s<=p&&(f=s)}if(a=o[f]||t.target,a!==e){S(t,"currentTarget",{configurable:!0,get(){return a||r}});var y=T,k=m;b(null),E(null);try{for(var c,_=[];a!==null;){var l=a.assignedSlot||a.parentNode||a.host||null;try{var h=(g=a[i])==null?void 0:g[u];h!=null&&(!a.disabled||t.target===a)&&h.call(a,t)}catch(n){c?_.push(n):c=n}if(t.cancelBubble||l===e||l===null)break;a=l}if(c){for(let n of _)queueMicrotask(()=>{throw n});throw c}}finally{t[i]=e,delete t.currentTarget,b(y),E(k)}}}export{P as a,j as b,q as c,z as d,F as e,M as f,B as g,O as h,C as i,D as n,X as o,W as r};
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
import{e}from"./Dexp9pM5.js";e();
|
||||
@@ -0,0 +1,2 @@
|
||||
‹€import{e}from"./Dexp9pM5.js";e();
|
||||
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
import{a1 as T,ac as j,ad as y,q,ae as S,af as g,ag as B,ah as Y,g as h,ai as K,F as M,aj as N,R as U,ak as $,al as z,am as C,an as F,ao as G,ap as Z,d as H,aq as J,ar as x,as as d}from"./Dexp9pM5.js";function R(r,e){return r===e||(r==null?void 0:r[S])===e}function m(r={},e,n,i){return T(()=>{var s,t;return j(()=>{s=t,t=[],y(()=>{r!==n(...t)&&(e(r,...t),s&&R(n(...s),r)&&e(null,...s))})}),()=>{q(()=>{t&&R(n(...t),r)&&e(null,...t)})}}),r}let _=!1;function Q(r){var e=_;try{return _=!1,[r(),_]}finally{_=e}}const V={get(r,e){if(!r.exclude.includes(e))return r.props[e]},set(r,e){return!1},getOwnPropertyDescriptor(r,e){if(!r.exclude.includes(e)&&e in r.props)return{enumerable:!0,configurable:!0,value:r.props[e]}},has(r,e){return r.exclude.includes(e)?!1:e in r.props},ownKeys(r){return Reflect.ownKeys(r.props).filter(e=>!r.exclude.includes(e))}};function k(r,e,n){return new Proxy({props:r,exclude:e},V)}const W={get(r,e){let n=r.props.length;for(;n--;){let i=r.props[n];if(d(i)&&(i=i()),typeof i=="object"&&i!==null&&e in i)return i[e]}},set(r,e,n){let i=r.props.length;for(;i--;){let s=r.props[i];d(s)&&(s=s());const t=g(s,e);if(t&&t.set)return t.set(n),!0}return!1},getOwnPropertyDescriptor(r,e){let n=r.props.length;for(;n--;){let i=r.props[n];if(d(i)&&(i=i()),typeof i=="object"&&i!==null&&e in i){const s=g(i,e);return s&&!s.configurable&&(s.configurable=!0),s}}},has(r,e){if(e===S||e===x)return!1;for(let n of r.props)if(d(n)&&(n=n()),n!=null&&e in n)return!0;return!1},ownKeys(r){const e=[];for(let n of r.props)if(d(n)&&(n=n()),!!n){for(const i in n)e.includes(i)||e.push(i);for(const i of Object.getOwnPropertySymbols(n))e.includes(i)||e.push(i)}return e}};function rr(...r){return new Proxy({props:r},W)}function er(r,e,n,i){var O;var s=!C||(n&F)!==0,t=(n&z)!==0,E=(n&J)!==0,a=i,v=!0,b=()=>(v&&(v=!1,a=E?y(i):i),a),l;if(t){var A=S in r||x in r;l=((O=g(r,e))==null?void 0:O.set)??(A&&e in r?f=>r[e]=f:void 0)}var o,w=!1;t?[o,w]=Q(()=>r[e]):o=r[e],o===void 0&&i!==void 0&&(o=b(),l&&(s&&B(),l(o)));var u;if(s?u=()=>{var f=r[e];return f===void 0?b():(v=!0,f)}:u=()=>{var f=r[e];return f!==void 0&&(a=void 0),f===void 0?a:f},s&&(n&Y)===0)return u;if(l){var D=r.$$legacy;return(function(f,p){return arguments.length>0?((!s||!p||D||w)&&l(p?u():f),f):u()})}var P=!1,c=((n&G)!==0?Z:H)(()=>(P=!1,u()));t&&h(c);var L=U;return(function(f,p){if(arguments.length>0){const I=p?h(c):s&&t?K(f):f;return M(c,I),P=!0,a!==void 0&&(a=I),f}return N&&P||(L.f&$)!==0?c.v:h(c)})}export{m as b,er as p,k as r,rr as s};
|
||||
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user