orcaq 1.0.21 → 1.0.26
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/AKIL8y6B.js +1 -0
- package/.output/public/_nuxt/B5vWsFeq.js +160 -0
- package/.output/public/_nuxt/B7OaQ1wH.js +8 -0
- package/.output/public/_nuxt/BG-9_o0s.js +3 -0
- package/.output/public/_nuxt/BHnp06h8.js +1 -0
- package/.output/public/_nuxt/BKxFOGv6.js +1 -0
- package/.output/public/_nuxt/{8qASMGdV.js → BNIRlgC1.js} +1 -1
- package/.output/public/_nuxt/BNdHe5KI.js +1 -0
- package/.output/public/_nuxt/BQANhp-y.js +1 -0
- package/.output/public/_nuxt/BUYy1lWT.js +215 -0
- package/.output/public/_nuxt/Bdtn2mn5.js +1 -0
- package/.output/public/_nuxt/Ber6tLDb.js +1 -0
- package/.output/public/_nuxt/BgEovngA.js +1 -0
- package/.output/public/_nuxt/BhgYrVrc.js +6 -0
- package/.output/public/_nuxt/{CrgoNCm2.js → BmnOz39b.js} +2 -2
- package/.output/public/_nuxt/BuKJVBv4.js +1 -0
- package/.output/public/_nuxt/BxMjn94S.js +4 -0
- package/.output/public/_nuxt/C1dxTB9p.js +39 -0
- package/.output/public/_nuxt/C4mc67xO.js +31 -0
- package/.output/public/_nuxt/CAOPafml.js +1 -0
- package/.output/public/_nuxt/CPxn9ATh.js +1 -0
- package/.output/public/_nuxt/CQ_P7x7z.js +3 -0
- package/.output/public/_nuxt/CS9PCQVw.js +6 -0
- package/.output/public/_nuxt/{CbcyysXi.js → CdEjcJco.js} +1 -1
- package/.output/public/_nuxt/CeQk_zaG.js +3867 -0
- package/.output/public/_nuxt/CgN2MmkB.js +47 -0
- package/.output/public/_nuxt/CijEBUIh.js +9 -0
- package/.output/public/_nuxt/Cn-07UHL.js +1 -0
- package/.output/public/_nuxt/Co87DPdr.js +18 -0
- package/.output/public/_nuxt/D0LmHvgn.js +13 -0
- package/.output/public/_nuxt/D4_A4fm4.js +1 -0
- package/.output/public/_nuxt/D8pqASdN.js +1 -0
- package/.output/public/_nuxt/DAs4584G.js +72 -0
- package/.output/public/_nuxt/DBO1CAN4.js +1 -0
- package/.output/public/_nuxt/DF7Phtj8.js +39 -0
- package/.output/public/_nuxt/DMMO4O3Y.js +1 -0
- package/.output/public/_nuxt/DP-hoxaC.js +1 -0
- package/.output/public/_nuxt/DREcM-oC.js +20 -0
- package/.output/public/_nuxt/DX-rdvVh.js +28 -0
- package/.output/public/_nuxt/DXei3mDv.js +1 -0
- package/.output/public/_nuxt/DZcRPyDc.js +26 -0
- package/.output/public/_nuxt/D_QjJZ_n.js +1 -0
- package/.output/public/_nuxt/DhSSuHOz.js +32 -0
- package/.output/public/_nuxt/Dj2IVxO7.js +1 -0
- package/.output/public/_nuxt/DmMeuvwr.js +1 -0
- package/.output/public/_nuxt/DqlhGxxN.js +32 -0
- package/.output/public/_nuxt/GmXmO94-.js +1 -0
- package/.output/public/_nuxt/HPyUOgdi.js +1 -0
- package/.output/public/_nuxt/MdxV8r4v.js +1 -0
- package/.output/public/_nuxt/Mp6jDt1I.js +1 -0
- package/.output/public/_nuxt/QuickQuery.h4epNPla.css +1 -0
- package/.output/public/_nuxt/{CustomEdge.BNBpjEHb.css → WrapperErdDiagram.DeMTjOwN.css} +1 -1
- package/.output/public/_nuxt/Zvfofmwe.js +1 -0
- package/.output/public/_nuxt/{_fileId_.DmPfwyyD.css → _fileId_.BHiWIaF7.css} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/db42d692-1628-4dd8-9442-d7621bdd9ac6.json +1 -0
- package/.output/public/_nuxt/cQYBDqKG.js +1 -0
- package/.output/public/_nuxt/default.BfdyU-m9.css +1 -0
- package/.output/public/_nuxt/entry.0UG0MnUy.css +1 -0
- package/.output/public/_nuxt/fIC3FurW.js +1 -0
- package/.output/public/_nuxt/{index.CrXmf4gr.css → index.BHg08rtV.css} +1 -1
- package/.output/public/_nuxt/kehy-5uo.js +1 -0
- package/.output/public/_nuxt/n9bD6NrC.js +2 -0
- package/.output/public/_nuxt/ykQL1ia3.js +271 -0
- package/.output/public/_nuxt/zD3bTrJp.js +1 -0
- package/.output/server/chunks/build/client.manifest.mjs +509 -358
- package/.output/server/chunks/build/client.manifest.mjs.map +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +504 -274
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-export/export-database.mjs +139 -0
- package/.output/server/chunks/routes/api/database-export/export-database.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-import/import-database.mjs +178 -0
- package/.output/server/chunks/routes/api/database-import/import-database.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/adapters/postgres.adapter.mjs +700 -0
- package/.output/server/chunks/routes/api/database-roles/adapters/postgres.adapter.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/adapters/types.mjs +2 -0
- package/.output/server/chunks/routes/api/database-roles/adapters/types.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/create-role.mjs +46 -0
- package/.output/server/chunks/routes/api/database-roles/create-role.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/delete-role.mjs +34 -0
- package/.output/server/chunks/routes/api/database-roles/delete-role.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs +34 -0
- package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/get-databases.mjs +32 -0
- package/.output/server/chunks/routes/api/database-roles/get-databases.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs +32 -0
- package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs +40 -0
- package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/get-role.mjs +26 -0
- package/.output/server/chunks/routes/api/database-roles/get-role.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/get-roles.mjs +26 -0
- package/.output/server/chunks/routes/api/database-roles/get-roles.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs +38 -0
- package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs +32 -0
- package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs +43 -0
- package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs +41 -0
- package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/index.mjs +39 -0
- package/.output/server/chunks/routes/api/database-roles/index.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs +41 -0
- package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs.map +1 -0
- package/.output/server/chunks/routes/api/delete-function.mjs +65 -0
- package/.output/server/chunks/routes/api/delete-function.mjs.map +1 -0
- package/.output/server/chunks/routes/api/execute-bulk-delete.mjs +1 -1
- package/.output/server/chunks/routes/api/execute-bulk-delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/execute-bulk-update.mjs +1 -1
- package/.output/server/chunks/routes/api/execute-bulk-update.mjs.map +1 -1
- package/.output/server/chunks/routes/api/export-table-data.mjs +229 -0
- package/.output/server/chunks/routes/api/export-table-data.mjs.map +1 -0
- package/.output/server/chunks/routes/api/get-function-signature.mjs +96 -0
- package/.output/server/chunks/routes/api/get-function-signature.mjs.map +1 -0
- package/.output/server/chunks/routes/api/get-one-function.mjs +8 -2
- package/.output/server/chunks/routes/api/get-one-function.mjs.map +1 -1
- package/.output/server/chunks/routes/api/get-over-view-views.mjs +44 -0
- package/.output/server/chunks/routes/api/get-over-view-views.mjs.map +1 -0
- package/.output/server/chunks/routes/api/get-reverse-table-schemas.mjs +21 -10
- package/.output/server/chunks/routes/api/get-reverse-table-schemas.mjs.map +1 -1
- package/.output/server/chunks/routes/api/get-schema-meta-data.mjs +73 -5
- package/.output/server/chunks/routes/api/get-schema-meta-data.mjs.map +1 -1
- package/.output/server/chunks/routes/api/get-table-ddl.mjs +185 -0
- package/.output/server/chunks/routes/api/get-table-ddl.mjs.map +1 -0
- package/.output/server/chunks/routes/api/get-view-definition.mjs +57 -0
- package/.output/server/chunks/routes/api/get-view-definition.mjs.map +1 -0
- package/.output/server/chunks/routes/api/getMetricMonitor.mjs.map +1 -1
- package/.output/server/chunks/routes/api/raw-execute.mjs +1 -2
- package/.output/server/chunks/routes/api/raw-execute.mjs.map +1 -1
- package/.output/server/chunks/routes/api/rename-function.mjs +77 -0
- package/.output/server/chunks/routes/api/rename-function.mjs.map +1 -0
- package/.output/server/chunks/routes/api/update-function.mjs +65 -0
- package/.output/server/chunks/routes/api/update-function.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +1 -1
- package/.output/server/index.mjs +1 -1
- package/.output/server/node_modules/cross-spawn/index.js +39 -0
- package/.output/server/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/.output/server/node_modules/cross-spawn/lib/parse.js +91 -0
- package/.output/server/node_modules/cross-spawn/lib/util/escape.js +47 -0
- package/.output/server/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/.output/server/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/.output/server/node_modules/cross-spawn/package.json +73 -0
- package/.output/server/node_modules/execa/index.js +268 -0
- package/.output/server/node_modules/execa/lib/command.js +52 -0
- package/.output/server/node_modules/execa/lib/error.js +88 -0
- package/.output/server/node_modules/execa/lib/kill.js +115 -0
- package/.output/server/node_modules/execa/lib/promise.js +46 -0
- package/.output/server/node_modules/execa/lib/stdio.js +52 -0
- package/.output/server/node_modules/execa/lib/stream.js +97 -0
- package/.output/server/node_modules/execa/package.json +74 -0
- package/.output/server/node_modules/get-stream/buffer-stream.js +52 -0
- package/.output/server/node_modules/get-stream/index.js +61 -0
- package/.output/server/node_modules/get-stream/package.json +47 -0
- package/.output/server/node_modules/human-signals/build/src/core.js +273 -0
- package/.output/server/node_modules/human-signals/build/src/main.js +71 -0
- package/.output/server/node_modules/human-signals/build/src/realtime.js +19 -0
- package/.output/server/node_modules/human-signals/build/src/signals.js +35 -0
- package/.output/server/node_modules/human-signals/package.json +64 -0
- package/.output/server/node_modules/is-stream/index.js +28 -0
- package/.output/server/node_modules/is-stream/package.json +42 -0
- package/.output/server/node_modules/isexe/index.js +57 -0
- package/.output/server/node_modules/isexe/mode.js +41 -0
- package/.output/server/node_modules/isexe/package.json +31 -0
- package/.output/server/node_modules/isexe/windows.js +42 -0
- package/.output/server/node_modules/merge-stream/index.js +41 -0
- package/.output/server/node_modules/merge-stream/package.json +19 -0
- package/.output/server/node_modules/mimic-fn/index.js +13 -0
- package/.output/server/node_modules/mimic-fn/package.json +42 -0
- package/.output/server/node_modules/npm-run-path/index.js +47 -0
- package/.output/server/node_modules/npm-run-path/package.json +44 -0
- package/.output/server/node_modules/onetime/index.js +44 -0
- package/.output/server/node_modules/onetime/package.json +43 -0
- package/.output/server/node_modules/path-key/index.js +16 -0
- package/.output/server/node_modules/path-key/package.json +39 -0
- package/.output/server/node_modules/pg-copy-streams/copy-both.js +267 -0
- package/.output/server/node_modules/pg-copy-streams/copy-from.js +173 -0
- package/.output/server/node_modules/pg-copy-streams/copy-to.js +177 -0
- package/.output/server/node_modules/pg-copy-streams/index.js +17 -0
- package/.output/server/node_modules/pg-copy-streams/message-formats.js +27 -0
- package/.output/server/node_modules/pg-copy-streams/obuf.js +376 -0
- package/.output/server/node_modules/pg-copy-streams/package.json +51 -0
- package/.output/server/node_modules/pg-dump-restore/lib/common.js +33 -0
- package/.output/server/node_modules/pg-dump-restore/lib/index.js +9 -0
- package/.output/server/node_modules/pg-dump-restore/lib/pg-dump.js +95 -0
- package/.output/server/node_modules/pg-dump-restore/lib/pg-restore.js +87 -0
- package/.output/server/node_modules/pg-dump-restore/package.json +66 -0
- package/.output/server/node_modules/pg-query-stream/esm/index.mjs +5 -0
- package/.output/server/node_modules/shebang-command/index.js +19 -0
- package/.output/server/node_modules/shebang-command/package.json +34 -0
- package/.output/server/node_modules/shebang-regex/index.js +2 -0
- package/.output/server/node_modules/shebang-regex/package.json +35 -0
- package/.output/server/node_modules/signal-exit/index.js +202 -0
- package/.output/server/node_modules/signal-exit/package.json +38 -0
- package/.output/server/node_modules/signal-exit/signals.js +53 -0
- package/.output/server/node_modules/strip-final-newline/index.js +16 -0
- package/.output/server/node_modules/strip-final-newline/package.json +40 -0
- package/.output/server/node_modules/which/package.json +43 -0
- package/.output/server/node_modules/which/which.js +125 -0
- package/.output/server/package.json +19 -1
- package/package.json +1 -1
- package/.output/public/_nuxt/9lJACZIQ.js +0 -19
- package/.output/public/_nuxt/B2DnNiWd.js +0 -1
- package/.output/public/_nuxt/BH83_dXo.js +0 -39
- package/.output/public/_nuxt/BIKqrFbQ.js +0 -1
- package/.output/public/_nuxt/BNjPC06x.js +0 -1
- package/.output/public/_nuxt/BPQ-Pz1w.js +0 -39
- package/.output/public/_nuxt/BRpgKkVT.js +0 -51
- package/.output/public/_nuxt/BTCLPbPY.js +0 -4
- package/.output/public/_nuxt/BUV-RarV.js +0 -1
- package/.output/public/_nuxt/Bh6RgYlO.js +0 -1
- package/.output/public/_nuxt/Bq3cyzOD.js +0 -1
- package/.output/public/_nuxt/Bt9sU68B.js +0 -9
- package/.output/public/_nuxt/BwpH2ZxJ.js +0 -1
- package/.output/public/_nuxt/C25Tmn1m.js +0 -1
- package/.output/public/_nuxt/C2HlI1ss.js +0 -1
- package/.output/public/_nuxt/CU3ZV9iV.js +0 -1
- package/.output/public/_nuxt/CepyvMhE.js +0 -1
- package/.output/public/_nuxt/CuBKbBH_.js +0 -1
- package/.output/public/_nuxt/CulD8qYQ.js +0 -193
- package/.output/public/_nuxt/CylkLpwm.js +0 -1
- package/.output/public/_nuxt/D-bWLYHw.js +0 -1
- package/.output/public/_nuxt/D-zecHND.js +0 -1
- package/.output/public/_nuxt/D8vj6kFe.js +0 -160
- package/.output/public/_nuxt/DIETYtCL.js +0 -1
- package/.output/public/_nuxt/DJ4vUzxS.js +0 -1
- package/.output/public/_nuxt/DK-itzXx.js +0 -8
- package/.output/public/_nuxt/DL3T5jYo.js +0 -3867
- package/.output/public/_nuxt/DUsuhY9i.js +0 -1
- package/.output/public/_nuxt/DXV2HFBA.js +0 -224
- package/.output/public/_nuxt/Dh2zppOR.js +0 -1
- package/.output/public/_nuxt/DlAUqK2U.js +0 -1
- package/.output/public/_nuxt/DlmSeCnw.js +0 -5
- package/.output/public/_nuxt/DswTpYG4.js +0 -1
- package/.output/public/_nuxt/G830WtVn.js +0 -1
- package/.output/public/_nuxt/ICwM1E4-.js +0 -15
- package/.output/public/_nuxt/QZbJy9YW.js +0 -31
- package/.output/public/_nuxt/QuickQueryTable.DS_ON57S.css +0 -1
- package/.output/public/_nuxt/UXhX8z2W.js +0 -1
- package/.output/public/_nuxt/WrapperErdDiagram.DwhUd9Wr.css +0 -1
- package/.output/public/_nuxt/_tabViewId_.9Axt3zoi.css +0 -1
- package/.output/public/_nuxt/builds/meta/03cede5c-c45c-41b3-ac1a-73756bb8cff0.json +0 -1
- package/.output/public/_nuxt/default.DixIpIal.css +0 -1
- package/.output/public/_nuxt/entry.GqPNPe1e.css +0 -1
- package/.output/public/_nuxt/ivUnXl9B.js +0 -1
- package/.output/public/_nuxt/pAheHeBV.js +0 -36
- package/.output/public/_nuxt/s5fCn4j5.js +0 -1
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
var _o=Object.defineProperty;var So=Object.getPrototypeOf;var xo=Reflect.get;var _n=t=>{throw TypeError(t)};var Bo=(t,e,n)=>e in t?_o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var h=(t,e,n)=>Bo(t,typeof e!="symbol"?e+"":e,n),Bt=(t,e,n)=>e.has(t)||_n("Cannot "+n);var O=(t,e,n)=>(Bt(t,e,"read from private field"),n?n.call(t):e.get(t)),le=(t,e,n)=>e.has(t)?_n("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),W=(t,e,n,r)=>(Bt(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),It=(t,e,n)=>(Bt(t,e,"access private method"),n);var Sn=(t,e,n)=>xo(So(t),n,e);import{cz as pr,cA as Io,cB as Eo,r as Ut,C as rt,bJ as Ro,d as Ao,j as Ke,o as we,k as Xe,p as Et,v as Rt,e as Me,x as Fo,f as Qe,y as Lo,a as xn,b as No,_ as Mo,n as To,bd as Po,cC as $o,I as Oo,z as Go,ax as jo}from"./ykQL1ia3.js";import{H as Do}from"./Bdtn2mn5.js";const Ho=" ",qo=`
|
|
2
|
+
`,ot=async t=>{try{await navigator.clipboard.writeText(t),console.log("Copied successfully!")}catch(e){console.error("Copy failed:",e)}},hr=(t,e=!1)=>t.map(n=>{const r=n;return e&&Object.keys(n).forEach(o=>{const a=n[o];(typeof a=="object"||Object.prototype.toString.call(a)==="[object Object]")&&a!==null?r[o]=JSON.stringify(a):r[o]=a}),delete r[Do],r}),Uo=t=>t==null?"NULL":typeof t=="string"?`'${t.replace(/'/g,"''")}'`:typeof t=="number"||typeof t=="bigint"?t:typeof t=="boolean"?t?1:0:t instanceof Date?`'${t.toISOString().slice(0,19).replace("T"," ")}'`:`'${JSON.stringify(t).replace(/'/g,"''")}'`,mr=(t,e,n)=>{if(t.length===0)return"";const r=Object.keys(t[0]),o=t.map(i=>`(${r.map(c=>Uo(i[c])).join(", ")})`);return`-- ${n} ${t.length} rows on ${new Date().toLocaleString()}
|
|
3
|
+
-- Table: ${e}
|
|
4
|
+
|
|
5
|
+
INSERT INTO "${e}" (${r.map(i=>`"${i}"`).join(", ")})
|
|
6
|
+
VALUES
|
|
7
|
+
${o.join(`,
|
|
8
|
+
`)};
|
|
9
|
+
`},Ol=(t,e,n)=>{if(!t.length)return;const o=hr(t,n==="csv-with-header"||n==="csv-no-header");if(n==="csv-with-header"||n==="csv-no-header"){const a=n==="csv-with-header",i=pr.unparse(o,{header:a,delimiter:Ho});ot(i);return}if(n==="json"){ot(JSON.stringify(o));return}if(n==="sql"){const a=mr(o,e,"Copied");ot(a);return}},Gl=(t,e,n,r)=>{if(!t.length)return;const a=hr(t,n==="csv-with-header"||n==="csv-no-header"),i=a.length,c=r==="selected"?`selected_${i}_rows`:`all_${i}_rows`,s=new Date().toISOString().slice(0,19).replace(/:/g,"-"),l=`${e}_${c}_${s}`;let u,d;if(n==="csv-with-header"||n==="csv-no-header"){const g=n==="csv-with-header",f=pr.unparse(a,{header:g});u=new Blob(["\uFEFF"+f],{type:"text/csv;charset=utf-8;"}),d="csv"}else if(n==="json"){const g=JSON.stringify(a);u=new Blob([g],{type:"application/json"}),d="json"}else if(n==="sql"){const g=mr(a,e,"Exported");u=new Blob([g],{type:"text/sql"}),d="sql"}else return;Io.saveAs(u,`${l}.${d}`)},jl=(t,e,n)=>{if(!e||!t.length)return;const r=t.map(i=>i[e]);let o,a=[];r.forEach(i=>{let c=i;i==null?c="":typeof i=="object"&&!(i instanceof Date)&&i!==null&&(c=JSON.stringify(i)),a.push(c)}),n==="json"?o=JSON.stringify(r,null,2):o=a.join(qo),ot(o)},Wo=Object.freeze(JSON.parse('{"displayName":"JSON","name":"json","patterns":[{"include":"#value"}],"repository":{"array":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.json"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.array.end.json"}},"name":"meta.structure.array.json","patterns":[{"include":"#value"},{"match":",","name":"punctuation.separator.array.json"},{"match":"[^]\\\\s]","name":"invalid.illegal.expected-array-separator.json"}]},"comments":{"patterns":[{"begin":"/\\\\*\\\\*(?!/)","captures":{"0":{"name":"punctuation.definition.comment.json"}},"end":"\\\\*/","name":"comment.block.documentation.json"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.json"}},"end":"\\\\*/","name":"comment.block.json"},{"captures":{"1":{"name":"punctuation.definition.comment.json"}},"match":"(//).*$\\\\n?","name":"comment.line.double-slash.js"}]},"constant":{"match":"\\\\b(?:true|false|null)\\\\b","name":"constant.language.json"},"number":{"match":"-?(?:0|[1-9]\\\\d*)(?:(?:\\\\.\\\\d+)?(?:[Ee][-+]?\\\\d+)?)?","name":"constant.numeric.json"},"object":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.dictionary.begin.json"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.dictionary.end.json"}},"name":"meta.structure.dictionary.json","patterns":[{"include":"#objectkey"},{"include":"#comments"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.dictionary.key-value.json"}},"end":"(,)|(?=})","endCaptures":{"1":{"name":"punctuation.separator.dictionary.pair.json"}},"name":"meta.structure.dictionary.value.json","patterns":[{"include":"#value"},{"match":"[^,\\\\s]","name":"invalid.illegal.expected-dictionary-separator.json"}]},{"match":"[^}\\\\s]","name":"invalid.illegal.expected-dictionary-separator.json"}]},"objectkey":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.support.type.property-name.begin.json"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.support.type.property-name.end.json"}},"name":"string.json support.type.property-name.json","patterns":[{"include":"#stringcontent"}]},"string":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.json"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.json"}},"name":"string.quoted.double.json","patterns":[{"include":"#stringcontent"}]},"stringcontent":{"patterns":[{"match":"\\\\\\\\(?:[\\"/\\\\\\\\bfnrt]|u\\\\h{4})","name":"constant.character.escape.json"},{"match":"\\\\\\\\.","name":"invalid.illegal.unrecognized-string-escape.json"}]},"value":{"patterns":[{"include":"#constant"},{"include":"#number"},{"include":"#string"},{"include":"#array"},{"include":"#object"},{"include":"#comments"}]}},"scopeName":"source.json"}')),zo=[Wo],Vo=Object.freeze(JSON.parse(`{"displayName":"PL/SQL","fileTypes":["sql","ddl","dml","pkh","pks","pkb","pck","pls","plb"],"foldingStartMarker":"(?i)^\\\\s*(begin|if|loop)\\\\b","foldingStopMarker":"(?i)^\\\\s*(end)\\\\b","name":"plsql","patterns":[{"begin":"/\\\\*","end":"\\\\*/","name":"comment.block.oracle"},{"match":"--.*$","name":"comment.line.double-dash.oracle"},{"match":"(?i)^\\\\s*rem\\\\s+.*$","name":"comment.line.sqlplus.oracle"},{"match":"(?i)^\\\\s*prompt\\\\s+.*$","name":"comment.line.sqlplus-prompt.oracle"},{"captures":{"1":{"name":"keyword.other.oracle"},"2":{"name":"keyword.other.oracle"}},"match":"(?i)^\\\\s*(create)(\\\\s+or\\\\s+replace)?\\\\s+","name":"meta.create.oracle"},{"captures":{"1":{"name":"keyword.other.oracle"},"2":{"name":"keyword.other.oracle"},"3":{"name":"entity.name.type.oracle"}},"match":"(?i)\\\\b(package)(\\\\s+body)?\\\\s+(\\\\S+)","name":"meta.package.oracle"},{"captures":{"1":{"name":"keyword.other.oracle"},"2":{"name":"entity.name.type.oracle"}},"match":"(?i)\\\\b(type)\\\\s+\\"([^\\"]+)\\"","name":"meta.type.oracle"},{"captures":{"1":{"name":"keyword.other.oracle"},"2":{"name":"entity.name.function.oracle"}},"match":"(?i)^\\\\s*(function|procedure)\\\\s+\\"?([-0-9_a-z]+)\\"?","name":"meta.procedure.oracle"},{"match":"[!:<>]?=|<>|[+<>]|(?<!\\\\.)\\\\*|-|(?<!^)/|\\\\|\\\\|","name":"keyword.operator.oracle"},{"match":"(?i)\\\\b(true|false|null|is\\\\s+(not\\\\s+)?null)\\\\b","name":"constant.language.oracle"},{"match":"\\\\b\\\\d+(\\\\.\\\\d+)?\\\\b","name":"constant.numeric.oracle"},{"match":"(?i)\\\\b(if|elsif|else|end\\\\s+if|loop|end\\\\s+loop|for|while|case|end\\\\s+case|continue|return|goto)\\\\b","name":"keyword.control.oracle"},{"match":"(?i)\\\\b(or|and|not|like)\\\\b","name":"keyword.other.oracle"},{"match":"(?i)\\\\b(%(isopen|found|notfound|rowcount)|commit|rollback|sqlerrm)\\\\b","name":"support.function.oracle"},{"match":"(?i)\\\\b(sql(?:|code))\\\\b","name":"variable.language.oracle"},{"match":"(?i)\\\\b(ascii|asciistr|chr|compose|concat|convert|decompose|dump|initcap|instrb??|instrc|instr2|instr4|unistr|lengthb??|lengthc|length2|length4|lower|lpad|ltrim|nchr|replace|rpad|rtrim|soundex|substr|translate|trim|upper|vsize)\\\\b","name":"support.function.builtin.char.oracle"},{"match":"(?i)\\\\b(add_months|current_date|current_timestamp|dbtimezone|last_day|localtimestamp|months_between|new_time|next_day|round|sessiontimezone|sysdate|tz_offset|systimestamp)\\\\b","name":"support.function.builtin.date.oracle"},{"match":"(?i)\\\\b(avg|count|sum|max|min|median|corr|corr_\\\\w+|covar_(pop|samp)|cume_dist|dense_rank|first|group_id|grouping|grouping_id|last|percentile_cont|percentile_disc|percent_rank|rank|regr_\\\\w+|row_number|stats_binomial_test|stats_crosstab|stats_f_test|stats_ks_test|stats_mode|stats_mw_test|stats_one_way_anova|stats_t_test_\\\\w+|stats_wsr_test|stddev|stddev_pop|stddev_samp|var_pop|var_samp|variance)\\\\b","name":"support.function.builtin.aggregate.oracle"},{"match":"(?i)\\\\b(bfilename|cardinality|coalesce|decode|empty_([bc]lob)|lag|lead|listagg|lnnvl|nanvl|nullif|nvl2??|sys_(context|guid|typeid|connect_by_path|extract_utc)|uid|(current\\\\s+)?user|userenv|cardinality|(bulk\\\\s+)?collect|powermultiset(_by_cardinality)?|ora_hash|standard_hash|execute\\\\s+immediate|alter\\\\s+session)\\\\b","name":"support.function.builtin.advanced.oracle"},{"match":"(?i)\\\\b(bin_to_num|cast|chartorowid|from_tz|hextoraw|numtodsinterval|numtoyminterval|rawtohex|rawtonhex|to_char|to_clob|to_date|to_dsinterval|to_lob|to_multi_byte|to_nclob|to_number|to_single_byte|to_timestamp|to_timestamp_tz|to_yminterval|scn_to_timestamp|timestamp_to_scn|rowidtochar|rowidtonchar|to_binary_double|to_binary_float|to_blob|to_nchar|con_dbid_to_id|con_guid_to_id|con_name_to_id|con_uid_to_id)\\\\b","name":"support.function.builtin.convert.oracle"},{"match":"(?i)\\\\b(abs|acos|asin|atan2??|bit_(and|or|xor)|ceil|cosh??|exp|extract|floor|greatest|least|ln|log|mod|power|remainder|round|sign|sinh??|sqrt|tanh??|trunc)\\\\b","name":"support.function.builtin.math.oracle"},{"match":"(?i)\\\\b(\\\\.(count|delete|exists|extend|first|last|limit|next|prior|trim|reverse))\\\\b","name":"support.function.builtin.collection.oracle"},{"match":"(?i)\\\\b(cluster_details|cluster_distance|cluster_id|cluster_probability|cluster_set|feature_details|feature_id|feature_set|feature_value|prediction|prediction_bounds|prediction_cost|prediction_details|prediction_probability|prediction_set)\\\\b","name":"support.function.builtin.data_mining.oracle"},{"match":"(?i)\\\\b(appendchildxml|deletexml|depth|extract|existsnode|extractvalue|insertchildxml|insertxmlbefore|xmlcast|xmldiff|xmlelement|xmlexists|xmlisvalid|insertchildxmlafter|insertchildxmlbefore|path|sys_dburigen|sys_xmlagg|sys_xmlgen|updatexml|xmlagg|xmlcdata|xmlcolattval|xmlcomment|xmlconcat|xmlforest|xmlparse|xmlpi|xmlquery|xmlroot|xmlsequence|xmlserialize|xmltable|xmltransform)\\\\b","name":"support.function.builtin.xml.oracle"},{"match":"(?i)\\\\b(pragma\\\\s+(autonomous_transaction|serially_reusable|restrict_references|exception_init|inline))\\\\b","name":"keyword.other.pragma.oracle"},{"match":"(?i)\\\\b(p([io]|io)_[-0-9_a-z]+)\\\\b","name":"variable.parameter.oracle"},{"match":"(?i)\\\\b(l_[-0-9_a-z]+)\\\\b","name":"variable.other.oracle"},{"match":"(?i):\\\\b(new|old)\\\\b","name":"variable.trigger.oracle"},{"match":"(?i)\\\\b(connect\\\\s+by\\\\s+(nocycle\\\\s+)?(prior|level)|connect_by_(root|icycle)|level|start\\\\s+with)\\\\b","name":"keyword.hierarchical.sql.oracle"},{"match":"(?i)\\\\b(language|name|java|c)\\\\b","name":"keyword.wrapper.oracle"},{"match":"(?i)\\\\b(end|then|deterministic|exception|when|declare|begin|in|out|nocopy|is|as|exit|open|fetch|into|close|subtype|type|rowtype|default|exclusive|mode|lock|record|index\\\\s+by|result_cache|constant|comment|\\\\.((?:next|curr)val))\\\\b","name":"keyword.other.oracle"},{"match":"(?i)\\\\b(grant|revoke|alter|drop|force|add|check|constraint|primary\\\\s+key|foreign\\\\s+key|references|unique(\\\\s+index)?|column|sequence|increment\\\\s+by|cache|(materialized\\\\s+)?view|trigger|storage|tablespace|pct(free|used)|(init|max)trans|logging)\\\\b","name":"keyword.other.ddl.oracle"},{"match":"(?i)\\\\b(with|select|from|where|order\\\\s+(siblings\\\\s+)?by|group\\\\s+by|rollup|cube|((left|right|cross|natural)\\\\s+(outer\\\\s+)?)?join|on|asc|desc|update|set|insert|into|values|delete|distinct|union|minus|intersect|having|limit|table|between|like|of|row|(r(?:ange|ows))\\\\s+between|nulls\\\\s+first|nulls\\\\s+last|before|after|all|any|exists|rownum|cursor|returning|over|partition\\\\s+by|merge|using|matched|pivot|unpivot)\\\\b","name":"keyword.other.sql.oracle"},{"match":"(?i)\\\\b(define|whenever\\\\s+sqlerror|exec|timing\\\\s+start|timing\\\\s+stop)\\\\b","name":"keyword.other.sqlplus.oracle"},{"match":"(?i)\\\\b(access_into_null|case_not_found|collection_is_null|cursor_already_open|dup_val_on_index|invalid_cursor|invalid_number|login_denied|no_data_found|not_logged_on|program_error|rowtype_mismatch|self_is_null|storage_error|subscript_beyond_count|subscript_outside_limit|sys_invalid_rowid|timeout_on_resource|too_many_rows|value_error|zero_divide|others)\\\\b","name":"support.type.exception.oracle"},{"captures":{"3":{"name":"support.class.oracle"}},"match":"(?i)\\\\b((dbms|utl|owa|apex)_\\\\w+\\\\.(\\\\w+))\\\\b","name":"support.function.oracle"},{"captures":{"3":{"name":"support.class.oracle"}},"match":"(?i)\\\\b((ht[fp])\\\\.(\\\\w+))\\\\b","name":"support.function.oracle"},{"captures":{"3":{"name":"support.class.user-defined.oracle"}},"match":"(?i)\\\\b((\\\\w+_pkg|pkg_\\\\w+)\\\\.(\\\\w+))\\\\b","name":"support.function.user-defined.oracle"},{"match":"(?i)\\\\b(raise(?:|_application_error))\\\\b","name":"support.function.oracle"},{"begin":"'","end":"'","name":"string.quoted.single.oracle"},{"begin":"\\"","end":"\\"","name":"string.quoted.double.oracle"},{"match":"(?i)\\\\b(char|varchar2??|nchar|nvarchar2|boolean|date|timestamp(\\\\s+with(\\\\s+local)?\\\\s+time\\\\s+zone)?|interval\\\\s*day(\\\\(\\\\d*\\\\))?\\\\s*to\\\\s*month|interval\\\\s*year(\\\\(\\\\d*\\\\))?\\\\s*to\\\\s*second(\\\\(\\\\d*\\\\))?|xmltype|blob|clob|nclob|bfile|long|long\\\\s+raw|raw|number|integer|decimal|smallint|float|binary_(float|double|integer)|pls_(float|double|integer)|rowid|urowid|vararray|naturaln??|positiven??|signtype|simple_(float|double|integer))\\\\b","name":"storage.type.oracle"}],"scopeName":"source.plsql.oracle"}`)),Ko=[Vo],Xo=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBackground":"#00000000","activityBar.activeBorder":"#00000000","activityBar.activeFocusBorder":"#00000000","activityBar.background":"#dce0e8","activityBar.border":"#00000000","activityBar.dropBorder":"#8839ef33","activityBar.foreground":"#8839ef","activityBar.inactiveForeground":"#9ca0b0","activityBarBadge.background":"#8839ef","activityBarBadge.foreground":"#dce0e8","activityBarTop.activeBorder":"#00000000","activityBarTop.dropBorder":"#8839ef33","activityBarTop.foreground":"#8839ef","activityBarTop.inactiveForeground":"#9ca0b0","badge.background":"#bcc0cc","badge.foreground":"#4c4f69","banner.background":"#bcc0cc","banner.foreground":"#4c4f69","banner.iconForeground":"#4c4f69","breadcrumb.activeSelectionForeground":"#8839ef","breadcrumb.background":"#eff1f5","breadcrumb.focusForeground":"#8839ef","breadcrumb.foreground":"#4c4f69cc","breadcrumbPicker.background":"#e6e9ef","button.background":"#8839ef","button.border":"#00000000","button.foreground":"#dce0e8","button.hoverBackground":"#9c5af2","button.secondaryBackground":"#acb0be","button.secondaryBorder":"#8839ef","button.secondaryForeground":"#4c4f69","button.secondaryHoverBackground":"#c0c3ce","button.separator":"#00000000","charts.blue":"#1e66f5","charts.foreground":"#4c4f69","charts.green":"#40a02b","charts.lines":"#5c5f77","charts.orange":"#fe640b","charts.purple":"#8839ef","charts.red":"#d20f39","charts.yellow":"#df8e1d","checkbox.background":"#bcc0cc","checkbox.border":"#00000000","checkbox.foreground":"#8839ef","commandCenter.activeBackground":"#acb0be33","commandCenter.activeBorder":"#8839ef","commandCenter.activeForeground":"#8839ef","commandCenter.background":"#e6e9ef","commandCenter.border":"#00000000","commandCenter.foreground":"#5c5f77","commandCenter.inactiveBorder":"#00000000","commandCenter.inactiveForeground":"#5c5f77","debugConsole.errorForeground":"#d20f39","debugConsole.infoForeground":"#1e66f5","debugConsole.sourceForeground":"#dc8a78","debugConsole.warningForeground":"#fe640b","debugConsoleInputIcon.foreground":"#4c4f69","debugExceptionWidget.background":"#dce0e8","debugExceptionWidget.border":"#8839ef","debugIcon.breakpointCurrentStackframeForeground":"#acb0be","debugIcon.breakpointDisabledForeground":"#d20f3999","debugIcon.breakpointForeground":"#d20f39","debugIcon.breakpointStackframeForeground":"#acb0be","debugIcon.breakpointUnverifiedForeground":"#bf607c","debugIcon.continueForeground":"#40a02b","debugIcon.disconnectForeground":"#acb0be","debugIcon.pauseForeground":"#1e66f5","debugIcon.restartForeground":"#179299","debugIcon.startForeground":"#40a02b","debugIcon.stepBackForeground":"#acb0be","debugIcon.stepIntoForeground":"#4c4f69","debugIcon.stepOutForeground":"#4c4f69","debugIcon.stepOverForeground":"#8839ef","debugIcon.stopForeground":"#d20f39","debugTokenExpression.boolean":"#8839ef","debugTokenExpression.error":"#d20f39","debugTokenExpression.number":"#fe640b","debugTokenExpression.string":"#40a02b","debugToolBar.background":"#dce0e8","debugToolBar.border":"#00000000","descriptionForeground":"#4c4f69","diffEditor.border":"#acb0be","diffEditor.diagonalFill":"#acb0be99","diffEditor.insertedLineBackground":"#40a02b26","diffEditor.insertedTextBackground":"#40a02b33","diffEditor.removedLineBackground":"#d20f3926","diffEditor.removedTextBackground":"#d20f3933","diffEditorOverview.insertedForeground":"#40a02bcc","diffEditorOverview.removedForeground":"#d20f39cc","disabledForeground":"#6c6f85","dropdown.background":"#e6e9ef","dropdown.border":"#8839ef","dropdown.foreground":"#4c4f69","dropdown.listBackground":"#acb0be","editor.background":"#eff1f5","editor.findMatchBackground":"#e6adbd","editor.findMatchBorder":"#d20f3933","editor.findMatchHighlightBackground":"#a9daf0","editor.findMatchHighlightBorder":"#04a5e533","editor.findRangeHighlightBackground":"#a9daf0","editor.findRangeHighlightBorder":"#04a5e533","editor.focusedStackFrameHighlightBackground":"#40a02b26","editor.foldBackground":"#04a5e540","editor.foreground":"#4c4f69","editor.hoverHighlightBackground":"#04a5e540","editor.lineHighlightBackground":"#4c4f6912","editor.lineHighlightBorder":"#00000000","editor.rangeHighlightBackground":"#04a5e540","editor.rangeHighlightBorder":"#00000000","editor.selectionBackground":"#7c7f934d","editor.selectionHighlightBackground":"#7c7f9333","editor.selectionHighlightBorder":"#7c7f9333","editor.stackFrameHighlightBackground":"#df8e1d26","editor.wordHighlightBackground":"#7c7f9333","editor.wordHighlightStrongBackground":"#1e66f526","editorBracketHighlight.foreground1":"#d20f39","editorBracketHighlight.foreground2":"#fe640b","editorBracketHighlight.foreground3":"#df8e1d","editorBracketHighlight.foreground4":"#40a02b","editorBracketHighlight.foreground5":"#209fb5","editorBracketHighlight.foreground6":"#8839ef","editorBracketHighlight.unexpectedBracket.foreground":"#e64553","editorBracketMatch.background":"#7c7f931a","editorBracketMatch.border":"#7c7f93","editorCodeLens.foreground":"#8c8fa1","editorCursor.background":"#eff1f5","editorCursor.foreground":"#dc8a78","editorError.background":"#00000000","editorError.border":"#00000000","editorError.foreground":"#d20f39","editorGroup.border":"#acb0be","editorGroup.dropBackground":"#8839ef33","editorGroup.emptyBackground":"#eff1f5","editorGroupHeader.tabsBackground":"#dce0e8","editorGutter.addedBackground":"#40a02b","editorGutter.background":"#eff1f5","editorGutter.commentGlyphForeground":"#8839ef","editorGutter.commentRangeForeground":"#ccd0da","editorGutter.deletedBackground":"#d20f39","editorGutter.foldingControlForeground":"#7c7f93","editorGutter.modifiedBackground":"#df8e1d","editorHoverWidget.background":"#e6e9ef","editorHoverWidget.border":"#acb0be","editorHoverWidget.foreground":"#4c4f69","editorIndentGuide.activeBackground":"#acb0be","editorIndentGuide.background":"#bcc0cc","editorInfo.background":"#00000000","editorInfo.border":"#00000000","editorInfo.foreground":"#1e66f5","editorInlayHint.background":"#e6e9efbf","editorInlayHint.foreground":"#acb0be","editorInlayHint.parameterBackground":"#e6e9efbf","editorInlayHint.parameterForeground":"#6c6f85","editorInlayHint.typeBackground":"#e6e9efbf","editorInlayHint.typeForeground":"#5c5f77","editorLightBulb.foreground":"#df8e1d","editorLineNumber.activeForeground":"#8839ef","editorLineNumber.foreground":"#8c8fa1","editorLink.activeForeground":"#8839ef","editorMarkerNavigation.background":"#e6e9ef","editorMarkerNavigationError.background":"#d20f39","editorMarkerNavigationInfo.background":"#1e66f5","editorMarkerNavigationWarning.background":"#fe640b","editorOverviewRuler.background":"#e6e9ef","editorOverviewRuler.border":"#4c4f6912","editorOverviewRuler.modifiedForeground":"#df8e1d","editorRuler.foreground":"#acb0be","editorStickyScrollHover.background":"#ccd0da","editorSuggestWidget.background":"#e6e9ef","editorSuggestWidget.border":"#acb0be","editorSuggestWidget.foreground":"#4c4f69","editorSuggestWidget.highlightForeground":"#8839ef","editorSuggestWidget.selectedBackground":"#ccd0da","editorWarning.background":"#00000000","editorWarning.border":"#00000000","editorWarning.foreground":"#fe640b","editorWhitespace.foreground":"#7c7f9366","editorWidget.background":"#e6e9ef","editorWidget.foreground":"#4c4f69","editorWidget.resizeBorder":"#acb0be","errorForeground":"#d20f39","errorLens.errorBackground":"#d20f3926","errorLens.errorBackgroundLight":"#d20f3926","errorLens.errorForeground":"#d20f39","errorLens.errorForegroundLight":"#d20f39","errorLens.errorMessageBackground":"#d20f3926","errorLens.hintBackground":"#40a02b26","errorLens.hintBackgroundLight":"#40a02b26","errorLens.hintForeground":"#40a02b","errorLens.hintForegroundLight":"#40a02b","errorLens.hintMessageBackground":"#40a02b26","errorLens.infoBackground":"#1e66f526","errorLens.infoBackgroundLight":"#1e66f526","errorLens.infoForeground":"#1e66f5","errorLens.infoForegroundLight":"#1e66f5","errorLens.infoMessageBackground":"#1e66f526","errorLens.statusBarErrorForeground":"#d20f39","errorLens.statusBarHintForeground":"#40a02b","errorLens.statusBarIconErrorForeground":"#d20f39","errorLens.statusBarIconWarningForeground":"#fe640b","errorLens.statusBarInfoForeground":"#1e66f5","errorLens.statusBarWarningForeground":"#fe640b","errorLens.warningBackground":"#fe640b26","errorLens.warningBackgroundLight":"#fe640b26","errorLens.warningForeground":"#fe640b","errorLens.warningForegroundLight":"#fe640b","errorLens.warningMessageBackground":"#fe640b26","extensionBadge.remoteBackground":"#1e66f5","extensionBadge.remoteForeground":"#dce0e8","extensionButton.prominentBackground":"#8839ef","extensionButton.prominentForeground":"#dce0e8","extensionButton.prominentHoverBackground":"#9c5af2","extensionButton.separator":"#eff1f5","extensionIcon.preReleaseForeground":"#acb0be","extensionIcon.sponsorForeground":"#ea76cb","extensionIcon.starForeground":"#df8e1d","extensionIcon.verifiedForeground":"#40a02b","focusBorder":"#8839ef","foreground":"#4c4f69","gitDecoration.addedResourceForeground":"#40a02b","gitDecoration.conflictingResourceForeground":"#8839ef","gitDecoration.deletedResourceForeground":"#d20f39","gitDecoration.ignoredResourceForeground":"#9ca0b0","gitDecoration.modifiedResourceForeground":"#df8e1d","gitDecoration.stageDeletedResourceForeground":"#d20f39","gitDecoration.stageModifiedResourceForeground":"#df8e1d","gitDecoration.submoduleResourceForeground":"#1e66f5","gitDecoration.untrackedResourceForeground":"#40a02b","gitlens.closedAutolinkedIssueIconColor":"#8839ef","gitlens.closedPullRequestIconColor":"#d20f39","gitlens.decorations.branchAheadForegroundColor":"#40a02b","gitlens.decorations.branchBehindForegroundColor":"#fe640b","gitlens.decorations.branchDivergedForegroundColor":"#df8e1d","gitlens.decorations.branchMissingUpstreamForegroundColor":"#fe640b","gitlens.decorations.branchUnpublishedForegroundColor":"#40a02b","gitlens.decorations.statusMergingOrRebasingConflictForegroundColor":"#e64553","gitlens.decorations.statusMergingOrRebasingForegroundColor":"#df8e1d","gitlens.decorations.workspaceCurrentForegroundColor":"#8839ef","gitlens.decorations.workspaceRepoMissingForegroundColor":"#6c6f85","gitlens.decorations.workspaceRepoOpenForegroundColor":"#8839ef","gitlens.decorations.worktreeHasUncommittedChangesForegroundColor":"#fe640b","gitlens.decorations.worktreeMissingForegroundColor":"#e64553","gitlens.graphChangesColumnAddedColor":"#40a02b","gitlens.graphChangesColumnDeletedColor":"#d20f39","gitlens.graphLane10Color":"#ea76cb","gitlens.graphLane1Color":"#8839ef","gitlens.graphLane2Color":"#df8e1d","gitlens.graphLane3Color":"#1e66f5","gitlens.graphLane4Color":"#dd7878","gitlens.graphLane5Color":"#40a02b","gitlens.graphLane6Color":"#7287fd","gitlens.graphLane7Color":"#dc8a78","gitlens.graphLane8Color":"#d20f39","gitlens.graphLane9Color":"#179299","gitlens.graphMinimapMarkerHeadColor":"#40a02b","gitlens.graphMinimapMarkerHighlightsColor":"#df8e1d","gitlens.graphMinimapMarkerLocalBranchesColor":"#1e66f5","gitlens.graphMinimapMarkerRemoteBranchesColor":"#0b57ef","gitlens.graphMinimapMarkerStashesColor":"#8839ef","gitlens.graphMinimapMarkerTagsColor":"#dd7878","gitlens.graphMinimapMarkerUpstreamColor":"#388c26","gitlens.graphScrollMarkerHeadColor":"#40a02b","gitlens.graphScrollMarkerHighlightsColor":"#df8e1d","gitlens.graphScrollMarkerLocalBranchesColor":"#1e66f5","gitlens.graphScrollMarkerRemoteBranchesColor":"#0b57ef","gitlens.graphScrollMarkerStashesColor":"#8839ef","gitlens.graphScrollMarkerTagsColor":"#dd7878","gitlens.graphScrollMarkerUpstreamColor":"#388c26","gitlens.gutterBackgroundColor":"#ccd0da4d","gitlens.gutterForegroundColor":"#4c4f69","gitlens.gutterUncommittedForegroundColor":"#8839ef","gitlens.lineHighlightBackgroundColor":"#8839ef26","gitlens.lineHighlightOverviewRulerColor":"#8839efcc","gitlens.mergedPullRequestIconColor":"#8839ef","gitlens.openAutolinkedIssueIconColor":"#40a02b","gitlens.openPullRequestIconColor":"#40a02b","gitlens.trailingLineBackgroundColor":"#00000000","gitlens.trailingLineForegroundColor":"#4c4f694d","gitlens.unpublishedChangesIconColor":"#40a02b","gitlens.unpublishedCommitIconColor":"#40a02b","gitlens.unpulledChangesIconColor":"#fe640b","icon.foreground":"#8839ef","input.background":"#ccd0da","input.border":"#00000000","input.foreground":"#4c4f69","input.placeholderForeground":"#4c4f6973","inputOption.activeBackground":"#acb0be","inputOption.activeBorder":"#8839ef","inputOption.activeForeground":"#4c4f69","inputValidation.errorBackground":"#d20f39","inputValidation.errorBorder":"#dce0e833","inputValidation.errorForeground":"#dce0e8","inputValidation.infoBackground":"#1e66f5","inputValidation.infoBorder":"#dce0e833","inputValidation.infoForeground":"#dce0e8","inputValidation.warningBackground":"#fe640b","inputValidation.warningBorder":"#dce0e833","inputValidation.warningForeground":"#dce0e8","issues.closed":"#8839ef","issues.newIssueDecoration":"#dc8a78","issues.open":"#40a02b","list.activeSelectionBackground":"#ccd0da","list.activeSelectionForeground":"#4c4f69","list.dropBackground":"#8839ef33","list.focusAndSelectionBackground":"#bcc0cc","list.focusBackground":"#ccd0da","list.focusForeground":"#4c4f69","list.focusOutline":"#00000000","list.highlightForeground":"#8839ef","list.hoverBackground":"#ccd0da80","list.hoverForeground":"#4c4f69","list.inactiveSelectionBackground":"#ccd0da","list.inactiveSelectionForeground":"#4c4f69","list.warningForeground":"#fe640b","listFilterWidget.background":"#bcc0cc","listFilterWidget.noMatchesOutline":"#d20f39","listFilterWidget.outline":"#00000000","menu.background":"#eff1f5","menu.border":"#eff1f580","menu.foreground":"#4c4f69","menu.selectionBackground":"#acb0be","menu.selectionBorder":"#00000000","menu.selectionForeground":"#4c4f69","menu.separatorBackground":"#acb0be","menubar.selectionBackground":"#bcc0cc","menubar.selectionForeground":"#4c4f69","merge.commonContentBackground":"#bcc0cc","merge.commonHeaderBackground":"#acb0be","merge.currentContentBackground":"#40a02b33","merge.currentHeaderBackground":"#40a02b66","merge.incomingContentBackground":"#1e66f533","merge.incomingHeaderBackground":"#1e66f566","minimap.background":"#e6e9ef80","minimap.errorHighlight":"#d20f39bf","minimap.findMatchHighlight":"#04a5e54d","minimap.selectionHighlight":"#acb0bebf","minimap.selectionOccurrenceHighlight":"#acb0bebf","minimap.warningHighlight":"#fe640bbf","minimapGutter.addedBackground":"#40a02bbf","minimapGutter.deletedBackground":"#d20f39bf","minimapGutter.modifiedBackground":"#df8e1dbf","minimapSlider.activeBackground":"#8839ef99","minimapSlider.background":"#8839ef33","minimapSlider.hoverBackground":"#8839ef66","notificationCenter.border":"#8839ef","notificationCenterHeader.background":"#e6e9ef","notificationCenterHeader.foreground":"#4c4f69","notificationLink.foreground":"#1e66f5","notificationToast.border":"#8839ef","notifications.background":"#e6e9ef","notifications.border":"#8839ef","notifications.foreground":"#4c4f69","notificationsErrorIcon.foreground":"#d20f39","notificationsInfoIcon.foreground":"#1e66f5","notificationsWarningIcon.foreground":"#fe640b","panel.background":"#eff1f5","panel.border":"#acb0be","panelSection.border":"#acb0be","panelSection.dropBackground":"#8839ef33","panelTitle.activeBorder":"#8839ef","panelTitle.activeForeground":"#4c4f69","panelTitle.inactiveForeground":"#6c6f85","peekView.border":"#8839ef","peekViewEditor.background":"#e6e9ef","peekViewEditor.matchHighlightBackground":"#04a5e54d","peekViewEditor.matchHighlightBorder":"#00000000","peekViewEditorGutter.background":"#e6e9ef","peekViewResult.background":"#e6e9ef","peekViewResult.fileForeground":"#4c4f69","peekViewResult.lineForeground":"#4c4f69","peekViewResult.matchHighlightBackground":"#04a5e54d","peekViewResult.selectionBackground":"#ccd0da","peekViewResult.selectionForeground":"#4c4f69","peekViewTitle.background":"#eff1f5","peekViewTitleDescription.foreground":"#5c5f77b3","peekViewTitleLabel.foreground":"#4c4f69","pickerGroup.border":"#8839ef","pickerGroup.foreground":"#8839ef","problemsErrorIcon.foreground":"#d20f39","problemsInfoIcon.foreground":"#1e66f5","problemsWarningIcon.foreground":"#fe640b","progressBar.background":"#8839ef","pullRequests.closed":"#d20f39","pullRequests.draft":"#7c7f93","pullRequests.merged":"#8839ef","pullRequests.notification":"#4c4f69","pullRequests.open":"#40a02b","sash.hoverBorder":"#8839ef","scrollbar.shadow":"#dce0e8","scrollbarSlider.activeBackground":"#ccd0da66","scrollbarSlider.background":"#acb0be80","scrollbarSlider.hoverBackground":"#9ca0b0","selection.background":"#8839ef66","settings.dropdownBackground":"#bcc0cc","settings.dropdownListBorder":"#00000000","settings.focusedRowBackground":"#acb0be33","settings.headerForeground":"#4c4f69","settings.modifiedItemIndicator":"#8839ef","settings.numberInputBackground":"#bcc0cc","settings.numberInputBorder":"#00000000","settings.textInputBackground":"#bcc0cc","settings.textInputBorder":"#00000000","sideBar.background":"#e6e9ef","sideBar.border":"#00000000","sideBar.dropBackground":"#8839ef33","sideBar.foreground":"#4c4f69","sideBarSectionHeader.background":"#e6e9ef","sideBarSectionHeader.foreground":"#4c4f69","sideBarTitle.foreground":"#8839ef","statusBar.background":"#dce0e8","statusBar.border":"#00000000","statusBar.debuggingBackground":"#fe640b","statusBar.debuggingBorder":"#00000000","statusBar.debuggingForeground":"#dce0e8","statusBar.foreground":"#4c4f69","statusBar.noFolderBackground":"#dce0e8","statusBar.noFolderBorder":"#00000000","statusBar.noFolderForeground":"#4c4f69","statusBarItem.activeBackground":"#acb0be66","statusBarItem.errorBackground":"#00000000","statusBarItem.errorForeground":"#d20f39","statusBarItem.hoverBackground":"#acb0be33","statusBarItem.prominentBackground":"#00000000","statusBarItem.prominentForeground":"#8839ef","statusBarItem.prominentHoverBackground":"#acb0be33","statusBarItem.remoteBackground":"#1e66f5","statusBarItem.remoteForeground":"#dce0e8","statusBarItem.warningBackground":"#00000000","statusBarItem.warningForeground":"#fe640b","symbolIcon.arrayForeground":"#fe640b","symbolIcon.booleanForeground":"#8839ef","symbolIcon.classForeground":"#df8e1d","symbolIcon.colorForeground":"#ea76cb","symbolIcon.constantForeground":"#fe640b","symbolIcon.constructorForeground":"#7287fd","symbolIcon.enumeratorForeground":"#df8e1d","symbolIcon.enumeratorMemberForeground":"#df8e1d","symbolIcon.eventForeground":"#ea76cb","symbolIcon.fieldForeground":"#4c4f69","symbolIcon.fileForeground":"#8839ef","symbolIcon.folderForeground":"#8839ef","symbolIcon.functionForeground":"#1e66f5","symbolIcon.interfaceForeground":"#df8e1d","symbolIcon.keyForeground":"#179299","symbolIcon.keywordForeground":"#8839ef","symbolIcon.methodForeground":"#1e66f5","symbolIcon.moduleForeground":"#4c4f69","symbolIcon.namespaceForeground":"#df8e1d","symbolIcon.nullForeground":"#e64553","symbolIcon.numberForeground":"#fe640b","symbolIcon.objectForeground":"#df8e1d","symbolIcon.operatorForeground":"#179299","symbolIcon.packageForeground":"#dd7878","symbolIcon.propertyForeground":"#e64553","symbolIcon.referenceForeground":"#df8e1d","symbolIcon.snippetForeground":"#dd7878","symbolIcon.stringForeground":"#40a02b","symbolIcon.structForeground":"#179299","symbolIcon.textForeground":"#4c4f69","symbolIcon.typeParameterForeground":"#e64553","symbolIcon.unitForeground":"#4c4f69","symbolIcon.variableForeground":"#4c4f69","tab.activeBackground":"#eff1f5","tab.activeBorder":"#00000000","tab.activeBorderTop":"#8839ef","tab.activeForeground":"#8839ef","tab.activeModifiedBorder":"#df8e1d","tab.border":"#e6e9ef","tab.hoverBackground":"#ffffff","tab.hoverBorder":"#00000000","tab.hoverForeground":"#8839ef","tab.inactiveBackground":"#e6e9ef","tab.inactiveForeground":"#9ca0b0","tab.inactiveModifiedBorder":"#df8e1d4d","tab.lastPinnedBorder":"#8839ef","tab.unfocusedActiveBackground":"#e6e9ef","tab.unfocusedActiveBorder":"#00000000","tab.unfocusedActiveBorderTop":"#8839ef4d","tab.unfocusedInactiveBackground":"#d6dbe5","table.headerBackground":"#ccd0da","table.headerForeground":"#4c4f69","terminal.ansiBlack":"#5c5f77","terminal.ansiBlue":"#1e66f5","terminal.ansiBrightBlack":"#6c6f85","terminal.ansiBrightBlue":"#456eff","terminal.ansiBrightCyan":"#2d9fa8","terminal.ansiBrightGreen":"#49af3d","terminal.ansiBrightMagenta":"#fe85d8","terminal.ansiBrightRed":"#de293e","terminal.ansiBrightWhite":"#bcc0cc","terminal.ansiBrightYellow":"#eea02d","terminal.ansiCyan":"#179299","terminal.ansiGreen":"#40a02b","terminal.ansiMagenta":"#ea76cb","terminal.ansiRed":"#d20f39","terminal.ansiWhite":"#acb0be","terminal.ansiYellow":"#df8e1d","terminal.border":"#acb0be","terminal.dropBackground":"#8839ef33","terminal.foreground":"#4c4f69","terminal.inactiveSelectionBackground":"#acb0be80","terminal.selectionBackground":"#acb0be","terminal.tab.activeBorder":"#8839ef","terminalCommandDecoration.defaultBackground":"#acb0be","terminalCommandDecoration.errorBackground":"#d20f39","terminalCommandDecoration.successBackground":"#40a02b","terminalCursor.background":"#eff1f5","terminalCursor.foreground":"#dc8a78","testing.coverCountBadgeBackground":"#00000000","testing.coverCountBadgeForeground":"#8839ef","testing.coveredBackground":"#40a02b4d","testing.coveredBorder":"#00000000","testing.coveredGutterBackground":"#40a02b4d","testing.iconErrored":"#d20f39","testing.iconErrored.retired":"#d20f39","testing.iconFailed":"#d20f39","testing.iconFailed.retired":"#d20f39","testing.iconPassed":"#40a02b","testing.iconPassed.retired":"#40a02b","testing.iconQueued":"#1e66f5","testing.iconQueued.retired":"#1e66f5","testing.iconSkipped":"#6c6f85","testing.iconSkipped.retired":"#6c6f85","testing.iconUnset":"#4c4f69","testing.iconUnset.retired":"#4c4f69","testing.message.error.lineBackground":"#d20f3926","testing.message.info.decorationForeground":"#40a02bcc","testing.message.info.lineBackground":"#40a02b26","testing.messagePeekBorder":"#8839ef","testing.messagePeekHeaderBackground":"#acb0be","testing.peekBorder":"#8839ef","testing.peekHeaderBackground":"#acb0be","testing.runAction":"#8839ef","testing.uncoveredBackground":"#d20f3933","testing.uncoveredBorder":"#00000000","testing.uncoveredBranchBackground":"#d20f3933","testing.uncoveredGutterBackground":"#d20f3940","textBlockQuote.background":"#e6e9ef","textBlockQuote.border":"#dce0e8","textCodeBlock.background":"#e6e9ef","textLink.activeForeground":"#04a5e5","textLink.foreground":"#1e66f5","textPreformat.foreground":"#4c4f69","textSeparator.foreground":"#8839ef","titleBar.activeBackground":"#dce0e8","titleBar.activeForeground":"#4c4f69","titleBar.border":"#00000000","titleBar.inactiveBackground":"#dce0e8","titleBar.inactiveForeground":"#4c4f6980","tree.inactiveIndentGuidesStroke":"#bcc0cc","tree.indentGuidesStroke":"#7c7f93","walkThrough.embeddedEditorBackground":"#eff1f54d","welcomePage.progress.background":"#dce0e8","welcomePage.progress.foreground":"#8839ef","welcomePage.tileBackground":"#e6e9ef","widget.shadow":"#e6e9ef80","window.activeBorder":"#00000000","window.inactiveBorder":"#00000000"},"displayName":"Catppuccin Latte","name":"catppuccin-latte","semanticHighlighting":true,"semanticTokenColors":{"boolean":{"foreground":"#fe640b"},"builtinAttribute.attribute.library:rust":{"foreground":"#1e66f5"},"class.builtin:python":{"foreground":"#8839ef"},"class:python":{"foreground":"#df8e1d"},"constant.builtin.readonly:nix":{"foreground":"#8839ef"},"enumMember":{"foreground":"#179299"},"function.decorator:python":{"foreground":"#fe640b"},"generic.attribute:rust":{"foreground":"#4c4f69"},"heading":{"foreground":"#d20f39"},"number":{"foreground":"#fe640b"},"pol":{"foreground":"#dd7878"},"property.readonly:javascript":{"foreground":"#4c4f69"},"property.readonly:javascriptreact":{"foreground":"#4c4f69"},"property.readonly:typescript":{"foreground":"#4c4f69"},"property.readonly:typescriptreact":{"foreground":"#4c4f69"},"selfKeyword":{"foreground":"#d20f39"},"text.emph":{"fontStyle":"italic","foreground":"#d20f39"},"text.math":{"foreground":"#dd7878"},"text.strong":{"fontStyle":"bold","foreground":"#d20f39"},"tomlArrayKey":{"fontStyle":"","foreground":"#1e66f5"},"tomlTableKey":{"fontStyle":"","foreground":"#1e66f5"},"type.defaultLibrary:go":{"foreground":"#8839ef"},"variable.defaultLibrary":{"foreground":"#e64553"},"variable.readonly.defaultLibrary:go":{"foreground":"#8839ef"},"variable.readonly:javascript":{"foreground":"#4c4f69"},"variable.readonly:javascriptreact":{"foreground":"#4c4f69"},"variable.readonly:scala":{"foreground":"#4c4f69"},"variable.readonly:typescript":{"foreground":"#4c4f69"},"variable.readonly:typescriptreact":{"foreground":"#4c4f69"},"variable.typeHint:python":{"foreground":"#df8e1d"}},"tokenColors":[{"scope":["text","source","variable.other.readwrite","punctuation.definition.variable"],"settings":{"foreground":"#4c4f69"}},{"scope":"punctuation","settings":{"fontStyle":"","foreground":"#7c7f93"}},{"scope":["comment","punctuation.definition.comment"],"settings":{"fontStyle":"italic","foreground":"#7c7f93"}},{"scope":["string","punctuation.definition.string"],"settings":{"foreground":"#40a02b"}},{"scope":"constant.character.escape","settings":{"foreground":"#ea76cb"}},{"scope":["constant.numeric","variable.other.constant","entity.name.constant","constant.language.boolean","constant.language.false","constant.language.true","keyword.other.unit.user-defined","keyword.other.unit.suffix.floating-point"],"settings":{"foreground":"#fe640b"}},{"scope":["keyword","keyword.operator.word","keyword.operator.new","variable.language.super","support.type.primitive","storage.type","storage.modifier","punctuation.definition.keyword"],"settings":{"fontStyle":"","foreground":"#8839ef"}},{"scope":"entity.name.tag.documentation","settings":{"foreground":"#8839ef"}},{"scope":["keyword.operator","punctuation.accessor","punctuation.definition.generic","meta.function.closure punctuation.section.parameters","punctuation.definition.tag","punctuation.separator.key-value"],"settings":{"foreground":"#179299"}},{"scope":["entity.name.function","meta.function-call.method","support.function","support.function.misc","variable.function"],"settings":{"fontStyle":"italic","foreground":"#1e66f5"}},{"scope":["entity.name.class","entity.other.inherited-class","support.class","meta.function-call.constructor","entity.name.struct"],"settings":{"fontStyle":"italic","foreground":"#df8e1d"}},{"scope":"entity.name.enum","settings":{"fontStyle":"italic","foreground":"#df8e1d"}},{"scope":["meta.enum variable.other.readwrite","variable.other.enummember"],"settings":{"foreground":"#179299"}},{"scope":"meta.property.object","settings":{"foreground":"#179299"}},{"scope":["meta.type","meta.type-alias","support.type","entity.name.type"],"settings":{"fontStyle":"italic","foreground":"#df8e1d"}},{"scope":["meta.annotation variable.function","meta.annotation variable.annotation.function","meta.annotation punctuation.definition.annotation","meta.decorator","punctuation.decorator"],"settings":{"foreground":"#fe640b"}},{"scope":["variable.parameter","meta.function.parameters"],"settings":{"fontStyle":"italic","foreground":"#e64553"}},{"scope":["constant.language","support.function.builtin"],"settings":{"foreground":"#d20f39"}},{"scope":"entity.other.attribute-name.documentation","settings":{"foreground":"#d20f39"}},{"scope":["keyword.control.directive","punctuation.definition.directive"],"settings":{"foreground":"#df8e1d"}},{"scope":"punctuation.definition.typeparameters","settings":{"foreground":"#04a5e5"}},{"scope":"entity.name.namespace","settings":{"foreground":"#df8e1d"}},{"scope":"support.type.property-name.css","settings":{"fontStyle":"","foreground":"#1e66f5"}},{"scope":["variable.language.this","variable.language.this punctuation.definition.variable"],"settings":{"foreground":"#d20f39"}},{"scope":"variable.object.property","settings":{"foreground":"#4c4f69"}},{"scope":["string.template variable","string variable"],"settings":{"foreground":"#4c4f69"}},{"scope":"keyword.operator.new","settings":{"fontStyle":"bold"}},{"scope":"storage.modifier.specifier.extern.cpp","settings":{"foreground":"#8839ef"}},{"scope":["entity.name.scope-resolution.template.call.cpp","entity.name.scope-resolution.parameter.cpp","entity.name.scope-resolution.cpp","entity.name.scope-resolution.function.definition.cpp"],"settings":{"foreground":"#df8e1d"}},{"scope":"storage.type.class.doxygen","settings":{"fontStyle":""}},{"scope":["storage.modifier.reference.cpp"],"settings":{"foreground":"#179299"}},{"scope":"meta.interpolation.cs","settings":{"foreground":"#4c4f69"}},{"scope":"comment.block.documentation.cs","settings":{"foreground":"#4c4f69"}},{"scope":["source.css entity.other.attribute-name.class.css","entity.other.attribute-name.parent-selector.css punctuation.definition.entity.css"],"settings":{"foreground":"#df8e1d"}},{"scope":"punctuation.separator.operator.css","settings":{"foreground":"#179299"}},{"scope":"source.css entity.other.attribute-name.pseudo-class","settings":{"foreground":"#179299"}},{"scope":"source.css constant.other.unicode-range","settings":{"foreground":"#fe640b"}},{"scope":"source.css variable.parameter.url","settings":{"fontStyle":"","foreground":"#40a02b"}},{"scope":["support.type.vendored.property-name"],"settings":{"foreground":"#04a5e5"}},{"scope":["source.css meta.property-value variable","source.css meta.property-value variable.other.less","source.css meta.property-value variable.other.less punctuation.definition.variable.less","meta.definition.variable.scss"],"settings":{"foreground":"#e64553"}},{"scope":["source.css meta.property-list variable","meta.property-list variable.other.less","meta.property-list variable.other.less punctuation.definition.variable.less"],"settings":{"foreground":"#1e66f5"}},{"scope":"keyword.other.unit.percentage.css","settings":{"foreground":"#fe640b"}},{"scope":"source.css meta.attribute-selector","settings":{"foreground":"#40a02b"}},{"scope":["keyword.other.definition.ini","punctuation.support.type.property-name.json","support.type.property-name.json","punctuation.support.type.property-name.toml","support.type.property-name.toml","entity.name.tag.yaml","punctuation.support.type.property-name.yaml","support.type.property-name.yaml"],"settings":{"fontStyle":"","foreground":"#1e66f5"}},{"scope":["constant.language.json","constant.language.yaml"],"settings":{"foreground":"#fe640b"}},{"scope":["entity.name.type.anchor.yaml","variable.other.alias.yaml"],"settings":{"fontStyle":"","foreground":"#df8e1d"}},{"scope":["support.type.property-name.table","entity.name.section.group-title.ini"],"settings":{"foreground":"#df8e1d"}},{"scope":"constant.other.time.datetime.offset.toml","settings":{"foreground":"#ea76cb"}},{"scope":["punctuation.definition.anchor.yaml","punctuation.definition.alias.yaml"],"settings":{"foreground":"#ea76cb"}},{"scope":"entity.other.document.begin.yaml","settings":{"foreground":"#ea76cb"}},{"scope":"markup.changed.diff","settings":{"foreground":"#fe640b"}},{"scope":["meta.diff.header.from-file","meta.diff.header.to-file","punctuation.definition.from-file.diff","punctuation.definition.to-file.diff"],"settings":{"foreground":"#1e66f5"}},{"scope":"markup.inserted.diff","settings":{"foreground":"#40a02b"}},{"scope":"markup.deleted.diff","settings":{"foreground":"#d20f39"}},{"scope":["variable.other.env"],"settings":{"foreground":"#1e66f5"}},{"scope":["string.quoted variable.other.env"],"settings":{"foreground":"#4c4f69"}},{"scope":"support.function.builtin.gdscript","settings":{"foreground":"#1e66f5"}},{"scope":"constant.language.gdscript","settings":{"foreground":"#fe640b"}},{"scope":"comment meta.annotation.go","settings":{"foreground":"#e64553"}},{"scope":"comment meta.annotation.parameters.go","settings":{"foreground":"#fe640b"}},{"scope":"constant.language.go","settings":{"foreground":"#fe640b"}},{"scope":"variable.graphql","settings":{"foreground":"#4c4f69"}},{"scope":"string.unquoted.alias.graphql","settings":{"foreground":"#dd7878"}},{"scope":"constant.character.enum.graphql","settings":{"foreground":"#179299"}},{"scope":"meta.objectvalues.graphql constant.object.key.graphql string.unquoted.graphql","settings":{"foreground":"#dd7878"}},{"scope":["keyword.other.doctype","meta.tag.sgml.doctype punctuation.definition.tag","meta.tag.metadata.doctype entity.name.tag","meta.tag.metadata.doctype punctuation.definition.tag"],"settings":{"foreground":"#8839ef"}},{"scope":["entity.name.tag"],"settings":{"fontStyle":"","foreground":"#1e66f5"}},{"scope":["text.html constant.character.entity","text.html constant.character.entity punctuation","constant.character.entity.xml","constant.character.entity.xml punctuation","constant.character.entity.js.jsx","constant.charactger.entity.js.jsx punctuation","constant.character.entity.tsx","constant.character.entity.tsx punctuation"],"settings":{"foreground":"#d20f39"}},{"scope":["entity.other.attribute-name"],"settings":{"foreground":"#df8e1d"}},{"scope":["support.class.component","support.class.component.jsx","support.class.component.tsx","support.class.component.vue"],"settings":{"fontStyle":"","foreground":"#ea76cb"}},{"scope":["punctuation.definition.annotation","storage.type.annotation"],"settings":{"foreground":"#fe640b"}},{"scope":"constant.other.enum.java","settings":{"foreground":"#179299"}},{"scope":"storage.modifier.import.java","settings":{"foreground":"#4c4f69"}},{"scope":"comment.block.javadoc.java keyword.other.documentation.javadoc.java","settings":{"fontStyle":""}},{"scope":"meta.export variable.other.readwrite.js","settings":{"foreground":"#e64553"}},{"scope":["variable.other.constant.js","variable.other.constant.ts","variable.other.property.js","variable.other.property.ts"],"settings":{"foreground":"#4c4f69"}},{"scope":["variable.other.jsdoc","comment.block.documentation variable.other"],"settings":{"fontStyle":"","foreground":"#e64553"}},{"scope":"storage.type.class.jsdoc","settings":{"fontStyle":""}},{"scope":"support.type.object.console.js","settings":{"foreground":"#4c4f69"}},{"scope":["support.constant.node","support.type.object.module.js"],"settings":{"foreground":"#8839ef"}},{"scope":"storage.modifier.implements","settings":{"foreground":"#8839ef"}},{"scope":["constant.language.null.js","constant.language.null.ts","constant.language.undefined.js","constant.language.undefined.ts","support.type.builtin.ts"],"settings":{"foreground":"#8839ef"}},{"scope":"variable.parameter.generic","settings":{"foreground":"#df8e1d"}},{"scope":["keyword.declaration.function.arrow.js","storage.type.function.arrow.ts"],"settings":{"foreground":"#179299"}},{"scope":"punctuation.decorator.ts","settings":{"fontStyle":"italic","foreground":"#1e66f5"}},{"scope":["keyword.operator.expression.in.js","keyword.operator.expression.in.ts","keyword.operator.expression.infer.ts","keyword.operator.expression.instanceof.js","keyword.operator.expression.instanceof.ts","keyword.operator.expression.is","keyword.operator.expression.keyof.ts","keyword.operator.expression.of.js","keyword.operator.expression.of.ts","keyword.operator.expression.typeof.ts"],"settings":{"foreground":"#8839ef"}},{"scope":"support.function.macro.julia","settings":{"fontStyle":"italic","foreground":"#179299"}},{"scope":"constant.language.julia","settings":{"foreground":"#fe640b"}},{"scope":"constant.other.symbol.julia","settings":{"foreground":"#e64553"}},{"scope":"text.tex keyword.control.preamble","settings":{"foreground":"#179299"}},{"scope":"text.tex support.function.be","settings":{"foreground":"#04a5e5"}},{"scope":"constant.other.general.math.tex","settings":{"foreground":"#dd7878"}},{"scope":"variable.language.liquid","settings":{"foreground":"#ea76cb"}},{"scope":"comment.line.double-dash.documentation.lua storage.type.annotation.lua","settings":{"fontStyle":"","foreground":"#8839ef"}},{"scope":["comment.line.double-dash.documentation.lua entity.name.variable.lua","comment.line.double-dash.documentation.lua variable.lua"],"settings":{"foreground":"#4c4f69"}},{"scope":["heading.1.markdown punctuation.definition.heading.markdown","heading.1.markdown","heading.1.quarto punctuation.definition.heading.quarto","heading.1.quarto","markup.heading.atx.1.mdx","markup.heading.atx.1.mdx punctuation.definition.heading.mdx","markup.heading.setext.1.markdown","markup.heading.heading-0.asciidoc"],"settings":{"foreground":"#d20f39"}},{"scope":["heading.2.markdown punctuation.definition.heading.markdown","heading.2.markdown","heading.2.quarto punctuation.definition.heading.quarto","heading.2.quarto","markup.heading.atx.2.mdx","markup.heading.atx.2.mdx punctuation.definition.heading.mdx","markup.heading.setext.2.markdown","markup.heading.heading-1.asciidoc"],"settings":{"foreground":"#fe640b"}},{"scope":["heading.3.markdown punctuation.definition.heading.markdown","heading.3.markdown","heading.3.quarto punctuation.definition.heading.quarto","heading.3.quarto","markup.heading.atx.3.mdx","markup.heading.atx.3.mdx punctuation.definition.heading.mdx","markup.heading.heading-2.asciidoc"],"settings":{"foreground":"#df8e1d"}},{"scope":["heading.4.markdown punctuation.definition.heading.markdown","heading.4.markdown","heading.4.quarto punctuation.definition.heading.quarto","heading.4.quarto","markup.heading.atx.4.mdx","markup.heading.atx.4.mdx punctuation.definition.heading.mdx","markup.heading.heading-3.asciidoc"],"settings":{"foreground":"#40a02b"}},{"scope":["heading.5.markdown punctuation.definition.heading.markdown","heading.5.markdown","heading.5.quarto punctuation.definition.heading.quarto","heading.5.quarto","markup.heading.atx.5.mdx","markup.heading.atx.5.mdx punctuation.definition.heading.mdx","markup.heading.heading-4.asciidoc"],"settings":{"foreground":"#209fb5"}},{"scope":["heading.6.markdown punctuation.definition.heading.markdown","heading.6.markdown","heading.6.quarto punctuation.definition.heading.quarto","heading.6.quarto","markup.heading.atx.6.mdx","markup.heading.atx.6.mdx punctuation.definition.heading.mdx","markup.heading.heading-5.asciidoc"],"settings":{"foreground":"#7287fd"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#d20f39"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#d20f39"}},{"scope":"markup.strikethrough","settings":{"fontStyle":"strikethrough","foreground":"#6c6f85"}},{"scope":["punctuation.definition.link","markup.underline.link"],"settings":{"foreground":"#1e66f5"}},{"scope":["text.html.markdown punctuation.definition.link.title","text.html.quarto punctuation.definition.link.title","string.other.link.title.markdown","string.other.link.title.quarto","markup.link","punctuation.definition.constant.markdown","punctuation.definition.constant.quarto","constant.other.reference.link.markdown","constant.other.reference.link.quarto","markup.substitution.attribute-reference"],"settings":{"foreground":"#7287fd"}},{"scope":["punctuation.definition.raw.markdown","punctuation.definition.raw.quarto","markup.inline.raw.string.markdown","markup.inline.raw.string.quarto","markup.raw.block.markdown","markup.raw.block.quarto"],"settings":{"foreground":"#40a02b"}},{"scope":"fenced_code.block.language","settings":{"foreground":"#04a5e5"}},{"scope":["markup.fenced_code.block punctuation.definition","markup.raw support.asciidoc"],"settings":{"foreground":"#7c7f93"}},{"scope":["markup.quote","punctuation.definition.quote.begin"],"settings":{"foreground":"#ea76cb"}},{"scope":"meta.separator.markdown","settings":{"foreground":"#179299"}},{"scope":["punctuation.definition.list.begin.markdown","punctuation.definition.list.begin.quarto","markup.list.bullet"],"settings":{"foreground":"#179299"}},{"scope":"markup.heading.quarto","settings":{"fontStyle":"bold"}},{"scope":["entity.other.attribute-name.multipart.nix","entity.other.attribute-name.single.nix"],"settings":{"foreground":"#1e66f5"}},{"scope":"variable.parameter.name.nix","settings":{"fontStyle":"","foreground":"#4c4f69"}},{"scope":"meta.embedded variable.parameter.name.nix","settings":{"fontStyle":"","foreground":"#7287fd"}},{"scope":"string.unquoted.path.nix","settings":{"fontStyle":"","foreground":"#ea76cb"}},{"scope":["support.attribute.builtin","meta.attribute.php"],"settings":{"foreground":"#df8e1d"}},{"scope":"meta.function.parameters.php punctuation.definition.variable.php","settings":{"foreground":"#e64553"}},{"scope":"constant.language.php","settings":{"foreground":"#8839ef"}},{"scope":"text.html.php support.function","settings":{"foreground":"#04a5e5"}},{"scope":"keyword.other.phpdoc.php","settings":{"fontStyle":""}},{"scope":["support.variable.magic.python","meta.function-call.arguments.python"],"settings":{"foreground":"#4c4f69"}},{"scope":["support.function.magic.python"],"settings":{"fontStyle":"italic","foreground":"#04a5e5"}},{"scope":["variable.parameter.function.language.special.self.python","variable.language.special.self.python"],"settings":{"fontStyle":"italic","foreground":"#d20f39"}},{"scope":["keyword.control.flow.python","keyword.operator.logical.python"],"settings":{"foreground":"#8839ef"}},{"scope":"storage.type.function.python","settings":{"foreground":"#8839ef"}},{"scope":["support.token.decorator.python","meta.function.decorator.identifier.python"],"settings":{"foreground":"#04a5e5"}},{"scope":["meta.function-call.python"],"settings":{"foreground":"#1e66f5"}},{"scope":["entity.name.function.decorator.python","punctuation.definition.decorator.python"],"settings":{"fontStyle":"italic","foreground":"#fe640b"}},{"scope":"constant.character.format.placeholder.other.python","settings":{"foreground":"#ea76cb"}},{"scope":["support.type.exception.python","support.function.builtin.python"],"settings":{"foreground":"#fe640b"}},{"scope":["support.type.python"],"settings":{"foreground":"#8839ef"}},{"scope":"constant.language.python","settings":{"foreground":"#fe640b"}},{"scope":["meta.indexed-name.python","meta.item-access.python"],"settings":{"fontStyle":"italic","foreground":"#e64553"}},{"scope":"storage.type.string.python","settings":{"fontStyle":"italic","foreground":"#40a02b"}},{"scope":"meta.function.parameters.python","settings":{"fontStyle":""}},{"scope":["string.regexp punctuation.definition.string.begin","string.regexp punctuation.definition.string.end"],"settings":{"foreground":"#ea76cb"}},{"scope":"keyword.control.anchor.regexp","settings":{"foreground":"#8839ef"}},{"scope":"string.regexp.ts","settings":{"foreground":"#4c4f69"}},{"scope":["punctuation.definition.group.regexp","keyword.other.back-reference.regexp"],"settings":{"foreground":"#40a02b"}},{"scope":"punctuation.definition.character-class.regexp","settings":{"foreground":"#df8e1d"}},{"scope":"constant.other.character-class.regexp","settings":{"foreground":"#ea76cb"}},{"scope":"constant.other.character-class.range.regexp","settings":{"foreground":"#dc8a78"}},{"scope":"keyword.operator.quantifier.regexp","settings":{"foreground":"#179299"}},{"scope":"constant.character.numeric.regexp","settings":{"foreground":"#fe640b"}},{"scope":["punctuation.definition.group.no-capture.regexp","meta.assertion.look-ahead.regexp","meta.assertion.negative-look-ahead.regexp"],"settings":{"foreground":"#1e66f5"}},{"scope":["meta.annotation.rust","meta.annotation.rust punctuation","meta.attribute.rust","punctuation.definition.attribute.rust"],"settings":{"fontStyle":"italic","foreground":"#df8e1d"}},{"scope":["meta.attribute.rust string.quoted.double.rust","meta.attribute.rust string.quoted.single.char.rust"],"settings":{"fontStyle":""}},{"scope":["entity.name.function.macro.rules.rust","storage.type.module.rust","storage.modifier.rust","storage.type.struct.rust","storage.type.enum.rust","storage.type.trait.rust","storage.type.union.rust","storage.type.impl.rust","storage.type.rust","storage.type.function.rust","storage.type.type.rust"],"settings":{"fontStyle":"","foreground":"#8839ef"}},{"scope":"entity.name.type.numeric.rust","settings":{"fontStyle":"","foreground":"#8839ef"}},{"scope":"meta.generic.rust","settings":{"foreground":"#fe640b"}},{"scope":"entity.name.impl.rust","settings":{"fontStyle":"italic","foreground":"#df8e1d"}},{"scope":"entity.name.module.rust","settings":{"foreground":"#fe640b"}},{"scope":"entity.name.trait.rust","settings":{"fontStyle":"italic","foreground":"#df8e1d"}},{"scope":"storage.type.source.rust","settings":{"foreground":"#df8e1d"}},{"scope":"entity.name.union.rust","settings":{"foreground":"#df8e1d"}},{"scope":"meta.enum.rust storage.type.source.rust","settings":{"foreground":"#179299"}},{"scope":["support.macro.rust","meta.macro.rust support.function.rust","entity.name.function.macro.rust"],"settings":{"fontStyle":"italic","foreground":"#1e66f5"}},{"scope":["storage.modifier.lifetime.rust","entity.name.type.lifetime"],"settings":{"fontStyle":"italic","foreground":"#1e66f5"}},{"scope":"string.quoted.double.rust constant.other.placeholder.rust","settings":{"foreground":"#ea76cb"}},{"scope":"meta.function.return-type.rust meta.generic.rust storage.type.rust","settings":{"foreground":"#4c4f69"}},{"scope":"meta.function.call.rust","settings":{"foreground":"#1e66f5"}},{"scope":"punctuation.brackets.angle.rust","settings":{"foreground":"#04a5e5"}},{"scope":"constant.other.caps.rust","settings":{"foreground":"#fe640b"}},{"scope":["meta.function.definition.rust variable.other.rust"],"settings":{"foreground":"#e64553"}},{"scope":"meta.function.call.rust variable.other.rust","settings":{"foreground":"#4c4f69"}},{"scope":"variable.language.self.rust","settings":{"foreground":"#d20f39"}},{"scope":["variable.other.metavariable.name.rust","meta.macro.metavariable.rust keyword.operator.macro.dollar.rust"],"settings":{"foreground":"#ea76cb"}},{"scope":["comment.line.shebang","comment.line.shebang punctuation.definition.comment","comment.line.shebang","punctuation.definition.comment.shebang.shell","meta.shebang.shell"],"settings":{"fontStyle":"italic","foreground":"#ea76cb"}},{"scope":"comment.line.shebang constant.language","settings":{"fontStyle":"italic","foreground":"#179299"}},{"scope":["meta.function-call.arguments.shell punctuation.definition.variable.shell","meta.function-call.arguments.shell punctuation.section.interpolation","meta.function-call.arguments.shell punctuation.definition.variable.shell","meta.function-call.arguments.shell punctuation.section.interpolation"],"settings":{"foreground":"#d20f39"}},{"scope":"meta.string meta.interpolation.parameter.shell variable.other.readwrite","settings":{"fontStyle":"italic","foreground":"#fe640b"}},{"scope":["source.shell punctuation.section.interpolation","punctuation.definition.evaluation.backticks.shell"],"settings":{"foreground":"#179299"}},{"scope":"entity.name.tag.heredoc.shell","settings":{"foreground":"#8839ef"}},{"scope":"string.quoted.double.shell variable.other.normal.shell","settings":{"foreground":"#4c4f69"}},{"scope":["markup.heading.typst"],"settings":{"foreground":"#d20f39"}}],"type":"light"}')),Qo=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBackground":"#00000000","activityBar.activeBorder":"#00000000","activityBar.activeFocusBorder":"#00000000","activityBar.background":"#11111b","activityBar.border":"#00000000","activityBar.dropBorder":"#cba6f733","activityBar.foreground":"#cba6f7","activityBar.inactiveForeground":"#6c7086","activityBarBadge.background":"#cba6f7","activityBarBadge.foreground":"#11111b","activityBarTop.activeBorder":"#00000000","activityBarTop.dropBorder":"#cba6f733","activityBarTop.foreground":"#cba6f7","activityBarTop.inactiveForeground":"#6c7086","badge.background":"#45475a","badge.foreground":"#cdd6f4","banner.background":"#45475a","banner.foreground":"#cdd6f4","banner.iconForeground":"#cdd6f4","breadcrumb.activeSelectionForeground":"#cba6f7","breadcrumb.background":"#1e1e2e","breadcrumb.focusForeground":"#cba6f7","breadcrumb.foreground":"#cdd6f4cc","breadcrumbPicker.background":"#181825","button.background":"#cba6f7","button.border":"#00000000","button.foreground":"#11111b","button.hoverBackground":"#dec7fa","button.secondaryBackground":"#585b70","button.secondaryBorder":"#cba6f7","button.secondaryForeground":"#cdd6f4","button.secondaryHoverBackground":"#686b84","button.separator":"#00000000","charts.blue":"#89b4fa","charts.foreground":"#cdd6f4","charts.green":"#a6e3a1","charts.lines":"#bac2de","charts.orange":"#fab387","charts.purple":"#cba6f7","charts.red":"#f38ba8","charts.yellow":"#f9e2af","checkbox.background":"#45475a","checkbox.border":"#00000000","checkbox.foreground":"#cba6f7","commandCenter.activeBackground":"#585b7033","commandCenter.activeBorder":"#cba6f7","commandCenter.activeForeground":"#cba6f7","commandCenter.background":"#181825","commandCenter.border":"#00000000","commandCenter.foreground":"#bac2de","commandCenter.inactiveBorder":"#00000000","commandCenter.inactiveForeground":"#bac2de","debugConsole.errorForeground":"#f38ba8","debugConsole.infoForeground":"#89b4fa","debugConsole.sourceForeground":"#f5e0dc","debugConsole.warningForeground":"#fab387","debugConsoleInputIcon.foreground":"#cdd6f4","debugExceptionWidget.background":"#11111b","debugExceptionWidget.border":"#cba6f7","debugIcon.breakpointCurrentStackframeForeground":"#585b70","debugIcon.breakpointDisabledForeground":"#f38ba899","debugIcon.breakpointForeground":"#f38ba8","debugIcon.breakpointStackframeForeground":"#585b70","debugIcon.breakpointUnverifiedForeground":"#a6738c","debugIcon.continueForeground":"#a6e3a1","debugIcon.disconnectForeground":"#585b70","debugIcon.pauseForeground":"#89b4fa","debugIcon.restartForeground":"#94e2d5","debugIcon.startForeground":"#a6e3a1","debugIcon.stepBackForeground":"#585b70","debugIcon.stepIntoForeground":"#cdd6f4","debugIcon.stepOutForeground":"#cdd6f4","debugIcon.stepOverForeground":"#cba6f7","debugIcon.stopForeground":"#f38ba8","debugTokenExpression.boolean":"#cba6f7","debugTokenExpression.error":"#f38ba8","debugTokenExpression.number":"#fab387","debugTokenExpression.string":"#a6e3a1","debugToolBar.background":"#11111b","debugToolBar.border":"#00000000","descriptionForeground":"#cdd6f4","diffEditor.border":"#585b70","diffEditor.diagonalFill":"#585b7099","diffEditor.insertedLineBackground":"#a6e3a126","diffEditor.insertedTextBackground":"#a6e3a133","diffEditor.removedLineBackground":"#f38ba826","diffEditor.removedTextBackground":"#f38ba833","diffEditorOverview.insertedForeground":"#a6e3a1cc","diffEditorOverview.removedForeground":"#f38ba8cc","disabledForeground":"#a6adc8","dropdown.background":"#181825","dropdown.border":"#cba6f7","dropdown.foreground":"#cdd6f4","dropdown.listBackground":"#585b70","editor.background":"#1e1e2e","editor.findMatchBackground":"#5e3f53","editor.findMatchBorder":"#f38ba833","editor.findMatchHighlightBackground":"#3e5767","editor.findMatchHighlightBorder":"#89dceb33","editor.findRangeHighlightBackground":"#3e5767","editor.findRangeHighlightBorder":"#89dceb33","editor.focusedStackFrameHighlightBackground":"#a6e3a126","editor.foldBackground":"#89dceb40","editor.foreground":"#cdd6f4","editor.hoverHighlightBackground":"#89dceb40","editor.lineHighlightBackground":"#cdd6f412","editor.lineHighlightBorder":"#00000000","editor.rangeHighlightBackground":"#89dceb40","editor.rangeHighlightBorder":"#00000000","editor.selectionBackground":"#9399b240","editor.selectionHighlightBackground":"#9399b233","editor.selectionHighlightBorder":"#9399b233","editor.stackFrameHighlightBackground":"#f9e2af26","editor.wordHighlightBackground":"#9399b233","editor.wordHighlightStrongBackground":"#89b4fa33","editorBracketHighlight.foreground1":"#f38ba8","editorBracketHighlight.foreground2":"#fab387","editorBracketHighlight.foreground3":"#f9e2af","editorBracketHighlight.foreground4":"#a6e3a1","editorBracketHighlight.foreground5":"#74c7ec","editorBracketHighlight.foreground6":"#cba6f7","editorBracketHighlight.unexpectedBracket.foreground":"#eba0ac","editorBracketMatch.background":"#9399b21a","editorBracketMatch.border":"#9399b2","editorCodeLens.foreground":"#7f849c","editorCursor.background":"#1e1e2e","editorCursor.foreground":"#f5e0dc","editorError.background":"#00000000","editorError.border":"#00000000","editorError.foreground":"#f38ba8","editorGroup.border":"#585b70","editorGroup.dropBackground":"#cba6f733","editorGroup.emptyBackground":"#1e1e2e","editorGroupHeader.tabsBackground":"#11111b","editorGutter.addedBackground":"#a6e3a1","editorGutter.background":"#1e1e2e","editorGutter.commentGlyphForeground":"#cba6f7","editorGutter.commentRangeForeground":"#313244","editorGutter.deletedBackground":"#f38ba8","editorGutter.foldingControlForeground":"#9399b2","editorGutter.modifiedBackground":"#f9e2af","editorHoverWidget.background":"#181825","editorHoverWidget.border":"#585b70","editorHoverWidget.foreground":"#cdd6f4","editorIndentGuide.activeBackground":"#585b70","editorIndentGuide.background":"#45475a","editorInfo.background":"#00000000","editorInfo.border":"#00000000","editorInfo.foreground":"#89b4fa","editorInlayHint.background":"#181825bf","editorInlayHint.foreground":"#585b70","editorInlayHint.parameterBackground":"#181825bf","editorInlayHint.parameterForeground":"#a6adc8","editorInlayHint.typeBackground":"#181825bf","editorInlayHint.typeForeground":"#bac2de","editorLightBulb.foreground":"#f9e2af","editorLineNumber.activeForeground":"#cba6f7","editorLineNumber.foreground":"#7f849c","editorLink.activeForeground":"#cba6f7","editorMarkerNavigation.background":"#181825","editorMarkerNavigationError.background":"#f38ba8","editorMarkerNavigationInfo.background":"#89b4fa","editorMarkerNavigationWarning.background":"#fab387","editorOverviewRuler.background":"#181825","editorOverviewRuler.border":"#cdd6f412","editorOverviewRuler.modifiedForeground":"#f9e2af","editorRuler.foreground":"#585b70","editorStickyScrollHover.background":"#313244","editorSuggestWidget.background":"#181825","editorSuggestWidget.border":"#585b70","editorSuggestWidget.foreground":"#cdd6f4","editorSuggestWidget.highlightForeground":"#cba6f7","editorSuggestWidget.selectedBackground":"#313244","editorWarning.background":"#00000000","editorWarning.border":"#00000000","editorWarning.foreground":"#fab387","editorWhitespace.foreground":"#9399b266","editorWidget.background":"#181825","editorWidget.foreground":"#cdd6f4","editorWidget.resizeBorder":"#585b70","errorForeground":"#f38ba8","errorLens.errorBackground":"#f38ba826","errorLens.errorBackgroundLight":"#f38ba826","errorLens.errorForeground":"#f38ba8","errorLens.errorForegroundLight":"#f38ba8","errorLens.errorMessageBackground":"#f38ba826","errorLens.hintBackground":"#a6e3a126","errorLens.hintBackgroundLight":"#a6e3a126","errorLens.hintForeground":"#a6e3a1","errorLens.hintForegroundLight":"#a6e3a1","errorLens.hintMessageBackground":"#a6e3a126","errorLens.infoBackground":"#89b4fa26","errorLens.infoBackgroundLight":"#89b4fa26","errorLens.infoForeground":"#89b4fa","errorLens.infoForegroundLight":"#89b4fa","errorLens.infoMessageBackground":"#89b4fa26","errorLens.statusBarErrorForeground":"#f38ba8","errorLens.statusBarHintForeground":"#a6e3a1","errorLens.statusBarIconErrorForeground":"#f38ba8","errorLens.statusBarIconWarningForeground":"#fab387","errorLens.statusBarInfoForeground":"#89b4fa","errorLens.statusBarWarningForeground":"#fab387","errorLens.warningBackground":"#fab38726","errorLens.warningBackgroundLight":"#fab38726","errorLens.warningForeground":"#fab387","errorLens.warningForegroundLight":"#fab387","errorLens.warningMessageBackground":"#fab38726","extensionBadge.remoteBackground":"#89b4fa","extensionBadge.remoteForeground":"#11111b","extensionButton.prominentBackground":"#cba6f7","extensionButton.prominentForeground":"#11111b","extensionButton.prominentHoverBackground":"#dec7fa","extensionButton.separator":"#1e1e2e","extensionIcon.preReleaseForeground":"#585b70","extensionIcon.sponsorForeground":"#f5c2e7","extensionIcon.starForeground":"#f9e2af","extensionIcon.verifiedForeground":"#a6e3a1","focusBorder":"#cba6f7","foreground":"#cdd6f4","gitDecoration.addedResourceForeground":"#a6e3a1","gitDecoration.conflictingResourceForeground":"#cba6f7","gitDecoration.deletedResourceForeground":"#f38ba8","gitDecoration.ignoredResourceForeground":"#6c7086","gitDecoration.modifiedResourceForeground":"#f9e2af","gitDecoration.stageDeletedResourceForeground":"#f38ba8","gitDecoration.stageModifiedResourceForeground":"#f9e2af","gitDecoration.submoduleResourceForeground":"#89b4fa","gitDecoration.untrackedResourceForeground":"#a6e3a1","gitlens.closedAutolinkedIssueIconColor":"#cba6f7","gitlens.closedPullRequestIconColor":"#f38ba8","gitlens.decorations.branchAheadForegroundColor":"#a6e3a1","gitlens.decorations.branchBehindForegroundColor":"#fab387","gitlens.decorations.branchDivergedForegroundColor":"#f9e2af","gitlens.decorations.branchMissingUpstreamForegroundColor":"#fab387","gitlens.decorations.branchUnpublishedForegroundColor":"#a6e3a1","gitlens.decorations.statusMergingOrRebasingConflictForegroundColor":"#eba0ac","gitlens.decorations.statusMergingOrRebasingForegroundColor":"#f9e2af","gitlens.decorations.workspaceCurrentForegroundColor":"#cba6f7","gitlens.decorations.workspaceRepoMissingForegroundColor":"#a6adc8","gitlens.decorations.workspaceRepoOpenForegroundColor":"#cba6f7","gitlens.decorations.worktreeHasUncommittedChangesForegroundColor":"#fab387","gitlens.decorations.worktreeMissingForegroundColor":"#eba0ac","gitlens.graphChangesColumnAddedColor":"#a6e3a1","gitlens.graphChangesColumnDeletedColor":"#f38ba8","gitlens.graphLane10Color":"#f5c2e7","gitlens.graphLane1Color":"#cba6f7","gitlens.graphLane2Color":"#f9e2af","gitlens.graphLane3Color":"#89b4fa","gitlens.graphLane4Color":"#f2cdcd","gitlens.graphLane5Color":"#a6e3a1","gitlens.graphLane6Color":"#b4befe","gitlens.graphLane7Color":"#f5e0dc","gitlens.graphLane8Color":"#f38ba8","gitlens.graphLane9Color":"#94e2d5","gitlens.graphMinimapMarkerHeadColor":"#a6e3a1","gitlens.graphMinimapMarkerHighlightsColor":"#f9e2af","gitlens.graphMinimapMarkerLocalBranchesColor":"#89b4fa","gitlens.graphMinimapMarkerRemoteBranchesColor":"#71a4f9","gitlens.graphMinimapMarkerStashesColor":"#cba6f7","gitlens.graphMinimapMarkerTagsColor":"#f2cdcd","gitlens.graphMinimapMarkerUpstreamColor":"#93dd8d","gitlens.graphScrollMarkerHeadColor":"#a6e3a1","gitlens.graphScrollMarkerHighlightsColor":"#f9e2af","gitlens.graphScrollMarkerLocalBranchesColor":"#89b4fa","gitlens.graphScrollMarkerRemoteBranchesColor":"#71a4f9","gitlens.graphScrollMarkerStashesColor":"#cba6f7","gitlens.graphScrollMarkerTagsColor":"#f2cdcd","gitlens.graphScrollMarkerUpstreamColor":"#93dd8d","gitlens.gutterBackgroundColor":"#3132444d","gitlens.gutterForegroundColor":"#cdd6f4","gitlens.gutterUncommittedForegroundColor":"#cba6f7","gitlens.lineHighlightBackgroundColor":"#cba6f726","gitlens.lineHighlightOverviewRulerColor":"#cba6f7cc","gitlens.mergedPullRequestIconColor":"#cba6f7","gitlens.openAutolinkedIssueIconColor":"#a6e3a1","gitlens.openPullRequestIconColor":"#a6e3a1","gitlens.trailingLineBackgroundColor":"#00000000","gitlens.trailingLineForegroundColor":"#cdd6f44d","gitlens.unpublishedChangesIconColor":"#a6e3a1","gitlens.unpublishedCommitIconColor":"#a6e3a1","gitlens.unpulledChangesIconColor":"#fab387","icon.foreground":"#cba6f7","input.background":"#313244","input.border":"#00000000","input.foreground":"#cdd6f4","input.placeholderForeground":"#cdd6f473","inputOption.activeBackground":"#585b70","inputOption.activeBorder":"#cba6f7","inputOption.activeForeground":"#cdd6f4","inputValidation.errorBackground":"#f38ba8","inputValidation.errorBorder":"#11111b33","inputValidation.errorForeground":"#11111b","inputValidation.infoBackground":"#89b4fa","inputValidation.infoBorder":"#11111b33","inputValidation.infoForeground":"#11111b","inputValidation.warningBackground":"#fab387","inputValidation.warningBorder":"#11111b33","inputValidation.warningForeground":"#11111b","issues.closed":"#cba6f7","issues.newIssueDecoration":"#f5e0dc","issues.open":"#a6e3a1","list.activeSelectionBackground":"#313244","list.activeSelectionForeground":"#cdd6f4","list.dropBackground":"#cba6f733","list.focusAndSelectionBackground":"#45475a","list.focusBackground":"#313244","list.focusForeground":"#cdd6f4","list.focusOutline":"#00000000","list.highlightForeground":"#cba6f7","list.hoverBackground":"#31324480","list.hoverForeground":"#cdd6f4","list.inactiveSelectionBackground":"#313244","list.inactiveSelectionForeground":"#cdd6f4","list.warningForeground":"#fab387","listFilterWidget.background":"#45475a","listFilterWidget.noMatchesOutline":"#f38ba8","listFilterWidget.outline":"#00000000","menu.background":"#1e1e2e","menu.border":"#1e1e2e80","menu.foreground":"#cdd6f4","menu.selectionBackground":"#585b70","menu.selectionBorder":"#00000000","menu.selectionForeground":"#cdd6f4","menu.separatorBackground":"#585b70","menubar.selectionBackground":"#45475a","menubar.selectionForeground":"#cdd6f4","merge.commonContentBackground":"#45475a","merge.commonHeaderBackground":"#585b70","merge.currentContentBackground":"#a6e3a133","merge.currentHeaderBackground":"#a6e3a166","merge.incomingContentBackground":"#89b4fa33","merge.incomingHeaderBackground":"#89b4fa66","minimap.background":"#18182580","minimap.errorHighlight":"#f38ba8bf","minimap.findMatchHighlight":"#89dceb4d","minimap.selectionHighlight":"#585b70bf","minimap.selectionOccurrenceHighlight":"#585b70bf","minimap.warningHighlight":"#fab387bf","minimapGutter.addedBackground":"#a6e3a1bf","minimapGutter.deletedBackground":"#f38ba8bf","minimapGutter.modifiedBackground":"#f9e2afbf","minimapSlider.activeBackground":"#cba6f799","minimapSlider.background":"#cba6f733","minimapSlider.hoverBackground":"#cba6f766","notificationCenter.border":"#cba6f7","notificationCenterHeader.background":"#181825","notificationCenterHeader.foreground":"#cdd6f4","notificationLink.foreground":"#89b4fa","notificationToast.border":"#cba6f7","notifications.background":"#181825","notifications.border":"#cba6f7","notifications.foreground":"#cdd6f4","notificationsErrorIcon.foreground":"#f38ba8","notificationsInfoIcon.foreground":"#89b4fa","notificationsWarningIcon.foreground":"#fab387","panel.background":"#1e1e2e","panel.border":"#585b70","panelSection.border":"#585b70","panelSection.dropBackground":"#cba6f733","panelTitle.activeBorder":"#cba6f7","panelTitle.activeForeground":"#cdd6f4","panelTitle.inactiveForeground":"#a6adc8","peekView.border":"#cba6f7","peekViewEditor.background":"#181825","peekViewEditor.matchHighlightBackground":"#89dceb4d","peekViewEditor.matchHighlightBorder":"#00000000","peekViewEditorGutter.background":"#181825","peekViewResult.background":"#181825","peekViewResult.fileForeground":"#cdd6f4","peekViewResult.lineForeground":"#cdd6f4","peekViewResult.matchHighlightBackground":"#89dceb4d","peekViewResult.selectionBackground":"#313244","peekViewResult.selectionForeground":"#cdd6f4","peekViewTitle.background":"#1e1e2e","peekViewTitleDescription.foreground":"#bac2deb3","peekViewTitleLabel.foreground":"#cdd6f4","pickerGroup.border":"#cba6f7","pickerGroup.foreground":"#cba6f7","problemsErrorIcon.foreground":"#f38ba8","problemsInfoIcon.foreground":"#89b4fa","problemsWarningIcon.foreground":"#fab387","progressBar.background":"#cba6f7","pullRequests.closed":"#f38ba8","pullRequests.draft":"#9399b2","pullRequests.merged":"#cba6f7","pullRequests.notification":"#cdd6f4","pullRequests.open":"#a6e3a1","sash.hoverBorder":"#cba6f7","scrollbar.shadow":"#11111b","scrollbarSlider.activeBackground":"#31324466","scrollbarSlider.background":"#585b7080","scrollbarSlider.hoverBackground":"#6c7086","selection.background":"#cba6f766","settings.dropdownBackground":"#45475a","settings.dropdownListBorder":"#00000000","settings.focusedRowBackground":"#585b7033","settings.headerForeground":"#cdd6f4","settings.modifiedItemIndicator":"#cba6f7","settings.numberInputBackground":"#45475a","settings.numberInputBorder":"#00000000","settings.textInputBackground":"#45475a","settings.textInputBorder":"#00000000","sideBar.background":"#181825","sideBar.border":"#00000000","sideBar.dropBackground":"#cba6f733","sideBar.foreground":"#cdd6f4","sideBarSectionHeader.background":"#181825","sideBarSectionHeader.foreground":"#cdd6f4","sideBarTitle.foreground":"#cba6f7","statusBar.background":"#11111b","statusBar.border":"#00000000","statusBar.debuggingBackground":"#fab387","statusBar.debuggingBorder":"#00000000","statusBar.debuggingForeground":"#11111b","statusBar.foreground":"#cdd6f4","statusBar.noFolderBackground":"#11111b","statusBar.noFolderBorder":"#00000000","statusBar.noFolderForeground":"#cdd6f4","statusBarItem.activeBackground":"#585b7066","statusBarItem.errorBackground":"#00000000","statusBarItem.errorForeground":"#f38ba8","statusBarItem.hoverBackground":"#585b7033","statusBarItem.prominentBackground":"#00000000","statusBarItem.prominentForeground":"#cba6f7","statusBarItem.prominentHoverBackground":"#585b7033","statusBarItem.remoteBackground":"#89b4fa","statusBarItem.remoteForeground":"#11111b","statusBarItem.warningBackground":"#00000000","statusBarItem.warningForeground":"#fab387","symbolIcon.arrayForeground":"#fab387","symbolIcon.booleanForeground":"#cba6f7","symbolIcon.classForeground":"#f9e2af","symbolIcon.colorForeground":"#f5c2e7","symbolIcon.constantForeground":"#fab387","symbolIcon.constructorForeground":"#b4befe","symbolIcon.enumeratorForeground":"#f9e2af","symbolIcon.enumeratorMemberForeground":"#f9e2af","symbolIcon.eventForeground":"#f5c2e7","symbolIcon.fieldForeground":"#cdd6f4","symbolIcon.fileForeground":"#cba6f7","symbolIcon.folderForeground":"#cba6f7","symbolIcon.functionForeground":"#89b4fa","symbolIcon.interfaceForeground":"#f9e2af","symbolIcon.keyForeground":"#94e2d5","symbolIcon.keywordForeground":"#cba6f7","symbolIcon.methodForeground":"#89b4fa","symbolIcon.moduleForeground":"#cdd6f4","symbolIcon.namespaceForeground":"#f9e2af","symbolIcon.nullForeground":"#eba0ac","symbolIcon.numberForeground":"#fab387","symbolIcon.objectForeground":"#f9e2af","symbolIcon.operatorForeground":"#94e2d5","symbolIcon.packageForeground":"#f2cdcd","symbolIcon.propertyForeground":"#eba0ac","symbolIcon.referenceForeground":"#f9e2af","symbolIcon.snippetForeground":"#f2cdcd","symbolIcon.stringForeground":"#a6e3a1","symbolIcon.structForeground":"#94e2d5","symbolIcon.textForeground":"#cdd6f4","symbolIcon.typeParameterForeground":"#eba0ac","symbolIcon.unitForeground":"#cdd6f4","symbolIcon.variableForeground":"#cdd6f4","tab.activeBackground":"#1e1e2e","tab.activeBorder":"#00000000","tab.activeBorderTop":"#cba6f7","tab.activeForeground":"#cba6f7","tab.activeModifiedBorder":"#f9e2af","tab.border":"#181825","tab.hoverBackground":"#28283d","tab.hoverBorder":"#00000000","tab.hoverForeground":"#cba6f7","tab.inactiveBackground":"#181825","tab.inactiveForeground":"#6c7086","tab.inactiveModifiedBorder":"#f9e2af4d","tab.lastPinnedBorder":"#cba6f7","tab.unfocusedActiveBackground":"#181825","tab.unfocusedActiveBorder":"#00000000","tab.unfocusedActiveBorderTop":"#cba6f74d","tab.unfocusedInactiveBackground":"#0e0e16","table.headerBackground":"#313244","table.headerForeground":"#cdd6f4","terminal.ansiBlack":"#45475a","terminal.ansiBlue":"#89b4fa","terminal.ansiBrightBlack":"#585b70","terminal.ansiBrightBlue":"#74a8fc","terminal.ansiBrightCyan":"#6bd7ca","terminal.ansiBrightGreen":"#89d88b","terminal.ansiBrightMagenta":"#f2aede","terminal.ansiBrightRed":"#f37799","terminal.ansiBrightWhite":"#bac2de","terminal.ansiBrightYellow":"#ebd391","terminal.ansiCyan":"#94e2d5","terminal.ansiGreen":"#a6e3a1","terminal.ansiMagenta":"#f5c2e7","terminal.ansiRed":"#f38ba8","terminal.ansiWhite":"#a6adc8","terminal.ansiYellow":"#f9e2af","terminal.border":"#585b70","terminal.dropBackground":"#cba6f733","terminal.foreground":"#cdd6f4","terminal.inactiveSelectionBackground":"#585b7080","terminal.selectionBackground":"#585b70","terminal.tab.activeBorder":"#cba6f7","terminalCommandDecoration.defaultBackground":"#585b70","terminalCommandDecoration.errorBackground":"#f38ba8","terminalCommandDecoration.successBackground":"#a6e3a1","terminalCursor.background":"#1e1e2e","terminalCursor.foreground":"#f5e0dc","testing.coverCountBadgeBackground":"#00000000","testing.coverCountBadgeForeground":"#cba6f7","testing.coveredBackground":"#a6e3a14d","testing.coveredBorder":"#00000000","testing.coveredGutterBackground":"#a6e3a14d","testing.iconErrored":"#f38ba8","testing.iconErrored.retired":"#f38ba8","testing.iconFailed":"#f38ba8","testing.iconFailed.retired":"#f38ba8","testing.iconPassed":"#a6e3a1","testing.iconPassed.retired":"#a6e3a1","testing.iconQueued":"#89b4fa","testing.iconQueued.retired":"#89b4fa","testing.iconSkipped":"#a6adc8","testing.iconSkipped.retired":"#a6adc8","testing.iconUnset":"#cdd6f4","testing.iconUnset.retired":"#cdd6f4","testing.message.error.lineBackground":"#f38ba826","testing.message.info.decorationForeground":"#a6e3a1cc","testing.message.info.lineBackground":"#a6e3a126","testing.messagePeekBorder":"#cba6f7","testing.messagePeekHeaderBackground":"#585b70","testing.peekBorder":"#cba6f7","testing.peekHeaderBackground":"#585b70","testing.runAction":"#cba6f7","testing.uncoveredBackground":"#f38ba833","testing.uncoveredBorder":"#00000000","testing.uncoveredBranchBackground":"#f38ba833","testing.uncoveredGutterBackground":"#f38ba840","textBlockQuote.background":"#181825","textBlockQuote.border":"#11111b","textCodeBlock.background":"#181825","textLink.activeForeground":"#89dceb","textLink.foreground":"#89b4fa","textPreformat.foreground":"#cdd6f4","textSeparator.foreground":"#cba6f7","titleBar.activeBackground":"#11111b","titleBar.activeForeground":"#cdd6f4","titleBar.border":"#00000000","titleBar.inactiveBackground":"#11111b","titleBar.inactiveForeground":"#cdd6f480","tree.inactiveIndentGuidesStroke":"#45475a","tree.indentGuidesStroke":"#9399b2","walkThrough.embeddedEditorBackground":"#1e1e2e4d","welcomePage.progress.background":"#11111b","welcomePage.progress.foreground":"#cba6f7","welcomePage.tileBackground":"#181825","widget.shadow":"#18182580","window.activeBorder":"#00000000","window.inactiveBorder":"#00000000"},"displayName":"Catppuccin Mocha","name":"catppuccin-mocha","semanticHighlighting":true,"semanticTokenColors":{"boolean":{"foreground":"#fab387"},"builtinAttribute.attribute.library:rust":{"foreground":"#89b4fa"},"class.builtin:python":{"foreground":"#cba6f7"},"class:python":{"foreground":"#f9e2af"},"constant.builtin.readonly:nix":{"foreground":"#cba6f7"},"enumMember":{"foreground":"#94e2d5"},"function.decorator:python":{"foreground":"#fab387"},"generic.attribute:rust":{"foreground":"#cdd6f4"},"heading":{"foreground":"#f38ba8"},"number":{"foreground":"#fab387"},"pol":{"foreground":"#f2cdcd"},"property.readonly:javascript":{"foreground":"#cdd6f4"},"property.readonly:javascriptreact":{"foreground":"#cdd6f4"},"property.readonly:typescript":{"foreground":"#cdd6f4"},"property.readonly:typescriptreact":{"foreground":"#cdd6f4"},"selfKeyword":{"foreground":"#f38ba8"},"text.emph":{"fontStyle":"italic","foreground":"#f38ba8"},"text.math":{"foreground":"#f2cdcd"},"text.strong":{"fontStyle":"bold","foreground":"#f38ba8"},"tomlArrayKey":{"fontStyle":"","foreground":"#89b4fa"},"tomlTableKey":{"fontStyle":"","foreground":"#89b4fa"},"type.defaultLibrary:go":{"foreground":"#cba6f7"},"variable.defaultLibrary":{"foreground":"#eba0ac"},"variable.readonly.defaultLibrary:go":{"foreground":"#cba6f7"},"variable.readonly:javascript":{"foreground":"#cdd6f4"},"variable.readonly:javascriptreact":{"foreground":"#cdd6f4"},"variable.readonly:scala":{"foreground":"#cdd6f4"},"variable.readonly:typescript":{"foreground":"#cdd6f4"},"variable.readonly:typescriptreact":{"foreground":"#cdd6f4"},"variable.typeHint:python":{"foreground":"#f9e2af"}},"tokenColors":[{"scope":["text","source","variable.other.readwrite","punctuation.definition.variable"],"settings":{"foreground":"#cdd6f4"}},{"scope":"punctuation","settings":{"fontStyle":"","foreground":"#9399b2"}},{"scope":["comment","punctuation.definition.comment"],"settings":{"fontStyle":"italic","foreground":"#9399b2"}},{"scope":["string","punctuation.definition.string"],"settings":{"foreground":"#a6e3a1"}},{"scope":"constant.character.escape","settings":{"foreground":"#f5c2e7"}},{"scope":["constant.numeric","variable.other.constant","entity.name.constant","constant.language.boolean","constant.language.false","constant.language.true","keyword.other.unit.user-defined","keyword.other.unit.suffix.floating-point"],"settings":{"foreground":"#fab387"}},{"scope":["keyword","keyword.operator.word","keyword.operator.new","variable.language.super","support.type.primitive","storage.type","storage.modifier","punctuation.definition.keyword"],"settings":{"fontStyle":"","foreground":"#cba6f7"}},{"scope":"entity.name.tag.documentation","settings":{"foreground":"#cba6f7"}},{"scope":["keyword.operator","punctuation.accessor","punctuation.definition.generic","meta.function.closure punctuation.section.parameters","punctuation.definition.tag","punctuation.separator.key-value"],"settings":{"foreground":"#94e2d5"}},{"scope":["entity.name.function","meta.function-call.method","support.function","support.function.misc","variable.function"],"settings":{"fontStyle":"italic","foreground":"#89b4fa"}},{"scope":["entity.name.class","entity.other.inherited-class","support.class","meta.function-call.constructor","entity.name.struct"],"settings":{"fontStyle":"italic","foreground":"#f9e2af"}},{"scope":"entity.name.enum","settings":{"fontStyle":"italic","foreground":"#f9e2af"}},{"scope":["meta.enum variable.other.readwrite","variable.other.enummember"],"settings":{"foreground":"#94e2d5"}},{"scope":"meta.property.object","settings":{"foreground":"#94e2d5"}},{"scope":["meta.type","meta.type-alias","support.type","entity.name.type"],"settings":{"fontStyle":"italic","foreground":"#f9e2af"}},{"scope":["meta.annotation variable.function","meta.annotation variable.annotation.function","meta.annotation punctuation.definition.annotation","meta.decorator","punctuation.decorator"],"settings":{"foreground":"#fab387"}},{"scope":["variable.parameter","meta.function.parameters"],"settings":{"fontStyle":"italic","foreground":"#eba0ac"}},{"scope":["constant.language","support.function.builtin"],"settings":{"foreground":"#f38ba8"}},{"scope":"entity.other.attribute-name.documentation","settings":{"foreground":"#f38ba8"}},{"scope":["keyword.control.directive","punctuation.definition.directive"],"settings":{"foreground":"#f9e2af"}},{"scope":"punctuation.definition.typeparameters","settings":{"foreground":"#89dceb"}},{"scope":"entity.name.namespace","settings":{"foreground":"#f9e2af"}},{"scope":"support.type.property-name.css","settings":{"fontStyle":"","foreground":"#89b4fa"}},{"scope":["variable.language.this","variable.language.this punctuation.definition.variable"],"settings":{"foreground":"#f38ba8"}},{"scope":"variable.object.property","settings":{"foreground":"#cdd6f4"}},{"scope":["string.template variable","string variable"],"settings":{"foreground":"#cdd6f4"}},{"scope":"keyword.operator.new","settings":{"fontStyle":"bold"}},{"scope":"storage.modifier.specifier.extern.cpp","settings":{"foreground":"#cba6f7"}},{"scope":["entity.name.scope-resolution.template.call.cpp","entity.name.scope-resolution.parameter.cpp","entity.name.scope-resolution.cpp","entity.name.scope-resolution.function.definition.cpp"],"settings":{"foreground":"#f9e2af"}},{"scope":"storage.type.class.doxygen","settings":{"fontStyle":""}},{"scope":["storage.modifier.reference.cpp"],"settings":{"foreground":"#94e2d5"}},{"scope":"meta.interpolation.cs","settings":{"foreground":"#cdd6f4"}},{"scope":"comment.block.documentation.cs","settings":{"foreground":"#cdd6f4"}},{"scope":["source.css entity.other.attribute-name.class.css","entity.other.attribute-name.parent-selector.css punctuation.definition.entity.css"],"settings":{"foreground":"#f9e2af"}},{"scope":"punctuation.separator.operator.css","settings":{"foreground":"#94e2d5"}},{"scope":"source.css entity.other.attribute-name.pseudo-class","settings":{"foreground":"#94e2d5"}},{"scope":"source.css constant.other.unicode-range","settings":{"foreground":"#fab387"}},{"scope":"source.css variable.parameter.url","settings":{"fontStyle":"","foreground":"#a6e3a1"}},{"scope":["support.type.vendored.property-name"],"settings":{"foreground":"#89dceb"}},{"scope":["source.css meta.property-value variable","source.css meta.property-value variable.other.less","source.css meta.property-value variable.other.less punctuation.definition.variable.less","meta.definition.variable.scss"],"settings":{"foreground":"#eba0ac"}},{"scope":["source.css meta.property-list variable","meta.property-list variable.other.less","meta.property-list variable.other.less punctuation.definition.variable.less"],"settings":{"foreground":"#89b4fa"}},{"scope":"keyword.other.unit.percentage.css","settings":{"foreground":"#fab387"}},{"scope":"source.css meta.attribute-selector","settings":{"foreground":"#a6e3a1"}},{"scope":["keyword.other.definition.ini","punctuation.support.type.property-name.json","support.type.property-name.json","punctuation.support.type.property-name.toml","support.type.property-name.toml","entity.name.tag.yaml","punctuation.support.type.property-name.yaml","support.type.property-name.yaml"],"settings":{"fontStyle":"","foreground":"#89b4fa"}},{"scope":["constant.language.json","constant.language.yaml"],"settings":{"foreground":"#fab387"}},{"scope":["entity.name.type.anchor.yaml","variable.other.alias.yaml"],"settings":{"fontStyle":"","foreground":"#f9e2af"}},{"scope":["support.type.property-name.table","entity.name.section.group-title.ini"],"settings":{"foreground":"#f9e2af"}},{"scope":"constant.other.time.datetime.offset.toml","settings":{"foreground":"#f5c2e7"}},{"scope":["punctuation.definition.anchor.yaml","punctuation.definition.alias.yaml"],"settings":{"foreground":"#f5c2e7"}},{"scope":"entity.other.document.begin.yaml","settings":{"foreground":"#f5c2e7"}},{"scope":"markup.changed.diff","settings":{"foreground":"#fab387"}},{"scope":["meta.diff.header.from-file","meta.diff.header.to-file","punctuation.definition.from-file.diff","punctuation.definition.to-file.diff"],"settings":{"foreground":"#89b4fa"}},{"scope":"markup.inserted.diff","settings":{"foreground":"#a6e3a1"}},{"scope":"markup.deleted.diff","settings":{"foreground":"#f38ba8"}},{"scope":["variable.other.env"],"settings":{"foreground":"#89b4fa"}},{"scope":["string.quoted variable.other.env"],"settings":{"foreground":"#cdd6f4"}},{"scope":"support.function.builtin.gdscript","settings":{"foreground":"#89b4fa"}},{"scope":"constant.language.gdscript","settings":{"foreground":"#fab387"}},{"scope":"comment meta.annotation.go","settings":{"foreground":"#eba0ac"}},{"scope":"comment meta.annotation.parameters.go","settings":{"foreground":"#fab387"}},{"scope":"constant.language.go","settings":{"foreground":"#fab387"}},{"scope":"variable.graphql","settings":{"foreground":"#cdd6f4"}},{"scope":"string.unquoted.alias.graphql","settings":{"foreground":"#f2cdcd"}},{"scope":"constant.character.enum.graphql","settings":{"foreground":"#94e2d5"}},{"scope":"meta.objectvalues.graphql constant.object.key.graphql string.unquoted.graphql","settings":{"foreground":"#f2cdcd"}},{"scope":["keyword.other.doctype","meta.tag.sgml.doctype punctuation.definition.tag","meta.tag.metadata.doctype entity.name.tag","meta.tag.metadata.doctype punctuation.definition.tag"],"settings":{"foreground":"#cba6f7"}},{"scope":["entity.name.tag"],"settings":{"fontStyle":"","foreground":"#89b4fa"}},{"scope":["text.html constant.character.entity","text.html constant.character.entity punctuation","constant.character.entity.xml","constant.character.entity.xml punctuation","constant.character.entity.js.jsx","constant.charactger.entity.js.jsx punctuation","constant.character.entity.tsx","constant.character.entity.tsx punctuation"],"settings":{"foreground":"#f38ba8"}},{"scope":["entity.other.attribute-name"],"settings":{"foreground":"#f9e2af"}},{"scope":["support.class.component","support.class.component.jsx","support.class.component.tsx","support.class.component.vue"],"settings":{"fontStyle":"","foreground":"#f5c2e7"}},{"scope":["punctuation.definition.annotation","storage.type.annotation"],"settings":{"foreground":"#fab387"}},{"scope":"constant.other.enum.java","settings":{"foreground":"#94e2d5"}},{"scope":"storage.modifier.import.java","settings":{"foreground":"#cdd6f4"}},{"scope":"comment.block.javadoc.java keyword.other.documentation.javadoc.java","settings":{"fontStyle":""}},{"scope":"meta.export variable.other.readwrite.js","settings":{"foreground":"#eba0ac"}},{"scope":["variable.other.constant.js","variable.other.constant.ts","variable.other.property.js","variable.other.property.ts"],"settings":{"foreground":"#cdd6f4"}},{"scope":["variable.other.jsdoc","comment.block.documentation variable.other"],"settings":{"fontStyle":"","foreground":"#eba0ac"}},{"scope":"storage.type.class.jsdoc","settings":{"fontStyle":""}},{"scope":"support.type.object.console.js","settings":{"foreground":"#cdd6f4"}},{"scope":["support.constant.node","support.type.object.module.js"],"settings":{"foreground":"#cba6f7"}},{"scope":"storage.modifier.implements","settings":{"foreground":"#cba6f7"}},{"scope":["constant.language.null.js","constant.language.null.ts","constant.language.undefined.js","constant.language.undefined.ts","support.type.builtin.ts"],"settings":{"foreground":"#cba6f7"}},{"scope":"variable.parameter.generic","settings":{"foreground":"#f9e2af"}},{"scope":["keyword.declaration.function.arrow.js","storage.type.function.arrow.ts"],"settings":{"foreground":"#94e2d5"}},{"scope":"punctuation.decorator.ts","settings":{"fontStyle":"italic","foreground":"#89b4fa"}},{"scope":["keyword.operator.expression.in.js","keyword.operator.expression.in.ts","keyword.operator.expression.infer.ts","keyword.operator.expression.instanceof.js","keyword.operator.expression.instanceof.ts","keyword.operator.expression.is","keyword.operator.expression.keyof.ts","keyword.operator.expression.of.js","keyword.operator.expression.of.ts","keyword.operator.expression.typeof.ts"],"settings":{"foreground":"#cba6f7"}},{"scope":"support.function.macro.julia","settings":{"fontStyle":"italic","foreground":"#94e2d5"}},{"scope":"constant.language.julia","settings":{"foreground":"#fab387"}},{"scope":"constant.other.symbol.julia","settings":{"foreground":"#eba0ac"}},{"scope":"text.tex keyword.control.preamble","settings":{"foreground":"#94e2d5"}},{"scope":"text.tex support.function.be","settings":{"foreground":"#89dceb"}},{"scope":"constant.other.general.math.tex","settings":{"foreground":"#f2cdcd"}},{"scope":"variable.language.liquid","settings":{"foreground":"#f5c2e7"}},{"scope":"comment.line.double-dash.documentation.lua storage.type.annotation.lua","settings":{"fontStyle":"","foreground":"#cba6f7"}},{"scope":["comment.line.double-dash.documentation.lua entity.name.variable.lua","comment.line.double-dash.documentation.lua variable.lua"],"settings":{"foreground":"#cdd6f4"}},{"scope":["heading.1.markdown punctuation.definition.heading.markdown","heading.1.markdown","heading.1.quarto punctuation.definition.heading.quarto","heading.1.quarto","markup.heading.atx.1.mdx","markup.heading.atx.1.mdx punctuation.definition.heading.mdx","markup.heading.setext.1.markdown","markup.heading.heading-0.asciidoc"],"settings":{"foreground":"#f38ba8"}},{"scope":["heading.2.markdown punctuation.definition.heading.markdown","heading.2.markdown","heading.2.quarto punctuation.definition.heading.quarto","heading.2.quarto","markup.heading.atx.2.mdx","markup.heading.atx.2.mdx punctuation.definition.heading.mdx","markup.heading.setext.2.markdown","markup.heading.heading-1.asciidoc"],"settings":{"foreground":"#fab387"}},{"scope":["heading.3.markdown punctuation.definition.heading.markdown","heading.3.markdown","heading.3.quarto punctuation.definition.heading.quarto","heading.3.quarto","markup.heading.atx.3.mdx","markup.heading.atx.3.mdx punctuation.definition.heading.mdx","markup.heading.heading-2.asciidoc"],"settings":{"foreground":"#f9e2af"}},{"scope":["heading.4.markdown punctuation.definition.heading.markdown","heading.4.markdown","heading.4.quarto punctuation.definition.heading.quarto","heading.4.quarto","markup.heading.atx.4.mdx","markup.heading.atx.4.mdx punctuation.definition.heading.mdx","markup.heading.heading-3.asciidoc"],"settings":{"foreground":"#a6e3a1"}},{"scope":["heading.5.markdown punctuation.definition.heading.markdown","heading.5.markdown","heading.5.quarto punctuation.definition.heading.quarto","heading.5.quarto","markup.heading.atx.5.mdx","markup.heading.atx.5.mdx punctuation.definition.heading.mdx","markup.heading.heading-4.asciidoc"],"settings":{"foreground":"#74c7ec"}},{"scope":["heading.6.markdown punctuation.definition.heading.markdown","heading.6.markdown","heading.6.quarto punctuation.definition.heading.quarto","heading.6.quarto","markup.heading.atx.6.mdx","markup.heading.atx.6.mdx punctuation.definition.heading.mdx","markup.heading.heading-5.asciidoc"],"settings":{"foreground":"#b4befe"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#f38ba8"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#f38ba8"}},{"scope":"markup.strikethrough","settings":{"fontStyle":"strikethrough","foreground":"#a6adc8"}},{"scope":["punctuation.definition.link","markup.underline.link"],"settings":{"foreground":"#89b4fa"}},{"scope":["text.html.markdown punctuation.definition.link.title","text.html.quarto punctuation.definition.link.title","string.other.link.title.markdown","string.other.link.title.quarto","markup.link","punctuation.definition.constant.markdown","punctuation.definition.constant.quarto","constant.other.reference.link.markdown","constant.other.reference.link.quarto","markup.substitution.attribute-reference"],"settings":{"foreground":"#b4befe"}},{"scope":["punctuation.definition.raw.markdown","punctuation.definition.raw.quarto","markup.inline.raw.string.markdown","markup.inline.raw.string.quarto","markup.raw.block.markdown","markup.raw.block.quarto"],"settings":{"foreground":"#a6e3a1"}},{"scope":"fenced_code.block.language","settings":{"foreground":"#89dceb"}},{"scope":["markup.fenced_code.block punctuation.definition","markup.raw support.asciidoc"],"settings":{"foreground":"#9399b2"}},{"scope":["markup.quote","punctuation.definition.quote.begin"],"settings":{"foreground":"#f5c2e7"}},{"scope":"meta.separator.markdown","settings":{"foreground":"#94e2d5"}},{"scope":["punctuation.definition.list.begin.markdown","punctuation.definition.list.begin.quarto","markup.list.bullet"],"settings":{"foreground":"#94e2d5"}},{"scope":"markup.heading.quarto","settings":{"fontStyle":"bold"}},{"scope":["entity.other.attribute-name.multipart.nix","entity.other.attribute-name.single.nix"],"settings":{"foreground":"#89b4fa"}},{"scope":"variable.parameter.name.nix","settings":{"fontStyle":"","foreground":"#cdd6f4"}},{"scope":"meta.embedded variable.parameter.name.nix","settings":{"fontStyle":"","foreground":"#b4befe"}},{"scope":"string.unquoted.path.nix","settings":{"fontStyle":"","foreground":"#f5c2e7"}},{"scope":["support.attribute.builtin","meta.attribute.php"],"settings":{"foreground":"#f9e2af"}},{"scope":"meta.function.parameters.php punctuation.definition.variable.php","settings":{"foreground":"#eba0ac"}},{"scope":"constant.language.php","settings":{"foreground":"#cba6f7"}},{"scope":"text.html.php support.function","settings":{"foreground":"#89dceb"}},{"scope":"keyword.other.phpdoc.php","settings":{"fontStyle":""}},{"scope":["support.variable.magic.python","meta.function-call.arguments.python"],"settings":{"foreground":"#cdd6f4"}},{"scope":["support.function.magic.python"],"settings":{"fontStyle":"italic","foreground":"#89dceb"}},{"scope":["variable.parameter.function.language.special.self.python","variable.language.special.self.python"],"settings":{"fontStyle":"italic","foreground":"#f38ba8"}},{"scope":["keyword.control.flow.python","keyword.operator.logical.python"],"settings":{"foreground":"#cba6f7"}},{"scope":"storage.type.function.python","settings":{"foreground":"#cba6f7"}},{"scope":["support.token.decorator.python","meta.function.decorator.identifier.python"],"settings":{"foreground":"#89dceb"}},{"scope":["meta.function-call.python"],"settings":{"foreground":"#89b4fa"}},{"scope":["entity.name.function.decorator.python","punctuation.definition.decorator.python"],"settings":{"fontStyle":"italic","foreground":"#fab387"}},{"scope":"constant.character.format.placeholder.other.python","settings":{"foreground":"#f5c2e7"}},{"scope":["support.type.exception.python","support.function.builtin.python"],"settings":{"foreground":"#fab387"}},{"scope":["support.type.python"],"settings":{"foreground":"#cba6f7"}},{"scope":"constant.language.python","settings":{"foreground":"#fab387"}},{"scope":["meta.indexed-name.python","meta.item-access.python"],"settings":{"fontStyle":"italic","foreground":"#eba0ac"}},{"scope":"storage.type.string.python","settings":{"fontStyle":"italic","foreground":"#a6e3a1"}},{"scope":"meta.function.parameters.python","settings":{"fontStyle":""}},{"scope":["string.regexp punctuation.definition.string.begin","string.regexp punctuation.definition.string.end"],"settings":{"foreground":"#f5c2e7"}},{"scope":"keyword.control.anchor.regexp","settings":{"foreground":"#cba6f7"}},{"scope":"string.regexp.ts","settings":{"foreground":"#cdd6f4"}},{"scope":["punctuation.definition.group.regexp","keyword.other.back-reference.regexp"],"settings":{"foreground":"#a6e3a1"}},{"scope":"punctuation.definition.character-class.regexp","settings":{"foreground":"#f9e2af"}},{"scope":"constant.other.character-class.regexp","settings":{"foreground":"#f5c2e7"}},{"scope":"constant.other.character-class.range.regexp","settings":{"foreground":"#f5e0dc"}},{"scope":"keyword.operator.quantifier.regexp","settings":{"foreground":"#94e2d5"}},{"scope":"constant.character.numeric.regexp","settings":{"foreground":"#fab387"}},{"scope":["punctuation.definition.group.no-capture.regexp","meta.assertion.look-ahead.regexp","meta.assertion.negative-look-ahead.regexp"],"settings":{"foreground":"#89b4fa"}},{"scope":["meta.annotation.rust","meta.annotation.rust punctuation","meta.attribute.rust","punctuation.definition.attribute.rust"],"settings":{"fontStyle":"italic","foreground":"#f9e2af"}},{"scope":["meta.attribute.rust string.quoted.double.rust","meta.attribute.rust string.quoted.single.char.rust"],"settings":{"fontStyle":""}},{"scope":["entity.name.function.macro.rules.rust","storage.type.module.rust","storage.modifier.rust","storage.type.struct.rust","storage.type.enum.rust","storage.type.trait.rust","storage.type.union.rust","storage.type.impl.rust","storage.type.rust","storage.type.function.rust","storage.type.type.rust"],"settings":{"fontStyle":"","foreground":"#cba6f7"}},{"scope":"entity.name.type.numeric.rust","settings":{"fontStyle":"","foreground":"#cba6f7"}},{"scope":"meta.generic.rust","settings":{"foreground":"#fab387"}},{"scope":"entity.name.impl.rust","settings":{"fontStyle":"italic","foreground":"#f9e2af"}},{"scope":"entity.name.module.rust","settings":{"foreground":"#fab387"}},{"scope":"entity.name.trait.rust","settings":{"fontStyle":"italic","foreground":"#f9e2af"}},{"scope":"storage.type.source.rust","settings":{"foreground":"#f9e2af"}},{"scope":"entity.name.union.rust","settings":{"foreground":"#f9e2af"}},{"scope":"meta.enum.rust storage.type.source.rust","settings":{"foreground":"#94e2d5"}},{"scope":["support.macro.rust","meta.macro.rust support.function.rust","entity.name.function.macro.rust"],"settings":{"fontStyle":"italic","foreground":"#89b4fa"}},{"scope":["storage.modifier.lifetime.rust","entity.name.type.lifetime"],"settings":{"fontStyle":"italic","foreground":"#89b4fa"}},{"scope":"string.quoted.double.rust constant.other.placeholder.rust","settings":{"foreground":"#f5c2e7"}},{"scope":"meta.function.return-type.rust meta.generic.rust storage.type.rust","settings":{"foreground":"#cdd6f4"}},{"scope":"meta.function.call.rust","settings":{"foreground":"#89b4fa"}},{"scope":"punctuation.brackets.angle.rust","settings":{"foreground":"#89dceb"}},{"scope":"constant.other.caps.rust","settings":{"foreground":"#fab387"}},{"scope":["meta.function.definition.rust variable.other.rust"],"settings":{"foreground":"#eba0ac"}},{"scope":"meta.function.call.rust variable.other.rust","settings":{"foreground":"#cdd6f4"}},{"scope":"variable.language.self.rust","settings":{"foreground":"#f38ba8"}},{"scope":["variable.other.metavariable.name.rust","meta.macro.metavariable.rust keyword.operator.macro.dollar.rust"],"settings":{"foreground":"#f5c2e7"}},{"scope":["comment.line.shebang","comment.line.shebang punctuation.definition.comment","comment.line.shebang","punctuation.definition.comment.shebang.shell","meta.shebang.shell"],"settings":{"fontStyle":"italic","foreground":"#f5c2e7"}},{"scope":"comment.line.shebang constant.language","settings":{"fontStyle":"italic","foreground":"#94e2d5"}},{"scope":["meta.function-call.arguments.shell punctuation.definition.variable.shell","meta.function-call.arguments.shell punctuation.section.interpolation","meta.function-call.arguments.shell punctuation.definition.variable.shell","meta.function-call.arguments.shell punctuation.section.interpolation"],"settings":{"foreground":"#f38ba8"}},{"scope":"meta.string meta.interpolation.parameter.shell variable.other.readwrite","settings":{"fontStyle":"italic","foreground":"#fab387"}},{"scope":["source.shell punctuation.section.interpolation","punctuation.definition.evaluation.backticks.shell"],"settings":{"foreground":"#94e2d5"}},{"scope":"entity.name.tag.heredoc.shell","settings":{"foreground":"#cba6f7"}},{"scope":"string.quoted.double.shell variable.other.normal.shell","settings":{"foreground":"#cdd6f4"}},{"scope":["markup.heading.typst"],"settings":{"foreground":"#f38ba8"}}],"type":"dark"}'));let P=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function Jo(t){return ln(t)}function ln(t){return Array.isArray(t)?Yo(t):t instanceof RegExp?t:typeof t=="object"?Zo(t):t}function Yo(t){let e=[];for(let n=0,r=t.length;n<r;n++)e[n]=ln(t[n]);return e}function Zo(t){let e={};for(let n in t)e[n]=ln(t[n]);return e}function br(t,...e){return e.forEach(n=>{for(let r in n)t[r]=n[r]}),t}function yr(t){const e=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return e===0?t:~e===t.length-1?yr(t.substring(0,t.length-1)):t.substr(~e+1)}var At=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Je=class{static hasCaptures(t){return t===null?!1:(At.lastIndex=0,At.test(t))}static replaceCaptures(t,e,n){return t.replace(At,(r,o,a,i)=>{let c=n[parseInt(o||a,10)];if(c){let s=e.substring(c.start,c.end);for(;s[0]===".";)s=s.substring(1);switch(i){case"downcase":return s.toLowerCase();case"upcase":return s.toUpperCase();default:return s}}else return r})}};function kr(t,e){return t<e?-1:t>e?1:0}function wr(t,e){if(t===null&&e===null)return 0;if(!t)return-1;if(!e)return 1;let n=t.length,r=e.length;if(n===r){for(let o=0;o<n;o++){let a=kr(t[o],e[o]);if(a!==0)return a}return 0}return n-r}function Bn(t){return!!(/^#[0-9a-f]{6}$/i.test(t)||/^#[0-9a-f]{8}$/i.test(t)||/^#[0-9a-f]{3}$/i.test(t)||/^#[0-9a-f]{4}$/i.test(t))}function vr(t){return t.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Cr=class{constructor(t){h(this,"cache",new Map);this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const e=this.fn(t);return this.cache.set(t,e),e}},ct=class{constructor(t,e,n){h(this,"_cachedMatchRoot",new Cr(t=>this._root.match(t)));this._colorMap=t,this._defaults=e,this._root=n}static createFromRawTheme(t,e){return this.createFromParsedTheme(na(t),e)}static createFromParsedTheme(t,e){return oa(t,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const e=t.scopeName,r=this._cachedMatchRoot.get(e).find(o=>ea(t.parent,o.parentScopes));return r?new _r(r.fontStyle,r.foreground,r.background):null}},Ft=class at{constructor(e,n){this.parent=e,this.scopeName=n}static push(e,n){for(const r of n)e=new at(e,r);return e}static from(...e){let n=null;for(let r=0;r<e.length;r++)n=new at(n,e[r]);return n}push(e){return new at(this,e)}getSegments(){let e=this;const n=[];for(;e;)n.push(e.scopeName),e=e.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const n=[];let r=this;for(;r&&r!==e;)n.push(r.scopeName),r=r.parent;return r===e?n.reverse():void 0}};function ea(t,e){if(e.length===0)return!0;for(let n=0;n<e.length;n++){let r=e[n],o=!1;if(r===">"){if(n===e.length-1)return!1;r=e[++n],o=!0}for(;t&&!ta(t.scopeName,r);){if(o)return!1;t=t.parent}if(!t)return!1;t=t.parent}return!0}function ta(t,e){return e===t||t.startsWith(e)&&t[e.length]==="."}var _r=class{constructor(t,e,n){this.fontStyle=t,this.foregroundId=e,this.backgroundId=n}};function na(t){if(!t)return[];if(!t.settings||!Array.isArray(t.settings))return[];let e=t.settings,n=[],r=0;for(let o=0,a=e.length;o<a;o++){let i=e[o];if(!i.settings)continue;let c;if(typeof i.scope=="string"){let d=i.scope;d=d.replace(/^[,]+/,""),d=d.replace(/[,]+$/,""),c=d.split(",")}else Array.isArray(i.scope)?c=i.scope:c=[""];let s=-1;if(typeof i.settings.fontStyle=="string"){s=0;let d=i.settings.fontStyle.split(" ");for(let g=0,f=d.length;g<f;g++)switch(d[g]){case"italic":s=s|1;break;case"bold":s=s|2;break;case"underline":s=s|4;break;case"strikethrough":s=s|8;break}}let l=null;typeof i.settings.foreground=="string"&&Bn(i.settings.foreground)&&(l=i.settings.foreground);let u=null;typeof i.settings.background=="string"&&Bn(i.settings.background)&&(u=i.settings.background);for(let d=0,g=c.length;d<g;d++){let p=c[d].trim().split(" "),k=p[p.length-1],m=null;p.length>1&&(m=p.slice(0,p.length-1),m.reverse()),n[r++]=new ra(k,m,o,s,l,u)}}return n}var ra=class{constructor(t,e,n,r,o,a){this.scope=t,this.parentScopes=e,this.index=n,this.fontStyle=r,this.foreground=o,this.background=a}},$=(t=>(t[t.NotSet=-1]="NotSet",t[t.None=0]="None",t[t.Italic=1]="Italic",t[t.Bold=2]="Bold",t[t.Underline=4]="Underline",t[t.Strikethrough=8]="Strikethrough",t))($||{});function oa(t,e){t.sort((s,l)=>{let u=kr(s.scope,l.scope);return u!==0||(u=wr(s.parentScopes,l.parentScopes),u!==0)?u:s.index-l.index});let n=0,r="#000000",o="#ffffff";for(;t.length>=1&&t[0].scope==="";){let s=t.shift();s.fontStyle!==-1&&(n=s.fontStyle),s.foreground!==null&&(r=s.foreground),s.background!==null&&(o=s.background)}let a=new aa(e),i=new _r(n,a.getId(r),a.getId(o)),c=new sa(new Wt(0,null,-1,0,0),[]);for(let s=0,l=t.length;s<l;s++){let u=t[s];c.insert(0,u.scope,u.parentScopes,u.fontStyle,a.getId(u.foreground),a.getId(u.background))}return new ct(a,i,c)}var aa=class{constructor(t){h(this,"_isFrozen");h(this,"_lastColorId");h(this,"_id2color");h(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let e=0,n=t.length;e<n;e++)this._color2id[t[e]]=e,this._id2color[e]=t[e]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let e=this._color2id[t];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return e=++this._lastColorId,this._color2id[t]=e,this._id2color[e]=t,e}getColorMap(){return this._id2color.slice(0)}},ia=Object.freeze([]),Wt=class Sr{constructor(e,n,r,o,a){h(this,"scopeDepth");h(this,"parentScopes");h(this,"fontStyle");h(this,"foreground");h(this,"background");this.scopeDepth=e,this.parentScopes=n||ia,this.fontStyle=r,this.foreground=o,this.background=a}clone(){return new Sr(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let n=[];for(let r=0,o=e.length;r<o;r++)n[r]=e[r].clone();return n}acceptOverwrite(e,n,r,o){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),o!==0&&(this.background=o)}},sa=class zt{constructor(e,n=[],r={}){h(this,"_rulesWithParentScopes");this._mainRule=e,this._children=r,this._rulesWithParentScopes=n}static _cmpBySpecificity(e,n){if(e.scopeDepth!==n.scopeDepth)return n.scopeDepth-e.scopeDepth;let r=0,o=0;for(;e.parentScopes[r]===">"&&r++,n.parentScopes[o]===">"&&o++,!(r>=e.parentScopes.length||o>=n.parentScopes.length);){const a=n.parentScopes[o].length-e.parentScopes[r].length;if(a!==0)return a;r++,o++}return n.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let r=e.indexOf("."),o,a;if(r===-1?(o=e,a=""):(o=e.substring(0,r),a=e.substring(r+1)),this._children.hasOwnProperty(o))return this._children[o].match(a)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(zt._cmpBySpecificity),n}insert(e,n,r,o,a,i){if(n===""){this._doInsertHere(e,r,o,a,i);return}let c=n.indexOf("."),s,l;c===-1?(s=n,l=""):(s=n.substring(0,c),l=n.substring(c+1));let u;this._children.hasOwnProperty(s)?u=this._children[s]:(u=new zt(this._mainRule.clone(),Wt.cloneArr(this._rulesWithParentScopes)),this._children[s]=u),u.insert(e+1,l,r,o,a,i)}_doInsertHere(e,n,r,o,a){if(n===null){this._mainRule.acceptOverwrite(e,r,o,a);return}for(let i=0,c=this._rulesWithParentScopes.length;i<c;i++){let s=this._rulesWithParentScopes[i];if(wr(s.parentScopes,n)===0){s.acceptOverwrite(e,r,o,a);return}}r===-1&&(r=this._mainRule.fontStyle),o===0&&(o=this._mainRule.foreground),a===0&&(a=this._mainRule.background),this._rulesWithParentScopes.push(new Wt(e,n,r,o,a))}},Ee=class D{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const n=D.getLanguageId(e),r=D.getTokenType(e),o=D.getFontStyle(e),a=D.getForeground(e),i=D.getBackground(e);console.log({languageId:n,tokenType:r,fontStyle:o,foreground:a,background:i})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,n,r,o,a,i,c){let s=D.getLanguageId(e),l=D.getTokenType(e),u=D.containsBalancedBrackets(e)?1:0,d=D.getFontStyle(e),g=D.getForeground(e),f=D.getBackground(e);return n!==0&&(s=n),r!==8&&(l=r),o!==null&&(u=o?1:0),a!==-1&&(d=a),i!==0&&(g=i),c!==0&&(f=c),(s<<0|l<<8|u<<10|d<<11|g<<15|f<<24)>>>0}};function lt(t,e){const n=[],r=ca(t);let o=r.next();for(;o!==null;){let s=0;if(o.length===2&&o.charAt(1)===":"){switch(o.charAt(0)){case"R":s=1;break;case"L":s=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=r.next()}let l=i();if(n.push({matcher:l,priority:s}),o!==",")break;o=r.next()}return n;function a(){if(o==="-"){o=r.next();const s=a();return l=>!!s&&!s(l)}if(o==="("){o=r.next();const s=c();return o===")"&&(o=r.next()),s}if(In(o)){const s=[];do s.push(o),o=r.next();while(In(o));return l=>e(s,l)}return null}function i(){const s=[];let l=a();for(;l;)s.push(l),l=a();return u=>s.every(d=>d(u))}function c(){const s=[];let l=i();for(;l&&(s.push(l),o==="|"||o===",");){do o=r.next();while(o==="|"||o===",");l=i()}return u=>s.some(d=>d(u))}}function In(t){return!!t&&!!t.match(/[\w\.:]+/)}function ca(t){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=e.exec(t);return{next:()=>{if(!n)return null;const r=n[0];return n=e.exec(t),r}}}function xr(t){typeof t.dispose=="function"&&t.dispose()}var Ge=class{constructor(t){this.scopeName=t}toKey(){return this.scopeName}},la=class{constructor(t,e){this.scopeName=t,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},ua=class{constructor(){h(this,"_references",[]);h(this,"_seenReferenceKeys",new Set);h(this,"visitedRule",new Set)}get references(){return this._references}add(t){const e=t.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(t))}},da=class{constructor(t,e){h(this,"seenFullScopeRequests",new Set);h(this,"seenPartialScopeRequests",new Set);h(this,"Q");this.repo=t,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Ge(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const e=new ua;for(const n of t)ga(n,this.initialScopeName,this.repo,e);for(const n of e.references)if(n instanceof Ge){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function ga(t,e,n,r){const o=n.lookup(t.scopeName);if(!o){if(t.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const a=n.lookup(e);t instanceof Ge?it({baseGrammar:a,selfGrammar:o},r):Vt(t.ruleName,{baseGrammar:a,selfGrammar:o,repository:o.repository},r);const i=n.injections(t.scopeName);if(i)for(const c of i)r.add(new Ge(c))}function Vt(t,e,n){if(e.repository&&e.repository[t]){const r=e.repository[t];ut([r],e,n)}}function it(t,e){t.selfGrammar.patterns&&Array.isArray(t.selfGrammar.patterns)&&ut(t.selfGrammar.patterns,{...t,repository:t.selfGrammar.repository},e),t.selfGrammar.injections&&ut(Object.values(t.selfGrammar.injections),{...t,repository:t.selfGrammar.repository},e)}function ut(t,e,n){for(const r of t){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?br({},e.repository,r.repository):e.repository;Array.isArray(r.patterns)&&ut(r.patterns,{...e,repository:o},n);const a=r.include;if(!a)continue;const i=Br(a);switch(i.kind){case 0:it({...e,selfGrammar:e.baseGrammar},n);break;case 1:it(e,n);break;case 2:Vt(i.ruleName,{...e,repository:o},n);break;case 3:case 4:const c=i.scopeName===e.selfGrammar.scopeName?e.selfGrammar:i.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(c){const s={baseGrammar:e.baseGrammar,selfGrammar:c,repository:o};i.kind===4?Vt(i.ruleName,s,n):it(s,n)}else i.kind===4?n.add(new la(i.scopeName,i.ruleName)):n.add(new Ge(i.scopeName));break}}}var fa=class{constructor(){h(this,"kind",0)}},pa=class{constructor(){h(this,"kind",1)}},ha=class{constructor(t){h(this,"kind",2);this.ruleName=t}},ma=class{constructor(t){h(this,"kind",3);this.scopeName=t}},ba=class{constructor(t,e){h(this,"kind",4);this.scopeName=t,this.ruleName=e}};function Br(t){if(t==="$base")return new fa;if(t==="$self")return new pa;const e=t.indexOf("#");if(e===-1)return new ma(t);if(e===0)return new ha(t.substring(1));{const n=t.substring(0,e),r=t.substring(e+1);return new ba(n,r)}}var ya=/\\(\d+)/,En=/\\(\d+)/g,ka=-1,Ir=-2;var We=class{constructor(t,e,n,r){h(this,"$location");h(this,"id");h(this,"_nameIsCapturing");h(this,"_name");h(this,"_contentNameIsCapturing");h(this,"_contentName");this.$location=t,this.id=e,this._name=n||null,this._nameIsCapturing=Je.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Je.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${yr(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,e){return!this._nameIsCapturing||this._name===null||t===null||e===null?this._name:Je.replaceCaptures(this._name,t,e)}getContentName(t,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Je.replaceCaptures(this._contentName,t,e)}},wa=class extends We{constructor(e,n,r,o,a){super(e,n,r,o);h(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=a}dispose(){}collectPatterns(e,n){throw new Error("Not supported!")}compile(e,n){throw new Error("Not supported!")}compileAG(e,n,r,o){throw new Error("Not supported!")}},va=class extends We{constructor(e,n,r,o,a){super(e,n,r,null);h(this,"_match");h(this,"captures");h(this,"_cachedCompiledPatterns");this._match=new je(o,this.id),this.captures=a,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,n){n.push(this._match)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,r,o){return this._getCachedCompiledPatterns(e).compileAG(e,r,o)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new De,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Rn=class extends We{constructor(e,n,r,o,a){super(e,n,r,o);h(this,"hasMissingPatterns");h(this,"patterns");h(this,"_cachedCompiledPatterns");this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,n){for(const r of this.patterns)e.getRule(r).collectPatterns(e,n)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,r,o){return this._getCachedCompiledPatterns(e).compileAG(e,r,o)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new De,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Kt=class extends We{constructor(e,n,r,o,a,i,c,s,l,u){super(e,n,r,o);h(this,"_begin");h(this,"beginCaptures");h(this,"_end");h(this,"endHasBackReferences");h(this,"endCaptures");h(this,"applyEndPatternLast");h(this,"hasMissingPatterns");h(this,"patterns");h(this,"_cachedCompiledPatterns");this._begin=new je(a,this.id),this.beginCaptures=i,this._end=new je(c||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=s,this.applyEndPatternLast=l||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,n){return this._end.resolveBackReferences(e,n)}collectPatterns(e,n){n.push(this._begin)}compile(e,n){return this._getCachedCompiledPatterns(e,n).compile(e)}compileAG(e,n,r,o){return this._getCachedCompiledPatterns(e,n).compileAG(e,r,o)}_getCachedCompiledPatterns(e,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new De;for(const r of this.patterns)e.getRule(r).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}},dt=class extends We{constructor(e,n,r,o,a,i,c,s,l){super(e,n,r,o);h(this,"_begin");h(this,"beginCaptures");h(this,"whileCaptures");h(this,"_while");h(this,"whileHasBackReferences");h(this,"hasMissingPatterns");h(this,"patterns");h(this,"_cachedCompiledPatterns");h(this,"_cachedCompiledWhilePatterns");this._begin=new je(a,this.id),this.beginCaptures=i,this.whileCaptures=s,this._while=new je(c,Ir),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,n){return this._while.resolveBackReferences(e,n)}collectPatterns(e,n){n.push(this._begin)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,r,o){return this._getCachedCompiledPatterns(e).compileAG(e,r,o)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new De;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,n){return this._getCachedCompiledWhilePatterns(e,n).compile(e)}compileWhileAG(e,n,r,o){return this._getCachedCompiledWhilePatterns(e,n).compileAG(e,r,o)}_getCachedCompiledWhilePatterns(e,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new De,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||""),this._cachedCompiledWhilePatterns}},Er=class T{static createCaptureRule(e,n,r,o,a){return e.registerRule(i=>new wa(n,i,r,o,a))}static getCompiledRuleId(e,n,r){return e.id||n.registerRule(o=>{if(e.id=o,e.match)return new va(e.$vscodeTextmateLocation,e.id,e.name,e.match,T._compileCaptures(e.captures,n,r));if(typeof e.begin>"u"){e.repository&&(r=br({},r,e.repository));let a=e.patterns;return typeof a>"u"&&e.include&&(a=[{include:e.include}]),new Rn(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,T._compilePatterns(a,n,r))}return e.while?new dt(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,T._compileCaptures(e.beginCaptures||e.captures,n,r),e.while,T._compileCaptures(e.whileCaptures||e.captures,n,r),T._compilePatterns(e.patterns,n,r)):new Kt(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,T._compileCaptures(e.beginCaptures||e.captures,n,r),e.end,T._compileCaptures(e.endCaptures||e.captures,n,r),e.applyEndPatternLast,T._compilePatterns(e.patterns,n,r))}),e.id}static _compileCaptures(e,n,r){let o=[];if(e){let a=0;for(const i in e){if(i==="$vscodeTextmateLocation")continue;const c=parseInt(i,10);c>a&&(a=c)}for(let i=0;i<=a;i++)o[i]=null;for(const i in e){if(i==="$vscodeTextmateLocation")continue;const c=parseInt(i,10);let s=0;e[i].patterns&&(s=T.getCompiledRuleId(e[i],n,r)),o[c]=T.createCaptureRule(n,e[i].$vscodeTextmateLocation,e[i].name,e[i].contentName,s)}}return o}static _compilePatterns(e,n,r){let o=[];if(e)for(let a=0,i=e.length;a<i;a++){const c=e[a];let s=-1;if(c.include){const l=Br(c.include);switch(l.kind){case 0:case 1:s=T.getCompiledRuleId(r[c.include],n,r);break;case 2:let u=r[l.ruleName];u&&(s=T.getCompiledRuleId(u,n,r));break;case 3:case 4:const d=l.scopeName,g=l.kind===4?l.ruleName:null,f=n.getExternalGrammar(d,r);if(f)if(g){let p=f.repository[g];p&&(s=T.getCompiledRuleId(p,n,f.repository))}else s=T.getCompiledRuleId(f.repository.$self,n,f.repository);break}}else s=T.getCompiledRuleId(c,n,r);if(s!==-1){const l=n.getRule(s);let u=!1;if((l instanceof Rn||l instanceof Kt||l instanceof dt)&&l.hasMissingPatterns&&l.patterns.length===0&&(u=!0),u)continue;o.push(s)}}return{patterns:o,hasMissingPatterns:(e?e.length:0)!==o.length}}},je=class Rr{constructor(e,n){h(this,"source");h(this,"ruleId");h(this,"hasAnchor");h(this,"hasBackReferences");h(this,"_anchorCache");if(e&&typeof e=="string"){const r=e.length;let o=0,a=[],i=!1;for(let c=0;c<r;c++)if(e.charAt(c)==="\\"&&c+1<r){const l=e.charAt(c+1);l==="z"?(a.push(e.substring(o,c)),a.push("$(?!\\n)(?<!\\n)"),o=c+2):(l==="A"||l==="G")&&(i=!0),c++}this.hasAnchor=i,o===0?this.source=e:(a.push(e.substring(o,r)),this.source=a.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=ya.test(this.source):this.hasBackReferences=!1}clone(){return new Rr(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(o=>e.substring(o.start,o.end));return En.lastIndex=0,this.source.replace(En,(o,a)=>vr(r[parseInt(a,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let e=[],n=[],r=[],o=[],a,i,c,s;for(a=0,i=this.source.length;a<i;a++)c=this.source.charAt(a),e[a]=c,n[a]=c,r[a]=c,o[a]=c,c==="\\"&&a+1<i&&(s=this.source.charAt(a+1),s==="A"?(e[a+1]="",n[a+1]="",r[a+1]="A",o[a+1]="A"):s==="G"?(e[a+1]="",n[a+1]="G",r[a+1]="",o[a+1]="G"):(e[a+1]=s,n[a+1]=s,r[a+1]=s,o[a+1]=s),a++);return{A0_G0:e.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:o.join("")}}resolveAnchors(e,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:e?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},De=class{constructor(){h(this,"_items");h(this,"_hasAnchors");h(this,"_cached");h(this,"_anchorCache");this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,e){this._items[t].source!==e&&(this._disposeCaches(),this._items[t].setSource(e))}compile(t){if(!this._cached){let e=this._items.map(n=>n.source);this._cached=new An(t,e,this._items.map(n=>n.ruleId))}return this._cached}compileAG(t,e,n){return this._hasAnchors?e?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,e,n){let r=this._items.map(o=>o.resolveAnchors(e,n));return new An(t,r,this._items.map(o=>o.ruleId))}},An=class{constructor(t,e,n){h(this,"scanner");this.regExps=e,this.rules=n,this.scanner=t.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let e=0,n=this.rules.length;e<n;e++)t.push(" - "+this.rules[e]+": "+this.regExps[e]);return t.join(`
|
|
10
|
+
`)}findNextMatchSync(t,e,n){const r=this.scanner.findNextMatchSync(t,e,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},Lt=class{constructor(t,e){this.languageId=t,this.tokenType=e}},Y,Ca=(Y=class{constructor(e,n){h(this,"_defaultAttributes");h(this,"_embeddedLanguagesMatcher");h(this,"_getBasicScopeAttributes",new Cr(e=>{const n=this._scopeToLanguage(e),r=this._toStandardTokenType(e);return new Lt(n,r)}));this._defaultAttributes=new Lt(e,8),this._embeddedLanguagesMatcher=new _a(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?Y._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const n=e.match(Y.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}},h(Y,"_NULL_SCOPE_METADATA",new Lt(0,0)),h(Y,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),Y),_a=class{constructor(t){h(this,"values");h(this,"scopesRegExp");if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const e=t.map(([n,r])=>vr(n));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const e=t.match(this.scopesRegExp);if(e)return this.values.get(e[1])}},Fn=class{constructor(t,e){this.stack=t,this.stoppedEarly=e}};function Ar(t,e,n,r,o,a,i,c){const s=e.content.length;let l=!1,u=-1;if(i){const f=Sa(t,e,n,r,o,a);o=f.stack,r=f.linePos,n=f.isFirstLine,u=f.anchorPosition}const d=Date.now();for(;!l;){if(c!==0&&Date.now()-d>c)return new Fn(o,!0);g()}return new Fn(o,!1);function g(){const f=xa(t,e,n,r,o,u);if(!f){a.produce(o,s),l=!0;return}const p=f.captureIndices,k=f.matchedRuleId,m=p&&p.length>0?p[0].end>r:!1;if(k===ka){const y=o.getRule(t);a.produce(o,p[0].start),o=o.withContentNameScopesList(o.nameScopesList),Pe(t,e,n,o,a,y.endCaptures,p),a.produce(o,p[0].end);const w=o;if(o=o.parent,u=w.getAnchorPos(),!m&&w.getEnterPos()===r){o=w,a.produce(o,s),l=!0;return}}else{const y=t.getRule(k);a.produce(o,p[0].start);const w=o,v=y.getName(e.content,p),_=o.contentNameScopesList.pushAttributed(v,t);if(o=o.push(k,r,u,p[0].end===s,null,_,_),y instanceof Kt){const x=y;Pe(t,e,n,o,a,x.beginCaptures,p),a.produce(o,p[0].end),u=p[0].end;const A=x.getContentName(e.content,p),B=_.pushAttributed(A,t);if(o=o.withContentNameScopesList(B),x.endHasBackReferences&&(o=o.withEndRule(x.getEndWithResolvedBackReferences(e.content,p))),!m&&w.hasSameRuleAs(o)){o=o.pop(),a.produce(o,s),l=!0;return}}else if(y instanceof dt){const x=y;Pe(t,e,n,o,a,x.beginCaptures,p),a.produce(o,p[0].end),u=p[0].end;const A=x.getContentName(e.content,p),B=_.pushAttributed(A,t);if(o=o.withContentNameScopesList(B),x.whileHasBackReferences&&(o=o.withEndRule(x.getWhileWithResolvedBackReferences(e.content,p))),!m&&w.hasSameRuleAs(o)){o=o.pop(),a.produce(o,s),l=!0;return}}else if(Pe(t,e,n,o,a,y.captures,p),a.produce(o,p[0].end),o=o.pop(),!m){o=o.safePop(),a.produce(o,s),l=!0;return}}p[0].end>r&&(r=p[0].end,n=!1)}}function Sa(t,e,n,r,o,a){let i=o.beginRuleCapturedEOL?0:-1;const c=[];for(let s=o;s;s=s.pop()){const l=s.getRule(t);l instanceof dt&&c.push({rule:l,stack:s})}for(let s=c.pop();s;s=c.pop()){const{ruleScanner:l,findOptions:u}=Ea(s.rule,t,s.stack.endRule,n,r===i),d=l.findNextMatchSync(e,r,u);if(d){if(d.ruleId!==Ir){o=s.stack.pop();break}d.captureIndices&&d.captureIndices.length&&(a.produce(s.stack,d.captureIndices[0].start),Pe(t,e,n,s.stack,a,s.rule.whileCaptures,d.captureIndices),a.produce(s.stack,d.captureIndices[0].end),i=d.captureIndices[0].end,d.captureIndices[0].end>r&&(r=d.captureIndices[0].end,n=!1))}else{o=s.stack.pop();break}}return{stack:o,linePos:r,anchorPosition:i,isFirstLine:n}}function xa(t,e,n,r,o,a){const i=Ba(t,e,n,r,o,a),c=t.getInjections();if(c.length===0)return i;const s=Ia(c,t,e,n,r,o,a);if(!s)return i;if(!i)return s;const l=i.captureIndices[0].start,u=s.captureIndices[0].start;return u<l||s.priorityMatch&&u===l?s:i}function Ba(t,e,n,r,o,a){const i=o.getRule(t),{ruleScanner:c,findOptions:s}=Fr(i,t,o.endRule,n,r===a),l=c.findNextMatchSync(e,r,s);return l?{captureIndices:l.captureIndices,matchedRuleId:l.ruleId}:null}function Ia(t,e,n,r,o,a,i){let c=Number.MAX_VALUE,s=null,l,u=0;const d=a.contentNameScopesList.getScopeNames();for(let g=0,f=t.length;g<f;g++){const p=t[g];if(!p.matcher(d))continue;const k=e.getRule(p.ruleId),{ruleScanner:m,findOptions:y}=Fr(k,e,null,r,o===i),w=m.findNextMatchSync(n,o,y);if(!w)continue;const v=w.captureIndices[0].start;if(!(v>=c)&&(c=v,s=w.captureIndices,l=w.ruleId,u=p.priority,c===o))break}return s?{priorityMatch:u===-1,captureIndices:s,matchedRuleId:l}:null}function Fr(t,e,n,r,o){return{ruleScanner:t.compileAG(e,n,r,o),findOptions:0}}function Ea(t,e,n,r,o){return{ruleScanner:t.compileWhileAG(e,n,r,o),findOptions:0}}function Pe(t,e,n,r,o,a,i){if(a.length===0)return;const c=e.content,s=Math.min(a.length,i.length),l=[],u=i[0].end;for(let d=0;d<s;d++){const g=a[d];if(g===null)continue;const f=i[d];if(f.length===0)continue;if(f.start>u)break;for(;l.length>0&&l[l.length-1].endPos<=f.start;)o.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop();if(l.length>0?o.produceFromScopes(l[l.length-1].scopes,f.start):o.produce(r,f.start),g.retokenizeCapturedWithRuleId){const k=g.getName(c,i),m=r.contentNameScopesList.pushAttributed(k,t),y=g.getContentName(c,i),w=m.pushAttributed(y,t),v=r.push(g.retokenizeCapturedWithRuleId,f.start,-1,!1,null,m,w),_=t.createOnigString(c.substring(0,f.end));Ar(t,_,n&&f.start===0,f.start,v,o,!1,0),xr(_);continue}const p=g.getName(c,i);if(p!==null){const m=(l.length>0?l[l.length-1].scopes:r.contentNameScopesList).pushAttributed(p,t);l.push(new Ra(m,f.end))}}for(;l.length>0;)o.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop()}var Ra=class{constructor(t,e){h(this,"scopes");h(this,"endPos");this.scopes=t,this.endPos=e}};function Aa(t,e,n,r,o,a,i,c){return new La(t,e,n,r,o,a,i,c)}function Ln(t,e,n,r,o){const a=lt(e,gt),i=Er.getCompiledRuleId(n,r,o.repository);for(const c of a)t.push({debugSelector:e,matcher:c.matcher,ruleId:i,grammar:o,priority:c.priority})}function gt(t,e){if(e.length<t.length)return!1;let n=0;return t.every(r=>{for(let o=n;o<e.length;o++)if(Fa(e[o],r))return n=o+1,!0;return!1})}function Fa(t,e){if(!t)return!1;if(t===e)return!0;const n=e.length;return t.length>n&&t.substr(0,n)===e&&t[n]==="."}var La=class{constructor(t,e,n,r,o,a,i,c){h(this,"_rootId");h(this,"_lastRuleId");h(this,"_ruleId2desc");h(this,"_includedGrammars");h(this,"_grammarRepository");h(this,"_grammar");h(this,"_injections");h(this,"_basicScopeAttributesProvider");h(this,"_tokenTypeMatchers");if(this._rootScopeName=t,this.balancedBracketSelectors=a,this._onigLib=c,this._basicScopeAttributesProvider=new Ca(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=i,this._grammar=Nn(e,null),this._injections=null,this._tokenTypeMatchers=[],o)for(const s of Object.keys(o)){const l=lt(s,gt);for(const u of l)this._tokenTypeMatchers.push({matcher:u.matcher,type:o[s]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:o=>o===this._rootScopeName?this._grammar:this.getExternalGrammar(o),injections:o=>this._grammarRepository.injections(o)},e=[],n=this._rootScopeName,r=t.lookup(n);if(r){const o=r.injections;if(o)for(let i in o)Ln(e,i,o[i],this,r);const a=this._grammarRepository.injections(n);a&&a.forEach(i=>{const c=this.getExternalGrammar(i);if(c){const s=c.injectionSelector;s&&Ln(e,s,c,this,c)}})}return e.sort((o,a)=>o.priority-a.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const e=++this._lastRuleId,n=t(e);return this._ruleId2desc[e]=n,n}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,e){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const n=this._grammarRepository.lookup(t);if(n)return this._includedGrammars[t]=Nn(n,e&&e.$base),this._includedGrammars[t]}}tokenizeLine(t,e,n=0){const r=this._tokenize(t,e,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(t,e,n=0){const r=this._tokenize(t,e,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(t,e,n,r){this._rootId===-1&&(this._rootId=Er.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let o;if(!e||e===Xt.NULL){o=!0;const l=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),d=Ee.set(0,l.languageId,l.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),g=this.getRule(this._rootId).getName(null,null);let f;g?f=$e.createRootAndLookUpScopeName(g,d,this):f=$e.createRoot("unknown",d),e=new Xt(null,this._rootId,-1,-1,!1,null,f,f)}else o=!1,e.reset();t=t+`
|
|
11
|
+
`;const a=this.createOnigString(t),i=a.content.length,c=new Ma(n,t,this._tokenTypeMatchers,this.balancedBracketSelectors),s=Ar(this,a,o,0,e,c,!0,r);return xr(a),{lineLength:i,lineTokens:c,ruleStack:s.stack,stoppedEarly:s.stoppedEarly}}};function Nn(t,e){return t=Jo(t),t.repository=t.repository||{},t.repository.$self={$vscodeTextmateLocation:t.$vscodeTextmateLocation,patterns:t.patterns,name:t.scopeName},t.repository.$base=e||t.repository.$self,t}var $e=class V{constructor(e,n,r){this.parent=e,this.scopePath=n,this.tokenAttributes=r}static fromExtension(e,n){let r=e,o=(e==null?void 0:e.scopePath)??null;for(const a of n)o=Ft.push(o,a.scopeNames),r=new V(r,o,a.encodedTokenAttributes);return r}static createRoot(e,n){return new V(null,new Ft(null,e),n)}static createRootAndLookUpScopeName(e,n,r){const o=r.getMetadataForScope(e),a=new Ft(null,e),i=r.themeProvider.themeMatch(a),c=V.mergeAttributes(n,o,i);return new V(null,a,c)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return V.equals(this,e)}static equals(e,n){do{if(e===n||!e&&!n)return!0;if(!e||!n||e.scopeName!==n.scopeName||e.tokenAttributes!==n.tokenAttributes)return!1;e=e.parent,n=n.parent}while(!0)}static mergeAttributes(e,n,r){let o=-1,a=0,i=0;return r!==null&&(o=r.fontStyle,a=r.foregroundId,i=r.backgroundId),Ee.set(e,n.languageId,n.tokenType,null,o,a,i)}pushAttributed(e,n){if(e===null)return this;if(e.indexOf(" ")===-1)return V._pushAttributed(this,e,n);const r=e.split(/ /g);let o=this;for(const a of r)o=V._pushAttributed(o,a,n);return o}static _pushAttributed(e,n,r){const o=r.getMetadataForScope(n),a=e.scopePath.push(n),i=r.themeProvider.themeMatch(a),c=V.mergeAttributes(e.tokenAttributes,o,i);return new V(e,a,c)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){var o;const n=[];let r=this;for(;r&&r!==e;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((o=r.parent)==null?void 0:o.scopePath)??null)}),r=r.parent;return r===e?n.reverse():void 0}},H,Xt=(H=class{constructor(e,n,r,o,a,i,c,s){h(this,"_stackElementBrand");h(this,"_enterPos");h(this,"_anchorPos");h(this,"depth");this.parent=e,this.ruleId=n,this.beginRuleCapturedEOL=a,this.endRule=i,this.nameScopesList=c,this.contentNameScopesList=s,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}equals(e){return e===null?!1:H._equals(this,e)}static _equals(e,n){return e===n?!0:this._structuralEquals(e,n)?$e.equals(e.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(e,n){do{if(e===n||!e&&!n)return!0;if(!e||!n||e.depth!==n.depth||e.ruleId!==n.ruleId||e.endRule!==n.endRule)return!1;e=e.parent,n=n.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){H._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,n,r,o,a,i,c){return new H(this,e,n,r,o,a,i,c)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,n){var r,o;return this.parent&&(n=this.parent._writeString(e,n)),e[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(o=this.contentNameScopesList)==null?void 0:o.toString()})`,n}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new H(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let n=this;for(;n&&n._enterPos===e._enterPos;){if(n.ruleId===e.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){var e,n,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((e=this.parent)==null?void 0:e.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(e,n){const r=$e.fromExtension((e==null?void 0:e.nameScopesList)??null,n.nameScopesList);return new H(e,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,$e.fromExtension(r,n.contentNameScopesList))}},h(H,"NULL",new H(null,0,0,0,!1,null,null,null)),H),Na=class{constructor(t,e){h(this,"balancedBracketScopes");h(this,"unbalancedBracketScopes");h(this,"allowAny",!1);this.balancedBracketScopes=t.flatMap(n=>n==="*"?(this.allowAny=!0,[]):lt(n,gt).map(r=>r.matcher)),this.unbalancedBracketScopes=e.flatMap(n=>lt(n,gt).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const e of this.unbalancedBracketScopes)if(e(t))return!1;for(const e of this.balancedBracketScopes)if(e(t))return!0;return this.allowAny}},Ma=class{constructor(t,e,n,r){h(this,"_emitBinaryTokens");h(this,"_lineText");h(this,"_tokens");h(this,"_binaryTokens");h(this,"_lastTokenEndIndex");h(this,"_tokenTypeOverrides");this.balancedBracketSelectors=r,this._emitBinaryTokens=t,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,e){this.produceFromScopes(t.contentNameScopesList,e)}produceFromScopes(t,e){var r;if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let o=(t==null?void 0:t.tokenAttributes)??0,a=!1;if((r=this.balancedBracketSelectors)!=null&&r.matchesAlways&&(a=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=(t==null?void 0:t.getScopeNames())??[];for(const c of this._tokenTypeOverrides)c.matcher(i)&&(o=Ee.set(o,0,c.type,null,-1,0,0));this.balancedBracketSelectors&&(a=this.balancedBracketSelectors.match(i))}if(a&&(o=Ee.set(o,0,8,a,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===o){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(o),this._lastTokenEndIndex=e;return}const n=(t==null?void 0:t.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:n}),this._lastTokenEndIndex=e}getResult(t,e){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===e-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,e){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===e-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,e),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,o=this._binaryTokens.length;r<o;r++)n[r]=this._binaryTokens[r];return n}},Ta=class{constructor(t,e){h(this,"_grammars",new Map);h(this,"_rawGrammars",new Map);h(this,"_injectionGrammars",new Map);h(this,"_theme");this._onigLib=e,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,e){this._rawGrammars.set(t.scopeName,t),e&&this._injectionGrammars.set(t.scopeName,e)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}grammarForScopeName(t,e,n,r,o){if(!this._grammars.has(t)){let a=this._rawGrammars.get(t);if(!a)return null;this._grammars.set(t,Aa(t,a,e,n,r,o,this,this._onigLib))}return this._grammars.get(t)}},Pa=class{constructor(e){h(this,"_options");h(this,"_syncRegistry");h(this,"_ensureGrammarCache");this._options=e,this._syncRegistry=new Ta(ct.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,n){this._syncRegistry.setTheme(ct.createFromRawTheme(e,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,n,r){return this.loadGrammarWithConfiguration(e,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(e,n,r){return this._loadGrammar(e,n,r.embeddedLanguages,r.tokenTypes,new Na(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,n,r,o,a){const i=new da(this._syncRegistry,e);for(;i.Q.length>0;)i.Q.map(c=>this._loadSingleGrammar(c.scopeName)),i.processQueue();return this._grammarForScopeName(e,n,r,o,a)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const n=this._options.loadGrammar(e);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(e,n=[],r=0,o=null){return this._syncRegistry.addGrammar(e,n),this._grammarForScopeName(e.scopeName,r,o)}_grammarForScopeName(e,n=0,r=null,o=null,a=null){return this._syncRegistry.grammarForScopeName(e,n,r,o,a)}},Qt=Xt.NULL;const $a=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class ze{constructor(e,n,r){this.normal=n,this.property=e,r&&(this.space=r)}}ze.prototype.normal={};ze.prototype.property={};ze.prototype.space=void 0;function Lr(t,e){const n={},r={};for(const o of t)Object.assign(n,o.property),Object.assign(r,o.normal);return new ze(n,r,e)}function Jt(t){return t.toLowerCase()}class G{constructor(e,n){this.attribute=n,this.property=e}}G.prototype.attribute="";G.prototype.booleanish=!1;G.prototype.boolean=!1;G.prototype.commaOrSpaceSeparated=!1;G.prototype.commaSeparated=!1;G.prototype.defined=!1;G.prototype.mustUseProperty=!1;G.prototype.number=!1;G.prototype.overloadedBoolean=!1;G.prototype.property="";G.prototype.spaceSeparated=!1;G.prototype.space=void 0;let Oa=0;const S=ye(),R=ye(),Yt=ye(),b=ye(),I=ye(),Be=ye(),j=ye();function ye(){return 2**++Oa}const Zt=Object.freeze(Object.defineProperty({__proto__:null,boolean:S,booleanish:R,commaOrSpaceSeparated:j,commaSeparated:Be,number:b,overloadedBoolean:Yt,spaceSeparated:I},Symbol.toStringTag,{value:"Module"})),Nt=Object.keys(Zt);class un extends G{constructor(e,n,r,o){let a=-1;if(super(e,n),Mn(this,"space",o),typeof r=="number")for(;++a<Nt.length;){const i=Nt[a];Mn(this,Nt[a],(r&Zt[i])===Zt[i])}}}un.prototype.defined=!0;function Mn(t,e,n){n&&(t[e]=n)}function Re(t){const e={},n={};for(const[r,o]of Object.entries(t.properties)){const a=new un(r,t.transform(t.attributes||{},r),o,t.space);t.mustUseProperty&&t.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),e[r]=a,n[Jt(r)]=r,n[Jt(a.attribute)]=r}return new ze(e,n,t.space)}const Nr=Re({properties:{ariaActiveDescendant:null,ariaAtomic:R,ariaAutoComplete:null,ariaBusy:R,ariaChecked:R,ariaColCount:b,ariaColIndex:b,ariaColSpan:b,ariaControls:I,ariaCurrent:null,ariaDescribedBy:I,ariaDetails:null,ariaDisabled:R,ariaDropEffect:I,ariaErrorMessage:null,ariaExpanded:R,ariaFlowTo:I,ariaGrabbed:R,ariaHasPopup:null,ariaHidden:R,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:I,ariaLevel:b,ariaLive:null,ariaModal:R,ariaMultiLine:R,ariaMultiSelectable:R,ariaOrientation:null,ariaOwns:I,ariaPlaceholder:null,ariaPosInSet:b,ariaPressed:R,ariaReadOnly:R,ariaRelevant:null,ariaRequired:R,ariaRoleDescription:I,ariaRowCount:b,ariaRowIndex:b,ariaRowSpan:b,ariaSelected:R,ariaSetSize:b,ariaSort:null,ariaValueMax:b,ariaValueMin:b,ariaValueNow:b,ariaValueText:null,role:null},transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function Mr(t,e){return e in t?t[e]:e}function Tr(t,e){return Mr(t,e.toLowerCase())}const Ga=Re({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Be,acceptCharset:I,accessKey:I,action:null,allow:null,allowFullScreen:S,allowPaymentRequest:S,allowUserMedia:S,alt:null,as:null,async:S,autoCapitalize:null,autoComplete:I,autoFocus:S,autoPlay:S,blocking:I,capture:null,charSet:null,checked:S,cite:null,className:I,cols:b,colSpan:null,content:null,contentEditable:R,controls:S,controlsList:I,coords:b|Be,crossOrigin:null,data:null,dateTime:null,decoding:null,default:S,defer:S,dir:null,dirName:null,disabled:S,download:Yt,draggable:R,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:S,formTarget:null,headers:I,height:b,hidden:Yt,high:b,href:null,hrefLang:null,htmlFor:I,httpEquiv:I,id:null,imageSizes:null,imageSrcSet:null,inert:S,inputMode:null,integrity:null,is:null,isMap:S,itemId:null,itemProp:I,itemRef:I,itemScope:S,itemType:I,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:S,low:b,manifest:null,max:null,maxLength:b,media:null,method:null,min:null,minLength:b,multiple:S,muted:S,name:null,nonce:null,noModule:S,noValidate:S,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:S,optimum:b,pattern:null,ping:I,placeholder:null,playsInline:S,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:S,referrerPolicy:null,rel:I,required:S,reversed:S,rows:b,rowSpan:b,sandbox:I,scope:null,scoped:S,seamless:S,selected:S,shadowRootClonable:S,shadowRootDelegatesFocus:S,shadowRootMode:null,shape:null,size:b,sizes:null,slot:null,span:b,spellCheck:R,src:null,srcDoc:null,srcLang:null,srcSet:null,start:b,step:null,style:null,tabIndex:b,target:null,title:null,translate:null,type:null,typeMustMatch:S,useMap:null,value:R,width:b,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:I,axis:null,background:null,bgColor:null,border:b,borderColor:null,bottomMargin:b,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:S,declare:S,event:null,face:null,frame:null,frameBorder:null,hSpace:b,leftMargin:b,link:null,longDesc:null,lowSrc:null,marginHeight:b,marginWidth:b,noResize:S,noHref:S,noShade:S,noWrap:S,object:null,profile:null,prompt:null,rev:null,rightMargin:b,rules:null,scheme:null,scrolling:R,standby:null,summary:null,text:null,topMargin:b,valueType:null,version:null,vAlign:null,vLink:null,vSpace:b,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:S,disableRemotePlayback:S,prefix:null,property:null,results:b,security:null,unselectable:null},space:"html",transform:Tr}),ja=Re({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:j,accentHeight:b,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:b,amplitude:b,arabicForm:null,ascent:b,attributeName:null,attributeType:null,azimuth:b,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:b,by:null,calcMode:null,capHeight:b,className:I,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:b,diffuseConstant:b,direction:null,display:null,dur:null,divisor:b,dominantBaseline:null,download:S,dx:null,dy:null,edgeMode:null,editable:null,elevation:b,enableBackground:null,end:null,event:null,exponent:b,externalResourcesRequired:null,fill:null,fillOpacity:b,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Be,g2:Be,glyphName:Be,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:b,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:b,horizOriginX:b,horizOriginY:b,id:null,ideographic:b,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:b,k:b,k1:b,k2:b,k3:b,k4:b,kernelMatrix:j,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:b,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:b,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:b,overlineThickness:b,paintOrder:null,panose1:null,path:null,pathLength:b,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:I,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:b,pointsAtY:b,pointsAtZ:b,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:j,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:j,rev:j,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:j,requiredFeatures:j,requiredFonts:j,requiredFormats:j,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:b,specularExponent:b,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:b,strikethroughThickness:b,string:null,stroke:null,strokeDashArray:j,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:b,strokeOpacity:b,strokeWidth:null,style:null,surfaceScale:b,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:j,tabIndex:b,tableValues:null,target:null,targetX:b,targetY:b,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:j,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:b,underlineThickness:b,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:b,values:null,vAlphabetic:b,vMathematical:b,vectorEffect:null,vHanging:b,vIdeographic:b,version:null,vertAdvY:b,vertOriginX:b,vertOriginY:b,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:b,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Mr}),Pr=Re({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()}}),$r=Re({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Tr}),Or=Re({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()}}),Da=/[A-Z]/g,Tn=/-[a-z]/g,Ha=/^data[-\w.:]+$/i;function qa(t,e){const n=Jt(e);let r=e,o=G;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Ha.test(e)){if(e.charAt(4)==="-"){const a=e.slice(5).replace(Tn,Wa);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=e.slice(4);if(!Tn.test(a)){let i=a.replace(Da,Ua);i.charAt(0)!=="-"&&(i="-"+i),e="data"+i}}o=un}return new o(r,e)}function Ua(t){return"-"+t.toLowerCase()}function Wa(t){return t.charAt(1).toUpperCase()}const za=Lr([Nr,Ga,Pr,$r,Or],"html"),Gr=Lr([Nr,ja,Pr,$r,Or],"svg"),Pn={}.hasOwnProperty;function Va(t,e){const n=e||{};function r(o,...a){let i=r.invalid;const c=r.handlers;if(o&&Pn.call(o,t)){const s=String(o[t]);i=Pn.call(c,s)?c[s]:r.unknown}if(i)return i.call(this,o,...a)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const Ka=/["&'<>`]/g,Xa=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Qa=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Ja=/[|\\{}()[\]^$+*?.]/g,$n=new WeakMap;function Ya(t,e){if(t=t.replace(e.subset?Za(e.subset):Ka,r),e.subset||e.escapeOnly)return t;return t.replace(Xa,n).replace(Qa,r);function n(o,a,i){return e.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,i.charCodeAt(a+2),e)}function r(o,a,i){return e.format(o.charCodeAt(0),i.charCodeAt(a+1),e)}}function Za(t){let e=$n.get(t);return e||(e=ei(t),$n.set(t,e)),e}function ei(t){const e=[];let n=-1;for(;++n<t.length;)e.push(t[n].replace(Ja,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const ti=/[\dA-Fa-f]/;function ni(t,e,n){const r="&#x"+t.toString(16).toUpperCase();return n&&e&&!ti.test(String.fromCharCode(e))?r:r+";"}const ri=/\d/;function oi(t,e,n){const r="&#"+String(t);return n&&e&&!ri.test(String.fromCharCode(e))?r:r+";"}const ai=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Mt={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},ii=["cent","copy","divide","gt","lt","not","para","times"],jr={}.hasOwnProperty,en={};let Ye;for(Ye in Mt)jr.call(Mt,Ye)&&(en[Mt[Ye]]=Ye);const si=/[^\dA-Za-z]/;function ci(t,e,n,r){const o=String.fromCharCode(t);if(jr.call(en,o)){const a=en[o],i="&"+a;return n&&ai.includes(a)&&!ii.includes(a)&&(!r||e&&e!==61&&si.test(String.fromCharCode(e)))?i:i+";"}return""}function li(t,e,n){let r=ni(t,e,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=ci(t,e,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const a=oi(t,e,n.omitOptionalSemicolons);a.length<r.length&&(r=a)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function Ie(t,e){return Ya(t,Object.assign({format:li},e))}const ui=/^>|^->|<!--|-->|--!>|<!-$/g,di=[">"],gi=["<",">"];function fi(t,e,n,r){return r.settings.bogusComments?"<?"+Ie(t.value,Object.assign({},r.settings.characterReferences,{subset:di}))+">":"<!--"+t.value.replace(ui,o)+"-->";function o(a){return Ie(a,Object.assign({},r.settings.characterReferences,{subset:gi}))}}function pi(t,e,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function On(t,e){const n=String(t);if(typeof e!="string")throw new TypeError("Expected character");let r=0,o=n.indexOf(e);for(;o!==-1;)r++,o=n.indexOf(e,o+e.length);return r}function hi(t,e){const n=e||{};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function mi(t){return t.join(" ").trim()}const bi=/[ \t\n\f\r]/g;function dn(t){return typeof t=="object"?t.type==="text"?Gn(t.value):!1:Gn(t)}function Gn(t){return t.replace(bi,"")===""}const L=Hr(1),Dr=Hr(-1),yi=[];function Hr(t){return e;function e(n,r,o){const a=n?n.children:yi;let i=(r||0)+t,c=a[i];if(!o)for(;c&&dn(c);)i+=t,c=a[i];return c}}const ki={}.hasOwnProperty;function qr(t){return e;function e(n,r,o){return ki.call(t,n.tagName)&&t[n.tagName](n,r,o)}}const gn=qr({body:vi,caption:Tt,colgroup:Tt,dd:xi,dt:Si,head:Tt,html:wi,li:_i,optgroup:Bi,option:Ii,p:Ci,rp:jn,rt:jn,tbody:Ri,td:Dn,tfoot:Ai,th:Dn,thead:Ei,tr:Fi});function Tt(t,e,n){const r=L(n,e,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&dn(r.value.charAt(0)))}function wi(t,e,n){const r=L(n,e);return!r||r.type!=="comment"}function vi(t,e,n){const r=L(n,e);return!r||r.type!=="comment"}function Ci(t,e,n){const r=L(n,e);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function _i(t,e,n){const r=L(n,e);return!r||r.type==="element"&&r.tagName==="li"}function Si(t,e,n){const r=L(n,e);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function xi(t,e,n){const r=L(n,e);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function jn(t,e,n){const r=L(n,e);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Bi(t,e,n){const r=L(n,e);return!r||r.type==="element"&&r.tagName==="optgroup"}function Ii(t,e,n){const r=L(n,e);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Ei(t,e,n){const r=L(n,e);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function Ri(t,e,n){const r=L(n,e);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Ai(t,e,n){return!L(n,e)}function Fi(t,e,n){const r=L(n,e);return!r||r.type==="element"&&r.tagName==="tr"}function Dn(t,e,n){const r=L(n,e);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const Li=qr({body:Ti,colgroup:Pi,head:Mi,html:Ni,tbody:$i});function Ni(t){const e=L(t,-1);return!e||e.type!=="comment"}function Mi(t){const e=new Set;for(const r of t.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(e.has(r.tagName))return!1;e.add(r.tagName)}const n=t.children[0];return!n||n.type==="element"}function Ti(t){const e=L(t,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&dn(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function Pi(t,e,n){const r=Dr(n,e),o=L(t,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&gn(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function $i(t,e,n){const r=Dr(n,e),o=L(t,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&gn(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const Ze={name:[[`
|
|
12
|
+
\f\r &/=>`.split(""),`
|
|
13
|
+
\f\r "&'/=>\``.split("")],[`\0
|
|
14
|
+
\f\r "&'/<=>`.split(""),`\0
|
|
15
|
+
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
16
|
+
\f\r &>`.split(""),`\0
|
|
17
|
+
\f\r "&'<=>\``.split("")],[`\0
|
|
18
|
+
\f\r "&'<=>\``.split(""),`\0
|
|
19
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Oi(t,e,n,r){const o=r.schema,a=o.space==="svg"?!1:r.settings.omitOptionalTags;let i=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(t.tagName.toLowerCase());const c=[];let s;o.space==="html"&&t.tagName==="svg"&&(r.schema=Gr);const l=Gi(r,t.properties),u=r.all(o.space==="html"&&t.tagName==="template"?t.content:t);return r.schema=o,u&&(i=!1),(l||!a||!Li(t,e,n))&&(c.push("<",t.tagName,l?" "+l:""),i&&(o.space==="svg"||r.settings.closeSelfClosing)&&(s=l.charAt(l.length-1),(!r.settings.tightSelfClosing||s==="/"||s&&s!=='"'&&s!=="'")&&c.push(" "),c.push("/")),c.push(">")),c.push(u),!i&&(!a||!gn(t,e,n))&&c.push("</"+t.tagName+">"),c.join("")}function Gi(t,e){const n=[];let r=-1,o;if(e){for(o in e)if(e[o]!==null&&e[o]!==void 0){const a=ji(t,o,e[o]);a&&n.push(a)}}for(;++r<n.length;){const a=t.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&a!=='"'&&a!=="'"&&(n[r]+=" ")}return n.join("")}function ji(t,e,n){const r=qa(t.schema,e),o=t.settings.allowParseErrors&&t.schema.space==="html"?0:1,a=t.settings.allowDangerousCharacters?0:1;let i=t.quote,c;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const s=Ie(r.attribute,Object.assign({},t.settings.characterReferences,{subset:Ze.name[o][a]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?hi:mi)(n,{padLeft:!t.settings.tightCommaSeparatedLists}):String(n),t.settings.collapseEmptyAttributes&&!n)?s:(t.settings.preferUnquoted&&(c=Ie(n,Object.assign({},t.settings.characterReferences,{attribute:!0,subset:Ze.unquoted[o][a]}))),c!==n&&(t.settings.quoteSmart&&On(n,i)>On(n,t.alternative)&&(i=t.alternative),c=i+Ie(n,Object.assign({},t.settings.characterReferences,{subset:(i==="'"?Ze.single:Ze.double)[o][a],attribute:!0}))+i),s+(c&&"="+c))}const Di=["<","&"];function Ur(t,e,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?t.value:Ie(t.value,Object.assign({},r.settings.characterReferences,{subset:Di}))}function Hi(t,e,n,r){return r.settings.allowDangerousHtml?t.value:Ur(t,e,n,r)}function qi(t,e,n,r){return r.all(t)}const Ui=Va("type",{invalid:Wi,unknown:zi,handlers:{comment:fi,doctype:pi,element:Oi,raw:Hi,root:qi,text:Ur}});function Wi(t){throw new Error("Expected node, not `"+t+"`")}function zi(t){const e=t;throw new Error("Cannot compile unknown node `"+e.type+"`")}const Vi={},Ki={},Xi=[];function Qi(t,e){const n=e||Vi,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Ji,all:Yi,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||$a,characterReferences:n.characterReferences||Ki,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Gr:za,quote:r,alternative:o}.one(Array.isArray(t)?{type:"root",children:t}:t,void 0,void 0)}function Ji(t,e,n){return Ui(t,e,n,this)}function Yi(t){const e=[],n=t&&t.children||Xi;let r=-1;for(;++r<n.length;)e[r]=this.one(n[r],r,t);return e.join("")}function ft(t,e){const n=typeof t=="string"?{}:{...t.colorReplacements},r=typeof t=="string"?t:t.name;for(const[o,a]of Object.entries((e==null?void 0:e.colorReplacements)||{}))typeof a=="string"?n[o]=a:o===r&&Object.assign(n,a);return n}function ge(t,e){return t&&((e==null?void 0:e[t==null?void 0:t.toLowerCase()])||t)}function Zi(t){return Array.isArray(t)?t:[t]}async function Wr(t){return Promise.resolve(typeof t=="function"?t():t).then(e=>e.default||e)}function fn(t){return!t||["plaintext","txt","text","plain"].includes(t)}function es(t){return t==="ansi"||fn(t)}function pn(t){return t==="none"}function ts(t){return pn(t)}function zr(t,e){var r;if(!e)return t;t.properties||(t.properties={}),(r=t.properties).class||(r.class=[]),typeof t.properties.class=="string"&&(t.properties.class=t.properties.class.split(/\s+/g)),Array.isArray(t.properties.class)||(t.properties.class=[]);const n=Array.isArray(e)?e:e.split(/\s+/g);for(const o of n)o&&!t.properties.class.includes(o)&&t.properties.class.push(o);return t}function wt(t,e=!1){var a;const n=t.split(/(\r?\n)/g);let r=0;const o=[];for(let i=0;i<n.length;i+=2){const c=e?n[i]+(n[i+1]||""):n[i];o.push([c,r]),r+=n[i].length,r+=((a=n[i+1])==null?void 0:a.length)||0}return o}function ns(t){const e=wt(t,!0).map(([o])=>o);function n(o){if(o===t.length)return{line:e.length-1,character:e[e.length-1].length};let a=o,i=0;for(const c of e){if(a<c.length)break;a-=c.length,i++}return{line:i,character:a}}function r(o,a){let i=0;for(let c=0;c<o;c++)i+=e[c].length;return i+=a,i}return{lines:e,indexToPos:n,posToIndex:r}}function rs(t,e){let n=0;const r=[];for(const o of e)o>n&&r.push({...t,content:t.content.slice(n,o),offset:t.offset+n}),n=o;return n<t.content.length&&r.push({...t,content:t.content.slice(n),offset:t.offset+n}),r}function os(t,e){const n=Array.from(e instanceof Set?e:new Set(e)).sort((r,o)=>r-o);return n.length?t.map(r=>r.flatMap(o=>{const a=n.filter(i=>o.offset<i&&i<o.offset+o.content.length).map(i=>i-o.offset).sort((i,c)=>i-c);return a.length?rs(o,a):o})):t}function as(t,e,n,r){const o={content:t.content,explanation:t.explanation,offset:t.offset},a=e.map(s=>pt(t.variants[s])),i=new Set(a.flatMap(s=>Object.keys(s))),c={};return a.forEach((s,l)=>{for(const u of i){const d=s[u]||"inherit";if(l===0&&r)c[u]=d;else{const g=u==="color"?"":u==="background-color"?"-bg":`-${u}`,f=n+e[l]+(u==="color"?"":g);c[f]=d}}}),o.htmlStyle=c,o}function pt(t){const e={};if(t.color&&(e.color=t.color),t.bgColor&&(e["background-color"]=t.bgColor),t.fontStyle){t.fontStyle&$.Italic&&(e["font-style"]="italic"),t.fontStyle&$.Bold&&(e["font-weight"]="bold");const n=[];t.fontStyle&$.Underline&&n.push("underline"),t.fontStyle&$.Strikethrough&&n.push("line-through"),n.length&&(e["text-decoration"]=n.join(" "))}return e}function tn(t){return typeof t=="string"?t:Object.entries(t).map(([e,n])=>`${e}:${n}`).join(";")}const Vr=new WeakMap;function vt(t,e){Vr.set(t,e)}function He(t){return Vr.get(t)}class Ae{constructor(...e){h(this,"_stacks",{});h(this,"lang");if(e.length===2){const[n,r]=e;this.lang=r,this._stacks=n}else{const[n,r,o]=e;this.lang=r,this._stacks={[o]:n}}}get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(e,n){return new Ae(Object.fromEntries(Zi(n).map(r=>[r,Qt])),e)}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){return is(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function is(t){const e=[],n=new Set;function r(o){var i;if(n.has(o))return;n.add(o);const a=(i=o==null?void 0:o.nameScopesList)==null?void 0:i.scopeName;a&&e.push(a),o.parent&&r(o.parent)}return r(t),e}function ss(t,e){if(!(t instanceof Ae))throw new P("Invalid grammar state");return t.getInternalStack(e)}function cs(){const t=new WeakMap;function e(n){if(!t.has(n.meta)){let r=function(i){if(typeof i=="number"){if(i<0||i>n.source.length)throw new P(`Invalid decoration offset: ${i}. Code length: ${n.source.length}`);return{...o.indexToPos(i),offset:i}}else{const c=o.lines[i.line];if(c===void 0)throw new P(`Invalid decoration position ${JSON.stringify(i)}. Lines length: ${o.lines.length}`);if(i.character<0||i.character>c.length)throw new P(`Invalid decoration position ${JSON.stringify(i)}. Line ${i.line} length: ${c.length}`);return{...i,offset:o.posToIndex(i.line,i.character)}}};const o=ns(n.source),a=(n.options.decorations||[]).map(i=>({...i,start:r(i.start),end:r(i.end)}));ls(a),t.set(n.meta,{decorations:a,converter:o,source:n.source})}return t.get(n.meta)}return{name:"shiki:decorations",tokens(n){var i;if(!((i=this.options.decorations)!=null&&i.length))return;const o=e(this).decorations.flatMap(c=>[c.start.offset,c.end.offset]);return os(n,o)},code(n){var u;if(!((u=this.options.decorations)!=null&&u.length))return;const r=e(this),o=Array.from(n.children).filter(d=>d.type==="element"&&d.tagName==="span");if(o.length!==r.converter.lines.length)throw new P(`Number of lines in code element (${o.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function a(d,g,f,p){const k=o[d];let m="",y=-1,w=-1;if(g===0&&(y=0),f===0&&(w=0),f===Number.POSITIVE_INFINITY&&(w=k.children.length),y===-1||w===-1)for(let _=0;_<k.children.length;_++)m+=Kr(k.children[_]),y===-1&&m.length===g&&(y=_+1),w===-1&&m.length===f&&(w=_+1);if(y===-1)throw new P(`Failed to find start index for decoration ${JSON.stringify(p.start)}`);if(w===-1)throw new P(`Failed to find end index for decoration ${JSON.stringify(p.end)}`);const v=k.children.slice(y,w);if(!p.alwaysWrap&&v.length===k.children.length)c(k,p,"line");else if(!p.alwaysWrap&&v.length===1&&v[0].type==="element")c(v[0],p,"token");else{const _={type:"element",tagName:"span",properties:{},children:v};c(_,p,"wrapper"),k.children.splice(y,v.length,_)}}function i(d,g){o[d]=c(o[d],g,"line")}function c(d,g,f){var m;const p=g.properties||{},k=g.transform||(y=>y);return d.tagName=g.tagName||"span",d.properties={...d.properties,...p,class:d.properties.class},(m=g.properties)!=null&&m.class&&zr(d,g.properties.class),d=k(d,f)||d,d}const s=[],l=r.decorations.sort((d,g)=>g.start.offset-d.start.offset||d.end.offset-g.end.offset);for(const d of l){const{start:g,end:f}=d;if(g.line===f.line)a(g.line,g.character,f.character,d);else if(g.line<f.line){a(g.line,g.character,Number.POSITIVE_INFINITY,d);for(let p=g.line+1;p<f.line;p++)s.unshift(()=>i(p,d));a(f.line,0,f.character,d)}}s.forEach(d=>d())}}}function ls(t){for(let e=0;e<t.length;e++){const n=t[e];if(n.start.offset>n.end.offset)throw new P(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=e+1;r<t.length;r++){const o=t[r],a=n.start.offset<=o.start.offset&&o.start.offset<n.end.offset,i=n.start.offset<o.end.offset&&o.end.offset<=n.end.offset,c=o.start.offset<=n.start.offset&&n.start.offset<o.end.offset,s=o.start.offset<n.end.offset&&n.end.offset<=o.end.offset;if(a||i||c||s){if(a&&i||c&&s)continue;throw new P(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(o.start)} intersect.`)}}}}function Kr(t){return t.type==="text"?t.value:t.type==="element"?t.children.map(Kr).join(""):""}const us=[cs()];function ht(t){return[...t.transformers||[],...us]}var fe=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Pt={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function ds(t,e){const n=t.indexOf("\x1B",e);if(n!==-1&&t[n+1]==="["){const r=t.indexOf("m",n);if(r!==-1)return{sequence:t.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:t.length}}function Hn(t){const e=t.shift();if(e==="2"){const n=t.splice(0,3).map(r=>Number.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(e==="5"){const n=t.shift();if(n)return{type:"table",index:Number(n)}}}function gs(t){const e=[];for(;t.length>0;){const n=t.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)e.push({type:"resetAll"});else if(r<=9)Pt[r]&&e.push({type:"setDecoration",value:Pt[r]});else if(r<=29){const o=Pt[r-20];o&&(e.push({type:"resetDecoration",value:o}),o==="dim"&&e.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)e.push({type:"setForegroundColor",value:{type:"named",name:fe[r-30]}});else if(r===38){const o=Hn(t);o&&e.push({type:"setForegroundColor",value:o})}else if(r===39)e.push({type:"resetForegroundColor"});else if(r<=47)e.push({type:"setBackgroundColor",value:{type:"named",name:fe[r-40]}});else if(r===48){const o=Hn(t);o&&e.push({type:"setBackgroundColor",value:o})}else r===49?e.push({type:"resetBackgroundColor"}):r===53?e.push({type:"setDecoration",value:"overline"}):r===55?e.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?e.push({type:"setForegroundColor",value:{type:"named",name:fe[r-90+8]}}):r>=100&&r<=107&&e.push({type:"setBackgroundColor",value:{type:"named",name:fe[r-100+8]}})}return e}function fs(){let t=null,e=null,n=new Set;return{parse(r){const o=[];let a=0;do{const i=ds(r,a),c=i.sequence?r.substring(a,i.startPosition):r.substring(a);if(c.length>0&&o.push({value:c,foreground:t,background:e,decorations:new Set(n)}),i.sequence){const s=gs(i.sequence);for(const l of s)l.type==="resetAll"?(t=null,e=null,n.clear()):l.type==="resetForegroundColor"?t=null:l.type==="resetBackgroundColor"?e=null:l.type==="resetDecoration"&&n.delete(l.value);for(const l of s)l.type==="setForegroundColor"?t=l.value:l.type==="setBackgroundColor"?e=l.value:l.type==="setDecoration"&&n.add(l.value)}a=i.position}while(a<r.length);return o}}}var ps={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function hs(t=ps){function e(c){return t[c]}function n(c){return`#${c.map(s=>Math.max(0,Math.min(s,255)).toString(16).padStart(2,"0")).join("")}`}let r;function o(){if(r)return r;r=[];for(let l=0;l<fe.length;l++)r.push(e(fe[l]));let c=[0,95,135,175,215,255];for(let l=0;l<6;l++)for(let u=0;u<6;u++)for(let d=0;d<6;d++)r.push(n([c[l],c[u],c[d]]));let s=8;for(let l=0;l<24;l++,s+=10)r.push(n([s,s,s]));return r}function a(c){return o()[c]}function i(c){switch(c.type){case"named":return e(c.name);case"rgb":return n(c.rgb);case"table":return a(c.index)}}return{value:i}}function ms(t,e,n){const r=ft(t,n),o=wt(e),a=hs(Object.fromEntries(fe.map(c=>{var s;return[c,(s=t.colors)==null?void 0:s[`terminal.ansi${c[0].toUpperCase()}${c.substring(1)}`]]}))),i=fs();return o.map(c=>i.parse(c[0]).map(s=>{let l,u;s.decorations.has("reverse")?(l=s.background?a.value(s.background):t.bg,u=s.foreground?a.value(s.foreground):t.fg):(l=s.foreground?a.value(s.foreground):t.fg,u=s.background?a.value(s.background):void 0),l=ge(l,r),u=ge(u,r),s.decorations.has("dim")&&(l=bs(l));let d=$.None;return s.decorations.has("bold")&&(d|=$.Bold),s.decorations.has("italic")&&(d|=$.Italic),s.decorations.has("underline")&&(d|=$.Underline),s.decorations.has("strikethrough")&&(d|=$.Strikethrough),{content:s.value,offset:c[1],color:l,bgColor:u,fontStyle:d}}))}function bs(t){const e=t.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(e)if(e[3]){const r=Math.round(Number.parseInt(e[3],16)/2).toString(16).padStart(2,"0");return`#${e[1]}${e[2]}${r}`}else return e[2]?`#${e[1]}${e[2]}80`:`#${Array.from(e[1]).map(r=>`${r}${r}`).join("")}80`;const n=t.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:t}function hn(t,e,n={}){const{lang:r="text",theme:o=t.getLoadedThemes()[0]}=n;if(fn(r)||pn(o))return wt(e).map(s=>[{content:s[0],offset:s[1]}]);const{theme:a,colorMap:i}=t.setTheme(o);if(r==="ansi")return ms(a,e,n);const c=t.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==c.name)throw new P(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${c.name}"`);if(!n.grammarState.themes.includes(a.name))throw new P(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${a.name}"`)}return ks(e,c,a,i,n)}function ys(...t){if(t.length===2)return He(t[1]);const[e,n,r={}]=t,{lang:o="text",theme:a=e.getLoadedThemes()[0]}=r;if(fn(o)||pn(a))throw new P("Plain language does not have grammar state");if(o==="ansi")throw new P("ANSI language does not have grammar state");const{theme:i,colorMap:c}=e.setTheme(a),s=e.getLanguage(o);return new Ae(mt(n,s,i,c,r).stateStack,s.name,i.name)}function ks(t,e,n,r,o){const a=mt(t,e,n,r,o),i=new Ae(mt(t,e,n,r,o).stateStack,e.name,n.name);return vt(a.tokens,i),a.tokens}function mt(t,e,n,r,o){const a=ft(n,o),{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:c=500}=o,s=wt(t);let l=o.grammarState?ss(o.grammarState,n.name)??Qt:o.grammarContextCode!=null?mt(o.grammarContextCode,e,n,r,{...o,grammarState:void 0,grammarContextCode:void 0}).stateStack:Qt,u=[];const d=[];for(let g=0,f=s.length;g<f;g++){const[p,k]=s[g];if(p===""){u=[],d.push([]);continue}if(i>0&&p.length>=i){u=[],d.push([{content:p,offset:k,color:"",fontStyle:0}]);continue}let m,y,w;o.includeExplanation&&(m=e.tokenizeLine(p,l,c),y=m.tokens,w=0);const v=e.tokenizeLine2(p,l,c),_=v.tokens.length/2;for(let x=0;x<_;x++){const A=v.tokens[2*x],B=x+1<_?v.tokens[2*x+2]:p.length;if(A===B)continue;const M=v.tokens[2*x+1],se=ge(r[Ee.getForeground(M)],a),ce=Ee.getFontStyle(M),Ne={content:p.substring(A,B),offset:k+A,color:se,fontStyle:ce};if(o.includeExplanation){const te=[];if(o.includeExplanation!=="scopeName")for(const K of n.settings){let ke;switch(typeof K.scope){case"string":ke=K.scope.split(/,/).map(xt=>xt.trim());break;case"object":ke=K.scope;break;default:continue}te.push({settings:K,selectors:ke.map(xt=>xt.split(/ /))})}Ne.explanation=[];let Cn=0;for(;A+Cn<B;){const K=y[w],ke=p.substring(K.startIndex,K.endIndex);Cn+=ke.length,Ne.explanation.push({content:ke,scopes:o.includeExplanation==="scopeName"?ws(K.scopes):vs(te,K.scopes)}),w+=1}}u.push(Ne)}d.push(u),u=[],l=v.ruleStack}return{tokens:d,stateStack:l}}function ws(t){return t.map(e=>({scopeName:e}))}function vs(t,e){const n=[];for(let r=0,o=e.length;r<o;r++){const a=e[r];n[r]={scopeName:a,themeMatches:_s(t,a,e.slice(0,r))}}return n}function qn(t,e){return t===e||e.substring(0,t.length)===t&&e[t.length]==="."}function Cs(t,e,n){if(!qn(t[t.length-1],e))return!1;let r=t.length-2,o=n.length-1;for(;r>=0&&o>=0;)qn(t[r],n[o])&&(r-=1),o-=1;return r===-1}function _s(t,e,n){const r=[];for(const{selectors:o,settings:a}of t)for(const i of o)if(Cs(i,e,n)){r.push(a);break}return r}function Xr(t,e,n){const r=Object.entries(n.themes).filter(s=>s[1]).map(s=>({color:s[0],theme:s[1]})),o=r.map(s=>{const l=hn(t,e,{...n,theme:s.theme}),u=He(l),d=typeof s.theme=="string"?s.theme:s.theme.name;return{tokens:l,state:u,theme:d}}),a=Ss(...o.map(s=>s.tokens)),i=a[0].map((s,l)=>s.map((u,d)=>{const g={content:u.content,variants:{},offset:u.offset};return"includeExplanation"in n&&n.includeExplanation&&(g.explanation=u.explanation),a.forEach((f,p)=>{const{content:k,explanation:m,offset:y,...w}=f[l][d];g.variants[r[p].color]=w}),g})),c=o[0].state?new Ae(Object.fromEntries(o.map(s=>{var l;return[s.theme,(l=s.state)==null?void 0:l.getInternalStack(s.theme)]})),o[0].state.lang):void 0;return c&&vt(i,c),i}function Ss(...t){const e=t.map(()=>[]),n=t.length;for(let r=0;r<t[0].length;r++){const o=t.map(s=>s[r]),a=e.map(()=>[]);e.forEach((s,l)=>s.push(a[l]));const i=o.map(()=>0),c=o.map(s=>s[0]);for(;c.every(s=>s);){const s=Math.min(...c.map(l=>l.content.length));for(let l=0;l<n;l++){const u=c[l];u.content.length===s?(a[l].push(u),i[l]+=1,c[l]=o[l][i[l]]):(a[l].push({...u,content:u.content.slice(0,s)}),c[l]={...u,content:u.content.slice(s),offset:u.offset+s})}}}return e}function bt(t,e,n){let r,o,a,i,c,s;if("themes"in n){const{defaultColor:l="light",cssVariablePrefix:u="--shiki-"}=n,d=Object.entries(n.themes).filter(m=>m[1]).map(m=>({color:m[0],theme:m[1]})).sort((m,y)=>m.color===l?-1:y.color===l?1:0);if(d.length===0)throw new P("`themes` option must not be empty");const g=Xr(t,e,n);if(s=He(g),l&&!d.find(m=>m.color===l))throw new P(`\`themes\` option must contain the defaultColor key \`${l}\``);const f=d.map(m=>t.getTheme(m.theme)),p=d.map(m=>m.color);a=g.map(m=>m.map(y=>as(y,p,u,l))),s&&vt(a,s);const k=d.map(m=>ft(m.theme,n));o=d.map((m,y)=>(y===0&&l?"":`${u+m.color}:`)+(ge(f[y].fg,k[y])||"inherit")).join(";"),r=d.map((m,y)=>(y===0&&l?"":`${u+m.color}-bg:`)+(ge(f[y].bg,k[y])||"inherit")).join(";"),i=`shiki-themes ${f.map(m=>m.name).join(" ")}`,c=l?void 0:[o,r].join(";")}else if("theme"in n){const l=ft(n.theme,n);a=hn(t,e,n);const u=t.getTheme(n.theme);r=ge(u.bg,l),o=ge(u.fg,l),i=u.name,s=He(a)}else throw new P("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:o,bg:r,themeName:i,rootStyle:c,grammarState:s}}function yt(t,e,n,r={meta:{},options:n,codeToHast:(o,a)=>yt(t,o,a),codeToTokens:(o,a)=>bt(t,o,a)}){var p,k;let o=e;for(const m of ht(n))o=((p=m.preprocess)==null?void 0:p.call(r,o,n))||o;let{tokens:a,fg:i,bg:c,themeName:s,rootStyle:l,grammarState:u}=bt(t,o,n);const{mergeWhitespaces:d=!0,mergeSameStyleTokens:g=!1}=n;d===!0?a=Bs(a):d==="never"&&(a=Is(a)),g&&(a=Es(a));const f={...r,get source(){return o}};for(const m of ht(n))a=((k=m.tokens)==null?void 0:k.call(f,a))||a;return xs(a,{...n,fg:i,bg:c,themeName:s,rootStyle:l},f,u)}function xs(t,e,n,r=He(t)){var p,k,m;const o=ht(e),a=[],i={type:"root",children:[]},{structure:c="classic",tabindex:s="0"}=e;let l={type:"element",tagName:"pre",properties:{class:`shiki ${e.themeName||""}`,style:e.rootStyle||`background-color:${e.bg};color:${e.fg}`,...s!==!1&&s!=null?{tabindex:s.toString()}:{},...Object.fromEntries(Array.from(Object.entries(e.meta||{})).filter(([y])=>!y.startsWith("_")))},children:[]},u={type:"element",tagName:"code",properties:{},children:a};const d=[],g={...n,structure:c,addClassToHast:zr,get source(){return n.source},get tokens(){return t},get options(){return e},get root(){return i},get pre(){return l},get code(){return u},get lines(){return d}};if(t.forEach((y,w)=>{var x,A;w&&(c==="inline"?i.children.push({type:"element",tagName:"br",properties:{},children:[]}):c==="classic"&&a.push({type:"text",value:`
|
|
20
|
+
`}));let v={type:"element",tagName:"span",properties:{class:"line"},children:[]},_=0;for(const B of y){let M={type:"element",tagName:"span",properties:{...B.htmlAttrs},children:[{type:"text",value:B.content}]};const se=tn(B.htmlStyle||pt(B));se&&(M.properties.style=se);for(const ce of o)M=((x=ce==null?void 0:ce.span)==null?void 0:x.call(g,M,w+1,_,v,B))||M;c==="inline"?i.children.push(M):c==="classic"&&v.children.push(M),_+=B.content.length}if(c==="classic"){for(const B of o)v=((A=B==null?void 0:B.line)==null?void 0:A.call(g,v,w+1))||v;d.push(v),a.push(v)}}),c==="classic"){for(const y of o)u=((p=y==null?void 0:y.code)==null?void 0:p.call(g,u))||u;l.children.push(u);for(const y of o)l=((k=y==null?void 0:y.pre)==null?void 0:k.call(g,l))||l;i.children.push(l)}let f=i;for(const y of o)f=((m=y==null?void 0:y.root)==null?void 0:m.call(g,f))||f;return r&&vt(f,r),f}function Bs(t){return t.map(e=>{const n=[];let r="",o=0;return e.forEach((a,i)=>{const s=!(a.fontStyle&&(a.fontStyle&$.Underline||a.fontStyle&$.Strikethrough));s&&a.content.match(/^\s+$/)&&e[i+1]?(o||(o=a.offset),r+=a.content):r?(s?n.push({...a,offset:o,content:r+a.content}):n.push({content:r,offset:o},a),o=0,r=""):n.push(a)}),n})}function Is(t){return t.map(e=>e.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,o,a,i]=r;if(!o&&!i)return n;const c=[{...n,offset:n.offset+o.length,content:a}];return o&&c.unshift({content:o,offset:n.offset}),i&&c.push({content:i,offset:n.offset+o.length+a.length}),c}))}function Es(t){return t.map(e=>{const n=[];for(const r of e){if(n.length===0){n.push({...r});continue}const o=n[n.length-1],a=o.htmlStyle||tn(pt(o)),i=r.htmlStyle||tn(pt(r)),c=o.fontStyle&&(o.fontStyle&$.Underline||o.fontStyle&$.Strikethrough),s=r.fontStyle&&(r.fontStyle&$.Underline||r.fontStyle&$.Strikethrough);!c&&!s&&a===i?o.content+=r.content:n.push({...r})}return n})}const Rs=Qi;function As(t,e,n){var a;const r={meta:{},options:n,codeToHast:(i,c)=>yt(t,i,c),codeToTokens:(i,c)=>bt(t,i,c)};let o=Rs(yt(t,e,n,r));for(const i of ht(n))o=((a=i.postprocess)==null?void 0:a.call(r,o,n))||o;return o}const Un={light:"#333333",dark:"#bbbbbb"},Wn={light:"#fffffe",dark:"#1e1e1e"},zn="__shiki_resolved";function mn(t){var c,s,l,u,d;if(t!=null&&t[zn])return t;const e={...t};e.tokenColors&&!e.settings&&(e.settings=e.tokenColors,delete e.tokenColors),e.type||(e.type="dark"),e.colorReplacements={...e.colorReplacements},e.settings||(e.settings=[]);let{bg:n,fg:r}=e;if(!n||!r){const g=e.settings?e.settings.find(f=>!f.name&&!f.scope):void 0;(c=g==null?void 0:g.settings)!=null&&c.foreground&&(r=g.settings.foreground),(s=g==null?void 0:g.settings)!=null&&s.background&&(n=g.settings.background),!r&&((l=e==null?void 0:e.colors)!=null&&l["editor.foreground"])&&(r=e.colors["editor.foreground"]),!n&&((u=e==null?void 0:e.colors)!=null&&u["editor.background"])&&(n=e.colors["editor.background"]),r||(r=e.type==="light"?Un.light:Un.dark),n||(n=e.type==="light"?Wn.light:Wn.dark),e.fg=r,e.bg=n}e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope||e.settings.unshift({settings:{foreground:e.fg,background:e.bg}});let o=0;const a=new Map;function i(g){var p;if(a.has(g))return a.get(g);o+=1;const f=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(p=e.colorReplacements)!=null&&p[`#${f}`]?i(g):(a.set(g,f),f)}e.settings=e.settings.map(g=>{var m,y;const f=((m=g.settings)==null?void 0:m.foreground)&&!g.settings.foreground.startsWith("#"),p=((y=g.settings)==null?void 0:y.background)&&!g.settings.background.startsWith("#");if(!f&&!p)return g;const k={...g,settings:{...g.settings}};if(f){const w=i(g.settings.foreground);e.colorReplacements[w]=g.settings.foreground,k.settings.foreground=w}if(p){const w=i(g.settings.background);e.colorReplacements[w]=g.settings.background,k.settings.background=w}return k});for(const g of Object.keys(e.colors||{}))if((g==="editor.foreground"||g==="editor.background"||g.startsWith("terminal.ansi"))&&!((d=e.colors[g])!=null&&d.startsWith("#"))){const f=i(e.colors[g]);e.colorReplacements[f]=e.colors[g],e.colors[g]=f}return Object.defineProperty(e,zn,{enumerable:!1,writable:!1,value:!0}),e}async function Qr(t){return Array.from(new Set((await Promise.all(t.filter(e=>!es(e)).map(async e=>await Wr(e).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function Jr(t){return(await Promise.all(t.map(async n=>ts(n)?null:mn(await Wr(n))))).filter(n=>!!n)}let Fs=3;function Ls(t,e=3){e>Fs||console.trace(`[SHIKI DEPRECATE]: ${t}`)}class xe extends Error{constructor(e){super(e),this.name="ShikiError"}}class Ns extends Pa{constructor(n,r,o,a={}){super(n);h(this,"_resolvedThemes",new Map);h(this,"_resolvedGrammars",new Map);h(this,"_langMap",new Map);h(this,"_langGraph",new Map);h(this,"_textmateThemeCache",new WeakMap);h(this,"_loadedThemesCache",null);h(this,"_loadedLanguagesCache",null);this._resolver=n,this._themes=r,this._langs=o,this._alias=a,this._themes.map(i=>this.loadTheme(i)),this.loadLanguages(this._langs)}getTheme(n){return typeof n=="string"?this._resolvedThemes.get(n):this.loadTheme(n)}loadTheme(n){const r=mn(n);return r.name&&(this._resolvedThemes.set(r.name,r),this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(n){let r=this._textmateThemeCache.get(n);r||(r=ct.createFromRawTheme(n),this._textmateThemeCache.set(n,r)),this._syncRegistry.setTheme(r)}getGrammar(n){if(this._alias[n]){const r=new Set([n]);for(;this._alias[n];){if(n=this._alias[n],r.has(n))throw new xe(`Circular alias \`${Array.from(r).join(" -> ")} -> ${n}\``);r.add(n)}}return this._resolvedGrammars.get(n)}loadLanguage(n){var i,c,s,l;if(this.getGrammar(n.name))return;const r=new Set([...this._langMap.values()].filter(u=>{var d;return(d=u.embeddedLangsLazy)==null?void 0:d.includes(n.name)}));this._resolver.addLanguage(n);const o={balancedBracketSelectors:n.balancedBracketSelectors||["*"],unbalancedBracketSelectors:n.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(n.scopeName,n);const a=this.loadGrammarWithConfiguration(n.scopeName,1,o);if(a.name=n.name,this._resolvedGrammars.set(n.name,a),n.aliases&&n.aliases.forEach(u=>{this._alias[u]=n.name}),this._loadedLanguagesCache=null,r.size)for(const u of r)this._resolvedGrammars.delete(u.name),this._loadedLanguagesCache=null,(c=(i=this._syncRegistry)==null?void 0:i._injectionGrammars)==null||c.delete(u.scopeName),(l=(s=this._syncRegistry)==null?void 0:s._grammars)==null||l.delete(u.scopeName),this.loadLanguage(this._langMap.get(u.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(n){for(const a of n)this.resolveEmbeddedLanguages(a);const r=Array.from(this._langGraph.entries()),o=r.filter(([a,i])=>!i);if(o.length){const a=r.filter(([i,c])=>{var s;return c&&((s=c.embeddedLangs)==null?void 0:s.some(l=>o.map(([u])=>u).includes(l)))}).filter(i=>!o.includes(i));throw new xe(`Missing languages ${o.map(([i])=>`\`${i}\``).join(", ")}, required by ${a.map(([i])=>`\`${i}\``).join(", ")}`)}for(const[a,i]of r)this._resolver.addLanguage(i);for(const[a,i]of r)this.loadLanguage(i)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(n){if(this._langMap.set(n.name,n),this._langGraph.set(n.name,n),n.embeddedLangs)for(const r of n.embeddedLangs)this._langGraph.set(r,this._langMap.get(r))}}class Ms{constructor(e,n){h(this,"_langs",new Map);h(this,"_scopeToLang",new Map);h(this,"_injections",new Map);h(this,"_onigLib");this._onigLib={createOnigScanner:r=>e.createScanner(r),createOnigString:r=>e.createString(r)},n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(n=>{this._langs.set(n,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(e.scopeName)})}getInjections(e){const n=e.split(".");let r=[];for(let o=1;o<=n.length;o++){const a=n.slice(0,o).join(".");r=[...r,...this._injections.get(a)||[]]}return r}}let Te=0;function Ts(t){Te+=1,t.warnings!==!1&&Te>=10&&Te%10===0&&console.warn(`[Shiki] ${Te} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let e=!1;if(!t.engine)throw new xe("`engine` option is required for synchronous mode");const n=(t.langs||[]).flat(1),r=(t.themes||[]).flat(1).map(mn),o=new Ms(t.engine,n),a=new Ns(o,r,n,t.langAlias);let i;function c(w){m();const v=a.getGrammar(typeof w=="string"?w:w.name);if(!v)throw new xe(`Language \`${w}\` not found, you may need to load it first`);return v}function s(w){if(w==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};m();const v=a.getTheme(w);if(!v)throw new xe(`Theme \`${w}\` not found, you may need to load it first`);return v}function l(w){m();const v=s(w);i!==w&&(a.setTheme(v),i=w);const _=a.getColorMap();return{theme:v,colorMap:_}}function u(){return m(),a.getLoadedThemes()}function d(){return m(),a.getLoadedLanguages()}function g(...w){m(),a.loadLanguages(w.flat(1))}async function f(...w){return g(await Qr(w))}function p(...w){m();for(const v of w.flat(1))a.loadTheme(v)}async function k(...w){return m(),p(await Jr(w))}function m(){if(e)throw new xe("Shiki instance has been disposed")}function y(){e||(e=!0,a.dispose(),Te-=1)}return{setTheme:l,getTheme:s,getLanguage:c,getLoadedThemes:u,getLoadedLanguages:d,loadLanguage:f,loadLanguageSync:g,loadTheme:k,loadThemeSync:p,dispose:y,[Symbol.dispose]:y}}async function Ps(t){t.engine||Ls("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[e,n,r]=await Promise.all([Jr(t.themes||[]),Qr(t.langs||[]),t.engine]);return Ts({...t,themes:e,langs:n,engine:r})}async function $s(t){const e=await Ps(t);return{getLastGrammarState:(...n)=>ys(e,...n),codeToTokensBase:(n,r)=>hn(e,n,r),codeToTokensWithThemes:(n,r)=>Xr(e,n,r),codeToTokens:(n,r)=>bt(e,n,r),codeToHast:(n,r)=>yt(e,n,r),codeToHtml:(n,r)=>As(e,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...e,getInternalContext:()=>e}}function Fe(t){if([...t].length!==1)throw new Error(`Expected "${t}" to be a single code point`);return t.codePointAt(0)}function Os(t,e,n){return t.has(e)||t.set(e,n),t.get(e)}const bn=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),N=String.raw;function Le(t,e){if(t==null)throw new Error(e??"Value expected");return t}const Yr=N`\[\^?`,Zr=`c.? | C(?:-.?)?|${N`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${N`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${N`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${N`o\{[^\}]*\}?`}|${N`\d{1,3}`}`,yn=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,et=new RegExp(N`
|
|
21
|
+
\\ (?:
|
|
22
|
+
${Zr}
|
|
23
|
+
| [gk]<[^>]*>?
|
|
24
|
+
| [gk]'[^']*'?
|
|
25
|
+
| .
|
|
26
|
+
)
|
|
27
|
+
| \( (?:
|
|
28
|
+
\? (?:
|
|
29
|
+
[:=!>({]
|
|
30
|
+
| <[=!]
|
|
31
|
+
| <[^>]*>
|
|
32
|
+
| '[^']*'
|
|
33
|
+
| ~\|?
|
|
34
|
+
| #(?:[^)\\]|\\.?)*
|
|
35
|
+
| [^:)]*[:)]
|
|
36
|
+
)?
|
|
37
|
+
| \*[^\)]*\)?
|
|
38
|
+
)?
|
|
39
|
+
| (?:${yn.source})+
|
|
40
|
+
| ${Yr}
|
|
41
|
+
| .
|
|
42
|
+
`.replace(/\s+/g,""),"gsu"),$t=new RegExp(N`
|
|
43
|
+
\\ (?:
|
|
44
|
+
${Zr}
|
|
45
|
+
| .
|
|
46
|
+
)
|
|
47
|
+
| \[:(?:\^?\p{Alpha}+|\^):\]
|
|
48
|
+
| ${Yr}
|
|
49
|
+
| &&
|
|
50
|
+
| .
|
|
51
|
+
`.replace(/\s+/g,""),"gsu");function Gs(t,e={}){const n={flags:"",...e,rules:{captureGroup:!1,singleline:!1,...e.rules}};if(typeof t!="string")throw new Error("String expected as pattern");const r=oc(n.flags),o=[r.extended],a={captureGroup:n.rules.captureGroup,getCurrentModX(){return o.at(-1)},numOpenGroups:0,popModX(){o.pop()},pushModX(d){o.push(d)},replaceCurrentModX(d){o[o.length-1]=d},singleline:n.rules.singleline};let i=[],c;for(et.lastIndex=0;c=et.exec(t);){const d=js(a,t,c[0],et.lastIndex);d.tokens?i.push(...d.tokens):d.token&&i.push(d.token),d.lastIndex!==void 0&&(et.lastIndex=d.lastIndex)}const s=[];let l=0;i.filter(d=>d.type==="GroupOpen").forEach(d=>{d.kind==="capturing"?d.number=++l:d.raw==="("&&s.push(d)}),l||s.forEach((d,g)=>{d.kind="capturing",d.number=g+1});const u=l||s.length;return{tokens:i.map(d=>d.type==="EscapedNumber"?ic(d,u):d).flat(),flags:r}}function js(t,e,n,r){const[o,a]=n;if(n==="["||n==="[^"){const i=Ds(e,n,r);return{tokens:i.tokens,lastIndex:i.lastIndex}}if(o==="\\"){if("AbBGyYzZ".includes(a))return{token:Vn(n,n)};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:Js(n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:to(n)}}if(a==="K")return{token:no("keep",n)};if(a==="N"||a==="R")return{token:pe("newline",n,{negate:a==="N"})};if(a==="O")return{token:pe("any",n)};if(a==="X")return{token:pe("text_segment",n)};const i=eo(n,{inCharClass:!1});return Array.isArray(i)?{tokens:i}:{token:i}}if(o==="("){if(a==="*")return{token:tc(n)};if(n==="(?{")throw new Error(`Unsupported callout "${n}"`);if(n.startsWith("(?#")){if(e[r]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:r+1}}if(/^\(\?[-imx]+[:)]$/.test(n))return{token:ec(n,t)};if(t.pushModX(t.getCurrentModX()),t.numOpenGroups++,n==="("&&!t.captureGroup||n==="(?:")return{token:_e("group",n)};if(n==="(?>")return{token:_e("atomic",n)};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?<!")return{token:_e(n[2]==="<"?"lookbehind":"lookahead",n,{negate:n.endsWith("!")})};if(n==="("&&t.captureGroup||n.startsWith("(?<")&&n.endsWith(">")||n.startsWith("(?'")&&n.endsWith("'"))return{token:_e("capturing",n,{...n!=="("&&{name:n.slice(3,-1)}})};if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absence function kind "${n}"`);return{token:_e("absence_repeater",n)}}throw n==="(?("?new Error(`Unsupported conditional "${n}"`):new Error(`Invalid or unsupported group option "${n}"`)}if(n===")"){if(t.popModX(),t.numOpenGroups--,t.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:Ks(n)}}if(t.getCurrentModX()){if(n==="#"){const i=e.indexOf(`
|
|
52
|
+
`,r);return{lastIndex:i===-1?e.length:i}}if(/^\s$/.test(n)){const i=/\s+/y;return i.lastIndex=r,{lastIndex:i.exec(e)?i.lastIndex:r}}}if(n===".")return{token:pe("dot",n)};if(n==="^"||n==="$"){const i=t.singleline?{"^":N`\A`,$:N`\Z`}[n]:n;return{token:Vn(i,n)}}return n==="|"?{token:qs(n)}:yn.test(n)?{tokens:sc(n)}:{token:Z(Fe(n),n)}}function Ds(t,e,n){const r=[Kn(e[1]==="^",e)];let o=1,a;for($t.lastIndex=n;a=$t.exec(t);){const i=a[0];if(i[0]==="["&&i[1]!==":")o++,r.push(Kn(i[1]==="^",i));else if(i==="]"){if(r.at(-1).type==="CharacterClassOpen")r.push(Z(93,i));else if(o--,r.push(Us(i)),!o)break}else{const c=Hs(i);Array.isArray(c)?r.push(...c):r.push(c)}}return{tokens:r,lastIndex:$t.lastIndex||t.length}}function Hs(t){if(t[0]==="\\")return eo(t,{inCharClass:!0});if(t[0]==="["){const e=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(t);if(!e||!bn.has(e.groups.name))throw new Error(`Invalid POSIX class "${t}"`);return pe("posix",t,{value:e.groups.name,negate:!!e.groups.negate})}return t==="-"?Ws(t):t==="&&"?zs(t):Z(Fe(t),t)}function eo(t,{inCharClass:e}){const n=t[1];if(n==="c"||n==="C")return Zs(t);if("dDhHsSwW".includes(n))return nc(t);if(t.startsWith(N`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${t}"`);if(/^\\[pP]\{/.test(t)){if(t.length===3)throw new Error(`Incomplete or invalid Unicode property "${t}"`);return rc(t)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(t))try{const r=t.split(/\\x/).slice(1).map(i=>parseInt(i,16)),o=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(r)),a=new TextEncoder;return[...o].map(i=>{const c=[...a.encode(i)].map(s=>`\\x${s.toString(16)}`).join("");return Z(Fe(i),c)})}catch{throw new Error(`Multibyte code "${t}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return Z(ac(t),t);if(Xn.has(n))return Z(Xn.get(n),t);if(/\d/.test(n))return Vs(e,t);if(t==="\\")throw new Error(N`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${t}"`);if([...t].length===2)return Z(t.codePointAt(1),t);throw new Error(`Unexpected escape "${t}"`)}function qs(t){return{type:"Alternator",raw:t}}function Vn(t,e){return{type:"Assertion",kind:t,raw:e}}function to(t){return{type:"Backreference",raw:t}}function Z(t,e){return{type:"Character",value:t,raw:e}}function Us(t){return{type:"CharacterClassClose",raw:t}}function Ws(t){return{type:"CharacterClassHyphen",raw:t}}function zs(t){return{type:"CharacterClassIntersector",raw:t}}function Kn(t,e){return{type:"CharacterClassOpen",negate:t,raw:e}}function pe(t,e,n={}){return{type:"CharacterSet",kind:t,...n,raw:e}}function no(t,e,n={}){return t==="keep"?{type:"Directive",kind:t,raw:e}:{type:"Directive",kind:t,flags:Le(n.flags),raw:e}}function Vs(t,e){return{type:"EscapedNumber",inCharClass:t,raw:e}}function Ks(t){return{type:"GroupClose",raw:t}}function _e(t,e,n={}){return{type:"GroupOpen",kind:t,...n,raw:e}}function Xs(t,e,n,r){return{type:"NamedCallout",kind:t,tag:e,arguments:n,raw:r}}function Qs(t,e,n,r){return{type:"Quantifier",kind:t,min:e,max:n,raw:r}}function Js(t){return{type:"Subroutine",raw:t}}const Ys=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),Xn=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function Zs(t){const e=t[1]==="c"?t[2]:t[3];if(!e||!/[A-Za-z]/.test(e))throw new Error(`Unsupported control character "${t}"`);return Z(Fe(e.toUpperCase())-64,t)}function ec(t,e){let{on:n,off:r}=/^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(t).groups;r??(r="");const o=(e.getCurrentModX()||n.includes("x"))&&!r.includes("x"),a=Jn(n),i=Jn(r),c={};if(a&&(c.enable=a),i&&(c.disable=i),t.endsWith(")"))return e.replaceCurrentModX(o),no("flags",t,{flags:c});if(t.endsWith(":"))return e.pushModX(o),e.numOpenGroups++,_e("group",t,{...(a||i)&&{flags:c}});throw new Error(`Unexpected flag modifier "${t}"`)}function tc(t){const e=/\(\*(?<name>[A-Za-z_]\w*)?(?:\[(?<tag>(?:[A-Za-z_]\w*)?)\])?(?:\{(?<args>[^}]*)\})?\)/.exec(t);if(!e)throw new Error(`Incomplete or invalid named callout "${t}"`);const{name:n,tag:r,args:o}=e.groups;if(!n)throw new Error(`Invalid named callout "${t}"`);if(r==="")throw new Error(`Named callout tag with empty value not allowed "${t}"`);const a=o?o.split(",").filter(u=>u!=="").map(u=>/^[+-]?\d+$/.test(u)?+u:u):[],[i,c,s]=a,l=Ys.has(n)?n.toLowerCase():"custom";switch(l){case"fail":case"mismatch":case"skip":if(a.length>0)throw new Error(`Named callout arguments not allowed "${a}"`);break;case"error":if(a.length>1)throw new Error(`Named callout allows only one argument "${a}"`);if(typeof i=="string")throw new Error(`Named callout argument must be a number "${i}"`);break;case"max":if(!a.length||a.length>2)throw new Error(`Named callout must have one or two arguments "${a}"`);if(typeof i=="string"&&!/^[A-Za-z_]\w*$/.test(i))throw new Error(`Named callout argument one must be a tag or number "${i}"`);if(a.length===2&&(typeof c=="number"||!/^[<>X]$/.test(c)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${c}"`);break;case"count":case"total_count":if(a.length>1)throw new Error(`Named callout allows only one argument "${a}"`);if(a.length===1&&(typeof i=="number"||!/^[<>X]$/.test(i)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${i}"`);break;case"cmp":if(a.length!==3)throw new Error(`Named callout must have three arguments "${a}"`);if(typeof i=="string"&&!/^[A-Za-z_]\w*$/.test(i))throw new Error(`Named callout argument one must be a tag or number "${i}"`);if(typeof c=="number"||!/^(?:[<>!=]=|[<>])$/.test(c))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${c}"`);if(typeof s=="string"&&!/^[A-Za-z_]\w*$/.test(s))throw new Error(`Named callout argument three must be a tag or number "${s}"`);break;case"custom":throw new Error(`Undefined callout name "${n}"`);default:throw new Error(`Unexpected named callout kind "${l}"`)}return Xs(l,r??null,(o==null?void 0:o.split(","))??null,t)}function Qn(t){let e=null,n,r;if(t[0]==="{"){const{minStr:o,maxStr:a}=/^\{(?<minStr>\d*)(?:,(?<maxStr>\d*))?/.exec(t).groups,i=1e5;if(+o>i||a&&+a>i)throw new Error("Quantifier value unsupported in Oniguruma");if(n=+o,r=a===void 0?+o:a===""?1/0:+a,n>r&&(e="possessive",[n,r]=[r,n]),t.endsWith("?")){if(e==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');e="lazy"}else e||(e="greedy")}else n=t[0]==="+"?1:0,r=t[0]==="?"?1:1/0,e=t[1]==="+"?"possessive":t[1]==="?"?"lazy":"greedy";return Qs(e,n,r,t)}function nc(t){const e=t[1].toLowerCase();return pe({d:"digit",h:"hex",s:"space",w:"word"}[e],t,{negate:t[1]!==e})}function rc(t){const{p:e,neg:n,value:r}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(t).groups;return pe("property",t,{value:r,negate:e==="P"&&!n||e==="p"&&!!n})}function Jn(t){const e={};return t.includes("i")&&(e.ignoreCase=!0),t.includes("m")&&(e.dotAll=!0),t.includes("x")&&(e.extended=!0),Object.keys(e).length?e:null}function oc(t){const e={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let n=0;n<t.length;n++){const r=t[n];if(!"imxDPSWy".includes(r))throw new Error(`Invalid flag "${r}"`);if(r==="y"){if(!/^y{[gw]}/.test(t.slice(n)))throw new Error('Invalid or unspecified flag "y" mode');e.textSegmentMode=t[n+2]==="g"?"grapheme":"word",n+=3;continue}e[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[r]]=!0}return e}function ac(t){if(new RegExp("^(?:\\\\u(?!\\p{AHex}{4})|\\\\x(?!\\p{AHex}{1,2}|\\{\\p{AHex}{1,8}\\}))","u").test(t))throw new Error(`Incomplete or invalid escape "${t}"`);const e=t[2]==="{"?new RegExp("^\\\\x\\{\\s*(?<hex>\\p{AHex}+)","u").exec(t).groups.hex:t.slice(2);return parseInt(e,16)}function ic(t,e){const{raw:n,inCharClass:r}=t,o=n.slice(1);if(!r&&(o!=="0"&&o.length===1||o[0]!=="0"&&+o<=e))return[to(n)];const a=[],i=o.match(/^[0-7]+|\d/g);for(let c=0;c<i.length;c++){const s=i[c];let l;if(c===0&&s!=="8"&&s!=="9"){if(l=parseInt(s,8),l>127)throw new Error(N`Octal encoded byte above 177 unsupported "${n}"`)}else l=Fe(s);a.push(Z(l,(c===0?"\\":"")+s))}return a}function sc(t){const e=[],n=new RegExp(yn,"gy");let r;for(;r=n.exec(t);){const o=r[0];if(o[0]==="{"){const a=/^\{(?<min>\d+),(?<max>\d+)\}\??$/.exec(o);if(a){const{min:i,max:c}=a.groups;if(+i>+c&&o.endsWith("?")){n.lastIndex--,e.push(Qn(o.slice(0,-1)));continue}}}e.push(Qn(o))}return e}function ro(t,e){if(!Array.isArray(t.body))throw new Error("Expected node with body array");if(t.body.length!==1)return!1;const n=t.body[0];return!e||Object.keys(e).every(r=>e[r]===n[r])}function cc(t){return lc.has(t.type)}const lc=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function oo(t,e={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...e,rules:{captureGroup:!1,singleline:!1,...e.rules}},r=Gs(t,{flags:n.flags,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}}),o=(g,f)=>{const p=r.tokens[a.nextIndex];switch(a.parent=g,a.nextIndex++,p.type){case"Alternator":return be();case"Assertion":return uc(p);case"Backreference":return dc(p,a);case"Character":return Ct(p.value,{useLastValid:!!f.isCheckingRangeEnd});case"CharacterClassHyphen":return gc(p,a,f);case"CharacterClassOpen":return fc(p,a,f);case"CharacterSet":return pc(p,a);case"Directive":return wc(p.kind,{flags:p.flags});case"GroupOpen":return hc(p,a,f);case"NamedCallout":return Cc(p.kind,p.tag,p.arguments);case"Quantifier":return mc(p,a);case"Subroutine":return bc(p,a);default:throw new Error(`Unexpected token type "${p.type}"`)}},a={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:n.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:n.skipBackrefValidation,skipLookbehindValidation:n.skipLookbehindValidation,skipPropertyNameValidation:n.skipPropertyNameValidation,subroutines:[],tokens:r.tokens,unicodePropertyMap:n.unicodePropertyMap,walk:o},i=Sc(vc(r.flags));let c=i.body[0];for(;a.nextIndex<r.tokens.length;){const g=o(c,{});g.type==="Alternative"?(i.body.push(g),c=g):c.body.push(g)}const{capturingGroups:s,hasNumberedRef:l,namedGroupsByName:u,subroutines:d}=a;if(l&&u.size&&!n.rules.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:g}of d)if(typeof g=="number"){if(g>s.length)throw new Error("Subroutine uses a group number that's not defined");g&&(s[g-1].isSubroutined=!0)}else if(u.has(g)){if(u.get(g).length>1)throw new Error(N`Subroutine uses a duplicate group name "\g<${g}>"`);u.get(g)[0].isSubroutined=!0}else throw new Error(N`Subroutine uses a group name that's not defined "\g<${g}>"`);return i}function uc({kind:t}){return nn(Le({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[t],`Unexpected assertion kind "${t}"`),{negate:t===N`\B`||t===N`\Y`})}function dc({raw:t},e){const n=/^\\k[<']/.test(t),r=n?t.slice(3,-1):t.slice(1),o=(a,i=!1)=>{const c=e.capturingGroups.length;let s=!1;if(a>c)if(e.skipBackrefValidation)s=!0;else throw new Error(`Not enough capturing groups defined to the left "${t}"`);return e.hasNumberedRef=!0,rn(i?c+1-a:a,{orphan:s})};if(n){const a=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(r);if(a)return o(+a.groups.num,!!a.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${t}"`);if(!e.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${t}"`);return rn(r)}return o(+r)}function gc(t,e,n){const{tokens:r,walk:o}=e,a=e.parent,i=a.body.at(-1),c=r[e.nextIndex];if(!n.isCheckingRangeEnd&&i&&i.type!=="CharacterClass"&&i.type!=="CharacterClassRange"&&c&&c.type!=="CharacterClassOpen"&&c.type!=="CharacterClassClose"&&c.type!=="CharacterClassIntersector"){const s=o(a,{...n,isCheckingRangeEnd:!0});if(i.type==="Character"&&s.type==="Character")return a.body.pop(),kc(i,s);throw new Error("Invalid character class range")}return Ct(Fe("-"))}function fc({negate:t},e,n){const{tokens:r,walk:o}=e,a=r[e.nextIndex],i=[st()];let c=er(a);for(;c.type!=="CharacterClassClose";){if(c.type==="CharacterClassIntersector")i.push(st()),e.nextIndex++;else{const l=i.at(-1);l.body.push(o(l,n))}c=er(r[e.nextIndex],a)}const s=st({negate:t});return i.length===1?s.body=i[0].body:(s.kind="intersection",s.body=i.map(l=>l.body.length===1?l.body[0]:l)),e.nextIndex++,s}function pc({kind:t,negate:e,value:n},r){const{normalizeUnknownPropertyNames:o,skipPropertyNameValidation:a,unicodePropertyMap:i}=r;if(t==="property"){const c=_t(n);if(bn.has(c)&&!(i!=null&&i.has(c)))t="posix",n=c;else return Se(n,{negate:e,normalizeUnknownPropertyNames:o,skipPropertyNameValidation:a,unicodePropertyMap:i})}return t==="posix"?_c(n,{negate:e}):on(t,{negate:e})}function hc(t,e,n){const{tokens:r,capturingGroups:o,namedGroupsByName:a,skipLookbehindValidation:i,walk:c}=e,s=xc(t),l=s.type==="AbsenceFunction",u=Zn(s),d=u&&s.negate;if(s.type==="CapturingGroup"&&(o.push(s),s.name&&Os(a,s.name,[]).push(s)),l&&n.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let g=tr(r[e.nextIndex]);for(;g.type!=="GroupClose";){if(g.type==="Alternator")s.body.push(be()),e.nextIndex++;else{const f=s.body.at(-1),p=c(f,{...n,isInAbsenceFunction:n.isInAbsenceFunction||l,isInLookbehind:n.isInLookbehind||u,isInNegLookbehind:n.isInNegLookbehind||d});if(f.body.push(p),(u||n.isInLookbehind)&&!i){const k="Lookbehind includes a pattern not allowed by Oniguruma";if(d||n.isInNegLookbehind){if(Yn(p)||p.type==="CapturingGroup")throw new Error(k)}else if(Yn(p)||Zn(p)&&p.negate)throw new Error(k)}}g=tr(r[e.nextIndex])}return e.nextIndex++,s}function mc({kind:t,min:e,max:n},r){const o=r.parent,a=o.body.at(-1);if(!a||!cc(a))throw new Error("Quantifier requires a repeatable token");const i=io(t,e,n,a);return o.body.pop(),i}function bc({raw:t},e){const{capturingGroups:n,subroutines:r}=e;let o=t.slice(3,-1);const a=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(o);if(a){const c=+a.groups.num,s=n.length;if(e.hasNumberedRef=!0,o={"":c,"+":s+c,"-":s+1-c}[a.groups.sign],o<1)throw new Error("Invalid subroutine number")}else o==="0"&&(o=0);const i=so(o);return r.push(i),i}function yc(t,e){return{type:"AbsenceFunction",kind:t,body:Ve(e==null?void 0:e.body)}}function be(t){return{type:"Alternative",body:co(t==null?void 0:t.body)}}function nn(t,e){const n={type:"Assertion",kind:t};return(t==="word_boundary"||t==="text_segment_boundary")&&(n.negate=!!(e!=null&&e.negate)),n}function rn(t,e){const n=!!(e!=null&&e.orphan);return{type:"Backreference",ref:t,...n&&{orphan:n}}}function ao(t,e){const n={name:void 0,isSubroutined:!1,...e};if(n.name!==void 0&&!Bc(n.name))throw new Error(`Group name "${n.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:t,...n.name&&{name:n.name},...n.isSubroutined&&{isSubroutined:n.isSubroutined},body:Ve(e==null?void 0:e.body)}}function Ct(t,e){const n={useLastValid:!1,...e};if(t>1114111){const r=t.toString(16);if(n.useLastValid)t=1114111;else throw t>1310719?new Error(`Invalid code point out of range "\\x{${r}}"`):new Error(`Invalid code point out of range in JS "\\x{${r}}"`)}return{type:"Character",value:t}}function st(t){const e={kind:"union",negate:!1,...t};return{type:"CharacterClass",kind:e.kind,negate:e.negate,body:co(t==null?void 0:t.body)}}function kc(t,e){if(e.value<t.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:t,max:e}}function on(t,e){const n=!!(e!=null&&e.negate),r={type:"CharacterSet",kind:t};return(t==="digit"||t==="hex"||t==="newline"||t==="space"||t==="word")&&(r.negate=n),(t==="text_segment"||t==="newline"&&!n)&&(r.variableLength=!0),r}function wc(t,e={}){if(t==="keep")return{type:"Directive",kind:t};if(t==="flags")return{type:"Directive",kind:t,flags:Le(e.flags)};throw new Error(`Unexpected directive kind "${t}"`)}function vc(t){return{type:"Flags",...t}}function z(t){const e=t==null?void 0:t.atomic,n=t==null?void 0:t.flags;if(e&&n)throw new Error("Atomic group cannot have flags");return{type:"Group",...e&&{atomic:e},...n&&{flags:n},body:Ve(t==null?void 0:t.body)}}function de(t){const e={behind:!1,negate:!1,...t};return{type:"LookaroundAssertion",kind:e.behind?"lookbehind":"lookahead",negate:e.negate,body:Ve(t==null?void 0:t.body)}}function Cc(t,e,n){return{type:"NamedCallout",kind:t,tag:e,arguments:n}}function _c(t,e){const n=!!(e!=null&&e.negate);if(!bn.has(t))throw new Error(`Invalid POSIX class "${t}"`);return{type:"CharacterSet",kind:"posix",value:t,negate:n}}function io(t,e,n,r){if(e>n)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:t,min:e,max:n,body:r}}function Sc(t,e){return{type:"Regex",body:Ve(e==null?void 0:e.body),flags:t}}function so(t){return{type:"Subroutine",ref:t}}function Se(t,e){var o;const n={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...e};let r=(o=n.unicodePropertyMap)==null?void 0:o.get(_t(t));if(!r){if(n.normalizeUnknownPropertyNames)r=Ic(t);else if(n.unicodePropertyMap&&!n.skipPropertyNameValidation)throw new Error(N`Invalid Unicode property "\p{${t}}"`)}return{type:"CharacterSet",kind:"property",value:r??t,negate:n.negate}}function xc({flags:t,kind:e,name:n,negate:r,number:o}){switch(e){case"absence_repeater":return yc("repeater");case"atomic":return z({atomic:!0});case"capturing":return ao(o,{name:n});case"group":return z({flags:t});case"lookahead":case"lookbehind":return de({behind:e==="lookbehind",negate:r});default:throw new Error(`Unexpected group kind "${e}"`)}}function Ve(t){if(t===void 0)t=[be()];else if(!Array.isArray(t)||!t.length||!t.every(e=>e.type==="Alternative"))throw new Error("Invalid body; expected array of one or more Alternative nodes");return t}function co(t){if(t===void 0)t=[];else if(!Array.isArray(t)||!t.every(e=>!!e.type))throw new Error("Invalid body; expected array of nodes");return t}function Yn(t){return t.type==="LookaroundAssertion"&&t.kind==="lookahead"}function Zn(t){return t.type==="LookaroundAssertion"&&t.kind==="lookbehind"}function Bc(t){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(t)}function Ic(t){return t.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,e=>e[0].toUpperCase()+e.slice(1).toLowerCase())}function _t(t){return t.replace(/[- _]+/g,"").toLowerCase()}function er(t,e){return Le(t,`${(e==null?void 0:e.type)==="Character"&&e.value===93?"Empty":"Unclosed"} character class`)}function tr(t){return Le(t,"Unclosed group")}function Oe(t,e,n=null){function r(a,i){for(let c=0;c<a.length;c++){const s=o(a[c],i,c,a);c=Math.max(-1,c+s)}}function o(a,i=null,c=null,s=null){var y,w;let l=0,u=!1;const d={node:a,parent:i,key:c,container:s,root:t,remove(){tt(s).splice(Math.max(0,ve(c)+l),1),l--,u=!0},removeAllNextSiblings(){return tt(s).splice(ve(c)+1)},removeAllPrevSiblings(){const v=ve(c)+l;return l-=v,tt(s).splice(0,Math.max(0,v))},replaceWith(v,_={}){const x=!!_.traverse;s?s[Math.max(0,ve(c)+l)]=v:Le(i,"Can't replace root node")[c]=v,x&&o(v,i,c,s),u=!0},replaceWithMultiple(v,_={}){const x=!!_.traverse;if(tt(s).splice(Math.max(0,ve(c)+l),1,...v),l+=v.length-1,x){let A=0;for(let B=0;B<v.length;B++)A+=o(v[B],i,ve(c)+B+A,s)}u=!0},skip(){u=!0}},{type:g}=a,f=e["*"],p=e[g],k=typeof f=="function"?f:f==null?void 0:f.enter,m=typeof p=="function"?p:p==null?void 0:p.enter;if(k==null||k(d,n),m==null||m(d,n),!u)switch(g){case"AbsenceFunction":case"CapturingGroup":case"Group":r(a.body,a);break;case"Alternative":case"CharacterClass":r(a.body,a);break;case"Assertion":case"Backreference":case"Character":case"CharacterSet":case"Directive":case"Flags":case"NamedCallout":case"Subroutine":break;case"CharacterClassRange":o(a.min,a,"min"),o(a.max,a,"max");break;case"LookaroundAssertion":r(a.body,a);break;case"Quantifier":o(a.body,a,"body");break;case"Regex":r(a.body,a),o(a.flags,a,"flags");break;default:throw new Error(`Unexpected node type "${g}"`)}return(y=p==null?void 0:p.exit)==null||y.call(p,d,n),(w=f==null?void 0:f.exit)==null||w.call(f,d,n),l}return o(t),t}function tt(t){if(!Array.isArray(t))throw new Error("Container expected");return t}function ve(t){if(typeof t!="number")throw new Error("Numeric key expected");return t}const Ec=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function Rc(t,e){for(let n=0;n<t.length;n++)t[n]>=e&&t[n]++}function Ac(t,e,n,r){return t.slice(0,e)+r+t.slice(e+n.length)}const U=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function kn(t,e,n,r){const o=new RegExp(String.raw`${e}|(?<$skip>\[\^?|\\?.)`,"gsu"),a=[!1];let i=0,c="";for(const s of t.matchAll(o)){const{0:l,groups:{$skip:u}}=s;if(!u&&(!r||r===U.DEFAULT==!i)){n instanceof Function?c+=n(s,{context:i?U.CHAR_CLASS:U.DEFAULT,negated:a[a.length-1]}):c+=n;continue}l[0]==="["?(i++,a.push(l[1]==="^")):l==="]"&&i&&(i--,a.pop()),c+=l}return c}function lo(t,e,n,r){kn(t,e,n,r)}function Fc(t,e,n=0,r){if(!new RegExp(e,"su").test(t))return null;const o=new RegExp(`${e}|(?<$skip>\\\\?.)`,"gsu");o.lastIndex=n;let a=0,i;for(;i=o.exec(t);){const{0:c,groups:{$skip:s}}=i;if(!s&&(!r||r===U.DEFAULT==!a))return i;c==="["?a++:c==="]"&&a&&a--,o.lastIndex==i.index&&o.lastIndex++}return null}function nt(t,e,n){return!!Fc(t,e,0,n)}function Lc(t,e){const n=/\\?./gsu;n.lastIndex=e;let r=t.length,o=0,a=1,i;for(;i=n.exec(t);){const[c]=i;if(c==="[")o++;else if(o)c==="]"&&o--;else if(c==="(")a++;else if(c===")"&&(a--,!a)){r=i.index;break}}return t.slice(e,r)}const nr=new RegExp(String.raw`(?<noncapturingStart>${Ec})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function Nc(t,e){const n=(e==null?void 0:e.hiddenCaptures)??[];let r=(e==null?void 0:e.captureTransfers)??new Map;if(!/\(\?>/.test(t))return{pattern:t,captureTransfers:r,hiddenCaptures:n};const o="(?>",a="(?:(?=(",i=[0],c=[];let s=0,l=0,u=NaN,d;do{d=!1;let g=0,f=0,p=!1,k;for(nr.lastIndex=Number.isNaN(u)?0:u+a.length;k=nr.exec(t);){const{0:m,index:y,groups:{capturingStart:w,noncapturingStart:v}}=k;if(m==="[")g++;else if(g)m==="]"&&g--;else if(m===o&&!p)u=y,p=!0;else if(p&&v)f++;else if(w)p?f++:(s++,i.push(s+l));else if(m===")"&&p){if(!f){l++;const _=s+l;if(t=`${t.slice(0,u)}${a}${t.slice(u+o.length,y)}))<$$${_}>)${t.slice(y+1)}`,d=!0,c.push(_),Rc(n,_),r.size){const x=new Map;r.forEach((A,B)=>{x.set(B>=_?B+1:B,A.map(M=>M>=_?M+1:M))}),r=x}break}f--}}}while(d);return n.push(...c),t=kn(t,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:g,groups:{backrefNum:f,wrappedBackrefNum:p}})=>{if(f){const k=+f;if(k>i.length-1)throw new Error(`Backref "${g}" greater than number of captures`);return`\\${i[k]}`}return`\\${p}`},U.DEFAULT),{pattern:t,captureTransfers:r,hiddenCaptures:n}}const uo=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,Ot=new RegExp(String.raw`
|
|
53
|
+
\\(?: \d+
|
|
54
|
+
| c[A-Za-z]
|
|
55
|
+
| [gk]<[^>]+>
|
|
56
|
+
| [pPu]\{[^\}]+\}
|
|
57
|
+
| u[A-Fa-f\d]{4}
|
|
58
|
+
| x[A-Fa-f\d]{2}
|
|
59
|
+
)
|
|
60
|
+
| \((?: \? (?: [:=!>]
|
|
61
|
+
| <(?:[=!]|[^>]+>)
|
|
62
|
+
| [A-Za-z\-]+:
|
|
63
|
+
| \(DEFINE\)
|
|
64
|
+
))?
|
|
65
|
+
| (?<qBase>${uo})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
|
|
66
|
+
| \\?.
|
|
67
|
+
`.replace(/\s+/g,""),"gsu");function Mc(t){if(!new RegExp(`${uo}\\+`).test(t))return{pattern:t};const e=[];let n=null,r=null,o="",a=0,i;for(Ot.lastIndex=0;i=Ot.exec(t);){const{0:c,index:s,groups:{qBase:l,qMod:u,invalidQ:d}}=i;if(c==="[")a||(r=s),a++;else if(c==="]")a?a--:r=null;else if(!a)if(u==="+"&&o&&!o.startsWith("(")){if(d)throw new Error(`Invalid quantifier "${c}"`);let g=-1;if(/^\{\d+\}$/.test(l))t=Ac(t,s+l.length,u,"");else{if(o===")"||o==="]"){const f=o===")"?n:r;if(f===null)throw new Error(`Invalid unmatched "${o}"`);t=`${t.slice(0,f)}(?>${t.slice(f,s)}${l})${t.slice(s+c.length)}`}else t=`${t.slice(0,s-o.length)}(?>${o}${l})${t.slice(s+c.length)}`;g+=4}Ot.lastIndex+=g}else c[0]==="("?e.push(s):c===")"&&(n=e.length?e.pop():null);o=c}return{pattern:t}}const q=String.raw,Tc=q`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,an=q`\(\?R=(?<rDepth>[^\)]+)\)|${Tc}`,St=q`\(\?<(?![=!])(?<captureName>[^>]+)>`,go=q`${St}|(?<unnamed>\()(?!\?)`,ue=new RegExp(q`${St}|${an}|\(\?|\\?.`,"gsu"),Gt="Cannot use multiple overlapping recursions";function Pc(t,e){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...e};let o=(e==null?void 0:e.captureTransfers)??new Map;if(!new RegExp(an,"su").test(t))return{pattern:t,captureTransfers:o,hiddenCaptures:n};if(r==="plugin"&&nt(t,q`\(\?\(DEFINE\)`,U.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const a=[],i=nt(t,q`\\[1-9]`,U.DEFAULT),c=new Map,s=[];let l=!1,u=0,d=0,g;for(ue.lastIndex=0;g=ue.exec(t);){const{0:f,groups:{captureName:p,rDepth:k,gRNameOrNum:m,gRDepth:y}}=g;if(f==="[")u++;else if(u)f==="]"&&u--;else if(k){if(rr(k),l)throw new Error(Gt);if(i)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const w=t.slice(0,g.index),v=t.slice(ue.lastIndex);if(nt(v,an,U.DEFAULT))throw new Error(Gt);const _=+k-1;t=or(w,v,_,!1,n,a,d),o=ir(o,w,_,a.length,0,d);break}else if(m){rr(y);let w=!1;for(const te of s)if(te.name===m||te.num===+m){if(w=!0,te.hasRecursedWithin)throw new Error(Gt);break}if(!w)throw new Error(q`Recursive \g cannot be used outside the referenced group "${r==="external"?m:q`\g<${m}&R=${y}>`}"`);const v=c.get(m),_=Lc(t,v);if(i&&nt(_,q`${St}|\((?!\?)`,U.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const x=t.slice(v,g.index),A=_.slice(x.length+f.length),B=a.length,M=+y-1,se=or(x,A,M,!0,n,a,d);o=ir(o,x,M,a.length-B,B,d);const ce=t.slice(0,v),Ne=t.slice(v+_.length);t=`${ce}${se}${Ne}`,ue.lastIndex+=se.length-f.length-x.length-A.length,s.forEach(te=>te.hasRecursedWithin=!0),l=!0}else if(p)d++,c.set(String(d),ue.lastIndex),c.set(p,ue.lastIndex),s.push({num:d,name:p});else if(f[0]==="("){const w=f==="(";w&&(d++,c.set(String(d),ue.lastIndex)),s.push(w?{num:d}:{})}else f===")"&&s.pop()}return n.push(...a),{pattern:t,captureTransfers:o,hiddenCaptures:n}}function rr(t){const e=`Max depth must be integer between 2 and 100; used ${t}`;if(!/^[1-9]\d*$/.test(t))throw new Error(e);if(t=+t,t<2||t>100)throw new Error(e)}function or(t,e,n,r,o,a,i){const c=new Set;r&&lo(t+e,St,({groups:{captureName:l}})=>{c.add(l)},U.DEFAULT);const s=[n,r?c:null,o,a,i];return`${t}${ar(`(?:${t}`,"forward",...s)}(?:)${ar(`${e})`,"backward",...s)}${e}`}function ar(t,e,n,r,o,a,i){const s=u=>e==="forward"?u+2:n-u+2-1;let l="";for(let u=0;u<n;u++){const d=s(u);l+=kn(t,q`${go}|\\k<(?<backref>[^>]+)>`,({0:g,groups:{captureName:f,unnamed:p,backref:k}})=>{if(k&&r&&!r.has(k))return g;const m=`_$${d}`;if(p||f){const y=i+a.length+1;return a.push(y),$c(o,y),p?g:`(?<${f}${m}>`}return q`\k<${k}${m}>`},U.DEFAULT)}return l}function $c(t,e){for(let n=0;n<t.length;n++)t[n]>=e&&t[n]++}function ir(t,e,n,r,o,a){if(t.size&&r){let i=0;lo(e,go,()=>i++,U.DEFAULT);const c=a-i+o,s=new Map;return t.forEach((l,u)=>{const d=(r-i*n)/n,g=i*n,f=u>c+i?u+r:u,p=[];for(const k of l)if(k<=c)p.push(k);else if(k>c+i+d)p.push(k+r);else if(k<=c+i)for(let m=0;m<=n;m++)p.push(k+i*m);else for(let m=0;m<=n;m++)p.push(k+g+d*m);s.set(f,p)}),s}return t}var F=String.fromCodePoint,C=String.raw,ee={flagGroups:(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),unicodeSets:(()=>{try{new RegExp("","v")}catch{return!1}return!0})()};ee.bugFlagVLiteralHyphenIsRange=ee.unicodeSets?(()=>{try{new RegExp(C`[\d\-a]`,"v")}catch{return!0}return!1})():!1;ee.bugNestedClassIgnoresNegation=ee.unicodeSets&&new RegExp("[[^a]]","v").test("a");function kt(t,{enable:e,disable:n}){return{dotAll:!(n!=null&&n.dotAll)&&!!(e!=null&&e.dotAll||t.dotAll),ignoreCase:!(n!=null&&n.ignoreCase)&&!!(e!=null&&e.ignoreCase||t.ignoreCase)}}function qe(t,e,n){return t.has(e)||t.set(e,n),t.get(e)}function sn(t,e){return sr[t]>=sr[e]}function Oc(t,e){if(t==null)throw new Error(e??"Value expected");return t}var sr={ES2025:2025,ES2024:2024,ES2018:2018},Gc={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function fo(t={}){if({}.toString.call(t)!=="[object Object]")throw new Error("Unexpected options");if(t.target!==void 0&&!Gc[t.target])throw new Error(`Unexpected target "${t.target}"`);const e={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...t,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...t.rules}};return e.target==="auto"&&(e.target=ee.flagGroups?"ES2025":ee.unicodeSets?"ES2024":"ES2018"),e}var jc="[ -\r ]",Dc=new Set([F(304),F(305)]),X=C`[\p{L}\p{M}\p{N}\p{Pc}]`;function po(t){if(Dc.has(t))return[t];const e=new Set,n=t.toLowerCase(),r=n.toUpperCase(),o=Uc.get(n),a=Hc.get(n),i=qc.get(n);return[...r].length===1&&e.add(r),i&&e.add(i),o&&e.add(o),e.add(n),a&&e.add(a),[...e]}var wn=new Map(`C Other
|
|
68
|
+
Cc Control cntrl
|
|
69
|
+
Cf Format
|
|
70
|
+
Cn Unassigned
|
|
71
|
+
Co Private_Use
|
|
72
|
+
Cs Surrogate
|
|
73
|
+
L Letter
|
|
74
|
+
LC Cased_Letter
|
|
75
|
+
Ll Lowercase_Letter
|
|
76
|
+
Lm Modifier_Letter
|
|
77
|
+
Lo Other_Letter
|
|
78
|
+
Lt Titlecase_Letter
|
|
79
|
+
Lu Uppercase_Letter
|
|
80
|
+
M Mark Combining_Mark
|
|
81
|
+
Mc Spacing_Mark
|
|
82
|
+
Me Enclosing_Mark
|
|
83
|
+
Mn Nonspacing_Mark
|
|
84
|
+
N Number
|
|
85
|
+
Nd Decimal_Number digit
|
|
86
|
+
Nl Letter_Number
|
|
87
|
+
No Other_Number
|
|
88
|
+
P Punctuation punct
|
|
89
|
+
Pc Connector_Punctuation
|
|
90
|
+
Pd Dash_Punctuation
|
|
91
|
+
Pe Close_Punctuation
|
|
92
|
+
Pf Final_Punctuation
|
|
93
|
+
Pi Initial_Punctuation
|
|
94
|
+
Po Other_Punctuation
|
|
95
|
+
Ps Open_Punctuation
|
|
96
|
+
S Symbol
|
|
97
|
+
Sc Currency_Symbol
|
|
98
|
+
Sk Modifier_Symbol
|
|
99
|
+
Sm Math_Symbol
|
|
100
|
+
So Other_Symbol
|
|
101
|
+
Z Separator
|
|
102
|
+
Zl Line_Separator
|
|
103
|
+
Zp Paragraph_Separator
|
|
104
|
+
Zs Space_Separator
|
|
105
|
+
ASCII
|
|
106
|
+
ASCII_Hex_Digit AHex
|
|
107
|
+
Alphabetic Alpha
|
|
108
|
+
Any
|
|
109
|
+
Assigned
|
|
110
|
+
Bidi_Control Bidi_C
|
|
111
|
+
Bidi_Mirrored Bidi_M
|
|
112
|
+
Case_Ignorable CI
|
|
113
|
+
Cased
|
|
114
|
+
Changes_When_Casefolded CWCF
|
|
115
|
+
Changes_When_Casemapped CWCM
|
|
116
|
+
Changes_When_Lowercased CWL
|
|
117
|
+
Changes_When_NFKC_Casefolded CWKCF
|
|
118
|
+
Changes_When_Titlecased CWT
|
|
119
|
+
Changes_When_Uppercased CWU
|
|
120
|
+
Dash
|
|
121
|
+
Default_Ignorable_Code_Point DI
|
|
122
|
+
Deprecated Dep
|
|
123
|
+
Diacritic Dia
|
|
124
|
+
Emoji
|
|
125
|
+
Emoji_Component EComp
|
|
126
|
+
Emoji_Modifier EMod
|
|
127
|
+
Emoji_Modifier_Base EBase
|
|
128
|
+
Emoji_Presentation EPres
|
|
129
|
+
Extended_Pictographic ExtPict
|
|
130
|
+
Extender Ext
|
|
131
|
+
Grapheme_Base Gr_Base
|
|
132
|
+
Grapheme_Extend Gr_Ext
|
|
133
|
+
Hex_Digit Hex
|
|
134
|
+
IDS_Binary_Operator IDSB
|
|
135
|
+
IDS_Trinary_Operator IDST
|
|
136
|
+
ID_Continue IDC
|
|
137
|
+
ID_Start IDS
|
|
138
|
+
Ideographic Ideo
|
|
139
|
+
Join_Control Join_C
|
|
140
|
+
Logical_Order_Exception LOE
|
|
141
|
+
Lowercase Lower
|
|
142
|
+
Math
|
|
143
|
+
Noncharacter_Code_Point NChar
|
|
144
|
+
Pattern_Syntax Pat_Syn
|
|
145
|
+
Pattern_White_Space Pat_WS
|
|
146
|
+
Quotation_Mark QMark
|
|
147
|
+
Radical
|
|
148
|
+
Regional_Indicator RI
|
|
149
|
+
Sentence_Terminal STerm
|
|
150
|
+
Soft_Dotted SD
|
|
151
|
+
Terminal_Punctuation Term
|
|
152
|
+
Unified_Ideograph UIdeo
|
|
153
|
+
Uppercase Upper
|
|
154
|
+
Variation_Selector VS
|
|
155
|
+
White_Space space
|
|
156
|
+
XID_Continue XIDC
|
|
157
|
+
XID_Start XIDS`.split(/\s/).map(t=>[_t(t),t])),Hc=new Map([["s",F(383)],[F(383),"s"]]),qc=new Map([[F(223),F(7838)],[F(107),F(8490)],[F(229),F(8491)],[F(969),F(8486)]]),Uc=new Map([ne(453),ne(456),ne(459),ne(498),...jt(8072,8079),...jt(8088,8095),...jt(8104,8111),ne(8124),ne(8140),ne(8188)]),Wc=new Map([["alnum",C`[\p{Alpha}\p{Nd}]`],["alpha",C`\p{Alpha}`],["ascii",C`\p{ASCII}`],["blank",C`[\p{Zs}\t]`],["cntrl",C`\p{Cc}`],["digit",C`\p{Nd}`],["graph",C`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",C`\p{Lower}`],["print",C`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",C`[\p{P}\p{S}]`],["space",C`\p{space}`],["upper",C`\p{Upper}`],["word",C`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",C`\p{AHex}`]]);function zc(t,e){const n=[];for(let r=t;r<=e;r++)n.push(r);return n}function ne(t){const e=F(t);return[e.toLowerCase(),e]}function jt(t,e){return zc(t,e).map(n=>ne(n))}var ho=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function Vc(t,e){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...e};mo(t);const r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:sn(n.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:t.flags.digitIsAscii,spaceIsAscii:t.flags.spaceIsAscii,wordIsAscii:t.flags.wordIsAscii};Oe(t,Kc,r);const o={dotAll:t.flags.dotAll,ignoreCase:t.flags.ignoreCase},a={currentFlags:o,prevFlags:null,globalFlags:o,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};Oe(t,Xc,a);const i={groupsByName:a.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:a.reffedNodesByReferencer};return Oe(t,Qc,i),t._originMap=a.groupOriginByCopy,t._strategy=r.strategy,t}var Kc={AbsenceFunction({node:t,parent:e,replaceWith:n}){const{body:r,kind:o}=t;if(o==="repeater"){const a=z();a.body[0].body.push(de({negate:!0,body:r}),Se("Any"));const i=z();i.body[0].body.push(io("greedy",0,1/0,a)),n(E(i,e),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:t,parent:e,key:n},{flagDirectivesByAlt:r}){const o=t.body.filter(a=>a.kind==="flags");for(let a=n+1;a<e.body.length;a++){const i=e.body[a];qe(r,i,[]).push(...o)}},exit({node:t},{flagDirectivesByAlt:e}){var n;if((n=e.get(t))!=null&&n.length){const r=yo(e.get(t));if(r){const o=z({flags:r});o.body[0].body=t.body,t.body=[E(o,t)]}}}},Assertion({node:t,parent:e,key:n,container:r,root:o,remove:a,replaceWith:i},c){const{kind:s,negate:l}=t,{asciiWordBoundaries:u,avoidSubclass:d,supportedGNodes:g,wordIsAscii:f}=c;if(s==="text_segment_boundary")throw new Error(`Unsupported text segment boundary "\\${l?"Y":"y"}"`);if(s==="line_end")i(E(de({body:[be({body:[nn("string_end")]}),be({body:[Ct(10)]})]}),e));else if(s==="line_start")i(E(Q(C`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),e));else if(s==="search_start")if(g.has(t))o.flags.sticky=!0,a();else{const p=r[n-1];if(p&&nl(p))i(E(de({negate:!0}),e));else{if(d)throw new Error(C`Uses "\G" in a way that requires a subclass`);i(re(nn("string_start"),e)),c.strategy="clip_search"}}else if(!(s==="string_end"||s==="string_start"))if(s==="string_end_newline")i(E(Q(C`(?=\n?\z)`),e));else if(s==="word_boundary"){if(!f&&!u){const p=`(?:(?<=${X})(?!${X})|(?<!${X})(?=${X}))`,k=`(?:(?<=${X})(?=${X})|(?<!${X})(?!${X}))`;i(E(Q(l?k:p),e))}}else throw new Error(`Unexpected assertion kind "${s}"`)},Backreference({node:t},{jsGroupNameMap:e}){let{ref:n}=t;typeof n=="string"&&!Ht(n)&&(n=Dt(n,e),t.ref=n)},CapturingGroup({node:t},{jsGroupNameMap:e,subroutineRefMap:n}){let{name:r}=t;r&&!Ht(r)&&(r=Dt(r,e),t.name=r),n.set(t.number,t),r&&n.set(r,t)},CharacterClassRange({node:t,parent:e,replaceWith:n}){if(e.kind==="intersection"){const r=st({body:[t]});n(E(r,e),{traverse:!0})}},CharacterSet({node:t,parent:e,replaceWith:n},{accuracy:r,minTargetEs2024:o,digitIsAscii:a,spaceIsAscii:i,wordIsAscii:c}){const{kind:s,negate:l,value:u}=t;if(a&&(s==="digit"||u==="digit")){n(re(on("digit",{negate:l}),e));return}if(i&&(s==="space"||u==="space")){n(E(qt(Q(jc),l),e));return}if(c&&(s==="word"||u==="word")){n(re(on("word",{negate:l}),e));return}if(s==="any")n(re(Se("Any"),e));else if(s==="digit")n(re(Se("Nd",{negate:l}),e));else if(s!=="dot")if(s==="text_segment"){if(r==="strict")throw new Error(C`Use of "\X" requires non-strict accuracy`);const d="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",g=C`\p{RI}{2}|${d}(?:\u200D${d})*`;n(E(Q(C`(?>\r\n|${o?C`\p{RGI_Emoji}`:g}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),e))}else if(s==="hex")n(re(Se("AHex",{negate:l}),e));else if(s==="newline")n(E(Q(l?`[^
|
|
158
|
+
]`:`(?>\r
|
|
159
|
+
?|[
|
|
160
|
+
\v\f
\u2028\u2029])`),e));else if(s==="posix")if(!o&&(u==="graph"||u==="print")){if(r==="strict")throw new Error(`POSIX class "${u}" requires min target ES2024 or non-strict accuracy`);let d={graph:"!-~",print:" -~"}[u];l&&(d=`\0-${F(d.codePointAt(0)-1)}${F(d.codePointAt(2)+1)}-`),n(E(Q(`[${d}]`),e))}else n(E(qt(Q(Wc.get(u)),l),e));else if(s==="property")wn.has(_t(u))||(t.key="sc");else if(s==="space")n(re(Se("space",{negate:l}),e));else if(s==="word")n(E(qt(Q(X),l),e));else throw new Error(`Unexpected character set kind "${s}"`)},Directive({node:t,parent:e,root:n,remove:r,replaceWith:o,removeAllPrevSiblings:a,removeAllNextSiblings:i}){const{kind:c,flags:s}=t;if(c==="flags")if(!s.enable&&!s.disable)r();else{const l=z({flags:s});l.body[0].body=i(),o(E(l,e),{traverse:!0})}else if(c==="keep"){const l=n.body[0],d=n.body.length===1&&ro(l,{type:"Group"})&&l.body[0].body.length===1?l.body[0]:n;if(e.parent!==d||d.body.length>1)throw new Error(C`Uses "\K" in a way that's unsupported`);const g=de({behind:!0});g.body[0].body=a(),o(E(g,e))}else throw new Error(`Unexpected directive kind "${c}"`)},Flags({node:t,parent:e}){if(t.posixIsAscii)throw new Error('Unsupported flag "P"');if(t.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(n=>delete t[n]),Object.assign(t,{global:!1,hasIndices:!1,multiline:!1,sticky:t.sticky??!1}),e.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:t}){if(!t.flags)return;const{enable:e,disable:n}=t.flags;e!=null&&e.extended&&delete e.extended,n!=null&&n.extended&&delete n.extended,e!=null&&e.dotAll&&(n!=null&&n.dotAll)&&delete e.dotAll,e!=null&&e.ignoreCase&&(n!=null&&n.ignoreCase)&&delete e.ignoreCase,e&&!Object.keys(e).length&&delete t.flags.enable,n&&!Object.keys(n).length&&delete t.flags.disable,!t.flags.enable&&!t.flags.disable&&delete t.flags},LookaroundAssertion({node:t},e){const{kind:n}=t;n==="lookbehind"&&(e.passedLookbehind=!0)},NamedCallout({node:t,parent:e,replaceWith:n}){const{kind:r}=t;if(r==="fail")n(E(de({negate:!0}),e));else throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`)},Quantifier({node:t}){if(t.body.type==="Quantifier"){const e=z();e.body[0].body.push(t.body),t.body=E(e,t)}},Regex:{enter({node:t},{supportedGNodes:e}){const n=[];let r=!1,o=!1;for(const a of t.body)if(a.body.length===1&&a.body[0].kind==="search_start")a.body.pop();else{const i=wo(a.body);i?(r=!0,Array.isArray(i)?n.push(...i):n.push(i)):o=!0}r&&!o&&n.forEach(a=>e.add(a))},exit(t,{accuracy:e,passedLookbehind:n,strategy:r}){if(e==="strict"&&n&&r)throw new Error(C`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:t},{jsGroupNameMap:e}){let{ref:n}=t;typeof n=="string"&&!Ht(n)&&(n=Dt(n,e),t.ref=n)}},Xc={Backreference({node:t},{multiplexCapturesToLeftByRef:e,reffedNodesByReferencer:n}){const{orphan:r,ref:o}=t;r||n.set(t,[...e.get(o).map(({node:a})=>a)])},CapturingGroup:{enter({node:t,parent:e,replaceWith:n,skip:r},{groupOriginByCopy:o,groupsByName:a,multiplexCapturesToLeftByRef:i,openRefs:c,reffedNodesByReferencer:s}){const l=o.get(t);if(l&&c.has(t.number)){const d=re(cr(t.number),e);s.set(d,c.get(t.number)),n(d);return}c.set(t.number,t),i.set(t.number,[]),t.name&&qe(i,t.name,[]);const u=i.get(t.name??t.number);for(let d=0;d<u.length;d++){const g=u[d];if(l===g.node||l&&l===g.origin||t===g.origin){u.splice(d,1);break}}if(i.get(t.number).push({node:t,origin:l}),t.name&&i.get(t.name).push({node:t,origin:l}),t.name){const d=qe(a,t.name,new Map);let g=!1;if(l)g=!0;else for(const f of d.values())if(!f.hasDuplicateNameToRemove){g=!0;break}a.get(t.name).set(t,{node:t,hasDuplicateNameToRemove:g})}},exit({node:t},{openRefs:e}){e.delete(t.number)}},Group:{enter({node:t},e){e.prevFlags=e.currentFlags,t.flags&&(e.currentFlags=kt(e.currentFlags,t.flags))},exit(t,e){e.currentFlags=e.prevFlags}},Subroutine({node:t,parent:e,replaceWith:n},r){const{isRecursive:o,ref:a}=t;if(o){let u=e;for(;(u=u.parent)&&!(u.type==="CapturingGroup"&&(u.name===a||u.number===a)););r.reffedNodesByReferencer.set(t,u);return}const i=r.subroutineRefMap.get(a),c=a===0,s=c?cr(0):bo(i,r.groupOriginByCopy,null);let l=s;if(!c){const u=yo(Zc(i,g=>g.type==="Group"&&!!g.flags)),d=u?kt(r.globalFlags,u):r.globalFlags;Jc(d,r.currentFlags)||(l=z({flags:el(d)}),l.body[0].body.push(s))}n(E(l,e),{traverse:!c})}},Qc={Backreference({node:t,parent:e,replaceWith:n},r){if(t.orphan){r.highestOrphanBackref=Math.max(r.highestOrphanBackref,t.ref);return}const a=r.reffedNodesByReferencer.get(t).filter(i=>Yc(i,t));if(!a.length)n(E(de({negate:!0}),e));else if(a.length>1){const i=z({atomic:!0,body:a.reverse().map(c=>be({body:[rn(c.number)]}))});n(E(i,e))}else t.ref=a[0].number},CapturingGroup({node:t},e){t.number=++e.numCapturesToLeft,t.name&&e.groupsByName.get(t.name).get(t).hasDuplicateNameToRemove&&delete t.name},Regex:{exit({node:t},e){const n=Math.max(e.highestOrphanBackref-e.numCapturesToLeft,0);for(let r=0;r<n;r++){const o=ao();t.body.at(-1).body.push(o)}}},Subroutine({node:t},e){!t.isRecursive||t.ref===0||(t.ref=e.reffedNodesByReferencer.get(t).number)}};function mo(t){Oe(t,{"*"({node:e,parent:n}){e.parent=n}})}function Jc(t,e){return t.dotAll===e.dotAll&&t.ignoreCase===e.ignoreCase}function Yc(t,e){let n=e;do{if(n.type==="Regex")return!1;if(n.type==="Alternative")continue;if(n===t)return!1;const r=ko(n.parent);for(const o of r){if(o===n)break;if(o===t||vo(o,t))return!0}}while(n=n.parent);throw new Error("Unexpected path")}function bo(t,e,n,r){const o=Array.isArray(t)?[]:{};for(const[a,i]of Object.entries(t))a==="parent"?o.parent=Array.isArray(n)?r:n:i&&typeof i=="object"?o[a]=bo(i,e,o,n):(a==="type"&&i==="CapturingGroup"&&e.set(o,e.get(t)??t),o[a]=i);return o}function cr(t){const e=so(t);return e.isRecursive=!0,e}function Zc(t,e){const n=[];for(;t=t.parent;)(!e||e(t))&&n.push(t);return n}function Dt(t,e){if(e.has(t))return e.get(t);const n=`$${e.size}_${t.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return e.set(t,n),n}function yo(t){const e=["dotAll","ignoreCase"],n={enable:{},disable:{}};return t.forEach(({flags:r})=>{e.forEach(o=>{var a,i;(a=r.enable)!=null&&a[o]&&(delete n.disable[o],n.enable[o]=!0),(i=r.disable)!=null&&i[o]&&(n.disable[o]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}function el({dotAll:t,ignoreCase:e}){const n={};return(t||e)&&(n.enable={},t&&(n.enable.dotAll=!0),e&&(n.enable.ignoreCase=!0)),(!t||!e)&&(n.disable={},!t&&(n.disable.dotAll=!0),!e&&(n.disable.ignoreCase=!0)),n}function ko(t){if(!t)throw new Error("Node expected");const{body:e}=t;return Array.isArray(e)?e:e?[e]:null}function wo(t){const e=t.find(n=>n.kind==="search_start"||rl(n,{negate:!1})||!tl(n));if(!e)return null;if(e.kind==="search_start")return e;if(e.type==="LookaroundAssertion")return e.body[0].body[0];if(e.type==="CapturingGroup"||e.type==="Group"){const n=[];for(const r of e.body){const o=wo(r.body);if(!o)return null;Array.isArray(o)?n.push(...o):n.push(o)}return n}return null}function vo(t,e){const n=ko(t)??[];for(const r of n)if(r===e||vo(r,e))return!0;return!1}function tl({type:t}){return t==="Assertion"||t==="Directive"||t==="LookaroundAssertion"}function nl(t){const e=["Character","CharacterClass","CharacterSet"];return e.includes(t.type)||t.type==="Quantifier"&&t.min&&e.includes(t.body.type)}function rl(t,e){const n={negate:null,...e};return t.type==="LookaroundAssertion"&&(n.negate===null||t.negate===n.negate)&&t.body.length===1&&ro(t.body[0],{type:"Assertion",kind:"search_start"})}function Ht(t){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(t)}function Q(t,e){const r=oo(t,{...e,unicodePropertyMap:wn}).body;return r.length>1||r[0].body.length>1?z({body:r}):r[0].body[0]}function qt(t,e){return t.negate=e,t}function re(t,e){return t.parent=e,t}function E(t,e){return mo(t),t.parent=e,t}function ol(t,e){const n=fo(e),r=sn(n.target,"ES2024"),o=sn(n.target,"ES2025"),a=n.rules.recursionLimit;if(!Number.isInteger(a)||a<2||a>20)throw new Error("Invalid recursionLimit; use 2-20");let i=null,c=null;if(!o){const f=[t.flags.ignoreCase];Oe(t,al,{getCurrentModI:()=>f.at(-1),popModI(){f.pop()},pushModI(p){f.push(p)},setHasCasedChar(){f.at(-1)?i=!0:c=!0}})}const s={dotAll:t.flags.dotAll,ignoreCase:!!((t.flags.ignoreCase||i)&&!c)};let l=t;const u={accuracy:n.accuracy,appliedGlobalFlags:s,captureMap:new Map,currentFlags:{dotAll:t.flags.dotAll,ignoreCase:t.flags.ignoreCase},inCharClass:!1,lastNode:l,originMap:t._originMap,recursionLimit:a,useAppliedIgnoreCase:!!(!o&&i&&c),useFlagMods:o,useFlagV:r,verbose:n.verbose};function d(f){return u.lastNode=l,l=f,Oc(il[f.type],`Unexpected node type "${f.type}"`)(f,u,d)}const g={pattern:t.body.map(d).join("|"),flags:d(t.flags),options:{...t.options}};return r||(delete g.options.force.v,g.options.disable.v=!0,g.options.unicodeSetsPlugin=null),g._captureTransfers=new Map,g._hiddenCaptures=[],u.captureMap.forEach((f,p)=>{f.hidden&&g._hiddenCaptures.push(p),f.transferTo&&qe(g._captureTransfers,f.transferTo,[]).push(p)}),g}var al={"*":{enter({node:t},e){if(ur(t)){const n=e.getCurrentModI();e.pushModI(t.flags?kt({ignoreCase:n},t.flags).ignoreCase:n)}},exit({node:t},e){ur(t)&&e.popModI()}},Backreference(t,e){e.setHasCasedChar()},Character({node:t},e){vn(F(t.value))&&e.setHasCasedChar()},CharacterClassRange({node:t,skip:e},n){e(),Co(t,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:t},e){t.kind==="property"&&ho.has(t.value)&&e.setHasCasedChar()}},il={Alternative({body:t},e,n){return t.map(n).join("")},Assertion({kind:t,negate:e}){if(t==="string_end")return"$";if(t==="string_start")return"^";if(t==="word_boundary")return e?C`\B`:C`\b`;throw new Error(`Unexpected assertion kind "${t}"`)},Backreference({ref:t},e){if(typeof t!="number")throw new Error("Unexpected named backref in transformed AST");if(!e.useFlagMods&&e.accuracy==="strict"&&e.currentFlags.ignoreCase&&!e.captureMap.get(t).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+t},CapturingGroup(t,e,n){const{body:r,name:o,number:a}=t,i={ignoreCase:e.currentFlags.ignoreCase},c=e.originMap.get(t);return c&&(i.hidden=!0,a>c.number&&(i.transferTo=c.number)),e.captureMap.set(a,i),`(${o?`?<${o}>`:""}${r.map(n).join("|")})`},Character({value:t},e){const n=F(t),r=Ce(t,{escDigit:e.lastNode.type==="Backreference",inCharClass:e.inCharClass,useFlagV:e.useFlagV});if(r!==n)return r;if(e.useAppliedIgnoreCase&&e.currentFlags.ignoreCase&&vn(n)){const o=po(n);return e.inCharClass?o.join(""):o.length>1?`[${o.join("")}]`:o[0]}return n},CharacterClass(t,e,n){const{kind:r,negate:o,parent:a}=t;let{body:i}=t;if(r==="intersection"&&!e.useFlagV)throw new Error("Use of class intersection requires min target ES2024");ee.bugFlagVLiteralHyphenIsRange&&e.useFlagV&&i.some(dr)&&(i=[Ct(45),...i.filter(l=>!dr(l))]);const c=()=>`[${o?"^":""}${i.map(n).join(r==="intersection"?"&&":"")}]`;if(!e.inCharClass){if((!e.useFlagV||ee.bugNestedClassIgnoresNegation)&&!o){const u=i.filter(d=>d.type==="CharacterClass"&&d.kind==="union"&&d.negate);if(u.length){const d=z(),g=d.body[0];return d.parent=a,g.parent=d,i=i.filter(f=>!u.includes(f)),t.body=i,i.length?(t.parent=g,g.body.push(t)):d.body.pop(),u.forEach(f=>{const p=be({body:[f]});f.parent=p,p.parent=d,d.body.push(p)}),n(d)}}e.inCharClass=!0;const l=c();return e.inCharClass=!1,l}const s=i[0];if(r==="union"&&!o&&s&&((!e.useFlagV||!e.verbose)&&a.kind==="union"&&!(ee.bugFlagVLiteralHyphenIsRange&&e.useFlagV)||!e.verbose&&a.kind==="intersection"&&i.length===1&&s.type!=="CharacterClassRange"))return i.map(n).join("");if(!e.useFlagV&&a.type==="CharacterClass")throw new Error("Use of nested character class requires min target ES2024");return c()},CharacterClassRange(t,e){const n=t.min.value,r=t.max.value,o={escDigit:!1,inCharClass:!0,useFlagV:e.useFlagV},a=Ce(n,o),i=Ce(r,o),c=new Set;if(e.useAppliedIgnoreCase&&e.currentFlags.ignoreCase){const s=Co(t);dl(s).forEach(u=>{c.add(Array.isArray(u)?`${Ce(u[0],o)}-${Ce(u[1],o)}`:Ce(u,o))})}return`${a}-${i}${[...c].join("")}`},CharacterSet({kind:t,negate:e,value:n,key:r},o){if(t==="dot")return o.currentFlags.dotAll?o.appliedGlobalFlags.dotAll||o.useFlagMods?".":"[^]":C`[^\n]`;if(t==="digit")return e?C`\D`:C`\d`;if(t==="property"){if(o.useAppliedIgnoreCase&&o.currentFlags.ignoreCase&&ho.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${e?C`\P`:C`\p`}{${r?`${r}=`:""}${n}}`}if(t==="word")return e?C`\W`:C`\w`;throw new Error(`Unexpected character set kind "${t}"`)},Flags(t,e){return(e.appliedGlobalFlags.ignoreCase?"i":"")+(t.dotAll?"s":"")+(t.sticky?"y":"")},Group({atomic:t,body:e,flags:n,parent:r},o,a){const i=o.currentFlags;n&&(o.currentFlags=kt(i,n));const c=e.map(a).join("|"),s=!o.verbose&&e.length===1&&r.type!=="Quantifier"&&!t&&(!o.useFlagMods||!n)?c:`(?${gl(t,n,o.useFlagMods)}${c})`;return o.currentFlags=i,s},LookaroundAssertion({body:t,kind:e,negate:n},r,o){return`(?${`${e==="lookahead"?"":"<"}${n?"!":"="}`}${t.map(o).join("|")})`},Quantifier(t,e,n){return n(t.body)+fl(t)},Subroutine({isRecursive:t,ref:e},n){if(!t)throw new Error("Unexpected non-recursive subroutine in transformed AST");const r=n.recursionLimit;return e===0?`(?R=${r})`:C`\g<${e}&R=${r}>`}},sl=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),cl=new Set(["-","\\","]","^","["]),ll=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),lr=new Map([[9,C`\t`],[10,C`\n`],[11,C`\v`],[12,C`\f`],[13,C`\r`],[8232,C`\u2028`],[8233,C`\u2029`],[65279,C`\uFEFF`]]),ul=new RegExp("^\\p{Cased}$","u");function vn(t){return ul.test(t)}function Co(t,e){const n=!!(e!=null&&e.firstOnly),r=t.min.value,o=t.max.value,a=[];if(r<65&&(o===65535||o>=131071)||r===65536&&o>=131071)return a;for(let i=r;i<=o;i++){const c=F(i);if(!vn(c))continue;const s=po(c).filter(l=>{const u=l.codePointAt(0);return u<r||u>o});if(s.length&&(a.push(...s),n))break}return a}function Ce(t,{escDigit:e,inCharClass:n,useFlagV:r}){if(lr.has(t))return lr.get(t);if(t<32||t>126&&t<160||t>262143||e&&pl(t))return t>255?`\\u{${t.toString(16).toUpperCase()}}`:`\\x${t.toString(16).toUpperCase().padStart(2,"0")}`;const o=n?r?ll:cl:sl,a=F(t);return(o.has(a)?"\\":"")+a}function dl(t){const e=t.map(o=>o.codePointAt(0)).sort((o,a)=>o-a),n=[];let r=null;for(let o=0;o<e.length;o++)e[o+1]===e[o]+1?r??(r=e[o]):r===null?n.push(e[o]):(n.push([r,e[o]]),r=null);return n}function gl(t,e,n){if(t)return">";let r="";if(e&&n){const{enable:o,disable:a}=e;r=(o!=null&&o.ignoreCase?"i":"")+(o!=null&&o.dotAll?"s":"")+(a?"-":"")+(a!=null&&a.ignoreCase?"i":"")+(a!=null&&a.dotAll?"s":"")}return`${r}:`}function fl({kind:t,max:e,min:n}){let r;return!n&&e===1?r="?":!n&&e===1/0?r="*":n===1&&e===1/0?r="+":n===e?r=`{${n}}`:r=`{${n},${e===1/0?"":e}}`,r+{greedy:"",lazy:"?",possessive:"+"}[t]}function ur({type:t}){return t==="CapturingGroup"||t==="Group"||t==="LookaroundAssertion"}function pl(t){return t>47&&t<58}function dr({type:t,value:e}){return t==="Character"&&e===45}var oe,J,he,ae,me,Ue,cn,ie,hl=(ie=class extends RegExp{constructor(n,r,o){var e=(...Cu)=>(super(...Cu),le(this,Ue),le(this,oe,new Map),le(this,J,null),le(this,he),le(this,ae,null),le(this,me,null),h(this,"rawOptions",{}),this);const a=!!(o!=null&&o.lazyCompile);if(n instanceof RegExp){if(o)throw new Error("Cannot provide options when copying a regexp");const i=n;e(i,r),W(this,he,i.source),i instanceof ie&&(W(this,oe,O(i,oe)),W(this,ae,O(i,ae)),W(this,me,O(i,me)),this.rawOptions=i.rawOptions)}else{const i={hiddenCaptures:[],strategy:null,transfers:[],...o};e(a?"":n,r),W(this,he,n),W(this,oe,bl(i.hiddenCaptures,i.transfers)),W(this,me,i.strategy),this.rawOptions=o??{}}a||W(this,J,this)}get source(){return O(this,he)||"(?:)"}exec(n){if(!O(this,J)){const{lazyCompile:a,...i}=this.rawOptions;W(this,J,new ie(O(this,he),this.flags,i))}const r=this.global||this.sticky,o=this.lastIndex;if(O(this,me)==="clip_search"&&r&&o){this.lastIndex=0;const a=It(this,Ue,cn).call(this,n.slice(o));return a&&(ml(a,o,n,this.hasIndices),this.lastIndex+=o),a}return It(this,Ue,cn).call(this,n)}},oe=new WeakMap,J=new WeakMap,he=new WeakMap,ae=new WeakMap,me=new WeakMap,Ue=new WeakSet,cn=function(n){O(this,J).lastIndex=this.lastIndex;const r=Sn(ie.prototype,this,"exec").call(O(this,J),n);if(this.lastIndex=O(this,J).lastIndex,!r||!O(this,oe).size)return r;const o=[...r];r.length=1;let a;this.hasIndices&&(a=[...r.indices],r.indices.length=1);const i=[0];for(let c=1;c<o.length;c++){const{hidden:s,transferTo:l}=O(this,oe).get(c)??{};if(s?i.push(null):(i.push(r.length),r.push(o[c]),this.hasIndices&&r.indices.push(a[c])),l&&o[c]!==void 0){const u=i[l];if(!u)throw new Error(`Invalid capture transfer to "${u}"`);if(r[u]=o[c],this.hasIndices&&(r.indices[u]=a[c]),r.groups){O(this,ae)||W(this,ae,yl(this.source));const d=O(this,ae).get(l);d&&(r.groups[d]=o[c],this.hasIndices&&(r.indices.groups[d]=a[c]))}}}return r},ie);function ml(t,e,n,r){if(t.index+=e,t.input=n,r){const o=t.indices;for(let i=0;i<o.length;i++){const c=o[i];c&&(o[i]=[c[0]+e,c[1]+e])}const a=o.groups;a&&Object.keys(a).forEach(i=>{const c=a[i];c&&(a[i]=[c[0]+e,c[1]+e])})}}function bl(t,e){const n=new Map;for(const r of t)n.set(r,{hidden:!0});for(const[r,o]of e)for(const a of o)qe(n,a,{}).transferTo=r;return n}function yl(t){const e=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,n=new Map;let r=0,o=0,a;for(;a=e.exec(t);){const{0:i,groups:{capture:c,name:s}}=a;i==="["?r++:r?i==="]"&&r--:c&&(o++,s&&n.set(o,s))}return n}function kl(t,e){const n=wl(t,e);return n.options?new hl(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function wl(t,e){const n=fo(e),r=oo(t,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:wn}),o=Vc(r,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),a=ol(o,n),i=Pc(a.pattern,{captureTransfers:a._captureTransfers,hiddenCaptures:a._hiddenCaptures,mode:"external"}),c=Mc(i.pattern),s=Nc(c.pattern,{captureTransfers:i.captureTransfers,hiddenCaptures:i.hiddenCaptures}),l={pattern:s.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${a.flags}${a.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const u=s.hiddenCaptures.sort((p,k)=>p-k),d=Array.from(s.captureTransfers),g=o._strategy,f=l.pattern.length>=n.lazyCompileLength;(u.length||d.length||g||f)&&(l.options={...u.length&&{hiddenCaptures:u},...d.length&&{transfers:d},...g&&{strategy:g},...f&&{lazyCompile:f}})}return l}const gr=4294967295;class vl{constructor(e,n={}){h(this,"regexps");this.patterns=e,this.options=n;const{forgiving:r=!1,cache:o,regexConstructor:a}=n;if(!a)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(i=>{if(typeof i!="string")return i;const c=o==null?void 0:o.get(i);if(c){if(c instanceof RegExp)return c;if(r)return null;throw c}try{const s=a(i);return o==null||o.set(i,s),s}catch(s){if(o==null||o.set(i,s),r)return null;throw s}})}findNextMatchSync(e,n,r){const o=typeof e=="string"?e:e.content,a=[];function i(c,s,l=0){return{index:c,captureIndices:s.indices.map(u=>u==null?{start:gr,end:gr,length:0}:{start:u[0]+l,end:u[1]+l,length:u[1]-u[0]})}}for(let c=0;c<this.regexps.length;c++){const s=this.regexps[c];if(s)try{s.lastIndex=n;const l=s.exec(o);if(!l)continue;if(l.index===n)return i(c,l,0);a.push([c,l,0])}catch(l){if(this.options.forgiving)continue;throw l}}if(a.length){const c=Math.min(...a.map(s=>s[1].index));for(const[s,l,u]of a)if(l.index===c)return i(s,l,u)}return null}}function Cl(t,e){return kl(t,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...e})}function _l(t={}){const e=Object.assign({target:"auto",cache:new Map},t);return e.regexConstructor||(e.regexConstructor=n=>Cl(n,{target:e.target})),{createScanner(n){return new vl(n,e)},createString(n){return{content:n}}}}const Sl=()=>Eo("color-mode").value,xl="catppuccin-latte",Bl="catppuccin-mocha",fr={sql:"plsql",json:"json"};function Il(){const t=Sl(),e=Ut(),n=Ut(!0),r=rt(()=>t.value==="dark"?Bl:xl);Ro(async()=>{try{const s=await $s({themes:[Xo,Qo],langs:[Ko,zo],engine:_l()});e.value=s}catch(s){console.error("Failed to initialize code highlighter:",s)}finally{n.value=!1}});const o=(s,l="sql",u)=>{if(!e.value||!s)return`<pre><code>${El(s)}</code></pre>`;const d=fr[l]||"plsql";return e.value.codeToHtml(s,{lang:d,theme:r.value,decorations:u==null?void 0:u.decorations})};return{highlighter:e,isLoading:n,currentTheme:r,highlight:o,highlightTokens:(s,l="sql")=>{if(!e.value||!s)return[];const u=fr[l]||"plsql";return e.value.codeToTokens(s,{lang:u,theme:r.value})},highlightSql:s=>o(s,"sql"),highlightJson:s=>o(s,"json")}}function El(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const Rl={class:"rounded-lg border border-border/60 bg-muted/30 overflow-hidden shadow-sm"},Al={class:"flex items-center justify-between px-3 py-1 border-b border-border/40 bg-muted/50"},Fl={class:"text-[10px] font-semibold tracking-widest uppercase text-muted-foreground select-none"},Ll={class:"flex items-center text-xs justify-center p-0.5"},Nl=["innerHTML"],Ml={key:1,class:"p-3 text-xs font-mono whitespace-pre leading-relaxed text-foreground/80 m-0 w-fit min-w-full"},ql=Ao({__name:"CodeHighlightPreview",props:{code:{},language:{default:"sql"},showCopyButton:{type:Boolean,default:!0},maxHeight:{default:void 0},decorations:{default:()=>[]}},setup(t){const e=t,{highlight:n}=Il(),r=rt(()=>e.code?n(e.code,e.language,{decorations:e.decorations}):null),o=rt(()=>e.maxHeight?{maxHeight:e.maxHeight,overflowY:"auto"}:{}),a=Ut(!1);let i=null;const c=async()=>{if(e.code)try{await navigator.clipboard.writeText(e.code),a.value=!0,i&&clearTimeout(i),i=setTimeout(()=>{a.value=!1},1500)}catch{}},s=rt(()=>e.language.toUpperCase());return(l,u)=>{const d=Oo;return we(),Ke("div",Rl,[Xe("div",Al,[Xe("span",Fl,Rt(s.value),1),Et(Me(Fo),null,{default:Qe(()=>[Et(Me(Lo),{"as-child":""},{default:Qe(()=>[l.showCopyButton?(we(),xn(Me(Mo),{key:0,variant:"ghost",size:"xxs",class:To(["transition-colors duration-200",a.value?"text-emerald-500 dark:text-emerald-400":""]),onClick:c},{default:Qe(()=>[Po((we(),Ke("span",Ll,[(we(),xn(d,{key:a.value?"tick":"copy",name:a.value?"hugeicons:tick-02":"hugeicons:copy-01",class:"size-3.5"},null,8,["name"]))])),[[Me($o)]])]),_:1},8,["class"])):No("",!0)]),_:1}),Et(Me(Go),null,{default:Qe(()=>[Xe("p",null,Rt(a.value?"Copied!":"Copy code"),1)]),_:1})]),_:1})]),Xe("div",{style:jo(o.value)},[r.value?(we(),Ke("div",{key:0,class:"[&>pre]:p-3 [&>pre]:text-xs [&>pre]:font-mono [&>pre]:whitespace-pre [&>pre]:leading-relaxed [&>pre]:m-0 [&>pre]:w-fit [&>pre]:min-w-full [&>pre]:rounded-none",innerHTML:r.value},null,8,Nl)):(we(),Ke("pre",Ml,Rt(l.code),1))],4)])}}});export{ql as _,Ol as a,ot as b,jl as c,$s as d,Gl as e,_l as f,Xo as g,Ko as p,Sl as u};
|