const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/slidev/md-Cdf4balT.js","assets/modules/vue-CSR4ejk2.js","assets/slidev/context-D0iqO3Kc.js","assets/modules/shiki-tduQW0Ms.js","assets/modules/shiki-BPvBenZD.css","assets/md-DGVfhMVe.js","assets/slidev/default-DzvFKb4k.js","assets/md-8nPyixJH.js","assets/md-CPhLDGZy.js","assets/md-BiNHxsIX.js","assets/md-Ab3YLrHu.js","assets/md-9ak__cW4.js","assets/md-DjBk5fro.js","assets/slidev/CodeBlockWrapper.vue_vue_type_script_setup_true_lang-BJl4Qqhg.js","assets/modules/unplugin-icons-C_8y6Xs3.js","assets/md-ClqryjbF.js","assets/md-DLB6wBVF.js","assets/md-C_MVQFn2.js","assets/md-JnaRAWAJ.js","assets/md-Cx37ONKp.js","assets/md-BIF-xXNR.js","assets/md-CVm_85tn.js","assets/slidev/entry-nm99HOjZ.js","assets/entry-BvbqNBa5.css","assets/slidev/overview-C8DpBgre.js","assets/slidev/DrawingPreview.vue_vue_type_script_setup_true_lang-BxrzxYkd.js","assets/DrawingPreview-CLnKdMnq.css","assets/slidev/IconButton.vue_vue_type_script_setup_true_lang-7nPPoqsL.js","assets/slidev/ClicksSlider-CIb42Z5s.js","assets/ClicksSlider-DF-G6C5I.css","assets/slidev/notes-DHTYcZ1h.js","assets/slidev/presenter-CfrswdWl.js","assets/slidev/useWakeLock-KQRnR-aV.js","assets/useWakeLock-DACMFErR.css","assets/slidev/DrawingControls.vue_vue_type_style_index_0_lang-XQUkn0JX.js","assets/DrawingControls-C5T1oZL5.css","assets/presenter-D2VUSN7T.css","assets/slidev/play-BXj9lYjc.js","assets/play-CoA43pdi.css","assets/slidev/404-RnEiaZps.js","assets/404-D-9eXycu.css"])))=>i.map(i=>d[i]); import{z as k,n as vs,A as co,B as yn,C as bs,q as $,D as Be,E as ee,G as uo,H as fo,I as ho,J as ks,K as R,L as po,M as go,N as Ct,O as _s,P as W,Q as mo,o as kt,b as Xt,d as ws,F as yo,e as In,g as vo,R as vn,S as bo,T as Ss,U as ko,V as _o,W as te,X as Ms,Y as It,r as wo,c as So,Z as Mo,_ as Oo,$ as Po,a0 as To,a1 as $o,a2 as Lo,a3 as Eo,a4 as Ao,a5 as Co,a6 as Io,a7 as No,a8 as Do,a9 as Ho,u as jo}from"./modules/vue-CSR4ejk2.js";import{T as Ro}from"./modules/shiki-tduQW0Ms.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function en(t,e,n){return Math.min(n,Math.max(e,t))}function Fo(...t){return xo(t).reduce((e,n)=>e+n,0)}function Vo(t){return t=t??[],Array.isArray(t)?t:[t]}function xo(t){return Vo(t).flat(1)}function Bo(t){return Array.from(new Set(t))}function Nn(...t){let e,n,s;t.length===1?(e=0,s=1,[n]=t):[e,n,s=1]=t;const o=[];let r=e;for(;re(n,s)).filter(Wo))}const I={theme:"eloc",title:"Unreal Engine 5.5 | aiue",titleTemplate:"%s - Slidev",addons:[],remoteAssets:!1,monaco:!0,monacoTypesSource:"local",monacoTypesAdditionalPackages:[],monacoTypesIgnorePackages:[],monacoRunAdditionalDeps:[],download:!1,export:{},info:`

Slidev Starter Template

Presentation slides for developers.

Learn more at Sli.dev

`,highlighter:"shiki",twoslash:!0,lineNumbers:!1,colorSchema:"auto",routerMode:"hash",aspectRatio:1.7777777777777777,canvasWidth:1580,exportFilename:"",selectable:!0,themeConfig:{},fonts:{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:["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:["Fira Code"],provider:"google",local:[],italic:!1,weights:["200","400","600"]},favicon:"https://cdn.jsdelivr.net/gh/slidevjs/slidev/assets/favicon.png",drawings:{enabled:!0,persist:!1,presenterOnly:!1,syncAll:!0},plantUmlServer:"https://www.plantuml.com/plantuml",codeCopy:!0,record:"dev",css:"unocss",presenter:!0,htmlAttrs:{},transition:"slide-left",editor:!0,contextMenu:null,wakeLock:!0,mdc:!1,class:"text-center",slidesTitle:"Unreal Engine 5.5 | aiue - Slidev"},_l="build",Os=k(()=>I.aspectRatio),qo=k(()=>I.canvasWidth),wl=k(()=>Math.ceil(qo.value/Os.value)),Uo=k(()=>zo(I.themeConfig||{},(t,e)=>[`--slidev-theme-${t}`,e])),xt=I.slidesTitle,Sl="/slide#/",Ko=new Set(["title","titleTemplate","script","style","noscript"]),ht=new Set(["base","meta","link","style","script","noscript"]),Jo=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Go=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Ps=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),Qo=typeof window<"u";function _t(t){let e=9;for(let n=0;n>>9)+65536).toString(16).substring(1,8).toLowerCase()}function tn(t){if(t._h)return t._h;if(t._d)return _t(t._d);let e=`${t.tag}:${t.textContent||t.innerHTML||""}:`;for(const n in t.props)e+=`${n}:${String(t.props[n])},`;return _t(e)}function Zo(t,e){return t instanceof Promise?t.then(e):e(t)}function nn(t,e,n,s){const o=s||$s(typeof e=="object"&&typeof e!="function"&&!(e instanceof Promise)?{...e}:{[t==="script"||t==="noscript"||t==="style"?"innerHTML":"textContent"]:e},t==="templateParams"||t==="titleTemplate");if(o instanceof Promise)return o.then(i=>nn(t,e,n,i));const r={tag:t,props:o};for(const i of Ps){const a=r.props[i]!==void 0?r.props[i]:n[i];a!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||Ko.has(r.tag))&&(r[i==="children"?"innerHTML":i]=a),delete r.props[i])}return r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(i=>({...r,props:{...r.props,content:i}})):r}function Yo(t,e){var s;const n=t==="class"?" ":";";return e&&typeof e=="object"&&!Array.isArray(e)&&(e=Object.entries(e).filter(([,o])=>o).map(([o,r])=>t==="style"?`${o}:${r}`:o)),(s=String(Array.isArray(e)?e.join(n):e))==null?void 0:s.split(n).filter(o=>!!o.trim()).join(n)}function Ts(t,e,n,s){for(let o=s;o(t[r]=i,Ts(t,e,n,o)));if(!e&&!Ps.has(r)){const i=String(t[r]),a=r.startsWith("data-");i==="true"||i===""?t[r]=a?"true":!0:t[r]||(a&&i==="false"?t[r]="false":delete t[r])}}}function $s(t,e=!1){const n=Ts(t,e,Object.keys(t),0);return n instanceof Promise?n.then(()=>t):t}const Xo=10;function Ls(t,e,n){for(let s=n;s(e[s]=r,Ls(t,e,s)));Array.isArray(o)?t.push(...o):t.push(o)}}function er(t){const e=[],n=t.resolvedInput;for(const o in n){if(!Object.prototype.hasOwnProperty.call(n,o))continue;const r=n[o];if(!(r===void 0||!Jo.has(o))){if(Array.isArray(r)){for(const i of r)e.push(nn(o,i,t));continue}e.push(nn(o,r,t))}}if(e.length===0)return[];const s=[];return Zo(Ls(s,e,0),()=>s.map((o,r)=>(o._e=t._i,t.mode&&(o._m=t.mode),o._p=(t._i<{if(i===ue||!o.includes(i))return i;const a=sr(e,i.slice(1));return a!==void 0?a:i}).trim(),r&&(t.endsWith(ue)&&(t=t.slice(0,-ue.length)),t.startsWith(ue)&&(t=t.slice(ue.length)),t=t.replace(or,n).trim()),t}function Rn(t,e){return t==null?e||null:typeof t=="function"?t(e):t}async function rr(t,e={}){const n=e.document||t.resolvedOptions.document;if(!n||!t.dirty)return;const s={shouldRender:!0,tags:[]};if(await t.hooks.callHook("dom:beforeRender",s),!!s.shouldRender)return t._domUpdatePromise||(t._domUpdatePromise=new Promise(async o=>{var d;const r=(await t.resolveTags()).map(h=>({tag:h,id:ht.has(h.tag)?tn(h):h.tag,shouldRender:!0}));let i=t._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const h=new Set;for(const f of["body","head"]){const p=(d=n[f])==null?void 0:d.children;for(const g of p){const m=g.tagName.toLowerCase();if(!ht.has(m))continue;const y={tag:m,props:await $s(g.getAttributeNames().reduce((O,w)=>({...O,[w]:g.getAttribute(w)}),{})),innerHTML:g.innerHTML},v=Es(y);let b=v,_=1;for(;b&&h.has(b);)b=`${v}:${_++}`;b&&(y._d=b,h.add(b)),i.elMap[g.getAttribute("data-hid")||tn(y)]=g}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function a(h,f,p){const g=`${h}:${f}`;i.sideEffects[g]=p,delete i.pendingSideEffects[g]}function l({id:h,$el:f,tag:p}){const g=p.tag.endsWith("Attrs");if(i.elMap[h]=f,g||(p.textContent&&p.textContent!==f.textContent&&(f.textContent=p.textContent),p.innerHTML&&p.innerHTML!==f.innerHTML&&(f.innerHTML=p.innerHTML),a(h,"el",()=>{var m;(m=i.elMap[h])==null||m.remove(),delete i.elMap[h]})),p._eventHandlers)for(const m in p._eventHandlers)Object.prototype.hasOwnProperty.call(p._eventHandlers,m)&&f.getAttribute(`data-${m}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:f).addEventListener(m.substring(2),p._eventHandlers[m].bind(f)),f.setAttribute(`data-${m}`,""));for(const m in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,m))continue;const y=p.props[m],v=`attr:${m}`;if(m==="class"){if(!y)continue;for(const b of y.split(" "))g&&a(h,`${v}:${b}`,()=>f.classList.remove(b)),!f.classList.contains(b)&&f.classList.add(b)}else if(m==="style"){if(!y)continue;for(const b of y.split(";")){const _=b.indexOf(":"),O=b.substring(0,_).trim(),w=b.substring(_+1).trim();a(h,`${v}:${O}`,()=>{f.style.removeProperty(O)}),f.style.setProperty(O,w)}}else f.getAttribute(m)!==y&&f.setAttribute(m,y===!0?"":String(y)),g&&a(h,v,()=>f.removeAttribute(m))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const h of r){const{tag:f,shouldRender:p,id:g}=h;if(p){if(f.tag==="title"){n.title=f.textContent;continue}h.$el=h.$el||i.elMap[g],h.$el?l(h):ht.has(f.tag)&&c.push(h)}}for(const h of c){const f=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),l(h),u[f]=u[f]||n.createDocumentFragment(),u[f].appendChild(h.$el)}for(const h of r)await t.hooks.callHook("dom:renderTag",h,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const h in i.pendingSideEffects)i.pendingSideEffects[h]();t._dom=i,await t.hooks.callHook("dom:rendered",{renders:r}),o()}).finally(()=>{t._domUpdatePromise=void 0,t.dirty=!1})),t._domUpdatePromise}function ir(t,e={}){const n=e.delayFn||(s=>setTimeout(s,10));return t._domDebouncedUpdatePromise=t._domDebouncedUpdatePromise||new Promise(s=>n(()=>rr(t,e).then(()=>{delete t._domDebouncedUpdatePromise,s()})))}function ar(t){return e=>{var s,o;const n=((o=(s=e.resolvedOptions.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&e.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":r=>{ir(r,t)}}}}}function sn(t,e={},n){for(const s in t){const o=t[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?sn(o,e,r):typeof o=="function"&&(e[r]=o)}return e}const lr={run:t=>t()},cr=()=>lr,As=typeof console.createTask<"u"?console.createTask:cr;function ur(t,e){const n=e.shift(),s=As(n);return t.reduce((o,r)=>o.then(()=>s.run(()=>r(...e))),Promise.resolve())}function fr(t,e){const n=e.shift(),s=As(n);return Promise.all(t.map(o=>s.run(()=>o(...e))))}function Bt(t,e){for(const n of[...t])n(e)}class hr{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(e,n,s={}){if(!e||typeof n!="function")return()=>{};const o=e;let r;for(;this._deprecatedHooks[e];)r=this._deprecatedHooks[e],e=r.to;if(r&&!s.allowDeprecated){let i=r.message;i||(i=`${o} hook has been deprecated`+(r.to?`, please use ${r.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(n),()=>{n&&(this.removeHook(e,n),n=void 0)}}hookOnce(e,n){let s,o=(...r)=>(typeof s=="function"&&s(),s=void 0,o=void 0,n(...r));return s=this.hook(e,o),s}removeHook(e,n){if(this._hooks[e]){const s=this._hooks[e].indexOf(n);s!==-1&&this._hooks[e].splice(s,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,n){this._deprecatedHooks[e]=typeof n=="string"?{to:n}:n;const s=this._hooks[e]||[];delete this._hooks[e];for(const o of s)this.hook(e,o)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const n in e)this.deprecateHook(n,e[n])}addHooks(e){const n=sn(e),s=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of s.splice(0,s.length))o()}}removeHooks(e){const n=sn(e);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...n){return n.unshift(e),this.callHookWith(ur,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(fr,e,...n)}callHookWith(e,n,...s){const o=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&Bt(this._before,o);const r=e(n in this._hooks?[...this._hooks[n]]:[],s);return r instanceof Promise?r.finally(()=>{this._after&&o&&Bt(this._after,o)}):(this._after&&o&&Bt(this._after,o),r)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const n=this._before.indexOf(e);n!==-1&&this._before.splice(n,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const n=this._after.indexOf(e);n!==-1&&this._after.splice(n,1)}}}}function dr(){return new hr}const pr=new Set(["templateParams","htmlAttrs","bodyAttrs"]),gr={hooks:{"tag:normalise":({tag:t})=>{t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.key&&(t.key=t.props.key,delete t.props.key);const e=Es(t);e&&!e.startsWith("meta:og:")&&!e.startsWith("meta:twitter:")&&delete t.key;const n=e||(t.key?`${t.tag}:${t.key}`:!1);n&&(t._d=n)},"tags:resolve":t=>{const e=Object.create(null);for(const s of t.tags){const o=(s.key?`${s.tag}:${s.key}`:s._d)||tn(s),r=e[o];if(r){let a=s==null?void 0:s.tagDuplicateStrategy;if(!a&&pr.has(s.tag)&&(a="merge"),a==="merge"){const l=r.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),e[o].props={...l,...s.props};continue}else if(s._e===r._e){r._duped=r._duped||[],s._d=`${r._d}:${r._duped.length+1}`,r._duped.push(s);continue}else if(wt(s)>wt(r))continue}if(!(s.innerHTML||s.textContent||Object.keys(s.props).length!==0)&&ht.has(s.tag)){delete e[o];continue}e[o]=s}const n=[];for(const s in e){const o=e[s],r=o._duped;n.push(o),r&&(delete o._duped,n.push(...r))}t.tags=n,t.tags=t.tags.filter(s=>!(s.tag==="meta"&&(s.props.name||s.props.property)&&!s.props.content))}}},mr=new Set(["script","link","bodyAttrs"]),yr=t=>({hooks:{"tags:resolve":e=>{for(const n of e.tags){if(!mr.has(n.tag))continue;const s=n.props;for(const o in s){if(o[0]!=="o"||o[1]!=="n"||!Object.prototype.hasOwnProperty.call(s,o))continue;const r=s[o];typeof r=="function"&&(t.ssr&&Dn.has(o)?s[o]=`this.dataset.${o}fired = true`:delete s[o],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[o]=r)}t.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||_t(n.props.src||n.props.href))}},"dom:renderTag":({$el:e,tag:n})=>{var o,r;const s=e==null?void 0:e.dataset;if(s)for(const i in s){if(!i.endsWith("fired"))continue;const a=i.slice(0,-5);Dn.has(a)&&((r=(o=n._eventHandlers)==null?void 0:o[a])==null||r.call(e,new Event(a.substring(2))))}}}}),vr=new Set(["link","style","script","noscript"]),br={hooks:{"tag:normalise":({tag:t})=>{t.key&&vr.has(t.tag)&&(t.props["data-hid"]=t._h=_t(t.key))}}},kr={mode:"server",hooks:{"tags:beforeResolve":t=>{const e={};let n=!1;for(const s of t.tags)s._m!=="server"||s.tag!=="titleTemplate"&&s.tag!=="templateParams"&&s.tag!=="title"||(e[s.tag]=s.tag==="title"||s.tag==="titleTemplate"?s.textContent:s.props,n=!0);n&&t.tags.push({tag:"script",innerHTML:JSON.stringify(e),props:{id:"unhead:payload",type:"application/json"}})}}},_r={hooks:{"tags:resolve":t=>{var e;for(const n of t.tags)if(typeof n.tagPriority=="string")for(const{prefix:s,offset:o}of tr){if(!n.tagPriority.startsWith(s))continue;const r=n.tagPriority.substring(s.length),i=(e=t.tags.find(a=>a._d===r))==null?void 0:e._p;if(i!==void 0){n._p=i+o;break}}t.tags.sort((n,s)=>{const o=wt(n),r=wt(s);return or?1:n._p-s._p})}}},wr={meta:"content",link:"href",htmlAttrs:"lang"},Sr=["innerHTML","textContent"],Mr=t=>({hooks:{"tags:resolve":e=>{var i;const{tags:n}=e;let s;for(let a=0;aa.tag==="title"))==null?void 0:i.textContent)||"",o,r);for(const a of n){if(a.processTemplateParams===!1)continue;const l=wr[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=it(a.props[l],o,r);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const c of Sr)typeof a[c]=="string"&&(a[c]=it(a[c],o,r))}t._templateParams=o,t._separator=r},"tags:afterResolve":({tags:e})=>{let n;for(let s=0;s{const{tags:e}=t;let n,s;for(let o=0;o{for(const e of t.tags)typeof e.innerHTML=="string"&&(e.innerHTML&&(e.props.type==="application/ld+json"||e.props.type==="application/json")?e.innerHTML=e.innerHTML.replace(/{a.dirty=!0,e.callHook("entries:updated",a)};let o=0,r=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:t,hooks:e,headEntries(){return r},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!i.some(u=>u.key===c.key))&&(i.push(c),Fn(c.mode,n)&&e.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:o++,input:l,...c};return Fn(u.mode,n)&&(r.push(u),s()),{dispose(){r=r.filter(d=>d._i!==u._i),s()},patch(d){for(const h of r)h._i===u._i&&(h.input=u.input=d);s()}}},async resolveTags(){const l={tags:[],entries:[...r]};await e.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 d of await er(c)){const h={tag:d,entry:c,resolvedOptions:a.resolvedOptions};await e.callHook("tag:normalise",h),l.tags.push(h.tag)}}return await e.callHook("tags:beforeResolve",l),await e.callHook("tags:resolve",l),await e.callHook("tags:afterResolve",l),l.tags},ssr:n};return[gr,kr,yr,br,_r,Mr,Or,Pr,...(t==null?void 0:t.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function Lr(){return Cs}const Er=co[0]==="3";function Ar(t){return typeof t=="function"?t():yn(t)}function St(t){if(t instanceof Promise||t instanceof Date||t instanceof RegExp)return t;const e=Ar(t);if(!t||!e)return e;if(Array.isArray(e))return e.map(n=>St(n));if(typeof e=="object"){const n={};for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){if(s==="titleTemplate"||s[0]==="o"&&s[1]==="n"){n[s]=yn(e[s]);continue}n[s]=St(e[s])}return n}return e}const Cr={hooks:{"entries:resolve":t=>{for(const e of t.entries)e.resolvedInput=St(e.input)}}},Is="usehead";function Ir(t){return{install(n){Er&&(n.config.globalProperties.$unhead=t,n.config.globalProperties.$head=t,n.provide(Is,t))}}.install}function Nr(t={}){t.domDelayFn=t.domDelayFn||(n=>vs(()=>setTimeout(()=>n(),0)));const e=Tr(t);return e.use(Cr),e.install=Ir(e),e}const Vn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xn="__unhead_injection_handler__";function Dr(){if(xn in Vn)return Vn[xn]();const t=bs(Is);return t||Lr()}function Hr(t,e={}){const n=e.head||Dr();if(n)return n.ssr?n.push(t,e):jr(n,t,e)}function jr(t,e,n={}){const s=$(!1),o=$({});Be(()=>{o.value=s.value?{}:St(e)});const r=t.push(o.value,n);return ee(o,a=>{r.patch(a)}),ks()&&(uo(()=>{r.dispose()}),fo(()=>{s.value=!0}),ho(()=>{s.value=!1})),r}function Ns(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(2,10)}function ne(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!1})}const Ne=R({page:0,clicks:0});let Rr=[],Fr=[];ne(Ne,"$syncUp",!0);ne(Ne,"$syncDown",!0);ne(Ne,"$paused",!1);ne(Ne,"$onSet",t=>Rr.push(t));ne(Ne,"$onPatch",t=>Fr.push(t));Ns();ne(Ne,"$patch",async()=>!1);function Ds(t,e,n=!1){const s=[];let o=!1,r=!1,i,a;const l=R(e);function c(f){s.push(f)}function u(f,p){l[f]!==p&&(clearTimeout(i),o=!0,l[f]=p,i=setTimeout(()=>o=!1,0))}function d(f){o||(clearTimeout(a),r=!0,Object.entries(f).forEach(([p,g])=>{l[p]=g}),a=setTimeout(()=>r=!1,0))}function h(f){let p;n?n&&window.addEventListener("storage",m=>{m&&m.key===f&&m.newValue&&d(JSON.parse(m.newValue))}):(p=new BroadcastChannel(f),p.addEventListener("message",m=>d(m.data)));function g(){!n&&p&&!r?p.postMessage(po(l)):n&&!r&&window.localStorage.setItem(f,JSON.stringify(l)),o||s.forEach(m=>m(l))}if(ee(l,g,{deep:!0,flush:"sync"}),n){const m=window.localStorage.getItem(f);m&&d(JSON.parse(m))}}return{init:h,onPatch:c,patch:u,state:l}}const{init:Vr,onPatch:xr,patch:pe,state:Ml}=Ds(Ne,{page:1,clicks:0,clicksTotal:0,viewerPage:1,viewerClicks:0,viewerClicksTotal:0}),fe=R({});let Br=[],Wr=[];ne(fe,"$syncUp",!0);ne(fe,"$syncDown",!0);ne(fe,"$paused",!1);ne(fe,"$onSet",t=>Br.push(t));ne(fe,"$onPatch",t=>Wr.push(t));Ns();ne(fe,"$patch",async()=>!1);const{init:zr,onPatch:Ol,patch:Pl,state:Tl}=Ds(fe,fe,!1),Nt="$$slidev-clicks-context",bn="$$slidev-page",Hs="$$slidev-slide-element",qr="$$slidev-slide-scale",Ur="$$slidev-context",$l="$$slidev-route",kn="$$slidev-render-context",Kr="$$slidev-fontmatter",Jr="$$slidev-slide-zoom",dt="slidev-vclick-target",Je="slidev-vclick-hidden",Ge="slidev-vclick-fade",Wt="slidev-vclick-hidden-explicitly",zt="slidev-vclick-current",qt="slidev-vclick-prior",pt=999999,Gr=["localhost","127.0.0.1"],Qr=["clicks","clicksStart","disabled","hide","hideInToc","layout","level","preload","routeAlias","src","title","transition","zoom","dragPos"],Ll=[...Qr,"theme","titleTemplate","info","author","keywords","presenter","download","exportFilename","export","highlighter","lineNumbers","monaco","monacoTypesSource","monacoTypesAdditionalPackages","monacoRunAdditionalDeps","remoteAssets","selectable","record","colorSchema","routerMode","aspectRatio","canvasWidth","themeConfig","favicon","plantUmlServer","fonts","defaults","drawings","htmlAttrs","mdc","contextMenu","wakeLock"],_n=$(!1),wn=Symbol.for("yaml.alias"),Zr=Symbol.for("yaml.document"),Ie=Symbol.for("yaml.map"),js=Symbol.for("yaml.pair"),Sn=Symbol.for("yaml.scalar"),ot=Symbol.for("yaml.seq"),le=Symbol.for("yaml.node.type"),ze=t=>!!t&&typeof t=="object"&&t[le]===wn,Dt=t=>!!t&&typeof t=="object"&&t[le]===Zr,Rs=t=>!!t&&typeof t=="object"&&t[le]===Ie,V=t=>!!t&&typeof t=="object"&&t[le]===js,j=t=>!!t&&typeof t=="object"&&t[le]===Sn,Mn=t=>!!t&&typeof t=="object"&&t[le]===ot;function Z(t){if(t&&typeof t=="object")switch(t[le]){case Ie:case ot:return!0}return!1}function U(t){if(t&&typeof t=="object")switch(t[le]){case wn:case Ie:case Sn:case ot:return!0}return!1}const Yr=t=>(j(t)||Z(t))&&!!t.anchor,Ee=Symbol("break visit"),Xr=Symbol("skip children"),Xe=Symbol("remove node");function nt(t,e){const n=ei(e);Dt(t)?Re(null,t.contents,n,Object.freeze([t]))===Xe&&(t.contents=null):Re(null,t,n,Object.freeze([]))}nt.BREAK=Ee;nt.SKIP=Xr;nt.REMOVE=Xe;function Re(t,e,n,s){const o=ti(t,e,n,s);if(U(o)||V(o))return ni(t,s,o),Re(t,o,n,s);if(typeof o!="symbol"){if(Z(e)){s=Object.freeze(s.concat(e));for(let r=0;rre(s,String(o),n));if(t&&typeof t.toJSON=="function"){if(!n||!Yr(t))return t.toJSON(e,n);const s={aliasCount:0,count:1,res:void 0};n.anchors.set(t,s),n.onCreate=r=>{s.res=r,delete n.onCreate};const o=t.toJSON(e,n);return n.onCreate&&n.onCreate(o),o}return typeof t=="bigint"&&!(n!=null&&n.keep)?Number(t):t}class On{constructor(e){Object.defineProperty(this,le,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:n,maxAliasCount:s,onAnchor:o,reviver:r}={}){if(!Dt(e))throw new TypeError("A document argument is required");const i={anchors:new Map,doc:e,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof s=="number"?s:100},a=re(this,"",i);if(typeof o=="function")for(const{count:l,res:c}of i.anchors.values())o(c,l);return typeof r=="function"?Ye(r,{"":a},"",a):a}}class si extends On{constructor(e){super(wn),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let n;return nt(e,{Node:(s,o)=>{if(o===this)return nt.BREAK;o.anchor===this.source&&(n=o)}}),n}toJSON(e,n){if(!n)return{source:this.source};const{anchors:s,doc:o,maxAliasCount:r}=n,i=this.resolve(o);if(!i){const l=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(l)}let a=s.get(i);if(a||(re(i,null,n),a=s.get(i)),!a||a.res===void 0){const l="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(l)}if(r>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=gt(o,i,s)),a.count*a.aliasCount>r)){const l="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(l)}return a.res}toString(e,n,s){const o=`*${this.source}`;if(e){if(Fs(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const r=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(r)}if(e.implicitKey)return`${o} `}return o}}function gt(t,e,n){if(ze(e)){const s=e.resolve(t),o=n&&s&&n.get(s);return o?o.count*o.aliasCount:0}else if(Z(e)){let s=0;for(const o of e.items){const r=gt(t,o,n);r>s&&(s=r)}return s}else if(V(e)){const s=gt(t,e.key,n),o=gt(t,e.value,n);return Math.max(s,o)}return 1}const Vs=t=>!t||typeof t!="function"&&typeof t!="object";class H extends On{constructor(e){super(Sn),this.value=e}toJSON(e,n){return n!=null&&n.keep?this.value:re(this.value,e,n)}toString(){return String(this.value)}}H.BLOCK_FOLDED="BLOCK_FOLDED";H.BLOCK_LITERAL="BLOCK_LITERAL";H.PLAIN="PLAIN";H.QUOTE_DOUBLE="QUOTE_DOUBLE";H.QUOTE_SINGLE="QUOTE_SINGLE";function oi(t,e,n){return n.find(s=>{var o;return((o=s.identify)==null?void 0:o.call(s,t))&&!s.format})}function Mt(t,e,n){var d,h,f;if(Dt(t)&&(t=t.contents),U(t))return t;if(V(t)){const p=(h=(d=n.schema[Ie]).createNode)==null?void 0:h.call(d,n.schema,null,n);return p.items.push(t),p}(t instanceof String||t instanceof Number||t instanceof Boolean||typeof BigInt<"u"&&t instanceof BigInt)&&(t=t.valueOf());const{aliasDuplicateObjects:s,onAnchor:o,onTagObj:r,schema:i,sourceObjects:a}=n;let l;if(s&&t&&typeof t=="object"){if(l=a.get(t),l)return l.anchor||(l.anchor=o(t)),new si(l.anchor);l={anchor:null,node:null},a.set(t,l)}let c=oi(t,e,i.tags);if(!c){if(t&&typeof t.toJSON=="function"&&(t=t.toJSON()),!t||typeof t!="object"){const p=new H(t);return l&&(l.node=p),p}c=t instanceof Map?i[Ie]:Symbol.iterator in Object(t)?i[ot]:i[Ie]}r&&(r(c),delete n.onTagObj);const u=c!=null&&c.createNode?c.createNode(n.schema,t,n):typeof((f=c==null?void 0:c.nodeClass)==null?void 0:f.from)=="function"?c.nodeClass.from(n.schema,t,n):new H(t);return c.default||(u.tag=c.tag),l&&(l.node=u),u}function Bn(t,e,n){let s=n;for(let o=e.length-1;o>=0;--o){const r=e[o];if(typeof r=="number"&&Number.isInteger(r)&&r>=0){const i=[];i[r]=s,s=i}else s=new Map([[r,s]])}return Mt(s,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:t,sourceObjects:new Map})}const ri=t=>t==null||typeof t=="object"&&!!t[Symbol.iterator]().next().done;class xs extends On{constructor(e,n){super(e),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(e){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(n.schema=e),n.items=n.items.map(s=>U(s)||V(s)?s.clone(e):s),this.range&&(n.range=this.range.slice()),n}addIn(e,n){if(ri(e))this.add(n);else{const[s,...o]=e,r=this.get(s,!0);if(Z(r))r.addIn(o,n);else if(r===void 0&&this.schema)this.set(s,Bn(this.schema,o,n));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${o}`)}}deleteIn(e){const[n,...s]=e;if(s.length===0)return this.delete(n);const o=this.get(n,!0);if(Z(o))return o.deleteIn(s);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${s}`)}getIn(e,n){const[s,...o]=e,r=this.get(s,!0);return o.length===0?!n&&j(r)?r.value:r:Z(r)?r.getIn(o,n):void 0}hasAllNullValues(e){return this.items.every(n=>{if(!V(n))return!1;const s=n.value;return s==null||e&&j(s)&&s.value==null&&!s.commentBefore&&!s.comment&&!s.tag})}hasIn(e){const[n,...s]=e;if(s.length===0)return this.has(n);const o=this.get(n,!0);return Z(o)?o.hasIn(s):!1}setIn(e,n){const[s,...o]=e;if(o.length===0)this.set(s,n);else{const r=this.get(s,!0);if(Z(r))r.setIn(o,n);else if(r===void 0&&this.schema)this.set(s,Bn(this.schema,o,n));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${o}`)}}}const ii=t=>t.replace(/^(?!$)(?: $)?/gm,"#");function st(t,e){return/^\n+$/.test(t)?t.substring(1):e?t.replace(/^(?! *$)/gm,e):t}const Fe=(t,e,n)=>t.endsWith(` `)?st(n,e):n.includes(` `)?` `+st(n,e):(t.endsWith(" ")?"":" ")+n,Bs="flow",on="block",mt="quoted";function Ht(t,e,n="flow",{indentAtStart:s,lineWidth:o=80,minContentWidth:r=20,onFold:i,onOverflow:a}={}){if(!o||o<0)return t;oo-Math.max(2,r)?c.push(0):d=o-s);let h,f,p=!1,g=-1,m=-1,y=-1;n===on&&(g=Wn(t,g,e.length),g!==-1&&(d=g+l));for(let b;b=t[g+=1];){if(n===mt&&b==="\\"){switch(m=g,t[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}y=g}if(b===` `)n===on&&(g=Wn(t,g,e.length)),d=g+e.length+l,h=void 0;else{if(b===" "&&f&&f!==" "&&f!==` `&&f!==" "){const _=t[g+1];_&&_!==" "&&_!==` `&&_!==" "&&(h=g)}if(g>=d)if(h)c.push(h),d=h+l,h=void 0;else if(n===mt){for(;f===" "||f===" ";)f=b,b=t[g+=1],p=!0;const _=g>y+1?g-2:m-1;if(u[_])return t;c.push(_),u[_]=!0,d=_+l,h=void 0}else p=!0}f=b}if(p&&a&&a(),c.length===0)return t;i&&i();let v=t.slice(0,c[0]);for(let b=0;b({indentAtStart:e?t.indent.length:t.indentAtStart,lineWidth:t.options.lineWidth,minContentWidth:t.options.minContentWidth}),Rt=t=>/^(%|---|\.\.\.)/m.test(t);function ai(t,e,n){if(!e||e<0)return!1;const s=e-n,o=t.length;if(o<=s)return!1;for(let r=0,i=0;rs)return!0;if(i=r+1,o-i<=s)return!1}return!0}function et(t,e){const n=JSON.stringify(t);if(e.options.doubleQuotedAsJSON)return n;const{implicitKey:s}=e,o=e.options.doubleQuotedMinMultiLineLength,r=e.indent||(Rt(t)?" ":"");let i="",a=0;for(let l=0,c=n[l];c;c=n[++l])if(c===" "&&n[l+1]==="\\"&&n[l+2]==="n"&&(i+=n.slice(a,l)+"\\ ",l+=1,a=l,c="\\"),c==="\\")switch(n[l+1]){case"u":{i+=n.slice(a,l);const u=n.substr(l+2,4);switch(u){case"0000":i+="\\0";break;case"0007":i+="\\a";break;case"000b":i+="\\v";break;case"001b":i+="\\e";break;case"0085":i+="\\N";break;case"00a0":i+="\\_";break;case"2028":i+="\\L";break;case"2029":i+="\\P";break;default:u.substr(0,2)==="00"?i+="\\x"+u.substr(2):i+=n.substr(l,6)}l+=5,a=l+1}break;case"n":if(s||n[l+2]==='"'||n.length `;let d,h;for(h=n.length;h>0;--h){const w=n[h-1];if(w!==` `&&w!==" "&&w!==" ")break}let f=n.substring(h);const p=f.indexOf(` `);p===-1?d="-":n===f||p!==f.length-1?(d="+",r&&r()):d="",f&&(n=n.slice(0,-f.length),f[f.length-1]===` `&&(f=f.slice(0,-1)),f=f.replace(an,`$&${c}`));let g=!1,m,y=-1;for(m=0;m")+(g?c?"2":"1":"")+d;if(t&&(_+=" "+a(t.replace(/ ?[\r\n]+/g," ")),o&&o()),u)return n=n.replace(/\n+/g,`$&${c}`),`${_} ${c}${v}${n}${f}`;n=n.replace(/\n+/g,` $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);const O=Ht(`${v}${n}${f}`,c,on,jt(s,!0));return`${_} ${c}${O}`}function li(t,e,n,s){const{type:o,value:r}=t,{actualString:i,implicitKey:a,indent:l,indentStep:c,inFlow:u}=e;if(a&&r.includes(` `)||u&&/[[\]{},]/.test(r))return Ve(r,e);if(!r||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(r))return a||u||!r.includes(` `)?Ve(r,e):yt(t,e,n,s);if(!a&&!u&&o!==H.PLAIN&&r.includes(` `))return yt(t,e,n,s);if(Rt(r)){if(l==="")return e.forceBlockIndent=!0,yt(t,e,n,s);if(a&&l===c)return Ve(r,e)}const d=r.replace(/\n+/g,`$& ${l}`);if(i){const h=g=>{var m;return g.default&&g.tag!=="tag:yaml.org,2002:str"&&((m=g.test)==null?void 0:m.test(d))},{compat:f,tags:p}=e.doc.schema;if(p.some(h)||f!=null&&f.some(h))return Ve(r,e)}return a?d:Ht(d,l,Bs,jt(e,!1))}function ci(t,e,n,s){const{implicitKey:o,inFlow:r}=e,i=typeof t.value=="string"?t:Object.assign({},t,{value:String(t.value)});let{type:a}=t;a!==H.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(i.value)&&(a=H.QUOTE_DOUBLE);const l=u=>{switch(u){case H.BLOCK_FOLDED:case H.BLOCK_LITERAL:return o||r?Ve(i.value,e):yt(i,e,n,s);case H.QUOTE_DOUBLE:return et(i.value,e);case H.QUOTE_SINGLE:return rn(i.value,e);case H.PLAIN:return li(i,e,n,s);default:return null}};let c=l(a);if(c===null){const{defaultKeyType:u,defaultStringType:d}=e.options,h=o&&u||d;if(c=l(h),c===null)throw new Error(`Unsupported default string type ${h}`)}return c}function ui(t,e){const n=Object.assign({blockQuote:!0,commentString:ii,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},t.schema.toStringOptions,e);let s;switch(n.collectionStyle){case"block":s=!1;break;case"flow":s=!0;break;default:s=null}return{anchors:new Set,doc:t,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:s,options:n}}function fi(t,e){var o;if(e.tag){const r=t.filter(i=>i.tag===e.tag);if(r.length>0)return r.find(i=>i.format===e.format)??r[0]}let n,s;if(j(e)){s=e.value;const r=t.filter(i=>{var a;return(a=i.identify)==null?void 0:a.call(i,s)});n=r.find(i=>i.format===e.format)??r.find(i=>!i.format)}else s=e,n=t.find(r=>r.nodeClass&&s instanceof r.nodeClass);if(!n){const r=((o=s==null?void 0:s.constructor)==null?void 0:o.name)??typeof s;throw new Error(`Tag not resolved for ${r} value`)}return n}function hi(t,e,{anchors:n,doc:s}){if(!s.directives)return"";const o=[],r=(j(t)||Z(t))&&t.anchor;r&&Fs(r)&&(n.add(r),o.push(`&${r}`));const i=t.tag?t.tag:e.default?null:e.tag;return i&&o.push(s.directives.tagString(i)),o.join(" ")}function Ot(t,e,n,s){var l;if(V(t))return t.toString(e,n,s);if(ze(t)){if(e.doc.directives)return t.toString(e);if((l=e.resolvedAliases)!=null&&l.has(t))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(t):e.resolvedAliases=new Set([t]),t=t.resolve(e.doc)}let o;const r=U(t)?t:e.doc.createNode(t,{onTagObj:c=>o=c});o||(o=fi(e.doc.schema.tags,r));const i=hi(r,o,e);i.length>0&&(e.indentAtStart=(e.indentAtStart??0)+i.length+1);const a=typeof o.stringify=="function"?o.stringify(r,e,n,s):j(r)?ci(r,e,n,s):r.toString(e,n,s);return i?j(r)||a[0]==="{"||a[0]==="["?`${i} ${a}`:`${i} ${e.indent}${a}`:a}function di({key:t,value:e},n,s,o){const{allNullValues:r,doc:i,indent:a,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:d}}=n;let h=U(t)&&t.comment||null;if(d){if(h)throw new Error("With simple keys, key nodes cannot have comments");if(Z(t)||!U(t)&&typeof t=="object"){const P="With simple keys, collection cannot be used as a key value";throw new Error(P)}}let f=!d&&(!t||h&&e==null&&!n.inFlow||Z(t)||(j(t)?t.type===H.BLOCK_FOLDED||t.type===H.BLOCK_LITERAL:typeof t=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!f&&(d||!r),indent:a+l});let p=!1,g=!1,m=Ot(t,n,()=>p=!0,()=>g=!0);if(!f&&!n.inFlow&&m.length>1024){if(d)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=!0}if(n.inFlow){if(r||e==null)return p&&s&&s(),m===""?"?":f?`? ${m}`:m}else if(r&&!d||e==null&&f)return m=`? ${m}`,h&&!p?m+=Fe(m,n.indent,c(h)):g&&o&&o(),m;p&&(h=null),f?(h&&(m+=Fe(m,n.indent,c(h))),m=`? ${m} ${a}:`):(m=`${m}:`,h&&(m+=Fe(m,n.indent,c(h))));let y,v,b;U(e)?(y=!!e.spaceBefore,v=e.commentBefore,b=e.comment):(y=!1,v=null,b=null,e&&typeof e=="object"&&(e=i.createNode(e))),n.implicitKey=!1,!f&&!h&&j(e)&&(n.indentAtStart=m.length+1),g=!1,!u&&l.length>=2&&!n.inFlow&&!f&&Mn(e)&&!e.flow&&!e.tag&&!e.anchor&&(n.indent=n.indent.substring(2));let _=!1;const O=Ot(e,n,()=>_=!0,()=>g=!0);let w=" ";if(h||y||v){if(w=y?` `:"",v){const P=c(v);w+=` ${st(P,n.indent)}`}O===""&&!n.inFlow?w===` `&&(w=` `):w+=` ${n.indent}`}else if(!f&&Z(e)){const P=O[0],E=O.indexOf(` `),N=E!==-1,K=n.inFlow??e.flow??e.items.length===0;if(N||!K){let x=!1;if(N&&(P==="&"||P==="!")){let T=O.indexOf(" ");P==="&"&&T!==-1&&Tt===zn||j(t)&&t.value===zn&&(!t.type||t.type===H.PLAIN);function Ut(t,e,n){const s=t&&ze(n)?n.resolve(t.doc):n;if(!Rs(s))throw new Error("Merge sources must be maps or map aliases");const o=s.toJSON(null,t,Map);for(const[r,i]of o)e instanceof Map?e.has(r)||e.set(r,i):e instanceof Set?e.add(r):Object.prototype.hasOwnProperty.call(e,r)||Object.defineProperty(e,r,{value:i,writable:!0,enumerable:!0,configurable:!0});return e}function mi(t,e,n){if(e===null)return"";if(typeof e!="object")return String(e);if(U(t)&&(n!=null&&n.doc)){const s=ui(n.doc,{});s.anchors=new Set;for(const r of n.anchors.keys())s.anchors.add(r.anchor);s.inFlow=!0,s.inStringifyKey=!0;const o=t.toString(s);if(!n.mapKeyWarned){let r=JSON.stringify(o);r.length>40&&(r=r.substring(0,36)+'..."'),pi(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${r}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return o}return JSON.stringify(e)}function Pn(t,e,n){const s=Mt(t,void 0,n),o=Mt(e,void 0,n);return new ce(s,o)}class ce{constructor(e,n=null){Object.defineProperty(this,le,{value:js}),this.key=e,this.value=n}clone(e){let{key:n,value:s}=this;return U(n)&&(n=n.clone(e)),U(s)&&(s=s.clone(e)),new ce(n,s)}toJSON(e,n){const s=n!=null&&n.mapAsMap?new Map:{};return Ws(n,s,this)}toString(e,n,s){return e!=null&&e.doc?di(this,e,n,s):JSON.stringify(this)}}function zs(t,e,n){return(e.inFlow??t.flow?vi:yi)(t,e,n)}function yi({comment:t,items:e},n,{blockItemPrefix:s,flowChars:o,itemIndent:r,onChompKeep:i,onComment:a}){const{indent:l,options:{commentString:c}}=n,u=Object.assign({},n,{indent:r,type:null});let d=!1;const h=[];for(let p=0;pm=null,()=>d=!0);m&&(y+=Fe(y,r,c(m))),d&&m&&(d=!1),h.push(s+y)}let f;if(h.length===0)f=o.start+o.end;else{f=h[0];for(let p=1;pm=null);pu||y.includes(` `))&&(c=!0),d.push(y),u=d.length}const{start:h,end:f}=n;if(d.length===0)return h+f;if(!c){const p=d.reduce((g,m)=>g+m.length+2,2);c=e.options.lineWidth>0&&p>e.options.lineWidth}if(c){let p=h;for(const g of d)p+=g?` ${r}${o}${g}`:` `;return`${p} ${o}${f}`}else return`${h}${i}${d.join(" ")}${i}${f}`}function Pt({indent:t,options:{commentString:e}},n,s,o){if(s&&o&&(s=s.replace(/^\n+/,"")),s){const r=st(e(s),t);n.push(r.trimStart())}}function Ce(t,e){const n=j(e)?e.value:e;for(const s of t)if(V(s)&&(s.key===e||s.key===n||j(s.key)&&s.key.value===n))return s}class He extends xs{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(Ie,e),this.items=[]}static from(e,n,s){const{keepUndefined:o,replacer:r}=s,i=new this(e),a=(l,c)=>{if(typeof r=="function")c=r.call(n,l,c);else if(Array.isArray(r)&&!r.includes(l))return;(c!==void 0||o)&&i.items.push(Pn(l,c,s))};if(n instanceof Map)for(const[l,c]of n)a(l,c);else if(n&&typeof n=="object")for(const l of Object.keys(n))a(l,n[l]);return typeof e.sortMapEntries=="function"&&i.items.sort(e.sortMapEntries),i}add(e,n){var i;let s;V(e)?s=e:!e||typeof e!="object"||!("key"in e)?s=new ce(e,e==null?void 0:e.value):s=new ce(e.key,e.value);const o=Ce(this.items,s.key),r=(i=this.schema)==null?void 0:i.sortMapEntries;if(o){if(!n)throw new Error(`Key ${s.key} already set`);j(o.value)&&Vs(s.value)?o.value.value=s.value:o.value=s.value}else if(r){const a=this.items.findIndex(l=>r(s,l)<0);a===-1?this.items.push(s):this.items.splice(a,0,s)}else this.items.push(s)}delete(e){const n=Ce(this.items,e);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(e,n){const s=Ce(this.items,e),o=s==null?void 0:s.value;return(!n&&j(o)?o.value:o)??void 0}has(e){return!!Ce(this.items,e)}set(e,n){this.add(new ce(e,n),!0)}toJSON(e,n,s){const o=s?new s:n!=null&&n.mapAsMap?new Map:{};n!=null&&n.onCreate&&n.onCreate(o);for(const r of this.items)Ws(n,o,r);return o}toString(e,n,s){if(!e)return JSON.stringify(this);for(const o of this.items)if(!V(o))throw new Error(`Map items must all be pairs; found ${JSON.stringify(o)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),zs(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:s,onComment:n})}}class qs extends xs{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(ot,e),this.items=[]}add(e){this.items.push(e)}delete(e){const n=at(e);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(e,n){const s=at(e);if(typeof s!="number")return;const o=this.items[s];return!n&&j(o)?o.value:o}has(e){const n=at(e);return typeof n=="number"&&n=0?e:null}function bi(t,e,n){const{replacer:s}=n,o=new qs(t);o.tag="tag:yaml.org,2002:pairs";let r=0;if(e&&Symbol.iterator in Object(e))for(let i of e){typeof s=="function"&&(i=s.call(e,String(r++),i));let a,l;if(Array.isArray(i))if(i.length===2)a=i[0],l=i[1];else throw new TypeError(`Expected [key, value] tuple: ${i}`);else if(i&&i instanceof Object){const c=Object.keys(i);if(c.length===1)a=c[0],l=i[a];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else a=i;o.items.push(Pn(a,l,n))}return o}class Tn extends qs{constructor(){super(),this.add=He.prototype.add.bind(this),this.delete=He.prototype.delete.bind(this),this.get=He.prototype.get.bind(this),this.has=He.prototype.has.bind(this),this.set=He.prototype.set.bind(this),this.tag=Tn.tag}toJSON(e,n){if(!n)return super.toJSON(e);const s=new Map;n!=null&&n.onCreate&&n.onCreate(s);for(const o of this.items){let r,i;if(V(o)?(r=re(o.key,"",n),i=re(o.value,r,n)):r=re(o,"",n),s.has(r))throw new Error("Ordered maps must not include duplicate keys");s.set(r,i)}return s}static from(e,n,s){const o=bi(e,n,s),r=new this;return r.items=o.items,r}}Tn.tag="tag:yaml.org,2002:omap";class $n extends He{constructor(e){super(e),this.tag=$n.tag}add(e){let n;V(e)?n=e:e&&typeof e=="object"&&"key"in e&&"value"in e&&e.value===null?n=new ce(e.key,null):n=new ce(e,null),Ce(this.items,n.key)||this.items.push(n)}get(e,n){const s=Ce(this.items,e);return!n&&V(s)?j(s.key)?s.key.value:s.key:s}set(e,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const s=Ce(this.items,e);s&&!n?this.items.splice(this.items.indexOf(s),1):!s&&n&&this.items.push(new ce(e))}toJSON(e,n){return super.toJSON(e,n,Set)}toString(e,n,s){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),n,s);throw new Error("Set items must all have null values")}static from(e,n,s){const{replacer:o}=s,r=new this(e);if(n&&Symbol.iterator in Object(n))for(let i of n)typeof o=="function"&&(i=o.call(n,i,i)),r.items.push(Pn(i,null,s));return r}}$n.tag="tag:yaml.org,2002:set";new Set("0123456789ABCDEFabcdef");new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()");new Set(",[]{}");new Set(` ,[]{} \r `);function ki(t,e){if(!e||e==="all"||e==="*")return Nn(1,t+1);if(e==="none")return[];const n=[];for(const s of e.split(/[,;]/g))if(!s.includes("-"))n.push(+s);else{const[o,r]=s.split("-",2);n.push(...Nn(+o,r?+r+1:t+1))}return Bo(n).filter(s=>s<=t).sort((s,o)=>s-o)}function El(){const t=$(Date.now()),e=go({interval:1e3}),n=k(()=>{const o=(e.value-t.value)/1e3,r=Math.floor(o%60).toString().padStart(2,"0");return`${Math.floor(o/60).toString().padStart(2,"0")}:${r}`});function s(){t.value=e.value}return{timer:n,resetTimer:s}}function Ln(t=5){const e=[],n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",s=n.length;for(let o=0;or.trim());n=e?o:s}if(n)return{...t,name:n}}function Si(t,e,n){var o,r;let s=t>0?(o=n==null?void 0:n.meta)==null?void 0:o.transition:(r=e==null?void 0:e.meta)==null?void 0:r.transition;return s||(s=I.transition||void 0),wi(s,t<0)}function Mi(t,e,{mode:n="replace"}={}){const s=Ct();return k({get(){const o=s.currentRoute.value.query[t];return o==null?e:Array.isArray(o)?o.filter(Boolean):o},set(o){vs(()=>{(s.currentRoute.value.query[t]??(e==null?void 0:e.toString()))!==o.toString()&&s[yn(n)]({query:{...s.currentRoute.value.query,[t]:`${o}`===e?void 0:o}})})}})}function Us(t,e,n=1){var o,r,i,a,l,c,u;const s=e.meta.slide.level??n;s&&s>n&&t.length>0?Us(t[t.length-1].children,e,n+1):t.push({no:e.no,children:[],level:n,titleLevel:s,path:xe(((r=(o=e.meta.slide)==null?void 0:o.frontmatter)==null?void 0:r.routeAlias)??e.no,!1),hideInToc:!!((l=(a=(i=e.meta)==null?void 0:i.slide)==null?void 0:a.frontmatter)!=null&&l.hideInToc),title:(u=(c=e.meta)==null?void 0:c.slide)==null?void 0:u.title})}function Ks(t,e,n=!1,s,o){return t.map(r=>{const i={...r,active:r.no===(o==null?void 0:o.value),hasActiveParent:n};return i.children.length>0&&(i.children=Ks(i.children,e,i.active||i.hasActiveParent,i,o)),s&&(i.active||i.activeParent)&&(s.activeParent=!0),i})}function Js(t,e=1){return t.filter(n=>!n.hideInToc).map(n=>({...n,children:Js(n.children,e+1)}))}function Oi(t,e,n){const s=k(()=>t.value.filter(r=>{var i,a;return(a=(i=r.meta)==null?void 0:i.slide)==null?void 0:a.title}).reduce((r,i)=>(Us(r,i),r),[])),o=k(()=>Ks(s.value,n.value,void 0,void 0,e));return k(()=>Js(o.value))}function ln(t){if(t===!1||t==="false")return null;if(t==null||t===!0||t==="true")return"+1";if(typeof t=="string"&&"+-".includes(t[0]))return t;const e=+t;return Number.isNaN(e)?(console.error(`Invalid "at" prop value: ${t}`),null):e}function Pi(t){return Array.isArray(t)?[ln(t[0]),ln(t[1])]:null}function Gs(t,e=0,n){const s=$(!1);let o=new Map,r=new Map;const i={get current(){return en(+t.value,e,i.total)},set current(a){t.value=s.value?en(a,e,i.total):a},clicksStart:e,get relativeSizeMap(){return o},get maxMap(){return r},get isMounted(){return s.value},setup(){_s(()=>{s.value=!0,r=W(r),i.current=t.value}),mo(()=>{s.value=!1,o=new Map,r=new Map})},calculateSince(a,l=1){const c=ln(a);if(c==null)return null;let u,d,h;if(typeof c=="string"){const f=i.currentOffset,p=+c;u=f+p,d=f+p+l-1,h=p+l-1}else u=c,d=c+l-1,h=0;return{start:u,end:+Number.POSITIVE_INFINITY,max:d,delta:h,currentOffset:k(()=>i.current-u),isCurrent:k(()=>i.current===u),isActive:k(()=>i.current>=u)}},calculateRange(a){const l=Pi(a);if(l==null)return null;const[c,u]=l;let d,h,f;return typeof c=="string"?(d=i.currentOffset+ +c,f=+c):(d=c,f=0),typeof u=="string"?(h=d+ +u,f+=+u):h=u,{start:d,end:h,max:h,delta:f,currentOffset:k(()=>i.current-d),isCurrent:k(()=>i.current===d),isActive:k(()=>d<=i.current&&i.current0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.allSettled(n.map(l=>{if(l=Li(l),l in qn)return;qn[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":$i,c||(d.as="script"),d.crossOrigin="",d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),c)return new Promise((h,f)=>{d.addEventListener("load",h),d.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${l}`)))})}))}function r(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return o.then(i=>{for(const a of i||[])a.status==="rejected"&&r(a.reason);return e().catch(r)})},Ei=(t,e)=>{const n=t.__vccOpts||t;for(const[s,o]of e)n[s]=o;return n},Ai={},Ci={class:"px-4 py-10 text-center text-red-700 dark:text-red-500 font-bold font-mono"};function Ii(t,e){return kt(),Xt("div",Ci," An error occurred on this slide. Check the terminal for more information. ")}const z=Ei(Ai,[["render",Ii]]),Ni={class:"h-full w-full flex items-center justify-center gap-2 slidev-slide-loading"},Di=ws({__name:"SlideLoading",setup(t){const e=$(!1);return _s(()=>{setTimeout(()=>{e.value=!0},200)}),(n,s)=>(kt(),Xt("div",Ni,[e.value?(kt(),Xt(yo,{key:0},[s[0]||(s[0]=In("div",{class:"i-svg-spinners-90-ring-with-bg text-xl"},null,-1)),s[1]||(s[1]=In("div",null,"Loading slide...",-1))],64)):vo("",!0)]))}}),Hi={theme:"eloc",class:"text-center",highlighter:"shiki",lineNumbers:!1,info:`## Slidev Starter Template Presentation slides for developers. Learn more at [Sli.dev](https://sli.dev) `,drawings:{persist:!1},transition:"slide-left",title:"Unreal Engine 5.5 | aiue"},ge=R(Hi),ji=W({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:"",frontmatterRaw:`theme: eloc class: text-center highlighter: shiki lineNumbers: false info: | ## Slidev Starter Template Presentation slides for developers. Learn more at [Sli.dev](https://sli.dev) drawings: persist: false transition: slide-left title: Unreal Engine 5.5 | aiue `,note:"",title:"Unreal Engine 5.5 | aiue",index:0,noteHTML:"",raw:"",frontmatter:ge,filepath:"",start:0,id:0,no:1},__clicksContext:null,__preloaded:!1}),Ri={},me=R(Ri),Fi=W({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:"",note:"",title:"配信で使える最新技術の紹介",level:2,index:1,noteHTML:"",raw:"",frontmatter:me,filepath:"",start:21,id:1,no:2},__clicksContext:null,__preloaded:!1}),Vi={},ye=R(Vi),xi=W({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:"",note:"",title:"`unreal engine`",level:2,index:2,noteHTML:"",raw:"",frontmatter:ye,filepath:"",start:31,id:2,no:3},__clicksContext:null,__preloaded:!1}),Bi={},ve=R(Bi),Wi=W({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:"",note:"",title:"`vrm4u`",level:2,index:3,noteHTML:"",raw:"",frontmatter:ve,filepath:"",start:38,id:3,no:4},__clicksContext:null,__preloaded:!1}),zi={},be=R(zi),qi=W({get layout(){return be.layout},get transition(){return be.transition},get class(){return be.class},get clicks(){return be.clicks},get name(){return be.name},get preload(){return be.preload},slide:{content:"",note:"",index:4,noteHTML:"",raw:"",frontmatter:be,filepath:"",start:44,id:4,no:5},__clicksContext:null,__preloaded:!1}),Ui={},ke=R(Ui),Ki=W({get layout(){return ke.layout},get transition(){return ke.transition},get class(){return ke.class},get clicks(){return ke.clicks},get name(){return ke.name},get preload(){return ke.preload},slide:{content:"",note:"",title:"`web browser`",level:2,index:5,noteHTML:"",raw:"",frontmatter:ke,filepath:"",start:51,id:5,no:6},__clicksContext:null,__preloaded:!1}),Ji={},_e=R(Ji),Gi=W({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:"",note:"",index:6,noteHTML:"",raw:"",frontmatter:_e,filepath:"",start:57,id:6,no:7},__clicksContext:null,__preloaded:!1}),Qi={},we=R(Qi),Zi=W({get layout(){return we.layout},get transition(){return we.transition},get class(){return we.class},get clicks(){return we.clicks},get name(){return we.name},get preload(){return we.preload},slide:{content:"",note:"",title:"`pixel streaming`",level:2,index:7,noteHTML:"",raw:"",frontmatter:we,filepath:"",start:65,id:7,no:8},__clicksContext:null,__preloaded:!1}),Yi={},Se=R(Yi),Xi=W({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:"",note:"",title:"`atproto`",level:2,index:8,noteHTML:"",raw:"",frontmatter:Se,filepath:"",start:77,id:8,no:9},__clicksContext:null,__preloaded:!1}),ea={},Me=R(ea),ta=W({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:"",note:"",title:"`game animation sample`",level:2,index:9,noteHTML:"",raw:"",frontmatter:Me,filepath:"",start:83,id:9,no:10},__clicksContext:null,__preloaded:!1}),na={},Oe=R(na),sa=W({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:"",note:"",title:"`city sample`",level:2,index:10,noteHTML:"",raw:"",frontmatter:Oe,filepath:"",start:89,id:10,no:11},__clicksContext:null,__preloaded:!1}),oa={},Pe=R(oa),ra=W({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:"",note:"",title:"`ultra dynamic sky`",level:2,index:11,noteHTML:"",raw:"",frontmatter:Pe,filepath:"",start:95,id:11,no:12},__clicksContext:null,__preloaded:!1}),ia={},Te=R(ia),aa=W({get layout(){return Te.layout},get transition(){return Te.transition},get class(){return Te.class},get clicks(){return Te.clicks},get name(){return Te.name},get preload(){return Te.preload},slide:{content:"",note:"",title:"`whisper` + `chatgpt` + `elevenlabs`",level:2,index:12,noteHTML:"",raw:"",frontmatter:Te,filepath:"",start:101,id:12,no:13},__clicksContext:null,__preloaded:!1}),la={},$e=R(la),ca=W({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:"",note:"",title:"perplexity.ai",level:1,index:13,noteHTML:"",raw:"",frontmatter:$e,filepath:"",start:109,id:13,no:14},__clicksContext:null,__preloaded:!1}),ua={},Le=R(ua),fa=W({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:"",note:"",index:14,noteHTML:'',raw:"",frontmatter:Le,filepath:"",start:127,id:14,no:15},__clicksContext:null,__preloaded:!1}),M=new Array(15),q=(t,e)=>bo({loader:e,delay:300,loadingComponent:Di,errorComponent:z,onError:n=>console.error("Failed to load slide "+(t+1),n)}),Un=async()=>{try{return M[0]??(M[0]=await C(()=>import("./slidev/md-Cdf4balT.js"),__vite__mapDeps([0,1,2,3,4])))}catch(t){return console.error("slide failed to load",t),z}},Kn=async()=>{try{return M[1]??(M[1]=await C(()=>import("./md-DGVfhMVe.js"),__vite__mapDeps([5,1,6,2,3,4])))}catch(t){return console.error("slide failed to load",t),z}},Jn=async()=>{try{return M[2]??(M[2]=await C(()=>import("./md-8nPyixJH.js"),__vite__mapDeps([7,1,6,2,3,4])))}catch(t){return console.error("slide failed to load",t),z}},Gn=async()=>{try{return M[3]??(M[3]=await C(()=>import("./md-CPhLDGZy.js"),__vite__mapDeps([8,1,6,2,3,4])))}catch(t){return console.error("slide failed to load",t),z}},Qn=async()=>{try{return M[4]??(M[4]=await C(()=>import("./md-BiNHxsIX.js"),__vite__mapDeps([9,1,6,2,3,4])))}catch(t){return console.error("slide failed to load",t),z}},Zn=async()=>{try{return M[5]??(M[5]=await C(()=>import("./md-Ab3YLrHu.js"),__vite__mapDeps([10,1,6,2,3,4])))}catch(t){return console.error("slide failed to load",t),z}},Yn=async()=>{try{return M[6]??(M[6]=await C(()=>import("./md-9ak__cW4.js"),__vite__mapDeps([11,1,6,2,3,4])))}catch(t){return console.error("slide failed to load",t),z}},Xn=async()=>{try{return M[7]??(M[7]=await C(()=>import("./md-DjBk5fro.js"),__vite__mapDeps([12,13,14,1,2,6,3,4])))}catch(t){return console.error("slide failed to load",t),z}},es=async()=>{try{return M[8]??(M[8]=await C(()=>import("./md-ClqryjbF.js"),__vite__mapDeps([15,1,6,2,3,4])))}catch(t){return console.error("slide failed to load",t),z}},ts=async()=>{try{return M[9]??(M[9]=await C(()=>import("./md-DLB6wBVF.js"),__vite__mapDeps([16,1,6,2,3,4])))}catch(t){return console.error("slide failed to load",t),z}},ns=async()=>{try{return M[10]??(M[10]=await C(()=>import("./md-C_MVQFn2.js"),__vite__mapDeps([17,1,6,2,3,4])))}catch(t){return console.error("slide failed to load",t),z}},ss=async()=>{try{return M[11]??(M[11]=await C(()=>import("./md-JnaRAWAJ.js"),__vite__mapDeps([18,1,6,2,3,4])))}catch(t){return console.error("slide failed to load",t),z}},os=async()=>{try{return M[12]??(M[12]=await C(()=>import("./md-Cx37ONKp.js"),__vite__mapDeps([19,1,6,2,3,4])))}catch(t){return console.error("slide failed to load",t),z}},rs=async()=>{try{return M[13]??(M[13]=await C(()=>import("./md-BIF-xXNR.js"),__vite__mapDeps([20,13,14,1,2,6,3,4])))}catch(t){return console.error("slide failed to load",t),z}},is=async()=>{try{return M[14]??(M[14]=await C(()=>import("./md-CVm_85tn.js"),__vite__mapDeps([21,1,6,2,3,4])))}catch(t){return console.error("slide failed to load",t),z}},ha=[{no:1,meta:ji,load:Un,component:q(0,Un)},{no:2,meta:Fi,load:Kn,component:q(1,Kn)},{no:3,meta:xi,load:Jn,component:q(2,Jn)},{no:4,meta:Wi,load:Gn,component:q(3,Gn)},{no:5,meta:qi,load:Qn,component:q(4,Qn)},{no:6,meta:Ki,load:Zn,component:q(5,Zn)},{no:7,meta:Gi,load:Yn,component:q(6,Yn)},{no:8,meta:Zi,load:Xn,component:q(7,Xn)},{no:9,meta:Xi,load:es,component:q(8,es)},{no:10,meta:ta,load:ts,component:q(9,ts)},{no:11,meta:sa,load:ns,component:q(10,ns)},{no:12,meta:ra,load:ss,component:q(11,ss)},{no:13,meta:aa,load:os,component:q(12,os)},{no:14,meta:ca,load:rs,component:q(13,rs)},{no:15,meta:fa,load:is,component:q(14,is)}],ae=vn(ha);function da(t,e,n=$(0),s,o,r){const i=k(()=>ae.value.length),a=$(0),l=$(0),c=k(()=>xe(t.value,s.value)),u=k(()=>t.value.no),d=k(()=>{var L;return((L=t.value.meta)==null?void 0:L.layout)||(u.value===1?"cover":"default")}),h=k(()=>e.value.current),f=k(()=>e.value.clicksStart),p=k(()=>e.value.total),g=k(()=>ae.value[Math.min(ae.value.length,u.value+1)-1]),m=k(()=>ae.value[Math.max(1,u.value-1)-1]),y=k(()=>u.valueu.value>1||h.value>0),b=k(()=>Si(a.value,t.value,m.value));ee(t,(L,F)=>{a.value=L.no-F.no});async function _(L){return!1}const O=Oi(ae,u,t);async function w(){l.value=1,p.value<=n.value?await E():n.value+=1}async function P(){l.value=-1,n.value<=f.value?await N(!0):n.value-=1}async function E(L=!1){l.value=1,u.value1&&await T(u.value-1,L&&!o.value?pt:void 0)}function K(){return T(1)}function x(){return T(i.value)}async function T(L,F=0,ie=!1){var de,Ue,Ke;_n.value=!1;const qe=u.value!==L,se=F!==n.value,Y=(de=Ft(L))==null?void 0:de.meta,D=((Ue=Y==null?void 0:Y.slide)==null?void 0:Ue.frontmatter.clicksStart)??0;F=en(F,D,((Ke=Y==null?void 0:Y.__clicksContext)==null?void 0:Ke.total)??pt),(ie||qe||se)&&await(r==null?void 0:r.push({path:xe(L,s.value),query:{...r.currentRoute.value.query,clicks:F===0?void 0:F.toString(),embedded:location.search.includes("embedded")?"true":void 0}}))}function A(){r==null||r.push({path:xe(u.value,!0),query:{...r.currentRoute.value.query}})}function B(){r==null||r.push({path:xe(u.value,!1),query:{...r.currentRoute.value.query}})}return{slides:ae,total:i,currentPath:c,currentSlideNo:u,currentPage:u,currentSlideRoute:t,currentLayout:d,currentTransition:b,clicksDirection:l,nextRoute:g,prevRoute:m,clicksContext:e,clicks:h,clicksStart:f,clicksTotal:p,hasNext:y,hasPrev:v,tocTree:O,navDirection:a,openInEditor:_,next:w,prev:P,go:T,goLast:x,goFirst:K,nextSlide:E,prevSlide:N,enterPresenter:A,exitPresenter:B}}const pa=Ss(()=>{const t=Ct(),e=k(()=>t.currentRoute.value),n=k(()=>(t.currentRoute.value.query,new URLSearchParams(location.search))),s=k(()=>n.value.has("print")),o=k(()=>n.value.get("print")==="clicks"),r=k(()=>n.value.has("embedded")),i=k(()=>e.value.name==="play"),a=k(()=>e.value.name==="presenter"),l=k(()=>e.value.name==="notes"),c=k(()=>!a.value&&(!I.remote||n.value.get("password")===I.remote)),u=ko(i,a),d=k(()=>{var y;return u.value?((y=Ft(e.value.params.no))==null?void 0:y.no)??1:1}),h=k(()=>ae.value[d.value-1]),f=Mi("clicks","0"),p=k(()=>m(h.value)),g=k({get(){let y=+(f.value||0);return Number.isNaN(y)&&(y=0),y},set(y){_n.value=!1,f.value=y.toString()}});function m(y){var _,O;if((_=y==null?void 0:y.meta)!=null&&_.__clicksContext)return y.meta.__clicksContext;const v=y.no,b=Gs(k({get(){return d.value===v?Math.max(+(f.value??0),b.clicksStart):d.value>v?pt:b.clicksStart},set(w){d.value===v&&(f.value=w.toString())}}),((O=y==null?void 0:y.meta.slide)==null?void 0:O.frontmatter.clicksStart)??0,y==null?void 0:y.meta.clicks);return y!=null&&y.meta&&(y.meta.__clicksContext=b),b}return{router:t,currentRoute:e,isPrintMode:s,isPrintWithClicks:o,isEmbedded:r,isPlaying:i,isPresenter:a,isNotesViewer:l,isPresenterAvailable:c,hasPrimarySlide:u,currentSlideNo:d,currentSlideRoute:h,clicksContext:p,queryClicksRaw:f,queryClicks:g,getPrimaryClicks:m}}),cn=Ss(()=>{const t=pa(),e=Ct(),n=da(t.currentSlideRoute,t.clicksContext,t.queryClicks,t.isPresenter,t.isPrintMode,e);return ee([n.total,t.currentRoute],async()=>{const s=t.currentRoute.value.params.no;t.hasPrimarySlide.value&&!Ft(s)&&(s&&s!=="index.html"?await n.go(n.total.value,0,!0):await n.go(1,0,!0))},{flush:"pre",immediate:!0}),{...n,...t}});function Ft(t){return ae.value.find(e=>{var n;return e.no===+t||((n=e.meta.slide)==null?void 0:n.frontmatter.routeAlias)===t})}function xe(t,e){var s;(typeof t=="number"||typeof t=="string")&&(t=Ft(t));const n=((s=t.meta.slide)==null?void 0:s.frontmatter.routeAlias)??t.no;return e?`/presenter/${n}`:`/${n}`}const as=_o(),Kt=te("slidev-color-schema","auto"),ls=k(()=>I.colorSchema!=="auto"),Qs=k({get(){return ls.value?I.colorSchema==="dark":Kt.value==="auto"?as.value:Kt.value==="dark"},set(t){ls.value||(Kt.value=t===as.value?"auto":t?"dark":"light")}}),Cl=Ms(Qs);It&&ee(Qs,t=>{const e=document.querySelector("html");e.classList.toggle("dark",t),e.classList.toggle("light",!t)},{immediate:!0});const ga=[];function ma(){const t=ks().appContext.app,e=R({nav:cn(),configs:I,themeConfigs:k(()=>I.themeConfig)});t.provide(kn,$("none")),t.provide(Ur,e),t.provide(bn,k(()=>e.nav.currentSlideNo)),t.provide(Nt,vn(Ti()));for(const u of ga)u();const{clicksContext:n,currentSlideNo:s,hasPrimarySlide:o,isNotesViewer:r,isPresenter:i}=cn();Hr({title:xt,htmlAttrs:I.htmlAttrs}),Vr(`${xt} - shared`),zr(`${xt} - drawings`);const a=`${location.origin}_${Ln()}`;function l(){r.value||!i.value&&!Gr.includes(location.host.split(":")[0])||(i.value?(pe("page",+s.value),pe("clicks",n.value.current),pe("clicksTotal",n.value.total)):(pe("viewerPage",+s.value),pe("viewerClicks",n.value.current),pe("viewerClicksTotal",n.value.total)),pe("lastUpdate",{id:a,type:i.value?"presenter":"viewer",time:new Date().getTime()}))}const c=Ct();c.afterEach(l),ee(n,l),xr(u=>{var d;o.value&&((d=u.lastUpdate)==null?void 0:d.type)==="presenter"&&(+u.page!=+s.value||+n.value.current!=+u.clicks)&&(_n.value=!1,c.replace({path:xe(u.page,i.value),query:{...c.currentRoute.value.query,clicks:u.clicks||0}}))})}const ya=ws({__name:"App",setup(t){return ma(),Be(()=>{for(const[e,n]of Object.entries(Uo.value))document.body.style.setProperty(e,n.toString())}),(e,n)=>{const s=wo("RouterView");return kt(),So(s)}}});function Il(t,e=""){var o,r;const n=["slidev-page",e],s=(r=(o=t==null?void 0:t.meta)==null?void 0:o.slide)==null?void 0:r.no;return s!=null&&n.push(`slidev-page-${s}`),n.filter(Boolean).join(" ")}async function Nl(){const{saveAs:t}=await C(async()=>{const{saveAs:e}=await import("./modules/file-saver-Bb21Aim5.js").then(n=>n.F);return{saveAs:e}},[]);t(typeof I.download=="string"?I.download:I.exportFilename?`${I.exportFilename}.pdf`:"/slideslidev-exported.pdf",`${I.title}.pdf`)}function We(t,e,n){var s;return((s=t.instance)==null?void 0:s.$).provides[e]??n}function va(){return{install(t){t.directive("click",{name:"v-click",mounted(e,n){const s=vt(e,n,n.value);s!=null&&(e.classList.toggle(dt,!0),e.dataset.slidevClicksStart=String(s.start),Number.isFinite(s.end)&&(e.dataset.slidevClicksEnd=String(s.end)),e.watchStopHandle=Be(()=>{const o=s.isActive.value,r=s.isCurrent.value,i=o&&!r;s.flagHide?(e.classList.toggle(s.flagFade?Ge:Je,o),e.classList.toggle(Wt,o)):e.classList.toggle(s.flagFade?Ge:Je,!o),e.classList.toggle(zt,r),e.classList.toggle(qt,i)}))},unmounted:Jt}),t.directive("after",{name:"v-after",mounted(e,n){const s=vt(e,n,"+0");s!=null&&(e.classList.toggle(dt,!0),e.watchStopHandle=Be(()=>{const o=s.isActive.value,r=s.isCurrent.value,i=o&&!r;s.flagHide?(e.classList.toggle(s.flagFade?Ge:Je,o),e.classList.toggle(Wt,o)):e.classList.toggle(s.flagFade?Ge:Je,!o),e.classList.toggle(zt,r),e.classList.toggle(qt,i)}))},unmounted:Jt}),t.directive("click-hide",{name:"v-click-hide",mounted(e,n){const s=vt(e,n,n.value,!0);s!=null&&(e.classList.toggle(dt,!0),e.watchStopHandle=Be(()=>{const o=s.isActive.value,r=s.isCurrent.value,i=o&&!r;e.classList.toggle(s.flagFade?Ge:Je,o),e.classList.toggle(Wt,o),e.classList.toggle(zt,r),e.classList.toggle(qt,i)}))},unmounted:Jt})}}}const Zs=new Map;function vt(t,e,n,s=!1){var d;const o=(d=We(e,Nt))==null?void 0:d.value;if(!t||!o)return null;const r=s||e.modifiers.hide!==!1&&e.modifiers.hide!=null,i=e.modifiers.fade!==!1&&e.modifiers.fade!=null,a=o.calculate(n);if(!a)return null;o.register(t,a);const l=k(()=>r?!a.isActive.value:a.isActive.value),c=k(()=>l.value?"shown":Number.isFinite(a.end)?o.currents.push(...o)),un(s,e,n)}function _a(t,e){return t[0]===e[0]&&t[1]===e[1]}function wa(t,e,n,s=1){const o=n,r=Math.max(e,.1),i=t[0]&&t[0][0]&&typeof t[0][0]=="number"?[t]:t,a=[0,0];if(o)for(const c of i)un(c,a,o);const l=Sa(i,r,s);if(o){for(const c of i)un(c,a,-o);ka(l,a,-o)}return l}function Sa(t,e,n){const s=[];for(const c of t){const u=[...c];_a(u[0],u[u.length-1])||u.push([u[0][0],u[0][1]]),u.length>2&&s.push(u)}const o=[];e=Math.max(e,.1);const r=[];for(const c of s)for(let u=0;uc.yminu.ymin?1:c.xu.x?1:c.ymax===u.ymax?0:(c.ymax-u.ymax)/Math.abs(c.ymax-u.ymax)),!r.length)return o;let i=[],a=r[0].ymin,l=0;for(;i.length||r.length;){if(r.length){let c=-1;for(let d=0;da);d++)c=d;r.splice(0,c+1).forEach(d=>{i.push({s:a,edge:d})})}if(i=i.filter(c=>!(c.edge.ymax<=a)),i.sort((c,u)=>c.edge.x===u.edge.x?0:(c.edge.x-u.edge.x)/Math.abs(c.edge.x-u.edge.x)),(n!==1||l%e===0)&&i.length>1)for(let c=0;c=i.length)break;const d=i[c].edge,h=i[u].edge;o.push([[Math.round(d.x),a],[Math.round(h.x),a]])}a+=n,i.forEach(c=>{c.edge.x=c.edge.x+n*c.edge.islope}),l++}return o}function rt(t,e){var n;const s=e.hachureAngle+90;let o=e.hachureGap;o<0&&(o=e.strokeWidth*4),o=Math.round(Math.max(o,.1));let r=1;return e.roughness>=1&&(((n=e.randomizer)===null||n===void 0?void 0:n.next())||Math.random())>.7&&(r=o),wa(t,o,s,r||1)}class En{constructor(e){this.helper=e}fillPolygons(e,n){return this._fillPolygons(e,n)}_fillPolygons(e,n){const s=rt(e,n);return{type:"fillSketch",ops:this.renderLines(s,n)}}renderLines(e,n){const s=[];for(const o of e)s.push(...this.helper.doubleLineOps(o[0][0],o[0][1],o[1][0],o[1][1],n));return s}}function Vt(t){const e=t[0],n=t[1];return Math.sqrt(Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2))}class Ma extends En{fillPolygons(e,n){let s=n.hachureGap;s<0&&(s=n.strokeWidth*4),s=Math.max(s,.1);const o=Object.assign({},n,{hachureGap:s}),r=rt(e,o),i=Math.PI/180*n.hachureAngle,a=[],l=s*.5*Math.cos(i),c=s*.5*Math.sin(i);for(const[d,h]of r)Vt([d,h])&&a.push([[d[0]-l,d[1]+c],[...h]],[[d[0]+l,d[1]-c],[...h]]);return{type:"fillSketch",ops:this.renderLines(a,n)}}}class Oa extends En{fillPolygons(e,n){const s=this._fillPolygons(e,n),o=Object.assign({},n,{hachureAngle:n.hachureAngle+90}),r=this._fillPolygons(e,o);return s.ops=s.ops.concat(r.ops),s}}class Pa{constructor(e){this.helper=e}fillPolygons(e,n){n=Object.assign({},n,{hachureAngle:0});const s=rt(e,n);return this.dotsOnLines(s,n)}dotsOnLines(e,n){const s=[];let o=n.hachureGap;o<0&&(o=n.strokeWidth*4),o=Math.max(o,.1);let r=n.fillWeight;r<0&&(r=n.strokeWidth/2);const i=o/4;for(const a of e){const l=Vt(a),c=l/o,u=Math.ceil(c)-1,d=l-u*o,h=(a[0][0]+a[1][0])/2-o/4,f=Math.min(a[0][1],a[1][1]);for(let p=0;p{const a=Vt(i),l=Math.floor(a/(s+o)),c=(a+o-l*(s+o))/2;let u=i[0],d=i[1];u[0]>d[0]&&(u=i[1],d=i[0]);const h=Math.atan((d[1]-u[1])/(d[0]-u[0]));for(let f=0;f{const i=Vt(r),a=Math.round(i/(2*n));let l=r[0],c=r[1];l[0]>c[0]&&(l=r[1],c=r[0]);const u=Math.atan((c[1]-l[1])/(c[0]-l[0]));for(let d=0;du%2?c+n:c+e);r.push({key:"C",data:l}),e=l[4],n=l[5];break}case"Q":r.push({key:"Q",data:[...a]}),e=a[2],n=a[3];break;case"q":{const l=a.map((c,u)=>u%2?c+n:c+e);r.push({key:"Q",data:l}),e=l[2],n=l[3];break}case"A":r.push({key:"A",data:[...a]}),e=a[5],n=a[6];break;case"a":e+=a[5],n+=a[6],r.push({key:"A",data:[a[0],a[1],a[2],a[3],a[4],e,n]});break;case"H":r.push({key:"H",data:[...a]}),e=a[0];break;case"h":e+=a[0],r.push({key:"H",data:[e]});break;case"V":r.push({key:"V",data:[...a]}),n=a[0];break;case"v":n+=a[0],r.push({key:"V",data:[n]});break;case"S":r.push({key:"S",data:[...a]}),e=a[2],n=a[3];break;case"s":{const l=a.map((c,u)=>u%2?c+n:c+e);r.push({key:"S",data:l}),e=l[2],n=l[3];break}case"T":r.push({key:"T",data:[...a]}),e=a[0],n=a[1];break;case"t":e+=a[0],n+=a[1],r.push({key:"T",data:[e,n]});break;case"Z":case"z":r.push({key:"Z",data:[]}),e=s,n=o;break}return r}function to(t){const e=[];let n="",s=0,o=0,r=0,i=0,a=0,l=0;for(const{key:c,data:u}of t){switch(c){case"M":e.push({key:"M",data:[...u]}),[s,o]=u,[r,i]=u;break;case"C":e.push({key:"C",data:[...u]}),s=u[4],o=u[5],a=u[2],l=u[3];break;case"L":e.push({key:"L",data:[...u]}),[s,o]=u;break;case"H":s=u[0],e.push({key:"L",data:[s,o]});break;case"V":o=u[0],e.push({key:"L",data:[s,o]});break;case"S":{let d=0,h=0;n==="C"||n==="S"?(d=s+(s-a),h=o+(o-l)):(d=s,h=o),e.push({key:"C",data:[d,h,...u]}),a=u[0],l=u[1],s=u[2],o=u[3];break}case"T":{const[d,h]=u;let f=0,p=0;n==="Q"||n==="T"?(f=s+(s-a),p=o+(o-l)):(f=s,p=o);const g=s+2*(f-s)/3,m=o+2*(p-o)/3,y=d+2*(f-d)/3,v=h+2*(p-h)/3;e.push({key:"C",data:[g,m,y,v,d,h]}),a=f,l=p,s=d,o=h;break}case"Q":{const[d,h,f,p]=u,g=s+2*(d-s)/3,m=o+2*(h-o)/3,y=f+2*(d-f)/3,v=p+2*(h-p)/3;e.push({key:"C",data:[g,m,y,v,f,p]}),a=d,l=h,s=f,o=p;break}case"A":{const d=Math.abs(u[0]),h=Math.abs(u[1]),f=u[2],p=u[3],g=u[4],m=u[5],y=u[6];d===0||h===0?(e.push({key:"C",data:[s,o,m,y,m,y]}),s=m,o=y):(s!==m||o!==y)&&(no(s,o,m,y,d,h,f,p,g).forEach(function(b){e.push({key:"C",data:b})}),s=m,o=y);break}case"Z":e.push({key:"Z",data:[]}),s=r,o=i;break}n=c}return e}function Ca(t){return Math.PI*t/180}function Qe(t,e,n){const s=t*Math.cos(n)-e*Math.sin(n),o=t*Math.sin(n)+e*Math.cos(n);return[s,o]}function no(t,e,n,s,o,r,i,a,l,c){const u=Ca(i);let d=[],h=0,f=0,p=0,g=0;if(c)[h,f,p,g]=c;else{[t,e]=Qe(t,e,-u),[n,s]=Qe(n,s,-u);const T=(t-n)/2,A=(e-s)/2;let B=T*T/(o*o)+A*A/(r*r);B>1&&(B=Math.sqrt(B),o=B*o,r=B*r);const L=a===l?-1:1,F=o*o,ie=r*r,qe=F*ie-F*A*A-ie*T*T,se=F*A*A+ie*T*T,Y=L*Math.sqrt(Math.abs(qe/se));p=Y*o*A/r+(t+n)/2,g=Y*-r*T/o+(e+s)/2,h=Math.asin(parseFloat(((e-g)/r).toFixed(9))),f=Math.asin(parseFloat(((s-g)/r).toFixed(9))),tf&&(h=h-Math.PI*2),!l&&f>h&&(f=f-Math.PI*2)}let m=f-h;if(Math.abs(m)>Math.PI*120/180){const T=f,A=n,B=s;l&&f>h?f=h+Math.PI*120/180*1:f=h+Math.PI*120/180*-1,n=p+o*Math.cos(f),s=g+r*Math.sin(f),d=no(n,s,A,B,o,r,i,0,l,[f,T,p,g])}m=f-h;const y=Math.cos(h),v=Math.sin(h),b=Math.cos(f),_=Math.sin(f),O=Math.tan(m/4),w=4/3*o*O,P=4/3*r*O,E=[t,e],N=[t+w*v,e-P*y],K=[n+w*_,s-P*b],x=[n,s];if(N[0]=2*E[0]-N[0],N[1]=2*E[1]-N[1],c)return[N,K,x].concat(d);{d=[N,K,x].concat(d);const T=[];for(let A=0;A2){const o=[];for(let r=0;rMath.PI*2&&(f=0,p=Math.PI*2);const g=Math.PI*2/l.curveStepCount,m=Math.min(g/2,(p-f)/2),y=ps(m,c,u,d,h,f,p,1,l);if(!l.disableMultiStroke){const v=ps(m,c,u,d,h,f,p,1.5,l);y.push(...v)}return i&&(a?y.push(...he(c,u,c+d*Math.cos(f),u+h*Math.sin(f),l),...he(c,u,c+d*Math.cos(p),u+h*Math.sin(p),l)):y.push({op:"lineTo",data:[c,u]},{op:"lineTo",data:[c+d*Math.cos(f),u+h*Math.sin(f)]})),{type:"path",ops:y}}function fs(t,e){const n=to(eo(An(t))),s=[];let o=[0,0],r=[0,0];for(const{key:i,data:a}of n)switch(i){case"M":{r=[a[0],a[1]],o=[a[0],a[1]];break}case"L":s.push(...he(r[0],r[1],a[0],a[1],e)),r=[a[0],a[1]];break;case"C":{const[l,c,u,d,h,f]=a;s.push(...Fa(l,c,u,d,h,f,r,e)),r=[h,f];break}case"Z":s.push(...he(r[0],r[1],o[0],o[1],e)),r=[o[0],o[1]];break}return{type:"path",ops:s}}function Qt(t,e){const n=[];for(const s of t)if(s.length){const o=e.maxRandomnessOffset||0,r=s.length;if(r>2){n.push({op:"move",data:[s[0][0]+S(o,e),s[0][1]+S(o,e)]});for(let i=1;iMath.PI*2&&(d=0,h=Math.PI*2);const f=(h-d)/i.curveStepCount,p=[];for(let g=d;g<=h;g=g+f)p.push([a+c*Math.cos(g),l+u*Math.sin(g)]);return p.push([a+c*Math.cos(h),l+u*Math.sin(h)]),p.push([a,l]),je([p],i)}function Ha(t,e){return S(t,e)}function ja(t,e,n){return Tt(t,e,n)}function Ra(t,e,n,s,o){return he(t,e,n,s,o,!0)}function hs(t){const e=Object.assign({},t);return e.randomizer=void 0,t.seed&&(e.seed=t.seed+1),e}function ro(t){return t.randomizer||(t.randomizer=new ba(t.seed||0)),t.randomizer.next()}function Tt(t,e,n,s=1){return n.roughness*s*(ro(n)*(e-t)+t)}function S(t,e,n=1){return Tt(-t,t,e,n)}function he(t,e,n,s,o,r=!1){const i=r?o.disableMultiStrokeFill:o.disableMultiStroke,a=pn(t,e,n,s,o,!0,!1);if(i)return a;const l=pn(t,e,n,s,o,!0,!0);return a.concat(l)}function pn(t,e,n,s,o,r,i){const a=Math.pow(t-n,2)+Math.pow(e-s,2),l=Math.sqrt(a);let c=1;l<200?c=1:l>500?c=.4:c=-.0016668*l+1.233334;let u=o.maxRandomnessOffset||0;u*u*100>a&&(u=l/10);const d=u/2,h=.2+ro(o)*.2;let f=o.bowing*o.maxRandomnessOffset*(s-e)/200,p=o.bowing*o.maxRandomnessOffset*(t-n)/200;f=S(f,o,c),p=S(p,o,c);const g=[],m=()=>S(d,o,c),y=()=>S(u,o,c),v=o.preserveVertices;return i?g.push({op:"move",data:[t+(v?0:m()),e+(v?0:m())]}):g.push({op:"move",data:[t+(v?0:S(u,o,c)),e+(v?0:S(u,o,c))]}),i?g.push({op:"bcurveTo",data:[f+t+(n-t)*h+m(),p+e+(s-e)*h+m(),f+t+2*(n-t)*h+m(),p+e+2*(s-e)*h+m(),n+(v?0:m()),s+(v?0:m())]}):g.push({op:"bcurveTo",data:[f+t+(n-t)*h+y(),p+e+(s-e)*h+y(),f+t+2*(n-t)*h+y(),p+e+2*(s-e)*h+y(),n+(v?0:y()),s+(v?0:y())]}),g}function ct(t,e,n){if(!t.length)return[];const s=[];s.push([t[0][0]+S(e,n),t[0][1]+S(e,n)]),s.push([t[0][0]+S(e,n),t[0][1]+S(e,n)]);for(let o=1;o3){const r=[],i=1-n.curveTightness;o.push({op:"move",data:[t[1][0],t[1][1]]});for(let a=1;a+21&&o.push(r):o.push(r),o.push(t[e+3])}else{const i=t[e+0],a=t[e+1],l=t[e+2],c=t[e+3],u=Ae(i,a,.5),d=Ae(a,l,.5),h=Ae(l,c,.5),f=Ae(u,d,.5),p=Ae(d,h,.5),g=Ae(f,p,.5);gn([i,u,f,g],0,n,o),gn([g,p,h,c],0,n,o)}return o}function Wa(t,e){return Lt(t,0,t.length,e)}function Lt(t,e,n,s,o){const r=o||[],i=t[e],a=t[n-1];let l=0,c=1;for(let u=e+1;ul&&(l=d,c=u)}return Math.sqrt(l)>s?(Lt(t,e,c+1,s,r),Lt(t,c,n,s,r)):(r.length||r.push(i),r.push(a)),r}function mn(t,e=.15,n){const s=[],o=(t.length-1)/3;for(let r=0;r0?Lt(s,0,s.length,n):s}function za(t,e,n){const s=An(t),o=to(eo(s)),r=[];let i=[],a=[0,0],l=[];const c=()=>{l.length>=4&&i.push(...mn(l,e)),l=[]},u=()=>{c(),i.length&&(r.push(i),i=[])};for(const{key:h,data:f}of o)switch(h){case"M":u(),a=[f[0],f[1]],i.push(a);break;case"L":c(),i.push([f[0],f[1]]);break;case"C":if(!l.length){const p=i.length?i[i.length-1]:a;l.push([p[0],p[1]])}l.push([f[0],f[1]]),l.push([f[2],f[3]]),l.push([f[4],f[5]]);break;case"Z":c(),i.push([a[0],a[1]]);break}if(u(),!n)return r;const d=[];for(const h of r){const f=Wa(h,n);f.length&&d.push(f)}return d}const Q="none";class qa{constructor(e){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=e||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Ys()}_o(e){return e?Object.assign({},this.defaultOptions,e):this.defaultOptions}_d(e,n,s){return{shape:e,sets:n||[],options:s||this.defaultOptions}}line(e,n,s,o,r){const i=this._o(r);return this._d("line",[X(e,n,s,o,i)],i)}rectangle(e,n,s,o,r){const i=this._o(r),a=[],l=so(e,n,s,o,i);if(i.fill){const c=[[e,n],[e+s,n],[e+s,n+o],[e,n+o]];i.fillStyle==="solid"?a.push(Qt([c],i)):a.push(je([c],i))}return i.stroke!==Q&&a.push(l),this._d("rectangle",a,i)}ellipse(e,n,s,o,r){const i=this._o(r),a=[],l=oo(s,o,i),c=dn(e,n,i,l);if(i.fill)if(i.fillStyle==="solid"){const u=dn(e,n,i,l).opset;u.type="fillPath",a.push(u)}else a.push(je([c.estimatedPoints],i));return i.stroke!==Q&&a.push(c.opset),this._d("ellipse",a,i)}circle(e,n,s,o){const r=this.ellipse(e,n,s,s,o);return r.shape="circle",r}linearPath(e,n){const s=this._o(n);return this._d("linearPath",[tt(e,!1,s)],s)}arc(e,n,s,o,r,i,a=!1,l){const c=this._o(l),u=[],d=us(e,n,s,o,r,i,a,!0,c);if(a&&c.fill)if(c.fillStyle==="solid"){const h=Object.assign({},c);h.disableMultiStroke=!0;const f=us(e,n,s,o,r,i,!0,!1,h);f.type="fillPath",u.push(f)}else u.push(Da(e,n,s,o,r,i,c));return c.stroke!==Q&&u.push(d),this._d("arc",u,c)}curve(e,n){const s=this._o(n),o=[],r=cs(e,s);if(s.fill&&s.fill!==Q)if(s.fillStyle==="solid"){const i=cs(e,Object.assign(Object.assign({},s),{disableMultiStroke:!0,roughness:s.roughness?s.roughness+s.fillShapeRoughnessGain:0}));o.push({type:"fillPath",ops:this._mergedShape(i.ops)})}else{const i=[],a=e;if(a.length){const c=typeof a[0][0]=="number"?[a]:a;for(const u of c)u.length<3?i.push(...u):u.length===3?i.push(...mn(gs([u[0],u[0],u[1],u[2]]),10,(1+s.roughness)/2)):i.push(...mn(gs(u),10,(1+s.roughness)/2))}i.length&&o.push(je([i],s))}return s.stroke!==Q&&o.push(r),this._d("curve",o,s)}polygon(e,n){const s=this._o(n),o=[],r=tt(e,!0,s);return s.fill&&(s.fillStyle==="solid"?o.push(Qt([e],s)):o.push(je([e],s))),s.stroke!==Q&&o.push(r),this._d("polygon",o,s)}path(e,n){const s=this._o(n),o=[];if(!e)return this._d("path",o,s);e=(e||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const r=s.fill&&s.fill!=="transparent"&&s.fill!==Q,i=s.stroke!==Q,a=!!(s.simplification&&s.simplification<1),l=a?4-4*(s.simplification||1):(1+s.roughness)/2,c=za(e,1,l),u=fs(e,s);if(r)if(s.fillStyle==="solid")if(c.length===1){const d=fs(e,Object.assign(Object.assign({},s),{disableMultiStroke:!0,roughness:s.roughness?s.roughness+s.fillShapeRoughnessGain:0}));o.push({type:"fillPath",ops:this._mergedShape(d.ops)})}else o.push(Qt(c,s));else o.push(je(c,s));return i&&(a?c.forEach(d=>{o.push(tt(d,!1,s))}):o.push(u)),this._d("path",o,s)}opsToPath(e,n){let s="";for(const o of e.ops){const r=typeof n=="number"&&n>=0?o.data.map(i=>+i.toFixed(n)):o.data;switch(o.op){case"move":s+=`M${r[0]} ${r[1]} `;break;case"bcurveTo":s+=`C${r[0]} ${r[1]}, ${r[2]} ${r[3]}, ${r[4]} ${r[5]} `;break;case"lineTo":s+=`L${r[0]} ${r[1]} `;break}}return s.trim()}toPaths(e){const n=e.sets||[],s=e.options||this.defaultOptions,o=[];for(const r of n){let i=null;switch(r.type){case"path":i={d:this.opsToPath(r),stroke:s.stroke,strokeWidth:s.strokeWidth,fill:Q};break;case"fillPath":i={d:this.opsToPath(r),stroke:Q,strokeWidth:0,fill:s.fill||Q};break;case"fillSketch":i=this.fillSketch(r,s);break}i&&o.push(i)}return o}fillSketch(e,n){let s=n.fillWeight;return s<0&&(s=n.strokeWidth/2),{d:this.opsToPath(e),stroke:n.fill||Q,strokeWidth:s,fill:Q}}_mergedShape(e){return e.filter((n,s)=>s===0?!0:n.op!=="move")}}const io="http://www.w3.org/2000/svg",Ua=800;let Zt=null;function Ka(){return Zt||(Zt=new qa().defaultOptions),Zt}function Yt(t,e,n){return{...Ka(),maxRandomnessOffset:2,roughness:t==="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:t!=="double",disableMultiStrokeFill:!1,seed:e,...n}}function Ja(t){const e=t.padding;if(e||e===0){if(typeof e=="number")return[e,e,e,e];if(Array.isArray(e)){const n=e;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 Ga(t,e,n,s,o,r){const i=[];let a=n.strokeWidth||2;const l=Ja(n),c=n.animate===void 0?!0:!!n.animate,u=n.iterations||2,d=n.rtl?1:0,h=Yt("single",r,n);switch(n.type){case"underline":{const f=e.y+e.h+l[2];for(let p=d;pv.setAttribute(b,_);for(const v of f){const b=document.createElementNS(io,"path");if(y(b,"d",v),y(b,"fill","none"),y(b,"stroke",n.color||"currentColor"),y(b,"stroke-width",`${a}`),n.opacity!==void 0&&y(b,"style",`opacity:${n.opacity}`),c){const _=b.getTotalLength();p.push(_),m+=_}t.appendChild(b),g.push(b)}if(c){let v=0;for(let b=0;bsetTimeout(e,t))}function Qa(t){const e=[];for(const n of t){let s="";for(const o of n.ops){const r=o.data;switch(o.op){case"move":s.trim()&&e.push(s.trim()),s=`M${r[0]} ${r[1]} `;break;case"bcurveTo":s+=`C${r[0]} ${r[1]}, ${r[2]} ${r[3]}, ${r[4]} ${r[5]} `;break;case"lineTo":s+=`L${r[0]} ${r[1]} `;break}}s.trim()&&e.push(s.trim())}return e}function Za(){if(!window.__rno_kf_s){const t=window.__rno_kf_s=document.createElement("style");t.textContent="@keyframes rough-notation-dash { to { stroke-dashoffset: 0; } }",document.head.appendChild(t)}}var Ya=Object.defineProperty,Xa=(t,e,n)=>e in t?Ya(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,oe=(t,e,n)=>(Xa(t,typeof e!="symbol"?e+"":e,n),n);class el{constructor(e,n){oe(this,"_state","unattached"),oe(this,"_config"),oe(this,"_resizing",!1),oe(this,"_ro"),oe(this,"_seed",Ys()),oe(this,"_e"),oe(this,"_svg"),oe(this,"_lastSizes",[]),oe(this,"_animationDelay",0),oe(this,"_resizeListener",()=>{this._resizing||(this._resizing=!0,setTimeout(()=>{this._resizing=!1,this._state==="showing"&&this.haveRectsChanged()&&this.show()},400))}),oe(this,"pendingRefresh"),this._e=e,this._config=JSON.parse(JSON.stringify(n)),this.attach()}getConfig(e){return this._config[e]}setConfig(e,n){this._config[e]!==n&&(this._config[e]=n,this.refresh())}get animate(){return this._config.animate}set animate(e){this._config.animate=e}get animationDuration(){return this._config.animationDuration}set animationDuration(e){this._config.animationDuration=e}get iterations(){return this._config.iterations}set iterations(e){this._config.iterations=e}get color(){return this._config.color}set color(e){this._config.color!==e&&(this._config.color=e,this.refresh())}get class(){return this._config.class}set class(e){this._config.class!==e&&(this._config.class=e,this._svg&&this._svg.setAttribute("class",["rough-annotation",this._config.class||""].filter(Boolean).join(" ")))}get strokeWidth(){return this._config.strokeWidth}set strokeWidth(e){this._config.strokeWidth!==e&&(this._config.strokeWidth=e,this.refresh())}get padding(){return this._config.padding}set padding(e){this._config.padding!==e&&(this._config.padding=e,this.refresh())}attach(){if(this._state==="unattached"&&this._e.parentElement){Za();const e=this._svg=document.createElementNS(io,"svg");e.setAttribute("class",["rough-annotation",this._config.class||""].filter(Boolean).join(" "));const n=e.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",e),this._state="not-showing",s){const o=window.getComputedStyle(this._e).position;(!o||o==="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(e=>{for(const n of e)n.contentRect&&this._resizeListener()})),this._ro&&this._ro.observe(this._e)}haveRectsChanged(){if(this._lastSizes.length){const e=this.rects();if(e.length===this._lastSizes.length){for(let n=0;nMath.round(o)===Math.round(r);return s(e.x,n.x)&&s(e.y,n.y)&&s(e.w,n.w)&&s(e.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(e,n){let s=this._config;n&&(s=JSON.parse(JSON.stringify(this._config)),s.animate=!1);const o=this.rects();let r=0;o.forEach(c=>r+=c.w);const i=s.animationDuration||Ua;let a=0;const l=[];for(let c=0;cObject.assign(t,{type:"box"}),circle:t=>Object.assign(t,{type:"circle"}),underline:t=>Object.assign(t,{type:"underline"}),highlight:t=>Object.assign(t,{type:"highlight"}),"strike-through":t=>Object.assign(t,{type:"strike-through"}),"crossed-off":t=>Object.assign(t,{type:"crossed-off"}),bracket:t=>Object.assign(t,{type:"bracket"}),strike:t=>Object.assign(t,{type:"strike-through"}),cross:t=>Object.assign(t,{type:"crossed-off"}),crossed:t=>Object.assign(t,{type:"crossed-off"}),linethrough:t=>Object.assign(t,{type:"strike-through"}),"line-through":t=>Object.assign(t,{type:"strike-through"}),black:t=>G(t,"text-black"),blue:t=>G(t,"text-blue"),cyan:t=>G(t,"text-cyan"),gray:t=>G(t,"text-gray"),green:t=>G(t,"text-green"),indigo:t=>G(t,"text-indigo"),lime:t=>G(t,"text-lime"),orange:t=>G(t,"text-orange"),pink:t=>G(t,"text-pink"),purple:t=>G(t,"text-purple"),red:t=>G(t,"text-red"),teal:t=>G(t,"text-teal"),white:t=>G(t,"text-white"),yellow:t=>G(t,"text-yellow")},nl=[[/^delay-?(\d+)?$/,(t,e,n)=>{const s=(t[1]?Number.parseInt(t[1]):n)||300;return e.delay=s,e}],[/^(?:op|opacity)-?(\d+)?$/,(t,e,n)=>{const s=(t[1]?Number.parseInt(t[1]):n)||100;return e.opacity=s/100,e}]];function sl(){return{install(t){t.directive("mark",{name:"v-mark",mounted:(e,n)=>{const s=k(()=>{const i=typeof n.value=="object"&&!Array.isArray(n.value)?{...n.value}:{at:n.value};let a={at:i.at};const l=Object.entries(n.modifiers).filter(([u,d])=>{if(ys[u])return a=ys[u](a,d),!1;for(const[h,f]of nl){const p=u.match(h);if(p)return a=f(p,a,d),!1}return!0});l.length&&console.warn("[Slidev] Invalid modifiers for v-mark:",l);const c={...a,...i};return c.type||(c.type="underline"),c}),o=tl(e,s.value),r=vt(e,n,s.value.at);if(!r){o.show();return}e.watchStopHandle=Be(()=>{let i;s.value.class&&(o.class=s.value.class),s.value.color&&(o.color=s.value.color);const a=s.value.at;a===!0?i=!0:a===!1?i=!1:i=r.isActive.value,i!=null&&(i?o.show():o.hide())})},unmounted:e=>{var n;(n=e.watchStopHandle)==null||n.call(e)}})}}}const Dl=$(!1),Hl=$(!1),jl=$(!1),ol=$(!1),Rl=$(!0),Fl=Mo({xs:460,...Lo}),Et=Oo(),Vl=Po(),xl=k(()=>Et.height.value-Et.width.value/Os.value>120),Bl=To(It?document.body:null),ao=$o(),Wl=k(()=>{var t;return["INPUT","TEXTAREA"].includes(((t=ao.value)==null?void 0:t.tagName)||"")}),zl=k(()=>{var t;return["BUTTON","A"].includes(((t=ao.value)==null?void 0:t.tagName)||"")});te("slidev-camera","default",{listenToStorageChanges:!1});te("slidev-mic","default",{listenToStorageChanges:!1});const rl=te("slidev-scale",0),ql=te("slidev-wake-lock",!0),Ul=te("slidev-presenter-cursor",!0,{listenToStorageChanges:!1}),il=te("slidev-show-editor",!1,{listenToStorageChanges:!1}),al=te("slidev-editor-vertical",!1,{listenToStorageChanges:!1}),ll=te("slidev-editor-width",It?window.innerWidth*.4:318,{listenToStorageChanges:!1}),cl=te("slidev-editor-height",It?window.innerHeight*.4:300,{listenToStorageChanges:!1}),ut=vn(null),At=te("slidev-presenter-font-size",1,{listenToStorageChanges:!1}),ft=te("slidev-presenter-layout",1,{listenToStorageChanges:!1});function Kl(){ft.value=ft.value+1,ft.value>2&&(ft.value=1)}function Jl(){At.value=Math.min(2,At.value+.1)}function Gl(){At.value=Math.max(.5,At.value-.1)}const Ql=Ms(ol);function ul(t=bs(Hs,$())){const e=Eo(t),n=ee([il,al,ll,cl,rl,Et.width,Et.height],()=>{setTimeout(e.update,300)},{flush:"post",immediate:!0});return{...e,stop:n}}function fl(t){return()=>{}}function hl(t,e,n,s=!1){var Y;function o(D){return t?We(t,D):Io(D)}const r=o(kn),i=o(Kr)??{},a=o(bn),l=k(()=>fl(a.value)),c=o(qr)??$(1),u=o(Jr)??$(1),{left:d,top:h,stop:f}=ul(o(Hs)??$()),p=["slide","presenter"].includes(r.value);let g=t?"directive":"prop",m=Ln(),y;if(Array.isArray(e)?y=e:typeof e=="string"&&e.includes(",")?y=e.split(",").map(Number):e!=null&&(g="frontmatter",m=`${e}`,e=(Y=i==null?void 0:i.dragPos)==null?void 0:Y[m],y=e==null?void 0:e.split(",").map(Number)),g!=="frontmatter"&&!n)throw new Error("[Slidev] Can not identify the source position of the v-drag element, please provide an explicit `id` prop.");const v=[f],b=!s&&e!=null&&!Number.isFinite(y==null?void 0:y[3]);y??(y=[Number.NaN,Number.NaN,0]);const _=$(y[2]),O=$(y[0]+y[2]/2),w=$(s?0:y[4]??0),P=k(()=>w.value*Math.PI/180),E=k(()=>Math.sin(P.value)),N=k(()=>Math.cos(P.value)),K=$(),x=$({left:0,top:0,width:0,height:0}),T=$(0);function A(){if(!K.value)return;const D=K.value.getBoundingClientRect();x.value={left:D.left/u.value,top:D.top/u.value,width:D.width/u.value,height:D.height/u.value},T.value=(x.value.width+x.value.height)/c.value/(Math.abs(E.value)+Math.abs(N.value))-_.value}v.push(ee(_,A,{flush:"post"}));const B=$(y[3]??0),L=b?k({get:()=>(b?T.value:B.value)||0,set:D=>!b&&(B.value=D)}):B,F=b?$(y[1]):$(y[1]+y[3]/2),ie=b?k({get:()=>F.value+L.value/2,set:D=>F.value=D-L.value/2}):F,qe=k(()=>Number.isFinite(O.value)?{position:"absolute",zIndex:100,left:`${O.value-_.value/2}px`,top:`${ie.value-L.value/2}px`,width:`${_.value}px`,height:b?void 0:`${L.value}px`,transformOrigin:"center center",transform:`rotate(${w.value}deg)`}:{position:"absolute",zIndex:100});v.push(ee([O,ie,_,L,w],([D,de,Ue,Ke,Cn])=>{let De=[D-Ue/2,de-Ke/2,Ue].map(Math.round).join();b?De+=g==="directive"?",NaN":",_":De+=`,${Math.round(Ke)}`,Math.round(Cn)!==0&&(De+=`,${Math.round(Cn)}`),g==="directive"&&(De=`[${De}]`),l.value(m,De,g,n)}));const se={dragId:m,dataSource:g,markdownSource:n,isArrow:s,zoom:u,autoHeight:b,x0:O,y0:ie,width:_,height:L,rotate:w,container:K,containerStyle:qe,watchStopHandles:v,dragging:k(()=>ut.value===se),mounted(){p&&(A(),e||setTimeout(()=>{A(),O.value=(x.value.left+x.value.width/2-d.value)/c.value,ie.value=(x.value.top-h.value)/c.value,_.value=x.value.width/c.value,L.value=x.value.height/c.value},100))},unmounted(){p&&se.stopDragging()},startDragging(){A(),ut.value=se},stopDragging(){ut.value===se&&(ut.value=null)}};return v.push(Ao(K,D=>{const de=document.querySelector("#drag-control-container");de&&D.target&&de.contains(D.target)||se.stopDragging()}),ee(Co(),D=>{D||se.stopDragging()})),se}function dl(){return{install(t){t.directive("drag",{name:"v-drag",created(e,n,s){var r;const o=hl(n,n.value,(r=s.props)==null?void 0:r.markdownSource);s.props&&(s.props={...s.props},delete s.props.markdownSource),o.container.value=e,e.draggingState=o,e.dataset.dragId=o.dragId,o.watchStopHandles.push(ee(o.containerStyle,i=>{for(const[a,l]of Object.entries(i))l&&(e.style[a]=l)},{immediate:!0})),e.addEventListener("dblclick",o.startDragging)},mounted(e){e.draggingState.mounted()},unmounted(e){const n=e.draggingState;n.unmounted(),e.removeEventListener("dblclick",n.startDragging),n.watchStopHandles.forEach(s=>s())}})}}}function pl(){return{install(t){const e=No();t.directive("motion",{name:"v-motion",mounted(n,s,o,r){var b,_,O;const i=We(s,Nt),a=We(s,bn),l=We(s,kn),{currentPage:c,clicks:u,isPrintMode:d}=cn(),h=o.props={...o.props},f={...h.initial,...(b=h.variants)==null?void 0:b["slidev-initial"]},p={...h.enter,...(_=h.variants)==null?void 0:_["slidev-enter"]},g={...h.leave,...(O=h.variants)==null?void 0:O["slidev-leave"]};delete h.initial,delete h.enter,delete h.leave;const m=`${Ln()}-`,y=[];for(const w of Object.keys(h))if(w.startsWith("click-")){const P=w.slice(6),E=P.includes("-")?P.split("-").map(Number):+P,N=m+P;y.push({id:N,at:E,variant:{...h[w]},info:i==null?void 0:i.value.calculate(E)}),delete h[w]}y.sort((w,P)=>(Array.isArray(w.at)?w.at[0]:w.at)-(Array.isArray(P.at)?P.at[0]:P.at)),e.created(n,s,o,r),e.mounted(n,s,o,r);const v=n.motionInstance;v.clickIds=y.map(w=>w.id),v.set(f),v.watchStopHandle=ee([a,c,u].filter(Boolean),()=>{var P;const w=((P=Zs.get(n))==null?void 0:P.visibilityState.value)??"shown";if(!(i!=null&&i.value)||!["slide","presenter"].includes((l==null?void 0:l.value)??"")){const E={...f,...p};for(const{variant:N}of y)Object.assign(E,N);v.set(E)}else if(d.value||(a==null?void 0:a.value)===c.value)if(w==="shown"){const E={...f,...p};for(const{variant:N,info:K}of y)(!K||K.isActive.value)&&Object.assign(E,N);d.value?v.set(E):v.apply(E)}else v.apply(w==="before"?f:g);else v.apply(((a==null?void 0:a.value)??-1)>c.value?f:g)},{immediate:!0})},unmounted(n){n.motionInstance.watchStopHandle()}})}}}const gl=[];function ml(){const t=[];{let e=function(n){if(!I.remote||I.remote===n.query.password)return!0;if(I.remote&&n.query.password===void 0){const s=prompt("Enter password");if(I.remote===s)return!0}return n.params.no?{path:`/${n.params.no}`}:{path:""}};t.push({name:"entry",path:"/entry",component:()=>C(()=>import("./slidev/entry-nm99HOjZ.js"),__vite__mapDeps([22,14,1,3,4,23]))},{name:"overview",path:"/overview",component:()=>C(()=>import("./slidev/overview-C8DpBgre.js"),__vite__mapDeps([24,14,1,25,26,27,28,29,3,4]))},{name:"notes",path:"/notes",component:()=>C(()=>import("./slidev/notes-DHTYcZ1h.js"),__vite__mapDeps([30,14,1,28,29,27,3,4])),beforeEnter:e},{name:"presenter",path:"/presenter/:no",component:()=>C(()=>import("./slidev/presenter-CfrswdWl.js"),__vite__mapDeps([31,14,1,32,25,26,27,2,3,4,33,28,29,34,35,36])),beforeEnter:e},{path:"/presenter",redirect:{path:"/presenter/1"}})}return t.push({name:"play",path:"/:no",component:()=>C(()=>import("./slidev/play-BXj9lYjc.js"),__vite__mapDeps([37,1,32,25,26,14,27,2,3,4,33,38]))},{path:"",redirect:{path:"/1"}},{path:"/:pathMatch(.*)*",name:"NotFound",component:()=>C(()=>import("./slidev/404-RnEiaZps.js"),__vite__mapDeps([39,1,3,4,40]))}),gl.reduce((e,n)=>n(e),t)}const yl=[];async function vl(t){function e(){document.documentElement.style.setProperty("--vh",`${window.innerHeight*.01}px`)}e(),window.addEventListener("resize",e);const n=Do({history:Ho("/slide"),routes:ml()});t.use(n),t.use(Nr()),t.use(va()),t.use(sl()),t.use(dl()),t.use(pl()),t.use(Ro,{container:"#twoslash-container"});const s={app:t,router:n};for(const o of yl)await o(s)}const lo=jo(ya);vl(lo);lo.mount("#app");export{Hs as $,wl as A,xl as B,pt as C,Et as D,al as E,ae as F,ut as G,ol as H,Ql as I,jl as J,Vl as K,Nl as L,Rl as M,zl as N,Wl as O,_l as P,rl as Q,ql as R,Fl as S,ao as T,Kl as U,Ft as V,qr as W,ul as X,_n as Y,Os as Z,Ei as _,cn as a,$l as a0,Kr as a1,bn as a2,kn as a3,Nt as a4,Jr as a5,Il as a6,Tl as a7,Pl as a8,Ol as a9,Ln as aa,Je as ab,Al as ac,Ur as ad,Ll as ae,Qr as af,Qs as b,Ti as c,Ml as d,Gs as e,Bl as f,xe as g,El as h,ls as i,Ul as j,ft as k,il as l,At as m,Jl as n,Gl as o,Sl as p,en as q,Nn as r,xt as s,Cl as t,Hr as u,I as v,C as w,Dl as x,Hl as y,qo as z};