@stacksjs/stx 0.2.321 → 0.2.322

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 (153) hide show
  1. package/dist/builtins/image-delivery.d.ts +33 -1
  2. package/dist/builtins/image-delivery.js +51 -3
  3. package/dist/builtins/image-placeholder.d.ts +9 -0
  4. package/dist/builtins/image-placeholder.js +14 -1
  5. package/dist/builtins/image-warmup-worker.d.ts +1 -0
  6. package/dist/builtins/image-warmup-worker.js +18 -0
  7. package/dist/builtins/image-worker.d.ts +40 -0
  8. package/dist/builtins/image-worker.js +82 -0
  9. package/dist/chunk-0050wktp.js +2 -0
  10. package/dist/{chunk-qz462c22.js → chunk-02hjbe0p.js} +1 -1
  11. package/dist/{chunk-g38wktfx.js → chunk-0aqtbma7.js} +1 -1
  12. package/dist/{chunk-fs5gwtd9.js → chunk-0fkvezw3.js} +1 -1
  13. package/dist/{chunk-1yv1v7hh.js → chunk-0xw3atfx.js} +1 -1
  14. package/dist/chunk-1yxtx5y2.js +2 -0
  15. package/dist/{chunk-8q3a8g7m.js → chunk-24r2ctta.js} +1 -1
  16. package/dist/{chunk-7kk2jb1j.js → chunk-2astj1fq.js} +173 -173
  17. package/dist/{chunk-2925bmqr.js → chunk-2dk3ym1g.js} +1 -1
  18. package/dist/{chunk-zeqktcby.js → chunk-2hyxkzpc.js} +1 -1
  19. package/dist/chunk-2k9qqkx2.js +2 -0
  20. package/dist/chunk-2qk3qwmp.js +2 -0
  21. package/dist/{chunk-526rr83q.js → chunk-308r399e.js} +1 -1
  22. package/dist/{chunk-wr011j4b.js → chunk-3vydymb5.js} +1 -1
  23. package/dist/{chunk-rpnjwpw3.js → chunk-3yn8ghtz.js} +1 -1
  24. package/dist/{chunk-4kp87md5.js → chunk-54mnf7n2.js} +1 -1
  25. package/dist/chunk-59fcj7ym.js +2 -0
  26. package/dist/{chunk-w913decg.js → chunk-5az2jb8y.js} +2 -2
  27. package/dist/chunk-5n2ps25k.js +2 -0
  28. package/dist/{chunk-4zz9edh0.js → chunk-5zqec01h.js} +1 -1
  29. package/dist/chunk-62s55rv0.js +2 -0
  30. package/dist/{chunk-n3qsg135.js → chunk-69knrrh9.js} +1 -1
  31. package/dist/{chunk-x2j5b308.js → chunk-7bmqjfft.js} +1 -1
  32. package/dist/chunk-7dd808wv.js +2 -0
  33. package/dist/{chunk-mjbrbnv2.js → chunk-7jqh58k9.js} +1 -1
  34. package/dist/{chunk-3ntb5zkk.js → chunk-88kr475r.js} +1 -1
  35. package/dist/{chunk-xaeamzng.js → chunk-8cwenbw3.js} +1 -1
  36. package/dist/{chunk-sr042pkc.js → chunk-8n0mjaf6.js} +1 -1
  37. package/dist/{chunk-9qxv7emz.js → chunk-8r0yf1q7.js} +1 -1
  38. package/dist/{chunk-nn17da2e.js → chunk-90ma145g.js} +1 -1
  39. package/dist/{chunk-2btrq8sz.js → chunk-9e6pyjwz.js} +1 -1
  40. package/dist/{chunk-3x0b8j25.js → chunk-9q9z1027.js} +1 -1
  41. package/dist/{chunk-0eydszkp.js → chunk-akrxtrh1.js} +1 -1
  42. package/dist/chunk-asf7qyyc.js +2 -0
  43. package/dist/{chunk-gnk0xd8n.js → chunk-avpsqyaq.js} +1 -1
  44. package/dist/{chunk-q5hwa8dn.js → chunk-b0wm1c6x.js} +1 -1
  45. package/dist/{chunk-ymfh9wan.js → chunk-b1h7pyhs.js} +1 -1
  46. package/dist/{chunk-tk459ykz.js → chunk-bdr8dz57.js} +2 -2
  47. package/dist/chunk-bgwcrkg8.js +2 -0
  48. package/dist/{chunk-gyrf55m1.js → chunk-brb3g571.js} +1 -1
  49. package/dist/chunk-bw0488z7.js +2 -0
  50. package/dist/chunk-c3pg3yx4.js +2 -0
  51. package/dist/chunk-cevmy9cn.js +2 -0
  52. package/dist/chunk-df5wrw50.js +3 -0
  53. package/dist/{chunk-5mdvkpt8.js → chunk-dgrayagx.js} +1 -1
  54. package/dist/{chunk-mnhwgk4x.js → chunk-dsqcfv2k.js} +1 -1
  55. package/dist/chunk-dvszm8ay.js +2 -0
  56. package/dist/{chunk-krvreaxb.js → chunk-e0369ngw.js} +1 -1
  57. package/dist/{chunk-sb2g9f73.js → chunk-e10pfrds.js} +1 -1
  58. package/dist/{chunk-xnj5h0bq.js → chunk-e9dtt2cw.js} +2 -2
  59. package/dist/{chunk-1r3ydhkx.js → chunk-ecbqmesm.js} +1 -1
  60. package/dist/chunk-eqsqs6yj.js +2 -0
  61. package/dist/{chunk-9fjhmyje.js → chunk-exrnsgtc.js} +1 -1
  62. package/dist/{chunk-rwq2qzpx.js → chunk-ez93xc1z.js} +1 -1
  63. package/dist/{chunk-wtdkz7wz.js → chunk-f75yj981.js} +1 -1
  64. package/dist/chunk-fps56kyx.js +2 -0
  65. package/dist/{chunk-twdvqqft.js → chunk-g2pjef44.js} +1 -1
  66. package/dist/{chunk-373fc0m2.js → chunk-gctdc94b.js} +1 -1
  67. package/dist/chunk-gg74g03k.js +2 -0
  68. package/dist/chunk-gyprd56b.js +2 -0
  69. package/dist/{chunk-vmjktkm9.js → chunk-hrs2pepp.js} +1 -1
  70. package/dist/{chunk-hmrv7qv5.js → chunk-k0ht65ts.js} +1 -1
  71. package/dist/{chunk-jgfkmkpb.js → chunk-k3w1ctbb.js} +1 -1
  72. package/dist/{chunk-qqvwfhd5.js → chunk-kb040j0d.js} +1 -1
  73. package/dist/{chunk-hrd56xw7.js → chunk-kwrj745h.js} +2 -2
  74. package/dist/{chunk-1q1qmmfn.js → chunk-m4wwqznv.js} +1 -1
  75. package/dist/{chunk-cjf5h08r.js → chunk-mczfzq2y.js} +1 -1
  76. package/dist/{chunk-hrrynmne.js → chunk-mp8nekfh.js} +1 -1
  77. package/dist/chunk-mr33j493.js +2 -0
  78. package/dist/{chunk-3qt3cxh0.js → chunk-mz9twa1f.js} +1 -1
  79. package/dist/{chunk-j8bwgnz5.js → chunk-namj6apv.js} +2 -2
  80. package/dist/{chunk-1b2wksq3.js → chunk-nh2ze1a7.js} +1 -1
  81. package/dist/chunk-nkpww053.js +2 -0
  82. package/dist/{chunk-esq6ydx5.js → chunk-nksce8wc.js} +1 -1
  83. package/dist/{chunk-mmhdgz5x.js → chunk-nq0ec0w1.js} +1 -1
  84. package/dist/{chunk-mgd0vre2.js → chunk-nq19m0ja.js} +1 -1
  85. package/dist/{chunk-3erkb524.js → chunk-nytw8ek5.js} +1 -1
  86. package/dist/{chunk-tv2qdq7h.js → chunk-pc70paa2.js} +1 -1
  87. package/dist/chunk-pgafdv9x.js +2 -0
  88. package/dist/{chunk-8mspafdh.js → chunk-pty8ywaj.js} +1 -1
  89. package/dist/chunk-pwwhcdh3.js +2 -0
  90. package/dist/{chunk-6r72pp2t.js → chunk-qhzvf0nf.js} +1 -1
  91. package/dist/{chunk-cey6rhqw.js → chunk-qrkxyb5p.js} +1 -1
  92. package/dist/{chunk-8q9qfy2v.js → chunk-qsxtjtvv.js} +2 -2
  93. package/dist/{chunk-33gkb5pr.js → chunk-r05ekvht.js} +1 -1
  94. package/dist/{chunk-jtaxnnq3.js → chunk-r1g0bnpv.js} +1 -1
  95. package/dist/chunk-r8scz4g7.js +2 -0
  96. package/dist/{chunk-sqkz8tf3.js → chunk-rcvnh2p7.js} +1 -1
  97. package/dist/chunk-rw93qdw8.js +2 -0
  98. package/dist/{chunk-kncbae57.js → chunk-sn1edmp8.js} +1 -1
  99. package/dist/{chunk-9whbqxsv.js → chunk-tpvs4bzw.js} +1 -1
  100. package/dist/{chunk-tbw7qn8b.js → chunk-v1jcfb07.js} +1 -1
  101. package/dist/{chunk-dr2rpkb4.js → chunk-v3taty7e.js} +1 -1
  102. package/dist/{chunk-7b09hmk4.js → chunk-vtn57jw8.js} +10 -10
  103. package/dist/{chunk-akefvpqr.js → chunk-vy2nvpbw.js} +2 -2
  104. package/dist/{chunk-yhebk7kd.js → chunk-wf3pcr37.js} +1 -1
  105. package/dist/{chunk-0en7mkpa.js → chunk-ws4kh6et.js} +1 -1
  106. package/dist/{chunk-a6q5dmq7.js → chunk-x5xee26w.js} +1 -1
  107. package/dist/{chunk-rypa8b99.js → chunk-xgrh0461.js} +1 -1
  108. package/dist/{chunk-x7eb8e98.js → chunk-xsrb2heb.js} +1 -1
  109. package/dist/{chunk-222swfwr.js → chunk-y1zwvdn5.js} +1 -1
  110. package/dist/chunk-y3egkbc2.js +2 -0
  111. package/dist/{chunk-cfj7y2tp.js → chunk-yc7fptr2.js} +2 -2
  112. package/dist/chunk-ycjjd5js.js +2 -0
  113. package/dist/{chunk-pavfpmwj.js → chunk-yms0xgy0.js} +1 -1
  114. package/dist/{chunk-hgc3n1xq.js → chunk-yyq7rpw2.js} +1 -1
  115. package/dist/chunk-zcea9z8j.js +2 -0
  116. package/dist/{chunk-ycmsckjw.js → chunk-zgbwr604.js} +1 -1
  117. package/dist/{chunk-eh66m9ar.js → chunk-zwkzwymf.js} +1 -1
  118. package/dist/cli.js +14 -14
  119. package/dist/craft-entry.js +1 -1
  120. package/dist/craft.js +1 -1
  121. package/dist/database.js +1 -1
  122. package/dist/pwa.js +2 -2
  123. package/dist/ssg.js +2 -2
  124. package/dist/visual-testing.js +1 -1
  125. package/package.json +5 -5
  126. package/dist/chunk-129fa2d9.js +0 -2
  127. package/dist/chunk-1rdcew9t.js +0 -2
  128. package/dist/chunk-25m79xdw.js +0 -2
  129. package/dist/chunk-2rkq7pd1.js +0 -2
  130. package/dist/chunk-2tcn2rw4.js +0 -2
  131. package/dist/chunk-48w09pf7.js +0 -2
  132. package/dist/chunk-4a2wcz8h.js +0 -2
  133. package/dist/chunk-4dtjqc90.js +0 -2
  134. package/dist/chunk-5sz2tmw3.js +0 -2
  135. package/dist/chunk-7je3fd68.js +0 -2
  136. package/dist/chunk-7v72zj7x.js +0 -2
  137. package/dist/chunk-8x78ed8t.js +0 -2
  138. package/dist/chunk-99yynes4.js +0 -2
  139. package/dist/chunk-9zrmwtgh.js +0 -2
  140. package/dist/chunk-bdwe7er9.js +0 -2
  141. package/dist/chunk-c5zfgpgx.js +0 -2
  142. package/dist/chunk-ced1qbdw.js +0 -2
  143. package/dist/chunk-cpa76anv.js +0 -2
  144. package/dist/chunk-fh33afkv.js +0 -2
  145. package/dist/chunk-g5v7gw13.js +0 -2
  146. package/dist/chunk-hg77c5m2.js +0 -2
  147. package/dist/chunk-hhjrtjc9.js +0 -3
  148. package/dist/chunk-jxx9apw6.js +0 -2
  149. package/dist/chunk-m1n5a725.js +0 -2
  150. package/dist/chunk-pn1syk7x.js +0 -2
  151. package/dist/chunk-ssdzdsm1.js +0 -2
  152. package/dist/chunk-wn9z19wm.js +0 -2
  153. package/dist/chunk-xc5swjjg.js +0 -2
@@ -1,4 +1,4 @@
1
1
  // @bun
2
2
  var E=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),N=new Set(["html","head","body","p","li","dt","dd","rt","rp","option","optgroup","thead","tbody","tfoot","tr","td","th","colgroup","caption"]);function X(Q){return Q.replace(/[^\n]/g," ")}function R(Q){let H=Q.replace(/<script\b[^>]*>[\s\S]*?<\/script>/gi,X).replace(/<style\b[^>]*>[\s\S]*?<\/style>/gi,X).replace(/<!--[\s\S]*?-->/g,X).replace(/\{\{\{[\s\S]*?\}\}\}/g,X).replace(/\{\{[\s\S]*?\}\}/g,X).replace(/\{!![\s\S]*?!!\}/g,X),F=new Map,J=new Map,Y=/<(\/?)([A-Za-z][\w-]*)\b(?:[^>"']|"[^"]*"|'[^']*')*?(\/?)>/g,z;while((z=Y.exec(H))!==null){let j=z[1]==="/",q=z[2],W=z[3]==="/";if(E.has(q.toLowerCase()))continue;if(W)continue;if(j)J.set(q,(J.get(q)??0)+1);else{let Z=F.get(q);if(Z)Z.count++;else{let B=H.slice(0,z.index).split(`
3
3
  `).length;F.set(q,{count:1,firstLine:B})}}}let M=[];for(let j of new Set([...F.keys(),...J.keys()])){if(N.has(j.toLowerCase()))continue;let q=F.get(j)?.count??0,W=J.get(j)??0;if(q!==W)M.push({tag:j,opened:q,closed:W,firstOpenLine:F.get(j)?.firstLine??0})}return M}var $=new Set;function U(Q,H){let F;try{F=R(Q)}catch{return}if(F.length===0)return;let J=`${H}:${Q.length}`;if($.has(J))return;$.add(J);let Y=H?H.split(/[/\\]/).pop()||H:"template";for(let{tag:z,opened:M,closed:j,firstOpenLine:q}of F)if(M>j){let W=q?` (first opened at line ${q})`:"";console.warn(`[stx] ${Y}: <${z}> ${M} opened, ${j} closed \u2014 an unclosed <${z}>${W} may swallow the content that follows it.`)}else console.warn(`[stx] ${Y}: <${z}> ${M} opened, ${j} closed \u2014 ${j-M} stray </${z}>.`)}
4
- export{R as Wu,U as Xu};
4
+ export{R as av,U as bv};
@@ -1,4 +1,4 @@
1
1
  // @bun
2
2
  var N={},Z=[],Q={};function h(){return N}function D(){return Q}function I(){N={},Z.length=0,Q={}}function W(j){N=R(N,j)}function R(j,z){return{title:z.title??j.title,titleTemplate:z.titleTemplate??j.titleTemplate,base:z.base??j.base,meta:[...j.meta||[],...z.meta||[]],link:[...j.link||[],...z.link||[]],script:[...j.script||[],...z.script||[]],style:[...j.style||[],...z.style||[]],htmlAttrs:{...j.htmlAttrs,...z.htmlAttrs},bodyAttrs:{...j.bodyAttrs,...z.bodyAttrs}}}function _(j){W($(j))}function $(j){let z=[];if(j.description)z.push({name:"description",content:j.description});if(j.keywords){let L=Array.isArray(j.keywords)?j.keywords.join(", "):j.keywords;z.push({name:"keywords",content:L})}if(j.author)z.push({name:"author",content:j.author});if(j.robots)z.push({name:"robots",content:j.robots});let B=j.ogTitle??j.title,E=j.ogDescription??j.description;if(B)z.push({property:"og:title",content:B});if(E)z.push({property:"og:description",content:E});if(j.ogImage){if(z.push({property:"og:image",content:j.ogImage}),j.ogImageType)z.push({property:"og:image:type",content:j.ogImageType});if(j.ogImageWidth)z.push({property:"og:image:width",content:String(j.ogImageWidth)});if(j.ogImageHeight)z.push({property:"og:image:height",content:String(j.ogImageHeight)});if(j.ogImageAlt)z.push({property:"og:image:alt",content:j.ogImageAlt})}if(j.ogUrl)z.push({property:"og:url",content:j.ogUrl});if(j.ogType)z.push({property:"og:type",content:j.ogType});if(j.ogSiteName)z.push({property:"og:site_name",content:j.ogSiteName});if(j.ogLocale)z.push({property:"og:locale",content:j.ogLocale});if(j.profileFirstName)z.push({property:"profile:first_name",content:j.profileFirstName});if(j.profileLastName)z.push({property:"profile:last_name",content:j.profileLastName});if(j.profileUsername)z.push({property:"profile:username",content:j.profileUsername});let F=j.twitterTitle??j.title,G=j.twitterDescription??j.description,K=j.twitterImage??j.ogImage;if(j.twitterCard)z.push({name:"twitter:card",content:j.twitterCard});if(F)z.push({name:"twitter:title",content:F});if(G)z.push({name:"twitter:description",content:G});if(K){z.push({name:"twitter:image",content:K});let L=j.twitterImageAlt??(j.twitterImage?void 0:j.ogImageAlt);if(L)z.push({name:"twitter:image:alt",content:L})}if(j.twitterSite)z.push({name:"twitter:site",content:j.twitterSite});if(j.twitterCreator)z.push({name:"twitter:creator",content:j.twitterCreator});if(j.articleAuthor)z.push({property:"article:author",content:j.articleAuthor});if(j.articlePublishedTime)z.push({property:"article:published_time",content:j.articlePublishedTime});if(j.articleModifiedTime)z.push({property:"article:modified_time",content:j.articleModifiedTime});if(j.articleSection)z.push({property:"article:section",content:j.articleSection});if(j.articleTags)for(let L of j.articleTags)z.push({property:"article:tag",content:L});let J=[];if(j.canonical)J.push({rel:"canonical",href:j.canonical});return{title:j.title,titleTemplate:j.titleTemplate,meta:z,link:J}}function S(j){if(Q={...Q,...j},j.title||j.description)_({title:j.title,description:j.description})}function P(j){let z=typeof j==="function"?j():j;W({title:z})}function C(j=N){let z=[];if(j.title){let B=j.title;if(j.titleTemplate)B=typeof j.titleTemplate==="function"?j.titleTemplate(B):j.titleTemplate.replace("%s",B);z.push(`<title>${O(B)}</title>`)}if(j.base){let B=Object.entries(j.base).map(([E,F])=>`${E}="${O(F)}"`).join(" ");z.push(`<base ${B}>`)}for(let B of j.meta||[]){let E=Object.entries(B).filter(([F,G])=>G!==void 0).map(([F,G])=>{return`${F==="httpEquiv"?"http-equiv":F}="${O(String(G))}"`}).join(" ");z.push(`<meta ${E}>`)}for(let B of j.link||[]){let E=Object.entries(B).filter(([F,G])=>G!==void 0).map(([F,G])=>`${F}="${O(String(G))}"`).join(" ");z.push(`<link ${E}>`)}for(let B of j.script||[]){let{content:E,...F}=B,G=Object.entries(F).filter(([K,J])=>J!==void 0).map(([K,J])=>{if(typeof J==="boolean")return J?K:"";return`${K}="${O(String(J))}"`}).filter(Boolean).join(" ");if(E)z.push(`<script ${G}>${E}</script>`);else z.push(`<script ${G}></script>`)}for(let B of j.style||[]){let E=B.type?` type="${B.type}"`:"";z.push(`<style${E}>${B.content}</style>`)}return z.join(`
3
3
  `)}function M(j=N){if(!j.htmlAttrs)return"";return Object.entries(j.htmlAttrs).map(([z,B])=>`${z}="${O(B)}"`).join(" ")}function V(j=N){if(!j.bodyAttrs)return"";return Object.entries(j.bodyAttrs).map(([z,B])=>`${z}="${O(B)}"`).join(" ")}function O(j){return j.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function w(j=N){if(typeof document>"u")return;if(j.title){let z=j.title;if(j.titleTemplate)z=typeof j.titleTemplate==="function"?j.titleTemplate(z):j.titleTemplate.replace("%s",z);document.title=z}for(let z of j.meta||[]){let B=z.name?`meta[name="${z.name}"]`:z.property?`meta[property="${z.property}"]`:null;if(B){let E=document.querySelector(B);if(!E){if(E=document.createElement("meta"),z.name)E.setAttribute("name",z.name);if(z.property)E.setAttribute("property",z.property);document.head.appendChild(E)}E.setAttribute("content",z.content)}}for(let z of j.link||[]){let B=`link[rel="${z.rel}"]${z.href?`[href="${z.href}"]`:""}`,E=document.querySelector(B);if(!E)E=document.createElement("link"),document.head.appendChild(E);for(let[F,G]of Object.entries(z))if(G!==void 0)E.setAttribute(F,String(G))}if(j.htmlAttrs)for(let[z,B]of Object.entries(j.htmlAttrs))if(z==="class")for(let E of String(B).split(/\s+/).filter(Boolean))document.documentElement.classList.add(E);else document.documentElement.setAttribute(z,B);if(j.bodyAttrs)for(let[z,B]of Object.entries(j.bodyAttrs))document.body.setAttribute(z,B)}function y(j){let z="";return{content:j.replace(/@head\s*([\s\S]*?)@endhead/g,(E,F)=>{return z+=F.trim()+`
4
- `,""}),headContent:z.trim()}}function x(j,z){return j.replace(/@title\s*\(\s*(?:(['"`])(.+?)\1|([^)]+))\s*\)/g,(B,E,F,G)=>{let K=E?F:z[(G||"").trim()]??G,J=z.__stx_runtime_head??{};return z.__stx_runtime_head=R(J,{title:K}),""})}function T(j,z){return j.replace(/@meta\s*\(\s*(['"`])(.+?)\1\s*,\s*(?:(['"`])(.+?)\3|([^)]+))\s*\)/g,(B,E,F,G,K,J)=>{let L=G?K:J,U=G?L:z[(L||"").trim()]??L,X=F.includes(":")?{property:F,content:U}:{name:F,content:U},Y=z.__stx_runtime_head??{};return z.__stx_runtime_head=R(Y,{meta:[X]}),""})}export{h as Eu,D as Fu,I as Gu,W as Hu,R as Iu,_ as Ju,$ as Ku,S as Lu,P as Mu,C as Nu,M as Ou,V as Pu,w as Qu,y as Ru,x as Su,T as Tu};
4
+ `,""}),headContent:z.trim()}}function x(j,z){return j.replace(/@title\s*\(\s*(?:(['"`])(.+?)\1|([^)]+))\s*\)/g,(B,E,F,G)=>{let K=E?F:z[(G||"").trim()]??G,J=z.__stx_runtime_head??{};return z.__stx_runtime_head=R(J,{title:K}),""})}function T(j,z){return j.replace(/@meta\s*\(\s*(['"`])(.+?)\1\s*,\s*(?:(['"`])(.+?)\3|([^)]+))\s*\)/g,(B,E,F,G,K,J)=>{let L=G?K:J,U=G?L:z[(L||"").trim()]??L,X=F.includes(":")?{property:F,content:U}:{name:F,content:U},Y=z.__stx_runtime_head??{};return z.__stx_runtime_head=R(Y,{meta:[X]}),""})}export{h as Ku,D as Lu,I as Mu,W as Nu,R as Ou,_ as Pu,$ as Qu,S as Ru,P as Su,C as Tu,M as Uu,V as Vu,w as Wu,y as Xu,x as Yu,T as Zu};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Ri as a,Si as b,Ti as c}from"./chunk-nh2ze1a7.js";import"./chunk-xwxdwqn9.js";import"./chunk-2astj1fq.js";import"./chunk-9e6pyjwz.js";import"./chunk-z698hwht.js";import"./chunk-70zb3560.js";import"./chunk-zsapb653.js";import"./chunk-kwrj745h.js";import"./chunk-df5wrw50.js";import"./chunk-e10pfrds.js";import"./chunk-ecbqmesm.js";import"./chunk-namj6apv.js";import"./chunk-dgrayagx.js";import"./chunk-2hyxkzpc.js";import"./chunk-r1g0bnpv.js";import"./chunk-2dk3ym1g.js";import"./chunk-8n0mjaf6.js";import"./chunk-5az2jb8y.js";import"./chunk-rcvnh2p7.js";import"./chunk-qrkxyb5p.js";export{a as listComposableModules,b as getComposableScript,c as clearComposableCache};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{av as a,bv as b}from"./chunk-2dk3ym1g.js";import"./chunk-qrkxyb5p.js";export{b as warnUnbalancedTags,a as findUnbalancedTags};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{$g as a,ah as b,bh as c,ch as d,dh as e,eh as f,fh as g,gh as h,hh as i}from"./chunk-a6q5dmq7.js";import"./chunk-vd5xvsnv.js";import"./chunk-cey6rhqw.js";export{c as setCachedImageResult,e as processImage,f as optimizeImage,b as getCachedImageResult,i as generateSrcset,h as generateResponsiveVariants,d as clearImageCache,g as applyTransformations,a as ImageProcessorCache};
2
+ import{$g as a,ah as b,bh as c,ch as d,dh as e,eh as f,fh as g,gh as h,hh as i}from"./chunk-x5xee26w.js";import"./chunk-vd5xvsnv.js";import"./chunk-qrkxyb5p.js";export{c as setCachedImageResult,e as processImage,f as optimizeImage,b as getCachedImageResult,i as generateSrcset,h as generateResponsiveVariants,d as clearImageCache,g as applyTransformations,a as ImageProcessorCache};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{Xf as v,Yf as t,Zf as e,ag as HH,bg as KH,cg as QH,dg as YH,eg as ZH,fg as $H}from"./chunk-9fjhmyje.js";import{Ri as s}from"./chunk-1b2wksq3.js";import{Ar as i,em as a}from"./chunk-7kk2jb1j.js";import{tu as h}from"./chunk-1r3ydhkx.js";import{Zu as f}from"./chunk-sr042pkc.js";import{existsSync as jH,readFileSync as WH}from"fs";import z from"path";function AH(Q,K="",V=""){let L=Q.startLine>1?`
2
+ import{Xf as v,Yf as t,Zf as e,ag as HH,bg as KH,cg as QH,dg as YH,eg as ZH,fg as $H}from"./chunk-exrnsgtc.js";import{Ri as s}from"./chunk-nh2ze1a7.js";import{Ar as i,em as a}from"./chunk-2astj1fq.js";import{zu as h}from"./chunk-ecbqmesm.js";import{dv as f}from"./chunk-8n0mjaf6.js";import{existsSync as jH,readFileSync as WH}from"fs";import z from"path";function AH(Q,K="",V=""){let L=Q.startLine>1?`
3
3
  `.repeat(Q.startLine-1):"",U=e(t(Q.code)),X=Q.kind==="client"||Q.kind==="plain"?KH(K,Q.code):"";return YH(`${L+U}
4
4
  ${X}
5
5
  export {}
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Af as a,Bf as b,Cf as c,Df as d,Ef as e,Ff as f,Gf as g,Hf as h,If as i,Jf as j,Kf as k,Lf as l,Mf as m,Nf as n,Of as o,Pf as p,Qf as q}from"./chunk-ycmsckjw.js";import"./chunk-cey6rhqw.js";export{h as resizeAndConvert,f as processImage,d as isSharpAvailable,m as isImageFile,e as isImageBackendAvailable,l as groupVariantsByFormat,o as getTotalSize,n as getMimeType,g as getImageMetadata,k as getFallbackVariant,i as generateSrcSet,j as generateSizes,p as formatSize,q as ImageProcessingError,a as DEFAULT_WIDTHS,c as DEFAULT_QUALITY,b as DEFAULT_FORMATS};
2
+ import{Af as a,Bf as b,Cf as c,Df as d,Ef as e,Ff as f,Gf as g,Hf as h,If as i,Jf as j,Kf as k,Lf as l,Mf as m,Nf as n,Of as o,Pf as p,Qf as q}from"./chunk-zgbwr604.js";import"./chunk-qrkxyb5p.js";export{h as resizeAndConvert,f as processImage,d as isSharpAvailable,m as isImageFile,e as isImageBackendAvailable,l as groupVariantsByFormat,o as getTotalSize,n as getMimeType,g as getImageMetadata,k as getFallbackVariant,i as generateSrcSet,j as generateSizes,p as formatSize,q as ImageProcessingError,a as DEFAULT_WIDTHS,c as DEFAULT_QUALITY,b as DEFAULT_FORMATS};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{$t as i,Tt as a,Ut as b,Vt as c,Wt as d,Xt as e,Yt as f,Zt as g,_t as h,au as j,bu as k,cu as l}from"./chunk-hrd56xw7.js";import"./chunk-1r3ydhkx.js";import"./chunk-cey6rhqw.js";export{e as resolveUserCssConfig,c as resetCssCache,h as rebuildCss,d as loadCssEngineConfig,b as loadCssEngine,l as injectCss,a as getCssServeAsset,i as getCachedCSS,k as generateCss,f as fingerprintConfig,j as extractClassNames,g as buildCss};
2
+ import{$t as i,Tt as a,Ut as b,Vt as c,Wt as d,Xt as e,Yt as f,Zt as g,_t as h,au as j,bu as k,cu as l}from"./chunk-kwrj745h.js";import"./chunk-ecbqmesm.js";import"./chunk-qrkxyb5p.js";export{e as resolveUserCssConfig,c as resetCssCache,h as rebuildCss,d as loadCssEngineConfig,b as loadCssEngine,l as injectCss,a as getCssServeAsset,i as getCachedCSS,k as generateCss,f as fingerprintConfig,j as extractClassNames,g as buildCss};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{$u as b,_u as a}from"./chunk-r1g0bnpv.js";import"./chunk-qrkxyb5p.js";export{a as transformStoreImports,b as stripModuleImports};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{hw as Ee,iw as d}from"./chunk-cey6rhqw.js";function N(t){return t.split(/[\\/]/).filter(Boolean).slice(0,-1).some((a)=>v.includes(a))}function w(t){return N(t.replace(/^\//,""))}var v;var k=d(()=>{v=["components","layouts","partials","emails"]});import f from"fs";import b from"path";function A(t,e){let a=t.filter((s)=>!w(s.pattern)),r=["// Auto-generated by STX - do not edit"];if(a.length===0)r.push("// No page routes found \u2014 route paths stay typed as string.","export {}","");else{r.push("declare module '@stacksjs/stx' {"," interface KnownRoutes {");for(let s of a){let l=[];for(let c of s.params){let u=s.pattern.includes(`:${c}?`)?"?":"";l.push(`${c}${u}: string`)}let i=l.join("; ");r.push(` '${s.pattern}': { ${i} }`)}r.push(" }","}","","export {}","")}let n=r.join(`
2
+ import{nw as Ee,ow as d}from"./chunk-qrkxyb5p.js";function N(t){return t.split(/[\\/]/).filter(Boolean).slice(0,-1).some((a)=>v.includes(a))}function w(t){return N(t.replace(/^\//,""))}var v;var k=d(()=>{v=["components","layouts","partials","emails"]});import f from"fs";import b from"path";function A(t,e){let a=t.filter((s)=>!w(s.pattern)),r=["// Auto-generated by STX - do not edit"];if(a.length===0)r.push("// No page routes found \u2014 route paths stay typed as string.","export {}","");else{r.push("declare module '@stacksjs/stx' {"," interface KnownRoutes {");for(let s of a){let l=[];for(let c of s.params){let u=s.pattern.includes(`:${c}?`)?"?":"";l.push(`${c}${u}: string`)}let i=l.join("; ");r.push(` '${s.pattern}': { ${i} }`)}r.push(" }","}","","export {}","")}let n=r.join(`
3
3
  `),o=b.join(e,"route-types.d.ts");try{if(f.existsSync(o)&&f.readFileSync(o,"utf8")===n)return;f.mkdirSync(e,{recursive:!0}),f.writeFileSync(o,n)}catch{}}function C(t,e,a){let r=process.cwd(),n=b.relative(r,a),o=t.filter((l)=>!w(l.pattern)),s=["// Auto-generated by stx \u2014 do not edit",`// Source: ${n||"pages"}/`,"","export const routes = ["];for(let l of o){let i=b.relative(r,l.filePath).replace(/\\/g,"/"),c=JSON.stringify(l.params),u=l.layout?`, layout: '${b.relative(r,l.layout).replace(/\\/g,"/")}'`:"";s.push(` { pattern: '${l.pattern}', filePath: '${i}', isDynamic: ${l.isDynamic}, params: ${c}${u} },`)}s.push("] as const",""),s.push("export type RouteName = typeof routes[number]['pattern']",""),f.mkdirSync(e,{recursive:!0}),f.writeFileSync(b.join(e,"routes.ts"),s.join(`
4
4
  `))}var P=d(()=>{k()});import K from"path";function T(t,e){let r=K.relative(e,t).replace(/\.(stx|md)$/,"");if(r=r.split(K.sep).join("/"),r==="index")return"/";if(r.endsWith("/index"))r=r.slice(0,-6);return r=r.replace(/\[\[([^\]]+)\]\]/g,":$1?"),r=r.replace(/\[([^\]]+)\]/g,":$1"),r=r.replace(/:\.\.\.([^/]+)/g,":$1*"),`/${r}`}function x(t){let e=[],a="",r=0;while(r<t.length){let n=t.slice(r),o=/^\/:([^/?*]+)\?/.exec(n);if(o){e.push(o[1]),a+="(?:/([^/]+))?",r+=o[0].length;continue}let s=/^:([^/?*]+)\*/.exec(n);if(s){e.push(s[1]),a+="(.+)",r+=s[0].length;continue}let l=/^:([^/?*]+)/.exec(n);if(l){e.push(l[1]),a+="([^/]+)",r+=l[0].length;continue}a+=t[r].replace(/[.+^${}()|[\]\\*?]/g,"\\$&"),r+=1}return{regex:new RegExp(`^${a}$`),params:e}}function $(t,e){let a=t===""?"/":t;for(let r of e){let n=a.match(r.regex);if(n){let o={};return r.params.forEach((s,l)=>{o[s]=n[l+1]}),{route:r,params:o}}}return null}function z(t){let e=t.replace(/\[\[([^\]]+)\]\]/g,":$1?").replace(/\[([^\]]+)\]/g,":$1").replace(/:\.\.\.([^/]+)/g,":$1*");return x(e)}var B=()=>{};import Ce from"fs";import G from"path";function R(t,e){let a=[],r=G.dirname(t);while(r.startsWith(e)||r===e){let n=G.join(r,"_layout.stx");if(Ce.existsSync(n))a.unshift(n);if(r===e)break;r=G.dirname(r)}return a}var U=()=>{};import E from"fs";import p from"path";function Y(t,e){let a=[];if(!E.existsSync(t))return a;let r=E.readdirSync(t,{withFileTypes:!0});for(let n of r){let o=p.join(t,n.name);if(n.isDirectory()){if(n.name.startsWith("."))continue;if(v.includes(n.name))continue;a.push(...Y(o,e))}else if(n.isFile()){let s=p.extname(n.name);if(e.includes(s)){if(n.name.startsWith("_")&&n.name!=="_layout.stx")continue;if(n.name==="_layout.stx")continue;a.push(o)}}}return a}class L{routes;pagesDir;pagesDirs;config;constructor(t,e={}){this.config=e;let a=e.pagesDirs&&e.pagesDirs.length>0?e.pagesDirs:[e.pagesDir||"pages"];this.pagesDirs=a.map((i)=>p.resolve(t,i)),this.pagesDir=this.pagesDirs[0];let r=e.extensions||[".stx"],n=(i)=>{let c=p.resolve(t,i);try{return E.realpathSync(c)}catch{return c}},o=(e.exclude??[]).filter((i)=>typeof i==="string"&&i.trim()!=="").map(n),s=(i)=>{if(o.length===0)return!1;let c=n(i);return o.some((u)=>c===u||c.startsWith(`${u}${p.sep}`))},l=new Set;this.routes=[];for(let i of this.pagesDirs){let c=Y(i,r).filter((h)=>!s(h)),u=new Map;for(let h of c){let m=T(h,i),y=e.pagesDirs?m.replace(/:[\w]+/g,":param"):m;if(e.pagesDirs&&u.has(y))throw Error(`Conflicting layer pages for ${m}: ${u.get(y)} and ${h}`);if(u.set(y,h),l.has(y))continue;l.add(y);let{regex:Ae,params:W}=x(m),I=e.layouts!==!1?R(h,i):[];this.routes.push({pattern:m,regex:Ae,params:W,filePath:h,isDynamic:W.length>0,layout:I.length>0?I[I.length-1]:void 0})}}if(this.routes.sort((i,c)=>{if(!i.isDynamic&&c.isDynamic)return-1;if(i.isDynamic&&!c.isDynamic)return 1;let u=i.pattern.split("/").length,h=c.pattern.split("/").length;if(u!==h)return h-u;return i.pattern.localeCompare(c.pattern)}),e.emit!==!1){let i=p.resolve(t,e.stateDir||process.env.STX_DIR?.trim()||".stx");A(this.routes,i),C(this.routes,i,this.pagesDir)}}match(t){let e=t===""?"/":t;for(let a of this.routes){let r=e.match(a.regex);if(r){let n={};return a.params.forEach((o,s)=>{n[o]=r[s+1]}),{route:a,params:n}}}return null}resolve(t,e){let a=this.routes.find((n)=>n.pattern===t||n.filePath.includes(t));if(!a)return"#not-found";let r=a.pattern;if(e)for(let[n,o]of Object.entries(e))r=r.replace(`:${n}`,encodeURIComponent(o));return r}addRoute(t){this.routes.push(t),this.routes.sort((e,a)=>{if(!e.isDynamic&&a.isDynamic)return-1;if(e.isDynamic&&!a.isDynamic)return 1;return e.pattern.localeCompare(a.pattern)})}getLayout(t){return t.layout??null}}function J(t,e){return new L(t,e)}function Z(t,e){let a=[`${e}.stx`,"error.stx"];for(let r of a){let n=p.join(t,r);if(E.existsSync(n))return n}return null}function Q(t,e){return t.map((a)=>{let r=p.relative(e,a.filePath),n=a.isDynamic?" (dynamic)":"";return`${a.pattern} \u2192 ${r}${n}`})}var ee=d(()=>{P();B();U();k()});function te(t){_=t.replace(/\/$/,"")}function re(t,e,a={}){g[t]={path:e,name:t,params:a}}function ae(t){for(let[e,a]of Object.entries(t))if(typeof a==="string")g[e]={path:a,name:e};else g[e]={...a,name:e}}function ne(t,e={},a=!1){let r=g[t];if(!r)return console.warn(`Route [${t}] not defined.`),"#undefined-route";let n={...r.params,...e},o=r.path;o=o.replace(/:(\w+)/g,(l,i)=>{let c=n[i];if(c===void 0)return console.warn(`Missing parameter [${i}] for route [${t}].`),`:${i}`;return delete n[i],encodeURIComponent(String(c))});let s=Object.entries(n);if(s.length>0){let l=s.map(([i,c])=>`${encodeURIComponent(i)}=${encodeURIComponent(String(c))}`).join("&");o+=(o.includes("?")?"&":"?")+l}return a&&_?`${_}${o}`:o}function se(){for(let t of Object.keys(g))delete g[t];_=""}var g,_="";var oe=d(()=>{g={}});import ie from"fs";import le from"path";function ce(t,e={}){return{type:"redirect",path:t,options:{replace:e.replace??!1,external:e.external??!1,redirectCode:e.redirectCode??302}}}function ue(t){return{type:"abort",error:typeof t==="string"?{statusCode:500,message:t}:t}}function he(t,e={}){return{handler:t,mode:e.mode??"universal"}}function X(t){let e={};if(!t)return e;let a=t.split(";");for(let r of a){let[n,...o]=r.split("=");if(n){let s=n.trim(),l=o.join("=").trim();if(s)e[s]=decodeURIComponent(l)}}return e}function O(t,e,a={}){let r=`${encodeURIComponent(t)}=${encodeURIComponent(e)}`;if(a.expires){let n=typeof a.expires==="number"?new Date(Date.now()+a.expires*1000):a.expires;r+=`; Expires=${n.toUTCString()}`}if(a.path)r+=`; Path=${a.path}`;if(a.domain)r+=`; Domain=${a.domain}`;if(a.secure)r+="; Secure";if(a.httpOnly)r+="; HttpOnly";if(a.sameSite)r+=`; SameSite=${a.sameSite}`;return r}function j(t,e){let a=t.headers.get("cookie")||"",r=X(a);return{get(n){return r[n]},set(n,o,s={}){r[n]=o,e.append("Set-Cookie",O(n,o,s))},delete(n){delete r[n],e.append("Set-Cookie",O(n,"",{expires:new Date(0),path:"/"}))},getAll(){return{...r}}}}function q(){return{get(t){if(typeof document>"u")return;return X(document.cookie)[t]},set(t,e,a={}){if(typeof document>"u")return;document.cookie=O(t,e,a)},delete(t){if(typeof document>"u")return;document.cookie=O(t,"",{expires:new Date(0),path:"/"})},getAll(){if(typeof document>"u")return{};return X(document.cookie)}}}function H(){let t=typeof window<"u"&&typeof window.localStorage<"u";return{get(e){if(!t)return null;try{return window.localStorage.getItem(e)}catch{return null}},set(e,a){if(!t)return;try{window.localStorage.setItem(e,a)}catch{}},remove(e){if(!t)return;try{window.localStorage.removeItem(e)}catch{}},isAvailable(){return t}}}function M(t,e){S.set(t,e)}function V(t){return S.get(t)}function de(t){return S.has(t)}function pe(){S.clear()}function fe(){return Array.from(S.keys())}async function ge(t,e="middleware"){let a=le.resolve(t,e);if(!ie.existsSync(a))return;let r=ie.readdirSync(a);for(let n of r){if(!n.endsWith(".ts")&&!n.endsWith(".js"))continue;if(n.includes(".test.")||n.includes(".spec."))continue;let o=n.replace(/\.(ts|js)$/,""),s=le.join(a,n);try{let i=(await import(s)).default;if(i&&typeof i.handler==="function")M(o,i);else if(typeof i==="function")M(o,{handler:i,mode:"universal"})}catch(l){console.warn(`Failed to load middleware '${o}' from ${s}:`,l)}}}function Te(t){let e={};if(!t)return e;let a=new URLSearchParams(t);for(let[r,n]of a)e[r]=n;return e}function me(t,e,a,r=""){return{path:t,params:e,query:Te(r),fullPath:r?`${t}?${r}`:t,meta:a}}function ye(t,e,a,r){let n=r?.isServer??typeof window>"u",o=!n,s=new Headers;return{to:t,from:e,isClient:o,isServer:n,cookies:n&&a?j(a,s):q(),storage:H(),state:{},request:a,responseHeaders:s}}async function ve(t,e){let a=Array.isArray(t)?t:[t],r=e.isServer;for(let n of a){let o=V(n);if(!o)return console.error(`Route middleware '${n}' is not registered \u2014 failing the guard closed.`),{passed:!1,abort:{type:"abort",error:{statusCode:500,message:`Route middleware '${n}' is not registered`}},state:e.state,responseHeaders:e.responseHeaders};if(o.mode==="server"&&!r)continue;try{let s=await o.handler(e);if(s){if(s.type==="redirect")return{passed:!1,redirect:s,state:e.state,responseHeaders:e.responseHeaders};if(s.type==="abort")return{passed:!1,abort:s,state:e.state,responseHeaders:e.responseHeaders}}}catch(s){return console.error(`Error in middleware '${n}':`,s),{passed:!1,abort:{type:"abort",error:{statusCode:500,message:s instanceof Error?s.message:"Middleware error"}},state:e.state,responseHeaders:e.responseHeaders}}}return{passed:!0,state:e.state,responseHeaders:e.responseHeaders}}var S;var we=d(()=>{S=new Map});function D(t){let a=t.replace(/\\/g,"/").split("/").filter(Boolean),r=a.lastIndexOf("layouts"),n=r>=0?a[r+1]:a.at(-1);if(!n)return"app";return n.replace(/\.stx$/i,"")||"app"}function be(t){let e=t.match(/<meta\b[^>]*name=["']stx-layout["'][^>]*content=["']([^"']+)["'][^>]*>/i),a=t.match(/<meta\b[^>]*name=["']stx-layout-group["'][^>]*content=["']([^"']+)["'][^>]*>/i),r=t.match(/<!--\s*stx-layout:\s*([^ ]+)\s*-->/i),n=e?.[1]||r?.[1]||"";return{layout:n,group:a?.[1]||D(n)}}var xe=()=>{};function Re(t){try{return new Bun.Transpiler({loader:"js",minifyWhitespace:!0}).transformSync(t).replace(/\}(var |let |const |function )/g,"};$1").trim()}catch{return t}}function Se(){if(F)return F;return F=Re(`
5
5
  ;(function(){
@@ -2068,4 +2068,4 @@ else {
2068
2068
  if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',init);else init();
2069
2069
  })();
2070
2070
  `),F}var F;var ke=()=>{};var Le={};Ee(Le,{setAppUrl:()=>te,runMiddleware:()=>ve,route:()=>ne,resolveLayoutChain:()=>R,resetRoutes:()=>se,registerMiddleware:()=>M,patternToRegex:()=>x,navigateTo:()=>ce,matchRoute:()=>$,loadMiddlewareFromDirectory:()=>ge,isNonPageRoutePattern:()=>w,isNonPageRoutePath:()=>N,hasMiddleware:()=>de,getRouterScript:()=>Se,getMiddlewareNames:()=>fe,getMiddleware:()=>V,generateRouteTypes:()=>A,generateRouteManifest:()=>C,formatRoutes:()=>Q,findErrorPage:()=>Z,filePathToPattern:()=>T,extractLayoutMetadata:()=>be,deriveLayoutGroup:()=>D,defineRoutes:()=>ae,defineRoute:()=>re,defineMiddleware:()=>he,createStorageManager:()=>H,createServerCookieManager:()=>j,createRouter:()=>J,createRouteLocation:()=>me,createMiddlewareContext:()=>ye,createClientCookieManager:()=>q,clearMiddleware:()=>pe,bracketPathToRegex:()=>z,abortNavigation:()=>ue,Router:()=>L,NON_PAGE_DIRS:()=>v});var _e=d(()=>{ee();B();oe();we();U();xe();P();k();ke()});
2071
- export{v as ov,N as pv,w as qv,A as rv,C as sv,T as tv,x as uv,$ as vv,z as wv,R as xv,L as yv,J as zv,Z as Av,Q as Bv,te as Cv,re as Dv,ae as Ev,ne as Fv,se as Gv,ce as Hv,ue as Iv,he as Jv,j as Kv,q as Lv,H as Mv,M as Nv,V as Ov,de as Pv,pe as Qv,fe as Rv,ge as Sv,me as Tv,ye as Uv,ve as Vv,D as Wv,be as Xv,xe as Yv,Se as Zv,Le as _v,_e as $v};
2071
+ export{v as uv,N as vv,w as wv,A as xv,C as yv,T as zv,x as Av,$ as Bv,z as Cv,R as Dv,L as Ev,J as Fv,Z as Gv,Q as Hv,te as Iv,re as Jv,ae as Kv,ne as Lv,se as Mv,ce as Nv,ue as Ov,he as Pv,j as Qv,q as Rv,H as Sv,M as Tv,V as Uv,de as Vv,pe as Wv,fe as Xv,ge as Yv,me as Zv,ye as _v,ve as $v,D as aw,be as bw,xe as cw,Se as dw,Le as ew,_e as fw};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{al as a,bl as b,cl as c,dl as d,el as e}from"./chunk-88kr475r.js";import"./chunk-qrkxyb5p.js";export{b as injectPwaTags,e as generateThemeColorMeta,c as generateSwRegistrationScript,a as generatePwaTags,d as generateManifestLink};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Ok as a,Pk as b,Qk as c,Rk as d,Sk as e}from"./chunk-m3a20mmb.js";import"./chunk-cey6rhqw.js";export{d as runPwaAudit,e as formatAuditResult,c as calculateAuditResult,a as auditConfig,b as auditBuildOutput};
2
+ import{Ok as a,Pk as b,Qk as c,Rk as d,Sk as e}from"./chunk-m3a20mmb.js";import"./chunk-qrkxyb5p.js";export{d as runPwaAudit,e as formatAuditResult,c as calculateAuditResult,a as auditConfig,b as auditBuildOutput};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Ao as e,Bo as f,Co as g,Do as h,Eo as i,Fo as j,Go as k,Ho as l,Io as m,wo as a,xo as b,yo as c,zo as d}from"./chunk-2astj1fq.js";import"./chunk-9e6pyjwz.js";import"./chunk-z698hwht.js";import"./chunk-70zb3560.js";import"./chunk-zsapb653.js";import"./chunk-kwrj745h.js";import"./chunk-df5wrw50.js";import"./chunk-e10pfrds.js";import"./chunk-ecbqmesm.js";import"./chunk-namj6apv.js";import"./chunk-dgrayagx.js";import"./chunk-2hyxkzpc.js";import"./chunk-r1g0bnpv.js";import"./chunk-2dk3ym1g.js";import"./chunk-8n0mjaf6.js";import"./chunk-5az2jb8y.js";import"./chunk-rcvnh2p7.js";import"./chunk-qrkxyb5p.js";export{m as stripStxRuntimeImports,b as scanScriptTags,l as rewriteStxImportSpecifiers,j as processSignals,h as processScriptSetup,f as preEvalLiteralReactiveIfs,c as parseLoopExpression,d as hasSignalsSyntax,k as findMarkupIndexOutsideScripts,i as extractExports,g as convertSignalLoopsToAttributes,e as convertSignalDirectivesToAttributes,a as clearScriptScanCache};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{fm as x,jq as M}from"./chunk-7kk2jb1j.js";import"./chunk-2btrq8sz.js";import"./chunk-z698hwht.js";import"./chunk-70zb3560.js";import"./chunk-zsapb653.js";import{Bt as P,zt as B}from"./chunk-hrd56xw7.js";import"./chunk-hhjrtjc9.js";import"./chunk-sb2g9f73.js";import"./chunk-1r3ydhkx.js";import"./chunk-j8bwgnz5.js";import"./chunk-5mdvkpt8.js";import"./chunk-zeqktcby.js";import"./chunk-jtaxnnq3.js";import"./chunk-2925bmqr.js";import"./chunk-sr042pkc.js";import"./chunk-w913decg.js";import"./chunk-sqkz8tf3.js";import"./chunk-cey6rhqw.js";import G from"path";var T=["broadcast","calculateDistance","canNotify","clearCookies","clearFetchCache","clearStorage","copyToClipboard","createShareableFile","defineForm","getBatteryLevel","getCookie","getCurrentPosition","getStorageKeys","getStorageSize","getVoices","hasBattery","hasCameraPermission","hasGeolocationPermission","hasMicrophonePermission","hasNotificationPermission","hasResizeObserver","hexToHsl","hexToRgb","isBroadcastChannelSupported","isCharging","isDeviceMotionSupported","isDeviceOrientationSupported","isEventSourceSupported","isEyeDropperSupported","isInFullscreen","isMutationObserverSupported","isPermissionGranted","isSpeechRecognitionSupported","isSpeechSynthesisSupported","isWakeLockSupported","isWebSocketSupported","notify","parseCookies","pickColor","prefetch","removeCookie","requestMediaPermissions","requestMotionPermission","requestNotificationPermission","requestOrientationPermission","setCookie","share","shareCurrentPage","shareFiles","shareText","shareURL","shareWithFallback","speak","stopSpeaking","toggleFullscreen","useAsyncData","useAttributeObserver","useAutoLogout","useAutoWakeLock","useBattery","useBreakpoint","useBroadcastChannel","useChannel","useChildListObserver","useClipboard","useColorHistory","useConditionalWakeLock","useCookies","useCopySelection","useDeviceMotion","useDeviceOrientation","useElementSize","useElementTextSelection","useElementVisibility","useEventSource","useEyeDropper","useFavicon","useForm","useFullscreen","useGeolocation","useGeolocationWatch","useHotkey","useIdle","useIdleState","useInfiniteScroll","useIntersectionObserver","useIntersectionObserverMultiple","useIsDesktop","useIsMobile","useIsTablet","useKeyPressed","useKeySequence","useKeyboard","useLastActive","useLazyLoad","useMeta","useMouse","useMouseInElement","useMutationObserver","useNetwork","useNotification","useOnline","useParallax","usePermission","usePermissions","usePointer","usePost","useResizeObserver","useResizeObserverMultiple","useSSE","useScroll","useSelectionPopup","useShare","useSpeechRecognition","useSpeechSynthesis","useStorage","useTextObserver","useTextSelection","useTitle","useVisibility","useWakeLock","useWindowSize"],O=new Set(T);var K=new Map,U=B(64),V=new Set,D=0,N=new Set(T);function f(){K.clear(),U.clear()}function S(H){let J=new Map;for(let Q of H){let Z=G.basename(Q);if(Z.endsWith(".d.ts"))continue;let z=Z.replace(/\.[jt]s$/,"");if(z==="index")continue;if(z===Z)continue;let X=J.get(z);if(X&&!X.endsWith(".js"))continue;J.set(z,Q)}return[...J.values()].sort()}function g(H,J){let Q=J.replace(/[$()*+.?[\\\]^{|}-]/g,"\\$&");return new RegExp(`(?:^|[^\\w$.])(?:const|let|var|function|class)\\s+${Q}\\b`).test(H)}function y(H){if(!H)return[];let J=P(H,D),Q=U.get(J);if(Q)return Q.slice();let Z=H.replace(/<script\b[^>]*\bdata-stx-runtime\b[^>]*>[\s\S]*?<\/script>/gi,"").replace(/<script\b[^>]*\bdata-stx-framework-composables\b[^>]*>[\s\S]*?<\/script>/gi,"").replace(/<script\b[^>]*\bdata-stx-stores\b[^>]*>[\s\S]*?<\/script>/gi,"").replace(/<script\b[^>]*\bdata-stx-composables\b[^>]*>[\s\S]*?<\/script>/gi,""),z=[];for(let X of N){if(V.has(X))continue;let A=X.replace(/[$()*+.?[\\\]^{|}-]/g,"\\$&");if(new RegExp(`(^|[^\\w$.])${A}\\s*\\(`).test(Z))z.push(X)}return z.sort(),U.set(J,z),z.slice()}async function p(H,J){let Q=y(H);if(Q.length===0)return null;let Z=J??G.join(import.meta.dir,"composables"),z=`${Z}\x00${Q.join(",")}`,X=K.get(z);if(X!==void 0)return X||null;let A=M({loader:"ts",target:"browser",define:x()}),L=new Set(Q),W=[],C=new Set,F=[];try{let q=new Bun.Glob("*.{ts,js}");for await(let j of q.scan({cwd:Z,absolute:!0}))F.push(j)}catch{return K.set(z,""),null}F=S(F);for(let q of F){let j;try{j=await Bun.file(q).text()}catch{continue}let I=[];try{I=A.scan(j).exports.filter(($)=>$!=="default")}catch{continue}if(!I.some(($)=>L.has($)))continue;try{j=j.replace(/^import\s+.*from\s+['"][^'"]+['"]\s*;?\s*$/gm,""),j=j.replace(/^import\s+type\s+.*$/gm,""),j=j.replace(/^export\s+\*\s+(?:as\s+\w+\s+)?from\s*['"][^'"]+['"]\s*;?\s*$/gm,""),j=j.replace(/^export\s+(?:type\s+)?\{[\s\S]*?\}\s*(?:from\s*['"][^'"]+['"]\s*)?;?\s*$/gm,""),j=j.replace(/^export\s+default\s+/gm,""),j=j.replace(/^export\s+(?=(?:declare\s+)?(?:abstract\s+)?(?:async\s+)?(?:function|class|const|let|var|type|interface|enum)\b)/gm,""),W.push(`// ${G.basename(q).replace(/\.[jt]s$/,"")}
2
+ import{fm as x,jq as M}from"./chunk-2astj1fq.js";import"./chunk-9e6pyjwz.js";import"./chunk-z698hwht.js";import"./chunk-70zb3560.js";import"./chunk-zsapb653.js";import{Bt as P,zt as B}from"./chunk-kwrj745h.js";import"./chunk-df5wrw50.js";import"./chunk-e10pfrds.js";import"./chunk-ecbqmesm.js";import"./chunk-namj6apv.js";import"./chunk-dgrayagx.js";import"./chunk-2hyxkzpc.js";import"./chunk-r1g0bnpv.js";import"./chunk-2dk3ym1g.js";import"./chunk-8n0mjaf6.js";import"./chunk-5az2jb8y.js";import"./chunk-rcvnh2p7.js";import"./chunk-qrkxyb5p.js";import G from"path";var T=["broadcast","calculateDistance","canNotify","clearCookies","clearFetchCache","clearStorage","copyToClipboard","createShareableFile","defineForm","getBatteryLevel","getCookie","getCurrentPosition","getStorageKeys","getStorageSize","getVoices","hasBattery","hasCameraPermission","hasGeolocationPermission","hasMicrophonePermission","hasNotificationPermission","hasResizeObserver","hexToHsl","hexToRgb","isBroadcastChannelSupported","isCharging","isDeviceMotionSupported","isDeviceOrientationSupported","isEventSourceSupported","isEyeDropperSupported","isInFullscreen","isMutationObserverSupported","isPermissionGranted","isSpeechRecognitionSupported","isSpeechSynthesisSupported","isWakeLockSupported","isWebSocketSupported","notify","parseCookies","pickColor","prefetch","removeCookie","requestMediaPermissions","requestMotionPermission","requestNotificationPermission","requestOrientationPermission","setCookie","share","shareCurrentPage","shareFiles","shareText","shareURL","shareWithFallback","speak","stopSpeaking","toggleFullscreen","useAsyncData","useAttributeObserver","useAutoLogout","useAutoWakeLock","useBattery","useBreakpoint","useBroadcastChannel","useChannel","useChildListObserver","useClipboard","useColorHistory","useConditionalWakeLock","useCookies","useCopySelection","useDeviceMotion","useDeviceOrientation","useElementSize","useElementTextSelection","useElementVisibility","useEventSource","useEyeDropper","useFavicon","useForm","useFullscreen","useGeolocation","useGeolocationWatch","useHotkey","useIdle","useIdleState","useInfiniteScroll","useIntersectionObserver","useIntersectionObserverMultiple","useIsDesktop","useIsMobile","useIsTablet","useKeyPressed","useKeySequence","useKeyboard","useLastActive","useLazyLoad","useMeta","useMouse","useMouseInElement","useMutationObserver","useNetwork","useNotification","useOnline","useParallax","usePermission","usePermissions","usePointer","usePost","useResizeObserver","useResizeObserverMultiple","useSSE","useScroll","useSelectionPopup","useShare","useSpeechRecognition","useSpeechSynthesis","useStorage","useTextObserver","useTextSelection","useTitle","useVisibility","useWakeLock","useWindowSize"],O=new Set(T);var K=new Map,U=B(64),V=new Set,D=0,N=new Set(T);function f(){K.clear(),U.clear()}function S(H){let J=new Map;for(let Q of H){let Z=G.basename(Q);if(Z.endsWith(".d.ts"))continue;let z=Z.replace(/\.[jt]s$/,"");if(z==="index")continue;if(z===Z)continue;let X=J.get(z);if(X&&!X.endsWith(".js"))continue;J.set(z,Q)}return[...J.values()].sort()}function g(H,J){let Q=J.replace(/[$()*+.?[\\\]^{|}-]/g,"\\$&");return new RegExp(`(?:^|[^\\w$.])(?:const|let|var|function|class)\\s+${Q}\\b`).test(H)}function y(H){if(!H)return[];let J=P(H,D),Q=U.get(J);if(Q)return Q.slice();let Z=H.replace(/<script\b[^>]*\bdata-stx-runtime\b[^>]*>[\s\S]*?<\/script>/gi,"").replace(/<script\b[^>]*\bdata-stx-framework-composables\b[^>]*>[\s\S]*?<\/script>/gi,"").replace(/<script\b[^>]*\bdata-stx-stores\b[^>]*>[\s\S]*?<\/script>/gi,"").replace(/<script\b[^>]*\bdata-stx-composables\b[^>]*>[\s\S]*?<\/script>/gi,""),z=[];for(let X of N){if(V.has(X))continue;let A=X.replace(/[$()*+.?[\\\]^{|}-]/g,"\\$&");if(new RegExp(`(^|[^\\w$.])${A}\\s*\\(`).test(Z))z.push(X)}return z.sort(),U.set(J,z),z.slice()}async function p(H,J){let Q=y(H);if(Q.length===0)return null;let Z=J??G.join(import.meta.dir,"composables"),z=`${Z}\x00${Q.join(",")}`,X=K.get(z);if(X!==void 0)return X||null;let A=M({loader:"ts",target:"browser",define:x()}),L=new Set(Q),W=[],C=new Set,F=[];try{let q=new Bun.Glob("*.{ts,js}");for await(let j of q.scan({cwd:Z,absolute:!0}))F.push(j)}catch{return K.set(z,""),null}F=S(F);for(let q of F){let j;try{j=await Bun.file(q).text()}catch{continue}let I=[];try{I=A.scan(j).exports.filter(($)=>$!=="default")}catch{continue}if(!I.some(($)=>L.has($)))continue;try{j=j.replace(/^import\s+.*from\s+['"][^'"]+['"]\s*;?\s*$/gm,""),j=j.replace(/^import\s+type\s+.*$/gm,""),j=j.replace(/^export\s+\*\s+(?:as\s+\w+\s+)?from\s*['"][^'"]+['"]\s*;?\s*$/gm,""),j=j.replace(/^export\s+(?:type\s+)?\{[\s\S]*?\}\s*(?:from\s*['"][^'"]+['"]\s*)?;?\s*$/gm,""),j=j.replace(/^export\s+default\s+/gm,""),j=j.replace(/^export\s+(?=(?:declare\s+)?(?:abstract\s+)?(?:async\s+)?(?:function|class|const|let|var|type|interface|enum)\b)/gm,""),W.push(`// ${G.basename(q).replace(/\.[jt]s$/,"")}
3
3
  ${A.transformSync(j).trim()}`);for(let $ of I)C.add($)}catch($){console.warn(`[stx] framework composable ${G.basename(q)} could not be bundled:`,$)}}let Y=Q.filter((q)=>!C.has(q)&&!g(H,q));if(Y.length>0)console.warn(`[stx] could not bundle ${Y.join(", ")} from @stacksjs/stx/composables \u2014 `+"calls to them will throw ReferenceError in the browser. Import them explicitly so the bundler inlines them, or use a runtime equivalent from window.stx.");if(W.length===0)return K.set(z,""),null;let k=[...C].map((q)=>` try { if (!(${JSON.stringify(q)} in __s)) { __s[${JSON.stringify(q)}] = ${q}; if (!(${JSON.stringify(q)} in window)) window[${JSON.stringify(q)}] = ${q}; } } catch (e) {}`).join(`
4
4
  `),w=`<script data-stx-framework-composables>
5
5
  ;(function(){
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{Gj as B,Hj as R,Ij as H,Jj as S,Kj as F,Lj as M,Pj as E,Qj as P,Rj as O,Sj as I}from"./chunk-t41aaehf.js";import{lv as L}from"./chunk-sr042pkc.js";var w=null;function j(){return w}function f(z,W){if(w)w.provides.set(z,W);else V.set(z,W)}function k(z,W){let Q=w;while(Q){if(Q.provides.has(z))return Q.provides.get(z);Q=Q.parent}if(V.has(z))return V.get(z);return W}var V=new Map;function v(z,W){V.set(z,W)}function U(z){let W=w,Q=W?.el,Z=Array.isArray(z)?z:z&&typeof z==="object"?Object.keys(z):[];if(Q&&Z.length>0){let $=Q.__stx_component_emits||=Object.create(null);for(let Y of Z)$[Y]=!0}let _=($,...Y)=>{if(typeof document>"u")return;if(Q){let X=Q.__stx_component_emits||=Object.create(null);X[$]=!0,Q.dispatchEvent(new CustomEvent($,{detail:Y.length===1?Y[0]:Y,bubbles:!0,cancelable:!0}))}};if(W)W.emit=_;return _}function g(z){if(w)w.exposed=z}function m(z){let W=Promise.resolve();return z?W.then(z):W}function y(z){if(w)w.errorCapturedHooks.push(z)}function h(z,W,Q){let Z=W?.parent;while(Z){for(let _ of Z.errorCapturedHooks)if(_(z,W,Q)===!1)return;Z=Z.parent}}function p(){return w?.slots??{}}function u(){return w?.slots??{}}function l(){return w?.attrs??{}}function d(z){let W=z.__provides?new Map(Object.entries(z.__provides)):new Map;return{...z,__provides:W,__provide(Q,Z){W.set(Q,Z)},__inject(Q,Z){if(W.has(Q))return W.get(Q);if(z.__provides){let _=z.__provides instanceof Map?z.__provides:new Map(Object.entries(z.__provides));if(_.has(Q))return _.get(Q)}return Z}}}function i(){return`
2
+ import{Gj as B,Hj as R,Ij as H,Jj as S,Kj as F,Lj as M,Pj as E,Qj as P,Rj as O,Sj as I}from"./chunk-t41aaehf.js";import{rv as L}from"./chunk-8n0mjaf6.js";var w=null;function j(){return w}function f(z,W){if(w)w.provides.set(z,W);else V.set(z,W)}function k(z,W){let Q=w;while(Q){if(Q.provides.has(z))return Q.provides.get(z);Q=Q.parent}if(V.has(z))return V.get(z);return W}var V=new Map;function v(z,W){V.set(z,W)}function U(z){let W=w,Q=W?.el,Z=Array.isArray(z)?z:z&&typeof z==="object"?Object.keys(z):[];if(Q&&Z.length>0){let $=Q.__stx_component_emits||=Object.create(null);for(let Y of Z)$[Y]=!0}let _=($,...Y)=>{if(typeof document>"u")return;if(Q){let X=Q.__stx_component_emits||=Object.create(null);X[$]=!0,Q.dispatchEvent(new CustomEvent($,{detail:Y.length===1?Y[0]:Y,bubbles:!0,cancelable:!0}))}};if(W)W.emit=_;return _}function g(z){if(w)w.exposed=z}function m(z){let W=Promise.resolve();return z?W.then(z):W}function y(z){if(w)w.errorCapturedHooks.push(z)}function h(z,W,Q){let Z=W?.parent;while(Z){for(let _ of Z.errorCapturedHooks)if(_(z,W,Q)===!1)return;Z=Z.parent}}function p(){return w?.slots??{}}function u(){return w?.slots??{}}function l(){return w?.attrs??{}}function d(z){let W=z.__provides?new Map(Object.entries(z.__provides)):new Map;return{...z,__provides:W,__provide(Q,Z){W.set(Q,Z)},__inject(Q,Z){if(W.has(Q))return W.get(Q);if(z.__provides){let _=z.__provides instanceof Map?z.__provides:new Map(Object.entries(z.__provides));if(_.has(Q))return _.get(Q)}return Z}}}function i(){return`
3
3
  // STX Composition API Runtime
4
4
  (function() {
5
5
  const _provides = new Map();
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{em as c,hm as d,im as e,jm as f,km as g,lm as h,mm as i,nm as j,om as k,pm as l,qm as m}from"./chunk-2astj1fq.js";import"./chunk-9e6pyjwz.js";import"./chunk-z698hwht.js";import{kt as a,lt as b}from"./chunk-70zb3560.js";import"./chunk-zsapb653.js";import"./chunk-kwrj745h.js";import"./chunk-df5wrw50.js";import"./chunk-e10pfrds.js";import"./chunk-ecbqmesm.js";import"./chunk-namj6apv.js";import"./chunk-dgrayagx.js";import"./chunk-2hyxkzpc.js";import"./chunk-r1g0bnpv.js";import"./chunk-2dk3ym1g.js";import"./chunk-8n0mjaf6.js";import"./chunk-5az2jb8y.js";import"./chunk-rcvnh2p7.js";import"./chunk-qrkxyb5p.js";export{h as transformAutoImports,b as stripCommentsAndLiterals,e as renderVendorStyleTags,m as processClientScript,g as injectBrowserCoreAutoImports,l as generateServerDataBridge,j as generateBrowserAutoImportDestructuring,i as generateAutoImportDestructuring,a as findInterpolationEnd,k as extractBridgeData,d as extractAndStripCssImports,f as STX_AUTO_IMPORTS,c as BROWSER_CORE_IMPORTS};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{jw as y}from"./chunk-cey6rhqw.js";function S4(){if(typeof Notification<"u"&&Notification.permission==="granted")return!0;return!1}function jZ(){return typeof window<"u"&&typeof document<"u"}async function w4(){if(typeof Notification>"u")return!1;if(Notification.permission==="granted")return!0;if(Notification.permission==="denied")return!1;return await Notification.requestPermission()==="granted"}var g=new Map;function B4(){return`alert-${Date.now()}-${Math.random().toString(36).substring(2,9)}`}function f4(Z){switch(Z){case"info":return"&#x2139;";case"success":return"&#x2714;";case"warning":return"&#x26A0;";case"error":return"&#x2716;";default:return"&#x2139;"}}function v4(Z="top-right"){if(!jZ())throw Error("Toast container requires browser environment");try{let $=document.querySelector(`.stx-toast-container[data-position="${Z}"]`);if($)return $}catch{}let Y=document.createElement("div");Y.className=`stx-toast-container ${Z}`,Y.dataset.position=Z;try{if(document.body)document.body.appendChild(Y)}catch{}return Y}function y4(Z){let{options:Y}=Z,$=f4(Y.type),J=Y.type||"info",Q=Y.duration!==0;return`
2
+ import{pw as y}from"./chunk-qrkxyb5p.js";function S4(){if(typeof Notification<"u"&&Notification.permission==="granted")return!0;return!1}function jZ(){return typeof window<"u"&&typeof document<"u"}async function w4(){if(typeof Notification>"u")return!1;if(Notification.permission==="granted")return!0;if(Notification.permission==="denied")return!1;return await Notification.requestPermission()==="granted"}var g=new Map;function B4(){return`alert-${Date.now()}-${Math.random().toString(36).substring(2,9)}`}function f4(Z){switch(Z){case"info":return"&#x2139;";case"success":return"&#x2714;";case"warning":return"&#x26A0;";case"error":return"&#x2716;";default:return"&#x2139;"}}function v4(Z="top-right"){if(!jZ())throw Error("Toast container requires browser environment");try{let $=document.querySelector(`.stx-toast-container[data-position="${Z}"]`);if($)return $}catch{}let Y=document.createElement("div");Y.className=`stx-toast-container ${Z}`,Y.dataset.position=Z;try{if(document.body)document.body.appendChild(Y)}catch{}return Y}function y4(Z){let{options:Y}=Z,$=f4(Y.type),J=Y.type||"info",Q=Y.duration!==0;return`
3
3
  <div class="stx-toast ${J}" data-alert-id="${Z.id}" role="alert" aria-live="polite">
4
4
  <div class="stx-toast-icon">${$}</div>
5
5
  <div class="stx-toast-content">
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{gw as W,hw as k,iw as G}from"./chunk-cey6rhqw.js";import A from"fs";import B from"path";function h(j){let q=0;for(let K=0;K<j.length;K++){let Q=j[K];q=(q<<5)-q+Q,q=q&q}return Math.abs(q).toString(16).padStart(8,"0")}function u(j,q){let K=B.basename(j);for(let Q of q)if(Q.startsWith("*.")){let Y=Q.slice(1);if(K.endsWith(Y))return!0}else if(Q.includes("*")){let Y=new RegExp(`^${Q.replace(/\*/g,".*")}$`);if(Y.test(K)||Y.test(j))return!0}else if(K===Q||j.includes(Q))return!0;return!1}function f(j,q,K){let Q=B.extname(j).toLowerCase(),Y=l[Q],X=(K.maxFileSizeKB||500)*1024;if(q>X)return!1;if(K.exclude&&u(j,K.exclude))return!1;if(K.include&&K.include.length>0){for(let Z of K.include)if(Z.startsWith("*.")){if(j.endsWith(Z.slice(1)))return!0}else if(j.includes(Z))return!0}if(Y&&K[Y]===!0)return!0;if(!Y)return!1;return!1}function T(j,q,K,Q){let Y=A.readdirSync(j,{withFileTypes:!0});for(let X of Y){let Z=B.join(j,X.name);if(X.isDirectory()){if(["node_modules",".git",".stx"].includes(X.name))continue;T(Z,q,K,Q)}else if(X.isFile()){let O=A.statSync(Z),_=B.relative(q,Z);if(f(_,O.size,K)){let $=A.readFileSync(Z),L=h($),V=`/${_.replace(/\\/g,"/")}`;Q.push({url:V,revision:L,size:O.size})}}}}function U(j,q){let K=q.pwa?.precache,Q=[];if(!K?.enabled)return{entries:[],totalSize:0,fileCount:0};if(!A.existsSync(j))return{entries:[],totalSize:0,fileCount:0};T(j,j,K,Q),Q.sort((X,Z)=>X.url.localeCompare(Z.url));let Y=Q.reduce((X,Z)=>X+Z.size,0);return{entries:Q,totalSize:Y,fileCount:Q.length}}function J(j){if(j.entries.length===0)return"[]";return`[
2
+ import{mw as W,nw as k,ow as G}from"./chunk-qrkxyb5p.js";import A from"fs";import B from"path";function h(j){let q=0;for(let K=0;K<j.length;K++){let Q=j[K];q=(q<<5)-q+Q,q=q&q}return Math.abs(q).toString(16).padStart(8,"0")}function u(j,q){let K=B.basename(j);for(let Q of q)if(Q.startsWith("*.")){let Y=Q.slice(1);if(K.endsWith(Y))return!0}else if(Q.includes("*")){let Y=new RegExp(`^${Q.replace(/\*/g,".*")}$`);if(Y.test(K)||Y.test(j))return!0}else if(K===Q||j.includes(Q))return!0;return!1}function f(j,q,K){let Q=B.extname(j).toLowerCase(),Y=l[Q],X=(K.maxFileSizeKB||500)*1024;if(q>X)return!1;if(K.exclude&&u(j,K.exclude))return!1;if(K.include&&K.include.length>0){for(let Z of K.include)if(Z.startsWith("*.")){if(j.endsWith(Z.slice(1)))return!0}else if(j.includes(Z))return!0}if(Y&&K[Y]===!0)return!0;if(!Y)return!1;return!1}function T(j,q,K,Q){let Y=A.readdirSync(j,{withFileTypes:!0});for(let X of Y){let Z=B.join(j,X.name);if(X.isDirectory()){if(["node_modules",".git",".stx"].includes(X.name))continue;T(Z,q,K,Q)}else if(X.isFile()){let O=A.statSync(Z),_=B.relative(q,Z);if(f(_,O.size,K)){let $=A.readFileSync(Z),L=h($),V=`/${_.replace(/\\/g,"/")}`;Q.push({url:V,revision:L,size:O.size})}}}}function U(j,q){let K=q.pwa?.precache,Q=[];if(!K?.enabled)return{entries:[],totalSize:0,fileCount:0};if(!A.existsSync(j))return{entries:[],totalSize:0,fileCount:0};T(j,j,K,Q),Q.sort((X,Z)=>X.url.localeCompare(Z.url));let Y=Q.reduce((X,Z)=>X+Z.size,0);return{entries:Q,totalSize:Y,fileCount:Q.length}}function J(j){if(j.entries.length===0)return"[]";return`[
3
3
  ${j.entries.map((K)=>` { url: '${K.url}', revision: '${K.revision}' }`).join(`,
4
4
  `)}
5
5
  ]`}function E(j){if(j<1024)return`${j} B`;if(j<1048576)return`${(j/1024).toFixed(1)} KB`;return`${(j/1048576).toFixed(2)} MB`}var l;var F=G(()=>{l={".html":"includeHtml",".htm":"includeHtml",".js":"includeJs",".mjs":"includeJs",".css":"includeCss",".png":"includeImages",".jpg":"includeImages",".jpeg":"includeImages",".gif":"includeImages",".webp":"includeImages",".svg":"includeImages",".ico":"includeImages",".woff":"includeFonts",".woff2":"includeFonts",".ttf":"includeFonts",".eot":"includeFonts",".otf":"includeFonts"}});function g(j){let q={"cache-first":{className:"CacheFirst",importFrom:"workbox-strategies"},"network-first":{className:"NetworkFirst",importFrom:"workbox-strategies"},"stale-while-revalidate":{className:"StaleWhileRevalidate",importFrom:"workbox-strategies"},"network-only":{className:"NetworkOnly",importFrom:"workbox-strategies"},"cache-only":{className:"CacheOnly",importFrom:"workbox-strategies"}};return q[j]||q["network-first"]}function R(j){return g(j).className}function M(j){let q=j.pwa;if(!q?.enabled)return"";let K=q.routes||[],Q=q.cacheStorage,Y=[];for(let X of K){let Z=R(X.strategy),O=[];if(X.maxAgeSeconds||X.maxEntries||Q?.maxEntries){let $=X.maxEntries||Q?.maxEntries||100,L=X.maxAgeSeconds||(Q?.maxAge?Q.maxAge*24*60*60:void 0);O.push(`new ExpirationPlugin({
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{$ as Vl,$a as Zn,$b as ip,$c as iq,$d as ir,A as Fk,Aa as jn,Ab as Do,Ac as Jp,Ad as Jq,Ae as Pr,B as Gk,Ba as kn,Bb as Eo,Bc as Kp,Bd as Kq,Be as Qr,C as Hk,Ca as xn,Cb as Fo,Cc as Lp,Cd as Lq,Ce as Rr,D as Ik,Da as yn,Db as Go,Dc as Mp,Dd as Mq,De as Sr,E as yl,Ea as zn,Eb as Ho,Ec as Np,Ed as Nq,Ee as Tr,F as zl,Fa as An,Fb as Io,Fc as Op,Fd as Oq,Fe as Ur,G as Al,Ga as Bn,Gb as Jo,Gc as Pp,Gd as Pq,Ge as Vr,H as Bl,Ha as Cn,Hb as Ko,Hc as Qp,Hd as Qq,He as Wr,I as Cl,Ia as Gn,Ib as Lo,Ic as Rp,Id as Rq,Ie as Xr,J as Dl,Ja as Hn,Jb as Mo,Jc as Sp,Jd as Sq,Je as Yr,K as El,Ka as In,Kb as No,Kc as Tp,Kd as Tq,Ke as Zr,L as Fl,La as Jn,Lb as Oo,Lc as Up,Ld as Uq,M as Gl,Ma as Kn,Mb as Po,Mc as Vp,Md as Vq,N as Hl,Na as Ln,Nb as Wo,Nc as Wp,Nd as Wq,O as Il,Oa as Mn,Ob as Xo,Oc as Xp,Od as Xq,P as Jl,Pa as Nn,Pb as Yo,Pc as Yp,Pd as Yq,Q as Kl,Qa as On,Qb as Zo,Qc as Zp,Qd as Zq,R as Ll,Ra as Pn,Rb as _o,Rc as _p,Rd as _q,S as Ml,Sa as Qn,Sb as $o,Sc as $p,Sd as $q,T as Nl,Ta as Rn,Tb as ap,Tc as aq,Td as ar,U as Ol,Ua as Sn,Ub as bp,Uc as bq,Ud as br,V as Pl,Va as Tn,Vb as cp,Vc as cq,Vd as cr,W as Ql,Wa as Un,Wb as dp,Wc as dq,Wd as dr,X as Rl,Xa as Vn,Xb as ep,Xc as eq,Xd as er,Y as Sl,Ya as Wn,Yb as fp,Yc as fq,Yd as fr,Z as Tl,Za as Xn,Zb as gp,Zc as gq,Zd as gr,_ as Ul,_a as Yn,_b as hp,_c as hq,_d as hr,aa as Wl,ab as _n,ac as jp,ad as jq,ae as jr,ba as Xl,bb as $n,bc as kp,bd as kq,be as qr,ca as Yl,cb as ao,cc as lp,cd as lq,ce as rr,da as Zl,db as bo,dc as mp,dd as mq,de as sr,ea as _l,eb as co,ec as np,ed as nq,ee as tr,fa as $l,fb as eo,fc as op,fd as oq,fe as ur,ga as am,gb as fo,gc as pp,gd as pq,ge as vr,ha as bm,hb as go,hc as qp,hd as qq,he as wr,ia as cm,ib as ho,ic as rp,id as rq,ie as xr,ja as dm,jb as io,jc as sp,jd as sq,je as yr,ka as em,kb as jo,kc as tp,kd as tq,ke as zr,la as fm,lb as ko,lc as up,ld as uq,le as Ar,ma as gm,mb as lo,mc as vp,md as vq,me as Br,na as hm,nb as oo,nc as wp,nd as wq,ne as Cr,o as a,oa as im,ob as po,oc as xp,od as xq,oe as Dr,p as qk,pa as Zm,pb as qo,pc as yp,pd as yq,pe as Er,q as rk,qa as _m,qb as ro,qc as zp,qd as zq,qe as Fr,r as sk,ra as $m,rb as to,rc as Ap,rd as Aq,re as Gr,s as tk,sa as an,sb as uo,sc as Bp,sd as Bq,se as Hr,t as uk,ta as bn,tb as vo,tc as Cp,td as Cq,te as Ir,u as vk,ua as cn,ub as wo,uc as Dp,ud as Dq,ue as Jr,v as wk,va as dn,vb as yo,vc as Ep,vd as Eq,ve as Kr,w as xk,wa as en,wb as zo,wc as Fp,wd as Fq,we as Lr,x as yk,xa as fn,xb as Ao,xc as Gp,xd as Gq,xe as Mr,y as Dk,ya as gn,yb as Bo,yc as Hp,yd as Hq,ye as Nr,z as Ek,za as hn,zb as Co,zc as Ip,zd as Iq,ze as Or}from"./chunk-7b09hmk4.js";import{Le as Qo,Me as Ro,Ne as So,Oe as To,Pe as Uo,Qe as Vo}from"./chunk-wr011j4b.js";import{Re as mo,Se as no}from"./chunk-2ver2s2y.js";import{Te as so}from"./chunk-rwq2qzpx.js";import{Ue as Ym}from"./chunk-3qt3cxh0.js";import{Ve as Dn,We as En,Xe as Fn,Ye as xo}from"./chunk-33gkb5pr.js";import{$e as Lk,Ze as Jk,_e as Kk,af as Mk,bf as Nk,cf as Ok,df as Pk,ef as Qk,ff as Rk,gf as Sk,hf as Tk,if as Uk,jf as Vk,kf as Wk,lf as Xk}from"./chunk-ym3r8ktq.js";import{mf as ml,nf as nl,of as ol,pf as pl,qf as ql,rf as rl,sf as sl,tf as tl,uf as ul,vf as vl,wf as wl,xf as xl}from"./chunk-yhebk7kd.js";import{yf as kl,zf as ll}from"./chunk-qz462c22.js";import{Af as Yk,Bf as Zk,Cf as _k,Df as $k,Ef as al,Ff as bl,Gf as cl,If as dl,Jf as el,Kf as fl,Lf as gl,Mf as hl,Nf as il,Qf as jl}from"./chunk-ycmsckjw.js";import{Rf as Fm,Sf as Gm,Tf as Hm,Uf as Im,Vf as Lm,Wf as Xm}from"./chunk-3erkb524.js";import{Xf as Jm,_f as Km}from"./chunk-9fjhmyje.js";import{Ag as Qm,Bg as Rm,Cg as Sm,Dg as Tm,Eg as Um,Fg as Vm,Gg as Wm,gg as jm,hg as km,ig as lm,jg as mm,kg as nm,lg as om,mg as pm,ng as qm,og as rm,pg as sm,qg as tm,rg as um,sg as vm,tg as wm,ug as xm,vg as ym,wg as Mm,xg as Nm,yg as Om,zg as Pm}from"./chunk-xnj5h0bq.js";import{Hg as zm,Ig as Am}from"./chunk-dvvx1wny.js";import{Jg as ln,Kg as mn,Lg as nn,Mg as on,Ng as pn,Og as qn,Pg as rn,Qg as sn,Rg as tn,Sg as un,Tg as vn,Ug as wn}from"./chunk-xz3evxqp.js";import{Vg as ai,Wg as bi,Xg as ci,Yg as di,Zg as ei,_g as fi}from"./chunk-222swfwr.js";import{$g as uj,ah as vj,bh as wj,fh as xj,gh as yj,hh as zj}from"./chunk-a6q5dmq7.js";import{ih as Fj,jh as Gj,kh as Hj,lh as Ij,mh as Jj,nh as Kj,oh as Lj,ph as Mj,qh as Nj,rh as Oj,sh as Pj}from"./chunk-q5hwa8dn.js";import{Ah as qj,Bh as rj,Ch as sj,Dh as tj,th as kj,uh as lj,vh as mj,wh as nj,xh as oj,zh as pj}from"./chunk-vd5xvsnv.js";import{Eh as fk,Gh as gk}from"./chunk-64djh88a.js";import{Mh as Dh,Nh as Eh,Oh as Fh,Ph as Gh,Qh as Hh,Rh as Ih,Sh as Jh,Th as Kh,Uh as Lh,Vh as Mh,Wh as Nh,Xh as Oh,Yh as Ph,Zh as Qh}from"./chunk-9368t9jm.js";import{$h as Rh,ai as Sh,bi as Th,ci as Uh}from"./chunk-5tefa8qb.js";import{hi as Vh}from"./chunk-mwh3ymwc.js";import{ii as Zg}from"./chunk-fqq5k9ve.js";import{ji as _g,ki as $g}from"./chunk-ya5m5vbn.js";import{li as ah,mi as bh,ni as ch,oi as dh,pi as eh,qi as fh}from"./chunk-y4nzmkea.js";import{ri as gh,si as hh,ti as ih,ui as jh,vi as kh}from"./chunk-7kw3grq5.js";import{Ai as ph,wi as lh,xi as mh,yi as nh,zi as oh}from"./chunk-c79nfdyj.js";import{Bi as qh,Ci as rh,Di as sh,Ei as th,Fi as uh,Gi as vh,Hi as wh}from"./chunk-ej8mv2k6.js";import{Ii as xh,Ji as yh,Ki as zh,Li as Ah,Mi as Bh,Ni as Ch}from"./chunk-cr8v8k53.js";import{Pi as Wg,Qi as Xg}from"./chunk-hgc3n1xq.js";import{Ti as Yg}from"./chunk-1b2wksq3.js";import"./chunk-xwxdwqn9.js";import{$i as He,Xi as De,Yi as Ee,Zi as Fe,_i as Ge,aj as Ie,bj as Je,cj as Ke,dj as Le,ej as Me,fj as Ne,gj as Oe,hj as Pe,ij as Qe}from"./chunk-nn17da2e.js";import{jj as ff,kj as gf,lj as hf,mj as jf,nj as kf,oj as lf,pj as mf,qj as nf,rj as of,sj as pf,tj as qf,uj as rf,vj as sf,wj as tf,xj as uf,yj as vf,zj as wf}from"./chunk-x2j5b308.js";import{Gj as Te,Hj as Ue,Ij as Ve,Jj as We,Kj as Xe,Lj as Ye,Mj as Ze,Nj as _e,Oj as $e,Pj as af,Qj as bf,Rj as cf,Sj as df,Tj as ef}from"./chunk-t41aaehf.js";import{$j as Ef,Uj as xf,Vj as yf,Wj as zf,Xj as Af,Yj as Bf,Zj as Cf,_j as Df,ak as Ff,bk as Gf,ck as Hf,dk as If}from"./chunk-vmjktkm9.js";import{Ak as nr,Bk as or,Ck as pr,xk as kr,yk as lr,zk as mr}from"./chunk-akefvpqr.js";import{Dk as zk,Ek as Ak,Fk as Bk,Gk as Ck,Hk as Bm,Ik as Cm,Jk as Dm,Kk as Em}from"./chunk-8mspafdh.js";import"./chunk-09zjty4k.js";import"./chunk-kncbae57.js";import{ul as Yb,vl as Zb,zl as _b}from"./chunk-8q9qfy2v.js";import{$l as Fb,$m as $c,$n as pe,$o as Uf,$p as Ug,$q as hj,Am as sc,An as Ad,Ap as tg,Aq as Ii,Ar as jk,Bl as xa,Bm as tc,Bn as Bd,Bp as ug,Bq as Ji,Br as kk,Cl as ya,Cm as uc,Cn as Cd,Cp as vg,Cq as Ki,Cr as lk,Dl as za,Dm as vc,Dn as Dd,Dp as wg,Dq as Li,Dr as mk,El as Aa,Em as wc,En as Ed,Ep as xg,Eq as Mi,Er as nk,Fl as Ba,Fm as xc,Fn as Fd,Fp as yg,Fq as Ni,Fr as ok,Gl as Ca,Gm as yc,Gn as Gd,Gp as zg,Gq as Oi,Gr as pk,Hl as Da,Hm as zc,Hn as Hd,Hp as Ag,Hq as Pi,Il as Ea,Im as Ac,In as Id,Ip as Bg,Iq as Qi,Jl as Fa,Jm as Bc,Jn as Jd,Jp as Cg,Jq as Ri,Kl as Ga,Km as Cc,Kn as Kd,Ko as Kf,Kp as Dg,Kq as Si,Ll as Ha,Lm as Dc,Ln as Ld,Lp as Eg,Lq as Ti,Ml as Ia,Mm as Ec,Mn as Md,Mp as Fg,Mq as Ui,Nl as Ja,Nm as Oc,Nn as Nd,Np as Gg,Nq as Vi,Ol as Ka,Om as Pc,On as Od,Op as Hg,Oq as Wi,Pl as La,Pm as Qc,Pn as Pd,Pp as Ig,Pq as Xi,Ql as Ma,Qm as Rc,Qn as Qd,Qo as Lf,Qp as Jg,Qq as Yi,Rl as Na,Rm as Sc,Rn as fe,Rp as Kg,Rq as Zi,Sl as Oa,Sm as Tc,Sn as ge,So as Mf,Sp as Lg,Sq as _i,Tl as ib,Tm as Uc,Tn as he,Tp as Mg,Tq as $i,Ul as jb,Un as ie,Uo as Nf,Up as Ng,Uq as aj,Vl as kb,Vm as Vc,Vn as je,Vo as Of,Vp as Og,Vq as bj,Wl as lb,Wm as Wc,Wn as ke,Wo as Pf,Wp as Pg,Wq as cj,Xl as mb,Xm as Xc,Xn as le,Xo as Qf,Xp as Qg,Xq as dj,Yl as nb,Ym as Yc,Yn as me,Yo as Rf,Yp as Rg,Yq as ej,Zm as Zc,Zn as ne,Zo as Sf,Zp as Sg,Zq as fj,_m as _c,_n as oe,_o as Tf,_p as Tg,_q as gj,am as Gb,an as ad,ao as qe,ap as Vf,aq as Vg,ar as ij,bm as Hb,bn as bd,bo as re,bp as Wf,bq as Wh,br as jj,cm as Ib,cn as cd,co as se,cp as Xf,cq as Xh,cr as Aj,dm as Jb,dn as dd,dp as Yf,dq as Yh,dr as Bj,em as Nb,en as ed,ep as Zf,eq as Zh,er as Cj,fm as Ob,fn as fd,fp as _f,fq as _h,fr as Dj,gm as Pb,gn as gd,gp as $f,gq as $h,gr as Ej,hm as $b,hn as hd,hp as ag,hq as gi,hr as Qj,im as ac,in as id,io as we,ip as bg,iq as hi,ir as Rj,jm as bc,jn as jd,jo as xe,jp as cg,jq as ii,jr as Sj,km as cc,kn as kd,ko as ye,kp as dg,kq as ji,kr as Tj,lm as dc,ln as ld,lo as ze,lp as eg,lq as ki,lr as Uj,mm as ec,mn as md,mo as Ae,mp as fg,mq as li,mr as Vj,nm as fc,nn as nd,no as Be,np as gg,nq as mi,nr as Wj,om as gc,on as od,oo as Ce,op as hg,oq as ni,or as Xj,pm as hc,pn as pd,pp as ig,pq as oi,pr as Yj,qm as ic,qn as qd,qp as jg,qq as pi,qr as Zj,rm as jc,rn as rd,rp as kg,rq as qi,rr as _j,sm as kc,sn as sd,so as Re,sp as lg,sq as ri,sr as $j,tm as lc,tn as td,to as Se,tp as mg,tq as si,tr as ak,um as mc,un as ud,up as ng,uq as ti,ur as bk,vm as nc,vn as vd,vo as Jf,vp as og,vq as ui,vr as ck,wm as oc,wn as wd,wp as pg,wq as vi,wr as dk,xm as pc,xn as xd,xp as qg,xq as wi,xr as ek,ym as qc,yn as yd,yp as rg,yq as Gi,yr as hk,zm as rc,zn as zd,zp as sg,zq as Hi,zr as ik}from"./chunk-7kk2jb1j.js";import{$r as v,$s as oa,As as N,Bs as O,Cs as P,Ds as Q,Es as R,Fs as S,Gs as T,Hr as b,Hs as U,Ir as c,Is as V,Jr as d,Js as W,Kr as e,Ks as X,Lr as f,Ls as Y,Mr as g,Ms as Z,Nr as h,Ns as _,Or as i,Os as $,Pr as j,Ps as aa,Qr as k,Qs as ba,Rr as l,Rs as ca,Sr as m,Ss as da,Tr as n,Ts as ea,Ur as o,Us as fa,Vr as p,Vs as ia,Wr as q,Ws as ja,Xr as r,Xs as ka,Yr as s,Ys as la,Zr as t,Zs as ma,_r as u,_s as na,as as w,at as pa,bs as x,bt as qa,cs as y,ct as ra,ds as z,dt as sa,es as A,et as ta,fs as B,ft as ua,gs as C,gt as va,hs as D,ht as wa,is as E,js as F,ks as G,ls as H,ms as I,ns as J,os as K,ps as L,zs as M}from"./chunk-2btrq8sz.js";import{it as ga,jt as ha}from"./chunk-z698hwht.js";import{kt as Kb,lt as Lb,mt as Mb}from"./chunk-70zb3560.js";import{nt as xi,ot as yi,pt as zi,qt as Ai,rt as Bi,st as Ci,tt as Di,ut as Ei,vt as Fi}from"./chunk-zsapb653.js";import{Nt as Fc,Ot as Gc,Pt as Hc,Qt as Ic,Rt as Jc,Tt as Kc,au as Lc,bu as Mc,cu as Nc}from"./chunk-hrd56xw7.js";import{fu as te,hu as ue,iu as ve}from"./chunk-hhjrtjc9.js";import"./chunk-sb2g9f73.js";import{pu as Qb,qu as Rb,ru as Sb,su as Tb,tu as Ub,uu as Vb}from"./chunk-1r3ydhkx.js";import"./chunk-j8bwgnz5.js";import{Au as Xb,zu as Wb}from"./chunk-5mdvkpt8.js";import{Eu as Rd,Fu as Sd,Gu as Td,Hu as Ud,Iu as Vd,Ju as Wd,Ku as Xd,Lu as Yd,Mu as Zd,Nu as _d,Ou as $d,Pu as ae,Qu as be,Ru as ce,Su as de,Tu as ee}from"./chunk-zeqktcby.js";import"./chunk-jtaxnnq3.js";import"./chunk-2925bmqr.js";import{$u as qb,Zu as ob,_u as pb,av as rb,bv as sb,cv as tb,dv as ub,ev as vb,fv as wb,gv as xb,hv as yb,iv as zb,jv as Ab,kv as Bb,lv as Cb,mv as Db,nv as Eb}from"./chunk-sr042pkc.js";import{Av as Sa,Bv as Ta,Hv as Ua,Iv as Va,Jv as Wa,Kv as Xa,Lv as Ya,Mv as Za,Nv as _a,Ov as $a,Pv as ab,Qv as bb,Rv as cb,Sv as db,Tv as eb,Uv as fb,Vv as gb,Xv as hb,rv as Pa,sv as Qa,vv as Ra}from"./chunk-w913decg.js";import"./chunk-sqkz8tf3.js";import"./chunk-cey6rhqw.js";export{Tk as writeNetlifyConfig,Nm as writeManifest,wl as writeImageManifest,dp as wrapComponentForHMR,Mr as withDefaults,ek as webComponentDirectiveHandler,Up as watermark,Wq as watchViews,Gl as watchMultiple,Hl as watchEffect,Fl as watch,Ae as warmImagePlaceholders,Ul as waitForStore,X as waitForLocale,Ro as virtualPathFor,Tj as videoDirective,G as validators,Qr as validated,qe as validateValueEnhanced,Xh as validateTemplate,zm as validateRouteRules,Zp as validateParams,re as validateFormEnhanced,Lq as validateFile,me as validateFields,le as validateField,Zh as validateDirective,Ld as validateCspDirectives,mk as validateConfig,_m as validateComponentScripts,xn as validateComponentProps,Vg as validateClientScript,Uh as v,wc as usesSignalsInScript,ub as usesReactiveRuntime,ki as userComponentFileExists,Ah as useVirtualList,Zd as useTitle,Tl as useStoreOrThrow,vp as useStore,Dk as useStorage,of as useSlots,Fk as useSessionStorage,Wb as useServerRuntimeConfig,Kf as useServerData,Wd as useSeoMeta,Xb as useRuntimeConfig,Vl as useRouteParams,Xl as useRouteParamOrThrow,Wl as useRouteParam,Zd as usePageTitle,ef as useOptimistic,tf as useModel,Zl as useMiddlewareValue,Yl as useMiddlewareState,Ek as useLocalStorage,Yo as useLoadingIndicator,Ud as useHead,Rh as useForm,qf as useAttrs,Nq as uploadFiles,Mq as uploadFile,Ql as updateInstance,cf as untrack,Ai as unregisterDirective,Rl as unmountInstance,Ec as unescapeHtml,Uo as typecheckStxFiles,ji as transpileTypeScript,zr as translate,Ba as transitionDirective,dc as transformAutoImports,rn as toUsers,qn as toUser,Dp as thumbnail,Eq as thumbHashToRGBA,Fq as thumbHashToDataURL,wb as templateNeedsRuntime,vb as templateHasReactiveContext,xf as templateCache,bd as syncRecordedResponse,ap as stxClientHelpers,fg as structuredDataDirective,Cr as stripLocalePrefix,wm as stripDocumentWrapper,Lb as stripCommentsAndLiterals,bo as stringToStream,zd as strictCspPreset,Le as streamingSuspenseDirective,Pe as streamToResponse,Je as streamTemplateSimple,De as streamTemplate,yk as stopHmrServer,nn as stopBroadcasting,Tb as stateDirName,Ub as stateDir,Te as state,Pg as startsDocument,xo as startProductionServer,so as startInteractive,mn as startBroadcasting,Er as stampLocaleLayoutGroup,Ia as staggerDirective,Xp as srcsetUrls,Ja as springDirective,id as splitByPipe,sm as spaNavVaryHeaders,So as sourcePathFor,cq as smartBatchSign,mi as slotContentHasExpressions,aq as signUrl,hi as shouldTranspileTypeScript,vk as shouldReloadOnChange,fq as shouldRefreshSignature,wk as shouldIgnoreFile,sh as shouldCacheComponent,Hp as sharpen,Tr as shape,Sb as setStateDir,bm as setRouteParams,cm as setMiddlewareState,ze as setImagePlaceholder,hf as setGlobalProvide,b as setErrorLocale,yl as setCurrentInstance,Hj as setCachedVideoResult,wj as setCachedImageResult,qj as setCached,Wr as serveStxFile,Yr as serveMultipleStxFiles,qk as serveMarkdownFile,Io as serveFile,Zr as serveApp,Ho as serve,gp as serializeState,Pm as serializeSetCookie,Jp as sepia,Xd as seoMetaToHeadConfig,Ca as scrollAnimateDirective,va as screenReaderDirective,Xj as scopeHTML,Wj as scopeCSS,ig as scanForSitemapEntries,pa as scanA11yTargets,qa as scanA11yIssues,Np as saturation,_p as sanitizeParams,I as sanitizeFilePath,J as sanitizeExpression,K as sanitizeDirectiveParams,H as sanitizeDirectiveParam,L as sanitizeComponentProps,B as safeExecuteAsync,A as safeExecute,Cb as runtimeHandledXAttrsLiteral,_f as runPreProcessingMiddleware,$f as runPostProcessingMiddleware,Sm as runPageAction,Ze as runMountCallbacks,gb as runMiddleware,Ol as runHooks,sr as runDoctor,_e as runDestroyCallbacks,ng as runComposers,Op as rotate,Vh as rewriteImagesWithSiblings,cd as responseBindings,qi as resolveTemplatePath,ha as resolveStxTargets,ik as resolveStxDirectories,yr as resolveI18n,Bp as resize,Sf as resetUnscopedSignalWarnings,Cc as resetRejectedExpressionWarnings,jc as resetPlaceholders,Td as resetHead,fp as resetHMRHandler,o as resetErrorConfig,Or as required,Qf as reportDeferredLoopWarnings,nc as replacePlaceholders,Uq as renderView,Qj as renderVideoComponent,ac as renderVendorStyleTags,br as renderToString,cr as renderToStream,dr as renderToDOM,Dq as renderThumbhashToCanvas,pr as renderTemplateString,nr as renderTemplate,or as renderString,Ge as renderStreamingPage,ci as renderSlot,ih as renderSSRSuspense,nq as renderProtectedVideo,mq as renderProtectedImg,$p as renderMediaUpload,mr as renderMarkdownView,Dm as renderLayoutTypes,Aj as renderImgComponent,ml as renderImageComponent,$d as renderHtmlAttrs,_d as renderHead,Xq as renderEmail,oi as renderComponentWithSlot,ae as renderBodyAttrs,qp as render,Bd as relaxedCspPreset,ke as registerValidationRule,Ne as registerStreamingDirectives,xp as registerStoresClient,$l as registerStore,gg as registerSeoDirectives,_a as registerMiddleware,rc as registerFilters,qc as registerFilter,d as registerErrorMessages,pe as registerEnhancedValidationRule,xi as registerDirective,Kd as registerCspDirectives,An as registerComponentDirectives,Oa as registerAnimationDirectives,wa as registerA11yDirectives,Cl as ref,ko as redirect,Zc as recordResponseStatus,_c as recordResponseHeader,Vb as rebaseOntoStateDir,$c as readResponseStatus,ad as readResponseHeaders,ok as readMarkdownFile,yf as readFileCached,Dl as reactive,Sp as quality,kq as pruneSignatureCache,tj as pruneCache,ff as provide,lr as protectCodeBlocks,Nr as prop,qg as processVueTemplate,yh as processVirtualListDirectives,Ch as processVirtualGridDirectives,Pj as processVideo,ne as processValidateDirective,ea as processTranslateDirective,ch as processTransitionDirectives,fh as processTransitionAttributes,de as processTitleDirective,Rc as processTemplateBindings,_g as processTeleportDirectives,gh as processSuspenseDirectives,bg as processStructuredData,He as processStreamDirectives,dd as processStatusDirective,Ph as processStaticDirectives,Yf as processStackReplacements,Xf as processStackPushDirectives,di as processSlots,um as processShell,Ce as processServerBindings,cg as processSeoDirective,Oe as processSectionDirectives,Jc as processScopedStyles,Pc as processReactiveBindings,oq as processProtectedMedia,Ih as processPartialHydrationDirectives,Ug as processOnceDirective,Zf as processMiddleware,ag as processMetaDirectives,ee as processMetaDirective,pk as processMarkdownFileDirectives,vi as processMarkdownDirectives,Rf as processLoops,qh as processKeepAliveDirectives,Tg as processJsonDirective,Bh as processInfiniteListDirectives,Wf as processIncludes,Cj as processImgComponents,ol as processImageComponents,bl as processImage,ce as processHeadDirective,ge as processForms,ie as processFormInputDirectives,Ac as processExpressions,Ib as processEventDirectives,je as processErrorDirective,rg as processDynamicComponents,Wh as processDirectives,Fi as processDirectiveAttributes,Zg as processDeferDirectives,Pd as processCustomDirectives,Hd as processCspDirectives,Ur as processComponentProps,ic as processClientScript,he as processBasicFormDirectives,lh as processAsyncDirectives,Qd as processAppearanceBootstrapDirective,Fa as processAnimationDirectives,ka as processA11yDirectives,ve as prepareImageDelivery,T as preloadTranslationsBackground,S as preloadTranslations,Xo as preloadIslandHandlers,Be as preloadIconCollection,hn as poolStrings,gk as pluginManager,xe as placeholdersWarmed,bh as performLeave,ah as performEnter,$e as pendingLifecycleCounts,df as peek,Tf as partialsCache,Rj as parseVideoDirectiveOptions,zp as parseUrl,Gq as parseThumbhashString,od as parseSwitchBlock,ai as parseSlots,bi as parseSlotElement,td as parseScriptDeclarations,ck as parseSFCComponent,pq as parseProtectedArgs,Pf as parseLoopBinding,Bj as parseImgComponent,Ti as parseImageUrl,nl as parseImageComponent,Qm as parseFormBody,qd as parseExpressionWithFilters,Bn as parseDefaults,ho as parseCookies,lm as parseContainerSelector,ld as parseConditionalBlock,rd as parseArguments,Ma as parseAnimationShorthand,Pr as optional,jn as optimizeTemplate,tl as optimizeImage,ul as optimizeDirectory,Rr as oneOf,Uf as onceStore,Ll as onUpdated,Oc as onUpdate,Nl as onUnmounted,gm as onServer,Jl as onMounted,Xe as onMount,Oh as onHydrated,mf as onErrorCaptured,Ye as onDestroy,wh as onDeactivated,fm as onClient,Kl as onBeforeUpdate,Ml as onBeforeUnmount,Il as onBeforeMount,vh as onActivated,zq as observeElement,lo as notFound,wg as normalizeCriticalHeadOrder,lf as nextTick,En as negotiateEncoding,Ua as navigateTo,Pl as mountInstance,Ea as motionDirective,Ad as moderateCspPreset,gn as minifyHtml,eg as metaDirective,Hg as metaDedupKey,Ap as mergeParams,Jg as mergeHtmlAttrs,Vd as mergeHeadConfigs,Gc as mergeCssConfig,Ed as mergeCspDirectives,Ra as matchRoute,wi as markdownDirectiveHandler,nk as markdownCache,ga as looksLikeGlob,Br as localizePath,U as loadTranslationLazy,_ as loadTranslation,jk as loadStxConfig,db as loadMiddlewareFromDirectory,Om as loadManifest,vq as loadElement,on as loadChannels,Ir as lintStxStrict,xq as lazyLoadAll,wq as lazyLoad,Ha as keyframeDirective,$q as jsxs,ar as jsxDEV,_q as jsx,jo as jsonResponse,Me as islandDirective,l as isTest,xm as isSpaNavigation,qm as isSpaNavRequest,dq as isSignatureValid,af as isSignal,$k as isSharpAvailable,Wn as isServerEnvironment,dm as isServer,yb as isRuntimeOwnedColonAttr,da as isRtlLocale,j as isProduction,ia as isPresentationalRole,sq as isNativeLazySupported,kr as isMarkdownPath,Q as isLoading,R as isLoaded,gi as isJavaScriptScript,tq as isIntersectionObserverSupported,hl as isImageFile,al as isImageBackendAvailable,aa as isICUFormat,Nh as isHydrated,li as isHydrateTrigger,Xc as isHttpStatus,Vn as isEdgeEnvironment,Jr as isDirectiveKind,k as isDevelopment,bf as isDerived,uk as isCssOnlyChange,Dn as isCompressible,em as isClient,nh as isAsyncComponent,Rm as isActionableMethod,Kp as invert,Af as invalidateFileCacheByDir,zf as invalidateFileCache,zc as interpolateScriptsInTemplate,xc as interpolateScriptExpressions,yc as interpolateScriptAttributes,x as inlineError,xr as injectThemeBootstrap,dg as injectSeoTags,ur as injectSeo,Jf as injectRouterScript,tk as injectHotReload,kb as injectHeatmap,Nc as injectCss,Fd as injectCspMetaTag,Rg as injectConfigHeadTags,vg as injectColorModeBootScript,Lg as injectCloakStyle,Cg as injectBuildId,cc as injectBrowserCoreAutoImports,Tc as injectAnalytics,gf as inject,_l as initStoreRegistry,Wk as initNetlify,Zo as initLoadingIndicator,uq as initLazyLoading,ro as initFile,Cq as initBlurUp,Iq as initAllBlurUp,Ej as imgDirective,rl as imageDirective,Vm as hydrateTemplateStream,Um as hydrateTemplate,Wo as hydrateIslands,Kh as hydrateIsland,Wm as hydrateFragment,Lh as hydrateByStrategy,Mh as hydrateAll,np as hydrate,Go as htmlResponse,Ng as hoistLeadingHeadTags,xg as hoistColorModeBootScript,lb as heatmapDirective,mj as hashString,If as hashFilePath,kj as hashFile,lj as hashBuffer,pg as hasVueTemplateSyntax,Of as hasVariables,sp as hasStore,oc as hasPlaceholders,Uk as hasNetlifyConfig,ab as hasMiddleware,Jb as hasEventDirectives,Qg as hasDocumentShell,_h as hasDirectives,ma as hasDOMSupport,kl as handleImageRequest,nf as handleError,hr as h,gl as groupVariantsByFormat,Ip as grayscale,zo as gitHash,an as getUnusedDirectives,V as getTranslationSync,O as getTranslationCacheStats,W as getTranslationAsync,ba as getTranslation,Pk as getTotalSize,eq as getTimeUntilExpiry,Wg as getStoreScript,tp as getStoreNames,rp as getStore,Ik as getStorageSize,Hk as getStorageKeys,ri as getSourceLineInfo,ii as getSharedTranspiler,Ef as getServeClientAsset,la as getScreenReaderOnlyStyle,Yj as getScopeAttribute,Se as getRouteParams,Ob as getPublicEnvDefine,Pb as getPublicEnv,Yh as getPositionInfo,lc as getPlaceholderRegistry,jj as getPlaceholderCacheStats,Sd as getPageMeta,vd as getNonce,il as getMimeType,cb as getMiddlewareNames,$a as getMiddleware,ca as getLocaleDirection,P as getLoadingState,Y as getLoadingLocales,we as getImagePlaceholder,cl as getImageMetadata,te as getImageDelivery,mp as getHydrationRuntime,am as getHydratedStoreState,xk as getHmrServer,Rd as getHead,ep as getHMRHandler,Xi as getFormatExtension,oj as getFileMtime,fl as getFallbackVariant,f as getErrorMessage,c as getErrorLocale,n as getErrorConfig,i as getErrorCodeName,zi as getDirectives,yi as getDirective,zl as getCurrentInstance,Kc as getCssServeAsset,Dd as getCspPreset,Md as getCspHeaderName,ui as getComponentCacheStats,Gj as getCachedVideoResult,iq as getCachedSignature,Cf as getCachedSignalsRuntime,Df as getCachedRouterScript,hj as getCachedPlaceholder,vj as getCachedImageResult,pj as getCached,sj as getCacheStats,Ag as getBuildId,ln as getBroadcastServer,Wi as getBestVariant,sc as getAllFilters,Ki as generateWidthSrcset,zh as generateVirtualListCSS,Pq as generateVideoPreview,se as generateValidationScript,Qq as generateUploadRuntime,bn as generateTreeShakenBundle,eh as generateTransitionRuntime,dh as generateTransitionCSS,Kj as generateThumbnails,aj as generateThumbhashPlaceholder,Nn as generateTemplatesDocs,kh as generateSuspenseRuntime,jh as generateSuspenseCSS,hp as generateStateScript,Ui as generateSrcsetData,zj as generateSrcset,dl as generateSrcSet,Lj as generateSpriteSheet,Yq as generateSpaShell,Vi as generateSourceTags,Qi as generateSizesFromBreakpoints,Pi as generateSizesAttribute,el as generateSizes,hg as generateSitemapIndex,vr as generateSitemap,rq as generateSimpleMediaPicker,lq as generateSignatureRuntime,wf as generateSignalsRuntimeDev,vf as generateSignalsRuntime,hc as generateServerDataBridge,Vj as generateScopeId,dk as generateSFCWebComponent,Gb as generateRuntimeScript,Pa as generateRouteTypes,Qa as generateRouteManifest,jg as generateRobotsTxt,wr as generateRobots,yj as generateResponsiveVariants,$j as generateReactiveWebComponentTS,_j as generateReactiveWebComponent,bk as generateReactiveRuntime,ak as generateReactiveMixin,Jj as generatePoster,gj as generatePlaceholderStyle,fj as generatePlaceholderCSS,$i as generatePlaceholder,Jh as generatePartialHydrationCSS,ud as generateNonce,Qk as generateNetlifyToml,Sq as generateMinifiedMediaRuntime,Rq as generateMediaRuntime,qq as generateMediaManagerEmbed,Mm as generateManifest,$o as generateLoadingIndicatorHtml,Bq as generateLazyLoadRuntime,Em as generateLayoutTypes,cj as generateLQIP,uh as generateKeepAliveRuntime,th as generateKeepAliveCSS,Qh as generateIslandManifest,Oq as generateImagePreview,vl as generateImageManifest,lp as generateHydrationScript,Qe as generateHydrationRuntime,op as generateHydrationCSS,Dh as generateHydrationBootstrap,sk as generateHotReloadScript,jb as generateHeatmapScript,cp as generateHMRClientScript,Mj as generateHLSManifest,ip as generateEventBindings,Oi as generateDprSrcsetWithVariableQuality,Ni as generateDprSrcset,Og as generateDocumentShell,Sn as generateDocs,On as generateDirectivesDocs,Ei as generateDirectiveRuntime,kg as generateDefaultRobotsTxt,Nj as generateDASHManifest,Mc as generateCss,yd as generateCspMetaTag,xd as generateCspHeader,sf as generateCompositionRuntime,Mn as generateComponentsDocs,Eh as generateComponentManifest,Kn as generateComponentDoc,ej as generateColorPlaceholder,ug as generateColorModeBootScript,Sl as generateClientRuntime,nj as generateCacheKey,fc as generateBrowserAutoImportDestructuring,Jq as generateBlurUpRuntime,Kq as generateBlurUpCSS,Qc as generateBindingsRuntime,Li as generateAutoWidthSrcset,ec as generateAutoImportDestructuring,ph as generateAsyncComponentRuntime,oh as generateAsyncComponentCSS,Zb as generateApiTypes,Na as generateAnimationRuntime,La as generateAnimationCSS,Sc as generateAnalyticsScript,Vo as formatTypecheckDiagnostics,Po as formatTypeErrors,oo as formatStxContent,Ok as formatSize,Ta as formatRoutes,po as formatMarkdownContent,g as formatLocalizedError,$ as formatICU,p as formatFilePath,w as formatError,tr as formatDoctorReport,Pn as formatDocsAsMarkdown,Rn as formatDocsAsJson,Qn as formatDocsAsHtml,Rp as format,fn as foldConstants,Qp as flipVertical,Pp as flipHorizontal,Fm as fingerprint,To as findRuntimeTypeDeclarations,rr as findPantryPackage,kd as findMatchingEndTag,gd as findMatchingDelimiter,Kb as findInterpolationEnd,md as findIfBlocks,pd as findExpressions,Sa as findErrorPage,Hc as findDuplicateScopedStyleRanges,nd as findDirectiveBlocks,cn as findDeadCode,cn as findDeadBranches,mm as findContainerRegion,Ln as findComponentFiles,Xr as findCommonDir,Nk as filterRequiredFiles,pi as fileExists,Lf as extractVariables,Km as extractTemplateExpressions,Ie as extractStreamBoundaries,jp as extractState,ei as extractSlotContent,Nf as extractScriptFromTemplate,Jm as extractScriptBlocks,mc as extractPlaceholders,jd as extractParenthesizedExpression,Yc as extractPageResponseStatus,hb as extractLayoutMetadata,dj as extractDominantColor,sd as extractDirectiveParams,$h as extractDirectiveNames,ym as extractContainerContent,In as extractComponentProps,Fh as extractComponentName,Jn as extractComponentDescription,Lc as extractClassNames,gc as extractBridgeData,Gh as extractBoundProps,hd as extractBalancedExpression,$b as extractAndStripCssImports,Zj as extractAndScopeStyles,Hb as extractAndProcessEvents,Bk as externalizeSharedAssets,Ck as externalizeRepeatedAssets,Ak as externalizeHtml,Dc as evaluateExpression,en as evaluateConstant,ed as evaluateAuthExpression,vc as escapeHtmlValue,uc as escapeHtml,C as errorRecovery,E as errorLogger,$g as ensureTeleportTargets,Sg as ensureDocumentShell,oe as enhancedValidationRules,Gn as enableDevTools,dn as eliminateDeadCode,Ve as effect,Yp as dprUrls,Tn as docsCommand,Yb as discoverServerApi,Cm as discoverLayoutNames,Aq as disconnectObserver,Hn as disableDevTools,F as devHelpers,tm as detectShell,Un as detectRuntime,Rk as detectProjectConfig,Yi as detectFormat,Zm as detectBuildMode,Ue as derived,Vk as deploy,lk as defineStxConfig,wp as defineStore,pf as defineSlots,Hr as defineSiteConfig,Lr as definePropsWithValidation,Kr as defineProps,fk as definePlugin,Yd as definePageMeta,Wa as defineMiddleware,Sh as defineForm,kf as defineExpose,jf as defineEmits,Bi as defineDirective,jr as defineCustomElement,wo as defineConfig,Ci as defineClientDirective,mh as defineAsyncComponent,yo as defineApiHandler,Tq as defaultMediaConfig,xl as defaultImageConfig,M as defaultI18nConfig,ib as defaultHeatmapConfig,fe as defaultFormClasses,pc as defaultFilters,Od as defaultCspConfig,hk as defaultConfig,Vr as default,Fc as deepMergeThemes,Ic as dedupeScopedStyles,pm as decodeTitleEntities,bj as decodeThumbhash,Jd as cspNonceDirective,Id as cspDirective,Hq as crossfadeTransition,Cp as crop,xh as createVirtualList,Sj as createVideoDirective,fo as createVercelHandler,Mo as createTypeChecker,fa as createTranslateFilter,ao as createTextEncoderStream,ir as createStxApp,$n as createStreamingResponse,Ke as createStreamRenderer,up as createStore,Za as createStorageManager,Xa as createServerCookieManager,_b as createServerApi,Bl as createScope,hh as createSSRSuspense,Re as createRouter,Am as createRouteRuleResolver,eb as createRouteLocation,Ko as createRoute,Cl as createRef,Dl as createReactive,rf as createProvideContext,Bo as createProject,vo as createProductionBuild,kc as createPlaceholder,kn as createOptimizedBuild,go as createNetlifyHandler,Jk as createNetlifyClient,fb as createMiddlewareContext,Jo as createMiddleware,yq as createLazyObserver,rh as createKeepAliveCache,Yn as createKVNamespace,Hh as createIslandRegistry,Dj as createImgDirective,sl as createImagePlugin,ll as createImageHandler,ql as createImageDirective,nb as createHeatmapAggregator,Mk as createFileManifest,Xn as createEnvAccessor,z as createEnhancedError,_n as createEdgeHandler,Zn as createEdgeCache,si as createDetailedErrorMessage,eo as createDenoHandler,Sk as createDefaultNetlifyConfig,Nd as createCspHeaders,io as createCookie,El as createComputed,Al as createComponentInstance,co as createCloudflareHandler,Ya as createClientCookieManager,Di as createBuiltinDirectives,ir as createApp,Ka as createAnimationTimeline,Fp as cover,Mf as convertToCommonJS,Mp as contrast,Ep as contain,y as consoleError,m as configureErrorHandling,kk as config,El as computed,Fn as compressResponse,mg as composerPattern,lg as composer,vm as composeShellWithPage,zn as componentDirective,ni as componentClientSignalNames,Lm as compileTemplate,a as collectRepeatedFlag,Lk as collectDeployFiles,Mg as cloakStyleFragment,Ij as clearVideoCache,N as clearTranslationCache,Xg as clearStoreCache,Gk as clearStorage,jq as clearSignatureCache,uf as clearServerData,ij as clearPlaceholderCache,Vf as clearOnceStore,wd as clearNonce,bb as clearMiddleware,ye as clearImagePlaceholders,ue as clearImageDeliveryCatalog,pl as clearImageCache,e as clearErrorMessages,Ff as clearDevCaches,tc as clearCustomFilters,og as clearComposers,Yg as clearComposableCache,ti as clearComponentCache,rj as clearCache,Db as clearBlankCache,_o as cleanupLoadingIndicator,jm as classifyScript,km as classifyAllScripts,No as checkTemplateFile,Oo as checkTemplate,Gf as checkCache,gq as checkAuthAccess,na as checkA11yWithRegex,oa as checkA11y,un as channel,no as captureScreenshots,mo as captureScreenshot,Z as cancelPendingLoads,Kk as calculateSha1,Mi as calculateOptimalWidths,Hf as cacheTemplate,Uj as buildWebComponents,Qo as buildVirtualSource,Vq as buildViews,yp as buildUrl,Ee as buildSuspenseResolveScript,Gr as buildStaticSite,qb as buildRuntimeGlobalsDestructure,Gm as buildRuntimeAsset,Hm as buildRouterAsset,Fr as buildLangPickerScript,Si as buildImageUrl,Dg as buildIdFragment,Ig as buildHtmlAttrs,Xm as buildForProduction,Cn as buildComponentLibrary,hq as buildAuthParams,Ym as buildApp,Dr as buildAlternateLinks,uo as build,sn as broadcastPrivate,tn as broadcastPresence,pn as broadcast,Lp as brightness,Mb as bracketDepths,Gp as blur,Eb as blankInertHtmlRegions,bq as batchSignUrls,We as batch,sa as autoFixA11yFile,ta as autoFixA11yDirectory,ra as autoFixA11y,Tp as auto,ja as attributeValue,Im as assetTags,Fb as asInvocableStatement,Sr as arrayOf,Ar as applyTranslations,xj as applyTransformations,fi as applySlots,yn as applyPropDefaults,Wp as applyPreset,Kg as applyHtmlAttrs,be as applyHead,Bc as applyFilters,rm as appendVary,Cd as apiCspPreset,Da as animationGroupDirective,Oj as analyzeVideo,$m as analyzeUsage,hm as analyzeTemplate,im as analyzeProject,$m as analyzeDirectiveUsage,Uc as analyticsDirective,Eo as addStore,Do as addPage,Gd as addNonceToInlineContent,Fo as addLayout,Co as addComponent,Tm as actionRedirectResponse,Va as abortNavigation,ua as a11yDirective,Bf as __setSignalsGeneratorsForTest,Bg as __setBuildIdForTest,Fj as VideoProcessorCache,Th as Validator,xa as TransitionType,za as TransitionEase,ya as TransitionDirection,fd as Tokenizer,Lo as TemplateTypeChecker,qo as TEMPLATE_PRESETS,v as StxValidationError,r as StxSyntaxError,t as StxSecurityError,s as StxRuntimeError,u as StxFileError,q as StxError,er as Show,Fe as SUSPENSE_RESOLVER_RUNTIME,ob as STX_RUNTIME_GLOBALS,bc as STX_AUTO_IMPORTS,Rb as STATE_DIR_ENV_VAR,Ga as SPRING_PRESETS,nm as SPA_NAV_HEADER,xb as RUNTIME_OWNED_COLON_ATTRS,zb as RUNTIME_HANDLED_X_ATTRS,Vc as RESPONSE_STATUS_KEY,Wc as RESPONSE_HEADERS_KEY,tb as REACTIVE_RUNTIME_GLOBALS,to as ProductionBuild,gr as Portal,Ao as PROJECT_TEMPLATES,Vp as PRESETS,sb as NON_CLIENT_PRIMITIVES,pp as MemorySessionStore,Ji as MIME_TYPES,Gi as MEDIA_DEFAULT_WIDTHS,Ii as MEDIA_DEFAULT_FORMATS,Bm as LAYOUT_TYPES_FILE,uj as ImageProcessorCache,jl as ImageProcessingError,kp as HydrationRuntime,rk as HotReloadServer,mb as HeatmapAggregator,Gg as HTML_CLASS_MARKER,Fg as HTML_ATTRS_MARKER,Zq as Fragment,fr as For,om as FRAGMENT_CACHE_CONTROL,D as ErrorLogger,h as ErrorCodes,zk as EXTERNALIZED_ASSET_DIR,Xk as DeployError,Yk as DEFAULT_WIDTHS,Aa as DEFAULT_TRANSITION_OPTIONS,Qb as DEFAULT_STATE_DIR,_k as DEFAULT_QUALITY,Zi as DEFAULT_PLACEHOLDER_OPTIONS,Zk as DEFAULT_FORMATS,Hi as DEFAULT_DPR_VALUES,bp as ComponentHMRHandler,pb as COMPONENT_SCOPE_LOCAL_GLOBALS,Bb as COMPONENT_PASSTHROUGH_X_ATTRS,rb as COMPILE_TIME_ONLY_GLOBALS,Ri as COMMON_SIZES,sg as COLOR_MODE_BOOT_MARKER,tg as COLOR_MODE_BOOT_GLOBAL,Eg as CLOAK_STYLE,wn as BroadcastServer,vn as Broadcast,yg as BUILD_ID_META,zg as BUILD_ID_HEADER,Nb as BROWSER_CORE_IMPORTS,_i as BLUR_UP_CSS,Ab as ALPINE_BRIDGE_X_ATTRS,qr as $path};
2
+ import{$ as Vl,$a as Zn,$b as ip,$c as iq,$d as ir,A as Fk,Aa as jn,Ab as Do,Ac as Jp,Ad as Jq,Ae as Pr,B as Gk,Ba as kn,Bb as Eo,Bc as Kp,Bd as Kq,Be as Qr,C as Hk,Ca as xn,Cb as Fo,Cc as Lp,Cd as Lq,Ce as Rr,D as Ik,Da as yn,Db as Go,Dc as Mp,Dd as Mq,De as Sr,E as yl,Ea as zn,Eb as Ho,Ec as Np,Ed as Nq,Ee as Tr,F as zl,Fa as An,Fb as Io,Fc as Op,Fd as Oq,Fe as Ur,G as Al,Ga as Bn,Gb as Jo,Gc as Pp,Gd as Pq,Ge as Vr,H as Bl,Ha as Cn,Hb as Ko,Hc as Qp,Hd as Qq,He as Wr,I as Cl,Ia as Gn,Ib as Lo,Ic as Rp,Id as Rq,Ie as Xr,J as Dl,Ja as Hn,Jb as Mo,Jc as Sp,Jd as Sq,Je as Yr,K as El,Ka as In,Kb as No,Kc as Tp,Kd as Tq,Ke as Zr,L as Fl,La as Jn,Lb as Oo,Lc as Up,Ld as Uq,M as Gl,Ma as Kn,Mb as Po,Mc as Vp,Md as Vq,N as Hl,Na as Ln,Nb as Wo,Nc as Wp,Nd as Wq,O as Il,Oa as Mn,Ob as Xo,Oc as Xp,Od as Xq,P as Jl,Pa as Nn,Pb as Yo,Pc as Yp,Pd as Yq,Q as Kl,Qa as On,Qb as Zo,Qc as Zp,Qd as Zq,R as Ll,Ra as Pn,Rb as _o,Rc as _p,Rd as _q,S as Ml,Sa as Qn,Sb as $o,Sc as $p,Sd as $q,T as Nl,Ta as Rn,Tb as ap,Tc as aq,Td as ar,U as Ol,Ua as Sn,Ub as bp,Uc as bq,Ud as br,V as Pl,Va as Tn,Vb as cp,Vc as cq,Vd as cr,W as Ql,Wa as Un,Wb as dp,Wc as dq,Wd as dr,X as Rl,Xa as Vn,Xb as ep,Xc as eq,Xd as er,Y as Sl,Ya as Wn,Yb as fp,Yc as fq,Yd as fr,Z as Tl,Za as Xn,Zb as gp,Zc as gq,Zd as gr,_ as Ul,_a as Yn,_b as hp,_c as hq,_d as hr,aa as Wl,ab as _n,ac as jp,ad as jq,ae as jr,ba as Xl,bb as $n,bc as kp,bd as kq,be as qr,ca as Yl,cb as ao,cc as lp,cd as lq,ce as rr,da as Zl,db as bo,dc as mp,dd as mq,de as sr,ea as _l,eb as co,ec as np,ed as nq,ee as tr,fa as $l,fb as eo,fc as op,fd as oq,fe as ur,ga as am,gb as fo,gc as pp,gd as pq,ge as vr,ha as bm,hb as go,hc as qp,hd as qq,he as wr,ia as cm,ib as ho,ic as rp,id as rq,ie as xr,ja as dm,jb as io,jc as sp,jd as sq,je as yr,ka as em,kb as jo,kc as tp,kd as tq,ke as zr,la as fm,lb as ko,lc as up,ld as uq,le as Ar,ma as gm,mb as lo,mc as vp,md as vq,me as Br,na as hm,nb as oo,nc as wp,nd as wq,ne as Cr,o as a,oa as im,ob as po,oc as xp,od as xq,oe as Dr,p as qk,pa as Zm,pb as qo,pc as yp,pd as yq,pe as Er,q as rk,qa as _m,qb as ro,qc as zp,qd as zq,qe as Fr,r as sk,ra as $m,rb as to,rc as Ap,rd as Aq,re as Gr,s as tk,sa as an,sb as uo,sc as Bp,sd as Bq,se as Hr,t as uk,ta as bn,tb as vo,tc as Cp,td as Cq,te as Ir,u as vk,ua as cn,ub as wo,uc as Dp,ud as Dq,ue as Jr,v as wk,va as dn,vb as yo,vc as Ep,vd as Eq,ve as Kr,w as xk,wa as en,wb as zo,wc as Fp,wd as Fq,we as Lr,x as yk,xa as fn,xb as Ao,xc as Gp,xd as Gq,xe as Mr,y as Dk,ya as gn,yb as Bo,yc as Hp,yd as Hq,ye as Nr,z as Ek,za as hn,zb as Co,zc as Ip,zd as Iq,ze as Or}from"./chunk-vtn57jw8.js";import{Le as Qo,Me as Ro,Ne as So,Oe as To,Pe as Uo,Qe as Vo}from"./chunk-3vydymb5.js";import{Re as mo,Se as no}from"./chunk-2ver2s2y.js";import{Te as so}from"./chunk-ez93xc1z.js";import{Ue as Ym}from"./chunk-mz9twa1f.js";import{Ve as Dn,We as En,Xe as Fn,Ye as xo}from"./chunk-r05ekvht.js";import{$e as Lk,Ze as Jk,_e as Kk,af as Mk,bf as Nk,cf as Ok,df as Pk,ef as Qk,ff as Rk,gf as Sk,hf as Tk,if as Uk,jf as Vk,kf as Wk,lf as Xk}from"./chunk-ym3r8ktq.js";import{mf as ml,nf as nl,of as ol,pf as pl,qf as ql,rf as rl,sf as sl,tf as tl,uf as ul,vf as vl,wf as wl,xf as xl}from"./chunk-wf3pcr37.js";import{yf as kl,zf as ll}from"./chunk-02hjbe0p.js";import{Af as Yk,Bf as Zk,Cf as _k,Df as $k,Ef as al,Ff as bl,Gf as cl,If as dl,Jf as el,Kf as fl,Lf as gl,Mf as hl,Nf as il,Qf as jl}from"./chunk-zgbwr604.js";import{Rf as Fm,Sf as Gm,Tf as Hm,Uf as Im,Vf as Lm,Wf as Xm}from"./chunk-nytw8ek5.js";import{Xf as Jm,_f as Km}from"./chunk-exrnsgtc.js";import{Ag as Qm,Bg as Rm,Cg as Sm,Dg as Tm,Eg as Um,Fg as Vm,Gg as Wm,gg as jm,hg as km,ig as lm,jg as mm,kg as nm,lg as om,mg as pm,ng as qm,og as rm,pg as sm,qg as tm,rg as um,sg as vm,tg as wm,ug as xm,vg as ym,wg as Mm,xg as Nm,yg as Om,zg as Pm}from"./chunk-e9dtt2cw.js";import{Hg as zm,Ig as Am}from"./chunk-dvvx1wny.js";import{Jg as ln,Kg as mn,Lg as nn,Mg as on,Ng as pn,Og as qn,Pg as rn,Qg as sn,Rg as tn,Sg as un,Tg as vn,Ug as wn}from"./chunk-xz3evxqp.js";import{Vg as ai,Wg as bi,Xg as ci,Yg as di,Zg as ei,_g as fi}from"./chunk-y1zwvdn5.js";import{$g as uj,ah as vj,bh as wj,fh as xj,gh as yj,hh as zj}from"./chunk-x5xee26w.js";import{ih as Fj,jh as Gj,kh as Hj,lh as Ij,mh as Jj,nh as Kj,oh as Lj,ph as Mj,qh as Nj,rh as Oj,sh as Pj}from"./chunk-b0wm1c6x.js";import{Ah as qj,Bh as rj,Ch as sj,Dh as tj,th as kj,uh as lj,vh as mj,wh as nj,xh as oj,zh as pj}from"./chunk-vd5xvsnv.js";import{Eh as fk,Gh as gk}from"./chunk-64djh88a.js";import{Mh as Dh,Nh as Eh,Oh as Fh,Ph as Gh,Qh as Hh,Rh as Ih,Sh as Jh,Th as Kh,Uh as Lh,Vh as Mh,Wh as Nh,Xh as Oh,Yh as Ph,Zh as Qh}from"./chunk-9368t9jm.js";import{$h as Rh,ai as Sh,bi as Th,ci as Uh}from"./chunk-5tefa8qb.js";import{hi as Vh}from"./chunk-mwh3ymwc.js";import{ii as Zg}from"./chunk-fqq5k9ve.js";import{ji as _g,ki as $g}from"./chunk-ya5m5vbn.js";import{li as ah,mi as bh,ni as ch,oi as dh,pi as eh,qi as fh}from"./chunk-y4nzmkea.js";import{ri as gh,si as hh,ti as ih,ui as jh,vi as kh}from"./chunk-7kw3grq5.js";import{Ai as ph,wi as lh,xi as mh,yi as nh,zi as oh}from"./chunk-c79nfdyj.js";import{Bi as qh,Ci as rh,Di as sh,Ei as th,Fi as uh,Gi as vh,Hi as wh}from"./chunk-ej8mv2k6.js";import{Ii as xh,Ji as yh,Ki as zh,Li as Ah,Mi as Bh,Ni as Ch}from"./chunk-cr8v8k53.js";import{Pi as Wg,Qi as Xg}from"./chunk-yyq7rpw2.js";import{Ti as Yg}from"./chunk-nh2ze1a7.js";import"./chunk-xwxdwqn9.js";import{$i as He,Xi as De,Yi as Ee,Zi as Fe,_i as Ge,aj as Ie,bj as Je,cj as Ke,dj as Le,ej as Me,fj as Ne,gj as Oe,hj as Pe,ij as Qe}from"./chunk-90ma145g.js";import{jj as ff,kj as gf,lj as hf,mj as jf,nj as kf,oj as lf,pj as mf,qj as nf,rj as of,sj as pf,tj as qf,uj as rf,vj as sf,wj as tf,xj as uf,yj as vf,zj as wf}from"./chunk-7bmqjfft.js";import{Gj as Te,Hj as Ue,Ij as Ve,Jj as We,Kj as Xe,Lj as Ye,Mj as Ze,Nj as _e,Oj as $e,Pj as af,Qj as bf,Rj as cf,Sj as df,Tj as ef}from"./chunk-t41aaehf.js";import{$j as Ef,Uj as xf,Vj as yf,Wj as zf,Xj as Af,Yj as Bf,Zj as Cf,_j as Df,ak as Ff,bk as Gf,ck as Hf,dk as If}from"./chunk-hrs2pepp.js";import{Ak as nr,Bk as or,Ck as pr,xk as kr,yk as lr,zk as mr}from"./chunk-vy2nvpbw.js";import{Dk as zk,Ek as Ak,Fk as Bk,Gk as Ck,Hk as Bm,Ik as Cm,Jk as Dm,Kk as Em}from"./chunk-pty8ywaj.js";import"./chunk-09zjty4k.js";import"./chunk-sn1edmp8.js";import{ul as Yb,vl as Zb,zl as _b}from"./chunk-qsxtjtvv.js";import{$l as Fb,$m as $c,$n as pe,$o as Uf,$p as Ug,$q as hj,Am as sc,An as Ad,Ap as tg,Aq as Ii,Ar as jk,Bl as xa,Bm as tc,Bn as Bd,Bp as ug,Bq as Ji,Br as kk,Cl as ya,Cm as uc,Cn as Cd,Cp as vg,Cq as Ki,Cr as lk,Dl as za,Dm as vc,Dn as Dd,Dp as wg,Dq as Li,Dr as mk,El as Aa,Em as wc,En as Ed,Ep as xg,Eq as Mi,Er as nk,Fl as Ba,Fm as xc,Fn as Fd,Fp as yg,Fq as Ni,Fr as ok,Gl as Ca,Gm as yc,Gn as Gd,Gp as zg,Gq as Oi,Gr as pk,Hl as Da,Hm as zc,Hn as Hd,Hp as Ag,Hq as Pi,Il as Ea,Im as Ac,In as Id,Ip as Bg,Iq as Qi,Jl as Fa,Jm as Bc,Jn as Jd,Jp as Cg,Jq as Ri,Kl as Ga,Km as Cc,Kn as Kd,Ko as Kf,Kp as Dg,Kq as Si,Ll as Ha,Lm as Dc,Ln as Ld,Lp as Eg,Lq as Ti,Ml as Ia,Mm as Ec,Mn as Md,Mp as Fg,Mq as Ui,Nl as Ja,Nm as Oc,Nn as Nd,Np as Gg,Nq as Vi,Ol as Ka,Om as Pc,On as Od,Op as Hg,Oq as Wi,Pl as La,Pm as Qc,Pn as Pd,Pp as Ig,Pq as Xi,Ql as Ma,Qm as Rc,Qn as Qd,Qo as Lf,Qp as Jg,Qq as Yi,Rl as Na,Rm as Sc,Rn as fe,Rp as Kg,Rq as Zi,Sl as Oa,Sm as Tc,Sn as ge,So as Mf,Sp as Lg,Sq as _i,Tl as ib,Tm as Uc,Tn as he,Tp as Mg,Tq as $i,Ul as jb,Un as ie,Uo as Nf,Up as Ng,Uq as aj,Vl as kb,Vm as Vc,Vn as je,Vo as Of,Vp as Og,Vq as bj,Wl as lb,Wm as Wc,Wn as ke,Wo as Pf,Wp as Pg,Wq as cj,Xl as mb,Xm as Xc,Xn as le,Xo as Qf,Xp as Qg,Xq as dj,Yl as nb,Ym as Yc,Yn as me,Yo as Rf,Yp as Rg,Yq as ej,Zm as Zc,Zn as ne,Zo as Sf,Zp as Sg,Zq as fj,_m as _c,_n as oe,_o as Tf,_p as Tg,_q as gj,am as Gb,an as ad,ao as qe,ap as Vf,aq as Vg,ar as ij,bm as Hb,bn as bd,bo as re,bp as Wf,bq as Wh,br as jj,cm as Ib,cn as cd,co as se,cp as Xf,cq as Xh,cr as Aj,dm as Jb,dn as dd,dp as Yf,dq as Yh,dr as Bj,em as Nb,en as ed,ep as Zf,eq as Zh,er as Cj,fm as Ob,fn as fd,fp as _f,fq as _h,fr as Dj,gm as Pb,gn as gd,gp as $f,gq as $h,gr as Ej,hm as $b,hn as hd,hp as ag,hq as gi,hr as Qj,im as ac,in as id,io as we,ip as bg,iq as hi,ir as Rj,jm as bc,jn as jd,jo as xe,jp as cg,jq as ii,jr as Sj,km as cc,kn as kd,ko as ye,kp as dg,kq as ji,kr as Tj,lm as dc,ln as ld,lo as ze,lp as eg,lq as ki,lr as Uj,mm as ec,mn as md,mo as Ae,mp as fg,mq as li,mr as Vj,nm as fc,nn as nd,no as Be,np as gg,nq as mi,nr as Wj,om as gc,on as od,oo as Ce,op as hg,oq as ni,or as Xj,pm as hc,pn as pd,pp as ig,pq as oi,pr as Yj,qm as ic,qn as qd,qp as jg,qq as pi,qr as Zj,rm as jc,rn as rd,rp as kg,rq as qi,rr as _j,sm as kc,sn as sd,so as Re,sp as lg,sq as ri,sr as $j,tm as lc,tn as td,to as Se,tp as mg,tq as si,tr as ak,um as mc,un as ud,up as ng,uq as ti,ur as bk,vm as nc,vn as vd,vo as Jf,vp as og,vq as ui,vr as ck,wm as oc,wn as wd,wp as pg,wq as vi,wr as dk,xm as pc,xn as xd,xp as qg,xq as wi,xr as ek,ym as qc,yn as yd,yp as rg,yq as Gi,yr as hk,zm as rc,zn as zd,zp as sg,zq as Hi,zr as ik}from"./chunk-2astj1fq.js";import{$r as v,$s as oa,As as N,Bs as O,Cs as P,Ds as Q,Es as R,Fs as S,Gs as T,Hr as b,Hs as U,Ir as c,Is as V,Jr as d,Js as W,Kr as e,Ks as X,Lr as f,Ls as Y,Mr as g,Ms as Z,Nr as h,Ns as _,Or as i,Os as $,Pr as j,Ps as aa,Qr as k,Qs as ba,Rr as l,Rs as ca,Sr as m,Ss as da,Tr as n,Ts as ea,Ur as o,Us as fa,Vr as p,Vs as ia,Wr as q,Ws as ja,Xr as r,Xs as ka,Yr as s,Ys as la,Zr as t,Zs as ma,_r as u,_s as na,as as w,at as pa,bs as x,bt as qa,cs as y,ct as ra,ds as z,dt as sa,es as A,et as ta,fs as B,ft as ua,gs as C,gt as va,hs as D,ht as wa,is as E,js as F,ks as G,ls as H,ms as I,ns as J,os as K,ps as L,zs as M}from"./chunk-9e6pyjwz.js";import{it as ga,jt as ha}from"./chunk-z698hwht.js";import{kt as Kb,lt as Lb,mt as Mb}from"./chunk-70zb3560.js";import{nt as xi,ot as yi,pt as zi,qt as Ai,rt as Bi,st as Ci,tt as Di,ut as Ei,vt as Fi}from"./chunk-zsapb653.js";import{Nt as Fc,Ot as Gc,Pt as Hc,Qt as Ic,Rt as Jc,Tt as Kc,au as Lc,bu as Mc,cu as Nc}from"./chunk-kwrj745h.js";import{ju as te,lu as ue,ou as ve}from"./chunk-df5wrw50.js";import"./chunk-e10pfrds.js";import{Au as Vb,vu as Qb,wu as Rb,xu as Sb,yu as Tb,zu as Ub}from"./chunk-ecbqmesm.js";import"./chunk-namj6apv.js";import{Fu as Wb,Gu as Xb}from"./chunk-dgrayagx.js";import{Ku as Rd,Lu as Sd,Mu as Td,Nu as Ud,Ou as Vd,Pu as Wd,Qu as Xd,Ru as Yd,Su as Zd,Tu as _d,Uu as $d,Vu as ae,Wu as be,Xu as ce,Yu as de,Zu as ee}from"./chunk-2hyxkzpc.js";import"./chunk-r1g0bnpv.js";import"./chunk-2dk3ym1g.js";import{dv as ob,ev as pb,fv as qb,gv as rb,hv as sb,iv as tb,jv as ub,kv as vb,lv as wb,mv as xb,nv as yb,ov as zb,pv as Ab,qv as Bb,rv as Cb,sv as Db,tv as Eb}from"./chunk-8n0mjaf6.js";import{$v as gb,Bv as Ra,Gv as Sa,Hv as Ta,Nv as Ua,Ov as Va,Pv as Wa,Qv as Xa,Rv as Ya,Sv as Za,Tv as _a,Uv as $a,Vv as ab,Wv as bb,Xv as cb,Yv as db,Zv as eb,_v as fb,bw as hb,xv as Pa,yv as Qa}from"./chunk-5az2jb8y.js";import"./chunk-rcvnh2p7.js";import"./chunk-qrkxyb5p.js";export{Tk as writeNetlifyConfig,Nm as writeManifest,wl as writeImageManifest,dp as wrapComponentForHMR,Mr as withDefaults,ek as webComponentDirectiveHandler,Up as watermark,Wq as watchViews,Gl as watchMultiple,Hl as watchEffect,Fl as watch,Ae as warmImagePlaceholders,Ul as waitForStore,X as waitForLocale,Ro as virtualPathFor,Tj as videoDirective,G as validators,Qr as validated,qe as validateValueEnhanced,Xh as validateTemplate,zm as validateRouteRules,Zp as validateParams,re as validateFormEnhanced,Lq as validateFile,me as validateFields,le as validateField,Zh as validateDirective,Ld as validateCspDirectives,mk as validateConfig,_m as validateComponentScripts,xn as validateComponentProps,Vg as validateClientScript,Uh as v,wc as usesSignalsInScript,ub as usesReactiveRuntime,ki as userComponentFileExists,Ah as useVirtualList,Zd as useTitle,Tl as useStoreOrThrow,vp as useStore,Dk as useStorage,of as useSlots,Fk as useSessionStorage,Wb as useServerRuntimeConfig,Kf as useServerData,Wd as useSeoMeta,Xb as useRuntimeConfig,Vl as useRouteParams,Xl as useRouteParamOrThrow,Wl as useRouteParam,Zd as usePageTitle,ef as useOptimistic,tf as useModel,Zl as useMiddlewareValue,Yl as useMiddlewareState,Ek as useLocalStorage,Yo as useLoadingIndicator,Ud as useHead,Rh as useForm,qf as useAttrs,Nq as uploadFiles,Mq as uploadFile,Ql as updateInstance,cf as untrack,Ai as unregisterDirective,Rl as unmountInstance,Ec as unescapeHtml,Uo as typecheckStxFiles,ji as transpileTypeScript,zr as translate,Ba as transitionDirective,dc as transformAutoImports,rn as toUsers,qn as toUser,Dp as thumbnail,Eq as thumbHashToRGBA,Fq as thumbHashToDataURL,wb as templateNeedsRuntime,vb as templateHasReactiveContext,xf as templateCache,bd as syncRecordedResponse,ap as stxClientHelpers,fg as structuredDataDirective,Cr as stripLocalePrefix,wm as stripDocumentWrapper,Lb as stripCommentsAndLiterals,bo as stringToStream,zd as strictCspPreset,Le as streamingSuspenseDirective,Pe as streamToResponse,Je as streamTemplateSimple,De as streamTemplate,yk as stopHmrServer,nn as stopBroadcasting,Tb as stateDirName,Ub as stateDir,Te as state,Pg as startsDocument,xo as startProductionServer,so as startInteractive,mn as startBroadcasting,Er as stampLocaleLayoutGroup,Ia as staggerDirective,Xp as srcsetUrls,Ja as springDirective,id as splitByPipe,sm as spaNavVaryHeaders,So as sourcePathFor,cq as smartBatchSign,mi as slotContentHasExpressions,aq as signUrl,hi as shouldTranspileTypeScript,vk as shouldReloadOnChange,fq as shouldRefreshSignature,wk as shouldIgnoreFile,sh as shouldCacheComponent,Hp as sharpen,Tr as shape,Sb as setStateDir,bm as setRouteParams,cm as setMiddlewareState,ze as setImagePlaceholder,hf as setGlobalProvide,b as setErrorLocale,yl as setCurrentInstance,Hj as setCachedVideoResult,wj as setCachedImageResult,qj as setCached,Wr as serveStxFile,Yr as serveMultipleStxFiles,qk as serveMarkdownFile,Io as serveFile,Zr as serveApp,Ho as serve,gp as serializeState,Pm as serializeSetCookie,Jp as sepia,Xd as seoMetaToHeadConfig,Ca as scrollAnimateDirective,va as screenReaderDirective,Xj as scopeHTML,Wj as scopeCSS,ig as scanForSitemapEntries,pa as scanA11yTargets,qa as scanA11yIssues,Np as saturation,_p as sanitizeParams,I as sanitizeFilePath,J as sanitizeExpression,K as sanitizeDirectiveParams,H as sanitizeDirectiveParam,L as sanitizeComponentProps,B as safeExecuteAsync,A as safeExecute,Cb as runtimeHandledXAttrsLiteral,_f as runPreProcessingMiddleware,$f as runPostProcessingMiddleware,Sm as runPageAction,Ze as runMountCallbacks,gb as runMiddleware,Ol as runHooks,sr as runDoctor,_e as runDestroyCallbacks,ng as runComposers,Op as rotate,Vh as rewriteImagesWithSiblings,cd as responseBindings,qi as resolveTemplatePath,ha as resolveStxTargets,ik as resolveStxDirectories,yr as resolveI18n,Bp as resize,Sf as resetUnscopedSignalWarnings,Cc as resetRejectedExpressionWarnings,jc as resetPlaceholders,Td as resetHead,fp as resetHMRHandler,o as resetErrorConfig,Or as required,Qf as reportDeferredLoopWarnings,nc as replacePlaceholders,Uq as renderView,Qj as renderVideoComponent,ac as renderVendorStyleTags,br as renderToString,cr as renderToStream,dr as renderToDOM,Dq as renderThumbhashToCanvas,pr as renderTemplateString,nr as renderTemplate,or as renderString,Ge as renderStreamingPage,ci as renderSlot,ih as renderSSRSuspense,nq as renderProtectedVideo,mq as renderProtectedImg,$p as renderMediaUpload,mr as renderMarkdownView,Dm as renderLayoutTypes,Aj as renderImgComponent,ml as renderImageComponent,$d as renderHtmlAttrs,_d as renderHead,Xq as renderEmail,oi as renderComponentWithSlot,ae as renderBodyAttrs,qp as render,Bd as relaxedCspPreset,ke as registerValidationRule,Ne as registerStreamingDirectives,xp as registerStoresClient,$l as registerStore,gg as registerSeoDirectives,_a as registerMiddleware,rc as registerFilters,qc as registerFilter,d as registerErrorMessages,pe as registerEnhancedValidationRule,xi as registerDirective,Kd as registerCspDirectives,An as registerComponentDirectives,Oa as registerAnimationDirectives,wa as registerA11yDirectives,Cl as ref,ko as redirect,Zc as recordResponseStatus,_c as recordResponseHeader,Vb as rebaseOntoStateDir,$c as readResponseStatus,ad as readResponseHeaders,ok as readMarkdownFile,yf as readFileCached,Dl as reactive,Sp as quality,kq as pruneSignatureCache,tj as pruneCache,ff as provide,lr as protectCodeBlocks,Nr as prop,qg as processVueTemplate,yh as processVirtualListDirectives,Ch as processVirtualGridDirectives,Pj as processVideo,ne as processValidateDirective,ea as processTranslateDirective,ch as processTransitionDirectives,fh as processTransitionAttributes,de as processTitleDirective,Rc as processTemplateBindings,_g as processTeleportDirectives,gh as processSuspenseDirectives,bg as processStructuredData,He as processStreamDirectives,dd as processStatusDirective,Ph as processStaticDirectives,Yf as processStackReplacements,Xf as processStackPushDirectives,di as processSlots,um as processShell,Ce as processServerBindings,cg as processSeoDirective,Oe as processSectionDirectives,Jc as processScopedStyles,Pc as processReactiveBindings,oq as processProtectedMedia,Ih as processPartialHydrationDirectives,Ug as processOnceDirective,Zf as processMiddleware,ag as processMetaDirectives,ee as processMetaDirective,pk as processMarkdownFileDirectives,vi as processMarkdownDirectives,Rf as processLoops,qh as processKeepAliveDirectives,Tg as processJsonDirective,Bh as processInfiniteListDirectives,Wf as processIncludes,Cj as processImgComponents,ol as processImageComponents,bl as processImage,ce as processHeadDirective,ge as processForms,ie as processFormInputDirectives,Ac as processExpressions,Ib as processEventDirectives,je as processErrorDirective,rg as processDynamicComponents,Wh as processDirectives,Fi as processDirectiveAttributes,Zg as processDeferDirectives,Pd as processCustomDirectives,Hd as processCspDirectives,Ur as processComponentProps,ic as processClientScript,he as processBasicFormDirectives,lh as processAsyncDirectives,Qd as processAppearanceBootstrapDirective,Fa as processAnimationDirectives,ka as processA11yDirectives,ve as prepareImageDelivery,T as preloadTranslationsBackground,S as preloadTranslations,Xo as preloadIslandHandlers,Be as preloadIconCollection,hn as poolStrings,gk as pluginManager,xe as placeholdersWarmed,bh as performLeave,ah as performEnter,$e as pendingLifecycleCounts,df as peek,Tf as partialsCache,Rj as parseVideoDirectiveOptions,zp as parseUrl,Gq as parseThumbhashString,od as parseSwitchBlock,ai as parseSlots,bi as parseSlotElement,td as parseScriptDeclarations,ck as parseSFCComponent,pq as parseProtectedArgs,Pf as parseLoopBinding,Bj as parseImgComponent,Ti as parseImageUrl,nl as parseImageComponent,Qm as parseFormBody,qd as parseExpressionWithFilters,Bn as parseDefaults,ho as parseCookies,lm as parseContainerSelector,ld as parseConditionalBlock,rd as parseArguments,Ma as parseAnimationShorthand,Pr as optional,jn as optimizeTemplate,tl as optimizeImage,ul as optimizeDirectory,Rr as oneOf,Uf as onceStore,Ll as onUpdated,Oc as onUpdate,Nl as onUnmounted,gm as onServer,Jl as onMounted,Xe as onMount,Oh as onHydrated,mf as onErrorCaptured,Ye as onDestroy,wh as onDeactivated,fm as onClient,Kl as onBeforeUpdate,Ml as onBeforeUnmount,Il as onBeforeMount,vh as onActivated,zq as observeElement,lo as notFound,wg as normalizeCriticalHeadOrder,lf as nextTick,En as negotiateEncoding,Ua as navigateTo,Pl as mountInstance,Ea as motionDirective,Ad as moderateCspPreset,gn as minifyHtml,eg as metaDirective,Hg as metaDedupKey,Ap as mergeParams,Jg as mergeHtmlAttrs,Vd as mergeHeadConfigs,Gc as mergeCssConfig,Ed as mergeCspDirectives,Ra as matchRoute,wi as markdownDirectiveHandler,nk as markdownCache,ga as looksLikeGlob,Br as localizePath,U as loadTranslationLazy,_ as loadTranslation,jk as loadStxConfig,db as loadMiddlewareFromDirectory,Om as loadManifest,vq as loadElement,on as loadChannels,Ir as lintStxStrict,xq as lazyLoadAll,wq as lazyLoad,Ha as keyframeDirective,$q as jsxs,ar as jsxDEV,_q as jsx,jo as jsonResponse,Me as islandDirective,l as isTest,xm as isSpaNavigation,qm as isSpaNavRequest,dq as isSignatureValid,af as isSignal,$k as isSharpAvailable,Wn as isServerEnvironment,dm as isServer,yb as isRuntimeOwnedColonAttr,da as isRtlLocale,j as isProduction,ia as isPresentationalRole,sq as isNativeLazySupported,kr as isMarkdownPath,Q as isLoading,R as isLoaded,gi as isJavaScriptScript,tq as isIntersectionObserverSupported,hl as isImageFile,al as isImageBackendAvailable,aa as isICUFormat,Nh as isHydrated,li as isHydrateTrigger,Xc as isHttpStatus,Vn as isEdgeEnvironment,Jr as isDirectiveKind,k as isDevelopment,bf as isDerived,uk as isCssOnlyChange,Dn as isCompressible,em as isClient,nh as isAsyncComponent,Rm as isActionableMethod,Kp as invert,Af as invalidateFileCacheByDir,zf as invalidateFileCache,zc as interpolateScriptsInTemplate,xc as interpolateScriptExpressions,yc as interpolateScriptAttributes,x as inlineError,xr as injectThemeBootstrap,dg as injectSeoTags,ur as injectSeo,Jf as injectRouterScript,tk as injectHotReload,kb as injectHeatmap,Nc as injectCss,Fd as injectCspMetaTag,Rg as injectConfigHeadTags,vg as injectColorModeBootScript,Lg as injectCloakStyle,Cg as injectBuildId,cc as injectBrowserCoreAutoImports,Tc as injectAnalytics,gf as inject,_l as initStoreRegistry,Wk as initNetlify,Zo as initLoadingIndicator,uq as initLazyLoading,ro as initFile,Cq as initBlurUp,Iq as initAllBlurUp,Ej as imgDirective,rl as imageDirective,Vm as hydrateTemplateStream,Um as hydrateTemplate,Wo as hydrateIslands,Kh as hydrateIsland,Wm as hydrateFragment,Lh as hydrateByStrategy,Mh as hydrateAll,np as hydrate,Go as htmlResponse,Ng as hoistLeadingHeadTags,xg as hoistColorModeBootScript,lb as heatmapDirective,mj as hashString,If as hashFilePath,kj as hashFile,lj as hashBuffer,pg as hasVueTemplateSyntax,Of as hasVariables,sp as hasStore,oc as hasPlaceholders,Uk as hasNetlifyConfig,ab as hasMiddleware,Jb as hasEventDirectives,Qg as hasDocumentShell,_h as hasDirectives,ma as hasDOMSupport,kl as handleImageRequest,nf as handleError,hr as h,gl as groupVariantsByFormat,Ip as grayscale,zo as gitHash,an as getUnusedDirectives,V as getTranslationSync,O as getTranslationCacheStats,W as getTranslationAsync,ba as getTranslation,Pk as getTotalSize,eq as getTimeUntilExpiry,Wg as getStoreScript,tp as getStoreNames,rp as getStore,Ik as getStorageSize,Hk as getStorageKeys,ri as getSourceLineInfo,ii as getSharedTranspiler,Ef as getServeClientAsset,la as getScreenReaderOnlyStyle,Yj as getScopeAttribute,Se as getRouteParams,Ob as getPublicEnvDefine,Pb as getPublicEnv,Yh as getPositionInfo,lc as getPlaceholderRegistry,jj as getPlaceholderCacheStats,Sd as getPageMeta,vd as getNonce,il as getMimeType,cb as getMiddlewareNames,$a as getMiddleware,ca as getLocaleDirection,P as getLoadingState,Y as getLoadingLocales,we as getImagePlaceholder,cl as getImageMetadata,te as getImageDelivery,mp as getHydrationRuntime,am as getHydratedStoreState,xk as getHmrServer,Rd as getHead,ep as getHMRHandler,Xi as getFormatExtension,oj as getFileMtime,fl as getFallbackVariant,f as getErrorMessage,c as getErrorLocale,n as getErrorConfig,i as getErrorCodeName,zi as getDirectives,yi as getDirective,zl as getCurrentInstance,Kc as getCssServeAsset,Dd as getCspPreset,Md as getCspHeaderName,ui as getComponentCacheStats,Gj as getCachedVideoResult,iq as getCachedSignature,Cf as getCachedSignalsRuntime,Df as getCachedRouterScript,hj as getCachedPlaceholder,vj as getCachedImageResult,pj as getCached,sj as getCacheStats,Ag as getBuildId,ln as getBroadcastServer,Wi as getBestVariant,sc as getAllFilters,Ki as generateWidthSrcset,zh as generateVirtualListCSS,Pq as generateVideoPreview,se as generateValidationScript,Qq as generateUploadRuntime,bn as generateTreeShakenBundle,eh as generateTransitionRuntime,dh as generateTransitionCSS,Kj as generateThumbnails,aj as generateThumbhashPlaceholder,Nn as generateTemplatesDocs,kh as generateSuspenseRuntime,jh as generateSuspenseCSS,hp as generateStateScript,Ui as generateSrcsetData,zj as generateSrcset,dl as generateSrcSet,Lj as generateSpriteSheet,Yq as generateSpaShell,Vi as generateSourceTags,Qi as generateSizesFromBreakpoints,Pi as generateSizesAttribute,el as generateSizes,hg as generateSitemapIndex,vr as generateSitemap,rq as generateSimpleMediaPicker,lq as generateSignatureRuntime,wf as generateSignalsRuntimeDev,vf as generateSignalsRuntime,hc as generateServerDataBridge,Vj as generateScopeId,dk as generateSFCWebComponent,Gb as generateRuntimeScript,Pa as generateRouteTypes,Qa as generateRouteManifest,jg as generateRobotsTxt,wr as generateRobots,yj as generateResponsiveVariants,$j as generateReactiveWebComponentTS,_j as generateReactiveWebComponent,bk as generateReactiveRuntime,ak as generateReactiveMixin,Jj as generatePoster,gj as generatePlaceholderStyle,fj as generatePlaceholderCSS,$i as generatePlaceholder,Jh as generatePartialHydrationCSS,ud as generateNonce,Qk as generateNetlifyToml,Sq as generateMinifiedMediaRuntime,Rq as generateMediaRuntime,qq as generateMediaManagerEmbed,Mm as generateManifest,$o as generateLoadingIndicatorHtml,Bq as generateLazyLoadRuntime,Em as generateLayoutTypes,cj as generateLQIP,uh as generateKeepAliveRuntime,th as generateKeepAliveCSS,Qh as generateIslandManifest,Oq as generateImagePreview,vl as generateImageManifest,lp as generateHydrationScript,Qe as generateHydrationRuntime,op as generateHydrationCSS,Dh as generateHydrationBootstrap,sk as generateHotReloadScript,jb as generateHeatmapScript,cp as generateHMRClientScript,Mj as generateHLSManifest,ip as generateEventBindings,Oi as generateDprSrcsetWithVariableQuality,Ni as generateDprSrcset,Og as generateDocumentShell,Sn as generateDocs,On as generateDirectivesDocs,Ei as generateDirectiveRuntime,kg as generateDefaultRobotsTxt,Nj as generateDASHManifest,Mc as generateCss,yd as generateCspMetaTag,xd as generateCspHeader,sf as generateCompositionRuntime,Mn as generateComponentsDocs,Eh as generateComponentManifest,Kn as generateComponentDoc,ej as generateColorPlaceholder,ug as generateColorModeBootScript,Sl as generateClientRuntime,nj as generateCacheKey,fc as generateBrowserAutoImportDestructuring,Jq as generateBlurUpRuntime,Kq as generateBlurUpCSS,Qc as generateBindingsRuntime,Li as generateAutoWidthSrcset,ec as generateAutoImportDestructuring,ph as generateAsyncComponentRuntime,oh as generateAsyncComponentCSS,Zb as generateApiTypes,Na as generateAnimationRuntime,La as generateAnimationCSS,Sc as generateAnalyticsScript,Vo as formatTypecheckDiagnostics,Po as formatTypeErrors,oo as formatStxContent,Ok as formatSize,Ta as formatRoutes,po as formatMarkdownContent,g as formatLocalizedError,$ as formatICU,p as formatFilePath,w as formatError,tr as formatDoctorReport,Pn as formatDocsAsMarkdown,Rn as formatDocsAsJson,Qn as formatDocsAsHtml,Rp as format,fn as foldConstants,Qp as flipVertical,Pp as flipHorizontal,Fm as fingerprint,To as findRuntimeTypeDeclarations,rr as findPantryPackage,kd as findMatchingEndTag,gd as findMatchingDelimiter,Kb as findInterpolationEnd,md as findIfBlocks,pd as findExpressions,Sa as findErrorPage,Hc as findDuplicateScopedStyleRanges,nd as findDirectiveBlocks,cn as findDeadCode,cn as findDeadBranches,mm as findContainerRegion,Ln as findComponentFiles,Xr as findCommonDir,Nk as filterRequiredFiles,pi as fileExists,Lf as extractVariables,Km as extractTemplateExpressions,Ie as extractStreamBoundaries,jp as extractState,ei as extractSlotContent,Nf as extractScriptFromTemplate,Jm as extractScriptBlocks,mc as extractPlaceholders,jd as extractParenthesizedExpression,Yc as extractPageResponseStatus,hb as extractLayoutMetadata,dj as extractDominantColor,sd as extractDirectiveParams,$h as extractDirectiveNames,ym as extractContainerContent,In as extractComponentProps,Fh as extractComponentName,Jn as extractComponentDescription,Lc as extractClassNames,gc as extractBridgeData,Gh as extractBoundProps,hd as extractBalancedExpression,$b as extractAndStripCssImports,Zj as extractAndScopeStyles,Hb as extractAndProcessEvents,Bk as externalizeSharedAssets,Ck as externalizeRepeatedAssets,Ak as externalizeHtml,Dc as evaluateExpression,en as evaluateConstant,ed as evaluateAuthExpression,vc as escapeHtmlValue,uc as escapeHtml,C as errorRecovery,E as errorLogger,$g as ensureTeleportTargets,Sg as ensureDocumentShell,oe as enhancedValidationRules,Gn as enableDevTools,dn as eliminateDeadCode,Ve as effect,Yp as dprUrls,Tn as docsCommand,Yb as discoverServerApi,Cm as discoverLayoutNames,Aq as disconnectObserver,Hn as disableDevTools,F as devHelpers,tm as detectShell,Un as detectRuntime,Rk as detectProjectConfig,Yi as detectFormat,Zm as detectBuildMode,Ue as derived,Vk as deploy,lk as defineStxConfig,wp as defineStore,pf as defineSlots,Hr as defineSiteConfig,Lr as definePropsWithValidation,Kr as defineProps,fk as definePlugin,Yd as definePageMeta,Wa as defineMiddleware,Sh as defineForm,kf as defineExpose,jf as defineEmits,Bi as defineDirective,jr as defineCustomElement,wo as defineConfig,Ci as defineClientDirective,mh as defineAsyncComponent,yo as defineApiHandler,Tq as defaultMediaConfig,xl as defaultImageConfig,M as defaultI18nConfig,ib as defaultHeatmapConfig,fe as defaultFormClasses,pc as defaultFilters,Od as defaultCspConfig,hk as defaultConfig,Vr as default,Fc as deepMergeThemes,Ic as dedupeScopedStyles,pm as decodeTitleEntities,bj as decodeThumbhash,Jd as cspNonceDirective,Id as cspDirective,Hq as crossfadeTransition,Cp as crop,xh as createVirtualList,Sj as createVideoDirective,fo as createVercelHandler,Mo as createTypeChecker,fa as createTranslateFilter,ao as createTextEncoderStream,ir as createStxApp,$n as createStreamingResponse,Ke as createStreamRenderer,up as createStore,Za as createStorageManager,Xa as createServerCookieManager,_b as createServerApi,Bl as createScope,hh as createSSRSuspense,Re as createRouter,Am as createRouteRuleResolver,eb as createRouteLocation,Ko as createRoute,Cl as createRef,Dl as createReactive,rf as createProvideContext,Bo as createProject,vo as createProductionBuild,kc as createPlaceholder,kn as createOptimizedBuild,go as createNetlifyHandler,Jk as createNetlifyClient,fb as createMiddlewareContext,Jo as createMiddleware,yq as createLazyObserver,rh as createKeepAliveCache,Yn as createKVNamespace,Hh as createIslandRegistry,Dj as createImgDirective,sl as createImagePlugin,ll as createImageHandler,ql as createImageDirective,nb as createHeatmapAggregator,Mk as createFileManifest,Xn as createEnvAccessor,z as createEnhancedError,_n as createEdgeHandler,Zn as createEdgeCache,si as createDetailedErrorMessage,eo as createDenoHandler,Sk as createDefaultNetlifyConfig,Nd as createCspHeaders,io as createCookie,El as createComputed,Al as createComponentInstance,co as createCloudflareHandler,Ya as createClientCookieManager,Di as createBuiltinDirectives,ir as createApp,Ka as createAnimationTimeline,Fp as cover,Mf as convertToCommonJS,Mp as contrast,Ep as contain,y as consoleError,m as configureErrorHandling,kk as config,El as computed,Fn as compressResponse,mg as composerPattern,lg as composer,vm as composeShellWithPage,zn as componentDirective,ni as componentClientSignalNames,Lm as compileTemplate,a as collectRepeatedFlag,Lk as collectDeployFiles,Mg as cloakStyleFragment,Ij as clearVideoCache,N as clearTranslationCache,Xg as clearStoreCache,Gk as clearStorage,jq as clearSignatureCache,uf as clearServerData,ij as clearPlaceholderCache,Vf as clearOnceStore,wd as clearNonce,bb as clearMiddleware,ye as clearImagePlaceholders,ue as clearImageDeliveryCatalog,pl as clearImageCache,e as clearErrorMessages,Ff as clearDevCaches,tc as clearCustomFilters,og as clearComposers,Yg as clearComposableCache,ti as clearComponentCache,rj as clearCache,Db as clearBlankCache,_o as cleanupLoadingIndicator,jm as classifyScript,km as classifyAllScripts,No as checkTemplateFile,Oo as checkTemplate,Gf as checkCache,gq as checkAuthAccess,na as checkA11yWithRegex,oa as checkA11y,un as channel,no as captureScreenshots,mo as captureScreenshot,Z as cancelPendingLoads,Kk as calculateSha1,Mi as calculateOptimalWidths,Hf as cacheTemplate,Uj as buildWebComponents,Qo as buildVirtualSource,Vq as buildViews,yp as buildUrl,Ee as buildSuspenseResolveScript,Gr as buildStaticSite,qb as buildRuntimeGlobalsDestructure,Gm as buildRuntimeAsset,Hm as buildRouterAsset,Fr as buildLangPickerScript,Si as buildImageUrl,Dg as buildIdFragment,Ig as buildHtmlAttrs,Xm as buildForProduction,Cn as buildComponentLibrary,hq as buildAuthParams,Ym as buildApp,Dr as buildAlternateLinks,uo as build,sn as broadcastPrivate,tn as broadcastPresence,pn as broadcast,Lp as brightness,Mb as bracketDepths,Gp as blur,Eb as blankInertHtmlRegions,bq as batchSignUrls,We as batch,sa as autoFixA11yFile,ta as autoFixA11yDirectory,ra as autoFixA11y,Tp as auto,ja as attributeValue,Im as assetTags,Fb as asInvocableStatement,Sr as arrayOf,Ar as applyTranslations,xj as applyTransformations,fi as applySlots,yn as applyPropDefaults,Wp as applyPreset,Kg as applyHtmlAttrs,be as applyHead,Bc as applyFilters,rm as appendVary,Cd as apiCspPreset,Da as animationGroupDirective,Oj as analyzeVideo,$m as analyzeUsage,hm as analyzeTemplate,im as analyzeProject,$m as analyzeDirectiveUsage,Uc as analyticsDirective,Eo as addStore,Do as addPage,Gd as addNonceToInlineContent,Fo as addLayout,Co as addComponent,Tm as actionRedirectResponse,Va as abortNavigation,ua as a11yDirective,Bf as __setSignalsGeneratorsForTest,Bg as __setBuildIdForTest,Fj as VideoProcessorCache,Th as Validator,xa as TransitionType,za as TransitionEase,ya as TransitionDirection,fd as Tokenizer,Lo as TemplateTypeChecker,qo as TEMPLATE_PRESETS,v as StxValidationError,r as StxSyntaxError,t as StxSecurityError,s as StxRuntimeError,u as StxFileError,q as StxError,er as Show,Fe as SUSPENSE_RESOLVER_RUNTIME,ob as STX_RUNTIME_GLOBALS,bc as STX_AUTO_IMPORTS,Rb as STATE_DIR_ENV_VAR,Ga as SPRING_PRESETS,nm as SPA_NAV_HEADER,xb as RUNTIME_OWNED_COLON_ATTRS,zb as RUNTIME_HANDLED_X_ATTRS,Vc as RESPONSE_STATUS_KEY,Wc as RESPONSE_HEADERS_KEY,tb as REACTIVE_RUNTIME_GLOBALS,to as ProductionBuild,gr as Portal,Ao as PROJECT_TEMPLATES,Vp as PRESETS,sb as NON_CLIENT_PRIMITIVES,pp as MemorySessionStore,Ji as MIME_TYPES,Gi as MEDIA_DEFAULT_WIDTHS,Ii as MEDIA_DEFAULT_FORMATS,Bm as LAYOUT_TYPES_FILE,uj as ImageProcessorCache,jl as ImageProcessingError,kp as HydrationRuntime,rk as HotReloadServer,mb as HeatmapAggregator,Gg as HTML_CLASS_MARKER,Fg as HTML_ATTRS_MARKER,Zq as Fragment,fr as For,om as FRAGMENT_CACHE_CONTROL,D as ErrorLogger,h as ErrorCodes,zk as EXTERNALIZED_ASSET_DIR,Xk as DeployError,Yk as DEFAULT_WIDTHS,Aa as DEFAULT_TRANSITION_OPTIONS,Qb as DEFAULT_STATE_DIR,_k as DEFAULT_QUALITY,Zi as DEFAULT_PLACEHOLDER_OPTIONS,Zk as DEFAULT_FORMATS,Hi as DEFAULT_DPR_VALUES,bp as ComponentHMRHandler,pb as COMPONENT_SCOPE_LOCAL_GLOBALS,Bb as COMPONENT_PASSTHROUGH_X_ATTRS,rb as COMPILE_TIME_ONLY_GLOBALS,Ri as COMMON_SIZES,sg as COLOR_MODE_BOOT_MARKER,tg as COLOR_MODE_BOOT_GLOBAL,Eg as CLOAK_STYLE,wn as BroadcastServer,vn as Broadcast,yg as BUILD_ID_META,zg as BUILD_ID_HEADER,Nb as BROWSER_CORE_IMPORTS,_i as BLUR_UP_CSS,Ab as ALPINE_BRIDGE_X_ATTRS,qr as $path};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
2
  import y from"fs";import V from"path";var B=/\b(?:state|derived|effect|ref|reactive|computed|watch|watchEffect|useModel)\s*(?:<[^<>()]*>)?\s*\(/,X=/(?:^|\n)\s*(?:import|export)\s+(?:[^'"]*?\sfrom\s+)?['"](\.[^'"]*)['"]/g,D=["",".ts",".tsx",".js",".jsx",".mts",".mjs","/index.ts","/index.js"],g=3;function H(j,q){let J=V.resolve(V.dirname(q),j);for(let Q of D){let z=J+Q;try{if(y.statSync(z).isFile())return z}catch{}}return null}function K(j,q,J=0,Q=new Set){if(!q||J>=g)return!1;for(let z of j.matchAll(X)){let Z=H(z[1],q);if(!Z||Q.has(Z))continue;Q.add(Z);let $;try{$=y.readFileSync(Z,"utf8")}catch{continue}if(B.test($))return!0;if(K($,Z,J+1,Q))return!0}return!1}var Y=["batch","clearServerData","computed","configureFetch","defineEmits","defineExpose","definePageMeta","defineProps","defineSlots","defineStore","derived","effect","goBack","goForward","inject","invalidateRoute","isDerived","isSignal","navigate","nextTick","onBeforeMount","onBeforeUnmount","onDestroy","onMount","onMounted","onUnmounted","peek","provide","reactive","ref","refresh","registerStoresClient","setRouteParams","state","untrack","useAsync","useClickOutside","useColorMode","useCookie","useCounter","useDark","useDebounce","useDebouncedValue","useEventListener","useFetch","useFocus","useHead","useId","useInterval","useLocalStorage","useMediaQuery","useModel","useMutation","useOptimistic","usePreferredContrast","usePreferredDark","usePreferredLight","usePreferredReducedMotion","useQuery","useReactiveProp","useRef","useRoute","useRouteParam","useRouteParams","useScrollLock","useSearchParams","useSeoMeta","useSessionStorage","useSlots","useStore","useThrottle","useTimeout","useToggle","useWebSocket","watch","watchEffect","watchMultiple","withDefaults"],R=["onMount","onDestroy"];function A(j="const",q=[],J){let Q=q.length?Y.filter((z)=>!q.includes(z)):Y;if(J!==void 0)Q=Q.filter((z)=>{let Z=z.replace(/[$()*+.?[\\\]^{|}-]/g,"\\$&");return new RegExp(`(^|[^\\w$])${Z}(?![\\w$])`).test(J)});return`${j} { ${Q.join(", ")} } = window.stx;`}var k=["defineEmits","defineExpose","definePageMeta","defineProps","defineSlots","withDefaults"],E={useServerData:{category:"server-only",reason:"loads and serializes request-scoped data from <script server>; clients consume it through a keyed useFetch/useAsyncData."},redirect:{category:"server-only",reason:"returns an HTTP Response for <script server>/edge/build; use navigate() on the client."},useAsyncData:{category:"browser-composable",reason:"inlined on demand from src/composables when a script references it; reachable, not a bare global."},Teleport:{category:"compile-time-directive",reason:"template tag resolved by processTeleportDirectives; not a script callable."},StxModalBuiltin:{category:"builtin-component",reason:"builtin component used as a template tag; drive open/close from the modal store."},StxToastBuiltin:{category:"builtin-component",reason:"builtin component used as a template tag; push toasts via the toast store."},useForm:{category:"browser-composable",reason:"reactive form primitive; lives in src/composables/use-form.ts and is inlined on demand when a <script client> references it (#1846)."},defineForm:{category:"browser-composable",reason:"deprecated alias of useForm, kept for a minor (#1843). Same delivery path \u2014 inlined on demand from src/composables/use-form.ts."},validateFields:{category:"isomorphic-import",reason:"pure validation helper; import it directly, not auto-delivered to <script client> (per client-api-delivery.test.ts)."},validateField:{category:"isomorphic-import",reason:"singular pure validation helper; same explicit-import boundary as validateFields."}},x=Y.filter((j)=>!k.includes(j));function O(j){if(!j)return!1;return x.some((q)=>new RegExp(`\\b${q}\\s*(?:<[^>]*>)?\\s*\\(`).test(j))}var M=[/@if\s*=/,/@for\s*=/,/@show\s*=/,/@model\s*=/,/@bind:/,/@class\s*=/,/@style\s*=/,/\bx-data\s*=/,/\bstate\s*(?:<[^>]*>)?\s*\(/,/\bderived\s*(?:<[^>]*>)?\s*\(/,/\beffect\s*(?:<[^>]*>)?\s*\(/,/\bref\s*(?:<[^>]*>)?\s*\(/,/\bcomputed\s*(?:<[^>]*>)?\s*\(/,/\breactive\s*(?:<[^>]*>)?\s*\(/,/\bwatch\s*(?:<[^>]*>)?\s*\(/,/\bwatchEffect\s*(?:<[^>]*>)?\s*\(/,/\s:[a-z][\w-]*\s*=\s*["']/i,/\s:(?:if|else-if|else|for|show|text|html|model)\s*=/,/data-stx(?:-auto)?(?![-\w])/,/data-stx-scoped/],C=/\s@[a-z][\w.:-]*\s*=/i;function T(j,q){if(!j)return!1;let J=U(j);return F(J,q)}function F(j,q){if(M.some((J)=>J.test(j)))return!0;if(O(j))return!0;return P(j,q)}function P(j,q){if(!q)return!1;for(let J of j.matchAll(/<script\b(?![^>]*\bserver\b)(?![^>]*\bsrc\s*=)[^>]*>([\s\S]*?)<\/script\s*>/gi))if(K(J[1],q))return!0;return!1}function d(j,q){if(!j)return!1;let J=U(j);return C.test(J)||F(J,q)}var u=["if","else-if","elseif","else","for","show","key","text","html","model","ref"];function _(j){return u.includes(j.toLowerCase())}var G=["x-text","x-html","x-model","x-show","x-if","x-for","x-cloak","x-ref","x-data","x-bind","x-class","x-style","x-tooltip","x-tooltip-position"],b=["x-init","x-transition","x-effect","x-on"],p=[...G,...b];function c(){return`{${G.map((j)=>`'${j}':1`).join(",")}}`}var v=65536,S=4,w=new Map;function r(){w.clear()}function U(j){if(!j)return j;if(!j.includes("<!--")&&!/<(?:pre|code)\b/i.test(j))return j;let q=j.length>=v;if(q){let z=w.get(j);if(z!==void 0)return z}let J=(z)=>z.replace(/(<[^>]*>)|([^<]+)/g,(Z,$,W)=>$??" ".repeat(W.length)),Q=j.replace(/(<pre\b[^>]*>)([\s\S]*?)(<\/pre>)/gi,(z,Z,$,W)=>Z+J($)+W).replace(/(<code\b[^>]*>)([\s\S]*?)(<\/code>)/gi,(z,Z,$,W)=>Z+J($)+W).replace(/<!--[\s\S]*?-->/g,(z)=>" ".repeat(z.length));if(q){while(w.size>=S){let z=w.keys().next();if(z.done)break;w.delete(z.value)}w.set(j,Q)}return Q}
3
- export{K as Yu,Y as Zu,R as _u,A as $u,k as av,E as bv,x as cv,O as dv,T as ev,d as fv,u as gv,_ as hv,G as iv,b as jv,p as kv,c as lv,r as mv,U as nv};
3
+ export{K as cv,Y as dv,R as ev,A as fv,k as gv,E as hv,x as iv,O as jv,T as kv,d as lv,u as mv,_ as nv,G as ov,b as pv,p as qv,c as rv,r as sv,U as tv};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Jg as a,Kg as b,Lg as c,Mg as d,Ng as e,Og as f,Pg as g,Qg as h,Rg as i,Sg as j,Tg as k,Ug as l}from"./chunk-xz3evxqp.js";import"./chunk-cey6rhqw.js";export{g as toUsers,f as toUser,c as stopBroadcasting,b as startBroadcasting,d as loadChannels,a as getBroadcastServer,j as channel,h as broadcastPrivate,i as broadcastPresence,e as broadcast,l as BroadcastServer,k as Broadcast};
2
+ import{Jg as a,Kg as b,Lg as c,Mg as d,Ng as e,Og as f,Pg as g,Qg as h,Rg as i,Sg as j,Tg as k,Ug as l}from"./chunk-xz3evxqp.js";import"./chunk-qrkxyb5p.js";export{g as toUsers,f as toUser,c as stopBroadcasting,b as startBroadcasting,d as loadChannels,a as getBroadcastServer,j as channel,h as broadcastPrivate,i as broadcastPresence,e as broadcast,l as BroadcastServer,k as Broadcast};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{Cm as O,Qo as R,bq as H,tq as x,yr as g}from"./chunk-7kk2jb1j.js";import b from"path";var v={enabled:!0,bufferSize:16384,strategy:"auto",timeout:30000},M=/<!-- @section:([\w-]+) -->([\s\S]*?)<!-- @endsection:\1 -->/g;var T=/<!-- @suspense:([\w-]+) -->([\s\S]*?)<!-- @endsuspense:\1 -->/g;function f(q){let B=[],Q=0,G;T.lastIndex=0;while((G=T.exec(q))!==null){if(G.index>Q){let X=q.slice(Q,G.index);if(X.trim())B.push({type:B.length===0?"shell":"content",content:X})}let J=G[1],K=G[2];B.push({type:"suspense",name:J,content:K}),Q=G.index+G[0].length}if(Q<q.length){let J=q.slice(Q);if(J.trim())B.push({type:B.length===0?"shell":"content",content:J})}if(B.length===0)B.push({type:"shell",content:q});return B}async function r(q,B={},Q={}){let G={...g,...Q,streaming:{...v,...Q.streaming}},J=G.streaming?.bufferSize||16384;return new ReadableStream({async start(K){try{let X=await Bun.file(q).text(),z=X.match(/<script\b[^>]*\bserver\b[^>]*>([\s\S]*?)<\/script>/i),L=z?z[1]:"",Y=X.replace(/<script\b[^>]*>[\s\S]*?<\/script>/gi,""),j={...B,__filename:q,__dirname:b.dirname(q)};if(L.trim())await R(L,j,q);let D=f(Y),$=new Set;if(!D.some((w)=>w.type==="suspense")){let w=G.streaming?.strategy||"auto",U=new RegExp(M.source,"g");if(!(w!=="manual"&&U.test(Y))){let F=await H(Y,j,q,G,$);for(let V=0;V<F.length;V+=J)K.enqueue(F.slice(V,V+J)),await new Promise((W)=>setTimeout(W,0))}else{let F=[],V=new RegExp(M.source,"g"),W;while((W=V.exec(Y))!==null)F.push({name:W[1],content:W[2],start:W.index,end:W.index+W[0].length});let y=0;for(let A of F){if(A.start>y){let k=Y.slice(y,A.start);if(k.trim()){let E=await H(k,j,q,G,$);K.enqueue(E),await new Promise((S)=>setTimeout(S,0))}}let I=await H(A.content,j,q,G,$);K.enqueue(I),await new Promise((k)=>setTimeout(k,0)),y=A.end}if(y<Y.length){let A=Y.slice(y);if(A.trim()){let I=await H(A,j,q,G,$);K.enqueue(I)}}}}else{let w=new Map;for(let Z of D)if(Z.type==="shell"||Z.type==="content"){let F=await H(Z.content,j,q,G,$);K.enqueue(F)}else if(Z.type==="suspense"&&Z.name){let F=`stx-suspense-${Z.name}`;K.enqueue(`<div id="${F}" data-suspense="${Z.name}" style="display:contents;">
2
+ import{Cm as O,Qo as R,bq as H,tq as x,yr as g}from"./chunk-2astj1fq.js";import b from"path";var v={enabled:!0,bufferSize:16384,strategy:"auto",timeout:30000},M=/<!-- @section:([\w-]+) -->([\s\S]*?)<!-- @endsection:\1 -->/g;var T=/<!-- @suspense:([\w-]+) -->([\s\S]*?)<!-- @endsuspense:\1 -->/g;function f(q){let B=[],Q=0,G;T.lastIndex=0;while((G=T.exec(q))!==null){if(G.index>Q){let X=q.slice(Q,G.index);if(X.trim())B.push({type:B.length===0?"shell":"content",content:X})}let J=G[1],K=G[2];B.push({type:"suspense",name:J,content:K}),Q=G.index+G[0].length}if(Q<q.length){let J=q.slice(Q);if(J.trim())B.push({type:B.length===0?"shell":"content",content:J})}if(B.length===0)B.push({type:"shell",content:q});return B}async function r(q,B={},Q={}){let G={...g,...Q,streaming:{...v,...Q.streaming}},J=G.streaming?.bufferSize||16384;return new ReadableStream({async start(K){try{let X=await Bun.file(q).text(),z=X.match(/<script\b[^>]*\bserver\b[^>]*>([\s\S]*?)<\/script>/i),L=z?z[1]:"",Y=X.replace(/<script\b[^>]*>[\s\S]*?<\/script>/gi,""),j={...B,__filename:q,__dirname:b.dirname(q)};if(L.trim())await R(L,j,q);let D=f(Y),$=new Set;if(!D.some((w)=>w.type==="suspense")){let w=G.streaming?.strategy||"auto",U=new RegExp(M.source,"g");if(!(w!=="manual"&&U.test(Y))){let F=await H(Y,j,q,G,$);for(let V=0;V<F.length;V+=J)K.enqueue(F.slice(V,V+J)),await new Promise((W)=>setTimeout(W,0))}else{let F=[],V=new RegExp(M.source,"g"),W;while((W=V.exec(Y))!==null)F.push({name:W[1],content:W[2],start:W.index,end:W.index+W[0].length});let y=0;for(let A of F){if(A.start>y){let k=Y.slice(y,A.start);if(k.trim()){let E=await H(k,j,q,G,$);K.enqueue(E),await new Promise((S)=>setTimeout(S,0))}}let I=await H(A.content,j,q,G,$);K.enqueue(I),await new Promise((k)=>setTimeout(k,0)),y=A.end}if(y<Y.length){let A=Y.slice(y);if(A.trim()){let I=await H(A,j,q,G,$);K.enqueue(I)}}}}else{let w=new Map;for(let Z of D)if(Z.type==="shell"||Z.type==="content"){let F=await H(Z.content,j,q,G,$);K.enqueue(F)}else if(Z.type==="suspense"&&Z.name){let F=`stx-suspense-${Z.name}`;K.enqueue(`<div id="${F}" data-suspense="${Z.name}" style="display:contents;">
3
3
  <template data-suspense-fallback>Loading...</template>
4
4
  </div>`),w.set(Z.name,H(Z.content,j,q,G,$))}K.enqueue(`
5
5
  <script>
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{jt as bq}from"./chunk-z698hwht.js";import{jw as k}from"./chunk-cey6rhqw.js";var fq={1001:{message:"Unclosed directive: {{directive}}",help:"Make sure to close the directive with the appropriate end tag"},1002:{message:"Unclosed expression at position {{position}}",help:"Check for missing closing braces }}"},1003:{message:"Invalid directive syntax: {{directive}}",help:"Review the directive documentation for correct syntax"},1004:{message:"Malformed expression: {{expression}}",help:"Check for syntax errors in your expression"},1005:{message:"Unexpected token: {{token}}",help:"Remove or fix the unexpected token"},1101:{message:"Undefined variable: {{variable}}",help:"Make sure the variable is defined in the template context"},1102:{message:"Type error: {{details}}",help:"Check that you are using the correct types"},1103:{message:"Evaluation error: {{details}}",help:"Review the expression for errors"},1104:{message:"Infinite loop detected in {{location}}",help:"Check your loop conditions"},1105:{message:"Circular reference detected: {{path}}",help:"Remove the circular dependency"},1201:{message:"Unsafe expression blocked: {{expression}}",help:"This expression contains potentially dangerous code"},1202:{message:"Path traversal attempt blocked: {{path}}",help:"Use only relative paths within allowed directories"},1203:{message:"Potential XSS attempt blocked",help:"Sanitize user input before rendering"},1204:{message:"Code injection attempt blocked: {{code}}",help:"Avoid executing dynamic code"},1205:{message:"Prohibited DOM API usage: {{api}}",help:"Use STX.useRefs(), STX.useRef(), STX.el() and other STX helpers instead of direct DOM manipulation"},1301:{message:"File not found: {{path}}",help:"Check that the file exists and the path is correct"},1302:{message:"Error reading file: {{path}}",help:"Check file permissions and encoding"},1303:{message:"Invalid file path: {{path}}",help:"Use a valid file path"},1304:{message:"Permission denied: {{path}}",help:"Check file permissions"},1401:{message:"Invalid configuration: {{details}}",help:"Review your stx.config.ts file"},1402:{message:"Missing required configuration: {{key}}",help:"Add the required configuration option"},1403:{message:"Deprecated configuration: {{key}}",help:"Update to the new configuration format"},1501:{message:"Component not found: {{name}}",help:"Check that the component exists in your components directory"},1502:{message:"Invalid props for component {{name}}: {{details}}",help:"Check the component prop requirements"},1503:{message:"Error rendering component {{name}}: {{details}}",help:"Check the component template for errors"},1601:{message:"Filter not found: {{filter}}",help:"Register the filter or check the filter name"},1602:{message:"Invalid arguments for filter {{filter}}: {{details}}",help:"Check the filter documentation for correct arguments"},1603:{message:"Expression evaluation timed out",help:"Simplify the expression or increase the timeout"}},b={},$q="en";function hq(q){$q=q}function uq(){return $q}function dq(q){b={...b,...q}}function pq(){b={}}function Xq(q,Q={}){let J=b[q]||fq[q]||{message:`Unknown error (code: ${q})`},Z=J.message,$=J.help;for(let[Y,G]of Object.entries(Q)){let X=`{{${Y}}}`;if(Z=Z.replace(new RegExp(X,"g"),G),$)$=$.replace(new RegExp(X,"g"),G)}return{message:Z,help:$}}function mq(q,Q={}){let{message:J,help:Z}=Xq(q,Q);return Z?`${J}
2
+ import{jt as bq}from"./chunk-z698hwht.js";import{pw as k}from"./chunk-qrkxyb5p.js";var fq={1001:{message:"Unclosed directive: {{directive}}",help:"Make sure to close the directive with the appropriate end tag"},1002:{message:"Unclosed expression at position {{position}}",help:"Check for missing closing braces }}"},1003:{message:"Invalid directive syntax: {{directive}}",help:"Review the directive documentation for correct syntax"},1004:{message:"Malformed expression: {{expression}}",help:"Check for syntax errors in your expression"},1005:{message:"Unexpected token: {{token}}",help:"Remove or fix the unexpected token"},1101:{message:"Undefined variable: {{variable}}",help:"Make sure the variable is defined in the template context"},1102:{message:"Type error: {{details}}",help:"Check that you are using the correct types"},1103:{message:"Evaluation error: {{details}}",help:"Review the expression for errors"},1104:{message:"Infinite loop detected in {{location}}",help:"Check your loop conditions"},1105:{message:"Circular reference detected: {{path}}",help:"Remove the circular dependency"},1201:{message:"Unsafe expression blocked: {{expression}}",help:"This expression contains potentially dangerous code"},1202:{message:"Path traversal attempt blocked: {{path}}",help:"Use only relative paths within allowed directories"},1203:{message:"Potential XSS attempt blocked",help:"Sanitize user input before rendering"},1204:{message:"Code injection attempt blocked: {{code}}",help:"Avoid executing dynamic code"},1205:{message:"Prohibited DOM API usage: {{api}}",help:"Use STX.useRefs(), STX.useRef(), STX.el() and other STX helpers instead of direct DOM manipulation"},1301:{message:"File not found: {{path}}",help:"Check that the file exists and the path is correct"},1302:{message:"Error reading file: {{path}}",help:"Check file permissions and encoding"},1303:{message:"Invalid file path: {{path}}",help:"Use a valid file path"},1304:{message:"Permission denied: {{path}}",help:"Check file permissions"},1401:{message:"Invalid configuration: {{details}}",help:"Review your stx.config.ts file"},1402:{message:"Missing required configuration: {{key}}",help:"Add the required configuration option"},1403:{message:"Deprecated configuration: {{key}}",help:"Update to the new configuration format"},1501:{message:"Component not found: {{name}}",help:"Check that the component exists in your components directory"},1502:{message:"Invalid props for component {{name}}: {{details}}",help:"Check the component prop requirements"},1503:{message:"Error rendering component {{name}}: {{details}}",help:"Check the component template for errors"},1601:{message:"Filter not found: {{filter}}",help:"Register the filter or check the filter name"},1602:{message:"Invalid arguments for filter {{filter}}: {{details}}",help:"Check the filter documentation for correct arguments"},1603:{message:"Expression evaluation timed out",help:"Simplify the expression or increase the timeout"}},b={},$q="en";function hq(q){$q=q}function uq(){return $q}function dq(q){b={...b,...q}}function pq(){b={}}function Xq(q,Q={}){let J=b[q]||fq[q]||{message:`Unknown error (code: ${q})`},Z=J.message,$=J.help;for(let[Y,G]of Object.entries(Q)){let X=`{{${Y}}}`;if(Z=Z.replace(new RegExp(X,"g"),G),$)$=$.replace(new RegExp(X,"g"),G)}return{message:Z,help:$}}function mq(q,Q={}){let{message:J,help:Z}=Xq(q,Q);return Z?`${J}
3
3
  Help: ${Z}`:J}var U={UNCLOSED_DIRECTIVE:1001,UNCLOSED_EXPRESSION:1002,INVALID_DIRECTIVE_SYNTAX:1003,MALFORMED_EXPRESSION:1004,UNEXPECTED_TOKEN:1005,UNDEFINED_VARIABLE:1101,TYPE_ERROR:1102,EVALUATION_ERROR:1103,INFINITE_LOOP:1104,CIRCULAR_REFERENCE:1105,UNSAFE_EXPRESSION:1201,PATH_TRAVERSAL:1202,XSS_ATTEMPT:1203,CODE_INJECTION:1204,DOM_API_VIOLATION:1205,FILE_NOT_FOUND:1301,FILE_READ_ERROR:1302,INVALID_FILE_PATH:1303,PERMISSION_DENIED:1304,INVALID_CONFIG:1401,MISSING_REQUIRED_CONFIG:1402,DEPRECATED_CONFIG:1403,COMPONENT_NOT_FOUND:1501,INVALID_PROPS:1502,COMPONENT_RENDER_ERROR:1503,FILTER_NOT_FOUND:1601,INVALID_FILTER_ARGS:1602,EXPRESSION_TIMEOUT:1603};function u(q){for(let[Q,J]of Object.entries(U))if(J===q)return Q;return}function cq(){return!1}function L(){return!cq()||process.env.STX_DEBUG==="true"}function GQ(){return!1}import lq from"path";var Yq={showRelativePaths:!1,enableAutoRecovery:L(),logRecoveryWarnings:!0},T={...Yq};function iq(q){T={...T,...q}}function E(){return{...T}}function sq(){T={...Yq}}function C(q){if(!T.showRelativePaths||!q)return q;let Q=T.baseDir||process.cwd();try{let J=lq.relative(Q,q);return J.startsWith("..")?q:J}catch{return q}}class N extends Error{code;filePath;line;column;context;numericCode;constructor(q,Q,J,Z,$,Y,G){super(q);this.code=Q;this.filePath=J;this.line=Z;this.column=$;this.context=Y;if(this.name="StxError",this.numericCode=G||U.EVALUATION_ERROR,this.filePath)this.filePath=C(this.filePath)}}class Hq extends N{constructor(q,Q,J,Z,$,Y){super(q,"stx_SYNTAX_ERROR",Q,J,Z,$,Y||U.INVALID_DIRECTIVE_SYNTAX);this.name="StxSyntaxError"}}class Gq extends N{constructor(q,Q,J,Z,$,Y){super(q,"stx_RUNTIME_ERROR",Q,J,Z,$,Y||U.EVALUATION_ERROR);this.name="StxRuntimeError"}}class Wq extends N{constructor(q,Q,J,Z,$,Y){super(q,"stx_SECURITY_ERROR",Q,J,Z,$,Y||U.UNSAFE_EXPRESSION);this.name="StxSecurityError"}}class Bq extends N{constructor(q,Q,J,Z,$,Y){super(q,"stx_FILE_ERROR",Q,J,Z,$,Y||U.FILE_NOT_FOUND);this.name="StxFileError"}}class Vq extends N{isFatal=!0;constructor(q,Q,J,Z,$,Y){super(q,"stx_VALIDATION_ERROR",Q,J,Z,$,Y||U.DOM_API_VIOLATION);this.name="StxValidationError"}}function d(q){let{type:Q,message:J,code:Z,filePath:$,line:Y,column:G,template:X,offset:H,snippet:W,suggestion:B,format:V="text"}=q,w=Y,M=G;if(!w&&X&&H!==void 0){let I=Fq(X,H);w=I.line,M=I.column}let j=$?C($):void 0,D=Z?u(Z):void 0,K={type:Q,code:Z,codeName:D,message:J,filePath:j,line:w,column:M,snippet:W,suggestion:B,timestamp:new Date().toISOString()},F;switch(V){case"html":F=rq(K);break;case"json":F=JSON.stringify(K,null,2);break;case"console":F=oq(K,X,H);break;case"text":default:F=nq(K,X,H);break}return{formatted:F,data:K}}function nq(q,Q,J){let Z=[],$=q.code?` [${q.codeName||q.code}]`:"";if(Z.push(`[${q.type} Error${$}]`),q.filePath){let Y=q.filePath;if(q.line){if(Y+=`:${q.line}`,q.column)Y+=`:${q.column}`}Z.push(`at ${Y}`)}if(Z.push(`
4
4
  ${q.message}`),Q&&q.line){let Y=aq(Q,q.line,2);if(Y)Z.push(`
5
5
  ${Y}`)}if(q.snippet)Z.push(`
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Al as g,ul as a,vl as b,wl as c,xl as d,yl as e,zl as f}from"./chunk-8q9qfy2v.js";import"./chunk-sb2g9f73.js";import"./chunk-1r3ydhkx.js";import"./chunk-5mdvkpt8.js";import"./chunk-w913decg.js";import"./chunk-cey6rhqw.js";export{e as productionApiDispatcher,g as isServerApiSource,b as generateApiTypes,a as discoverServerApi,f as createServerApi,d as createApiDispatcher,c as buildServerApi};
2
+ import{Al as g,ul as a,vl as b,wl as c,xl as d,yl as e,zl as f}from"./chunk-qsxtjtvv.js";import"./chunk-e10pfrds.js";import"./chunk-ecbqmesm.js";import"./chunk-dgrayagx.js";import"./chunk-5az2jb8y.js";import"./chunk-qrkxyb5p.js";export{e as productionApiDispatcher,g as isServerApiSource,b as generateApiTypes,a as discoverServerApi,f as createServerApi,d as createApiDispatcher,c as buildServerApi};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Re as a,Se as b}from"./chunk-2ver2s2y.js";import"./chunk-cey6rhqw.js";export{b as captureScreenshots,a as captureScreenshot};
2
+ import{Re as a,Se as b}from"./chunk-2ver2s2y.js";import"./chunk-qrkxyb5p.js";export{b as captureScreenshots,a as captureScreenshot};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Wo as a,Xo as b,Yo as c}from"./chunk-2astj1fq.js";import"./chunk-9e6pyjwz.js";import"./chunk-z698hwht.js";import"./chunk-70zb3560.js";import"./chunk-zsapb653.js";import"./chunk-kwrj745h.js";import"./chunk-df5wrw50.js";import"./chunk-e10pfrds.js";import"./chunk-ecbqmesm.js";import"./chunk-namj6apv.js";import"./chunk-dgrayagx.js";import"./chunk-2hyxkzpc.js";import"./chunk-r1g0bnpv.js";import"./chunk-2dk3ym1g.js";import"./chunk-8n0mjaf6.js";import"./chunk-5az2jb8y.js";import"./chunk-rcvnh2p7.js";import"./chunk-qrkxyb5p.js";export{b as reportDeferredLoopWarnings,c as processLoops,a as parseLoopBinding};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-cey6rhqw.js";import v from"fs";import H from"path";import{gzipSync as z}from"zlib";import{createHash as g}from"crypto";var D={".js":"js",".mjs":"js",".cjs":"js",".ts":"js",".jsx":"js",".tsx":"js",".css":"css",".scss":"css",".sass":"css",".less":"css",".html":"html",".htm":"html",".png":"image",".jpg":"image",".jpeg":"image",".gif":"image",".svg":"image",".webp":"image",".avif":"image",".ico":"image",".woff":"font",".woff2":"font",".ttf":"font",".eot":"font",".otf":"font"},b=[/node_modules/,/vendor/,/bower_components/,/\.min\./],B=[/index\.(js|ts|html)$/,/main\.(js|ts)$/,/app\.(js|ts)$/,/entry\.(js|ts)$/];async function L(X,Z={}){let{includeSourceMaps:Q=!1,parseImports:$=!0,detectDuplicates:U=!0,topModulesCount:K=20}=Z;if(!v.existsSync(X))throw Error(`Build directory not found: ${X}`);if(!v.statSync(X).isDirectory())throw Error(`Not a directory: ${X}`);let q=await k(X,Q),J=[],F=[];for(let A of q)try{let O=await f(A,X,$);J.push(O)}catch(O){F.push(`Failed to process ${A}: ${O}`)}let Y=c(J,X),V=J.reduce((A,O)=>A+O.size,0),_=J.reduce((A,O)=>A+O.gzipSize,0),w=m(J),G=U?p(J):[],C=[...J].sort((A,O)=>O.size-A.size).slice(0,K);return{timestamp:Date.now(),buildDir:H.resolve(X),chunks:Y,totalSize:V,totalGzipSize:_,moduleCount:J.length,duplicates:G,byType:w,largestModules:C,warnings:F}}async function k(X,Z){let Q=[];async function $(U){let K=await v.promises.readdir(U,{withFileTypes:!0});for(let j of K){let q=H.join(U,j.name);if(j.isDirectory()){if(!j.name.startsWith(".")&&j.name!=="node_modules")await $(q)}else if(j.isFile()){if(!Z&&j.name.endsWith(".map"))continue;Q.push(q)}}}return await $(X),Q}async function f(X,Z,Q){let $=await v.promises.readFile(X),U=H.relative(Z,X),K=H.extname(X).toLowerCase(),j=$.length,q=y($),J=h($,K),F=g("md5").update($).digest("hex").slice(0,8),Y=D[K]||"other",V=[];if(Q&&Y==="js")V.push(...d($.toString("utf-8")));return{id:U,path:U,size:j,gzipSize:q,parsedSize:J,extension:K,type:Y,imports:V,importedBy:[],hash:F}}function y(X){try{let Z=z(X,{level:9}).length;return Math.min(Z,X.length)}catch{return X.length}}function h(X,Z){if(Z.includes(".min.")||X.length<1000)return X.length;let $=D[Z];if($==="js")return Math.round(X.length*0.6);if($==="css")return Math.round(X.length*0.7);return X.length}function d(X){let Z=[],Q=/import\s+(?:[\w*{}\s,]+\s+from\s+)?['"]([^'"]+)['"]/g,$;while(($=Q.exec(X))!==null)Z.push($[1]);let U=/import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;while(($=U.exec(X))!==null)Z.push($[1]);let K=/require\s*\(\s*['"]([^'"]+)['"]\s*\)/g;while(($=K.exec(X))!==null)Z.push($[1]);return[...new Set(Z)]}function c(X,Z){let Q=new Map;for(let U of X){let K=U.path.split(H.sep),j;if(K.length===1)j=H.basename(U.path,U.extension);else j=K[0];let q=Q.get(j)||[];q.push(U),Q.set(j,q)}let $=[];for(let[U,K]of Q){let j=K.reduce((Y,V)=>Y+V.size,0),q=K.reduce((Y,V)=>Y+V.gzipSize,0),J=K.some((Y)=>B.some((V)=>V.test(Y.path))),F=K.some((Y)=>b.some((V)=>V.test(Y.path)));$.push({name:U,files:K.map((Y)=>Y.path),modules:K,size:j,gzipSize:q,isEntry:J,isVendor:F})}return $.sort((U,K)=>K.size-U.size)}function m(X){let Z={js:{count:0,size:0,gzipSize:0},css:{count:0,size:0,gzipSize:0},html:{count:0,size:0,gzipSize:0},image:{count:0,size:0,gzipSize:0},font:{count:0,size:0,gzipSize:0},other:{count:0,size:0,gzipSize:0}};for(let Q of X)Z[Q.type].count++,Z[Q.type].size+=Q.size,Z[Q.type].gzipSize+=Q.gzipSize;return Z}function p(X){let Z=new Map;for(let $ of X){let U=Z.get($.hash)||[];U.push($),Z.set($.hash,U)}let Q=[];for(let[,$]of Z)if($.length>1){let U=$[0];Q.push({path:U.path,count:$.length,wastedBytes:U.size*($.length-1),locations:$.map((K)=>K.path)})}return Q.sort(($,U)=>U.wastedBytes-$.wastedBytes)}function W(X){if(X<1024)return`${X} B`;if(X<1048576)return`${(X/1024).toFixed(2)} KB`;return`${(X/1048576).toFixed(2)} MB`}function I(X){let Z=X.match(/^([\d.]+)\s*(B|KB|MB|GB)?$/i);if(!Z)return 0;let Q=Number.parseFloat(Z[1]);switch((Z[2]||"B").toUpperCase()){case"KB":return Q*1024;case"MB":return Q*1024*1024;case"GB":return Q*1024*1024*1024;default:return Q}}function E(X,Z){if(Z===0)return"0%";return`${(X/Z*100).toFixed(1)}%`}function R(X,Z){switch(Z.format){case"json":return u(X,Z);case"markdown":return l(X,Z);case"text":default:return r(X,Z)}}function u(X,Z){let Q=N(X,Z);return JSON.stringify({timestamp:X.timestamp,buildDir:X.buildDir,summary:{totalSize:X.totalSize,totalSizeFormatted:W(X.totalSize),totalGzipSize:X.totalGzipSize,totalGzipSizeFormatted:W(X.totalGzipSize),moduleCount:X.moduleCount,chunkCount:X.chunks.length,duplicateCount:X.duplicates.length},byType:Object.fromEntries(Object.entries(X.byType).map(([$,U])=>[$,{...U,sizeFormatted:W(U.size),gzipSizeFormatted:W(U.gzipSize)}])),chunks:X.chunks.map(($)=>({name:$.name,size:$.size,sizeFormatted:W($.size),gzipSize:$.gzipSize,gzipSizeFormatted:W($.gzipSize),moduleCount:$.modules.length,isEntry:$.isEntry,isVendor:$.isVendor})),largestModules:X.largestModules.slice(0,Z.topModules||10).map(($)=>({path:$.path,size:$.size,sizeFormatted:W($.size),gzipSize:$.gzipSize,gzipSizeFormatted:W($.gzipSize),type:$.type})),duplicates:X.duplicates,analysis:Q,warnings:X.warnings},null,2)}function r(X,Z){let Q=[],$=Z.showGzip!==!1;if(Q.push(""),Q.push("Bundle Analysis Report"),Q.push("\u2550".repeat(50)),Q.push(""),Q.push("Summary"),Q.push("\u2500".repeat(50)),$)Q.push(`Total Size: ${W(X.totalSize)} (${W(X.totalGzipSize)} gzip)`);else Q.push(`Total Size: ${W(X.totalSize)}`);if(Q.push(`Modules: ${X.moduleCount}`),Q.push(`Chunks: ${X.chunks.length}`),X.duplicates.length>0)Q.push(`Duplicates: ${X.duplicates.length}`);if(Q.push(""),Z.threshold&&X.totalSize>Z.threshold)Q.push(`\u26A0\uFE0F Bundle exceeds threshold of ${W(Z.threshold)}!`),Q.push("");Q.push("Size by Type"),Q.push("\u2500".repeat(50));let U=["js","css","html","image","font","other"];for(let j of U){let q=X.byType[j];if(q.count>0){let J=E(q.size,X.totalSize),F=$?` (${W(q.gzipSize)} gzip)`:"";Q.push(` ${j.padEnd(8)} ${W(q.size).padStart(12)}${F} ${J.padStart(6)} (${q.count} files)`)}}Q.push(""),Q.push("Chunks"),Q.push("\u2500".repeat(50));for(let j of X.chunks.slice(0,10)){let q=[];if(j.isEntry)q.push("entry");if(j.isVendor)q.push("vendor");let J=q.length>0?` [${q.join(", ")}]`:"",F=$?` (${W(j.gzipSize)} gzip)`:"";Q.push(` ${j.name.padEnd(20)} ${W(j.size).padStart(12)}${F}${J}`)}if(X.chunks.length>10)Q.push(` ... and ${X.chunks.length-10} more chunks`);Q.push("");let K=Z.topModules||10;Q.push(`Largest Modules (Top ${K})`),Q.push("\u2500".repeat(50));for(let j=0;j<Math.min(K,X.largestModules.length);j++){let q=X.largestModules[j],J=$?` (${W(q.gzipSize)} gzip)`:"";Q.push(` ${(j+1).toString().padStart(2)}. ${q.path}`),Q.push(` ${W(q.size)}${J}`)}if(Q.push(""),X.duplicates.length>0){Q.push("Duplicate Modules"),Q.push("\u2500".repeat(50));for(let j of X.duplicates.slice(0,5))Q.push(` ${j.path}`),Q.push(` ${j.count} copies, wasting ${W(j.wastedBytes)}`);if(X.duplicates.length>5)Q.push(` ... and ${X.duplicates.length-5} more duplicates`);Q.push("")}if(Z.recommendations!==!1){let j=N(X,Z);if(j.recommendations.length>0){Q.push("Recommendations"),Q.push("\u2500".repeat(50));for(let q of j.recommendations.slice(0,5)){let J=q.impact==="high"?"\u26A1":q.impact==="medium"?"\uD83D\uDCCA":"\uD83D\uDCA1";Q.push(` ${J} ${q.title}`),Q.push(` ${q.description}`)}Q.push("")}}if(X.warnings.length>0){Q.push("Warnings"),Q.push("\u2500".repeat(50));for(let j of X.warnings)Q.push(` \u26A0\uFE0F ${j}`);Q.push("")}return Q.join(`
2
+ import"./chunk-qrkxyb5p.js";import v from"fs";import H from"path";import{gzipSync as z}from"zlib";import{createHash as g}from"crypto";var D={".js":"js",".mjs":"js",".cjs":"js",".ts":"js",".jsx":"js",".tsx":"js",".css":"css",".scss":"css",".sass":"css",".less":"css",".html":"html",".htm":"html",".png":"image",".jpg":"image",".jpeg":"image",".gif":"image",".svg":"image",".webp":"image",".avif":"image",".ico":"image",".woff":"font",".woff2":"font",".ttf":"font",".eot":"font",".otf":"font"},b=[/node_modules/,/vendor/,/bower_components/,/\.min\./],B=[/index\.(js|ts|html)$/,/main\.(js|ts)$/,/app\.(js|ts)$/,/entry\.(js|ts)$/];async function L(X,Z={}){let{includeSourceMaps:Q=!1,parseImports:$=!0,detectDuplicates:U=!0,topModulesCount:K=20}=Z;if(!v.existsSync(X))throw Error(`Build directory not found: ${X}`);if(!v.statSync(X).isDirectory())throw Error(`Not a directory: ${X}`);let q=await k(X,Q),J=[],F=[];for(let A of q)try{let O=await f(A,X,$);J.push(O)}catch(O){F.push(`Failed to process ${A}: ${O}`)}let Y=c(J,X),V=J.reduce((A,O)=>A+O.size,0),_=J.reduce((A,O)=>A+O.gzipSize,0),w=m(J),G=U?p(J):[],C=[...J].sort((A,O)=>O.size-A.size).slice(0,K);return{timestamp:Date.now(),buildDir:H.resolve(X),chunks:Y,totalSize:V,totalGzipSize:_,moduleCount:J.length,duplicates:G,byType:w,largestModules:C,warnings:F}}async function k(X,Z){let Q=[];async function $(U){let K=await v.promises.readdir(U,{withFileTypes:!0});for(let j of K){let q=H.join(U,j.name);if(j.isDirectory()){if(!j.name.startsWith(".")&&j.name!=="node_modules")await $(q)}else if(j.isFile()){if(!Z&&j.name.endsWith(".map"))continue;Q.push(q)}}}return await $(X),Q}async function f(X,Z,Q){let $=await v.promises.readFile(X),U=H.relative(Z,X),K=H.extname(X).toLowerCase(),j=$.length,q=y($),J=h($,K),F=g("md5").update($).digest("hex").slice(0,8),Y=D[K]||"other",V=[];if(Q&&Y==="js")V.push(...d($.toString("utf-8")));return{id:U,path:U,size:j,gzipSize:q,parsedSize:J,extension:K,type:Y,imports:V,importedBy:[],hash:F}}function y(X){try{let Z=z(X,{level:9}).length;return Math.min(Z,X.length)}catch{return X.length}}function h(X,Z){if(Z.includes(".min.")||X.length<1000)return X.length;let $=D[Z];if($==="js")return Math.round(X.length*0.6);if($==="css")return Math.round(X.length*0.7);return X.length}function d(X){let Z=[],Q=/import\s+(?:[\w*{}\s,]+\s+from\s+)?['"]([^'"]+)['"]/g,$;while(($=Q.exec(X))!==null)Z.push($[1]);let U=/import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;while(($=U.exec(X))!==null)Z.push($[1]);let K=/require\s*\(\s*['"]([^'"]+)['"]\s*\)/g;while(($=K.exec(X))!==null)Z.push($[1]);return[...new Set(Z)]}function c(X,Z){let Q=new Map;for(let U of X){let K=U.path.split(H.sep),j;if(K.length===1)j=H.basename(U.path,U.extension);else j=K[0];let q=Q.get(j)||[];q.push(U),Q.set(j,q)}let $=[];for(let[U,K]of Q){let j=K.reduce((Y,V)=>Y+V.size,0),q=K.reduce((Y,V)=>Y+V.gzipSize,0),J=K.some((Y)=>B.some((V)=>V.test(Y.path))),F=K.some((Y)=>b.some((V)=>V.test(Y.path)));$.push({name:U,files:K.map((Y)=>Y.path),modules:K,size:j,gzipSize:q,isEntry:J,isVendor:F})}return $.sort((U,K)=>K.size-U.size)}function m(X){let Z={js:{count:0,size:0,gzipSize:0},css:{count:0,size:0,gzipSize:0},html:{count:0,size:0,gzipSize:0},image:{count:0,size:0,gzipSize:0},font:{count:0,size:0,gzipSize:0},other:{count:0,size:0,gzipSize:0}};for(let Q of X)Z[Q.type].count++,Z[Q.type].size+=Q.size,Z[Q.type].gzipSize+=Q.gzipSize;return Z}function p(X){let Z=new Map;for(let $ of X){let U=Z.get($.hash)||[];U.push($),Z.set($.hash,U)}let Q=[];for(let[,$]of Z)if($.length>1){let U=$[0];Q.push({path:U.path,count:$.length,wastedBytes:U.size*($.length-1),locations:$.map((K)=>K.path)})}return Q.sort(($,U)=>U.wastedBytes-$.wastedBytes)}function W(X){if(X<1024)return`${X} B`;if(X<1048576)return`${(X/1024).toFixed(2)} KB`;return`${(X/1048576).toFixed(2)} MB`}function I(X){let Z=X.match(/^([\d.]+)\s*(B|KB|MB|GB)?$/i);if(!Z)return 0;let Q=Number.parseFloat(Z[1]);switch((Z[2]||"B").toUpperCase()){case"KB":return Q*1024;case"MB":return Q*1024*1024;case"GB":return Q*1024*1024*1024;default:return Q}}function E(X,Z){if(Z===0)return"0%";return`${(X/Z*100).toFixed(1)}%`}function R(X,Z){switch(Z.format){case"json":return u(X,Z);case"markdown":return l(X,Z);case"text":default:return r(X,Z)}}function u(X,Z){let Q=N(X,Z);return JSON.stringify({timestamp:X.timestamp,buildDir:X.buildDir,summary:{totalSize:X.totalSize,totalSizeFormatted:W(X.totalSize),totalGzipSize:X.totalGzipSize,totalGzipSizeFormatted:W(X.totalGzipSize),moduleCount:X.moduleCount,chunkCount:X.chunks.length,duplicateCount:X.duplicates.length},byType:Object.fromEntries(Object.entries(X.byType).map(([$,U])=>[$,{...U,sizeFormatted:W(U.size),gzipSizeFormatted:W(U.gzipSize)}])),chunks:X.chunks.map(($)=>({name:$.name,size:$.size,sizeFormatted:W($.size),gzipSize:$.gzipSize,gzipSizeFormatted:W($.gzipSize),moduleCount:$.modules.length,isEntry:$.isEntry,isVendor:$.isVendor})),largestModules:X.largestModules.slice(0,Z.topModules||10).map(($)=>({path:$.path,size:$.size,sizeFormatted:W($.size),gzipSize:$.gzipSize,gzipSizeFormatted:W($.gzipSize),type:$.type})),duplicates:X.duplicates,analysis:Q,warnings:X.warnings},null,2)}function r(X,Z){let Q=[],$=Z.showGzip!==!1;if(Q.push(""),Q.push("Bundle Analysis Report"),Q.push("\u2550".repeat(50)),Q.push(""),Q.push("Summary"),Q.push("\u2500".repeat(50)),$)Q.push(`Total Size: ${W(X.totalSize)} (${W(X.totalGzipSize)} gzip)`);else Q.push(`Total Size: ${W(X.totalSize)}`);if(Q.push(`Modules: ${X.moduleCount}`),Q.push(`Chunks: ${X.chunks.length}`),X.duplicates.length>0)Q.push(`Duplicates: ${X.duplicates.length}`);if(Q.push(""),Z.threshold&&X.totalSize>Z.threshold)Q.push(`\u26A0\uFE0F Bundle exceeds threshold of ${W(Z.threshold)}!`),Q.push("");Q.push("Size by Type"),Q.push("\u2500".repeat(50));let U=["js","css","html","image","font","other"];for(let j of U){let q=X.byType[j];if(q.count>0){let J=E(q.size,X.totalSize),F=$?` (${W(q.gzipSize)} gzip)`:"";Q.push(` ${j.padEnd(8)} ${W(q.size).padStart(12)}${F} ${J.padStart(6)} (${q.count} files)`)}}Q.push(""),Q.push("Chunks"),Q.push("\u2500".repeat(50));for(let j of X.chunks.slice(0,10)){let q=[];if(j.isEntry)q.push("entry");if(j.isVendor)q.push("vendor");let J=q.length>0?` [${q.join(", ")}]`:"",F=$?` (${W(j.gzipSize)} gzip)`:"";Q.push(` ${j.name.padEnd(20)} ${W(j.size).padStart(12)}${F}${J}`)}if(X.chunks.length>10)Q.push(` ... and ${X.chunks.length-10} more chunks`);Q.push("");let K=Z.topModules||10;Q.push(`Largest Modules (Top ${K})`),Q.push("\u2500".repeat(50));for(let j=0;j<Math.min(K,X.largestModules.length);j++){let q=X.largestModules[j],J=$?` (${W(q.gzipSize)} gzip)`:"";Q.push(` ${(j+1).toString().padStart(2)}. ${q.path}`),Q.push(` ${W(q.size)}${J}`)}if(Q.push(""),X.duplicates.length>0){Q.push("Duplicate Modules"),Q.push("\u2500".repeat(50));for(let j of X.duplicates.slice(0,5))Q.push(` ${j.path}`),Q.push(` ${j.count} copies, wasting ${W(j.wastedBytes)}`);if(X.duplicates.length>5)Q.push(` ... and ${X.duplicates.length-5} more duplicates`);Q.push("")}if(Z.recommendations!==!1){let j=N(X,Z);if(j.recommendations.length>0){Q.push("Recommendations"),Q.push("\u2500".repeat(50));for(let q of j.recommendations.slice(0,5)){let J=q.impact==="high"?"\u26A1":q.impact==="medium"?"\uD83D\uDCCA":"\uD83D\uDCA1";Q.push(` ${J} ${q.title}`),Q.push(` ${q.description}`)}Q.push("")}}if(X.warnings.length>0){Q.push("Warnings"),Q.push("\u2500".repeat(50));for(let j of X.warnings)Q.push(` \u26A0\uFE0F ${j}`);Q.push("")}return Q.join(`
3
3
  `)}function l(X,Z){let Q=[],$=Z.showGzip!==!1;if(Q.push("# Bundle Analysis Report"),Q.push(""),Q.push(`Generated: ${new Date(X.timestamp).toISOString()}`),Q.push(""),Q.push("## Summary"),Q.push(""),Q.push("| Metric | Value |"),Q.push("|--------|-------|"),Q.push(`| Total Size | ${W(X.totalSize)} |`),$)Q.push(`| Gzip Size | ${W(X.totalGzipSize)} |`);Q.push(`| Modules | ${X.moduleCount} |`),Q.push(`| Chunks | ${X.chunks.length} |`),Q.push(`| Duplicates | ${X.duplicates.length} |`),Q.push(""),Q.push("## Size by Type"),Q.push(""),Q.push("| Type | Size | Gzip | % | Files |"),Q.push("|------|------|------|---|-------|");let U=["js","css","html","image","font","other"];for(let j of U){let q=X.byType[j];if(q.count>0)Q.push(`| ${j} | ${W(q.size)} | ${W(q.gzipSize)} | ${E(q.size,X.totalSize)} | ${q.count} |`)}Q.push(""),Q.push("## Chunks"),Q.push(""),Q.push("| Name | Size | Gzip | Modules | Type |"),Q.push("|------|------|------|---------|------|");for(let j of X.chunks.slice(0,15)){let q=j.isEntry?"Entry":j.isVendor?"Vendor":"-";Q.push(`| ${j.name} | ${W(j.size)} | ${W(j.gzipSize)} | ${j.modules.length} | ${q} |`)}Q.push("");let K=Z.topModules||10;Q.push(`## Largest Modules (Top ${K})`),Q.push(""),Q.push("| # | Path | Size | Gzip |"),Q.push("|---|------|------|------|");for(let j=0;j<Math.min(K,X.largestModules.length);j++){let q=X.largestModules[j];Q.push(`| ${j+1} | \`${q.path}\` | ${W(q.size)} | ${W(q.gzipSize)} |`)}if(Q.push(""),X.duplicates.length>0){Q.push("## Duplicates"),Q.push(""),Q.push("| Path | Copies | Wasted |"),Q.push("|------|--------|--------|");for(let j of X.duplicates.slice(0,10))Q.push(`| \`${j.path}\` | ${j.count} | ${W(j.wastedBytes)} |`);Q.push("")}if(Z.recommendations!==!1){let j=N(X,Z);if(j.recommendations.length>0){Q.push("## Recommendations"),Q.push("");for(let q of j.recommendations)Q.push(`### ${q.title}`),Q.push(""),Q.push(q.description),Q.push(""),Q.push(`- **Impact:** ${q.impact}`),Q.push(`- **Effort:** ${q.effort}`),Q.push("")}}return Q.join(`
4
4
  `)}function N(X,Z){let Q=[],$=[];if(Z.threshold&&X.totalSize>Z.threshold)Q.push({severity:"error",message:`Bundle size (${W(X.totalSize)}) exceeds threshold (${W(Z.threshold)})`});if(X.totalSize>1048576)Q.push({severity:"warning",message:`Bundle is over 1MB (${W(X.totalSize)})`,details:"Large bundles can significantly impact load time"});if(X.duplicates.length>0){let q=X.duplicates.reduce((J,F)=>J+F.wastedBytes,0);Q.push({severity:"warning",message:`${X.duplicates.length} duplicate modules found, wasting ${W(q)}`}),$.push({title:"Remove Duplicate Modules",description:"Consider using import aliases or ensuring consistent package versions to eliminate duplicates.",impact:"medium",effort:"low"})}if(X.byType.js.size/X.totalSize>0.8&&X.totalSize>512000)$.push({title:"Code Splitting",description:"Over 80% of your bundle is JavaScript. Consider splitting code by route or feature.",impact:"high",effort:"medium"});let K=X.largestModules.filter((q)=>q.size>102400);if(K.length>0){Q.push({severity:"info",message:`${K.length} modules are over 100KB`});for(let q of K){if(q.path.includes("lodash")&&!q.path.includes("lodash-es"))$.push({title:"Use lodash-es instead of lodash",description:"lodash-es supports tree-shaking and can significantly reduce bundle size.",impact:"high",effort:"low"});if(q.path.includes("moment"))$.push({title:"Replace moment.js",description:"Consider using date-fns or dayjs for smaller date handling libraries.",impact:"high",effort:"medium"})}}if(X.byType.image.size>512000)$.push({title:"Optimize Images",description:`Images account for ${W(X.byType.image.size)}. Consider using WebP/AVIF formats and responsive images.`,impact:"high",effort:"low"});let j=100;if(X.totalSize>1048576)j-=20;else if(X.totalSize>512000)j-=10;if(j-=Math.min(20,X.duplicates.length*2),j-=Math.min(15,K.length*3),Z.threshold&&X.totalSize>Z.threshold)j-=25;return{score:Math.max(0,j),issues:Q,recommendations:$}}var i={lodash:{alternative:"lodash-es or individual imports",savings:"~70%"},moment:{alternative:"date-fns or dayjs",savings:"~90%"},"chart.js":{alternative:"chart.js with tree-shaking",savings:"~50%"},"highlight.js":{alternative:"Selective language imports",savings:"~80%"},fontawesome:{alternative:"Individual icon imports",savings:"~90%"},"material-ui":{alternative:"Named imports from @mui/*",savings:"~60%"}};function n(X){for(let[Z,Q]of Object.entries(i))if(X.includes(Z))return{title:`Optimize ${Z}`,description:`Consider using ${Q.alternative}. Potential savings: ${Q.savings}`,impact:"high",effort:"low"};return null}var o={default:{js:"#f7df1e",css:"#264de4",html:"#e34c26",image:"#4caf50",font:"#9c27b0",other:"#607d8b",vendor:"#ff5722"},pastel:{js:"#fff3b0",css:"#b0d4ff",html:"#ffb0b0",image:"#b0ffb0",font:"#e0b0ff",other:"#d0d0d0",vendor:"#ffcfb0"},monochrome:{js:"#333333",css:"#555555",html:"#777777",image:"#999999",font:"#bbbbbb",other:"#dddddd",vendor:"#444444"}};function x(X,Z={}){let{title:Q="Bundle Analysis",gzip:$=!0,colorScheme:U="default"}=Z,K=o[U],j=a(X),q=JSON.stringify(j);return`<!DOCTYPE html>
5
5
  <html lang="en">