@lamplitisles/codex-for-love 0.1.0-beta.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/codex-for-love.mjs +12 -3
- package/package.json +20 -5
- package/vendor/IMPORTS.md +18 -6
- package/vendor/build/_app/immutable/assets/2.D_B1Of5x.css +1 -0
- package/vendor/build/_app/immutable/chunks/BMiSuNVz.js +1 -0
- package/vendor/build/_app/immutable/entry/{app.CzGK3Nds.js → app.DBkGh5I7.js} +2 -2
- package/vendor/build/_app/immutable/entry/start.5Dogon7_.js +1 -0
- package/vendor/build/_app/immutable/nodes/{1.BTm4iS_m.js → 1.BNCm5L6_.js} +1 -1
- package/vendor/build/_app/immutable/nodes/{2.4zGk7wzR.js → 2.z56Ql74q.js} +1 -1
- package/vendor/build/_app/version.json +1 -1
- package/vendor/build/index.html +6 -6
- package/vendor/licenses/NotoSansSC-OFL-1.1.txt +93 -0
- package/vendor/licenses/jaminzhou-codex-app-server-client-MIT.txt +21 -0
- package/vendor/licenses/openai-codex-generated-Apache-2.0.txt +201 -0
- package/vendor/build/_app/immutable/assets/2.BeJIokfS.css +0 -1
- package/vendor/build/_app/immutable/chunks/zMUGUTxq.js +0 -1
- package/vendor/build/_app/immutable/entry/start.Clu1UYHv.js +0 -1
package/bin/codex-for-love.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { spawn } from 'node:child_process';
|
|
3
|
+
import { readFileSync } from 'node:fs';
|
|
3
4
|
import { createRequire } from 'node:module';
|
|
4
5
|
import { dirname, join } from 'node:path';
|
|
5
6
|
import { fileURLToPath } from 'node:url';
|
|
@@ -9,15 +10,23 @@ if (process.platform !== 'linux' || process.arch !== 'x64') {
|
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
const require = createRequire(import.meta.url);
|
|
13
|
+
const packageRoot = dirname(dirname(fileURLToPath(import.meta.url)));
|
|
14
|
+
const nativePackage = '@lamplitisles/codex-for-love-linux-x64';
|
|
15
|
+
const nativeVersion = JSON.parse(readFileSync(join(packageRoot, 'package.json'), 'utf8')).optionalDependencies?.[nativePackage];
|
|
16
|
+
if (typeof nativeVersion !== 'string') {
|
|
17
|
+
throw new Error(`Missing exact optional dependency declaration for ${nativePackage}.`);
|
|
18
|
+
}
|
|
12
19
|
let nativeRoot;
|
|
13
20
|
try {
|
|
14
|
-
nativeRoot = dirname(require.resolve(
|
|
21
|
+
nativeRoot = dirname(require.resolve(`${nativePackage}/package.json`));
|
|
15
22
|
} catch (error) {
|
|
16
|
-
throw new Error(
|
|
23
|
+
throw new Error(`Missing ${nativePackage}@${nativeVersion}. Reinstall the matching main package.`, { cause: error });
|
|
17
24
|
}
|
|
18
|
-
const packageRoot = dirname(dirname(fileURLToPath(import.meta.url)));
|
|
19
25
|
const child = spawn(process.execPath, [join(packageRoot, 'vendor', 'runtime', 'cli.mjs'), '--native-package-root', nativeRoot, ...process.argv.slice(2)], {
|
|
20
26
|
stdio: 'inherit',
|
|
21
27
|
});
|
|
22
28
|
child.on('error', (error) => { throw error; });
|
|
29
|
+
for (const signal of ['SIGINT', 'SIGTERM']) {
|
|
30
|
+
process.on(signal, () => child.kill(signal));
|
|
31
|
+
}
|
|
23
32
|
child.on('exit', (code, signal) => process.exitCode = code ?? (signal ? 1 : 0));
|
package/package.json
CHANGED
|
@@ -1,17 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lamplitisles/codex-for-love",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Codex for Love standalone app-server runtime",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
8
|
"codex-for-love": "bin/codex-for-love.mjs"
|
|
9
9
|
},
|
|
10
|
-
"files": [
|
|
10
|
+
"files": [
|
|
11
|
+
"bin",
|
|
12
|
+
"vendor",
|
|
13
|
+
"LICENSE",
|
|
14
|
+
"NOTICE",
|
|
15
|
+
"README.md"
|
|
16
|
+
],
|
|
11
17
|
"optionalDependencies": {
|
|
12
18
|
"@lamplitisles/codex-for-love-linux-x64": "0.1.0-beta.0"
|
|
13
19
|
},
|
|
14
|
-
"engines": {
|
|
15
|
-
|
|
16
|
-
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": ">=24"
|
|
22
|
+
},
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public",
|
|
25
|
+
"tag": "beta",
|
|
26
|
+
"registry": "https://registry.npmjs.org/"
|
|
27
|
+
},
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/LamplitIsles/codex-for-love.git"
|
|
31
|
+
}
|
|
17
32
|
}
|
package/vendor/IMPORTS.md
CHANGED
|
@@ -116,9 +116,10 @@ The imported LamplitIsles source described above is Apache-2.0; the repository
|
|
|
116
116
|
root [`LICENSE`](../LICENSE) supplies its terms.
|
|
117
117
|
|
|
118
118
|
Noto Sans SC is supplied through `@fontsource/noto-sans-sc` under SIL Open Font
|
|
119
|
-
License 1.1.
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
License 1.1. Release preparation copies its upstream `LICENSE` verbatim to
|
|
120
|
+
`vendor/licenses/NotoSansSC-OFL-1.1.txt` in the packed main package. The same
|
|
121
|
+
directory retains the SDK MIT and generated Codex Apache-2.0 license texts from
|
|
122
|
+
the repository's `licenses/` directory.
|
|
122
123
|
|
|
123
124
|
No obsolete nanocodex package artifacts, source checkout, or release claim is
|
|
124
125
|
part of the current application. The old artifact-preparation script was
|
|
@@ -130,6 +131,17 @@ The Linux x64 native npm package contains candidate
|
|
|
130
131
|
`cfl/v0.154.0-app-server-musl.1` from the LamplitIsles Codex fork revision
|
|
131
132
|
`445477b6a83514611ac206d2ab04b79374555a4c`. Its checked-in manifest at
|
|
132
133
|
`release/codex-artifact.json` pins the archive and executable SHA-256 values.
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
`@lamplitisles/codex-for-love-linux-x64@0.1.0-beta.0` is the published
|
|
135
|
+
distribution artifact and preserves its native `provenance.json`, license and
|
|
136
|
+
notice. Later CFL main releases continue to pin that exact native version until
|
|
137
|
+
an explicitly reviewed binary update publishes a replacement.
|
|
138
|
+
|
|
139
|
+
## npm publication workflow
|
|
140
|
+
|
|
141
|
+
`.github/workflows/publish.yml` and the narrow `scripts/release-*.mjs` helpers
|
|
142
|
+
adapt the OIDC publication sequence from `LamplitIsles/dsh-plugins`: strict
|
|
143
|
+
semver release authority, frozen Node/pnpm setup, immutable tarball comparison,
|
|
144
|
+
provenance publication, and bounded registry propagation. CFL deliberately
|
|
145
|
+
uses one tag-authoritative main package rather than DSH's main-push change
|
|
146
|
+
detection and package matrix. It has no DSH runtime dependency, native Rust
|
|
147
|
+
build, GitHub Release, npm token fallback, or automatic native publication.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
img.svelte-1ojo7n2{opacity:0;max-width:100%;height:auto}img.fade-in.svelte-1ojo7n2{opacity:1;transition:opacity .3s ease-in-out}img.visible.svelte-1ojo7n2{opacity:1;transition:none}img.error.svelte-1ojo7n2{opacity:.5;filter:grayscale()}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{H as e,U as t,V as n,ft as r,i,n as a,ot as o,st as s}from"./eSlNf1Mv.js";var c=class{constructor(e,t){this.status=e,this.body=typeof t==`string`?{message:t}:t||{message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}},l=class{constructor(e,t){try{new Headers({location:t})}catch{throw Error(`Invalid redirect location ${JSON.stringify(t)}: this string contains characters that cannot be used in HTTP headers`)}this.status=e,this.location=t}},u=class extends Error{constructor(e,t,n){super(n),this.status=e,this.text=t}};new URL(`sveltekit-internal://`);function d(e,t){return e===`/`||t===`ignore`?e:t===`never`?e.endsWith(`/`)?e.slice(0,-1):e:t===`always`&&!e.endsWith(`/`)?e+`/`:e}function f(e){return e.split(`%25`).map(decodeURI).join(`%25`)}function p(e){for(let t in e)e[t]=decodeURIComponent(e[t]);return e}function m({href:e}){return e.split(`#`)[0]}function h(){}function g(...e){let t=5381;for(let n of e)if(typeof n==`string`){let e=n.length;for(;e;)t=t*33^n.charCodeAt(--e)}else if(ArrayBuffer.isView(n)){let e=new Uint8Array(n.buffer,n.byteOffset,n.byteLength),r=e.length;for(;r;)t=t*33^e[--r]}else throw TypeError(`value must be a string or TypedArray`);return(t>>>0).toString(36)}new TextEncoder;function _(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}var v=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||`GET`)!==`GET`&&y.delete(x(e)),v(e,t));var y=new Map;function ee(e,t){let n=x(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:e,...t}=JSON.parse(r.textContent);r.getAttribute(`data-b64`)!==null&&(e=_(e));let i=r.getAttribute(`data-ttl`);return i&&y.set(n,{body:e,init:t,ttl:1e3*Number(i)}),Promise.resolve(new Response(e,t))}return window.fetch(e,t)}function b(e,t,n){if(y.size>0){let t=x(e,n),r=y.get(t);if(r){if(performance.now()<r.ttl&&[`default`,`force-cache`,`only-if-cached`,void 0].includes(n?.cache))return new Response(r.body,r.init);y.delete(t)}}return window.fetch(t,n)}function x(e,t){let n=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){let e=[];t.headers&&e.push([...new Headers(t.headers)].join(`,`)),t.body&&(typeof t.body==`string`||ArrayBuffer.isView(t.body))&&e.push(t.body),n+=`[data-hash="${g(...e)}"]`}return n}var te=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,ne=/^\/\((?:[^)]+)\)$/;function re(e){let t=[];return{pattern:e===`/`||ne.test(e)?/^\/$/:RegExp(`^${ae(e).map(e=>{let n=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(e);if(n)return t.push({name:n[1],matcher:n[2],optional:!1,rest:!0,chained:!0}),`(?:/([^]*))?`;let r=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(e);if(r)return t.push({name:r[1],matcher:r[2],optional:!0,rest:!1,chained:!0}),`(?:/([^/]+))?`;if(!e)return;let i=e.split(/\[(.+?)\](?!\])/);return`/`+i.map((e,n)=>{if(n%2){if(e.startsWith(`x+`))return se(String.fromCharCode(parseInt(e.slice(2),16)));if(e.startsWith(`u+`))return se(String.fromCharCode(...e.slice(2).split(`-`).map(e=>parseInt(e,16))));let[,r,a,o,s]=te.exec(e);return t.push({name:o,matcher:s,optional:!!r,rest:!!a,chained:a?n===1&&i[0]===``:!1}),a?`([^]*?)`:r?`([^/]*)?`:`([^/]+?)`}return se(e)}).join(``)}).join(``)}/?$`),params:t}}function ie(e){return e!==``&&!/^\([^)]+\)$/.test(e)}function ae(e){return e.slice(1).split(`/`).filter(ie)}function oe(e,t,n){let r={},i=e.slice(1),a=i.filter(e=>e!==void 0),o=0;for(let e=0;e<t.length;e+=1){let s=t[e],c=i[e-o];if(s.chained&&s.rest&&o&&(c=i.slice(e-o,e+1).filter(e=>e).join(`/`),o=0),c===void 0){if(s.rest)c=``;else continue}if(!s.matcher||n[s.matcher](c)){r[s.name]=c;let n=t[e+1],l=i[e+1];n&&!n.rest&&n.optional&&l&&s.chained&&(o=0),!n&&!l&&Object.keys(r).length===a.length&&(o=0);continue}if(s.optional&&s.chained){o++;continue}return}if(!o)return r}function se(e){return e.normalize().replace(/[[\]]/g,`\\$&`).replace(/%/g,`%25`).replace(/\//g,`%2[Ff]`).replace(/\?/g,`%3[Ff]`).replace(/#/g,`%23`).replace(/[.*+?^${}()|\\]/g,`\\$&`)}function ce({nodes:e,server_loads:t,dictionary:n,matchers:r}){let i=new Set(t);return Object.entries(n).map(([t,[n,i,s]])=>{let{pattern:c,params:l}=re(t),u={id:t,exec:e=>{let t=c.exec(e);if(t)return oe(t,l,r)},errors:[1,...s||[]].map(t=>e[t]),layouts:[0,...i||[]].map(o),leaf:a(n)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function a(t){let n=t<0;return n&&(t=~t),[n,e[t]]}function o(t){return t===void 0?t:[i.has(t),e[t]]}}function le(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function ue(e,t,n=JSON.stringify){let r=n(t);try{sessionStorage[e]=r}catch{}}var S=globalThis.__sveltekit_yry919?.base??``,de=globalThis.__sveltekit_yry919?.assets??S??``,fe=`1789466693520`,pe=`sveltekit:snapshot`,me=`sveltekit:scroll`,he=`sveltekit:states`,C=`sveltekit:history`,w=`sveltekit:navigation`,T={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ge=location.origin;function _e(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){let e=document.getElementsByTagName(`base`);t=e.length?e[0].href:document.URL}return new URL(e,t)}function E(){return{x:pageXOffset,y:pageYOffset}}function D(e,t){return e.getAttribute(`data-sveltekit-${t}`)}var ve={...T,"":T.hover};function ye(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function be(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()===`A`&&e.hasAttribute(`href`))return e;e=ye(e)}}function xe(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){let e=location.hash.split(`#`)[1]||`/`;r.hash=`#${e}${r.hash}`}}catch{}let i=e instanceof SVGAElement?e.target.baseVal:e.target,a=!r||!!i||k(r,t,n)||(e.getAttribute(`rel`)||``).split(/\s+/).includes(`external`),o=r?.origin===ge&&e.hasAttribute(`download`);return{url:r,external:a,target:i,download:o}}function O(e){let t=null,n=null,r=null,i=null,a=null,o=null,s=e;for(;s&&s!==document.documentElement;)r===null&&(r=D(s,`preload-code`)),i===null&&(i=D(s,`preload-data`)),t===null&&(t=D(s,`keepfocus`)),n===null&&(n=D(s,`noscroll`)),a===null&&(a=D(s,`reload`)),o===null&&(o=D(s,`replacestate`)),s=ye(s);function c(e){switch(e){case``:case`true`:return!0;case`off`:case`false`:return!1;default:return}}return{preload_code:ve[r??`off`],preload_data:ve[i??`off`],keepfocus:c(t),noscroll:c(n),reload:c(a),replace_state:c(o)}}function Se(e){let t=r(e),n=!0;function i(){n=!0,t.update(e=>e)}function a(e){n=!1,t.set(e)}function o(e){let r;return t.subscribe(t=>{(r===void 0||n&&t!==r)&&e(r=t)})}return{notify:i,set:a,subscribe:o}}var Ce={v:h};function we(){let{set:e,subscribe:t}=r(!1),n;async function i(){clearTimeout(n);try{let t=await fetch(`${de}/_app/version.json`,{headers:{pragma:`no-cache`,"cache-control":`no-cache`}});if(!t.ok)return!1;let r=(await t.json()).version!==fe;return r&&(e(!0),Ce.v(),clearTimeout(n)),r}catch{return!1}}return{subscribe:t,check:i}}function k(e,t,n){return e.origin!==ge||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function Te(e){}var Ee=new Set([`load`,`prerender`,`csr`,`ssr`,`trailingSlash`,`config`]);[...Ee],[...new Set([...Ee])];function De(e){return e.filter(e=>e!=null)}function A(e,t){return e+`/`+t}function Oe(e){return e instanceof c||e instanceof u?e.status:500}function ke(e){return e instanceof u?e.text:`Internal Error`}var j,M,Ae,je=i.toString().includes(`$$`)||/function \w+\(\) \{\}/.test(i.toString()),Me=`a:`;je?(j={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(Me)},M={current:null},Ae={current:!1}):(j=new class{#e=s({});get data(){return n(this.#e)}set data(e){o(this.#e,e)}#t=s(null);get form(){return n(this.#t)}set form(e){o(this.#t,e)}#n=s(null);get error(){return n(this.#n)}set error(e){o(this.#n,e)}#r=s({});get params(){return n(this.#r)}set params(e){o(this.#r,e)}#i=s({id:null});get route(){return n(this.#i)}set route(e){o(this.#i,e)}#a=s({});get state(){return n(this.#a)}set state(e){o(this.#a,e)}#o=s(-1);get status(){return n(this.#o)}set status(e){o(this.#o,e)}#s=s(new URL(Me));get url(){return n(this.#s)}set url(e){o(this.#s,e)}},M=new class{#e=s(null);get current(){return n(this.#e)}set current(e){o(this.#e,e)}},Ae=new class{#e=s(!1);get current(){return n(this.#e)}set current(e){o(this.#e,e)}},Ce.v=()=>Ae.current=!0);function Ne(e){Object.assign(j,e)}var{onMount:Pe,tick:Fe}=a,Ie=new Set([`icon`,`shortcut icon`,`apple-touch-icon`]),N=null,P=le(`sveltekit:scroll`)??{},F=le(`sveltekit:snapshot`)??{},I={url:Se({}),page:Se({}),navigating:r(null),updated:we()};function Le(e){P[e]=E()}function Re(e,t){let n=e+1;for(;P[n];)delete P[n],n+=1;for(n=t+1;F[n];)delete F[n],n+=1}function L(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(h)}async function ze(){if(`serviceWorker`in navigator){let e=await navigator.serviceWorker.getRegistration(S||`/`);e&&await e.update()}}var Be,Ve,R,z,He,B,Ue={},We={},V=[],H=[],U=null;function Ge(){U?.fork?.then(e=>e?.discard()),U=null,Q={element:void 0,href:void 0}}var Ke=new Map,qe=new Set,Je=new Set,W=new Set,G={branch:[],error:null,url:null,nav:null},Ye=!1,Xe=!1,Ze=!0,K=!1,q=!1,Qe=!1,$e=!1,et,J,Y,X,tt=new Set,nt=new Map,rt=new Map;async function it(e,t,n){if(globalThis.__sveltekit_yry919.data){let{q:e={},p:t={},l:n={},f:r={}}=globalThis.__sveltekit_yry919.data;for(let t in e)Ue[t]=e[t];for(let e in n)Ue[e]=n[e];for(let e in r)Ue[e]=r[e];for(let e in t)We[e]=t[e]}document.URL!==location.href&&(location.href=location.href),B=e,await e.hooks.init?.(),Be=ce(e),z=document.documentElement,He=t,Ve=e.nodes[0],R=e.nodes[1],Ve(),R(),J=history.state?.[C],Y=history.state?.[w],J||(J=Y=Date.now(),history.replaceState({...history.state,[C]:J,[w]:Y},``));let r=P[J];function i(){r&&(history.scrollRestoration=`manual`,scrollTo(r.x,r.y))}n?(i(),await Mt(He,n)):(await Z({type:`enter`,url:_e(B.hash?Rt(new URL(location.href)):location.href),replace_state:!0}),i()),jt()}function at(){V.length=0,$e=!1}function ot(e){H.some(e=>e?.snapshot)&&(F[e]=H.map(e=>e?.snapshot?.capture()))}function st(e){F[e]?.forEach((e,t)=>{H[t]?.snapshot?.restore(e)})}function ct(){Le(J),ue(me,P),ot(Y),ue(pe,F)}async function lt(e,n,r,i){let a,o;n.invalidateAll&&Ge(),await Z({type:`goto`,url:_e(e),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:r,nav_token:i,accept:()=>{if(n.invalidateAll){$e=!0,a=new Set;for(let[e,t]of nt)for(let[n,r]of t)r.resource?.reset(),a.add(A(e,n));o=new Set;for(let[e,t]of rt)for(let n of t.keys())o.add(A(e,n))}n.invalidate&&n.invalidate.forEach(At)}}),n.invalidateAll&&t().then(t).then(()=>{for(let[e,t]of nt)for(let[n,{resource:r}]of t)a?.has(A(e,n))&&r.start();for(let[e,t]of rt)for(let[n,{resource:r}]of t)o?.has(A(e,n))&&r.reconnect()})}async function ut(e){if(e.id!==U?.id){Ge();let t={};tt.add(t),U={id:e.id,token:t,promise:bt({...e,preload:t}).then(e=>(tt.delete(t),e.type===`loaded`&&e.state.error&&Ge(),e)),fork:null}}return U.promise}async function dt(e){let t=(await wt(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(e=>e[1]()))}async function ft(e,t,n){let r={params:G.params,route:{id:G.route?.id??null},url:new URL(location.href)};if(G={...e.state,nav:r},Ne(e.props.page),et=new B.root({target:t,props:{...e.props,stores:I,components:H},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),n){let e={from:null,to:{...r,scroll:P[J]??E()},willUnload:!1,type:`enter`,complete:Promise.resolve()};W.forEach(t=>t(e))}st(Y),Xe=!0}async function pt({url:e,params:t,branch:n,errors:r,status:i,error:a,route:o,form:s}){let c=`never`;if(S&&(e.pathname===S||e.pathname===S+`/`))c=`always`;else for(let e of n)e?.slash!==void 0&&(c=e.slash);e.pathname=d(e.pathname,c),e.search=e.search;let l={type:`loaded`,state:{url:e,params:t,branch:n,error:a,route:o},props:{constructors:De(n).map(e=>e.node.component),page:Lt(j)}};s!==void 0&&(l.props.form=s);let u={},f=!j,p=0;for(let e=0;e<Math.max(n.length,G.branch.length);e+=1){let t=n[e],r=G.branch[e];t?.data!==r?.data&&(f=!0),t&&(u={...u,...t.data},f&&(l.props[`data_${p}`]=u),p+=1)}return(!G.url||e.href!==G.url.href||G.error!==a||s!==void 0&&s!==j.form||f)&&(l.props.page={error:a,params:t,route:{id:o?.id??null},state:{},status:i,url:new URL(e),form:s??null,data:f?u:j.data}),l}async function mt({loader:e,parent:t,url:n,params:r,route:i,server_data_node:a}){let o={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},s=await e();return{node:s,loader:e,server:a,universal:s.universal?.load?{type:`data`,data:null,uses:o}:null,data:a?.data??null,slash:s.universal?.trailingSlash??a?.slash}}function ht(e,t,n){let r=e instanceof Request?e.url:e,i=new URL(r,n);return i.origin===n.origin&&(r=i.href.slice(n.origin.length)),{resolved:i,promise:Xe?b(r,i.href,t):ee(r,t)}}function gt(e,t,n,r,i,a){if($e)return!0;if(!i)return!1;if(i.parent&&e||i.route&&t||i.url&&n)return!0;for(let e of i.search_params)if(r.has(e))return!0;for(let e of i.params)if(a[e]!==G.params[e])return!0;for(let e of i.dependencies)if(V.some(t=>t(new URL(e))))return!0;return!1}function _t(e,t){return e?.type===`data`?e:e?.type===`skip`?t??null:null}function vt(e,t){if(!e)return new Set(t.searchParams.keys());let n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(let r of n){let i=e.searchParams.getAll(r),a=t.searchParams.getAll(r);i.every(e=>a.includes(e))&&a.every(e=>i.includes(e))&&n.delete(r)}return n}function yt({error:e,url:t,route:n,params:r}){return{type:`loaded`,state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:Lt(j),constructors:[]}}}async function bt({id:e,invalidating:t,url:n,params:r,route:i,preload:a}){if(U?.id===e)return tt.delete(U.token),U.promise;let{errors:o,layouts:s,leaf:u}=i,d=[...s,u];o.forEach(e=>e?.().catch(h)),d.forEach(e=>e?.[1]().catch(h));let f=G.url?e!==Et(G.url):!1,p=G.route?i.id!==G.route.id:!1,m=vt(G.url,n),g=!1,_=d.map(async(e,t)=>{if(!e)return;let a=G.branch[t];return e[1]===a?.loader&&!gt(g,p,f,m,a.universal?.uses,r)?a:(g=!0,mt({loader:e[1],url:n,params:r,route:i,parent:async()=>{let e={};for(let n=0;n<t;n+=1)Object.assign(e,(await _[n])?.data);return e},server_data_node:_t(e[0]?{type:`skip`}:null,e[0]?a?.server:void 0)}))});for(let e of _)e.catch(h);let v=[];for(let e=0;e<d.length;e+=1)if(d[e])try{v.push(await _[e])}catch(t){if(t instanceof l)return{type:`redirect`,location:t.location};if(a&&tt.has(a))return yt({error:await $(t,{params:r,url:n,route:{id:i.id}}),url:n,params:r,route:i});let s=Oe(t),u;if(t instanceof c)u=t.body;else{if(await I.updated.check())return await ze(),await L(n);u=await $(t,{params:r,url:n,route:{id:i.id}})}let d=await xt(e,v,o);return d?pt({url:n,params:r,branch:v.slice(0,d.idx).concat(d.node),errors:o,status:s,error:u,route:i}):await Ot(n,{id:i.id},u,s)}else v.push(void 0);return pt({url:n,params:r,branch:v,errors:o,status:200,error:null,route:i,form:t?void 0:null})}async function xt(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)--r;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function St({status:e,error:t,url:n,route:r}){let i={};try{return pt({url:n,params:i,branch:[await mt({loader:Ve,url:n,params:i,route:r,parent:()=>Promise.resolve({}),server_data_node:_t(null)}),{node:await R(),loader:R,universal:null,server:null,data:null}],status:e,error:t,errors:[],route:null})}catch(t){if(t instanceof l){await lt(new URL(t.location,location.href),{},0);return}let a=await B.get_error_template(),o=await $(t,{url:n,params:i,route:r}),s=a({status:e,message:String(o?.message??``).replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`)}),c=new DOMParser().parseFromString(s,`text/html`);throw document.documentElement.replaceChild(document.adoptNode(c.head),document.head),document.documentElement.replaceChild(document.adoptNode(c.body),document.body),t}}async function Ct(e){let t=e.href;if(Ke.has(t))return Ke.get(t);let n;try{let r=(async()=>{let t=await B.hooks.reroute({url:new URL(e),fetch:async(t,n)=>ht(t,n,e).promise})??e;if(typeof t==`string`){let n=new URL(e);B.hash?n.hash=t:n.pathname=t,t=n}return t})();Ke.set(t,r),n=await r}catch{Ke.delete(t);return}return n}async function wt(e,t){if(e&&!k(e,S,B.hash)){let n=await Ct(e);if(!n)return;let r=Tt(n);for(let n of Be){let i=n.exec(r);if(i)return{id:Et(e),invalidating:t,route:n,params:p(i),url:e}}}}function Tt(e){return f(B.hash?e.hash.replace(/^#/,``).replace(/[?#].+/,``):e.pathname.slice(S.length))||`/`}function Et(e){return(B.hash?e.hash.replace(/^#/,``):e.pathname)+e.search}function Dt({url:e,type:t,intent:n,delta:r,event:i,scroll:a}){let o=!1,s=It(G,n,e,t,a??null);r!==void 0&&(s.navigation.delta=r),i!==void 0&&(s.navigation.event=i);let c={...s.navigation,cancel:()=>{o=!0,s.reject(Error(`navigation cancelled`))}};return K||qe.forEach(e=>e(c)),o?null:s}async function Z({type:n,url:r,popped:i,keepfocus:a,noscroll:o,replace_state:s,state:c={},redirect_count:l=0,nav_token:d={},accept:f=h,block:p=h,event:m}){let g=X;X=d;let _=await wt(r,!1),v=n===`enter`?It(G,_,r,n):Dt({url:r,type:n,delta:i?.delta,intent:_,scroll:i?.scroll,event:m});if(!v){p(),X===d&&(X=g);return}let y=J,ee=Y;f(),K=!0,Xe&&v.navigation.type!==`enter`&&I.navigating.set(M.current=v.navigation);let b=_&&await bt(_);if(!b){if(k(r,S,B.hash))return await L(r,s);b=await Ot(r,{id:null},await $(new u(404,`Not Found`,`Not found: ${r.pathname}`),{url:r,params:{},route:{id:null}}),404,s)}if(r=_?.url||r,X!==d){v.reject(Error(`navigation aborted`));return}if(!b)return;if(b.type===`redirect`){if(l<20){await Z({type:n,url:new URL(b.location,r),popped:i,keepfocus:a,noscroll:o,replace_state:s,state:c,redirect_count:l+1,nav_token:d}),v.fulfil(void 0);return}if(b=await St({status:500,error:await $(Error(`Redirect loop`),{url:r,params:{},route:{id:null}}),url:r,route:{id:null}}),!b)return}else if(b.props.page.status>=400&&await I.updated.check())return await ze(),await L(r,s);if(at(),Le(y),ot(ee),b.props.page.url.pathname!==r.pathname&&(r.pathname=b.props.page.url.pathname),c=i?i.state:c,!i){let e=+!s,t={[C]:J+=e,[w]:Y+=e,[he]:c};(s?history.replaceState:history.pushState).call(history,t,``,r),s||Re(J,Y)}let x=_&&U?.id===_.id?U.fork:null;U?.fork&&!x?Ge():(U=null,Q={element:void 0,href:void 0}),b.props.page.state=c;let te;if(Xe){let t=(await Promise.all(Array.from(Je,e=>e(v.navigation)))).filter(e=>typeof e==`function`);if(t.length>0){function e(){t.forEach(e=>{W.delete(e)})}t.push(e),t.forEach(e=>{W.add(e)})}let n=v.navigation.to;G={...b.state,nav:{params:n.params,route:n.route,url:n.url}},b.props.page&&(b.props.page.url=r),!a&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();let i=x&&await x;i?te=i.commit():(N=null,et.$set(b.props),N&&Object.assign(b.props.page,N),Ne(b.props.page),te=e?.()),Qe=!0}else await ft(b,He,!1);let{activeElement:ne}=document;if(await te,await t(),await t(),X!==d){v.reject(Error(`navigation aborted`));return}b.props.page&&N&&Object.assign(b.props.page,N);let re=null;if(Ze){let e=i?i.scroll:o?E():null;e?scrollTo(e.x,e.y):(re=r.hash&&document.getElementById(zt(r)))?re.scrollIntoView():scrollTo(0,0)}let ie=document.activeElement!==ne&&document.activeElement!==document.body;!a&&!ie&&Ft(r,!re),Ze=!0,K=!1,v.fulfil(void 0),v.navigation.to&&(v.navigation.to.scroll=E()),W.forEach(e=>e(v.navigation)),n===`popstate`&&st(Y),I.navigating.set(M.current=null)}async function Ot(e,t,n,r,i){return e.origin===ge&&e.pathname===location.pathname&&!Ye?await St({status:r,error:n,url:e,route:t}):await L(e,i)}var Q={element:void 0,href:void 0};function kt(){let e,t;z.addEventListener(`mousemove`,t=>{let n=t.target;clearTimeout(e),e=setTimeout(()=>{i(n,T.hover)},20)});function n(e){e.defaultPrevented||i(e.composedPath()[0],T.tap)}z.addEventListener(`mousedown`,n),z.addEventListener(`touchstart`,n,{passive:!0});let r=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&(dt(new URL(t.target.href)),r.unobserve(t.target))},{threshold:0});async function i(e,n){let r=be(e,z),i=r===Q.element&&r?.href===Q.href&&n>=t;if(!r||i)return;let{url:a,external:o,download:s}=xe(r,S,B.hash);if(o||s)return;let c=O(r),l=a&&Et(G.url)===Et(a);if(!(c.reload||l)){if(n<=c.preload_data){Q={element:r,href:r.href},t=T.tap;let e=await wt(a,!1);if(!e)return;ut(e)}else n<=c.preload_code&&(Q={element:r,href:r.href},t=n,dt(a))}}function a(){r.disconnect();for(let e of z.querySelectorAll(`a`)){let{url:t,external:n,download:i}=xe(e,S,B.hash);if(n||i)continue;let a=O(e);a.reload||(a.preload_code===T.viewport&&r.observe(e),a.preload_code===T.eager&&dt(t))}}W.add(a),a()}function $(e,t){if(e instanceof c)return e.body;let n=Oe(e),r=ke(e);return B.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function At(e){if(typeof e==`function`)V.push(e);else{let{href:t}=new URL(e,location.href);V.push(e=>e.href===t)}}function jt(){history.scrollRestoration=`manual`,addEventListener(`beforeunload`,e=>{let t=!1;if(ct(),!K){let e=It(G,void 0,null,`leave`),n={...e.navigation,cancel:()=>{t=!0,e.reject(Error(`navigation cancelled`))}};qe.forEach(e=>e(n))}t?(e.preventDefault(),e.returnValue=``):history.scrollRestoration=`auto`}),addEventListener(`visibilitychange`,()=>{document.visibilityState===`hidden`&&ct()}),navigator.connection?.saveData||kt(),z.addEventListener(`click`,async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;let n=be(t.composedPath()[0],z);if(!n)return;let{url:r,external:i,target:a,download:o}=xe(n,S,B.hash);if(!r)return;if(a===`_parent`||a===`_top`){if(window.parent!==window)return}else if(a&&a!==`_self`)return;let s=O(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&r.protocol!==`https:`&&r.protocol!==`http:`||o)return;let[c,l]=(B.hash?r.hash.replace(/^#/,``):r.href).split(`#`),u=c===m(location);if(i||s.reload&&(!u||!l)){Dt({url:r,type:`link`,event:t})?K=!0:t.preventDefault();return}if(l!==void 0&&u){let[,i]=G.url.href.split(`#`);if(i===l){if(t.preventDefault(),l===``||l===`top`&&n.ownerDocument.getElementById(`top`)===null)scrollTo({top:0});else{let e=n.ownerDocument.getElementById(decodeURIComponent(l));e&&(e.scrollIntoView(),e.focus())}return}if(q=!0,Le(J),e(r),!s.replace_state)return;q=!1}t.preventDefault(),await new Promise(e=>{requestAnimationFrame(()=>{setTimeout(e,0)}),setTimeout(e,100)}),await Z({type:`link`,url:r,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??r.href===location.href,event:t})}),z.addEventListener(`submit`,e=>{if(e.defaultPrevented)return;let t=HTMLFormElement.prototype.cloneNode.call(e.target),n=e.submitter;if((n?.formTarget||t.target)===`_blank`||(n?.formMethod||t.method)!==`get`)return;let r=new URL(n?.hasAttribute(`formaction`)&&n?.formAction||t.action);if(k(r,S,!1))return;let i=e.target,a=O(i);if(a.reload)return;e.preventDefault(),e.stopPropagation();let o=new FormData(i,n);r.search=new URLSearchParams(o).toString(),Z({type:`form`,url:r,keepfocus:a.keepfocus,noscroll:a.noscroll,replace_state:a.replace_state??r.href===location.href,event:e})}),addEventListener(`popstate`,async t=>{if(!Pt){if(t.state?.[`sveltekit:history`]){let n=t.state[C];if(X={},n===J)return;let r=P[n],i=t.state[`sveltekit:states`]??{},a=new URL(t.state[`sveltekit:pageurl`]??location.href),o=t.state[w],s=G.url?m(location)===m(G.url):!1;if(o===Y&&(Qe||s)){i!==j.state&&(j.state=i),e(a),P[J]=E(),r&&scrollTo(r.x,r.y),J=n;return}let c=n-J;await Z({type:`popstate`,url:a,popped:{state:i,scroll:r,delta:c},accept:()=>{J=n,Y=o},block:()=>{history.go(-c)},nav_token:X,event:t})}else q||(e(new URL(location.href)),B.hash&&location.reload())}}),addEventListener(`hashchange`,()=>{q&&(q=!1,history.replaceState({...history.state,[C]:++J,[w]:Y},``,location.href))});for(let e of document.querySelectorAll(`link`))Ie.has(e.rel)&&(e.href=e.href);addEventListener(`pageshow`,e=>{e.persisted&&I.navigating.set(M.current=null)});function e(e){G.url=j.url=e,I.page.set(Lt(j)),I.page.notify()}}async function Mt(e,{status:t=200,error:n,node_ids:r,params:i,route:a,server_route:o,data:s,form:c}){Ye=!0;let u=new URL(location.href),d;({params:i={},route:a={id:null}}=await wt(u,!1)||{}),d=Be.find(({id:e})=>e===a.id);let f,p=!0;try{let e=r.map(async(t,n)=>{let r=s[n];return r?.uses&&(r.uses=Nt(r.uses)),mt({loader:B.nodes[t],url:u,params:i,route:a,parent:async()=>{let t={};for(let r=0;r<n;r+=1)Object.assign(t,(await e[r]).data);return t},server_data_node:_t(r)})}),o=await Promise.all(e);if(d){let e=d.layouts;for(let t=0;t<e.length;t++)e[t]||o.splice(t,0,void 0)}f=await pt({url:u,params:i,branch:o,status:t,error:n,errors:d?.errors,form:c,route:d??null})}catch(t){if(t instanceof l)return await L(new URL(t.location,location.href));f=await St({status:Oe(t),error:await $(t,{url:u,params:i,route:a}),url:u,route:a}),e.textContent=``,p=!1}f&&(f.props.page&&(f.props.page.state={}),await ft(f,e,p))}function Nt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}var Pt=!1;function Ft(e,t=!0){let n=document.querySelector(`[autofocus]`);if(n)n.focus();else{let n=zt(e);if(n&&document.getElementById(n)){let{x:r,y:i}=E();setTimeout(()=>{let a=history.state;Pt=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(a,``,e),t&&scrollTo(r,i),Pt=!1})}else{let e=document.body,t=e.getAttribute(`tabindex`);e.tabIndex=-1,e.focus({preventScroll:!0,focusVisible:!1}),t===null?e.removeAttribute(`tabindex`):e.setAttribute(`tabindex`,t)}let r=getSelection();if(r&&r.type!==`None`){let e=[];for(let t=0;t<r.rangeCount;t+=1)e.push(r.getRangeAt(t));setTimeout(()=>{if(r.rangeCount===e.length){for(let t=0;t<r.rangeCount;t+=1){let n=e[t],i=r.getRangeAt(t);if(n.commonAncestorContainer!==i.commonAncestorContainer||n.startContainer!==i.startContainer||n.endContainer!==i.endContainer||n.startOffset!==i.startOffset||n.endOffset!==i.endOffset)return}r.removeAllRanges()}})}}}function It(e,t,n,r,i=null){let a,o,s=new Promise((e,t)=>{a=e,o=t});return s.catch(h),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:E()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:i},willUnload:!t,type:r,complete:s},fulfil:a,reject:o}}function Lt(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Rt(e){let t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function zt(e){let t;if(B.hash){let[,,n]=e.hash.split(`#`,3);t=n??``}else t=e.hash.slice(1);return decodeURIComponent(t)}export{Te as i,M as n,j as r,it as t};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.gonV4k8o.js","../chunks/eSlNf1Mv.js","../chunks/xihTtKlq.js","../assets/0.BvPOd6uh.css","../nodes/1.
|
|
2
|
-
import{$ as e,F as t,J as n,L as r,M as i,N as a,P as o,T as s,U as c,V as l,X as u,Y as d,a as f,bt as p,et as m,gt as h,ht as g,i as _,j as v,nt as y,ot as b,p as x,s as S,st as C,ut as w}from"../chunks/eSlNf1Mv.js";import"../chunks/xihTtKlq.js";var T=`modulepreload`,E=function(e,t){return new URL(e,t).href},D={},O=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=E(t,n),t=s(t),t in D)return;D[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:T,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},k={},A=t(`<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>`),j=t(`<!> <!>`,1);function M(t,f){h(f,!0);let T=S(f,`components`,23,()=>[]),E=S(f,`data_0`,3,null),D=S(f,`data_1`,3,null);u(()=>f.stores.page.set(f.page)),d(()=>{f.stores,f.page,f.constructors,T(),f.form,E(),D(),f.stores.page.notify()});let O=C(!1),k=C(!1),M=C(null);_(()=>{let e=f.stores.page.subscribe(()=>{l(O)&&(b(k,!0),c().then(()=>{b(M,document.title||`untitled page`,!0)}))});return b(O,!0),e});let N=w(()=>f.constructors[1]);var P=j(),F=m(P),I=e=>{let t=w(()=>f.constructors[0]);var n=o(),r=m(n);s(r,()=>l(t),(e,t)=>{x(t(e,{get data(){return E()},get form(){return f.form},get params(){return f.page.params},children:(e,t)=>{var n=o(),r=m(n);s(r,()=>l(N),(e,t)=>{x(t(e,{get data(){return D()},get form(){return f.form},get params(){return f.page.params}}),e=>T()[1]=e,()=>T()?.[1])}),a(e,n)},$$slots:{default:!0}}),e=>T()[0]=e,()=>T()?.[0])}),a(e,n)},L=e=>{let t=w(()=>f.constructors[0]);var n=o(),r=m(n);s(r,()=>l(t),(e,t)=>{x(t(e,{get data(){return E()},get form(){return f.form},get params(){return f.page.params}}),e=>T()[0]=e,()=>T()?.[0])}),a(e,n)};v(F,e=>{f.constructors[1]?e(I):e(L,-1)});var R=y(F,2),z=t=>{var o=A(),s=e(o),c=e=>{var t=r();n(()=>i(t,l(M))),a(e,t)};v(s,e=>{l(k)&&e(c)}),p(o),a(t,o)};v(R,e=>{l(O)&&e(z)}),a(t,P),g()}var N=f(M),P=[()=>O(()=>import(`../nodes/0.gonV4k8o.js`),__vite__mapDeps([0,1,2,3]),import.meta.url),()=>O(()=>import(`../nodes/1.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.gonV4k8o.js","../chunks/eSlNf1Mv.js","../chunks/xihTtKlq.js","../assets/0.BvPOd6uh.css","../nodes/1.BNCm5L6_.js","../chunks/BMiSuNVz.js","../nodes/2.z56Ql74q.js","../assets/2.D_B1Of5x.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{$ as e,F as t,J as n,L as r,M as i,N as a,P as o,T as s,U as c,V as l,X as u,Y as d,a as f,bt as p,et as m,gt as h,ht as g,i as _,j as v,nt as y,ot as b,p as x,s as S,st as C,ut as w}from"../chunks/eSlNf1Mv.js";import"../chunks/xihTtKlq.js";var T=`modulepreload`,E=function(e,t){return new URL(e,t).href},D={},O=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=E(t,n),t=s(t),t in D)return;D[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:T,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},k={},A=t(`<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>`),j=t(`<!> <!>`,1);function M(t,f){h(f,!0);let T=S(f,`components`,23,()=>[]),E=S(f,`data_0`,3,null),D=S(f,`data_1`,3,null);u(()=>f.stores.page.set(f.page)),d(()=>{f.stores,f.page,f.constructors,T(),f.form,E(),D(),f.stores.page.notify()});let O=C(!1),k=C(!1),M=C(null);_(()=>{let e=f.stores.page.subscribe(()=>{l(O)&&(b(k,!0),c().then(()=>{b(M,document.title||`untitled page`,!0)}))});return b(O,!0),e});let N=w(()=>f.constructors[1]);var P=j(),F=m(P),I=e=>{let t=w(()=>f.constructors[0]);var n=o(),r=m(n);s(r,()=>l(t),(e,t)=>{x(t(e,{get data(){return E()},get form(){return f.form},get params(){return f.page.params},children:(e,t)=>{var n=o(),r=m(n);s(r,()=>l(N),(e,t)=>{x(t(e,{get data(){return D()},get form(){return f.form},get params(){return f.page.params}}),e=>T()[1]=e,()=>T()?.[1])}),a(e,n)},$$slots:{default:!0}}),e=>T()[0]=e,()=>T()?.[0])}),a(e,n)},L=e=>{let t=w(()=>f.constructors[0]);var n=o(),r=m(n);s(r,()=>l(t),(e,t)=>{x(t(e,{get data(){return E()},get form(){return f.form},get params(){return f.page.params}}),e=>T()[0]=e,()=>T()?.[0])}),a(e,n)};v(F,e=>{f.constructors[1]?e(I):e(L,-1)});var R=y(F,2),z=t=>{var o=A(),s=e(o),c=e=>{var t=r();n(()=>i(t,l(M))),a(e,t)};v(s,e=>{l(k)&&e(c)}),p(o),a(t,o)};v(R,e=>{l(O)&&e(z)}),a(t,P),g()}var N=f(M),P=[()=>O(()=>import(`../nodes/0.gonV4k8o.js`),__vite__mapDeps([0,1,2,3]),import.meta.url),()=>O(()=>import(`../nodes/1.BNCm5L6_.js`),__vite__mapDeps([4,1,5,2]),import.meta.url),()=>O(()=>import(`../nodes/2.z56Ql74q.js`),__vite__mapDeps([6,1,2,7]),import.meta.url)],F=[],I={"/":[2]},L={handleError:(({error:e})=>{console.error(e)}),reroute:(()=>{}),transport:{}},R=Object.fromEntries(Object.entries(L.transport).map(([e,t])=>[e,t.decode])),z=Object.fromEntries(Object.entries(L.transport).map(([e,t])=>[e,t.encode])),B=!1,V=(e,t)=>R[e](t),H=()=>O(()=>import(`../chunks/Bjy-W4x2.js`).then(e=>e.default),[],import.meta.url);export{V as decode,R as decoders,I as dictionary,z as encoders,H as get_error_template,B as hash,L as hooks,k as matchers,P as nodes,N as root,F as server_loads};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,t}from"../chunks/BMiSuNVz.js";export{e as load_css,t as start};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{F as e,J as t,M as n,N as r,et as i,gt as a,ht as o,nt as s,tt as c}from"../chunks/eSlNf1Mv.js";import{r as l}from"../chunks/
|
|
1
|
+
import{F as e,J as t,M as n,N as r,et as i,gt as a,ht as o,nt as s,tt as c}from"../chunks/eSlNf1Mv.js";import{r as l}from"../chunks/BMiSuNVz.js";import"../chunks/xihTtKlq.js";var u={get data(){return l.data},get error(){return l.error},get form(){return l.form},get params(){return l.params},get route(){return l.route},get state(){return l.state},get status(){return l.status},get url(){return l.url}},d=e(`<h1> </h1> <p> </p>`,1);function f(e,l){a(l,!0);var f=d(),p=i(f),m=c(p,!0),h=s(p,2),g=c(h,!0);t(()=>{n(m,u.status),n(g,u.error?.message)}),r(e,f),o()}export{f as component};
|
|
@@ -62,7 +62,7 @@ ${this.parser.parse(e)}</blockquote>
|
|
|
62
62
|
${e}</tr>
|
|
63
63
|
`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?`th`:`td`;return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>
|
|
64
64
|
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${as(e,!0)}</code>`}br(e){return`<br>`}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,text:n,tokens:r,autolink:i}){let a=i?as(n,!0):this.parser.parseInline(r),o=os(e);if(o===null)return a;e=as(o,i);let s=`<a href="`+e+`"`;return t&&(s+=` title="`+as(t)+`"`),s+=`>`+a+`</a>`,s}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let i=os(e);if(i===null)return as(n);e=i;let a=`<img src="${as(e)}" alt="${as(n)}"`;return t&&(a+=` title="${as(t)}"`),a+=`>`,a}text(e){return`tokens`in e&&e.tokens?this.parser.parseInline(e.tokens):`escaped`in e&&e.escaped?e.text:as(e.text)}},_s=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return``+e}image({text:e}){return``+e}br(){return``}checkbox({raw:e}){return e}},vs=class e{options;renderer;textRenderer;constructor(e){this.options=e||Ra,this.options.renderer=this.options.renderer||new gs,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new _s}static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e){this.renderer.parser=this;let t=``;for(let n=0;n<e.length;n++){let r=e[n];if(this.options.extensions?.renderers?.[r.type]){let e=r,n=this.options.extensions.renderers[e.type].call({parser:this},e);if(n!==!1||![`space`,`hr`,`heading`,`code`,`table`,`blockquote`,`list`,`checkbox`,`html`,`def`,`paragraph`,`text`].includes(e.type)){t+=n||``;continue}}let i=r;switch(i.type){case`space`:t+=this.renderer.space(i);break;case`hr`:t+=this.renderer.hr(i);break;case`heading`:t+=this.renderer.heading(i);break;case`code`:t+=this.renderer.code(i);break;case`table`:t+=this.renderer.table(i);break;case`blockquote`:t+=this.renderer.blockquote(i);break;case`list`:t+=this.renderer.list(i);break;case`checkbox`:t+=this.renderer.checkbox(i);break;case`html`:t+=this.renderer.html(i);break;case`def`:t+=this.renderer.def(i);break;case`paragraph`:t+=this.renderer.paragraph(i);break;case`text`:t+=this.renderer.text(i);break;default:{let e=`Token with "`+i.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return t}parseInline(e,t=this.renderer){this.renderer.parser=this;let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(e!==!1||![`escape`,`html`,`link`,`image`,`checkbox`,`strong`,`em`,`codespan`,`br`,`del`,`text`].includes(i.type)){n+=e||``;continue}}let a=i;switch(a.type){case`escape`:n+=t.text(a);break;case`html`:n+=t.html(a);break;case`link`:n+=t.link(a);break;case`image`:n+=t.image(a);break;case`checkbox`:n+=t.checkbox(a);break;case`strong`:n+=t.strong(a);break;case`em`:n+=t.em(a);break;case`codespan`:n+=t.codespan(a);break;case`br`:n+=t.br(a);break;case`del`:n+=t.del(a);break;case`text`:n+=t.text(a);break;default:{let e=`Token with "`+a.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return n}},ys=class{options;block;constructor(e){this.options=e||Ra}static passThroughHooks=new Set([`preprocess`,`postprocess`,`processAllTokens`,`emStrongMask`]);static passThroughHooksRespectAsync=new Set([`preprocess`,`postprocess`,`processAllTokens`]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(e=this.block){return e?hs.lex:hs.lexInline}provideParser(e=this.block){return e?vs.parse:vs.parseInline}},bs=class{defaults=La();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=vs;Renderer=gs;TextRenderer=_s;Lexer=hs;Tokenizer=ms;Hooks=ys;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(n=n.concat(t.call(this,r)),r.type){case`table`:{let e=r;for(let r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(let r of e.rows)for(let e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case`list`:{let e=r;n=n.concat(this.walkTokens(e.items,t));break}default:{let e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(r=>{let i=e[r].flat(1/0);n=n.concat(this.walkTokens(i,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error(`extension name required`);if(`renderer`in e){let n=t.renderers[e.name];n?t.renderers[e.name]=function(...t){let r=e.renderer.apply(this,t);return r===!1&&(r=n.apply(this,t)),r}:t.renderers[e.name]=e.renderer}if(`tokenizer`in e){if(!e.level||e.level!==`block`&&e.level!==`inline`)throw Error(`extension level must be 'block' or 'inline'`);let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&(e.level===`block`?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:e.level===`inline`&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}`childTokens`in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new gs(this.defaults);for(let n in e.renderer){if(!(n in t))throw Error(`renderer '${n}' does not exist`);if([`options`,`parser`].includes(n))continue;let r=n,i=e.renderer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n||``}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new ms(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw Error(`tokenizer '${n}' does not exist`);if([`options`,`rules`,`lexer`].includes(n))continue;let r=n,i=e.tokenizer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new ys;for(let n in e.hooks){if(!(n in t))throw Error(`hook '${n}' does not exist`);if([`options`,`block`].includes(n))continue;let r=n,i=e.hooks[r],a=t[r];t[r]=ys.passThroughHooks.has(n)?e=>{if(this.defaults.async&&ys.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await i.call(t,e);return a.call(t,n)})();let r=i.call(t,e);return a.call(t,r)}:(...e)=>{if(this.defaults.async)return(async()=>{let n=await i.apply(t,e);return n===!1&&(n=await a.apply(t,e)),n})();let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return hs.lex(e,t??this.defaults)}parser(e,t){return vs.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},i={...this.defaults,...r},a=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&r.async===!1)return a(Error(`marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise.`));if(typeof t>`u`||t===null)return a(Error(`marked(): input parameter is undefined or null`));if(typeof t!=`string`)return a(Error(`marked(): input parameter is of type `+Object.prototype.toString.call(t)+`, string expected`));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let n=i.hooks?await i.hooks.preprocess(t):t,r=await(i.hooks?await i.hooks.provideLexer(e):e?hs.lex:hs.lexInline)(n,i),a=i.hooks?await i.hooks.processAllTokens(r):r;i.walkTokens&&await Promise.all(this.walkTokens(a,i.walkTokens));let o=await(i.hooks?await i.hooks.provideParser(e):e?vs.parse:vs.parseInline)(a,i);return i.hooks?await i.hooks.postprocess(o):o})().catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let n=(i.hooks?i.hooks.provideLexer(e):e?hs.lex:hs.lexInline)(t,i);i.hooks&&(n=i.hooks.processAllTokens(n)),i.walkTokens&&this.walkTokens(n,i.walkTokens);let r=(i.hooks?i.hooks.provideParser(e):e?vs.parse:vs.parseInline)(n,i);return i.hooks&&(r=i.hooks.postprocess(r)),r}catch(e){return a(e)}}}onError(e,t){return n=>{if(n.message+=`
|
|
65
|
-
Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error occurred:</p><pre>`+as(n.message+``,!0)+`</pre>`;return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}},xs=new bs;function Ss(e,t){return xs.parse(e,t)}Ss.options=Ss.setOptions=function(e){return xs.setOptions(e),Ss.defaults=xs.defaults,za(Ss.defaults),Ss},Ss.getDefaults=La,Ss.defaults=Ra;function Cs(...e){return xs.use(...e),Ss.defaults=xs.defaults,za(Ss.defaults),Ss}Ss.use=Cs,Ss.walkTokens=function(e,t){return xs.walkTokens(e,t)},Ss.parseInline=xs.parseInline,Ss.Parser=vs,Ss.parser=vs.parse,Ss.Renderer=gs,Ss.TextRenderer=_s,Ss.Lexer=hs,Ss.lexer=hs.lex,Ss.Tokenizer=ms,Ss.Hooks=ys,Ss.parse=Ss,Ss.options,Ss.setOptions,Ss.walkTokens,Ss.parseInline,vs.parse,hs.lex;var ws=o(`<blockquote><!></blockquote>`);function Ts(t,n){var r=ws(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}var Es=o(`<br/>`);function Ds(e){var t=Es();p(e,t)}var Os=o(`<pre><code> </code></pre>`);function ks(t,n){var r=Os(),i=e(r),a=P(i,!0);E(r),l(()=>{re(r,1,Ae(n.lang)),f(a,n.text)}),p(t,r)}var As=o(`<code> </code>`);function js(e,t){ue(t,!0);var n=As(),r=P(n,!0);l(e=>f(r,e),[()=>t.raw.replace(/`/g,``)]),p(e,n),de()}var Ms=o(`<del><!></del>`);function Ns(t,n){var r=Ms(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}var Ps=o(`<em><!></em>`);function Fs(t,n){var r=Ps(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}function Is(e,t){Me();var n=d();l(()=>f(n,t.text)),p(e,n)}var Ls=o(`<h1><!></h1>`),Rs=o(`<h2><!></h2>`),zs=o(`<h3><!></h3>`),Bs=o(`<h4><!></h4>`),Vs=o(`<h5><!></h5>`),Hs=o(`<h6><!></h6>`);function Us(t,n){ue(n,!0);let r=N(n,`id`,3,void 0),i=F(()=>n.options.headerIds?r()??`${n.options.headerPrefix}${n.slug(n.text)}`:void 0);var o=h(),s=D(o),c=t=>{var r=Ls(),o=e(r);a(o,()=>n.children??I),E(r),l(()=>T(r,`id`,S(i))),p(t,r)},u=t=>{var r=Rs(),o=e(r);a(o,()=>n.children??I),E(r),l(()=>T(r,`id`,S(i))),p(t,r)},m=t=>{var r=zs(),o=e(r);a(o,()=>n.children??I),E(r),l(()=>T(r,`id`,S(i))),p(t,r)},g=t=>{var r=Bs(),o=e(r);a(o,()=>n.children??I),E(r),l(()=>T(r,`id`,S(i))),p(t,r)},_=t=>{var r=Vs(),o=e(r);a(o,()=>n.children??I),E(r),l(()=>T(r,`id`,S(i))),p(t,r)},v=t=>{var r=Hs(),o=e(r);a(o,()=>n.children??I),E(r),l(()=>T(r,`id`,S(i))),p(t,r)},y=e=>{var t=d();l(()=>f(t,n.raw)),p(e,t)};A(s,e=>{n.depth===1?e(c):n.depth===2?e(u,1):n.depth===3?e(m,2):n.depth===4?e(g,3):n.depth===5?e(_,4):n.depth===6?e(v,5):e(y,-1)}),p(t,o),de()}var Ws=o(`<hr/>`);function Gs(e){var t=Ws();p(e,t)}var Ks=o(`<img/>`);function qs(e,t){ue(t,!0);let n=N(t,`href`,3,void 0),r=N(t,`title`,3,void 0),i=N(t,`text`,3,``),a=N(t,`lazy`,3,!0),o=N(t,`fadeIn`,3,!0),s,c=we(!1),u=we(!a()),d=we(!1);fe(()=>{if(!a())return;if(typeof IntersectionObserver>`u`){M(u,!0);return}let e=new IntersectionObserver(t=>{t[0]?.isIntersecting&&(M(u,!0),e.disconnect())},{rootMargin:`50px`});return s&&e.observe(s),()=>{e?.disconnect()}});let f=()=>{S(d)||M(c,!0)},m=()=>{M(d,!0),M(c,!0)};var h=Ks();let g;ye(h,e=>s=e,()=>s),l(()=>{T(h,`src`,S(u)?n():void 0),T(h,`data-src`,n()),T(h,`title`,r()),T(h,`alt`,i()),T(h,`loading`,a()?`lazy`:`eager`),g=re(h,1,`svelte-1ajidzw`,null,g,{"fade-in":o()&&S(c)&&!S(d),visible:!o()&&S(c)&&!S(d),error:S(d)})}),_(`load`,h,f),_(`error`,h,m),Ne(h),p(e,h),de()}var Js=o(`<a><!></a>`);function Ys(t,n){let r=N(n,`href`,3,void 0),i=N(n,`title`,3,void 0);var o=Js(),s=e(o);a(s,()=>n.children??I),E(o),l(()=>{T(o,`href`,r()),T(o,`title`,i())}),p(t,o)}var Xs=o(`<ol><!></ol>`),Zs=o(`<ul><!></ul>`);function Qs(t,n){let r=N(n,`ordered`,3,!1),i=N(n,`start`,3,1);var o=h(),s=D(o),c=t=>{var r=Xs(),o=e(r);a(o,()=>n.children??I),E(r),l(()=>T(r,`start`,i())),p(t,r)},u=t=>{var r=Zs(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)};A(s,e=>{r()?e(c):e(u,-1)}),p(t,o)}var $s=o(`<li><!></li>`);function ec(t,n){N(n,`listItemIndex`,3,void 0);var r=$s(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}var tc=o(`<p><!></p>`);function nc(t,n){var r=tc(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}function rc(e,t){Me();var n=d();l(()=>f(n,t.text)),p(e,n)}var ic=o(`<strong><!></strong>`);function ac(t,n){var r=ic(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}var oc=o(`<table><!></table>`);function sc(t,n){var r=oc(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}var cc=o(`<tbody><!></tbody>`);function lc(t,n){var r=cc(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}var uc=o(`<th><!></th>`),dc=o(`<td><!></td>`);function fc(t,n){let r=F(()=>n.align?`text-align: ${n.align}`:void 0);var i=h(),o=D(i),s=t=>{var i=uc(),o=e(i);a(o,()=>n.children??I),E(i),l(()=>je(i,S(r))),p(t,i)},c=t=>{var i=dc(),o=e(i);a(o,()=>n.children??I),E(i),l(()=>je(i,S(r))),p(t,i)};A(o,e=>{n.header?e(s):e(c,-1)}),p(t,i)}var pc=o(`<thead><!></thead>`);function mc(t,n){var r=pc(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}var hc=o(`<tr><!></tr>`);function gc(t,n){var r=hc(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}function _c(e,t){var n=h(),r=D(n);a(r,()=>t.children??I),p(e,n)}var vc={heading:Us,paragraph:nc,text:_c,image:qs,link:Ys,em:Fs,escape:Is,strong:ac,codespan:js,del:Ns,table:sc,tablehead:mc,tablebody:lc,tablerow:gc,tablecell:fc,list:Qs,orderedlistitem:null,unorderedlistitem:null,listitem:ec,hr:Gs,html:Ma,blockquote:Ts,code:ks,br:Ds,rawtext:rc},yc={async:!1,breaks:!1,gfm:!0,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null,headerIds:!0,headerPrefix:``},bc=new Set([`http:`,`https:`,`mailto:`,`tel:`]),xc=new Set([`href`,`src`,`action`,`formaction`,`cite`,`data`,`poster`]),Sc=/^https?:/i,Cc=/^\s+/,wc=/^[#/?.]/,Tc=(e,t)=>{if(!e)return``;let n=e.replace(Cc,``);if(wc.test(n)||!n.includes(`:`)||Sc.test(n))return n;try{let e=new URL(n,`http://localhost`);if(bc.has(e.protocol))return n}catch{}return``},Ec=(e,t,n)=>{let r={};for(let[i,a]of Object.entries(e)){let e=i.toLowerCase();if(!(e.startsWith(`on`)||e===`srcdoc`)){if(xc.has(e)){let e=n(a,t);e&&(r[i]=e);continue}r[i]=a}}return r},Dc=Symbol(`svelte-markdown.renderMetadata`),Oc=e=>Array.isArray(e)?e:void 0,kc=e=>typeof e.raw==`string`?e.raw:typeof e.text==`string`?e.text:``,Ac=e=>typeof e.sourceLength==`number`?e.sourceLength:kc(e).length,jc=e=>({...e}),Mc=e=>({headerIds:e.headerIds,headerPrefix:e.headerPrefix}),Nc=(e,t)=>e!==void 0&&e.headerIds===t.headerIds&&e.headerPrefix===t.headerPrefix,Pc=()=>{let e=new WeakMap,t=new WeakMap,n=new WeakMap,r=[],i=[],a,o=[],s=(t,n)=>{e.set(t,n)},c=t=>typeof t==`object`&&t?e.get(t):void 0,l=(e,t)=>{let n=c(e);return n===void 0?typeof e==`object`&&e?e:`${t}:${String(e)}`:n},u=e=>n.get(e),d=(e,t=0,r=0,i=0)=>{if(!e)return;let a=i;for(let i=r;i<e.length;i++){let r=e[i],o=Ac(r),c=t+a;n.set(r,c),o===0?s(r,`src:${c}:zero:${i}`):s(r,`src:${c}`),g(r,c),a+=o}},f=(e,t=new Set)=>{if(typeof e!=`object`||!e)return t;if(t.add(e),Array.isArray(e)){for(let n of e)f(n,t);return t}let n=e;return f(n.tokens,t),f(n.items,t),f(n.header,t),f(n.rows,t),t},p=(e,t)=>{let n=0,[r,i]=e.size<=t.size?[e,t]:[t,e];for(let e of r)i.has(e)&&n++;return n},m=(e,t,n)=>{let r=-1,i=0;for(let a=0;a<o.length;a++){if(n.has(a))continue;let s=o[a];if(s.type!==e.type)continue;let c=p(t,s.identities);c>i&&(r=a,i=c)}return r===-1?void 0:{index:r,record:o[r]}},h=e=>{if(!e){o=[];return}let t=[],n=new Set;for(let r of e){let e=f(r),i=c(r),a=i===void 0?m(r,e,n):void 0,o=i??a?.record.key??r;a&&n.add(a.index),i===void 0&&s(r,o),t.push({key:o,identities:e,type:r.type})}o=t},g=(e,t)=>{d(Oc(e.tokens),t),d(Oc(e.items),t),d(Oc(e.header),t);let n=Oc(e.rows);if(n)for(let e=0;e<n.length;e++){let r=n[e];s(r,`src:${t}:row:${e}`),d(Oc(r),t)}},_=(e,t,n,r,i,a=0)=>{if(e)for(let o=a;o<e.length;o++){let a=e[o];a.type===`heading`&&(v(a,t,n),y(a,n,r,i)),_(Oc(a.tokens),t,n,r,i),_(Oc(a.items),t,n,r,i),_(Oc(a.header),t,n,r,i);let s=Oc(a.rows);if(s)for(let e of s)_(Oc(e),t,n,r,i)}},v=(e,n,r)=>{t.set(e,n.headerIds&&typeof e.text==`string`?`${n.headerPrefix}${r.slug(e.text)}`:void 0)},y=(e,t,n,r)=>{n.push(e);let i=u(e);r.push(i===void 0?void 0:{offset:i,occurrences:jc(t.occurrences)})},b=e=>{let t=0;for(let n of r){let r=u(n);if(r===void 0)return;if(r>=e)break;let a=i[t];if(!a||a.offset!==r)return;t++}return t},x=(e,t,n,o,s)=>{let c=Mc(t);if(!Nc(a,c))return!1;let l=b(n);if(l===void 0)return!1;if(o.push(...r.slice(0,l)),s.push(...i.slice(0,l)),l===0)return!0;let u=i[l-1];return u?(e.occurrences=jc(u.occurrences),!0):!1},S=(e,t,n,i,a)=>{for(let o of r){let r=u(o);r===void 0||r>=n||(v(o,t,e),y(o,e,i,a))}},C=(e,t,n)=>{let o=new Fa,s=[],c=[];n?.source!==void 0&&n.startOffset!==void 0&&(x(o,t,n.startOffset,s,c)||S(o,t,n.startOffset,s,c)),_(e,t,o,s,c,n?.startIndex??0),r=s,i=c,a=Mc(t)};return{prepareTokensForRender:(e,t,n)=>{if(!e)return e;let r=e;return n?.source===void 0?h(r):(o=[],d(r,0,n.startIndex??0,n.startOffset??0)),C(r,t,n),e},getPreparedHeadingId:e=>typeof e==`object`&&e?t.get(e):void 0,getStableNodeKey:l,getStableRowKey:(e,t)=>{let n=c(e);return n===void 0?e&&e.length>0?l(e[0],t):e||t:n}}},Fc=new Set([`br`,`hr`,`img`,`input`,`link`,`meta`,`area`,`base`,`col`,`embed`,`keygen`,`param`,`source`,`track`,`wbr`]),Ic=Object.freeze({}),Lc=new Set([`$$slots`,`$$events`,`$$legacy`,`type`,`tokens`,`header`,`rows`,`ordered`,`renderers`,`snippetOverrides`,`htmlSnippetOverrides`,`sanitizeUrl`,`sanitizeAttributes`]),Rc=o(`<!> <!>`,1);function zc(e,t){ue(t,!0);let n=(e,r=I,i=I)=>{let a=F(r),o=F(()=>r().type===`html`&&!!S(a).tag&&!!t.renderers.html&&S(a).tag in Ma&&t.renderers.html[S(a).tag]===Ma[S(a).tag]&&!m()[S(a).tag]);var s=h(),c=D(s),v=e=>{},y=e=>{var t=d();l(()=>f(t,r().text??r().raw)),p(e,t)},b=e=>{let t=F(()=>S(a).attributes?_()(S(a).attributes,{type:`html`,tag:S(a).tag},g()):void 0);var r=h(),o=D(r),s=e=>{var n=h(),r=D(n);ke(r,()=>S(a).tag,!1,(e,n)=>{O(e,()=>({...S(t)}))}),p(e,n)},c=F(()=>Fc.has(S(a).tag)),l=e=>{var r=h(),o=D(r);ke(o,()=>S(a).tag,!1,(e,r)=>{O(e,()=>({...S(t)}));var o=h(),s=D(o),c=e=>{var t=h(),r=D(t);pe(r,19,()=>S(a).tokens,(e,t)=>x.getStableNodeKey(e,t),(e,t)=>{n(e,()=>S(t),i)}),p(e,t)};A(s,e=>{S(a).tokens&&S(a).tokens.length&&e(c)}),p(r,o)}),p(e,r)};A(o,e=>{S(c)?e(s):e(l,-1)}),p(e,r)},w=e=>{let n=F(()=>r().type===`heading`?{id:x.getPreparedHeadingId(r())??r().id}:Ic);zc(e,me(i,r,()=>S(n),{get renderers(){return t.renderers},get snippetOverrides(){return u()},get htmlSnippetOverrides(){return m()},get sanitizeUrl(){return g()},get sanitizeAttributes(){return _()}}))};A(c,e=>{r().type===`space`&&S(ee)?e(v):r().type===`text`&&S(C)&&!r().tokens?e(y,1):S(o)&&S(a).tag?e(b,2):e(w,-1)}),p(e,s)},r=N(t,`type`,3,void 0),i=N(t,`tokens`,3,void 0),o=N(t,`header`,3,void 0),s=N(t,`rows`,3,void 0),c=N(t,`ordered`,3,!1),u=N(t,`snippetOverrides`,19,()=>({})),m=N(t,`htmlSnippetOverrides`,19,()=>({})),g=N(t,`sanitizeUrl`,3,Tc),_=N(t,`sanitizeAttributes`,3,Ec),v=ie(t,Lc),y=_e(Dc),x=y?be(Dc):Pc();y||te(Dc,x);let C=F(()=>t.renderers.text===vc.text&&!u().text&&t.renderers.rawtext===vc.rawtext&&!u().rawtext),ee=F(()=>!t.renderers.space&&!u().space),w=F(()=>{if((r()===`link`||r()===`image`)&&typeof t.href==`string`){let e=r()===`link`?`a`:`img`,n=g()(t.href,{type:r(),tag:e});return{...v,href:n||void 0}}if(r()===`html`&&t.attributes){let e=t.tag??``;return{...v,attributes:_()(t.attributes,{type:r(),tag:e},g())}}return v});var T=h(),ne=D(T),re=e=>{var t=h(),r=D(t),a=e=>{let t=F(()=>{let{text:e,raw:t,tokens:n,...r}=v;return{_text:e,_raw:t,_tokens:n,parserRest:r}});var r=h(),a=D(r);pe(a,19,i,(e,t)=>x.getStableNodeKey(e,t),(e,r)=>{n(e,()=>S(r),()=>S(t).parserRest)}),p(e,r)};A(r,e=>{i()&&e(a)}),p(e,t)},E=e=>{var l=h(),d=D(l),f=e=>{var i=h(),c=D(i),l=e=>{let i=e=>{var r=Rc(),i=D(r),c=e=>{let r=e=>{let r=e=>{var r=h(),i=D(r);pe(i,19,()=>o()??[],(e,t)=>x.getStableNodeKey(e,t),(e,r,i)=>{let o=e=>{var t=h(),i=D(t);pe(i,19,()=>S(r).tokens??[],(e,t)=>x.getStableNodeKey(e,t),(e,t)=>{n(e,()=>S(t),()=>({}))}),p(e,t)},s=F(()=>{let{align:e,...t}=S(w);return{_align:e,cellRest:t}});var c=h(),l=D(c),u=e=>{var t=h(),n=D(t);{let e=F(()=>({header:!0,align:S(w).align?.[S(i)]??null,...S(s).cellRest,children:o}));a(n,()=>S(m),()=>S(e))}p(e,t)},d=e=>{var n=h(),r=D(n);{let e=F(()=>S(w).align?.[S(i)]??null);b(r,()=>t.renderers.tablecell,(t,n)=>{n(t,me({header:!0,get align(){return S(e)}},()=>S(s).cellRest,{children:(e,t)=>{o(e)},$$slots:{default:!0}}))})}p(e,n)};A(l,e=>{S(m)?e(u):e(d,-1)}),p(e,c)}),p(e,r)};var i=h(),s=D(i),c=e=>{var t=h(),n=D(t);{let e=F(()=>({...S(w),children:r}));a(n,()=>S(f),()=>S(e))}p(e,t)},l=e=>{var n=h(),i=D(n);b(i,()=>t.renderers.tablerow,(e,t)=>{t(e,me(()=>S(w),{children:(e,t)=>{r(e)},$$slots:{default:!0}}))}),p(e,n)};A(s,e=>{S(f)?e(c):e(l,-1)}),p(e,i)};var i=h(),s=D(i),c=e=>{var t=h(),n=D(t);{let e=F(()=>({...S(w),children:r}));a(n,()=>S(l),()=>S(e))}p(e,t)},u=e=>{var n=h(),i=D(n);b(i,()=>t.renderers.tablehead,(e,t)=>{t(e,me(()=>S(w),{children:(e,t)=>{r(e)},$$slots:{default:!0}}))}),p(e,n)};A(s,e=>{S(l)?e(c):e(u,-1)}),p(e,i)};A(i,e=>{t.renderers.tablehead&&e(c)});var u=j(i,2),g=e=>{let r=e=>{var r=h(),i=D(r);pe(i,19,()=>s()??[],(e,t)=>x.getStableRowKey(e,t),(e,r)=>{let i=e=>{var i=h(),o=D(i);pe(o,19,()=>S(r)??[],(e,t)=>x.getStableNodeKey(e,t),(e,r,i)=>{let o=e=>{var t=h(),i=D(t);pe(i,19,()=>S(r).tokens??[],(e,t)=>x.getStableNodeKey(e,t),(e,t)=>{n(e,()=>S(t),()=>S(s).cellRest)}),p(e,t)},s=F(()=>{let{align:e,...t}=S(w);return{_align:e,cellRest:t}});var c=h(),l=D(c),u=e=>{var t=h(),n=D(t);{let e=F(()=>({header:!1,align:S(w).align?.[S(i)]??null,...S(s).cellRest,children:o}));a(n,()=>S(m),()=>S(e))}p(e,t)},d=e=>{var n=h(),r=D(n);{let e=F(()=>S(w).align?.[S(i)]??null);b(r,()=>t.renderers.tablecell,(t,n)=>{n(t,me(()=>S(s).cellRest,{header:!1,get align(){return S(e)},children:(e,t)=>{o(e)},$$slots:{default:!0}}))})}p(e,n)};A(l,e=>{S(m)?e(u):e(d,-1)}),p(e,c)}),p(e,i)};var o=h(),s=D(o),c=e=>{var t=h(),n=D(t);{let e=F(()=>({...S(w),children:i}));a(n,()=>S(f),()=>S(e))}p(e,t)},l=e=>{var n=h(),r=D(n);b(r,()=>t.renderers.tablerow,(e,t)=>{t(e,me(()=>S(w),{children:(e,t)=>{i(e)},$$slots:{default:!0}}))}),p(e,n)};A(s,e=>{S(f)?e(c):e(l,-1)}),p(e,o)}),p(e,r)};var i=h(),o=D(i),c=e=>{var t=h(),n=D(t);{let e=F(()=>({...S(w),children:r}));a(n,()=>S(d),()=>S(e))}p(e,t)},l=e=>{var n=h(),i=D(n);b(i,()=>t.renderers.tablebody,(e,t)=>{t(e,me(()=>S(w),{children:(e,t)=>{r(e)},$$slots:{default:!0}}))}),p(e,n)};A(o,e=>{S(d)?e(c):e(l,-1)}),p(e,i)};A(u,e=>{t.renderers.tablebody&&e(g)}),p(e,r)},c=F(()=>u()[r()]),l=F(()=>u().tablehead),d=F(()=>u().tablebody),f=F(()=>u().tablerow),m=F(()=>u().tablecell);var g=h(),_=D(g),v=e=>{var t=h(),n=D(t);{let e=F(()=>({...S(w),children:i}));a(n,()=>S(c),()=>S(e))}p(e,t)},y=e=>{var n=h(),r=D(n);b(r,()=>t.renderers.table,(e,t)=>{t(e,me(()=>S(w),{children:(e,t)=>{i(e)},$$slots:{default:!0}}))}),p(e,n)};A(_,e=>{S(c)?e(v):e(y,-1)}),p(e,g)};A(c,e=>{t.renderers.table&&t.renderers.tablerow&&t.renderers.tablecell&&e(l)}),p(e,i)},g=e=>{let r=F(()=>u().list);var i=h(),o=D(i),s=e=>{let i=e=>{let r=F(()=>{let{items:e,...t}=S(w);return{_items:e,parserRest:t}}),i=F(()=>S(r)._items??[]);var o=h(),s=D(o);pe(s,19,()=>S(i),(e,t)=>x.getStableNodeKey(e,t),(e,i)=>{let o=e=>{var t=h(),a=D(t);pe(a,19,()=>S(i).tokens??[],(e,t)=>x.getStableNodeKey(e,t),(e,t)=>{n(e,()=>S(t),()=>S(r).parserRest)}),p(e,t)},s=F(()=>t.renderers.orderedlistitem||t.renderers.listitem),c=F(()=>u().orderedlistitem||u().listitem);var l=h(),d=D(l),f=e=>{var t=h(),n=D(t);{let e=F(()=>({...S(i),children:o}));a(n,()=>S(c),()=>S(e))}p(e,t)},m=e=>{var t=h(),n=D(t);b(n,()=>S(s),(e,t)=>{t(e,me(()=>S(i),{children:(e,t)=>{o(e)},$$slots:{default:!0}}))}),p(e,t)};A(d,e=>{S(c)?e(f):S(s)&&e(m,1)}),p(e,l)}),p(e,o)};var o=h(),s=D(o),l=e=>{var t=h(),n=D(t);{let e=F(()=>({ordered:c(),...S(w),children:i}));a(n,()=>S(r),()=>S(e))}p(e,t)},d=e=>{var n=h(),r=D(n);b(r,()=>t.renderers.list,(e,t)=>{t(e,me({get ordered(){return c()}},()=>S(w),{children:(e,t)=>{i(e)},$$slots:{default:!0}}))}),p(e,n)};A(s,e=>{S(r)?e(l):e(d,-1)}),p(e,o)},l=e=>{let i=e=>{let r=F(()=>{let{items:e,...t}=S(w);return{_items:e,parserRest:t}}),i=F(()=>S(r)._items??[]);var o=h(),s=D(o);pe(s,19,()=>S(i),(e,t)=>x.getStableNodeKey(e,t),(e,i)=>{let o=e=>{var t=h(),a=D(t);pe(a,19,()=>S(i).tokens??[],(e,t)=>x.getStableNodeKey(e,t),(e,t)=>{n(e,()=>S(t),()=>S(r).parserRest)}),p(e,t)},s=F(()=>t.renderers.unorderedlistitem||t.renderers.listitem),c=F(()=>u().unorderedlistitem||u().listitem);var l=h(),d=D(l),f=e=>{var t=h(),n=D(t);{let e=F(()=>({...S(i),children:o}));a(n,()=>S(c),()=>S(e))}p(e,t)},m=e=>{var t=h(),n=D(t);b(n,()=>S(s),(e,t)=>{t(e,me(()=>S(i),{children:(e,t)=>{o(e)},$$slots:{default:!0}}))}),p(e,t)};A(d,e=>{S(c)?e(f):S(s)&&e(m,1)}),p(e,l)}),p(e,o)};var o=h(),s=D(o),l=e=>{var t=h(),n=D(t);{let e=F(()=>({ordered:c(),...S(w),children:i}));a(n,()=>S(r),()=>S(e))}p(e,t)},d=e=>{var n=h(),r=D(n);b(r,()=>t.renderers.list,(e,t)=>{t(e,me({get ordered(){return c()}},()=>S(w),{children:(e,t)=>{i(e)},$$slots:{default:!0}}))}),p(e,n)};A(s,e=>{S(r)?e(l):e(d,-1)}),p(e,o)};A(o,e=>{c()?e(s):e(l,-1)}),p(e,i)},_=e=>{let r=F(()=>{let{tag:e,...t}=S(w);return{tag:e,localRest:t}}),o=F(()=>S(w).tag),s=F(()=>m()[S(o)]),c=F(()=>Object.fromEntries(Object.entries(S(r).localRest).filter(([e])=>e!==`attributes`)));var l=h(),u=D(l),d=e=>{let r=e=>{var r=h(),a=D(r),o=e=>{var t=h(),r=D(t);pe(r,19,i,(e,t)=>x.getStableNodeKey(e,t),(e,t)=>{n(e,()=>S(t),()=>S(c))}),p(e,t)},s=e=>{var n=h(),r=D(n);b(r,()=>t.renderers.rawtext,(e,t)=>{t(e,me({get text(){return S(w).raw}},()=>S(w)))}),p(e,n)};A(a,e=>{i()&&i().length?e(o):e(s,-1)}),p(e,r)};var o=h(),l=D(o);a(l,()=>S(s),()=>({attributes:S(w).attributes,children:r})),p(e,o)},f=e=>{let r=F(()=>t.renderers.html[S(o)]);var a=h(),s=D(a),l=e=>{var a=h(),o=D(a);b(o,()=>S(r),(e,r)=>{r(e,me(()=>S(w),{children:(e,r)=>{var a=h(),o=D(a),s=e=>{var t=h(),r=D(t);pe(r,19,i,(e,t)=>x.getStableNodeKey(e,t),(e,t)=>{n(e,()=>S(t),()=>S(c))}),p(e,t)},l=e=>{var n=h(),r=D(n);b(r,()=>t.renderers.rawtext,(e,t)=>{t(e,me({get text(){return S(w).raw}},()=>S(w)))}),p(e,n)};A(o,e=>{i()&&i().length?e(s):e(l,-1)}),p(e,a)},$$slots:{default:!0}}))}),p(e,a)};A(s,e=>{S(r)&&e(l)}),p(e,a)},g=e=>{let t=F(()=>Object.fromEntries(Object.entries(S(r).localRest).filter(([e])=>e!==`tokens`))),a=F(()=>i()??[]);var o=h(),s=D(o);pe(s,19,()=>S(a),(e,t)=>x.getStableNodeKey(e,t),(e,r)=>{n(e,()=>S(r),()=>S(t))}),p(e,o)};A(u,e=>{S(s)?e(d):t.renderers.html&&S(o)in t.renderers.html?e(f,1):e(g,-1)}),p(e,l)},v=e=>{let o=e=>{var r=h(),a=D(r),o=e=>{let t=F(()=>{let{text:e,raw:t,...n}=S(w);return{_text:e,_raw:t,parserRest:n}});var r=h(),a=D(r);pe(a,19,i,(e,t)=>x.getStableNodeKey(e,t),(e,r)=>{n(e,()=>S(r),()=>S(t).parserRest)}),p(e,r)},s=e=>{var n=h(),r=D(n);b(r,()=>t.renderers.rawtext,(e,t)=>{t(e,me({get text(){return S(w).raw}},()=>S(w)))}),p(e,n)};A(a,e=>{i()?e(o):e(s,-1)}),p(e,r)},s=F(()=>t.renderers[r()]),c=F(()=>u()[r()]);var l=h(),d=D(l),f=e=>{var t=h(),n=D(t);{let e=F(()=>({...S(w),children:o}));a(n,()=>S(c),()=>S(e))}p(e,t)},m=e=>{var t=h(),n=D(t);b(n,()=>S(s),(e,t)=>{t(e,me(()=>S(w),{children:(e,t)=>{o(e)},$$slots:{default:!0}}))}),p(e,t)};A(d,e=>{S(c)?e(f):S(s)&&e(m,1)}),p(e,l)};A(d,e=>{r()===`table`?e(f):r()===`list`&&t.renderers.list?e(g,1):r()===`html`?e(_,2):e(v,-1)}),p(e,l)};A(ne,e=>{r()?(r()in t.renderers||r()in u())&&e(E,1):e(re)}),p(e,T),de()}var Bc=Object.keys(vc).filter(e=>e!==`html`),Vc=Object.keys(Ma),Hc=e=>({...vc,...e,html:e.html?{...vc.html,...e.html}:vc.html}),Uc=e=>[...Bc,...e],Wc=(e,t)=>Object.fromEntries(t.filter(t=>t in e&&e[t]!=null).map(t=>[t,e[t]])),Gc=e=>Object.fromEntries(Object.entries(e).filter(([e,t])=>e.startsWith(`html_`)&&t!=null).map(([e,t])=>[e.slice(5),t])),Kc=(e,t)=>{let n=new Set([...t,...Object.keys(e).filter(e=>e.startsWith(`html_`))]);return Object.fromEntries(Object.entries(e).filter(([e])=>!n.has(e)))},qc=0,Jc=new WeakMap,Yc=e=>{let t=Jc.get(e);return t||(t=++qc,Jc.set(e,t)),t},Xc=e=>typeof e==`function`?Yc(e):null,Zc=e=>e.flatMap(e=>e.extensions?.map(e=>e.name)??[]),Qc=e=>e.length>0?new bs(...e).defaults:{},$c=e=>e.some(e=>e.async===!0),el=e=>e.map(e=>({extension:Yc(e),async:e.async??!1,extensions:e.extensions?.map(e=>{let t=e;return{token:Yc(e),name:e.name,level:t.level??null,childTokens:t.childTokens??null,start:Xc(t.start),tokenizer:Xc(t.tokenizer),renderer:Xc(t.renderer)}})??null,hooks:e.hooks?Yc(e.hooks):null,renderer:e.renderer?Yc(e.renderer):null,tokenizer:e.tokenizer?Yc(e.tokenizer):null,walkTokens:Xc(e.walkTokens)})),tl=(e,t)=>{let n=Qc(t),r=t.length>0?el(t):void 0;return{...yc,...n,...e,...r?{_svelteMarkdownExtensionCacheSignature:r}:{}}},nl=class e extends Error{constructor(t){super(t),this.name=`CacheConfigError`,Object.setPrototypeOf(this,e.prototype)}},rl=Symbol(`CACHED_UNDEFINED`),il=Symbol(`CACHED_NULL`),al=class{constructor(e={}){this.cache=new Map,this.inFlight=new Map,this.totalWeight=0,this.stats={hits:0,misses:0,evictions:0,expirations:0},this.expirationQueue=[],this.compactionScheduled=!1;let t=e.maxSize??100,n=e.maxWeight??0,r=e.ttl??3e5;if(t<0)throw new nl(`maxSize must be a non-negative number`);if(r<0)throw new nl(`ttl must be a non-negative number`);if(n<0||Number.isNaN(n))throw new nl(`maxWeight must be a non-negative number`);if(n>0&&!e.sizeCalculation)throw new nl(`sizeCalculation is required when maxWeight is greater than 0`);this.maxSize=t,this.maxWeight=n,this.sizeCalculation=e.sizeCalculation,this.ttl=r,this.hooks=e.hooks??{}}callHook(e,t){if(e)try{e(t)}catch{}}unwrapValue(e){if(e!==rl)return e===il?null:e}removeEntry(e){let t=this.cache.get(e);if(t&&this.cache.delete(e))return this.totalWeight-=t.weight,this.cache.size===0&&(this.totalWeight=0),t}evictEntry(e){let t=this.removeEntry(e);return t?(this.stats.evictions++,this.callHook(this.hooks.onEvict,{key:e,value:this.unwrapValue(t.value)}),!0):!1}exceedsCapacity(e,t){let n=this.cache.size+ +(t===void 0),r=this.totalWeight-(t??0)+e;return this.maxSize>0&&n>this.maxSize||this.maxWeight>0&&r>this.maxWeight}read(e,t,n){let r=this.cache.get(e);if(!r)return n&&(this.stats.misses++,this.callHook(this.hooks.onMiss,{key:e,reason:`not_found`})),{found:!1,reason:`not_found`};if(this.ttl>0&&Date.now()-r.timestamp>this.ttl){let i=this.unwrapValue(r.value);return this.removeEntry(e),this.stats.expirations++,this.callHook(this.hooks.onExpire,{key:e,value:i,source:t}),n&&(this.stats.misses++,this.callHook(this.hooks.onMiss,{key:e,reason:`expired`})),{found:!1,reason:`expired`}}n&&(this.cache.delete(e),this.cache.set(e,r),this.stats.hits++);let i=this.unwrapValue(r.value);return n&&this.callHook(this.hooks.onHit,{key:e,value:i}),{found:!0,value:i}}get(e){let t=this.read(e,`get`,!0);return t.found?t.value:void 0}async getOrSet(e,t){let n=this.inFlight.get(e);if(n)return n;let r=this.read(e,`get`,!0);if(r.found)return r.value;let i=(async()=>{try{let n=await t();return this.set(e,n),n}finally{this.inFlight.delete(e)}})();return this.inFlight.set(e,i),i}has(e){return this.read(e,`has`,!1).found}set(e,t){let n=0;if(this.maxWeight>0&&(n=this.sizeCalculation(t,e),!Number.isFinite(n)||n<0))throw RangeError(`sizeCalculation must return a finite, non-negative number`);let r=this.cache.get(e);if(this.maxWeight>0&&n>this.maxWeight){r&&this.evictEntry(e);return}this.exceedsCapacity(n,r?.weight)&&this.prune();let i=this.cache.get(e);for(;this.exceedsCapacity(n,i?.weight);){let t;for(let n of this.cache.keys())if(n!==e){t=n;break}if(t===void 0||!this.evictEntry(t))break;i=this.cache.get(e)}let a=i!==void 0;a&&this.removeEntry(e);let o;o=t===void 0?rl:t===null?il:t;let s=Date.now();if(this.cache.set(e,{value:o,timestamp:s,weight:n}),this.totalWeight+=n,this.ttl>0){let t=this.expirationQueue,n=t[t.length-1];n?.key===e?n.timestamp=s:t.push({key:e,timestamp:s})}this.callHook(this.hooks.onSet,{key:e,value:t,isUpdate:a})}delete(e){let t=this.removeEntry(e);if(t){let n=this.unwrapValue(t.value);this.callHook(this.hooks.onDelete,{key:e,value:n,source:`delete`})}return t!==void 0}async deleteAsync(e){let t=this.removeEntry(e);if(t){let n=this.unwrapValue(t.value);this.callHook(this.hooks.onDelete,{key:e,value:n,source:`deleteAsync`})}return Promise.resolve(t!==void 0)}clear(){for(let[e,t]of this.cache.entries()){let n=this.unwrapValue(t.value);this.removeEntry(e),this.callHook(this.hooks.onDelete,{key:e,value:n,source:`clear`})}this.expirationQueue=[],this.compactionScheduled=!1}deleteByPrefix(e){let t=0;for(let[n,r]of this.cache.entries())if(n.startsWith(e)){let e=this.unwrapValue(r.value);this.removeEntry(n),this.callHook(this.hooks.onDelete,{key:n,value:e,source:`deleteByPrefix`}),t++}return t}deleteByMagicString(e){let t=0,n=e.replace(/[.+?^${}()|[\]\\]/g,`\\$&`).replace(/\*/g,`.*`),r=RegExp(`^${n}$`);for(let[e,n]of this.cache.entries())if(r.test(e)){let r=this.unwrapValue(n.value);this.removeEntry(e),this.callHook(this.hooks.onDelete,{key:e,value:r,source:`deleteByMagicString`}),t++}return t}size(){return this.prune(),this.cache.size}keys(){return this.prune(),Array.from(this.cache.keys())}values(){this.prune();let e=[];for(let t of this.cache.values())t.value===rl?e.push(void 0):t.value===il?e.push(null):e.push(t.value);return e}entries(){this.prune();let e=[];for(let[t,n]of this.cache.entries()){let r;r=n.value===rl?void 0:n.value===il?null:n.value,e.push([t,r])}return e}getStats(){return this.prune(),{hits:this.stats.hits,misses:this.stats.misses,evictions:this.stats.evictions,expirations:this.stats.expirations,size:this.cache.size,weight:this.totalWeight}}resetStats(){this.stats.hits=0,this.stats.misses=0,this.stats.evictions=0,this.stats.expirations=0}prune(){if(this.ttl<=0)return 0;let e=0,t=Date.now(),n=this.expirationQueue,r=0;for(;r<n.length&&t-n[r].timestamp>this.ttl;){let{key:t,timestamp:i}=n[r];r++;let a=this.cache.get(t);if(a&&a.timestamp===i){let n=this.unwrapValue(a.value);this.removeEntry(t),this.stats.expirations++,this.callHook(this.hooks.onExpire,{key:t,value:n,source:`prune`}),e++}}return r>0&&n.splice(0,r),!this.compactionScheduled&&this.expirationQueue.length>2*this.cache.size&&(this.compactionScheduled=!0,queueMicrotask(()=>{this.compactionScheduled=!1,this.expirationQueue=this.expirationQueue.filter(e=>{let t=this.cache.get(e.key);return t!==void 0&&t.timestamp===e.timestamp})})),e}},ol=e=>{let t=2166136261;for(let n=0;n<e.length;n++)t^=e.charCodeAt(n),t+=(t<<1)+(t<<4)+(t<<7)+(t<<8)+(t<<24);return(t>>>0).toString(36)},sl=new WeakMap,cl=(e,t)=>{let n=ol(e),r=sl.get(t);if(!r){let e=new WeakSet;r=ol(JSON.stringify(t,(t,n)=>{if(typeof n==`function`)return n.name||n.toString();if(n&&typeof n==`object`){if(e.has(n))return`[Circular]`;e.add(n)}return n})),sl.set(t,r)}return`${n}:${r}`},ll=new class extends al{constructor(e){super({maxSize:50,ttl:3e5,...e})}getTokens(e,t){let n=cl(e,t),r=this.get(n);if(r!==void 0&&r.source===e)return r.tokens}setTokens(e,t,n){let r=cl(e,t);this.set(r,{source:e,tokens:n})}hasTokens(e,t){return this.getTokens(e,t)!==void 0}deleteTokens(e,t){let n=cl(e,t);return this.delete(n)}clearAllTokens(){this.clear()}},ul=[8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0,0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376];function dl(e){return e===0||e>=55296&&e<=57343||e>1114111}function fl(e){return dl(e)?65533:e>=128&&e<=159&&ul[e-128]||e}function pl(e){return dl(e)?65533:e}var ml=(()=>{let e=new Uint8Array(127),t=0;for(let n=33;n<=126;n++)n!==34&&n!==36&&n!==92&&(e[n]=t++);return e})();function hl(e,t,n,r,i,a){let o=e.length,s=a*90,c=0,l=()=>{let t=ml[e.charCodeAt(c++)];return t<a?t:t*91-s+ml[e.charCodeAt(c++)]},u=n-r,d=n+i,f=new Int32Array(d);f.fill(-1,r,a),f.fill(-1,a+u,d);let p=new Int32Array(d),m=new Int32Array(d);function h(t,n){let r=0,i=n,a=n+t;for(;i<a;){let t=ml[e.charCodeAt(c++)];if(t<89)r+=t,f[i++]=r;else if(t===89){let t=ml[e.charCodeAt(c++)]+2;for(;t--;)f[i++]=++r}else{let t=ml[e.charCodeAt(c++)];r+=89+(t<90?t*91+ml[e.charCodeAt(c++)]:ml[e.charCodeAt(c++)]*8281+ml[e.charCodeAt(c++)]*91+ml[e.charCodeAt(c++)]),f[i++]=r}}}h(r,0),h(u,a);let g=new Int32Array(i*2),_=0,v=0;function y(e,t){for(let n=0;n<e;n++){let e=t+n,r=l(),i=l();g[v*2]=r,g[v*2+1]=i,v+=1,p[e]=_;let a=(f[r]<0?m[r]:1)+(f[i]<0?m[i]:1);m[e]=a,_+=a}}y(i-a+r,a+u),y(a-r,r);let b=new Uint16Array(_),x=0;for(let e=0;e<v;e++)for(let t=0;t<2;t++){let n=g[e*2+t],r=f[n];if(r<0){let e=p[n],t=e+m[n];for(;e<t;)b[x++]=b[e++]}else b[x++]=r}let S=new Uint16Array(t),C=0;for(;c<o;){let t=ml[e.charCodeAt(c++)];t>=a&&(t=t*91-s+ml[e.charCodeAt(c++)]);let n=f[t];if(n<0){let e=p[t],n=e+m[t];for(;e<n;)S[C++]=b[e++]}else S[C++]=n}return S}var gl=hl("!}.&u%}'&}*'~!6*)%&,~!J~!J~%L~y<~!R,~~%Lu~~#GD~~#|)1#%}^%}2%+#.##%##%}&%##%'#%##&%#%#'%#&#%#&#'#%%#&#%##%#)%''%&%#%#'%#%%#%%}%%%#%#&(23#%%#&-%0%('1#(##%#'##+%'*.:1}#%#6-+(%'%%#%%%}#L'2351&('%}&/N'(0(/*-%(%%}#'+&T%7.2}#&%&#%#36/5##%&%%#&#%%#))2%%##%&&'0~!#*+&'%1~!%).'3q?&%'1~!.##%6(~!+%%%(Gw'rT~!E#<nA%#jZ~!H%(~!42##~!*31&~!G%U~#)5~#`3~!J~!Z~%]~%Y~%C~!q~!u~#kz~%#~!6'~!D~!U~!?~#T~!c%~!G#'~%7|~!G~!J~!G&~#pb~(Df}#%}*&}#%##%##%##&#-}&'#'&%#.++}%mI,#,@&(}*%}*'%&##&#%##%}&0}#.},U},%}+%}&%}#%##&}B%(}(%}+%)})%##%#&}&%##%&}<%}>%#%&}*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Jv)!~2b[~1Lv'w(%*!a#bX|aPrmawRe]keu7uhv-q6rxu,q`xTo]/a5aU!bNaDXbi!b-!ao!b<bwA!#5@B932:aV2G|:d-)Y#hJrL>RhG<7@C5<H|_=Cau:5aj5@B932:bJ|ng>vIbs)#?C2F|9jPv0w.vISh-MKvUaz(.!9ABbb|[5;5<H|Eg>unwfh;9:4E|YjQsBt|vjx'hYq3!(?C2F|J:2<BaY?C2F|GOu!5x,g|p{ah!-(?C2F|c9:4E|OjXuvvNr}:Rh&i[w*t|cd+U#jJvsu)vsSn~Mkfrmu9p}u7vwv]So!McW#Xa!ax5@A5aY:5;5<H|>kJv~vYrquJu3x4ib#T)2@SmZM?C2F|Bj:rmu9@xPhI(a*a#U#`a3-5Abb|L~@:RhK9:4E|0@52B5G|#C::aY?C2F|-:2<BaY?C2F|.5Jvk!a)javYrquJu3x4ia#T)2@SmYM?C2F|HAxPhH(!a#U#`a*-5Abb|4~@:RhJ9:4E|R@52B5G|F:2<BaY?C2F|Sc^#Xa2j=Qq5CJvB!-g<v{z;hhM?C2F|Zi[vrv{z;hiM?C2F|XKsA>!a)-g<v{z;h[eb?C2F|]i[vrv{z;h]eb?C2F|^iZu.vix,hZq3ah!.(?C2F|QOu!5ShXM:2<BaY?C2F|P",13494,2713,49,25,61),_l=new Uint16Array([512,26465,29036,7,0,2,4,116,24638,116,24636,8693,29807,24610,621,1,0,0,3,112,24614,111,115,24615]),vl;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.FLAG13=8192]=`FLAG13`,e[e.BRANCH_LENGTH=8064]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`,e[e.VALUE_MASK=8191]=`VALUE_MASK`})(vl||={});var yl;(function(e){e[e.AMP=38]=`AMP`,e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_X=120]=`LOWER_X`})(yl||={});var bl=32;function xl(e){return e-yl.ZERO>>>0<=9}function Sl(e){return(e|bl)-yl.LOWER_A>>>0<=5}function Cl(e){return(e|bl)-yl.LOWER_A>>>0<=25}function wl(e){return e===yl.EQUALS||Cl(e)||xl(e)}var Tl;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(Tl||={});var El;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(El||={});var Dl=class{decodeTree;emitCodePoint;errors;state=Tl.EntityStart;consumed=1;result=0;treeIndex=0;excess=1;decodeMode=El.Strict;runConsumed=0;constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n}startEntity(e){this.decodeMode=e,this.state=Tl.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case Tl.EntityStart:return e.charCodeAt(t)===yl.NUM?(this.state=Tl.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Tl.NamedEntity,this.stateNamedEntity(e,t));case Tl.NumericStart:return this.stateNumericStart(e,t);case Tl.NumericDecimal:return this.stateNumericDecimal(e,t);case Tl.NumericHex:return this.stateNumericHex(e,t);default:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|bl)===yl.LOWER_X?(this.state=Tl.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Tl.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){let n=e.length,{result:r}=this,{consumed:i}=this;for(;t<n;){let n=e.charCodeAt(t);if(xl(n)||Sl(n)){let e=n<=yl.NINE?n-yl.ZERO:(n|bl)-yl.LOWER_A+10;r=r*16+e,i+=1,t+=1}else return this.result=r,this.consumed=i,this.emitNumericEntity(n,3)}return this.result=r,this.consumed=i,-1}stateNumericDecimal(e,t){let n=e.length,{result:r}=this,{consumed:i}=this;for(;t<n;){let n=e.charCodeAt(t)-yl.ZERO;if(n>>>0>9)return this.result=r,this.consumed=i,this.emitNumericEntity(n+yl.ZERO,2);r=r*10+n,i+=1,t+=1}return this.result=r,this.consumed=i,-1}emitNumericEntity(e,t){if(this.consumed<=t)return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===yl.SEMI)this.consumed+=1;else if(this.decodeMode===El.Strict)return 0;return this.emitCodePoint((this.decodeTree===_l?pl:fl)(this.result),this.consumed),this.errors&&(e!==yl.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}flushAndEmitLegacyOrReject(e,t,n,r){return this.consumed=e,this.excess=t,this.result===0||this.decodeMode===El.Attribute&&(r===0||t>1||wl(n))?0:this.emitNotTerminatedNamedEntity()}stateNamedEntity(e,t){let{decodeTree:n}=this,r=e.length,i=this.decodeMode===El.Strict,{treeIndex:a}=this,{excess:o}=this,{consumed:s}=this,c=n[a];for(;t<r;){for(;(c&(vl.VALUE_LENGTH|vl.FLAG13))===0&&(c&vl.JUMP_TABLE)!==0;){let i=e.charCodeAt(t),l=c&vl.JUMP_TABLE,u=(c&vl.BRANCH_LENGTH)>>7;if(u===0){if(i!==l)return this.flushAndEmitLegacyOrReject(s,o,i,0);a+=1}else{let e=i-l;if(e>>>0>=u)return this.flushAndEmitLegacyOrReject(s,o,i,0);let t=n[a+1+e];if(t===0)return this.flushAndEmitLegacyOrReject(s,o,i,0);a=a+u+t&65535}if(c=n[a],t+=1,o+=1,t>=r)break}if(t>=r)break;if((c&(vl.VALUE_LENGTH|vl.FLAG13))===vl.FLAG13){let i=(c&vl.BRANCH_LENGTH)>>7,{runConsumed:l}=this;if(l===0){let n=e.charCodeAt(t);if(n!==(c&vl.JUMP_TABLE))return this.flushAndEmitLegacyOrReject(s,o,n,0);t+=1,o+=1,l=1}for(;l<i;){if(t>=r)return this.treeIndex=a,this.excess=o,this.consumed=s,this.runConsumed=l,-1;let i=l-1,c=n[a+1+(i>>1)]>>((i&1)<<3)&255,u=e.charCodeAt(t);if(u!==c)return this.runConsumed=0,this.flushAndEmitLegacyOrReject(s,o,u,0);t+=1,o+=1,l+=1}this.runConsumed=0,a+=1+(i>>1),c=n[a];continue}let l=c>>>14,u=e.charCodeAt(t);if(l!==0){if(!i&&(c&vl.FLAG13)===0&&(this.result=a,s+=o-1,o=1),u===yl.SEMI)return this.emitNamedEntityData(a,l,s+o);if(l===1)return this.flushAndEmitLegacyOrReject(s,o,u,l)}let d=Ol(n,c,a+(l||1),u);if(d<0)return this.flushAndEmitLegacyOrReject(s,o,u,l);a=d,c=n[a],t+=1,o+=1}return!i&&c>>>14&&(c&vl.FLAG13)===0&&(this.result=a,s+=o-1,o=1),this.treeIndex=a,this.excess=o,this.consumed=s,-1}emitNotTerminatedNamedEntity(){let{result:e,decodeTree:t}=this,n=t[e]>>>14;return this.emitNamedEntityData(e,n,this.consumed),this.errors?.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&vl.VALUE_MASK:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){switch(this.state){case Tl.NamedEntity:return this.result!==0&&(this.decodeMode!==El.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Tl.NumericDecimal:return this.emitNumericEntity(0,2);case Tl.NumericHex:return this.emitNumericEntity(0,3);case Tl.NumericStart:return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;default:return 0}}};function Ol(e,t,n,r){let i=(t&vl.BRANCH_LENGTH)>>7,a=t&vl.JUMP_TABLE;if(a){if(i===0)return r===a?n:-1;let t=r-a;if(t>>>0>=i)return-1;let o=e[n+t];return o===0?-1:n+i+o-1&65535}if(i===0)return-1;let o=i+1>>1,s=n+o+i;for(let t=0;t<i;t++){let i=e[n+(t>>1)]>>((t&1)<<3)&255;if(i===r)return s+e[n+o+t]&65535;if(i>r)return-1}return-1}var L;(function(e){e[e.Tab=9]=`Tab`,e[e.NewLine=10]=`NewLine`,e[e.FormFeed=12]=`FormFeed`,e[e.CarriageReturn=13]=`CarriageReturn`,e[e.Space=32]=`Space`,e[e.ExclamationMark=33]=`ExclamationMark`,e[e.Number=35]=`Number`,e[e.Amp=38]=`Amp`,e[e.SingleQuote=39]=`SingleQuote`,e[e.DoubleQuote=34]=`DoubleQuote`,e[e.Dash=45]=`Dash`,e[e.Slash=47]=`Slash`,e[e.Zero=48]=`Zero`,e[e.Nine=57]=`Nine`,e[e.Semi=59]=`Semi`,e[e.Lt=60]=`Lt`,e[e.Eq=61]=`Eq`,e[e.Gt=62]=`Gt`,e[e.Questionmark=63]=`Questionmark`,e[e.UpperA=65]=`UpperA`,e[e.LowerA=97]=`LowerA`,e[e.UpperF=70]=`UpperF`,e[e.LowerF=102]=`LowerF`,e[e.UpperZ=90]=`UpperZ`,e[e.LowerZ=122]=`LowerZ`,e[e.LowerX=120]=`LowerX`,e[e.OpeningSquareBracket=91]=`OpeningSquareBracket`})(L||={});var R;(function(e){e[e.Text=1]=`Text`,e[e.BeforeTagName=2]=`BeforeTagName`,e[e.InTagName=3]=`InTagName`,e[e.InSelfClosingTag=4]=`InSelfClosingTag`,e[e.BeforeClosingTagName=5]=`BeforeClosingTagName`,e[e.InClosingTagName=6]=`InClosingTagName`,e[e.AfterClosingTagName=7]=`AfterClosingTagName`,e[e.BeforeAttributeName=8]=`BeforeAttributeName`,e[e.InAttributeName=9]=`InAttributeName`,e[e.AfterAttributeName=10]=`AfterAttributeName`,e[e.BeforeAttributeValue=11]=`BeforeAttributeValue`,e[e.InAttributeValueDq=12]=`InAttributeValueDq`,e[e.InAttributeValueSq=13]=`InAttributeValueSq`,e[e.InAttributeValueNq=14]=`InAttributeValueNq`,e[e.BeforeDeclaration=15]=`BeforeDeclaration`,e[e.InDeclaration=16]=`InDeclaration`,e[e.InProcessingInstruction=17]=`InProcessingInstruction`,e[e.BeforeComment=18]=`BeforeComment`,e[e.CDATASequence=19]=`CDATASequence`,e[e.DeclarationSequence=20]=`DeclarationSequence`,e[e.InSpecialComment=21]=`InSpecialComment`,e[e.InCommentLike=22]=`InCommentLike`,e[e.SpecialStartSequence=23]=`SpecialStartSequence`,e[e.InSpecialTag=24]=`InSpecialTag`,e[e.InPlainText=25]=`InPlainText`,e[e.InEntity=26]=`InEntity`})(R||={});function kl(e){return e===L.Space||e===L.NewLine||e===L.Tab||e===L.FormFeed||e===L.CarriageReturn}function Al(e){return e===L.Slash||e===L.Gt||kl(e)}function jl(e){return e>=L.LowerA&&e<=L.LowerZ||e>=L.UpperA&&e<=L.UpperZ}var Ml;(function(e){e[e.NoValue=0]=`NoValue`,e[e.Unquoted=1]=`Unquoted`,e[e.Single=2]=`Single`,e[e.Double=3]=`Double`})(Ml||={});var Nl={Empty:new Uint8Array,Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,33,62]),Doctype:new Uint8Array([100,111,99,116,121,112,101]),IframeEnd:new Uint8Array([60,47,105,102,114,97,109,101]),NoembedEnd:new Uint8Array([60,47,110,111,101,109,98,101,100]),NoframesEnd:new Uint8Array([60,47,110,111,102,114,97,109,101,115]),Plaintext:new Uint8Array([60,47,112,108,97,105,110,116,101,120,116]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])},Pl=new Map([[Nl.IframeEnd[2],Nl.IframeEnd],[Nl.NoembedEnd[2],Nl.NoembedEnd],[Nl.Plaintext[2],Nl.Plaintext],[Nl.ScriptEnd[2],Nl.ScriptEnd],[Nl.TitleEnd[2],Nl.TitleEnd],[Nl.XmpEnd[2],Nl.XmpEnd]]),Fl=class{cbs;state=R.Text;buffer=``;sectionStart=0;index=0;entityStart=0;baseState=R.Text;isSpecial=!1;running=!0;offset=0;xmlMode;decodeEntities;recognizeSelfClosing;entityDecoder;constructor({xmlMode:e=!1,decodeEntities:t=!0,recognizeSelfClosing:n=e},r){this.cbs=r,this.xmlMode=e,this.decodeEntities=t,this.recognizeSelfClosing=n,this.entityDecoder=new Dl(e?_l:gl,(e,t)=>this.emitCodePoint(e,t))}reset(){this.state=R.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=R.Text,this.isSpecial=!1,this.currentSequence=Nl.Empty,this.sequenceIndex=0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===L.Lt||!this.decodeEntities&&this.fastForwardTo(L.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=R.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===L.Amp&&this.startEntity()}currentSequence=Nl.Empty;sequenceIndex=0;enterTagBody(){this.currentSequence===Nl.Plaintext?(this.currentSequence=Nl.Empty,this.state=R.InPlainText):this.isSpecial?(this.state=R.InSpecialTag,this.sequenceIndex=0):this.state=R.Text}stateSpecialStartSequence(e){let t=e|32;if(this.sequenceIndex<this.currentSequence.length){if(t===this.currentSequence[this.sequenceIndex]){this.sequenceIndex++;return}if(this.sequenceIndex===3){if(this.currentSequence===Nl.ScriptEnd&&t===Nl.StyleEnd[3]){this.currentSequence=Nl.StyleEnd,this.sequenceIndex=4;return}if(this.currentSequence===Nl.TitleEnd&&t===Nl.TextareaEnd[3]){this.currentSequence=Nl.TextareaEnd,this.sequenceIndex=4;return}}else if(this.sequenceIndex===4&&this.currentSequence===Nl.NoembedEnd&&t===Nl.NoframesEnd[4]){this.currentSequence=Nl.NoframesEnd,this.sequenceIndex=5;return}}else if(Al(e)){this.sequenceIndex=0,this.state=R.InTagName,this.stateInTagName(e);return}this.isSpecial=!1,this.currentSequence=Nl.Empty,this.sequenceIndex=0,this.state=R.InTagName,this.stateInTagName(e)}stateCDATASequence(e){e===Nl.Cdata[this.sequenceIndex]?++this.sequenceIndex===Nl.Cdata.length&&(this.state=R.InCommentLike,this.currentSequence=Nl.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.xmlMode?(this.state=R.InDeclaration,this.stateInDeclaration(e)):(this.state=R.InSpecialComment,this.stateInSpecialComment(e)))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}emitComment(e){this.cbs.oncomment(this.sectionStart,this.index,e),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=R.Text}stateInCommentLike(e){!this.xmlMode&&this.currentSequence===Nl.CommentEnd&&this.sequenceIndex<=1&&this.index===this.sectionStart+this.sequenceIndex&&e===L.Gt?this.emitComment(this.sequenceIndex):this.currentSequence===Nl.CommentEnd&&this.sequenceIndex===2&&e===L.Gt?this.emitComment(2):this.currentSequence===Nl.CommentEnd&&this.sequenceIndex===this.currentSequence.length-1&&e!==L.Gt?this.sequenceIndex=Number(e===L.Dash):e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Nl.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,3),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=R.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!Al(e):jl(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(Al(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Nl.TitleEnd||this.currentSequence===Nl.TextareaEnd?this.decodeEntities&&e===L.Amp&&this.startEntity():this.fastForwardTo(L.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===L.Lt)}stateBeforeTagName(e){if(e===L.ExclamationMark)this.state=R.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===L.Questionmark)this.xmlMode?(this.state=R.InProcessingInstruction,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.state=R.InSpecialComment,this.sectionStart=this.index);else if(this.isTagStartChar(e)){this.sectionStart=this.index;let t=this.xmlMode||this.cbs.isInForeignContext?.()?void 0:Pl.get(e|32);t===void 0?this.state=R.InTagName:(this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=3,this.state=R.SpecialStartSequence)}else e===L.Slash?this.state=R.BeforeClosingTagName:(this.state=R.Text,this.stateText(e))}stateInTagName(e){Al(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=R.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){kl(e)?this.xmlMode||(this.state=R.InSpecialComment,this.sectionStart=this.index):e===L.Gt?(this.state=R.Text,this.xmlMode||(this.sectionStart=this.index+1)):(this.state=this.isTagStartChar(e)?R.InClosingTagName:R.InSpecialComment,this.sectionStart=this.index)}stateInClosingTagName(e){Al(e)&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=R.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===L.Gt||this.fastForwardTo(L.Gt))&&(this.state=R.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===L.Gt?(this.cbs.onopentagend(this.index),this.enterTagBody(),this.sectionStart=this.index+1):e===L.Slash?this.state=R.InSelfClosingTag:kl(e)||(this.state=R.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){if(e===L.Gt){if(this.cbs.onselfclosingtag(this.index),this.sectionStart=this.index+1,!this.recognizeSelfClosing){this.enterTagBody();return}this.state=R.Text,this.isSpecial=!1,this.currentSequence=Nl.Empty}else kl(e)||(this.state=R.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===L.Eq||Al(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=R.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===L.Eq?this.state=R.BeforeAttributeValue:e===L.Slash||e===L.Gt?(this.cbs.onattribend(Ml.NoValue,this.sectionStart),this.sectionStart=-1,this.state=R.BeforeAttributeName,this.stateBeforeAttributeName(e)):kl(e)||(this.cbs.onattribend(Ml.NoValue,this.sectionStart),this.state=R.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===L.DoubleQuote?(this.state=R.InAttributeValueDq,this.sectionStart=this.index+1):e===L.SingleQuote?(this.state=R.InAttributeValueSq,this.sectionStart=this.index+1):kl(e)||(this.sectionStart=this.index,this.state=R.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===L.DoubleQuote?Ml.Double:Ml.Single,this.index+1),this.state=R.BeforeAttributeName):this.decodeEntities&&e===L.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,L.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,L.SingleQuote)}stateInAttributeValueNoQuotes(e){kl(e)||e===L.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Ml.Unquoted,this.index),this.state=R.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===L.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===L.OpeningSquareBracket?(this.state=R.CDATASequence,this.sequenceIndex=0):this.xmlMode?this.state=e===L.Dash?R.BeforeComment:R.InDeclaration:(e|32)===Nl.Doctype[0]?(this.state=R.DeclarationSequence,this.currentSequence=Nl.Doctype,this.sequenceIndex=1):e===L.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=R.Text,this.sectionStart=this.index+1):this.state=e===L.Dash?R.BeforeComment:R.InSpecialComment}stateDeclarationSequence(e){this.sequenceIndex===this.currentSequence.length?(this.state=R.InDeclaration,this.stateInDeclaration(e)):(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:e===L.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=R.Text,this.sectionStart=this.index+1):this.state=R.InSpecialComment}stateInDeclaration(e){(e===L.Gt||this.fastForwardTo(L.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=R.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){e===L.Questionmark?this.sequenceIndex=1:e===L.Gt&&this.sequenceIndex===1?(this.cbs.onprocessinginstruction(this.sectionStart,this.index-1),this.sequenceIndex=0,this.state=R.Text,this.sectionStart=this.index+1):this.sequenceIndex=Number(this.fastForwardTo(L.Questionmark))}stateBeforeComment(e){e===L.Dash?(this.state=R.InCommentLike,this.currentSequence=Nl.CommentEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):this.xmlMode?this.state=R.InDeclaration:e===L.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=R.Text,this.sectionStart=this.index+1):this.state=R.InSpecialComment}stateInSpecialComment(e){(e===L.Gt||this.fastForwardTo(L.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=R.Text,this.sectionStart=this.index+1)}startEntity(){this.baseState=this.state,this.state=R.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?El.Strict:this.baseState===R.Text||this.baseState===R.InSpecialTag?El.Legacy:El.Attribute)}stateInEntity(){let e=this.index-this.offset,t=this.entityDecoder.write(this.buffer,e);if(t>=0)this.state=this.baseState,t===0&&--this.index;else{if(e<this.buffer.length&&this.buffer.charCodeAt(e)===L.Amp){this.state=this.baseState,--this.index;return}this.index=this.offset+this.buffer.length-1}}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===R.Text||this.state===R.InPlainText||this.state===R.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===R.InAttributeValueDq||this.state===R.InAttributeValueSq||this.state===R.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case R.Text:this.stateText(e);break;case R.InPlainText:this.index=this.buffer.length+this.offset-1;break;case R.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case R.InSpecialTag:this.stateInSpecialTag(e);break;case R.CDATASequence:this.stateCDATASequence(e);break;case R.DeclarationSequence:this.stateDeclarationSequence(e);break;case R.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case R.InAttributeName:this.stateInAttributeName(e);break;case R.InCommentLike:this.stateInCommentLike(e);break;case R.InSpecialComment:this.stateInSpecialComment(e);break;case R.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case R.InTagName:this.stateInTagName(e);break;case R.InClosingTagName:this.stateInClosingTagName(e);break;case R.BeforeTagName:this.stateBeforeTagName(e);break;case R.AfterAttributeName:this.stateAfterAttributeName(e);break;case R.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case R.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case R.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case R.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case R.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case R.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case R.InDeclaration:this.stateInDeclaration(e);break;case R.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case R.BeforeComment:this.stateBeforeComment(e);break;case R.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case R.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===R.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingCommentLikeData(e){if(this.state!==R.InCommentLike)return!1;if(this.currentSequence===Nl.CdataEnd){if(this.xmlMode)this.sectionStart<e&&this.cbs.oncdata(this.sectionStart,e,0);else{let t=this.sectionStart-Nl.Cdata.length-1;this.cbs.oncomment(t,e,0)}}else{let t=this.xmlMode?0:Math.min(this.sequenceIndex,Nl.CommentEnd.length-1);this.cbs.oncomment(this.sectionStart,e,t)}return!0}handleTrailingMarkupDeclaration(e){if(this.xmlMode)switch(this.state){case R.InSpecialComment:case R.BeforeComment:case R.CDATASequence:case R.DeclarationSequence:case R.InDeclaration:return this.cbs.ontext(this.sectionStart,e),!0;default:return!1}switch(this.state){case R.BeforeDeclaration:case R.InSpecialComment:case R.BeforeComment:case R.CDATASequence:return this.cbs.oncomment(this.sectionStart,e,0),!0;case R.DeclarationSequence:return this.sequenceIndex!==Nl.Doctype.length&&this.cbs.oncomment(this.sectionStart,e,0),!0;case R.InDeclaration:return!0;default:return!1}}handleTrailingData(){let e=this.buffer.length+this.offset;if(!(this.handleTrailingCommentLikeData(e)||this.handleTrailingMarkupDeclaration(e))&&!(this.sectionStart>=e))switch(this.state){case R.InTagName:case R.BeforeAttributeName:case R.BeforeAttributeValue:case R.AfterAttributeName:case R.InAttributeName:case R.InAttributeValueSq:case R.InAttributeValueDq:case R.InAttributeValueNq:case R.InClosingTagName:break;default:this.cbs.ontext(this.sectionStart,e)}}emitCodePoint(e,t){this.baseState!==R.Text&&this.baseState!==R.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}},{fromCodePoint:Il}=String,Ll=new Set([`input`,`option`,`optgroup`,`select`,`button`,`datalist`,`textarea`]),Rl=new Set([`p`]),zl=new Set([`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`p`]),Bl=new Set([`thead`,`tbody`]),Vl=new Set([`dd`,`dt`]),Hl=new Set([`rt`,`rp`]),Ul=new Map([[`tr`,new Set([`tr`,`th`,`td`])],[`th`,new Set([`th`])],[`td`,new Set([`thead`,`th`,`td`])],[`body`,new Set([`head`,`link`,`script`])],[`a`,new Set([`a`])],[`li`,new Set([`li`])],[`p`,Rl],[`h1`,zl],[`h2`,zl],[`h3`,zl],[`h4`,zl],[`h5`,zl],[`h6`,zl],[`select`,Ll],[`input`,Ll],[`output`,Ll],[`button`,Ll],[`datalist`,Ll],[`textarea`,Ll],[`option`,new Set([`option`])],[`optgroup`,new Set([`optgroup`,`option`])],[`dd`,Vl],[`dt`,Vl],[`address`,Rl],[`article`,Rl],[`aside`,Rl],[`blockquote`,Rl],[`details`,Rl],[`div`,Rl],[`dl`,Rl],[`fieldset`,Rl],[`figcaption`,Rl],[`figure`,Rl],[`footer`,Rl],[`form`,Rl],[`header`,Rl],[`hr`,Rl],[`main`,Rl],[`nav`,Rl],[`ol`,Rl],[`pre`,Rl],[`section`,Rl],[`table`,Rl],[`ul`,Rl],[`rt`,Hl],[`rp`,Hl],[`tbody`,Bl],[`tfoot`,Bl]]),Wl=`doctype`,Gl=new Set([`area`,`base`,`basefont`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`img`,`input`,`isindex`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]),Kl=new Set([`math`,`svg`]),ql=new Set([`mi`,`mo`,`mn`,`ms`,`mtext`,`annotation-xml`,`foreignObject`,`desc`,`title`]),Jl=new Map([[`altglyph`,`altGlyph`],[`altglyphdef`,`altGlyphDef`],[`altglyphitem`,`altGlyphItem`],[`animatecolor`,`animateColor`],[`animatemotion`,`animateMotion`],[`animatetransform`,`animateTransform`],[`clippath`,`clipPath`],[`feblend`,`feBlend`],[`fecolormatrix`,`feColorMatrix`],[`fecomponenttransfer`,`feComponentTransfer`],[`fecomposite`,`feComposite`],[`feconvolvematrix`,`feConvolveMatrix`],[`fediffuselighting`,`feDiffuseLighting`],[`fedisplacementmap`,`feDisplacementMap`],[`fedistantlight`,`feDistantLight`],[`fedropshadow`,`feDropShadow`],[`feflood`,`feFlood`],[`fefunca`,`feFuncA`],[`fefuncb`,`feFuncB`],[`fefuncg`,`feFuncG`],[`fefuncr`,`feFuncR`],[`fegaussianblur`,`feGaussianBlur`],[`feimage`,`feImage`],[`femerge`,`feMerge`],[`femergenode`,`feMergeNode`],[`femorphology`,`feMorphology`],[`feoffset`,`feOffset`],[`fepointlight`,`fePointLight`],[`fespecularlighting`,`feSpecularLighting`],[`fespotlight`,`feSpotLight`],[`fetile`,`feTile`],[`feturbulence`,`feTurbulence`],[`foreignobject`,`foreignObject`],[`glyphref`,`glyphRef`],[`lineargradient`,`linearGradient`],[`radialgradient`,`radialGradient`],[`textpath`,`textPath`]]),Yl;(function(e){e[e.None=0]=`None`,e[e.Svg=1]=`Svg`,e[e.MathML=2]=`MathML`})(Yl||={});var Xl=/\s|\//,Zl=class{options;startIndex=0;endIndex=0;openTagStart=0;tagname=``;attribname=``;attribvalue=``;attribs=null;stack=[];foreignContext;cbs;lowerCaseTagNames;lowerCaseAttributeNames;recognizeSelfClosing;htmlMode;tokenizer;buffers=[];bufferOffset=0;writeIndex=0;ended=!1;constructor(e,t={}){this.options=t,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=t.lowerCaseTags??this.htmlMode,this.lowerCaseAttributeNames=t.lowerCaseAttributeNames??this.htmlMode,this.recognizeSelfClosing=t.recognizeSelfClosing??!this.htmlMode,this.tokenizer=new(t.Tokenizer??Fl)(this.options,this),this.foreignContext=[Yl.None],this.cbs.onparserinit?.(this)}ontext(e,t){let n=this.getSlice(e,t);this.endIndex=t-1,this.cbs.ontext?.(n),this.startIndex=t}ontextentity(e,t){this.endIndex=t-1,this.cbs.ontext?.(Il(e)),this.startIndex=t}isInForeignContext(){return this.foreignContext[0]!==Yl.None}isVoidElement(e){return this.htmlMode&&Gl.has(e)}readTagName(e,t){let n=this.lowerCaseTagNames?this.getSlice(e,t).toLowerCase():this.getSlice(e,t);if(!(this.lowerCaseTagNames&&this.htmlMode))return n;if(this.foreignContext[0]===Yl.Svg)return Jl.get(n)??n;if(this.foreignContext.length>1){let e=Jl.get(n);if(e!==void 0&&this.stack.includes(e))return e}return this.isInForeignContext()?n:n===`image`?`img`:n}onopentagname(e,t){this.endIndex=t,this.emitOpenTag(this.readTagName(e,t))}emitOpenTag(e){if(this.openTagStart=this.startIndex,this.tagname=e,this.htmlMode&&e===`form`&&this.stack.includes(`form`)){this.tagname=``;return}let t=this.htmlMode&&Ul.get(e);if(t)for(;this.stack.length>0&&t.has(this.stack[0]);)this.popElement(!0);this.isVoidElement(e)||(this.stack.unshift(e),this.htmlMode&&(e===`svg`?this.foreignContext.unshift(Yl.Svg):e===`math`?this.foreignContext.unshift(Yl.MathML):ql.has(e)&&this.foreignContext.unshift(Yl.None))),this.cbs.onopentagname?.(e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){this.startIndex=this.openTagStart,this.attribs&&=(this.cbs.onopentag?.(this.tagname,this.attribs,e),null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=``}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){this.endIndex=t;let n=this.readTagName(e,t);if(this.isVoidElement(n))this.htmlMode&&n===`br`&&(this.cbs.onopentagname?.(`br`),this.cbs.onopentag?.(`br`,{},!0),this.cbs.onclosetag?.(`br`,!1));else{let e=this.stack.indexOf(n);if(e!==-1){for(let t=0;t<e;t++)this.popElement(!0);this.popElement(!1)}else this.htmlMode&&n===`p`&&(this.emitOpenTag(`p`),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.isInForeignContext()?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}popElement(e){let t=this.stack.shift();this.htmlMode&&(Kl.has(t)||ql.has(t))&&this.foreignContext.shift(),this.cbs.onclosetag?.(t,e)}closeCurrentTag(e){let t=this.tagname;this.endOpenTag(e),this.stack[0]===t&&this.popElement(!e)}onattribname(e,t){this.startIndex=e;let n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=Il(e)}onattribend(e,t){this.endIndex=t,this.cbs.onattribute?.(this.attribname,this.attribvalue,e===Ml.Double?`"`:e===Ml.Single?`'`:e===Ml.NoValue?void 0:null),this.attribs&&!Object.hasOwn(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=``}getInstructionName(e){let t=e.search(Xl),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.htmlMode?this.lowerCaseTagNames?Wl:n.slice(0,7):this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${e}`,`!${n}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${e}`,`?${n}`)}this.startIndex=t+1}oncomment(e,t,n){this.endIndex=t,this.cbs.oncomment?.(this.getSlice(e,t-n)),this.cbs.oncommentend?.(),this.startIndex=t+1}oncdata(e,t,n){this.endIndex=t;let r=this.getSlice(e,t-n);!this.htmlMode||this.options.recognizeCDATA?(this.cbs.oncdatastart?.(),this.cbs.ontext?.(r),this.cbs.oncdataend?.()):this.isInForeignContext()?this.cbs.ontext?.(r):(this.cbs.oncomment?.(`[CDATA[${r}]]`),this.cbs.oncommentend?.()),this.startIndex=t+1}onend(){if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let e=0;e<this.stack.length;e++)this.cbs.onclosetag(this.stack[e],!0)}this.cbs.onend?.()}reset(){this.cbs.onreset?.(),this.tokenizer.reset(),this.tagname=``,this.attribname=``,this.attribvalue=``,this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,this.cbs.onparserinit?.(this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(Yl.None),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){if(e===t)return``;for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){if(this.ended){this.cbs.onerror?.(Error(`.write() after done!`));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){if(this.ended){this.cbs.onerror?.(Error(`.end() after done!`));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}},Ql=/<\/?([a-zA-Z][a-zA-Z0-9-]{0,})(?:\s+[^>]*)?>/,$l=/^(br|hr|img|input|link|meta|area|base|col|embed|keygen|param|source|track|wbr)$/i,eu=e=>{let t=Ql.exec(e);return t?{tag:t[1],isOpening:!e.startsWith(`</`)}:null},tu=e=>{let t=e.raw.match(/<\/?([a-zA-Z][a-zA-Z0-9-]*)/i);if(!t)return e;let n=t[1];if(!$l.test(n))return e;let r=e.raw.endsWith(`/>`)?e.raw:e.raw.replace(/\s*>$/,`/>`);return{...e,raw:r,tag:n,attributes:nu(e.raw)}},nu=e=>{let t={},n=/([a-zA-Z][\w-]*)=(?:"([^"]*)(?:"|$)|'([^']*)(?:'|$))/g,r;for(;(r=n.exec(e))!==null;){let e=r[1];t[e]=(r[2]??r[3]??``).trim()}let i=e.replace(/[a-zA-Z][\w-]*=(?:"[^"]*(?:"|$)|'[^']*(?:'|$))/g,` `),a=/(?:^|\s)([a-zA-Z][\w-]*?)(?=[\s>]|$)/g;for(;(r=a.exec(i))!==null;){let[,e]=r;e&&!t[e]&&(t[e]=``)}return t},ru=e=>Object.entries(e).map(([e,t])=>` ${e}="${t.replace(/"/g,`"`)}"`).join(``),iu=e=>{let t=e.indexOf(`>`);return t!==-1&&e.indexOf(`<`,t+1)!==-1},au=e=>{let t=[],n=[t],r=[],i=``,a=()=>{i.length!==0&&(i.trim()&&n[n.length-1].push({type:`text`,raw:i,text:i}),i=``)},o=new Zl({onopentag:(e,t)=>{if(a(),$l.test(e)){n[n.length-1].push({type:`html`,raw:`<${e}${ru(t)}/>`,tag:e,attributes:t});return}let i=[],s={type:`html`,raw:`<${e}${ru(t)}>`,tag:e,attributes:t};n[n.length-1].push(s),n.push(i),r.push({tag:e,opening:s,childTokens:i,startIndex:o.startIndex})},ontext:e=>{i+=e},onclosetag:(e,t)=>{if(a(),r.length===0)return;let i=r[r.length-1];if(i.tag===e){if(r.pop(),n.pop(),t){let e=n[n.length-1];for(let t of i.childTokens)e.push(t)}else{let e=i.opening;e.sourceLength=o.endIndex-i.startIndex+1,e.tokens=i.childTokens}}}},{xmlMode:!1,recognizeSelfClosing:!0});return o.write(e),o.end(),a(),t},ou=e=>iu(e.raw)?au(e.raw):[tu(e)],su=e=>{let t=[],n=[];for(let r=0;r<e.length;r++){let i=e[r];if(i.type!==`html`){t.push(i);continue}if(`tokens`in i&&Array.isArray(i.tokens)){t.push(i);continue}let a=eu(i.raw);if(!a){t.push(i);continue}if(i.raw.endsWith(`/>`)){t.push(i);continue}if(a.isOpening)n.push({tag:a.tag,startIndex:t.length}),t.push(i);else{let e=n.pop();if(!e||e.tag!==a.tag){t.push(i);continue}let r=e.startIndex,o=t.splice(r+1,t.length-r-1),s=t.pop(),c=s.raw.length+o.reduce((e,t)=>e+(t.sourceLength??t.raw.length),0)+i.raw.length;t.push({type:`html`,raw:s.raw,tag:a.tag,tokens:o,attributes:nu(s.raw),sourceLength:c})}}return t},cu=(e,t)=>!e||e.length!==t.length?!1:e.every((e,n)=>e===t[n]),lu=(e,t)=>{let n=e.tokens?du(e.tokens):[],r=e;return r.listItemIndex===t&&cu(e.tokens,n)?r:{...e,listItemIndex:t,tokens:n}},uu=e=>{let t=e.tokens?du(e.tokens):[];return cu(e.tokens,t)?e:{...e,tokens:t}},du=e=>{let t=[];for(let n of e)if(n.type!==`html`&&`tokens`in n&&Array.isArray(n.tokens)){let e=n;e.tokens=du(e.tokens),t.push(n)}else if(n.type===`list`)n.items=n.items.map(lu),t.push(n);else if(n.type===`table`){let e=n;e.header&&=e.header.map(uu),e.rows&&=e.rows.map(e=>e.map(uu)),t.push(n)}else if(n.type===`html`){let e=ou(n);for(let n of e)t.push(n)}else t.push(n);return su(t)},fu=(e,t,n)=>{let r=new hs(t);return du(n?r.inlineTokens(e):r.lex(e))},pu=(e,t,n)=>{let r=ll.getTokens(e,t);if(r)return r;let i=fu(e,t,n);if(typeof t.walkTokens==`function`)for(let e of i)t.walkTokens(e);return ll.setTokens(e,t,i),i},mu=async(e,t,n)=>{let r=ll.getTokens(e,t);if(r)return r;let i=fu(e,t,n);if(typeof t.walkTokens==`function`){let e=new bs;e.defaults={...e.defaults,...t};let n=e.walkTokens(i,t.walkTokens);await Promise.all(n)}return ll.setTokens(e,t,i),i},hu=e=>typeof e==`object`&&!!e&&!Array.isArray(e),gu=e=>Array.isArray(e)&&e.every(e=>Array.isArray(e)?gu(e):hu(e)),_u=(e,t)=>e.length===t.length&&e.every((e,n)=>{let r=t[n];return Array.isArray(e)||Array.isArray(r)?Array.isArray(e)&&Array.isArray(r)&&_u(e,r):yu(e,r)}),vu=(e,t)=>{let n=new Set([...Object.keys(e),...Object.keys(t)]),r=e,i=t;for(let e of n){let t=r[e],n=i[e],a=gu(t),o=gu(n);if((a||o)&&(!a||!o||!_u(t,n)))return!1}return!0},yu=(e,t)=>{if(e.type!==t.type)return!1;if(typeof e.raw==`string`||typeof t.raw==`string`){if(e.raw!==t.raw)return!1}else if(typeof e.text==`string`||typeof t.text==`string`){if(e.text!==t.text)return!1}else return!1;return vu(e,t)},bu=(e,t)=>{let n=Math.min(e.length,t.length),r;for(let i=0;i<n;i++){let n=e[i],a=t[i],o=a;Array.isArray(n)&&Array.isArray(a)?o=bu(n,a):hu(n)&&hu(a)&&(o=xu(n,a)),o!==a&&(r??=t.slice(),r[i]=o)}return r??t},xu=(e,t)=>{if(yu(e,t))return e;let n,r=e,i=t;for(let e of Object.keys(t)){let a=r[e],o=i[e];if(!gu(a)||!gu(o))continue;let s=bu(a,o);if(s!==o){n??={...t};let r=n;r[e]=s}}return n??t},Su=(e,t,n)=>{let r=Math.min(n,e.length,t.length),i;if(r>0){i=Array(t.length);for(let t=0;t<r;t++)i[t]=e[t];for(let e=r;e<t.length;e++)i[e]=t[e]}if(r<e.length&&r<t.length){let n=xu(e[r],t[r]);n!==t[r]&&(i??=t.slice(),i[r]=n)}return i??t},Cu=Symbol.for(`svelte-markdown.tailWindowSafe`),wu=e=>{e[Cu]=!0},Tu=e=>{for(let t of e.extensions??[])`tokenizer`in t&&typeof t.tokenizer==`function`&&wu(t.tokenizer);return e},Eu=e=>typeof e==`function`&&e[Cu]===!0,Du=/^ {0,3}(`{3,}|~{3,}).*\n[\s\S]*\n {0,3}\1[ \t]*\n*$/,Ou=/\[[^\]\n]+\]\[[^\]\n]*\]/,ku=/\[[^\]\n]+\](?![[(])/,Au=/^\s{0,3}\[[^\]\n]+\]:/m,ju=class{prevTokens=[];prevSource=``;options;tailWindowDisabled;prevHasHtmlSpanMismatch=!1;prevTailWindowBoundary={prefixCount:0,reparseOffset:0};prevHasPotentialReferenceUse=!1;prevHasReferenceDefinition=!1;constructor(e){this.options=e;let t=e.extensions,n=[...t?.block??[],...t?.inline??[]];this.tailWindowDisabled=typeof e.walkTokens==`function`||e.tokenizer!=null||n.some(e=>!Eu(e))}getTailWindowBoundary=()=>this.prevTailWindowBoundary;hasHtmlSpanMismatch=e=>{if(e.type!==`html`)return!1;let t=e;return!t.tag||t.raw.endsWith(`/>`)||t.raw.startsWith(`</`)?!1:t.sourceLength==null};getTokenSourceLength=e=>e.sourceLength??e.raw.length;isStableAtSourceEnd=e=>{if(e.type===`space`)return!1;if(e.raw.endsWith(`
|
|
65
|
+
Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error occurred:</p><pre>`+as(n.message+``,!0)+`</pre>`;return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}},xs=new bs;function Ss(e,t){return xs.parse(e,t)}Ss.options=Ss.setOptions=function(e){return xs.setOptions(e),Ss.defaults=xs.defaults,za(Ss.defaults),Ss},Ss.getDefaults=La,Ss.defaults=Ra;function Cs(...e){return xs.use(...e),Ss.defaults=xs.defaults,za(Ss.defaults),Ss}Ss.use=Cs,Ss.walkTokens=function(e,t){return xs.walkTokens(e,t)},Ss.parseInline=xs.parseInline,Ss.Parser=vs,Ss.parser=vs.parse,Ss.Renderer=gs,Ss.TextRenderer=_s,Ss.Lexer=hs,Ss.lexer=hs.lex,Ss.Tokenizer=ms,Ss.Hooks=ys,Ss.parse=Ss,Ss.options,Ss.setOptions,Ss.walkTokens,Ss.parseInline,vs.parse,hs.lex;var ws=o(`<blockquote><!></blockquote>`);function Ts(t,n){var r=ws(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}var Es=o(`<br/>`);function Ds(e){var t=Es();p(e,t)}var Os=o(`<pre><code> </code></pre>`);function ks(t,n){var r=Os(),i=e(r),a=P(i,!0);E(r),l(()=>{re(r,1,Ae(n.lang)),f(a,n.text)}),p(t,r)}var As=o(`<code> </code>`);function js(e,t){ue(t,!0);var n=As(),r=P(n,!0);l(e=>f(r,e),[()=>t.raw.replace(/`/g,``)]),p(e,n),de()}var Ms=o(`<del><!></del>`);function Ns(t,n){var r=Ms(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}var Ps=o(`<em><!></em>`);function Fs(t,n){var r=Ps(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}function Is(e,t){Me();var n=d();l(()=>f(n,t.text)),p(e,n)}var Ls=o(`<h1><!></h1>`),Rs=o(`<h2><!></h2>`),zs=o(`<h3><!></h3>`),Bs=o(`<h4><!></h4>`),Vs=o(`<h5><!></h5>`),Hs=o(`<h6><!></h6>`);function Us(t,n){ue(n,!0);let r=N(n,`id`,3,void 0),i=F(()=>n.options.headerIds?r()??`${n.options.headerPrefix}${n.slug(n.text)}`:void 0);var o=h(),s=D(o),c=t=>{var r=Ls(),o=e(r);a(o,()=>n.children??I),E(r),l(()=>T(r,`id`,S(i))),p(t,r)},u=t=>{var r=Rs(),o=e(r);a(o,()=>n.children??I),E(r),l(()=>T(r,`id`,S(i))),p(t,r)},m=t=>{var r=zs(),o=e(r);a(o,()=>n.children??I),E(r),l(()=>T(r,`id`,S(i))),p(t,r)},g=t=>{var r=Bs(),o=e(r);a(o,()=>n.children??I),E(r),l(()=>T(r,`id`,S(i))),p(t,r)},_=t=>{var r=Vs(),o=e(r);a(o,()=>n.children??I),E(r),l(()=>T(r,`id`,S(i))),p(t,r)},v=t=>{var r=Hs(),o=e(r);a(o,()=>n.children??I),E(r),l(()=>T(r,`id`,S(i))),p(t,r)},y=e=>{var t=d();l(()=>f(t,n.raw)),p(e,t)};A(s,e=>{n.depth===1?e(c):n.depth===2?e(u,1):n.depth===3?e(m,2):n.depth===4?e(g,3):n.depth===5?e(_,4):n.depth===6?e(v,5):e(y,-1)}),p(t,o),de()}var Ws=o(`<hr/>`);function Gs(e){var t=Ws();p(e,t)}var Ks=o(`<img/>`);function qs(e,t){ue(t,!0);let n=N(t,`href`,3,void 0),r=N(t,`title`,3,void 0),i=N(t,`text`,3,``),a=N(t,`lazy`,3,!0),o=N(t,`fadeIn`,3,!0),s,c=we(!1),u=we(!a()),d=we(!1);fe(()=>{if(!a())return;if(typeof IntersectionObserver>`u`){M(u,!0);return}let e=new IntersectionObserver(t=>{t[0]?.isIntersecting&&(M(u,!0),e.disconnect())},{rootMargin:`50px`});return s&&e.observe(s),()=>{e?.disconnect()}});let f=()=>{S(d)||M(c,!0)},m=()=>{M(d,!0),M(c,!0)};var h=Ks();let g;ye(h,e=>s=e,()=>s),l(()=>{T(h,`src`,S(u)?n():void 0),T(h,`data-src`,n()),T(h,`title`,r()),T(h,`alt`,i()),T(h,`loading`,a()?`lazy`:`eager`),g=re(h,1,`svelte-1ojo7n2`,null,g,{"fade-in":o()&&S(c)&&!S(d),visible:!o()&&S(c)&&!S(d),error:S(d)})}),_(`load`,h,f),_(`error`,h,m),Ne(h),p(e,h),de()}var Js=o(`<a><!></a>`);function Ys(t,n){let r=N(n,`href`,3,void 0),i=N(n,`title`,3,void 0);var o=Js(),s=e(o);a(s,()=>n.children??I),E(o),l(()=>{T(o,`href`,r()),T(o,`title`,i())}),p(t,o)}var Xs=o(`<ol><!></ol>`),Zs=o(`<ul><!></ul>`);function Qs(t,n){let r=N(n,`ordered`,3,!1),i=N(n,`start`,3,1);var o=h(),s=D(o),c=t=>{var r=Xs(),o=e(r);a(o,()=>n.children??I),E(r),l(()=>T(r,`start`,i())),p(t,r)},u=t=>{var r=Zs(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)};A(s,e=>{r()?e(c):e(u,-1)}),p(t,o)}var $s=o(`<li><!></li>`);function ec(t,n){N(n,`listItemIndex`,3,void 0);var r=$s(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}var tc=o(`<p><!></p>`);function nc(t,n){var r=tc(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}function rc(e,t){Me();var n=d();l(()=>f(n,t.text)),p(e,n)}var ic=o(`<strong><!></strong>`);function ac(t,n){var r=ic(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}var oc=o(`<table><!></table>`);function sc(t,n){var r=oc(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}var cc=o(`<tbody><!></tbody>`);function lc(t,n){var r=cc(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}var uc=o(`<th><!></th>`),dc=o(`<td><!></td>`);function fc(t,n){let r=F(()=>n.align?`text-align: ${n.align}`:void 0);var i=h(),o=D(i),s=t=>{var i=uc(),o=e(i);a(o,()=>n.children??I),E(i),l(()=>je(i,S(r))),p(t,i)},c=t=>{var i=dc(),o=e(i);a(o,()=>n.children??I),E(i),l(()=>je(i,S(r))),p(t,i)};A(o,e=>{n.header?e(s):e(c,-1)}),p(t,i)}var pc=o(`<thead><!></thead>`);function mc(t,n){var r=pc(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}var hc=o(`<tr><!></tr>`);function gc(t,n){var r=hc(),i=e(r);a(i,()=>n.children??I),E(r),p(t,r)}function _c(e,t){var n=h(),r=D(n);a(r,()=>t.children??I),p(e,n)}var vc={heading:Us,paragraph:nc,text:_c,image:qs,link:Ys,em:Fs,escape:Is,strong:ac,codespan:js,del:Ns,table:sc,tablehead:mc,tablebody:lc,tablerow:gc,tablecell:fc,list:Qs,orderedlistitem:null,unorderedlistitem:null,listitem:ec,hr:Gs,html:Ma,blockquote:Ts,code:ks,br:Ds,rawtext:rc},yc={async:!1,breaks:!1,gfm:!0,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null,headerIds:!0,headerPrefix:``},bc=new Set([`http:`,`https:`,`mailto:`,`tel:`]),xc=new Set([`href`,`src`,`action`,`formaction`,`cite`,`data`,`poster`]),Sc=/^https?:/i,Cc=/^\s+/,wc=/^[#/?.]/,Tc=(e,t)=>{if(!e)return``;let n=e.replace(Cc,``);if(wc.test(n)||!n.includes(`:`)||Sc.test(n))return n;try{let e=new URL(n,`http://localhost`);if(bc.has(e.protocol))return n}catch{}return``},Ec=(e,t,n)=>{let r={};for(let[i,a]of Object.entries(e)){let e=i.toLowerCase();if(!(e.startsWith(`on`)||e===`srcdoc`)){if(xc.has(e)){let e=n(a,t);e&&(r[i]=e);continue}r[i]=a}}return r},Dc=Symbol(`svelte-markdown.renderMetadata`),Oc=e=>Array.isArray(e)?e:void 0,kc=e=>typeof e.raw==`string`?e.raw:typeof e.text==`string`?e.text:``,Ac=e=>typeof e.sourceLength==`number`?e.sourceLength:kc(e).length,jc=e=>({...e}),Mc=e=>({headerIds:e.headerIds,headerPrefix:e.headerPrefix}),Nc=(e,t)=>e!==void 0&&e.headerIds===t.headerIds&&e.headerPrefix===t.headerPrefix,Pc=()=>{let e=new WeakMap,t=new WeakMap,n=new WeakMap,r=[],i=[],a,o=[],s=(t,n)=>{e.set(t,n)},c=t=>typeof t==`object`&&t?e.get(t):void 0,l=(e,t)=>{let n=c(e);return n===void 0?typeof e==`object`&&e?e:`${t}:${String(e)}`:n},u=e=>n.get(e),d=(e,t=0,r=0,i=0)=>{if(!e)return;let a=i;for(let i=r;i<e.length;i++){let r=e[i],o=Ac(r),c=t+a;n.set(r,c),o===0?s(r,`src:${c}:zero:${i}`):s(r,`src:${c}`),g(r,c),a+=o}},f=(e,t=new Set)=>{if(typeof e!=`object`||!e)return t;if(t.add(e),Array.isArray(e)){for(let n of e)f(n,t);return t}let n=e;return f(n.tokens,t),f(n.items,t),f(n.header,t),f(n.rows,t),t},p=(e,t)=>{let n=0,[r,i]=e.size<=t.size?[e,t]:[t,e];for(let e of r)i.has(e)&&n++;return n},m=(e,t,n)=>{let r=-1,i=0;for(let a=0;a<o.length;a++){if(n.has(a))continue;let s=o[a];if(s.type!==e.type)continue;let c=p(t,s.identities);c>i&&(r=a,i=c)}return r===-1?void 0:{index:r,record:o[r]}},h=e=>{if(!e){o=[];return}let t=[],n=new Set;for(let r of e){let e=f(r),i=c(r),a=i===void 0?m(r,e,n):void 0,o=i??a?.record.key??r;a&&n.add(a.index),i===void 0&&s(r,o),t.push({key:o,identities:e,type:r.type})}o=t},g=(e,t)=>{d(Oc(e.tokens),t),d(Oc(e.items),t),d(Oc(e.header),t);let n=Oc(e.rows);if(n)for(let e=0;e<n.length;e++){let r=n[e];s(r,`src:${t}:row:${e}`),d(Oc(r),t)}},_=(e,t,n,r,i,a=0)=>{if(e)for(let o=a;o<e.length;o++){let a=e[o];a.type===`heading`&&(v(a,t,n),y(a,n,r,i)),_(Oc(a.tokens),t,n,r,i),_(Oc(a.items),t,n,r,i),_(Oc(a.header),t,n,r,i);let s=Oc(a.rows);if(s)for(let e of s)_(Oc(e),t,n,r,i)}},v=(e,n,r)=>{t.set(e,n.headerIds&&typeof e.text==`string`?`${n.headerPrefix}${r.slug(e.text)}`:void 0)},y=(e,t,n,r)=>{n.push(e);let i=u(e);r.push(i===void 0?void 0:{offset:i,occurrences:jc(t.occurrences)})},b=e=>{let t=0;for(let n of r){let r=u(n);if(r===void 0)return;if(r>=e)break;let a=i[t];if(!a||a.offset!==r)return;t++}return t},x=(e,t,n,o,s)=>{let c=Mc(t);if(!Nc(a,c))return!1;let l=b(n);if(l===void 0)return!1;if(o.push(...r.slice(0,l)),s.push(...i.slice(0,l)),l===0)return!0;let u=i[l-1];return u?(e.occurrences=jc(u.occurrences),!0):!1},S=(e,t,n,i,a)=>{for(let o of r){let r=u(o);r===void 0||r>=n||(v(o,t,e),y(o,e,i,a))}},C=(e,t,n)=>{let o=new Fa,s=[],c=[];n?.source!==void 0&&n.startOffset!==void 0&&(x(o,t,n.startOffset,s,c)||S(o,t,n.startOffset,s,c)),_(e,t,o,s,c,n?.startIndex??0),r=s,i=c,a=Mc(t)};return{prepareTokensForRender:(e,t,n)=>{if(!e)return e;let r=e;return n?.source===void 0?h(r):(o=[],d(r,0,n.startIndex??0,n.startOffset??0)),C(r,t,n),e},getPreparedHeadingId:e=>typeof e==`object`&&e?t.get(e):void 0,getStableNodeKey:l,getStableRowKey:(e,t)=>{let n=c(e);return n===void 0?e&&e.length>0?l(e[0],t):e||t:n}}},Fc=new Set([`br`,`hr`,`img`,`input`,`link`,`meta`,`area`,`base`,`col`,`embed`,`keygen`,`param`,`source`,`track`,`wbr`]),Ic=Object.freeze({}),Lc=new Set([`$$slots`,`$$events`,`$$legacy`,`type`,`tokens`,`header`,`rows`,`ordered`,`renderers`,`snippetOverrides`,`htmlSnippetOverrides`,`sanitizeUrl`,`sanitizeAttributes`]),Rc=o(`<!> <!>`,1);function zc(e,t){ue(t,!0);let n=(e,r=I,i=I)=>{let a=F(r),o=F(()=>r().type===`html`&&!!S(a).tag&&!!t.renderers.html&&S(a).tag in Ma&&t.renderers.html[S(a).tag]===Ma[S(a).tag]&&!m()[S(a).tag]);var s=h(),c=D(s),v=e=>{},y=e=>{var t=d();l(()=>f(t,r().text??r().raw)),p(e,t)},b=e=>{let t=F(()=>S(a).attributes?_()(S(a).attributes,{type:`html`,tag:S(a).tag},g()):void 0);var r=h(),o=D(r),s=e=>{var n=h(),r=D(n);ke(r,()=>S(a).tag,!1,(e,n)=>{O(e,()=>({...S(t)}))}),p(e,n)},c=F(()=>Fc.has(S(a).tag)),l=e=>{var r=h(),o=D(r);ke(o,()=>S(a).tag,!1,(e,r)=>{O(e,()=>({...S(t)}));var o=h(),s=D(o),c=e=>{var t=h(),r=D(t);pe(r,19,()=>S(a).tokens,(e,t)=>x.getStableNodeKey(e,t),(e,t)=>{n(e,()=>S(t),i)}),p(e,t)};A(s,e=>{S(a).tokens&&S(a).tokens.length&&e(c)}),p(r,o)}),p(e,r)};A(o,e=>{S(c)?e(s):e(l,-1)}),p(e,r)},w=e=>{let n=F(()=>r().type===`heading`?{id:x.getPreparedHeadingId(r())??r().id}:Ic);zc(e,me(i,r,()=>S(n),{get renderers(){return t.renderers},get snippetOverrides(){return u()},get htmlSnippetOverrides(){return m()},get sanitizeUrl(){return g()},get sanitizeAttributes(){return _()}}))};A(c,e=>{r().type===`space`&&S(ee)?e(v):r().type===`text`&&S(C)&&!r().tokens?e(y,1):S(o)&&S(a).tag?e(b,2):e(w,-1)}),p(e,s)},r=N(t,`type`,3,void 0),i=N(t,`tokens`,3,void 0),o=N(t,`header`,3,void 0),s=N(t,`rows`,3,void 0),c=N(t,`ordered`,3,!1),u=N(t,`snippetOverrides`,19,()=>({})),m=N(t,`htmlSnippetOverrides`,19,()=>({})),g=N(t,`sanitizeUrl`,3,Tc),_=N(t,`sanitizeAttributes`,3,Ec),v=ie(t,Lc),y=_e(Dc),x=y?be(Dc):Pc();y||te(Dc,x);let C=F(()=>t.renderers.text===vc.text&&!u().text&&t.renderers.rawtext===vc.rawtext&&!u().rawtext),ee=F(()=>!t.renderers.space&&!u().space),w=F(()=>{if((r()===`link`||r()===`image`)&&typeof t.href==`string`){let e=r()===`link`?`a`:`img`,n=g()(t.href,{type:r(),tag:e});return{...v,href:n||void 0}}if(r()===`html`&&t.attributes){let e=t.tag??``;return{...v,attributes:_()(t.attributes,{type:r(),tag:e},g())}}return v});var T=h(),ne=D(T),re=e=>{var t=h(),r=D(t),a=e=>{let t=F(()=>{let{text:e,raw:t,tokens:n,...r}=v;return{_text:e,_raw:t,_tokens:n,parserRest:r}});var r=h(),a=D(r);pe(a,19,i,(e,t)=>x.getStableNodeKey(e,t),(e,r)=>{n(e,()=>S(r),()=>S(t).parserRest)}),p(e,r)};A(r,e=>{i()&&e(a)}),p(e,t)},E=e=>{var l=h(),d=D(l),f=e=>{var i=h(),c=D(i),l=e=>{let i=e=>{var r=Rc(),i=D(r),c=e=>{let r=e=>{let r=e=>{var r=h(),i=D(r);pe(i,19,()=>o()??[],(e,t)=>x.getStableNodeKey(e,t),(e,r,i)=>{let o=e=>{var t=h(),i=D(t);pe(i,19,()=>S(r).tokens??[],(e,t)=>x.getStableNodeKey(e,t),(e,t)=>{n(e,()=>S(t),()=>({}))}),p(e,t)},s=F(()=>{let{align:e,...t}=S(w);return{_align:e,cellRest:t}});var c=h(),l=D(c),u=e=>{var t=h(),n=D(t);{let e=F(()=>({header:!0,align:S(w).align?.[S(i)]??null,...S(s).cellRest,children:o}));a(n,()=>S(m),()=>S(e))}p(e,t)},d=e=>{var n=h(),r=D(n);{let e=F(()=>S(w).align?.[S(i)]??null);b(r,()=>t.renderers.tablecell,(t,n)=>{n(t,me({header:!0,get align(){return S(e)}},()=>S(s).cellRest,{children:(e,t)=>{o(e)},$$slots:{default:!0}}))})}p(e,n)};A(l,e=>{S(m)?e(u):e(d,-1)}),p(e,c)}),p(e,r)};var i=h(),s=D(i),c=e=>{var t=h(),n=D(t);{let e=F(()=>({...S(w),children:r}));a(n,()=>S(f),()=>S(e))}p(e,t)},l=e=>{var n=h(),i=D(n);b(i,()=>t.renderers.tablerow,(e,t)=>{t(e,me(()=>S(w),{children:(e,t)=>{r(e)},$$slots:{default:!0}}))}),p(e,n)};A(s,e=>{S(f)?e(c):e(l,-1)}),p(e,i)};var i=h(),s=D(i),c=e=>{var t=h(),n=D(t);{let e=F(()=>({...S(w),children:r}));a(n,()=>S(l),()=>S(e))}p(e,t)},u=e=>{var n=h(),i=D(n);b(i,()=>t.renderers.tablehead,(e,t)=>{t(e,me(()=>S(w),{children:(e,t)=>{r(e)},$$slots:{default:!0}}))}),p(e,n)};A(s,e=>{S(l)?e(c):e(u,-1)}),p(e,i)};A(i,e=>{t.renderers.tablehead&&e(c)});var u=j(i,2),g=e=>{let r=e=>{var r=h(),i=D(r);pe(i,19,()=>s()??[],(e,t)=>x.getStableRowKey(e,t),(e,r)=>{let i=e=>{var i=h(),o=D(i);pe(o,19,()=>S(r)??[],(e,t)=>x.getStableNodeKey(e,t),(e,r,i)=>{let o=e=>{var t=h(),i=D(t);pe(i,19,()=>S(r).tokens??[],(e,t)=>x.getStableNodeKey(e,t),(e,t)=>{n(e,()=>S(t),()=>S(s).cellRest)}),p(e,t)},s=F(()=>{let{align:e,...t}=S(w);return{_align:e,cellRest:t}});var c=h(),l=D(c),u=e=>{var t=h(),n=D(t);{let e=F(()=>({header:!1,align:S(w).align?.[S(i)]??null,...S(s).cellRest,children:o}));a(n,()=>S(m),()=>S(e))}p(e,t)},d=e=>{var n=h(),r=D(n);{let e=F(()=>S(w).align?.[S(i)]??null);b(r,()=>t.renderers.tablecell,(t,n)=>{n(t,me(()=>S(s).cellRest,{header:!1,get align(){return S(e)},children:(e,t)=>{o(e)},$$slots:{default:!0}}))})}p(e,n)};A(l,e=>{S(m)?e(u):e(d,-1)}),p(e,c)}),p(e,i)};var o=h(),s=D(o),c=e=>{var t=h(),n=D(t);{let e=F(()=>({...S(w),children:i}));a(n,()=>S(f),()=>S(e))}p(e,t)},l=e=>{var n=h(),r=D(n);b(r,()=>t.renderers.tablerow,(e,t)=>{t(e,me(()=>S(w),{children:(e,t)=>{i(e)},$$slots:{default:!0}}))}),p(e,n)};A(s,e=>{S(f)?e(c):e(l,-1)}),p(e,o)}),p(e,r)};var i=h(),o=D(i),c=e=>{var t=h(),n=D(t);{let e=F(()=>({...S(w),children:r}));a(n,()=>S(d),()=>S(e))}p(e,t)},l=e=>{var n=h(),i=D(n);b(i,()=>t.renderers.tablebody,(e,t)=>{t(e,me(()=>S(w),{children:(e,t)=>{r(e)},$$slots:{default:!0}}))}),p(e,n)};A(o,e=>{S(d)?e(c):e(l,-1)}),p(e,i)};A(u,e=>{t.renderers.tablebody&&e(g)}),p(e,r)},c=F(()=>u()[r()]),l=F(()=>u().tablehead),d=F(()=>u().tablebody),f=F(()=>u().tablerow),m=F(()=>u().tablecell);var g=h(),_=D(g),v=e=>{var t=h(),n=D(t);{let e=F(()=>({...S(w),children:i}));a(n,()=>S(c),()=>S(e))}p(e,t)},y=e=>{var n=h(),r=D(n);b(r,()=>t.renderers.table,(e,t)=>{t(e,me(()=>S(w),{children:(e,t)=>{i(e)},$$slots:{default:!0}}))}),p(e,n)};A(_,e=>{S(c)?e(v):e(y,-1)}),p(e,g)};A(c,e=>{t.renderers.table&&t.renderers.tablerow&&t.renderers.tablecell&&e(l)}),p(e,i)},g=e=>{let r=F(()=>u().list);var i=h(),o=D(i),s=e=>{let i=e=>{let r=F(()=>{let{items:e,...t}=S(w);return{_items:e,parserRest:t}}),i=F(()=>S(r)._items??[]);var o=h(),s=D(o);pe(s,19,()=>S(i),(e,t)=>x.getStableNodeKey(e,t),(e,i)=>{let o=e=>{var t=h(),a=D(t);pe(a,19,()=>S(i).tokens??[],(e,t)=>x.getStableNodeKey(e,t),(e,t)=>{n(e,()=>S(t),()=>S(r).parserRest)}),p(e,t)},s=F(()=>t.renderers.orderedlistitem||t.renderers.listitem),c=F(()=>u().orderedlistitem||u().listitem);var l=h(),d=D(l),f=e=>{var t=h(),n=D(t);{let e=F(()=>({...S(i),children:o}));a(n,()=>S(c),()=>S(e))}p(e,t)},m=e=>{var t=h(),n=D(t);b(n,()=>S(s),(e,t)=>{t(e,me(()=>S(i),{children:(e,t)=>{o(e)},$$slots:{default:!0}}))}),p(e,t)};A(d,e=>{S(c)?e(f):S(s)&&e(m,1)}),p(e,l)}),p(e,o)};var o=h(),s=D(o),l=e=>{var t=h(),n=D(t);{let e=F(()=>({ordered:c(),...S(w),children:i}));a(n,()=>S(r),()=>S(e))}p(e,t)},d=e=>{var n=h(),r=D(n);b(r,()=>t.renderers.list,(e,t)=>{t(e,me({get ordered(){return c()}},()=>S(w),{children:(e,t)=>{i(e)},$$slots:{default:!0}}))}),p(e,n)};A(s,e=>{S(r)?e(l):e(d,-1)}),p(e,o)},l=e=>{let i=e=>{let r=F(()=>{let{items:e,...t}=S(w);return{_items:e,parserRest:t}}),i=F(()=>S(r)._items??[]);var o=h(),s=D(o);pe(s,19,()=>S(i),(e,t)=>x.getStableNodeKey(e,t),(e,i)=>{let o=e=>{var t=h(),a=D(t);pe(a,19,()=>S(i).tokens??[],(e,t)=>x.getStableNodeKey(e,t),(e,t)=>{n(e,()=>S(t),()=>S(r).parserRest)}),p(e,t)},s=F(()=>t.renderers.unorderedlistitem||t.renderers.listitem),c=F(()=>u().unorderedlistitem||u().listitem);var l=h(),d=D(l),f=e=>{var t=h(),n=D(t);{let e=F(()=>({...S(i),children:o}));a(n,()=>S(c),()=>S(e))}p(e,t)},m=e=>{var t=h(),n=D(t);b(n,()=>S(s),(e,t)=>{t(e,me(()=>S(i),{children:(e,t)=>{o(e)},$$slots:{default:!0}}))}),p(e,t)};A(d,e=>{S(c)?e(f):S(s)&&e(m,1)}),p(e,l)}),p(e,o)};var o=h(),s=D(o),l=e=>{var t=h(),n=D(t);{let e=F(()=>({ordered:c(),...S(w),children:i}));a(n,()=>S(r),()=>S(e))}p(e,t)},d=e=>{var n=h(),r=D(n);b(r,()=>t.renderers.list,(e,t)=>{t(e,me({get ordered(){return c()}},()=>S(w),{children:(e,t)=>{i(e)},$$slots:{default:!0}}))}),p(e,n)};A(s,e=>{S(r)?e(l):e(d,-1)}),p(e,o)};A(o,e=>{c()?e(s):e(l,-1)}),p(e,i)},_=e=>{let r=F(()=>{let{tag:e,...t}=S(w);return{tag:e,localRest:t}}),o=F(()=>S(w).tag),s=F(()=>m()[S(o)]),c=F(()=>Object.fromEntries(Object.entries(S(r).localRest).filter(([e])=>e!==`attributes`)));var l=h(),u=D(l),d=e=>{let r=e=>{var r=h(),a=D(r),o=e=>{var t=h(),r=D(t);pe(r,19,i,(e,t)=>x.getStableNodeKey(e,t),(e,t)=>{n(e,()=>S(t),()=>S(c))}),p(e,t)},s=e=>{var n=h(),r=D(n);b(r,()=>t.renderers.rawtext,(e,t)=>{t(e,me({get text(){return S(w).raw}},()=>S(w)))}),p(e,n)};A(a,e=>{i()&&i().length?e(o):e(s,-1)}),p(e,r)};var o=h(),l=D(o);a(l,()=>S(s),()=>({attributes:S(w).attributes,children:r})),p(e,o)},f=e=>{let r=F(()=>t.renderers.html[S(o)]);var a=h(),s=D(a),l=e=>{var a=h(),o=D(a);b(o,()=>S(r),(e,r)=>{r(e,me(()=>S(w),{children:(e,r)=>{var a=h(),o=D(a),s=e=>{var t=h(),r=D(t);pe(r,19,i,(e,t)=>x.getStableNodeKey(e,t),(e,t)=>{n(e,()=>S(t),()=>S(c))}),p(e,t)},l=e=>{var n=h(),r=D(n);b(r,()=>t.renderers.rawtext,(e,t)=>{t(e,me({get text(){return S(w).raw}},()=>S(w)))}),p(e,n)};A(o,e=>{i()&&i().length?e(s):e(l,-1)}),p(e,a)},$$slots:{default:!0}}))}),p(e,a)};A(s,e=>{S(r)&&e(l)}),p(e,a)},g=e=>{let t=F(()=>Object.fromEntries(Object.entries(S(r).localRest).filter(([e])=>e!==`tokens`))),a=F(()=>i()??[]);var o=h(),s=D(o);pe(s,19,()=>S(a),(e,t)=>x.getStableNodeKey(e,t),(e,r)=>{n(e,()=>S(r),()=>S(t))}),p(e,o)};A(u,e=>{S(s)?e(d):t.renderers.html&&S(o)in t.renderers.html?e(f,1):e(g,-1)}),p(e,l)},v=e=>{let o=e=>{var r=h(),a=D(r),o=e=>{let t=F(()=>{let{text:e,raw:t,...n}=S(w);return{_text:e,_raw:t,parserRest:n}});var r=h(),a=D(r);pe(a,19,i,(e,t)=>x.getStableNodeKey(e,t),(e,r)=>{n(e,()=>S(r),()=>S(t).parserRest)}),p(e,r)},s=e=>{var n=h(),r=D(n);b(r,()=>t.renderers.rawtext,(e,t)=>{t(e,me({get text(){return S(w).raw}},()=>S(w)))}),p(e,n)};A(a,e=>{i()?e(o):e(s,-1)}),p(e,r)},s=F(()=>t.renderers[r()]),c=F(()=>u()[r()]);var l=h(),d=D(l),f=e=>{var t=h(),n=D(t);{let e=F(()=>({...S(w),children:o}));a(n,()=>S(c),()=>S(e))}p(e,t)},m=e=>{var t=h(),n=D(t);b(n,()=>S(s),(e,t)=>{t(e,me(()=>S(w),{children:(e,t)=>{o(e)},$$slots:{default:!0}}))}),p(e,t)};A(d,e=>{S(c)?e(f):S(s)&&e(m,1)}),p(e,l)};A(d,e=>{r()===`table`?e(f):r()===`list`&&t.renderers.list?e(g,1):r()===`html`?e(_,2):e(v,-1)}),p(e,l)};A(ne,e=>{r()?(r()in t.renderers||r()in u())&&e(E,1):e(re)}),p(e,T),de()}var Bc=Object.keys(vc).filter(e=>e!==`html`),Vc=Object.keys(Ma),Hc=e=>({...vc,...e,html:e.html?{...vc.html,...e.html}:vc.html}),Uc=e=>[...Bc,...e],Wc=(e,t)=>Object.fromEntries(t.filter(t=>t in e&&e[t]!=null).map(t=>[t,e[t]])),Gc=e=>Object.fromEntries(Object.entries(e).filter(([e,t])=>e.startsWith(`html_`)&&t!=null).map(([e,t])=>[e.slice(5),t])),Kc=(e,t)=>{let n=new Set([...t,...Object.keys(e).filter(e=>e.startsWith(`html_`))]);return Object.fromEntries(Object.entries(e).filter(([e])=>!n.has(e)))},qc=0,Jc=new WeakMap,Yc=e=>{let t=Jc.get(e);return t||(t=++qc,Jc.set(e,t)),t},Xc=e=>typeof e==`function`?Yc(e):null,Zc=e=>e.flatMap(e=>e.extensions?.map(e=>e.name)??[]),Qc=e=>e.length>0?new bs(...e).defaults:{},$c=e=>e.some(e=>e.async===!0),el=e=>e.map(e=>({extension:Yc(e),async:e.async??!1,extensions:e.extensions?.map(e=>{let t=e;return{token:Yc(e),name:e.name,level:t.level??null,childTokens:t.childTokens??null,start:Xc(t.start),tokenizer:Xc(t.tokenizer),renderer:Xc(t.renderer)}})??null,hooks:e.hooks?Yc(e.hooks):null,renderer:e.renderer?Yc(e.renderer):null,tokenizer:e.tokenizer?Yc(e.tokenizer):null,walkTokens:Xc(e.walkTokens)})),tl=(e,t)=>{let n=Qc(t),r=t.length>0?el(t):void 0;return{...yc,...n,...e,...r?{_svelteMarkdownExtensionCacheSignature:r}:{}}},nl=class e extends Error{constructor(t){super(t),this.name=`CacheConfigError`,Object.setPrototypeOf(this,e.prototype)}},rl=Symbol(`CACHED_UNDEFINED`),il=Symbol(`CACHED_NULL`),al=class{constructor(e={}){this.cache=new Map,this.inFlight=new Map,this.totalWeight=0,this.stats={hits:0,misses:0,evictions:0,expirations:0},this.expirationQueue=[],this.compactionScheduled=!1;let t=e.maxSize??100,n=e.maxWeight??0,r=e.ttl??3e5;if(t<0)throw new nl(`maxSize must be a non-negative number`);if(r<0)throw new nl(`ttl must be a non-negative number`);if(n<0||Number.isNaN(n))throw new nl(`maxWeight must be a non-negative number`);if(n>0&&!e.sizeCalculation)throw new nl(`sizeCalculation is required when maxWeight is greater than 0`);this.maxSize=t,this.maxWeight=n,this.sizeCalculation=e.sizeCalculation,this.ttl=r,this.hooks=e.hooks??{}}callHook(e,t){if(e)try{e(t)}catch{}}unwrapValue(e){if(e!==rl)return e===il?null:e}removeEntry(e){let t=this.cache.get(e);if(t&&this.cache.delete(e))return this.totalWeight-=t.weight,this.cache.size===0&&(this.totalWeight=0),t}evictEntry(e){let t=this.removeEntry(e);return t?(this.stats.evictions++,this.callHook(this.hooks.onEvict,{key:e,value:this.unwrapValue(t.value)}),!0):!1}exceedsCapacity(e,t){let n=this.cache.size+ +(t===void 0),r=this.totalWeight-(t??0)+e;return this.maxSize>0&&n>this.maxSize||this.maxWeight>0&&r>this.maxWeight}read(e,t,n){let r=this.cache.get(e);if(!r)return n&&(this.stats.misses++,this.callHook(this.hooks.onMiss,{key:e,reason:`not_found`})),{found:!1,reason:`not_found`};if(this.ttl>0&&Date.now()-r.timestamp>this.ttl){let i=this.unwrapValue(r.value);return this.removeEntry(e),this.stats.expirations++,this.callHook(this.hooks.onExpire,{key:e,value:i,source:t}),n&&(this.stats.misses++,this.callHook(this.hooks.onMiss,{key:e,reason:`expired`})),{found:!1,reason:`expired`}}n&&(this.cache.delete(e),this.cache.set(e,r),this.stats.hits++);let i=this.unwrapValue(r.value);return n&&this.callHook(this.hooks.onHit,{key:e,value:i}),{found:!0,value:i}}get(e){let t=this.read(e,`get`,!0);return t.found?t.value:void 0}async getOrSet(e,t){let n=this.inFlight.get(e);if(n)return n;let r=this.read(e,`get`,!0);if(r.found)return r.value;let i=(async()=>{try{let n=await t();return this.set(e,n),n}finally{this.inFlight.delete(e)}})();return this.inFlight.set(e,i),i}has(e){return this.read(e,`has`,!1).found}set(e,t){let n=0;if(this.maxWeight>0&&(n=this.sizeCalculation(t,e),!Number.isFinite(n)||n<0))throw RangeError(`sizeCalculation must return a finite, non-negative number`);let r=this.cache.get(e);if(this.maxWeight>0&&n>this.maxWeight){r&&this.evictEntry(e);return}this.exceedsCapacity(n,r?.weight)&&this.prune();let i=this.cache.get(e);for(;this.exceedsCapacity(n,i?.weight);){let t;for(let n of this.cache.keys())if(n!==e){t=n;break}if(t===void 0||!this.evictEntry(t))break;i=this.cache.get(e)}let a=i!==void 0;a&&this.removeEntry(e);let o;o=t===void 0?rl:t===null?il:t;let s=Date.now();if(this.cache.set(e,{value:o,timestamp:s,weight:n}),this.totalWeight+=n,this.ttl>0){let t=this.expirationQueue,n=t[t.length-1];n?.key===e?n.timestamp=s:t.push({key:e,timestamp:s})}this.callHook(this.hooks.onSet,{key:e,value:t,isUpdate:a})}delete(e){let t=this.removeEntry(e);if(t){let n=this.unwrapValue(t.value);this.callHook(this.hooks.onDelete,{key:e,value:n,source:`delete`})}return t!==void 0}async deleteAsync(e){let t=this.removeEntry(e);if(t){let n=this.unwrapValue(t.value);this.callHook(this.hooks.onDelete,{key:e,value:n,source:`deleteAsync`})}return Promise.resolve(t!==void 0)}clear(){for(let[e,t]of this.cache.entries()){let n=this.unwrapValue(t.value);this.removeEntry(e),this.callHook(this.hooks.onDelete,{key:e,value:n,source:`clear`})}this.expirationQueue=[],this.compactionScheduled=!1}deleteByPrefix(e){let t=0;for(let[n,r]of this.cache.entries())if(n.startsWith(e)){let e=this.unwrapValue(r.value);this.removeEntry(n),this.callHook(this.hooks.onDelete,{key:n,value:e,source:`deleteByPrefix`}),t++}return t}deleteByMagicString(e){let t=0,n=e.replace(/[.+?^${}()|[\]\\]/g,`\\$&`).replace(/\*/g,`.*`),r=RegExp(`^${n}$`);for(let[e,n]of this.cache.entries())if(r.test(e)){let r=this.unwrapValue(n.value);this.removeEntry(e),this.callHook(this.hooks.onDelete,{key:e,value:r,source:`deleteByMagicString`}),t++}return t}size(){return this.prune(),this.cache.size}keys(){return this.prune(),Array.from(this.cache.keys())}values(){this.prune();let e=[];for(let t of this.cache.values())t.value===rl?e.push(void 0):t.value===il?e.push(null):e.push(t.value);return e}entries(){this.prune();let e=[];for(let[t,n]of this.cache.entries()){let r;r=n.value===rl?void 0:n.value===il?null:n.value,e.push([t,r])}return e}getStats(){return this.prune(),{hits:this.stats.hits,misses:this.stats.misses,evictions:this.stats.evictions,expirations:this.stats.expirations,size:this.cache.size,weight:this.totalWeight}}resetStats(){this.stats.hits=0,this.stats.misses=0,this.stats.evictions=0,this.stats.expirations=0}prune(){if(this.ttl<=0)return 0;let e=0,t=Date.now(),n=this.expirationQueue,r=0;for(;r<n.length&&t-n[r].timestamp>this.ttl;){let{key:t,timestamp:i}=n[r];r++;let a=this.cache.get(t);if(a&&a.timestamp===i){let n=this.unwrapValue(a.value);this.removeEntry(t),this.stats.expirations++,this.callHook(this.hooks.onExpire,{key:t,value:n,source:`prune`}),e++}}return r>0&&n.splice(0,r),!this.compactionScheduled&&this.expirationQueue.length>2*this.cache.size&&(this.compactionScheduled=!0,queueMicrotask(()=>{this.compactionScheduled=!1,this.expirationQueue=this.expirationQueue.filter(e=>{let t=this.cache.get(e.key);return t!==void 0&&t.timestamp===e.timestamp})})),e}},ol=e=>{let t=2166136261;for(let n=0;n<e.length;n++)t^=e.charCodeAt(n),t+=(t<<1)+(t<<4)+(t<<7)+(t<<8)+(t<<24);return(t>>>0).toString(36)},sl=new WeakMap,cl=(e,t)=>{let n=ol(e),r=sl.get(t);if(!r){let e=new WeakSet;r=ol(JSON.stringify(t,(t,n)=>{if(typeof n==`function`)return n.name||n.toString();if(n&&typeof n==`object`){if(e.has(n))return`[Circular]`;e.add(n)}return n})),sl.set(t,r)}return`${n}:${r}`},ll=new class extends al{constructor(e){super({maxSize:50,ttl:3e5,...e})}getTokens(e,t){let n=cl(e,t),r=this.get(n);if(r!==void 0&&r.source===e)return r.tokens}setTokens(e,t,n){let r=cl(e,t);this.set(r,{source:e,tokens:n})}hasTokens(e,t){return this.getTokens(e,t)!==void 0}deleteTokens(e,t){let n=cl(e,t);return this.delete(n)}clearAllTokens(){this.clear()}},ul=[8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0,0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376];function dl(e){return e===0||e>=55296&&e<=57343||e>1114111}function fl(e){return dl(e)?65533:e>=128&&e<=159&&ul[e-128]||e}function pl(e){return dl(e)?65533:e}var ml=(()=>{let e=new Uint8Array(127),t=0;for(let n=33;n<=126;n++)n!==34&&n!==36&&n!==92&&(e[n]=t++);return e})();function hl(e,t,n,r,i,a){let o=e.length,s=a*90,c=0,l=()=>{let t=ml[e.charCodeAt(c++)];return t<a?t:t*91-s+ml[e.charCodeAt(c++)]},u=n-r,d=n+i,f=new Int32Array(d);f.fill(-1,r,a),f.fill(-1,a+u,d);let p=new Int32Array(d),m=new Int32Array(d);function h(t,n){let r=0,i=n,a=n+t;for(;i<a;){let t=ml[e.charCodeAt(c++)];if(t<89)r+=t,f[i++]=r;else if(t===89){let t=ml[e.charCodeAt(c++)]+2;for(;t--;)f[i++]=++r}else{let t=ml[e.charCodeAt(c++)];r+=89+(t<90?t*91+ml[e.charCodeAt(c++)]:ml[e.charCodeAt(c++)]*8281+ml[e.charCodeAt(c++)]*91+ml[e.charCodeAt(c++)]),f[i++]=r}}}h(r,0),h(u,a);let g=new Int32Array(i*2),_=0,v=0;function y(e,t){for(let n=0;n<e;n++){let e=t+n,r=l(),i=l();g[v*2]=r,g[v*2+1]=i,v+=1,p[e]=_;let a=(f[r]<0?m[r]:1)+(f[i]<0?m[i]:1);m[e]=a,_+=a}}y(i-a+r,a+u),y(a-r,r);let b=new Uint16Array(_),x=0;for(let e=0;e<v;e++)for(let t=0;t<2;t++){let n=g[e*2+t],r=f[n];if(r<0){let e=p[n],t=e+m[n];for(;e<t;)b[x++]=b[e++]}else b[x++]=r}let S=new Uint16Array(t),C=0;for(;c<o;){let t=ml[e.charCodeAt(c++)];t>=a&&(t=t*91-s+ml[e.charCodeAt(c++)]);let n=f[t];if(n<0){let e=p[t],n=e+m[t];for(;e<n;)S[C++]=b[e++]}else S[C++]=n}return S}var gl=hl("!}.&u%}'&}*'~!6*)%&,~!J~!J~%L~y<~!R,~~%Lu~~#GD~~#|)1#%}^%}2%+#.##%##%}&%##%'#%##&%#%#'%#&#%#&#'#%%#&#%##%#)%''%&%#%#'%#%%#%%}%%%#%#&(23#%%#&-%0%('1#(##%#'##+%'*.:1}#%#6-+(%'%%#%%%}#L'2351&('%}&/N'(0(/*-%(%%}#'+&T%7.2}#&%&#%#36/5##%&%%#&#%%#))2%%##%&&'0~!#*+&'%1~!%).'3q?&%'1~!.##%6(~!+%%%(Gw'rT~!E#<nA%#jZ~!H%(~!42##~!*31&~!G%U~#)5~#`3~!J~!Z~%]~%Y~%C~!q~!u~#kz~%#~!6'~!D~!U~!?~#T~!c%~!G#'~%7|~!G~!J~!G&~#pb~(Df}#%}*&}#%##%##%##&#-}&'#'&%#.++}%mI,#,@&(}*%}*'%&##&#%##%}&0}#.},U},%}+%}&%}#%##&}B%(}(%}+%)})%##%#&}&%##%&}<%}>%#%&}*%}(%}9%}/%})%}*%}*%}?&}&%}3%}&*#%})%#%#)}#&#-#+*%E%%'%'#%}#*V##&##I}#&&##%&%#&&Qf%%))w/0+&%#(#.%-''''++++7}>%4'',##1,#%#&%##&#'##&#*#9)%&%}#*}%,#+P(%A&%#'&##wSD',9E00#y#@}(+}&%&>~!#~!X}#*}(&&}(&}(,%}%&#+&}#&}I%#%}%)#(},'%#*}4%%#%}(''}#/##(##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C2F|GOu!5x,g|p{ah!-(?C2F|c9:4E|OjXuvvNr}:Rh&i[w*t|cd+U#jJvsu)vsSn~Mkfrmu9p}u7vwv]So!McW#Xa!ax5@A5aY:5;5<H|>kJv~vYrquJu3x4ib#T)2@SmZM?C2F|Bj:rmu9@xPhI(a*a#U#`a3-5Abb|L~@:RhK9:4E|0@52B5G|#C::aY?C2F|-:2<BaY?C2F|.5Jvk!a)javYrquJu3x4ia#T)2@SmYM?C2F|HAxPhH(!a#U#`a*-5Abb|4~@:RhJ9:4E|R@52B5G|F:2<BaY?C2F|Sc^#Xa2j=Qq5CJvB!-g<v{z;hhM?C2F|Zi[vrv{z;hiM?C2F|XKsA>!a)-g<v{z;h[eb?C2F|]i[vrv{z;h]eb?C2F|^iZu.vix,hZq3ah!.(?C2F|QOu!5ShXM:2<BaY?C2F|P",13494,2713,49,25,61),_l=new Uint16Array([512,26465,29036,7,0,2,4,116,24638,116,24636,8693,29807,24610,621,1,0,0,3,112,24614,111,115,24615]),vl;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.FLAG13=8192]=`FLAG13`,e[e.BRANCH_LENGTH=8064]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`,e[e.VALUE_MASK=8191]=`VALUE_MASK`})(vl||={});var yl;(function(e){e[e.AMP=38]=`AMP`,e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_X=120]=`LOWER_X`})(yl||={});var bl=32;function xl(e){return e-yl.ZERO>>>0<=9}function Sl(e){return(e|bl)-yl.LOWER_A>>>0<=5}function Cl(e){return(e|bl)-yl.LOWER_A>>>0<=25}function wl(e){return e===yl.EQUALS||Cl(e)||xl(e)}var Tl;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(Tl||={});var El;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(El||={});var Dl=class{decodeTree;emitCodePoint;errors;state=Tl.EntityStart;consumed=1;result=0;treeIndex=0;excess=1;decodeMode=El.Strict;runConsumed=0;constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n}startEntity(e){this.decodeMode=e,this.state=Tl.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case Tl.EntityStart:return e.charCodeAt(t)===yl.NUM?(this.state=Tl.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Tl.NamedEntity,this.stateNamedEntity(e,t));case Tl.NumericStart:return this.stateNumericStart(e,t);case Tl.NumericDecimal:return this.stateNumericDecimal(e,t);case Tl.NumericHex:return this.stateNumericHex(e,t);default:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|bl)===yl.LOWER_X?(this.state=Tl.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Tl.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){let n=e.length,{result:r}=this,{consumed:i}=this;for(;t<n;){let n=e.charCodeAt(t);if(xl(n)||Sl(n)){let e=n<=yl.NINE?n-yl.ZERO:(n|bl)-yl.LOWER_A+10;r=r*16+e,i+=1,t+=1}else return this.result=r,this.consumed=i,this.emitNumericEntity(n,3)}return this.result=r,this.consumed=i,-1}stateNumericDecimal(e,t){let n=e.length,{result:r}=this,{consumed:i}=this;for(;t<n;){let n=e.charCodeAt(t)-yl.ZERO;if(n>>>0>9)return this.result=r,this.consumed=i,this.emitNumericEntity(n+yl.ZERO,2);r=r*10+n,i+=1,t+=1}return this.result=r,this.consumed=i,-1}emitNumericEntity(e,t){if(this.consumed<=t)return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===yl.SEMI)this.consumed+=1;else if(this.decodeMode===El.Strict)return 0;return this.emitCodePoint((this.decodeTree===_l?pl:fl)(this.result),this.consumed),this.errors&&(e!==yl.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}flushAndEmitLegacyOrReject(e,t,n,r){return this.consumed=e,this.excess=t,this.result===0||this.decodeMode===El.Attribute&&(r===0||t>1||wl(n))?0:this.emitNotTerminatedNamedEntity()}stateNamedEntity(e,t){let{decodeTree:n}=this,r=e.length,i=this.decodeMode===El.Strict,{treeIndex:a}=this,{excess:o}=this,{consumed:s}=this,c=n[a];for(;t<r;){for(;(c&(vl.VALUE_LENGTH|vl.FLAG13))===0&&(c&vl.JUMP_TABLE)!==0;){let i=e.charCodeAt(t),l=c&vl.JUMP_TABLE,u=(c&vl.BRANCH_LENGTH)>>7;if(u===0){if(i!==l)return this.flushAndEmitLegacyOrReject(s,o,i,0);a+=1}else{let e=i-l;if(e>>>0>=u)return this.flushAndEmitLegacyOrReject(s,o,i,0);let t=n[a+1+e];if(t===0)return this.flushAndEmitLegacyOrReject(s,o,i,0);a=a+u+t&65535}if(c=n[a],t+=1,o+=1,t>=r)break}if(t>=r)break;if((c&(vl.VALUE_LENGTH|vl.FLAG13))===vl.FLAG13){let i=(c&vl.BRANCH_LENGTH)>>7,{runConsumed:l}=this;if(l===0){let n=e.charCodeAt(t);if(n!==(c&vl.JUMP_TABLE))return this.flushAndEmitLegacyOrReject(s,o,n,0);t+=1,o+=1,l=1}for(;l<i;){if(t>=r)return this.treeIndex=a,this.excess=o,this.consumed=s,this.runConsumed=l,-1;let i=l-1,c=n[a+1+(i>>1)]>>((i&1)<<3)&255,u=e.charCodeAt(t);if(u!==c)return this.runConsumed=0,this.flushAndEmitLegacyOrReject(s,o,u,0);t+=1,o+=1,l+=1}this.runConsumed=0,a+=1+(i>>1),c=n[a];continue}let l=c>>>14,u=e.charCodeAt(t);if(l!==0){if(!i&&(c&vl.FLAG13)===0&&(this.result=a,s+=o-1,o=1),u===yl.SEMI)return this.emitNamedEntityData(a,l,s+o);if(l===1)return this.flushAndEmitLegacyOrReject(s,o,u,l)}let d=Ol(n,c,a+(l||1),u);if(d<0)return this.flushAndEmitLegacyOrReject(s,o,u,l);a=d,c=n[a],t+=1,o+=1}return!i&&c>>>14&&(c&vl.FLAG13)===0&&(this.result=a,s+=o-1,o=1),this.treeIndex=a,this.excess=o,this.consumed=s,-1}emitNotTerminatedNamedEntity(){let{result:e,decodeTree:t}=this,n=t[e]>>>14;return this.emitNamedEntityData(e,n,this.consumed),this.errors?.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&vl.VALUE_MASK:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){switch(this.state){case Tl.NamedEntity:return this.result!==0&&(this.decodeMode!==El.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Tl.NumericDecimal:return this.emitNumericEntity(0,2);case Tl.NumericHex:return this.emitNumericEntity(0,3);case Tl.NumericStart:return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;default:return 0}}};function Ol(e,t,n,r){let i=(t&vl.BRANCH_LENGTH)>>7,a=t&vl.JUMP_TABLE;if(a){if(i===0)return r===a?n:-1;let t=r-a;if(t>>>0>=i)return-1;let o=e[n+t];return o===0?-1:n+i+o-1&65535}if(i===0)return-1;let o=i+1>>1,s=n+o+i;for(let t=0;t<i;t++){let i=e[n+(t>>1)]>>((t&1)<<3)&255;if(i===r)return s+e[n+o+t]&65535;if(i>r)return-1}return-1}var L;(function(e){e[e.Tab=9]=`Tab`,e[e.NewLine=10]=`NewLine`,e[e.FormFeed=12]=`FormFeed`,e[e.CarriageReturn=13]=`CarriageReturn`,e[e.Space=32]=`Space`,e[e.ExclamationMark=33]=`ExclamationMark`,e[e.Number=35]=`Number`,e[e.Amp=38]=`Amp`,e[e.SingleQuote=39]=`SingleQuote`,e[e.DoubleQuote=34]=`DoubleQuote`,e[e.Dash=45]=`Dash`,e[e.Slash=47]=`Slash`,e[e.Zero=48]=`Zero`,e[e.Nine=57]=`Nine`,e[e.Semi=59]=`Semi`,e[e.Lt=60]=`Lt`,e[e.Eq=61]=`Eq`,e[e.Gt=62]=`Gt`,e[e.Questionmark=63]=`Questionmark`,e[e.UpperA=65]=`UpperA`,e[e.LowerA=97]=`LowerA`,e[e.UpperF=70]=`UpperF`,e[e.LowerF=102]=`LowerF`,e[e.UpperZ=90]=`UpperZ`,e[e.LowerZ=122]=`LowerZ`,e[e.LowerX=120]=`LowerX`,e[e.OpeningSquareBracket=91]=`OpeningSquareBracket`})(L||={});var R;(function(e){e[e.Text=1]=`Text`,e[e.BeforeTagName=2]=`BeforeTagName`,e[e.InTagName=3]=`InTagName`,e[e.InSelfClosingTag=4]=`InSelfClosingTag`,e[e.BeforeClosingTagName=5]=`BeforeClosingTagName`,e[e.InClosingTagName=6]=`InClosingTagName`,e[e.AfterClosingTagName=7]=`AfterClosingTagName`,e[e.BeforeAttributeName=8]=`BeforeAttributeName`,e[e.InAttributeName=9]=`InAttributeName`,e[e.AfterAttributeName=10]=`AfterAttributeName`,e[e.BeforeAttributeValue=11]=`BeforeAttributeValue`,e[e.InAttributeValueDq=12]=`InAttributeValueDq`,e[e.InAttributeValueSq=13]=`InAttributeValueSq`,e[e.InAttributeValueNq=14]=`InAttributeValueNq`,e[e.BeforeDeclaration=15]=`BeforeDeclaration`,e[e.InDeclaration=16]=`InDeclaration`,e[e.InProcessingInstruction=17]=`InProcessingInstruction`,e[e.BeforeComment=18]=`BeforeComment`,e[e.CDATASequence=19]=`CDATASequence`,e[e.DeclarationSequence=20]=`DeclarationSequence`,e[e.InSpecialComment=21]=`InSpecialComment`,e[e.InCommentLike=22]=`InCommentLike`,e[e.SpecialStartSequence=23]=`SpecialStartSequence`,e[e.InSpecialTag=24]=`InSpecialTag`,e[e.InPlainText=25]=`InPlainText`,e[e.InEntity=26]=`InEntity`})(R||={});function kl(e){return e===L.Space||e===L.NewLine||e===L.Tab||e===L.FormFeed||e===L.CarriageReturn}function Al(e){return e===L.Slash||e===L.Gt||kl(e)}function jl(e){return e>=L.LowerA&&e<=L.LowerZ||e>=L.UpperA&&e<=L.UpperZ}var Ml;(function(e){e[e.NoValue=0]=`NoValue`,e[e.Unquoted=1]=`Unquoted`,e[e.Single=2]=`Single`,e[e.Double=3]=`Double`})(Ml||={});var Nl={Empty:new Uint8Array,Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,33,62]),Doctype:new Uint8Array([100,111,99,116,121,112,101]),IframeEnd:new Uint8Array([60,47,105,102,114,97,109,101]),NoembedEnd:new Uint8Array([60,47,110,111,101,109,98,101,100]),NoframesEnd:new Uint8Array([60,47,110,111,102,114,97,109,101,115]),Plaintext:new Uint8Array([60,47,112,108,97,105,110,116,101,120,116]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])},Pl=new Map([[Nl.IframeEnd[2],Nl.IframeEnd],[Nl.NoembedEnd[2],Nl.NoembedEnd],[Nl.Plaintext[2],Nl.Plaintext],[Nl.ScriptEnd[2],Nl.ScriptEnd],[Nl.TitleEnd[2],Nl.TitleEnd],[Nl.XmpEnd[2],Nl.XmpEnd]]),Fl=class{cbs;state=R.Text;buffer=``;sectionStart=0;index=0;entityStart=0;baseState=R.Text;isSpecial=!1;running=!0;offset=0;xmlMode;decodeEntities;recognizeSelfClosing;entityDecoder;constructor({xmlMode:e=!1,decodeEntities:t=!0,recognizeSelfClosing:n=e},r){this.cbs=r,this.xmlMode=e,this.decodeEntities=t,this.recognizeSelfClosing=n,this.entityDecoder=new Dl(e?_l:gl,(e,t)=>this.emitCodePoint(e,t))}reset(){this.state=R.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=R.Text,this.isSpecial=!1,this.currentSequence=Nl.Empty,this.sequenceIndex=0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===L.Lt||!this.decodeEntities&&this.fastForwardTo(L.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=R.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===L.Amp&&this.startEntity()}currentSequence=Nl.Empty;sequenceIndex=0;enterTagBody(){this.currentSequence===Nl.Plaintext?(this.currentSequence=Nl.Empty,this.state=R.InPlainText):this.isSpecial?(this.state=R.InSpecialTag,this.sequenceIndex=0):this.state=R.Text}stateSpecialStartSequence(e){let t=e|32;if(this.sequenceIndex<this.currentSequence.length){if(t===this.currentSequence[this.sequenceIndex]){this.sequenceIndex++;return}if(this.sequenceIndex===3){if(this.currentSequence===Nl.ScriptEnd&&t===Nl.StyleEnd[3]){this.currentSequence=Nl.StyleEnd,this.sequenceIndex=4;return}if(this.currentSequence===Nl.TitleEnd&&t===Nl.TextareaEnd[3]){this.currentSequence=Nl.TextareaEnd,this.sequenceIndex=4;return}}else if(this.sequenceIndex===4&&this.currentSequence===Nl.NoembedEnd&&t===Nl.NoframesEnd[4]){this.currentSequence=Nl.NoframesEnd,this.sequenceIndex=5;return}}else if(Al(e)){this.sequenceIndex=0,this.state=R.InTagName,this.stateInTagName(e);return}this.isSpecial=!1,this.currentSequence=Nl.Empty,this.sequenceIndex=0,this.state=R.InTagName,this.stateInTagName(e)}stateCDATASequence(e){e===Nl.Cdata[this.sequenceIndex]?++this.sequenceIndex===Nl.Cdata.length&&(this.state=R.InCommentLike,this.currentSequence=Nl.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.xmlMode?(this.state=R.InDeclaration,this.stateInDeclaration(e)):(this.state=R.InSpecialComment,this.stateInSpecialComment(e)))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}emitComment(e){this.cbs.oncomment(this.sectionStart,this.index,e),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=R.Text}stateInCommentLike(e){!this.xmlMode&&this.currentSequence===Nl.CommentEnd&&this.sequenceIndex<=1&&this.index===this.sectionStart+this.sequenceIndex&&e===L.Gt?this.emitComment(this.sequenceIndex):this.currentSequence===Nl.CommentEnd&&this.sequenceIndex===2&&e===L.Gt?this.emitComment(2):this.currentSequence===Nl.CommentEnd&&this.sequenceIndex===this.currentSequence.length-1&&e!==L.Gt?this.sequenceIndex=Number(e===L.Dash):e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Nl.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,3),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=R.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!Al(e):jl(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(Al(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Nl.TitleEnd||this.currentSequence===Nl.TextareaEnd?this.decodeEntities&&e===L.Amp&&this.startEntity():this.fastForwardTo(L.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===L.Lt)}stateBeforeTagName(e){if(e===L.ExclamationMark)this.state=R.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===L.Questionmark)this.xmlMode?(this.state=R.InProcessingInstruction,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.state=R.InSpecialComment,this.sectionStart=this.index);else if(this.isTagStartChar(e)){this.sectionStart=this.index;let t=this.xmlMode||this.cbs.isInForeignContext?.()?void 0:Pl.get(e|32);t===void 0?this.state=R.InTagName:(this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=3,this.state=R.SpecialStartSequence)}else e===L.Slash?this.state=R.BeforeClosingTagName:(this.state=R.Text,this.stateText(e))}stateInTagName(e){Al(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=R.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){kl(e)?this.xmlMode||(this.state=R.InSpecialComment,this.sectionStart=this.index):e===L.Gt?(this.state=R.Text,this.xmlMode||(this.sectionStart=this.index+1)):(this.state=this.isTagStartChar(e)?R.InClosingTagName:R.InSpecialComment,this.sectionStart=this.index)}stateInClosingTagName(e){Al(e)&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=R.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===L.Gt||this.fastForwardTo(L.Gt))&&(this.state=R.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===L.Gt?(this.cbs.onopentagend(this.index),this.enterTagBody(),this.sectionStart=this.index+1):e===L.Slash?this.state=R.InSelfClosingTag:kl(e)||(this.state=R.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){if(e===L.Gt){if(this.cbs.onselfclosingtag(this.index),this.sectionStart=this.index+1,!this.recognizeSelfClosing){this.enterTagBody();return}this.state=R.Text,this.isSpecial=!1,this.currentSequence=Nl.Empty}else kl(e)||(this.state=R.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===L.Eq||Al(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=R.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===L.Eq?this.state=R.BeforeAttributeValue:e===L.Slash||e===L.Gt?(this.cbs.onattribend(Ml.NoValue,this.sectionStart),this.sectionStart=-1,this.state=R.BeforeAttributeName,this.stateBeforeAttributeName(e)):kl(e)||(this.cbs.onattribend(Ml.NoValue,this.sectionStart),this.state=R.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===L.DoubleQuote?(this.state=R.InAttributeValueDq,this.sectionStart=this.index+1):e===L.SingleQuote?(this.state=R.InAttributeValueSq,this.sectionStart=this.index+1):kl(e)||(this.sectionStart=this.index,this.state=R.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===L.DoubleQuote?Ml.Double:Ml.Single,this.index+1),this.state=R.BeforeAttributeName):this.decodeEntities&&e===L.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,L.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,L.SingleQuote)}stateInAttributeValueNoQuotes(e){kl(e)||e===L.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Ml.Unquoted,this.index),this.state=R.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===L.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===L.OpeningSquareBracket?(this.state=R.CDATASequence,this.sequenceIndex=0):this.xmlMode?this.state=e===L.Dash?R.BeforeComment:R.InDeclaration:(e|32)===Nl.Doctype[0]?(this.state=R.DeclarationSequence,this.currentSequence=Nl.Doctype,this.sequenceIndex=1):e===L.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=R.Text,this.sectionStart=this.index+1):this.state=e===L.Dash?R.BeforeComment:R.InSpecialComment}stateDeclarationSequence(e){this.sequenceIndex===this.currentSequence.length?(this.state=R.InDeclaration,this.stateInDeclaration(e)):(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:e===L.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=R.Text,this.sectionStart=this.index+1):this.state=R.InSpecialComment}stateInDeclaration(e){(e===L.Gt||this.fastForwardTo(L.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=R.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){e===L.Questionmark?this.sequenceIndex=1:e===L.Gt&&this.sequenceIndex===1?(this.cbs.onprocessinginstruction(this.sectionStart,this.index-1),this.sequenceIndex=0,this.state=R.Text,this.sectionStart=this.index+1):this.sequenceIndex=Number(this.fastForwardTo(L.Questionmark))}stateBeforeComment(e){e===L.Dash?(this.state=R.InCommentLike,this.currentSequence=Nl.CommentEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):this.xmlMode?this.state=R.InDeclaration:e===L.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=R.Text,this.sectionStart=this.index+1):this.state=R.InSpecialComment}stateInSpecialComment(e){(e===L.Gt||this.fastForwardTo(L.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=R.Text,this.sectionStart=this.index+1)}startEntity(){this.baseState=this.state,this.state=R.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?El.Strict:this.baseState===R.Text||this.baseState===R.InSpecialTag?El.Legacy:El.Attribute)}stateInEntity(){let e=this.index-this.offset,t=this.entityDecoder.write(this.buffer,e);if(t>=0)this.state=this.baseState,t===0&&--this.index;else{if(e<this.buffer.length&&this.buffer.charCodeAt(e)===L.Amp){this.state=this.baseState,--this.index;return}this.index=this.offset+this.buffer.length-1}}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===R.Text||this.state===R.InPlainText||this.state===R.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===R.InAttributeValueDq||this.state===R.InAttributeValueSq||this.state===R.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case R.Text:this.stateText(e);break;case R.InPlainText:this.index=this.buffer.length+this.offset-1;break;case R.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case R.InSpecialTag:this.stateInSpecialTag(e);break;case R.CDATASequence:this.stateCDATASequence(e);break;case R.DeclarationSequence:this.stateDeclarationSequence(e);break;case R.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case R.InAttributeName:this.stateInAttributeName(e);break;case R.InCommentLike:this.stateInCommentLike(e);break;case R.InSpecialComment:this.stateInSpecialComment(e);break;case R.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case R.InTagName:this.stateInTagName(e);break;case R.InClosingTagName:this.stateInClosingTagName(e);break;case R.BeforeTagName:this.stateBeforeTagName(e);break;case R.AfterAttributeName:this.stateAfterAttributeName(e);break;case R.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case R.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case R.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case R.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case R.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case R.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case R.InDeclaration:this.stateInDeclaration(e);break;case R.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case R.BeforeComment:this.stateBeforeComment(e);break;case R.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case R.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===R.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingCommentLikeData(e){if(this.state!==R.InCommentLike)return!1;if(this.currentSequence===Nl.CdataEnd){if(this.xmlMode)this.sectionStart<e&&this.cbs.oncdata(this.sectionStart,e,0);else{let t=this.sectionStart-Nl.Cdata.length-1;this.cbs.oncomment(t,e,0)}}else{let t=this.xmlMode?0:Math.min(this.sequenceIndex,Nl.CommentEnd.length-1);this.cbs.oncomment(this.sectionStart,e,t)}return!0}handleTrailingMarkupDeclaration(e){if(this.xmlMode)switch(this.state){case R.InSpecialComment:case R.BeforeComment:case R.CDATASequence:case R.DeclarationSequence:case R.InDeclaration:return this.cbs.ontext(this.sectionStart,e),!0;default:return!1}switch(this.state){case R.BeforeDeclaration:case R.InSpecialComment:case R.BeforeComment:case R.CDATASequence:return this.cbs.oncomment(this.sectionStart,e,0),!0;case R.DeclarationSequence:return this.sequenceIndex!==Nl.Doctype.length&&this.cbs.oncomment(this.sectionStart,e,0),!0;case R.InDeclaration:return!0;default:return!1}}handleTrailingData(){let e=this.buffer.length+this.offset;if(!(this.handleTrailingCommentLikeData(e)||this.handleTrailingMarkupDeclaration(e))&&!(this.sectionStart>=e))switch(this.state){case R.InTagName:case R.BeforeAttributeName:case R.BeforeAttributeValue:case R.AfterAttributeName:case R.InAttributeName:case R.InAttributeValueSq:case R.InAttributeValueDq:case R.InAttributeValueNq:case R.InClosingTagName:break;default:this.cbs.ontext(this.sectionStart,e)}}emitCodePoint(e,t){this.baseState!==R.Text&&this.baseState!==R.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}},{fromCodePoint:Il}=String,Ll=new Set([`input`,`option`,`optgroup`,`select`,`button`,`datalist`,`textarea`]),Rl=new Set([`p`]),zl=new Set([`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`p`]),Bl=new Set([`thead`,`tbody`]),Vl=new Set([`dd`,`dt`]),Hl=new Set([`rt`,`rp`]),Ul=new Map([[`tr`,new Set([`tr`,`th`,`td`])],[`th`,new Set([`th`])],[`td`,new Set([`thead`,`th`,`td`])],[`body`,new Set([`head`,`link`,`script`])],[`a`,new Set([`a`])],[`li`,new Set([`li`])],[`p`,Rl],[`h1`,zl],[`h2`,zl],[`h3`,zl],[`h4`,zl],[`h5`,zl],[`h6`,zl],[`select`,Ll],[`input`,Ll],[`output`,Ll],[`button`,Ll],[`datalist`,Ll],[`textarea`,Ll],[`option`,new Set([`option`])],[`optgroup`,new Set([`optgroup`,`option`])],[`dd`,Vl],[`dt`,Vl],[`address`,Rl],[`article`,Rl],[`aside`,Rl],[`blockquote`,Rl],[`details`,Rl],[`div`,Rl],[`dl`,Rl],[`fieldset`,Rl],[`figcaption`,Rl],[`figure`,Rl],[`footer`,Rl],[`form`,Rl],[`header`,Rl],[`hr`,Rl],[`main`,Rl],[`nav`,Rl],[`ol`,Rl],[`pre`,Rl],[`section`,Rl],[`table`,Rl],[`ul`,Rl],[`rt`,Hl],[`rp`,Hl],[`tbody`,Bl],[`tfoot`,Bl]]),Wl=`doctype`,Gl=new Set([`area`,`base`,`basefont`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`img`,`input`,`isindex`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]),Kl=new Set([`math`,`svg`]),ql=new Set([`mi`,`mo`,`mn`,`ms`,`mtext`,`annotation-xml`,`foreignObject`,`desc`,`title`]),Jl=new Map([[`altglyph`,`altGlyph`],[`altglyphdef`,`altGlyphDef`],[`altglyphitem`,`altGlyphItem`],[`animatecolor`,`animateColor`],[`animatemotion`,`animateMotion`],[`animatetransform`,`animateTransform`],[`clippath`,`clipPath`],[`feblend`,`feBlend`],[`fecolormatrix`,`feColorMatrix`],[`fecomponenttransfer`,`feComponentTransfer`],[`fecomposite`,`feComposite`],[`feconvolvematrix`,`feConvolveMatrix`],[`fediffuselighting`,`feDiffuseLighting`],[`fedisplacementmap`,`feDisplacementMap`],[`fedistantlight`,`feDistantLight`],[`fedropshadow`,`feDropShadow`],[`feflood`,`feFlood`],[`fefunca`,`feFuncA`],[`fefuncb`,`feFuncB`],[`fefuncg`,`feFuncG`],[`fefuncr`,`feFuncR`],[`fegaussianblur`,`feGaussianBlur`],[`feimage`,`feImage`],[`femerge`,`feMerge`],[`femergenode`,`feMergeNode`],[`femorphology`,`feMorphology`],[`feoffset`,`feOffset`],[`fepointlight`,`fePointLight`],[`fespecularlighting`,`feSpecularLighting`],[`fespotlight`,`feSpotLight`],[`fetile`,`feTile`],[`feturbulence`,`feTurbulence`],[`foreignobject`,`foreignObject`],[`glyphref`,`glyphRef`],[`lineargradient`,`linearGradient`],[`radialgradient`,`radialGradient`],[`textpath`,`textPath`]]),Yl;(function(e){e[e.None=0]=`None`,e[e.Svg=1]=`Svg`,e[e.MathML=2]=`MathML`})(Yl||={});var Xl=/\s|\//,Zl=class{options;startIndex=0;endIndex=0;openTagStart=0;tagname=``;attribname=``;attribvalue=``;attribs=null;stack=[];foreignContext;cbs;lowerCaseTagNames;lowerCaseAttributeNames;recognizeSelfClosing;htmlMode;tokenizer;buffers=[];bufferOffset=0;writeIndex=0;ended=!1;constructor(e,t={}){this.options=t,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=t.lowerCaseTags??this.htmlMode,this.lowerCaseAttributeNames=t.lowerCaseAttributeNames??this.htmlMode,this.recognizeSelfClosing=t.recognizeSelfClosing??!this.htmlMode,this.tokenizer=new(t.Tokenizer??Fl)(this.options,this),this.foreignContext=[Yl.None],this.cbs.onparserinit?.(this)}ontext(e,t){let n=this.getSlice(e,t);this.endIndex=t-1,this.cbs.ontext?.(n),this.startIndex=t}ontextentity(e,t){this.endIndex=t-1,this.cbs.ontext?.(Il(e)),this.startIndex=t}isInForeignContext(){return this.foreignContext[0]!==Yl.None}isVoidElement(e){return this.htmlMode&&Gl.has(e)}readTagName(e,t){let n=this.lowerCaseTagNames?this.getSlice(e,t).toLowerCase():this.getSlice(e,t);if(!(this.lowerCaseTagNames&&this.htmlMode))return n;if(this.foreignContext[0]===Yl.Svg)return Jl.get(n)??n;if(this.foreignContext.length>1){let e=Jl.get(n);if(e!==void 0&&this.stack.includes(e))return e}return this.isInForeignContext()?n:n===`image`?`img`:n}onopentagname(e,t){this.endIndex=t,this.emitOpenTag(this.readTagName(e,t))}emitOpenTag(e){if(this.openTagStart=this.startIndex,this.tagname=e,this.htmlMode&&e===`form`&&this.stack.includes(`form`)){this.tagname=``;return}let t=this.htmlMode&&Ul.get(e);if(t)for(;this.stack.length>0&&t.has(this.stack[0]);)this.popElement(!0);this.isVoidElement(e)||(this.stack.unshift(e),this.htmlMode&&(e===`svg`?this.foreignContext.unshift(Yl.Svg):e===`math`?this.foreignContext.unshift(Yl.MathML):ql.has(e)&&this.foreignContext.unshift(Yl.None))),this.cbs.onopentagname?.(e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){this.startIndex=this.openTagStart,this.attribs&&=(this.cbs.onopentag?.(this.tagname,this.attribs,e),null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=``}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){this.endIndex=t;let n=this.readTagName(e,t);if(this.isVoidElement(n))this.htmlMode&&n===`br`&&(this.cbs.onopentagname?.(`br`),this.cbs.onopentag?.(`br`,{},!0),this.cbs.onclosetag?.(`br`,!1));else{let e=this.stack.indexOf(n);if(e!==-1){for(let t=0;t<e;t++)this.popElement(!0);this.popElement(!1)}else this.htmlMode&&n===`p`&&(this.emitOpenTag(`p`),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.isInForeignContext()?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}popElement(e){let t=this.stack.shift();this.htmlMode&&(Kl.has(t)||ql.has(t))&&this.foreignContext.shift(),this.cbs.onclosetag?.(t,e)}closeCurrentTag(e){let t=this.tagname;this.endOpenTag(e),this.stack[0]===t&&this.popElement(!e)}onattribname(e,t){this.startIndex=e;let n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=Il(e)}onattribend(e,t){this.endIndex=t,this.cbs.onattribute?.(this.attribname,this.attribvalue,e===Ml.Double?`"`:e===Ml.Single?`'`:e===Ml.NoValue?void 0:null),this.attribs&&!Object.hasOwn(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=``}getInstructionName(e){let t=e.search(Xl),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.htmlMode?this.lowerCaseTagNames?Wl:n.slice(0,7):this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${e}`,`!${n}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${e}`,`?${n}`)}this.startIndex=t+1}oncomment(e,t,n){this.endIndex=t,this.cbs.oncomment?.(this.getSlice(e,t-n)),this.cbs.oncommentend?.(),this.startIndex=t+1}oncdata(e,t,n){this.endIndex=t;let r=this.getSlice(e,t-n);!this.htmlMode||this.options.recognizeCDATA?(this.cbs.oncdatastart?.(),this.cbs.ontext?.(r),this.cbs.oncdataend?.()):this.isInForeignContext()?this.cbs.ontext?.(r):(this.cbs.oncomment?.(`[CDATA[${r}]]`),this.cbs.oncommentend?.()),this.startIndex=t+1}onend(){if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let e=0;e<this.stack.length;e++)this.cbs.onclosetag(this.stack[e],!0)}this.cbs.onend?.()}reset(){this.cbs.onreset?.(),this.tokenizer.reset(),this.tagname=``,this.attribname=``,this.attribvalue=``,this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,this.cbs.onparserinit?.(this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(Yl.None),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){if(e===t)return``;for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){if(this.ended){this.cbs.onerror?.(Error(`.write() after done!`));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){if(this.ended){this.cbs.onerror?.(Error(`.end() after done!`));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}},Ql=/<\/?([a-zA-Z][a-zA-Z0-9-]{0,})(?:\s+[^>]*)?>/,$l=/^(br|hr|img|input|link|meta|area|base|col|embed|keygen|param|source|track|wbr)$/i,eu=e=>{let t=Ql.exec(e);return t?{tag:t[1],isOpening:!e.startsWith(`</`)}:null},tu=e=>{let t=e.raw.match(/<\/?([a-zA-Z][a-zA-Z0-9-]*)/i);if(!t)return e;let n=t[1];if(!$l.test(n))return e;let r=e.raw.endsWith(`/>`)?e.raw:e.raw.replace(/\s*>$/,`/>`);return{...e,raw:r,tag:n,attributes:nu(e.raw)}},nu=e=>{let t={},n=/([a-zA-Z][\w-]*)=(?:"([^"]*)(?:"|$)|'([^']*)(?:'|$))/g,r;for(;(r=n.exec(e))!==null;){let e=r[1];t[e]=(r[2]??r[3]??``).trim()}let i=e.replace(/[a-zA-Z][\w-]*=(?:"[^"]*(?:"|$)|'[^']*(?:'|$))/g,` `),a=/(?:^|\s)([a-zA-Z][\w-]*?)(?=[\s>]|$)/g;for(;(r=a.exec(i))!==null;){let[,e]=r;e&&!t[e]&&(t[e]=``)}return t},ru=e=>Object.entries(e).map(([e,t])=>` ${e}="${t.replace(/"/g,`"`)}"`).join(``),iu=e=>{let t=e.indexOf(`>`);return t!==-1&&e.indexOf(`<`,t+1)!==-1},au=e=>{let t=[],n=[t],r=[],i=``,a=()=>{i.length!==0&&(i.trim()&&n[n.length-1].push({type:`text`,raw:i,text:i}),i=``)},o=new Zl({onopentag:(e,t)=>{if(a(),$l.test(e)){n[n.length-1].push({type:`html`,raw:`<${e}${ru(t)}/>`,tag:e,attributes:t});return}let i=[],s={type:`html`,raw:`<${e}${ru(t)}>`,tag:e,attributes:t};n[n.length-1].push(s),n.push(i),r.push({tag:e,opening:s,childTokens:i,startIndex:o.startIndex})},ontext:e=>{i+=e},onclosetag:(e,t)=>{if(a(),r.length===0)return;let i=r[r.length-1];if(i.tag===e){if(r.pop(),n.pop(),t){let e=n[n.length-1];for(let t of i.childTokens)e.push(t)}else{let e=i.opening;e.sourceLength=o.endIndex-i.startIndex+1,e.tokens=i.childTokens}}}},{xmlMode:!1,recognizeSelfClosing:!0});return o.write(e),o.end(),a(),t},ou=e=>iu(e.raw)?au(e.raw):[tu(e)],su=e=>{let t=[],n=[];for(let r=0;r<e.length;r++){let i=e[r];if(i.type!==`html`){t.push(i);continue}if(`tokens`in i&&Array.isArray(i.tokens)){t.push(i);continue}let a=eu(i.raw);if(!a){t.push(i);continue}if(i.raw.endsWith(`/>`)){t.push(i);continue}if(a.isOpening)n.push({tag:a.tag,startIndex:t.length}),t.push(i);else{let e=n.pop();if(!e||e.tag!==a.tag){t.push(i);continue}let r=e.startIndex,o=t.splice(r+1,t.length-r-1),s=t.pop(),c=s.raw.length+o.reduce((e,t)=>e+(t.sourceLength??t.raw.length),0)+i.raw.length;t.push({type:`html`,raw:s.raw,tag:a.tag,tokens:o,attributes:nu(s.raw),sourceLength:c})}}return t},cu=(e,t)=>!e||e.length!==t.length?!1:e.every((e,n)=>e===t[n]),lu=(e,t)=>{let n=e.tokens?du(e.tokens):[],r=e;return r.listItemIndex===t&&cu(e.tokens,n)?r:{...e,listItemIndex:t,tokens:n}},uu=e=>{let t=e.tokens?du(e.tokens):[];return cu(e.tokens,t)?e:{...e,tokens:t}},du=e=>{let t=[];for(let n of e)if(n.type!==`html`&&`tokens`in n&&Array.isArray(n.tokens)){let e=n;e.tokens=du(e.tokens),t.push(n)}else if(n.type===`list`)n.items=n.items.map(lu),t.push(n);else if(n.type===`table`){let e=n;e.header&&=e.header.map(uu),e.rows&&=e.rows.map(e=>e.map(uu)),t.push(n)}else if(n.type===`html`){let e=ou(n);for(let n of e)t.push(n)}else t.push(n);return su(t)},fu=(e,t,n)=>{let r=new hs(t);return du(n?r.inlineTokens(e):r.lex(e))},pu=(e,t,n)=>{let r=ll.getTokens(e,t);if(r)return r;let i=fu(e,t,n);if(typeof t.walkTokens==`function`)for(let e of i)t.walkTokens(e);return ll.setTokens(e,t,i),i},mu=async(e,t,n)=>{let r=ll.getTokens(e,t);if(r)return r;let i=fu(e,t,n);if(typeof t.walkTokens==`function`){let e=new bs;e.defaults={...e.defaults,...t};let n=e.walkTokens(i,t.walkTokens);await Promise.all(n)}return ll.setTokens(e,t,i),i},hu=e=>typeof e==`object`&&!!e&&!Array.isArray(e),gu=e=>Array.isArray(e)&&e.every(e=>Array.isArray(e)?gu(e):hu(e)),_u=(e,t)=>e.length===t.length&&e.every((e,n)=>{let r=t[n];return Array.isArray(e)||Array.isArray(r)?Array.isArray(e)&&Array.isArray(r)&&_u(e,r):yu(e,r)}),vu=(e,t)=>{let n=new Set([...Object.keys(e),...Object.keys(t)]),r=e,i=t;for(let e of n){let t=r[e],n=i[e],a=gu(t),o=gu(n);if((a||o)&&(!a||!o||!_u(t,n)))return!1}return!0},yu=(e,t)=>{if(e.type!==t.type)return!1;if(typeof e.raw==`string`||typeof t.raw==`string`){if(e.raw!==t.raw)return!1}else if(typeof e.text==`string`||typeof t.text==`string`){if(e.text!==t.text)return!1}else return!1;return vu(e,t)},bu=(e,t)=>{let n=Math.min(e.length,t.length),r;for(let i=0;i<n;i++){let n=e[i],a=t[i],o=a;Array.isArray(n)&&Array.isArray(a)?o=bu(n,a):hu(n)&&hu(a)&&(o=xu(n,a)),o!==a&&(r??=t.slice(),r[i]=o)}return r??t},xu=(e,t)=>{if(yu(e,t))return e;let n,r=e,i=t;for(let e of Object.keys(t)){let a=r[e],o=i[e];if(!gu(a)||!gu(o))continue;let s=bu(a,o);if(s!==o){n??={...t};let r=n;r[e]=s}}return n??t},Su=(e,t,n)=>{let r=Math.min(n,e.length,t.length),i;if(r>0){i=Array(t.length);for(let t=0;t<r;t++)i[t]=e[t];for(let e=r;e<t.length;e++)i[e]=t[e]}if(r<e.length&&r<t.length){let n=xu(e[r],t[r]);n!==t[r]&&(i??=t.slice(),i[r]=n)}return i??t},Cu=Symbol.for(`svelte-markdown.tailWindowSafe`),wu=e=>{e[Cu]=!0},Tu=e=>{for(let t of e.extensions??[])`tokenizer`in t&&typeof t.tokenizer==`function`&&wu(t.tokenizer);return e},Eu=e=>typeof e==`function`&&e[Cu]===!0,Du=/^ {0,3}(`{3,}|~{3,}).*\n[\s\S]*\n {0,3}\1[ \t]*\n*$/,Ou=/\[[^\]\n]+\]\[[^\]\n]*\]/,ku=/\[[^\]\n]+\](?![[(])/,Au=/^\s{0,3}\[[^\]\n]+\]:/m,ju=class{prevTokens=[];prevSource=``;options;tailWindowDisabled;prevHasHtmlSpanMismatch=!1;prevTailWindowBoundary={prefixCount:0,reparseOffset:0};prevHasPotentialReferenceUse=!1;prevHasReferenceDefinition=!1;constructor(e){this.options=e;let t=e.extensions,n=[...t?.block??[],...t?.inline??[]];this.tailWindowDisabled=typeof e.walkTokens==`function`||e.tokenizer!=null||n.some(e=>!Eu(e))}getTailWindowBoundary=()=>this.prevTailWindowBoundary;hasHtmlSpanMismatch=e=>{if(e.type!==`html`)return!1;let t=e;return!t.tag||t.raw.endsWith(`/>`)||t.raw.startsWith(`</`)?!1:t.sourceLength==null};getTokenSourceLength=e=>e.sourceLength??e.raw.length;isStableAtSourceEnd=e=>{if(e.type===`space`)return!1;if(e.raw.endsWith(`
|
|
66
66
|
|
|
67
67
|
`))return!0;switch(e.type){case`heading`:case`hr`:return e.raw.endsWith(`
|
|
68
68
|
`);case`code`:return Du.test(e.raw);default:return!1}};hasPotentialReferenceUse=e=>!e.includes(`[`)||!e.includes(`]`)?!1:Ou.test(e)||ku.test(e);hasPotentialReferenceUseOutsideDefinitions=e=>{if(!e.includes(`[`)||!e.includes(`]`))return!1;for(let t of e.split(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1789466693520"}
|
package/vendor/build/index.html
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
2
|
<html lang="zh-Hans" data-theme="coffee">
|
|
3
|
-
<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><link href="/_app/immutable/entry/start.
|
|
4
|
-
<link href="/_app/immutable/chunks/
|
|
3
|
+
<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><link href="/_app/immutable/entry/start.5Dogon7_.js" rel="modulepreload">
|
|
4
|
+
<link href="/_app/immutable/chunks/BMiSuNVz.js" rel="modulepreload">
|
|
5
5
|
<link href="/_app/immutable/chunks/eSlNf1Mv.js" rel="modulepreload">
|
|
6
|
-
<link href="/_app/immutable/entry/app.
|
|
6
|
+
<link href="/_app/immutable/entry/app.DBkGh5I7.js" rel="modulepreload">
|
|
7
7
|
<link href="/_app/immutable/chunks/xihTtKlq.js" rel="modulepreload">
|
|
8
8
|
<link href="/_app/immutable/nodes/0.gonV4k8o.js" rel="modulepreload">
|
|
9
9
|
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
<body data-sveltekit-preload-data="hover"><div style="display: contents">
|
|
12
12
|
<script>
|
|
13
13
|
{
|
|
14
|
-
|
|
14
|
+
__sveltekit_yry919 = {
|
|
15
15
|
base: ""
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
const element = document.currentScript.parentElement;
|
|
19
19
|
|
|
20
20
|
Promise.all([
|
|
21
|
-
import("/_app/immutable/entry/start.
|
|
22
|
-
import("/_app/immutable/entry/app.
|
|
21
|
+
import("/_app/immutable/entry/start.5Dogon7_.js"),
|
|
22
|
+
import("/_app/immutable/entry/app.DBkGh5I7.js")
|
|
23
23
|
]).then(([kit, app]) => {
|
|
24
24
|
kit.start(app, element);
|
|
25
25
|
});
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Google Inc.
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 JaminZhou
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2025 OpenAI
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
img.svelte-1ajidzw{opacity:0;max-width:100%;height:auto}img.fade-in.svelte-1ajidzw{opacity:1;transition:opacity .3s ease-in-out}img.visible.svelte-1ajidzw{opacity:1;transition:none}img.error.svelte-1ajidzw{opacity:.5;filter:grayscale()}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{H as e,U as t,V as n,ft as r,i,n as a,ot as o,st as s}from"./eSlNf1Mv.js";var c=class{constructor(e,t){this.status=e,this.body=typeof t==`string`?{message:t}:t||{message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}},l=class{constructor(e,t){try{new Headers({location:t})}catch{throw Error(`Invalid redirect location ${JSON.stringify(t)}: this string contains characters that cannot be used in HTTP headers`)}this.status=e,this.location=t}},u=class extends Error{constructor(e,t,n){super(n),this.status=e,this.text=t}};new URL(`sveltekit-internal://`);function d(e,t){return e===`/`||t===`ignore`?e:t===`never`?e.endsWith(`/`)?e.slice(0,-1):e:t===`always`&&!e.endsWith(`/`)?e+`/`:e}function f(e){return e.split(`%25`).map(decodeURI).join(`%25`)}function p(e){for(let t in e)e[t]=decodeURIComponent(e[t]);return e}function m({href:e}){return e.split(`#`)[0]}function h(){}function g(...e){let t=5381;for(let n of e)if(typeof n==`string`){let e=n.length;for(;e;)t=t*33^n.charCodeAt(--e)}else if(ArrayBuffer.isView(n)){let e=new Uint8Array(n.buffer,n.byteOffset,n.byteLength),r=e.length;for(;r;)t=t*33^e[--r]}else throw TypeError(`value must be a string or TypedArray`);return(t>>>0).toString(36)}new TextEncoder;function _(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}var v=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||`GET`)!==`GET`&&y.delete(x(e)),v(e,t));var y=new Map;function ee(e,t){let n=x(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:e,...t}=JSON.parse(r.textContent);r.getAttribute(`data-b64`)!==null&&(e=_(e));let i=r.getAttribute(`data-ttl`);return i&&y.set(n,{body:e,init:t,ttl:1e3*Number(i)}),Promise.resolve(new Response(e,t))}return window.fetch(e,t)}function b(e,t,n){if(y.size>0){let t=x(e,n),r=y.get(t);if(r){if(performance.now()<r.ttl&&[`default`,`force-cache`,`only-if-cached`,void 0].includes(n?.cache))return new Response(r.body,r.init);y.delete(t)}}return window.fetch(t,n)}function x(e,t){let n=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){let e=[];t.headers&&e.push([...new Headers(t.headers)].join(`,`)),t.body&&(typeof t.body==`string`||ArrayBuffer.isView(t.body))&&e.push(t.body),n+=`[data-hash="${g(...e)}"]`}return n}var te=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,ne=/^\/\((?:[^)]+)\)$/;function re(e){let t=[];return{pattern:e===`/`||ne.test(e)?/^\/$/:RegExp(`^${ae(e).map(e=>{let n=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(e);if(n)return t.push({name:n[1],matcher:n[2],optional:!1,rest:!0,chained:!0}),`(?:/([^]*))?`;let r=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(e);if(r)return t.push({name:r[1],matcher:r[2],optional:!0,rest:!1,chained:!0}),`(?:/([^/]+))?`;if(!e)return;let i=e.split(/\[(.+?)\](?!\])/);return`/`+i.map((e,n)=>{if(n%2){if(e.startsWith(`x+`))return se(String.fromCharCode(parseInt(e.slice(2),16)));if(e.startsWith(`u+`))return se(String.fromCharCode(...e.slice(2).split(`-`).map(e=>parseInt(e,16))));let[,r,a,o,s]=te.exec(e);return t.push({name:o,matcher:s,optional:!!r,rest:!!a,chained:a?n===1&&i[0]===``:!1}),a?`([^]*?)`:r?`([^/]*)?`:`([^/]+?)`}return se(e)}).join(``)}).join(``)}/?$`),params:t}}function ie(e){return e!==``&&!/^\([^)]+\)$/.test(e)}function ae(e){return e.slice(1).split(`/`).filter(ie)}function oe(e,t,n){let r={},i=e.slice(1),a=i.filter(e=>e!==void 0),o=0;for(let e=0;e<t.length;e+=1){let s=t[e],c=i[e-o];if(s.chained&&s.rest&&o&&(c=i.slice(e-o,e+1).filter(e=>e).join(`/`),o=0),c===void 0){if(s.rest)c=``;else continue}if(!s.matcher||n[s.matcher](c)){r[s.name]=c;let n=t[e+1],l=i[e+1];n&&!n.rest&&n.optional&&l&&s.chained&&(o=0),!n&&!l&&Object.keys(r).length===a.length&&(o=0);continue}if(s.optional&&s.chained){o++;continue}return}if(!o)return r}function se(e){return e.normalize().replace(/[[\]]/g,`\\$&`).replace(/%/g,`%25`).replace(/\//g,`%2[Ff]`).replace(/\?/g,`%3[Ff]`).replace(/#/g,`%23`).replace(/[.*+?^${}()|\\]/g,`\\$&`)}function ce({nodes:e,server_loads:t,dictionary:n,matchers:r}){let i=new Set(t);return Object.entries(n).map(([t,[n,i,s]])=>{let{pattern:c,params:l}=re(t),u={id:t,exec:e=>{let t=c.exec(e);if(t)return oe(t,l,r)},errors:[1,...s||[]].map(t=>e[t]),layouts:[0,...i||[]].map(o),leaf:a(n)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function a(t){let n=t<0;return n&&(t=~t),[n,e[t]]}function o(t){return t===void 0?t:[i.has(t),e[t]]}}function le(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function ue(e,t,n=JSON.stringify){let r=n(t);try{sessionStorage[e]=r}catch{}}var S=globalThis.__sveltekit_11vcyvt?.base??``,de=globalThis.__sveltekit_11vcyvt?.assets??S??``,fe=`1789460947223`,pe=`sveltekit:snapshot`,me=`sveltekit:scroll`,he=`sveltekit:states`,C=`sveltekit:history`,w=`sveltekit:navigation`,T={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ge=location.origin;function _e(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){let e=document.getElementsByTagName(`base`);t=e.length?e[0].href:document.URL}return new URL(e,t)}function E(){return{x:pageXOffset,y:pageYOffset}}function D(e,t){return e.getAttribute(`data-sveltekit-${t}`)}var ve={...T,"":T.hover};function ye(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function be(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()===`A`&&e.hasAttribute(`href`))return e;e=ye(e)}}function xe(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){let e=location.hash.split(`#`)[1]||`/`;r.hash=`#${e}${r.hash}`}}catch{}let i=e instanceof SVGAElement?e.target.baseVal:e.target,a=!r||!!i||k(r,t,n)||(e.getAttribute(`rel`)||``).split(/\s+/).includes(`external`),o=r?.origin===ge&&e.hasAttribute(`download`);return{url:r,external:a,target:i,download:o}}function O(e){let t=null,n=null,r=null,i=null,a=null,o=null,s=e;for(;s&&s!==document.documentElement;)r===null&&(r=D(s,`preload-code`)),i===null&&(i=D(s,`preload-data`)),t===null&&(t=D(s,`keepfocus`)),n===null&&(n=D(s,`noscroll`)),a===null&&(a=D(s,`reload`)),o===null&&(o=D(s,`replacestate`)),s=ye(s);function c(e){switch(e){case``:case`true`:return!0;case`off`:case`false`:return!1;default:return}}return{preload_code:ve[r??`off`],preload_data:ve[i??`off`],keepfocus:c(t),noscroll:c(n),reload:c(a),replace_state:c(o)}}function Se(e){let t=r(e),n=!0;function i(){n=!0,t.update(e=>e)}function a(e){n=!1,t.set(e)}function o(e){let r;return t.subscribe(t=>{(r===void 0||n&&t!==r)&&e(r=t)})}return{notify:i,set:a,subscribe:o}}var Ce={v:h};function we(){let{set:e,subscribe:t}=r(!1),n;async function i(){clearTimeout(n);try{let t=await fetch(`${de}/_app/version.json`,{headers:{pragma:`no-cache`,"cache-control":`no-cache`}});if(!t.ok)return!1;let r=(await t.json()).version!==fe;return r&&(e(!0),Ce.v(),clearTimeout(n)),r}catch{return!1}}return{subscribe:t,check:i}}function k(e,t,n){return e.origin!==ge||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function Te(e){}var Ee=new Set([`load`,`prerender`,`csr`,`ssr`,`trailingSlash`,`config`]);[...Ee],[...new Set([...Ee])];function De(e){return e.filter(e=>e!=null)}function A(e,t){return e+`/`+t}function Oe(e){return e instanceof c||e instanceof u?e.status:500}function ke(e){return e instanceof u?e.text:`Internal Error`}var j,M,Ae,je=i.toString().includes(`$$`)||/function \w+\(\) \{\}/.test(i.toString()),Me=`a:`;je?(j={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(Me)},M={current:null},Ae={current:!1}):(j=new class{#e=s({});get data(){return n(this.#e)}set data(e){o(this.#e,e)}#t=s(null);get form(){return n(this.#t)}set form(e){o(this.#t,e)}#n=s(null);get error(){return n(this.#n)}set error(e){o(this.#n,e)}#r=s({});get params(){return n(this.#r)}set params(e){o(this.#r,e)}#i=s({id:null});get route(){return n(this.#i)}set route(e){o(this.#i,e)}#a=s({});get state(){return n(this.#a)}set state(e){o(this.#a,e)}#o=s(-1);get status(){return n(this.#o)}set status(e){o(this.#o,e)}#s=s(new URL(Me));get url(){return n(this.#s)}set url(e){o(this.#s,e)}},M=new class{#e=s(null);get current(){return n(this.#e)}set current(e){o(this.#e,e)}},Ae=new class{#e=s(!1);get current(){return n(this.#e)}set current(e){o(this.#e,e)}},Ce.v=()=>Ae.current=!0);function Ne(e){Object.assign(j,e)}var{onMount:Pe,tick:Fe}=a,Ie=new Set([`icon`,`shortcut icon`,`apple-touch-icon`]),N=null,P=le(`sveltekit:scroll`)??{},F=le(`sveltekit:snapshot`)??{},I={url:Se({}),page:Se({}),navigating:r(null),updated:we()};function Le(e){P[e]=E()}function Re(e,t){let n=e+1;for(;P[n];)delete P[n],n+=1;for(n=t+1;F[n];)delete F[n],n+=1}function L(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(h)}async function ze(){if(`serviceWorker`in navigator){let e=await navigator.serviceWorker.getRegistration(S||`/`);e&&await e.update()}}var Be,Ve,R,z,He,B,Ue={},We={},V=[],H=[],U=null;function Ge(){U?.fork?.then(e=>e?.discard()),U=null,Q={element:void 0,href:void 0}}var Ke=new Map,qe=new Set,Je=new Set,W=new Set,G={branch:[],error:null,url:null,nav:null},Ye=!1,Xe=!1,Ze=!0,K=!1,q=!1,Qe=!1,$e=!1,et,J,Y,X,tt=new Set,nt=new Map,rt=new Map;async function it(e,t,n){if(globalThis.__sveltekit_11vcyvt.data){let{q:e={},p:t={},l:n={},f:r={}}=globalThis.__sveltekit_11vcyvt.data;for(let t in e)Ue[t]=e[t];for(let e in n)Ue[e]=n[e];for(let e in r)Ue[e]=r[e];for(let e in t)We[e]=t[e]}document.URL!==location.href&&(location.href=location.href),B=e,await e.hooks.init?.(),Be=ce(e),z=document.documentElement,He=t,Ve=e.nodes[0],R=e.nodes[1],Ve(),R(),J=history.state?.[C],Y=history.state?.[w],J||(J=Y=Date.now(),history.replaceState({...history.state,[C]:J,[w]:Y},``));let r=P[J];function i(){r&&(history.scrollRestoration=`manual`,scrollTo(r.x,r.y))}n?(i(),await Mt(He,n)):(await Z({type:`enter`,url:_e(B.hash?Rt(new URL(location.href)):location.href),replace_state:!0}),i()),jt()}function at(){V.length=0,$e=!1}function ot(e){H.some(e=>e?.snapshot)&&(F[e]=H.map(e=>e?.snapshot?.capture()))}function st(e){F[e]?.forEach((e,t)=>{H[t]?.snapshot?.restore(e)})}function ct(){Le(J),ue(me,P),ot(Y),ue(pe,F)}async function lt(e,n,r,i){let a,o;n.invalidateAll&&Ge(),await Z({type:`goto`,url:_e(e),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:r,nav_token:i,accept:()=>{if(n.invalidateAll){$e=!0,a=new Set;for(let[e,t]of nt)for(let[n,r]of t)r.resource?.reset(),a.add(A(e,n));o=new Set;for(let[e,t]of rt)for(let n of t.keys())o.add(A(e,n))}n.invalidate&&n.invalidate.forEach(At)}}),n.invalidateAll&&t().then(t).then(()=>{for(let[e,t]of nt)for(let[n,{resource:r}]of t)a?.has(A(e,n))&&r.start();for(let[e,t]of rt)for(let[n,{resource:r}]of t)o?.has(A(e,n))&&r.reconnect()})}async function ut(e){if(e.id!==U?.id){Ge();let t={};tt.add(t),U={id:e.id,token:t,promise:bt({...e,preload:t}).then(e=>(tt.delete(t),e.type===`loaded`&&e.state.error&&Ge(),e)),fork:null}}return U.promise}async function dt(e){let t=(await wt(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(e=>e[1]()))}async function ft(e,t,n){let r={params:G.params,route:{id:G.route?.id??null},url:new URL(location.href)};if(G={...e.state,nav:r},Ne(e.props.page),et=new B.root({target:t,props:{...e.props,stores:I,components:H},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),n){let e={from:null,to:{...r,scroll:P[J]??E()},willUnload:!1,type:`enter`,complete:Promise.resolve()};W.forEach(t=>t(e))}st(Y),Xe=!0}async function pt({url:e,params:t,branch:n,errors:r,status:i,error:a,route:o,form:s}){let c=`never`;if(S&&(e.pathname===S||e.pathname===S+`/`))c=`always`;else for(let e of n)e?.slash!==void 0&&(c=e.slash);e.pathname=d(e.pathname,c),e.search=e.search;let l={type:`loaded`,state:{url:e,params:t,branch:n,error:a,route:o},props:{constructors:De(n).map(e=>e.node.component),page:Lt(j)}};s!==void 0&&(l.props.form=s);let u={},f=!j,p=0;for(let e=0;e<Math.max(n.length,G.branch.length);e+=1){let t=n[e],r=G.branch[e];t?.data!==r?.data&&(f=!0),t&&(u={...u,...t.data},f&&(l.props[`data_${p}`]=u),p+=1)}return(!G.url||e.href!==G.url.href||G.error!==a||s!==void 0&&s!==j.form||f)&&(l.props.page={error:a,params:t,route:{id:o?.id??null},state:{},status:i,url:new URL(e),form:s??null,data:f?u:j.data}),l}async function mt({loader:e,parent:t,url:n,params:r,route:i,server_data_node:a}){let o={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},s=await e();return{node:s,loader:e,server:a,universal:s.universal?.load?{type:`data`,data:null,uses:o}:null,data:a?.data??null,slash:s.universal?.trailingSlash??a?.slash}}function ht(e,t,n){let r=e instanceof Request?e.url:e,i=new URL(r,n);return i.origin===n.origin&&(r=i.href.slice(n.origin.length)),{resolved:i,promise:Xe?b(r,i.href,t):ee(r,t)}}function gt(e,t,n,r,i,a){if($e)return!0;if(!i)return!1;if(i.parent&&e||i.route&&t||i.url&&n)return!0;for(let e of i.search_params)if(r.has(e))return!0;for(let e of i.params)if(a[e]!==G.params[e])return!0;for(let e of i.dependencies)if(V.some(t=>t(new URL(e))))return!0;return!1}function _t(e,t){return e?.type===`data`?e:e?.type===`skip`?t??null:null}function vt(e,t){if(!e)return new Set(t.searchParams.keys());let n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(let r of n){let i=e.searchParams.getAll(r),a=t.searchParams.getAll(r);i.every(e=>a.includes(e))&&a.every(e=>i.includes(e))&&n.delete(r)}return n}function yt({error:e,url:t,route:n,params:r}){return{type:`loaded`,state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:Lt(j),constructors:[]}}}async function bt({id:e,invalidating:t,url:n,params:r,route:i,preload:a}){if(U?.id===e)return tt.delete(U.token),U.promise;let{errors:o,layouts:s,leaf:u}=i,d=[...s,u];o.forEach(e=>e?.().catch(h)),d.forEach(e=>e?.[1]().catch(h));let f=G.url?e!==Et(G.url):!1,p=G.route?i.id!==G.route.id:!1,m=vt(G.url,n),g=!1,_=d.map(async(e,t)=>{if(!e)return;let a=G.branch[t];return e[1]===a?.loader&&!gt(g,p,f,m,a.universal?.uses,r)?a:(g=!0,mt({loader:e[1],url:n,params:r,route:i,parent:async()=>{let e={};for(let n=0;n<t;n+=1)Object.assign(e,(await _[n])?.data);return e},server_data_node:_t(e[0]?{type:`skip`}:null,e[0]?a?.server:void 0)}))});for(let e of _)e.catch(h);let v=[];for(let e=0;e<d.length;e+=1)if(d[e])try{v.push(await _[e])}catch(t){if(t instanceof l)return{type:`redirect`,location:t.location};if(a&&tt.has(a))return yt({error:await $(t,{params:r,url:n,route:{id:i.id}}),url:n,params:r,route:i});let s=Oe(t),u;if(t instanceof c)u=t.body;else{if(await I.updated.check())return await ze(),await L(n);u=await $(t,{params:r,url:n,route:{id:i.id}})}let d=await xt(e,v,o);return d?pt({url:n,params:r,branch:v.slice(0,d.idx).concat(d.node),errors:o,status:s,error:u,route:i}):await Ot(n,{id:i.id},u,s)}else v.push(void 0);return pt({url:n,params:r,branch:v,errors:o,status:200,error:null,route:i,form:t?void 0:null})}async function xt(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)--r;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function St({status:e,error:t,url:n,route:r}){let i={};try{return pt({url:n,params:i,branch:[await mt({loader:Ve,url:n,params:i,route:r,parent:()=>Promise.resolve({}),server_data_node:_t(null)}),{node:await R(),loader:R,universal:null,server:null,data:null}],status:e,error:t,errors:[],route:null})}catch(t){if(t instanceof l){await lt(new URL(t.location,location.href),{},0);return}let a=await B.get_error_template(),o=await $(t,{url:n,params:i,route:r}),s=a({status:e,message:String(o?.message??``).replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`)}),c=new DOMParser().parseFromString(s,`text/html`);throw document.documentElement.replaceChild(document.adoptNode(c.head),document.head),document.documentElement.replaceChild(document.adoptNode(c.body),document.body),t}}async function Ct(e){let t=e.href;if(Ke.has(t))return Ke.get(t);let n;try{let r=(async()=>{let t=await B.hooks.reroute({url:new URL(e),fetch:async(t,n)=>ht(t,n,e).promise})??e;if(typeof t==`string`){let n=new URL(e);B.hash?n.hash=t:n.pathname=t,t=n}return t})();Ke.set(t,r),n=await r}catch{Ke.delete(t);return}return n}async function wt(e,t){if(e&&!k(e,S,B.hash)){let n=await Ct(e);if(!n)return;let r=Tt(n);for(let n of Be){let i=n.exec(r);if(i)return{id:Et(e),invalidating:t,route:n,params:p(i),url:e}}}}function Tt(e){return f(B.hash?e.hash.replace(/^#/,``).replace(/[?#].+/,``):e.pathname.slice(S.length))||`/`}function Et(e){return(B.hash?e.hash.replace(/^#/,``):e.pathname)+e.search}function Dt({url:e,type:t,intent:n,delta:r,event:i,scroll:a}){let o=!1,s=It(G,n,e,t,a??null);r!==void 0&&(s.navigation.delta=r),i!==void 0&&(s.navigation.event=i);let c={...s.navigation,cancel:()=>{o=!0,s.reject(Error(`navigation cancelled`))}};return K||qe.forEach(e=>e(c)),o?null:s}async function Z({type:n,url:r,popped:i,keepfocus:a,noscroll:o,replace_state:s,state:c={},redirect_count:l=0,nav_token:d={},accept:f=h,block:p=h,event:m}){let g=X;X=d;let _=await wt(r,!1),v=n===`enter`?It(G,_,r,n):Dt({url:r,type:n,delta:i?.delta,intent:_,scroll:i?.scroll,event:m});if(!v){p(),X===d&&(X=g);return}let y=J,ee=Y;f(),K=!0,Xe&&v.navigation.type!==`enter`&&I.navigating.set(M.current=v.navigation);let b=_&&await bt(_);if(!b){if(k(r,S,B.hash))return await L(r,s);b=await Ot(r,{id:null},await $(new u(404,`Not Found`,`Not found: ${r.pathname}`),{url:r,params:{},route:{id:null}}),404,s)}if(r=_?.url||r,X!==d){v.reject(Error(`navigation aborted`));return}if(!b)return;if(b.type===`redirect`){if(l<20){await Z({type:n,url:new URL(b.location,r),popped:i,keepfocus:a,noscroll:o,replace_state:s,state:c,redirect_count:l+1,nav_token:d}),v.fulfil(void 0);return}if(b=await St({status:500,error:await $(Error(`Redirect loop`),{url:r,params:{},route:{id:null}}),url:r,route:{id:null}}),!b)return}else if(b.props.page.status>=400&&await I.updated.check())return await ze(),await L(r,s);if(at(),Le(y),ot(ee),b.props.page.url.pathname!==r.pathname&&(r.pathname=b.props.page.url.pathname),c=i?i.state:c,!i){let e=+!s,t={[C]:J+=e,[w]:Y+=e,[he]:c};(s?history.replaceState:history.pushState).call(history,t,``,r),s||Re(J,Y)}let x=_&&U?.id===_.id?U.fork:null;U?.fork&&!x?Ge():(U=null,Q={element:void 0,href:void 0}),b.props.page.state=c;let te;if(Xe){let t=(await Promise.all(Array.from(Je,e=>e(v.navigation)))).filter(e=>typeof e==`function`);if(t.length>0){function e(){t.forEach(e=>{W.delete(e)})}t.push(e),t.forEach(e=>{W.add(e)})}let n=v.navigation.to;G={...b.state,nav:{params:n.params,route:n.route,url:n.url}},b.props.page&&(b.props.page.url=r),!a&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();let i=x&&await x;i?te=i.commit():(N=null,et.$set(b.props),N&&Object.assign(b.props.page,N),Ne(b.props.page),te=e?.()),Qe=!0}else await ft(b,He,!1);let{activeElement:ne}=document;if(await te,await t(),await t(),X!==d){v.reject(Error(`navigation aborted`));return}b.props.page&&N&&Object.assign(b.props.page,N);let re=null;if(Ze){let e=i?i.scroll:o?E():null;e?scrollTo(e.x,e.y):(re=r.hash&&document.getElementById(zt(r)))?re.scrollIntoView():scrollTo(0,0)}let ie=document.activeElement!==ne&&document.activeElement!==document.body;!a&&!ie&&Ft(r,!re),Ze=!0,K=!1,v.fulfil(void 0),v.navigation.to&&(v.navigation.to.scroll=E()),W.forEach(e=>e(v.navigation)),n===`popstate`&&st(Y),I.navigating.set(M.current=null)}async function Ot(e,t,n,r,i){return e.origin===ge&&e.pathname===location.pathname&&!Ye?await St({status:r,error:n,url:e,route:t}):await L(e,i)}var Q={element:void 0,href:void 0};function kt(){let e,t;z.addEventListener(`mousemove`,t=>{let n=t.target;clearTimeout(e),e=setTimeout(()=>{i(n,T.hover)},20)});function n(e){e.defaultPrevented||i(e.composedPath()[0],T.tap)}z.addEventListener(`mousedown`,n),z.addEventListener(`touchstart`,n,{passive:!0});let r=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&(dt(new URL(t.target.href)),r.unobserve(t.target))},{threshold:0});async function i(e,n){let r=be(e,z),i=r===Q.element&&r?.href===Q.href&&n>=t;if(!r||i)return;let{url:a,external:o,download:s}=xe(r,S,B.hash);if(o||s)return;let c=O(r),l=a&&Et(G.url)===Et(a);if(!(c.reload||l)){if(n<=c.preload_data){Q={element:r,href:r.href},t=T.tap;let e=await wt(a,!1);if(!e)return;ut(e)}else n<=c.preload_code&&(Q={element:r,href:r.href},t=n,dt(a))}}function a(){r.disconnect();for(let e of z.querySelectorAll(`a`)){let{url:t,external:n,download:i}=xe(e,S,B.hash);if(n||i)continue;let a=O(e);a.reload||(a.preload_code===T.viewport&&r.observe(e),a.preload_code===T.eager&&dt(t))}}W.add(a),a()}function $(e,t){if(e instanceof c)return e.body;let n=Oe(e),r=ke(e);return B.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function At(e){if(typeof e==`function`)V.push(e);else{let{href:t}=new URL(e,location.href);V.push(e=>e.href===t)}}function jt(){history.scrollRestoration=`manual`,addEventListener(`beforeunload`,e=>{let t=!1;if(ct(),!K){let e=It(G,void 0,null,`leave`),n={...e.navigation,cancel:()=>{t=!0,e.reject(Error(`navigation cancelled`))}};qe.forEach(e=>e(n))}t?(e.preventDefault(),e.returnValue=``):history.scrollRestoration=`auto`}),addEventListener(`visibilitychange`,()=>{document.visibilityState===`hidden`&&ct()}),navigator.connection?.saveData||kt(),z.addEventListener(`click`,async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;let n=be(t.composedPath()[0],z);if(!n)return;let{url:r,external:i,target:a,download:o}=xe(n,S,B.hash);if(!r)return;if(a===`_parent`||a===`_top`){if(window.parent!==window)return}else if(a&&a!==`_self`)return;let s=O(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&r.protocol!==`https:`&&r.protocol!==`http:`||o)return;let[c,l]=(B.hash?r.hash.replace(/^#/,``):r.href).split(`#`),u=c===m(location);if(i||s.reload&&(!u||!l)){Dt({url:r,type:`link`,event:t})?K=!0:t.preventDefault();return}if(l!==void 0&&u){let[,i]=G.url.href.split(`#`);if(i===l){if(t.preventDefault(),l===``||l===`top`&&n.ownerDocument.getElementById(`top`)===null)scrollTo({top:0});else{let e=n.ownerDocument.getElementById(decodeURIComponent(l));e&&(e.scrollIntoView(),e.focus())}return}if(q=!0,Le(J),e(r),!s.replace_state)return;q=!1}t.preventDefault(),await new Promise(e=>{requestAnimationFrame(()=>{setTimeout(e,0)}),setTimeout(e,100)}),await Z({type:`link`,url:r,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??r.href===location.href,event:t})}),z.addEventListener(`submit`,e=>{if(e.defaultPrevented)return;let t=HTMLFormElement.prototype.cloneNode.call(e.target),n=e.submitter;if((n?.formTarget||t.target)===`_blank`||(n?.formMethod||t.method)!==`get`)return;let r=new URL(n?.hasAttribute(`formaction`)&&n?.formAction||t.action);if(k(r,S,!1))return;let i=e.target,a=O(i);if(a.reload)return;e.preventDefault(),e.stopPropagation();let o=new FormData(i,n);r.search=new URLSearchParams(o).toString(),Z({type:`form`,url:r,keepfocus:a.keepfocus,noscroll:a.noscroll,replace_state:a.replace_state??r.href===location.href,event:e})}),addEventListener(`popstate`,async t=>{if(!Pt){if(t.state?.[`sveltekit:history`]){let n=t.state[C];if(X={},n===J)return;let r=P[n],i=t.state[`sveltekit:states`]??{},a=new URL(t.state[`sveltekit:pageurl`]??location.href),o=t.state[w],s=G.url?m(location)===m(G.url):!1;if(o===Y&&(Qe||s)){i!==j.state&&(j.state=i),e(a),P[J]=E(),r&&scrollTo(r.x,r.y),J=n;return}let c=n-J;await Z({type:`popstate`,url:a,popped:{state:i,scroll:r,delta:c},accept:()=>{J=n,Y=o},block:()=>{history.go(-c)},nav_token:X,event:t})}else q||(e(new URL(location.href)),B.hash&&location.reload())}}),addEventListener(`hashchange`,()=>{q&&(q=!1,history.replaceState({...history.state,[C]:++J,[w]:Y},``,location.href))});for(let e of document.querySelectorAll(`link`))Ie.has(e.rel)&&(e.href=e.href);addEventListener(`pageshow`,e=>{e.persisted&&I.navigating.set(M.current=null)});function e(e){G.url=j.url=e,I.page.set(Lt(j)),I.page.notify()}}async function Mt(e,{status:t=200,error:n,node_ids:r,params:i,route:a,server_route:o,data:s,form:c}){Ye=!0;let u=new URL(location.href),d;({params:i={},route:a={id:null}}=await wt(u,!1)||{}),d=Be.find(({id:e})=>e===a.id);let f,p=!0;try{let e=r.map(async(t,n)=>{let r=s[n];return r?.uses&&(r.uses=Nt(r.uses)),mt({loader:B.nodes[t],url:u,params:i,route:a,parent:async()=>{let t={};for(let r=0;r<n;r+=1)Object.assign(t,(await e[r]).data);return t},server_data_node:_t(r)})}),o=await Promise.all(e);if(d){let e=d.layouts;for(let t=0;t<e.length;t++)e[t]||o.splice(t,0,void 0)}f=await pt({url:u,params:i,branch:o,status:t,error:n,errors:d?.errors,form:c,route:d??null})}catch(t){if(t instanceof l)return await L(new URL(t.location,location.href));f=await St({status:Oe(t),error:await $(t,{url:u,params:i,route:a}),url:u,route:a}),e.textContent=``,p=!1}f&&(f.props.page&&(f.props.page.state={}),await ft(f,e,p))}function Nt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}var Pt=!1;function Ft(e,t=!0){let n=document.querySelector(`[autofocus]`);if(n)n.focus();else{let n=zt(e);if(n&&document.getElementById(n)){let{x:r,y:i}=E();setTimeout(()=>{let a=history.state;Pt=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(a,``,e),t&&scrollTo(r,i),Pt=!1})}else{let e=document.body,t=e.getAttribute(`tabindex`);e.tabIndex=-1,e.focus({preventScroll:!0,focusVisible:!1}),t===null?e.removeAttribute(`tabindex`):e.setAttribute(`tabindex`,t)}let r=getSelection();if(r&&r.type!==`None`){let e=[];for(let t=0;t<r.rangeCount;t+=1)e.push(r.getRangeAt(t));setTimeout(()=>{if(r.rangeCount===e.length){for(let t=0;t<r.rangeCount;t+=1){let n=e[t],i=r.getRangeAt(t);if(n.commonAncestorContainer!==i.commonAncestorContainer||n.startContainer!==i.startContainer||n.endContainer!==i.endContainer||n.startOffset!==i.startOffset||n.endOffset!==i.endOffset)return}r.removeAllRanges()}})}}}function It(e,t,n,r,i=null){let a,o,s=new Promise((e,t)=>{a=e,o=t});return s.catch(h),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:E()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:i},willUnload:!t,type:r,complete:s},fulfil:a,reject:o}}function Lt(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Rt(e){let t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function zt(e){let t;if(B.hash){let[,,n]=e.hash.split(`#`,3);t=n??``}else t=e.hash.slice(1);return decodeURIComponent(t)}export{Te as i,M as n,j as r,it as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e,t}from"../chunks/zMUGUTxq.js";export{e as load_css,t as start};
|