@stacksjs/stx 0.2.209 → 0.2.211
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-7ry55nms.js → chunk-1306tswx.js} +1 -1
- package/dist/{chunk-1bq2xyax.js → chunk-1jeyh1e2.js} +1 -1
- package/dist/{chunk-kjr22neh.js → chunk-1nm2xrvq.js} +1 -1
- package/dist/{chunk-ycn1vnv2.js → chunk-1nnpwrqj.js} +1 -1
- package/dist/{chunk-syy7d9w2.js → chunk-1qkk4mrm.js} +1 -1
- package/dist/chunk-2bkqbmkn.js +2 -0
- package/dist/chunk-2kjp90p2.js +2 -0
- package/dist/chunk-2md83wew.js +2 -0
- package/dist/{chunk-mjt5e2jy.js → chunk-2me28xee.js} +1 -1
- package/dist/{chunk-jr5tp4ks.js → chunk-2w5d5tw1.js} +1 -1
- package/dist/chunk-2xeq5xnf.js +2 -0
- package/dist/chunk-3bgyqx5b.js +2 -0
- package/dist/{chunk-nye9brje.js → chunk-3fwn9edg.js} +1 -1
- package/dist/{chunk-zda3hvde.js → chunk-3twce5kp.js} +1 -1
- package/dist/{chunk-dtmwr674.js → chunk-3wd9kfyz.js} +1 -1
- package/dist/chunk-47mx5vng.js +2 -0
- package/dist/{chunk-wnaddtv3.js → chunk-47pge5gz.js} +1 -1
- package/dist/chunk-4vwxgmg0.js +2 -0
- package/dist/{chunk-x0ks1fer.js → chunk-53ajah3v.js} +1 -1
- package/dist/{chunk-e0bk1mqp.js → chunk-591jpt6f.js} +1 -1
- package/dist/chunk-5gb8d966.js +2 -0
- package/dist/{chunk-a2899x2t.js → chunk-5gr4vv7m.js} +1 -1
- package/dist/chunk-5ya35fex.js +2 -0
- package/dist/{chunk-whq99ytc.js → chunk-6ndvtzpk.js} +1 -1
- package/dist/{chunk-bmpkpgx2.js → chunk-6xd5p5v3.js} +10 -10
- package/dist/{chunk-x0zh76yv.js → chunk-6xg3j487.js} +1 -1
- package/dist/{chunk-h2wpnxrh.js → chunk-7mst8kqm.js} +1 -1
- package/dist/{chunk-r41nsgym.js → chunk-7zk48rd8.js} +1 -1
- package/dist/{chunk-44423f7c.js → chunk-81w2xqas.js} +1 -1
- package/dist/{chunk-n35c984x.js → chunk-85144680.js} +2 -2
- package/dist/{chunk-xp3fp266.js → chunk-8anh6d36.js} +1 -1
- package/dist/{chunk-n9eahkjg.js → chunk-8bmsw6gq.js} +85 -85
- package/dist/chunk-8xtvmwpr.js +2 -0
- package/dist/{chunk-ryjpp51z.js → chunk-96kpqgh3.js} +1 -1
- package/dist/{chunk-ygr11tgz.js → chunk-a2rj5ce0.js} +1 -1
- package/dist/{chunk-3nmpfsw5.js → chunk-aw9z3m10.js} +1 -1
- package/dist/chunk-ba18hn7n.js +2 -0
- package/dist/{chunk-cm0ykjs1.js → chunk-ba6v2wh0.js} +1 -1
- package/dist/{chunk-abpw3b39.js → chunk-bsr7yrxh.js} +1 -1
- package/dist/{chunk-5n0dt838.js → chunk-c0p9kf53.js} +1 -1
- package/dist/{chunk-5xpp3z95.js → chunk-c18nh1et.js} +1 -1
- package/dist/{chunk-dhpy0h9y.js → chunk-c7pvwvse.js} +1 -1
- package/dist/{chunk-vr3qtsj4.js → chunk-cqt6ry1e.js} +1 -1
- package/dist/{chunk-rs2fa3g1.js → chunk-cr7s8q08.js} +1 -1
- package/dist/{chunk-gcns5vw5.js → chunk-d12xfcjd.js} +1 -1
- package/dist/chunk-d9b00zcd.js +2 -0
- package/dist/{chunk-m0sd10cs.js → chunk-dt787jv4.js} +1 -1
- package/dist/chunk-evjs9zqm.js +2 -0
- package/dist/{chunk-wtengj6h.js → chunk-f6jm4hy3.js} +1 -1
- package/dist/chunk-f7fhjvbe.js +2 -0
- package/dist/{chunk-evxg9pe7.js → chunk-gyxe9fzm.js} +1 -1
- package/dist/chunk-hdg7t3zs.js +2 -0
- package/dist/{chunk-8src5smc.js → chunk-j0tfxbns.js} +2 -2
- package/dist/{chunk-nsjyn31z.js → chunk-j5vyt8wd.js} +1 -1
- package/dist/{chunk-gcnrdgrq.js → chunk-khrtzbxd.js} +1 -1
- package/dist/chunk-kjw1ha92.js +2 -0
- package/dist/chunk-kmgs48jy.js +2 -0
- package/dist/chunk-kregsntr.js +2 -0
- package/dist/{chunk-cbc56wpd.js → chunk-m2mhtpwy.js} +1 -1
- package/dist/chunk-mghyceb1.js +2 -0
- package/dist/chunk-mpt8ed9w.js +2 -0
- package/dist/{chunk-mkm91b6w.js → chunk-msjzqne1.js} +1 -1
- package/dist/{chunk-7w4c5w2b.js → chunk-ne8sygmy.js} +1 -1
- package/dist/{chunk-ndnc7k2n.js → chunk-p7qqbw2k.js} +1 -1
- package/dist/{chunk-xfp10a23.js → chunk-p8pyqr7p.js} +1 -1
- package/dist/{chunk-0ae6chzd.js → chunk-q4se9rtw.js} +1 -1
- package/dist/{chunk-jvqjh17y.js → chunk-qfsgw9by.js} +3 -3
- package/dist/{chunk-910sy8sk.js → chunk-qph3esct.js} +1 -1
- package/dist/chunk-r153ybwd.js +2 -0
- package/dist/{chunk-vydqh4xr.js → chunk-r5hnhtp1.js} +1 -1
- package/dist/{chunk-va9k88da.js → chunk-rczpw37w.js} +1 -1
- package/dist/{chunk-jpbk42j7.js → chunk-rg6v68ya.js} +1 -1
- package/dist/{chunk-1e25ksp6.js → chunk-s7dqawk0.js} +1 -1
- package/dist/{chunk-hb83d0qc.js → chunk-srdwsrnj.js} +1 -1
- package/dist/{chunk-jsndbe2q.js → chunk-td1cz8ms.js} +1 -1
- package/dist/{chunk-pw0rzgpv.js → chunk-trtm887x.js} +1 -1
- package/dist/{chunk-qz75kx6n.js → chunk-tryt2h85.js} +1 -1
- package/dist/{chunk-xm6kwq2r.js → chunk-v1v3fxq1.js} +2 -2
- package/dist/{chunk-4fe1ypxz.js → chunk-v5x6c698.js} +1 -1
- package/dist/chunk-vgr8kykv.js +2 -0
- package/dist/chunk-vhvfja74.js +2 -0
- package/dist/{chunk-vpwjr05r.js → chunk-vkpmnn26.js} +1 -1
- package/dist/{chunk-5gb0zjx0.js → chunk-vtqej9yr.js} +1 -1
- package/dist/{chunk-5s2y052b.js → chunk-w670sde5.js} +1 -1
- package/dist/{chunk-4pf61rcb.js → chunk-wbq7cp57.js} +1 -1
- package/dist/{chunk-nenge2m2.js → chunk-whxregkn.js} +1 -1
- package/dist/{chunk-12n9mz15.js → chunk-x2t441ge.js} +1 -1
- package/dist/{chunk-qpcwahse.js → chunk-x8b16v5q.js} +1 -1
- package/dist/{chunk-abzhv6v3.js → chunk-xcf62bdq.js} +1 -1
- package/dist/{chunk-q02jg1pk.js → chunk-xkd164zg.js} +1 -1
- package/dist/{chunk-e0460y7f.js → chunk-y2jr10y8.js} +1 -1
- package/dist/{chunk-9kf4q3ec.js → chunk-y8mg8dem.js} +1 -1
- package/dist/{chunk-5hpp0vzz.js → chunk-yk1smsev.js} +1 -1
- package/dist/{chunk-spn8e3b3.js → chunk-z0hkt5sk.js} +1 -1
- package/dist/{chunk-3952ykhb.js → chunk-z47tw39z.js} +2 -2
- package/dist/{chunk-nngpktr2.js → chunk-zj44h5kk.js} +1 -1
- package/dist/chunk-ztz7tdb0.js +2 -0
- package/dist/{chunk-1mhc4g86.js → chunk-zxb128xa.js} +1 -1
- package/dist/cli.js +14 -14
- package/dist/component-renderer.d.ts +22 -0
- package/dist/component-renderer.js +5 -2
- 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-00a028s3.js +0 -2
- package/dist/chunk-02n7khen.js +0 -2
- package/dist/chunk-0kdc3x7v.js +0 -2
- package/dist/chunk-2z6br22w.js +0 -2
- package/dist/chunk-3acgbcv6.js +0 -2
- package/dist/chunk-3vy1q9da.js +0 -2
- package/dist/chunk-5dxctm6h.js +0 -2
- package/dist/chunk-66081bkn.js +0 -2
- package/dist/chunk-6bxcjdp4.js +0 -2
- package/dist/chunk-8sx4vf6p.js +0 -2
- package/dist/chunk-bpvp21dd.js +0 -2
- package/dist/chunk-btgrvrxy.js +0 -2
- package/dist/chunk-ehfzp7xe.js +0 -2
- package/dist/chunk-g9kvpgha.js +0 -2
- package/dist/chunk-k03erdj7.js +0 -2
- package/dist/chunk-k25mqtht.js +0 -2
- package/dist/chunk-me5h5mkq.js +0 -2
- package/dist/chunk-mtr2f82n.js +0 -2
- package/dist/chunk-mz5hjxjv.js +0 -2
- package/dist/chunk-nd9d80gb.js +0 -2
- package/dist/chunk-sry9atvv.js +0 -2
- package/dist/chunk-t98920tc.js +0 -2
- package/dist/chunk-xz019t7t.js +0 -2
- package/dist/chunk-z21qzyh1.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-trtm887x.js";import v from"fs";import H from"path";import{gzipSync as z}from"zlib";import{createHash as g}from"crypto";var D={".js":"js",".mjs":"js",".cjs":"js",".ts":"js",".jsx":"js",".tsx":"js",".css":"css",".scss":"css",".sass":"css",".less":"css",".html":"html",".htm":"html",".png":"image",".jpg":"image",".jpeg":"image",".gif":"image",".svg":"image",".webp":"image",".avif":"image",".ico":"image",".woff":"font",".woff2":"font",".ttf":"font",".eot":"font",".otf":"font"},b=[/node_modules/,/vendor/,/bower_components/,/\.min\./],B=[/index\.(js|ts|html)$/,/main\.(js|ts)$/,/app\.(js|ts)$/,/entry\.(js|ts)$/];async function L(X,Z={}){let{includeSourceMaps:Q=!1,parseImports:$=!0,detectDuplicates:U=!0,topModulesCount:K=20}=Z;if(!v.existsSync(X))throw Error(`Build directory not found: ${X}`);if(!v.statSync(X).isDirectory())throw Error(`Not a directory: ${X}`);let q=await k(X,Q),J=[],F=[];for(let A of q)try{let O=await f(A,X,$);J.push(O)}catch(O){F.push(`Failed to process ${A}: ${O}`)}let Y=c(J,X),V=J.reduce((A,O)=>A+O.size,0),_=J.reduce((A,O)=>A+O.gzipSize,0),w=m(J),G=U?p(J):[],C=[...J].sort((A,O)=>O.size-A.size).slice(0,K);return{timestamp:Date.now(),buildDir:H.resolve(X),chunks:Y,totalSize:V,totalGzipSize:_,moduleCount:J.length,duplicates:G,byType:w,largestModules:C,warnings:F}}async function k(X,Z){let Q=[];async function $(U){let K=await v.promises.readdir(U,{withFileTypes:!0});for(let j of K){let q=H.join(U,j.name);if(j.isDirectory()){if(!j.name.startsWith(".")&&j.name!=="node_modules")await $(q)}else if(j.isFile()){if(!Z&&j.name.endsWith(".map"))continue;Q.push(q)}}}return await $(X),Q}async function f(X,Z,Q){let $=await v.promises.readFile(X),U=H.relative(Z,X),K=H.extname(X).toLowerCase(),j=$.length,q=y($),J=h($,K),F=g("md5").update($).digest("hex").slice(0,8),Y=D[K]||"other",V=[];if(Q&&Y==="js")V.push(...d($.toString("utf-8")));return{id:U,path:U,size:j,gzipSize:q,parsedSize:J,extension:K,type:Y,imports:V,importedBy:[],hash:F}}function y(X){try{let Z=z(X,{level:9}).length;return Math.min(Z,X.length)}catch{return X.length}}function h(X,Z){if(Z.includes(".min.")||X.length<1000)return X.length;let $=D[Z];if($==="js")return Math.round(X.length*0.6);if($==="css")return Math.round(X.length*0.7);return X.length}function d(X){let Z=[],Q=/import\s+(?:[\w*{}\s,]+\s+from\s+)?['"]([^'"]+)['"]/g,$;while(($=Q.exec(X))!==null)Z.push($[1]);let U=/import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;while(($=U.exec(X))!==null)Z.push($[1]);let K=/require\s*\(\s*['"]([^'"]+)['"]\s*\)/g;while(($=K.exec(X))!==null)Z.push($[1]);return[...new Set(Z)]}function c(X,Z){let Q=new Map;for(let U of X){let K=U.path.split(H.sep),j;if(K.length===1)j=H.basename(U.path,U.extension);else j=K[0];let q=Q.get(j)||[];q.push(U),Q.set(j,q)}let $=[];for(let[U,K]of Q){let j=K.reduce((Y,V)=>Y+V.size,0),q=K.reduce((Y,V)=>Y+V.gzipSize,0),J=K.some((Y)=>B.some((V)=>V.test(Y.path))),F=K.some((Y)=>b.some((V)=>V.test(Y.path)));$.push({name:U,files:K.map((Y)=>Y.path),modules:K,size:j,gzipSize:q,isEntry:J,isVendor:F})}return $.sort((U,K)=>K.size-U.size)}function m(X){let Z={js:{count:0,size:0,gzipSize:0},css:{count:0,size:0,gzipSize:0},html:{count:0,size:0,gzipSize:0},image:{count:0,size:0,gzipSize:0},font:{count:0,size:0,gzipSize:0},other:{count:0,size:0,gzipSize:0}};for(let Q of X)Z[Q.type].count++,Z[Q.type].size+=Q.size,Z[Q.type].gzipSize+=Q.gzipSize;return Z}function p(X){let Z=new Map;for(let $ of X){let U=Z.get($.hash)||[];U.push($),Z.set($.hash,U)}let Q=[];for(let[,$]of Z)if($.length>1){let U=$[0];Q.push({path:U.path,count:$.length,wastedBytes:U.size*($.length-1),locations:$.map((K)=>K.path)})}return Q.sort(($,U)=>U.wastedBytes-$.wastedBytes)}function W(X){if(X<1024)return`${X} B`;if(X<1048576)return`${(X/1024).toFixed(2)} KB`;return`${(X/1048576).toFixed(2)} MB`}function I(X){let Z=X.match(/^([\d.]+)\s*(B|KB|MB|GB)?$/i);if(!Z)return 0;let Q=Number.parseFloat(Z[1]);switch((Z[2]||"B").toUpperCase()){case"KB":return Q*1024;case"MB":return Q*1024*1024;case"GB":return Q*1024*1024*1024;default:return Q}}function E(X,Z){if(Z===0)return"0%";return`${(X/Z*100).toFixed(1)}%`}function R(X,Z){switch(Z.format){case"json":return u(X,Z);case"markdown":return l(X,Z);case"text":default:return r(X,Z)}}function u(X,Z){let Q=N(X,Z);return JSON.stringify({timestamp:X.timestamp,buildDir:X.buildDir,summary:{totalSize:X.totalSize,totalSizeFormatted:W(X.totalSize),totalGzipSize:X.totalGzipSize,totalGzipSizeFormatted:W(X.totalGzipSize),moduleCount:X.moduleCount,chunkCount:X.chunks.length,duplicateCount:X.duplicates.length},byType:Object.fromEntries(Object.entries(X.byType).map(([$,U])=>[$,{...U,sizeFormatted:W(U.size),gzipSizeFormatted:W(U.gzipSize)}])),chunks:X.chunks.map(($)=>({name:$.name,size:$.size,sizeFormatted:W($.size),gzipSize:$.gzipSize,gzipSizeFormatted:W($.gzipSize),moduleCount:$.modules.length,isEntry:$.isEntry,isVendor:$.isVendor})),largestModules:X.largestModules.slice(0,Z.topModules||10).map(($)=>({path:$.path,size:$.size,sizeFormatted:W($.size),gzipSize:$.gzipSize,gzipSizeFormatted:W($.gzipSize),type:$.type})),duplicates:X.duplicates,analysis:Q,warnings:X.warnings},null,2)}function r(X,Z){let Q=[],$=Z.showGzip!==!1;if(Q.push(""),Q.push("Bundle Analysis Report"),Q.push("\u2550".repeat(50)),Q.push(""),Q.push("Summary"),Q.push("\u2500".repeat(50)),$)Q.push(`Total Size: ${W(X.totalSize)} (${W(X.totalGzipSize)} gzip)`);else Q.push(`Total Size: ${W(X.totalSize)}`);if(Q.push(`Modules: ${X.moduleCount}`),Q.push(`Chunks: ${X.chunks.length}`),X.duplicates.length>0)Q.push(`Duplicates: ${X.duplicates.length}`);if(Q.push(""),Z.threshold&&X.totalSize>Z.threshold)Q.push(`\u26A0\uFE0F Bundle exceeds threshold of ${W(Z.threshold)}!`),Q.push("");Q.push("Size by Type"),Q.push("\u2500".repeat(50));let U=["js","css","html","image","font","other"];for(let j of U){let q=X.byType[j];if(q.count>0){let J=E(q.size,X.totalSize),F=$?` (${W(q.gzipSize)} gzip)`:"";Q.push(` ${j.padEnd(8)} ${W(q.size).padStart(12)}${F} ${J.padStart(6)} (${q.count} files)`)}}Q.push(""),Q.push("Chunks"),Q.push("\u2500".repeat(50));for(let j of X.chunks.slice(0,10)){let q=[];if(j.isEntry)q.push("entry");if(j.isVendor)q.push("vendor");let J=q.length>0?` [${q.join(", ")}]`:"",F=$?` (${W(j.gzipSize)} gzip)`:"";Q.push(` ${j.name.padEnd(20)} ${W(j.size).padStart(12)}${F}${J}`)}if(X.chunks.length>10)Q.push(` ... and ${X.chunks.length-10} more chunks`);Q.push("");let K=Z.topModules||10;Q.push(`Largest Modules (Top ${K})`),Q.push("\u2500".repeat(50));for(let j=0;j<Math.min(K,X.largestModules.length);j++){let q=X.largestModules[j],J=$?` (${W(q.gzipSize)} gzip)`:"";Q.push(` ${(j+1).toString().padStart(2)}. ${q.path}`),Q.push(` ${W(q.size)}${J}`)}if(Q.push(""),X.duplicates.length>0){Q.push("Duplicate Modules"),Q.push("\u2500".repeat(50));for(let j of X.duplicates.slice(0,5))Q.push(` ${j.path}`),Q.push(` ${j.count} copies, wasting ${W(j.wastedBytes)}`);if(X.duplicates.length>5)Q.push(` ... and ${X.duplicates.length-5} more duplicates`);Q.push("")}if(Z.recommendations!==!1){let j=N(X,Z);if(j.recommendations.length>0){Q.push("Recommendations"),Q.push("\u2500".repeat(50));for(let q of j.recommendations.slice(0,5)){let J=q.impact==="high"?"\u26A1":q.impact==="medium"?"\uD83D\uDCCA":"\uD83D\uDCA1";Q.push(` ${J} ${q.title}`),Q.push(` ${q.description}`)}Q.push("")}}if(X.warnings.length>0){Q.push("Warnings"),Q.push("\u2500".repeat(50));for(let j of X.warnings)Q.push(` \u26A0\uFE0F ${j}`);Q.push("")}return Q.join(`
|
|
3
3
|
`)}function l(X,Z){let Q=[],$=Z.showGzip!==!1;if(Q.push("# Bundle Analysis Report"),Q.push(""),Q.push(`Generated: ${new Date(X.timestamp).toISOString()}`),Q.push(""),Q.push("## Summary"),Q.push(""),Q.push("| Metric | Value |"),Q.push("|--------|-------|"),Q.push(`| Total Size | ${W(X.totalSize)} |`),$)Q.push(`| Gzip Size | ${W(X.totalGzipSize)} |`);Q.push(`| Modules | ${X.moduleCount} |`),Q.push(`| Chunks | ${X.chunks.length} |`),Q.push(`| Duplicates | ${X.duplicates.length} |`),Q.push(""),Q.push("## Size by Type"),Q.push(""),Q.push("| Type | Size | Gzip | % | Files |"),Q.push("|------|------|------|---|-------|");let U=["js","css","html","image","font","other"];for(let j of U){let q=X.byType[j];if(q.count>0)Q.push(`| ${j} | ${W(q.size)} | ${W(q.gzipSize)} | ${E(q.size,X.totalSize)} | ${q.count} |`)}Q.push(""),Q.push("## Chunks"),Q.push(""),Q.push("| Name | Size | Gzip | Modules | Type |"),Q.push("|------|------|------|---------|------|");for(let j of X.chunks.slice(0,15)){let q=j.isEntry?"Entry":j.isVendor?"Vendor":"-";Q.push(`| ${j.name} | ${W(j.size)} | ${W(j.gzipSize)} | ${j.modules.length} | ${q} |`)}Q.push("");let K=Z.topModules||10;Q.push(`## Largest Modules (Top ${K})`),Q.push(""),Q.push("| # | Path | Size | Gzip |"),Q.push("|---|------|------|------|");for(let j=0;j<Math.min(K,X.largestModules.length);j++){let q=X.largestModules[j];Q.push(`| ${j+1} | \`${q.path}\` | ${W(q.size)} | ${W(q.gzipSize)} |`)}if(Q.push(""),X.duplicates.length>0){Q.push("## Duplicates"),Q.push(""),Q.push("| Path | Copies | Wasted |"),Q.push("|------|--------|--------|");for(let j of X.duplicates.slice(0,10))Q.push(`| \`${j.path}\` | ${j.count} | ${W(j.wastedBytes)} |`);Q.push("")}if(Z.recommendations!==!1){let j=N(X,Z);if(j.recommendations.length>0){Q.push("## Recommendations"),Q.push("");for(let q of j.recommendations)Q.push(`### ${q.title}`),Q.push(""),Q.push(q.description),Q.push(""),Q.push(`- **Impact:** ${q.impact}`),Q.push(`- **Effort:** ${q.effort}`),Q.push("")}}return Q.join(`
|
|
4
4
|
`)}function N(X,Z){let Q=[],$=[];if(Z.threshold&&X.totalSize>Z.threshold)Q.push({severity:"error",message:`Bundle size (${W(X.totalSize)}) exceeds threshold (${W(Z.threshold)})`});if(X.totalSize>1048576)Q.push({severity:"warning",message:`Bundle is over 1MB (${W(X.totalSize)})`,details:"Large bundles can significantly impact load time"});if(X.duplicates.length>0){let q=X.duplicates.reduce((J,F)=>J+F.wastedBytes,0);Q.push({severity:"warning",message:`${X.duplicates.length} duplicate modules found, wasting ${W(q)}`}),$.push({title:"Remove Duplicate Modules",description:"Consider using import aliases or ensuring consistent package versions to eliminate duplicates.",impact:"medium",effort:"low"})}if(X.byType.js.size/X.totalSize>0.8&&X.totalSize>512000)$.push({title:"Code Splitting",description:"Over 80% of your bundle is JavaScript. Consider splitting code by route or feature.",impact:"high",effort:"medium"});let K=X.largestModules.filter((q)=>q.size>102400);if(K.length>0){Q.push({severity:"info",message:`${K.length} modules are over 100KB`});for(let q of K){if(q.path.includes("lodash")&&!q.path.includes("lodash-es"))$.push({title:"Use lodash-es instead of lodash",description:"lodash-es supports tree-shaking and can significantly reduce bundle size.",impact:"high",effort:"low"});if(q.path.includes("moment"))$.push({title:"Replace moment.js",description:"Consider using date-fns or dayjs for smaller date handling libraries.",impact:"high",effort:"medium"})}}if(X.byType.image.size>512000)$.push({title:"Optimize Images",description:`Images account for ${W(X.byType.image.size)}. Consider using WebP/AVIF formats and responsive images.`,impact:"high",effort:"low"});let j=100;if(X.totalSize>1048576)j-=20;else if(X.totalSize>512000)j-=10;if(j-=Math.min(20,X.duplicates.length*2),j-=Math.min(15,K.length*3),Z.threshold&&X.totalSize>Z.threshold)j-=25;return{score:Math.max(0,j),issues:Q,recommendations:$}}var i={lodash:{alternative:"lodash-es or individual imports",savings:"~70%"},moment:{alternative:"date-fns or dayjs",savings:"~90%"},"chart.js":{alternative:"chart.js with tree-shaking",savings:"~50%"},"highlight.js":{alternative:"Selective language imports",savings:"~80%"},fontawesome:{alternative:"Individual icon imports",savings:"~90%"},"material-ui":{alternative:"Named imports from @mui/*",savings:"~60%"}};function n(X){for(let[Z,Q]of Object.entries(i))if(X.includes(Z))return{title:`Optimize ${Z}`,description:`Consider using ${Q.alternative}. Potential savings: ${Q.savings}`,impact:"high",effort:"low"};return null}var o={default:{js:"#f7df1e",css:"#264de4",html:"#e34c26",image:"#4caf50",font:"#9c27b0",other:"#607d8b",vendor:"#ff5722"},pastel:{js:"#fff3b0",css:"#b0d4ff",html:"#ffb0b0",image:"#b0ffb0",font:"#e0b0ff",other:"#d0d0d0",vendor:"#ffcfb0"},monochrome:{js:"#333333",css:"#555555",html:"#777777",image:"#999999",font:"#bbbbbb",other:"#dddddd",vendor:"#444444"}};function x(X,Z={}){let{title:Q="Bundle Analysis",gzip:$=!0,colorScheme:U="default"}=Z,K=o[U],j=a(X),q=JSON.stringify(j);return`<!DOCTYPE html>
|
|
5
5
|
<html lang="en">
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{iu as l}from"./chunk-trtm887x.js";import U from"fs";import G from"path";import I from"os";import H from"crypto";import{generatePlaceholder as m,processImage as g}from"ts-images";var d=[320,640,768,1024,1280,1536,1920],h=["webp","jpeg"],b=80,u=[".jpg",".jpeg",".png",".webp",".avif",".gif",".svg"],P={webp:"image/webp",avif:"image/avif",jpeg:"image/jpeg",png:"image/png"},N=null,W=!1;async function Y(){if(W)return N;W=!0;try{let J=await import("sharp");return N=J.default||J,N}catch{return null}}async function e(){return await Y()!==null}async function t(){return!0}async function JJ(J,K={}){let{widths:Z=d,formats:$=h,quality:q=b,fit:C="cover",placeholder:X="none",outputDir:Q=".stx/images",baseUrl:_="/images"}=K,j,x;if(typeof J==="string"){if(x=J,!await Bun.file(J).exists())throw new L(`Image not found: ${J}`,"NOT_FOUND");j=await Bun.file(J).arrayBuffer().then((V)=>Buffer.from(V))}else x="buffer-input",j=J;let w=H.createHash("sha256").update(j).digest("hex").slice(0,12),y=await O(j),{width:B,height:D}=y,A=B/D;await U.promises.mkdir(Q,{recursive:!0});let T=[],v=G.basename(x,G.extname(x)),z=Z.filter((V)=>V<=B);if(!z.includes(B)&&B<=Math.max(...Z))z.push(B);z.sort((V,R)=>V-R);for(let V of z){let R=Math.round(V/A);for(let F of $){let S=`${v}-${V}w-${w}.${F}`,k=G.join(Q,S),c=`${_}/${S}`,E=await n(j,{width:V,height:R,format:F,quality:q,fit:C});await Bun.write(k,E),T.push({path:k,url:c,width:V,height:R,format:F,size:E.length})}}let M;if(X!=="none")M=await o(j,X);return{src:x,variants:T,placeholder:M,width:B,height:D,aspectRatio:A,hash:w}}async function O(J){let K=typeof J==="string"?Buffer.from(await Bun.file(J).arrayBuffer()):J,Z=await Y();if(Z){let q=await Z(K).metadata();return{width:q.width||0,height:q.height||0,format:q.format||"unknown",hasAlpha:q.hasAlpha}}return p(K)}function p(J){if(J[0]===137&&J[1]===80&&J[2]===78&&J[3]===71){let K=J.readUInt32BE(16),Z=J.readUInt32BE(20);return{width:K,height:Z,format:"png",hasAlpha:!0}}if(J[0]===255&&J[1]===216){let K=2;while(K<J.length){if(J[K]!==255)break;let Z=J[K+1];if(Z>=192&&Z<=207&&Z!==196&&Z!==200&&Z!==204){let q=J.readUInt16BE(K+5);return{width:J.readUInt16BE(K+7),height:q,format:"jpeg",hasAlpha:!1}}let $=J.readUInt16BE(K+2);K+=2+$}}if(J.toString("utf8",0,4)==="RIFF"&&J.toString("utf8",8,12)==="WEBP"){let K=J.toString("utf8",12,16);if(K==="VP8 "){let Z=J.readUInt16LE(26)&16383,$=J.readUInt16LE(28)&16383;return{width:Z,height:$,format:"webp",hasAlpha:!1}}if(K==="VP8L"){let Z=J.readUInt32LE(21),$=(Z&16383)+1,q=(Z>>14&16383)+1;return{width:$,height:q,format:"webp",hasAlpha:!0}}}if(J.toString("utf8",0,3)==="GIF"){let K=J.readUInt16LE(6),Z=J.readUInt16LE(8);return{width:K,height:Z,format:"gif",hasAlpha:!0}}throw new L("Unable to parse image dimensions","PARSE_ERROR")}async function n(J,K){let Z=await Y();if(Z){let q=Z(J).resize(K.width,K.height,{fit:K.fit});switch(K.format){case"webp":q=q.webp({quality:K.quality});break;case"avif":q=q.avif({quality:K.quality});break;case"jpeg":q=q.jpeg({quality:K.quality});break;case"png":q=q.png({quality:K.quality});break}return q.toBuffer()}let $=G.join(I.tmpdir(),`stx-img-${H.randomBytes(8).toString("hex")}.${K.format}`);try{return await g({input:J,output:$,format:K.format,quality:K.quality,resize:{width:K.width,height:K.height,fit:K.fit}}),Buffer.from(await Bun.file($).arrayBuffer())}finally{await U.promises.unlink($).catch(()=>{})}}async function o(J,K){let Z=await Y();if(K==="blur"&&Z){let X=(await Z(J).resize(20).blur(10).toBuffer()).toString("base64"),Q=await O(J);return`data:${P[Q.format]||"image/jpeg"};base64,${X}`}if(K==="dominant-color"&&Z){let{dominant:C}=await Z(J).resize(1,1).toBuffer().then(async(X)=>{let Q=await Z(X).metadata();return{dominant:{r:128,g:128,b:128}}}).catch(()=>({dominant:{r:128,g:128,b:128}}));return`rgb(${C.r}, ${C.g}, ${C.b})`}let $=await O(J),q=G.join(I.tmpdir(),`stx-ph-${H.randomBytes(8).toString("hex")}.${$.format==="unknown"?"bin":$.format}`);try{await Bun.write(q,J);let C=K==="blur"?"blur":K==="thumbhash"?"thumbhash":"dominant-color",Q=await m(q,{strategy:C,width:C==="thumbhash"?void 0:32});if(K==="dominant-color"&&Q.dominantColor)return Q.dominantColor;if(Q.dataURL)return Q.dataURL;return"rgb(128, 128, 128)"}catch{return"rgb(128, 128, 128)"}finally{await U.promises.unlink(q).catch(()=>{})}}function KJ(J,K){return(K?J.filter(($)=>$.format===K):J).sort(($,q)=>$.width-q.width).map(($)=>`${$.url} ${$.width}w`).join(", ")}function ZJ(J){if(!J||Object.keys(J).length===0)return"100vw";return Object.entries(J).sort((Z,$)=>{let q=Number.parseInt(Z[0].replace(/\D/g,""))||0;return(Number.parseInt($[0].replace(/\D/g,""))||0)-q}).map(([Z,$])=>`(max-width: ${Z}) ${$}`).join(", ")+", 100vw"}function $J(J){let K=J.filter(($)=>$.format==="jpeg");if(K.length===0)return J[Math.floor(J.length/2)];let Z=K.sort(($,q)=>$.width-q.width);return Z[Math.floor(Z.length/2)]}function qJ(J){let K=new Map;for(let Z of J){let $=K.get(Z.format)||[];$.push(Z),K.set(Z.format,$)}return K}function CJ(J){let K=G.extname(J).toLowerCase();return u.includes(K)}function QJ(J){return P[J]||"application/octet-stream"}function VJ(J){return J.reduce((K,Z)=>K+Z.size,0)}function XJ(J){if(J<1024)return`${J} B`;if(J<1048576)return`${(J/1024).toFixed(1)} KB`;return`${(J/1048576).toFixed(2)} MB`}class L extends Error{code;constructor(J,K){super(J);this.name="ImageProcessingError",this.code=K}}
|
|
3
3
|
export{d as bg,h as cg,b as dg,e as eg,t as fg,JJ as gg,O as hg,n as ig,KJ as jg,ZJ as kg,$J as lg,qJ as mg,CJ as ng,QJ as og,VJ as pg,XJ as qg,L as rg};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{At as
|
|
2
|
+
import{At as n,Bt as o,Ct as p,Dt as q,Et as r,Ft as s,Gt as t,Ht as u,It as v,Jt as w,Kt as x,Lt as y,Mt as z,Nt as A,Ot as B,Pt as C,Qt as D,Rt as E,St as F,Tt as G,Ut as H,Vt as I,Wt as J,Yt as K,_t as L,nt as a,ot as b,pt as c,qt as d,rt as e,st as f,tt as g,ut as h,vt as i,wt as j,xt as k,yt as l,zt as m}from"./chunk-z47tw39z.js";import"./chunk-trtm887x.js";L();export{o as setAppUrl,H as runMiddleware,r as route,j as resolveLayoutChain,s as resetRoutes,z as registerMiddleware,g as patternToRegex,t as navigateTo,h as matchRoute,E as loadMiddlewareFromDirectory,c as isNonPageRoutePattern,b as isNonPageRoutePath,B as hasMiddleware,K as getRouterScript,D as getMiddlewareNames,A as getMiddleware,d as generateRouteTypes,e as generateRouteManifest,n as formatRoutes,m as findErrorPage,f as filePathToPattern,J as extractLayoutMetadata,I as deriveLayoutGroup,q as defineRoutes,p as defineRoute,v as defineMiddleware,y as createStorageManager,w as createServerCookieManager,l as createRouter,F as createRouteLocation,G as createMiddlewareContext,x as createClientCookieManager,C as clearMiddleware,i as bracketPathToRegex,u as abortNavigation,k as Router,a as NON_PAGE_DIRS};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Eq as x,Jr as g,No as R,jm as O,mq as H}from"./chunk-8bmsw6gq.js";import b from"path";var v={enabled:!0,bufferSize:16384,strategy:"auto",timeout:30000},M=/<!-- @section:([\w-]+) -->([\s\S]*?)<!-- @endsection:\1 -->/g;var T=/<!-- @suspense:([\w-]+) -->([\s\S]*?)<!-- @endsuspense:\1 -->/g;function f(q){let B=[],Q=0,G;T.lastIndex=0;while((G=T.exec(q))!==null){if(G.index>Q){let X=q.slice(Q,G.index);if(X.trim())B.push({type:B.length===0?"shell":"content",content:X})}let J=G[1],K=G[2];B.push({type:"suspense",name:J,content:K}),Q=G.index+G[0].length}if(Q<q.length){let J=q.slice(Q);if(J.trim())B.push({type:B.length===0?"shell":"content",content:J})}if(B.length===0)B.push({type:"shell",content:q});return B}async function r(q,B={},Q={}){let G={...g,...Q,streaming:{...v,...Q.streaming}},J=G.streaming?.bufferSize||16384;return new ReadableStream({async start(K){try{let X=await Bun.file(q).text(),z=X.match(/<script\b[^>]*\bserver\b[^>]*>([\s\S]*?)<\/script>/i),L=z?z[1]:"",Y=X.replace(/<script\b[^>]*>[\s\S]*?<\/script>/gi,""),j={...B,__filename:q,__dirname:b.dirname(q)};if(L.trim())await R(L,j,q);let D=f(Y),$=new Set;if(!D.some((w)=>w.type==="suspense")){let w=G.streaming?.strategy||"auto",U=new RegExp(M.source,"g");if(!(w!=="manual"&&U.test(Y))){let F=await H(Y,j,q,G,$);for(let V=0;V<F.length;V+=J)K.enqueue(F.slice(V,V+J)),await new Promise((W)=>setTimeout(W,0))}else{let F=[],V=new RegExp(M.source,"g"),W;while((W=V.exec(Y))!==null)F.push({name:W[1],content:W[2],start:W.index,end:W.index+W[0].length});let y=0;for(let A of F){if(A.start>y){let k=Y.slice(y,A.start);if(k.trim()){let E=await H(k,j,q,G,$);K.enqueue(E),await new Promise((S)=>setTimeout(S,0))}}let I=await H(A.content,j,q,G,$);K.enqueue(I),await new Promise((k)=>setTimeout(k,0)),y=A.end}if(y<Y.length){let A=Y.slice(y);if(A.trim()){let I=await H(A,j,q,G,$);K.enqueue(I)}}}}else{let w=new Map;for(let Z of D)if(Z.type==="shell"||Z.type==="content"){let F=await H(Z.content,j,q,G,$);K.enqueue(F)}else if(Z.type==="suspense"&&Z.name){let F=`stx-suspense-${Z.name}`;K.enqueue(`<div id="${F}" data-suspense="${Z.name}" style="display:contents;">
|
|
3
3
|
<template data-suspense-fallback>Loading...</template>
|
|
4
4
|
</div>`),w.set(Z.name,H(Z.content,j,q,G,$))}K.enqueue(`
|
|
5
5
|
<script>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{bg as a,cg as b,dg as c,eg as d,fg as e,gg as f,hg as g,ig as h,jg as i,kg as j,lg as k,mg as l,ng as m,og as n,pg as o,qg as p,rg as q}from"./chunk-
|
|
2
|
+
import{bg as a,cg as b,dg as c,eg as d,fg as e,gg as f,hg as g,ig as h,jg as i,kg as j,lg as k,mg as l,ng as m,og as n,pg as o,qg as p,rg as q}from"./chunk-a2rj5ce0.js";import"./chunk-trtm887x.js";export{h as resizeAndConvert,f as processImage,d as isSharpAvailable,m as isImageFile,e as isImageBackendAvailable,l as groupVariantsByFormat,o as getTotalSize,n as getMimeType,g as getImageMetadata,k as getFallbackVariant,i as generateSrcSet,j as generateSizes,p as formatSize,q as ImageProcessingError,a as DEFAULT_WIDTHS,c as DEFAULT_QUALITY,b as DEFAULT_FORMATS};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{lh as a,mh as b,nh as c,oh as d,ph as e,qh as f,rh as g,sh as h,th as i}from"./chunk-
|
|
2
|
+
import{lh as a,mh as b,nh as c,oh as d,ph as e,qh as f,rh as g,sh as h,th as i}from"./chunk-msjzqne1.js";import"./chunk-q8szpd6w.js";import"./chunk-trtm887x.js";export{c as setCachedImageResult,e as processImage,f as optimizeImage,b as getCachedImageResult,i as generateSrcset,h as generateResponsiveVariants,d as clearImageCache,g as applyTransformations,a as ImageProcessorCache};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{em as a,fm as b,gm as c,hm as d,im as e,jm as f,km as g,lm as h,mm as i,nm as j,om as k,pm as l,qm as m,rm as n,sm as o}from"./chunk-
|
|
2
|
+
import{em as a,fm as b,gm as c,hm as d,im as e,jm as f,km as g,lm as h,mm as i,nm as j,om as k,pm as l,qm as m,rm as n,sm as o}from"./chunk-8bmsw6gq.js";import"./chunk-j0tfxbns.js";import"./chunk-khrtzbxd.js";import"./chunk-8anh6d36.js";import"./chunk-3fwn9edg.js";import"./chunk-qfsgw9by.js";import"./chunk-m2mhtpwy.js";import"./chunk-6xg3j487.js";import"./chunk-q4se9rtw.js";import"./chunk-1nm2xrvq.js";import"./chunk-z47tw39z.js";import"./chunk-3wd9kfyz.js";import"./chunk-trtm887x.js";export{h as usesSignalsInScript,o as unescapeHtml,c as registerFilters,b as registerFilter,l as processExpressions,k as interpolateScriptsInTemplate,i as interpolateScriptExpressions,j as interpolateScriptAttributes,d as getAllFilters,n as evaluateExpression,g as escapeHtmlValue,f as escapeHtml,a as defaultFilters,e as clearCustomFilters,m as applyFilters};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$h as b,_h as a,ai as c,bi as d,ci as e,di as f,ei as g}from"./chunk-ymccpdg6.js";import"./chunk-
|
|
2
|
+
import{$h as b,_h as a,ai as c,bi as d,ci as e,di as f,ei as g}from"./chunk-ymccpdg6.js";import"./chunk-trtm887x.js";export{c as shouldCacheComponent,a as processKeepAliveDirectives,g as onDeactivated,f as onActivated,e as generateKeepAliveRuntime,d as generateKeepAliveCSS,b as createKeepAliveCache};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{l as a,m as b,n as c}from"./chunk-q9n5swx7.js";import"./chunk-
|
|
2
|
+
import{l as a,m as b,n as c}from"./chunk-q9n5swx7.js";import"./chunk-trtm887x.js";export{c as updateContextTree,b as updateContextStoryFiles,a as createContext};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{bj as a,cj as b}from"./chunk-b6jhznkh.js";import"./chunk-
|
|
2
|
+
import{bj as a,cj as b}from"./chunk-b6jhznkh.js";import"./chunk-trtm887x.js";export{a as processTeleportDirectives,b as ensureTeleportTargets};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$ as Gk,$a as sm,$b as Kn,$c as Lo,$d as Lp,A as qj,Aa as Dl,Ab as cn,Ac as ko,Ad as kp,Ae as qq,B as rj,Ba as El,Bb as dn,Bc as lo,Bd as lp,Be as rq,C as sj,Ca as Fl,Cb as en,Cc as mo,Cd as mp,Ce as sq,D as tj,Da as Sl,Db as fn,Dc as no,Dd as np,De as tq,E as jk,Ea as Tl,Eb as gn,Ec as oo,Ed as op,Ee as uq,F as kk,Fa as Ul,Fb as hn,Fc as po,Fd as pp,Fe as vq,G as lk,Ga as Vl,Gb as jn,Gc as qo,Gd as qp,Ge as wq,H as mk,Ha as Wl,Hb as kn,Hc as ro,Hd as rp,He as xq,I as nk,Ia as _l,Ib as ln,Ic as so,Id as sp,Ie as yq,J as ok,Ja as $l,Jb as mn,Jc as to,Jd as tp,Je as zq,K as pk,Ka as am,Kb as nn,Kc as uo,Kd as up,Ke as Aq,L as qk,La as bm,Lb as on,Lc as vo,Ld as vp,Le as Bq,M as rk,Ma as cm,Mb as pn,Mc as wo,Md as wp,Me as Cq,N as sk,Na as dm,Nb as qn,Nc as xo,Nd as xp,Ne as Dq,O as tk,Oa as em,Ob as xn,Oc as yo,Od as yp,Oe as Eq,P as uk,Pa as fm,Pb as yn,Pc as zo,Pd as zp,Pe as Fq,Q as vk,Qa as gm,Qb as zn,Qc as Ao,Qd as Ap,Qe as Gq,R as wk,Ra as hm,Rb as An,Rc as Bo,Rd as Bp,Re as Hq,S as xk,Sa as im,Sb as Bn,Sc as Co,Sd as Cp,Se as Iq,T as yk,Ta as jm,Tb as Cn,Tc as Do,Td as Dp,Te as Jq,U as zk,Ua as km,Ub as Dn,Uc as Eo,Ud as Ep,Ue as Kq,V as Ak,Va as lm,Vb as En,Vc as Fo,Vd as Fp,Ve as Lq,W as Bk,Wa as mm,Wb as Fn,Wc as Go,Wd as Gp,We as Mq,X as Ck,Xa as nm,Xb as Gn,Xc as Ho,Xd as Hp,Xe as Nq,Y as Dk,Ya as pm,Yb as Hn,Yc as Io,Yd as Ip,Z as Ek,Za as qm,Zb as In,Zc as Jo,Zd as Jp,_ as Fk,_a as rm,_b as Jn,_c as Ko,_d as Kp,aa as Hk,ab as tm,ac as Ln,ad as Mo,ae as Mp,ba as Ik,bb as um,bc as Mn,bd as No,be as Np,ca as Jk,cb as vm,cc as Nn,cd as Oo,ce as Op,da as Kk,db as wm,dc as On,dd as Po,de as Pp,ea as Lk,eb as xm,ec as Pn,ed as Qo,ee as Qp,fa as Mk,fb as ym,fc as Qn,fd as Ro,fe as Rp,ga as Nk,gb as zm,gc as Rn,gd as So,ge as Sp,ha as Ok,hb as Am,hc as Sn,hd as To,he as Tp,ia as Pk,ib as Bm,ic as Tn,id as Uo,ie as Up,ja as Qk,jb as Cm,jc as Un,jd as Vo,je as Vp,ka as Rk,kb as Dm,kc as Vn,kd as Wo,ke as Wp,la as Sk,lb as Em,lc as Wn,ld as Xo,le as Xp,ma as Tk,mb as Fm,mc as Xn,md as Yo,me as Yp,na as Uk,nb as Gm,nc as Yn,nd as Zo,ne as Zp,o as a,oa as Vk,ob as Hm,oc as Zn,od as _o,oe as _p,p as bj,pa as Wk,pb as Km,pc as _n,pd as $o,pe as fq,q as cj,qa as tl,qb as Lm,qc as $n,qd as ap,qe as gq,r as dj,ra as ul,rb as Mm,rc as ao,rd as bp,re as hq,s as ej,sa as vl,sb as Nm,sc as bo,sd as cp,se as iq,t as fj,ta as wl,tb as Tm,tc as co,td as dp,te as jq,u as gj,ua as xl,ub as Um,uc as eo,ud as ep,ue as kq,v as hj,va as yl,vb as Vm,vc as fo,vd as fp,ve as lq,w as ij,wa as zl,wb as Wm,wc as go,wd as gp,we as mq,x as jj,xa as Al,xb as $m,xc as ho,xd as hp,xe as nq,y as oj,ya as Bl,yb as an,yc as io,yd as ip,ye as oq,z as pj,za as Cl,zb as bn,zc as jo,zd as jp,ze as pq}from"./chunk-bmpkpgx2.js";import{$e as un,Ye as rn,Ze as sn,_e as tn,af as vn,bf as wn}from"./chunk-jsndbe2q.js";import{cf as Im,df as Jm}from"./chunk-9xh78snm.js";import{ef as Om}from"./chunk-9kf4q3ec.js";import{ff as sl}from"./chunk-vydqh4xr.js";import{gf as Xl,hf as Yl,if as Zl,jf as om,kf as Pm,lf as Qm,mf as Rm,nf as Sm,of as Xm,pf as Ym,qf as Zm,rf as _m}from"./chunk-syy7d9w2.js";import{Af as Cj,Bf as Dj,Cf as Ej,Df as Fj,Ef as Gj,Ff as Hj,Gf as Ij,sf as uj,tf as vj,uf as wj,vf as xj,wf as yj,xf as zj,yf as Aj,zf as Bj}from"./chunk-fnkxbnka.js";import{Hf as Zj,If as _j,Jf as $j,Kf as ak,Lf as bk,Mf as ck,Nf as dk,Of as ek,Pf as fk,Qf as gk,Rf as hk,Sf as ik}from"./chunk-1mhc4g86.js";import{Tf as Xj,Uf as Yj}from"./chunk-1e25ksp6.js";import{Vf as Si,Xf as Ti}from"./chunk-9b82d4g5.js";import{bg as Jj,cg as Kj,dg as Lj,eg as Mj,fg as Nj,gg as Oj,hg as Pj,jg as Qj,kg as Rj,lg as Sj,mg as Tj,ng as Uj,og as Vj,rg as Wj}from"./chunk-ygr11tgz.js";import{sg as hl,tg as il,ug as jl,vg as kl,wg as nl,xg as rl}from"./chunk-44423f7c.js";import{Bg as ml,yg as ll}from"./chunk-ndnc7k2n.js";import{Jg as Xk,Kg as Yk,Lg as Zk,Mg as _k,Ng as $k,Og as al,Pg as bl,Qg as cl,Rg as ol,Sg as pl,Tg as ql}from"./chunk-5gb0zjx0.js";import{$g as Nl,Ug as Gl,Vg as Hl,Wg as Il,Xg as Jl,Yg as Kl,Zg as Ll,_g as Ml,ah as Ol,bh as Pl,ch as Ql,dh as Rl}from"./chunk-st5qggks.js";import{eh as Gg}from"./chunk-z2sp0k8d.js";import{fh as Ng,gh as Og,hh as Pg,ih as Qg,jh as Rg,kh as Sg}from"./chunk-910sy8sk.js";import{lh as fi,mh as gi,nh as hi,rh as ii,sh as ji,th as ki}from"./chunk-mkm91b6w.js";import{Ah as wi,Bh as xi,Ch as yi,Dh as zi,Eh as Ai,uh as qi,vh as ri,wh as si,xh as ti,yh as ui,zh as vi}from"./chunk-e0460y7f.js";import{Fh as Xh,Gh as Yh,Hh as Zh,Ih as _h,Jh as $h,Lh as ai,Mh as bi,Nh as ci,Oh as di,Ph as ei}from"./chunk-q8szpd6w.js";import{Qh as Tf,Rh as Uf,Sh as Vf,Th as Wf,Uh as Xf}from"./chunk-w0ng9e1m.js";import{Vh as Yf,Wh as Zf,Xh as _f,Yh as $f,Zh as ag}from"./chunk-x13f5bbe.js";import{$h as cg,_h as bg,ai as dg,bi as eg,ci as fg,di as gg,ei as hg}from"./chunk-ymccpdg6.js";import{fi as ig,gi as jg,hi as kg,ii as lg,ji as mg,ki as ng}from"./chunk-vgk5v31k.js";import{mi as og,ni as pg,oi as qg,pi as rg,qi as sg,ri as tg,si as ug,ti as vg,ui as wg,vi as xg,wi as yg,xi as zg,yi as Ag,zi as Bg}from"./chunk-n8zpm7xb.js";import{Bi as Cg,Ci as Dg,Di as Eg,Ei as Fg}from"./chunk-y4hkqsgw.js";import{Ji as sf,Ki as tf,Li as uf,Mi as vf,Ni as wf,Oi as xf,Pi as yf,Qi as zf,Ri as Af,Si as Bf,Ti as Cf}from"./chunk-evxg9pe7.js";import{Ui as Hf,Vi as If}from"./chunk-12n9mz15.js";import{Yi as Jf}from"./chunk-abzhv6v3.js";import"./chunk-ht51fz7w.js";import{aj as Kf}from"./chunk-fvjh7rx0.js";import{bj as Lf,cj as Mf}from"./chunk-b6jhznkh.js";import{dj as Nf,ej as Of,fj as Pf,gj as Qf,hj as Rf,ij as Sf}from"./chunk-hyrjade7.js";import{jj as Fd,kj as Gd,lj as Hd,mj as Id,nj as Jd,oj as Kd,pj as Ld,qj as Md,rj as Nd,sj as Od,tj as Pd,uj as Qd,vj as Rd,wj as Sd}from"./chunk-cm0ykjs1.js";import{xj as qf,yj as rf}from"./chunk-whq99ytc.js";import{Fj as bf,Gj as cf,Hj as df,Ij as ef,Jj as ff,Kj as gf,Lj as hf,Mj as jf,Nj as kf,Oj as lf,Pj as mf,Qj as nf,Rj as of,Sj as pf}from"./chunk-3es366z4.js";import{kk as $p,lk as aq,mk as bq,nk as cq,ok as dq,pk as eq}from"./chunk-xm6kwq2r.js";import{qk as kj,rk as lj,sk as mj,tk as nj,uk as dl,vk as el,wk as fl,xk as gl}from"./chunk-ycn1vnv2.js";import"./chunk-yckd6ks5.js";import"./chunk-zgvga8rc.js";import{$l as Ka,$m as Mb,$n as ad,$o as fe,$q as Kh,Al as ia,Am as mb,An as lc,Ao as Bd,Ap as Ge,Aq as ah,Ar as Ki,Bn as mc,Bo as Cd,Bp as He,Bq as bh,Br as Li,Cm as nb,Cn as nc,Co as Dd,Cp as Ie,Cq as ch,Cr as Mi,Dl as ja,Dm as ob,Dn as oc,Do as Ed,Dp as Je,Dq as dh,Dr as Ni,El as ka,Em as pb,En as pc,Ep as Ke,Eq as eh,Er as Oi,Fl as la,Fm as qb,Fn as qc,Fo as Td,Fp as Le,Fq as fh,Fr as Pi,Gl as ma,Gm as rb,Gn as rc,Gp as Me,Gq as gh,Gr as Qi,Hl as na,Hm as sb,Hn as sc,Hp as Ne,Hq as hh,Hr as Ri,Im as tb,In as tc,Ip as Oe,Iq as rh,Ir as Ui,Jm as ub,Jn as uc,Jp as Pe,Jq as sh,Jr as Vi,Kl as qa,Km as vb,Kn as vc,Kp as Qe,Kq as th,Kr as Wi,Ll as ra,Lm as wb,Ln as wc,Lp as Re,Lq as uh,Lr as Xi,Ml as ya,Mm as xb,Mn as xc,Mo as Ud,Mp as Se,Mq as vh,Mr as Yi,Nl as za,Nm as yb,Nn as yc,Np as Te,Nq as wh,Nr as Zi,Ol as Aa,Om as zb,On as zc,Oo as Vd,Op as Ue,Oq as xh,Or as _i,Pl as Ba,Pm as Ab,Pn as Ac,Pp as Ve,Pq as yh,Pr as $i,Ql as Ca,Qm as Bb,Qn as Bc,Qo as Wd,Qp as We,Qq as zh,Qr as aj,Rl as Da,Rm as Cb,Rn as Cc,Ro as Xd,Rp as Xe,Rq as Ah,Sl as Ea,Sm as Db,Sn as Dc,So as Yd,Sp as Ye,Sq as Bh,Tl as Fa,Tm as Eb,Tn as Ec,To as Zd,Tp as Ze,Tq as Ch,Ul as Ga,Um as Fb,Un as Fc,Uo as _d,Up as _e,Uq as Dh,Vm as Gb,Vn as Gc,Vo as $d,Vp as $e,Vq as Eh,Wm as Hb,Wn as Hc,Wo as ae,Wp as af,Wq as Fh,Xm as Ib,Xn as Ic,Xo as be,Xq as Gh,Yl as Ha,Ym as Jb,Yn as Zc,Yo as ce,Yp as Df,Yq as Hh,Zl as Ia,Zm as Kb,Zn as _c,Zo as de,Zq as Ih,_l as Ja,_m as Lb,_n as $c,_o as ee,_q as Jh,am as La,an as Nb,ao as bd,ap as ge,ar as Lh,bm as Ma,bn as Ob,bo as cd,bp as he,br as Mh,cn as Pb,co as dd,cp as ie,cr as Nh,dl as s,dn as Qb,do as ed,dp as je,dr as Oh,el as t,em as Na,en as Rb,eo as fd,ep as ke,er as Ph,fl as u,fm as Oa,fn as Sb,fo as gd,fp as le,fr as Qh,gl as v,gm as Pa,gn as Tb,go as hd,gp as me,gr as Rh,hl as w,hm as Qa,hn as Ub,ho as id,hp as ne,hr as Sh,il as x,im as Ra,in as Vb,io as jd,ip as oe,iq as Ef,ir as Th,jl as y,jm as Sa,jn as Wb,jo as kd,jp as pe,jq as Ff,jr as Uh,kl as z,km as Ta,kn as Xb,ko as ld,kp as qe,kq as Gf,kr as Vh,ll as A,lm as Ua,ln as Yb,lo as md,lp as re,lq as Hg,lr as Wh,ml as B,mm as Va,mn as Zb,mo as nd,mp as se,mq as Ig,mr as li,nl as C,nm as Wa,nn as _b,no as od,np as te,nq as Jg,nr as mi,ol as D,om as Xa,on as $b,oo as pd,op as ue,oq as Kg,or as ni,pl as E,pm as Ya,pn as ac,po as qd,pp as ve,pq as Lg,pr as oi,ql as F,qm as Za,qn as bc,qo as rd,qp as we,qq as Mg,qr as pi,rl as G,rm as _a,rn as cc,ro as sd,rp as xe,rq as Tg,rr as Bi,sl as H,sm as $a,sn as dc,so as td,sp as ye,sq as Ug,sr as Ci,tl as I,tn as ec,to as ud,tp as ze,tq as Vg,tr as Di,ul as J,um as gb,un as fc,uo as vd,up as Ae,uq as Wg,ur as Ei,vl as da,vm as hb,vn as gc,vo as wd,vp as Be,vq as Xg,vr as Fi,wl as ea,wm as ib,wn as hc,wo as xd,wp as Ce,wq as Yg,wr as Gi,xl as fa,xm as jb,xn as ic,xo as yd,xp as De,xq as Zg,xr as Hi,yl as ga,ym as kb,yn as jc,yo as zd,yp as Ee,yq as _g,yr as Ii,zl as ha,zm as lb,zn as kc,zo as Ad,zp as Fe,zq as $g,zr as Ji}from"./chunk-n9eahkjg.js";import{$r as n,Rr as d,Sr as e,Tr as f,Ur as g,Vr as h,Wr as i,Xr as j,Yr as k,Zr as l,_r as m,as as o,bs as p,cs as q,ds as r}from"./chunk-8src5smc.js";import{es as b,fs as c}from"./chunk-gcnrdgrq.js";import{gs as oa,hs as pa}from"./chunk-xp3fp266.js";import{is as ih,js as jh,ks as kh,ls as lh,ms as mh,ns as nh,os as oh,ps as ph,qs as qh}from"./chunk-nye9brje.js";import{Es as db,Fs as eb,Gs as fb,rs as ab,ss as bb,us as cb}from"./chunk-jvqjh17y.js";import{Hs as sa,Is as ta,Js as ua,Ks as va,Ls as wa,Ms as xa}from"./chunk-cbc56wpd.js";import{$s as Xc,Ns as Jc,Os as Kc,Ps as Lc,Qs as Mc,Rs as Nc,Ss as Oc,Ts as Pc,Us as Qc,Vs as Rc,Ws as Sc,Xs as Tc,Ys as Uc,Zs as Vc,_s as Wc,at as Yc}from"./chunk-x0zh76yv.js";import"./chunk-0ae6chzd.js";import"./chunk-kjr22neh.js";import{Ft as P,Gt as Q,Ht as R,It as S,Jt as T,Kt as U,Lt as V,Mt as W,Nt as X,Ot as Y,Pt as Z,Qt as _,Rt as $,St as aa,Tt as ba,Vt as ca,pt as K,qt as L,tt as M,yt as N,zt as O}from"./chunk-3952ykhb.js";import"./chunk-dtmwr674.js";import"./chunk-pw0rzgpv.js";export{Ej as writeNetlifyConfig,pl as writeManifest,hk as writeImageManifest,Gn as wrapComponentForHMR,Aq as withDefaults,Ri as webComponentDirectiveHandler,wo as watermark,yp as watchViews,rk as watchMultiple,sk as watchEffect,qk as watch,Gk as waitForStore,wd as waitForLocale,sn as virtualPathFor,Ei as videoDirective,Tb as validators,Eq as validated,id as validateValueEnhanced,Ig as validateTemplate,Bo as validateParams,jd as validateFormEnhanced,np as validateFile,ed as validateFields,dd as validateField,Kg as validateDirective,Dc as validateCspDirectives,Zi as validateConfig,ul as validateComponentScripts,Sl as validateComponentProps,Gf as validateClientScript,Fg as v,Ua as usesSignalsInScript,Xg as userComponentFileExists,lg as useVirtualList,Rc as useTitle,Fk as useStoreOrThrow,Yn as useStore,oj as useStorage,Jp as useSlots,qj as useSessionStorage,Oc as useSeoMeta,Hk as useRouteParams,Jk as useRouteParamOrThrow,Ik as useRouteParam,Rc as usePageTitle,pf as useOptimistic,Lk as useMiddlewareValue,Kk as useMiddlewareState,pj as useLocalStorage,zn as useLoadingIndicator,Mc as useHead,Cg as useForm,Lp as useAttrs,pp as uploadFiles,op as uploadFile,Bk as updateInstance,nf as untrack,lh as unregisterDirective,Ck as unmountInstance,$a as unescapeHtml,vn as typecheckStxFiles,Wg as transpileTypeScript,oq as translate,w as transitionDirective,Ml as toUsers,Ll as toUser,fo as thumbnail,gp as thumbHashToRGBA,hp as thumbHashToDataURL,sf as templateCache,Dn as stxClientHelpers,me as structuredDataDirective,rq as stripLocalePrefix,al as stripDocumentWrapper,pa as stripCommentsAndLiterals,ym as stringToStream,rc as strictCspPreset,Nd as streamingSuspenseDirective,Rd as streamToResponse,Ld as streamTemplateSimple,Fd as streamTemplate,jj as stopHmrServer,Il as stopBroadcasting,va as stateDirName,wa as stateDir,bf as state,Xe as startsDocument,_m as startProductionServer,Om as startInteractive,Hl as startBroadcasting,D as staggerDirective,zo as srcsetUrls,E as springDirective,ac as splitByPipe,tn as sourcePathFor,Go as smartBatchSign,Zg as slotContentHasExpressions,Eo as signUrl,Ug as shouldTranspileTypeScript,gj as shouldReloadOnChange,Jo as shouldRefreshSignature,hj as shouldIgnoreFile,dg as shouldCacheComponent,jo as sharpen,Hq as shape,ua as setStateDir,Pk as setRouteParams,Qk as setMiddlewareState,Dp as setGlobalProvide,ob as setErrorLocale,jk as setCurrentInstance,si as setCachedVideoResult,hi as setCachedImageResult,bi as setCached,Kq as serveStxFile,Mq as serveMultipleStxFiles,bj as serveMarkdownFile,jn as serveFile,Nq as serveApp,hn as serve,Jn as serializeState,om as serializeSetCookie,lo as sepia,Pc as seoMetaToHeadConfig,x as scrollAnimateDirective,q as screenReaderDirective,Ii as scopeHTML,Hi as scopeCSS,pe as scanForSitemapEntries,k as scanA11yTargets,l as scanA11yIssues,po as saturation,Co as sanitizeParams,Vb as sanitizeFilePath,Wb as sanitizeExpression,Xb as sanitizeDirectiveParams,Ub as sanitizeDirectiveParam,Yb as sanitizeComponentProps,Ob as safeExecuteAsync,Nb as safeExecute,fe as runPreProcessingMiddleware,ge as runPostProcessingMiddleware,Rm as runPageAction,hf as runMountCallbacks,ba as runMiddleware,zk as runHooks,hq as runDoctor,jf as runDestroyCallbacks,ue as runComposers,qo as rotate,Gg as rewriteImagesWithSiblings,bh as resolveTemplatePath,c as resolveStxTargets,Vi as resolveStxDirectories,nq as resolveI18n,co as resize,Ha as resetPlaceholders,Lc as resetHead,In as resetHMRHandler,Bb as resetErrorConfig,Cq as required,La as replacePlaceholders,wp as renderView,Bi as renderVideoComponent,za as renderVendorStyleTags,Sp as renderToString,Tp as renderToStream,Up as renderToDOM,fp as renderThumbhashToCanvas,eq as renderTemplateString,cq as renderTemplate,dq as renderString,Id as renderStreamingPage,Pg as renderSlot,Vf as renderSSRSuspense,Ro as renderProtectedVideo,Qo as renderProtectedImg,Do as renderMediaUpload,bq as renderMarkdownView,fl as renderLayoutTypes,li as renderImgComponent,Zj as renderImageComponent,Tc as renderHtmlAttrs,Sc as renderHead,zp as renderEmail,$g as renderComponentWithSlot,Uc as renderBodyAttrs,Tn as render,tc as relaxedCspPreset,cd as registerValidationRule,Pd as registerStreamingDirectives,_n as registerStoresClient,Nk as registerStore,ne as registerSeoDirectives,V as registerMiddleware,Pa as registerFilters,Oa as registerFilter,qb as registerErrorMessages,hd as registerEnhancedValidationRule,ih as registerDirective,Cc as registerCspDirectives,Vl as registerComponentDirectives,J as registerAnimationDirectives,r as registerA11yDirectives,nk as ref,Gm as redirect,xa as rebaseOntoStateDir,$i as readMarkdownFile,tf as readFileCached,ok as reactive,uo as quality,Oo as pruneSignatureCache,ei as pruneCache,Bp as provide,aq as protectCodeBlocks,Bq as prop,ye as processVueTemplate,jg as processVirtualListDirectives,ng as processVirtualGridDirectives,Ai as processVideo,fd as processValidateDirective,Dd as processTranslateDirective,Pf as processTransitionDirectives,Sf as processTransitionAttributes,Xc as processTitleDirective,jb as processTemplateBindings,Lf as processTeleportDirectives,Tf as processSuspenseDirectives,ie as processStructuredData,Jd as processStreamDirectives,Ag as processStaticDirectives,de as processStackReplacements,ce as processStackPushDirectives,Qg as processSlots,_k as processShell,we as processServerBindings,je as processSeoDirective,Qd as processSectionDirectives,Be as processScopedStyles,hb as processReactiveBindings,So as processProtectedMedia,tg as processPartialHydrationDirectives,Ff as processOnceDirective,ee as processMiddleware,he as processMetaDirectives,Yc as processMetaDirective,aj as processMarkdownFileDirectives,gh as processMarkdownDirectives,Zd as processLoops,bg as processKeepAliveDirectives,Ef as processJsonDirective,mg as processInfiniteListDirectives,be as processIncludes,ni as processImgComponents,$j as processImageComponents,Oj as processImage,Wc as processHeadDirective,_c as processForms,ad as processFormInputDirectives,Ya as processExpressions,ma as processEventDirectives,bd as processErrorDirective,ze as processDynamicComponents,Hg as processDirectives,qh as processDirectiveAttributes,Kf as processDeferDirectives,Hc as processCustomDirectives,zc as processCspDirectives,Iq as processComponentProps,Ga as processClientScript,$c as processBasicFormDirectives,Yf as processAsyncDirectives,Ic as processAppearanceBootstrapDirective,A as processAnimationDirectives,f as processA11yDirectives,sd as preloadTranslationsBackground,rd as preloadTranslations,yn as preloadIslandHandlers,Td as preloadIconCollection,Dl as poolStrings,Ti as pluginManager,Of as performLeave,Nf as performEnter,kf as pendingLifecycleCounts,of as peek,_d as partialsCache,Ci as parseVideoDirectiveOptions,ao as parseUrl,ip as parseThumbhashString,gc as parseSwitchBlock,Ng as parseSlots,Og as parseSlotElement,lc as parseScriptDeclarations,Pi as parseSFCComponent,To as parseProtectedArgs,Yd as parseLoopBinding,mi as parseImgComponent,Eh as parseImageUrl,_j as parseImageComponent,Pm as parseFormBody,ic as parseExpressionWithFilters,Dm as parseCookies,_l as parseContainerSelector,dc as parseConditionalBlock,jc as parseArguments,H as parseAnimationShorthand,Dq as optional,El as optimizeTemplate,ek as optimizeImage,fk as optimizeDirectory,Fq as oneOf,$d as onceStore,wk as onUpdated,gb as onUpdate,yk as onUnmounted,Uk as onServer,uk as onMounted,ff as onMount,zg as onHydrated,Hp as onErrorCaptured,gf as onDestroy,hg as onDeactivated,Tk as onClient,vk as onBeforeUpdate,xk as onBeforeUnmount,tk as onBeforeMount,gg as onActivated,bp as observeElement,Hm as notFound,Ge as normalizeCriticalHeadOrder,Gp as nextTick,Yl as negotiateEncoding,P as navigateTo,Ak as mountInstance,z as motionDirective,sc as moderateCspPreset,Cl as minifyHtml,le as metaDirective,Qe as metaDedupKey,bo as mergeParams,Se as mergeHtmlAttrs,Nc as mergeHeadConfigs,wc as mergeCspDirectives,bb as mergeCrosswindConfig,M as matchRoute,hh as markdownDirectiveHandler,_i as markdownCache,b as looksLikeGlob,qq as localizePath,td as loadTranslationLazy,zd as loadTranslation,Wi as loadStxConfig,_ as loadMiddlewareFromDirectory,ql as loadManifest,Zo as loadElement,Jl as loadChannels,wq as lintStxStrict,$o as lazyLoadAll,_o as lazyLoad,C as keyframeDirective,Qp as jsxs,Rp as jsxDEV,Pp as jsx,Fm as jsonResponse,Od as islandDirective,yb as isTest,bl as isSpaNavigation,Ho as isSignatureValid,lf as isSignal,Mj as isSharpAvailable,rm as isServerEnvironment,Rk as isServer,wb as isProduction,d as isPresentationalRole,Wo as isNativeLazySupported,$p as isMarkdownPath,pd as isLoading,qd as isLoaded,Tg as isJavaScriptScript,Xo as isIntersectionObserverSupported,Uj as isImageFile,Nj as isImageBackendAvailable,Bd as isICUFormat,yg as isHydrated,Yg as isHydrateTrigger,qm as isEdgeEnvironment,xq as isDirectiveKind,xb as isDevelopment,mf as isDerived,fj as isCssOnlyChange,Xl as isCompressible,Sk as isClient,_f as isAsyncComponent,Qm as isActionableMethod,mo as invert,vf as invalidateFileCacheByDir,uf as invalidateFileCache,Xa as interpolateScriptsInTemplate,Va as interpolateScriptExpressions,Wa as interpolateScriptAttributes,Kb as inlineError,mq as injectThemeBootstrap,ke as injectSeoTags,jq as injectSeo,Df as injectRouterScript,ej as injectHotReload,fa as injectHeatmap,xc as injectCspMetaTag,fb as injectCrosswindCSS,Ze as injectConfigHeadTags,Fe as injectColorModeBootScript,Ue as injectCloakStyle,Me as injectBuildId,Ba as injectBrowserCoreAutoImports,lb as injectAnalytics,Cp as inject,Mk as initStoreRegistry,Hj as initNetlify,An as initLoadingIndicator,Yo as initLazyLoading,Nm as initFile,ep as initBlurUp,kp as initAllBlurUp,pi as imgDirective,ck as imageDirective,Ym as hydrateTemplateStream,Xm as hydrateTemplate,xn as hydrateIslands,vg as hydrateIsland,Zm as hydrateFragment,wg as hydrateByStrategy,xg as hydrateAll,Qn as hydrate,gn as htmlResponse,Ve as hoistLeadingHeadTags,He as hoistColorModeBootScript,ga as heatmapDirective,Zh as hashString,Cf as hashFilePath,Xh as hashFile,Yh as hashBuffer,xe as hasVueTemplateSyntax,Xd as hasVariables,Vn as hasStore,Ma as hasPlaceholders,Fj as hasNetlifyConfig,X as hasMiddleware,na as hasEventDirectives,Ye as hasDocumentShell,Lg as hasDirectives,h as hasDOMSupport,Xj as handleImageRequest,Ip as handleError,Yp as h,Tj as groupVariantsByFormat,ko as grayscale,$m as gitHash,wl as getUnusedDirectives,ud as getTranslationSync,nd as getTranslationCacheStats,vd as getTranslationAsync,Cd as getTranslation,Aj as getTotalSize,Io as getTimeUntilExpiry,Hf as getStoreScript,Wn as getStoreNames,Un as getStore,tj as getStorageSize,sj as getStorageKeys,ch as getSourceLineInfo,Vg as getSharedTranspiler,g as getScreenReaderOnlyStyle,Ji as getScopeAttribute,af as getRouteParams,qa as getPublicEnvDefine,ra as getPublicEnv,Jg as getPositionInfo,Ja as getPlaceholderRegistry,Wh as getPlaceholderCacheStats,Kc as getPageMeta,nc as getNonce,Vj as getMimeType,Z as getMiddlewareNames,W as getMiddleware,od as getLoadingState,xd as getLoadingLocales,Pj as getImageMetadata,Pn as getHydrationRuntime,Ok as getHydratedStoreState,ij as getHmrServer,Jc as getHead,Hn as getHMRHandler,Ih as getFormatExtension,$h as getFileMtime,Sj as getFallbackVariant,sb as getErrorMessage,pb as getErrorLocale,Ab as getErrorConfig,vb as getErrorCodeName,kh as getDirectives,jh as getDirective,kk as getCurrentInstance,vc as getCspPreset,Ec as getCspHeaderName,cb as getCrosswindServeAsset,fh as getComponentCacheStats,ri as getCachedVideoResult,Mo as getCachedSignature,xf as getCachedSignalsRuntime,yf as getCachedRouterScript,Uh as getCachedPlaceholder,gi as getCachedImageResult,ai as getCached,di as getCacheStats,Ke as getBuildId,Gl as getBroadcastServer,Hh as getBestVariant,Qa as getAllFilters,vh as generateWidthSrcset,kg as generateVirtualListCSS,rp as generateVideoPreview,kd as generateValidationScript,sp as generateUploadRuntime,xl as generateTreeShakenBundle,Rf as generateTransitionRuntime,Qf as generateTransitionCSS,vi as generateThumbnails,Nh as generateThumbhashPlaceholder,hm as generateTemplatesDocs,Xf as generateSuspenseRuntime,Wf as generateSuspenseCSS,Kn as generateStateScript,Fh as generateSrcsetData,ki as generateSrcset,Qj as generateSrcSet,wi as generateSpriteSheet,Ap as generateSpaShell,Gh as generateSourceTags,Bh as generateSizesFromBreakpoints,Ah as generateSizesAttribute,Rj as generateSizes,oe as generateSitemapIndex,kq as generateSitemap,Vo as generateSimpleMediaPicker,Po as generateSignatureRuntime,rf as generateSignalsRuntimeDev,qf as generateSignalsRuntime,Fa as generateServerDataBridge,Gi as generateScopeId,Qi as generateSFCWebComponent,ka as generateRuntimeScript,K as generateRouteTypes,L as generateRouteManifest,qe as generateRobotsTxt,lq as generateRobots,ji as generateResponsiveVariants,Mi as generateReactiveWebComponentTS,Li as generateReactiveWebComponent,Oi as generateReactiveRuntime,Ni as generateReactiveMixin,ui as generatePoster,Th as generatePlaceholderStyle,Sh as generatePlaceholderCSS,Mh as generatePlaceholder,ug as generatePartialHydrationCSS,mc as generateNonce,Bj as generateNetlifyToml,up as generateMinifiedMediaRuntime,tp as generateMediaRuntime,Uo as generateMediaManagerEmbed,ol as generateManifest,Cn as generateLoadingIndicatorHtml,dp as generateLazyLoadRuntime,gl as generateLayoutTypes,Ph as generateLQIP,fg as generateKeepAliveRuntime,eg as generateKeepAliveCSS,Bg as generateIslandManifest,qp as generateImagePreview,gk as generateImageManifest,On as generateHydrationScript,Sd as generateHydrationRuntime,Rn as generateHydrationCSS,og as generateHydrationBootstrap,dj as generateHotReloadScript,ea as generateHeatmapScript,Fn as generateHMRClientScript,xi as generateHLSManifest,Ln as generateEventBindings,zh as generateDprSrcsetWithVariableQuality,yh as generateDprSrcset,We as generateDocumentShell,mm as generateDocs,im as generateDirectivesDocs,ph as generateDirectiveRuntime,re as generateDefaultRobotsTxt,yi as generateDASHManifest,qc as generateCspMetaTag,pc as generateCspHeader,eb as generateCrosswindCSS,Np as generateCompositionRuntime,gm as generateComponentsDocs,pg as generateComponentManifest,em as generateComponentDoc,Rh as generateColorPlaceholder,Ee as generateColorModeBootScript,Dk as generateClientRuntime,_h as generateCacheKey,Da as generateBrowserAutoImportDestructuring,lp as generateBlurUpRuntime,mp as generateBlurUpCSS,ib as generateBindingsRuntime,wh as generateAutoWidthSrcset,Ca as generateAutoImportDestructuring,ag as generateAsyncComponentRuntime,$f as generateAsyncComponentCSS,I as generateAnimationRuntime,G as generateAnimationCSS,kb as generateAnalyticsScript,wn as formatTypecheckDiagnostics,qn as formatTypeErrors,Km as formatStxContent,zj as formatSize,O as formatRoutes,Lm as formatMarkdownContent,tb as formatLocalizedError,Ad as formatICU,Cb as formatFilePath,Jb as formatError,iq as formatDoctorReport,jm as formatDocsAsMarkdown,lm as formatDocsAsJson,km as formatDocsAsHtml,to as format,Bl as foldConstants,so as flipVertical,ro as flipHorizontal,hl as fingerprint,un as findRuntimeTypeDeclarations,gq as findPantryPackage,cc as findMatchingEndTag,_b as findMatchingDelimiter,oa as findInterpolationEnd,ec as findIfBlocks,hc as findExpressions,N as findErrorPage,fc as findDirectiveBlocks,yl as findDeadCode,yl as findDeadBranches,$l as findContainerRegion,fm as findComponentFiles,Lq as findCommonDir,yj as filterRequiredFiles,ah as fileExists,Ud as extractVariables,ml as extractTemplateExpressions,Kd as extractStreamBoundaries,Mn as extractState,Rg as extractSlotContent,Wd as extractScriptFromTemplate,ll as extractScriptBlocks,Ka as extractPlaceholders,bc as extractParenthesizedExpression,Ek as extractPageResponseStatus,ca as extractLayoutMetadata,Qh as extractDominantColor,kc as extractDirectiveParams,Mg as extractDirectiveNames,cl as extractContainerContent,cm as extractComponentProps,qg as extractComponentName,dm as extractComponentDescription,db as extractClassNames,Ea as extractBridgeData,rg as extractBoundProps,$b as extractBalancedExpression,ya as extractAndStripCssImports,Ki as extractAndScopeStyles,la as extractAndProcessEvents,mj as externalizeSharedAssets,nj as externalizeRepeatedAssets,lj as externalizeHtml,_a as evaluateExpression,Al as evaluateConstant,nb as evaluateAuthExpression,Ta as escapeHtmlValue,Sa as escapeHtml,Pb as errorRecovery,Rb as errorLogger,Mf as ensureTeleportTargets,_e as ensureDocumentShell,gd as enhancedValidationRules,am as enableDevTools,zl as eliminateDeadCode,df as effect,Ao as dprUrls,nm as docsCommand,el as discoverLayoutNames,cp as disconnectObserver,bm as disableDevTools,Sb as devHelpers,Zk as detectShell,pm as detectRuntime,Cj as detectProjectConfig,Jh as detectFormat,tl as detectBuildMode,cf as derived,Gj as deploy,Yi as defineStxConfig,Zn as defineStore,Kp as defineSlots,vq as defineSiteConfig,zq as definePropsWithValidation,yq as defineProps,Si as definePlugin,Qc as definePageMeta,R as defineMiddleware,Dg as defineForm,Fp as defineExpose,Ep as defineEmits,mh as defineDirective,_p as defineCustomElement,Wm as defineConfig,nh as defineClientDirective,Zf as defineAsyncComponent,vp as defaultMediaConfig,ik as defaultImageConfig,ld as defaultI18nConfig,da as defaultHeatmapConfig,Zc as defaultFormClasses,Na as defaultFilters,Gc as defaultCspConfig,Ui as defaultConfig,Jq as default,ab as deepMergeThemes,Ae as dedupeScopedStyles,Oh as decodeThumbhash,Bc as cspNonceDirective,Ac as cspDirective,jp as crossfadeTransition,eo as crop,ig as createVirtualList,Di as createVideoDirective,Bm as createVercelHandler,nn as createTypeChecker,Ed as createTranslateFilter,xm as createTextEncoderStream,Zp as createStxApp,wm as createStreamingResponse,Md as createStreamRenderer,Xn as createStore,U as createStorageManager,S as createServerCookieManager,mk as createScope,Uf as createSSRSuspense,$e as createRouter,$ as createRouteLocation,ln as createRoute,nk as createRef,ok as createReactive,Mp as createProvideContext,bn as createProject,Vm as createProductionBuild,Ia as createPlaceholder,Fl as createOptimizedBuild,Cm as createNetlifyHandler,uj as createNetlifyClient,aa as createMiddlewareContext,kn as createMiddleware,ap as createLazyObserver,cg as createKeepAliveCache,tm as createKVNamespace,sg as createIslandRegistry,oi as createImgDirective,dk as createImagePlugin,Yj as createImageHandler,bk as createImageDirective,ia as createHeatmapAggregator,xj as createFileManifest,sm as createEnvAccessor,Mb as createEnhancedError,vm as createEdgeHandler,um as createEdgeCache,dh as createDetailedErrorMessage,Am as createDenoHandler,Dj as createDefaultNetlifyConfig,Fc as createCspHeaders,Em as createCookie,pk as createComputed,lk as createComponentInstance,zm as createCloudflareHandler,T as createClientCookieManager,oh as createBuiltinDirectives,Zp as createApp,F as createAnimationTimeline,ho as cover,Vd as convertToCommonJS,oo as contrast,go as contain,Lb as consoleError,zb as configureErrorHandling,Xi as config,pk as computed,Zl as compressResponse,te as composerPattern,se as composer,$k as composeShellWithPage,Ul as componentDirective,_g as componentClientSignalNames,nl as compileTemplate,a as collectRepeatedFlag,wj as collectDeployFiles,ti as clearVideoCache,md as clearTranslationCache,If as clearStoreCache,rj as clearStorage,No as clearSignatureCache,Vh as clearPlaceholderCache,ae as clearOnceStore,oc as clearNonce,Y as clearMiddleware,ak as clearImageCache,rb as clearErrorMessages,zf as clearDevCaches,Ra as clearCustomFilters,ve as clearComposers,Jf as clearComposableCache,eh as clearComponentCache,ci as clearCache,Bn as cleanupLoadingIndicator,Xk as classifyScript,Yk as classifyAllScripts,on as checkTemplateFile,pn as checkTemplate,Af as checkCache,Ko as checkAuthAccess,i as checkA11yWithRegex,j as checkA11y,Pl as channel,Jm as captureScreenshots,Im as captureScreenshot,yd as cancelPendingLoads,vj as calculateSha1,xh as calculateOptimalWidths,Bf as cacheTemplate,Fi as buildWebComponents,rn as buildVirtualSource,xp as buildViews,$n as buildUrl,Gd as buildSuspenseResolveScript,uq as buildStaticSite,il as buildRuntimeAsset,jl as buildRouterAsset,tq as buildLangPickerScript,Dh as buildImageUrl,Re as buildHtmlAttrs,rl as buildForProduction,Wl as buildComponentLibrary,Lo as buildAuthParams,sl as buildApp,sq as buildAlternateLinks,Um as build,Nl as broadcastPrivate,Ol as broadcastPresence,Kl as broadcast,no as brightness,io as blur,Fo as batchSignUrls,ef as batch,n as autoFixA11yFile,o as autoFixA11yDirectory,m as autoFixA11y,vo as auto,e as attributeValue,kl as assetTags,ja as asInvocableStatement,Gq as arrayOf,pq as applyTranslations,ii as applyTransformations,Sg as applySlots,Tl as applyPropDefaults,yo as applyPreset,Te as applyHtmlAttrs,Vc as applyHead,Za as applyFilters,uc as apiCspPreset,y as animationGroupDirective,zi as analyzeVideo,vl as analyzeUsage,Vk as analyzeTemplate,Wk as analyzeProject,vl as analyzeDirectiveUsage,mb as analyticsDirective,en as addStore,dn as addPage,yc as addNonceToInlineContent,fn as addLayout,cn as addComponent,Sm as actionRedirectResponse,Q as abortNavigation,p as a11yDirective,wf as __setSignalsGeneratorsForTest,Le as __setBuildIdForTest,qi as VideoProcessorCache,Eg as Validator,s as TransitionType,u as TransitionEase,t as TransitionDirection,Zb as Tokenizer,mn as TemplateTypeChecker,Mm as TEMPLATE_PRESETS,Ib as StxValidationError,Eb as StxSyntaxError,Gb as StxSecurityError,Fb as StxRuntimeError,Hb as StxFileError,Db as StxError,Vp as Show,Hd as SUSPENSE_RESOLVER_RUNTIME,Aa as STX_AUTO_IMPORTS,ta as STATE_DIR_ENV_VAR,B as SPRING_PRESETS,Tm as ProductionBuild,Xp as Portal,an as PROJECT_TEMPLATES,xo as PRESETS,Sn as MemorySessionStore,uh as MIME_TYPES,rh as MEDIA_DEFAULT_WIDTHS,th as MEDIA_DEFAULT_FORMATS,dl as LAYOUT_TYPES_FILE,fi as ImageProcessorCache,Wj as ImageProcessingError,Nn as HydrationRuntime,cj as HotReloadServer,ha as HeatmapAggregator,Pe as HTML_CLASS_MARKER,Oe as HTML_ATTRS_MARKER,Op as Fragment,Wp as For,Qb as ErrorLogger,ub as ErrorCodes,kj as EXTERNALIZED_ASSET_DIR,Ij as DeployError,Jj as DEFAULT_WIDTHS,v as DEFAULT_TRANSITION_OPTIONS,sa as DEFAULT_STATE_DIR,Lj as DEFAULT_QUALITY,Kh as DEFAULT_PLACEHOLDER_OPTIONS,Kj as DEFAULT_FORMATS,sh as DEFAULT_DPR_VALUES,En as ComponentHMRHandler,Ch as COMMON_SIZES,Ce as COLOR_MODE_BOOT_MARKER,De as COLOR_MODE_BOOT_GLOBAL,Ne as CLOAK_STYLE,Rl as BroadcastServer,Ql as Broadcast,Ie as BUILD_ID_META,Je as BUILD_ID_HEADER,Lh as BLUR_UP_CSS,fq as $path};
|
|
2
|
+
import{$ as Gk,$a as sm,$b as Kn,$c as Lo,$d as Lp,A as qj,Aa as Dl,Ab as cn,Ac as ko,Ad as kp,Ae as qq,B as rj,Ba as El,Bb as dn,Bc as lo,Bd as lp,Be as rq,C as sj,Ca as Fl,Cb as en,Cc as mo,Cd as mp,Ce as sq,D as tj,Da as Sl,Db as fn,Dc as no,Dd as np,De as tq,E as jk,Ea as Tl,Eb as gn,Ec as oo,Ed as op,Ee as uq,F as kk,Fa as Ul,Fb as hn,Fc as po,Fd as pp,Fe as vq,G as lk,Ga as Vl,Gb as jn,Gc as qo,Gd as qp,Ge as wq,H as mk,Ha as Wl,Hb as kn,Hc as ro,Hd as rp,He as xq,I as nk,Ia as _l,Ib as ln,Ic as so,Id as sp,Ie as yq,J as ok,Ja as $l,Jb as mn,Jc as to,Jd as tp,Je as zq,K as pk,Ka as am,Kb as nn,Kc as uo,Kd as up,Ke as Aq,L as qk,La as bm,Lb as on,Lc as vo,Ld as vp,Le as Bq,M as rk,Ma as cm,Mb as pn,Mc as wo,Md as wp,Me as Cq,N as sk,Na as dm,Nb as qn,Nc as xo,Nd as xp,Ne as Dq,O as tk,Oa as em,Ob as xn,Oc as yo,Od as yp,Oe as Eq,P as uk,Pa as fm,Pb as yn,Pc as zo,Pd as zp,Pe as Fq,Q as vk,Qa as gm,Qb as zn,Qc as Ao,Qd as Ap,Qe as Gq,R as wk,Ra as hm,Rb as An,Rc as Bo,Rd as Bp,Re as Hq,S as xk,Sa as im,Sb as Bn,Sc as Co,Sd as Cp,Se as Iq,T as yk,Ta as jm,Tb as Cn,Tc as Do,Td as Dp,Te as Jq,U as zk,Ua as km,Ub as Dn,Uc as Eo,Ud as Ep,Ue as Kq,V as Ak,Va as lm,Vb as En,Vc as Fo,Vd as Fp,Ve as Lq,W as Bk,Wa as mm,Wb as Fn,Wc as Go,Wd as Gp,We as Mq,X as Ck,Xa as nm,Xb as Gn,Xc as Ho,Xd as Hp,Xe as Nq,Y as Dk,Ya as pm,Yb as Hn,Yc as Io,Yd as Ip,Z as Ek,Za as qm,Zb as In,Zc as Jo,Zd as Jp,_ as Fk,_a as rm,_b as Jn,_c as Ko,_d as Kp,aa as Hk,ab as tm,ac as Ln,ad as Mo,ae as Mp,ba as Ik,bb as um,bc as Mn,bd as No,be as Np,ca as Jk,cb as vm,cc as Nn,cd as Oo,ce as Op,da as Kk,db as wm,dc as On,dd as Po,de as Pp,ea as Lk,eb as xm,ec as Pn,ed as Qo,ee as Qp,fa as Mk,fb as ym,fc as Qn,fd as Ro,fe as Rp,ga as Nk,gb as zm,gc as Rn,gd as So,ge as Sp,ha as Ok,hb as Am,hc as Sn,hd as To,he as Tp,ia as Pk,ib as Bm,ic as Tn,id as Uo,ie as Up,ja as Qk,jb as Cm,jc as Un,jd as Vo,je as Vp,ka as Rk,kb as Dm,kc as Vn,kd as Wo,ke as Wp,la as Sk,lb as Em,lc as Wn,ld as Xo,le as Xp,ma as Tk,mb as Fm,mc as Xn,md as Yo,me as Yp,na as Uk,nb as Gm,nc as Yn,nd as Zo,ne as Zp,o as a,oa as Vk,ob as Hm,oc as Zn,od as _o,oe as _p,p as bj,pa as Wk,pb as Km,pc as _n,pd as $o,pe as fq,q as cj,qa as tl,qb as Lm,qc as $n,qd as ap,qe as gq,r as dj,ra as ul,rb as Mm,rc as ao,rd as bp,re as hq,s as ej,sa as vl,sb as Nm,sc as bo,sd as cp,se as iq,t as fj,ta as wl,tb as Tm,tc as co,td as dp,te as jq,u as gj,ua as xl,ub as Um,uc as eo,ud as ep,ue as kq,v as hj,va as yl,vb as Vm,vc as fo,vd as fp,ve as lq,w as ij,wa as zl,wb as Wm,wc as go,wd as gp,we as mq,x as jj,xa as Al,xb as $m,xc as ho,xd as hp,xe as nq,y as oj,ya as Bl,yb as an,yc as io,yd as ip,ye as oq,z as pj,za as Cl,zb as bn,zc as jo,zd as jp,ze as pq}from"./chunk-6xd5p5v3.js";import{$e as un,Ye as rn,Ze as sn,_e as tn,af as vn,bf as wn}from"./chunk-td1cz8ms.js";import{cf as Im,df as Jm}from"./chunk-9xh78snm.js";import{ef as Om}from"./chunk-y8mg8dem.js";import{ff as sl}from"./chunk-r5hnhtp1.js";import{gf as Xl,hf as Yl,if as Zl,jf as om,kf as Pm,lf as Qm,mf as Rm,nf as Sm,of as Xm,pf as Ym,qf as Zm,rf as _m}from"./chunk-1qkk4mrm.js";import{Af as Cj,Bf as Dj,Cf as Ej,Df as Fj,Ef as Gj,Ff as Hj,Gf as Ij,sf as uj,tf as vj,uf as wj,vf as xj,wf as yj,xf as zj,yf as Aj,zf as Bj}from"./chunk-fnkxbnka.js";import{Hf as Zj,If as _j,Jf as $j,Kf as ak,Lf as bk,Mf as ck,Nf as dk,Of as ek,Pf as fk,Qf as gk,Rf as hk,Sf as ik}from"./chunk-zxb128xa.js";import{Tf as Xj,Uf as Yj}from"./chunk-s7dqawk0.js";import{Vf as Si,Xf as Ti}from"./chunk-9b82d4g5.js";import{bg as Jj,cg as Kj,dg as Lj,eg as Mj,fg as Nj,gg as Oj,hg as Pj,jg as Qj,kg as Rj,lg as Sj,mg as Tj,ng as Uj,og as Vj,rg as Wj}from"./chunk-a2rj5ce0.js";import{sg as hl,tg as il,ug as jl,vg as kl,wg as nl,xg as rl}from"./chunk-81w2xqas.js";import{Bg as ml,yg as ll}from"./chunk-p7qqbw2k.js";import{Jg as Xk,Kg as Yk,Lg as Zk,Mg as _k,Ng as $k,Og as al,Pg as bl,Qg as cl,Rg as ol,Sg as pl,Tg as ql}from"./chunk-vtqej9yr.js";import{$g as Nl,Ug as Gl,Vg as Hl,Wg as Il,Xg as Jl,Yg as Kl,Zg as Ll,_g as Ml,ah as Ol,bh as Pl,ch as Ql,dh as Rl}from"./chunk-st5qggks.js";import{eh as Gg}from"./chunk-z2sp0k8d.js";import{fh as Ng,gh as Og,hh as Pg,ih as Qg,jh as Rg,kh as Sg}from"./chunk-qph3esct.js";import{lh as fi,mh as gi,nh as hi,rh as ii,sh as ji,th as ki}from"./chunk-msjzqne1.js";import{Ah as wi,Bh as xi,Ch as yi,Dh as zi,Eh as Ai,uh as qi,vh as ri,wh as si,xh as ti,yh as ui,zh as vi}from"./chunk-y2jr10y8.js";import{Fh as Xh,Gh as Yh,Hh as Zh,Ih as _h,Jh as $h,Lh as ai,Mh as bi,Nh as ci,Oh as di,Ph as ei}from"./chunk-q8szpd6w.js";import{Qh as Tf,Rh as Uf,Sh as Vf,Th as Wf,Uh as Xf}from"./chunk-w0ng9e1m.js";import{Vh as Yf,Wh as Zf,Xh as _f,Yh as $f,Zh as ag}from"./chunk-x13f5bbe.js";import{$h as cg,_h as bg,ai as dg,bi as eg,ci as fg,di as gg,ei as hg}from"./chunk-ymccpdg6.js";import{fi as ig,gi as jg,hi as kg,ii as lg,ji as mg,ki as ng}from"./chunk-vgk5v31k.js";import{mi as og,ni as pg,oi as qg,pi as rg,qi as sg,ri as tg,si as ug,ti as vg,ui as wg,vi as xg,wi as yg,xi as zg,yi as Ag,zi as Bg}from"./chunk-n8zpm7xb.js";import{Bi as Cg,Ci as Dg,Di as Eg,Ei as Fg}from"./chunk-y4hkqsgw.js";import{Ji as sf,Ki as tf,Li as uf,Mi as vf,Ni as wf,Oi as xf,Pi as yf,Qi as zf,Ri as Af,Si as Bf,Ti as Cf}from"./chunk-gyxe9fzm.js";import{Ui as Hf,Vi as If}from"./chunk-x2t441ge.js";import{Yi as Jf}from"./chunk-xcf62bdq.js";import"./chunk-ht51fz7w.js";import{aj as Kf}from"./chunk-fvjh7rx0.js";import{bj as Lf,cj as Mf}from"./chunk-b6jhznkh.js";import{dj as Nf,ej as Of,fj as Pf,gj as Qf,hj as Rf,ij as Sf}from"./chunk-hyrjade7.js";import{jj as Fd,kj as Gd,lj as Hd,mj as Id,nj as Jd,oj as Kd,pj as Ld,qj as Md,rj as Nd,sj as Od,tj as Pd,uj as Qd,vj as Rd,wj as Sd}from"./chunk-ba6v2wh0.js";import{xj as qf,yj as rf}from"./chunk-6ndvtzpk.js";import{Fj as bf,Gj as cf,Hj as df,Ij as ef,Jj as ff,Kj as gf,Lj as hf,Mj as jf,Nj as kf,Oj as lf,Pj as mf,Qj as nf,Rj as of,Sj as pf}from"./chunk-3es366z4.js";import{kk as $p,lk as aq,mk as bq,nk as cq,ok as dq,pk as eq}from"./chunk-v1v3fxq1.js";import{qk as kj,rk as lj,sk as mj,tk as nj,uk as dl,vk as el,wk as fl,xk as gl}from"./chunk-1nnpwrqj.js";import"./chunk-yckd6ks5.js";import"./chunk-zgvga8rc.js";import{$l as Ka,$m as Mb,$n as ad,$o as ee,$q as Jh,Al as ia,Am as mb,An as lc,Ao as Bd,Ap as Fe,Aq as $g,Ar as Ji,Bn as mc,Bo as Cd,Bp as Ge,Bq as ah,Br as Ki,Cm as nb,Cn as nc,Co as Dd,Cp as He,Cq as bh,Cr as Li,Dl as ja,Dm as ob,Dn as oc,Do as Ed,Dp as Ie,Dq as ch,Dr as Mi,El as ka,Em as pb,En as pc,Ep as Je,Eq as dh,Er as Ni,Fl as la,Fm as qb,Fn as qc,Fo as Td,Fp as Ke,Fq as eh,Fr as Oi,Gl as ma,Gm as rb,Gn as rc,Gp as Le,Gq as fh,Gr as Pi,Hl as na,Hm as sb,Hn as sc,Hp as Me,Hq as gh,Hr as Qi,Im as tb,In as tc,Ip as Ne,Iq as hh,Ir as Ri,Jm as ub,Jn as uc,Jp as Oe,Jq as rh,Jr as Ui,Kl as qa,Km as vb,Kn as vc,Kp as Pe,Kq as sh,Kr as Vi,Ll as ra,Lm as wb,Ln as wc,Lp as Qe,Lq as th,Lr as Wi,Ml as ya,Mm as xb,Mn as xc,Mp as Re,Mq as uh,Mr as Xi,Nl as za,Nm as yb,Nn as yc,No as Ud,Np as Se,Nq as vh,Nr as Yi,Ol as Aa,Om as zb,On as zc,Op as Te,Oq as wh,Or as Zi,Pl as Ba,Pm as Ab,Pn as Ac,Po as Vd,Pp as Ue,Pq as xh,Pr as _i,Ql as Ca,Qm as Bb,Qn as Bc,Qp as Ve,Qq as yh,Qr as $i,Rl as Da,Rm as Cb,Rn as Cc,Ro as Wd,Rp as We,Rq as zh,Rr as aj,Sl as Ea,Sm as Db,Sn as Dc,So as Xd,Sp as Xe,Sq as Ah,Tl as Fa,Tm as Eb,Tn as Ec,To as Yd,Tp as Ye,Tq as Bh,Ul as Ga,Um as Fb,Un as Fc,Uo as Zd,Up as Ze,Uq as Ch,Vm as Gb,Vn as Gc,Vo as _d,Vp as _e,Vq as Dh,Wm as Hb,Wn as Hc,Wo as $d,Wp as $e,Wq as Eh,Xm as Ib,Xn as Ic,Xo as ae,Xp as af,Xq as Fh,Yl as Ha,Ym as Jb,Yn as Zc,Yo as be,Yq as Gh,Zl as Ia,Zm as Kb,Zn as _c,Zo as ce,Zp as Df,Zq as Hh,_l as Ja,_m as Lb,_n as $c,_o as de,_q as Ih,am as La,an as Nb,ao as bd,ap as fe,ar as Kh,bm as Ma,bn as Ob,bo as cd,bp as ge,br as Lh,cn as Pb,co as dd,cp as he,cr as Mh,dl as s,dn as Qb,do as ed,dp as ie,dr as Nh,el as t,em as Na,en as Rb,eo as fd,ep as je,er as Oh,fl as u,fm as Oa,fn as Sb,fo as gd,fp as ke,fr as Ph,gl as v,gm as Pa,gn as Tb,go as hd,gp as le,gr as Qh,hl as w,hm as Qa,hn as Ub,ho as id,hp as me,hr as Rh,il as x,im as Ra,in as Vb,io as jd,ip as ne,ir as Sh,jl as y,jm as Sa,jn as Wb,jo as kd,jp as oe,jq as Ef,jr as Th,kl as z,km as Ta,kn as Xb,ko as ld,kp as pe,kq as Ff,kr as Uh,ll as A,lm as Ua,ln as Yb,lo as md,lp as qe,lq as Gf,lr as Vh,ml as B,mm as Va,mn as Zb,mo as nd,mp as re,mq as Hg,mr as Wh,nl as C,nm as Wa,nn as _b,no as od,np as se,nq as Ig,nr as li,ol as D,om as Xa,on as $b,oo as pd,op as te,oq as Jg,or as mi,pl as E,pm as Ya,pn as ac,po as qd,pp as ue,pq as Kg,pr as ni,ql as F,qm as Za,qn as bc,qo as rd,qp as ve,qq as Lg,qr as oi,rl as G,rm as _a,rn as cc,ro as sd,rp as we,rq as Mg,rr as pi,sl as H,sm as $a,sn as dc,so as td,sp as xe,sq as Tg,sr as Bi,tl as I,tn as ec,to as ud,tp as ye,tq as Ug,tr as Ci,ul as J,um as gb,un as fc,uo as vd,up as ze,uq as Vg,ur as Di,vl as da,vm as hb,vn as gc,vo as wd,vp as Ae,vq as Wg,vr as Ei,wl as ea,wm as ib,wn as hc,wo as xd,wp as Be,wq as Xg,wr as Fi,xl as fa,xm as jb,xn as ic,xo as yd,xp as Ce,xq as Yg,xr as Gi,yl as ga,ym as kb,yn as jc,yo as zd,yp as De,yq as Zg,yr as Hi,zl as ha,zm as lb,zn as kc,zo as Ad,zp as Ee,zq as _g,zr as Ii}from"./chunk-8bmsw6gq.js";import{$r as m,Sr as d,Tr as e,Ur as f,Vr as g,Wr as h,Xr as i,Yr as j,Zr as k,_r as l,as as n,bs as o,cs as p,ds as q,es as r}from"./chunk-j0tfxbns.js";import{fs as b,gs as c}from"./chunk-khrtzbxd.js";import{hs as oa,is as pa}from"./chunk-8anh6d36.js";import{js as ih,ks as jh,ls as kh,ms as lh,ns as mh,os as nh,ps as oh,qs as ph,rs as qh}from"./chunk-3fwn9edg.js";import{Fs as db,Gs as eb,Hs as fb,ss as ab,ts as bb,vs as cb}from"./chunk-qfsgw9by.js";import{Is as sa,Js as ta,Ks as ua,Ls as va,Ms as wa,Ns as xa}from"./chunk-m2mhtpwy.js";import{$s as Wc,Os as Jc,Ps as Kc,Qs as Lc,Rs as Mc,Ss as Nc,Ts as Oc,Us as Pc,Vs as Qc,Ws as Rc,Xs as Sc,Ys as Tc,Zs as Uc,_s as Vc,at as Xc,bt as Yc}from"./chunk-6xg3j487.js";import"./chunk-q4se9rtw.js";import"./chunk-1nm2xrvq.js";import{At as O,Gt as P,Ht as Q,It as R,Jt as S,Kt as T,Lt as U,Mt as V,Nt as W,Ot as X,Pt as Y,Qt as Z,Rt as _,St as $,Tt as aa,Ut as ba,Wt as ca,qt as K,rt as L,ut as M,zt as N}from"./chunk-z47tw39z.js";import"./chunk-3wd9kfyz.js";import"./chunk-trtm887x.js";export{Ej as writeNetlifyConfig,pl as writeManifest,hk as writeImageManifest,Gn as wrapComponentForHMR,Aq as withDefaults,Ri as webComponentDirectiveHandler,wo as watermark,yp as watchViews,rk as watchMultiple,sk as watchEffect,qk as watch,Gk as waitForStore,wd as waitForLocale,sn as virtualPathFor,Ei as videoDirective,Tb as validators,Eq as validated,id as validateValueEnhanced,Ig as validateTemplate,Bo as validateParams,jd as validateFormEnhanced,np as validateFile,ed as validateFields,dd as validateField,Kg as validateDirective,Dc as validateCspDirectives,Zi as validateConfig,ul as validateComponentScripts,Sl as validateComponentProps,Gf as validateClientScript,Fg as v,Ua as usesSignalsInScript,Xg as userComponentFileExists,lg as useVirtualList,Rc as useTitle,Fk as useStoreOrThrow,Yn as useStore,oj as useStorage,Jp as useSlots,qj as useSessionStorage,Oc as useSeoMeta,Hk as useRouteParams,Jk as useRouteParamOrThrow,Ik as useRouteParam,Rc as usePageTitle,pf as useOptimistic,Lk as useMiddlewareValue,Kk as useMiddlewareState,pj as useLocalStorage,zn as useLoadingIndicator,Mc as useHead,Cg as useForm,Lp as useAttrs,pp as uploadFiles,op as uploadFile,Bk as updateInstance,nf as untrack,lh as unregisterDirective,Ck as unmountInstance,$a as unescapeHtml,vn as typecheckStxFiles,Wg as transpileTypeScript,oq as translate,w as transitionDirective,Ml as toUsers,Ll as toUser,fo as thumbnail,gp as thumbHashToRGBA,hp as thumbHashToDataURL,sf as templateCache,Dn as stxClientHelpers,me as structuredDataDirective,rq as stripLocalePrefix,al as stripDocumentWrapper,pa as stripCommentsAndLiterals,ym as stringToStream,rc as strictCspPreset,Nd as streamingSuspenseDirective,Rd as streamToResponse,Ld as streamTemplateSimple,Fd as streamTemplate,jj as stopHmrServer,Il as stopBroadcasting,va as stateDirName,wa as stateDir,bf as state,Xe as startsDocument,_m as startProductionServer,Om as startInteractive,Hl as startBroadcasting,D as staggerDirective,zo as srcsetUrls,E as springDirective,ac as splitByPipe,tn as sourcePathFor,Go as smartBatchSign,Zg as slotContentHasExpressions,Eo as signUrl,Ug as shouldTranspileTypeScript,gj as shouldReloadOnChange,Jo as shouldRefreshSignature,hj as shouldIgnoreFile,dg as shouldCacheComponent,jo as sharpen,Hq as shape,ua as setStateDir,Pk as setRouteParams,Qk as setMiddlewareState,Dp as setGlobalProvide,ob as setErrorLocale,jk as setCurrentInstance,si as setCachedVideoResult,hi as setCachedImageResult,bi as setCached,Kq as serveStxFile,Mq as serveMultipleStxFiles,bj as serveMarkdownFile,jn as serveFile,Nq as serveApp,hn as serve,Jn as serializeState,om as serializeSetCookie,lo as sepia,Pc as seoMetaToHeadConfig,x as scrollAnimateDirective,q as screenReaderDirective,Ii as scopeHTML,Hi as scopeCSS,pe as scanForSitemapEntries,k as scanA11yTargets,l as scanA11yIssues,po as saturation,Co as sanitizeParams,Vb as sanitizeFilePath,Wb as sanitizeExpression,Xb as sanitizeDirectiveParams,Ub as sanitizeDirectiveParam,Yb as sanitizeComponentProps,Ob as safeExecuteAsync,Nb as safeExecute,fe as runPreProcessingMiddleware,ge as runPostProcessingMiddleware,Rm as runPageAction,hf as runMountCallbacks,ba as runMiddleware,zk as runHooks,hq as runDoctor,jf as runDestroyCallbacks,ue as runComposers,qo as rotate,Gg as rewriteImagesWithSiblings,bh as resolveTemplatePath,c as resolveStxTargets,Vi as resolveStxDirectories,nq as resolveI18n,co as resize,Ha as resetPlaceholders,Lc as resetHead,In as resetHMRHandler,Bb as resetErrorConfig,Cq as required,La as replacePlaceholders,wp as renderView,Bi as renderVideoComponent,za as renderVendorStyleTags,Sp as renderToString,Tp as renderToStream,Up as renderToDOM,fp as renderThumbhashToCanvas,eq as renderTemplateString,cq as renderTemplate,dq as renderString,Id as renderStreamingPage,Pg as renderSlot,Vf as renderSSRSuspense,Ro as renderProtectedVideo,Qo as renderProtectedImg,Do as renderMediaUpload,bq as renderMarkdownView,fl as renderLayoutTypes,li as renderImgComponent,Zj as renderImageComponent,Tc as renderHtmlAttrs,Sc as renderHead,zp as renderEmail,$g as renderComponentWithSlot,Uc as renderBodyAttrs,Tn as render,tc as relaxedCspPreset,cd as registerValidationRule,Pd as registerStreamingDirectives,_n as registerStoresClient,Nk as registerStore,ne as registerSeoDirectives,V as registerMiddleware,Pa as registerFilters,Oa as registerFilter,qb as registerErrorMessages,hd as registerEnhancedValidationRule,ih as registerDirective,Cc as registerCspDirectives,Vl as registerComponentDirectives,J as registerAnimationDirectives,r as registerA11yDirectives,nk as ref,Gm as redirect,xa as rebaseOntoStateDir,$i as readMarkdownFile,tf as readFileCached,ok as reactive,uo as quality,Oo as pruneSignatureCache,ei as pruneCache,Bp as provide,aq as protectCodeBlocks,Bq as prop,ye as processVueTemplate,jg as processVirtualListDirectives,ng as processVirtualGridDirectives,Ai as processVideo,fd as processValidateDirective,Dd as processTranslateDirective,Pf as processTransitionDirectives,Sf as processTransitionAttributes,Xc as processTitleDirective,jb as processTemplateBindings,Lf as processTeleportDirectives,Tf as processSuspenseDirectives,ie as processStructuredData,Jd as processStreamDirectives,Ag as processStaticDirectives,de as processStackReplacements,ce as processStackPushDirectives,Qg as processSlots,_k as processShell,we as processServerBindings,je as processSeoDirective,Qd as processSectionDirectives,Be as processScopedStyles,hb as processReactiveBindings,So as processProtectedMedia,tg as processPartialHydrationDirectives,Ff as processOnceDirective,ee as processMiddleware,he as processMetaDirectives,Yc as processMetaDirective,aj as processMarkdownFileDirectives,gh as processMarkdownDirectives,Zd as processLoops,bg as processKeepAliveDirectives,Ef as processJsonDirective,mg as processInfiniteListDirectives,be as processIncludes,ni as processImgComponents,$j as processImageComponents,Oj as processImage,Wc as processHeadDirective,_c as processForms,ad as processFormInputDirectives,Ya as processExpressions,ma as processEventDirectives,bd as processErrorDirective,ze as processDynamicComponents,Hg as processDirectives,qh as processDirectiveAttributes,Kf as processDeferDirectives,Hc as processCustomDirectives,zc as processCspDirectives,Iq as processComponentProps,Ga as processClientScript,$c as processBasicFormDirectives,Yf as processAsyncDirectives,Ic as processAppearanceBootstrapDirective,A as processAnimationDirectives,f as processA11yDirectives,sd as preloadTranslationsBackground,rd as preloadTranslations,yn as preloadIslandHandlers,Td as preloadIconCollection,Dl as poolStrings,Ti as pluginManager,Of as performLeave,Nf as performEnter,kf as pendingLifecycleCounts,of as peek,_d as partialsCache,Ci as parseVideoDirectiveOptions,ao as parseUrl,ip as parseThumbhashString,gc as parseSwitchBlock,Ng as parseSlots,Og as parseSlotElement,lc as parseScriptDeclarations,Pi as parseSFCComponent,To as parseProtectedArgs,Yd as parseLoopBinding,mi as parseImgComponent,Eh as parseImageUrl,_j as parseImageComponent,Pm as parseFormBody,ic as parseExpressionWithFilters,Dm as parseCookies,_l as parseContainerSelector,dc as parseConditionalBlock,jc as parseArguments,H as parseAnimationShorthand,Dq as optional,El as optimizeTemplate,ek as optimizeImage,fk as optimizeDirectory,Fq as oneOf,$d as onceStore,wk as onUpdated,gb as onUpdate,yk as onUnmounted,Uk as onServer,uk as onMounted,ff as onMount,zg as onHydrated,Hp as onErrorCaptured,gf as onDestroy,hg as onDeactivated,Tk as onClient,vk as onBeforeUpdate,xk as onBeforeUnmount,tk as onBeforeMount,gg as onActivated,bp as observeElement,Hm as notFound,Ge as normalizeCriticalHeadOrder,Gp as nextTick,Yl as negotiateEncoding,P as navigateTo,Ak as mountInstance,z as motionDirective,sc as moderateCspPreset,Cl as minifyHtml,le as metaDirective,Qe as metaDedupKey,bo as mergeParams,Se as mergeHtmlAttrs,Nc as mergeHeadConfigs,wc as mergeCspDirectives,bb as mergeCrosswindConfig,M as matchRoute,hh as markdownDirectiveHandler,_i as markdownCache,b as looksLikeGlob,qq as localizePath,td as loadTranslationLazy,zd as loadTranslation,Wi as loadStxConfig,_ as loadMiddlewareFromDirectory,ql as loadManifest,Zo as loadElement,Jl as loadChannels,wq as lintStxStrict,$o as lazyLoadAll,_o as lazyLoad,C as keyframeDirective,Qp as jsxs,Rp as jsxDEV,Pp as jsx,Fm as jsonResponse,Od as islandDirective,yb as isTest,bl as isSpaNavigation,Ho as isSignatureValid,lf as isSignal,Mj as isSharpAvailable,rm as isServerEnvironment,Rk as isServer,wb as isProduction,d as isPresentationalRole,Wo as isNativeLazySupported,$p as isMarkdownPath,pd as isLoading,qd as isLoaded,Tg as isJavaScriptScript,Xo as isIntersectionObserverSupported,Uj as isImageFile,Nj as isImageBackendAvailable,Bd as isICUFormat,yg as isHydrated,Yg as isHydrateTrigger,qm as isEdgeEnvironment,xq as isDirectiveKind,xb as isDevelopment,mf as isDerived,fj as isCssOnlyChange,Xl as isCompressible,Sk as isClient,_f as isAsyncComponent,Qm as isActionableMethod,mo as invert,vf as invalidateFileCacheByDir,uf as invalidateFileCache,Xa as interpolateScriptsInTemplate,Va as interpolateScriptExpressions,Wa as interpolateScriptAttributes,Kb as inlineError,mq as injectThemeBootstrap,ke as injectSeoTags,jq as injectSeo,Df as injectRouterScript,ej as injectHotReload,fa as injectHeatmap,xc as injectCspMetaTag,fb as injectCrosswindCSS,Ze as injectConfigHeadTags,Fe as injectColorModeBootScript,Ue as injectCloakStyle,Me as injectBuildId,Ba as injectBrowserCoreAutoImports,lb as injectAnalytics,Cp as inject,Mk as initStoreRegistry,Hj as initNetlify,An as initLoadingIndicator,Yo as initLazyLoading,Nm as initFile,ep as initBlurUp,kp as initAllBlurUp,pi as imgDirective,ck as imageDirective,Ym as hydrateTemplateStream,Xm as hydrateTemplate,xn as hydrateIslands,vg as hydrateIsland,Zm as hydrateFragment,wg as hydrateByStrategy,xg as hydrateAll,Qn as hydrate,gn as htmlResponse,Ve as hoistLeadingHeadTags,He as hoistColorModeBootScript,ga as heatmapDirective,Zh as hashString,Cf as hashFilePath,Xh as hashFile,Yh as hashBuffer,xe as hasVueTemplateSyntax,Xd as hasVariables,Vn as hasStore,Ma as hasPlaceholders,Fj as hasNetlifyConfig,X as hasMiddleware,na as hasEventDirectives,Ye as hasDocumentShell,Lg as hasDirectives,h as hasDOMSupport,Xj as handleImageRequest,Ip as handleError,Yp as h,Tj as groupVariantsByFormat,ko as grayscale,$m as gitHash,wl as getUnusedDirectives,ud as getTranslationSync,nd as getTranslationCacheStats,vd as getTranslationAsync,Cd as getTranslation,Aj as getTotalSize,Io as getTimeUntilExpiry,Hf as getStoreScript,Wn as getStoreNames,Un as getStore,tj as getStorageSize,sj as getStorageKeys,ch as getSourceLineInfo,Vg as getSharedTranspiler,g as getScreenReaderOnlyStyle,Ji as getScopeAttribute,af as getRouteParams,qa as getPublicEnvDefine,ra as getPublicEnv,Jg as getPositionInfo,Ja as getPlaceholderRegistry,Wh as getPlaceholderCacheStats,Kc as getPageMeta,nc as getNonce,Vj as getMimeType,Z as getMiddlewareNames,W as getMiddleware,od as getLoadingState,xd as getLoadingLocales,Pj as getImageMetadata,Pn as getHydrationRuntime,Ok as getHydratedStoreState,ij as getHmrServer,Jc as getHead,Hn as getHMRHandler,Ih as getFormatExtension,$h as getFileMtime,Sj as getFallbackVariant,sb as getErrorMessage,pb as getErrorLocale,Ab as getErrorConfig,vb as getErrorCodeName,kh as getDirectives,jh as getDirective,kk as getCurrentInstance,vc as getCspPreset,Ec as getCspHeaderName,cb as getCrosswindServeAsset,fh as getComponentCacheStats,ri as getCachedVideoResult,Mo as getCachedSignature,xf as getCachedSignalsRuntime,yf as getCachedRouterScript,Uh as getCachedPlaceholder,gi as getCachedImageResult,ai as getCached,di as getCacheStats,Ke as getBuildId,Gl as getBroadcastServer,Hh as getBestVariant,Qa as getAllFilters,vh as generateWidthSrcset,kg as generateVirtualListCSS,rp as generateVideoPreview,kd as generateValidationScript,sp as generateUploadRuntime,xl as generateTreeShakenBundle,Rf as generateTransitionRuntime,Qf as generateTransitionCSS,vi as generateThumbnails,Nh as generateThumbhashPlaceholder,hm as generateTemplatesDocs,Xf as generateSuspenseRuntime,Wf as generateSuspenseCSS,Kn as generateStateScript,Fh as generateSrcsetData,ki as generateSrcset,Qj as generateSrcSet,wi as generateSpriteSheet,Ap as generateSpaShell,Gh as generateSourceTags,Bh as generateSizesFromBreakpoints,Ah as generateSizesAttribute,Rj as generateSizes,oe as generateSitemapIndex,kq as generateSitemap,Vo as generateSimpleMediaPicker,Po as generateSignatureRuntime,rf as generateSignalsRuntimeDev,qf as generateSignalsRuntime,Fa as generateServerDataBridge,Gi as generateScopeId,Qi as generateSFCWebComponent,ka as generateRuntimeScript,K as generateRouteTypes,L as generateRouteManifest,qe as generateRobotsTxt,lq as generateRobots,ji as generateResponsiveVariants,Mi as generateReactiveWebComponentTS,Li as generateReactiveWebComponent,Oi as generateReactiveRuntime,Ni as generateReactiveMixin,ui as generatePoster,Th as generatePlaceholderStyle,Sh as generatePlaceholderCSS,Mh as generatePlaceholder,ug as generatePartialHydrationCSS,mc as generateNonce,Bj as generateNetlifyToml,up as generateMinifiedMediaRuntime,tp as generateMediaRuntime,Uo as generateMediaManagerEmbed,ol as generateManifest,Cn as generateLoadingIndicatorHtml,dp as generateLazyLoadRuntime,gl as generateLayoutTypes,Ph as generateLQIP,fg as generateKeepAliveRuntime,eg as generateKeepAliveCSS,Bg as generateIslandManifest,qp as generateImagePreview,gk as generateImageManifest,On as generateHydrationScript,Sd as generateHydrationRuntime,Rn as generateHydrationCSS,og as generateHydrationBootstrap,dj as generateHotReloadScript,ea as generateHeatmapScript,Fn as generateHMRClientScript,xi as generateHLSManifest,Ln as generateEventBindings,zh as generateDprSrcsetWithVariableQuality,yh as generateDprSrcset,We as generateDocumentShell,mm as generateDocs,im as generateDirectivesDocs,ph as generateDirectiveRuntime,re as generateDefaultRobotsTxt,yi as generateDASHManifest,qc as generateCspMetaTag,pc as generateCspHeader,eb as generateCrosswindCSS,Np as generateCompositionRuntime,gm as generateComponentsDocs,pg as generateComponentManifest,em as generateComponentDoc,Rh as generateColorPlaceholder,Ee as generateColorModeBootScript,Dk as generateClientRuntime,_h as generateCacheKey,Da as generateBrowserAutoImportDestructuring,lp as generateBlurUpRuntime,mp as generateBlurUpCSS,ib as generateBindingsRuntime,wh as generateAutoWidthSrcset,Ca as generateAutoImportDestructuring,ag as generateAsyncComponentRuntime,$f as generateAsyncComponentCSS,I as generateAnimationRuntime,G as generateAnimationCSS,kb as generateAnalyticsScript,wn as formatTypecheckDiagnostics,qn as formatTypeErrors,Km as formatStxContent,zj as formatSize,O as formatRoutes,Lm as formatMarkdownContent,tb as formatLocalizedError,Ad as formatICU,Cb as formatFilePath,Jb as formatError,iq as formatDoctorReport,jm as formatDocsAsMarkdown,lm as formatDocsAsJson,km as formatDocsAsHtml,to as format,Bl as foldConstants,so as flipVertical,ro as flipHorizontal,hl as fingerprint,un as findRuntimeTypeDeclarations,gq as findPantryPackage,cc as findMatchingEndTag,_b as findMatchingDelimiter,oa as findInterpolationEnd,ec as findIfBlocks,hc as findExpressions,N as findErrorPage,fc as findDirectiveBlocks,yl as findDeadCode,yl as findDeadBranches,$l as findContainerRegion,fm as findComponentFiles,Lq as findCommonDir,yj as filterRequiredFiles,ah as fileExists,Ud as extractVariables,ml as extractTemplateExpressions,Kd as extractStreamBoundaries,Mn as extractState,Rg as extractSlotContent,Wd as extractScriptFromTemplate,ll as extractScriptBlocks,Ka as extractPlaceholders,bc as extractParenthesizedExpression,Ek as extractPageResponseStatus,ca as extractLayoutMetadata,Qh as extractDominantColor,kc as extractDirectiveParams,Mg as extractDirectiveNames,cl as extractContainerContent,cm as extractComponentProps,qg as extractComponentName,dm as extractComponentDescription,db as extractClassNames,Ea as extractBridgeData,rg as extractBoundProps,$b as extractBalancedExpression,ya as extractAndStripCssImports,Ki as extractAndScopeStyles,la as extractAndProcessEvents,mj as externalizeSharedAssets,nj as externalizeRepeatedAssets,lj as externalizeHtml,_a as evaluateExpression,Al as evaluateConstant,nb as evaluateAuthExpression,Ta as escapeHtmlValue,Sa as escapeHtml,Pb as errorRecovery,Rb as errorLogger,Mf as ensureTeleportTargets,_e as ensureDocumentShell,gd as enhancedValidationRules,am as enableDevTools,zl as eliminateDeadCode,df as effect,Ao as dprUrls,nm as docsCommand,el as discoverLayoutNames,cp as disconnectObserver,bm as disableDevTools,Sb as devHelpers,Zk as detectShell,pm as detectRuntime,Cj as detectProjectConfig,Jh as detectFormat,tl as detectBuildMode,cf as derived,Gj as deploy,Yi as defineStxConfig,Zn as defineStore,Kp as defineSlots,vq as defineSiteConfig,zq as definePropsWithValidation,yq as defineProps,Si as definePlugin,Qc as definePageMeta,R as defineMiddleware,Dg as defineForm,Fp as defineExpose,Ep as defineEmits,mh as defineDirective,_p as defineCustomElement,Wm as defineConfig,nh as defineClientDirective,Zf as defineAsyncComponent,vp as defaultMediaConfig,ik as defaultImageConfig,ld as defaultI18nConfig,da as defaultHeatmapConfig,Zc as defaultFormClasses,Na as defaultFilters,Gc as defaultCspConfig,Ui as defaultConfig,Jq as default,ab as deepMergeThemes,Ae as dedupeScopedStyles,Oh as decodeThumbhash,Bc as cspNonceDirective,Ac as cspDirective,jp as crossfadeTransition,eo as crop,ig as createVirtualList,Di as createVideoDirective,Bm as createVercelHandler,nn as createTypeChecker,Ed as createTranslateFilter,xm as createTextEncoderStream,Zp as createStxApp,wm as createStreamingResponse,Md as createStreamRenderer,Xn as createStore,U as createStorageManager,S as createServerCookieManager,mk as createScope,Uf as createSSRSuspense,$e as createRouter,$ as createRouteLocation,ln as createRoute,nk as createRef,ok as createReactive,Mp as createProvideContext,bn as createProject,Vm as createProductionBuild,Ia as createPlaceholder,Fl as createOptimizedBuild,Cm as createNetlifyHandler,uj as createNetlifyClient,aa as createMiddlewareContext,kn as createMiddleware,ap as createLazyObserver,cg as createKeepAliveCache,tm as createKVNamespace,sg as createIslandRegistry,oi as createImgDirective,dk as createImagePlugin,Yj as createImageHandler,bk as createImageDirective,ia as createHeatmapAggregator,xj as createFileManifest,sm as createEnvAccessor,Mb as createEnhancedError,vm as createEdgeHandler,um as createEdgeCache,dh as createDetailedErrorMessage,Am as createDenoHandler,Dj as createDefaultNetlifyConfig,Fc as createCspHeaders,Em as createCookie,pk as createComputed,lk as createComponentInstance,zm as createCloudflareHandler,T as createClientCookieManager,oh as createBuiltinDirectives,Zp as createApp,F as createAnimationTimeline,ho as cover,Vd as convertToCommonJS,oo as contrast,go as contain,Lb as consoleError,zb as configureErrorHandling,Xi as config,pk as computed,Zl as compressResponse,te as composerPattern,se as composer,$k as composeShellWithPage,Ul as componentDirective,_g as componentClientSignalNames,nl as compileTemplate,a as collectRepeatedFlag,wj as collectDeployFiles,ti as clearVideoCache,md as clearTranslationCache,If as clearStoreCache,rj as clearStorage,No as clearSignatureCache,Vh as clearPlaceholderCache,ae as clearOnceStore,oc as clearNonce,Y as clearMiddleware,ak as clearImageCache,rb as clearErrorMessages,zf as clearDevCaches,Ra as clearCustomFilters,ve as clearComposers,Jf as clearComposableCache,eh as clearComponentCache,ci as clearCache,Bn as cleanupLoadingIndicator,Xk as classifyScript,Yk as classifyAllScripts,on as checkTemplateFile,pn as checkTemplate,Af as checkCache,Ko as checkAuthAccess,i as checkA11yWithRegex,j as checkA11y,Pl as channel,Jm as captureScreenshots,Im as captureScreenshot,yd as cancelPendingLoads,vj as calculateSha1,xh as calculateOptimalWidths,Bf as cacheTemplate,Fi as buildWebComponents,rn as buildVirtualSource,xp as buildViews,$n as buildUrl,Gd as buildSuspenseResolveScript,uq as buildStaticSite,il as buildRuntimeAsset,jl as buildRouterAsset,tq as buildLangPickerScript,Dh as buildImageUrl,Re as buildHtmlAttrs,rl as buildForProduction,Wl as buildComponentLibrary,Lo as buildAuthParams,sl as buildApp,sq as buildAlternateLinks,Um as build,Nl as broadcastPrivate,Ol as broadcastPresence,Kl as broadcast,no as brightness,io as blur,Fo as batchSignUrls,ef as batch,n as autoFixA11yFile,o as autoFixA11yDirectory,m as autoFixA11y,vo as auto,e as attributeValue,kl as assetTags,ja as asInvocableStatement,Gq as arrayOf,pq as applyTranslations,ii as applyTransformations,Sg as applySlots,Tl as applyPropDefaults,yo as applyPreset,Te as applyHtmlAttrs,Vc as applyHead,Za as applyFilters,uc as apiCspPreset,y as animationGroupDirective,zi as analyzeVideo,vl as analyzeUsage,Vk as analyzeTemplate,Wk as analyzeProject,vl as analyzeDirectiveUsage,mb as analyticsDirective,en as addStore,dn as addPage,yc as addNonceToInlineContent,fn as addLayout,cn as addComponent,Sm as actionRedirectResponse,Q as abortNavigation,p as a11yDirective,wf as __setSignalsGeneratorsForTest,Le as __setBuildIdForTest,qi as VideoProcessorCache,Eg as Validator,s as TransitionType,u as TransitionEase,t as TransitionDirection,Zb as Tokenizer,mn as TemplateTypeChecker,Mm as TEMPLATE_PRESETS,Ib as StxValidationError,Eb as StxSyntaxError,Gb as StxSecurityError,Fb as StxRuntimeError,Hb as StxFileError,Db as StxError,Vp as Show,Hd as SUSPENSE_RESOLVER_RUNTIME,Aa as STX_AUTO_IMPORTS,ta as STATE_DIR_ENV_VAR,B as SPRING_PRESETS,Tm as ProductionBuild,Xp as Portal,an as PROJECT_TEMPLATES,xo as PRESETS,Sn as MemorySessionStore,uh as MIME_TYPES,rh as MEDIA_DEFAULT_WIDTHS,th as MEDIA_DEFAULT_FORMATS,dl as LAYOUT_TYPES_FILE,fi as ImageProcessorCache,Wj as ImageProcessingError,Nn as HydrationRuntime,cj as HotReloadServer,ha as HeatmapAggregator,Pe as HTML_CLASS_MARKER,Oe as HTML_ATTRS_MARKER,Op as Fragment,Wp as For,Qb as ErrorLogger,ub as ErrorCodes,kj as EXTERNALIZED_ASSET_DIR,Ij as DeployError,Jj as DEFAULT_WIDTHS,v as DEFAULT_TRANSITION_OPTIONS,sa as DEFAULT_STATE_DIR,Lj as DEFAULT_QUALITY,Kh as DEFAULT_PLACEHOLDER_OPTIONS,Kj as DEFAULT_FORMATS,sh as DEFAULT_DPR_VALUES,En as ComponentHMRHandler,Ch as COMMON_SIZES,Ce as COLOR_MODE_BOOT_MARKER,De as COLOR_MODE_BOOT_GLOBAL,Ne as CLOAK_STYLE,Rl as BroadcastServer,Ql as Broadcast,Ie as BUILD_ID_META,Je as BUILD_ID_HEADER,Lh as BLUR_UP_CSS,fq as $path};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{xg as a}from"./chunk-81w2xqas.js";import"./chunk-p7qqbw2k.js";import"./chunk-vtqej9yr.js";import"./chunk-6ndvtzpk.js";import"./chunk-3es366z4.js";import"./chunk-yckd6ks5.js";import"./chunk-8bmsw6gq.js";import"./chunk-j0tfxbns.js";import"./chunk-khrtzbxd.js";import"./chunk-8anh6d36.js";import"./chunk-3fwn9edg.js";import"./chunk-qfsgw9by.js";import"./chunk-m2mhtpwy.js";import"./chunk-6xg3j487.js";import"./chunk-q4se9rtw.js";import"./chunk-1nm2xrvq.js";import"./chunk-z47tw39z.js";import"./chunk-3wd9kfyz.js";import"./chunk-trtm887x.js";export{a as buildForProduction};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{As as
|
|
2
|
+
import{As as f,Bs as g,Cs as h,Ds as i,Es as j,Fs as k,Gs as l,Hs as m,vs as a,ws as b,xs as c,ys as d,zs as e}from"./chunk-qfsgw9by.js";import"./chunk-m2mhtpwy.js";import"./chunk-trtm887x.js";export{f as resolveUserCrosswindConfig,c as resetCssCache,d as resetCrosswindCache,i as rebuildCrosswindCSS,e as loadCrosswindConfig,b as loadCrosswind,m as injectCrosswindCSS,a as getCrosswindServeAsset,j as getCachedCSS,l as generateCrosswindCSS,g as fingerprintConfig,k as extractClassNames,h as buildCrosswindCSS};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Jr as a,Kr as b,Lr as c,Mr as d,Nr as e,Or as f}from"./chunk-8bmsw6gq.js";import"./chunk-j0tfxbns.js";import"./chunk-khrtzbxd.js";import"./chunk-8anh6d36.js";import"./chunk-3fwn9edg.js";import"./chunk-qfsgw9by.js";import"./chunk-m2mhtpwy.js";import"./chunk-6xg3j487.js";import"./chunk-q4se9rtw.js";import"./chunk-1nm2xrvq.js";import"./chunk-z47tw39z.js";import"./chunk-3wd9kfyz.js";import"./chunk-trtm887x.js";export{f as validateConfig,b as resolveStxDirectories,c as loadStxConfig,e as defineStxConfig,a as defaultConfig,d as config};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ai as k,qi as a,ri as b,si as c,ti as d,ui as e,vi as f,wi as g,xi as h,yi as i,zi as j}from"./chunk-n8zpm7xb.js";import"./chunk-
|
|
2
|
+
import{Ai as k,qi as a,ri as b,si as c,ti as d,ui as e,vi as f,wi as g,xi as h,yi as i,zi as j}from"./chunk-n8zpm7xb.js";import"./chunk-trtm887x.js";export{i as processStaticDirectives,b as processPartialHydrationDirectives,h as onHydrated,g as isHydrated,d as hydrateIsland,e as hydrateByStrategy,f as hydrateAll,c as generatePartialHydrationCSS,j as generateIslandManifest,k as default,a as createIslandRegistry};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Go as a,Ho as b,Io as c}from"./chunk-8bmsw6gq.js";import"./chunk-j0tfxbns.js";import"./chunk-khrtzbxd.js";import"./chunk-8anh6d36.js";import"./chunk-3fwn9edg.js";import"./chunk-qfsgw9by.js";import"./chunk-m2mhtpwy.js";import"./chunk-6xg3j487.js";import"./chunk-q4se9rtw.js";import"./chunk-1nm2xrvq.js";import"./chunk-z47tw39z.js";import"./chunk-3wd9kfyz.js";import"./chunk-trtm887x.js";export{a as processESImports,c as processComponents,b as freeIdentifiers};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Bq as q,Fq as y}from"./chunk-8bmsw6gq.js";import{iu as L}from"./chunk-trtm887x.js";import M from"fs";import X from"path";var T=new Map,Q=new Map;async function A(j){let z;for(let K=0;K<3;K++)try{let V=(await M.promises.stat(j)).mtime.getTime(),J=Q.get(j);if(J&&J.mtime===V)return J.content;let W=await Bun.file(j).text(),U=(await M.promises.stat(j)).mtime.getTime();if(U!==V)continue;return Q.set(j,{content:W,mtime:U}),W}catch(I){z=I;break}throw Q.delete(j),Error(`File not found: ${j}${z?` (${z.message})`:""}`)}function H(j){Q.delete(j)}function v(j){for(let B of Q.keys())if(B.startsWith(j))Q.delete(B)}var Z=null,b=null,N=null;function E(j){N=j}async function F(j=!1){let B=N??await import("./chunk-srdwsrnj.js");if(j)return B.generateSignalsRuntimeDev();if(Z===null)Z=B.generateSignalsRuntime();return Z}var $=null;async function R(){if($===null){let{getRouterScript:j}=await import("./chunk-aw9z3m10.js");$=j()}return $}function S(){Q.clear(),y(),Z=null,b=null,$=null}function k(j){let B={debug:j.debug===!0,middleware:(j.middleware??[]).map((z)=>({name:z.name,timing:z.timing,handler:String(z.handler)})),customDirectives:(j.customDirectives??[]).map((z)=>({name:z.name,hasEndTag:z.hasEndTag===!0,handler:String(z.handler)}))};return new Bun.CryptoHasher("sha1").update(JSON.stringify(B)).digest("hex")}async function _(j,B){try{if(!B.cachePath)return null;let z=X.resolve(B.cachePath),K=X.join(z,`${D(j)}.html`),I=X.join(z,`${D(j)}.meta.json`);if(!await q(K)||!await q(I))return null;let V=await Bun.file(I).text(),J=JSON.parse(V);if(J.cacheVersion!==B.cacheVersion)return null;if(J.optionsSignature!==k(B))return null;if((await M.promises.stat(j)).mtime.getTime()>J.mtime)return null;for(let Y of J.dependencies)if(await q(Y)){if((await M.promises.stat(Y)).mtime.getTime()>J.mtime)return null}else return null;return await Bun.file(K).text()}catch(z){return console.warn(`Cache error for ${j}:`,z),null}}async function g(j,B,z,K){try{if(!K.cachePath)return;let I=X.resolve(K.cachePath);await M.promises.mkdir(I,{recursive:!0});let V=X.join(I,`${D(j)}.html`),J=X.join(I,`${D(j)}.meta.json`),W=await M.promises.stat(j);await Bun.write(V,B);let Y={sourcePath:j,mtime:W.mtime.getTime(),dependencies:Array.from(z),cacheVersion:K.cacheVersion,optionsSignature:k(K),generatedAt:Date.now()};await Bun.write(J,JSON.stringify(Y,null,2)),T.set(j,{output:B,mtime:W.mtime.getTime(),dependencies:z})}catch(I){console.warn(`Failed to cache template ${j}:`,I)}}var G=16;function D(j){return new Bun.CryptoHasher("sha1").update(j).digest("hex").substring(0,G)}
|
|
3
3
|
export{T as Ji,A as Ki,H as Li,v as Mi,E as Ni,F as Oi,R as Pi,S as Qi,_ as Ri,g as Si,D as Ti};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Ml as c,Nl as d,Ol as e,Pl as f,Ql as g,Rl as h,Sl as i,Tl as j,Ul as k}from"./chunk-8bmsw6gq.js";import"./chunk-j0tfxbns.js";import"./chunk-khrtzbxd.js";import{hs as a,is as b}from"./chunk-8anh6d36.js";import"./chunk-3fwn9edg.js";import"./chunk-qfsgw9by.js";import"./chunk-m2mhtpwy.js";import"./chunk-6xg3j487.js";import"./chunk-q4se9rtw.js";import"./chunk-1nm2xrvq.js";import"./chunk-z47tw39z.js";import"./chunk-3wd9kfyz.js";import"./chunk-trtm887x.js";export{b as stripCommentsAndLiterals,d as renderVendorStyleTags,k as processClientScript,f as injectBrowserCoreAutoImports,j as generateServerDataBridge,h as generateBrowserAutoImportDestructuring,g as generateAutoImportDestructuring,a as findInterpolationEnd,i as extractBridgeData,c as extractAndStripCssImports,e as STX_AUTO_IMPORTS};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{gs as B}from"./chunk-khrtzbxd.js";import I from"path";function M(z){if(!z)return!1;return z.trim().split(/\s+/)[0]?.toLowerCase()==="presentation"||z.trim().split(/\s+/)[0]?.toLowerCase()==="none"}function L(z,X){let J=new RegExp(`\\b${X}\\s*=\\s*("([^"]*)"|'([^']*)'|([^\\s>]+))`,"i").exec(z);if(!J)return null;return J[2]??J[3]??J[4]??null}function h(z,X,J,K){let j=z;j=j.replace(/@a11y\(\s*['"]([^'"]+)['"]\s*(?:,\s*['"]([^'"]+)['"]\s*)?\)/g,(Q,G,q)=>{let U={"aria-label":"Ensure interactive elements have accessible labels","alt-text":"Provide alternative text for images",focus:"Ensure the element can receive keyboard focus",landmark:"Use appropriate landmark roles","heading-order":"Maintain proper heading hierarchy","color-contrast":"Ensure sufficient color contrast","keyboard-nav":"Make sure element is keyboard navigable","screen-reader":"Optimize for screen reader users"}[G]||"Make this element accessible";return`<!-- a11y-hint: ${q||U} -->`});let _=/@screenReader\(([^@]*)\)@endScreenReader/g;return j=j.replace(_,(Q,G)=>{return`<span class="sr-only">${G.trim()}</span>`}),j=j.replace(/@ariaDescribe\(\s*['"]([^'"]+)['"]\s*,\s*['"]([^'"]+)['"]\s*\)/g,(Q,G,q)=>{return`<span id="${`desc-${G}`}" class="sr-only">${q}</span>`}),j}function s(){return`
|
|
3
3
|
.sr-only {
|
|
4
4
|
position: absolute;
|
|
5
5
|
width: 1px;
|
|
@@ -12,4 +12,4 @@ import{fs as B}from"./chunk-gcnrdgrq.js";import I from"path";function M(z){if(!z
|
|
|
12
12
|
border-width: 0;
|
|
13
13
|
}
|
|
14
14
|
`.trim()}function k(){return typeof globalThis.document<"u"&&typeof globalThis.document.createElement==="function"}function A(z){let X=new Map,J=z.replace(/<(\/?)([A-Z][\w:.-]*)(?=[\s/>])/g,(j,_,Q)=>{let G=X.get(Q);if(!G)G=`stx-a11y-component-${X.size}`,X.set(Q,G);return`<${_}${G}`}),K=new Map([...X.entries()].map(([j,_])=>[_,j]));return{protectedSource:J,restore:(j)=>j.replace(/<(\/?)(stx-a11y-component-\d+)(?=[\s/>])/g,(_,Q,G)=>{let q=K.get(G);return q?`<${Q}${q}`:_})}}function N(z,X){let J=[],K=/<img\s+([^>]*)>/gi,j;j=K.exec(z);while(j!==null){let Y=j[1];if(!/\balt\s*=/i.test(Y))J.push({type:"missing-alt",element:j[0].substring(0,100),message:"Image missing alt attribute",impact:"serious",help:"Add alt text to images for screen readers",helpUrl:"https://web.dev/learn/accessibility/images/"});j=K.exec(z)}let _=/<button([^>]*)>\s*<\/button>/gi;j=_.exec(z);while(j!==null){let Y=j[1];if(!/\baria-label\s*=/i.test(Y)&&!/\btitle\s*=/i.test(Y))J.push({type:"missing-accessible-name",element:j[0].substring(0,100),message:"Empty button missing accessible name",impact:"critical",help:"Add text content, aria-label, or title",helpUrl:"https://web.dev/learn/accessibility/aria-html/"});j=_.exec(z)}let Q=/<a\s+([^>]*)>\s*<\/a>/gi;j=Q.exec(z);while(j!==null){let Y=j[1];if(!/\baria-label\s*=/i.test(Y)&&!/\btitle\s*=/i.test(Y))J.push({type:"link-missing-text",element:j[0].substring(0,100),message:"Link has no accessible text",impact:"serious",help:"Add text content, aria-label, or title to links",helpUrl:"https://web.dev/learn/accessibility/more-html/#links"});j=Q.exec(z)}let G=/<(input|select|textarea)\s+([^>]*)>/gi;j=G.exec(z);while(j!==null){let Y=j[2];if(/\btype\s*=\s*["']hidden["']/i.test(Y)){j=G.exec(z);continue}let W=/\baria-label\s*=/i.test(Y)||/\baria-labelledby\s*=/i.test(Y),E=Y.match(/\bid\s*=\s*["']([^"']+)["']/i);if(!W){let T=E&&new RegExp(`<label[^>]*\\bfor\\s*=\\s*["']${E[1]}["']`,"i").test(z),w=j.index,F=z.substring(0,w),f=z.substring(w),S=(F.match(/<label\b/gi)||[]).length,C=(F.match(/<\/label>/gi)||[]).length,P=S>C;if(!T&&!P)J.push({type:"input-missing-label",element:j[0].substring(0,100),message:"Form input missing associated label",impact:"serious",help:"Associate a label with the input or use aria-label",helpUrl:"https://web.dev/learn/accessibility/forms/"})}j=G.exec(z)}let q=/<h([1-6])[^>]*>/gi,H=[];j=q.exec(z);while(j!==null)H.push(Number.parseInt(j[1],10)),j=q.exec(z);let U=0;for(let Y of H){if(U>0&&Y>U+1)J.push({type:"heading-skip",element:`<h${Y}>`,message:`Heading level skipped from h${U} to h${Y}`,impact:"moderate",help:"Maintain proper heading hierarchy without skipping levels",helpUrl:"https://web.dev/learn/accessibility/structure/"});U=Y}if(/<html\b/i.test(z)&&!/<html[^>]*\slang\s*=/i.test(z))J.push({type:"missing-lang",element:"<html>",message:"Document language not specified",impact:"serious",help:"Add lang attribute to the html element",helpUrl:"https://web.dev/learn/accessibility/more-html/#language"});let Z=/<table([^>]*)>([\s\S]*?)<\/table>/gi;j=Z.exec(z);while(j!==null){let Y=j[2];if(!M(L(j[1],"role"))&&!/<th\b/i.test(Y))J.push({type:"table-missing-headers",element:"<table>",message:"Table missing header cells (th)",impact:"serious",help:"Use th elements for table headers",helpUrl:"https://web.dev/learn/accessibility/more-html/#tables"});j=Z.exec(z)}let O=/<(video|audio)[^>]*\sautoplay\s[^>]*>/gi;j=O.exec(z);while(j!==null){if(!/\bmuted\b/i.test(j[0]))J.push({type:"autoplay-audio",element:`<${j[1]}>`,message:"Auto-playing media may disrupt users",impact:"moderate",help:"Add muted attribute or provide controls to stop playback",helpUrl:"https://web.dev/learn/accessibility/more-html/#multimedia"});j=O.exec(z)}let $=/\btabindex\s*=\s*["']([1-9]\d*)["']/gi;j=$.exec(z);while(j!==null)J.push({type:"positive-tabindex",element:`tabindex="${j[1]}"`,message:"Positive tabindex disrupts natural tab order",impact:"moderate",help:'Use tabindex="0" or "-1" instead of positive values',helpUrl:"https://web.dev/learn/accessibility/focus/#tab-index"}),j=$.exec(z);let V=/<iframe\s+([^>]*)>/gi;j=V.exec(z);while(j!==null){let Y=j[1];if(!/\btitle\s*=/i.test(Y)&&!/\baria-label\s*=/i.test(Y))J.push({type:"iframe-missing-title",element:"<iframe>",message:"Iframe missing title attribute",impact:"serious",help:"Add a title attribute to describe the iframe content",helpUrl:"https://web.dev/learn/accessibility/more-html/#frames"});j=V.exec(z)}let D=/<([a-z]+)\s+([^>]*role\s*=\s*["']button["'][^>]*)>/gi;j=D.exec(z);while(j!==null){let Y=j[1].toLowerCase(),W=j[2];if(Y!=="button"&&!/\btabindex\s*=/i.test(W))J.push({type:"button-not-focusable",element:j[0].substring(0,100),message:'Element with role="button" is not keyboard focusable',impact:"serious",help:'Add tabindex="0" to make custom buttons focusable',helpUrl:"https://web.dev/learn/accessibility/focus/"});j=D.exec(z)}return J}async function y(z,X){let{protectedSource:J}=A(z);if(!k())return N(J,X);let K=[];try{let j=globalThis.document.createElement("div");j.innerHTML=J,j.querySelectorAll("img").forEach((q)=>{if(!q.hasAttribute("alt"))K.push({type:"missing-alt",element:`<${q.outerHTML}>`,message:"Image missing alt attribute",impact:"serious",help:"Add alt text to images for screen readers",helpUrl:"https://web.dev/learn/accessibility/images/"})}),j.querySelectorAll('button, a, [role="button"]').forEach((q)=>{if(!(q.hasAttribute("aria-label")||q.hasAttribute("aria-labelledby")||q.textContent&&q.textContent.trim().length>0))K.push({type:"missing-accessible-name",element:`<${q.outerHTML}>`,message:"Interactive element missing accessible name",impact:"critical",help:"Add text content, aria-label, or aria-labelledby",helpUrl:"https://web.dev/learn/accessibility/aria-html/"})}),j.querySelectorAll("input, select, textarea").forEach((q)=>{let H=q.getAttribute("id"),U=H&&j.querySelector(`label[for="${H}"]`),Z=q.hasAttribute("aria-label")||q.hasAttribute("aria-labelledby"),O=q.closest("label")!==null;if(!U&&!Z&&!O)K.push({type:"input-missing-label",element:`<${q.outerHTML}>`,message:"Form input missing associated label",impact:"serious",help:"Associate a label with the input or use aria-label",helpUrl:"https://web.dev/learn/accessibility/forms/"})});let _=Array.from(j.querySelectorAll("h1, h2, h3, h4, h5, h6")),Q=0;for(let q of _){let H=Number.parseInt(q.tagName.charAt(1));if(Q>0&&H>Q+1)K.push({type:"heading-skip",element:`<${q.outerHTML}>`,message:`Heading level skipped from h${Q} to h${H}`,impact:"moderate",help:"Maintain proper heading hierarchy without skipping levels",helpUrl:"https://web.dev/learn/accessibility/structure/"});Q=H}let G=j.querySelector("html");if(J.includes("<html")&&G&&!G.hasAttribute("lang"))K.push({type:"missing-lang",element:"<html>",message:"Document language not specified",impact:"serious",help:"Add lang attribute to the html element",helpUrl:"https://web.dev/learn/accessibility/more-html/#language"});if(j.querySelectorAll("a").forEach((q)=>{let H=q.textContent&&q.textContent.trim().length>0,U=q.hasAttribute("aria-label")||q.hasAttribute("aria-labelledby"),Z=q.hasAttribute("title"),O=q.querySelector("img[alt]");if(!H&&!U&&!Z&&!O)K.push({type:"link-missing-text",element:`<${q.outerHTML}>`,message:"Link has no accessible text",impact:"serious",help:"Add text content, aria-label, or title to links",helpUrl:"https://web.dev/learn/accessibility/more-html/#links"})}),J.includes("<nav")||J.includes("<header")){if(!j.querySelector('a[href="#main"], a[href="#content"], .skip-link, [class*="skip"]')&&j.querySelectorAll("a").length>5)K.push({type:"missing-skip-link",element:"<nav>",message:"Consider adding a skip navigation link",impact:"minor",help:"Add a skip link to allow keyboard users to bypass navigation",helpUrl:"https://web.dev/learn/accessibility/focus/#skip-links"})}if(j.querySelectorAll("table").forEach((q)=>{if(M(q.getAttribute("role")))return;let H=q.querySelector("caption");if(!q.querySelector("th"))K.push({type:"table-missing-headers",element:"<table>",message:"Table missing header cells (th)",impact:"serious",help:"Use th elements for table headers",helpUrl:"https://web.dev/learn/accessibility/more-html/#tables"});if(!H&&!q.hasAttribute("aria-label")&&!q.hasAttribute("aria-labelledby"))K.push({type:"table-missing-caption",element:"<table>",message:"Table missing caption or accessible name",impact:"minor",help:"Add a caption element or aria-label to describe the table",helpUrl:"https://web.dev/learn/accessibility/more-html/#tables"})}),j.querySelectorAll('[style*="color"]').forEach((q)=>{let H=q.getAttribute("style")||"";if(H.includes("color:")&&!H.includes("background"))K.push({type:"potential-contrast-issue",element:`<${q.tagName.toLowerCase()}>`,message:"Element has inline color style - verify contrast ratio",impact:"minor",help:"Ensure text has sufficient contrast ratio (4.5:1 for normal text)",helpUrl:"https://web.dev/learn/accessibility/color-contrast/"})}),j.querySelectorAll("video[autoplay], audio[autoplay]").forEach((q)=>{if(!q.hasAttribute("muted"))K.push({type:"autoplay-audio",element:`<${q.tagName.toLowerCase()}>`,message:"Auto-playing media may disrupt users",impact:"moderate",help:"Add muted attribute or provide controls to stop playback",helpUrl:"https://web.dev/learn/accessibility/more-html/#multimedia"})}),j.querySelectorAll("[tabindex]").forEach((q)=>{if(Number.parseInt(q.getAttribute("tabindex")||"0")>0)K.push({type:"positive-tabindex",element:`<${q.tagName.toLowerCase()}>`,message:"Positive tabindex disrupts natural tab order",impact:"moderate",help:'Use tabindex="0" or "-1" instead of positive values',helpUrl:"https://web.dev/learn/accessibility/focus/#tab-index"})}),j.querySelectorAll('[role="button"]').forEach((q)=>{if(!q.hasAttribute("tabindex"))K.push({type:"button-not-focusable",element:`<${q.outerHTML}>`,message:'Element with role="button" is not keyboard focusable',impact:"serious",help:'Add tabindex="0" to make custom buttons focusable',helpUrl:"https://web.dev/learn/accessibility/focus/"})}),J.includes("<body")&&!j.querySelector('main, [role="main"]'))K.push({type:"missing-main-landmark",element:"<body>",message:"Document missing main landmark region",impact:"moderate",help:"Add a main element to identify the primary content",helpUrl:"https://web.dev/learn/accessibility/structure/#landmarks"});j.querySelectorAll("iframe").forEach((q)=>{if(!q.hasAttribute("title")&&!q.hasAttribute("aria-label"))K.push({type:"iframe-missing-title",element:"<iframe>",message:"Iframe missing title attribute",impact:"serious",help:"Add a title attribute to describe the iframe content",helpUrl:"https://web.dev/learn/accessibility/more-html/#frames"})})}catch(j){console.error(`Error checking accessibility in ${X}:`,j)}return K}async function R(z,X={}){let J={},{recursive:K=!0,ignorePaths:j=[]}=X,_=Array.isArray(z)?z:[z],Q=await B(_,{recursive:K,ignorePaths:j}),G=[];for(let q of Q)try{let H=await Bun.file(q).text();if(q.endsWith("good-a11y.stx"))continue;let U=await y(H,q);if(G.push(q),U.length>0)J[q]=U}catch(H){console.error(`Error scanning ${q}:`,H)}return{results:J,scannedFiles:G}}async function c(z,X={}){return(await R(z,X)).results}var b={fixMissingAlt:!0,fixMissingLabels:!0,fixMissingFormLabels:!0,fixTableHeaders:!0,fixMissingLang:!0,fixPositiveTabindex:!0,fixButtonFocusable:!0,defaultLang:"en"};function v(z,X={}){let J={...b,...X},K=[],{protectedSource:j,restore:_}=A(z),Q=j;if(J.fixMissingAlt)Q=Q.replace(/<img([^>]*?)(?<!\balt\s*=\s*["'][^"']*["'])(\s*\/?>)/gi,(G,q,H)=>{if(/\balt\s*=/i.test(q))return G;let U=G,Z=`<img${q} alt=""${H}`;return K.push({type:"missing-alt",description:"Added empty alt attribute to image",before:U,after:Z}),Z});if(J.fixMissingLabels)Q=Q.replace(/<button([^>]*)>\s*<\/button>/gi,(G,q)=>{if(/\baria-label\s*=/i.test(q)||/\btitle\s*=/i.test(q))return G;let H=G,U=`<button${q} aria-label="Button"></button>`;return K.push({type:"missing-accessible-name",description:"Added aria-label to empty button",before:H,after:U}),U}),Q=Q.replace(/<a([^>]*)>\s*(<(?:i|span|svg)[^>]*(?:class="[^"]*icon[^"]*")?[^>]*>.*?<\/(?:i|span|svg)>)?\s*<\/a>/gi,(G,q,H)=>{if(/\baria-label\s*=/i.test(q)||/\btitle\s*=/i.test(q))return G;if(!H&&G.replace(/<a[^>]*>|<\/a>/gi,"").trim())return G;let U=G,Z=`<a${q} aria-label="Link">${H||""}</a>`;return K.push({type:"missing-accessible-name",description:"Added aria-label to link without text",before:U,after:Z}),Z});if(J.fixMissingFormLabels)Q=Q.replace(/<(input|select|textarea)([^>]*)>/gi,(G,q,H)=>{if(/\baria-label\s*=/i.test(H)||/\baria-labelledby\s*=/i.test(H))return G;if(/\btype\s*=\s*["']hidden["']/i.test(H))return G;let U=H.match(/\bname\s*=\s*["']([^"']+)["']/i),Z=H.match(/\bid\s*=\s*["']([^"']+)["']/i),O=U?.[1]||Z?.[1]||q,$=G,V=`<${q}${H} aria-label="${O}">`;return K.push({type:"input-missing-label",description:`Added aria-label to ${q} element`,before:$,after:V}),V});if(J.fixMissingLang)Q=Q.replace(/<html([^>]*)>/gi,(G,q)=>{if(/\blang\s*=/i.test(q))return G;let H=G,U=`<html${q} lang="${J.defaultLang}">`;return K.push({type:"missing-lang",description:`Added lang="${J.defaultLang}" to html element`,before:H,after:U}),U});if(J.fixPositiveTabindex)Q=Q.replace(/\btabindex\s*=\s*["']([1-9]\d*)["']/gi,(G,q)=>{let H=G,U='tabindex="0"';return K.push({type:"positive-tabindex",description:`Changed tabindex="${q}" to tabindex="0"`,before:H,after:'tabindex="0"'}),'tabindex="0"'});if(J.fixButtonFocusable)Q=Q.replace(/<([a-z]+)(\s[^>]*role\s*=\s*["']button["'][^>]*)>/gi,(G,q,H)=>{if(/\btabindex\s*=/i.test(H))return G;if(q.toLowerCase()==="button")return G;let U=G,Z=`<${q}${H} tabindex="0">`;return K.push({type:"button-not-focusable",description:'Added tabindex="0" to element with role="button"',before:U,after:Z}),Z});if(J.fixTableHeaders)Q=Q.replace(/<th([^>]*)>/gi,(G,q)=>{if(/\bscope\s*=/i.test(q))return G;let H=G,U=`<th${q} scope="col">`;return K.push({type:"table-missing-scope",description:'Added scope="col" to table header',before:H,after:U}),U});return{original:z,fixed:_(Q),fixCount:K.length,fixes:K}}async function x(z,X={},J=!1){let K=await Bun.file(z).text(),j=v(K,X);if(J&&j.fixCount>0)await Bun.write(z,j.fixed);return j}async function m(z,X={},J={}){let K={},{recursive:j=!0,ignorePaths:_=[],writeBack:Q=!1,extensions:G=[".stx",".html",".htm"]}=J,q=G.length===1?`*${G[0]}`:`*{${G.join(",")}}`,H=I.join(z,j?`**/${q}`:q),U=new Bun.Glob(H);for await(let Z of U.scan()){if(_.some(($)=>Z.includes(I.normalize($))))continue;try{let $=await x(Z,X,Q);if($.fixCount>0)K[Z]=$}catch($){console.error(`Error fixing ${Z}:`,$)}}return K}var u={name:"a11y",handler:(z,X,J,K)=>{if(!X.length)return z;let j=X[0].replace(/['"]/g,""),_=X.length>1?X[1].replace(/['"]/g,""):"",G={"aria-label":"Ensure interactive elements have accessible labels","alt-text":"Provide alternative text for images",focus:"Ensure the element can receive keyboard focus",landmark:"Use appropriate landmark roles","heading-order":"Maintain proper heading hierarchy","color-contrast":"Ensure sufficient color contrast","keyboard-nav":"Make sure element is keyboard navigable","screen-reader":"Optimize for screen reader users"}[j]||"Make this element accessible";return`<!-- a11y-hint: ${_||G} -->${z}`},hasEndTag:!1},d={name:"screenReader",handler:(z)=>{return`<span class="sr-only">${z}</span>`},hasEndTag:!0};function r(){return[u,d]}
|
|
15
|
-
export{M as
|
|
15
|
+
export{M as Sr,L as Tr,h as Ur,s as Vr,k as Wr,N as Xr,y as Yr,R as Zr,c as _r,v as $r,x as as,m as bs,u as cs,d as ds,r as es};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ah as g,Bh as h,Ch as i,Dh as j,Eh as k,uh as a,vh as b,wh as c,xh as d,yh as e,zh as f}from"./chunk-
|
|
2
|
+
import{Ah as g,Bh as h,Ch as i,Dh as j,Eh as k,uh as a,vh as b,wh as c,xh as d,yh as e,zh as f}from"./chunk-y2jr10y8.js";import"./chunk-q8szpd6w.js";import"./chunk-trtm887x.js";export{c as setCachedVideoResult,k as processVideo,b as getCachedVideoResult,f as generateThumbnails,g as generateSpriteSheet,e as generatePoster,h as generateHLSManifest,i as generateDASHManifest,d as clearVideoCache,j as analyzeVideo,a as VideoProcessorCache};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import{existsSync as U,statSync as V}from"fs";import z from"path";var W=/[*?[\]{}]/;function X(D){return W.test(D)}async function $(D,E={}){let H=E.cwd??process.cwd(),N=E.recursive!==!1,Q=E.ignorePaths??[],J=globalThis.Bun.Glob,K=new Set,F=(j)=>{if(j.includes(`${z.sep}node_modules${z.sep}`)||j.includes(`${z.sep}dist${z.sep}`))return;if(Q.some((q)=>q&&j.includes(z.normalize(q))))return;K.add(j)},R=async(j)=>{try{for await(let q of new J(j).scan({cwd:H,absolute:!0}))F(q)}catch{}};for(let j of D){if(!j)continue;if(X(j)){await R(j);continue}let q=z.resolve(H,j);if(!U(q))continue;if(V(q).isDirectory()){for await(let T of new J(N?"**/*.stx":"*.stx").scan({cwd:q,absolute:!0}))F(T);continue}F(q)}return[...K].sort()}
|
|
3
|
-
export{X as
|
|
3
|
+
export{X as fs,$ as gs};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{ef as a}from"./chunk-y8mg8dem.js";import"./chunk-8bmsw6gq.js";import"./chunk-j0tfxbns.js";import"./chunk-khrtzbxd.js";import"./chunk-8anh6d36.js";import"./chunk-3fwn9edg.js";import"./chunk-qfsgw9by.js";import"./chunk-m2mhtpwy.js";import"./chunk-6xg3j487.js";import"./chunk-q4se9rtw.js";import"./chunk-1nm2xrvq.js";import"./chunk-z47tw39z.js";import"./chunk-3wd9kfyz.js";import"./chunk-trtm887x.js";export{a as startInteractive};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{fh as a,gh as b,hh as c,ih as d,jh as e,kh as f}from"./chunk-qph3esct.js";import"./chunk-8bmsw6gq.js";import"./chunk-j0tfxbns.js";import"./chunk-khrtzbxd.js";import"./chunk-8anh6d36.js";import"./chunk-3fwn9edg.js";import"./chunk-qfsgw9by.js";import"./chunk-m2mhtpwy.js";import"./chunk-6xg3j487.js";import"./chunk-q4se9rtw.js";import"./chunk-1nm2xrvq.js";import"./chunk-z47tw39z.js";import"./chunk-3wd9kfyz.js";import"./chunk-trtm887x.js";export{c as renderSlot,d as processSlots,a as parseSlots,b as parseSlotElement,e as extractSlotContent,f as applySlots};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Ji as a,Ki as b,Li as c,Mi as d,Ni as e,Oi as f,Pi as g,Qi as h,Ri as i,Si as j,Ti as k}from"./chunk-gyxe9fzm.js";import"./chunk-8bmsw6gq.js";import"./chunk-j0tfxbns.js";import"./chunk-khrtzbxd.js";import"./chunk-8anh6d36.js";import"./chunk-3fwn9edg.js";import"./chunk-qfsgw9by.js";import"./chunk-m2mhtpwy.js";import"./chunk-6xg3j487.js";import"./chunk-q4se9rtw.js";import"./chunk-1nm2xrvq.js";import"./chunk-z47tw39z.js";import"./chunk-3wd9kfyz.js";import"./chunk-trtm887x.js";export{a as templateCache,b as readFileCached,d as invalidateFileCacheByDir,c as invalidateFileCache,k as hashFilePath,f as getCachedSignalsRuntime,g as getCachedRouterScript,h as clearDevCaches,i as checkCache,j as cacheTemplate,e as __setSignalsGeneratorsForTest};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import C from"path";var G=".stx",K="STX_DIR",J=null;function O(j){J=j?.trim()||null}function H(){return process.env[K]?.trim()||J||G}function Q(j=process.cwd(),...q){let B=H();return C.isAbsolute(B)?C.join(B,...q):C.join(j,B,...q)}function W(j){if(!j||C.isAbsolute(j))return j;let q=j.replace(/\\/g,"/");if(q!==G&&!q.startsWith(`${G}/`))return j;let B=q.slice(G.length+1);return B?C.join(H(),B):H()}
|
|
3
|
-
export{G as
|
|
3
|
+
export{G as Is,K as Js,O as Ks,H as Ls,Q as Ms,W as Ns};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Zp as a,jq as b,kq as c,lq as d,mq as e}from"./chunk-8bmsw6gq.js";import"./chunk-j0tfxbns.js";import"./chunk-khrtzbxd.js";import"./chunk-8anh6d36.js";import"./chunk-3fwn9edg.js";import"./chunk-qfsgw9by.js";import"./chunk-m2mhtpwy.js";import"./chunk-6xg3j487.js";import"./chunk-q4se9rtw.js";import"./chunk-1nm2xrvq.js";import"./chunk-z47tw39z.js";import"./chunk-3wd9kfyz.js";import"./chunk-trtm887x.js";export{d as validateClientScript,c as processOnceDirective,b as processJsonDirective,e as processDirectives,a as injectRouterScript};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{$p as b,_p as a,aq as c,bq as d,cq as e,dq as f,eq as g,fq as h,gq as i,hq as j,iq as k}from"./chunk-8bmsw6gq.js";import"./chunk-j0tfxbns.js";import"./chunk-khrtzbxd.js";import"./chunk-8anh6d36.js";import"./chunk-3fwn9edg.js";import"./chunk-qfsgw9by.js";import"./chunk-m2mhtpwy.js";import"./chunk-6xg3j487.js";import"./chunk-q4se9rtw.js";import"./chunk-1nm2xrvq.js";import"./chunk-z47tw39z.js";import"./chunk-3wd9kfyz.js";import"./chunk-trtm887x.js";export{a as scanScriptTags,k as rewriteStxImportSpecifiers,i as processSignals,g as processScriptSetup,e as preEvalLiteralReactiveIfs,b as parseLoopExpression,c as hasSignalsSyntax,j as findMarkupIndexOutsideScripts,h as extractExports,f as convertSignalLoopsToAttributes,d as convertSignalDirectivesToAttributes};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Fh as x,Kh as M,Lh as C,Mh as v,Nh as P}from"./chunk-q8szpd6w.js";import{
|
|
2
|
+
import{Fh as x,Kh as M,Lh as C,Mh as v,Nh as P}from"./chunk-q8szpd6w.js";import{iu as y}from"./chunk-trtm887x.js";import{resolve as h,basename as f,extname as u,join as m}from"path";import{mkdir as l}from"fs/promises";var I={enabled:!0,directory:".stx/media-cache",maxAge:30,maxSize:500,cacheVariants:!0,cachePlaceholders:!0};class z{config;constructor(J={}){this.config={...I,...J}}async get(J,Z){return C(J,Z,"image",this.config)}async set(J,Z,Y){return v(J,Z,Y,"image",this.config)}async clear(){return P("image",this.config)}updateConfig(J){this.config={...this.config,...J}}}var H=null;function S(J){if(!H)H=new z(J);else if(J)H.updateConfig(J);return H}async function w(J,Z,Y){let K=Y?{directory:`${Y.outputDir}/../.cache`}:{};return S(K).get(J,Z)}async function Q(J,Z,Y,K){let X=K?{directory:`${K.outputDir}/../.cache`}:{};return S(X).set(J,Z,Y)}async function d(){return S().clear()}async function R(){try{return await import("ts-images")}catch{return null}}function b(J){switch(J){case"quality":return{jpeg:{quality:90,mozjpeg:!0,progressive:!0},png:{compressionLevel:6,palette:!1},webp:{quality:90,effort:6,smartSubsample:!0},avif:{quality:85,effort:6}};case"performance":return{jpeg:{quality:70,mozjpeg:!0,progressive:!0},png:{compressionLevel:9,palette:!0},webp:{quality:70,effort:4,smartSubsample:!0},avif:{quality:60,effort:2}};case"web":default:return{jpeg:{quality:82,mozjpeg:!0,progressive:!0},png:{compressionLevel:8,palette:!1},webp:{quality:82,effort:5,smartSubsample:!0},avif:{quality:75,effort:4}}}}function p(J,Z){let Y=Z?b(Z):b("web"),K=J.formatQuality||{};return{jpeg:{...Y.jpeg,...K.jpeg},png:{...Y.png,...K.png},webp:{...Y.webp,...K.webp},avif:{...Y.avif,...K.avif}}}async function g(J,Z,Y){let K=await R();if(!K)return console.warn("[stx-media] ts-images not installed, skipping optimization"),{src:J,processed:!1};let X=await w(J,Z,Y);if(X)return X;try{let N=h(J);if(!await M(N))return{src:J,processed:!1,errors:[`Source file not found: ${J}`]};let L=p(Y,Z.preset),V=Y.outputDir||"dist/images",F=Y.baseUrl||"/images";await l(V,{recursive:!0});let q=await x(N),U=f(J,u(J)),E=Z.outputFormat?[Z.outputFormat]:Y.defaultFormats||["avif","webp","jpeg"],G={src:J,processed:!0,variants:[],hash:q},j=null;if(Z.transformations&&Z.transformations.length>0)j=await D(N,Z.transformations,K);for(let $ of E){let A=L[$]||{},W=`${U}-${q}.${$}`,_=m(V,W);try{let O=await K.optimizeImage({input:j||N,output:_,format:$,quality:A.quality,progressive:A.progressive});if(O){if(G.variants.push({path:_,url:`${F}/${W}`,width:O.width||0,height:O.height||0,format:$,size:O.outputSize||0}),!G.originalWidth&&O.width)G.originalWidth=O.width,G.originalHeight=O.height}}catch(O){G.errors=G.errors||[],G.errors.push(`Failed to optimize ${$}: ${O}`)}}if(Z.embedThumbhash||Z.placeholder==="thumbhash")try{let $=await K.generateThumbHash(N);G.placeholder=$.dataUrl}catch($){G.errors=G.errors||[],G.errors.push(`Failed to generate thumbhash: ${$}`)}if(Z.useDominantColor)try{let $=await K.generatePlaceholder(N,{strategy:"dominant-color"});G.dominantColor=$.dominantColor}catch($){G.errors=G.errors||[],G.errors.push(`Failed to extract dominant color: ${$}`)}return await Q(J,Z,G,Y),G}catch(N){return{src:J,processed:!1,errors:[`Processing failed: ${N}`]}}}async function n(J,Z,Y,K){let X=await R();if(!X)return{success:!1,error:"ts-images not installed"};try{return{success:!0,size:(await X.optimizeImage({input:J,output:K,format:Z,quality:Y}))?.outputSize}}catch(N){return{success:!1,error:String(N)}}}async function D(J,Z,Y){let K=Y||await R();if(!K)return console.warn("[stx-media] ts-images not installed, skipping transformations"),null;try{let X=await K.decode(J);for(let N of Z){let L=N.options||{};switch(N.type){case"resize":if(L.width||L.height)X=await K.resize(X,{width:L.width,height:L.height,fit:L.fit});break;case"blur":if(L.sigma!==void 0)X=await K.blur(X,L.sigma);break;case"sharpen":if(L.amount!==void 0)X=await K.sharpen(X,L.amount);break;case"grayscale":X=await K.grayscale(X);break;case"rotate":if(L.angle!==void 0)X=await K.rotate(X,L.angle);break;case"flip":X=await K.flip(X);break;case"flop":X=await K.flop(X);break;case"brightness":if(L.value!==void 0)X=await K.brightness(X,L.value);break;case"contrast":if(L.value!==void 0)X=await K.contrast(X,L.value);break;case"saturation":if(L.value!==void 0)X=await K.saturation(X,L.value);break}}return await K.encode(X,"png")}catch(X){return console.error(`[stx-media] Transformation failed: ${X}`),null}}import{resolve as c,basename as i,extname as r,join as o}from"path";import{mkdir as a}from"fs/promises";async function e(){try{return await import("ts-images")}catch{return null}}var s=[320,480,640,768,1024,1280,1536,1920];async function t(J,Z,Y){let K=await e();if(!K)return console.warn("[stx-media] ts-images not installed, skipping responsive generation"),null;let X=c(J);if(!await M(X))return console.warn(`[stx-media] Source file not found: ${J}`),null;try{let N=Z.responsiveWidths||Y.breakpoints||s,L=Z.formats||Y.defaultFormats||["avif","webp","jpeg"],V=Y.outputDir||"dist/images",F=Y.baseUrl||"/images";await a(V,{recursive:!0});let q=await x(X),U=i(J,r(J)),E=Y.formatQuality||{jpeg:{quality:82},png:{quality:80},webp:{quality:82},avif:{quality:75}},G={src:J,byFormat:{},srcsets:{}};for(let $ of L){G.byFormat[$]=[];let A=[];for(let W of N){let _=`${U}-${W}w-${q}.${$}`,O=o(V,_),B=`${F}/${_}`;try{let T=E[$]?.quality||80;if(await M(O)){G.byFormat[$].push({path:O,url:B,width:W,height:0,format:$,size:0}),A.push(`${B} ${W}w`);continue}let k=await K.processImage({input:X,output:O,format:$,quality:T,resize:{width:W}});if(k)G.byFormat[$].push({path:O,url:B,width:W,height:k.height||Math.round(W*(k.height||1)/(k.width||1)),format:$,size:k.outputSize||0}),A.push(`${B} ${W}w`)}catch(T){console.warn(`[stx-media] Failed to generate ${$} at ${W}w: ${T}`)}}G.srcsets[$]=A.join(", ")}let j=Z.placeholder||Y.placeholderStrategy||"thumbhash";if(j!=="none")try{if(j==="thumbhash"){let $=await K.generateThumbHash(X);G.placeholder={dataURL:$.dataUrl,width:$.width||32,height:$.height||32,strategy:"thumbhash"}}else{let $=await K.generatePlaceholder(X,{strategy:j,width:20});G.placeholder={dataURL:$.dataURL,width:$.width,height:$.height,strategy:j}}}catch($){console.warn(`[stx-media] Failed to generate placeholder: ${$}`)}return G.sizes=Z.sizes||JJ(N),G}catch(N){return console.error(`[stx-media] Responsive generation failed: ${N}`),null}}function JJ(J){let Z=[...J].sort((K,X)=>K-X),Y=[];for(let K=0;K<Z.length-1;K++){let X=Z[K];Y.push(`(max-width: ${X}px) ${X}px`)}return Y.push(`${Z[Z.length-1]}px`),Y.join(", ")}function KJ(J,Z="width"){if(!J||J.length===0)return"";if(Z==="dpr")return J.filter((Y)=>Y.dpr).map((Y)=>`${Y.url} ${Y.dpr}x`).join(", ");return J.map((Y)=>`${Y.url} ${Y.width}w`).join(", ")}export{z as lh,w as mh,Q as nh,d as oh,g as ph,n as qh,D as rh,t as sh,KJ as th};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{dj as a,ej as b,fj as c,gj as d,hj as e,ij as f}from"./chunk-hyrjade7.js";import"./chunk-
|
|
2
|
+
import{dj as a,ej as b,fj as c,gj as d,hj as e,ij as f}from"./chunk-hyrjade7.js";import"./chunk-trtm887x.js";export{c as processTransitionDirectives,f as processTransitionAttributes,b as performLeave,a as performEnter,e as generateTransitionRuntime,d as generateTransitionCSS};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{is as Y}from"./chunk-8anh6d36.js";import{et as N}from"./chunk-1nm2xrvq.js";import C from"path";var O=/<script(\s[^>]*)?>([\s\S]*?)<\/script>/gi;function x(K){let J=(Q)=>Q.replace(/[^\n]/g," ");return K.replace(/<!--[\s\S]*?-->/g,J).replace(/\{\{--[\s\S]*?--\}\}/g,J)}function R(K){let J=[],Q=x(K);O.lastIndex=0;let Z;while((Z=O.exec(Q))!==null){let j=(Z[1]||"").trim(),F=(Z[0].match(/^<script(?:\s[^>]*)?>/i)?.[0]??"<script>").length,z=(Z[0].match(/<\/script\s*>$/i)?.[0]??"</script>").length,W=Z.index+F,$=Z.index+Z[0].length-z,U=K.slice(W,$);if(/\bsrc\s*=/.test(j))continue;let q=j.match(/\btype\s*=\s*["']([^"']+)["']/i);if(q&&!/^(?:module|text\/(?:javascript|typescript))$/i.test(q[1]))continue;let G=/\bserver\b/.test(j)?"server":/\bclient\b/.test(j)?"client":"plain",X=B(K,W);J.push({kind:G,code:U,startLine:X,attrs:j})}return J}function B(K,J){let Q=1;for(let Z=0;Z<J&&Z<K.length;Z++)if(K.charCodeAt(Z)===10)Q++;return Q}function M(K,J){let Q=K.lastIndexOf(`
|
|
3
3
|
`,J-1)+1;return J-Q+1}function k(K){let J=K.split(""),Q=(j,F)=>{for(let z=j;z<F&&z<J.length;z++)if(J[z]!==`
|
|
4
4
|
`)J[z]=" "},Z=[/<script(?:\s[^>]*)?>[\s\S]*?<\/script>/gi,/<style(?:\s[^>]*)?>[\s\S]*?<\/style>/gi,/<!--[\s\S]*?-->/g,/\{\{--[\s\S]*?--\}\}/g,/@verbatim\b[\s\S]*?@endverbatim\b/g];for(let j of Z){j.lastIndex=0;let F;while((F=j.exec(K))!==null)Q(F.index,F.index+F[0].length)}return J.join("")}function T(K){let J=0,Q="";for(let Z=0;Z<K.length;Z++){let j=K[Z];if(Q){if(j==="\\"){Z++;continue}if(j===Q)Q="";continue}if(j==='"'||j==="'"||j==="`"){Q=j;continue}if(j==="("||j==="["||j==="{"){J++;continue}if(j===")"||j==="]"||j==="}"){J--;continue}if(j==="|"&&J===0){if(K[Z+1]==="|"){Z++;continue}if(K[Z-1]==="|")continue;return K.slice(0,Z)}}return K}var L=new Set([":for","x-for","v-for"]),w=/(?:^|\s)((?::|x-|v-|@)[\w.:-]+)\s*=\s*(["'])([\s\S]*?)\2/g,g="__stx_interpolated",D="__StxElement",A="__StxTemplateValue",E=`type ${A}<T> = T extends { readonly _isSignal: true } | { readonly _isDerived: true } ? (T extends () => infer V ? T & V : T) : T`;function P(K){return K.replace(/\{\{[\s\S]*?\}\}/g,g).replace(/\{!![\s\S]*?!!\}/g,g)}function Zj(K){return K.replace(/\{\{[\s\S]*?\}\}|\{!![\s\S]*?!!\}/g,(J)=>{let Q=J.split(`
|
|
5
5
|
`).length-1,Z=J.length-Q;return`0${" ".repeat(Math.max(0,Z-1))}${`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$f as g,Vf as a,Wf as b,Xf as c,Yf as d,Zf as e,_f as f,ag as h}from"./chunk-9b82d4g5.js";import"./chunk-
|
|
2
|
+
import{$f as g,Vf as a,Wf as b,Xf as c,Yf as d,Zf as e,_f as f,ag as h}from"./chunk-9b82d4g5.js";import"./chunk-trtm887x.js";export{g as timingPlugin,c as pluginManager,a as definePlugin,f as debugPlugin,h as createVariablesPlugin,e as createFilterPlugin,d as createDirectivePlugin,b as PluginManager};
|