summaryrefslogtreecommitdiffhomepage
path: root/docs/assets/index-Da-oe7Cw.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/assets/index-Da-oe7Cw.js')
-rw-r--r--docs/assets/index-Da-oe7Cw.js95
1 files changed, 95 insertions, 0 deletions
diff --git a/docs/assets/index-Da-oe7Cw.js b/docs/assets/index-Da-oe7Cw.js
new file mode 100644
index 0000000..f84ea78
--- /dev/null
+++ b/docs/assets/index-Da-oe7Cw.js
@@ -0,0 +1,95 @@
+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/md-CvjSSd-j.js","assets/modules/vue-DPv8DyWv.js","assets/slidev/cover.vue_vue_type_script_setup_true_lang-BcnL1efM.js","assets/slidev/context-DlCOjm-I.js","assets/monaco/bundled-types-B0l6HWZX.js","assets/modules/file-saver-igGfcqei.js","assets/monaco/bundled-types-B_1qVWDs.css","assets/modules/shiki-BNMsYMPq.js","assets/modules/shiki-Bxv373Z5.css","assets/md-Dq6iqmEs.js","assets/slidev/VClicks-BJgSDv3Q.js","assets/slidev/default-DYfprxyr.js","assets/md-OQJduEAz.js","assets/md-CePMrKWo.js","assets/Monaco.vue_vue_type_style_index_0_lang-PDEG0sxg.js","assets/Monaco-COspDR16.css","assets/md-Du6urbl_.js","assets/md-D_pZLUDz.js","assets/md-DgnI8Bd4.js","assets/md-B2tNCsUg.js","assets/slidev/CodeBlockWrapper.vue_vue_type_script_setup_true_lang-C87JWgs7.js","assets/modules/unplugin-icons-DdQIwbVj.js","assets/md-CLLTnEZ7.js","assets/md-DtHqeZS0.js","assets/md-DHlhFPM5.js","assets/md-DNuVt8V8.js","assets/md-CrFSu7wK.js","assets/md-DdH2xtAn.js","assets/md-CoooLRyL.js","assets/md-UMyVtbKA.js","assets/md-BW7_HJTh.js","assets/md-DTXsVKV9.js","assets/md-BCsvnU1G.js","assets/md-BlV4tDf7.js","assets/md-CodFZ4QM.js","assets/md-Esu_vpIB.js","assets/md-BhMNIGO-.js","assets/md-DBY66ZvP.js","assets/md-DuSHXnxV.js","assets/md-1JH4n7HQ.js","assets/md-B3gM_aLi.js","assets/md-chp4UUUX.js","assets/md-Zw3N9h5o.js","assets/md-DQ2E402P.js","assets/md-P0Anrfeg.js","assets/md-BTxTxIcV.js","assets/md-DUAIk41M.js","assets/md-BMx_EcJM.js","assets/md-DMKKtLyU.js","assets/md-C_l7Kv4p.js","assets/md-CKWXIRj9.js","assets/md-CW4SE-QG.js","assets/md-DyvObES2.js","assets/md-CnRKUBhD.js","assets/md-B46whd7y.js","assets/md-VAjAPvfg.js","assets/md-RRrviqmf.css","assets/md-9wuO6xgO.js","assets/md-snUBHVES.js","assets/md-5Bkjs5et.js","assets/md-DWSVng2s.js","assets/slidev/entry-BuL9-yYF.js","assets/entry-VRLb5f9Z.css","assets/slidev/overview-1yejmVit.js","assets/slidev/NoteDisplay.vue_vue_type_style_index_0_lang-B38dLyf3.js","assets/NoteDisplay-kJrsBVRx.css","assets/slidev/SlideWrapper-Ccnvj0Sw.js","assets/SlideWrapper-D-ORDv98.css","assets/slidev/IconButton.vue_vue_type_script_setup_true_lang-D92RVpEC.js","assets/slidev/notes-DJw_rOv3.js","assets/slidev/presenter-DtNW9EJv.js","assets/slidev/shortcuts-TVJpHdJV.js","assets/shortcuts-BAPqYAhK.css","assets/slidev/DrawingControls.vue_vue_type_style_index_0_lang-j1j1HRFG.js","assets/DrawingControls-Cxk9a9ub.css","assets/presenter-BkjXb8nn.css","assets/slidev/play-D87vDAm9.js","assets/play-D_7yfuao.css","assets/slidev/404-36mg7bFt.js","assets/404-n_Eqdu3W.css"])))=>i.map(i=>d[i]);
+import{n as Mr,H as go,I as Kn,J as $r,t as A,G as ve,E as st,K as mo,L as yo,M as _o,N as Tr,O as Or,P as O,Q as vo,z as b,o as Ye,b as An,d as Lr,F as ko,e as fs,g as wo,R as M,S as Gn,T as bo,U as fn,V as Pr,W as So,X as Mo,Y as Er,r as $o,c as To,Z as Oo,_ as Lo,$ as Po,a0 as Eo,a1 as Ao,B as ot,C as Do,a2 as Co,D as Qn,a3 as Io,a4 as Ro,a5 as Ho,a6 as No,a7 as xo,a8 as jo,a9 as Vo,u as Fo}from"./modules/vue-DPv8DyWv.js";import{c as Dn,s as Bo,_ as S,a as U,r as ds,u as zo,b as vn,d as Wo,e as qo}from"./monaco/bundled-types-B0l6HWZX.js";import{T as Uo}from"./modules/shiki-BNMsYMPq.js";import"./modules/file-saver-igGfcqei.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();const Jo=[],Ko=new Set(["title","titleTemplate","script","style","noscript"]),We=new Set(["base","meta","link","style","script","noscript"]),Go=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Qo=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Ar=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),Zo=typeof window<"u";function Xe(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Cn(e){if(e._h)return e._h;if(e._d)return Xe(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return Xe(t)}function Yo(e,t){return e instanceof Promise?e.then(t):t(e)}function In(e,t,n,s){const r=s||Cr(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(r instanceof Promise)return r.then(i=>In(e,t,n,i));const o={tag:e,props:r};for(const i of Ar){const a=o.props[i]!==void 0?o.props[i]:n[i];a!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||Ko.has(o.tag))&&(o[i==="children"?"innerHTML":i]=a),delete o.props[i])}return o.props.body&&(o.tagPosition="bodyClose",delete o.props.body),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(i=>({...o,props:{...o.props,content:i}})):o}function Xo(e,t){var s;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,o])=>e==="style"?`${r}:${o}`:r)),(s=String(Array.isArray(t)?t.join(n):t))==null?void 0:s.split(n).filter(r=>!!r.trim()).join(n)}function Dr(e,t,n,s){for(let r=s;r<n.length;r+=1){const o=n[r];if(o==="class"||o==="style"){e[o]=Xo(o,e[o]);continue}if(e[o]instanceof Promise)return e[o].then(i=>(e[o]=i,Dr(e,t,n,r)));if(!t&&!Ar.has(o)){const i=String(e[o]),a=o.startsWith("data-");i==="true"||i===""?e[o]=a?"true":!0:e[o]||(a&&i==="false"?e[o]="false":delete e[o])}}}function Cr(e,t=!1){const n=Dr(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const ti=10;function Ir(e,t,n){for(let s=n;s<t.length;s+=1){const r=t[s];if(r instanceof Promise)return r.then(o=>(t[s]=o,Ir(e,t,s)));Array.isArray(r)?e.push(...r):e.push(r)}}function ei(e){const t=[],n=e.resolvedInput;for(const r in n){if(!Object.prototype.hasOwnProperty.call(n,r))continue;const o=n[r];if(!(o===void 0||!Go.has(r))){if(Array.isArray(o)){for(const i of o)t.push(In(r,i,e));continue}t.push(In(r,o,e))}}if(t.length===0)return[];const s=[];return Yo(Ir(s,t,0),()=>s.map((r,o)=>(r._e=e._i,e.mode&&(r._m=e.mode),r._p=(e._i<<ti)+o,r)))}const hs=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),ps={base:-10,title:10},gs={critical:-80,high:-10,low:20};function tn(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in ps&&(n=ps[e.tag]),t&&t in gs?n+gs[t]:n}const ni=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],si=["name","property","http-equiv"];function Rr(e){const{props:t,tag:n}=e;if(Qo.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const s of si)if(t[s]!==void 0)return`${n}:${s}:${t[s]}`;return!1}const ut="%separator";function ri(e,t){var s;let n;if(t==="s"||t==="pageTitle")n=e.pageTitle;else if(t.includes(".")){const r=t.indexOf(".");n=(s=e[t.substring(0,r)])==null?void 0:s[t.substring(r+1)]}else n=e[t];return n!==void 0?(n||"").replace(/"/g,'\\"'):void 0}const oi=new RegExp(`${ut}(?:\\s*${ut})*`,"g");function Ne(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const r=s.match(/%\w+(?:\.\w+)?/g);if(!r)return e;const o=e.includes(ut);return e=e.replace(/%\w+(?:\.\w+)?/g,i=>{if(i===ut||!r.includes(i))return i;const a=ri(t,i.slice(1));return a!==void 0?a:i}).trim(),o&&(e.endsWith(ut)&&(e=e.slice(0,-ut.length)),e.startsWith(ut)&&(e=e.slice(ut.length)),e=e.replace(oi,n).trim()),e}function ms(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function ii(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const s={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!!s.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{var h;const o=(await e.resolveTags()).map(d=>({tag:d,id:We.has(d.tag)?Cn(d):d.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const d=new Set;for(const f of["body","head"]){const p=(h=n[f])==null?void 0:h.children;for(const g of p){const y=g.tagName.toLowerCase();if(!We.has(y))continue;const m={tag:y,props:await Cr(g.getAttributeNames().reduce((E,$)=>({...E,[$]:g.getAttribute($)}),{})),innerHTML:g.innerHTML},v=Rr(m);let k=v,w=1;for(;k&&d.has(k);)k=`${v}:${w++}`;k&&(m._d=k,d.add(k)),i.elMap[g.getAttribute("data-hid")||Cn(m)]=g}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function a(d,f,p){const g=`${d}:${f}`;i.sideEffects[g]=p,delete i.pendingSideEffects[g]}function l({id:d,$el:f,tag:p}){const g=p.tag.endsWith("Attrs");if(i.elMap[d]=f,g||(p.textContent&&p.textContent!==f.textContent&&(f.textContent=p.textContent),p.innerHTML&&p.innerHTML!==f.innerHTML&&(f.innerHTML=p.innerHTML),a(d,"el",()=>{var y;(y=i.elMap[d])==null||y.remove(),delete i.elMap[d]})),p._eventHandlers)for(const y in p._eventHandlers)Object.prototype.hasOwnProperty.call(p._eventHandlers,y)&&f.getAttribute(`data-${y}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:f).addEventListener(y.substring(2),p._eventHandlers[y].bind(f)),f.setAttribute(`data-${y}`,""));for(const y in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,y))continue;const m=p.props[y],v=`attr:${y}`;if(y==="class"){if(!m)continue;for(const k of m.split(" "))g&&a(d,`${v}:${k}`,()=>f.classList.remove(k)),!f.classList.contains(k)&&f.classList.add(k)}else if(y==="style"){if(!m)continue;for(const k of m.split(";")){const w=k.indexOf(":"),E=k.substring(0,w).trim(),$=k.substring(w+1).trim();a(d,`${v}:${E}`,()=>{f.style.removeProperty(E)}),f.style.setProperty(E,$)}}else f.getAttribute(y)!==m&&f.setAttribute(y,m===!0?"":String(m)),g&&a(d,v,()=>f.removeAttribute(y))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of o){const{tag:f,shouldRender:p,id:g}=d;if(p){if(f.tag==="title"){n.title=f.textContent;continue}d.$el=d.$el||i.elMap[g],d.$el?l(d):We.has(f.tag)&&c.push(d)}}for(const d of c){const f=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),l(d),u[f]=u[f]||n.createDocumentFragment(),u[f].appendChild(d.$el)}for(const d of o)await e.hooks.callHook("dom:renderTag",d,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const d in i.pendingSideEffects)i.pendingSideEffects[d]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:o}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function ai(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(s=>n(()=>ii(e,t).then(()=>{delete e._domDebouncedUpdatePromise,s()})))}function li(e){return t=>{var s,r;const n=((r=(s=t.resolvedOptions.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":o=>{ai(o,e)}}}}}function Rn(e,t={},n){for(const s in e){const r=e[s],o=n?`${n}:${s}`:s;typeof r=="object"&&r!==null?Rn(r,t,o):typeof r=="function"&&(t[o]=r)}return t}const ci={run:e=>e()},ui=()=>ci,Hr=typeof console.createTask<"u"?console.createTask:ui;function fi(e,t){const n=t.shift(),s=Hr(n);return e.reduce((r,o)=>r.then(()=>s.run(()=>o(...t))),Promise.resolve())}function di(e,t){const n=t.shift(),s=Hr(n);return Promise.all(e.map(r=>s.run(()=>r(...t))))}function kn(e,t){for(const n of[...e])n(t)}class hi{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,s={}){if(!t||typeof n!="function")return()=>{};const r=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!s.allowDeprecated){let i=o.message;i||(i=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let s,r=(...o)=>(typeof s=="function"&&s(),s=void 0,r=void 0,n(...o));return s=this.hook(t,r),s}removeHook(t,n){if(this._hooks[t]){const s=this._hooks[t].indexOf(n);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const s=this._hooks[t]||[];delete this._hooks[t];for(const r of s)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Rn(t),s=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of s.splice(0,s.length))r()}}removeHooks(t){const n=Rn(t);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(fi,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(di,t,...n)}callHookWith(t,n,...s){const r=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&kn(this._before,r);const o=t(n in this._hooks?[...this._hooks[n]]:[],s);return o instanceof Promise?o.finally(()=>{this._after&&r&&kn(this._after,r)}):(this._after&&r&&kn(this._after,r),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function pi(){return new hi}const gi=new Set(["templateParams","htmlAttrs","bodyAttrs"]),mi={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=Rr(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const s of e.tags){const r=(s.key?`${s.tag}:${s.key}`:s._d)||Cn(s),o=t[r];if(o){let a=s==null?void 0:s.tagDuplicateStrategy;if(!a&&gi.has(s.tag)&&(a="merge"),a==="merge"){const l=o.props;l.style&&s.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),s.props.style=`${l.style} ${s.props.style}`),l.class&&s.props.class?s.props.class=`${l.class} ${s.props.class}`:l.class&&(s.props.class=l.class),t[r].props={...l,...s.props};continue}else if(s._e===o._e){o._duped=o._duped||[],s._d=`${o._d}:${o._duped.length+1}`,o._duped.push(s);continue}else if(tn(s)>tn(o))continue}if(!(s.innerHTML||s.textContent||Object.keys(s.props).length!==0)&&We.has(s.tag)){delete t[r];continue}t[r]=s}const n=[];for(const s in t){const r=t[s],o=r._duped;n.push(r),o&&(delete r._duped,n.push(...o))}e.tags=n,e.tags=e.tags.filter(s=>!(s.tag==="meta"&&(s.props.name||s.props.property)&&!s.props.content))}}},yi=new Set(["script","link","bodyAttrs"]),_i=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!yi.has(n.tag))continue;const s=n.props;for(const r in s){if(r[0]!=="o"||r[1]!=="n"||!Object.prototype.hasOwnProperty.call(s,r))continue;const o=s[r];typeof o=="function"&&(e.ssr&&hs.has(r)?s[r]=`this.dataset.${r}fired = true`:delete s[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Xe(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var r,o;const s=t==null?void 0:t.dataset;if(s)for(const i in s){if(!i.endsWith("fired"))continue;const a=i.slice(0,-5);hs.has(a)&&((o=(r=n._eventHandlers)==null?void 0:r[a])==null||o.call(t,new Event(a.substring(2))))}}}}),vi=new Set(["link","style","script","noscript"]),ki={hooks:{"tag:normalise":({tag:e})=>{e.key&&vi.has(e.tag)&&(e.props["data-hid"]=e._h=Xe(e.key))}}},wi={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const s of e.tags)s._m!=="server"||s.tag!=="titleTemplate"&&s.tag!=="templateParams"&&s.tag!=="title"||(t[s.tag]=s.tag==="title"||s.tag==="titleTemplate"?s.textContent:s.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},bi={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:s,offset:r}of ni){if(!n.tagPriority.startsWith(s))continue;const o=n.tagPriority.substring(s.length),i=(t=e.tags.find(a=>a._d===o))==null?void 0:t._p;if(i!==void 0){n._p=i+r;break}}e.tags.sort((n,s)=>{const r=tn(n),o=tn(s);return r<o?-1:r>o?1:n._p-s._p})}}},Si={meta:"content",link:"href",htmlAttrs:"lang"},Mi=["innerHTML","textContent"],$i=e=>({hooks:{"tags:resolve":t=>{var i;const{tags:n}=t;let s;for(let a=0;a<n.length;a+=1)n[a].tag==="templateParams"&&(s=t.tags.splice(a,1)[0].props,a-=1);const r=s||{},o=r.separator||"|";delete r.separator,r.pageTitle=Ne(r.pageTitle||((i=n.find(a=>a.tag==="title"))==null?void 0:i.textContent)||"",r,o);for(const a of n){if(a.processTemplateParams===!1)continue;const l=Si[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=Ne(a.props[l],r,o);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const c of Mi)typeof a[c]=="string"&&(a[c]=Ne(a[c],r,o))}e._templateParams=r,e._separator=o},"tags:afterResolve":({tags:t})=>{let n;for(let s=0;s<t.length;s+=1){const r=t[s];r.tag==="title"&&r.processTemplateParams!==!1&&(n=r)}n!=null&&n.textContent&&(n.textContent=Ne(n.textContent,e._templateParams,e._separator))}}}),Ti={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,s;for(let r=0;r<t.length;r+=1){const o=t[r];o.tag==="title"?n=o:o.tag==="titleTemplate"&&(s=o)}if(s&&n){const r=ms(s.textContent,n.textContent);r!==null?n.textContent=r||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(s){const r=ms(s.textContent);r!==null&&(s.textContent=r,s.tag="title",s=void 0)}s&&e.tags.splice(e.tags.indexOf(s),1)}}},Oi={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let Nr;function Li(e={}){const t=Pi(e);return t.use(li()),Nr=t}function ys(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Pi(e={}){const t=pi();t.addHooks(e.hooks||{}),e.document=e.document||(Zo?document:void 0);const n=!e.document,s=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let r=0,o=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!i.some(u=>u.key===c.key))&&(i.push(c),ys(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:r++,input:l,...c};return ys(u.mode,n)&&(o.push(u),s()),{dispose(){o=o.filter(h=>h._i!==u._i),s()},patch(h){for(const d of o)d._i===u._i&&(d.input=u.input=h);s()}}},async resolveTags(){const l={tags:[],entries:[...o]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const h of await ei(c)){const d={tag:h,entry:c,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[mi,wi,_i,ki,bi,$i,Ti,Oi,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function Ei(){return Nr}const Ai=go[0]==="3";function Di(e){return typeof e=="function"?e():Kn(e)}function en(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=Di(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>en(n));if(typeof t=="object"){const n={};for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)){if(s==="titleTemplate"||s[0]==="o"&&s[1]==="n"){n[s]=Kn(t[s]);continue}n[s]=en(t[s])}return n}return t}const Ci={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=en(t.input)}}},xr="usehead";function Ii(e){return{install(n){Ai&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(xr,e))}}.install}function Ri(e={}){e.domDelayFn=e.domDelayFn||(n=>Mr(()=>setTimeout(()=>n(),0)));const t=Li(e);return t.use(Ci),t.install=Ii(t),t}const _s=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},vs="__unhead_injection_handler__";function Hi(){if(vs in _s)return _s[vs]();const e=$r(xr);return e||Ei()}function Ni(e,t={}){const n=t.head||Hi();if(n)return n.ssr?n.push(e,t):xi(n,e,t)}function xi(e,t,n={}){const s=A(!1),r=A({});ve(()=>{r.value=s.value?{}:en(t)});const o=e.push(r.value,n);return st(r,a=>{o.patch(a)}),Tr()&&(mo(()=>{o.dispose()}),yo(()=>{s.value=!0}),_o(()=>{s.value=!1})),o}function Hn(e){if(e===!1||e==="false")return null;if(e==null||e===!0||e==="true")return"+1";if(typeof e=="string"&&"+-".includes(e[0]))return e;const t=+e;return Number.isNaN(t)?(console.error(`Invalid "at" prop value: ${e}`),null):t}function ji(e){return Array.isArray(e)?[Hn(e[0]),Hn(e[1])]:null}function jr(e,t=0,n){const s=A(!1);let r=new Map,o=new Map;const i={get current(){return Dn(+e.value,t,i.total)},set current(a){e.value=s.value?Dn(a,t,i.total):a},clicksStart:t,get relativeSizeMap(){return r},get maxMap(){return o},get isMounted(){return s.value},setup(){Or(()=>{s.value=!0,o=O(o),i.current=e.value}),vo(()=>{s.value=!1,r=new Map,o=new Map})},calculateSince(a,l=1){const c=Hn(a);if(c==null)return null;let u,h,d;if(typeof c=="string"){const f=i.currentOffset,p=+c;u=f+p,h=f+p+l-1,d=p+l-1}else u=c,h=c+l-1,d=0;return{start:u,end:+Number.POSITIVE_INFINITY,max:h,delta:d,currentOffset:b(()=>i.current-u),isCurrent:b(()=>i.current===u),isActive:b(()=>i.current>=u)}},calculateRange(a){const l=ji(a);if(l==null)return null;const[c,u]=l;let h,d,f;return typeof c=="string"?(h=i.currentOffset+ +c,f=+c):(h=c,f=0),typeof u=="string"?(d=h+ +u,f+=+u):d=u,{start:h,end:d,max:d,delta:f,currentOffset:b(()=>i.current-h),isCurrent:b(()=>i.current===h),isActive:b(()=>h<=i.current&&i.current<d)}},calculate(a){return Array.isArray(a)?i.calculateRange(a):i.calculateSince(a)},register(a,l){if(!l)return;const{delta:c,max:u}=l;r.set(a,c),o.set(a,u)},unregister(a){r.delete(a),o.delete(a)},get currentOffset(){return Bo(...r.values())},get total(){return n??(s.value?Math.max(0,...o.values()):0)}};return i}function Vi(e,t=0){var s,r;const n=((s=e==null?void 0:e.meta.slide)==null?void 0:s.frontmatter.clicksStart)??0;return jr(A(Math.max(t,n)),n,(r=e==null?void 0:e.meta)==null?void 0:r.clicks)}const Fi=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Bi={},zi={class:"px-4 py-10 text-center text-red-700 dark:text-red-500 font-bold font-mono"};function Wi(e,t){return Ye(),An("div",zi," An error occurred on this slide. Check the terminal for more information. ")}const L=Fi(Bi,[["render",Wi]]),qi={class:"h-full w-full flex items-center justify-center gap-2 slidev-slide-loading"},Ui=Lr({__name:"SlideLoading",setup(e){const t=A(!1);return Or(()=>{setTimeout(()=>{t.value=!0},200)}),(n,s)=>(Ye(),An("div",qi,[t.value?(Ye(),An(ko,{key:0},[s[0]||(s[0]=fs("div",{class:"i-svg-spinners-90-ring-with-bg text-xl"},null,-1)),s[1]||(s[1]=fs("div",null,"Loading slide...",-1))],64)):wo("v-if",!0)]))}}),Ji={canvasWidth:750,title:"Really Functional Data Structures",author:"Marvin Borner",colorSchema:"light",class:"text-center",transition:"instant",mdc:!0},pt=M(Ji),Ki=O({get layout(){return pt.layout},get transition(){return pt.transition},get class(){return pt.class},get clicks(){return pt.clicks},get name(){return pt.name},get preload(){return pt.preload},slide:{content:"",revision:"y1oq2m",frontmatterRaw:`#theme: seriph
+canvasWidth: 750
+title: Really Functional Data Structures
+author: Marvin Borner
+colorSchema: light
+class: text-center
+transition: instant
+mdc: true
+# take snapshot for each slide in the overview
+# overviewSnapshots: true
+`,note:"",title:"Really Functional Data Structures",index:0,noteHTML:`<p>Datenstrukturen nur aus Funktionen! Und wie man mit ihnen umgeht!
+Frage: Erfahrung mit Lambdakalkül und Datenstrukturen?
+Wieso, weshalb???</p>
+`,raw:"",frontmatter:pt,filepath:"",start:0,id:0,no:1},__clicksContext:null,__preloaded:!1}),Gi={},gt=M(Gi),Qi=O({get layout(){return gt.layout},get transition(){return gt.transition},get class(){return gt.class},get clicks(){return gt.clicks},get name(){return gt.name},get preload(){return gt.preload},slide:{content:"",revision:"z4cest",note:"",title:"Goal/Motivation",level:1,index:1,noteHTML:`<ul>
+<li>..</li>
+<li>übertragbar</li>
+<li>e.g. easily typable</li>
+<li>..</li>
+</ul>
+`,raw:"",frontmatter:gt,filepath:"",start:24,id:1,no:2},__clicksContext:null,__preloaded:!1}),Zi={},mt=M(Zi),Yi=O({get layout(){return mt.layout},get transition(){return mt.transition},get class(){return mt.class},get clicks(){return mt.clicks},get name(){return mt.name},get preload(){return mt.preload},slide:{content:"",revision:"-poagdv",note:"",title:"Anonymous Functions (Lambdas)",level:1,index:2,noteHTML:"",raw:"",frontmatter:mt,filepath:"",start:47,id:2,no:3},__clicksContext:null,__preloaded:!1}),Xi={},yt=M(Xi),ta=O({get layout(){return yt.layout},get transition(){return yt.transition},get class(){return yt.class},get clicks(){return yt.clicks},get name(){return yt.name},get preload(){return yt.preload},slide:{content:"",revision:"7wmrjs",note:"",title:"JavaScript Notation",level:2,index:3,noteHTML:"",raw:"",frontmatter:yt,filepath:"",start:55,id:3,no:4},__clicksContext:null,__preloaded:!1}),ea={},_t=M(ea),na=O({get layout(){return _t.layout},get transition(){return _t.transition},get class(){return _t.class},get clicks(){return _t.clicks},get name(){return _t.name},get preload(){return _t.preload},slide:{content:"",revision:"-apstuk",note:"",title:"Really Functional Data Structures",level:1,index:4,noteHTML:`<p>Wie Daten rein funktional darstellen?</p>
+`,raw:"",frontmatter:_t,filepath:"",start:71,id:4,no:5},__clicksContext:null,__preloaded:!1}),sa={layout:"cover"},vt=M(sa),ra=O({get layout(){return vt.layout},get transition(){return vt.transition},get class(){return vt.class},get clicks(){return vt.clicks},get name(){return vt.name},get preload(){return vt.preload},slide:{content:"",revision:"-reecyz",frontmatterRaw:`layout: cover
+`,note:"",title:"Common",level:1,index:5,noteHTML:"",raw:"",frontmatter:vt,filepath:"",start:87,id:5,no:6},__clicksContext:null,__preloaded:!1}),oa={},kt=M(oa),ia=O({get layout(){return kt.layout},get transition(){return kt.transition},get class(){return kt.class},get clicks(){return kt.clicks},get name(){return kt.name},get preload(){return kt.preload},slide:{content:"",revision:"-39nph2",note:"",title:"Boolean Logic",level:1,index:6,noteHTML:`<p>mit was einfachem starten :)</p>
+`,raw:"",frontmatter:kt,filepath:"",start:94,id:6,no:7},__clicksContext:null,__preloaded:!1}),aa={},wt=M(aa),la=O({get layout(){return wt.layout},get transition(){return wt.transition},get class(){return wt.class},get clicks(){return wt.clicks},get name(){return wt.name},get preload(){return wt.preload},slide:{content:"",revision:"y4vntn",note:"",title:"Church Booleans",level:2,index:7,noteHTML:"",raw:"",frontmatter:wt,filepath:"",start:105,id:7,no:8},__clicksContext:null,__preloaded:!1}),ca={},bt=M(ca),ua=O({get layout(){return bt.layout},get transition(){return bt.transition},get class(){return bt.class},get clicks(){return bt.clicks},get name(){return bt.name},get preload(){return bt.preload},slide:{content:"",revision:"3k7qfk",note:"",title:"Church Booleans",level:2,index:8,noteHTML:"",raw:"",frontmatter:bt,filepath:"",start:114,id:8,no:9},__clicksContext:null,__preloaded:!1}),fa={},St=M(fa),da=O({get layout(){return St.layout},get transition(){return St.transition},get class(){return St.class},get clicks(){return St.clicks},get name(){return St.name},get preload(){return St.preload},slide:{content:"",revision:"-6pnnw",note:"",title:"Example: Negation",level:2,index:9,noteHTML:"",raw:"",frontmatter:St,filepath:"",start:127,id:9,no:10},__clicksContext:null,__preloaded:!1}),ha={},Mt=M(ha),pa=O({get layout(){return Mt.layout},get transition(){return Mt.transition},get class(){return Mt.class},get clicks(){return Mt.clicks},get name(){return Mt.name},get preload(){return Mt.preload},slide:{content:"",revision:"g6a9b7",note:"",title:"Example: Negation",level:2,index:10,noteHTML:"",raw:"",frontmatter:Mt,filepath:"",start:145,id:10,no:11},__clicksContext:null,__preloaded:!1}),ga={},$t=M(ga),ma=O({get layout(){return $t.layout},get transition(){return $t.transition},get class(){return $t.class},get clicks(){return $t.clicks},get name(){return $t.name},get preload(){return $t.preload},slide:{content:"",revision:"654fg4",note:"",title:"Other Operators",level:2,index:11,noteHTML:"",raw:"",frontmatter:$t,filepath:"",start:159,id:11,no:12},__clicksContext:null,__preloaded:!1}),ya={},Tt=M(ya),_a=O({get layout(){return Tt.layout},get transition(){return Tt.transition},get class(){return Tt.class},get clicks(){return Tt.clicks},get name(){return Tt.name},get preload(){return Tt.preload},slide:{content:"",revision:"-m49hdm",note:"",title:"Church Pairs",level:1,index:12,noteHTML:"",raw:"",frontmatter:Tt,filepath:"",start:177,id:12,no:13},__clicksContext:null,__preloaded:!1}),va={},Ot=M(va),ka=O({get layout(){return Ot.layout},get transition(){return Ot.transition},get class(){return Ot.class},get clicks(){return Ot.clicks},get name(){return Ot.name},get preload(){return Ot.preload},slide:{content:"",revision:"n8h2px",note:"",title:"Construction/Selection",level:2,index:13,noteHTML:"",raw:"",frontmatter:Ot,filepath:"",start:191,id:13,no:14},__clicksContext:null,__preloaded:!1}),wa={layout:"cover"},Lt=M(wa),ba=O({get layout(){return Lt.layout},get transition(){return Lt.transition},get class(){return Lt.class},get clicks(){return Lt.clicks},get name(){return Lt.name},get preload(){return Lt.preload},slide:{content:"",revision:"-ujb79x",frontmatterRaw:`layout: cover
+`,note:"",title:"Lists",level:1,index:14,noteHTML:"",raw:"",frontmatter:Lt,filepath:"",start:206,id:14,no:15},__clicksContext:null,__preloaded:!1}),Sa={},Pt=M(Sa),Ma=O({get layout(){return Pt.layout},get transition(){return Pt.transition},get class(){return Pt.class},get clicks(){return Pt.clicks},get name(){return Pt.name},get preload(){return Pt.preload},slide:{content:"",revision:"rab7nr",note:"",title:"Church Lists",level:1,index:15,noteHTML:"",raw:"",frontmatter:Pt,filepath:"",start:213,id:15,no:16},__clicksContext:null,__preloaded:!1}),$a={},Et=M($a),Ta=O({get layout(){return Et.layout},get transition(){return Et.transition},get class(){return Et.class},get clicks(){return Et.clicks},get name(){return Et.name},get preload(){return Et.preload},slide:{content:"",revision:"6qdz58",note:"",title:"`isNil`?",level:2,index:16,noteHTML:"",raw:"",frontmatter:Et,filepath:"",start:226,id:16,no:17},__clicksContext:null,__preloaded:!1}),Oa={},At=M(Oa),La=O({get layout(){return At.layout},get transition(){return At.transition},get class(){return At.class},get clicks(){return At.clicks},get name(){return At.name},get preload(){return At.preload},slide:{content:"",revision:"-fwy7lj",note:"",title:"`isNil`?",level:2,index:17,noteHTML:"",raw:"",frontmatter:At,filepath:"",start:239,id:17,no:18},__clicksContext:null,__preloaded:!1}),Pa={},Dt=M(Pa),Ea=O({get layout(){return Dt.layout},get transition(){return Dt.transition},get class(){return Dt.class},get clicks(){return Dt.clicks},get name(){return Dt.name},get preload(){return Dt.preload},slide:{content:"",revision:"-lgbbfn",note:"",title:"Example: Iteration",level:2,index:18,noteHTML:"",raw:"",frontmatter:Dt,filepath:"",start:259,id:18,no:19},__clicksContext:null,__preloaded:!1}),Aa={},Ct=M(Aa),Da=O({get layout(){return Ct.layout},get transition(){return Ct.transition},get class(){return Ct.class},get clicks(){return Ct.clicks},get name(){return Ct.name},get preload(){return Ct.preload},slide:{content:"",revision:"dw9r51",note:"",title:"Other Lists",level:1,index:19,noteHTML:`<p>Parigot: Triviales append
+Scott: Kein wirklicher Sinn
+n-Tupel: Vorteile siehe später, length/pop schwierig/unmöglich</p>
+`,raw:"",frontmatter:Ct,filepath:"",start:274,id:19,no:20},__clicksContext:null,__preloaded:!1}),Ca={layout:"cover"},It=M(Ca),Ia=O({get layout(){return It.layout},get transition(){return It.transition},get class(){return It.class},get clicks(){return It.clicks},get name(){return It.name},get preload(){return It.preload},slide:{content:"",revision:"sle2qq",frontmatterRaw:`layout: cover
+`,note:"",title:"Numbers",level:1,index:20,noteHTML:"",raw:"",frontmatter:It,filepath:"",start:302,id:20,no:21},__clicksContext:null,__preloaded:!1}),Ra={},Rt=M(Ra),Ha=O({get layout(){return Rt.layout},get transition(){return Rt.transition},get class(){return Rt.class},get clicks(){return Rt.clicks},get name(){return Rt.name},get preload(){return Rt.preload},slide:{content:"",revision:"-hqjymg",note:"",title:"Church Numerals",level:1,index:21,noteHTML:"",raw:"",frontmatter:Rt,filepath:"",start:311,id:21,no:22},__clicksContext:null,__preloaded:!1}),Na={},Ht=M(Na),xa=O({get layout(){return Ht.layout},get transition(){return Ht.transition},get class(){return Ht.class},get clicks(){return Ht.clicks},get name(){return Ht.name},get preload(){return Ht.preload},slide:{content:"",revision:"-qrjc29",note:"",title:"Church Numerals",level:1,index:22,noteHTML:"",raw:"",frontmatter:Ht,filepath:"",start:317,id:22,no:23},__clicksContext:null,__preloaded:!1}),ja={},Nt=M(ja),Va=O({get layout(){return Nt.layout},get transition(){return Nt.transition},get class(){return Nt.class},get clicks(){return Nt.clicks},get name(){return Nt.name},get preload(){return Nt.preload},slide:{content:"",revision:"-y19krn",note:"",title:"Successor",level:2,index:23,noteHTML:"",raw:"",frontmatter:Nt,filepath:"",start:331,id:23,no:24},__clicksContext:null,__preloaded:!1}),Fa={},xt=M(Fa),Ba=O({get layout(){return xt.layout},get transition(){return xt.transition},get class(){return xt.class},get clicks(){return xt.clicks},get name(){return xt.name},get preload(){return xt.preload},slide:{content:"",revision:"bt53qb",note:"",title:"Successor",level:2,index:24,noteHTML:`<p>Predecessor really hard :(</p>
+`,raw:"",frontmatter:xt,filepath:"",start:338,id:24,no:25},__clicksContext:null,__preloaded:!1}),za={},jt=M(za),Wa=O({get layout(){return jt.layout},get transition(){return jt.transition},get class(){return jt.class},get clicks(){return jt.clicks},get name(){return jt.name},get preload(){return jt.preload},slide:{content:"",revision:"xfth3w",note:"",title:"`isZero`?",level:2,index:25,noteHTML:"",raw:"",frontmatter:jt,filepath:"",start:358,id:25,no:26},__clicksContext:null,__preloaded:!1}),qa={},Vt=M(qa),Ua=O({get layout(){return Vt.layout},get transition(){return Vt.transition},get class(){return Vt.class},get clicks(){return Vt.clicks},get name(){return Vt.name},get preload(){return Vt.preload},slide:{content:"",revision:"-zijg7o",note:"",title:"Other Numeral Systems",level:1,index:26,noteHTML:`<p>Scott: Trivial pred, add komplexer
+Parigot: pred/add beide in einem Schritt!</p>
+`,raw:"",frontmatter:Vt,filepath:"",start:373,id:26,no:27},__clicksContext:null,__preloaded:!1}),Ja={layout:"cover"},Ft=M(Ja),Ka=O({get layout(){return Ft.layout},get transition(){return Ft.transition},get class(){return Ft.class},get clicks(){return Ft.clicks},get name(){return Ft.name},get preload(){return Ft.preload},slide:{content:"",revision:"-umgg43",frontmatterRaw:`layout: cover
+`,note:"",title:"Algebraic Types",level:1,index:27,noteHTML:`<p>Wie man diese speichern kann
+Typen haben wir natürlich nicht</p>
+`,raw:"",frontmatter:Ft,filepath:"",start:402,id:27,no:28},__clicksContext:null,__preloaded:!1}),Ga={},Bt=M(Ga),Qa=O({get layout(){return Bt.layout},get transition(){return Bt.transition},get class(){return Bt.class},get clicks(){return Bt.clicks},get name(){return Bt.name},get preload(){return Bt.preload},slide:{content:"",revision:"ya60wp",note:"",title:"Products/Records",level:1,index:28,noteHTML:"",raw:"",frontmatter:Bt,filepath:"",start:414,id:28,no:29},__clicksContext:null,__preloaded:!1}),Za={},zt=M(Za),Ya=O({get layout(){return zt.layout},get transition(){return zt.transition},get class(){return zt.class},get clicks(){return zt.clicks},get name(){return zt.name},get preload(){return zt.preload},slide:{content:"",revision:"-yjzltn",note:"",title:"Products/Records",level:1,index:29,noteHTML:"",raw:"",frontmatter:zt,filepath:"",start:422,id:29,no:30},__clicksContext:null,__preloaded:!1}),Xa={},Wt=M(Xa),tl=O({get layout(){return Wt.layout},get transition(){return Wt.transition},get class(){return Wt.class},get clicks(){return Wt.clicks},get name(){return Wt.name},get preload(){return Wt.preload},slide:{content:"",revision:"-e1c4x1",note:"",title:"Sums/Unions",level:1,index:30,noteHTML:`<p>Selektion/etc. sehr ähnlich zu Produkttypen, nur mit <em>mehr</em> Selektoren!</p>
+`,raw:"",frontmatter:Wt,filepath:"",start:441,id:30,no:31},__clicksContext:null,__preloaded:!1}),el={},qt=M(el),nl=O({get layout(){return qt.layout},get transition(){return qt.transition},get class(){return qt.class},get clicks(){return qt.clicks},get name(){return qt.name},get preload(){return qt.preload},slide:{content:"",revision:"-15o9j",note:"",index:31,noteHTML:"",raw:"",frontmatter:qt,filepath:"",start:452,id:31,no:32},__clicksContext:null,__preloaded:!1}),sl={},Ut=M(sl),rl=O({get layout(){return Ut.layout},get transition(){return Ut.transition},get class(){return Ut.class},get clicks(){return Ut.clicks},get name(){return Ut.name},get preload(){return Ut.preload},slide:{content:"",revision:"czo187",note:"",index:32,noteHTML:"",raw:"",frontmatter:Ut,filepath:"",start:465,id:32,no:33},__clicksContext:null,__preloaded:!1}),ol={layout:"cover"},Jt=M(ol),il=O({get layout(){return Jt.layout},get transition(){return Jt.transition},get class(){return Jt.class},get clicks(){return Jt.clicks},get name(){return Jt.name},get preload(){return Jt.preload},slide:{content:"",revision:"2r9xnn",frontmatterRaw:`layout: cover
+`,note:"",title:"Trees",level:1,index:33,noteHTML:"",raw:"",frontmatter:Jt,filepath:"",start:483,id:33,no:34},__clicksContext:null,__preloaded:!1}),al={layout:"cover"},Kt=M(al),ll=O({get layout(){return Kt.layout},get transition(){return Kt.transition},get class(){return Kt.class},get clicks(){return Kt.clicks},get name(){return Kt.name},get preload(){return Kt.preload},slide:{content:"",revision:"-mnxr76",frontmatterRaw:`layout: cover
+`,note:"",title:"Monads",level:1,index:34,noteHTML:"",raw:"",frontmatter:Kt,filepath:"",start:496,id:34,no:35},__clicksContext:null,__preloaded:!1}),cl={},Gt=M(cl),ul=O({get layout(){return Gt.layout},get transition(){return Gt.transition},get class(){return Gt.class},get clicks(){return Gt.clicks},get name(){return Gt.name},get preload(){return Gt.preload},slide:{content:"",revision:"-ypjavo",note:"",title:"Maybe",level:1,index:35,noteHTML:`<p>Basically just a tagged union... boring</p>
+`,raw:"",frontmatter:Gt,filepath:"",start:503,id:35,no:36},__clicksContext:null,__preloaded:!1}),fl={},Qt=M(fl),dl=O({get layout(){return Qt.layout},get transition(){return Qt.transition},get class(){return Qt.class},get clicks(){return Qt.clicks},get name(){return Qt.name},get preload(){return Qt.preload},slide:{content:"",revision:"edjp4v",note:"",title:"Either",level:1,index:36,noteHTML:"",raw:"",frontmatter:Qt,filepath:"",start:529,id:36,no:37},__clicksContext:null,__preloaded:!1}),hl={layout:"cover"},Zt=M(hl),pl=O({get layout(){return Zt.layout},get transition(){return Zt.transition},get class(){return Zt.class},get clicks(){return Zt.clicks},get name(){return Zt.name},get preload(){return Zt.preload},slide:{content:"",revision:"-1su2n5",frontmatterRaw:`layout: cover
+`,note:"",title:"Meta",level:1,index:37,noteHTML:"",raw:"",frontmatter:Zt,filepath:"",start:550,id:37,no:38},__clicksContext:null,__preloaded:!1}),gl={},Yt=M(gl),ml=O({get layout(){return Yt.layout},get transition(){return Yt.transition},get class(){return Yt.class},get clicks(){return Yt.clicks},get name(){return Yt.name},get preload(){return Yt.preload},slide:{content:"",revision:"-53a9ws",note:"",title:"Mogensen-Scott",level:1,index:38,noteHTML:"",raw:"",frontmatter:Yt,filepath:"",start:559,id:38,no:39},__clicksContext:null,__preloaded:!1}),yl={},Xt=M(yl),_l=O({get layout(){return Xt.layout},get transition(){return Xt.transition},get class(){return Xt.class},get clicks(){return Xt.clicks},get name(){return Xt.name},get preload(){return Xt.preload},slide:{content:"",revision:"uycwls",note:"",title:"Meta-Circular Interpreter",level:2,index:39,noteHTML:"",raw:"",frontmatter:Xt,filepath:"",start:572,id:39,no:40},__clicksContext:null,__preloaded:!1}),vl={},te=M(vl),kl=O({get layout(){return te.layout},get transition(){return te.transition},get class(){return te.class},get clicks(){return te.clicks},get name(){return te.name},get preload(){return te.preload},slide:{content:"",revision:"-r2wqwd",note:"",title:"de Bruijn-Church",level:1,index:40,noteHTML:"",raw:"",frontmatter:te,filepath:"",start:591,id:40,no:41},__clicksContext:null,__preloaded:!1}),wl={},ee=M(wl),bl=O({get layout(){return ee.layout},get transition(){return ee.transition},get class(){return ee.class},get clicks(){return ee.clicks},get name(){return ee.name},get preload(){return ee.preload},slide:{content:"",revision:"hb4xwc",note:"",title:"194 bit self interpreter",level:2,index:41,noteHTML:`<p>Learning: minimale Datenstrukturen können zu minimalem Code führen!</p>
+`,raw:"",frontmatter:ee,filepath:"",start:604,id:41,no:42},__clicksContext:null,__preloaded:!1}),Sl={layout:"cover",class:"text-left"},ne=M(Sl),Ml=O({get layout(){return ne.layout},get transition(){return ne.transition},get class(){return ne.class},get clicks(){return ne.clicks},get name(){return ne.name},get preload(){return ne.preload},slide:{content:"",revision:"-77kqf",frontmatterRaw:`layout: cover
+class: text-left
+`,note:"",title:"Other Data?",level:1,index:42,noteHTML:"",raw:"",frontmatter:ne,filepath:"",start:653,id:42,no:43},__clicksContext:null,__preloaded:!1}),$l={layout:"cover"},se=M($l),Tl=O({get layout(){return se.layout},get transition(){return se.transition},get class(){return se.class},get clicks(){return se.clicks},get name(){return se.name},get preload(){return se.preload},slide:{content:"",revision:"-olg0bi",frontmatterRaw:`layout: cover
+`,note:"",title:"Images",level:1,index:43,noteHTML:"",raw:"",frontmatter:se,filepath:"",start:664,id:43,no:44},__clicksContext:null,__preloaded:!1}),Ol={},re=M(Ol),Ll=O({get layout(){return re.layout},get transition(){return re.transition},get class(){return re.class},get clicks(){return re.clicks},get name(){return re.name},get preload(){return re.preload},slide:{content:"",revision:"-g076pg",note:"",title:"Quad Trees",level:1,index:44,noteHTML:"",raw:"",frontmatter:re,filepath:"",start:671,id:44,no:45},__clicksContext:null,__preloaded:!1}),Pl={layout:"cover"},oe=M(Pl),El=O({get layout(){return oe.layout},get transition(){return oe.transition},get class(){return oe.class},get clicks(){return oe.clicks},get name(){return oe.name},get preload(){return oe.preload},slide:{content:"",revision:"-7p5k1y",frontmatterRaw:`layout: cover
+`,note:"",title:"Demo",level:1,index:45,noteHTML:"",raw:"",frontmatter:oe,filepath:"",start:685,id:45,no:46},__clicksContext:null,__preloaded:!1}),_=new Array(46),P=(e,t)=>bo({loader:t,delay:300,loadingComponent:Ui,errorComponent:L,onError:n=>console.error("Failed to load slide "+(e+1),n)}),ks=async()=>{try{return _[0]??(_[0]=await S(()=>import("./md-CvjSSd-j.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},ws=async()=>{try{return _[1]??(_[1]=await S(()=>import("./md-Dq6iqmEs.js"),__vite__mapDeps([9,10,4,5,1,6,3,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},bs=async()=>{try{return _[2]??(_[2]=await S(()=>import("./md-OQJduEAz.js"),__vite__mapDeps([12,1,11,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Ss=async()=>{try{return _[3]??(_[3]=await S(()=>import("./md-CePMrKWo.js"),__vite__mapDeps([13,14,4,5,1,6,3,15,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Ms=async()=>{try{return _[4]??(_[4]=await S(()=>import("./md-Du6urbl_.js"),__vite__mapDeps([16,10,4,5,1,6,3,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},$s=async()=>{try{return _[5]??(_[5]=await S(()=>import("./md-D_pZLUDz.js"),__vite__mapDeps([17,1,2,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Ts=async()=>{try{return _[6]??(_[6]=await S(()=>import("./md-DgnI8Bd4.js"),__vite__mapDeps([18,1,11,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Os=async()=>{try{return _[7]??(_[7]=await S(()=>import("./md-B2tNCsUg.js"),__vite__mapDeps([19,20,21,1,3,4,5,6,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Ls=async()=>{try{return _[8]??(_[8]=await S(()=>import("./md-CLLTnEZ7.js"),__vite__mapDeps([22,14,4,5,1,6,3,15,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Ps=async()=>{try{return _[9]??(_[9]=await S(()=>import("./md-DtHqeZS0.js"),__vite__mapDeps([23,10,4,5,1,6,3,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Es=async()=>{try{return _[10]??(_[10]=await S(()=>import("./md-DHlhFPM5.js"),__vite__mapDeps([24,14,4,5,1,6,3,15,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},As=async()=>{try{return _[11]??(_[11]=await S(()=>import("./md-DNuVt8V8.js"),__vite__mapDeps([25,1,11,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Ds=async()=>{try{return _[12]??(_[12]=await S(()=>import("./md-CrFSu7wK.js"),__vite__mapDeps([26,10,4,5,1,6,3,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Cs=async()=>{try{return _[13]??(_[13]=await S(()=>import("./md-DdH2xtAn.js"),__vite__mapDeps([27,14,4,5,1,6,3,15,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Is=async()=>{try{return _[14]??(_[14]=await S(()=>import("./md-CoooLRyL.js"),__vite__mapDeps([28,1,2,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Rs=async()=>{try{return _[15]??(_[15]=await S(()=>import("./md-UMyVtbKA.js"),__vite__mapDeps([29,10,4,5,1,6,3,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Hs=async()=>{try{return _[16]??(_[16]=await S(()=>import("./md-BW7_HJTh.js"),__vite__mapDeps([30,20,21,1,3,4,5,6,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Ns=async()=>{try{return _[17]??(_[17]=await S(()=>import("./md-DTXsVKV9.js"),__vite__mapDeps([31,14,4,5,1,6,3,15,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},xs=async()=>{try{return _[18]??(_[18]=await S(()=>import("./md-BCsvnU1G.js"),__vite__mapDeps([32,14,4,5,1,6,3,15,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},js=async()=>{try{return _[19]??(_[19]=await S(()=>import("./md-BlV4tDf7.js"),__vite__mapDeps([33,10,4,5,1,6,3,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Vs=async()=>{try{return _[20]??(_[20]=await S(()=>import("./md-CodFZ4QM.js"),__vite__mapDeps([34,1,2,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Fs=async()=>{try{return _[21]??(_[21]=await S(()=>import("./md-Esu_vpIB.js"),__vite__mapDeps([35,1,11,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Bs=async()=>{try{return _[22]??(_[22]=await S(()=>import("./md-BhMNIGO-.js"),__vite__mapDeps([36,14,4,5,1,6,3,15,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},zs=async()=>{try{return _[23]??(_[23]=await S(()=>import("./md-DBY66ZvP.js"),__vite__mapDeps([37,1,11,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Ws=async()=>{try{return _[24]??(_[24]=await S(()=>import("./md-DuSHXnxV.js"),__vite__mapDeps([38,14,4,5,1,6,3,15,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},qs=async()=>{try{return _[25]??(_[25]=await S(()=>import("./md-1JH4n7HQ.js"),__vite__mapDeps([39,14,4,5,1,6,3,15,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Us=async()=>{try{return _[26]??(_[26]=await S(()=>import("./md-B3gM_aLi.js"),__vite__mapDeps([40,10,4,5,1,6,3,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Js=async()=>{try{return _[27]??(_[27]=await S(()=>import("./md-chp4UUUX.js"),__vite__mapDeps([41,1,2,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Ks=async()=>{try{return _[28]??(_[28]=await S(()=>import("./md-Zw3N9h5o.js"),__vite__mapDeps([42,1,11,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Gs=async()=>{try{return _[29]??(_[29]=await S(()=>import("./md-DQ2E402P.js"),__vite__mapDeps([43,14,4,5,1,6,3,15,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Qs=async()=>{try{return _[30]??(_[30]=await S(()=>import("./md-P0Anrfeg.js"),__vite__mapDeps([44,1,11,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Zs=async()=>{try{return _[31]??(_[31]=await S(()=>import("./md-BTxTxIcV.js"),__vite__mapDeps([45,14,4,5,1,6,3,15,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Ys=async()=>{try{return _[32]??(_[32]=await S(()=>import("./md-DUAIk41M.js"),__vite__mapDeps([46,14,4,5,1,6,3,15,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Xs=async()=>{try{return _[33]??(_[33]=await S(()=>import("./md-BMx_EcJM.js"),__vite__mapDeps([47,1,2,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},tr=async()=>{try{return _[34]??(_[34]=await S(()=>import("./md-DMKKtLyU.js"),__vite__mapDeps([48,1,2,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},er=async()=>{try{return _[35]??(_[35]=await S(()=>import("./md-C_l7Kv4p.js"),__vite__mapDeps([49,14,4,5,1,6,3,15,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},nr=async()=>{try{return _[36]??(_[36]=await S(()=>import("./md-CKWXIRj9.js"),__vite__mapDeps([50,14,4,5,1,6,3,15,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},sr=async()=>{try{return _[37]??(_[37]=await S(()=>import("./md-CW4SE-QG.js"),__vite__mapDeps([51,1,2,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},rr=async()=>{try{return _[38]??(_[38]=await S(()=>import("./md-DyvObES2.js"),__vite__mapDeps([52,1,11,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},or=async()=>{try{return _[39]??(_[39]=await S(()=>import("./md-CnRKUBhD.js"),__vite__mapDeps([53,20,21,1,3,4,5,6,11,7,8])))}catch(e){return console.error("slide failed to load",e),L}},ir=async()=>{try{return _[40]??(_[40]=await S(()=>import("./md-B46whd7y.js"),__vite__mapDeps([54,1,11,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},ar=async()=>{try{return _[41]??(_[41]=await S(()=>import("./md-VAjAPvfg.js"),__vite__mapDeps([55,20,21,1,3,4,5,6,11,7,8,56])))}catch(e){return console.error("slide failed to load",e),L}},lr=async()=>{try{return _[42]??(_[42]=await S(()=>import("./md-9wuO6xgO.js"),__vite__mapDeps([57,1,2,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},cr=async()=>{try{return _[43]??(_[43]=await S(()=>import("./md-snUBHVES.js"),__vite__mapDeps([58,1,2,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},ur=async()=>{try{return _[44]??(_[44]=await S(()=>import("./md-5Bkjs5et.js"),__vite__mapDeps([59,1,11,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},fr=async()=>{try{return _[45]??(_[45]=await S(()=>import("./md-DWSVng2s.js"),__vite__mapDeps([60,1,2,3,4,5,6,7,8])))}catch(e){return console.error("slide failed to load",e),L}},Al=[{no:1,meta:Ki,load:ks,component:P(0,ks)},{no:2,meta:Qi,load:ws,component:P(1,ws)},{no:3,meta:Yi,load:bs,component:P(2,bs)},{no:4,meta:ta,load:Ss,component:P(3,Ss)},{no:5,meta:na,load:Ms,component:P(4,Ms)},{no:6,meta:ra,load:$s,component:P(5,$s)},{no:7,meta:ia,load:Ts,component:P(6,Ts)},{no:8,meta:la,load:Os,component:P(7,Os)},{no:9,meta:ua,load:Ls,component:P(8,Ls)},{no:10,meta:da,load:Ps,component:P(9,Ps)},{no:11,meta:pa,load:Es,component:P(10,Es)},{no:12,meta:ma,load:As,component:P(11,As)},{no:13,meta:_a,load:Ds,component:P(12,Ds)},{no:14,meta:ka,load:Cs,component:P(13,Cs)},{no:15,meta:ba,load:Is,component:P(14,Is)},{no:16,meta:Ma,load:Rs,component:P(15,Rs)},{no:17,meta:Ta,load:Hs,component:P(16,Hs)},{no:18,meta:La,load:Ns,component:P(17,Ns)},{no:19,meta:Ea,load:xs,component:P(18,xs)},{no:20,meta:Da,load:js,component:P(19,js)},{no:21,meta:Ia,load:Vs,component:P(20,Vs)},{no:22,meta:Ha,load:Fs,component:P(21,Fs)},{no:23,meta:xa,load:Bs,component:P(22,Bs)},{no:24,meta:Va,load:zs,component:P(23,zs)},{no:25,meta:Ba,load:Ws,component:P(24,Ws)},{no:26,meta:Wa,load:qs,component:P(25,qs)},{no:27,meta:Ua,load:Us,component:P(26,Us)},{no:28,meta:Ka,load:Js,component:P(27,Js)},{no:29,meta:Qa,load:Ks,component:P(28,Ks)},{no:30,meta:Ya,load:Gs,component:P(29,Gs)},{no:31,meta:tl,load:Qs,component:P(30,Qs)},{no:32,meta:nl,load:Zs,component:P(31,Zs)},{no:33,meta:rl,load:Ys,component:P(32,Ys)},{no:34,meta:il,load:Xs,component:P(33,Xs)},{no:35,meta:ll,load:tr,component:P(34,tr)},{no:36,meta:ul,load:er,component:P(35,er)},{no:37,meta:dl,load:nr,component:P(36,nr)},{no:38,meta:pl,load:sr,component:P(37,sr)},{no:39,meta:ml,load:rr,component:P(38,rr)},{no:40,meta:_l,load:or,component:P(39,or)},{no:41,meta:kl,load:ir,component:P(40,ir)},{no:42,meta:bl,load:ar,component:P(41,ar)},{no:43,meta:Ml,load:lr,component:P(42,lr)},{no:44,meta:Tl,load:cr,component:P(43,cr)},{no:45,meta:Ll,load:ur,component:P(44,ur)},{no:46,meta:El,load:fr,component:P(45,fr)}],at=Gn(Al),dn="$$slidev-clicks-context",Zn="$$slidev-page",Vr="$$slidev-slide-element",Dl="$$slidev-slide-scale",Cl="$$slidev-context",Du="$$slidev-route",Yn="$$slidev-render-context",Il="$$slidev-fontmatter",Rl="$$slidev-slide-zoom",qe="slidev-vclick-target",$e="slidev-vclick-hidden",Te="slidev-vclick-fade",wn="slidev-vclick-hidden-explicitly",bn="slidev-vclick-current",Sn="slidev-vclick-prior",Ue=999999,Hl=["localhost","127.0.0.1"],Nl=["clicks","clicksStart","disabled","hide","hideInToc","layout","level","preload","routeAlias","src","title","transition","zoom","dragPos"],Cu=[...Nl,"theme","titleTemplate","info","author","keywords","presenter","download","exportFilename","export","highlighter","lineNumbers","monaco","monacoTypesSource","monacoTypesAdditionalPackages","monacoRunAdditionalDeps","remoteAssets","selectable","record","colorSchema","routerMode","aspectRatio","canvasWidth","themeConfig","favicon","plantUmlServer","fonts","defaults","drawings","htmlAttrs","mdc","contextMenu","wakeLock","overviewSnapshots"],Xn=A(!1);function xl(e,t,{mode:n="replace"}={}){const s=fn();return b({get(){const r=s.currentRoute.value.query[e];return r==null?t:Array.isArray(r)?r.filter(Boolean):r},set(r){Mr(()=>{(s.currentRoute.value.query[e]??(t==null?void 0:t.toString()))!==r.toString()&&s[Kn(n)]({query:{...s.currentRoute.value.query,[e]:`${r}`===t?void 0:r}})})}})}function hn(e){return at.value.find(t=>{var n;return t.no===+e||((n=t.meta.slide)==null?void 0:n.frontmatter.routeAlias)===e})}function ge(e,t){var s;(typeof e=="number"||typeof e=="string")&&(e=hn(e));const n=((s=e.meta.slide)==null?void 0:s.frontmatter.routeAlias)??e.no;return t?`/presenter/${n}`:`/${n}`}const jl={"slide-left":"slide-left | slide-right","slide-right":"slide-right | slide-left","slide-up":"slide-up | slide-down","slide-down":"slide-down | slide-up"};function Vl(e,t=!1){if(!e||(typeof e=="string"&&(e={name:e}),!e.name))return;let n=e.name.includes("|")?e.name:jl[e.name]||e.name;if(n.includes("|")){const[s,r]=n.split("|").map(o=>o.trim());n=t?r:s}if(n)return{...e,name:n}}function Fl(e,t,n){var r,o;let s=e>0?(r=n==null?void 0:n.meta)==null?void 0:r.transition:(o=t==null?void 0:t.meta)==null?void 0:o.transition;return s||(s=U.transition||void 0),Vl(s,e<0)}function Fr(e,t,n=1){var r,o,i,a,l,c,u;const s=t.meta.slide.level??n;s&&s>n&&e.length>0?Fr(e[e.length-1].children,t,n+1):e.push({no:t.no,children:[],level:n,titleLevel:s,path:ge(((o=(r=t.meta.slide)==null?void 0:r.frontmatter)==null?void 0:o.routeAlias)??t.no,!1),hideInToc:!!((l=(a=(i=t.meta)==null?void 0:i.slide)==null?void 0:a.frontmatter)!=null&&l.hideInToc),title:(u=(c=t.meta)==null?void 0:c.slide)==null?void 0:u.title})}function Br(e,t,n=!1,s,r){return e.map(o=>{const i={...o,active:o.no===(r==null?void 0:r.value),hasActiveParent:n};return i.children.length>0&&(i.children=Br(i.children,t,i.active||i.hasActiveParent,i,r)),s&&(i.active||i.activeParent)&&(s.activeParent=!0),i})}function zr(e,t=1){return e.filter(n=>!n.hideInToc).map(n=>({...n,children:zr(n.children,t+1)}))}function Bl(e,t,n){const s=b(()=>e.value.filter(o=>{var i,a;return(a=(i=o.meta)==null?void 0:i.slide)==null?void 0:a.title}).reduce((o,i)=>(Fr(o,i),o),[])),r=b(()=>Br(s.value,n.value,void 0,void 0,t));return b(()=>zr(r.value))}function zl(e,t,n=A(0),s,r,o){const i=b(()=>at.value.length),a=A(0),l=A(0),c=b(()=>ge(e.value,s.value)),u=b(()=>e.value.no),h=b(()=>{var I;return((I=e.value.meta)==null?void 0:I.layout)||(u.value===1?"cover":"default")}),d=b(()=>t.value.current),f=b(()=>t.value.clicksStart),p=b(()=>t.value.total),g=b(()=>at.value[Math.min(at.value.length,u.value+1)-1]),y=b(()=>at.value[Math.max(1,u.value-1)-1]),m=b(()=>u.value<at.value.length||d.value<p.value),v=b(()=>u.value>1||d.value>0),k=b(()=>Fl(a.value,e.value,y.value));st(e,(I,F)=>{a.value=I.no-F.no});async function w(I){return!1}const E=Bl(at,u,e);async function $(){l.value=1,p.value<=n.value?await R():n.value+=1}async function D(){l.value=-1,n.value<=f.value?await x(!0):n.value-=1}async function R(I=!1){l.value=1,u.value<at.value.length&&await C(u.value+1,I&&!r.value?Ue:void 0)}async function x(I=!1){l.value=-1,u.value>1&&await C(u.value-1,I&&!r.value?Ue:void 0)}function J(){return C(1)}function z(){return C(i.value)}async function C(I,F=0,it=!1){var ht,Se,Me;Xn.value=!1;const be=u.value!==I,et=F!==n.value,Y=(ht=hn(I))==null?void 0:ht.meta,j=((Se=Y==null?void 0:Y.slide)==null?void 0:Se.frontmatter.clicksStart)??0;F=Dn(F,j,((Me=Y==null?void 0:Y.__clicksContext)==null?void 0:Me.total)??Ue),(it||be||et)&&await(o==null?void 0:o.push({path:ge(I,s.value),query:{...o.currentRoute.value.query,clicks:F===0?void 0:F.toString(),embedded:location.search.includes("embedded")?"true":void 0}}))}function H(){o==null||o.push({path:ge(u.value,!0),query:{...o.currentRoute.value.query}})}function W(){o==null||o.push({path:ge(u.value,!1),query:{...o.currentRoute.value.query}})}return{slides:at,total:i,currentPath:c,currentSlideNo:u,currentPage:u,currentSlideRoute:e,currentLayout:h,currentTransition:k,clicksDirection:l,nextRoute:g,prevRoute:y,clicksContext:t,clicks:d,clicksStart:f,clicksTotal:p,hasNext:m,hasPrev:v,tocTree:E,navDirection:a,openInEditor:w,next:$,prev:D,go:C,goLast:z,goFirst:J,nextSlide:R,prevSlide:x,enterPresenter:H,exitPresenter:W}}const Wl=Pr(()=>{const e=fn(),t=b(()=>e.currentRoute.value),n=b(()=>(e.currentRoute.value.query,new URLSearchParams(location.search))),s=b(()=>n.value.has("print")),r=b(()=>n.value.get("print")==="clicks"),o=b(()=>n.value.has("embedded")),i=b(()=>t.value.name==="play"),a=b(()=>t.value.name==="presenter"),l=b(()=>t.value.name==="notes"),c=b(()=>!a.value&&(!U.remote||n.value.get("password")===U.remote)),u=So(i,a),h=b(()=>{var m;return u.value?((m=hn(t.value.params.no))==null?void 0:m.no)??1:1}),d=b(()=>at.value[h.value-1]),f=xl("clicks","0"),p=b(()=>y(d.value)),g=b({get(){let m=+(f.value||0);return Number.isNaN(m)&&(m=0),m},set(m){Xn.value=!1,f.value=m.toString()}});function y(m){var w,E;if((w=m==null?void 0:m.meta)!=null&&w.__clicksContext)return m.meta.__clicksContext;const v=m.no,k=jr(b({get(){return h.value===v?Math.max(+(f.value??0),k.clicksStart):h.value>v?Ue:k.clicksStart},set($){h.value===v&&(f.value=$.toString())}}),((E=m==null?void 0:m.meta.slide)==null?void 0:E.frontmatter.clicksStart)??0,m==null?void 0:m.meta.clicks);return m!=null&&m.meta&&(m.meta.__clicksContext=k),k}return{router:e,currentRoute:t,isPrintMode:s,isPrintWithClicks:r,isEmbedded:o,isPlaying:i,isPresenter:a,isNotesViewer:l,isPresenterAvailable:c,hasPrimarySlide:u,currentSlideNo:h,currentSlideRoute:d,clicksContext:p,queryClicksRaw:f,queryClicks:g,getPrimaryClicks:y}}),Nn=Pr(()=>{const e=Wl(),t=fn(),n=zl(e.currentSlideRoute,e.clicksContext,e.queryClicks,e.isPresenter,e.isPrintMode,t);return st([n.total,e.currentRoute],async()=>{const s=e.currentRoute.value.params.no;e.hasPrimarySlide.value&&!hn(s)&&(s&&s!=="index.html"?await n.go(n.total.value,0,!0):await n.go(1,0,!0))},{flush:"pre",immediate:!0}),{...n,...e}});function ql(e,t){if(!t||t==="all"||t==="*")return ds(1,e+1);if(t==="none")return[];const n=[];for(const s of t.split(/[,;]/g))if(!s.includes("-"))n.push(+s);else{const[r,o]=s.split("-",2);n.push(...ds(+r,o?+o+1:e+1))}return zo(n).filter(s=>s<=e).sort((s,r)=>s-r)}const ts=Symbol.for("yaml.alias"),Ul=Symbol.for("yaml.document"),ue=Symbol.for("yaml.map"),Wr=Symbol.for("yaml.pair"),es=Symbol.for("yaml.scalar"),Re=Symbol.for("yaml.seq"),lt=Symbol.for("yaml.node.type"),we=e=>!!e&&typeof e=="object"&&e[lt]===ts,pn=e=>!!e&&typeof e=="object"&&e[lt]===Ul,qr=e=>!!e&&typeof e=="object"&&e[lt]===ue,B=e=>!!e&&typeof e=="object"&&e[lt]===Wr,V=e=>!!e&&typeof e=="object"&&e[lt]===es,ns=e=>!!e&&typeof e=="object"&&e[lt]===Re;function Z(e){if(e&&typeof e=="object")switch(e[lt]){case ue:case Re:return!0}return!1}function q(e){if(e&&typeof e=="object")switch(e[lt]){case ts:case ue:case es:case Re:return!0}return!1}const Jl=e=>(V(e)||Z(e))&&!!e.anchor,ae=Symbol("break visit"),Kl=Symbol("skip children"),Ee=Symbol("remove node");function Ce(e,t){const n=Gl(t);pn(e)?me(null,e.contents,n,Object.freeze([e]))===Ee&&(e.contents=null):me(null,e,n,Object.freeze([]))}Ce.BREAK=ae;Ce.SKIP=Kl;Ce.REMOVE=Ee;function me(e,t,n,s){const r=Ql(e,t,n,s);if(q(r)||B(r))return Zl(e,s,r),me(e,r,n,s);if(typeof r!="symbol"){if(Z(t)){s=Object.freeze(s.concat(t));for(let o=0;o<t.items.length;++o){const i=me(o,t.items[o],n,s);if(typeof i=="number")o=i-1;else{if(i===ae)return ae;i===Ee&&(t.items.splice(o,1),o-=1)}}}else if(B(t)){s=Object.freeze(s.concat(t));const o=me("key",t.key,n,s);if(o===ae)return ae;o===Ee&&(t.key=null);const i=me("value",t.value,n,s);if(i===ae)return ae;i===Ee&&(t.value=null)}}return r}function Gl(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function Ql(e,t,n,s){var r,o,i,a,l;if(typeof n=="function")return n(e,t,s);if(qr(t))return(r=n.Map)==null?void 0:r.call(n,e,t,s);if(ns(t))return(o=n.Seq)==null?void 0:o.call(n,e,t,s);if(B(t))return(i=n.Pair)==null?void 0:i.call(n,e,t,s);if(V(t))return(a=n.Scalar)==null?void 0:a.call(n,e,t,s);if(we(t))return(l=n.Alias)==null?void 0:l.call(n,e,t,s)}function Zl(e,t,n){const s=t[t.length-1];if(Z(s))s.items[e]=n;else if(B(s))e==="key"?s.key=n:s.value=n;else if(pn(s))s.contents=n;else{const r=we(s)?"alias":"scalar";throw new Error(`Cannot replace node with ${r} parent`)}}function Ur(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function Pe(e,t,n,s){if(s&&typeof s=="object")if(Array.isArray(s))for(let r=0,o=s.length;r<o;++r){const i=s[r],a=Pe(e,s,String(r),i);a===void 0?delete s[r]:a!==i&&(s[r]=a)}else if(s instanceof Map)for(const r of Array.from(s.keys())){const o=s.get(r),i=Pe(e,s,r,o);i===void 0?s.delete(r):i!==o&&s.set(r,i)}else if(s instanceof Set)for(const r of Array.from(s)){const o=Pe(e,s,r,r);o===void 0?s.delete(r):o!==r&&(s.delete(r),s.add(o))}else for(const[r,o]of Object.entries(s)){const i=Pe(e,s,r,o);i===void 0?delete s[r]:i!==o&&(s[r]=i)}return e.call(t,n,s)}function rt(e,t,n){if(Array.isArray(e))return e.map((s,r)=>rt(s,String(r),n));if(e&&typeof e.toJSON=="function"){if(!n||!Jl(e))return e.toJSON(t,n);const s={aliasCount:0,count:1,res:void 0};n.anchors.set(e,s),n.onCreate=o=>{s.res=o,delete n.onCreate};const r=e.toJSON(t,n);return n.onCreate&&n.onCreate(r),r}return typeof e=="bigint"&&!(n!=null&&n.keep)?Number(e):e}class ss{constructor(t){Object.defineProperty(this,lt,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:s,onAnchor:r,reviver:o}={}){if(!pn(t))throw new TypeError("A document argument is required");const i={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof s=="number"?s:100},a=rt(this,"",i);if(typeof r=="function")for(const{count:l,res:c}of i.anchors.values())r(c,l);return typeof o=="function"?Pe(o,{"":a},"",a):a}}class Yl extends ss{constructor(t){super(ts),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let n;return Ce(t,{Node:(s,r)=>{if(r===this)return Ce.BREAK;r.anchor===this.source&&(n=r)}}),n}toJSON(t,n){if(!n)return{source:this.source};const{anchors:s,doc:r,maxAliasCount:o}=n,i=this.resolve(r);if(!i){const l=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(l)}let a=s.get(i);if(a||(rt(i,null,n),a=s.get(i)),!a||a.res===void 0){const l="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(l)}if(o>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=Je(r,i,s)),a.count*a.aliasCount>o)){const l="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(l)}return a.res}toString(t,n,s){const r=`*${this.source}`;if(t){if(Ur(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const o=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(o)}if(t.implicitKey)return`${r} `}return r}}function Je(e,t,n){if(we(t)){const s=t.resolve(e),r=n&&s&&n.get(s);return r?r.count*r.aliasCount:0}else if(Z(t)){let s=0;for(const r of t.items){const o=Je(e,r,n);o>s&&(s=o)}return s}else if(B(t)){const s=Je(e,t.key,n),r=Je(e,t.value,n);return Math.max(s,r)}return 1}const Jr=e=>!e||typeof e!="function"&&typeof e!="object";class N extends ss{constructor(t){super(es),this.value=t}toJSON(t,n){return n!=null&&n.keep?this.value:rt(this.value,t,n)}toString(){return String(this.value)}}N.BLOCK_FOLDED="BLOCK_FOLDED";N.BLOCK_LITERAL="BLOCK_LITERAL";N.PLAIN="PLAIN";N.QUOTE_DOUBLE="QUOTE_DOUBLE";N.QUOTE_SINGLE="QUOTE_SINGLE";function Xl(e,t,n){return n.find(s=>{var r;return((r=s.identify)==null?void 0:r.call(s,e))&&!s.format})}function nn(e,t,n){var h,d,f;if(pn(e)&&(e=e.contents),q(e))return e;if(B(e)){const p=(d=(h=n.schema[ue]).createNode)==null?void 0:d.call(h,n.schema,null,n);return p.items.push(e),p}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:s,onAnchor:r,onTagObj:o,schema:i,sourceObjects:a}=n;let l;if(s&&e&&typeof e=="object"){if(l=a.get(e),l)return l.anchor||(l.anchor=r(e)),new Yl(l.anchor);l={anchor:null,node:null},a.set(e,l)}let c=Xl(e,t,i.tags);if(!c){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const p=new N(e);return l&&(l.node=p),p}c=e instanceof Map?i[ue]:Symbol.iterator in Object(e)?i[Re]:i[ue]}o&&(o(c),delete n.onTagObj);const u=c!=null&&c.createNode?c.createNode(n.schema,e,n):typeof((f=c==null?void 0:c.nodeClass)==null?void 0:f.from)=="function"?c.nodeClass.from(n.schema,e,n):new N(e);return c.default||(u.tag=c.tag),l&&(l.node=u),u}function dr(e,t,n){let s=n;for(let r=t.length-1;r>=0;--r){const o=t[r];if(typeof o=="number"&&Number.isInteger(o)&&o>=0){const i=[];i[o]=s,s=i}else s=new Map([[o,s]])}return nn(s,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const tc=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class Kr extends ss{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(s=>q(s)||B(s)?s.clone(t):s),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(tc(t))this.add(n);else{const[s,...r]=t,o=this.get(s,!0);if(Z(o))o.addIn(r,n);else if(o===void 0&&this.schema)this.set(s,dr(this.schema,r,n));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${r}`)}}deleteIn(t){const[n,...s]=t;if(s.length===0)return this.delete(n);const r=this.get(n,!0);if(Z(r))return r.deleteIn(s);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${s}`)}getIn(t,n){const[s,...r]=t,o=this.get(s,!0);return r.length===0?!n&&V(o)?o.value:o:Z(o)?o.getIn(r,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!B(n))return!1;const s=n.value;return s==null||t&&V(s)&&s.value==null&&!s.commentBefore&&!s.comment&&!s.tag})}hasIn(t){const[n,...s]=t;if(s.length===0)return this.has(n);const r=this.get(n,!0);return Z(r)?r.hasIn(s):!1}setIn(t,n){const[s,...r]=t;if(r.length===0)this.set(s,n);else{const o=this.get(s,!0);if(Z(o))o.setIn(r,n);else if(o===void 0&&this.schema)this.set(s,dr(this.schema,r,n));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${r}`)}}}const ec=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Ie(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const ye=(e,t,n)=>e.endsWith(`
+`)?Ie(n,t):n.includes(`
+`)?`
+`+Ie(n,t):(e.endsWith(" ")?"":" ")+n,Gr="flow",xn="block",Ke="quoted";function gn(e,t,n="flow",{indentAtStart:s,lineWidth:r=80,minContentWidth:o=20,onFold:i,onOverflow:a}={}){if(!r||r<0)return e;r<o&&(o=0);const l=Math.max(1+o,1+r-t.length);if(e.length<=l)return e;const c=[],u={};let h=r-t.length;typeof s=="number"&&(s>r-Math.max(2,o)?c.push(0):h=r-s);let d,f,p=!1,g=-1,y=-1,m=-1;n===xn&&(g=hr(e,g,t.length),g!==-1&&(h=g+l));for(let k;k=e[g+=1];){if(n===Ke&&k==="\\"){switch(y=g,e[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}m=g}if(k===`
+`)n===xn&&(g=hr(e,g,t.length)),h=g+t.length+l,d=void 0;else{if(k===" "&&f&&f!==" "&&f!==`
+`&&f!==" "){const w=e[g+1];w&&w!==" "&&w!==`
+`&&w!==" "&&(d=g)}if(g>=h)if(d)c.push(d),h=d+l,d=void 0;else if(n===Ke){for(;f===" "||f===" ";)f=k,k=e[g+=1],p=!0;const w=g>m+1?g-2:y-1;if(u[w])return e;c.push(w),u[w]=!0,h=w+l,d=void 0}else p=!0}f=k}if(p&&a&&a(),c.length===0)return e;i&&i();let v=e.slice(0,c[0]);for(let k=0;k<c.length;++k){const w=c[k],E=c[k+1]||e.length;w===0?v=`
+${t}${e.slice(0,E)}`:(n===Ke&&u[w]&&(v+=`${e[w]}\\`),v+=`
+${t}${e.slice(w+1,E)}`)}return v}function hr(e,t,n){let s=t,r=t+1,o=e[r];for(;o===" "||o===" ";)if(t<r+n)o=e[++t];else{do o=e[++t];while(o&&o!==`
+`);s=t,r=t+1,o=e[r]}return s}const mn=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),yn=e=>/^(%|---|\.\.\.)/m.test(e);function nc(e,t,n){if(!t||t<0)return!1;const s=t-n,r=e.length;if(r<=s)return!1;for(let o=0,i=0;o<r;++o)if(e[o]===`
+`){if(o-i>s)return!0;if(i=o+1,r-i<=s)return!1}return!0}function Ae(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:s}=t,r=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(yn(e)?" ":"");let i="",a=0;for(let l=0,c=n[l];c;c=n[++l])if(c===" "&&n[l+1]==="\\"&&n[l+2]==="n"&&(i+=n.slice(a,l)+"\\ ",l+=1,a=l,c="\\"),c==="\\")switch(n[l+1]){case"u":{i+=n.slice(a,l);const u=n.substr(l+2,4);switch(u){case"0000":i+="\\0";break;case"0007":i+="\\a";break;case"000b":i+="\\v";break;case"001b":i+="\\e";break;case"0085":i+="\\N";break;case"00a0":i+="\\_";break;case"2028":i+="\\L";break;case"2029":i+="\\P";break;default:u.substr(0,2)==="00"?i+="\\x"+u.substr(2):i+=n.substr(l,6)}l+=5,a=l+1}break;case"n":if(s||n[l+2]==='"'||n.length<r)l+=1;else{for(i+=n.slice(a,l)+`
+
+`;n[l+2]==="\\"&&n[l+3]==="n"&&n[l+4]!=='"';)i+=`
+`,l+=2;i+=o,n[l+2]===" "&&(i+="\\"),l+=1,a=l+1}break;default:l+=1}return i=a?i+n.slice(a):n,s?i:gn(i,o,Ke,mn(t,!1))}function jn(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
+`)||/[ \t]\n|\n[ \t]/.test(e))return Ae(e,t);const n=t.indent||(yn(e)?" ":""),s="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
+${n}`)+"'";return t.implicitKey?s:gn(s,n,Gr,mn(t,!1))}function _e(e,t){const{singleQuote:n}=t.options;let s;if(n===!1)s=Ae;else{const r=e.includes('"'),o=e.includes("'");r&&!o?s=jn:o&&!r?s=Ae:s=n?jn:Ae}return s(e,t)}let Vn;try{Vn=new RegExp(`(^|(?<!
+))
++(?!
+|$)`,"g")}catch{Vn=/\n+(?!\n|$)/g}function Ge({comment:e,type:t,value:n},s,r,o){const{blockQuote:i,commentString:a,lineWidth:l}=s.options;if(!i||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return _e(n,s);const c=s.indent||(s.forceBlockIndent||yn(n)?" ":""),u=i==="literal"?!0:i==="folded"||t===N.BLOCK_FOLDED?!1:t===N.BLOCK_LITERAL?!0:!nc(n,l,c.length);if(!n)return u?`|
+`:`>
+`;let h,d;for(d=n.length;d>0;--d){const $=n[d-1];if($!==`
+`&&$!==" "&&$!==" ")break}let f=n.substring(d);const p=f.indexOf(`
+`);p===-1?h="-":n===f||p!==f.length-1?(h="+",o&&o()):h="",f&&(n=n.slice(0,-f.length),f[f.length-1]===`
+`&&(f=f.slice(0,-1)),f=f.replace(Vn,`$&${c}`));let g=!1,y,m=-1;for(y=0;y<n.length;++y){const $=n[y];if($===" ")g=!0;else if($===`
+`)m=y;else break}let v=n.substring(0,m<y?m+1:y);v&&(n=n.substring(v.length),v=v.replace(/\n+/g,`$&${c}`));let w=(u?"|":">")+(g?c?"2":"1":"")+h;if(e&&(w+=" "+a(e.replace(/ ?[\r\n]+/g," ")),r&&r()),u)return n=n.replace(/\n+/g,`$&${c}`),`${w}
+${c}${v}${n}${f}`;n=n.replace(/\n+/g,`
+$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);const E=gn(`${v}${n}${f}`,c,xn,mn(s,!0));return`${w}
+${c}${E}`}function sc(e,t,n,s){const{type:r,value:o}=e,{actualString:i,implicitKey:a,indent:l,indentStep:c,inFlow:u}=t;if(a&&o.includes(`
+`)||u&&/[[\]{},]/.test(o))return _e(o,t);if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return a||u||!o.includes(`
+`)?_e(o,t):Ge(e,t,n,s);if(!a&&!u&&r!==N.PLAIN&&o.includes(`
+`))return Ge(e,t,n,s);if(yn(o)){if(l==="")return t.forceBlockIndent=!0,Ge(e,t,n,s);if(a&&l===c)return _e(o,t)}const h=o.replace(/\n+/g,`$&
+${l}`);if(i){const d=g=>{var y;return g.default&&g.tag!=="tag:yaml.org,2002:str"&&((y=g.test)==null?void 0:y.test(h))},{compat:f,tags:p}=t.doc.schema;if(p.some(d)||f!=null&&f.some(d))return _e(o,t)}return a?h:gn(h,l,Gr,mn(t,!1))}function rc(e,t,n,s){const{implicitKey:r,inFlow:o}=t,i=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:a}=e;a!==N.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(i.value)&&(a=N.QUOTE_DOUBLE);const l=u=>{switch(u){case N.BLOCK_FOLDED:case N.BLOCK_LITERAL:return r||o?_e(i.value,t):Ge(i,t,n,s);case N.QUOTE_DOUBLE:return Ae(i.value,t);case N.QUOTE_SINGLE:return jn(i.value,t);case N.PLAIN:return sc(i,t,n,s);default:return null}};let c=l(a);if(c===null){const{defaultKeyType:u,defaultStringType:h}=t.options,d=r&&u||h;if(c=l(d),c===null)throw new Error(`Unsupported default string type ${d}`)}return c}function oc(e,t){const n=Object.assign({blockQuote:!0,commentString:ec,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let s;switch(n.collectionStyle){case"block":s=!1;break;case"flow":s=!0;break;default:s=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:s,options:n}}function ic(e,t){var r;if(t.tag){const o=e.filter(i=>i.tag===t.tag);if(o.length>0)return o.find(i=>i.format===t.format)??o[0]}let n,s;if(V(t)){s=t.value;let o=e.filter(i=>{var a;return(a=i.identify)==null?void 0:a.call(i,s)});if(o.length>1){const i=o.filter(a=>a.test);i.length>0&&(o=i)}n=o.find(i=>i.format===t.format)??o.find(i=>!i.format)}else s=t,n=e.find(o=>o.nodeClass&&s instanceof o.nodeClass);if(!n){const o=((r=s==null?void 0:s.constructor)==null?void 0:r.name)??typeof s;throw new Error(`Tag not resolved for ${o} value`)}return n}function ac(e,t,{anchors:n,doc:s}){if(!s.directives)return"";const r=[],o=(V(e)||Z(e))&&e.anchor;o&&Ur(o)&&(n.add(o),r.push(`&${o}`));const i=e.tag?e.tag:t.default?null:t.tag;return i&&r.push(s.directives.tagString(i)),r.join(" ")}function sn(e,t,n,s){var l;if(B(e))return e.toString(t,n,s);if(we(e)){if(t.doc.directives)return e.toString(t);if((l=t.resolvedAliases)!=null&&l.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let r;const o=q(e)?e:t.doc.createNode(e,{onTagObj:c=>r=c});r||(r=ic(t.doc.schema.tags,o));const i=ac(o,r,t);i.length>0&&(t.indentAtStart=(t.indentAtStart??0)+i.length+1);const a=typeof r.stringify=="function"?r.stringify(o,t,n,s):V(o)?rc(o,t,n,s):o.toString(t,n,s);return i?V(o)||a[0]==="{"||a[0]==="["?`${i} ${a}`:`${i}
+${t.indent}${a}`:a}function lc({key:e,value:t},n,s,r){const{allNullValues:o,doc:i,indent:a,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:h}}=n;let d=q(e)&&e.comment||null;if(h){if(d)throw new Error("With simple keys, key nodes cannot have comments");if(Z(e)||!q(e)&&typeof e=="object"){const D="With simple keys, collection cannot be used as a key value";throw new Error(D)}}let f=!h&&(!e||d&&t==null&&!n.inFlow||Z(e)||(V(e)?e.type===N.BLOCK_FOLDED||e.type===N.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!f&&(h||!o),indent:a+l});let p=!1,g=!1,y=sn(e,n,()=>p=!0,()=>g=!0);if(!f&&!n.inFlow&&y.length>1024){if(h)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=!0}if(n.inFlow){if(o||t==null)return p&&s&&s(),y===""?"?":f?`? ${y}`:y}else if(o&&!h||t==null&&f)return y=`? ${y}`,d&&!p?y+=ye(y,n.indent,c(d)):g&&r&&r(),y;p&&(d=null),f?(d&&(y+=ye(y,n.indent,c(d))),y=`? ${y}
+${a}:`):(y=`${y}:`,d&&(y+=ye(y,n.indent,c(d))));let m,v,k;q(t)?(m=!!t.spaceBefore,v=t.commentBefore,k=t.comment):(m=!1,v=null,k=null,t&&typeof t=="object"&&(t=i.createNode(t))),n.implicitKey=!1,!f&&!d&&V(t)&&(n.indentAtStart=y.length+1),g=!1,!u&&l.length>=2&&!n.inFlow&&!f&&ns(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let w=!1;const E=sn(t,n,()=>w=!0,()=>g=!0);let $=" ";if(d||m||v){if($=m?`
+`:"",v){const D=c(v);$+=`
+${Ie(D,n.indent)}`}E===""&&!n.inFlow?$===`
+`&&($=`
+
+`):$+=`
+${n.indent}`}else if(!f&&Z(t)){const D=E[0],R=E.indexOf(`
+`),x=R!==-1,J=n.inFlow??t.flow??t.items.length===0;if(x||!J){let z=!1;if(x&&(D==="&"||D==="!")){let C=E.indexOf(" ");D==="&"&&C!==-1&&C<R&&E[C+1]==="!"&&(C=E.indexOf(" ",C+1)),(C===-1||R<C)&&(z=!0)}z||($=`
+${n.indent}`)}}else(E===""||E[0]===`
+`)&&($="");return y+=$+E,n.inFlow?w&&s&&s():k&&!w?y+=ye(y,n.indent,c(k)):g&&r&&r(),y}function cc(e,t){(e==="debug"||e==="warn")&&(typeof process<"u"&&process.emitWarning?process.emitWarning(t):console.warn(t))}const xe="<<",Mn={identify:e=>e===xe||typeof e=="symbol"&&e.description===xe,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new N(Symbol(xe)),{addToJSMap:Qr}),stringify:()=>xe},uc=(e,t)=>(Mn.identify(t)||V(t)&&(!t.type||t.type===N.PLAIN)&&Mn.identify(t.value))&&(e==null?void 0:e.doc.schema.tags.some(n=>n.tag===Mn.tag&&n.default));function Qr(e,t,n){if(n=e&&we(n)?n.resolve(e.doc):n,ns(n))for(const s of n.items)$n(e,t,s);else if(Array.isArray(n))for(const s of n)$n(e,t,s);else $n(e,t,n)}function $n(e,t,n){const s=e&&we(n)?n.resolve(e.doc):n;if(!qr(s))throw new Error("Merge sources must be maps or map aliases");const r=s.toJSON(null,e,Map);for(const[o,i]of r)t instanceof Map?t.has(o)||t.set(o,i):t instanceof Set?t.add(o):Object.prototype.hasOwnProperty.call(t,o)||Object.defineProperty(t,o,{value:i,writable:!0,enumerable:!0,configurable:!0});return t}function Zr(e,t,{key:n,value:s}){if(q(n)&&n.addToJSMap)n.addToJSMap(e,t,s);else if(uc(e,n))Qr(e,t,s);else{const r=rt(n,"",e);if(t instanceof Map)t.set(r,rt(s,r,e));else if(t instanceof Set)t.add(r);else{const o=fc(n,r,e),i=rt(s,o,e);o in t?Object.defineProperty(t,o,{value:i,writable:!0,enumerable:!0,configurable:!0}):t[o]=i}}return t}function fc(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(q(e)&&(n!=null&&n.doc)){const s=oc(n.doc,{});s.anchors=new Set;for(const o of n.anchors.keys())s.anchors.add(o.anchor);s.inFlow=!0,s.inStringifyKey=!0;const r=e.toString(s);if(!n.mapKeyWarned){let o=JSON.stringify(r);o.length>40&&(o=o.substring(0,36)+'..."'),cc(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${o}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}function rs(e,t,n){const s=nn(e,void 0,n),r=nn(t,void 0,n);return new ct(s,r)}class ct{constructor(t,n=null){Object.defineProperty(this,lt,{value:Wr}),this.key=t,this.value=n}clone(t){let{key:n,value:s}=this;return q(n)&&(n=n.clone(t)),q(s)&&(s=s.clone(t)),new ct(n,s)}toJSON(t,n){const s=n!=null&&n.mapAsMap?new Map:{};return Zr(n,s,this)}toString(t,n,s){return t!=null&&t.doc?lc(this,t,n,s):JSON.stringify(this)}}function Yr(e,t,n){return(t.inFlow??e.flow?hc:dc)(e,t,n)}function dc({comment:e,items:t},n,{blockItemPrefix:s,flowChars:r,itemIndent:o,onChompKeep:i,onComment:a}){const{indent:l,options:{commentString:c}}=n,u=Object.assign({},n,{indent:o,type:null});let h=!1;const d=[];for(let p=0;p<t.length;++p){const g=t[p];let y=null;if(q(g))!h&&g.spaceBefore&&d.push(""),rn(n,d,g.commentBefore,h),g.comment&&(y=g.comment);else if(B(g)){const v=q(g.key)?g.key:null;v&&(!h&&v.spaceBefore&&d.push(""),rn(n,d,v.commentBefore,h))}h=!1;let m=sn(g,u,()=>y=null,()=>h=!0);y&&(m+=ye(m,o,c(y))),h&&y&&(h=!1),d.push(s+m)}let f;if(d.length===0)f=r.start+r.end;else{f=d[0];for(let p=1;p<d.length;++p){const g=d[p];f+=g?`
+${l}${g}`:`
+`}}return e?(f+=`
+`+Ie(c(e),l),a&&a()):h&&i&&i(),f}function hc({items:e},t,{flowChars:n,itemIndent:s}){const{indent:r,indentStep:o,flowCollectionPadding:i,options:{commentString:a}}=t;s+=o;const l=Object.assign({},t,{indent:s,inFlow:!0,type:null});let c=!1,u=0;const h=[];for(let p=0;p<e.length;++p){const g=e[p];let y=null;if(q(g))g.spaceBefore&&h.push(""),rn(t,h,g.commentBefore,!1),g.comment&&(y=g.comment);else if(B(g)){const v=q(g.key)?g.key:null;v&&(v.spaceBefore&&h.push(""),rn(t,h,v.commentBefore,!1),v.comment&&(c=!0));const k=q(g.value)?g.value:null;k?(k.comment&&(y=k.comment),k.commentBefore&&(c=!0)):g.value==null&&(v!=null&&v.comment)&&(y=v.comment)}y&&(c=!0);let m=sn(g,l,()=>y=null);p<e.length-1&&(m+=","),y&&(m+=ye(m,s,a(y))),!c&&(h.length>u||m.includes(`
+`))&&(c=!0),h.push(m),u=h.length}const{start:d,end:f}=n;if(h.length===0)return d+f;if(!c){const p=h.reduce((g,y)=>g+y.length+2,2);c=t.options.lineWidth>0&&p>t.options.lineWidth}if(c){let p=d;for(const g of h)p+=g?`
+${o}${r}${g}`:`
+`;return`${p}
+${r}${f}`}else return`${d}${i}${h.join(" ")}${i}${f}`}function rn({indent:e,options:{commentString:t}},n,s,r){if(s&&r&&(s=s.replace(/^\n+/,"")),s){const o=Ie(t(s),e);n.push(o.trimStart())}}function ce(e,t){const n=V(t)?t.value:t;for(const s of e)if(B(s)&&(s.key===t||s.key===n||V(s.key)&&s.key.value===n))return s}class he extends Kr{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(ue,t),this.items=[]}static from(t,n,s){const{keepUndefined:r,replacer:o}=s,i=new this(t),a=(l,c)=>{if(typeof o=="function")c=o.call(n,l,c);else if(Array.isArray(o)&&!o.includes(l))return;(c!==void 0||r)&&i.items.push(rs(l,c,s))};if(n instanceof Map)for(const[l,c]of n)a(l,c);else if(n&&typeof n=="object")for(const l of Object.keys(n))a(l,n[l]);return typeof t.sortMapEntries=="function"&&i.items.sort(t.sortMapEntries),i}add(t,n){var i;let s;B(t)?s=t:!t||typeof t!="object"||!("key"in t)?s=new ct(t,t==null?void 0:t.value):s=new ct(t.key,t.value);const r=ce(this.items,s.key),o=(i=this.schema)==null?void 0:i.sortMapEntries;if(r){if(!n)throw new Error(`Key ${s.key} already set`);V(r.value)&&Jr(s.value)?r.value.value=s.value:r.value=s.value}else if(o){const a=this.items.findIndex(l=>o(s,l)<0);a===-1?this.items.push(s):this.items.splice(a,0,s)}else this.items.push(s)}delete(t){const n=ce(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const s=ce(this.items,t),r=s==null?void 0:s.value;return(!n&&V(r)?r.value:r)??void 0}has(t){return!!ce(this.items,t)}set(t,n){this.add(new ct(t,n),!0)}toJSON(t,n,s){const r=s?new s:n!=null&&n.mapAsMap?new Map:{};n!=null&&n.onCreate&&n.onCreate(r);for(const o of this.items)Zr(n,r,o);return r}toString(t,n,s){if(!t)return JSON.stringify(this);for(const r of this.items)if(!B(r))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),Yr(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:s,onComment:n})}}class Xr extends Kr{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(Re,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=je(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const s=je(t);if(typeof s!="number")return;const r=this.items[s];return!n&&V(r)?r.value:r}has(t){const n=je(t);return typeof n=="number"&&n<this.items.length}set(t,n){const s=je(t);if(typeof s!="number")throw new Error(`Expected a valid index, not ${t}.`);const r=this.items[s];V(r)&&Jr(n)?r.value=n:this.items[s]=n}toJSON(t,n){const s=[];n!=null&&n.onCreate&&n.onCreate(s);let r=0;for(const o of this.items)s.push(rt(o,String(r++),n));return s}toString(t,n,s){return t?Yr(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:s,onComment:n}):JSON.stringify(this)}static from(t,n,s){const{replacer:r}=s,o=new this(t);if(n&&Symbol.iterator in Object(n)){let i=0;for(let a of n){if(typeof r=="function"){const l=n instanceof Set?a:String(i++);a=r.call(n,l,a)}o.items.push(nn(a,void 0,s))}}return o}}function je(e){let t=V(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}function pc(e,t,n){const{replacer:s}=n,r=new Xr(e);r.tag="tag:yaml.org,2002:pairs";let o=0;if(t&&Symbol.iterator in Object(t))for(let i of t){typeof s=="function"&&(i=s.call(t,String(o++),i));let a,l;if(Array.isArray(i))if(i.length===2)a=i[0],l=i[1];else throw new TypeError(`Expected [key, value] tuple: ${i}`);else if(i&&i instanceof Object){const c=Object.keys(i);if(c.length===1)a=c[0],l=i[a];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else a=i;r.items.push(rs(a,l,n))}return r}class os extends Xr{constructor(){super(),this.add=he.prototype.add.bind(this),this.delete=he.prototype.delete.bind(this),this.get=he.prototype.get.bind(this),this.has=he.prototype.has.bind(this),this.set=he.prototype.set.bind(this),this.tag=os.tag}toJSON(t,n){if(!n)return super.toJSON(t);const s=new Map;n!=null&&n.onCreate&&n.onCreate(s);for(const r of this.items){let o,i;if(B(r)?(o=rt(r.key,"",n),i=rt(r.value,o,n)):o=rt(r,"",n),s.has(o))throw new Error("Ordered maps must not include duplicate keys");s.set(o,i)}return s}static from(t,n,s){const r=pc(t,n,s),o=new this;return o.items=r.items,o}}os.tag="tag:yaml.org,2002:omap";class is extends he{constructor(t){super(t),this.tag=is.tag}add(t){let n;B(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new ct(t.key,null):n=new ct(t,null),ce(this.items,n.key)||this.items.push(n)}get(t,n){const s=ce(this.items,t);return!n&&B(s)?V(s.key)?s.key.value:s.key:s}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const s=ce(this.items,t);s&&!n?this.items.splice(this.items.indexOf(s),1):!s&&n&&this.items.push(new ct(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,s){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,s);throw new Error("Set items must all have null values")}static from(t,n,s){const{replacer:r}=s,o=new this(t);if(n&&Symbol.iterator in Object(n))for(let i of n)typeof r=="function"&&(i=r.call(n,i,i)),o.items.push(rs(i,null,s));return o}}is.tag="tag:yaml.org,2002:set";new Set("0123456789ABCDEFabcdef");new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()");new Set(",[]{}");new Set(` ,[]{}
+\r `);function Iu(){const e=A(Date.now()),t=Mo({interval:1e3}),n=b(()=>{const r=(t.value-e.value)/1e3,o=Math.floor(r%60).toString().padStart(2,"0");return`${Math.floor(r/60).toString().padStart(2,"0")}:${o}`});function s(){e.value=t.value}return{timer:n,resetTimer:s}}function as(e=5){const t=[],n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",s=n.length;for(let r=0;r<e;r++)t.push(n.charAt(Math.floor(Math.random()*s)));return t.join("")}function Ru(e,t,n,s){const r=ql(t+n-1,e);for(let o=0;o<t;o++){const i=s(o),a=r.includes(o+n);for(const l of i)l.classList.toggle("slidev-code-highlighted",a),l.classList.toggle("slidev-code-dishonored",!a),l.classList.toggle("highlighted",a),l.classList.toggle("dishonored",!a)}}function to(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(2,10)}function tt(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!1})}const ft=M({});let gc=[],mc=[];tt(ft,"$syncUp",!0);tt(ft,"$syncDown",!0);tt(ft,"$paused",!1);tt(ft,"$onSet",e=>gc.push(e));tt(ft,"$onPatch",e=>mc.push(e));to();tt(ft,"$patch",async()=>!1);const yc={channels:[],enabled:!0,init(e,t,n,s=!1){let r;if(!s)r=new BroadcastChannel(e),r.addEventListener("message",o=>t(o.data)),this.channels.push(r);else if(s){this.listener=function(i){i&&i.key===e&&i.newValue&&t(JSON.parse(i.newValue))},window.addEventListener("storage",this.listener);const o=window.localStorage.getItem(e);o&&t(JSON.parse(o))}return(o,i=!1)=>{this.enabled&&(!s&&r&&!i&&r.postMessage(Er(o)),s&&!i&&window.localStorage.setItem(e,JSON.stringify(o)))}},disable(){this.enabled=!1,this.channels.forEach(e=>e.close()),this.listener&&window.removeEventListener("storage",this.listener)}},_c=M([yc]),vc=new Map,pr=A({});function eo(e,t,n=!1){const s=[];let r=!1,o=!1,i,a;const l=M(t);function c(f){s.push(f)}function u(f,p){l[f]!==p&&(clearTimeout(i),r=!0,l[f]=p,i=setTimeout(()=>r=!1,0))}function h(f){r||(clearTimeout(a),o=!0,Object.entries(f).forEach(([p,g])=>{l[p]=g}),a=setTimeout(()=>o=!1,0))}function d(f){vc.set(f,{onUpdate:h,persist:n,state:l}),pr.value[f]=_c.map(g=>g.init(f,h,l,n)).filter(g=>!!g);function p(){pr.value[f].forEach(g=>g==null?void 0:g(Er(l),o)),r||s.forEach(g=>g(l))}st(l,p,{deep:!0})}return{init:d,onPatch:c,onUpdate:h,patch:u,state:l}}const{init:kc,onPatch:Hu,onUpdate:Nu,patch:xu,state:ju}=eo(ft,ft,!1),fe=M({page:0,clicks:0});let wc=[],bc=[];tt(fe,"$syncUp",!0);tt(fe,"$syncDown",!0);tt(fe,"$paused",!1);tt(fe,"$onSet",e=>wc.push(e));tt(fe,"$onPatch",e=>bc.push(e));to();tt(fe,"$patch",async()=>!1);const{init:Sc,onPatch:Mc,onUpdate:Vu,patch:ie,state:Fu}=eo(fe,{page:1,clicks:0,clicksTotal:0,viewerPage:1,viewerClicks:0,viewerClicksTotal:0});function $c(){const e=Tr().appContext.app,t=M({nav:Nn(),configs:U,themeConfigs:b(()=>U.themeConfig)});e.provide(Yn,A("none")),e.provide(Cl,t),e.provide(Zn,b(()=>t.nav.currentSlideNo)),e.provide(dn,Gn(Vi()));for(const u of Jo)u();const{clicksContext:n,currentSlideNo:s,hasPrimarySlide:r,isNotesViewer:o,isPresenter:i}=Nn();Ni({title:vn,htmlAttrs:U.htmlAttrs}),Sc(`${vn} - shared`),kc(`${vn} - drawings`);const a=`${location.origin}_${as()}`;function l(){o.value||!i.value&&!Hl.includes(location.host.split(":")[0])||(i.value?(ie("page",+s.value),ie("clicks",n.value.current),ie("clicksTotal",n.value.total)):(ie("viewerPage",+s.value),ie("viewerClicks",n.value.current),ie("viewerClicksTotal",n.value.total)),ie("lastUpdate",{id:a,type:i.value?"presenter":"viewer",time:new Date().getTime()}))}const c=fn();c.afterEach(l),st(n,l),Mc(u=>{var h;r.value&&((h=u.lastUpdate)==null?void 0:h.type)==="presenter"&&(+u.page!=+s.value||+n.value.current!=+u.clicks)&&(Xn.value=!1,c.replace({path:ge(u.page,i.value),query:{...c.currentRoute.value.query,clicks:u.clicks||0}}))})}const Tc=Lr({__name:"App",setup(e){return $c(),ve(()=>{for(const[t,n]of Object.entries(Wo.value))document.body.style.setProperty(t,n.toString())}),(t,n)=>{const s=$o("RouterView");return Ye(),To(s)}}}),Oc=[];function Bu(e,t=""){var r,o;const n=["slidev-page",t],s=(o=(r=e==null?void 0:e.meta)==null?void 0:r.slide)==null?void 0:o.no;return s!=null&&n.push(`slidev-page-${s}`),n.filter(Boolean).join(" ")}async function zu(){const{saveAs:e}=await S(async()=>{const{saveAs:t}=await import("./modules/file-saver-igGfcqei.js").then(n=>n.F);return{saveAs:t}},[]);e(typeof U.download=="string"?U.download:U.exportFilename?`${U.exportFilename}.pdf`:"/tuela24slidev-exported.pdf",`${U.title}.pdf`)}function ke(e,t,n){var s;return((s=e.instance)==null?void 0:s.$).provides[t]??n}function Lc(){return{install(e){e.directive("click",{name:"v-click",mounted(t,n){const s=Qe(t,n,n.value);s!=null&&(t.classList.toggle(qe,!0),t.dataset.slidevClicksStart=String(s.start),Number.isFinite(s.end)&&(t.dataset.slidevClicksEnd=String(s.end)),t.watchStopHandle=ve(()=>{const r=s.isActive.value,o=s.isCurrent.value,i=r&&!o;s.flagHide?(t.classList.toggle(s.flagFade?Te:$e,r),t.classList.toggle(wn,r)):t.classList.toggle(s.flagFade?Te:$e,!r),t.classList.toggle(bn,o),t.classList.toggle(Sn,i)}))},unmounted:Tn}),e.directive("after",{name:"v-after",mounted(t,n){const s=Qe(t,n,"+0");s!=null&&(t.classList.toggle(qe,!0),t.watchStopHandle=ve(()=>{const r=s.isActive.value,o=s.isCurrent.value,i=r&&!o;s.flagHide?(t.classList.toggle(s.flagFade?Te:$e,r),t.classList.toggle(wn,r)):t.classList.toggle(s.flagFade?Te:$e,!r),t.classList.toggle(bn,o),t.classList.toggle(Sn,i)}))},unmounted:Tn}),e.directive("click-hide",{name:"v-click-hide",mounted(t,n){const s=Qe(t,n,n.value,!0);s!=null&&(t.classList.toggle(qe,!0),t.watchStopHandle=ve(()=>{const r=s.isActive.value,o=s.isCurrent.value,i=r&&!o;t.classList.toggle(s.flagFade?Te:$e,r),t.classList.toggle(wn,r),t.classList.toggle(bn,o),t.classList.toggle(Sn,i)}))},unmounted:Tn})}}}const no=new Map;function Qe(e,t,n,s=!1){var h;const r=(h=ke(t,dn))==null?void 0:h.value;if(!e||!r)return null;const o=s||t.modifiers.hide!==!1&&t.modifiers.hide!=null,i=t.modifiers.fade!==!1&&t.modifiers.fade!=null,a=r.calculate(n);if(!a)return null;r.register(e,a);const l=b(()=>o?!a.isActive.value:a.isActive.value),c=b(()=>l.value?"shown":Number.isFinite(a.end)?r.current<a.start?"before":"after":o?"after":"before"),u={...a,isShown:l,visibilityState:c,flagFade:i,flagHide:o};return no.set(e,u),u}function Tn(e,t){var s,r;e.classList.toggle(qe,!1);const n=(s=ke(t,dn))==null?void 0:s.value;n==null||n.unregister(e),(r=e.watchStopHandle)==null||r.call(e)}const Wu=A(!1),qu=A(!1),Uu=A(!1),Pc=A(!1),Ju=A(!0),Ku=Oo({xs:460,...Co}),on=Lo(),Gu=Po(),Qu=b(()=>on.height.value-on.width.value/qo.value>120),Zu=Eo(Qn?document.body:null),so=Ao(),Yu=b(()=>{var e;return["INPUT","TEXTAREA"].includes(((e=so.value)==null?void 0:e.tagName)||"")}),Xu=b(()=>{var e;return["BUTTON","A"].includes(((e=so.value)==null?void 0:e.tagName)||"")});ot("slidev-camera","default",{listenToStorageChanges:!1});ot("slidev-mic","default",{listenToStorageChanges:!1});const Ec=ot("slidev-scale",0),tf=ot("slidev-wake-lock",!0),ef=ot("slidev-presenter-cursor",!0,{listenToStorageChanges:!1}),Ac=ot("slidev-show-editor",!1,{listenToStorageChanges:!1}),Dc=ot("slidev-editor-vertical",!1,{listenToStorageChanges:!1}),Cc=ot("slidev-editor-width",Qn?window.innerWidth*.4:318,{listenToStorageChanges:!1}),Ic=ot("slidev-editor-height",Qn?window.innerHeight*.4:300,{listenToStorageChanges:!1}),Ve=Gn(null),an=ot("slidev-presenter-font-size",1,{listenToStorageChanges:!1}),Fe=ot("slidev-presenter-layout",1,{listenToStorageChanges:!1});function nf(){Fe.value=Fe.value+1,Fe.value>2&&(Fe.value=1)}function sf(){an.value=Math.min(2,an.value+.1)}function rf(){an.value=Math.max(.5,an.value-.1)}const of=Do(Pc);function Rc(e=$r(Vr,A())){const t=Io(e),n=st([Ac,Dc,Cc,Ic,Ec,on.width,on.height],()=>{setTimeout(t.update,300)},{flush:"post",immediate:!0});return{...t,stop:n}}function Hc(e){return()=>{}}function Nc(e,t,n,s=!1){var Y;function r(j){return e?ke(e,j):No(j)}const o=r(Yn),i=r(Il)??{},a=r(Zn),l=b(()=>Hc(a.value)),c=r(Dl)??A(1),u=r(Rl)??A(1),{left:h,top:d,stop:f}=Rc(r(Vr)??A()),p=["slide","presenter"].includes(o.value);let g=e?"directive":"prop",y=as(),m;if(Array.isArray(t)?m=t:typeof t=="string"&&t.includes(",")?m=t.split(",").map(Number):t!=null&&(g="frontmatter",y=`${t}`,t=(Y=i==null?void 0:i.dragPos)==null?void 0:Y[y],m=t==null?void 0:t.split(",").map(Number)),g!=="frontmatter"&&!n)throw new Error("[Slidev] Can not identify the source position of the v-drag element, please provide an explicit `id` prop.");const v=[f],k=!s&&t!=null&&!Number.isFinite(m==null?void 0:m[3]);m??(m=[Number.NaN,Number.NaN,0]);const w=A(m[2]),E=A(m[0]+m[2]/2),$=A(s?0:m[4]??0),D=b(()=>$.value*Math.PI/180),R=b(()=>Math.sin(D.value)),x=b(()=>Math.cos(D.value)),J=A(),z=A({left:0,top:0,width:0,height:0}),C=A(0);function H(){if(!J.value)return;const j=J.value.getBoundingClientRect();z.value={left:j.left/u.value,top:j.top/u.value,width:j.width/u.value,height:j.height/u.value},C.value=(z.value.width+z.value.height)/c.value/(Math.abs(R.value)+Math.abs(x.value))-w.value}v.push(st(w,H,{flush:"post"}));const W=A(m[3]??0),I=k?b({get:()=>(k?C.value:W.value)||0,set:j=>!k&&(W.value=j)}):W,F=k?A(m[1]):A(m[1]+m[3]/2),it=k?b({get:()=>F.value+I.value/2,set:j=>F.value=j-I.value/2}):F,be=b(()=>Number.isFinite(E.value)?{position:"absolute",zIndex:100,left:`${E.value-w.value/2}px`,top:`${it.value-I.value/2}px`,width:`${w.value}px`,height:k?void 0:`${I.value}px`,transformOrigin:"center center",transform:`rotate(${$.value}deg)`}:{position:"absolute",zIndex:100});v.push(st([E,it,w,I,$],([j,ht,Se,Me,us])=>{let de=[j-Se/2,ht-Me/2,Se].map(Math.round).join();k?de+=g==="directive"?",NaN":",_":de+=`,${Math.round(Me)}`,Math.round(us)!==0&&(de+=`,${Math.round(us)}`),g==="directive"&&(de=`[${de}]`),l.value(y,de,g,n)}));const et={dragId:y,dataSource:g,markdownSource:n,isArrow:s,zoom:u,autoHeight:k,x0:E,y0:it,width:w,height:I,rotate:$,container:J,containerStyle:be,watchStopHandles:v,dragging:b(()=>Ve.value===et),mounted(){p&&(H(),t||setTimeout(()=>{H(),E.value=(z.value.left+z.value.width/2-h.value)/c.value,it.value=(z.value.top-d.value)/c.value,w.value=z.value.width/c.value,I.value=z.value.height/c.value},100))},unmounted(){p&&et.stopDragging()},startDragging(){H(),Ve.value=et},stopDragging(){Ve.value===et&&(Ve.value=null)}};return v.push(Ro(J,j=>{const ht=document.querySelector("#drag-control-container");ht&&j.target&&ht.contains(j.target)||et.stopDragging()}),st(Ho(),j=>{j||et.stopDragging()})),et}function xc(){return{install(e){e.directive("drag",{name:"v-drag",created(t,n,s){var o;const r=Nc(n,n.value,(o=s.props)==null?void 0:o.markdownSource);s.props&&(s.props={...s.props},delete s.props.markdownSource),r.container.value=t,t.draggingState=r,t.dataset.dragId=r.dragId,r.watchStopHandles.push(st(r.containerStyle,i=>{for(const[a,l]of Object.entries(i))l&&(t.style[a]=l)},{immediate:!0})),t.addEventListener("dblclick",r.startDragging)},mounted(t){t.draggingState.mounted()},unmounted(t){const n=t.draggingState;n.unmounted(),t.removeEventListener("dblclick",n.startDragging),n.watchStopHandles.forEach(s=>s())}})}}}function ro(){return Math.floor(Math.random()*2**31)}class jc{constructor(t){this.seed=t}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}}function Fn(e,t,n){if(e&&e.length){const[s,r]=t,o=Math.PI/180*n,i=Math.cos(o),a=Math.sin(o);for(const l of e){const[c,u]=l;l[0]=(c-s)*i-(u-r)*a+s,l[1]=(c-s)*a+(u-r)*i+r}}}function Vc(e,t,n){const s=[];e.forEach(r=>s.push(...r)),Fn(s,t,n)}function Fc(e,t){return e[0]===t[0]&&e[1]===t[1]}function Bc(e,t,n,s=1){const r=n,o=Math.max(t,.1),i=e[0]&&e[0][0]&&typeof e[0][0]=="number"?[e]:e,a=[0,0];if(r)for(const c of i)Fn(c,a,r);const l=zc(i,o,s);if(r){for(const c of i)Fn(c,a,-r);Vc(l,a,-r)}return l}function zc(e,t,n){const s=[];for(const c of e){const u=[...c];Fc(u[0],u[u.length-1])||u.push([u[0][0],u[0][1]]),u.length>2&&s.push(u)}const r=[];t=Math.max(t,.1);const o=[];for(const c of s)for(let u=0;u<c.length-1;u++){const h=c[u],d=c[u+1];if(h[1]!==d[1]){const f=Math.min(h[1],d[1]);o.push({ymin:f,ymax:Math.max(h[1],d[1]),x:f===h[1]?h[0]:d[0],islope:(d[0]-h[0])/(d[1]-h[1])})}}if(o.sort((c,u)=>c.ymin<u.ymin?-1:c.ymin>u.ymin?1:c.x<u.x?-1:c.x>u.x?1:c.ymax===u.ymax?0:(c.ymax-u.ymax)/Math.abs(c.ymax-u.ymax)),!o.length)return r;let i=[],a=o[0].ymin,l=0;for(;i.length||o.length;){if(o.length){let c=-1;for(let h=0;h<o.length&&!(o[h].ymin>a);h++)c=h;o.splice(0,c+1).forEach(h=>{i.push({s:a,edge:h})})}if(i=i.filter(c=>!(c.edge.ymax<=a)),i.sort((c,u)=>c.edge.x===u.edge.x?0:(c.edge.x-u.edge.x)/Math.abs(c.edge.x-u.edge.x)),(n!==1||l%t===0)&&i.length>1)for(let c=0;c<i.length;c=c+2){const u=c+1;if(u>=i.length)break;const h=i[c].edge,d=i[u].edge;r.push([[Math.round(h.x),a],[Math.round(d.x),a]])}a+=n,i.forEach(c=>{c.edge.x=c.edge.x+n*c.edge.islope}),l++}return r}function He(e,t){var n;const s=t.hachureAngle+90;let r=t.hachureGap;r<0&&(r=t.strokeWidth*4),r=Math.round(Math.max(r,.1));let o=1;return t.roughness>=1&&(((n=t.randomizer)===null||n===void 0?void 0:n.next())||Math.random())>.7&&(o=r),Bc(e,r,s,o||1)}class ls{constructor(t){this.helper=t}fillPolygons(t,n){return this._fillPolygons(t,n)}_fillPolygons(t,n){const s=He(t,n);return{type:"fillSketch",ops:this.renderLines(s,n)}}renderLines(t,n){const s=[];for(const r of t)s.push(...this.helper.doubleLineOps(r[0][0],r[0][1],r[1][0],r[1][1],n));return s}}function _n(e){const t=e[0],n=e[1];return Math.sqrt(Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2))}class Wc extends ls{fillPolygons(t,n){let s=n.hachureGap;s<0&&(s=n.strokeWidth*4),s=Math.max(s,.1);const r=Object.assign({},n,{hachureGap:s}),o=He(t,r),i=Math.PI/180*n.hachureAngle,a=[],l=s*.5*Math.cos(i),c=s*.5*Math.sin(i);for(const[h,d]of o)_n([h,d])&&a.push([[h[0]-l,h[1]+c],[...d]],[[h[0]+l,h[1]-c],[...d]]);return{type:"fillSketch",ops:this.renderLines(a,n)}}}class qc extends ls{fillPolygons(t,n){const s=this._fillPolygons(t,n),r=Object.assign({},n,{hachureAngle:n.hachureAngle+90}),o=this._fillPolygons(t,r);return s.ops=s.ops.concat(o.ops),s}}class Uc{constructor(t){this.helper=t}fillPolygons(t,n){n=Object.assign({},n,{hachureAngle:0});const s=He(t,n);return this.dotsOnLines(s,n)}dotsOnLines(t,n){const s=[];let r=n.hachureGap;r<0&&(r=n.strokeWidth*4),r=Math.max(r,.1);let o=n.fillWeight;o<0&&(o=n.strokeWidth/2);const i=r/4;for(const a of t){const l=_n(a),c=l/r,u=Math.ceil(c)-1,h=l-u*r,d=(a[0][0]+a[1][0])/2-r/4,f=Math.min(a[0][1],a[1][1]);for(let p=0;p<u;p++){const g=f+h+p*r,y=d-i+Math.random()*2*i,m=g-i+Math.random()*2*i,v=this.helper.ellipse(y,m,o,o,n);s.push(...v.ops)}}return{type:"fillSketch",ops:s}}}class Jc{constructor(t){this.helper=t}fillPolygons(t,n){const s=He(t,n);return{type:"fillSketch",ops:this.dashedLine(s,n)}}dashedLine(t,n){const s=n.dashOffset<0?n.hachureGap<0?n.strokeWidth*4:n.hachureGap:n.dashOffset,r=n.dashGap<0?n.hachureGap<0?n.strokeWidth*4:n.hachureGap:n.dashGap,o=[];return t.forEach(i=>{const a=_n(i),l=Math.floor(a/(s+r)),c=(a+r-l*(s+r))/2;let u=i[0],h=i[1];u[0]>h[0]&&(u=i[1],h=i[0]);const d=Math.atan((h[1]-u[1])/(h[0]-u[0]));for(let f=0;f<l;f++){const p=f*(s+r),g=p+s,y=[u[0]+p*Math.cos(d)+c*Math.cos(d),u[1]+p*Math.sin(d)+c*Math.sin(d)],m=[u[0]+g*Math.cos(d)+c*Math.cos(d),u[1]+g*Math.sin(d)+c*Math.sin(d)];o.push(...this.helper.doubleLineOps(y[0],y[1],m[0],m[1],n))}}),o}}class Kc{constructor(t){this.helper=t}fillPolygons(t,n){const s=n.hachureGap<0?n.strokeWidth*4:n.hachureGap,r=n.zigzagOffset<0?s:n.zigzagOffset;n=Object.assign({},n,{hachureGap:s+r});const o=He(t,n);return{type:"fillSketch",ops:this.zigzagLines(o,r,n)}}zigzagLines(t,n,s){const r=[];return t.forEach(o=>{const i=_n(o),a=Math.round(i/(2*n));let l=o[0],c=o[1];l[0]>c[0]&&(l=o[1],c=o[0]);const u=Math.atan((c[1]-l[1])/(c[0]-l[0]));for(let h=0;h<a;h++){const d=h*2*n,f=(h+1)*2*n,p=Math.sqrt(2*Math.pow(n,2)),g=[l[0]+d*Math.cos(u),l[1]+d*Math.sin(u)],y=[l[0]+f*Math.cos(u),l[1]+f*Math.sin(u)],m=[g[0]+p*Math.cos(u+Math.PI/4),g[1]+p*Math.sin(u+Math.PI/4)];r.push(...this.helper.doubleLineOps(g[0],g[1],m[0],m[1],s),...this.helper.doubleLineOps(m[0],m[1],y[0],y[1],s))}}),r}}const K={};function Gc(e,t){let n=e.fillStyle||"hachure";if(!K[n])switch(n){case"zigzag":K[n]||(K[n]=new Wc(t));break;case"cross-hatch":K[n]||(K[n]=new qc(t));break;case"dots":K[n]||(K[n]=new Uc(t));break;case"dashed":K[n]||(K[n]=new Jc(t));break;case"zigzag-line":K[n]||(K[n]=new Kc(t));break;case"hachure":default:n="hachure",K[n]||(K[n]=new ls(t));break}return K[n]}const Qc=0,Bn=1,oo=2,Be={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function Zc(e){const t=new Array;for(;e!=="";)if(e.match(/^([ \t\r\n,]+)/))e=e.substr(RegExp.$1.length);else if(e.match(/^([aAcChHlLmMqQsStTvVzZ])/))t[t.length]={type:Qc,text:RegExp.$1},e=e.substr(RegExp.$1.length);else if(e.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))t[t.length]={type:Bn,text:`${parseFloat(RegExp.$1)}`},e=e.substr(RegExp.$1.length);else return[];return t[t.length]={type:oo,text:""},t}function On(e,t){return e.type===t}function cs(e){const t=[],n=Zc(e);let s="BOD",r=0,o=n[r];for(;!On(o,oo);){let i=0;const a=[];if(s==="BOD")if(o.text==="M"||o.text==="m")r++,i=Be[o.text],s=o.text;else return cs("M0,0"+e);else On(o,Bn)?i=Be[s]:(r++,i=Be[o.text],s=o.text);if(r+i<n.length){for(let l=r;l<r+i;l++){const c=n[l];if(On(c,Bn))a[a.length]=+c.text;else throw new Error("Param not a number: "+s+","+c.text)}if(typeof Be[s]=="number"){const l={key:s,data:a};t.push(l),r+=i,o=n[r],s==="M"&&(s="L"),s==="m"&&(s="l")}else throw new Error("Bad segment: "+s)}else throw new Error("Path data ended short")}return t}function io(e){let t=0,n=0,s=0,r=0;const o=[];for(const{key:i,data:a}of e)switch(i){case"M":o.push({key:"M",data:[...a]}),[t,n]=a,[s,r]=a;break;case"m":t+=a[0],n+=a[1],o.push({key:"M",data:[t,n]}),s=t,r=n;break;case"L":o.push({key:"L",data:[...a]}),[t,n]=a;break;case"l":t+=a[0],n+=a[1],o.push({key:"L",data:[t,n]});break;case"C":o.push({key:"C",data:[...a]}),t=a[4],n=a[5];break;case"c":{const l=a.map((c,u)=>u%2?c+n:c+t);o.push({key:"C",data:l}),t=l[4],n=l[5];break}case"Q":o.push({key:"Q",data:[...a]}),t=a[2],n=a[3];break;case"q":{const l=a.map((c,u)=>u%2?c+n:c+t);o.push({key:"Q",data:l}),t=l[2],n=l[3];break}case"A":o.push({key:"A",data:[...a]}),t=a[5],n=a[6];break;case"a":t+=a[5],n+=a[6],o.push({key:"A",data:[a[0],a[1],a[2],a[3],a[4],t,n]});break;case"H":o.push({key:"H",data:[...a]}),t=a[0];break;case"h":t+=a[0],o.push({key:"H",data:[t]});break;case"V":o.push({key:"V",data:[...a]}),n=a[0];break;case"v":n+=a[0],o.push({key:"V",data:[n]});break;case"S":o.push({key:"S",data:[...a]}),t=a[2],n=a[3];break;case"s":{const l=a.map((c,u)=>u%2?c+n:c+t);o.push({key:"S",data:l}),t=l[2],n=l[3];break}case"T":o.push({key:"T",data:[...a]}),t=a[0],n=a[1];break;case"t":t+=a[0],n+=a[1],o.push({key:"T",data:[t,n]});break;case"Z":case"z":o.push({key:"Z",data:[]}),t=s,n=r;break}return o}function ao(e){const t=[];let n="",s=0,r=0,o=0,i=0,a=0,l=0;for(const{key:c,data:u}of e){switch(c){case"M":t.push({key:"M",data:[...u]}),[s,r]=u,[o,i]=u;break;case"C":t.push({key:"C",data:[...u]}),s=u[4],r=u[5],a=u[2],l=u[3];break;case"L":t.push({key:"L",data:[...u]}),[s,r]=u;break;case"H":s=u[0],t.push({key:"L",data:[s,r]});break;case"V":r=u[0],t.push({key:"L",data:[s,r]});break;case"S":{let h=0,d=0;n==="C"||n==="S"?(h=s+(s-a),d=r+(r-l)):(h=s,d=r),t.push({key:"C",data:[h,d,...u]}),a=u[0],l=u[1],s=u[2],r=u[3];break}case"T":{const[h,d]=u;let f=0,p=0;n==="Q"||n==="T"?(f=s+(s-a),p=r+(r-l)):(f=s,p=r);const g=s+2*(f-s)/3,y=r+2*(p-r)/3,m=h+2*(f-h)/3,v=d+2*(p-d)/3;t.push({key:"C",data:[g,y,m,v,h,d]}),a=f,l=p,s=h,r=d;break}case"Q":{const[h,d,f,p]=u,g=s+2*(h-s)/3,y=r+2*(d-r)/3,m=f+2*(h-f)/3,v=p+2*(d-p)/3;t.push({key:"C",data:[g,y,m,v,f,p]}),a=h,l=d,s=f,r=p;break}case"A":{const h=Math.abs(u[0]),d=Math.abs(u[1]),f=u[2],p=u[3],g=u[4],y=u[5],m=u[6];h===0||d===0?(t.push({key:"C",data:[s,r,y,m,y,m]}),s=y,r=m):(s!==y||r!==m)&&(lo(s,r,y,m,h,d,f,p,g).forEach(function(k){t.push({key:"C",data:k})}),s=y,r=m);break}case"Z":t.push({key:"Z",data:[]}),s=o,r=i;break}n=c}return t}function Yc(e){return Math.PI*e/180}function Oe(e,t,n){const s=e*Math.cos(n)-t*Math.sin(n),r=e*Math.sin(n)+t*Math.cos(n);return[s,r]}function lo(e,t,n,s,r,o,i,a,l,c){const u=Yc(i);let h=[],d=0,f=0,p=0,g=0;if(c)[d,f,p,g]=c;else{[e,t]=Oe(e,t,-u),[n,s]=Oe(n,s,-u);const C=(e-n)/2,H=(t-s)/2;let W=C*C/(r*r)+H*H/(o*o);W>1&&(W=Math.sqrt(W),r=W*r,o=W*o);const I=a===l?-1:1,F=r*r,it=o*o,be=F*it-F*H*H-it*C*C,et=F*H*H+it*C*C,Y=I*Math.sqrt(Math.abs(be/et));p=Y*r*H/o+(e+n)/2,g=Y*-o*C/r+(t+s)/2,d=Math.asin(parseFloat(((t-g)/o).toFixed(9))),f=Math.asin(parseFloat(((s-g)/o).toFixed(9))),e<p&&(d=Math.PI-d),n<p&&(f=Math.PI-f),d<0&&(d=Math.PI*2+d),f<0&&(f=Math.PI*2+f),l&&d>f&&(d=d-Math.PI*2),!l&&f>d&&(f=f-Math.PI*2)}let y=f-d;if(Math.abs(y)>Math.PI*120/180){const C=f,H=n,W=s;l&&f>d?f=d+Math.PI*120/180*1:f=d+Math.PI*120/180*-1,n=p+r*Math.cos(f),s=g+o*Math.sin(f),h=lo(n,s,H,W,r,o,i,0,l,[f,C,p,g])}y=f-d;const m=Math.cos(d),v=Math.sin(d),k=Math.cos(f),w=Math.sin(f),E=Math.tan(y/4),$=4/3*r*E,D=4/3*o*E,R=[e,t],x=[e+$*v,t-D*m],J=[n+$*w,s-D*k],z=[n,s];if(x[0]=2*R[0]-x[0],x[1]=2*R[1]-x[1],c)return[x,J,z].concat(h);{h=[x,J,z].concat(h);const C=[];for(let H=0;H<h.length;H+=3){const W=Oe(h[H][0],h[H][1],u),I=Oe(h[H+1][0],h[H+1][1],u),F=Oe(h[H+2][0],h[H+2][1],u);C.push([W[0],W[1],I[0],I[1],F[0],F[1]])}return C}}const Xc={randOffset:nu,randOffsetWithRange:su,ellipse:zn,doubleLineOps:ru};function X(e,t,n,s,r){return{type:"path",ops:dt(e,t,n,s,r)}}function De(e,t,n){const s=(e||[]).length;if(s>2){const r=[];for(let o=0;o<s-1;o++)r.push(...dt(e[o][0],e[o][1],e[o+1][0],e[o+1][1],n));return t&&r.push(...dt(e[s-1][0],e[s-1][1],e[0][0],e[0][1],n)),{type:"path",ops:r}}else if(s===2)return X(e[0][0],e[0][1],e[1][0],e[1][1],n);return{type:"path",ops:[]}}function tu(e,t){return De(e,!0,t)}function co(e,t,n,s,r){const o=[[e,t],[e+n,t],[e+n,t+s],[e,t+s]];return tu(o,r)}function gr(e,t){if(e.length){const s=typeof e[0][0]=="number"?[e]:e,r=ze(s[0],1*(1+t.roughness*.2),t),o=t.disableMultiStroke?[]:ze(s[0],1.5*(1+t.roughness*.22),_r(t));for(let i=1;i<s.length;i++){const a=s[i];if(a.length){const l=ze(a,1*(1+t.roughness*.2),t),c=t.disableMultiStroke?[]:ze(a,1.5*(1+t.roughness*.22),_r(t));for(const u of l)u.op!=="move"&&r.push(u);for(const u of c)u.op!=="move"&&o.push(u)}}return{type:"path",ops:r.concat(o)}}return{type:"path",ops:[]}}function zn(e,t,n,s,r){const o=uo(n,s,r);return Wn(e,t,r,o).opset}function uo(e,t,n){const s=Math.sqrt(Math.PI*2*Math.sqrt((Math.pow(e/2,2)+Math.pow(t/2,2))/2)),r=Math.ceil(Math.max(n.curveStepCount,n.curveStepCount/Math.sqrt(200)*s)),o=Math.PI*2/r;let i=Math.abs(e/2),a=Math.abs(t/2);const l=1-n.curveFitting;return i+=T(i*l,n),a+=T(a*l,n),{increment:o,rx:i,ry:a}}function Wn(e,t,n,s){const[r,o]=vr(s.increment,e,t,s.rx,s.ry,1,s.increment*ln(.1,ln(.4,1,n),n),n);let i=cn(r,null,n);if(!n.disableMultiStroke&&n.roughness!==0){const[a]=vr(s.increment,e,t,s.rx,s.ry,1.5,0,n),l=cn(a,null,n);i=i.concat(l)}return{estimatedPoints:o,opset:{type:"path",ops:i}}}function mr(e,t,n,s,r,o,i,a,l){const c=e,u=t;let h=Math.abs(n/2),d=Math.abs(s/2);h+=T(h*.01,l),d+=T(d*.01,l);let f=r,p=o;for(;f<0;)f+=Math.PI*2,p+=Math.PI*2;p-f>Math.PI*2&&(f=0,p=Math.PI*2);const g=Math.PI*2/l.curveStepCount,y=Math.min(g/2,(p-f)/2),m=kr(y,c,u,h,d,f,p,1,l);if(!l.disableMultiStroke){const v=kr(y,c,u,h,d,f,p,1.5,l);m.push(...v)}return i&&(a?m.push(...dt(c,u,c+h*Math.cos(f),u+d*Math.sin(f),l),...dt(c,u,c+h*Math.cos(p),u+d*Math.sin(p),l)):m.push({op:"lineTo",data:[c,u]},{op:"lineTo",data:[c+h*Math.cos(f),u+d*Math.sin(f)]})),{type:"path",ops:m}}function yr(e,t){const n=ao(io(cs(e))),s=[];let r=[0,0],o=[0,0];for(const{key:i,data:a}of n)switch(i){case"M":{o=[a[0],a[1]],r=[a[0],a[1]];break}case"L":s.push(...dt(o[0],o[1],a[0],a[1],t)),o=[a[0],a[1]];break;case"C":{const[l,c,u,h,d,f]=a;s.push(...ou(l,c,u,h,d,f,o,t)),o=[d,f];break}case"Z":s.push(...dt(o[0],o[1],r[0],r[1],t)),o=[r[0],r[1]];break}return{type:"path",ops:s}}function Ln(e,t){const n=[];for(const s of e)if(s.length){const r=t.maxRandomnessOffset||0,o=s.length;if(o>2){n.push({op:"move",data:[s[0][0]+T(r,t),s[0][1]+T(r,t)]});for(let i=1;i<o;i++)n.push({op:"lineTo",data:[s[i][0]+T(r,t),s[i][1]+T(r,t)]})}}return{type:"fillPath",ops:n}}function pe(e,t){return Gc(t,Xc).fillPolygons(e,t)}function eu(e,t,n,s,r,o,i){const a=e,l=t;let c=Math.abs(n/2),u=Math.abs(s/2);c+=T(c*.01,i),u+=T(u*.01,i);let h=r,d=o;for(;h<0;)h+=Math.PI*2,d+=Math.PI*2;d-h>Math.PI*2&&(h=0,d=Math.PI*2);const f=(d-h)/i.curveStepCount,p=[];for(let g=h;g<=d;g=g+f)p.push([a+c*Math.cos(g),l+u*Math.sin(g)]);return p.push([a+c*Math.cos(d),l+u*Math.sin(d)]),p.push([a,l]),pe([p],i)}function nu(e,t){return T(e,t)}function su(e,t,n){return ln(e,t,n)}function ru(e,t,n,s,r){return dt(e,t,n,s,r,!0)}function _r(e){const t=Object.assign({},e);return t.randomizer=void 0,e.seed&&(t.seed=e.seed+1),t}function fo(e){return e.randomizer||(e.randomizer=new jc(e.seed||0)),e.randomizer.next()}function ln(e,t,n,s=1){return n.roughness*s*(fo(n)*(t-e)+e)}function T(e,t,n=1){return ln(-e,e,t,n)}function dt(e,t,n,s,r,o=!1){const i=o?r.disableMultiStrokeFill:r.disableMultiStroke,a=qn(e,t,n,s,r,!0,!1);if(i)return a;const l=qn(e,t,n,s,r,!0,!0);return a.concat(l)}function qn(e,t,n,s,r,o,i){const a=Math.pow(e-n,2)+Math.pow(t-s,2),l=Math.sqrt(a);let c=1;l<200?c=1:l>500?c=.4:c=-.0016668*l+1.233334;let u=r.maxRandomnessOffset||0;u*u*100>a&&(u=l/10);const h=u/2,d=.2+fo(r)*.2;let f=r.bowing*r.maxRandomnessOffset*(s-t)/200,p=r.bowing*r.maxRandomnessOffset*(e-n)/200;f=T(f,r,c),p=T(p,r,c);const g=[],y=()=>T(h,r,c),m=()=>T(u,r,c),v=r.preserveVertices;return i?g.push({op:"move",data:[e+(v?0:y()),t+(v?0:y())]}):g.push({op:"move",data:[e+(v?0:T(u,r,c)),t+(v?0:T(u,r,c))]}),i?g.push({op:"bcurveTo",data:[f+e+(n-e)*d+y(),p+t+(s-t)*d+y(),f+e+2*(n-e)*d+y(),p+t+2*(s-t)*d+y(),n+(v?0:y()),s+(v?0:y())]}):g.push({op:"bcurveTo",data:[f+e+(n-e)*d+m(),p+t+(s-t)*d+m(),f+e+2*(n-e)*d+m(),p+t+2*(s-t)*d+m(),n+(v?0:m()),s+(v?0:m())]}),g}function ze(e,t,n){if(!e.length)return[];const s=[];s.push([e[0][0]+T(t,n),e[0][1]+T(t,n)]),s.push([e[0][0]+T(t,n),e[0][1]+T(t,n)]);for(let r=1;r<e.length;r++)s.push([e[r][0]+T(t,n),e[r][1]+T(t,n)]),r===e.length-1&&s.push([e[r][0]+T(t,n),e[r][1]+T(t,n)]);return cn(s,null,n)}function cn(e,t,n){const s=e.length,r=[];if(s>3){const o=[],i=1-n.curveTightness;r.push({op:"move",data:[e[1][0],e[1][1]]});for(let a=1;a+2<s;a++){const l=e[a];o[0]=[l[0],l[1]],o[1]=[l[0]+(i*e[a+1][0]-i*e[a-1][0])/6,l[1]+(i*e[a+1][1]-i*e[a-1][1])/6],o[2]=[e[a+1][0]+(i*e[a][0]-i*e[a+2][0])/6,e[a+1][1]+(i*e[a][1]-i*e[a+2][1])/6],o[3]=[e[a+1][0],e[a+1][1]],r.push({op:"bcurveTo",data:[o[1][0],o[1][1],o[2][0],o[2][1],o[3][0],o[3][1]]})}}else s===3?(r.push({op:"move",data:[e[1][0],e[1][1]]}),r.push({op:"bcurveTo",data:[e[1][0],e[1][1],e[2][0],e[2][1],e[2][0],e[2][1]]})):s===2&&r.push(...qn(e[0][0],e[0][1],e[1][0],e[1][1],n,!0,!0));return r}function vr(e,t,n,s,r,o,i,a){const l=a.roughness===0,c=[],u=[];if(l){e=e/4,u.push([t+s*Math.cos(-e),n+r*Math.sin(-e)]);for(let h=0;h<=Math.PI*2;h=h+e){const d=[t+s*Math.cos(h),n+r*Math.sin(h)];c.push(d),u.push(d)}u.push([t+s*Math.cos(0),n+r*Math.sin(0)]),u.push([t+s*Math.cos(e),n+r*Math.sin(e)])}else{const h=T(.5,a)-Math.PI/2;u.push([T(o,a)+t+.9*s*Math.cos(h-e),T(o,a)+n+.9*r*Math.sin(h-e)]);const d=Math.PI*2+h-.01;for(let f=h;f<d;f=f+e){const p=[T(o,a)+t+s*Math.cos(f),T(o,a)+n+r*Math.sin(f)];c.push(p),u.push(p)}u.push([T(o,a)+t+s*Math.cos(h+Math.PI*2+i*.5),T(o,a)+n+r*Math.sin(h+Math.PI*2+i*.5)]),u.push([T(o,a)+t+.98*s*Math.cos(h+i),T(o,a)+n+.98*r*Math.sin(h+i)]),u.push([T(o,a)+t+.9*s*Math.cos(h+i*.5),T(o,a)+n+.9*r*Math.sin(h+i*.5)])}return[u,c]}function kr(e,t,n,s,r,o,i,a,l){const c=o+T(.1,l),u=[];u.push([T(a,l)+t+.9*s*Math.cos(c-e),T(a,l)+n+.9*r*Math.sin(c-e)]);for(let h=c;h<=i;h=h+e)u.push([T(a,l)+t+s*Math.cos(h),T(a,l)+n+r*Math.sin(h)]);return u.push([t+s*Math.cos(i),n+r*Math.sin(i)]),u.push([t+s*Math.cos(i),n+r*Math.sin(i)]),cn(u,null,l)}function ou(e,t,n,s,r,o,i,a){const l=[],c=[a.maxRandomnessOffset||1,(a.maxRandomnessOffset||1)+.3];let u=[0,0];const h=a.disableMultiStroke?1:2,d=a.preserveVertices;for(let f=0;f<h;f++)f===0?l.push({op:"move",data:[i[0],i[1]]}):l.push({op:"move",data:[i[0]+(d?0:T(c[0],a)),i[1]+(d?0:T(c[0],a))]}),u=d?[r,o]:[r+T(c[f],a),o+T(c[f],a)],l.push({op:"bcurveTo",data:[e+T(c[f],a),t+T(c[f],a),n+T(c[f],a),s+T(c[f],a),u[0],u[1]]});return l}function Le(e){return[...e]}function wr(e,t=0){const n=e.length;if(n<3)throw new Error("A curve must have at least three points.");const s=[];if(n===3)s.push(Le(e[0]),Le(e[1]),Le(e[2]),Le(e[2]));else{const r=[];r.push(e[0],e[0]);for(let a=1;a<e.length;a++)r.push(e[a]),a===e.length-1&&r.push(e[a]);const o=[],i=1-t;s.push(Le(r[0]));for(let a=1;a+2<r.length;a++){const l=r[a];o[0]=[l[0],l[1]],o[1]=[l[0]+(i*r[a+1][0]-i*r[a-1][0])/6,l[1]+(i*r[a+1][1]-i*r[a-1][1])/6],o[2]=[r[a+1][0]+(i*r[a][0]-i*r[a+2][0])/6,r[a+1][1]+(i*r[a][1]-i*r[a+2][1])/6],o[3]=[r[a+1][0],r[a+1][1]],s.push(o[1],o[2],o[3])}}return s}function iu(e,t){return Math.sqrt(Ze(e,t))}function Ze(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)}function au(e,t,n){const s=Ze(t,n);if(s===0)return Ze(e,t);let r=((e[0]-t[0])*(n[0]-t[0])+(e[1]-t[1])*(n[1]-t[1]))/s;return r=Math.max(0,Math.min(1,r)),Ze(e,le(t,n,r))}function le(e,t,n){return[e[0]+(t[0]-e[0])*n,e[1]+(t[1]-e[1])*n]}function lu(e,t){const n=e[t+0],s=e[t+1],r=e[t+2],o=e[t+3];let i=3*s[0]-2*n[0]-o[0];i*=i;let a=3*s[1]-2*n[1]-o[1];a*=a;let l=3*r[0]-2*o[0]-n[0];l*=l;let c=3*r[1]-2*o[1]-n[1];return c*=c,i<l&&(i=l),a<c&&(a=c),i+a}function Un(e,t,n,s){const r=s||[];if(lu(e,t)<n){const o=e[t+0];r.length?iu(r[r.length-1],o)>1&&r.push(o):r.push(o),r.push(e[t+3])}else{const i=e[t+0],a=e[t+1],l=e[t+2],c=e[t+3],u=le(i,a,.5),h=le(a,l,.5),d=le(l,c,.5),f=le(u,h,.5),p=le(h,d,.5),g=le(f,p,.5);Un([i,u,f,g],0,n,r),Un([g,p,d,c],0,n,r)}return r}function cu(e,t){return un(e,0,e.length,t)}function un(e,t,n,s,r){const o=r||[],i=e[t],a=e[n-1];let l=0,c=1;for(let u=t+1;u<n-1;++u){const h=au(e[u],i,a);h>l&&(l=h,c=u)}return Math.sqrt(l)>s?(un(e,t,c+1,s,o),un(e,c,n,s,o)):(o.length||o.push(i),o.push(a)),o}function Jn(e,t=.15,n){const s=[],r=(e.length-1)/3;for(let o=0;o<r;o++){const i=o*3;Un(e,i,t,s)}return n&&n>0?un(s,0,s.length,n):s}function uu(e,t,n){const s=cs(e),r=ao(io(s)),o=[];let i=[],a=[0,0],l=[];const c=()=>{l.length>=4&&i.push(...Jn(l,t)),l=[]},u=()=>{c(),i.length&&(o.push(i),i=[])};for(const{key:d,data:f}of r)switch(d){case"M":u(),a=[f[0],f[1]],i.push(a);break;case"L":c(),i.push([f[0],f[1]]);break;case"C":if(!l.length){const p=i.length?i[i.length-1]:a;l.push([p[0],p[1]])}l.push([f[0],f[1]]),l.push([f[2],f[3]]),l.push([f[4],f[5]]);break;case"Z":c(),i.push([a[0],a[1]]);break}if(u(),!n)return o;const h=[];for(const d of o){const f=cu(d,n);f.length&&h.push(f)}return h}const Q="none";class fu{constructor(t){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=t||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return ro()}_o(t){return t?Object.assign({},this.defaultOptions,t):this.defaultOptions}_d(t,n,s){return{shape:t,sets:n||[],options:s||this.defaultOptions}}line(t,n,s,r,o){const i=this._o(o);return this._d("line",[X(t,n,s,r,i)],i)}rectangle(t,n,s,r,o){const i=this._o(o),a=[],l=co(t,n,s,r,i);if(i.fill){const c=[[t,n],[t+s,n],[t+s,n+r],[t,n+r]];i.fillStyle==="solid"?a.push(Ln([c],i)):a.push(pe([c],i))}return i.stroke!==Q&&a.push(l),this._d("rectangle",a,i)}ellipse(t,n,s,r,o){const i=this._o(o),a=[],l=uo(s,r,i),c=Wn(t,n,i,l);if(i.fill)if(i.fillStyle==="solid"){const u=Wn(t,n,i,l).opset;u.type="fillPath",a.push(u)}else a.push(pe([c.estimatedPoints],i));return i.stroke!==Q&&a.push(c.opset),this._d("ellipse",a,i)}circle(t,n,s,r){const o=this.ellipse(t,n,s,s,r);return o.shape="circle",o}linearPath(t,n){const s=this._o(n);return this._d("linearPath",[De(t,!1,s)],s)}arc(t,n,s,r,o,i,a=!1,l){const c=this._o(l),u=[],h=mr(t,n,s,r,o,i,a,!0,c);if(a&&c.fill)if(c.fillStyle==="solid"){const d=Object.assign({},c);d.disableMultiStroke=!0;const f=mr(t,n,s,r,o,i,!0,!1,d);f.type="fillPath",u.push(f)}else u.push(eu(t,n,s,r,o,i,c));return c.stroke!==Q&&u.push(h),this._d("arc",u,c)}curve(t,n){const s=this._o(n),r=[],o=gr(t,s);if(s.fill&&s.fill!==Q)if(s.fillStyle==="solid"){const i=gr(t,Object.assign(Object.assign({},s),{disableMultiStroke:!0,roughness:s.roughness?s.roughness+s.fillShapeRoughnessGain:0}));r.push({type:"fillPath",ops:this._mergedShape(i.ops)})}else{const i=[],a=t;if(a.length){const c=typeof a[0][0]=="number"?[a]:a;for(const u of c)u.length<3?i.push(...u):u.length===3?i.push(...Jn(wr([u[0],u[0],u[1],u[2]]),10,(1+s.roughness)/2)):i.push(...Jn(wr(u),10,(1+s.roughness)/2))}i.length&&r.push(pe([i],s))}return s.stroke!==Q&&r.push(o),this._d("curve",r,s)}polygon(t,n){const s=this._o(n),r=[],o=De(t,!0,s);return s.fill&&(s.fillStyle==="solid"?r.push(Ln([t],s)):r.push(pe([t],s))),s.stroke!==Q&&r.push(o),this._d("polygon",r,s)}path(t,n){const s=this._o(n),r=[];if(!t)return this._d("path",r,s);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const o=s.fill&&s.fill!=="transparent"&&s.fill!==Q,i=s.stroke!==Q,a=!!(s.simplification&&s.simplification<1),l=a?4-4*(s.simplification||1):(1+s.roughness)/2,c=uu(t,1,l),u=yr(t,s);if(o)if(s.fillStyle==="solid")if(c.length===1){const h=yr(t,Object.assign(Object.assign({},s),{disableMultiStroke:!0,roughness:s.roughness?s.roughness+s.fillShapeRoughnessGain:0}));r.push({type:"fillPath",ops:this._mergedShape(h.ops)})}else r.push(Ln(c,s));else r.push(pe(c,s));return i&&(a?c.forEach(h=>{r.push(De(h,!1,s))}):r.push(u)),this._d("path",r,s)}opsToPath(t,n){let s="";for(const r of t.ops){const o=typeof n=="number"&&n>=0?r.data.map(i=>+i.toFixed(n)):r.data;switch(r.op){case"move":s+=`M${o[0]} ${o[1]} `;break;case"bcurveTo":s+=`C${o[0]} ${o[1]}, ${o[2]} ${o[3]}, ${o[4]} ${o[5]} `;break;case"lineTo":s+=`L${o[0]} ${o[1]} `;break}}return s.trim()}toPaths(t){const n=t.sets||[],s=t.options||this.defaultOptions,r=[];for(const o of n){let i=null;switch(o.type){case"path":i={d:this.opsToPath(o),stroke:s.stroke,strokeWidth:s.strokeWidth,fill:Q};break;case"fillPath":i={d:this.opsToPath(o),stroke:Q,strokeWidth:0,fill:s.fill||Q};break;case"fillSketch":i=this.fillSketch(o,s);break}i&&r.push(i)}return r}fillSketch(t,n){let s=n.fillWeight;return s<0&&(s=n.strokeWidth/2),{d:this.opsToPath(t),stroke:n.fill||Q,strokeWidth:s,fill:Q}}_mergedShape(t){return t.filter((n,s)=>s===0?!0:n.op!=="move")}}const ho="http://www.w3.org/2000/svg",du=800;let Pn=null;function hu(){return Pn||(Pn=new fu().defaultOptions),Pn}function En(e,t,n){return{...hu(),maxRandomnessOffset:2,roughness:e==="highlight"?3:1.5,bowing:1,stroke:"#000",strokeWidth:1.5,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,disableMultiStroke:e!=="double",disableMultiStrokeFill:!1,seed:t,...n}}function pu(e){const t=e.padding;if(t||t===0){if(typeof t=="number")return[t,t,t,t];if(Array.isArray(t)){const n=t;if(n.length)switch(n.length){case 4:return[...n];case 1:return[n[0],n[0],n[0],n[0]];case 2:return[...n,...n];case 3:return[...n,n[1]];default:return[n[0],n[1],n[2],n[3]]}}}return[5,5,5,5]}function gu(e,t,n,s,r,o){const i=[];let a=n.strokeWidth||2;const l=pu(n),c=n.animate===void 0?!0:!!n.animate,u=n.iterations||2,h=n.rtl?1:0,d=En("single",o,n);switch(n.type){case"underline":{const f=t.y+t.h+l[2];for(let p=h;p<u+h;p++)p%2?i.push(X(t.x+t.w,f,t.x,f,d)):i.push(X(t.x,f,t.x+t.w,f,d));break}case"strike-through":{const f=t.y+t.h/2;for(let p=h;p<u+h;p++)p%2?i.push(X(t.x+t.w,f,t.x,f,d)):i.push(X(t.x,f,t.x+t.w,f,d));break}case"box":{const f=t.x-l[3],p=t.y-l[0],g=t.w+(l[1]+l[3]),y=t.h+(l[0]+l[2]);for(let m=0;m<u;m++)i.push(co(f,p,g,y,d));break}case"bracket":{const f=Array.isArray(n.brackets)?n.brackets:n.brackets?[n.brackets]:["right"],p=t.x-l[3]*2,g=t.x+t.w+l[1]*2,y=t.y-l[0]*2,m=t.y+t.h+l[2]*2;for(const v of f){let k;switch(v){case"bottom":k=[[p,t.y+t.h],[p,m],[g,m],[g,t.y+t.h]];break;case"top":k=[[p,t.y],[p,y],[g,y],[g,t.y]];break;case"left":k=[[t.x,y],[p,y],[p,m],[t.x,m]];break;case"right":k=[[t.x+t.w,y],[g,y],[g,m],[t.x+t.w,m]];break}k&&i.push(De(k,!1,d))}break}case"crossed-off":{const f=t.x,p=t.y,g=f+t.w,y=p+t.h;for(let m=h;m<u+h;m++)m%2?i.push(X(g,y,f,p,d)):i.push(X(f,p,g,y,d));for(let m=h;m<u+h;m++)m%2?i.push(X(f,y,g,p,d)):i.push(X(g,p,f,y,d));break}case"circle":{const f=En("double",o,n),p=t.w+(l[1]+l[3]),g=t.h+(l[0]+l[2]),y=t.x-l[3]+p/2,m=t.y-l[0]+g/2,v=Math.floor(u/2),k=u-v*2;for(let w=0;w<v;w++)i.push(zn(y,m,p,g,f));for(let w=0;w<k;w++)i.push(zn(y,m,p,g,d));break}case"highlight":{const f=En("highlight",o,n);a=t.h*.95;const p=t.y+t.h/2;for(let g=h;g<u+h;g++)g%2?i.push(X(t.x+t.w,p,t.x,p,f)):i.push(X(t.x,p,t.x+t.w,p,f));break}}if(i.length){const f=mu(i),p=[],g=[];let y=0;const m=(v,k,w)=>v.setAttribute(k,w);for(const v of f){const k=document.createElementNS(ho,"path");if(m(k,"d",v),m(k,"fill","none"),m(k,"stroke",n.color||"currentColor"),m(k,"stroke-width",`${a}`),n.opacity!==void 0&&m(k,"style",`opacity:${n.opacity}`),c){const w=k.getTotalLength();p.push(w),y+=w}e.appendChild(k),g.push(k)}if(c){let v=0;for(let k=0;k<g.length;k++){const w=g[k],E=p[k],$=y?r*(E/y):0,D=s+v,R=w.style;R.strokeDashoffset=`${E}`,R.strokeDasharray=`${E}`,R.animation=`rough-notation-dash ${$}ms ease-out ${D}ms forwards`,v+=$}return br(r+s)}}return br(0)}function br(e){return new Promise(t=>setTimeout(t,e))}function mu(e){const t=[];for(const n of e){let s="";for(const r of n.ops){const o=r.data;switch(r.op){case"move":s.trim()&&t.push(s.trim()),s=`M${o[0]} ${o[1]} `;break;case"bcurveTo":s+=`C${o[0]} ${o[1]}, ${o[2]} ${o[3]}, ${o[4]} ${o[5]} `;break;case"lineTo":s+=`L${o[0]} ${o[1]} `;break}}s.trim()&&t.push(s.trim())}return t}function yu(){if(!window.__rno_kf_s){const e=window.__rno_kf_s=document.createElement("style");e.textContent="@keyframes rough-notation-dash { to { stroke-dashoffset: 0; } }",document.head.appendChild(e)}}var _u=Object.defineProperty,vu=(e,t,n)=>t in e?_u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nt=(e,t,n)=>(vu(e,typeof t!="symbol"?t+"":t,n),n);class ku{constructor(t,n){nt(this,"_state","unattached"),nt(this,"_config"),nt(this,"_resizing",!1),nt(this,"_ro"),nt(this,"_seed",ro()),nt(this,"_e"),nt(this,"_svg"),nt(this,"_lastSizes",[]),nt(this,"_animationDelay",0),nt(this,"_resizeListener",()=>{this._resizing||(this._resizing=!0,setTimeout(()=>{this._resizing=!1,this._state==="showing"&&this.haveRectsChanged()&&this.show()},400))}),nt(this,"pendingRefresh"),this._e=t,this._config=JSON.parse(JSON.stringify(n)),this.attach()}getConfig(t){return this._config[t]}setConfig(t,n){this._config[t]!==n&&(this._config[t]=n,this.refresh())}get animate(){return this._config.animate}set animate(t){this._config.animate=t}get animationDuration(){return this._config.animationDuration}set animationDuration(t){this._config.animationDuration=t}get iterations(){return this._config.iterations}set iterations(t){this._config.iterations=t}get color(){return this._config.color}set color(t){this._config.color!==t&&(this._config.color=t,this.refresh())}get class(){return this._config.class}set class(t){this._config.class!==t&&(this._config.class=t,this._svg&&this._svg.setAttribute("class",["rough-annotation",this._config.class||""].filter(Boolean).join(" ")))}get strokeWidth(){return this._config.strokeWidth}set strokeWidth(t){this._config.strokeWidth!==t&&(this._config.strokeWidth=t,this.refresh())}get padding(){return this._config.padding}set padding(t){this._config.padding!==t&&(this._config.padding=t,this.refresh())}attach(){if(this._state==="unattached"&&this._e.parentElement){yu();const t=this._svg=document.createElementNS(ho,"svg");t.setAttribute("class",["rough-annotation",this._config.class||""].filter(Boolean).join(" "));const n=t.style;n.position="absolute",n.top="0",n.left="0",n.overflow="visible",n.pointerEvents="none",n.width="100px",n.height="100px";const s=this._config.type==="highlight";if(this._e.insertAdjacentElement(s?"beforebegin":"afterend",t),this._state="not-showing",s){const r=window.getComputedStyle(this._e).position;(!r||r==="static")&&(this._e.style.position="relative")}this.attachListeners()}}detachListeners(){window.removeEventListener("resize",this._resizeListener),this._ro&&this._ro.unobserve(this._e)}attachListeners(){this.detachListeners(),window.addEventListener("resize",this._resizeListener,{passive:!0}),!this._ro&&"ResizeObserver"in window&&(this._ro=new window.ResizeObserver(t=>{for(const n of t)n.contentRect&&this._resizeListener()})),this._ro&&this._ro.observe(this._e)}haveRectsChanged(){if(this._lastSizes.length){const t=this.rects();if(t.length===this._lastSizes.length){for(let n=0;n<t.length;n++)if(!this.isSameRect(t[n],this._lastSizes[n]))return!0}else return!0}return!1}isSameRect(t,n){const s=(r,o)=>Math.round(r)===Math.round(o);return s(t.x,n.x)&&s(t.y,n.y)&&s(t.w,n.w)&&s(t.h,n.h)}isShowing(){return this._state!=="not-showing"}refresh(){this.isShowing()&&!this.pendingRefresh&&(this.pendingRefresh=Promise.resolve().then(()=>{this.isShowing()&&this.show(),delete this.pendingRefresh}))}async show(){switch(this._state){case"unattached":break;case"showing":this.hide(),this._svg&&await this.render(this._svg,!0);break;case"not-showing":this.attach(),this._svg&&await this.render(this._svg,!1);break}}hide(){if(this._svg)for(;this._svg.lastChild;)this._svg.removeChild(this._svg.lastChild);this._state="not-showing"}remove(){this._svg&&this._svg.parentElement&&this._svg.parentElement.removeChild(this._svg),this._svg=void 0,this._state="unattached",this.detachListeners()}async render(t,n){let s=this._config;n&&(s=JSON.parse(JSON.stringify(this._config)),s.animate=!1);const r=this.rects();let o=0;r.forEach(c=>o+=c.w);const i=s.animationDuration||du;let a=0;const l=[];for(let c=0;c<r.length;c++){const u=r[c],h=i*(u.w/o);l.push(gu(t,r[c],s,a+this._animationDelay+(this._config.delay||0),h,this._seed)),a+=h}return this._lastSizes=r,this._state="showing",await Promise.all(l)}rects(){const t=[];if(this._svg)if(this._config.multiline){const n=this._e.getClientRects();for(let s=0;s<n.length;s++)t.push(this.svgRect(this._svg,n[s]))}else t.push(this.svgRect(this._svg,this._e.getBoundingClientRect()));return t}svgRect(t,n){const s=t.getBoundingClientRect(),r=n;return{x:(r.x||r.left)-(s.x||s.left),y:(r.y||r.top)-(s.y||s.top),w:r.width,h:r.height}}}function wu(e,t){return new ku(e,t)}function G(e,t){return e.class=[e.class,t].filter(Boolean).join(" "),e}const Sr={box:e=>Object.assign(e,{type:"box"}),circle:e=>Object.assign(e,{type:"circle"}),underline:e=>Object.assign(e,{type:"underline"}),highlight:e=>Object.assign(e,{type:"highlight"}),"strike-through":e=>Object.assign(e,{type:"strike-through"}),"crossed-off":e=>Object.assign(e,{type:"crossed-off"}),bracket:e=>Object.assign(e,{type:"bracket"}),strike:e=>Object.assign(e,{type:"strike-through"}),cross:e=>Object.assign(e,{type:"crossed-off"}),crossed:e=>Object.assign(e,{type:"crossed-off"}),linethrough:e=>Object.assign(e,{type:"strike-through"}),"line-through":e=>Object.assign(e,{type:"strike-through"}),black:e=>G(e,"text-black"),blue:e=>G(e,"text-blue"),cyan:e=>G(e,"text-cyan"),gray:e=>G(e,"text-gray"),green:e=>G(e,"text-green"),indigo:e=>G(e,"text-indigo"),lime:e=>G(e,"text-lime"),orange:e=>G(e,"text-orange"),pink:e=>G(e,"text-pink"),purple:e=>G(e,"text-purple"),red:e=>G(e,"text-red"),teal:e=>G(e,"text-teal"),white:e=>G(e,"text-white"),yellow:e=>G(e,"text-yellow")},bu=[[/^delay-?(\d+)?$/,(e,t,n)=>{const s=(e[1]?Number.parseInt(e[1]):n)||300;return t.delay=s,t}],[/^(?:op|opacity)-?(\d+)?$/,(e,t,n)=>{const s=(e[1]?Number.parseInt(e[1]):n)||100;return t.opacity=s/100,t}]];function Su(){return{install(e){e.directive("mark",{name:"v-mark",mounted:(t,n)=>{const s=b(()=>{const i=typeof n.value=="object"&&!Array.isArray(n.value)?{...n.value}:{at:n.value};let a={at:i.at};const l=Object.entries(n.modifiers).filter(([u,h])=>{if(Sr[u])return a=Sr[u](a,h),!1;for(const[d,f]of bu){const p=u.match(d);if(p)return a=f(p,a,h),!1}return!0});l.length&&console.warn("[Slidev] Invalid modifiers for v-mark:",l);const c={...a,...i};return c.type||(c.type="underline"),c}),r=wu(t,s.value),o=Qe(t,n,s.value.at);if(!o){r.show();return}t.watchStopHandle=ve(()=>{let i;s.value.class&&(r.class=s.value.class),s.value.color&&(r.color=s.value.color);const a=s.value.at;a===!0?i=!0:a===!1?i=!1:i=o.isActive.value,i!=null&&(i?r.show():r.hide())})},unmounted:t=>{var n;(n=t.watchStopHandle)==null||n.call(t)}})}}}function Mu(){return{install(e){const t=xo();e.directive("motion",{name:"v-motion",mounted(n,s,r,o){var k,w,E;const i=ke(s,dn),a=ke(s,Zn),l=ke(s,Yn),{currentPage:c,clicks:u,isPrintMode:h}=Nn(),d=r.props={...r.props},f={...d.initial,...(k=d.variants)==null?void 0:k["slidev-initial"]},p={...d.enter,...(w=d.variants)==null?void 0:w["slidev-enter"]},g={...d.leave,...(E=d.variants)==null?void 0:E["slidev-leave"]};delete d.initial,delete d.enter,delete d.leave;const y=`${as()}-`,m=[];for(const $ of Object.keys(d))if($.startsWith("click-")){const D=$.slice(6),R=D.includes("-")?D.split("-").map(Number):+D,x=y+D;m.push({id:x,at:R,variant:{...d[$]},info:i==null?void 0:i.value.calculate(R)}),delete d[$]}m.sort(($,D)=>(Array.isArray($.at)?$.at[0]:$.at)-(Array.isArray(D.at)?D.at[0]:D.at)),t.created(n,s,r,o),t.mounted(n,s,r,o);const v=n.motionInstance;v.clickIds=m.map($=>$.id),v.set(f),v.watchStopHandle=st([a,c,u].filter(Boolean),()=>{var D;const $=((D=no.get(n))==null?void 0:D.visibilityState.value)??"shown";if(!(i!=null&&i.value)||!["slide","presenter"].includes((l==null?void 0:l.value)??"")){const R={...f,...p};for(const{variant:x}of m)Object.assign(R,x);v.set(R)}else if(h.value||(a==null?void 0:a.value)===c.value)if($==="shown"){const R={...f,...p};for(const{variant:x,info:J}of m)(!J||J.isActive.value)&&Object.assign(R,x);h.value?v.set(R):v.apply(R)}else v.apply($==="before"?f:g);else v.apply(((a==null?void 0:a.value)??-1)>c.value?f:g)},{immediate:!0})},unmounted(n){n.motionInstance.watchStopHandle()}})}}}const $u=[];function Tu(){const e=[];{let t=function(n){if(!U.remote||U.remote===n.query.password)return!0;if(U.remote&&n.query.password===void 0){const s=prompt("Enter password");if(U.remote===s)return!0}return n.params.no?{path:`/${n.params.no}`}:{path:""}};e.push({name:"entry",path:"/entry",component:()=>S(()=>import("./slidev/entry-BuL9-yYF.js"),__vite__mapDeps([61,21,1,4,5,6,7,8,62]))},{name:"overview",path:"/overview",component:()=>S(()=>import("./slidev/overview-1yejmVit.js"),__vite__mapDeps([63,21,1,4,5,6,64,65,66,67,68,7,8]))},{name:"notes",path:"/notes",component:()=>S(()=>import("./slidev/notes-DJw_rOv3.js"),__vite__mapDeps([69,21,1,4,5,6,64,65,68,7,8])),beforeEnter:t},{name:"presenter",path:"/presenter/:no",component:()=>S(()=>import("./slidev/presenter-DtNW9EJv.js"),__vite__mapDeps([70,21,1,66,4,5,6,67,71,3,68,7,8,72,64,65,73,74,75])),beforeEnter:t},{path:"/presenter",redirect:{path:"/presenter/1"}})}return e.push({name:"play",path:"/:no",component:()=>S(()=>import("./slidev/play-D87vDAm9.js"),__vite__mapDeps([76,1,66,4,5,6,67,71,21,3,68,7,8,72,77]))},{path:"",redirect:{path:"/1"}},{path:"/:pathMatch(.*)*",name:"NotFound",component:()=>S(()=>import("./slidev/404-36mg7bFt.js"),__vite__mapDeps([78,1,4,5,6,7,8,79]))}),$u.reduce((t,n)=>n(t),e)}async function Ou(e){function t(){document.documentElement.style.setProperty("--vh",`${window.innerHeight*.01}px`)}t(),window.addEventListener("resize",t);const n=jo({history:Vo("/tuela24"),routes:Tu()});e.use(n),e.use(Ri()),e.use(Lc()),e.use(Su()),e.use(xc()),e.use(Mu()),e.use(Uo,{container:"#twoslash-container"});const s={app:e,router:n};for(const r of Oc)await r(s)}const po=Fo(Tc);Ou(po);po.mount("#app");export{Bu as $,zu as A,at as B,Ue as C,Pc as D,hn as E,Dl as F,Rc as G,Gu as H,Xn as I,Ve as J,Ju as K,Xu as L,Yu as M,ju as N,xu as O,Hu as P,tt as Q,to as R,eo as S,Vr as T,Du as U,Il as V,Zn as W,Yn as X,dn as Y,Rl as Z,Fi as _,Nn as a,Cl as a0,Cu as a1,Nl as a2,as as a3,Hn as a4,$e as a5,Ru as a6,jr as b,Vi as c,Iu as d,ef as e,Zu as f,ge as g,Ac as h,an as i,sf as j,rf as k,Wu as l,qu as m,Qu as n,Dc as o,Fe as p,tf as q,Uu as r,Fu as s,of as t,Ni as u,so as v,on as w,Ec as x,Ku as y,nf as z};