1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/md-C8aQRBw2.js","assets/modules/vue-BD66erCc.js","assets/cover.vue_vue_type_script_setup_true_lang-C3DnQnS7.js","assets/layoutHelper-BIzhvCzC.js","assets/runzero-BdCy4q_E.js","assets/modules/shiki-DcdSMs70.js","assets/modules/shiki-Bxv373Z5.css","assets/slidev/md-KGaD9vOs.js","assets/bellingcat-DeF6B3Km.js","assets/slidev/layoutHelper-mwf7wCcG.js","assets/slidev/md-BwzfG5RZ.js","assets/slidev/VClick-CS6tg2nJ.js","assets/md-DIq2NtWD.js","assets/section.vue_vue_type_script_setup_true_lang-Crkcd9am.js","assets/md-D6RcXRZf.js","assets/slidev/default-CL5FHm58.js","assets/md-5Qa6mBrY.js","assets/md-CNYSmoft.js","assets/md-Bo12K0a0.js","assets/slidev/image.vue_vue_type_script_setup_true_lang-C-LeYncD.js","assets/md-hrunIbqQ.js","assets/md-YLHbhf8v.js","assets/md-Dmg7FB7w.js","assets/md-DfRW5Rw9.js","assets/plotly.min-sli7ihKb.js","assets/modules/file-saver-C8BEGaqa.js","assets/transform-CM6HwYen.js","assets/md-DQ2ic_cr.css","assets/md-BjTYoM_w.js","assets/md-DuupdZuR.js","assets/md-x_aVbeCE.js","assets/md-CT8d2cpv.js","assets/md-ykXvF4-h.js","assets/Wardial-BIuKbIul.js","assets/Wardial-CsAzTSAL.css","assets/md-D3CKGNo5.js","assets/md-BFOjm1nH.js","assets/md-B5vRb9md.js","assets/md-BM2PV_k3.js","assets/md-Z1ayhVL3.js","assets/Mermaid.vue_vue_type_script_setup_true_lang-BSXhTi5X.js","assets/md-BYy8JPxK.js","assets/md-CW-Q17nA.js","assets/md-Ccb20lmC.js","assets/md-Cawqshf0.js","assets/md-CxDOsIpS.js","assets/md-aat5AQTW.js","assets/md-DrzJ7eNU.js","assets/md-2ObroLKP.js","assets/slidev/md-BUl-pQPZ.js","assets/md-CXXHOMa7.js","assets/slidev/md-Bqqbnq2w.js","assets/md-DyQw1RZ9.js","assets/md-86URGt3n.js","assets/md-dNpRTxIg.js","assets/md-_Boz396s.js","assets/md-DNTGwpZz.js","assets/md-CIgGOxu5.js","assets/md-8I3NJNeF.js","assets/md-B8j6HRiJ.js","assets/md-t_vdDozI.js","assets/md-CNpyjlhb.js","assets/md-ByUfELcg.js","assets/md-P6Fd__zw.js","assets/md-BAhF6TCK.js","assets/md-Cp1o-bHm.js","assets/md-Caisq_aA.css","assets/md-ByyNdjCk.js","assets/md-BKmQ-wzx.js","assets/md-2TEkOn15.js","assets/md-D9XVAHFo.js","assets/md-C66Kr6gs.js","assets/md-CF3c3-U6.js","assets/md-qpFpzX8H.js","assets/md-B3FnRs9j.js","assets/md-WFNCcn53.js","assets/md-BUWnSeWo.js","assets/md-Wfguts3K.js","assets/md-C-odoGKA.js","assets/slidev/entry-D_1JOEs8.js","assets/entry-15QH0Q6e.css","assets/slidev/overview-CloNuMEX.js","assets/modules/unplugin-icons-mgWCZg4i.js","assets/slidev/ClicksSlider-B0Dt3b7o.js","assets/ClicksSlider-9ITes8aA.css","assets/slidev/DrawingPreview.vue_vue_type_script_setup_true_lang-BvyUhW8Q.js","assets/slidev/IconButton.vue_vue_type_script_setup_true_lang-CpwruUk-.js","assets/slidev/SlideContainer-ChseSDj7.js","assets/SlideContainer-BOnx6Nlm.css","assets/slidev/NoteDisplay.vue_vue_type_style_index_0_lang-qe5G87so.js","assets/NoteDisplay-KJUYuz-O.css","assets/slidev/SlideWrapper-CxkvPtIn.js","assets/SlideWrapper-DG69V02E.css","assets/slidev/notes-BesTni2_.js","assets/slidev/presenter-D9PEOKPx.js","assets/slidev/shortcuts-DDSQv0Vh.js","assets/shortcuts-BNJ3OkHy.css","assets/slidev/DrawingControls.vue_vue_type_style_index_0_lang-BEm1-kl7.js","assets/DrawingControls-Cxk9a9ub.css","assets/presenter-DHVy2-lk.css","assets/slidev/print-C506UW2q.js","assets/print-BWLnl_7m.css","assets/slidev/print-OlBt3fJx.js","assets/slidev/play-D2IwD_kk.js","assets/play-D_7yfuao.css","assets/slidev/404-BNZ07F-G.js","assets/404-n_Eqdu3W.css"])))=>i.map(i=>d[i]); 2import{A as b,p as oo,am as ao,as as oa,C as ps,r as I,L as Ie,E as tt,O as aa,at as ia,au as la,ac as io,av as ca,K as lo,aw as $,ax as ua,N as fa,f as Xn,o as mn,t as da,d as co,i as ha,F as pa,g as Os,U as S,V as gs,ay as ga,M as En,az as lt,Q as Ls,aA as ma,aB as ya,aC as _a,aD as va,aE as ka,aF as wa,D as U,aG as uo,aH as On,aI as ba,$ as fo,aJ as Sa,aK as Ma,J as $a,aL as ho,b as Ta,a as Pa,ag as Ea,S as Oa,a5 as La,aM as Aa,aN as Da,aO as Ia,c as Ca}from"./modules/vue-BD66erCc.js";import{T as Ra}from"./modules/shiki-DcdSMs70.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 a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).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 V={theme:"./",title:"Numbers of the Beast",titleTemplate:"%s",addons:[],remoteAssets:!1,monaco:!0,monacoTypesSource:"local",monacoTypesAdditionalPackages:[],monacoTypesIgnorePackages:[],monacoRunAdditionalDeps:[],download:!0,export:{},info:!1,highlighter:"shiki",twoslash:!0,lineNumbers:!1,colorSchema:"dark",routerMode:"hash",as
2pectRatio:1.7777777777777777,canvasWidth:980,exportFilename:"",selectable:!1,themeConfig:{},fonts:{sans:['"Plus Jakarta Sans"',"ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:['"Plus Jakarta"',"ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:['"Fira Code"',"ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"],webfonts:["Plus Jakarta Sans","Plus Jakarta","Fira Code"],provider:"google",local:["Plus Jakarta Sans","Plus Jakarta","Fira Code"],italic:!1,weights:["200","400","600"]},favicon:"/favicon.png",drawings:{enabled:!0,persist:".slidev/drawings/slides",presenterOnly:!1,syncAll:!0},plantUmlServer:"https://www.plantuml.com/plantuml",codeCopy:!0,author:"HD Moore",record:"dev",css:"unocss",presenter:!0,browserExporter:"dev",htmlAttrs:{},transition:"none",editor:!0,contextMenu:null,wakeLock:!0,mdc:!0,class:"text-center",overviewSnapshots:!0,background:"/background.png",keywords:"research,kybertuska,runzero",slidesTitle:"Numbers of the Beast"};function Yn(e,t,n){return Math.min(n,Math.max(t,e))}function xa(...e){return Na(e).reduce((t,n)=>t+n,0)}function Ha(e){return e=e??[],Array.isArray(e)?e:[e]}function Na(e){return Ha(e).flat(1)}function ja(e){return Array.from(new Set(e))}function As(...e){let t,n,s;e.length===1?(t=0,s=1,[n]=e):[t,n,s=1]=e;const r=[];let o=t;for(;o<n;)r.push(o),o+=s||1;return r}function Va(e){return e!=null}function Fa(e,t){return Object.fromEntries(Object.entries(e).map(([n,s])=>t(n,s)).filter(Va))}function nd(e){return Object.keys(e).forEach(t=>e[t]===void 0?delete e[t]:{}),e}function sd(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const s=t;t=void 0,s&&await s},n}const rd="build",po=b(()=>V.aspectRatio),go=b(()=>V.canvasWidth),za=b(()=>Math.ceil(go.value/po.value)),Ba=b(()=>Fa(V.themeConfig||{},(e,t)=>[`--slidev-theme-${e}`,t])),Nn=V.slidesTitle,od="/decks/2025-Kybertuska-Numbers-of-the-Beast/#/",qa=[],Wa=new Set(["title","titleTemplate","script","style","noscript"]),cn=new Set(["base","meta","link","style","script","noscript"]),Ua=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Ja=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),mo=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),Ka=typeof window<"u";function yn(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 Zn(e){if(e._h)return e._h;if(e._d)return yn(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return yn(t)}function Ga(e,t){return e instanceof Promise?e.then(t):t(e)}function ts(e,t,n,s){const r=s||_o(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(a=>ts(e,t,n,a));const o={tag:e,props:r};for(const a of mo){const i=o.props[a]!==void 0?o.props[a]:n[a];i!==void 0&&((!(a==="innerHTML"||a==="textContent"||a==="children")||Wa.has(o.tag))&&(o[a==="children"?"innerHTML":a]=i),delete o.props[a])}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(a=>({...o,props:{...o.props,content:a}})):o}function Qa(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 yo(e,t,n,s){for(let r=s;r<n.length;r+=1){const o=n[r];if(o==="class"||o==="style"){e[o]=Qa(o,e[o]);continue}if(e[o]instanceof Promise)return e[o].then(a=>(e[o]=a,yo(e,t,n,r)));if(!t&&!mo.has(o)){const a=String(e[o]),i=o.startsWith("data-");a==="true"||a===""?e[o]=i?"true":!0:e[o]||(i&&a==="false"?e[o]="false":delete e[o])}}}function _o(e,t=!1){const n=yo(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const Xa=10;function vo(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,vo(e,t,s)));Array.isArray(r)?e.push(...r):e.push(r)}}function Ya(e){const t=[],n=e.resolvedInput;for(const r in n){if(!Object.prototype.hasOwnProperty.call(n,r))continue;const o=n[r];
2if(!(o===void 0||!Ua.has(r))){if(Array.isArray(o)){for(const a of o)t.push(ts(r,a,e));continue}t.push(ts(r,o,e))}}if(t.length===0)return[];const s=[];return Ga(vo(s,t,0),()=>s.map((r,o)=>(r._e=e._i,e.mode&&(r._m=e.mode),r._p=(e._i<<Xa)+o,r)))}const Ds=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),Is={base:-10,title:10},Cs={critical:-80,high:-10,low:20};function _n(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 Is&&(n=Is[e.tag]),t&&t in Cs?n+Cs[t]:n}const Za=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],ti=["name","property","http-equiv"];function ko(e){const{props:t,tag:n}=e;if(Ja.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 ti)if(t[s]!==void 0)return`${n}:${s}:${t[s]}`;return!1}const ft="%separator";function ei(e,t,n=!1){var r;let s;if(t==="s"||t==="pageTitle")s=e.pageTitle;else if(t.includes(".")){const o=t.indexOf(".");s=(r=e[t.substring(0,o)])==null?void 0:r[t.substring(o+1)]}else s=e[t];if(s!==void 0)return n?(s||"").replace(/"/g,'\\"'):s||""}const ni=new RegExp(`${ft}(?:\\s*${ft})*`,"g");function Ze(e,t,n,s=!1){if(typeof e!="string"||!e.includes("%"))return e;let r=e;try{r=decodeURI(e)}catch{}const o=r.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const a=e.includes(ft);return e=e.replace(/%\w+(?:\.\w+)?/g,i=>{if(i===ft||!o.includes(i))return i;const l=ei(t,i.slice(1),s);return l!==void 0?l:i}).trim(),a&&(e.endsWith(ft)&&(e=e.slice(0,-ft.length)),e.startsWith(ft)&&(e=e.slice(ft.length)),e=e.replace(ni,n).trim()),e}function Rs(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function si(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(f=>({tag:f,id:cn.has(f.tag)?Zn(f):f.tag,shouldRender:!0}));let a=e._dom;if(!a){a={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const f=new Set;for(const d of["body","head"]){const p=(h=n[d])==null?void 0:h.children;for(const m of p){const y=m.tagName.toLowerCase();if(!cn.has(y))continue;const v={tag:y,props:await _o(m.getAttributeNames().reduce((E,L)=>({...E,[L]:m.getAttribute(L)}),{})),innerHTML:m.innerHTML},_=ko(v);let k=_,M=1;for(;k&&f.has(k);)k=`${_}:${M++}`;k&&(v._d=k,f.add(k)),a.elMap[m.getAttribute("data-hid")||Zn(v)]=m}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function i(f,d,p){const m=`${f}:${d}`;a.sideEffects[m]=p,delete a.pendingSideEffects[m]}function l({id:f,$el:d,tag:p}){const m=p.tag.endsWith("Attrs");if(a.elMap[f]=d,m||(p.textContent&&p.textContent!==d.textContent&&(d.textContent=p.textContent),p.innerHTML&&p.innerHTML!==d.innerHTML&&(d.innerHTML=p.innerHTML),i(f,"el",()=>{var y;(y=a.elMap[f])==null||y.remove(),delete a.elMap[f]})),p._eventHandlers)for(const y in p._eventHandlers)Object.prototype.hasOwnProperty.call(p._eventHandlers,y)&&d.getAttribute(`data-${y}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(y.substring(2),p._eventHandlers[y].bind(d)),d.setAttribute(`data-${y}`,""));for(const y in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,y))continue;const v=p.props[y],_=`attr:${y}`;if(y==="class"){if(!v)continue;for(const k of v.split(" "))m&&i(f,`${_}:${k}`,()=>d.classList.remove(k)),!d.classList.contains(k)&&d.classList.add(k)}else if(y==="style"){if(!v)continue;for(const k of v.split(";")){const M=k.indexOf(":"),E=k.substring(0,M).trim(),L=k.substring(M+1).trim();i(f,`${_}:${E}`,()=>{d.style.removeProperty(E)}),d.style.setProperty(E,L)}}else d.getAttribute(y)!==v&&d.setAttribute(y,v===!0?"":String(v)),m&&i(f,_,()=>d.removeAttribute(y))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:p,id:m}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}
2f.$el=f.$el||a.elMap[m],f.$el?l(f):cn.has(d.tag)&&c.push(f)}}for(const f of c){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),u[d]=u[d]||n.createDocumentFragment(),u[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);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 f in a.pendingSideEffects)a.pendingSideEffects[f]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:o}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function ri(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(s=>n(()=>si(e,t).then(()=>{delete e._domDebouncedUpdatePromise,s()})))}function oi(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=>{ri(o,e)}}}}}function es(e,t={},n){for(const s in e){const r=e[s],o=n?`${n}:${s}`:s;typeof r=="object"&&r!==null?es(r,t,o):typeof r=="function"&&(t[o]=r)}return t}const ai={run:e=>e()},ii=()=>ai,wo=typeof console.createTask<"u"?console.createTask:ii;function li(e,t){const n=t.shift(),s=wo(n);return e.reduce((r,o)=>r.then(()=>s.run(()=>o(...t))),Promise.resolve())}function ci(e,t){const n=t.shift(),s=wo(n);return Promise.all(e.map(r=>s.run(()=>r(...t))))}function jn(e,t){for(const n of[...e])n(t)}class ui{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 a=o.message;a||(a=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}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=es(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=es(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(li,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(ci,t,...n)}callHookWith(t,n,...s){const r=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&jn(this._before,r);const o=t(n in this._hooks?[...this._hooks[n]]:[],s);return o instanceof Promise?o.finally(()=>{this._after&&r&&jn(this._after,r)}):(this._after&&r&&jn(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 fi(){return new ui}const di=new Set(["templateParams","htmlAttrs","bodyAttrs"]),hi={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&&
2(e.key=e.props.key,delete e.props.key);const t=ko(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)||Zn(s),o=t[r];if(o){let i=s==null?void 0:s.tagDuplicateStrategy;if(!i&&di.has(s.tag)&&(i="merge"),i==="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(_n(s)>_n(o))continue}if(!(s.innerHTML||s.textContent||Object.keys(s.props).length!==0)&&cn.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))}}},pi=new Set(["script","link","bodyAttrs"]),gi=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!pi.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&&Ds.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||yn(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 a in s){if(!a.endsWith("fired"))continue;const i=a.slice(0,-5);Ds.has(i)&&((o=(r=n._eventHandlers)==null?void 0:r[i])==null||o.call(t,new Event(i.substring(2))))}}}}),mi=new Set(["link","style","script","noscript"]),yi={hooks:{"tag:normalise":({tag:e})=>{e.key&&mi.has(e.tag)&&(e.props["data-hid"]=e._h=yn(e.key))}}},_i={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"}})}}},vi={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:s,offset:r}of Za){if(!n.tagPriority.startsWith(s))continue;const o=n.tagPriority.substring(s.length),a=(t=e.tags.find(i=>i._d===o))==null?void 0:t._p;if(a!==void 0){n._p=a+r;break}}e.tags.sort((n,s)=>{const r=_n(n),o=_n(s);return r<o?-1:r>o?1:n._p-s._p})}}},ki={meta:"content",link:"href",htmlAttrs:"lang"},wi=["innerHTML","textContent"],bi=e=>({hooks:{"tags:resolve":t=>{var a;const{tags:n}=t;let s;for(let i=0;i<n.length;i+=1)n[i].tag==="templateParams"&&(s=t.tags.splice(i,1)[0].props,i-=1);const r=s||{},o=r.separator||"|";delete r.separator,r.pageTitle=Ze(r.pageTitle||((a=n.find(i=>i.tag==="title"))==null?void 0:a.textContent)||"",r,o);for(const i of n){if(i.processTemplateParams===!1)continue;const l=ki[i.tag];if(l&&typeof i.props[l]=="string")i.props[l]=Ze(i.props[l],r,o);else if(i.processTemplateParams||i.tag==="titleTemplate"||i.tag==="title")for(const c of wi)typeof i[c]=="string"&&(i[c]=Ze(i[c],r,o,i.tag==="script"&&i.props.type.endsWith("json")))}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=Ze(n.textContent,e._templateParams,e._separator))}}}),Si={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=Rs(s.textContent,n.textContent);r!==null?n.textContent=r||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(s){const r=Rs(s.textContent);r!==null&&(s.textContent=r,s.tag="title",s=void 0)}s&&e.tags.splice(e.tags.indexOf(s),1)}}},Mi={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 bo;function $i(e={}){const t=Ti(e);return t.use(oi()),bo=t}function xs(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Ti(e={}){const t=fi();t.addHooks(e.hooks||{}),e.document=e.document||(Ka?document:void 0);const n=!e.document,s=()=>{i.dirty=!0,t.callHook("entries:updated",i)};let r=0,o=[];const a=[],i={plugins:a,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(l){const c=typeof l=="function"?l(i):l;(!c.key||!a.some(u=>u.key===c.key))&&(a.push(c),xs(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:r++,input:l,...c};return xs(u.mode,n)&&(o.push(u),s()),{dispose(){o=o.filter(h=>h._i!==u._i),s()},patch(h){for(const f of o)f._i===u._i&&(f.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 Ya(c)){const f={tag:h,entry:c,resolvedOptions:i.resolvedOptions};await t.callHook("tag:normalise",f),l.tags.push(f.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[hi,_i,gi,yi,vi,bi,Si,Mi,...(e==null?void 0:e.plugins)||[]].forEac
2h(l=>i.use(l)),i.hooks.callHook("init",i),i}function Pi(){return bo}const Ei=oa[0]==="3";function Oi(e){return typeof e=="function"?e():ps(e)}function vn(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=Oi(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>vn(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]=ps(t[s]);continue}n[s]=vn(t[s])}return n}return t}const Li={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=vn(t.input)}}},So="usehead";function Ai(e){return{install(n){Ei&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(So,e))}}.install}function Di(e={}){e.domDelayFn=e.domDelayFn||(n=>oo(()=>setTimeout(()=>n(),0)));const t=$i(e);return t.use(Li),t.install=Ai(t),t}const Hs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ns="__unhead_injection_handler__";function Ii(){return Ns in Hs?Hs[Ns]():ao(So)||Pi()}function Ci(e,t={}){const n=t.head||Ii();if(n)return n.ssr?n.push(e,t):Ri(n,e,t)}function Ri(e,t,n={}){const s=I(!1),r=I({});Ie(()=>{r.value=s.value?{}:vn(t)});const o=e.push(r.value,n);return tt(r,i=>{o.patch(i)}),io()&&(aa(()=>{o.dispose()}),ia(()=>{s.value=!0}),la(()=>{s.value=!1})),o}function ns(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 xi(e){return Array.isArray(e)?[ns(e[0]),ns(e[1])]:null}function Mo(e,t=0,n){const s=I(!1);let r=new Map,o=new Map;const a={get current(){return Yn(+e.value,t,a.total)},set current(i){e.value=s.value?Yn(i,t,a.total):i},clicksStart:t,get relativeSizeMap(){return r},get maxMap(){return o},get isMounted(){return s.value},setup(){lo(()=>{s.value=!0,o=$(o),ua(e)||(a.current=e.value)}),fa(()=>{s.value=!1,r=new Map,o=new Map})},calculateSince(i,l=1){const c=ns(i);if(c==null)return null;let u,h,f;if(typeof c=="string"){const d=a.currentOffset,p=+c;u=d+p,h=d+p+l-1,f=p+l-1}else u=c,h=c+l-1,f=0;return{start:u,end:+Number.POSITIVE_INFINITY,max:h,delta:f,currentOffset:b(()=>a.current-u),isCurrent:b(()=>a.current===u),isActive:b(()=>a.current>=u)}},calculateRange(i){const l=xi(i);if(l==null)return null;const[c,u]=l;let h,f,d;return typeof c=="string"?(h=a.currentOffset+ +c,d=+c):(h=c,d=0),typeof u=="string"?(f=h+ +u,d+=+u):f=u,{start:h,end:f,max:f,delta:d,currentOffset:b(()=>a.current-h),isCurrent:b(()=>a.current===h),isActive:b(()=>h<=a.current&&a.current<f)}},calculate(i){return Array.isArray(i)?a.calculateRange(i):a.calculateSince(i)},register(i,l){if(!l)return;const{delta:c,max:u}=l;r.set(i,c),o.set(i,u)},unregister(i){r.delete(i),o.delete(i)},get currentOffset(){return xa(...r.values())},get total(){return n??(s.value?Math.max(0,...o.values()):0)}};return a}function Hi(e,t=0){var s,r;const n=((s=e==null?void 0:e.meta.slide)==null?void 0:s.frontmatter.clicksStart)??0;return Mo(b(()=>Math.max(ca(t),n)),n,(r=e==null?void 0:e.meta)==null?void 0:r.clicks)}const Ni="modulepreload",ji=function(e){return"/decks/2025-Kybertuska-Numbers-of-the-Beast/"+e},js={},w=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),i=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));r=Promise.allSettled(n.map(l=>{if(l=ji(l),l in js)return;js[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":Ni,c||(h.as="script"),h.crossOrigin="",h.href=l,i&&h.setAttribute("nonce",i),document.head.appendChild(h),c)return new Promise((f,d)=>{h.addEventListener("load",f),h.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}function o(a){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a}return r.then(a=>{for(const i of a||[])i.status==="rejected"&&o(i.reason);return t().catch(o)})},Vi=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Fi={},zi={class:"px-4 py-10 text-center text-red-700 dark:text-red-500 font-bold font-mono"};function Bi(e,t){return mn(),Xn("div",zi,da("Failed to fetch this slide. Please check your network connection."))}const T=Vi(Fi,[["render",Bi]]),qi={class:"h-full w-full flex items-center justify-center gap-2 slidev-slide-loading"},Wi=co({__name:"SlideLoading",setup(e){const t=I(!1);return lo(()=>{setTimeout(()=>{t.value=!0},200)}),(n,s)=>(mn(),Xn("div",qi,[t.value?(mn(),Xn(pa,{key:0},[s[0]||(s[0]=Os("div",{class:"i-svg-spinners-90-ring-with-bg text-xl"}
2,null,-1)),s[1]||(s[1]=Os("div",null,"Loading slide...",-1))],64)):ha("v-if",!0)]))}}),Ui={theme:"./",title:"Numbers of the Beast",class:"text-center",drawings:{persist:!0},transition:"none",download:!0,mdc:!0,overviewSnapshots:!0,aspectRatio:"16/9",background:"/background.png",fonts:{sans:"Plus Jakarta Sans",serif:"Plus Jakarta",mono:"Fira Code",local:["Plus Jakarta Sans","Plus Jakarta","Fira Code"]},titleTemplate:"%s",info:!1,author:"HD Moore",keywords:"research,kybertuska,runzero",wakeLock:!0,favicon:"/favicon.png",routerMode:"hash"},gt=S(Ui),Ji=$({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:"-r7xg8c",frontmatterRaw:`theme: ./ 3title: Numbers of the Beast 4class: text-center 5drawings: 6 persist: true 7transition: none 8download: true 9mdc: true 10overviewSnapshots: true 11aspectRatio: 16/9 12background: /background.png 13fonts: 14 sans: Plus Jakarta Sans 15 serif: Plus Jakarta 16 mono: Fira Code 17 local: 18 - Plus Jakarta Sans 19 - Plus Jakarta 20 - Fira Code 21titleTemplate: "%s" 22info: false 23author: HD Moore 24keywords: research,kybertuska,runzero 25wakeLock: true 26favicon: /favicon.png 27routerMode: hash 28`,note:"",title:"Numbers of the Beast",index:0,noteHTML:`<p>This talk explores the numbers that define our lives and how to use limited observations of identifiers to reason about the security properties of systems.</p> 29`,raw:"",frontmatter:gt,filepath:"",start:0,id:0,no:1},__clicksContext:null,__preloaded:!1}),Ki={layout:"image-right",image:"/bellingthecat.jpg"},mt=S(Ki),Gi=$({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:"-9pvtkf",frontmatterRaw:`layout: image-right 30image: /bellingthecat.jpg 31`,note:"",title:'<img src="/bellingcat.svg" class="w-75">',level:1,index:1,noteHTML:"",raw:"",frontmatter:mt,filepath:"",start:53,id:1,no:2},__clicksContext:null,__preloaded:!1}),Qi={layout:"image-left",image:"/take-a-number.png"},yt=S(Qi),Xi=$({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:"-qqq6lj",frontmatterRaw:`layout: image-left 32image: /take-a-number.png 33`,note:"",title:"Now serving...",level:1,index:2,noteHTML:`<p>You need to visit the DMV and are greeted by the dreaded "take a number" sign. 34You grab a number and sit down, your number is 74. 35Does 74 mean anything yet? 36Wait for the next announcement 37Now serving 82? Uh oh, is this a 1-100 system? 38Now serving 84? Not great, this could be a long trip. 39Now serving 67? Phew, ok, we have a chance of getting out of here soon.</p> 40<p>So far, we've heard numbers as sets of two digits, we've heard higher numbers than we have, but also lower numbers. 41They seem to be going through one number per minute, but the ordering isnt obvious. 42Is the next number going to be 68, 87, or something else?</p> 43<p>We're going to focus on this problem set. 44How can we understand a system through limited samples?</p> 45`,raw:"",frontmatter:yt,filepath:"",start:67,id:2,no:3},__clicksContext:null,__preloaded:!1}),Yi={layout:"section",title:"Goals"},_t=S(Yi),Zi=$({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:"m5rceo",frontmatterRaw:`layout: section 46title: Goals 47`,note:"",title:"Goals",index:3,noteHTML:"",raw:"",frontmatter:_t,filepath:"",start:104,id:3,no:4},__clicksContext:null,__preloaded:!1}),tl={},vt=S(tl),el=$({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:"k0zp4y",note:"",title:"Every thing has an identifier",level:1,index:4,noteHTML:`<p>we love to assign identifiers. We are obsessed with giving every thing, process, and moment a unique ID.</p> 48<p>Every nanosecond we sit here has a unique ID that is being stored somewhere.</p> 49`,raw:"",frontmatter:vt,filepath:"",start:122,id:4,no:5},__clicksContext:null,__preloaded:!1}),nl={},kt=S(nl),sl=$({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:"k9saxz",note:"",title:"Most identifiers are short",level:1,index:5,noteHTML:"",raw:"",frontmatter:kt,filepath:"",start:161,id:5,no:6},__clicksContext:null,__preloaded:!1}),rl={title:"PINs"},wt=S(rl),ol=$({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:"-tsqxc",frontmatterRaw:`title: PINs 50`,note:"",title:"PINs",index:6,noteHTML:"",raw:"",frontmatter:wt,filepath:"",start:172,id:6,no:7},__clicksContext:null,__preloaded:!1}),al={layout:"image",image:"/vin-decode.jpg",title:"VINs"},bt=S(al),il=$({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:"-a654y0",frontmatterRaw:`layout: image 51image: /vin-decode.jpg 52title: VINs 53`,note:"",title:"VINs",index:7,noteHTML:"",raw:"",frontmatter:bt,filepath:"",start:205,id:7,no:8},__clicksContext:null,__preloaded:!1}),ll={},St=S(ll),cl=$({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:"-nhc61q",note:"",title:"Hetu PINs",level:1,index:8,noteHTML:"",raw:"",frontmatter:St,filepath:"",start:214,id:8,no:9},__clicksContext:null,__preloaded:!1}),ul={},Mt=S(ul),fl=$({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:"-7rbcc5",note:"",title:"Identifiers are information-rich",level:1,index:9,noteHTML:`<p>A single observation is often enough to make a guess 54Additional samples over time fill in the gaps</p> 55`,raw:"",frontmatter:Mt,filepath:"",start:251,id:9,no:10},__clicksContext:null,__preloaded:!1}),dl={},$t=S(dl),hl=$({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:"ycb7j7",note:"",title:"Missing access control",level:1,index:10,noteHTML:"",raw:"",frontmatter:$t,filepath:"",start:267,id:10,no:11},__clicksContext:null,__preloaded:!1}),pl={},Tt=S(pl),gl=$({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:"pzv9cu",note:"",title:"Business intelligence",level:1,index:11,noteHTML:"",raw:"",frontmatter:Tt,filepath:"",start:292,id:11,no:12},__clicksContext:null,__preloaded:!1}),ml={},Pt=S(ml),yl=$({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:"-hil0qc",note:"",title:"Order IDs",level:1,index:12,noteHTML:"",raw:"",frontmatter:Pt,filepath:"",start:306,id:12,no:13},__clicksContext:null,__preloaded:!1}),_l={layout:"section",title:"Enumerating Networks"},Et=S(_l),vl=$({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:"jjzxw",frontmatterRaw:`layout: section 56title: Enumerating Networks 57`,note:"",title:"Enumerating Networks",index:13,noteHTML:"",raw:"",frontmatter:Et,filepath:"",start:315,id:13,no:14},__clicksContext:null,__preloaded:!1}),kl={},Ot=S(kl),wl=$({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:"b4736d",note:"",title:"Telephone networks",level:1,index:14,noteHTML:"",raw:"",frontmatter:Ot,filepath:"",start:323,id:14,no:15},__clicksContext:null,__preloaded:!1}),bl={layout:"image",image:"/modem.png"},Lt=S(bl),Sl=$({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:"-kzoaqq",frontmatterRaw:`layout: image 58image: /modem.png
59`,note:"",index:15,noteHTML:"",raw:"",frontmatter:Lt,filepath:"",start:345,id:15,no:16},__clicksContext:null,__preloaded:!1}),Ml={},At=S(Ml),$l=$({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:"808ur6",note:"",title:"09 156 XXXX",level:1,index:16,noteHTML:"",raw:"",frontmatter:At,filepath:"",start:351,id:16,no:17},__clicksContext:null,__preloaded:!1}),Tl={},Dt=S(Tl),Pl=$({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:"dkrzn4",note:"",title:"09 156 XXXX",level:1,index:17,noteHTML:"",raw:"",frontmatter:Dt,filepath:"",start:362,id:17,no:18},__clicksContext:null,__preloaded:!1}),El={},It=S(El),Ol=$({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:"d45oyw",note:"",title:"09 156 XXXX",level:1,index:18,noteHTML:"",raw:"",frontmatter:It,filepath:"",start:374,id:18,no:19},__clicksContext:null,__preloaded:!1}),Ll={},Ct=S(Ll),Al=$({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:"dkkz75",note:"",title:"09 156 XXXX",level:1,index:19,noteHTML:"",raw:"",frontmatter:Ct,filepath:"",start:387,id:19,no:20},__clicksContext:null,__preloaded:!1}),Dl={},Rt=S(Dl),Il=$({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:"6d3moo",note:"",title:"Discovery process (IPv4)",level:1,index:20,noteHTML:"",raw:"",frontmatter:Rt,filepath:"",start:401,id:20,no:21},__clicksContext:null,__preloaded:!1}),Cl={},xt=S(Cl),Rl=$({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:"-hrsdtk",note:"",title:"192.168.0.0/24",level:1,index:21,noteHTML:"",raw:"",frontmatter:xt,filepath:"",start:421,id:21,no:22},__clicksContext:null,__preloaded:!1}),xl={},Ht=S(xl),Hl=$({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:"i15ubk",note:"",title:"192.168.0.0/24",level:1,index:22,noteHTML:"",raw:"",frontmatter:Ht,filepath:"",start:442,id:22,no:23},__clicksContext:null,__preloaded:!1}),Nl={},Nt=S(Nl),jl=$({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:"-8nlzo2",note:"",title:"192.168.0.0/24",level:1,index:23,noteHTML:"",raw:"",frontmatter:Nt,filepath:"",start:520,id:23,no:24},__clicksContext:null,__preloaded:!1}),Vl={},jt=S(Vl),Fl=$({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:"k9ob9t",note:"",title:"Private IPv4",level:1,index:24,noteHTML:"",raw:"",frontmatter:jt,filepath:"",start:607,id:24,no:25},__clicksContext:null,__preloaded:!1}),zl={},Vt=S(zl),Bl=$({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:"krnsvw",note:"",title:"Public IPv4",level:1,index:25,noteHTML:"",raw:"",frontmatter:Vt,filepath:"",start:614,id:25,no:26},__clicksContext:null,__preloaded:!1}),ql={layout:"image",image:"/ipv4_map.png"},Ft=S(ql),Wl=$({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:"-kg669i",frontmatterRaw:`layout: image 60image: /ipv4_map.png 61`,note:"",index:26,noteHTML:"",raw:"",frontmatter:Ft,filepath:"",start:626,id:26,no:27},__clicksContext:null,__preloaded:!1}),Ul={layout:"image",image:"/ipv4_hilbert.png"},zt=S(Ul),Jl=$({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:"lk4n86",frontmatterRaw:`layout: image 62image: /ipv4_hilbert.png
63`,note:"",index:27,noteHTML:"",raw:"",frontmatter:zt,filepath:"",start:632,id:27,no:28},__clicksContext:null,__preloaded:!1}),Kl={},Bt=S(Kl),Gl=$({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:"r1pg2l",note:"",title:"IPv4 is DENSE",level:1,index:28,noteHTML:"",raw:"",frontmatter:Bt,filepath:"",start:641,id:28,no:29},__clicksContext:null,__preloaded:!1}),Ql={},qt=S(Ql),Xl=$({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:"27ke98",note:"",title:"IPv6 is the opposite (128 bits)",level:1,index:29,noteHTML:"",raw:"",frontmatter:qt,filepath:"",start:673,id:29,no:30},__clicksContext:null,__preloaded:!1}),Yl={layout:"iframe",url:"https://esahubble.org/images/heic1502a/zoomable/"},Wt=S(Yl),Zl=$({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:"v85xqm",frontmatterRaw:`layout: iframe 64url: https://esahubble.org/images/heic1502a/zoomable/ 65`,note:"",index:30,noteHTML:"",raw:"",frontmatter:Wt,filepath:"",start:693,id:30,no:31},__clicksContext:null,__preloaded:!1}),tc={layout:"section",title:"Analyzing Identifiers"},Ut=S(tc),ec=$({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:"-pteyno",frontmatterRaw:`layout: section 66title: Analyzing Identifiers 67`,note:"",title:"Analyzing Identifiers",index:31,noteHTML:"",raw:"",frontmatter:Ut,filepath:"",start:699,id:31,no:32},__clicksContext:null,__preloaded:!1}),nc={},Jt=S(nc),sc=$({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:"z7poup",note:"",title:"Information security",level:1,index:32,noteHTML:"",raw:"",frontmatter:Jt,filepath:"",start:707,id:32,no:33},__clicksContext:null,__preloaded:!1}),rc={title:"Universally unique identifiers"},Kt=S(rc),oc=$({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:"yduwom",frontmatterRaw:`title: Universally unique identifiers 68`,note:"",title:"Universally unique identifiers",index:33,noteHTML:"",raw:"",frontmatter:Kt,filepath:"",start:766,id:33,no:34},__clicksContext:null,__preloaded:!1}),ac={title:"UUID versions"},Gt=S(ac),ic=$({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:"-855zg1",frontmatterRaw:`title: UUID versions 69`,note:"",title:"UUID versions",index:34,noteHTML:"",raw:"",frontmatter:Gt,filepath:"",start:779,id:34,no:35},__clicksContext:null,__preloaded:!1}),lc={},Qt=S(lc),cc=$({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:"-st4qkn",note:"",title:"UUID v7 adoption",level:1,index:35,noteHTML:"",raw:"",frontmatter:Qt,filepath:"",start:814,id:35,no:36},__clicksContext:null,__preloaded:!1}),uc={layout:"section",title:"MAC Addresses"},Xt=S(uc),fc=$({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:"rkjkr0",frontmatterRaw:`layout: section 70title: MAC Addresses 71`,note:"",title:"MAC Addresses",index:36,noteHTML:"",raw:"",frontmatter:Xt,filepath:"",start:829,id:36,no:37},__clicksContext:null,__preloaded:!1}),dc={},Yt=S(dc),hc=$({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:"-kfdgs1",note:"",title:"MAC addresses",level:1,index:37,noteHTML:"",raw:"",frontmatter:Yt,filepath:"",start:837,id:37,no:38},__clicksContext:null,__preloaded:!1}),pc={},Zt=S(pc),gc=$({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:"kxrbfs",note:"",title:"MAC address space",level:1,index:38,noteHTML:"",raw:"",frontmatter:Zt,filepath:"",start:853,id:38,no:39},__clicksContext:null,__preloaded:!1}),mc={},te=S(mc),yc=$({get layout(){return te.layout},get transition(){return te.transition},get class(){return te.class},get clicks(){return te.clicks}
71,get name(){return te.name},get preload(){return te.preload},slide:{content:"",revision:"-bc9jf6",note:"",title:"MAC prefixes",level:1,index:39,noteHTML:`<p>(36720 * (2<strong>24)) + (5615 * (2</strong>(48-28))) + (10828 * (2**(48-36)))</p> 72`,raw:"",frontmatter:te,filepath:"",start:863,id:39,no:40},__clicksContext:null,__preloaded:!1}),_c={},ee=S(_c),vc=$({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:"-p3w1t0",note:"",title:"MAC allocation",level:1,index:40,noteHTML:"",raw:"",frontmatter:ee,filepath:"",start:880,id:40,no:41},__clicksContext:null,__preloaded:!1}),kc={},ne=S(kc),wc=$({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:"yl1j5v",note:"",title:"MAC address myths",level:1,index:41,noteHTML:"",raw:"",frontmatter:ne,filepath:"",start:896,id:41,no:42},__clicksContext:null,__preloaded:!1}),bc={},se=S(bc),Sc=$({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:"-4ygjh3",note:"",title:"Myth 1: MACs are for local networks",level:1,index:42,noteHTML:"",raw:"",frontmatter:se,filepath:"",start:905,id:42,no:43},__clicksContext:null,__preloaded:!1}),Mc={},re=S(Mc),$c=$({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:"668a2r",note:"",title:"MACs from public IPv4 scans",level:1,index:43,noteHTML:"",raw:"",frontmatter:re,filepath:"",start:918,id:43,no:44},__clicksContext:null,__preloaded:!1}),Tc={},oe=S(Tc),Pc=$({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:"-v5fv32",note:"",title:"MACs from UUIDs",level:1,index:44,noteHTML:"",raw:"",frontmatter:oe,filepath:"",start:928,id:44,no:45},__clicksContext:null,__preloaded:!1}),Ec={},ae=S(Ec),Oc=$({get layout(){return ae.layout},get transition(){return ae.transition},get class(){return ae.class},get clicks(){return ae.clicks},get name(){return ae.name},get preload(){return ae.preload},slide:{content:"",revision:"-4glxhl",note:"",title:"MACs from Microsoft GUIDs",level:1,index:45,noteHTML:"",raw:"",frontmatter:ae,filepath:"",start:963,id:45,no:46},__clicksContext:null,__preloaded:!1}),Lc={},ie=S(Lc),Ac=$({get layout(){return ie.layout},get transition(){return ie.transition},get class(){return ie.class},get clicks(){return ie.clicks},get name(){return ie.name},get preload(){return ie.preload},slide:{content:"",revision:"-yh4cab",note:"",title:"MACs from the Windows registry",level:1,index:46,noteHTML:"",raw:"",frontmatter:ie,filepath:"",start:979,id:46,no:47},__clicksContext:null,__preloaded:!1}),Dc={},le=S(Dc),Ic=$({get layout(){return le.layout},get transition(){return le.transition},get class(){return le.class},get clicks(){return le.clicks},get name(){return le.name},get preload(){return le.preload},slide:{content:"",revision:"uuh33k",note:"",title:"MACs from WiFi & Bluetooth",level:1,index:47,noteHTML:"",raw:"",frontmatter:le,filepath:"",start:987,id:47,no:48},__clicksContext:null,__preloaded:!1}),Cc={},ce=S(Cc),Rc=$({get layout(){return ce.layout},get transition(){return ce.transition},get class(){return ce.class},get clicks(){return ce.clicks},get name(){return ce.name},get preload(){return ce.preload},slide:{content:"",revision:"gwzn7i",note:"",title:"MACs from WiGLE.net",level:1,index:48,noteHTML:"",raw:"",frontmatter:ce,filepath:"",start:996,id:48,no:49},__clicksContext:null,__preloaded:!1}),xc={},ue=S(xc),Hc=$({get layout(){return ue.layout},get transition(){return ue.transition},get class(){return ue.class},get clicks(){return ue.clicks},get name(){return ue.name},get preload(){return ue.preload},slide:{content:"",revision:"s4mkkm",note:"",title:"MAC collection stats",level:1,index:49,noteHTML:"",raw:"",frontmatter:ue,filepath:"",start:1004,id:49,no:50},__clicksContext:null,__preloaded:!1}),Nc={},fe=S(Nc),jc=$({get layout(){return fe.layout},get transition(){return fe.transition},get class(){return fe.class},get clicks(){return fe.clicks},get name(){return fe.name},get preload(){return fe.preload},slide:{content:"",revision:"-i2gn35",note:"",title:"Myth 2: MACs only tell you the vendor",level:1,index:50,noteHTML:"",raw:"",frontmatter:fe,filepath:"",start:1015,id:50,no:51},__clicksContext:null,__preloaded:!1}),Vc={},de=S(Vc),Fc=$({get layout(){return de.layout},get transition(){return de.transition},get class(){return de.class},get clicks(){return de.clicks},get name(){return de.name},get preload(){return de.preload},slide:{content:"",revision:"-xx7v1e",note:"",title:"Sequential MAC addresses",level:1,index:51,noteHTML:"",raw:"",frontmatter:de,filepath:"",start:1024,id:51,no:52},__clicksContext:null,__preloaded:!1}),zc={},he=S(zc),Bc=$({get layout(){return he.layout},get transition(){return he.transition},get class(){return he.class},get clicks(){return he.clicks},get name(){return he.name},get preload(){return he.preload},slide:{content:"",revision:"-hdymdb",note:"",title:"Myth 3: MACs are globally unique",level:1,index:52,noteHTML:"",raw:"",frontmatter:he,filepath:"",start:1034,id:52,no:53},__clicksContext:null,__preloaded:!1}),qc={},pe=S(qc),Wc=$({get layout(){return pe.layout},get transition(){return pe.transition},get class(){return pe.class},get clicks(){return pe.clicks},get name(){return pe.name},get preload(){return pe.preload},slide:{content:"",revision:"-r02cgr",note:"",title:"MAC recycling",level:1,index:53,noteHTML:"",raw:"",frontmatter:pe,filepath:"",start:1059,id:53,no:54},__clicksContext:null,__preloaded:!1}),Uc={},ge=S(Uc),Jc=$({get layout(){return ge.layout},get transition(){return ge.transition},get class(){return ge.class},get clicks(){return ge.clicks},get name(){return ge.name},get preload(){return ge.preload},slide:{content:"",revision:"75vjh5",note:"",title:'Bonus: "Private" MAC allocations',level:1,index:54,noteHTML:"",raw:"",frontmatter:ge,filepath:"",start:1067,id:54,no:55},__clicksContext:null,__preloaded:!1}),Kc={},me=S(Kc),Gc=$({get layout(){return me.layout},get transition(){return me.transition},get class(){return me.class},get clicks(){return me.clicks},get name(){return me.name},get preload(){return me.preload},slide:{content:"",revision:"-tp5wt8",note:"",title:"Uncovering private MAC owners",level:1,index:55,noteHTML:"",raw:"",frontmatter:me,filepath:"",start:1075,id:55,no:56},__clicksContext:null,__preloaded:!1}),Qc={},ye=S(Qc),Xc=$({get layout(){return ye.layout},get transition(){return ye.transition},get class(){return ye.class},get clicks(){return ye.clicks},get name(){return ye.name},get preload(){return ye.preload},slide:{content:"",revision:"-mqy3uh",note:"",title:"MAC Summary",level:1,index:56,noteHTML:"",raw:"",frontmatter:ye,filepath:"",start:1095,id:56,no:57},__clicksContext:null,__preloaded:!1}),Yc={},_e=S(Yc),Zc=$({get layout(){return _e.layout},get transition(){return _e.transition},get class(){return _e.class},get clicks(){return _e.clicks},get name(){return _e.name},get preload(){return _e.preload},slide:{content:"",revision:"8o348l",note:"",title:"Conclusion",level:1,index:57,noteHTML:"",raw:"",frontmatter:_e,filepath:"",start:1106,id:57,no:58},__clicksContext:null,__preloaded:!1}),tu={layout:"cover",class:"text-center"},ve=S(tu),eu=$({get layout(){return ve.layout},get transition(){return ve.transition},get class(){return ve.class},get clicks(){return ve.clicks},get name(){return ve.name},get preload(){return ve.preload},slide:{content:"",revision:"-oee1oz",frontmatterRaw:`layout: cover 73class: text-center
74`,note:"",title:"Thank you!",level:1,index:58,noteHTML:"",raw:"",frontmatter:ve,filepath:"",start:1116,id:58,no:59},__clicksContext:null,__preloaded:!1}),g=new Array(59),P=(e,t)=>ga({loader:t,delay:300,loadingComponent:Wi,errorComponent:T,onError:n=>console.error("Failed to load slide "+(e+1),n)}),Vs=async()=>{try{return g[0]??(g[0]=await w(()=>import("./md-C8aQRBw2.js"),__vite__mapDeps([0,1,2,3,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Fs=async()=>{try{return g[1]??(g[1]=await w(()=>import("./slidev/md-KGaD9vOs.js"),__vite__mapDeps([7,1,8,9,5,6])))}catch(e){return console.error("slide failed to load",e),T}},zs=async()=>{try{return g[2]??(g[2]=await w(()=>import("./slidev/md-BwzfG5RZ.js"),__vite__mapDeps([10,11,1,9,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Bs=async()=>{try{return g[3]??(g[3]=await w(()=>import("./md-DIq2NtWD.js"),__vite__mapDeps([12,1,13,3,5,6])))}catch(e){return console.error("slide failed to load",e),T}},qs=async()=>{try{return g[4]??(g[4]=await w(()=>import("./md-D6RcXRZf.js"),__vite__mapDeps([14,11,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Ws=async()=>{try{return g[5]??(g[5]=await w(()=>import("./md-5Qa6mBrY.js"),__vite__mapDeps([16,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Us=async()=>{try{return g[6]??(g[6]=await w(()=>import("./md-CNYSmoft.js"),__vite__mapDeps([17,11,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Js=async()=>{try{return g[7]??(g[7]=await w(()=>import("./md-Bo12K0a0.js"),__vite__mapDeps([18,1,19,9,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Ks=async()=>{try{return g[8]??(g[8]=await w(()=>import("./md-hrunIbqQ.js"),__vite__mapDeps([20,11,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Gs=async()=>{try{return g[9]??(g[9]=await w(()=>import("./md-YLHbhf8v.js"),__vite__mapDeps([21,11,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Qs=async()=>{try{return g[10]??(g[10]=await w(()=>import("./md-Dmg7FB7w.js"),__vite__mapDeps([22,11,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Xs=async()=>{try{return g[11]??(g[11]=await w(()=>import("./md-DfRW5Rw9.js"),__vite__mapDeps([23,24,1,25,26,11,15,4,5,6,27])))}catch(e){return console.error("slide failed to load",e),T}},Ys=async()=>{try{return g[12]??(g[12]=await w(()=>import("./md-BjTYoM_w.js"),__vite__mapDeps([28,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Zs=async()=>{try{return g[13]??(g[13]=await w(()=>import("./md-DuupdZuR.js"),__vite__mapDeps([29,1,13,3,5,6])))}catch(e){return console.error("slide failed to load",e),T}},tr=async()=>{try{return g[14]??(g[14]=await w(()=>import("./md-x_aVbeCE.js"),__vite__mapDeps([30,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},er=async()=>{try{return g[15]??(g[15]=await w(()=>import("./md-CT8d2cpv.js"),__vite__mapDeps([31,1,19,9,5,6])))}catch(e){return console.error("slide failed to load",e),T}},nr=async()=>{try{return g[16]??(g[16]=await w(()=>import("./md-ykXvF4-h.js"),__vite__mapDeps([32,33,26,1,34,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},sr=async()=>{try{return g[17]??(g[17]=await w(()=>import("./md-D3CKGNo5.js"),__vite__mapDeps([35,33,26,1,34,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},rr=async()=>{try{return g[18]??(g[18]=await w(()=>import("./md-BFOjm1nH.js"),__vite__mapDeps([36,33,26,1,34,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},or=async()=>{try{return g[19]??(g[19]=await w(()=>import("./md-B5vRb9md.js"),__vite__mapDeps([37,33,26,1,34,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},ar=async()=>{try{return g[20]??(g[20]=await w(()=>import("./md-BM2PV_k3.js"),__vite__mapDeps([38,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},ir=async()=>{try{return g[21]??(g[21]=await w(()=>import("./md-Z1ayhVL3.js"),__vite__mapDeps([39,40,1,25,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},lr=async()=>{try{return g[22]??(g[22]=await w(()=>import("./md-BYy8JPxK.js"),__vite__mapDeps([41,40,1,25,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},cr=async()=>{try{return g[23]??(g[23]=await w(()=>import("./md-CW-Q17nA.js"),__vite__mapDeps([42,40,1,25,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},ur=async()=>{try{return g[24]??(g[24]=await w(()=>import("./md-Ccb20lmC.js"),__vite__mapDeps([43,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},fr=async()=>{try{return g[25]??(g[25]=await w(()=>import("./md-Cawqshf0.js"),__vite__mapDeps([44,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},dr=async()=>{try{return g[26]??(g[26]=await w(()=>import("./md-CxDOsIpS.js"),__vite__mapDeps([45,1,19,9,5,6])))}catch(e){return console.error("slide failed to load",e),T}},hr=async()=>{try{return g[27]??(g[27]=await w(()=>import("./md-aat5AQTW.js"),__vite__mapDeps([46,1,19,9,5,6])))}catch(e){return console.error("slide failed to load",e),T}},pr=async()=>{try{return g[28]??(g[28]=await w(()=>import("./md-DrzJ7eNU.js"),__vite__mapDeps([47,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},gr=async()=>{try{return g[29]??(g[29]=await w(()=>import("./md-2ObroLKP.js"),__vite__mapDeps([48,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}}
74,mr=async()=>{try{return g[30]??(g[30]=await w(()=>import("./slidev/md-BUl-pQPZ.js"),__vite__mapDeps([49,1,5,6])))}catch(e){return console.error("slide failed to load",e),T}},yr=async()=>{try{return g[31]??(g[31]=await w(()=>import("./md-CXXHOMa7.js"),__vite__mapDeps([50,1,13,3,5,6])))}catch(e){return console.error("slide failed to load",e),T}},_r=async()=>{try{return g[32]??(g[32]=await w(()=>import("./slidev/md-Bqqbnq2w.js"),__vite__mapDeps([51,5,1,6,15,4])))}catch(e){return console.error("slide failed to load",e),T}},vr=async()=>{try{return g[33]??(g[33]=await w(()=>import("./md-DyQw1RZ9.js"),__vite__mapDeps([52,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},kr=async()=>{try{return g[34]??(g[34]=await w(()=>import("./md-86URGt3n.js"),__vite__mapDeps([53,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},wr=async()=>{try{return g[35]??(g[35]=await w(()=>import("./md-dNpRTxIg.js"),__vite__mapDeps([54,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},br=async()=>{try{return g[36]??(g[36]=await w(()=>import("./md-_Boz396s.js"),__vite__mapDeps([55,1,13,3,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Sr=async()=>{try{return g[37]??(g[37]=await w(()=>import("./md-DNTGwpZz.js"),__vite__mapDeps([56,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Mr=async()=>{try{return g[38]??(g[38]=await w(()=>import("./md-CIgGOxu5.js"),__vite__mapDeps([57,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},$r=async()=>{try{return g[39]??(g[39]=await w(()=>import("./md-8I3NJNeF.js"),__vite__mapDeps([58,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Tr=async()=>{try{return g[40]??(g[40]=await w(()=>import("./md-B8j6HRiJ.js"),__vite__mapDeps([59,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Pr=async()=>{try{return g[41]??(g[41]=await w(()=>import("./md-t_vdDozI.js"),__vite__mapDeps([60,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Er=async()=>{try{return g[42]??(g[42]=await w(()=>import("./md-CNpyjlhb.js"),__vite__mapDeps([61,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Or=async()=>{try{return g[43]??(g[43]=await w(()=>import("./md-ByUfELcg.js"),__vite__mapDeps([62,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Lr=async()=>{try{return g[44]??(g[44]=await w(()=>import("./md-P6Fd__zw.js"),__vite__mapDeps([63,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Ar=async()=>{try{return g[45]??(g[45]=await w(()=>import("./md-BAhF6TCK.js"),__vite__mapDeps([64,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Dr=async()=>{try{return g[46]??(g[46]=await w(()=>import("./md-Cp1o-bHm.js"),__vite__mapDeps([65,24,1,25,26,15,4,5,6,66])))}catch(e){return console.error("slide failed to load",e),T}},Ir=async()=>{try{return g[47]??(g[47]=await w(()=>import("./md-ByyNdjCk.js"),__vite__mapDeps([67,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Cr=async()=>{try{return g[48]??(g[48]=await w(()=>import("./md-BKmQ-wzx.js"),__vite__mapDeps([68,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Rr=async()=>{try{return g[49]??(g[49]=await w(()=>import("./md-2TEkOn15.js"),__vite__mapDeps([69,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},xr=async()=>{try{return g[50]??(g[50]=await w(()=>import("./md-D9XVAHFo.js"),__vite__mapDeps([70,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Hr=async()=>{try{return g[51]??(g[51]=await w(()=>import("./md-C66Kr6gs.js"),__vite__mapDeps([71,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Nr=async()=>{try{return g[52]??(g[52]=await w(()=>import("./md-CF3c3-U6.js"),__vite__mapDeps([72,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},jr=async()=>{try{return g[53]??(g[53]=await w(()=>import("./md-qpFpzX8H.js"),__vite__mapDeps([73,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Vr=async()=>{try{return g[54]??(g[54]=await w(()=>import("./md-B3FnRs9j.js"),__vite__mapDeps([74,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Fr=async()=>{try{return g[55]??(g[55]=await w(()=>import("./md-WFNCcn53.js"),__vite__mapDeps([75,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},zr=async()=>{try{return g[56]??(g[56]=await w(()=>import("./md-BUWnSeWo.js"),__vite__mapDeps([76,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},Br=async()=>{try{return g[57]??(g[57]=await w(()=>import("./md-Wfguts3K.js"),__vite__mapDeps([77,1,15,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},qr=async()=>{try{return g[58]??(g[58]=await w(()=>import("./md-C-odoGKA.js"),__vite__mapDeps([78,1,2,3,4,5,6])))}catch(e){return console.error("slide failed to load",e),T}},nu=[{no:1,meta:Ji,load:Vs,component:P(0,Vs)},{no:2,meta:Gi,load:Fs,component:P(1,Fs)},{no:3,meta:Xi,load:zs,component:P(2,zs)}
74,{no:4,meta:Zi,load:Bs,component:P(3,Bs)},{no:5,meta:el,load:qs,component:P(4,qs)},{no:6,meta:sl,load:Ws,component:P(5,Ws)},{no:7,meta:ol,load:Us,component:P(6,Us)},{no:8,meta:il,load:Js,component:P(7,Js)},{no:9,meta:cl,load:Ks,component:P(8,Ks)},{no:10,meta:fl,load:Gs,component:P(9,Gs)},{no:11,meta:hl,load:Qs,component:P(10,Qs)},{no:12,meta:gl,load:Xs,component:P(11,Xs)},{no:13,meta:yl,load:Ys,component:P(12,Ys)},{no:14,meta:vl,load:Zs,component:P(13,Zs)},{no:15,meta:wl,load:tr,component:P(14,tr)},{no:16,meta:Sl,load:er,component:P(15,er)},{no:17,meta:$l,load:nr,component:P(16,nr)},{no:18,meta:Pl,load:sr,component:P(17,sr)},{no:19,meta:Ol,load:rr,component:P(18,rr)},{no:20,meta:Al,load:or,component:P(19,or)},{no:21,meta:Il,load:ar,component:P(20,ar)},{no:22,meta:Rl,load:ir,component:P(21,ir)},{no:23,meta:Hl,load:lr,component:P(22,lr)},{no:24,meta:jl,load:cr,component:P(23,cr)},{no:25,meta:Fl,load:ur,component:P(24,ur)},{no:26,meta:Bl,load:fr,component:P(25,fr)},{no:27,meta:Wl,load:dr,component:P(26,dr)},{no:28,meta:Jl,load:hr,component:P(27,hr)},{no:29,meta:Gl,load:pr,component:P(28,pr)},{no:30,meta:Xl,load:gr,component:P(29,gr)},{no:31,meta:Zl,load:mr,component:P(30,mr)},{no:32,meta:ec,load:yr,component:P(31,yr)},{no:33,meta:sc,load:_r,component:P(32,_r)},{no:34,meta:oc,load:vr,component:P(33,vr)},{no:35,meta:ic,load:kr,component:P(34,kr)},{no:36,meta:cc,load:wr,component:P(35,wr)},{no:37,meta:fc,load:br,component:P(36,br)},{no:38,meta:hc,load:Sr,component:P(37,Sr)},{no:39,meta:gc,load:Mr,component:P(38,Mr)},{no:40,meta:yc,load:$r,component:P(39,$r)},{no:41,meta:vc,load:Tr,component:P(40,Tr)},{no:42,meta:wc,load:Pr,component:P(41,Pr)},{no:43,meta:Sc,load:Er,component:P(42,Er)},{no:44,meta:$c,load:Or,component:P(43,Or)},{no:45,meta:Pc,load:Lr,component:P(44,Lr)},{no:46,meta:Oc,load:Ar,component:P(45,Ar)},{no:47,meta:Ac,load:Dr,component:P(46,Dr)},{no:48,meta:Ic,load:Ir,component:P(47,Ir)},{no:49,meta:Rc,load:Cr,component:P(48,Cr)},{no:50,meta:Hc,load:Rr,component:P(49,Rr)},{no:51,meta:jc,load:xr,component:P(50,xr)},{no:52,meta:Fc,load:Hr,component:P(51,Hr)},{no:53,meta:Bc,load:Nr,component:P(52,Nr)},{no:54,meta:Wc,load:jr,component:P(53,jr)},{no:55,meta:Jc,load:Vr,component:P(54,Vr)},{no:56,meta:Gc,load:Fr,component:P(55,Fr)},{no:57,meta:Xc,load:zr,component:P(56,zr)},{no:58,meta:Zc,load:Br,component:P(57,Br)},{no:59,meta:eu,load:qr,component:P(58,qr)}],rt=gs(nu);function su(e,t){if(!t||t==="all"||t==="*")return As(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(...As(+r,o?+o+1:e+1))}return ja(n).filter(s=>s<=e).sort((s,r)=>s-r)}const Ge="$$slidev-clicks-context",Ln="$$slidev-page",$o="$$slidev-slide-element",To="$$slidev-slide-scale",Po="$$slidev-context",ru="$$slidev-route",An="$$slidev-render-context",Eo="$$slidev-fontmatter",Oo="$$slidev-slide-zoom",un="slidev-vclick-target",Ne="slidev-vclick-hidden",je="slidev-vclick-fade",Vn="slidev-vclick-hidden-explicitly",Fn="slidev-vclick-current",zn="slidev-vclick-prior",ad="slidev-vclick-display-none",Be=999999,ou=["localhost","127.0.0.1"],Lo=["clicks","clicksStart","disabled","hide","hideInToc","layout","level","preload","routeAlias","src","title","transition","zoom","dragPos","lang"],au=[...Lo,"theme","titleTemplate","info","author","keywords","presenter","browserExporter","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"];function iu(e,t,{mode:n="replace"}={}){const s=En();return b({get(){const r=s.currentRoute.value.query[e];return r==null?t:Array.isArray(r)?r.filter(Boolean):r},set(r){oo(()=>{(s.currentRoute.value.query[e]??(t==null?void 0:t.toString()))!==r.toString()&&s[ps(n)]({query:{...s.currentRoute.value.query,[e]:`${r}`===t?void 0:r}})})}})}function lu(){const e=lt(Po),t=Ls(e,"nav"),n=lt(Ge).value,s=Ls(n,"current"),r=lt(Ln),o=lt(An),a=lt(Eo,{}),i=lt(ru,void 0),l=lt(To,I(1)),c=lt(Oo,b(()=>1));return{$slidev:e,$nav:t,$clicksContext:n,$clicks:s,$page:r,$route:i,$renderContext:o,$frontmatter:a,$scale:l,$zoom:c}}function id(e,t){return{...ma(e,t===0?au:Lo),frontmatter:e}}function Dn(e){return rt.value.find(t=>{var n;return t.no===+e||((n=t.meta.slide)==null?void 0:n.frontmatter.routeAlias)===e})}function Oe(e,t,n=!1){var r;(typeof e=="number"||typeof e=="string")&&(e=Dn(e));const s=((r=e.meta.slide)==null?void 0:r.frontmatter.routeAlias)??e.no;return n?`/export/${s}`:t?`/presenter/${s}`:`/${s}`}function ld(){const{$page:e}=lu(),{currentSlideNo:t}=Me();return b(()=>e.value===t.value)}const cu={"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 uu(e,t=!1){if(!e||(typeof e=="string"&&(e={name:e}),!e.name))return;let n=e.name.includes("|")?e.name:cu[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 fu(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=V.transition||void 0),uu(s,e<0)}const cd=I(!1),ud=I(!1),fd=I(!1),du=I(!1),ms=I(!1),dd=I(!1),hd=I(!0),pd=ya({xs:460,...ba}),kn=_a(),gd=va(),md=b(()=>kn.height.value-kn.width.value/po.value>120),yd=ka(On?document.body:null),Ao=wa(),_d=b(()=>{var e;return["INPUT","TEXTAREA"].includes(((e=Ao.value)==null?void 0:e.tagName)||"")}),vd=b(()=>{var e;return["BUTTON","A"].includes(((e=Ao.value)==null?void 0:e.tagName)||"")});U("slidev-camera","default",{listenToStorageChanges:!1});U("slidev-mic","default",{listenToStorageChanges:!1});const hu=U("slidev-scale",0),kd=U("slidev-wake-lock",!0),wd=U("slidev-hide-cursor-idle",!0);U("slidev-skip-export-pdf-tip",!1);U("slidev-export-capture-delay",400,{listenToStorageChanges:!1});const bd=U("slidev-presenter-cursor",!0,{listenToStorageChanges:!1}),pu=U("slidev-show-editor",!1,{listenToStorageChanges:!1}),gu=U("slidev-editor-vertical",!1,{listenToStorageChanges:!1}),mu=U("slidev-editor-width",On?window.innerWidth*.4:318,{listenToStorageChanges:!1}),yu=U("slidev-editor-height",On?window.innerHeight*.4:300,{listenToStorageChanges:!1}),tn=gs(null),wn=U("slidev-presenter-font-size",1,{listenToStorageChanges:!1}),en=U("slidev-presenter-layout",1,{listenToStorageChanges:!1}),ss={invert:!1,contrast:1,brightness:1,hueRotate:0,saturate:1,sepia:0},_u=U("slidev-viewer-css-filter",ss,{listenToStorageChanges:!1,mergeDefaults:!0,deep:!0}),Sd=b(()=>Object.keys(ss).some(e=>_u.value[e]!==ss[e]));function Md(){en.value=en.value+1,en.value>3&&(en.value=1)}function $d(){wn.value=Math.min(2,wn.value+.1)}function Td(){wn.value=Math.max(.5,wn.value-.1)}
74const Pd=uo(du),nn=U("slidev-sync-directions",{viewerSend:!0,viewerReceive:!0,presenterSend:!0,presenterReceive:!0},{listenToStorageChanges:!1,mergeDefaults:!0});function Do(e,t,n=1){var r,o,a,i,l,c,u;const s=t.meta.slide.level??n;s&&s>n&&e.length>0?Do(e[e.length-1].children,t,n+1):e.push({no:t.no,children:[],level:n,titleLevel:s,path:Oe(((o=(r=t.meta.slide)==null?void 0:r.frontmatter)==null?void 0:o.routeAlias)??t.no,!1),hideInToc:!!((l=(i=(a=t.meta)==null?void 0:a.slide)==null?void 0:i.frontmatter)!=null&&l.hideInToc),title:(u=(c=t.meta)==null?void 0:c.slide)==null?void 0:u.title})}function Io(e,t,n=!1,s,r){return e.map(o=>{const a={...o,active:o.no===(r==null?void 0:r.value),hasActiveParent:n};return a.children.length>0&&(a.children=Io(a.children,t,a.active||a.hasActiveParent,a,r)),s&&(a.active||a.activeParent)&&(s.activeParent=!0),a})}function Co(e,t=1){return e.filter(n=>!n.hideInToc).map(n=>({...n,children:Co(n.children,t+1)}))}function vu(e,t,n){const s=b(()=>e.value.filter(o=>{var a,i;return(i=(a=o.meta)==null?void 0:a.slide)==null?void 0:i.title}).reduce((o,a)=>(Do(o,a),o),[])),r=b(()=>Io(s.value,n.value,void 0,void 0,t));return b(()=>Co(r.value))}function Ro(e,t,n=I(0),s,r,o){const a=b(()=>rt.value.length),i=I(0),l=I(0),c=b(()=>Oe(e.value,s.value)),u=b(()=>e.value.no),h=b(()=>{var x;return((x=e.value.meta)==null?void 0:x.layout)||(u.value===1?"cover":"default")}),f=b(()=>t.value.current),d=b(()=>t.value.clicksStart),p=b(()=>t.value.total),m=b(()=>rt.value[Math.min(rt.value.length,u.value+1)-1]),y=b(()=>rt.value[Math.max(1,u.value-1)-1]),v=b(()=>u.value<rt.value.length||f.value<p.value),_=b(()=>u.value>1||f.value>0),k=b(()=>r.value?void 0:fu(i.value,e.value,y.value));tt(e,(x,H)=>{i.value=x.no-H.no});async function M(x){return!1}const E=vu(rt,u,e);async function L(){l.value=1,p.value<=n.value?await C():n.value+=1}async function A(){l.value=-1,n.value<=d.value?await F(!0):n.value-=1}async function C(x=!1){l.value=1,u.value<rt.value.length&&await D(u.value+1,x&&!r.value?Be:void 0)}async function F(x=!1){l.value=-1,u.value>1&&await D(u.value-1,x&&!r.value?Be:void 0)}function nt(){return D(1)}function Y(){return D(a.value)}async function D(x,H=0,it=!1){var j,pt,He;ms.value=!1;const ut=u.value!==x,xe=H!==n.value,q=(j=Dn(x))==null?void 0:j.meta,Ye=((pt=q==null?void 0:q.slide)==null?void 0:pt.frontmatter.clicksStart)??0;H=Yn(H,Ye,((He=q==null?void 0:q.__clicksContext)==null?void 0:He.total)??Be),(it||ut||xe)&&await(o==null?void 0:o.push({path:Oe(x,s.value,o.currentRoute.value.name==="export"),query:{...o.currentRoute.value.query,clicks:H===0?void 0:H.toString(),embedded:location.search.includes("embedded")?"true":void 0}}))}function R(){o==null||o.push({path:Oe(u.value,!0),query:{...o.currentRoute.value.query}})}function B(){o==null||o.push({path:Oe(u.value,!1),query:{...o.currentRoute.value.query}})}return{slides:rt,total:a,currentPath:c,currentSlideNo:u,currentPage:u,currentSlideRoute:e,currentLayout:h,currentTransition:k,clicksDirection:l,nextRoute:m,prevRoute:y,clicksContext:t,clicks:f,clicksStart:d,clicksTotal:p,hasNext:v,hasPrev:_,tocTree:E,navDirection:i,openInEditor:M,next:L,prev:A,go:D,goLast:Y,goFirst:nt,nextSlide:C,prevSlide:F,enterPresenter:R,exitPresenter:B}}function Ed(e,t){const n=async()=>{};return{...Ro(b(()=>e),b(()=>t),I(Be),I(!1),I(!1)),next:n,prev:n,nextSlide:n,prevSlide:n,goFirst:n,goLast:n,go:n}}const ku=fo(()=>{const e=En(),t=Sa(),n=b(()=>(e.currentRoute.value.query,new URLSearchParams(location.search))),s=b(()=>n.value.has("print")||t.name==="export"),r=I(n.value.get("print")==="clicks"),o=b(()=>n.value.has("embedded")),a=b(()=>t.name==="play"),i=b(()=>t.name==="presenter"),l=b(()=>t.name==="notes"),c=b(()=>!i.value&&(!V.remote||n.value.get("password")===V.remote)),u=b(()=>!!t.params.no),h=b(()=>{var _;return u.value?((_=Dn(t.params.no))==null?void 0:_.no)??1:1}),f=b(()=>rt.value[h.value-1]),d=I(su(rt.value.length,t.query.range)),p=iu("clicks","0"),m=b(()=>v(f.value)),y=b({get(){let _=+(p.value||0);return Number.isNaN(_)&&(_=0),_},set(_){ms.value=!1,p.value=_.toString()}});function v(_){var E,L;if((E=_==null?void 0:_.meta)!=null&&E.__clicksContext)return _.meta.__clicksContext;
74const k=_.no,M=Mo(b({get(){return h.value===k?Math.max(+(p.value??0),M.clicksStart):h.value>k?Be:M.clicksStart},set(A){h.value===k&&(p.value=A.toString())}}),((L=_==null?void 0:_.meta.slide)==null?void 0:L.frontmatter.clicksStart)??0,_==null?void 0:_.meta.clicks);return _!=null&&_.meta&&(_.meta.__clicksContext=M),M}return{router:e,currentRoute:b(()=>t),isPrintMode:s,isPrintWithClicks:r,isEmbedded:o,isPlaying:a,isPresenter:i,isNotesViewer:l,isPresenterAvailable:c,hasPrimarySlide:u,currentSlideNo:h,currentSlideRoute:f,clicksContext:m,queryClicksRaw:p,queryClicks:y,printRange:d,getPrimaryClicks:v}}),Me=fo(()=>{const e=ku(),t=En(),n=Ro(e.currentSlideRoute,e.clicksContext,e.queryClicks,e.isPresenter,e.isPrintMode,t);return tt([n.total,e.currentRoute],async()=>{const s=e.currentRoute.value.params.no;e.hasPrimarySlide.value&&!Dn(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}}),Wr=Ma(),Bn=U("slidev-color-schema","auto"),Ur=b(()=>V.colorSchema!=="auto"),xo=b({get(){return Ur.value?V.colorSchema==="dark":Bn.value==="auto"?Wr.value:Bn.value==="dark"},set(e){Ur.value||(Bn.value=e===Wr.value?"auto":e?"dark":"light")}}),Od=uo(xo);if(On){const e="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";tt(xo,t=>{const n=window.document.createElement("style");n.appendChild(document.createTextNode(e)),window.document.head.appendChild(n);const s=document.querySelector("html");s.classList.toggle("dark",t),s.classList.toggle("light",!t),window.getComputedStyle(n).opacity,document.head.removeChild(n)},{immediate:!0})}function wu(){const{isPrintMode:e}=Me();$a(b(()=>e.value?` 75@page { 76 size: ${go.value}px ${za.value}px; 77 margin: 0px; 78} 79 80* { 81 transition: none !important; 82 transition-duration: 0s !important; 83}`:""))}const ys=Symbol.for("yaml.alias"),bu=Symbol.for("yaml.document"),Se=Symbol.for("yaml.map"),Ho=Symbol.for("yaml.pair"),_s=Symbol.for("yaml.scalar"),Qe=Symbol.for("yaml.seq"),at=Symbol.for("yaml.node.type"),Re=e=>!!e&&typeof e=="object"&&e[at]===ys,In=e=>!!e&&typeof e=="object"&&e[at]===bu,No=e=>!!e&&typeof e=="object"&&e[at]===Se,W=e=>!!e&&typeof e=="object"&&e[at]===Ho,z=e=>!!e&&typeof e=="object"&&e[at]===_s,vs=e=>!!e&&typeof e=="object"&&e[at]===Qe;function X(e){if(e&&typeof e=="object")switch(e[at]){case Se:case Qe:return!0}return!1}function J(e){if(e&&typeof e=="object")switch(e[at]){case ys:case Se:case _s:case Qe:return!0}return!1}const Su=e=>(z(e)||X(e))&&!!e.anchor,ke=Symbol("break visit"),Mu=Symbol("skip children"),qe=Symbol("remove node");function Je(e,t){const n=$u(t);In(e)?Le(null,e.contents,n,Object.freeze([e]))===qe&&(e.contents=null):Le(null,e,n,Object.freeze([]))}Je.BREAK=ke;Je.SKIP=Mu;Je.REMOVE=qe;function Le(e,t,n,s){const r=Tu(e,t,n,s);if(J(r)||W(r))return Pu(e,s,r),Le(e,r,n,s);if(typeof r!="symbol"){if(X(t)){s=Object.freeze(s.concat(t));for(let o=0;o<t.items.length;++o){const a=Le(o,t.items[o],n,s);if(typeof a=="number")o=a-1;else{if(a===ke)return ke;a===qe&&(t.items.splice(o,1),o-=1)}}}else if(W(t)){s=Object.freeze(s.concat(t));const o=Le("key",t.key,n,s);if(o===ke)return ke;o===qe&&(t.key=null);const a=Le("value",t.value,n,s);if(a===ke)return ke;a===qe&&(t.value=null)}}return r}function $u(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 Tu(e,t,n,s){var r,o,a,i,l;if(typeof n=="function")return n(e,t,s);if(No(t))return(r=n.Map)==null?void 0:r.call(n,e,t,s);if(vs(t))return(o=n.Seq)==null?void 0:o.call(n,e,t,s);if(W(t))return(a=n.Pair)==null?void 0:a.call(n,e,t,s);if(z(t))return(i=n.Scalar)==null?void 0:i.call(n,e,t,s);if(Re(t))return(l=n.Alias)==null?void 0:l.call(n,e,t,s)}function Pu(e,t,n){const s=t[t.length-1];if(X(s))s.items[e]=n;else if(W(s))e==="key"?s.key=n:s.value=n;else if(In(s))s.contents=n;else{const r=Re(s)?"alias":"scalar";throw new Error(`Cannot replace node with ${r} parent`)}}function jo(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 ze(e,t,n,s){if(s&&typeof s=="object")if(Array.isArray(s))for(let r=0,o=s.length;r<o;++r){const a=s[r],i=ze(e,s,String(r),a);i===void 0?delete s[r]:i!==a&&(s[r]=i)}else if(s instanceof Map)for(const r of Array.from(s.keys())){const o=s.get(r),a=ze(e,s,r,o);a===void 0?s.delete(r):a!==o&&s.set(r,a)}else if(s instanceof Set)for(const r of Array.from(s)){const o=ze(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 a=ze(e,s,r,o);a===void 0?delete s[r]:a!==o&&(s[r]=a)}return e.call(t,n,s)}function ot(e,t,n){if(Array.isArray(e))return e.map((s,r)=>
83ot(s,String(r),n));if(e&&typeof e.toJSON=="function"){if(!n||!Su(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 ks{constructor(t){Object.defineProperty(this,at,{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(!In(t))throw new TypeError("A document argument is required");const a={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof s=="number"?s:100},i=ot(this,"",a);if(typeof r=="function")for(const{count:l,res:c}of a.anchors.values())r(c,l);return typeof o=="function"?ze(o,{"":i},"",i):i}}class Eu extends ks{constructor(t){super(ys),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let n;return Je(t,{Node:(s,r)=>{if(r===this)return Je.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,a=this.resolve(r);if(!a){const l=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(l)}let i=s.get(a);if(i||(ot(a,null,n),i=s.get(a)),!i||i.res===void 0){const l="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(l)}if(o>=0&&(i.count+=1,i.aliasCount===0&&(i.aliasCount=fn(r,a,s)),i.count*i.aliasCount>
83o)){const l="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(l)}return i.res}toString(t,n,s){const r=`*${this.source}`;if(t){if(jo(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 fn(e,t,n){if(Re(t)){const s=t.resolve(e),r=n&&s&&n.get(s);return r?r.count*r.aliasCount:0}else if(X(t)){let s=0;for(const r of t.items){const o=fn(e,r,n);o>s&&(s=o)}return s}else if(W(t)){const s=fn(e,t.key,n),r=fn(e,t.value,n);return Math.max(s,r)}return 1}const Vo=e=>!e||typeof e!="function"&&typeof e!="object";class N extends ks{constructor(t){super(_s),this.value=t}toJSON(t,n){return n!=null&&n.keep?this.value:ot(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 Ou(e,t,n){return n.find(s=>{var r;return((r=s.identify)==null?void 0:r.call(s,e))&&!s.format})}function bn(e,t,n){var h,f,d;if(In(e)&&(e=e.contents),J(e))return e;if(W(e)){const p=(f=(h=n.schema[Se]).createNode)==null?void 0:f.call(h,n.schema,null,
83n);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:a,sourceObjects:i}=n;let l;if(s&&e&&typeof e=="object"){if(l=i.get(e),l)return l.anchor||(l.anchor=r(e)),new Eu(l.anchor);l={anchor:null,node:null},i.set(e,l)}let c=Ou(e,t,a.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?a[Se]:Symbol.iterator in Object(e)?a[Qe]:a[Se]}o&&(o(c),delete n.onTagObj);const u=c!=null&&c.createNode?c.createNode(n.schema,e,n):typeof((d=c==null?void 0:c.nodeClass)==null?void 0:d.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 Jr(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 a=[];a[o]=s,s=a}else s=new Map([[o,s]])}return bn(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 Lu=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class Fo extends ks{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=>J(s)||W(s)?s.clone(t):s),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(Lu(t))this.add(n);else{const[s,...r]=t,o=this.get(s,!0);if(X(o))o.addIn(r,n);else if(o===void 0&&this.schema)this.set(s,Jr(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(X(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&&z(o)?o.value:o:X(o)?o.getIn(r,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!W(n))return!1;const s=n.value;return s==null||t&&z(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 X(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(X(o))o.setIn(r,n);else if(o===void 0&&this.schema)this.set(s,Jr(this.schema,r,n));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${r}`)}}}const Au=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Ke(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Ae=(e,t,n)=>e.endsWith(` 84`)?Ke(n,t):n.includes(` 85`)?` 86`+Ke(n,t):(e.endsWith(" ")?"":" ")+n,zo="flow",rs="block",dn="quoted";function Cn(e,t,n="flow",{indentAtStart:s,lineWidth:r=80,minContentWidth:o=20,onFold:a,onOverflow:i}={}){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 f,d,p=!1,m=-1,y=-1,v=-1;n===rs&&(m=Kr(e,m,t.length),m!==-1&&(h=m+l));for(let k;k=e[m+=1];){if(n===dn&&k==="\\"){switch(y=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}v=m}if(k===` 87`)n===rs&&(m=Kr(e,m,t.length)),h=m+t.length+l,f=void 0;else{if(k===" "&&d&&d!==" "&&d!==` 88`&&d!==" "){const M=e[m+1];M&&M!==" "&&M!==` 89`&&M!==" "&&(f=m)}if(m>=h)if(f)c.push(f),h=f+l,f=void 0;else if(n===dn){for(;d===" "||d===" ";)d=k,k=e[m+=1],p=!0;const M=m>v+1?m-2:y-1;if(u[M])return e;c.push(M),u[M]=!0,h=M+l,f=void 0}else p=!0}d=k}if(p&&i&&i(),c.length===0)return e;a&&a();let _=e.slice(0,c[0]);for(let k=0;k<c.length;++k){const M=c[k],E=c[k+1]||e.length;M===0?_=` 90${t}${e.slice(0,E)}`:(n===dn&&u[M]&&(_+=`${e[M]}\\`),_+=` 91${t}${e.slice(M+1,E)}`)}return _}function Kr(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!==` 92`);s=t,r=t+1,o=e[r]}return s}const Rn=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}
92),xn=e=>/^(%|---|\.\.\.)/m.test(e);function Du(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,a=0;o<r;++o)if(e[o]===` 93`){if(o-a>s)return!0;if(a=o+1,r-a<=s)return!1}return!0}function We(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:s}=t,r=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(xn(e)?" ":"");let a="",i=0;for(let l=0,c=n[l];c;c=n[++l])if(c===" "&&n[l+1]==="\\"&&n[l+2]==="n"&&(a+=n.slice(i,l)+"\\ ",l+=1,i=l,c="\\"),c==="\\")switch(n[l+1]){case"u":{a+=n.slice(i,l);const u=n.substr(l+2,4);switch(u){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:u.substr(0,2)==="00"?a+="\\x"+u.substr(2):a+=n.substr(l,6)}l+=5,i=l+1}break;case"n":if(s||n[l+2]==='"'||n.length<r)l+=1;else{for(a+=n.slice(i,l)+` 94 95`;n[l+2]==="\\"&&n[l+3]==="n"&&n[l+4]!=='"';)a+=` 96`,l+=2;a+=o,n[l+2]===" "&&(a+="\\"),l+=1,i=l+1}break;default:l+=1}return a=i?a+n.slice(i):n,s?a:Cn(a,o,dn,Rn(t,!1))}function os(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(` 97`)||/[ \t]\n|\n[ \t]/.test(e))return We(e,t);const n=t.indent||(xn(e)?" ":""),s="'"+e.replace(/'/g,"''").replace(/\n+/g,`$& 98${n}`)+"'";return t.implicitKey?s:Cn(s,n,zo,Rn(t,!1))}function De(e,t){const{singleQuote:n}=t.options;let s;if(n===!1)s=We;else{const r=e.includes('"'),o=e.includes("'");r&&!o?s=os:o&&!r?s=We:s=n?os:We}return s(e,t)}let as;try{as=new RegExp(`(^|(?<! 99)) 100+(?! 101|$)`,"g")}catch{as=/\n+(?!\n|$)/g}function hn({comment:e,type:t,value:n},s,r,o){const{blockQuote:a,commentString:i,lineWidth:l}=s.options;if(!a||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return De(n,s);const c=s.indent||(s.forceBlockIndent||xn(n)?" ":""),u=a==="literal"?!0:a==="folded"||t===N.BLOCK_FOLDED?!1:t===N.BLOCK_LITERAL?!0:!Du(n,l,c.length);if(!n)return u?`| 102`:`> 103`;let h,f;for(f=n.length;f>0;--f){const E=n[f-1];if(E!==` 104`&&E!==" "&&E!==" ")break}let d=n.substring(f);const p=d.indexOf(` 105`);p===-1?h="-":n===d||p!==d.length-1?(h="+",o&&o()):h="",d&&(n=n.slice(0,-d.length),d[d.length-1]===` 106`&&(d=d.slice(0,-1)),d=d.replace(as,`$&${c}`));let m=!1,y,v=-1;for(y=0;y<n.length;++y){const E=n[y];if(E===" ")m=!0;else if(E===` 107`)v=y;else break}let _=n.substring(0,v<y?v+1:y);_&&(n=n.substring(_.length),_=_.replace(/\n+/g,`$&${c}`));let M=(m?c?"2":"1":"")+h;if(e&&(M+=" "+i(e.replace(/ ?[\r\n]+/g," ")),r&&r()),!u){const E=n.replace(/\n+/g,` 108$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);let L=!1;const A=Rn(s,!0);a!=="folded"&&t!==N.BLOCK_FOLDED&&(A.onOverflow=()=>{L=!0});const C=Cn(`${_}${E}${d}`,c,rs,A);if(!L)return`>${M} 109${c}${C}`}return n=n.replace(/\n+/g,`$&${c}`),`|${M} 110${c}${_}${n}${d}`}function Iu(e,t,n,s){const{type:r,value:o}=e,{actualString:a,implicitKey:i,indent:l,indentStep:c,inFlow:u}=t;if(i&&o.includes(` 111`)||u&&/[[\]{},]/.test(o))return De(o,t);if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return i||u||!o.includes(` 112`)?De(o,t):hn(e,t,n,s);if(!i&&!u&&r!==N.PLAIN&&o.includes(` 113`))return hn(e,t,n,s);if(xn(o)){if(l==="")return t.forceBlockIndent=!0,hn(e,t,n,s);if(i&&l===c)return De(o,t)}const h=o.replace(/\n+/g,`$& 114${l}`);if(a){const f=m=>{var y;return m.default&&m.tag!=="tag:yaml.org,2002:str"&&((y=m.test)==null?void 0:y.test(h))},{compat:d,tags:p}=t.doc.schema;if(p.some(f)||d!=null&&d.some(f))return De(o,t)}return i?h:Cn(h,l,zo,Rn(t,!1))}function Cu(e,t,n,s){const{implicitKey:r,inFlow:o}=t,a=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:i}=e;i!==N.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(a.value)&&(i=N.QUOTE_DOUBLE);const l=u=>{switch(u){case N.BLOCK_FOLDED:case N.BLOCK_LITERAL:return r||o?De(a.value,t):hn(a,t,n,s);case N.QUOTE_DOUBLE:return We(a.value,t);case N.QUOTE_SINGLE:return os(a.value,t);case N.PLAIN:return Iu(a,t,n,s);default:return null}};let c=l(i);if(c===null){const{defaultKeyType:u,defaultStringType:h}=t.options,f=r&&u||h;if(c=l(f),c===null)throw new Error(`Unsupported default string type ${f}`)}return c}function Ru(e,t){const n=Object.assign({blockQuote:!0,commentString:Au,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 xu(e,t){var r;if(t.tag){const o=e.filter(a=>a.tag===t.tag);if(o.length>0)return o.find(a=>a.format===t.format)??o[0]}let n,s;if(z(t)){s=t.value;let o=e.filter(a=>{var i;return(i=a.identify)==null?void 0:i.call(a,s)});if(o.length>1){const a=o.filter(i=>i.test);a.length>0&&(o=a)}n=o.find(a=>a.format===t.format)??o.find(a=>!a.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 Hu(e,t,{anchors:n,doc:s}){if(!s.directives)return"";const r=[],o=(z(e)||X(e))&&e.anchor;o&&jo(o)&&(n.add(o),r.push(`&${o}`));const a=e.tag?e.tag:t.default?null:t.tag;return a&&r.push(s.directives.tagString(a)),r.join(" ")}function Sn(e,t,n,s){var l;if(W(e))return e.toString(t,n,s);if(Re(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=J(e)?e:t.doc.createNode(e,{onTagObj:c=>r=c});r||(r=xu(t.doc.schema.tags,o));const a=Hu(o,r,t);a.length>0&&(t.indentAtStart=(t.indentAtStart??0)+a.length+1);const i=typeof r.stringify=="function"?r.stringify(o,t,n,s):z(o)?Cu(o,t,n,s):o.toString(t,n,s);return a?z(o)||i[0]==="{"||i[0]==="["?`${a} ${i}`:`${a} 115${t.indent}${i}`:i}function Nu({key:e,value:t},n,s,r){const{allNullValues:o,doc:a,indent:i,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:h}}=n;let f=J(e)&&e.comment||null;if(h){if(f)throw new Error("With simple keys, key nodes cannot have comments");
115if(X(e)||!J(e)&&typeof e=="object"){const A="With simple keys, collection cannot be used as a key value";throw new Error(A)}}let d=!h&&(!e||f&&t==null&&!n.inFlow||X(e)||(z(e)?e.type===N.BLOCK_FOLDED||e.type===N.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!d&&(h||!o),indent:i+l});let p=!1,m=!1,y=Sn(e,n,()=>p=!0,()=>m=!0);if(!d&&!n.inFlow&&y.length>1024){if(h)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");d=!0}if(n.inFlow){if(o||t==null)return p&&s&&s(),y===""?"?":d?`? ${y}`:y}else if(o&&!h||t==null&&d)return y=`? ${y}`,f&&!p?y+=Ae(y,n.indent,c(f)):m&&r&&r(),y;p&&(f=null),d?(f&&(y+=Ae(y,n.indent,c(f))),y=`? ${y} 116${i}:`):(y=`${y}:`,f&&(y+=Ae(y,n.indent,c(f))));let v,_,k;J(t)?(v=!!t.spaceBefore,_=t.commentBefore,k=t.comment):(v=!1,_=null,k=null,t&&typeof t=="object"&&(t=a.createNode(t))),n.implicitKey=!1,!d&&!f&&z(t)&&(n.indentAtStart=y.length+1),m=!1,!u&&l.length>=2&&!n.inFlow&&!d&&vs(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let M=!1;const E=Sn(t,n,()=>M=!0,()=>m=!0);let L=" ";if(f||v||_){if(L=v?` 117`:"",_){const A=c(_);L+=` 118${Ke(A,n.indent)}`}E===""&&!n.inFlow?L===` 119`&&(L=` 120 121`):L+=` 122${n.indent}`}else if(!d&&X(t)){const A=E[0],C=E.indexOf(` 123`),F=C!==-1,nt=n.inFlow??t.flow??t.items.length===0;if(F||!nt){let Y=!1;if(F&&(A==="&"||A==="!")){let D=E.indexOf(" ");A==="&"&&D!==-1&&D<C&&E[D+1]==="!"&&(D=E.indexOf(" ",D+1)),(D===-1||C<D)&&(Y=!0)}Y||(L=` 124${n.indent}`)}}else(E===""||E[0]===` 125`)&&(L="");return y+=L+E,n.inFlow?M&&s&&s():k&&!M?y+=Ae(y,n.indent,c(k)):m&&r&&r(),y}function ju(e,t){(e==="debug"||e==="warn")&&console.warn(t)}const sn="<<",qn={identify:e=>e===sn||typeof e=="symbol"&&e.description===sn,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new N(Symbol(sn)),{addToJSMap:Bo}),stringify:()=>sn},Vu=(e,t)=>(qn.identify(t)||z(t)&&(!t.type||t.type===N.PLAIN)&&qn.identify(t.value))&&(e==null?void 0:e.doc.schema.tags.some(n=>n.tag===qn.tag&&n.default));function Bo(e,t,n){if(n=e&&Re(n)?n.resolve(e.doc):n,vs(n))for(const s of n.items)Wn(e,t,s);else if(Array.isArray(n))for(const s of n)Wn(e,t,s);else Wn(e,t,n)}function Wn(e,t,n){const s=e&&Re(n)?n.resolve(e.doc):n;if(!No(s))throw new Error("Merge sources must be maps or map aliases");const r=s.toJSON(null,e,Map);for(const[o,a]of r)t instanceof Map?t.has(o)||t.set(o,a):t instanceof Set?t.add(o):Object.prototype.hasOwnProperty.call(t,o)||Object.defineProperty(t,o,{value:a,writable:!0,enumerable:!0,configurable:!0});return t}function qo(e,t,{key:n,value:s}){if(J(n)&&n.addToJSMap)n.addToJSMap(e,t,s);else if(Vu(e,n))Bo(e,t,s);else{const r=ot(n,"",e);if(t instanceof Map)t.set(r,ot(s,r,e));else if(t instanceof Set)t.add(r);else{const o=Fu(n,r,e),a=ot(s,o,e);o in t?Object.defineProperty(t,o,{value:a,writable:!0,enumerable:!0,configurable:!0}):t[o]=a}}return t}function Fu(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(J(e)&&(n!=null&&n.doc)){const s=Ru(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)+'..."'),ju(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 ws(e,t,n){const s=bn(e,void 0,n),r=bn(t,void 0,n);return new ct(s,r)}class ct{constructor(t,n=null){Object.defineProperty(this,at,{value:Ho}),this.key=t,this.value=n}clone(t){let{key:n,value:s}=this;return J(n)&&(n=n.clone(t)),J(s)&&(s=s.clone(t)),new ct(n,s)}toJSON(t,n){const s=n!=null&&n.mapAsMap?new Map:{};return qo(n,s,this)}toString(t,n,s){return t!=null&&t.doc?Nu(this,t,n,s):JSON.stringify(this)}}function Wo(e,t,n){return(t.inFlow??e.flow?Bu:zu)(e,t,n)}function zu({comment:e,items:t},n,{blockItemPrefix:s,flowChars:r,itemIndent:o,onChompKeep:a,onComment:i}){const{indent:l,options:{commentString:c}}=n,u=Object.assign({},n,{indent:o,type:null});let h=!1;const f=[];for(let p=0;p<t.length;++p){const m=t[p];let y=null;
125if(J(m))!h&&m.spaceBefore&&f.push(""),Mn(n,f,m.commentBefore,h),m.comment&&(y=m.comment);else if(W(m)){const _=J(m.key)?m.key:null;_&&(!h&&_.spaceBefore&&f.push(""),Mn(n,f,_.commentBefore,h))}h=!1;let v=Sn(m,u,()=>y=null,()=>h=!0);y&&(v+=Ae(v,o,c(y))),h&&y&&(h=!1),f.push(s+v)}let d;if(f.length===0)d=r.start+r.end;else{d=f[0];for(let p=1;p<f.length;++p){const m=f[p];d+=m?` 126${l}${m}`:` 127`}}return e?(d+=` 128`+Ke(c(e),l),i&&i()):h&&a&&a(),d}function Bu({items:e},t,{flowChars:n,itemIndent:s}){const{indent:r,indentStep:o,flowCollectionPadding:a,options:{commentString:i}}=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 m=e[p];let y=null;if(J(m))m.spaceBefore&&h.push(""),Mn(t,h,m.commentBefore,!1),m.comment&&(y=m.comment);else if(W(m)){const _=J(m.key)?m.key:null;_&&(_.spaceBefore&&h.push(""),Mn(t,h,_.commentBefore,!1),_.comment&&(c=!0));const k=J(m.value)?m.value:null;k?(k.comment&&(y=k.comment),k.commentBefore&&(c=!0)):m.value==null&&(_!=null&&_.comment)&&(y=_.comment)}y&&(c=!0);let v=Sn(m,l,()=>y=null);p<e.length-1&&(v+=","),y&&(v+=Ae(v,s,i(y))),!c&&(h.length>u||v.includes(` 129`))&&(c=!0),h.push(v),u=h.length}const{start:f,end:d}=n;if(h.length===0)return f+d;if(!c){const p=h.reduce((m,y)=>m+y.length+2,2);c=t.options.lineWidth>0&&p>t.options.lineWidth}if(c){let p=f;for(const m of h)p+=m?` 130${o}${r}${m}`:` 131`;return`${p} 132${r}${d}`}else return`${f}${a}${h.join(" ")}${a}${d}`}function Mn({indent:e,options:{commentString:t}},n,s,r){if(s&&r&&(s=s.replace(/^\n+/,"")),s){const o=Ke(t(s),e);n.push(o.trimStart())}}function be(e,t){const n=z(t)?t.value:t;for(const s of e)if(W(s)&&(s.key===t||s.key===n||z(s.key)&&s.key.value===n))return s}class Pe extends Fo{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(Se,t),this.items=[]}static from(t,n,s){const{keepUndefined:r,replacer:o}=s,a=new this(t),i=(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)&&a.items.push(ws(l,c,s))};if(n instanceof Map)for(const[l,c]of n)i(l,c);else if(n&&typeof n=="object")for(const l of Object.keys(n))i(l,n[l]);return typeof t.sortMapEntries=="function"&&a.items.sort(t.sortMapEntries),a}add(t,n){var a;let s;W(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=be(this.items,s.key),o=(a=this.schema)==null?void 0:a.sortMapEntries;if(r){if(!n)throw new Error(`Key ${s.key} already set`);z(r.value)&&Vo(s.value)?r.value.value=s.value:r.value=s.value}else if(o){const i=this.items.findIndex(l=>o(s,l)<0);i===-1?this.items.push(s):this.items.splice(i,0,s)}else this.items.push(s)}delete(t){const n=be(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const s=be(this.items,t),r=s==null?void 0:s.value;return(!n&&z(r)?r.value:r)??void 0}has(t){return!!be(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)qo(n,r,o);return r}toString(t,n,s){if(!t)return JSON.stringify(this);for(const r of this.items)if(!W(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})),Wo(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:s,onComment:n})}}class Uo extends Fo{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(Qe,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=rn(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const s=rn(t);if(typeof s!="number")return;const r=this.items[s];return!n&&z(r)?r.value:r}has(t){const n=rn(t);return typeof n=="number"&&n<this.items.length}set(t,n){const s=rn(t);if(typeof s!="number")throw new Error(`Expected a valid index, not ${t}.`);const r=this.items[s];z(r)&&Vo(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(ot(o,String(r++),n));return s}toString(t,n,s){return t?Wo(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 a=0;for(let i of n){if(typeof r=="function"){const l=n instanceof Set?i:String(a++);i=r.call(n,l,i)}o.items.push(bn(i,void 0,s))}}return o}}function rn(e){let t=z(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}function qu(e,t,n){const{replacer:s}=n,r=new Uo(e);r.tag="tag:yaml.org,2002:pairs";let o=0;if(t&&Symbol.iterator in Object(t))for(let a of t){typeof s=="function"&&(a=s.
132call(t,String(o++),a));let i,l;if(Array.isArray(a))if(a.length===2)i=a[0],l=a[1];else throw new TypeError(`Expected [key, value] tuple: ${a}`);else if(a&&a instanceof Object){const c=Object.keys(a);if(c.length===1)i=c[0],l=a[i];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else i=a;r.items.push(ws(i,l,n))}return r}class bs extends Uo{constructor(){super(),this.add=Pe.prototype.add.bind(this),this.delete=Pe.prototype.delete.bind(this),this.get=Pe.prototype.get.bind(this),this.has=Pe.prototype.has.bind(this),this.set=Pe.prototype.set.bind(this),this.tag=bs.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,a;if(W(r)?(o=ot(r.key,"",n),a=ot(r.value,o,n)):o=ot(r,"",n),s.has(o))throw new Error("Ordered maps must not include duplicate keys");s.set(o,a)}return s}static from(t,n,s){const r=qu(t,n,s),o=new this;return o.items=r.items,o}}bs.tag="tag:yaml.org,2002:omap";class Ss extends Pe{constructor(t){super(t),this.tag=Ss.tag}add(t){let n;W(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),be(this.items,n.key)||this.items.push(n)}get(t,n){const s=be(this.items,t);return!n&&W(s)?z(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=be(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 a of n)typeof r=="function"&&(a=r.call(n,a,a)),o.items.push(ws(a,null,s));return o}}Ss.tag="tag:yaml.org,2002:set";new Set("0123456789ABCDEFabcdef");new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()");new Set(",[]{}");new Set(` ,[]{} 133\r `);function Ms(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 Jo(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(2,10)}function et(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!1})}const dt=S({});let Wu=[],Uu=[];et(dt,"$syncUp",!0);et(dt,"$syncDown",!0);et(dt,"$paused",!1);et(dt,"$onSet",e=>Wu.push(e));et(dt,"$onPatch",e=>Uu.push(e));Jo();et(dt,"$patch",async()=>!1);const Ju={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(a){a&&a.key===e&&a.newValue&&t(JSON.parse(a.newValue))},window.addEventListener("storage",this.listener);const o=window.localStorage.getItem(e);o&&t(JSON.parse(o))}return(o,a=!1)=>{this.enabled&&(!s&&r&&!a&&r.postMessage(ho(o)),s&&!a&&window.localStorage.setItem(e,JSON.stringify(o)))}},disable(){this.enabled=!1,this.channels.forEach(e=>e.close()),this.listener&&window.removeEventListener("storage",this.listener)}},Ku=S([Ju]),Gu=new Map,Gr=I({});function Ko(e,t,n=!1){const s=[];let r=!1,o=!1,a,i;const l=S(t);function c(d){s.push(d)}function u(d,p){l[d]!==p&&(clearTimeout(a),r=!0,l[d]=p,a=setTimeout(()=>r=!1,0))}function h(d){r||(clearTimeout(i),o=!0,Object.entries(d).forEach(([p,m])=>{l[p]=m}),i=setTimeout(()=>o=!1,0))}function f(d){Gu.set(d,{onUpdate:h,persist:n,state:l}),Gr.value[d]=Ku.map(m=>m.init(d,h,l,n)).filter(m=>!!m);function p(){Gr.value[d].forEach(m=>m==null?void 0:m(ho(l),o)),r||s.forEach(m=>m(l))}tt(l,p,{deep:!0})}return{init:f,onPatch:c,onUpdate:h,patch:u,state:l}}const{init:Qu,onPatch:Ld,patch:Ad,state:Dd}=Ko(dt,dt,!0),$e=S({page:0,clicks:0});let Xu=[],Yu=[];et($e,"$syncUp",!0);et($e,"$syncDown",!0);et($e,"$paused",!1);et($e,"$onSet",e=>Xu.push(e));et($e,"$onPatch",e=>Yu.push(e));Jo();et($e,"$patch",async()=>!1);const{init:Zu,onPatch:tf,patch:on,state:Id}=Ko($e,{page:1,clicks:0,clicksTotal:0});function ef(){const e=io().appContext.app,t=S({nav:Me(),configs:V,themeConfigs:b(()=>V.themeConfig)});e.provide(An,I("none")),e.provide(Po,t),e.provide(Ln,b(()=>t.nav.currentSlideNo)),e.provide(Ge,gs(Hi()));for(const f of qa)f();const{clicksContext:n,currentSlideNo:s,hasPrimarySlide:r,isNotesViewer:o,isPresenter:a,isPrintMode:i}=Me();Ci({title:Nn,htmlAttrs:V.htmlAttrs}),wu(),Zu(`${Nn} - shared`),Qu(`${Nn} - drawings`);const l=`${location.origin}_${Ms()}`,c=b(()=>a.value?"presenter":"viewer");function u(){(a.value?nn.value.presenterSend:nn.value.viewerSend)&&(o.value||i.value||!a.value&&!ou.includes(location.host.split(":")[0])||(on("page",+s.value),on("clicks",n.value.current),on("clicksTotal",n.value.total),on("lastUpdate",{id:l,type:c.value,time:new Date().getTime()})))}const h=En();h.afterEach(u),tt(n,u),tf(f=>{var p;(a.value?nn.value.presenterReceive:nn.value.viewerReceive)&&(!r.value||i.value||((p=f.lastUpdate)==null?void 0:p.type)!==c.value&&(+f.page==+s.value&&+n.value.current==+f.clicks||(ms.value=!1,h.replace({path:Oe(f.page,a.value),query:{...h.currentRoute.value.query,clicks:f.clicks||0}}))))})}const nf=co({__name:"App",setup(e){return ef(),Ie(()=>{for(const[t,n]of Object.entries(Ba.value))document.body.style.setProperty(t,n.toString())}),(t,n)=>{const s=Pa("RouterView");return mn(),Ta(s)}}}),sf=[];function Cd(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}
133`),n.filter(Boolean).join(" ")}async function Rd(){const{saveAs:e}=await w(async()=>{const{saveAs:t}=await import("./modules/file-saver-C8BEGaqa.js").then(n=>n.F);return{saveAs:t}},[]);e(typeof V.download=="string"?V.download:V.exportFilename?`${V.exportFilename}.pdf`:"/decks/2025-Kybertuska-Numbers-of-the-Beast/slidev-exported.pdf",`${V.title}.pdf`)}function Ce(e,t,n){var s;return((s=e.instance)==null?void 0:s.$).provides[t]??n}function rf(){return{install(e){e.directive("click",{name:"v-click",mounted(t,n){const s=pn(t,n,n.value);s!=null&&(t.classList.toggle(un,!0),t.dataset.slidevClicksStart=String(s.start),Number.isFinite(s.end)&&(t.dataset.slidevClicksEnd=String(s.end)),t.watchStopHandle=Ie(()=>{const r=s.isActive.value,o=s.isCurrent.value,a=r&&!o;s.flagHide?(t.classList.toggle(s.flagFade?je:Ne,r),t.classList.toggle(Vn,r)):t.classList.toggle(s.flagFade?je:Ne,!r),t.classList.toggle(Fn,o),t.classList.toggle(zn,a)}))},unmounted:Un}),e.directive("after",{name:"v-after",mounted(t,n){const s=pn(t,n,"+0");s!=null&&(t.classList.toggle(un,!0),t.watchStopHandle=Ie(()=>{const r=s.isActive.value,o=s.isCurrent.value,a=r&&!o;s.flagHide?(t.classList.toggle(s.flagFade?je:Ne,r),t.classList.toggle(Vn,r)):t.classList.toggle(s.flagFade?je:Ne,!r),t.classList.toggle(Fn,o),t.classList.toggle(zn,a)}))},unmounted:Un}),e.directive("click-hide",{name:"v-click-hide",mounted(t,n){const s=pn(t,n,n.value,!0);s!=null&&(t.classList.toggle(un,!0),t.watchStopHandle=Ie(()=>{const r=s.isActive.value,o=s.isCurrent.value,a=r&&!o;t.classList.toggle(s.flagFade?je:Ne,r),t.classList.toggle(Vn,r),t.classList.toggle(Fn,o),t.classList.toggle(zn,a)}))},unmounted:Un})}}}const Go=new Map;function pn(e,t,n,s=!1){var h;const r=(h=Ce(t,Ge))==null?void 0:h.value;if(!e||!r)return null;const o=s||t.modifiers.hide!==!1&&t.modifiers.hide!=null,a=t.modifiers.fade!==!1&&t.modifiers.fade!=null,i=r.calculate(n);if(!i)return null;r.register(e,i);const l=b(()=>o?!i.isActive.value:i.isActive.value),c=b(()=>l.value?"shown":Number.isFinite(i.end)?r.current<i.start?"before":"after":o?"after":"before"),u={...i,isShown:l,visibilityState:c,flagFade:a,flagHide:o};return Go.set(e,u),u}function Un(e,t){var s,r;e.classList.toggle(un,!1);const n=(s=Ce(t,Ge))==null?void 0:s.value;n==null||n.unregister(e),(r=e.watchStopHandle)==null||r.call(e)}function of(e=ao($o,I())){const t=Ea(e),n=tt([pu,gu,mu,yu,hu,kn.width,kn.height],()=>{setTimeout(t.update,300)},{flush:"post",immediate:!0});return{...t,stop:n}}function af(e){return()=>{}}function lf(e,t,n,s=!1){var Ye;function r(j){return e?Ce(e,j):lt(j)}const o=r(An),a=r(Eo)??{},i=r(Ln),l=b(()=>af(i.value)),c=r(To)??I(1),u=r(Oo)??I(1),{left:h,top:f,stop:d}=of(r($o)??I()),{isPrintMode:p}=Me(),m=["slide","presenter"].includes(o.value)&&!p.value;let y=e?"directive":"prop",v=Ms(),_;if(Array.isArray(t)?_=t:typeof t=="string"&&t.includes(",")?_=t.split(",").map(Number):t!=null&&(y="frontmatter",v=`${t}`,t=(Ye=a==null?void 0:a.dragPos)==null?void 0:Ye[v],_=t==null?void 0:t.split(",").map(Number)),y!=="frontmatter"&&!n)throw new Error("[Slidev] Can not identify the source position of the v-drag element, please provide an explicit `id` prop.");const k=[d],M=!s&&t!=null&&!Number.isFinite(_==null?void 0:_[3]);_??(_=[Number.NaN,Number.NaN,0]);const E=I(_[2]),L=I(_[0]+_[2]/2),A=I(s?0:_[4]??0),C=b(()=>A.value*Math.PI/180),F=b(()=>Math.sin(C.value)),nt=b(()=>Math.cos(C.value)),Y=I(),D=I({left:0,top:0,width:0,height:0}),R=I(0);function B(){if(!Y.value)return;const j=Y.value.getBoundingClientRect();D.value={left:j.left/u.value,top:j.top/u.value,width:j.width/u.value,height:j.height/u.value},R.value=(D.value.width+D.value.height)/c.value/(Math.abs(F.value)+Math.abs(nt.value))-E.value}k.push(tt(E,B,{flush:"post"}));const x=I(_[3]??0),H=M?b({get:()=>(M?R.value:x.value)||0,set:j=>!M&&(x.value=j)}):x,it=M?I(_[1]):I(_[1]+_[3]/2),ut=M?b({get:()=>it.value+H.value/2,set:j=>it.value=j-H.value/2}):it,xe=b(()=>Number.isFinite(L.value)?{position:"absolute",zIndex:100,left:`${L.value-E.value/2}px`,top:`${ut.value-H.value/2}px`,width:`${E.value}px`,height:M?void 0:`${H.value}px`,transformOrigin:"center center",transform:`rotate(${A.value}deg)`}:{position:"absolute",zIndex:100});k.push(tt([L,ut,E,H,A],([j,pt,He,Ps,Es])=>{let Te=[j-He/2,pt-Ps/2,He].map(Math.round).join();M?Te+=y==="directive"?",NaN":",_":Te+=`,${Math.round(Ps)}`,Math.round(Es)!==0&&(Te+=`,${Math.round(Es)}`),y==="directive"&&(Te=`[${Te}]`),l.value(v,Te,y,n)}));const q={dragId:v,dataSource:y,markdownSource:n,isArrow:s,zoom:u,autoHeight:M,x0:L,y0:ut,width:E,height:H,rotate:A,container:Y,containerStyle:xe,watchStopHandles:k,dragging:b(()=>tn.value===q),mounted(){m&&(B(),t||setTimeout(()=>{B(),L.value=(D.value.left+D.value.width/2-h.value)/c.value,ut.value=(D.value.top-f.value)/c.value,E.value=D.value.width/c.value,H.value=D.value.height/c.value},100))},unmounted(){m&&q.stopDragging()},startDragging(){m&&(B(),tn.value=q)},stopDragging(){m&&tn.value===q&&(tn.value=null)}};return k.push(Oa(Y,j=>{const pt=document.querySelector("#drag-control-container");pt&&j.target&&pt.contains(j.target)||q.stopDragging()}),tt(La(),j=>{j||q.stopDragging()})),q}function cf(){return{install(e){e.directive("drag",{name:"v-drag",created(t,n,s){var o;const r=lf(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(tt(r.containerStyle,a=>{for(const[i,l]of Object.entries(a))l&&(t.style[i]=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.forEac
133h(s=>s())}})}}}function Qo(){return Math.floor(Math.random()*2**31)}class uf{constructor(t){this.seed=t}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}}function is(e,t,n){if(e&&e.length){const[s,r]=t,o=Math.PI/180*n,a=Math.cos(o),i=Math.sin(o);for(const l of e){const[c,u]=l;l[0]=(c-s)*a-(u-r)*i+s,l[1]=(c-s)*i+(u-r)*a+r}}}function ff(e,t,n){const s=[];e.forEach(r=>s.push(...r)),is(s,t,n)}function df(e,t){return e[0]===t[0]&&e[1]===t[1]}function hf(e,t,n,s=1){const r=n,o=Math.max(t,.1),a=e[0]&&e[0][0]&&typeof e[0][0]=="number"?[e]:e,i=[0,0];if(r)for(const c of a)is(c,i,r);const l=pf(a,o,s);if(r){for(const c of a)is(c,i,-r);ff(l,i,-r)}return l}function pf(e,t,n){const s=[];for(const c of e){const u=[...c];df(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],f=c[u+1];if(h[1]!==f[1]){const d=Math.min(h[1],f[1]);o.push({ymin:d,ymax:Math.max(h[1],f[1]),x:d===h[1]?h[0]:f[0],islope:(f[0]-h[0])/(f[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 a=[],i=o[0].ymin,l=0;for(;a.length||o.length;){if(o.length){let c=-1;for(let h=0;h<o.length&&!(o[h].ymin>i);h++)c=h;o.splice(0,c+1).forEach(h=>{a.push({s:i,edge:h})})}if(a=a.filter(c=>!(c.edge.ymax<=i)),a.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)&&a.length>1)for(let c=0;c<a.length;c=c+2){const u=c+1;if(u>=a.length)break;const h=a[c].edge,f=a[u].edge;r.push([[Math.round(h.x),i],[Math.round(f.x),i]])}i+=n,a.forEach(c=>{c.edge.x=c.edge.x+n*c.edge.islope}),l++}return r}function Xe(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),hf(e,r,s,o||1)}class $s{constructor(t){this.helper=t}fillPolygons(t,n){return this._fillPolygons(t,n)}_fillPolygons(t,n){const s=Xe(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 Hn(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 gf extends $s{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=Xe(t,r),a=Math.PI/180*n.hachureAngle,i=[],l=s*.5*Math.cos(a),c=s*.5*Math.sin(a);for(const[h,f]of o)Hn([h,f])&&i.push([[h[0]-l,h[1]+c],[...f]],[[h[0]+l,h[1]-c],[...f]]);return{type:"fillSketch",ops:this.renderLines(i,n)}}}class mf extends $s{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 yf{constructor(t){this.helper=t}fillPolygons(t,n){n=Object.assign({},n,{hachureAngle:0});const s=Xe(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 a=r/4;for(const i of t){const l=Hn(i),c=l/r,u=Math.ceil(c)-1,h=l-u*r,f=(i[0][0]+i[1][0])/2-r/4,d=Math.min(i[0][1],i[1][1]);for(let p=0;p<u;p++){const m=d+h+p*r,y=f-a+Math.random()*2*a,v=m-a+Math.random()*2*a,_=this.helper.ellipse(y,v,o,o,n);s.push(..._.ops)}}return{type:"fillSketch",ops:s}}}class _f{constructor(t){this.helper=t}fillPolygons(t,n){const s=Xe(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(a=>{const i=Hn(a),l=Math.floor(i/(s+r)),c=(i+r-l*(s+r))/2;let u=a[0],h=a[1];u[0]>h[0]&&(u=a[1],h=a[0]);const f=Math.atan((h[1]-u[1])/(h[0]-u[0]));for(let d=0;d<l;d++){const p=d*(s+r),m=p+s,y=[u[0]+p*Math.cos(f)+c*Math.cos(f),u[1]+
133p*Math.sin(f)+c*Math.sin(f)],v=[u[0]+m*Math.cos(f)+c*Math.cos(f),u[1]+m*Math.sin(f)+c*Math.sin(f)];o.push(...this.helper.doubleLineOps(y[0],y[1],v[0],v[1],n))}}),o}}class vf{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=Xe(t,n);return{type:"fillSketch",ops:this.zigzagLines(o,r,n)}}zigzagLines(t,n,s){const r=[];return t.forEach(o=>{const a=Hn(o),i=Math.round(a/(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<i;h++){const f=h*2*n,d=(h+1)*2*n,p=Math.sqrt(2*Math.pow(n,2)),m=[l[0]+f*Math.cos(u),l[1]+f*Math.sin(u)],y=[l[0]+d*Math.cos(u),l[1]+d*Math.sin(u)],v=[m[0]+p*Math.cos(u+Math.PI/4),m[1]+p*Math.sin(u+Math.PI/4)];r.push(...this.helper.doubleLineOps(m[0],m[1],v[0],v[1],s),...this.helper.doubleLineOps(v[0],v[1],y[0],y[1],s))}}),r}}const K={};function kf(e,t){let n=e.fillStyle||"hachure";if(!K[n])switch(n){case"zigzag":K[n]||(K[n]=new gf(t));break;case"cross-hatch":K[n]||(K[n]=new mf(t));break;case"dots":K[n]||(K[n]=new yf(t));break;case"dashed":K[n]||(K[n]=new _f(t));break;case"zigzag-line":K[n]||(K[n]=new vf(t));break;case"hachure":default:n="hachure",K[n]||(K[n]=new $s(t));break}return K[n]}const wf=0,ls=1,Xo=2,an={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 bf(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:wf,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:ls,text:`${parseFloat(RegExp.$1)}`},e=e.substr(RegExp.$1.length);else return[];return t[t.length]={type:Xo,text:""},t}function Jn(e,t){return e.type===t}function Ts(e){const t=[],n=bf(e);let s="BOD",r=0,o=n[r];for(;!Jn(o,Xo);){let a=0;const i=[];if(s==="BOD")if(o.text==="M"||o.text==="m")r++,a=an[o.text],s=o.text;else return Ts("M0,0"+e);else Jn(o,ls)?a=an[s]:(r++,a=an[o.text],s=o.text);if(r+a<n.length){for(let l=r;l<r+a;l++){const c=n[l];if(Jn(c,ls))i[i.length]=+c.text;else throw new Error("Param not a number: "+s+","+c.text)}if(typeof an[s]=="number"){const l={key:s,data:i};t.push(l),r+=a,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 Yo(e){let t=0,n=0,s=0,r=0;const o=[];for(const{key:a,data:i}of e)switch(a){case"M":o.push({key:"M",data:[...i]}),[t,n]=i,[s,r]=i;break;case"m":t+=i[0],n+=i[1],o.push({key:"M",data:[t,n]}),s=t,r=n;break;case"L":o.push({key:"L",data:[...i]}),[t,n]=i;break;case"l":t+=i[0],n+=i[1],o.push({key:"L",data:[t,n]});break;case"C":o.push({key:"C",data:[...i]}),t=i[4],n=i[5];break;case"c":{const l=i.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:[...i]}),t=i[2],n=i[3];break;case"q":{const l=i.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:[...i]}),t=i[5],n=i[6];break;case"a":t+=i[5],n+=i[6],o.push({key:"A",data:[i[0],i[1],i[2],i[3],i[4],t,n]});break;case"H":o.push({key:"H",data:[...i]}),t=i[0];break;case"h":t+=i[0],o.push({key:"H",data:[t]});break;case"V":o.push({key:"V",data:[...i]}),n=i[0];break;case"v":n+=i[0],o.push({key:"V",data:[n]});break;case"S":o.push({key:"S",data:[...i]}),t=i[2],n=i[3];break;case"s":{const l=i.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:[...i]}),t=i[0],n=i[1];break;case"t":t+=i[0],n+=i[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 Zo(e){const t=[];let n="",s=0,r=0,o=0,a=0,i=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,a]=u;break;case"C":t.push({key:"C",data:[...u]}),s=u[4],r=u[5],i=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,f=0;n==="C"||n==="S"?(h=s+(s-i),f=r+(r-l)):(h=s,f=r),t.push({key:"C",data:[h,f,...u]}),i=u[0],l=u[1],s=u[2],r=u[3];break}case"T":{const[h,f]=u;let d=0,p=0;n==="Q"||n==="T"?(d=s+(s-i),p=r+(r-l)):(d=s,p=r);const m=s+2*(d-s)/3,y=r+2*(p-r)/3,v=h+2*(d-h)/3,_=f+2*(p-f)/3;t.push({key:"C",data:[m,y,v,_,h,f]}),i=d,l=p,s=h,r=f;break}case"Q":{const[h,f,d,p]=u,m=s+2*(h-s)/3,y=r+2*(f-r)/3,v=d+2*(h-d)/3,_=p+2*(f-p)/3;t.push({key:"C",data:[m,y,v,_,d,p]}),i=h,l=f,s=d,r=p;break}case"A":{const h=Math.abs(u[0]),f=Math.abs(u[1]),d=u[2],p=u[3],m=u[4],y=u[5],v=u[6];h===0||f===0?(t.push({key:"C",data:[s,r,y,v,y,v]}),s=y,r=v):(s!==y||r!==v)&&(ta(s,r,y,v,h,f,d,p,m).forEach(function(k){t.push({key:"C",data:k})}),s=y,r=v);break}case"Z":t.push({key:"Z",data:[]}),s=o,r=a;break}n=c}return t}function Sf(e){return Math.PI*e/180}function Ve(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 ta(e,t,n,s,r,o,a,i,l,c){const u=Sf(a);let h=[],f=0,d=0,p=0,m=0;if(c)[f,d,p,m]=c;else{[e,t]=Ve(e,t,-u),[n,s]=Ve(n,s,-u);const D=(e-n)/2,R=(t-s)/2;let B=D*D/(r*r)+R*R/(o*o);B>1&&(B=Math.sqrt(B),r=B*r,o=B*o);const x=i===l?-1:1,H=r*r,it=o*o,ut=H*it-H*R*R-it*D*D,xe=H*R*R+it*D*D,q=x*Math.sqrt(Math.abs(ut/xe));p=q*r*R/o+(e+n)/2,m=q*-o*D/r+(t+s)/2,f=Math.asin(parseFloat(((t-m)/o).toFixed(9))),d=Math.asin(parseFloat(((s-m)/o).toFixed(9))),e<p&&(f=Math.PI-f),n<p&&
133(d=Math.PI-d),f<0&&(f=Math.PI*2+f),d<0&&(d=Math.PI*2+d),l&&f>d&&(f=f-Math.PI*2),!l&&d>f&&(d=d-Math.PI*2)}let y=d-f;if(Math.abs(y)>Math.PI*120/180){const D=d,R=n,B=s;l&&d>f?d=f+Math.PI*120/180*1:d=f+Math.PI*120/180*-1,n=p+r*Math.cos(d),s=m+o*Math.sin(d),h=ta(n,s,R,B,r,o,a,0,l,[d,D,p,m])}y=d-f;const v=Math.cos(f),_=Math.sin(f),k=Math.cos(d),M=Math.sin(d),E=Math.tan(y/4),L=4/3*r*E,A=4/3*o*E,C=[e,t],F=[e+L*_,t-A*v],nt=[n+L*M,s-A*k],Y=[n,s];if(F[0]=2*C[0]-F[0],F[1]=2*C[1]-F[1],c)return[F,nt,Y].concat(h);{h=[F,nt,Y].concat(h);const D=[];for(let R=0;R<h.length;R+=3){const B=Ve(h[R][0],h[R][1],u),x=Ve(h[R+1][0],h[R+1][1],u),H=Ve(h[R+2][0],h[R+2][1],u);D.push([B[0],B[1],x[0],x[1],H[0],H[1]])}return D}}const Mf={randOffset:Pf,randOffsetWithRange:Ef,ellipse:cs,doubleLineOps:Of};function Z(e,t,n,s,r){return{type:"path",ops:ht(e,t,n,s,r)}}function Ue(e,t,n){const s=(e||[]).length;if(s>2){const r=[];for(let o=0;o<s-1;o++)r.push(...ht(e[o][0],e[o][1],e[o+1][0],e[o+1][1],n));return t&&r.push(...ht(e[s-1][0],e[s-1][1],e[0][0],e[0][1],n)),{type:"path",ops:r}}else if(s===2)return Z(e[0][0],e[0][1],e[1][0],e[1][1],n);return{type:"path",ops:[]}}function $f(e,t){return Ue(e,!0,t)}function ea(e,t,n,s,r){const o=[[e,t],[e+n,t],[e+n,t+s],[e,t+s]];return $f(o,r)}function Qr(e,t){if(e.length){const s=typeof e[0][0]=="number"?[e]:e,r=ln(s[0],1*(1+t.roughness*.2),t),o=t.disableMultiStroke?[]:ln(s[0],1.5*(1+t.roughness*.22),Zr(t));for(let a=1;a<s.length;a++){const i=s[a];if(i.length){const l=ln(i,1*(1+t.roughness*.2),t),c=t.disableMultiStroke?[]:ln(i,1.5*(1+t.roughness*.22),Zr(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 cs(e,t,n,s,r){const o=na(n,s,r);return us(e,t,r,o).opset}function na(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 a=Math.abs(e/2),i=Math.abs(t/2);const l=1-n.curveFitting;return a+=O(a*l,n),i+=O(i*l,n),{increment:o,rx:a,ry:i}}function us(e,t,n,s){const[r,o]=to(s.increment,e,t,s.rx,s.ry,1,s.increment*$n(.1,$n(.4,1,n),n),n);let a=Tn(r,null,n);if(!n.disableMultiStroke&&n.roughness!==0){const[i]=to(s.increment,e,t,s.rx,s.ry,1.5,0,n),l=Tn(i,null,n);a=a.concat(l)}return{estimatedPoints:o,opset:{type:"path",ops:a}}}function Xr(e,t,n,s,r,o,a,i,l){const c=e,u=t;let h=Math.abs(n/2),f=Math.abs(s/2);h+=O(h*.01,l),f+=O(f*.01,l);let d=r,p=o;for(;d<0;)d+=Math.PI*2,p+=Math.PI*2;p-d>Math.PI*2&&(d=0,p=Math.PI*2);const m=Math.PI*2/l.curveStepCount,y=Math.min(m/2,(p-d)/2),v=eo(y,c,u,h,f,d,p,1,l);if(!l.disableMultiStroke){const _=eo(y,c,u,h,f,d,p,1.5,l);v.push(..._)}return a&&(i?v.push(...ht(c,u,c+h*Math.cos(d),u+f*Math.sin(d),l),...ht(c,u,c+h*Math.cos(p),u+f*Math.sin(p),l)):v.push({op:"lineTo",data:[c,u]},{op:"lineTo",data:[c+h*Math.cos(d),u+f*Math.sin(d)]})),{type:"path",ops:v}}function Yr(e,t){const n=Zo(Yo(Ts(e))),s=[];let r=[0,0],o=[0,0];for(const{key:a,data:i}of n)switch(a){case"M":{o=[i[0],i[1]],r=[i[0],i[1]];break}case"L":s.push(...ht(o[0],o[1],i[0],i[1],t)),o=[i[0],i[1]];break;case"C":{const[l,c,u,h,f,d]=i;s.push(...Lf(l,c,u,h,f,d,o,t)),o=[f,d];break}case"Z":s.push(...ht(o[0],o[1],r[0],r[1],t)),o=[r[0],r[1]];break}return{type:"path",ops:s}}function Kn(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]+O(r,t),s[0][1]+O(r,t)]});for(let a=1;a<o;a++)n.push({op:"lineTo",data:[s[a][0]+O(r,t),s[a][1]+O(r,t)]})}}return{type:"fillPath",ops:n}}function Ee(e,t){return kf(t,Mf).fillPolygons(e,t)}function Tf(e,t,n,s,r,o,a){const i=e,l=t;let c=Math.abs(n/2),u=Math.abs(s/2);c+=O(c*.01,a),u+=O(u*.01,a);let h=r,f=o;for(;h<0;)h+=Math.PI*2,f+=Math.PI*2;f-h>Math.PI*2&&(h=0,f=Math.PI*2);const d=(f-h)/a.curveStepCount,p=[];for(let m=h;m<=f;m=m+d)p.push([i+c*Math.cos(m),l+u*Math.sin(m)]);return p.push([i+c*Math.cos(f),l+u*Math.sin(f)]),p.push([i,l]),Ee([p],a)}function Pf(e,t){return O(e,t)}function Ef(e,t,n){return $n(e,t,n)}function Of(e,t,n,s,r){return ht(e,t,n,s,r,!0)}function Zr(e){const t=Object.assign({},e);return t.randomizer=void 0,e.seed&&(t.seed=e.seed+1),t}function sa(e){return e.randomizer||(e.randomizer=new uf(e.seed||0)),e.randomizer.next()}function $n(e,t,n,s=1){return n.roughness*s*(sa(n)*(t-e)+e)}function O(e,t,n=1){return $n(-e,e,t,n)}function ht(e,t,n,s,r,o=!1){const a=o?r.disableMultiStrokeFill:r.disableMultiStroke,i=fs(e,t,n,s,r,!0,!1);if(a)return i;const l=fs(e,t,n,s,r,!0,!0);return i.concat(l)}function fs(e,t,n,s,r,o,a){const i=Math.pow(e-n,2)+Math.pow(t-s,2),l=Math.sqrt(i);let c=1;l<200?c=1:l>500?c=.4:c=-.0016668*l+1.233334;let u=r.maxRandomnessOffset||0;u*u*100>i&&(u=l/10);const h=u/2,f=.2+sa(r)*.2;let d=r.bowing*r.maxRandomnessOffset*(s-t)/200,p=r.bowing*r.maxRandomnessOffset*(e-n)/200;
133d=O(d,r,c),p=O(p,r,c);const m=[],y=()=>O(h,r,c),v=()=>O(u,r,c),_=r.preserveVertices;return a?m.push({op:"move",data:[e+(_?0:y()),t+(_?0:y())]}):m.push({op:"move",data:[e+(_?0:O(u,r,c)),t+(_?0:O(u,r,c))]}),a?m.push({op:"bcurveTo",data:[d+e+(n-e)*f+y(),p+t+(s-t)*f+y(),d+e+2*(n-e)*f+y(),p+t+2*(s-t)*f+y(),n+(_?0:y()),s+(_?0:y())]}):m.push({op:"bcurveTo",data:[d+e+(n-e)*f+v(),p+t+(s-t)*f+v(),d+e+2*(n-e)*f+v(),p+t+2*(s-t)*f+v(),n+(_?0:v()),s+(_?0:v())]}),m}function ln(e,t,n){if(!e.length)return[];const s=[];s.push([e[0][0]+O(t,n),e[0][1]+O(t,n)]),s.push([e[0][0]+O(t,n),e[0][1]+O(t,n)]);for(let r=1;r<e.length;r++)s.push([e[r][0]+O(t,n),e[r][1]+O(t,n)]),r===e.length-1&&s.push([e[r][0]+O(t,n),e[r][1]+O(t,n)]);return Tn(s,null,n)}function Tn(e,t,n){const s=e.length,r=[];if(s>3){const o=[],a=1-n.curveTightness;r.push({op:"move",data:[e[1][0],e[1][1]]});for(let i=1;i+2<s;i++){const l=e[i];o[0]=[l[0],l[1]],o[1]=[l[0]+(a*e[i+1][0]-a*e[i-1][0])/6,l[1]+(a*e[i+1][1]-a*e[i-1][1])/6],o[2]=[e[i+1][0]+(a*e[i][0]-a*e[i+2][0])/6,e[i+1][1]+(a*e[i][1]-a*e[i+2][1])/6],o[3]=[e[i+1][0],e[i+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(...fs(e[0][0],e[0][1],e[1][0],e[1][1],n,!0,!0));return r}function to(e,t,n,s,r,o,a,i){const l=i.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 f=[t+s*Math.cos(h),n+r*Math.sin(h)];c.push(f),u.push(f)}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=O(.5,i)-Math.PI/2;u.push([O(o,i)+t+.9*s*Math.cos(h-e),O(o,i)+n+.9*r*Math.sin(h-e)]);const f=Math.PI*2+h-.01;for(let d=h;d<f;d=d+e){const p=[O(o,i)+t+s*Math.cos(d),O(o,i)+n+r*Math.sin(d)];c.push(p),u.push(p)}u.push([O(o,i)+t+s*Math.cos(h+Math.PI*2+a*.5),O(o,i)+n+r*Math.sin(h+Math.PI*2+a*.5)]),u.push([O(o,i)+t+.98*s*Math.cos(h+a),O(o,i)+n+.98*r*Math.sin(h+a)]),u.push([O(o,i)+t+.9*s*Math.cos(h+a*.5),O(o,i)+n+.9*r*Math.sin(h+a*.5)])}return[u,c]}function eo(e,t,n,s,r,o,a,i,l){const c=o+O(.1,l),u=[];u.push([O(i,l)+t+.9*s*Math.cos(c-e),O(i,l)+n+.9*r*Math.sin(c-e)]);for(let h=c;h<=a;h=h+e)u.push([O(i,l)+t+s*Math.cos(h),O(i,l)+n+r*Math.sin(h)]);return u.push([t+s*Math.cos(a),n+r*Math.sin(a)]),u.push([t+s*Math.cos(a),n+r*Math.sin(a)]),Tn(u,null,l)}function Lf(e,t,n,s,r,o,a,i){const l=[],c=[i.maxRandomnessOffset||1,(i.maxRandomnessOffset||1)+.3];let u=[0,0];const h=i.disableMultiStroke?1:2,f=i.preserveVertices;for(let d=0;d<h;d++)d===0?l.push({op:"move",data:[a[0],a[1]]}):l.push({op:"move",data:[a[0]+(f?0:O(c[0],i)),a[1]+(f?0:O(c[0],i))]}),u=f?[r,o]:[r+O(c[d],i),o+O(c[d],i)],l.push({op:"bcurveTo",data:[e+O(c[d],i),t+O(c[d],i),n+O(c[d],i),s+O(c[d],i),u[0],u[1]]});return l}function Fe(e){return[...e]}function no(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(Fe(e[0]),Fe(e[1]),Fe(e[2]),Fe(e[2]));else{const r=[];r.push(e[0],e[0]);for(let i=1;i<e.length;i++)r.push(e[i]),i===e.length-1&&r.push(e[i]);const o=[],a=1-t;s.push(Fe(r[0]));for(let i=1;i+2<r.length;i++){const l=r[i];o[0]=[l[0],l[1]],o[1]=[l[0]+(a*r[i+1][0]-a*r[i-1][0])/6,l[1]+(a*r[i+1][1]-a*r[i-1][1])/6],o[2]=[r[i+1][0]+(a*r[i][0]-a*r[i+2][0])/6,r[i+1][1]+(a*r[i][1]-a*r[i+2][1])/6],o[3]=[r[i+1][0],r[i+1][1]],s.push(o[1],o[2],o[3])}}return s}function Af(e,t){return Math.sqrt(gn(e,t))}function gn(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)}function Df(e,t,n){const s=gn(t,n);if(s===0)return gn(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)),gn(e,we(t,n,r))}function we(e,t,n){return[e[0]+(t[0]-e[0])*n,e[1]+(t[1]-e[1])*n]}function If(e,t){const n=e[t+0],s=e[t+1],r=e[t+2],o=e[t+3];let a=3*s[0]-2*n[0]-o[0];a*=a;let i=3*s[1]-2*n[1]-o[1];i*=i;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,a<l&&(a=l),i<c&&(i=c),a+i}function ds(e,t,n,s){const r=s||[];if(If(e,t)<n){const o=e[t+0];r.length?Af(r[r.length-1],o)>1&&r.push(o):r.push(o),r.push(e[t+3])}
vendor: 4,147 bytes, line 133
133else{const a=e[t+0],i=e[t+1],l=e[t+2],c=e[t+3],u=we(a,i,.5),h=we(i,l,.5),f=we(l,c,.5),d=we(u,h,.5),p=we(h,f,.5),m=we(d,p,.5);ds([a,u,d,m],0,n,r),ds([m,p,f,c],0,n,r)}return r}function Cf(e,t){return Pn(e,0,e.length,t)}function Pn(e,t,n,s,r){const o=r||[],a=e[t],i=e[n-1];let l=0,c=1;for(let u=t+1;u<n-1;++u){const h=Df(e[u],a,i);h>l&&(l=h,c=u)}return Math.sqrt(l)>s?(Pn(e,t,c+1,s,o),Pn(e,c,n,s,o)):(o.length||o.push(a),o.push(i)),o}function hs(e,t=.15,n){const s=[],r=(e.length-1)/3;for(let o=0;o<r;o++){const a=o*3;ds(e,a,t,s)}return n&&n>0?Pn(s,0,s.length,n):s}function Rf(e,t,n){const s=Ts(e),r=Zo(Yo(s)),o=[];let a=[],i=[0,0],l=[];const c=()=>{l.length>=4&&a.push(...hs(l,t)),l=[]},u=()=>{c(),a.length&&(o.push(a),a=[])};for(const{key:f,data:d}of r)switch(f){case"M":u(),i=[d[0],d[1]],a.push(i);break;case"L":c(),a.push([d[0],d[1]]);break;case"C":if(!l.length){const p=a.length?a[a.length-1]:i;l.push([p[0],p[1]])}l.push([d[0],d[1]]),l.push([d[2],d[3]]),l.push([d[4],d[5]]);break;case"Z":c(),a.push([i[0],i[1]]);break}if(u(),!n)return o;const h=[];for(const f of o){const d=Cf(f,n);d.length&&h.push(d)}return h}const Q="none";class xf{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 Qo()}_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 a=this._o(o);return this._d("line",[Z(t,n,s,r,a)],a)}rectangle(t,n,s,r,o){const a=this._o(o),i=[],l=ea(t,n,s,r,a);if(a.fill){const c=[[t,n],[t+s,n],[t+s,n+r],[t,n+r]];a.fillStyle==="solid"?i.push(Kn([c],a)):i.push(Ee([c],a))}return a.stroke!==Q&&i.push(l),this._d("rectangle",i,a)}ellipse(t,n,s,r,o){const a=this._o(o),i=[],l=na(s,r,a),c=us(t,n,a,l);if(a.fill)if(a.fillStyle==="solid"){const u=us(t,n,a,l).opset;u.type="fillPath",i.push(u)}else i.push(Ee([c.estimatedPoints],a));return a.stroke!==Q&&i.push(c.opset),this._d("ellipse",i,a)}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",[Ue(t,!1,s)],s)}arc(t,n,s,r,o,a,i=!1,l){const c=this._o(l),u=[],h=Xr(t,n,s,r,o,a,i,!0,c);if(i&&c.fill)if(c.fillStyle==="solid"){const f=Object.assign({},c);f.disableMultiStroke=!0;const d=Xr(t,n,s,r,o,a,!0,!1,f);d.type="fillPath",u.push(d)}else u.push(Tf(t,n,s,r,o,a,c));return c.stroke!==Q&&u.push(h),this._d("arc",u,c)}curve(t,n){const s=this._o(n),r=[],o=Qr(t,s);if(s.fill&&s.fill!==Q)if(s.fillStyle==="solid"){const a=Qr(t,Object.assign(Object.assign({},s),{disableMultiStroke:!0,roughness:s.roughness?s.roughness+s.fillShapeRoughnessGain:0}));r.push({type:"fillPath",ops:this._mergedShape(a.ops)})}else{const a=[],i=t;if(i.length){const c=typeof i[0][0]=="number"?[i]:i;for(const u of c)u.length<3?a.push(...u):u.length===3?a.push(...hs(no([u[0],u[0],u[1],u[2]]),10,(1+s.roughness)/2)):a.push(...hs(no(u),10,(1+s.roughness)/2))}a.length&&r.push(Ee([a],s))}return s.stroke!==Q&&r.push(o),this._d("curve",r,s)}polygon(t,n){const s=this._o(n),r=[],o=Ue(t,!0,s);return s.fill&&(s.fillStyle==="solid"?r.push(Kn([t],s)):r.push(Ee([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,a=s.stroke!==Q,i=!!(s.simplification&&s.simplification<1),l=i?4-4*(s.simplification||1):(1+s.roughness)/2,c=Rf(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(Kn(c,s));else r.push(Ee(c,s));
133return a&&(i?c.forEach(h=>{r.push(Ue(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(a=>+a.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 a=null;switch(o.type){case"path":a={d:this.opsToPath(o),stroke:s.stroke,strokeWidth:s.strokeWidth,fill:Q};break;case"fillPath":a={d:this.opsToPath(o),stroke:Q,strokeWidth:0,fill:s.fill||Q};break;case"fillSketch":a=this.fillSketch(o,s);break}a&&r.push(a)}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 ra="http://www.w3.org/2000/svg",Hf=800;let Gn=null;function Nf(){return Gn||(Gn=new xf().defaultOptions),Gn}function Qn(e,t,n){return{...Nf(),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 jf(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 Vf(e,t,n,s,r,o){const a=[];let i=n.strokeWidth||2;const l=jf(n),c=n.animate===void 0?!0:!!n.animate,u=n.iterations||2,h=n.rtl?1:0,f=Qn("single",o,n);switch(n.type){case"underline":{const d=t.y+t.h+l[2];for(let p=h;p<u+h;p++)p%2?a.push(Z(t.x+t.w,d,t.x,d,f)):a.push(Z(t.x,d,t.x+t.w,d,f));break}case"strike-through":{const d=t.y+t.h/2;for(let p=h;p<u+h;p++)p%2?a.push(Z(t.x+t.w,d,t.x,d,f)):a.push(Z(t.x,d,t.x+t.w,d,f));break}case"box":{const d=t.x-l[3],p=t.y-l[0],m=t.w+(l[1]+l[3]),y=t.h+(l[0]+l[2]);for(let v=0;v<u;v++)a.push(ea(d,p,m,y,f));break}case"bracket":{const d=Array.isArray(n.brackets)?n.brackets:n.brackets?[n.brackets]:["right"],p=t.x-l[3]*2,m=t.x+t.w+l[1]*2,y=t.y-l[0]*2,v=t.y+t.h+l[2]*2;for(const _ of d){let k;switch(_){case"bottom":k=[[p,t.y+t.h],[p,v],[m,v],[m,t.y+t.h]];break;case"top":k=[[p,t.y],[p,y],[m,y],[m,t.y]];break;case"left":k=[[t.x,y],[p,y],[p,v],[t.x,v]];break;case"right":k=[[t.x+t.w,y],[m,y],[m,v],[t.x+t.w,v]];break}k&&a.push(Ue(k,!1,f))}break}case"crossed-off":{const d=t.x,p=t.y,m=d+t.w,y=p+t.h;for(let v=h;v<u+h;v++)v%2?a.push(Z(m,y,d,p,f)):a.push(Z(d,p,m,y,f));for(let v=h;v<u+h;v++)v%2?a.push(Z(d,y,m,p,f)):a.push(Z(m,p,d,y,f));break}case"circle":{const d=Qn("double",o,n),p=t.w+(l[1]+l[3]),m=t.h+(l[0]+l[2]),y=t.x-l[3]+p/2,v=t.y-l[0]+m/2,_=Math.floor(u/2),k=u-_*2;for(let M=0;M<_;M++)a.push(cs(y,v,p,m,d));for(let M=0;M<k;M++)a.push(cs(y,v,p,m,f));break}case"highlight":{const d=Qn("highlight",o,n);i=t.h*.95;const p=t.y+t.h/2;for(let m=h;m<u+h;m++)m%2?a.push(Z(t.x+t.w,p,t.x,p,d)):a.push(Z(t.x,p,t.x+t.w,p,d));break}}if(a.length){const d=Ff(a),p=[],m=[];let y=0;const v=(_,k,M)=>_.setAttribute(k,M);for(const _ of d){const k=document.createElementNS(ra,"path");if(v(k,"d",_),v(k,"fill","none"),v(k,"stroke",n.color||"currentColor"),v(k,"stroke-width",`${i}`),n.opacity!==void 0&&v(k,"style",`opacity:${n.opacity}`),c){const M=k.getTotalLength();p.push(M),y+=M}e.appendChild(k),m.push(k)}if(c){let _=0;for(let k=0;k<m.length;k++){const M=m[k],E=p[k],L=y?r*(E/y):0,A=s+_,C=M.style;C.strokeDashoffset=`${E}`,C.strokeDasharray=`${E}`,C.animation=`rough-notation-dash ${L}ms ease-out ${A}ms forwards`,_+=L}return so(r+s)}}return so(0)}function so(e){return new Promise(t=>setTimeout(t,e))}function Ff(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}}
133s.trim()&&t.push(s.trim())}return t}function zf(){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 Bf=Object.defineProperty,qf=(e,t,n)=>t in e?Bf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,st=(e,t,n)=>(qf(e,typeof t!="symbol"?t+"":t,n),n);class Wf{constructor(t,n){st(this,"_state","unattached"),st(this,"_config"),st(this,"_resizing",!1),st(this,"_ro"),st(this,"_seed",Qo()),st(this,"_e"),st(this,"_svg"),st(this,"_lastSizes",[]),st(this,"_animationDelay",0),st(this,"_resizeListener",()=>{this._resizing||(this._resizing=!0,setTimeout(()=>{this._resizing=!1,this._state==="showing"&&this.haveRectsChanged()&&this.show()},400))}),st(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){zf();const t=this._svg=document.createElementNS(ra,"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 a=s.animationDuration||Hf;let i=0;const l=[];for(let c=0;c<r.length;c++){const u=r[c],h=a*(u.w/o);l.push(Vf(t,r[c],s,i+this._animationDelay+(this._config.delay||0),h,this._seed)),i+=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 Uf(e,t){return new Wf(e,t)}
133function G(e,t){return e.class=[e.class,t].filter(Boolean).join(" "),e}const ro={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")},Jf=[[/^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 Kf(){return{install(e){e.directive("mark",{name:"v-mark",mounted:(t,n)=>{const{isPrintMode:s}=Me(),r=b(()=>{const i=typeof n.value=="object"&&!Array.isArray(n.value)?{...n.value}:{at:n.value};let l={at:i.at};const c=Object.entries(n.modifiers).filter(([h,f])=>{if(ro[h])return l=ro[h](l,f),!1;for(const[d,p]of Jf){const m=h.match(d);if(m)return l=p(m,l,f),!1}return!0});c.length&&console.warn("[Slidev] Invalid modifiers for v-mark:",c);const u={...l,...i};return u.type||(u.type="underline"),s.value&&(u.animationDuration=1),u}),o=Uf(t,r.value),a=pn(t,n,r.value.at);if(!a){o.show();return}t.watchStopHandle=Ie(()=>{let i;r.value.class&&(o.class=r.value.class),r.value.color&&(o.color=r.value.color);const l=r.value.at;l===!0?i=!0:l===!1?i=!1:i=a.isActive.value,i!=null&&(i?o.show():o.hide())})},unmounted:t=>{var n;(n=t.watchStopHandle)==null||n.call(t)}})}}}function Gf(){return{install(e){const t=Aa();e.directive("motion",{name:"v-motion",mounted(n,s,r,o){var k,M,E;const a=Ce(s,Ge),i=Ce(s,Ln),l=Ce(s,An),{currentPage:c,clicks:u,isPrintMode:h}=Me(),f=r.props={...r.props},d={...f.initial,...(k=f.variants)==null?void 0:k["slidev-initial"]},p={...f.enter,...(M=f.variants)==null?void 0:M["slidev-enter"]},m={...f.leave,...(E=f.variants)==null?void 0:E["slidev-leave"]};delete f.initial,delete f.enter,delete f.leave;const y=`${Ms()}-`,v=[];for(const L of Object.keys(f))if(L.startsWith("click-")){const A=L.slice(6),C=A.includes("-")?A.split("-").map(Number):+A,F=y+A;v.push({id:F,at:C,variant:{...f[L]},info:a==null?void 0:a.value.calculate(C)}),delete f[L]}v.sort((L,A)=>(Array.isArray(L.at)?L.at[0]:L.at)-(Array.isArray(A.at)?A.at[0]:A.at)),t.created(n,s,r,o),t.mounted(n,s,r,o);const _=n.motionInstance;_.clickIds=v.map(L=>L.id),_.set(d),_.watchStopHandle=tt([i,c,u].filter(Boolean),()=>{var A;const L=((A=Go.get(n))==null?void 0:A.visibilityState.value)??"shown";if(!(a!=null&&a.value)||!["slide","presenter"].includes((l==null?void 0:l.value)??"")){const C={...d,...p};for(const{variant:F}of v)Object.assign(C,F);_.set(C)}else if(h.value||(i==null?void 0:i.value)===c.value)if(L==="shown"){const C={...d,...p};for(const{variant:F,info:nt}of v)(!nt||nt.isActive.value)&&Object.assign(C,F);h.value?_.set(C):_.apply(C)}else _.apply(L==="before"?d:m);else _.apply(((i==null?void 0:i.value)??-1)>c.value?d:m)},{immediate:!0})},unmounted(n){n.motionInstance.watchStopHandle()}})}}}const Qf=[];function Xf(){const e=[];function t(n){if(!V.remote||V.remote===n.query.password)return!0;if(V.remote&&n.query.password===void 0){const s=prompt("Enter password");if(V.remote===s)return!0}return n.params.no?{path:`/${n.params.no}`}:{path:""}}return e.push({name:"entry",path:"/entry",component:()=>w(()=>import("./slidev/entry-D_1JOEs8.js"),__vite__mapDeps([79,1,5,6,80])),beforeEnter:t},{name:"overview",path:"/overview",component:()=>w(()=>import("./slidev/overview-CloNuMEX.js"),__vite__mapDeps([81,82,1,83,84,85,86,87,88,89,90,91,92,5,6])),beforeEnter:t},{name:"notes",path:"/notes",component:()=>w(()=>import("./slidev/notes-BesTni2_.js"),__vite__mapDeps([93,1,83,84,86,89,90,5,6])),beforeEnter:t},{name:"presenter",path:"/presenter/:no",component:()=>w(()=>import("./slidev/presenter-D9PEOKPx.js"),__vite__mapDeps([94,1,85,95,87,88,8,82,86,5,6,91,92,96,83,84,97,98,89,90,99])),beforeEnter:t},{path:"/presenter",redirect:{path:"/presenter/1"}}),e.push({name:"print",path:"/print",component:()=>w(()=>
133import("./slidev/print-C506UW2q.js"),__vite__mapDeps([100,1,5,6,91,92,101])),beforeEnter:t},{path:"/presenter/print",component:()=>w(()=>import("./slidev/print-OlBt3fJx.js"),__vite__mapDeps([102,1,89,90,5,6])),beforeEnter:t}),e.push({name:"play",path:"/:no",component:()=>w(()=>import("./slidev/play-D2IwD_kk.js"),__vite__mapDeps([103,1,85,95,87,88,8,82,86,5,6,91,92,96,104]))},{path:"",redirect:{path:"/1"}},{path:"/:pathMatch(.*)*",name:"NotFound",component:()=>w(()=>import("./slidev/404-BNZ07F-G.js"),__vite__mapDeps([105,1,5,6,106]))}),Qf.reduce((n,s)=>s(n),e)}async function Yf(e){function t(){document.documentElement.style.setProperty("--vh",`${window.innerHeight*.01}px`)}t(),window.addEventListener("resize",t);const n=Da({history:Ia("/decks/2025-Kybertuska-Numbers-of-the-Beast/"),routes:Xf()});e.use(n),e.use(Di()),e.use(rf()),e.use(Kf()),e.use(cf()),e.use(Gf()),e.use(Ra,{container:"#twoslash-container"});const s={app:e,router:n};for(const r of sf)await r(s)}async function Zf(){const e=Ca(nf);await Yf(e),e.mount("#app")}Zf();export{To as $,ru as A,Eo as B,Be as C,Ln as D,An as E,Ge as F,Oo as G,Cd as H,ns as I,Ha as J,Dd as K,Ad as L,_d as M,Ld as N,en as O,pu as P,wn as Q,$d as R,Td as S,bd as T,go as U,za as V,w as W,$o as X,Ed as Y,po as Z,Vi as _,Ci as a,kn as a0,Dn as a1,et as a2,Jo as a3,Ko as a4,hu as a5,wd as a6,cd as a7,ud as a8,md as a9,_u as aa,ss as ab,gu as ac,sd as ad,nd as ae,kd as af,Pd as ag,rd as ah,fd as ai,Ao as aj,nn as ak,pd as al,Rd as am,Md as an,Sd as ao,rt as ap,du as aq,of as ar,gd as as,dd as at,tn as au,hd as av,vd as aw,Me as b,Mo as c,yd as d,Nn as e,id as f,Yn as g,V as h,Po as i,ld as j,uu as k,un as l,Ms as m,Fn as n,zn as o,ad as p,ms as q,As as r,Id as s,Ur as t,lu as u,xo as v,Od as w,Oe as x,Hi as y,od as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.