diff --git a/.gitignore b/.gitignore index 07f221634d9a490a30ce4c8dcf2a08cf9e60da5b..1052e38ce6846615088f634ff773b878bfc11237 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,6 @@ # next.js /.next/ -/out/ # production /build diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 8edeb6df9e9a96d4c689857d030119e55e7218a6..0000000000000000000000000000000000000000 --- a/Dockerfile +++ /dev/null @@ -1,60 +0,0 @@ -FROM node:18 AS base - -# Install dependencies only when needed -FROM base AS deps - -WORKDIR /app - -# Install dependencies based on the preferred package manager -COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./ -RUN \ - if [ -f yarn.lock ]; then yarn --frozen-lockfile; \ - elif [ -f package-lock.json ]; then npm ci; \ - elif [ -f pnpm-lock.yaml ]; then yarn global add pnpm && pnpm i --frozen-lockfile; \ - else echo "Lockfile not found." && exit 1; \ - fi - -# Uncomment the following lines if you want to use a secret at buildtime, -# for example to access your private npm packages -# RUN --mount=type=secret,id=HF_EXAMPLE_SECRET,mode=0444,required=true \ -# $(cat /run/secrets/HF_EXAMPLE_SECRET) - -# Rebuild the source code only when needed -FROM base AS builder -WORKDIR /app -COPY --from=deps /app/node_modules ./node_modules -COPY . . - -# Next.js collects completely anonymous telemetry data about general usage. -# Learn more here: https://nextjs.org/telemetry -# Uncomment the following line in case you want to disable telemetry during the build. -# ENV NEXT_TELEMETRY_DISABLED 1 - -# RUN yarn build - -# If you use yarn, comment out this line and use the line above -RUN npm run build - -# Production image, copy all the files and run next -FROM base AS runner -WORKDIR /app - -ENV NODE_ENV production -# Uncomment the following line in case you want to disable telemetry during runtime. -# ENV NEXT_TELEMETRY_DISABLED 1 - -RUN addgroup --system --gid 1001 nodejs -RUN adduser --system --uid 1001 nextjs - -COPY --from=builder /app/public ./public - -# Automatically leverage output traces to reduce image size -# https://nextjs.org/docs/advanced-features/output-file-tracing -COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ -COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static - -USER nextjs - -EXPOSE 3000 - -ENV PORT 3000 \ No newline at end of file diff --git a/README.md b/README.md index e8fad4b397b3ebc67c2abc1b80d5a2b503c2ef76..260b776596352b9e9eeff106b8b9fbe89cad3c13 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ --- title: Codetree emoji: 🎳🌲 -colorFrom: yellow -colorTo: indigo -sdk: docker +colorFrom: purple +colorTo: yellow +sdk: static pinned: false +app_file: out/index.html ---
diff --git a/next.config.js b/next.config.js
index 3172987f6ce41de91d30419f1f6cadfd66b97e1a..9346cdcc75934604d2db1d160446b853367c96cf 100644
--- a/next.config.js
+++ b/next.config.js
@@ -12,4 +12,5 @@ module.exports = {
"storage.googleapis.com",
],
},
+ basePath: '/staticspaceiframe/matthoffner/open-codetree/out',
};
diff --git a/out/_next/static/1fu01ur6GDWf5D7Kzonuo/_buildManifest.js b/out/_next/static/1fu01ur6GDWf5D7Kzonuo/_buildManifest.js
new file mode 100644
index 0000000000000000000000000000000000000000..1b396d6c44b44aeb56ca10e63bf5b61291502f0f
--- /dev/null
+++ b/out/_next/static/1fu01ur6GDWf5D7Kzonuo/_buildManifest.js
@@ -0,0 +1 @@
+self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/161-e5320a838d0de03c.js","static/chunks/pages/index-2ccae7562589e76e.js"],"/_error":["static/chunks/pages/_error-37464598caa95bdb.js"],"/oauth/github":["static/chunks/pages/oauth/github-89630e7e8d2855b9.js"],"/oauth/google":["static/chunks/pages/oauth/google-68598bd51f10ddb9.js"],sortedPages:["/","/_app","/_error","/oauth/github","/oauth/google"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
\ No newline at end of file
diff --git a/out/_next/static/1fu01ur6GDWf5D7Kzonuo/_ssgManifest.js b/out/_next/static/1fu01ur6GDWf5D7Kzonuo/_ssgManifest.js
new file mode 100644
index 0000000000000000000000000000000000000000..0511aa895e5036ab4b50d97112e1d6aed9a3cd79
--- /dev/null
+++ b/out/_next/static/1fu01ur6GDWf5D7Kzonuo/_ssgManifest.js
@@ -0,0 +1 @@
+self.__SSG_MANIFEST=new Set,self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB();
\ No newline at end of file
diff --git a/out/_next/static/chunks/161-e5320a838d0de03c.js b/out/_next/static/chunks/161-e5320a838d0de03c.js
new file mode 100644
index 0000000000000000000000000000000000000000..1ee4cd91a49805574e0e37242736ca74c041028e
--- /dev/null
+++ b/out/_next/static/chunks/161-e5320a838d0de03c.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[161],{9967:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t999||null===f||91===f||93===f&&!u||94===f&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(f):93===f?(e.exit(o),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):X(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(t){return null===t||91===t||93===t||X(t)||l++>999?(e.exit("chunkString"),s(t)):(e.consume(t),u||(u=!Q(t)),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function Oe(e,t,n,r,i,o){let a;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,u;return n(t)};function u(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===a?(e.exit(o),u(a)):null===t?n(t):X(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ne(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(t))}function s(t){return t===a||null===t||X(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:s)}function c(t){return t===a||92===t?(e.consume(t),s):s(t)}}function Me(e,t){let n;return function r(i){if(X(i))return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r;if(Q(i))return ne(e,r,n?"linePrefix":"lineSuffix")(i);return t(i)}}function Te(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Pe={name:"definition",tokenize:function(e,t,n){const r=this;let i;return function(t){return e.enter("definition"),function(t){return _e.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return i=Te(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return G(t)?Me(e,u)(t):u(t)}function u(t){return Ce(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(Ie,s,s)(t)}function s(t){return Q(t)?ne(e,c,"whitespace")(t):c(t)}function c(o){return null===o||X(o)?(e.exit("definition"),r.parser.defined.push(i),t(o)):n(o)}}},Ie={tokenize:function(e,t,n){return function(t){return G(t)?Me(e,r)(t):n(t)};function r(t){return Oe(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return Q(t)?ne(e,o,"whitespace")(t):o(t)}function o(e){return null===e||X(e)?t(e):n(e)}},partial:!0};const Ae={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),ne(e,i,"linePrefix",5)(t)};function i(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?u(t):X(t)?e.attempt(ze,o,u)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||X(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),a)}function u(n){return e.exit("codeIndented"),t(n)}}},ze={tokenize:function(e,t,n){const r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):X(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):ne(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):X(e)?i(e):n(e)}},partial:!0};const Ne={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),i(t)}(t)};function i(t){return 35===t&&r++<6?(e.consume(t),i):null===t||G(t)?(e.exit("atxHeadingSequence"),o(t)):n(t)}function o(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||X(n)?(e.exit("atxHeading"),t(n)):Q(n)?ne(e,o,"whitespace")(n):(e.enter("atxHeadingText"),u(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),o(t))}function u(t){return null===t||35===t||G(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),u)}},resolve:function(e,t){let n,r,i=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);i-2>o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},F(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const Re={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let i;return function(t){let a,u=r.events.length;for(;u--;)if("lineEnding"!==r.events[u][1].type&&"linePrefix"!==r.events[u][1].type&&"content"!==r.events[u][1].type){a="paragraph"===r.events[u][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||a))return e.enter("setextHeadingLine"),i=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t);return n(t)};function o(t){return t===i?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),Q(t)?ne(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||X(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};const De=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Le=["pre","script","style","textarea"],Fe={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let i,o,a,u,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),s}(t)};function s(u){return 33===u?(e.consume(u),c):47===u?(e.consume(u),o=!0,p):63===u?(e.consume(u),i=3,r.interrupt?t:N):B(u)?(e.consume(u),a=String.fromCharCode(u),h):n(u)}function c(o){return 45===o?(e.consume(o),i=2,f):91===o?(e.consume(o),i=5,u=0,d):B(o)?(e.consume(o),i=4,r.interrupt?t:N):n(o)}function f(i){return 45===i?(e.consume(i),r.interrupt?t:N):n(i)}function d(i){const o="CDATA[";return i===o.charCodeAt(u++)?(e.consume(i),u===o.length?r.interrupt?t:_:d):n(i)}function p(t){return B(t)?(e.consume(t),a=String.fromCharCode(t),h):n(t)}function h(u){if(null===u||47===u||62===u||G(u)){const l=47===u,s=a.toLowerCase();return l||o||!Le.includes(s)?De.includes(a.toLowerCase())?(i=6,l?(e.consume(u),m):r.interrupt?t(u):_(u)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(u):o?v(u):g(u)):(i=1,r.interrupt?t(u):_(u))}return 45===u||U(u)?(e.consume(u),a+=String.fromCharCode(u),h):n(u)}function m(i){return 62===i?(e.consume(i),r.interrupt?t:_):n(i)}function v(t){return Q(t)?(e.consume(t),v):S(t)}function g(t){return 47===t?(e.consume(t),S):58===t||95===t||B(t)?(e.consume(t),y):Q(t)?(e.consume(t),g):S(t)}function y(t){return 45===t||46===t||58===t||95===t||U(t)?(e.consume(t),y):b(t)}function b(t){return 61===t?(e.consume(t),w):Q(t)?(e.consume(t),b):g(t)}function w(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,x):Q(t)?(e.consume(t),w):E(t)}function x(t){return t===l?(e.consume(t),l=null,k):null===t||X(t)?n(t):(e.consume(t),x)}function E(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||G(t)?b(t):(e.consume(t),E)}function k(e){return 47===e||62===e||Q(e)?g(e):n(e)}function S(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||X(t)?_(t):Q(t)?(e.consume(t),C):n(t)}function _(t){return 45===t&&2===i?(e.consume(t),P):60===t&&1===i?(e.consume(t),I):62===t&&4===i?(e.consume(t),R):63===t&&3===i?(e.consume(t),N):93===t&&5===i?(e.consume(t),z):!X(t)||6!==i&&7!==i?null===t||X(t)?(e.exit("htmlFlowData"),O(t)):(e.consume(t),_):(e.exit("htmlFlowData"),e.check(je,D,O)(t))}function O(t){return e.check(Ve,M,D)(t)}function M(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),T}function T(t){return null===t||X(t)?O(t):(e.enter("htmlFlowData"),_(t))}function P(t){return 45===t?(e.consume(t),N):_(t)}function I(t){return 47===t?(e.consume(t),a="",A):_(t)}function A(t){if(62===t){const n=a.toLowerCase();return Le.includes(n)?(e.consume(t),R):_(t)}return B(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),A):_(t)}function z(t){return 93===t?(e.consume(t),N):_(t)}function N(t){return 62===t?(e.consume(t),R):45===t&&2===i?(e.consume(t),N):_(t)}function R(t){return null===t||X(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),R)}function D(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},je={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ae,t,n)}},partial:!0},Ve={tokenize:function(e,t,n){const r=this;return function(t){if(X(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i;return n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const Ze={tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},He={name:"codeFenced",tokenize:function(e,t,n){const r=this,i={tokenize:function(e,t,n){let i=0;return a;function a(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){return e.enter("codeFencedFence"),Q(t)?ne(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===o?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===o?(i++,e.consume(t),c):i>=u?(e.exit("codeFencedFenceSequence"),Q(t)?ne(e,f,"whitespace")(t):f(t)):n(t)}function f(r){return null===r||X(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let o,a=0,u=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===o?(u++,e.consume(t),l):u<3?n(t):(e.exit("codeFencedFenceSequence"),Q(t)?ne(e,s,"whitespace")(t):s(t))}function s(n){return null===n||X(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Ze,p,y)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),c(n))}function c(t){return null===t||X(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(t)):Q(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ne(e,f,"whitespace")(t)):96===t&&t===o?n(t):(e.consume(t),c)}function f(t){return null===t||X(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||X(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(t)):96===t&&t===o?n(t):(e.consume(t),d)}function p(t){return e.attempt(i,y,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return a>0&&Q(t)?ne(e,v,"linePrefix",a+1)(t):v(t)}function v(t){return null===t||X(t)?e.check(Ze,p,y)(t):(e.enter("codeFlowValue"),g(t))}function g(t){return null===t||X(t)?(e.exit("codeFlowValue"),v(t)):(e.consume(t),g)}function y(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const Be=document.createElement("i");function Ue(e){const t="&"+e+";";Be.innerHTML=t;const n=Be.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const We={name:"characterReference",tokenize:function(e,t,n){const r=this;let i,o,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),u};function u(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,o=U,s(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=Y,s):(e.enter("characterReferenceValue"),i=7,o=q,s(t))}function s(u){if(59===u&&a){const i=e.exit("characterReferenceValue");return o!==U||Ue(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(u),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(u)}return o(u)&&a++1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end),d=Object.assign({},e[c][1].start);tt(f,-u),tt(d,u),o={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},a={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:d},i={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:u>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},o.start),e[c][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=j(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=j(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=j(l,ye(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=j(l,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,l=j(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):s=0,F(e,n-1,c-n+3,l),c=n+l.length-s-2;break}c=-1;for(;++cn.charCodeAt(0)&&(n=n.trim()),n=[n],00}h(),t.exports=r}}),H=u({"src/language-css/utils/has-scss-interpolation.js"(e,t){h();var r=G();function n(e){if(r(e))for(let t=e.length-1;t>0;t--)if("word"===e[t].type&&"{"===e[t].value&&"word"===e[t-1].type&&e[t-1].value.endsWith("#"))return!0;return!1}t.exports=n}}),J=u({"src/language-css/utils/has-string-or-function.js"(e,t){function r(e){return e.some((e=>"string"===e.type||"func"===e.type))}h(),t.exports=r}}),X=u({"src/language-css/utils/is-less-parser.js"(e,t){function r(e){return"css"===e.parser||"less"===e.parser}h(),t.exports=r}}),Q=u({"src/language-css/utils/is-scss.js"(e,t){function r(e,t){return"less"===e||"scss"===e?"scss"===e:/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)}h(),t.exports=r}}),K=u({"src/language-css/utils/is-scss-nested-property-node.js"(e,t){function r(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":")}h(),t.exports=r}}),Y=u({"src/language-css/utils/is-scss-variable.js"(e,t){function r(e){return Boolean("word"===(null==e?void 0:e.type)&&e.value.startsWith("$"))}h(),t.exports=r}}),Z=u({"src/language-css/utils/stringify-node.js"(e,t){function r(e){var t,n,i,s,o,a;if(e.groups)return((null===(s=e.open)||void 0===s?void 0:s.value)||"")+e.groups.map((e=>r(e))).join("comma_group"===(null===(o=e.groups[0])||void 0===o?void 0:o.type)?",":"")+((null===(a=e.close)||void 0===a?void 0:a.value)||"");let u=(null===(t=e.raws)||void 0===t?void 0:t.before)||"",l=(null===(n=e.raws)||void 0===n?void 0:n.quote)||"";return u+l+("atword"===e.type?"@":"")+(e.value||"")+l+(e.unit||"")+(e.group?r(e.group):"")+((null===(i=e.raws)||void 0===i?void 0:i.after)||"")}h(),t.exports=r}}),ee=u({"src/language-css/utils/is-module-rule-name.js"(e,t){h();var r=new Set(["import","use","forward"]);function n(e){return r.has(e)}t.exports=n}}),te=u({"node_modules/postcss-values-parser/lib/node.js"(e,t){h();var r=function(e,t){let n=new e.constructor;for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i],o=typeof s;"parent"===i&&"object"===o?t&&(n[i]=t):"source"===i?n[i]=s:s instanceof Array?n[i]=s.map((e=>r(e,n))):"before"!==i&&"after"!==i&&"between"!==i&&"semicolon"!==i&&("object"===o&&null!==s&&(s=r(s)),n[i]=s)}return n};t.exports=class{constructor(e){e=e||{},this.raws={before:"",after:""};for(let t in e)this[t]=e[t]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(e){e=e||{};let t=r(this);for(let r in e)t[r]=e[r];return t}cloneBefore(e){e=e||{};let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e){e=e||{};let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(){let e=Array.prototype.slice.call(arguments);if(this.parent){for(let t of e)this.parent.insertBefore(this,t);this.remove()}return this}moveTo(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this}moveBefore(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this}moveAfter(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this}next(){let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){let e=this.parent.index(this);return this.parent.nodes[e-1]}toJSON(){let e={};for(let t in this){if(!this.hasOwnProperty(t)||"parent"===t)continue;let r=this[t];r instanceof Array?e[t]=r.map((e=>"object"==typeof e&&e.toJSON?e.toJSON():e)):"object"==typeof r&&r.toJSON?e[t]=r.toJSON():e[t]=r}return e}root(){let e=this;for(;e.parent;)e=e.parent;return e}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}positionInside(e){let t=this.toString(),r=this.source.start.column,n=this.source.start.line;for(let i=0;i0&&"word"===J[J.length-1][0]&&"url"===J[J.length-1][1],J.push(["(","(",Y,Z-K,Y,L-K,Z]);break;case s:ee--,te=te&&ee>0,J.push([")",")",Y,Z-K,Y,L-K,Z]);break;case o:case a:M=h===o?"'":'"',L=Z;do{for(W=!1,L=X.indexOf(M,L+1),-1===L&&re("quote",M),G=L;X.charCodeAt(G-1)===u;)G-=1,W=!W}while(W);J.push(["string",X.slice(Z,L+1),Y,Z-K,Y,L-K,Z]),Z=L;break;case C:P.lastIndex=Z+1,P.test(X),L=0===P.lastIndex?X.length-1:P.lastIndex-2,J.push(["atword",X.slice(Z,L+1),Y,Z-K,Y,L-K,Z]),Z=L;break;case u:L=Z,h=X.charCodeAt(L+1),U&&h!==l&&h!==D&&h!==v&&h!==E&&h!==x&&h!==b&&(L+=1),J.push(["word",X.slice(Z,L+1),Y,Z-K,Y,L-K,Z]),Z=L;break;case y:case m:case f:if(L=Z+1,H=X.slice(Z+1,L+1),X.slice(Z-1,Z),h===m&&H.charCodeAt(0)===m){L++,J.push(["word",X.slice(Z,L),Y,Z-K,Y,L-K,Z]),Z=L-1;break}J.push(["operator",X.slice(Z,L),Y,Z-K,Y,L-K,Z]),Z=L-1;break;default:if(h===l&&(X.charCodeAt(Z+1)===f||t.loose&&!te&&X.charCodeAt(Z+1)===l)){if(X.charCodeAt(Z+1)===f)L=X.indexOf("*/",Z+2)+1,0===L&&re("comment","*/");else{let e=X.indexOf("\n",Z+2);L=-1!==e?e-1:Q}V=X.slice(Z,L+1),R=V.split("\n"),$=R.length-1,$>0?(q=Y+$,z=L-R[$].length):(q=Y,z=K),J.push(["comment",V,Y,Z-K,q,L-z,Z]),K=z,Y=q,Z=L}else if(h!==g||O.test(X.slice(Z+1,Z+2)))if(h!==F&&h!==k||X.charCodeAt(Z+1)!==y)if(h===l)L=Z+1,J.push(["operator",X.slice(Z,L),Y,Z-K,Y,L-K,Z]),Z=L-1;else{let e=N;if(h>=S&&h<=T&&(e=_),e.lastIndex=Z+1,e.test(X),L=0===e.lastIndex?X.length-1:e.lastIndex-2,e===_||h===c){let e=X.charCodeAt(L),t=X.charCodeAt(L+1),r=X.charCodeAt(L+2);(e===w||e===A)&&(t===m||t===y)&&r>=S&&r<=T&&(_.lastIndex=L+2,_.test(X),L=0===_.lastIndex?X.length-1:_.lastIndex-2)}J.push(["word",X.slice(Z,L+1),Y,Z-K,Y,L-K,Z]),Z=L}else{L=Z+2;do{L+=1,h=X.charCodeAt(L)}while(L
e-t))}t.exports=class{constructor(e,t){let i={loose:!1};this.cache=[],this.input=e,this.options=Object.assign({},i,t),this.position=0,this.unbalanced=0,this.root=new r;let s=new n;this.root.append(s),this.current=s,this.tokens=y(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new s({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comma(){let e=this.currToken;this.newNode(new o({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comment(){let e,t=!1,r=this.currToken[1].replace(/\/\*|\*\//g,"");this.options.loose&&r.startsWith("//")&&(r=r.substring(2),t=!0),e=new a({value:r,inline:t,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(e),this.position++}error(e,t){throw new b(e+` at line: ${t[2]}, column ${t[3]}`)}loop(){for(;this.position
Lr,default:()=>zr,delimiter:()=>qr,dirname:()=>jr,extname:()=>Mr,isAbsolute:()=>Or,join:()=>Ir,normalize:()=>_r,relative:()=>Br,resolve:()=>Nr,sep:()=>Ur});var $r,Vr,Ur,qr,zr,Wr,Gr=a({"node-modules-polyfills:path"(){h(),$r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Vr=function(e){return $r.exec(e).slice(1)},zr={extname:Mr,basename:Lr,dirname:jr,sep:Ur="/",delimiter:qr=":",relative:Br,join:Ir,isAbsolute:Or,normalize:_r,resolve:Nr},Wr=function(e,t,r){return e.substr(t,r)}}}),Hr=u({"node-modules-polyfills-commonjs:path"(e,t){h();var r=(Gr(),p(kr));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Jr=u({"node_modules/picocolors/picocolors.browser.js"(e,t){h();var r=String,n=function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}};t.exports=n(),t.exports.createColors=n}}),Xr=u({"(disabled):node_modules/postcss/lib/terminal-highlight"(){h()}}),Qr=u({"node_modules/postcss/lib/css-syntax-error.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=i(Jr()),n=i(Xr());function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){var t="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||!c(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return u(e,arguments,d(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),p(r,e)},a(e)}function u(e,t,r){return(u=l()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&p(i,r.prototype),i}).apply(null,arguments)}function l(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch{return!1}}function c(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=function(e){function t(r,n,i,o,a,u){var l;return(l=e.call(this,r)||this).name="CssSyntaxError",l.reason=r,a&&(l.file=a),o&&(l.source=o),u&&(l.plugin=u),typeof n<"u"&&typeof i<"u"&&(l.line=n,l.column=i),l.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(s(l),t),l}o(t,e);var i=t.prototype;return i.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"e[e.length-2];function y(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o2&&void 0!==arguments[2]?arguments[2]:{},n=u(e,r.backwards?t-1:t,r);return n!==d(e,n,r)}function v(e,t,r){for(let n=t;n{let{name:r}=t;return r.toLowerCase()===e}))||r.find((t=>{let{aliases:r}=t;return Array.isArray(r)&&r.includes(e)}))||r.find((t=>{let{extensions:r}=t;return Array.isArray(r)&&r.includes(`.${e}`)}));return n&&n.parsers[0]}function V(e){return e&&"front-matter"===e.type}function U(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}function z(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"\u2026"),t+(r?" "+r:"")}t.exports={inferParserByLanguage:$,getStringWidth:o,getMaxContinuousCount:I,getMinNotPresentContinuousCount:B,getPenultimate:m,getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:x,getNextNonSpaceNonCommentCharacter:C,skip:y,skipWhitespace:a,skipSpaces:u,skipToLineEnd:l,skipEverythingButNewLine:c,skipInlineComment:p,skipTrailingComment:h,skipNewline:d,isNextLineEmptyAfterIndex:b,isNextLineEmpty:E,isPreviousLineEmpty:D,hasNewline:g,hasNewlineInRange:v,hasSpaces:S,getAlignmentSize:T,getIndentSize:F,getPreferredQuote:k,printString:P,printNumber:O,makeString:_,addLeadingComment:L,addDanglingComment:M,addTrailingComment:R,isFrontMatterNode:V,isNonEmptyArray:s,createGroupIdMapper:U}}}),ge={};function ve(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function De(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:"/";if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");n&&(e=n+"/"+e,t="/"===n.charAt(0))}return(t?"/":"")+(e=ve(Te(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function be(e){var t=Ee(e),r="/"===Ie(e,-1);return!(e=ve(Te(e.split("/"),(function(e){return!!e})),!t).join("/"))&&!t&&(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function Ee(e){return"/"===e.charAt(0)}function xe(){return be(Te(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function Ce(e,t){function r(e){for(var t=0;tAe,default:()=>Oe,delimiter:()=>_e,dirname:()=>we,extname:()=>Se,isAbsolute:()=>Ee,join:()=>xe,normalize:()=>be,relative:()=>Ce,resolve:()=>De,sep:()=>Ne});var Fe,Pe,Ne,_e,Oe,Ie,Be=D({"node-modules-polyfills:path"(){A(),Fe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Pe=function(e){return Fe.exec(e).slice(1)},Oe={extname:Se,basename:Ae,dirname:we,sep:Ne="/",delimiter:_e=":",relative:Ce,join:xe,isAbsolute:Ee,normalize:be,resolve:De},Ie=function(e,t,r){return e.substr(t,r)}}}),je=b({"node-modules-polyfills-commonjs:path"(e,t){A();var r=(Be(),w(ge));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Me=b({"src/common/errors.js"(e,t){A();var r=class extends Error{},n=class extends Error{},i=class extends Error{},s=class extends Error{};t.exports={ConfigError:r,DebugError:n,UndefinedParserError:i,ArgExpansionBailout:s}}}),Re={};function Ve(e,t){function r(){this.constructor=e}pt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function ze(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);il?p>l?l+1:p:p>c?c+1:p;return l}}}),xt=b({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=yt(),r=Et();e.levenUnknownHandler=(e,n,i)=>{let{descriptor:s,logger:o,schemas:a}=i,u=[`Ignored unknown option ${t.default.yellow(s.pair({key:e,value:n}))}.`],l=Object.keys(a).sort().find((t=>r(e,t)<3));l&&u.push(`Did you mean ${t.default.blue(s.key(l))}?`),o.warn(u.join(" "))}}}),Ct=b({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0}),(dt(),w(Re)).__exportStar(xt(),e)}}),wt=b({"node_modules/vnopts/lib/handlers/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=(dt(),w(Re));t.__exportStar(vt(),e),t.__exportStar(bt(),e),t.__exportStar(Ct(),e)}}),At=b({"node_modules/vnopts/lib/schema.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,r){let s=new e(r),o=Object.create(s);for(let a of t)a in r&&(o[a]=i(r[a],s,n.prototype[a].length));return o}e.createSchema=r;var n=class{constructor(e){this.name=e.name}static create(e){return r(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return e}};function i(e,t,r){return"function"==typeof e?function(){for(var n=arguments.length,i=new Array(n),s=0;s1&&r.comments.sort(((e,t)=>n.locStart(e)-n.locStart(t)));e.length=0}function T(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function F(e,t,r){let n=r.locStart(t)-1;for(let i=1;i1&&void 0!==arguments[1]?arguments[1]:0,r=i(this.stack,t+1),n=this.stack.splice(r+1),s=e(this);return this.stack.push(...n),s}each(e){let{stack:t}=this,{length:n}=t,i=r(t);for(var s=arguments.length,o=new Array(s>1?s-1:0),a=1;a1?r-1:0),i=1;i