@stacksjs/stx 0.2.353 → 0.2.354
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-jhh9a133.js → chunk-04x3vny9.js} +1 -1
- package/dist/{chunk-3xq6vafa.js → chunk-1apnswz7.js} +1 -1
- package/dist/{chunk-ptag4104.js → chunk-1qvf8ase.js} +1 -1
- package/dist/chunk-2wb3pgp4.js +12 -0
- package/dist/{chunk-av590rpt.js → chunk-32x78na8.js} +1 -1
- package/dist/{chunk-0ptbqqjn.js → chunk-3nx7z086.js} +2 -2
- package/dist/{chunk-2ztc1c69.js → chunk-3z4d7kmp.js} +1 -1
- package/dist/{chunk-yma78dgm.js → chunk-4b2vsawv.js} +1 -1
- package/dist/{chunk-90f1exy0.js → chunk-5wbdbcvf.js} +2 -2
- package/dist/{chunk-pyxrf1yq.js → chunk-616fn77w.js} +1 -1
- package/dist/{chunk-g8gyg75c.js → chunk-62nz9v8t.js} +1 -1
- package/dist/{chunk-b86rzqhh.js → chunk-6k5a03pw.js} +1 -1
- package/dist/{chunk-tge90dcm.js → chunk-6r3aavbv.js} +1 -1
- package/dist/{chunk-x069zavs.js → chunk-6zrg2mmc.js} +1 -1
- package/dist/{chunk-47bw0sdp.js → chunk-70zk8tj2.js} +1 -1
- package/dist/{chunk-dtqgqwvg.js → chunk-84bhnp6p.js} +1 -1
- package/dist/{chunk-x7v4t7sd.js → chunk-88e14er7.js} +1 -1
- package/dist/chunk-8yydz0hk.js +2 -0
- package/dist/{chunk-qeh9d34h.js → chunk-9e20mgwc.js} +1 -1
- package/dist/{chunk-c5984fa1.js → chunk-a1knndrh.js} +8 -8
- package/dist/{chunk-65sbtwdm.js → chunk-a7yxvxke.js} +1 -1
- package/dist/{chunk-5f24zdpz.js → chunk-a8ghkfh6.js} +1 -1
- package/dist/{chunk-8v2k21n4.js → chunk-a9w1ds4w.js} +1 -1
- package/dist/{chunk-hdgcn4pr.js → chunk-aanwshk6.js} +1 -1
- package/dist/{chunk-7yqnsb6r.js → chunk-ahfj7dc7.js} +1 -1
- package/dist/{chunk-aqfpwbpa.js → chunk-avye7h5s.js} +1 -1
- package/dist/{chunk-ytnby89m.js → chunk-bed5f4bp.js} +1 -1
- package/dist/{chunk-mncxf2ba.js → chunk-epqd3eah.js} +1 -1
- package/dist/{chunk-njewrge9.js → chunk-f85f75jh.js} +1 -1
- package/dist/{chunk-fkx0m7qh.js → chunk-g5mhck0r.js} +1 -1
- package/dist/{chunk-trpgj79r.js → chunk-g7msqva8.js} +2 -2
- package/dist/{chunk-cp9swtsm.js → chunk-gtqbvt3a.js} +1 -1
- package/dist/{chunk-ag8t9t8y.js → chunk-h5jt4mxx.js} +1 -1
- package/dist/{chunk-tg1ke8te.js → chunk-hay8nwv3.js} +1 -1
- package/dist/{chunk-ybz74n47.js → chunk-hysq9e9t.js} +1 -1
- package/dist/{chunk-sevmpyg5.js → chunk-m6dstr44.js} +1 -1
- package/dist/{chunk-8xj54kfq.js → chunk-mmnf2pac.js} +1 -1
- package/dist/{chunk-fcr2kg64.js → chunk-msq8xvhp.js} +16 -16
- package/dist/{chunk-pwzd7c1z.js → chunk-ngjkzaj7.js} +1 -1
- package/dist/{chunk-vf1kq4zw.js → chunk-ntzzhw3w.js} +1 -1
- package/dist/{chunk-cm1v88jj.js → chunk-px0bs815.js} +1 -1
- package/dist/{chunk-zwjnf7zb.js → chunk-qw92p9za.js} +1 -1
- package/dist/{chunk-x5dh3gje.js → chunk-rjwnw5hj.js} +1 -1
- package/dist/{chunk-vjnvjev0.js → chunk-tmr3xq5d.js} +1 -1
- package/dist/chunk-tpk6wm38.js +2 -0
- package/dist/{chunk-sa4gad49.js → chunk-v0e259x2.js} +1 -1
- package/dist/{chunk-1pmwpb04.js → chunk-vw4b7g24.js} +1 -1
- package/dist/{chunk-qq3zttws.js → chunk-x2n1x19t.js} +1 -1
- package/dist/{chunk-9113j510.js → chunk-z23sc9p4.js} +1 -1
- package/dist/{chunk-zgcmre3w.js → chunk-zks9ft7n.js} +1 -1
- package/dist/cli.js +8 -8
- package/dist/craft-entry.js +1 -1
- package/dist/craft.js +1 -1
- package/dist/pwa.js +1 -1
- package/dist/ssg.js +2 -2
- package/dist/strip-literals.d.ts +14 -5
- package/dist/strip-literals.js +54 -1
- package/package.json +5 -5
- package/dist/chunk-bqdfbwdf.js +0 -11
- package/dist/chunk-xtntgyfn.js +0 -2
- package/dist/chunk-ynxq28xq.js +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import{ns as x}from"./chunk-89mqnh67.js";import{nt as A}from"./chunk-y2f41kaq.js";import{Dt as T,Ht as q}from"./chunk-vhta1be7.js";import{Dw as y,Xv as C}from"./chunk-swvm1wgn.js";import{Nw as P}from"./chunk-ejqpq0wc.js";y();import H from"fs";import $ from"path";import{pathToFileURL as b}from"url";var R=["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"],O=new Set;function N(J,Y={}){let K=$.resolve(J,Y.dir??"server/api"),Q=[],Z=new Map;if(!H.existsSync(K))return Q;let B=Array.from(new Bun.Glob("**/*.{ts,js,mts,mjs}").scanSync({cwd:K})).sort();for(let z of B){if(z.endsWith(".d.ts"))continue;let W=z.replace(/\.(?:ts|js|mts|mjs)$/,"").split("/"),I=W.pop(),X=I.lastIndexOf("."),_=X>=0?I.slice(X+1):"get",F=_.toUpperCase();if(!R.includes(F)||_!==_.toLowerCase())throw Error(`Unsupported API method suffix in ${z}; use ${R.map((k)=>k.toLowerCase()).join(", ")}`);if(X>=0)I=I.slice(0,X);if(I!=="index")W.push(I);let G=new Set,j=W.map((k,S)=>{let E=/^\[(\.\.\.)?([A-Za-z_]\w*)\]$/.exec(k);if(E){if(G.has(E[2])||E[1]&&S!==W.length-1)throw Error(`Invalid API parameter in ${z}`);return G.add(E[2]),`:${E[2]}${E[1]?"*":""}`}if(!/^[\w-]+$/.test(k))throw Error(`Unsupported API path segment ${k} in ${z}`);return k}),U=`/api${j.length?`/${j.join("/")}`:""}`,L=`${F} ${U.replace(/:\w+/g,":param")}`;if(Z.has(L))throw Error(`Ambiguous API route ${F} ${U}: ${Z.get(L)} and ${z}`);Z.set(L,z);let M=$.join(K,z);O.add($.resolve(M)),O.add(H.realpathSync(M)),Q.push({pattern:U,method:F,filePath:M})}return Q.sort((z,V)=>{let W=z.pattern.split("/"),I=V.pattern.split("/"),X=(_)=>_?.endsWith("*")?0:_?.startsWith(":")?1:2;for(let _=0;_<Math.max(W.length,I.length);_++){let F=X(I[_])-X(W[_]);if(F)return F}return z.pattern.localeCompare(V.pattern)||z.method.localeCompare(V.method)})}async function w(J,Y){let K=A(J,"api-types.d.ts"),Q=["// Generated by stx. Include this file in tsconfig.json.","declare module '@stacksjs/stx/api-client' {"," interface KnownApiRoutes {"];for(let B of Y){let z=`./${$.relative($.dirname(K),B.filePath).replace(/\\/g,"/")}`,{params:V}=C(B.pattern);Q.push(` ${JSON.stringify(`${B.method} ${B.pattern}`)}: { params: { ${V.map((W)=>`${JSON.stringify(W)}: string`).join("; ")} }; response: Awaited<ReturnType<typeof import(${JSON.stringify(z)}).default>> }`)}Q.push(" }","}","export {}","");let Z=Q.join(`
|
|
3
3
|
`);if(!await Bun.file(K).exists()||await Bun.file(K).text()!==Z)await Bun.write(K,Z);return K}async function p(J,Y,K={}){let Q=N(J,K);await w(J,Q);let Z=[];for(let B of Q){let z=await Bun.build({entrypoints:[B.filePath],target:"bun",format:"esm",minify:!1,splitting:!1});if(!z.success)throw Error(`API build failed for ${B.filePath}: ${z.logs.join(`
|
|
4
|
-
`)}`);let V=z.outputs.find((X)=>X.kind==="entry-point");if(!V)throw Error(`No API bundle for ${B.filePath}`);if(z.outputs.length!==1)throw Error(`API endpoint ${B.filePath} emits assets; package those explicitly instead`);let I=`server/api/endpoint-${new Bun.CryptoHasher("sha256").update(await V.arrayBuffer()).digest("hex").slice(0,20)}.mjs`;await Bun.write($.join(Y,I),V),Z.push({...B,filePath:I})}return Z}function D(J,Y){let K=J.map((Q)=>({route:Q,...C(Q.pattern)}));return async(Q)=>{let Z=new URL(Q.url).pathname,B=K.filter((G)=>G.regex.test(Z));if(!B.length)return null;let z=B[0].route.pattern,V=(G)=>G.replace(/:\w+/g,":param"),W=B.filter((G)=>V(G.route.pattern)===V(z)),I=Q.method,X=W.find((G)=>G.route.method===I)??(I==="HEAD"?W.find((G)=>G.route.method==="GET"):void 0);if(!X){let G=new Set(W.map((j)=>j.route.method));if(G.has("GET"))G.add("HEAD");return G.add("OPTIONS"),new Response(null,{status:I==="OPTIONS"?204:405,headers:{Allow:Array.from(G).sort().join(", ")}})}let _=X.regex.exec(Z),F=Object.create(null);try{X.params.forEach((G,j)=>{F[G]=decodeURIComponent(_[j+1])})}catch{return new Response("Invalid URL parameter encoding",{status:400})}try{let G=await Y(X.route);if(typeof G!=="function")throw Error(`API endpoint ${X.route.filePath} must default-export a handler`);let j=await G(Q,{params:F}),U=j instanceof Response?j:j===void 0?new Response(null,{status:204}):Response.json(j);if(I==="HEAD")return new Response(null,{status:U.status,headers:U.headers});return U}catch(G){return console.error(`[stx] API error for ${I} ${z}:`,G),Response.json({error:"Internal Server Error"},{status:500})}}}function l(J,Y){return D(Y,async(K)=>(await import(b($.resolve(J,K.filePath)).href)).default)}async function s(J,Y){if(!Y)return async()=>null;let K=Y===!0?{}:Y,Q=N(J,K);return await w(J,Q),async(Z)=>{if(!new URL(Z.url).pathname.match(/^\/api(?:\/|$)/))return null;try{let B=N(J,K);await w(J,B);let{loadStxConfig:z}=await import("./chunk-
|
|
4
|
+
`)}`);let V=z.outputs.find((X)=>X.kind==="entry-point");if(!V)throw Error(`No API bundle for ${B.filePath}`);if(z.outputs.length!==1)throw Error(`API endpoint ${B.filePath} emits assets; package those explicitly instead`);let I=`server/api/endpoint-${new Bun.CryptoHasher("sha256").update(await V.arrayBuffer()).digest("hex").slice(0,20)}.mjs`;await Bun.write($.join(Y,I),V),Z.push({...B,filePath:I})}return Z}function D(J,Y){let K=J.map((Q)=>({route:Q,...C(Q.pattern)}));return async(Q)=>{let Z=new URL(Q.url).pathname,B=K.filter((G)=>G.regex.test(Z));if(!B.length)return null;let z=B[0].route.pattern,V=(G)=>G.replace(/:\w+/g,":param"),W=B.filter((G)=>V(G.route.pattern)===V(z)),I=Q.method,X=W.find((G)=>G.route.method===I)??(I==="HEAD"?W.find((G)=>G.route.method==="GET"):void 0);if(!X){let G=new Set(W.map((j)=>j.route.method));if(G.has("GET"))G.add("HEAD");return G.add("OPTIONS"),new Response(null,{status:I==="OPTIONS"?204:405,headers:{Allow:Array.from(G).sort().join(", ")}})}let _=X.regex.exec(Z),F=Object.create(null);try{X.params.forEach((G,j)=>{F[G]=decodeURIComponent(_[j+1])})}catch{return new Response("Invalid URL parameter encoding",{status:400})}try{let G=await Y(X.route);if(typeof G!=="function")throw Error(`API endpoint ${X.route.filePath} must default-export a handler`);let j=await G(Q,{params:F}),U=j instanceof Response?j:j===void 0?new Response(null,{status:204}):Response.json(j);if(I==="HEAD")return new Response(null,{status:U.status,headers:U.headers});return U}catch(G){return console.error(`[stx] API error for ${I} ${z}:`,G),Response.json({error:"Internal Server Error"},{status:500})}}}function l(J,Y){return D(Y,async(K)=>(await import(b($.resolve(J,K.filePath)).href)).default)}async function s(J,Y){if(!Y)return async()=>null;let K=Y===!0?{}:Y,Q=N(J,K);return await w(J,Q),async(Z)=>{if(!new URL(Z.url).pathname.match(/^\/api(?:\/|$)/))return null;try{let B=N(J,K);await w(J,B);let{loadStxConfig:z}=await import("./chunk-32x78na8.js"),V=q((await z(J)).runtimeConfig);return await T(V,()=>D(B,async(W)=>{let I=await Bun.build({entrypoints:[W.filePath],target:"bun",format:"esm",splitting:!1});if(!I.success)throw Error(I.logs.join(`
|
|
5
5
|
`));let X=I.outputs.find((_)=>_.kind==="entry-point");if(!X||I.outputs.length!==1)throw Error(`Unsupported API bundle output: ${W.filePath}`);return(await import(`data:text/javascript;base64,${Buffer.from(await X.text()).toString("base64")}`)).default})(Z))}catch(B){return console.error("[stx] API discovery failed:",B),Response.json({error:"API discovery failed; check the server log"},{status:500})}}}function u(J,Y,K){if(x(J))return!0;let Q=/^(?:(?:stx|ui)\.config\.[cm]?[jt]s|runtime-config-(?:server|loader)\.[cm]?[jt]s)$/;if(Q.test($.basename(J)))return!0;try{if(Q.test($.basename(H.realpathSync(J))))return!0}catch{}if(O.has($.resolve(J)))return!0;if(!K)return!1;let Z=$.resolve(Y,typeof K==="object"?K.dir??"server/api":"server/api"),B=(V)=>{try{return H.realpathSync(V)}catch{return $.resolve(V)}},z=B(J);return[Z,$.resolve(Y,"server"),$.resolve(Y,".output/server")].some((V)=>{let W=B(V);return z===W||z.startsWith(`${W}${$.sep}`)})}
|
|
6
6
|
export{N as ml,w as nl,p as ol,D as pl,l as ql,s as rl,u as sl};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Hi as a,Ii as b}from"./chunk-
|
|
2
|
+
import{Hi as a,Ii as b}from"./chunk-hay8nwv3.js";import"./chunk-7we3xfde.js";import"./chunk-epqd3eah.js";import"./chunk-ngjkzaj7.js";import"./chunk-fvsefztj.js";import"./chunk-msq8xvhp.js";import"./chunk-8y1ve8tc.js";import"./chunk-njx93b4z.js";import"./chunk-2wb3pgp4.js";import"./chunk-89mqnh67.js";import"./chunk-xvh1k1a4.js";import"./chunk-9e20mgwc.js";import"./chunk-y2f41kaq.js";import"./chunk-xj6bcwqa.js";import"./chunk-gtqbvt3a.js";import"./chunk-vhta1be7.js";import"./chunk-tc4pj651.js";import"./chunk-san1eq0r.js";import"./chunk-avwywzsj.js";import"./chunk-wj21f1e0.js";import"./chunk-d86q27j8.js";import"./chunk-72x62kch.js";import"./chunk-swvm1wgn.js";import"./chunk-9nrgjtah.js";import"./chunk-ejqpq0wc.js";export{a as getStoreScript,b as clearStoreCache};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$ as jm,$a as mo,$b as wp,$c as wq,$d as wr,A as Vk,Aa as xn,Ab as Ro,Ac as Xp,Ad as Xq,Ae as bs,B as Wk,Ba as yn,Bb as So,Bc as Yp,Bd as Yq,Be as cs,C as Xk,Ca as Ln,Cb as To,Cc as Zp,Cd as Zq,Ce as ds,D as Yk,Da as Mn,Db as Uo,Dc as _p,Dd as _q,De as es,E as Ol,Ea as Nn,Eb as Vo,Ec as $p,Ed as $q,Ee as fs,F as Pl,Fa as On,Fb as Wo,Fc as aq,Fd as ar,Fe as gs,G as Ql,Ga as Pn,Gb as Xo,Gc as bq,Gd as br,Ge as hs,H as Rl,Ha as Qn,Hb as Yo,Hc as cq,Hd as cr,He as is,I as Sl,Ia as Un,Ib as Zo,Ic as dq,Id as dr,Ie as js,J as Tl,Ja as Vn,Jb as _o,Jc as eq,Jd as er,Je as ks,K as Ul,Ka as Wn,Kb as $o,Kc as fq,Kd as fr,Ke as ls,L as Vl,La as Xn,Lb as ap,Lc as gq,Ld as gr,M as Wl,Ma as Yn,Mb as bp,Mc as hq,Md as hr,N as Xl,Na as Zn,Nb as ip,Nc as iq,Nd as ir,O as Yl,Oa as _n,Ob as jp,Oc as jq,Od as jr,P as Zl,Pa as $n,Pb as kp,Pc as kq,Pd as kr,Q as _l,Qa as ao,Qb as lp,Qc as lq,Qd as lr,R as $l,Ra as bo,Rb as mp,Rc as mq,Rd as mr,S as am,Sa as co,Sb as np,Sc as nq,Sd as nr,T as bm,Ta as eo,Tb as op,Tc as oq,Td as or,U as cm,Ua as fo,Ub as pp,Uc as pq,Ud as pr,V as dm,Va as go,Vb as qp,Vc as qq,Vd as qr,W as em,Wa as ho,Wb as rp,Wc as rq,Wd as rr,X as fm,Xa as io,Xb as sp,Xc as sq,Xd as sr,Y as gm,Ya as jo,Yb as tp,Yc as tq,Yd as tr,Z as hm,Za as ko,Zb as up,Zc as uq,Zd as ur,_ as im,_a as lo,_b as vp,_c as vq,_d as vr,aa as km,ab as no,ac as xp,ad as xq,ae as xr,ba as lm,bb as oo,bc as yp,bd as yq,be as Er,ca as mm,cb as po,cc as zp,cd as zq,ce as Fr,da as nm,db as qo,dc as Ap,dd as Aq,de as Gr,ea as om,eb as ro,ec as Bp,ed as Bq,ee as Hr,fa as pm,fb as so,fc as Cp,fd as Cq,fe as Ir,ga as qm,gb as to,gc as Dp,gd as Dq,ge as Jr,ha as rm,hb as uo,hc as Ep,hd as Eq,he as Kr,ia as sm,ib as vo,ic as Fp,id as Fq,ie as Lr,ja as tm,jb as wo,jc as Gp,jd as Gq,je as Mr,ka as um,kb as xo,kc as Hp,kd as Hq,ke as Nr,la as vm,lb as yo,lc as Ip,ld as Iq,le as Or,ma as wm,mb as zo,mc as Jp,md as Jq,me as Pr,na as xm,nb as Co,nc as Kp,nd as Kq,ne as Qr,o as a,oa as ym,ob as Do,oc as Lp,od as Lq,oe as Rr,p as Gk,pa as mn,pb as Eo,pc as Mp,pd as Mq,pe as Sr,q as Hk,qa as nn,qb as Fo,qc as Np,qd as Nq,qe as Tr,r as Ik,ra as on,rb as Ho,rc as Op,rd as Oq,re as Ur,s as Jk,sa as pn,sb as Io,sc as Pp,sd as Pq,se as Vr,t as Kk,ta as qn,tb as Jo,tc as Qp,td as Qq,te as Wr,u as Lk,ua as rn,ub as Ko,uc as Rp,ud as Rq,ue as Xr,v as Mk,va as sn,vb as Mo,vc as Sp,vd as Sq,ve as Yr,w as Nk,wa as tn,wb as No,wc as Tp,wd as Tq,we as Zr,x as Ok,xa as un,xb as Oo,xc as Up,xd as Uq,xe as _r,y as Tk,ya as vn,yb as Po,yc as Vp,yd as Vq,ye as $r,z as Uk,za as wn,zb as Qo,zc as Wp,zd as Wq,ze as as}from"./chunk-c5984fa1.js";import{Le as cp,Me as dp,Ne as ep,Oe as fp,Pe as gp,Qe as hp}from"./chunk-jhh9a133.js";import{Re as Ao,Se as Bo}from"./chunk-2ver2s2y.js";import{Te as Go}from"./chunk-sevmpyg5.js";import{Ue as ln}from"./chunk-fkx0m7qh.js";import{Ve as Rn,We as Sn,Xe as Tn,Ye as Lo}from"./chunk-b86rzqhh.js";import{$e as $k,Ze as Zk,_e as _k,af as al,bf as bl,cf as cl,df as dl,ef as el,ff as fl,gf as gl,hf as hl,if as il,jf as jl,kf as kl,lf as ll}from"./chunk-ym3r8ktq.js";import{mf as Cl,nf as Dl,of as El,pf as Fl,qf as Gl,rf as Hl,sf as Il,tf as Jl,uf as Kl,vf as Ll,wf as Ml,xf as Nl}from"./chunk-msywnv5n.js";import{yf as Al,zf as Bl}from"./chunk-b5hank5e.js";import{Af as ml,Bf as nl,Cf as ol,Df as pl,Ef as ql,Ff as rl,Gf as sl,If as tl,Jf as ul,Kf as vl,Lf as wl,Mf as xl,Nf as yl,Qf as zl}from"./chunk-7qp3zphs.js";import{Rf as Vm,Sf as Wm,Tf as Xm,Uf as Ym,Vf as Zm,Wf as kn}from"./chunk-g8gyg75c.js";import{$f as Dm,Xf as zm,Yf as Am,Zf as Bm,_f as Cm,ag as Em,bg as Fm,cg as Gm,dg as Hm,eg as Im,fg as Jm,gg as Km,hg as Lm,ig as Mm,jg as Nm,kg as Om,lg as _m,mg as $m,ng as an,og as bn,pg as cn,qg as dn,rg as en,sg as fn,tg as gn,ug as hn,vg as jn}from"./chunk-trpgj79r.js";import{wg as Pm,xg as Qm}from"./chunk-57atgbyq.js";import{Ag as Bn,Bg as Cn,Cg as Dn,Dg as En,Eg as Fn,Fg as Gn,Gg as Hn,Hg as In,Ig as Jn,Jg as Kn,yg as zn,zg as An}from"./chunk-8bxtvsgm.js";import{Kg as pi,Lg as qi,Mg as ri,Ng as si,Og as ti,Pg as ui}from"./chunk-x069zavs.js";import{Qg as Kj,Rg as Lj,Sg as Mj,Wg as Nj,Xg as Oj,Yg as Pj}from"./chunk-rwwfzkz4.js";import{$g as Xj,Zg as Vj,_g as Wj,ah as Yj,bh as Zj,ch as _j,dh as $j,eh as ak,fh as bk,gh as ck,hh as dk}from"./chunk-7h9fajgs.js";import{ih as Aj,jh as Bj,kh as Cj,lh as Dj,mh as Ej,oh as Fj,ph as Gj,qh as Hj,rh as Ij,sh as Jj}from"./chunk-18018jkn.js";import{th as vk,vh as wk}from"./chunk-sqvqwd0p.js";import{Bh as Kh,Ch as Lh,Dh as Mh,Eh as Nh,Fh as Oh,Gh as Ph}from"./chunk-7r9vgzg4.js";import{Ih as Qh,Jh as Rh,Kh as Sh,Lh as Th,Mh as Uh,Nh as Vh,Oh as Wh,Ph as Xh,Qh as Yh,Rh as Zh,Sh as _h,Th as $h,Uh as ai,Vh as bi}from"./chunk-a959m68j.js";import{Xh as ci,Yh as di,Zh as ei,_h as fi}from"./chunk-1vb2rj09.js";import{di as gi}from"./chunk-g6czgcg4.js";import{gi as jh}from"./chunk-tge90dcm.js";import{hi as kh}from"./chunk-1z1efvtw.js";import{ii as lh,ji as mh}from"./chunk-vgfd9582.js";import{ki as nh,li as oh,mi as ph,ni as qh,oi as rh,pi as sh}from"./chunk-qsbjtp60.js";import{qi as th,ri as uh,si as vh,ti as wh,ui as xh}from"./chunk-nf7k53ap.js";import{vi as yh,wi as zh,xi as Ah,yi as Bh,zi as Ch}from"./chunk-zk6ghjnj.js";import{Ai as Dh,Bi as Eh,Ci as Fh,Di as Gh,Ei as Hh,Fi as Ih,Gi as Jh}from"./chunk-bgrkxzr7.js";import{Hi as hh,Ii as ih}from"./chunk-tg1ke8te.js";import"./chunk-7we3xfde.js";import{Mi as Oe,Ni as Pe,Oi as Qe,Pi as Re,Qi as Se,Ri as Te,Si as Ue,Ti as Ve,Ui as We,Vi as Xe,Wi as Ye,Xi as Ze,Yi as _e,Zi as $e}from"./chunk-9113j510.js";import{$i as sf,_i as rf,aj as tf,bj as uf,cj as vf,dj as wf,ej as xf,fj as yf,gj as zf,hj as Af,ij as Bf,jj as Cf,kj as Df,lj as Ef,mj as Ff,nj as Gf,oj as Hf}from"./chunk-8m0g0h4x.js";import{Aj as hf,Bj as jf,Cj as kf,Dj as lf,Ej as mf,Fj as nf,Gj as of,Hj as pf,Ij as qf,vj as cf,wj as df,xj as ef,yj as ff,zj as gf}from"./chunk-e4g8wz6t.js";import{Jj as If,Kj as Jf,Lj as Kf,Mj as Lf,Nj as Mf,Oj as Nf,Pj as Of,Qj as Pf,Rj as Qf,Sj as Rf,Tj as Sf,Uj as Tf,Vj as Uf,Wj as Vf}from"./chunk-8xj54kfq.js";import{ok as yr,pk as zr,qk as Ar,rk as Br,sk as Cr,tk as Dr}from"./chunk-0ptbqqjn.js";import{Ak as Tm,Bk as Um,uk as Pk,vk as Qk,wk as Rk,xk as Sk,yk as Rm,zk as Sm}from"./chunk-p3p4d6g1.js";import"./chunk-c0n802j1.js";import"./chunk-mncxf2ba.js";import{ml as ec,nl as fc,rl as gc}from"./chunk-pwzd7c1z.js";import{tl as bc}from"./chunk-fvsefztj.js";import{$l as Ub,$m as md,$n as Ie,$o as zg,$p as wi,$q as ek,Al as Da,Am as Fc,An as Rd,Ao as Xf,Ap as _g,Aq as ej,Bl as Ea,Bm as Gc,Bn as Sd,Bp as $g,Bq as fj,Cl as Fa,Cm as Hc,Cn as Td,Cp as ah,Cq as gj,Dl as Ga,Dm as Ic,Dn as Ud,Dp as bh,Dq as hj,El as Ha,Em as Jc,En as Vd,Ep as ch,Eq as ij,Fl as Ia,Fm as Kc,Fn as Wd,Fp as dh,Fq as jj,Gl as Ja,Gm as Lc,Gn as Xd,Gp as eh,Gq as kj,Hl as Ka,Hm as Mc,Hn as Yd,Ho as Yf,Hp as fh,Hq as lj,Il as La,Im as Nc,In as Zd,Ip as gh,Iq as mj,Jl as Ma,Jm as Oc,Jn as _d,Jo as Zf,Jp as hi,Jq as nj,Kl as Na,Km as Pc,Kn as $d,Kp as ii,Kq as oj,Ll as Oa,Lm as Zc,Ln as qe,Lo as _f,Lq as pj,Ml as ib,Mm as _c,Mn as re,Mo as $f,Mq as qj,Nl as jb,Nm as $c,Nn as se,No as ag,Np as ji,Nq as rj,Ol as kb,Om as ad,On as te,Oo as bg,Oq as sj,Pl as lb,Pm as bd,Pn as ue,Po as cg,Pq as tj,Ql as mb,Qm as cd,Qn as ve,Qo as og,Qq as uj,Rl as nb,Rm as dd,Rn as we,Ro as pg,Rq as vj,Sn as xe,So as qg,Sq as wj,Tm as ed,Tn as ye,To as rg,Tq as xj,Ul as Kb,Um as fd,Un as ze,Uo as sg,Uq as yj,Vl as Lb,Vm as gd,Vn as Ae,Vo as tg,Vp as ki,Vq as zj,Wl as Mb,Wm as hd,Wn as Be,Wo as ug,Wp as li,Wq as Qj,Xl as Nb,Xm as id,Xn as Ce,Xo as vg,Xp as mi,Xq as Rj,Yl as Ob,Ym as jd,Yn as De,Yo as wg,Yp as ni,Yq as Sj,Zl as Pb,Zm as kd,Zo as xg,Zp as oi,Zq as Tj,_l as Qb,_m as ld,_n as He,_o as yg,_p as vi,_q as Uj,am as Vb,an as nd,ao as Je,ap as Ag,aq as xi,ar as fk,bm as Wb,bn as od,bo as Ke,bp as Bg,bq as yi,br as gk,cm as hc,cn as pd,co as Le,cp as Cg,cq as zi,cr as hk,dm as ic,dn as ud,do as Me,dp as Dg,dq as Ai,dr as ik,em as jc,en as vd,eo as Ne,ep as Eg,eq as Bi,er as jk,fm as kc,fn as wd,fp as Fg,fq as Ci,fr as kk,gm as lc,gn as xd,gp as Gg,gq as Di,gr as lk,hm as mc,hn as yd,hp as Hg,hq as Ei,hr as mk,im as nc,in as zd,io as af,ip as Ig,iq as Fi,ir as nk,jm as oc,jn as Ad,jo as bf,jp as Jg,jq as Gi,jr as ok,km as pc,kn as Bd,kp as Kg,kq as Hi,kr as pk,lm as qc,ln as Cd,lo as Wf,lp as Lg,lq as Ii,lr as qk,mm as rc,mn as Dd,mp as Mg,mq as Ji,mr as rk,nm as sc,nn as Ed,np as Ng,nq as Ki,nr as sk,om as tc,on as Fd,op as Og,oq as Li,or as tk,pm as uc,pn as Gd,pp as Pg,pq as Mi,pr as uk,qm as vc,qn as Hd,qp as Qg,qq as Wi,qr as xk,rm as wc,rn as Id,rp as Rg,rq as Xi,rr as yk,sm as xc,sn as Jd,sp as Sg,sq as Yi,sr as zk,tm as yc,tn as Kd,tp as Tg,tq as Zi,tr as Ak,ul as xa,um as zc,un as Ld,up as Ug,uq as _i,ur as Bk,vl as ya,vm as Ac,vn as Md,vp as Vg,vq as $i,vr as Ck,wl as za,wm as Bc,wn as Nd,wp as Wg,wq as aj,wr as Dk,xl as Aa,xm as Cc,xn as Od,xp as Xg,xq as bj,xr as Ek,yl as Ba,ym as Dc,yn as Pd,yp as Yg,yq as cj,yr as Fk,zl as Ca,zm as Ec,zn as Qd,zp as Zg,zq as dj}from"./chunk-fcr2kg64.js";import{$r as oa,Ar as N,Br as O,Cr as P,Dr as Q,Er as R,Fr as S,Gr as T,Hr as U,Ir as V,Jr as W,Kr as X,Lr as Y,Mr as Z,Nr as _,Or as $,Pr as aa,Qr as ba,Rr as ca,Sr as da,Tr as ea,Ur as fa,Vr as ia,Wr as ja,Xr as ka,Yr as la,Zr as ma,_r as na,as as pa,bs as qa,cs as ra,ds as sa,es as ta,fs as ua,gs as va,hs as wa,zr as M}from"./chunk-8y1ve8tc.js";import{is as ga,js as ha}from"./chunk-njx93b4z.js";import{ks as Rb,ls as Sb,ms as Tb}from"./chunk-bqdfbwdf.js";import"./chunk-89mqnh67.js";import{As as Ui,Bs as Vi,ts as Ni,us as Oi,vs as Pi,ws as Qi,xs as Ri,ys as Si,zs as Ti}from"./chunk-xvh1k1a4.js";import{Ts as Qc,Us as Rc,Vs as Sc,Ws as Tc,Xs as Uc,Zs as Vc,gt as Wc,ht as Xc,it as Yc}from"./chunk-qeh9d34h.js";import{jt as Xb,kt as Yb,lt as Zb,mt as _b,nt as $b,ot as ac}from"./chunk-y2f41kaq.js";import{At as Ge,vt as Ee,xt as Fe}from"./chunk-xj6bcwqa.js";import"./chunk-cp9swtsm.js";import{Ft as cc,Gt as dc}from"./chunk-vhta1be7.js";import{Kt as dg,Lt as eg,Mt as fg,Nt as gg,Ot as hg,Pt as ig,Qt as jg,St as kg,Tt as lg,Ut as mg,Vt as ng}from"./chunk-tc4pj651.js";import{Wt as qd,Xt as rd,Yt as sd,Zt as td,hu as ae,iu as be,ju as ce,ku as de,lu as ee,mu as fe,nu as ge,ou as he,pu as ie,qu as je,ru as ke,su as le,tu as me,uu as ne,vu as oe,wu as pe}from"./chunk-san1eq0r.js";import{$u as F,Au as e,Bu as f,Cu as g,Du as h,Eu as i,Fu as j,Gu as k,Hu as l,Iu as m,Ju as n,Ku as o,Lu as p,Mu as q,Nu as r,Ou as s,Pu as t,Qu as u,Ru as v,Su as w,Tu as x,Uu as y,Vu as z,Wu as A,Xu as B,Yu as C,Zu as D,_u as E,av as G,bv as H,cv as I,dv as J,ev as K,fv as L,xu as b,yu as c,zu as d}from"./chunk-avwywzsj.js";import"./chunk-wj21f1e0.js";import"./chunk-d86q27j8.js";import{Av as tb,Bv as ub,Cv as vb,Dv as wb,Ev as xb,Fv as yb,Gv as zb,Hv as Ab,Iv as Bb,Jv as Cb,Kv as Db,Lv as Eb,Mv as Fb,Nv as Gb,Ov as Hb,Pv as Ib,Qv as Jb,vv as ob,wv as pb,xv as qb,yv as rb,zv as sb}from"./chunk-72x62kch.js";import{Uv as Pa,Vv as Qa,Yv as Ra,bw as Sa,cw as Ta,iw as Ua,jw as Va,kw as Wa,lw as Xa,mw as Ya,nw as Za,ow as _a,pw as $a,qw as ab,rw as bb,sw as cb,tw as db,uw as eb,vw as fb,ww as gb,yw as hb}from"./chunk-swvm1wgn.js";import"./chunk-9nrgjtah.js";import"./chunk-ejqpq0wc.js";export{hl as writeNetlifyConfig,$m as writeManifest,Ml as writeImageManifest,rp as wrapComponentForHMR,_r as withDefaults,uk as webComponentDirectiveHandler,gq as watermark,ir as watchViews,Wl as watchMultiple,Xl as watchEffect,Vl as watch,Le as warmImagePlaceholders,im as waitForStore,X as waitForLocale,dp as virtualPathFor,hk as videoDirective,G as validators,cs as validated,Be as validateValueEnhanced,ki as validateTemplate,Pm as validateRouteRules,lq as validateParams,Ce as validateFormEnhanced,Zq as validateFile,xe as validateFields,we as validateField,mi as validateDirective,Wd as validateCspDirectives,Ck as validateConfig,nn as validateComponentScripts,Ln as validateComponentProps,gh as validateClientScript,fi as v,Hc as usesSignalsInScript,ub as usesReactiveRuntime,Ai as userComponentFileExists,Nh as useVirtualList,ie as useTitle,hm as useStoreOrThrow,Jp as useStore,Tk as useStorage,zf as useSlots,Vk as useSessionStorage,cc as useServerRuntimeConfig,Xf as useServerData,fe as useSeoMeta,dc as useRuntimeConfig,jm as useRouteParams,lm as useRouteParamOrThrow,km as useRouteParam,ie as usePageTitle,qf as useOptimistic,Ef as useModel,nm as useMiddlewareValue,mm as useMiddlewareState,Uk as useLocalStorage,kp as useLoadingIndicator,de as useHead,ci as useForm,Bf as useAttrs,$q as uploadFiles,_q as uploadFile,em as updateInstance,of as untrack,Qi as unregisterDirective,fm as unmountInstance,Pc as unescapeHtml,gp as typecheckStxFiles,yi as transpileTypeScript,Nr as translate,Ba as transitionDirective,lc as transformAutoImports,Fn as toUsers,En as toUser,Rp as thumbnail,Sq as thumbHashToRGBA,Tq as thumbHashToDataURL,wb as templateNeedsRuntime,vb as templateHasReactiveContext,If as templateCache,md as syncRecordedResponse,op as stxClientHelpers,ig as structuredDataDirective,Qr as stripLocalePrefix,Mm as stripDocumentWrapper,Sb as stripCommentsAndLiterals,qo as stringToStream,Kd as strictCspPreset,We as streamingSuspenseDirective,_e as streamToResponse,Ue as streamTemplateSimple,Oe as streamTemplate,Ok as stopHmrServer,Bn as stopBroadcasting,_b as stateDirName,$b as stateDir,cf as state,ah as startsDocument,Lo as startProductionServer,Go as startInteractive,An as startBroadcasting,Sr as stampLocaleLayoutGroup,Ia as staggerDirective,jq as srcsetUrls,Ja as springDirective,td as splitByPipe,Im as spaNavVaryHeaders,ep as sourcePathFor,qq as smartBatchSign,Ci as slotContentHasExpressions,oq as signUrl,wi as shouldTranspileTypeScript,Lk as shouldReloadOnChange,tq as shouldRefreshSignature,Mk as shouldIgnoreFile,Fh as shouldCacheComponent,Vp as sharpen,fs as shape,Zb as setStateDir,rm as setRouteParams,sm as setMiddlewareState,Ke as setImagePlaceholder,tf as setGlobalProvide,b as setErrorLocale,Ol as setCurrentInstance,Xj as setCachedVideoResult,Mj as setCachedImageResult,Gj as setCached,is as serveStxFile,ks as serveMultipleStxFiles,Gk as serveMarkdownFile,Wo as serveFile,ls as serveApp,Vo as serve,up as serializeState,bn as serializeSetCookie,Xp as sepia,ge as seoMetaToHeadConfig,Ca as scrollAnimateDirective,va as screenReaderDirective,zi as scopeOnRootElement,lk as scopeHTML,kk as scopeCSS,lg as scanForSitemapEntries,pa as scanA11yTargets,qa as scanA11yIssues,$p as saturation,mq as sanitizeParams,I as sanitizeFilePath,J as sanitizeExpression,K as sanitizeDirectiveParams,H as sanitizeDirectiveParam,L as sanitizeComponentProps,B as safeExecuteAsync,A as safeExecute,Cb as runtimeHandledXAttrsLiteral,Gb as runtimeEventRegexLiteral,Eb as runtimeDirectiveNamesLiteral,wg as runPreProcessingMiddleware,xg as runPostProcessingMiddleware,en as runPageAction,jf as runMountCallbacks,gb as runMiddleware,cm as runHooks,Gr as runDoctor,kf as runDestroyCallbacks,Ag as runComposers,aq as rotate,gi as rewriteImagesWithSiblings,nd as responseBindings,Gi as resolveTemplatePath,ha as resolveStxTargets,yk as resolveStxDirectories,Mr as resolveI18n,Pp as resize,og as resetUnscopedSignalWarnings,Nc as resetRejectedExpressionWarnings,sc as resetPlaceholders,ce as resetHead,tp as resetHMRHandler,o as resetErrorConfig,as as required,bg as reportDeferredLoopWarnings,wc as replacePlaceholders,Ec as replaceInterpolations,gr as renderView,ek as renderVideoComponent,ic as renderVendorStyleTags,pr as renderToString,qr as renderToStream,rr as renderToDOM,Rq as renderThumbhashToCanvas,Dr as renderTemplateString,Br as renderTemplate,Cr as renderString,Re as renderStreamingPage,ri as renderSlot,vh as renderSSRSuspense,Bq as renderProtectedVideo,Aq as renderProtectedImg,nq as renderMediaUpload,Ar as renderMarkdownView,Tm as renderLayoutTypes,Qj as renderImgComponent,Cl as renderImageComponent,ke as renderHtmlAttrs,je as renderHead,jr as renderEmail,Ei as renderComponentWithSlot,le as renderBodyAttrs,Ep as render,Md as relaxedCspPreset,ve as registerValidationRule,Ye as registerStreamingDirectives,Lp as registerStoresClient,pm as registerStore,Qf as registerServeModuleBundle,jg as registerSeoDirectives,_a as registerMiddleware,Ac as registerFilters,zc as registerFilter,d as registerErrorMessages,Ae as registerEnhancedValidationRule,Ni as registerDirective,Vd as registerCspDirectives,On as registerComponentDirectives,Oa as registerAnimationDirectives,wa as registerA11yDirectives,mc as referencesName,Sl as ref,yo as redirect,id as recordResponseStatus,jd as recordResponseHeader,ac as rebaseOntoStateDir,kd as readResponseStatus,ld as readResponseHeaders,Ek as readMarkdownFile,Jf as readFileCached,Tl as reactive,eq as quality,yq as pruneSignatureCache,Jj as pruneCache,rf as provide,zr as protectCodeBlocks,$r as prop,Dg as processVueTemplate,Lh as processVirtualListDirectives,Ph as processVirtualGridDirectives,dk as processVideo,ye as processValidateDirective,ea as processTranslateDirective,ph as processTransitionDirectives,sh as processTransitionAttributes,oe as processTitleDirective,ad as processTemplateBindings,lh as processTeleportDirectives,th as processSuspenseDirectives,eg as processStructuredData,Se as processStreamDirectives,od as processStatusDirective,ai as processStaticDirectives,ug as processStackReplacements,tg as processStackPushDirectives,si as processSlots,Km as processShell,Ne as processServerBindings,fg as processSeoDirective,Ze as processSectionDirectives,Uc as processScopedStyles,_c as processReactiveBindings,Cq as processProtectedMedia,Vh as processPartialHydrationDirectives,fh as processOnceDirective,vg as processMiddleware,dg as processMetaDirectives,pe as processMetaDirective,Fk as processMarkdownFileDirectives,Li as processMarkdownDirectives,cg as processLoops,Dh as processKeepAliveDirectives,eh as processJsonDirective,Oh as processInfiniteListDirectives,sg as processIncludes,Sj as processImgComponents,El as processImageComponents,rl as processImage,ne as processHeadDirective,re as processForms,te as processFormInputDirectives,Lc as processExpressions,Pb as processEventDirectives,ue as processErrorDirective,Eg as processDynamicComponents,hi as processDirectives,Vi as processDirectiveAttributes,kh as processDeferDirectives,_d as processCustomDirectives,Sd as processCspDirectives,gs as processComponentProps,rc as processClientScript,se as processBasicFormDirectives,yh as processAsyncDirectives,$d as processAppearanceBootstrapDirective,Fa as processAnimationDirectives,ka as processA11yDirectives,Ge as prepareImageDelivery,T as preloadTranslationsBackground,S as preloadTranslations,jp as preloadIslandHandlers,Me as preloadIconCollection,wn as poolStrings,wk as pluginManager,Ie as placeholdersWarmed,oh as performLeave,nh as performEnter,lf as pendingLifecycleCounts,pf as peek,pg as partialsCache,fk as parseVideoDirectiveOptions,Np as parseUrl,Uq as parseThumbhashString,zd as parseSwitchBlock,pi as parseSlots,qi as parseSlotElement,Ed as parseScriptDeclarations,sk as parseSFCComponent,Dq as parseProtectedArgs,ag as parseLoopBinding,Rj as parseImgComponent,hj as parseImageUrl,Dl as parseImageComponent,cn as parseFormBody,Bd as parseExpressionWithFilters,Pn as parseDefaults,vo as parseCookies,Bm as parseContainerSelector,wd as parseConditionalBlock,Cd as parseArguments,Ma as parseAnimationShorthand,bs as optional,xn as optimizeTemplate,Jl as optimizeImage,Kl as optimizeDirectory,ds as oneOf,qg as onceStore,$l as onUpdated,Zc as onUpdate,bm as onUnmounted,wm as onServer,Zl as onMounted,gf as onMount,$h as onHydrated,xf as onErrorCaptured,hf as onDestroy,Jh as onDeactivated,vm as onClient,_l as onBeforeUpdate,am as onBeforeUnmount,Yl as onBeforeMount,Ih as onActivated,Nq as observeElement,zo as notFound,Jg as normalizeCriticalHeadOrder,wf as nextTick,Sn as negotiateEncoding,Ua as navigateTo,dm as mountInstance,Ea as motionDirective,Ld as moderateCspPreset,vn as minifyHtml,hg as metaDirective,Ug as metaDedupKey,Op as mergeParams,Wg as mergeHtmlAttrs,ee as mergeHeadConfigs,Rc as mergeCssConfig,Pd as mergeCspDirectives,Ra as matchRoute,Mi as markdownDirectiveHandler,Dk as markdownCache,ga as looksLikeGlob,Pr as localizePath,U as loadTranslationLazy,_ as loadTranslation,zk as loadStxConfig,db as loadMiddlewareFromDirectory,an as loadManifest,Jq as loadElement,Cn as loadChannels,Lb as listensPassively,Wr as lintStxStrict,Lq as lazyLoadAll,Kq as lazyLoad,Ha as keyframeDirective,nr as jsxs,or as jsxDEV,mr as jsx,xo as jsonResponse,Xe as islandDirective,l as isTest,Nm as isSpaNavigation,Gm as isSpaNavRequest,rq as isSignatureValid,mf as isSignal,pl as isSharpAvailable,jo as isServerEnvironment,tm as isServer,yb as isRuntimeOwnedColonAttr,Hb as isRuntimeEventName,da as isRtlLocale,j as isProduction,ia as isPresentationalRole,Gq as isNativeLazySupported,yr as isMarkdownPath,Q as isLoading,R as isLoaded,vi as isJavaScriptScript,Hq as isIntersectionObserverSupported,xl as isImageFile,ql as isImageBackendAvailable,aa as isICUFormat,_h as isHydrated,Bi as isHydrateTrigger,gd as isHttpStatus,io as isEdgeEnvironment,Xr as isDirectiveKind,k as isDevelopment,nf as isDerived,Kk as isCssOnlyChange,Rn as isCompressible,um as isClient,Ah as isAsyncComponent,dn as isActionableMethod,Yp as invert,Lf as invalidateFileCacheByDir,Kf as invalidateFileCache,Kc as interpolateScriptsInTemplate,Ic as interpolateScriptExpressions,Jc as interpolateScriptAttributes,x as inlineError,Lr as injectThemeBootstrap,gg as injectSeoTags,Ir as injectSeo,Wf as injectRouterScript,Jk as injectHotReload,kb as injectHeatmap,Yc as injectCss,Qd as injectCspMetaTag,ch as injectConfigHeadTags,Ig as injectColorModeBootScript,Yg as injectCloakStyle,Pg as injectBuildId,kc as injectBrowserCoreAutoImports,cd as injectAnalytics,sf as inject,om as initStoreRegistry,kl as initNetlify,lp as initLoadingIndicator,Iq as initLazyLoading,Fo as initFile,Qq as initBlurUp,Wq as initAllBlurUp,Uj as imgDirective,Hl as imageDirective,hn as hydrateTemplateStream,gn as hydrateTemplate,ip as hydrateIslands,Xh as hydrateIsland,jn as hydrateFragment,Yh as hydrateByStrategy,Zh as hydrateAll,Bp as hydrate,Uo as htmlResponse,_g as hoistLeadingHeadTags,Kg as hoistColorModeBootScript,lb as heatmapDirective,Cj as hashString,Vf as hashFilePath,Aj as hashFile,Bj as hashBuffer,Cg as hasVueTemplateSyntax,$f as hasVariables,Gp as hasStore,xc as hasPlaceholders,il as hasNetlifyConfig,ab as hasMiddleware,Qb as hasEventDirectives,bh as hasDocumentShell,ni as hasDirectives,ma as hasDOMSupport,Al as handleImageRequest,yf as handleError,vr as h,wl as groupVariantsByFormat,Wp as grayscale,No as gitHash,pn as getUnusedDirectives,V as getTranslationSync,O as getTranslationCacheStats,W as getTranslationAsync,ba as getTranslation,dl as getTotalSize,sq as getTimeUntilExpiry,hh as getStoreScript,Hp as getStoreNames,Fp as getStore,Yk as getStorageSize,Xk as getStorageKeys,Hi as getSourceLineInfo,xi as getSharedTranspiler,Rf as getServeModuleBundle,Pf as getServeClientAsset,la as getScreenReaderOnlyStyle,mk as getScopeAttribute,bf as getRouteParams,Vb as getPublicEnvDefine,Wb as getPublicEnv,li as getPositionInfo,uc as getPlaceholderRegistry,zj as getPlaceholderCacheStats,be as getPageMeta,Gd as getNonce,yl as getMimeType,cb as getMiddlewareNames,$a as getMiddleware,ca as getLocaleDirection,P as getLoadingState,Y as getLoadingLocales,He as getImagePlaceholder,sl as getImageMetadata,Ee as getImageDelivery,Ap as getHydrationRuntime,qm as getHydratedStoreState,Nk as getHmrServer,ae as getHead,sp as getHMRHandler,lj as getFormatExtension,Ej as getFileMtime,vl as getFallbackVariant,f as getErrorMessage,c as getErrorLocale,n as getErrorConfig,i as getErrorCodeName,Pi as getDirectives,Oi as getDirective,Pl as getCurrentInstance,Vc as getCssServeAsset,Od as getCspPreset,Xd as getCspHeaderName,Ki as getComponentCacheStats,Wj as getCachedVideoResult,wq as getCachedSignature,Nf as getCachedSignalsRuntime,Of as getCachedRouterScript,xj as getCachedPlaceholder,Lj as getCachedImageResult,Fj as getCached,Ij as getCacheStats,Ng as getBuildId,zn as getBroadcastServer,kj as getBestVariant,Bc as getAllFilters,_i as generateWidthSrcset,Mh as generateVirtualListCSS,br as generateVideoPreview,De as generateValidationScript,cr as generateUploadRuntime,qn as generateTreeShakenBundle,rh as generateTransitionRuntime,qh as generateTransitionCSS,_j as generateThumbnails,qj as generateThumbhashPlaceholder,$n as generateTemplatesDocs,xh as generateSuspenseRuntime,wh as generateSuspenseCSS,vp as generateStateScript,ij as generateSrcsetData,Pj as generateSrcset,tl as generateSrcSet,$j as generateSpriteSheet,kr as generateSpaShell,jj as generateSourceTags,ej as generateSizesFromBreakpoints,dj as generateSizesAttribute,ul as generateSizes,kg as generateSitemapIndex,Jr as generateSitemap,Fq as generateSimpleMediaPicker,zq as generateSignatureRuntime,Hf as generateSignalsRuntimeDev,Gf as generateSignalsRuntime,qc as generateServerDataBridge,jk as generateScopeId,tk as generateSFCWebComponent,Nb as generateRuntimeScript,Pa as generateRouteTypes,Qa as generateRouteManifest,mg as generateRobotsTxt,Kr as generateRobots,Oj as generateResponsiveVariants,pk as generateReactiveWebComponentTS,ok as generateReactiveWebComponent,rk as generateReactiveRuntime,qk as generateReactiveMixin,Zj as generatePoster,wj as generatePlaceholderStyle,vj as generatePlaceholderCSS,pj as generatePlaceholder,Wh as generatePartialHydrationCSS,Fd as generateNonce,el as generateNetlifyToml,er as generateMinifiedMediaRuntime,dr as generateMediaRuntime,Eq as generateMediaManagerEmbed,_m as generateManifest,np as generateLoadingIndicatorHtml,Pq as generateLazyLoadRuntime,Um as generateLayoutTypes,sj as generateLQIP,Hh as generateKeepAliveRuntime,Gh as generateKeepAliveCSS,bi as generateIslandManifest,ar as generateImagePreview,Ll as generateImageManifest,zp as generateHydrationScript,$e as generateHydrationRuntime,Cp as generateHydrationCSS,Qh as generateHydrationBootstrap,Ik as generateHotReloadScript,jb as generateHeatmapScript,qp as generateHMRClientScript,ak as generateHLSManifest,wp as generateEventBindings,cj as generateDprSrcsetWithVariableQuality,bj as generateDprSrcset,$g as generateDocumentShell,fo as generateDocs,ao as generateDirectivesDocs,Ui as generateDirectiveRuntime,ng as generateDefaultRobotsTxt,bk as generateDASHManifest,Xc as generateCss,Jd as generateCspMetaTag,Id as generateCspHeader,Df as generateCompositionRuntime,_n as generateComponentsDocs,Rh as generateComponentManifest,Yn as generateComponentDoc,uj as generateColorPlaceholder,Hg as generateColorModeBootScript,gm as generateClientRuntime,Dj as generateCacheKey,oc as generateBrowserAutoImportDestructuring,Xq as generateBlurUpRuntime,Yq as generateBlurUpCSS,$c as generateBindingsRuntime,$i as generateAutoWidthSrcset,nc as generateAutoImportDestructuring,Ch as generateAsyncComponentRuntime,Bh as generateAsyncComponentCSS,fc as generateApiTypes,Na as generateAnimationRuntime,La as generateAnimationCSS,bd as generateAnalyticsScript,hp as formatTypecheckDiagnostics,bp as formatTypeErrors,Co as formatStxContent,cl as formatSize,Ta as formatRoutes,Do as formatMarkdownContent,g as formatLocalizedError,$ as formatICU,p as formatFilePath,w as formatError,Hr as formatDoctorReport,bo as formatDocsAsMarkdown,eo as formatDocsAsJson,co as formatDocsAsHtml,dq as format,un as foldConstants,cq as flipVertical,bq as flipHorizontal,Vm as fingerprint,fp as findRuntimeTypeDeclarations,Fr as findPantryPackage,Dc as findMustacheEnd,vd as findMatchingEndTag,rd as findMatchingDelimiter,Rb as findInterpolationEnd,xd as findIfBlocks,Ad as findExpressions,Sa as findErrorPage,Sc as findDuplicateScopedStyleRanges,yd as findDirectiveBlocks,rn as findDeadCode,rn as findDeadBranches,Cm as findContainerRegion,Zn as findComponentFiles,js as findCommonDir,bl as filterRequiredFiles,Fi as fileExists,Yf as extractVariables,ji as extractTemplateExpressions,Te as extractStreamBoundaries,xp as extractState,ti as extractSlotContent,_f as extractScriptFromTemplate,ii as extractScriptBlocks,vc as extractPlaceholders,ud as extractParenthesizedExpression,hd as extractPageResponseStatus,hb as extractLayoutMetadata,tj as extractDominantColor,Dd as extractDirectiveParams,oi as extractDirectiveNames,Om as extractContainerContent,Wn as extractComponentProps,Sh as extractComponentName,Xn as extractComponentDescription,Wc as extractClassNames,pc as extractBridgeData,Th as extractBoundProps,sd as extractBalancedExpression,hc as extractAndStripCssImports,nk as extractAndScopeStyles,Ob as extractAndProcessEvents,Rk as externalizeSharedAssets,Sk as externalizeRepeatedAssets,Qk as externalizeHtml,Oc as evaluateExpression,tn as evaluateConstant,pd as evaluateAuthExpression,Gc as escapeHtmlValue,Fc as escapeHtml,C as errorRecovery,E as errorLogger,mh as ensureTeleportTargets,dh as ensureDocumentShell,ze as enhancedValidationRules,Un as enableDevTools,sn as eliminateDeadCode,ef as effect,kq as dprUrls,go as docsCommand,ec as discoverServerApi,Sm as discoverLayoutNames,Oq as disconnectObserver,Vn as disableDevTools,F as devHelpers,Jm as detectShell,ho as detectRuntime,fl as detectProjectConfig,mj as detectFormat,mn as detectBuildMode,df as derived,jl as deploy,Bk as defineStxConfig,Kp as defineStore,Af as defineSlots,Vr as defineSiteConfig,Zr as definePropsWithValidation,Yr as defineProps,vk as definePlugin,he as definePageMeta,Wa as defineMiddleware,di as defineForm,vf as defineExpose,uf as defineEmits,Ri as defineDirective,xr as defineCustomElement,Ko as defineConfig,Si as defineClientDirective,zh as defineAsyncComponent,Mo as defineApiHandler,fr as defaultMediaConfig,Nl as defaultImageConfig,M as defaultI18nConfig,ib as defaultHeatmapConfig,qe as defaultFormClasses,yc as defaultFilters,Zd as defaultCspConfig,xk as defaultConfig,hs as default,Qc as deepMergeThemes,Tc as dedupeScopedStyles,Fm as decodeTitleEntities,rj as decodeThumbhash,Ud as cspNonceDirective,Td as cspDirective,Vq as crossfadeTransition,Qp as crop,Kh as createVirtualList,gk as createVideoDirective,to as createVercelHandler,_o as createTypeChecker,fa as createTranslateFilter,po as createTextEncoderStream,wr as createStxApp,oo as createStreamingResponse,Ve as createStreamRenderer,Ip as createStore,Za as createStorageManager,Xa as createServerCookieManager,gc as createServerApi,Rl as createScope,uh as createSSRSuspense,af as createRouter,Qm as createRouteRuleResolver,eb as createRouteLocation,Yo as createRoute,Sl as createRef,Tl as createReactive,Cf as createProvideContext,Po as createProject,Jo as createProductionBuild,tc as createPlaceholder,yn as createOptimizedBuild,uo as createNetlifyHandler,Zk as createNetlifyClient,fb as createMiddlewareContext,Xo as createMiddleware,Mq as createLazyObserver,Eh as createKeepAliveCache,lo as createKVNamespace,Uh as createIslandRegistry,Tj as createImgDirective,Il as createImagePlugin,Bl as createImageHandler,Gl as createImageDirective,nb as createHeatmapAggregator,al as createFileManifest,ko as createEnvAccessor,z as createEnhancedError,no as createEdgeHandler,mo as createEdgeCache,Ii as createDetailedErrorMessage,so as createDenoHandler,gl as createDefaultNetlifyConfig,Yd as createCspHeaders,wo as createCookie,Ul as createComputed,Ql as createComponentInstance,ro as createCloudflareHandler,Ya as createClientCookieManager,Ti as createBuiltinDirectives,wr as createApp,Ka as createAnimationTimeline,Tp as cover,Zf as convertToCommonJS,_p as contrast,Sp as contain,y as consoleError,m as configureErrorHandling,Ak as config,Ul as computed,Tn as compressResponse,zg as composerPattern,yg as composer,Lm as composeShellWithPage,Nn as componentDirective,Di as componentClientSignalNames,Zm as compileTemplate,a as collectRepeatedFlag,$k as collectDeployFiles,Zg as cloakStyleFragment,Yj as clearVideoCache,N as clearTranslationCache,ih as clearStoreCache,Wk as clearStorage,xq as clearSignatureCache,Ff as clearServerData,yj as clearPlaceholderCache,rg as clearOnceStore,Hd as clearNonce,bb as clearMiddleware,Je as clearImagePlaceholders,Fe as clearImageDeliveryCatalog,Fl as clearImageCache,e as clearErrorMessages,Sf as clearDevCaches,Cc as clearCustomFilters,Bg as clearComposers,jh as clearComposableCache,Ji as clearComponentCache,Hj as clearCache,Ib as clearBlankCache,mp as cleanupLoadingIndicator,zm as classifyScript,Am as classifyAllScripts,$o as checkTemplateFile,ap as checkTemplate,Tf as checkCache,uq as checkAuthAccess,na as checkA11yWithRegex,oa as checkA11y,In as channel,Bo as captureScreenshots,Ao as captureScreenshot,Z as cancelPendingLoads,_k as calculateSha1,aj as calculateOptimalWidths,Uf as cacheTemplate,bc as cacheEngineFingerprint,ik as buildWebComponents,cp as buildVirtualSource,hr as buildViews,Mp as buildUrl,Pe as buildSuspenseResolveScript,Ur as buildStaticSite,qb as buildRuntimeGlobalsDestructure,Wm as buildRuntimeAsset,Xm as buildRouterAsset,Tr as buildLangPickerScript,gj as buildImageUrl,Qg as buildIdFragment,Vg as buildHtmlAttrs,kn as buildForProduction,Qn as buildComponentLibrary,vq as buildAuthParams,ln as buildApp,Rr as buildAlternateLinks,Io as build,Gn as broadcastPrivate,Hn as broadcastPresence,Dn as broadcast,Zp as brightness,Tb as bracketDepths,Up as blur,Jb as blankInertHtmlRegions,pq as batchSignUrls,ff as batch,sa as autoFixA11yFile,ta as autoFixA11yDirectory,ra as autoFixA11y,fq as auto,ja as attributeValue,Ym as assetTags,Mb as asInvocableStatement,es as arrayOf,Or as applyTranslations,Nj as applyTransformations,ui as applySlots,Mn as applyPropDefaults,iq as applyPreset,Xg as applyHtmlAttrs,me as applyHead,Mc as applyFilters,Hm as appendVary,Nd as apiCspPreset,Da as animationGroupDirective,ck as analyzeVideo,on as analyzeUsage,xm as analyzeTemplate,ym as analyzeProject,on as analyzeDirectiveUsage,dd as analyticsDirective,So as addStore,Ro as addPage,Rd as addNonceToInlineContent,To as addLayout,Qo as addComponent,fn as actionRedirectResponse,Va as abortNavigation,ua as a11yDirective,Mf as __setSignalsGeneratorsForTest,Og as __setBuildIdForTest,Vj as VideoProcessorCache,ei as Validator,xa as TransitionType,za as TransitionEase,ya as TransitionDirection,qd as Tokenizer,Zo as TemplateTypeChecker,Eo as TEMPLATE_PRESETS,v as StxValidationError,r as StxSyntaxError,t as StxSecurityError,s as StxRuntimeError,u as StxFileError,q as StxError,sr as Show,Qe as SUSPENSE_RESOLVER_RUNTIME,ob as STX_RUNTIME_GLOBALS,jc as STX_AUTO_IMPORTS,Yb as STATE_DIR_ENV_VAR,Ga as SPRING_PRESETS,Dm as SPA_NAV_HEADER,Kb as SCROLL_BLOCKING_EVENTS,xb as RUNTIME_OWNED_COLON_ATTRS,zb as RUNTIME_HANDLED_X_ATTRS,Fb as RUNTIME_EVENT_NAMES,Db as RUNTIME_DIRECTIVE_NAMES,ed as RESPONSE_STATUS_KEY,fd as RESPONSE_HEADERS_KEY,tb as REACTIVE_RUNTIME_GLOBALS,Ho as ProductionBuild,ur as Portal,Oo as PROJECT_TEMPLATES,hq as PRESETS,sb as NON_CLIENT_PRIMITIVES,Dp as MemorySessionStore,Zi as MIME_TYPES,Wi as MEDIA_DEFAULT_WIDTHS,Yi as MEDIA_DEFAULT_FORMATS,Rm as LAYOUT_TYPES_FILE,Kj as ImageProcessorCache,zl as ImageProcessingError,yp as HydrationRuntime,Hk as HotReloadServer,mb as HeatmapAggregator,Tg as HTML_CLASS_MARKER,Sg as HTML_ATTRS_MARKER,lr as Fragment,tr as For,Em as FRAGMENT_CACHE_CONTROL,D as ErrorLogger,h as ErrorCodes,Pk as EXTERNALIZED_ASSET_DIR,ll as DeployError,ml as DEFAULT_WIDTHS,Aa as DEFAULT_TRANSITION_OPTIONS,Xb as DEFAULT_STATE_DIR,ol as DEFAULT_QUALITY,nj as DEFAULT_PLACEHOLDER_OPTIONS,nl as DEFAULT_FORMATS,Xi as DEFAULT_DPR_VALUES,pp as ComponentHMRHandler,pb as COMPONENT_SCOPE_LOCAL_GLOBALS,Bb as COMPONENT_PASSTHROUGH_X_ATTRS,rb as COMPILE_TIME_ONLY_GLOBALS,fj as COMMON_SIZES,Fg as COLOR_MODE_BOOT_MARKER,Gg as COLOR_MODE_BOOT_GLOBAL,Rg as CLOAK_STYLE,Kn as BroadcastServer,Jn as Broadcast,Lg as BUILD_ID_META,Mg as BUILD_ID_HEADER,Ub as BROWSER_CORE_IMPORTS,oj as BLUR_UP_CSS,Ab as ALPINE_BRIDGE_X_ATTRS,Er as $path};
|
|
2
|
+
import{$ as jm,$a as mo,$b as wp,$c as wq,$d as wr,A as Vk,Aa as xn,Ab as Ro,Ac as Xp,Ad as Xq,Ae as bs,B as Wk,Ba as yn,Bb as So,Bc as Yp,Bd as Yq,Be as cs,C as Xk,Ca as Ln,Cb as To,Cc as Zp,Cd as Zq,Ce as ds,D as Yk,Da as Mn,Db as Uo,Dc as _p,Dd as _q,De as es,E as Ol,Ea as Nn,Eb as Vo,Ec as $p,Ed as $q,Ee as fs,F as Pl,Fa as On,Fb as Wo,Fc as aq,Fd as ar,Fe as gs,G as Ql,Ga as Pn,Gb as Xo,Gc as bq,Gd as br,Ge as hs,H as Rl,Ha as Qn,Hb as Yo,Hc as cq,Hd as cr,He as is,I as Sl,Ia as Un,Ib as Zo,Ic as dq,Id as dr,Ie as js,J as Tl,Ja as Vn,Jb as _o,Jc as eq,Jd as er,Je as ks,K as Ul,Ka as Wn,Kb as $o,Kc as fq,Kd as fr,Ke as ls,L as Vl,La as Xn,Lb as ap,Lc as gq,Ld as gr,M as Wl,Ma as Yn,Mb as bp,Mc as hq,Md as hr,N as Xl,Na as Zn,Nb as ip,Nc as iq,Nd as ir,O as Yl,Oa as _n,Ob as jp,Oc as jq,Od as jr,P as Zl,Pa as $n,Pb as kp,Pc as kq,Pd as kr,Q as _l,Qa as ao,Qb as lp,Qc as lq,Qd as lr,R as $l,Ra as bo,Rb as mp,Rc as mq,Rd as mr,S as am,Sa as co,Sb as np,Sc as nq,Sd as nr,T as bm,Ta as eo,Tb as op,Tc as oq,Td as or,U as cm,Ua as fo,Ub as pp,Uc as pq,Ud as pr,V as dm,Va as go,Vb as qp,Vc as qq,Vd as qr,W as em,Wa as ho,Wb as rp,Wc as rq,Wd as rr,X as fm,Xa as io,Xb as sp,Xc as sq,Xd as sr,Y as gm,Ya as jo,Yb as tp,Yc as tq,Yd as tr,Z as hm,Za as ko,Zb as up,Zc as uq,Zd as ur,_ as im,_a as lo,_b as vp,_c as vq,_d as vr,aa as km,ab as no,ac as xp,ad as xq,ae as xr,ba as lm,bb as oo,bc as yp,bd as yq,be as Er,ca as mm,cb as po,cc as zp,cd as zq,ce as Fr,da as nm,db as qo,dc as Ap,dd as Aq,de as Gr,ea as om,eb as ro,ec as Bp,ed as Bq,ee as Hr,fa as pm,fb as so,fc as Cp,fd as Cq,fe as Ir,ga as qm,gb as to,gc as Dp,gd as Dq,ge as Jr,ha as rm,hb as uo,hc as Ep,hd as Eq,he as Kr,ia as sm,ib as vo,ic as Fp,id as Fq,ie as Lr,ja as tm,jb as wo,jc as Gp,jd as Gq,je as Mr,ka as um,kb as xo,kc as Hp,kd as Hq,ke as Nr,la as vm,lb as yo,lc as Ip,ld as Iq,le as Or,ma as wm,mb as zo,mc as Jp,md as Jq,me as Pr,na as xm,nb as Co,nc as Kp,nd as Kq,ne as Qr,o as a,oa as ym,ob as Do,oc as Lp,od as Lq,oe as Rr,p as Gk,pa as mn,pb as Eo,pc as Mp,pd as Mq,pe as Sr,q as Hk,qa as nn,qb as Fo,qc as Np,qd as Nq,qe as Tr,r as Ik,ra as on,rb as Ho,rc as Op,rd as Oq,re as Ur,s as Jk,sa as pn,sb as Io,sc as Pp,sd as Pq,se as Vr,t as Kk,ta as qn,tb as Jo,tc as Qp,td as Qq,te as Wr,u as Lk,ua as rn,ub as Ko,uc as Rp,ud as Rq,ue as Xr,v as Mk,va as sn,vb as Mo,vc as Sp,vd as Sq,ve as Yr,w as Nk,wa as tn,wb as No,wc as Tp,wd as Tq,we as Zr,x as Ok,xa as un,xb as Oo,xc as Up,xd as Uq,xe as _r,y as Tk,ya as vn,yb as Po,yc as Vp,yd as Vq,ye as $r,z as Uk,za as wn,zb as Qo,zc as Wp,zd as Wq,ze as as}from"./chunk-a1knndrh.js";import{Le as cp,Me as dp,Ne as ep,Oe as fp,Pe as gp,Qe as hp}from"./chunk-04x3vny9.js";import{Re as Ao,Se as Bo}from"./chunk-2ver2s2y.js";import{Te as Go}from"./chunk-m6dstr44.js";import{Ue as ln}from"./chunk-g5mhck0r.js";import{Ve as Rn,We as Sn,Xe as Tn,Ye as Lo}from"./chunk-6k5a03pw.js";import{$e as $k,Ze as Zk,_e as _k,af as al,bf as bl,cf as cl,df as dl,ef as el,ff as fl,gf as gl,hf as hl,if as il,jf as jl,kf as kl,lf as ll}from"./chunk-ym3r8ktq.js";import{mf as Cl,nf as Dl,of as El,pf as Fl,qf as Gl,rf as Hl,sf as Il,tf as Jl,uf as Kl,vf as Ll,wf as Ml,xf as Nl}from"./chunk-msywnv5n.js";import{yf as Al,zf as Bl}from"./chunk-b5hank5e.js";import{Af as ml,Bf as nl,Cf as ol,Df as pl,Ef as ql,Ff as rl,Gf as sl,If as tl,Jf as ul,Kf as vl,Lf as wl,Mf as xl,Nf as yl,Qf as zl}from"./chunk-7qp3zphs.js";import{Rf as Vm,Sf as Wm,Tf as Xm,Uf as Ym,Vf as Zm,Wf as kn}from"./chunk-62nz9v8t.js";import{$f as Dm,Xf as zm,Yf as Am,Zf as Bm,_f as Cm,ag as Em,bg as Fm,cg as Gm,dg as Hm,eg as Im,fg as Jm,gg as Km,hg as Lm,ig as Mm,jg as Nm,kg as Om,lg as _m,mg as $m,ng as an,og as bn,pg as cn,qg as dn,rg as en,sg as fn,tg as gn,ug as hn,vg as jn}from"./chunk-g7msqva8.js";import{wg as Pm,xg as Qm}from"./chunk-57atgbyq.js";import{Ag as Bn,Bg as Cn,Cg as Dn,Dg as En,Eg as Fn,Fg as Gn,Gg as Hn,Hg as In,Ig as Jn,Jg as Kn,yg as zn,zg as An}from"./chunk-8bxtvsgm.js";import{Kg as pi,Lg as qi,Mg as ri,Ng as si,Og as ti,Pg as ui}from"./chunk-6zrg2mmc.js";import{Qg as Kj,Rg as Lj,Sg as Mj,Wg as Nj,Xg as Oj,Yg as Pj}from"./chunk-rwwfzkz4.js";import{$g as Xj,Zg as Vj,_g as Wj,ah as Yj,bh as Zj,ch as _j,dh as $j,eh as ak,fh as bk,gh as ck,hh as dk}from"./chunk-7h9fajgs.js";import{ih as Aj,jh as Bj,kh as Cj,lh as Dj,mh as Ej,oh as Fj,ph as Gj,qh as Hj,rh as Ij,sh as Jj}from"./chunk-18018jkn.js";import{th as vk,vh as wk}from"./chunk-sqvqwd0p.js";import{Bh as Kh,Ch as Lh,Dh as Mh,Eh as Nh,Fh as Oh,Gh as Ph}from"./chunk-7r9vgzg4.js";import{Ih as Qh,Jh as Rh,Kh as Sh,Lh as Th,Mh as Uh,Nh as Vh,Oh as Wh,Ph as Xh,Qh as Yh,Rh as Zh,Sh as _h,Th as $h,Uh as ai,Vh as bi}from"./chunk-a959m68j.js";import{Xh as ci,Yh as di,Zh as ei,_h as fi}from"./chunk-1vb2rj09.js";import{di as gi}from"./chunk-g6czgcg4.js";import{gi as jh}from"./chunk-6r3aavbv.js";import{hi as kh}from"./chunk-1z1efvtw.js";import{ii as lh,ji as mh}from"./chunk-vgfd9582.js";import{ki as nh,li as oh,mi as ph,ni as qh,oi as rh,pi as sh}from"./chunk-qsbjtp60.js";import{qi as th,ri as uh,si as vh,ti as wh,ui as xh}from"./chunk-nf7k53ap.js";import{vi as yh,wi as zh,xi as Ah,yi as Bh,zi as Ch}from"./chunk-zk6ghjnj.js";import{Ai as Dh,Bi as Eh,Ci as Fh,Di as Gh,Ei as Hh,Fi as Ih,Gi as Jh}from"./chunk-bgrkxzr7.js";import{Hi as hh,Ii as ih}from"./chunk-hay8nwv3.js";import"./chunk-7we3xfde.js";import{Mi as Oe,Ni as Pe,Oi as Qe,Pi as Re,Qi as Se,Ri as Te,Si as Ue,Ti as Ve,Ui as We,Vi as Xe,Wi as Ye,Xi as Ze,Yi as _e,Zi as $e}from"./chunk-z23sc9p4.js";import{$i as sf,_i as rf,aj as tf,bj as uf,cj as vf,dj as wf,ej as xf,fj as yf,gj as zf,hj as Af,ij as Bf,jj as Cf,kj as Df,lj as Ef,mj as Ff,nj as Gf,oj as Hf}from"./chunk-8m0g0h4x.js";import{Aj as hf,Bj as jf,Cj as kf,Dj as lf,Ej as mf,Fj as nf,Gj as of,Hj as pf,Ij as qf,vj as cf,wj as df,xj as ef,yj as ff,zj as gf}from"./chunk-e4g8wz6t.js";import{Jj as If,Kj as Jf,Lj as Kf,Mj as Lf,Nj as Mf,Oj as Nf,Pj as Of,Qj as Pf,Rj as Qf,Sj as Rf,Tj as Sf,Uj as Tf,Vj as Uf,Wj as Vf}from"./chunk-mmnf2pac.js";import{ok as yr,pk as zr,qk as Ar,rk as Br,sk as Cr,tk as Dr}from"./chunk-3nx7z086.js";import{Ak as Tm,Bk as Um,uk as Pk,vk as Qk,wk as Rk,xk as Sk,yk as Rm,zk as Sm}from"./chunk-p3p4d6g1.js";import"./chunk-c0n802j1.js";import"./chunk-epqd3eah.js";import{ml as ec,nl as fc,rl as gc}from"./chunk-ngjkzaj7.js";import{tl as bc}from"./chunk-fvsefztj.js";import{$l as Ub,$m as md,$n as Ie,$o as zg,$p as wi,$q as ek,Al as Da,Am as Fc,An as Rd,Ao as Xf,Ap as _g,Aq as ej,Bl as Ea,Bm as Gc,Bn as Sd,Bp as $g,Bq as fj,Cl as Fa,Cm as Hc,Cn as Td,Cp as ah,Cq as gj,Dl as Ga,Dm as Ic,Dn as Ud,Dp as bh,Dq as hj,El as Ha,Em as Jc,En as Vd,Ep as ch,Eq as ij,Fl as Ia,Fm as Kc,Fn as Wd,Fp as dh,Fq as jj,Gl as Ja,Gm as Lc,Gn as Xd,Gp as eh,Gq as kj,Hl as Ka,Hm as Mc,Hn as Yd,Ho as Yf,Hp as fh,Hq as lj,Il as La,Im as Nc,In as Zd,Ip as gh,Iq as mj,Jl as Ma,Jm as Oc,Jn as _d,Jo as Zf,Jp as hi,Jq as nj,Kl as Na,Km as Pc,Kn as $d,Kp as ii,Kq as oj,Ll as Oa,Lm as Zc,Ln as qe,Lo as _f,Lq as pj,Ml as ib,Mm as _c,Mn as re,Mo as $f,Mq as qj,Nl as jb,Nm as $c,Nn as se,No as ag,Np as ji,Nq as rj,Ol as kb,Om as ad,On as te,Oo as bg,Oq as sj,Pl as lb,Pm as bd,Pn as ue,Po as cg,Pq as tj,Ql as mb,Qm as cd,Qn as ve,Qo as og,Qq as uj,Rl as nb,Rm as dd,Rn as we,Ro as pg,Rq as vj,Sn as xe,So as qg,Sq as wj,Tm as ed,Tn as ye,To as rg,Tq as xj,Ul as Kb,Um as fd,Un as ze,Uo as sg,Uq as yj,Vl as Lb,Vm as gd,Vn as Ae,Vo as tg,Vp as ki,Vq as zj,Wl as Mb,Wm as hd,Wn as Be,Wo as ug,Wp as li,Wq as Qj,Xl as Nb,Xm as id,Xn as Ce,Xo as vg,Xp as mi,Xq as Rj,Yl as Ob,Ym as jd,Yn as De,Yo as wg,Yp as ni,Yq as Sj,Zl as Pb,Zm as kd,Zo as xg,Zp as oi,Zq as Tj,_l as Qb,_m as ld,_n as He,_o as yg,_p as vi,_q as Uj,am as Vb,an as nd,ao as Je,ap as Ag,aq as xi,ar as fk,bm as Wb,bn as od,bo as Ke,bp as Bg,bq as yi,br as gk,cm as hc,cn as pd,co as Le,cp as Cg,cq as zi,cr as hk,dm as ic,dn as ud,do as Me,dp as Dg,dq as Ai,dr as ik,em as jc,en as vd,eo as Ne,ep as Eg,eq as Bi,er as jk,fm as kc,fn as wd,fp as Fg,fq as Ci,fr as kk,gm as lc,gn as xd,gp as Gg,gq as Di,gr as lk,hm as mc,hn as yd,hp as Hg,hq as Ei,hr as mk,im as nc,in as zd,io as af,ip as Ig,iq as Fi,ir as nk,jm as oc,jn as Ad,jo as bf,jp as Jg,jq as Gi,jr as ok,km as pc,kn as Bd,kp as Kg,kq as Hi,kr as pk,lm as qc,ln as Cd,lo as Wf,lp as Lg,lq as Ii,lr as qk,mm as rc,mn as Dd,mp as Mg,mq as Ji,mr as rk,nm as sc,nn as Ed,np as Ng,nq as Ki,nr as sk,om as tc,on as Fd,op as Og,oq as Li,or as tk,pm as uc,pn as Gd,pp as Pg,pq as Mi,pr as uk,qm as vc,qn as Hd,qp as Qg,qq as Wi,qr as xk,rm as wc,rn as Id,rp as Rg,rq as Xi,rr as yk,sm as xc,sn as Jd,sp as Sg,sq as Yi,sr as zk,tm as yc,tn as Kd,tp as Tg,tq as Zi,tr as Ak,ul as xa,um as zc,un as Ld,up as Ug,uq as _i,ur as Bk,vl as ya,vm as Ac,vn as Md,vp as Vg,vq as $i,vr as Ck,wl as za,wm as Bc,wn as Nd,wp as Wg,wq as aj,wr as Dk,xl as Aa,xm as Cc,xn as Od,xp as Xg,xq as bj,xr as Ek,yl as Ba,ym as Dc,yn as Pd,yp as Yg,yq as cj,yr as Fk,zl as Ca,zm as Ec,zn as Qd,zp as Zg,zq as dj}from"./chunk-msq8xvhp.js";import{$r as oa,Ar as N,Br as O,Cr as P,Dr as Q,Er as R,Fr as S,Gr as T,Hr as U,Ir as V,Jr as W,Kr as X,Lr as Y,Mr as Z,Nr as _,Or as $,Pr as aa,Qr as ba,Rr as ca,Sr as da,Tr as ea,Ur as fa,Vr as ia,Wr as ja,Xr as ka,Yr as la,Zr as ma,_r as na,as as pa,bs as qa,cs as ra,ds as sa,es as ta,fs as ua,gs as va,hs as wa,zr as M}from"./chunk-8y1ve8tc.js";import{is as ga,js as ha}from"./chunk-njx93b4z.js";import{ks as Rb,ls as Sb,ms as Tb}from"./chunk-2wb3pgp4.js";import"./chunk-89mqnh67.js";import{As as Ui,Bs as Vi,ts as Ni,us as Oi,vs as Pi,ws as Qi,xs as Ri,ys as Si,zs as Ti}from"./chunk-xvh1k1a4.js";import{Ts as Qc,Us as Rc,Vs as Sc,Ws as Tc,Xs as Uc,Zs as Vc,gt as Wc,ht as Xc,it as Yc}from"./chunk-9e20mgwc.js";import{jt as Xb,kt as Yb,lt as Zb,mt as _b,nt as $b,ot as ac}from"./chunk-y2f41kaq.js";import{At as Ge,vt as Ee,xt as Fe}from"./chunk-xj6bcwqa.js";import"./chunk-gtqbvt3a.js";import{Ft as cc,Gt as dc}from"./chunk-vhta1be7.js";import{Kt as dg,Lt as eg,Mt as fg,Nt as gg,Ot as hg,Pt as ig,Qt as jg,St as kg,Tt as lg,Ut as mg,Vt as ng}from"./chunk-tc4pj651.js";import{Wt as qd,Xt as rd,Yt as sd,Zt as td,hu as ae,iu as be,ju as ce,ku as de,lu as ee,mu as fe,nu as ge,ou as he,pu as ie,qu as je,ru as ke,su as le,tu as me,uu as ne,vu as oe,wu as pe}from"./chunk-san1eq0r.js";import{$u as F,Au as e,Bu as f,Cu as g,Du as h,Eu as i,Fu as j,Gu as k,Hu as l,Iu as m,Ju as n,Ku as o,Lu as p,Mu as q,Nu as r,Ou as s,Pu as t,Qu as u,Ru as v,Su as w,Tu as x,Uu as y,Vu as z,Wu as A,Xu as B,Yu as C,Zu as D,_u as E,av as G,bv as H,cv as I,dv as J,ev as K,fv as L,xu as b,yu as c,zu as d}from"./chunk-avwywzsj.js";import"./chunk-wj21f1e0.js";import"./chunk-d86q27j8.js";import{Av as tb,Bv as ub,Cv as vb,Dv as wb,Ev as xb,Fv as yb,Gv as zb,Hv as Ab,Iv as Bb,Jv as Cb,Kv as Db,Lv as Eb,Mv as Fb,Nv as Gb,Ov as Hb,Pv as Ib,Qv as Jb,vv as ob,wv as pb,xv as qb,yv as rb,zv as sb}from"./chunk-72x62kch.js";import{Uv as Pa,Vv as Qa,Yv as Ra,bw as Sa,cw as Ta,iw as Ua,jw as Va,kw as Wa,lw as Xa,mw as Ya,nw as Za,ow as _a,pw as $a,qw as ab,rw as bb,sw as cb,tw as db,uw as eb,vw as fb,ww as gb,yw as hb}from"./chunk-swvm1wgn.js";import"./chunk-9nrgjtah.js";import"./chunk-ejqpq0wc.js";export{hl as writeNetlifyConfig,$m as writeManifest,Ml as writeImageManifest,rp as wrapComponentForHMR,_r as withDefaults,uk as webComponentDirectiveHandler,gq as watermark,ir as watchViews,Wl as watchMultiple,Xl as watchEffect,Vl as watch,Le as warmImagePlaceholders,im as waitForStore,X as waitForLocale,dp as virtualPathFor,hk as videoDirective,G as validators,cs as validated,Be as validateValueEnhanced,ki as validateTemplate,Pm as validateRouteRules,lq as validateParams,Ce as validateFormEnhanced,Zq as validateFile,xe as validateFields,we as validateField,mi as validateDirective,Wd as validateCspDirectives,Ck as validateConfig,nn as validateComponentScripts,Ln as validateComponentProps,gh as validateClientScript,fi as v,Hc as usesSignalsInScript,ub as usesReactiveRuntime,Ai as userComponentFileExists,Nh as useVirtualList,ie as useTitle,hm as useStoreOrThrow,Jp as useStore,Tk as useStorage,zf as useSlots,Vk as useSessionStorage,cc as useServerRuntimeConfig,Xf as useServerData,fe as useSeoMeta,dc as useRuntimeConfig,jm as useRouteParams,lm as useRouteParamOrThrow,km as useRouteParam,ie as usePageTitle,qf as useOptimistic,Ef as useModel,nm as useMiddlewareValue,mm as useMiddlewareState,Uk as useLocalStorage,kp as useLoadingIndicator,de as useHead,ci as useForm,Bf as useAttrs,$q as uploadFiles,_q as uploadFile,em as updateInstance,of as untrack,Qi as unregisterDirective,fm as unmountInstance,Pc as unescapeHtml,gp as typecheckStxFiles,yi as transpileTypeScript,Nr as translate,Ba as transitionDirective,lc as transformAutoImports,Fn as toUsers,En as toUser,Rp as thumbnail,Sq as thumbHashToRGBA,Tq as thumbHashToDataURL,wb as templateNeedsRuntime,vb as templateHasReactiveContext,If as templateCache,md as syncRecordedResponse,op as stxClientHelpers,ig as structuredDataDirective,Qr as stripLocalePrefix,Mm as stripDocumentWrapper,Sb as stripCommentsAndLiterals,qo as stringToStream,Kd as strictCspPreset,We as streamingSuspenseDirective,_e as streamToResponse,Ue as streamTemplateSimple,Oe as streamTemplate,Ok as stopHmrServer,Bn as stopBroadcasting,_b as stateDirName,$b as stateDir,cf as state,ah as startsDocument,Lo as startProductionServer,Go as startInteractive,An as startBroadcasting,Sr as stampLocaleLayoutGroup,Ia as staggerDirective,jq as srcsetUrls,Ja as springDirective,td as splitByPipe,Im as spaNavVaryHeaders,ep as sourcePathFor,qq as smartBatchSign,Ci as slotContentHasExpressions,oq as signUrl,wi as shouldTranspileTypeScript,Lk as shouldReloadOnChange,tq as shouldRefreshSignature,Mk as shouldIgnoreFile,Fh as shouldCacheComponent,Vp as sharpen,fs as shape,Zb as setStateDir,rm as setRouteParams,sm as setMiddlewareState,Ke as setImagePlaceholder,tf as setGlobalProvide,b as setErrorLocale,Ol as setCurrentInstance,Xj as setCachedVideoResult,Mj as setCachedImageResult,Gj as setCached,is as serveStxFile,ks as serveMultipleStxFiles,Gk as serveMarkdownFile,Wo as serveFile,ls as serveApp,Vo as serve,up as serializeState,bn as serializeSetCookie,Xp as sepia,ge as seoMetaToHeadConfig,Ca as scrollAnimateDirective,va as screenReaderDirective,zi as scopeOnRootElement,lk as scopeHTML,kk as scopeCSS,lg as scanForSitemapEntries,pa as scanA11yTargets,qa as scanA11yIssues,$p as saturation,mq as sanitizeParams,I as sanitizeFilePath,J as sanitizeExpression,K as sanitizeDirectiveParams,H as sanitizeDirectiveParam,L as sanitizeComponentProps,B as safeExecuteAsync,A as safeExecute,Cb as runtimeHandledXAttrsLiteral,Gb as runtimeEventRegexLiteral,Eb as runtimeDirectiveNamesLiteral,wg as runPreProcessingMiddleware,xg as runPostProcessingMiddleware,en as runPageAction,jf as runMountCallbacks,gb as runMiddleware,cm as runHooks,Gr as runDoctor,kf as runDestroyCallbacks,Ag as runComposers,aq as rotate,gi as rewriteImagesWithSiblings,nd as responseBindings,Gi as resolveTemplatePath,ha as resolveStxTargets,yk as resolveStxDirectories,Mr as resolveI18n,Pp as resize,og as resetUnscopedSignalWarnings,Nc as resetRejectedExpressionWarnings,sc as resetPlaceholders,ce as resetHead,tp as resetHMRHandler,o as resetErrorConfig,as as required,bg as reportDeferredLoopWarnings,wc as replacePlaceholders,Ec as replaceInterpolations,gr as renderView,ek as renderVideoComponent,ic as renderVendorStyleTags,pr as renderToString,qr as renderToStream,rr as renderToDOM,Rq as renderThumbhashToCanvas,Dr as renderTemplateString,Br as renderTemplate,Cr as renderString,Re as renderStreamingPage,ri as renderSlot,vh as renderSSRSuspense,Bq as renderProtectedVideo,Aq as renderProtectedImg,nq as renderMediaUpload,Ar as renderMarkdownView,Tm as renderLayoutTypes,Qj as renderImgComponent,Cl as renderImageComponent,ke as renderHtmlAttrs,je as renderHead,jr as renderEmail,Ei as renderComponentWithSlot,le as renderBodyAttrs,Ep as render,Md as relaxedCspPreset,ve as registerValidationRule,Ye as registerStreamingDirectives,Lp as registerStoresClient,pm as registerStore,Qf as registerServeModuleBundle,jg as registerSeoDirectives,_a as registerMiddleware,Ac as registerFilters,zc as registerFilter,d as registerErrorMessages,Ae as registerEnhancedValidationRule,Ni as registerDirective,Vd as registerCspDirectives,On as registerComponentDirectives,Oa as registerAnimationDirectives,wa as registerA11yDirectives,mc as referencesName,Sl as ref,yo as redirect,id as recordResponseStatus,jd as recordResponseHeader,ac as rebaseOntoStateDir,kd as readResponseStatus,ld as readResponseHeaders,Ek as readMarkdownFile,Jf as readFileCached,Tl as reactive,eq as quality,yq as pruneSignatureCache,Jj as pruneCache,rf as provide,zr as protectCodeBlocks,$r as prop,Dg as processVueTemplate,Lh as processVirtualListDirectives,Ph as processVirtualGridDirectives,dk as processVideo,ye as processValidateDirective,ea as processTranslateDirective,ph as processTransitionDirectives,sh as processTransitionAttributes,oe as processTitleDirective,ad as processTemplateBindings,lh as processTeleportDirectives,th as processSuspenseDirectives,eg as processStructuredData,Se as processStreamDirectives,od as processStatusDirective,ai as processStaticDirectives,ug as processStackReplacements,tg as processStackPushDirectives,si as processSlots,Km as processShell,Ne as processServerBindings,fg as processSeoDirective,Ze as processSectionDirectives,Uc as processScopedStyles,_c as processReactiveBindings,Cq as processProtectedMedia,Vh as processPartialHydrationDirectives,fh as processOnceDirective,vg as processMiddleware,dg as processMetaDirectives,pe as processMetaDirective,Fk as processMarkdownFileDirectives,Li as processMarkdownDirectives,cg as processLoops,Dh as processKeepAliveDirectives,eh as processJsonDirective,Oh as processInfiniteListDirectives,sg as processIncludes,Sj as processImgComponents,El as processImageComponents,rl as processImage,ne as processHeadDirective,re as processForms,te as processFormInputDirectives,Lc as processExpressions,Pb as processEventDirectives,ue as processErrorDirective,Eg as processDynamicComponents,hi as processDirectives,Vi as processDirectiveAttributes,kh as processDeferDirectives,_d as processCustomDirectives,Sd as processCspDirectives,gs as processComponentProps,rc as processClientScript,se as processBasicFormDirectives,yh as processAsyncDirectives,$d as processAppearanceBootstrapDirective,Fa as processAnimationDirectives,ka as processA11yDirectives,Ge as prepareImageDelivery,T as preloadTranslationsBackground,S as preloadTranslations,jp as preloadIslandHandlers,Me as preloadIconCollection,wn as poolStrings,wk as pluginManager,Ie as placeholdersWarmed,oh as performLeave,nh as performEnter,lf as pendingLifecycleCounts,pf as peek,pg as partialsCache,fk as parseVideoDirectiveOptions,Np as parseUrl,Uq as parseThumbhashString,zd as parseSwitchBlock,pi as parseSlots,qi as parseSlotElement,Ed as parseScriptDeclarations,sk as parseSFCComponent,Dq as parseProtectedArgs,ag as parseLoopBinding,Rj as parseImgComponent,hj as parseImageUrl,Dl as parseImageComponent,cn as parseFormBody,Bd as parseExpressionWithFilters,Pn as parseDefaults,vo as parseCookies,Bm as parseContainerSelector,wd as parseConditionalBlock,Cd as parseArguments,Ma as parseAnimationShorthand,bs as optional,xn as optimizeTemplate,Jl as optimizeImage,Kl as optimizeDirectory,ds as oneOf,qg as onceStore,$l as onUpdated,Zc as onUpdate,bm as onUnmounted,wm as onServer,Zl as onMounted,gf as onMount,$h as onHydrated,xf as onErrorCaptured,hf as onDestroy,Jh as onDeactivated,vm as onClient,_l as onBeforeUpdate,am as onBeforeUnmount,Yl as onBeforeMount,Ih as onActivated,Nq as observeElement,zo as notFound,Jg as normalizeCriticalHeadOrder,wf as nextTick,Sn as negotiateEncoding,Ua as navigateTo,dm as mountInstance,Ea as motionDirective,Ld as moderateCspPreset,vn as minifyHtml,hg as metaDirective,Ug as metaDedupKey,Op as mergeParams,Wg as mergeHtmlAttrs,ee as mergeHeadConfigs,Rc as mergeCssConfig,Pd as mergeCspDirectives,Ra as matchRoute,Mi as markdownDirectiveHandler,Dk as markdownCache,ga as looksLikeGlob,Pr as localizePath,U as loadTranslationLazy,_ as loadTranslation,zk as loadStxConfig,db as loadMiddlewareFromDirectory,an as loadManifest,Jq as loadElement,Cn as loadChannels,Lb as listensPassively,Wr as lintStxStrict,Lq as lazyLoadAll,Kq as lazyLoad,Ha as keyframeDirective,nr as jsxs,or as jsxDEV,mr as jsx,xo as jsonResponse,Xe as islandDirective,l as isTest,Nm as isSpaNavigation,Gm as isSpaNavRequest,rq as isSignatureValid,mf as isSignal,pl as isSharpAvailable,jo as isServerEnvironment,tm as isServer,yb as isRuntimeOwnedColonAttr,Hb as isRuntimeEventName,da as isRtlLocale,j as isProduction,ia as isPresentationalRole,Gq as isNativeLazySupported,yr as isMarkdownPath,Q as isLoading,R as isLoaded,vi as isJavaScriptScript,Hq as isIntersectionObserverSupported,xl as isImageFile,ql as isImageBackendAvailable,aa as isICUFormat,_h as isHydrated,Bi as isHydrateTrigger,gd as isHttpStatus,io as isEdgeEnvironment,Xr as isDirectiveKind,k as isDevelopment,nf as isDerived,Kk as isCssOnlyChange,Rn as isCompressible,um as isClient,Ah as isAsyncComponent,dn as isActionableMethod,Yp as invert,Lf as invalidateFileCacheByDir,Kf as invalidateFileCache,Kc as interpolateScriptsInTemplate,Ic as interpolateScriptExpressions,Jc as interpolateScriptAttributes,x as inlineError,Lr as injectThemeBootstrap,gg as injectSeoTags,Ir as injectSeo,Wf as injectRouterScript,Jk as injectHotReload,kb as injectHeatmap,Yc as injectCss,Qd as injectCspMetaTag,ch as injectConfigHeadTags,Ig as injectColorModeBootScript,Yg as injectCloakStyle,Pg as injectBuildId,kc as injectBrowserCoreAutoImports,cd as injectAnalytics,sf as inject,om as initStoreRegistry,kl as initNetlify,lp as initLoadingIndicator,Iq as initLazyLoading,Fo as initFile,Qq as initBlurUp,Wq as initAllBlurUp,Uj as imgDirective,Hl as imageDirective,hn as hydrateTemplateStream,gn as hydrateTemplate,ip as hydrateIslands,Xh as hydrateIsland,jn as hydrateFragment,Yh as hydrateByStrategy,Zh as hydrateAll,Bp as hydrate,Uo as htmlResponse,_g as hoistLeadingHeadTags,Kg as hoistColorModeBootScript,lb as heatmapDirective,Cj as hashString,Vf as hashFilePath,Aj as hashFile,Bj as hashBuffer,Cg as hasVueTemplateSyntax,$f as hasVariables,Gp as hasStore,xc as hasPlaceholders,il as hasNetlifyConfig,ab as hasMiddleware,Qb as hasEventDirectives,bh as hasDocumentShell,ni as hasDirectives,ma as hasDOMSupport,Al as handleImageRequest,yf as handleError,vr as h,wl as groupVariantsByFormat,Wp as grayscale,No as gitHash,pn as getUnusedDirectives,V as getTranslationSync,O as getTranslationCacheStats,W as getTranslationAsync,ba as getTranslation,dl as getTotalSize,sq as getTimeUntilExpiry,hh as getStoreScript,Hp as getStoreNames,Fp as getStore,Yk as getStorageSize,Xk as getStorageKeys,Hi as getSourceLineInfo,xi as getSharedTranspiler,Rf as getServeModuleBundle,Pf as getServeClientAsset,la as getScreenReaderOnlyStyle,mk as getScopeAttribute,bf as getRouteParams,Vb as getPublicEnvDefine,Wb as getPublicEnv,li as getPositionInfo,uc as getPlaceholderRegistry,zj as getPlaceholderCacheStats,be as getPageMeta,Gd as getNonce,yl as getMimeType,cb as getMiddlewareNames,$a as getMiddleware,ca as getLocaleDirection,P as getLoadingState,Y as getLoadingLocales,He as getImagePlaceholder,sl as getImageMetadata,Ee as getImageDelivery,Ap as getHydrationRuntime,qm as getHydratedStoreState,Nk as getHmrServer,ae as getHead,sp as getHMRHandler,lj as getFormatExtension,Ej as getFileMtime,vl as getFallbackVariant,f as getErrorMessage,c as getErrorLocale,n as getErrorConfig,i as getErrorCodeName,Pi as getDirectives,Oi as getDirective,Pl as getCurrentInstance,Vc as getCssServeAsset,Od as getCspPreset,Xd as getCspHeaderName,Ki as getComponentCacheStats,Wj as getCachedVideoResult,wq as getCachedSignature,Nf as getCachedSignalsRuntime,Of as getCachedRouterScript,xj as getCachedPlaceholder,Lj as getCachedImageResult,Fj as getCached,Ij as getCacheStats,Ng as getBuildId,zn as getBroadcastServer,kj as getBestVariant,Bc as getAllFilters,_i as generateWidthSrcset,Mh as generateVirtualListCSS,br as generateVideoPreview,De as generateValidationScript,cr as generateUploadRuntime,qn as generateTreeShakenBundle,rh as generateTransitionRuntime,qh as generateTransitionCSS,_j as generateThumbnails,qj as generateThumbhashPlaceholder,$n as generateTemplatesDocs,xh as generateSuspenseRuntime,wh as generateSuspenseCSS,vp as generateStateScript,ij as generateSrcsetData,Pj as generateSrcset,tl as generateSrcSet,$j as generateSpriteSheet,kr as generateSpaShell,jj as generateSourceTags,ej as generateSizesFromBreakpoints,dj as generateSizesAttribute,ul as generateSizes,kg as generateSitemapIndex,Jr as generateSitemap,Fq as generateSimpleMediaPicker,zq as generateSignatureRuntime,Hf as generateSignalsRuntimeDev,Gf as generateSignalsRuntime,qc as generateServerDataBridge,jk as generateScopeId,tk as generateSFCWebComponent,Nb as generateRuntimeScript,Pa as generateRouteTypes,Qa as generateRouteManifest,mg as generateRobotsTxt,Kr as generateRobots,Oj as generateResponsiveVariants,pk as generateReactiveWebComponentTS,ok as generateReactiveWebComponent,rk as generateReactiveRuntime,qk as generateReactiveMixin,Zj as generatePoster,wj as generatePlaceholderStyle,vj as generatePlaceholderCSS,pj as generatePlaceholder,Wh as generatePartialHydrationCSS,Fd as generateNonce,el as generateNetlifyToml,er as generateMinifiedMediaRuntime,dr as generateMediaRuntime,Eq as generateMediaManagerEmbed,_m as generateManifest,np as generateLoadingIndicatorHtml,Pq as generateLazyLoadRuntime,Um as generateLayoutTypes,sj as generateLQIP,Hh as generateKeepAliveRuntime,Gh as generateKeepAliveCSS,bi as generateIslandManifest,ar as generateImagePreview,Ll as generateImageManifest,zp as generateHydrationScript,$e as generateHydrationRuntime,Cp as generateHydrationCSS,Qh as generateHydrationBootstrap,Ik as generateHotReloadScript,jb as generateHeatmapScript,qp as generateHMRClientScript,ak as generateHLSManifest,wp as generateEventBindings,cj as generateDprSrcsetWithVariableQuality,bj as generateDprSrcset,$g as generateDocumentShell,fo as generateDocs,ao as generateDirectivesDocs,Ui as generateDirectiveRuntime,ng as generateDefaultRobotsTxt,bk as generateDASHManifest,Xc as generateCss,Jd as generateCspMetaTag,Id as generateCspHeader,Df as generateCompositionRuntime,_n as generateComponentsDocs,Rh as generateComponentManifest,Yn as generateComponentDoc,uj as generateColorPlaceholder,Hg as generateColorModeBootScript,gm as generateClientRuntime,Dj as generateCacheKey,oc as generateBrowserAutoImportDestructuring,Xq as generateBlurUpRuntime,Yq as generateBlurUpCSS,$c as generateBindingsRuntime,$i as generateAutoWidthSrcset,nc as generateAutoImportDestructuring,Ch as generateAsyncComponentRuntime,Bh as generateAsyncComponentCSS,fc as generateApiTypes,Na as generateAnimationRuntime,La as generateAnimationCSS,bd as generateAnalyticsScript,hp as formatTypecheckDiagnostics,bp as formatTypeErrors,Co as formatStxContent,cl as formatSize,Ta as formatRoutes,Do as formatMarkdownContent,g as formatLocalizedError,$ as formatICU,p as formatFilePath,w as formatError,Hr as formatDoctorReport,bo as formatDocsAsMarkdown,eo as formatDocsAsJson,co as formatDocsAsHtml,dq as format,un as foldConstants,cq as flipVertical,bq as flipHorizontal,Vm as fingerprint,fp as findRuntimeTypeDeclarations,Fr as findPantryPackage,Dc as findMustacheEnd,vd as findMatchingEndTag,rd as findMatchingDelimiter,Rb as findInterpolationEnd,xd as findIfBlocks,Ad as findExpressions,Sa as findErrorPage,Sc as findDuplicateScopedStyleRanges,yd as findDirectiveBlocks,rn as findDeadCode,rn as findDeadBranches,Cm as findContainerRegion,Zn as findComponentFiles,js as findCommonDir,bl as filterRequiredFiles,Fi as fileExists,Yf as extractVariables,ji as extractTemplateExpressions,Te as extractStreamBoundaries,xp as extractState,ti as extractSlotContent,_f as extractScriptFromTemplate,ii as extractScriptBlocks,vc as extractPlaceholders,ud as extractParenthesizedExpression,hd as extractPageResponseStatus,hb as extractLayoutMetadata,tj as extractDominantColor,Dd as extractDirectiveParams,oi as extractDirectiveNames,Om as extractContainerContent,Wn as extractComponentProps,Sh as extractComponentName,Xn as extractComponentDescription,Wc as extractClassNames,pc as extractBridgeData,Th as extractBoundProps,sd as extractBalancedExpression,hc as extractAndStripCssImports,nk as extractAndScopeStyles,Ob as extractAndProcessEvents,Rk as externalizeSharedAssets,Sk as externalizeRepeatedAssets,Qk as externalizeHtml,Oc as evaluateExpression,tn as evaluateConstant,pd as evaluateAuthExpression,Gc as escapeHtmlValue,Fc as escapeHtml,C as errorRecovery,E as errorLogger,mh as ensureTeleportTargets,dh as ensureDocumentShell,ze as enhancedValidationRules,Un as enableDevTools,sn as eliminateDeadCode,ef as effect,kq as dprUrls,go as docsCommand,ec as discoverServerApi,Sm as discoverLayoutNames,Oq as disconnectObserver,Vn as disableDevTools,F as devHelpers,Jm as detectShell,ho as detectRuntime,fl as detectProjectConfig,mj as detectFormat,mn as detectBuildMode,df as derived,jl as deploy,Bk as defineStxConfig,Kp as defineStore,Af as defineSlots,Vr as defineSiteConfig,Zr as definePropsWithValidation,Yr as defineProps,vk as definePlugin,he as definePageMeta,Wa as defineMiddleware,di as defineForm,vf as defineExpose,uf as defineEmits,Ri as defineDirective,xr as defineCustomElement,Ko as defineConfig,Si as defineClientDirective,zh as defineAsyncComponent,Mo as defineApiHandler,fr as defaultMediaConfig,Nl as defaultImageConfig,M as defaultI18nConfig,ib as defaultHeatmapConfig,qe as defaultFormClasses,yc as defaultFilters,Zd as defaultCspConfig,xk as defaultConfig,hs as default,Qc as deepMergeThemes,Tc as dedupeScopedStyles,Fm as decodeTitleEntities,rj as decodeThumbhash,Ud as cspNonceDirective,Td as cspDirective,Vq as crossfadeTransition,Qp as crop,Kh as createVirtualList,gk as createVideoDirective,to as createVercelHandler,_o as createTypeChecker,fa as createTranslateFilter,po as createTextEncoderStream,wr as createStxApp,oo as createStreamingResponse,Ve as createStreamRenderer,Ip as createStore,Za as createStorageManager,Xa as createServerCookieManager,gc as createServerApi,Rl as createScope,uh as createSSRSuspense,af as createRouter,Qm as createRouteRuleResolver,eb as createRouteLocation,Yo as createRoute,Sl as createRef,Tl as createReactive,Cf as createProvideContext,Po as createProject,Jo as createProductionBuild,tc as createPlaceholder,yn as createOptimizedBuild,uo as createNetlifyHandler,Zk as createNetlifyClient,fb as createMiddlewareContext,Xo as createMiddleware,Mq as createLazyObserver,Eh as createKeepAliveCache,lo as createKVNamespace,Uh as createIslandRegistry,Tj as createImgDirective,Il as createImagePlugin,Bl as createImageHandler,Gl as createImageDirective,nb as createHeatmapAggregator,al as createFileManifest,ko as createEnvAccessor,z as createEnhancedError,no as createEdgeHandler,mo as createEdgeCache,Ii as createDetailedErrorMessage,so as createDenoHandler,gl as createDefaultNetlifyConfig,Yd as createCspHeaders,wo as createCookie,Ul as createComputed,Ql as createComponentInstance,ro as createCloudflareHandler,Ya as createClientCookieManager,Ti as createBuiltinDirectives,wr as createApp,Ka as createAnimationTimeline,Tp as cover,Zf as convertToCommonJS,_p as contrast,Sp as contain,y as consoleError,m as configureErrorHandling,Ak as config,Ul as computed,Tn as compressResponse,zg as composerPattern,yg as composer,Lm as composeShellWithPage,Nn as componentDirective,Di as componentClientSignalNames,Zm as compileTemplate,a as collectRepeatedFlag,$k as collectDeployFiles,Zg as cloakStyleFragment,Yj as clearVideoCache,N as clearTranslationCache,ih as clearStoreCache,Wk as clearStorage,xq as clearSignatureCache,Ff as clearServerData,yj as clearPlaceholderCache,rg as clearOnceStore,Hd as clearNonce,bb as clearMiddleware,Je as clearImagePlaceholders,Fe as clearImageDeliveryCatalog,Fl as clearImageCache,e as clearErrorMessages,Sf as clearDevCaches,Cc as clearCustomFilters,Bg as clearComposers,jh as clearComposableCache,Ji as clearComponentCache,Hj as clearCache,Ib as clearBlankCache,mp as cleanupLoadingIndicator,zm as classifyScript,Am as classifyAllScripts,$o as checkTemplateFile,ap as checkTemplate,Tf as checkCache,uq as checkAuthAccess,na as checkA11yWithRegex,oa as checkA11y,In as channel,Bo as captureScreenshots,Ao as captureScreenshot,Z as cancelPendingLoads,_k as calculateSha1,aj as calculateOptimalWidths,Uf as cacheTemplate,bc as cacheEngineFingerprint,ik as buildWebComponents,cp as buildVirtualSource,hr as buildViews,Mp as buildUrl,Pe as buildSuspenseResolveScript,Ur as buildStaticSite,qb as buildRuntimeGlobalsDestructure,Wm as buildRuntimeAsset,Xm as buildRouterAsset,Tr as buildLangPickerScript,gj as buildImageUrl,Qg as buildIdFragment,Vg as buildHtmlAttrs,kn as buildForProduction,Qn as buildComponentLibrary,vq as buildAuthParams,ln as buildApp,Rr as buildAlternateLinks,Io as build,Gn as broadcastPrivate,Hn as broadcastPresence,Dn as broadcast,Zp as brightness,Tb as bracketDepths,Up as blur,Jb as blankInertHtmlRegions,pq as batchSignUrls,ff as batch,sa as autoFixA11yFile,ta as autoFixA11yDirectory,ra as autoFixA11y,fq as auto,ja as attributeValue,Ym as assetTags,Mb as asInvocableStatement,es as arrayOf,Or as applyTranslations,Nj as applyTransformations,ui as applySlots,Mn as applyPropDefaults,iq as applyPreset,Xg as applyHtmlAttrs,me as applyHead,Mc as applyFilters,Hm as appendVary,Nd as apiCspPreset,Da as animationGroupDirective,ck as analyzeVideo,on as analyzeUsage,xm as analyzeTemplate,ym as analyzeProject,on as analyzeDirectiveUsage,dd as analyticsDirective,So as addStore,Ro as addPage,Rd as addNonceToInlineContent,To as addLayout,Qo as addComponent,fn as actionRedirectResponse,Va as abortNavigation,ua as a11yDirective,Mf as __setSignalsGeneratorsForTest,Og as __setBuildIdForTest,Vj as VideoProcessorCache,ei as Validator,xa as TransitionType,za as TransitionEase,ya as TransitionDirection,qd as Tokenizer,Zo as TemplateTypeChecker,Eo as TEMPLATE_PRESETS,v as StxValidationError,r as StxSyntaxError,t as StxSecurityError,s as StxRuntimeError,u as StxFileError,q as StxError,sr as Show,Qe as SUSPENSE_RESOLVER_RUNTIME,ob as STX_RUNTIME_GLOBALS,jc as STX_AUTO_IMPORTS,Yb as STATE_DIR_ENV_VAR,Ga as SPRING_PRESETS,Dm as SPA_NAV_HEADER,Kb as SCROLL_BLOCKING_EVENTS,xb as RUNTIME_OWNED_COLON_ATTRS,zb as RUNTIME_HANDLED_X_ATTRS,Fb as RUNTIME_EVENT_NAMES,Db as RUNTIME_DIRECTIVE_NAMES,ed as RESPONSE_STATUS_KEY,fd as RESPONSE_HEADERS_KEY,tb as REACTIVE_RUNTIME_GLOBALS,Ho as ProductionBuild,ur as Portal,Oo as PROJECT_TEMPLATES,hq as PRESETS,sb as NON_CLIENT_PRIMITIVES,Dp as MemorySessionStore,Zi as MIME_TYPES,Wi as MEDIA_DEFAULT_WIDTHS,Yi as MEDIA_DEFAULT_FORMATS,Rm as LAYOUT_TYPES_FILE,Kj as ImageProcessorCache,zl as ImageProcessingError,yp as HydrationRuntime,Hk as HotReloadServer,mb as HeatmapAggregator,Tg as HTML_CLASS_MARKER,Sg as HTML_ATTRS_MARKER,lr as Fragment,tr as For,Em as FRAGMENT_CACHE_CONTROL,D as ErrorLogger,h as ErrorCodes,Pk as EXTERNALIZED_ASSET_DIR,ll as DeployError,ml as DEFAULT_WIDTHS,Aa as DEFAULT_TRANSITION_OPTIONS,Xb as DEFAULT_STATE_DIR,ol as DEFAULT_QUALITY,nj as DEFAULT_PLACEHOLDER_OPTIONS,nl as DEFAULT_FORMATS,Xi as DEFAULT_DPR_VALUES,pp as ComponentHMRHandler,pb as COMPONENT_SCOPE_LOCAL_GLOBALS,Bb as COMPONENT_PASSTHROUGH_X_ATTRS,rb as COMPILE_TIME_ONLY_GLOBALS,fj as COMMON_SIZES,Fg as COLOR_MODE_BOOT_MARKER,Gg as COLOR_MODE_BOOT_GLOBAL,Rg as CLOAK_STYLE,Kn as BroadcastServer,Jn as Broadcast,Lg as BUILD_ID_META,Mg as BUILD_ID_HEADER,Ub as BROWSER_CORE_IMPORTS,oj as BLUR_UP_CSS,Ab as ALPINE_BRIDGE_X_ATTRS,Er as $path};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{ml as a,nl as b,ol as c,pl as d,ql as e,rl as f,sl as g}from"./chunk-
|
|
2
|
+
import{ml as a,nl as b,ol as c,pl as d,ql as e,rl as f,sl as g}from"./chunk-ngjkzaj7.js";import"./chunk-89mqnh67.js";import"./chunk-y2f41kaq.js";import"./chunk-vhta1be7.js";import"./chunk-swvm1wgn.js";import"./chunk-ejqpq0wc.js";export{e as productionApiDispatcher,g as isServerApiSource,b as generateApiTypes,a as discoverServerApi,f as createServerApi,d as createApiDispatcher,c as buildServerApi};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{mo as a,no as b,oo as c,po as d,qo as e,ro as f,so as g,to as h,uo as i,vo as j,wo as k,xo as l,yo as m}from"./chunk-
|
|
2
|
+
import{mo as a,no as b,oo as c,po as d,qo as e,ro as f,so as g,to as h,uo as i,vo as j,wo as k,xo as l,yo as m}from"./chunk-msq8xvhp.js";import"./chunk-8y1ve8tc.js";import"./chunk-njx93b4z.js";import"./chunk-2wb3pgp4.js";import"./chunk-89mqnh67.js";import"./chunk-xvh1k1a4.js";import"./chunk-9e20mgwc.js";import"./chunk-y2f41kaq.js";import"./chunk-xj6bcwqa.js";import"./chunk-gtqbvt3a.js";import"./chunk-vhta1be7.js";import"./chunk-tc4pj651.js";import"./chunk-san1eq0r.js";import"./chunk-avwywzsj.js";import"./chunk-wj21f1e0.js";import"./chunk-d86q27j8.js";import"./chunk-72x62kch.js";import"./chunk-swvm1wgn.js";import"./chunk-9nrgjtah.js";import"./chunk-ejqpq0wc.js";export{m as stripStxRuntimeImports,b as scanScriptTags,l as rewriteStxImportSpecifiers,j as processSignals,h as processScriptSetup,f as preEvalLiteralReactiveIfs,c as parseLoopExpression,d as hasSignalsSyntax,k as findMarkupIndexOutsideScripts,i as extractExports,g as convertSignalLoopsToAttributes,e as convertSignalDirectivesToAttributes,a as clearScriptScanCache};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{No as a,Oo as b,Po as c}from"./chunk-
|
|
2
|
+
import{No as a,Oo as b,Po as c}from"./chunk-msq8xvhp.js";import"./chunk-8y1ve8tc.js";import"./chunk-njx93b4z.js";import"./chunk-2wb3pgp4.js";import"./chunk-89mqnh67.js";import"./chunk-xvh1k1a4.js";import"./chunk-9e20mgwc.js";import"./chunk-y2f41kaq.js";import"./chunk-xj6bcwqa.js";import"./chunk-gtqbvt3a.js";import"./chunk-vhta1be7.js";import"./chunk-tc4pj651.js";import"./chunk-san1eq0r.js";import"./chunk-avwywzsj.js";import"./chunk-wj21f1e0.js";import"./chunk-d86q27j8.js";import"./chunk-72x62kch.js";import"./chunk-swvm1wgn.js";import"./chunk-9nrgjtah.js";import"./chunk-ejqpq0wc.js";export{b as reportDeferredLoopWarnings,c as processLoops,a as parseLoopBinding};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Ye as a}from"./chunk-6k5a03pw.js";import"./chunk-g7msqva8.js";import"./chunk-57atgbyq.js";import"./chunk-ngjkzaj7.js";import"./chunk-msq8xvhp.js";import"./chunk-8y1ve8tc.js";import"./chunk-njx93b4z.js";import"./chunk-2wb3pgp4.js";import"./chunk-89mqnh67.js";import"./chunk-xvh1k1a4.js";import"./chunk-9e20mgwc.js";import"./chunk-y2f41kaq.js";import"./chunk-xj6bcwqa.js";import"./chunk-gtqbvt3a.js";import"./chunk-vhta1be7.js";import"./chunk-tc4pj651.js";import"./chunk-san1eq0r.js";import"./chunk-avwywzsj.js";import"./chunk-wj21f1e0.js";import"./chunk-d86q27j8.js";import"./chunk-72x62kch.js";import"./chunk-swvm1wgn.js";import"./chunk-9nrgjtah.js";import"./chunk-ejqpq0wc.js";export{a as startProductionServer};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{am as x,aq as M}from"./chunk-
|
|
2
|
+
import{am as x,aq as M}from"./chunk-msq8xvhp.js";import"./chunk-8y1ve8tc.js";import"./chunk-njx93b4z.js";import"./chunk-2wb3pgp4.js";import"./chunk-89mqnh67.js";import"./chunk-xvh1k1a4.js";import{Fs as B,Hs as P}from"./chunk-9e20mgwc.js";import"./chunk-y2f41kaq.js";import"./chunk-xj6bcwqa.js";import"./chunk-gtqbvt3a.js";import"./chunk-vhta1be7.js";import"./chunk-tc4pj651.js";import"./chunk-san1eq0r.js";import"./chunk-avwywzsj.js";import"./chunk-wj21f1e0.js";import"./chunk-d86q27j8.js";import"./chunk-72x62kch.js";import"./chunk-swvm1wgn.js";import"./chunk-9nrgjtah.js";import"./chunk-ejqpq0wc.js";import G from"path";var T=["broadcast","calculateDistance","canNotify","clearCookies","clearFetchCache","clearStorage","copyToClipboard","createShareableFile","defineForm","getBatteryLevel","getCookie","getCurrentPosition","getStorageKeys","getStorageSize","getVoices","hasBattery","hasCameraPermission","hasGeolocationPermission","hasMicrophonePermission","hasNotificationPermission","hasResizeObserver","hexToHsl","hexToRgb","isBroadcastChannelSupported","isCharging","isDeviceMotionSupported","isDeviceOrientationSupported","isEventSourceSupported","isEyeDropperSupported","isInFullscreen","isMutationObserverSupported","isPermissionGranted","isSpeechRecognitionSupported","isSpeechSynthesisSupported","isWakeLockSupported","isWebSocketSupported","notify","parseCookies","pickColor","prefetch","removeCookie","requestMediaPermissions","requestMotionPermission","requestNotificationPermission","requestOrientationPermission","setCookie","share","shareCurrentPage","shareFiles","shareText","shareURL","shareWithFallback","speak","stopSpeaking","toggleFullscreen","useAsyncData","useAttributeObserver","useAutoLogout","useAutoWakeLock","useBattery","useBreakpoint","useBroadcastChannel","useChannel","useChildListObserver","useClipboard","useColorHistory","useConditionalWakeLock","useCookies","useCopySelection","useDeviceMotion","useDeviceOrientation","useElementSize","useElementTextSelection","useElementVisibility","useEventSource","useEyeDropper","useFavicon","useForm","useFullscreen","useGeolocation","useGeolocationWatch","useHotkey","useIdle","useIdleState","useInfiniteScroll","useIntersectionObserver","useIntersectionObserverMultiple","useIsDesktop","useIsMobile","useIsTablet","useKeyPressed","useKeySequence","useKeyboard","useLastActive","useLazyLoad","useMeta","useMouse","useMouseInElement","useMutationObserver","useNetwork","useNotification","useOnline","useParallax","usePermission","usePermissions","usePointer","usePost","useResizeObserver","useResizeObserverMultiple","useSSE","useScroll","useSelectionPopup","useShare","useSpeechRecognition","useSpeechSynthesis","useStorage","useTextObserver","useTextSelection","useTitle","useVisibility","useWakeLock","useWindowSize"],O=new Set(T);var K=new Map,U=B(64),V=new Set,D=0,N=new Set(T);function f(){K.clear(),U.clear()}function S(H){let J=new Map;for(let Q of H){let Z=G.basename(Q);if(Z.endsWith(".d.ts"))continue;let z=Z.replace(/\.[jt]s$/,"");if(z==="index")continue;if(z===Z)continue;let X=J.get(z);if(X&&!X.endsWith(".js"))continue;J.set(z,Q)}return[...J.values()].sort()}function g(H,J){let Q=J.replace(/[$()*+.?[\\\]^{|}-]/g,"\\$&");return new RegExp(`(?:^|[^\\w$.])(?:const|let|var|function|class)\\s+${Q}\\b`).test(H)}function y(H){if(!H)return[];let J=P(H,D),Q=U.get(J);if(Q)return Q.slice();let Z=H.replace(/<script\b[^>]*\bdata-stx-runtime\b[^>]*>[\s\S]*?<\/script>/gi,"").replace(/<script\b[^>]*\bdata-stx-framework-composables\b[^>]*>[\s\S]*?<\/script>/gi,"").replace(/<script\b[^>]*\bdata-stx-stores\b[^>]*>[\s\S]*?<\/script>/gi,"").replace(/<script\b[^>]*\bdata-stx-composables\b[^>]*>[\s\S]*?<\/script>/gi,""),z=[];for(let X of N){if(V.has(X))continue;let A=X.replace(/[$()*+.?[\\\]^{|}-]/g,"\\$&");if(new RegExp(`(^|[^\\w$.])${A}\\s*\\(`).test(Z))z.push(X)}return z.sort(),U.set(J,z),z.slice()}async function p(H,J){let Q=y(H);if(Q.length===0)return null;let Z=J??G.join(import.meta.dir,"composables"),z=`${Z}\x00${Q.join(",")}`,X=K.get(z);if(X!==void 0)return X||null;let A=M({loader:"ts",target:"browser",define:x()}),L=new Set(Q),W=[],C=new Set,F=[];try{let q=new Bun.Glob("*.{ts,js}");for await(let j of q.scan({cwd:Z,absolute:!0}))F.push(j)}catch{return K.set(z,""),null}F=S(F);for(let q of F){let j;try{j=await Bun.file(q).text()}catch{continue}let I=[];try{I=A.scan(j).exports.filter(($)=>$!=="default")}catch{continue}if(!I.some(($)=>L.has($)))continue;try{j=j.replace(/^import\s+.*from\s+['"][^'"]+['"]\s*;?\s*$/gm,""),j=j.replace(/^import\s+type\s+.*$/gm,""),j=j.replace(/^export\s+\*\s+(?:as\s+\w+\s+)?from\s*['"][^'"]+['"]\s*;?\s*$/gm,""),j=j.replace(/^export\s+(?:type\s+)?\{[\s\S]*?\}\s*(?:from\s*['"][^'"]+['"]\s*)?;?\s*$/gm,""),j=j.replace(/^export\s+default\s+/gm,""),j=j.replace(/^export\s+(?=(?:declare\s+)?(?:abstract\s+)?(?:async\s+)?(?:function|class|const|let|var|type|interface|enum)\b)/gm,""),W.push(`// ${G.basename(q).replace(/\.[jt]s$/,"")}
|
|
3
3
|
${A.transformSync(j).trim()}`);for(let $ of I)C.add($)}catch($){console.warn(`[stx] framework composable ${G.basename(q)} could not be bundled:`,$)}}let Y=Q.filter((q)=>!C.has(q)&&!g(H,q));if(Y.length>0)console.warn(`[stx] could not bundle ${Y.join(", ")} from @stacksjs/stx/composables \u2014 `+"calls to them will throw ReferenceError in the browser. Import them explicitly so the bundler inlines them, or use a runtime equivalent from window.stx.");if(W.length===0)return K.set(z,""),null;let k=[...C].map((q)=>` try { if (!(${JSON.stringify(q)} in __s)) { __s[${JSON.stringify(q)}] = ${q}; if (!(${JSON.stringify(q)} in window)) window[${JSON.stringify(q)}] = ${q}; } } catch (e) {}`).join(`
|
|
4
4
|
`),w=`<script data-stx-framework-composables>
|
|
5
5
|
;(function(){
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Te as a}from"./chunk-
|
|
2
|
+
import{Te as a}from"./chunk-m6dstr44.js";import"./chunk-msq8xvhp.js";import"./chunk-8y1ve8tc.js";import"./chunk-njx93b4z.js";import"./chunk-2wb3pgp4.js";import"./chunk-89mqnh67.js";import"./chunk-xvh1k1a4.js";import"./chunk-9e20mgwc.js";import"./chunk-y2f41kaq.js";import"./chunk-xj6bcwqa.js";import"./chunk-gtqbvt3a.js";import"./chunk-vhta1be7.js";import"./chunk-tc4pj651.js";import"./chunk-san1eq0r.js";import"./chunk-avwywzsj.js";import"./chunk-wj21f1e0.js";import"./chunk-d86q27j8.js";import"./chunk-72x62kch.js";import"./chunk-swvm1wgn.js";import"./chunk-9nrgjtah.js";import"./chunk-ejqpq0wc.js";export{a as startInteractive};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$l as c,cm as d,dm as e,em as f,fm as g,gm as h,hm as i,im as j,jm as k,km as l,lm as m,mm as n}from"./chunk-
|
|
2
|
+
import{$l as c,cm as d,dm as e,em as f,fm as g,gm as h,hm as i,im as j,jm as k,km as l,lm as m,mm as n}from"./chunk-msq8xvhp.js";import"./chunk-8y1ve8tc.js";import"./chunk-njx93b4z.js";import{ks as a,ls as b}from"./chunk-2wb3pgp4.js";import"./chunk-89mqnh67.js";import"./chunk-xvh1k1a4.js";import"./chunk-9e20mgwc.js";import"./chunk-y2f41kaq.js";import"./chunk-xj6bcwqa.js";import"./chunk-gtqbvt3a.js";import"./chunk-vhta1be7.js";import"./chunk-tc4pj651.js";import"./chunk-san1eq0r.js";import"./chunk-avwywzsj.js";import"./chunk-wj21f1e0.js";import"./chunk-d86q27j8.js";import"./chunk-72x62kch.js";import"./chunk-swvm1wgn.js";import"./chunk-9nrgjtah.js";import"./chunk-ejqpq0wc.js";export{h as transformAutoImports,b as stripCommentsAndLiterals,e as renderVendorStyleTags,i as referencesName,n as processClientScript,g as injectBrowserCoreAutoImports,m as generateServerDataBridge,k as generateBrowserAutoImportDestructuring,j as generateAutoImportDestructuring,a as findInterpolationEnd,l as extractBridgeData,d as extractAndStripCssImports,f as STX_AUTO_IMPORTS,c as BROWSER_CORE_IMPORTS};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Am as O,Ho as R,Jp as H,lq as x,qr as g}from"./chunk-
|
|
2
|
+
import{Am as O,Ho as R,Jp as H,lq as x,qr as g}from"./chunk-msq8xvhp.js";import b from"path";var v={enabled:!0,bufferSize:16384,strategy:"auto",timeout:30000},M=/<!-- @section:([\w-]+) -->([\s\S]*?)<!-- @endsection:\1 -->/g;var T=/<!-- @suspense:([\w-]+) -->([\s\S]*?)<!-- @endsuspense:\1 -->/g;function f(q){let B=[],Q=0,G;T.lastIndex=0;while((G=T.exec(q))!==null){if(G.index>Q){let X=q.slice(Q,G.index);if(X.trim())B.push({type:B.length===0?"shell":"content",content:X})}let J=G[1],K=G[2];B.push({type:"suspense",name:J,content:K}),Q=G.index+G[0].length}if(Q<q.length){let J=q.slice(Q);if(J.trim())B.push({type:B.length===0?"shell":"content",content:J})}if(B.length===0)B.push({type:"shell",content:q});return B}async function r(q,B={},Q={}){let G={...g,...Q,streaming:{...v,...Q.streaming}},J=G.streaming?.bufferSize||16384;return new ReadableStream({async start(K){try{let X=await Bun.file(q).text(),z=X.match(/<script\b[^>]*\bserver\b[^>]*>([\s\S]*?)<\/script>/i),L=z?z[1]:"",Y=X.replace(/<script\b[^>]*>[\s\S]*?<\/script>/gi,""),j={...B,__filename:q,__dirname:b.dirname(q)};if(L.trim())await R(L,j,q);let D=f(Y),$=new Set;if(!D.some((w)=>w.type==="suspense")){let w=G.streaming?.strategy||"auto",U=new RegExp(M.source,"g");if(!(w!=="manual"&&U.test(Y))){let F=await H(Y,j,q,G,$);for(let V=0;V<F.length;V+=J)K.enqueue(F.slice(V,V+J)),await new Promise((W)=>setTimeout(W,0))}else{let F=[],V=new RegExp(M.source,"g"),W;while((W=V.exec(Y))!==null)F.push({name:W[1],content:W[2],start:W.index,end:W.index+W[0].length});let y=0;for(let A of F){if(A.start>y){let k=Y.slice(y,A.start);if(k.trim()){let E=await H(k,j,q,G,$);K.enqueue(E),await new Promise((S)=>setTimeout(S,0))}}let I=await H(A.content,j,q,G,$);K.enqueue(I),await new Promise((k)=>setTimeout(k,0)),y=A.end}if(y<Y.length){let A=Y.slice(y);if(A.trim()){let I=await H(A,j,q,G,$);K.enqueue(I)}}}}else{let w=new Map;for(let Z of D)if(Z.type==="shell"||Z.type==="content"){let F=await H(Z.content,j,q,G,$);K.enqueue(F)}else if(Z.type==="suspense"&&Z.name){let F=`stx-suspense-${Z.name}`;K.enqueue(`<div id="${F}" data-suspense="${Z.name}" style="display:contents;">
|
|
3
3
|
<template data-suspense-fallback>Loading...</template>
|
|
4
4
|
</div>`),w.set(Z.name,H(Z.content,j,q,G,$))}K.enqueue(`
|
|
5
5
|
<script>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Bt as a,Ct as b}from"./chunk-
|
|
2
|
+
import{Bt as a,Ct as b}from"./chunk-gtqbvt3a.js";import"./chunk-vhta1be7.js";import"./chunk-ejqpq0wc.js";export{a as prepareRuntimeConfig,b as generateRuntimeConfigTypes};
|
package/dist/cli.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
// @bun
|
|
3
|
-
import{Ha as a,He as F,Je as v,Ke as P,Va as r,de as s,ee as t,nb as n,o as m,oa as l,ob as p,qb as i,wb as e}from"./chunk-
|
|
3
|
+
import{Ha as a,He as F,Je as v,Ke as P,Va as r,de as s,ee as t,nb as n,o as m,oa as l,ob as p,qb as i,wb as e}from"./chunk-a1knndrh.js";import"./chunk-04x3vny9.js";import"./chunk-2ver2s2y.js";import"./chunk-m6dstr44.js";import"./chunk-g5mhck0r.js";import"./chunk-6k5a03pw.js";import"./chunk-ym3r8ktq.js";import"./chunk-msywnv5n.js";import"./chunk-b5hank5e.js";import"./chunk-7qp3zphs.js";import"./chunk-62nz9v8t.js";import"./chunk-g7msqva8.js";import"./chunk-57atgbyq.js";import"./chunk-8bxtvsgm.js";import"./chunk-6zrg2mmc.js";import"./chunk-rwwfzkz4.js";import"./chunk-7h9fajgs.js";import"./chunk-18018jkn.js";import"./chunk-sqvqwd0p.js";import"./chunk-7r9vgzg4.js";import"./chunk-a959m68j.js";import"./chunk-1vb2rj09.js";import"./chunk-g6czgcg4.js";import"./chunk-6r3aavbv.js";import"./chunk-1z1efvtw.js";import"./chunk-vgfd9582.js";import"./chunk-qsbjtp60.js";import"./chunk-nf7k53ap.js";import"./chunk-zk6ghjnj.js";import"./chunk-bgrkxzr7.js";import"./chunk-hay8nwv3.js";import"./chunk-7we3xfde.js";import"./chunk-z23sc9p4.js";import"./chunk-8m0g0h4x.js";import"./chunk-e4g8wz6t.js";import"./chunk-mmnf2pac.js";import"./chunk-3nx7z086.js";import"./chunk-p3p4d6g1.js";import"./chunk-c0n802j1.js";import{al as u,bl as c}from"./chunk-epqd3eah.js";import"./chunk-ngjkzaj7.js";import"./chunk-fvsefztj.js";import"./chunk-msq8xvhp.js";import{as as f}from"./chunk-8y1ve8tc.js";import"./chunk-njx93b4z.js";import"./chunk-2wb3pgp4.js";import"./chunk-89mqnh67.js";import"./chunk-xvh1k1a4.js";import{Es as A}from"./chunk-9e20mgwc.js";import"./chunk-y2f41kaq.js";import"./chunk-xj6bcwqa.js";import"./chunk-gtqbvt3a.js";import"./chunk-vhta1be7.js";import"./chunk-tc4pj651.js";import"./chunk-san1eq0r.js";import"./chunk-avwywzsj.js";import"./chunk-wj21f1e0.js";import"./chunk-d86q27j8.js";import"./chunk-72x62kch.js";import"./chunk-swvm1wgn.js";import"./chunk-9nrgjtah.js";import{Nw as B}from"./chunk-ejqpq0wc.js";import{spawn as o}from"child_process";import L from"fs";import zb from"os";import $ from"path";import w from"process";import{CLI as wb}from"@stacksjs/clapp";var N="0.2.354";var __dirname="/home/runner/work/stx/stx/packages/stx/bin",E=new wb("stx");function h(J){let Z=typeof J==="string"?Number.parseInt(J,10):J;if(Number.isNaN(Z))return{isValid:!1,error:"Port must be a valid number",suggestion:"Try using a number between 1024 and 65535"};if(Z<1024||Z>65535)return{isValid:!1,error:"Port must be between 1024 and 65535",suggestion:"Try using a port between 1024 and 65535"};return{isValid:!0}}function d(J){try{if(!L.existsSync(J)){let K=$.dirname(J),x=$.basename(J);if(L.existsSync(K)){let z=L.readdirSync(K).filter((j)=>j.toLowerCase().includes(x.toLowerCase().substring(0,3))||j.endsWith(".stx")||j.endsWith(".md")),k=z.length>0?`File not found. Similar files in ${K}: ${z.slice(0,3).join(", ")}`:`File not found. Directory ${K} exists but doesn't contain the specified file.`;return{isValid:!1,error:`File does not exist: ${J}`,suggestion:k}}return{isValid:!1,error:`File does not exist: ${J}`,suggestion:"Check the file path and try again"}}if(L.statSync(J).isDirectory())return{isValid:!1,error:`Expected file but got directory: ${J}`,suggestion:"Specify a .stx or .md file path"};return{isValid:!0}}catch(Z){return{isValid:!1,error:`Cannot access file: ${J}`,suggestion:"Check file permissions and path"}}}function y(J){let Z=typeof J==="string"?Number.parseInt(J,10):J;if(Number.isNaN(Z))return{isValid:!1,error:"Timeout must be a valid number",suggestion:"Specify timeout in milliseconds (e.g., 5000 for 5 seconds)"};if(Z<100)return{isValid:!1,error:"Timeout too short (minimum 100ms)",suggestion:"Use a timeout of at least 100ms"};if(Z>300000)return{isValid:!1,error:"Timeout too long (maximum 5 minutes)",suggestion:"Use a timeout of less than 300000ms (5 minutes)"};return{isValid:!0}}var V=(J)=>J.includes("*")||J.includes("?")||J.includes("{")||J.includes("["),jb=(J)=>J.endsWith(".stx")||J.endsWith(".md");function S(J,Z=1){if(console.error(`\u274C ${J.error}`),J.suggestion)console.error(`\uD83D\uDCA1 suggestion: ${J.suggestion}`);w.exit(Z)}function kb(J){if(!J)return;let Z;try{Z=JSON.parse(J)}catch(K){console.error(`\u274C --info-plist is not valid JSON: ${K.message}`),w.exit(1)}if(typeof Z!=="object"||Z===null||Array.isArray(Z))console.error(`\u274C --info-plist must be a JSON object, e.g. '{"NSFocusStatusUsageDescription":"\u2026"}'`),w.exit(1);for(let[K,x]of Object.entries(Z))if(typeof x!=="string"&&typeof x!=="number"&&typeof x!=="boolean")console.error(`\u274C --info-plist value for "${K}" must be a string, number or boolean`),w.exit(1);return Z}async function Hb(J,Z){try{let K=["test"],x=[];if(J&&J.length>0)for(let W of J)if(V(W))try{let H=await Array.fromAsync(new Bun.Glob(W).scan({onlyFiles:!0,absolute:!0}));if(H.length===0)console.warn(`Warning: No files found matching pattern: ${W}`);else if(x.push(...H),Z.verbose)console.log(`Found ${H.length} file(s) matching pattern: ${W}`)}catch(H){return console.error(`Error expanding glob pattern ${W}:`,H),!1}else x.push(W);if(x.length===0)return console.error("Error: No test files found matching the provided patterns."),!1;if(K.push(...x),Z.filter)K.push("--pattern",Z.filter);if(Z.timeout)K.push("--timeout",Z.timeout.toString());if(Z.reporter&&Z.reporter!=="default")if(Z.reporter==="junit"){let W=$.join(zb.tmpdir(),`stx-test-report-${Date.now()}.xml`);K.push("--reporter",Z.reporter),K.push("--reporter-outfile",W)}else console.warn(`Warning: Reporter '${Z.reporter}' is not supported. Using default reporter.`);if(Z.coverage)K.push("--coverage");if(Z.watch)K.push("--watch");K.push("--preload",$.join(__dirname,"../../../test-utils/happy-dom.ts"));let b={...w.env,STX_TEST_MODE:"true",STX_TEST_UI:Z.ui?"true":"false",STX_TEST_VERBOSE:Z.verbose?"true":"false"},z="bun";if(Z.verbose)console.log(`Running: ${z} ${K.join(" ")}`);let k=performance.now(),j=o(z,K,{stdio:"inherit",shell:!1,env:b});return new Promise((W)=>{j.on("close",(H)=>{let Y=((performance.now()-k)/1000).toFixed(2);if(H===0)W(!0);else W(!1)}),w.on("SIGINT",()=>{console.log(`
|
|
4
4
|
Test run interrupted`),j.kill("SIGINT"),w.exit(1)})})}catch(K){return console.error("Error running tests:",K instanceof Error?K.message:String(K)),!1}}var Qb=w.argv.length>=3&&(jb(w.argv[2])&&L.existsSync(w.argv[2])||V(w.argv[2]));if(Qb){let J=w.argv[2],Z={port:3000,watch:!0,cache:!0,markdown:{syntaxHighlighting:{enabled:!0,serverSide:!0,defaultTheme:"github-dark",highlightUnknownLanguages:!0}}};for(let K=3;K<w.argv.length;K++){let x=w.argv[K];if(x==="--port"&&K+1<w.argv.length){let b=h(w.argv[++K]);if(!b.isValid)S(b);Z.port=Number.parseInt(w.argv[K],10)}else if(x==="--no-watch")Z.watch=!1;else if(x==="--highlight-theme"&&K+1<w.argv.length){if(!Z.markdown)Z.markdown={};if(!Z.markdown.syntaxHighlighting)Z.markdown.syntaxHighlighting={};Z.markdown.syntaxHighlighting.defaultTheme=w.argv[++K]}else if(x==="--no-highlight"){if(!Z.markdown)Z.markdown={};if(!Z.markdown.syntaxHighlighting)Z.markdown.syntaxHighlighting={};Z.markdown.syntaxHighlighting.enabled=!1}else if(x==="--no-highlight-unknown"){if(!Z.markdown)Z.markdown={};if(!Z.markdown.syntaxHighlighting)Z.markdown.syntaxHighlighting={};Z.markdown.syntaxHighlighting.highlightUnknownLanguages=!1}else if(x==="--no-cache")Z.cache=!1;else if(x==="--native")Z.native=!0}if(V(J))try{let K=await Array.fromAsync(new Bun.Glob(J).scan({onlyFiles:!0,absolute:!0})),x=J.endsWith(".stx")?K.filter((j)=>j.endsWith(".stx")):J.endsWith(".md")?K.filter((j)=>j.endsWith(".md")):K.filter((j)=>j.endsWith(".stx")||j.endsWith(".md")),b=J.split("*")[0].replace(/\/$/,"")||".",z=$.resolve(b);try{let j=new Bun.Glob("**/*.stx"),H=(await Array.fromAsync(j.scan({cwd:z,onlyFiles:!0,absolute:!0}))).filter((U)=>/\[.+\]/.test($.basename(U)));for(let U of H)if(!x.includes(U))x.push(U)}catch{}if(x.length===0)console.error(`Error: No STX or Markdown files found matching pattern: ${J}`),w.exit(1);if(!await v(x,Z))w.exit(1)}catch(K){console.error("Failed to process files:",K),w.exit(1)}else F(J,Z).catch((K)=>{console.error("Failed to start dev server:",K),w.exit(1)})}else{let J=function(x,b){let z=[];for(let k=0;k<=b.length;k++)z[k]=[k];for(let k=0;k<=x.length;k++)z[0][k]=k;for(let k=1;k<=b.length;k++)for(let j=1;j<=x.length;j++)if(b.charAt(k-1)===x.charAt(j-1))z[k][j]=z[k-1][j-1];else z[k][j]=Math.min(z[k-1][j-1]+1,z[k][j-1]+1,z[k-1][j]+1);return z[b.length][x.length]};E.command("docs","Generate documentation for components, templates, and directives").option("--output <dir>","Output directory for documentation",{default:"docs"}).option("--format <format>","Documentation format (markdown, html, json)",{default:"markdown"}).option("--components-dir <dir>","Components directory",{default:"components"}).option("--templates-dir <dir>","Templates directory",{default:"."}).option("--no-components","Disable components documentation").option("--no-templates","Disable templates documentation").option("--no-directives","Disable directives documentation").option("--extra-content <content>","Extra content to include in documentation").example("stx docs --output docs --format html").action(async(x)=>{try{if(await r(x))console.log("Documentation generated successfully."),w.exit(0);else console.error("Documentation generation failed."),w.exit(1)}catch(b){console.error("Error generating documentation:",b),w.exit(1)}}),E.command("iconify <command>","Generate Iconify icon packages").option("--output <dir>","Output directory for generated packages",{default:"packages"}).option("--icons <icons>","Comma-separated list of specific icons to generate").example("stx iconify list").example("stx iconify generate mdi").example("stx iconify generate lucide --icons home,settings,user").action(async(x,b)=>{try{let{fetchCollections:z,generatePackage:k}=await import("./chunk-05zfez2g.js");if(x==="list"){console.log(`
|
|
5
5
|
\uD83D\uDCDA Fetching available icon collections...
|
|
6
6
|
`);let j=await z(),W=Object.entries(j).sort((H,U)=>U[1].total-H[1].total);console.log(`Available collections:
|
|
7
7
|
`);for(let[H,U]of W){let Y=U;console.log(` ${H.padEnd(30)} ${Y.name} (${Y.total} icons)`)}console.log(`
|
|
8
8
|
Total: ${W.length} collections`)}else if(x.startsWith("generate")){let j=x==="generate"?"":x.replace("generate:","").replace("generate-","").replace("generate","").trim();if(!j)console.error("Error: Please specify a collection prefix"),console.error("Usage: stx iconify generate <prefix> [--icons icon1,icon2,...]"),w.exit(1);let W=b.output||$.join(w.cwd(),"packages/collections"),H=b.icons?b.icons.split(",").map((U)=>U.trim()):void 0;await k(j,W,H),console.log(`
|
|
9
9
|
\u2713 Package generated successfully!`),console.log(`
|
|
10
|
-
To use the package:`),console.log(` 1. cd packages/collections/iconify-${j}`),console.log(" 2. bun install"),console.log(" 3. bun run build")}else console.error(`Unknown iconify command: ${x}`),console.error("Available commands: list, generate"),w.exit(1)}catch(z){console.error("Error:",z instanceof Error?z.message:String(z)),w.exit(1)}}),E.command("pwa <command>","PWA tools - audit configuration and build output").option("--output <dir>","Build output directory to audit",{default:"dist"}).example("stx pwa audit").example("stx pwa audit --output build").action(async(x,b)=>{try{if(x==="audit"){let{runPwaAudit:z,formatAuditResult:k}=await import("./chunk-dxkjvajv.js"),{loadConfig:j}=await import("./chunk-
|
|
10
|
+
To use the package:`),console.log(` 1. cd packages/collections/iconify-${j}`),console.log(" 2. bun install"),console.log(" 3. bun run build")}else console.error(`Unknown iconify command: ${x}`),console.error("Available commands: list, generate"),w.exit(1)}catch(z){console.error("Error:",z instanceof Error?z.message:String(z)),w.exit(1)}}),E.command("pwa <command>","PWA tools - audit configuration and build output").option("--output <dir>","Build output directory to audit",{default:"dist"}).example("stx pwa audit").example("stx pwa audit --output build").action(async(x,b)=>{try{if(x==="audit"){let{runPwaAudit:z,formatAuditResult:k}=await import("./chunk-dxkjvajv.js"),{loadConfig:j}=await import("./chunk-32x78na8.js");console.log(`
|
|
11
11
|
\uD83D\uDD0D Running PWA audit...
|
|
12
12
|
`);let W=await j(),H=b.output||"dist",U=z(W,H);if(console.log(k(U)),U.failed>0)w.exit(1)}else console.error(`Unknown pwa command: ${x}`),console.error("Available commands: audit"),w.exit(1)}catch(z){console.error("Error:",z instanceof Error?z.message:String(z)),w.exit(1)}}),E.command("dev [file]","Start a development server for an STX app or file").option("--port <port>","Port to use for the dev server",{default:3000}).option("--pages <dir>",'Directory containing page templates (default: pagesDir from stx.config.ts, else "pages")').option("--no-watch","Disable file watching and auto-reload").option("--native","Open in a native desktop window using Zyte").option("--titlebar-hidden","Hide the native titlebar but keep the traffic-light buttons (web content draws under a transparent full-size titlebar). Implies --native.").option("--highlight-theme <theme>","Syntax highlighting theme for Markdown code blocks",{default:"github-dark"}).option("--no-highlight","Disable syntax highlighting for Markdown code blocks").option("--no-highlight-unknown","Disable syntax highlighting for unknown languages in Markdown").option("--no-cache","Disable caching of parsed files").option("--no-hmr","Disable HMR / live-reload script injection (useful for clean network traces)").option("--profile","Print per-directive timing for every page render via performanceMonitor").option("--debug-directives","Log directive ordering and intermediate template state during rendering").example("stx dev").example("stx dev --port 8080").example("stx dev --pages src/pages").example("stx dev template.stx").example("stx dev components/hero.stx --port 8080").example("stx dev **/*.stx").example("stx dev docs/guide.md").example("stx dev template.stx --native").action(async(x,b)=>{try{if(b.port!==void 0){let k=h(b.port);if(!k.isValid)S(k);b.port=Number.parseInt(String(b.port),10)}if(b.timeout!==void 0){let k=y(b.timeout);if(!k.isValid)S(k)}let z={syntaxHighlighting:{enabled:b.highlight!==!1,serverSide:!0,defaultTheme:b.highlightTheme||"github-dark",highlightUnknownLanguages:b.highlightUnknown!==!1}};if(!x){if(!await P(".",{port:b.port,watch:b.watch!==!1,native:b.native||b.titlebarHidden||!1,titlebarHidden:b.titlebarHidden===!0,cache:b.cache!==!1,hotReload:b.hmr!==!1,profile:b.profile===!0,debugDirectives:b.debugDirectives===!0,...b.pages&&{pagesDir:b.pages}}))w.exit(1);return}if(!V(x))try{let k=await import("fs");if(k.existsSync(x)&&k.statSync(x).isDirectory()){if(!await P(x,{port:b.port,watch:b.watch!==!1,native:b.native||b.titlebarHidden||!1,titlebarHidden:b.titlebarHidden===!0,cache:b.cache!==!1,hotReload:b.hmr!==!1,profile:b.profile===!0,debugDirectives:b.debugDirectives===!0,...b.pages&&{pagesDir:b.pages}}))w.exit(1);return}}catch{}if(V(x)){console.log(`Expanding glob pattern: ${x}`);let k=await A.timeAsync("glob-expansion",async()=>{return Array.fromAsync(new Bun.Glob(x).scan({onlyFiles:!0,absolute:!0}))}),j=x.endsWith(".stx")?k.filter((Y)=>Y.endsWith(".stx")):x.endsWith(".md")?k.filter((Y)=>Y.endsWith(".md")):k.filter((Y)=>Y.endsWith(".stx")||Y.endsWith(".md"));if(j.length===0)console.error(`No STX or Markdown files found matching pattern: ${x}`),console.error("Try using patterns like '*.stx' or 'components/**/*.stx'"),w.exit(1);let W=x.split("*")[0].replace(/\/$/,"")||".",H=$.resolve(W);try{let Y=new Bun.Glob("**/*.stx"),X=(await Array.fromAsync(Y.scan({cwd:H,onlyFiles:!0,absolute:!0}))).filter((_)=>/\[.+\]/.test($.basename(_)));for(let _ of X)if(!j.includes(_))j.push(_)}catch{}if(console.log(`Found ${j.length} ${j.length===1?"file":"files"} matching ${x}`),!await v(j,{port:b.port,watch:b.watch!==!1,native:b.native||b.titlebarHidden||!1,titlebarHidden:b.titlebarHidden===!0,markdown:z,cache:b.cache!==!1}))w.exit(1)}else{if(!V(x)){let j=d(x);if(!j.isValid)S(j)}if(!await F(x,{port:b.port,watch:b.watch!==!1,native:b.native||b.titlebarHidden||!1,titlebarHidden:b.titlebarHidden===!0,markdown:z,cache:b.cache!==!1}))w.exit(1)}}catch(z){console.error("Error starting dev server:",z),w.exit(1)}}),E.command("a11y [target]","Scan .stx files for accessibility issues (directory, file, or glob)").option("--no-recursive","Disable recursive scanning of directories").option("--ignore <paths>","Comma-separated paths to ignore",{default:""}).option("--json","Output results as JSON").option("--output <file>","Write results to a file instead of stdout").option("--fix","Automatically fix common accessibility issues").example("stx a11y ./templates").example('stx a11y "resources/**/*.stx"').example("stx a11y resources/emails/welcome.stx").example("stx a11y --json --output a11y-report.json").action(async(x=".",b)=>{try{console.log(`Scanning ${x} for accessibility issues...`);let z=b.ignore?b.ignore.split(",").map((U)=>U.trim()):[],{results:k,scannedFiles:j}=await f(x,{recursive:b.recursive!==!1,ignorePaths:z});if(j.length===0)console.log(`
|
|
13
13
|
No .stx files matched ${x}
|
|
@@ -69,7 +69,7 @@ Total: ${H} issues in ${W} files`),b.output){let U=`
|
|
|
69
69
|
File not found: ${x}`),w.exit(1);if(!x.endsWith(".stx"))console.error(`
|
|
70
70
|
File must have .stx extension: ${x}`),w.exit(1)}let k=$.resolve(b.pages),j=$.resolve(b.out);if(!x&&!L.existsSync(k))console.error(`
|
|
71
71
|
Pages directory not found: ${k}`),console.log(`
|
|
72
|
-
Create a 'pages' directory with .stx files, or use --pages to specify a different directory.`),w.exit(1);let{buildApp:W}=await import("./chunk-
|
|
72
|
+
Create a 'pages' directory with .stx files, or use --pages to specify a different directory.`),w.exit(1);let{buildApp:W}=await import("./chunk-8yydz0hk.js");c();let H=await W({root:x?$.dirname(x):void 0,debug:b.verbose,ssg:{pagesDir:b.pages,outputDir:b.out,domain:b.domain,baseUrl:b.base,sitemap:b.sitemap,rss:b.rss,minify:b.minify,cache:b.cache!==!1,cleanOutput:b.clean,concurrency:Number.parseInt(b.concurrency,10)||10,publicDir:b.public,trailingSlash:b.trailingSlash,generate404:!0,hooks:b.verbose?{onPageStart:(Y)=>console.log(` Generating: ${Y}`),onPageEnd:(Y,Q)=>console.log(` Generated: ${Y} (${Q.length} bytes)`),onError:(Y,Q)=>console.error(` Error in ${Q}: ${Y.message}`)}:void 0},ssr:{outputDir:b.out==="dist"?".output":b.out,debug:b.verbose}}),U=((performance.now()-z)/1000).toFixed(2);if(H.mode==="ssr"&&H.ssr)console.log(`
|
|
73
73
|
Build complete! (SSR)
|
|
74
74
|
`),console.log(` Pages compiled: ${H.ssr.pageCount}`),console.log(` Output: ${H.ssr.outputDir}`),console.log(` Duration: ${U}s
|
|
75
75
|
`);else if(H.ssg){if(console.log(`
|
|
@@ -84,7 +84,7 @@ Total: ${H} issues in ${W} files`),b.output){let U=`
|
|
|
84
84
|
Build completed with ${H.ssg.failedCount} error(s). Fix the issues above and try again.
|
|
85
85
|
`),w.exit(1);console.log(" To preview locally:"),console.log(` cd ${b.out||"dist"} && npx serve
|
|
86
86
|
`)}}catch(z){console.error(`
|
|
87
|
-
Build failed:`,z instanceof Error?z.message:String(z)),w.exit(1)}}),E.command("start","Start the production server (serves pre-built .output/)").option("--port <number>","Server port",{default:"3000"}).option("--output <dir>","Output directory from stx build",{default:".output"}).example("stx start").example("stx start --port 8080").action(async(x)=>{try{let b=$.resolve(x.output);if(!L.existsSync($.join(b,"manifest.json")))console.error("\n No production build found. Run `stx build --out .output` first.\n"),w.exit(1);let{startProductionServer:z}=await import("./chunk-
|
|
87
|
+
Build failed:`,z instanceof Error?z.message:String(z)),w.exit(1)}}),E.command("start","Start the production server (serves pre-built .output/)").option("--port <number>","Server port",{default:"3000"}).option("--output <dir>","Output directory from stx build",{default:".output"}).example("stx start").example("stx start --port 8080").action(async(x)=>{try{let b=$.resolve(x.output);if(!L.existsSync($.join(b,"manifest.json")))console.error("\n No production build found. Run `stx build --out .output` first.\n"),w.exit(1);let{startProductionServer:z}=await import("./chunk-tpk6wm38.js");await z({outputDir:b,port:Number.parseInt(x.port,10)||3000})}catch(b){console.error(`
|
|
88
88
|
Failed to start production server:`,b instanceof Error?b.message:String(b)),w.exit(1)}}),E.command("deploy [directory]","Deploy built site to Netlify").option("--site-id <id>","Netlify site ID (or set NETLIFY_SITE_ID env var)").option("--token <token>","Auth token (or set NETLIFY_AUTH_TOKEN env var)").option("--production","Deploy to production (default: draft preview)").option("--message <msg>","Deploy message/title").option("--no-build","Skip build step before deploy").option("--open","Open deployed URL in browser").option("--dry-run","Preview deployment without uploading").option("--init","Initialize Netlify configuration for this project").example("stx deploy").example("stx deploy --production").example("stx deploy dist --site-id my-site-abc123").example("stx deploy --init").example("stx deploy --dry-run").action(async(x,b)=>{try{let{deploy:z,initNetlify:k,DeployError:j}=await import("./chunk-6h3r8v55.js");if(console.log(`\x1B[1mstx deploy\x1B[0m \x1B[2mv${N}\x1B[0m`),b.init){console.log(`
|
|
89
89
|
\uD83D\uDCDD Initializing Netlify configuration...
|
|
90
90
|
`);let H=await k({directory:x||w.cwd(),siteId:b.siteId});if(console.log(`\u2713 Created ${H.configPath}`),H.siteId)console.log("\u2713 Saved site ID to .env.local");console.log(`
|
|
@@ -124,7 +124,7 @@ To view it in the development server:`),console.log(` stx dev ${x}
|
|
|
124
124
|
\uD83D\uDCDD ${$.relative(w.cwd(),Q)}:`),console.log("--- Original"),console.log("+++ Formatted"),console.log(`@@ Changes in ${$.basename(Q)} @@`),console.log("+ Formatted content would be applied");else await Bun.write(Q,q),console.log(`\u2705 Formatted ${$.relative(w.cwd(),Q)}`),U++}catch(X){console.error(`\u274C Error formatting ${$.relative(w.cwd(),Q)}:`,X),Y++}if(b.check&&Y>0)console.log(`
|
|
125
125
|
${Y} files need formatting. Run 'stx format' to fix.`),w.exit(1);else if(!b.check&&!b.diff)console.log(`\u2728 Formatted ${U} files successfully`)}catch(z){console.error("Error formatting files:",z),w.exit(1)}}),E.command("perf [command...]","Show performance statistics for STX operations").option("--clear","Clear performance statistics").option("--json","Output as JSON").example("stx perf").example("stx perf --clear").example("stx perf --json").action(async(x,b)=>{try{if(b.clear){A.clear(),console.log("\u2705 Performance statistics cleared");return}let z=A.getStats();if(Object.keys(z).length===0){if(b.json){console.log(JSON.stringify({},null,2));return}console.log("No performance data available. Run some STX commands first.");return}if(b.json)console.log(JSON.stringify(z,null,2));else{console.log(`
|
|
126
126
|
\uD83D\uDCCA STX Performance Statistics
|
|
127
|
-
`);for(let[k,j]of Object.entries(z))console.log(`\uD83D\uDD27 ${k}:`),console.log(` Count: ${j.count}`),console.log(` Average: ${j.avgTime.toFixed(2)}ms`),console.log(` Total: ${j.totalTime.toFixed(2)}ms`),console.log(` Min: ${j.minTime.toFixed(2)}ms`),console.log(` Max: ${j.maxTime.toFixed(2)}ms`),console.log("")}}catch(z){console.error("Error showing performance stats:",z),w.exit(1)}}),E.command("typecheck [patterns...]","Type-check the TypeScript inside .stx script blocks").option("--no-client","Skip <script client> and bare <script> blocks").option("--no-server","Skip <script server> blocks").option("--no-templates","Skip {{ }} and directive expressions in the markup").option("--lib <path>","Extra ambient declaration file (repeatable)").example("stx typecheck").example('stx typecheck "resources/views/**/*.stx"').action(async(x,b)=>{let{formatTypecheckDiagnostics:z,typecheckStxFiles:k}=await import("./chunk-
|
|
127
|
+
`);for(let[k,j]of Object.entries(z))console.log(`\uD83D\uDD27 ${k}:`),console.log(` Count: ${j.count}`),console.log(` Average: ${j.avgTime.toFixed(2)}ms`),console.log(` Total: ${j.totalTime.toFixed(2)}ms`),console.log(` Min: ${j.minTime.toFixed(2)}ms`),console.log(` Max: ${j.maxTime.toFixed(2)}ms`),console.log("")}}catch(z){console.error("Error showing performance stats:",z),w.exit(1)}}),E.command("typecheck [patterns...]","Type-check the TypeScript inside .stx script blocks").option("--no-client","Skip <script client> and bare <script> blocks").option("--no-server","Skip <script server> blocks").option("--no-templates","Skip {{ }} and directive expressions in the markup").option("--lib <path>","Extra ambient declaration file (repeatable)").example("stx typecheck").example('stx typecheck "resources/views/**/*.stx"').action(async(x,b)=>{let{formatTypecheckDiagnostics:z,typecheckStxFiles:k}=await import("./chunk-a7yxvxke.js"),{resolveStxTargets:j}=await import("./chunk-erb294sv.js"),W=Array.isArray(x)?x:x?[x]:[],H=W.length?W:["**/*.stx"],U=await j(H);if(U.length===0){console.log(`
|
|
128
128
|
No .stx files matched ${H.join(", ")}
|
|
129
129
|
`);return}let Y=m(w.argv,"--lib"),Q=Y.length>0?Y:b.lib?Array.isArray(b.lib)?b.lib:[b.lib]:[],X=await k(U,{client:b.client!==!1,server:b.server!==!1,templates:b.templates!==!1,extraLibs:Q});if(X.failure)console.error(`
|
|
130
130
|
Type-check did not run.
|
|
@@ -135,7 +135,7 @@ ${Y} files need formatting. Run 'stx format' to fix.`),w.exit(1);else if(!b.chec
|
|
|
135
135
|
`),w.exit(2);let _=X.diagnostics.filter((q)=>q.category==="error");if(X.diagnostics.length>0)console.error(`
|
|
136
136
|
${z(X.diagnostics)}
|
|
137
137
|
`);if(console.log(` Checked ${X.blockCount} script block(s) and ${X.expressionCount} template expression(s) in ${X.checkedFiles.length} file(s) \u2014 `+`${_.length} error(s), ${X.diagnostics.length-_.length} warning(s)
|
|
138
|
-
`),_.length>0)w.exit(1)}),E.command("codemod [patterns...]","Find hand-rolled code that an stx primitive already covers").option("--fix","Write the safe rewrites (default is report-only)").option("--rule <rule>","Run one rule only: confirm | tooltip (rewritable) \xB7 alert | route-params | search-params | navigate | "+"fetch | polling | debounce | click-outside | focus | clipboard | watch (report-only)").example("stx codemod").example("stx codemod --rule route-params").example('stx codemod --fix "resources/views/**/*.stx"').action(async(x,b)=>{let{codemodSource:z,formatCodemodFindings:k}=await import("./chunk-
|
|
138
|
+
`),_.length>0)w.exit(1)}),E.command("codemod [patterns...]","Find hand-rolled code that an stx primitive already covers").option("--fix","Write the safe rewrites (default is report-only)").option("--rule <rule>","Run one rule only: confirm | tooltip (rewritable) \xB7 alert | route-params | search-params | navigate | "+"fetch | polling | debounce | click-outside | focus | clipboard | watch (report-only)").example("stx codemod").example("stx codemod --rule route-params").example('stx codemod --fix "resources/views/**/*.stx"').action(async(x,b)=>{let{codemodSource:z,formatCodemodFindings:k}=await import("./chunk-a9w1ds4w.js"),j=globalThis.Bun.Glob,W=Array.isArray(x)?x:x?[x]:[],H=W.length?W:["**/*.stx","**/*.ts"],U=b.rule?[b.rule]:void 0;if(b.rule&&b.rule!=="confirm"&&b.rule!=="tooltip")console.error(`Unknown rule "${b.rule}". Expected: confirm | tooltip`),w.exit(1);let Y=new Set,Q=[],X=0,_=new Set;try{let q=Bun.spawnSync(["git","ls-files","--others","--ignored","--exclude-standard","-z"],{cwd:w.cwd(),stdout:"pipe",stderr:"pipe"});for(let O of new TextDecoder().decode(q.stdout).split("\x00"))if(O)_.add($.resolve(w.cwd(),O))}catch{}for(let q of H)for await(let O of new j(q).scan({cwd:w.cwd(),absolute:!0})){if(O.includes("/node_modules/")||O.includes("/dist/")||Y.has(O)||_.has(O))continue;Y.add(O);let M=await Bun.file(O).text(),G=z(M,{file:O,rules:U});if(Q.push(...G.findings),b.fix&&G.code!==M)await Bun.write(O,G.code),X++}if(console.error(k(Q,Boolean(b.fix))),b.fix)console.error(`
|
|
139
139
|
${X} file(s) written.`)}),E.command("doctor","Diagnose the stx framework-runtime resolution + staleness chain").option("--json","Output the report as JSON").example("stx doctor").example("stx doctor --json").action(async(x)=>{try{let b;try{b=(await import("./chunk-f5veee11.js")).generateSignalsRuntime}catch{b=void 0}let z=await s({generateRuntime:b});if(x.json)console.log(JSON.stringify(z,null,2));else console.log(t(z));if(!z.ok)w.exit(1)}catch(b){console.error("Error running doctor:",b),w.exit(1)}}),E.command("debug <file>","Debug STX template processing step by step").option("--step","Step through processing stages interactively").option("--verbose","Show detailed processing information").option("--context <data>","JSON string of context data to use").option("--save-report <file>","Save debug report to file").example("stx debug template.stx").example("stx debug template.stx --step").example(`stx debug template.stx --context '{"name": "John", "items": [1,2,3]}'`).action(async(x,b)=>{try{let z=d(x);if(!z.isValid)S(z);console.log(`\uD83D\uDD0D Debugging stx template: ${x}
|
|
140
140
|
`);let k={};if(b.context)try{k=JSON.parse(b.context)}catch(H){console.error("\u274C Invalid JSON in --context option"),w.exit(1)}let j=await Bun.file(x).text();console.log(`\uD83D\uDCC4 Template Content (${j.length} chars):`),console.log("\u2500".repeat(50)),console.log(j.substring(0,500)+(j.length>500?`
|
|
141
141
|
...
|
|
@@ -160,11 +160,11 @@ Press Ctrl+C to stop watching...
|
|
|
160
160
|
\uD83D\uDCC4 Files with issues:`),Y.forEach((Q)=>{let X=Q.issues.filter((_)=>j[_.type]>=W).length;if(X>0)console.log(` ${$.relative(w.cwd(),Q.file)} (${X} issues)`)});if(b.saveReport){let Q={summary:U,results:Y,generatedAt:new Date().toISOString(),commandOptions:b};await Bun.write(b.saveReport,JSON.stringify(Q,null,2)),console.log(`
|
|
161
161
|
\uD83D\uDCCB Analysis report saved to: ${b.saveReport}`)}console.log(`
|
|
162
162
|
\u2728 Analysis complete! Use --detailed for more information.`)}catch(z){console.error("Error analyzing templates:",z),w.exit(1)}}),E.command("screenshot [input]","Capture PNG screenshot(s) of page(s) via Bun WebView \u2014 a file, URL, or dist directory").option("--out <dir>","Output directory",{default:"screenshots"}).option("--width <px>","Viewport width",{default:"1440"}).option("--height <px>","Viewport height",{default:"2200"}).option("--wait <ms>","Settle time after navigation before capture",{default:"800"}).option("--timeout <ms>","Hard cap on waiting for navigation",{default:"15000"}).option("--full-page","Capture the entire scrollable page, not just the viewport").option("--wait-selector <sel>","Wait until a CSS selector exists before capturing").option("--format <fmt>","Image format: png | jpeg | webp",{default:"png"}).option("--backend <name>","WebView backend: webkit (macOS, default) | chrome").action(async(x,b)=>{let{captureScreenshots:z}=await import("./chunk-gsc2vds7.js"),k=x||"dist";try{let j=await z(k,b.out,{width:Number.parseInt(b.width,10),height:Number.parseInt(b.height,10),waitMs:Number.parseInt(b.wait,10),timeoutMs:Number.parseInt(b.timeout,10),fullPage:Boolean(b.fullPage),waitSelector:b.waitSelector,format:b.format,backend:b.backend});for(let W of j)console.log(`\uD83D\uDCF8 ${W.output} (${(W.bytes/1024).toFixed(0)} KB)`);console.log(`
|
|
163
|
-
\u2728 Captured ${j.length} screenshot(s) to ${b.out}/ via Bun WebView`)}catch(j){console.error(`Screenshot failed: ${j.message}`),w.exit(1)}}),E.command("version","Show the version of the CLI").action(()=>{console.log(N)}),E.command("interactive","Start interactive REPL mode for template development").alias("i").option("--context <file>","Load initial context from JSON file").option("--cwd <directory>","Set working directory").option("--verbose","Show verbose output").action(async(x)=>{let{startInteractive:b}=await import("./chunk-
|
|
163
|
+
\u2728 Captured ${j.length} screenshot(s) to ${b.out}/ via Bun WebView`)}catch(j){console.error(`Screenshot failed: ${j.message}`),w.exit(1)}}),E.command("version","Show the version of the CLI").action(()=>{console.log(N)}),E.command("interactive","Start interactive REPL mode for template development").alias("i").option("--context <file>","Load initial context from JSON file").option("--cwd <directory>","Set working directory").option("--verbose","Show verbose output").action(async(x)=>{let{startInteractive:b}=await import("./chunk-vw4b7g24.js"),z={};if(x.context){let k=$.resolve(x.context);if(L.existsSync(k))try{let j=L.readFileSync(k,"utf-8");z=JSON.parse(j)}catch(j){console.error("Error loading context file:",j),w.exit(1)}else console.error(`Context file not found: ${k}`),w.exit(1)}await b({context:z,cwd:x.cwd?$.resolve(x.cwd):w.cwd(),verbose:x.verbose})}),E.command("build:native <input>","Build stx template into a native desktop/mobile app").option("--output <dir>","Output directory",{default:"dist/native"}).option("--target <platform>","Target platform: macos, windows, linux, ios, android").option("--format <format>","Output format: app, dmg, pkg, msi, zip, deb, rpm, appimage, ipa, apk").option("--name <name>","Application name (defaults to filename)").option("--version <version>","Application version",{default:"1.0.0"}).option("--description <desc>","Application description").option("--author <author>","Author/Maintainer name").option("--bundle-id <id>","Bundle identifier (macOS/iOS)").option("--icon <path>","Path to application icon").option("--width <width>","Window width",{default:"1200"}).option("--height <height>","Window height",{default:"800"}).option("--title <title>","Window title").option("--system-tray","Enable system tray/menubar mode").option("--menubar-only","Run without a dock icon (implied by --system-tray)").option("--category <type>","LSApplicationCategoryType (macOS)").option("--copyright <text>","NSHumanReadableCopyright (macOS)").option("--min-system-version <v>","LSMinimumSystemVersion (macOS)").option("--info-plist <json>","Extra Info.plist keys as a JSON object (macOS)").option("--dev-tools","Enable developer tools").option("--frameless","Create frameless window").option("--always-on-top","Keep window always on top").option("--craft-path <path>","Path to Craft binary").option("--verbose","Show verbose output").example("stx build:native app.stx --target macos").example("stx build:native app.stx --target macos --format dmg").example("stx build:native app.stx --target linux --format appimage").example('stx build:native app.stx --name "My App" --icon icon.png').action(async(x,b)=>{try{let{buildNative:z,getAvailableTargets:k,getAvailableFormats:j}=await import("./chunk-616fn77w.js"),W=$.resolve(x);if(!L.existsSync(W))console.error(`\u274C Input file not found: ${x}`),w.exit(1);let H=k();if(b.target&&!["macos","windows","linux","ios","android"].includes(b.target))console.error(`\u274C Invalid target: ${b.target}`),console.error("\uD83D\uDCA1 Available targets: macos, windows, linux, ios, android"),console.error(`\uD83D\uDCA1 Targets available on this machine: ${H.join(", ")}`),w.exit(1);let U=b.target||H[0],Y=j(U);if(b.format&&!Y.includes(b.format))console.error(`\u274C Invalid format for ${U}: ${b.format}`),console.error(`\uD83D\uDCA1 Available formats: ${Y.join(", ")}`),w.exit(1);console.log(`
|
|
164
164
|
\uD83D\uDD28 Building native app...`),console.log(` Input: ${x}`),console.log(` Target: ${U}`),console.log(` Format: ${b.format||"default"}`),console.log(` Output: ${b.output}
|
|
165
165
|
`);let Q=await z({input:W,output:$.resolve(b.output),target:U,format:b.format,name:b.name,version:b.version,description:b.description,author:b.author,bundleId:b.bundleId,icon:b.icon?$.resolve(b.icon):void 0,window:{title:b.title,width:Number.parseInt(b.width,10),height:Number.parseInt(b.height,10),frameless:b.frameless,alwaysOnTop:b.alwaysOnTop},systemTray:b.systemTray,menubarOnly:b.menubarOnly,category:b.category,copyright:b.copyright,minimumSystemVersion:b.minSystemVersion,infoPlist:kb(b.infoPlist),devTools:b.devTools,craftPath:b.craftPath,verbose:b.verbose});if(Q.success){if(console.log("\u2705 Build successful!"),console.log(` Output: ${Q.outputPath}`),Q.duration)console.log(` Duration: ${(Q.duration/1000).toFixed(2)}s`);if(U==="macos"&&Q.format==="app")console.log(`
|
|
166
166
|
\uD83D\uDCA1 To run: open "${Q.outputPath}"`);else if(U==="linux"&&Q.format==="appimage")console.log(`
|
|
167
|
-
\uD83D\uDCA1 To run: chmod +x "${Q.outputPath}" && "${Q.outputPath}"`)}else console.error(`\u274C Build failed: ${Q.error}`),w.exit(1)}catch(z){console.error(`\u274C Build error: ${z.message}`),w.exit(1)}}),E.command("story","Start component showcase and testing server").option("-p, --port <port>","Server port",{default:"6006"}).option("-o, --open","Open browser automatically",{default:!1}).option("--host <host>","Host to bind to",{default:"localhost"}).example("stx story").example("stx story --port 3000 --open").action(async(x)=>{try{let{devCommand:b}=await import("./chunk-
|
|
167
|
+
\uD83D\uDCA1 To run: chmod +x "${Q.outputPath}" && "${Q.outputPath}"`)}else console.error(`\u274C Build failed: ${Q.error}`),w.exit(1)}catch(z){console.error(`\u274C Build error: ${z.message}`),w.exit(1)}}),E.command("story","Start component showcase and testing server").option("-p, --port <port>","Server port",{default:"6006"}).option("-o, --open","Open browser automatically",{default:!1}).option("--host <host>","Host to bind to",{default:"localhost"}).example("stx story").example("stx story --port 3000 --open").action(async(x)=>{try{let{devCommand:b}=await import("./chunk-5wbdbcvf.js");await b({port:x.port?Number.parseInt(x.port,10):6006,open:x.open,host:x.host})}catch(b){console.error(`\u274C Story error: ${b.message}`),w.exit(1)}}),E.command("story:build","Build static story site").option("-o, --outDir <dir>","Output directory",{default:".stx/dist/story"}).example("stx story:build").example("stx story:build --outDir ./docs/components").action(async(x)=>{try{let{buildCommand:b}=await import("./chunk-kw9cgyfc.js");await b({outDir:x.outDir})}catch(b){console.error(`\u274C Story build error: ${b.message}`),w.exit(1)}}),E.command("story:test","Run visual regression tests").option("-u, --update","Update snapshots",{default:!1}).option("-f, --filter <name>","Filter components by name").example("stx story:test").example("stx story:test --update").example("stx story:test --filter Button").action(async(x)=>{try{let{createContext:b}=await import("./chunk-59906baj.js"),{runVisualTests:z,updateSnapshots:k,formatTestResults:j}=await import("./chunk-nm60wh6r.js"),W=await b({mode:"build"});if(x.update){let H=await k(W,{filter:x.filter?[x.filter]:void 0});console.log(`Updated ${H} snapshots`)}else{let H=await z(W,{filter:x.filter?[x.filter]:void 0});if(console.log(j(H)),H.failed>0)w.exit(1)}}catch(b){console.error(`\u274C Story test error: ${b.message}`),w.exit(1)}}),E.command("compile <input>","Compile stx template to native Craft component code").option("--target <platform>","Target platform: macos, windows, linux, ios, android, universal",{default:"universal"}).option("--format <format>","Output format: zig, typescript, json",{default:"zig"}).option("--output <path>","Output directory for compiled files",{default:"./dist"}).option("--optimize","Enable optimizations",{default:!0}).option("--tree-shake","Enable tree shaking",{default:!0}).option("--hot-reload","Enable hot reload support",{default:!1}).option("--sourcemaps","Generate source maps",{default:!1}).option("--bundle","Bundle all dependencies",{default:!0}).option("--minify","Minify output",{default:!1}).option("--verbose","Show detailed output",{default:!1}).example("stx compile app.stx").example("stx compile app.stx --target macos --format zig").example("stx compile app.stx --format typescript --output ./native").example("stx compile app.stx --optimize --tree-shake --minify").action(async(x,b)=>{try{let{compileToNative:z}=await import("./chunk-e7np0h2q.js"),k=$.resolve(x);if(!L.existsSync(k))console.error(`\u274C Input file not found: ${x}`),w.exit(1);let j=["macos","windows","linux","ios","android","universal"];if(!j.includes(b.target))console.error(`\u274C Invalid target: ${b.target}`),console.error(`\uD83D\uDCA1 Available targets: ${j.join(", ")}`),w.exit(1);let W=["zig","typescript","json"];if(!W.includes(b.format))console.error(`\u274C Invalid format: ${b.format}`),console.error(`\uD83D\uDCA1 Available formats: ${W.join(", ")}`),w.exit(1);console.log(`
|
|
168
168
|
\uD83D\uDD27 Compiling stx template to native code...`),console.log(` Input: ${x}`),console.log(` Target: ${b.target}`),console.log(` Format: ${b.format}`),console.log(` Output: ${b.output}
|
|
169
169
|
`);let H=L.readFileSync(k,"utf-8"),U=await z(H,{target:b.target,format:b.format,optimize:b.optimize,treeShake:b.treeShake,hotReload:b.hotReload,debug:b.verbose,sourceMaps:b.sourcemaps,bundle:b.bundle,minify:b.minify}),Y=$.resolve(b.output);if(!L.existsSync(Y))L.mkdirSync(Y,{recursive:!0});let Q=$.basename(x,$.extname(x)),X=b.format==="typescript"?"ts":b.format==="json"?"json":"zig",_=$.join(Y,`${Q}.${X}`);L.writeFileSync(_,U.code);let q=$.join(Y,`${Q}.manifest.json`);if(L.writeFileSync(q,JSON.stringify(U.manifest,null,2)),b.sourcemaps&&U.sourceMaps){let O=$.join(Y,`${Q}.${X}.map`);L.writeFileSync(O,U.sourceMaps)}if(b.target==="universal"&&U.platformCode.size>0)for(let[O,M]of U.platformCode){let G=$.join(Y,`${Q}.${O}.${X}`);L.writeFileSync(G,M)}if(console.log("\u2705 Compilation successful!"),console.log(` Output: ${_}`),console.log(` Manifest: ${q}`),console.log(`
|
|
170
170
|
\uD83D\uDCCA Statistics:`),console.log(` Compilation time: ${U.stats.compilationTime.toFixed(2)}ms`),console.log(` Total components: ${U.stats.totalComponents}`),console.log(` Native components: ${U.stats.nativeComponents}`),console.log(` Web fallback components: ${U.stats.webComponents}`),console.log(` Bundle size: ${(U.stats.bundleSize/1024).toFixed(2)}KB`),U.stats.warnings.length>0){console.log(`
|
package/dist/craft-entry.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Xj as Nj,Yj as wj,Zj as Aj}from"./chunk-f5cw54q3.js";import{$j as Uj,ak as Xj,bk as Yj,ck as Zj,dk as _j,ek as $j,fk as qj,gk as Fj,hk as Oj,ik as Vj,jk as Ij,kk as Qj,lk as Wj,mk as Kj}from"./chunk-
|
|
2
|
+
import{Xj as Nj,Yj as wj,Zj as Aj}from"./chunk-f5cw54q3.js";import{$j as Uj,ak as Xj,bk as Yj,ck as Zj,dk as _j,ek as $j,fk as qj,gk as Fj,hk as Oj,ik as Vj,jk as Ij,kk as Qj,lk as Wj,mk as Kj}from"./chunk-84bhnp6p.js";import"./chunk-3nx7z086.js";import"./chunk-msq8xvhp.js";import"./chunk-8y1ve8tc.js";import"./chunk-njx93b4z.js";import"./chunk-2wb3pgp4.js";import"./chunk-89mqnh67.js";import"./chunk-xvh1k1a4.js";import"./chunk-9e20mgwc.js";import"./chunk-y2f41kaq.js";import"./chunk-xj6bcwqa.js";import"./chunk-gtqbvt3a.js";import"./chunk-vhta1be7.js";import"./chunk-tc4pj651.js";import"./chunk-san1eq0r.js";import"./chunk-avwywzsj.js";import"./chunk-wj21f1e0.js";import"./chunk-d86q27j8.js";import"./chunk-72x62kch.js";import"./chunk-swvm1wgn.js";import"./chunk-9nrgjtah.js";import"./chunk-ejqpq0wc.js";var I=new Map,Q=new Map;function L(j,B){let G=B?.id||g(j),J=h(j),U=I.get(G);if(U&&U.hash===J)return U;let X=S(j),Z=y(j),Y=T(j),_=v(X),{staticParts:q,dynamicParts:$}=C(X),F=u(j),O={id:G,hash:J,tree:X,scripts:Z,styles:Y,staticParts:q,dynamicParts:$,dependencies:F,metadata:_};return I.set(G,O),O}async function r(j,B={},G={}){let J=performance.now();if(G.cache){let Y=`${j.id}:${JSON.stringify(B)}`,_=Q.get(Y);if(_&&Date.now()-_.timestamp<(G.cacheTTL||60000))return{html:_.html,styles:j.styles.join(`
|
|
3
3
|
`),scripts:j.scripts.join(`
|
|
4
4
|
`),metadata:{renderTime:0,cacheHit:!0,totalSize:_.html.length,componentCount:j.metadata.componentCount}}}let U;if(G.streaming)U=await H(j.tree,B);else U=W(j.tree,B);let X;if(G.hydrate){let Y=k(U,j,B);U=Y.html,X=Y.data}if(G.minify)U=x(U);if(G.cache){let Y=`${j.id}:${JSON.stringify(B)}`;Q.set(Y,{html:U,timestamp:Date.now()})}let Z=performance.now()-J;return{html:U,styles:j.styles.join(`
|
|
5
5
|
`),scripts:j.scripts.join(`
|
package/dist/craft.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Xj as Nj,Yj as wj,Zj as Aj}from"./chunk-f5cw54q3.js";import{$j as Uj,ak as Xj,bk as Yj,ck as Zj,dk as _j,ek as $j,fk as qj,gk as Fj,hk as Oj,ik as Vj,jk as Ij,kk as Qj,lk as Wj,mk as Kj}from"./chunk-
|
|
2
|
+
import{Xj as Nj,Yj as wj,Zj as Aj}from"./chunk-f5cw54q3.js";import{$j as Uj,ak as Xj,bk as Yj,ck as Zj,dk as _j,ek as $j,fk as qj,gk as Fj,hk as Oj,ik as Vj,jk as Ij,kk as Qj,lk as Wj,mk as Kj}from"./chunk-84bhnp6p.js";import"./chunk-3nx7z086.js";import"./chunk-msq8xvhp.js";import"./chunk-8y1ve8tc.js";import"./chunk-njx93b4z.js";import"./chunk-2wb3pgp4.js";import"./chunk-89mqnh67.js";import"./chunk-xvh1k1a4.js";import"./chunk-9e20mgwc.js";import"./chunk-y2f41kaq.js";import"./chunk-xj6bcwqa.js";import"./chunk-gtqbvt3a.js";import"./chunk-vhta1be7.js";import"./chunk-tc4pj651.js";import"./chunk-san1eq0r.js";import"./chunk-avwywzsj.js";import"./chunk-wj21f1e0.js";import"./chunk-d86q27j8.js";import"./chunk-72x62kch.js";import"./chunk-swvm1wgn.js";import"./chunk-9nrgjtah.js";import"./chunk-ejqpq0wc.js";var I=new Map,Q=new Map;function L(j,B){let G=B?.id||g(j),J=h(j),U=I.get(G);if(U&&U.hash===J)return U;let X=S(j),Z=y(j),Y=T(j),_=v(X),{staticParts:q,dynamicParts:$}=C(X),F=u(j),O={id:G,hash:J,tree:X,scripts:Z,styles:Y,staticParts:q,dynamicParts:$,dependencies:F,metadata:_};return I.set(G,O),O}async function r(j,B={},G={}){let J=performance.now();if(G.cache){let Y=`${j.id}:${JSON.stringify(B)}`,_=Q.get(Y);if(_&&Date.now()-_.timestamp<(G.cacheTTL||60000))return{html:_.html,styles:j.styles.join(`
|
|
3
3
|
`),scripts:j.scripts.join(`
|
|
4
4
|
`),metadata:{renderTime:0,cacheHit:!0,totalSize:_.html.length,componentCount:j.metadata.componentCount}}}let U;if(G.streaming)U=await H(j.tree,B);else U=W(j.tree,B);let X;if(G.hydrate){let Y=k(U,j,B);U=Y.html,X=Y.data}if(G.minify)U=x(U);if(G.cache){let Y=`${j.id}:${JSON.stringify(B)}`;Q.set(Y,{html:U,timestamp:Date.now()})}let Z=performance.now()-J;return{html:U,styles:j.styles.join(`
|
|
5
5
|
`),scripts:j.scripts.join(`
|