@alignui/cli 0.0.5 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ const config = {
16
16
  plugins: ["@tailwindcss/postcss"],
17
17
  } satisfies Config;
18
18
 
19
- export default config;`,aa=`<%- config.tailwind.prefix ? \`@import "tailwindcss" prefix(\${config.tailwind.prefix});\` : '@import "tailwindcss";' %>
19
+ export default config;`,aa=`<% if (config.tailwind.prefix) { %>@import "tailwindcss" prefix(<%= config.tailwind.prefix %>);<% } else { %>@import "tailwindcss";<% } %>
20
20
 
21
21
  @theme {
22
22
  /* AlignUI Raw Colors */
@@ -309,7 +309,10 @@ export default config;`,aa=`<%- config.tailwind.prefix ? \`@import "tailwindcss"
309
309
  /* AlignUI Typography System - Dynamic from tokens.ts */
310
310
  <% Object.entries(JSON.parse(texts)).forEach(([key, value]) => { %>
311
311
  --font-size-<%- key %>: <%- Array.isArray(value) ? value[0] : value %>;
312
- <% if (Array.isArray(value) && value[1] && typeof value[1] === 'object') { %>--line-height-<%- key %>: <%- value[1].lineHeight %>;<% } else if (Array.isArray(value) && value[1]) { %>--line-height-<%- key %>: <%- value[1] %>;<% } %>
312
+ <% if (Array.isArray(value) && value[1] && typeof value[1] === 'object') { %>--line-height-<%- key %>: <%- value[1].lineHeight %>;
313
+ <% if (value[1].letterSpacing) { %>--letter-spacing-<%- key %>: <%- value[1].letterSpacing %>;<% } %>
314
+ <% if (value[1].fontWeight) { %>--font-weight-<%- key %>: <%- value[1].fontWeight %>;<% } %>
315
+ <% } else if (Array.isArray(value) && value[1]) { %>--line-height-<%- key %>: <%- value[1] %>;<% } %>
313
316
  <% }); %>
314
317
 
315
318
  /* AlignUI Shadow System - Dynamic from tokens.ts */
@@ -554,18 +557,18 @@ export default config;`,aa=`<%- config.tailwind.prefix ? \`@import "tailwindcss"
554
557
  transform: scale(0.8996);
555
558
  transform-origin: center;
556
559
  }
557
- `;import{Command as EF}from"commander";import{execa as FF}from"execa";import vF from"lodash.template";import{z as zl}from"zod";import{intro as CF,outro as AF,text as zi,select as zu,isCancel as Tr,spinner as Xl}from"@clack/prompts";import sa from"path";import{z as Ke}from"zod";var oa="app/globals.css",la="tailwind.config.js",on=Ke.object({tailwind:Ke.object({config:Ke.string().optional(),css:Ke.string(),primaryColor:Ke.enum(["blue","purple","orange","sky"]),neutralColor:Ke.enum(["gray","slate"]),colorFormat:Ke.enum(["hex","rgb","hsl","oklch"]),prefix:Ke.string().default("").optional()})}).strict(),ac=on.extend({resolvedPaths:Ke.object({tailwindConfig:Ke.string().optional(),tailwindCss:Ke.string()})});async function nu(e,t){return ac.parse({...t,resolvedPaths:{tailwindConfig:t.tailwind.config?sa.resolve(e,t.tailwind.config):void 0,tailwindCss:sa.resolve(e,t.tailwind.css)}})}import{detect as sc}from"@antfu/ni";async function ca(e){let t=await sc({programmatic:!0,cwd:e});return t==="yarn@berry"?"yarn":t==="pnpm@6"?"pnpm":t==="bun"?"bun":t??"npm"}import fa from"path";import oc from"fast-glob";import lc,{pathExists as cc}from"fs-extra";var fc=["**/node_modules/**",".next","public","dist","build"];async function Da(e){let t=await ha(e);if(!t)throw new Error("No CSS file found with Tailwind directives. Check your setup and follow the Tailwind installation instructions here: https://tailwindcss.com/docs/installation");let u={tailwind:{config:await Dc(e)?"tailwind.config.ts":"tailwind.config.js",primaryColor:"blue",neutralColor:"gray",colorFormat:"oklch",css:t,prefix:""}};return await nu(e,u)}async function ha(e){let t=await oc.glob("**/*.css",{cwd:e,deep:3,ignore:fc});if(!t.length)return null;for(let r of t){let u=await lc.readFile(fa.resolve(e,r),"utf8");if(u.includes("@tailwind base")||u.includes('@import "tailwindcss"'))return r}return null}async function Dc(e){return cc(fa.resolve(e,"tsconfig.json"))}async function pa(e){if(!await ha(e))throw new Error(`No CSS file found with Tailwind directives. Create a CSS file with "@import 'tailwindcss';" or "@tailwind base;" to get started.`);return!0}var da={gray:{950:"#171717",900:"#1c1c1c",800:"#292929",700:"#333333",600:"#5c5c5c",500:"#7b7b7b",400:"#a3a3a3",300:"#d1d1d1",200:"#ebebeb",100:"#f5f5f5",50:"#f7f7f7",0:"#ffffff","alpha-24":"#a3a3a33d","alpha-16":"#a3a3a329","alpha-10":"#a3a3a31a"},slate:{950:"#0e121b",900:"#181b25",800:"#222530",700:"#2b303b",600:"#525866",500:"#717784",400:"#99a0ae",300:"#cacfd8",200:"#e1e4ea",100:"#f2f5f8",50:"#f5f7fa",0:"#ffffff","alpha-24":"#99a0ae3d","alpha-16":"#99a0ae29","alpha-10":"#99a0ae1a"},blue:{950:"#122368",900:"#182f8b",800:"#1f3bad",700:"#2547d0",600:"#3559e9",500:"#335cff",400:"#6895ff",300:"#97baff",200:"#c0d5ff",100:"#d5e2ff",50:"#ebf1ff","alpha-24":"#476cff3d","alpha-16":"#476cff29","alpha-10":"#476cff1a"},orange:{950:"#71330a",900:"#96440d",800:"#b75310",700:"#ce5e12",600:"#e16614",500:"#fa7319",400:"#ffa468",300:"#ffc197",200:"#ffd9c0",100:"#ffe6d5",50:"#fff3eb","alpha-24":"#ff91473d","alpha-16":"#ff914729","alpha-10":"#ff91471a"},red:{950:"#681219",900:"#8b1822",800:"#ad1f2b",700:"#d02533",600:"#e93544",500:"#fb3748",400:"#ff6875",300:"#ff97a0",200:"#ffc0c5",100:"#ffd5d8",50:"#ffebec","alpha-24":"#fb37483d","alpha-16":"#fb374829","alpha-10":"#fb37481a"},green:{950:"#0b4627",900:"#16643b",800:"#1a7544",700:"#178c4e",600:"#1daf61",500:"#1fc16b",400:"#3ee089",300:"#84ebb4",200:"#c2f5da",100:"#d0fbe9",50:"#e0faec","alpha-24":"#1fc16b3d","alpha-16":"#1fc16b29","alpha-10":"#1fc16b1a"},yellow:{950:"#624c18",900:"#86661d",800:"#a78025",700:"#c99a2c",600:"#e6a819",500:"#f6b51e",400:"#ffd268",300:"#ffe097",200:"#ffecc0",100:"#ffefcc",50:"#fff4d6","alpha-24":"#fbc64b3d","alpha-16":"#fbc64b29","alpha-10":"#fbc64b1a"},purple:{950:"#351a75",900:"#3d1d86",800:"#4c25a7",700:"#5b2cc9",600:"#693ee0",500:"#7d52f4",400:"#8c71f6",300:"#a897ff",200:"#cac0ff",100:"#dcd5ff",50:"#efebff","alpha-24":"#784def3d","alpha-16":"#784def29","alpha-10":"#784def1a"},sky:{950:"#124b68",900:"#18658b",800:"#1f7ead",700:"#2597d0",600:"#35ade9",500:"#47c2ff",400:"#68cdff",300:"#97dcff",200:"#c0eaff",100:"#d5f1ff",50:"#ebf8ff","alpha-24":"#47c2ff3d","alpha-16":"#47c2ff29","alpha-10":"#47c2ff1a"},pink:{950:"#68123d",900:"#8b1852",800:"#ad1f66",700:"#d0257a",600:"#e9358f",500:"#fb4ba3",400:"#ff68b3",300:"#ff97cb",200:"#ffc0df",100:"#ffd5ea",50:"#ffebf4","alpha-24":"#fb4ba33d","alpha-16":"#fb4ba329","alpha-10":"#fb4ba31a"},teal:{950:"#0b463e",900:"#16645a",800:"#1a7569",700:"#178c7d",600:"#1daf9c",500:"#22d3bb",400:"#3fdec9",300:"#84ebdd",200:"#c2f5ee",100:"#d0fbf5",50:"#e4fbf8","alpha-24":"#22d3bb3d","alpha-16":"#22d3bb29","alpha-10":"#22d3bb1a"},white:{"alpha-24":"#ffffff3d","alpha-16":"#ffffff29","alpha-10":"#ffffff1a"},black:{"alpha-24":"#0000003d","alpha-16":"#00000029","alpha-10":"#0000001a"},static:{black:"#000",white:"#fff"},social:{"apple-light":"#000","apple-dark":"#fff","twitter-light":"#010101","twitter-dark":"#fff","github-light":"#24292f","github-dark":"#fff","notion-light":"#1e2226","notion-dark":"#fff","tidal-light":"#000","tidal-dark":"#fff","amazon-light":"#353e47","amazon-dark":"#fff","zendesk-light":"#16140d","zendesk-dark":"#fff"},overlay:{"gray-light":"#3333333d","gray-dark":"#3333338f","slate-light":"#2b303b3d","slate-dark":"#2b303b8f"}},ga={gray:{950:"var(--gray-950)",900:"var(--gray-900)",800:"var(--gray-800)",700:"var(--gray-700)",600:"var(--gray-600)",500:"var(--gray-500)",400:"var(--gray-400)",300:"var(--gray-300)",200:"var(--gray-200)",100:"var(--gray-100)",50:"var(--gray-50)",0:"var(--gray-0)","alpha-24":"var(--gray-alpha-24)","alpha-16":"var(--gray-alpha-16)","alpha-10":"var(--gray-alpha-10)"},slate:{950:"var(--slate-950)",900:"var(--slate-900)",800:"var(--slate-800)",700:"var(--slate-700)",600:"var(--slate-600)",500:"var(--slate-500)",400:"var(--slate-400)",300:"var(--slate-300)",200:"var(--slate-200)",100:"var(--slate-100)",50:"var(--slate-50)",0:"var(--slate-0)","alpha-24":"var(--slate-alpha-24)","alpha-16":"var(--slate-alpha-16)","alpha-10":"var(--slate-alpha-10)"},neutral:{950:"var(--neutral-950)",900:"var(--neutral-900)",800:"var(--neutral-800)",700:"var(--neutral-700)",600:"var(--neutral-600)",500:"var(--neutral-500)",400:"var(--neutral-400)",300:"var(--neutral-300)",200:"var(--neutral-200)",100:"var(--neutral-100)",50:"var(--neutral-50)",0:"var(--neutral-0)","alpha-24":"var(--neutral-alpha-24)","alpha-16":"var(--neutral-alpha-16)","alpha-10":"var(--neutral-alpha-10)"},blue:{950:"var(--blue-950)",900:"var(--blue-900)",800:"var(--blue-800)",700:"var(--blue-700)",600:"var(--blue-600)",500:"var(--blue-500)",400:"var(--blue-400)",300:"var(--blue-300)",200:"var(--blue-200)",100:"var(--blue-100)",50:"var(--blue-50)","alpha-24":"var(--blue-alpha-24)","alpha-16":"var(--blue-alpha-16)","alpha-10":"var(--blue-alpha-10)"},orange:{950:"var(--orange-950)",900:"var(--orange-900)",800:"var(--orange-800)",700:"var(--orange-700)",600:"var(--orange-600)",500:"var(--orange-500)",400:"var(--orange-400)",300:"var(--orange-300)",200:"var(--orange-200)",100:"var(--orange-100)",50:"var(--orange-50)","alpha-24":"var(--orange-alpha-24)","alpha-16":"var(--orange-alpha-16)","alpha-10":"var(--orange-alpha-10)"},red:{950:"var(--red-950)",900:"var(--red-900)",800:"var(--red-800)",700:"var(--red-700)",600:"var(--red-600)",500:"var(--red-500)",400:"var(--red-400)",300:"var(--red-300)",200:"var(--red-200)",100:"var(--red-100)",50:"var(--red-50)","alpha-24":"var(--red-alpha-24)","alpha-16":"var(--red-alpha-16)","alpha-10":"var(--red-alpha-10)"},green:{950:"var(--green-950)",900:"var(--green-900)",800:"var(--green-800)",700:"var(--green-700)",600:"var(--green-600)",500:"var(--green-500)",400:"var(--green-400)",300:"var(--green-300)",200:"var(--green-200)",100:"var(--green-100)",50:"var(--green-50)","alpha-24":"var(--green-alpha-24)","alpha-16":"var(--green-alpha-16)","alpha-10":"var(--green-alpha-10)"},yellow:{950:"var(--yellow-950)",900:"var(--yellow-900)",800:"var(--yellow-800)",700:"var(--yellow-700)",600:"var(--yellow-600)",500:"var(--yellow-500)",400:"var(--yellow-400)",300:"var(--yellow-300)",200:"var(--yellow-200)",100:"var(--yellow-100)",50:"var(--yellow-50)","alpha-24":"var(--yellow-alpha-24)","alpha-16":"var(--yellow-alpha-16)","alpha-10":"var(--yellow-alpha-10)"},purple:{950:"var(--purple-950)",900:"var(--purple-900)",800:"var(--purple-800)",700:"var(--purple-700)",600:"var(--purple-600)",500:"var(--purple-500)",400:"var(--purple-400)",300:"var(--purple-300)",200:"var(--purple-200)",100:"var(--purple-100)",50:"var(--purple-50)","alpha-24":"var(--purple-alpha-24)","alpha-16":"var(--purple-alpha-16)","alpha-10":"var(--purple-alpha-10)"},sky:{950:"var(--sky-950)",900:"var(--sky-900)",800:"var(--sky-800)",700:"var(--sky-700)",600:"var(--sky-600)",500:"var(--sky-500)",400:"var(--sky-400)",300:"var(--sky-300)",200:"var(--sky-200)",100:"var(--sky-100)",50:"var(--sky-50)","alpha-24":"var(--sky-alpha-24)","alpha-16":"var(--sky-alpha-16)","alpha-10":"var(--sky-alpha-10)"},pink:{950:"var(--pink-950)",900:"var(--pink-900)",800:"var(--pink-800)",700:"var(--pink-700)",600:"var(--pink-600)",500:"var(--pink-500)",400:"var(--pink-400)",300:"var(--pink-300)",200:"var(--pink-200)",100:"var(--pink-100)",50:"var(--pink-50)","alpha-24":"var(--pink-alpha-24)","alpha-16":"var(--pink-alpha-16)","alpha-10":"var(--pink-alpha-10)"},teal:{950:"var(--teal-950)",900:"var(--teal-900)",800:"var(--teal-800)",700:"var(--teal-700)",600:"var(--teal-600)",500:"var(--teal-500)",400:"var(--teal-400)",300:"var(--teal-300)",200:"var(--teal-200)",100:"var(--teal-100)",50:"var(--teal-50)","alpha-24":"var(--teal-alpha-24)","alpha-16":"var(--teal-alpha-16)","alpha-10":"var(--teal-alpha-10)"},white:{DEFAULT:"#fff","alpha-24":"var(--white-alpha-24)","alpha-16":"var(--white-alpha-16)","alpha-10":"var(--white-alpha-10)"},black:{DEFAULT:"#000","alpha-24":"var(--black-alpha-24)","alpha-16":"var(--black-alpha-16)","alpha-10":"var(--black-alpha-10)"},primary:{dark:"var(--primary-dark)",darker:"var(--primary-darker)",base:"var(--primary-base)","alpha-24":"var(--primary-alpha-24)","alpha-16":"var(--primary-alpha-16)","alpha-10":"var(--primary-alpha-10)"},static:{black:"var(--static-black)",white:"var(--static-white)"},bg:{"strong-950":"var(--bg-strong-950)","surface-800":"var(--bg-surface-800)","sub-300":"var(--bg-sub-300)","soft-200":"var(--bg-soft-200)","weak-50":"var(--bg-weak-50)","white-0":"var(--bg-white-0)"},text:{"strong-950":"var(--text-strong-950)","sub-600":"var(--text-sub-600)","soft-400":"var(--text-soft-400)","disabled-300":"var(--text-disabled-300)","white-0":"var(--text-white-0)"},stroke:{"strong-950":"var(--stroke-strong-950)","sub-300":"var(--stroke-sub-300)","soft-200":"var(--stroke-soft-200)","white-0":"var(--stroke-white-0)"},faded:{dark:"var(--faded-dark)",base:"var(--faded-base)",light:"var(--faded-light)",lighter:"var(--faded-lighter)"},information:{dark:"var(--information-dark)",base:"var(--information-base)",light:"var(--information-light)",lighter:"var(--information-lighter)"},warning:{dark:"var(--warning-dark)",base:"var(--warning-base)",light:"var(--warning-light)",lighter:"var(--warning-lighter)"},error:{dark:"var(--error-dark)",base:"var(--error-base)",light:"var(--error-light)",lighter:"var(--error-lighter)"},success:{dark:"var(--success-dark)",base:"var(--success-base)",light:"var(--success-light)",lighter:"var(--success-lighter)"},away:{dark:"var(--away-dark)",base:"var(--away-base)",light:"var(--away-light)",lighter:"var(--away-lighter)"},feature:{dark:"var(--feature-dark)",base:"var(--feature-base)",light:"var(--feature-light)",lighter:"var(--feature-lighter)"},verified:{dark:"var(--verified-dark)",base:"var(--verified-base)",light:"var(--verified-light)",lighter:"var(--verified-lighter)"},highlighted:{dark:"var(--highlighted-dark)",base:"var(--highlighted-base)",light:"var(--highlighted-light)",lighter:"var(--highlighted-lighter)"},stable:{dark:"var(--stable-dark)",base:"var(--stable-base)",light:"var(--stable-light)",lighter:"var(--stable-lighter)"},social:{apple:"var(--social-apple)",twitter:"var(--social-twitter)",github:"var(--social-github)",notion:"var(--social-notion)",tidal:"var(--social-tidal)",amazon:"var(--social-amazon)",zendesk:"var(--social-zendesk)"},overlay:{DEFAULT:"var(--overlay)"},transparent:"transparent",current:"currentColor"},GF=Object.fromEntries(Object.entries(ga).map(([e,t])=>[e,typeof t=="object"?Object.fromEntries(Object.entries(t).map(([r,u])=>[r,u.startsWith("var(")?`rgb(${u})`:u])):t])),WF=Object.fromEntries(Object.entries(ga).map(([e,t])=>[e,typeof t=="object"?Object.fromEntries(Object.entries(t).map(([r,u])=>[r,u.startsWith("var(")?`hsl(${u})`:u])):t])),ln={10:".625rem",20:"1.25rem"},cn={"title-h1":["3.5rem",{lineHeight:"4rem",letterSpacing:"-0.01em",fontWeight:"500"}],"title-h2":["3rem",{lineHeight:"3.5rem",letterSpacing:"-0.01em",fontWeight:"500"}],"title-h3":["2.5rem",{lineHeight:"3rem",letterSpacing:"-0.01em",fontWeight:"500"}],"title-h4":["2rem",{lineHeight:"2.5rem",letterSpacing:"-0.005em",fontWeight:"500"}],"title-h5":["1.5rem",{lineHeight:"2rem",letterSpacing:"0em",fontWeight:"500"}],"title-h6":["1.25rem",{lineHeight:"1.75rem",letterSpacing:"0em",fontWeight:"500"}],"label-xl":["1.5rem",{lineHeight:"2rem",letterSpacing:"-0.015em",fontWeight:"500"}],"label-lg":["1.125rem",{lineHeight:"1.5rem",letterSpacing:"-0.015em",fontWeight:"500"}],"label-md":["1rem",{lineHeight:"1.5rem",letterSpacing:"-0.011em",fontWeight:"500"}],"label-sm":[".875rem",{lineHeight:"1.25rem",letterSpacing:"-0.006em",fontWeight:"500"}],"label-xs":[".75rem",{lineHeight:"1rem",letterSpacing:"0em",fontWeight:"500"}],"paragraph-xl":["1.5rem",{lineHeight:"2rem",letterSpacing:"-0.015em",fontWeight:"400"}],"paragraph-lg":["1.125rem",{lineHeight:"1.5rem",letterSpacing:"-0.015em",fontWeight:"400"}],"paragraph-md":["1rem",{lineHeight:"1.5rem",letterSpacing:"-0.011em",fontWeight:"400"}],"paragraph-sm":[".875rem",{lineHeight:"1.25rem",letterSpacing:"-0.006em",fontWeight:"400"}],"paragraph-xs":[".75rem",{lineHeight:"1rem",letterSpacing:"0em",fontWeight:"400"}],"subheading-md":["1rem",{lineHeight:"1.5rem",letterSpacing:"0.06em",fontWeight:"500"}],"subheading-sm":[".875rem",{lineHeight:"1.25rem",letterSpacing:"0.06em",fontWeight:"500"}],"subheading-xs":[".75rem",{lineHeight:"1rem",letterSpacing:"0.04em",fontWeight:"500"}],"subheading-2xs":[".6875rem",{lineHeight:".75rem",letterSpacing:"0.02em",fontWeight:"500"}],"doc-label":["1.125rem",{lineHeight:"2rem",letterSpacing:"-0.015em",fontWeight:"500"}],"doc-paragraph":["1.125rem",{lineHeight:"2rem",letterSpacing:"-0.015em",fontWeight:"400"}]},fn={"regular-xs":"0 1px 2px 0 #0a0d1408","regular-sm":"0 2px 4px #1b1c1d0a","regular-md":"0 16px 32px -12px #0e121b1a","button-primary-focus":["0 0 0 2px var(--color-bg-white-0)","0 0 0 4px var(--color-primary-alpha-10)"],"button-important-focus":["0 0 0 2px var(--color-bg-white-0)","0 0 0 4px var(--color-neutral-alpha-16)"],"button-error-focus":["0 0 0 2px var(--color-bg-white-0)","0 0 0 4px var(--color-red-alpha-10)"],"fancy-buttons-neutral":["0 1px 2px 0 #1b1c1d7a","0 0 0 1px #242628"],"fancy-buttons-primary":["0 1px 2px 0 #0e121b3d","0 0 0 1px var(--color-primary-base)"],"fancy-buttons-error":["0 1px 2px 0 #0e121b3d","0 0 0 1px var(--color-error-base)"],"fancy-buttons-stroke":["0 1px 3px 0 #0e121b1f","0 0 0 1px var(--color-stroke-soft-200)"],"toggle-switch":["0 6px 10px 0 #0e121b0f","0 2px 4px 0 #0e121b08"],"switch-thumb":["0 4px 8px 0 #1b1c1d0f","0 2px 4px 0 #0e121b14"],tooltip:["0 12px 24px 0 #0e121b0f","0 1px 2px 0 #0e121b08"],"custom-xs":["0 0 0 1px rgba(51, 51, 51, 0.04)","0 4px 8px -2px rgba(51, 51, 51, 0.06)","0 2px 4px rgba(51, 51, 51, 0.04)","0 1px 2px rgba(51, 51, 51, 0.04)","inset 0 -1px 1px -0.5px rgba(51, 51, 51, 0.06)"],"custom-sm":["0 0 0 1px rgba(51, 51, 51, 0.04)","0 16px 8px -8px rgba(51, 51, 51, 0.01)","0 12px 6px -6px rgba(51, 51, 51, 0.02)","0 5px 5px -2.5px rgba(51, 51, 51, 0.08)","0 1px 3px -1.5px rgba(51, 51, 51, 0.16)","inset 0 -0.5px 0.5px rgba(51, 51, 51, 0.08)"],"custom-md":["0 0 0 1px rgba(51, 51, 51, 0.04)","0 1px 1px 0.5px rgba(51, 51, 51, 0.04)","0 3px 3px -1.5px rgba(51, 51, 51, 0.02)","0 6px 6px -3px rgba(51, 51, 51, 0.04)","0 12px 12px -6px rgba(51, 51, 51, 0.04)","0 24px 24px -12px rgba(51, 51, 51, 0.04)","0 48px 48px -24px rgba(51, 51, 51, 0.04)","inset 0 -1px 1px -0.5px rgba(51, 51, 51, 0.06)"],"custom-lg":["0 0 0 1px rgba(51, 51, 51, 0.04)","0 1px 1px 0.5px rgba(51, 51, 51, 0.04)","0 3px 3px -1.5px rgba(51, 51, 51, 0.02)","0 6px 6px -3px rgba(51, 51, 51, 0.04)","0 12px 12px -6px rgba(51, 51, 51, 0.04)","0 24px 24px -12px rgba(51, 51, 51, 0.04)","0 48px 48px -24px rgba(51, 51, 51, 0.04)","0 96px 96px -32px rgba(51, 51, 51, 0.06)","inset 0 -1px 1px -0.5px rgba(51, 51, 51, 0.06)"]},Dn={"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"};import{createRequire as a0}from"module";import{fileURLToPath as s0}from"url";import{dirname as o0}from"path";import Ei from"process";import Ef from"os";import Pa from"tty";import Nt from"path";import{fileURLToPath as WD}from"url";import wo from"path";import*as Bo from"path";import rs from"fs/promises";import XD from"path";import*as Rr from"path";import Ai from"path";import fh from"fs/promises";import ns from"fs/promises";import{pathToFileURL as mh}from"url";import _d from"fs/promises";import kd from"path";import{pathToFileURL as Id}from"url";import Xo from"assert";import{statSync as Qo,realpathSync as Nd}from"fs";import ar from"process";import{URL as Ee,fileURLToPath as De,pathToFileURL as Ri}from"url";import Jo from"path";import{builtinModules as Oi}from"module";import{fileURLToPath as Pd}from"url";import Ld from"fs";import xd from"path";import{fileURLToPath as ei}from"url";import jd from"v8";import sr from"assert";import{format as Md,inspect as ti}from"util";import{createRequire as Ig}from"module";import wu from"path";import Jg from"url";import Ss from"fs";import Ls from"assert";import kE from"assert";import qs from"path";import{pathToFileURL as Vs}from"url";import b1 from"path";var vn={};nc(vn,{builders:()=>Oa,default:()=>i0,printer:()=>Ta,utils:()=>ka});var hc=Object.defineProperty,pc=(e,t)=>{for(var r in t)hc(e,r,{get:t[r],enumerable:!0})},va={};pc(va,{builders:()=>Oa,printer:()=>Ta,utils:()=>ka});var qt="string",ot="array",Vt="cursor",yt="indent",_t="align",bt="trim",$e="group",wt="fill",ze="if-break",Bt="indent-if-break",St="line-suffix",Rt="line-suffix-boundary",ke="line",Ot="label",ut="break-parent",Ca=new Set([Vt,yt,_t,bt,$e,wt,ze,Bt,St,Rt,ke,Ot,ut]);function dc(e){if(typeof e=="string")return qt;if(Array.isArray(e))return ot;if(!e)return;let{type:t}=e;if(Ca.has(t))return t}var Yt=dc,gc=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function mc(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}',
560
+ `;import{Command as EF}from"commander";import{execa as FF}from"execa";import vF from"lodash.template";import{z as zl}from"zod";import{intro as CF,outro as AF,text as zi,select as zu,isCancel as Tr,spinner as Xl}from"@clack/prompts";import sa from"path";import{z as Ke}from"zod";var oa="app/globals.css",la="tailwind.config.js",on=Ke.object({tailwind:Ke.object({config:Ke.string().optional(),css:Ke.string(),primaryColor:Ke.enum(["blue","purple","orange","sky"]),neutralColor:Ke.enum(["gray","slate"]),colorFormat:Ke.enum(["hex","rgb","hsl","oklch"]),prefix:Ke.string().default("").optional()})}).strict(),ac=on.extend({resolvedPaths:Ke.object({tailwindConfig:Ke.string().optional(),tailwindCss:Ke.string()})});async function nu(e,t){return ac.parse({...t,resolvedPaths:{tailwindConfig:t.tailwind.config?sa.resolve(e,t.tailwind.config):void 0,tailwindCss:sa.resolve(e,t.tailwind.css)}})}import{detect as sc}from"@antfu/ni";async function ca(e){let t=await sc({programmatic:!0,cwd:e});return t==="yarn@berry"?"yarn":t==="pnpm@6"?"pnpm":t==="bun"?"bun":t??"npm"}import fa from"path";import oc from"fast-glob";import lc,{pathExists as cc}from"fs-extra";var fc=["**/node_modules/**",".next","public","dist","build"];async function Da(e){let t=await ha(e);if(!t)throw new Error("No CSS file found with Tailwind directives. Check your setup and follow the Tailwind installation instructions here: https://tailwindcss.com/docs/installation");let u={tailwind:{config:await Dc(e)?"tailwind.config.ts":"tailwind.config.js",primaryColor:"blue",neutralColor:"gray",colorFormat:"oklch",css:t,prefix:""}};return await nu(e,u)}async function ha(e){let t=await oc.glob("**/*.css",{cwd:e,deep:3,ignore:fc});if(!t.length)return null;for(let r of t){let u=await lc.readFile(fa.resolve(e,r),"utf8");if(u.includes("@tailwind base")||u.includes('@import "tailwindcss"'))return r}return null}async function Dc(e){return cc(fa.resolve(e,"tsconfig.json"))}async function pa(e){if(!await ha(e))throw new Error(`No CSS file found with Tailwind directives. Create a CSS file with "@import 'tailwindcss';" or "@tailwind base;" to get started.`);return!0}var da={gray:{950:"#171717",900:"#1c1c1c",800:"#292929",700:"#333333",600:"#5c5c5c",500:"#7b7b7b",400:"#a3a3a3",300:"#d1d1d1",200:"#ebebeb",100:"#f5f5f5",50:"#f7f7f7",0:"#ffffff","alpha-24":"#a3a3a33d","alpha-16":"#a3a3a329","alpha-10":"#a3a3a31a"},slate:{950:"#0e121b",900:"#181b25",800:"#222530",700:"#2b303b",600:"#525866",500:"#717784",400:"#99a0ae",300:"#cacfd8",200:"#e1e4ea",100:"#f2f5f8",50:"#f5f7fa",0:"#ffffff","alpha-24":"#99a0ae3d","alpha-16":"#99a0ae29","alpha-10":"#99a0ae1a"},blue:{950:"#122368",900:"#182f8b",800:"#1f3bad",700:"#2547d0",600:"#3559e9",500:"#335cff",400:"#6895ff",300:"#97baff",200:"#c0d5ff",100:"#d5e2ff",50:"#ebf1ff","alpha-24":"#476cff3d","alpha-16":"#476cff29","alpha-10":"#476cff1a"},orange:{950:"#71330a",900:"#96440d",800:"#b75310",700:"#ce5e12",600:"#e16614",500:"#fa7319",400:"#ffa468",300:"#ffc197",200:"#ffd9c0",100:"#ffe6d5",50:"#fff3eb","alpha-24":"#ff91473d","alpha-16":"#ff914729","alpha-10":"#ff91471a"},red:{950:"#681219",900:"#8b1822",800:"#ad1f2b",700:"#d02533",600:"#e93544",500:"#fb3748",400:"#ff6875",300:"#ff97a0",200:"#ffc0c5",100:"#ffd5d8",50:"#ffebec","alpha-24":"#fb37483d","alpha-16":"#fb374829","alpha-10":"#fb37481a"},green:{950:"#0b4627",900:"#16643b",800:"#1a7544",700:"#178c4e",600:"#1daf61",500:"#1fc16b",400:"#3ee089",300:"#84ebb4",200:"#c2f5da",100:"#d0fbe9",50:"#e0faec","alpha-24":"#1fc16b3d","alpha-16":"#1fc16b29","alpha-10":"#1fc16b1a"},yellow:{950:"#624c18",900:"#86661d",800:"#a78025",700:"#c99a2c",600:"#e6a819",500:"#f6b51e",400:"#ffd268",300:"#ffe097",200:"#ffecc0",100:"#ffefcc",50:"#fff4d6","alpha-24":"#fbc64b3d","alpha-16":"#fbc64b29","alpha-10":"#fbc64b1a"},purple:{950:"#351a75",900:"#3d1d86",800:"#4c25a7",700:"#5b2cc9",600:"#693ee0",500:"#7d52f4",400:"#8c71f6",300:"#a897ff",200:"#cac0ff",100:"#dcd5ff",50:"#efebff","alpha-24":"#784def3d","alpha-16":"#784def29","alpha-10":"#784def1a"},sky:{950:"#124b68",900:"#18658b",800:"#1f7ead",700:"#2597d0",600:"#35ade9",500:"#47c2ff",400:"#68cdff",300:"#97dcff",200:"#c0eaff",100:"#d5f1ff",50:"#ebf8ff","alpha-24":"#47c2ff3d","alpha-16":"#47c2ff29","alpha-10":"#47c2ff1a"},pink:{950:"#68123d",900:"#8b1852",800:"#ad1f66",700:"#d0257a",600:"#e9358f",500:"#fb4ba3",400:"#ff68b3",300:"#ff97cb",200:"#ffc0df",100:"#ffd5ea",50:"#ffebf4","alpha-24":"#fb4ba33d","alpha-16":"#fb4ba329","alpha-10":"#fb4ba31a"},teal:{950:"#0b463e",900:"#16645a",800:"#1a7569",700:"#178c7d",600:"#1daf9c",500:"#22d3bb",400:"#3fdec9",300:"#84ebdd",200:"#c2f5ee",100:"#d0fbf5",50:"#e4fbf8","alpha-24":"#22d3bb3d","alpha-16":"#22d3bb29","alpha-10":"#22d3bb1a"},white:{"alpha-24":"#ffffff3d","alpha-16":"#ffffff29","alpha-10":"#ffffff1a"},black:{"alpha-24":"#0000003d","alpha-16":"#00000029","alpha-10":"#0000001a"},static:{black:"#000",white:"#fff"},social:{"apple-light":"#000","apple-dark":"#fff","twitter-light":"#010101","twitter-dark":"#fff","github-light":"#24292f","github-dark":"#fff","notion-light":"#1e2226","notion-dark":"#fff","tidal-light":"#000","tidal-dark":"#fff","amazon-light":"#353e47","amazon-dark":"#fff","zendesk-light":"#16140d","zendesk-dark":"#fff"},overlay:{"gray-light":"#3333333d","gray-dark":"#3333338f","slate-light":"#2b303b3d","slate-dark":"#2b303b8f"}},ga={gray:{950:"var(--gray-950)",900:"var(--gray-900)",800:"var(--gray-800)",700:"var(--gray-700)",600:"var(--gray-600)",500:"var(--gray-500)",400:"var(--gray-400)",300:"var(--gray-300)",200:"var(--gray-200)",100:"var(--gray-100)",50:"var(--gray-50)",0:"var(--gray-0)","alpha-24":"var(--gray-alpha-24)","alpha-16":"var(--gray-alpha-16)","alpha-10":"var(--gray-alpha-10)"},slate:{950:"var(--slate-950)",900:"var(--slate-900)",800:"var(--slate-800)",700:"var(--slate-700)",600:"var(--slate-600)",500:"var(--slate-500)",400:"var(--slate-400)",300:"var(--slate-300)",200:"var(--slate-200)",100:"var(--slate-100)",50:"var(--slate-50)",0:"var(--slate-0)","alpha-24":"var(--slate-alpha-24)","alpha-16":"var(--slate-alpha-16)","alpha-10":"var(--slate-alpha-10)"},neutral:{950:"var(--neutral-950)",900:"var(--neutral-900)",800:"var(--neutral-800)",700:"var(--neutral-700)",600:"var(--neutral-600)",500:"var(--neutral-500)",400:"var(--neutral-400)",300:"var(--neutral-300)",200:"var(--neutral-200)",100:"var(--neutral-100)",50:"var(--neutral-50)",0:"var(--neutral-0)","alpha-24":"var(--neutral-alpha-24)","alpha-16":"var(--neutral-alpha-16)","alpha-10":"var(--neutral-alpha-10)"},blue:{950:"var(--blue-950)",900:"var(--blue-900)",800:"var(--blue-800)",700:"var(--blue-700)",600:"var(--blue-600)",500:"var(--blue-500)",400:"var(--blue-400)",300:"var(--blue-300)",200:"var(--blue-200)",100:"var(--blue-100)",50:"var(--blue-50)","alpha-24":"var(--blue-alpha-24)","alpha-16":"var(--blue-alpha-16)","alpha-10":"var(--blue-alpha-10)"},orange:{950:"var(--orange-950)",900:"var(--orange-900)",800:"var(--orange-800)",700:"var(--orange-700)",600:"var(--orange-600)",500:"var(--orange-500)",400:"var(--orange-400)",300:"var(--orange-300)",200:"var(--orange-200)",100:"var(--orange-100)",50:"var(--orange-50)","alpha-24":"var(--orange-alpha-24)","alpha-16":"var(--orange-alpha-16)","alpha-10":"var(--orange-alpha-10)"},red:{950:"var(--red-950)",900:"var(--red-900)",800:"var(--red-800)",700:"var(--red-700)",600:"var(--red-600)",500:"var(--red-500)",400:"var(--red-400)",300:"var(--red-300)",200:"var(--red-200)",100:"var(--red-100)",50:"var(--red-50)","alpha-24":"var(--red-alpha-24)","alpha-16":"var(--red-alpha-16)","alpha-10":"var(--red-alpha-10)"},green:{950:"var(--green-950)",900:"var(--green-900)",800:"var(--green-800)",700:"var(--green-700)",600:"var(--green-600)",500:"var(--green-500)",400:"var(--green-400)",300:"var(--green-300)",200:"var(--green-200)",100:"var(--green-100)",50:"var(--green-50)","alpha-24":"var(--green-alpha-24)","alpha-16":"var(--green-alpha-16)","alpha-10":"var(--green-alpha-10)"},yellow:{950:"var(--yellow-950)",900:"var(--yellow-900)",800:"var(--yellow-800)",700:"var(--yellow-700)",600:"var(--yellow-600)",500:"var(--yellow-500)",400:"var(--yellow-400)",300:"var(--yellow-300)",200:"var(--yellow-200)",100:"var(--yellow-100)",50:"var(--yellow-50)","alpha-24":"var(--yellow-alpha-24)","alpha-16":"var(--yellow-alpha-16)","alpha-10":"var(--yellow-alpha-10)"},purple:{950:"var(--purple-950)",900:"var(--purple-900)",800:"var(--purple-800)",700:"var(--purple-700)",600:"var(--purple-600)",500:"var(--purple-500)",400:"var(--purple-400)",300:"var(--purple-300)",200:"var(--purple-200)",100:"var(--purple-100)",50:"var(--purple-50)","alpha-24":"var(--purple-alpha-24)","alpha-16":"var(--purple-alpha-16)","alpha-10":"var(--purple-alpha-10)"},sky:{950:"var(--sky-950)",900:"var(--sky-900)",800:"var(--sky-800)",700:"var(--sky-700)",600:"var(--sky-600)",500:"var(--sky-500)",400:"var(--sky-400)",300:"var(--sky-300)",200:"var(--sky-200)",100:"var(--sky-100)",50:"var(--sky-50)","alpha-24":"var(--sky-alpha-24)","alpha-16":"var(--sky-alpha-16)","alpha-10":"var(--sky-alpha-10)"},pink:{950:"var(--pink-950)",900:"var(--pink-900)",800:"var(--pink-800)",700:"var(--pink-700)",600:"var(--pink-600)",500:"var(--pink-500)",400:"var(--pink-400)",300:"var(--pink-300)",200:"var(--pink-200)",100:"var(--pink-100)",50:"var(--pink-50)","alpha-24":"var(--pink-alpha-24)","alpha-16":"var(--pink-alpha-16)","alpha-10":"var(--pink-alpha-10)"},teal:{950:"var(--teal-950)",900:"var(--teal-900)",800:"var(--teal-800)",700:"var(--teal-700)",600:"var(--teal-600)",500:"var(--teal-500)",400:"var(--teal-400)",300:"var(--teal-300)",200:"var(--teal-200)",100:"var(--teal-100)",50:"var(--teal-50)","alpha-24":"var(--teal-alpha-24)","alpha-16":"var(--teal-alpha-16)","alpha-10":"var(--teal-alpha-10)"},white:{DEFAULT:"#fff","alpha-24":"var(--white-alpha-24)","alpha-16":"var(--white-alpha-16)","alpha-10":"var(--white-alpha-10)"},black:{DEFAULT:"#000","alpha-24":"var(--black-alpha-24)","alpha-16":"var(--black-alpha-16)","alpha-10":"var(--black-alpha-10)"},primary:{dark:"var(--primary-dark)",darker:"var(--primary-darker)",base:"var(--primary-base)","alpha-24":"var(--primary-alpha-24)","alpha-16":"var(--primary-alpha-16)","alpha-10":"var(--primary-alpha-10)"},static:{black:"var(--static-black)",white:"var(--static-white)"},bg:{"strong-950":"var(--bg-strong-950)","surface-800":"var(--bg-surface-800)","sub-300":"var(--bg-sub-300)","soft-200":"var(--bg-soft-200)","weak-50":"var(--bg-weak-50)","white-0":"var(--bg-white-0)"},text:{"strong-950":"var(--text-strong-950)","sub-600":"var(--text-sub-600)","soft-400":"var(--text-soft-400)","disabled-300":"var(--text-disabled-300)","white-0":"var(--text-white-0)"},stroke:{"strong-950":"var(--stroke-strong-950)","sub-300":"var(--stroke-sub-300)","soft-200":"var(--stroke-soft-200)","white-0":"var(--stroke-white-0)"},faded:{dark:"var(--faded-dark)",base:"var(--faded-base)",light:"var(--faded-light)",lighter:"var(--faded-lighter)"},information:{dark:"var(--information-dark)",base:"var(--information-base)",light:"var(--information-light)",lighter:"var(--information-lighter)"},warning:{dark:"var(--warning-dark)",base:"var(--warning-base)",light:"var(--warning-light)",lighter:"var(--warning-lighter)"},error:{dark:"var(--error-dark)",base:"var(--error-base)",light:"var(--error-light)",lighter:"var(--error-lighter)"},success:{dark:"var(--success-dark)",base:"var(--success-base)",light:"var(--success-light)",lighter:"var(--success-lighter)"},away:{dark:"var(--away-dark)",base:"var(--away-base)",light:"var(--away-light)",lighter:"var(--away-lighter)"},feature:{dark:"var(--feature-dark)",base:"var(--feature-base)",light:"var(--feature-light)",lighter:"var(--feature-lighter)"},verified:{dark:"var(--verified-dark)",base:"var(--verified-base)",light:"var(--verified-light)",lighter:"var(--verified-lighter)"},highlighted:{dark:"var(--highlighted-dark)",base:"var(--highlighted-base)",light:"var(--highlighted-light)",lighter:"var(--highlighted-lighter)"},stable:{dark:"var(--stable-dark)",base:"var(--stable-base)",light:"var(--stable-light)",lighter:"var(--stable-lighter)"},social:{apple:"var(--social-apple)",twitter:"var(--social-twitter)",github:"var(--social-github)",notion:"var(--social-notion)",tidal:"var(--social-tidal)",amazon:"var(--social-amazon)",zendesk:"var(--social-zendesk)"},overlay:{DEFAULT:"var(--overlay)"},transparent:"transparent",current:"currentColor"},WF=Object.fromEntries(Object.entries(ga).map(([e,t])=>[e,typeof t=="object"?Object.fromEntries(Object.entries(t).map(([r,u])=>[r,u.startsWith("var(")?`rgb(${u})`:u])):t])),GF=Object.fromEntries(Object.entries(ga).map(([e,t])=>[e,typeof t=="object"?Object.fromEntries(Object.entries(t).map(([r,u])=>[r,u.startsWith("var(")?`hsl(${u})`:u])):t])),ln={10:".625rem",20:"1.25rem"},cn={"title-h1":["3.5rem",{lineHeight:"4rem",letterSpacing:"-0.01em",fontWeight:"500"}],"title-h2":["3rem",{lineHeight:"3.5rem",letterSpacing:"-0.01em",fontWeight:"500"}],"title-h3":["2.5rem",{lineHeight:"3rem",letterSpacing:"-0.01em",fontWeight:"500"}],"title-h4":["2rem",{lineHeight:"2.5rem",letterSpacing:"-0.005em",fontWeight:"500"}],"title-h5":["1.5rem",{lineHeight:"2rem",letterSpacing:"0em",fontWeight:"500"}],"title-h6":["1.25rem",{lineHeight:"1.75rem",letterSpacing:"0em",fontWeight:"500"}],"label-xl":["1.5rem",{lineHeight:"2rem",letterSpacing:"-0.015em",fontWeight:"500"}],"label-lg":["1.125rem",{lineHeight:"1.5rem",letterSpacing:"-0.015em",fontWeight:"500"}],"label-md":["1rem",{lineHeight:"1.5rem",letterSpacing:"-0.011em",fontWeight:"500"}],"label-sm":[".875rem",{lineHeight:"1.25rem",letterSpacing:"-0.006em",fontWeight:"500"}],"label-xs":[".75rem",{lineHeight:"1rem",letterSpacing:"0em",fontWeight:"500"}],"paragraph-xl":["1.5rem",{lineHeight:"2rem",letterSpacing:"-0.015em",fontWeight:"400"}],"paragraph-lg":["1.125rem",{lineHeight:"1.5rem",letterSpacing:"-0.015em",fontWeight:"400"}],"paragraph-md":["1rem",{lineHeight:"1.5rem",letterSpacing:"-0.011em",fontWeight:"400"}],"paragraph-sm":[".875rem",{lineHeight:"1.25rem",letterSpacing:"-0.006em",fontWeight:"400"}],"paragraph-xs":[".75rem",{lineHeight:"1rem",letterSpacing:"0em",fontWeight:"400"}],"subheading-md":["1rem",{lineHeight:"1.5rem",letterSpacing:"0.06em",fontWeight:"500"}],"subheading-sm":[".875rem",{lineHeight:"1.25rem",letterSpacing:"0.06em",fontWeight:"500"}],"subheading-xs":[".75rem",{lineHeight:"1rem",letterSpacing:"0.04em",fontWeight:"500"}],"subheading-2xs":[".6875rem",{lineHeight:".75rem",letterSpacing:"0.02em",fontWeight:"500"}],"doc-label":["1.125rem",{lineHeight:"2rem",letterSpacing:"-0.015em",fontWeight:"500"}],"doc-paragraph":["1.125rem",{lineHeight:"2rem",letterSpacing:"-0.015em",fontWeight:"400"}]},fn={"regular-xs":"0 1px 2px 0 #0a0d1408","regular-sm":"0 2px 4px #1b1c1d0a","regular-md":"0 16px 32px -12px #0e121b1a","button-primary-focus":["0 0 0 2px var(--color-bg-white-0)","0 0 0 4px var(--color-primary-alpha-10)"],"button-important-focus":["0 0 0 2px var(--color-bg-white-0)","0 0 0 4px var(--color-neutral-alpha-16)"],"button-error-focus":["0 0 0 2px var(--color-bg-white-0)","0 0 0 4px var(--color-red-alpha-10)"],"fancy-buttons-neutral":["0 1px 2px 0 #1b1c1d7a","0 0 0 1px #242628"],"fancy-buttons-primary":["0 1px 2px 0 #0e121b3d","0 0 0 1px var(--color-primary-base)"],"fancy-buttons-error":["0 1px 2px 0 #0e121b3d","0 0 0 1px var(--color-error-base)"],"fancy-buttons-stroke":["0 1px 3px 0 #0e121b1f","0 0 0 1px var(--color-stroke-soft-200)"],"toggle-switch":["0 6px 10px 0 #0e121b0f","0 2px 4px 0 #0e121b08"],"switch-thumb":["0 4px 8px 0 #1b1c1d0f","0 2px 4px 0 #0e121b14"],tooltip:["0 12px 24px 0 #0e121b0f","0 1px 2px 0 #0e121b08"],"custom-xs":["0 0 0 1px rgba(51, 51, 51, 0.04)","0 4px 8px -2px rgba(51, 51, 51, 0.06)","0 2px 4px rgba(51, 51, 51, 0.04)","0 1px 2px rgba(51, 51, 51, 0.04)","inset 0 -1px 1px -0.5px rgba(51, 51, 51, 0.06)"],"custom-sm":["0 0 0 1px rgba(51, 51, 51, 0.04)","0 16px 8px -8px rgba(51, 51, 51, 0.01)","0 12px 6px -6px rgba(51, 51, 51, 0.02)","0 5px 5px -2.5px rgba(51, 51, 51, 0.08)","0 1px 3px -1.5px rgba(51, 51, 51, 0.16)","inset 0 -0.5px 0.5px rgba(51, 51, 51, 0.08)"],"custom-md":["0 0 0 1px rgba(51, 51, 51, 0.04)","0 1px 1px 0.5px rgba(51, 51, 51, 0.04)","0 3px 3px -1.5px rgba(51, 51, 51, 0.02)","0 6px 6px -3px rgba(51, 51, 51, 0.04)","0 12px 12px -6px rgba(51, 51, 51, 0.04)","0 24px 24px -12px rgba(51, 51, 51, 0.04)","0 48px 48px -24px rgba(51, 51, 51, 0.04)","inset 0 -1px 1px -0.5px rgba(51, 51, 51, 0.06)"],"custom-lg":["0 0 0 1px rgba(51, 51, 51, 0.04)","0 1px 1px 0.5px rgba(51, 51, 51, 0.04)","0 3px 3px -1.5px rgba(51, 51, 51, 0.02)","0 6px 6px -3px rgba(51, 51, 51, 0.04)","0 12px 12px -6px rgba(51, 51, 51, 0.04)","0 24px 24px -12px rgba(51, 51, 51, 0.04)","0 48px 48px -24px rgba(51, 51, 51, 0.04)","0 96px 96px -32px rgba(51, 51, 51, 0.06)","inset 0 -1px 1px -0.5px rgba(51, 51, 51, 0.06)"]},Dn={"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"};import{createRequire as a0}from"module";import{fileURLToPath as s0}from"url";import{dirname as o0}from"path";import Ei from"process";import Ef from"os";import Pa from"tty";import Nt from"path";import{fileURLToPath as GD}from"url";import wo from"path";import*as Bo from"path";import rs from"fs/promises";import XD from"path";import*as Rr from"path";import Ai from"path";import fh from"fs/promises";import ns from"fs/promises";import{pathToFileURL as mh}from"url";import _d from"fs/promises";import kd from"path";import{pathToFileURL as Id}from"url";import Xo from"assert";import{statSync as Qo,realpathSync as Nd}from"fs";import ar from"process";import{URL as Ee,fileURLToPath as De,pathToFileURL as Ri}from"url";import Jo from"path";import{builtinModules as Oi}from"module";import{fileURLToPath as Pd}from"url";import Ld from"fs";import xd from"path";import{fileURLToPath as ei}from"url";import jd from"v8";import sr from"assert";import{format as Md,inspect as ti}from"util";import{createRequire as Ig}from"module";import wu from"path";import Jg from"url";import Ss from"fs";import Ls from"assert";import kE from"assert";import qs from"path";import{pathToFileURL as Vs}from"url";import b1 from"path";var vn={};nc(vn,{builders:()=>Oa,default:()=>i0,printer:()=>Ta,utils:()=>ka});var hc=Object.defineProperty,pc=(e,t)=>{for(var r in t)hc(e,r,{get:t[r],enumerable:!0})},va={};pc(va,{builders:()=>Oa,printer:()=>Ta,utils:()=>ka});var qt="string",ot="array",Vt="cursor",yt="indent",_t="align",bt="trim",$e="group",wt="fill",ze="if-break",Bt="indent-if-break",St="line-suffix",Rt="line-suffix-boundary",ke="line",Ot="label",ut="break-parent",Ca=new Set([Vt,yt,_t,bt,$e,wt,ze,Bt,St,Rt,ke,Ot,ut]);function dc(e){if(typeof e=="string")return qt;if(Array.isArray(e))return ot;if(!e)return;let{type:t}=e;if(Ca.has(t))return t}var Yt=dc,gc=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function mc(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}',
558
561
  Expected it to be 'string' or 'object'.`;if(Yt(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let u=gc([...Ca].map(n=>`'${n}'`));return`Unexpected doc.type '${e.type}'.
559
562
  Expected it to be ${u}.`}var Ec=class extends Error{name="InvalidDocError";constructor(e){super(mc(e)),this.doc=e}},hr=Ec,ma={};function Fc(e,t,r,u){let n=[e];for(;n.length>0;){let i=n.pop();if(i===ma){r(n.pop());continue}r&&n.push(i,ma);let a=Yt(i);if(!a)throw new hr(i);if(t?.(i)!==!1)switch(a){case ot:case wt:{let s=a===ot?i:i.parts;for(let o=s.length,l=o-1;l>=0;--l)n.push(s[l]);break}case ze:n.push(i.flatContents,i.breakContents);break;case $e:if(u&&i.expandedStates)for(let s=i.expandedStates.length,o=s-1;o>=0;--o)n.push(i.expandedStates[o]);else n.push(i.contents);break;case _t:case yt:case Bt:case Ot:case St:n.push(i.contents);break;case qt:case Vt:case bt:case Rt:case ke:case ut:break;default:throw new hr(i)}}}var dn=Fc,Aa=()=>{},rt=Aa,gn=Aa;function au(e){return rt(e),{type:yt,contents:e}}function pr(e,t){return rt(t),{type:_t,contents:t,n:e}}function ya(e,t={}){return rt(e),gn(t.expandedStates,!0),{type:$e,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function vc(e){return pr(Number.NEGATIVE_INFINITY,e)}function Cc(e){return pr({type:"root"},e)}function Ac(e){return pr(-1,e)}function yc(e,t){return ya(e[0],{...t,expandedStates:e})}function _a(e){return gn(e),{type:wt,parts:e}}function _c(e,t="",r={}){return rt(e),t!==""&&rt(t),{type:ze,breakContents:e,flatContents:t,groupId:r.groupId}}function bc(e,t){return rt(e),{type:Bt,contents:e,groupId:t.groupId,negate:t.negate}}function wc(e){return rt(e),{type:St,contents:e}}var Bc={type:Rt},mn={type:ut},Sc={type:bt},En={type:ke,hard:!0},ba={type:ke,hard:!0,literal:!0},Rc={type:ke},Oc={type:ke,soft:!0},Tc=[En,mn],wa=[ba,mn],kc={type:Vt};function Ba(e,t){rt(e),gn(t);let r=[];for(let u=0;u<t.length;u++)u!==0&&r.push(e),r.push(t[u]);return r}function Ic(e,t,r){rt(e);let u=e;if(t>0){for(let n=0;n<Math.floor(t/r);++n)u=au(u);u=pr(t%r,u),u=pr(Number.NEGATIVE_INFINITY,u)}return u}function Nc(e,t){return rt(t),e?{type:Ot,label:e,contents:t}:t}var Pc=(e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},At=Pc,Lc=(e,t,r,u)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,u):r.global?t.replace(r,u):t.split(r).join(u)},xc=Lc;function jc(e){switch(e){case"cr":return"\r";case"crlf":return`\r
560
563
  `;default:return`
561
- `}}var Mc=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function $c(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Uc(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var Hc=e=>!($c(e)||Uc(e)),Gc=/[^\x20-\x7F]/u;function Wc(e){if(!e)return 0;if(!Gc.test(e))return e.length;e=e.replace(Mc()," ");let t=0;for(let r of e){let u=r.codePointAt(0);u<=31||u>=127&&u<=159||u>=768&&u<=879||(t+=Hc(u)?1:2)}return t}var Sa=Wc;function su(e,t){if(typeof e=="string")return t(e);let r=new Map;return u(e);function u(i){if(r.has(i))return r.get(i);let a=n(i);return r.set(i,a),a}function n(i){switch(Yt(i)){case ot:return t(i.map(u));case wt:return t({...i,parts:i.parts.map(u)});case ze:return t({...i,breakContents:u(i.breakContents),flatContents:u(i.flatContents)});case $e:{let{expandedStates:a,contents:s}=i;return a?(a=a.map(u),s=a[0]):s=u(s),t({...i,contents:s,expandedStates:a})}case _t:case yt:case Bt:case Ot:case St:return t({...i,contents:u(i.contents)});case qt:case Vt:case bt:case Rt:case ke:case ut:return t(i);default:throw new hr(i)}}}function Fn(e,t,r){let u=r,n=!1;function i(a){if(n)return!1;let s=t(a);s!==void 0&&(n=!0,u=s)}return dn(e,i),u}function qc(e){if(e.type===$e&&e.break||e.type===ke&&e.hard||e.type===ut)return!0}function Vc(e){return Fn(e,qc,!1)}function Ea(e){if(e.length>0){let t=At(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Yc(e){let t=new Set,r=[];function u(i){if(i.type===ut&&Ea(r),i.type===$e){if(r.push(i),t.has(i))return!1;t.add(i)}}function n(i){i.type===$e&&r.pop().break&&Ea(r)}dn(e,u,n,!0)}function Kc(e){return e.type===ke&&!e.hard?e.soft?"":" ":e.type===ze?e.flatContents:e}function zc(e){return su(e,Kc)}function Fa(e){for(e=[...e];e.length>=2&&At(!1,e,-2).type===ke&&At(!1,e,-1).type===ut;)e.length-=2;if(e.length>0){let t=Nr(At(!1,e,-1));e[e.length-1]=t}return e}function Nr(e){switch(Yt(e)){case yt:case Bt:case $e:case St:case Ot:{let t=Nr(e.contents);return{...e,contents:t}}case ze:return{...e,breakContents:Nr(e.breakContents),flatContents:Nr(e.flatContents)};case wt:return{...e,parts:Fa(e.parts)};case ot:return Fa(e);case qt:return e.replace(/[\n\r]*$/u,"");case _t:case Vt:case bt:case Rt:case ke:case ut:break;default:throw new hr(e)}return e}function Xc(e){return Nr(Jc(e))}function Qc(e){switch(Yt(e)){case wt:if(e.parts.every(t=>t===""))return"";break;case $e:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===$e&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case _t:case yt:case Bt:case St:if(!e.contents)return"";break;case ze:if(!e.flatContents&&!e.breakContents)return"";break;case ot:{let t=[];for(let r of e){if(!r)continue;let[u,...n]=Array.isArray(r)?r:[r];typeof u=="string"&&typeof At(!1,t,-1)=="string"?t[t.length-1]+=u:t.push(u),t.push(...n)}return t.length===0?"":t.length===1?t[0]:t}case qt:case Vt:case bt:case Rt:case ke:case Ot:case ut:break;default:throw new hr(e)}return e}function Jc(e){return su(e,t=>Qc(t))}function Zc(e,t=wa){return su(e,r=>typeof r=="string"?Ba(t,r.split(`
564
+ `}}var Mc=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function $c(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Uc(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var Hc=e=>!($c(e)||Uc(e)),Wc=/[^\x20-\x7F]/u;function Gc(e){if(!e)return 0;if(!Wc.test(e))return e.length;e=e.replace(Mc()," ");let t=0;for(let r of e){let u=r.codePointAt(0);u<=31||u>=127&&u<=159||u>=768&&u<=879||(t+=Hc(u)?1:2)}return t}var Sa=Gc;function su(e,t){if(typeof e=="string")return t(e);let r=new Map;return u(e);function u(i){if(r.has(i))return r.get(i);let a=n(i);return r.set(i,a),a}function n(i){switch(Yt(i)){case ot:return t(i.map(u));case wt:return t({...i,parts:i.parts.map(u)});case ze:return t({...i,breakContents:u(i.breakContents),flatContents:u(i.flatContents)});case $e:{let{expandedStates:a,contents:s}=i;return a?(a=a.map(u),s=a[0]):s=u(s),t({...i,contents:s,expandedStates:a})}case _t:case yt:case Bt:case Ot:case St:return t({...i,contents:u(i.contents)});case qt:case Vt:case bt:case Rt:case ke:case ut:return t(i);default:throw new hr(i)}}}function Fn(e,t,r){let u=r,n=!1;function i(a){if(n)return!1;let s=t(a);s!==void 0&&(n=!0,u=s)}return dn(e,i),u}function qc(e){if(e.type===$e&&e.break||e.type===ke&&e.hard||e.type===ut)return!0}function Vc(e){return Fn(e,qc,!1)}function Ea(e){if(e.length>0){let t=At(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Yc(e){let t=new Set,r=[];function u(i){if(i.type===ut&&Ea(r),i.type===$e){if(r.push(i),t.has(i))return!1;t.add(i)}}function n(i){i.type===$e&&r.pop().break&&Ea(r)}dn(e,u,n,!0)}function Kc(e){return e.type===ke&&!e.hard?e.soft?"":" ":e.type===ze?e.flatContents:e}function zc(e){return su(e,Kc)}function Fa(e){for(e=[...e];e.length>=2&&At(!1,e,-2).type===ke&&At(!1,e,-1).type===ut;)e.length-=2;if(e.length>0){let t=Nr(At(!1,e,-1));e[e.length-1]=t}return e}function Nr(e){switch(Yt(e)){case yt:case Bt:case $e:case St:case Ot:{let t=Nr(e.contents);return{...e,contents:t}}case ze:return{...e,breakContents:Nr(e.breakContents),flatContents:Nr(e.flatContents)};case wt:return{...e,parts:Fa(e.parts)};case ot:return Fa(e);case qt:return e.replace(/[\n\r]*$/u,"");case _t:case Vt:case bt:case Rt:case ke:case ut:break;default:throw new hr(e)}return e}function Xc(e){return Nr(Jc(e))}function Qc(e){switch(Yt(e)){case wt:if(e.parts.every(t=>t===""))return"";break;case $e:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===$e&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case _t:case yt:case Bt:case St:if(!e.contents)return"";break;case ze:if(!e.flatContents&&!e.breakContents)return"";break;case ot:{let t=[];for(let r of e){if(!r)continue;let[u,...n]=Array.isArray(r)?r:[r];typeof u=="string"&&typeof At(!1,t,-1)=="string"?t[t.length-1]+=u:t.push(u),t.push(...n)}return t.length===0?"":t.length===1?t[0]:t}case qt:case Vt:case bt:case Rt:case ke:case Ot:case ut:break;default:throw new hr(e)}return e}function Jc(e){return su(e,t=>Qc(t))}function Zc(e,t=wa){return su(e,r=>typeof r=="string"?Ba(t,r.split(`
562
565
  `)):r)}function e0(e){if(e.type===ke)return!0}function t0(e){return Fn(e,e0,!1)}var Le=Symbol("MODE_BREAK"),tt=Symbol("MODE_FLAT"),Pr=Symbol("cursor");function Ra(){return{value:"",length:0,queue:[]}}function r0(e,t){return hn(e,{type:"indent"},t)}function u0(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||Ra():t<0?hn(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:hn(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function hn(e,t,r){let u=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],n="",i=0,a=0,s=0;for(let D of u)switch(D.type){case"indent":f(),r.useTabs?o(1):l(r.tabWidth);break;case"stringAlign":f(),n+=D.n,i+=D.n.length;break;case"numberAlign":a+=1,s+=D.n;break;default:throw new Error(`Unexpected type '${D.type}'`)}return h(),{...e,value:n,length:i,queue:u};function o(D){n+=" ".repeat(D),i+=r.tabWidth*D}function l(D){n+=" ".repeat(D),i+=D}function f(){r.useTabs?c():h()}function c(){a>0&&o(a),p()}function h(){s>0&&l(s),p()}function p(){a=0,s=0}}function pn(e){let t=0,r=0,u=e.length;e:for(;u--;){let n=e[u];if(n===Pr){r++;continue}for(let i=n.length-1;i>=0;i--){let a=n[i];if(a===" "||a===" ")t++;else{e[u]=n.slice(0,i+1);break e}}}if(t>0||r>0)for(e.length=u+1;r-- >0;)e.push(Pr);return t}function iu(e,t,r,u,n,i){if(r===Number.POSITIVE_INFINITY)return!0;let a=t.length,s=[e],o=[];for(;r>=0;){if(s.length===0){if(a===0)return!0;s.push(t[--a]);continue}let{mode:l,doc:f}=s.pop(),c=Yt(f);switch(c){case qt:o.push(f),r-=Sa(f);break;case ot:case wt:{let h=c===ot?f:f.parts;for(let p=h.length-1;p>=0;p--)s.push({mode:l,doc:h[p]});break}case yt:case _t:case Bt:case Ot:s.push({mode:l,doc:f.contents});break;case bt:r+=pn(o);break;case $e:{if(i&&f.break)return!1;let h=f.break?Le:l,p=f.expandedStates&&h===Le?At(!1,f.expandedStates,-1):f.contents;s.push({mode:h,doc:p});break}case ze:{let p=(f.groupId?n[f.groupId]||tt:l)===Le?f.breakContents:f.flatContents;p&&s.push({mode:l,doc:p});break}case ke:if(l===Le||f.hard)return!0;f.soft||(o.push(" "),r--);break;case St:u=!0;break;case Rt:if(u)return!1;break}}return!1}function n0(e,t){let r={},u=t.printWidth,n=jc(t.endOfLine),i=0,a=[{ind:Ra(),mode:Le,doc:e}],s=[],o=!1,l=[],f=0;for(Yc(e);a.length>0;){let{ind:h,mode:p,doc:D}=a.pop();switch(Yt(D)){case qt:{let g=n!==`
563
566
  `?xc(!1,D,`
564
567
  `,n):D;s.push(g),a.length>0&&(i+=Sa(g));break}case ot:for(let g=D.length-1;g>=0;g--)a.push({ind:h,mode:p,doc:D[g]});break;case Vt:if(f>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Pr),f++;break;case yt:a.push({ind:r0(h,t),mode:p,doc:D.contents});break;case _t:a.push({ind:u0(h,D.n,t),mode:p,doc:D.contents});break;case bt:i-=pn(s);break;case $e:switch(p){case tt:if(!o){a.push({ind:h,mode:D.break?Le:tt,doc:D.contents});break}case Le:{o=!1;let g={ind:h,mode:tt,doc:D.contents},C=u-i,y=l.length>0;if(!D.break&&iu(g,a,C,y,r))a.push(g);else if(D.expandedStates){let d=At(!1,D.expandedStates,-1);if(D.break){a.push({ind:h,mode:Le,doc:d});break}else for(let F=1;F<D.expandedStates.length+1;F++)if(F>=D.expandedStates.length){a.push({ind:h,mode:Le,doc:d});break}else{let A=D.expandedStates[F],m={ind:h,mode:tt,doc:A};if(iu(m,a,C,y,r)){a.push(m);break}}}else a.push({ind:h,mode:Le,doc:D.contents});break}}D.id&&(r[D.id]=At(!1,a,-1).mode);break;case wt:{let g=u-i,{parts:C}=D;if(C.length===0)break;let[y,d]=C,F={ind:h,mode:tt,doc:y},A={ind:h,mode:Le,doc:y},m=iu(F,[],g,l.length>0,r,!0);if(C.length===1){m?a.push(F):a.push(A);break}let O={ind:h,mode:tt,doc:d},R={ind:h,mode:Le,doc:d};if(C.length===2){m?a.push(O,F):a.push(R,A);break}C.splice(0,2);let v={ind:h,mode:p,doc:_a(C)},T=C[0];iu({ind:h,mode:tt,doc:[y,d,T]},[],g,l.length>0,r,!0)?a.push(v,O,F):m?a.push(v,R,F):a.push(v,R,A);break}case ze:case Bt:{let g=D.groupId?r[D.groupId]:p;if(g===Le){let C=D.type===ze?D.breakContents:D.negate?D.contents:au(D.contents);C&&a.push({ind:h,mode:p,doc:C})}if(g===tt){let C=D.type===ze?D.flatContents:D.negate?au(D.contents):D.contents;C&&a.push({ind:h,mode:p,doc:C})}break}case St:l.push({ind:h,mode:p,doc:D.contents});break;case Rt:l.length>0&&a.push({ind:h,mode:p,doc:En});break;case ke:switch(p){case tt:if(D.hard)o=!0;else{D.soft||(s.push(" "),i+=1);break}case Le:if(l.length>0){a.push({ind:h,mode:p,doc:D},...l.reverse()),l.length=0;break}D.literal?h.root?(s.push(n,h.root.value),i=h.root.length):(s.push(n),i=0):(i-=pn(s),s.push(n+h.value),i=h.length);break}break;case Ot:a.push({ind:h,mode:p,doc:D.contents});break;case ut:break;default:throw new hr(D)}a.length===0&&l.length>0&&(a.push(...l.reverse()),l.length=0)}let c=s.indexOf(Pr);if(c!==-1){let h=s.indexOf(Pr,c+1),p=s.slice(0,c).join(""),D=s.slice(c+1,h).join(""),g=s.slice(h+1).join("");return{formatted:p+D+g,cursorNodeStart:p.length,cursorNodeText:D}}return{formatted:s.join("")}}var Oa={join:Ba,line:Rc,softline:Oc,hardline:Tc,literalline:wa,group:ya,conditionalGroup:yc,fill:_a,lineSuffix:wc,lineSuffixBoundary:Bc,cursor:kc,breakParent:mn,ifBreak:_c,trim:Sc,indent:au,indentIfBreak:bc,align:pr,addAlignmentToDoc:Ic,markAsRoot:Cc,dedentToRoot:vc,dedent:Ac,hardlineWithoutBreakParent:En,literallineWithoutBreakParent:ba,label:Nc,concat:e=>e},Ta={printDocToString:n0},ka={willBreak:Vc,traverseDoc:dn,findInDoc:Fn,mapDoc:su,removeLines:zc,stripTrailingHardline:Xc,replaceEndOfLine:Zc,canBreak:t0},i0=va;var dr=a0(import.meta.url),l0=s0(import.meta.url),XF=o0(l0),c0=Object.create,Jr=Object.defineProperty,f0=Object.getOwnPropertyDescriptor,li=Object.getOwnPropertyNames,D0=Object.getPrototypeOf,h0=Object.prototype.hasOwnProperty,Ys=e=>{throw TypeError(e)},p0=(e,t,r)=>t in e?Jr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,oe=(e=>typeof dr<"u"?dr:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof dr<"u"?dr:t)[r]}):e)(function(e){if(typeof dr<"u")return dr.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),$u=(e,t)=>function(){return e&&(t=(0,e[li(e)[0]])(e=0)),t},U=(e,t)=>function(){return t||(0,e[li(e)[0]])((t={exports:{}}).exports,t),t.exports},wr=(e,t)=>{for(var r in t)Jr(e,r,{get:t[r],enumerable:!0})},Ks=(e,t,r,u)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of li(t))!h0.call(e,n)&&n!==r&&Jr(e,n,{get:()=>t[n],enumerable:!(u=f0(t,n))||u.enumerable});return e},dt=(e,t,r)=>(r=e!=null?c0(D0(e)):{},Ks(t||!e||!e.__esModule?Jr(r,"default",{value:e,enumerable:!0}):r,e)),d0=e=>Ks(Jr({},"__esModule",{value:!0}),e),ou=(e,t,r)=>p0(e,typeof t!="symbol"?t+"":t,r),ci=(e,t,r)=>t.has(e)||Ys("Cannot "+r),nr=(e,t,r)=>(ci(e,t,"read from private field"),r?r.call(e):t.get(e)),rr=(e,t,r)=>t.has(e)?Ys("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Hr=(e,t,r,u)=>(ci(e,t,"write to private field"),u?u.call(e,r):t.set(e,r),r),mr=(e,t,r)=>(ci(e,t,"access private method"),r),g0=U({"node_modules/fast-glob/out/utils/array.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.splitWhen=e.flatten=void 0;function t(u){return u.reduce((n,i)=>[].concat(n,i),[])}e.flatten=t;function r(u,n){let i=[[]],a=0;for(let s of u)n(s)?(a++,i[a]=[]):i[a].push(s);return i}e.splitWhen=r}}),m0=U({"node_modules/fast-glob/out/utils/errno.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isEnoentCodeError=void 0;function t(r){return r.code==="ENOENT"}e.isEnoentCodeError=t}}),E0=U({"node_modules/fast-glob/out/utils/fs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createDirentFromStats=void 0;var t=class{constructor(u,n){this.name=u,this.isBlockDevice=n.isBlockDevice.bind(n),this.isCharacterDevice=n.isCharacterDevice.bind(n),this.isDirectory=n.isDirectory.bind(n),this.isFIFO=n.isFIFO.bind(n),this.isFile=n.isFile.bind(n),this.isSocket=n.isSocket.bind(n),this.isSymbolicLink=n.isSymbolicLink.bind(n)}};function r(u,n){return new t(u,n)}e.createDirentFromStats=r}}),F0=U({"node_modules/fast-glob/out/utils/path.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.convertPosixPathToPattern=e.convertWindowsPathToPattern=e.convertPathToPattern=e.escapePosixPath=e.escapeWindowsPath=e.escape=e.removeLeadingDotSegment=e.makeAbsolute=e.unixify=void 0;var t=oe("os"),r=oe("path"),u=t.platform()==="win32",n=2,i=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,a=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,s=/^\\\\([.?])/,o=/\\(?![!()+@[\]{}])/g;function l(C){return C.replace(/\\/g,"/")}e.unixify=l;function f(C,y){return r.resolve(C,y)}e.makeAbsolute=f;function c(C){if(C.charAt(0)==="."){let y=C.charAt(1);if(y==="/"||y==="\\")return C.slice(n)}return C}e.removeLeadingDotSegment=c,e.escape=u?h:p;function h(C){return C.replace(a,"\\$2")}e.escapeWindowsPath=h;function p(C){return C.replace(i,"\\$2")}e.escapePosixPath=p,e.convertPathToPattern=u?D:g;function D(C){return h(C).replace(s,"//$1").replace(o,"/")}e.convertWindowsPathToPattern=D;function g(C){return p(C)}e.convertPosixPathToPattern=g}}),v0=U({"node_modules/is-extglob/index.js"(e,t){t.exports=function(u){if(typeof u!="string"||u==="")return!1;for(var n;n=/(\\).|([@?!+*]\(.*\))/g.exec(u);){if(n[2])return!0;u=u.slice(n.index+n[0].length)}return!1}}}),C0=U({"node_modules/is-glob/index.js"(e,t){var r=v0(),u={"{":"}","(":")","[":"]"},n=function(a){if(a[0]==="!")return!0;for(var s=0,o=-2,l=-2,f=-2,c=-2,h=-2;s<a.length;){if(a[s]==="*"||a[s+1]==="?"&&/[\].+)]/.test(a[s])||l!==-1&&a[s]==="["&&a[s+1]!=="]"&&(l<s&&(l=a.indexOf("]",s)),l>s&&(h===-1||h>l||(h=a.indexOf("\\",s),h===-1||h>l)))||f!==-1&&a[s]==="{"&&a[s+1]!=="}"&&(f=a.indexOf("}",s),f>s&&(h=a.indexOf("\\",s),h===-1||h>f))||c!==-1&&a[s]==="("&&a[s+1]==="?"&&/[:!=]/.test(a[s+2])&&a[s+3]!==")"&&(c=a.indexOf(")",s),c>s&&(h=a.indexOf("\\",s),h===-1||h>c))||o!==-1&&a[s]==="("&&a[s+1]!=="|"&&(o<s&&(o=a.indexOf("|",s)),o!==-1&&a[o+1]!==")"&&(c=a.indexOf(")",o),c>o&&(h=a.indexOf("\\",o),h===-1||h>c))))return!0;if(a[s]==="\\"){var p=a[s+1];s+=2;var D=u[p];if(D){var g=a.indexOf(D,s);g!==-1&&(s=g+1)}if(a[s]==="!")return!0}else s++}return!1},i=function(a){if(a[0]==="!")return!0;for(var s=0;s<a.length;){if(/[*?{}()[\]]/.test(a[s]))return!0;if(a[s]==="\\"){var o=a[s+1];s+=2;var l=u[o];if(l){var f=a.indexOf(l,s);f!==-1&&(s=f+1)}if(a[s]==="!")return!0}else s++}return!1};t.exports=function(s,o){if(typeof s!="string"||s==="")return!1;if(r(s))return!0;var l=n;return o&&o.strict===!1&&(l=i),l(s)}}}),A0=U({"node_modules/glob-parent/index.js"(e,t){"use strict";var r=C0(),u=oe("path").posix.dirname,n=oe("os").platform()==="win32",i="/",a=/\\/g,s=/[\{\[].*[\}\]]$/,o=/(^|[^\\])([\{\[]|\([^\)]+$)/,l=/\\([\!\*\?\|\[\]\(\)\{\}])/g;t.exports=function(c,h){var p=Object.assign({flipBackslashes:!0},h);p.flipBackslashes&&n&&c.indexOf(i)<0&&(c=c.replace(a,i)),s.test(c)&&(c+=i),c+="a";do c=u(c);while(r(c)||o.test(c));return c.replace(l,"$1")}}}),fi=U({"node_modules/braces/lib/utils.js"(e){"use strict";e.isInteger=t=>typeof t=="number"?Number.isInteger(t):typeof t=="string"&&t.trim()!==""?Number.isInteger(Number(t)):!1,e.find=(t,r)=>t.nodes.find(u=>u.type===r),e.exceedsLimit=(t,r,u=1,n)=>n===!1||!e.isInteger(t)||!e.isInteger(r)?!1:(Number(r)-Number(t))/Number(u)>=n,e.escapeNode=(t,r=0,u)=>{let n=t.nodes[r];n&&(u&&n.type===u||n.type==="open"||n.type==="close")&&n.escaped!==!0&&(n.value="\\"+n.value,n.escaped=!0)},e.encloseBrace=t=>t.type!=="brace"||t.commas>>0+t.ranges>>0?!1:(t.invalid=!0,!0),e.isInvalidBrace=t=>t.type!=="brace"?!1:t.invalid===!0||t.dollar?!0:!(t.commas>>0+t.ranges>>0)||t.open!==!0||t.close!==!0?(t.invalid=!0,!0):!1,e.isOpenOrClose=t=>t.type==="open"||t.type==="close"?!0:t.open===!0||t.close===!0,e.reduce=t=>t.reduce((r,u)=>(u.type==="text"&&r.push(u.value),u.type==="range"&&(u.type="text"),r),[]),e.flatten=(...t)=>{let r=[],u=n=>{for(let i=0;i<n.length;i++){let a=n[i];if(Array.isArray(a)){u(a);continue}a!==void 0&&r.push(a)}return r};return u(t),r}}}),Di=U({"node_modules/braces/lib/stringify.js"(e,t){"use strict";var r=fi();t.exports=(u,n={})=>{let i=(a,s={})=>{let o=n.escapeInvalid&&r.isInvalidBrace(s),l=a.invalid===!0&&n.escapeInvalid===!0,f="";if(a.value)return(o||l)&&r.isOpenOrClose(a)?"\\"+a.value:a.value;if(a.value)return a.value;if(a.nodes)for(let c of a.nodes)f+=i(c);return f};return i(u)}}}),y0=U({"node_modules/is-number/index.js"(e,t){"use strict";t.exports=function(r){return typeof r=="number"?r-r===0:typeof r=="string"&&r.trim()!==""?Number.isFinite?Number.isFinite(+r):isFinite(+r):!1}}}),_0=U({"node_modules/to-regex-range/index.js"(e,t){"use strict";var r=y0(),u=(d,F,A)=>{if(r(d)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(F===void 0||d===F)return String(d);if(r(F)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let m={relaxZeros:!0,...A};typeof m.strictZeros=="boolean"&&(m.relaxZeros=m.strictZeros===!1);let O=String(m.relaxZeros),R=String(m.shorthand),v=String(m.capture),T=String(m.wrap),P=d+":"+F+"="+O+R+v+T;if(u.cache.hasOwnProperty(P))return u.cache[P].result;let k=Math.min(d,F),I=Math.max(d,F);if(Math.abs(k-I)===1){let j=d+"|"+F;return m.capture?`(${j})`:m.wrap===!1?j:`(?:${j})`}let E=C(d)||C(F),_={min:d,max:F,a:k,b:I},b=[],B=[];if(E&&(_.isPadded=E,_.maxLen=String(_.max).length),k<0){let j=I<0?Math.abs(I):1;B=s(j,Math.abs(k),_,m),k=_.a=0}return I>=0&&(b=s(k,I,_,m)),_.negatives=B,_.positives=b,_.result=n(B,b,m),m.capture===!0?_.result=`(${_.result})`:m.wrap!==!1&&b.length+B.length>1&&(_.result=`(?:${_.result})`),u.cache[P]=_,_.result};function n(d,F,A){let m=o(d,F,"-",!1,A)||[],O=o(F,d,"",!1,A)||[],R=o(d,F,"-?",!0,A)||[];return m.concat(R).concat(O).join("|")}function i(d,F){let A=1,m=1,O=h(d,A),R=new Set([F]);for(;d<=O&&O<=F;)R.add(O),A+=1,O=h(d,A);for(O=p(F+1,m)-1;d<O&&O<=F;)R.add(O),m+=1,O=p(F+1,m)-1;return R=[...R],R.sort(f),R}function a(d,F,A){if(d===F)return{pattern:d,count:[],digits:0};let m=l(d,F),O=m.length,R="",v=0;for(let T=0;T<O;T++){let[P,k]=m[T];P===k?R+=P:P!=="0"||k!=="9"?R+=g(P,k,A):v++}return v&&(R+=A.shorthand===!0?"\\d":"[0-9]"),{pattern:R,count:[v],digits:O}}function s(d,F,A,m){let O=i(d,F),R=[],v=d,T;for(let P=0;P<O.length;P++){let k=O[P],I=a(String(v),String(k),m),E="";if(!A.isPadded&&T&&T.pattern===I.pattern){T.count.length>1&&T.count.pop(),T.count.push(I.count[0]),T.string=T.pattern+D(T.count),v=k+1;continue}A.isPadded&&(E=y(k,A,m)),I.string=E+I.pattern+D(I.count),R.push(I),v=k+1,T=I}return R}function o(d,F,A,m,O){let R=[];for(let v of d){let{string:T}=v;!m&&!c(F,"string",T)&&R.push(A+T),m&&c(F,"string",T)&&R.push(A+T)}return R}function l(d,F){let A=[];for(let m=0;m<d.length;m++)A.push([d[m],F[m]]);return A}function f(d,F){return d>F?1:F>d?-1:0}function c(d,F,A){return d.some(m=>m[F]===A)}function h(d,F){return Number(String(d).slice(0,-F)+"9".repeat(F))}function p(d,F){return d-d%Math.pow(10,F)}function D(d){let[F=0,A=""]=d;return A||F>1?`{${F+(A?","+A:"")}}`:""}function g(d,F,A){return`[${d}${F-d===1?"":"-"}${F}]`}function C(d){return/^-?(0+)\d/.test(d)}function y(d,F,A){if(!F.isPadded)return d;let m=Math.abs(F.maxLen-String(d).length),O=A.relaxZeros!==!1;switch(m){case 0:return"";case 1:return O?"0?":"0";case 2:return O?"0{0,2}":"00";default:return O?`0{0,${m}}`:`0{${m}}`}}u.cache={},u.clearCache=()=>u.cache={},t.exports=u}}),zs=U({"node_modules/fill-range/index.js"(e,t){"use strict";var r=oe("util"),u=_0(),n=m=>m!==null&&typeof m=="object"&&!Array.isArray(m),i=m=>O=>m===!0?Number(O):String(O),a=m=>typeof m=="number"||typeof m=="string"&&m!=="",s=m=>Number.isInteger(+m),o=m=>{let O=`${m}`,R=-1;if(O[0]==="-"&&(O=O.slice(1)),O==="0")return!1;for(;O[++R]==="0";);return R>0},l=(m,O,R)=>typeof m=="string"||typeof O=="string"?!0:R.stringify===!0,f=(m,O,R)=>{if(O>0){let v=m[0]==="-"?"-":"";v&&(m=m.slice(1)),m=v+m.padStart(v?O-1:O,"0")}return R===!1?String(m):m},c=(m,O)=>{let R=m[0]==="-"?"-":"";for(R&&(m=m.slice(1),O--);m.length<O;)m="0"+m;return R?"-"+m:m},h=(m,O,R)=>{m.negatives.sort((I,E)=>I<E?-1:I>E?1:0),m.positives.sort((I,E)=>I<E?-1:I>E?1:0);let v=O.capture?"":"?:",T="",P="",k;return m.positives.length&&(T=m.positives.map(I=>c(String(I),R)).join("|")),m.negatives.length&&(P=`-(${v}${m.negatives.map(I=>c(String(I),R)).join("|")})`),T&&P?k=`${T}|${P}`:k=T||P,O.wrap?`(${v}${k})`:k},p=(m,O,R,v)=>{if(R)return u(m,O,{wrap:!1,...v});let T=String.fromCharCode(m);if(m===O)return T;let P=String.fromCharCode(O);return`[${T}-${P}]`},D=(m,O,R)=>{if(Array.isArray(m)){let v=R.wrap===!0,T=R.capture?"":"?:";return v?`(${T}${m.join("|")})`:m.join("|")}return u(m,O,R)},g=(...m)=>new RangeError("Invalid range arguments: "+r.inspect(...m)),C=(m,O,R)=>{if(R.strictRanges===!0)throw g([m,O]);return[]},y=(m,O)=>{if(O.strictRanges===!0)throw new TypeError(`Expected step "${m}" to be a number`);return[]},d=(m,O,R=1,v={})=>{let T=Number(m),P=Number(O);if(!Number.isInteger(T)||!Number.isInteger(P)){if(v.strictRanges===!0)throw g([m,O]);return[]}T===0&&(T=0),P===0&&(P=0);let k=T>P,I=String(m),E=String(O),_=String(R);R=Math.max(Math.abs(R),1);let b=o(I)||o(E)||o(_),B=b?Math.max(I.length,E.length,_.length):0,j=b===!1&&l(m,O,v)===!1,w=v.transform||i(j);if(v.toRegex&&R===1)return p(c(m,B),c(O,B),!0,v);let S={negatives:[],positives:[]},N=x=>S[x<0?"negatives":"positives"].push(Math.abs(x)),H=[],Y=0;for(;k?T>=P:T<=P;)v.toRegex===!0&&R>1?N(T):H.push(f(w(T,Y),B,j)),T=k?T-R:T+R,Y++;return v.toRegex===!0?R>1?h(S,v,B):D(H,null,{wrap:!1,...v}):H},F=(m,O,R=1,v={})=>{if(!s(m)&&m.length>1||!s(O)&&O.length>1)return C(m,O,v);let T=v.transform||(j=>String.fromCharCode(j)),P=`${m}`.charCodeAt(0),k=`${O}`.charCodeAt(0),I=P>k,E=Math.min(P,k),_=Math.max(P,k);if(v.toRegex&&R===1)return p(E,_,!1,v);let b=[],B=0;for(;I?P>=k:P<=k;)b.push(T(P,B)),P=I?P-R:P+R,B++;return v.toRegex===!0?D(b,null,{wrap:!1,options:v}):b},A=(m,O,R,v={})=>{if(O==null&&a(m))return[m];if(!a(m)||!a(O))return C(m,O,v);if(typeof R=="function")return A(m,O,1,{transform:R});if(n(R))return A(m,O,0,R);let T={...v};return T.capture===!0&&(T.wrap=!0),R=R||T.step||1,s(R)?s(m)&&s(O)?d(m,O,R,T):F(m,O,Math.max(Math.abs(R),1),T):R!=null&&!n(R)?y(R,T):A(m,O,1,R)};t.exports=A}}),b0=U({"node_modules/braces/lib/compile.js"(e,t){"use strict";var r=zs(),u=fi(),n=(i,a={})=>{let s=(o,l={})=>{let f=u.isInvalidBrace(l),c=o.invalid===!0&&a.escapeInvalid===!0,h=f===!0||c===!0,p=a.escapeInvalid===!0?"\\":"",D="";if(o.isOpen===!0)return p+o.value;if(o.isClose===!0)return console.log("node.isClose",p,o.value),p+o.value;if(o.type==="open")return h?p+o.value:"(";if(o.type==="close")return h?p+o.value:")";if(o.type==="comma")return o.prev.type==="comma"?"":h?o.value:"|";if(o.value)return o.value;if(o.nodes&&o.ranges>0){let g=u.reduce(o.nodes),C=r(...g,{...a,wrap:!1,toRegex:!0,strictZeros:!0});if(C.length!==0)return g.length>1&&C.length>1?`(${C})`:C}if(o.nodes)for(let g of o.nodes)D+=s(g,o);return D};return s(i)};t.exports=n}}),w0=U({"node_modules/braces/lib/expand.js"(e,t){"use strict";var r=zs(),u=Di(),n=fi(),i=(s="",o="",l=!1)=>{let f=[];if(s=[].concat(s),o=[].concat(o),!o.length)return s;if(!s.length)return l?n.flatten(o).map(c=>`{${c}}`):o;for(let c of s)if(Array.isArray(c))for(let h of c)f.push(i(h,o,l));else for(let h of o)l===!0&&typeof h=="string"&&(h=`{${h}}`),f.push(Array.isArray(h)?i(c,h,l):c+h);return n.flatten(f)},a=(s,o={})=>{let l=o.rangeLimit===void 0?1e3:o.rangeLimit,f=(c,h={})=>{c.queue=[];let p=h,D=h.queue;for(;p.type!=="brace"&&p.type!=="root"&&p.parent;)p=p.parent,D=p.queue;if(c.invalid||c.dollar){D.push(i(D.pop(),u(c,o)));return}if(c.type==="brace"&&c.invalid!==!0&&c.nodes.length===2){D.push(i(D.pop(),["{}"]));return}if(c.nodes&&c.ranges>0){let d=n.reduce(c.nodes);if(n.exceedsLimit(...d,o.step,l))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let F=r(...d,o);F.length===0&&(F=u(c,o)),D.push(i(D.pop(),F)),c.nodes=[];return}let g=n.encloseBrace(c),C=c.queue,y=c;for(;y.type!=="brace"&&y.type!=="root"&&y.parent;)y=y.parent,C=y.queue;for(let d=0;d<c.nodes.length;d++){let F=c.nodes[d];if(F.type==="comma"&&c.type==="brace"){d===1&&C.push(""),C.push("");continue}if(F.type==="close"){D.push(i(D.pop(),C,g));continue}if(F.value&&F.type!=="open"){C.push(i(C.pop(),F.value));continue}F.nodes&&f(F,c)}return C};return n.flatten(f(s))};t.exports=a}}),B0=U({"node_modules/braces/lib/constants.js"(e,t){"use strict";t.exports={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
565
- `,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}}}),S0=U({"node_modules/braces/lib/parse.js"(e,t){"use strict";var r=Di(),{MAX_LENGTH:u,CHAR_BACKSLASH:n,CHAR_BACKTICK:i,CHAR_COMMA:a,CHAR_DOT:s,CHAR_LEFT_PARENTHESES:o,CHAR_RIGHT_PARENTHESES:l,CHAR_LEFT_CURLY_BRACE:f,CHAR_RIGHT_CURLY_BRACE:c,CHAR_LEFT_SQUARE_BRACKET:h,CHAR_RIGHT_SQUARE_BRACKET:p,CHAR_DOUBLE_QUOTE:D,CHAR_SINGLE_QUOTE:g,CHAR_NO_BREAK_SPACE:C,CHAR_ZERO_WIDTH_NOBREAK_SPACE:y}=B0(),d=(F,A={})=>{if(typeof F!="string")throw new TypeError("Expected a string");let m=A||{},O=typeof m.maxLength=="number"?Math.min(u,m.maxLength):u;if(F.length>O)throw new SyntaxError(`Input length (${F.length}), exceeds max characters (${O})`);let R={type:"root",input:F,nodes:[]},v=[R],T=R,P=R,k=0,I=F.length,E=0,_=0,b,B=()=>F[E++],j=w=>{if(w.type==="text"&&P.type==="dot"&&(P.type="text"),P&&P.type==="text"&&w.type==="text"){P.value+=w.value;return}return T.nodes.push(w),w.parent=T,w.prev=P,P=w,w};for(j({type:"bos"});E<I;)if(T=v[v.length-1],b=B(),!(b===y||b===C)){if(b===n){j({type:"text",value:(A.keepEscaping?b:"")+B()});continue}if(b===p){j({type:"text",value:"\\"+b});continue}if(b===h){k++;let w;for(;E<I&&(w=B());){if(b+=w,w===h){k++;continue}if(w===n){b+=B();continue}if(w===p&&(k--,k===0))break}j({type:"text",value:b});continue}if(b===o){T=j({type:"paren",nodes:[]}),v.push(T),j({type:"text",value:b});continue}if(b===l){if(T.type!=="paren"){j({type:"text",value:b});continue}T=v.pop(),j({type:"text",value:b}),T=v[v.length-1];continue}if(b===D||b===g||b===i){let w=b,S;for(A.keepQuotes!==!0&&(b="");E<I&&(S=B());){if(S===n){b+=S+B();continue}if(S===w){A.keepQuotes===!0&&(b+=S);break}b+=S}j({type:"text",value:b});continue}if(b===f){_++;let S={type:"brace",open:!0,close:!1,dollar:P.value&&P.value.slice(-1)==="$"||T.dollar===!0,depth:_,commas:0,ranges:0,nodes:[]};T=j(S),v.push(T),j({type:"open",value:b});continue}if(b===c){if(T.type!=="brace"){j({type:"text",value:b});continue}let w="close";T=v.pop(),T.close=!0,j({type:w,value:b}),_--,T=v[v.length-1];continue}if(b===a&&_>0){if(T.ranges>0){T.ranges=0;let w=T.nodes.shift();T.nodes=[w,{type:"text",value:r(T)}]}j({type:"comma",value:b}),T.commas++;continue}if(b===s&&_>0&&T.commas===0){let w=T.nodes;if(_===0||w.length===0){j({type:"text",value:b});continue}if(P.type==="dot"){if(T.range=[],P.value+=b,P.type="range",T.nodes.length!==3&&T.nodes.length!==5){T.invalid=!0,T.ranges=0,P.type="text";continue}T.ranges++,T.args=[];continue}if(P.type==="range"){w.pop();let S=w[w.length-1];S.value+=P.value+b,P=S,T.ranges--;continue}j({type:"dot",value:b});continue}j({type:"text",value:b})}do if(T=v.pop(),T.type!=="root"){T.nodes.forEach(N=>{N.nodes||(N.type==="open"&&(N.isOpen=!0),N.type==="close"&&(N.isClose=!0),N.nodes||(N.type="text"),N.invalid=!0)});let w=v[v.length-1],S=w.nodes.indexOf(T);w.nodes.splice(S,1,...T.nodes)}while(v.length>0);return j({type:"eos"}),R};t.exports=d}}),R0=U({"node_modules/braces/index.js"(e,t){"use strict";var r=Di(),u=b0(),n=w0(),i=S0(),a=(s,o={})=>{let l=[];if(Array.isArray(s))for(let f of s){let c=a.create(f,o);Array.isArray(c)?l.push(...c):l.push(c)}else l=[].concat(a.create(s,o));return o&&o.expand===!0&&o.nodupes===!0&&(l=[...new Set(l)]),l};a.parse=(s,o={})=>i(s,o),a.stringify=(s,o={})=>r(typeof s=="string"?a.parse(s,o):s,o),a.compile=(s,o={})=>(typeof s=="string"&&(s=a.parse(s,o)),u(s,o)),a.expand=(s,o={})=>{typeof s=="string"&&(s=a.parse(s,o));let l=n(s,o);return o.noempty===!0&&(l=l.filter(Boolean)),o.nodupes===!0&&(l=[...new Set(l)]),l},a.create=(s,o={})=>s===""||s.length<3?[s]:o.expand!==!0?a.compile(s,o):a.expand(s,o),t.exports=a}}),Uu=U({"node_modules/picomatch/lib/constants.js"(e,t){"use strict";var r=oe("path"),u="\\\\/",n=`[^${u}]`,i="\\.",a="\\+",s="\\?",o="\\/",l="(?=.)",f="[^/]",c=`(?:${o}|$)`,h=`(?:^|${o})`,p=`${i}{1,2}${c}`,D=`(?!${i})`,g=`(?!${h}${p})`,C=`(?!${i}{0,1}${c})`,y=`(?!${p})`,d=`[^.${o}]`,F=`${f}*?`,A={DOT_LITERAL:i,PLUS_LITERAL:a,QMARK_LITERAL:s,SLASH_LITERAL:o,ONE_CHAR:l,QMARK:f,END_ANCHOR:c,DOTS_SLASH:p,NO_DOT:D,NO_DOTS:g,NO_DOT_SLASH:C,NO_DOTS_SLASH:y,QMARK_NO_DOT:d,STAR:F,START_ANCHOR:h},m={...A,SLASH_LITERAL:`[${u}]`,QMARK:n,STAR:`${n}*?`,DOTS_SLASH:`${i}{1,2}(?:[${u}]|$)`,NO_DOT:`(?!${i})`,NO_DOTS:`(?!(?:^|[${u}])${i}{1,2}(?:[${u}]|$))`,NO_DOT_SLASH:`(?!${i}{0,1}(?:[${u}]|$))`,NO_DOTS_SLASH:`(?!${i}{1,2}(?:[${u}]|$))`,QMARK_NO_DOT:`[^.${u}]`,START_ANCHOR:`(?:^|[${u}])`,END_ANCHOR:`(?:[${u}]|$)`},O={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};t.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:O,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:r.sep,extglobChars(R){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${R.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(R){return R===!0?m:A}}}}),Hu=U({"node_modules/picomatch/lib/utils.js"(e){"use strict";var t=oe("path"),r=process.platform==="win32",{REGEX_BACKSLASH:u,REGEX_REMOVE_BACKSLASH:n,REGEX_SPECIAL_CHARS:i,REGEX_SPECIAL_CHARS_GLOBAL:a}=Uu();e.isObject=s=>s!==null&&typeof s=="object"&&!Array.isArray(s),e.hasRegexChars=s=>i.test(s),e.isRegexChar=s=>s.length===1&&e.hasRegexChars(s),e.escapeRegex=s=>s.replace(a,"\\$1"),e.toPosixSlashes=s=>s.replace(u,"/"),e.removeBackslashes=s=>s.replace(n,o=>o==="\\"?"":o),e.supportsLookbehinds=()=>{let s=process.version.slice(1).split(".").map(Number);return s.length===3&&s[0]>=9||s[0]===8&&s[1]>=10},e.isWindows=s=>s&&typeof s.windows=="boolean"?s.windows:r===!0||t.sep==="\\",e.escapeLast=(s,o,l)=>{let f=s.lastIndexOf(o,l);return f===-1?s:s[f-1]==="\\"?e.escapeLast(s,o,f-1):`${s.slice(0,f)}\\${s.slice(f)}`},e.removePrefix=(s,o={})=>{let l=s;return l.startsWith("./")&&(l=l.slice(2),o.prefix="./"),l},e.wrapOutput=(s,o={},l={})=>{let f=l.contains?"":"^",c=l.contains?"":"$",h=`${f}(?:${s})${c}`;return o.negated===!0&&(h=`(?:^(?!${h}).*$)`),h}}}),O0=U({"node_modules/picomatch/lib/scan.js"(e,t){"use strict";var r=Hu(),{CHAR_ASTERISK:u,CHAR_AT:n,CHAR_BACKWARD_SLASH:i,CHAR_COMMA:a,CHAR_DOT:s,CHAR_EXCLAMATION_MARK:o,CHAR_FORWARD_SLASH:l,CHAR_LEFT_CURLY_BRACE:f,CHAR_LEFT_PARENTHESES:c,CHAR_LEFT_SQUARE_BRACKET:h,CHAR_PLUS:p,CHAR_QUESTION_MARK:D,CHAR_RIGHT_CURLY_BRACE:g,CHAR_RIGHT_PARENTHESES:C,CHAR_RIGHT_SQUARE_BRACKET:y}=Uu(),d=m=>m===l||m===i,F=m=>{m.isPrefix!==!0&&(m.depth=m.isGlobstar?1/0:1)},A=(m,O)=>{let R=O||{},v=m.length-1,T=R.parts===!0||R.scanToEnd===!0,P=[],k=[],I=[],E=m,_=-1,b=0,B=0,j=!1,w=!1,S=!1,N=!1,H=!1,Y=!1,x=!1,ae=!1,Z=!1,te=!1,L=0,M,K,X={value:"",depth:0,isGlob:!1},Fe=()=>_>=v,he=()=>E.charCodeAt(_+1),le=()=>(M=K,E.charCodeAt(++_));for(;_<v;){K=le();let Q;if(K===i){x=X.backslashes=!0,K=le(),K===f&&(Y=!0);continue}if(Y===!0||K===f){for(L++;Fe()!==!0&&(K=le());){if(K===i){x=X.backslashes=!0,le();continue}if(K===f){L++;continue}if(Y!==!0&&K===s&&(K=le())===s){if(j=X.isBrace=!0,S=X.isGlob=!0,te=!0,T===!0)continue;break}if(Y!==!0&&K===a){if(j=X.isBrace=!0,S=X.isGlob=!0,te=!0,T===!0)continue;break}if(K===g&&(L--,L===0)){Y=!1,j=X.isBrace=!0,te=!0;break}}if(T===!0)continue;break}if(K===l){if(P.push(_),k.push(X),X={value:"",depth:0,isGlob:!1},te===!0)continue;if(M===s&&_===b+1){b+=2;continue}B=_+1;continue}if(R.noext!==!0&&(K===p||K===n||K===u||K===D||K===o)===!0&&he()===c){if(S=X.isGlob=!0,N=X.isExtglob=!0,te=!0,K===o&&_===b&&(Z=!0),T===!0){for(;Fe()!==!0&&(K=le());){if(K===i){x=X.backslashes=!0,K=le();continue}if(K===C){S=X.isGlob=!0,te=!0;break}}continue}break}if(K===u){if(M===u&&(H=X.isGlobstar=!0),S=X.isGlob=!0,te=!0,T===!0)continue;break}if(K===D){if(S=X.isGlob=!0,te=!0,T===!0)continue;break}if(K===h){for(;Fe()!==!0&&(Q=le());){if(Q===i){x=X.backslashes=!0,le();continue}if(Q===y){w=X.isBracket=!0,S=X.isGlob=!0,te=!0;break}}if(T===!0)continue;break}if(R.nonegate!==!0&&K===o&&_===b){ae=X.negated=!0,b++;continue}if(R.noparen!==!0&&K===c){if(S=X.isGlob=!0,T===!0){for(;Fe()!==!0&&(K=le());){if(K===c){x=X.backslashes=!0,K=le();continue}if(K===C){te=!0;break}}continue}break}if(S===!0){if(te=!0,T===!0)continue;break}}R.noext===!0&&(N=!1,S=!1);let se=E,ve="",Re="";b>0&&(ve=E.slice(0,b),E=E.slice(b),B-=b),se&&S===!0&&B>0?(se=E.slice(0,B),Re=E.slice(B)):S===!0?(se="",Re=E):se=E,se&&se!==""&&se!=="/"&&se!==E&&d(se.charCodeAt(se.length-1))&&(se=se.slice(0,-1)),R.unescape===!0&&(Re&&(Re=r.removeBackslashes(Re)),se&&x===!0&&(se=r.removeBackslashes(se)));let Ce={prefix:ve,input:m,start:b,base:se,glob:Re,isBrace:j,isBracket:w,isGlob:S,isExtglob:N,isGlobstar:H,negated:ae,negatedExtglob:Z};if(R.tokens===!0&&(Ce.maxDepth=0,d(K)||k.push(X),Ce.tokens=k),R.parts===!0||R.tokens===!0){let Q;for(let ee=0;ee<P.length;ee++){let Ve=Q?Q+1:b,V=P[ee],ce=m.slice(Ve,V);R.tokens&&(ee===0&&b!==0?(k[ee].isPrefix=!0,k[ee].value=ve):k[ee].value=ce,F(k[ee]),Ce.maxDepth+=k[ee].depth),(ee!==0||ce!=="")&&I.push(ce),Q=V}if(Q&&Q+1<m.length){let ee=m.slice(Q+1);I.push(ee),R.tokens&&(k[k.length-1].value=ee,F(k[k.length-1]),Ce.maxDepth+=k[k.length-1].depth)}Ce.slashes=P,Ce.parts=I}return Ce};t.exports=A}}),T0=U({"node_modules/picomatch/lib/parse.js"(e,t){"use strict";var r=Uu(),u=Hu(),{MAX_LENGTH:n,POSIX_REGEX_SOURCE:i,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:s,REPLACEMENTS:o}=r,l=(h,p)=>{if(typeof p.expandRange=="function")return p.expandRange(...h,p);h.sort();let D=`[${h.join("-")}]`;try{new RegExp(D)}catch{return h.map(C=>u.escapeRegex(C)).join("..")}return D},f=(h,p)=>`Missing ${h}: "${p}" - use "\\\\${p}" to match literal characters`,c=(h,p)=>{if(typeof h!="string")throw new TypeError("Expected a string");h=o[h]||h;let D={...p},g=typeof D.maxLength=="number"?Math.min(n,D.maxLength):n,C=h.length;if(C>g)throw new SyntaxError(`Input length: ${C}, exceeds maximum allowed length: ${g}`);let y={type:"bos",value:"",output:D.prepend||""},d=[y],F=D.capture?"":"?:",A=u.isWindows(p),m=r.globChars(A),O=r.extglobChars(m),{DOT_LITERAL:R,PLUS_LITERAL:v,SLASH_LITERAL:T,ONE_CHAR:P,DOTS_SLASH:k,NO_DOT:I,NO_DOT_SLASH:E,NO_DOTS_SLASH:_,QMARK:b,QMARK_NO_DOT:B,STAR:j,START_ANCHOR:w}=m,S=V=>`(${F}(?:(?!${w}${V.dot?k:R}).)*?)`,N=D.dot?"":I,H=D.dot?b:B,Y=D.bash===!0?S(D):j;D.capture&&(Y=`(${Y})`),typeof D.noext=="boolean"&&(D.noextglob=D.noext);let x={input:h,index:-1,start:0,dot:D.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:d};h=u.removePrefix(h,x),C=h.length;let ae=[],Z=[],te=[],L=y,M,K=()=>x.index===C-1,X=x.peek=(V=1)=>h[x.index+V],Fe=x.advance=()=>h[++x.index]||"",he=()=>h.slice(x.index+1),le=(V="",ce=0)=>{x.consumed+=V,x.index+=ce},se=V=>{x.output+=V.output!=null?V.output:V.value,le(V.value)},ve=()=>{let V=1;for(;X()==="!"&&(X(2)!=="("||X(3)==="?");)Fe(),x.start++,V++;return V%2===0?!1:(x.negated=!0,x.start++,!0)},Re=V=>{x[V]++,te.push(V)},Ce=V=>{x[V]--,te.pop()},Q=V=>{if(L.type==="globstar"){let ce=x.braces>0&&(V.type==="comma"||V.type==="brace"),W=V.extglob===!0||ae.length&&(V.type==="pipe"||V.type==="paren");V.type!=="slash"&&V.type!=="paren"&&!ce&&!W&&(x.output=x.output.slice(0,-L.output.length),L.type="star",L.value="*",L.output=Y,x.output+=L.output)}if(ae.length&&V.type!=="paren"&&(ae[ae.length-1].inner+=V.value),(V.value||V.output)&&se(V),L&&L.type==="text"&&V.type==="text"){L.value+=V.value,L.output=(L.output||"")+V.value;return}V.prev=L,d.push(V),L=V},ee=(V,ce)=>{let W={...O[ce],conditions:1,inner:""};W.prev=L,W.parens=x.parens,W.output=x.output;let re=(D.capture?"(":"")+W.open;Re("parens"),Q({type:V,value:ce,output:x.output?"":P}),Q({type:"paren",extglob:!0,value:Fe(),output:re}),ae.push(W)},Ve=V=>{let ce=V.close+(D.capture?")":""),W;if(V.type==="negate"){let re=Y;if(V.inner&&V.inner.length>1&&V.inner.includes("/")&&(re=S(D)),(re!==Y||K()||/^\)+$/.test(he()))&&(ce=V.close=`)$))${re}`),V.inner.includes("*")&&(W=he())&&/^\.[^\\/.]+$/.test(W)){let ne=c(W,{...p,fastpaths:!1}).output;ce=V.close=`)${ne})${re})`}V.prev.type==="bos"&&(x.negatedExtglob=!0)}Q({type:"paren",extglob:!0,value:M,output:ce}),Ce("parens")};if(D.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(h)){let V=!1,ce=h.replace(s,(W,re,ne,Ae,ye,kr)=>Ae==="\\"?(V=!0,W):Ae==="?"?re?re+Ae+(ye?b.repeat(ye.length):""):kr===0?H+(ye?b.repeat(ye.length):""):b.repeat(ne.length):Ae==="."?R.repeat(ne.length):Ae==="*"?re?re+Ae+(ye?Y:""):Y:re?W:`\\${W}`);return V===!0&&(D.unescape===!0?ce=ce.replace(/\\/g,""):ce=ce.replace(/\\+/g,W=>W.length%2===0?"\\\\":W?"\\":"")),ce===h&&D.contains===!0?(x.output=h,x):(x.output=u.wrapOutput(ce,x,p),x)}for(;!K();){if(M=Fe(),M==="\0")continue;if(M==="\\"){let W=X();if(W==="/"&&D.bash!==!0||W==="."||W===";")continue;if(!W){M+="\\",Q({type:"text",value:M});continue}let re=/^\\+/.exec(he()),ne=0;if(re&&re[0].length>2&&(ne=re[0].length,x.index+=ne,ne%2!==0&&(M+="\\")),D.unescape===!0?M=Fe():M+=Fe(),x.brackets===0){Q({type:"text",value:M});continue}}if(x.brackets>0&&(M!=="]"||L.value==="["||L.value==="[^")){if(D.posix!==!1&&M===":"){let W=L.value.slice(1);if(W.includes("[")&&(L.posix=!0,W.includes(":"))){let re=L.value.lastIndexOf("["),ne=L.value.slice(0,re),Ae=L.value.slice(re+2),ye=i[Ae];if(ye){L.value=ne+ye,x.backtrack=!0,Fe(),!y.output&&d.indexOf(L)===1&&(y.output=P);continue}}}(M==="["&&X()!==":"||M==="-"&&X()==="]")&&(M=`\\${M}`),M==="]"&&(L.value==="["||L.value==="[^")&&(M=`\\${M}`),D.posix===!0&&M==="!"&&L.value==="["&&(M="^"),L.value+=M,se({value:M});continue}if(x.quotes===1&&M!=='"'){M=u.escapeRegex(M),L.value+=M,se({value:M});continue}if(M==='"'){x.quotes=x.quotes===1?0:1,D.keepQuotes===!0&&Q({type:"text",value:M});continue}if(M==="("){Re("parens"),Q({type:"paren",value:M});continue}if(M===")"){if(x.parens===0&&D.strictBrackets===!0)throw new SyntaxError(f("opening","("));let W=ae[ae.length-1];if(W&&x.parens===W.parens+1){Ve(ae.pop());continue}Q({type:"paren",value:M,output:x.parens?")":"\\)"}),Ce("parens");continue}if(M==="["){if(D.nobracket===!0||!he().includes("]")){if(D.nobracket!==!0&&D.strictBrackets===!0)throw new SyntaxError(f("closing","]"));M=`\\${M}`}else Re("brackets");Q({type:"bracket",value:M});continue}if(M==="]"){if(D.nobracket===!0||L&&L.type==="bracket"&&L.value.length===1){Q({type:"text",value:M,output:`\\${M}`});continue}if(x.brackets===0){if(D.strictBrackets===!0)throw new SyntaxError(f("opening","["));Q({type:"text",value:M,output:`\\${M}`});continue}Ce("brackets");let W=L.value.slice(1);if(L.posix!==!0&&W[0]==="^"&&!W.includes("/")&&(M=`/${M}`),L.value+=M,se({value:M}),D.literalBrackets===!1||u.hasRegexChars(W))continue;let re=u.escapeRegex(L.value);if(x.output=x.output.slice(0,-L.value.length),D.literalBrackets===!0){x.output+=re,L.value=re;continue}L.value=`(${F}${re}|${L.value})`,x.output+=L.value;continue}if(M==="{"&&D.nobrace!==!0){Re("braces");let W={type:"brace",value:M,output:"(",outputIndex:x.output.length,tokensIndex:x.tokens.length};Z.push(W),Q(W);continue}if(M==="}"){let W=Z[Z.length-1];if(D.nobrace===!0||!W){Q({type:"text",value:M,output:M});continue}let re=")";if(W.dots===!0){let ne=d.slice(),Ae=[];for(let ye=ne.length-1;ye>=0&&(d.pop(),ne[ye].type!=="brace");ye--)ne[ye].type!=="dots"&&Ae.unshift(ne[ye].value);re=l(Ae,D),x.backtrack=!0}if(W.comma!==!0&&W.dots!==!0){let ne=x.output.slice(0,W.outputIndex),Ae=x.tokens.slice(W.tokensIndex);W.value=W.output="\\{",M=re="\\}",x.output=ne;for(let ye of Ae)x.output+=ye.output||ye.value}Q({type:"brace",value:M,output:re}),Ce("braces"),Z.pop();continue}if(M==="|"){ae.length>0&&ae[ae.length-1].conditions++,Q({type:"text",value:M});continue}if(M===","){let W=M,re=Z[Z.length-1];re&&te[te.length-1]==="braces"&&(re.comma=!0,W="|"),Q({type:"comma",value:M,output:W});continue}if(M==="/"){if(L.type==="dot"&&x.index===x.start+1){x.start=x.index+1,x.consumed="",x.output="",d.pop(),L=y;continue}Q({type:"slash",value:M,output:T});continue}if(M==="."){if(x.braces>0&&L.type==="dot"){L.value==="."&&(L.output=R);let W=Z[Z.length-1];L.type="dots",L.output+=M,L.value+=M,W.dots=!0;continue}if(x.braces+x.parens===0&&L.type!=="bos"&&L.type!=="slash"){Q({type:"text",value:M,output:R});continue}Q({type:"dot",value:M,output:R});continue}if(M==="?"){if(!(L&&L.value==="(")&&D.noextglob!==!0&&X()==="("&&X(2)!=="?"){ee("qmark",M);continue}if(L&&L.type==="paren"){let re=X(),ne=M;if(re==="<"&&!u.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(L.value==="("&&!/[!=<:]/.test(re)||re==="<"&&!/<([!=]|\w+>)/.test(he()))&&(ne=`\\${M}`),Q({type:"text",value:M,output:ne});continue}if(D.dot!==!0&&(L.type==="slash"||L.type==="bos")){Q({type:"qmark",value:M,output:B});continue}Q({type:"qmark",value:M,output:b});continue}if(M==="!"){if(D.noextglob!==!0&&X()==="("&&(X(2)!=="?"||!/[!=<:]/.test(X(3)))){ee("negate",M);continue}if(D.nonegate!==!0&&x.index===0){ve();continue}}if(M==="+"){if(D.noextglob!==!0&&X()==="("&&X(2)!=="?"){ee("plus",M);continue}if(L&&L.value==="("||D.regex===!1){Q({type:"plus",value:M,output:v});continue}if(L&&(L.type==="bracket"||L.type==="paren"||L.type==="brace")||x.parens>0){Q({type:"plus",value:M});continue}Q({type:"plus",value:v});continue}if(M==="@"){if(D.noextglob!==!0&&X()==="("&&X(2)!=="?"){Q({type:"at",extglob:!0,value:M,output:""});continue}Q({type:"text",value:M});continue}if(M!=="*"){(M==="$"||M==="^")&&(M=`\\${M}`);let W=a.exec(he());W&&(M+=W[0],x.index+=W[0].length),Q({type:"text",value:M});continue}if(L&&(L.type==="globstar"||L.star===!0)){L.type="star",L.star=!0,L.value+=M,L.output=Y,x.backtrack=!0,x.globstar=!0,le(M);continue}let V=he();if(D.noextglob!==!0&&/^\([^?]/.test(V)){ee("star",M);continue}if(L.type==="star"){if(D.noglobstar===!0){le(M);continue}let W=L.prev,re=W.prev,ne=W.type==="slash"||W.type==="bos",Ae=re&&(re.type==="star"||re.type==="globstar");if(D.bash===!0&&(!ne||V[0]&&V[0]!=="/")){Q({type:"star",value:M,output:""});continue}let ye=x.braces>0&&(W.type==="comma"||W.type==="brace"),kr=ae.length&&(W.type==="pipe"||W.type==="paren");if(!ne&&W.type!=="paren"&&!ye&&!kr){Q({type:"star",value:M,output:""});continue}for(;V.slice(0,3)==="/**";){let Dr=h[x.index+4];if(Dr&&Dr!=="/")break;V=V.slice(3),le("/**",3)}if(W.type==="bos"&&K()){L.type="globstar",L.value+=M,L.output=S(D),x.output=L.output,x.globstar=!0,le(M);continue}if(W.type==="slash"&&W.prev.type!=="bos"&&!Ae&&K()){x.output=x.output.slice(0,-(W.output+L.output).length),W.output=`(?:${W.output}`,L.type="globstar",L.output=S(D)+(D.strictSlashes?")":"|$)"),L.value+=M,x.globstar=!0,x.output+=W.output+L.output,le(M);continue}if(W.type==="slash"&&W.prev.type!=="bos"&&V[0]==="/"){let Dr=V[1]!==void 0?"|$":"";x.output=x.output.slice(0,-(W.output+L.output).length),W.output=`(?:${W.output}`,L.type="globstar",L.output=`${S(D)}${T}|${T}${Dr})`,L.value+=M,x.output+=W.output+L.output,x.globstar=!0,le(M+Fe()),Q({type:"slash",value:"/",output:""});continue}if(W.type==="bos"&&V[0]==="/"){L.type="globstar",L.value+=M,L.output=`(?:^|${T}|${S(D)}${T})`,x.output=L.output,x.globstar=!0,le(M+Fe()),Q({type:"slash",value:"/",output:""});continue}x.output=x.output.slice(0,-L.output.length),L.type="globstar",L.output=S(D),L.value+=M,x.output+=L.output,x.globstar=!0,le(M);continue}let ce={type:"star",value:M,output:Y};if(D.bash===!0){ce.output=".*?",(L.type==="bos"||L.type==="slash")&&(ce.output=N+ce.output),Q(ce);continue}if(L&&(L.type==="bracket"||L.type==="paren")&&D.regex===!0){ce.output=M,Q(ce);continue}(x.index===x.start||L.type==="slash"||L.type==="dot")&&(L.type==="dot"?(x.output+=E,L.output+=E):D.dot===!0?(x.output+=_,L.output+=_):(x.output+=N,L.output+=N),X()!=="*"&&(x.output+=P,L.output+=P)),Q(ce)}for(;x.brackets>0;){if(D.strictBrackets===!0)throw new SyntaxError(f("closing","]"));x.output=u.escapeLast(x.output,"["),Ce("brackets")}for(;x.parens>0;){if(D.strictBrackets===!0)throw new SyntaxError(f("closing",")"));x.output=u.escapeLast(x.output,"("),Ce("parens")}for(;x.braces>0;){if(D.strictBrackets===!0)throw new SyntaxError(f("closing","}"));x.output=u.escapeLast(x.output,"{"),Ce("braces")}if(D.strictSlashes!==!0&&(L.type==="star"||L.type==="bracket")&&Q({type:"maybe_slash",value:"",output:`${T}?`}),x.backtrack===!0){x.output="";for(let V of x.tokens)x.output+=V.output!=null?V.output:V.value,V.suffix&&(x.output+=V.suffix)}return x};c.fastpaths=(h,p)=>{let D={...p},g=typeof D.maxLength=="number"?Math.min(n,D.maxLength):n,C=h.length;if(C>g)throw new SyntaxError(`Input length: ${C}, exceeds maximum allowed length: ${g}`);h=o[h]||h;let y=u.isWindows(p),{DOT_LITERAL:d,SLASH_LITERAL:F,ONE_CHAR:A,DOTS_SLASH:m,NO_DOT:O,NO_DOTS:R,NO_DOTS_SLASH:v,STAR:T,START_ANCHOR:P}=r.globChars(y),k=D.dot?R:O,I=D.dot?v:O,E=D.capture?"":"?:",_={negated:!1,prefix:""},b=D.bash===!0?".*?":T;D.capture&&(b=`(${b})`);let B=N=>N.noglobstar===!0?b:`(${E}(?:(?!${P}${N.dot?m:d}).)*?)`,j=N=>{switch(N){case"*":return`${k}${A}${b}`;case".*":return`${d}${A}${b}`;case"*.*":return`${k}${b}${d}${A}${b}`;case"*/*":return`${k}${b}${F}${A}${I}${b}`;case"**":return k+B(D);case"**/*":return`(?:${k}${B(D)}${F})?${I}${A}${b}`;case"**/*.*":return`(?:${k}${B(D)}${F})?${I}${b}${d}${A}${b}`;case"**/.*":return`(?:${k}${B(D)}${F})?${d}${A}${b}`;default:{let H=/^(.*?)\.(\w+)$/.exec(N);if(!H)return;let Y=j(H[1]);return Y?Y+d+H[2]:void 0}}},w=u.removePrefix(h,_),S=j(w);return S&&D.strictSlashes!==!0&&(S+=`${F}?`),S},t.exports=c}}),k0=U({"node_modules/picomatch/lib/picomatch.js"(e,t){"use strict";var r=oe("path"),u=O0(),n=T0(),i=Hu(),a=Uu(),s=l=>l&&typeof l=="object"&&!Array.isArray(l),o=(l,f,c=!1)=>{if(Array.isArray(l)){let F=l.map(m=>o(m,f,c));return m=>{for(let O of F){let R=O(m);if(R)return R}return!1}}let h=s(l)&&l.tokens&&l.input;if(l===""||typeof l!="string"&&!h)throw new TypeError("Expected pattern to be a non-empty string");let p=f||{},D=i.isWindows(f),g=h?o.compileRe(l,f):o.makeRe(l,f,!1,!0),C=g.state;delete g.state;let y=()=>!1;if(p.ignore){let F={...f,ignore:null,onMatch:null,onResult:null};y=o(p.ignore,F,c)}let d=(F,A=!1)=>{let{isMatch:m,match:O,output:R}=o.test(F,g,f,{glob:l,posix:D}),v={glob:l,state:C,regex:g,posix:D,input:F,output:R,match:O,isMatch:m};return typeof p.onResult=="function"&&p.onResult(v),m===!1?(v.isMatch=!1,A?v:!1):y(F)?(typeof p.onIgnore=="function"&&p.onIgnore(v),v.isMatch=!1,A?v:!1):(typeof p.onMatch=="function"&&p.onMatch(v),A?v:!0)};return c&&(d.state=C),d};o.test=(l,f,c,{glob:h,posix:p}={})=>{if(typeof l!="string")throw new TypeError("Expected input to be a string");if(l==="")return{isMatch:!1,output:""};let D=c||{},g=D.format||(p?i.toPosixSlashes:null),C=l===h,y=C&&g?g(l):l;return C===!1&&(y=g?g(l):l,C=y===h),(C===!1||D.capture===!0)&&(D.matchBase===!0||D.basename===!0?C=o.matchBase(l,f,c,p):C=f.exec(y)),{isMatch:!!C,match:C,output:y}},o.matchBase=(l,f,c,h=i.isWindows(c))=>(f instanceof RegExp?f:o.makeRe(f,c)).test(r.basename(l)),o.isMatch=(l,f,c)=>o(f,c)(l),o.parse=(l,f)=>Array.isArray(l)?l.map(c=>o.parse(c,f)):n(l,{...f,fastpaths:!1}),o.scan=(l,f)=>u(l,f),o.compileRe=(l,f,c=!1,h=!1)=>{if(c===!0)return l.output;let p=f||{},D=p.contains?"":"^",g=p.contains?"":"$",C=`${D}(?:${l.output})${g}`;l&&l.negated===!0&&(C=`^(?!${C}).*$`);let y=o.toRegex(C,f);return h===!0&&(y.state=l),y},o.makeRe=(l,f={},c=!1,h=!1)=>{if(!l||typeof l!="string")throw new TypeError("Expected a non-empty string");let p={negated:!1,fastpaths:!0};return f.fastpaths!==!1&&(l[0]==="."||l[0]==="*")&&(p.output=n.fastpaths(l,f)),p.output||(p=n(l,f)),o.compileRe(p,f,c,h)},o.toRegex=(l,f)=>{try{let c=f||{};return new RegExp(l,c.flags||(c.nocase?"i":""))}catch(c){if(f&&f.debug===!0)throw c;return/$^/}},o.constants=a,t.exports=o}}),I0=U({"node_modules/picomatch/index.js"(e,t){"use strict";t.exports=k0()}}),Xs=U({"node_modules/micromatch/index.js"(e,t){"use strict";var r=oe("util"),u=R0(),n=I0(),i=Hu(),a=o=>o===""||o==="./",s=(o,l,f)=>{l=[].concat(l),o=[].concat(o);let c=new Set,h=new Set,p=new Set,D=0,g=d=>{p.add(d.output),f&&f.onResult&&f.onResult(d)};for(let d=0;d<l.length;d++){let F=n(String(l[d]),{...f,onResult:g},!0),A=F.state.negated||F.state.negatedExtglob;A&&D++;for(let m of o){let O=F(m,!0);(A?!O.isMatch:O.isMatch)&&(A?c.add(O.output):(c.delete(O.output),h.add(O.output)))}}let y=(D===l.length?[...p]:[...h]).filter(d=>!c.has(d));if(f&&y.length===0){if(f.failglob===!0)throw new Error(`No matches found for "${l.join(", ")}"`);if(f.nonull===!0||f.nullglob===!0)return f.unescape?l.map(d=>d.replace(/\\/g,"")):l}return y};s.match=s,s.matcher=(o,l)=>n(o,l),s.isMatch=(o,l,f)=>n(l,f)(o),s.any=s.isMatch,s.not=(o,l,f={})=>{l=[].concat(l).map(String);let c=new Set,h=[],p=g=>{f.onResult&&f.onResult(g),h.push(g.output)},D=new Set(s(o,l,{...f,onResult:p}));for(let g of h)D.has(g)||c.add(g);return[...c]},s.contains=(o,l,f)=>{if(typeof o!="string")throw new TypeError(`Expected a string: "${r.inspect(o)}"`);if(Array.isArray(l))return l.some(c=>s.contains(o,c,f));if(typeof l=="string"){if(a(o)||a(l))return!1;if(o.includes(l)||o.startsWith("./")&&o.slice(2).includes(l))return!0}return s.isMatch(o,l,{...f,contains:!0})},s.matchKeys=(o,l,f)=>{if(!i.isObject(o))throw new TypeError("Expected the first argument to be an object");let c=s(Object.keys(o),l,f),h={};for(let p of c)h[p]=o[p];return h},s.some=(o,l,f)=>{let c=[].concat(o);for(let h of[].concat(l)){let p=n(String(h),f);if(c.some(D=>p(D)))return!0}return!1},s.every=(o,l,f)=>{let c=[].concat(o);for(let h of[].concat(l)){let p=n(String(h),f);if(!c.every(D=>p(D)))return!1}return!0},s.all=(o,l,f)=>{if(typeof o!="string")throw new TypeError(`Expected a string: "${r.inspect(o)}"`);return[].concat(l).every(c=>n(c,f)(o))},s.capture=(o,l,f)=>{let c=i.isWindows(f),p=n.makeRe(String(o),{...f,capture:!0}).exec(c?i.toPosixSlashes(l):l);if(p)return p.slice(1).map(D=>D===void 0?"":D)},s.makeRe=(...o)=>n.makeRe(...o),s.scan=(...o)=>n.scan(...o),s.parse=(o,l)=>{let f=[];for(let c of[].concat(o||[]))for(let h of u(String(c),l))f.push(n.parse(h,l));return f},s.braces=(o,l)=>{if(typeof o!="string")throw new TypeError("Expected a string");return l&&l.nobrace===!0||!/\{.*\}/.test(o)?[o]:u(o,l)},s.braceExpand=(o,l)=>{if(typeof o!="string")throw new TypeError("Expected a string");return s.braces(o,{...l,expand:!0})},t.exports=s}}),N0=U({"node_modules/fast-glob/out/utils/pattern.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeDuplicateSlashes=e.matchAny=e.convertPatternsToRe=e.makeRe=e.getPatternParts=e.expandBraceExpansion=e.expandPatternsWithBraceExpansion=e.isAffectDepthOfReadingPattern=e.endsWithSlashGlobStar=e.hasGlobStar=e.getBaseDirectory=e.isPatternRelatedToParentDirectory=e.getPatternsOutsideCurrentDirectory=e.getPatternsInsideCurrentDirectory=e.getPositivePatterns=e.getNegativePatterns=e.isPositivePattern=e.isNegativePattern=e.convertToNegativePattern=e.convertToPositivePattern=e.isDynamicPattern=e.isStaticPattern=void 0;var t=oe("path"),r=A0(),u=Xs(),n="**",i="\\",a=/[*?]|^!/,s=/\[[^[]*]/,o=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,l=/[!*+?@]\([^(]*\)/,f=/,|\.\./,c=/(?!^)\/{2,}/g;function h(S,N={}){return!p(S,N)}e.isStaticPattern=h;function p(S,N={}){return S===""?!1:!!(N.caseSensitiveMatch===!1||S.includes(i)||a.test(S)||s.test(S)||o.test(S)||N.extglob!==!1&&l.test(S)||N.braceExpansion!==!1&&D(S))}e.isDynamicPattern=p;function D(S){let N=S.indexOf("{");if(N===-1)return!1;let H=S.indexOf("}",N+1);if(H===-1)return!1;let Y=S.slice(N,H);return f.test(Y)}function g(S){return y(S)?S.slice(1):S}e.convertToPositivePattern=g;function C(S){return"!"+S}e.convertToNegativePattern=C;function y(S){return S.startsWith("!")&&S[1]!=="("}e.isNegativePattern=y;function d(S){return!y(S)}e.isPositivePattern=d;function F(S){return S.filter(y)}e.getNegativePatterns=F;function A(S){return S.filter(d)}e.getPositivePatterns=A;function m(S){return S.filter(N=>!R(N))}e.getPatternsInsideCurrentDirectory=m;function O(S){return S.filter(R)}e.getPatternsOutsideCurrentDirectory=O;function R(S){return S.startsWith("..")||S.startsWith("./..")}e.isPatternRelatedToParentDirectory=R;function v(S){return r(S,{flipBackslashes:!1})}e.getBaseDirectory=v;function T(S){return S.includes(n)}e.hasGlobStar=T;function P(S){return S.endsWith("/"+n)}e.endsWithSlashGlobStar=P;function k(S){let N=t.basename(S);return P(S)||h(N)}e.isAffectDepthOfReadingPattern=k;function I(S){return S.reduce((N,H)=>N.concat(E(H)),[])}e.expandPatternsWithBraceExpansion=I;function E(S){let N=u.braces(S,{expand:!0,nodupes:!0,keepEscaping:!0});return N.sort((H,Y)=>H.length-Y.length),N.filter(H=>H!=="")}e.expandBraceExpansion=E;function _(S,N){let{parts:H}=u.scan(S,Object.assign(Object.assign({},N),{parts:!0}));return H.length===0&&(H=[S]),H[0].startsWith("/")&&(H[0]=H[0].slice(1),H.unshift("")),H}e.getPatternParts=_;function b(S,N){return u.makeRe(S,N)}e.makeRe=b;function B(S,N){return S.map(H=>b(H,N))}e.convertPatternsToRe=B;function j(S,N){return N.some(H=>H.test(S))}e.matchAny=j;function w(S){return S.replace(c,"/")}e.removeDuplicateSlashes=w}}),P0=U({"node_modules/merge2/index.js"(e,t){"use strict";var r=oe("stream"),u=r.PassThrough,n=Array.prototype.slice;t.exports=i;function i(){let s=[],o=n.call(arguments),l=!1,f=o[o.length-1];f&&!Array.isArray(f)&&f.pipe==null?o.pop():f={};let c=f.end!==!1,h=f.pipeError===!0;f.objectMode==null&&(f.objectMode=!0),f.highWaterMark==null&&(f.highWaterMark=64*1024);let p=u(f);function D(){for(let y=0,d=arguments.length;y<d;y++)s.push(a(arguments[y],f));return g(),this}function g(){if(l)return;l=!0;let y=s.shift();if(!y){process.nextTick(C);return}Array.isArray(y)||(y=[y]);let d=y.length+1;function F(){--d>0||(l=!1,g())}function A(m){function O(){m.removeListener("merge2UnpipeEnd",O),m.removeListener("end",O),h&&m.removeListener("error",R),F()}function R(v){p.emit("error",v)}if(m._readableState.endEmitted)return F();m.on("merge2UnpipeEnd",O),m.on("end",O),h&&m.on("error",R),m.pipe(p,{end:!1}),m.resume()}for(let m=0;m<y.length;m++)A(y[m]);F()}function C(){l=!1,p.emit("queueDrain"),c&&p.end()}return p.setMaxListeners(0),p.add=D,p.on("unpipe",function(y){y.emit("merge2UnpipeEnd")}),o.length&&D.apply(null,o),p}function a(s,o){if(Array.isArray(s))for(let l=0,f=s.length;l<f;l++)s[l]=a(s[l],o);else{if(!s._readableState&&s.pipe&&(s=s.pipe(u(o))),!s._readableState||!s.pause||!s.pipe)throw new Error("Only readable stream can be merged.");s.pause()}return s}}}),L0=U({"node_modules/fast-glob/out/utils/stream.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.merge=void 0;var t=P0();function r(n){let i=t(n);return n.forEach(a=>{a.once("error",s=>i.emit("error",s))}),i.once("close",()=>u(n)),i.once("end",()=>u(n)),i}e.merge=r;function u(n){n.forEach(i=>i.emit("close"))}}}),x0=U({"node_modules/fast-glob/out/utils/string.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isEmpty=e.isString=void 0;function t(u){return typeof u=="string"}e.isString=t;function r(u){return u===""}e.isEmpty=r}}),jt=U({"node_modules/fast-glob/out/utils/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.string=e.stream=e.pattern=e.path=e.fs=e.errno=e.array=void 0;var t=g0();e.array=t;var r=m0();e.errno=r;var u=E0();e.fs=u;var n=F0();e.path=n;var i=N0();e.pattern=i;var a=L0();e.stream=a;var s=x0();e.string=s}}),j0=U({"node_modules/fast-glob/out/managers/tasks.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.convertPatternGroupToTask=e.convertPatternGroupsToTasks=e.groupPatternsByBaseDirectory=e.getNegativePatternsAsPositive=e.getPositivePatterns=e.convertPatternsToTasks=e.generate=void 0;var t=jt();function r(f,c){let h=u(f,c),p=u(c.ignore,c),D=i(h),g=a(h,p),C=D.filter(A=>t.pattern.isStaticPattern(A,c)),y=D.filter(A=>t.pattern.isDynamicPattern(A,c)),d=n(C,g,!1),F=n(y,g,!0);return d.concat(F)}e.generate=r;function u(f,c){let h=f;return c.braceExpansion&&(h=t.pattern.expandPatternsWithBraceExpansion(h)),c.baseNameMatch&&(h=h.map(p=>p.includes("/")?p:`**/${p}`)),h.map(p=>t.pattern.removeDuplicateSlashes(p))}function n(f,c,h){let p=[],D=t.pattern.getPatternsOutsideCurrentDirectory(f),g=t.pattern.getPatternsInsideCurrentDirectory(f),C=s(D),y=s(g);return p.push(...o(C,c,h)),"."in y?p.push(l(".",g,c,h)):p.push(...o(y,c,h)),p}e.convertPatternsToTasks=n;function i(f){return t.pattern.getPositivePatterns(f)}e.getPositivePatterns=i;function a(f,c){return t.pattern.getNegativePatterns(f).concat(c).map(t.pattern.convertToPositivePattern)}e.getNegativePatternsAsPositive=a;function s(f){let c={};return f.reduce((h,p)=>{let D=t.pattern.getBaseDirectory(p);return D in h?h[D].push(p):h[D]=[p],h},c)}e.groupPatternsByBaseDirectory=s;function o(f,c,h){return Object.keys(f).map(p=>l(p,f[p],c,h))}e.convertPatternGroupsToTasks=o;function l(f,c,h,p){return{dynamic:p,positive:c,negative:h,base:f,patterns:[].concat(c,h.map(t.pattern.convertToNegativePattern))}}e.convertPatternGroupToTask=l}}),M0=U({"node_modules/@nodelib/fs.stat/out/providers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.read=void 0;function t(n,i,a){i.fs.lstat(n,(s,o)=>{if(s!==null){r(a,s);return}if(!o.isSymbolicLink()||!i.followSymbolicLink){u(a,o);return}i.fs.stat(n,(l,f)=>{if(l!==null){if(i.throwErrorOnBrokenSymbolicLink){r(a,l);return}u(a,o);return}i.markSymbolicLink&&(f.isSymbolicLink=()=>!0),u(a,f)})})}e.read=t;function r(n,i){n(i)}function u(n,i){n(null,i)}}}),$0=U({"node_modules/@nodelib/fs.stat/out/providers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.read=void 0;function t(r,u){let n=u.fs.lstatSync(r);if(!n.isSymbolicLink()||!u.followSymbolicLink)return n;try{let i=u.fs.statSync(r);return u.markSymbolicLink&&(i.isSymbolicLink=()=>!0),i}catch(i){if(!u.throwErrorOnBrokenSymbolicLink)return n;throw i}}e.read=t}}),U0=U({"node_modules/@nodelib/fs.stat/out/adapters/fs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;var t=oe("fs");e.FILE_SYSTEM_ADAPTER={lstat:t.lstat,stat:t.stat,lstatSync:t.lstatSync,statSync:t.statSync};function r(u){return u===void 0?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),u)}e.createFileSystemAdapter=r}}),H0=U({"node_modules/@nodelib/fs.stat/out/settings.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=U0(),r=class{constructor(u={}){this._options=u,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=t.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(u,n){return u??n}};e.default=r}}),Br=U({"node_modules/@nodelib/fs.stat/out/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.statSync=e.stat=e.Settings=void 0;var t=M0(),r=$0(),u=H0();e.Settings=u.default;function n(s,o,l){if(typeof o=="function"){t.read(s,a(),o);return}t.read(s,a(o),l)}e.stat=n;function i(s,o){let l=a(o);return r.read(s,l)}e.statSync=i;function a(s={}){return s instanceof u.default?s:new u.default(s)}}}),G0=U({"node_modules/queue-microtask/index.js"(e,t){var r;t.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):u=>(r||(r=Promise.resolve())).then(u).catch(n=>setTimeout(()=>{throw n},0))}}),W0=U({"node_modules/run-parallel/index.js"(e,t){t.exports=u;var r=G0();function u(n,i){let a,s,o,l=!0;Array.isArray(n)?(a=[],s=n.length):(o=Object.keys(n),a={},s=o.length);function f(h){function p(){i&&i(h,a),i=null}l?r(p):p()}function c(h,p,D){a[h]=D,(--s===0||p)&&f(p)}s?o?o.forEach(function(h){n[h](function(p,D){c(h,p,D)})}):n.forEach(function(h,p){h(function(D,g){c(p,D,g)})}):f(null),l=!1}}}),Qs=U({"node_modules/@nodelib/fs.scandir/out/constants.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var t=process.versions.node.split(".");if(t[0]===void 0||t[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var r=Number.parseInt(t[0],10),u=Number.parseInt(t[1],10),n=10,i=10,a=r>n,s=r===n&&u>=i;e.IS_SUPPORT_READDIR_WITH_FILE_TYPES=a||s}}),q0=U({"node_modules/@nodelib/fs.scandir/out/utils/fs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createDirentFromStats=void 0;var t=class{constructor(u,n){this.name=u,this.isBlockDevice=n.isBlockDevice.bind(n),this.isCharacterDevice=n.isCharacterDevice.bind(n),this.isDirectory=n.isDirectory.bind(n),this.isFIFO=n.isFIFO.bind(n),this.isFile=n.isFile.bind(n),this.isSocket=n.isSocket.bind(n),this.isSymbolicLink=n.isSymbolicLink.bind(n)}};function r(u,n){return new t(u,n)}e.createDirentFromStats=r}}),Js=U({"node_modules/@nodelib/fs.scandir/out/utils/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fs=void 0;var t=q0();e.fs=t}}),Zs=U({"node_modules/@nodelib/fs.scandir/out/providers/common.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.joinPathSegments=void 0;function t(r,u,n){return r.endsWith(n)?r+u:r+n+u}e.joinPathSegments=t}}),V0=U({"node_modules/@nodelib/fs.scandir/out/providers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.readdir=e.readdirWithFileTypes=e.read=void 0;var t=Br(),r=W0(),u=Qs(),n=Js(),i=Zs();function a(h,p,D){if(!p.stats&&u.IS_SUPPORT_READDIR_WITH_FILE_TYPES){s(h,p,D);return}l(h,p,D)}e.read=a;function s(h,p,D){p.fs.readdir(h,{withFileTypes:!0},(g,C)=>{if(g!==null){f(D,g);return}let y=C.map(F=>({dirent:F,name:F.name,path:i.joinPathSegments(h,F.name,p.pathSegmentSeparator)}));if(!p.followSymbolicLinks){c(D,y);return}let d=y.map(F=>o(F,p));r(d,(F,A)=>{if(F!==null){f(D,F);return}c(D,A)})})}e.readdirWithFileTypes=s;function o(h,p){return D=>{if(!h.dirent.isSymbolicLink()){D(null,h);return}p.fs.stat(h.path,(g,C)=>{if(g!==null){if(p.throwErrorOnBrokenSymbolicLink){D(g);return}D(null,h);return}h.dirent=n.fs.createDirentFromStats(h.name,C),D(null,h)})}}function l(h,p,D){p.fs.readdir(h,(g,C)=>{if(g!==null){f(D,g);return}let y=C.map(d=>{let F=i.joinPathSegments(h,d,p.pathSegmentSeparator);return A=>{t.stat(F,p.fsStatSettings,(m,O)=>{if(m!==null){A(m);return}let R={name:d,path:F,dirent:n.fs.createDirentFromStats(d,O)};p.stats&&(R.stats=O),A(null,R)})}});r(y,(d,F)=>{if(d!==null){f(D,d);return}c(D,F)})})}e.readdir=l;function f(h,p){h(p)}function c(h,p){h(null,p)}}}),Y0=U({"node_modules/@nodelib/fs.scandir/out/providers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.readdir=e.readdirWithFileTypes=e.read=void 0;var t=Br(),r=Qs(),u=Js(),n=Zs();function i(o,l){return!l.stats&&r.IS_SUPPORT_READDIR_WITH_FILE_TYPES?a(o,l):s(o,l)}e.read=i;function a(o,l){return l.fs.readdirSync(o,{withFileTypes:!0}).map(c=>{let h={dirent:c,name:c.name,path:n.joinPathSegments(o,c.name,l.pathSegmentSeparator)};if(h.dirent.isSymbolicLink()&&l.followSymbolicLinks)try{let p=l.fs.statSync(h.path);h.dirent=u.fs.createDirentFromStats(h.name,p)}catch(p){if(l.throwErrorOnBrokenSymbolicLink)throw p}return h})}e.readdirWithFileTypes=a;function s(o,l){return l.fs.readdirSync(o).map(c=>{let h=n.joinPathSegments(o,c,l.pathSegmentSeparator),p=t.statSync(h,l.fsStatSettings),D={name:c,path:h,dirent:u.fs.createDirentFromStats(c,p)};return l.stats&&(D.stats=p),D})}e.readdir=s}}),K0=U({"node_modules/@nodelib/fs.scandir/out/adapters/fs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;var t=oe("fs");e.FILE_SYSTEM_ADAPTER={lstat:t.lstat,stat:t.stat,lstatSync:t.lstatSync,statSync:t.statSync,readdir:t.readdir,readdirSync:t.readdirSync};function r(u){return u===void 0?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),u)}e.createFileSystemAdapter=r}}),z0=U({"node_modules/@nodelib/fs.scandir/out/settings.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=oe("path"),r=Br(),u=K0(),n=class{constructor(i={}){this._options=i,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=u.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,t.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new r.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(i,a){return i??a}};e.default=n}}),hi=U({"node_modules/@nodelib/fs.scandir/out/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Settings=e.scandirSync=e.scandir=void 0;var t=V0(),r=Y0(),u=z0();e.Settings=u.default;function n(s,o,l){if(typeof o=="function"){t.read(s,a(),o);return}t.read(s,a(o),l)}e.scandir=n;function i(s,o){let l=a(o);return r.read(s,l)}e.scandirSync=i;function a(s={}){return s instanceof u.default?s:new u.default(s)}}}),X0=U({"node_modules/reusify/reusify.js"(e,t){"use strict";function r(u){var n=new u,i=n;function a(){var o=n;return o.next?n=o.next:(n=new u,i=n),o.next=null,o}function s(o){i.next=o,i=o}return{get:a,release:s}}t.exports=r}}),Q0=U({"node_modules/fastq/queue.js"(e,t){"use strict";var r=X0();function u(s,o,l){if(typeof s=="function"&&(l=o,o=s,s=null),!(l>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var f=r(i),c=null,h=null,p=0,D=null,g={push:O,drain:n,saturated:n,pause:y,paused:!1,get concurrency(){return l},set concurrency(I){if(!(I>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(l=I,!g.paused)for(;c&&p<l;)p++,v()},running:C,resume:A,idle:m,length:d,getQueue:F,unshift:R,empty:n,kill:T,killAndDrain:P,error:k};return g;function C(){return p}function y(){g.paused=!0}function d(){for(var I=c,E=0;I;)I=I.next,E++;return E}function F(){for(var I=c,E=[];I;)E.push(I.value),I=I.next;return E}function A(){if(g.paused){if(g.paused=!1,c===null){p++,v();return}for(;c&&p<l;)p++,v()}}function m(){return p===0&&g.length()===0}function O(I,E){var _=f.get();_.context=s,_.release=v,_.value=I,_.callback=E||n,_.errorHandler=D,p>=l||g.paused?h?(h.next=_,h=_):(c=_,h=_,g.saturated()):(p++,o.call(s,_.value,_.worked))}function R(I,E){var _=f.get();_.context=s,_.release=v,_.value=I,_.callback=E||n,_.errorHandler=D,p>=l||g.paused?c?(_.next=c,c=_):(c=_,h=_,g.saturated()):(p++,o.call(s,_.value,_.worked))}function v(I){I&&f.release(I);var E=c;E&&p<=l?g.paused?p--:(h===c&&(h=null),c=E.next,E.next=null,o.call(s,E.value,E.worked),h===null&&g.empty()):--p===0&&g.drain()}function T(){c=null,h=null,g.drain=n}function P(){c=null,h=null,g.drain(),g.drain=n}function k(I){D=I}}function n(){}function i(){this.value=null,this.callback=n,this.next=null,this.release=n,this.context=null,this.errorHandler=null;var s=this;this.worked=function(l,f){var c=s.callback,h=s.errorHandler,p=s.value;s.value=null,s.callback=n,s.errorHandler&&h(l,p),c.call(s.context,l,f),s.release(s)}}function a(s,o,l){typeof s=="function"&&(l=o,o=s,s=null);function f(y,d){o.call(this,y).then(function(F){d(null,F)},d)}var c=u(s,f,l),h=c.push,p=c.unshift;return c.push=D,c.unshift=g,c.drained=C,c;function D(y){var d=new Promise(function(F,A){h(y,function(m,O){if(m){A(m);return}F(O)})});return d.catch(n),d}function g(y){var d=new Promise(function(F,A){p(y,function(m,O){if(m){A(m);return}F(O)})});return d.catch(n),d}function C(){if(c.idle())return new Promise(function(F){F()});var y=c.drain,d=new Promise(function(F){c.drain=function(){y(),F()}});return d}}t.exports=u,t.exports.promise=a}}),pi=U({"node_modules/@nodelib/fs.walk/out/readers/common.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.joinPathSegments=e.replacePathSegmentSeparator=e.isAppliedFilter=e.isFatalError=void 0;function t(i,a){return i.errorFilter===null?!0:!i.errorFilter(a)}e.isFatalError=t;function r(i,a){return i===null||i(a)}e.isAppliedFilter=r;function u(i,a){return i.split(/[/\\]/).join(a)}e.replacePathSegmentSeparator=u;function n(i,a,s){return i===""?a:i.endsWith(s)?i+a:i+s+a}e.joinPathSegments=n}}),eo=U({"node_modules/@nodelib/fs.walk/out/readers/reader.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=pi(),r=class{constructor(u,n){this._root=u,this._settings=n,this._root=t.replacePathSegmentSeparator(u,n.pathSegmentSeparator)}};e.default=r}}),to=U({"node_modules/@nodelib/fs.walk/out/readers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=oe("events"),r=hi(),u=Q0(),n=pi(),i=eo(),a=class extends i.default{constructor(s,o){super(s,o),this._settings=o,this._scandir=r.scandir,this._emitter=new t.EventEmitter,this._queue=u(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(s){this._emitter.on("entry",s)}onError(s){this._emitter.once("error",s)}onEnd(s){this._emitter.once("end",s)}_pushToQueue(s,o){let l={directory:s,base:o};this._queue.push(l,f=>{f!==null&&this._handleError(f)})}_worker(s,o){this._scandir(s.directory,this._settings.fsScandirSettings,(l,f)=>{if(l!==null){o(l,void 0);return}for(let c of f)this._handleEntry(c,s.base);o(null,void 0)})}_handleError(s){this._isDestroyed||!n.isFatalError(this._settings,s)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",s))}_handleEntry(s,o){if(this._isDestroyed||this._isFatalError)return;let l=s.path;o!==void 0&&(s.path=n.joinPathSegments(o,s.name,this._settings.pathSegmentSeparator)),n.isAppliedFilter(this._settings.entryFilter,s)&&this._emitEntry(s),s.dirent.isDirectory()&&n.isAppliedFilter(this._settings.deepFilter,s)&&this._pushToQueue(l,o===void 0?void 0:s.path)}_emitEntry(s){this._emitter.emit("entry",s)}};e.default=a}}),J0=U({"node_modules/@nodelib/fs.walk/out/providers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=to(),r=class{constructor(i,a){this._root=i,this._settings=a,this._reader=new t.default(this._root,this._settings),this._storage=[]}read(i){this._reader.onError(a=>{u(i,a)}),this._reader.onEntry(a=>{this._storage.push(a)}),this._reader.onEnd(()=>{n(i,this._storage)}),this._reader.read()}};e.default=r;function u(i,a){i(a)}function n(i,a){i(null,a)}}}),Z0=U({"node_modules/@nodelib/fs.walk/out/providers/stream.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=oe("stream"),r=to(),u=class{constructor(n,i){this._root=n,this._settings=i,this._reader=new r.default(this._root,this._settings),this._stream=new t.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(n=>{this._stream.emit("error",n)}),this._reader.onEntry(n=>{this._stream.push(n)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};e.default=u}}),ef=U({"node_modules/@nodelib/fs.walk/out/readers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=hi(),r=pi(),u=eo(),n=class extends u.default{constructor(){super(...arguments),this._scandir=t.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(i,a){this._queue.add({directory:i,base:a})}_handleQueue(){for(let i of this._queue.values())this._handleDirectory(i.directory,i.base)}_handleDirectory(i,a){try{let s=this._scandir(i,this._settings.fsScandirSettings);for(let o of s)this._handleEntry(o,a)}catch(s){this._handleError(s)}}_handleError(i){if(r.isFatalError(this._settings,i))throw i}_handleEntry(i,a){let s=i.path;a!==void 0&&(i.path=r.joinPathSegments(a,i.name,this._settings.pathSegmentSeparator)),r.isAppliedFilter(this._settings.entryFilter,i)&&this._pushToStorage(i),i.dirent.isDirectory()&&r.isAppliedFilter(this._settings.deepFilter,i)&&this._pushToQueue(s,a===void 0?void 0:i.path)}_pushToStorage(i){this._storage.push(i)}};e.default=n}}),tf=U({"node_modules/@nodelib/fs.walk/out/providers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=ef(),r=class{constructor(u,n){this._root=u,this._settings=n,this._reader=new t.default(this._root,this._settings)}read(){return this._reader.read()}};e.default=r}}),rf=U({"node_modules/@nodelib/fs.walk/out/settings.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=oe("path"),r=hi(),u=class{constructor(n={}){this._options=n,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,t.sep),this.fsScandirSettings=new r.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(n,i){return n??i}};e.default=u}}),di=U({"node_modules/@nodelib/fs.walk/out/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Settings=e.walkStream=e.walkSync=e.walk=void 0;var t=J0(),r=Z0(),u=tf(),n=rf();e.Settings=n.default;function i(l,f,c){if(typeof f=="function"){new t.default(l,o()).read(f);return}new t.default(l,o(f)).read(c)}e.walk=i;function a(l,f){let c=o(f);return new u.default(l,c).read()}e.walkSync=a;function s(l,f){let c=o(f);return new r.default(l,c).read()}e.walkStream=s;function o(l={}){return l instanceof n.default?l:new n.default(l)}}}),gi=U({"node_modules/fast-glob/out/readers/reader.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=oe("path"),r=Br(),u=jt(),n=class{constructor(i){this._settings=i,this._fsStatSettings=new r.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(i){return t.resolve(this._settings.cwd,i)}_makeEntry(i,a){let s={name:a,path:a,dirent:u.fs.createDirentFromStats(a,i)};return this._settings.stats&&(s.stats=i),s}_isFatalError(i){return!u.errno.isEnoentCodeError(i)&&!this._settings.suppressErrors}};e.default=n}}),ro=U({"node_modules/fast-glob/out/readers/stream.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=oe("stream"),r=Br(),u=di(),n=gi(),i=class extends n.default{constructor(){super(...arguments),this._walkStream=u.walkStream,this._stat=r.stat}dynamic(a,s){return this._walkStream(a,s)}static(a,s){let o=a.map(this._getFullEntryPath,this),l=new t.PassThrough({objectMode:!0});l._write=(f,c,h)=>this._getEntry(o[f],a[f],s).then(p=>{p!==null&&s.entryFilter(p)&&l.push(p),f===o.length-1&&l.end(),h()}).catch(h);for(let f=0;f<o.length;f++)l.write(f);return l}_getEntry(a,s,o){return this._getStat(a).then(l=>this._makeEntry(l,s)).catch(l=>{if(o.errorFilter(l))return null;throw l})}_getStat(a){return new Promise((s,o)=>{this._stat(a,this._fsStatSettings,(l,f)=>l===null?s(f):o(l))})}};e.default=i}}),uf=U({"node_modules/fast-glob/out/readers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=di(),r=gi(),u=ro(),n=class extends r.default{constructor(){super(...arguments),this._walkAsync=t.walk,this._readerStream=new u.default(this._settings)}dynamic(i,a){return new Promise((s,o)=>{this._walkAsync(i,a,(l,f)=>{l===null?s(f):o(l)})})}async static(i,a){let s=[],o=this._readerStream.static(i,a);return new Promise((l,f)=>{o.once("error",f),o.on("data",c=>s.push(c)),o.once("end",()=>l(s))})}};e.default=n}}),nf=U({"node_modules/fast-glob/out/providers/matchers/matcher.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=jt(),r=class{constructor(u,n,i){this._patterns=u,this._settings=n,this._micromatchOptions=i,this._storage=[],this._fillStorage()}_fillStorage(){for(let u of this._patterns){let n=this._getPatternSegments(u),i=this._splitSegmentsIntoSections(n);this._storage.push({complete:i.length<=1,pattern:u,segments:n,sections:i})}}_getPatternSegments(u){return t.pattern.getPatternParts(u,this._micromatchOptions).map(i=>t.pattern.isDynamicPattern(i,this._settings)?{dynamic:!0,pattern:i,patternRe:t.pattern.makeRe(i,this._micromatchOptions)}:{dynamic:!1,pattern:i})}_splitSegmentsIntoSections(u){return t.array.splitWhen(u,n=>n.dynamic&&t.pattern.hasGlobStar(n.pattern))}};e.default=r}}),af=U({"node_modules/fast-glob/out/providers/matchers/partial.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=nf(),r=class extends t.default{match(u){let n=u.split("/"),i=n.length,a=this._storage.filter(s=>!s.complete||s.segments.length>i);for(let s of a){let o=s.sections[0];if(!s.complete&&i>o.length||n.every((f,c)=>{let h=s.segments[c];return!!(h.dynamic&&h.patternRe.test(f)||!h.dynamic&&h.pattern===f)}))return!0}return!1}};e.default=r}}),sf=U({"node_modules/fast-glob/out/providers/filters/deep.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=jt(),r=af(),u=class{constructor(n,i){this._settings=n,this._micromatchOptions=i}getFilter(n,i,a){let s=this._getMatcher(i),o=this._getNegativePatternsRe(a);return l=>this._filter(n,l,s,o)}_getMatcher(n){return new r.default(n,this._settings,this._micromatchOptions)}_getNegativePatternsRe(n){let i=n.filter(t.pattern.isAffectDepthOfReadingPattern);return t.pattern.convertPatternsToRe(i,this._micromatchOptions)}_filter(n,i,a,s){if(this._isSkippedByDeep(n,i.path)||this._isSkippedSymbolicLink(i))return!1;let o=t.path.removeLeadingDotSegment(i.path);return this._isSkippedByPositivePatterns(o,a)?!1:this._isSkippedByNegativePatterns(o,s)}_isSkippedByDeep(n,i){return this._settings.deep===1/0?!1:this._getEntryLevel(n,i)>=this._settings.deep}_getEntryLevel(n,i){let a=i.split("/").length;if(n==="")return a;let s=n.split("/").length;return a-s}_isSkippedSymbolicLink(n){return!this._settings.followSymbolicLinks&&n.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(n,i){return!this._settings.baseNameMatch&&!i.match(n)}_isSkippedByNegativePatterns(n,i){return!t.pattern.matchAny(n,i)}};e.default=u}}),of=U({"node_modules/fast-glob/out/providers/filters/entry.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=jt(),r=class{constructor(u,n){this._settings=u,this._micromatchOptions=n,this.index=new Map}getFilter(u,n){let i=t.pattern.convertPatternsToRe(u,this._micromatchOptions),a=t.pattern.convertPatternsToRe(n,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return s=>this._filter(s,i,a)}_filter(u,n,i){let a=t.path.removeLeadingDotSegment(u.path);if(this._settings.unique&&this._isDuplicateEntry(a)||this._onlyFileFilter(u)||this._onlyDirectoryFilter(u)||this._isSkippedByAbsoluteNegativePatterns(a,i))return!1;let s=u.dirent.isDirectory(),o=this._isMatchToPatterns(a,n,s)&&!this._isMatchToPatterns(a,i,s);return this._settings.unique&&o&&this._createIndexRecord(a),o}_isDuplicateEntry(u){return this.index.has(u)}_createIndexRecord(u){this.index.set(u,void 0)}_onlyFileFilter(u){return this._settings.onlyFiles&&!u.dirent.isFile()}_onlyDirectoryFilter(u){return this._settings.onlyDirectories&&!u.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(u,n){if(!this._settings.absolute)return!1;let i=t.path.makeAbsolute(this._settings.cwd,u);return t.pattern.matchAny(i,n)}_isMatchToPatterns(u,n,i){let a=t.pattern.matchAny(u,n);return!a&&i?t.pattern.matchAny(u+"/",n):a}};e.default=r}}),lf=U({"node_modules/fast-glob/out/providers/filters/error.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=jt(),r=class{constructor(u){this._settings=u}getFilter(){return u=>this._isNonFatalError(u)}_isNonFatalError(u){return t.errno.isEnoentCodeError(u)||this._settings.suppressErrors}};e.default=r}}),cf=U({"node_modules/fast-glob/out/providers/transformers/entry.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=jt(),r=class{constructor(u){this._settings=u}getTransformer(){return u=>this._transform(u)}_transform(u){let n=u.path;return this._settings.absolute&&(n=t.path.makeAbsolute(this._settings.cwd,n),n=t.path.unixify(n)),this._settings.markDirectories&&u.dirent.isDirectory()&&(n+="/"),this._settings.objectMode?Object.assign(Object.assign({},u),{path:n}):n}};e.default=r}}),mi=U({"node_modules/fast-glob/out/providers/provider.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=oe("path"),r=sf(),u=of(),n=lf(),i=cf(),a=class{constructor(s){this._settings=s,this.errorFilter=new n.default(this._settings),this.entryFilter=new u.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new r.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new i.default(this._settings)}_getRootDirectory(s){return t.resolve(this._settings.cwd,s.base)}_getReaderOptions(s){let o=s.base==="."?"":s.base;return{basePath:o,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(o,s.positive,s.negative),entryFilter:this.entryFilter.getFilter(s.positive,s.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};e.default=a}}),ff=U({"node_modules/fast-glob/out/providers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=uf(),r=mi(),u=class extends r.default{constructor(){super(...arguments),this._reader=new t.default(this._settings)}async read(n){let i=this._getRootDirectory(n),a=this._getReaderOptions(n);return(await this.api(i,n,a)).map(o=>a.transform(o))}api(n,i,a){return i.dynamic?this._reader.dynamic(n,a):this._reader.static(i.patterns,a)}};e.default=u}}),Df=U({"node_modules/fast-glob/out/providers/stream.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=oe("stream"),r=ro(),u=mi(),n=class extends u.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}read(i){let a=this._getRootDirectory(i),s=this._getReaderOptions(i),o=this.api(a,i,s),l=new t.Readable({objectMode:!0,read:()=>{}});return o.once("error",f=>l.emit("error",f)).on("data",f=>l.emit("data",s.transform(f))).once("end",()=>l.emit("end")),l.once("close",()=>o.destroy()),l}api(i,a,s){return a.dynamic?this._reader.dynamic(i,s):this._reader.static(a.patterns,s)}};e.default=n}}),hf=U({"node_modules/fast-glob/out/readers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=Br(),r=di(),u=gi(),n=class extends u.default{constructor(){super(...arguments),this._walkSync=r.walkSync,this._statSync=t.statSync}dynamic(i,a){return this._walkSync(i,a)}static(i,a){let s=[];for(let o of i){let l=this._getFullEntryPath(o),f=this._getEntry(l,o,a);f===null||!a.entryFilter(f)||s.push(f)}return s}_getEntry(i,a,s){try{let o=this._getStat(i);return this._makeEntry(o,a)}catch(o){if(s.errorFilter(o))return null;throw o}}_getStat(i){return this._statSync(i,this._fsStatSettings)}};e.default=n}}),pf=U({"node_modules/fast-glob/out/providers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=hf(),r=mi(),u=class extends r.default{constructor(){super(...arguments),this._reader=new t.default(this._settings)}read(n){let i=this._getRootDirectory(n),a=this._getReaderOptions(n);return this.api(i,n,a).map(a.transform)}api(n,i,a){return i.dynamic?this._reader.dynamic(n,a):this._reader.static(i.patterns,a)}};e.default=u}}),df=U({"node_modules/fast-glob/out/settings.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var t=oe("fs"),r=oe("os"),u=Math.max(r.cpus().length,1);e.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:t.lstat,lstatSync:t.lstatSync,stat:t.stat,statSync:t.statSync,readdir:t.readdir,readdirSync:t.readdirSync};var n=class{constructor(i={}){this._options=i,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,u),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(i,a){return i===void 0?a:i}_getFileSystemMethods(i={}){return Object.assign(Object.assign({},e.DEFAULT_FILE_SYSTEM_ADAPTER),i)}};e.default=n}}),gf=U({"node_modules/fast-glob/out/index.js"(e,t){"use strict";var r=j0(),u=ff(),n=Df(),i=pf(),a=df(),s=jt();async function o(c,h){f(c);let p=l(c,u.default,h),D=await Promise.all(p);return s.array.flatten(D)}(function(c){c.glob=c,c.globSync=h,c.globStream=p,c.async=c;function h(A,m){f(A);let O=l(A,i.default,m);return s.array.flatten(O)}c.sync=h;function p(A,m){f(A);let O=l(A,n.default,m);return s.stream.merge(O)}c.stream=p;function D(A,m){f(A);let O=[].concat(A),R=new a.default(m);return r.generate(O,R)}c.generateTasks=D;function g(A,m){f(A);let O=new a.default(m);return s.pattern.isDynamicPattern(A,O)}c.isDynamicPattern=g;function C(A){return f(A),s.path.escape(A)}c.escapePath=C;function y(A){return f(A),s.path.convertPathToPattern(A)}c.convertPathToPattern=y;let d;(function(A){function m(R){return f(R),s.path.escapePosixPath(R)}A.escapePath=m;function O(R){return f(R),s.path.convertPosixPathToPattern(R)}A.convertPathToPattern=O})(d=c.posix||(c.posix={}));let F;(function(A){function m(R){return f(R),s.path.escapeWindowsPath(R)}A.escapePath=m;function O(R){return f(R),s.path.convertWindowsPathToPattern(R)}A.convertPathToPattern=O})(F=c.win32||(c.win32={}))})(o||(o={}));function l(c,h,p){let D=[].concat(c),g=new a.default(p),C=r.generate(D,g),y=new h(g);return C.map(y.read,y)}function f(c){if(![].concat(c).every(D=>s.string.isString(D)&&!s.string.isEmpty(D)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}t.exports=o}});function mf(){let e=new Map;for(let[t,r]of Object.entries(de)){for(let[u,n]of Object.entries(r))de[u]={open:`\x1B[${n[0]}m`,close:`\x1B[${n[1]}m`},r[u]=de[u],e.set(n[0],n[1]);Object.defineProperty(de,t,{value:r,enumerable:!1})}return Object.defineProperty(de,"codes",{value:e,enumerable:!1}),de.color.close="\x1B[39m",de.bgColor.close="\x1B[49m",de.color.ansi=Mn(),de.color.ansi256=$n(),de.color.ansi16m=Un(),de.bgColor.ansi=Mn(gu),de.bgColor.ansi256=$n(gu),de.bgColor.ansi16m=Un(gu),Object.defineProperties(de,{rgbToAnsi256:{value(t,r,u){return t===r&&r===u?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(u/255*5)},enumerable:!1},hexToRgb:{value(t){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r)return[0,0,0];let[u]=r;u.length===3&&(u=[...u].map(i=>i+i).join(""));let n=Number.parseInt(u,16);return[n>>16&255,n>>8&255,n&255]},enumerable:!1},hexToAnsi256:{value:t=>de.rgbToAnsi256(...de.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let r,u,n;if(t>=232)r=((t-232)*10+8)/255,u=r,n=r;else{t-=16;let s=t%36;r=Math.floor(t/36)/5,u=Math.floor(s/6)/5,n=s%6/5}let i=Math.max(r,u,n)*2;if(i===0)return 30;let a=30+(Math.round(n)<<2|Math.round(u)<<1|Math.round(r));return i===2&&(a+=60),a},enumerable:!1},rgbToAnsi:{value:(t,r,u)=>de.ansi256ToAnsi(de.rgbToAnsi256(t,r,u)),enumerable:!1},hexToAnsi:{value:t=>de.ansi256ToAnsi(de.hexToAnsi256(t)),enumerable:!1}}),de}var gu,Mn,$n,Un,de,Hn,Ru,Ou,Gn,Ia,Xe,Na=$u({"node_modules/chalk/source/vendor/ansi-styles/index.js"(){gu=10,Mn=(e=0)=>t=>`\x1B[${t+e}m`,$n=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Un=(e=0)=>(t,r,u)=>`\x1B[${38+e};2;${t};${r};${u}m`,de={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},Hn=Object.keys(de.modifier),Ru=Object.keys(de.color),Ou=Object.keys(de.bgColor),Gn=[...Ru,...Ou],Ia=mf(),Xe=Ia}});function Ue(e,t=globalThis.Deno?globalThis.Deno.args:Ei.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",u=t.indexOf(r+e),n=t.indexOf("--");return u!==-1&&(n===-1||u<n)}function Ff(){if("FORCE_COLOR"in me)return me.FORCE_COLOR==="true"?1:me.FORCE_COLOR==="false"?0:me.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(me.FORCE_COLOR,10),3)}function vf(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Cf(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let u=Ff();u!==void 0&&(Tu=u);let n=r?Tu:u;if(n===0)return 0;if(r){if(Ue("color=16m")||Ue("color=full")||Ue("color=truecolor"))return 3;if(Ue("color=256"))return 2}if("TF_BUILD"in me&&"AGENT_NAME"in me)return 1;if(e&&!t&&n===void 0)return 0;let i=n||0;if(me.TERM==="dumb")return i;if(Ei.platform==="win32"){let a=Ef.release().split(".");return Number(a[0])>=10&&Number(a[2])>=10586?Number(a[2])>=14931?3:2:1}if("CI"in me)return"GITHUB_ACTIONS"in me||"GITEA_ACTIONS"in me?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(a=>a in me)||me.CI_NAME==="codeship"?1:i;if("TEAMCITY_VERSION"in me)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(me.TEAMCITY_VERSION)?1:0;if(me.COLORTERM==="truecolor"||me.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in me){let a=Number.parseInt((me.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(me.TERM_PROGRAM){case"iTerm.app":return a>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(me.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(me.TERM)||"COLORTERM"in me?1:i}function La(e,t={}){let r=Cf(e,{streamIsTTY:e&&e.isTTY,...t});return vf(r)}var me,Tu,xa,uo,Af=$u({"node_modules/chalk/source/vendor/supports-color/index.js"(){({env:me}=Ei),Ue("no-color")||Ue("no-colors")||Ue("color=false")||Ue("color=never")?Tu=0:(Ue("color")||Ue("colors")||Ue("color=true")||Ue("color=always"))&&(Tu=1),xa={stdout:La({isTTY:Pa.isatty(1)}),stderr:La({isTTY:Pa.isatty(2)})},uo=xa}});function yf(e,t,r){let u=e.indexOf(t);if(u===-1)return e;let n=t.length,i=0,a="";do a+=e.slice(i,u)+t+r,i=u+n,u=e.indexOf(t,i);while(u!==-1);return a+=e.slice(i),a}function _f(e,t,r,u){let n=0,i="";do{let a=e[u-1]==="\r";i+=e.slice(n,a?u-1:u)+t+(a?`\r
568
+ `,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}}}),S0=U({"node_modules/braces/lib/parse.js"(e,t){"use strict";var r=Di(),{MAX_LENGTH:u,CHAR_BACKSLASH:n,CHAR_BACKTICK:i,CHAR_COMMA:a,CHAR_DOT:s,CHAR_LEFT_PARENTHESES:o,CHAR_RIGHT_PARENTHESES:l,CHAR_LEFT_CURLY_BRACE:f,CHAR_RIGHT_CURLY_BRACE:c,CHAR_LEFT_SQUARE_BRACKET:h,CHAR_RIGHT_SQUARE_BRACKET:p,CHAR_DOUBLE_QUOTE:D,CHAR_SINGLE_QUOTE:g,CHAR_NO_BREAK_SPACE:C,CHAR_ZERO_WIDTH_NOBREAK_SPACE:y}=B0(),d=(F,A={})=>{if(typeof F!="string")throw new TypeError("Expected a string");let m=A||{},O=typeof m.maxLength=="number"?Math.min(u,m.maxLength):u;if(F.length>O)throw new SyntaxError(`Input length (${F.length}), exceeds max characters (${O})`);let R={type:"root",input:F,nodes:[]},v=[R],T=R,P=R,k=0,I=F.length,E=0,_=0,b,B=()=>F[E++],j=w=>{if(w.type==="text"&&P.type==="dot"&&(P.type="text"),P&&P.type==="text"&&w.type==="text"){P.value+=w.value;return}return T.nodes.push(w),w.parent=T,w.prev=P,P=w,w};for(j({type:"bos"});E<I;)if(T=v[v.length-1],b=B(),!(b===y||b===C)){if(b===n){j({type:"text",value:(A.keepEscaping?b:"")+B()});continue}if(b===p){j({type:"text",value:"\\"+b});continue}if(b===h){k++;let w;for(;E<I&&(w=B());){if(b+=w,w===h){k++;continue}if(w===n){b+=B();continue}if(w===p&&(k--,k===0))break}j({type:"text",value:b});continue}if(b===o){T=j({type:"paren",nodes:[]}),v.push(T),j({type:"text",value:b});continue}if(b===l){if(T.type!=="paren"){j({type:"text",value:b});continue}T=v.pop(),j({type:"text",value:b}),T=v[v.length-1];continue}if(b===D||b===g||b===i){let w=b,S;for(A.keepQuotes!==!0&&(b="");E<I&&(S=B());){if(S===n){b+=S+B();continue}if(S===w){A.keepQuotes===!0&&(b+=S);break}b+=S}j({type:"text",value:b});continue}if(b===f){_++;let S={type:"brace",open:!0,close:!1,dollar:P.value&&P.value.slice(-1)==="$"||T.dollar===!0,depth:_,commas:0,ranges:0,nodes:[]};T=j(S),v.push(T),j({type:"open",value:b});continue}if(b===c){if(T.type!=="brace"){j({type:"text",value:b});continue}let w="close";T=v.pop(),T.close=!0,j({type:w,value:b}),_--,T=v[v.length-1];continue}if(b===a&&_>0){if(T.ranges>0){T.ranges=0;let w=T.nodes.shift();T.nodes=[w,{type:"text",value:r(T)}]}j({type:"comma",value:b}),T.commas++;continue}if(b===s&&_>0&&T.commas===0){let w=T.nodes;if(_===0||w.length===0){j({type:"text",value:b});continue}if(P.type==="dot"){if(T.range=[],P.value+=b,P.type="range",T.nodes.length!==3&&T.nodes.length!==5){T.invalid=!0,T.ranges=0,P.type="text";continue}T.ranges++,T.args=[];continue}if(P.type==="range"){w.pop();let S=w[w.length-1];S.value+=P.value+b,P=S,T.ranges--;continue}j({type:"dot",value:b});continue}j({type:"text",value:b})}do if(T=v.pop(),T.type!=="root"){T.nodes.forEach(N=>{N.nodes||(N.type==="open"&&(N.isOpen=!0),N.type==="close"&&(N.isClose=!0),N.nodes||(N.type="text"),N.invalid=!0)});let w=v[v.length-1],S=w.nodes.indexOf(T);w.nodes.splice(S,1,...T.nodes)}while(v.length>0);return j({type:"eos"}),R};t.exports=d}}),R0=U({"node_modules/braces/index.js"(e,t){"use strict";var r=Di(),u=b0(),n=w0(),i=S0(),a=(s,o={})=>{let l=[];if(Array.isArray(s))for(let f of s){let c=a.create(f,o);Array.isArray(c)?l.push(...c):l.push(c)}else l=[].concat(a.create(s,o));return o&&o.expand===!0&&o.nodupes===!0&&(l=[...new Set(l)]),l};a.parse=(s,o={})=>i(s,o),a.stringify=(s,o={})=>r(typeof s=="string"?a.parse(s,o):s,o),a.compile=(s,o={})=>(typeof s=="string"&&(s=a.parse(s,o)),u(s,o)),a.expand=(s,o={})=>{typeof s=="string"&&(s=a.parse(s,o));let l=n(s,o);return o.noempty===!0&&(l=l.filter(Boolean)),o.nodupes===!0&&(l=[...new Set(l)]),l},a.create=(s,o={})=>s===""||s.length<3?[s]:o.expand!==!0?a.compile(s,o):a.expand(s,o),t.exports=a}}),Uu=U({"node_modules/picomatch/lib/constants.js"(e,t){"use strict";var r=oe("path"),u="\\\\/",n=`[^${u}]`,i="\\.",a="\\+",s="\\?",o="\\/",l="(?=.)",f="[^/]",c=`(?:${o}|$)`,h=`(?:^|${o})`,p=`${i}{1,2}${c}`,D=`(?!${i})`,g=`(?!${h}${p})`,C=`(?!${i}{0,1}${c})`,y=`(?!${p})`,d=`[^.${o}]`,F=`${f}*?`,A={DOT_LITERAL:i,PLUS_LITERAL:a,QMARK_LITERAL:s,SLASH_LITERAL:o,ONE_CHAR:l,QMARK:f,END_ANCHOR:c,DOTS_SLASH:p,NO_DOT:D,NO_DOTS:g,NO_DOT_SLASH:C,NO_DOTS_SLASH:y,QMARK_NO_DOT:d,STAR:F,START_ANCHOR:h},m={...A,SLASH_LITERAL:`[${u}]`,QMARK:n,STAR:`${n}*?`,DOTS_SLASH:`${i}{1,2}(?:[${u}]|$)`,NO_DOT:`(?!${i})`,NO_DOTS:`(?!(?:^|[${u}])${i}{1,2}(?:[${u}]|$))`,NO_DOT_SLASH:`(?!${i}{0,1}(?:[${u}]|$))`,NO_DOTS_SLASH:`(?!${i}{1,2}(?:[${u}]|$))`,QMARK_NO_DOT:`[^.${u}]`,START_ANCHOR:`(?:^|[${u}])`,END_ANCHOR:`(?:[${u}]|$)`},O={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};t.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:O,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:r.sep,extglobChars(R){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${R.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(R){return R===!0?m:A}}}}),Hu=U({"node_modules/picomatch/lib/utils.js"(e){"use strict";var t=oe("path"),r=process.platform==="win32",{REGEX_BACKSLASH:u,REGEX_REMOVE_BACKSLASH:n,REGEX_SPECIAL_CHARS:i,REGEX_SPECIAL_CHARS_GLOBAL:a}=Uu();e.isObject=s=>s!==null&&typeof s=="object"&&!Array.isArray(s),e.hasRegexChars=s=>i.test(s),e.isRegexChar=s=>s.length===1&&e.hasRegexChars(s),e.escapeRegex=s=>s.replace(a,"\\$1"),e.toPosixSlashes=s=>s.replace(u,"/"),e.removeBackslashes=s=>s.replace(n,o=>o==="\\"?"":o),e.supportsLookbehinds=()=>{let s=process.version.slice(1).split(".").map(Number);return s.length===3&&s[0]>=9||s[0]===8&&s[1]>=10},e.isWindows=s=>s&&typeof s.windows=="boolean"?s.windows:r===!0||t.sep==="\\",e.escapeLast=(s,o,l)=>{let f=s.lastIndexOf(o,l);return f===-1?s:s[f-1]==="\\"?e.escapeLast(s,o,f-1):`${s.slice(0,f)}\\${s.slice(f)}`},e.removePrefix=(s,o={})=>{let l=s;return l.startsWith("./")&&(l=l.slice(2),o.prefix="./"),l},e.wrapOutput=(s,o={},l={})=>{let f=l.contains?"":"^",c=l.contains?"":"$",h=`${f}(?:${s})${c}`;return o.negated===!0&&(h=`(?:^(?!${h}).*$)`),h}}}),O0=U({"node_modules/picomatch/lib/scan.js"(e,t){"use strict";var r=Hu(),{CHAR_ASTERISK:u,CHAR_AT:n,CHAR_BACKWARD_SLASH:i,CHAR_COMMA:a,CHAR_DOT:s,CHAR_EXCLAMATION_MARK:o,CHAR_FORWARD_SLASH:l,CHAR_LEFT_CURLY_BRACE:f,CHAR_LEFT_PARENTHESES:c,CHAR_LEFT_SQUARE_BRACKET:h,CHAR_PLUS:p,CHAR_QUESTION_MARK:D,CHAR_RIGHT_CURLY_BRACE:g,CHAR_RIGHT_PARENTHESES:C,CHAR_RIGHT_SQUARE_BRACKET:y}=Uu(),d=m=>m===l||m===i,F=m=>{m.isPrefix!==!0&&(m.depth=m.isGlobstar?1/0:1)},A=(m,O)=>{let R=O||{},v=m.length-1,T=R.parts===!0||R.scanToEnd===!0,P=[],k=[],I=[],E=m,_=-1,b=0,B=0,j=!1,w=!1,S=!1,N=!1,H=!1,Y=!1,x=!1,ae=!1,Z=!1,te=!1,L=0,M,K,X={value:"",depth:0,isGlob:!1},Fe=()=>_>=v,he=()=>E.charCodeAt(_+1),le=()=>(M=K,E.charCodeAt(++_));for(;_<v;){K=le();let Q;if(K===i){x=X.backslashes=!0,K=le(),K===f&&(Y=!0);continue}if(Y===!0||K===f){for(L++;Fe()!==!0&&(K=le());){if(K===i){x=X.backslashes=!0,le();continue}if(K===f){L++;continue}if(Y!==!0&&K===s&&(K=le())===s){if(j=X.isBrace=!0,S=X.isGlob=!0,te=!0,T===!0)continue;break}if(Y!==!0&&K===a){if(j=X.isBrace=!0,S=X.isGlob=!0,te=!0,T===!0)continue;break}if(K===g&&(L--,L===0)){Y=!1,j=X.isBrace=!0,te=!0;break}}if(T===!0)continue;break}if(K===l){if(P.push(_),k.push(X),X={value:"",depth:0,isGlob:!1},te===!0)continue;if(M===s&&_===b+1){b+=2;continue}B=_+1;continue}if(R.noext!==!0&&(K===p||K===n||K===u||K===D||K===o)===!0&&he()===c){if(S=X.isGlob=!0,N=X.isExtglob=!0,te=!0,K===o&&_===b&&(Z=!0),T===!0){for(;Fe()!==!0&&(K=le());){if(K===i){x=X.backslashes=!0,K=le();continue}if(K===C){S=X.isGlob=!0,te=!0;break}}continue}break}if(K===u){if(M===u&&(H=X.isGlobstar=!0),S=X.isGlob=!0,te=!0,T===!0)continue;break}if(K===D){if(S=X.isGlob=!0,te=!0,T===!0)continue;break}if(K===h){for(;Fe()!==!0&&(Q=le());){if(Q===i){x=X.backslashes=!0,le();continue}if(Q===y){w=X.isBracket=!0,S=X.isGlob=!0,te=!0;break}}if(T===!0)continue;break}if(R.nonegate!==!0&&K===o&&_===b){ae=X.negated=!0,b++;continue}if(R.noparen!==!0&&K===c){if(S=X.isGlob=!0,T===!0){for(;Fe()!==!0&&(K=le());){if(K===c){x=X.backslashes=!0,K=le();continue}if(K===C){te=!0;break}}continue}break}if(S===!0){if(te=!0,T===!0)continue;break}}R.noext===!0&&(N=!1,S=!1);let se=E,ve="",Re="";b>0&&(ve=E.slice(0,b),E=E.slice(b),B-=b),se&&S===!0&&B>0?(se=E.slice(0,B),Re=E.slice(B)):S===!0?(se="",Re=E):se=E,se&&se!==""&&se!=="/"&&se!==E&&d(se.charCodeAt(se.length-1))&&(se=se.slice(0,-1)),R.unescape===!0&&(Re&&(Re=r.removeBackslashes(Re)),se&&x===!0&&(se=r.removeBackslashes(se)));let Ce={prefix:ve,input:m,start:b,base:se,glob:Re,isBrace:j,isBracket:w,isGlob:S,isExtglob:N,isGlobstar:H,negated:ae,negatedExtglob:Z};if(R.tokens===!0&&(Ce.maxDepth=0,d(K)||k.push(X),Ce.tokens=k),R.parts===!0||R.tokens===!0){let Q;for(let ee=0;ee<P.length;ee++){let Ve=Q?Q+1:b,V=P[ee],ce=m.slice(Ve,V);R.tokens&&(ee===0&&b!==0?(k[ee].isPrefix=!0,k[ee].value=ve):k[ee].value=ce,F(k[ee]),Ce.maxDepth+=k[ee].depth),(ee!==0||ce!=="")&&I.push(ce),Q=V}if(Q&&Q+1<m.length){let ee=m.slice(Q+1);I.push(ee),R.tokens&&(k[k.length-1].value=ee,F(k[k.length-1]),Ce.maxDepth+=k[k.length-1].depth)}Ce.slashes=P,Ce.parts=I}return Ce};t.exports=A}}),T0=U({"node_modules/picomatch/lib/parse.js"(e,t){"use strict";var r=Uu(),u=Hu(),{MAX_LENGTH:n,POSIX_REGEX_SOURCE:i,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:s,REPLACEMENTS:o}=r,l=(h,p)=>{if(typeof p.expandRange=="function")return p.expandRange(...h,p);h.sort();let D=`[${h.join("-")}]`;try{new RegExp(D)}catch{return h.map(C=>u.escapeRegex(C)).join("..")}return D},f=(h,p)=>`Missing ${h}: "${p}" - use "\\\\${p}" to match literal characters`,c=(h,p)=>{if(typeof h!="string")throw new TypeError("Expected a string");h=o[h]||h;let D={...p},g=typeof D.maxLength=="number"?Math.min(n,D.maxLength):n,C=h.length;if(C>g)throw new SyntaxError(`Input length: ${C}, exceeds maximum allowed length: ${g}`);let y={type:"bos",value:"",output:D.prepend||""},d=[y],F=D.capture?"":"?:",A=u.isWindows(p),m=r.globChars(A),O=r.extglobChars(m),{DOT_LITERAL:R,PLUS_LITERAL:v,SLASH_LITERAL:T,ONE_CHAR:P,DOTS_SLASH:k,NO_DOT:I,NO_DOT_SLASH:E,NO_DOTS_SLASH:_,QMARK:b,QMARK_NO_DOT:B,STAR:j,START_ANCHOR:w}=m,S=V=>`(${F}(?:(?!${w}${V.dot?k:R}).)*?)`,N=D.dot?"":I,H=D.dot?b:B,Y=D.bash===!0?S(D):j;D.capture&&(Y=`(${Y})`),typeof D.noext=="boolean"&&(D.noextglob=D.noext);let x={input:h,index:-1,start:0,dot:D.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:d};h=u.removePrefix(h,x),C=h.length;let ae=[],Z=[],te=[],L=y,M,K=()=>x.index===C-1,X=x.peek=(V=1)=>h[x.index+V],Fe=x.advance=()=>h[++x.index]||"",he=()=>h.slice(x.index+1),le=(V="",ce=0)=>{x.consumed+=V,x.index+=ce},se=V=>{x.output+=V.output!=null?V.output:V.value,le(V.value)},ve=()=>{let V=1;for(;X()==="!"&&(X(2)!=="("||X(3)==="?");)Fe(),x.start++,V++;return V%2===0?!1:(x.negated=!0,x.start++,!0)},Re=V=>{x[V]++,te.push(V)},Ce=V=>{x[V]--,te.pop()},Q=V=>{if(L.type==="globstar"){let ce=x.braces>0&&(V.type==="comma"||V.type==="brace"),G=V.extglob===!0||ae.length&&(V.type==="pipe"||V.type==="paren");V.type!=="slash"&&V.type!=="paren"&&!ce&&!G&&(x.output=x.output.slice(0,-L.output.length),L.type="star",L.value="*",L.output=Y,x.output+=L.output)}if(ae.length&&V.type!=="paren"&&(ae[ae.length-1].inner+=V.value),(V.value||V.output)&&se(V),L&&L.type==="text"&&V.type==="text"){L.value+=V.value,L.output=(L.output||"")+V.value;return}V.prev=L,d.push(V),L=V},ee=(V,ce)=>{let G={...O[ce],conditions:1,inner:""};G.prev=L,G.parens=x.parens,G.output=x.output;let re=(D.capture?"(":"")+G.open;Re("parens"),Q({type:V,value:ce,output:x.output?"":P}),Q({type:"paren",extglob:!0,value:Fe(),output:re}),ae.push(G)},Ve=V=>{let ce=V.close+(D.capture?")":""),G;if(V.type==="negate"){let re=Y;if(V.inner&&V.inner.length>1&&V.inner.includes("/")&&(re=S(D)),(re!==Y||K()||/^\)+$/.test(he()))&&(ce=V.close=`)$))${re}`),V.inner.includes("*")&&(G=he())&&/^\.[^\\/.]+$/.test(G)){let ne=c(G,{...p,fastpaths:!1}).output;ce=V.close=`)${ne})${re})`}V.prev.type==="bos"&&(x.negatedExtglob=!0)}Q({type:"paren",extglob:!0,value:M,output:ce}),Ce("parens")};if(D.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(h)){let V=!1,ce=h.replace(s,(G,re,ne,Ae,ye,kr)=>Ae==="\\"?(V=!0,G):Ae==="?"?re?re+Ae+(ye?b.repeat(ye.length):""):kr===0?H+(ye?b.repeat(ye.length):""):b.repeat(ne.length):Ae==="."?R.repeat(ne.length):Ae==="*"?re?re+Ae+(ye?Y:""):Y:re?G:`\\${G}`);return V===!0&&(D.unescape===!0?ce=ce.replace(/\\/g,""):ce=ce.replace(/\\+/g,G=>G.length%2===0?"\\\\":G?"\\":"")),ce===h&&D.contains===!0?(x.output=h,x):(x.output=u.wrapOutput(ce,x,p),x)}for(;!K();){if(M=Fe(),M==="\0")continue;if(M==="\\"){let G=X();if(G==="/"&&D.bash!==!0||G==="."||G===";")continue;if(!G){M+="\\",Q({type:"text",value:M});continue}let re=/^\\+/.exec(he()),ne=0;if(re&&re[0].length>2&&(ne=re[0].length,x.index+=ne,ne%2!==0&&(M+="\\")),D.unescape===!0?M=Fe():M+=Fe(),x.brackets===0){Q({type:"text",value:M});continue}}if(x.brackets>0&&(M!=="]"||L.value==="["||L.value==="[^")){if(D.posix!==!1&&M===":"){let G=L.value.slice(1);if(G.includes("[")&&(L.posix=!0,G.includes(":"))){let re=L.value.lastIndexOf("["),ne=L.value.slice(0,re),Ae=L.value.slice(re+2),ye=i[Ae];if(ye){L.value=ne+ye,x.backtrack=!0,Fe(),!y.output&&d.indexOf(L)===1&&(y.output=P);continue}}}(M==="["&&X()!==":"||M==="-"&&X()==="]")&&(M=`\\${M}`),M==="]"&&(L.value==="["||L.value==="[^")&&(M=`\\${M}`),D.posix===!0&&M==="!"&&L.value==="["&&(M="^"),L.value+=M,se({value:M});continue}if(x.quotes===1&&M!=='"'){M=u.escapeRegex(M),L.value+=M,se({value:M});continue}if(M==='"'){x.quotes=x.quotes===1?0:1,D.keepQuotes===!0&&Q({type:"text",value:M});continue}if(M==="("){Re("parens"),Q({type:"paren",value:M});continue}if(M===")"){if(x.parens===0&&D.strictBrackets===!0)throw new SyntaxError(f("opening","("));let G=ae[ae.length-1];if(G&&x.parens===G.parens+1){Ve(ae.pop());continue}Q({type:"paren",value:M,output:x.parens?")":"\\)"}),Ce("parens");continue}if(M==="["){if(D.nobracket===!0||!he().includes("]")){if(D.nobracket!==!0&&D.strictBrackets===!0)throw new SyntaxError(f("closing","]"));M=`\\${M}`}else Re("brackets");Q({type:"bracket",value:M});continue}if(M==="]"){if(D.nobracket===!0||L&&L.type==="bracket"&&L.value.length===1){Q({type:"text",value:M,output:`\\${M}`});continue}if(x.brackets===0){if(D.strictBrackets===!0)throw new SyntaxError(f("opening","["));Q({type:"text",value:M,output:`\\${M}`});continue}Ce("brackets");let G=L.value.slice(1);if(L.posix!==!0&&G[0]==="^"&&!G.includes("/")&&(M=`/${M}`),L.value+=M,se({value:M}),D.literalBrackets===!1||u.hasRegexChars(G))continue;let re=u.escapeRegex(L.value);if(x.output=x.output.slice(0,-L.value.length),D.literalBrackets===!0){x.output+=re,L.value=re;continue}L.value=`(${F}${re}|${L.value})`,x.output+=L.value;continue}if(M==="{"&&D.nobrace!==!0){Re("braces");let G={type:"brace",value:M,output:"(",outputIndex:x.output.length,tokensIndex:x.tokens.length};Z.push(G),Q(G);continue}if(M==="}"){let G=Z[Z.length-1];if(D.nobrace===!0||!G){Q({type:"text",value:M,output:M});continue}let re=")";if(G.dots===!0){let ne=d.slice(),Ae=[];for(let ye=ne.length-1;ye>=0&&(d.pop(),ne[ye].type!=="brace");ye--)ne[ye].type!=="dots"&&Ae.unshift(ne[ye].value);re=l(Ae,D),x.backtrack=!0}if(G.comma!==!0&&G.dots!==!0){let ne=x.output.slice(0,G.outputIndex),Ae=x.tokens.slice(G.tokensIndex);G.value=G.output="\\{",M=re="\\}",x.output=ne;for(let ye of Ae)x.output+=ye.output||ye.value}Q({type:"brace",value:M,output:re}),Ce("braces"),Z.pop();continue}if(M==="|"){ae.length>0&&ae[ae.length-1].conditions++,Q({type:"text",value:M});continue}if(M===","){let G=M,re=Z[Z.length-1];re&&te[te.length-1]==="braces"&&(re.comma=!0,G="|"),Q({type:"comma",value:M,output:G});continue}if(M==="/"){if(L.type==="dot"&&x.index===x.start+1){x.start=x.index+1,x.consumed="",x.output="",d.pop(),L=y;continue}Q({type:"slash",value:M,output:T});continue}if(M==="."){if(x.braces>0&&L.type==="dot"){L.value==="."&&(L.output=R);let G=Z[Z.length-1];L.type="dots",L.output+=M,L.value+=M,G.dots=!0;continue}if(x.braces+x.parens===0&&L.type!=="bos"&&L.type!=="slash"){Q({type:"text",value:M,output:R});continue}Q({type:"dot",value:M,output:R});continue}if(M==="?"){if(!(L&&L.value==="(")&&D.noextglob!==!0&&X()==="("&&X(2)!=="?"){ee("qmark",M);continue}if(L&&L.type==="paren"){let re=X(),ne=M;if(re==="<"&&!u.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(L.value==="("&&!/[!=<:]/.test(re)||re==="<"&&!/<([!=]|\w+>)/.test(he()))&&(ne=`\\${M}`),Q({type:"text",value:M,output:ne});continue}if(D.dot!==!0&&(L.type==="slash"||L.type==="bos")){Q({type:"qmark",value:M,output:B});continue}Q({type:"qmark",value:M,output:b});continue}if(M==="!"){if(D.noextglob!==!0&&X()==="("&&(X(2)!=="?"||!/[!=<:]/.test(X(3)))){ee("negate",M);continue}if(D.nonegate!==!0&&x.index===0){ve();continue}}if(M==="+"){if(D.noextglob!==!0&&X()==="("&&X(2)!=="?"){ee("plus",M);continue}if(L&&L.value==="("||D.regex===!1){Q({type:"plus",value:M,output:v});continue}if(L&&(L.type==="bracket"||L.type==="paren"||L.type==="brace")||x.parens>0){Q({type:"plus",value:M});continue}Q({type:"plus",value:v});continue}if(M==="@"){if(D.noextglob!==!0&&X()==="("&&X(2)!=="?"){Q({type:"at",extglob:!0,value:M,output:""});continue}Q({type:"text",value:M});continue}if(M!=="*"){(M==="$"||M==="^")&&(M=`\\${M}`);let G=a.exec(he());G&&(M+=G[0],x.index+=G[0].length),Q({type:"text",value:M});continue}if(L&&(L.type==="globstar"||L.star===!0)){L.type="star",L.star=!0,L.value+=M,L.output=Y,x.backtrack=!0,x.globstar=!0,le(M);continue}let V=he();if(D.noextglob!==!0&&/^\([^?]/.test(V)){ee("star",M);continue}if(L.type==="star"){if(D.noglobstar===!0){le(M);continue}let G=L.prev,re=G.prev,ne=G.type==="slash"||G.type==="bos",Ae=re&&(re.type==="star"||re.type==="globstar");if(D.bash===!0&&(!ne||V[0]&&V[0]!=="/")){Q({type:"star",value:M,output:""});continue}let ye=x.braces>0&&(G.type==="comma"||G.type==="brace"),kr=ae.length&&(G.type==="pipe"||G.type==="paren");if(!ne&&G.type!=="paren"&&!ye&&!kr){Q({type:"star",value:M,output:""});continue}for(;V.slice(0,3)==="/**";){let Dr=h[x.index+4];if(Dr&&Dr!=="/")break;V=V.slice(3),le("/**",3)}if(G.type==="bos"&&K()){L.type="globstar",L.value+=M,L.output=S(D),x.output=L.output,x.globstar=!0,le(M);continue}if(G.type==="slash"&&G.prev.type!=="bos"&&!Ae&&K()){x.output=x.output.slice(0,-(G.output+L.output).length),G.output=`(?:${G.output}`,L.type="globstar",L.output=S(D)+(D.strictSlashes?")":"|$)"),L.value+=M,x.globstar=!0,x.output+=G.output+L.output,le(M);continue}if(G.type==="slash"&&G.prev.type!=="bos"&&V[0]==="/"){let Dr=V[1]!==void 0?"|$":"";x.output=x.output.slice(0,-(G.output+L.output).length),G.output=`(?:${G.output}`,L.type="globstar",L.output=`${S(D)}${T}|${T}${Dr})`,L.value+=M,x.output+=G.output+L.output,x.globstar=!0,le(M+Fe()),Q({type:"slash",value:"/",output:""});continue}if(G.type==="bos"&&V[0]==="/"){L.type="globstar",L.value+=M,L.output=`(?:^|${T}|${S(D)}${T})`,x.output=L.output,x.globstar=!0,le(M+Fe()),Q({type:"slash",value:"/",output:""});continue}x.output=x.output.slice(0,-L.output.length),L.type="globstar",L.output=S(D),L.value+=M,x.output+=L.output,x.globstar=!0,le(M);continue}let ce={type:"star",value:M,output:Y};if(D.bash===!0){ce.output=".*?",(L.type==="bos"||L.type==="slash")&&(ce.output=N+ce.output),Q(ce);continue}if(L&&(L.type==="bracket"||L.type==="paren")&&D.regex===!0){ce.output=M,Q(ce);continue}(x.index===x.start||L.type==="slash"||L.type==="dot")&&(L.type==="dot"?(x.output+=E,L.output+=E):D.dot===!0?(x.output+=_,L.output+=_):(x.output+=N,L.output+=N),X()!=="*"&&(x.output+=P,L.output+=P)),Q(ce)}for(;x.brackets>0;){if(D.strictBrackets===!0)throw new SyntaxError(f("closing","]"));x.output=u.escapeLast(x.output,"["),Ce("brackets")}for(;x.parens>0;){if(D.strictBrackets===!0)throw new SyntaxError(f("closing",")"));x.output=u.escapeLast(x.output,"("),Ce("parens")}for(;x.braces>0;){if(D.strictBrackets===!0)throw new SyntaxError(f("closing","}"));x.output=u.escapeLast(x.output,"{"),Ce("braces")}if(D.strictSlashes!==!0&&(L.type==="star"||L.type==="bracket")&&Q({type:"maybe_slash",value:"",output:`${T}?`}),x.backtrack===!0){x.output="";for(let V of x.tokens)x.output+=V.output!=null?V.output:V.value,V.suffix&&(x.output+=V.suffix)}return x};c.fastpaths=(h,p)=>{let D={...p},g=typeof D.maxLength=="number"?Math.min(n,D.maxLength):n,C=h.length;if(C>g)throw new SyntaxError(`Input length: ${C}, exceeds maximum allowed length: ${g}`);h=o[h]||h;let y=u.isWindows(p),{DOT_LITERAL:d,SLASH_LITERAL:F,ONE_CHAR:A,DOTS_SLASH:m,NO_DOT:O,NO_DOTS:R,NO_DOTS_SLASH:v,STAR:T,START_ANCHOR:P}=r.globChars(y),k=D.dot?R:O,I=D.dot?v:O,E=D.capture?"":"?:",_={negated:!1,prefix:""},b=D.bash===!0?".*?":T;D.capture&&(b=`(${b})`);let B=N=>N.noglobstar===!0?b:`(${E}(?:(?!${P}${N.dot?m:d}).)*?)`,j=N=>{switch(N){case"*":return`${k}${A}${b}`;case".*":return`${d}${A}${b}`;case"*.*":return`${k}${b}${d}${A}${b}`;case"*/*":return`${k}${b}${F}${A}${I}${b}`;case"**":return k+B(D);case"**/*":return`(?:${k}${B(D)}${F})?${I}${A}${b}`;case"**/*.*":return`(?:${k}${B(D)}${F})?${I}${b}${d}${A}${b}`;case"**/.*":return`(?:${k}${B(D)}${F})?${d}${A}${b}`;default:{let H=/^(.*?)\.(\w+)$/.exec(N);if(!H)return;let Y=j(H[1]);return Y?Y+d+H[2]:void 0}}},w=u.removePrefix(h,_),S=j(w);return S&&D.strictSlashes!==!0&&(S+=`${F}?`),S},t.exports=c}}),k0=U({"node_modules/picomatch/lib/picomatch.js"(e,t){"use strict";var r=oe("path"),u=O0(),n=T0(),i=Hu(),a=Uu(),s=l=>l&&typeof l=="object"&&!Array.isArray(l),o=(l,f,c=!1)=>{if(Array.isArray(l)){let F=l.map(m=>o(m,f,c));return m=>{for(let O of F){let R=O(m);if(R)return R}return!1}}let h=s(l)&&l.tokens&&l.input;if(l===""||typeof l!="string"&&!h)throw new TypeError("Expected pattern to be a non-empty string");let p=f||{},D=i.isWindows(f),g=h?o.compileRe(l,f):o.makeRe(l,f,!1,!0),C=g.state;delete g.state;let y=()=>!1;if(p.ignore){let F={...f,ignore:null,onMatch:null,onResult:null};y=o(p.ignore,F,c)}let d=(F,A=!1)=>{let{isMatch:m,match:O,output:R}=o.test(F,g,f,{glob:l,posix:D}),v={glob:l,state:C,regex:g,posix:D,input:F,output:R,match:O,isMatch:m};return typeof p.onResult=="function"&&p.onResult(v),m===!1?(v.isMatch=!1,A?v:!1):y(F)?(typeof p.onIgnore=="function"&&p.onIgnore(v),v.isMatch=!1,A?v:!1):(typeof p.onMatch=="function"&&p.onMatch(v),A?v:!0)};return c&&(d.state=C),d};o.test=(l,f,c,{glob:h,posix:p}={})=>{if(typeof l!="string")throw new TypeError("Expected input to be a string");if(l==="")return{isMatch:!1,output:""};let D=c||{},g=D.format||(p?i.toPosixSlashes:null),C=l===h,y=C&&g?g(l):l;return C===!1&&(y=g?g(l):l,C=y===h),(C===!1||D.capture===!0)&&(D.matchBase===!0||D.basename===!0?C=o.matchBase(l,f,c,p):C=f.exec(y)),{isMatch:!!C,match:C,output:y}},o.matchBase=(l,f,c,h=i.isWindows(c))=>(f instanceof RegExp?f:o.makeRe(f,c)).test(r.basename(l)),o.isMatch=(l,f,c)=>o(f,c)(l),o.parse=(l,f)=>Array.isArray(l)?l.map(c=>o.parse(c,f)):n(l,{...f,fastpaths:!1}),o.scan=(l,f)=>u(l,f),o.compileRe=(l,f,c=!1,h=!1)=>{if(c===!0)return l.output;let p=f||{},D=p.contains?"":"^",g=p.contains?"":"$",C=`${D}(?:${l.output})${g}`;l&&l.negated===!0&&(C=`^(?!${C}).*$`);let y=o.toRegex(C,f);return h===!0&&(y.state=l),y},o.makeRe=(l,f={},c=!1,h=!1)=>{if(!l||typeof l!="string")throw new TypeError("Expected a non-empty string");let p={negated:!1,fastpaths:!0};return f.fastpaths!==!1&&(l[0]==="."||l[0]==="*")&&(p.output=n.fastpaths(l,f)),p.output||(p=n(l,f)),o.compileRe(p,f,c,h)},o.toRegex=(l,f)=>{try{let c=f||{};return new RegExp(l,c.flags||(c.nocase?"i":""))}catch(c){if(f&&f.debug===!0)throw c;return/$^/}},o.constants=a,t.exports=o}}),I0=U({"node_modules/picomatch/index.js"(e,t){"use strict";t.exports=k0()}}),Xs=U({"node_modules/micromatch/index.js"(e,t){"use strict";var r=oe("util"),u=R0(),n=I0(),i=Hu(),a=o=>o===""||o==="./",s=(o,l,f)=>{l=[].concat(l),o=[].concat(o);let c=new Set,h=new Set,p=new Set,D=0,g=d=>{p.add(d.output),f&&f.onResult&&f.onResult(d)};for(let d=0;d<l.length;d++){let F=n(String(l[d]),{...f,onResult:g},!0),A=F.state.negated||F.state.negatedExtglob;A&&D++;for(let m of o){let O=F(m,!0);(A?!O.isMatch:O.isMatch)&&(A?c.add(O.output):(c.delete(O.output),h.add(O.output)))}}let y=(D===l.length?[...p]:[...h]).filter(d=>!c.has(d));if(f&&y.length===0){if(f.failglob===!0)throw new Error(`No matches found for "${l.join(", ")}"`);if(f.nonull===!0||f.nullglob===!0)return f.unescape?l.map(d=>d.replace(/\\/g,"")):l}return y};s.match=s,s.matcher=(o,l)=>n(o,l),s.isMatch=(o,l,f)=>n(l,f)(o),s.any=s.isMatch,s.not=(o,l,f={})=>{l=[].concat(l).map(String);let c=new Set,h=[],p=g=>{f.onResult&&f.onResult(g),h.push(g.output)},D=new Set(s(o,l,{...f,onResult:p}));for(let g of h)D.has(g)||c.add(g);return[...c]},s.contains=(o,l,f)=>{if(typeof o!="string")throw new TypeError(`Expected a string: "${r.inspect(o)}"`);if(Array.isArray(l))return l.some(c=>s.contains(o,c,f));if(typeof l=="string"){if(a(o)||a(l))return!1;if(o.includes(l)||o.startsWith("./")&&o.slice(2).includes(l))return!0}return s.isMatch(o,l,{...f,contains:!0})},s.matchKeys=(o,l,f)=>{if(!i.isObject(o))throw new TypeError("Expected the first argument to be an object");let c=s(Object.keys(o),l,f),h={};for(let p of c)h[p]=o[p];return h},s.some=(o,l,f)=>{let c=[].concat(o);for(let h of[].concat(l)){let p=n(String(h),f);if(c.some(D=>p(D)))return!0}return!1},s.every=(o,l,f)=>{let c=[].concat(o);for(let h of[].concat(l)){let p=n(String(h),f);if(!c.every(D=>p(D)))return!1}return!0},s.all=(o,l,f)=>{if(typeof o!="string")throw new TypeError(`Expected a string: "${r.inspect(o)}"`);return[].concat(l).every(c=>n(c,f)(o))},s.capture=(o,l,f)=>{let c=i.isWindows(f),p=n.makeRe(String(o),{...f,capture:!0}).exec(c?i.toPosixSlashes(l):l);if(p)return p.slice(1).map(D=>D===void 0?"":D)},s.makeRe=(...o)=>n.makeRe(...o),s.scan=(...o)=>n.scan(...o),s.parse=(o,l)=>{let f=[];for(let c of[].concat(o||[]))for(let h of u(String(c),l))f.push(n.parse(h,l));return f},s.braces=(o,l)=>{if(typeof o!="string")throw new TypeError("Expected a string");return l&&l.nobrace===!0||!/\{.*\}/.test(o)?[o]:u(o,l)},s.braceExpand=(o,l)=>{if(typeof o!="string")throw new TypeError("Expected a string");return s.braces(o,{...l,expand:!0})},t.exports=s}}),N0=U({"node_modules/fast-glob/out/utils/pattern.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeDuplicateSlashes=e.matchAny=e.convertPatternsToRe=e.makeRe=e.getPatternParts=e.expandBraceExpansion=e.expandPatternsWithBraceExpansion=e.isAffectDepthOfReadingPattern=e.endsWithSlashGlobStar=e.hasGlobStar=e.getBaseDirectory=e.isPatternRelatedToParentDirectory=e.getPatternsOutsideCurrentDirectory=e.getPatternsInsideCurrentDirectory=e.getPositivePatterns=e.getNegativePatterns=e.isPositivePattern=e.isNegativePattern=e.convertToNegativePattern=e.convertToPositivePattern=e.isDynamicPattern=e.isStaticPattern=void 0;var t=oe("path"),r=A0(),u=Xs(),n="**",i="\\",a=/[*?]|^!/,s=/\[[^[]*]/,o=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,l=/[!*+?@]\([^(]*\)/,f=/,|\.\./,c=/(?!^)\/{2,}/g;function h(S,N={}){return!p(S,N)}e.isStaticPattern=h;function p(S,N={}){return S===""?!1:!!(N.caseSensitiveMatch===!1||S.includes(i)||a.test(S)||s.test(S)||o.test(S)||N.extglob!==!1&&l.test(S)||N.braceExpansion!==!1&&D(S))}e.isDynamicPattern=p;function D(S){let N=S.indexOf("{");if(N===-1)return!1;let H=S.indexOf("}",N+1);if(H===-1)return!1;let Y=S.slice(N,H);return f.test(Y)}function g(S){return y(S)?S.slice(1):S}e.convertToPositivePattern=g;function C(S){return"!"+S}e.convertToNegativePattern=C;function y(S){return S.startsWith("!")&&S[1]!=="("}e.isNegativePattern=y;function d(S){return!y(S)}e.isPositivePattern=d;function F(S){return S.filter(y)}e.getNegativePatterns=F;function A(S){return S.filter(d)}e.getPositivePatterns=A;function m(S){return S.filter(N=>!R(N))}e.getPatternsInsideCurrentDirectory=m;function O(S){return S.filter(R)}e.getPatternsOutsideCurrentDirectory=O;function R(S){return S.startsWith("..")||S.startsWith("./..")}e.isPatternRelatedToParentDirectory=R;function v(S){return r(S,{flipBackslashes:!1})}e.getBaseDirectory=v;function T(S){return S.includes(n)}e.hasGlobStar=T;function P(S){return S.endsWith("/"+n)}e.endsWithSlashGlobStar=P;function k(S){let N=t.basename(S);return P(S)||h(N)}e.isAffectDepthOfReadingPattern=k;function I(S){return S.reduce((N,H)=>N.concat(E(H)),[])}e.expandPatternsWithBraceExpansion=I;function E(S){let N=u.braces(S,{expand:!0,nodupes:!0,keepEscaping:!0});return N.sort((H,Y)=>H.length-Y.length),N.filter(H=>H!=="")}e.expandBraceExpansion=E;function _(S,N){let{parts:H}=u.scan(S,Object.assign(Object.assign({},N),{parts:!0}));return H.length===0&&(H=[S]),H[0].startsWith("/")&&(H[0]=H[0].slice(1),H.unshift("")),H}e.getPatternParts=_;function b(S,N){return u.makeRe(S,N)}e.makeRe=b;function B(S,N){return S.map(H=>b(H,N))}e.convertPatternsToRe=B;function j(S,N){return N.some(H=>H.test(S))}e.matchAny=j;function w(S){return S.replace(c,"/")}e.removeDuplicateSlashes=w}}),P0=U({"node_modules/merge2/index.js"(e,t){"use strict";var r=oe("stream"),u=r.PassThrough,n=Array.prototype.slice;t.exports=i;function i(){let s=[],o=n.call(arguments),l=!1,f=o[o.length-1];f&&!Array.isArray(f)&&f.pipe==null?o.pop():f={};let c=f.end!==!1,h=f.pipeError===!0;f.objectMode==null&&(f.objectMode=!0),f.highWaterMark==null&&(f.highWaterMark=64*1024);let p=u(f);function D(){for(let y=0,d=arguments.length;y<d;y++)s.push(a(arguments[y],f));return g(),this}function g(){if(l)return;l=!0;let y=s.shift();if(!y){process.nextTick(C);return}Array.isArray(y)||(y=[y]);let d=y.length+1;function F(){--d>0||(l=!1,g())}function A(m){function O(){m.removeListener("merge2UnpipeEnd",O),m.removeListener("end",O),h&&m.removeListener("error",R),F()}function R(v){p.emit("error",v)}if(m._readableState.endEmitted)return F();m.on("merge2UnpipeEnd",O),m.on("end",O),h&&m.on("error",R),m.pipe(p,{end:!1}),m.resume()}for(let m=0;m<y.length;m++)A(y[m]);F()}function C(){l=!1,p.emit("queueDrain"),c&&p.end()}return p.setMaxListeners(0),p.add=D,p.on("unpipe",function(y){y.emit("merge2UnpipeEnd")}),o.length&&D.apply(null,o),p}function a(s,o){if(Array.isArray(s))for(let l=0,f=s.length;l<f;l++)s[l]=a(s[l],o);else{if(!s._readableState&&s.pipe&&(s=s.pipe(u(o))),!s._readableState||!s.pause||!s.pipe)throw new Error("Only readable stream can be merged.");s.pause()}return s}}}),L0=U({"node_modules/fast-glob/out/utils/stream.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.merge=void 0;var t=P0();function r(n){let i=t(n);return n.forEach(a=>{a.once("error",s=>i.emit("error",s))}),i.once("close",()=>u(n)),i.once("end",()=>u(n)),i}e.merge=r;function u(n){n.forEach(i=>i.emit("close"))}}}),x0=U({"node_modules/fast-glob/out/utils/string.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isEmpty=e.isString=void 0;function t(u){return typeof u=="string"}e.isString=t;function r(u){return u===""}e.isEmpty=r}}),jt=U({"node_modules/fast-glob/out/utils/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.string=e.stream=e.pattern=e.path=e.fs=e.errno=e.array=void 0;var t=g0();e.array=t;var r=m0();e.errno=r;var u=E0();e.fs=u;var n=F0();e.path=n;var i=N0();e.pattern=i;var a=L0();e.stream=a;var s=x0();e.string=s}}),j0=U({"node_modules/fast-glob/out/managers/tasks.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.convertPatternGroupToTask=e.convertPatternGroupsToTasks=e.groupPatternsByBaseDirectory=e.getNegativePatternsAsPositive=e.getPositivePatterns=e.convertPatternsToTasks=e.generate=void 0;var t=jt();function r(f,c){let h=u(f,c),p=u(c.ignore,c),D=i(h),g=a(h,p),C=D.filter(A=>t.pattern.isStaticPattern(A,c)),y=D.filter(A=>t.pattern.isDynamicPattern(A,c)),d=n(C,g,!1),F=n(y,g,!0);return d.concat(F)}e.generate=r;function u(f,c){let h=f;return c.braceExpansion&&(h=t.pattern.expandPatternsWithBraceExpansion(h)),c.baseNameMatch&&(h=h.map(p=>p.includes("/")?p:`**/${p}`)),h.map(p=>t.pattern.removeDuplicateSlashes(p))}function n(f,c,h){let p=[],D=t.pattern.getPatternsOutsideCurrentDirectory(f),g=t.pattern.getPatternsInsideCurrentDirectory(f),C=s(D),y=s(g);return p.push(...o(C,c,h)),"."in y?p.push(l(".",g,c,h)):p.push(...o(y,c,h)),p}e.convertPatternsToTasks=n;function i(f){return t.pattern.getPositivePatterns(f)}e.getPositivePatterns=i;function a(f,c){return t.pattern.getNegativePatterns(f).concat(c).map(t.pattern.convertToPositivePattern)}e.getNegativePatternsAsPositive=a;function s(f){let c={};return f.reduce((h,p)=>{let D=t.pattern.getBaseDirectory(p);return D in h?h[D].push(p):h[D]=[p],h},c)}e.groupPatternsByBaseDirectory=s;function o(f,c,h){return Object.keys(f).map(p=>l(p,f[p],c,h))}e.convertPatternGroupsToTasks=o;function l(f,c,h,p){return{dynamic:p,positive:c,negative:h,base:f,patterns:[].concat(c,h.map(t.pattern.convertToNegativePattern))}}e.convertPatternGroupToTask=l}}),M0=U({"node_modules/@nodelib/fs.stat/out/providers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.read=void 0;function t(n,i,a){i.fs.lstat(n,(s,o)=>{if(s!==null){r(a,s);return}if(!o.isSymbolicLink()||!i.followSymbolicLink){u(a,o);return}i.fs.stat(n,(l,f)=>{if(l!==null){if(i.throwErrorOnBrokenSymbolicLink){r(a,l);return}u(a,o);return}i.markSymbolicLink&&(f.isSymbolicLink=()=>!0),u(a,f)})})}e.read=t;function r(n,i){n(i)}function u(n,i){n(null,i)}}}),$0=U({"node_modules/@nodelib/fs.stat/out/providers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.read=void 0;function t(r,u){let n=u.fs.lstatSync(r);if(!n.isSymbolicLink()||!u.followSymbolicLink)return n;try{let i=u.fs.statSync(r);return u.markSymbolicLink&&(i.isSymbolicLink=()=>!0),i}catch(i){if(!u.throwErrorOnBrokenSymbolicLink)return n;throw i}}e.read=t}}),U0=U({"node_modules/@nodelib/fs.stat/out/adapters/fs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;var t=oe("fs");e.FILE_SYSTEM_ADAPTER={lstat:t.lstat,stat:t.stat,lstatSync:t.lstatSync,statSync:t.statSync};function r(u){return u===void 0?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),u)}e.createFileSystemAdapter=r}}),H0=U({"node_modules/@nodelib/fs.stat/out/settings.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=U0(),r=class{constructor(u={}){this._options=u,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=t.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(u,n){return u??n}};e.default=r}}),Br=U({"node_modules/@nodelib/fs.stat/out/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.statSync=e.stat=e.Settings=void 0;var t=M0(),r=$0(),u=H0();e.Settings=u.default;function n(s,o,l){if(typeof o=="function"){t.read(s,a(),o);return}t.read(s,a(o),l)}e.stat=n;function i(s,o){let l=a(o);return r.read(s,l)}e.statSync=i;function a(s={}){return s instanceof u.default?s:new u.default(s)}}}),W0=U({"node_modules/queue-microtask/index.js"(e,t){var r;t.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):u=>(r||(r=Promise.resolve())).then(u).catch(n=>setTimeout(()=>{throw n},0))}}),G0=U({"node_modules/run-parallel/index.js"(e,t){t.exports=u;var r=W0();function u(n,i){let a,s,o,l=!0;Array.isArray(n)?(a=[],s=n.length):(o=Object.keys(n),a={},s=o.length);function f(h){function p(){i&&i(h,a),i=null}l?r(p):p()}function c(h,p,D){a[h]=D,(--s===0||p)&&f(p)}s?o?o.forEach(function(h){n[h](function(p,D){c(h,p,D)})}):n.forEach(function(h,p){h(function(D,g){c(p,D,g)})}):f(null),l=!1}}}),Qs=U({"node_modules/@nodelib/fs.scandir/out/constants.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var t=process.versions.node.split(".");if(t[0]===void 0||t[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var r=Number.parseInt(t[0],10),u=Number.parseInt(t[1],10),n=10,i=10,a=r>n,s=r===n&&u>=i;e.IS_SUPPORT_READDIR_WITH_FILE_TYPES=a||s}}),q0=U({"node_modules/@nodelib/fs.scandir/out/utils/fs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createDirentFromStats=void 0;var t=class{constructor(u,n){this.name=u,this.isBlockDevice=n.isBlockDevice.bind(n),this.isCharacterDevice=n.isCharacterDevice.bind(n),this.isDirectory=n.isDirectory.bind(n),this.isFIFO=n.isFIFO.bind(n),this.isFile=n.isFile.bind(n),this.isSocket=n.isSocket.bind(n),this.isSymbolicLink=n.isSymbolicLink.bind(n)}};function r(u,n){return new t(u,n)}e.createDirentFromStats=r}}),Js=U({"node_modules/@nodelib/fs.scandir/out/utils/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fs=void 0;var t=q0();e.fs=t}}),Zs=U({"node_modules/@nodelib/fs.scandir/out/providers/common.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.joinPathSegments=void 0;function t(r,u,n){return r.endsWith(n)?r+u:r+n+u}e.joinPathSegments=t}}),V0=U({"node_modules/@nodelib/fs.scandir/out/providers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.readdir=e.readdirWithFileTypes=e.read=void 0;var t=Br(),r=G0(),u=Qs(),n=Js(),i=Zs();function a(h,p,D){if(!p.stats&&u.IS_SUPPORT_READDIR_WITH_FILE_TYPES){s(h,p,D);return}l(h,p,D)}e.read=a;function s(h,p,D){p.fs.readdir(h,{withFileTypes:!0},(g,C)=>{if(g!==null){f(D,g);return}let y=C.map(F=>({dirent:F,name:F.name,path:i.joinPathSegments(h,F.name,p.pathSegmentSeparator)}));if(!p.followSymbolicLinks){c(D,y);return}let d=y.map(F=>o(F,p));r(d,(F,A)=>{if(F!==null){f(D,F);return}c(D,A)})})}e.readdirWithFileTypes=s;function o(h,p){return D=>{if(!h.dirent.isSymbolicLink()){D(null,h);return}p.fs.stat(h.path,(g,C)=>{if(g!==null){if(p.throwErrorOnBrokenSymbolicLink){D(g);return}D(null,h);return}h.dirent=n.fs.createDirentFromStats(h.name,C),D(null,h)})}}function l(h,p,D){p.fs.readdir(h,(g,C)=>{if(g!==null){f(D,g);return}let y=C.map(d=>{let F=i.joinPathSegments(h,d,p.pathSegmentSeparator);return A=>{t.stat(F,p.fsStatSettings,(m,O)=>{if(m!==null){A(m);return}let R={name:d,path:F,dirent:n.fs.createDirentFromStats(d,O)};p.stats&&(R.stats=O),A(null,R)})}});r(y,(d,F)=>{if(d!==null){f(D,d);return}c(D,F)})})}e.readdir=l;function f(h,p){h(p)}function c(h,p){h(null,p)}}}),Y0=U({"node_modules/@nodelib/fs.scandir/out/providers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.readdir=e.readdirWithFileTypes=e.read=void 0;var t=Br(),r=Qs(),u=Js(),n=Zs();function i(o,l){return!l.stats&&r.IS_SUPPORT_READDIR_WITH_FILE_TYPES?a(o,l):s(o,l)}e.read=i;function a(o,l){return l.fs.readdirSync(o,{withFileTypes:!0}).map(c=>{let h={dirent:c,name:c.name,path:n.joinPathSegments(o,c.name,l.pathSegmentSeparator)};if(h.dirent.isSymbolicLink()&&l.followSymbolicLinks)try{let p=l.fs.statSync(h.path);h.dirent=u.fs.createDirentFromStats(h.name,p)}catch(p){if(l.throwErrorOnBrokenSymbolicLink)throw p}return h})}e.readdirWithFileTypes=a;function s(o,l){return l.fs.readdirSync(o).map(c=>{let h=n.joinPathSegments(o,c,l.pathSegmentSeparator),p=t.statSync(h,l.fsStatSettings),D={name:c,path:h,dirent:u.fs.createDirentFromStats(c,p)};return l.stats&&(D.stats=p),D})}e.readdir=s}}),K0=U({"node_modules/@nodelib/fs.scandir/out/adapters/fs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;var t=oe("fs");e.FILE_SYSTEM_ADAPTER={lstat:t.lstat,stat:t.stat,lstatSync:t.lstatSync,statSync:t.statSync,readdir:t.readdir,readdirSync:t.readdirSync};function r(u){return u===void 0?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),u)}e.createFileSystemAdapter=r}}),z0=U({"node_modules/@nodelib/fs.scandir/out/settings.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=oe("path"),r=Br(),u=K0(),n=class{constructor(i={}){this._options=i,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=u.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,t.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new r.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(i,a){return i??a}};e.default=n}}),hi=U({"node_modules/@nodelib/fs.scandir/out/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Settings=e.scandirSync=e.scandir=void 0;var t=V0(),r=Y0(),u=z0();e.Settings=u.default;function n(s,o,l){if(typeof o=="function"){t.read(s,a(),o);return}t.read(s,a(o),l)}e.scandir=n;function i(s,o){let l=a(o);return r.read(s,l)}e.scandirSync=i;function a(s={}){return s instanceof u.default?s:new u.default(s)}}}),X0=U({"node_modules/reusify/reusify.js"(e,t){"use strict";function r(u){var n=new u,i=n;function a(){var o=n;return o.next?n=o.next:(n=new u,i=n),o.next=null,o}function s(o){i.next=o,i=o}return{get:a,release:s}}t.exports=r}}),Q0=U({"node_modules/fastq/queue.js"(e,t){"use strict";var r=X0();function u(s,o,l){if(typeof s=="function"&&(l=o,o=s,s=null),!(l>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var f=r(i),c=null,h=null,p=0,D=null,g={push:O,drain:n,saturated:n,pause:y,paused:!1,get concurrency(){return l},set concurrency(I){if(!(I>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(l=I,!g.paused)for(;c&&p<l;)p++,v()},running:C,resume:A,idle:m,length:d,getQueue:F,unshift:R,empty:n,kill:T,killAndDrain:P,error:k};return g;function C(){return p}function y(){g.paused=!0}function d(){for(var I=c,E=0;I;)I=I.next,E++;return E}function F(){for(var I=c,E=[];I;)E.push(I.value),I=I.next;return E}function A(){if(g.paused){if(g.paused=!1,c===null){p++,v();return}for(;c&&p<l;)p++,v()}}function m(){return p===0&&g.length()===0}function O(I,E){var _=f.get();_.context=s,_.release=v,_.value=I,_.callback=E||n,_.errorHandler=D,p>=l||g.paused?h?(h.next=_,h=_):(c=_,h=_,g.saturated()):(p++,o.call(s,_.value,_.worked))}function R(I,E){var _=f.get();_.context=s,_.release=v,_.value=I,_.callback=E||n,_.errorHandler=D,p>=l||g.paused?c?(_.next=c,c=_):(c=_,h=_,g.saturated()):(p++,o.call(s,_.value,_.worked))}function v(I){I&&f.release(I);var E=c;E&&p<=l?g.paused?p--:(h===c&&(h=null),c=E.next,E.next=null,o.call(s,E.value,E.worked),h===null&&g.empty()):--p===0&&g.drain()}function T(){c=null,h=null,g.drain=n}function P(){c=null,h=null,g.drain(),g.drain=n}function k(I){D=I}}function n(){}function i(){this.value=null,this.callback=n,this.next=null,this.release=n,this.context=null,this.errorHandler=null;var s=this;this.worked=function(l,f){var c=s.callback,h=s.errorHandler,p=s.value;s.value=null,s.callback=n,s.errorHandler&&h(l,p),c.call(s.context,l,f),s.release(s)}}function a(s,o,l){typeof s=="function"&&(l=o,o=s,s=null);function f(y,d){o.call(this,y).then(function(F){d(null,F)},d)}var c=u(s,f,l),h=c.push,p=c.unshift;return c.push=D,c.unshift=g,c.drained=C,c;function D(y){var d=new Promise(function(F,A){h(y,function(m,O){if(m){A(m);return}F(O)})});return d.catch(n),d}function g(y){var d=new Promise(function(F,A){p(y,function(m,O){if(m){A(m);return}F(O)})});return d.catch(n),d}function C(){if(c.idle())return new Promise(function(F){F()});var y=c.drain,d=new Promise(function(F){c.drain=function(){y(),F()}});return d}}t.exports=u,t.exports.promise=a}}),pi=U({"node_modules/@nodelib/fs.walk/out/readers/common.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.joinPathSegments=e.replacePathSegmentSeparator=e.isAppliedFilter=e.isFatalError=void 0;function t(i,a){return i.errorFilter===null?!0:!i.errorFilter(a)}e.isFatalError=t;function r(i,a){return i===null||i(a)}e.isAppliedFilter=r;function u(i,a){return i.split(/[/\\]/).join(a)}e.replacePathSegmentSeparator=u;function n(i,a,s){return i===""?a:i.endsWith(s)?i+a:i+s+a}e.joinPathSegments=n}}),eo=U({"node_modules/@nodelib/fs.walk/out/readers/reader.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=pi(),r=class{constructor(u,n){this._root=u,this._settings=n,this._root=t.replacePathSegmentSeparator(u,n.pathSegmentSeparator)}};e.default=r}}),to=U({"node_modules/@nodelib/fs.walk/out/readers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=oe("events"),r=hi(),u=Q0(),n=pi(),i=eo(),a=class extends i.default{constructor(s,o){super(s,o),this._settings=o,this._scandir=r.scandir,this._emitter=new t.EventEmitter,this._queue=u(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(s){this._emitter.on("entry",s)}onError(s){this._emitter.once("error",s)}onEnd(s){this._emitter.once("end",s)}_pushToQueue(s,o){let l={directory:s,base:o};this._queue.push(l,f=>{f!==null&&this._handleError(f)})}_worker(s,o){this._scandir(s.directory,this._settings.fsScandirSettings,(l,f)=>{if(l!==null){o(l,void 0);return}for(let c of f)this._handleEntry(c,s.base);o(null,void 0)})}_handleError(s){this._isDestroyed||!n.isFatalError(this._settings,s)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",s))}_handleEntry(s,o){if(this._isDestroyed||this._isFatalError)return;let l=s.path;o!==void 0&&(s.path=n.joinPathSegments(o,s.name,this._settings.pathSegmentSeparator)),n.isAppliedFilter(this._settings.entryFilter,s)&&this._emitEntry(s),s.dirent.isDirectory()&&n.isAppliedFilter(this._settings.deepFilter,s)&&this._pushToQueue(l,o===void 0?void 0:s.path)}_emitEntry(s){this._emitter.emit("entry",s)}};e.default=a}}),J0=U({"node_modules/@nodelib/fs.walk/out/providers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=to(),r=class{constructor(i,a){this._root=i,this._settings=a,this._reader=new t.default(this._root,this._settings),this._storage=[]}read(i){this._reader.onError(a=>{u(i,a)}),this._reader.onEntry(a=>{this._storage.push(a)}),this._reader.onEnd(()=>{n(i,this._storage)}),this._reader.read()}};e.default=r;function u(i,a){i(a)}function n(i,a){i(null,a)}}}),Z0=U({"node_modules/@nodelib/fs.walk/out/providers/stream.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=oe("stream"),r=to(),u=class{constructor(n,i){this._root=n,this._settings=i,this._reader=new r.default(this._root,this._settings),this._stream=new t.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(n=>{this._stream.emit("error",n)}),this._reader.onEntry(n=>{this._stream.push(n)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};e.default=u}}),ef=U({"node_modules/@nodelib/fs.walk/out/readers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=hi(),r=pi(),u=eo(),n=class extends u.default{constructor(){super(...arguments),this._scandir=t.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(i,a){this._queue.add({directory:i,base:a})}_handleQueue(){for(let i of this._queue.values())this._handleDirectory(i.directory,i.base)}_handleDirectory(i,a){try{let s=this._scandir(i,this._settings.fsScandirSettings);for(let o of s)this._handleEntry(o,a)}catch(s){this._handleError(s)}}_handleError(i){if(r.isFatalError(this._settings,i))throw i}_handleEntry(i,a){let s=i.path;a!==void 0&&(i.path=r.joinPathSegments(a,i.name,this._settings.pathSegmentSeparator)),r.isAppliedFilter(this._settings.entryFilter,i)&&this._pushToStorage(i),i.dirent.isDirectory()&&r.isAppliedFilter(this._settings.deepFilter,i)&&this._pushToQueue(s,a===void 0?void 0:i.path)}_pushToStorage(i){this._storage.push(i)}};e.default=n}}),tf=U({"node_modules/@nodelib/fs.walk/out/providers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=ef(),r=class{constructor(u,n){this._root=u,this._settings=n,this._reader=new t.default(this._root,this._settings)}read(){return this._reader.read()}};e.default=r}}),rf=U({"node_modules/@nodelib/fs.walk/out/settings.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=oe("path"),r=hi(),u=class{constructor(n={}){this._options=n,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,t.sep),this.fsScandirSettings=new r.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(n,i){return n??i}};e.default=u}}),di=U({"node_modules/@nodelib/fs.walk/out/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Settings=e.walkStream=e.walkSync=e.walk=void 0;var t=J0(),r=Z0(),u=tf(),n=rf();e.Settings=n.default;function i(l,f,c){if(typeof f=="function"){new t.default(l,o()).read(f);return}new t.default(l,o(f)).read(c)}e.walk=i;function a(l,f){let c=o(f);return new u.default(l,c).read()}e.walkSync=a;function s(l,f){let c=o(f);return new r.default(l,c).read()}e.walkStream=s;function o(l={}){return l instanceof n.default?l:new n.default(l)}}}),gi=U({"node_modules/fast-glob/out/readers/reader.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=oe("path"),r=Br(),u=jt(),n=class{constructor(i){this._settings=i,this._fsStatSettings=new r.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(i){return t.resolve(this._settings.cwd,i)}_makeEntry(i,a){let s={name:a,path:a,dirent:u.fs.createDirentFromStats(a,i)};return this._settings.stats&&(s.stats=i),s}_isFatalError(i){return!u.errno.isEnoentCodeError(i)&&!this._settings.suppressErrors}};e.default=n}}),ro=U({"node_modules/fast-glob/out/readers/stream.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=oe("stream"),r=Br(),u=di(),n=gi(),i=class extends n.default{constructor(){super(...arguments),this._walkStream=u.walkStream,this._stat=r.stat}dynamic(a,s){return this._walkStream(a,s)}static(a,s){let o=a.map(this._getFullEntryPath,this),l=new t.PassThrough({objectMode:!0});l._write=(f,c,h)=>this._getEntry(o[f],a[f],s).then(p=>{p!==null&&s.entryFilter(p)&&l.push(p),f===o.length-1&&l.end(),h()}).catch(h);for(let f=0;f<o.length;f++)l.write(f);return l}_getEntry(a,s,o){return this._getStat(a).then(l=>this._makeEntry(l,s)).catch(l=>{if(o.errorFilter(l))return null;throw l})}_getStat(a){return new Promise((s,o)=>{this._stat(a,this._fsStatSettings,(l,f)=>l===null?s(f):o(l))})}};e.default=i}}),uf=U({"node_modules/fast-glob/out/readers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=di(),r=gi(),u=ro(),n=class extends r.default{constructor(){super(...arguments),this._walkAsync=t.walk,this._readerStream=new u.default(this._settings)}dynamic(i,a){return new Promise((s,o)=>{this._walkAsync(i,a,(l,f)=>{l===null?s(f):o(l)})})}async static(i,a){let s=[],o=this._readerStream.static(i,a);return new Promise((l,f)=>{o.once("error",f),o.on("data",c=>s.push(c)),o.once("end",()=>l(s))})}};e.default=n}}),nf=U({"node_modules/fast-glob/out/providers/matchers/matcher.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=jt(),r=class{constructor(u,n,i){this._patterns=u,this._settings=n,this._micromatchOptions=i,this._storage=[],this._fillStorage()}_fillStorage(){for(let u of this._patterns){let n=this._getPatternSegments(u),i=this._splitSegmentsIntoSections(n);this._storage.push({complete:i.length<=1,pattern:u,segments:n,sections:i})}}_getPatternSegments(u){return t.pattern.getPatternParts(u,this._micromatchOptions).map(i=>t.pattern.isDynamicPattern(i,this._settings)?{dynamic:!0,pattern:i,patternRe:t.pattern.makeRe(i,this._micromatchOptions)}:{dynamic:!1,pattern:i})}_splitSegmentsIntoSections(u){return t.array.splitWhen(u,n=>n.dynamic&&t.pattern.hasGlobStar(n.pattern))}};e.default=r}}),af=U({"node_modules/fast-glob/out/providers/matchers/partial.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=nf(),r=class extends t.default{match(u){let n=u.split("/"),i=n.length,a=this._storage.filter(s=>!s.complete||s.segments.length>i);for(let s of a){let o=s.sections[0];if(!s.complete&&i>o.length||n.every((f,c)=>{let h=s.segments[c];return!!(h.dynamic&&h.patternRe.test(f)||!h.dynamic&&h.pattern===f)}))return!0}return!1}};e.default=r}}),sf=U({"node_modules/fast-glob/out/providers/filters/deep.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=jt(),r=af(),u=class{constructor(n,i){this._settings=n,this._micromatchOptions=i}getFilter(n,i,a){let s=this._getMatcher(i),o=this._getNegativePatternsRe(a);return l=>this._filter(n,l,s,o)}_getMatcher(n){return new r.default(n,this._settings,this._micromatchOptions)}_getNegativePatternsRe(n){let i=n.filter(t.pattern.isAffectDepthOfReadingPattern);return t.pattern.convertPatternsToRe(i,this._micromatchOptions)}_filter(n,i,a,s){if(this._isSkippedByDeep(n,i.path)||this._isSkippedSymbolicLink(i))return!1;let o=t.path.removeLeadingDotSegment(i.path);return this._isSkippedByPositivePatterns(o,a)?!1:this._isSkippedByNegativePatterns(o,s)}_isSkippedByDeep(n,i){return this._settings.deep===1/0?!1:this._getEntryLevel(n,i)>=this._settings.deep}_getEntryLevel(n,i){let a=i.split("/").length;if(n==="")return a;let s=n.split("/").length;return a-s}_isSkippedSymbolicLink(n){return!this._settings.followSymbolicLinks&&n.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(n,i){return!this._settings.baseNameMatch&&!i.match(n)}_isSkippedByNegativePatterns(n,i){return!t.pattern.matchAny(n,i)}};e.default=u}}),of=U({"node_modules/fast-glob/out/providers/filters/entry.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=jt(),r=class{constructor(u,n){this._settings=u,this._micromatchOptions=n,this.index=new Map}getFilter(u,n){let i=t.pattern.convertPatternsToRe(u,this._micromatchOptions),a=t.pattern.convertPatternsToRe(n,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return s=>this._filter(s,i,a)}_filter(u,n,i){let a=t.path.removeLeadingDotSegment(u.path);if(this._settings.unique&&this._isDuplicateEntry(a)||this._onlyFileFilter(u)||this._onlyDirectoryFilter(u)||this._isSkippedByAbsoluteNegativePatterns(a,i))return!1;let s=u.dirent.isDirectory(),o=this._isMatchToPatterns(a,n,s)&&!this._isMatchToPatterns(a,i,s);return this._settings.unique&&o&&this._createIndexRecord(a),o}_isDuplicateEntry(u){return this.index.has(u)}_createIndexRecord(u){this.index.set(u,void 0)}_onlyFileFilter(u){return this._settings.onlyFiles&&!u.dirent.isFile()}_onlyDirectoryFilter(u){return this._settings.onlyDirectories&&!u.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(u,n){if(!this._settings.absolute)return!1;let i=t.path.makeAbsolute(this._settings.cwd,u);return t.pattern.matchAny(i,n)}_isMatchToPatterns(u,n,i){let a=t.pattern.matchAny(u,n);return!a&&i?t.pattern.matchAny(u+"/",n):a}};e.default=r}}),lf=U({"node_modules/fast-glob/out/providers/filters/error.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=jt(),r=class{constructor(u){this._settings=u}getFilter(){return u=>this._isNonFatalError(u)}_isNonFatalError(u){return t.errno.isEnoentCodeError(u)||this._settings.suppressErrors}};e.default=r}}),cf=U({"node_modules/fast-glob/out/providers/transformers/entry.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=jt(),r=class{constructor(u){this._settings=u}getTransformer(){return u=>this._transform(u)}_transform(u){let n=u.path;return this._settings.absolute&&(n=t.path.makeAbsolute(this._settings.cwd,n),n=t.path.unixify(n)),this._settings.markDirectories&&u.dirent.isDirectory()&&(n+="/"),this._settings.objectMode?Object.assign(Object.assign({},u),{path:n}):n}};e.default=r}}),mi=U({"node_modules/fast-glob/out/providers/provider.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=oe("path"),r=sf(),u=of(),n=lf(),i=cf(),a=class{constructor(s){this._settings=s,this.errorFilter=new n.default(this._settings),this.entryFilter=new u.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new r.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new i.default(this._settings)}_getRootDirectory(s){return t.resolve(this._settings.cwd,s.base)}_getReaderOptions(s){let o=s.base==="."?"":s.base;return{basePath:o,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(o,s.positive,s.negative),entryFilter:this.entryFilter.getFilter(s.positive,s.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};e.default=a}}),ff=U({"node_modules/fast-glob/out/providers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=uf(),r=mi(),u=class extends r.default{constructor(){super(...arguments),this._reader=new t.default(this._settings)}async read(n){let i=this._getRootDirectory(n),a=this._getReaderOptions(n);return(await this.api(i,n,a)).map(o=>a.transform(o))}api(n,i,a){return i.dynamic?this._reader.dynamic(n,a):this._reader.static(i.patterns,a)}};e.default=u}}),Df=U({"node_modules/fast-glob/out/providers/stream.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=oe("stream"),r=ro(),u=mi(),n=class extends u.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}read(i){let a=this._getRootDirectory(i),s=this._getReaderOptions(i),o=this.api(a,i,s),l=new t.Readable({objectMode:!0,read:()=>{}});return o.once("error",f=>l.emit("error",f)).on("data",f=>l.emit("data",s.transform(f))).once("end",()=>l.emit("end")),l.once("close",()=>o.destroy()),l}api(i,a,s){return a.dynamic?this._reader.dynamic(i,s):this._reader.static(a.patterns,s)}};e.default=n}}),hf=U({"node_modules/fast-glob/out/readers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=Br(),r=di(),u=gi(),n=class extends u.default{constructor(){super(...arguments),this._walkSync=r.walkSync,this._statSync=t.statSync}dynamic(i,a){return this._walkSync(i,a)}static(i,a){let s=[];for(let o of i){let l=this._getFullEntryPath(o),f=this._getEntry(l,o,a);f===null||!a.entryFilter(f)||s.push(f)}return s}_getEntry(i,a,s){try{let o=this._getStat(i);return this._makeEntry(o,a)}catch(o){if(s.errorFilter(o))return null;throw o}}_getStat(i){return this._statSync(i,this._fsStatSettings)}};e.default=n}}),pf=U({"node_modules/fast-glob/out/providers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=hf(),r=mi(),u=class extends r.default{constructor(){super(...arguments),this._reader=new t.default(this._settings)}read(n){let i=this._getRootDirectory(n),a=this._getReaderOptions(n);return this.api(i,n,a).map(a.transform)}api(n,i,a){return i.dynamic?this._reader.dynamic(n,a):this._reader.static(i.patterns,a)}};e.default=u}}),df=U({"node_modules/fast-glob/out/settings.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var t=oe("fs"),r=oe("os"),u=Math.max(r.cpus().length,1);e.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:t.lstat,lstatSync:t.lstatSync,stat:t.stat,statSync:t.statSync,readdir:t.readdir,readdirSync:t.readdirSync};var n=class{constructor(i={}){this._options=i,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,u),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(i,a){return i===void 0?a:i}_getFileSystemMethods(i={}){return Object.assign(Object.assign({},e.DEFAULT_FILE_SYSTEM_ADAPTER),i)}};e.default=n}}),gf=U({"node_modules/fast-glob/out/index.js"(e,t){"use strict";var r=j0(),u=ff(),n=Df(),i=pf(),a=df(),s=jt();async function o(c,h){f(c);let p=l(c,u.default,h),D=await Promise.all(p);return s.array.flatten(D)}(function(c){c.glob=c,c.globSync=h,c.globStream=p,c.async=c;function h(A,m){f(A);let O=l(A,i.default,m);return s.array.flatten(O)}c.sync=h;function p(A,m){f(A);let O=l(A,n.default,m);return s.stream.merge(O)}c.stream=p;function D(A,m){f(A);let O=[].concat(A),R=new a.default(m);return r.generate(O,R)}c.generateTasks=D;function g(A,m){f(A);let O=new a.default(m);return s.pattern.isDynamicPattern(A,O)}c.isDynamicPattern=g;function C(A){return f(A),s.path.escape(A)}c.escapePath=C;function y(A){return f(A),s.path.convertPathToPattern(A)}c.convertPathToPattern=y;let d;(function(A){function m(R){return f(R),s.path.escapePosixPath(R)}A.escapePath=m;function O(R){return f(R),s.path.convertPosixPathToPattern(R)}A.convertPathToPattern=O})(d=c.posix||(c.posix={}));let F;(function(A){function m(R){return f(R),s.path.escapeWindowsPath(R)}A.escapePath=m;function O(R){return f(R),s.path.convertWindowsPathToPattern(R)}A.convertPathToPattern=O})(F=c.win32||(c.win32={}))})(o||(o={}));function l(c,h,p){let D=[].concat(c),g=new a.default(p),C=r.generate(D,g),y=new h(g);return C.map(y.read,y)}function f(c){if(![].concat(c).every(D=>s.string.isString(D)&&!s.string.isEmpty(D)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}t.exports=o}});function mf(){let e=new Map;for(let[t,r]of Object.entries(de)){for(let[u,n]of Object.entries(r))de[u]={open:`\x1B[${n[0]}m`,close:`\x1B[${n[1]}m`},r[u]=de[u],e.set(n[0],n[1]);Object.defineProperty(de,t,{value:r,enumerable:!1})}return Object.defineProperty(de,"codes",{value:e,enumerable:!1}),de.color.close="\x1B[39m",de.bgColor.close="\x1B[49m",de.color.ansi=Mn(),de.color.ansi256=$n(),de.color.ansi16m=Un(),de.bgColor.ansi=Mn(gu),de.bgColor.ansi256=$n(gu),de.bgColor.ansi16m=Un(gu),Object.defineProperties(de,{rgbToAnsi256:{value(t,r,u){return t===r&&r===u?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(u/255*5)},enumerable:!1},hexToRgb:{value(t){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r)return[0,0,0];let[u]=r;u.length===3&&(u=[...u].map(i=>i+i).join(""));let n=Number.parseInt(u,16);return[n>>16&255,n>>8&255,n&255]},enumerable:!1},hexToAnsi256:{value:t=>de.rgbToAnsi256(...de.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let r,u,n;if(t>=232)r=((t-232)*10+8)/255,u=r,n=r;else{t-=16;let s=t%36;r=Math.floor(t/36)/5,u=Math.floor(s/6)/5,n=s%6/5}let i=Math.max(r,u,n)*2;if(i===0)return 30;let a=30+(Math.round(n)<<2|Math.round(u)<<1|Math.round(r));return i===2&&(a+=60),a},enumerable:!1},rgbToAnsi:{value:(t,r,u)=>de.ansi256ToAnsi(de.rgbToAnsi256(t,r,u)),enumerable:!1},hexToAnsi:{value:t=>de.ansi256ToAnsi(de.hexToAnsi256(t)),enumerable:!1}}),de}var gu,Mn,$n,Un,de,Hn,Ru,Ou,Wn,Ia,Xe,Na=$u({"node_modules/chalk/source/vendor/ansi-styles/index.js"(){gu=10,Mn=(e=0)=>t=>`\x1B[${t+e}m`,$n=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Un=(e=0)=>(t,r,u)=>`\x1B[${38+e};2;${t};${r};${u}m`,de={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},Hn=Object.keys(de.modifier),Ru=Object.keys(de.color),Ou=Object.keys(de.bgColor),Wn=[...Ru,...Ou],Ia=mf(),Xe=Ia}});function Ue(e,t=globalThis.Deno?globalThis.Deno.args:Ei.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",u=t.indexOf(r+e),n=t.indexOf("--");return u!==-1&&(n===-1||u<n)}function Ff(){if("FORCE_COLOR"in me)return me.FORCE_COLOR==="true"?1:me.FORCE_COLOR==="false"?0:me.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(me.FORCE_COLOR,10),3)}function vf(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Cf(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let u=Ff();u!==void 0&&(Tu=u);let n=r?Tu:u;if(n===0)return 0;if(r){if(Ue("color=16m")||Ue("color=full")||Ue("color=truecolor"))return 3;if(Ue("color=256"))return 2}if("TF_BUILD"in me&&"AGENT_NAME"in me)return 1;if(e&&!t&&n===void 0)return 0;let i=n||0;if(me.TERM==="dumb")return i;if(Ei.platform==="win32"){let a=Ef.release().split(".");return Number(a[0])>=10&&Number(a[2])>=10586?Number(a[2])>=14931?3:2:1}if("CI"in me)return"GITHUB_ACTIONS"in me||"GITEA_ACTIONS"in me?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(a=>a in me)||me.CI_NAME==="codeship"?1:i;if("TEAMCITY_VERSION"in me)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(me.TEAMCITY_VERSION)?1:0;if(me.COLORTERM==="truecolor"||me.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in me){let a=Number.parseInt((me.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(me.TERM_PROGRAM){case"iTerm.app":return a>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(me.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(me.TERM)||"COLORTERM"in me?1:i}function La(e,t={}){let r=Cf(e,{streamIsTTY:e&&e.isTTY,...t});return vf(r)}var me,Tu,xa,uo,Af=$u({"node_modules/chalk/source/vendor/supports-color/index.js"(){({env:me}=Ei),Ue("no-color")||Ue("no-colors")||Ue("color=false")||Ue("color=never")?Tu=0:(Ue("color")||Ue("colors")||Ue("color=true")||Ue("color=always"))&&(Tu=1),xa={stdout:La({isTTY:Pa.isatty(1)}),stderr:La({isTTY:Pa.isatty(2)})},uo=xa}});function yf(e,t,r){let u=e.indexOf(t);if(u===-1)return e;let n=t.length,i=0,a="";do a+=e.slice(i,u)+t+r,i=u+n,u=e.indexOf(t,i);while(u!==-1);return a+=e.slice(i),a}function _f(e,t,r,u){let n=0,i="";do{let a=e[u-1]==="\r";i+=e.slice(n,a?u-1:u)+t+(a?`\r
566
569
  `:`
567
570
  `)+r,n=u+1,u=e.indexOf(`
568
- `,n)}while(u!==-1);return i+=e.slice(n),i}var bf=$u({"node_modules/chalk/source/utilities.js"(){}}),no={};wr(no,{Chalk:()=>io,backgroundColorNames:()=>Ou,backgroundColors:()=>Ou,chalkStderr:()=>ao,colorNames:()=>Gn,colors:()=>Gn,default:()=>He,foregroundColorNames:()=>Ru,foregroundColors:()=>Ru,modifierNames:()=>Hn,modifiers:()=>Hn,supportsColor:()=>mu,supportsColorStderr:()=>Eu});function Lr(e){return Wn(e)}var mu,Eu,lu,Kt,gr,Cn,zt,ja,io,Wn,cu,Ma,$a,fu,xr,Ua,Ha,ao,He,Gu=$u({"node_modules/chalk/source/index.js"(){Na(),Af(),bf(),Na(),{stdout:mu,stderr:Eu}=uo,lu=Symbol("GENERATOR"),Kt=Symbol("STYLER"),gr=Symbol("IS_EMPTY"),Cn=["ansi","ansi","ansi256","ansi16m"],zt=Object.create(null),ja=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=mu?mu.level:0;e.level=t.level===void 0?r:t.level},io=class{constructor(e){return Wn(e)}},Wn=e=>{let t=(...r)=>r.join(" ");return ja(t,e),Object.setPrototypeOf(t,Lr.prototype),t},Object.setPrototypeOf(Lr.prototype,Function.prototype);for(let[e,t]of Object.entries(Xe))zt[e]={get(){let r=xr(this,fu(t.open,t.close,this[Kt]),this[gr]);return Object.defineProperty(this,e,{value:r}),r}};zt.visible={get(){let e=xr(this,this[Kt],!0);return Object.defineProperty(this,"visible",{value:e}),e}},cu=(e,t,r,...u)=>e==="rgb"?t==="ansi16m"?Xe[r].ansi16m(...u):t==="ansi256"?Xe[r].ansi256(Xe.rgbToAnsi256(...u)):Xe[r].ansi(Xe.rgbToAnsi(...u)):e==="hex"?cu("rgb",t,r,...Xe.hexToRgb(...u)):Xe[r][e](...u),Ma=["rgb","hex","ansi256"];for(let e of Ma){zt[e]={get(){let{level:r}=this;return function(...u){let n=fu(cu(e,Cn[r],"color",...u),Xe.color.close,this[Kt]);return xr(this,n,this[gr])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);zt[t]={get(){let{level:r}=this;return function(...u){let n=fu(cu(e,Cn[r],"bgColor",...u),Xe.bgColor.close,this[Kt]);return xr(this,n,this[gr])}}}}$a=Object.defineProperties(()=>{},{...zt,level:{enumerable:!0,get(){return this[lu].level},set(e){this[lu].level=e}}}),fu=(e,t,r)=>{let u,n;return r===void 0?(u=e,n=t):(u=r.openAll+e,n=t+r.closeAll),{open:e,close:t,openAll:u,closeAll:n,parent:r}},xr=(e,t,r)=>{let u=(...n)=>Ua(u,n.length===1?""+n[0]:n.join(" "));return Object.setPrototypeOf(u,$a),u[lu]=e,u[Kt]=t,u[gr]=r,u},Ua=(e,t)=>{if(e.level<=0||!t)return e[gr]?"":t;let r=e[Kt];if(r===void 0)return t;let{openAll:u,closeAll:n}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=yf(t,r.close,r.open),r=r.parent;let i=t.indexOf(`
571
+ `,n)}while(u!==-1);return i+=e.slice(n),i}var bf=$u({"node_modules/chalk/source/utilities.js"(){}}),no={};wr(no,{Chalk:()=>io,backgroundColorNames:()=>Ou,backgroundColors:()=>Ou,chalkStderr:()=>ao,colorNames:()=>Wn,colors:()=>Wn,default:()=>He,foregroundColorNames:()=>Ru,foregroundColors:()=>Ru,modifierNames:()=>Hn,modifiers:()=>Hn,supportsColor:()=>mu,supportsColorStderr:()=>Eu});function Lr(e){return Gn(e)}var mu,Eu,lu,Kt,gr,Cn,zt,ja,io,Gn,cu,Ma,$a,fu,xr,Ua,Ha,ao,He,Wu=$u({"node_modules/chalk/source/index.js"(){Na(),Af(),bf(),Na(),{stdout:mu,stderr:Eu}=uo,lu=Symbol("GENERATOR"),Kt=Symbol("STYLER"),gr=Symbol("IS_EMPTY"),Cn=["ansi","ansi","ansi256","ansi16m"],zt=Object.create(null),ja=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=mu?mu.level:0;e.level=t.level===void 0?r:t.level},io=class{constructor(e){return Gn(e)}},Gn=e=>{let t=(...r)=>r.join(" ");return ja(t,e),Object.setPrototypeOf(t,Lr.prototype),t},Object.setPrototypeOf(Lr.prototype,Function.prototype);for(let[e,t]of Object.entries(Xe))zt[e]={get(){let r=xr(this,fu(t.open,t.close,this[Kt]),this[gr]);return Object.defineProperty(this,e,{value:r}),r}};zt.visible={get(){let e=xr(this,this[Kt],!0);return Object.defineProperty(this,"visible",{value:e}),e}},cu=(e,t,r,...u)=>e==="rgb"?t==="ansi16m"?Xe[r].ansi16m(...u):t==="ansi256"?Xe[r].ansi256(Xe.rgbToAnsi256(...u)):Xe[r].ansi(Xe.rgbToAnsi(...u)):e==="hex"?cu("rgb",t,r,...Xe.hexToRgb(...u)):Xe[r][e](...u),Ma=["rgb","hex","ansi256"];for(let e of Ma){zt[e]={get(){let{level:r}=this;return function(...u){let n=fu(cu(e,Cn[r],"color",...u),Xe.color.close,this[Kt]);return xr(this,n,this[gr])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);zt[t]={get(){let{level:r}=this;return function(...u){let n=fu(cu(e,Cn[r],"bgColor",...u),Xe.bgColor.close,this[Kt]);return xr(this,n,this[gr])}}}}$a=Object.defineProperties(()=>{},{...zt,level:{enumerable:!0,get(){return this[lu].level},set(e){this[lu].level=e}}}),fu=(e,t,r)=>{let u,n;return r===void 0?(u=e,n=t):(u=r.openAll+e,n=t+r.closeAll),{open:e,close:t,openAll:u,closeAll:n,parent:r}},xr=(e,t,r)=>{let u=(...n)=>Ua(u,n.length===1?""+n[0]:n.join(" "));return Object.setPrototypeOf(u,$a),u[lu]=e,u[Kt]=t,u[gr]=r,u},Ua=(e,t)=>{if(e.level<=0||!t)return e[gr]?"":t;let r=e[Kt];if(r===void 0)return t;let{openAll:u,closeAll:n}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=yf(t,r.close,r.open),r=r.parent;let i=t.indexOf(`
569
572
  `);return i!==-1&&(t=_f(t,n,u,i)),u+t+n},Object.defineProperties(Lr.prototype,zt),Ha=Lr(),ao=Lr({level:Eu?Eu.level:0}),He=Ha}}),so=U({"node_modules/semver/internal/debug.js"(e,t){var r=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...u)=>console.error("SEMVER",...u):()=>{};t.exports=r}}),oo=U({"node_modules/semver/internal/constants.js"(e,t){var r="2.0.0",u=256,n=Number.MAX_SAFE_INTEGER||9007199254740991,i=16,a=u-6,s=["major","premajor","minor","preminor","patch","prepatch","prerelease"];t.exports={MAX_LENGTH:u,MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:a,MAX_SAFE_INTEGER:n,RELEASE_TYPES:s,SEMVER_SPEC_VERSION:r,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}}),wf=U({"node_modules/semver/internal/re.js"(e,t){var{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:u,MAX_LENGTH:n}=oo(),i=so();e=t.exports={};var a=e.re=[],s=e.safeRe=[],o=e.src=[],l=e.t={},f=0,c="[a-zA-Z0-9-]",h=[["\\s",1],["\\d",n],[c,u]],p=g=>{for(let[C,y]of h)g=g.split(`${C}*`).join(`${C}{0,${y}}`).split(`${C}+`).join(`${C}{1,${y}}`);return g},D=(g,C,y)=>{let d=p(C),F=f++;i(g,F,C),l[g]=F,o[F]=C,a[F]=new RegExp(C,y?"g":void 0),s[F]=new RegExp(d,y?"g":void 0)};D("NUMERICIDENTIFIER","0|[1-9]\\d*"),D("NUMERICIDENTIFIERLOOSE","\\d+"),D("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${c}*`),D("MAINVERSION",`(${o[l.NUMERICIDENTIFIER]})\\.(${o[l.NUMERICIDENTIFIER]})\\.(${o[l.NUMERICIDENTIFIER]})`),D("MAINVERSIONLOOSE",`(${o[l.NUMERICIDENTIFIERLOOSE]})\\.(${o[l.NUMERICIDENTIFIERLOOSE]})\\.(${o[l.NUMERICIDENTIFIERLOOSE]})`),D("PRERELEASEIDENTIFIER",`(?:${o[l.NUMERICIDENTIFIER]}|${o[l.NONNUMERICIDENTIFIER]})`),D("PRERELEASEIDENTIFIERLOOSE",`(?:${o[l.NUMERICIDENTIFIERLOOSE]}|${o[l.NONNUMERICIDENTIFIER]})`),D("PRERELEASE",`(?:-(${o[l.PRERELEASEIDENTIFIER]}(?:\\.${o[l.PRERELEASEIDENTIFIER]})*))`),D("PRERELEASELOOSE",`(?:-?(${o[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[l.PRERELEASEIDENTIFIERLOOSE]})*))`),D("BUILDIDENTIFIER",`${c}+`),D("BUILD",`(?:\\+(${o[l.BUILDIDENTIFIER]}(?:\\.${o[l.BUILDIDENTIFIER]})*))`),D("FULLPLAIN",`v?${o[l.MAINVERSION]}${o[l.PRERELEASE]}?${o[l.BUILD]}?`),D("FULL",`^${o[l.FULLPLAIN]}$`),D("LOOSEPLAIN",`[v=\\s]*${o[l.MAINVERSIONLOOSE]}${o[l.PRERELEASELOOSE]}?${o[l.BUILD]}?`),D("LOOSE",`^${o[l.LOOSEPLAIN]}$`),D("GTLT","((?:<|>)?=?)"),D("XRANGEIDENTIFIERLOOSE",`${o[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),D("XRANGEIDENTIFIER",`${o[l.NUMERICIDENTIFIER]}|x|X|\\*`),D("XRANGEPLAIN",`[v=\\s]*(${o[l.XRANGEIDENTIFIER]})(?:\\.(${o[l.XRANGEIDENTIFIER]})(?:\\.(${o[l.XRANGEIDENTIFIER]})(?:${o[l.PRERELEASE]})?${o[l.BUILD]}?)?)?`),D("XRANGEPLAINLOOSE",`[v=\\s]*(${o[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[l.XRANGEIDENTIFIERLOOSE]})(?:${o[l.PRERELEASELOOSE]})?${o[l.BUILD]}?)?)?`),D("XRANGE",`^${o[l.GTLT]}\\s*${o[l.XRANGEPLAIN]}$`),D("XRANGELOOSE",`^${o[l.GTLT]}\\s*${o[l.XRANGEPLAINLOOSE]}$`),D("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),D("COERCE",`${o[l.COERCEPLAIN]}(?:$|[^\\d])`),D("COERCEFULL",o[l.COERCEPLAIN]+`(?:${o[l.PRERELEASE]})?(?:${o[l.BUILD]})?(?:$|[^\\d])`),D("COERCERTL",o[l.COERCE],!0),D("COERCERTLFULL",o[l.COERCEFULL],!0),D("LONETILDE","(?:~>?)"),D("TILDETRIM",`(\\s*)${o[l.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",D("TILDE",`^${o[l.LONETILDE]}${o[l.XRANGEPLAIN]}$`),D("TILDELOOSE",`^${o[l.LONETILDE]}${o[l.XRANGEPLAINLOOSE]}$`),D("LONECARET","(?:\\^)"),D("CARETTRIM",`(\\s*)${o[l.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",D("CARET",`^${o[l.LONECARET]}${o[l.XRANGEPLAIN]}$`),D("CARETLOOSE",`^${o[l.LONECARET]}${o[l.XRANGEPLAINLOOSE]}$`),D("COMPARATORLOOSE",`^${o[l.GTLT]}\\s*(${o[l.LOOSEPLAIN]})$|^$`),D("COMPARATOR",`^${o[l.GTLT]}\\s*(${o[l.FULLPLAIN]})$|^$`),D("COMPARATORTRIM",`(\\s*)${o[l.GTLT]}\\s*(${o[l.LOOSEPLAIN]}|${o[l.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",D("HYPHENRANGE",`^\\s*(${o[l.XRANGEPLAIN]})\\s+-\\s+(${o[l.XRANGEPLAIN]})\\s*$`),D("HYPHENRANGELOOSE",`^\\s*(${o[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[l.XRANGEPLAINLOOSE]})\\s*$`),D("STAR","(<|>)?=?\\s*\\*"),D("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),D("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Bf=U({"node_modules/semver/internal/parse-options.js"(e,t){var r=Object.freeze({loose:!0}),u=Object.freeze({}),n=i=>i?typeof i!="object"?r:i:u;t.exports=n}}),Sf=U({"node_modules/semver/internal/identifiers.js"(e,t){var r=/^[0-9]+$/,u=(i,a)=>{let s=r.test(i),o=r.test(a);return s&&o&&(i=+i,a=+a),i===a?0:s&&!o?-1:o&&!s?1:i<a?-1:1},n=(i,a)=>u(a,i);t.exports={compareIdentifiers:u,rcompareIdentifiers:n}}}),Rf=U({"node_modules/semver/classes/semver.js"(e,t){var r=so(),{MAX_LENGTH:u,MAX_SAFE_INTEGER:n}=oo(),{safeRe:i,t:a}=wf(),s=Bf(),{compareIdentifiers:o}=Sf(),l=class nt{constructor(c,h){if(h=s(h),c instanceof nt){if(c.loose===!!h.loose&&c.includePrerelease===!!h.includePrerelease)return c;c=c.version}else if(typeof c!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof c}".`);if(c.length>u)throw new TypeError(`version is longer than ${u} characters`);r("SemVer",c,h),this.options=h,this.loose=!!h.loose,this.includePrerelease=!!h.includePrerelease;let p=c.trim().match(h.loose?i[a.LOOSE]:i[a.FULL]);if(!p)throw new TypeError(`Invalid Version: ${c}`);if(this.raw=c,this.major=+p[1],this.minor=+p[2],this.patch=+p[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");p[4]?this.prerelease=p[4].split(".").map(D=>{if(/^[0-9]+$/.test(D)){let g=+D;if(g>=0&&g<n)return g}return D}):this.prerelease=[],this.build=p[5]?p[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(c){if(r("SemVer.compare",this.version,this.options,c),!(c instanceof nt)){if(typeof c=="string"&&c===this.version)return 0;c=new nt(c,this.options)}return c.version===this.version?0:this.compareMain(c)||this.comparePre(c)}compareMain(c){return c instanceof nt||(c=new nt(c,this.options)),o(this.major,c.major)||o(this.minor,c.minor)||o(this.patch,c.patch)}comparePre(c){if(c instanceof nt||(c=new nt(c,this.options)),this.prerelease.length&&!c.prerelease.length)return-1;if(!this.prerelease.length&&c.prerelease.length)return 1;if(!this.prerelease.length&&!c.prerelease.length)return 0;let h=0;do{let p=this.prerelease[h],D=c.prerelease[h];if(r("prerelease compare",h,p,D),p===void 0&&D===void 0)return 0;if(D===void 0)return 1;if(p===void 0)return-1;if(p===D)continue;return o(p,D)}while(++h)}compareBuild(c){c instanceof nt||(c=new nt(c,this.options));let h=0;do{let p=this.build[h],D=c.build[h];if(r("build compare",h,p,D),p===void 0&&D===void 0)return 0;if(D===void 0)return 1;if(p===void 0)return-1;if(p===D)continue;return o(p,D)}while(++h)}inc(c,h,p){switch(c){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",h,p);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",h,p);break;case"prepatch":this.prerelease.length=0,this.inc("patch",h,p),this.inc("pre",h,p);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",h,p),this.inc("pre",h,p);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let D=Number(p)?1:0;if(!h&&p===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[D];else{let g=this.prerelease.length;for(;--g>=0;)typeof this.prerelease[g]=="number"&&(this.prerelease[g]++,g=-2);if(g===-1){if(h===this.prerelease.join(".")&&p===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(D)}}if(h){let g=[h,D];p===!1&&(g=[h]),o(this.prerelease[0],h)===0?isNaN(this.prerelease[1])&&(this.prerelease=g):this.prerelease=g}break}default:throw new Error(`invalid increment argument: ${c}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};t.exports=l}}),Of=U({"node_modules/semver/functions/compare.js"(e,t){var r=Rf(),u=(n,i,a)=>new r(n,a).compare(new r(i,a));t.exports=u}}),Tf=U({"node_modules/semver/functions/gte.js"(e,t){var r=Of(),u=(n,i,a)=>r(n,i,a)>=0;t.exports=u}}),kf=U({"node_modules/pseudomap/pseudomap.js"(e,t){var r=Object.prototype.hasOwnProperty;t.exports=u;function u(o){if(!(this instanceof u))throw new TypeError("Constructor PseudoMap requires 'new'");if(this.clear(),o)if(o instanceof u||typeof Map=="function"&&o instanceof Map)o.forEach(function(l,f){this.set(f,l)},this);else if(Array.isArray(o))o.forEach(function(l){this.set(l[0],l[1])},this);else throw new TypeError("invalid argument")}u.prototype.forEach=function(o,l){l=l||this,Object.keys(this._data).forEach(function(f){f!=="size"&&o.call(l,this._data[f].value,this._data[f].key)},this)},u.prototype.has=function(o){return!!a(this._data,o)},u.prototype.get=function(o){var l=a(this._data,o);return l&&l.value},u.prototype.set=function(o,l){s(this._data,o,l)},u.prototype.delete=function(o){var l=a(this._data,o);l&&(delete this._data[l._index],this._data.size--)},u.prototype.clear=function(){var o=Object.create(null);o.size=0,Object.defineProperty(this,"_data",{value:o,enumerable:!1,configurable:!0,writable:!1})},Object.defineProperty(u.prototype,"size",{get:function(){return this._data.size},set:function(o){},enumerable:!0,configurable:!0}),u.prototype.values=u.prototype.keys=u.prototype.entries=function(){throw new Error("iterators are not implemented in this version")};function n(o,l){return o===l||o!==o&&l!==l}function i(o,l,f){this.key=o,this.value=l,this._index=f}function a(o,l){for(var f=0,c="_"+l,h=c;r.call(o,h);h=c+f++)if(n(o[h].key,l))return o[h]}function s(o,l,f){for(var c=0,h="_"+l,p=h;r.call(o,p);p=h+c++)if(n(o[p].key,l)){o[p].value=f;return}o.size++,o[p]=new i(l,f,p)}}}),If=U({"node_modules/pseudomap/map.js"(e,t){process.env.npm_package_name==="pseudomap"&&process.env.npm_lifecycle_script==="test"&&(process.env.TEST_PSEUDOMAP="true"),typeof Map=="function"&&!process.env.TEST_PSEUDOMAP?t.exports=Map:t.exports=kf()}}),Nf=U({"node_modules/yallist/yallist.js"(e,t){t.exports=r,r.Node=i,r.create=r;function r(a){var s=this;if(s instanceof r||(s=new r),s.tail=null,s.head=null,s.length=0,a&&typeof a.forEach=="function")a.forEach(function(f){s.push(f)});else if(arguments.length>0)for(var o=0,l=arguments.length;o<l;o++)s.push(arguments[o]);return s}r.prototype.removeNode=function(a){if(a.list!==this)throw new Error("removing node which does not belong to this list");var s=a.next,o=a.prev;s&&(s.prev=o),o&&(o.next=s),a===this.head&&(this.head=s),a===this.tail&&(this.tail=o),a.list.length--,a.next=null,a.prev=null,a.list=null},r.prototype.unshiftNode=function(a){if(a!==this.head){a.list&&a.list.removeNode(a);var s=this.head;a.list=this,a.next=s,s&&(s.prev=a),this.head=a,this.tail||(this.tail=a),this.length++}},r.prototype.pushNode=function(a){if(a!==this.tail){a.list&&a.list.removeNode(a);var s=this.tail;a.list=this,a.prev=s,s&&(s.next=a),this.tail=a,this.head||(this.head=a),this.length++}},r.prototype.push=function(){for(var a=0,s=arguments.length;a<s;a++)u(this,arguments[a]);return this.length},r.prototype.unshift=function(){for(var a=0,s=arguments.length;a<s;a++)n(this,arguments[a]);return this.length},r.prototype.pop=function(){if(this.tail){var a=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,a}},r.prototype.shift=function(){if(this.head){var a=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,a}},r.prototype.forEach=function(a,s){s=s||this;for(var o=this.head,l=0;o!==null;l++)a.call(s,o.value,l,this),o=o.next},r.prototype.forEachReverse=function(a,s){s=s||this;for(var o=this.tail,l=this.length-1;o!==null;l--)a.call(s,o.value,l,this),o=o.prev},r.prototype.get=function(a){for(var s=0,o=this.head;o!==null&&s<a;s++)o=o.next;if(s===a&&o!==null)return o.value},r.prototype.getReverse=function(a){for(var s=0,o=this.tail;o!==null&&s<a;s++)o=o.prev;if(s===a&&o!==null)return o.value},r.prototype.map=function(a,s){s=s||this;for(var o=new r,l=this.head;l!==null;)o.push(a.call(s,l.value,this)),l=l.next;return o},r.prototype.mapReverse=function(a,s){s=s||this;for(var o=new r,l=this.tail;l!==null;)o.push(a.call(s,l.value,this)),l=l.prev;return o},r.prototype.reduce=function(a,s){var o,l=this.head;if(arguments.length>1)o=s;else if(this.head)l=this.head.next,o=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var f=0;l!==null;f++)o=a(o,l.value,f),l=l.next;return o},r.prototype.reduceReverse=function(a,s){var o,l=this.tail;if(arguments.length>1)o=s;else if(this.tail)l=this.tail.prev,o=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var f=this.length-1;l!==null;f--)o=a(o,l.value,f),l=l.prev;return o},r.prototype.toArray=function(){for(var a=new Array(this.length),s=0,o=this.head;o!==null;s++)a[s]=o.value,o=o.next;return a},r.prototype.toArrayReverse=function(){for(var a=new Array(this.length),s=0,o=this.tail;o!==null;s++)a[s]=o.value,o=o.prev;return a},r.prototype.slice=function(a,s){s=s||this.length,s<0&&(s+=this.length),a=a||0,a<0&&(a+=this.length);var o=new r;if(s<a||s<0)return o;a<0&&(a=0),s>this.length&&(s=this.length);for(var l=0,f=this.head;f!==null&&l<a;l++)f=f.next;for(;f!==null&&l<s;l++,f=f.next)o.push(f.value);return o},r.prototype.sliceReverse=function(a,s){s=s||this.length,s<0&&(s+=this.length),a=a||0,a<0&&(a+=this.length);var o=new r;if(s<a||s<0)return o;a<0&&(a=0),s>this.length&&(s=this.length);for(var l=this.length,f=this.tail;f!==null&&l>s;l--)f=f.prev;for(;f!==null&&l>a;l--,f=f.prev)o.push(f.value);return o},r.prototype.reverse=function(){for(var a=this.head,s=this.tail,o=a;o!==null;o=o.prev){var l=o.prev;o.prev=o.next,o.next=l}return this.head=s,this.tail=a,this};function u(a,s){a.tail=new i(s,a.tail,null,a),a.head||(a.head=a.tail),a.length++}function n(a,s){a.head=new i(s,null,a.head,a),a.tail||(a.tail=a.head),a.length++}function i(a,s,o,l){if(!(this instanceof i))return new i(a,s,o,l);this.list=l,this.value=a,s?(s.next=this,this.prev=s):this.prev=null,o?(o.prev=this,this.next=o):this.next=null}}}),Pf=U({"node_modules/lru-cache/index.js"(e,t){"use strict";t.exports=y;var r=If(),u=oe("util"),n=Nf(),i=typeof Symbol=="function"&&process.env._nodeLRUCacheForceNoSymbol!=="1",a;i?a=function(v){return Symbol(v)}:a=function(v){return"_"+v};var s=a("max"),o=a("length"),l=a("lengthCalculator"),f=a("allowStale"),c=a("maxAge"),h=a("dispose"),p=a("noDisposeOnSet"),D=a("lruList"),g=a("cache");function C(){return 1}function y(v){if(!(this instanceof y))return new y(v);typeof v=="number"&&(v={max:v}),v||(v={});var T=this[s]=v.max;(!T||typeof T!="number"||T<=0)&&(this[s]=1/0);var P=v.length||C;typeof P!="function"&&(P=C),this[l]=P,this[f]=v.stale||!1,this[c]=v.maxAge||0,this[h]=v.dispose,this[p]=v.noDisposeOnSet||!1,this.reset()}Object.defineProperty(y.prototype,"max",{set:function(v){(!v||typeof v!="number"||v<=0)&&(v=1/0),this[s]=v,m(this)},get:function(){return this[s]},enumerable:!0}),Object.defineProperty(y.prototype,"allowStale",{set:function(v){this[f]=!!v},get:function(){return this[f]},enumerable:!0}),Object.defineProperty(y.prototype,"maxAge",{set:function(v){(!v||typeof v!="number"||v<0)&&(v=0),this[c]=v,m(this)},get:function(){return this[c]},enumerable:!0}),Object.defineProperty(y.prototype,"lengthCalculator",{set:function(v){typeof v!="function"&&(v=C),v!==this[l]&&(this[l]=v,this[o]=0,this[D].forEach(function(T){T.length=this[l](T.value,T.key),this[o]+=T.length},this)),m(this)},get:function(){return this[l]},enumerable:!0}),Object.defineProperty(y.prototype,"length",{get:function(){return this[o]},enumerable:!0}),Object.defineProperty(y.prototype,"itemCount",{get:function(){return this[D].length},enumerable:!0}),y.prototype.rforEach=function(v,T){T=T||this;for(var P=this[D].tail;P!==null;){var k=P.prev;d(this,v,P,T),P=k}};function d(v,T,P,k){var I=P.value;A(v,I)&&(O(v,P),v[f]||(I=void 0)),I&&T.call(k,I.value,I.key,v)}y.prototype.forEach=function(v,T){T=T||this;for(var P=this[D].head;P!==null;){var k=P.next;d(this,v,P,T),P=k}},y.prototype.keys=function(){return this[D].toArray().map(function(v){return v.key},this)},y.prototype.values=function(){return this[D].toArray().map(function(v){return v.value},this)},y.prototype.reset=function(){this[h]&&this[D]&&this[D].length&&this[D].forEach(function(v){this[h](v.key,v.value)},this),this[g]=new r,this[D]=new n,this[o]=0},y.prototype.dump=function(){return this[D].map(function(v){if(!A(this,v))return{k:v.key,v:v.value,e:v.now+(v.maxAge||0)}},this).toArray().filter(function(v){return v})},y.prototype.dumpLru=function(){return this[D]},y.prototype.inspect=function(v,T){var P="LRUCache {",k=!1,I=this[f];I&&(P+=`
570
573
  allowStale: true`,k=!0);var E=this[s];E&&E!==1/0&&(k&&(P+=","),P+=`
571
574
  max: `+u.inspect(E,T),k=!0);var _=this[c];_&&(k&&(P+=","),P+=`
@@ -580,44 +583,44 @@ Expected it to be ${u}.`}var Ec=class extends Error{name="InvalidDocError";const
580
583
  `),P+=w+" => "+S}),(B||k)&&(P+=`
581
584
  `),P+="}",P},y.prototype.set=function(v,T,P){P=P||this[c];var k=P?Date.now():0,I=this[l](T,v);if(this[g].has(v)){if(I>this[s])return O(this,this[g].get(v)),!1;var E=this[g].get(v),_=E.value;return this[h]&&(this[p]||this[h](v,_.value)),_.now=k,_.maxAge=P,_.value=T,this[o]+=I-_.length,_.length=I,this.get(v),m(this),!0}var b=new R(v,T,I,k,P);return b.length>this[s]?(this[h]&&this[h](v,T),!1):(this[o]+=b.length,this[D].unshift(b),this[g].set(v,this[D].head),m(this),!0)},y.prototype.has=function(v){if(!this[g].has(v))return!1;var T=this[g].get(v).value;return!A(this,T)},y.prototype.get=function(v){return F(this,v,!0)},y.prototype.peek=function(v){return F(this,v,!1)},y.prototype.pop=function(){var v=this[D].tail;return v?(O(this,v),v.value):null},y.prototype.del=function(v){O(this,this[g].get(v))},y.prototype.load=function(v){this.reset();for(var T=Date.now(),P=v.length-1;P>=0;P--){var k=v[P],I=k.e||0;if(I===0)this.set(k.k,k.v);else{var E=I-T;E>0&&this.set(k.k,k.v,E)}}},y.prototype.prune=function(){var v=this;this[g].forEach(function(T,P){F(v,P,!1)})};function F(v,T,P){var k=v[g].get(T);if(k){var I=k.value;A(v,I)?(O(v,k),v[f]||(I=void 0)):P&&v[D].unshiftNode(k),I&&(I=I.value)}return I}function A(v,T){if(!T||!T.maxAge&&!v[c])return!1;var P=!1,k=Date.now()-T.now;return T.maxAge?P=k>T.maxAge:P=v[c]&&k>v[c],P}function m(v){if(v[o]>v[s])for(var T=v[D].tail;v[o]>v[s]&&T!==null;){var P=T.prev;O(v,T),T=P}}function O(v,T){if(T){var P=T.value;v[h]&&v[h](P.key,P.value),v[o]-=P.length,v[g].delete(P.key),v[D].removeNode(T)}}function R(v,T,P,k,I){this.key=v,this.value=T,this.length=P,this.now=k,this.maxAge=I||0}}}),Lf=U({"node_modules/sigmund/sigmund.js"(e,t){t.exports=r;function r(u,n){n=n||10;var i=[],a="",s=RegExp;function o(l,f){if(!(f>n)&&!(typeof l=="function"||typeof l>"u")){if(typeof l!="object"||!l||l instanceof s){a+=l;return}i.indexOf(l)!==-1||f===n||(i.push(l),a+="{",Object.keys(l).forEach(function(c,h,p){if(c.charAt(0)!=="_"){var D=typeof l[c];D==="function"||D==="undefined"||(a+=c,o(l[c],f+1))}}))}}return o(u,0),a}}}),xf=U({"node_modules/editorconfig/src/lib/fnmatch.js"(e,t){var r=typeof process=="object"?process.platform:"win32";t?t.exports=d:e.minimatch=d,d.Minimatch=F;var u=Pf(),n=d.cache=new u({max:100}),i=d.GLOBSTAR=F.GLOBSTAR={},a=Lf(),s=oe("path"),o="[^/]",l=o+"*?",f="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",c="(?:(?!(?:\\/|^)\\.).)*?",h=p("().*{}+?[]^$\\!");function p(E){return E.split("").reduce(function(_,b){return _[b]=!0,_},{})}var D=/\/+/;d.monkeyPatch=g;function g(){var E=Object.getOwnPropertyDescriptor(String.prototype,"match"),_=E.value;E.value=function(b){return b instanceof F?b.match(this):_.call(this,b)},Object.defineProperty(String.prototype,E)}d.filter=C;function C(E,_){return _=_||{},function(b,B,j){return d(b,E,_)}}function y(E,_){E=E||{},_=_||{};var b={};return Object.keys(_).forEach(function(B){b[B]=_[B]}),Object.keys(E).forEach(function(B){b[B]=E[B]}),b}d.defaults=function(E){if(!E||!Object.keys(E).length)return d;var _=d,b=function(j,w,S){return _.minimatch(j,w,y(E,S))};return b.Minimatch=function(j,w){return new _.Minimatch(j,y(E,w))},b},F.defaults=function(E){return!E||!Object.keys(E).length?F:d.defaults(E).Minimatch};function d(E,_,b){if(typeof _!="string")throw new TypeError("glob pattern string required");return b||(b={}),!b.nocomment&&_.charAt(0)==="#"?!1:_.trim()===""?E==="":new F(_,b).match(E)}function F(E,_){if(!(this instanceof F))return new F(E,_,n);if(typeof E!="string")throw new TypeError("glob pattern string required");_||(_={}),r==="win32"&&(E=E.split("\\").join("/"));var b=E+`
582
585
  `+a(_),B=d.cache.get(b);if(B)return B;d.cache.set(b,this),this.options=_,this.set=[],this.pattern=E,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}F.prototype.make=A;function A(){if(!this._made){var E=this.pattern,_=this.options;if(!_.nocomment&&E.charAt(0)==="#"){this.comment=!0;return}if(!E){this.empty=!0;return}this.parseNegate();var b=this.globSet=this.braceExpand();_.debug&&console.error(this.pattern,b),b=this.globParts=b.map(function(B){return B.split(D)}),_.debug&&console.error(this.pattern,b),b=b.map(function(B,j,w){return B.map(this.parse,this)},this),_.debug&&console.error(this.pattern,b),b=b.filter(function(B){return B.indexOf(!1)===-1}),_.debug&&console.error(this.pattern,b),this.set=b}}F.prototype.parseNegate=m;function m(){var E=this.pattern,_=!1,b=this.options,B=0;if(!b.nonegate){for(var j=0,w=E.length;j<w&&E.charAt(j)==="!";j++)_=!_,B++;B&&(this.pattern=E.substr(B)),this.negate=_}}d.braceExpand=function(E,_){return new F(E,_).braceExpand()},F.prototype.braceExpand=O;function O(E,_){if(_=_||this.options,E=typeof E>"u"?this.pattern:E,typeof E>"u")throw new Error("undefined pattern");if(_.nobrace||!E.match(/\{.*\}/))return[E];var X=!1;if(E.charAt(0)!=="{"){for(var b=null,Z=0,B=E.length;Z<B;Z++){var j=E.charAt(Z);if(j==="\\")X=!X;else if(j==="{"&&!X){b=E.substr(0,Z);break}}if(b===null)return[E];var w=O(E.substr(Z),_);return w.map(function(ve){return b+ve})}var S=E.match(/^\{(-?[0-9]+)\.\.(-?[0-9]+)\}/);if(S){for(var he=O(E.substr(S[0].length),_),N=+S[1],H=+S[2],Y=N>H?-1:1,L=[],Z=N;Z!=H+Y;Z+=Y)for(var x=0,ae=he.length;x<ae;x++)L.push(Z+he[x]);return L}var Z=1,te=1,L=[],M="",K=!1,X=!1;function Fe(){L.push(M),M=""}e:for(Z=1,B=E.length;Z<B;Z++){var j=E.charAt(Z);if(X)X=!1,M+="\\"+j;else switch(j){case"\\":X=!0;continue;case"{":te++,M+="{";continue;case"}":if(te--,te===0){Fe(),Z++;break e}else{M+=j;continue}case",":te===1?Fe():M+=j;continue;default:M+=j;continue}}if(te!==0)return O("\\"+E,_);var he=O(E.substr(Z),_),le=L.length===1;L=L.map(function(ve){return O(ve,_)}),L=L.reduce(function(ve,Re){return ve.concat(Re)}),le&&(L=L.map(function(ve){return"{"+ve+"}"}));for(var se=[],Z=0,B=L.length;Z<B;Z++)for(var x=0,ae=he.length;x<ae;x++)se.push(L[Z]+he[x]);return se}F.prototype.parse=v;var R={};function v(E,_){var b=this.options;if(!b.noglobstar&&E==="**")return i;if(E==="")return"";var B="",j=!!b.nocase,w=!1,S=[],N,H,Y=!1,x=-1,ae=-1,Z=E.charAt(0)==="."?"":b.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";function te(){if(H){switch(H){case"*":B+=l,j=!0;break;case"?":B+=o,j=!0;break;default:B+="\\"+H;break}H=!1}}for(var L=0,M=E.length,K;L<M&&(K=E.charAt(L));L++){if(b.debug&&console.error("%s %s %s %j",E,L,B,K),w&&h[K]){B+="\\"+K,w=!1;continue}switch(K){case"/":return!1;case"\\":te(),w=!0;continue;case"?":case"*":case"+":case"@":case"!":if(b.debug&&console.error("%s %s %s %j <-- stateChar",E,L,B,K),Y){K==="!"&&L===ae+1&&(K="^"),B+=K;continue}te(),H=K,b.noext&&te();continue;case"(":if(Y){B+="(";continue}if(!H){B+="\\(";continue}N=H,S.push({type:N,start:L-1,reStart:B.length}),B+=H==="!"?"(?:(?!":"(?:",H=!1;continue;case")":if(Y||!S.length){B+="\\)";continue}switch(j=!0,B+=")",N=S.pop().type,N){case"!":B+="[^/]*?)";break;case"?":case"+":case"*":B+=N;case"@":break}continue;case"|":if(Y||!S.length||w){B+="\\|",w=!1;continue}B+="|";continue;case"[":if(te(),Y){B+="\\"+K;continue}Y=!0,ae=L,x=B.length,B+=K;continue;case"]":if(L===ae+1||!Y){B+="\\"+K,w=!1;continue}j=!0,Y=!1,B+=K;continue;default:te(),w?w=!1:h[K]&&!(K==="^"&&Y)&&(B+="\\"),B+=K}}if(Y){var X=E.substr(ae+1),Fe=this.parse(X,R);B=B.substr(0,x)+"\\["+Fe[0],j=j||Fe[1]}for(var he;he=S.pop();){var le=B.slice(he.reStart+3);le=le.replace(/((?:\\{2})*)(\\?)\|/g,function(Q,ee,Ve){return Ve||(Ve="\\"),ee+ee+Ve+"|"});var se=he.type==="*"?l:he.type==="?"?o:"\\"+he.type;j=!0,B=B.slice(0,he.reStart)+se+"\\("+le}te(),w&&(B+="\\\\");var ve=!1;switch(B.charAt(0)){case".":case"[":case"(":ve=!0}if(B!==""&&j&&(B="(?=.)"+B),ve&&(B=Z+B),_===R)return[B,j];if(!j)return k(E);var Re=b.nocase?"i":"",Ce=new RegExp("^"+B+"$",Re);return Ce._glob=E,Ce._src=B,Ce}d.makeRe=function(E,_){return new F(E,_||{}).makeRe()},F.prototype.makeRe=T;function T(){if(this.regexp||this.regexp===!1)return this.regexp;var E=this.set;if(!E.length)return this.regexp=!1;var _=this.options,b=_.noglobstar?l:_.dot?f:c,B=_.nocase?"i":"",j=E.map(function(w){return w.map(function(S){return S===i?b:typeof S=="string"?I(S):S._src}).join("\\/")}).join("|");j="^(?:"+j+")$",this.negate&&(j="^(?!"+j+").*$");try{return this.regexp=new RegExp(j,B)}catch{return this.regexp=!1}}d.match=function(E,_,b){var B=new F(_,b);return E=E.filter(function(j){return B.match(j)}),b.nonull&&!E.length&&E.push(_),E},F.prototype.match=P;function P(E,_){if(this.comment)return!1;if(this.empty)return E==="";if(E==="/"&&_)return!0;var b=this.options;r==="win32"&&(E=E.split("\\").join("/")),E=E.split(D),b.debug&&console.error(this.pattern,"split",E);for(var B=this.set,j=0,w=B.length;j<w;j++){var S=B[j],N=this.matchOne(E,S,_);if(N)return b.flipNegate?!0:!this.negate}return b.flipNegate?!1:this.negate}F.prototype.matchOne=function(E,_,b){var B=this.options;B.debug&&console.error("matchOne",{this:this,file:E,pattern:_}),B.matchBase&&_.length===1&&(E=s.basename(E.join("/")).split("/")),B.debug&&console.error("matchOne",E.length,_.length);for(var j=0,w=0,S=E.length,N=_.length;j<S&&w<N;j++,w++){B.debug&&console.error("matchOne loop");var H=_[w],Y=E[j];if(B.debug&&console.error(_,H,Y),H===!1)return!1;if(H===i){B.debug&&console.error("GLOBSTAR",[_,H,Y]);var x=j,ae=w+1;if(ae===N){for(B.debug&&console.error("** at the end");j<S;j++)if(E[j]==="."||E[j]===".."||!B.dot&&E[j].charAt(0)===".")return!1;return!0}e:for(;x<S;){var Z=E[x];if(B.debug&&console.error(`
583
- globstar while`,E,x,_,ae,Z),this.matchOne(E.slice(x),_.slice(ae),b))return B.debug&&console.error("globstar found match!",x,S,Z),!0;if(Z==="."||Z===".."||!B.dot&&Z.charAt(0)==="."){B.debug&&console.error("dot detected!",E,x,_,ae);break e}B.debug&&console.error("globstar swallow a segment, and continue"),x++}return!!(b&&x===S)}var te;if(typeof H=="string"?(B.nocase?te=Y.toLowerCase()===H.toLowerCase():te=Y===H,B.debug&&console.error("string match",H,Y,te)):(te=Y.match(H),B.debug&&console.error("pattern match",H,Y,te)),!te)return!1}if(j===S&&w===N)return!0;if(j===S)return b;if(w===N){var L=j===S-1&&E[j]==="";return L}throw new Error("wtf?")};function k(E){return E.replace(/\\(.)/g,"$1")}function I(E){return E.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}}}),jf=U({"node_modules/editorconfig/src/lib/ini.js"(e){"use strict";var t=e&&e.__awaiter||function(l,f,c,h){return new(c||(c=Promise))(function(p,D){function g(d){try{y(h.next(d))}catch(F){D(F)}}function C(d){try{y(h.throw(d))}catch(F){D(F)}}function y(d){d.done?p(d.value):new c(function(F){F(d.value)}).then(g,C)}y((h=h.apply(l,f||[])).next())})},r=e&&e.__generator||function(l,f){var c={label:0,sent:function(){if(D[0]&1)throw D[1];return D[1]},trys:[],ops:[]},h,p,D,g;return g={next:C(0),throw:C(1),return:C(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function C(d){return function(F){return y([d,F])}}function y(d){if(h)throw new TypeError("Generator is already executing.");for(;c;)try{if(h=1,p&&(D=d[0]&2?p.return:d[0]?p.throw||((D=p.return)&&D.call(p),0):p.next)&&!(D=D.call(p,d[1])).done)return D;switch(p=0,D&&(d=[d[0]&2,D.value]),d[0]){case 0:case 1:D=d;break;case 4:return c.label++,{value:d[1],done:!1};case 5:c.label++,p=d[1],d=[0];continue;case 7:d=c.ops.pop(),c.trys.pop();continue;default:if(D=c.trys,!(D=D.length>0&&D[D.length-1])&&(d[0]===6||d[0]===2)){c=0;continue}if(d[0]===3&&(!D||d[1]>D[0]&&d[1]<D[3])){c.label=d[1];break}if(d[0]===6&&c.label<D[1]){c.label=D[1],D=d;break}if(D&&c.label<D[2]){c.label=D[2],c.ops.push(d);break}D[2]&&c.ops.pop(),c.trys.pop();continue}d=f.call(l,c)}catch(F){d=[6,F],p=0}finally{h=D=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},u=e&&e.__importStar||function(l){if(l&&l.__esModule)return l;var f={};if(l!=null)for(var c in l)Object.hasOwnProperty.call(l,c)&&(f[c]=l[c]);return f.default=l,f};Object.defineProperty(e,"__esModule",{value:!0});var n=u(oe("fs")),i={section:/^\s*\[(([^#;]|\\#|\\;)+)\]\s*([#;].*)?$/,param:/^\s*([\w\.\-\_]+)\s*[=:]\s*(.*?)\s*([#;].*)?$/,comment:/^\s*[#;].*$/};function a(l){return t(this,void 0,void 0,function(){return r(this,function(f){return[2,new Promise(function(c,h){n.readFile(l,"utf8",function(p,D){if(p){h(p);return}c(o(D))})})]})})}e.parse=a;function s(l){return o(n.readFileSync(l,"utf8"))}e.parseSync=s;function o(l){var f={},c=null,h=[[c,f]],p=l.split(/\r\n|\r|\n/);return p.forEach(function(D){var g;i.comment.test(D)||(i.param.test(D)?(g=D.match(i.param),f[g[1]]=g[2]):i.section.test(D)&&(g=D.match(i.section),c=g[1],f={},h.push([c,f])))}),h}e.parseString=o}}),Mf=U({"node_modules/editorconfig/package.json"(e,t){t.exports={name:"editorconfig",version:"0.15.3",description:"EditorConfig File Locator and Interpreter for Node.js",keywords:["editorconfig","core"],main:"src/index.js",contributors:["Hong Xu (topbug.net)","Jed Mao (https://github.com/jedmao/)","Trey Hunner (http://treyhunner.com)"],directories:{bin:"./bin",lib:"./lib"},scripts:{clean:"rimraf dist",prebuild:"npm run clean",build:"tsc",pretest:"npm run lint && npm run build && npm run copy && cmake .",test:"ctest .","pretest:ci":"npm run pretest","test:ci":"ctest -VV --output-on-failure .",lint:"npm run eclint && npm run tslint",eclint:'eclint check --indent_size ignore "src/**"',tslint:"tslint --project tsconfig.json --exclude package.json",copy:"cpy .npmignore LICENSE README.md CHANGELOG.md dist && cpy bin/* dist/bin && cpy src/lib/fnmatch*.* dist/src/lib",prepub:"npm run lint && npm run build && npm run copy",pub:"npm publish ./dist"},repository:{type:"git",url:"git://github.com/editorconfig/editorconfig-core-js.git"},bugs:"https://github.com/editorconfig/editorconfig-core-js/issues",author:"EditorConfig Team",license:"MIT",dependencies:{commander:"^2.19.0","lru-cache":"^4.1.5",semver:"^5.6.0",sigmund:"^1.0.1"},devDependencies:{"@types/mocha":"^5.2.6","@types/node":"^10.12.29","@types/semver":"^5.5.0","cpy-cli":"^2.0.0",eclint:"^2.8.1",mocha:"^5.2.0",rimraf:"^2.6.3",should:"^13.2.3",tslint:"^5.13.1",typescript:"^3.3.3333"}}}}),$f=U({"node_modules/editorconfig/src/index.js"(e){"use strict";var t=e&&e.__awaiter||function(k,I,E,_){return new(E||(E=Promise))(function(b,B){function j(N){try{S(_.next(N))}catch(H){B(H)}}function w(N){try{S(_.throw(N))}catch(H){B(H)}}function S(N){N.done?b(N.value):new E(function(H){H(N.value)}).then(j,w)}S((_=_.apply(k,I||[])).next())})},r=e&&e.__generator||function(k,I){var E={label:0,sent:function(){if(B[0]&1)throw B[1];return B[1]},trys:[],ops:[]},_,b,B,j;return j={next:w(0),throw:w(1),return:w(2)},typeof Symbol=="function"&&(j[Symbol.iterator]=function(){return this}),j;function w(N){return function(H){return S([N,H])}}function S(N){if(_)throw new TypeError("Generator is already executing.");for(;E;)try{if(_=1,b&&(B=N[0]&2?b.return:N[0]?b.throw||((B=b.return)&&B.call(b),0):b.next)&&!(B=B.call(b,N[1])).done)return B;switch(b=0,B&&(N=[N[0]&2,B.value]),N[0]){case 0:case 1:B=N;break;case 4:return E.label++,{value:N[1],done:!1};case 5:E.label++,b=N[1],N=[0];continue;case 7:N=E.ops.pop(),E.trys.pop();continue;default:if(B=E.trys,!(B=B.length>0&&B[B.length-1])&&(N[0]===6||N[0]===2)){E=0;continue}if(N[0]===3&&(!B||N[1]>B[0]&&N[1]<B[3])){E.label=N[1];break}if(N[0]===6&&E.label<B[1]){E.label=B[1],B=N;break}if(B&&E.label<B[2]){E.label=B[2],E.ops.push(N);break}B[2]&&E.ops.pop(),E.trys.pop();continue}N=I.call(k,E)}catch(H){N=[6,H],b=0}finally{_=B=0}if(N[0]&5)throw N[1];return{value:N[0]?N[1]:void 0,done:!0}}},u=e&&e.__importStar||function(k){if(k&&k.__esModule)return k;var I={};if(k!=null)for(var E in k)Object.hasOwnProperty.call(k,E)&&(I[E]=k[E]);return I.default=k,I},n=e&&e.__importDefault||function(k){return k&&k.__esModule?k:{default:k}};Object.defineProperty(e,"__esModule",{value:!0});var i=u(oe("fs")),a=u(oe("path")),s={gte:Tf()},o=n(xf()),l=jf();e.parseString=l.parseString;var f=n(Mf()),c={end_of_line:!0,indent_style:!0,indent_size:!0,insert_final_newline:!0,trim_trailing_whitespace:!0,charset:!0};function h(k,I){var E={matchBase:!0,dot:!0,noext:!0};return I=I.replace(/\*\*/g,"{*,**/**/**}"),o.default(k,I,E)}function p(k,I){var E=[];do k=a.dirname(k),E.push(a.join(k,I.config));while(k!==I.root);return E}function D(k,I){return"indent_style"in k&&k.indent_style==="tab"&&!("indent_size"in k)&&s.gte(I,"0.10.0")&&(k.indent_size="tab"),"indent_size"in k&&!("tab_width"in k)&&k.indent_size!=="tab"&&(k.tab_width=k.indent_size),"indent_size"in k&&"tab_width"in k&&k.indent_size==="tab"&&(k.indent_size=k.tab_width),k}function g(k,I){return k===void 0&&(k={}),{config:k.config||".editorconfig",version:k.version||f.default.version,root:a.resolve(k.root||a.parse(I).root)}}function C(k,I){switch(I.indexOf("/")){case-1:I="**/"+I;break;case 0:I=I.substring(1);break;default:break}return a.join(k,I)}function y(k,I){k===void 0&&(k={}),I===void 0&&(I={});for(var E in I)if(I.hasOwnProperty(E)){var _=I[E],b=E.toLowerCase(),B=_;c[b]&&(B=_.toLowerCase());try{B=JSON.parse(_)}catch{}(typeof _>"u"||_===null)&&(B=String(_)),k[b]=B}return k}function d(k,I,E){return D(k.reverse().reduce(function(_,b){var B=a.dirname(b.name);return b.contents.forEach(function(j){var w=j[0],S=j[1];if(w){var N=C(B,w);h(I,N)&&(_=y(_,S))}}),_},{}),E.version)}function F(k){var I=[];for(var E in k)if(k.hasOwnProperty(E)){var _=k[E],b=l.parseString(_.contents);if(I.push({name:_.name,contents:b}),(b[0][1].root||"").toLowerCase()==="true")break}return I}function A(k){return t(this,void 0,void 0,function(){return r(this,function(I){return[2,Promise.all(k.map(function(E){return new Promise(function(_){i.readFile(E,"utf8",function(b,B){_({name:E,contents:b?"":B})})})}))]})})}function m(k){var I=[],E;return k.forEach(function(_){try{E=i.readFileSync(_,"utf8")}catch{E=""}I.push({name:_,contents:E})}),I}function O(k,I){I===void 0&&(I={});var E=a.resolve(k);return[E,g(I,E)]}function R(k,I,E){return E===void 0&&(E={}),t(this,void 0,void 0,function(){var _,b,B;return r(this,function(j){return _=O(k,E),b=_[0],B=_[1],[2,I.then(F).then(function(w){return d(w,b,B)})]})})}e.parseFromFiles=R;function v(k,I,E){E===void 0&&(E={});var _=O(k,E),b=_[0],B=_[1];return d(F(I),b,B)}e.parseFromFilesSync=v;function T(k,I){return I===void 0&&(I={}),t(this,void 0,void 0,function(){var E,_,b,B;return r(this,function(j){return E=O(k,I),_=E[0],b=E[1],B=p(_,b),[2,A(B).then(F).then(function(w){return d(w,_,b)})]})})}e.parse=T;function P(k,I){I===void 0&&(I={});var E=O(k,I),_=E[0],b=E[1],B=p(_,b),j=m(B);return d(F(j),_,b)}e.parseSync=P}}),Uf=U({"node_modules/ci-info/vendors.json"(e,t){t.exports=[{name:"Agola CI",constant:"AGOLA",env:"AGOLA_GIT_REF",pr:"AGOLA_PULL_REQUEST_ID"},{name:"Appcircle",constant:"APPCIRCLE",env:"AC_APPCIRCLE"},{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"TF_BUILD",pr:{BUILD_REASON:"PullRequest"}},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"Codefresh",constant:"CODEFRESH",env:"CF_BUILD_ID",pr:{any:["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{name:"Codemagic",constant:"CODEMAGIC",env:"CM_BUILD_ID",pr:"CM_PULL_REQUEST"},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"Earthly",constant:"EARTHLY",env:"EARTHLY_CI"},{name:"Expo Application Services",constant:"EAS",env:"EAS_BUILD"},{name:"Gerrit",constant:"GERRIT",env:"GERRIT_PROJECT"},{name:"Gitea Actions",constant:"GITEA_ACTIONS",env:"GITEA_ACTIONS"},{name:"GitHub Actions",constant:"GITHUB_ACTIONS",env:"GITHUB_ACTIONS",pr:{GITHUB_EVENT_NAME:"pull_request"}},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI",pr:"CI_MERGE_REQUEST_ID"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"Google Cloud Build",constant:"GOOGLE_CLOUD_BUILD",env:"BUILDER_OUTPUT"},{name:"Harness CI",constant:"HARNESS",env:"HARNESS_BUILD_ID"},{name:"Heroku",constant:"HEROKU",env:{env:"NODE",includes:"/app/.heroku/node/bin/node"}},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"LayerCI",constant:"LAYERCI",env:"LAYERCI",pr:"LAYERCI_PULL_REQUEST"},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Nevercode",constant:"NEVERCODE",env:"NEVERCODE",pr:{env:"NEVERCODE_PULL_REQUEST",ne:"false"}},{name:"Prow",constant:"PROW",env:"PROW_JOB_ID"},{name:"ReleaseHub",constant:"RELEASEHUB",env:"RELEASE_BUILD_ID"},{name:"Render",constant:"RENDER",env:"RENDER",pr:{IS_PULL_REQUEST:"true"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Screwdriver",constant:"SCREWDRIVER",env:"SCREWDRIVER",pr:{env:"SD_PULL_REQUEST",ne:"false"}},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Sourcehut",constant:"SOURCEHUT",env:{CI_NAME:"sourcehut"}},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}},{name:"Vela",constant:"VELA",env:"VELA",pr:{VELA_PULL_REQUEST:"1"}},{name:"Vercel",constant:"VERCEL",env:{any:["NOW_BUILDER","VERCEL"]},pr:"VERCEL_GIT_PULL_REQUEST_ID"},{name:"Visual Studio App Center",constant:"APPCENTER",env:"APPCENTER_BUILD_ID"},{name:"Woodpecker",constant:"WOODPECKER",env:{CI:"woodpecker"},pr:{CI_BUILD_EVENT:"pull_request"}},{name:"Xcode Cloud",constant:"XCODE_CLOUD",env:"CI_XCODE_PROJECT",pr:"CI_PULL_REQUEST_NUMBER"},{name:"Xcode Server",constant:"XCODE_SERVER",env:"XCS"}]}}),Hf=U({"node_modules/ci-info/index.js"(e){"use strict";var t=Uf(),r=process.env;Object.defineProperty(e,"_vendors",{value:t.map(function(n){return n.constant})}),e.name=null,e.isPR=null,t.forEach(function(n){let a=(Array.isArray(n.env)?n.env:[n.env]).every(function(s){return u(s)});if(e[n.constant]=a,!!a)switch(e.name=n.name,typeof n.pr){case"string":e.isPR=!!r[n.pr];break;case"object":"env"in n.pr?e.isPR=n.pr.env in r&&r[n.pr.env]!==n.pr.ne:"any"in n.pr?e.isPR=n.pr.any.some(function(s){return!!r[s]}):e.isPR=u(n.pr);break;default:e.isPR=null}}),e.isCI=!!(r.CI!=="false"&&(r.BUILD_ID||r.BUILD_NUMBER||r.CI||r.CI_APP_ID||r.CI_BUILD_ID||r.CI_BUILD_NUMBER||r.CI_NAME||r.CONTINUOUS_INTEGRATION||r.RUN_ID||e.name));function u(n){return typeof n=="string"?!!r[n]:"env"in n?r[n.env]&&r[n.env].includes(n.includes):"any"in n?n.any.some(function(i){return!!r[i]}):Object.keys(n).every(function(i){return r[i]===n[i]})}}}),Gf=U({"node_modules/@iarna/toml/lib/parser.js"(e,t){"use strict";var r=1114112,u=class lo extends Error{constructor(s,o,l){super("[ParserError] "+s,o,l),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,lo)}},n=class{constructor(a){this.parser=a,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null}},i=class{constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new n(this.parseStart)}parse(a){if(a.length===0||a.length==null)return;this._buf=String(a),this.ii=-1,this.char=-1;let s;for(;s===!1||this.nextChar();)s=this.runOne();this._buf=null}nextChar(){return this.char===10&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer()}haveBuffer(){return this.ii<this._buf.length}runOne(){return this.state.parser.call(this,this.state.returned)}finish(){this.char=r;let a;do a=this.state.parser,this.runOne();while(this.state.parser!==a);return this.ctx=null,this.state=null,this._buf=null,this.obj}next(a){if(typeof a!="function")throw new u("Tried to set state to non-existent state: "+JSON.stringify(a));this.state.parser=a}goto(a){return this.next(a),this.runOne()}call(a,s){s&&this.next(s),this.stack.push(this.state),this.state=new n(a)}callNow(a,s){return this.call(a,s),this.runOne()}return(a){if(this.stack.length===0)throw this.error(new u("Stack underflow"));a===void 0&&(a=this.state.buf),this.state=this.stack.pop(),this.state.returned=a}returnNow(a){return this.return(a),this.runOne()}consume(){if(this.char===r)throw this.error(new u("Unexpected end-of-buffer"));this.state.buf+=this._buf[this.ii]}error(a){return a.line=this.line,a.col=this.col,a.pos=this.pos,a}parseStart(){throw new u("Must declare a parseStart method")}};i.END=r,i.Error=u,t.exports=i}}),Wf=U({"node_modules/@iarna/toml/lib/create-datetime.js"(e,t){"use strict";t.exports=r=>{let u=new Date(r);if(isNaN(u))throw new TypeError("Invalid Datetime");return u}}}),Fi=U({"node_modules/@iarna/toml/lib/format-num.js"(e,t){"use strict";t.exports=(r,u)=>{for(u=String(u);u.length<r;)u="0"+u;return u}}}),qf=U({"node_modules/@iarna/toml/lib/create-datetime-float.js"(e,t){"use strict";var r=Fi(),u=class extends Date{constructor(n){super(n+"Z"),this.isFloating=!0}toISOString(){let n=`${this.getUTCFullYear()}-${r(2,this.getUTCMonth()+1)}-${r(2,this.getUTCDate())}`,i=`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;return`${n}T${i}`}};t.exports=n=>{let i=new u(n);if(isNaN(i))throw new TypeError("Invalid Datetime");return i}}}),Vf=U({"node_modules/@iarna/toml/lib/create-date.js"(e,t){"use strict";var r=Fi(),u=global.Date,n=class extends u{constructor(i){super(i),this.isDate=!0}toISOString(){return`${this.getUTCFullYear()}-${r(2,this.getUTCMonth()+1)}-${r(2,this.getUTCDate())}`}};t.exports=i=>{let a=new n(i);if(isNaN(a))throw new TypeError("Invalid Datetime");return a}}}),Yf=U({"node_modules/@iarna/toml/lib/create-time.js"(e,t){"use strict";var r=Fi(),u=class extends Date{constructor(n){super(`0000-01-01T${n}Z`),this.isTime=!0}toISOString(){return`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`}};t.exports=n=>{let i=new u(n);if(isNaN(i))throw new TypeError("Invalid Datetime");return i}}}),Kf=U({"node_modules/@iarna/toml/lib/toml-parser.js"(e,t){"use strict";t.exports=ua(Gf()),t.exports.makeParserClass=ua;var r=class co extends Error{constructor(be){super(be),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,co),this.fromTOML=!0,this.wrapped=null}};r.wrap=G=>{let be=new r(G.message);return be.code=G.code,be.wrapped=G,be},t.exports.TomlError=r;var u=Wf(),n=qf(),i=Vf(),a=Yf(),s=9,o=10,l=13,f=31,c=32,h=34,p=35,D=39,g=43,C=44,y=45,d=46,F=48,A=49,m=55,O=57,R=58,v=61,T=65,P=69,k=70,I=84,E=85,_=90,b=95,B=97,j=98,w=101,S=102,N=105,H=108,Y=110,x=111,ae=114,Z=115,te=116,L=117,M=120,K=122,X=123,Fe=125,he=91,le=92,se=93,ve=127,Re=55296,Ce=57343,Q={[j]:"\b",[te]:" ",[Y]:`
584
- `,[S]:"\f",[ae]:"\r",[h]:'"',[le]:"\\"};function ee(G){return G>=F&&G<=O}function Ve(G){return G>=T&&G<=k||G>=B&&G<=S||G>=F&&G<=O}function V(G){return G===A||G===F}function ce(G){return G>=F&&G<=m}function W(G){return G>=T&&G<=_||G>=B&&G<=K||G>=F&&G<=O||G===D||G===h||G===b||G===y}function re(G){return G>=T&&G<=_||G>=B&&G<=K||G>=F&&G<=O||G===b||G===y}var ne=Symbol("type"),Ae=Symbol("declared"),ye=Object.prototype.hasOwnProperty,kr=Object.defineProperty,Dr={configurable:!0,enumerable:!0,writable:!0,value:void 0};function Ct(G,be){return ye.call(G,be)?!0:(be==="__proto__"&&kr(G,"__proto__",Dr),!1)}var Ju=Symbol("inline-table");function Xi(){return Object.defineProperties({},{[ne]:{value:Ju}})}function tc(G){return G===null||typeof G!="object"?!1:G[ne]===Ju}var Zu=Symbol("table");function Gt(){return Object.defineProperties({},{[ne]:{value:Zu},[Ae]:{value:!1,writable:!0}})}function Ir(G){return G===null||typeof G!="object"?!1:G[ne]===Zu}var Qi=Symbol("content-type"),en=Symbol("inline-list");function Ji(G){return Object.defineProperties([],{[ne]:{value:en},[Qi]:{value:G}})}function Zi(G){return G===null||typeof G!="object"?!1:G[ne]===en}var tn=Symbol("list");function rc(){return Object.defineProperties([],{[ne]:{value:tn}})}function rn(G){return G===null||typeof G!="object"?!1:G[ne]===tn}var ea;try{ea=oe("util").inspect.custom}catch{}var un=ea||"inspect",uc=class{constructor(G){try{this.value=global.BigInt.asIntN(64,G)}catch{this.value=null}Object.defineProperty(this,ne,{value:uu})}isNaN(){return this.value===null}toString(){return String(this.value)}[un](){return`[BigInt: ${this.toString()}]}`}valueOf(){return this.value}},uu=Symbol("integer");function Wt(G){let be=Number(G);return Object.is(be,-0)&&(be=0),global.BigInt&&!Number.isSafeInteger(be)?new uc(G):Object.defineProperties(new Number(be),{isNaN:{value:function(){return isNaN(this)}},[ne]:{value:uu},[un]:{value:()=>`[Integer: ${G}]`}})}function nn(G){return G===null||typeof G!="object"?!1:G[ne]===uu}var an=Symbol("float");function ta(G){return Object.defineProperties(new Number(G),{[ne]:{value:an},[un]:{value:()=>`[Float: ${G}]`}})}function sn(G){return G===null||typeof G!="object"?!1:G[ne]===an}function ra(G){let be=typeof G;if(be==="object"){if(G===null)return"null";if(G instanceof Date)return"datetime";if(ne in G)switch(G[ne]){case Ju:return"inline-table";case en:return"inline-list";case Zu:return"table";case tn:return"list";case an:return"float";case uu:return"integer"}}return be}function ua(G){class be extends G{constructor(){super(),this.ctx=this.obj=Gt()}atEndOfWord(){return this.char===p||this.char===s||this.char===c||this.atEndOfLine()}atEndOfLine(){return this.char===G.END||this.char===o||this.char===l}parseStart(){if(this.char===G.END)return null;if(this.char===he)return this.call(this.parseTableOrList);if(this.char===p)return this.call(this.parseComment);if(this.char===o||this.char===c||this.char===s||this.char===l)return null;if(W(this.char))return this.callNow(this.parseAssignStatement);throw this.error(new r(`Unknown character "${this.char}"`))}parseWhitespaceToEOL(){if(this.char===c||this.char===s||this.char===l)return null;if(this.char===p)return this.goto(this.parseComment);if(this.char===G.END||this.char===o)return this.return();throw this.error(new r("Unexpected character, expected only whitespace or comments till end of line"))}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement)}recordAssignStatement(q){let fe=this.ctx,et=q.key.pop();for(let Ye of q.key){if(Ct(fe,Ye)&&(!Ir(fe[Ye])||fe[Ye][Ae]))throw this.error(new r("Can't redefine existing key"));fe=fe[Ye]=fe[Ye]||Gt()}if(Ct(fe,et))throw this.error(new r("Can't redefine existing key"));return nn(q.value)||sn(q.value)?fe[et]=q.value.valueOf():fe[et]=q.value,this.goto(this.parseWhitespaceToEOL)}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword)}recordAssignKeyword(q){return this.state.resultTable?this.state.resultTable.push(q):this.state.resultTable=[q],this.goto(this.parseAssignKeywordPreDot)}parseAssignKeywordPreDot(){if(this.char===d)return this.next(this.parseAssignKeywordPostDot);if(this.char!==c&&this.char!==s)return this.goto(this.parseAssignEqual)}parseAssignKeywordPostDot(){if(this.char!==c&&this.char!==s)return this.callNow(this.parseKeyword,this.recordAssignKeyword)}parseAssignEqual(){if(this.char===v)return this.next(this.parseAssignPreValue);throw this.error(new r('Invalid character, expected "="'))}parseAssignPreValue(){return this.char===c||this.char===s?null:this.callNow(this.parseValue,this.recordAssignValue)}recordAssignValue(q){return this.returnNow({key:this.state.resultTable,value:q})}parseComment(){do if(this.char===G.END||this.char===o)return this.return();while(this.nextChar())}parseTableOrList(){if(this.char===he)this.next(this.parseList);else return this.goto(this.parseTable)}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext)}parseTableNext(){return this.char===c||this.char===s?null:this.callNow(this.parseKeyword,this.parseTableMore)}parseTableMore(q){if(this.char===c||this.char===s)return null;if(this.char===se){if(Ct(this.ctx,q)&&(!Ir(this.ctx[q])||this.ctx[q][Ae]))throw this.error(new r("Can't redefine existing key"));return this.ctx=this.ctx[q]=this.ctx[q]||Gt(),this.ctx[Ae]=!0,this.next(this.parseWhitespaceToEOL)}else if(this.char===d){if(!Ct(this.ctx,q))this.ctx=this.ctx[q]=Gt();else if(Ir(this.ctx[q]))this.ctx=this.ctx[q];else if(rn(this.ctx[q]))this.ctx=this.ctx[q][this.ctx[q].length-1];else throw this.error(new r("Can't redefine existing key"));return this.next(this.parseTableNext)}else throw this.error(new r("Unexpected character, expected whitespace, . or ]"))}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext)}parseListNext(){return this.char===c||this.char===s?null:this.callNow(this.parseKeyword,this.parseListMore)}parseListMore(q){if(this.char===c||this.char===s)return null;if(this.char===se){if(Ct(this.ctx,q)||(this.ctx[q]=rc()),Zi(this.ctx[q]))throw this.error(new r("Can't extend an inline array"));if(rn(this.ctx[q])){let fe=Gt();this.ctx[q].push(fe),this.ctx=fe}else throw this.error(new r("Can't redefine an existing key"));return this.next(this.parseListEnd)}else if(this.char===d){if(!Ct(this.ctx,q))this.ctx=this.ctx[q]=Gt();else{if(Zi(this.ctx[q]))throw this.error(new r("Can't extend an inline array"));if(tc(this.ctx[q]))throw this.error(new r("Can't extend an inline table"));if(rn(this.ctx[q]))this.ctx=this.ctx[q][this.ctx[q].length-1];else if(Ir(this.ctx[q]))this.ctx=this.ctx[q];else throw this.error(new r("Can't redefine an existing key"))}return this.next(this.parseListNext)}else throw this.error(new r("Unexpected character, expected whitespace, . or ]"))}parseListEnd(q){if(this.char===se)return this.next(this.parseWhitespaceToEOL);throw this.error(new r("Unexpected character, expected whitespace, . or ]"))}parseValue(){if(this.char===G.END)throw this.error(new r("Key without value"));if(this.char===h)return this.next(this.parseDoubleString);if(this.char===D)return this.next(this.parseSingleString);if(this.char===y||this.char===g)return this.goto(this.parseNumberSign);if(this.char===N)return this.next(this.parseInf);if(this.char===Y)return this.next(this.parseNan);if(ee(this.char))return this.goto(this.parseNumberOrDateTime);if(this.char===te||this.char===S)return this.goto(this.parseBoolean);if(this.char===he)return this.call(this.parseInlineList,this.recordValue);if(this.char===X)return this.call(this.parseInlineTable,this.recordValue);throw this.error(new r("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"))}recordValue(q){return this.returnNow(q)}parseInf(){if(this.char===Y)return this.next(this.parseInf2);throw this.error(new r('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseInf2(){if(this.char===S)return this.state.buf==="-"?this.return(-1/0):this.return(1/0);throw this.error(new r('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseNan(){if(this.char===B)return this.next(this.parseNan2);throw this.error(new r('Unexpected character, expected "nan"'))}parseNan2(){if(this.char===Y)return this.return(NaN);throw this.error(new r('Unexpected character, expected "nan"'))}parseKeyword(){return this.char===h?this.next(this.parseBasicString):this.char===D?this.next(this.parseLiteralString):this.goto(this.parseBareKey)}parseBareKey(){do{if(this.char===G.END)throw this.error(new r("Key ended without value"));if(re(this.char))this.consume();else{if(this.state.buf.length===0)throw this.error(new r("Empty bare keys are not allowed"));return this.returnNow()}}while(this.nextChar())}parseSingleString(){return this.char===D?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString)}parseLiteralString(){do{if(this.char===D)return this.return();if(this.atEndOfLine())throw this.error(new r("Unterminated string"));if(this.char===ve||this.char<=f&&this.char!==s)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiStringMaybe(){return this.char===D?this.next(this.parseLiteralMultiString):this.returnNow()}parseLiteralMultiString(){return this.char===l?null:this.char===o?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent)}parseLiteralMultiStringContent(){do{if(this.char===D)return this.next(this.parseLiteralMultiEnd);if(this.char===G.END)throw this.error(new r("Unterminated multi-line string"));if(this.char===ve||this.char<=f&&this.char!==s&&this.char!==o&&this.char!==l)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiEnd(){return this.char===D?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent))}parseLiteralMultiEnd2(){return this.char===D?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent))}parseDoubleString(){return this.char===h?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString)}parseBasicString(){do{if(this.char===le)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===h)return this.return();if(this.atEndOfLine())throw this.error(new r("Unterminated string"));if(this.char===ve||this.char<=f&&this.char!==s)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}recordEscapeReplacement(q){return this.state.buf+=q,this.goto(this.parseBasicString)}parseMultiStringMaybe(){return this.char===h?this.next(this.parseMultiString):this.returnNow()}parseMultiString(){return this.char===l?null:this.char===o?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent)}parseMultiStringContent(){do{if(this.char===le)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===h)return this.next(this.parseMultiEnd);if(this.char===G.END)throw this.error(new r("Unterminated multi-line string"));if(this.char===ve||this.char<=f&&this.char!==s&&this.char!==o&&this.char!==l)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}errorControlCharInString(){let q="\\u00";return this.char<16&&(q+="0"),q+=this.char.toString(16),this.error(new r(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${q} instead`))}recordMultiEscapeReplacement(q){return this.state.buf+=q,this.goto(this.parseMultiStringContent)}parseMultiEnd(){return this.char===h?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent))}parseMultiEnd2(){return this.char===h?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent))}parseMultiEscape(){return this.char===l||this.char===o?this.next(this.parseMultiTrim):this.char===c||this.char===s?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape)}parsePreMultiTrim(){if(this.char===c||this.char===s)return null;if(this.char===l||this.char===o)return this.next(this.parseMultiTrim);throw this.error(new r("Can't escape whitespace"))}parseMultiTrim(){return this.char===o||this.char===c||this.char===s||this.char===l?null:this.returnNow()}parseEscape(){if(this.char in Q)return this.return(Q[this.char]);if(this.char===L)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===E)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new r("Unknown escape character: "+this.char))}parseUnicodeReturn(q){try{let fe=parseInt(q,16);if(fe>=Re&&fe<=Ce)throw this.error(new r("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(fe))}catch(fe){throw this.error(r.wrap(fe))}}parseSmallUnicode(){if(Ve(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return()}else throw this.error(new r("Invalid character in unicode sequence, expected hex"))}parseLargeUnicode(){if(Ve(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return()}else throw this.error(new r("Invalid character in unicode sequence, expected hex"))}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan)}parseMaybeSignedInfOrNan(){return this.char===N?this.next(this.parseInf):this.char===Y?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart)}parseNumberIntegerStart(){return this.char===F?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger)}parseNumberIntegerExponentOrDecimal(){return this.char===d?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===P||this.char===w?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Wt(this.state.buf))}parseNumberInteger(){if(ee(this.char))this.consume();else{if(this.char===b)return this.call(this.parseNoUnder);if(this.char===P||this.char===w)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===d)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);{let q=Wt(this.state.buf);if(q.isNaN())throw this.error(new r("Invalid number"));return this.returnNow(q)}}}parseNoUnder(){if(this.char===b||this.char===d||this.char===P||this.char===w)throw this.error(new r("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new r("Incomplete number"));return this.returnNow()}parseNoUnderHexOctBinLiteral(){if(this.char===b||this.char===d)throw this.error(new r("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new r("Incomplete number"));return this.returnNow()}parseNumberFloat(){if(this.char===b)return this.call(this.parseNoUnder,this.parseNumberFloat);if(ee(this.char))this.consume();else return this.char===P||this.char===w?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(ta(this.state.buf))}parseNumberExponentSign(){if(ee(this.char))return this.goto(this.parseNumberExponent);if(this.char===y||this.char===g)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new r("Unexpected character, expected -, + or digit"))}parseNumberExponent(){if(ee(this.char))this.consume();else return this.char===b?this.call(this.parseNoUnder):this.returnNow(ta(this.state.buf))}parseNumberOrDateTime(){return this.char===F?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly)}parseNumberOrDateTimeOnly(){if(this.char===b)return this.call(this.parseNoUnder,this.parseNumberInteger);if(ee(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else return this.char===P||this.char===w?(this.consume(),this.next(this.parseNumberExponentSign)):this.char===d?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===y?this.goto(this.parseDateTime):this.char===R?this.goto(this.parseOnlyTimeHour):this.returnNow(Wt(this.state.buf))}parseDateTimeOnly(){if(this.state.buf.length<4){if(ee(this.char))return this.consume();if(this.char===R)return this.goto(this.parseOnlyTimeHour);throw this.error(new r("Expected digit while parsing year part of a date"))}else{if(this.char===y)return this.goto(this.parseDateTime);throw this.error(new r("Expected hyphen (-) while parsing year part of date"))}}parseNumberBaseOrDateTime(){return this.char===j?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin)):this.char===x?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct)):this.char===M?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex)):this.char===d?this.goto(this.parseNumberInteger):ee(this.char)?this.goto(this.parseDateTimeOnly):this.returnNow(Wt(this.state.buf))}parseIntegerHex(){if(Ve(this.char))this.consume();else{if(this.char===b)return this.call(this.parseNoUnderHexOctBinLiteral);{let q=Wt(this.state.buf);if(q.isNaN())throw this.error(new r("Invalid number"));return this.returnNow(q)}}}parseIntegerOct(){if(ce(this.char))this.consume();else{if(this.char===b)return this.call(this.parseNoUnderHexOctBinLiteral);{let q=Wt(this.state.buf);if(q.isNaN())throw this.error(new r("Invalid number"));return this.returnNow(q)}}}parseIntegerBin(){if(V(this.char))this.consume();else{if(this.char===b)return this.call(this.parseNoUnderHexOctBinLiteral);{let q=Wt(this.state.buf);if(q.isNaN())throw this.error(new r("Invalid number"));return this.returnNow(q)}}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new r("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth)}parseDateMonth(){if(this.char===y){if(this.state.buf.length<2)throw this.error(new r("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay)}else if(ee(this.char))this.consume();else throw this.error(new r("Incomplete datetime"))}parseDateDay(){if(this.char===I||this.char===c){if(this.state.buf.length<2)throw this.error(new r("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour)}else{if(this.atEndOfWord())return this.returnNow(i(this.state.result+"-"+this.state.buf));if(ee(this.char))this.consume();else throw this.error(new r("Incomplete datetime"))}}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow(i(this.state.result)):this.goto(this.parseTimeHour)}parseTimeHour(){if(this.char===R){if(this.state.buf.length<2)throw this.error(new r("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin)}else if(ee(this.char))this.consume();else throw this.error(new r("Incomplete datetime"))}parseTimeMin(){if(this.state.buf.length<2&&ee(this.char))this.consume();else{if(this.state.buf.length===2&&this.char===R)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);throw this.error(new r("Incomplete datetime"))}}parseTimeSec(){if(ee(this.char)){if(this.consume(),this.state.buf.length===2)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction)}else throw this.error(new r("Incomplete datetime"))}parseOnlyTimeHour(){if(this.char===R){if(this.state.buf.length<2)throw this.error(new r("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin)}else throw this.error(new r("Incomplete time"))}parseOnlyTimeMin(){if(this.state.buf.length<2&&ee(this.char))this.consume();else{if(this.state.buf.length===2&&this.char===R)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);throw this.error(new r("Incomplete time"))}}parseOnlyTimeSec(){if(ee(this.char)){if(this.consume(),this.state.buf.length===2)return this.next(this.parseOnlyTimeFractionMaybe)}else throw this.error(new r("Incomplete time"))}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char===d)this.state.buf="",this.next(this.parseOnlyTimeFraction);else return this.return(a(this.state.result))}parseOnlyTimeFraction(){if(ee(this.char))this.consume();else if(this.atEndOfWord()){if(this.state.buf.length===0)throw this.error(new r("Expected digit in milliseconds"));return this.returnNow(a(this.state.result+"."+this.state.buf))}else throw this.error(new r("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}parseTimeZoneOrFraction(){if(this.char===d)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===y||this.char===g)this.consume(),this.next(this.parseTimeZoneHour);else{if(this.char===_)return this.consume(),this.return(u(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(n(this.state.result+this.state.buf));throw this.error(new r("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}parseDateTimeFraction(){if(ee(this.char))this.consume();else{if(this.state.buf.length===1)throw this.error(new r("Expected digit in milliseconds"));if(this.char===y||this.char===g)this.consume(),this.next(this.parseTimeZoneHour);else{if(this.char===_)return this.consume(),this.return(u(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(n(this.state.result+this.state.buf));throw this.error(new r("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}}parseTimeZoneHour(){if(ee(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep)}else throw this.error(new r("Unexpected character in datetime, expected digit"))}parseTimeZoneSep(){if(this.char===R)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new r("Unexpected character in datetime, expected colon"))}parseTimeZoneMin(){if(ee(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return(u(this.state.result+this.state.buf))}else throw this.error(new r("Unexpected character in datetime, expected digit"))}parseBoolean(){if(this.char===te)return this.consume(),this.next(this.parseTrue_r);if(this.char===S)return this.consume(),this.next(this.parseFalse_a)}parseTrue_r(){if(this.char===ae)return this.consume(),this.next(this.parseTrue_u);throw this.error(new r("Invalid boolean, expected true or false"))}parseTrue_u(){if(this.char===L)return this.consume(),this.next(this.parseTrue_e);throw this.error(new r("Invalid boolean, expected true or false"))}parseTrue_e(){if(this.char===w)return this.return(!0);throw this.error(new r("Invalid boolean, expected true or false"))}parseFalse_a(){if(this.char===B)return this.consume(),this.next(this.parseFalse_l);throw this.error(new r("Invalid boolean, expected true or false"))}parseFalse_l(){if(this.char===H)return this.consume(),this.next(this.parseFalse_s);throw this.error(new r("Invalid boolean, expected true or false"))}parseFalse_s(){if(this.char===Z)return this.consume(),this.next(this.parseFalse_e);throw this.error(new r("Invalid boolean, expected true or false"))}parseFalse_e(){if(this.char===w)return this.return(!1);throw this.error(new r("Invalid boolean, expected true or false"))}parseInlineList(){if(this.char===c||this.char===s||this.char===l||this.char===o)return null;if(this.char===G.END)throw this.error(new r("Unterminated inline array"));return this.char===p?this.call(this.parseComment):this.char===se?this.return(this.state.resultArr||Ji()):this.callNow(this.parseValue,this.recordInlineListValue)}recordInlineListValue(q){if(this.state.resultArr){let fe=this.state.resultArr[Qi],et=ra(q);if(fe!==et)throw this.error(new r(`Inline lists must be a single type, not a mix of ${fe} and ${et}`))}else this.state.resultArr=Ji(ra(q));return sn(q)||nn(q)?this.state.resultArr.push(q.valueOf()):this.state.resultArr.push(q),this.goto(this.parseInlineListNext)}parseInlineListNext(){if(this.char===c||this.char===s||this.char===l||this.char===o)return null;if(this.char===p)return this.call(this.parseComment);if(this.char===C)return this.next(this.parseInlineList);if(this.char===se)return this.goto(this.parseInlineList);throw this.error(new r("Invalid character, expected whitespace, comma (,) or close bracket (])"))}parseInlineTable(){if(this.char===c||this.char===s)return null;if(this.char===G.END||this.char===p||this.char===o||this.char===l)throw this.error(new r("Unterminated inline array"));return this.char===Fe?this.return(this.state.resultTable||Xi()):(this.state.resultTable||(this.state.resultTable=Xi()),this.callNow(this.parseAssign,this.recordInlineTableValue))}recordInlineTableValue(q){let fe=this.state.resultTable,et=q.key.pop();for(let Ye of q.key){if(Ct(fe,Ye)&&(!Ir(fe[Ye])||fe[Ye][Ae]))throw this.error(new r("Can't redefine existing key"));fe=fe[Ye]=fe[Ye]||Gt()}if(Ct(fe,et))throw this.error(new r("Can't redefine existing key"));return nn(q.value)||sn(q.value)?fe[et]=q.value.valueOf():fe[et]=q.value,this.goto(this.parseInlineTableNext)}parseInlineTableNext(){if(this.char===c||this.char===s)return null;if(this.char===G.END||this.char===p||this.char===o||this.char===l)throw this.error(new r("Unterminated inline array"));if(this.char===C)return this.next(this.parseInlineTable);if(this.char===Fe)return this.goto(this.parseInlineTable);throw this.error(new r("Invalid character, expected whitespace, comma (,) or close bracket (])"))}}return be}}}),zf=U({"node_modules/@iarna/toml/parse-pretty-error.js"(e,t){"use strict";t.exports=r;function r(u,n){if(u.pos==null||u.line==null)return u;let i=u.message;if(i+=` at row ${u.line+1}, col ${u.col+1}, pos ${u.pos}:
586
+ globstar while`,E,x,_,ae,Z),this.matchOne(E.slice(x),_.slice(ae),b))return B.debug&&console.error("globstar found match!",x,S,Z),!0;if(Z==="."||Z===".."||!B.dot&&Z.charAt(0)==="."){B.debug&&console.error("dot detected!",E,x,_,ae);break e}B.debug&&console.error("globstar swallow a segment, and continue"),x++}return!!(b&&x===S)}var te;if(typeof H=="string"?(B.nocase?te=Y.toLowerCase()===H.toLowerCase():te=Y===H,B.debug&&console.error("string match",H,Y,te)):(te=Y.match(H),B.debug&&console.error("pattern match",H,Y,te)),!te)return!1}if(j===S&&w===N)return!0;if(j===S)return b;if(w===N){var L=j===S-1&&E[j]==="";return L}throw new Error("wtf?")};function k(E){return E.replace(/\\(.)/g,"$1")}function I(E){return E.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}}}),jf=U({"node_modules/editorconfig/src/lib/ini.js"(e){"use strict";var t=e&&e.__awaiter||function(l,f,c,h){return new(c||(c=Promise))(function(p,D){function g(d){try{y(h.next(d))}catch(F){D(F)}}function C(d){try{y(h.throw(d))}catch(F){D(F)}}function y(d){d.done?p(d.value):new c(function(F){F(d.value)}).then(g,C)}y((h=h.apply(l,f||[])).next())})},r=e&&e.__generator||function(l,f){var c={label:0,sent:function(){if(D[0]&1)throw D[1];return D[1]},trys:[],ops:[]},h,p,D,g;return g={next:C(0),throw:C(1),return:C(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function C(d){return function(F){return y([d,F])}}function y(d){if(h)throw new TypeError("Generator is already executing.");for(;c;)try{if(h=1,p&&(D=d[0]&2?p.return:d[0]?p.throw||((D=p.return)&&D.call(p),0):p.next)&&!(D=D.call(p,d[1])).done)return D;switch(p=0,D&&(d=[d[0]&2,D.value]),d[0]){case 0:case 1:D=d;break;case 4:return c.label++,{value:d[1],done:!1};case 5:c.label++,p=d[1],d=[0];continue;case 7:d=c.ops.pop(),c.trys.pop();continue;default:if(D=c.trys,!(D=D.length>0&&D[D.length-1])&&(d[0]===6||d[0]===2)){c=0;continue}if(d[0]===3&&(!D||d[1]>D[0]&&d[1]<D[3])){c.label=d[1];break}if(d[0]===6&&c.label<D[1]){c.label=D[1],D=d;break}if(D&&c.label<D[2]){c.label=D[2],c.ops.push(d);break}D[2]&&c.ops.pop(),c.trys.pop();continue}d=f.call(l,c)}catch(F){d=[6,F],p=0}finally{h=D=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},u=e&&e.__importStar||function(l){if(l&&l.__esModule)return l;var f={};if(l!=null)for(var c in l)Object.hasOwnProperty.call(l,c)&&(f[c]=l[c]);return f.default=l,f};Object.defineProperty(e,"__esModule",{value:!0});var n=u(oe("fs")),i={section:/^\s*\[(([^#;]|\\#|\\;)+)\]\s*([#;].*)?$/,param:/^\s*([\w\.\-\_]+)\s*[=:]\s*(.*?)\s*([#;].*)?$/,comment:/^\s*[#;].*$/};function a(l){return t(this,void 0,void 0,function(){return r(this,function(f){return[2,new Promise(function(c,h){n.readFile(l,"utf8",function(p,D){if(p){h(p);return}c(o(D))})})]})})}e.parse=a;function s(l){return o(n.readFileSync(l,"utf8"))}e.parseSync=s;function o(l){var f={},c=null,h=[[c,f]],p=l.split(/\r\n|\r|\n/);return p.forEach(function(D){var g;i.comment.test(D)||(i.param.test(D)?(g=D.match(i.param),f[g[1]]=g[2]):i.section.test(D)&&(g=D.match(i.section),c=g[1],f={},h.push([c,f])))}),h}e.parseString=o}}),Mf=U({"node_modules/editorconfig/package.json"(e,t){t.exports={name:"editorconfig",version:"0.15.3",description:"EditorConfig File Locator and Interpreter for Node.js",keywords:["editorconfig","core"],main:"src/index.js",contributors:["Hong Xu (topbug.net)","Jed Mao (https://github.com/jedmao/)","Trey Hunner (http://treyhunner.com)"],directories:{bin:"./bin",lib:"./lib"},scripts:{clean:"rimraf dist",prebuild:"npm run clean",build:"tsc",pretest:"npm run lint && npm run build && npm run copy && cmake .",test:"ctest .","pretest:ci":"npm run pretest","test:ci":"ctest -VV --output-on-failure .",lint:"npm run eclint && npm run tslint",eclint:'eclint check --indent_size ignore "src/**"',tslint:"tslint --project tsconfig.json --exclude package.json",copy:"cpy .npmignore LICENSE README.md CHANGELOG.md dist && cpy bin/* dist/bin && cpy src/lib/fnmatch*.* dist/src/lib",prepub:"npm run lint && npm run build && npm run copy",pub:"npm publish ./dist"},repository:{type:"git",url:"git://github.com/editorconfig/editorconfig-core-js.git"},bugs:"https://github.com/editorconfig/editorconfig-core-js/issues",author:"EditorConfig Team",license:"MIT",dependencies:{commander:"^2.19.0","lru-cache":"^4.1.5",semver:"^5.6.0",sigmund:"^1.0.1"},devDependencies:{"@types/mocha":"^5.2.6","@types/node":"^10.12.29","@types/semver":"^5.5.0","cpy-cli":"^2.0.0",eclint:"^2.8.1",mocha:"^5.2.0",rimraf:"^2.6.3",should:"^13.2.3",tslint:"^5.13.1",typescript:"^3.3.3333"}}}}),$f=U({"node_modules/editorconfig/src/index.js"(e){"use strict";var t=e&&e.__awaiter||function(k,I,E,_){return new(E||(E=Promise))(function(b,B){function j(N){try{S(_.next(N))}catch(H){B(H)}}function w(N){try{S(_.throw(N))}catch(H){B(H)}}function S(N){N.done?b(N.value):new E(function(H){H(N.value)}).then(j,w)}S((_=_.apply(k,I||[])).next())})},r=e&&e.__generator||function(k,I){var E={label:0,sent:function(){if(B[0]&1)throw B[1];return B[1]},trys:[],ops:[]},_,b,B,j;return j={next:w(0),throw:w(1),return:w(2)},typeof Symbol=="function"&&(j[Symbol.iterator]=function(){return this}),j;function w(N){return function(H){return S([N,H])}}function S(N){if(_)throw new TypeError("Generator is already executing.");for(;E;)try{if(_=1,b&&(B=N[0]&2?b.return:N[0]?b.throw||((B=b.return)&&B.call(b),0):b.next)&&!(B=B.call(b,N[1])).done)return B;switch(b=0,B&&(N=[N[0]&2,B.value]),N[0]){case 0:case 1:B=N;break;case 4:return E.label++,{value:N[1],done:!1};case 5:E.label++,b=N[1],N=[0];continue;case 7:N=E.ops.pop(),E.trys.pop();continue;default:if(B=E.trys,!(B=B.length>0&&B[B.length-1])&&(N[0]===6||N[0]===2)){E=0;continue}if(N[0]===3&&(!B||N[1]>B[0]&&N[1]<B[3])){E.label=N[1];break}if(N[0]===6&&E.label<B[1]){E.label=B[1],B=N;break}if(B&&E.label<B[2]){E.label=B[2],E.ops.push(N);break}B[2]&&E.ops.pop(),E.trys.pop();continue}N=I.call(k,E)}catch(H){N=[6,H],b=0}finally{_=B=0}if(N[0]&5)throw N[1];return{value:N[0]?N[1]:void 0,done:!0}}},u=e&&e.__importStar||function(k){if(k&&k.__esModule)return k;var I={};if(k!=null)for(var E in k)Object.hasOwnProperty.call(k,E)&&(I[E]=k[E]);return I.default=k,I},n=e&&e.__importDefault||function(k){return k&&k.__esModule?k:{default:k}};Object.defineProperty(e,"__esModule",{value:!0});var i=u(oe("fs")),a=u(oe("path")),s={gte:Tf()},o=n(xf()),l=jf();e.parseString=l.parseString;var f=n(Mf()),c={end_of_line:!0,indent_style:!0,indent_size:!0,insert_final_newline:!0,trim_trailing_whitespace:!0,charset:!0};function h(k,I){var E={matchBase:!0,dot:!0,noext:!0};return I=I.replace(/\*\*/g,"{*,**/**/**}"),o.default(k,I,E)}function p(k,I){var E=[];do k=a.dirname(k),E.push(a.join(k,I.config));while(k!==I.root);return E}function D(k,I){return"indent_style"in k&&k.indent_style==="tab"&&!("indent_size"in k)&&s.gte(I,"0.10.0")&&(k.indent_size="tab"),"indent_size"in k&&!("tab_width"in k)&&k.indent_size!=="tab"&&(k.tab_width=k.indent_size),"indent_size"in k&&"tab_width"in k&&k.indent_size==="tab"&&(k.indent_size=k.tab_width),k}function g(k,I){return k===void 0&&(k={}),{config:k.config||".editorconfig",version:k.version||f.default.version,root:a.resolve(k.root||a.parse(I).root)}}function C(k,I){switch(I.indexOf("/")){case-1:I="**/"+I;break;case 0:I=I.substring(1);break;default:break}return a.join(k,I)}function y(k,I){k===void 0&&(k={}),I===void 0&&(I={});for(var E in I)if(I.hasOwnProperty(E)){var _=I[E],b=E.toLowerCase(),B=_;c[b]&&(B=_.toLowerCase());try{B=JSON.parse(_)}catch{}(typeof _>"u"||_===null)&&(B=String(_)),k[b]=B}return k}function d(k,I,E){return D(k.reverse().reduce(function(_,b){var B=a.dirname(b.name);return b.contents.forEach(function(j){var w=j[0],S=j[1];if(w){var N=C(B,w);h(I,N)&&(_=y(_,S))}}),_},{}),E.version)}function F(k){var I=[];for(var E in k)if(k.hasOwnProperty(E)){var _=k[E],b=l.parseString(_.contents);if(I.push({name:_.name,contents:b}),(b[0][1].root||"").toLowerCase()==="true")break}return I}function A(k){return t(this,void 0,void 0,function(){return r(this,function(I){return[2,Promise.all(k.map(function(E){return new Promise(function(_){i.readFile(E,"utf8",function(b,B){_({name:E,contents:b?"":B})})})}))]})})}function m(k){var I=[],E;return k.forEach(function(_){try{E=i.readFileSync(_,"utf8")}catch{E=""}I.push({name:_,contents:E})}),I}function O(k,I){I===void 0&&(I={});var E=a.resolve(k);return[E,g(I,E)]}function R(k,I,E){return E===void 0&&(E={}),t(this,void 0,void 0,function(){var _,b,B;return r(this,function(j){return _=O(k,E),b=_[0],B=_[1],[2,I.then(F).then(function(w){return d(w,b,B)})]})})}e.parseFromFiles=R;function v(k,I,E){E===void 0&&(E={});var _=O(k,E),b=_[0],B=_[1];return d(F(I),b,B)}e.parseFromFilesSync=v;function T(k,I){return I===void 0&&(I={}),t(this,void 0,void 0,function(){var E,_,b,B;return r(this,function(j){return E=O(k,I),_=E[0],b=E[1],B=p(_,b),[2,A(B).then(F).then(function(w){return d(w,_,b)})]})})}e.parse=T;function P(k,I){I===void 0&&(I={});var E=O(k,I),_=E[0],b=E[1],B=p(_,b),j=m(B);return d(F(j),_,b)}e.parseSync=P}}),Uf=U({"node_modules/ci-info/vendors.json"(e,t){t.exports=[{name:"Agola CI",constant:"AGOLA",env:"AGOLA_GIT_REF",pr:"AGOLA_PULL_REQUEST_ID"},{name:"Appcircle",constant:"APPCIRCLE",env:"AC_APPCIRCLE"},{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"TF_BUILD",pr:{BUILD_REASON:"PullRequest"}},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"Codefresh",constant:"CODEFRESH",env:"CF_BUILD_ID",pr:{any:["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{name:"Codemagic",constant:"CODEMAGIC",env:"CM_BUILD_ID",pr:"CM_PULL_REQUEST"},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"Earthly",constant:"EARTHLY",env:"EARTHLY_CI"},{name:"Expo Application Services",constant:"EAS",env:"EAS_BUILD"},{name:"Gerrit",constant:"GERRIT",env:"GERRIT_PROJECT"},{name:"Gitea Actions",constant:"GITEA_ACTIONS",env:"GITEA_ACTIONS"},{name:"GitHub Actions",constant:"GITHUB_ACTIONS",env:"GITHUB_ACTIONS",pr:{GITHUB_EVENT_NAME:"pull_request"}},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI",pr:"CI_MERGE_REQUEST_ID"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"Google Cloud Build",constant:"GOOGLE_CLOUD_BUILD",env:"BUILDER_OUTPUT"},{name:"Harness CI",constant:"HARNESS",env:"HARNESS_BUILD_ID"},{name:"Heroku",constant:"HEROKU",env:{env:"NODE",includes:"/app/.heroku/node/bin/node"}},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"LayerCI",constant:"LAYERCI",env:"LAYERCI",pr:"LAYERCI_PULL_REQUEST"},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Nevercode",constant:"NEVERCODE",env:"NEVERCODE",pr:{env:"NEVERCODE_PULL_REQUEST",ne:"false"}},{name:"Prow",constant:"PROW",env:"PROW_JOB_ID"},{name:"ReleaseHub",constant:"RELEASEHUB",env:"RELEASE_BUILD_ID"},{name:"Render",constant:"RENDER",env:"RENDER",pr:{IS_PULL_REQUEST:"true"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Screwdriver",constant:"SCREWDRIVER",env:"SCREWDRIVER",pr:{env:"SD_PULL_REQUEST",ne:"false"}},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Sourcehut",constant:"SOURCEHUT",env:{CI_NAME:"sourcehut"}},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}},{name:"Vela",constant:"VELA",env:"VELA",pr:{VELA_PULL_REQUEST:"1"}},{name:"Vercel",constant:"VERCEL",env:{any:["NOW_BUILDER","VERCEL"]},pr:"VERCEL_GIT_PULL_REQUEST_ID"},{name:"Visual Studio App Center",constant:"APPCENTER",env:"APPCENTER_BUILD_ID"},{name:"Woodpecker",constant:"WOODPECKER",env:{CI:"woodpecker"},pr:{CI_BUILD_EVENT:"pull_request"}},{name:"Xcode Cloud",constant:"XCODE_CLOUD",env:"CI_XCODE_PROJECT",pr:"CI_PULL_REQUEST_NUMBER"},{name:"Xcode Server",constant:"XCODE_SERVER",env:"XCS"}]}}),Hf=U({"node_modules/ci-info/index.js"(e){"use strict";var t=Uf(),r=process.env;Object.defineProperty(e,"_vendors",{value:t.map(function(n){return n.constant})}),e.name=null,e.isPR=null,t.forEach(function(n){let a=(Array.isArray(n.env)?n.env:[n.env]).every(function(s){return u(s)});if(e[n.constant]=a,!!a)switch(e.name=n.name,typeof n.pr){case"string":e.isPR=!!r[n.pr];break;case"object":"env"in n.pr?e.isPR=n.pr.env in r&&r[n.pr.env]!==n.pr.ne:"any"in n.pr?e.isPR=n.pr.any.some(function(s){return!!r[s]}):e.isPR=u(n.pr);break;default:e.isPR=null}}),e.isCI=!!(r.CI!=="false"&&(r.BUILD_ID||r.BUILD_NUMBER||r.CI||r.CI_APP_ID||r.CI_BUILD_ID||r.CI_BUILD_NUMBER||r.CI_NAME||r.CONTINUOUS_INTEGRATION||r.RUN_ID||e.name));function u(n){return typeof n=="string"?!!r[n]:"env"in n?r[n.env]&&r[n.env].includes(n.includes):"any"in n?n.any.some(function(i){return!!r[i]}):Object.keys(n).every(function(i){return r[i]===n[i]})}}}),Wf=U({"node_modules/@iarna/toml/lib/parser.js"(e,t){"use strict";var r=1114112,u=class lo extends Error{constructor(s,o,l){super("[ParserError] "+s,o,l),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,lo)}},n=class{constructor(a){this.parser=a,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null}},i=class{constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new n(this.parseStart)}parse(a){if(a.length===0||a.length==null)return;this._buf=String(a),this.ii=-1,this.char=-1;let s;for(;s===!1||this.nextChar();)s=this.runOne();this._buf=null}nextChar(){return this.char===10&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer()}haveBuffer(){return this.ii<this._buf.length}runOne(){return this.state.parser.call(this,this.state.returned)}finish(){this.char=r;let a;do a=this.state.parser,this.runOne();while(this.state.parser!==a);return this.ctx=null,this.state=null,this._buf=null,this.obj}next(a){if(typeof a!="function")throw new u("Tried to set state to non-existent state: "+JSON.stringify(a));this.state.parser=a}goto(a){return this.next(a),this.runOne()}call(a,s){s&&this.next(s),this.stack.push(this.state),this.state=new n(a)}callNow(a,s){return this.call(a,s),this.runOne()}return(a){if(this.stack.length===0)throw this.error(new u("Stack underflow"));a===void 0&&(a=this.state.buf),this.state=this.stack.pop(),this.state.returned=a}returnNow(a){return this.return(a),this.runOne()}consume(){if(this.char===r)throw this.error(new u("Unexpected end-of-buffer"));this.state.buf+=this._buf[this.ii]}error(a){return a.line=this.line,a.col=this.col,a.pos=this.pos,a}parseStart(){throw new u("Must declare a parseStart method")}};i.END=r,i.Error=u,t.exports=i}}),Gf=U({"node_modules/@iarna/toml/lib/create-datetime.js"(e,t){"use strict";t.exports=r=>{let u=new Date(r);if(isNaN(u))throw new TypeError("Invalid Datetime");return u}}}),Fi=U({"node_modules/@iarna/toml/lib/format-num.js"(e,t){"use strict";t.exports=(r,u)=>{for(u=String(u);u.length<r;)u="0"+u;return u}}}),qf=U({"node_modules/@iarna/toml/lib/create-datetime-float.js"(e,t){"use strict";var r=Fi(),u=class extends Date{constructor(n){super(n+"Z"),this.isFloating=!0}toISOString(){let n=`${this.getUTCFullYear()}-${r(2,this.getUTCMonth()+1)}-${r(2,this.getUTCDate())}`,i=`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;return`${n}T${i}`}};t.exports=n=>{let i=new u(n);if(isNaN(i))throw new TypeError("Invalid Datetime");return i}}}),Vf=U({"node_modules/@iarna/toml/lib/create-date.js"(e,t){"use strict";var r=Fi(),u=global.Date,n=class extends u{constructor(i){super(i),this.isDate=!0}toISOString(){return`${this.getUTCFullYear()}-${r(2,this.getUTCMonth()+1)}-${r(2,this.getUTCDate())}`}};t.exports=i=>{let a=new n(i);if(isNaN(a))throw new TypeError("Invalid Datetime");return a}}}),Yf=U({"node_modules/@iarna/toml/lib/create-time.js"(e,t){"use strict";var r=Fi(),u=class extends Date{constructor(n){super(`0000-01-01T${n}Z`),this.isTime=!0}toISOString(){return`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`}};t.exports=n=>{let i=new u(n);if(isNaN(i))throw new TypeError("Invalid Datetime");return i}}}),Kf=U({"node_modules/@iarna/toml/lib/toml-parser.js"(e,t){"use strict";t.exports=ua(Wf()),t.exports.makeParserClass=ua;var r=class co extends Error{constructor(be){super(be),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,co),this.fromTOML=!0,this.wrapped=null}};r.wrap=W=>{let be=new r(W.message);return be.code=W.code,be.wrapped=W,be},t.exports.TomlError=r;var u=Gf(),n=qf(),i=Vf(),a=Yf(),s=9,o=10,l=13,f=31,c=32,h=34,p=35,D=39,g=43,C=44,y=45,d=46,F=48,A=49,m=55,O=57,R=58,v=61,T=65,P=69,k=70,I=84,E=85,_=90,b=95,B=97,j=98,w=101,S=102,N=105,H=108,Y=110,x=111,ae=114,Z=115,te=116,L=117,M=120,K=122,X=123,Fe=125,he=91,le=92,se=93,ve=127,Re=55296,Ce=57343,Q={[j]:"\b",[te]:" ",[Y]:`
587
+ `,[S]:"\f",[ae]:"\r",[h]:'"',[le]:"\\"};function ee(W){return W>=F&&W<=O}function Ve(W){return W>=T&&W<=k||W>=B&&W<=S||W>=F&&W<=O}function V(W){return W===A||W===F}function ce(W){return W>=F&&W<=m}function G(W){return W>=T&&W<=_||W>=B&&W<=K||W>=F&&W<=O||W===D||W===h||W===b||W===y}function re(W){return W>=T&&W<=_||W>=B&&W<=K||W>=F&&W<=O||W===b||W===y}var ne=Symbol("type"),Ae=Symbol("declared"),ye=Object.prototype.hasOwnProperty,kr=Object.defineProperty,Dr={configurable:!0,enumerable:!0,writable:!0,value:void 0};function Ct(W,be){return ye.call(W,be)?!0:(be==="__proto__"&&kr(W,"__proto__",Dr),!1)}var Ju=Symbol("inline-table");function Xi(){return Object.defineProperties({},{[ne]:{value:Ju}})}function tc(W){return W===null||typeof W!="object"?!1:W[ne]===Ju}var Zu=Symbol("table");function Wt(){return Object.defineProperties({},{[ne]:{value:Zu},[Ae]:{value:!1,writable:!0}})}function Ir(W){return W===null||typeof W!="object"?!1:W[ne]===Zu}var Qi=Symbol("content-type"),en=Symbol("inline-list");function Ji(W){return Object.defineProperties([],{[ne]:{value:en},[Qi]:{value:W}})}function Zi(W){return W===null||typeof W!="object"?!1:W[ne]===en}var tn=Symbol("list");function rc(){return Object.defineProperties([],{[ne]:{value:tn}})}function rn(W){return W===null||typeof W!="object"?!1:W[ne]===tn}var ea;try{ea=oe("util").inspect.custom}catch{}var un=ea||"inspect",uc=class{constructor(W){try{this.value=global.BigInt.asIntN(64,W)}catch{this.value=null}Object.defineProperty(this,ne,{value:uu})}isNaN(){return this.value===null}toString(){return String(this.value)}[un](){return`[BigInt: ${this.toString()}]}`}valueOf(){return this.value}},uu=Symbol("integer");function Gt(W){let be=Number(W);return Object.is(be,-0)&&(be=0),global.BigInt&&!Number.isSafeInteger(be)?new uc(W):Object.defineProperties(new Number(be),{isNaN:{value:function(){return isNaN(this)}},[ne]:{value:uu},[un]:{value:()=>`[Integer: ${W}]`}})}function nn(W){return W===null||typeof W!="object"?!1:W[ne]===uu}var an=Symbol("float");function ta(W){return Object.defineProperties(new Number(W),{[ne]:{value:an},[un]:{value:()=>`[Float: ${W}]`}})}function sn(W){return W===null||typeof W!="object"?!1:W[ne]===an}function ra(W){let be=typeof W;if(be==="object"){if(W===null)return"null";if(W instanceof Date)return"datetime";if(ne in W)switch(W[ne]){case Ju:return"inline-table";case en:return"inline-list";case Zu:return"table";case tn:return"list";case an:return"float";case uu:return"integer"}}return be}function ua(W){class be extends W{constructor(){super(),this.ctx=this.obj=Wt()}atEndOfWord(){return this.char===p||this.char===s||this.char===c||this.atEndOfLine()}atEndOfLine(){return this.char===W.END||this.char===o||this.char===l}parseStart(){if(this.char===W.END)return null;if(this.char===he)return this.call(this.parseTableOrList);if(this.char===p)return this.call(this.parseComment);if(this.char===o||this.char===c||this.char===s||this.char===l)return null;if(G(this.char))return this.callNow(this.parseAssignStatement);throw this.error(new r(`Unknown character "${this.char}"`))}parseWhitespaceToEOL(){if(this.char===c||this.char===s||this.char===l)return null;if(this.char===p)return this.goto(this.parseComment);if(this.char===W.END||this.char===o)return this.return();throw this.error(new r("Unexpected character, expected only whitespace or comments till end of line"))}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement)}recordAssignStatement(q){let fe=this.ctx,et=q.key.pop();for(let Ye of q.key){if(Ct(fe,Ye)&&(!Ir(fe[Ye])||fe[Ye][Ae]))throw this.error(new r("Can't redefine existing key"));fe=fe[Ye]=fe[Ye]||Wt()}if(Ct(fe,et))throw this.error(new r("Can't redefine existing key"));return nn(q.value)||sn(q.value)?fe[et]=q.value.valueOf():fe[et]=q.value,this.goto(this.parseWhitespaceToEOL)}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword)}recordAssignKeyword(q){return this.state.resultTable?this.state.resultTable.push(q):this.state.resultTable=[q],this.goto(this.parseAssignKeywordPreDot)}parseAssignKeywordPreDot(){if(this.char===d)return this.next(this.parseAssignKeywordPostDot);if(this.char!==c&&this.char!==s)return this.goto(this.parseAssignEqual)}parseAssignKeywordPostDot(){if(this.char!==c&&this.char!==s)return this.callNow(this.parseKeyword,this.recordAssignKeyword)}parseAssignEqual(){if(this.char===v)return this.next(this.parseAssignPreValue);throw this.error(new r('Invalid character, expected "="'))}parseAssignPreValue(){return this.char===c||this.char===s?null:this.callNow(this.parseValue,this.recordAssignValue)}recordAssignValue(q){return this.returnNow({key:this.state.resultTable,value:q})}parseComment(){do if(this.char===W.END||this.char===o)return this.return();while(this.nextChar())}parseTableOrList(){if(this.char===he)this.next(this.parseList);else return this.goto(this.parseTable)}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext)}parseTableNext(){return this.char===c||this.char===s?null:this.callNow(this.parseKeyword,this.parseTableMore)}parseTableMore(q){if(this.char===c||this.char===s)return null;if(this.char===se){if(Ct(this.ctx,q)&&(!Ir(this.ctx[q])||this.ctx[q][Ae]))throw this.error(new r("Can't redefine existing key"));return this.ctx=this.ctx[q]=this.ctx[q]||Wt(),this.ctx[Ae]=!0,this.next(this.parseWhitespaceToEOL)}else if(this.char===d){if(!Ct(this.ctx,q))this.ctx=this.ctx[q]=Wt();else if(Ir(this.ctx[q]))this.ctx=this.ctx[q];else if(rn(this.ctx[q]))this.ctx=this.ctx[q][this.ctx[q].length-1];else throw this.error(new r("Can't redefine existing key"));return this.next(this.parseTableNext)}else throw this.error(new r("Unexpected character, expected whitespace, . or ]"))}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext)}parseListNext(){return this.char===c||this.char===s?null:this.callNow(this.parseKeyword,this.parseListMore)}parseListMore(q){if(this.char===c||this.char===s)return null;if(this.char===se){if(Ct(this.ctx,q)||(this.ctx[q]=rc()),Zi(this.ctx[q]))throw this.error(new r("Can't extend an inline array"));if(rn(this.ctx[q])){let fe=Wt();this.ctx[q].push(fe),this.ctx=fe}else throw this.error(new r("Can't redefine an existing key"));return this.next(this.parseListEnd)}else if(this.char===d){if(!Ct(this.ctx,q))this.ctx=this.ctx[q]=Wt();else{if(Zi(this.ctx[q]))throw this.error(new r("Can't extend an inline array"));if(tc(this.ctx[q]))throw this.error(new r("Can't extend an inline table"));if(rn(this.ctx[q]))this.ctx=this.ctx[q][this.ctx[q].length-1];else if(Ir(this.ctx[q]))this.ctx=this.ctx[q];else throw this.error(new r("Can't redefine an existing key"))}return this.next(this.parseListNext)}else throw this.error(new r("Unexpected character, expected whitespace, . or ]"))}parseListEnd(q){if(this.char===se)return this.next(this.parseWhitespaceToEOL);throw this.error(new r("Unexpected character, expected whitespace, . or ]"))}parseValue(){if(this.char===W.END)throw this.error(new r("Key without value"));if(this.char===h)return this.next(this.parseDoubleString);if(this.char===D)return this.next(this.parseSingleString);if(this.char===y||this.char===g)return this.goto(this.parseNumberSign);if(this.char===N)return this.next(this.parseInf);if(this.char===Y)return this.next(this.parseNan);if(ee(this.char))return this.goto(this.parseNumberOrDateTime);if(this.char===te||this.char===S)return this.goto(this.parseBoolean);if(this.char===he)return this.call(this.parseInlineList,this.recordValue);if(this.char===X)return this.call(this.parseInlineTable,this.recordValue);throw this.error(new r("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"))}recordValue(q){return this.returnNow(q)}parseInf(){if(this.char===Y)return this.next(this.parseInf2);throw this.error(new r('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseInf2(){if(this.char===S)return this.state.buf==="-"?this.return(-1/0):this.return(1/0);throw this.error(new r('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseNan(){if(this.char===B)return this.next(this.parseNan2);throw this.error(new r('Unexpected character, expected "nan"'))}parseNan2(){if(this.char===Y)return this.return(NaN);throw this.error(new r('Unexpected character, expected "nan"'))}parseKeyword(){return this.char===h?this.next(this.parseBasicString):this.char===D?this.next(this.parseLiteralString):this.goto(this.parseBareKey)}parseBareKey(){do{if(this.char===W.END)throw this.error(new r("Key ended without value"));if(re(this.char))this.consume();else{if(this.state.buf.length===0)throw this.error(new r("Empty bare keys are not allowed"));return this.returnNow()}}while(this.nextChar())}parseSingleString(){return this.char===D?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString)}parseLiteralString(){do{if(this.char===D)return this.return();if(this.atEndOfLine())throw this.error(new r("Unterminated string"));if(this.char===ve||this.char<=f&&this.char!==s)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiStringMaybe(){return this.char===D?this.next(this.parseLiteralMultiString):this.returnNow()}parseLiteralMultiString(){return this.char===l?null:this.char===o?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent)}parseLiteralMultiStringContent(){do{if(this.char===D)return this.next(this.parseLiteralMultiEnd);if(this.char===W.END)throw this.error(new r("Unterminated multi-line string"));if(this.char===ve||this.char<=f&&this.char!==s&&this.char!==o&&this.char!==l)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiEnd(){return this.char===D?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent))}parseLiteralMultiEnd2(){return this.char===D?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent))}parseDoubleString(){return this.char===h?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString)}parseBasicString(){do{if(this.char===le)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===h)return this.return();if(this.atEndOfLine())throw this.error(new r("Unterminated string"));if(this.char===ve||this.char<=f&&this.char!==s)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}recordEscapeReplacement(q){return this.state.buf+=q,this.goto(this.parseBasicString)}parseMultiStringMaybe(){return this.char===h?this.next(this.parseMultiString):this.returnNow()}parseMultiString(){return this.char===l?null:this.char===o?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent)}parseMultiStringContent(){do{if(this.char===le)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===h)return this.next(this.parseMultiEnd);if(this.char===W.END)throw this.error(new r("Unterminated multi-line string"));if(this.char===ve||this.char<=f&&this.char!==s&&this.char!==o&&this.char!==l)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}errorControlCharInString(){let q="\\u00";return this.char<16&&(q+="0"),q+=this.char.toString(16),this.error(new r(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${q} instead`))}recordMultiEscapeReplacement(q){return this.state.buf+=q,this.goto(this.parseMultiStringContent)}parseMultiEnd(){return this.char===h?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent))}parseMultiEnd2(){return this.char===h?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent))}parseMultiEscape(){return this.char===l||this.char===o?this.next(this.parseMultiTrim):this.char===c||this.char===s?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape)}parsePreMultiTrim(){if(this.char===c||this.char===s)return null;if(this.char===l||this.char===o)return this.next(this.parseMultiTrim);throw this.error(new r("Can't escape whitespace"))}parseMultiTrim(){return this.char===o||this.char===c||this.char===s||this.char===l?null:this.returnNow()}parseEscape(){if(this.char in Q)return this.return(Q[this.char]);if(this.char===L)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===E)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new r("Unknown escape character: "+this.char))}parseUnicodeReturn(q){try{let fe=parseInt(q,16);if(fe>=Re&&fe<=Ce)throw this.error(new r("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(fe))}catch(fe){throw this.error(r.wrap(fe))}}parseSmallUnicode(){if(Ve(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return()}else throw this.error(new r("Invalid character in unicode sequence, expected hex"))}parseLargeUnicode(){if(Ve(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return()}else throw this.error(new r("Invalid character in unicode sequence, expected hex"))}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan)}parseMaybeSignedInfOrNan(){return this.char===N?this.next(this.parseInf):this.char===Y?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart)}parseNumberIntegerStart(){return this.char===F?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger)}parseNumberIntegerExponentOrDecimal(){return this.char===d?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===P||this.char===w?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Gt(this.state.buf))}parseNumberInteger(){if(ee(this.char))this.consume();else{if(this.char===b)return this.call(this.parseNoUnder);if(this.char===P||this.char===w)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===d)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);{let q=Gt(this.state.buf);if(q.isNaN())throw this.error(new r("Invalid number"));return this.returnNow(q)}}}parseNoUnder(){if(this.char===b||this.char===d||this.char===P||this.char===w)throw this.error(new r("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new r("Incomplete number"));return this.returnNow()}parseNoUnderHexOctBinLiteral(){if(this.char===b||this.char===d)throw this.error(new r("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new r("Incomplete number"));return this.returnNow()}parseNumberFloat(){if(this.char===b)return this.call(this.parseNoUnder,this.parseNumberFloat);if(ee(this.char))this.consume();else return this.char===P||this.char===w?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(ta(this.state.buf))}parseNumberExponentSign(){if(ee(this.char))return this.goto(this.parseNumberExponent);if(this.char===y||this.char===g)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new r("Unexpected character, expected -, + or digit"))}parseNumberExponent(){if(ee(this.char))this.consume();else return this.char===b?this.call(this.parseNoUnder):this.returnNow(ta(this.state.buf))}parseNumberOrDateTime(){return this.char===F?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly)}parseNumberOrDateTimeOnly(){if(this.char===b)return this.call(this.parseNoUnder,this.parseNumberInteger);if(ee(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else return this.char===P||this.char===w?(this.consume(),this.next(this.parseNumberExponentSign)):this.char===d?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===y?this.goto(this.parseDateTime):this.char===R?this.goto(this.parseOnlyTimeHour):this.returnNow(Gt(this.state.buf))}parseDateTimeOnly(){if(this.state.buf.length<4){if(ee(this.char))return this.consume();if(this.char===R)return this.goto(this.parseOnlyTimeHour);throw this.error(new r("Expected digit while parsing year part of a date"))}else{if(this.char===y)return this.goto(this.parseDateTime);throw this.error(new r("Expected hyphen (-) while parsing year part of date"))}}parseNumberBaseOrDateTime(){return this.char===j?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin)):this.char===x?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct)):this.char===M?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex)):this.char===d?this.goto(this.parseNumberInteger):ee(this.char)?this.goto(this.parseDateTimeOnly):this.returnNow(Gt(this.state.buf))}parseIntegerHex(){if(Ve(this.char))this.consume();else{if(this.char===b)return this.call(this.parseNoUnderHexOctBinLiteral);{let q=Gt(this.state.buf);if(q.isNaN())throw this.error(new r("Invalid number"));return this.returnNow(q)}}}parseIntegerOct(){if(ce(this.char))this.consume();else{if(this.char===b)return this.call(this.parseNoUnderHexOctBinLiteral);{let q=Gt(this.state.buf);if(q.isNaN())throw this.error(new r("Invalid number"));return this.returnNow(q)}}}parseIntegerBin(){if(V(this.char))this.consume();else{if(this.char===b)return this.call(this.parseNoUnderHexOctBinLiteral);{let q=Gt(this.state.buf);if(q.isNaN())throw this.error(new r("Invalid number"));return this.returnNow(q)}}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new r("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth)}parseDateMonth(){if(this.char===y){if(this.state.buf.length<2)throw this.error(new r("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay)}else if(ee(this.char))this.consume();else throw this.error(new r("Incomplete datetime"))}parseDateDay(){if(this.char===I||this.char===c){if(this.state.buf.length<2)throw this.error(new r("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour)}else{if(this.atEndOfWord())return this.returnNow(i(this.state.result+"-"+this.state.buf));if(ee(this.char))this.consume();else throw this.error(new r("Incomplete datetime"))}}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow(i(this.state.result)):this.goto(this.parseTimeHour)}parseTimeHour(){if(this.char===R){if(this.state.buf.length<2)throw this.error(new r("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin)}else if(ee(this.char))this.consume();else throw this.error(new r("Incomplete datetime"))}parseTimeMin(){if(this.state.buf.length<2&&ee(this.char))this.consume();else{if(this.state.buf.length===2&&this.char===R)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);throw this.error(new r("Incomplete datetime"))}}parseTimeSec(){if(ee(this.char)){if(this.consume(),this.state.buf.length===2)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction)}else throw this.error(new r("Incomplete datetime"))}parseOnlyTimeHour(){if(this.char===R){if(this.state.buf.length<2)throw this.error(new r("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin)}else throw this.error(new r("Incomplete time"))}parseOnlyTimeMin(){if(this.state.buf.length<2&&ee(this.char))this.consume();else{if(this.state.buf.length===2&&this.char===R)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);throw this.error(new r("Incomplete time"))}}parseOnlyTimeSec(){if(ee(this.char)){if(this.consume(),this.state.buf.length===2)return this.next(this.parseOnlyTimeFractionMaybe)}else throw this.error(new r("Incomplete time"))}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char===d)this.state.buf="",this.next(this.parseOnlyTimeFraction);else return this.return(a(this.state.result))}parseOnlyTimeFraction(){if(ee(this.char))this.consume();else if(this.atEndOfWord()){if(this.state.buf.length===0)throw this.error(new r("Expected digit in milliseconds"));return this.returnNow(a(this.state.result+"."+this.state.buf))}else throw this.error(new r("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}parseTimeZoneOrFraction(){if(this.char===d)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===y||this.char===g)this.consume(),this.next(this.parseTimeZoneHour);else{if(this.char===_)return this.consume(),this.return(u(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(n(this.state.result+this.state.buf));throw this.error(new r("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}parseDateTimeFraction(){if(ee(this.char))this.consume();else{if(this.state.buf.length===1)throw this.error(new r("Expected digit in milliseconds"));if(this.char===y||this.char===g)this.consume(),this.next(this.parseTimeZoneHour);else{if(this.char===_)return this.consume(),this.return(u(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(n(this.state.result+this.state.buf));throw this.error(new r("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}}parseTimeZoneHour(){if(ee(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep)}else throw this.error(new r("Unexpected character in datetime, expected digit"))}parseTimeZoneSep(){if(this.char===R)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new r("Unexpected character in datetime, expected colon"))}parseTimeZoneMin(){if(ee(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return(u(this.state.result+this.state.buf))}else throw this.error(new r("Unexpected character in datetime, expected digit"))}parseBoolean(){if(this.char===te)return this.consume(),this.next(this.parseTrue_r);if(this.char===S)return this.consume(),this.next(this.parseFalse_a)}parseTrue_r(){if(this.char===ae)return this.consume(),this.next(this.parseTrue_u);throw this.error(new r("Invalid boolean, expected true or false"))}parseTrue_u(){if(this.char===L)return this.consume(),this.next(this.parseTrue_e);throw this.error(new r("Invalid boolean, expected true or false"))}parseTrue_e(){if(this.char===w)return this.return(!0);throw this.error(new r("Invalid boolean, expected true or false"))}parseFalse_a(){if(this.char===B)return this.consume(),this.next(this.parseFalse_l);throw this.error(new r("Invalid boolean, expected true or false"))}parseFalse_l(){if(this.char===H)return this.consume(),this.next(this.parseFalse_s);throw this.error(new r("Invalid boolean, expected true or false"))}parseFalse_s(){if(this.char===Z)return this.consume(),this.next(this.parseFalse_e);throw this.error(new r("Invalid boolean, expected true or false"))}parseFalse_e(){if(this.char===w)return this.return(!1);throw this.error(new r("Invalid boolean, expected true or false"))}parseInlineList(){if(this.char===c||this.char===s||this.char===l||this.char===o)return null;if(this.char===W.END)throw this.error(new r("Unterminated inline array"));return this.char===p?this.call(this.parseComment):this.char===se?this.return(this.state.resultArr||Ji()):this.callNow(this.parseValue,this.recordInlineListValue)}recordInlineListValue(q){if(this.state.resultArr){let fe=this.state.resultArr[Qi],et=ra(q);if(fe!==et)throw this.error(new r(`Inline lists must be a single type, not a mix of ${fe} and ${et}`))}else this.state.resultArr=Ji(ra(q));return sn(q)||nn(q)?this.state.resultArr.push(q.valueOf()):this.state.resultArr.push(q),this.goto(this.parseInlineListNext)}parseInlineListNext(){if(this.char===c||this.char===s||this.char===l||this.char===o)return null;if(this.char===p)return this.call(this.parseComment);if(this.char===C)return this.next(this.parseInlineList);if(this.char===se)return this.goto(this.parseInlineList);throw this.error(new r("Invalid character, expected whitespace, comma (,) or close bracket (])"))}parseInlineTable(){if(this.char===c||this.char===s)return null;if(this.char===W.END||this.char===p||this.char===o||this.char===l)throw this.error(new r("Unterminated inline array"));return this.char===Fe?this.return(this.state.resultTable||Xi()):(this.state.resultTable||(this.state.resultTable=Xi()),this.callNow(this.parseAssign,this.recordInlineTableValue))}recordInlineTableValue(q){let fe=this.state.resultTable,et=q.key.pop();for(let Ye of q.key){if(Ct(fe,Ye)&&(!Ir(fe[Ye])||fe[Ye][Ae]))throw this.error(new r("Can't redefine existing key"));fe=fe[Ye]=fe[Ye]||Wt()}if(Ct(fe,et))throw this.error(new r("Can't redefine existing key"));return nn(q.value)||sn(q.value)?fe[et]=q.value.valueOf():fe[et]=q.value,this.goto(this.parseInlineTableNext)}parseInlineTableNext(){if(this.char===c||this.char===s)return null;if(this.char===W.END||this.char===p||this.char===o||this.char===l)throw this.error(new r("Unterminated inline array"));if(this.char===C)return this.next(this.parseInlineTable);if(this.char===Fe)return this.goto(this.parseInlineTable);throw this.error(new r("Invalid character, expected whitespace, comma (,) or close bracket (])"))}}return be}}}),zf=U({"node_modules/@iarna/toml/parse-pretty-error.js"(e,t){"use strict";t.exports=r;function r(u,n){if(u.pos==null||u.line==null)return u;let i=u.message;if(i+=` at row ${u.line+1}, col ${u.col+1}, pos ${u.pos}:
585
588
  `,n&&n.split){let a=n.split(/\n/),s=String(Math.min(a.length,u.line+3)).length,o=" ";for(;o.length<s;)o+=" ";for(let l=Math.max(0,u.line-1);l<Math.min(a.length,u.line+2);++l){let f=String(l+1);if(f.length<s&&(f=" "+f),u.line===l){i+=f+"> "+a[l]+`
586
589
  `,i+=o+" ";for(let c=0;c<u.col;++c)i+=" ";i+=`^
587
590
  `}else i+=f+": "+a[l]+`
588
591
  `}}return u.message=i+`
589
592
  `,u}}}),Xf=U({"node_modules/@iarna/toml/parse-async.js"(e,t){"use strict";t.exports=n;var r=Kf(),u=zf();function n(i,a){a||(a={});let s=0,o=a.blocksize||40960,l=new r;return new Promise((c,h)=>{setImmediate(f,s,o,c,h)});function f(c,h,p,D){if(c>=i.length)try{return p(l.finish())}catch(g){return D(u(g,i))}try{l.parse(i.slice(c,c+h)),setImmediate(f,c+h,h,p,D)}catch(g){D(u(g,i))}}}}}),Qf=U({"node_modules/js-tokens/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,e.matchToToken=function(t){var r={type:"invalid",value:t[0],closed:void 0};return t[1]?(r.type="string",r.closed=!!(t[3]||t[4])):t[5]?r.type="comment":t[6]?(r.type="comment",r.closed=!!t[7]):t[8]?r.type="regex":t[9]?r.type="number":t[10]?r.type="name":t[11]?r.type="punctuator":t[12]&&(r.type="whitespace"),r}}}),Jf=U({"node_modules/@babel/helper-validator-identifier/lib/identifier.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentifierChar=l,e.isIdentifierName=f,e.isIdentifierStart=o;var t="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",r="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",u=new RegExp("["+t+"]"),n=new RegExp("["+t+r+"]");t=r=null;var i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],a=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function s(c,h){let p=65536;for(let D=0,g=h.length;D<g;D+=2){if(p+=h[D],p>c)return!1;if(p+=h[D+1],p>=c)return!0}return!1}function o(c){return c<65?c===36:c<=90?!0:c<97?c===95:c<=122?!0:c<=65535?c>=170&&u.test(String.fromCharCode(c)):s(c,i)}function l(c){return c<48?c===36:c<58?!0:c<65?!1:c<=90?!0:c<97?c===95:c<=122?!0:c<=65535?c>=170&&n.test(String.fromCharCode(c)):s(c,i)||s(c,a)}function f(c){let h=!0;for(let p=0;p<c.length;p++){let D=c.charCodeAt(p);if((D&64512)===55296&&p+1<c.length){let g=c.charCodeAt(++p);(g&64512)===56320&&(D=65536+((D&1023)<<10)+(g&1023))}if(h){if(h=!1,!o(D))return!1}else if(!l(D))return!1}return!h}}}),Zf=U({"node_modules/@babel/helper-validator-identifier/lib/keyword.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isKeyword=l,e.isReservedWord=i,e.isStrictBindOnlyReservedWord=s,e.isStrictBindReservedWord=o,e.isStrictReservedWord=a;var t={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},r=new Set(t.keyword),u=new Set(t.strict),n=new Set(t.strictBind);function i(f,c){return c&&f==="await"||f==="enum"}function a(f,c){return i(f,c)||u.has(f)}function s(f){return n.has(f)}function o(f,c){return a(f,c)||s(f)}function l(f){return r.has(f)}}}),eD=U({"node_modules/@babel/helper-validator-identifier/lib/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isIdentifierChar",{enumerable:!0,get:function(){return t.isIdentifierChar}}),Object.defineProperty(e,"isIdentifierName",{enumerable:!0,get:function(){return t.isIdentifierName}}),Object.defineProperty(e,"isIdentifierStart",{enumerable:!0,get:function(){return t.isIdentifierStart}}),Object.defineProperty(e,"isKeyword",{enumerable:!0,get:function(){return r.isKeyword}}),Object.defineProperty(e,"isReservedWord",{enumerable:!0,get:function(){return r.isReservedWord}}),Object.defineProperty(e,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return r.isStrictBindOnlyReservedWord}}),Object.defineProperty(e,"isStrictBindReservedWord",{enumerable:!0,get:function(){return r.isStrictBindReservedWord}}),Object.defineProperty(e,"isStrictReservedWord",{enumerable:!0,get:function(){return r.isStrictReservedWord}});var t=Jf(),r=Zf()}}),fo=U({"node_modules/picocolors/picocolors.js"(e,t){var r=process.argv||[],u=process.env,n=!("NO_COLOR"in u||r.includes("--no-color"))&&("FORCE_COLOR"in u||r.includes("--color")||process.platform==="win32"||oe!=null&&oe("tty").isatty(1)&&u.TERM!=="dumb"||"CI"in u),i=(o,l,f=o)=>c=>{let h=""+c,p=h.indexOf(l,o.length);return~p?o+a(h,l,f,p)+l:o+h+l},a=(o,l,f,c)=>{let h="",p=0;do h+=o.substring(p,c)+f,p=c+l.length,c=o.indexOf(l,p);while(~c);return h+o.substring(p)},s=(o=n)=>{let l=o?i:()=>String;return{isColorSupported:o,reset:l("\x1B[0m","\x1B[0m"),bold:l("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:l("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:l("\x1B[3m","\x1B[23m"),underline:l("\x1B[4m","\x1B[24m"),inverse:l("\x1B[7m","\x1B[27m"),hidden:l("\x1B[8m","\x1B[28m"),strikethrough:l("\x1B[9m","\x1B[29m"),black:l("\x1B[30m","\x1B[39m"),red:l("\x1B[31m","\x1B[39m"),green:l("\x1B[32m","\x1B[39m"),yellow:l("\x1B[33m","\x1B[39m"),blue:l("\x1B[34m","\x1B[39m"),magenta:l("\x1B[35m","\x1B[39m"),cyan:l("\x1B[36m","\x1B[39m"),white:l("\x1B[37m","\x1B[39m"),gray:l("\x1B[90m","\x1B[39m"),bgBlack:l("\x1B[40m","\x1B[49m"),bgRed:l("\x1B[41m","\x1B[49m"),bgGreen:l("\x1B[42m","\x1B[49m"),bgYellow:l("\x1B[43m","\x1B[49m"),bgBlue:l("\x1B[44m","\x1B[49m"),bgMagenta:l("\x1B[45m","\x1B[49m"),bgCyan:l("\x1B[46m","\x1B[49m"),bgWhite:l("\x1B[47m","\x1B[49m")}};t.exports=s(),t.exports.createColors=s}}),tD=U({"node_modules/@babel/highlight/lib/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=y,e.shouldHighlight=D;var t=Qf(),r=eD(),u=i(fo(),!0);function n(d){if(typeof WeakMap!="function")return null;var F=new WeakMap,A=new WeakMap;return(n=function(m){return m?A:F})(d)}function i(d,F){if(!F&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var A=n(F);if(A&&A.has(d))return A.get(d);var m={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var R in d)if(R!=="default"&&{}.hasOwnProperty.call(d,R)){var v=O?Object.getOwnPropertyDescriptor(d,R):null;v&&(v.get||v.set)?Object.defineProperty(m,R,v):m[R]=d[R]}return m.default=d,A&&A.set(d,m),m}var a=typeof process=="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?(0,u.createColors)(!1):u.default,s=(d,F)=>A=>d(F(A)),o=new Set(["as","async","from","get","of","set"]);function l(d){return{keyword:d.cyan,capitalized:d.yellow,jsxIdentifier:d.yellow,punctuator:d.yellow,number:d.magenta,string:d.green,regex:d.magenta,comment:d.gray,invalid:s(s(d.white,d.bgRed),d.bold)}}var f=/\r\n|[\n\r\u2028\u2029]/,c=/^[()[\]{}]$/,h;{let d=/^[a-z][\w-]*$/i,F=function(A,m,O){if(A.type==="name"){if((0,r.isKeyword)(A.value)||(0,r.isStrictReservedWord)(A.value,!0)||o.has(A.value))return"keyword";if(d.test(A.value)&&(O[m-1]==="<"||O.slice(m-2,m)==="</"))return"jsxIdentifier";if(A.value[0]!==A.value[0].toLowerCase())return"capitalized"}return A.type==="punctuator"&&c.test(A.value)?"bracket":A.type==="invalid"&&(A.value==="@"||A.value==="#")?"punctuator":A.type};h=function*(A){let m;for(;m=t.default.exec(A);){let O=t.matchToToken(m);yield{type:F(O,m.index,A),value:O.value}}}}function p(d,F){let A="";for(let{type:m,value:O}of h(F)){let R=d[m];R?A+=O.split(f).map(v=>R(v)).join(`
590
- `):A+=O}return A}function D(d){return a.isColorSupported||d.forceColor}var g=void 0;function C(d){if(d){var F;return(F=g)!=null||(g=(0,u.createColors)(!0)),g}return a}function y(d,F={}){if(d!==""&&D(F)){let A=l(C(F.forceColor));return p(A,d)}else return d}{let d,F;e.getChalk=({forceColor:A})=>{var m;if((m=d)!=null||(d=(Gu(),d0(no))),A){var O;return(O=F)!=null||(F=new d.constructor({enabled:!0,level:1})),F}return d}}}}),Do=U({"node_modules/@babel/code-frame/lib/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=p,e.default=D;var t=tD(),r=n(fo(),!0);function u(g){if(typeof WeakMap!="function")return null;var C=new WeakMap,y=new WeakMap;return(u=function(d){return d?y:C})(g)}function n(g,C){if(!C&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var y=u(C);if(y&&y.has(g))return y.get(g);var d={__proto__:null},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in g)if(A!=="default"&&{}.hasOwnProperty.call(g,A)){var m=F?Object.getOwnPropertyDescriptor(g,A):null;m&&(m.get||m.set)?Object.defineProperty(d,A,m):d[A]=g[A]}return d.default=g,y&&y.set(g,d),d}var i=typeof process=="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?(0,r.createColors)(!1):r.default,a=(g,C)=>y=>g(C(y)),s=void 0;function o(g){if(g){var C;return(C=s)!=null||(s=(0,r.createColors)(!0)),s}return i}var l=!1;function f(g){return{gutter:g.gray,marker:a(g.red,g.bold),message:a(g.red,g.bold)}}var c=/\r\n|[\n\r\u2028\u2029]/;function h(g,C,y){let d=Object.assign({column:0,line:-1},g.start),F=Object.assign({},d,g.end),{linesAbove:A=2,linesBelow:m=3}=y||{},O=d.line,R=d.column,v=F.line,T=F.column,P=Math.max(O-(A+1),0),k=Math.min(C.length,v+m);O===-1&&(P=0),v===-1&&(k=C.length);let I=v-O,E={};if(I)for(let _=0;_<=I;_++){let b=_+O;if(!R)E[b]=!0;else if(_===0){let B=C[b-1].length;E[b]=[R,B-R+1]}else if(_===I)E[b]=[0,T];else{let B=C[b-_].length;E[b]=[0,B]}}else R===T?R?E[O]=[R,0]:E[O]=!0:E[O]=[R,T-R];return{start:P,end:k,markerLines:E}}function p(g,C,y={}){let d=(y.highlightCode||y.forceColor)&&(0,t.shouldHighlight)(y),F=o(y.forceColor),A=f(F),m=(_,b)=>d?_(b):b,O=g.split(c),{start:R,end:v,markerLines:T}=h(C,O,y),P=C.start&&typeof C.start.column=="number",k=String(v).length,E=(d?(0,t.default)(g,y):g).split(c,v).slice(R,v).map((_,b)=>{let B=R+1+b,w=` ${` ${B}`.slice(-k)} |`,S=T[B],N=!T[B+1];if(S){let H="";if(Array.isArray(S)){let Y=_.slice(0,Math.max(S[0]-1,0)).replace(/[^\t]/g," "),x=S[1]||1;H=[`
593
+ `):A+=O}return A}function D(d){return a.isColorSupported||d.forceColor}var g=void 0;function C(d){if(d){var F;return(F=g)!=null||(g=(0,u.createColors)(!0)),g}return a}function y(d,F={}){if(d!==""&&D(F)){let A=l(C(F.forceColor));return p(A,d)}else return d}{let d,F;e.getChalk=({forceColor:A})=>{var m;if((m=d)!=null||(d=(Wu(),d0(no))),A){var O;return(O=F)!=null||(F=new d.constructor({enabled:!0,level:1})),F}return d}}}}),Do=U({"node_modules/@babel/code-frame/lib/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=p,e.default=D;var t=tD(),r=n(fo(),!0);function u(g){if(typeof WeakMap!="function")return null;var C=new WeakMap,y=new WeakMap;return(u=function(d){return d?y:C})(g)}function n(g,C){if(!C&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var y=u(C);if(y&&y.has(g))return y.get(g);var d={__proto__:null},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in g)if(A!=="default"&&{}.hasOwnProperty.call(g,A)){var m=F?Object.getOwnPropertyDescriptor(g,A):null;m&&(m.get||m.set)?Object.defineProperty(d,A,m):d[A]=g[A]}return d.default=g,y&&y.set(g,d),d}var i=typeof process=="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?(0,r.createColors)(!1):r.default,a=(g,C)=>y=>g(C(y)),s=void 0;function o(g){if(g){var C;return(C=s)!=null||(s=(0,r.createColors)(!0)),s}return i}var l=!1;function f(g){return{gutter:g.gray,marker:a(g.red,g.bold),message:a(g.red,g.bold)}}var c=/\r\n|[\n\r\u2028\u2029]/;function h(g,C,y){let d=Object.assign({column:0,line:-1},g.start),F=Object.assign({},d,g.end),{linesAbove:A=2,linesBelow:m=3}=y||{},O=d.line,R=d.column,v=F.line,T=F.column,P=Math.max(O-(A+1),0),k=Math.min(C.length,v+m);O===-1&&(P=0),v===-1&&(k=C.length);let I=v-O,E={};if(I)for(let _=0;_<=I;_++){let b=_+O;if(!R)E[b]=!0;else if(_===0){let B=C[b-1].length;E[b]=[R,B-R+1]}else if(_===I)E[b]=[0,T];else{let B=C[b-_].length;E[b]=[0,B]}}else R===T?R?E[O]=[R,0]:E[O]=!0:E[O]=[R,T-R];return{start:P,end:k,markerLines:E}}function p(g,C,y={}){let d=(y.highlightCode||y.forceColor)&&(0,t.shouldHighlight)(y),F=o(y.forceColor),A=f(F),m=(_,b)=>d?_(b):b,O=g.split(c),{start:R,end:v,markerLines:T}=h(C,O,y),P=C.start&&typeof C.start.column=="number",k=String(v).length,E=(d?(0,t.default)(g,y):g).split(c,v).slice(R,v).map((_,b)=>{let B=R+1+b,w=` ${` ${B}`.slice(-k)} |`,S=T[B],N=!T[B+1];if(S){let H="";if(Array.isArray(S)){let Y=_.slice(0,Math.max(S[0]-1,0)).replace(/[^\t]/g," "),x=S[1]||1;H=[`
591
594
  `,m(A.gutter,w.replace(/\d/g," "))," ",Y,m(A.marker,"^").repeat(x)].join(""),N&&y.message&&(H+=" "+m(A.message,y.message))}return[m(A.marker,">"),m(A.gutter,w),_.length>0?` ${_}`:"",H].join("")}else return` ${m(A.gutter,w)}${_.length>0?` ${_}`:""}`}).join(`
592
595
  `);return y.message&&!P&&(E=`${" ".repeat(k+1)}${y.message}
593
- ${E}`),d?F.reset(E):E}function D(g,C,y,d={}){if(!l){l=!0;let A="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(A,"DeprecationWarning");else{let m=new Error(A);m.name="DeprecationWarning",console.warn(new Error(A))}}return y=Math.max(y,0),p(g,{start:{column:y,line:C}},d)}}}),rD=U({"node_modules/ignore/index.js"(e,t){function r(w){return Array.isArray(w)?w:[w]}var u="",n=" ",i="\\",a=/^\s+$/,s=/(?:[^\\]|^)\\$/,o=/^\\!/,l=/^\\#/,f=/\r?\n/g,c=/^\.*\/|^\.+$/,h="/",p="node-ignore";typeof Symbol<"u"&&(p=Symbol.for("node-ignore"));var D=p,g=(w,S,N)=>Object.defineProperty(w,S,{value:N}),C=/([0-z])-([0-z])/g,y=()=>!1,d=w=>w.replace(C,(S,N,H)=>N.charCodeAt(0)<=H.charCodeAt(0)?S:u),F=w=>{let{length:S}=w;return w.slice(0,S-S%2)},A=[[/^\uFEFF/,()=>u],[/\\?\s+$/,w=>w.indexOf("\\")===0?n:u],[/\\\s/g,()=>n],[/[\\$.|*+(){^]/g,w=>`\\${w}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(w,S,N)=>S+6<N.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(w,S,N)=>{let H=N.replace(/\\\*/g,"[^\\/]*");return S+H}],[/\\\\\\(?=[$.|*+(){^])/g,()=>i],[/\\\\/g,()=>i],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(w,S,N,H,Y)=>S===i?`\\[${N}${F(H)}${Y}`:Y==="]"&&H.length%2===0?`[${d(N)}${H}]`:"[]"],[/(?:[^*])$/,w=>/\/$/.test(w)?`${w}$`:`${w}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(w,S)=>`${S?`${S}[^/]+`:"[^/]*"}(?=$|\\/$)`]],m=Object.create(null),O=(w,S)=>{let N=m[w];return N||(N=A.reduce((H,Y)=>H.replace(Y[0],Y[1].bind(w)),w),m[w]=N),S?new RegExp(N,"i"):new RegExp(N)},R=w=>typeof w=="string",v=w=>w&&R(w)&&!a.test(w)&&!s.test(w)&&w.indexOf("#")!==0,T=w=>w.split(f),P=class{constructor(w,S,N,H){this.origin=w,this.pattern=S,this.negative=N,this.regex=H}},k=(w,S)=>{let N=w,H=!1;w.indexOf("!")===0&&(H=!0,w=w.substr(1)),w=w.replace(o,"!").replace(l,"#");let Y=O(w,S);return new P(N,w,H,Y)},I=(w,S)=>{throw new S(w)},E=(w,S,N)=>R(w)?w?E.isNotRelative(w)?N(`path should be a \`path.relative()\`d string, but got "${S}"`,RangeError):!0:N("path must not be empty",TypeError):N(`path must be a string, but got \`${S}\``,TypeError),_=w=>c.test(w);E.isNotRelative=_,E.convert=w=>w;var b=class{constructor({ignorecase:w=!0,ignoreCase:S=w,allowRelativePaths:N=!1}={}){g(this,D,!0),this._rules=[],this._ignoreCase=S,this._allowRelativePaths=N,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(w){if(w&&w[D]){this._rules=this._rules.concat(w._rules),this._added=!0;return}if(v(w)){let S=k(w,this._ignoreCase);this._added=!0,this._rules.push(S)}}add(w){return this._added=!1,r(R(w)?T(w):w).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(w){return this.add(w)}_testOne(w,S){let N=!1,H=!1;return this._rules.forEach(Y=>{let{negative:x}=Y;if(H===x&&N!==H||x&&!N&&!H&&!S)return;Y.regex.test(w)&&(N=!x,H=x)}),{ignored:N,unignored:H}}_test(w,S,N,H){let Y=w&&E.convert(w);return E(Y,w,this._allowRelativePaths?y:I),this._t(Y,S,N,H)}_t(w,S,N,H){if(w in S)return S[w];if(H||(H=w.split(h)),H.pop(),!H.length)return S[w]=this._testOne(w,N);let Y=this._t(H.join(h)+h,S,N,H);return S[w]=Y.ignored?Y:this._testOne(w,N)}ignores(w){return this._test(w,this._ignoreCache,!1).ignored}createFilter(){return w=>!this.ignores(w)}filter(w){return r(w).filter(this.createFilter())}test(w){return this._test(w,this._testCache,!0)}},B=w=>new b(w),j=w=>E(w&&E.convert(w),w,y);if(B.isPathValid=j,B.default=B,t.exports=B,typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let w=N=>/^\\\\\?\\/.test(N)||/["<>|\u0000-\u001F]+/u.test(N)?N:N.replace(/\\/g,"/");E.convert=w;let S=/^[a-z]:\//i;E.isNotRelative=N=>S.test(N)||_(N)}}}),uD=U({"node_modules/n-readlines/readlines.js"(e,t){"use strict";var r=oe("fs"),u=class{constructor(n,i){i=i||{},i.readChunk||(i.readChunk=1024),i.newLineCharacter?i.newLineCharacter=i.newLineCharacter.charCodeAt(0):i.newLineCharacter=10,typeof n=="number"?this.fd=n:this.fd=r.openSync(n,"r"),this.options=i,this.newLineCharacter=i.newLineCharacter,this.reset()}_searchInBuffer(n,i){let a=-1;for(let s=0;s<=n.length;s++)if(n[s]===i){a=s;break}return a}reset(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}close(){r.closeSync(this.fd),this.fd=null}_extractLines(n){let i,a=[],s=0,o=0;for(;;){let f=n[s++];if(f===this.newLineCharacter)i=n.slice(o,s),a.push(i),o=s;else if(f===void 0)break}let l=n.slice(o,s);return l.length&&a.push(l),a}_readChunk(n){let i=0,a,s=[];do{let l=Buffer.alloc(this.options.readChunk);a=r.readSync(this.fd,l,0,this.options.readChunk,this.fdPosition),i=i+a,this.fdPosition=this.fdPosition+a,s.push(l)}while(a&&this._searchInBuffer(s[s.length-1],this.options.newLineCharacter)===-1);let o=Buffer.concat(s);return a<this.options.readChunk&&(this.eofReached=!0,o=o.slice(0,i)),i&&(this.linesCache=this._extractLines(o),n&&(this.linesCache[0]=Buffer.concat([n,this.linesCache[0]]))),i}next(){if(!this.fd)return!1;let n=!1;if(this.eofReached&&this.linesCache.length===0)return n;let i;return this.linesCache.length||(i=this._readChunk()),this.linesCache.length&&(n=this.linesCache.shift(),n[n.length-1]!==this.newLineCharacter&&(i=this._readChunk(n),i&&(n=this.linesCache.shift()))),this.eofReached&&this.linesCache.length===0&&this.close(),n&&n[n.length-1]===this.newLineCharacter&&(n=n.slice(0,n.length-1)),n}};t.exports=u}}),nD={};wr(nD,{__debug:()=>fF,__internal:()=>cF,check:()=>aF,clearConfigCache:()=>sF,doc:()=>vn,format:()=>Ku,formatWithCursor:()=>Wl,getFileInfo:()=>oF,getSupportInfo:()=>lF,resolveConfig:()=>cl,resolveConfigFile:()=>Yg,util:()=>Gl,version:()=>L1});function gt(){}gt.prototype={diff:function(t,r){var u,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.callback;typeof n=="function"&&(i=n,n={}),this.options=n;var a=this;function s(A){return i?(setTimeout(function(){i(void 0,A)},0),!0):A}t=this.castInput(t),r=this.castInput(r),t=this.removeEmpty(this.tokenize(t)),r=this.removeEmpty(this.tokenize(r));var o=r.length,l=t.length,f=1,c=o+l;n.maxEditLength&&(c=Math.min(c,n.maxEditLength));var h=(u=n.timeout)!==null&&u!==void 0?u:1/0,p=Date.now()+h,D=[{oldPos:-1,lastComponent:void 0}],g=this.extractCommon(D[0],r,t,0);if(D[0].oldPos+1>=l&&g+1>=o)return s([{value:this.join(r),count:r.length}]);var C=-1/0,y=1/0;function d(){for(var A=Math.max(C,-f);A<=Math.min(y,f);A+=2){var m=void 0,O=D[A-1],R=D[A+1];O&&(D[A-1]=void 0);var v=!1;if(R){var T=R.oldPos-A;v=R&&0<=T&&T<o}var P=O&&O.oldPos+1<l;if(!v&&!P){D[A]=void 0;continue}if(!P||v&&O.oldPos+1<R.oldPos?m=a.addToPath(R,!0,void 0,0):m=a.addToPath(O,void 0,!0,1),g=a.extractCommon(m,r,t,A),m.oldPos+1>=l&&g+1>=o)return s(iD(a,m.lastComponent,r,t,a.useLongestToken));D[A]=m,m.oldPos+1>=l&&(y=Math.min(y,A-1)),g+1>=o&&(C=Math.max(C,A+1))}f++}if(i)(function A(){setTimeout(function(){if(f>c||Date.now()>p)return i();d()||A()},0)})();else for(;f<=c&&Date.now()<=p;){var F=d();if(F)return F}},addToPath:function(t,r,u,n){var i=t.lastComponent;return i&&i.added===r&&i.removed===u?{oldPos:t.oldPos+n,lastComponent:{count:i.count+1,added:r,removed:u,previousComponent:i.previousComponent}}:{oldPos:t.oldPos+n,lastComponent:{count:1,added:r,removed:u,previousComponent:i}}},extractCommon:function(t,r,u,n){for(var i=r.length,a=u.length,s=t.oldPos,o=s-n,l=0;o+1<i&&s+1<a&&this.equals(r[o+1],u[s+1]);)o++,s++,l++;return l&&(t.lastComponent={count:l,previousComponent:t.lastComponent}),t.oldPos=s,o},equals:function(t,r){return this.options.comparator?this.options.comparator(t,r):t===r||this.options.ignoreCase&&t.toLowerCase()===r.toLowerCase()},removeEmpty:function(t){for(var r=[],u=0;u<t.length;u++)t[u]&&r.push(t[u]);return r},castInput:function(t){return t},tokenize:function(t){return t.split("")},join:function(t){return t.join("")}};function iD(e,t,r,u,n){for(var i=[],a;t;)i.push(t),a=t.previousComponent,delete t.previousComponent,t=a;i.reverse();for(var s=0,o=i.length,l=0,f=0;s<o;s++){var c=i[s];if(c.removed){if(c.value=e.join(u.slice(f,f+c.count)),f+=c.count,s&&i[s-1].added){var p=i[s-1];i[s-1]=i[s],i[s]=p}}else{if(!c.added&&n){var h=r.slice(l,l+c.count);h=h.map(function(g,C){var y=u[f+C];return y.length>g.length?y:g}),c.value=e.join(h)}else c.value=e.join(r.slice(l,l+c.count));l+=c.count,c.added||(f+=c.count)}}var D=i[o-1];return o>1&&typeof D.value=="string"&&(D.added||D.removed)&&e.equals("",D.value)&&(i[o-2].value+=D.value,i.pop()),i}var ev=new gt,Ga=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,Wa=/\S/,ho=new gt;ho.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!Wa.test(e)&&!Wa.test(t)};ho.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),r=0;r<t.length-1;r++)!t[r+1]&&t[r+2]&&Ga.test(t[r])&&Ga.test(t[r+2])&&(t[r]+=t[r+2],t.splice(r+1,2),r--);return t};var vi=new gt;vi.tokenize=function(e){this.options.stripTrailingCr&&(e=e.replace(/\r\n/g,`
596
+ ${E}`),d?F.reset(E):E}function D(g,C,y,d={}){if(!l){l=!0;let A="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(A,"DeprecationWarning");else{let m=new Error(A);m.name="DeprecationWarning",console.warn(new Error(A))}}return y=Math.max(y,0),p(g,{start:{column:y,line:C}},d)}}}),rD=U({"node_modules/ignore/index.js"(e,t){function r(w){return Array.isArray(w)?w:[w]}var u="",n=" ",i="\\",a=/^\s+$/,s=/(?:[^\\]|^)\\$/,o=/^\\!/,l=/^\\#/,f=/\r?\n/g,c=/^\.*\/|^\.+$/,h="/",p="node-ignore";typeof Symbol<"u"&&(p=Symbol.for("node-ignore"));var D=p,g=(w,S,N)=>Object.defineProperty(w,S,{value:N}),C=/([0-z])-([0-z])/g,y=()=>!1,d=w=>w.replace(C,(S,N,H)=>N.charCodeAt(0)<=H.charCodeAt(0)?S:u),F=w=>{let{length:S}=w;return w.slice(0,S-S%2)},A=[[/^\uFEFF/,()=>u],[/\\?\s+$/,w=>w.indexOf("\\")===0?n:u],[/\\\s/g,()=>n],[/[\\$.|*+(){^]/g,w=>`\\${w}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(w,S,N)=>S+6<N.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(w,S,N)=>{let H=N.replace(/\\\*/g,"[^\\/]*");return S+H}],[/\\\\\\(?=[$.|*+(){^])/g,()=>i],[/\\\\/g,()=>i],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(w,S,N,H,Y)=>S===i?`\\[${N}${F(H)}${Y}`:Y==="]"&&H.length%2===0?`[${d(N)}${H}]`:"[]"],[/(?:[^*])$/,w=>/\/$/.test(w)?`${w}$`:`${w}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(w,S)=>`${S?`${S}[^/]+`:"[^/]*"}(?=$|\\/$)`]],m=Object.create(null),O=(w,S)=>{let N=m[w];return N||(N=A.reduce((H,Y)=>H.replace(Y[0],Y[1].bind(w)),w),m[w]=N),S?new RegExp(N,"i"):new RegExp(N)},R=w=>typeof w=="string",v=w=>w&&R(w)&&!a.test(w)&&!s.test(w)&&w.indexOf("#")!==0,T=w=>w.split(f),P=class{constructor(w,S,N,H){this.origin=w,this.pattern=S,this.negative=N,this.regex=H}},k=(w,S)=>{let N=w,H=!1;w.indexOf("!")===0&&(H=!0,w=w.substr(1)),w=w.replace(o,"!").replace(l,"#");let Y=O(w,S);return new P(N,w,H,Y)},I=(w,S)=>{throw new S(w)},E=(w,S,N)=>R(w)?w?E.isNotRelative(w)?N(`path should be a \`path.relative()\`d string, but got "${S}"`,RangeError):!0:N("path must not be empty",TypeError):N(`path must be a string, but got \`${S}\``,TypeError),_=w=>c.test(w);E.isNotRelative=_,E.convert=w=>w;var b=class{constructor({ignorecase:w=!0,ignoreCase:S=w,allowRelativePaths:N=!1}={}){g(this,D,!0),this._rules=[],this._ignoreCase=S,this._allowRelativePaths=N,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(w){if(w&&w[D]){this._rules=this._rules.concat(w._rules),this._added=!0;return}if(v(w)){let S=k(w,this._ignoreCase);this._added=!0,this._rules.push(S)}}add(w){return this._added=!1,r(R(w)?T(w):w).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(w){return this.add(w)}_testOne(w,S){let N=!1,H=!1;return this._rules.forEach(Y=>{let{negative:x}=Y;if(H===x&&N!==H||x&&!N&&!H&&!S)return;Y.regex.test(w)&&(N=!x,H=x)}),{ignored:N,unignored:H}}_test(w,S,N,H){let Y=w&&E.convert(w);return E(Y,w,this._allowRelativePaths?y:I),this._t(Y,S,N,H)}_t(w,S,N,H){if(w in S)return S[w];if(H||(H=w.split(h)),H.pop(),!H.length)return S[w]=this._testOne(w,N);let Y=this._t(H.join(h)+h,S,N,H);return S[w]=Y.ignored?Y:this._testOne(w,N)}ignores(w){return this._test(w,this._ignoreCache,!1).ignored}createFilter(){return w=>!this.ignores(w)}filter(w){return r(w).filter(this.createFilter())}test(w){return this._test(w,this._testCache,!0)}},B=w=>new b(w),j=w=>E(w&&E.convert(w),w,y);if(B.isPathValid=j,B.default=B,t.exports=B,typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let w=N=>/^\\\\\?\\/.test(N)||/["<>|\u0000-\u001F]+/u.test(N)?N:N.replace(/\\/g,"/");E.convert=w;let S=/^[a-z]:\//i;E.isNotRelative=N=>S.test(N)||_(N)}}}),uD=U({"node_modules/n-readlines/readlines.js"(e,t){"use strict";var r=oe("fs"),u=class{constructor(n,i){i=i||{},i.readChunk||(i.readChunk=1024),i.newLineCharacter?i.newLineCharacter=i.newLineCharacter.charCodeAt(0):i.newLineCharacter=10,typeof n=="number"?this.fd=n:this.fd=r.openSync(n,"r"),this.options=i,this.newLineCharacter=i.newLineCharacter,this.reset()}_searchInBuffer(n,i){let a=-1;for(let s=0;s<=n.length;s++)if(n[s]===i){a=s;break}return a}reset(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}close(){r.closeSync(this.fd),this.fd=null}_extractLines(n){let i,a=[],s=0,o=0;for(;;){let f=n[s++];if(f===this.newLineCharacter)i=n.slice(o,s),a.push(i),o=s;else if(f===void 0)break}let l=n.slice(o,s);return l.length&&a.push(l),a}_readChunk(n){let i=0,a,s=[];do{let l=Buffer.alloc(this.options.readChunk);a=r.readSync(this.fd,l,0,this.options.readChunk,this.fdPosition),i=i+a,this.fdPosition=this.fdPosition+a,s.push(l)}while(a&&this._searchInBuffer(s[s.length-1],this.options.newLineCharacter)===-1);let o=Buffer.concat(s);return a<this.options.readChunk&&(this.eofReached=!0,o=o.slice(0,i)),i&&(this.linesCache=this._extractLines(o),n&&(this.linesCache[0]=Buffer.concat([n,this.linesCache[0]]))),i}next(){if(!this.fd)return!1;let n=!1;if(this.eofReached&&this.linesCache.length===0)return n;let i;return this.linesCache.length||(i=this._readChunk()),this.linesCache.length&&(n=this.linesCache.shift(),n[n.length-1]!==this.newLineCharacter&&(i=this._readChunk(n),i&&(n=this.linesCache.shift()))),this.eofReached&&this.linesCache.length===0&&this.close(),n&&n[n.length-1]===this.newLineCharacter&&(n=n.slice(0,n.length-1)),n}};t.exports=u}}),nD={};wr(nD,{__debug:()=>fF,__internal:()=>cF,check:()=>aF,clearConfigCache:()=>sF,doc:()=>vn,format:()=>Ku,formatWithCursor:()=>Gl,getFileInfo:()=>oF,getSupportInfo:()=>lF,resolveConfig:()=>cl,resolveConfigFile:()=>Yg,util:()=>Wl,version:()=>L1});function gt(){}gt.prototype={diff:function(t,r){var u,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.callback;typeof n=="function"&&(i=n,n={}),this.options=n;var a=this;function s(A){return i?(setTimeout(function(){i(void 0,A)},0),!0):A}t=this.castInput(t),r=this.castInput(r),t=this.removeEmpty(this.tokenize(t)),r=this.removeEmpty(this.tokenize(r));var o=r.length,l=t.length,f=1,c=o+l;n.maxEditLength&&(c=Math.min(c,n.maxEditLength));var h=(u=n.timeout)!==null&&u!==void 0?u:1/0,p=Date.now()+h,D=[{oldPos:-1,lastComponent:void 0}],g=this.extractCommon(D[0],r,t,0);if(D[0].oldPos+1>=l&&g+1>=o)return s([{value:this.join(r),count:r.length}]);var C=-1/0,y=1/0;function d(){for(var A=Math.max(C,-f);A<=Math.min(y,f);A+=2){var m=void 0,O=D[A-1],R=D[A+1];O&&(D[A-1]=void 0);var v=!1;if(R){var T=R.oldPos-A;v=R&&0<=T&&T<o}var P=O&&O.oldPos+1<l;if(!v&&!P){D[A]=void 0;continue}if(!P||v&&O.oldPos+1<R.oldPos?m=a.addToPath(R,!0,void 0,0):m=a.addToPath(O,void 0,!0,1),g=a.extractCommon(m,r,t,A),m.oldPos+1>=l&&g+1>=o)return s(iD(a,m.lastComponent,r,t,a.useLongestToken));D[A]=m,m.oldPos+1>=l&&(y=Math.min(y,A-1)),g+1>=o&&(C=Math.max(C,A+1))}f++}if(i)(function A(){setTimeout(function(){if(f>c||Date.now()>p)return i();d()||A()},0)})();else for(;f<=c&&Date.now()<=p;){var F=d();if(F)return F}},addToPath:function(t,r,u,n){var i=t.lastComponent;return i&&i.added===r&&i.removed===u?{oldPos:t.oldPos+n,lastComponent:{count:i.count+1,added:r,removed:u,previousComponent:i.previousComponent}}:{oldPos:t.oldPos+n,lastComponent:{count:1,added:r,removed:u,previousComponent:i}}},extractCommon:function(t,r,u,n){for(var i=r.length,a=u.length,s=t.oldPos,o=s-n,l=0;o+1<i&&s+1<a&&this.equals(r[o+1],u[s+1]);)o++,s++,l++;return l&&(t.lastComponent={count:l,previousComponent:t.lastComponent}),t.oldPos=s,o},equals:function(t,r){return this.options.comparator?this.options.comparator(t,r):t===r||this.options.ignoreCase&&t.toLowerCase()===r.toLowerCase()},removeEmpty:function(t){for(var r=[],u=0;u<t.length;u++)t[u]&&r.push(t[u]);return r},castInput:function(t){return t},tokenize:function(t){return t.split("")},join:function(t){return t.join("")}};function iD(e,t,r,u,n){for(var i=[],a;t;)i.push(t),a=t.previousComponent,delete t.previousComponent,t=a;i.reverse();for(var s=0,o=i.length,l=0,f=0;s<o;s++){var c=i[s];if(c.removed){if(c.value=e.join(u.slice(f,f+c.count)),f+=c.count,s&&i[s-1].added){var p=i[s-1];i[s-1]=i[s],i[s]=p}}else{if(!c.added&&n){var h=r.slice(l,l+c.count);h=h.map(function(g,C){var y=u[f+C];return y.length>g.length?y:g}),c.value=e.join(h)}else c.value=e.join(r.slice(l,l+c.count));l+=c.count,c.added||(f+=c.count)}}var D=i[o-1];return o>1&&typeof D.value=="string"&&(D.added||D.removed)&&e.equals("",D.value)&&(i[o-2].value+=D.value,i.pop()),i}var ev=new gt,Wa=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,Ga=/\S/,ho=new gt;ho.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!Ga.test(e)&&!Ga.test(t)};ho.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),r=0;r<t.length-1;r++)!t[r+1]&&t[r+2]&&Wa.test(t[r])&&Wa.test(t[r+2])&&(t[r]+=t[r+2],t.splice(r+1,2),r--);return t};var vi=new gt;vi.tokenize=function(e){this.options.stripTrailingCr&&(e=e.replace(/\r\n/g,`
594
597
  `));var t=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(var u=0;u<r.length;u++){var n=r[u];u%2&&!this.options.newlineIsToken?t[t.length-1]+=n:(this.options.ignoreWhitespace&&(n=n.trim()),t.push(n))}return t};function aD(e,t,r){return vi.diff(e,t,r)}var sD=new gt;sD.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)};var oD=new gt;oD.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};function Fu(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Fu=function(t){return typeof t}:Fu=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fu(e)}function An(e){return lD(e)||cD(e)||fD(e)||DD()}function lD(e){if(Array.isArray(e))return qn(e)}function cD(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function fD(e,t){if(e){if(typeof e=="string")return qn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return qn(e,t)}}function qn(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,u=new Array(t);r<t;r++)u[r]=e[r];return u}function DD(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
595
598
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var hD=Object.prototype.toString,zr=new gt;zr.useLongestToken=!0;zr.tokenize=vi.tokenize;zr.castInput=function(e){var t=this.options,r=t.undefinedReplacement,u=t.stringifyReplacer,n=u===void 0?function(i,a){return typeof a>"u"?r:a}:u;return typeof e=="string"?e:JSON.stringify(Vn(e,null,null,n),n," ")};zr.equals=function(e,t){return gt.prototype.equals.call(zr,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))};function Vn(e,t,r,u,n){t=t||[],r=r||[],u&&(e=u(n,e));var i;for(i=0;i<t.length;i+=1)if(t[i]===e)return r[i];var a;if(hD.call(e)==="[object Array]"){for(t.push(e),a=new Array(e.length),r.push(a),i=0;i<e.length;i+=1)a[i]=Vn(e[i],t,r,u,n);return t.pop(),r.pop(),a}if(e&&e.toJSON&&(e=e.toJSON()),Fu(e)==="object"&&e!==null){t.push(e),a={},r.push(a);var s=[],o;for(o in e)e.hasOwnProperty(o)&&s.push(o);for(s.sort(),i=0;i<s.length;i+=1)o=s[i],a[o]=Vn(e[o],t,r,u,o);t.pop(),r.pop()}else a=e;return a}var ku=new gt;ku.tokenize=function(e){return e.slice()};ku.join=ku.removeEmpty=function(e){return e};function pD(e,t,r){return ku.diff(e,t,r)}function dD(e,t,r,u,n,i,a){a||(a={}),typeof a.context>"u"&&(a.context=4);var s=aD(r,u,a);if(!s)return;s.push({value:"",lines:[]});function o(y){return y.map(function(d){return" "+d})}for(var l=[],f=0,c=0,h=[],p=1,D=1,g=function(d){var F=s[d],A=F.lines||F.value.replace(/\n$/,"").split(`
596
599
  `);if(F.lines=A,F.added||F.removed){var m;if(!f){var O=s[d-1];f=p,c=D,O&&(h=a.context>0?o(O.lines.slice(-a.context)):[],f-=h.length,c-=h.length)}(m=h).push.apply(m,An(A.map(function(_){return(F.added?"+":"-")+_}))),F.added?D+=A.length:p+=A.length}else{if(f)if(A.length<=a.context*2&&d<s.length-2){var R;(R=h).push.apply(R,An(o(A)))}else{var v,T=Math.min(A.length,a.context);(v=h).push.apply(v,An(o(A.slice(0,T))));var P={oldStart:f,oldLines:p-f+T,newStart:c,newLines:D-c+T,lines:h};if(d>=s.length-2&&A.length<=a.context){var k=/\n$/.test(r),I=/\n$/.test(u),E=A.length==0&&h.length>P.oldLines;!k&&E&&r.length>0&&h.splice(P.oldLines,0,"\"),(!k&&!E||!I)&&h.push("\")}l.push(P),f=0,c=0,h=[]}p+=A.length,D+=A.length}},C=0;C<s.length;C++)g(C);return{oldFileName:e,newFileName:t,oldHeader:n,newHeader:i,hunks:l}}function po(e){if(Array.isArray(e))return e.map(po).join(`
597
600
  `);var t=[];e.oldFileName==e.newFileName&&t.push("Index: "+e.oldFileName),t.push("==================================================================="),t.push("--- "+e.oldFileName+(typeof e.oldHeader>"u"?"":" "+e.oldHeader)),t.push("+++ "+e.newFileName+(typeof e.newHeader>"u"?"":" "+e.newHeader));for(var r=0;r<e.hunks.length;r++){var u=e.hunks[r];u.oldLines===0&&(u.oldStart-=1),u.newLines===0&&(u.newStart-=1),t.push("@@ -"+u.oldStart+","+u.oldLines+" +"+u.newStart+","+u.newLines+" @@"),t.push.apply(t,u.lines)}return t.join(`
598
601
  `)+`
599
- `}function gD(e,t,r,u,n,i,a){return po(dD(e,t,r,u,n,i,a))}var mD=dt(gf(),1),ur={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>ur.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${ur.key(r)}: ${ur.value(e[r])}`).join(", ")} }`},pair:({key:e,value:t})=>ur.value({[e]:t})};Gu();var ED=(e,t,{descriptor:r})=>{let u=[`${He.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&u.push(`we now treat it as ${He.blue(typeof t=="string"?r.key(t):r.pair(t))}`),u.join("; ")+"."};Gu();var go=Symbol.for("vnopts.VALUE_NOT_EXIST"),vu=Symbol.for("vnopts.VALUE_UNCHANGED"),qa=" ".repeat(2),FD=(e,t,r)=>{let{text:u,list:n}=r.normalizeExpectedResult(r.schemas[e].expected(r)),i=[];return u&&i.push(Va(e,t,u,r.descriptor)),n&&i.push([Va(e,t,n.title,r.descriptor)].concat(n.values.map(a=>mo(a,r.loggerPrintWidth))).join(`
602
+ `}function gD(e,t,r,u,n,i,a){return po(dD(e,t,r,u,n,i,a))}var mD=dt(gf(),1),ur={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>ur.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${ur.key(r)}: ${ur.value(e[r])}`).join(", ")} }`},pair:({key:e,value:t})=>ur.value({[e]:t})};Wu();var ED=(e,t,{descriptor:r})=>{let u=[`${He.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&u.push(`we now treat it as ${He.blue(typeof t=="string"?r.key(t):r.pair(t))}`),u.join("; ")+"."};Wu();var go=Symbol.for("vnopts.VALUE_NOT_EXIST"),vu=Symbol.for("vnopts.VALUE_UNCHANGED"),qa=" ".repeat(2),FD=(e,t,r)=>{let{text:u,list:n}=r.normalizeExpectedResult(r.schemas[e].expected(r)),i=[];return u&&i.push(Va(e,t,u,r.descriptor)),n&&i.push([Va(e,t,n.title,r.descriptor)].concat(n.values.map(a=>mo(a,r.loggerPrintWidth))).join(`
600
603
  `)),Eo(i,r.loggerPrintWidth)};function Va(e,t,r,u){return[`Invalid ${He.red(u.key(e))} value.`,`Expected ${He.blue(r)},`,`but received ${t===go?He.gray("nothing"):He.red(u.value(t))}.`].join(" ")}function mo({text:e,list:t},r){let u=[];return e&&u.push(`- ${He.blue(e)}`),t&&u.push([`- ${He.blue(t.title)}:`].concat(t.values.map(n=>mo(n,r-qa.length).replace(/^|\n/g,`$&${qa}`))).join(`
601
604
  `)),Eo(u,r)}function Eo(e,t){if(e.length===1)return e[0];let[r,u]=e,[n,i]=e.map(a=>a.split(`
602
- `,1)[0].length);return n>t&&n>i?u:r}Gu();var yn=[],Ya=[];function vD(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let u=e.length,n=t.length;for(;u>0&&e.charCodeAt(~-u)===t.charCodeAt(~-n);)u--,n--;let i=0;for(;i<u&&e.charCodeAt(i)===t.charCodeAt(i);)i++;if(u-=i,n-=i,u===0)return n;let a,s,o,l,f=0,c=0;for(;f<u;)Ya[f]=e.charCodeAt(i+f),yn[f]=++f;for(;c<n;)for(a=t.charCodeAt(i+c),o=c++,s=c,f=0;f<u;f++)l=a===Ya[f]?o:o+1,o=yn[f],s=yn[f]=o>s?l>s?s+1:l:l>o?o+1:l;return s}var Fo=(e,t,{descriptor:r,logger:u,schemas:n})=>{let i=[`Ignored unknown option ${He.yellow(r.pair({key:e,value:t}))}.`],a=Object.keys(n).sort().find(s=>vD(e,s)<3);a&&i.push(`Did you mean ${He.blue(r.key(a))}?`),u.warn(i.join(" "))},CD=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function AD(e,t){let r=new e(t),u=Object.create(r);for(let n of CD)n in t&&(u[n]=yD(t[n],r,Mt.prototype[n].length));return u}var Mt=class{static create(e){return AD(this,e)}constructor(e){this.name=e.name}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 vu}};function yD(e,t,r){return typeof e=="function"?(...u)=>e(...u.slice(0,r-1),t,...u.slice(r-1)):()=>e}var _D=class extends Mt{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},bD=class extends Mt{expected(){return"anything"}validate(){return!0}},wD=class extends Mt{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let u of e){let n=t.normalizeValidateResult(this._valueSchema.validate(u,t),u);n!==!0&&r.push(n.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let u of e){let n=t.normalizeDeprecatedResult(this._valueSchema.deprecated(u,t),u);n!==!1&&r.push(...n.map(({value:i})=>({value:[i]})))}return r}forward(e,t){let r=[];for(let u of e){let n=t.normalizeForwardResult(this._valueSchema.forward(u,t),u);r.push(...n.map(Ka))}return r}redirect(e,t){let r=[],u=[];for(let n of e){let i=t.normalizeRedirectResult(this._valueSchema.redirect(n,t),n);"remain"in i&&r.push(i.remain),u.push(...i.redirect.map(Ka))}return r.length===0?{redirect:u}:{redirect:u,remain:r}}overlap(e,t){return e.concat(t)}};function Ka({from:e,to:t}){return{from:[e],to:t}}var BD=class extends Mt{expected(){return"true or false"}validate(e){return typeof e=="boolean"}};function SD(e,t){let r=Object.create(null);for(let u of e){let n=u[t];if(r[n])throw new Error(`Duplicate ${t} ${JSON.stringify(n)}`);r[n]=u}return r}function RD(e,t){let r=new Map;for(let u of e){let n=u[t];if(r.has(n))throw new Error(`Duplicate ${t} ${JSON.stringify(n)}`);r.set(n,u)}return r}function OD(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function TD(e,t){let r=[],u=[];for(let n of e)t(n)?r.push(n):u.push(n);return[r,u]}function kD(e){return e===Math.floor(e)}function ID(e,t){if(e===t)return 0;let r=typeof e,u=typeof t,n=["undefined","object","boolean","number","string"];return r!==u?n.indexOf(r)-n.indexOf(u):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function ND(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function za(e){return e===void 0?{}:e}function vo(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return PD((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(vo)}}:{text:t}}function Xa(e,t){return e===!0?!0:e===!1?{value:t}:e}function Qa(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function Ja(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function Yn(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>Ja(r,t)):[Ja(e,t)]}function Za(e,t){let r=Yn(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function PD(e,t){if(!e)throw new Error(t)}var Co=class extends Mt{constructor(e){super(e),this._choices=RD(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(i=>this._choices.get(i)).filter(({hidden:i})=>!i).map(i=>i.value).sort(ID).map(e.value),r=t.slice(0,-2),u=t.slice(-2);return{text:r.concat(u.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},LD=class extends Mt{expected(){return"a number"}validate(e,t){return typeof e=="number"}},xD=class extends LD{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&kD(e)}},es=class extends Mt{expected(){return"a string"}validate(e){return typeof e=="string"}},jD=ur,MD=Fo,$D=FD,UD=ED,HD=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:u=80,descriptor:n=jD,unknown:i=MD,invalid:a=$D,deprecated:s=UD,missing:o=()=>!1,required:l=()=>!1,preprocess:f=h=>h,postprocess:c=()=>vu}=t||{};this._utils={descriptor:n,logger:r||{warn:()=>{}},loggerPrintWidth:u,schemas:SD(e,"name"),normalizeDefaultResult:za,normalizeExpectedResult:vo,normalizeDeprecatedResult:Qa,normalizeForwardResult:Yn,normalizeRedirectResult:Za,normalizeValidateResult:Xa},this._unknownHandler=i,this._invalidHandler=ND(a),this._deprecatedHandler=s,this._identifyMissing=(h,p)=>!(h in p)||o(h,p),this._identifyRequired=l,this._preprocess=f,this._postprocess=c,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=OD()}normalize(e){let t={},u=[this._preprocess(e,this._utils)],n=()=>{for(;u.length!==0;){let i=u.shift(),a=this._applyNormalization(i,t);u.push(...a)}};n();for(let i of Object.keys(this._utils.schemas)){let a=this._utils.schemas[i];if(!(i in t)){let s=za(a.default(this._utils));"value"in s&&u.push({[i]:s.value})}}n();for(let i of Object.keys(this._utils.schemas)){if(!(i in t))continue;let a=this._utils.schemas[i],s=t[i],o=a.postprocess(s,this._utils);o!==vu&&(this._applyValidation(o,i,a),t[i]=o)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:u,unknownKeys:n}=this._partitionOptionKeys(e);for(let i of u){let a=this._utils.schemas[i],s=a.preprocess(e[i],this._utils);this._applyValidation(s,i,a);let o=({from:h,to:p})=>{r.push(typeof p=="string"?{[p]:h}:{[p.key]:p.value})},l=({value:h,redirectTo:p})=>{let D=Qa(a.deprecated(h,this._utils),s,!0);if(D!==!1)if(D===!0)this._hasDeprecationWarned(i)||this._utils.logger.warn(this._deprecatedHandler(i,p,this._utils));else for(let{value:g}of D){let C={key:i,value:g};if(!this._hasDeprecationWarned(C)){let y=typeof p=="string"?{key:p,value:g}:p;this._utils.logger.warn(this._deprecatedHandler(C,y,this._utils))}}};Yn(a.forward(s,this._utils),s).forEach(o);let c=Za(a.redirect(s,this._utils),s);if(c.redirect.forEach(o),"remain"in c){let h=c.remain;t[i]=i in t?a.overlap(t[i],h,this._utils):h,l({value:h})}for(let{from:h,to:p}of c.redirect)l({value:h,redirectTo:p})}for(let i of n){let a=e[i];this._applyUnknownHandler(i,a,t,(s,o)=>{r.push({[s]:o})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,go,this._utils)}_partitionOptionKeys(e){let[t,r]=TD(Object.keys(e).filter(u=>!this._identifyMissing(u,e)),u=>u in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let u=Xa(r.validate(e,this._utils),e);if(u!==!0)throw this._invalidHandler(t,u.value,this._utils)}_applyUnknownHandler(e,t,r,u){let n=this._unknownHandler(e,t,this._utils);if(n)for(let i of Object.keys(n)){if(this._identifyMissing(i,n))continue;let a=n[i];i in this._utils.schemas?u(i,a):r[i]=a}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==vu){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:u}=this._partitionOptionKeys(t.override);for(let n of r){let i=t.override[n];this._applyValidation(i,n,this._utils.schemas[n]),e[n]=i}for(let n of u){let i=t.override[n];this._applyUnknownHandler(n,i,e,(a,s)=>{let o=this._utils.schemas[a];this._applyValidation(s,a,o),e[a]=s})}}}}},Ao={};wr(Ao,{ArgExpansionBailout:()=>GD,ConfigError:()=>Ci,UndefinedParserError:()=>Kn});var Ci=class extends Error{name="ConfigError"},Kn=class extends Error{name="UndefinedParserError"},GD=class extends Error{name="ArgExpansionBailout"},ts=dt(Xs(),1),qD=e=>e instanceof URL,yo=e=>typeof e=="string"&&e.startsWith("file://"),_o=e=>qD(e)||yo(e),Sr=e=>_o(e)?WD(e):e;function VD(e,t){let r=[[],[]];for(let u of e)r[t(u)?0:1].push(u);return r}var bo=VD,YD=dt($f(),1);async function KD(e,t){let r=t?.allowSymlinks??!0,u;try{u=await(r?rs.stat:rs.lstat)(Sr(e))}catch{return!1}return u.isDirectory()}var zD=KD,us=e=>Rr.resolve(Sr(e));function*QD(e,t){e=us(e);let{root:r}=Rr.parse(e);if(t=t?us(t):r,!(e!==t&&!e.startsWith(t))){for(let u=e;u!==t;u=Rr.dirname(u))yield u;yield t}}var JD=QD,Iu,Nu,Cu,Gr,zn,So,ZD=class{constructor({names:e,filter:t,stopDirectory:r}){rr(this,zn),rr(this,Iu),rr(this,Nu),rr(this,Cu),rr(this,Gr,new Map),Hr(this,Iu,e),Hr(this,Nu,t),Hr(this,Cu,r)}async search(e,{shouldCache:t}){let r=nr(this,Gr);if(t&&r.has(e))return r.get(e);let u=[],n;for(let i of JD(e,nr(this,Cu)))if(u.push(i),n=await mr(this,zn,So).call(this,i,t),n)break;for(let i of u)r.set(i,n);return n}clearCache(){nr(this,Gr).clear()}};Iu=new WeakMap;Nu=new WeakMap;Cu=new WeakMap;Gr=new WeakMap;zn=new WeakSet;So=async function(e,t){let r=nr(this,Gr);if(t&&r.has(e))return r.get(e);for(let u of nr(this,Iu)){let n=XD.join(e,u);if(await nr(this,Nu).call(this,{name:u,path:n}))return n}};var Ro=ZD,eh=[".git",".hg"],Wr,th={names:eh,filter:({path:e})=>zD(e,{allowSymlinks:!1})};async function rh(e,t){Wr??(Wr=new Ro(th));let r=await Wr.search(e,t);return r?Bo.dirname(r):void 0}function uh(){Wr?.clearCache()}function nh(e){let t={},r=Object.keys(e);for(let u=0;u<r.length;u++){let n=r[u];e[n]!=="unset"&&(t[n]=e[n])}return t}function ih(e){if(!e||(e=nh(e),Object.keys(e).length===0))return null;let t={};return e.indent_style&&(t.useTabs=e.indent_style==="tab"),e.indent_size==="tab"&&(t.useTabs=!0),t.useTabs&&e.tab_width?t.tabWidth=e.tab_width:e.indent_style==="space"&&e.indent_size&&e.indent_size!=="tab"?t.tabWidth=e.indent_size:e.tab_width!==void 0&&(t.tabWidth=e.tab_width),e.max_line_length&&(e.max_line_length==="off"?t.printWidth=Number.POSITIVE_INFINITY:t.printWidth=e.max_line_length),e.quote_type==="single"?t.singleQuote=!0:e.quote_type==="double"&&(t.singleQuote=!1),["cr","crlf","lf"].includes(e.end_of_line)&&(t.endOfLine=e.end_of_line),t}var ah=ih,Au=new Map;function sh(){uh(),Au.clear()}async function oh(e,{shouldCache:t}){let r=wo.dirname(e),u=await rh(r,{shouldCache:t}),n=await YD.default.parse(e,{root:u});return ah(n)}function lh(e,{shouldCache:t}){return e=wo.resolve(e),(!t||!Au.has(e))&&Au.set(e,oh(e,{shouldCache:t})),Au.get(e)}var ch=dt(Hf(),1),{stdin:qr}=process;async function Oo(){let e="";if(qr.isTTY)return e;qr.setEncoding("utf8");for await(let t of qr)e+=t;return e}Oo.buffer=async()=>{let e=[],t=0;if(qr.isTTY)return Buffer.concat([]);for await(let r of qr)e.push(r),t+=r.length;return Buffer.concat(e,t)};function Dh(e,t){return fh.writeFile(e,t)}var hh={getPrettierConfigSearchStopDirectory:()=>{},getStdin:Oo,isCI:()=>ch.isCI,writeFormattedFile:Dh},yi=hh;async function ph(e,t){let r=t?.allowSymlinks??!0,u;try{u=await(r?ns.stat:ns.lstat)(Sr(e))}catch{return!1}return u.isFile()}var dh=ph,gh=dt(Xf(),1);function To(e){return typeof e>"u"||e===null}function Eh(e){return typeof e=="object"&&e!==null}function Fh(e){return Array.isArray(e)?e:To(e)?[]:[e]}function vh(e,t){var r,u,n,i;if(t)for(i=Object.keys(t),r=0,u=i.length;r<u;r+=1)n=i[r],e[n]=t[n];return e}function Ch(e,t){var r="",u;for(u=0;u<t;u+=1)r+=e;return r}function Ah(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var yh=To,_h=Eh,bh=Fh,wh=Ch,Bh=Ah,Sh=vh,Ie={isNothing:yh,isObject:_h,toArray:bh,repeat:wh,isNegativeZero:Bh,extend:Sh};function ko(e,t){var r="",u=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=`
605
+ `,1)[0].length);return n>t&&n>i?u:r}Wu();var yn=[],Ya=[];function vD(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let u=e.length,n=t.length;for(;u>0&&e.charCodeAt(~-u)===t.charCodeAt(~-n);)u--,n--;let i=0;for(;i<u&&e.charCodeAt(i)===t.charCodeAt(i);)i++;if(u-=i,n-=i,u===0)return n;let a,s,o,l,f=0,c=0;for(;f<u;)Ya[f]=e.charCodeAt(i+f),yn[f]=++f;for(;c<n;)for(a=t.charCodeAt(i+c),o=c++,s=c,f=0;f<u;f++)l=a===Ya[f]?o:o+1,o=yn[f],s=yn[f]=o>s?l>s?s+1:l:l>o?o+1:l;return s}var Fo=(e,t,{descriptor:r,logger:u,schemas:n})=>{let i=[`Ignored unknown option ${He.yellow(r.pair({key:e,value:t}))}.`],a=Object.keys(n).sort().find(s=>vD(e,s)<3);a&&i.push(`Did you mean ${He.blue(r.key(a))}?`),u.warn(i.join(" "))},CD=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function AD(e,t){let r=new e(t),u=Object.create(r);for(let n of CD)n in t&&(u[n]=yD(t[n],r,Mt.prototype[n].length));return u}var Mt=class{static create(e){return AD(this,e)}constructor(e){this.name=e.name}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 vu}};function yD(e,t,r){return typeof e=="function"?(...u)=>e(...u.slice(0,r-1),t,...u.slice(r-1)):()=>e}var _D=class extends Mt{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},bD=class extends Mt{expected(){return"anything"}validate(){return!0}},wD=class extends Mt{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let u of e){let n=t.normalizeValidateResult(this._valueSchema.validate(u,t),u);n!==!0&&r.push(n.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let u of e){let n=t.normalizeDeprecatedResult(this._valueSchema.deprecated(u,t),u);n!==!1&&r.push(...n.map(({value:i})=>({value:[i]})))}return r}forward(e,t){let r=[];for(let u of e){let n=t.normalizeForwardResult(this._valueSchema.forward(u,t),u);r.push(...n.map(Ka))}return r}redirect(e,t){let r=[],u=[];for(let n of e){let i=t.normalizeRedirectResult(this._valueSchema.redirect(n,t),n);"remain"in i&&r.push(i.remain),u.push(...i.redirect.map(Ka))}return r.length===0?{redirect:u}:{redirect:u,remain:r}}overlap(e,t){return e.concat(t)}};function Ka({from:e,to:t}){return{from:[e],to:t}}var BD=class extends Mt{expected(){return"true or false"}validate(e){return typeof e=="boolean"}};function SD(e,t){let r=Object.create(null);for(let u of e){let n=u[t];if(r[n])throw new Error(`Duplicate ${t} ${JSON.stringify(n)}`);r[n]=u}return r}function RD(e,t){let r=new Map;for(let u of e){let n=u[t];if(r.has(n))throw new Error(`Duplicate ${t} ${JSON.stringify(n)}`);r.set(n,u)}return r}function OD(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function TD(e,t){let r=[],u=[];for(let n of e)t(n)?r.push(n):u.push(n);return[r,u]}function kD(e){return e===Math.floor(e)}function ID(e,t){if(e===t)return 0;let r=typeof e,u=typeof t,n=["undefined","object","boolean","number","string"];return r!==u?n.indexOf(r)-n.indexOf(u):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function ND(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function za(e){return e===void 0?{}:e}function vo(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return PD((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(vo)}}:{text:t}}function Xa(e,t){return e===!0?!0:e===!1?{value:t}:e}function Qa(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function Ja(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function Yn(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>Ja(r,t)):[Ja(e,t)]}function Za(e,t){let r=Yn(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function PD(e,t){if(!e)throw new Error(t)}var Co=class extends Mt{constructor(e){super(e),this._choices=RD(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(i=>this._choices.get(i)).filter(({hidden:i})=>!i).map(i=>i.value).sort(ID).map(e.value),r=t.slice(0,-2),u=t.slice(-2);return{text:r.concat(u.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},LD=class extends Mt{expected(){return"a number"}validate(e,t){return typeof e=="number"}},xD=class extends LD{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&kD(e)}},es=class extends Mt{expected(){return"a string"}validate(e){return typeof e=="string"}},jD=ur,MD=Fo,$D=FD,UD=ED,HD=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:u=80,descriptor:n=jD,unknown:i=MD,invalid:a=$D,deprecated:s=UD,missing:o=()=>!1,required:l=()=>!1,preprocess:f=h=>h,postprocess:c=()=>vu}=t||{};this._utils={descriptor:n,logger:r||{warn:()=>{}},loggerPrintWidth:u,schemas:SD(e,"name"),normalizeDefaultResult:za,normalizeExpectedResult:vo,normalizeDeprecatedResult:Qa,normalizeForwardResult:Yn,normalizeRedirectResult:Za,normalizeValidateResult:Xa},this._unknownHandler=i,this._invalidHandler=ND(a),this._deprecatedHandler=s,this._identifyMissing=(h,p)=>!(h in p)||o(h,p),this._identifyRequired=l,this._preprocess=f,this._postprocess=c,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=OD()}normalize(e){let t={},u=[this._preprocess(e,this._utils)],n=()=>{for(;u.length!==0;){let i=u.shift(),a=this._applyNormalization(i,t);u.push(...a)}};n();for(let i of Object.keys(this._utils.schemas)){let a=this._utils.schemas[i];if(!(i in t)){let s=za(a.default(this._utils));"value"in s&&u.push({[i]:s.value})}}n();for(let i of Object.keys(this._utils.schemas)){if(!(i in t))continue;let a=this._utils.schemas[i],s=t[i],o=a.postprocess(s,this._utils);o!==vu&&(this._applyValidation(o,i,a),t[i]=o)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:u,unknownKeys:n}=this._partitionOptionKeys(e);for(let i of u){let a=this._utils.schemas[i],s=a.preprocess(e[i],this._utils);this._applyValidation(s,i,a);let o=({from:h,to:p})=>{r.push(typeof p=="string"?{[p]:h}:{[p.key]:p.value})},l=({value:h,redirectTo:p})=>{let D=Qa(a.deprecated(h,this._utils),s,!0);if(D!==!1)if(D===!0)this._hasDeprecationWarned(i)||this._utils.logger.warn(this._deprecatedHandler(i,p,this._utils));else for(let{value:g}of D){let C={key:i,value:g};if(!this._hasDeprecationWarned(C)){let y=typeof p=="string"?{key:p,value:g}:p;this._utils.logger.warn(this._deprecatedHandler(C,y,this._utils))}}};Yn(a.forward(s,this._utils),s).forEach(o);let c=Za(a.redirect(s,this._utils),s);if(c.redirect.forEach(o),"remain"in c){let h=c.remain;t[i]=i in t?a.overlap(t[i],h,this._utils):h,l({value:h})}for(let{from:h,to:p}of c.redirect)l({value:h,redirectTo:p})}for(let i of n){let a=e[i];this._applyUnknownHandler(i,a,t,(s,o)=>{r.push({[s]:o})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,go,this._utils)}_partitionOptionKeys(e){let[t,r]=TD(Object.keys(e).filter(u=>!this._identifyMissing(u,e)),u=>u in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let u=Xa(r.validate(e,this._utils),e);if(u!==!0)throw this._invalidHandler(t,u.value,this._utils)}_applyUnknownHandler(e,t,r,u){let n=this._unknownHandler(e,t,this._utils);if(n)for(let i of Object.keys(n)){if(this._identifyMissing(i,n))continue;let a=n[i];i in this._utils.schemas?u(i,a):r[i]=a}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==vu){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:u}=this._partitionOptionKeys(t.override);for(let n of r){let i=t.override[n];this._applyValidation(i,n,this._utils.schemas[n]),e[n]=i}for(let n of u){let i=t.override[n];this._applyUnknownHandler(n,i,e,(a,s)=>{let o=this._utils.schemas[a];this._applyValidation(s,a,o),e[a]=s})}}}}},Ao={};wr(Ao,{ArgExpansionBailout:()=>WD,ConfigError:()=>Ci,UndefinedParserError:()=>Kn});var Ci=class extends Error{name="ConfigError"},Kn=class extends Error{name="UndefinedParserError"},WD=class extends Error{name="ArgExpansionBailout"},ts=dt(Xs(),1),qD=e=>e instanceof URL,yo=e=>typeof e=="string"&&e.startsWith("file://"),_o=e=>qD(e)||yo(e),Sr=e=>_o(e)?GD(e):e;function VD(e,t){let r=[[],[]];for(let u of e)r[t(u)?0:1].push(u);return r}var bo=VD,YD=dt($f(),1);async function KD(e,t){let r=t?.allowSymlinks??!0,u;try{u=await(r?rs.stat:rs.lstat)(Sr(e))}catch{return!1}return u.isDirectory()}var zD=KD,us=e=>Rr.resolve(Sr(e));function*QD(e,t){e=us(e);let{root:r}=Rr.parse(e);if(t=t?us(t):r,!(e!==t&&!e.startsWith(t))){for(let u=e;u!==t;u=Rr.dirname(u))yield u;yield t}}var JD=QD,Iu,Nu,Cu,Wr,zn,So,ZD=class{constructor({names:e,filter:t,stopDirectory:r}){rr(this,zn),rr(this,Iu),rr(this,Nu),rr(this,Cu),rr(this,Wr,new Map),Hr(this,Iu,e),Hr(this,Nu,t),Hr(this,Cu,r)}async search(e,{shouldCache:t}){let r=nr(this,Wr);if(t&&r.has(e))return r.get(e);let u=[],n;for(let i of JD(e,nr(this,Cu)))if(u.push(i),n=await mr(this,zn,So).call(this,i,t),n)break;for(let i of u)r.set(i,n);return n}clearCache(){nr(this,Wr).clear()}};Iu=new WeakMap;Nu=new WeakMap;Cu=new WeakMap;Wr=new WeakMap;zn=new WeakSet;So=async function(e,t){let r=nr(this,Wr);if(t&&r.has(e))return r.get(e);for(let u of nr(this,Iu)){let n=XD.join(e,u);if(await nr(this,Nu).call(this,{name:u,path:n}))return n}};var Ro=ZD,eh=[".git",".hg"],Gr,th={names:eh,filter:({path:e})=>zD(e,{allowSymlinks:!1})};async function rh(e,t){Gr??(Gr=new Ro(th));let r=await Gr.search(e,t);return r?Bo.dirname(r):void 0}function uh(){Gr?.clearCache()}function nh(e){let t={},r=Object.keys(e);for(let u=0;u<r.length;u++){let n=r[u];e[n]!=="unset"&&(t[n]=e[n])}return t}function ih(e){if(!e||(e=nh(e),Object.keys(e).length===0))return null;let t={};return e.indent_style&&(t.useTabs=e.indent_style==="tab"),e.indent_size==="tab"&&(t.useTabs=!0),t.useTabs&&e.tab_width?t.tabWidth=e.tab_width:e.indent_style==="space"&&e.indent_size&&e.indent_size!=="tab"?t.tabWidth=e.indent_size:e.tab_width!==void 0&&(t.tabWidth=e.tab_width),e.max_line_length&&(e.max_line_length==="off"?t.printWidth=Number.POSITIVE_INFINITY:t.printWidth=e.max_line_length),e.quote_type==="single"?t.singleQuote=!0:e.quote_type==="double"&&(t.singleQuote=!1),["cr","crlf","lf"].includes(e.end_of_line)&&(t.endOfLine=e.end_of_line),t}var ah=ih,Au=new Map;function sh(){uh(),Au.clear()}async function oh(e,{shouldCache:t}){let r=wo.dirname(e),u=await rh(r,{shouldCache:t}),n=await YD.default.parse(e,{root:u});return ah(n)}function lh(e,{shouldCache:t}){return e=wo.resolve(e),(!t||!Au.has(e))&&Au.set(e,oh(e,{shouldCache:t})),Au.get(e)}var ch=dt(Hf(),1),{stdin:qr}=process;async function Oo(){let e="";if(qr.isTTY)return e;qr.setEncoding("utf8");for await(let t of qr)e+=t;return e}Oo.buffer=async()=>{let e=[],t=0;if(qr.isTTY)return Buffer.concat([]);for await(let r of qr)e.push(r),t+=r.length;return Buffer.concat(e,t)};function Dh(e,t){return fh.writeFile(e,t)}var hh={getPrettierConfigSearchStopDirectory:()=>{},getStdin:Oo,isCI:()=>ch.isCI,writeFormattedFile:Dh},yi=hh;async function ph(e,t){let r=t?.allowSymlinks??!0,u;try{u=await(r?ns.stat:ns.lstat)(Sr(e))}catch{return!1}return u.isFile()}var dh=ph,gh=dt(Xf(),1);function To(e){return typeof e>"u"||e===null}function Eh(e){return typeof e=="object"&&e!==null}function Fh(e){return Array.isArray(e)?e:To(e)?[]:[e]}function vh(e,t){var r,u,n,i;if(t)for(i=Object.keys(t),r=0,u=i.length;r<u;r+=1)n=i[r],e[n]=t[n];return e}function Ch(e,t){var r="",u;for(u=0;u<t;u+=1)r+=e;return r}function Ah(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var yh=To,_h=Eh,bh=Fh,wh=Ch,Bh=Ah,Sh=vh,Ie={isNothing:yh,isObject:_h,toArray:bh,repeat:wh,isNegativeZero:Bh,extend:Sh};function ko(e,t){var r="",u=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=`
603
606
 
604
607
  `+e.mark.snippet),u+" "+r):u}function Xr(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=ko(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Xr.prototype=Object.create(Error.prototype);Xr.prototype.constructor=Xr;Xr.prototype.toString=function(t){return this.name+": "+ko(this,t)};var ft=Xr;function _n(e,t,r,u,n){var i="",a="",s=Math.floor(n/2)-1;return u-t>s&&(i=" ... ",t=u-s+i.length),r-u>s&&(a=" ...",r=u+s-a.length),{str:i+e.slice(t,r).replace(/\t/g,"\u2192")+a,pos:u-t+i.length}}function bn(e,t){return Ie.repeat(" ",t-e.length)+e}function Rh(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,u=[0],n=[],i,a=-1;i=r.exec(e.buffer);)n.push(i.index),u.push(i.index+i[0].length),e.position<=i.index&&a<0&&(a=u.length-2);a<0&&(a=u.length-1);var s="",o,l,f=Math.min(e.line+t.linesAfter,n.length).toString().length,c=t.maxLength-(t.indent+f+3);for(o=1;o<=t.linesBefore&&!(a-o<0);o++)l=_n(e.buffer,u[a-o],n[a-o],e.position-(u[a]-u[a-o]),c),s=Ie.repeat(" ",t.indent)+bn((e.line-o+1).toString(),f)+" | "+l.str+`
605
608
  `+s;for(l=_n(e.buffer,u[a],n[a],e.position,c),s+=Ie.repeat(" ",t.indent)+bn((e.line+1).toString(),f)+" | "+l.str+`
606
609
  `,s+=Ie.repeat("-",t.indent+f+3+l.pos)+`^
607
610
  `,o=1;o<=t.linesAfter&&!(a+o>=n.length);o++)l=_n(e.buffer,u[a+o],n[a+o],e.position-(u[a]-u[a+o]),c),s+=Ie.repeat(" ",t.indent)+bn((e.line+o+1).toString(),f)+" | "+l.str+`
608
- `;return s.replace(/\n$/,"")}var Oh=Rh,Th=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],kh=["scalar","sequence","mapping"];function Ih(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(u){t[String(u)]=r})}),t}function Nh(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(Th.indexOf(r)===-1)throw new ft('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=Ih(t.styleAliases||null),kh.indexOf(this.kind)===-1)throw new ft('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var Te=Nh;function is(e,t){var r=[];return e[t].forEach(function(u){var n=r.length;r.forEach(function(i,a){i.tag===u.tag&&i.kind===u.kind&&i.multi===u.multi&&(n=a)}),r[n]=u}),r}function Ph(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function u(n){n.multi?(e.multi[n.kind].push(n),e.multi.fallback.push(n)):e[n.kind][n.tag]=e.fallback[n.tag]=n}for(t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(u);return e}function Xn(e){return this.extend(e)}Xn.prototype.extend=function(t){var r=[],u=[];if(t instanceof Te)u.push(t);else if(Array.isArray(t))u=u.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(r=r.concat(t.implicit)),t.explicit&&(u=u.concat(t.explicit));else throw new ft("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(i){if(!(i instanceof Te))throw new ft("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(i.loadKind&&i.loadKind!=="scalar")throw new ft("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(i.multi)throw new ft("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),u.forEach(function(i){if(!(i instanceof Te))throw new ft("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var n=Object.create(Xn.prototype);return n.implicit=(this.implicit||[]).concat(r),n.explicit=(this.explicit||[]).concat(u),n.compiledImplicit=is(n,"implicit"),n.compiledExplicit=is(n,"explicit"),n.compiledTypeMap=Ph(n.compiledImplicit,n.compiledExplicit),n};var Lh=Xn,xh=new Te("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),jh=new Te("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),Mh=new Te("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),$h=new Lh({explicit:[xh,jh,Mh]});function Uh(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function Hh(){return null}function Gh(e){return e===null}var Wh=new Te("tag:yaml.org,2002:null",{kind:"scalar",resolve:Uh,construct:Hh,predicate:Gh,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function qh(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function Vh(e){return e==="true"||e==="True"||e==="TRUE"}function Yh(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var Kh=new Te("tag:yaml.org,2002:bool",{kind:"scalar",resolve:qh,construct:Vh,predicate:Yh,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function zh(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function Xh(e){return 48<=e&&e<=55}function Qh(e){return 48<=e&&e<=57}function Jh(e){if(e===null)return!1;var t=e.length,r=0,u=!1,n;if(!t)return!1;if(n=e[r],(n==="-"||n==="+")&&(n=e[++r]),n==="0"){if(r+1===t)return!0;if(n=e[++r],n==="b"){for(r++;r<t;r++)if(n=e[r],n!=="_"){if(n!=="0"&&n!=="1")return!1;u=!0}return u&&n!=="_"}if(n==="x"){for(r++;r<t;r++)if(n=e[r],n!=="_"){if(!zh(e.charCodeAt(r)))return!1;u=!0}return u&&n!=="_"}if(n==="o"){for(r++;r<t;r++)if(n=e[r],n!=="_"){if(!Xh(e.charCodeAt(r)))return!1;u=!0}return u&&n!=="_"}}if(n==="_")return!1;for(;r<t;r++)if(n=e[r],n!=="_"){if(!Qh(e.charCodeAt(r)))return!1;u=!0}return!(!u||n==="_")}function Zh(e){var t=e,r=1,u;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),u=t[0],(u==="-"||u==="+")&&(u==="-"&&(r=-1),t=t.slice(1),u=t[0]),t==="0")return 0;if(u==="0"){if(t[1]==="b")return r*parseInt(t.slice(2),2);if(t[1]==="x")return r*parseInt(t.slice(2),16);if(t[1]==="o")return r*parseInt(t.slice(2),8)}return r*parseInt(t,10)}function ep(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!Ie.isNegativeZero(e)}var tp=new Te("tag:yaml.org,2002:int",{kind:"scalar",resolve:Jh,construct:Zh,predicate:ep,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),rp=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function up(e){return!(e===null||!rp.test(e)||e[e.length-1]==="_")}function np(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}var ip=/^[-+]?[0-9]+e/;function ap(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Ie.isNegativeZero(e))return"-0.0";return r=e.toString(10),ip.test(r)?r.replace("e",".e"):r}function sp(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||Ie.isNegativeZero(e))}var op=new Te("tag:yaml.org,2002:float",{kind:"scalar",resolve:up,construct:np,predicate:sp,represent:ap,defaultStyle:"lowercase"}),lp=$h.extend({implicit:[Wh,Kh,tp,op]}),cp=lp,Io=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),No=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function fp(e){return e===null?!1:Io.exec(e)!==null||No.exec(e)!==null}function Dp(e){var t,r,u,n,i,a,s,o=0,l=null,f,c,h;if(t=Io.exec(e),t===null&&(t=No.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],u=+t[2]-1,n=+t[3],!t[4])return new Date(Date.UTC(r,u,n));if(i=+t[4],a=+t[5],s=+t[6],t[7]){for(o=t[7].slice(0,3);o.length<3;)o+="0";o=+o}return t[9]&&(f=+t[10],c=+(t[11]||0),l=(f*60+c)*6e4,t[9]==="-"&&(l=-l)),h=new Date(Date.UTC(r,u,n,i,a,s,o)),l&&h.setTime(h.getTime()-l),h}function hp(e){return e.toISOString()}var pp=new Te("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:fp,construct:Dp,instanceOf:Date,represent:hp});function dp(e){return e==="<<"||e===null}var gp=new Te("tag:yaml.org,2002:merge",{kind:"scalar",resolve:dp}),_i=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
611
+ `;return s.replace(/\n$/,"")}var Oh=Rh,Th=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],kh=["scalar","sequence","mapping"];function Ih(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(u){t[String(u)]=r})}),t}function Nh(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(Th.indexOf(r)===-1)throw new ft('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=Ih(t.styleAliases||null),kh.indexOf(this.kind)===-1)throw new ft('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var Te=Nh;function is(e,t){var r=[];return e[t].forEach(function(u){var n=r.length;r.forEach(function(i,a){i.tag===u.tag&&i.kind===u.kind&&i.multi===u.multi&&(n=a)}),r[n]=u}),r}function Ph(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function u(n){n.multi?(e.multi[n.kind].push(n),e.multi.fallback.push(n)):e[n.kind][n.tag]=e.fallback[n.tag]=n}for(t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(u);return e}function Xn(e){return this.extend(e)}Xn.prototype.extend=function(t){var r=[],u=[];if(t instanceof Te)u.push(t);else if(Array.isArray(t))u=u.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(r=r.concat(t.implicit)),t.explicit&&(u=u.concat(t.explicit));else throw new ft("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(i){if(!(i instanceof Te))throw new ft("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(i.loadKind&&i.loadKind!=="scalar")throw new ft("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(i.multi)throw new ft("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),u.forEach(function(i){if(!(i instanceof Te))throw new ft("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var n=Object.create(Xn.prototype);return n.implicit=(this.implicit||[]).concat(r),n.explicit=(this.explicit||[]).concat(u),n.compiledImplicit=is(n,"implicit"),n.compiledExplicit=is(n,"explicit"),n.compiledTypeMap=Ph(n.compiledImplicit,n.compiledExplicit),n};var Lh=Xn,xh=new Te("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),jh=new Te("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),Mh=new Te("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),$h=new Lh({explicit:[xh,jh,Mh]});function Uh(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function Hh(){return null}function Wh(e){return e===null}var Gh=new Te("tag:yaml.org,2002:null",{kind:"scalar",resolve:Uh,construct:Hh,predicate:Wh,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function qh(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function Vh(e){return e==="true"||e==="True"||e==="TRUE"}function Yh(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var Kh=new Te("tag:yaml.org,2002:bool",{kind:"scalar",resolve:qh,construct:Vh,predicate:Yh,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function zh(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function Xh(e){return 48<=e&&e<=55}function Qh(e){return 48<=e&&e<=57}function Jh(e){if(e===null)return!1;var t=e.length,r=0,u=!1,n;if(!t)return!1;if(n=e[r],(n==="-"||n==="+")&&(n=e[++r]),n==="0"){if(r+1===t)return!0;if(n=e[++r],n==="b"){for(r++;r<t;r++)if(n=e[r],n!=="_"){if(n!=="0"&&n!=="1")return!1;u=!0}return u&&n!=="_"}if(n==="x"){for(r++;r<t;r++)if(n=e[r],n!=="_"){if(!zh(e.charCodeAt(r)))return!1;u=!0}return u&&n!=="_"}if(n==="o"){for(r++;r<t;r++)if(n=e[r],n!=="_"){if(!Xh(e.charCodeAt(r)))return!1;u=!0}return u&&n!=="_"}}if(n==="_")return!1;for(;r<t;r++)if(n=e[r],n!=="_"){if(!Qh(e.charCodeAt(r)))return!1;u=!0}return!(!u||n==="_")}function Zh(e){var t=e,r=1,u;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),u=t[0],(u==="-"||u==="+")&&(u==="-"&&(r=-1),t=t.slice(1),u=t[0]),t==="0")return 0;if(u==="0"){if(t[1]==="b")return r*parseInt(t.slice(2),2);if(t[1]==="x")return r*parseInt(t.slice(2),16);if(t[1]==="o")return r*parseInt(t.slice(2),8)}return r*parseInt(t,10)}function ep(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!Ie.isNegativeZero(e)}var tp=new Te("tag:yaml.org,2002:int",{kind:"scalar",resolve:Jh,construct:Zh,predicate:ep,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),rp=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function up(e){return!(e===null||!rp.test(e)||e[e.length-1]==="_")}function np(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}var ip=/^[-+]?[0-9]+e/;function ap(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Ie.isNegativeZero(e))return"-0.0";return r=e.toString(10),ip.test(r)?r.replace("e",".e"):r}function sp(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||Ie.isNegativeZero(e))}var op=new Te("tag:yaml.org,2002:float",{kind:"scalar",resolve:up,construct:np,predicate:sp,represent:ap,defaultStyle:"lowercase"}),lp=$h.extend({implicit:[Gh,Kh,tp,op]}),cp=lp,Io=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),No=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function fp(e){return e===null?!1:Io.exec(e)!==null||No.exec(e)!==null}function Dp(e){var t,r,u,n,i,a,s,o=0,l=null,f,c,h;if(t=Io.exec(e),t===null&&(t=No.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],u=+t[2]-1,n=+t[3],!t[4])return new Date(Date.UTC(r,u,n));if(i=+t[4],a=+t[5],s=+t[6],t[7]){for(o=t[7].slice(0,3);o.length<3;)o+="0";o=+o}return t[9]&&(f=+t[10],c=+(t[11]||0),l=(f*60+c)*6e4,t[9]==="-"&&(l=-l)),h=new Date(Date.UTC(r,u,n,i,a,s,o)),l&&h.setTime(h.getTime()-l),h}function hp(e){return e.toISOString()}var pp=new Te("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:fp,construct:Dp,instanceOf:Date,represent:hp});function dp(e){return e==="<<"||e===null}var gp=new Te("tag:yaml.org,2002:merge",{kind:"scalar",resolve:dp}),_i=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
609
612
  \r`;function mp(e){if(e===null)return!1;var t,r,u=0,n=e.length,i=_i;for(r=0;r<n;r++)if(t=i.indexOf(e.charAt(r)),!(t>64)){if(t<0)return!1;u+=6}return u%8===0}function Ep(e){var t,r,u=e.replace(/[\r\n=]/g,""),n=u.length,i=_i,a=0,s=[];for(t=0;t<n;t++)t%4===0&&t&&(s.push(a>>16&255),s.push(a>>8&255),s.push(a&255)),a=a<<6|i.indexOf(u.charAt(t));return r=n%4*6,r===0?(s.push(a>>16&255),s.push(a>>8&255),s.push(a&255)):r===18?(s.push(a>>10&255),s.push(a>>2&255)):r===12&&s.push(a>>4&255),new Uint8Array(s)}function Fp(e){var t="",r=0,u,n,i=e.length,a=_i;for(u=0;u<i;u++)u%3===0&&u&&(t+=a[r>>18&63],t+=a[r>>12&63],t+=a[r>>6&63],t+=a[r&63]),r=(r<<8)+e[u];return n=i%3,n===0?(t+=a[r>>18&63],t+=a[r>>12&63],t+=a[r>>6&63],t+=a[r&63]):n===2?(t+=a[r>>10&63],t+=a[r>>4&63],t+=a[r<<2&63],t+=a[64]):n===1&&(t+=a[r>>2&63],t+=a[r<<4&63],t+=a[64],t+=a[64]),t}function vp(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var Cp=new Te("tag:yaml.org,2002:binary",{kind:"scalar",resolve:mp,construct:Ep,predicate:vp,represent:Fp}),Ap=Object.prototype.hasOwnProperty,yp=Object.prototype.toString;function _p(e){if(e===null)return!0;var t=[],r,u,n,i,a,s=e;for(r=0,u=s.length;r<u;r+=1){if(n=s[r],a=!1,yp.call(n)!=="[object Object]")return!1;for(i in n)if(Ap.call(n,i))if(!a)a=!0;else return!1;if(!a)return!1;if(t.indexOf(i)===-1)t.push(i);else return!1}return!0}function bp(e){return e!==null?e:[]}var wp=new Te("tag:yaml.org,2002:omap",{kind:"sequence",resolve:_p,construct:bp}),Bp=Object.prototype.toString;function Sp(e){if(e===null)return!0;var t,r,u,n,i,a=e;for(i=new Array(a.length),t=0,r=a.length;t<r;t+=1){if(u=a[t],Bp.call(u)!=="[object Object]"||(n=Object.keys(u),n.length!==1))return!1;i[t]=[n[0],u[n[0]]]}return!0}function Rp(e){if(e===null)return[];var t,r,u,n,i,a=e;for(i=new Array(a.length),t=0,r=a.length;t<r;t+=1)u=a[t],n=Object.keys(u),i[t]=[n[0],u[n[0]]];return i}var Op=new Te("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:Sp,construct:Rp}),Tp=Object.prototype.hasOwnProperty;function kp(e){if(e===null)return!0;var t,r=e;for(t in r)if(Tp.call(r,t)&&r[t]!==null)return!1;return!0}function Ip(e){return e!==null?e:{}}var Np=new Te("tag:yaml.org,2002:set",{kind:"mapping",resolve:kp,construct:Ip}),Pp=cp.extend({implicit:[pp,gp],explicit:[Cp,wp,Op,Np]}),Pt=Object.prototype.hasOwnProperty,Pu=1,Po=2,Lo=3,Lu=4,wn=1,Lp=2,as=3,xp=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,jp=/[\x85\u2028\u2029]/,Mp=/[,\[\]\{\}]/,xo=/^(?:!|!!|![a-z\-]+!)$/i,jo=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function ss(e){return Object.prototype.toString.call(e)}function at(e){return e===10||e===13}function ir(e){return e===9||e===32}function je(e){return e===9||e===32||e===10||e===13}function Er(e){return e===44||e===91||e===93||e===123||e===125}function $p(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function Up(e){return e===120?2:e===117?4:e===85?8:0}function Hp(e){return 48<=e&&e<=57?e-48:-1}function os(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
610
- `:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"\x85":e===95?"\xA0":e===76?"\u2028":e===80?"\u2029":""}function Gp(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var Mo=new Array(256),$o=new Array(256);for(Xt=0;Xt<256;Xt++)Mo[Xt]=os(Xt)?1:0,$o[Xt]=os(Xt);var Xt;function Wp(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||Pp,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Uo(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=Oh(r),new ft(t,r)}function z(e,t){throw Uo(e,t)}function xu(e,t){e.onWarning&&e.onWarning.call(null,Uo(e,t))}var ls={YAML:function(t,r,u){var n,i,a;t.version!==null&&z(t,"duplication of %YAML directive"),u.length!==1&&z(t,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(u[0]),n===null&&z(t,"ill-formed argument of the YAML directive"),i=parseInt(n[1],10),a=parseInt(n[2],10),i!==1&&z(t,"unacceptable YAML version of the document"),t.version=u[0],t.checkLineBreaks=a<2,a!==1&&a!==2&&xu(t,"unsupported YAML version of the document")},TAG:function(t,r,u){var n,i;u.length!==2&&z(t,"TAG directive accepts exactly two arguments"),n=u[0],i=u[1],xo.test(n)||z(t,"ill-formed tag handle (first argument) of the TAG directive"),Pt.call(t.tagMap,n)&&z(t,'there is a previously declared suffix for "'+n+'" tag handle'),jo.test(i)||z(t,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch{z(t,"tag prefix is malformed: "+i)}t.tagMap[n]=i}};function kt(e,t,r,u){var n,i,a,s;if(t<r){if(s=e.input.slice(t,r),u)for(n=0,i=s.length;n<i;n+=1)a=s.charCodeAt(n),a===9||32<=a&&a<=1114111||z(e,"expected valid JSON character");else xp.test(s)&&z(e,"the stream contains non-printable characters");e.result+=s}}function cs(e,t,r,u){var n,i,a,s;for(Ie.isObject(r)||z(e,"cannot merge mappings; the provided source object is unacceptable"),n=Object.keys(r),a=0,s=n.length;a<s;a+=1)i=n[a],Pt.call(t,i)||(t[i]=r[i],u[i]=!0)}function Fr(e,t,r,u,n,i,a,s,o){var l,f;if(Array.isArray(n))for(n=Array.prototype.slice.call(n),l=0,f=n.length;l<f;l+=1)Array.isArray(n[l])&&z(e,"nested arrays are not supported inside keys"),typeof n=="object"&&ss(n[l])==="[object Object]"&&(n[l]="[object Object]");if(typeof n=="object"&&ss(n)==="[object Object]"&&(n="[object Object]"),n=String(n),t===null&&(t={}),u==="tag:yaml.org,2002:merge")if(Array.isArray(i))for(l=0,f=i.length;l<f;l+=1)cs(e,t,i[l],r);else cs(e,t,i,r);else!e.json&&!Pt.call(r,n)&&Pt.call(t,n)&&(e.line=a||e.line,e.lineStart=s||e.lineStart,e.position=o||e.position,z(e,"duplicated mapping key")),n==="__proto__"?Object.defineProperty(t,n,{configurable:!0,enumerable:!0,writable:!0,value:i}):t[n]=i,delete r[n];return t}function bi(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):z(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function _e(e,t,r){for(var u=0,n=e.input.charCodeAt(e.position);n!==0;){for(;ir(n);)n===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),n=e.input.charCodeAt(++e.position);if(t&&n===35)do n=e.input.charCodeAt(++e.position);while(n!==10&&n!==13&&n!==0);if(at(n))for(bi(e),n=e.input.charCodeAt(e.position),u++,e.lineIndent=0;n===32;)e.lineIndent++,n=e.input.charCodeAt(++e.position);else break}return r!==-1&&u!==0&&e.lineIndent<r&&xu(e,"deficient indentation"),u}function Wu(e){var t=e.position,r;return r=e.input.charCodeAt(t),!!((r===45||r===46)&&r===e.input.charCodeAt(t+1)&&r===e.input.charCodeAt(t+2)&&(t+=3,r=e.input.charCodeAt(t),r===0||je(r)))}function wi(e,t){t===1?e.result+=" ":t>1&&(e.result+=Ie.repeat(`
611
- `,t-1))}function qp(e,t,r){var u,n,i,a,s,o,l,f,c=e.kind,h=e.result,p;if(p=e.input.charCodeAt(e.position),je(p)||Er(p)||p===35||p===38||p===42||p===33||p===124||p===62||p===39||p===34||p===37||p===64||p===96||(p===63||p===45)&&(n=e.input.charCodeAt(e.position+1),je(n)||r&&Er(n)))return!1;for(e.kind="scalar",e.result="",i=a=e.position,s=!1;p!==0;){if(p===58){if(n=e.input.charCodeAt(e.position+1),je(n)||r&&Er(n))break}else if(p===35){if(u=e.input.charCodeAt(e.position-1),je(u))break}else{if(e.position===e.lineStart&&Wu(e)||r&&Er(p))break;if(at(p))if(o=e.line,l=e.lineStart,f=e.lineIndent,_e(e,!1,-1),e.lineIndent>=t){s=!0,p=e.input.charCodeAt(e.position);continue}else{e.position=a,e.line=o,e.lineStart=l,e.lineIndent=f;break}}s&&(kt(e,i,a,!1),wi(e,e.line-o),i=a=e.position,s=!1),ir(p)||(a=e.position+1),p=e.input.charCodeAt(++e.position)}return kt(e,i,a,!1),e.result?!0:(e.kind=c,e.result=h,!1)}function Vp(e,t){var r,u,n;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,u=n=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(kt(e,u,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)u=e.position,e.position++,n=e.position;else return!0;else at(r)?(kt(e,u,n,!0),wi(e,_e(e,!1,t)),u=n=e.position):e.position===e.lineStart&&Wu(e)?z(e,"unexpected end of the document within a single quoted scalar"):(e.position++,n=e.position);z(e,"unexpected end of the stream within a single quoted scalar")}function Yp(e,t){var r,u,n,i,a,s;if(s=e.input.charCodeAt(e.position),s!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=u=e.position;(s=e.input.charCodeAt(e.position))!==0;){if(s===34)return kt(e,r,e.position,!0),e.position++,!0;if(s===92){if(kt(e,r,e.position,!0),s=e.input.charCodeAt(++e.position),at(s))_e(e,!1,t);else if(s<256&&Mo[s])e.result+=$o[s],e.position++;else if((a=Up(s))>0){for(n=a,i=0;n>0;n--)s=e.input.charCodeAt(++e.position),(a=$p(s))>=0?i=(i<<4)+a:z(e,"expected hexadecimal character");e.result+=Gp(i),e.position++}else z(e,"unknown escape sequence");r=u=e.position}else at(s)?(kt(e,r,u,!0),wi(e,_e(e,!1,t)),r=u=e.position):e.position===e.lineStart&&Wu(e)?z(e,"unexpected end of the document within a double quoted scalar"):(e.position++,u=e.position)}z(e,"unexpected end of the stream within a double quoted scalar")}function Kp(e,t){var r=!0,u,n,i,a=e.tag,s,o=e.anchor,l,f,c,h,p,D=Object.create(null),g,C,y,d;if(d=e.input.charCodeAt(e.position),d===91)f=93,p=!1,s=[];else if(d===123)f=125,p=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),d=e.input.charCodeAt(++e.position);d!==0;){if(_e(e,!0,t),d=e.input.charCodeAt(e.position),d===f)return e.position++,e.tag=a,e.anchor=o,e.kind=p?"mapping":"sequence",e.result=s,!0;r?d===44&&z(e,"expected the node content, but found ','"):z(e,"missed comma between flow collection entries"),C=g=y=null,c=h=!1,d===63&&(l=e.input.charCodeAt(e.position+1),je(l)&&(c=h=!0,e.position++,_e(e,!0,t))),u=e.line,n=e.lineStart,i=e.position,yr(e,t,Pu,!1,!0),C=e.tag,g=e.result,_e(e,!0,t),d=e.input.charCodeAt(e.position),(h||e.line===u)&&d===58&&(c=!0,d=e.input.charCodeAt(++e.position),_e(e,!0,t),yr(e,t,Pu,!1,!0),y=e.result),p?Fr(e,s,D,C,g,y,u,n,i):c?s.push(Fr(e,null,D,C,g,y,u,n,i)):s.push(g),_e(e,!0,t),d=e.input.charCodeAt(e.position),d===44?(r=!0,d=e.input.charCodeAt(++e.position)):r=!1}z(e,"unexpected end of the stream within a flow collection")}function zp(e,t){var r,u,n=wn,i=!1,a=!1,s=t,o=0,l=!1,f,c;if(c=e.input.charCodeAt(e.position),c===124)u=!1;else if(c===62)u=!0;else return!1;for(e.kind="scalar",e.result="";c!==0;)if(c=e.input.charCodeAt(++e.position),c===43||c===45)wn===n?n=c===43?as:Lp:z(e,"repeat of a chomping mode identifier");else if((f=Hp(c))>=0)f===0?z(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):a?z(e,"repeat of an indentation width identifier"):(s=t+f-1,a=!0);else break;if(ir(c)){do c=e.input.charCodeAt(++e.position);while(ir(c));if(c===35)do c=e.input.charCodeAt(++e.position);while(!at(c)&&c!==0)}for(;c!==0;){for(bi(e),e.lineIndent=0,c=e.input.charCodeAt(e.position);(!a||e.lineIndent<s)&&c===32;)e.lineIndent++,c=e.input.charCodeAt(++e.position);if(!a&&e.lineIndent>s&&(s=e.lineIndent),at(c)){o++;continue}if(e.lineIndent<s){n===as?e.result+=Ie.repeat(`
613
+ `:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"\x85":e===95?"\xA0":e===76?"\u2028":e===80?"\u2029":""}function Wp(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var Mo=new Array(256),$o=new Array(256);for(Xt=0;Xt<256;Xt++)Mo[Xt]=os(Xt)?1:0,$o[Xt]=os(Xt);var Xt;function Gp(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||Pp,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Uo(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=Oh(r),new ft(t,r)}function z(e,t){throw Uo(e,t)}function xu(e,t){e.onWarning&&e.onWarning.call(null,Uo(e,t))}var ls={YAML:function(t,r,u){var n,i,a;t.version!==null&&z(t,"duplication of %YAML directive"),u.length!==1&&z(t,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(u[0]),n===null&&z(t,"ill-formed argument of the YAML directive"),i=parseInt(n[1],10),a=parseInt(n[2],10),i!==1&&z(t,"unacceptable YAML version of the document"),t.version=u[0],t.checkLineBreaks=a<2,a!==1&&a!==2&&xu(t,"unsupported YAML version of the document")},TAG:function(t,r,u){var n,i;u.length!==2&&z(t,"TAG directive accepts exactly two arguments"),n=u[0],i=u[1],xo.test(n)||z(t,"ill-formed tag handle (first argument) of the TAG directive"),Pt.call(t.tagMap,n)&&z(t,'there is a previously declared suffix for "'+n+'" tag handle'),jo.test(i)||z(t,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch{z(t,"tag prefix is malformed: "+i)}t.tagMap[n]=i}};function kt(e,t,r,u){var n,i,a,s;if(t<r){if(s=e.input.slice(t,r),u)for(n=0,i=s.length;n<i;n+=1)a=s.charCodeAt(n),a===9||32<=a&&a<=1114111||z(e,"expected valid JSON character");else xp.test(s)&&z(e,"the stream contains non-printable characters");e.result+=s}}function cs(e,t,r,u){var n,i,a,s;for(Ie.isObject(r)||z(e,"cannot merge mappings; the provided source object is unacceptable"),n=Object.keys(r),a=0,s=n.length;a<s;a+=1)i=n[a],Pt.call(t,i)||(t[i]=r[i],u[i]=!0)}function Fr(e,t,r,u,n,i,a,s,o){var l,f;if(Array.isArray(n))for(n=Array.prototype.slice.call(n),l=0,f=n.length;l<f;l+=1)Array.isArray(n[l])&&z(e,"nested arrays are not supported inside keys"),typeof n=="object"&&ss(n[l])==="[object Object]"&&(n[l]="[object Object]");if(typeof n=="object"&&ss(n)==="[object Object]"&&(n="[object Object]"),n=String(n),t===null&&(t={}),u==="tag:yaml.org,2002:merge")if(Array.isArray(i))for(l=0,f=i.length;l<f;l+=1)cs(e,t,i[l],r);else cs(e,t,i,r);else!e.json&&!Pt.call(r,n)&&Pt.call(t,n)&&(e.line=a||e.line,e.lineStart=s||e.lineStart,e.position=o||e.position,z(e,"duplicated mapping key")),n==="__proto__"?Object.defineProperty(t,n,{configurable:!0,enumerable:!0,writable:!0,value:i}):t[n]=i,delete r[n];return t}function bi(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):z(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function _e(e,t,r){for(var u=0,n=e.input.charCodeAt(e.position);n!==0;){for(;ir(n);)n===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),n=e.input.charCodeAt(++e.position);if(t&&n===35)do n=e.input.charCodeAt(++e.position);while(n!==10&&n!==13&&n!==0);if(at(n))for(bi(e),n=e.input.charCodeAt(e.position),u++,e.lineIndent=0;n===32;)e.lineIndent++,n=e.input.charCodeAt(++e.position);else break}return r!==-1&&u!==0&&e.lineIndent<r&&xu(e,"deficient indentation"),u}function Gu(e){var t=e.position,r;return r=e.input.charCodeAt(t),!!((r===45||r===46)&&r===e.input.charCodeAt(t+1)&&r===e.input.charCodeAt(t+2)&&(t+=3,r=e.input.charCodeAt(t),r===0||je(r)))}function wi(e,t){t===1?e.result+=" ":t>1&&(e.result+=Ie.repeat(`
614
+ `,t-1))}function qp(e,t,r){var u,n,i,a,s,o,l,f,c=e.kind,h=e.result,p;if(p=e.input.charCodeAt(e.position),je(p)||Er(p)||p===35||p===38||p===42||p===33||p===124||p===62||p===39||p===34||p===37||p===64||p===96||(p===63||p===45)&&(n=e.input.charCodeAt(e.position+1),je(n)||r&&Er(n)))return!1;for(e.kind="scalar",e.result="",i=a=e.position,s=!1;p!==0;){if(p===58){if(n=e.input.charCodeAt(e.position+1),je(n)||r&&Er(n))break}else if(p===35){if(u=e.input.charCodeAt(e.position-1),je(u))break}else{if(e.position===e.lineStart&&Gu(e)||r&&Er(p))break;if(at(p))if(o=e.line,l=e.lineStart,f=e.lineIndent,_e(e,!1,-1),e.lineIndent>=t){s=!0,p=e.input.charCodeAt(e.position);continue}else{e.position=a,e.line=o,e.lineStart=l,e.lineIndent=f;break}}s&&(kt(e,i,a,!1),wi(e,e.line-o),i=a=e.position,s=!1),ir(p)||(a=e.position+1),p=e.input.charCodeAt(++e.position)}return kt(e,i,a,!1),e.result?!0:(e.kind=c,e.result=h,!1)}function Vp(e,t){var r,u,n;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,u=n=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(kt(e,u,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)u=e.position,e.position++,n=e.position;else return!0;else at(r)?(kt(e,u,n,!0),wi(e,_e(e,!1,t)),u=n=e.position):e.position===e.lineStart&&Gu(e)?z(e,"unexpected end of the document within a single quoted scalar"):(e.position++,n=e.position);z(e,"unexpected end of the stream within a single quoted scalar")}function Yp(e,t){var r,u,n,i,a,s;if(s=e.input.charCodeAt(e.position),s!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=u=e.position;(s=e.input.charCodeAt(e.position))!==0;){if(s===34)return kt(e,r,e.position,!0),e.position++,!0;if(s===92){if(kt(e,r,e.position,!0),s=e.input.charCodeAt(++e.position),at(s))_e(e,!1,t);else if(s<256&&Mo[s])e.result+=$o[s],e.position++;else if((a=Up(s))>0){for(n=a,i=0;n>0;n--)s=e.input.charCodeAt(++e.position),(a=$p(s))>=0?i=(i<<4)+a:z(e,"expected hexadecimal character");e.result+=Wp(i),e.position++}else z(e,"unknown escape sequence");r=u=e.position}else at(s)?(kt(e,r,u,!0),wi(e,_e(e,!1,t)),r=u=e.position):e.position===e.lineStart&&Gu(e)?z(e,"unexpected end of the document within a double quoted scalar"):(e.position++,u=e.position)}z(e,"unexpected end of the stream within a double quoted scalar")}function Kp(e,t){var r=!0,u,n,i,a=e.tag,s,o=e.anchor,l,f,c,h,p,D=Object.create(null),g,C,y,d;if(d=e.input.charCodeAt(e.position),d===91)f=93,p=!1,s=[];else if(d===123)f=125,p=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),d=e.input.charCodeAt(++e.position);d!==0;){if(_e(e,!0,t),d=e.input.charCodeAt(e.position),d===f)return e.position++,e.tag=a,e.anchor=o,e.kind=p?"mapping":"sequence",e.result=s,!0;r?d===44&&z(e,"expected the node content, but found ','"):z(e,"missed comma between flow collection entries"),C=g=y=null,c=h=!1,d===63&&(l=e.input.charCodeAt(e.position+1),je(l)&&(c=h=!0,e.position++,_e(e,!0,t))),u=e.line,n=e.lineStart,i=e.position,yr(e,t,Pu,!1,!0),C=e.tag,g=e.result,_e(e,!0,t),d=e.input.charCodeAt(e.position),(h||e.line===u)&&d===58&&(c=!0,d=e.input.charCodeAt(++e.position),_e(e,!0,t),yr(e,t,Pu,!1,!0),y=e.result),p?Fr(e,s,D,C,g,y,u,n,i):c?s.push(Fr(e,null,D,C,g,y,u,n,i)):s.push(g),_e(e,!0,t),d=e.input.charCodeAt(e.position),d===44?(r=!0,d=e.input.charCodeAt(++e.position)):r=!1}z(e,"unexpected end of the stream within a flow collection")}function zp(e,t){var r,u,n=wn,i=!1,a=!1,s=t,o=0,l=!1,f,c;if(c=e.input.charCodeAt(e.position),c===124)u=!1;else if(c===62)u=!0;else return!1;for(e.kind="scalar",e.result="";c!==0;)if(c=e.input.charCodeAt(++e.position),c===43||c===45)wn===n?n=c===43?as:Lp:z(e,"repeat of a chomping mode identifier");else if((f=Hp(c))>=0)f===0?z(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):a?z(e,"repeat of an indentation width identifier"):(s=t+f-1,a=!0);else break;if(ir(c)){do c=e.input.charCodeAt(++e.position);while(ir(c));if(c===35)do c=e.input.charCodeAt(++e.position);while(!at(c)&&c!==0)}for(;c!==0;){for(bi(e),e.lineIndent=0,c=e.input.charCodeAt(e.position);(!a||e.lineIndent<s)&&c===32;)e.lineIndent++,c=e.input.charCodeAt(++e.position);if(!a&&e.lineIndent>s&&(s=e.lineIndent),at(c)){o++;continue}if(e.lineIndent<s){n===as?e.result+=Ie.repeat(`
612
615
  `,i?1+o:o):n===wn&&i&&(e.result+=`
613
616
  `);break}for(u?ir(c)?(l=!0,e.result+=Ie.repeat(`
614
617
  `,i?1+o:o)):l?(l=!1,e.result+=Ie.repeat(`
615
618
  `,o+1)):o===0?i&&(e.result+=" "):e.result+=Ie.repeat(`
616
619
  `,o):e.result+=Ie.repeat(`
617
- `,i?1+o:o),i=!0,a=!0,o=0,r=e.position;!at(c)&&c!==0;)c=e.input.charCodeAt(++e.position);kt(e,r,e.position,!1)}return!0}function fs(e,t){var r,u=e.tag,n=e.anchor,i=[],a,s=!1,o;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=i),o=e.input.charCodeAt(e.position);o!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,z(e,"tab characters must not be used in indentation")),!(o!==45||(a=e.input.charCodeAt(e.position+1),!je(a))));){if(s=!0,e.position++,_e(e,!0,-1)&&e.lineIndent<=t){i.push(null),o=e.input.charCodeAt(e.position);continue}if(r=e.line,yr(e,t,Lo,!1,!0),i.push(e.result),_e(e,!0,-1),o=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&o!==0)z(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return s?(e.tag=u,e.anchor=n,e.kind="sequence",e.result=i,!0):!1}function Xp(e,t,r){var u,n,i,a,s,o,l=e.tag,f=e.anchor,c={},h=Object.create(null),p=null,D=null,g=null,C=!1,y=!1,d;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=c),d=e.input.charCodeAt(e.position);d!==0;){if(!C&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,z(e,"tab characters must not be used in indentation")),u=e.input.charCodeAt(e.position+1),i=e.line,(d===63||d===58)&&je(u))d===63?(C&&(Fr(e,c,h,p,D,null,a,s,o),p=D=g=null),y=!0,C=!0,n=!0):C?(C=!1,n=!0):z(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,d=u;else{if(a=e.line,s=e.lineStart,o=e.position,!yr(e,r,Po,!1,!0))break;if(e.line===i){for(d=e.input.charCodeAt(e.position);ir(d);)d=e.input.charCodeAt(++e.position);if(d===58)d=e.input.charCodeAt(++e.position),je(d)||z(e,"a whitespace character is expected after the key-value separator within a block mapping"),C&&(Fr(e,c,h,p,D,null,a,s,o),p=D=g=null),y=!0,C=!1,n=!1,p=e.tag,D=e.result;else if(y)z(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=l,e.anchor=f,!0}else if(y)z(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=l,e.anchor=f,!0}if((e.line===i||e.lineIndent>t)&&(C&&(a=e.line,s=e.lineStart,o=e.position),yr(e,t,Lu,!0,n)&&(C?D=e.result:g=e.result),C||(Fr(e,c,h,p,D,g,a,s,o),p=D=g=null),_e(e,!0,-1),d=e.input.charCodeAt(e.position)),(e.line===i||e.lineIndent>t)&&d!==0)z(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return C&&Fr(e,c,h,p,D,null,a,s,o),y&&(e.tag=l,e.anchor=f,e.kind="mapping",e.result=c),y}function Qp(e){var t,r=!1,u=!1,n,i,a;if(a=e.input.charCodeAt(e.position),a!==33)return!1;if(e.tag!==null&&z(e,"duplication of a tag property"),a=e.input.charCodeAt(++e.position),a===60?(r=!0,a=e.input.charCodeAt(++e.position)):a===33?(u=!0,n="!!",a=e.input.charCodeAt(++e.position)):n="!",t=e.position,r){do a=e.input.charCodeAt(++e.position);while(a!==0&&a!==62);e.position<e.length?(i=e.input.slice(t,e.position),a=e.input.charCodeAt(++e.position)):z(e,"unexpected end of the stream within a verbatim tag")}else{for(;a!==0&&!je(a);)a===33&&(u?z(e,"tag suffix cannot contain exclamation marks"):(n=e.input.slice(t-1,e.position+1),xo.test(n)||z(e,"named tag handle cannot contain such characters"),u=!0,t=e.position+1)),a=e.input.charCodeAt(++e.position);i=e.input.slice(t,e.position),Mp.test(i)&&z(e,"tag suffix cannot contain flow indicator characters")}i&&!jo.test(i)&&z(e,"tag name cannot contain such characters: "+i);try{i=decodeURIComponent(i)}catch{z(e,"tag name is malformed: "+i)}return r?e.tag=i:Pt.call(e.tagMap,n)?e.tag=e.tagMap[n]+i:n==="!"?e.tag="!"+i:n==="!!"?e.tag="tag:yaml.org,2002:"+i:z(e,'undeclared tag handle "'+n+'"'),!0}function Jp(e){var t,r;if(r=e.input.charCodeAt(e.position),r!==38)return!1;for(e.anchor!==null&&z(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!je(r)&&!Er(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&z(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function Zp(e){var t,r,u;if(u=e.input.charCodeAt(e.position),u!==42)return!1;for(u=e.input.charCodeAt(++e.position),t=e.position;u!==0&&!je(u)&&!Er(u);)u=e.input.charCodeAt(++e.position);return e.position===t&&z(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),Pt.call(e.anchorMap,r)||z(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],_e(e,!0,-1),!0}function yr(e,t,r,u,n){var i,a,s,o=1,l=!1,f=!1,c,h,p,D,g,C;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,i=a=s=Lu===r||Lo===r,u&&_e(e,!0,-1)&&(l=!0,e.lineIndent>t?o=1:e.lineIndent===t?o=0:e.lineIndent<t&&(o=-1)),o===1)for(;Qp(e)||Jp(e);)_e(e,!0,-1)?(l=!0,s=i,e.lineIndent>t?o=1:e.lineIndent===t?o=0:e.lineIndent<t&&(o=-1)):s=!1;if(s&&(s=l||n),(o===1||Lu===r)&&(Pu===r||Po===r?g=t:g=t+1,C=e.position-e.lineStart,o===1?s&&(fs(e,C)||Xp(e,C,g))||Kp(e,g)?f=!0:(a&&zp(e,g)||Vp(e,g)||Yp(e,g)?f=!0:Zp(e)?(f=!0,(e.tag!==null||e.anchor!==null)&&z(e,"alias node should not have any properties")):qp(e,g,Pu===r)&&(f=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):o===0&&(f=s&&fs(e,C))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&z(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),c=0,h=e.implicitTypes.length;c<h;c+=1)if(D=e.implicitTypes[c],D.resolve(e.result)){e.result=D.construct(e.result),e.tag=D.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(Pt.call(e.typeMap[e.kind||"fallback"],e.tag))D=e.typeMap[e.kind||"fallback"][e.tag];else for(D=null,p=e.typeMap.multi[e.kind||"fallback"],c=0,h=p.length;c<h;c+=1)if(e.tag.slice(0,p[c].tag.length)===p[c].tag){D=p[c];break}D||z(e,"unknown tag !<"+e.tag+">"),e.result!==null&&D.kind!==e.kind&&z(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+D.kind+'", not "'+e.kind+'"'),D.resolve(e.result,e.tag)?(e.result=D.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):z(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||f}function ed(e){var t=e.position,r,u,n,i=!1,a;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(a=e.input.charCodeAt(e.position))!==0&&(_e(e,!0,-1),a=e.input.charCodeAt(e.position),!(e.lineIndent>0||a!==37));){for(i=!0,a=e.input.charCodeAt(++e.position),r=e.position;a!==0&&!je(a);)a=e.input.charCodeAt(++e.position);for(u=e.input.slice(r,e.position),n=[],u.length<1&&z(e,"directive name must not be less than one character in length");a!==0;){for(;ir(a);)a=e.input.charCodeAt(++e.position);if(a===35){do a=e.input.charCodeAt(++e.position);while(a!==0&&!at(a));break}if(at(a))break;for(r=e.position;a!==0&&!je(a);)a=e.input.charCodeAt(++e.position);n.push(e.input.slice(r,e.position))}a!==0&&bi(e),Pt.call(ls,u)?ls[u](e,u,n):xu(e,'unknown document directive "'+u+'"')}if(_e(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,_e(e,!0,-1)):i&&z(e,"directives end mark is expected"),yr(e,e.lineIndent-1,Lu,!1,!0),_e(e,!0,-1),e.checkLineBreaks&&jp.test(e.input.slice(t,e.position))&&xu(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Wu(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,_e(e,!0,-1));return}if(e.position<e.length-1)z(e,"end of the stream or a document separator is expected");else return}function Ho(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
618
- `),e.charCodeAt(0)===65279&&(e=e.slice(1)));var r=new Wp(e,t),u=e.indexOf("\0");for(u!==-1&&(r.position=u,z(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)ed(r);return r.documents}function td(e,t,r){t!==null&&typeof t=="object"&&typeof r>"u"&&(r=t,t=null);var u=Ho(e,r);if(typeof t!="function")return u;for(var n=0,i=u.length;n<i;n+=1)t(u[n])}function rd(e,t){var r=Ho(e,t);if(r.length!==0){if(r.length===1)return r[0];throw new ft("expected a single document in the stream, but found more")}}var ud=td,nd=rd,Go={loadAll:ud,load:nd},Pe={};Pe[0]="\\0";Pe[7]="\\a";Pe[8]="\\b";Pe[9]="\\t";Pe[10]="\\n";Pe[11]="\\v";Pe[12]="\\f";Pe[13]="\\r";Pe[27]="\\e";Pe[34]='\\"';Pe[92]="\\\\";Pe[133]="\\N";Pe[160]="\\_";Pe[8232]="\\L";Pe[8233]="\\P";function Bi(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}var id=Go.load,fv=Go.loadAll,Dv=Bi("safeLoad","load"),hv=Bi("safeLoadAll","loadAll"),pv=Bi("safeDump","dump"),ad=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,sd=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,od=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,Bn={Space_Separator:ad,ID_Start:sd,ID_Continue:od},we={isSpaceSeparator(e){return typeof e=="string"&&Bn.Space_Separator.test(e)},isIdStartChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||Bn.ID_Start.test(e))},isIdContinueChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="\u200C"||e==="\u200D"||Bn.ID_Continue.test(e))},isDigit(e){return typeof e=="string"&&/[0-9]/.test(e)},isHexDigit(e){return typeof e=="string"&&/[0-9A-Fa-f]/.test(e)}},Qn,Ne,Dt,ju,Lt,Qe,Be,Si,Vr,ld=function(t,r){Qn=String(t),Ne="start",Dt=[],ju=0,Lt=1,Qe=0,Be=void 0,Si=void 0,Vr=void 0;do Be=cd(),hd[Ne]();while(Be.type!=="eof");return typeof r=="function"?Jn({"":Vr},"",r):Vr};function Jn(e,t,r){let u=e[t];if(u!=null&&typeof u=="object")if(Array.isArray(u))for(let n=0;n<u.length;n++){let i=String(n),a=Jn(u,i,r);a===void 0?delete u[i]:Object.defineProperty(u,i,{value:a,writable:!0,enumerable:!0,configurable:!0})}else for(let n in u){let i=Jn(u,n,r);i===void 0?delete u[n]:Object.defineProperty(u,n,{value:i,writable:!0,enumerable:!0,configurable:!0})}return r.call(e,t,u)}var ue,J,Mr,lt,ie;function cd(){for(ue="default",J="",Mr=!1,lt=1;;){ie=ht();let e=Wo[ue]();if(e)return e}}function ht(){if(Qn[ju])return String.fromCodePoint(Qn.codePointAt(ju))}function $(){let e=ht();return e===`
619
- `?(Lt++,Qe=0):e?Qe+=e.length:Qe++,e&&(ju+=e.length),e}var Wo={default(){switch(ie){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
620
- `:case"\r":case"\u2028":case"\u2029":$();return;case"/":$(),ue="comment";return;case void 0:return $(),pe("eof")}if(we.isSpaceSeparator(ie)){$();return}return Wo[Ne]()},comment(){switch(ie){case"*":$(),ue="multiLineComment";return;case"/":$(),ue="singleLineComment";return}throw ge($())},multiLineComment(){switch(ie){case"*":$(),ue="multiLineCommentAsterisk";return;case void 0:throw ge($())}$()},multiLineCommentAsterisk(){switch(ie){case"*":$();return;case"/":$(),ue="default";return;case void 0:throw ge($())}$(),ue="multiLineComment"},singleLineComment(){switch(ie){case`
620
+ `,i?1+o:o),i=!0,a=!0,o=0,r=e.position;!at(c)&&c!==0;)c=e.input.charCodeAt(++e.position);kt(e,r,e.position,!1)}return!0}function fs(e,t){var r,u=e.tag,n=e.anchor,i=[],a,s=!1,o;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=i),o=e.input.charCodeAt(e.position);o!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,z(e,"tab characters must not be used in indentation")),!(o!==45||(a=e.input.charCodeAt(e.position+1),!je(a))));){if(s=!0,e.position++,_e(e,!0,-1)&&e.lineIndent<=t){i.push(null),o=e.input.charCodeAt(e.position);continue}if(r=e.line,yr(e,t,Lo,!1,!0),i.push(e.result),_e(e,!0,-1),o=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&o!==0)z(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return s?(e.tag=u,e.anchor=n,e.kind="sequence",e.result=i,!0):!1}function Xp(e,t,r){var u,n,i,a,s,o,l=e.tag,f=e.anchor,c={},h=Object.create(null),p=null,D=null,g=null,C=!1,y=!1,d;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=c),d=e.input.charCodeAt(e.position);d!==0;){if(!C&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,z(e,"tab characters must not be used in indentation")),u=e.input.charCodeAt(e.position+1),i=e.line,(d===63||d===58)&&je(u))d===63?(C&&(Fr(e,c,h,p,D,null,a,s,o),p=D=g=null),y=!0,C=!0,n=!0):C?(C=!1,n=!0):z(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,d=u;else{if(a=e.line,s=e.lineStart,o=e.position,!yr(e,r,Po,!1,!0))break;if(e.line===i){for(d=e.input.charCodeAt(e.position);ir(d);)d=e.input.charCodeAt(++e.position);if(d===58)d=e.input.charCodeAt(++e.position),je(d)||z(e,"a whitespace character is expected after the key-value separator within a block mapping"),C&&(Fr(e,c,h,p,D,null,a,s,o),p=D=g=null),y=!0,C=!1,n=!1,p=e.tag,D=e.result;else if(y)z(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=l,e.anchor=f,!0}else if(y)z(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=l,e.anchor=f,!0}if((e.line===i||e.lineIndent>t)&&(C&&(a=e.line,s=e.lineStart,o=e.position),yr(e,t,Lu,!0,n)&&(C?D=e.result:g=e.result),C||(Fr(e,c,h,p,D,g,a,s,o),p=D=g=null),_e(e,!0,-1),d=e.input.charCodeAt(e.position)),(e.line===i||e.lineIndent>t)&&d!==0)z(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return C&&Fr(e,c,h,p,D,null,a,s,o),y&&(e.tag=l,e.anchor=f,e.kind="mapping",e.result=c),y}function Qp(e){var t,r=!1,u=!1,n,i,a;if(a=e.input.charCodeAt(e.position),a!==33)return!1;if(e.tag!==null&&z(e,"duplication of a tag property"),a=e.input.charCodeAt(++e.position),a===60?(r=!0,a=e.input.charCodeAt(++e.position)):a===33?(u=!0,n="!!",a=e.input.charCodeAt(++e.position)):n="!",t=e.position,r){do a=e.input.charCodeAt(++e.position);while(a!==0&&a!==62);e.position<e.length?(i=e.input.slice(t,e.position),a=e.input.charCodeAt(++e.position)):z(e,"unexpected end of the stream within a verbatim tag")}else{for(;a!==0&&!je(a);)a===33&&(u?z(e,"tag suffix cannot contain exclamation marks"):(n=e.input.slice(t-1,e.position+1),xo.test(n)||z(e,"named tag handle cannot contain such characters"),u=!0,t=e.position+1)),a=e.input.charCodeAt(++e.position);i=e.input.slice(t,e.position),Mp.test(i)&&z(e,"tag suffix cannot contain flow indicator characters")}i&&!jo.test(i)&&z(e,"tag name cannot contain such characters: "+i);try{i=decodeURIComponent(i)}catch{z(e,"tag name is malformed: "+i)}return r?e.tag=i:Pt.call(e.tagMap,n)?e.tag=e.tagMap[n]+i:n==="!"?e.tag="!"+i:n==="!!"?e.tag="tag:yaml.org,2002:"+i:z(e,'undeclared tag handle "'+n+'"'),!0}function Jp(e){var t,r;if(r=e.input.charCodeAt(e.position),r!==38)return!1;for(e.anchor!==null&&z(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!je(r)&&!Er(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&z(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function Zp(e){var t,r,u;if(u=e.input.charCodeAt(e.position),u!==42)return!1;for(u=e.input.charCodeAt(++e.position),t=e.position;u!==0&&!je(u)&&!Er(u);)u=e.input.charCodeAt(++e.position);return e.position===t&&z(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),Pt.call(e.anchorMap,r)||z(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],_e(e,!0,-1),!0}function yr(e,t,r,u,n){var i,a,s,o=1,l=!1,f=!1,c,h,p,D,g,C;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,i=a=s=Lu===r||Lo===r,u&&_e(e,!0,-1)&&(l=!0,e.lineIndent>t?o=1:e.lineIndent===t?o=0:e.lineIndent<t&&(o=-1)),o===1)for(;Qp(e)||Jp(e);)_e(e,!0,-1)?(l=!0,s=i,e.lineIndent>t?o=1:e.lineIndent===t?o=0:e.lineIndent<t&&(o=-1)):s=!1;if(s&&(s=l||n),(o===1||Lu===r)&&(Pu===r||Po===r?g=t:g=t+1,C=e.position-e.lineStart,o===1?s&&(fs(e,C)||Xp(e,C,g))||Kp(e,g)?f=!0:(a&&zp(e,g)||Vp(e,g)||Yp(e,g)?f=!0:Zp(e)?(f=!0,(e.tag!==null||e.anchor!==null)&&z(e,"alias node should not have any properties")):qp(e,g,Pu===r)&&(f=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):o===0&&(f=s&&fs(e,C))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&z(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),c=0,h=e.implicitTypes.length;c<h;c+=1)if(D=e.implicitTypes[c],D.resolve(e.result)){e.result=D.construct(e.result),e.tag=D.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(Pt.call(e.typeMap[e.kind||"fallback"],e.tag))D=e.typeMap[e.kind||"fallback"][e.tag];else for(D=null,p=e.typeMap.multi[e.kind||"fallback"],c=0,h=p.length;c<h;c+=1)if(e.tag.slice(0,p[c].tag.length)===p[c].tag){D=p[c];break}D||z(e,"unknown tag !<"+e.tag+">"),e.result!==null&&D.kind!==e.kind&&z(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+D.kind+'", not "'+e.kind+'"'),D.resolve(e.result,e.tag)?(e.result=D.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):z(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||f}function ed(e){var t=e.position,r,u,n,i=!1,a;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(a=e.input.charCodeAt(e.position))!==0&&(_e(e,!0,-1),a=e.input.charCodeAt(e.position),!(e.lineIndent>0||a!==37));){for(i=!0,a=e.input.charCodeAt(++e.position),r=e.position;a!==0&&!je(a);)a=e.input.charCodeAt(++e.position);for(u=e.input.slice(r,e.position),n=[],u.length<1&&z(e,"directive name must not be less than one character in length");a!==0;){for(;ir(a);)a=e.input.charCodeAt(++e.position);if(a===35){do a=e.input.charCodeAt(++e.position);while(a!==0&&!at(a));break}if(at(a))break;for(r=e.position;a!==0&&!je(a);)a=e.input.charCodeAt(++e.position);n.push(e.input.slice(r,e.position))}a!==0&&bi(e),Pt.call(ls,u)?ls[u](e,u,n):xu(e,'unknown document directive "'+u+'"')}if(_e(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,_e(e,!0,-1)):i&&z(e,"directives end mark is expected"),yr(e,e.lineIndent-1,Lu,!1,!0),_e(e,!0,-1),e.checkLineBreaks&&jp.test(e.input.slice(t,e.position))&&xu(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Gu(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,_e(e,!0,-1));return}if(e.position<e.length-1)z(e,"end of the stream or a document separator is expected");else return}function Ho(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
621
+ `),e.charCodeAt(0)===65279&&(e=e.slice(1)));var r=new Gp(e,t),u=e.indexOf("\0");for(u!==-1&&(r.position=u,z(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)ed(r);return r.documents}function td(e,t,r){t!==null&&typeof t=="object"&&typeof r>"u"&&(r=t,t=null);var u=Ho(e,r);if(typeof t!="function")return u;for(var n=0,i=u.length;n<i;n+=1)t(u[n])}function rd(e,t){var r=Ho(e,t);if(r.length!==0){if(r.length===1)return r[0];throw new ft("expected a single document in the stream, but found more")}}var ud=td,nd=rd,Wo={loadAll:ud,load:nd},Pe={};Pe[0]="\\0";Pe[7]="\\a";Pe[8]="\\b";Pe[9]="\\t";Pe[10]="\\n";Pe[11]="\\v";Pe[12]="\\f";Pe[13]="\\r";Pe[27]="\\e";Pe[34]='\\"';Pe[92]="\\\\";Pe[133]="\\N";Pe[160]="\\_";Pe[8232]="\\L";Pe[8233]="\\P";function Bi(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}var id=Wo.load,fv=Wo.loadAll,Dv=Bi("safeLoad","load"),hv=Bi("safeLoadAll","loadAll"),pv=Bi("safeDump","dump"),ad=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,sd=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,od=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,Bn={Space_Separator:ad,ID_Start:sd,ID_Continue:od},we={isSpaceSeparator(e){return typeof e=="string"&&Bn.Space_Separator.test(e)},isIdStartChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||Bn.ID_Start.test(e))},isIdContinueChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="\u200C"||e==="\u200D"||Bn.ID_Continue.test(e))},isDigit(e){return typeof e=="string"&&/[0-9]/.test(e)},isHexDigit(e){return typeof e=="string"&&/[0-9A-Fa-f]/.test(e)}},Qn,Ne,Dt,ju,Lt,Qe,Be,Si,Vr,ld=function(t,r){Qn=String(t),Ne="start",Dt=[],ju=0,Lt=1,Qe=0,Be=void 0,Si=void 0,Vr=void 0;do Be=cd(),hd[Ne]();while(Be.type!=="eof");return typeof r=="function"?Jn({"":Vr},"",r):Vr};function Jn(e,t,r){let u=e[t];if(u!=null&&typeof u=="object")if(Array.isArray(u))for(let n=0;n<u.length;n++){let i=String(n),a=Jn(u,i,r);a===void 0?delete u[i]:Object.defineProperty(u,i,{value:a,writable:!0,enumerable:!0,configurable:!0})}else for(let n in u){let i=Jn(u,n,r);i===void 0?delete u[n]:Object.defineProperty(u,n,{value:i,writable:!0,enumerable:!0,configurable:!0})}return r.call(e,t,u)}var ue,J,Mr,lt,ie;function cd(){for(ue="default",J="",Mr=!1,lt=1;;){ie=ht();let e=Go[ue]();if(e)return e}}function ht(){if(Qn[ju])return String.fromCodePoint(Qn.codePointAt(ju))}function $(){let e=ht();return e===`
622
+ `?(Lt++,Qe=0):e?Qe+=e.length:Qe++,e&&(ju+=e.length),e}var Go={default(){switch(ie){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
623
+ `:case"\r":case"\u2028":case"\u2029":$();return;case"/":$(),ue="comment";return;case void 0:return $(),pe("eof")}if(we.isSpaceSeparator(ie)){$();return}return Go[Ne]()},comment(){switch(ie){case"*":$(),ue="multiLineComment";return;case"/":$(),ue="singleLineComment";return}throw ge($())},multiLineComment(){switch(ie){case"*":$(),ue="multiLineCommentAsterisk";return;case void 0:throw ge($())}$()},multiLineCommentAsterisk(){switch(ie){case"*":$();return;case"/":$(),ue="default";return;case void 0:throw ge($())}$(),ue="multiLineComment"},singleLineComment(){switch(ie){case`
621
624
  `:case"\r":case"\u2028":case"\u2029":$(),ue="default";return;case void 0:return $(),pe("eof")}$()},value(){switch(ie){case"{":case"[":return pe("punctuator",$());case"n":return $(),Qt("ull"),pe("null",null);case"t":return $(),Qt("rue"),pe("boolean",!0);case"f":return $(),Qt("alse"),pe("boolean",!1);case"-":case"+":$()==="-"&&(lt=-1),ue="sign";return;case".":J=$(),ue="decimalPointLeading";return;case"0":J=$(),ue="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":J=$(),ue="decimalInteger";return;case"I":return $(),Qt("nfinity"),pe("numeric",1/0);case"N":return $(),Qt("aN"),pe("numeric",NaN);case'"':case"'":Mr=$()==='"',J="",ue="string";return}throw ge($())},identifierNameStartEscape(){if(ie!=="u")throw ge($());$();let e=Zn();switch(e){case"$":case"_":break;default:if(!we.isIdStartChar(e))throw Ds();break}J+=e,ue="identifierName"},identifierName(){switch(ie){case"$":case"_":case"\u200C":case"\u200D":J+=$();return;case"\\":$(),ue="identifierNameEscape";return}if(we.isIdContinueChar(ie)){J+=$();return}return pe("identifier",J)},identifierNameEscape(){if(ie!=="u")throw ge($());$();let e=Zn();switch(e){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!we.isIdContinueChar(e))throw Ds();break}J+=e,ue="identifierName"},sign(){switch(ie){case".":J=$(),ue="decimalPointLeading";return;case"0":J=$(),ue="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":J=$(),ue="decimalInteger";return;case"I":return $(),Qt("nfinity"),pe("numeric",lt*(1/0));case"N":return $(),Qt("aN"),pe("numeric",NaN)}throw ge($())},zero(){switch(ie){case".":J+=$(),ue="decimalPoint";return;case"e":case"E":J+=$(),ue="decimalExponent";return;case"x":case"X":J+=$(),ue="hexadecimal";return}return pe("numeric",lt*0)},decimalInteger(){switch(ie){case".":J+=$(),ue="decimalPoint";return;case"e":case"E":J+=$(),ue="decimalExponent";return}if(we.isDigit(ie)){J+=$();return}return pe("numeric",lt*Number(J))},decimalPointLeading(){if(we.isDigit(ie)){J+=$(),ue="decimalFraction";return}throw ge($())},decimalPoint(){switch(ie){case"e":case"E":J+=$(),ue="decimalExponent";return}if(we.isDigit(ie)){J+=$(),ue="decimalFraction";return}return pe("numeric",lt*Number(J))},decimalFraction(){switch(ie){case"e":case"E":J+=$(),ue="decimalExponent";return}if(we.isDigit(ie)){J+=$();return}return pe("numeric",lt*Number(J))},decimalExponent(){switch(ie){case"+":case"-":J+=$(),ue="decimalExponentSign";return}if(we.isDigit(ie)){J+=$(),ue="decimalExponentInteger";return}throw ge($())},decimalExponentSign(){if(we.isDigit(ie)){J+=$(),ue="decimalExponentInteger";return}throw ge($())},decimalExponentInteger(){if(we.isDigit(ie)){J+=$();return}return pe("numeric",lt*Number(J))},hexadecimal(){if(we.isHexDigit(ie)){J+=$(),ue="hexadecimalInteger";return}throw ge($())},hexadecimalInteger(){if(we.isHexDigit(ie)){J+=$();return}return pe("numeric",lt*Number(J))},string(){switch(ie){case"\\":$(),J+=fd();return;case'"':if(Mr)return $(),pe("string",J);J+=$();return;case"'":if(!Mr)return $(),pe("string",J);J+=$();return;case`
622
625
  `:case"\r":throw ge($());case"\u2028":case"\u2029":pd(ie);break;case void 0:throw ge($())}J+=$()},start(){switch(ie){case"{":case"[":return pe("punctuator",$())}ue="value"},beforePropertyName(){switch(ie){case"$":case"_":J=$(),ue="identifierName";return;case"\\":$(),ue="identifierNameStartEscape";return;case"}":return pe("punctuator",$());case'"':case"'":Mr=$()==='"',ue="string";return}if(we.isIdStartChar(ie)){J+=$(),ue="identifierName";return}throw ge($())},afterPropertyName(){if(ie===":")return pe("punctuator",$());throw ge($())},beforePropertyValue(){ue="value"},afterPropertyValue(){switch(ie){case",":case"}":return pe("punctuator",$())}throw ge($())},beforeArrayValue(){if(ie==="]")return pe("punctuator",$());ue="value"},afterArrayValue(){switch(ie){case",":case"]":return pe("punctuator",$())}throw ge($())},end(){throw ge($())}};function pe(e,t){return{type:e,value:t,line:Lt,column:Qe}}function Qt(e){for(let t of e){if(ht()!==t)throw ge($());$()}}function fd(){switch(ht()){case"b":return $(),"\b";case"f":return $(),"\f";case"n":return $(),`
623
626
  `;case"r":return $(),"\r";case"t":return $()," ";case"v":return $(),"\v";case"0":if($(),we.isDigit(ht()))throw ge($());return"\0";case"x":return $(),Dd();case"u":return $(),Zn();case`
@@ -631,20 +634,20 @@ ${r}
631
634
  ${r.message}`,r}}async function Rn(e){return(await import(mh(e).href)).default}async function Ko(e){let{prettier:t}=await Yo(e);return t}async function zo(e){let{prettier:t}=await yu(e);return t}async function yu(e){let t=await Qr(e);try{return id(t)}catch(r){throw r.message=`YAML Error in ${e}:
632
635
  ${r.message}`,r}}var wd={async".toml"(e){let t=await Qr(e);try{return await(0,gh.default)(t)}catch(r){throw r.message=`TOML Error in ${e}:
633
636
  ${r.message}`,r}},async".json5"(e){let t=await Qr(e);try{return dd.parse(t)}catch(r){throw r.message=`JSON5 Error in ${e}:
634
- ${r.message}`,r}},".json":Yo,".js":Rn,".mjs":Rn,".cjs":Rn,".yaml":yu,".yml":yu,"":yu},Bd=wd,Sd=["package.json","package.yaml",".prettierrc",".prettierrc.json",".prettierrc.yaml",".prettierrc.yml",".prettierrc.json5",".prettierrc.js",".prettierrc.mjs",".prettierrc.cjs","prettier.config.js","prettier.config.mjs","prettier.config.cjs",".prettierrc.toml"];async function Rd({name:e,path:t}){if(!await dh(t))return!1;if(e==="package.json")try{return!!await Ko(t)}catch{return!1}if(e==="package.yaml")try{return!!await zo(t)}catch{return!1}return!0}function Od(e){return new Ro({names:Sd,filter:Rd,stopDirectory:e})}var Td=Od,$d={}.hasOwnProperty,Ud=/^([A-Z][a-z\d]*)+$/,Hd=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),Oe={};function On(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}var Zo=new Map,Gd="__node_internal_",gs;Oe.ERR_INVALID_ARG_TYPE=qe("ERR_INVALID_ARG_TYPE",(e,t,r)=>{sr(typeof e=="string","'name' must be a string"),Array.isArray(t)||(t=[t]);let u="The ";if(e.endsWith(" argument"))u+=`${e} `;else{let s=e.includes(".")?"property":"argument";u+=`"${e}" ${s} `}u+="must be ";let n=[],i=[],a=[];for(let s of t)sr(typeof s=="string","All expected entries have to be of type string"),Hd.has(s)?n.push(s.toLowerCase()):Ud.exec(s)===null?(sr(s!=="object",'The value "object" should be written as "Object"'),a.push(s)):i.push(s);if(i.length>0){let s=n.indexOf("object");s!==-1&&(n.slice(s,1),i.push("Object"))}return n.length>0&&(u+=`${n.length>1?"one of type":"of type"} ${On(n,"or")}`,(i.length>0||a.length>0)&&(u+=" or ")),i.length>0&&(u+=`an instance of ${On(i,"or")}`,a.length>0&&(u+=" or ")),a.length>0&&(a.length>1?u+=`one of ${On(a,"or")}`:(a[0].toLowerCase()!==a[0]&&(u+="an "),u+=`${a[0]}`)),u+=`. Received ${Kd(r)}`,u},TypeError);Oe.ERR_INVALID_MODULE_SPECIFIER=qe("ERR_INVALID_MODULE_SPECIFIER",(e,t,r=void 0)=>`Invalid module "${e}" ${t}${r?` imported from ${r}`:""}`,TypeError);Oe.ERR_INVALID_PACKAGE_CONFIG=qe("ERR_INVALID_PACKAGE_CONFIG",(e,t,r)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${r?`. ${r}`:""}`,Error);Oe.ERR_INVALID_PACKAGE_TARGET=qe("ERR_INVALID_PACKAGE_TARGET",(e,t,r,u=!1,n=void 0)=>{let i=typeof r=="string"&&!u&&r.length>0&&!r.startsWith("./");return t==="."?(sr(u===!1),`Invalid "exports" main target ${JSON.stringify(r)} defined in the package config ${e}package.json${n?` imported from ${n}`:""}${i?'; targets must start with "./"':""}`):`Invalid "${u?"imports":"exports"}" target ${JSON.stringify(r)} defined for '${t}' in the package config ${e}package.json${n?` imported from ${n}`:""}${i?'; targets must start with "./"':""}`},Error);Oe.ERR_MODULE_NOT_FOUND=qe("ERR_MODULE_NOT_FOUND",(e,t,r=!1)=>`Cannot find ${r?"module":"package"} '${e}' imported from ${t}`,Error);Oe.ERR_NETWORK_IMPORT_DISALLOWED=qe("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error);Oe.ERR_PACKAGE_IMPORT_NOT_DEFINED=qe("ERR_PACKAGE_IMPORT_NOT_DEFINED",(e,t,r)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${r}`,TypeError);Oe.ERR_PACKAGE_PATH_NOT_EXPORTED=qe("ERR_PACKAGE_PATH_NOT_EXPORTED",(e,t,r=void 0)=>t==="."?`No "exports" main defined in ${e}package.json${r?` imported from ${r}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${r?` imported from ${r}`:""}`,Error);Oe.ERR_UNSUPPORTED_DIR_IMPORT=qe("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error);Oe.ERR_UNSUPPORTED_RESOLVE_REQUEST=qe("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError);Oe.ERR_UNKNOWN_FILE_EXTENSION=qe("ERR_UNKNOWN_FILE_EXTENSION",(e,t)=>`Unknown file extension "${e}" for ${t}`,TypeError);Oe.ERR_INVALID_ARG_VALUE=qe("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let u=ti(t);return u.length>128&&(u=`${u.slice(0,128)}...`),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${u}`},TypeError);function qe(e,t,r){return Zo.set(e,t),Wd(r,e)}function Wd(e,t){return r;function r(...u){let n=Error.stackTraceLimit;ri()&&(Error.stackTraceLimit=0);let i=new e;ri()&&(Error.stackTraceLimit=n);let a=Yd(t,u,i);return Object.defineProperties(i,{message:{value:a,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),Vd(i),i.code=t,i}}function ri(){try{if(jd.startupSnapshot.isBuildingSnapshot())return!1}catch{}let e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return e===void 0?Object.isExtensible(Error):$d.call(e,"writable")&&e.writable!==void 0?e.writable:e.set!==void 0}function qd(e){let t=Gd+e.name;return Object.defineProperty(e,"name",{value:t}),e}var Vd=qd(function(e){let t=ri();return t&&(gs=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=gs),e});function Yd(e,t,r){let u=Zo.get(e);if(sr(u!==void 0,"expected `message` to be found"),typeof u=="function")return sr(u.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${u.length}).`),Reflect.apply(u,r,t);let n=/%[dfijoOs]/g,i=0;for(;n.exec(u)!==null;)i++;return sr(i===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${i}).`),t.length===0?u:(t.unshift(u),Reflect.apply(Md,null,t))}function Kd(e){if(e==null)return String(e);if(typeof e=="function"&&e.name)return`function ${e.name}`;if(typeof e=="object")return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${ti(e,{depth:-1})}`;let t=ti(e,{colors:!1});return t.length>28&&(t=`${t.slice(0,25)}...`),`type ${typeof e} (${t})`}var jr={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:zd}=Oe,ms=new Map;function el(e,{base:t,specifier:r}){let u=ms.get(e);if(u)return u;let n;try{n=Ld.readFileSync(xd.toNamespacedPath(e),"utf8")}catch(a){let s=a;if(s.code!=="ENOENT")throw s}let i={exists:!1,pjsonPath:e,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(n!==void 0){let a;try{a=JSON.parse(n)}catch(s){let o=s,l=new zd(e,(t?`"${r}" from `:"")+ei(t||r),o.message);throw l.cause=o,l}i.exists=!0,jr.call(a,"name")&&typeof a.name=="string"&&(i.name=a.name),jr.call(a,"main")&&typeof a.main=="string"&&(i.main=a.main),jr.call(a,"exports")&&(i.exports=a.exports),jr.call(a,"imports")&&(i.imports=a.imports),jr.call(a,"type")&&(a.type==="commonjs"||a.type==="module")&&(i.type=a.type)}return ms.set(e,i),i}function Ti(e){let t=new URL("package.json",e);for(;!t.pathname.endsWith("node_modules/package.json");){let n=el(ei(t),{specifier:e});if(n.exists)return n;let i=t;if(t=new URL("../package.json",t),t.pathname===i.pathname)break}return{pjsonPath:ei(t),exists:!1,type:"none"}}function Es(e){return Ti(e).type}var{ERR_UNKNOWN_FILE_EXTENSION:Xd}=Oe,Qd={}.hasOwnProperty,Jd={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};function Zd(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":e==="application/json"?"json":null}var Fs={__proto__:null,"data:":eg,"file:":rg,"http:":vs,"https:":vs,"node:"(){return"builtin"}};function eg(e){let{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return Zd(t)}function tg(e){let t=e.pathname,r=t.length;for(;r--;){let u=t.codePointAt(r);if(u===47)return"";if(u===46)return t.codePointAt(r-1)===47?"":t.slice(r)}return""}function rg(e,t,r){let u=tg(e);if(u===".js"){let a=Es(e);return a!=="none"?a:"commonjs"}if(u===""){let a=Es(e);return a==="none"||a==="commonjs"?"commonjs":"module"}let n=Jd[u];if(n)return n;if(r)return;let i=Pd(e);throw new Xd(u,i)}function vs(){}function tl(e,t){let r=e.protocol;return Qd.call(Fs,r)&&Fs[r](e,t,!0)||null}var{ERR_INVALID_ARG_VALUE:ug}=Oe,rl=Object.freeze(["node","import"]),ng=new Set(rl);function ig(){return rl}function ag(){return ng}function sg(e){if(e!==void 0&&e!==ig()){if(!Array.isArray(e))throw new ug("conditions",e,"expected an array");return new Set(e)}return ag()}var hu=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:Tn,ERR_INVALID_MODULE_SPECIFIER:qu,ERR_INVALID_PACKAGE_CONFIG:ul,ERR_INVALID_PACKAGE_TARGET:og,ERR_MODULE_NOT_FOUND:ki,ERR_PACKAGE_IMPORT_NOT_DEFINED:lg,ERR_PACKAGE_PATH_NOT_EXPORTED:cg,ERR_UNSUPPORTED_DIR_IMPORT:fg,ERR_UNSUPPORTED_RESOLVE_REQUEST:Cs}=Oe,nl={}.hasOwnProperty,As=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,ys=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,Dg=/^\.|%|\\/,pu=/\*/g,hg=/%2f|%5c/i,_s=new Set,pg=/[/\\]{2}/;function bs(e,t,r,u,n,i,a){if(ar.noDeprecation)return;let s=De(u),o=pg.exec(a?e:t)!==null;ar.emitWarning(`Use of deprecated ${o?"double slash":"leading or trailing slash matching"} resolving "${e}" for module request "${t}" ${t===r?"":`matched to "${r}" `}in the "${n?"imports":"exports"}" field module resolution of the package at ${s}${i?` imported from ${De(i)}`:""}.`,"DeprecationWarning","DEP0166")}function ws(e,t,r,u){if(ar.noDeprecation||tl(e,{parentURL:r.href})!=="module")return;let i=De(e.href),a=De(new Ee(".",t)),s=De(r);u?Jo.resolve(a,u)!==i&&ar.emitWarning(`Package ${a} has a "main" field set to "${u}", excluding the full filename and extension to the resolved file at "${i.slice(a.length)}", imported from ${s}.
637
+ ${r.message}`,r}},".json":Yo,".js":Rn,".mjs":Rn,".cjs":Rn,".yaml":yu,".yml":yu,"":yu},Bd=wd,Sd=["package.json","package.yaml",".prettierrc",".prettierrc.json",".prettierrc.yaml",".prettierrc.yml",".prettierrc.json5",".prettierrc.js",".prettierrc.mjs",".prettierrc.cjs","prettier.config.js","prettier.config.mjs","prettier.config.cjs",".prettierrc.toml"];async function Rd({name:e,path:t}){if(!await dh(t))return!1;if(e==="package.json")try{return!!await Ko(t)}catch{return!1}if(e==="package.yaml")try{return!!await zo(t)}catch{return!1}return!0}function Od(e){return new Ro({names:Sd,filter:Rd,stopDirectory:e})}var Td=Od,$d={}.hasOwnProperty,Ud=/^([A-Z][a-z\d]*)+$/,Hd=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),Oe={};function On(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}var Zo=new Map,Wd="__node_internal_",gs;Oe.ERR_INVALID_ARG_TYPE=qe("ERR_INVALID_ARG_TYPE",(e,t,r)=>{sr(typeof e=="string","'name' must be a string"),Array.isArray(t)||(t=[t]);let u="The ";if(e.endsWith(" argument"))u+=`${e} `;else{let s=e.includes(".")?"property":"argument";u+=`"${e}" ${s} `}u+="must be ";let n=[],i=[],a=[];for(let s of t)sr(typeof s=="string","All expected entries have to be of type string"),Hd.has(s)?n.push(s.toLowerCase()):Ud.exec(s)===null?(sr(s!=="object",'The value "object" should be written as "Object"'),a.push(s)):i.push(s);if(i.length>0){let s=n.indexOf("object");s!==-1&&(n.slice(s,1),i.push("Object"))}return n.length>0&&(u+=`${n.length>1?"one of type":"of type"} ${On(n,"or")}`,(i.length>0||a.length>0)&&(u+=" or ")),i.length>0&&(u+=`an instance of ${On(i,"or")}`,a.length>0&&(u+=" or ")),a.length>0&&(a.length>1?u+=`one of ${On(a,"or")}`:(a[0].toLowerCase()!==a[0]&&(u+="an "),u+=`${a[0]}`)),u+=`. Received ${Kd(r)}`,u},TypeError);Oe.ERR_INVALID_MODULE_SPECIFIER=qe("ERR_INVALID_MODULE_SPECIFIER",(e,t,r=void 0)=>`Invalid module "${e}" ${t}${r?` imported from ${r}`:""}`,TypeError);Oe.ERR_INVALID_PACKAGE_CONFIG=qe("ERR_INVALID_PACKAGE_CONFIG",(e,t,r)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${r?`. ${r}`:""}`,Error);Oe.ERR_INVALID_PACKAGE_TARGET=qe("ERR_INVALID_PACKAGE_TARGET",(e,t,r,u=!1,n=void 0)=>{let i=typeof r=="string"&&!u&&r.length>0&&!r.startsWith("./");return t==="."?(sr(u===!1),`Invalid "exports" main target ${JSON.stringify(r)} defined in the package config ${e}package.json${n?` imported from ${n}`:""}${i?'; targets must start with "./"':""}`):`Invalid "${u?"imports":"exports"}" target ${JSON.stringify(r)} defined for '${t}' in the package config ${e}package.json${n?` imported from ${n}`:""}${i?'; targets must start with "./"':""}`},Error);Oe.ERR_MODULE_NOT_FOUND=qe("ERR_MODULE_NOT_FOUND",(e,t,r=!1)=>`Cannot find ${r?"module":"package"} '${e}' imported from ${t}`,Error);Oe.ERR_NETWORK_IMPORT_DISALLOWED=qe("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error);Oe.ERR_PACKAGE_IMPORT_NOT_DEFINED=qe("ERR_PACKAGE_IMPORT_NOT_DEFINED",(e,t,r)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${r}`,TypeError);Oe.ERR_PACKAGE_PATH_NOT_EXPORTED=qe("ERR_PACKAGE_PATH_NOT_EXPORTED",(e,t,r=void 0)=>t==="."?`No "exports" main defined in ${e}package.json${r?` imported from ${r}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${r?` imported from ${r}`:""}`,Error);Oe.ERR_UNSUPPORTED_DIR_IMPORT=qe("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error);Oe.ERR_UNSUPPORTED_RESOLVE_REQUEST=qe("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError);Oe.ERR_UNKNOWN_FILE_EXTENSION=qe("ERR_UNKNOWN_FILE_EXTENSION",(e,t)=>`Unknown file extension "${e}" for ${t}`,TypeError);Oe.ERR_INVALID_ARG_VALUE=qe("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let u=ti(t);return u.length>128&&(u=`${u.slice(0,128)}...`),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${u}`},TypeError);function qe(e,t,r){return Zo.set(e,t),Gd(r,e)}function Gd(e,t){return r;function r(...u){let n=Error.stackTraceLimit;ri()&&(Error.stackTraceLimit=0);let i=new e;ri()&&(Error.stackTraceLimit=n);let a=Yd(t,u,i);return Object.defineProperties(i,{message:{value:a,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),Vd(i),i.code=t,i}}function ri(){try{if(jd.startupSnapshot.isBuildingSnapshot())return!1}catch{}let e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return e===void 0?Object.isExtensible(Error):$d.call(e,"writable")&&e.writable!==void 0?e.writable:e.set!==void 0}function qd(e){let t=Wd+e.name;return Object.defineProperty(e,"name",{value:t}),e}var Vd=qd(function(e){let t=ri();return t&&(gs=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=gs),e});function Yd(e,t,r){let u=Zo.get(e);if(sr(u!==void 0,"expected `message` to be found"),typeof u=="function")return sr(u.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${u.length}).`),Reflect.apply(u,r,t);let n=/%[dfijoOs]/g,i=0;for(;n.exec(u)!==null;)i++;return sr(i===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${i}).`),t.length===0?u:(t.unshift(u),Reflect.apply(Md,null,t))}function Kd(e){if(e==null)return String(e);if(typeof e=="function"&&e.name)return`function ${e.name}`;if(typeof e=="object")return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${ti(e,{depth:-1})}`;let t=ti(e,{colors:!1});return t.length>28&&(t=`${t.slice(0,25)}...`),`type ${typeof e} (${t})`}var jr={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:zd}=Oe,ms=new Map;function el(e,{base:t,specifier:r}){let u=ms.get(e);if(u)return u;let n;try{n=Ld.readFileSync(xd.toNamespacedPath(e),"utf8")}catch(a){let s=a;if(s.code!=="ENOENT")throw s}let i={exists:!1,pjsonPath:e,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(n!==void 0){let a;try{a=JSON.parse(n)}catch(s){let o=s,l=new zd(e,(t?`"${r}" from `:"")+ei(t||r),o.message);throw l.cause=o,l}i.exists=!0,jr.call(a,"name")&&typeof a.name=="string"&&(i.name=a.name),jr.call(a,"main")&&typeof a.main=="string"&&(i.main=a.main),jr.call(a,"exports")&&(i.exports=a.exports),jr.call(a,"imports")&&(i.imports=a.imports),jr.call(a,"type")&&(a.type==="commonjs"||a.type==="module")&&(i.type=a.type)}return ms.set(e,i),i}function Ti(e){let t=new URL("package.json",e);for(;!t.pathname.endsWith("node_modules/package.json");){let n=el(ei(t),{specifier:e});if(n.exists)return n;let i=t;if(t=new URL("../package.json",t),t.pathname===i.pathname)break}return{pjsonPath:ei(t),exists:!1,type:"none"}}function Es(e){return Ti(e).type}var{ERR_UNKNOWN_FILE_EXTENSION:Xd}=Oe,Qd={}.hasOwnProperty,Jd={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};function Zd(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":e==="application/json"?"json":null}var Fs={__proto__:null,"data:":eg,"file:":rg,"http:":vs,"https:":vs,"node:"(){return"builtin"}};function eg(e){let{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return Zd(t)}function tg(e){let t=e.pathname,r=t.length;for(;r--;){let u=t.codePointAt(r);if(u===47)return"";if(u===46)return t.codePointAt(r-1)===47?"":t.slice(r)}return""}function rg(e,t,r){let u=tg(e);if(u===".js"){let a=Es(e);return a!=="none"?a:"commonjs"}if(u===""){let a=Es(e);return a==="none"||a==="commonjs"?"commonjs":"module"}let n=Jd[u];if(n)return n;if(r)return;let i=Pd(e);throw new Xd(u,i)}function vs(){}function tl(e,t){let r=e.protocol;return Qd.call(Fs,r)&&Fs[r](e,t,!0)||null}var{ERR_INVALID_ARG_VALUE:ug}=Oe,rl=Object.freeze(["node","import"]),ng=new Set(rl);function ig(){return rl}function ag(){return ng}function sg(e){if(e!==void 0&&e!==ig()){if(!Array.isArray(e))throw new ug("conditions",e,"expected an array");return new Set(e)}return ag()}var hu=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:Tn,ERR_INVALID_MODULE_SPECIFIER:qu,ERR_INVALID_PACKAGE_CONFIG:ul,ERR_INVALID_PACKAGE_TARGET:og,ERR_MODULE_NOT_FOUND:ki,ERR_PACKAGE_IMPORT_NOT_DEFINED:lg,ERR_PACKAGE_PATH_NOT_EXPORTED:cg,ERR_UNSUPPORTED_DIR_IMPORT:fg,ERR_UNSUPPORTED_RESOLVE_REQUEST:Cs}=Oe,nl={}.hasOwnProperty,As=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,ys=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,Dg=/^\.|%|\\/,pu=/\*/g,hg=/%2f|%5c/i,_s=new Set,pg=/[/\\]{2}/;function bs(e,t,r,u,n,i,a){if(ar.noDeprecation)return;let s=De(u),o=pg.exec(a?e:t)!==null;ar.emitWarning(`Use of deprecated ${o?"double slash":"leading or trailing slash matching"} resolving "${e}" for module request "${t}" ${t===r?"":`matched to "${r}" `}in the "${n?"imports":"exports"}" field module resolution of the package at ${s}${i?` imported from ${De(i)}`:""}.`,"DeprecationWarning","DEP0166")}function ws(e,t,r,u){if(ar.noDeprecation||tl(e,{parentURL:r.href})!=="module")return;let i=De(e.href),a=De(new Ee(".",t)),s=De(r);u?Jo.resolve(a,u)!==i&&ar.emitWarning(`Package ${a} has a "main" field set to "${u}", excluding the full filename and extension to the resolved file at "${i.slice(a.length)}", imported from ${s}.
635
638
  Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):ar.emitWarning(`No "main" or "exports" field defined in the package.json for ${a} resolving the main entry point "${i.slice(a.length)}", imported from ${s}.
636
- Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function il(e){try{return Qo(e)}catch{}}function kn(e){let t=Qo(e,{throwIfNoEntry:!1}),r=t?t.isFile():void 0;return r??!1}function dg(e,t,r){let u;if(t.main!==void 0){if(u=new Ee(t.main,e),kn(u))return u;let a=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`],s=-1;for(;++s<a.length&&(u=new Ee(a[s],e),!kn(u));)u=void 0;if(u)return ws(u,e,r,t.main),u}let n=["./index.js","./index.json","./index.node"],i=-1;for(;++i<n.length&&(u=new Ee(n[i],e),!kn(u));)u=void 0;if(u)return ws(u,e,r,t.main),u;throw new ki(De(new Ee(".",e)),De(r))}function gg(e,t,r){if(hg.exec(e.pathname)!==null)throw new qu(e.pathname,'must not include encoded "/" or "\\" characters',De(t));let u;try{u=De(e)}catch(i){let a=i;throw Object.defineProperty(a,"input",{value:String(e)}),Object.defineProperty(a,"module",{value:String(t)}),a}let n=il(u.endsWith("/")?u.slice(-1):u);if(n&&n.isDirectory()){let i=new fg(u,De(t));throw i.url=String(e),i}if(!n||!n.isFile()){let i=new ki(u||e.pathname,t&&De(t),!0);throw i.url=String(e),i}if(!r){let i=Nd(u),{search:a,hash:s}=e;e=Ri(i+(u.endsWith(Jo.sep)?"/":"")),e.search=a,e.hash=s}return e}function mg(e,t,r){return new lg(e,t&&De(new Ee(".",t)),De(r))}function In(e,t,r){return new cg(De(new Ee(".",t)),e,r&&De(r))}function Eg(e,t,r,u,n){let i=`request is not a valid match in pattern "${t}" for the "${u?"imports":"exports"}" resolution of ${De(r)}`;throw new qu(e,i,n&&De(n))}function Ur(e,t,r,u,n){return t=typeof t=="object"&&t!==null?JSON.stringify(t,null,""):`${t}`,new og(De(new Ee(".",r)),e,t,u,n&&De(n))}function Fg(e,t,r,u,n,i,a,s,o){if(t!==""&&!i&&e[e.length-1]!=="/")throw Ur(r,e,u,a,n);if(!e.startsWith("./")){if(a&&!e.startsWith("../")&&!e.startsWith("/")){let h=!1;try{new Ee(e),h=!0}catch{}if(!h){let p=i?hu.call(pu,e,()=>t):e+t;return sl(p,u,o)}}throw Ur(r,e,u,a,n)}if(As.exec(e.slice(2))!==null)if(ys.exec(e.slice(2))===null){if(!s){let h=i?r.replace("*",()=>t):r+t,p=i?hu.call(pu,e,()=>t):e;bs(p,h,r,u,a,n,!0)}}else throw Ur(r,e,u,a,n);let l=new Ee(e,u),f=l.pathname,c=new Ee(".",u).pathname;if(!f.startsWith(c))throw Ur(r,e,u,a,n);if(t==="")return l;if(As.exec(t)!==null){let h=i?r.replace("*",()=>t):r+t;if(ys.exec(t)===null){if(!s){let p=i?hu.call(pu,e,()=>t):e;bs(p,h,r,u,a,n,!1)}}else Eg(h,r,u,a,n)}return i?new Ee(hu.call(pu,l.href,()=>t)):new Ee(t,l)}function vg(e){let t=Number(e);return`${t}`!==e?!1:t>=0&&t<4294967295}function _r(e,t,r,u,n,i,a,s,o){if(typeof t=="string")return Fg(t,r,u,e,n,i,a,s,o);if(Array.isArray(t)){let l=t;if(l.length===0)return null;let f,c=-1;for(;++c<l.length;){let h=l[c],p;try{p=_r(e,h,r,u,n,i,a,s,o)}catch(D){let g=D;if(f=g,g.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw D}if(p!==void 0){if(p===null){f=null;continue}return p}}if(f==null)return null;throw f}if(typeof t=="object"&&t!==null){let l=Object.getOwnPropertyNames(t),f=-1;for(;++f<l.length;){let c=l[f];if(vg(c))throw new ul(De(e),n,'"exports" cannot contain numeric property keys.')}for(f=-1;++f<l.length;){let c=l[f];if(c==="default"||o&&o.has(c)){let h=t[c],p=_r(e,h,r,u,n,i,a,s,o);if(p===void 0)continue;return p}}return null}if(t===null)return null;throw Ur(u,t,e,a,n)}function Cg(e,t,r){if(typeof e=="string"||Array.isArray(e))return!0;if(typeof e!="object"||e===null)return!1;let u=Object.getOwnPropertyNames(e),n=!1,i=0,a=-1;for(;++a<u.length;){let s=u[a],o=s===""||s[0]!==".";if(i++===0)n=o;else if(n!==o)throw new ul(De(t),r,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return n}function Ag(e,t,r){if(ar.noDeprecation)return;let u=De(t);_s.has(u+"|"+e)||(_s.add(u+"|"+e),ar.emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${u}${r?` imported from ${De(r)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function Bs(e,t,r,u,n){let i=r.exports;if(Cg(i,e,u)&&(i={".":i}),nl.call(i,t)&&!t.includes("*")&&!t.endsWith("/")){let f=i[t],c=_r(e,f,"",t,u,!1,!1,!1,n);if(c==null)throw In(t,e,u);return c}let a="",s="",o=Object.getOwnPropertyNames(i),l=-1;for(;++l<o.length;){let f=o[l],c=f.indexOf("*");if(c!==-1&&t.startsWith(f.slice(0,c))){t.endsWith("/")&&Ag(t,e,u);let h=f.slice(c+1);t.length>=f.length&&t.endsWith(h)&&al(a,f)===1&&f.lastIndexOf("*")===c&&(a=f,s=t.slice(c,t.length-h.length))}}if(a){let f=i[a],c=_r(e,f,s,a,u,!0,!1,t.endsWith("/"),n);if(c==null)throw In(t,e,u);return c}throw In(t,e,u)}function al(e,t){let r=e.indexOf("*"),u=t.indexOf("*"),n=r===-1?e.length:r+1,i=u===-1?t.length:u+1;return n>i?-1:i>n||r===-1?1:u===-1||e.length>t.length?-1:t.length>e.length?1:0}function yg(e,t,r){if(e==="#"||e.startsWith("#/")||e.endsWith("/")){let i="is not a valid internal imports specifier name";throw new qu(e,i,De(t))}let u,n=Ti(t);if(n.exists){u=Ri(n.pjsonPath);let i=n.imports;if(i)if(nl.call(i,e)&&!e.includes("*")){let a=_r(u,i[e],"",e,t,!1,!0,!1,r);if(a!=null)return a}else{let a="",s="",o=Object.getOwnPropertyNames(i),l=-1;for(;++l<o.length;){let f=o[l],c=f.indexOf("*");if(c!==-1&&e.startsWith(f.slice(0,-1))){let h=f.slice(c+1);e.length>=f.length&&e.endsWith(h)&&al(a,f)===1&&f.lastIndexOf("*")===c&&(a=f,s=e.slice(c,e.length-h.length))}}if(a){let f=i[a],c=_r(u,f,s,a,t,!0,!0,!1,r);if(c!=null)return c}}}throw mg(e,u,t)}function _g(e,t){let r=e.indexOf("/"),u=!0,n=!1;e[0]==="@"&&(n=!0,r===-1||e.length===0?u=!1:r=e.indexOf("/",r+1));let i=r===-1?e:e.slice(0,r);if(Dg.exec(i)!==null&&(u=!1),!u)throw new qu(e,"is not a valid package name",De(t));let a="."+(r===-1?"":e.slice(r));return{packageName:i,packageSubpath:a,isScoped:n}}function sl(e,t,r){if(Oi.includes(e))return new Ee("node:"+e);let{packageName:u,packageSubpath:n,isScoped:i}=_g(e,t),a=Ti(t);if(a.exists){let f=Ri(a.pjsonPath);if(a.name===u&&a.exports!==void 0&&a.exports!==null)return Bs(f,n,a,t,r)}let s=new Ee("./node_modules/"+u+"/package.json",t),o=De(s),l;do{let f=il(o.slice(0,-13));if(!f||!f.isDirectory()){l=o,s=new Ee((i?"../../../../node_modules/":"../../../node_modules/")+u+"/package.json",s),o=De(s);continue}let c=el(o,{base:t,specifier:e});return c.exports!==void 0&&c.exports!==null?Bs(s,n,c,t,r):n==="."?dg(s,c,t):new Ee(n,s)}while(o.length!==l.length);throw new ki(u,De(t),!1)}function bg(e){return e[0]==="."&&(e.length===1||e[1]==="/"||e[1]==="."&&(e.length===2||e[2]==="/"))}function Ii(e){return e===""?!1:e[0]==="/"?!0:bg(e)}function wg(e,t,r,u){let n=t.protocol,a=n==="data:"||n==="http:"||n==="https:",s;if(Ii(e))try{s=new Ee(e,t)}catch(o){let l=new Cs(e,t);throw l.cause=o,l}else if(n==="file:"&&e[0]==="#")s=yg(e,t,r);else try{s=new Ee(e)}catch(o){if(a&&!Oi.includes(e)){let l=new Cs(e,t);throw l.cause=o,l}s=sl(e,t,r)}return Xo(s!==void 0,"expected to be defined"),s.protocol!=="file:"?s:gg(s,t,u)}function Bg(e,t,r){if(r){let u=r.protocol;if(u==="http:"||u==="https:"){if(Ii(e)){let n=t?.protocol;if(n&&n!=="https:"&&n!=="http:")throw new Tn(e,r,"remote imports cannot import from a local location.");return{url:t?.href||""}}throw Oi.includes(e)?new Tn(e,r,"remote imports cannot import from a local location."):new Tn(e,r,"only relative and absolute specifiers are supported.")}}}function Sg(e){return!!(e&&typeof e=="object"&&"href"in e&&typeof e.href=="string"&&"protocol"in e&&typeof e.protocol=="string"&&e.href&&e.protocol)}function Rg(e){if(e!==void 0&&typeof e!="string"&&!Sg(e))throw new Oe.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],e)}function Og(e,t={}){let{parentURL:r}=t;Xo(r!==void 0,"expected `parentURL` to be defined"),Rg(r);let u;if(r)try{u=new Ee(r)}catch{}let n,i;try{if(n=Ii(e)?new Ee(e,u):new Ee(e),i=n.protocol,i==="data:")return{url:n.href,format:null}}catch{}let a=Bg(e,n,u);if(a)return a;if(i===void 0&&n&&(i=n.protocol),i==="node:")return{url:e};if(n&&n.protocol==="node:")return{url:e};let s=sg(t.conditions),o=wg(e,new Ee(r),s,!1);return{url:o.href,format:tl(o,{parentURL:r})}}function Tg(e,t){if(!t)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return Og(e,{parentURL:t}).url}catch(r){let u=r;if((u.code==="ERR_UNSUPPORTED_DIR_IMPORT"||u.code==="ERR_MODULE_NOT_FOUND")&&typeof u.url=="string")return u.url;throw r}}function kg(e,t){return import(Tg(e,Id(t).href))}var ol=kg;function Ng(e,t){return Ig(t)(e)}var Pg=Ng,Lg=new Set(["MODULE_NOT_FOUND","ERR_REQUIRE_ESM","ERR_PACKAGE_PATH_NOT_EXPORTED"]);async function xg(e,t){try{return Pg(e,t)}catch(u){if(!Lg.has(u?.code))throw u}return(await ol(e,t)).default}var jg=xg;async function Mg(e){let{base:t,ext:r}=kd.parse(e),u=t==="package.json"?Ko:t==="package.yaml"?zo:Bd[r];if(!u)throw new Error(`No loader specified for extension "${r||"noExt"}"`);let n=await u(e);if(n){if(typeof n=="string"&&(n=await jg(n,e)),typeof n!="object")throw new TypeError(`Config is only allowed to be an object, but received ${typeof n} in "${e}"`);return delete n.$schema,n}}var $g=Mg,_u=new Map,bu=new Map;function Ug(){_u.clear(),bu.clear()}function Hg(e,{shouldCache:t}){return e=Ai.resolve(e),(!t||!_u.has(e))&&_u.set(e,$g(e)),_u.get(e)}function Gg(e){if(e=e?Ai.resolve(e):void 0,!bu.has(e)){let t=Td(e),r=t.search.bind(t);bu.set(e,r)}return bu.get(e)}function ll(e,t={}){e=e?Ai.resolve(e):process.cwd();let r=yi.getPrettierConfigSearchStopDirectory();return Gg(r)(e,{shouldCache:t.shouldCache})}function Wg(){Ug(),sh()}function qg(e,t){if(!e||!t.editorconfig)return;let r=t.useCache;return lh(e,{shouldCache:r})}async function Vg(e,t){let r=t.useCache,u=t.config;if(!u){let i=e?Nt.dirname(Nt.resolve(e)):void 0;u=await ll(i,{shouldCache:r})}return u?{config:await Hg(u,{shouldCache:r}),configFile:u}:void 0}async function cl(e,t){t={useCache:!0,...t};let r=Sr(e),[u,n]=await Promise.all([Vg(r,t),qg(r,t)]);if(!u&&!n)return null;let i={...n,...Kg(u,r)};return Array.isArray(i.plugins)&&(i.plugins=i.plugins.map(a=>typeof a=="string"&&a.startsWith(".")?Nt.resolve(Nt.dirname(u.configFile),a):a)),i}async function Yg(e){let t=e?Nt.dirname(Nt.resolve(Sr(e))):void 0;return await ll(t,{shouldCache:!1})??null}function Kg(e,t){let{config:r,configFile:u}=e||{},{overrides:n,...i}=r||{};if(t&&n){let a=Nt.relative(Nt.dirname(u),t);for(let s of n)zg(a,s.files,s.excludeFiles)&&Object.assign(i,s.options)}return i}function zg(e,t,r){let u=Array.isArray(t)?t:[t],[n,i]=bo(u,a=>a.includes("/"));return ts.default.isMatch(e,i,{ignore:r,basename:!0,dot:!0})||ts.default.isMatch(e,n,{ignore:r,basename:!1,dot:!0})}var Xg=(e,t,r,u)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,u):r.global?t.replace(r,u):t.split(r).join(u)},Zr=Xg,Qg=dt(rD(),1),Zg=Qg.default.default,em=wu.sep==="\\"?e=>Zr(!1,e,"\\","/"):e=>e;function tm(e,t){let r=Sr(t),u=_o(e)?Jg.fileURLToPath(e):wu.resolve(e);return wu.relative(r?wu.dirname(r):process.cwd(),u)}async function rm(e,t){let r="";if(e&&(r+=await Qr(e)??""),t||(r+=`
639
+ Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function il(e){try{return Qo(e)}catch{}}function kn(e){let t=Qo(e,{throwIfNoEntry:!1}),r=t?t.isFile():void 0;return r??!1}function dg(e,t,r){let u;if(t.main!==void 0){if(u=new Ee(t.main,e),kn(u))return u;let a=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`],s=-1;for(;++s<a.length&&(u=new Ee(a[s],e),!kn(u));)u=void 0;if(u)return ws(u,e,r,t.main),u}let n=["./index.js","./index.json","./index.node"],i=-1;for(;++i<n.length&&(u=new Ee(n[i],e),!kn(u));)u=void 0;if(u)return ws(u,e,r,t.main),u;throw new ki(De(new Ee(".",e)),De(r))}function gg(e,t,r){if(hg.exec(e.pathname)!==null)throw new qu(e.pathname,'must not include encoded "/" or "\\" characters',De(t));let u;try{u=De(e)}catch(i){let a=i;throw Object.defineProperty(a,"input",{value:String(e)}),Object.defineProperty(a,"module",{value:String(t)}),a}let n=il(u.endsWith("/")?u.slice(-1):u);if(n&&n.isDirectory()){let i=new fg(u,De(t));throw i.url=String(e),i}if(!n||!n.isFile()){let i=new ki(u||e.pathname,t&&De(t),!0);throw i.url=String(e),i}if(!r){let i=Nd(u),{search:a,hash:s}=e;e=Ri(i+(u.endsWith(Jo.sep)?"/":"")),e.search=a,e.hash=s}return e}function mg(e,t,r){return new lg(e,t&&De(new Ee(".",t)),De(r))}function In(e,t,r){return new cg(De(new Ee(".",t)),e,r&&De(r))}function Eg(e,t,r,u,n){let i=`request is not a valid match in pattern "${t}" for the "${u?"imports":"exports"}" resolution of ${De(r)}`;throw new qu(e,i,n&&De(n))}function Ur(e,t,r,u,n){return t=typeof t=="object"&&t!==null?JSON.stringify(t,null,""):`${t}`,new og(De(new Ee(".",r)),e,t,u,n&&De(n))}function Fg(e,t,r,u,n,i,a,s,o){if(t!==""&&!i&&e[e.length-1]!=="/")throw Ur(r,e,u,a,n);if(!e.startsWith("./")){if(a&&!e.startsWith("../")&&!e.startsWith("/")){let h=!1;try{new Ee(e),h=!0}catch{}if(!h){let p=i?hu.call(pu,e,()=>t):e+t;return sl(p,u,o)}}throw Ur(r,e,u,a,n)}if(As.exec(e.slice(2))!==null)if(ys.exec(e.slice(2))===null){if(!s){let h=i?r.replace("*",()=>t):r+t,p=i?hu.call(pu,e,()=>t):e;bs(p,h,r,u,a,n,!0)}}else throw Ur(r,e,u,a,n);let l=new Ee(e,u),f=l.pathname,c=new Ee(".",u).pathname;if(!f.startsWith(c))throw Ur(r,e,u,a,n);if(t==="")return l;if(As.exec(t)!==null){let h=i?r.replace("*",()=>t):r+t;if(ys.exec(t)===null){if(!s){let p=i?hu.call(pu,e,()=>t):e;bs(p,h,r,u,a,n,!1)}}else Eg(h,r,u,a,n)}return i?new Ee(hu.call(pu,l.href,()=>t)):new Ee(t,l)}function vg(e){let t=Number(e);return`${t}`!==e?!1:t>=0&&t<4294967295}function _r(e,t,r,u,n,i,a,s,o){if(typeof t=="string")return Fg(t,r,u,e,n,i,a,s,o);if(Array.isArray(t)){let l=t;if(l.length===0)return null;let f,c=-1;for(;++c<l.length;){let h=l[c],p;try{p=_r(e,h,r,u,n,i,a,s,o)}catch(D){let g=D;if(f=g,g.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw D}if(p!==void 0){if(p===null){f=null;continue}return p}}if(f==null)return null;throw f}if(typeof t=="object"&&t!==null){let l=Object.getOwnPropertyNames(t),f=-1;for(;++f<l.length;){let c=l[f];if(vg(c))throw new ul(De(e),n,'"exports" cannot contain numeric property keys.')}for(f=-1;++f<l.length;){let c=l[f];if(c==="default"||o&&o.has(c)){let h=t[c],p=_r(e,h,r,u,n,i,a,s,o);if(p===void 0)continue;return p}}return null}if(t===null)return null;throw Ur(u,t,e,a,n)}function Cg(e,t,r){if(typeof e=="string"||Array.isArray(e))return!0;if(typeof e!="object"||e===null)return!1;let u=Object.getOwnPropertyNames(e),n=!1,i=0,a=-1;for(;++a<u.length;){let s=u[a],o=s===""||s[0]!==".";if(i++===0)n=o;else if(n!==o)throw new ul(De(t),r,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return n}function Ag(e,t,r){if(ar.noDeprecation)return;let u=De(t);_s.has(u+"|"+e)||(_s.add(u+"|"+e),ar.emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${u}${r?` imported from ${De(r)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function Bs(e,t,r,u,n){let i=r.exports;if(Cg(i,e,u)&&(i={".":i}),nl.call(i,t)&&!t.includes("*")&&!t.endsWith("/")){let f=i[t],c=_r(e,f,"",t,u,!1,!1,!1,n);if(c==null)throw In(t,e,u);return c}let a="",s="",o=Object.getOwnPropertyNames(i),l=-1;for(;++l<o.length;){let f=o[l],c=f.indexOf("*");if(c!==-1&&t.startsWith(f.slice(0,c))){t.endsWith("/")&&Ag(t,e,u);let h=f.slice(c+1);t.length>=f.length&&t.endsWith(h)&&al(a,f)===1&&f.lastIndexOf("*")===c&&(a=f,s=t.slice(c,t.length-h.length))}}if(a){let f=i[a],c=_r(e,f,s,a,u,!0,!1,t.endsWith("/"),n);if(c==null)throw In(t,e,u);return c}throw In(t,e,u)}function al(e,t){let r=e.indexOf("*"),u=t.indexOf("*"),n=r===-1?e.length:r+1,i=u===-1?t.length:u+1;return n>i?-1:i>n||r===-1?1:u===-1||e.length>t.length?-1:t.length>e.length?1:0}function yg(e,t,r){if(e==="#"||e.startsWith("#/")||e.endsWith("/")){let i="is not a valid internal imports specifier name";throw new qu(e,i,De(t))}let u,n=Ti(t);if(n.exists){u=Ri(n.pjsonPath);let i=n.imports;if(i)if(nl.call(i,e)&&!e.includes("*")){let a=_r(u,i[e],"",e,t,!1,!0,!1,r);if(a!=null)return a}else{let a="",s="",o=Object.getOwnPropertyNames(i),l=-1;for(;++l<o.length;){let f=o[l],c=f.indexOf("*");if(c!==-1&&e.startsWith(f.slice(0,-1))){let h=f.slice(c+1);e.length>=f.length&&e.endsWith(h)&&al(a,f)===1&&f.lastIndexOf("*")===c&&(a=f,s=e.slice(c,e.length-h.length))}}if(a){let f=i[a],c=_r(u,f,s,a,t,!0,!0,!1,r);if(c!=null)return c}}}throw mg(e,u,t)}function _g(e,t){let r=e.indexOf("/"),u=!0,n=!1;e[0]==="@"&&(n=!0,r===-1||e.length===0?u=!1:r=e.indexOf("/",r+1));let i=r===-1?e:e.slice(0,r);if(Dg.exec(i)!==null&&(u=!1),!u)throw new qu(e,"is not a valid package name",De(t));let a="."+(r===-1?"":e.slice(r));return{packageName:i,packageSubpath:a,isScoped:n}}function sl(e,t,r){if(Oi.includes(e))return new Ee("node:"+e);let{packageName:u,packageSubpath:n,isScoped:i}=_g(e,t),a=Ti(t);if(a.exists){let f=Ri(a.pjsonPath);if(a.name===u&&a.exports!==void 0&&a.exports!==null)return Bs(f,n,a,t,r)}let s=new Ee("./node_modules/"+u+"/package.json",t),o=De(s),l;do{let f=il(o.slice(0,-13));if(!f||!f.isDirectory()){l=o,s=new Ee((i?"../../../../node_modules/":"../../../node_modules/")+u+"/package.json",s),o=De(s);continue}let c=el(o,{base:t,specifier:e});return c.exports!==void 0&&c.exports!==null?Bs(s,n,c,t,r):n==="."?dg(s,c,t):new Ee(n,s)}while(o.length!==l.length);throw new ki(u,De(t),!1)}function bg(e){return e[0]==="."&&(e.length===1||e[1]==="/"||e[1]==="."&&(e.length===2||e[2]==="/"))}function Ii(e){return e===""?!1:e[0]==="/"?!0:bg(e)}function wg(e,t,r,u){let n=t.protocol,a=n==="data:"||n==="http:"||n==="https:",s;if(Ii(e))try{s=new Ee(e,t)}catch(o){let l=new Cs(e,t);throw l.cause=o,l}else if(n==="file:"&&e[0]==="#")s=yg(e,t,r);else try{s=new Ee(e)}catch(o){if(a&&!Oi.includes(e)){let l=new Cs(e,t);throw l.cause=o,l}s=sl(e,t,r)}return Xo(s!==void 0,"expected to be defined"),s.protocol!=="file:"?s:gg(s,t,u)}function Bg(e,t,r){if(r){let u=r.protocol;if(u==="http:"||u==="https:"){if(Ii(e)){let n=t?.protocol;if(n&&n!=="https:"&&n!=="http:")throw new Tn(e,r,"remote imports cannot import from a local location.");return{url:t?.href||""}}throw Oi.includes(e)?new Tn(e,r,"remote imports cannot import from a local location."):new Tn(e,r,"only relative and absolute specifiers are supported.")}}}function Sg(e){return!!(e&&typeof e=="object"&&"href"in e&&typeof e.href=="string"&&"protocol"in e&&typeof e.protocol=="string"&&e.href&&e.protocol)}function Rg(e){if(e!==void 0&&typeof e!="string"&&!Sg(e))throw new Oe.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],e)}function Og(e,t={}){let{parentURL:r}=t;Xo(r!==void 0,"expected `parentURL` to be defined"),Rg(r);let u;if(r)try{u=new Ee(r)}catch{}let n,i;try{if(n=Ii(e)?new Ee(e,u):new Ee(e),i=n.protocol,i==="data:")return{url:n.href,format:null}}catch{}let a=Bg(e,n,u);if(a)return a;if(i===void 0&&n&&(i=n.protocol),i==="node:")return{url:e};if(n&&n.protocol==="node:")return{url:e};let s=sg(t.conditions),o=wg(e,new Ee(r),s,!1);return{url:o.href,format:tl(o,{parentURL:r})}}function Tg(e,t){if(!t)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return Og(e,{parentURL:t}).url}catch(r){let u=r;if((u.code==="ERR_UNSUPPORTED_DIR_IMPORT"||u.code==="ERR_MODULE_NOT_FOUND")&&typeof u.url=="string")return u.url;throw r}}function kg(e,t){return import(Tg(e,Id(t).href))}var ol=kg;function Ng(e,t){return Ig(t)(e)}var Pg=Ng,Lg=new Set(["MODULE_NOT_FOUND","ERR_REQUIRE_ESM","ERR_PACKAGE_PATH_NOT_EXPORTED"]);async function xg(e,t){try{return Pg(e,t)}catch(u){if(!Lg.has(u?.code))throw u}return(await ol(e,t)).default}var jg=xg;async function Mg(e){let{base:t,ext:r}=kd.parse(e),u=t==="package.json"?Ko:t==="package.yaml"?zo:Bd[r];if(!u)throw new Error(`No loader specified for extension "${r||"noExt"}"`);let n=await u(e);if(n){if(typeof n=="string"&&(n=await jg(n,e)),typeof n!="object")throw new TypeError(`Config is only allowed to be an object, but received ${typeof n} in "${e}"`);return delete n.$schema,n}}var $g=Mg,_u=new Map,bu=new Map;function Ug(){_u.clear(),bu.clear()}function Hg(e,{shouldCache:t}){return e=Ai.resolve(e),(!t||!_u.has(e))&&_u.set(e,$g(e)),_u.get(e)}function Wg(e){if(e=e?Ai.resolve(e):void 0,!bu.has(e)){let t=Td(e),r=t.search.bind(t);bu.set(e,r)}return bu.get(e)}function ll(e,t={}){e=e?Ai.resolve(e):process.cwd();let r=yi.getPrettierConfigSearchStopDirectory();return Wg(r)(e,{shouldCache:t.shouldCache})}function Gg(){Ug(),sh()}function qg(e,t){if(!e||!t.editorconfig)return;let r=t.useCache;return lh(e,{shouldCache:r})}async function Vg(e,t){let r=t.useCache,u=t.config;if(!u){let i=e?Nt.dirname(Nt.resolve(e)):void 0;u=await ll(i,{shouldCache:r})}return u?{config:await Hg(u,{shouldCache:r}),configFile:u}:void 0}async function cl(e,t){t={useCache:!0,...t};let r=Sr(e),[u,n]=await Promise.all([Vg(r,t),qg(r,t)]);if(!u&&!n)return null;let i={...n,...Kg(u,r)};return Array.isArray(i.plugins)&&(i.plugins=i.plugins.map(a=>typeof a=="string"&&a.startsWith(".")?Nt.resolve(Nt.dirname(u.configFile),a):a)),i}async function Yg(e){let t=e?Nt.dirname(Nt.resolve(Sr(e))):void 0;return await ll(t,{shouldCache:!1})??null}function Kg(e,t){let{config:r,configFile:u}=e||{},{overrides:n,...i}=r||{};if(t&&n){let a=Nt.relative(Nt.dirname(u),t);for(let s of n)zg(a,s.files,s.excludeFiles)&&Object.assign(i,s.options)}return i}function zg(e,t,r){let u=Array.isArray(t)?t:[t],[n,i]=bo(u,a=>a.includes("/"));return ts.default.isMatch(e,i,{ignore:r,basename:!0,dot:!0})||ts.default.isMatch(e,n,{ignore:r,basename:!1,dot:!0})}var Xg=(e,t,r,u)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,u):r.global?t.replace(r,u):t.split(r).join(u)},Zr=Xg,Qg=dt(rD(),1),Zg=Qg.default.default,em=wu.sep==="\\"?e=>Zr(!1,e,"\\","/"):e=>e;function tm(e,t){let r=Sr(t),u=_o(e)?Jg.fileURLToPath(e):wu.resolve(e);return wu.relative(r?wu.dirname(r):process.cwd(),u)}async function rm(e,t){let r="";if(e&&(r+=await Qr(e)??""),t||(r+=`
637
640
  node_modules`),!r)return;let u=Zg({allowRelativePaths:!0}).add(r);return n=>u.ignores(em(tm(n,e)))}async function fl(e,t){e.length===0&&!t&&(e=[void 0]);let r=(await Promise.all(e.map(u=>rm(u,t)))).filter(Boolean);return u=>r.some(n=>n(u))}async function um(e,t){let{ignorePath:r,withNodeModules:u}=t;return(await fl(r,u))(e)}var nm=dt(uD(),1);function im(e){let t;try{t=Ss.openSync(e,"r")}catch{return}try{let u=new nm.default(t).next().toString("utf8"),n=u.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/u);if(n)return n[1];let i=u.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/u);if(i)return i[1]}finally{try{Ss.closeSync(t)}catch{}}}var am=im,Dl=e=>String(e).split(/[/\\]/u).pop();function Rs(e,t){if(!t)return;let r=Dl(t).toLowerCase();return e.find(({filenames:u})=>u?.some(n=>n.toLowerCase()===r))??e.find(({extensions:u})=>u?.some(n=>r.endsWith(n)))}function sm(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r?.includes(t))??e.find(({extensions:r})=>r?.includes(`.${t}`))}function om(e,t){if(!t||Dl(t).includes("."))return;let r=am(t);if(r)return e.find(({interpreters:u})=>u?.includes(r))}function lm(e,t){let r=e.plugins.flatMap(n=>n.languages??[]),u=sm(r,t.language)??Rs(r,t.physicalFile)??Rs(r,t.file)??om(r,t.physicalFile);return u?.parsers[0]}var hl=lm;async function cm(e,t){if(typeof e!="string"&&!(e instanceof URL))throw new TypeError(`expect \`file\` to be a string or URL, got \`${typeof e}\``);let{ignorePath:r,withNodeModules:u}=t;Array.isArray(r)||(r=[r]);let n=await um(e,{ignorePath:r,withNodeModules:u}),i;return n||(i=await fm(e,t)),{ignored:n,inferredParser:i??null}}async function fm(e,t){let r;return t.resolveConfig!==!1&&(r=await cl(e)),r?.parser??hl(t,{physicalFile:e})}var Dm=cm;function hm(e){let t=e.indexOf("\r");return t>=0?e.charAt(t+1)===`
638
641
  `?"crlf":"cr":"lf"}function Ni(e){switch(e){case"cr":return"\r";case"crlf":return`\r
639
642
  `;default:return`
640
643
  `}}function pl(e,t){let r;switch(t){case`
641
644
  `:r=/\n/gu;break;case"\r":r=/\r/gu;break;case`\r
642
645
  `:r=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let u=e.match(r);return u?u.length:0}function pm(e){return Zr(!1,e,/\r\n?/gu,`
643
- `)}var lr="string",pt="array",cr="cursor",mt="indent",Et="align",$t="trim",Ge="group",st="fill",Je="if-break",Ut="indent-if-break",Ft="line-suffix",Ht="line-suffix-boundary",We="line",vt="label",Ze="break-parent",dl=new Set([cr,mt,Et,$t,Ge,st,Je,Ut,Ft,Ht,We,vt,Ze]);function dm(e){if(typeof e=="string")return lr;if(Array.isArray(e))return pt;if(!e)return;let{type:t}=e;if(dl.has(t))return t}var fr=dm,gm=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function mm(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}',
646
+ `)}var lr="string",pt="array",cr="cursor",mt="indent",Et="align",$t="trim",We="group",st="fill",Je="if-break",Ut="indent-if-break",Ft="line-suffix",Ht="line-suffix-boundary",Ge="line",vt="label",Ze="break-parent",dl=new Set([cr,mt,Et,$t,We,st,Je,Ut,Ft,Ht,Ge,vt,Ze]);function dm(e){if(typeof e=="string")return lr;if(Array.isArray(e))return pt;if(!e)return;let{type:t}=e;if(dl.has(t))return t}var fr=dm,gm=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function mm(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}',
644
647
  Expected it to be 'string' or 'object'.`;if(fr(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let u=gm([...dl].map(n=>`'${n}'`));return`Unexpected doc.type '${e.type}'.
645
- Expected it to be ${u}.`}var Em=class extends Error{name="InvalidDocError";constructor(e){super(mm(e)),this.doc=e}},br=Em,Os={};function Fm(e,t,r,u){let n=[e];for(;n.length>0;){let i=n.pop();if(i===Os){r(n.pop());continue}r&&n.push(i,Os);let a=fr(i);if(!a)throw new br(i);if(t?.(i)!==!1)switch(a){case pt:case st:{let s=a===pt?i:i.parts;for(let o=s.length,l=o-1;l>=0;--l)n.push(s[l]);break}case Je:n.push(i.flatContents,i.breakContents);break;case Ge:if(u&&i.expandedStates)for(let s=i.expandedStates.length,o=s-1;o>=0;--o)n.push(i.expandedStates[o]);else n.push(i.contents);break;case Et:case mt:case Ut:case vt:case Ft:n.push(i.contents);break;case lr:case cr:case $t:case Ht:case We:case Ze:break;default:throw new br(i)}}}var vm=Fm,gl=()=>{},Vu=gl,Cm=gl;function ui(e){return Vu(e),{type:mt,contents:e}}function Ts(e,t){return Vu(t),{type:Et,contents:t,n:e}}function Am(e){return Cm(e),{type:st,parts:e}}function ks(e){return Vu(e),{type:Ft,contents:e}}var ml={type:Ze},El={type:We,hard:!0},ym={type:We},Ar=[El,ml],Is={type:cr};function _m(e,t,r){Vu(e);let u=e;if(t>0){for(let n=0;n<Math.floor(t/r);++n)u=ui(u);u=Ts(t%r,u),u=Ts(Number.NEGATIVE_INFINITY,u)}return u}function ct(e){var t;if(!e)return"";if(Array.isArray(e)){let r=[];for(let u of e)if(Array.isArray(u))r.push(...ct(u));else{let n=ct(u);n!==""&&r.push(n)}return r}return e.type===Je?{...e,breakContents:ct(e.breakContents),flatContents:ct(e.flatContents)}:e.type===Ge?{...e,contents:ct(e.contents),expandedStates:(t=e.expandedStates)==null?void 0:t.map(ct)}:e.type===st?{type:"fill",parts:e.parts.map(ct)}:e.contents?{...e,contents:ct(e.contents)}:e}function bm(e){let t=Object.create(null),r=new Set;return u(ct(e));function u(i,a,s){var o,l;if(typeof i=="string")return JSON.stringify(i);if(Array.isArray(i)){let f=i.map(u).filter(Boolean);return f.length===1?f[0]:`[${f.join(", ")}]`}if(i.type===We){let f=((o=s?.[a+1])==null?void 0:o.type)===Ze;return i.literal?f?"literalline":"literallineWithoutBreakParent":i.hard?f?"hardline":"hardlineWithoutBreakParent":i.soft?"softline":"line"}if(i.type===Ze)return((l=s?.[a-1])==null?void 0:l.type)===We&&s[a-1].hard?void 0:"breakParent";if(i.type===$t)return"trim";if(i.type===mt)return"indent("+u(i.contents)+")";if(i.type===Et)return i.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+u(i.contents)+")":i.n<0?"dedent("+u(i.contents)+")":i.n.type==="root"?"markAsRoot("+u(i.contents)+")":"align("+JSON.stringify(i.n)+", "+u(i.contents)+")";if(i.type===Je)return"ifBreak("+u(i.breakContents)+(i.flatContents?", "+u(i.flatContents):"")+(i.groupId?(i.flatContents?"":', ""')+`, { groupId: ${n(i.groupId)} }`:"")+")";if(i.type===Ut){let f=[];i.negate&&f.push("negate: true"),i.groupId&&f.push(`groupId: ${n(i.groupId)}`);let c=f.length>0?`, { ${f.join(", ")} }`:"";return`indentIfBreak(${u(i.contents)}${c})`}if(i.type===Ge){let f=[];i.break&&i.break!=="propagated"&&f.push("shouldBreak: true"),i.id&&f.push(`id: ${n(i.id)}`);let c=f.length>0?`, { ${f.join(", ")} }`:"";return i.expandedStates?`conditionalGroup([${i.expandedStates.map(h=>u(h)).join(",")}]${c})`:`group(${u(i.contents)}${c})`}if(i.type===st)return`fill([${i.parts.map(f=>u(f)).join(", ")}])`;if(i.type===Ft)return"lineSuffix("+u(i.contents)+")";if(i.type===Ht)return"lineSuffixBoundary";if(i.type===vt)return`label(${JSON.stringify(i.label)}, ${u(i.contents)})`;throw new Error("Unknown doc type "+i.type)}function n(i){if(typeof i!="symbol")return JSON.stringify(String(i));if(i in t)return t[i];let a=i.description||"symbol";for(let s=0;;s++){let o=a+(s>0?` #${s}`:"");if(!r.has(o))return r.add(o),t[i]=`Symbol.for(${JSON.stringify(o)})`}}}var wm=(e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},Se=wm,Bm=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Sm(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Rm(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var Om=e=>!(Sm(e)||Rm(e)),Tm=/[^\x20-\x7F]/u;function km(e){if(!e)return 0;if(!Tm.test(e))return e.length;e=e.replace(Bm()," ");let t=0;for(let r of e){let u=r.codePointAt(0);u<=31||u>=127&&u<=159||u>=768&&u<=879||(t+=Om(u)?1:2)}return t}var Pi=km;function Im(e,t){if(typeof e=="string")return t(e);let r=new Map;return u(e);function u(i){if(r.has(i))return r.get(i);let a=n(i);return r.set(i,a),a}function n(i){switch(fr(i)){case pt:return t(i.map(u));case st:return t({...i,parts:i.parts.map(u)});case Je:return t({...i,breakContents:u(i.breakContents),flatContents:u(i.flatContents)});case Ge:{let{expandedStates:a,contents:s}=i;return a?(a=a.map(u),s=a[0]):s=u(s),t({...i,contents:s,expandedStates:a})}case Et:case mt:case Ut:case vt:case Ft:return t({...i,contents:u(i.contents)});case lr:case cr:case $t:case Ht:case We:case Ze:return t(i);default:throw new br(i)}}}function Ns(e){if(e.length>0){let t=Se(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Nm(e){let t=new Set,r=[];function u(i){if(i.type===Ze&&Ns(r),i.type===Ge){if(r.push(i),t.has(i))return!1;t.add(i)}}function n(i){i.type===Ge&&r.pop().break&&Ns(r)}vm(e,u,n,!0)}function Ps(e){for(e=[...e];e.length>=2&&Se(!1,e,-2).type===We&&Se(!1,e,-1).type===Ze;)e.length-=2;if(e.length>0){let t=Yr(Se(!1,e,-1));e[e.length-1]=t}return e}function Yr(e){switch(fr(e)){case mt:case Ut:case Ge:case Ft:case vt:{let t=Yr(e.contents);return{...e,contents:t}}case Je:return{...e,breakContents:Yr(e.breakContents),flatContents:Yr(e.flatContents)};case st:return{...e,parts:Ps(e.parts)};case pt:return Ps(e);case lr:return e.replace(/[\n\r]*$/u,"");case Et:case cr:case $t:case Ht:case We:case Ze:break;default:throw new br(e)}return e}function Pm(e){return Yr(xm(e))}function Lm(e){switch(fr(e)){case st:if(e.parts.every(t=>t===""))return"";break;case Ge:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Ge&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Et:case mt:case Ut:case Ft:if(!e.contents)return"";break;case Je:if(!e.flatContents&&!e.breakContents)return"";break;case pt:{let t=[];for(let r of e){if(!r)continue;let[u,...n]=Array.isArray(r)?r:[r];typeof u=="string"&&typeof Se(!1,t,-1)=="string"?t[t.length-1]+=u:t.push(u),t.push(...n)}return t.length===0?"":t.length===1?t[0]:t}case lr:case cr:case $t:case Ht:case We:case vt:case Ze:break;default:throw new br(e)}return e}function xm(e){return Im(e,t=>Lm(t))}function Fl(e,t){return e.type===vt?{...e,contents:t(e.contents)}:t(e)}var xe=Symbol("MODE_BREAK"),it=Symbol("MODE_FLAT"),Kr=Symbol("cursor");function vl(){return{value:"",length:0,queue:[]}}function jm(e,t){return ni(e,{type:"indent"},t)}function Mm(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||vl():t<0?ni(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:ni(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function ni(e,t,r){let u=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],n="",i=0,a=0,s=0;for(let D of u)switch(D.type){case"indent":f(),r.useTabs?o(1):l(r.tabWidth);break;case"stringAlign":f(),n+=D.n,i+=D.n.length;break;case"numberAlign":a+=1,s+=D.n;break;default:throw new Error(`Unexpected type '${D.type}'`)}return h(),{...e,value:n,length:i,queue:u};function o(D){n+=" ".repeat(D),i+=r.tabWidth*D}function l(D){n+=" ".repeat(D),i+=D}function f(){r.useTabs?c():h()}function c(){a>0&&o(a),p()}function h(){s>0&&l(s),p()}function p(){a=0,s=0}}function ii(e){let t=0,r=0,u=e.length;e:for(;u--;){let n=e[u];if(n===Kr){r++;continue}for(let i=n.length-1;i>=0;i--){let a=n[i];if(a===" "||a===" ")t++;else{e[u]=n.slice(0,i+1);break e}}}if(t>0||r>0)for(e.length=u+1;r-- >0;)e.push(Kr);return t}function du(e,t,r,u,n,i){if(r===Number.POSITIVE_INFINITY)return!0;let a=t.length,s=[e],o=[];for(;r>=0;){if(s.length===0){if(a===0)return!0;s.push(t[--a]);continue}let{mode:l,doc:f}=s.pop(),c=fr(f);switch(c){case lr:o.push(f),r-=Pi(f);break;case pt:case st:{let h=c===pt?f:f.parts;for(let p=h.length-1;p>=0;p--)s.push({mode:l,doc:h[p]});break}case mt:case Et:case Ut:case vt:s.push({mode:l,doc:f.contents});break;case $t:r+=ii(o);break;case Ge:{if(i&&f.break)return!1;let h=f.break?xe:l,p=f.expandedStates&&h===xe?Se(!1,f.expandedStates,-1):f.contents;s.push({mode:h,doc:p});break}case Je:{let p=(f.groupId?n[f.groupId]||it:l)===xe?f.breakContents:f.flatContents;p&&s.push({mode:l,doc:p});break}case We:if(l===xe||f.hard)return!0;f.soft||(o.push(" "),r--);break;case Ft:u=!0;break;case Ht:if(u)return!1;break}}return!1}function Li(e,t){let r={},u=t.printWidth,n=Ni(t.endOfLine),i=0,a=[{ind:vl(),mode:xe,doc:e}],s=[],o=!1,l=[],f=0;for(Nm(e);a.length>0;){let{ind:h,mode:p,doc:D}=a.pop();switch(fr(D)){case lr:{let g=n!==`
648
+ Expected it to be ${u}.`}var Em=class extends Error{name="InvalidDocError";constructor(e){super(mm(e)),this.doc=e}},br=Em,Os={};function Fm(e,t,r,u){let n=[e];for(;n.length>0;){let i=n.pop();if(i===Os){r(n.pop());continue}r&&n.push(i,Os);let a=fr(i);if(!a)throw new br(i);if(t?.(i)!==!1)switch(a){case pt:case st:{let s=a===pt?i:i.parts;for(let o=s.length,l=o-1;l>=0;--l)n.push(s[l]);break}case Je:n.push(i.flatContents,i.breakContents);break;case We:if(u&&i.expandedStates)for(let s=i.expandedStates.length,o=s-1;o>=0;--o)n.push(i.expandedStates[o]);else n.push(i.contents);break;case Et:case mt:case Ut:case vt:case Ft:n.push(i.contents);break;case lr:case cr:case $t:case Ht:case Ge:case Ze:break;default:throw new br(i)}}}var vm=Fm,gl=()=>{},Vu=gl,Cm=gl;function ui(e){return Vu(e),{type:mt,contents:e}}function Ts(e,t){return Vu(t),{type:Et,contents:t,n:e}}function Am(e){return Cm(e),{type:st,parts:e}}function ks(e){return Vu(e),{type:Ft,contents:e}}var ml={type:Ze},El={type:Ge,hard:!0},ym={type:Ge},Ar=[El,ml],Is={type:cr};function _m(e,t,r){Vu(e);let u=e;if(t>0){for(let n=0;n<Math.floor(t/r);++n)u=ui(u);u=Ts(t%r,u),u=Ts(Number.NEGATIVE_INFINITY,u)}return u}function ct(e){var t;if(!e)return"";if(Array.isArray(e)){let r=[];for(let u of e)if(Array.isArray(u))r.push(...ct(u));else{let n=ct(u);n!==""&&r.push(n)}return r}return e.type===Je?{...e,breakContents:ct(e.breakContents),flatContents:ct(e.flatContents)}:e.type===We?{...e,contents:ct(e.contents),expandedStates:(t=e.expandedStates)==null?void 0:t.map(ct)}:e.type===st?{type:"fill",parts:e.parts.map(ct)}:e.contents?{...e,contents:ct(e.contents)}:e}function bm(e){let t=Object.create(null),r=new Set;return u(ct(e));function u(i,a,s){var o,l;if(typeof i=="string")return JSON.stringify(i);if(Array.isArray(i)){let f=i.map(u).filter(Boolean);return f.length===1?f[0]:`[${f.join(", ")}]`}if(i.type===Ge){let f=((o=s?.[a+1])==null?void 0:o.type)===Ze;return i.literal?f?"literalline":"literallineWithoutBreakParent":i.hard?f?"hardline":"hardlineWithoutBreakParent":i.soft?"softline":"line"}if(i.type===Ze)return((l=s?.[a-1])==null?void 0:l.type)===Ge&&s[a-1].hard?void 0:"breakParent";if(i.type===$t)return"trim";if(i.type===mt)return"indent("+u(i.contents)+")";if(i.type===Et)return i.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+u(i.contents)+")":i.n<0?"dedent("+u(i.contents)+")":i.n.type==="root"?"markAsRoot("+u(i.contents)+")":"align("+JSON.stringify(i.n)+", "+u(i.contents)+")";if(i.type===Je)return"ifBreak("+u(i.breakContents)+(i.flatContents?", "+u(i.flatContents):"")+(i.groupId?(i.flatContents?"":', ""')+`, { groupId: ${n(i.groupId)} }`:"")+")";if(i.type===Ut){let f=[];i.negate&&f.push("negate: true"),i.groupId&&f.push(`groupId: ${n(i.groupId)}`);let c=f.length>0?`, { ${f.join(", ")} }`:"";return`indentIfBreak(${u(i.contents)}${c})`}if(i.type===We){let f=[];i.break&&i.break!=="propagated"&&f.push("shouldBreak: true"),i.id&&f.push(`id: ${n(i.id)}`);let c=f.length>0?`, { ${f.join(", ")} }`:"";return i.expandedStates?`conditionalGroup([${i.expandedStates.map(h=>u(h)).join(",")}]${c})`:`group(${u(i.contents)}${c})`}if(i.type===st)return`fill([${i.parts.map(f=>u(f)).join(", ")}])`;if(i.type===Ft)return"lineSuffix("+u(i.contents)+")";if(i.type===Ht)return"lineSuffixBoundary";if(i.type===vt)return`label(${JSON.stringify(i.label)}, ${u(i.contents)})`;throw new Error("Unknown doc type "+i.type)}function n(i){if(typeof i!="symbol")return JSON.stringify(String(i));if(i in t)return t[i];let a=i.description||"symbol";for(let s=0;;s++){let o=a+(s>0?` #${s}`:"");if(!r.has(o))return r.add(o),t[i]=`Symbol.for(${JSON.stringify(o)})`}}}var wm=(e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},Se=wm,Bm=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Sm(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Rm(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var Om=e=>!(Sm(e)||Rm(e)),Tm=/[^\x20-\x7F]/u;function km(e){if(!e)return 0;if(!Tm.test(e))return e.length;e=e.replace(Bm()," ");let t=0;for(let r of e){let u=r.codePointAt(0);u<=31||u>=127&&u<=159||u>=768&&u<=879||(t+=Om(u)?1:2)}return t}var Pi=km;function Im(e,t){if(typeof e=="string")return t(e);let r=new Map;return u(e);function u(i){if(r.has(i))return r.get(i);let a=n(i);return r.set(i,a),a}function n(i){switch(fr(i)){case pt:return t(i.map(u));case st:return t({...i,parts:i.parts.map(u)});case Je:return t({...i,breakContents:u(i.breakContents),flatContents:u(i.flatContents)});case We:{let{expandedStates:a,contents:s}=i;return a?(a=a.map(u),s=a[0]):s=u(s),t({...i,contents:s,expandedStates:a})}case Et:case mt:case Ut:case vt:case Ft:return t({...i,contents:u(i.contents)});case lr:case cr:case $t:case Ht:case Ge:case Ze:return t(i);default:throw new br(i)}}}function Ns(e){if(e.length>0){let t=Se(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Nm(e){let t=new Set,r=[];function u(i){if(i.type===Ze&&Ns(r),i.type===We){if(r.push(i),t.has(i))return!1;t.add(i)}}function n(i){i.type===We&&r.pop().break&&Ns(r)}vm(e,u,n,!0)}function Ps(e){for(e=[...e];e.length>=2&&Se(!1,e,-2).type===Ge&&Se(!1,e,-1).type===Ze;)e.length-=2;if(e.length>0){let t=Yr(Se(!1,e,-1));e[e.length-1]=t}return e}function Yr(e){switch(fr(e)){case mt:case Ut:case We:case Ft:case vt:{let t=Yr(e.contents);return{...e,contents:t}}case Je:return{...e,breakContents:Yr(e.breakContents),flatContents:Yr(e.flatContents)};case st:return{...e,parts:Ps(e.parts)};case pt:return Ps(e);case lr:return e.replace(/[\n\r]*$/u,"");case Et:case cr:case $t:case Ht:case Ge:case Ze:break;default:throw new br(e)}return e}function Pm(e){return Yr(xm(e))}function Lm(e){switch(fr(e)){case st:if(e.parts.every(t=>t===""))return"";break;case We:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===We&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Et:case mt:case Ut:case Ft:if(!e.contents)return"";break;case Je:if(!e.flatContents&&!e.breakContents)return"";break;case pt:{let t=[];for(let r of e){if(!r)continue;let[u,...n]=Array.isArray(r)?r:[r];typeof u=="string"&&typeof Se(!1,t,-1)=="string"?t[t.length-1]+=u:t.push(u),t.push(...n)}return t.length===0?"":t.length===1?t[0]:t}case lr:case cr:case $t:case Ht:case Ge:case vt:case Ze:break;default:throw new br(e)}return e}function xm(e){return Im(e,t=>Lm(t))}function Fl(e,t){return e.type===vt?{...e,contents:t(e.contents)}:t(e)}var xe=Symbol("MODE_BREAK"),it=Symbol("MODE_FLAT"),Kr=Symbol("cursor");function vl(){return{value:"",length:0,queue:[]}}function jm(e,t){return ni(e,{type:"indent"},t)}function Mm(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||vl():t<0?ni(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:ni(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function ni(e,t,r){let u=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],n="",i=0,a=0,s=0;for(let D of u)switch(D.type){case"indent":f(),r.useTabs?o(1):l(r.tabWidth);break;case"stringAlign":f(),n+=D.n,i+=D.n.length;break;case"numberAlign":a+=1,s+=D.n;break;default:throw new Error(`Unexpected type '${D.type}'`)}return h(),{...e,value:n,length:i,queue:u};function o(D){n+=" ".repeat(D),i+=r.tabWidth*D}function l(D){n+=" ".repeat(D),i+=D}function f(){r.useTabs?c():h()}function c(){a>0&&o(a),p()}function h(){s>0&&l(s),p()}function p(){a=0,s=0}}function ii(e){let t=0,r=0,u=e.length;e:for(;u--;){let n=e[u];if(n===Kr){r++;continue}for(let i=n.length-1;i>=0;i--){let a=n[i];if(a===" "||a===" ")t++;else{e[u]=n.slice(0,i+1);break e}}}if(t>0||r>0)for(e.length=u+1;r-- >0;)e.push(Kr);return t}function du(e,t,r,u,n,i){if(r===Number.POSITIVE_INFINITY)return!0;let a=t.length,s=[e],o=[];for(;r>=0;){if(s.length===0){if(a===0)return!0;s.push(t[--a]);continue}let{mode:l,doc:f}=s.pop(),c=fr(f);switch(c){case lr:o.push(f),r-=Pi(f);break;case pt:case st:{let h=c===pt?f:f.parts;for(let p=h.length-1;p>=0;p--)s.push({mode:l,doc:h[p]});break}case mt:case Et:case Ut:case vt:s.push({mode:l,doc:f.contents});break;case $t:r+=ii(o);break;case We:{if(i&&f.break)return!1;let h=f.break?xe:l,p=f.expandedStates&&h===xe?Se(!1,f.expandedStates,-1):f.contents;s.push({mode:h,doc:p});break}case Je:{let p=(f.groupId?n[f.groupId]||it:l)===xe?f.breakContents:f.flatContents;p&&s.push({mode:l,doc:p});break}case Ge:if(l===xe||f.hard)return!0;f.soft||(o.push(" "),r--);break;case Ft:u=!0;break;case Ht:if(u)return!1;break}}return!1}function Li(e,t){let r={},u=t.printWidth,n=Ni(t.endOfLine),i=0,a=[{ind:vl(),mode:xe,doc:e}],s=[],o=!1,l=[],f=0;for(Nm(e);a.length>0;){let{ind:h,mode:p,doc:D}=a.pop();switch(fr(D)){case lr:{let g=n!==`
646
649
  `?Zr(!1,D,`
647
- `,n):D;s.push(g),a.length>0&&(i+=Pi(g));break}case pt:for(let g=D.length-1;g>=0;g--)a.push({ind:h,mode:p,doc:D[g]});break;case cr:if(f>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Kr),f++;break;case mt:a.push({ind:jm(h,t),mode:p,doc:D.contents});break;case Et:a.push({ind:Mm(h,D.n,t),mode:p,doc:D.contents});break;case $t:i-=ii(s);break;case Ge:switch(p){case it:if(!o){a.push({ind:h,mode:D.break?xe:it,doc:D.contents});break}case xe:{o=!1;let g={ind:h,mode:it,doc:D.contents},C=u-i,y=l.length>0;if(!D.break&&du(g,a,C,y,r))a.push(g);else if(D.expandedStates){let d=Se(!1,D.expandedStates,-1);if(D.break){a.push({ind:h,mode:xe,doc:d});break}else for(let F=1;F<D.expandedStates.length+1;F++)if(F>=D.expandedStates.length){a.push({ind:h,mode:xe,doc:d});break}else{let A=D.expandedStates[F],m={ind:h,mode:it,doc:A};if(du(m,a,C,y,r)){a.push(m);break}}}else a.push({ind:h,mode:xe,doc:D.contents});break}}D.id&&(r[D.id]=Se(!1,a,-1).mode);break;case st:{let g=u-i,{parts:C}=D;if(C.length===0)break;let[y,d]=C,F={ind:h,mode:it,doc:y},A={ind:h,mode:xe,doc:y},m=du(F,[],g,l.length>0,r,!0);if(C.length===1){m?a.push(F):a.push(A);break}let O={ind:h,mode:it,doc:d},R={ind:h,mode:xe,doc:d};if(C.length===2){m?a.push(O,F):a.push(R,A);break}C.splice(0,2);let v={ind:h,mode:p,doc:Am(C)},T=C[0];du({ind:h,mode:it,doc:[y,d,T]},[],g,l.length>0,r,!0)?a.push(v,O,F):m?a.push(v,R,F):a.push(v,R,A);break}case Je:case Ut:{let g=D.groupId?r[D.groupId]:p;if(g===xe){let C=D.type===Je?D.breakContents:D.negate?D.contents:ui(D.contents);C&&a.push({ind:h,mode:p,doc:C})}if(g===it){let C=D.type===Je?D.flatContents:D.negate?ui(D.contents):D.contents;C&&a.push({ind:h,mode:p,doc:C})}break}case Ft:l.push({ind:h,mode:p,doc:D.contents});break;case Ht:l.length>0&&a.push({ind:h,mode:p,doc:El});break;case We:switch(p){case it:if(D.hard)o=!0;else{D.soft||(s.push(" "),i+=1);break}case xe:if(l.length>0){a.push({ind:h,mode:p,doc:D},...l.reverse()),l.length=0;break}D.literal?h.root?(s.push(n,h.root.value),i=h.root.length):(s.push(n),i=0):(i-=ii(s),s.push(n+h.value),i=h.length);break}break;case vt:a.push({ind:h,mode:p,doc:D.contents});break;case Ze:break;default:throw new br(D)}a.length===0&&l.length>0&&(a.push(...l.reverse()),l.length=0)}let c=s.indexOf(Kr);if(c!==-1){let h=s.indexOf(Kr,c+1),p=s.slice(0,c).join(""),D=s.slice(c+1,h).join(""),g=s.slice(h+1).join("");return{formatted:p+D+g,cursorNodeStart:p.length,cursorNodeText:D}}return{formatted:s.join("")}}function $m(e,t,r=0){let u=0;for(let n=r;n<e.length;++n)e[n]===" "?u=u+t-u%t:u++;return u}var xi=$m,er,ai,Bu,Um=class{constructor(e){rr(this,er),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return Se(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:Se(!1,this.stack,-2)}get node(){return Se(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=Se(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...mr(this,er,Bu).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?Se(!1,e,-2):null}getValue(){return Se(!1,this.stack,-1)}getNode(e=0){let t=mr(this,er,ai).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:u}=r,n=Se(!1,r,-1);for(let i of t)n=n[i],r.push(i,n);try{return e(this)}finally{r.length=u}}callParent(e,t=0){let r=mr(this,er,ai).call(this,t+1),u=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...u)}}each(e,...t){let{stack:r}=this,{length:u}=r,n=Se(!1,r,-1);for(let i of t)n=n[i],r.push(i,n);try{for(let i=0;i<n.length;++i)r.push(i,n[i]),e(this,i,n),r.length-=2}finally{r.length=u}}map(e,...t){let r=[];return this.each((u,n,i)=>{r[n]=e(u,n,i)},...t),r}match(...e){let t=this.stack.length-1,r=null,u=this.stack[t--];for(let n of e){if(u===void 0)return!1;let i=null;if(typeof r=="number"&&(i=r,r=this.stack[t--],u=this.stack[t--]),n&&!n(u,r,i))return!1;r=this.stack[t--],u=this.stack[t--]}return!0}findAncestor(e){for(let t of mr(this,er,Bu).call(this))if(e(t))return t}hasAncestor(e){for(let t of mr(this,er,Bu).call(this))if(e(t))return!0;return!1}};er=new WeakSet;ai=function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1};Bu=function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}};var Hm=Um;function Gm(e){return e!==null&&typeof e=="object"}var Wm=Gm;function*Cl(e,t){let{getVisitorKeys:r,filter:u=()=>!0}=t,n=i=>Wm(i)&&u(i);for(let i of r(e)){let a=e[i];if(Array.isArray(a))for(let s of a)n(s)&&(yield s);else n(a)&&(yield a)}}function*qm(e,t){let r=[e];for(let u=0;u<r.length;u++){let n=r[u];for(let i of Cl(n,t))yield i,r.push(i)}}function eu(e){return(t,r,u)=>{let n=!!u?.backwards;if(r===!1)return!1;let{length:i}=t,a=r;for(;a>=0&&a<i;){let s=t.charAt(a);if(e instanceof RegExp){if(!e.test(s))return a}else if(!e.includes(s))return a;n?a--:a++}return a===-1||a===i?a:!1}}var Vm=eu(/\s/u),xt=eu(" "),Al=eu(",; "),yl=eu(/[^\n\r]/u);function Ym(e,t,r){let u=!!r?.backwards;if(t===!1)return!1;let n=e.charAt(t);if(u){if(e.charAt(t-1)==="\r"&&n===`
650
+ `,n):D;s.push(g),a.length>0&&(i+=Pi(g));break}case pt:for(let g=D.length-1;g>=0;g--)a.push({ind:h,mode:p,doc:D[g]});break;case cr:if(f>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Kr),f++;break;case mt:a.push({ind:jm(h,t),mode:p,doc:D.contents});break;case Et:a.push({ind:Mm(h,D.n,t),mode:p,doc:D.contents});break;case $t:i-=ii(s);break;case We:switch(p){case it:if(!o){a.push({ind:h,mode:D.break?xe:it,doc:D.contents});break}case xe:{o=!1;let g={ind:h,mode:it,doc:D.contents},C=u-i,y=l.length>0;if(!D.break&&du(g,a,C,y,r))a.push(g);else if(D.expandedStates){let d=Se(!1,D.expandedStates,-1);if(D.break){a.push({ind:h,mode:xe,doc:d});break}else for(let F=1;F<D.expandedStates.length+1;F++)if(F>=D.expandedStates.length){a.push({ind:h,mode:xe,doc:d});break}else{let A=D.expandedStates[F],m={ind:h,mode:it,doc:A};if(du(m,a,C,y,r)){a.push(m);break}}}else a.push({ind:h,mode:xe,doc:D.contents});break}}D.id&&(r[D.id]=Se(!1,a,-1).mode);break;case st:{let g=u-i,{parts:C}=D;if(C.length===0)break;let[y,d]=C,F={ind:h,mode:it,doc:y},A={ind:h,mode:xe,doc:y},m=du(F,[],g,l.length>0,r,!0);if(C.length===1){m?a.push(F):a.push(A);break}let O={ind:h,mode:it,doc:d},R={ind:h,mode:xe,doc:d};if(C.length===2){m?a.push(O,F):a.push(R,A);break}C.splice(0,2);let v={ind:h,mode:p,doc:Am(C)},T=C[0];du({ind:h,mode:it,doc:[y,d,T]},[],g,l.length>0,r,!0)?a.push(v,O,F):m?a.push(v,R,F):a.push(v,R,A);break}case Je:case Ut:{let g=D.groupId?r[D.groupId]:p;if(g===xe){let C=D.type===Je?D.breakContents:D.negate?D.contents:ui(D.contents);C&&a.push({ind:h,mode:p,doc:C})}if(g===it){let C=D.type===Je?D.flatContents:D.negate?ui(D.contents):D.contents;C&&a.push({ind:h,mode:p,doc:C})}break}case Ft:l.push({ind:h,mode:p,doc:D.contents});break;case Ht:l.length>0&&a.push({ind:h,mode:p,doc:El});break;case Ge:switch(p){case it:if(D.hard)o=!0;else{D.soft||(s.push(" "),i+=1);break}case xe:if(l.length>0){a.push({ind:h,mode:p,doc:D},...l.reverse()),l.length=0;break}D.literal?h.root?(s.push(n,h.root.value),i=h.root.length):(s.push(n),i=0):(i-=ii(s),s.push(n+h.value),i=h.length);break}break;case vt:a.push({ind:h,mode:p,doc:D.contents});break;case Ze:break;default:throw new br(D)}a.length===0&&l.length>0&&(a.push(...l.reverse()),l.length=0)}let c=s.indexOf(Kr);if(c!==-1){let h=s.indexOf(Kr,c+1),p=s.slice(0,c).join(""),D=s.slice(c+1,h).join(""),g=s.slice(h+1).join("");return{formatted:p+D+g,cursorNodeStart:p.length,cursorNodeText:D}}return{formatted:s.join("")}}function $m(e,t,r=0){let u=0;for(let n=r;n<e.length;++n)e[n]===" "?u=u+t-u%t:u++;return u}var xi=$m,er,ai,Bu,Um=class{constructor(e){rr(this,er),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return Se(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:Se(!1,this.stack,-2)}get node(){return Se(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=Se(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...mr(this,er,Bu).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?Se(!1,e,-2):null}getValue(){return Se(!1,this.stack,-1)}getNode(e=0){let t=mr(this,er,ai).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:u}=r,n=Se(!1,r,-1);for(let i of t)n=n[i],r.push(i,n);try{return e(this)}finally{r.length=u}}callParent(e,t=0){let r=mr(this,er,ai).call(this,t+1),u=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...u)}}each(e,...t){let{stack:r}=this,{length:u}=r,n=Se(!1,r,-1);for(let i of t)n=n[i],r.push(i,n);try{for(let i=0;i<n.length;++i)r.push(i,n[i]),e(this,i,n),r.length-=2}finally{r.length=u}}map(e,...t){let r=[];return this.each((u,n,i)=>{r[n]=e(u,n,i)},...t),r}match(...e){let t=this.stack.length-1,r=null,u=this.stack[t--];for(let n of e){if(u===void 0)return!1;let i=null;if(typeof r=="number"&&(i=r,r=this.stack[t--],u=this.stack[t--]),n&&!n(u,r,i))return!1;r=this.stack[t--],u=this.stack[t--]}return!0}findAncestor(e){for(let t of mr(this,er,Bu).call(this))if(e(t))return t}hasAncestor(e){for(let t of mr(this,er,Bu).call(this))if(e(t))return!0;return!1}};er=new WeakSet;ai=function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1};Bu=function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}};var Hm=Um;function Wm(e){return e!==null&&typeof e=="object"}var Gm=Wm;function*Cl(e,t){let{getVisitorKeys:r,filter:u=()=>!0}=t,n=i=>Gm(i)&&u(i);for(let i of r(e)){let a=e[i];if(Array.isArray(a))for(let s of a)n(s)&&(yield s);else n(a)&&(yield a)}}function*qm(e,t){let r=[e];for(let u=0;u<r.length;u++){let n=r[u];for(let i of Cl(n,t))yield i,r.push(i)}}function eu(e){return(t,r,u)=>{let n=!!u?.backwards;if(r===!1)return!1;let{length:i}=t,a=r;for(;a>=0&&a<i;){let s=t.charAt(a);if(e instanceof RegExp){if(!e.test(s))return a}else if(!e.includes(s))return a;n?a--:a++}return a===-1||a===i?a:!1}}var Vm=eu(/\s/u),xt=eu(" "),Al=eu(",; "),yl=eu(/[^\n\r]/u);function Ym(e,t,r){let u=!!r?.backwards;if(t===!1)return!1;let n=e.charAt(t);if(u){if(e.charAt(t-1)==="\r"&&n===`
648
651
  `)return t-2;if(n===`
649
652
  `||n==="\r"||n==="\u2028"||n==="\u2029")return t-1}else{if(n==="\r"&&e.charAt(t+1)===`
650
653
  `)return t+2;if(n===`
@@ -658,9 +661,9 @@ in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",cate
658
661
  `&&(h+=pl(p.slice(0,h),`
659
662
  `)),p=Zr(!1,p,`
660
663
  `,D)}return{formatted:p,cursorOffset:h,comments:f.comments}}function jn(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function Hs(e,t){let{cursorOffset:r,rangeStart:u,rangeEnd:n}=t;return r=jn(e,r,-1),u=jn(e,u,0),n=jn(e,n,e.length),{...t,cursorOffset:r,rangeStart:u,rangeEnd:n}}function Ml(e,t){let{cursorOffset:r,rangeStart:u,rangeEnd:n,endOfLine:i}=Hs(e,t),a=e.charAt(0)===xl;if(a&&(e=e.slice(1),r--,u--,n--),i==="auto"&&(i=hm(e)),e.includes("\r")){let s=o=>pl(e.slice(0,Math.max(o,0)),`\r
661
- `);r-=s(r),u-=s(u),n-=s(n),e=pm(e)}return{hasBOM:a,text:e,options:Hs(e,{...t,cursorOffset:r,rangeStart:u,rangeEnd:n,endOfLine:i})}}async function Gs(e,t){let r=await Il(t);return!r.hasPragma||r.hasPragma(e)}async function $l(e,t){let{hasBOM:r,text:u,options:n}=Ml(e,await Or(t));if(n.rangeStart>=n.rangeEnd&&u!==""||n.requirePragma&&!await Gs(u,n))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let i;return n.rangeStart>0||n.rangeEnd<u.length?i=await ME(u,n):(!n.requirePragma&&n.insertPragma&&n.printer.insertPragma&&!await Gs(u,n)&&(u=n.printer.insertPragma(u)),i=await jl(u,n)),r&&(i.formatted=xl+i.formatted,i.cursorOffset>=0&&i.cursorOffset++),i}async function $E(e,t,r){let{text:u,options:n}=Ml(e,await Or(t)),i=await ru(u,n);return r&&(r.preprocessForPrint&&(i.ast=await Pl(i.ast,n)),r.massage&&(i.ast=RE(i.ast,n))),i}async function UE(e,t){t=await Or(t);let r=await Yu(e,t);return Li(r,t)}async function HE(e,t){let r=bm(e),{formatted:u}=await $l(r,{...t,parser:"__js_expression"});return u}async function GE(e,t){t=await Or(t);let{ast:r}=await ru(e,t);return Yu(r,t)}async function WE(e,t){return Li(e,await Or(t))}var Ul={};wr(Ul,{CATEGORY_CONFIG:()=>qE,CATEGORY_EDITOR:()=>VE,CATEGORY_FORMAT:()=>YE,CATEGORY_GLOBAL:()=>XE,CATEGORY_OTHER:()=>KE,CATEGORY_OUTPUT:()=>zE,CATEGORY_SPECIAL:()=>QE});var qE="Config",VE="Editor",YE="Format",KE="Other",zE="Output",XE="Global",QE="Special",Hl={};wr(Hl,{languages:()=>v1,options:()=>F1,parsers:()=>C1,printers:()=>A1});var JE=[{linguistLanguageId:50,name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css",".wxss"],parsers:["css"],vscodeLanguageIds:["css"]},{linguistLanguageId:262764437,name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",parsers:["css"],vscodeLanguageIds:["postcss"]},{linguistLanguageId:198,name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",parsers:["less"],vscodeLanguageIds:["less"]},{linguistLanguageId:329,name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],parsers:["scss"],vscodeLanguageIds:["scss"]}],Me={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},ZE={singleQuote:Me.singleQuote},e1=ZE,t1=[{linguistLanguageId:139,name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"]}],r1={bracketSpacing:Me.bracketSpacing},u1=r1,n1=[{linguistLanguageId:155,name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}],i1=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],Ws="HTML",a1={bracketSameLine:Me.bracketSameLine,htmlWhitespaceSensitivity:{category:Ws,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:Me.singleAttributePerLine,vueIndentScriptAndStyle:{category:Ws,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},s1=a1,o1=[{linguistLanguageId:183,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".wxs"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"]},{linguistLanguageId:183,name:"Flow",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:[],extensions:[".js.flow"],filenames:[],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"]},{linguistLanguageId:183,name:"JSX",type:"programming",tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0,aliases:void 0,extensions:[".jsx"],filenames:void 0,interpreters:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript"},{linguistLanguageId:378,name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]},{linguistLanguageId:94901924,name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}],Zt="JavaScript",l1={arrowParens:{category:Zt,type:"choice",default:"always",description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:Me.bracketSameLine,bracketSpacing:Me.bracketSpacing,jsxBracketSameLine:{category:Zt,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{category:Zt,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},experimentalTernaries:{category:Zt,type:"boolean",default:!1,description:"Use curious ternaries, with the question mark after the condition.",oppositeDescription:"Default behavior of ternaries; keep question marks on the same line as the consequent."},singleQuote:Me.singleQuote,jsxSingleQuote:{category:Zt,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{category:Zt,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{category:Zt,type:"choice",default:"all",description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."}]},singleAttributePerLine:Me.singleAttributePerLine},c1=l1,f1=[{linguistLanguageId:174,name:"JSON.stringify",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"],parsers:["json-stringify"],vscodeLanguageIds:["json"]},{linguistLanguageId:174,name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".all-contributorsrc",".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","flake.lock","mcmod.info",".babelrc",".jscsrc",".jshintrc",".jslintrc",".swcrc"],parsers:["json"],vscodeLanguageIds:["json"]},{linguistLanguageId:423,name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".code-workspace",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[],parsers:["jsonc"],vscodeLanguageIds:["jsonc"]},{linguistLanguageId:175,name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json5"],vscodeLanguageIds:["json5"]}],D1=[{linguistLanguageId:222,name:"Markdown",type:"prose",color:"#083fa1",aliases:["md","pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr","README"],tmScope:"text.md",parsers:["markdown"],vscodeLanguageIds:["markdown"]},{linguistLanguageId:222,name:"MDX",type:"prose",color:"#083fa1",aliases:["md","pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".mdx"],filenames:[],tmScope:"text.md",parsers:["mdx"],vscodeLanguageIds:["mdx"]}],h1={proseWrap:Me.proseWrap,singleQuote:Me.singleQuote},p1=h1,d1=[{linguistLanguageId:407,name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock",".prettierrc",".stylelintrc",".lintstagedrc"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"]}],g1={bracketSpacing:Me.bracketSpacing,singleQuote:Me.singleQuote,proseWrap:Me.proseWrap},m1=g1;function E1(e){let t=Object.create(null),r=Object.create(null);for(let{importPlugin:u,parsers:n=[],printers:i=[]}of e){let a=async()=>{let s=await u();return Object.assign(t,s.parsers),Object.assign(r,s.printers),s};for(let s of n)t[s]=async()=>(await a()).parsers[s];for(let s of i)r[s]=async()=>(await a()).printers[s]}return{parsers:t,printers:r}}var F1={...e1,...u1,...s1,...c1,...p1,...m1},v1=[...JE,...t1,...n1,...i1,...o1,...f1,...D1,...d1],{parsers:C1,printers:A1}=E1([{importPlugin:()=>import("./acorn-6WD555LV.js"),parsers:["acorn","espree"]},{importPlugin:()=>import("./angular-FB6XRNTO.js"),parsers:["__ng_action","__ng_binding","__ng_interpolation","__ng_directive"]},{importPlugin:()=>import("./babel-TBSVEBBW.js"),parsers:["babel","babel-flow","babel-ts","__js_expression","__ts_expression","__vue_expression","__vue_ts_expression","__vue_event_binding","__vue_ts_event_binding","__babel_estree","json","json5","jsonc","json-stringify"]},{importPlugin:()=>import("./estree-5SEZL7TU.js"),printers:["estree","estree-json"]},{importPlugin:()=>import("./flow-NFXK7JF7.js"),parsers:["flow"]},{importPlugin:()=>import("./glimmer-G2NSKFGE.js"),parsers:["glimmer"],printers:["glimmer"]},{importPlugin:()=>import("./graphql-T4H7YJOH.js"),parsers:["graphql"],printers:["graphql"]},{importPlugin:()=>import("./html-XLFMJAO7.js"),parsers:["html","angular","vue","lwc"],printers:["html"]},{importPlugin:()=>import("./markdown-NVP463HS.js"),parsers:["markdown","mdx","remark"],printers:["mdast"]},{importPlugin:()=>import("./meriyah-EU4YCQJJ.js"),parsers:["meriyah"]},{importPlugin:()=>import("./postcss-FTEKMW3I.js"),parsers:["css","less","scss"],printers:["postcss"]},{importPlugin:()=>import("./typescript-2E2VSDEC.js"),parsers:["typescript"]},{importPlugin:()=>import("./yaml-QCH4GKYQ.js"),parsers:["yaml"],printers:["yaml"]}]);function y1(){return[Hl]}var _1=y1;function w1(e,t){return ol(e,b1.join(t,"noop.js"))}var B1=w1;async function S1(e,t){if(qs.isAbsolute(e))return import(Vs(e).href);try{return await import(Vs(qs.resolve(e)).href)}catch{return B1(e,t)}}async function R1(e,t){let r=await S1(e,t);return{name:e,...r.default??r}}var Su=new Map;function O1(e){if(typeof e!="string")return e;let t=process.cwd(),r=JSON.stringify({name:e,cwd:t});return Su.has(r)||Su.set(r,R1(e,t)),Su.get(r)}function T1(){Su.clear()}function k1(e=[]){return Promise.all(e.map(t=>O1(t)))}var I1=k1;function N1(e,t){return t=new Set(t),Object.fromEntries(Object.entries(e).filter(([r])=>!t.has(r)))}var P1=N1,L1="3.3.3",Gl={};wr(Gl,{addDanglingComment:()=>tr,addLeadingComment:()=>vr,addTrailingComment:()=>Cr,getAlignmentSize:()=>xi,getIndentSize:()=>H1,getMaxContinuousCount:()=>q1,getNextNonSpaceNonCommentCharacter:()=>Y1,getNextNonSpaceNonCommentCharacterIndex:()=>tF,getStringWidth:()=>Pi,hasNewline:()=>It,hasNewlineInRange:()=>z1,hasSpaces:()=>Q1,isNextLineEmpty:()=>iF,isNextLineEmptyAfterIndex:()=>qi,isPreviousLineEmpty:()=>uF,makeString:()=>Z1,skip:()=>eu,skipEverythingButNewLine:()=>yl,skipInlineComment:()=>Hi,skipNewline:()=>or,skipSpaces:()=>xt,skipToLineEnd:()=>Al,skipTrailingComment:()=>Gi,skipWhitespace:()=>Vm});function x1(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;r<e.length;++r)if(e.charAt(r)==="*"&&e.charAt(r+1)==="/")return r+2}return t}var Hi=x1;function j1(e,t){return t===!1?!1:e.charAt(t)==="/"&&e.charAt(t+1)==="/"?yl(e,t):t}var Gi=j1;function M1(e,t){let r=null,u=t;for(;u!==r;)r=u,u=xt(e,u),u=Hi(e,u),u=Gi(e,u),u=or(e,u);return u}var Wi=M1;function $1(e,t){let r=null,u=t;for(;u!==r;)r=u,u=Al(e,u),u=Hi(e,u),u=xt(e,u);return u=Gi(e,u),u=or(e,u),u!==!1&&It(e,u)}var qi=$1;function U1(e,t){let r=e.lastIndexOf(`
662
- `);return r===-1?0:xi(e.slice(r+1).match(/^[\t ]*/u)[0],t)}var H1=U1;function G1(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function W1(e,t){let r=e.match(new RegExp(`(${G1(t)})+`,"gu"));return r===null?0:r.reduce((u,n)=>Math.max(u,n.length/t.length),0)}var q1=W1;function V1(e,t){let r=Wi(e,t);return r===!1?"":e.charAt(r)}var Y1=V1;function K1(e,t,r){for(let u=t;u<r;++u)if(e.charAt(u)===`
663
- `)return!0;return!1}var z1=K1;function X1(e,t,r={}){return xt(e,r.backwards?t-1:t,r)!==t}var Q1=X1;function J1(e,t,r){let u=t==='"'?"'":'"',i=Zr(!1,e,/\\(.)|(["'])/gsu,(a,s,o)=>s===u?s:o===t?"\\"+o:o||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(s)?s:"\\"+s));return t+i+t}var Z1=J1;function eF(e,t,r){return Wi(e,r(t))}function tF(e,t){return arguments.length===2||typeof t=="number"?Wi(e,t):eF(...arguments)}function rF(e,t,r){return $i(e,r(t))}function uF(e,t){return arguments.length===2||typeof t=="number"?$i(e,t):rF(...arguments)}function nF(e,t,r){return qi(e,r(t))}function iF(e,t){return arguments.length===2||typeof t=="number"?qi(e,t):nF(...arguments)}function Tt(e,t=1){return async(...r)=>{let u=r[t]??{},{plugins:n=[]}=u;return r[t]={...u,plugins:(await Promise.all([_1(),I1(n)])).flat()},e(...r)}}var Wl=Tt($l);async function Ku(e,t){let{formatted:r}=await Wl(e,{...t,cursorOffset:-1});return r}async function aF(e,t){return await Ku(e,t)===e}async function sF(){Wg(),T1()}var oF=Tt(Dm),lF=Tt(Ui,0),cF={errors:Ao,optionCategories:Ul,createIsIgnoredFunction:fl,formatOptionsHiddenDefaults:si,normalizeOptions:Ol,getSupportInfoWithoutPlugins:Ui,normalizeOptionSettings:Rl,vnopts:{ChoiceSchema:Co,apiDescriptor:ur},fastGlob:mD.default,createTwoFilesPatch:gD,utils:{isNonEmptyArray:_l,partition:bo,omit:P1},mockable:yi},fF={parse:Tt($E),formatAST:Tt(UE),formatDoc:Tt(HE),printToDoc:Tt(GE),printDocToString:Tt(WE),mockable:yi};var ql=e=>Ku(e,{singleQuote:!0,jsxSingleQuote:!0,tabWidth:2,semi:!0,parser:"typescript"});import{converter as Vi,formatHsl as hF,formatRgb as pF}from"culori";var dF=Vi("rgb"),gF=Vi("hsl"),mF=Vi("oklch"),Yi=new Intl.NumberFormat("en-US",{style:"percent"}).format;function Vl(e){let t=gF(e),r=hF(t),[u,n,i]=r.replace("hsla(","").replace("hsl(","").replace(")","").split(", ");return t?.alpha?`${u} ${n} ${i} / ${Yi(t.alpha)}`:`${u} ${n} ${i}`}function Yl(e){let t=dF(e),r=pF(t),[u,n,i]=r.replace("rgba(","").replace("rgb(","").replace(")","").split(", ");return t?.alpha?`${u} ${n} ${i} / ${Yi(t.alpha)}`:`${u} ${n} ${i}`}function Kl(e){let t=mF(e);if(!t)return e;let r=t.l!==void 0?(t.l*100).toFixed(2)+"%":"0%",u=t.c!==void 0?t.c.toFixed(4):"0",n=t.h!==void 0?t.h.toFixed(2):"0";return t.alpha!==void 0&&t.alpha!==1?`${r} ${u} ${n} / ${Yi(t.alpha)}`:`${r} ${u} ${n}`}var Ql=["tailwindcss@next","@tailwindcss/postcss@next"],yF=zl.object({cwd:zl.string()}),Zl=new EF().name("tailwind").description("Initialize AlignUI tailwind tokens for your project.").option("-c, --cwd <cwd>","the working directory. defaults to the current directory.",process.cwd()).action(async e=>{try{CF("AlignUI Tailwind Setup");let t=yF.parse(e),r=Qu.resolve(t.cwd);Jl(r)||(console.error(`The path ${r} does not exist. Please try again.`),process.exit(1)),pa(r);let u=await Da(r);if(u){let n=await _F(r,u);await bF(r,n)}AF("Project initialization completed!")}catch(t){console.log(t)}});async function _F(e,t){let r=await zu({message:"Which color would you like to use as primary color?",options:[{value:"blue",label:"Blue"},{value:"purple",label:"Purple"},{value:"orange",label:"Orange"},{value:"sky",label:"Sky"}]});Tr(r)&&process.exit(0);let u=await zu({message:"Which color would you like to use as neutral color?",options:[{value:"gray",label:"Gray"},{value:"slate",label:"Slate"}]});Tr(u)&&process.exit(0);let n=await zu({message:"Which color format would you like to use?",options:[{value:"oklch",label:"oklch (Recommended for Tailwind v4.1)"},{value:"hex",label:"hex"},{value:"rgb",label:"rgb"},{value:"hsl",label:"hsl"}]});Tr(n)&&process.exit(0);let i=await zi({message:"Use a custom prefix for AlignUI classes? (Leave blank for none)"});Tr(i)&&process.exit(0);let a=await zu({message:"Create tailwind.config file? (Optional in v4.1 - CSS-first configuration)",options:[{value:!1,label:"No - Use CSS-only configuration (Recommended for v4.1)"},{value:!0,label:"Yes - Create minimal config file"}]});Tr(a)&&process.exit(0);let s="";if(a){let f=await zi({message:"Where should we create your tailwind config file?",initialValue:t?.tailwind.config??la});Tr(f)&&process.exit(0),s=f}let o=await zi({message:"Where is your global CSS file?",initialValue:t?.tailwind.css??oa}),l=on.parse({tailwind:{config:s,css:o,primaryColor:r,neutralColor:u,colorFormat:n,prefix:i}});return await nu(e,l)}function Xu(e,t){return t?Object.fromEntries(Object.entries(e).map(([r,u])=>[`${t}${r}`,u])):e}async function bF(e,t){let r=Xl();r.start("Initializing project...");try{for(let[s,o]of Object.entries(t.resolvedPaths)){if(!o)continue;let l=Qu.extname(o)?Qu.dirname(o):o;Jl(l)||await Ki.mkdir(l,{recursive:!0})}if(t.resolvedPaths.tailwindConfig){let s=Qu.extname(t.resolvedPaths.tailwindConfig)===".ts"?ia:na;await Ki.writeFile(t.resolvedPaths.tailwindConfig,await ql(s),"utf8")}let i=Object.fromEntries(Object.entries(da).map(([s,o])=>[s,Object.fromEntries(Object.entries(o).map(([l,f])=>t.tailwind.colorFormat==="hsl"?[l,Vl(f)]:t.tailwind.colorFormat==="rgb"?[l,Yl(f)]:t.tailwind.colorFormat==="oklch"?[l,Kl(f)]:[l,f]))])),a=t.tailwind.prefix?{texts:Xu(cn,t.tailwind.prefix),shadows:Xu(fn,t.tailwind.prefix),borderRadii:Xu(ln,t.tailwind.prefix),animations:Xu(Dn,t.tailwind.prefix)}:{texts:cn,shadows:fn,borderRadii:ln,animations:Dn};await Ki.writeFile(t.resolvedPaths.tailwindCss,vF(aa)({config:t,primaryColor:t.tailwind.primaryColor,neutralColor:t.tailwind.neutralColor,...i,texts:JSON.stringify(a.texts,null,2),shadows:JSON.stringify(a.shadows,null,2),borderRadii:JSON.stringify(a.borderRadii,null,2),animations:JSON.stringify(a.animations,null,2)}),"utf8"),r.stop()}catch(i){throw r.stop("Initialization failed."),i}let u=await ca(e),n=Xl();n.start("Installing dependencies..."),await FF(u,[u==="npm"?"i":"add",u==="npm"?"--save-dev":"-D",...Ql],{cwd:e}),n.stop(`Dependencies installed!
664
+ `);r-=s(r),u-=s(u),n-=s(n),e=pm(e)}return{hasBOM:a,text:e,options:Hs(e,{...t,cursorOffset:r,rangeStart:u,rangeEnd:n,endOfLine:i})}}async function Ws(e,t){let r=await Il(t);return!r.hasPragma||r.hasPragma(e)}async function $l(e,t){let{hasBOM:r,text:u,options:n}=Ml(e,await Or(t));if(n.rangeStart>=n.rangeEnd&&u!==""||n.requirePragma&&!await Ws(u,n))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let i;return n.rangeStart>0||n.rangeEnd<u.length?i=await ME(u,n):(!n.requirePragma&&n.insertPragma&&n.printer.insertPragma&&!await Ws(u,n)&&(u=n.printer.insertPragma(u)),i=await jl(u,n)),r&&(i.formatted=xl+i.formatted,i.cursorOffset>=0&&i.cursorOffset++),i}async function $E(e,t,r){let{text:u,options:n}=Ml(e,await Or(t)),i=await ru(u,n);return r&&(r.preprocessForPrint&&(i.ast=await Pl(i.ast,n)),r.massage&&(i.ast=RE(i.ast,n))),i}async function UE(e,t){t=await Or(t);let r=await Yu(e,t);return Li(r,t)}async function HE(e,t){let r=bm(e),{formatted:u}=await $l(r,{...t,parser:"__js_expression"});return u}async function WE(e,t){t=await Or(t);let{ast:r}=await ru(e,t);return Yu(r,t)}async function GE(e,t){return Li(e,await Or(t))}var Ul={};wr(Ul,{CATEGORY_CONFIG:()=>qE,CATEGORY_EDITOR:()=>VE,CATEGORY_FORMAT:()=>YE,CATEGORY_GLOBAL:()=>XE,CATEGORY_OTHER:()=>KE,CATEGORY_OUTPUT:()=>zE,CATEGORY_SPECIAL:()=>QE});var qE="Config",VE="Editor",YE="Format",KE="Other",zE="Output",XE="Global",QE="Special",Hl={};wr(Hl,{languages:()=>v1,options:()=>F1,parsers:()=>C1,printers:()=>A1});var JE=[{linguistLanguageId:50,name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css",".wxss"],parsers:["css"],vscodeLanguageIds:["css"]},{linguistLanguageId:262764437,name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",parsers:["css"],vscodeLanguageIds:["postcss"]},{linguistLanguageId:198,name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",parsers:["less"],vscodeLanguageIds:["less"]},{linguistLanguageId:329,name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],parsers:["scss"],vscodeLanguageIds:["scss"]}],Me={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},ZE={singleQuote:Me.singleQuote},e1=ZE,t1=[{linguistLanguageId:139,name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"]}],r1={bracketSpacing:Me.bracketSpacing},u1=r1,n1=[{linguistLanguageId:155,name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}],i1=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],Gs="HTML",a1={bracketSameLine:Me.bracketSameLine,htmlWhitespaceSensitivity:{category:Gs,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:Me.singleAttributePerLine,vueIndentScriptAndStyle:{category:Gs,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},s1=a1,o1=[{linguistLanguageId:183,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".wxs"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"]},{linguistLanguageId:183,name:"Flow",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:[],extensions:[".js.flow"],filenames:[],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"]},{linguistLanguageId:183,name:"JSX",type:"programming",tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0,aliases:void 0,extensions:[".jsx"],filenames:void 0,interpreters:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript"},{linguistLanguageId:378,name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]},{linguistLanguageId:94901924,name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}],Zt="JavaScript",l1={arrowParens:{category:Zt,type:"choice",default:"always",description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:Me.bracketSameLine,bracketSpacing:Me.bracketSpacing,jsxBracketSameLine:{category:Zt,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{category:Zt,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},experimentalTernaries:{category:Zt,type:"boolean",default:!1,description:"Use curious ternaries, with the question mark after the condition.",oppositeDescription:"Default behavior of ternaries; keep question marks on the same line as the consequent."},singleQuote:Me.singleQuote,jsxSingleQuote:{category:Zt,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{category:Zt,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{category:Zt,type:"choice",default:"all",description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."}]},singleAttributePerLine:Me.singleAttributePerLine},c1=l1,f1=[{linguistLanguageId:174,name:"JSON.stringify",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"],parsers:["json-stringify"],vscodeLanguageIds:["json"]},{linguistLanguageId:174,name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".all-contributorsrc",".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","flake.lock","mcmod.info",".babelrc",".jscsrc",".jshintrc",".jslintrc",".swcrc"],parsers:["json"],vscodeLanguageIds:["json"]},{linguistLanguageId:423,name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".code-workspace",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[],parsers:["jsonc"],vscodeLanguageIds:["jsonc"]},{linguistLanguageId:175,name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json5"],vscodeLanguageIds:["json5"]}],D1=[{linguistLanguageId:222,name:"Markdown",type:"prose",color:"#083fa1",aliases:["md","pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr","README"],tmScope:"text.md",parsers:["markdown"],vscodeLanguageIds:["markdown"]},{linguistLanguageId:222,name:"MDX",type:"prose",color:"#083fa1",aliases:["md","pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".mdx"],filenames:[],tmScope:"text.md",parsers:["mdx"],vscodeLanguageIds:["mdx"]}],h1={proseWrap:Me.proseWrap,singleQuote:Me.singleQuote},p1=h1,d1=[{linguistLanguageId:407,name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock",".prettierrc",".stylelintrc",".lintstagedrc"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"]}],g1={bracketSpacing:Me.bracketSpacing,singleQuote:Me.singleQuote,proseWrap:Me.proseWrap},m1=g1;function E1(e){let t=Object.create(null),r=Object.create(null);for(let{importPlugin:u,parsers:n=[],printers:i=[]}of e){let a=async()=>{let s=await u();return Object.assign(t,s.parsers),Object.assign(r,s.printers),s};for(let s of n)t[s]=async()=>(await a()).parsers[s];for(let s of i)r[s]=async()=>(await a()).printers[s]}return{parsers:t,printers:r}}var F1={...e1,...u1,...s1,...c1,...p1,...m1},v1=[...JE,...t1,...n1,...i1,...o1,...f1,...D1,...d1],{parsers:C1,printers:A1}=E1([{importPlugin:()=>import("./acorn-6WD555LV.js"),parsers:["acorn","espree"]},{importPlugin:()=>import("./angular-FB6XRNTO.js"),parsers:["__ng_action","__ng_binding","__ng_interpolation","__ng_directive"]},{importPlugin:()=>import("./babel-TBSVEBBW.js"),parsers:["babel","babel-flow","babel-ts","__js_expression","__ts_expression","__vue_expression","__vue_ts_expression","__vue_event_binding","__vue_ts_event_binding","__babel_estree","json","json5","jsonc","json-stringify"]},{importPlugin:()=>import("./estree-5SEZL7TU.js"),printers:["estree","estree-json"]},{importPlugin:()=>import("./flow-NFXK7JF7.js"),parsers:["flow"]},{importPlugin:()=>import("./glimmer-G2NSKFGE.js"),parsers:["glimmer"],printers:["glimmer"]},{importPlugin:()=>import("./graphql-T4H7YJOH.js"),parsers:["graphql"],printers:["graphql"]},{importPlugin:()=>import("./html-XLFMJAO7.js"),parsers:["html","angular","vue","lwc"],printers:["html"]},{importPlugin:()=>import("./markdown-NVP463HS.js"),parsers:["markdown","mdx","remark"],printers:["mdast"]},{importPlugin:()=>import("./meriyah-EU4YCQJJ.js"),parsers:["meriyah"]},{importPlugin:()=>import("./postcss-FTEKMW3I.js"),parsers:["css","less","scss"],printers:["postcss"]},{importPlugin:()=>import("./typescript-2E2VSDEC.js"),parsers:["typescript"]},{importPlugin:()=>import("./yaml-QCH4GKYQ.js"),parsers:["yaml"],printers:["yaml"]}]);function y1(){return[Hl]}var _1=y1;function w1(e,t){return ol(e,b1.join(t,"noop.js"))}var B1=w1;async function S1(e,t){if(qs.isAbsolute(e))return import(Vs(e).href);try{return await import(Vs(qs.resolve(e)).href)}catch{return B1(e,t)}}async function R1(e,t){let r=await S1(e,t);return{name:e,...r.default??r}}var Su=new Map;function O1(e){if(typeof e!="string")return e;let t=process.cwd(),r=JSON.stringify({name:e,cwd:t});return Su.has(r)||Su.set(r,R1(e,t)),Su.get(r)}function T1(){Su.clear()}function k1(e=[]){return Promise.all(e.map(t=>O1(t)))}var I1=k1;function N1(e,t){return t=new Set(t),Object.fromEntries(Object.entries(e).filter(([r])=>!t.has(r)))}var P1=N1,L1="3.3.3",Wl={};wr(Wl,{addDanglingComment:()=>tr,addLeadingComment:()=>vr,addTrailingComment:()=>Cr,getAlignmentSize:()=>xi,getIndentSize:()=>H1,getMaxContinuousCount:()=>q1,getNextNonSpaceNonCommentCharacter:()=>Y1,getNextNonSpaceNonCommentCharacterIndex:()=>tF,getStringWidth:()=>Pi,hasNewline:()=>It,hasNewlineInRange:()=>z1,hasSpaces:()=>Q1,isNextLineEmpty:()=>iF,isNextLineEmptyAfterIndex:()=>qi,isPreviousLineEmpty:()=>uF,makeString:()=>Z1,skip:()=>eu,skipEverythingButNewLine:()=>yl,skipInlineComment:()=>Hi,skipNewline:()=>or,skipSpaces:()=>xt,skipToLineEnd:()=>Al,skipTrailingComment:()=>Wi,skipWhitespace:()=>Vm});function x1(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;r<e.length;++r)if(e.charAt(r)==="*"&&e.charAt(r+1)==="/")return r+2}return t}var Hi=x1;function j1(e,t){return t===!1?!1:e.charAt(t)==="/"&&e.charAt(t+1)==="/"?yl(e,t):t}var Wi=j1;function M1(e,t){let r=null,u=t;for(;u!==r;)r=u,u=xt(e,u),u=Hi(e,u),u=Wi(e,u),u=or(e,u);return u}var Gi=M1;function $1(e,t){let r=null,u=t;for(;u!==r;)r=u,u=Al(e,u),u=Hi(e,u),u=xt(e,u);return u=Wi(e,u),u=or(e,u),u!==!1&&It(e,u)}var qi=$1;function U1(e,t){let r=e.lastIndexOf(`
665
+ `);return r===-1?0:xi(e.slice(r+1).match(/^[\t ]*/u)[0],t)}var H1=U1;function W1(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function G1(e,t){let r=e.match(new RegExp(`(${W1(t)})+`,"gu"));return r===null?0:r.reduce((u,n)=>Math.max(u,n.length/t.length),0)}var q1=G1;function V1(e,t){let r=Gi(e,t);return r===!1?"":e.charAt(r)}var Y1=V1;function K1(e,t,r){for(let u=t;u<r;++u)if(e.charAt(u)===`
666
+ `)return!0;return!1}var z1=K1;function X1(e,t,r={}){return xt(e,r.backwards?t-1:t,r)!==t}var Q1=X1;function J1(e,t,r){let u=t==='"'?"'":'"',i=Zr(!1,e,/\\(.)|(["'])/gsu,(a,s,o)=>s===u?s:o===t?"\\"+o:o||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(s)?s:"\\"+s));return t+i+t}var Z1=J1;function eF(e,t,r){return Gi(e,r(t))}function tF(e,t){return arguments.length===2||typeof t=="number"?Gi(e,t):eF(...arguments)}function rF(e,t,r){return $i(e,r(t))}function uF(e,t){return arguments.length===2||typeof t=="number"?$i(e,t):rF(...arguments)}function nF(e,t,r){return qi(e,r(t))}function iF(e,t){return arguments.length===2||typeof t=="number"?qi(e,t):nF(...arguments)}function Tt(e,t=1){return async(...r)=>{let u=r[t]??{},{plugins:n=[]}=u;return r[t]={...u,plugins:(await Promise.all([_1(),I1(n)])).flat()},e(...r)}}var Gl=Tt($l);async function Ku(e,t){let{formatted:r}=await Gl(e,{...t,cursorOffset:-1});return r}async function aF(e,t){return await Ku(e,t)===e}async function sF(){Gg(),T1()}var oF=Tt(Dm),lF=Tt(Ui,0),cF={errors:Ao,optionCategories:Ul,createIsIgnoredFunction:fl,formatOptionsHiddenDefaults:si,normalizeOptions:Ol,getSupportInfoWithoutPlugins:Ui,normalizeOptionSettings:Rl,vnopts:{ChoiceSchema:Co,apiDescriptor:ur},fastGlob:mD.default,createTwoFilesPatch:gD,utils:{isNonEmptyArray:_l,partition:bo,omit:P1},mockable:yi},fF={parse:Tt($E),formatAST:Tt(UE),formatDoc:Tt(HE),printToDoc:Tt(WE),printDocToString:Tt(GE),mockable:yi};var ql=e=>Ku(e,{singleQuote:!0,jsxSingleQuote:!0,tabWidth:2,semi:!0,parser:"typescript"});import{converter as Vi,formatHsl as hF,formatRgb as pF}from"culori";var dF=Vi("rgb"),gF=Vi("hsl"),mF=Vi("oklch"),Yi=new Intl.NumberFormat("en-US",{style:"percent"}).format;function Vl(e){let t=gF(e),r=hF(t),[u,n,i]=r.replace("hsla(","").replace("hsl(","").replace(")","").split(", ");return t?.alpha?`${u} ${n} ${i} / ${Yi(t.alpha)}`:`${u} ${n} ${i}`}function Yl(e){let t=dF(e),r=pF(t),[u,n,i]=r.replace("rgba(","").replace("rgb(","").replace(")","").split(", ");return t?.alpha?`${u} ${n} ${i} / ${Yi(t.alpha)}`:`${u} ${n} ${i}`}function Kl(e){let t=mF(e);if(!t)return e;let r=t.l!==void 0?(t.l*100).toFixed(2)+"%":"0%",u=t.c!==void 0?t.c.toFixed(4):"0",n=t.h!==void 0?t.h.toFixed(2):"0";return t.alpha!==void 0&&t.alpha!==1?`${r} ${u} ${n} / ${Yi(t.alpha)}`:`${r} ${u} ${n}`}var Ql=["tailwindcss@next","@tailwindcss/postcss@next"],yF=zl.object({cwd:zl.string()}),Zl=new EF().name("tailwind").description("Initialize AlignUI tailwind tokens for your project.").option("-c, --cwd <cwd>","the working directory. defaults to the current directory.",process.cwd()).action(async e=>{try{CF("AlignUI Tailwind Setup");let t=yF.parse(e),r=Qu.resolve(t.cwd);Jl(r)||(console.error(`The path ${r} does not exist. Please try again.`),process.exit(1)),pa(r);let u=await Da(r);if(u){let n=await _F(r,u);await bF(r,n)}AF("Project initialization completed!")}catch(t){console.log(t)}});async function _F(e,t){let r=await zu({message:"Which color would you like to use as primary color?",options:[{value:"blue",label:"Blue"},{value:"purple",label:"Purple"},{value:"orange",label:"Orange"},{value:"sky",label:"Sky"}]});Tr(r)&&process.exit(0);let u=await zu({message:"Which color would you like to use as neutral color?",options:[{value:"gray",label:"Gray"},{value:"slate",label:"Slate"}]});Tr(u)&&process.exit(0);let n=await zu({message:"Which color format would you like to use?",options:[{value:"oklch",label:"oklch (Recommended for Tailwind v4.1)"},{value:"hex",label:"hex"},{value:"rgb",label:"rgb"},{value:"hsl",label:"hsl"}]});Tr(n)&&process.exit(0);let i=await zi({message:"Use a custom prefix for AlignUI classes? (Leave blank for none)"});Tr(i)&&process.exit(0);let a=await zu({message:"Create tailwind.config file? (Optional in v4.1 - CSS-first configuration)",options:[{value:!1,label:"No - Use CSS-only configuration (Recommended for v4.1)"},{value:!0,label:"Yes - Create minimal config file"}]});Tr(a)&&process.exit(0);let s="";if(a){let f=await zi({message:"Where should we create your tailwind config file?",initialValue:t?.tailwind.config??la});Tr(f)&&process.exit(0),s=f}let o=await zi({message:"Where is your global CSS file?",initialValue:t?.tailwind.css??oa}),l=on.parse({tailwind:{config:s,css:o,primaryColor:r,neutralColor:u,colorFormat:n,prefix:i}});return await nu(e,l)}function Xu(e,t){return t?Object.fromEntries(Object.entries(e).map(([r,u])=>[`${t}${r}`,u])):e}async function bF(e,t){let r=Xl();r.start("Initializing project...");try{for(let[s,o]of Object.entries(t.resolvedPaths)){if(!o)continue;let l=Qu.extname(o)?Qu.dirname(o):o;Jl(l)||await Ki.mkdir(l,{recursive:!0})}if(t.resolvedPaths.tailwindConfig){let s=Qu.extname(t.resolvedPaths.tailwindConfig)===".ts"?ia:na;await Ki.writeFile(t.resolvedPaths.tailwindConfig,await ql(s),"utf8")}let i=Object.fromEntries(Object.entries(da).map(([s,o])=>[s,Object.fromEntries(Object.entries(o).map(([l,f])=>t.tailwind.colorFormat==="hsl"?[l,Vl(f)]:t.tailwind.colorFormat==="rgb"?[l,Yl(f)]:t.tailwind.colorFormat==="oklch"?[l,Kl(f)]:[l,f]))])),a=t.tailwind.prefix?{texts:Xu(cn,t.tailwind.prefix),shadows:Xu(fn,t.tailwind.prefix),borderRadii:Xu(ln,t.tailwind.prefix),animations:Xu(Dn,t.tailwind.prefix)}:{texts:cn,shadows:fn,borderRadii:ln,animations:Dn};await Ki.writeFile(t.resolvedPaths.tailwindCss,vF(aa)({config:t,primaryColor:t.tailwind.primaryColor,neutralColor:t.tailwind.neutralColor,...i,texts:JSON.stringify(a.texts,null,2),shadows:JSON.stringify(a.shadows,null,2),borderRadii:JSON.stringify(a.borderRadii,null,2),animations:JSON.stringify(a.animations,null,2)}),"utf8"),r.stop()}catch(i){throw r.stop("Initialization failed."),i}let u=await ca(e),n=Xl();n.start("Installing dependencies..."),await FF(u,[u==="npm"?"i":"add",u==="npm"?"--save-dev":"-D",...Ql],{cwd:e}),n.stop(`Dependencies installed!
664
667
 
665
668
  - ${Ql.join(`
666
669
  - `)}`)}import{Command as SF}from"commander";import wF from"path";import BF from"fs-extra";function ec(){let e=wF.join("package.json");return BF.readJSONSync(e)}process.on("SIGINT",()=>process.exit(0));process.on("SIGTERM",()=>process.exit(0));async function RF(){let e=await ec(),t=new SF().name("alignui-cli").description(e.description||"").version(e.version||"0.0.1","-v, --version","display the version number");t.addCommand(Zl),t.parse()}RF();