@stacksjs/stx 0.2.332 → 0.2.334
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builtins/image-worker.d.ts +17 -0
- package/dist/builtins/image-worker.js +12 -1
- package/dist/caching.d.ts +17 -0
- package/dist/caching.js +24 -0
- package/dist/chunk-046dp691.js +2 -0
- package/dist/{chunk-kx30cykj.js → chunk-08w4gtyf.js} +3 -3
- package/dist/{chunk-be5es9s3.js → chunk-09jdvqhg.js} +2 -2
- package/dist/{chunk-7ds14xsn.js → chunk-0vv5s039.js} +1 -1
- package/dist/chunk-1brnvyhv.js +2 -0
- package/dist/{chunk-3n9rvrk1.js → chunk-1ebyt1ba.js} +1 -1
- package/dist/{chunk-wx3kf6tm.js → chunk-1hzgxk2m.js} +1 -1
- package/dist/chunk-1jzdpvvx.js +2 -0
- package/dist/{chunk-mnsaf11z.js → chunk-1tva0f8f.js} +1 -1
- package/dist/{chunk-bsa8pxtc.js → chunk-24b4711v.js} +1 -1
- package/dist/{chunk-wv9v9mj9.js → chunk-27xfkzks.js} +1 -1
- package/dist/{chunk-mywrt0dp.js → chunk-2cm03y4y.js} +1 -1
- package/dist/{chunk-tp6wkx7g.js → chunk-2tjk867y.js} +1 -1
- package/dist/{chunk-am42axf7.js → chunk-2vgkc0kg.js} +1 -1
- package/dist/{chunk-w4ckece4.js → chunk-2ye35vms.js} +10 -10
- package/dist/{chunk-ys8sm556.js → chunk-3ntf8f5e.js} +1 -1
- package/dist/{chunk-33rznhw1.js → chunk-42en0cxm.js} +1 -1
- package/dist/{chunk-09zjty4k.js → chunk-4jdj52c5.js} +1 -1
- package/dist/{chunk-424e1tyj.js → chunk-4k0ce745.js} +1 -1
- package/dist/chunk-4tnxnzja.js +2 -0
- package/dist/{chunk-peqad61h.js → chunk-4ty8j3xn.js} +1 -1
- package/dist/{chunk-gwrrs1qh.js → chunk-5swem3qy.js} +1 -1
- package/dist/chunk-63yfp05p.js +2 -0
- package/dist/{chunk-afsy9158.js → chunk-67bh5vrj.js} +1 -1
- package/dist/{chunk-kptkb3j4.js → chunk-6k8h1fj1.js} +1 -1
- package/dist/{chunk-289vztwy.js → chunk-71y3bhcw.js} +1 -1
- package/dist/{chunk-yjkaqxtc.js → chunk-7r80apc5.js} +1 -1
- package/dist/chunk-7y4eqkv4.js +2 -0
- package/dist/chunk-7ywnkv1f.js +2 -0
- package/dist/{chunk-77sa9wz4.js → chunk-80zj5516.js} +1 -1
- package/dist/chunk-8730k51r.js +2 -0
- package/dist/chunk-907qxn09.js +2 -0
- package/dist/{chunk-mv6dw7dn.js → chunk-9fcq5x2r.js} +1 -1
- package/dist/{chunk-2jfneptq.js → chunk-9kxfz708.js} +1 -1
- package/dist/{chunk-97yd8erh.js → chunk-9v0fsdsf.js} +1 -1
- package/dist/chunk-a97tp43x.js +2 -0
- package/dist/{chunk-1czvb2wx.js → chunk-amxtypkp.js} +1 -1
- package/dist/chunk-atw841yx.js +2 -0
- package/dist/chunk-c1c2a5es.js +2 -0
- package/dist/{chunk-70nkn5te.js → chunk-c1m1gng4.js} +1 -1
- package/dist/chunk-c2ta859c.js +3 -0
- package/dist/{chunk-cqp01pgs.js → chunk-caaenc3w.js} +2 -2
- package/dist/{chunk-kcn1ay55.js → chunk-cdqx2c2h.js} +1 -1
- package/dist/{chunk-pcvayb2f.js → chunk-cdsbxghb.js} +1 -1
- package/dist/{chunk-mbaew5a8.js → chunk-cmtjq1db.js} +2 -2
- package/dist/{chunk-7kfp7jde.js → chunk-crj19mqr.js} +1 -1
- package/dist/chunk-cvphepjb.js +2 -0
- package/dist/{chunk-xgj1jw4p.js → chunk-d4etph79.js} +1 -1
- package/dist/{chunk-tjhzxbxa.js → chunk-deqnt1w5.js} +1 -1
- package/dist/{chunk-meqcxfpr.js → chunk-dfejgnny.js} +1 -1
- package/dist/chunk-dnesmvvb.js +2 -0
- package/dist/{chunk-qcf4506g.js → chunk-drqdc0mh.js} +1 -1
- package/dist/{chunk-g5e5kja6.js → chunk-e1sxe3q4.js} +2 -2
- package/dist/{chunk-6t9xcjag.js → chunk-ef0ra05n.js} +1 -1
- package/dist/{chunk-dwjcmxez.js → chunk-eth22r93.js} +1 -1
- package/dist/chunk-ewsx2qxm.js +2 -0
- package/dist/{chunk-sj3k3jwt.js → chunk-farwrdr2.js} +1 -1
- package/dist/chunk-fcenm8n1.js +2 -0
- package/dist/chunk-fkdnfjc2.js +3 -0
- package/dist/chunk-gbz6pfs8.js +2 -0
- package/dist/chunk-gd2d52kn.js +2 -0
- package/dist/{chunk-2h6pmz31.js → chunk-gdbkqatx.js} +1 -1
- package/dist/{chunk-gne68nyp.js → chunk-gptwwv3c.js} +1 -1
- package/dist/{chunk-5ep11kvc.js → chunk-hyfjnn7g.js} +1 -1
- package/dist/{chunk-2jzntvfr.js → chunk-hzfd8cz0.js} +13 -2
- package/dist/{chunk-zyb5gfr0.js → chunk-j2dj21ay.js} +1 -1
- package/dist/chunk-jnahcd4d.js +2 -0
- package/dist/{chunk-kbv4km5j.js → chunk-k6ky5et7.js} +1 -1
- package/dist/{chunk-4zwjqcw4.js → chunk-kffndzch.js} +3 -3
- package/dist/{chunk-n2y2941z.js → chunk-kk7p8ekz.js} +1 -1
- package/dist/{chunk-dfymexrx.js → chunk-kpeqn5tx.js} +1 -1
- package/dist/{chunk-2t8jekek.js → chunk-krpkfndf.js} +1 -1
- package/dist/{chunk-m3a20mmb.js → chunk-kw98dfza.js} +1 -1
- package/dist/{chunk-r6g1n649.js → chunk-kxtqbrfr.js} +22 -22
- package/dist/chunk-m1yrakpk.js +2 -0
- package/dist/{chunk-mkk731dy.js → chunk-m8kezfrt.js} +1 -1
- package/dist/{chunk-z6xtb8fj.js → chunk-mm59b0gg.js} +1 -1
- package/dist/{chunk-7ymv9pd6.js → chunk-n66k2v2q.js} +2 -2
- package/dist/chunk-n9c975db.js +2 -0
- package/dist/{chunk-fc1g65e0.js → chunk-nat3actx.js} +1 -1
- package/dist/{chunk-kxtfmwy0.js → chunk-p1hy2bwn.js} +3 -3
- package/dist/{chunk-tz7t6ybm.js → chunk-pbexz0d4.js} +2 -2
- package/dist/{chunk-ms2kjpdt.js → chunk-pbzdjhp8.js} +1 -1
- package/dist/{chunk-d9ajsetq.js → chunk-q05eh1n4.js} +1 -1
- package/dist/{chunk-3wvdm033.js → chunk-q0g5c39d.js} +1 -1
- package/dist/chunk-q2hvne0v.js +2 -0
- package/dist/{chunk-cvedh4a7.js → chunk-q4p1h741.js} +1 -1
- package/dist/{chunk-qnx0eb8x.js → chunk-q569zmrr.js} +1 -1
- package/dist/{chunk-0w8t922h.js → chunk-q85qp5we.js} +1 -1
- package/dist/chunk-qpbk50xd.js +2 -0
- package/dist/{chunk-bsm13y1j.js → chunk-r8rbf28v.js} +1 -1
- package/dist/chunk-rxdd3k6n.js +2 -0
- package/dist/chunk-ssd10kje.js +2 -0
- package/dist/chunk-szx6pxh3.js +2 -0
- package/dist/{chunk-557n2zx7.js → chunk-t8ctvjqe.js} +1 -1
- package/dist/{chunk-wbtamqdk.js → chunk-te6qym2g.js} +2 -2
- package/dist/{chunk-xzkc36wt.js → chunk-tjag2cmm.js} +1 -1
- package/dist/{chunk-fw4nxafz.js → chunk-tpmgq2dx.js} +1 -1
- package/dist/chunk-tte4m2s9.js +2 -0
- package/dist/chunk-v0v1pxwh.js +2 -0
- package/dist/chunk-vv289x82.js +2 -0
- package/dist/{chunk-7080py5f.js → chunk-vvd659y4.js} +1 -1
- package/dist/chunk-vx6mxybh.js +2 -0
- package/dist/{chunk-3cba0xw5.js → chunk-wx5zf66r.js} +1 -1
- package/dist/chunk-x510wr8z.js +2 -0
- package/dist/{chunk-xt7bsyj7.js → chunk-x7yc7e9v.js} +1 -1
- package/dist/chunk-x95sxapm.js +2 -0
- package/dist/{chunk-rkna71t2.js → chunk-xdmb578h.js} +1 -1
- package/dist/chunk-y1x2ebhv.js +2 -0
- package/dist/{chunk-jwkmc175.js → chunk-yk6446kr.js} +1 -1
- package/dist/{chunk-0tyw6va3.js → chunk-ymrxpwr8.js} +1 -1
- package/dist/{chunk-g3cyygvf.js → chunk-yxppshfd.js} +1 -1
- package/dist/chunk-yzxm75jp.js +2 -0
- package/dist/{chunk-33az7v0k.js → chunk-zsnrcbw1.js} +2 -2
- package/dist/{chunk-qjh40e31.js → chunk-zz8qgqa1.js} +2 -2
- package/dist/cli.js +14 -14
- package/dist/craft-entry.js +1 -1
- package/dist/craft.js +1 -1
- package/dist/database.js +1 -1
- package/dist/pwa.js +2 -2
- package/dist/ssg.js +2 -2
- package/dist/visual-testing.js +1 -1
- package/package.json +5 -5
- package/dist/chunk-0ck064qf.js +0 -2
- package/dist/chunk-1f43h46q.js +0 -2
- package/dist/chunk-20e4pcq1.js +0 -2
- package/dist/chunk-2evvkp6k.js +0 -2
- package/dist/chunk-2gfjp8q1.js +0 -2
- package/dist/chunk-41fhbhbn.js +0 -2
- package/dist/chunk-476dmgkd.js +0 -2
- package/dist/chunk-73sq0e73.js +0 -2
- package/dist/chunk-793gxvjv.js +0 -2
- package/dist/chunk-7f16ymjn.js +0 -2
- package/dist/chunk-85e05tzn.js +0 -2
- package/dist/chunk-94c8we2y.js +0 -2
- package/dist/chunk-axe4hgv2.js +0 -2
- package/dist/chunk-b9jknz2y.js +0 -2
- package/dist/chunk-c2mvx2m8.js +0 -3
- package/dist/chunk-cn74d92v.js +0 -2
- package/dist/chunk-d9gk60kk.js +0 -2
- package/dist/chunk-epm72mma.js +0 -2
- package/dist/chunk-gcjr4mwg.js +0 -2
- package/dist/chunk-h3w1y4q7.js +0 -2
- package/dist/chunk-htsetvt7.js +0 -2
- package/dist/chunk-j762mz1x.js +0 -2
- package/dist/chunk-jhhp2d7n.js +0 -2
- package/dist/chunk-k14sz6cz.js +0 -2
- package/dist/chunk-kgxbad5v.js +0 -2
- package/dist/chunk-m3ya2dvf.js +0 -3
- package/dist/chunk-nxbje85a.js +0 -2
- package/dist/chunk-rsp59c5x.js +0 -2
- package/dist/chunk-tbsgchrd.js +0 -2
- package/dist/chunk-v82r1j02.js +0 -2
- package/dist/chunk-x3evfp7c.js +0 -2
- package/dist/chunk-x7qbgqps.js +0 -2
- package/dist/chunk-xgeps3fn.js +0 -2
- package/dist/chunk-zgnk8tpp.js +0 -2
- package/dist/chunk-zhtttwz2.js +0 -2
- package/dist/chunk-znn3ngey.js +0 -2
package/dist/pwa.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
3
|
-
Icon generation requires the sharp package for image processing.`),q.success=!1,q}let R=await y.default(Y).metadata();if(R.width&&R.width<512)q.warnings.push(`Source icon is ${R.width}x${R.height}. Recommend using at least 512x512 for best quality.`);for(let $ of X){let x=L.join(Q,`icon-${$}x${$}.png`);if(await y.default(Y).resize($,$,{fit:"contain",background:{r:0,g:0,b:0,alpha:0}}).png().toFile(x),q.generatedFiles.push(x),j){let F=L.join(Q,`icon-${$}x${$}.webp`);await y.default(Y).resize($,$,{fit:"contain",background:{r:0,g:0,b:0,alpha:0}}).webp({quality:90}).toFile(F),q.generatedFiles.push(F)}}if(J){for(let x of v){let F=L.join(Q,`apple-touch-icon-${x}x${x}.png`);await y.default(Y).resize(x,x,{fit:"contain",background:{r:255,g:255,b:255,alpha:1}}).png().toFile(F),q.generatedFiles.push(F)}let $=L.join(Q,"apple-touch-icon.png");await y.default(Y).resize(180,180,{fit:"contain",background:{r:255,g:255,b:255,alpha:1}}).png().toFile($),q.generatedFiles.push($)}for(let $ of I){let x=L.join(Q,`favicon-${$}x${$}.png`);await y.default(Y).resize($,$,{fit:"contain",background:{r:0,g:0,b:0,alpha:0}}).png().toFile(x),q.generatedFiles.push(x)}let U=512,T=L.join(Q,`icon-maskable-${U}x${U}.png`),Z=Math.floor(U*0.1),_=U-Z*2;await y.default(Y).resize(_,_,{fit:"contain",background:{r:0,g:0,b:0,alpha:0}}).extend({top:Z,bottom:Z,left:Z,right:Z,background:{r:255,g:255,b:255,alpha:1}}).png().toFile(T),q.generatedFiles.push(T)}catch(y){let V=y instanceof Error?y.message:String(y);q.errors.push(`Icon generation failed: ${V}`),q.success=!1}return q}function n(G){let B=G.sizes||k,q=G.outputDir?`/${G.outputDir}`:"/pwa-icons",K=G.generateWebP??!0,Y=G.generateAppleIcons??!0,Q=[];for(let X of B)if(Q.push(`${q}/icon-${X}x${X}.png`),K)Q.push(`${q}/icon-${X}x${X}.webp`);if(Y){Q.push(`${q}/apple-touch-icon.png`);for(let X of v)Q.push(`${q}/apple-touch-icon-${X}x${X}.png`)}for(let X of I)Q.push(`${q}/favicon-${X}x${X}.png`);return Q.push(`${q}/icon-maskable-512x512.png`),Q}async function O(){try{return await import("sharp"),!0}catch{return!1}}function m(G,B,q,K){let Y=[],Q=K.join(" ");for(let X of G)if(Y.push({src:`${B}/icon-${X}x${X}.png`,sizes:`${X}x${X}`,type:"image/png",purpose:Q}),q)Y.push({src:`${B}/icon-${X}x${X}.webp`,sizes:`${X}x${X}`,type:"image/webp",purpose:Q});return Y}function g(G){return G.map((B)=>({name:B.name,short_name:B.shortName,description:B.description,url:B.url,icons:B.icons?.map((q)=>({src:q.src,sizes:q.sizes,type:q.type}))}))}function h(G){let B=G.pwa?.shareTarget;if(!B?.enabled)return;let q={action:B.action||"/share",method:B.method||"POST",enctype:B.enctype||"multipart/form-data",params:{title:B.params?.title||"title",text:B.params?.text||"text",url:B.params?.url||"url"}};if(B.acceptFiles&&B.acceptFiles.length>0)q.params.files=B.acceptFiles.map((K)=>({name:K.name,accept:K.accept}));return q}function c(G){let B=G.pwa?.fileHandlers;if(!B?.enabled||!B.accept)return;let q=[{action:B.action||"/",accept:B.accept,launch_type:B.launchType||"single-client"}];if(B.icons)q[0].icons=B.icons.map((K)=>({src:K.src,sizes:K.sizes,type:K.type}));return q}function l(G){let B=G.pwa?.protocolHandlers;if(!B||B.length===0)return;return B.map((q)=>({protocol:q.protocol,url:q.url}))}function u(G){let B=G.pwa;if(!B?.enabled||!B.manifest)return null;let{manifest:q,icons:K}=B,Y=K?.sizes||[72,96,128,144,152,192,384,512],Q=K?.outputDir?`/${K.outputDir}`:"/pwa-icons",X=K?.generateWebP??!0,j=K?.purpose||["any","maskable"],J={name:q.name,short_name:q.shortName||q.name,description:q.description,start_url:q.startUrl||"/",display:q.display||"standalone",display_override:q.displayOverride,orientation:q.orientation,theme_color:q.themeColor,background_color:q.backgroundColor,scope:q.scope||"/",lang:q.lang,dir:q.dir,id:q.id,categories:q.categories,icons:m(Y,Q,X,j)};if(q.shortcuts&&q.shortcuts.length>0)J.shortcuts=g(q.shortcuts);if(q.screenshots&&q.screenshots.length>0)J.screenshots=q.screenshots.map((U)=>({src:U.src,sizes:U.sizes,type:U.type,label:U.label,form_factor:U.platform}));let y=h(G);if(y)J.share_target=y;let V=c(G);if(V)J.file_handlers=V;let R=l(G);if(R)J.protocol_handlers=R;if(q.launchHandler)J.launch_handler={client_mode:q.launchHandler};if(q.handleLinks)J.handle_links=q.handleLinks;if(q.edgeSidePanel?.enabled)J.edge_side_panel={preferred_width:q.edgeSidePanel.preferredWidth};return J}function M(G){let B=u(G);if(!B)return"";let q=JSON.parse(JSON.stringify(B));return JSON.stringify(q,null,2)}function i(G,B){return{...B,...G,shortcuts:G.shortcuts||B.shortcuts,screenshots:G.screenshots||B.screenshots,categories:G.categories||B.categories}}function s(G){let B=[],q=G.pwa;if(!q?.enabled)return B;let K=q.manifest;if(!K)return B.push("PWA manifest configuration is missing"),B;if(!K.name)B.push("Manifest name is required");let Y=["fullscreen","standalone","minimal-ui","browser"];if(K.display&&!Y.includes(K.display))B.push(`Invalid display mode: ${K.display}. Must be one of: ${Y.join(", ")}`);let Q=["any","natural","landscape","landscape-primary","landscape-secondary","portrait","portrait-primary","portrait-secondary"];if(K.orientation&&!Q.includes(K.orientation))B.push(`Invalid orientation: ${K.orientation}`);let X=/^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/;if(K.themeColor&&!X.test(K.themeColor))B.push(`Invalid theme color: ${K.themeColor}. Must be a valid hex color.`);if(K.backgroundColor&&!X.test(K.backgroundColor))B.push(`Invalid background color: ${K.backgroundColor}. Must be a valid hex color.`);if(q.shareTarget?.enabled){if(!q.shareTarget.action)B.push("Share target action URL is required")}if(q.fileHandlers?.enabled){if(!q.fileHandlers.accept||Object.keys(q.fileHandlers.accept).length===0)B.push("File handlers must specify accepted MIME types")}if(q.protocolHandlers)for(let j of q.protocolHandlers){if(!j.protocol)B.push("Protocol handler missing protocol");if(!j.url||!j.url.includes("%s"))B.push(`Protocol handler URL must contain %s placeholder: ${j.protocol}`)}return B}import A from"path";async function b(G){let B=G.pwa?.offline;if(!B?.enabled)return"";if(B.page){let q=A.isAbsolute(B.page)?B.page:A.resolve(process.cwd(),B.page);if(await Bun.file(q).exists())try{let{processDirectives:K}=await import("./chunk-
|
|
2
|
+
import{Pk as wq,Qk as dq,Rk as Cq,Sk as mq,Tk as gq}from"./chunk-kw98dfza.js";import{$k as vq,Uk as S,Vk as Tq,Wk as _q,Xk as z,Yk as D,Zk as P,_k as kq,al as w,bl as Iq,cl as d,dl as Hq,el as Oq,fl as Mq}from"./chunk-zsnrcbw1.js";import{jw as Aq,kw as bq,lw as Sq,mw as zq,nw as Dq,ow as Pq}from"./chunk-q569zmrr.js";import{sw as N}from"./chunk-hyfjnn7g.js";import p from"fs";import E from"path";import C from"fs";import L from"path";var k=[72,96,128,144,152,192,384,512],v=[120,152,167,180],I=[16,32];async function H(G,B){let q={success:!0,generatedFiles:[],errors:[],warnings:[]},K=G.pwa?.icons;if(!K?.src)return q.errors.push("No source icon specified in pwa.icons.src"),q.success=!1,q;let Y=L.isAbsolute(K.src)?K.src:L.resolve(process.cwd(),K.src);if(!await Bun.file(Y).exists())return q.errors.push(`Source icon not found: ${Y}`),q.success=!1,q;let Q=L.resolve(B,K.outputDir||"pwa-icons");try{C.mkdirSync(Q,{recursive:!0})}catch{return q.errors.push(`Failed to create output directory: ${Q}`),q.success=!1,q}let X=K.sizes||k,j=K.generateWebP??!0,J=K.generateAppleIcons??!0;try{let y;try{y=await import("sharp")}catch{return q.errors.push(`sharp is not installed. Install it with: bun add sharp
|
|
3
|
+
Icon generation requires the sharp package for image processing.`),q.success=!1,q}let R=await y.default(Y).metadata();if(R.width&&R.width<512)q.warnings.push(`Source icon is ${R.width}x${R.height}. Recommend using at least 512x512 for best quality.`);for(let $ of X){let x=L.join(Q,`icon-${$}x${$}.png`);if(await y.default(Y).resize($,$,{fit:"contain",background:{r:0,g:0,b:0,alpha:0}}).png().toFile(x),q.generatedFiles.push(x),j){let F=L.join(Q,`icon-${$}x${$}.webp`);await y.default(Y).resize($,$,{fit:"contain",background:{r:0,g:0,b:0,alpha:0}}).webp({quality:90}).toFile(F),q.generatedFiles.push(F)}}if(J){for(let x of v){let F=L.join(Q,`apple-touch-icon-${x}x${x}.png`);await y.default(Y).resize(x,x,{fit:"contain",background:{r:255,g:255,b:255,alpha:1}}).png().toFile(F),q.generatedFiles.push(F)}let $=L.join(Q,"apple-touch-icon.png");await y.default(Y).resize(180,180,{fit:"contain",background:{r:255,g:255,b:255,alpha:1}}).png().toFile($),q.generatedFiles.push($)}for(let $ of I){let x=L.join(Q,`favicon-${$}x${$}.png`);await y.default(Y).resize($,$,{fit:"contain",background:{r:0,g:0,b:0,alpha:0}}).png().toFile(x),q.generatedFiles.push(x)}let U=512,T=L.join(Q,`icon-maskable-${U}x${U}.png`),Z=Math.floor(U*0.1),_=U-Z*2;await y.default(Y).resize(_,_,{fit:"contain",background:{r:0,g:0,b:0,alpha:0}}).extend({top:Z,bottom:Z,left:Z,right:Z,background:{r:255,g:255,b:255,alpha:1}}).png().toFile(T),q.generatedFiles.push(T)}catch(y){let V=y instanceof Error?y.message:String(y);q.errors.push(`Icon generation failed: ${V}`),q.success=!1}return q}function n(G){let B=G.sizes||k,q=G.outputDir?`/${G.outputDir}`:"/pwa-icons",K=G.generateWebP??!0,Y=G.generateAppleIcons??!0,Q=[];for(let X of B)if(Q.push(`${q}/icon-${X}x${X}.png`),K)Q.push(`${q}/icon-${X}x${X}.webp`);if(Y){Q.push(`${q}/apple-touch-icon.png`);for(let X of v)Q.push(`${q}/apple-touch-icon-${X}x${X}.png`)}for(let X of I)Q.push(`${q}/favicon-${X}x${X}.png`);return Q.push(`${q}/icon-maskable-512x512.png`),Q}async function O(){try{return await import("sharp"),!0}catch{return!1}}function m(G,B,q,K){let Y=[],Q=K.join(" ");for(let X of G)if(Y.push({src:`${B}/icon-${X}x${X}.png`,sizes:`${X}x${X}`,type:"image/png",purpose:Q}),q)Y.push({src:`${B}/icon-${X}x${X}.webp`,sizes:`${X}x${X}`,type:"image/webp",purpose:Q});return Y}function g(G){return G.map((B)=>({name:B.name,short_name:B.shortName,description:B.description,url:B.url,icons:B.icons?.map((q)=>({src:q.src,sizes:q.sizes,type:q.type}))}))}function h(G){let B=G.pwa?.shareTarget;if(!B?.enabled)return;let q={action:B.action||"/share",method:B.method||"POST",enctype:B.enctype||"multipart/form-data",params:{title:B.params?.title||"title",text:B.params?.text||"text",url:B.params?.url||"url"}};if(B.acceptFiles&&B.acceptFiles.length>0)q.params.files=B.acceptFiles.map((K)=>({name:K.name,accept:K.accept}));return q}function c(G){let B=G.pwa?.fileHandlers;if(!B?.enabled||!B.accept)return;let q=[{action:B.action||"/",accept:B.accept,launch_type:B.launchType||"single-client"}];if(B.icons)q[0].icons=B.icons.map((K)=>({src:K.src,sizes:K.sizes,type:K.type}));return q}function l(G){let B=G.pwa?.protocolHandlers;if(!B||B.length===0)return;return B.map((q)=>({protocol:q.protocol,url:q.url}))}function u(G){let B=G.pwa;if(!B?.enabled||!B.manifest)return null;let{manifest:q,icons:K}=B,Y=K?.sizes||[72,96,128,144,152,192,384,512],Q=K?.outputDir?`/${K.outputDir}`:"/pwa-icons",X=K?.generateWebP??!0,j=K?.purpose||["any","maskable"],J={name:q.name,short_name:q.shortName||q.name,description:q.description,start_url:q.startUrl||"/",display:q.display||"standalone",display_override:q.displayOverride,orientation:q.orientation,theme_color:q.themeColor,background_color:q.backgroundColor,scope:q.scope||"/",lang:q.lang,dir:q.dir,id:q.id,categories:q.categories,icons:m(Y,Q,X,j)};if(q.shortcuts&&q.shortcuts.length>0)J.shortcuts=g(q.shortcuts);if(q.screenshots&&q.screenshots.length>0)J.screenshots=q.screenshots.map((U)=>({src:U.src,sizes:U.sizes,type:U.type,label:U.label,form_factor:U.platform}));let y=h(G);if(y)J.share_target=y;let V=c(G);if(V)J.file_handlers=V;let R=l(G);if(R)J.protocol_handlers=R;if(q.launchHandler)J.launch_handler={client_mode:q.launchHandler};if(q.handleLinks)J.handle_links=q.handleLinks;if(q.edgeSidePanel?.enabled)J.edge_side_panel={preferred_width:q.edgeSidePanel.preferredWidth};return J}function M(G){let B=u(G);if(!B)return"";let q=JSON.parse(JSON.stringify(B));return JSON.stringify(q,null,2)}function i(G,B){return{...B,...G,shortcuts:G.shortcuts||B.shortcuts,screenshots:G.screenshots||B.screenshots,categories:G.categories||B.categories}}function s(G){let B=[],q=G.pwa;if(!q?.enabled)return B;let K=q.manifest;if(!K)return B.push("PWA manifest configuration is missing"),B;if(!K.name)B.push("Manifest name is required");let Y=["fullscreen","standalone","minimal-ui","browser"];if(K.display&&!Y.includes(K.display))B.push(`Invalid display mode: ${K.display}. Must be one of: ${Y.join(", ")}`);let Q=["any","natural","landscape","landscape-primary","landscape-secondary","portrait","portrait-primary","portrait-secondary"];if(K.orientation&&!Q.includes(K.orientation))B.push(`Invalid orientation: ${K.orientation}`);let X=/^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/;if(K.themeColor&&!X.test(K.themeColor))B.push(`Invalid theme color: ${K.themeColor}. Must be a valid hex color.`);if(K.backgroundColor&&!X.test(K.backgroundColor))B.push(`Invalid background color: ${K.backgroundColor}. Must be a valid hex color.`);if(q.shareTarget?.enabled){if(!q.shareTarget.action)B.push("Share target action URL is required")}if(q.fileHandlers?.enabled){if(!q.fileHandlers.accept||Object.keys(q.fileHandlers.accept).length===0)B.push("File handlers must specify accepted MIME types")}if(q.protocolHandlers)for(let j of q.protocolHandlers){if(!j.protocol)B.push("Protocol handler missing protocol");if(!j.url||!j.url.includes("%s"))B.push(`Protocol handler URL must contain %s placeholder: ${j.protocol}`)}return B}import A from"path";async function b(G){let B=G.pwa?.offline;if(!B?.enabled)return"";if(B.page){let q=A.isAbsolute(B.page)?B.page:A.resolve(process.cwd(),B.page);if(await Bun.file(q).exists())try{let{processDirectives:K}=await import("./chunk-63yfp05p.js"),Y=await Bun.file(q).text();return await K(Y,{},q,G,new Set)}catch(K){console.warn(`[PWA] Failed to process custom offline page: ${K}`)}else console.warn(`[PWA] Custom offline page not found: ${q}`)}return f(G)}function f(G){let B=G.pwa?.offline,q=G.pwa?.manifest,K=B?.fallbackTitle||"You are offline",Y=B?.fallbackMessage||"Please check your internet connection and try again.",Q=q?.themeColor||"#4f46e5",X=q?.shortName||q?.name||"App";return`<!DOCTYPE html>
|
|
4
4
|
<html lang="en">
|
|
5
5
|
<head>
|
|
6
6
|
<meta charset="UTF-8">
|
package/dist/ssg.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Gk as Uq,Hk as Iq,Lk as Fq}from"./chunk-e1sxe3q4.js";import{Mk as Eq,Nk as Tq,Ok as Dq}from"./chunk-4jdj52c5.js";import{hl as _q,kl as zq,ll as Aq}from"./chunk-zz8qgqa1.js";import"./chunk-p1hy2bwn.js";import{Dr as n,Xm as Oq,eq as P,tp as Bq,vo as l,yo as Hq}from"./chunk-kxtqbrfr.js";import"./chunk-caaenc3w.js";import"./chunk-amxtypkp.js";import"./chunk-nat3actx.js";import"./chunk-q0g5c39d.js";import{fu as Xq}from"./chunk-kffndzch.js";import"./chunk-c2ta859c.js";import"./chunk-r8rbf28v.js";import{Cu as d}from"./chunk-gptwwv3c.js";import"./chunk-n66k2v2q.js";import"./chunk-vvd659y4.js";import"./chunk-7r80apc5.js";import"./chunk-2tjk867y.js";import"./chunk-t8ctvjqe.js";import"./chunk-deqnt1w5.js";import{$v as jq,Zv as Yq,_v as Vq,aw as Gq,bw as Lq,cw as Nq}from"./chunk-hzfd8cz0.js";import"./chunk-q569zmrr.js";import{sw as y}from"./chunk-hyfjnn7g.js";import O from"fs";import j from"path";import{createHash as xq}from"crypto";function yq(q){try{return new Bun.Transpiler({loader:"js",minifyWhitespace:!0}).transformSync(q).replace(/\}(var |let |const |function )/g,"};$1").trim()}catch{return q}}var Pq=/<script\s+type="stx\/island"\s+data-stx-island="([^"]+)"([^>]*)>([\s\S]*?)<\/script>/g;function Cq(q){return Bun.hash(q).toString(16)}function Qq(q,Z={}){if(!q.includes('type="stx/island"'))return{html:q,chunks:[]};let $=new Map,Q=q.replace(Pq,(J,W,z,A)=>{let G=A.trim();if(!G)return J;if(/\bdata-stx-src=/.test(z))return J;if(Z.minify)G=yq(G);let X=Cq(G);if(!$.has(X))$.set(X,G);let B=Z.integrity?` data-stx-integrity="sha384-${xq("sha384").update(G).digest("base64")}"`:"";return`<script type="stx/island" data-stx-island="${W}" data-stx-src="/_stx/islands/${X}.js"${B}${z}></script>`}),K=Array.from($,([J,W])=>({hash:J,code:W}));return{html:Q,chunks:K}}var gq=new Set(["visible","idle"]);function Zq(q){if(!q.includes("data-stx-src="))return q;let Z=new Map,$=/data-stx-scope="([^"]+)"[^>]*?stx-hydrate="([^"]+)"/g,Q;while((Q=$.exec(q))!==null)Z.set(Q[1],Q[2]);let K=new Set,J=/data-stx-island="([^"]+)"[^>]*?data-stx-src="([^"]+)"/g,W;while((W=J.exec(q))!==null)if(gq.has(Z.get(W[1])||""))K.add(W[2]);let z=q.lastIndexOf("</head>");if(K.size===0||z===-1)return q;let A=Array.from(K).filter((G)=>!q.includes(`rel="prefetch" href="${G}"`)).map((G)=>`<link rel="prefetch" href="${G}" as="script">`).join("");if(!A)return q;return q.slice(0,z)+A+q.slice(z)}var fq=["STX_SITE_URL","SITE_URL","URL","VERCEL_URL","CF_PAGES_URL"];function h(q){let Z=q.trim();if(!Z)return null;let $=/^https?:\/\//i.test(Z)?Z:`https://${Z}`;try{return new URL($).origin+new URL($).pathname.replace(/\/$/,"")}catch{return null}}function mq(q){for(let Z of fq){let $=q[Z];if(!$)continue;let Q=h($);if(Q)return{url:Q,source:"env",via:Z}}return null}function $q(q){if(!q||typeof q!=="object")return null;let Z=q,$=Z.site?.url??Z.url??Z.app?.url;return typeof $==="string"?h($):null}async function dq(q){let{existsSync:Z}=await import("fs"),$=await import("path");for(let Q of["site.config.ts","site.config.js",".config/site.config.ts"]){let K=$.resolve(q,Q);if(!Z(K))continue;try{let J=await import(K),W=$q(J.default??J);if(W)return W}catch{}}return null}async function Kq(q={}){let Z=q.cwd??process.cwd(),$=q.env??process.env;if(q.explicit){let W=h(q.explicit);if(W)return{url:W,source:"option"}}let Q=$q(q.stxConfig);if(Q)return{url:Q,source:"stx.config",via:"site.url"};let K=await dq(Z);if(K)return{url:K,source:"site.config",via:"url"};let J=mq($);if(J)return J;return{url:"http://localhost",source:"fallback"}}function Wq(){return["No site URL configured \u2014 sitemap.xml and robots.txt will point at http://localhost."," Set one in stx.config.ts (site: { url: 'https://example.com' }), in site.config.ts,"," via --domain, or with SITE_URL in the build environment."].join(`
|
|
3
3
|
`)}class wq{cacheDir;cache=new Map;loaded=!1;salt;constructor(q,Z=""){this.cacheDir=q,this.salt=Z}async load(){if(this.loaded)return;let q=j.join(this.cacheDir,"build-cache.json");if(await Bun.file(q).exists())try{let Z=JSON.parse(await Bun.file(q).text());for(let[$,Q]of Object.entries(Z))this.cache.set($,Q)}catch{}this.loaded=!0}async save(){await O.promises.mkdir(this.cacheDir,{recursive:!0});let q=j.join(this.cacheDir,"build-cache.json"),Z={};for(let[$,Q]of this.cache)Z[$]=Q;await Bun.write(q,JSON.stringify(Z))}getHash(q,Z){let $=O.statSync(q),Q=`${this.salt}|${q}:${$.mtimeMs}`;for(let J of Z)if(O.existsSync(J)){let W=O.statSync(J);Q+=`:${J}:${W.mtimeMs}`}let K=0;for(let J=0;J<Q.length;J++){let W=Q.charCodeAt(J);K=(K<<5)-K+W,K=K&K}return Math.abs(K).toString(36)}get(q,Z){let $=this.cache.get(q);if(!$)return null;let Q=this.getHash(Z,$.dependencies??[]);if($.hash!==Q)return this.cache.delete(q),null;return $.html}set(q,Z,$,Q){let K=this.getHash(Z,$);this.cache.set(q,{hash:K,html:Q,generatedAt:Date.now(),dependencies:$})}}class Rq{cacheDir;constructor(q){this.cacheDir=q}getFilePath(q){let Z=q.replace(/[^a-zA-Z0-9]/g,"_")+".json";return j.join(this.cacheDir,"isr",Z)}async get(q){let Z=this.getFilePath(q);if(!await Bun.file(Z).exists())return null;try{return JSON.parse(await Bun.file(Z).text())}catch{return null}}async set(q,Z){let $=this.getFilePath(q);await O.promises.mkdir(j.dirname($),{recursive:!0}),await Bun.write($,JSON.stringify(Z))}async invalidate(q){let Z=this.getFilePath(q);if(await Bun.file(Z).exists())await O.promises.unlink(Z)}async invalidatePattern(q){let Z=j.join(this.cacheDir,"isr");if(!O.existsSync(Z))return;let $=await O.promises.readdir(Z);for(let Q of $){let K=Q.replace(/_/g,"/").replace(".json","");if(q.test(K))await O.promises.unlink(j.join(Z,Q))}}async needsRevalidation(q){let Z=await this.get(q);if(!Z)return!0;return Date.now()>Z.revalidateAfter}}async function pq(q){try{let $=(await Bun.file(q).text()).match(/<script\s+server\b[^>]*>([\s\S]*?)<\/script>/i);if(!$)return null;let Q=$[1];if(!Q.includes("getStaticPaths"))return null;let K=Q.match(/(?:export\s+)?(?:async\s+)?function\s+getStaticPaths\s*\([^)]*\)\s*\{([\s\S]*?)\n[\t ]*\}/);if(!K)return null;return await Function(`
|
|
4
4
|
return (async function getStaticPaths() {
|
|
5
5
|
${K[1]}
|
|
@@ -41,7 +41,7 @@ ${q.map((Q)=>{let K=new URL(Q.loc,Z).href,J=` <url>
|
|
|
41
41
|
${$.join(`
|
|
42
42
|
`)}
|
|
43
43
|
</channel>
|
|
44
|
-
</rss>`}async function aq(q={}){let Z=Date.now();Aq();let $=await n(process.cwd()),Q=$.build||{},K=await Kq({explicit:q.domain||Q.domain,stxConfig:$});if(K.source==="fallback"&&(q.sitemap??Q.sitemap??!0))console.warn(Wq());let J={router:q.router??$?.router??{},pagesDir:q.pagesDir||Q.pagesDir||"pages",outputDir:q.outputDir||Q.outputDir||"dist",baseUrl:q.baseUrl||Q.baseUrl||"/",domain:K.url,revalidate:q.revalidate??Q.revalidate??!1,sitemap:q.sitemap??Q.sitemap??!0,sitemapExclude:q.sitemapExclude||Q.sitemapExclude||[],robots:q.robots??Q.robots??!0,rss:q.rss??Q.rss??!1,concurrency:q.concurrency||Q.concurrency||10,cache:q.cache??Q.cache??!0,cacheDir:q.cacheDir||Q.cacheDir||d(process.cwd(),"ssg-cache"),contentLoaders:q.contentLoaders||[],hooks:q.hooks||{},minify:q.minify??Q.minify??!0,generate404:q.generate404??Q.generate404??!0,publicDir:q.publicDir||Q.publicDir||"public",trailingSlash:q.trailingSlash??Q.trailingSlash??!1,cleanOutput:q.cleanOutput??Q.cleanOutput??!0,cacheSalt:q.cacheSalt??"",partialsDir:q.partialsDir||$?.partialsDir||"",componentsDir:q.componentsDir||$?.componentsDir||"",failOnIncludeError:q.failOnIncludeError??!0,chunkIslands:q.chunkIslands===!0,prefetchIslands:q.prefetchIslands===!0,integrityIslands:q.integrityIslands===!0},W={totalPages:0,successCount:0,failedCount:0,cachedCount:0,buildTime:0,pages:[],errors:[]},z=new Set,A=0,G={},X={};await J.hooks.onBuildStart?.();try{if(J.cleanOutput&&O.existsSync(J.outputDir))await O.promises.rm(J.outputDir,{recursive:!0});await O.promises.mkdir(J.outputDir,{recursive:!0});let L=J.cacheSalt;if(!L){let{resolveUserCssConfig:Y,fingerprintConfig:N}=await import("./chunk-
|
|
44
|
+
</rss>`}async function aq(q={}){let Z=Date.now();Aq();let $=await n(process.cwd()),Q=$.build||{},K=await Kq({explicit:q.domain||Q.domain,stxConfig:$});if(K.source==="fallback"&&(q.sitemap??Q.sitemap??!0))console.warn(Wq());let J={router:q.router??$?.router??{},pagesDir:q.pagesDir||Q.pagesDir||"pages",outputDir:q.outputDir||Q.outputDir||"dist",baseUrl:q.baseUrl||Q.baseUrl||"/",domain:K.url,revalidate:q.revalidate??Q.revalidate??!1,sitemap:q.sitemap??Q.sitemap??!0,sitemapExclude:q.sitemapExclude||Q.sitemapExclude||[],robots:q.robots??Q.robots??!0,rss:q.rss??Q.rss??!1,concurrency:q.concurrency||Q.concurrency||10,cache:q.cache??Q.cache??!0,cacheDir:q.cacheDir||Q.cacheDir||d(process.cwd(),"ssg-cache"),contentLoaders:q.contentLoaders||[],hooks:q.hooks||{},minify:q.minify??Q.minify??!0,generate404:q.generate404??Q.generate404??!0,publicDir:q.publicDir||Q.publicDir||"public",trailingSlash:q.trailingSlash??Q.trailingSlash??!1,cleanOutput:q.cleanOutput??Q.cleanOutput??!0,cacheSalt:q.cacheSalt??"",partialsDir:q.partialsDir||$?.partialsDir||"",componentsDir:q.componentsDir||$?.componentsDir||"",failOnIncludeError:q.failOnIncludeError??!0,chunkIslands:q.chunkIslands===!0,prefetchIslands:q.prefetchIslands===!0,integrityIslands:q.integrityIslands===!0},W={totalPages:0,successCount:0,failedCount:0,cachedCount:0,buildTime:0,pages:[],errors:[]},z=new Set,A=0,G={},X={};await J.hooks.onBuildStart?.();try{if(J.cleanOutput&&O.existsSync(J.outputDir))await O.promises.rm(J.outputDir,{recursive:!0});await O.promises.mkdir(J.outputDir,{recursive:!0});let L=J.cacheSalt;if(!L){let{resolveUserCssConfig:Y,fingerprintConfig:N}=await import("./chunk-k6ky5et7.js");try{L=N(await Y(process.cwd()))}catch{}}let{prepareImageDelivery:_}=await import("./chunk-xdmb578h.js"),F=await _(J.publicDir,J.outputDir);if(F.count>0)console.log(`Optimized ${F.count} image(s) for responsive delivery`),L=[L,F.fingerprint].filter(Boolean).join(":");let C=new wq(J.cacheDir,L);if(J.cache)await C.load();try{let{generateCss:Y}=await import("./chunk-k6ky5et7.js");await Y('<div class="bg-black"></div>')}catch{}Yq();let kq=$?.routeMiddleware?.dir||"middleware";await jq(process.cwd(),kq);let p=Vq();if(p.length>0)console.log(`Loaded ${p.length} middleware: ${p.join(", ")}`);let bq=$?.routeMiddleware?.global||[];Fq($?.layoutsDir,d(process.cwd()));let i=l(".",{pagesDir:J.pagesDir,pagesDirs:$?._layerPageDirs});console.log(`Found ${i.length} routes`);let g=[];for(let Y of i){let N=await uq(Y);for(let H of N)g.push({route:Y,url:H.url,params:H.params,props:H.props,revalidate:H.revalidate??J.revalidate})}W.totalPages=g.length,console.log(`Generating ${W.totalPages} pages...`);let b=[],s=[];for(let Y=0;Y<g.length;Y+=J.concurrency)s.push(g.slice(Y,Y+J.concurrency));for(let Y of s)await Promise.all(Y.map(async(N)=>{let{route:H,url:V,params:S,props:Sq,revalidate:a}=N;try{await J.hooks.onPageStart?.(V);let w=await Bun.file(H.filePath).text(),R=JJ(w),vq=R?.middleware?Array.isArray(R.middleware)?R.middleware:[R.middleware]:[],t=[...bq,...vq];if(t.length>0){let D=Gq(V,S,R||{}),M=Lq(D,null,void 0,{isServer:!0}),E=await Nq(t,M);if(E.redirect){let U=typeof E.redirect==="string"?E.redirect:E.redirect.path||E.redirect,x=QJ(String(U),V),k=ZJ(V,J);await O.promises.mkdir(j.dirname(k),{recursive:!0}),await Bun.write(k,x),W.successCount++,W.pages.push({route:V,outputPath:k,size:Buffer.byteLength(x),cached:!1}),b.push({loc:V,lastmod:new Date().toISOString()}),console.log(` \u21B3 ${V} \u2192 redirect to ${U}`);return}if(E.abort){let U=typeof E.abort==="string"?E.abort:E.abort?.error?.message||"aborted";console.warn(` \u21B3 ${V} \u2014 middleware aborted: ${U}`);return}}let e=w.match(/definePageMeta\s*\(\s*\{[\s\S]*?validate\s*:\s*((?:\([^)]*\)|[^,}])*(?:\{[\s\S]*?\})?)/m);if(e)try{if(!await Function("route",`
|
|
45
45
|
const validate = ${e[1]};
|
|
46
46
|
return validate(route);
|
|
47
47
|
`)({params:S})){console.warn(`Validation failed for ${V}, skipping...`);return}}catch{}let I=null,qq=!1;if(J.cache){if(I=C.get(V,H.filePath),I)qq=!0,W.cachedCount++}if(!I){let D=await Mq(H,S,Sq,J,$);if(I=D.html,J.failOnIncludeError&&D.includeFailures.length>0)throw Error(`${D.includeFailures.length} include(s) failed to resolve, so this page would have shipped with an error banner where the markup should be:
|
package/dist/visual-testing.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-hyfjnn7g.js";import B from"fs";import $ from"path";import k from"crypto";var V=[{name:"mobile",width:375,height:667,isMobile:!0,hasTouch:!0},{name:"tablet",width:768,height:1024,isMobile:!0,hasTouch:!0},{name:"desktop",width:1280,height:800,isMobile:!1,hasTouch:!1},{name:"wide",width:1920,height:1080,isMobile:!1,hasTouch:!1}];function J(N={}){let Y={snapshotDir:N.snapshotDir||"__snapshots__",screenshotDir:N.screenshotDir||"__screenshots__",updateSnapshots:N.updateSnapshots||process.env.UPDATE_SNAPSHOTS==="true",threshold:N.threshold??0.01,viewports:N.viewports||V,generateDiff:N.generateDiff??!0,diffDir:N.diffDir||"__diffs__",compare:N.compare||b,ci:N.ci??process.env.CI==="true",retries:N.retries??(N.ci?3:1)};return{async snapshot(M,X){let q=$.join(Y.snapshotDir,`${X}.html`),G=C(M),Q=K(G);if(await Bun.file(q).exists()){let W=await Bun.file(q).text(),Z=K(C(W));if(Q===Z)return{passed:!0,snapshotPath:q,message:"Snapshot matches"};if(Y.updateSnapshots)return await B.promises.mkdir($.dirname(q),{recursive:!0}),await Bun.write(q,G),{passed:!0,snapshotPath:q,message:"Snapshot updated"};let F=$.join(Y.diffDir,`${X}.actual.html`),U=$.join(Y.diffDir,`${X}.diff.html`);return await B.promises.mkdir(Y.diffDir,{recursive:!0}),await Bun.write(F,G),await Bun.write(U,I(W,G)),{passed:!1,snapshotPath:q,actualPath:F,diffPath:U,message:"Snapshot does not match"}}return await B.promises.mkdir($.dirname(q),{recursive:!0}),await Bun.write(q,G),{passed:!0,snapshotPath:q,message:"New snapshot created"}},async snapshotJson(M,X){let q=$.join(Y.snapshotDir,`${X}.json`),G=JSON.stringify(M,null,2);if(await Bun.file(q).exists()){let Q=await Bun.file(q).text();if(G===Q)return{passed:!0,snapshotPath:q};if(Y.updateSnapshots)return await Bun.write(q,G),{passed:!0,snapshotPath:q,message:"Snapshot updated"};return{passed:!1,snapshotPath:q,message:`JSON snapshot mismatch:
|
|
3
3
|
${z(Q,G)}`}}return await B.promises.mkdir($.dirname(q),{recursive:!0}),await Bun.write(q,G),{passed:!0,snapshotPath:q,message:"New snapshot created"}},matchInlineSnapshot(M,X){let q=C(M);if(X===void 0)return{passed:!0,expected:q};let G=C(X);return{passed:q===G,expected:q}},getConfig(){return Y}}}function D(N={}){let Y=J(N),M=Y.getConfig();return{async compareScreenshots(X,q,G="desktop"){let Q=$.join(M.screenshotDir,G,`${X}.png`),W=$.join(M.diffDir,G,`${X}.actual.png`),Z=$.join(M.diffDir,G,`${X}.diff.png`);if(await Bun.file(Q).exists()){let F=await Bun.file(Q).arrayBuffer(),U=Buffer.from(F),_=await M.compare(q,U);if(_.match||_.diffPercentage<=M.threshold)return{viewport:G,passed:!0,baselinePath:Q};if(M.updateSnapshots)return await B.promises.mkdir($.dirname(Q),{recursive:!0}),await Bun.write(Q,q),{viewport:G,passed:!0,baselinePath:Q};if(await B.promises.mkdir($.dirname(W),{recursive:!0}),await Bun.write(W,q),_.diffImage&&M.generateDiff)await Bun.write(Z,_.diffImage);return{viewport:G,passed:!1,baselinePath:Q,actualPath:W,diffPath:M.generateDiff?Z:void 0,diffPercentage:_.diffPercentage}}return await B.promises.mkdir($.dirname(Q),{recursive:!0}),await Bun.write(Q,q),{viewport:G,passed:!0,baselinePath:Q}},async testViewports(X,q,G=M.viewports){let Q=[];for(let W of G){let Z=null;for(let F=0;F<M.retries;F++)try{let U=await q(W),_=await this.compareScreenshots(X,U,W.name);Q.push(_),Z=null;break}catch(U){if(Z=U,F<M.retries-1)await new Promise((_)=>setTimeout(_,100*(F+1)))}if(Z)Q.push({viewport:W.name,passed:!1,baselinePath:"",diffPercentage:100})}return Q},getSnapshotTester(){return Y}}}function L(N={}){let M=D(N).getSnapshotTester(),X=new Map;return{addStory(q){X.set(`${q.component}/${q.name}`,q)},addStories(q){for(let G of q)this.addStory(G)},getStories(){return Array.from(X.values())},getStoriesForComponent(q){return Array.from(X.values()).filter((G)=>G.component===q)},async testStory(q){let G=X.get(q);if(!G)return{name:q,passed:!1,duration:0,snapshots:[],screenshots:[],errors:[Error(`Story not found: ${q}`)]};let Q=Date.now(),W={name:q,passed:!0,duration:0,snapshots:[],screenshots:[],errors:[]};try{let Z=await G.render(),F=await M.snapshot(Z,q.replace(/\//g,"-"));if(W.snapshots.push(F),!F.passed)W.passed=!1}catch(Z){W.passed=!1,W.errors.push(Z)}return W.duration=Date.now()-Q,W},async testAllStories(){let q=[];for(let G of X.keys()){let Q=await this.testStory(G);q.push(Q)}return q},async generateStoryIndex(){let q={};for(let G of X.values()){if(!q[G.component])q[G.component]=[];q[G.component].push({name:G.name,args:G.args})}return JSON.stringify(q,null,2)}}}async function S(N,Y={}){let M={outputDir:Y.outputDir||"visual-test-report",format:Y.format||"html",title:Y.title||"Visual Test Report",includeScreenshots:Y.includeScreenshots??!0};await B.promises.mkdir(M.outputDir,{recursive:!0});let X=N.length,q=N.filter((F)=>F.passed).length,G=X-q,Q=N.reduce((F,U)=>F+U.duration,0);if(M.format==="json"){let F={title:M.title,summary:{total:X,passed:q,failed:G,duration:Q},results:N,generatedAt:new Date().toISOString()},U=$.join(M.outputDir,"report.json");return await Bun.write(U,JSON.stringify(F,null,2)),U}if(M.format==="markdown"){let F=`# ${M.title}
|
|
4
4
|
|
|
5
5
|
`;F+=`## Summary
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/stx",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.334",
|
|
5
5
|
"description": "A performant UI Framework. Powered by Bun.",
|
|
6
6
|
"author": "Chris Breuer <chris@stacksjs.org>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -117,12 +117,12 @@
|
|
|
117
117
|
"dependencies": {
|
|
118
118
|
"@stacksjs/ts-css": "^0.3.2",
|
|
119
119
|
"@stacksjs/clapp": "^0.2.14",
|
|
120
|
-
"@stacksjs/desktop": "0.2.
|
|
121
|
-
"@stacksjs/sanitizer": "0.2.
|
|
120
|
+
"@stacksjs/desktop": "0.2.334",
|
|
121
|
+
"@stacksjs/sanitizer": "0.2.334",
|
|
122
122
|
"@stacksjs/ts-i18n": "^0.1.11",
|
|
123
|
-
"bun-plugin-stx": "0.2.
|
|
123
|
+
"bun-plugin-stx": "0.2.334",
|
|
124
124
|
"bunfig": "^0.15.17",
|
|
125
|
-
"stx-router": "0.2.
|
|
125
|
+
"stx-router": "0.2.334",
|
|
126
126
|
"ts-broadcasting": "^0.0.9",
|
|
127
127
|
"ts-images": "^0.2.22",
|
|
128
128
|
"ts-syntax-highlighter": "^0.2.1"
|
package/dist/chunk-0ck064qf.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Le as c,Me as d,Ne as e,Oe as f,Pe as g,Qe as h}from"./chunk-mkk731dy.js";import{Xf as a,_f as b}from"./chunk-2h6pmz31.js";import"./chunk-424e1tyj.js";import"./chunk-xwxdwqn9.js";import"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{d as virtualPathFor,g as typecheckStxFiles,e as sourcePathFor,h as formatTypecheckDiagnostics,f as findRuntimeTypeDeclarations,b as extractTemplateExpressions,a as extractScriptBlocks,c as buildVirtualSource};
|
package/dist/chunk-1f43h46q.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Pi as a,Qi as b}from"./chunk-d9ajsetq.js";import"./chunk-xwxdwqn9.js";import"./chunk-qjh40e31.js";import"./chunk-kxtfmwy0.js";import"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{a as getStoreScript,b as clearStoreCache};
|
package/dist/chunk-20e4pcq1.js
DELETED
package/dist/chunk-2evvkp6k.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{$j as h,Uj as a,Vj as b,Wj as c,Xj as d,Yj as e,Zj as f,_j as g,ak as i,bk as j,ck as k,dk as l}from"./chunk-m3ya2dvf.js";import"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{a as templateCache,b as readFileCached,d as invalidateFileCacheByDir,c as invalidateFileCache,l as hashFilePath,h as getServeClientAsset,f as getCachedSignalsRuntime,g as getCachedRouterScript,i as clearDevCaches,j as checkCache,k as cacheTemplate,e as __setSignalsGeneratorsForTest};
|
package/dist/chunk-2gfjp8q1.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Oo as a,Po as b,Qo as c,Ro as d,So as e,To as f,Uo as g,Vo as h,Wo as i,Xo as j}from"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{b as stripTypeScript,h as splitDeclaration,c as isModuleResolutionFailure,d as isMissingBindingFailure,f as isCompleteImport,j as hasVariables,e as extractVariables,i as extractScriptFromTemplate,g as convertToCommonJS,a as STX_ENGINE_BINDING_NAMES};
|
package/dist/chunk-41fhbhbn.js
DELETED
package/dist/chunk-476dmgkd.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Te as a}from"./chunk-kptkb3j4.js";import"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{a as startInteractive};
|
package/dist/chunk-73sq0e73.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{So as a,Uo as b,Wo as c,Xo as d,eq as e,fq as f,gq as g,hq as h,iq as i,jq as j,kq as k,lq as l,mq as m,nq as n,oq as o,pq as p,qq as q,rq as r,sq as s,tq as t,uq as u,vq as v,wq as w,xq as x}from"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{e as validateTemplate,g as validateDirective,n as userComponentFileExists,m as transpileTypeScript,p as slotContentHasExpressions,k as shouldTranspileTypeScript,t as resolveTemplatePath,r as renderComponentWithSlot,j as isJavaScriptScript,o as isHydrateTrigger,d as hasVariables,h as hasDirectives,u as getSourceLineInfo,l as getSharedTranspiler,f as getPositionInfo,x as getComponentCacheStats,s as fileExists,a as extractVariables,c as extractScriptFromTemplate,i as extractDirectiveNames,v as createDetailedErrorMessage,b as convertToCommonJS,q as componentClientSignalNames,w as clearComponentCache};
|
package/dist/chunk-793gxvjv.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{gl as a,hl as b,il as c,jl as d,kl as e,ll as f,ml as g,nl as h,ol as i,pl as j,ql as k,rl as l,sl as m,tl as n,ul as o}from"./chunk-qjh40e31.js";import"./chunk-kxtfmwy0.js";import"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{o as tempBuildName,b as shouldLogBundlerDiagnostics,f as setBundlerFallbackMode,l as rewriteRegistryImports,g as resolveBundlerFallback,j as registryIdForPath,c as recordBundleFailure,m as queueClientBundleBuild,k as normalizeRegistrySpecifiers,h as hasUserImports,d as getBundleFailures,a as clientBundleDependencies,e as clearBundleFailures,n as bundleClientScript,i as MODULE_SPECIFIER_PREFIX};
|
package/dist/chunk-7f16ymjn.js
DELETED
package/dist/chunk-85e05tzn.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Ar as a,Br as b,Cr as c,Dr as d,Er as e,Fr as f}from"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{f as validateConfig,b as resolveStxDirectories,c as loadStxConfig,e as defineStxConfig,a as defaultConfig,d as config};
|
package/dist/chunk-94c8we2y.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{$o as a,ap as b,bp as c,cp as d,dp as e,ep as f,fp as g}from"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{a as resetUnscopedSignalWarnings,g as processStackReplacements,f as processStackPushDirectives,e as processIncludes,b as partialsCache,c as onceStore,d as clearOnceStore};
|
package/dist/chunk-axe4hgv2.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Yo as a,Zo as b,_o as c}from"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{b as reportDeferredLoopWarnings,c as processLoops,a as parseLoopBinding};
|
package/dist/chunk-b9jknz2y.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{fm as c,im as d,jm as e,km as f,lm as g,mm as h,nm as i,om as j,pm as k,qm as l,rm as m,sm as n}from"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import{mt as a,nt as b}from"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{h as transformAutoImports,b as stripCommentsAndLiterals,e as renderVendorStyleTags,i as referencesName,n as processClientScript,g as injectBrowserCoreAutoImports,m as generateServerDataBridge,k as generateBrowserAutoImportDestructuring,j as generateAutoImportDestructuring,a as findInterpolationEnd,l as extractBridgeData,d as extractAndStripCssImports,f as STX_AUTO_IMPORTS,c as BROWSER_CORE_IMPORTS};
|
package/dist/chunk-c2mvx2m8.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{createHash as d}from"crypto";import x from"fs";import K from"path";import{decode as QQ,generateThumbHash as ZQ}from"ts-images";import{createImageDeliveryCatalog as u}from"ts-images/delivery";import L from"fs";function _(Q,Z,$){let J=Buffer.alloc($),M=L.readSync(Q,J,0,$,Z);return J.subarray(0,M)}function R(Q){if(Q.length<25)return!1;let Z=(J,M)=>String.fromCharCode(...Q.subarray(J,M));if(Z(0,4)!=="RIFF"||Z(8,12)!=="WEBP")return!1;let $=Z(12,16);if($==="VP8X")return(Q[20]&16)!==0;if($==="VP8L")return((Q[21]|Q[22]<<8|Q[23]<<16|Q[24]<<24)>>>28&1)===1;return!1}function m(Q){let Z;try{Z=L.openSync(Q,"r");let $=_(Z,0,33);if($.length>=3&&$[0]===255&&$[1]===216&&$[2]===255)return"none";if($.length>=26&&$[0]===137&&$.toString("latin1",1,4)==="PNG"){let J=$[25];if(J===4||J===6)return"possible";let M=8;for(let X=0;X<64;X++){let G=_(Z,M,8);if(G.length<8)return"unknown";let Y=G.toString("latin1",4,8);if(Y==="tRNS")return"possible";if(Y==="IDAT"||Y==="IEND")return"none";M+=12+G.readUInt32BE(0)}return"unknown"}if($.length>=25&&$.toString("latin1",0,4)==="RIFF"&&$.toString("latin1",8,12)==="WEBP"){if(R($))return"possible";let J=$.toString("latin1",12,16);return J==="VP8 "||J==="VP8X"?"none":"unknown"}return"unknown"}catch{return"unknown"}finally{if(Z!==void 0)L.closeSync(Z)}}import s from"fs";import I from"os";import{fileURLToPath as k}from"url";import{Worker as v}from"worker_threads";var A=Symbol("stx.image-worker.unavailable");function i(Q=typeof I.availableParallelism==="function"?I.availableParallelism():I.cpus().length){return Math.max(1,Math.min(2,Q-1))}var T=0,g=[];async function t(){if(T<i()){T++;return}await new Promise((Q)=>g.push(Q)),T++}function a(){T--,g.shift()?.()}var r="@stacksjs/stx/builtins/image-warmup-worker";function e(Q=process.cwd()){let Z=import.meta.url.endsWith(".ts")?"ts":"js";try{let $=new URL(`./image-warmup-worker.${Z}`,import.meta.url);if($.protocol==="file:"&&s.existsSync(k($)))return k($)}catch{}try{return typeof Bun<"u"?Bun.resolveSync(r,Q):void 0}catch{return}}var b=!1;function N(Q){if(!b)b=!0,console.warn(`[stx] image worker unavailable (${Q}); running the image pass on the serving thread instead. Results are the same, but requests may stall while it runs.`);return A}function P(Q){return Q instanceof Error?Q.message:String(Q)}async function y(Q,Z){if(typeof v!=="function")return N("node:worker_threads has no Worker in this runtime");let $=e();if(!$)return N("no image-warmup-worker entry beside this module or in the installed @stacksjs/stx");await t();try{return await new Promise((J,M)=>{let X;try{X=new v($)}catch(B){J(N(`could not start ${$}: ${P(B)}`));return}let G=!1,Y=!1,q=(B)=>{if(Y)return;Y=!0,B(),X.terminate()};X.on("message",(B)=>{if(B.type==="ready"){G=!0,X.postMessage({task:Q,args:Z});return}if(B.type==="result"){q(()=>J(B.value));return}let j=Error(B.error?.message??"image worker failed");if(B.error?.name)j.name=B.error.name;if(B.error?.stack)j.stack=B.error.stack;q(()=>M(j))}),X.on("error",(B)=>{q(()=>G?M(B instanceof Error?B:Error(P(B)||"image worker crashed")):J(N(`the worker failed before it was ready: ${P(B)}`)))}),X.on("exit",(B)=>{q(()=>G?M(Error("image worker exited before it finished")):J(N(`the worker exited with code ${B} before it was ready`)))})})}finally{a()}}var $Q=new Set([".avif",".jpeg",".jpg",".png",".webp"]),JQ=[320,640,960,1280,1920],S="/_stx/images",MQ=`stx:${S}:alpha-1`,XQ=["@stacksjs/ts-webp","@stacksjs/ts-avif"],O;function BQ(Q,Z){let $=K.dirname(Bun.resolveSync(Q,Z));while($!==K.dirname($)){let J=K.join($,"package.json");if(x.existsSync(J)){let M=JSON.parse(x.readFileSync(J,"utf8"));if(M.name===Q)return M.version}$=K.dirname($)}return}function DQ(Q){O=Q}function GQ(){if(O!==void 0)return O;let Q;try{Q=K.dirname(Bun.resolveSync("ts-images",import.meta.dir))}catch{}return O=XQ.map((Z)=>{let $;try{$=Q?BQ(Z,Q):void 0}catch{}return`${Z.replace("@stacksjs/","")}@${$??"unknown"}`}).join("+"),O}var W=new Map,U=new Set,c=new Set;function qQ(Q){return`/${Q.split(K.sep).map(encodeURIComponent).join("/")}`}function KQ(Q){let Z=K.extname(Q),$=Q.slice(0,-Z.length).replace(/[^a-zA-Z0-9_-]+/g,"-").replace(/^-+|-+$/g,""),J=d("sha256").update(Q).digest("hex").slice(0,8);return`${$||"image"}-${J}`}function f(Q,Z=`stx:${S}`){let $=(J)=>`${S}/${J.split("/").map(encodeURIComponent).join("/")}`;return{cacheNamespace:Z,async stat(J){let M=K.join(Q,J);try{let X=await x.promises.stat(M);return X.size>0?{bytes:X.size,path:M,url:$(J)}:null}catch{return null}},async write(J,M){let X=K.join(Q,J);await x.promises.mkdir(K.dirname(X),{recursive:!0});let G=`${X}.${process.pid}.tmp`;return await x.promises.writeFile(G,M),await x.promises.rename(G,X),{bytes:M.byteLength,path:X,url:$(J)}},url:$}}async function n(Q,Z=Q){let $=await x.promises.readdir(Z,{withFileTypes:!0});$.sort((M,X)=>M.name.localeCompare(X.name));let J=[];for(let M of $){let X=K.join(Z,M.name);if(M.isDirectory()){J.push(...await n(Q,X));continue}if(!M.isFile()||!$Q.has(K.extname(M.name).toLowerCase()))continue;J.push({absolutePath:X,relativePath:K.relative(Q,X)})}return J}function h(Q,Z){return Q.map(($)=>({key:qQ($.relativePath),input:$.absolutePath,name:KQ($.relativePath),...YQ($.absolutePath)?{options:{storage:Z}}:{}}))}function YQ(Q){return m(Q)==="possible"}function xQ(Q){for(let Z=3;Z<Q.length;Z+=4)if(Q[Z]!==255)return!0;return!1}async function jQ(Q){let Z=Object.entries(Q).filter(([,M])=>M.fallback.format==="png"),$=new Set,J=8;for(let M=0;M<Z.length;M+=8)await Promise.all(Z.slice(M,M+8).map(async([X,G])=>{let Y=G.variants.filter((q)=>q.format==="png").sort((q,B)=>q.width-B.width)[0];try{let q=await QQ(new Uint8Array(await x.promises.readFile(Y?.path??G.fallback.path)));if(xQ(q.data))$.add(X)}catch{$.add(X)}}));return $}function zQ(Q,Z){let $=[];for(let J of Z){let M=Q[J],X=M?.variants.filter((Y)=>Y.format==="webp")??[];if(!M||X.length===0)continue;if(!X.some((Y)=>{let q;try{return q=x.openSync(Y.path,"r"),!R(_(q,0,32))}catch{return!0}finally{if(q!==void 0)x.closeSync(q)}}))continue;if(M.variants=M.variants.filter((Y)=>Y.format!=="webp"),delete M.sources.webp,$.push(J),!c.has(J))c.add(J),console.warn(`[stx-images] ${J} is transparent but its WebP variants have no alpha channel; serving PNG instead. Upgrade @stacksjs/ts-webp to 0.1.6 or later.`)}return $}async function FQ(Q){let Z=[],$=8;for(let J=0;J<Q.length;J+=8){let M=Q.slice(J,J+8),X=await Promise.all(M.map(async(G)=>{try{return await ZQ(G.absolutePath),G}catch{return console.warn(`[stx-images] Skipping unreadable raster: ${G.relativePath}`),null}}));Z.push(...X.filter((G)=>G!==null))}return Z}function E(Q){return K.join(Q,"undecodable.json")}function VQ(Q){try{let Z=x.readFileSync(E(Q),"utf-8"),$=JSON.parse(Z);return $&&typeof $==="object"?$:{}}catch{return{}}}function HQ(Q,Z){try{x.mkdirSync(K.dirname(E(Q)),{recursive:!0}),x.writeFileSync(E(Q),JSON.stringify(Z))}catch{}}function p(Q){try{let Z=x.statSync(Q);return{mtimeMs:Z.mtimeMs,size:Z.size}}catch{return}}function l(Q){if(!Q||Q.startsWith("data:")||Q.startsWith("blob:")||/^https?:\/\//i.test(Q)||Q.startsWith("//"))return;let Z=Q.split(/[?#]/,1)[0];if(!Z)return;try{return`/${Z.replace(/^\/+/,"").split("/").map(decodeURIComponent).map(encodeURIComponent).join("/")}`}catch{return}}function mQ(Q){let Z=l(Q);return Z?W.get(Z):void 0}function kQ(Q){let Z=l(Q);return Z?U.has(Z):!1}function C(){W=new Map,U=new Set}function vQ(){return{entries:[...W],transparent:[...U]}}function NQ(Q){W=new Map(Q.entries),U=new Set(Q.transparent)}async function bQ(Q,Z,$={}){if(!Q||!x.existsSync(Q))return C(),{count:0,fingerprint:""};if($.offThread){let z=await y("delivery",{publicDir:Q,outputDir:Z});if(z!==A)return NQ(z.state),z.result}let J=await n(Q);if(J.length===0)return C(),{count:0,fingerprint:""};let M=VQ(Z),X=J.filter((z)=>{let V=M[z.relativePath];if(!V)return!0;let F=p(z.absolutePath);return!F||F.mtimeMs!==V.mtimeMs||F.size!==V.size});if(X.length===0)return C(),{count:0,fingerprint:""};let G=f(K.join(Z,"_stx","images"),`${MQ}:${GQ()}`),Y={outDir:K.join(Z,"_stx","images"),storage:f(K.join(Z,"_stx","images")),baseUrl:S,widths:JQ,formats:["avif","webp"],quality:{avif:70,webp:78,jpeg:82,png:100},includeOriginal:!1,placeholder:!0,batchConcurrency:4,concurrency:4},q=X,B;try{B=await u({...Y,entries:h(X,G)})}catch(z){if(q=await FQ(X),q.length===X.length)throw z;let V=new Set(q.map((H)=>H.relativePath)),F=!1;for(let H of X){if(V.has(H.relativePath))continue;let D=p(H.absolutePath);if(!D)continue;M[H.relativePath]=D,F=!0}if(F)HQ(Z,M);if(q.length===0)return C(),{count:0,fingerprint:""};B=await u({...Y,entries:h(q,G)})}let j=await jQ(B.entries),w=zQ(B.entries,j);W=new Map(Object.entries(B.entries)),U=j;let o=j.size===0&&w.length===0?B.fingerprint:d("sha256").update(B.fingerprint).update(JSON.stringify({transparent:[...j].sort(),droppedWebp:w.sort()})).digest("hex");return{count:q.length,fingerprint:o}}
|
|
3
|
-
export{R as fu,m as gu,A as hu,y as iu,DQ as ju,GQ as ku,mQ as lu,kQ as mu,C as nu,vQ as ou,NQ as pu,bQ as qu};
|
package/dist/chunk-cn74d92v.js
DELETED
package/dist/chunk-d9gk60kk.js
DELETED
package/dist/chunk-epm72mma.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Ri as a,Si as b,Ti as c}from"./chunk-424e1tyj.js";import"./chunk-xwxdwqn9.js";import"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{a as listComposableModules,b as getComposableScript,c as clearComposableCache};
|
package/dist/chunk-gcjr4mwg.js
DELETED
package/dist/chunk-h3w1y4q7.js
DELETED
package/dist/chunk-htsetvt7.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{aq as b,bq as c,cq as d,dq as e,xo as a}from"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{d as validateClientScript,c as processOnceDirective,b as processJsonDirective,e as processDirectives,a as injectRouterScript};
|
package/dist/chunk-j762mz1x.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{ro as b,so as c,to as d}from"./chunk-r6g1n649.js";import{xs as a}from"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{b as rendersAsElement,c as processESImports,d as processComponents,a as freeIdentifiers};
|
package/dist/chunk-jhhp2d7n.js
DELETED
package/dist/chunk-k14sz6cz.js
DELETED
package/dist/chunk-kgxbad5v.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{$ as Wl,$a as _n,$b as jp,$c as jq,$d as jr,A as Gk,Aa as kn,Ab as Eo,Ac as Kp,Ad as Kq,Ae as Qr,B as Hk,Ba as ln,Bb as Fo,Bc as Lp,Bd as Lq,Be as Rr,C as Ik,Ca as yn,Cb as Go,Cc as Mp,Cd as Mq,Ce as Sr,D as Jk,Da as zn,Db as Ho,Dc as Np,Dd as Nq,De as Tr,E as zl,Ea as An,Eb as Io,Ec as Op,Ed as Oq,Ee as Ur,F as Al,Fa as Bn,Fb as Jo,Fc as Pp,Fd as Pq,Fe as Vr,G as Bl,Ga as Cn,Gb as Ko,Gc as Qp,Gd as Qq,Ge as Wr,H as Cl,Ha as Dn,Hb as Lo,Hc as Rp,Hd as Rq,He as Xr,I as Dl,Ia as Hn,Ib as Mo,Ic as Sp,Id as Sq,Ie as Yr,J as El,Ja as In,Jb as No,Jc as Tp,Jd as Tq,Je as Zr,K as Fl,Ka as Jn,Kb as Oo,Kc as Up,Kd as Uq,Ke as _r,L as Gl,La as Kn,Lb as Po,Lc as Vp,Ld as Vq,M as Hl,Ma as Ln,Mb as Qo,Mc as Wp,Md as Wq,N as Il,Na as Mn,Nb as Xo,Nc as Xp,Nd as Xq,O as Jl,Oa as Nn,Ob as Yo,Oc as Yp,Od as Yq,P as Kl,Pa as On,Pb as Zo,Pc as Zp,Pd as Zq,Q as Ll,Qa as Pn,Qb as _o,Qc as _p,Qd as _q,R as Ml,Ra as Qn,Rb as $o,Rc as $p,Rd as $q,S as Nl,Sa as Rn,Sb as ap,Sc as aq,Sd as ar,T as Ol,Ta as Sn,Tb as bp,Tc as bq,Td as br,U as Pl,Ua as Tn,Ub as cp,Uc as cq,Ud as cr,V as Ql,Va as Un,Vb as dp,Vc as dq,Vd as dr,W as Rl,Wa as Vn,Wb as ep,Wc as eq,Wd as er,X as Sl,Xa as Wn,Xb as fp,Xc as fq,Xd as fr,Y as Tl,Ya as Xn,Yb as gp,Yc as gq,Yd as gr,Z as Ul,Za as Yn,Zb as hp,Zc as hq,Zd as hr,_ as Vl,_a as Zn,_b as ip,_c as iq,_d as ir,aa as Xl,ab as $n,ac as kp,ad as kq,ae as kr,ba as Yl,bb as ao,bc as lp,bd as lq,be as rr,ca as Zl,cb as bo,cc as mp,cd as mq,ce as sr,da as _l,db as co,dc as np,dd as nq,de as tr,ea as $l,eb as eo,ec as op,ed as oq,ee as ur,fa as am,fb as fo,fc as pp,fd as pq,fe as vr,ga as bm,gb as go,gc as qp,gd as qq,ge as wr,ha as cm,hb as ho,hc as rp,hd as rq,he as xr,ia as dm,ib as io,ic as sp,id as sq,ie as yr,ja as em,jb as jo,jc as tp,jd as tq,je as zr,ka as fm,kb as ko,kc as up,kd as uq,ke as Ar,la as gm,lb as lo,lc as vp,ld as vq,le as Br,ma as hm,mb as mo,mc as wp,md as wq,me as Cr,na as im,nb as po,nc as xp,nd as xq,ne as Dr,o as a,oa as jm,ob as qo,oc as yp,od as yq,oe as Er,p as rk,pa as _m,pb as ro,pc as zp,pd as zq,pe as Fr,q as sk,qa as $m,qb as so,qc as Ap,qd as Aq,qe as Gr,r as tk,ra as an,rb as uo,rc as Bp,rd as Bq,re as Hr,s as uk,sa as bn,sb as vo,sc as Cp,sd as Cq,se as Ir,t as vk,ta as cn,tb as wo,tc as Dp,td as Dq,te as Jr,u as wk,ua as dn,ub as xo,uc as Ep,ud as Eq,ue as Kr,v as xk,va as en,vb as zo,vc as Fp,vd as Fq,ve as Lr,w as yk,wa as fn,wb as Ao,wc as Gp,wd as Gq,we as Mr,x as zk,xa as gn,xb as Bo,xc as Hp,xd as Hq,xe as Nr,y as Ek,ya as hn,yb as Co,yc as Ip,yd as Iq,ye as Or,z as Fk,za as jn,zb as Do,zc as Jp,zd as Jq,ze as Pr}from"./chunk-w4ckece4.js";import{Le as Ro,Me as So,Ne as To,Oe as Uo,Pe as Vo,Qe as Wo}from"./chunk-mkk731dy.js";import{Re as no,Se as oo}from"./chunk-2ver2s2y.js";import{Te as to}from"./chunk-kptkb3j4.js";import{Ue as Zm}from"./chunk-6t9xcjag.js";import{Ve as En,We as Fn,Xe as Gn,Ye as yo}from"./chunk-cvedh4a7.js";import{$e as Mk,Ze as Kk,_e as Lk,af as Nk,bf as Ok,cf as Pk,df as Qk,ef as Rk,ff as Sk,gf as Tk,hf as Uk,if as Vk,jf as Wk,kf as Xk,lf as Yk}from"./chunk-ym3r8ktq.js";import{mf as nl,nf as ol,of as pl,pf as ql,qf as rl,rf as sl,sf as tl,tf as ul,uf as vl,vf as wl,wf as xl,xf as yl}from"./chunk-7kfp7jde.js";import{yf as ll,zf as ml}from"./chunk-xt7bsyj7.js";import{Af as Zk,Bf as _k,Cf as $k,Df as al,Ef as bl,Ff as cl,Gf as dl,If as el,Jf as fl,Kf as gl,Lf as hl,Mf as il,Nf as jl,Qf as kl}from"./chunk-zyb5gfr0.js";import{Rf as Gm,Sf as Hm,Tf as Im,Uf as Jm,Vf as Mm,Wf as Ym}from"./chunk-n2y2941z.js";import{Xf as Km,_f as Lm}from"./chunk-2h6pmz31.js";import{Ag as Rm,Bg as Sm,Cg as Tm,Dg as Um,Eg as Vm,Fg as Wm,Gg as Xm,gg as km,hg as lm,ig as mm,jg as nm,kg as om,lg as pm,mg as qm,ng as rm,og as sm,pg as tm,qg as um,rg as vm,sg as wm,tg as xm,ug as ym,vg as zm,wg as Nm,xg as Om,yg as Pm,zg as Qm}from"./chunk-mbaew5a8.js";import{Hg as Am,Ig as Bm}from"./chunk-dvvx1wny.js";import{Jg as mn,Kg as nn,Lg as on,Mg as pn,Ng as qn,Og as rn,Pg as sn,Qg as tn,Rg as un,Sg as vn,Tg as wn,Ug as xn}from"./chunk-xz3evxqp.js";import{Vg as bi,Wg as ci,Xg as di,Yg as ei,Zg as fi,_g as gi}from"./chunk-sj3k3jwt.js";import{$g as vj,ah as wj,bh as xj,fh as yj,gh as zj,hh as Aj}from"./chunk-3cba0xw5.js";import{ih as Gj,jh as Hj,kh as Ij,lh as Jj,mh as Kj,nh as Lj,oh as Mj,ph as Nj,qh as Oj,rh as Pj,sh as Qj}from"./chunk-jwkmc175.js";import{Ah as rj,Bh as sj,Ch as tj,Dh as uj,th as lj,uh as mj,vh as nj,wh as oj,xh as pj,zh as qj}from"./chunk-vd5xvsnv.js";import{Eh as gk,Gh as hk}from"./chunk-64djh88a.js";import{Mh as Eh,Nh as Fh,Oh as Gh,Ph as Hh,Qh as Ih,Rh as Jh,Sh as Kh,Th as Lh,Uh as Mh,Vh as Nh,Wh as Oh,Xh as Ph,Yh as Qh,Zh as Rh}from"./chunk-9368t9jm.js";import{$h as Sh,ai as Th,bi as Uh,ci as Vh}from"./chunk-5tefa8qb.js";import{hi as Wh}from"./chunk-mwh3ymwc.js";import{ii as _g}from"./chunk-fqq5k9ve.js";import{ji as $g,ki as ah}from"./chunk-ya5m5vbn.js";import{li as bh,mi as ch,ni as dh,oi as eh,pi as fh,qi as gh}from"./chunk-y4nzmkea.js";import{ri as hh,si as ih,ti as jh,ui as kh,vi as lh}from"./chunk-7kw3grq5.js";import{Ai as qh,wi as mh,xi as nh,yi as oh,zi as ph}from"./chunk-c79nfdyj.js";import{Bi as rh,Ci as sh,Di as th,Ei as uh,Fi as vh,Gi as wh,Hi as xh}from"./chunk-ej8mv2k6.js";import{Ii as yh,Ji as zh,Ki as Ah,Li as Bh,Mi as Ch,Ni as Dh}from"./chunk-cr8v8k53.js";import{Pi as Xg,Qi as Yg}from"./chunk-d9ajsetq.js";import{Ti as Zg}from"./chunk-424e1tyj.js";import"./chunk-xwxdwqn9.js";import{$i as Ie,Xi as Ee,Yi as Fe,Zi as Ge,_i as He,aj as Je,bj as Ke,cj as Le,dj as Me,ej as Ne,fj as Oe,gj as Pe,hj as Qe,ij as Re}from"./chunk-0tyw6va3.js";import{jj as gf,kj as hf,lj as jf,mj as kf,nj as lf,oj as mf,pj as nf,qj as of,rj as pf,sj as qf,tj as rf,uj as sf,vj as tf,wj as uf,xj as vf,yj as wf,zj as xf}from"./chunk-289vztwy.js";import{Gj as Ue,Hj as Ve,Ij as We,Jj as Xe,Kj as Ye,Lj as Ze,Mj as _e,Nj as $e,Oj as af,Pj as bf,Qj as cf,Rj as df,Sj as ef,Tj as ff}from"./chunk-t41aaehf.js";import{$j as Ff,Uj as yf,Vj as zf,Wj as Af,Xj as Bf,Yj as Cf,Zj as Df,_j as Ef,ak as Gf,bk as Hf,ck as If,dk as Jf}from"./chunk-m3ya2dvf.js";import{Ak as or,Bk as pr,Ck as qr,xk as lr,yk as mr,zk as nr}from"./chunk-kx30cykj.js";import{Dk as Ak,Ek as Bk,Fk as Ck,Gk as Dk,Hk as Cm,Ik as Dm,Jk as Em,Kk as Fm}from"./chunk-g5e5kja6.js";import"./chunk-09zjty4k.js";import"./chunk-qjh40e31.js";import{Al as _b,vl as Yb,wl as Zb}from"./chunk-kxtfmwy0.js";import{$m as _c,$n as oe,$o as Tf,$p as Tg,$q as gj,Am as rc,An as zd,Ap as sg,Aq as Hi,Ar as ik,Bm as sc,Bn as Ad,Bp as tg,Bq as Ii,Br as jk,Cl as xa,Cm as tc,Cn as Bd,Cp as ug,Cq as Ji,Cr as kk,Dl as ya,Dm as uc,Dn as Cd,Dp as vg,Dq as Ki,Dr as lk,El as za,Em as vc,En as Dd,Ep as wg,Eq as Li,Er as mk,Fl as Aa,Fm as wc,Fn as Ed,Fp as xg,Fq as Mi,Fr as nk,Gl as Ba,Gm as xc,Gn as Fd,Gp as yg,Gq as Ni,Gr as ok,Hl as Ca,Hm as yc,Hn as Gd,Hp as zg,Hq as Oi,Hr as pk,Il as Da,Im as zc,In as Hd,Ip as Ag,Iq as Pi,Ir as qk,Jl as Ea,Jm as Ac,Jn as Id,Jp as Bg,Jq as Qi,Kl as Fa,Km as Bc,Kn as Jd,Kp as Cg,Kq as Ri,Ll as Ga,Lm as Cc,Ln as Kd,Lp as Dg,Lq as Si,Ml as Ha,Mm as Dc,Mn as Ld,Mo as Lf,Mp as Eg,Mq as Ti,Nl as Ia,Nm as Ec,Nn as Md,Np as Fg,Nq as Ui,Ol as Ja,Om as Fc,On as Nd,Op as Gg,Oq as Vi,Pl as Ka,Pm as Pc,Pn as Od,Pp as Hg,Pq as Wi,Ql as La,Qm as Qc,Qn as Pd,Qp as Ig,Qq as Xi,Rl as Ma,Rm as Rc,Rn as Qd,Rp as Jg,Rq as Yi,Sl as Na,Sm as Sc,Sn as Rd,So as Mf,Sp as Kg,Sq as Zi,Tl as Oa,Tm as Tc,Tn as ge,Tp as Lg,Tq as _i,Ul as ib,Um as Uc,Un as he,Uo as Nf,Up as Mg,Uq as $i,Vl as jb,Vm as Vc,Vn as ie,Vp as Ng,Vq as aj,Wl as kb,Wn as je,Wo as Of,Wp as Og,Wq as bj,Xl as lb,Xm as Wc,Xn as ke,Xo as Pf,Xp as Pg,Xq as cj,Yl as mb,Ym as Xc,Yn as le,Yo as Qf,Yp as Qg,Yq as dj,Zl as nb,Zm as Yc,Zn as me,Zo as Rf,Zp as Rg,Zq as ej,_m as Zc,_n as ne,_o as Sf,_p as Sg,_q as fj,am as Fb,an as $c,ao as pe,ap as Uf,aq as Ug,ar as hj,bm as Gb,bn as ad,bo as qe,bp as Vf,bq as Vg,br as ij,cm as Hb,cn as bd,co as re,cp as Wf,cq as Wg,cr as jj,dm as Ib,dn as cd,do as se,dp as Xf,dq as Xh,dr as kj,em as Jb,en as dd,eo as te,ep as Yf,eq as Yh,er as Bj,fm as Nb,fn as ed,fp as Zf,fq as Zh,fr as Cj,gm as Ob,gn as fd,gp as _f,gq as _h,gr as Dj,hm as Pb,hn as gd,hp as $f,hq as $h,hr as Ej,im as $b,in as hd,ip as ag,iq as ai,ir as Fj,jm as ac,jn as id,jp as bg,jq as hi,jr as Rj,km as bc,kn as jd,ko as xe,kp as cg,kq as ii,kr as Sj,lm as cc,ln as kd,lo as ye,lp as dg,lq as ji,lr as Tj,mm as dc,mn as ld,mo as ze,mp as eg,mq as ki,mr as Uj,nm as ec,nn as md,no as Ae,np as fg,nq as li,nr as Vj,om as fc,on as nd,oo as Be,op as gg,oq as mi,or as Wj,pm as gc,pn as od,po as Ce,pp as hg,pq as ni,pr as Xj,qm as hc,qn as pd,qo as De,qp as ig,qq as oi,qr as Yj,rm as ic,rn as qd,rp as jg,rq as pi,rr as Zj,sm as jc,sn as rd,sp as kg,sq as qi,sr as _j,tm as kc,tn as sd,tp as lg,tq as ri,tr as $j,um as lc,un as td,uo as Se,up as mg,uq as si,ur as ak,vm as mc,vn as ud,vo as Te,vp as ng,vq as ti,vr as bk,wm as nc,wn as vd,wp as og,wq as ui,wr as ck,xm as oc,xn as wd,xo as Kf,xp as pg,xq as vi,xr as dk,ym as pc,yn as xd,yp as qg,yq as wi,yr as ek,zm as qc,zn as yd,zp as rg,zq as xi,zr as fk}from"./chunk-r6g1n649.js";import{$r as t,$s as ma,Bs as M,Cs as N,Ds as O,Es as P,Fs as Q,Gs as R,Hs as S,Is as T,Jr as b,Js as U,Kr as c,Ks as V,Lr as d,Ls as W,Mr as e,Ms as X,Nr as f,Ns as Y,Or as g,Os as Z,Pr as h,Ps as _,Qr as i,Qs as $,Rr as j,Rs as aa,Sr as k,Ss as ba,Tr as l,Ts as ca,Ur as m,Us as da,Vr as n,Vs as ea,Wr as o,Ws as fa,Xr as p,Xs as ia,Yr as q,Ys as ja,Zr as r,Zs as ka,_r as s,_s as la,as as u,at as na,bs as v,bt as oa,cs as w,ct as pa,ds as x,dt as qa,es as y,et as ra,fs as z,ft as sa,gs as A,gt as ta,hs as B,ht as ua,is as C,it as va,js as D,jt as wa,ks as E,ls as F,ms as G,ns as H,os as I,ps as J,qs as K,rs as L}from"./chunk-cqp01pgs.js";import{kt as ga,lt as ha}from"./chunk-1czvb2wx.js";import{mt as Kb,nt as Lb,ot as Mb}from"./chunk-fc1g65e0.js";import{pt as yi,qt as zi,rt as Ai,st as Bi,tt as Ci,ut as Di,vt as Ei,wt as Fi,xt as Gi}from"./chunk-3wvdm033.js";import{Pt as Gc,Qt as Hc,Rt as Ic,St as Jc,Tt as Kc,Vt as Lc,cu as Mc,du as Nc,eu as Oc}from"./chunk-4zwjqcw4.js";import{lu as ue,nu as ve,qu as we}from"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import{Au as Tb,Bu as Ub,Cu as Vb,xu as Qb,yu as Rb,zu as Sb}from"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import{Hu as Wb,Iu as Xb}from"./chunk-7080py5f.js";import{$u as fe,Mu as Sd,Nu as Td,Ou as Ud,Pu as Vd,Qu as Wd,Ru as Xd,Su as Yd,Tu as Zd,Uu as _d,Vu as $d,Wu as ae,Xu as be,Yu as ce,Zu as de,_u as ee}from"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import{fv as ob,gv as pb,hv as qb,iv as rb,jv as sb,kv as tb,lv as ub,mv as vb,nv as wb,ov as xb,pv as yb,qv as zb,rv as Ab,sv as Bb,tv as Cb,uv as Db,vv as Eb}from"./chunk-tjhzxbxa.js";import{$v as eb,Av as Qa,Dv as Ra,Iv as Sa,Jv as Ta,Pv as Ua,Qv as Va,Rv as Wa,Sv as Xa,Tv as Ya,Uv as Za,Vv as _a,Wv as $a,Xv as ab,Yv as bb,Zv as cb,_v as db,aw as fb,bw as gb,dw as hb,zv as Pa}from"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{Uk as writeNetlifyConfig,Om as writeManifest,xl as writeImageManifest,ep as wrapComponentForHMR,Nr as withDefaults,fk as webComponentDirectiveHandler,Vp as watermark,Xq as watchViews,Hl as watchMultiple,Il as watchEffect,Gl as watch,Be as warmImagePlaceholders,Vl as waitForStore,X as waitForLocale,So as virtualPathFor,Uj as videoDirective,G as validators,Rr as validated,re as validateValueEnhanced,Yh as validateTemplate,Am as validateRouteRules,_p as validateParams,se as validateFormEnhanced,Mq as validateFile,ne as validateFields,me as validateField,_h as validateDirective,Md as validateCspDirectives,nk as validateConfig,$m as validateComponentScripts,yn as validateComponentProps,Wg as validateClientScript,Vh as v,xc as usesSignalsInScript,ub as usesReactiveRuntime,li as userComponentFileExists,Bh as useVirtualList,_d as useTitle,Ul as useStoreOrThrow,wp as useStore,Ek as useStorage,pf as useSlots,Gk as useSessionStorage,Wb as useServerRuntimeConfig,Lf as useServerData,Xd as useSeoMeta,Xb as useRuntimeConfig,Wl as useRouteParams,Yl as useRouteParamOrThrow,Xl as useRouteParam,_d as usePageTitle,ff as useOptimistic,uf as useModel,_l as useMiddlewareValue,Zl as useMiddlewareState,Fk as useLocalStorage,Zo as useLoadingIndicator,Vd as useHead,Sh as useForm,rf as useAttrs,Oq as uploadFiles,Nq as uploadFile,Rl as updateInstance,df as untrack,Bi as unregisterDirective,Sl as unmountInstance,Fc as unescapeHtml,Vo as typecheckStxFiles,ki as transpileTypeScript,Ar as translate,Ba as transitionDirective,dc as transformAutoImports,sn as toUsers,rn as toUser,Ep as thumbnail,Fq as thumbHashToRGBA,Gq as thumbHashToDataURL,wb as templateNeedsRuntime,vb as templateHasReactiveContext,yf as templateCache,cd as syncRecordedResponse,bp as stxClientHelpers,gg as structuredDataDirective,Dr as stripLocalePrefix,xm as stripDocumentWrapper,Lb as stripCommentsAndLiterals,co as stringToStream,Ad as strictCspPreset,Me as streamingSuspenseDirective,Qe as streamToResponse,Ke as streamTemplateSimple,Ee as streamTemplate,zk as stopHmrServer,on as stopBroadcasting,Tb as stateDirName,Ub as stateDir,Ue as state,Qg as startsDocument,yo as startProductionServer,to as startInteractive,nn as startBroadcasting,Fr as stampLocaleLayoutGroup,Ia as staggerDirective,Yp as srcsetUrls,Ja as springDirective,jd as splitByPipe,tm as spaNavVaryHeaders,To as sourcePathFor,dq as smartBatchSign,ni as slotContentHasExpressions,bq as signUrl,ii as shouldTranspileTypeScript,wk as shouldReloadOnChange,gq as shouldRefreshSignature,xk as shouldIgnoreFile,th as shouldCacheComponent,Ip as sharpen,Ur as shape,Sb as setStateDir,cm as setRouteParams,dm as setMiddlewareState,Ae as setImagePlaceholder,jf as setGlobalProvide,b as setErrorLocale,zl as setCurrentInstance,Ij as setCachedVideoResult,xj as setCachedImageResult,rj as setCached,Xr as serveStxFile,Zr as serveMultipleStxFiles,rk as serveMarkdownFile,Jo as serveFile,_r as serveApp,Io as serve,hp as serializeState,Qm as serializeSetCookie,Kp as sepia,Yd as seoMetaToHeadConfig,Ca as scrollAnimateDirective,va as screenReaderDirective,Yj as scopeHTML,Xj as scopeCSS,jg as scanForSitemapEntries,pa as scanA11yTargets,qa as scanA11yIssues,Op 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,ag as runPostProcessingMiddleware,Tm as runPageAction,_e as runMountCallbacks,gb as runMiddleware,Pl as runHooks,tr as runDoctor,$e as runDestroyCallbacks,og as runComposers,Pp as rotate,Wh as rewriteImagesWithSiblings,dd as responseBindings,ri as resolveTemplatePath,ha as resolveStxTargets,jk as resolveStxDirectories,zr as resolveI18n,Cp as resize,Tf as resetUnscopedSignalWarnings,Dc as resetRejectedExpressionWarnings,kc as resetPlaceholders,Ud as resetHead,gp as resetHMRHandler,o as resetErrorConfig,Pr as required,Rf as reportDeferredLoopWarnings,oc as replacePlaceholders,Vq as renderView,Rj as renderVideoComponent,ac as renderVendorStyleTags,cr as renderToString,dr as renderToStream,er as renderToDOM,Eq as renderThumbhashToCanvas,qr as renderTemplateString,or as renderTemplate,pr as renderString,He as renderStreamingPage,di as renderSlot,jh as renderSSRSuspense,oq as renderProtectedVideo,nq as renderProtectedImg,aq as renderMediaUpload,nr as renderMarkdownView,Em as renderLayoutTypes,Bj as renderImgComponent,nl as renderImageComponent,ae as renderHtmlAttrs,$d as renderHead,Yq as renderEmail,pi as renderComponentWithSlot,be as renderBodyAttrs,rp as render,Cd as relaxedCspPreset,le as registerValidationRule,Oe as registerStreamingDirectives,yp as registerStoresClient,am as registerStore,hg as registerSeoDirectives,_a as registerMiddleware,sc as registerFilters,rc as registerFilter,d as registerErrorMessages,qe as registerEnhancedValidationRule,yi as registerDirective,Ld as registerCspDirectives,Bn as registerComponentDirectives,Oa as registerAnimationDirectives,wa as registerA11yDirectives,ec as referencesName,Dl as ref,lo as redirect,_c as recordResponseStatus,$c as recordResponseHeader,Vb as rebaseOntoStateDir,ad as readResponseStatus,bd as readResponseHeaders,pk as readMarkdownFile,zf as readFileCached,El as reactive,Tp as quality,lq as pruneSignatureCache,uj as pruneCache,gf as provide,mr as protectCodeBlocks,Or as prop,rg as processVueTemplate,zh as processVirtualListDirectives,Dh as processVirtualGridDirectives,Qj as processVideo,oe as processValidateDirective,ea as processTranslateDirective,dh as processTransitionDirectives,gh as processTransitionAttributes,ee as processTitleDirective,Sc as processTemplateBindings,$g as processTeleportDirectives,hh as processSuspenseDirectives,cg as processStructuredData,Ie as processStreamDirectives,ed as processStatusDirective,Qh as processStaticDirectives,Zf as processStackReplacements,Yf as processStackPushDirectives,ei as processSlots,vm as processShell,De as processServerBindings,dg as processSeoDirective,Pe as processSectionDirectives,Kc as processScopedStyles,Qc as processReactiveBindings,pq as processProtectedMedia,Jh as processPartialHydrationDirectives,Vg as processOnceDirective,_f as processMiddleware,bg as processMetaDirectives,fe as processMetaDirective,qk as processMarkdownFileDirectives,wi as processMarkdownDirectives,Sf as processLoops,rh as processKeepAliveDirectives,Ug as processJsonDirective,Ch as processInfiniteListDirectives,Xf as processIncludes,Dj as processImgComponents,pl as processImageComponents,cl as processImage,de as processHeadDirective,he as processForms,je as processFormInputDirectives,Bc as processExpressions,Ib as processEventDirectives,ke as processErrorDirective,sg as processDynamicComponents,Xh as processDirectives,Gi as processDirectiveAttributes,_g as processDeferDirectives,Qd as processCustomDirectives,Id as processCspDirectives,Vr as processComponentProps,jc as processClientScript,ie as processBasicFormDirectives,mh as processAsyncDirectives,Rd as processAppearanceBootstrapDirective,Fa as processAnimationDirectives,ka as processA11yDirectives,we as prepareImageDelivery,T as preloadTranslationsBackground,S as preloadTranslations,Yo as preloadIslandHandlers,Ce as preloadIconCollection,jn as poolStrings,hk as pluginManager,ye as placeholdersWarmed,ch as performLeave,bh as performEnter,af as pendingLifecycleCounts,ef as peek,Uf as partialsCache,Sj as parseVideoDirectiveOptions,Ap as parseUrl,Hq as parseThumbhashString,pd as parseSwitchBlock,bi as parseSlots,ci as parseSlotElement,ud as parseScriptDeclarations,dk as parseSFCComponent,qq as parseProtectedArgs,Qf as parseLoopBinding,Cj as parseImgComponent,Ui as parseImageUrl,ol as parseImageComponent,Rm as parseFormBody,rd as parseExpressionWithFilters,Cn as parseDefaults,io as parseCookies,mm as parseContainerSelector,md as parseConditionalBlock,sd as parseArguments,Ma as parseAnimationShorthand,Qr as optional,kn as optimizeTemplate,ul as optimizeImage,vl as optimizeDirectory,Sr as oneOf,Vf as onceStore,Ml as onUpdated,Pc as onUpdate,Ol as onUnmounted,hm as onServer,Kl as onMounted,Ye as onMount,Ph as onHydrated,nf as onErrorCaptured,Ze as onDestroy,xh as onDeactivated,gm as onClient,Ll as onBeforeUpdate,Nl as onBeforeUnmount,Jl as onBeforeMount,wh as onActivated,Aq as observeElement,mo as notFound,xg as normalizeCriticalHeadOrder,mf as nextTick,Fn as negotiateEncoding,Ua as navigateTo,Ql as mountInstance,Ea as motionDirective,Bd as moderateCspPreset,hn as minifyHtml,fg as metaDirective,Ig as metaDedupKey,Bp as mergeParams,Kg as mergeHtmlAttrs,Wd as mergeHeadConfigs,Hc as mergeCssConfig,Fd as mergeCspDirectives,Ra as matchRoute,xi as markdownDirectiveHandler,ok as markdownCache,ga as looksLikeGlob,Cr as localizePath,U as loadTranslationLazy,_ as loadTranslation,kk as loadStxConfig,db as loadMiddlewareFromDirectory,Pm as loadManifest,wq as loadElement,pn as loadChannels,Jr as lintStxStrict,yq as lazyLoadAll,xq as lazyLoad,Ha as keyframeDirective,ar as jsxs,br as jsxDEV,$q as jsx,ko as jsonResponse,Ne as islandDirective,l as isTest,ym as isSpaNavigation,rm as isSpaNavRequest,eq as isSignatureValid,bf as isSignal,al as isSharpAvailable,Xn as isServerEnvironment,em as isServer,yb as isRuntimeOwnedColonAttr,da as isRtlLocale,j as isProduction,ia as isPresentationalRole,tq as isNativeLazySupported,lr as isMarkdownPath,Q as isLoading,R as isLoaded,hi as isJavaScriptScript,uq as isIntersectionObserverSupported,il as isImageFile,bl as isImageBackendAvailable,aa as isICUFormat,Oh as isHydrated,mi as isHydrateTrigger,Yc as isHttpStatus,Wn as isEdgeEnvironment,Kr as isDirectiveKind,k as isDevelopment,cf as isDerived,vk as isCssOnlyChange,En as isCompressible,fm as isClient,oh as isAsyncComponent,Sm as isActionableMethod,Lp as invert,Bf as invalidateFileCacheByDir,Af as invalidateFileCache,Ac as interpolateScriptsInTemplate,yc as interpolateScriptExpressions,zc as interpolateScriptAttributes,x as inlineError,yr as injectThemeBootstrap,eg as injectSeoTags,vr as injectSeo,Kf as injectRouterScript,uk as injectHotReload,kb as injectHeatmap,Oc as injectCss,Gd as injectCspMetaTag,Sg as injectConfigHeadTags,wg as injectColorModeBootScript,Mg as injectCloakStyle,Dg as injectBuildId,cc as injectBrowserCoreAutoImports,Uc as injectAnalytics,hf as inject,$l as initStoreRegistry,Xk as initNetlify,_o as initLoadingIndicator,vq as initLazyLoading,so as initFile,Dq as initBlurUp,Jq as initAllBlurUp,Fj as imgDirective,sl as imageDirective,Wm as hydrateTemplateStream,Vm as hydrateTemplate,Xo as hydrateIslands,Lh as hydrateIsland,Xm as hydrateFragment,Mh as hydrateByStrategy,Nh as hydrateAll,op as hydrate,Ho as htmlResponse,Og as hoistLeadingHeadTags,yg as hoistColorModeBootScript,lb as heatmapDirective,nj as hashString,Jf as hashFilePath,lj as hashFile,mj as hashBuffer,qg as hasVueTemplateSyntax,Pf as hasVariables,tp as hasStore,pc as hasPlaceholders,Vk as hasNetlifyConfig,ab as hasMiddleware,Jb as hasEventDirectives,Rg as hasDocumentShell,$h as hasDirectives,ma as hasDOMSupport,ll as handleImageRequest,of as handleError,ir as h,hl as groupVariantsByFormat,Jp as grayscale,Ao as gitHash,bn as getUnusedDirectives,V as getTranslationSync,O as getTranslationCacheStats,W as getTranslationAsync,ba as getTranslation,Qk as getTotalSize,fq as getTimeUntilExpiry,Xg as getStoreScript,up as getStoreNames,sp as getStore,Jk as getStorageSize,Ik as getStorageKeys,si as getSourceLineInfo,ji as getSharedTranspiler,Ff as getServeClientAsset,la as getScreenReaderOnlyStyle,Zj as getScopeAttribute,Te as getRouteParams,Ob as getPublicEnvDefine,Pb as getPublicEnv,Zh as getPositionInfo,mc as getPlaceholderRegistry,kj as getPlaceholderCacheStats,Td as getPageMeta,wd as getNonce,jl as getMimeType,cb as getMiddlewareNames,$a as getMiddleware,ca as getLocaleDirection,P as getLoadingState,Y as getLoadingLocales,xe as getImagePlaceholder,dl as getImageMetadata,ue as getImageDelivery,np as getHydrationRuntime,bm as getHydratedStoreState,yk as getHmrServer,Sd as getHead,fp as getHMRHandler,Yi as getFormatExtension,pj as getFileMtime,gl as getFallbackVariant,f as getErrorMessage,c as getErrorLocale,n as getErrorConfig,i as getErrorCodeName,Ai as getDirectives,zi as getDirective,Al as getCurrentInstance,Lc as getCssServeAsset,Ed as getCspPreset,Nd as getCspHeaderName,vi as getComponentCacheStats,Hj as getCachedVideoResult,jq as getCachedSignature,Df as getCachedSignalsRuntime,Ef as getCachedRouterScript,ij as getCachedPlaceholder,wj as getCachedImageResult,qj as getCached,tj as getCacheStats,Bg as getBuildId,mn as getBroadcastServer,Xi as getBestVariant,tc as getAllFilters,Li as generateWidthSrcset,Ah as generateVirtualListCSS,Qq as generateVideoPreview,te as generateValidationScript,Rq as generateUploadRuntime,cn as generateTreeShakenBundle,fh as generateTransitionRuntime,eh as generateTransitionCSS,Lj as generateThumbnails,bj as generateThumbhashPlaceholder,On as generateTemplatesDocs,lh as generateSuspenseRuntime,kh as generateSuspenseCSS,ip as generateStateScript,Vi as generateSrcsetData,Aj as generateSrcset,el as generateSrcSet,Mj as generateSpriteSheet,Zq as generateSpaShell,Wi as generateSourceTags,Ri as generateSizesFromBreakpoints,Qi as generateSizesAttribute,fl as generateSizes,ig as generateSitemapIndex,wr as generateSitemap,sq as generateSimpleMediaPicker,mq as generateSignatureRuntime,xf as generateSignalsRuntimeDev,wf as generateSignalsRuntime,ic as generateServerDataBridge,Wj as generateScopeId,ek as generateSFCWebComponent,Gb as generateRuntimeScript,Pa as generateRouteTypes,Qa as generateRouteManifest,kg as generateRobotsTxt,xr as generateRobots,zj as generateResponsiveVariants,ak as generateReactiveWebComponentTS,$j as generateReactiveWebComponent,ck as generateReactiveRuntime,bk as generateReactiveMixin,Kj as generatePoster,hj as generatePlaceholderStyle,gj as generatePlaceholderCSS,aj as generatePlaceholder,Kh as generatePartialHydrationCSS,vd as generateNonce,Rk as generateNetlifyToml,Tq as generateMinifiedMediaRuntime,Sq as generateMediaRuntime,rq as generateMediaManagerEmbed,Nm as generateManifest,ap as generateLoadingIndicatorHtml,Cq as generateLazyLoadRuntime,Fm as generateLayoutTypes,dj as generateLQIP,vh as generateKeepAliveRuntime,uh as generateKeepAliveCSS,Rh as generateIslandManifest,Pq as generateImagePreview,wl as generateImageManifest,mp as generateHydrationScript,Re as generateHydrationRuntime,pp as generateHydrationCSS,Eh as generateHydrationBootstrap,tk as generateHotReloadScript,jb as generateHeatmapScript,dp as generateHMRClientScript,Nj as generateHLSManifest,jp as generateEventBindings,Pi as generateDprSrcsetWithVariableQuality,Oi as generateDprSrcset,Pg as generateDocumentShell,Tn as generateDocs,Pn as generateDirectivesDocs,Fi as generateDirectiveRuntime,lg as generateDefaultRobotsTxt,Oj as generateDASHManifest,Nc as generateCss,zd as generateCspMetaTag,yd as generateCspHeader,tf as generateCompositionRuntime,Nn as generateComponentsDocs,Fh as generateComponentManifest,Ln as generateComponentDoc,fj as generateColorPlaceholder,vg as generateColorModeBootScript,Tl as generateClientRuntime,oj as generateCacheKey,gc as generateBrowserAutoImportDestructuring,Kq as generateBlurUpRuntime,Lq as generateBlurUpCSS,Rc as generateBindingsRuntime,Mi as generateAutoWidthSrcset,fc as generateAutoImportDestructuring,qh as generateAsyncComponentRuntime,ph as generateAsyncComponentCSS,Zb as generateApiTypes,Na as generateAnimationRuntime,La as generateAnimationCSS,Tc as generateAnalyticsScript,Wo as formatTypecheckDiagnostics,Qo as formatTypeErrors,po as formatStxContent,Pk as formatSize,Ta as formatRoutes,qo as formatMarkdownContent,g as formatLocalizedError,$ as formatICU,p as formatFilePath,w as formatError,ur as formatDoctorReport,Qn as formatDocsAsMarkdown,Sn as formatDocsAsJson,Rn as formatDocsAsHtml,Sp as format,gn as foldConstants,Rp as flipVertical,Qp as flipHorizontal,Gm as fingerprint,Uo as findRuntimeTypeDeclarations,sr as findPantryPackage,ld as findMatchingEndTag,hd as findMatchingDelimiter,Kb as findInterpolationEnd,nd as findIfBlocks,qd as findExpressions,Sa as findErrorPage,Ic as findDuplicateScopedStyleRanges,od as findDirectiveBlocks,dn as findDeadCode,dn as findDeadBranches,nm as findContainerRegion,Mn as findComponentFiles,Yr as findCommonDir,Ok as filterRequiredFiles,qi as fileExists,Mf as extractVariables,Lm as extractTemplateExpressions,Je as extractStreamBoundaries,kp as extractState,fi as extractSlotContent,Of as extractScriptFromTemplate,Km as extractScriptBlocks,nc as extractPlaceholders,kd as extractParenthesizedExpression,Zc as extractPageResponseStatus,hb as extractLayoutMetadata,ej as extractDominantColor,td as extractDirectiveParams,ai as extractDirectiveNames,zm as extractContainerContent,Jn as extractComponentProps,Gh as extractComponentName,Kn as extractComponentDescription,Mc as extractClassNames,hc as extractBridgeData,Hh as extractBoundProps,id as extractBalancedExpression,$b as extractAndStripCssImports,_j as extractAndScopeStyles,Hb as extractAndProcessEvents,Ck as externalizeSharedAssets,Dk as externalizeRepeatedAssets,Bk as externalizeHtml,Ec as evaluateExpression,fn as evaluateConstant,fd as evaluateAuthExpression,wc as escapeHtmlValue,vc as escapeHtml,C as errorRecovery,E as errorLogger,ah as ensureTeleportTargets,Tg as ensureDocumentShell,pe as enhancedValidationRules,Hn as enableDevTools,en as eliminateDeadCode,We as effect,Zp as dprUrls,Un as docsCommand,Yb as discoverServerApi,Dm as discoverLayoutNames,Bq as disconnectObserver,In as disableDevTools,F as devHelpers,um as detectShell,Vn as detectRuntime,Sk as detectProjectConfig,Zi as detectFormat,_m as detectBuildMode,Ve as derived,Wk as deploy,mk as defineStxConfig,xp as defineStore,qf as defineSlots,Ir as defineSiteConfig,Mr as definePropsWithValidation,Lr as defineProps,gk as definePlugin,Zd as definePageMeta,Wa as defineMiddleware,Th as defineForm,lf as defineExpose,kf as defineEmits,Ci as defineDirective,kr as defineCustomElement,xo as defineConfig,Di as defineClientDirective,nh as defineAsyncComponent,zo as defineApiHandler,Uq as defaultMediaConfig,yl as defaultImageConfig,M as defaultI18nConfig,ib as defaultHeatmapConfig,ge as defaultFormClasses,qc as defaultFilters,Pd as defaultCspConfig,ik as defaultConfig,Wr as default,Gc as deepMergeThemes,Jc as dedupeScopedStyles,qm as decodeTitleEntities,cj as decodeThumbhash,Kd as cspNonceDirective,Jd as cspDirective,Iq as crossfadeTransition,Dp as crop,yh as createVirtualList,Tj as createVideoDirective,go as createVercelHandler,No as createTypeChecker,fa as createTranslateFilter,bo as createTextEncoderStream,jr as createStxApp,ao as createStreamingResponse,Le as createStreamRenderer,vp as createStore,Za as createStorageManager,Xa as createServerCookieManager,_b as createServerApi,Cl as createScope,ih as createSSRSuspense,Se as createRouter,Bm as createRouteRuleResolver,eb as createRouteLocation,Lo as createRoute,Dl as createRef,El as createReactive,sf as createProvideContext,Co as createProject,wo as createProductionBuild,lc as createPlaceholder,ln as createOptimizedBuild,ho as createNetlifyHandler,Kk as createNetlifyClient,fb as createMiddlewareContext,Ko as createMiddleware,zq as createLazyObserver,sh as createKeepAliveCache,Zn as createKVNamespace,Ih as createIslandRegistry,Ej as createImgDirective,tl as createImagePlugin,ml as createImageHandler,rl as createImageDirective,nb as createHeatmapAggregator,Nk as createFileManifest,Yn as createEnvAccessor,z as createEnhancedError,$n as createEdgeHandler,_n as createEdgeCache,ti as createDetailedErrorMessage,fo as createDenoHandler,Tk as createDefaultNetlifyConfig,Od as createCspHeaders,jo as createCookie,Fl as createComputed,Bl as createComponentInstance,eo as createCloudflareHandler,Ya as createClientCookieManager,Ei as createBuiltinDirectives,jr as createApp,Ka as createAnimationTimeline,Gp as cover,Nf as convertToCommonJS,Np as contrast,Fp as contain,y as consoleError,m as configureErrorHandling,lk as config,Fl as computed,Gn as compressResponse,ng as composerPattern,mg as composer,wm as composeShellWithPage,An as componentDirective,oi as componentClientSignalNames,Mm as compileTemplate,a as collectRepeatedFlag,Mk as collectDeployFiles,Ng as cloakStyleFragment,Jj as clearVideoCache,N as clearTranslationCache,Yg as clearStoreCache,Hk as clearStorage,kq as clearSignatureCache,vf as clearServerData,jj as clearPlaceholderCache,Wf as clearOnceStore,xd as clearNonce,bb as clearMiddleware,ze as clearImagePlaceholders,ve as clearImageDeliveryCatalog,ql as clearImageCache,e as clearErrorMessages,Gf as clearDevCaches,uc as clearCustomFilters,pg as clearComposers,Zg as clearComposableCache,ui as clearComponentCache,sj as clearCache,Db as clearBlankCache,$o as cleanupLoadingIndicator,km as classifyScript,lm as classifyAllScripts,Oo as checkTemplateFile,Po as checkTemplate,Hf as checkCache,hq as checkAuthAccess,na as checkA11yWithRegex,oa as checkA11y,vn as channel,oo as captureScreenshots,no as captureScreenshot,Z as cancelPendingLoads,Lk as calculateSha1,Ni as calculateOptimalWidths,If as cacheTemplate,Vj as buildWebComponents,Ro as buildVirtualSource,Wq as buildViews,zp as buildUrl,Fe as buildSuspenseResolveScript,Hr as buildStaticSite,qb as buildRuntimeGlobalsDestructure,Hm as buildRuntimeAsset,Im as buildRouterAsset,Gr as buildLangPickerScript,Ti as buildImageUrl,Eg as buildIdFragment,Jg as buildHtmlAttrs,Ym as buildForProduction,Dn as buildComponentLibrary,iq as buildAuthParams,Zm as buildApp,Er as buildAlternateLinks,vo as build,tn as broadcastPrivate,un as broadcastPresence,qn as broadcast,Mp as brightness,Mb as bracketDepths,Hp as blur,Eb as blankInertHtmlRegions,cq as batchSignUrls,Xe as batch,sa as autoFixA11yFile,ta as autoFixA11yDirectory,ra as autoFixA11y,Up as auto,ja as attributeValue,Jm as assetTags,Fb as asInvocableStatement,Tr as arrayOf,Br as applyTranslations,yj as applyTransformations,gi as applySlots,zn as applyPropDefaults,Xp as applyPreset,Lg as applyHtmlAttrs,ce as applyHead,Cc as applyFilters,sm as appendVary,Dd as apiCspPreset,Da as animationGroupDirective,Pj as analyzeVideo,an as analyzeUsage,im as analyzeTemplate,jm as analyzeProject,an as analyzeDirectiveUsage,Vc as analyticsDirective,Fo as addStore,Eo as addPage,Hd as addNonceToInlineContent,Go as addLayout,Do as addComponent,Um as actionRedirectResponse,Va as abortNavigation,ua as a11yDirective,Cf as __setSignalsGeneratorsForTest,Cg as __setBuildIdForTest,Gj as VideoProcessorCache,Uh as Validator,xa as TransitionType,za as TransitionEase,ya as TransitionDirection,gd as Tokenizer,Mo as TemplateTypeChecker,ro as TEMPLATE_PRESETS,v as StxValidationError,r as StxSyntaxError,t as StxSecurityError,s as StxRuntimeError,u as StxFileError,q as StxError,fr as Show,Ge as SUSPENSE_RESOLVER_RUNTIME,ob as STX_RUNTIME_GLOBALS,bc as STX_AUTO_IMPORTS,Rb as STATE_DIR_ENV_VAR,Ga as SPRING_PRESETS,om as SPA_NAV_HEADER,xb as RUNTIME_OWNED_COLON_ATTRS,zb as RUNTIME_HANDLED_X_ATTRS,Wc as RESPONSE_STATUS_KEY,Xc as RESPONSE_HEADERS_KEY,tb as REACTIVE_RUNTIME_GLOBALS,uo as ProductionBuild,hr as Portal,Bo as PROJECT_TEMPLATES,Wp as PRESETS,sb as NON_CLIENT_PRIMITIVES,qp as MemorySessionStore,Ki as MIME_TYPES,Hi as MEDIA_DEFAULT_WIDTHS,Ji as MEDIA_DEFAULT_FORMATS,Cm as LAYOUT_TYPES_FILE,vj as ImageProcessorCache,kl as ImageProcessingError,lp as HydrationRuntime,sk as HotReloadServer,mb as HeatmapAggregator,Hg as HTML_CLASS_MARKER,Gg as HTML_ATTRS_MARKER,_q as Fragment,gr as For,pm as FRAGMENT_CACHE_CONTROL,D as ErrorLogger,h as ErrorCodes,Ak as EXTERNALIZED_ASSET_DIR,Yk as DeployError,Zk as DEFAULT_WIDTHS,Aa as DEFAULT_TRANSITION_OPTIONS,Qb as DEFAULT_STATE_DIR,$k as DEFAULT_QUALITY,_i as DEFAULT_PLACEHOLDER_OPTIONS,_k as DEFAULT_FORMATS,Ii as DEFAULT_DPR_VALUES,cp as ComponentHMRHandler,pb as COMPONENT_SCOPE_LOCAL_GLOBALS,Bb as COMPONENT_PASSTHROUGH_X_ATTRS,rb as COMPILE_TIME_ONLY_GLOBALS,Si as COMMON_SIZES,tg as COLOR_MODE_BOOT_MARKER,ug as COLOR_MODE_BOOT_GLOBAL,Fg as CLOAK_STYLE,xn as BroadcastServer,wn as Broadcast,zg as BUILD_ID_META,Ag as BUILD_ID_HEADER,Nb as BROWSER_CORE_IMPORTS,$i as BLUR_UP_CSS,Ab as ALPINE_BRIDGE_X_ATTRS,rr as $path};
|
package/dist/chunk-m3ya2dvf.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{sq as M,wq as x}from"./chunk-r6g1n649.js";import{Ct as T}from"./chunk-4zwjqcw4.js";import{rw as N}from"./chunk-5ep11kvc.js";import V from"fs";import Z from"path";var y=new Map,W=new Map;async function R(j){let z;for(let J=0;J<3;J++)try{let X=(await V.promises.stat(j)).mtime.getTime(),Q=W.get(j);if(Q&&Q.mtime===X)return Q.content;let Y=await Bun.file(j).text(),K=(await V.promises.stat(j)).mtime.getTime();if(K!==X)continue;return W.set(j,{content:Y,mtime:K}),Y}catch(I){z=I;break}throw W.delete(j),Error(`File not found: ${j}${z?` (${z.message})`:""}`)}function S(j){W.delete(j)}function _(j){for(let B of W.keys())if(B.startsWith(j))W.delete(B)}var q=null,w=null,G=null;function C(j){G=j}async function b(j=!1){let B=G??await import("./chunk-mnsaf11z.js");if(j)return B.generateSignalsRuntimeDev();if(q===null)q=B.generateSignalsRuntime();return q}var D=null;async function A(){if(D===null){let{getRouterScript:j}=await import("./chunk-mv6dw7dn.js");D=j()}return D}var L={};async function g(j,B=!1){let z=j==="runtime"?await b(B):await A(),J=j==="runtime"&&B?"runtime-debug":j,I=L[J];if(!I||I.content!==z)I={content:z,hash:Bun.hash(z).toString(16).padStart(16,"0").slice(0,16)},L[J]=I;return{content:z,hash:I.hash,url:`/_stx/${j}.${I.hash}.js`}}function u(){W.clear(),x(),T(),q=null,w=null,D=null}function O(j){let B={debug:j.debug===!0,middleware:(j.middleware??[]).map((z)=>({name:z.name,timing:z.timing,handler:String(z.handler)})),customDirectives:(j.customDirectives??[]).map((z)=>({name:z.name,hasEndTag:z.hasEndTag===!0,handler:String(z.handler)}))};return new Bun.CryptoHasher("sha1").update(JSON.stringify(B)).digest("hex")}async function P(j,B){try{if(!B.cachePath)return null;let z=Z.resolve(B.cachePath),J=Z.join(z,`${U(j)}.html`),I=Z.join(z,`${U(j)}.meta.json`);if(!await M(J)||!await M(I))return null;let X=await Bun.file(I).text(),Q=JSON.parse(X);if(Q.cacheVersion!==B.cacheVersion)return null;if(Q.optionsSignature!==O(B))return null;if((await V.promises.stat(j)).mtime.getTime()>Q.mtime)return null;for(let $ of Q.dependencies)if(await M($)){if((await V.promises.stat($)).mtime.getTime()>Q.mtime)return null}else return null;return await Bun.file(J).text()}catch(z){return console.warn(`Cache error for ${j}:`,z),null}}async function p(j,B,z,J){try{if(!J.cachePath)return;let I=Z.resolve(J.cachePath);await V.promises.mkdir(I,{recursive:!0});let X=Z.join(I,`${U(j)}.html`),Q=Z.join(I,`${U(j)}.meta.json`),Y=await V.promises.stat(j);await Bun.write(X,B);let $={sourcePath:j,mtime:Y.mtime.getTime(),dependencies:Array.from(z),cacheVersion:J.cacheVersion,optionsSignature:O(J),generatedAt:Date.now()};await Bun.write(Q,JSON.stringify($,null,2)),y.set(j,{output:B,mtime:Y.mtime.getTime(),dependencies:z})}catch(I){console.warn(`Failed to cache template ${j}:`,I)}}var v=16;function U(j){return new Bun.CryptoHasher("sha1").update(j).digest("hex").substring(0,v)}
|
|
3
|
-
export{y as Uj,R as Vj,S as Wj,_ as Xj,C as Yj,b as Zj,A as _j,g as $j,u as ak,P as bk,p as ck,U as dk};
|
package/dist/chunk-nxbje85a.js
DELETED
package/dist/chunk-rsp59c5x.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Wf as a}from"./chunk-n2y2941z.js";import"./chunk-2h6pmz31.js";import"./chunk-mbaew5a8.js";import"./chunk-dvvx1wny.js";import"./chunk-289vztwy.js";import"./chunk-t41aaehf.js";import"./chunk-09zjty4k.js";import"./chunk-kxtfmwy0.js";import"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{a as buildForProduction};
|
package/dist/chunk-tbsgchrd.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Al as f,Bl as g,vl as a,wl as b,xl as c,yl as d,zl as e}from"./chunk-kxtfmwy0.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7080py5f.js";import"./chunk-2jzntvfr.js";import"./chunk-5ep11kvc.js";export{e as productionApiDispatcher,g as isServerApiSource,b as generateApiTypes,a as discoverServerApi,f as createServerApi,d as createApiDispatcher,c as buildServerApi};
|
package/dist/chunk-v82r1j02.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Ao as c,Bo as d,Co as e,Do as f,Eo as g,Fo as h,Go as i,Ho as j,Io as k,Jo as l,Ko as m,yo as a,zo as b}from"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.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};
|
package/dist/chunk-x3evfp7c.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Vg as a,Wg as b,Xg as c,Yg as d,Zg as e,_g as f}from"./chunk-sj3k3jwt.js";import"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{c as renderSlot,d as processSlots,a as parseSlots,b as parseSlotElement,e as extractSlotContent,f as applySlots};
|
package/dist/chunk-x7qbgqps.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Ye as a}from"./chunk-cvedh4a7.js";import"./chunk-mbaew5a8.js";import"./chunk-dvvx1wny.js";import"./chunk-kxtfmwy0.js";import"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{a as startProductionServer};
|
package/dist/chunk-xgeps3fn.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{tk as a,uk as b,vk as c,wk as d}from"./chunk-wbtamqdk.js";import"./chunk-kx30cykj.js";import"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{b as getAvailableTargets,c as getAvailableFormats,d as default,a as buildNative};
|
package/dist/chunk-zgnk8tpp.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Am as b,Bm as c,Cm as d,Dm as e,Em as f,Fm as g,Gm as h,Hm as i,Im as j,Jm as k,Km as l,Lm as m,Mm as n,Nm as o,Om as p,zm as a}from"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{h as usesSignalsInScript,p as unescapeHtml,n as resetRejectedExpressionWarnings,c as registerFilters,b as registerFilter,l as processExpressions,k as interpolateScriptsInTemplate,i as interpolateScriptExpressions,j as interpolateScriptAttributes,d as getAllFilters,o as evaluateExpression,g as escapeHtmlValue,f as escapeHtml,a as defaultFilters,e as clearCustomFilters,m as applyFilters};
|
package/dist/chunk-zhtttwz2.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{$i as e,Xi as a,Yi as b,Zi as c,_i as d,aj as f,bj as g,cj as h,dj as i,ej as j,fj as k,gj as l,hj as m,ij as n}from"./chunk-0tyw6va3.js";import"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{i as streamingSuspenseDirective,m as streamToResponse,g as streamTemplateSimple,a as streamTemplate,d as renderStreamingPage,k as registerStreamingDirectives,e as processStreamDirectives,l as processSectionDirectives,j as islandDirective,n as generateHydrationRuntime,f as extractStreamBoundaries,h as createStreamRenderer,b as buildSuspenseResolveScript,c as SUSPENSE_RESOLVER_RUNTIME};
|
package/dist/chunk-znn3ngey.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Ue as a}from"./chunk-6t9xcjag.js";import"./chunk-dvvx1wny.js";import"./chunk-r6g1n649.js";import"./chunk-cqp01pgs.js";import"./chunk-1czvb2wx.js";import"./chunk-fc1g65e0.js";import"./chunk-3wvdm033.js";import"./chunk-4zwjqcw4.js";import"./chunk-c2mvx2m8.js";import"./chunk-bsm13y1j.js";import"./chunk-gne68nyp.js";import"./chunk-7ymv9pd6.js";import"./chunk-7080py5f.js";import"./chunk-yjkaqxtc.js";import"./chunk-tp6wkx7g.js";import"./chunk-557n2zx7.js";import"./chunk-tjhzxbxa.js";import"./chunk-2jzntvfr.js";import"./chunk-qnx0eb8x.js";import"./chunk-5ep11kvc.js";export{a as buildApp};
|