@mastra/deployer-cloud 1.26.0-alpha.10 → 1.26.0-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/studio/assets/{chunk-3QLPKWC4-Ds7ANAmv.js → chunk-3QLPKWC4-BY_W0hz-.js} +1 -1
  3. package/dist/studio/assets/{chunk-ZCJMLMGS-3Vp1Tpgc.js → chunk-ZCJMLMGS-qZVzS--f.js} +1 -1
  4. package/dist/studio/assets/{index-yXH7lceX.js → index-9x5ysrvV.js} +1 -1
  5. package/dist/studio/assets/{index-D1TOqQQH.js → index-B5gJzGQO.js} +1 -1
  6. package/dist/studio/assets/{index-CzGDnZ2G.js → index-B8K9euri.js} +1 -1
  7. package/dist/studio/assets/{index-C0KZnBQX.js → index-BNiWHj7G.js} +1 -1
  8. package/dist/studio/assets/{index-BOgOVedb.js → index-BgQ9y7wQ.js} +1 -1
  9. package/dist/studio/assets/{index-CPSW2mNJ.js → index-Bm2yHtCR.js} +1 -1
  10. package/dist/studio/assets/{index-Dz-wiE0b.js → index-Bol2v66m.js} +1 -1
  11. package/dist/studio/assets/{index-DW-blmOV.js → index-C1i8G-Zx.js} +1 -1
  12. package/dist/studio/assets/{index-BE-IvPab.js → index-CagOqScD.js} +1 -1
  13. package/dist/studio/assets/{index-CACaZt2f.js → index-CiLDulkV.js} +1 -1
  14. package/dist/studio/assets/{index-CERZBltr.js → index-CmB8lC-O.js} +1 -1
  15. package/dist/studio/assets/{index-B_szXXs8.js → index-DGTQ3Ad2.js} +1 -1
  16. package/dist/studio/assets/{index-D6z8NZz7.js → index-DOUmUi5l.js} +1 -1
  17. package/dist/studio/assets/{index-DXgUNL4s.js → index-DQKg9eTU.js} +1 -1
  18. package/dist/studio/assets/{index-DoMrPrfw.js → index-D_Gnoe-b.js} +1 -1
  19. package/dist/studio/assets/{index-CA1B5OX1.js → index-Dkds1fkO.js} +1 -1
  20. package/dist/studio/assets/{index-CN3OU_j-.js → index-DxMZ705L.js} +1 -1
  21. package/dist/studio/assets/{index-nK2iMBA8.js → index-nm_wY4G4.js} +1 -1
  22. package/dist/studio/assets/{main-DQ2DZ99t.js → main-DqmAHTOP.js} +211 -211
  23. package/dist/studio/assets/style-D4bRdQyf.css +1 -0
  24. package/dist/studio/assets/{token-APYSY3BW-RPVF55TR-o-mlN9wT.js → token-APYSY3BW-RPVF55TR-BZ9NZdwN.js} +1 -1
  25. package/dist/studio/assets/{token-APYSY3BW-ZWRZO2RI-BG2OnAud.js → token-APYSY3BW-ZWRZO2RI-CnzzkxWO.js} +1 -1
  26. package/dist/studio/assets/token-util-RMHT2CPJ-CEAUOCJP-DLz0-xgv.js +1 -0
  27. package/dist/studio/assets/token-util-RMHT2CPJ-VVUHOXBL-Bgnde5M2.js +1 -0
  28. package/dist/studio/index.html +2 -2
  29. package/package.json +9 -9
  30. package/versions.json +1 -1
  31. package/dist/studio/assets/style-DArKSppT.css +0 -1
  32. package/dist/studio/assets/token-util-RMHT2CPJ-CEAUOCJP-D2oMFnFu.js +0 -1
  33. package/dist/studio/assets/token-util-RMHT2CPJ-VVUHOXBL-hehw6TX1.js +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @mastra/deployer-cloud
2
2
 
3
+ ## 1.26.0-alpha.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`20f59b8`](https://github.com/mastra-ai/mastra/commit/20f59b876cf91199efbc49a0e36b391240708f08), [`20f59b8`](https://github.com/mastra-ai/mastra/commit/20f59b876cf91199efbc49a0e36b391240708f08), [`e2687a7`](https://github.com/mastra-ai/mastra/commit/e2687a7408790c384563816a9a28ed06735684c9), [`8f1b280`](https://github.com/mastra-ai/mastra/commit/8f1b280b7fe6999ec654f160cb69c1a8719e7a57), [`12df98c`](https://github.com/mastra-ai/mastra/commit/12df98c4904643d9481f5c78f3bed443725b4c96)]:
8
+ - @mastra/core@1.26.0-alpha.11
9
+ - @mastra/deployer@1.26.0-alpha.11
10
+
3
11
  ## 1.26.0-alpha.10
4
12
 
5
13
  ### Patch Changes
@@ -1 +1 @@
1
- import{J as A,K as O,M}from"./main-DQ2DZ99t.js";var V={env:{}},S={},J=A({"../../../node_modules/.pnpm/@vercel+oidc@3.1.0/node_modules/@vercel/oidc/dist/token-io.js"(C,P){var g=Object.create,l=Object.defineProperty,j=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,m=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty,D=(r,e)=>{for(var o in e)l(r,o,{get:e[o],enumerable:!0})},h=(r,e,o,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let w of b(e))!T.call(r,w)&&w!==o&&l(r,w,{get:()=>e[w],enumerable:!(a=j(e,w))||a.enumerable});return r},_=(r,e,o)=>(o=r!=null?g(m(r)):{},h(!r||!r.__esModule?l(o,"default",{value:r,enumerable:!0}):o,r)),E=r=>h(l({},"__esModule",{value:!0}),r),k={};D(k,{findRootDir:()=>v,getUserDataDir:()=>s}),P.exports=E(k);var c=_(O("path")),p=_(O("fs")),d=_(O("os")),y=M();function v(){try{let r=V.cwd();for(;r!==c.default.dirname(r);){const e=c.default.join(r,".vercel");if(p.default.existsSync(e))return r;r=c.default.dirname(r)}}catch{throw new y.VercelOidcTokenError("Token refresh only supported in node server environments")}return null}function s(){if(S.XDG_DATA_HOME)return S.XDG_DATA_HOME;switch(d.default.platform()){case"darwin":return c.default.join(d.default.homedir(),"Library/Application Support");case"linux":return c.default.join(d.default.homedir(),".local/share");case"win32":return S.LOCALAPPDATA?S.LOCALAPPDATA:null;default:return null}}}}),U=A({"../../../node_modules/.pnpm/@vercel+oidc@3.1.0/node_modules/@vercel/oidc/dist/auth-config.js"(C,P){var g=Object.create,l=Object.defineProperty,j=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,m=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty,D=(e,o)=>{for(var a in o)l(e,a,{get:o[a],enumerable:!0})},h=(e,o,a,w)=>{if(o&&typeof o=="object"||typeof o=="function")for(let x of b(o))!T.call(e,x)&&x!==a&&l(e,x,{get:()=>o[x],enumerable:!(w=j(o,x))||w.enumerable});return e},_=(e,o,a)=>(a=e!=null?g(m(e)):{},h(!e||!e.__esModule?l(a,"default",{value:e,enumerable:!0}):a,e)),E=e=>h(l({},"__esModule",{value:!0}),e),k={};D(k,{isValidAccessToken:()=>r,readAuthConfig:()=>v,writeAuthConfig:()=>s}),P.exports=E(k);var c=_(O("fs")),p=_(O("path")),d=q();function y(){const e=(0,d.getVercelDataDir)();if(!e)throw new Error(`Unable to find Vercel CLI data directory. Your platform: ${V.platform}. Supported: darwin, linux, win32.`);return p.join(e,"auth.json")}function v(){try{const e=y();if(!c.existsSync(e))return null;const o=c.readFileSync(e,"utf8");return o?JSON.parse(o):null}catch{return null}}function s(e){const o=y(),a=p.dirname(o);c.existsSync(a)||c.mkdirSync(a,{mode:504,recursive:!0}),c.writeFileSync(o,JSON.stringify(e,null,2),{mode:384})}function r(e){if(!e.token)return!1;if(typeof e.expiresAt!="number")return!0;const o=Math.floor(Date.now()/1e3);return e.expiresAt>=o}}}),L=A({"../../../node_modules/.pnpm/@vercel+oidc@3.1.0/node_modules/@vercel/oidc/dist/oauth.js"(C,P){var g=Object.defineProperty,l=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,b=Object.prototype.hasOwnProperty,m=(s,r)=>{for(var e in r)g(s,e,{get:r[e],enumerable:!0})},T=(s,r,e,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of j(r))!b.call(s,a)&&a!==e&&g(s,a,{get:()=>r[a],enumerable:!(o=l(r,a))||o.enumerable});return s},D=s=>T(g({},"__esModule",{value:!0}),s),h={};m(h,{processTokenResponse:()=>v,refreshTokenRequest:()=>y}),P.exports=D(h);var _=O("os"),E="https://vercel.com",k="cl_HYyOPBNtFMfHhaUn9L4QPfTZz6TP47bp",c=`@vercel/oidc node-${V.version} ${(0,_.platform)()} (${(0,_.arch)()}) ${(0,_.hostname)()}`,p=null;async function d(){if(p)return p;const s=`${E}/.well-known/openid-configuration`,r=await fetch(s,{headers:{"user-agent":c}});if(!r.ok)throw new Error("Failed to discover OAuth endpoints");const e=await r.json();if(!e||typeof e.token_endpoint!="string")throw new Error("Invalid OAuth discovery response");const o=e.token_endpoint;return p=o,o}async function y(s){const r=await d();return await fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded","user-agent":c},body:new URLSearchParams({client_id:k,grant_type:"refresh_token",...s})})}async function v(s){const r=await s.json();if(!s.ok){const e=typeof r=="object"&&r&&"error"in r?String(r.error):"Token refresh failed";return[new Error(e)]}return typeof r!="object"||r===null?[new Error("Invalid token response")]:typeof r.access_token!="string"?[new Error("Missing access_token in response")]:r.token_type!=="Bearer"?[new Error("Invalid token_type in response")]:typeof r.expires_in!="number"?[new Error("Missing expires_in in response")]:[null,r]}}}),q=A({"../../../node_modules/.pnpm/@vercel+oidc@3.1.0/node_modules/@vercel/oidc/dist/token-util.js"(C,P){var g=Object.create,l=Object.defineProperty,j=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,m=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty,D=(t,n)=>{for(var i in n)l(t,i,{get:n[i],enumerable:!0})},h=(t,n,i,u)=>{if(n&&typeof n=="object"||typeof n=="function")for(let f of b(n))!T.call(t,f)&&f!==i&&l(t,f,{get:()=>n[f],enumerable:!(u=j(n,f))||u.enumerable});return t},_=(t,n,i)=>(i=t!=null?g(m(t)):{},h(!t||!t.__esModule?l(i,"default",{value:t,enumerable:!0}):i,t)),E=t=>h(l({},"__esModule",{value:!0}),t),k={};D(k,{assertVercelOidcTokenResponse:()=>a,findProjectInfo:()=>w,getTokenPayload:()=>R,getVercelCliToken:()=>e,getVercelDataDir:()=>r,getVercelOidcToken:()=>o,isExpired:()=>$,loadToken:()=>N,saveToken:()=>x}),P.exports=E(k);var c=_(O("path")),p=_(O("fs")),d=M(),y=J(),v=U(),s=L();function r(){const t="com.vercel.cli",n=(0,y.getUserDataDir)();return n?c.join(n,t):null}async function e(){const t=(0,v.readAuthConfig)();if(!t)return null;if((0,v.isValidAccessToken)(t))return t.token||null;if(!t.refreshToken)return(0,v.writeAuthConfig)({}),null;try{const n=await(0,s.refreshTokenRequest)({refresh_token:t.refreshToken}),[i,u]=await(0,s.processTokenResponse)(n);if(i||!u)return(0,v.writeAuthConfig)({}),null;const f={token:u.access_token,expiresAt:Math.floor(Date.now()/1e3)+u.expires_in};return u.refresh_token&&(f.refreshToken=u.refresh_token),(0,v.writeAuthConfig)(f),f.token??null}catch{return(0,v.writeAuthConfig)({}),null}}async function o(t,n,i){const u=`https://api.vercel.com/v1/projects/${n}/token?source=vercel-oidc-refresh${i?`&teamId=${i}`:""}`,f=await fetch(u,{method:"POST",headers:{Authorization:`Bearer ${t}`}});if(!f.ok)throw new d.VercelOidcTokenError(`Failed to refresh OIDC token: ${f.statusText}`);const I=await f.json();return a(I),I}function a(t){if(!t||typeof t!="object")throw new TypeError("Vercel OIDC token is malformed. Expected an object. Please run `vc env pull` and try again");if(!("token"in t)||typeof t.token!="string")throw new TypeError("Vercel OIDC token is malformed. Expected a string-valued token property. Please run `vc env pull` and try again")}function w(){const t=(0,y.findRootDir)();if(!t)throw new d.VercelOidcTokenError("Unable to find project root directory. Have you linked your project with `vc link?`");const n=c.join(t,".vercel","project.json");if(!p.existsSync(n))throw new d.VercelOidcTokenError("project.json not found, have you linked your project with `vc link?`");const i=JSON.parse(p.readFileSync(n,"utf8"));if(typeof i.projectId!="string"&&typeof i.orgId!="string")throw new TypeError("Expected a string-valued projectId property. Try running `vc link` to re-link your project.");return{projectId:i.projectId,teamId:i.orgId}}function x(t,n){const i=(0,y.getUserDataDir)();if(!i)throw new d.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");const u=c.join(i,"com.vercel.token",`${n}.json`),f=JSON.stringify(t);p.mkdirSync(c.dirname(u),{mode:504,recursive:!0}),p.writeFileSync(u,f),p.chmodSync(u,432)}function N(t){const n=(0,y.getUserDataDir)();if(!n)throw new d.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");const i=c.join(n,"com.vercel.token",`${t}.json`);if(!p.existsSync(i))return null;const u=JSON.parse(p.readFileSync(i,"utf8"));return a(u),u}function R(t){const n=t.split(".");if(n.length!==3)throw new d.VercelOidcTokenError("Invalid token. Please run `vc env pull` and try again");const i=n[1].replace(/-/g,"+").replace(/_/g,"/"),u=i.padEnd(i.length+(4-i.length%4)%4,"=");return JSON.parse(Buffer.from(u,"base64").toString("utf8"))}function $(t){return t.exp*1e3<Date.now()}}});export{q as r};
1
+ import{J as A,K as O,M}from"./main-DqmAHTOP.js";var V={env:{}},S={},J=A({"../../../node_modules/.pnpm/@vercel+oidc@3.1.0/node_modules/@vercel/oidc/dist/token-io.js"(C,P){var g=Object.create,l=Object.defineProperty,j=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,m=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty,D=(r,e)=>{for(var o in e)l(r,o,{get:e[o],enumerable:!0})},h=(r,e,o,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let w of b(e))!T.call(r,w)&&w!==o&&l(r,w,{get:()=>e[w],enumerable:!(a=j(e,w))||a.enumerable});return r},_=(r,e,o)=>(o=r!=null?g(m(r)):{},h(!r||!r.__esModule?l(o,"default",{value:r,enumerable:!0}):o,r)),E=r=>h(l({},"__esModule",{value:!0}),r),k={};D(k,{findRootDir:()=>v,getUserDataDir:()=>s}),P.exports=E(k);var c=_(O("path")),p=_(O("fs")),d=_(O("os")),y=M();function v(){try{let r=V.cwd();for(;r!==c.default.dirname(r);){const e=c.default.join(r,".vercel");if(p.default.existsSync(e))return r;r=c.default.dirname(r)}}catch{throw new y.VercelOidcTokenError("Token refresh only supported in node server environments")}return null}function s(){if(S.XDG_DATA_HOME)return S.XDG_DATA_HOME;switch(d.default.platform()){case"darwin":return c.default.join(d.default.homedir(),"Library/Application Support");case"linux":return c.default.join(d.default.homedir(),".local/share");case"win32":return S.LOCALAPPDATA?S.LOCALAPPDATA:null;default:return null}}}}),U=A({"../../../node_modules/.pnpm/@vercel+oidc@3.1.0/node_modules/@vercel/oidc/dist/auth-config.js"(C,P){var g=Object.create,l=Object.defineProperty,j=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,m=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty,D=(e,o)=>{for(var a in o)l(e,a,{get:o[a],enumerable:!0})},h=(e,o,a,w)=>{if(o&&typeof o=="object"||typeof o=="function")for(let x of b(o))!T.call(e,x)&&x!==a&&l(e,x,{get:()=>o[x],enumerable:!(w=j(o,x))||w.enumerable});return e},_=(e,o,a)=>(a=e!=null?g(m(e)):{},h(!e||!e.__esModule?l(a,"default",{value:e,enumerable:!0}):a,e)),E=e=>h(l({},"__esModule",{value:!0}),e),k={};D(k,{isValidAccessToken:()=>r,readAuthConfig:()=>v,writeAuthConfig:()=>s}),P.exports=E(k);var c=_(O("fs")),p=_(O("path")),d=q();function y(){const e=(0,d.getVercelDataDir)();if(!e)throw new Error(`Unable to find Vercel CLI data directory. Your platform: ${V.platform}. Supported: darwin, linux, win32.`);return p.join(e,"auth.json")}function v(){try{const e=y();if(!c.existsSync(e))return null;const o=c.readFileSync(e,"utf8");return o?JSON.parse(o):null}catch{return null}}function s(e){const o=y(),a=p.dirname(o);c.existsSync(a)||c.mkdirSync(a,{mode:504,recursive:!0}),c.writeFileSync(o,JSON.stringify(e,null,2),{mode:384})}function r(e){if(!e.token)return!1;if(typeof e.expiresAt!="number")return!0;const o=Math.floor(Date.now()/1e3);return e.expiresAt>=o}}}),L=A({"../../../node_modules/.pnpm/@vercel+oidc@3.1.0/node_modules/@vercel/oidc/dist/oauth.js"(C,P){var g=Object.defineProperty,l=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,b=Object.prototype.hasOwnProperty,m=(s,r)=>{for(var e in r)g(s,e,{get:r[e],enumerable:!0})},T=(s,r,e,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of j(r))!b.call(s,a)&&a!==e&&g(s,a,{get:()=>r[a],enumerable:!(o=l(r,a))||o.enumerable});return s},D=s=>T(g({},"__esModule",{value:!0}),s),h={};m(h,{processTokenResponse:()=>v,refreshTokenRequest:()=>y}),P.exports=D(h);var _=O("os"),E="https://vercel.com",k="cl_HYyOPBNtFMfHhaUn9L4QPfTZz6TP47bp",c=`@vercel/oidc node-${V.version} ${(0,_.platform)()} (${(0,_.arch)()}) ${(0,_.hostname)()}`,p=null;async function d(){if(p)return p;const s=`${E}/.well-known/openid-configuration`,r=await fetch(s,{headers:{"user-agent":c}});if(!r.ok)throw new Error("Failed to discover OAuth endpoints");const e=await r.json();if(!e||typeof e.token_endpoint!="string")throw new Error("Invalid OAuth discovery response");const o=e.token_endpoint;return p=o,o}async function y(s){const r=await d();return await fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded","user-agent":c},body:new URLSearchParams({client_id:k,grant_type:"refresh_token",...s})})}async function v(s){const r=await s.json();if(!s.ok){const e=typeof r=="object"&&r&&"error"in r?String(r.error):"Token refresh failed";return[new Error(e)]}return typeof r!="object"||r===null?[new Error("Invalid token response")]:typeof r.access_token!="string"?[new Error("Missing access_token in response")]:r.token_type!=="Bearer"?[new Error("Invalid token_type in response")]:typeof r.expires_in!="number"?[new Error("Missing expires_in in response")]:[null,r]}}}),q=A({"../../../node_modules/.pnpm/@vercel+oidc@3.1.0/node_modules/@vercel/oidc/dist/token-util.js"(C,P){var g=Object.create,l=Object.defineProperty,j=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,m=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty,D=(t,n)=>{for(var i in n)l(t,i,{get:n[i],enumerable:!0})},h=(t,n,i,u)=>{if(n&&typeof n=="object"||typeof n=="function")for(let f of b(n))!T.call(t,f)&&f!==i&&l(t,f,{get:()=>n[f],enumerable:!(u=j(n,f))||u.enumerable});return t},_=(t,n,i)=>(i=t!=null?g(m(t)):{},h(!t||!t.__esModule?l(i,"default",{value:t,enumerable:!0}):i,t)),E=t=>h(l({},"__esModule",{value:!0}),t),k={};D(k,{assertVercelOidcTokenResponse:()=>a,findProjectInfo:()=>w,getTokenPayload:()=>R,getVercelCliToken:()=>e,getVercelDataDir:()=>r,getVercelOidcToken:()=>o,isExpired:()=>$,loadToken:()=>N,saveToken:()=>x}),P.exports=E(k);var c=_(O("path")),p=_(O("fs")),d=M(),y=J(),v=U(),s=L();function r(){const t="com.vercel.cli",n=(0,y.getUserDataDir)();return n?c.join(n,t):null}async function e(){const t=(0,v.readAuthConfig)();if(!t)return null;if((0,v.isValidAccessToken)(t))return t.token||null;if(!t.refreshToken)return(0,v.writeAuthConfig)({}),null;try{const n=await(0,s.refreshTokenRequest)({refresh_token:t.refreshToken}),[i,u]=await(0,s.processTokenResponse)(n);if(i||!u)return(0,v.writeAuthConfig)({}),null;const f={token:u.access_token,expiresAt:Math.floor(Date.now()/1e3)+u.expires_in};return u.refresh_token&&(f.refreshToken=u.refresh_token),(0,v.writeAuthConfig)(f),f.token??null}catch{return(0,v.writeAuthConfig)({}),null}}async function o(t,n,i){const u=`https://api.vercel.com/v1/projects/${n}/token?source=vercel-oidc-refresh${i?`&teamId=${i}`:""}`,f=await fetch(u,{method:"POST",headers:{Authorization:`Bearer ${t}`}});if(!f.ok)throw new d.VercelOidcTokenError(`Failed to refresh OIDC token: ${f.statusText}`);const I=await f.json();return a(I),I}function a(t){if(!t||typeof t!="object")throw new TypeError("Vercel OIDC token is malformed. Expected an object. Please run `vc env pull` and try again");if(!("token"in t)||typeof t.token!="string")throw new TypeError("Vercel OIDC token is malformed. Expected a string-valued token property. Please run `vc env pull` and try again")}function w(){const t=(0,y.findRootDir)();if(!t)throw new d.VercelOidcTokenError("Unable to find project root directory. Have you linked your project with `vc link?`");const n=c.join(t,".vercel","project.json");if(!p.existsSync(n))throw new d.VercelOidcTokenError("project.json not found, have you linked your project with `vc link?`");const i=JSON.parse(p.readFileSync(n,"utf8"));if(typeof i.projectId!="string"&&typeof i.orgId!="string")throw new TypeError("Expected a string-valued projectId property. Try running `vc link` to re-link your project.");return{projectId:i.projectId,teamId:i.orgId}}function x(t,n){const i=(0,y.getUserDataDir)();if(!i)throw new d.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");const u=c.join(i,"com.vercel.token",`${n}.json`),f=JSON.stringify(t);p.mkdirSync(c.dirname(u),{mode:504,recursive:!0}),p.writeFileSync(u,f),p.chmodSync(u,432)}function N(t){const n=(0,y.getUserDataDir)();if(!n)throw new d.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");const i=c.join(n,"com.vercel.token",`${t}.json`);if(!p.existsSync(i))return null;const u=JSON.parse(p.readFileSync(i,"utf8"));return a(u),u}function R(t){const n=t.split(".");if(n.length!==3)throw new d.VercelOidcTokenError("Invalid token. Please run `vc env pull` and try again");const i=n[1].replace(/-/g,"+").replace(/_/g,"/"),u=i.padEnd(i.length+(4-i.length%4)%4,"=");return JSON.parse(Buffer.from(u,"base64").toString("utf8"))}function $(t){return t.exp*1e3<Date.now()}}});export{q as r};
@@ -1 +1 @@
1
- import{_ as A,G as O,H as M}from"./main-DQ2DZ99t.js";var V={env:{}},S={},U=A({"../../../node_modules/.pnpm/@vercel+oidc@3.1.0/node_modules/@vercel/oidc/dist/token-io.js"(C,P){var g=Object.create,l=Object.defineProperty,j=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,m=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty,D=(r,e)=>{for(var o in e)l(r,o,{get:e[o],enumerable:!0})},h=(r,e,o,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let w of b(e))!T.call(r,w)&&w!==o&&l(r,w,{get:()=>e[w],enumerable:!(a=j(e,w))||a.enumerable});return r},_=(r,e,o)=>(o=r!=null?g(m(r)):{},h(!r||!r.__esModule?l(o,"default",{value:r,enumerable:!0}):o,r)),E=r=>h(l({},"__esModule",{value:!0}),r),k={};D(k,{findRootDir:()=>v,getUserDataDir:()=>s}),P.exports=E(k);var c=_(O("path")),p=_(O("fs")),d=_(O("os")),y=M();function v(){try{let r=V.cwd();for(;r!==c.default.dirname(r);){const e=c.default.join(r,".vercel");if(p.default.existsSync(e))return r;r=c.default.dirname(r)}}catch{throw new y.VercelOidcTokenError("Token refresh only supported in node server environments")}return null}function s(){if(S.XDG_DATA_HOME)return S.XDG_DATA_HOME;switch(d.default.platform()){case"darwin":return c.default.join(d.default.homedir(),"Library/Application Support");case"linux":return c.default.join(d.default.homedir(),".local/share");case"win32":return S.LOCALAPPDATA?S.LOCALAPPDATA:null;default:return null}}}}),J=A({"../../../node_modules/.pnpm/@vercel+oidc@3.1.0/node_modules/@vercel/oidc/dist/auth-config.js"(C,P){var g=Object.create,l=Object.defineProperty,j=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,m=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty,D=(e,o)=>{for(var a in o)l(e,a,{get:o[a],enumerable:!0})},h=(e,o,a,w)=>{if(o&&typeof o=="object"||typeof o=="function")for(let x of b(o))!T.call(e,x)&&x!==a&&l(e,x,{get:()=>o[x],enumerable:!(w=j(o,x))||w.enumerable});return e},_=(e,o,a)=>(a=e!=null?g(m(e)):{},h(!e||!e.__esModule?l(a,"default",{value:e,enumerable:!0}):a,e)),E=e=>h(l({},"__esModule",{value:!0}),e),k={};D(k,{isValidAccessToken:()=>r,readAuthConfig:()=>v,writeAuthConfig:()=>s}),P.exports=E(k);var c=_(O("fs")),p=_(O("path")),d=q();function y(){const e=(0,d.getVercelDataDir)();if(!e)throw new Error(`Unable to find Vercel CLI data directory. Your platform: ${V.platform}. Supported: darwin, linux, win32.`);return p.join(e,"auth.json")}function v(){try{const e=y();if(!c.existsSync(e))return null;const o=c.readFileSync(e,"utf8");return o?JSON.parse(o):null}catch{return null}}function s(e){const o=y(),a=p.dirname(o);c.existsSync(a)||c.mkdirSync(a,{mode:504,recursive:!0}),c.writeFileSync(o,JSON.stringify(e,null,2),{mode:384})}function r(e){if(!e.token)return!1;if(typeof e.expiresAt!="number")return!0;const o=Math.floor(Date.now()/1e3);return e.expiresAt>=o}}}),L=A({"../../../node_modules/.pnpm/@vercel+oidc@3.1.0/node_modules/@vercel/oidc/dist/oauth.js"(C,P){var g=Object.defineProperty,l=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,b=Object.prototype.hasOwnProperty,m=(s,r)=>{for(var e in r)g(s,e,{get:r[e],enumerable:!0})},T=(s,r,e,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of j(r))!b.call(s,a)&&a!==e&&g(s,a,{get:()=>r[a],enumerable:!(o=l(r,a))||o.enumerable});return s},D=s=>T(g({},"__esModule",{value:!0}),s),h={};m(h,{processTokenResponse:()=>v,refreshTokenRequest:()=>y}),P.exports=D(h);var _=O("os"),E="https://vercel.com",k="cl_HYyOPBNtFMfHhaUn9L4QPfTZz6TP47bp",c=`@vercel/oidc node-${V.version} ${(0,_.platform)()} (${(0,_.arch)()}) ${(0,_.hostname)()}`,p=null;async function d(){if(p)return p;const s=`${E}/.well-known/openid-configuration`,r=await fetch(s,{headers:{"user-agent":c}});if(!r.ok)throw new Error("Failed to discover OAuth endpoints");const e=await r.json();if(!e||typeof e.token_endpoint!="string")throw new Error("Invalid OAuth discovery response");const o=e.token_endpoint;return p=o,o}async function y(s){const r=await d();return await fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded","user-agent":c},body:new URLSearchParams({client_id:k,grant_type:"refresh_token",...s})})}async function v(s){const r=await s.json();if(!s.ok){const e=typeof r=="object"&&r&&"error"in r?String(r.error):"Token refresh failed";return[new Error(e)]}return typeof r!="object"||r===null?[new Error("Invalid token response")]:typeof r.access_token!="string"?[new Error("Missing access_token in response")]:r.token_type!=="Bearer"?[new Error("Invalid token_type in response")]:typeof r.expires_in!="number"?[new Error("Missing expires_in in response")]:[null,r]}}}),q=A({"../../../node_modules/.pnpm/@vercel+oidc@3.1.0/node_modules/@vercel/oidc/dist/token-util.js"(C,P){var g=Object.create,l=Object.defineProperty,j=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,m=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty,D=(t,n)=>{for(var i in n)l(t,i,{get:n[i],enumerable:!0})},h=(t,n,i,u)=>{if(n&&typeof n=="object"||typeof n=="function")for(let f of b(n))!T.call(t,f)&&f!==i&&l(t,f,{get:()=>n[f],enumerable:!(u=j(n,f))||u.enumerable});return t},_=(t,n,i)=>(i=t!=null?g(m(t)):{},h(!t||!t.__esModule?l(i,"default",{value:t,enumerable:!0}):i,t)),E=t=>h(l({},"__esModule",{value:!0}),t),k={};D(k,{assertVercelOidcTokenResponse:()=>a,findProjectInfo:()=>w,getTokenPayload:()=>R,getVercelCliToken:()=>e,getVercelDataDir:()=>r,getVercelOidcToken:()=>o,isExpired:()=>$,loadToken:()=>N,saveToken:()=>x}),P.exports=E(k);var c=_(O("path")),p=_(O("fs")),d=M(),y=U(),v=J(),s=L();function r(){const t="com.vercel.cli",n=(0,y.getUserDataDir)();return n?c.join(n,t):null}async function e(){const t=(0,v.readAuthConfig)();if(!t)return null;if((0,v.isValidAccessToken)(t))return t.token||null;if(!t.refreshToken)return(0,v.writeAuthConfig)({}),null;try{const n=await(0,s.refreshTokenRequest)({refresh_token:t.refreshToken}),[i,u]=await(0,s.processTokenResponse)(n);if(i||!u)return(0,v.writeAuthConfig)({}),null;const f={token:u.access_token,expiresAt:Math.floor(Date.now()/1e3)+u.expires_in};return u.refresh_token&&(f.refreshToken=u.refresh_token),(0,v.writeAuthConfig)(f),f.token??null}catch{return(0,v.writeAuthConfig)({}),null}}async function o(t,n,i){const u=`https://api.vercel.com/v1/projects/${n}/token?source=vercel-oidc-refresh${i?`&teamId=${i}`:""}`,f=await fetch(u,{method:"POST",headers:{Authorization:`Bearer ${t}`}});if(!f.ok)throw new d.VercelOidcTokenError(`Failed to refresh OIDC token: ${f.statusText}`);const I=await f.json();return a(I),I}function a(t){if(!t||typeof t!="object")throw new TypeError("Vercel OIDC token is malformed. Expected an object. Please run `vc env pull` and try again");if(!("token"in t)||typeof t.token!="string")throw new TypeError("Vercel OIDC token is malformed. Expected a string-valued token property. Please run `vc env pull` and try again")}function w(){const t=(0,y.findRootDir)();if(!t)throw new d.VercelOidcTokenError("Unable to find project root directory. Have you linked your project with `vc link?`");const n=c.join(t,".vercel","project.json");if(!p.existsSync(n))throw new d.VercelOidcTokenError("project.json not found, have you linked your project with `vc link?`");const i=JSON.parse(p.readFileSync(n,"utf8"));if(typeof i.projectId!="string"&&typeof i.orgId!="string")throw new TypeError("Expected a string-valued projectId property. Try running `vc link` to re-link your project.");return{projectId:i.projectId,teamId:i.orgId}}function x(t,n){const i=(0,y.getUserDataDir)();if(!i)throw new d.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");const u=c.join(i,"com.vercel.token",`${n}.json`),f=JSON.stringify(t);p.mkdirSync(c.dirname(u),{mode:504,recursive:!0}),p.writeFileSync(u,f),p.chmodSync(u,432)}function N(t){const n=(0,y.getUserDataDir)();if(!n)throw new d.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");const i=c.join(n,"com.vercel.token",`${t}.json`);if(!p.existsSync(i))return null;const u=JSON.parse(p.readFileSync(i,"utf8"));return a(u),u}function R(t){const n=t.split(".");if(n.length!==3)throw new d.VercelOidcTokenError("Invalid token. Please run `vc env pull` and try again");const i=n[1].replace(/-/g,"+").replace(/_/g,"/"),u=i.padEnd(i.length+(4-i.length%4)%4,"=");return JSON.parse(Buffer.from(u,"base64").toString("utf8"))}function $(t){return t.exp*1e3<Date.now()}}});export{q as r};
1
+ import{_ as A,G as O,H as M}from"./main-DqmAHTOP.js";var V={env:{}},S={},U=A({"../../../node_modules/.pnpm/@vercel+oidc@3.1.0/node_modules/@vercel/oidc/dist/token-io.js"(C,P){var g=Object.create,l=Object.defineProperty,j=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,m=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty,D=(r,e)=>{for(var o in e)l(r,o,{get:e[o],enumerable:!0})},h=(r,e,o,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let w of b(e))!T.call(r,w)&&w!==o&&l(r,w,{get:()=>e[w],enumerable:!(a=j(e,w))||a.enumerable});return r},_=(r,e,o)=>(o=r!=null?g(m(r)):{},h(!r||!r.__esModule?l(o,"default",{value:r,enumerable:!0}):o,r)),E=r=>h(l({},"__esModule",{value:!0}),r),k={};D(k,{findRootDir:()=>v,getUserDataDir:()=>s}),P.exports=E(k);var c=_(O("path")),p=_(O("fs")),d=_(O("os")),y=M();function v(){try{let r=V.cwd();for(;r!==c.default.dirname(r);){const e=c.default.join(r,".vercel");if(p.default.existsSync(e))return r;r=c.default.dirname(r)}}catch{throw new y.VercelOidcTokenError("Token refresh only supported in node server environments")}return null}function s(){if(S.XDG_DATA_HOME)return S.XDG_DATA_HOME;switch(d.default.platform()){case"darwin":return c.default.join(d.default.homedir(),"Library/Application Support");case"linux":return c.default.join(d.default.homedir(),".local/share");case"win32":return S.LOCALAPPDATA?S.LOCALAPPDATA:null;default:return null}}}}),J=A({"../../../node_modules/.pnpm/@vercel+oidc@3.1.0/node_modules/@vercel/oidc/dist/auth-config.js"(C,P){var g=Object.create,l=Object.defineProperty,j=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,m=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty,D=(e,o)=>{for(var a in o)l(e,a,{get:o[a],enumerable:!0})},h=(e,o,a,w)=>{if(o&&typeof o=="object"||typeof o=="function")for(let x of b(o))!T.call(e,x)&&x!==a&&l(e,x,{get:()=>o[x],enumerable:!(w=j(o,x))||w.enumerable});return e},_=(e,o,a)=>(a=e!=null?g(m(e)):{},h(!e||!e.__esModule?l(a,"default",{value:e,enumerable:!0}):a,e)),E=e=>h(l({},"__esModule",{value:!0}),e),k={};D(k,{isValidAccessToken:()=>r,readAuthConfig:()=>v,writeAuthConfig:()=>s}),P.exports=E(k);var c=_(O("fs")),p=_(O("path")),d=q();function y(){const e=(0,d.getVercelDataDir)();if(!e)throw new Error(`Unable to find Vercel CLI data directory. Your platform: ${V.platform}. Supported: darwin, linux, win32.`);return p.join(e,"auth.json")}function v(){try{const e=y();if(!c.existsSync(e))return null;const o=c.readFileSync(e,"utf8");return o?JSON.parse(o):null}catch{return null}}function s(e){const o=y(),a=p.dirname(o);c.existsSync(a)||c.mkdirSync(a,{mode:504,recursive:!0}),c.writeFileSync(o,JSON.stringify(e,null,2),{mode:384})}function r(e){if(!e.token)return!1;if(typeof e.expiresAt!="number")return!0;const o=Math.floor(Date.now()/1e3);return e.expiresAt>=o}}}),L=A({"../../../node_modules/.pnpm/@vercel+oidc@3.1.0/node_modules/@vercel/oidc/dist/oauth.js"(C,P){var g=Object.defineProperty,l=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,b=Object.prototype.hasOwnProperty,m=(s,r)=>{for(var e in r)g(s,e,{get:r[e],enumerable:!0})},T=(s,r,e,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of j(r))!b.call(s,a)&&a!==e&&g(s,a,{get:()=>r[a],enumerable:!(o=l(r,a))||o.enumerable});return s},D=s=>T(g({},"__esModule",{value:!0}),s),h={};m(h,{processTokenResponse:()=>v,refreshTokenRequest:()=>y}),P.exports=D(h);var _=O("os"),E="https://vercel.com",k="cl_HYyOPBNtFMfHhaUn9L4QPfTZz6TP47bp",c=`@vercel/oidc node-${V.version} ${(0,_.platform)()} (${(0,_.arch)()}) ${(0,_.hostname)()}`,p=null;async function d(){if(p)return p;const s=`${E}/.well-known/openid-configuration`,r=await fetch(s,{headers:{"user-agent":c}});if(!r.ok)throw new Error("Failed to discover OAuth endpoints");const e=await r.json();if(!e||typeof e.token_endpoint!="string")throw new Error("Invalid OAuth discovery response");const o=e.token_endpoint;return p=o,o}async function y(s){const r=await d();return await fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded","user-agent":c},body:new URLSearchParams({client_id:k,grant_type:"refresh_token",...s})})}async function v(s){const r=await s.json();if(!s.ok){const e=typeof r=="object"&&r&&"error"in r?String(r.error):"Token refresh failed";return[new Error(e)]}return typeof r!="object"||r===null?[new Error("Invalid token response")]:typeof r.access_token!="string"?[new Error("Missing access_token in response")]:r.token_type!=="Bearer"?[new Error("Invalid token_type in response")]:typeof r.expires_in!="number"?[new Error("Missing expires_in in response")]:[null,r]}}}),q=A({"../../../node_modules/.pnpm/@vercel+oidc@3.1.0/node_modules/@vercel/oidc/dist/token-util.js"(C,P){var g=Object.create,l=Object.defineProperty,j=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,m=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty,D=(t,n)=>{for(var i in n)l(t,i,{get:n[i],enumerable:!0})},h=(t,n,i,u)=>{if(n&&typeof n=="object"||typeof n=="function")for(let f of b(n))!T.call(t,f)&&f!==i&&l(t,f,{get:()=>n[f],enumerable:!(u=j(n,f))||u.enumerable});return t},_=(t,n,i)=>(i=t!=null?g(m(t)):{},h(!t||!t.__esModule?l(i,"default",{value:t,enumerable:!0}):i,t)),E=t=>h(l({},"__esModule",{value:!0}),t),k={};D(k,{assertVercelOidcTokenResponse:()=>a,findProjectInfo:()=>w,getTokenPayload:()=>R,getVercelCliToken:()=>e,getVercelDataDir:()=>r,getVercelOidcToken:()=>o,isExpired:()=>$,loadToken:()=>N,saveToken:()=>x}),P.exports=E(k);var c=_(O("path")),p=_(O("fs")),d=M(),y=U(),v=J(),s=L();function r(){const t="com.vercel.cli",n=(0,y.getUserDataDir)();return n?c.join(n,t):null}async function e(){const t=(0,v.readAuthConfig)();if(!t)return null;if((0,v.isValidAccessToken)(t))return t.token||null;if(!t.refreshToken)return(0,v.writeAuthConfig)({}),null;try{const n=await(0,s.refreshTokenRequest)({refresh_token:t.refreshToken}),[i,u]=await(0,s.processTokenResponse)(n);if(i||!u)return(0,v.writeAuthConfig)({}),null;const f={token:u.access_token,expiresAt:Math.floor(Date.now()/1e3)+u.expires_in};return u.refresh_token&&(f.refreshToken=u.refresh_token),(0,v.writeAuthConfig)(f),f.token??null}catch{return(0,v.writeAuthConfig)({}),null}}async function o(t,n,i){const u=`https://api.vercel.com/v1/projects/${n}/token?source=vercel-oidc-refresh${i?`&teamId=${i}`:""}`,f=await fetch(u,{method:"POST",headers:{Authorization:`Bearer ${t}`}});if(!f.ok)throw new d.VercelOidcTokenError(`Failed to refresh OIDC token: ${f.statusText}`);const I=await f.json();return a(I),I}function a(t){if(!t||typeof t!="object")throw new TypeError("Vercel OIDC token is malformed. Expected an object. Please run `vc env pull` and try again");if(!("token"in t)||typeof t.token!="string")throw new TypeError("Vercel OIDC token is malformed. Expected a string-valued token property. Please run `vc env pull` and try again")}function w(){const t=(0,y.findRootDir)();if(!t)throw new d.VercelOidcTokenError("Unable to find project root directory. Have you linked your project with `vc link?`");const n=c.join(t,".vercel","project.json");if(!p.existsSync(n))throw new d.VercelOidcTokenError("project.json not found, have you linked your project with `vc link?`");const i=JSON.parse(p.readFileSync(n,"utf8"));if(typeof i.projectId!="string"&&typeof i.orgId!="string")throw new TypeError("Expected a string-valued projectId property. Try running `vc link` to re-link your project.");return{projectId:i.projectId,teamId:i.orgId}}function x(t,n){const i=(0,y.getUserDataDir)();if(!i)throw new d.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");const u=c.join(i,"com.vercel.token",`${n}.json`),f=JSON.stringify(t);p.mkdirSync(c.dirname(u),{mode:504,recursive:!0}),p.writeFileSync(u,f),p.chmodSync(u,432)}function N(t){const n=(0,y.getUserDataDir)();if(!n)throw new d.VercelOidcTokenError("Unable to find user data directory. Please reach out to Vercel support.");const i=c.join(n,"com.vercel.token",`${t}.json`);if(!p.existsSync(i))return null;const u=JSON.parse(p.readFileSync(i,"utf8"));return a(u),u}function R(t){const n=t.split(".");if(n.length!==3)throw new d.VercelOidcTokenError("Invalid token. Please run `vc env pull` and try again");const i=n[1].replace(/-/g,"+").replace(/_/g,"/"),u=i.padEnd(i.length+(4-i.length%4)%4,"=");return JSON.parse(Buffer.from(u,"base64").toString("utf8"))}function $(t){return t.exp*1e3<Date.now()}}});export{q as r};
@@ -1 +1 @@
1
- import{x as d,y,e as b,z as _,A as g,o as u,L as S,k as T,t,i as k,q as W,j,n as X,E as p}from"./main-DQ2DZ99t.js";import"./index-DoMrPrfw.js";const Y=1,U=2,G=3,R=179,z=4,v=180,x=5,Z=181,V=6;function E(O){return O>=65&&O<=90||O>=97&&O<=122}const F=new p(O=>{let a=O.pos;for(;;){let{next:e}=O;if(e<0)break;if(e==123){let r=O.peek(1);if(r==123){if(O.pos>a)break;O.acceptToken(Y,2);return}else if(r==37){if(O.pos>a)break;let $=2,i=2;for(;;){let n=O.peek($);if(n==32||n==10)++$;else if(n==35)for(++$;;){let Q=O.peek($);if(Q<0||Q==10)break;$++}else if(n==45&&i==2)i=++$;else{let Q=n==101&&O.peek($+1)==110&&O.peek($+2)==100;O.acceptToken(Q?G:U,i);return}}}}if(O.advance(),e==10)break}O.pos>a&&O.acceptToken(R)});function h(O,a,e){return new p(r=>{let $=r.pos;for(;;){let{next:i}=r;if(i==123&&r.peek(1)==37){let n=2;for(;;n++){let s=r.peek(n);if(s!=32&&s!=10)break}let Q="";for(;;n++){let s=r.peek(n);if(!E(s))break;Q+=String.fromCharCode(s)}if(Q==O){if(r.pos>$)break;r.acceptToken(e,2);break}}else if(i<0)break;if(r.advance(),i==10)break}r.pos>$&&r.acceptToken(a)})}const D=h("endcomment",Z,x),C=h("endraw",v,z),N=new p(O=>{if(O.next==35){for(O.advance();!(O.next==10||O.next<0||(O.next==37||O.next==125)&&O.peek(1)==125);)O.advance();O.acceptToken(V)}}),I={__proto__:null,contains:32,or:36,and:36,true:50,false:50,empty:52,forloop:54,tablerowloop:56,continue:58,in:128,with:194,for:196,as:198,if:234,endif:238,unless:244,endunless:248,elsif:252,else:256,case:262,endcase:266,when:270,endfor:278,tablerow:284,endtablerow:288,break:292,cycle:298,echo:302,render:306,include:310,assign:314,capture:320,endcapture:324,increment:328,decrement:332},L={__proto__:null,if:84,endif:88,elsif:92,else:96,unless:102,endunless:106,case:112,endcase:116,when:120,for:126,endfor:136,tablerow:142,endtablerow:146,break:150,continue:154,cycle:158,comment:164,endcomment:170,raw:176,endraw:182,echo:186,render:190,include:202,assign:206,capture:212,endcapture:216,increment:220,decrement:224,liquid:228},A=X.deserialize({version:14,states:"GlQYOPOOOOOP'#Fz'#FzOeOaO'#CdOsQhO'#CfO!bQxO'#DRO#{OPO'#DUO$ZOPO'#D_O$iOPO'#DdO$wOPO'#DkO%VOPO'#DsO%eOSO'#EOO%jOQO'#EUO%oOPO'#EhOOOP'#G_'#G_OOOP'#G['#G[OOOP'#Fy'#FyQYOPOOOOOP-E9x-E9xOOQW'#Cg'#CgO&`Q!jO,59QO&gQ!jO'#G]OsQhO'#CsOOQW'#G]'#G]OOOP,59m,59mO)PQhO,59mOsQhO,59qOsQhO,59uO)ZQhO,59wOsQhO,59zOsQhO,5:POsQhO,5:TO!]QhO,5:WO!]QhO,5:`O)`QhO,5:dO)eQhO,5:fO)jQhO,5:hO)oQhO,5:kO)tQhO,5:qOsQhO,5:vOsQhO,5:xOsQhO,5;OOsQhO,5;QOsQhO,5;TOsQhO,5;XOsQhO,5;ZO+TQhO,5;]O+[OPO'#CdOOOP,59p,59pO#{OPO,59pO+jQxO'#DXOOOP,59y,59yO$ZOPO,59yO+oQxO'#DbOOOP,5:O,5:OO$iOPO,5:OO+tQxO'#DgOOOP,5:V,5:VO$wOPO,5:VO+yQxO'#DqOOOP,5:_,5:_O%VOPO,5:_O,OQxO'#DvOOOS'#GP'#GPO,TOSO'#ERO,]OSO,5:jOOOQ'#GQ'#GQO,bOQO'#EXO,jOQO,5:pOOOP,5;S,5;SO%oOPO,5;SO,oQxO'#EkOOOP-E9w-E9wO,tQ#|O,59SOsQhO,59VOsQhO,59VO,yQhO'#C|O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'S&kQ'T&lQ'^'QR'c'Xm#d}#]#^#_#`#a#b#e%U%X%[%_%b%e",nodeNames:"⚠ {{ {% {% {% {% InlineComment Template Text }} Interpolation VariableName MemberExpression . PropertyName BinaryExpression contains CompareOp LogicOp AssignmentExpression AssignOp ) ( RangeExpression .. BooleanLiteral empty forloop tablerowloop continue StringLiteral NumberLiteral Filter | FilterName : , Tag TagName %} IfDirective Tag if EndTag endif Tag elsif Tag else UnlessDirective Tag unless EndTag endunless CaseDirective Tag case EndTag endcase Tag when ForDirective Tag for in Parameter ParameterName EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag continue Tag cycle Comment Tag comment CommentText EndTag endcomment RawDirective Tag raw RawText EndTag endraw Tag echo Tag render RenderParameter with for as Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement Tag liquid IfDirective Tag if EndTag endif UnlessDirective Tag unless EndTag endunless Tag elsif Tag else CaseDirective Tag case EndTag endcase Tag when ForDirective Tag EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag Tag cycle Tag echo Tag render Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement",maxTerm:188,nodeProps:[["closedBy",1,"}}",-4,2,3,4,5,"%}",22,")"],["openedBy",9,"{{",21,"(",39,"{%"],["group",-12,11,12,15,19,23,25,26,27,28,29,30,31,"Expression"]],skippedNodes:[0,6],repeatNodeCount:11,tokenData:")T~RkXY!vYZ!v]^!vpq!vqr#Xrs#duv$Uwx$axy$|yz%R{|%W|}&r}!O&w!O!P'T!Q![&a![!]'e!^!_'j!_!`'r!`!a'j!c!}'z#R#S'z#T#o'z#p#q(s#q#r(x%W;'S'z;'S;:j(m<%lO'z~!{S$}~XY!vYZ!v]^!vpq!v~#[P!_!`#_~#dOa~~#gUOY#dZr#drs#ys;'S#d;'S;=`$O<%lO#d~$OOn~~$RP;=`<%l#d~$XP#q#r$[~$aOw~~$dUOY$aZw$awx#yx;'S$a;'S;=`$v<%lO$a~$yP;=`<%l$a~%ROf~~%WOe~P%ZQ!O!P%a!Q![&aP%dP!Q![%gP%lRoP!Q![%g!g!h%u#X#Y%uP%xR{|&R}!O&R!Q![&XP&UP!Q![&XP&^PoP!Q![&XP&fSoP!O!P%a!Q![&a!g!h%u#X#Y%u~&wOt~~&zRuv$U!O!P%a!Q![&a~'YQ]S!O!P'`!Q![%g~'eOh~~'jOs~~'oPa~!_!`#_~'wPd~!_!`#__(TW^WvQ%QT}!O'z!Q!['z!c!}'z#R#S'z#T#o'z%W;'S'z;'S;:j(m<%lO'z_(pP;=`<%l'z~(xOq~~({P#q#r)O~)TOX~",tokenizers:[F,C,D,N,0,1,2,3],topRules:{Template:[0,7]},specialized:[{term:186,get:O=>I[O]||-1},{term:38,get:O=>L[O]||-1}],tokenPrec:0});function o(O,a){return O.split(" ").map(e=>({label:e,type:a}))}const m=o("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where","function"),q=o("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include","keyword"),f=o("empty forloop tablerowloop in with as","keyword"),H=o("first index index0 last length rindex","property"),B=o("col col0 col_first col_last first index index0 last length rindex rindex0 row","property");function M(O){var a;let{state:e,pos:r}=O,$=u(e).resolveInner(r,-1).enterUnfinishedNodesBefore(r),i=((a=$.childBefore(r))===null||a===void 0?void 0:a.name)||$.name;if($.name=="FilterName")return{type:"filter",node:$};if(O.explicit&&i=="|")return{type:"filter"};if($.name=="TagName")return{type:"tag",node:$};if(O.explicit&&i=="{%")return{type:"tag"};if($.name=="PropertyName"&&$.parent.name=="MemberExpression")return{type:"property",node:$,target:$.parent};if($.name=="."&&$.parent.name=="MemberExpression")return{type:"property",target:$.parent};if($.name=="MemberExpression"&&i==".")return{type:"property",target:$};if($.name=="VariableName")return{type:"expression",from:$.from};let n=O.matchBefore(/[\w\u00c0-\uffff]+$/);return n?{type:"expression",from:n.from}:O.explicit&&$.name!="CommentText"&&$.name!="StringLiteral"&&$.name!="NumberLiteral"&&$.name!="InlineComment"?{type:"expression"}:null}function K(O,a,e,r){let $=[];for(;;){let i=a.getChild("Expression");if(!i)return[];if(i.name=="forloop")return $.length?[]:H;if(i.name=="tablerowloop")return $.length?[]:B;if(i.name=="VariableName"){$.unshift(O.sliceDoc(i.from,i.to));break}else if(i.name=="MemberExpression"){let n=i.getChild("PropertyName");n&&$.unshift(O.sliceDoc(n.from,n.to)),a=i}else return[]}return r?r($,O,e):[]}function J(O={}){let a=O.filters?O.filters.concat(m):m,e=O.tags?O.tags.concat(q):q,r=O.variables?O.variables.concat(f):f,{properties:$}=O;return i=>{var n;let Q=M(i);if(!Q)return null;let s=(n=Q.from)!==null&&n!==void 0?n:Q.node?Q.node.from:i.pos,l;return Q.type=="filter"?l=a:Q.type=="tag"?l=e:Q.type=="expression"?l=r:l=K(i.state,Q.target,i,$),l.length?{options:l,from:s,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const OO=d.inputHandler.of((O,a,e,r)=>r!="%"||a!=e||O.state.doc.sliceString(a-1,e+1)!="{}"?!1:(O.dispatch(O.state.changeByRange($=>({changes:{from:$.from,to:$.to,insert:"%%"},range:y.cursor($.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function c(O){return a=>{let e=O.test(a.textAfter);return a.lineIndent(a.node.from)+(e?0:a.unit)}}const $O=S.define({name:"liquid",parser:A.configure({props:[T({"cycle comment endcomment raw endraw echo increment decrement liquid in with as":t.keyword,"empty forloop tablerowloop":t.atom,"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue":t.controlKeyword,"assign capture endcapture":t.definitionKeyword,contains:t.operatorKeyword,"render include":t.moduleKeyword,VariableName:t.variableName,TagName:t.tagName,FilterName:t.function(t.variableName),PropertyName:t.propertyName,CompareOp:t.compareOperator,AssignOp:t.definitionOperator,LogicOp:t.logicOperator,NumberLiteral:t.number,StringLiteral:t.string,BooleanLiteral:t.bool,InlineComment:t.lineComment,CommentText:t.blockComment,"{% %} {{ }}":t.brace,"( )":t.paren,".":t.derefOperator,", .. : |":t.punctuation}),k.add({Tag:W({closing:"%}"}),"UnlessDirective ForDirective TablerowDirective CaptureDirective":c(/^\s*(\{%-?\s*)?end\w/),IfDirective:c(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),CaseDirective:c(/^\s*(\{%-?\s*)?(endcase|when)\b/)}),j.add({"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O){let a=O.firstChild,e=O.lastChild;return!a||a.name!="Tag"?null:{from:a.to,to:e.name=="EndTag"?e.from:O.to}}})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*{%-?\s*(?:end|elsif|else|when|)$/}}),P=_();function w(O){return $O.configure({wrap:g(a=>a.type.isTop?{parser:O.parser,overlay:e=>e.name=="Text"||e.name=="RawText"}:null)},"liquid")}const aO=w(P.language);function rO(O={}){let a=O.base||P,e=a.language==P.language?aO:w(a.language);return new b(e,[a.support,e.data.of({autocomplete:J(O)}),a.language.data.of({closeBrackets:{brackets:["{"]}}),OO])}export{OO as closePercentBrace,rO as liquid,J as liquidCompletionSource,aO as liquidLanguage};
1
+ import{x as d,y,e as b,z as _,A as g,o as u,L as S,k as T,t,i as k,q as W,j,n as X,E as p}from"./main-DqmAHTOP.js";import"./index-D_Gnoe-b.js";const Y=1,U=2,G=3,R=179,z=4,v=180,x=5,Z=181,V=6;function E(O){return O>=65&&O<=90||O>=97&&O<=122}const F=new p(O=>{let a=O.pos;for(;;){let{next:e}=O;if(e<0)break;if(e==123){let r=O.peek(1);if(r==123){if(O.pos>a)break;O.acceptToken(Y,2);return}else if(r==37){if(O.pos>a)break;let $=2,i=2;for(;;){let n=O.peek($);if(n==32||n==10)++$;else if(n==35)for(++$;;){let Q=O.peek($);if(Q<0||Q==10)break;$++}else if(n==45&&i==2)i=++$;else{let Q=n==101&&O.peek($+1)==110&&O.peek($+2)==100;O.acceptToken(Q?G:U,i);return}}}}if(O.advance(),e==10)break}O.pos>a&&O.acceptToken(R)});function h(O,a,e){return new p(r=>{let $=r.pos;for(;;){let{next:i}=r;if(i==123&&r.peek(1)==37){let n=2;for(;;n++){let s=r.peek(n);if(s!=32&&s!=10)break}let Q="";for(;;n++){let s=r.peek(n);if(!E(s))break;Q+=String.fromCharCode(s)}if(Q==O){if(r.pos>$)break;r.acceptToken(e,2);break}}else if(i<0)break;if(r.advance(),i==10)break}r.pos>$&&r.acceptToken(a)})}const D=h("endcomment",Z,x),C=h("endraw",v,z),N=new p(O=>{if(O.next==35){for(O.advance();!(O.next==10||O.next<0||(O.next==37||O.next==125)&&O.peek(1)==125);)O.advance();O.acceptToken(V)}}),I={__proto__:null,contains:32,or:36,and:36,true:50,false:50,empty:52,forloop:54,tablerowloop:56,continue:58,in:128,with:194,for:196,as:198,if:234,endif:238,unless:244,endunless:248,elsif:252,else:256,case:262,endcase:266,when:270,endfor:278,tablerow:284,endtablerow:288,break:292,cycle:298,echo:302,render:306,include:310,assign:314,capture:320,endcapture:324,increment:328,decrement:332},L={__proto__:null,if:84,endif:88,elsif:92,else:96,unless:102,endunless:106,case:112,endcase:116,when:120,for:126,endfor:136,tablerow:142,endtablerow:146,break:150,continue:154,cycle:158,comment:164,endcomment:170,raw:176,endraw:182,echo:186,render:190,include:202,assign:206,capture:212,endcapture:216,increment:220,decrement:224,liquid:228},A=X.deserialize({version:14,states:"GlQYOPOOOOOP'#Fz'#FzOeOaO'#CdOsQhO'#CfO!bQxO'#DRO#{OPO'#DUO$ZOPO'#D_O$iOPO'#DdO$wOPO'#DkO%VOPO'#DsO%eOSO'#EOO%jOQO'#EUO%oOPO'#EhOOOP'#G_'#G_OOOP'#G['#G[OOOP'#Fy'#FyQYOPOOOOOP-E9x-E9xOOQW'#Cg'#CgO&`Q!jO,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!QTQ!TUQ!WVQ!ZWQ!^XQ!g[_!i`!Q!T!W!Z!^!gSQO`SaQ!Oi!OTUVWX[!Q!T!W!Z!^!gQ!ocQ!uh^$b!o!u$g$v%O&o&rQ$g!tQ$v#UQ%O#XQ&o%qR&r%tQ$n!|U&U$n&j'WQ&j%mR'W&uQ&z&WQ&|&XW'Y&z&|'`'aQ'`'SR'a'TQ$s#RW&Z$s&m'O'bQ&m%pQ'O&]R'b'UQ!aYR$T!aQ!dZR$W!dQ$z#VR&`$zQ#e}Q%U#]Q%X#^Q%[#_Q%_#`Q%b#aQ%e#b_%g#e%U%X%[%_%b%eQ&q%rR'V&qm_OTUVWX[`!Q!T!W!Z!^!gQcRQ!seQ!thQ!wiQ!xjQ!zlQ!{mQ!|nQ#UvQ#VwQ#WxQ#XyQ#YzQ#Z{Q#[|Q$^!kQ$_!lQ$d!qQ$e!rQ%i#fQ%j#gQ%k#hQ%l#jQ%m#kQ%q#qQ%r#rQ%s#sQ%t#tQ%u#uQ%v#vQ%w#wQ&R$fQ&T$mQ&W$pQ&X$qQ&b${Q&u&QQ'S&kQ'T&lQ'^'QR'c'Xm#d}#]#^#_#`#a#b#e%U%X%[%_%b%e",nodeNames:"⚠ {{ {% {% {% {% InlineComment Template Text }} Interpolation VariableName MemberExpression . PropertyName BinaryExpression contains CompareOp LogicOp AssignmentExpression AssignOp ) ( RangeExpression .. BooleanLiteral empty forloop tablerowloop continue StringLiteral NumberLiteral Filter | FilterName : , Tag TagName %} IfDirective Tag if EndTag endif Tag elsif Tag else UnlessDirective Tag unless EndTag endunless CaseDirective Tag case EndTag endcase Tag when ForDirective Tag for in Parameter ParameterName EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag continue Tag cycle Comment Tag comment CommentText EndTag endcomment RawDirective Tag raw RawText EndTag endraw Tag echo Tag render RenderParameter with for as Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement Tag liquid IfDirective Tag if EndTag endif UnlessDirective Tag unless EndTag endunless Tag elsif Tag else CaseDirective Tag case EndTag endcase Tag when ForDirective Tag EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag Tag cycle Tag echo Tag render Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement",maxTerm:188,nodeProps:[["closedBy",1,"}}",-4,2,3,4,5,"%}",22,")"],["openedBy",9,"{{",21,"(",39,"{%"],["group",-12,11,12,15,19,23,25,26,27,28,29,30,31,"Expression"]],skippedNodes:[0,6],repeatNodeCount:11,tokenData:")T~RkXY!vYZ!v]^!vpq!vqr#Xrs#duv$Uwx$axy$|yz%R{|%W|}&r}!O&w!O!P'T!Q![&a![!]'e!^!_'j!_!`'r!`!a'j!c!}'z#R#S'z#T#o'z#p#q(s#q#r(x%W;'S'z;'S;:j(m<%lO'z~!{S$}~XY!vYZ!v]^!vpq!v~#[P!_!`#_~#dOa~~#gUOY#dZr#drs#ys;'S#d;'S;=`$O<%lO#d~$OOn~~$RP;=`<%l#d~$XP#q#r$[~$aOw~~$dUOY$aZw$awx#yx;'S$a;'S;=`$v<%lO$a~$yP;=`<%l$a~%ROf~~%WOe~P%ZQ!O!P%a!Q![&aP%dP!Q![%gP%lRoP!Q![%g!g!h%u#X#Y%uP%xR{|&R}!O&R!Q![&XP&UP!Q![&XP&^PoP!Q![&XP&fSoP!O!P%a!Q![&a!g!h%u#X#Y%u~&wOt~~&zRuv$U!O!P%a!Q![&a~'YQ]S!O!P'`!Q![%g~'eOh~~'jOs~~'oPa~!_!`#_~'wPd~!_!`#__(TW^WvQ%QT}!O'z!Q!['z!c!}'z#R#S'z#T#o'z%W;'S'z;'S;:j(m<%lO'z_(pP;=`<%l'z~(xOq~~({P#q#r)O~)TOX~",tokenizers:[F,C,D,N,0,1,2,3],topRules:{Template:[0,7]},specialized:[{term:186,get:O=>I[O]||-1},{term:38,get:O=>L[O]||-1}],tokenPrec:0});function o(O,a){return O.split(" ").map(e=>({label:e,type:a}))}const m=o("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where","function"),q=o("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include","keyword"),f=o("empty forloop tablerowloop in with as","keyword"),H=o("first index index0 last length rindex","property"),B=o("col col0 col_first col_last first index index0 last length rindex rindex0 row","property");function M(O){var a;let{state:e,pos:r}=O,$=u(e).resolveInner(r,-1).enterUnfinishedNodesBefore(r),i=((a=$.childBefore(r))===null||a===void 0?void 0:a.name)||$.name;if($.name=="FilterName")return{type:"filter",node:$};if(O.explicit&&i=="|")return{type:"filter"};if($.name=="TagName")return{type:"tag",node:$};if(O.explicit&&i=="{%")return{type:"tag"};if($.name=="PropertyName"&&$.parent.name=="MemberExpression")return{type:"property",node:$,target:$.parent};if($.name=="."&&$.parent.name=="MemberExpression")return{type:"property",target:$.parent};if($.name=="MemberExpression"&&i==".")return{type:"property",target:$};if($.name=="VariableName")return{type:"expression",from:$.from};let n=O.matchBefore(/[\w\u00c0-\uffff]+$/);return n?{type:"expression",from:n.from}:O.explicit&&$.name!="CommentText"&&$.name!="StringLiteral"&&$.name!="NumberLiteral"&&$.name!="InlineComment"?{type:"expression"}:null}function K(O,a,e,r){let $=[];for(;;){let i=a.getChild("Expression");if(!i)return[];if(i.name=="forloop")return $.length?[]:H;if(i.name=="tablerowloop")return $.length?[]:B;if(i.name=="VariableName"){$.unshift(O.sliceDoc(i.from,i.to));break}else if(i.name=="MemberExpression"){let n=i.getChild("PropertyName");n&&$.unshift(O.sliceDoc(n.from,n.to)),a=i}else return[]}return r?r($,O,e):[]}function J(O={}){let a=O.filters?O.filters.concat(m):m,e=O.tags?O.tags.concat(q):q,r=O.variables?O.variables.concat(f):f,{properties:$}=O;return i=>{var n;let Q=M(i);if(!Q)return null;let s=(n=Q.from)!==null&&n!==void 0?n:Q.node?Q.node.from:i.pos,l;return Q.type=="filter"?l=a:Q.type=="tag"?l=e:Q.type=="expression"?l=r:l=K(i.state,Q.target,i,$),l.length?{options:l,from:s,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const OO=d.inputHandler.of((O,a,e,r)=>r!="%"||a!=e||O.state.doc.sliceString(a-1,e+1)!="{}"?!1:(O.dispatch(O.state.changeByRange($=>({changes:{from:$.from,to:$.to,insert:"%%"},range:y.cursor($.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function c(O){return a=>{let e=O.test(a.textAfter);return a.lineIndent(a.node.from)+(e?0:a.unit)}}const $O=S.define({name:"liquid",parser:A.configure({props:[T({"cycle comment endcomment raw endraw echo increment decrement liquid in with as":t.keyword,"empty forloop tablerowloop":t.atom,"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue":t.controlKeyword,"assign capture endcapture":t.definitionKeyword,contains:t.operatorKeyword,"render include":t.moduleKeyword,VariableName:t.variableName,TagName:t.tagName,FilterName:t.function(t.variableName),PropertyName:t.propertyName,CompareOp:t.compareOperator,AssignOp:t.definitionOperator,LogicOp:t.logicOperator,NumberLiteral:t.number,StringLiteral:t.string,BooleanLiteral:t.bool,InlineComment:t.lineComment,CommentText:t.blockComment,"{% %} {{ }}":t.brace,"( )":t.paren,".":t.derefOperator,", .. : |":t.punctuation}),k.add({Tag:W({closing:"%}"}),"UnlessDirective ForDirective TablerowDirective CaptureDirective":c(/^\s*(\{%-?\s*)?end\w/),IfDirective:c(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),CaseDirective:c(/^\s*(\{%-?\s*)?(endcase|when)\b/)}),j.add({"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O){let a=O.firstChild,e=O.lastChild;return!a||a.name!="Tag"?null:{from:a.to,to:e.name=="EndTag"?e.from:O.to}}})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*{%-?\s*(?:end|elsif|else|when|)$/}}),P=_();function w(O){return $O.configure({wrap:g(a=>a.type.isTop?{parser:O.parser,overlay:e=>e.name=="Text"||e.name=="RawText"}:null)},"liquid")}const aO=w(P.language);function rO(O={}){let a=O.base||P,e=a.language==P.language?aO:w(a.language);return new b(e,[a.support,e.data.of({autocomplete:J(O)}),a.language.data.of({closeBrackets:{brackets:["{"]}}),OO])}export{OO as closePercentBrace,rO as liquid,J as liquidCompletionSource,aO as liquidLanguage};