@stacksjs/stx 0.2.241 → 0.2.243

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.
Files changed (57) hide show
  1. package/dist/browser-core-imports.d.ts +12 -0
  2. package/dist/browser-core-imports.js +27 -0
  3. package/dist/{chunk-fethffrc.js → chunk-19erfat4.js} +1 -1
  4. package/dist/{chunk-qmww6n4b.js → chunk-1aekxpev.js} +1 -1
  5. package/dist/chunk-380tnd2y.js +22 -0
  6. package/dist/{chunk-d6aa7ghq.js → chunk-3k3vrnk0.js} +1 -1
  7. package/dist/{chunk-etx5vb1n.js → chunk-4heeeaef.js} +1 -1
  8. package/dist/{chunk-sxx50f3k.js → chunk-58x4e8m5.js} +1 -1
  9. package/dist/{chunk-1fj21pgq.js → chunk-5dh58a34.js} +1 -1
  10. package/dist/{chunk-4x8sm71j.js → chunk-5e7zmgjk.js} +1 -1
  11. package/dist/{chunk-yawygkph.js → chunk-6mtkpbz8.js} +1 -1
  12. package/dist/{chunk-b220zqbz.js → chunk-7q6abr68.js} +1 -1
  13. package/dist/{chunk-0ks60fk1.js → chunk-9pkxerqa.js} +1 -1
  14. package/dist/{chunk-v2vv4etv.js → chunk-a0sagjwy.js} +152 -152
  15. package/dist/{chunk-6fdg7043.js → chunk-at4yzmym.js} +1 -1
  16. package/dist/{chunk-tx9zv1xv.js → chunk-atbpj3dh.js} +1 -1
  17. package/dist/{chunk-ae85dv6n.js → chunk-azrhea8j.js} +1 -1
  18. package/dist/{chunk-2fj2ah1z.js → chunk-b7tw429a.js} +1 -1
  19. package/dist/{chunk-t2fwnrw9.js → chunk-bc250je5.js} +1 -1
  20. package/dist/{chunk-4t43nqtn.js → chunk-bjb61amk.js} +1 -1
  21. package/dist/{chunk-3sq662pg.js → chunk-c2xhf8re.js} +1 -1
  22. package/dist/{chunk-m0xp6xjr.js → chunk-dq48z0r7.js} +1 -1
  23. package/dist/{chunk-x0nymj9r.js → chunk-eavhvfzr.js} +1 -1
  24. package/dist/{chunk-wjebx46w.js → chunk-eb7875fm.js} +1 -1
  25. package/dist/{chunk-fg2h6r32.js → chunk-fm6z2zr9.js} +1 -1
  26. package/dist/{chunk-ryjpew5v.js → chunk-fpvksjwh.js} +1 -1
  27. package/dist/{chunk-phj11c6x.js → chunk-gept2ha2.js} +1 -1
  28. package/dist/{chunk-37nm0f2v.js → chunk-ggghr7tk.js} +2 -2
  29. package/dist/{chunk-8dsf2scw.js → chunk-h3k1gzwg.js} +1 -1
  30. package/dist/{chunk-gaj725dz.js → chunk-jvs7azc8.js} +1 -1
  31. package/dist/{chunk-szchgak8.js → chunk-k8y3m0kn.js} +1 -1
  32. package/dist/{chunk-r4wxxggc.js → chunk-kd3hbecq.js} +1 -1
  33. package/dist/{chunk-15rgmdtq.js → chunk-kvqkkwnd.js} +1 -1
  34. package/dist/chunk-p5mr2984.js +19 -0
  35. package/dist/{chunk-z8t5cs8f.js → chunk-q9bbt522.js} +1 -1
  36. package/dist/{chunk-2vjheprp.js → chunk-qqt7b18y.js} +1 -1
  37. package/dist/{chunk-vg03m8ah.js → chunk-rnr9ffy1.js} +8 -8
  38. package/dist/{chunk-6h4f19sb.js → chunk-t2sbh2xx.js} +1 -1
  39. package/dist/{chunk-vd3w4q9e.js → chunk-v5fmahvj.js} +1 -1
  40. package/dist/{chunk-7mqbw6qv.js → chunk-vgmc978e.js} +1 -1
  41. package/dist/{chunk-0cznrnwk.js → chunk-we0kk7cq.js} +2 -2
  42. package/dist/{chunk-wz1gwj81.js → chunk-wzyfsdr7.js} +1 -1
  43. package/dist/{chunk-vgnjrgnk.js → chunk-y8p9jhb6.js} +1 -1
  44. package/dist/{chunk-9h74bkfh.js → chunk-ysq64g2a.js} +1 -1
  45. package/dist/{chunk-5w362c8x.js → chunk-z5ecweqg.js} +1 -1
  46. package/dist/cli.js +7 -7
  47. package/dist/client-script.d.ts +1 -1
  48. package/dist/client-script.js +3 -27
  49. package/dist/craft-entry.js +1 -1
  50. package/dist/craft.js +1 -1
  51. package/dist/pwa.js +1 -1
  52. package/dist/ssg.js +2 -2
  53. package/dist/stx-virtual-ts.js +12 -8
  54. package/dist/typecheck.js +6 -0
  55. package/package.json +5 -5
  56. package/dist/chunk-mvxgpycn.js +0 -18
  57. package/dist/chunk-r0dajh6g.js +0 -22
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Ui as a,Vi as b}from"./chunk-gaj725dz.js";import"./chunk-ht51fz7w.js";import"./chunk-v2vv4etv.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-b220zqbz.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{a as getStoreScript,b as clearStoreCache};
2
+ import{Ui as a,Vi as b}from"./chunk-jvs7azc8.js";import"./chunk-ht51fz7w.js";import"./chunk-a0sagjwy.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-7q6abr68.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{a as getStoreScript,b as clearStoreCache};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Nj as a,Oj as b,Pj as c,Qj as d,Rj as e,Sj as f,Tj as g,Uj as h,Vj as i,Wj as j,Xj as k}from"./chunk-m0xp6xjr.js";import"./chunk-v2vv4etv.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-b220zqbz.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{a as templateCache,b as readFileCached,d as invalidateFileCacheByDir,c as invalidateFileCache,k as hashFilePath,f as getCachedSignalsRuntime,g as getCachedRouterScript,h as clearDevCaches,i as checkCache,j as cacheTemplate,e as __setSignalsGeneratorsForTest};
2
+ import{Nj as a,Oj as b,Pj as c,Qj as d,Rj as e,Sj as f,Tj as g,Uj as h,Vj as i,Wj as j,Xj as k}from"./chunk-dq48z0r7.js";import"./chunk-a0sagjwy.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-7q6abr68.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{a as templateCache,b as readFileCached,d as invalidateFileCacheByDir,c as invalidateFileCache,k as hashFilePath,f as getCachedSignalsRuntime,g as getCachedRouterScript,h as clearDevCaches,i as checkCache,j as cacheTemplate,e as __setSignalsGeneratorsForTest};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Ns as a,Os as b,Ps as c,Qs as d,Rs as e,Ss as f,Ts as g,Us as h,Vs as i,Ws as j,Xs as k,Ys as l,Zs as m}from"./chunk-b220zqbz.js";import"./chunk-1px4xey5.js";import"./chunk-qs0fp63n.js";export{f as resolveUserCrosswindConfig,c as resetCssCache,d as resetCrosswindCache,i as rebuildCrosswindCSS,e as loadCrosswindConfig,b as loadCrosswind,m as injectCrosswindCSS,a as getCrosswindServeAsset,j as getCachedCSS,l as generateCrosswindCSS,g as fingerprintConfig,k as extractClassNames,h as buildCrosswindCSS};
2
+ import{Ns as a,Os as b,Ps as c,Qs as d,Rs as e,Ss as f,Ts as g,Us as h,Vs as i,Ws as j,Xs as k,Ys as l,Zs as m}from"./chunk-7q6abr68.js";import"./chunk-1px4xey5.js";import"./chunk-qs0fp63n.js";export{f as resolveUserCrosswindConfig,c as resetCssCache,d as resetCrosswindCache,i as rebuildCrosswindCSS,e as loadCrosswindConfig,b as loadCrosswind,m as injectCrosswindCSS,a as getCrosswindServeAsset,j as getCachedCSS,l as generateCrosswindCSS,g as fingerprintConfig,k as extractClassNames,h as buildCrosswindCSS};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{jm as E,km as M,xq as T}from"./chunk-v2vv4etv.js";import{Bu as d,Du as c,Eu as i}from"./chunk-z2gmz9ew.js";import{Lu as m,Ou as p}from"./chunk-qs0fp63n.js";var y=/\b(?:state|derived|effect|batch|ref|reactive|computed|watch|watchEffect)\s*(?:<[^>]*>)?\s*\(/;function f(z,Q,F){let J={fullTag:F,content:Q,attrs:z};if(/\bserver\b/.test(z))return{...J,type:"server"};if(/\bdata-stx-scoped\b/.test(z))return{...J,type:"client"};if(y.test(Q))return{...J,type:"signals"};if(/\bclient\b/.test(z)||/\btype\s*=\s*["']module["']/.test(z)||/\bsrc\s*=/.test(z))return{...J,type:"client"};return{...J,type:"server"}}var g=/^<script\b([^>]*)>([\s\S]*)<\/script\s*>$/i;function P(z){let Q=[],F=[],J=[],$=0;while($<z.length){let Y=z.indexOf("<",$);if(Y===-1)break;let K=M(z,Y);if(K>Y){$=K;continue}let Z=E(z,Y);if(Z>Y){let B=z.slice(Y,Z),U=g.exec(B);if(U){let X=f(U[1],U[2],B);switch(X.type){case"signals":Q.push(X);break;case"client":F.push(X);break;case"server":J.push(X);break}}$=Z;continue}$=Y+(z.startsWith("<!--",Y)?4:1)}return{signals:Q,client:F,server:J}}var s="X-STX-Router",a="private, no-store";function R(z){return z.headers.get("X-STX-Router")==="true"}function u(z,Q){if(!z)return Q;return z.split(",").some((J)=>J.trim().toLowerCase()===Q.toLowerCase())?z:`${z}, ${Q}`}function t(z){return{Vary:u(z,"X-STX-Router")}}import L from"path";d();var h="stx-page-head:",o=/<!--stx-page-head:([A-Za-z0-9+/=]+)-->\n?/,I=null;function r(){if(I!==null)return I;try{let{getRouterScript:z}=(i(),m(c));I=`<script>${z()}</script>`}catch{I=""}return I}async function Yz(z,Q){if(Q===!1)return null;if(Q&&typeof Q==="string"){let J=L.resolve(z,Q);if(await Bun.file(J).exists())return J;return null}let F=L.join(z,"app.stx");if(await Bun.file(F).exists())return F;return null}async function Zz(z,Q){try{let F=await Bun.file(z).text(),J=F,$=F.match(/<template\b[^>]*>([\s\S]*?)<\/template>/i);if($)J=$[1].trim();let Y=P(F),K=[...Y.client.map((j)=>j.fullTag),...Y.signals.map((j)=>j.fullTag)],Z=[],B=/<style\b[^>]*>([\s\S]*?)<\/style>/gi,U;while((U=B.exec(F))!==null)Z.push(U[0]);let X=J;for(let j of Y.server)X=X.replace(j.fullTag,"");for(let j of Y.client)X=X.replace(j.fullTag,"");X=X.replace(/<style\b[^>]*>[\s\S]*?<\/style>/gi,"");let W="<!--__STX_PAGE_SLOT__-->";if(X=X.replace(/<slot\s*\/>/gi,W).replace(/<slot\s*>\s*<\/slot>/gi,W),!X.includes(W))return console.warn(`[stx] Shell ${z} has no <slot /> \u2014 pages won't be injected`),null;let{processDirectives:q,extractVariables:k,defaultConfig:v,loadStxConfig:H}=await import("./chunk-fg2h6r32.js"),w=await H(),A={__filename:z,__dirname:L.dirname(z)};for(let j of K){let N=j.match(/<script\b[^>]*>([\s\S]*?)<\/script>/i);if(N&&!j.includes("client")&&!j.includes('type="module"'))await k(N[1],A,z)}let V=await q(X,A,z,{...v,...w,...Q},new Set),G=V.indexOf(W);if(G===-1)return console.warn("[stx] Shell slot placeholder lost during processing"),null;return{beforeSlot:V.substring(0,G),afterSlot:V.substring(G+W.length),filePath:z,shellScripts:K,shellStyles:Z}}catch(F){return console.error(`[stx] Error processing shell ${z}:`,F),null}}function $z(z,Q,F){let J,$="",Y=Q.match(o);if(Y){Q=Q.replace(Y[0],"");try{let X=Buffer.from(Y[1],"base64").toString("utf8"),W=X.match(/<title[^>]*>([\s\S]*?)<\/title>/i);if(W)J=W[1].trim();$=X.replace(/<title[^>]*>[\s\S]*?<\/title>/i,"").trim()}catch{}}let K=F||J||"stx App",Z=r(),B="<script>window.__stxRouterConfig={container:'[data-stx-content]'};</script>";return`<!DOCTYPE html>
2
+ import{jm as E,km as M,xq as T}from"./chunk-a0sagjwy.js";import{Bu as d,Du as c,Eu as i}from"./chunk-z2gmz9ew.js";import{Lu as m,Ou as p}from"./chunk-qs0fp63n.js";var y=/\b(?:state|derived|effect|batch|ref|reactive|computed|watch|watchEffect)\s*(?:<[^>]*>)?\s*\(/;function f(z,Q,F){let J={fullTag:F,content:Q,attrs:z};if(/\bserver\b/.test(z))return{...J,type:"server"};if(/\bdata-stx-scoped\b/.test(z))return{...J,type:"client"};if(y.test(Q))return{...J,type:"signals"};if(/\bclient\b/.test(z)||/\btype\s*=\s*["']module["']/.test(z)||/\bsrc\s*=/.test(z))return{...J,type:"client"};return{...J,type:"server"}}var g=/^<script\b([^>]*)>([\s\S]*)<\/script\s*>$/i;function P(z){let Q=[],F=[],J=[],$=0;while($<z.length){let Y=z.indexOf("<",$);if(Y===-1)break;let K=M(z,Y);if(K>Y){$=K;continue}let Z=E(z,Y);if(Z>Y){let B=z.slice(Y,Z),U=g.exec(B);if(U){let X=f(U[1],U[2],B);switch(X.type){case"signals":Q.push(X);break;case"client":F.push(X);break;case"server":J.push(X);break}}$=Z;continue}$=Y+(z.startsWith("<!--",Y)?4:1)}return{signals:Q,client:F,server:J}}var s="X-STX-Router",a="private, no-store";function R(z){return z.headers.get("X-STX-Router")==="true"}function u(z,Q){if(!z)return Q;return z.split(",").some((J)=>J.trim().toLowerCase()===Q.toLowerCase())?z:`${z}, ${Q}`}function t(z){return{Vary:u(z,"X-STX-Router")}}import L from"path";d();var h="stx-page-head:",o=/<!--stx-page-head:([A-Za-z0-9+/=]+)-->\n?/,I=null;function r(){if(I!==null)return I;try{let{getRouterScript:z}=(i(),m(c));I=`<script>${z()}</script>`}catch{I=""}return I}async function Yz(z,Q){if(Q===!1)return null;if(Q&&typeof Q==="string"){let J=L.resolve(z,Q);if(await Bun.file(J).exists())return J;return null}let F=L.join(z,"app.stx");if(await Bun.file(F).exists())return F;return null}async function Zz(z,Q){try{let F=await Bun.file(z).text(),J=F,$=F.match(/<template\b[^>]*>([\s\S]*?)<\/template>/i);if($)J=$[1].trim();let Y=P(F),K=[...Y.client.map((j)=>j.fullTag),...Y.signals.map((j)=>j.fullTag)],Z=[],B=/<style\b[^>]*>([\s\S]*?)<\/style>/gi,U;while((U=B.exec(F))!==null)Z.push(U[0]);let X=J;for(let j of Y.server)X=X.replace(j.fullTag,"");for(let j of Y.client)X=X.replace(j.fullTag,"");X=X.replace(/<style\b[^>]*>[\s\S]*?<\/style>/gi,"");let W="<!--__STX_PAGE_SLOT__-->";if(X=X.replace(/<slot\s*\/>/gi,W).replace(/<slot\s*>\s*<\/slot>/gi,W),!X.includes(W))return console.warn(`[stx] Shell ${z} has no <slot /> \u2014 pages won't be injected`),null;let{processDirectives:q,extractVariables:k,defaultConfig:v,loadStxConfig:H}=await import("./chunk-fm6z2zr9.js"),w=await H(),A={__filename:z,__dirname:L.dirname(z)};for(let j of K){let N=j.match(/<script\b[^>]*>([\s\S]*?)<\/script>/i);if(N&&!j.includes("client")&&!j.includes('type="module"'))await k(N[1],A,z)}let V=await q(X,A,z,{...v,...w,...Q},new Set),G=V.indexOf(W);if(G===-1)return console.warn("[stx] Shell slot placeholder lost during processing"),null;return{beforeSlot:V.substring(0,G),afterSlot:V.substring(G+W.length),filePath:z,shellScripts:K,shellStyles:Z}}catch(F){return console.error(`[stx] Error processing shell ${z}:`,F),null}}function $z(z,Q,F){let J,$="",Y=Q.match(o);if(Y){Q=Q.replace(Y[0],"");try{let X=Buffer.from(Y[1],"base64").toString("utf8"),W=X.match(/<title[^>]*>([\s\S]*?)<\/title>/i);if(W)J=W[1].trim();$=X.replace(/<title[^>]*>[\s\S]*?<\/title>/i,"").trim()}catch{}}let K=F||J||"stx App",Z=r(),B="<script>window.__stxRouterConfig={container:'[data-stx-content]'};</script>";return`<!DOCTYPE html>
3
3
  <html lang="en">
4
4
  <head>
5
5
  <meta charset="UTF-8">
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{lm as a,mm as b,nm as c,om as d,pm as e,qm as f,rm as g,sm as h,tm as i,um as j,vm as k,wm as l,xm as m,ym as n,zm as o}from"./chunk-v2vv4etv.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-b220zqbz.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{h as usesSignalsInScript,o as unescapeHtml,c as registerFilters,b as registerFilter,l as processExpressions,k as interpolateScriptsInTemplate,i as interpolateScriptExpressions,j as interpolateScriptAttributes,d as getAllFilters,n as evaluateExpression,g as escapeHtmlValue,f as escapeHtml,a as defaultFilters,e as clearCustomFilters,m as applyFilters};
2
+ import{lm as a,mm as b,nm as c,om as d,pm as e,qm as f,rm as g,sm as h,tm as i,um as j,vm as k,wm as l,xm as m,ym as n,zm as o}from"./chunk-a0sagjwy.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-7q6abr68.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{h as usesSignalsInScript,o as unescapeHtml,c as registerFilters,b as registerFilter,l as processExpressions,k as interpolateScriptsInTemplate,i as interpolateScriptExpressions,j as interpolateScriptAttributes,d as getAllFilters,n as evaluateExpression,g as escapeHtmlValue,f as escapeHtml,a as defaultFilters,e as clearCustomFilters,m as applyFilters};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Dh as a,Eh as b,Fh as c,Gh as d,Hh as e,Ih as f}from"./chunk-7mqbw6qv.js";import"./chunk-v2vv4etv.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-b220zqbz.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{c as renderSlot,d as processSlots,a as parseSlots,b as parseSlotElement,e as extractSlotContent,f as applySlots};
2
+ import{Dh as a,Eh as b,Fh as c,Gh as d,Hh as e,Ih as f}from"./chunk-vgmc978e.js";import"./chunk-a0sagjwy.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-7q6abr68.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{c as renderSlot,d as processSlots,a as parseSlots,b as parseSlotElement,e as extractSlotContent,f as applySlots};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{bs as E}from"./chunk-v2vv4etv.js";import{Ou as D}from"./chunk-qs0fp63n.js";import I from"path";async function M(q={}){let G=performance.now(),J=q.root||process.cwd(),j=await E(),y=j.ssr?"ssr":"ssg";console.log(`[stx build] Mode: ${y.toUpperCase()}${j.ssr?" (ssr: true in stx.config.ts)":" (default \u2014 ssr is false)"}`);let A,B;if(y==="ssg"){let{generateStaticSite:z}=await import("./ssg.js");A=await z({pagesDir:I.join(j.root||".",j.pagesDir||j.build?.pagesDir||"pages"),publicDir:j.publicDir||j.build?.publicDir||"public",outputDir:j.build?.outputDir||"dist",generate404:j.build?.generate404??!0,minify:j.build?.minify??!0,cleanOutput:j.build?.cleanOutput??!0,...q.ssg})}else{let{buildForProduction:z}=await import("./chunk-yawygkph.js");B=await z({outputDir:".output",debug:q.debug,...q.ssr})}let H=Math.round(performance.now()-G);return{mode:y,ssg:A,ssr:B,duration:H}}
2
+ import{bs as E}from"./chunk-a0sagjwy.js";import{Ou as D}from"./chunk-qs0fp63n.js";import I from"path";async function M(q={}){let G=performance.now(),J=q.root||process.cwd(),j=await E(),y=j.ssr?"ssr":"ssg";console.log(`[stx build] Mode: ${y.toUpperCase()}${j.ssr?" (ssr: true in stx.config.ts)":" (default \u2014 ssr is false)"}`);let A,B;if(y==="ssg"){let{generateStaticSite:z}=await import("./ssg.js");A=await z({pagesDir:I.join(j.root||".",j.pagesDir||j.build?.pagesDir||"pages"),publicDir:j.publicDir||j.build?.publicDir||"public",outputDir:j.build?.outputDir||"dist",generate404:j.build?.generate404??!0,minify:j.build?.minify??!0,cleanOutput:j.build?.cleanOutput??!0,...q.ssg})}else{let{buildForProduction:z}=await import("./chunk-6mtkpbz8.js");B=await z({outputDir:".output",debug:q.debug,...q.ssr})}let H=Math.round(performance.now()-G);return{mode:y,ssg:A,ssr:B,duration:H}}
3
3
  export{M as jg};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Tq as q,Xq as y}from"./chunk-v2vv4etv.js";import{Ou as L}from"./chunk-qs0fp63n.js";import M from"fs";import X from"path";var T=new Map,Q=new Map;async function A(j){let z;for(let K=0;K<3;K++)try{let V=(await M.promises.stat(j)).mtime.getTime(),J=Q.get(j);if(J&&J.mtime===V)return J.content;let W=await Bun.file(j).text(),U=(await M.promises.stat(j)).mtime.getTime();if(U!==V)continue;return Q.set(j,{content:W,mtime:U}),W}catch(I){z=I;break}throw Q.delete(j),Error(`File not found: ${j}${z?` (${z.message})`:""}`)}function H(j){Q.delete(j)}function v(j){for(let B of Q.keys())if(B.startsWith(j))Q.delete(B)}var Z=null,b=null,N=null;function E(j){N=j}async function F(j=!1){let B=N??await import("./chunk-20q757q9.js");if(j)return B.generateSignalsRuntimeDev();if(Z===null)Z=B.generateSignalsRuntime();return Z}var $=null;async function R(){if($===null){let{getRouterScript:j}=await import("./chunk-0kq46rxg.js");$=j()}return $}function S(){Q.clear(),y(),Z=null,b=null,$=null}function k(j){let B={debug:j.debug===!0,middleware:(j.middleware??[]).map((z)=>({name:z.name,timing:z.timing,handler:String(z.handler)})),customDirectives:(j.customDirectives??[]).map((z)=>({name:z.name,hasEndTag:z.hasEndTag===!0,handler:String(z.handler)}))};return new Bun.CryptoHasher("sha1").update(JSON.stringify(B)).digest("hex")}async function _(j,B){try{if(!B.cachePath)return null;let z=X.resolve(B.cachePath),K=X.join(z,`${D(j)}.html`),I=X.join(z,`${D(j)}.meta.json`);if(!await q(K)||!await q(I))return null;let V=await Bun.file(I).text(),J=JSON.parse(V);if(J.cacheVersion!==B.cacheVersion)return null;if(J.optionsSignature!==k(B))return null;if((await M.promises.stat(j)).mtime.getTime()>J.mtime)return null;for(let Y of J.dependencies)if(await q(Y)){if((await M.promises.stat(Y)).mtime.getTime()>J.mtime)return null}else return null;return await Bun.file(K).text()}catch(z){return console.warn(`Cache error for ${j}:`,z),null}}async function g(j,B,z,K){try{if(!K.cachePath)return;let I=X.resolve(K.cachePath);await M.promises.mkdir(I,{recursive:!0});let V=X.join(I,`${D(j)}.html`),J=X.join(I,`${D(j)}.meta.json`),W=await M.promises.stat(j);await Bun.write(V,B);let Y={sourcePath:j,mtime:W.mtime.getTime(),dependencies:Array.from(z),cacheVersion:K.cacheVersion,optionsSignature:k(K),generatedAt:Date.now()};await Bun.write(J,JSON.stringify(Y,null,2)),T.set(j,{output:B,mtime:W.mtime.getTime(),dependencies:z})}catch(I){console.warn(`Failed to cache template ${j}:`,I)}}var G=16;function D(j){return new Bun.CryptoHasher("sha1").update(j).digest("hex").substring(0,G)}
2
+ import{Tq as q,Xq as y}from"./chunk-a0sagjwy.js";import{Ou as L}from"./chunk-qs0fp63n.js";import M from"fs";import X from"path";var T=new Map,Q=new Map;async function A(j){let z;for(let K=0;K<3;K++)try{let V=(await M.promises.stat(j)).mtime.getTime(),J=Q.get(j);if(J&&J.mtime===V)return J.content;let W=await Bun.file(j).text(),U=(await M.promises.stat(j)).mtime.getTime();if(U!==V)continue;return Q.set(j,{content:W,mtime:U}),W}catch(I){z=I;break}throw Q.delete(j),Error(`File not found: ${j}${z?` (${z.message})`:""}`)}function H(j){Q.delete(j)}function v(j){for(let B of Q.keys())if(B.startsWith(j))Q.delete(B)}var Z=null,b=null,N=null;function E(j){N=j}async function F(j=!1){let B=N??await import("./chunk-20q757q9.js");if(j)return B.generateSignalsRuntimeDev();if(Z===null)Z=B.generateSignalsRuntime();return Z}var $=null;async function R(){if($===null){let{getRouterScript:j}=await import("./chunk-0kq46rxg.js");$=j()}return $}function S(){Q.clear(),y(),Z=null,b=null,$=null}function k(j){let B={debug:j.debug===!0,middleware:(j.middleware??[]).map((z)=>({name:z.name,timing:z.timing,handler:String(z.handler)})),customDirectives:(j.customDirectives??[]).map((z)=>({name:z.name,hasEndTag:z.hasEndTag===!0,handler:String(z.handler)}))};return new Bun.CryptoHasher("sha1").update(JSON.stringify(B)).digest("hex")}async function _(j,B){try{if(!B.cachePath)return null;let z=X.resolve(B.cachePath),K=X.join(z,`${D(j)}.html`),I=X.join(z,`${D(j)}.meta.json`);if(!await q(K)||!await q(I))return null;let V=await Bun.file(I).text(),J=JSON.parse(V);if(J.cacheVersion!==B.cacheVersion)return null;if(J.optionsSignature!==k(B))return null;if((await M.promises.stat(j)).mtime.getTime()>J.mtime)return null;for(let Y of J.dependencies)if(await q(Y)){if((await M.promises.stat(Y)).mtime.getTime()>J.mtime)return null}else return null;return await Bun.file(K).text()}catch(z){return console.warn(`Cache error for ${j}:`,z),null}}async function g(j,B,z,K){try{if(!K.cachePath)return;let I=X.resolve(K.cachePath);await M.promises.mkdir(I,{recursive:!0});let V=X.join(I,`${D(j)}.html`),J=X.join(I,`${D(j)}.meta.json`),W=await M.promises.stat(j);await Bun.write(V,B);let Y={sourcePath:j,mtime:W.mtime.getTime(),dependencies:Array.from(z),cacheVersion:K.cacheVersion,optionsSignature:k(K),generatedAt:Date.now()};await Bun.write(J,JSON.stringify(Y,null,2)),T.set(j,{output:B,mtime:W.mtime.getTime(),dependencies:z})}catch(I){console.warn(`Failed to cache template ${j}:`,I)}}var G=16;function D(j){return new Bun.CryptoHasher("sha1").update(j).digest("hex").substring(0,G)}
3
3
  export{T as Nj,A as Oj,H as Pj,v as Qj,E as Rj,F as Sj,R as Tj,S as Uj,_ as Vj,g as Wj,D as Xj};
@@ -1,4 +1,4 @@
1
1
  // @bun
2
- import{Qf as p}from"./chunk-r0dajh6g.js";import{Gg as a,Ig as JF,Jg as ZF,Kg as qF}from"./chunk-2fj2ah1z.js";import{rj as C,sj as D}from"./chunk-g553n48p.js";import{Dk as QF,Ek as XF,Fk as YF}from"./chunk-frp9fc7j.js";import{$r as n,Aq as FF,Eq as c,Mm as u,_o as o,bs as N,dm as l,fm as d,fq as e,tq as t}from"./chunk-v2vv4etv.js";import{Zs as r}from"./chunk-b220zqbz.js";import{Cu as S,Eu as WF}from"./chunk-z2gmz9ew.js";import G from"fs";import Z from"path";import{createHash as $F}from"crypto";WF();function g(J){return $F("sha256").update(J).digest("hex").slice(0,8)}function f(J=!1){let q=J?D():C(),z=g(q);return{content:q,filename:`runtime.${z}.js`,hash:z}}function m(){let J=S(),q=g(J);return{content:J,filename:`router.${q}.js`,hash:q}}function UF(J){return{runtimeTag:J.runtime?`<script src="/__stx/${J.runtime.filename}"></script>`:"",routerTag:J.router?`<script src="/__stx/${J.router.filename}"></script>`:"",cssTag:J.css?`<link rel="stylesheet" href="/__stx/${J.css.filename}">`:""}}import h from"path";import{createHash as GF}from"crypto";function VF(J={}){let q=new Set;return{context:new Proxy(J,{get(Q,X){if(X in Q)return Q[X];if(typeof X==="string"&&!X.startsWith("__"))q.add(X);return},has(Q,X){if(X in Q)return!0;if(typeof X==="string"&&!X.startsWith("__"))q.add(X);return!1}}),accessedKeys:q}}async function i(J,q,z={}){let Q=h.resolve(J),X=await Bun.file(Q).text(),I=GF("sha256").update(X).digest("hex").slice(0,16);l();let K={};try{K=await N()}catch{}let B=[],V=/<script\b([^>]*)>([\s\S]*?)<\/script>/gi,k;while((k=V.exec(X))!==null){let $=k[1];if(/\bserver\b/.test($))B.push(k[2])}let W=new Set(B.flatMap(($)=>p($))),{context:E}=VF({__filename:Q,__dirname:h.dirname(Q),__stx_serverDeclared:W}),L=new Set,_={...n,...K,...z,buildMode:"compile",strict:!1},w=await c(X,E,Q,_,L),U=a(w),H=d();return{route:q,sourceFile:J,html:w,fragment:U,placeholders:H,hasServerScripts:B.length>0,serverScriptContent:B,dependencies:Array.from(L),contentHash:I,status:u(X),streamTemplates:E.__streamTemplates}}var kF=new Set([".DS_Store","Thumbs.db","desktop.ini",".gitkeep",".gitignore"]);function s(J,q){let z=0,Q=0;if(!G.existsSync(J))return{copied:z,bytes:Q};G.mkdirSync(q,{recursive:!0});function X(I,K){let B=G.readdirSync(I,{withFileTypes:!0});for(let V of B){if(kF.has(V.name))continue;let k=Z.join(I,V.name),W=Z.join(K,V.name);if(V.isDirectory())G.mkdirSync(W,{recursive:!0}),X(k,W);else if(V.isFile()){if(G.existsSync(W))continue;G.copyFileSync(k,W),z++,Q+=G.statSync(W).size}}}return X(J,q),{copied:z,bytes:Q}}async function lF(J={}){let q=Date.now(),z=Z.resolve(J.root||process.cwd()),Q=Z.resolve(z,J.outputDir||".output");console.log("[stx build] Starting production build...");let X={};try{X=await N()}catch{}let I=J.componentsDir??X.componentsDir??"components",K=J.partialsDir??X.partialsDir??"partials",B=J.layoutsDir??X.layoutsDir??"layouts",V=J.publicDir??X.publicDir??"public",k=X.app?.head||{},W=X.app?.colorMode,E=X.router?.container||"main";if(G.existsSync(Q))G.rmSync(Q,{recursive:!0});let L=[Z.join(Q,"public","__stx"),Z.join(Q,"public","assets"),Z.join(Q,"server","pages"),Z.join(Q,"server","fragments")];for(let Y of L)G.mkdirSync(Y,{recursive:!0});console.log("[stx build] Discovering routes...");let _=o(z),w=["components","layouts","partials"],U=_.filter((Y)=>{return!w.some((F)=>Y.pattern.startsWith(`/${F}/`)||Y.pattern===`/${F}`)});console.log(`[stx build] Found ${U.length} page routes (${_.length-U.length} non-page files excluded)`),console.log("[stx build] Generating shared assets...");let H=f(J.debug),$=m();await Bun.write(Z.join(Q,"public","__stx",H.filename),H.content),await Bun.write(Z.join(Q,"public","__stx",$.filename),$.content),console.log(`[stx build] Runtime: ${H.filename} (${(H.content.length/1024).toFixed(1)}KB)`),console.log(`[stx build] Router: ${$.filename} (${($.content.length/1024).toFixed(1)}KB)`),console.log("[stx build] Compiling templates...");let O=[],j=[];for(let Y of U)try{let F=await i(Y.filePath,Y.pattern,{componentsDir:I,partialsDir:K,layoutsDir:B,debug:J.debug});if(O.push(F),F.html=F.html.replace(/runtime\.__STX_HASH__\.js/g,H.filename).replace(/router\.__STX_HASH__\.js/g,$.filename),F.html=FF(F.html,k,{bodyScripts:[`<script src="/__stx/${$.filename}"></script>`],...W&&{colorMode:W}}),W)F.html=e(F.html,W);if(k.htmlAttrs)F.html=t(F.html,k.htmlAttrs);if(!/<body[^>]*\bdata-stx=/.test(F.html)){let T=F.html.match(/<(?!body\b)[a-zA-Z][a-zA-Z0-9-]*\b[^>]*?\s(data-stx="[^"]+")[^>]*>/);if(T&&T[1]){let P=T[1];F.html=F.html.replace(" "+P,""),F.html=F.html.replace(/<body([^>]*)>/,`<body$1 ${P}>`)}}F.html=F.html.replace(/<style data-crosswind="generated">[\s\S]*?<\/style>\s*/g,""),F.html=await r(F.html),F.fragment=JF(F.html,E);let y=Y.pattern==="/"?"index":Y.pattern.slice(1).replace(/\//g,"-").replace(/[[\]]/g,"_"),b=Z.join("server","pages",`${y}.compiled.json`),A=Z.join("server","fragments",`${y}.html`);await Bun.write(Z.join(Q,b),JSON.stringify(F,null,2)),await Bun.write(Z.join(Q,A),F.fragment),j.push({pattern:Y.pattern,compiledPath:b,fragmentPath:A,isDynamic:F.hasServerScripts,hasParams:Y.pattern.includes(":")||Y.pattern.includes("[")}),console.log(`[stx build] \u2713 ${Y.pattern}`)}catch(F){console.error(`[stx build] \u2717 ${Y.pattern}:`,F instanceof Error?F.message:F)}let M=Z.resolve(z,V);if(G.existsSync(M)){let{copied:Y,bytes:F}=s(M,Z.join(Q,"public"));if(Y>0)console.log(`[stx build] Copied ${Y} public asset${Y===1?"":"s"} (${(F/1024).toFixed(1)}KB) from ${V}/`)}let v=YF(z);if(v){let{copied:Y,bytes:F}=s(v,Z.join(Q,"public",XF));if(Y>0)console.log(`[stx build] Copied ${Y} asset${Y===1?"":"s"} (${(F/1024).toFixed(1)}KB) from ${QF}/`)}let R={runtime:H.filename,router:$.filename},zF=ZF(j,R,Q);qF(zF,Q);let x=Date.now()-q;return console.log(`
2
+ import{Qf as p}from"./chunk-380tnd2y.js";import{Gg as a,Ig as JF,Jg as ZF,Kg as qF}from"./chunk-b7tw429a.js";import{rj as C,sj as D}from"./chunk-g553n48p.js";import{Dk as QF,Ek as XF,Fk as YF}from"./chunk-frp9fc7j.js";import{$r as n,Aq as FF,Eq as c,Mm as u,_o as o,bs as N,dm as l,fm as d,fq as e,tq as t}from"./chunk-a0sagjwy.js";import{Zs as r}from"./chunk-7q6abr68.js";import{Cu as S,Eu as WF}from"./chunk-z2gmz9ew.js";import G from"fs";import Z from"path";import{createHash as $F}from"crypto";WF();function g(J){return $F("sha256").update(J).digest("hex").slice(0,8)}function f(J=!1){let q=J?D():C(),z=g(q);return{content:q,filename:`runtime.${z}.js`,hash:z}}function m(){let J=S(),q=g(J);return{content:J,filename:`router.${q}.js`,hash:q}}function UF(J){return{runtimeTag:J.runtime?`<script src="/__stx/${J.runtime.filename}"></script>`:"",routerTag:J.router?`<script src="/__stx/${J.router.filename}"></script>`:"",cssTag:J.css?`<link rel="stylesheet" href="/__stx/${J.css.filename}">`:""}}import h from"path";import{createHash as GF}from"crypto";function VF(J={}){let q=new Set;return{context:new Proxy(J,{get(Q,X){if(X in Q)return Q[X];if(typeof X==="string"&&!X.startsWith("__"))q.add(X);return},has(Q,X){if(X in Q)return!0;if(typeof X==="string"&&!X.startsWith("__"))q.add(X);return!1}}),accessedKeys:q}}async function i(J,q,z={}){let Q=h.resolve(J),X=await Bun.file(Q).text(),I=GF("sha256").update(X).digest("hex").slice(0,16);l();let K={};try{K=await N()}catch{}let B=[],V=/<script\b([^>]*)>([\s\S]*?)<\/script>/gi,k;while((k=V.exec(X))!==null){let $=k[1];if(/\bserver\b/.test($))B.push(k[2])}let W=new Set(B.flatMap(($)=>p($))),{context:E}=VF({__filename:Q,__dirname:h.dirname(Q),__stx_serverDeclared:W}),L=new Set,_={...n,...K,...z,buildMode:"compile",strict:!1},w=await c(X,E,Q,_,L),U=a(w),H=d();return{route:q,sourceFile:J,html:w,fragment:U,placeholders:H,hasServerScripts:B.length>0,serverScriptContent:B,dependencies:Array.from(L),contentHash:I,status:u(X),streamTemplates:E.__streamTemplates}}var kF=new Set([".DS_Store","Thumbs.db","desktop.ini",".gitkeep",".gitignore"]);function s(J,q){let z=0,Q=0;if(!G.existsSync(J))return{copied:z,bytes:Q};G.mkdirSync(q,{recursive:!0});function X(I,K){let B=G.readdirSync(I,{withFileTypes:!0});for(let V of B){if(kF.has(V.name))continue;let k=Z.join(I,V.name),W=Z.join(K,V.name);if(V.isDirectory())G.mkdirSync(W,{recursive:!0}),X(k,W);else if(V.isFile()){if(G.existsSync(W))continue;G.copyFileSync(k,W),z++,Q+=G.statSync(W).size}}}return X(J,q),{copied:z,bytes:Q}}async function lF(J={}){let q=Date.now(),z=Z.resolve(J.root||process.cwd()),Q=Z.resolve(z,J.outputDir||".output");console.log("[stx build] Starting production build...");let X={};try{X=await N()}catch{}let I=J.componentsDir??X.componentsDir??"components",K=J.partialsDir??X.partialsDir??"partials",B=J.layoutsDir??X.layoutsDir??"layouts",V=J.publicDir??X.publicDir??"public",k=X.app?.head||{},W=X.app?.colorMode,E=X.router?.container||"main";if(G.existsSync(Q))G.rmSync(Q,{recursive:!0});let L=[Z.join(Q,"public","__stx"),Z.join(Q,"public","assets"),Z.join(Q,"server","pages"),Z.join(Q,"server","fragments")];for(let Y of L)G.mkdirSync(Y,{recursive:!0});console.log("[stx build] Discovering routes...");let _=o(z),w=["components","layouts","partials"],U=_.filter((Y)=>{return!w.some((F)=>Y.pattern.startsWith(`/${F}/`)||Y.pattern===`/${F}`)});console.log(`[stx build] Found ${U.length} page routes (${_.length-U.length} non-page files excluded)`),console.log("[stx build] Generating shared assets...");let H=f(J.debug),$=m();await Bun.write(Z.join(Q,"public","__stx",H.filename),H.content),await Bun.write(Z.join(Q,"public","__stx",$.filename),$.content),console.log(`[stx build] Runtime: ${H.filename} (${(H.content.length/1024).toFixed(1)}KB)`),console.log(`[stx build] Router: ${$.filename} (${($.content.length/1024).toFixed(1)}KB)`),console.log("[stx build] Compiling templates...");let O=[],j=[];for(let Y of U)try{let F=await i(Y.filePath,Y.pattern,{componentsDir:I,partialsDir:K,layoutsDir:B,debug:J.debug});if(O.push(F),F.html=F.html.replace(/runtime\.__STX_HASH__\.js/g,H.filename).replace(/router\.__STX_HASH__\.js/g,$.filename),F.html=FF(F.html,k,{bodyScripts:[`<script src="/__stx/${$.filename}"></script>`],...W&&{colorMode:W}}),W)F.html=e(F.html,W);if(k.htmlAttrs)F.html=t(F.html,k.htmlAttrs);if(!/<body[^>]*\bdata-stx=/.test(F.html)){let T=F.html.match(/<(?!body\b)[a-zA-Z][a-zA-Z0-9-]*\b[^>]*?\s(data-stx="[^"]+")[^>]*>/);if(T&&T[1]){let P=T[1];F.html=F.html.replace(" "+P,""),F.html=F.html.replace(/<body([^>]*)>/,`<body$1 ${P}>`)}}F.html=F.html.replace(/<style data-crosswind="generated">[\s\S]*?<\/style>\s*/g,""),F.html=await r(F.html),F.fragment=JF(F.html,E);let y=Y.pattern==="/"?"index":Y.pattern.slice(1).replace(/\//g,"-").replace(/[[\]]/g,"_"),b=Z.join("server","pages",`${y}.compiled.json`),A=Z.join("server","fragments",`${y}.html`);await Bun.write(Z.join(Q,b),JSON.stringify(F,null,2)),await Bun.write(Z.join(Q,A),F.fragment),j.push({pattern:Y.pattern,compiledPath:b,fragmentPath:A,isDynamic:F.hasServerScripts,hasParams:Y.pattern.includes(":")||Y.pattern.includes("[")}),console.log(`[stx build] \u2713 ${Y.pattern}`)}catch(F){console.error(`[stx build] \u2717 ${Y.pattern}:`,F instanceof Error?F.message:F)}let M=Z.resolve(z,V);if(G.existsSync(M)){let{copied:Y,bytes:F}=s(M,Z.join(Q,"public"));if(Y>0)console.log(`[stx build] Copied ${Y} public asset${Y===1?"":"s"} (${(F/1024).toFixed(1)}KB) from ${V}/`)}let v=YF(z);if(v){let{copied:Y,bytes:F}=s(v,Z.join(Q,"public",XF));if(Y>0)console.log(`[stx build] Copied ${Y} asset${Y===1?"":"s"} (${(F/1024).toFixed(1)}KB) from ${QF}/`)}let R={runtime:H.filename,router:$.filename},zF=ZF(j,R,Q);qF(zF,Q);let x=Date.now()-q;return console.log(`
3
3
  [stx build] Done in ${x}ms \u2014 ${O.length} pages compiled`),{pageCount:O.length,assets:R,outputDir:Q,duration:x}}
4
4
  export{g as Gf,f as Hf,m as If,UF as Jf,i as Kf,lF as Lf};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Yo as b,Zo as c,bm as a}from"./chunk-v2vv4etv.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-b220zqbz.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{b as processESImports,c as processComponents,a as freeIdentifiers};
2
+ import{Yo as b,Zo as c,bm as a}from"./chunk-a0sagjwy.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-7q6abr68.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{b as processESImports,c as processComponents,a as freeIdentifiers};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{$ as ll,$a as cn,$b as vo,$c as vp,$d as vq,A as Xj,Aa as nm,Ab as Pn,Ac as Wo,Ad as Wp,Ae as ar,B as Yj,Ba as om,Bb as Qn,Bc as Xo,Bd as Xp,Be as br,C as Zj,Ca as Bm,Cb as Rn,Cc as Yo,Cd as Yp,Ce as cr,D as _j,Da as Cm,Db as Sn,Dc as Zo,Dd as Zp,De as dr,E as Qk,Ea as Dm,Eb as Tn,Ec as _o,Ed as _p,Ee as er,F as Rk,Fa as Em,Fb as Un,Fc as $o,Fd as $p,Fe as fr,G as Sk,Ga as Fm,Gb as Vn,Gc as ap,Gd as aq,Ge as gr,H as Tk,Ha as Jm,Hb as Wn,Hc as bp,Hd as bq,He as hr,I as Uk,Ia as Km,Ib as Xn,Ic as cp,Id as cq,Ie as ir,J as Vk,Ja as Lm,Jb as Yn,Jc as dp,Jd as dq,Je as jr,K as Wk,Ka as Mm,Kb as Zn,Kc as ep,Kd as eq,Ke as kr,L as Xk,La as Nm,Lb as _n,Lc as fp,Ld as fq,Le as lr,M as Yk,Ma as Om,Mb as $n,Mc as gp,Md as gq,Me as mr,N as Zk,Na as Pm,Nb as ho,Nc as hp,Nd as hq,Ne as nr,O as _k,Oa as Qm,Ob as io,Oc as ip,Od as iq,Oe as or,P as $k,Pa as Rm,Pb as jo,Pc as jp,Pd as jq,Pe as pr,Q as al,Qa as Sm,Qb as ko,Qc as kp,Qd as kq,Qe as qr,R as bl,Ra as Tm,Rb as lo,Rc as lp,Rd as lq,Re as rr,S as cl,Sa as Um,Sb as mo,Sc as mp,Sd as mq,Se as sr,T as dl,Ta as Vm,Tb as no,Tc as np,Td as nq,Te as tr,U as el,Ua as Wm,Ub as oo,Uc as op,Ud as oq,Ue as ur,V as fl,Va as Xm,Vb as po,Vc as pp,Vd as pq,Ve as vr,W as gl,Wa as Ym,Wb as qo,Wc as qp,Wd as qq,We as wr,X as hl,Xa as _m,Xb as ro,Xc as rp,Xd as rq,Xe as xr,Y as il,Ya as $m,Yb as so,Yc as sp,Yd as sq,Z as jl,Za as an,Zb as to,Zc as tp,Zd as tq,_ as kl,_a as bn,_b as uo,_c as up,_d as uq,aa as ml,ab as dn,ac as wo,ad as wp,ae as wq,ba as nl,bb as en,bc as xo,bd as xp,be as xq,ca as ol,cb as fn,cc as yo,cd as yp,ce as yq,da as pl,db as gn,dc as zo,dd as zp,de as zq,ea as ql,eb as hn,ec as Ao,ed as Ap,ee as Aq,fa as rl,fb as jn,fc as Bo,fd as Bp,fe as Bq,ga as sl,gb as kn,gc as Co,gd as Cp,ge as Cq,ha as tl,hb as ln,hc as Do,hd as Dp,he as Dq,ia as ul,ib as mn,ic as Eo,id as Ep,ie as Eq,ja as vl,jb as nn,jc as Fo,jd as Fp,je as Fq,ka as wl,kb as on,kc as Go,kd as Gp,ke as Gq,la as xl,lb as pn,lc as Ho,ld as Hp,le as Hq,ma as yl,mb as qn,mc as Io,md as Ip,me as Iq,na as zl,nb as rn,nc as Jo,nd as Jp,ne as Jq,o as a,oa as Al,ob as un,oc as Ko,od as Kp,oe as Qq,p as Ij,pa as cm,pb as vn,pc as Lo,pd as Lp,pe as Rq,q as Jj,qa as dm,qb as wn,qc as Mo,qd as Mp,qe as Sq,r as Kj,ra as em,rb as xn,rc as No,rd as Np,re as Tq,s as Lj,sa as fm,sb as Dn,sc as Oo,sd as Op,se as Uq,t as Mj,ta as gm,tb as En,tc as Po,td as Pp,te as Vq,u as Nj,ua as hm,ub as Fn,uc as Qo,ud as Qp,ue as Wq,v as Oj,va as im,vb as Gn,vc as Ro,vd as Rp,ve as Xq,w as Pj,wa as jm,wb as Ln,wc as So,wd as Sp,we as Yq,x as Qj,xa as km,xb as Mn,xc as To,xd as Tp,xe as Zq,y as Vj,ya as lm,yb as Nn,yc as Uo,yd as Up,ye as _q,z as Wj,za as mm,zb as On,zc as Vo,zd as Vp,ze as $q}from"./chunk-vg03m8ah.js";import{$e as ck,Ye as $j,Ze as ak,_e as bk,af as dk,bf as ek,cf as fk,df as gk,ef as hk,ff as ik,gf as jk,hf as kk,if as lk,jf as mk,kf as nk}from"./chunk-jy6madxa.js";import{lf as Ek,mf as Fk,nf as Gk,of as Hk,pf as Ik,qf as Jk,rf as Kk,sf as Lk,tf as Mk,uf as Nk,vf as Ok,wf as Pk}from"./chunk-shh4byc3.js";import{Af as eo,Bf as fo,Cf as go,xf as ao,yf as bo,zf as co}from"./chunk-mvxgpycn.js";import{Df as sn,Ef as tn}from"./chunk-vzskgbqj.js";import{Ff as yn}from"./chunk-15rgmdtq.js";import{Gf as Sl,Hf as Tl,If as Ul,Jf as Vl,Kf as Yl,Lf as am}from"./chunk-x0nymj9r.js";import{Mf as Wl,Pf as Xl}from"./chunk-r0dajh6g.js";import{$f as tm,Xf as pm,Yf as qm,Zf as rm,_f as sm,ag as um,bg as vm,cg as wm,dg as xm,eg as ym,fg as zm,gg as Am}from"./chunk-d19bydks.js";import{hg as Ck,ig as Dk}from"./chunk-1p0r6k2f.js";import{jg as bm}from"./chunk-3sq662pg.js";import{kg as Gm,lg as Hm,mg as Im,ng as Zm,og as zn,pg as An,qg as Bn,rg as Cn,sg as Hn,tg as In,ug as Jn,vg as Kn}from"./chunk-d6aa7ghq.js";import{Ag as Fl,Bg as Gl,Cg as Hl,Dg as Il,Eg as Jl,Fg as Kl,Gg as Ll,Hg as Ml,Ig as Nl,Jg as Zl,Kg as _l,Lg as $l,wg as Bl,xg as Cl,yg as Dl,zg as El}from"./chunk-2fj2ah1z.js";import{Mg as Xi,Ng as Yi,Og as Zi,Pg as _i,Qg as $i,Rg as aj,Sg as bj,Tg as cj,Ug as dj,Vg as ej,Wg as fj}from"./chunk-n3tj3h1q.js";import{Xg as xj,Zg as yj}from"./chunk-cs1dc1n7.js";import{dh as ok,eh as pk,fh as qk,gh as rk,hh as sk,ih as tk,jh as uk,lh as vk,mh as wk,nh as xk,oh as yk,ph as zk,qh as Ak,th as Bk}from"./chunk-9228drk4.js";import{uh as hh,vh as ih,wh as jh,xh as kh}from"./chunk-tv4n71jy.js";import{Ch as lh}from"./chunk-rbke5wqk.js";import{Dh as sh,Eh as th,Fh as uh,Gh as vh,Hh as wh,Ih as xh}from"./chunk-7mqbw6qv.js";import{Jh as Mi,Kh as Ni,Lh as Oi,Ph as Pi,Qh as Qi,Rh as Ri}from"./chunk-78bpc81t.js";import{$h as Ki,Sh as Ci,Th as Di,Uh as Ei,Vh as Fi,Wh as Gi,Yh as Hi,Zh as Ii,_h as Ji,ai as Li}from"./chunk-j93x5fzs.js";import{bi as sg,ci as tg,di as ug,ei as vg,fi as wg,gi as xg}from"./chunk-ntnv2f7a.js";import{hi as yg,ii as zg,ji as Ag,ki as Bg,li as Cg}from"./chunk-1gdzz04h.js";import{mi as Dg,ni as Eg,oi as Fg,pi as Gg,qi as Hg}from"./chunk-ssfhndm6.js";import{ri as Ig,si as Jg,ti as Kg,ui as Lg,vi as Mg,wi as Ng,xi as Og}from"./chunk-94fee5jw.js";import{Ai as Rg,Bi as Sg,Ci as Tg,Di as Ug,yi as Pg,zi as Qg}from"./chunk-pv9at6r1.js";import{Fi as Vg,Gi as Wg,Hi as Xg,Ii as Yg,Ji as Zg,Ki as _g,Li as $g,Mi as ah,Ni as bh,Oi as ch,Pi as dh,Qi as eh,Ri as fh,Si as gh}from"./chunk-dq88kv1p.js";import{Ui as mg,Vi as ng}from"./chunk-gaj725dz.js";import{Yi as og}from"./chunk-5w362c8x.js";import"./chunk-ht51fz7w.js";import{aj as pg}from"./chunk-fvjh7rx0.js";import{bj as qg,cj as rg}from"./chunk-b6jhznkh.js";import{dj as fe,ej as ge,fj as he,gj as ie,hj as je,ij as ke,jj as le,kj as me,lj as ne,mj as oe,nj as pe,oj as qe,pj as re,qj as se}from"./chunk-etx5vb1n.js";import{rj as Pe,sj as Qe}from"./chunk-g553n48p.js";import{Aj as Ce,Bj as De,Cj as Ee,Dj as Fe,Ej as Ge,Fj as He,Gj as Ie,Hj as Je,Ij as Ke,Jj as Le,Kj as Me,Lj as Ne,Mj as Oe,zj as Be}from"./chunk-nhmq45hh.js";import{Nj as Re,Oj as Se,Pj as Te,Qj as Ue,Rj as Ve,Sj as We,Tj as Xe,Uj as Ye,Vj as Ze,Wj as _e,Xj as $e}from"./chunk-m0xp6xjr.js";import{pk as Kq,qk as Lq,rk as Mq,sk as Nq,tk as Oq,uk as Pq}from"./chunk-37nm0f2v.js";import{Ak as Pl,Bk as Ql,Ck as Rl,vk as Rj,wk as Sj,xk as Tj,yk as Uj,zk as Ol}from"./chunk-b212gjes.js";import"./chunk-frp9fc7j.js";import"./chunk-r84h7wxw.js";import{$m as Wb,$n as Wc,$o as Ae,$p as Jf,$q as Yh,$r as zj,Al as da,An as vc,Ao as Ld,Ap as hf,Aq as ig,Ar as xi,Bl as ea,Bm as xb,Bn as wc,Bo as Md,Bp as jf,Bq as jg,Br as yi,Cl as fa,Cm as yb,Cn as xc,Co as Nd,Cp as kf,Cq as kg,Cr as zi,Dl as ga,Dm as zb,Dn as yc,Do as Od,Dp as lf,Dq as lg,Dr as Ai,El as ha,Em as Ab,En as zc,Eo as Pd,Ep as mf,Eq as mh,Er as Bi,Fl as ia,Fm as Bb,Fn as Ac,Fo as Qd,Fp as nf,Fq as nh,Fr as Si,Gm as Cb,Gn as Bc,Go as Rd,Gp as of,Gq as oh,Gr as Ti,Hm as Db,Hn as Cc,Ho as Sd,Hp as pf,Hq as ph,Hr as Ui,Il as za,In as Dc,Io as Td,Ip as qf,Iq as qh,Ir as Vi,Jl as Aa,Jm as Eb,Jn as Ec,Jo as Ud,Jp as rf,Jq as rh,Jr as Wi,Kl as Ba,Km as Fb,Kn as Fc,Ko as Vd,Kp as sf,Kq as yh,Kr as gj,Ll as Ca,Lm as Gb,Ln as Gc,Lo as Wd,Lp as tf,Lq as zh,Lr as hj,Ml as Da,Mm as Hb,Mn as Hc,Mo as Xd,Mp as uf,Mq as Ah,Mr as ij,Nm as Ib,Nn as Ic,No as Yd,Np as vf,Nq as Bh,Nr as jj,Om as Jb,On as Jc,Oo as Zd,Op as wf,Oq as Ch,Or as kj,Pl as Ga,Pm as Kb,Pn as Kc,Po as _d,Pp as xf,Pq as Dh,Pr as lj,Ql as Ha,Qm as Lb,Qn as Lc,Qo as $d,Qp as yf,Qq as Eh,Qr as mj,Rl as Oa,Rm as Mb,Rn as Mc,Ro as ae,Rp as zf,Rq as Fh,Rr as nj,Sl as Pa,Sm as Nb,Sn as Nc,So as be,Sp as Af,Sq as Gh,Sr as oj,Tl as Qa,Tm as Ob,Tn as Oc,To as ce,Tp as Bf,Tq as Hh,Tr as pj,Ul as Ra,Um as Pb,Un as Pc,Uo as de,Up as Cf,Uq as Ih,Ur as qj,Vl as Sa,Vm as Qb,Vn as Qc,Vo as ee,Vp as Df,Vq as Jh,Vr as rj,Wl as Ta,Wm as Rb,Wn as Rc,Wp as Ef,Wq as Kh,Wr as sj,Xl as Ua,Xm as Sb,Xn as Sc,Xo as ye,Xp as Ff,Xq as Lh,Xr as tj,Yl as Va,Ym as Tb,Yn as Tc,Yp as Gf,Yq as Mh,Yr as uj,Zl as Wa,Zm as Ub,Zn as Uc,Zp as Hf,Zq as Nh,Zr as vj,_l as Xa,_m as Vb,_n as Vc,_o as ze,_p as If,_q as Oh,_r as wj,an as Xb,ao as Xc,aq as Kf,ar as Zh,as as Aj,bn as Yb,bo as Yc,bp as af,bq as Lf,br as _h,bs as Bj,cn as Zb,co as Zc,cq as Mf,cr as $h,cs as Cj,dm as Ya,dn as _b,do as _c,dq as Nf,dr as ai,ds as Dj,em as Za,en as $b,eo as $c,eq as Of,er as bi,es as Ej,fm as _a,fn as ac,fo as ad,fq as Pf,fr as ci,fs as Fj,gm as $a,gn as bc,go as bd,gq as Qf,gr as di,gs as Gj,hm as ab,hn as cc,ho as cd,hq as Rf,hr as ei,hs as Hj,il as s,im as bb,in as dc,io as dd,iq as Sf,ir as fi,jl as t,jn as ec,jo as ed,jq as Tf,jr as gi,kl as u,kn as fc,ko as fd,kq as Uf,kr as hi,ll as v,lm as cb,ln as gc,lo as gd,lq as Vf,lr as ii,ml as w,mm as db,mn as hc,mo as hd,mq as Wf,mr as ji,nl as x,nm as eb,nn as ic,no as id,nq as Xf,nr as ki,ol as y,om as fb,on as jc,oo as zd,oq as Yf,or as li,pl as z,pm as gb,pn as kc,po as Ad,pq as Zf,pr as mi,ql as A,qm as hb,qn as lc,qo as Bd,qq as _f,qr as ni,rl as B,rm as ib,rn as mc,ro as Cd,rq as $f,rr as oi,sl as C,sm as jb,sn as nc,so as Dd,sp as bf,sq as ag,sr as pi,tl as D,tm as kb,tn as oc,to as Ed,tq as bg,tr as qi,ul as E,um as lb,un as pc,uo as Fd,up as cf,uq as cg,ur as ri,vl as F,vm as mb,vn as qc,vo as Gd,vq as dg,vr as si,wl as G,wm as nb,wn as rc,wo as Hd,wp as df,wq as eg,wr as ti,xl as H,xm as ob,xn as sc,xo as Id,xp as ef,xq as fg,xr as ui,yl as I,ym as pb,yn as tc,yo as Jd,yp as ff,yq as gg,yr as vi,zl as J,zm as qb,zn as uc,zo as Kd,zp as gf,zq as hg,zr as wi}from"./chunk-v2vv4etv.js";import{is as d,js as e,ks as f,ls as g,ms as h,ns as i,os as j,ps as k,qs as l,rs as m,ss as n,ts as o,us as p,vs as q,ws as r}from"./chunk-092sm06a.js";import{As as Sh,Bs as Th,Cs as Uh,Ds as Vh,Es as Wh,Fs as Xh,xs as Ph,ys as Qh,zs as Rh}from"./chunk-19m7hed6.js";import{Gs as b,Hs as c}from"./chunk-nhn7qftp.js";import{Is as Ea,Js as Fa}from"./chunk-mv2v3g62.js";import{Ks as rb,Ls as sb,Ns as tb,Xs as ub,Ys as vb,Zs as wb}from"./chunk-b220zqbz.js";import{$s as ue,_s as te,at as ve,bt as we,et as xe}from"./chunk-2qkasmq1.js";import{ft as Ia,gt as Ja,ht as Ka,it as La,jt as Ma,kt as Na}from"./chunk-1px4xey5.js";import{At as yd,lt as jd,mt as kd,nt as ld,ot as md,pt as nd,qt as od,rt as pd,st as qd,tt as rd,ut as sd,vt as td,wt as ud,xt as vd,yt as wd,zt as xd}from"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import{Dt as ja,Et as ka,Ft as la,Gt as ma,Ht as na,It as oa,Jt as pa,Kt as qa,Lt as ra,Mt as sa,Nt as ta,Ot as ua,Pt as va,Qt as wa,Rt as xa,St as ya}from"./chunk-ax56kn66.js";import{Au as ca,Wt as K,Xt as L,_t as M,du as N,eu as O,ku as P,lu as Q,mu as R,nu as S,ou as T,pu as U,qu as V,ru as W,su as X,tu as Y,uu as Z,vu as _,wu as $,xu as aa,yu as ba}from"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{jk as writeNetlifyConfig,_l as writeManifest,Ok as writeImageManifest,qo as wrapComponentForHMR,kr as withDefaults,wj as webComponentDirectiveHandler,fp as watermark,hq as watchViews,Yk as watchMultiple,Zk as watchEffect,Xk as watch,xe as warmImagePlaceholders,kl as waitForStore,Yd as waitForLocale,bo as virtualPathFor,jj as videoDirective,tc as validators,or as validated,Kd as validateValueEnhanced,nh as validateTemplate,kp as validateParams,Ld as validateFormEnhanced,Yp as validateFile,Gd as validateFields,Fd as validateField,ph as validateDirective,dd as validateCspDirectives,Ej as validateConfig,dm as validateComponentScripts,Bm as validateComponentProps,lg as validateClientScript,kh as v,jb as usesSignalsInScript,pa as usesReactiveRuntime,Ch as userComponentFileExists,Sg as useVirtualList,rd as useTitle,jl as useStoreOrThrow,Io as useStore,Vj as useStorage,sq as useSlots,Xj as useSessionStorage,od as useSeoMeta,ll as useRouteParams,nl as useRouteParamOrThrow,ml as useRouteParam,rd as usePageTitle,Oe as useOptimistic,pl as useMiddlewareValue,ol as useMiddlewareState,Wj as useLocalStorage,jo as useLoadingIndicator,md as useHead,hh as useForm,uq as useAttrs,_p as uploadFiles,Zp as uploadFile,gl as updateInstance,Me as untrack,Sh as unregisterDirective,hl as unmountInstance,qb as unescapeHtml,fo as typecheckStxFiles,Bh as transpileTypeScript,Zq as translate,w as transitionDirective,vm as toUsers,um as toUser,Qo as thumbnail,Rp as thumbHashToRGBA,Sp as thumbHashToDataURL,ra as templateNeedsRuntime,qa as templateHasReactiveContext,Re as templateCache,Mb as syncRecordedResponse,no as stxClientHelpers,wf as structuredDataDirective,ar as stripLocalePrefix,Ll as stripDocumentWrapper,Fa as stripCommentsAndLiterals,hn as stringToStream,Tc as strictCspPreset,ne as streamingSuspenseDirective,re as streamToResponse,le as streamTemplateSimple,fe as streamTemplate,Qj as stopHmrServer,rm as stopBroadcasting,La as stateDirName,Ma as stateDir,Be as state,fg as startsDocument,Kn as startProductionServer,yn as startInteractive,qm as startBroadcasting,cr as stampLocaleLayoutGroup,D as staggerDirective,ip as srcsetUrls,E as springDirective,Cc as splitByPipe,Hl as spaNavVaryHeaders,co as sourcePathFor,pp as smartBatchSign,Eh as slotContentHasExpressions,np as signUrl,zh as shouldTranspileTypeScript,Nj as shouldReloadOnChange,sp as shouldRefreshSignature,Oj as shouldIgnoreFile,Kg as shouldCacheComponent,Uo as sharpen,rr as shape,Ka as setStateDir,tl as setRouteParams,ul as setMiddlewareState,we as setImagePlaceholder,mq as setGlobalProvide,Qb as setErrorLocale,Qk as setCurrentInstance,Zi as setCachedVideoResult,Oi as setCachedImageResult,Ii as setCached,ur as serveStxFile,wr as serveMultipleStxFiles,Ij as serveMarkdownFile,Un as serveFile,xr as serveApp,Tn as serve,to as serializeState,Zm as serializeSetCookie,Wo as sepia,pd as seoMetaToHeadConfig,x as scrollAnimateDirective,q as screenReaderDirective,nj as scopeHTML,mj as scopeCSS,zf as scanForSitemapEntries,k as scanA11yTargets,l as scanA11yIssues,_o as saturation,lp as sanitizeParams,vc as sanitizeFilePath,wc as sanitizeExpression,xc as sanitizeDirectiveParams,uc as sanitizeDirectiveParam,yc as sanitizeComponentProps,oc as safeExecuteAsync,nc as safeExecute,xa as runtimeHandledXAttrsLiteral,pf as runPreProcessingMiddleware,qf as runPostProcessingMiddleware,Bn as runPageAction,He as runMountCallbacks,ba as runMiddleware,el as runHooks,Sq as runDoctor,Ie as runDestroyCallbacks,Ef as runComposers,$o as rotate,lh as rewriteImagesWithSiblings,Nb as responseBindings,Ih as resolveTemplatePath,c as resolveStxTargets,Aj as resolveStxDirectories,Yq as resolveI18n,Oo as resize,Ya as resetPlaceholders,ld as resetHead,so as resetHMRHandler,bc as resetErrorConfig,mr as required,ab as replacePlaceholders,fq as renderView,gj as renderVideoComponent,Pa as renderVendorStyleTags,Bq as renderToString,Cq as renderToStream,Dq as renderToDOM,Qp as renderThumbhashToCanvas,Pq as renderTemplateString,Nq as renderTemplate,Oq as renderString,ie as renderStreamingPage,uh as renderSlot,Ag as renderSSRSuspense,Ap as renderProtectedVideo,zp as renderProtectedImg,mp as renderMediaUpload,Mq as renderMarkdownView,Ql as renderLayoutTypes,Si as renderImgComponent,Ek as renderImageComponent,td as renderHtmlAttrs,sd as renderHead,iq as renderEmail,Gh as renderComponentWithSlot,ud as renderBodyAttrs,Do as render,Vc as relaxedCspPreset,Ed as registerValidationRule,pe as registerStreamingDirectives,Ko as registerStoresClient,rl as registerStore,xf as registerSeoDirectives,V as registerMiddleware,eb as registerFilters,db as registerFilter,Sb as registerErrorMessages,Jd as registerEnhancedValidationRule,Ph as registerDirective,cd as registerCspDirectives,Em as registerComponentDirectives,J as registerAnimationDirectives,r as registerA11yDirectives,Uk as ref,qn as redirect,Ib as recordResponseStatus,Jb as recordResponseHeader,Na as rebaseOntoStateDir,Kb as readResponseStatus,Lb as readResponseHeaders,Gj as readMarkdownFile,Se as readFileCached,Vk as reactive,dp as quality,xp as pruneSignatureCache,Li as pruneCache,kq as provide,Lq as protectCodeBlocks,lr as prop,If as processVueTemplate,Qg as processVirtualListDirectives,Ug as processVirtualGridDirectives,fj as processVideo,Hd as processValidateDirective,de as processTranslateDirective,ug as processTransitionDirectives,xg as processTransitionAttributes,xd as processTitleDirective,Ab as processTemplateBindings,qg as processTeleportDirectives,yg as processSuspenseDirectives,sf as processStructuredData,je as processStreamDirectives,Ob as processStatusDirective,fh as processStaticDirectives,nf as processStackReplacements,mf as processStackPushDirectives,vh as processSlots,Jl as processShell,Gf as processServerBindings,tf as processSeoDirective,qe as processSectionDirectives,Lf as processScopedStyles,yb as processReactiveBindings,Bp as processProtectedMedia,_g as processPartialHydrationDirectives,kg as processOnceDirective,of as processMiddleware,rf as processMetaDirectives,yd as processMetaDirective,Hj as processMarkdownFileDirectives,Nh as processMarkdownDirectives,gf as processLoops,Ig as processKeepAliveDirectives,jg as processJsonDirective,Tg as processInfiniteListDirectives,lf as processIncludes,Ui as processImgComponents,Gk as processImageComponents,tk as processImage,wd as processHeadDirective,Ad as processForms,Cd as processFormInputDirectives,nb as processExpressions,Ca as processEventDirectives,Dd as processErrorDirective,Jf as processDynamicComponents,mh as processDirectives,Xh as processDirectiveAttributes,pg as processDeferDirectives,hd as processCustomDirectives,$c as processCspDirectives,sr as processComponentProps,Xa as processClientScript,Bd as processBasicFormDirectives,Dg as processAsyncDirectives,id as processAppearanceBootstrapDirective,A as processAnimationDirectives,f as processA11yDirectives,Ud as preloadTranslationsBackground,Td as preloadTranslations,io as preloadIslandHandlers,ye as preloadIconCollection,mm as poolStrings,yj as pluginManager,ue as placeholdersWarmed,tg as performLeave,sg as performEnter,Je as pendingLifecycleCounts,Ne as peek,hf as partialsCache,hj as parseVideoDirectiveOptions,Mo as parseUrl,Tp as parseThumbhashString,Ic as parseSwitchBlock,sh as parseSlots,th as parseSlotElement,Nc as parseScriptDeclarations,uj as parseSFCComponent,Cp as parseProtectedArgs,ff as parseLoopBinding,Ti as parseImgComponent,ji as parseImageUrl,Fk as parseImageComponent,zn as parseFormBody,Kc as parseExpressionWithFilters,nn as parseCookies,Jm as parseContainerSelector,Fc as parseConditionalBlock,Lc as parseArguments,H as parseAnimationShorthand,nr as optional,nm as optimizeTemplate,Lk as optimizeImage,Mk as optimizeDirectory,pr as oneOf,jf as onceStore,bl as onUpdated,xb as onUpdate,dl as onUnmounted,yl as onServer,$k as onMounted,Fe as onMount,eh as onHydrated,qq as onErrorCaptured,Ge as onDestroy,Og as onDeactivated,xl as onClient,al as onBeforeUpdate,cl as onBeforeUnmount,_k as onBeforeMount,Ng as onActivated,Mp as observeElement,rn as notFound,Qf as normalizeCriticalHeadOrder,pq as nextTick,Hm as negotiateEncoding,P as navigateTo,fl as mountInstance,z as motionDirective,Uc as moderateCspPreset,lm as minifyHtml,vf as metaDirective,_f as metaDedupKey,No as mergeParams,ag as mergeHtmlAttrs,nd as mergeHeadConfigs,Yc as mergeCspDirectives,sb as mergeCrosswindConfig,M as matchRoute,Oh as markdownDirectiveHandler,Fj as markdownCache,b as looksLikeGlob,$q as localizePath,Vd as loadTranslationLazy,$d as loadTranslation,Bj as loadStxConfig,_ as loadMiddlewareFromDirectory,$l as loadManifest,Ip as loadElement,sm as loadChannels,gr as lintStxStrict,Kp as lazyLoadAll,Jp as lazyLoad,C as keyframeDirective,zq as jsxs,Aq as jsxDEV,yq as jsx,pn as jsonResponse,oe as islandDirective,_b as isTest,Ml as isSpaNavigation,Fl as isSpaNavRequest,qp as isSignatureValid,Ke as isSignal,rk as isSharpAvailable,an as isServerEnvironment,vl as isServer,ta as isRuntimeOwnedColonAttr,Yb as isProduction,d as isPresentationalRole,Fp as isNativeLazySupported,Kq as isMarkdownPath,Rd as isLoading,Sd as isLoaded,yh as isJavaScriptScript,Gp as isIntersectionObserverSupported,zk as isImageFile,sk as isImageBackendAvailable,be as isICUFormat,dh as isHydrated,Dh as isHydrateTrigger,Gb as isHttpStatus,$m as isEdgeEnvironment,hr as isDirectiveKind,Zb as isDevelopment,Le as isDerived,Mj as isCssOnlyChange,Gm as isCompressible,wl as isClient,Fg as isAsyncComponent,An as isActionableMethod,Xo as invert,Ue as invalidateFileCacheByDir,Te as invalidateFileCache,mb as interpolateScriptsInTemplate,kb as interpolateScriptExpressions,lb as interpolateScriptAttributes,kc as inlineError,Xq as injectThemeBootstrap,uf as injectSeoTags,Uq as injectSeo,af as injectRouterScript,Lj as injectHotReload,fa as injectHeatmap,Zc as injectCspMetaTag,wb as injectCrosswindCSS,hg as injectConfigHeadTags,Pf as injectColorModeBootScript,cg as injectCloakStyle,Wf as injectBuildId,Sa as injectBrowserCoreAutoImports,Cb as injectAnalytics,lq as inject,ql as initStoreRegistry,mk as initNetlify,ko as initLoadingIndicator,Hp as initLazyLoading,xn as initFile,Pp as initBlurUp,Vp as initAllBlurUp,Wi as imgDirective,Jk as imageDirective,In as hydrateTemplateStream,Hn as hydrateTemplate,ho as hydrateIslands,ah as hydrateIsland,Jn as hydrateFragment,bh as hydrateByStrategy,ch as hydrateAll,Ao as hydrate,Sn as htmlResponse,dg as hoistLeadingHeadTags,Rf as hoistColorModeBootScript,ga as heatmapDirective,Ei as hashString,$e as hashFilePath,Ci as hashFile,Di as hashBuffer,Hf as hasVueTemplateSyntax,ef as hasVariables,Fo as hasStore,bb as hasPlaceholders,kk as hasNetlifyConfig,X as hasMiddleware,Da as hasEventDirectives,gg as hasDocumentShell,qh as hasDirectives,h as hasDOMSupport,Ck as handleImageRequest,rq as handleError,Hq as h,yk as groupVariantsByFormat,Vo as grayscale,Ln as gitHash,fm as getUnusedDirectives,Wd as getTranslationSync,Pd as getTranslationCacheStats,Xd as getTranslationAsync,ce as getTranslation,fk as getTotalSize,rp as getTimeUntilExpiry,mg as getStoreScript,Go as getStoreNames,Eo as getStore,_j as getStorageSize,Zj as getStorageKeys,Jh as getSourceLineInfo,Ah as getSharedTranspiler,g as getScreenReaderOnlyStyle,oj as getScopeAttribute,Ae as getRouteParams,Ga as getPublicEnvDefine,Ha as getPublicEnv,oh as getPositionInfo,_a as getPlaceholderRegistry,Bi as getPlaceholderCacheStats,kd as getPageMeta,Pc as getNonce,Ak as getMimeType,Z as getMiddlewareNames,W as getMiddleware,Qd as getLoadingState,Zd as getLoadingLocales,te as getImagePlaceholder,uk as getImageMetadata,zo as getHydrationRuntime,sl as getHydratedStoreState,Pj as getHmrServer,jd as getHead,ro as getHMRHandler,ni as getFormatExtension,Gi as getFileMtime,xk as getFallbackVariant,Ub as getErrorMessage,Rb as getErrorLocale,ac as getErrorConfig,Xb as getErrorCodeName,Rh as getDirectives,Qh as getDirective,Rk as getCurrentInstance,Xc as getCspPreset,ed as getCspHeaderName,tb as getCrosswindServeAsset,Mh as getComponentCacheStats,Yi as getCachedVideoResult,vp as getCachedSignature,We as getCachedSignalsRuntime,Xe as getCachedRouterScript,zi as getCachedPlaceholder,Ni as getCachedImageResult,Hi as getCached,Ki as getCacheStats,Uf as getBuildId,pm as getBroadcastServer,mi as getBestVariant,fb as getAllFilters,ai as generateWidthSrcset,Rg as generateVirtualListCSS,aq as generateVideoPreview,Md as generateValidationScript,bq as generateUploadRuntime,gm as generateTreeShakenBundle,wg as generateTransitionRuntime,vg as generateTransitionCSS,aj as generateThumbnails,si as generateThumbhashPlaceholder,Sm as generateTemplatesDocs,Cg as generateSuspenseRuntime,Bg as generateSuspenseCSS,uo as generateStateScript,ki as generateSrcsetData,Ri as generateSrcset,vk as generateSrcSet,bj as generateSpriteSheet,jq as generateSpaShell,li as generateSourceTags,gi as generateSizesFromBreakpoints,fi as generateSizesAttribute,wk as generateSizes,yf as generateSitemapIndex,Vq as generateSitemap,Ep as generateSimpleMediaPicker,yp as generateSignatureRuntime,Qe as generateSignalsRuntimeDev,Pe as generateSignalsRuntime,Wa as generateServerDataBridge,lj as generateScopeId,vj as generateSFCWebComponent,Aa as generateRuntimeScript,K as generateRouteTypes,L as generateRouteManifest,Af as generateRobotsTxt,Wq as generateRobots,Qi as generateResponsiveVariants,rj as generateReactiveWebComponentTS,qj as generateReactiveWebComponent,tj as generateReactiveRuntime,sj as generateReactiveMixin,$i as generatePoster,yi as generatePlaceholderStyle,xi as generatePlaceholderCSS,ri as generatePlaceholder,$g as generatePartialHydrationCSS,Oc as generateNonce,gk as generateNetlifyToml,dq as generateMinifiedMediaRuntime,cq as generateMediaRuntime,Dp as generateMediaManagerEmbed,Zl as generateManifest,mo as generateLoadingIndicatorHtml,Op as generateLazyLoadRuntime,Rl as generateLayoutTypes,ui as generateLQIP,Mg as generateKeepAliveRuntime,Lg as generateKeepAliveCSS,gh as generateIslandManifest,$p as generateImagePreview,Nk as generateImageManifest,yo as generateHydrationScript,se as generateHydrationRuntime,Bo as generateHydrationCSS,Vg as generateHydrationBootstrap,Kj as generateHotReloadScript,ea as generateHeatmapScript,po as generateHMRClientScript,cj as generateHLSManifest,vo as generateEventBindings,ei as generateDprSrcsetWithVariableQuality,di as generateDprSrcset,eg as generateDocumentShell,Xm as generateDocs,Tm as generateDirectivesDocs,Wh as generateDirectiveRuntime,Bf as generateDefaultRobotsTxt,dj as generateDASHManifest,Sc as generateCspMetaTag,Rc as generateCspHeader,vb as generateCrosswindCSS,wq as generateCompositionRuntime,Rm as generateComponentsDocs,Wg as generateComponentManifest,Pm as generateComponentDoc,wi as generateColorPlaceholder,Of as generateColorModeBootScript,il as generateClientRuntime,Fi as generateCacheKey,Ua as generateBrowserAutoImportDestructuring,Wp as generateBlurUpRuntime,Xp as generateBlurUpCSS,zb as generateBindingsRuntime,bi as generateAutoWidthSrcset,Ta as generateAutoImportDestructuring,Hg as generateAsyncComponentRuntime,Gg as generateAsyncComponentCSS,I as generateAnimationRuntime,G as generateAnimationCSS,Bb as generateAnalyticsScript,go as formatTypecheckDiagnostics,$n as formatTypeErrors,un as formatStxContent,ek as formatSize,O as formatRoutes,vn as formatMarkdownContent,Vb as formatLocalizedError,ae as formatICU,cc as formatFilePath,jc as formatError,Tq as formatDoctorReport,Um as formatDocsAsMarkdown,Wm as formatDocsAsJson,Vm as formatDocsAsHtml,cp as format,km as foldConstants,bp as flipVertical,ap as flipHorizontal,Sl as fingerprint,eo as findRuntimeTypeDeclarations,Rq as findPantryPackage,Ec as findMatchingEndTag,Ac as findMatchingDelimiter,Ea as findInterpolationEnd,Gc as findIfBlocks,Jc as findExpressions,N as findErrorPage,Hc as findDirectiveBlocks,hm as findDeadCode,hm as findDeadBranches,Km as findContainerRegion,Qm as findComponentFiles,vr as findCommonDir,dk as filterRequiredFiles,Hh as fileExists,bf as extractVariables,Xl as extractTemplateExpressions,ke as extractStreamBoundaries,wo as extractState,wh as extractSlotContent,df as extractScriptFromTemplate,Wl as extractScriptBlocks,$a as extractPlaceholders,Dc as extractParenthesizedExpression,Hb as extractPageResponseStatus,ca as extractLayoutMetadata,vi as extractDominantColor,Mc as extractDirectiveParams,rh as extractDirectiveNames,Nl as extractContainerContent,Nm as extractComponentProps,Xg as extractComponentName,Om as extractComponentDescription,ub as extractClassNames,Va as extractBridgeData,Yg as extractBoundProps,Bc as extractBalancedExpression,Oa as extractAndStripCssImports,pj as extractAndScopeStyles,Ba as extractAndProcessEvents,Tj as externalizeSharedAssets,Uj as externalizeRepeatedAssets,Sj as externalizeHtml,pb as evaluateExpression,jm as evaluateConstant,Pb as evaluateAuthExpression,ib as escapeHtmlValue,hb as escapeHtml,pc as errorRecovery,rc as errorLogger,rg as ensureTeleportTargets,ig as ensureDocumentShell,Id as enhancedValidationRules,Lm as enableDevTools,im as eliminateDeadCode,De as effect,jp as dprUrls,Ym as docsCommand,Pl as discoverLayoutNames,Np as disconnectObserver,Mm as disableDevTools,sc as devHelpers,Il as detectShell,_m as detectRuntime,hk as detectProjectConfig,oi as detectFormat,cm as detectBuildMode,Ce as derived,lk as deploy,Dj as defineStxConfig,Jo as defineStore,tq as defineSlots,fr as defineSiteConfig,jr as definePropsWithValidation,ir as defineProps,xj as definePlugin,qd as definePageMeta,R as defineMiddleware,ih as defineForm,oq as defineExpose,nq as defineEmits,Th as defineDirective,Jq as defineCustomElement,Gn as defineConfig,Uh as defineClientDirective,Eg as defineAsyncComponent,eq as defaultMediaConfig,Pk as defaultImageConfig,Nd as defaultI18nConfig,da as defaultHeatmapConfig,zd as defaultFormClasses,cb as defaultFilters,gd as defaultCspConfig,zj as defaultConfig,tr as default,rb as deepMergeThemes,Kf as dedupeScopedStyles,ti as decodeThumbhash,bd as cspNonceDirective,ad as cspDirective,Up as crossfadeTransition,Po as crop,Pg as createVirtualList,ij as createVideoDirective,ln as createVercelHandler,Yn as createTypeChecker,ee as createTranslateFilter,gn as createTextEncoderStream,Iq as createStxApp,fn as createStreamingResponse,me as createStreamRenderer,Ho as createStore,U as createStorageManager,S as createServerCookieManager,Tk as createScope,zg as createSSRSuspense,ze as createRouter,$ as createRouteLocation,Wn as createRoute,Uk as createRef,Vk as createReactive,vq as createProvideContext,Nn as createProject,Fn as createProductionBuild,Za as createPlaceholder,om as createOptimizedBuild,mn as createNetlifyHandler,$j as createNetlifyClient,aa as createMiddlewareContext,Vn as createMiddleware,Lp as createLazyObserver,Jg as createKeepAliveCache,cn as createKVNamespace,Zg as createIslandRegistry,Vi as createImgDirective,Kk as createImagePlugin,Dk as createImageHandler,Ik as createImageDirective,ia as createHeatmapAggregator,ck as createFileManifest,bn as createEnvAccessor,mc as createEnhancedError,en as createEdgeHandler,dn as createEdgeCache,Kh as createDetailedErrorMessage,kn as createDenoHandler,ik as createDefaultNetlifyConfig,fd as createCspHeaders,on as createCookie,Wk as createComputed,Sk as createComponentInstance,jn as createCloudflareHandler,T as createClientCookieManager,Vh as createBuiltinDirectives,Iq as createApp,F as createAnimationTimeline,So as cover,cf as convertToCommonJS,Zo as contrast,Ro as contain,lc as consoleError,$b as configureErrorHandling,Cj as config,Wk as computed,Im as compressResponse,Df as composerPattern,Cf as composer,Kl as composeShellWithPage,Dm as componentDirective,Fh as componentClientSignalNames,Yl as compileTemplate,a as collectRepeatedFlag,bk as collectDeployFiles,_i as clearVideoCache,Od as clearTranslationCache,ng as clearStoreCache,Yj as clearStorage,wp as clearSignatureCache,Ai as clearPlaceholderCache,kf as clearOnceStore,Qc as clearNonce,Y as clearMiddleware,ve as clearImagePlaceholders,Hk as clearImageCache,Tb as clearErrorMessages,Ye as clearDevCaches,gb as clearCustomFilters,Ff as clearComposers,og as clearComposableCache,Lh as clearComponentCache,Ji as clearCache,lo as cleanupLoadingIndicator,Bl as classifyScript,Cl as classifyAllScripts,Zn as checkTemplateFile,_n as checkTemplate,Ze as checkCache,tp as checkAuthAccess,i as checkA11yWithRegex,j as checkA11y,ym as channel,tn as captureScreenshots,sn as captureScreenshot,_d as cancelPendingLoads,ak as calculateSha1,ci as calculateOptimalWidths,_e as cacheTemplate,kj as buildWebComponents,ao as buildVirtualSource,gq as buildViews,Lo as buildUrl,ge as buildSuspenseResolveScript,er as buildStaticSite,la as buildRuntimeGlobalsDestructure,Tl as buildRuntimeAsset,Ul as buildRouterAsset,dr as buildLangPickerScript,ii as buildImageUrl,$f as buildHtmlAttrs,am as buildForProduction,Fm as buildComponentLibrary,up as buildAuthParams,bm as buildApp,br as buildAlternateLinks,En as build,wm as broadcastPrivate,xm as broadcastPresence,tm as broadcast,Yo as brightness,To as blur,ya as blankInertHtmlRegions,op as batchSignUrls,Ee as batch,n as autoFixA11yFile,o as autoFixA11yDirectory,m as autoFixA11y,ep as auto,e as attributeValue,Vl as assetTags,za as asInvocableStatement,qr as arrayOf,_q as applyTranslations,Pi as applyTransformations,xh as applySlots,Cm as applyPropDefaults,hp as applyPreset,bg as applyHtmlAttrs,vd as applyHead,ob as applyFilters,Gl as appendVary,Wc as apiCspPreset,y as animationGroupDirective,ej as analyzeVideo,em as analyzeUsage,zl as analyzeTemplate,Al as analyzeProject,em as analyzeDirectiveUsage,Db as analyticsDirective,Qn as addStore,Pn as addPage,_c as addNonceToInlineContent,Rn as addLayout,On as addComponent,Cn as actionRedirectResponse,Q as abortNavigation,p as a11yDirective,Ve as __setSignalsGeneratorsForTest,Vf as __setBuildIdForTest,Xi as VideoProcessorCache,jh as Validator,s as TransitionType,u as TransitionEase,t as TransitionDirection,zc as Tokenizer,Xn as TemplateTypeChecker,wn as TEMPLATE_PRESETS,ic as StxValidationError,ec as StxSyntaxError,gc as StxSecurityError,fc as StxRuntimeError,hc as StxFileError,dc as StxError,Eq as Show,he as SUSPENSE_RESOLVER_RUNTIME,ja as STX_RUNTIME_GLOBALS,Qa as STX_AUTO_IMPORTS,Ja as STATE_DIR_ENV_VAR,B as SPRING_PRESETS,Dl as SPA_NAV_HEADER,sa as RUNTIME_OWNED_COLON_ATTRS,ua as RUNTIME_HANDLED_X_ATTRS,Eb as RESPONSE_STATUS_KEY,Fb as RESPONSE_HEADERS_KEY,oa as REACTIVE_RUNTIME_GLOBALS,Dn as ProductionBuild,Gq as Portal,Mn as PROJECT_TEMPLATES,gp as PRESETS,na as NON_CLIENT_PRIMITIVES,Co as MemorySessionStore,$h as MIME_TYPES,Yh as MEDIA_DEFAULT_WIDTHS,_h as MEDIA_DEFAULT_FORMATS,Ol as LAYOUT_TYPES_FILE,Mi as ImageProcessorCache,Bk as ImageProcessingError,xo as HydrationRuntime,Jj as HotReloadServer,ha as HeatmapAggregator,Zf as HTML_CLASS_MARKER,Yf as HTML_ATTRS_MARKER,xq as Fragment,Fq as For,El as FRAGMENT_CACHE_CONTROL,qc as ErrorLogger,Wb as ErrorCodes,Rj as EXTERNALIZED_ASSET_DIR,nk as DeployError,ok as DEFAULT_WIDTHS,v as DEFAULT_TRANSITION_OPTIONS,Ia as DEFAULT_STATE_DIR,qk as DEFAULT_QUALITY,pi as DEFAULT_PLACEHOLDER_OPTIONS,pk as DEFAULT_FORMATS,Zh as DEFAULT_DPR_VALUES,oo as ComponentHMRHandler,ka as COMPONENT_SCOPE_LOCAL_GLOBALS,wa as COMPONENT_PASSTHROUGH_X_ATTRS,ma as COMPILE_TIME_ONLY_GLOBALS,hi as COMMON_SIZES,Mf as COLOR_MODE_BOOT_MARKER,Nf as COLOR_MODE_BOOT_GLOBAL,Xf as CLOAK_STYLE,Am as BroadcastServer,zm as Broadcast,Sf as BUILD_ID_META,Tf as BUILD_ID_HEADER,Ra as BROWSER_CORE_IMPORTS,qi as BLUR_UP_CSS,va as ALPINE_BRIDGE_X_ATTRS,Qq as $path};
2
+ import{$ as ll,$a as cn,$b as vo,$c as vp,$d as vq,A as Xj,Aa as nm,Ab as Pn,Ac as Wo,Ad as Wp,Ae as ar,B as Yj,Ba as om,Bb as Qn,Bc as Xo,Bd as Xp,Be as br,C as Zj,Ca as Bm,Cb as Rn,Cc as Yo,Cd as Yp,Ce as cr,D as _j,Da as Cm,Db as Sn,Dc as Zo,Dd as Zp,De as dr,E as Qk,Ea as Dm,Eb as Tn,Ec as _o,Ed as _p,Ee as er,F as Rk,Fa as Em,Fb as Un,Fc as $o,Fd as $p,Fe as fr,G as Sk,Ga as Fm,Gb as Vn,Gc as ap,Gd as aq,Ge as gr,H as Tk,Ha as Jm,Hb as Wn,Hc as bp,Hd as bq,He as hr,I as Uk,Ia as Km,Ib as Xn,Ic as cp,Id as cq,Ie as ir,J as Vk,Ja as Lm,Jb as Yn,Jc as dp,Jd as dq,Je as jr,K as Wk,Ka as Mm,Kb as Zn,Kc as ep,Kd as eq,Ke as kr,L as Xk,La as Nm,Lb as _n,Lc as fp,Ld as fq,Le as lr,M as Yk,Ma as Om,Mb as $n,Mc as gp,Md as gq,Me as mr,N as Zk,Na as Pm,Nb as ho,Nc as hp,Nd as hq,Ne as nr,O as _k,Oa as Qm,Ob as io,Oc as ip,Od as iq,Oe as or,P as $k,Pa as Rm,Pb as jo,Pc as jp,Pd as jq,Pe as pr,Q as al,Qa as Sm,Qb as ko,Qc as kp,Qd as kq,Qe as qr,R as bl,Ra as Tm,Rb as lo,Rc as lp,Rd as lq,Re as rr,S as cl,Sa as Um,Sb as mo,Sc as mp,Sd as mq,Se as sr,T as dl,Ta as Vm,Tb as no,Tc as np,Td as nq,Te as tr,U as el,Ua as Wm,Ub as oo,Uc as op,Ud as oq,Ue as ur,V as fl,Va as Xm,Vb as po,Vc as pp,Vd as pq,Ve as vr,W as gl,Wa as Ym,Wb as qo,Wc as qp,Wd as qq,We as wr,X as hl,Xa as _m,Xb as ro,Xc as rp,Xd as rq,Xe as xr,Y as il,Ya as $m,Yb as so,Yc as sp,Yd as sq,Z as jl,Za as an,Zb as to,Zc as tp,Zd as tq,_ as kl,_a as bn,_b as uo,_c as up,_d as uq,aa as ml,ab as dn,ac as wo,ad as wp,ae as wq,ba as nl,bb as en,bc as xo,bd as xp,be as xq,ca as ol,cb as fn,cc as yo,cd as yp,ce as yq,da as pl,db as gn,dc as zo,dd as zp,de as zq,ea as ql,eb as hn,ec as Ao,ed as Ap,ee as Aq,fa as rl,fb as jn,fc as Bo,fd as Bp,fe as Bq,ga as sl,gb as kn,gc as Co,gd as Cp,ge as Cq,ha as tl,hb as ln,hc as Do,hd as Dp,he as Dq,ia as ul,ib as mn,ic as Eo,id as Ep,ie as Eq,ja as vl,jb as nn,jc as Fo,jd as Fp,je as Fq,ka as wl,kb as on,kc as Go,kd as Gp,ke as Gq,la as xl,lb as pn,lc as Ho,ld as Hp,le as Hq,ma as yl,mb as qn,mc as Io,md as Ip,me as Iq,na as zl,nb as rn,nc as Jo,nd as Jp,ne as Jq,o as a,oa as Al,ob as un,oc as Ko,od as Kp,oe as Qq,p as Ij,pa as cm,pb as vn,pc as Lo,pd as Lp,pe as Rq,q as Jj,qa as dm,qb as wn,qc as Mo,qd as Mp,qe as Sq,r as Kj,ra as em,rb as xn,rc as No,rd as Np,re as Tq,s as Lj,sa as fm,sb as Dn,sc as Oo,sd as Op,se as Uq,t as Mj,ta as gm,tb as En,tc as Po,td as Pp,te as Vq,u as Nj,ua as hm,ub as Fn,uc as Qo,ud as Qp,ue as Wq,v as Oj,va as im,vb as Gn,vc as Ro,vd as Rp,ve as Xq,w as Pj,wa as jm,wb as Ln,wc as So,wd as Sp,we as Yq,x as Qj,xa as km,xb as Mn,xc as To,xd as Tp,xe as Zq,y as Vj,ya as lm,yb as Nn,yc as Uo,yd as Up,ye as _q,z as Wj,za as mm,zb as On,zc as Vo,zd as Vp,ze as $q}from"./chunk-rnr9ffy1.js";import{$e as ck,Ye as $j,Ze as ak,_e as bk,af as dk,bf as ek,cf as fk,df as gk,ef as hk,ff as ik,gf as jk,hf as kk,if as lk,jf as mk,kf as nk}from"./chunk-jy6madxa.js";import{lf as Ek,mf as Fk,nf as Gk,of as Hk,pf as Ik,qf as Jk,rf as Kk,sf as Lk,tf as Mk,uf as Nk,vf as Ok,wf as Pk}from"./chunk-shh4byc3.js";import{Af as eo,Bf as fo,Cf as go,xf as ao,yf as bo,zf as co}from"./chunk-p5mr2984.js";import{Df as sn,Ef as tn}from"./chunk-vzskgbqj.js";import{Ff as yn}from"./chunk-kvqkkwnd.js";import{Gf as Sl,Hf as Tl,If as Ul,Jf as Vl,Kf as Yl,Lf as am}from"./chunk-eavhvfzr.js";import{Mf as Wl,Pf as Xl}from"./chunk-380tnd2y.js";import{$f as tm,Xf as pm,Yf as qm,Zf as rm,_f as sm,ag as um,bg as vm,cg as wm,dg as xm,eg as ym,fg as zm,gg as Am}from"./chunk-d19bydks.js";import{hg as Ck,ig as Dk}from"./chunk-1p0r6k2f.js";import{jg as bm}from"./chunk-c2xhf8re.js";import{kg as Gm,lg as Hm,mg as Im,ng as Zm,og as zn,pg as An,qg as Bn,rg as Cn,sg as Hn,tg as In,ug as Jn,vg as Kn}from"./chunk-3k3vrnk0.js";import{Ag as Fl,Bg as Gl,Cg as Hl,Dg as Il,Eg as Jl,Fg as Kl,Gg as Ll,Hg as Ml,Ig as Nl,Jg as Zl,Kg as _l,Lg as $l,wg as Bl,xg as Cl,yg as Dl,zg as El}from"./chunk-b7tw429a.js";import{Mg as Xi,Ng as Yi,Og as Zi,Pg as _i,Qg as $i,Rg as aj,Sg as bj,Tg as cj,Ug as dj,Vg as ej,Wg as fj}from"./chunk-n3tj3h1q.js";import{Xg as xj,Zg as yj}from"./chunk-cs1dc1n7.js";import{dh as ok,eh as pk,fh as qk,gh as rk,hh as sk,ih as tk,jh as uk,lh as vk,mh as wk,nh as xk,oh as yk,ph as zk,qh as Ak,th as Bk}from"./chunk-9228drk4.js";import{uh as hh,vh as ih,wh as jh,xh as kh}from"./chunk-tv4n71jy.js";import{Ch as lh}from"./chunk-rbke5wqk.js";import{Dh as sh,Eh as th,Fh as uh,Gh as vh,Hh as wh,Ih as xh}from"./chunk-vgmc978e.js";import{Jh as Mi,Kh as Ni,Lh as Oi,Ph as Pi,Qh as Qi,Rh as Ri}from"./chunk-78bpc81t.js";import{$h as Ki,Sh as Ci,Th as Di,Uh as Ei,Vh as Fi,Wh as Gi,Yh as Hi,Zh as Ii,_h as Ji,ai as Li}from"./chunk-j93x5fzs.js";import{bi as sg,ci as tg,di as ug,ei as vg,fi as wg,gi as xg}from"./chunk-ntnv2f7a.js";import{hi as yg,ii as zg,ji as Ag,ki as Bg,li as Cg}from"./chunk-1gdzz04h.js";import{mi as Dg,ni as Eg,oi as Fg,pi as Gg,qi as Hg}from"./chunk-ssfhndm6.js";import{ri as Ig,si as Jg,ti as Kg,ui as Lg,vi as Mg,wi as Ng,xi as Og}from"./chunk-94fee5jw.js";import{Ai as Rg,Bi as Sg,Ci as Tg,Di as Ug,yi as Pg,zi as Qg}from"./chunk-pv9at6r1.js";import{Fi as Vg,Gi as Wg,Hi as Xg,Ii as Yg,Ji as Zg,Ki as _g,Li as $g,Mi as ah,Ni as bh,Oi as ch,Pi as dh,Qi as eh,Ri as fh,Si as gh}from"./chunk-dq88kv1p.js";import{Ui as mg,Vi as ng}from"./chunk-jvs7azc8.js";import{Yi as og}from"./chunk-z5ecweqg.js";import"./chunk-ht51fz7w.js";import{aj as pg}from"./chunk-fvjh7rx0.js";import{bj as qg,cj as rg}from"./chunk-b6jhznkh.js";import{dj as fe,ej as ge,fj as he,gj as ie,hj as je,ij as ke,jj as le,kj as me,lj as ne,mj as oe,nj as pe,oj as qe,pj as re,qj as se}from"./chunk-4heeeaef.js";import{rj as Pe,sj as Qe}from"./chunk-g553n48p.js";import{Aj as Ce,Bj as De,Cj as Ee,Dj as Fe,Ej as Ge,Fj as He,Gj as Ie,Hj as Je,Ij as Ke,Jj as Le,Kj as Me,Lj as Ne,Mj as Oe,zj as Be}from"./chunk-nhmq45hh.js";import{Nj as Re,Oj as Se,Pj as Te,Qj as Ue,Rj as Ve,Sj as We,Tj as Xe,Uj as Ye,Vj as Ze,Wj as _e,Xj as $e}from"./chunk-dq48z0r7.js";import{pk as Kq,qk as Lq,rk as Mq,sk as Nq,tk as Oq,uk as Pq}from"./chunk-ggghr7tk.js";import{Ak as Pl,Bk as Ql,Ck as Rl,vk as Rj,wk as Sj,xk as Tj,yk as Uj,zk as Ol}from"./chunk-b212gjes.js";import"./chunk-frp9fc7j.js";import"./chunk-r84h7wxw.js";import{$m as Wb,$n as Wc,$o as Ae,$p as Jf,$q as Yh,$r as zj,Al as da,An as vc,Ao as Ld,Ap as hf,Aq as ig,Ar as xi,Bl as ea,Bm as xb,Bn as wc,Bo as Md,Bp as jf,Bq as jg,Br as yi,Cl as fa,Cm as yb,Cn as xc,Co as Nd,Cp as kf,Cq as kg,Cr as zi,Dl as ga,Dm as zb,Dn as yc,Do as Od,Dp as lf,Dq as lg,Dr as Ai,El as ha,Em as Ab,En as zc,Eo as Pd,Ep as mf,Eq as mh,Er as Bi,Fl as ia,Fm as Bb,Fn as Ac,Fo as Qd,Fp as nf,Fq as nh,Fr as Si,Gm as Cb,Gn as Bc,Go as Rd,Gp as of,Gq as oh,Gr as Ti,Hm as Db,Hn as Cc,Ho as Sd,Hp as pf,Hq as ph,Hr as Ui,Il as za,In as Dc,Io as Td,Ip as qf,Iq as qh,Ir as Vi,Jl as Aa,Jm as Eb,Jn as Ec,Jo as Ud,Jp as rf,Jq as rh,Jr as Wi,Kl as Ba,Km as Fb,Kn as Fc,Ko as Vd,Kp as sf,Kq as yh,Kr as gj,Ll as Ca,Lm as Gb,Ln as Gc,Lo as Wd,Lp as tf,Lq as zh,Lr as hj,Ml as Da,Mm as Hb,Mn as Hc,Mo as Xd,Mp as uf,Mq as Ah,Mr as ij,Nm as Ib,Nn as Ic,No as Yd,Np as vf,Nq as Bh,Nr as jj,Om as Jb,On as Jc,Oo as Zd,Op as wf,Oq as Ch,Or as kj,Pl as Ga,Pm as Kb,Pn as Kc,Po as _d,Pp as xf,Pq as Dh,Pr as lj,Ql as Ha,Qm as Lb,Qn as Lc,Qo as $d,Qp as yf,Qq as Eh,Qr as mj,Rl as Ia,Rm as Mb,Rn as Mc,Ro as ae,Rp as zf,Rq as Fh,Rr as nj,Sl as Pa,Sm as Nb,Sn as Nc,So as be,Sp as Af,Sq as Gh,Sr as oj,Tl as Qa,Tm as Ob,Tn as Oc,To as ce,Tp as Bf,Tq as Hh,Tr as pj,Ul as Ra,Um as Pb,Un as Pc,Uo as de,Up as Cf,Uq as Ih,Ur as qj,Vl as Sa,Vm as Qb,Vn as Qc,Vo as ee,Vp as Df,Vq as Jh,Vr as rj,Wl as Ta,Wm as Rb,Wn as Rc,Wp as Ef,Wq as Kh,Wr as sj,Xl as Ua,Xm as Sb,Xn as Sc,Xo as ye,Xp as Ff,Xq as Lh,Xr as tj,Yl as Va,Ym as Tb,Yn as Tc,Yp as Gf,Yq as Mh,Yr as uj,Zl as Wa,Zm as Ub,Zn as Uc,Zp as Hf,Zq as Nh,Zr as vj,_l as Xa,_m as Vb,_n as Vc,_o as ze,_p as If,_q as Oh,_r as wj,an as Xb,ao as Xc,aq as Kf,ar as Zh,as as Aj,bn as Yb,bo as Yc,bp as af,bq as Lf,br as _h,bs as Bj,cn as Zb,co as Zc,cq as Mf,cr as $h,cs as Cj,dm as Ya,dn as _b,do as _c,dq as Nf,dr as ai,ds as Dj,em as Za,en as $b,eo as $c,eq as Of,er as bi,es as Ej,fm as _a,fn as ac,fo as ad,fq as Pf,fr as ci,fs as Fj,gm as $a,gn as bc,go as bd,gq as Qf,gr as di,gs as Gj,hm as ab,hn as cc,ho as cd,hq as Rf,hr as ei,hs as Hj,il as s,im as bb,in as dc,io as dd,iq as Sf,ir as fi,jl as t,jn as ec,jo as ed,jq as Tf,jr as gi,kl as u,kn as fc,ko as fd,kq as Uf,kr as hi,ll as v,lm as cb,ln as gc,lo as gd,lq as Vf,lr as ii,ml as w,mm as db,mn as hc,mo as hd,mq as Wf,mr as ji,nl as x,nm as eb,nn as ic,no as id,nq as Xf,nr as ki,ol as y,om as fb,on as jc,oo as zd,oq as Yf,or as li,pl as z,pm as gb,pn as kc,po as Ad,pq as Zf,pr as mi,ql as A,qm as hb,qn as lc,qo as Bd,qq as _f,qr as ni,rl as B,rm as ib,rn as mc,ro as Cd,rq as $f,rr as oi,sl as C,sm as jb,sn as nc,so as Dd,sp as bf,sq as ag,sr as pi,tl as D,tm as kb,tn as oc,to as Ed,tq as bg,tr as qi,ul as E,um as lb,un as pc,uo as Fd,up as cf,uq as cg,ur as ri,vl as F,vm as mb,vn as qc,vo as Gd,vq as dg,vr as si,wl as G,wm as nb,wn as rc,wo as Hd,wp as df,wq as eg,wr as ti,xl as H,xm as ob,xn as sc,xo as Id,xp as ef,xq as fg,xr as ui,yl as I,ym as pb,yn as tc,yo as Jd,yp as ff,yq as gg,yr as vi,zl as J,zm as qb,zn as uc,zo as Kd,zp as gf,zq as hg,zr as wi}from"./chunk-a0sagjwy.js";import{is as d,js as e,ks as f,ls as g,ms as h,ns as i,os as j,ps as k,qs as l,rs as m,ss as n,ts as o,us as p,vs as q,ws as r}from"./chunk-092sm06a.js";import{As as Sh,Bs as Th,Cs as Uh,Ds as Vh,Es as Wh,Fs as Xh,xs as Ph,ys as Qh,zs as Rh}from"./chunk-19m7hed6.js";import{Gs as b,Hs as c}from"./chunk-nhn7qftp.js";import{Is as Ea,Js as Fa}from"./chunk-mv2v3g62.js";import{Ks as rb,Ls as sb,Ns as tb,Xs as ub,Ys as vb,Zs as wb}from"./chunk-7q6abr68.js";import{$s as ue,_s as te,at as ve,bt as we,et as xe}from"./chunk-2qkasmq1.js";import{ft as Ja,gt as Ka,ht as La,it as Ma,jt as Na,kt as Oa}from"./chunk-1px4xey5.js";import{At as yd,lt as jd,mt as kd,nt as ld,ot as md,pt as nd,qt as od,rt as pd,st as qd,tt as rd,ut as sd,vt as td,wt as ud,xt as vd,yt as wd,zt as xd}from"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import{Dt as ja,Et as ka,Ft as la,Gt as ma,Ht as na,It as oa,Jt as pa,Kt as qa,Lt as ra,Mt as sa,Nt as ta,Ot as ua,Pt as va,Qt as wa,Rt as xa,St as ya}from"./chunk-ax56kn66.js";import{Au as ca,Wt as K,Xt as L,_t as M,du as N,eu as O,ku as P,lu as Q,mu as R,nu as S,ou as T,pu as U,qu as V,ru as W,su as X,tu as Y,uu as Z,vu as _,wu as $,xu as aa,yu as ba}from"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{jk as writeNetlifyConfig,_l as writeManifest,Ok as writeImageManifest,qo as wrapComponentForHMR,kr as withDefaults,wj as webComponentDirectiveHandler,fp as watermark,hq as watchViews,Yk as watchMultiple,Zk as watchEffect,Xk as watch,xe as warmImagePlaceholders,kl as waitForStore,Yd as waitForLocale,bo as virtualPathFor,jj as videoDirective,tc as validators,or as validated,Kd as validateValueEnhanced,nh as validateTemplate,kp as validateParams,Ld as validateFormEnhanced,Yp as validateFile,Gd as validateFields,Fd as validateField,ph as validateDirective,dd as validateCspDirectives,Ej as validateConfig,dm as validateComponentScripts,Bm as validateComponentProps,lg as validateClientScript,kh as v,jb as usesSignalsInScript,pa as usesReactiveRuntime,Ch as userComponentFileExists,Sg as useVirtualList,rd as useTitle,jl as useStoreOrThrow,Io as useStore,Vj as useStorage,sq as useSlots,Xj as useSessionStorage,od as useSeoMeta,ll as useRouteParams,nl as useRouteParamOrThrow,ml as useRouteParam,rd as usePageTitle,Oe as useOptimistic,pl as useMiddlewareValue,ol as useMiddlewareState,Wj as useLocalStorage,jo as useLoadingIndicator,md as useHead,hh as useForm,uq as useAttrs,_p as uploadFiles,Zp as uploadFile,gl as updateInstance,Me as untrack,Sh as unregisterDirective,hl as unmountInstance,qb as unescapeHtml,fo as typecheckStxFiles,Bh as transpileTypeScript,Zq as translate,w as transitionDirective,vm as toUsers,um as toUser,Qo as thumbnail,Rp as thumbHashToRGBA,Sp as thumbHashToDataURL,ra as templateNeedsRuntime,qa as templateHasReactiveContext,Re as templateCache,Mb as syncRecordedResponse,no as stxClientHelpers,wf as structuredDataDirective,ar as stripLocalePrefix,Ll as stripDocumentWrapper,Fa as stripCommentsAndLiterals,hn as stringToStream,Tc as strictCspPreset,ne as streamingSuspenseDirective,re as streamToResponse,le as streamTemplateSimple,fe as streamTemplate,Qj as stopHmrServer,rm as stopBroadcasting,Ma as stateDirName,Na as stateDir,Be as state,fg as startsDocument,Kn as startProductionServer,yn as startInteractive,qm as startBroadcasting,cr as stampLocaleLayoutGroup,D as staggerDirective,ip as srcsetUrls,E as springDirective,Cc as splitByPipe,Hl as spaNavVaryHeaders,co as sourcePathFor,pp as smartBatchSign,Eh as slotContentHasExpressions,np as signUrl,zh as shouldTranspileTypeScript,Nj as shouldReloadOnChange,sp as shouldRefreshSignature,Oj as shouldIgnoreFile,Kg as shouldCacheComponent,Uo as sharpen,rr as shape,La as setStateDir,tl as setRouteParams,ul as setMiddlewareState,we as setImagePlaceholder,mq as setGlobalProvide,Qb as setErrorLocale,Qk as setCurrentInstance,Zi as setCachedVideoResult,Oi as setCachedImageResult,Ii as setCached,ur as serveStxFile,wr as serveMultipleStxFiles,Ij as serveMarkdownFile,Un as serveFile,xr as serveApp,Tn as serve,to as serializeState,Zm as serializeSetCookie,Wo as sepia,pd as seoMetaToHeadConfig,x as scrollAnimateDirective,q as screenReaderDirective,nj as scopeHTML,mj as scopeCSS,zf as scanForSitemapEntries,k as scanA11yTargets,l as scanA11yIssues,_o as saturation,lp as sanitizeParams,vc as sanitizeFilePath,wc as sanitizeExpression,xc as sanitizeDirectiveParams,uc as sanitizeDirectiveParam,yc as sanitizeComponentProps,oc as safeExecuteAsync,nc as safeExecute,xa as runtimeHandledXAttrsLiteral,pf as runPreProcessingMiddleware,qf as runPostProcessingMiddleware,Bn as runPageAction,He as runMountCallbacks,ba as runMiddleware,el as runHooks,Sq as runDoctor,Ie as runDestroyCallbacks,Ef as runComposers,$o as rotate,lh as rewriteImagesWithSiblings,Nb as responseBindings,Ih as resolveTemplatePath,c as resolveStxTargets,Aj as resolveStxDirectories,Yq as resolveI18n,Oo as resize,Ya as resetPlaceholders,ld as resetHead,so as resetHMRHandler,bc as resetErrorConfig,mr as required,ab as replacePlaceholders,fq as renderView,gj as renderVideoComponent,Qa as renderVendorStyleTags,Bq as renderToString,Cq as renderToStream,Dq as renderToDOM,Qp as renderThumbhashToCanvas,Pq as renderTemplateString,Nq as renderTemplate,Oq as renderString,ie as renderStreamingPage,uh as renderSlot,Ag as renderSSRSuspense,Ap as renderProtectedVideo,zp as renderProtectedImg,mp as renderMediaUpload,Mq as renderMarkdownView,Ql as renderLayoutTypes,Si as renderImgComponent,Ek as renderImageComponent,td as renderHtmlAttrs,sd as renderHead,iq as renderEmail,Gh as renderComponentWithSlot,ud as renderBodyAttrs,Do as render,Vc as relaxedCspPreset,Ed as registerValidationRule,pe as registerStreamingDirectives,Ko as registerStoresClient,rl as registerStore,xf as registerSeoDirectives,V as registerMiddleware,eb as registerFilters,db as registerFilter,Sb as registerErrorMessages,Jd as registerEnhancedValidationRule,Ph as registerDirective,cd as registerCspDirectives,Em as registerComponentDirectives,J as registerAnimationDirectives,r as registerA11yDirectives,Uk as ref,qn as redirect,Ib as recordResponseStatus,Jb as recordResponseHeader,Oa as rebaseOntoStateDir,Kb as readResponseStatus,Lb as readResponseHeaders,Gj as readMarkdownFile,Se as readFileCached,Vk as reactive,dp as quality,xp as pruneSignatureCache,Li as pruneCache,kq as provide,Lq as protectCodeBlocks,lr as prop,If as processVueTemplate,Qg as processVirtualListDirectives,Ug as processVirtualGridDirectives,fj as processVideo,Hd as processValidateDirective,de as processTranslateDirective,ug as processTransitionDirectives,xg as processTransitionAttributes,xd as processTitleDirective,Ab as processTemplateBindings,qg as processTeleportDirectives,yg as processSuspenseDirectives,sf as processStructuredData,je as processStreamDirectives,Ob as processStatusDirective,fh as processStaticDirectives,nf as processStackReplacements,mf as processStackPushDirectives,vh as processSlots,Jl as processShell,Gf as processServerBindings,tf as processSeoDirective,qe as processSectionDirectives,Lf as processScopedStyles,yb as processReactiveBindings,Bp as processProtectedMedia,_g as processPartialHydrationDirectives,kg as processOnceDirective,of as processMiddleware,rf as processMetaDirectives,yd as processMetaDirective,Hj as processMarkdownFileDirectives,Nh as processMarkdownDirectives,gf as processLoops,Ig as processKeepAliveDirectives,jg as processJsonDirective,Tg as processInfiniteListDirectives,lf as processIncludes,Ui as processImgComponents,Gk as processImageComponents,tk as processImage,wd as processHeadDirective,Ad as processForms,Cd as processFormInputDirectives,nb as processExpressions,Ca as processEventDirectives,Dd as processErrorDirective,Jf as processDynamicComponents,mh as processDirectives,Xh as processDirectiveAttributes,pg as processDeferDirectives,hd as processCustomDirectives,$c as processCspDirectives,sr as processComponentProps,Xa as processClientScript,Bd as processBasicFormDirectives,Dg as processAsyncDirectives,id as processAppearanceBootstrapDirective,A as processAnimationDirectives,f as processA11yDirectives,Ud as preloadTranslationsBackground,Td as preloadTranslations,io as preloadIslandHandlers,ye as preloadIconCollection,mm as poolStrings,yj as pluginManager,ue as placeholdersWarmed,tg as performLeave,sg as performEnter,Je as pendingLifecycleCounts,Ne as peek,hf as partialsCache,hj as parseVideoDirectiveOptions,Mo as parseUrl,Tp as parseThumbhashString,Ic as parseSwitchBlock,sh as parseSlots,th as parseSlotElement,Nc as parseScriptDeclarations,uj as parseSFCComponent,Cp as parseProtectedArgs,ff as parseLoopBinding,Ti as parseImgComponent,ji as parseImageUrl,Fk as parseImageComponent,zn as parseFormBody,Kc as parseExpressionWithFilters,nn as parseCookies,Jm as parseContainerSelector,Fc as parseConditionalBlock,Lc as parseArguments,H as parseAnimationShorthand,nr as optional,nm as optimizeTemplate,Lk as optimizeImage,Mk as optimizeDirectory,pr as oneOf,jf as onceStore,bl as onUpdated,xb as onUpdate,dl as onUnmounted,yl as onServer,$k as onMounted,Fe as onMount,eh as onHydrated,qq as onErrorCaptured,Ge as onDestroy,Og as onDeactivated,xl as onClient,al as onBeforeUpdate,cl as onBeforeUnmount,_k as onBeforeMount,Ng as onActivated,Mp as observeElement,rn as notFound,Qf as normalizeCriticalHeadOrder,pq as nextTick,Hm as negotiateEncoding,P as navigateTo,fl as mountInstance,z as motionDirective,Uc as moderateCspPreset,lm as minifyHtml,vf as metaDirective,_f as metaDedupKey,No as mergeParams,ag as mergeHtmlAttrs,nd as mergeHeadConfigs,Yc as mergeCspDirectives,sb as mergeCrosswindConfig,M as matchRoute,Oh as markdownDirectiveHandler,Fj as markdownCache,b as looksLikeGlob,$q as localizePath,Vd as loadTranslationLazy,$d as loadTranslation,Bj as loadStxConfig,_ as loadMiddlewareFromDirectory,$l as loadManifest,Ip as loadElement,sm as loadChannels,gr as lintStxStrict,Kp as lazyLoadAll,Jp as lazyLoad,C as keyframeDirective,zq as jsxs,Aq as jsxDEV,yq as jsx,pn as jsonResponse,oe as islandDirective,_b as isTest,Ml as isSpaNavigation,Fl as isSpaNavRequest,qp as isSignatureValid,Ke as isSignal,rk as isSharpAvailable,an as isServerEnvironment,vl as isServer,ta as isRuntimeOwnedColonAttr,Yb as isProduction,d as isPresentationalRole,Fp as isNativeLazySupported,Kq as isMarkdownPath,Rd as isLoading,Sd as isLoaded,yh as isJavaScriptScript,Gp as isIntersectionObserverSupported,zk as isImageFile,sk as isImageBackendAvailable,be as isICUFormat,dh as isHydrated,Dh as isHydrateTrigger,Gb as isHttpStatus,$m as isEdgeEnvironment,hr as isDirectiveKind,Zb as isDevelopment,Le as isDerived,Mj as isCssOnlyChange,Gm as isCompressible,wl as isClient,Fg as isAsyncComponent,An as isActionableMethod,Xo as invert,Ue as invalidateFileCacheByDir,Te as invalidateFileCache,mb as interpolateScriptsInTemplate,kb as interpolateScriptExpressions,lb as interpolateScriptAttributes,kc as inlineError,Xq as injectThemeBootstrap,uf as injectSeoTags,Uq as injectSeo,af as injectRouterScript,Lj as injectHotReload,fa as injectHeatmap,Zc as injectCspMetaTag,wb as injectCrosswindCSS,hg as injectConfigHeadTags,Pf as injectColorModeBootScript,cg as injectCloakStyle,Wf as injectBuildId,Sa as injectBrowserCoreAutoImports,Cb as injectAnalytics,lq as inject,ql as initStoreRegistry,mk as initNetlify,ko as initLoadingIndicator,Hp as initLazyLoading,xn as initFile,Pp as initBlurUp,Vp as initAllBlurUp,Wi as imgDirective,Jk as imageDirective,In as hydrateTemplateStream,Hn as hydrateTemplate,ho as hydrateIslands,ah as hydrateIsland,Jn as hydrateFragment,bh as hydrateByStrategy,ch as hydrateAll,Ao as hydrate,Sn as htmlResponse,dg as hoistLeadingHeadTags,Rf as hoistColorModeBootScript,ga as heatmapDirective,Ei as hashString,$e as hashFilePath,Ci as hashFile,Di as hashBuffer,Hf as hasVueTemplateSyntax,ef as hasVariables,Fo as hasStore,bb as hasPlaceholders,kk as hasNetlifyConfig,X as hasMiddleware,Da as hasEventDirectives,gg as hasDocumentShell,qh as hasDirectives,h as hasDOMSupport,Ck as handleImageRequest,rq as handleError,Hq as h,yk as groupVariantsByFormat,Vo as grayscale,Ln as gitHash,fm as getUnusedDirectives,Wd as getTranslationSync,Pd as getTranslationCacheStats,Xd as getTranslationAsync,ce as getTranslation,fk as getTotalSize,rp as getTimeUntilExpiry,mg as getStoreScript,Go as getStoreNames,Eo as getStore,_j as getStorageSize,Zj as getStorageKeys,Jh as getSourceLineInfo,Ah as getSharedTranspiler,g as getScreenReaderOnlyStyle,oj as getScopeAttribute,Ae as getRouteParams,Ha as getPublicEnvDefine,Ia as getPublicEnv,oh as getPositionInfo,_a as getPlaceholderRegistry,Bi as getPlaceholderCacheStats,kd as getPageMeta,Pc as getNonce,Ak as getMimeType,Z as getMiddlewareNames,W as getMiddleware,Qd as getLoadingState,Zd as getLoadingLocales,te as getImagePlaceholder,uk as getImageMetadata,zo as getHydrationRuntime,sl as getHydratedStoreState,Pj as getHmrServer,jd as getHead,ro as getHMRHandler,ni as getFormatExtension,Gi as getFileMtime,xk as getFallbackVariant,Ub as getErrorMessage,Rb as getErrorLocale,ac as getErrorConfig,Xb as getErrorCodeName,Rh as getDirectives,Qh as getDirective,Rk as getCurrentInstance,Xc as getCspPreset,ed as getCspHeaderName,tb as getCrosswindServeAsset,Mh as getComponentCacheStats,Yi as getCachedVideoResult,vp as getCachedSignature,We as getCachedSignalsRuntime,Xe as getCachedRouterScript,zi as getCachedPlaceholder,Ni as getCachedImageResult,Hi as getCached,Ki as getCacheStats,Uf as getBuildId,pm as getBroadcastServer,mi as getBestVariant,fb as getAllFilters,ai as generateWidthSrcset,Rg as generateVirtualListCSS,aq as generateVideoPreview,Md as generateValidationScript,bq as generateUploadRuntime,gm as generateTreeShakenBundle,wg as generateTransitionRuntime,vg as generateTransitionCSS,aj as generateThumbnails,si as generateThumbhashPlaceholder,Sm as generateTemplatesDocs,Cg as generateSuspenseRuntime,Bg as generateSuspenseCSS,uo as generateStateScript,ki as generateSrcsetData,Ri as generateSrcset,vk as generateSrcSet,bj as generateSpriteSheet,jq as generateSpaShell,li as generateSourceTags,gi as generateSizesFromBreakpoints,fi as generateSizesAttribute,wk as generateSizes,yf as generateSitemapIndex,Vq as generateSitemap,Ep as generateSimpleMediaPicker,yp as generateSignatureRuntime,Qe as generateSignalsRuntimeDev,Pe as generateSignalsRuntime,Wa as generateServerDataBridge,lj as generateScopeId,vj as generateSFCWebComponent,Aa as generateRuntimeScript,K as generateRouteTypes,L as generateRouteManifest,Af as generateRobotsTxt,Wq as generateRobots,Qi as generateResponsiveVariants,rj as generateReactiveWebComponentTS,qj as generateReactiveWebComponent,tj as generateReactiveRuntime,sj as generateReactiveMixin,$i as generatePoster,yi as generatePlaceholderStyle,xi as generatePlaceholderCSS,ri as generatePlaceholder,$g as generatePartialHydrationCSS,Oc as generateNonce,gk as generateNetlifyToml,dq as generateMinifiedMediaRuntime,cq as generateMediaRuntime,Dp as generateMediaManagerEmbed,Zl as generateManifest,mo as generateLoadingIndicatorHtml,Op as generateLazyLoadRuntime,Rl as generateLayoutTypes,ui as generateLQIP,Mg as generateKeepAliveRuntime,Lg as generateKeepAliveCSS,gh as generateIslandManifest,$p as generateImagePreview,Nk as generateImageManifest,yo as generateHydrationScript,se as generateHydrationRuntime,Bo as generateHydrationCSS,Vg as generateHydrationBootstrap,Kj as generateHotReloadScript,ea as generateHeatmapScript,po as generateHMRClientScript,cj as generateHLSManifest,vo as generateEventBindings,ei as generateDprSrcsetWithVariableQuality,di as generateDprSrcset,eg as generateDocumentShell,Xm as generateDocs,Tm as generateDirectivesDocs,Wh as generateDirectiveRuntime,Bf as generateDefaultRobotsTxt,dj as generateDASHManifest,Sc as generateCspMetaTag,Rc as generateCspHeader,vb as generateCrosswindCSS,wq as generateCompositionRuntime,Rm as generateComponentsDocs,Wg as generateComponentManifest,Pm as generateComponentDoc,wi as generateColorPlaceholder,Of as generateColorModeBootScript,il as generateClientRuntime,Fi as generateCacheKey,Ua as generateBrowserAutoImportDestructuring,Wp as generateBlurUpRuntime,Xp as generateBlurUpCSS,zb as generateBindingsRuntime,bi as generateAutoWidthSrcset,Ta as generateAutoImportDestructuring,Hg as generateAsyncComponentRuntime,Gg as generateAsyncComponentCSS,I as generateAnimationRuntime,G as generateAnimationCSS,Bb as generateAnalyticsScript,go as formatTypecheckDiagnostics,$n as formatTypeErrors,un as formatStxContent,ek as formatSize,O as formatRoutes,vn as formatMarkdownContent,Vb as formatLocalizedError,ae as formatICU,cc as formatFilePath,jc as formatError,Tq as formatDoctorReport,Um as formatDocsAsMarkdown,Wm as formatDocsAsJson,Vm as formatDocsAsHtml,cp as format,km as foldConstants,bp as flipVertical,ap as flipHorizontal,Sl as fingerprint,eo as findRuntimeTypeDeclarations,Rq as findPantryPackage,Ec as findMatchingEndTag,Ac as findMatchingDelimiter,Ea as findInterpolationEnd,Gc as findIfBlocks,Jc as findExpressions,N as findErrorPage,Hc as findDirectiveBlocks,hm as findDeadCode,hm as findDeadBranches,Km as findContainerRegion,Qm as findComponentFiles,vr as findCommonDir,dk as filterRequiredFiles,Hh as fileExists,bf as extractVariables,Xl as extractTemplateExpressions,ke as extractStreamBoundaries,wo as extractState,wh as extractSlotContent,df as extractScriptFromTemplate,Wl as extractScriptBlocks,$a as extractPlaceholders,Dc as extractParenthesizedExpression,Hb as extractPageResponseStatus,ca as extractLayoutMetadata,vi as extractDominantColor,Mc as extractDirectiveParams,rh as extractDirectiveNames,Nl as extractContainerContent,Nm as extractComponentProps,Xg as extractComponentName,Om as extractComponentDescription,ub as extractClassNames,Va as extractBridgeData,Yg as extractBoundProps,Bc as extractBalancedExpression,Pa as extractAndStripCssImports,pj as extractAndScopeStyles,Ba as extractAndProcessEvents,Tj as externalizeSharedAssets,Uj as externalizeRepeatedAssets,Sj as externalizeHtml,pb as evaluateExpression,jm as evaluateConstant,Pb as evaluateAuthExpression,ib as escapeHtmlValue,hb as escapeHtml,pc as errorRecovery,rc as errorLogger,rg as ensureTeleportTargets,ig as ensureDocumentShell,Id as enhancedValidationRules,Lm as enableDevTools,im as eliminateDeadCode,De as effect,jp as dprUrls,Ym as docsCommand,Pl as discoverLayoutNames,Np as disconnectObserver,Mm as disableDevTools,sc as devHelpers,Il as detectShell,_m as detectRuntime,hk as detectProjectConfig,oi as detectFormat,cm as detectBuildMode,Ce as derived,lk as deploy,Dj as defineStxConfig,Jo as defineStore,tq as defineSlots,fr as defineSiteConfig,jr as definePropsWithValidation,ir as defineProps,xj as definePlugin,qd as definePageMeta,R as defineMiddleware,ih as defineForm,oq as defineExpose,nq as defineEmits,Th as defineDirective,Jq as defineCustomElement,Gn as defineConfig,Uh as defineClientDirective,Eg as defineAsyncComponent,eq as defaultMediaConfig,Pk as defaultImageConfig,Nd as defaultI18nConfig,da as defaultHeatmapConfig,zd as defaultFormClasses,cb as defaultFilters,gd as defaultCspConfig,zj as defaultConfig,tr as default,rb as deepMergeThemes,Kf as dedupeScopedStyles,ti as decodeThumbhash,bd as cspNonceDirective,ad as cspDirective,Up as crossfadeTransition,Po as crop,Pg as createVirtualList,ij as createVideoDirective,ln as createVercelHandler,Yn as createTypeChecker,ee as createTranslateFilter,gn as createTextEncoderStream,Iq as createStxApp,fn as createStreamingResponse,me as createStreamRenderer,Ho as createStore,U as createStorageManager,S as createServerCookieManager,Tk as createScope,zg as createSSRSuspense,ze as createRouter,$ as createRouteLocation,Wn as createRoute,Uk as createRef,Vk as createReactive,vq as createProvideContext,Nn as createProject,Fn as createProductionBuild,Za as createPlaceholder,om as createOptimizedBuild,mn as createNetlifyHandler,$j as createNetlifyClient,aa as createMiddlewareContext,Vn as createMiddleware,Lp as createLazyObserver,Jg as createKeepAliveCache,cn as createKVNamespace,Zg as createIslandRegistry,Vi as createImgDirective,Kk as createImagePlugin,Dk as createImageHandler,Ik as createImageDirective,ia as createHeatmapAggregator,ck as createFileManifest,bn as createEnvAccessor,mc as createEnhancedError,en as createEdgeHandler,dn as createEdgeCache,Kh as createDetailedErrorMessage,kn as createDenoHandler,ik as createDefaultNetlifyConfig,fd as createCspHeaders,on as createCookie,Wk as createComputed,Sk as createComponentInstance,jn as createCloudflareHandler,T as createClientCookieManager,Vh as createBuiltinDirectives,Iq as createApp,F as createAnimationTimeline,So as cover,cf as convertToCommonJS,Zo as contrast,Ro as contain,lc as consoleError,$b as configureErrorHandling,Cj as config,Wk as computed,Im as compressResponse,Df as composerPattern,Cf as composer,Kl as composeShellWithPage,Dm as componentDirective,Fh as componentClientSignalNames,Yl as compileTemplate,a as collectRepeatedFlag,bk as collectDeployFiles,_i as clearVideoCache,Od as clearTranslationCache,ng as clearStoreCache,Yj as clearStorage,wp as clearSignatureCache,Ai as clearPlaceholderCache,kf as clearOnceStore,Qc as clearNonce,Y as clearMiddleware,ve as clearImagePlaceholders,Hk as clearImageCache,Tb as clearErrorMessages,Ye as clearDevCaches,gb as clearCustomFilters,Ff as clearComposers,og as clearComposableCache,Lh as clearComponentCache,Ji as clearCache,lo as cleanupLoadingIndicator,Bl as classifyScript,Cl as classifyAllScripts,Zn as checkTemplateFile,_n as checkTemplate,Ze as checkCache,tp as checkAuthAccess,i as checkA11yWithRegex,j as checkA11y,ym as channel,tn as captureScreenshots,sn as captureScreenshot,_d as cancelPendingLoads,ak as calculateSha1,ci as calculateOptimalWidths,_e as cacheTemplate,kj as buildWebComponents,ao as buildVirtualSource,gq as buildViews,Lo as buildUrl,ge as buildSuspenseResolveScript,er as buildStaticSite,la as buildRuntimeGlobalsDestructure,Tl as buildRuntimeAsset,Ul as buildRouterAsset,dr as buildLangPickerScript,ii as buildImageUrl,$f as buildHtmlAttrs,am as buildForProduction,Fm as buildComponentLibrary,up as buildAuthParams,bm as buildApp,br as buildAlternateLinks,En as build,wm as broadcastPrivate,xm as broadcastPresence,tm as broadcast,Yo as brightness,To as blur,ya as blankInertHtmlRegions,op as batchSignUrls,Ee as batch,n as autoFixA11yFile,o as autoFixA11yDirectory,m as autoFixA11y,ep as auto,e as attributeValue,Vl as assetTags,za as asInvocableStatement,qr as arrayOf,_q as applyTranslations,Pi as applyTransformations,xh as applySlots,Cm as applyPropDefaults,hp as applyPreset,bg as applyHtmlAttrs,vd as applyHead,ob as applyFilters,Gl as appendVary,Wc as apiCspPreset,y as animationGroupDirective,ej as analyzeVideo,em as analyzeUsage,zl as analyzeTemplate,Al as analyzeProject,em as analyzeDirectiveUsage,Db as analyticsDirective,Qn as addStore,Pn as addPage,_c as addNonceToInlineContent,Rn as addLayout,On as addComponent,Cn as actionRedirectResponse,Q as abortNavigation,p as a11yDirective,Ve as __setSignalsGeneratorsForTest,Vf as __setBuildIdForTest,Xi as VideoProcessorCache,jh as Validator,s as TransitionType,u as TransitionEase,t as TransitionDirection,zc as Tokenizer,Xn as TemplateTypeChecker,wn as TEMPLATE_PRESETS,ic as StxValidationError,ec as StxSyntaxError,gc as StxSecurityError,fc as StxRuntimeError,hc as StxFileError,dc as StxError,Eq as Show,he as SUSPENSE_RESOLVER_RUNTIME,ja as STX_RUNTIME_GLOBALS,Ra as STX_AUTO_IMPORTS,Ka as STATE_DIR_ENV_VAR,B as SPRING_PRESETS,Dl as SPA_NAV_HEADER,sa as RUNTIME_OWNED_COLON_ATTRS,ua as RUNTIME_HANDLED_X_ATTRS,Eb as RESPONSE_STATUS_KEY,Fb as RESPONSE_HEADERS_KEY,oa as REACTIVE_RUNTIME_GLOBALS,Dn as ProductionBuild,Gq as Portal,Mn as PROJECT_TEMPLATES,gp as PRESETS,na as NON_CLIENT_PRIMITIVES,Co as MemorySessionStore,$h as MIME_TYPES,Yh as MEDIA_DEFAULT_WIDTHS,_h as MEDIA_DEFAULT_FORMATS,Ol as LAYOUT_TYPES_FILE,Mi as ImageProcessorCache,Bk as ImageProcessingError,xo as HydrationRuntime,Jj as HotReloadServer,ha as HeatmapAggregator,Zf as HTML_CLASS_MARKER,Yf as HTML_ATTRS_MARKER,xq as Fragment,Fq as For,El as FRAGMENT_CACHE_CONTROL,qc as ErrorLogger,Wb as ErrorCodes,Rj as EXTERNALIZED_ASSET_DIR,nk as DeployError,ok as DEFAULT_WIDTHS,v as DEFAULT_TRANSITION_OPTIONS,Ja as DEFAULT_STATE_DIR,qk as DEFAULT_QUALITY,pi as DEFAULT_PLACEHOLDER_OPTIONS,pk as DEFAULT_FORMATS,Zh as DEFAULT_DPR_VALUES,oo as ComponentHMRHandler,ka as COMPONENT_SCOPE_LOCAL_GLOBALS,wa as COMPONENT_PASSTHROUGH_X_ATTRS,ma as COMPILE_TIME_ONLY_GLOBALS,hi as COMMON_SIZES,Mf as COLOR_MODE_BOOT_MARKER,Nf as COLOR_MODE_BOOT_GLOBAL,Xf as CLOAK_STYLE,Am as BroadcastServer,zm as Broadcast,Sf as BUILD_ID_META,Tf as BUILD_ID_HEADER,Ga as BROWSER_CORE_IMPORTS,qi as BLUR_UP_CSS,va as ALPINE_BRIDGE_X_ATTRS,Qq as $path};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{vg as a}from"./chunk-d6aa7ghq.js";import"./chunk-2fj2ah1z.js";import"./chunk-v2vv4etv.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-b220zqbz.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{a as startProductionServer};
2
+ import{vg as a}from"./chunk-3k3vrnk0.js";import"./chunk-b7tw429a.js";import"./chunk-a0sagjwy.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-7q6abr68.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{a as startProductionServer};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{gl as _,hl as h}from"./chunk-r84h7wxw.js";import{Pl as m,cs as p}from"./chunk-v2vv4etv.js";import{jt as N}from"./chunk-1px4xey5.js";import K from"path";import q from"fs";var l=5,u=1;function i(J=process.env){return J.STX_DEBUG==="true"||J.STX_DEBUG==="1"}function L(...J){if(i())console.log("[stx:bundler]",...J)}var D=[];function v(J,z,Y){D.push({filePath:J||"<inline>",message:z,details:Y})}function Yw(){return D.slice()}function Zw(){D.length=0}var F;function $w(J){F=J}function b(){if(F)return F;try{let J=p.strict;return typeof J==="object"&&J!==null?J.bundlerFallback??"warn":"warn"}catch{return"warn"}}var f=[/^stx$/,/^@stacksjs\/stx$/,/^@stores$/,/^stx\/stores$/,/^@composables$/];function Qw(J){let z=/^[ \t]*import[ \t]+(?!type(?:[ \t]|{))[\s\S]*?\s+from\s+['"]([^'"]+)['"][ \t]*;?/gm,Y;while((Y=z.exec(J))!==null){let M=Y[1];if(!f.some((w)=>w.test(M)))return L("detected user import:",M),!0}let Z=/^[ \t]*import[ \t]+['"]([^'"]+)['"]/gm;while((Y=Z.exec(J))!==null){let M=Y[1];if(/\.css(?:\?.*)?$/.test(M))continue;if(!f.some((w)=>w.test(M)))return L("detected side-effect import:",M),!0}return!1}function t(J,z,Y,Z){let M=($,w)=>{let G=$===Y?z:K.dirname($),W=K.resolve(G,w),H=[W,`${W}.ts`,`${W}.tsx`,`${W}.js`,`${W}.mjs`,`${W}.jsx`,K.join(W,"index.ts"),K.join(W,"index.tsx"),K.join(W,"index.js"),K.join(W,"index.mjs")];for(let j of H)try{if(q.existsSync(j)&&q.statSync(j,{throwIfNoEntry:!1})?.isFile())return j}catch{}return W};return{name:"stx-client-bundle",setup($){$.onResolve({filter:/^(stx|@stacksjs\/stx)$/},(w)=>({path:w.path,external:!0})),$.onResolve({filter:/^(@stores|@composables|stx\/stores)$/},(w)=>({path:w.path,external:!0})),$.onResolve({filter:/^\//},(w)=>{if(q.existsSync(w.path))return{path:w.path};return{path:w.path,external:!0}}),$.onResolve({filter:/^\.\.?\//},(w)=>{let G=M(w.importer,w.path);return Z.add(G),{path:G}}),$.onResolve({filter:/^[@~]\//},(w)=>{let G=K.resolve(J,w.path.slice(2)),W=[G,`${G}.ts`,`${G}.tsx`,`${G}.js`,`${G}.mjs`,`${G}.jsx`,K.join(G,"index.ts"),K.join(G,"index.tsx"),K.join(G,"index.js"),K.join(G,"index.mjs")];for(let H of W)if(q.existsSync(H)&&q.statSync(H,{throwIfNoEntry:!1})?.isFile())return L(`resolved ${w.path[0]}/ import:`,w.path,"\u2192",H),Z.add(H),{path:H};return console.warn(`[stx:bundler] could not resolve ${w.path[0]}/ import:`,w.path),{path:G}}),$.onLoad({filter:/\.(?:[cm]?[jt]sx?|json)$/},(w)=>{let G=K.extname(w.path).toLowerCase(),W=G===".json"?"json":G===".tsx"?"tsx":G===".jsx"?"jsx":G===".ts"||G===".mts"||G===".cts"?"ts":"js";if(w.path!==Y)Z.add(w.path);return{contents:q.readFileSync(w.path,"utf8"),loader:W}})}}}var R=new Map,g=Symbol.for("stx.client-bundle-build-queue");function s(J){let z=globalThis,Z=(z[g]??Promise.resolve()).then(J,J);return z[g]=Z.then(()=>{return},()=>{return}),Z}async function Xw(J,z,Y={}){let Z=Y.projectRoot||process.cwd(),M=Y.minify??!1,$=Y.cacheDir||N(Z,"bundle-cache"),w=new Bun.CryptoHasher("md5");w.update(`${l}\x00${J}\x00${z}`);let G=w.digest("hex").slice(0,12),W=K.join($,`${G}.js`),H=K.join($,`${G}.deps.json`),j=Bun.file(W);if(await j.exists()){let V=Bun.file(H),O=!0;if(await V.exists())try{let y=JSON.parse(await V.text());if(y.metadataVersion!==u||!Array.isArray(y.files))O=!1;for(let S of Array.isArray(y.files)?y.files:[])try{if(q.statSync(S.path).mtimeMs!==S.mtimeMs){O=!1;break}}catch{O=!1;break}}catch{O=!1}if(O)return L("cache hit:",G),await j.text();L("cache invalidated by dep change:",G)}let T=R.get(G);if(T)return await T;let x=s(()=>a(J,z,{projectRoot:Z,minify:M,cacheDir:$,hash:G,cachePath:W,depsPath:H}));R.set(G,x);try{return await x}finally{R.delete(G)}}async function a(J,z,Y){let{projectRoot:Z,minify:M,cacheDir:$,hash:w,cachePath:G,depsPath:W}=Y,H=N(Z,"bundle-tmp"),j=K.join(H,`${w}.ts`),T=K.join(H,"out",w);q.mkdirSync(H,{recursive:!0}),q.mkdirSync(T,{recursive:!0});let x=K.dirname(z),V=[],O=/^[ \t]*(export\s+)?(?:const|let|var)\s+(?:\{([^}]+)\}|(\w+))/gm,y=/^[ \t]*(export\s+)?(?:async\s+)?function\s+(\w+)/gm,S;while((S=O.exec(J))!==null){if(S[1])continue;if(S[2])S[2].split(",").forEach((I)=>{let X=e(I);if(X)V.push(X)});else if(S[3])V.push(S[3])}while((S=y.exec(J))!==null){if(S[1])continue;V.push(S[2])}let B=V.length>0?`
2
+ import{gl as _,hl as h}from"./chunk-r84h7wxw.js";import{Ql as m,cs as p}from"./chunk-a0sagjwy.js";import{jt as N}from"./chunk-1px4xey5.js";import K from"path";import q from"fs";var l=5,u=1;function i(J=process.env){return J.STX_DEBUG==="true"||J.STX_DEBUG==="1"}function L(...J){if(i())console.log("[stx:bundler]",...J)}var D=[];function v(J,z,Y){D.push({filePath:J||"<inline>",message:z,details:Y})}function Yw(){return D.slice()}function Zw(){D.length=0}var F;function $w(J){F=J}function b(){if(F)return F;try{let J=p.strict;return typeof J==="object"&&J!==null?J.bundlerFallback??"warn":"warn"}catch{return"warn"}}var f=[/^stx$/,/^@stacksjs\/stx$/,/^@stores$/,/^stx\/stores$/,/^@composables$/];function Qw(J){let z=/^[ \t]*import[ \t]+(?!type(?:[ \t]|{))[\s\S]*?\s+from\s+['"]([^'"]+)['"][ \t]*;?/gm,Y;while((Y=z.exec(J))!==null){let M=Y[1];if(!f.some((w)=>w.test(M)))return L("detected user import:",M),!0}let Z=/^[ \t]*import[ \t]+['"]([^'"]+)['"]/gm;while((Y=Z.exec(J))!==null){let M=Y[1];if(/\.css(?:\?.*)?$/.test(M))continue;if(!f.some((w)=>w.test(M)))return L("detected side-effect import:",M),!0}return!1}function t(J,z,Y,Z){let M=($,w)=>{let G=$===Y?z:K.dirname($),W=K.resolve(G,w),H=[W,`${W}.ts`,`${W}.tsx`,`${W}.js`,`${W}.mjs`,`${W}.jsx`,K.join(W,"index.ts"),K.join(W,"index.tsx"),K.join(W,"index.js"),K.join(W,"index.mjs")];for(let j of H)try{if(q.existsSync(j)&&q.statSync(j,{throwIfNoEntry:!1})?.isFile())return j}catch{}return W};return{name:"stx-client-bundle",setup($){$.onResolve({filter:/^(stx|@stacksjs\/stx)$/},(w)=>({path:w.path,external:!0})),$.onResolve({filter:/^(@stores|@composables|stx\/stores)$/},(w)=>({path:w.path,external:!0})),$.onResolve({filter:/^\//},(w)=>{if(q.existsSync(w.path))return{path:w.path};return{path:w.path,external:!0}}),$.onResolve({filter:/^\.\.?\//},(w)=>{let G=M(w.importer,w.path);return Z.add(G),{path:G}}),$.onResolve({filter:/^[@~]\//},(w)=>{let G=K.resolve(J,w.path.slice(2)),W=[G,`${G}.ts`,`${G}.tsx`,`${G}.js`,`${G}.mjs`,`${G}.jsx`,K.join(G,"index.ts"),K.join(G,"index.tsx"),K.join(G,"index.js"),K.join(G,"index.mjs")];for(let H of W)if(q.existsSync(H)&&q.statSync(H,{throwIfNoEntry:!1})?.isFile())return L(`resolved ${w.path[0]}/ import:`,w.path,"\u2192",H),Z.add(H),{path:H};return console.warn(`[stx:bundler] could not resolve ${w.path[0]}/ import:`,w.path),{path:G}}),$.onLoad({filter:/\.(?:[cm]?[jt]sx?|json)$/},(w)=>{let G=K.extname(w.path).toLowerCase(),W=G===".json"?"json":G===".tsx"?"tsx":G===".jsx"?"jsx":G===".ts"||G===".mts"||G===".cts"?"ts":"js";if(w.path!==Y)Z.add(w.path);return{contents:q.readFileSync(w.path,"utf8"),loader:W}})}}}var R=new Map,g=Symbol.for("stx.client-bundle-build-queue");function s(J){let z=globalThis,Z=(z[g]??Promise.resolve()).then(J,J);return z[g]=Z.then(()=>{return},()=>{return}),Z}async function Xw(J,z,Y={}){let Z=Y.projectRoot||process.cwd(),M=Y.minify??!1,$=Y.cacheDir||N(Z,"bundle-cache"),w=new Bun.CryptoHasher("md5");w.update(`${l}\x00${J}\x00${z}`);let G=w.digest("hex").slice(0,12),W=K.join($,`${G}.js`),H=K.join($,`${G}.deps.json`),j=Bun.file(W);if(await j.exists()){let V=Bun.file(H),O=!0;if(await V.exists())try{let y=JSON.parse(await V.text());if(y.metadataVersion!==u||!Array.isArray(y.files))O=!1;for(let S of Array.isArray(y.files)?y.files:[])try{if(q.statSync(S.path).mtimeMs!==S.mtimeMs){O=!1;break}}catch{O=!1;break}}catch{O=!1}if(O)return L("cache hit:",G),await j.text();L("cache invalidated by dep change:",G)}let T=R.get(G);if(T)return await T;let x=s(()=>a(J,z,{projectRoot:Z,minify:M,cacheDir:$,hash:G,cachePath:W,depsPath:H}));R.set(G,x);try{return await x}finally{R.delete(G)}}async function a(J,z,Y){let{projectRoot:Z,minify:M,cacheDir:$,hash:w,cachePath:G,depsPath:W}=Y,H=N(Z,"bundle-tmp"),j=K.join(H,`${w}.ts`),T=K.join(H,"out",w);q.mkdirSync(H,{recursive:!0}),q.mkdirSync(T,{recursive:!0});let x=K.dirname(z),V=[],O=/^[ \t]*(export\s+)?(?:const|let|var)\s+(?:\{([^}]+)\}|(\w+))/gm,y=/^[ \t]*(export\s+)?(?:async\s+)?function\s+(\w+)/gm,S;while((S=O.exec(J))!==null){if(S[1])continue;if(S[2])S[2].split(",").forEach((I)=>{let X=e(I);if(X)V.push(X)});else if(S[3])V.push(S[3])}while((S=y.exec(J))!==null){if(S[1])continue;V.push(S[2])}let B=V.length>0?`
3
3
  export { ${V.join(", ")} }`:"";await Bun.write(j,J+B),L("bundling:",w,"from:",K.basename(z));let P=new Set;try{let I=await Bun.build({entrypoints:[j],outdir:T,target:"browser",format:"esm",minify:M,plugins:[t(Z,x,j,P)],define:{"process.env.NODE_ENV":M?'"production"':'"development"',...m()},root:Z});if(!I.success){let C=I.logs.filter((U)=>U.level==="error").map((U)=>U.message).join(", ")||`Unable to bundle ${K.basename(z)}`,A=_(I.logs,z||void 0);if(console.warn("[stx:bundler] build failed:",C),v(z||"",C,A),b()==="error")throw Error(C);return J}let X="";for(let Q of I.outputs){X=await Q.text();break}let k=[];for(let Q of X.matchAll(/^\s*export\s*\{([^}]*)\}\s*;?\s*$/gm))for(let C of Q[1].split(",")){let A=C.trim().match(/^([A-Za-z_$][\w$]*)\s+as\s+([A-Za-z_$][\w$]*)$/);if(A){k.push([A[2],A[1]]);continue}let U=C.trim();if(/^[A-Za-z_$][\w$]*$/.test(U))k.push([U,U])}let c=X.match(/^\s*import\s+[^;]+;?\s*$/gm)||[];X=X.replace(/^\s*import\s+[^;]+;?\s*$/gm,"").replace(/^\s*export\s*\{[^}]*\}\s*;?\s*$/gm,"").replace(/^\s*export\s+default\s+.*$/gm,"").trim();let E=`__stxBundle_${w}`,o=k.map(([Q,C])=>`${JSON.stringify(Q)}: ${C}`).join(", "),n=k.map(([Q])=>`var ${Q} = undefined;`).join(`
4
4
  `),r=k.map(([Q])=>`${Q} = ${E}[${JSON.stringify(Q)}];`).join(`
5
5
  `);if(X=`${c.join(`
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{$r as w,Eq as k,Gl as A,Hl as D,Rm as T,Sm as y,Wo as x,Yl as B,_l as F,bp as M,sp as R}from"./chunk-v2vv4etv.js";import{Ou as P}from"./chunk-qs0fp63n.js";function b(K){return K.endsWith(".md")||K.endsWith(".markdown")}function C(K){let z=[];_(/<pre\b[^>]*>[\s\S]*?<\/pre>/gi);let G=[...z];_(/<code\b[^>]*>[\s\S]*?<\/code>/gi,G);function _(J,X){let $;while(($=J.exec(K))!==null){let q=$.index,N=q+$[0].length;if(X?.some((Y)=>q>=Y.start&&N<=Y.end))continue;z.push({start:q,end:N})}}if(z.length===0)return K;z.sort((J,X)=>J.start-X.start);let U="",Q=0;for(let J of z){if(J.start<Q)continue;U+=K.slice(Q,J.start),U+=`@raw${K.slice(J.start,J.end)}@endraw`,Q=J.end}return U+=K.slice(Q),U}async function j(K,z={}){let{data:G,content:_}=A(K),Q=await(z.renderer??((J)=>D(J)))(_);return{html:C(Q),frontmatter:G??{}}}import{dirname as v,resolve as H}from"path";function f(K){let z=K,G=x(K);if(G)z=G.content.trim();let _=/<script\b([^>]*)>([\s\S]*?)<\/script>/gi,U=[],Q=[],J=[],X=(N)=>/\b(?:state|derived|effect|batch)\s*(?:<[^<>()]*>)?\s*\(/.test(N),$;while(($=_.exec(K))!==null){let N=$[1],Y=$[2],E=$[0],Z=N.includes("server");if(X(Y))J.push(E);else if(Z)Q.push(Y);else U.push(E)}let q=z;{let N=/<script\b(?![^>]*\b(?:client|type\s*=\s*["']module["']|src\s*=))[^>]*>/gi,Y,E=[];while((Y=N.exec(q))!==null){let Z=Y.index+Y[0].length,L=q.indexOf("</script>",Z);if(L===-1)continue;E.push({start:Y.index,end:L+9}),N.lastIndex=L+9}for(let Z=E.length-1;Z>=0;Z--)q=q.substring(0,E[Z].start)+q.substring(E[Z].end)}for(let N of U)q=q.replace(N,"");return{templateContent:q,serverScripts:Q,clientScripts:U,signalsScripts:J}}function g(K,z){return`<!DOCTYPE html>
2
+ import{$r as w,Eq as k,Gl as A,Hl as D,Rm as T,Sm as y,Wo as x,Yl as B,_l as F,bp as M,sp as R}from"./chunk-a0sagjwy.js";import{Ou as P}from"./chunk-qs0fp63n.js";function b(K){return K.endsWith(".md")||K.endsWith(".markdown")}function C(K){let z=[];_(/<pre\b[^>]*>[\s\S]*?<\/pre>/gi);let G=[...z];_(/<code\b[^>]*>[\s\S]*?<\/code>/gi,G);function _(J,X){let $;while(($=J.exec(K))!==null){let q=$.index,N=q+$[0].length;if(X?.some((Y)=>q>=Y.start&&N<=Y.end))continue;z.push({start:q,end:N})}}if(z.length===0)return K;z.sort((J,X)=>J.start-X.start);let U="",Q=0;for(let J of z){if(J.start<Q)continue;U+=K.slice(Q,J.start),U+=`@raw${K.slice(J.start,J.end)}@endraw`,Q=J.end}return U+=K.slice(Q),U}async function j(K,z={}){let{data:G,content:_}=A(K),Q=await(z.renderer??((J)=>D(J)))(_);return{html:C(Q),frontmatter:G??{}}}import{dirname as v,resolve as H}from"path";function f(K){let z=K,G=x(K);if(G)z=G.content.trim();let _=/<script\b([^>]*)>([\s\S]*?)<\/script>/gi,U=[],Q=[],J=[],X=(N)=>/\b(?:state|derived|effect|batch)\s*(?:<[^<>()]*>)?\s*\(/.test(N),$;while(($=_.exec(K))!==null){let N=$[1],Y=$[2],E=$[0],Z=N.includes("server");if(X(Y))J.push(E);else if(Z)Q.push(Y);else U.push(E)}let q=z;{let N=/<script\b(?![^>]*\b(?:client|type\s*=\s*["']module["']|src\s*=))[^>]*>/gi,Y,E=[];while((Y=N.exec(q))!==null){let Z=Y.index+Y[0].length,L=q.indexOf("</script>",Z);if(L===-1)continue;E.push({start:Y.index,end:L+9}),N.lastIndex=L+9}for(let Z=E.length-1;Z>=0;Z--)q=q.substring(0,E[Z].start)+q.substring(E[Z].end)}for(let N of U)q=q.replace(N,"");return{templateContent:q,serverScripts:Q,clientScripts:U,signalsScripts:J}}function g(K,z){return`<!DOCTYPE html>
3
3
  <html lang="en">
4
4
  <head>
5
5
  <meta charset="UTF-8">
@@ -14,5 +14,5 @@ ${Q.join(`
14
14
  `)}`}else{if(G.processClientScripts!==!1&&Q.length>0){let N=X.__stx_event_bindings||[],Y=B(X),Z=(await Promise.all(Q.map(async(V)=>{let W=V.match(/<script\b[^>]*>([\s\S]*?)<\/script>/);if(!W)return V;return await F(W[1],{eventBindings:N,templateContent:q,serverData:Y,filePath:z})}))).join(`
15
15
  `);if(q.match(/(<\/body>)/i))q=q.replace(/(<\/body>)/i,`${Z}
16
16
  $1`);else q+=`
17
- ${Z}`}q=await M(q)}if(G.wrapInDocument){if(!q.trim().toLowerCase().startsWith("<!doctype")&&!q.trim().toLowerCase().startsWith("<html"))q=g(q,G.title)}if(G.injectCSS)try{let{injectCrosswindCSS:N}=await import("./chunk-ae85dv6n.js");q=await N(q)}catch{}return q}
17
+ ${Z}`}q=await M(q)}if(G.wrapInDocument){if(!q.trim().toLowerCase().startsWith("<!doctype")&&!q.trim().toLowerCase().startsWith("<html"))q=g(q,G.title)}if(G.injectCSS)try{let{injectCrosswindCSS:N}=await import("./chunk-azrhea8j.js");q=await N(q)}catch{}return q}
18
18
  export{b as pk,C as qk,j as rk,s as sk,i as tk,I as uk};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{jg as a}from"./chunk-3sq662pg.js";import"./chunk-v2vv4etv.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-b220zqbz.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{a as buildApp};
2
+ import{jg as a}from"./chunk-c2xhf8re.js";import"./chunk-a0sagjwy.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-7q6abr68.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{a as buildApp};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{$i as Z,Zi as j,_i as E}from"./chunk-ht51fz7w.js";import{Mq as L,Nl as R,Ol as U,Pl as X,bs as M}from"./chunk-v2vv4etv.js";import{Dt as P}from"./chunk-ax56kn66.js";import $ from"path";var V=new Map;function w(Q,z){for(let J of Q.matchAll(/\b(?:const|let|var|function|class)\s+([A-Z_a-z$][\w$]*)/g))if(J[1])z.add(J[1]);for(let J of Q.matchAll(/\b(?:const|let|var)\s*\{([^{}]*)\}\s*=/g))for(let H of(J[1]??"").split(",")){let Y=((H.includes(":")?H.split(":").pop():H)??"").replace(/=.*$/s,"").replace(/^\s*\.\.\./,"").trim();if(/^[A-Z_a-z$][\w$]*$/.test(Y))z.add(Y)}for(let J of Q.matchAll(/\b(?:const|let|var)\s*\[([^\]]*)\]\s*=/g))for(let H of(J[1]??"").split(",")){let K=H.replace(/=.*$/s,"").replace(/^\s*\.\.\./,"").trim();if(/^[A-Z_a-z$][\w$]*$/.test(K))z.add(K)}}async function u(Q){let z;if(Q)z=$.resolve(Q);else{let q=await M();z=$.resolve(q.root||process.cwd(),q.storesDir||"stores")}let J=new Bun.Glob("*.ts"),H=[];try{for await(let q of J.scan({cwd:z,absolute:!0})){let y=$.basename(q,".ts");if(["index","types"].includes(y))continue;if(q.includes(".d.ts"))continue;H.push(q)}}catch{return Z(V,z,"",""),null}let K=j(H),Y=E(V,z,K);if(Y!==void 0)return Y||null;if(H.length===0)return Z(V,z,K,""),null;let x=[];for(let q of H){let y=await Bun.file(q).text();x.push({file:q,hasUseStore:/useStore\s*\(/.test(y)})}x.sort((q,y)=>{if(q.hasUseStore===y.hasUseStore)return 0;return q.hasUseStore?1:-1});let I=x.map((q)=>q.file),A=[],B=new Set,T=L({loader:"ts",target:"browser",define:X()});for(let q of I)try{let y=await Bun.file(q).text(),W=$.basename(q,".ts");w(y,B),y=R(y),y=U(y),y=y.replace(/^export\s+(default\s+)?/gm,""),y=T.transformSync(y),A.push(`// Store: ${W}
2
+ import{$i as Z,Zi as j,_i as E}from"./chunk-ht51fz7w.js";import{Mq as L,Nl as R,Ol as U,Ql as X,bs as M}from"./chunk-a0sagjwy.js";import{Dt as P}from"./chunk-ax56kn66.js";import $ from"path";var V=new Map;function w(Q,z){for(let J of Q.matchAll(/\b(?:const|let|var|function|class)\s+([A-Z_a-z$][\w$]*)/g))if(J[1])z.add(J[1]);for(let J of Q.matchAll(/\b(?:const|let|var)\s*\{([^{}]*)\}\s*=/g))for(let H of(J[1]??"").split(",")){let Y=((H.includes(":")?H.split(":").pop():H)??"").replace(/=.*$/s,"").replace(/^\s*\.\.\./,"").trim();if(/^[A-Z_a-z$][\w$]*$/.test(Y))z.add(Y)}for(let J of Q.matchAll(/\b(?:const|let|var)\s*\[([^\]]*)\]\s*=/g))for(let H of(J[1]??"").split(",")){let K=H.replace(/=.*$/s,"").replace(/^\s*\.\.\./,"").trim();if(/^[A-Z_a-z$][\w$]*$/.test(K))z.add(K)}}async function u(Q){let z;if(Q)z=$.resolve(Q);else{let q=await M();z=$.resolve(q.root||process.cwd(),q.storesDir||"stores")}let J=new Bun.Glob("*.ts"),H=[];try{for await(let q of J.scan({cwd:z,absolute:!0})){let y=$.basename(q,".ts");if(["index","types"].includes(y))continue;if(q.includes(".d.ts"))continue;H.push(q)}}catch{return Z(V,z,"",""),null}let K=j(H),Y=E(V,z,K);if(Y!==void 0)return Y||null;if(H.length===0)return Z(V,z,K,""),null;let x=[];for(let q of H){let y=await Bun.file(q).text();x.push({file:q,hasUseStore:/useStore\s*\(/.test(y)})}x.sort((q,y)=>{if(q.hasUseStore===y.hasUseStore)return 0;return q.hasUseStore?1:-1});let I=x.map((q)=>q.file),A=[],B=new Set,T=L({loader:"ts",target:"browser",define:X()});for(let q of I)try{let y=await Bun.file(q).text(),W=$.basename(q,".ts");w(y,B),y=R(y),y=U(y),y=y.replace(/^export\s+(default\s+)?/gm,""),y=T.transformSync(y),A.push(`// Store: ${W}
3
3
  ${y.trim()}`)}catch(y){console.warn(`[stx] Failed to load store ${q}:`,y)}if(A.length===0)return Z(V,z,K,""),null;let G=A.join(`
4
4
 
5
5
  `),O=`;(function(){
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{dj as a,ej as b,fj as c,gj as d,hj as e,ij as f,jj as g,kj as h,lj as i,mj as j,nj as k,oj as l,pj as m,qj as n}from"./chunk-etx5vb1n.js";import"./chunk-v2vv4etv.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-b220zqbz.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{i as streamingSuspenseDirective,m as streamToResponse,g as streamTemplateSimple,a as streamTemplate,d as renderStreamingPage,k as registerStreamingDirectives,e as processStreamDirectives,l as processSectionDirectives,j as islandDirective,n as generateHydrationRuntime,f as extractStreamBoundaries,h as createStreamRenderer,b as buildSuspenseResolveScript,c as SUSPENSE_RESOLVER_RUNTIME};
2
+ import{dj as a,ej as b,fj as c,gj as d,hj as e,ij as f,jj as g,kj as h,lj as i,mj as j,nj as k,oj as l,pj as m,qj as n}from"./chunk-4heeeaef.js";import"./chunk-a0sagjwy.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-7q6abr68.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{i as streamingSuspenseDirective,m as streamToResponse,g as streamTemplateSimple,a as streamTemplate,d as renderStreamingPage,k as registerStreamingDirectives,e as processStreamDirectives,l as processSectionDirectives,j as islandDirective,n as generateHydrationRuntime,f as extractStreamBoundaries,h as createStreamRenderer,b as buildSuspenseResolveScript,c as SUSPENSE_RESOLVER_RUNTIME};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{$r as a,as as b,bs as c,cs as d,ds as e,es as f}from"./chunk-v2vv4etv.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-b220zqbz.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{f as validateConfig,b as resolveStxDirectories,c as loadStxConfig,e as defineStxConfig,a as defaultConfig,d as config};
2
+ import{$r as a,as as b,bs as c,cs as d,ds as e,es as f}from"./chunk-a0sagjwy.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-7q6abr68.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{f as validateConfig,b as resolveStxDirectories,c as loadStxConfig,e as defineStxConfig,a as defaultConfig,d as config};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{Eq as X,wm as W}from"./chunk-v2vv4etv.js";import V from"fs";import M from"path";import*as Y from"readline";var j={reset:"\x1B[0m",bold:"\x1B[1m",dim:"\x1B[2m",red:"\x1B[31m",green:"\x1B[32m",yellow:"\x1B[33m",blue:"\x1B[34m",magenta:"\x1B[35m",cyan:"\x1B[36m"},Q={help:{description:"Show available commands",usage:"help [command]",handler:async(q,z)=>{if(q[0]&&Q[q[0]]){let A=Q[q[0]];console.log(`
2
+ import{Eq as X,wm as W}from"./chunk-a0sagjwy.js";import V from"fs";import M from"path";import*as Y from"readline";var j={reset:"\x1B[0m",bold:"\x1B[1m",dim:"\x1B[2m",red:"\x1B[31m",green:"\x1B[32m",yellow:"\x1B[33m",blue:"\x1B[34m",magenta:"\x1B[35m",cyan:"\x1B[36m"},Q={help:{description:"Show available commands",usage:"help [command]",handler:async(q,z)=>{if(q[0]&&Q[q[0]]){let A=Q[q[0]];console.log(`
3
3
  ${j.bold}${q[0]}${j.reset} - ${A.description}`),console.log(` Usage: ${j.cyan}${A.usage}${j.reset}
4
4
  `)}else{console.log(`
5
5
  ${j.bold}Available Commands:${j.reset}
@@ -0,0 +1,19 @@
1
+ // @bun
2
+ import{Mf as v,Nf as i,Of as t,Rf as e,Sf as HH,Tf as KH,Uf as QH,Vf as YH,Wf as ZH}from"./chunk-380tnd2y.js";import{Wi as s}from"./chunk-z5ecweqg.js";import{Pl as a}from"./chunk-a0sagjwy.js";import{jt as h}from"./chunk-1px4xey5.js";import{Dt as f}from"./chunk-ax56kn66.js";import{existsSync as $H,readFileSync as qH}from"fs";import J from"path";function GH(K,Q="",V=""){let L=K.startLine>1?`
3
+ `.repeat(K.startLine-1):"",N=t(i(K.code)),X=K.kind==="client"||K.kind==="plain"?HH(Q,K.code):"";return QH(`${L+N}
4
+ ${X}
5
+ export {}
6
+ `,V)}function WH(K){let Q=K.length>0?J.dirname(J.resolve(K[0])):process.cwd();try{Bun.resolveSync("@stacksjs/stx",Q)}catch{return""}return["// Generated \u2014 `stx` is the virtual specifier client-script.ts strips.","declare module 'stx' {"," export * from '@stacksjs/stx'","}"].join(`
7
+ `)}var AH=new Set(["name","status","length","location","history","origin","closed","close","open","focus","blur","print","scroll","scrollTo","scrollBy","stop","top","parent","self","frames","event","external","menubar","toolbar"]);function MH(K){if(K.length===0)return"";let Q=["// Generated \u2014 the composables the runtime publishes as bare globals."],V=new Set(f),L=[];for(let{file:N,names:X}of K){let W=JSON.stringify(N.replace(/\\/g,"/").replace(/\.ts$/,""));L.push(` export * from ${W}`);for(let q of X){if(V.has(q)||AH.has(q))continue;V.add(q),Q.push(`declare const ${q}: typeof import(${W})[${JSON.stringify(q)}]`)}}return Q.push("declare module '@composables' {",...L,"}"),Q.join(`
8
+ `)}function r(K,Q,V){return`${K}.__stx_${Q}${V}.ts`}function yH(K){return K.replace(/\.__stx_(?:server|client|plain|template)\d+\.ts$/,"")}function UH(){for(let K of[J.resolve(import.meta.dir,"..","stx.d.ts"),J.resolve(import.meta.dir,"..","..","stx.d.ts")])if($H(K))return K;return null}var IH=/^(.*?)\((\d+),(\d+)\):\s+(error|warning)\s+TS(\d+):\s+(.*)$/;function LH(K){return K>=1000&&K<2000}function NH(K){let Q=J.resolve(K),V;for(;;){let Z=J.join(Q,"tsconfig.json");if($H(Z)){V=Z;break}let $=J.dirname(Q);if($===Q)break;Q=$}if(!V)return{};let L=(Z)=>{let $="",A=!1,U=!1;for(let j=0;j<Z.length;j++){let M=Z[j];if(A){if($+=M,U)U=!1;else if(M==="\\")U=!0;else if(M==='"')A=!1;continue}if(M==='"'){A=!0,$+=M;continue}if(M==="/"&&Z[j+1]==="/"){while(j<Z.length&&Z[j]!==`
9
+ `)j++;$+=`
10
+ `;continue}if(M==="/"&&Z[j+1]==="*"){j+=2;while(j<Z.length&&!(Z[j]==="*"&&Z[j+1]==="/"))j++;j++;continue}$+=M}return $.replace(/,(\s*[}\]])/g,"$1")},N=new Set,X=V,W,q,B=V;while(X&&!N.has(X)){N.add(X);let Z;try{Z=JSON.parse(L(qH(X,"utf8")))}catch{break}let $=Z?.compilerOptions??{};if(!W&&$.paths&&typeof $.paths==="object")W=$.paths,B=X;if(!q&&typeof $.baseUrl==="string")q=J.resolve(J.dirname(X),$.baseUrl);if(W&&q)break;X=typeof Z?.extends==="string"?J.resolve(J.dirname(X),Z.extends.endsWith(".json")?Z.extends:`${Z.extends}.json`):void 0}if(!W)return{};let T=q??J.dirname(B),R={};for(let[Z,$]of Object.entries(W)){if(!Array.isArray($))continue;R[Z]=$.map((A)=>typeof A==="string"&&!J.isAbsolute(A)?J.resolve(T,A):A)}return{paths:R}}async function PH(K,Q={}){let V=Q.client!==!1,L=Q.server!==!1,N=Q.templates!==!1,X=new Map,W=new Map,q=[],B=0,T=0,R=UH();for(let H of K){let Y=await Bun.file(H).text(),G=v(Y).filter((z)=>{if(z.kind==="server")return L;return V}),I=v(Y).filter((z)=>z.kind==="server").map((z)=>z.code).join(`
11
+ `);if(V&&I){let z=G.filter((O)=>O.kind!=="server"),F=[...new Set(z.flatMap((O)=>KH(I,O.code)))];if(F.length>0)W.set(H,{names:F,line:z[0].startLine,kind:z[0].kind})}let _=J.dirname(J.resolve(H)),E=N?YH(Y,{runtimeGlobals:!R,originDir:_}):null,C=E?[...E.lineMap.values()].filter((z)=>z.expression).length:0;if(G.length===0&&C===0)continue;if(q.push(H),B+=G.length,T+=C,G.forEach((z,F)=>{X.set(r(H,z.kind,F),{source:GH(z,I,_),origin:H,kind:z.kind})}),E&&C>0)X.set(r(H,"template",0),{source:E.text,origin:H,kind:"template",virtual:E})}if(X.size===0)return{diagnostics:[],checkedFiles:q,blockCount:0,expressionCount:0};let Z=(Q.extraLibs??[]).map((H)=>J.resolve(H));if(R)Z.push(R);let $=`${h()}/typecheck/__stx_globals.d.ts`,A=["// Generated \u2014 the context serve.ts injects into <script server> blocks.",e(),...R?[]:["declare const window: any",...f.map((H)=>`declare const ${H}: any`)],["// Generated \u2014 the names stx auto-imports from @stacksjs/browser.",...a.map((H)=>`declare const ${H}: any`)].join(`
12
+ `),WH(K),MH(await s())].filter(Boolean).join(`
13
+ `),U=`${h()}/typecheck`;await Bun.$`rm -rf ${U}`.quiet().nothrow(),await Bun.$`mkdir -p ${U}`.quiet().nothrow(),await Bun.write($,A);let j=new Map,M=0;for(let[H,Y]of X){let G=`${M++}_${H.replace(/[^\w.-]+/g,"_")}`;await Bun.write(`${U}/${G}`,Y.source),j.set(G,Y)}let jH={target:"ESNext",module:"ESNext",moduleResolution:"bundler",strict:!0,noEmit:!0,skipLibCheck:!0,allowJs:!0,esModuleInterop:!0,resolveJsonModule:!0,lib:["ESNext","DOM","DOM.Iterable"],types:[],...NH(K.length>0?J.dirname(J.resolve(K[0])):process.cwd()),...Q.compilerOptions??{}},k=async(H,Y)=>{let G=`${U}/tsconfig${Y===1?"":`.${Y}`}.json`;await Bun.write(G,JSON.stringify({compilerOptions:jH,files:H.map((_)=>`${U}/${_}`).concat($,...Z)},null,2));let I=Bun.spawnSync(["bun","x","tsc","-p",G,"--pretty","false"],{stdout:"pipe",stderr:"pipe"});return{output:new TextDecoder().decode(I.stdout)+new TextDecoder().decode(I.stderr),exitCode:I.exitCode??0}},m=await k([...j.keys()],1),b=m.output,S=[],u=m.exitCode,d=0,zH=new Set(Z.map((H)=>H.split("/").pop())),p=0,y=new Set,l=(H)=>{for(let Y of H.split(`
14
+ `)){let G=Y.match(IH);if(!G)continue;if(d++,zH.has(G[1].split("/").pop()))p++;let[,I,_,E,C,z,F]=G,O=I.split("/").pop(),w=j.get(O);if(!w)continue;if(LH(Number(z)))y.add(O);let g=Number(_),x=Number(E),o;if(w.virtual){let P=ZH(w.virtual,g,x);if(!P?.expression)continue;if(Number(z)===2774)continue;g=P.line,x=P.column,o=P.expression.code.trim()}S.push({file:w.origin,line:g,column:x,code:Number(z),message:F,category:C==="error"?"error":"warning",blockKind:w.kind,expression:o})}};l(b);let JH=d,VH=p;if(y.size>0&&y.size<j.size){let H=[...j.keys()].filter((Y)=>!y.has(Y));l((await k(H,2)).output)}if(V)for(let[H,Y]of W){if(Y.names.length===0)continue;S.push({file:H,line:Y.line,column:1,code:0,message:`${Y.names.length===1?"1 value reaches":`${Y.names.length} values reach`} this block on the implicit bridge and ${Y.names.length===1?"is":"are"} untyped: ${Y.names.join(", ")}. Declare them with defineClientPayload({ ${Y.names.join(", ")} }) in the server block to have them checked.`,category:"warning",blockKind:Y.kind})}let c=new Set,D=S.filter((H)=>{let Y=`${H.file}:${H.line}:${H.column}:${H.code}:${H.message}`;if(c.has(Y))return!1;return c.add(Y),!0});D.sort((H,Y)=>H.file.localeCompare(Y.file)||H.line-Y.line||H.column-Y.column);let n=VH>0&&D.length===0,XH=n||u!==0&&JH===0?`${n?"a file passed with --lib has errors of its own, so nothing in your code was checked":`tsc exited ${u} without reporting any diagnostic, so nothing was checked`}. `+"A syntax error in an ambient declaration file does this \u2014 skipLibCheck suppresses "+`SEMANTIC diagnostics only. tsc said:
15
+ ${b.trim().split(`
16
+ `).slice(0,12).join(`
17
+ `)||"(no output)"}`:void 0;return{diagnostics:D,checkedFiles:q,blockCount:B,expressionCount:T,failure:XH}}function vH(K){return K.map((Q)=>{let V=Q.blockKind==="template"?`[template: ${Q.expression??""}]`:`[${Q.blockKind==="plain"?"<script>":`<script ${Q.blockKind}>`}]`;return`${Q.file}:${Q.line}:${Q.column} ${Q.category} TS${Q.code} ${Q.message} ${V}`}).join(`
18
+ `)}
19
+ export{GH as xf,r as yf,yH as zf,UH as Af,PH as Bf,vH as Cf};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{Mq as x,Pl as Y}from"./chunk-v2vv4etv.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-b220zqbz.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";import A from"path";var C=["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"],y=new Set(C);var Z=new Map,I=new Set,P=new Set(C);function R(){Z.clear()}function D(G){let H=new Map;for(let z of G){let K=A.basename(z);if(K.endsWith(".d.ts"))continue;let J=K.replace(/\.[jt]s$/,"");if(J==="index")continue;if(J===K)continue;let X=H.get(J);if(X&&!X.endsWith(".js"))continue;H.set(J,z)}return[...H.values()].sort()}function L(G,H){let z=H.replace(/[$()*+.?[\\\]^{|}-]/g,"\\$&");return new RegExp(`(?:^|[^\\w$.])(?:const|let|var|function|class)\\s+${z}\\b`).test(G)}function k(G){if(!G)return[];let H=G.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 K of P){if(I.has(K))continue;let J=K.replace(/[$()*+.?[\\\]^{|}-]/g,"\\$&");if(new RegExp(`(^|[^\\w$.])${J}\\s*\\(`).test(H))z.push(K)}return z.sort()}async function _(G,H){let z=k(G);if(z.length===0)return null;let K=H??A.join(import.meta.dir,"composables"),J=`${K}\x00${z.join(",")}`,X=Z.get(J);if(X!==void 0)return X||null;let T=x({loader:"ts",target:"browser",define:Y()}),B=new Set(z),F=[],w=new Set,$=[];try{let q=new Bun.Glob("*.{ts,js}");for await(let j of q.scan({cwd:K,absolute:!0}))$.push(j)}catch{return Z.set(J,""),null}$=D($);for(let q of $){let j;try{j=await Bun.file(q).text()}catch{continue}let W=[];try{W=T.scan(j).exports.filter((Q)=>Q!=="default")}catch{continue}if(!W.some((Q)=>B.has(Q)))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,""),F.push(`// ${A.basename(q).replace(/\.[jt]s$/,"")}
2
+ import{Mq as x,Ql as Y}from"./chunk-a0sagjwy.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import"./chunk-mv2v3g62.js";import"./chunk-7q6abr68.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";import A from"path";var C=["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"],y=new Set(C);var Z=new Map,I=new Set,P=new Set(C);function R(){Z.clear()}function D(G){let H=new Map;for(let z of G){let K=A.basename(z);if(K.endsWith(".d.ts"))continue;let J=K.replace(/\.[jt]s$/,"");if(J==="index")continue;if(J===K)continue;let X=H.get(J);if(X&&!X.endsWith(".js"))continue;H.set(J,z)}return[...H.values()].sort()}function L(G,H){let z=H.replace(/[$()*+.?[\\\]^{|}-]/g,"\\$&");return new RegExp(`(?:^|[^\\w$.])(?:const|let|var|function|class)\\s+${z}\\b`).test(G)}function k(G){if(!G)return[];let H=G.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 K of P){if(I.has(K))continue;let J=K.replace(/[$()*+.?[\\\]^{|}-]/g,"\\$&");if(new RegExp(`(^|[^\\w$.])${J}\\s*\\(`).test(H))z.push(K)}return z.sort()}async function _(G,H){let z=k(G);if(z.length===0)return null;let K=H??A.join(import.meta.dir,"composables"),J=`${K}\x00${z.join(",")}`,X=Z.get(J);if(X!==void 0)return X||null;let T=x({loader:"ts",target:"browser",define:Y()}),B=new Set(z),F=[],w=new Set,$=[];try{let q=new Bun.Glob("*.{ts,js}");for await(let j of q.scan({cwd:K,absolute:!0}))$.push(j)}catch{return Z.set(J,""),null}$=D($);for(let q of $){let j;try{j=await Bun.file(q).text()}catch{continue}let W=[];try{W=T.scan(j).exports.filter((Q)=>Q!=="default")}catch{continue}if(!W.some((Q)=>B.has(Q)))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,""),F.push(`// ${A.basename(q).replace(/\.[jt]s$/,"")}
3
3
  ${T.transformSync(j).trim()}`);for(let Q of W)w.add(Q)}catch(Q){console.warn(`[stx] framework composable ${A.basename(q)} could not be bundled:`,Q)}}let U=z.filter((q)=>!w.has(q)&&!L(G,q));if(U.length>0)console.warn(`[stx] could not bundle ${U.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(F.length===0)return Z.set(J,""),null;let M=[...w].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
  `),V=`<script data-stx-framework-composables>
5
5
  ;(function(){
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Rl as c,Sl as d,Tl as e,Ul as f,Vl as g,Wl as h,Xl as i,Yl as j,Zl as k,_l as l}from"./chunk-v2vv4etv.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import{Is as a,Js as b}from"./chunk-mv2v3g62.js";import"./chunk-b220zqbz.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{b as stripCommentsAndLiterals,d as renderVendorStyleTags,l as processClientScript,g as injectBrowserCoreAutoImports,k as generateServerDataBridge,i as generateBrowserAutoImportDestructuring,h as generateAutoImportDestructuring,a as findInterpolationEnd,j as extractBridgeData,c as extractAndStripCssImports,e as STX_AUTO_IMPORTS,f as BROWSER_CORE_IMPORTS};
2
+ import{Pl as c,Sl as d,Tl as e,Ul as f,Vl as g,Wl as h,Xl as i,Yl as j,Zl as k,_l as l}from"./chunk-a0sagjwy.js";import"./chunk-092sm06a.js";import"./chunk-19m7hed6.js";import"./chunk-nhn7qftp.js";import{Is as a,Js as b}from"./chunk-mv2v3g62.js";import"./chunk-7q6abr68.js";import"./chunk-2qkasmq1.js";import"./chunk-1px4xey5.js";import"./chunk-a8fx6wcb.js";import"./chunk-x41v697c.js";import"./chunk-ax56kn66.js";import"./chunk-z2gmz9ew.js";import"./chunk-k26kt6fp.js";import"./chunk-qs0fp63n.js";export{b as stripCommentsAndLiterals,e as renderVendorStyleTags,l as processClientScript,g as injectBrowserCoreAutoImports,k as generateServerDataBridge,i as generateBrowserAutoImportDestructuring,h as generateAutoImportDestructuring,a as findInterpolationEnd,j as extractBridgeData,d as extractAndStripCssImports,f as STX_AUTO_IMPORTS,c as BROWSER_CORE_IMPORTS};