headroom-cms 0.1.1
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/README.md +282 -0
- package/admin/assets/AdminsPage-CnrQqwKA.js +1 -0
- package/admin/assets/AllContentPage-ByN1h3PP.js +1 -0
- package/admin/assets/ApiKeysPage-FgNHZPBS.js +1 -0
- package/admin/assets/AuditPage-DAPpo-sj.js +1 -0
- package/admin/assets/BlockEditor-CZTwex-o.js +179 -0
- package/admin/assets/BlockEditor-Cp_wZ2xN.css +1 -0
- package/admin/assets/BlockTypeEditPage-Buuwbx1P.js +1 -0
- package/admin/assets/BlockTypesPage-Dj0qmsqX.js +1 -0
- package/admin/assets/BulkActionBar-BMcUBJSH.js +1 -0
- package/admin/assets/CollectionEditPage-CLgQu2HS.js +1 -0
- package/admin/assets/CollectionsPage-BnCaxALz.js +1 -0
- package/admin/assets/ContentCreatePage-CJI326o-.js +1 -0
- package/admin/assets/ContentEditPage-A4i8P2Jd.js +3 -0
- package/admin/assets/ContentListPage-Bc4mBIkB.js +1 -0
- package/admin/assets/CustomBlockPreview-CCssn6vF.js +479 -0
- package/admin/assets/FieldBuilder-YJGSk0nY.js +3 -0
- package/admin/assets/LoginPage-Jrne8-Wr.js +1 -0
- package/admin/assets/MediaPage-DfPQBmNf.css +1 -0
- package/admin/assets/MediaPage-_qNXqsZg.js +1 -0
- package/admin/assets/SiteSettingsPage-CoZnavij.js +1 -0
- package/admin/assets/SitesPage-ETqFT3nO.js +1 -0
- package/admin/assets/TagsPage-BGpp0XZM.js +1 -0
- package/admin/assets/UsersPage-CKRJpAb6.js +1 -0
- package/admin/assets/WebhookEditPage-BOcLe5OJ.js +1 -0
- package/admin/assets/WebhooksPage-Czco583Y.js +1 -0
- package/admin/assets/badge-0Z1nL6DI.js +1 -0
- package/admin/assets/card-D1-S-QZ6.js +1 -0
- package/admin/assets/check-BGA0ADyt.js +1 -0
- package/admin/assets/checkbox-BPqrj_XS.js +1 -0
- package/admin/assets/command-ChD319uJ.js +1 -0
- package/admin/assets/contentStatus-DfWHjFVB.js +1 -0
- package/admin/assets/copy-BqH9rXYM.js +1 -0
- package/admin/assets/core.esm-Csvubn5Q.js +5 -0
- package/admin/assets/format-CZ9bpk32.js +1 -0
- package/admin/assets/index-DOqKbrpW.css +1 -0
- package/admin/assets/index-Ds50UTAc.js +18 -0
- package/admin/assets/lib-BrI1UB_t.js +38 -0
- package/admin/assets/media-url-DIg_vSyf.js +1 -0
- package/admin/assets/module-RjUF93sV.js +716 -0
- package/admin/assets/native-48B9X9Wg.js +1 -0
- package/admin/assets/plus-BgHSYWJN.js +1 -0
- package/admin/assets/radix-DQ3amgxj.js +51 -0
- package/admin/assets/react-vendor-DNVhVxD7.js +4 -0
- package/admin/assets/search-DIzcfCVh.js +1 -0
- package/admin/assets/select-CJXZv4wv.js +1 -0
- package/admin/assets/sortable.esm-Zh-9QRSf.js +1 -0
- package/admin/assets/table-B3EHrN_H.js +1 -0
- package/admin/assets/tanstack-BO6c-AOu.js +1 -0
- package/admin/assets/trash-2-Gny2Upn-.js +1 -0
- package/admin/assets/useAdminResolver-BsQc_N4z.js +1 -0
- package/admin/assets/useContent-CSobIico.js +1 -0
- package/admin/assets/useDebouncedValue-Bf8UizjU.js +1 -0
- package/admin/assets/useMedia-CQnmMz4N.js +1 -0
- package/admin/assets/useTags-CYqbj5cK.js +1 -0
- package/admin/assets/useWebhooks-DXgtQ3aU.js +1 -0
- package/admin/index.html +21 -0
- package/admin/vite.svg +1 -0
- package/dist/admin-site.d.ts +30 -0
- package/dist/admin-site.d.ts.map +1 -0
- package/dist/admin-site.js +80 -0
- package/dist/admin-site.js.map +1 -0
- package/dist/api.d.ts +26 -0
- package/dist/api.d.ts.map +1 -0
- package/dist/api.js +91 -0
- package/dist/api.js.map +1 -0
- package/dist/auth.d.ts +27 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +86 -0
- package/dist/auth.js.map +1 -0
- package/dist/cdn.d.ts +27 -0
- package/dist/cdn.d.ts.map +1 -0
- package/dist/cdn.js +382 -0
- package/dist/cdn.js.map +1 -0
- package/dist/image.d.ts +21 -0
- package/dist/image.d.ts.map +1 -0
- package/dist/image.js +48 -0
- package/dist/image.js.map +1 -0
- package/dist/index.d.ts +85 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +124 -0
- package/dist/index.js.map +1 -0
- package/dist/storage.d.ts +21 -0
- package/dist/storage.d.ts.map +1 -0
- package/dist/storage.js +125 -0
- package/dist/storage.js.map +1 -0
- package/dist/webhooks.d.ts +23 -0
- package/dist/webhooks.d.ts.map +1 -0
- package/dist/webhooks.js +91 -0
- package/dist/webhooks.js.map +1 -0
- package/lambda/api/bootstrap +0 -0
- package/lambda/api/resource.enc +0 -0
- package/lambda/functions/custom-message/index.mjs +112 -0
- package/lambda/functions/custom-message/resource.enc +1 -0
- package/lambda/image-lambda/index.mjs +188 -0
- package/lambda/image-lambda/node_modules/.package-lock.json +160 -0
- package/lambda/image-lambda/node_modules/@img/sharp-libvips-linux-arm64/README.md +46 -0
- package/lambda/image-lambda/node_modules/@img/sharp-libvips-linux-arm64/lib/glib-2.0/include/glibconfig.h +220 -0
- package/lambda/image-lambda/node_modules/@img/sharp-libvips-linux-arm64/lib/index.js +1 -0
- package/lambda/image-lambda/node_modules/@img/sharp-libvips-linux-arm64/lib/libvips-cpp.so.42 +0 -0
- package/lambda/image-lambda/node_modules/@img/sharp-libvips-linux-arm64/package.json +42 -0
- package/lambda/image-lambda/node_modules/@img/sharp-libvips-linux-arm64/versions.json +30 -0
- package/lambda/image-lambda/node_modules/@img/sharp-linux-arm64/LICENSE +191 -0
- package/lambda/image-lambda/node_modules/@img/sharp-linux-arm64/README.md +18 -0
- package/lambda/image-lambda/node_modules/@img/sharp-linux-arm64/lib/sharp-linux-arm64.node +0 -0
- package/lambda/image-lambda/node_modules/@img/sharp-linux-arm64/package.json +46 -0
- package/lambda/image-lambda/node_modules/color/LICENSE +21 -0
- package/lambda/image-lambda/node_modules/color/README.md +123 -0
- package/lambda/image-lambda/node_modules/color/index.js +496 -0
- package/lambda/image-lambda/node_modules/color/package.json +47 -0
- package/lambda/image-lambda/node_modules/color-convert/CHANGELOG.md +54 -0
- package/lambda/image-lambda/node_modules/color-convert/LICENSE +21 -0
- package/lambda/image-lambda/node_modules/color-convert/README.md +68 -0
- package/lambda/image-lambda/node_modules/color-convert/conversions.js +839 -0
- package/lambda/image-lambda/node_modules/color-convert/index.js +81 -0
- package/lambda/image-lambda/node_modules/color-convert/package.json +48 -0
- package/lambda/image-lambda/node_modules/color-convert/route.js +97 -0
- package/lambda/image-lambda/node_modules/color-name/LICENSE +8 -0
- package/lambda/image-lambda/node_modules/color-name/README.md +11 -0
- package/lambda/image-lambda/node_modules/color-name/index.js +152 -0
- package/lambda/image-lambda/node_modules/color-name/package.json +28 -0
- package/lambda/image-lambda/node_modules/color-string/LICENSE +21 -0
- package/lambda/image-lambda/node_modules/color-string/README.md +62 -0
- package/lambda/image-lambda/node_modules/color-string/index.js +242 -0
- package/lambda/image-lambda/node_modules/color-string/package.json +39 -0
- package/lambda/image-lambda/node_modules/detect-libc/LICENSE +201 -0
- package/lambda/image-lambda/node_modules/detect-libc/README.md +163 -0
- package/lambda/image-lambda/node_modules/detect-libc/index.d.ts +14 -0
- package/lambda/image-lambda/node_modules/detect-libc/lib/detect-libc.js +313 -0
- package/lambda/image-lambda/node_modules/detect-libc/lib/elf.js +39 -0
- package/lambda/image-lambda/node_modules/detect-libc/lib/filesystem.js +51 -0
- package/lambda/image-lambda/node_modules/detect-libc/lib/process.js +24 -0
- package/lambda/image-lambda/node_modules/detect-libc/package.json +44 -0
- package/lambda/image-lambda/node_modules/is-arrayish/LICENSE +21 -0
- package/lambda/image-lambda/node_modules/is-arrayish/README.md +16 -0
- package/lambda/image-lambda/node_modules/is-arrayish/index.js +9 -0
- package/lambda/image-lambda/node_modules/is-arrayish/package.json +45 -0
- package/lambda/image-lambda/node_modules/semver/LICENSE +15 -0
- package/lambda/image-lambda/node_modules/semver/README.md +665 -0
- package/lambda/image-lambda/node_modules/semver/bin/semver.js +191 -0
- package/lambda/image-lambda/node_modules/semver/classes/comparator.js +143 -0
- package/lambda/image-lambda/node_modules/semver/classes/index.js +7 -0
- package/lambda/image-lambda/node_modules/semver/classes/range.js +557 -0
- package/lambda/image-lambda/node_modules/semver/classes/semver.js +333 -0
- package/lambda/image-lambda/node_modules/semver/functions/clean.js +8 -0
- package/lambda/image-lambda/node_modules/semver/functions/cmp.js +54 -0
- package/lambda/image-lambda/node_modules/semver/functions/coerce.js +62 -0
- package/lambda/image-lambda/node_modules/semver/functions/compare-build.js +9 -0
- package/lambda/image-lambda/node_modules/semver/functions/compare-loose.js +5 -0
- package/lambda/image-lambda/node_modules/semver/functions/compare.js +7 -0
- package/lambda/image-lambda/node_modules/semver/functions/diff.js +60 -0
- package/lambda/image-lambda/node_modules/semver/functions/eq.js +5 -0
- package/lambda/image-lambda/node_modules/semver/functions/gt.js +5 -0
- package/lambda/image-lambda/node_modules/semver/functions/gte.js +5 -0
- package/lambda/image-lambda/node_modules/semver/functions/inc.js +21 -0
- package/lambda/image-lambda/node_modules/semver/functions/lt.js +5 -0
- package/lambda/image-lambda/node_modules/semver/functions/lte.js +5 -0
- package/lambda/image-lambda/node_modules/semver/functions/major.js +5 -0
- package/lambda/image-lambda/node_modules/semver/functions/minor.js +5 -0
- package/lambda/image-lambda/node_modules/semver/functions/neq.js +5 -0
- package/lambda/image-lambda/node_modules/semver/functions/parse.js +18 -0
- package/lambda/image-lambda/node_modules/semver/functions/patch.js +5 -0
- package/lambda/image-lambda/node_modules/semver/functions/prerelease.js +8 -0
- package/lambda/image-lambda/node_modules/semver/functions/rcompare.js +5 -0
- package/lambda/image-lambda/node_modules/semver/functions/rsort.js +5 -0
- package/lambda/image-lambda/node_modules/semver/functions/satisfies.js +12 -0
- package/lambda/image-lambda/node_modules/semver/functions/sort.js +5 -0
- package/lambda/image-lambda/node_modules/semver/functions/valid.js +8 -0
- package/lambda/image-lambda/node_modules/semver/index.js +91 -0
- package/lambda/image-lambda/node_modules/semver/internal/constants.js +37 -0
- package/lambda/image-lambda/node_modules/semver/internal/debug.js +11 -0
- package/lambda/image-lambda/node_modules/semver/internal/identifiers.js +29 -0
- package/lambda/image-lambda/node_modules/semver/internal/lrucache.js +42 -0
- package/lambda/image-lambda/node_modules/semver/internal/parse-options.js +17 -0
- package/lambda/image-lambda/node_modules/semver/internal/re.js +223 -0
- package/lambda/image-lambda/node_modules/semver/package.json +78 -0
- package/lambda/image-lambda/node_modules/semver/preload.js +4 -0
- package/lambda/image-lambda/node_modules/semver/range.bnf +16 -0
- package/lambda/image-lambda/node_modules/semver/ranges/gtr.js +6 -0
- package/lambda/image-lambda/node_modules/semver/ranges/intersects.js +9 -0
- package/lambda/image-lambda/node_modules/semver/ranges/ltr.js +6 -0
- package/lambda/image-lambda/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/lambda/image-lambda/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/lambda/image-lambda/node_modules/semver/ranges/min-version.js +63 -0
- package/lambda/image-lambda/node_modules/semver/ranges/outside.js +82 -0
- package/lambda/image-lambda/node_modules/semver/ranges/simplify.js +49 -0
- package/lambda/image-lambda/node_modules/semver/ranges/subset.js +249 -0
- package/lambda/image-lambda/node_modules/semver/ranges/to-comparators.js +10 -0
- package/lambda/image-lambda/node_modules/semver/ranges/valid.js +13 -0
- package/lambda/image-lambda/node_modules/sharp/LICENSE +191 -0
- package/lambda/image-lambda/node_modules/sharp/README.md +118 -0
- package/lambda/image-lambda/node_modules/sharp/install/check.js +41 -0
- package/lambda/image-lambda/node_modules/sharp/lib/channel.js +174 -0
- package/lambda/image-lambda/node_modules/sharp/lib/colour.js +180 -0
- package/lambda/image-lambda/node_modules/sharp/lib/composite.js +210 -0
- package/lambda/image-lambda/node_modules/sharp/lib/constructor.js +452 -0
- package/lambda/image-lambda/node_modules/sharp/lib/index.d.ts +1754 -0
- package/lambda/image-lambda/node_modules/sharp/lib/index.js +16 -0
- package/lambda/image-lambda/node_modules/sharp/lib/input.js +658 -0
- package/lambda/image-lambda/node_modules/sharp/lib/is.js +169 -0
- package/lambda/image-lambda/node_modules/sharp/lib/libvips.js +203 -0
- package/lambda/image-lambda/node_modules/sharp/lib/operation.js +958 -0
- package/lambda/image-lambda/node_modules/sharp/lib/output.js +1587 -0
- package/lambda/image-lambda/node_modules/sharp/lib/resize.js +587 -0
- package/lambda/image-lambda/node_modules/sharp/lib/sharp.js +114 -0
- package/lambda/image-lambda/node_modules/sharp/lib/utility.js +296 -0
- package/lambda/image-lambda/node_modules/sharp/package.json +222 -0
- package/lambda/image-lambda/node_modules/sharp/src/binding.gyp +280 -0
- package/lambda/image-lambda/node_modules/sharp/src/common.cc +1091 -0
- package/lambda/image-lambda/node_modules/sharp/src/common.h +393 -0
- package/lambda/image-lambda/node_modules/sharp/src/metadata.cc +320 -0
- package/lambda/image-lambda/node_modules/sharp/src/metadata.h +85 -0
- package/lambda/image-lambda/node_modules/sharp/src/operations.cc +475 -0
- package/lambda/image-lambda/node_modules/sharp/src/operations.h +125 -0
- package/lambda/image-lambda/node_modules/sharp/src/pipeline.cc +1758 -0
- package/lambda/image-lambda/node_modules/sharp/src/pipeline.h +393 -0
- package/lambda/image-lambda/node_modules/sharp/src/sharp.cc +40 -0
- package/lambda/image-lambda/node_modules/sharp/src/stats.cc +183 -0
- package/lambda/image-lambda/node_modules/sharp/src/stats.h +59 -0
- package/lambda/image-lambda/node_modules/sharp/src/utilities.cc +269 -0
- package/lambda/image-lambda/node_modules/sharp/src/utilities.h +19 -0
- package/lambda/image-lambda/node_modules/simple-swizzle/LICENSE +21 -0
- package/lambda/image-lambda/node_modules/simple-swizzle/README.md +43 -0
- package/lambda/image-lambda/node_modules/simple-swizzle/index.js +29 -0
- package/lambda/image-lambda/node_modules/simple-swizzle/package.json +36 -0
- package/lambda/webhook-worker/bootstrap +0 -0
- package/lambda/webhook-worker/resource.enc +0 -0
- package/package.json +50 -0
- package/src/admin-site.ts +108 -0
- package/src/api.ts +113 -0
- package/src/auth.ts +110 -0
- package/src/cdn.ts +449 -0
- package/src/image.ts +62 -0
- package/src/index.ts +216 -0
- package/src/sst-env.d.ts +143 -0
- package/src/storage.ts +138 -0
- package/src/webhooks.ts +114 -0
|
@@ -0,0 +1,479 @@
|
|
|
1
|
+
import{_ as Qt}from"./index-Ds50UTAc.js";import{j as q}from"./tanstack-BO6c-AOu.js";import{r as ie}from"./react-vendor-DNVhVxD7.js";class z{constructor(e,n,r,s,i){this.kind=e,this.input=n,this.begin=r,this.end=s,this.file=i}getText(){return this.input.slice(this.begin,this.end)}getPosition(){let[e,n]=[1,1];for(let r=0;r<this.begin;r++)this.input[r]===`
|
|
2
|
+
`?(e++,n=1):n++;return[e,n]}size(){return this.end-this.begin}}class J{liquidMethodMissing(e,n){}}const Gt=Object.prototype.toString,He=String.prototype.toLowerCase,Re=Object.hasOwnProperty;function f(t){return typeof t=="string"}function T(t){return typeof t=="function"}function Xt(t){return t&&T(t.then)}function he(t){return t&&T(t.next)&&T(t.throw)&&T(t.return)}function Kt(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function u(t){return t=p(t),f(t)?t:O(t)?"":_(t)?t.map(e=>u(e)).join(""):String(t)}function se(t){return t=p(t),_(t)?t:f(t)&&t.length>0?[t]:tn(t)?Array.from(t):me(t)?Object.keys(t).map(e=>[e,t[e]]):[]}function v(t){return t=p(t),O(t)?[]:_(t)?t:[t]}function p(t){return t instanceof J&&T(t.valueOf)?t.valueOf():t}function Se(t){return+p(t)||0}function ge(t){return typeof t=="number"}function wt(t){return t&&T(t.toLiquid)?wt(t.toLiquid()):t}function O(t){return t==null}function en(t){return t===void 0}function _(t){return Gt.call(t)==="[object Array]"}function bt(t){return t&&ge(t.length)}function tn(t){return me(t)&&Symbol.iterator in t}function We(t,e){t=t||{};for(const n in t)if(Re.call(t,n)&&e(t[n],n,t)===!1)break;return t}function xt(t){return t[t.length-1]}function me(t){const e=typeof t;return t!==null&&(e==="object"||e==="function")}function Tt(t,e,n=1){const r=[];for(let s=t;s<e;s+=n)r.push(s);return r}function re(t,e,n=" "){return vt(t,e,n,(r,s)=>s+r)}function nn(t,e,n=" "){return vt(t,e,n,(r,s)=>r+s)}function vt(t,e,n,r){t=String(t);let s=e-t.length;for(;s-- >0;)t=r(t,n);return t}function _t(t){return t}function rn(t){return[...t].some(n=>n>="a"&&n<="z")?t.toUpperCase():t.toLowerCase()}function sn(t,e){return t.length>e?t.slice(0,e-3)+"...":t}function Ye(t,e){return t==null&&e==null?0:t==null?1:e==null||(t=He.call(t),e=He.call(e),t<e)?-1:t>e?1:0}function ye(t){return function(...e){return t.call(this,...e.map(p))}}function D(t){return function(...e){return t.call(this,...e.map(Se))}}function Ee(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function*oe(t){const e=new Set;for(const n of t){const r=JSON.stringify(n);e.has(r)||(e.add(r),yield n)}}const Je="__liquidClass__";class Z extends Error{constructor(e,n){super(typeof e=="string"?e:e.message),this.context="",typeof e!="string"&&Object.defineProperty(this,"originalError",{value:e,enumerable:!1}),Object.defineProperty(this,"token",{value:n,enumerable:!1}),Object.defineProperty(this,Je,{value:"LiquidError",enumerable:!1})}update(){Object.defineProperty(this,"context",{value:fn(this.token),enumerable:!1}),this.message=dn(this.message,this.token),this.stack=this.message+`
|
|
3
|
+
`+this.context+`
|
|
4
|
+
`+this.stack,this.originalError&&(this.stack+=`
|
|
5
|
+
From `+this.originalError.stack)}static is(e){return e?.[Je]==="LiquidError"}}class on extends Z{constructor(e,n){super(e,n),this.name="TokenizationError",super.update()}}class ln extends Z{constructor(e,n){super(e,n),this.name="ParseError",this.message=e.message,super.update()}}class an extends Z{constructor(e,n){super(e,n.token),this.name="RenderError",this.message=e.message,super.update()}static is(e){return e.name==="RenderError"}}class St extends Z{constructor(e){super(e[0],e[0].token),this.errors=e,this.name="LiquidErrors";const n=e.length>1?"s":"";this.message=`${e.length} error${n} found`,super.update()}static is(e){return e.name==="LiquidErrors"}}class cn extends Z{constructor(e,n){super(e,n),this.name="UndefinedVariableError",this.message=e.message,super.update()}}class hn extends Error{constructor(e){super(`undefined variable: ${e}`),this.name="InternalUndefinedVariableError",this.variableName=e}}class un extends Error{constructor(e){super(e),this.name="AssertionError",this.message=e+""}}function fn(t){const[e,n]=t.getPosition(),r=t.input.split(`
|
|
6
|
+
`),s=Math.max(e-2,1),i=Math.min(e+3,r.length);return Tt(s,i+1).map(l=>{const a=l===e?">> ":" ",h=re(String(l),String(i).length);let c=`${a}${h}| `;const d=l===e?`
|
|
7
|
+
`+re("^",n+c.length):"";return c+=r[l-1],c+=d,c}).join(`
|
|
8
|
+
`)}function dn(t,e){e.file&&(t+=`, file:${e.file}`);const[n,r]=e.getPosition();return t+=`, line:${n}, col:${r}`,t}const m=[0,0,0,0,0,0,0,0,0,20,4,4,4,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,2,8,0,0,0,0,8,0,0,0,64,0,65,0,0,33,33,33,33,33,33,33,33,33,33,0,0,2,2,2,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],pn=1,K=4,Ze=8,Ft=16,gn=32,mn=64,yn=128;function le(t){const e=t.charCodeAt(0);return e>=128?!m[e]:!!(m[e]&pn)}m[160]=m[5760]=m[6158]=m[8192]=m[8193]=m[8194]=m[8195]=m[8196]=m[8197]=m[8198]=m[8199]=m[8200]=m[8201]=m[8202]=m[8232]=m[8233]=m[8239]=m[8287]=m[12288]=K;m[8220]=m[8221]=yn;function S(t,e){if(!t){const n=typeof e=="function"?e():e||`expect ${t} to be true`;throw new un(n)}}function ue(t,e=`unexpected ${JSON.stringify(t)}`){S(!t,e)}class kn extends J{equals(e){return O(p(e))}gt(){return!1}geq(){return!1}lt(){return!1}leq(){return!1}valueOf(){return null}}class ee extends J{equals(e){return e instanceof ee?!1:(e=p(e),f(e)||_(e)?e.length===0:me(e)?Object.keys(e).length===0:!1)}gt(){return!1}geq(){return!1}lt(){return!1}leq(){return!1}valueOf(){return""}static is(e){return e instanceof ee}}class Ne extends ee{equals(e){return e===!1||O(p(e))?!0:f(e)?/^\s*$/.test(e):super.equals(e)}static is(e){return e instanceof Ne}}class Ae extends J{constructor(e,n,r){super(),this.i=0,this.length=e,this.name=`${r}-${n}`}next(){this.i++}index0(){return this.i}index(){return this.i+1}first(){return this.i===0}last(){return this.i===this.length-1}rindex(){return this.length-this.i}rindex0(){return this.length-this.i-1}valueOf(){return JSON.stringify(this)}}class Lt{constructor(){this.buffer=""}write(e){this.buffer+=u(e)}}class wn{constructor(){throw this.buffer="",this.stream=null,new Error("streaming not supported in browser")}}class bn{constructor(){this.buffer=""}write(e){e=p(e),typeof e!="string"&&this.buffer===""?this.buffer=e:this.buffer=u(this.buffer)+u(e)}}class Qe extends J{constructor(e=()=>""){super(),this.superBlockRender=e}*super(){const e=new Lt;return yield this.superBlockRender(e),e.buffer}}function N(t){return t&&T(t.equals)&&T(t.gt)&&T(t.geq)&&T(t.lt)&&T(t.leq)}const Ge=new kn,Ot={true:!0,false:!1,nil:Ge,null:Ge,empty:new ee,blank:new Ne};function Xe(t){const e={};for(const[n,r]of Object.entries(t)){let s=e;for(let i=0;i<n.length;i++){const o=n[i];s[o]=s[o]||{},i===n.length-1&&le(n[i])&&(s[o].needBoundary=!0),s=s[o]}s.data=r,s.end=!0}return e}var fe=function(){return fe=Object.assign||function(e){for(var n,r=1,s=arguments.length;r<s;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},fe.apply(this,arguments)};function x(t,e,n,r){function s(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function l(c){try{h(r.next(c))}catch(d){o(d)}}function a(c){try{h(r.throw(c))}catch(d){o(d)}}function h(c){c.done?i(c.value):s(c.value).then(l,a)}h((r=r.apply(t,[])).next())})}function M(t){return x(this,void 0,void 0,function*(){if(!he(t))return t;let e,n=!1,r="next";do{const s=t[r](e);n=s.done,e=s.value,r="next";try{he(e)&&(e=M(e)),Xt(e)&&(e=yield e)}catch(i){r="throw",e=i}}while(!n);return e})}function j(t){if(!he(t))return t;let e,n=!1,r="next";do{const s=t[r](e);if(n=s.done,e=s.value,r="next",he(e))try{e=j(e)}catch(i){r="throw",e=i}}while(!n);return e}const xn=/%([-_0^#:]+)?(\d+)?([EO])?(.)/;function Tn(t){return[31,vn(t)?29:28,31,30,31,30,31,31,30,31,30,31]}function zt(t){let e=0;for(let n=0;n<t.getMonth();++n)e+=Tn(t)[n];return e+t.getDate()}function Ke(t,e){const n=zt(t)+(e-t.getDay()),s=7-new Date(t.getFullYear(),0,1).getDay()+e;return String(Math.floor((n-s)/7)+1)}function vn(t){const e=t.getFullYear();return!!((e&3)===0&&(e%100||e%400===0&&e))}function _n(t){const e=t.getDate();if([11,12,13].includes(e))return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}}function Sn(t){return parseInt(t.getFullYear().toString().substring(0,2),10)}const Fn={d:2,e:2,H:2,I:2,j:3,k:2,l:2,L:3,m:2,M:2,S:2,U:2,W:2},Ln=new Set("aAbBceklpP");function et(t,e){const n=Math.abs(t.getTimezoneOffset()),r=Math.floor(n/60),s=n%60;return(t.getTimezoneOffset()>0?"-":"+")+re(r,2,"0")+(e.flags[":"]?":":"")+re(s,2,"0")}const Fe={a:t=>t.getShortWeekdayName(),A:t=>t.getLongWeekdayName(),b:t=>t.getShortMonthName(),B:t=>t.getLongMonthName(),c:t=>t.toLocaleString(),C:t=>Sn(t),d:t=>t.getDate(),e:t=>t.getDate(),H:t=>t.getHours(),I:t=>String(t.getHours()%12||12),j:t=>zt(t),k:t=>t.getHours(),l:t=>String(t.getHours()%12||12),L:t=>t.getMilliseconds(),m:t=>t.getMonth()+1,M:t=>t.getMinutes(),N:(t,e)=>{const n=Number(e.width)||9,r=String(t.getMilliseconds()).slice(0,n);return nn(r,n,"0")},p:t=>t.getHours()<12?"AM":"PM",P:t=>t.getHours()<12?"am":"pm",q:t=>_n(t),s:t=>Math.round(t.getTime()/1e3),S:t=>t.getSeconds(),u:t=>t.getDay()||7,U:t=>Ke(t,0),w:t=>t.getDay(),W:t=>Ke(t,1),x:t=>t.toLocaleDateString(),X:t=>t.toLocaleTimeString(),y:t=>t.getFullYear().toString().slice(2,4),Y:t=>t.getFullYear(),z:et,Z:(t,e)=>t.getTimeZoneName()||et(t,e),t:()=>" ",n:()=>`
|
|
9
|
+
`,"%":()=>"%"};Fe.h=Fe.b;function ae(t,e){let n="",r=e,s;for(;s=xn.exec(r);)n+=r.slice(0,s.index),r=r.slice(s.index+s[0].length),n+=On(t,s);return n+r}function On(t,e){const[n,r="",s,i,o]=e,l=Fe[o];if(!l)return n;const a={};for(const g of r)a[g]=!0;let h=String(l(t,{flags:a,width:s,modifier:i})),c=Ln.has(o)?" ":"0",d=s||Fn[o]||0;return a["^"]?h=h.toUpperCase():a["#"]&&(h=rn(h)),a._?c=" ":a[0]&&(c="0"),a["-"]&&(d=0),re(h,d,c)}function Rt(){return typeof Intl<"u"?Intl.DateTimeFormat:void 0}const zn=6e4,Rn=/([zZ]|([+-])(\d{2}):?(\d{2}))$/,Et=["January","February","March","April","May","June","July","August","September","October","November","December"],En=Et.map(t=>t.slice(0,3)),Nt=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Nn=Nt.map(t=>t.slice(0,3));class R{constructor(e,n,r){this.locale=n,this.DateTimeFormat=Rt(),this.date=new Date(e),this.timezoneFixed=r!==void 0,r===void 0&&(r=this.date.getTimezoneOffset()),this.timezoneOffset=f(r)?R.getTimezoneOffset(r,this.date):r,this.timezoneName=f(r)?r:"";const s=(this.date.getTimezoneOffset()-this.timezoneOffset)*zn,i=this.date.getTime()+s;this.displayDate=new Date(i)}getTime(){return this.displayDate.getTime()}getMilliseconds(){return this.displayDate.getMilliseconds()}getSeconds(){return this.displayDate.getSeconds()}getMinutes(){return this.displayDate.getMinutes()}getHours(){return this.displayDate.getHours()}getDay(){return this.displayDate.getDay()}getDate(){return this.displayDate.getDate()}getMonth(){return this.displayDate.getMonth()}getFullYear(){return this.displayDate.getFullYear()}toLocaleString(e,n){return n?.timeZone?this.date.toLocaleString(e,n):this.displayDate.toLocaleString(e,n)}toLocaleTimeString(e){return this.displayDate.toLocaleTimeString(e)}toLocaleDateString(e){return this.displayDate.toLocaleDateString(e)}getTimezoneOffset(){return this.timezoneOffset}getTimeZoneName(){if(this.timezoneFixed)return this.timezoneName;if(this.DateTimeFormat)return this.DateTimeFormat().resolvedOptions().timeZone}getLongMonthName(){var e;return(e=this.format({month:"long"}))!==null&&e!==void 0?e:Et[this.getMonth()]}getShortMonthName(){var e;return(e=this.format({month:"short"}))!==null&&e!==void 0?e:En[this.getMonth()]}getLongWeekdayName(){var e;return(e=this.format({weekday:"long"}))!==null&&e!==void 0?e:Nt[this.displayDate.getDay()]}getShortWeekdayName(){var e;return(e=this.format({weekday:"short"}))!==null&&e!==void 0?e:Nn[this.displayDate.getDay()]}valid(){return!isNaN(this.getTime())}format(e){return this.DateTimeFormat&&this.DateTimeFormat(this.locale,e).format(this.displayDate)}static createDateFixedToTimezone(e,n){const r=e.match(Rn);if(r&&r[1]==="Z")return new R(+new Date(e),n,0);if(r&&r[2]&&r[3]&&r[4]){const[,,s,i,o]=r,l=(s==="+"?-1:1)*(parseInt(i,10)*60+parseInt(o,10));return new R(+new Date(e),n,l)}return new R(e,n)}static getTimezoneOffset(e,n){const r=n.toLocaleString("en-US",{timeZone:e}),s=n.toLocaleString("en-US",{timeZone:"UTC"}),i=new Date(r);return(+new Date(s)-+i)/(60*1e3)}}class Le{constructor(e,n){this.base=0,this.message=`${e} limit exceeded`,this.limit=n}use(e){e=+e||0,S(this.base+e<=this.limit,this.message),this.base+=e}check(e){e=+e||0,S(e<=this.limit,this.message)}}class De extends z{constructor(e,[n,r],s,i,o,l,a,h){super(e,s,i,o,h),this.trimLeft=!1,this.trimRight=!1;const c=s[n]==="-",d=s[r-1]==="-";let g=c?n+1:n,k=d?r-1:r;for(;g<k&&m[s.charCodeAt(g)]&K;)g++;for(;k>g&&m[s.charCodeAt(k-1)]&K;)k--;this.contentRange=[g,k],this.trimLeft=c||l,this.trimRight=d||a}get content(){return this.input.slice(this.contentRange[0],this.contentRange[1])}}class tt extends De{constructor(e,n,r,s,i){const{trimTagLeft:o,trimTagRight:l,tagDelimiterLeft:a,tagDelimiterRight:h}=s,[c,d]=[n+a.length,r-h.length];super(y.Tag,[c,d],e,n,r,o,l,i),this.tokenizer=new A(e,s.operators,i,this.contentRange),this.name=this.tokenizer.readTagName(),this.tokenizer.assert(this.name,"illegal tag syntax, tag name expected"),this.tokenizer.skipBlank(),this.args=this.tokenizer.input.slice(this.tokenizer.p,this.contentRange[1])}}class An extends De{constructor(e,n,r,s,i){const{trimOutputLeft:o,trimOutputRight:l,outputDelimiterLeft:a,outputDelimiterRight:h}=s,c=[n+a.length,r-h.length];super(y.Output,c,e,n,r,o,l,i)}}class nt extends z{constructor(e,n,r,s){super(y.HTML,e,n,r,s),this.input=e,this.begin=n,this.end=r,this.file=s,this.trimLeft=0,this.trimRight=0}getContent(){return this.input.slice(this.begin+this.trimLeft,this.end-this.trimRight)}}class Dn extends z{constructor(e,n,r,s){super(y.Number,e,n,r,s),this.input=e,this.begin=n,this.end=r,this.file=s,this.content=Number(this.getText())}}class be extends z{constructor(e,n,r,s){super(y.Word,e,n,r,s),this.input=e,this.begin=n,this.end=r,this.file=s,this.content=this.getText()}}class Mn extends z{constructor(e,n,r,s){super(y.Literal,e,n,r,s),this.input=e,this.begin=n,this.end=r,this.file=s,this.literal=this.getText(),this.content=Ot[this.literal]}}const rt={"==":2,"!=":2,">":2,"<":2,">=":2,"<=":2,contains:2,not:1,and:0,or:0},jn={"==":0,"!=":0,">":0,"<":0,">=":0,"<=":0,contains:0,not:1,and:0,or:0};class Vn extends z{constructor(e,n,r,s){super(y.Operator,e,n,r,s),this.input=e,this.begin=n,this.end=r,this.file=s,this.operator=this.getText()}getPrecedence(){const e=this.getText();return e in rt?rt[e]:1}}class st extends z{constructor(e,n,r,s,i,o){super(y.PropertyAccess,r,s,i,o),this.variable=e,this.props=n}}class At extends z{constructor(e,n,r,s,i,o){super(y.Filter,r,s,i,o),this.name=e,this.args=n}}class Cn extends z{constructor(e,n,r,s,i,o){super(y.Hash,e,n,r,o),this.input=e,this.begin=n,this.end=r,this.name=s,this.value=i,this.file=o}}const Pn=/[\da-fA-F]/,it=/[0-7]/,ot={b:"\b",f:"\f",n:`
|
|
10
|
+
`,r:"\r",t:" ",v:"\v"};function lt(t){const e=t.charCodeAt(0);return e>=97?e-87:e>=65?e-55:e-48}function qn(t){let e="";for(let n=1;n<t.length-1;n++){if(t[n]!=="\\"){e+=t[n];continue}if(ot[t[n+1]]!==void 0)e+=ot[t[++n]];else if(t[n+1]==="u"){let r=0,s=n+2;for(;s<=n+5&&Pn.test(t[s]);)r=r*16+lt(t[s++]);n=s-1,e+=String.fromCharCode(r)}else if(!it.test(t[n+1]))e+=t[++n];else{let r=n+1,s=0;for(;r<=n+3&&it.test(t[r]);)s=s*8+lt(t[r++]);n=r-1,e+=String.fromCharCode(s)}}return e}class $n extends z{constructor(e,n,r,s){super(y.Quoted,e,n,r,s),this.input=e,this.begin=n,this.end=r,this.file=s,this.content=qn(this.getText())}}class In extends z{constructor(e,n,r,s,i,o){super(y.Range,e,n,r,o),this.input=e,this.begin=n,this.end=r,this.lhs=s,this.rhs=i,this.file=o}}class Bn extends De{constructor(e,n,r,s,i){super(y.Tag,[n,r],e,n,r,!1,!1,i),this.tokenizer=new A(e,s.operators,i,this.contentRange),this.name=this.tokenizer.readTagName(),this.tokenizer.assert(this.name,"illegal liquid tag syntax"),this.tokenizer.skipBlank()}get args(){return this.tokenizer.input.slice(this.tokenizer.p,this.contentRange[1])}}class Un extends z{constructor(e,n,r,s,i,o){super(y.FilteredValue,r,s,i,o),this.initial=e,this.filters=n,this.input=r,this.begin=s,this.end=i,this.file=o}}const Hn={now:()=>Date.now()};function Dt(){return typeof global=="object"&&global.performance||typeof window=="object"&&window.performance||Hn}class Wn{renderTemplatesToNodeStream(e,n){const r=new wn;return Promise.resolve().then(()=>M(this.renderTemplates(e,n,r))).then(()=>r.end(),s=>r.error(s)),r.stream}*renderTemplates(e,n,r){r||(r=n.opts.keepOutputType?new bn:new Lt);const s=[];for(const i of e){n.renderLimit.check(Dt().now());try{const o=yield i.render(n,r);if(o&&r.write(o),n.breakCalled||n.continueCalled)break}catch(o){const l=Z.is(o)?o:new an(o,i);if(n.opts.catchAllErrors)s.push(l);else throw l}}if(s.length)throw new St(s);return r.buffer}}class Yn{constructor(e){this.postfix=[...Gn(e)]}*evaluate(e,n){S(e,"unable to evaluate: context not defined");const r=[];for(const s of this.postfix)if($t(s)){const i=r.pop();let o;if(jn[s.operator]===1)o=yield e.opts.operators[s.operator](i,e);else{const l=r.pop();o=yield e.opts.operators[s.operator](l,i,e)}r.push(o)}else r.push(yield b(s,e,n));return r[0]}valid(){return!!this.postfix.length}}function*b(t,e,n=!1){if(t){if("content"in t)return t.content;if(pe(t))return yield Jn(t,e,n);if(It(t))return yield Qn(t,e)}}function*Jn(t,e,n){const r=[];for(const s of t.props)r.push(yield b(s,e,!1));try{if(t.variable){const s=yield b(t.variable,e,n);return yield e._getFromScope(s,r)}else return yield e._get(r)}catch(s){if(n&&s.name==="InternalUndefinedVariableError")return null;throw new cn(s,t)}}function Zn(t){return t.content}function*Qn(t,e){const n=yield b(t.lhs,e),r=yield b(t.rhs,e);return e.memoryLimit.use(r-n+1),Tt(+n,+r+1)}function*Gn(t){const e=[];for(const n of t)if($t(n)){for(;e.length&&e[e.length-1].getPrecedence()>n.getPrecedence();)yield e.pop();e.push(n)}else yield n;for(;e.length;)yield e.pop()}function U(t,e){return!ke(t,e)}function ke(t,e){return t=p(t),e.opts.jsTruthy?!t:t===!1||t===void 0||t===null}const Xn={"==":V,"!=":(t,e)=>!V(t,e),">":(t,e)=>N(t)?t.gt(e):N(e)?e.lt(t):p(t)>p(e),"<":(t,e)=>N(t)?t.lt(e):N(e)?e.gt(t):p(t)<p(e),">=":(t,e)=>N(t)?t.geq(e):N(e)?e.leq(t):p(t)>=p(e),"<=":(t,e)=>N(t)?t.leq(e):N(e)?e.geq(t):p(t)<=p(e),contains:(t,e)=>(t=p(t),_(t)?t.some(n=>V(n,e)):T(t?.indexOf)?t.indexOf(p(e))>-1:!1),not:(t,e)=>ke(p(t),e),and:(t,e,n)=>U(p(t),n)&&U(p(e),n),or:(t,e,n)=>U(p(t),n)||U(p(e),n)};function V(t,e){return N(t)?t.equals(e):N(e)?e.equals(t):(t=p(t),e=p(e),_(t)?_(e)&&Kn(t,e):t===e)}function Kn(t,e){return t.length!==e.length?!1:!t.some((n,r)=>!V(n,e[r]))}function er(t,e){return t.some(n=>V(n,e))}class xe{constructor(e,n,r,s){this.key=e,this.value=n,this.next=r,this.prev=s}}class at{constructor(e,n=0){this.limit=e,this.size=n,this.cache={},this.head=new xe("HEAD",null,null,null),this.tail=new xe("TAIL",null,null,null),this.head.next=this.tail,this.tail.prev=this.head}write(e,n){if(this.cache[e])this.cache[e].value=n;else{const r=new xe(e,n,this.head.next,this.head);this.head.next.prev=r,this.head.next=r,this.cache[e]=r,this.size++,this.ensureLimit()}}read(e){if(!this.cache[e])return;const{value:n}=this.cache[e];return this.remove(e),this.write(e,n),n}remove(e){const n=this.cache[e];n.prev.next=n.next,n.next.prev=n.prev,delete this.cache[e],this.size--}clear(){this.head.next=this.tail,this.tail.prev=this.head,this.size=0,this.cache={}}ensureLimit(){this.size>this.limit&&this.remove(this.tail.prev.key)}}function Mt(t,e){const n=document.createElement("base");n.href=t;const r=document.getElementsByTagName("head")[0];r.insertBefore(n,r.firstChild);const s=document.createElement("a");s.href=e;const i=s.href;return r.removeChild(n),i}function tr(t,e,n){return t.length&&xt(t)!=="/"&&(t+="/"),Mt(t,e).replace(/^(\w+:\/\/[^/]+)(\/[^?]+)/,(s,i,o)=>{const l=o.split("/").pop();return/\.\w+$/.test(l)?s:i+o+n})}function nr(t){return x(this,void 0,void 0,function*(){return new Promise((e,n)=>{const r=new XMLHttpRequest;r.onload=()=>{r.status>=200&&r.status<300?e(r.responseText):n(new Error(r.statusText))},r.onerror=()=>{n(new Error("An error occurred whilst receiving the response."))},r.open("GET",t),r.send()})})}function rr(t){const e=new XMLHttpRequest;if(e.open("GET",t,!1),e.send(),e.status<200||e.status>=300)throw new Error(e.statusText);return e.responseText}function sr(t){return x(this,void 0,void 0,function*(){return!0})}function ir(t){return!0}function or(t){return Mt(t,".")}const lr="/";var ar=Object.freeze({__proto__:null,resolve:tr,readFile:nr,readFileSync:rr,exists:sr,existsSync:ir,dirname:or,sep:lr});function cr(t,e,...n){return t=p(t),_(t)||f(t)?t.length?t:e:t===!1&&new Map(n).get("allow_false")?!1:ke(t,this.context)?e:t}function ct(t,e=0){return JSON.stringify(t,null,e)}function hr(t,e=0){const n=[];return JSON.stringify(t,function(r,s){if(typeof s!="object"||s===null)return s;for(;n.length>0&&n[n.length-1]!==this;)n.pop();return n.includes(s)?"[Circular]":(n.push(s),s)},e)}function ur(t){return Number(t)}const fr={raw:!0,handler:_t};var jt={default:cr,raw:fr,jsonify:ct,to_integer:ur,json:ct,inspect:hr};const dr={"&":"&","<":"<",">":">",'"':""","'":"'"},pr={"&":"&","<":"<",">":">",""":'"',"'":"'"};function we(t){return t=u(t),this.context.memoryLimit.use(t.length),t.replace(/&|<|>|"|'/g,e=>dr[e])}function gr(t){return we.call(this,t)}function mr(t){return t=u(t),this.context.memoryLimit.use(t.length),t.replace(/&(amp|lt|gt|#34|#39);/g,e=>pr[e])}function yr(t){return we.call(this,mr.call(this,t))}function kr(t){const e=u(t);return this.context.memoryLimit.use(e.length),e.replace(/\r?\n/gm,`<br />
|
|
11
|
+
`)}function wr(t){const e=u(t);return this.context.memoryLimit.use(e.length),e.replace(/<script[\s\S]*?<\/script>|<style[\s\S]*?<\/style>|<.*?>|<!--[\s\S]*?-->/g,"")}var br=Object.freeze({__proto__:null,escape:we,xml_escape:gr,escape_once:yr,newline_to_br:kr,strip_html:wr});class xr{constructor(e){this.mapping=e,this.sep="/"}exists(e){return x(this,void 0,void 0,function*(){return this.existsSync(e)})}existsSync(e){return!O(this.mapping[e])}readFile(e){return x(this,void 0,void 0,function*(){return this.readFileSync(e)})}readFileSync(e){const n=this.mapping[e];if(O(n))throw new Error(`ENOENT: ${e}`);return n}dirname(e){const n=e.split(this.sep);return n.pop(),n.join(this.sep)}resolve(e,n,r){if(n+=r,e===".")return n;const s=e.split(/\/+/);for(const i of n.split(this.sep))i==="."||i===""||(i===".."?(s.length>1||s[0]!=="")&&s.pop():s.push(i));return s.join(this.sep)}}const G={root:["."],layouts:["."],partials:["."],relativeReference:!0,jekyllInclude:!1,keyValueSeparator:":",cache:void 0,extname:"",fs:ar,dynamicPartials:!0,jsTruthy:!1,dateFormat:"%A, %B %-e, %Y at %-l:%M %P %z",locale:"",trimTagRight:!1,trimTagLeft:!1,trimOutputRight:!1,trimOutputLeft:!1,greedy:!0,tagDelimiterLeft:"{%",tagDelimiterRight:"%}",outputDelimiterLeft:"{{",outputDelimiterRight:"}}",preserveTimezones:!1,strictFilters:!1,strictVariables:!1,ownPropertyOnly:!0,lenientIf:!1,globals:{},keepOutputType:!1,operators:Xn,memoryLimit:1/0,parseLimit:1/0,renderLimit:1/0};function Tr(t){var e,n;if(t.hasOwnProperty("root")&&(t.hasOwnProperty("partials")||(t.partials=t.root),t.hasOwnProperty("layouts")||(t.layouts=t.root)),t.hasOwnProperty("cache")){let r;typeof t.cache=="number"?r=t.cache>0?new at(t.cache):void 0:typeof t.cache=="object"?r=t.cache:r=t.cache?new at(1024):void 0,t.cache=r}return t=Object.assign(Object.assign(Object.assign({},G),t.jekyllInclude?{dynamicPartials:!1}:{}),t),(!t.fs.dirname||!t.fs.sep)&&t.relativeReference&&(console.warn("[LiquidJS] `fs.dirname` and `fs.sep` are required for relativeReference, set relativeReference to `false` to suppress this warning"),t.relativeReference=!1),t.root=ce(t.root),t.partials=ce(t.partials),t.layouts=ce(t.layouts),t.outputEscape=t.outputEscape&&vr(t.outputEscape),t.locale||(t.locale=(n=(e=Rt())===null||e===void 0?void 0:e().resolvedOptions().locale)!==null&&n!==void 0?n:"en-US"),t.templates&&(t.fs=new xr(t.templates),t.relativeReference=!0,t.root=t.partials=t.layouts="."),t}function vr(t){return t==="escape"?we:t==="json"?jt.json:(S(T(t),"`outputEscape` need to be of type string or function"),t)}function ce(t){let e=[];return _(t)&&(e=t),f(t)&&(e=[t]),e}function _r(t,e){let n=!1;for(let r=0;r<t.length;r++){const s=t[r];Ar(s)&&(!n&&s.trimLeft&&Sr(t[r-1],e.greedy),Q(s)&&(s.name==="raw"?n=!0:s.name==="endraw"&&(n=!1)),!n&&s.trimRight&&Fr(t[r+1],e.greedy))}}function Sr(t,e){if(!t||!je(t))return;const n=e?K:Ft;for(;m[t.input.charCodeAt(t.end-1-t.trimRight)]&n;)t.trimRight++}function Fr(t,e){if(!t||!je(t))return;const n=e?K:Ft;for(;m[t.input.charCodeAt(t.begin+t.trimLeft)]&n;)t.trimLeft++;t.input.charAt(t.begin+t.trimLeft)===`
|
|
12
|
+
`&&t.trimLeft++}class A{constructor(e,n=G.operators,r,s){this.input=e,this.file=r,this.rawBeginAt=-1,this.p=s?s[0]:0,this.N=s?s[1]:e.length,this.opTrie=Xe(n),this.literalTrie=Xe(Ot)}readExpression(){return new Yn(this.readExpressionTokens())}*readExpressionTokens(){for(;this.p<this.N;){const e=this.readOperator();if(e){yield e;continue}const n=this.readValue();if(n){yield n;continue}return}}readOperator(){this.skipBlank();const e=this.matchTrie(this.opTrie);if(e!==-1)return new Vn(this.input,this.p,this.p=e,this.file)}matchTrie(e){let n=e,r=this.p,s;for(;n[this.input[r]]&&r<this.N;)n=n[this.input[r++]],n.end&&(s=n);return!s||s.needBoundary&&le(this.peek(r-this.p))?-1:r}readFilteredValue(){const e=this.p,n=this.readExpression();this.assert(n.valid(),`invalid value expression: ${this.snapshot()}`);const r=this.readFilters();return new Un(n,r,this.input,e,this.p,this.file)}readFilters(){const e=[];for(;;){const n=this.readFilter();if(!n)return e;e.push(n)}}readFilter(){if(this.skipBlank(),this.end())return null;this.assert(this.read()==="|",'expected "|" before filter');const e=this.readIdentifier();if(!e.size())return this.assert(this.end(),"expected filter name"),null;const n=[];if(this.skipBlank(),this.peek()===":")do{++this.p;const r=this.readFilterArg();r&&n.push(r),this.skipBlank(),this.assert(this.end()||this.peek()===","||this.peek()==="|",()=>`unexpected character ${this.snapshot()}`)}while(this.peek()===",");else if(!(this.peek()==="|"||this.end()))throw this.error('expected ":" after filter name');return new At(e.getText(),n,this.input,e.begin,this.p,this.file)}readFilterArg(){const e=this.readValue();if(!e)return;if(this.skipBlank(),this.peek()!==":")return e;++this.p;const n=this.readValue();return[e.getText(),n]}readTopLevelTokens(e=G){const n=[];for(;this.p<this.N;){const r=this.readTopLevelToken(e);n.push(r)}return _r(n,e),n}readTopLevelToken(e){const{tagDelimiterLeft:n,outputDelimiterLeft:r}=e;return this.rawBeginAt>-1?this.readEndrawOrRawContent(e):this.match(n)?this.readTagToken(e):this.match(r)?this.readOutputToken(e):this.readHTMLToken([n,r])}readHTMLToken(e){const n=this.p;for(;this.p<this.N&&!e.some(r=>this.match(r));)++this.p;return new nt(this.input,n,this.p,this.file)}readTagToken(e){const{file:n,input:r}=this,s=this.p;if(this.readToDelimiter(e.tagDelimiterRight)===-1)throw this.error(`tag ${this.snapshot(s)} not closed`,s);const i=new tt(r,s,this.p,e,n);return i.name==="raw"&&(this.rawBeginAt=s),i}readToDelimiter(e,n=!1){for(this.skipBlank();this.p<this.N;){if(n&&this.peekType()&Ze){this.readQuoted();continue}if(++this.p,this.rmatch(e))return this.p}return-1}readOutputToken(e=G){const{file:n,input:r}=this,{outputDelimiterRight:s}=e,i=this.p;if(this.readToDelimiter(s,!0)===-1)throw this.error(`output ${this.snapshot(i)} not closed`,i);return new An(r,i,this.p,e,n)}readEndrawOrRawContent(e){const{tagDelimiterLeft:n,tagDelimiterRight:r}=e,s=this.p;let i=this.readTo(n)-n.length;for(;this.p<this.N;){if(this.readIdentifier().getText()!=="endraw"){i=this.readTo(n)-n.length;continue}for(;this.p<=this.N;){if(this.rmatch(r)){const o=this.p;return s===i?(this.rawBeginAt=-1,new tt(this.input,s,o,e,this.file)):(this.p=i,new nt(this.input,s,i,this.file))}if(this.rmatch(n))break;this.p++}}throw this.error(`raw ${this.snapshot(this.rawBeginAt)} not closed`,s)}readLiquidTagTokens(e=G){const n=[];for(;this.p<this.N;){const r=this.readLiquidTagToken(e);r&&n.push(r)}return n}readLiquidTagToken(e){if(this.skipBlank(),this.end())return;const n=this.p;this.readToDelimiter(`
|
|
13
|
+
`);const r=this.p;return new Bn(this.input,n,r,e,this.file)}error(e,n=this.p){return new on(e,new be(this.input,n,this.N,this.file))}assert(e,n,r){if(!e)throw this.error(typeof n=="function"?n():n,r)}snapshot(e=this.p){return JSON.stringify(sn(this.input.slice(e,this.N),32))}readWord(){return this.readIdentifier()}readIdentifier(){this.skipBlank();const e=this.p;for(;!this.end()&&le(this.peek());)++this.p;return new be(this.input,e,this.p,this.file)}readNonEmptyIdentifier(){const e=this.readIdentifier();return e.size()?e:void 0}readTagName(){return this.skipBlank(),this.input[this.p]==="#"?this.input.slice(this.p,++this.p):this.readIdentifier().getText()}readHashes(e){const n=[];for(;;){const r=this.readHash(e);if(!r)return n;n.push(r)}}readHash(e){this.skipBlank(),this.peek()===","&&++this.p;const n=this.p,r=this.readNonEmptyIdentifier();if(!r)return;let s;this.skipBlank();const i=f(e)?e:e?"=":":";return this.peek()===i&&(++this.p,s=this.readValue()),new Cn(this.input,n,this.p,r,s,this.file)}remaining(){return this.input.slice(this.p,this.N)}advance(e=1){this.p+=e}end(){return this.p>=this.N}read(){return this.input[this.p++]}readTo(e){for(;this.p<this.N;)if(++this.p,this.rmatch(e))return this.p;return-1}readValue(){this.skipBlank();const e=this.p,n=this.readLiteral()||this.readQuoted()||this.readRange()||this.readNumber(),r=this.readProperties(!n);return r.length?new st(n,r,this.input,e,this.p):n}readScopeValue(){this.skipBlank();const e=this.p,n=this.readProperties();if(n.length)return new st(void 0,n,this.input,e,this.p)}readProperties(e=!0){const n=[];for(;;){if(this.peek()==="["){this.p++;const r=this.readValue()||new be(this.input,this.p,this.p,this.file);this.assert(this.readTo("]")!==-1,"[ not closed"),n.push(r);continue}if(e&&!n.length){const r=this.readNonEmptyIdentifier();if(r){n.push(r);continue}}if(this.peek()==="."&&this.peek(1)!=="."){this.p++;const r=this.readNonEmptyIdentifier();if(!r)break;n.push(r);continue}break}return n}readNumber(){this.skipBlank();let e=!1,n=!1,r=0;for(this.peekType()&mn&&r++;this.p+r<=this.N;)if(this.peekType(r)&gn)n=!0,r++;else if(this.peek(r)==="."&&this.peek(r+1)!=="."){if(e||!n)return;e=!0,r++}else break;if(n&&!le(this.peek(r))){const s=new Dn(this.input,this.p,this.p+r,this.file);return this.advance(r),s}}readLiteral(){this.skipBlank();const e=this.matchTrie(this.literalTrie);if(e===-1)return;const n=new Mn(this.input,this.p,e,this.file);return this.p=e,n}readRange(){this.skipBlank();const e=this.p;if(this.peek()!=="(")return;++this.p;const n=this.readValueOrThrow();this.skipBlank(),this.assert(this.read()==="."&&this.read()===".","invalid range syntax");const r=this.readValueOrThrow();return this.skipBlank(),this.assert(this.read()===")","invalid range syntax"),new In(this.input,e,this.p,n,r,this.file)}readValueOrThrow(){const e=this.readValue();return this.assert(e,()=>`unexpected token ${this.snapshot()}, value expected`),e}readQuoted(){this.skipBlank();const e=this.p;if(!(this.peekType()&Ze))return;++this.p;let n=!1;for(;this.p<this.N&&(++this.p,!(this.input[this.p-1]===this.input[e]&&!n));)n?n=!1:this.input[this.p-1]==="\\"&&(n=!0);return new $n(this.input,e,this.p,this.file)}*readFileNameTemplate(e){const{outputDelimiterLeft:n}=e,r=[","," ",n],s=new Set(r);for(;this.p<this.N&&!s.has(this.peek());)yield this.match(n)?this.readOutputToken(e):this.readHTMLToken(r)}match(e){for(let n=0;n<e.length;n++)if(e[n]!==this.input[this.p+n])return!1;return!0}rmatch(e){for(let n=0;n<e.length;n++)if(e[e.length-1-n]!==this.input[this.p-1-n])return!1;return!0}peekType(e=0){return this.p+e>=this.N?0:m[this.input.charCodeAt(this.p+e)]}peek(e=0){return this.p+e>=this.N?"":this.input[this.p+e]}skipBlank(){for(;this.peekType()&K;)++this.p}}class Lr{constructor(e,n){this.handlers={},this.stopRequested=!1,this.tokens=e,this.parseToken=n}on(e,n){return this.handlers[e]=n,this}trigger(e,n){const r=this.handlers[e];return r?(r.call(this,n),!0):!1}start(){this.trigger("start");let e;for(;!this.stopRequested&&(e=this.tokens.shift());){if(this.trigger("token",e)||Q(e)&&this.trigger(`tag:${e.name}`,e))continue;const n=this.parseToken(e,this.tokens);this.trigger("template",n)}return this.stopRequested||this.trigger("end"),this}stop(){return this.stopRequested=!0,this}}class Me{constructor(e){this.token=e}}class w extends Me{constructor(e,n,r){super(e),this.name=e.name,this.liquid=r,this.tokenizer=e.tokenizer}}class te{constructor(e,n){this.hash={};const r=e instanceof A?e:new A(e,{});for(const s of r.readHashes(n))this.hash[s.name.content]=s.value}*render(e){const n={};for(const r of Object.keys(this.hash))n[r]=this.hash[r]===void 0?!0:yield b(this.hash[r],e);return n}}function Or(t){return class extends w{constructor(e,n,r){super(e,n,r),T(t.parse)&&t.parse.call(this,e,n)}*render(e,n){const r=yield new te(this.token.args,e.opts.keyValueSeparator).render(e);return yield t.render.call(this,e,n,r)}}}function Vt(t){return _(t)}class Ct{constructor(e,n,r){this.token=e,this.name=e.name,this.handler=T(n)?n:T(n?.handler)?n.handler:_t,this.raw=!T(n)&&!!n?.raw,this.args=e.args,this.liquid=r}*render(e,n){const r=[];for(const s of this.args)Vt(s)?r.push([s[0],yield b(s[1],n)]):r.push(yield b(s,n));return yield this.handler.apply({context:n,token:this.token,liquid:this.liquid},[e,...r])}}class L{constructor(e,n){this.filters=[];const r=typeof e=="string"?new A(e,n.options.operators).readFilteredValue():e;this.initial=r.initial,this.filters=r.filters.map(s=>new Ct(s,this.getFilter(n,s.name),n))}*value(e,n){n=n||e.opts.lenientIf&&this.filters.length>0&&this.filters[0].name==="default";let r=yield this.initial.evaluate(e,n);for(const s of this.filters)r=yield s.render(r,e);return r}getFilter(e,n){const r=e.filters[n];return S(r||!e.options.strictFilters,()=>`undefined filter: ${n}`),r}}class zr extends Me{constructor(e,n){var r;super(e);const s=new A(e.input,n.options.operators,e.file,e.contentRange);this.value=new L(s.readFilteredValue(),n);const i=this.value.filters,o=n.options.outputEscape;if(!(!((r=i[i.length-1])===null||r===void 0)&&r.raw)&&o){const l=new At(toString.call(o),[],"",0,0);i.push(new Ct(l,o,n))}}*render(e,n){const r=yield this.value.value(e,!1);n.write(r)}*arguments(){yield this.value}}class Rr extends Me{constructor(e){super(e),this.str=e.getContent()}*render(e,n){n.write(this.str)}}class W{constructor(e,n){this.segments=e,this.location=n}toString(){return de(this.segments,!0)}toArray(){function*e(...n){for(const r of n)r instanceof W?yield Array.from(e(...r.segments)):yield r}return Array.from(e(...this.segments))}}class Te{constructor(){this.map=new Map}get(e){const n=de([e.segments[0]]);return this.map.has(n)||this.map.set(n,[]),this.map.get(n)}has(e){return this.map.has(de([e.segments[0]]))}push(e){this.get(e).push(e)}asObject(){return Object.fromEntries(this.map)}}const Pt={partials:!0};function*qt(t,e,n){const r=new Te,s=new Te,i=new Te,o=new ht(new Set),l=new Set;function a(c,d){r.push(c);const g=d.alias(c);if(g!==void 0){const k=g.segments[0];f(k)&&!o.has(k)&&s.push(g)}else{const k=c.segments[0];f(k)&&!d.has(k)&&s.push(c)}for(const k of c.segments)k instanceof W&&a(k,d)}function*h(c,d){if(c.arguments)for(const g of c.arguments())for(const k of ut(g))a(k,d);if(c.localScope)for(const g of c.localScope()){d.add(g.content),d.deleteAlias(g.content);const[k,ne]=g.getPosition();i.push(new W([g.content],{row:k,col:ne,file:g.file}))}if(c.children)if(c.partialScope){const g=c.partialScope();if(g===void 0){for(const $ of yield c.children(e,n))yield h($,d);return}if(l.has(g.name))return;const k=new Set,ne=g.isolated?new ht(k):d.push(k);for(const $ of g.scope)if(f($))k.add($);else{const[Be,Zt]=$;k.add(Be);const Ue=Array.from(ut(Zt));Ue.length&&ne.setAlias(Be,Ue[0].segments)}for(const $ of yield c.children(e,n))yield h($,ne),l.add(g.name);ne.pop()}else{c.blockScope&&d.push(new Set(c.blockScope()));for(const g of yield c.children(e,n))yield h(g,d);c.blockScope&&d.pop()}}for(const c of t)yield h(c,o);return{variables:r.asObject(),globals:s.asObject(),locals:i.asObject()}}function C(t,e={}){const n=Object.assign(Object.assign({},Pt),e);return M(qt(t,n.partials,!1))}function P(t,e={}){const n=Object.assign(Object.assign({},Pt),e);return j(qt(t,n.partials,!0))}class ht{constructor(e){this.stack=[{names:e,aliases:new Map}]}has(e){for(const n of this.stack)if(n.names.has(e))return!0;return!1}push(e){return this.stack.push({names:e,aliases:new Map}),this}pop(){var e;return(e=this.stack.pop())===null||e===void 0?void 0:e.names}add(e){this.stack[0].names.add(e)}alias(e){const n=e.segments[0];if(!f(n))return;const r=this.getAlias(n);if(r!==void 0)return new W([...r,...e.segments.slice(1)],e.location)}setAlias(e,n){this.stack[this.stack.length-1].aliases.set(e,n)}deleteAlias(e){this.stack[this.stack.length-1].aliases.delete(e)}getAlias(e){for(const n of this.stack){if(n.aliases.has(e))return n.aliases.get(e);if(n.names.has(e))return}}}function*ut(t){F(t)?yield*X(t):t instanceof L&&(yield*Er(t))}function*Er(t){for(const e of t.initial.postfix)F(e)&&(yield*X(e));for(const e of t.filters)for(const n of e.args)Vt(n)&&n[1]?yield*X(n[1]):F(n)&&(yield*X(n))}function*X(t){It(t)?(yield*X(t.lhs),yield*X(t.rhs)):pe(t)&&(yield Oe(t))}function Oe(t){const e=[];let n=t.file;const r=t.props[0];n=n||r.file,ze(r)||dt(r)||pt(r)?e.push(r.content):pe(r)&&e.push(...Oe(r).segments);for(const o of t.props.slice(1))n=n||o.file,ze(o)||dt(o)||pt(o)?e.push(o.content):pe(o)&&e.push(Oe(o));const[s,i]=t.getPosition();return new W(e,{row:s,col:i,file:n})}const ft=/^[\u0080-\uFFFFa-zA-Z_][\u0080-\uFFFFa-zA-Z0-9_-]*$/;function de(t,e=!1){const n=[],r=t[0];f(r)&&(!e||r.match(ft)?n.push(`${r}`):n.push(`['${r}']`));for(const s of t.slice(1))s instanceof W?n.push(`[${de(s.segments)}]`):f(s)?s.match(ft)?n.push(`.${s}`):n.push(`['${s}']`):n.push(`[${s}]`);return n.join("")}var Y;(function(t){t.Partials="partials",t.Layouts="layouts",t.Root="root"})(Y||(Y={}));class Nr{constructor(e){if(this.options=e,e.relativeReference){const n=e.fs.sep;S(n,"`fs.sep` is required for relative reference");const r=new RegExp(["."+n,".."+n,"./","../"].map(s=>Kt(s)).join("|"));this.shouldLoadRelative=s=>r.test(s)}else this.shouldLoadRelative=n=>!1;this.contains=this.options.fs.contains||(()=>!0)}*lookup(e,n,r,s){const{fs:i}=this.options,o=this.options[n];for(const l of this.candidates(e,o,s,n!==Y.Root))if(r?i.existsSync(l):yield i.exists(l))return l;throw this.lookupError(e,o)}*candidates(e,n,r,s){const{fs:i,extname:o}=this.options;if(this.shouldLoadRelative(e)&&r){const l=i.resolve(this.dirname(r),e,o);for(const a of n)if(!s||this.contains(a,l)){yield l;break}}for(const l of n){const a=i.resolve(l,e,o);(!s||this.contains(l,a))&&(yield a)}if(i.fallback!==void 0){const l=i.fallback(e);l!==void 0&&(yield l)}}dirname(e){const n=this.options.fs;return S(n.dirname,"`fs.dirname` is required for relative reference"),n.dirname(e)}lookupError(e,n){const r=new Error("ENOENT");return r.message=`ENOENT: Failed to lookup "${e}" in "${n}"`,r.code="ENOENT",r}}class I{constructor(e){this.liquid=e,this.cache=this.liquid.options.cache,this.fs=this.liquid.options.fs,this.parseFile=this.cache?this._parseFileCached:this._parseFile,this.loader=new Nr(this.liquid.options),this.parseLimit=new Le("parse length",e.options.parseLimit)}parse(e,n){e=String(e),this.parseLimit.use(e.length);const s=new A(e,this.liquid.options.operators,n).readTopLevelTokens(this.liquid.options);return this.parseTokens(s)}parseTokens(e){let n;const r=[],s=[];for(;n=e.shift();)try{r.push(this.parseToken(n,e))}catch(i){if(this.liquid.options.catchAllErrors)s.push(i);else throw i}if(s.length)throw new St(s);return r}parseToken(e,n){try{if(Q(e)){const r=this.liquid.tags[e.name];return S(r,`tag "${e.name}" not found`),new r(e,n,this.liquid,this)}return Dr(e)?new zr(e,this.liquid):new Rr(e)}catch(r){throw Z.is(r)?r:new ln(r,e)}}parseStream(e){return new Lr(e,(n,r)=>this.parseToken(n,r))}*_parseFileCached(e,n,r=Y.Root,s){const i=this.cache,o=this.loader.shouldLoadRelative(e)?s+","+e:r+":"+e,l=yield i.read(o);if(l)return l;const a=this._parseFile(e,n,r,s),h=n?yield a:M(a);i.write(o,h);try{return yield h}catch(c){throw i.remove(o),c}}*_parseFile(e,n,r=Y.Root,s){const i=yield this.loader.lookup(e,r,n,s);return this.parse(n?this.fs.readFileSync(i):yield this.fs.readFile(i),i)}}var y;(function(t){t[t.Number=1]="Number",t[t.Literal=2]="Literal",t[t.Tag=4]="Tag",t[t.Output=8]="Output",t[t.HTML=16]="HTML",t[t.Filter=32]="Filter",t[t.Hash=64]="Hash",t[t.PropertyAccess=128]="PropertyAccess",t[t.Word=256]="Word",t[t.Range=512]="Range",t[t.Quoted=1024]="Quoted",t[t.Operator=2048]="Operator",t[t.FilteredValue=4096]="FilteredValue",t[t.Delimited=12]="Delimited"})(y||(y={}));function Ar(t){return!!(E(t)&y.Delimited)}function $t(t){return E(t)===y.Operator}function je(t){return E(t)===y.HTML}function Dr(t){return E(t)===y.Output}function Q(t){return E(t)===y.Tag}function ze(t){return E(t)===y.Quoted}function dt(t){return E(t)===y.Number}function pe(t){return E(t)===y.PropertyAccess}function pt(t){return E(t)===y.Word}function It(t){return E(t)===y.Range}function F(t){return(E(t)&1667)>0}function E(t){return t?t.kind:-1}class B{constructor(e={},n=G,r={},{memoryLimit:s,renderLimit:i}={}){var o,l,a,h,c;this.scopes=[{}],this.registers={},this.breakCalled=!1,this.continueCalled=!1,this.sync=!!r.sync,this.opts=n,this.globals=(o=r.globals)!==null&&o!==void 0?o:n.globals,this.environments=me(e)?e:Object(e),this.strictVariables=(l=r.strictVariables)!==null&&l!==void 0?l:this.opts.strictVariables,this.ownPropertyOnly=(a=r.ownPropertyOnly)!==null&&a!==void 0?a:n.ownPropertyOnly,this.memoryLimit=s??new Le("memory alloc",(h=r.memoryLimit)!==null&&h!==void 0?h:n.memoryLimit),this.renderLimit=i??new Le("template render",Dt().now()+((c=r.renderLimit)!==null&&c!==void 0?c:n.renderLimit))}getRegister(e){return this.registers[e]=this.registers[e]||{}}setRegister(e,n){return this.registers[e]=n}saveRegister(...e){return e.map(n=>[n,this.getRegister(n)])}restoreRegister(e){return e.forEach(([n,r])=>this.setRegister(n,r))}getAll(){return[this.globals,this.environments,...this.scopes].reduce((e,n)=>fe(e,n),{})}get(e){return this.getSync(e)}getSync(e){return j(this._get(e))}*_get(e){const n=this.findScope(e[0]);return yield this._getFromScope(n,e)}getFromScope(e,n){return j(this._getFromScope(e,n))}*_getFromScope(e,n,r=this.strictVariables){f(n)&&(n=n.split("."));for(let s=0;s<n.length;s++)if(e=yield this.readProperty(e,n[s]),r&&en(e))throw new hn(n.slice(0,s+1).join("."));return e}push(e){return this.scopes.push(e)}pop(){return this.scopes.pop()}bottom(){return this.scopes[0]}spawn(e={}){return new B(e,this.opts,{sync:this.sync,globals:this.globals,strictVariables:this.strictVariables},{renderLimit:this.renderLimit,memoryLimit:this.memoryLimit})}findScope(e){for(let n=this.scopes.length-1;n>=0;n--){const r=this.scopes[n];if(e in r)return r}return e in this.environments?this.environments:this.globals}readProperty(e,n){if(e=wt(e),n=p(n),O(e))return e;if(_(e)&&n<0)return e[e.length+ +n];const r=Mr(e,n,this.ownPropertyOnly);return r===void 0&&e instanceof J?e.liquidMethodMissing(n,this):T(r)?r.call(e):n==="size"?Cr(e):n==="first"?jr(e):n==="last"?Vr(e):r}}function Mr(t,e,n){if(!(n&&!Re.call(t,e)&&!(t instanceof J)))return t[e]}function jr(t){return _(t)?t[0]:t.first}function Vr(t){return _(t)?t[t.length-1]:t.last}function Cr(t){if(Re.call(t,"size")||t.size!==void 0)return t.size;if(_(t)||f(t))return t.length;if(typeof t=="object")return Object.keys(t).length}var H;(function(t){t[t.OUTPUT=0]="OUTPUT",t[t.STORE=1]="STORE"})(H||(H={}));const Pr=D(Math.abs),qr=D(Math.max),$r=D(Math.min),Ir=D(Math.ceil),Br=D((t,e,n=!1)=>n?Math.floor(t/e):t/e),Ur=D(Math.floor),Hr=D((t,e)=>t-e),Wr=D((t,e)=>t+e),Yr=D((t,e)=>t%e),Jr=D((t,e)=>t*e);function Zr(t,e=0){t=Se(t),e=Se(e);const n=Math.pow(10,e);return Math.round(t*n)/n}var Qr=Object.freeze({__proto__:null,abs:Pr,at_least:qr,at_most:$r,ceil:Ir,divided_by:Br,floor:Ur,minus:Hr,plus:Wr,modulo:Yr,times:Jr,round:Zr});const Gr=t=>decodeURIComponent(u(t)).replace(/\+/g," "),Xr=t=>encodeURIComponent(u(t)).replace(/%20/g,"+"),Kr=t=>encodeURIComponent(u(t)).replace(/%20/g,"+").replace(/[!'()*]/g,e=>"%"+e.charCodeAt(0).toString(16).toUpperCase()),es=t=>encodeURI(u(t)).replace(/%5B/g,"[").replace(/%5D/g,"]"),gt=/[^\p{M}\p{L}\p{Nd}]+/ug,ts={raw:/\s+/g,default:gt,pretty:/[^\p{M}\p{L}\p{Nd}._~!$&'()+,;=@]+/ug,ascii:/[^A-Za-z0-9]+/g,latin:gt,none:null};function ns(t,e="default",n=!1){t=u(t);const r=ts[e];return r&&(e==="latin"&&(t=rs(t)),t=t.replace(r,"-").replace(/^-|-$/g,"")),n?t:t.toLowerCase()}function rs(t){return t.replace(/[àáâãäå]/g,"a").replace(/[æ]/g,"ae").replace(/[ç]/g,"c").replace(/[èéêë]/g,"e").replace(/[ìíîï]/g,"i").replace(/[ð]/g,"d").replace(/[ñ]/g,"n").replace(/[òóôõöø]/g,"o").replace(/[ùúûü]/g,"u").replace(/[ýÿ]/g,"y").replace(/[ß]/g,"ss").replace(/[œ]/g,"oe").replace(/[þ]/g,"th").replace(/[ẞ]/g,"SS").replace(/[Œ]/g,"OE").replace(/[Þ]/g,"TH")}var ss=Object.freeze({__proto__:null,url_decode:Gr,url_encode:Xr,cgi_escape:Kr,uri_escape:es,slugify:ns});const is=ye(function(t,e){const n=v(t),r=O(e)?" ":u(e),s=n.length*(1+r.length);return this.context.memoryLimit.use(s),n.join(r)}),os=ye(t=>bt(t)?xt(t):""),ls=ye(t=>bt(t)?t[0]:""),as=ye(function(t){const e=v(t);return this.context.memoryLimit.use(e.length),[...e].reverse()});function*cs(t,e){const n=[],r=v(t);this.context.memoryLimit.use(r.length);for(const s of r)n.push([s,e?yield this.context._getFromScope(s,u(e).split("."),!1):s]);return n.sort((s,i)=>{const o=s[1],l=i[1];return o<l?-1:o>l?1:0}).map(s=>s[0])}function hs(t,e){const n=u(e),r=e===void 0?Ye:(i,o)=>Ye(i[n],o[n]),s=v(t);return this.context.memoryLimit.use(s.length),[...s].sort(r)}const us=t=>t&&t.length||0;function*fs(t,e){const n=[],r=v(t);this.context.memoryLimit.use(r.length);for(const s of r)n.push(yield this.context._getFromScope(s,u(e),!1));return n}function*ds(t,e){let n=0;const r=v(t);for(const s of r){const i=Number(e?yield this.context._getFromScope(s,u(e),!1):s);n+=Number.isNaN(i)?0:i}return n}function ps(t){const e=v(t);return this.context.memoryLimit.use(e.length),e.filter(n=>!O(p(n)))}function Bt(t,e=[]){const n=v(t),r=v(e);return this.context.memoryLimit.use(n.length+r.length),n.concat(r)}function gs(t,e){return Bt.call(this,t,[e])}function ms(t,e){const n=v(t);this.context.memoryLimit.use(n.length);const r=[...n];return r.unshift(e),r}function ys(t){const e=[...v(t)];return e.pop(),e}function ks(t){const e=v(t);this.context.memoryLimit.use(e.length);const n=[...e];return n.shift(),n}function ws(t,e,n=1){return t=p(t),O(t)?[]:(_(t)||(t=u(t)),e=e<0?t.length+e:e,this.context.memoryLimit.use(n),t.slice(e,e+n))}function Ut(t){return this.context.opts.jekyllWhere?e=>ee.is(t)?V(e,t):_(e)?er(e,t):V(e,t):t===void 0?e=>U(e,this.context):e=>V(e,t)}function*Ht(t,e,n,r){const s=[];e=v(e),this.context.memoryLimit.use(e.length);const i=new A(u(n)).readScopeValue();for(const l of e)s.push(yield b(i,this.context.spawn(l)));const o=Ut.call(this,r);return e.filter((l,a)=>o(s[a])===t)}function*Wt(t,e,n,r){const s=[],i=new L(u(r),this.liquid),o=v(e);this.context.memoryLimit.use(o.length);for(const l of o){this.context.push({[n]:l});const a=yield i.value(this.context);this.context.pop(),a===t&&s.push(l)}return s}function*bs(t,e,n){return yield*Ht.call(this,!0,t,e,n)}function*xs(t,e,n){return yield*Ht.call(this,!1,t,e,n)}function*Ts(t,e,n){return yield*Wt.call(this,!0,t,e,n)}function*vs(t,e,n){return yield*Wt.call(this,!1,t,e,n)}function*_s(t,e){const n=new Map;t=se(t);const r=new A(u(e)).readScopeValue();this.context.memoryLimit.use(t.length);for(const s of t){const i=yield b(r,this.context.spawn(s));n.has(i)||n.set(i,[]),n.get(i).push(s)}return[...n.entries()].map(([s,i])=>({name:s,items:i}))}function*Ss(t,e,n){const r=new Map,s=new L(u(n),this.liquid);t=se(t),this.context.memoryLimit.use(t.length);for(const i of t){this.context.push({[e]:i});const o=yield s.value(this.context);this.context.pop(),r.has(o)||r.set(o,[]),r.get(o).push(i)}return[...r.entries()].map(([i,o])=>({name:i,items:o}))}function*Ve(t,e,n){const r=new A(u(e)).readScopeValue(),s=v(t),i=Ut.call(this,n);for(let o=0;o<s.length;o++){const l=yield b(r,this.context.spawn(s[o]));if(i(l))return[o,s[o]]}}function*Ce(t,e,n){const r=new L(u(n),this.liquid),s=v(t);for(let i=0;i<s.length;i++){this.context.push({[e]:s[i]});const o=yield r.value(this.context);if(this.context.pop(),o)return[i,s[i]]}}function*Fs(t,e,n){return!!(yield*Ve.call(this,t,e,n))}function*Ls(t,e,n){return!!(yield*Ce.call(this,t,e,n))}function*Os(t,e,n){const r=yield*Ve.call(this,t,e,n);return r?r[0]:void 0}function*zs(t,e,n){const r=yield*Ce.call(this,t,e,n);return r?r[0]:void 0}function*Rs(t,e,n){const r=yield*Ve.call(this,t,e,n);return r?r[1]:void 0}function*Es(t,e,n){const r=yield*Ce.call(this,t,e,n);return r?r[1]:void 0}function Ns(t){return t=v(t),this.context.memoryLimit.use(t.length),[...new Set(t)]}function As(t,e=1){if(t=p(t),O(t))return[];_(t)||(t=u(t)),this.context.memoryLimit.use(e);const n=[...t].sort(()=>Math.random()-.5);return e===1?n[0]:n.slice(0,e)}var Ds=Object.freeze({__proto__:null,join:is,last:os,first:ls,reverse:as,sort:cs,sort_natural:hs,size:us,map:fs,sum:ds,compact:ps,concat:Bt,push:gs,unshift:ms,pop:ys,shift:ks,slice:ws,where:bs,reject:xs,where_exp:Ts,reject_exp:vs,group_by:_s,group_by_exp:Ss,has:Fs,has_exp:Ls,find_index:Os,find_index_exp:zs,find:Rs,find_exp:Es,uniq:Ns,sample:As});function Pe(t,e,n){var r,s,i;const o=((r=t?.length)!==null&&r!==void 0?r:0)+((s=e?.length)!==null&&s!==void 0?s:0)+((i=n?.length)!==null&&i!==void 0?i:0);this.context.memoryLimit.use(o);const l=Jt(t,this.context.opts,n);return l?(e=p(e),e=O(e)?this.context.opts.dateFormat:u(e),ae(l,e)):t}function Ms(t){return Pe.call(this,t,"%Y-%m-%dT%H:%M:%S%:z")}function js(t){return Pe.call(this,t,"%a, %d %b %Y %H:%M:%S %z")}function Vs(t,e,n){return Yt.call(this,t,"%b",e,n)}function Cs(t,e,n){return Yt.call(this,t,"%B",e,n)}function Yt(t,e,n,r){const s=Jt(t,this.context.opts);if(!s)return t;if(n==="ordinal"){const i=s.getDate();return r==="US"?ae(s,`${e} ${i}%q, %Y`):ae(s,`${i}%q ${e} %Y`)}return ae(s,`%d ${e} %Y`)}function Jt(t,e,n){let r;const s=n??e.timezoneOffset,i=e.locale;return t=p(t),t==="now"||t==="today"?r=new R(Date.now(),i,s):ge(t)?r=new R(t*1e3,i,s):f(t)?/^\d+$/.test(t)?r=new R(+t*1e3,i,s):e.preserveTimezones&&n===void 0?r=R.createDateFixedToTimezone(t,i):r=new R(t,i,s):r=new R(t,i,s),r.valid()?r:void 0}var Ps=Object.freeze({__proto__:null,date:Pe,date_to_xmlschema:Ms,date_to_rfc822:js,date_to_string:Vs,date_to_long_string:Cs});const ve=/[\u4E00-\u9FFF\uF900-\uFAFF\u3400-\u4DBF\u3040-\u309F\u30A0-\u30FF\uAC00-\uD7AF]/gu,mt=/[^\u4E00-\u9FFF\uF900-\uFAFF\u3400-\u4DBF\u3040-\u309F\u30A0-\u30FF\uAC00-\uD7AF\s]+/gu;function qs(t,e){S(arguments.length===2,"append expect 2 arguments");const n=u(t),r=u(e);return this.context.memoryLimit.use(n.length+r.length),n+r}function $s(t,e){S(arguments.length===2,"prepend expect 2 arguments");const n=u(t),r=u(e);return this.context.memoryLimit.use(n.length+r.length),r+n}function Is(t,e){const n=u(t);return this.context.memoryLimit.use(n.length),e?(e=Ee(u(e)),n.replace(new RegExp(`^[${e}]+`,"g"),"")):n.replace(/^\s+/,"")}function Bs(t){const e=u(t);return this.context.memoryLimit.use(e.length),e.toLowerCase()}function Us(t){const e=u(t);return this.context.memoryLimit.use(e.length),u(e).toUpperCase()}function Hs(t,e){const n=u(t);return this.context.memoryLimit.use(n.length),n.split(u(e)).join("")}function Ws(t,e){const n=u(t);return this.context.memoryLimit.use(n.length),n.replace(u(e),"")}function Ys(t,e){const n=u(t);this.context.memoryLimit.use(n.length);const r=u(e),s=n.lastIndexOf(r);return s===-1?n:n.substring(0,s)+n.substring(s+r.length)}function Js(t,e){return t=u(t),this.context.memoryLimit.use(t.length),e?(e=Ee(u(e)),t.replace(new RegExp(`[${e}]+$`,"g"),"")):t.replace(/\s+$/,"")}function Zs(t,e){const n=u(t);this.context.memoryLimit.use(n.length);const r=n.split(u(e));for(;r.length&&r[r.length-1]==="";)r.pop();return r}function Qs(t,e){const n=u(t);return this.context.memoryLimit.use(n.length),e?(e=Ee(u(e)),n.replace(new RegExp(`^[${e}]+`,"g"),"").replace(new RegExp(`[${e}]+$`,"g"),"")):n.trim()}function Gs(t){const e=u(t);return this.context.memoryLimit.use(e.length),e.replace(/\r?\n/gm,"")}function Xs(t){return t=u(t),this.context.memoryLimit.use(t.length),t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()}function Ks(t,e,n){const r=u(t);return this.context.memoryLimit.use(r.length),r.split(u(e)).join(n)}function ei(t,e,n){const r=u(t);return this.context.memoryLimit.use(r.length),r.replace(u(e),n)}function ti(t,e,n){const r=u(t);this.context.memoryLimit.use(r.length);const s=u(e),i=r.lastIndexOf(s);if(i===-1)return r;const o=u(n);return r.substring(0,i)+o+r.substring(i+s.length)}function ni(t,e=50,n="..."){const r=u(t);return this.context.memoryLimit.use(r.length),r.length<=e?t:r.substring(0,e-n.length)+n}function ri(t,e=15,n="..."){const r=u(t);this.context.memoryLimit.use(r.length);const s=r.split(/\s+/);e<=0&&(e=1);let i=s.slice(0,e).join(" ");return s.length>=e&&(i+=n),i}function si(t){const e=u(t);return this.context.memoryLimit.use(e.length),e.replace(/\s+/g," ")}function ii(t,e){const n=u(t);if(this.context.memoryLimit.use(n.length),t=n.trim(),!t)return 0;switch(e){case"cjk":return(t.match(ve)||[]).length+(t.match(mt)||[]).length;case"auto":return ve.test(t)?t.match(ve).length+(t.match(mt)||[]).length:t.split(/\s+/).length;default:return t.split(/\s+/).length}}function oi(t,e="and"){switch(this.context.memoryLimit.use(t.length),t.length){case 0:return"";case 1:return t[0];case 2:return`${t[0]} ${e} ${t[1]}`;default:return`${t.slice(0,-1).join(", ")}, ${e} ${t[t.length-1]}`}}var li=Object.freeze({__proto__:null,append:qs,prepend:$s,lstrip:Is,downcase:Bs,upcase:Us,remove:Hs,remove_first:Ws,remove_last:Ys,rstrip:Js,split:Zs,strip:Qs,strip_newlines:Gs,capitalize:Xs,replace:Ks,replace_first:ei,replace_last:ti,truncate:ni,truncatewords:ri,normalize_whitespace:si,number_of_words:ii,array_to_sentence_string:oi});function ai(t){return btoa(String.fromCharCode(...new TextEncoder().encode(t)))}function ci(t){return new TextDecoder().decode(Uint8Array.from(atob(t),e=>e.charCodeAt(0)))}function hi(t){const e=u(t);return this.context.memoryLimit.use(e.length),ai(e)}function ui(t){const e=u(t);return this.context.memoryLimit.use(e.length),ci(e)}var fi=Object.freeze({__proto__:null,base64_encode:hi,base64_decode:ui});const di=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},br),Qr),ss),Ds),Ps),li),fi),jt);class pi extends w{constructor(e,n,r){super(e,n,r),this.identifier=this.tokenizer.readIdentifier(),this.key=this.identifier.content,this.tokenizer.assert(this.key,"expected variable name"),this.tokenizer.skipBlank(),this.tokenizer.assert(this.tokenizer.peek()==="=",'expected "="'),this.tokenizer.advance(),this.value=new L(this.tokenizer.readFilteredValue(),this.liquid)}*render(e){e.bottom()[this.key]=yield this.value.value(e,this.liquid.options.lenientIf)}*arguments(){yield this.value}*localScope(){yield this.identifier}}const yt=["offset","limit","reversed"];class gi extends w{constructor(e,n,r,s){super(e,n,r);const i=this.tokenizer.readIdentifier(),o=this.tokenizer.readIdentifier(),l=this.tokenizer.readValue();if(!i.size()||o.content!=="in"||!l)throw new Error(`illegal tag: ${e.getText()}`);this.variable=i.content,this.collection=l,this.hash=new te(this.tokenizer,r.options.keyValueSeparator),this.templates=[],this.elseTemplates=[];let a;const h=s.parseStream(n).on("start",()=>a=this.templates).on("tag:else",c=>{ue(c.args),a=this.elseTemplates}).on("tag:endfor",c=>{ue(c.args),h.stop()}).on("template",c=>a.push(c)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)});h.start()}*render(e,n){const r=this.liquid.renderer;let s=se(yield b(this.collection,e));if(!s.length){yield r.renderTemplates(this.elseTemplates,e,n);return}const i="continue-"+this.variable+"-"+this.collection.getText();e.push({continue:e.getRegister(i)});const o=yield this.hash.render(e);e.pop(),s=(this.liquid.options.orderedFilterParameters?Object.keys(o).filter(h=>yt.includes(h)):yt.filter(h=>o[h]!==void 0)).reduce((h,c)=>c==="offset"?yi(h,o.offset):c==="limit"?ki(h,o.limit):mi(h),s),e.setRegister(i,(o.offset||0)+s.length);const a={forloop:new Ae(s.length,this.collection.getText(),this.variable)};e.push(a);for(const h of s){if(a[this.variable]=h,e.continueCalled=e.breakCalled=!1,yield r.renderTemplates(this.templates,e,n),e.breakCalled)break;a.forloop.next()}e.continueCalled=e.breakCalled=!1,e.pop()}*children(){const e=this.templates.slice();return this.elseTemplates&&e.push(...this.elseTemplates),e}*arguments(){yield this.collection;for(const e of Object.values(this.hash.hash))F(e)&&(yield e)}blockScope(){return[this.variable,"forloop"]}}function mi(t){return[...t].reverse()}function yi(t,e){return t.slice(e)}function ki(t,e){return t.slice(0,e)}class wi extends w{constructor(e,n,r,s){for(super(e,n,r),this.templates=[],this.identifier=this.readVariable(),this.variable=this.identifier.content;n.length;){const i=n.shift();if(Q(i)&&i.name==="endcapture")return;this.templates.push(s.parseToken(i,n))}throw new Error(`tag ${e.getText()} not closed`)}readVariable(){let e=this.tokenizer.readIdentifier();if(e.content||(e=this.tokenizer.readQuoted(),e))return e;throw this.tokenizer.error("invalid capture name")}*render(e){const r=yield this.liquid.renderer.renderTemplates(this.templates,e);e.bottom()[this.variable]=r}*children(){return this.templates}*localScope(){yield this.identifier}}class bi extends w{constructor(e,n,r,s){super(e,n,r),this.branches=[],this.elseTemplates=[],this.value=new L(this.tokenizer.readFilteredValue(),this.liquid),this.elseTemplates=[];let i=[],o=0;const l=s.parseStream(n).on("tag:when",a=>{if(o>0)return;i=[];const h=[];for(;!a.tokenizer.end();)h.push(a.tokenizer.readValueOrThrow()),a.tokenizer.skipBlank(),a.tokenizer.peek()===","?a.tokenizer.readTo(","):a.tokenizer.readTo("or");this.branches.push({values:h,templates:i})}).on("tag:else",()=>{o++,i=this.elseTemplates}).on("tag:endcase",()=>l.stop()).on("template",a=>{(i!==this.elseTemplates||o===1)&&i.push(a)}).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)});l.start()}*render(e,n){const r=this.liquid.renderer,s=p(yield this.value.value(e,e.opts.lenientIf));let i=!1;for(const o of this.branches)for(const l of o.values){const a=yield b(l,e,e.opts.lenientIf);if(V(s,a)){yield r.renderTemplates(o.templates,e,n),i=!0;break}}i||(yield r.renderTemplates(this.elseTemplates,e,n))}*arguments(){yield this.value,yield*this.branches.flatMap(e=>e.values)}*children(){const e=this.branches.flatMap(n=>n.templates);return this.elseTemplates&&e.push(...this.elseTemplates),e}}class xi extends w{constructor(e,n,r){for(super(e,n,r);n.length;){const s=n.shift();if(Q(s)&&s.name==="endcomment")return}throw new Error(`tag ${e.getText()} not closed`)}render(){}}class Ti extends w{constructor(e,n,r,s){super(e,n,r);const i=this.tokenizer;for(this.file=qe(i,this.liquid,s),this.currentFile=e.file;!i.end();){i.skipBlank();const o=i.p,l=i.readIdentifier();if((l.content==="with"||l.content==="for")&&(i.skipBlank(),i.peek()!==":")){const a=i.readValue();if(a){const h=i.p,c=i.readIdentifier();let d;c.content==="as"?d=i.readIdentifier():i.p=h,this[l.content]={value:a,alias:d&&d.content},i.skipBlank(),i.peek()===","&&i.advance();continue}}i.p=o;break}this.hash=new te(i,r.options.keyValueSeparator)}*render(e,n){const{liquid:r,hash:s}=this,i=yield $e(this.file,e,r);S(i,()=>`illegal file path "${i}"`);const o=e.spawn(),l=o.bottom();if(fe(l,yield s.render(e)),this.with){const{value:a,alias:h}=this.with;l[h||i]=yield b(a,e)}if(this.for){const{value:a,alias:h}=this.for,c=se(yield b(a,e));l.forloop=new Ae(c.length,a.getText(),h);for(const d of c){l[h]=d;const g=yield r._parsePartialFile(i,o.sync,this.currentFile);yield r.renderer.renderTemplates(g,o,n),l.forloop.next()}}else{const a=yield r._parsePartialFile(i,o.sync,this.currentFile);yield r.renderer.renderTemplates(a,o,n)}}*children(e,n){return e&&f(this.file)?yield this.liquid._parsePartialFile(this.file,n,this.currentFile):[]}partialScope(){if(f(this.file)){const e=Object.keys(this.hash.hash);if(this.with){const{value:n,alias:r}=this.with;f(r)?e.push([r,n]):f(this.file)&&e.push([this.file,n])}if(this.for){const{value:n,alias:r}=this.for;f(r)?e.push([r,n]):f(this.file)&&e.push([this.file,n])}return{name:this.file,isolated:!0,scope:e}}}*arguments(){for(const e of Object.values(this.hash.hash))F(e)&&(yield e);if(this.with){const{value:e}=this.with;F(e)&&(yield e)}if(this.for){const{value:e}=this.for;F(e)&&(yield e)}}}function qe(t,e,n){if(e.options.dynamicPartials){const i=t.readValue();if(t.assert(i,"illegal file path"),i.getText()==="none")return;if(ze(i)){const o=n.parse(Zn(i));return kt(o)}return i}const r=[...t.readFileNameTemplate(e.options)],s=kt(n.parseTokens(r));return s==="none"?void 0:s}function kt(t){return t.length===1&&je(t[0].token)?t[0].token.getContent():t}function*$e(t,e,n){return typeof t=="string"?t:Array.isArray(t)?n.renderer.renderTemplates(t,e):yield b(t,e)}class vi extends w{constructor(e,n,r,s){super(e,n,r);const{tokenizer:i}=e;this.file=qe(i,this.liquid,s),this.currentFile=e.file;const o=i.p;i.readIdentifier().content==="with"?(i.skipBlank(),i.peek()!==":"?this.withVar=i.readValue():i.p=o):i.p=o,this.hash=new te(i,r.options.jekyllInclude||r.options.keyValueSeparator)}*render(e,n){const{liquid:r,hash:s,withVar:i}=this,{renderer:o}=r,l=yield $e(this.file,e,r);S(l,()=>`illegal file path "${l}"`);const a=e.saveRegister("blocks","blockMode");e.setRegister("blocks",{}),e.setRegister("blockMode",H.OUTPUT);const h=yield s.render(e);i&&(h[l]=yield b(i,e));const c=yield r._parsePartialFile(l,e.sync,this.currentFile);e.push(e.opts.jekyllInclude?{include:h}:h),yield o.renderTemplates(c,e,n),e.pop(),e.restoreRegister(a)}*children(e,n){return e&&f(this.file)?yield this.liquid._parsePartialFile(this.file,n,this.currentFile):[]}partialScope(){if(f(this.file)){let e;return this.liquid.options.jekyllInclude?e=["include"]:(e=Object.keys(this.hash.hash),this.withVar&&e.push([this.file,this.withVar])),{name:this.file,isolated:!1,scope:e}}}*arguments(){yield*Object.values(this.hash.hash).filter(F),F(this.file)&&(yield this.file),F(this.withVar)&&(yield this.withVar)}}class _i extends w{constructor(e,n,r){super(e,n,r),this.identifier=this.tokenizer.readIdentifier(),this.variable=this.identifier.content}render(e,n){const r=e.environments;ge(r[this.variable])||(r[this.variable]=0),n.write(u(--r[this.variable]))}*localScope(){yield this.identifier}}class Si extends w{constructor(e,n,r){super(e,n,r),this.candidates=[];const s=this.tokenizer.readValue();for(this.tokenizer.skipBlank(),s&&(this.tokenizer.peek()===":"?(this.group=s,this.tokenizer.advance()):this.candidates.push(s));!this.tokenizer.end();){const i=this.tokenizer.readValue();i&&this.candidates.push(i),this.tokenizer.readTo(",")}this.tokenizer.assert(this.candidates.length,()=>`empty candidates: "${e.getText()}"`)}*render(e,n){const s=`cycle:${yield b(this.group,e)}:`+this.candidates.join(","),i=e.getRegister("cycle");let o=i[s];o===void 0&&(o=i[s]=0);const l=this.candidates[o];return o=(o+1)%this.candidates.length,i[s]=o,yield b(l,e)}*arguments(){yield*this.candidates,this.group&&(yield this.group)}}class Fi extends w{constructor(e,n,r,s){super(e,n,r),this.branches=[];let i=[];s.parseStream(n).on("start",()=>this.branches.push({value:new L(e.tokenizer.readFilteredValue(),this.liquid),templates:i=[]})).on("tag:elsif",o=>{S(!this.elseTemplates,"unexpected elsif after else"),this.branches.push({value:new L(o.tokenizer.readFilteredValue(),this.liquid),templates:i=[]})}).on("tag:else",o=>{ue(o.args),S(!this.elseTemplates,"duplicated else"),i=this.elseTemplates=[]}).on("tag:endif",function(o){ue(o.args),this.stop()}).on("template",o=>i.push(o)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)}).start()}*render(e,n){const r=this.liquid.renderer;for(const{value:s,templates:i}of this.branches){const o=yield s.value(e,e.opts.lenientIf);if(U(o,e)){yield r.renderTemplates(i,e,n);return}}yield r.renderTemplates(this.elseTemplates||[],e,n)}*children(){const e=this.branches.flatMap(n=>n.templates);return this.elseTemplates&&e.push(...this.elseTemplates),e}arguments(){return this.branches.map(e=>e.value)}}class Li extends w{constructor(e,n,r){super(e,n,r),this.identifier=this.tokenizer.readIdentifier(),this.variable=this.identifier.content}render(e,n){const r=e.environments;ge(r[this.variable])||(r[this.variable]=0);const s=r[this.variable];r[this.variable]++,n.write(u(s))}*localScope(){yield this.identifier}}class Oi extends w{constructor(e,n,r,s){super(e,n,r),this.file=qe(this.tokenizer,this.liquid,s),this.currentFile=e.file,this.args=new te(this.tokenizer,r.options.keyValueSeparator),this.templates=s.parseTokens(n)}*render(e,n){const{liquid:r,args:s,file:i}=this,{renderer:o}=r;if(i===void 0){e.setRegister("blockMode",H.OUTPUT),yield o.renderTemplates(this.templates,e,n);return}const l=yield $e(this.file,e,r);S(l,()=>`illegal file path "${l}"`);const a=yield r._parseLayoutFile(l,e.sync,this.currentFile);e.setRegister("blockMode",H.STORE);const h=yield o.renderTemplates(this.templates,e),c=e.getRegister("blocks");c[""]===void 0&&(c[""]=(d,g)=>g.write(h)),e.setRegister("blockMode",H.OUTPUT),e.push(yield s.render(e)),yield o.renderTemplates(a,e,n),e.pop()}*children(e){const n=this.templates.slice();return e&&f(this.file)&&n.push(...yield this.liquid._parsePartialFile(this.file,!0,this.currentFile)),n}*arguments(){for(const e of Object.values(this.args.hash))F(e)&&(yield e);F(this.file)&&(yield this.file)}partialScope(){if(f(this.file))return{name:this.file,isolated:!1,scope:Object.keys(this.args.hash)}}}class zi extends w{constructor(e,n,r,s){super(e,n,r),this.templates=[];const i=/\w+/.exec(e.args);for(this.block=i?i[0]:"";n.length;){const o=n.shift();if(Q(o)&&o.name==="endblock")return;const l=s.parseToken(o,n);this.templates.push(l)}throw new Error(`tag ${e.getText()} not closed`)}*render(e,n){const r=this.getBlockRender(e);e.getRegister("blockMode")===H.STORE?e.getRegister("blocks")[this.block]=r:yield r(new Qe,n)}getBlockRender(e){const{liquid:n,templates:r}=this,s=e.getRegister("blocks")[this.block],i=function*(o,l){e.push({block:o}),yield n.renderer.renderTemplates(r,e,l),e.pop()};return s?(o,l)=>s(new Qe(a=>i(o,a)),l):i}*children(){return this.templates}blockScope(){return["block"]}}class Ri extends w{constructor(e,n,r){for(super(e,n,r),this.tokens=[];n.length;){const s=n.shift();if(Q(s)&&s.name==="endraw")return;this.tokens.push(s)}throw new Error(`tag ${e.getText()} not closed`)}render(){return this.tokens.map(e=>e.getText()).join("")}}class Ei extends Ae{constructor(e,n,r,s){super(e,r,s),this.length=e,this.cols=n}row(){return Math.floor(this.i/this.cols)+1}col0(){return this.i%this.cols}col(){return this.col0()+1}col_first(){return this.col0()===0}col_last(){return this.col()===this.cols}}class Ni extends w{constructor(e,n,r,s){super(e,n,r);const i=this.tokenizer.readIdentifier();this.tokenizer.skipBlank();const o=this.tokenizer.readIdentifier(),l=this.tokenizer.readValue();if(o.content!=="in"||!l)throw new Error(`illegal tag: ${e.getText()}`);this.variable=i.content,this.collection=l,this.args=new te(this.tokenizer,r.options.keyValueSeparator),this.templates=[];let a;const h=s.parseStream(n).on("start",()=>a=this.templates).on("tag:endtablerow",()=>h.stop()).on("template",c=>a.push(c)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)});h.start()}*render(e,n){let r=se(yield b(this.collection,e));const s=yield this.args.render(e),i=s.offset||0,o=s.limit===void 0?r.length:s.limit;r=r.slice(i,i+o);const l=s.cols||r.length,a=this.liquid.renderer,h=new Ei(r.length,l,this.collection.getText(),this.variable),c={tablerowloop:h};e.push(c);for(let d=0;d<r.length;d++,h.next())c[this.variable]=r[d],h.col0()===0&&(h.row()!==1&&n.write("</tr>"),n.write(`<tr class="row${h.row()}">`)),n.write(`<td class="col${h.col()}">`),yield a.renderTemplates(this.templates,e,n),n.write("</td>");r.length&&n.write("</tr>"),e.pop()}*children(){return this.templates}*arguments(){yield this.collection;for(const e of Object.values(this.args.hash))F(e)&&(yield e)}blockScope(){return[this.variable,"tablerowloop"]}}class Ai extends w{constructor(e,n,r,s){super(e,n,r),this.branches=[],this.elseTemplates=[];let i=[],o=0;s.parseStream(n).on("start",()=>this.branches.push({value:new L(e.tokenizer.readFilteredValue(),this.liquid),test:ke,templates:i=[]})).on("tag:elsif",l=>{if(o>0){i=[];return}this.branches.push({value:new L(l.tokenizer.readFilteredValue(),this.liquid),test:U,templates:i=[]})}).on("tag:else",()=>{o++,i=this.elseTemplates}).on("tag:endunless",function(){this.stop()}).on("template",l=>{(i!==this.elseTemplates||o===1)&&i.push(l)}).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)}).start()}*render(e,n){const r=this.liquid.renderer;for(const{value:s,test:i,templates:o}of this.branches){const l=yield s.value(e,e.opts.lenientIf);if(i(l,e)){yield r.renderTemplates(o,e,n);return}}yield r.renderTemplates(this.elseTemplates,e,n)}*children(){const e=this.branches.flatMap(n=>n.templates);return this.elseTemplates&&e.push(...this.elseTemplates),e}arguments(){return this.branches.map(e=>e.value)}}class Di extends w{render(e,n){e.breakCalled=!0}}class Mi extends w{render(e,n){e.continueCalled=!0}}class ji extends w{constructor(e,n,r){super(e,n,r),this.tokenizer.skipBlank(),this.tokenizer.end()||(this.value=new L(this.tokenizer.readFilteredValue(),this.liquid))}*render(e,n){if(!this.value)return;const r=yield this.value.value(e,!1);n.write(r)}*arguments(){this.value&&(yield this.value)}}class Vi extends w{constructor(e,n,r,s){super(e,n,r);const i=this.tokenizer.readLiquidTagTokens(this.liquid.options);this.templates=s.parseTokens(i)}*render(e,n){yield this.liquid.renderer.renderTemplates(this.templates,e,n)}*children(){return this.templates}}class Ci extends w{constructor(e,n,r){if(super(e,n,r),e.args.search(/\n\s*[^#\s]/g)!==-1)throw new Error("every line of an inline comment must start with a '#' character")}render(){}}const Pi={assign:pi,for:gi,capture:wi,case:bi,comment:xi,include:vi,render:Ti,decrement:_i,increment:Li,cycle:Si,if:Fi,layout:Oi,block:zi,raw:Ri,tablerow:Ni,unless:Ai,break:Di,continue:Mi,echo:ji,liquid:Vi,"#":Ci};class Ie{constructor(e={}){this.renderer=new Wn,this.filters={},this.tags={},this.options=Tr(e),this.parser=new I(this),We(Pi,(n,r)=>this.registerTag(r,n)),We(di,(n,r)=>this.registerFilter(r,n))}parse(e,n){return new I(this).parse(e,n)}_render(e,n,r){const s=n instanceof B?n:new B(n,this.options,r);return this.renderer.renderTemplates(e,s)}render(e,n,r){return x(this,void 0,void 0,function*(){return M(this._render(e,n,Object.assign(Object.assign({},r),{sync:!1})))})}renderSync(e,n,r){return j(this._render(e,n,Object.assign(Object.assign({},r),{sync:!0})))}renderToNodeStream(e,n,r={}){const s=new B(n,this.options,r);return this.renderer.renderTemplatesToNodeStream(e,s)}_parseAndRender(e,n,r){const s=this.parse(e);return this._render(s,n,r)}parseAndRender(e,n,r){return x(this,void 0,void 0,function*(){return M(this._parseAndRender(e,n,Object.assign(Object.assign({},r),{sync:!1})))})}parseAndRenderSync(e,n,r){return j(this._parseAndRender(e,n,Object.assign(Object.assign({},r),{sync:!0})))}_parsePartialFile(e,n,r){return new I(this).parseFile(e,n,Y.Partials,r)}_parseLayoutFile(e,n,r){return new I(this).parseFile(e,n,Y.Layouts,r)}_parseFile(e,n,r,s){return new I(this).parseFile(e,n,r,s)}parseFile(e,n){return x(this,void 0,void 0,function*(){return M(new I(this).parseFile(e,!1,n))})}parseFileSync(e,n){return j(new I(this).parseFile(e,!0,n))}*_renderFile(e,n,r){const s=yield this._parseFile(e,r.sync,r.lookupType);return yield this._render(s,n,r)}renderFile(e,n,r){return x(this,void 0,void 0,function*(){return M(this._renderFile(e,n,Object.assign(Object.assign({},r),{sync:!1})))})}renderFileSync(e,n,r){return j(this._renderFile(e,n,Object.assign(Object.assign({},r),{sync:!0})))}renderFileToNodeStream(e,n,r){return x(this,void 0,void 0,function*(){const s=yield this.parseFile(e);return this.renderToNodeStream(s,n,r)})}_evalValue(e,n){const r=new L(e,this),s=n instanceof B?n:new B(n,this.options);return r.value(s)}evalValue(e,n){return x(this,void 0,void 0,function*(){return M(this._evalValue(e,n))})}evalValueSync(e,n){return j(this._evalValue(e,n))}registerFilter(e,n){this.filters[e]=n}registerTag(e,n){this.tags[e]=T(n)?n:Or(n)}plugin(e){return e.call(this,Ie)}express(){const e=this;let n=!0;return function(r,s,i){if(n){n=!1;const o=ce(this.root);e.options.root.unshift(...o),e.options.layouts.unshift(...o),e.options.partials.unshift(...o)}e.renderFile(r,s).then(o=>i(null,o),i)}}analyze(e,n={}){return x(this,void 0,void 0,function*(){return C(e,n)})}analyzeSync(e,n={}){return P(e,n)}parseAndAnalyze(e,n,r={}){return x(this,void 0,void 0,function*(){return C(this.parse(e,n),r)})}parseAndAnalyzeSync(e,n,r={}){return P(this.parse(e,n),r)}variables(e,n={}){return x(this,void 0,void 0,function*(){const r=yield C(f(e)?this.parse(e):e,n);return Object.keys(r.variables)})}variablesSync(e,n={}){const r=P(f(e)?this.parse(e):e,n);return Object.keys(r.variables)}fullVariables(e,n={}){return x(this,void 0,void 0,function*(){const r=yield C(f(e)?this.parse(e):e,n);return Array.from(new Set(Object.values(r.variables).flatMap(s=>s.map(i=>String(i)))))})}fullVariablesSync(e,n={}){const r=P(f(e)?this.parse(e):e,n);return Array.from(new Set(Object.values(r.variables).flatMap(s=>s.map(i=>String(i)))))}variableSegments(e,n={}){return x(this,void 0,void 0,function*(){const r=yield C(f(e)?this.parse(e):e,n);return Array.from(oe(Object.values(r.variables).flatMap(s=>s.map(i=>i.toArray()))))})}variableSegmentsSync(e,n={}){const r=P(f(e)?this.parse(e):e,n);return Array.from(oe(Object.values(r.variables).flatMap(s=>s.map(i=>i.toArray()))))}globalVariables(e,n={}){return x(this,void 0,void 0,function*(){const r=yield C(f(e)?this.parse(e):e,n);return Object.keys(r.globals)})}globalVariablesSync(e,n={}){const r=P(f(e)?this.parse(e):e,n);return Object.keys(r.globals)}globalFullVariables(e,n={}){return x(this,void 0,void 0,function*(){const r=yield C(f(e)?this.parse(e):e,n);return Array.from(new Set(Object.values(r.globals).flatMap(s=>s.map(i=>String(i)))))})}globalFullVariablesSync(e,n={}){const r=P(f(e)?this.parse(e):e,n);return Array.from(new Set(Object.values(r.globals).flatMap(s=>s.map(i=>String(i)))))}globalVariableSegments(e,n={}){return x(this,void 0,void 0,function*(){const r=yield C(f(e)?this.parse(e):e,n);return Array.from(oe(Object.values(r.globals).flatMap(s=>s.map(i=>i.toArray()))))})}globalVariableSegmentsSync(e,n={}){const r=P(f(e)?this.parse(e):e,n);return Array.from(oe(Object.values(r.globals).flatMap(s=>s.map(i=>i.toArray()))))}}const qi=`@theme default {
|
|
14
|
+
--font-sans:
|
|
15
|
+
ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
16
|
+
'Noto Color Emoji';
|
|
17
|
+
--font-serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
18
|
+
--font-mono:
|
|
19
|
+
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
|
20
|
+
monospace;
|
|
21
|
+
|
|
22
|
+
--color-red-50: oklch(97.1% 0.013 17.38);
|
|
23
|
+
--color-red-100: oklch(93.6% 0.032 17.717);
|
|
24
|
+
--color-red-200: oklch(88.5% 0.062 18.334);
|
|
25
|
+
--color-red-300: oklch(80.8% 0.114 19.571);
|
|
26
|
+
--color-red-400: oklch(70.4% 0.191 22.216);
|
|
27
|
+
--color-red-500: oklch(63.7% 0.237 25.331);
|
|
28
|
+
--color-red-600: oklch(57.7% 0.245 27.325);
|
|
29
|
+
--color-red-700: oklch(50.5% 0.213 27.518);
|
|
30
|
+
--color-red-800: oklch(44.4% 0.177 26.899);
|
|
31
|
+
--color-red-900: oklch(39.6% 0.141 25.723);
|
|
32
|
+
--color-red-950: oklch(25.8% 0.092 26.042);
|
|
33
|
+
|
|
34
|
+
--color-orange-50: oklch(98% 0.016 73.684);
|
|
35
|
+
--color-orange-100: oklch(95.4% 0.038 75.164);
|
|
36
|
+
--color-orange-200: oklch(90.1% 0.076 70.697);
|
|
37
|
+
--color-orange-300: oklch(83.7% 0.128 66.29);
|
|
38
|
+
--color-orange-400: oklch(75% 0.183 55.934);
|
|
39
|
+
--color-orange-500: oklch(70.5% 0.213 47.604);
|
|
40
|
+
--color-orange-600: oklch(64.6% 0.222 41.116);
|
|
41
|
+
--color-orange-700: oklch(55.3% 0.195 38.402);
|
|
42
|
+
--color-orange-800: oklch(47% 0.157 37.304);
|
|
43
|
+
--color-orange-900: oklch(40.8% 0.123 38.172);
|
|
44
|
+
--color-orange-950: oklch(26.6% 0.079 36.259);
|
|
45
|
+
|
|
46
|
+
--color-amber-50: oklch(98.7% 0.022 95.277);
|
|
47
|
+
--color-amber-100: oklch(96.2% 0.059 95.617);
|
|
48
|
+
--color-amber-200: oklch(92.4% 0.12 95.746);
|
|
49
|
+
--color-amber-300: oklch(87.9% 0.169 91.605);
|
|
50
|
+
--color-amber-400: oklch(82.8% 0.189 84.429);
|
|
51
|
+
--color-amber-500: oklch(76.9% 0.188 70.08);
|
|
52
|
+
--color-amber-600: oklch(66.6% 0.179 58.318);
|
|
53
|
+
--color-amber-700: oklch(55.5% 0.163 48.998);
|
|
54
|
+
--color-amber-800: oklch(47.3% 0.137 46.201);
|
|
55
|
+
--color-amber-900: oklch(41.4% 0.112 45.904);
|
|
56
|
+
--color-amber-950: oklch(27.9% 0.077 45.635);
|
|
57
|
+
|
|
58
|
+
--color-yellow-50: oklch(98.7% 0.026 102.212);
|
|
59
|
+
--color-yellow-100: oklch(97.3% 0.071 103.193);
|
|
60
|
+
--color-yellow-200: oklch(94.5% 0.129 101.54);
|
|
61
|
+
--color-yellow-300: oklch(90.5% 0.182 98.111);
|
|
62
|
+
--color-yellow-400: oklch(85.2% 0.199 91.936);
|
|
63
|
+
--color-yellow-500: oklch(79.5% 0.184 86.047);
|
|
64
|
+
--color-yellow-600: oklch(68.1% 0.162 75.834);
|
|
65
|
+
--color-yellow-700: oklch(55.4% 0.135 66.442);
|
|
66
|
+
--color-yellow-800: oklch(47.6% 0.114 61.907);
|
|
67
|
+
--color-yellow-900: oklch(42.1% 0.095 57.708);
|
|
68
|
+
--color-yellow-950: oklch(28.6% 0.066 53.813);
|
|
69
|
+
|
|
70
|
+
--color-lime-50: oklch(98.6% 0.031 120.757);
|
|
71
|
+
--color-lime-100: oklch(96.7% 0.067 122.328);
|
|
72
|
+
--color-lime-200: oklch(93.8% 0.127 124.321);
|
|
73
|
+
--color-lime-300: oklch(89.7% 0.196 126.665);
|
|
74
|
+
--color-lime-400: oklch(84.1% 0.238 128.85);
|
|
75
|
+
--color-lime-500: oklch(76.8% 0.233 130.85);
|
|
76
|
+
--color-lime-600: oklch(64.8% 0.2 131.684);
|
|
77
|
+
--color-lime-700: oklch(53.2% 0.157 131.589);
|
|
78
|
+
--color-lime-800: oklch(45.3% 0.124 130.933);
|
|
79
|
+
--color-lime-900: oklch(40.5% 0.101 131.063);
|
|
80
|
+
--color-lime-950: oklch(27.4% 0.072 132.109);
|
|
81
|
+
|
|
82
|
+
--color-green-50: oklch(98.2% 0.018 155.826);
|
|
83
|
+
--color-green-100: oklch(96.2% 0.044 156.743);
|
|
84
|
+
--color-green-200: oklch(92.5% 0.084 155.995);
|
|
85
|
+
--color-green-300: oklch(87.1% 0.15 154.449);
|
|
86
|
+
--color-green-400: oklch(79.2% 0.209 151.711);
|
|
87
|
+
--color-green-500: oklch(72.3% 0.219 149.579);
|
|
88
|
+
--color-green-600: oklch(62.7% 0.194 149.214);
|
|
89
|
+
--color-green-700: oklch(52.7% 0.154 150.069);
|
|
90
|
+
--color-green-800: oklch(44.8% 0.119 151.328);
|
|
91
|
+
--color-green-900: oklch(39.3% 0.095 152.535);
|
|
92
|
+
--color-green-950: oklch(26.6% 0.065 152.934);
|
|
93
|
+
|
|
94
|
+
--color-emerald-50: oklch(97.9% 0.021 166.113);
|
|
95
|
+
--color-emerald-100: oklch(95% 0.052 163.051);
|
|
96
|
+
--color-emerald-200: oklch(90.5% 0.093 164.15);
|
|
97
|
+
--color-emerald-300: oklch(84.5% 0.143 164.978);
|
|
98
|
+
--color-emerald-400: oklch(76.5% 0.177 163.223);
|
|
99
|
+
--color-emerald-500: oklch(69.6% 0.17 162.48);
|
|
100
|
+
--color-emerald-600: oklch(59.6% 0.145 163.225);
|
|
101
|
+
--color-emerald-700: oklch(50.8% 0.118 165.612);
|
|
102
|
+
--color-emerald-800: oklch(43.2% 0.095 166.913);
|
|
103
|
+
--color-emerald-900: oklch(37.8% 0.077 168.94);
|
|
104
|
+
--color-emerald-950: oklch(26.2% 0.051 172.552);
|
|
105
|
+
|
|
106
|
+
--color-teal-50: oklch(98.4% 0.014 180.72);
|
|
107
|
+
--color-teal-100: oklch(95.3% 0.051 180.801);
|
|
108
|
+
--color-teal-200: oklch(91% 0.096 180.426);
|
|
109
|
+
--color-teal-300: oklch(85.5% 0.138 181.071);
|
|
110
|
+
--color-teal-400: oklch(77.7% 0.152 181.912);
|
|
111
|
+
--color-teal-500: oklch(70.4% 0.14 182.503);
|
|
112
|
+
--color-teal-600: oklch(60% 0.118 184.704);
|
|
113
|
+
--color-teal-700: oklch(51.1% 0.096 186.391);
|
|
114
|
+
--color-teal-800: oklch(43.7% 0.078 188.216);
|
|
115
|
+
--color-teal-900: oklch(38.6% 0.063 188.416);
|
|
116
|
+
--color-teal-950: oklch(27.7% 0.046 192.524);
|
|
117
|
+
|
|
118
|
+
--color-cyan-50: oklch(98.4% 0.019 200.873);
|
|
119
|
+
--color-cyan-100: oklch(95.6% 0.045 203.388);
|
|
120
|
+
--color-cyan-200: oklch(91.7% 0.08 205.041);
|
|
121
|
+
--color-cyan-300: oklch(86.5% 0.127 207.078);
|
|
122
|
+
--color-cyan-400: oklch(78.9% 0.154 211.53);
|
|
123
|
+
--color-cyan-500: oklch(71.5% 0.143 215.221);
|
|
124
|
+
--color-cyan-600: oklch(60.9% 0.126 221.723);
|
|
125
|
+
--color-cyan-700: oklch(52% 0.105 223.128);
|
|
126
|
+
--color-cyan-800: oklch(45% 0.085 224.283);
|
|
127
|
+
--color-cyan-900: oklch(39.8% 0.07 227.392);
|
|
128
|
+
--color-cyan-950: oklch(30.2% 0.056 229.695);
|
|
129
|
+
|
|
130
|
+
--color-sky-50: oklch(97.7% 0.013 236.62);
|
|
131
|
+
--color-sky-100: oklch(95.1% 0.026 236.824);
|
|
132
|
+
--color-sky-200: oklch(90.1% 0.058 230.902);
|
|
133
|
+
--color-sky-300: oklch(82.8% 0.111 230.318);
|
|
134
|
+
--color-sky-400: oklch(74.6% 0.16 232.661);
|
|
135
|
+
--color-sky-500: oklch(68.5% 0.169 237.323);
|
|
136
|
+
--color-sky-600: oklch(58.8% 0.158 241.966);
|
|
137
|
+
--color-sky-700: oklch(50% 0.134 242.749);
|
|
138
|
+
--color-sky-800: oklch(44.3% 0.11 240.79);
|
|
139
|
+
--color-sky-900: oklch(39.1% 0.09 240.876);
|
|
140
|
+
--color-sky-950: oklch(29.3% 0.066 243.157);
|
|
141
|
+
|
|
142
|
+
--color-blue-50: oklch(97% 0.014 254.604);
|
|
143
|
+
--color-blue-100: oklch(93.2% 0.032 255.585);
|
|
144
|
+
--color-blue-200: oklch(88.2% 0.059 254.128);
|
|
145
|
+
--color-blue-300: oklch(80.9% 0.105 251.813);
|
|
146
|
+
--color-blue-400: oklch(70.7% 0.165 254.624);
|
|
147
|
+
--color-blue-500: oklch(62.3% 0.214 259.815);
|
|
148
|
+
--color-blue-600: oklch(54.6% 0.245 262.881);
|
|
149
|
+
--color-blue-700: oklch(48.8% 0.243 264.376);
|
|
150
|
+
--color-blue-800: oklch(42.4% 0.199 265.638);
|
|
151
|
+
--color-blue-900: oklch(37.9% 0.146 265.522);
|
|
152
|
+
--color-blue-950: oklch(28.2% 0.091 267.935);
|
|
153
|
+
|
|
154
|
+
--color-indigo-50: oklch(96.2% 0.018 272.314);
|
|
155
|
+
--color-indigo-100: oklch(93% 0.034 272.788);
|
|
156
|
+
--color-indigo-200: oklch(87% 0.065 274.039);
|
|
157
|
+
--color-indigo-300: oklch(78.5% 0.115 274.713);
|
|
158
|
+
--color-indigo-400: oklch(67.3% 0.182 276.935);
|
|
159
|
+
--color-indigo-500: oklch(58.5% 0.233 277.117);
|
|
160
|
+
--color-indigo-600: oklch(51.1% 0.262 276.966);
|
|
161
|
+
--color-indigo-700: oklch(45.7% 0.24 277.023);
|
|
162
|
+
--color-indigo-800: oklch(39.8% 0.195 277.366);
|
|
163
|
+
--color-indigo-900: oklch(35.9% 0.144 278.697);
|
|
164
|
+
--color-indigo-950: oklch(25.7% 0.09 281.288);
|
|
165
|
+
|
|
166
|
+
--color-violet-50: oklch(96.9% 0.016 293.756);
|
|
167
|
+
--color-violet-100: oklch(94.3% 0.029 294.588);
|
|
168
|
+
--color-violet-200: oklch(89.4% 0.057 293.283);
|
|
169
|
+
--color-violet-300: oklch(81.1% 0.111 293.571);
|
|
170
|
+
--color-violet-400: oklch(70.2% 0.183 293.541);
|
|
171
|
+
--color-violet-500: oklch(60.6% 0.25 292.717);
|
|
172
|
+
--color-violet-600: oklch(54.1% 0.281 293.009);
|
|
173
|
+
--color-violet-700: oklch(49.1% 0.27 292.581);
|
|
174
|
+
--color-violet-800: oklch(43.2% 0.232 292.759);
|
|
175
|
+
--color-violet-900: oklch(38% 0.189 293.745);
|
|
176
|
+
--color-violet-950: oklch(28.3% 0.141 291.089);
|
|
177
|
+
|
|
178
|
+
--color-purple-50: oklch(97.7% 0.014 308.299);
|
|
179
|
+
--color-purple-100: oklch(94.6% 0.033 307.174);
|
|
180
|
+
--color-purple-200: oklch(90.2% 0.063 306.703);
|
|
181
|
+
--color-purple-300: oklch(82.7% 0.119 306.383);
|
|
182
|
+
--color-purple-400: oklch(71.4% 0.203 305.504);
|
|
183
|
+
--color-purple-500: oklch(62.7% 0.265 303.9);
|
|
184
|
+
--color-purple-600: oklch(55.8% 0.288 302.321);
|
|
185
|
+
--color-purple-700: oklch(49.6% 0.265 301.924);
|
|
186
|
+
--color-purple-800: oklch(43.8% 0.218 303.724);
|
|
187
|
+
--color-purple-900: oklch(38.1% 0.176 304.987);
|
|
188
|
+
--color-purple-950: oklch(29.1% 0.149 302.717);
|
|
189
|
+
|
|
190
|
+
--color-fuchsia-50: oklch(97.7% 0.017 320.058);
|
|
191
|
+
--color-fuchsia-100: oklch(95.2% 0.037 318.852);
|
|
192
|
+
--color-fuchsia-200: oklch(90.3% 0.076 319.62);
|
|
193
|
+
--color-fuchsia-300: oklch(83.3% 0.145 321.434);
|
|
194
|
+
--color-fuchsia-400: oklch(74% 0.238 322.16);
|
|
195
|
+
--color-fuchsia-500: oklch(66.7% 0.295 322.15);
|
|
196
|
+
--color-fuchsia-600: oklch(59.1% 0.293 322.896);
|
|
197
|
+
--color-fuchsia-700: oklch(51.8% 0.253 323.949);
|
|
198
|
+
--color-fuchsia-800: oklch(45.2% 0.211 324.591);
|
|
199
|
+
--color-fuchsia-900: oklch(40.1% 0.17 325.612);
|
|
200
|
+
--color-fuchsia-950: oklch(29.3% 0.136 325.661);
|
|
201
|
+
|
|
202
|
+
--color-pink-50: oklch(97.1% 0.014 343.198);
|
|
203
|
+
--color-pink-100: oklch(94.8% 0.028 342.258);
|
|
204
|
+
--color-pink-200: oklch(89.9% 0.061 343.231);
|
|
205
|
+
--color-pink-300: oklch(82.3% 0.12 346.018);
|
|
206
|
+
--color-pink-400: oklch(71.8% 0.202 349.761);
|
|
207
|
+
--color-pink-500: oklch(65.6% 0.241 354.308);
|
|
208
|
+
--color-pink-600: oklch(59.2% 0.249 0.584);
|
|
209
|
+
--color-pink-700: oklch(52.5% 0.223 3.958);
|
|
210
|
+
--color-pink-800: oklch(45.9% 0.187 3.815);
|
|
211
|
+
--color-pink-900: oklch(40.8% 0.153 2.432);
|
|
212
|
+
--color-pink-950: oklch(28.4% 0.109 3.907);
|
|
213
|
+
|
|
214
|
+
--color-rose-50: oklch(96.9% 0.015 12.422);
|
|
215
|
+
--color-rose-100: oklch(94.1% 0.03 12.58);
|
|
216
|
+
--color-rose-200: oklch(89.2% 0.058 10.001);
|
|
217
|
+
--color-rose-300: oklch(81% 0.117 11.638);
|
|
218
|
+
--color-rose-400: oklch(71.2% 0.194 13.428);
|
|
219
|
+
--color-rose-500: oklch(64.5% 0.246 16.439);
|
|
220
|
+
--color-rose-600: oklch(58.6% 0.253 17.585);
|
|
221
|
+
--color-rose-700: oklch(51.4% 0.222 16.935);
|
|
222
|
+
--color-rose-800: oklch(45.5% 0.188 13.697);
|
|
223
|
+
--color-rose-900: oklch(41% 0.159 10.272);
|
|
224
|
+
--color-rose-950: oklch(27.1% 0.105 12.094);
|
|
225
|
+
|
|
226
|
+
--color-slate-50: oklch(98.4% 0.003 247.858);
|
|
227
|
+
--color-slate-100: oklch(96.8% 0.007 247.896);
|
|
228
|
+
--color-slate-200: oklch(92.9% 0.013 255.508);
|
|
229
|
+
--color-slate-300: oklch(86.9% 0.022 252.894);
|
|
230
|
+
--color-slate-400: oklch(70.4% 0.04 256.788);
|
|
231
|
+
--color-slate-500: oklch(55.4% 0.046 257.417);
|
|
232
|
+
--color-slate-600: oklch(44.6% 0.043 257.281);
|
|
233
|
+
--color-slate-700: oklch(37.2% 0.044 257.287);
|
|
234
|
+
--color-slate-800: oklch(27.9% 0.041 260.031);
|
|
235
|
+
--color-slate-900: oklch(20.8% 0.042 265.755);
|
|
236
|
+
--color-slate-950: oklch(12.9% 0.042 264.695);
|
|
237
|
+
|
|
238
|
+
--color-gray-50: oklch(98.5% 0.002 247.839);
|
|
239
|
+
--color-gray-100: oklch(96.7% 0.003 264.542);
|
|
240
|
+
--color-gray-200: oklch(92.8% 0.006 264.531);
|
|
241
|
+
--color-gray-300: oklch(87.2% 0.01 258.338);
|
|
242
|
+
--color-gray-400: oklch(70.7% 0.022 261.325);
|
|
243
|
+
--color-gray-500: oklch(55.1% 0.027 264.364);
|
|
244
|
+
--color-gray-600: oklch(44.6% 0.03 256.802);
|
|
245
|
+
--color-gray-700: oklch(37.3% 0.034 259.733);
|
|
246
|
+
--color-gray-800: oklch(27.8% 0.033 256.848);
|
|
247
|
+
--color-gray-900: oklch(21% 0.034 264.665);
|
|
248
|
+
--color-gray-950: oklch(13% 0.028 261.692);
|
|
249
|
+
|
|
250
|
+
--color-zinc-50: oklch(98.5% 0 0);
|
|
251
|
+
--color-zinc-100: oklch(96.7% 0.001 286.375);
|
|
252
|
+
--color-zinc-200: oklch(92% 0.004 286.32);
|
|
253
|
+
--color-zinc-300: oklch(87.1% 0.006 286.286);
|
|
254
|
+
--color-zinc-400: oklch(70.5% 0.015 286.067);
|
|
255
|
+
--color-zinc-500: oklch(55.2% 0.016 285.938);
|
|
256
|
+
--color-zinc-600: oklch(44.2% 0.017 285.786);
|
|
257
|
+
--color-zinc-700: oklch(37% 0.013 285.805);
|
|
258
|
+
--color-zinc-800: oklch(27.4% 0.006 286.033);
|
|
259
|
+
--color-zinc-900: oklch(21% 0.006 285.885);
|
|
260
|
+
--color-zinc-950: oklch(14.1% 0.005 285.823);
|
|
261
|
+
|
|
262
|
+
--color-neutral-50: oklch(98.5% 0 0);
|
|
263
|
+
--color-neutral-100: oklch(97% 0 0);
|
|
264
|
+
--color-neutral-200: oklch(92.2% 0 0);
|
|
265
|
+
--color-neutral-300: oklch(87% 0 0);
|
|
266
|
+
--color-neutral-400: oklch(70.8% 0 0);
|
|
267
|
+
--color-neutral-500: oklch(55.6% 0 0);
|
|
268
|
+
--color-neutral-600: oklch(43.9% 0 0);
|
|
269
|
+
--color-neutral-700: oklch(37.1% 0 0);
|
|
270
|
+
--color-neutral-800: oklch(26.9% 0 0);
|
|
271
|
+
--color-neutral-900: oklch(20.5% 0 0);
|
|
272
|
+
--color-neutral-950: oklch(14.5% 0 0);
|
|
273
|
+
|
|
274
|
+
--color-stone-50: oklch(98.5% 0.001 106.423);
|
|
275
|
+
--color-stone-100: oklch(97% 0.001 106.424);
|
|
276
|
+
--color-stone-200: oklch(92.3% 0.003 48.717);
|
|
277
|
+
--color-stone-300: oklch(86.9% 0.005 56.366);
|
|
278
|
+
--color-stone-400: oklch(70.9% 0.01 56.259);
|
|
279
|
+
--color-stone-500: oklch(55.3% 0.013 58.071);
|
|
280
|
+
--color-stone-600: oklch(44.4% 0.011 73.639);
|
|
281
|
+
--color-stone-700: oklch(37.4% 0.01 67.558);
|
|
282
|
+
--color-stone-800: oklch(26.8% 0.007 34.298);
|
|
283
|
+
--color-stone-900: oklch(21.6% 0.006 56.043);
|
|
284
|
+
--color-stone-950: oklch(14.7% 0.004 49.25);
|
|
285
|
+
|
|
286
|
+
--color-black: #000;
|
|
287
|
+
--color-white: #fff;
|
|
288
|
+
|
|
289
|
+
--spacing: 0.25rem;
|
|
290
|
+
|
|
291
|
+
--breakpoint-sm: 40rem;
|
|
292
|
+
--breakpoint-md: 48rem;
|
|
293
|
+
--breakpoint-lg: 64rem;
|
|
294
|
+
--breakpoint-xl: 80rem;
|
|
295
|
+
--breakpoint-2xl: 96rem;
|
|
296
|
+
|
|
297
|
+
--container-3xs: 16rem;
|
|
298
|
+
--container-2xs: 18rem;
|
|
299
|
+
--container-xs: 20rem;
|
|
300
|
+
--container-sm: 24rem;
|
|
301
|
+
--container-md: 28rem;
|
|
302
|
+
--container-lg: 32rem;
|
|
303
|
+
--container-xl: 36rem;
|
|
304
|
+
--container-2xl: 42rem;
|
|
305
|
+
--container-3xl: 48rem;
|
|
306
|
+
--container-4xl: 56rem;
|
|
307
|
+
--container-5xl: 64rem;
|
|
308
|
+
--container-6xl: 72rem;
|
|
309
|
+
--container-7xl: 80rem;
|
|
310
|
+
|
|
311
|
+
--text-xs: 0.75rem;
|
|
312
|
+
--text-xs--line-height: calc(1 / 0.75);
|
|
313
|
+
--text-sm: 0.875rem;
|
|
314
|
+
--text-sm--line-height: calc(1.25 / 0.875);
|
|
315
|
+
--text-base: 1rem;
|
|
316
|
+
--text-base--line-height: calc(1.5 / 1);
|
|
317
|
+
--text-lg: 1.125rem;
|
|
318
|
+
--text-lg--line-height: calc(1.75 / 1.125);
|
|
319
|
+
--text-xl: 1.25rem;
|
|
320
|
+
--text-xl--line-height: calc(1.75 / 1.25);
|
|
321
|
+
--text-2xl: 1.5rem;
|
|
322
|
+
--text-2xl--line-height: calc(2 / 1.5);
|
|
323
|
+
--text-3xl: 1.875rem;
|
|
324
|
+
--text-3xl--line-height: calc(2.25 / 1.875);
|
|
325
|
+
--text-4xl: 2.25rem;
|
|
326
|
+
--text-4xl--line-height: calc(2.5 / 2.25);
|
|
327
|
+
--text-5xl: 3rem;
|
|
328
|
+
--text-5xl--line-height: 1;
|
|
329
|
+
--text-6xl: 3.75rem;
|
|
330
|
+
--text-6xl--line-height: 1;
|
|
331
|
+
--text-7xl: 4.5rem;
|
|
332
|
+
--text-7xl--line-height: 1;
|
|
333
|
+
--text-8xl: 6rem;
|
|
334
|
+
--text-8xl--line-height: 1;
|
|
335
|
+
--text-9xl: 8rem;
|
|
336
|
+
--text-9xl--line-height: 1;
|
|
337
|
+
|
|
338
|
+
--font-weight-thin: 100;
|
|
339
|
+
--font-weight-extralight: 200;
|
|
340
|
+
--font-weight-light: 300;
|
|
341
|
+
--font-weight-normal: 400;
|
|
342
|
+
--font-weight-medium: 500;
|
|
343
|
+
--font-weight-semibold: 600;
|
|
344
|
+
--font-weight-bold: 700;
|
|
345
|
+
--font-weight-extrabold: 800;
|
|
346
|
+
--font-weight-black: 900;
|
|
347
|
+
|
|
348
|
+
--tracking-tighter: -0.05em;
|
|
349
|
+
--tracking-tight: -0.025em;
|
|
350
|
+
--tracking-normal: 0em;
|
|
351
|
+
--tracking-wide: 0.025em;
|
|
352
|
+
--tracking-wider: 0.05em;
|
|
353
|
+
--tracking-widest: 0.1em;
|
|
354
|
+
|
|
355
|
+
--leading-tight: 1.25;
|
|
356
|
+
--leading-snug: 1.375;
|
|
357
|
+
--leading-normal: 1.5;
|
|
358
|
+
--leading-relaxed: 1.625;
|
|
359
|
+
--leading-loose: 2;
|
|
360
|
+
|
|
361
|
+
--radius-xs: 0.125rem;
|
|
362
|
+
--radius-sm: 0.25rem;
|
|
363
|
+
--radius-md: 0.375rem;
|
|
364
|
+
--radius-lg: 0.5rem;
|
|
365
|
+
--radius-xl: 0.75rem;
|
|
366
|
+
--radius-2xl: 1rem;
|
|
367
|
+
--radius-3xl: 1.5rem;
|
|
368
|
+
--radius-4xl: 2rem;
|
|
369
|
+
|
|
370
|
+
--shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
|
|
371
|
+
--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
372
|
+
--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
373
|
+
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
374
|
+
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
375
|
+
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
376
|
+
--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
377
|
+
|
|
378
|
+
--inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
|
|
379
|
+
--inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
|
|
380
|
+
--inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);
|
|
381
|
+
|
|
382
|
+
--drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
|
|
383
|
+
--drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
|
|
384
|
+
--drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
|
|
385
|
+
--drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
|
|
386
|
+
--drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
|
|
387
|
+
--drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);
|
|
388
|
+
|
|
389
|
+
--text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / 0.15);
|
|
390
|
+
--text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2);
|
|
391
|
+
--text-shadow-sm:
|
|
392
|
+
0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075), 0px 2px 2px rgb(0 0 0 / 0.075);
|
|
393
|
+
--text-shadow-md:
|
|
394
|
+
0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1), 0px 2px 4px rgb(0 0 0 / 0.1);
|
|
395
|
+
--text-shadow-lg:
|
|
396
|
+
0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1), 0px 4px 8px rgb(0 0 0 / 0.1);
|
|
397
|
+
|
|
398
|
+
--ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
399
|
+
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
400
|
+
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
401
|
+
|
|
402
|
+
--animate-spin: spin 1s linear infinite;
|
|
403
|
+
--animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
|
|
404
|
+
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
405
|
+
--animate-bounce: bounce 1s infinite;
|
|
406
|
+
|
|
407
|
+
@keyframes spin {
|
|
408
|
+
to {
|
|
409
|
+
transform: rotate(360deg);
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
@keyframes ping {
|
|
414
|
+
75%,
|
|
415
|
+
100% {
|
|
416
|
+
transform: scale(2);
|
|
417
|
+
opacity: 0;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
@keyframes pulse {
|
|
422
|
+
50% {
|
|
423
|
+
opacity: 0.5;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
@keyframes bounce {
|
|
428
|
+
0%,
|
|
429
|
+
100% {
|
|
430
|
+
transform: translateY(-25%);
|
|
431
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
50% {
|
|
435
|
+
transform: none;
|
|
436
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
--blur-xs: 4px;
|
|
441
|
+
--blur-sm: 8px;
|
|
442
|
+
--blur-md: 12px;
|
|
443
|
+
--blur-lg: 16px;
|
|
444
|
+
--blur-xl: 24px;
|
|
445
|
+
--blur-2xl: 40px;
|
|
446
|
+
--blur-3xl: 64px;
|
|
447
|
+
|
|
448
|
+
--perspective-dramatic: 100px;
|
|
449
|
+
--perspective-near: 300px;
|
|
450
|
+
--perspective-normal: 500px;
|
|
451
|
+
--perspective-midrange: 800px;
|
|
452
|
+
--perspective-distant: 1200px;
|
|
453
|
+
|
|
454
|
+
--aspect-video: 16 / 9;
|
|
455
|
+
|
|
456
|
+
--default-transition-duration: 150ms;
|
|
457
|
+
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
458
|
+
--default-font-family: --theme(--font-sans, initial);
|
|
459
|
+
--default-font-feature-settings: --theme(--font-sans--font-feature-settings, initial);
|
|
460
|
+
--default-font-variation-settings: --theme(--font-sans--font-variation-settings, initial);
|
|
461
|
+
--default-mono-font-family: --theme(--font-mono, initial);
|
|
462
|
+
--default-mono-font-feature-settings: --theme(--font-mono--font-feature-settings, initial);
|
|
463
|
+
--default-mono-font-variation-settings: --theme(--font-mono--font-variation-settings, initial);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
/* Deprecated */
|
|
467
|
+
@theme default inline reference {
|
|
468
|
+
--blur: 8px;
|
|
469
|
+
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
470
|
+
--shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
|
|
471
|
+
--drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06);
|
|
472
|
+
--radius: 0.25rem;
|
|
473
|
+
--max-width-prose: 65ch;
|
|
474
|
+
}
|
|
475
|
+
`;function Zi({blockType:t,props:e}){return t.previewTemplate?q.jsx(Hi,{template:t.previewTemplate,props:e}):q.jsx($i,{blockType:t,props:e})}function $i({blockType:t,props:e}){const n=t.fields??[];return n.length===0?q.jsx("p",{className:"text-sm text-muted-foreground italic",children:"No fields defined"}):q.jsx("div",{className:"space-y-1 text-sm",children:n.map(r=>q.jsxs("div",{className:"flex gap-2",children:[q.jsxs("span",{className:"text-muted-foreground",children:[r.label,":"]}),q.jsx("span",{className:"truncate",children:Ii(e[r.name])})]},r.name))})}function Ii(t){return t==null||t===""?"—":typeof t=="boolean"?t?"Yes":"No":Array.isArray(t)?`[${t.length} items]`:typeof t=="object"?"[Object]":String(t)}let _e=null;function Bi(){return _e||(_e=Qt(async()=>{const{compile:t}=await import("./lib-BrI1UB_t.js");return{compile:t}},[]).then(({compile:t})=>t(`${qi}
|
|
476
|
+
@tailwind utilities;`))),_e}function Ui(t){const e=new Set,n=/class="([^"]*)"/g;let r;for(;(r=n.exec(t))!==null;)for(const s of r[1].split(/\s+/))s&&e.add(s);return Array.from(e)}function Hi({template:t,props:e}){const n=ie.useMemo(()=>new Ie,[]),r=ie.useRef(null),s=ie.useRef(null);return ie.useEffect(()=>{let i=!1;async function o(){const l=await n.parseAndRender(t,e);if(i)return;let a="";try{a=(await Bi()).build(Ui(l))}catch{}i||(!s.current&&r.current&&(s.current=r.current.attachShadow({mode:"open"})),s.current&&(s.current.innerHTML=`
|
|
477
|
+
<style>${a}</style>
|
|
478
|
+
<div>${l}</div>
|
|
479
|
+
`))}return o(),()=>{i=!0}},[t,e,n]),q.jsx("div",{ref:r,className:"text-sm"})}export{Zi as C};
|