evalstate HF Staff commited on
Commit
a1f6a64
·
verified ·
1 Parent(s): b6cfbc2

Fix July presentation asset paths

Browse files
Files changed (27) hide show
  1. 2026/july-release-party/assets/SlideWrapper-Dzm8dNDw.js +0 -1
  2. 2026/july-release-party/assets/index-CHOd5jjo.js +0 -47
  3. 2026/july-release-party/assets/md-47U1V8LV.css +0 -1
  4. 2026/july-release-party/assets/md-BUttd7HW.js +0 -1
  5. 2026/july-release-party/assets/md-BvWhcoIB.js +0 -1
  6. 2026/july-release-party/assets/md-Bwgk1pWT.js +0 -1
  7. 2026/july-release-party/assets/md-DNW7-ntV.css +0 -1
  8. 2026/july-release-party/assets/md-Dd-Djk-C.js +0 -1
  9. 2026/july-release-party/assets/md-DrLUiRi8.js +0 -1
  10. 2026/july-release-party/assets/md-HvGt512D.js +0 -1
  11. 2026/july-release-party/assets/slidev/404-eCFR33FK.js +0 -1
  12. 2026/july-release-party/assets/slidev/DrawingControls-RNrmRGU8.js +0 -1
  13. 2026/july-release-party/assets/slidev/DrawingLayer-BydXPFu-.js +0 -1
  14. 2026/july-release-party/assets/slidev/DrawingPreview-Deq4DPKw.js +0 -1
  15. 2026/july-release-party/assets/slidev/NoteDisplay-BcP1TlLl.js +0 -1
  16. 2026/july-release-party/assets/slidev/NoteEditable-CPfOWw_X.js +0 -1
  17. 2026/july-release-party/assets/slidev/SlideContainer-8Ec60cME.js +0 -1
  18. 2026/july-release-party/assets/slidev/TimerBar-nldsflyC.js +0 -1
  19. 2026/july-release-party/assets/slidev/notes-Ds27Z8l2.js +0 -1
  20. 2026/july-release-party/assets/slidev/notes-edit-xXUwA9Qr.js +0 -2
  21. 2026/july-release-party/assets/slidev/overview-hsiYbMBA.js +0 -1
  22. 2026/july-release-party/assets/slidev/play-DB-pdyLF.js +0 -2
  23. 2026/july-release-party/assets/slidev/presenter-C_4zp2e5.js +0 -1
  24. 2026/july-release-party/assets/slidev/print-D1ajUeF3.js +0 -5
  25. 2026/july-release-party/assets/slidev/shortcuts-CSCoA7ao.js +0 -4
  26. 2026/july-release-party/assets/useDrawings-CRXmHsXD.js +0 -1
  27. 2026/july-release-party/assets/useNav-Bvv0p3kN.js +0 -32
2026/july-release-party/assets/SlideWrapper-Dzm8dNDw.js DELETED
@@ -1 +0,0 @@
1
- import{C as e,O as t,T as n,W as r,_t as i,b as a,ct as o,g as s,gt as c,pt as l,v as u,yt as d,z as f}from"./modules/shiki-CSYx1hey.js";import{nt as p}from"./useNav-Bvv0p3kN.js";import{t as m}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{M as h}from"./modules/vue-CTLtUbT_.js";import{d as g,f as _,h as v,m as y,p as b,v as x}from"./slidev/context-T2gS7_mS.js";import{a as S}from"./index-CHOd5jjo.js";var C=Object.assign({}),w=Object.assign({}),T=Object.assign({}),E=Object.assign({}),D=Object.assign({}),O=Object.assign({}),k=Object.assign({}),A=Object.assign({}),j=[Object.values(C)[0],Object.values(w)[0]].filter(Boolean),M={render:()=>j.map(e=>t(e))},N=[Object.values(T)[0],Object.values(E)[0]].filter(Boolean),P={render:()=>N.map(e=>t(e))},F=[Object.values(D)[0],Object.values(O)[0]].filter(Boolean),I={render:()=>F.map(e=>t(e))},L=[Object.values(k)[0],Object.values(A)[0]].filter(Boolean),R={render:()=>L.map(e=>t(e))},z=[`data-slidev-no`,`lang`],B=m(n({__name:`SlideWrapper`,props:{clicksContext:{type:Object,required:!0},renderContext:{type:String,default:`slide`},route:{type:Object,required:!0}},setup(t){let n=t,m=s(()=>n.route.meta?.slide?.frontmatter.zoom??1);h(v,n.route),h(b,n.route.meta.slide.frontmatter),h(_,o(n.route.no)),h(y,o(n.renderContext)),h(g,l(n,`clicksContext`)),h(x,m);let C=s(()=>({"user-select":p.selectable?void 0:`none`,"--slidev-slide-zoom-scale":m.value===1?void 0:m.value}));return(o,s)=>(f(),a(`div`,{"data-slidev-no":n.route.no,class:i(c(S)(t.route,[`slide`,`presenter`].includes(n.renderContext)?``:`disable-view-transition`)),style:d(C.value),lang:n.route.meta.slide.frontmatter.lang},[e(c(R)),(f(),u(r(n.route.component))),e(c(I))],14,z))}}),[[`__scopeId`,`data-v-9167a1ed`]]);export{P as n,M as r,B as t};
 
 
2026/july-release-party/assets/index-CHOd5jjo.js DELETED
@@ -1,47 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./modules/file-saver-DJvf_BAX.js","./rolldown-runtime-QTnfLwEv.js","./slidev/print-D1ajUeF3.js","./modules/shiki-CSYx1hey.js","./modules/shiki-BrmBd2_v.css","./useNav-Bvv0p3kN.js","./_plugin-vue_export-helper-BDNMzG2s.js","./modules/vue-CTLtUbT_.js","./slidev/context-T2gS7_mS.js","./SlideWrapper-Dzm8dNDw.js","./SlideWrapper-DRhhw1Nh.css","./print-DvuZFEyP.css","./slidev/entry-BZfV7IDQ.js","./entry-CQkCdRep.css","./slidev/overview-hsiYbMBA.js","./slidev/IconButton-vxnWUGrP.js","./slidev/DrawingPreview-Deq4DPKw.js","./useDrawings-CRXmHsXD.js","./slidev/NoteDisplay-BcP1TlLl.js","./NoteDisplay-DCBzjb4F.css","./modules/unplugin-icons-CU14lr-e.js","./slidev/NoteEditable-CPfOWw_X.js","./slidev/SlideContainer-8Ec60cME.js","./syncState-DFfDxw0Y.js","./SlideContainer-Nk421eIX.css","./overview-Bm2pcStm.css","./slidev/notes-Ds27Z8l2.js","./slidev/Modal-BxeCmxtV.js","./slidev/TimerBar-nldsflyC.js","./slidev/notes-edit-xXUwA9Qr.js","./slidev/presenter-C_4zp2e5.js","./slidev/DrawingControls-RNrmRGU8.js","./slidev/VerticalDivider-D7q6yjRB.js","./DrawingControls-Dhbx0szf.css","./slidev/shortcuts-CSCoA7ao.js","./shortcuts-D4efsZpS.css","./presenter-DfUmlyiu.css","./slidev/play-DB-pdyLF.js","./play-D_7yfuao.css","./slidev/404-eCFR33FK.js","./404-VQkf1Vlw.css"])))=>i.map(i=>d[i]);
2
- import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{A as t,C as n,E as r,F as i,I as a,J as o,P as s,T as c,U as l,Y as u,b as d,ct as f,dt as p,g as m,gt as h,ht as g,k as _,ot as v,p as y,rt as b,s as x,t as S,tt as C,y as w,z as T}from"./modules/shiki-CSYx1hey.js";import{$ as ee,B as te,J as E,M as ne,Q as re,T as D,V as ie,et as O,g as ae,j as k,l as oe,m as se,n as ce,nt as A,q as j,r as le,tt as ue,u as de,z as fe}from"./useNav-Bvv0p3kN.js";import{A as pe,L as me,R as he,V as ge,b as _e,d as ve,h as ye,i as be,k as xe,o as Se,w as Ce,x as we,z as Te}from"./modules/vue-CTLtUbT_.js";import{a as Ee,c as De,d as Oe,f as ke,g as Ae,i as je,m as Me,o as Ne,p as Pe,r as Fe,s as Ie,u as Le,y as Re}from"./slidev/context-T2gS7_mS.js";import{n as M,r as ze,t as Be}from"./syncState-DFfDxw0Y.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})(),f(!1),f(!1);var Ve=new Set([`link`,`style`,`script`,`noscript`]),He=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),Ue=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),We=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),Ge=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),Ke=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),qe=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),Je=new Set([`theme-color`,`google-site-verification`,`og`,`article`,`book`,`profile`,`twitter`,`author`]),Ye={critical:-8,high:-1,low:2};function Xe(e){return e===`__proto__`||e===`constructor`||e===`prototype`}function Ze(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>Ze(e,t,i+1,r))}catch(e){return Promise.reject(e)}}var Qe=class{_hooks;constructor(){this._hooks={}}hook(e,t){return!e||typeof t!=`function`?()=>{}:(this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)})}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}callHook(e,...t){let n=this._hooks[e];if(!(!n||n.length===0))return Ze(n,t,0)}};function $e(e){let t=new Qe;for(let n in e||{})t.hook(n,e[n]);return t}function N(e,t,n){if(e.hooks?._hooks?.[t]?.length)return e.hooks?.callHook(t,n)}var et=/^(?:viewport|description|keywords|robots)$/,tt=[`name`,`property`,`http-equiv`];function nt(e){let t=e.indexOf(`:`);if(t===-1)return!1;let n=e.indexOf(`:`,t+1);return Je.has(e.slice(t+1,n===-1?e.length:n))}function rt(e){let{props:t,tag:n,key:r}=e;if(Ge.has(n))return n;if(n===`link`){if(t.rel===`canonical`)return`canonical`;if(t.rel===`alternate`&&t.hreflang)return`alternate:${t.hreflang}`}if(t.charset)return`charset`;if(n===`meta`)for(let e of tt){let n=t[e];if(n!==void 0)return`meta:${n}${(typeof n!=`string`||!n.includes(`:`))&&!et.test(n)&&r?`:key:${r}`:``}`}return r?`${n}:key:${r}`:t.id?`${n}:id:${t.id}`:n===`link`&&t.rel&&t.href?`link:${t.rel}:${t.href}`:He.has(n)&&(e.textContent||e.innerHTML)?`${n}:content:${e.textContent||e.innerHTML}`:void 0}function it(e){let t=e._h||e._d||e.textContent||e.innerHTML;if(t)return t;let n=Object.keys(e.props).sort(),r=`${e.tag}:`,i=``;for(let t of n)r+=`${i}${t}:${String(e.props[t])}`,i=`,`;return r}function at(e,t,n){if(n===`_resolver`)return e;typeof e==`function`&&(!n||n!==`titleTemplate`&&!n.startsWith(`on`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r)){let e;for(let n=0;n<r.length;n++){let i=at(r[n],t);e?e[n]=i:i!==r[n]&&(e=r.slice(0,n),e[n]=i)}return e||r}if(r?.constructor===Object){let e;for(let n in r){let i=Xe(n),a=i?void 0:at(r[n],t,n);if(!e&&(i||a!==r[n])){e={};for(let t in r){if(t===n)break;e[t]=r[t]}}e&&!i&&(e[n]=a)}return e||r}return r}var ot=/[\s"'<>/=\x00-\x1F\x7F]/;function st(e,t){let n=e===`style`,r=n?new Map:new Set,i=e=>{if(e)if(n){let t=e.indexOf(`:`);t>0&&r.set(e.slice(0,t).trim(),e.slice(t+1).trim())}else e.split(` `).forEach(e=>e&&r.add(e))};if(typeof t==`string`)(n?t.split(`;`):[t]).forEach(i);else if(Array.isArray(t))t.forEach(i);else if(t&&typeof t==`object`)for(let e in t){let a=t[e];a&&a!==`false`&&(n?r.set(e.trim(),String(a)):i(e))}return r}function ct(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=Ue.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;for(let r in t){if(Xe(r))continue;let i=r.startsWith(`data-`),a=n&&!Ke.has(r),o=a&&!i?r.toLowerCase():r;if(a&&(!o||ot.test(o)))continue;let s=t[r];if(s===null)e.props[o]=null;else if(r===`class`||r===`style`)e.props[r]=st(r,s);else if(Ke.has(r))if((r===`textContent`||r===`innerHTML`)&&typeof s==`object`){let n=t.type||`application/json`;(n.endsWith(`json`)||n===`speculationrules`||n===`importmap`)&&(e.props.type=t.type=n,e[r]=JSON.stringify(s))}else e[r]=s;else if(s!==void 0){let t=String(s),n=e.tag===`meta`&&o===`content`;e.props[o]=t===`true`||t===``?i||n?t:!0:!s&&i&&t===`false`?`false`:s}}return e}function lt(e,t){let n;return t.length&&(n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n},e=n(void 0,e)),at(e,n)}function ut(e,t){let n=ct({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});if(n.key&&Ve.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)){let e=[];for(let t of n.props.content)e.push({...n,props:{...n.props,content:t}});return e}return n}function dt(e,t){if(Array.isArray(t))for(let n of t)e.push(n);else e.push(t)}function ft(e,t){if(!e)return[];typeof e==`function`&&(e=e()),e=lt(e,t);let n=[];for(let t in e){let r=e[t];if(r!==void 0)if(Array.isArray(r))for(let e of r)dt(n,ut(t,e));else dt(n,ut(t,r))}return n}var pt=/</g,mt=/<\/script/g,ht=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,gt=()=>100;function _t(e){for(let t in e)return!1;return!0}var vt=/^tags:|:render/;function yt(e,t){let n=(t[`entries:resolve`]?.length||0)+(t[`entries:normalize`]?.length||0);if(e._h!==n){e._h=n;for(let t of e.entries.values())delete t._tags}}function bt(e){for(let t=0;t<e.length;t++){let n=e[t],r={...n.props};r.class instanceof Set&&(r.class=new Set(r.class)),r.style instanceof Map&&(r.style=new Map(r.style)),e[t]={...n,props:r}}}function xt(e,t){let n=e.tags,r=0;for(let t of e.tagMap.values())if(Array.isArray(t))for(let e of t)n[r++]=e;else n[r++]=t;n.length=r,t&&n.sort(ht)}function St(e){let t=!1;for(let n of e.tags.sort(ht)){let r=n._d||it(n);if(!r)continue;let i=e.tagMap.get(r);if(!i){e.tagMap.set(r,n);continue}if((n.tagDuplicateStrategy||(qe.has(n.tag)?`merge`:null)||(n.key&&n.key===i.key?`merge`:null))===`merge`){let t={...i.props};for(let e in n.props)t[e]=e===`style`?new Map([...i.props.style||new Map,...n.props[e]]):e===`class`?new Set([...i.props.class||[],...n.props[e]]):n.props[e];e.tagMap.set(r,{...n,props:t})}else n._p>>10==i._p>>10&&n.tag===`meta`&&nt(r)?(e.tagMap.set(r,Object.assign([...Array.isArray(i)?i:[i],n],n)),t=!0):(n._w===i._w?n._p>i._p:n._w<i._w)&&e.tagMap.set(r,n)}return t}function Ct(e,t){let n=e.tagMap.get(`title`),r=e.tagMap.get(`titleTemplate`);if(t._title=n?.textContent,!r)return;let i=r.textContent;if(t._titleTemplate=i,!i)return;let a=typeof i==`function`?i(n?.textContent):i;typeof a==`string`&&!t.plugins.has(`template-params`)&&(a=a.replace(`%s`,n?.textContent||``)),n?a===null?e.tagMap.delete(`title`):e.tagMap.set(`title`,{...n,textContent:a}):e.tagMap.set(`titleTemplate`,{...r,tag:`title`,textContent:a})}function wt(e){let t=0;for(let n of e){let{innerHTML:r,tag:i,props:a}=n;if(!(!We.has(i)||_t(a)&&!r&&!n.textContent)&&!(i===`meta`&&!a.content&&!a[`http-equiv`]&&!a.charset)){if(i===`script`&&(r||n.textContent)){let e=String(a.type),t=e.endsWith(`json`)||e===`importmap`||e===`speculationrules`,i=e=>t?(typeof e==`string`?e:JSON.stringify(e)).replace(pt,`\\u003C`):typeof e==`string`?e.replace(mt,`<\\/script`):e;n={...n},r&&(n.innerHTML=i(r)),n.textContent&&=i(n.textContent),n._d=rt(n)}e[t++]=n}}return e.length=t,e}function Tt(e,t){let n=t?.tagWeight??e.resolvedOptions._tagWeight??gt,r={tagMap:new Map,tags:[]},i=e.hooks?._hooks||{};yt(e,i);for(let t of e.entries.values())t._pending!==void 0&&(t.input=t._pending,delete t._pending,delete t._tags,delete t._precomputedTags);let a;(i[`entries:resolve`]?.length||i[`entries:normalize`]?.length)&&(a=[...e.entries.values()],i[`entries:resolve`]?.length&&N(e,`entries:resolve`,{entries:a,...r})),yt(e,i);for(let t of a||e.entries.values()){let a=t._tags;if(!a)if(t._precomputedTags&&n===e.resolvedOptions._tagWeight&&!i[`entries:normalize`]?.length&&!i[`entries:resolve`]?.length&&(!t.options||_t(t.options)))a=t._precomputedTags;else{if(a=ft(t.input,e.resolvedOptions.propResolvers||[]),t.options&&!_t(t.options))for(let e of a)Object.assign(e,t.options);if(i[`entries:normalize`]?.length){let n={tags:a,entry:t};N(e,`entries:normalize`,n),a=n.tags}for(let e=0;e<a.length;e++){let r=a[e];r._w=n(r),r._p=(t._i<<10)+e,r._d=rt(r),r._d||(r._h=it(r))}t._tags=a}r.tags.push(...a)}for(let e in i)if(i[e]?.length&&vt.test(e)){bt(r.tags);break}let o=St(r);return Ct(r,e),xt(r,o),N(e,`tags:beforeResolve`,r),N(e,`tags:resolve`,r),N(e,`tags:afterResolve`,r),wt(r.tags)}var Et=`usehead`;function Dt(){if(_()){let e=t(Et);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function Ot(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Et,e)}}.install}var kt=Object.assign((e,t)=>b(t)?g(t):t,{_static:!0});function At(e,t={}){let n=t.head||Dt();return n.ssr?n.push(e||{},t):jt(n,e,t)}function jt(e,t,n={}){let o=C();if(o&&!o.active)return{patch(){},dispose(){},_i:-1};let c=f(!1);if(n.onRendered&&o){let e=n.onRendered;n={...n,onRendered:t=>o.run(()=>e(t))}}let l;return u(()=>{let r=c.value?{}:at(t,kt);l?l.patch(r):l=e.push(r,n)}),r()&&(i(()=>{l.dispose()}),a(()=>{c.value=!0}),s(()=>{c.value=!1})),l}function Mt(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function Nt(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>Mt(i,e),push(e,t){let a=t?._index??i._entryCount++,o=t?{...t}:{};delete o.head,delete o.onRendered,delete o._index;let s={_i:a,input:e,options:o};return r.set(a,s),{_i:a,dispose(){r.delete(a)},patch(e){n?(s.input=e,delete s._tags):s._pending=e,r.has(a)||r.set(a,s)}}}};return t.init?.forEach(e=>e&&i.push(e)),i}var Pt=Object.assign({}),Ft=Object.assign({}),It=[Object.values(Pt)[0],Object.values(Ft)[0]].filter(Boolean),Lt=_e(),Rt=ye(`slidev-color-schema`,`auto`),zt=m(()=>A.colorSchema!==`auto`),Bt=m({get(){return zt.value?A.colorSchema===`dark`:Rt.value===`auto`?Lt.value:Rt.value===`dark`},set(e){zt.value||(Rt.value=e===Lt.value?`auto`:e?`dark`:`light`)}}),Vt=me(Bt);pe&&o(Bt,e=>{let t=window.document.createElement(`style`);t.appendChild(document.createTextNode(`*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`)),window.document.head.appendChild(t);let n=document.querySelector(`html`);n.classList.toggle(`dark`,e),n.classList.toggle(`light`,!e),window.getComputedStyle(t).opacity,document.head.removeChild(t)},{immediate:!0});function Ht(){let{isPrintMode:e}=ce();we(m(()=>e.value?`
3
- @page {
4
- size: ${ee.value}px ${re.value}px;
5
- margin: 0px;
6
- }
7
-
8
- * {
9
- transition: none !important;
10
- transition-duration: 0s !important;
11
- }`:``))}var Ut=Symbol.for(`yaml.alias`),Wt=Symbol.for(`yaml.document`),P=Symbol.for(`yaml.map`),Gt=Symbol.for(`yaml.pair`),Kt=Symbol.for(`yaml.scalar`),qt=Symbol.for(`yaml.seq`),F=Symbol.for(`yaml.node.type`),Jt=e=>!!e&&typeof e==`object`&&e[F]===Ut,Yt=e=>!!e&&typeof e==`object`&&e[F]===Wt,Xt=e=>!!e&&typeof e==`object`&&e[F]===P,I=e=>!!e&&typeof e==`object`&&e[F]===Gt,L=e=>!!e&&typeof e==`object`&&e[F]===Kt,Zt=e=>!!e&&typeof e==`object`&&e[F]===qt;function R(e){if(e&&typeof e==`object`)switch(e[F]){case P:case qt:return!0}return!1}function z(e){if(e&&typeof e==`object`)switch(e[F]){case Ut:case P:case Kt:case qt:return!0}return!1}var Qt=e=>(L(e)||R(e))&&!!e.anchor,B=Symbol(`break visit`),$t=Symbol(`skip children`),V=Symbol(`remove node`);function en(e,t){let n=an(t);Yt(e)?tn(null,e.contents,n,Object.freeze([e]))===V&&(e.contents=null):tn(null,e,n,Object.freeze([]))}en.BREAK=B,en.SKIP=$t,en.REMOVE=V;function tn(e,t,n,r){let i=on(e,t,n,r);if(z(i)||I(i))return sn(e,r,i),tn(e,i,n,r);if(typeof i!=`symbol`){if(R(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let i=tn(e,t.items[e],n,r);if(typeof i==`number`)e=i-1;else if(i===B)return B;else i===V&&(t.items.splice(e,1),--e)}}else if(I(t)){r=Object.freeze(r.concat(t));let e=tn(`key`,t.key,n,r);if(e===B)return B;e===V&&(t.key=null);let i=tn(`value`,t.value,n,r);if(i===B)return B;i===V&&(t.value=null)}}return i}async function nn(e,t){let n=an(t);Yt(e)?await rn(null,e.contents,n,Object.freeze([e]))===V&&(e.contents=null):await rn(null,e,n,Object.freeze([]))}nn.BREAK=B,nn.SKIP=$t,nn.REMOVE=V;async function rn(e,t,n,r){let i=await on(e,t,n,r);if(z(i)||I(i))return sn(e,r,i),rn(e,i,n,r);if(typeof i!=`symbol`){if(R(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let i=await rn(e,t.items[e],n,r);if(typeof i==`number`)e=i-1;else if(i===B)return B;else i===V&&(t.items.splice(e,1),--e)}}else if(I(t)){r=Object.freeze(r.concat(t));let e=await rn(`key`,t.key,n,r);if(e===B)return B;e===V&&(t.key=null);let i=await rn(`value`,t.value,n,r);if(i===B)return B;i===V&&(t.value=null)}}return i}function an(e){return typeof e==`object`&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function on(e,t,n,r){if(typeof n==`function`)return n(e,t,r);if(Xt(t))return n.Map?.(e,t,r);if(Zt(t))return n.Seq?.(e,t,r);if(I(t))return n.Pair?.(e,t,r);if(L(t))return n.Scalar?.(e,t,r);if(Jt(t))return n.Alias?.(e,t,r)}function sn(e,t,n){let r=t[t.length-1];if(R(r))r.items[e]=n;else if(I(r))e===`key`?r.key=n:r.value=n;else if(Yt(r))r.contents=n;else{let e=Jt(r)?`alias`:`scalar`;throw Error(`Cannot replace node with ${e} parent`)}}var cn={"!":`%21`,",":`%2C`,"[":`%5B`,"]":`%5D`,"{":`%7B`,"}":`%7D`},ln=e=>e.replace(/[!,[\]{}]/g,e=>cn[e]),un=class e{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,t),this.tags=Object.assign({},e.defaultTags,n)}clone(){let t=new e(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){let t=new e(this.yaml,this.tags);switch(this.yaml.version){case`1.1`:this.atNextDocument=!0;break;case`1.2`:this.atNextDocument=!1,this.yaml={explicit:e.defaultYaml.explicit,version:`1.2`},this.tags=Object.assign({},e.defaultTags);break}return t}add(t,n){this.atNextDocument&&=(this.yaml={explicit:e.defaultYaml.explicit,version:`1.1`},this.tags=Object.assign({},e.defaultTags),!1);let r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case`%TAG`:{if(r.length!==2&&(n(0,`%TAG directive should contain exactly two parts`),r.length<2))return!1;let[e,t]=r;return this.tags[e]=t,!0}case`%YAML`:{if(this.yaml.explicit=!0,r.length!==1)return n(0,`%YAML directive should contain exactly one part`),!1;let[e]=r;if(e===`1.1`||e===`1.2`)return this.yaml.version=e,!0;{let t=/^\d+\.\d+$/.test(e);return n(6,`Unsupported YAML version ${e}`,t),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e===`!`)return`!`;if(e[0]!==`!`)return t(`Not a valid tag: ${e}`),null;if(e[1]===`<`){let n=e.slice(2,-1);return n===`!`||n===`!!`?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==`>`&&t(`Verbatim tags must end with a >`),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let i=this.tags[n];if(i)try{return i+decodeURIComponent(r)}catch(e){return t(String(e)),null}return n===`!`?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+ln(e.substring(n.length));return e[0]===`!`?e:`!<${e}>`}toString(e){let t=this.yaml.explicit?[`%YAML ${this.yaml.version||`1.2`}`]:[],n=Object.entries(this.tags),r;if(e&&n.length>0&&z(e.contents)){let t={};en(e.contents,(e,n)=>{z(n)&&n.tag&&(t[n.tag]=!0)}),r=Object.keys(t)}else r=[];for(let[i,a]of n)i===`!!`&&a===`tag:yaml.org,2002:`||(!e||r.some(e=>e.startsWith(a)))&&t.push(`%TAG ${i} ${a}`);return t.join(`
12
- `)}};un.defaultYaml={explicit:!1,version:`1.2`},un.defaultTags={"!!":`tag:yaml.org,2002:`};function dn(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw Error(t)}return!0}function fn(e,t,n,r){if(r&&typeof r==`object`)if(Array.isArray(r))for(let t=0,n=r.length;t<n;++t){let n=r[t],i=fn(e,r,String(t),n);i===void 0?delete r[t]:i!==n&&(r[t]=i)}else if(r instanceof Map)for(let t of Array.from(r.keys())){let n=r.get(t),i=fn(e,r,t,n);i===void 0?r.delete(t):i!==n&&r.set(t,i)}else if(r instanceof Set)for(let t of Array.from(r)){let n=fn(e,r,t,t);n===void 0?r.delete(t):n!==t&&(r.delete(t),r.add(n))}else for(let[t,n]of Object.entries(r)){let i=fn(e,r,t,n);i===void 0?delete r[t]:i!==n&&(r[t]=i)}return e.call(t,n,r)}function H(e,t,n){if(Array.isArray(e))return e.map((e,t)=>H(e,String(t),n));if(e&&typeof e.toJSON==`function`){if(!n||!Qt(e))return e.toJSON(t,n);let r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};let i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return typeof e==`bigint`&&!n?.keep?Number(e):e}var pn=class{constructor(e){Object.defineProperty(this,F,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:i}={}){if(!Yt(e))throw TypeError(`A document argument is required`);let a={anchors:new Map,doc:e,keep:!0,mapAsMap:t===!0,mapKeyWarned:!1,maxAliasCount:typeof n==`number`?n:100},o=H(this,``,a);if(typeof r==`function`)for(let{count:e,res:t}of a.anchors.values())r(t,e);return typeof i==`function`?fn(i,{"":o},``,o):o}},mn=class extends pn{constructor(e){super(Ut),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error(`Alias nodes cannot have tags`)}})}resolve(e,t){if(t?.maxAliasCount===0)throw ReferenceError(`Alias resolution is disabled`);let n;t?.aliasResolveCache?n=t.aliasResolveCache:(n=[],en(e,{Node:(e,t)=>{(Jt(t)||Qt(t))&&n.push(t)}}),t&&(t.aliasResolveCache=n));let r;for(let e of n){if(e===this)break;e.anchor===this.source&&(r=e)}return r}toJSON(e,t){if(!t)return{source:this.source};let{anchors:n,doc:r,maxAliasCount:i}=t,a=this.resolve(r,t);if(!a){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw ReferenceError(e)}let o=n.get(a);if(o||=(H(a,null,t),n.get(a)),o?.res===void 0)throw ReferenceError(`This should not happen: Alias anchor was not resolved?`);if(i>=0&&(o.count+=1,o.aliasCount===0&&(o.aliasCount=hn(r,a,n)),o.count*o.aliasCount>i))throw ReferenceError(`Excessive alias count indicates a resource exhaustion attack`);return o.res}toString(e,t,n){let r=`*${this.source}`;if(e){if(dn(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw Error(e)}if(e.implicitKey)return`${r} `}return r}};function hn(e,t,n){if(Jt(t)){let r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(R(t)){let r=0;for(let i of t.items){let t=hn(e,i,n);t>r&&(r=t)}return r}else if(I(t)){let r=hn(e,t.key,n),i=hn(e,t.value,n);return Math.max(r,i)}return 1}var gn=e=>!e||typeof e!=`function`&&typeof e!=`object`,U=class extends pn{constructor(e){super(Kt),this.value=e}toJSON(e,t){return t?.keep?this.value:H(this.value,e,t)}toString(){return String(this.value)}};U.BLOCK_FOLDED=`BLOCK_FOLDED`,U.BLOCK_LITERAL=`BLOCK_LITERAL`,U.PLAIN=`PLAIN`,U.QUOTE_DOUBLE=`QUOTE_DOUBLE`,U.QUOTE_SINGLE=`QUOTE_SINGLE`;var _n=`tag:yaml.org,2002:`;function vn(e,t,n){if(t){let e=n.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return n.find(t=>t.identify?.(e)&&!t.format)}function yn(e,t,n){if(Yt(e)&&(e=e.contents),z(e))return e;if(I(e)){let t=n.schema[P].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<`u`&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:r,onAnchor:i,onTagObj:a,schema:o,sourceObjects:s}=n,c;if(r&&e&&typeof e==`object`){if(c=s.get(e),c)return c.anchor??=i(e),new mn(c.anchor);c={anchor:null,node:null},s.set(e,c)}t?.startsWith(`!!`)&&(t=_n+t.slice(2));let l=vn(e,t,o.tags);if(!l){if(e&&typeof e.toJSON==`function`&&(e=e.toJSON()),!e||typeof e!=`object`){let t=new U(e);return c&&(c.node=t),t}l=e instanceof Map?o[P]:Symbol.iterator in Object(e)?o[qt]:o[P]}a&&(a(l),delete n.onTagObj);let u=l?.createNode?l.createNode(n.schema,e,n):typeof l?.nodeClass?.from==`function`?l.nodeClass.from(n.schema,e,n):new U(e);return t?u.tag=t:l.default||(u.tag=l.tag),c&&(c.node=u),u}function bn(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){let n=t[e];if(typeof n==`number`&&Number.isInteger(n)&&n>=0){let e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return yn(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error(`This should not happen, please report a bug.`)},schema:e,sourceObjects:new Map})}var xn=e=>e==null||typeof e==`object`&&!!e[Symbol.iterator]().next().done,Sn=class extends pn{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>z(t)||I(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(xn(e))this.add(t);else{let[n,...r]=e,i=this.get(n,!0);if(R(i))i.addIn(r,t);else if(i===void 0&&this.schema)this.set(n,bn(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}deleteIn(e){let[t,...n]=e;if(n.length===0)return this.delete(t);let r=this.get(t,!0);if(R(r))return r.deleteIn(n);throw Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...r]=e,i=this.get(n,!0);return r.length===0?!t&&L(i)?i.value:i:R(i)?i.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!I(t))return!1;let n=t.value;return n==null||e&&L(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(n.length===0)return this.has(t);let r=this.get(t,!0);return R(r)?r.hasIn(n):!1}setIn(e,t){let[n,...r]=e;if(r.length===0)this.set(n,t);else{let e=this.get(n,!0);if(R(e))e.setIn(r,t);else if(e===void 0&&this.schema)this.set(n,bn(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}},Cn=e=>e.replace(/^(?!$)(?: $)?/gm,`#`);function wn(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}var Tn=(e,t,n)=>e.endsWith(`
13
- `)?wn(n,t):n.includes(`
14
- `)?`
15
- `+wn(n,t):(e.endsWith(` `)?``:` `)+n,En=`flow`,Dn=`block`,On=`quoted`;function kn(e,t,n=`flow`,{indentAtStart:r,lineWidth:i=80,minContentWidth:a=20,onFold:o,onOverflow:s}={}){if(!i||i<0)return e;i<a&&(a=0);let c=Math.max(1+a,1+i-t.length);if(e.length<=c)return e;let l=[],u={},d=i-t.length;typeof r==`number`&&(r>i-Math.max(2,a)?l.push(0):d=i-r);let f,p,m=!1,h=-1,g=-1,_=-1;n===`block`&&(h=An(e,h,t.length),h!==-1&&(d=h+c));for(let r;r=e[h+=1];){if(n===`quoted`&&r===`\\`){switch(g=h,e[h+1]){case`x`:h+=3;break;case`u`:h+=5;break;case`U`:h+=9;break;default:h+=1}_=h}if(r===`
16
- `)n===`block`&&(h=An(e,h,t.length)),d=h+t.length+c,f=void 0;else{if(r===` `&&p&&p!==` `&&p!==`
17
- `&&p!==` `){let t=e[h+1];t&&t!==` `&&t!==`
18
- `&&t!==` `&&(f=h)}if(h>=d)if(f)l.push(f),d=f+c,f=void 0;else if(n===`quoted`){for(;p===` `||p===` `;)p=r,r=e[h+=1],m=!0;let t=h>_+1?h-2:g-1;if(u[t])return e;l.push(t),u[t]=!0,d=t+c,f=void 0}else m=!0}p=r}if(m&&s&&s(),l.length===0)return e;o&&o();let v=e.slice(0,l[0]);for(let r=0;r<l.length;++r){let i=l[r],a=l[r+1]||e.length;i===0?v=`\n${t}${e.slice(0,a)}`:(n===`quoted`&&u[i]&&(v+=`${e[i]}\\`),v+=`\n${t}${e.slice(i+1,a)}`)}return v}function An(e,t,n){let r=t,i=t+1,a=e[i];for(;a===` `||a===` `;)if(t<i+n)a=e[++t];else{do a=e[++t];while(a&&a!==`
19
- `);r=t,i=t+1,a=e[i]}return r}var jn=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),Mn=e=>/^(%|---|\.\.\.)/m.test(e);function Nn(e,t,n){if(!t||t<0)return!1;let r=t-n,i=e.length;if(i<=r)return!1;for(let t=0,n=0;t<i;++t)if(e[t]===`
20
- `){if(t-n>r)return!0;if(n=t+1,i-n<=r)return!1}return!0}function Pn(e,t){let n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;let{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,a=t.indent||(Mn(e)?` `:``),o=``,s=0;for(let e=0,t=n[e];t;t=n[++e])if(t===` `&&n[e+1]===`\\`&&n[e+2]===`n`&&(o+=n.slice(s,e)+`\\ `,e+=1,s=e,t=`\\`),t===`\\`)switch(n[e+1]){case`u`:{o+=n.slice(s,e);let t=n.substr(e+2,4);switch(t){case`0000`:o+=`\\0`;break;case`0007`:o+=`\\a`;break;case`000b`:o+=`\\v`;break;case`001b`:o+=`\\e`;break;case`0085`:o+=`\\N`;break;case`00a0`:o+=`\\_`;break;case`2028`:o+=`\\L`;break;case`2029`:o+=`\\P`;break;default:t.substr(0,2)===`00`?o+=`\\x`+t.substr(2):o+=n.substr(e,6)}e+=5,s=e+1}break;case`n`:if(r||n[e+2]===`"`||n.length<i)e+=1;else{for(o+=n.slice(s,e)+`
21
-
22
- `;n[e+2]===`\\`&&n[e+3]===`n`&&n[e+4]!==`"`;)o+=`
23
- `,e+=2;o+=a,n[e+2]===` `&&(o+=`\\`),e+=1,s=e+1}break;default:e+=1}return o=s?o+n.slice(s):n,r?o:kn(o,a,On,jn(t,!1))}function Fn(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
24
- `)||/[ \t]\n|\n[ \t]/.test(e))return Pn(e,t);let n=t.indent||(Mn(e)?` `:``),r=`'`+e.replace(/'/g,`''`).replace(/\n+/g,`$&\n${n}`)+`'`;return t.implicitKey?r:kn(r,n,En,jn(t,!1))}function In(e,t){let{singleQuote:n}=t.options,r;if(n===!1)r=Pn;else{let t=e.includes(`"`),i=e.includes(`'`);r=t&&!i?Fn:i&&!t?Pn:n?Fn:Pn}return r(e,t)}var Ln;try{Ln=RegExp(`(^|(?<!
25
- ))
26
- +(?!
27
- |$)`,`g`)}catch{Ln=/\n+(?!\n|$)/g}function Rn({comment:e,type:t,value:n},r,i,a){let{blockQuote:o,commentString:s,lineWidth:c}=r.options;if(!o||/\n[\t ]+$/.test(n))return In(n,r);let l=r.indent||(r.forceBlockIndent||Mn(n)?` `:``),u=o===`literal`?!0:o===`folded`||t===U.BLOCK_FOLDED?!1:t===U.BLOCK_LITERAL||!Nn(n,c,l.length);if(!n)return u?`|
28
- `:`>
29
- `;let d,f;for(f=n.length;f>0;--f){let e=n[f-1];if(e!==`
30
- `&&e!==` `&&e!==` `)break}let p=n.substring(f),m=p.indexOf(`
31
- `);m===-1?d=`-`:n===p||m!==p.length-1?(d=`+`,a&&a()):d=``,p&&=(n=n.slice(0,-p.length),p[p.length-1]===`
32
- `&&(p=p.slice(0,-1)),p.replace(Ln,`$&${l}`));let h=!1,g,_=-1;for(g=0;g<n.length;++g){let e=n[g];if(e===` `)h=!0;else if(e===`
33
- `)_=g;else break}let v=n.substring(0,_<g?_+1:g);v&&=(n=n.substring(v.length),v.replace(/\n+/g,`$&${l}`));let y=(h?l?`2`:`1`:``)+d;if(e&&(y+=` `+s(e.replace(/ ?[\r\n]+/g,` `)),i&&i()),!u){let e=n.replace(/\n+/g,`
34
- $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,`$1$2`).replace(/\n+/g,`$&${l}`),i=!1,a=jn(r,!0);o!==`folded`&&t!==U.BLOCK_FOLDED&&(a.onOverflow=()=>{i=!0});let s=kn(`${v}${e}${p}`,l,Dn,a);if(!i)return`>${y}\n${l}${s}`}return n=n.replace(/\n+/g,`$&${l}`),`|${y}\n${l}${v}${n}${p}`}function zn(e,t,n,r){let{type:i,value:a}=e,{actualString:o,implicitKey:s,indent:c,indentStep:l,inFlow:u}=t;if(s&&a.includes(`
35
- `)||u&&/[[\]{},]/.test(a))return In(a,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a))return s||u||!a.includes(`
36
- `)?In(a,t):Rn(e,t,n,r);if(!s&&!u&&i!==U.PLAIN&&a.includes(`
37
- `))return Rn(e,t,n,r);if(Mn(a)){if(c===``)return t.forceBlockIndent=!0,Rn(e,t,n,r);if(s&&c===l)return In(a,t)}let d=a.replace(/\n+/g,`$&\n${c}`);if(o){let e=e=>e.default&&e.tag!==`tag:yaml.org,2002:str`&&e.test?.test(d),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return In(a,t)}return s?d:kn(d,c,En,jn(t,!1))}function Bn(e,t,n,r){let{implicitKey:i,inFlow:a}=t,o=typeof e.value==`string`?e:Object.assign({},e,{value:String(e.value)}),{type:s}=e;s!==U.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(s=U.QUOTE_DOUBLE);let c=e=>{switch(e){case U.BLOCK_FOLDED:case U.BLOCK_LITERAL:return i||a?In(o.value,t):Rn(o,t,n,r);case U.QUOTE_DOUBLE:return Pn(o.value,t);case U.QUOTE_SINGLE:return Fn(o.value,t);case U.PLAIN:return zn(o,t,n,r);default:return null}},l=c(s);if(l===null){let{defaultKeyType:e,defaultStringType:n}=t.options,r=i&&e||n;if(l=c(r),l===null)throw Error(`Unsupported default string type ${r}`)}return l}function Vn(e,t){let n=Object.assign({blockQuote:!0,commentString:Cn,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,trailingComma:!1,trueStr:`true`,verifyAliasOrder:!0},e.schema.toStringOptions,t),r;switch(n.collectionStyle){case`block`:r=!1;break;case`flow`:r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?` `:``,indent:``,indentStep:typeof n.indent==`number`?` `.repeat(n.indent):` `,inFlow:r,options:n}}function Hn(e,t){if(t.tag){let n=e.filter(e=>e.tag===t.tag);if(n.length>0)return n.find(e=>e.format===t.format)??n[0]}let n,r;if(L(t)){r=t.value;let i=e.filter(e=>e.identify?.(r));if(i.length>1){let e=i.filter(e=>e.test);e.length>0&&(i=e)}n=i.find(e=>e.format===t.format)??i.find(e=>!e.format)}else r=t,n=e.find(e=>e.nodeClass&&r instanceof e.nodeClass);if(!n){let e=r?.constructor?.name??(r===null?`null`:typeof r);throw Error(`Tag not resolved for ${e} value`)}return n}function Un(e,t,{anchors:n,doc:r}){if(!r.directives)return``;let i=[],a=(L(e)||R(e))&&e.anchor;a&&dn(a)&&(n.add(a),i.push(`&${a}`));let o=e.tag??(t.default?null:t.tag);return o&&i.push(r.directives.tagString(o)),i.join(` `)}function Wn(e,t,n,r){if(I(e))return e.toString(t,n,r);if(Jt(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw TypeError(`Cannot stringify circular structure without alias nodes`);t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let i,a=z(e)?e:t.doc.createNode(e,{onTagObj:e=>i=e});i??=Hn(t.doc.schema.tags,a);let o=Un(a,i,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);let s=typeof i.stringify==`function`?i.stringify(a,t,n,r):L(a)?Bn(a,t,n,r):a.toString(t,n,r);return o?L(a)||s[0]===`{`||s[0]===`[`?`${o} ${s}`:`${o}\n${t.indent}${s}`:s}function Gn({key:e,value:t},n,r,i){let{allNullValues:a,doc:o,indent:s,indentStep:c,options:{commentString:l,indentSeq:u,simpleKeys:d}}=n,f=z(e)&&e.comment||null;if(d){if(f)throw Error(`With simple keys, key nodes cannot have comments`);if(R(e)||!z(e)&&typeof e==`object`)throw Error(`With simple keys, collection cannot be used as a key value`)}let p=!d&&(!e||f&&t==null&&!n.inFlow||R(e)||(L(e)?e.type===U.BLOCK_FOLDED||e.type===U.BLOCK_LITERAL:typeof e==`object`));n=Object.assign({},n,{allNullValues:!1,implicitKey:!p&&(d||!a),indent:s+c});let m=!1,h=!1,g=Wn(e,n,()=>m=!0,()=>h=!0);if(!p&&!n.inFlow&&g.length>1024){if(d)throw Error(`With simple keys, single line scalar must not span more than 1024 characters`);p=!0}if(n.inFlow){if(a||t==null)return m&&r&&r(),g===``?`?`:p?`? ${g}`:g}else if(a&&!d||t==null&&p)return g=`? ${g}`,f&&!m?g+=Tn(g,n.indent,l(f)):h&&i&&i(),g;m&&(f=null),p?(f&&(g+=Tn(g,n.indent,l(f))),g=`? ${g}\n${s}:`):(g=`${g}:`,f&&(g+=Tn(g,n.indent,l(f))));let _,v,y;z(t)?(_=!!t.spaceBefore,v=t.commentBefore,y=t.comment):(_=!1,v=null,y=null,t&&typeof t==`object`&&(t=o.createNode(t))),n.implicitKey=!1,!p&&!f&&L(t)&&(n.indentAtStart=g.length+1),h=!1,!u&&c.length>=2&&!n.inFlow&&!p&&Zt(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let b=!1,x=Wn(t,n,()=>b=!0,()=>h=!0),S=` `;if(f||_||v){if(S=_?`
38
- `:``,v){let e=l(v);S+=`\n${wn(e,n.indent)}`}x===``&&!n.inFlow?S===`
39
- `&&y&&(S=`
40
-
41
- `):S+=`\n${n.indent}`}else if(!p&&R(t)){let e=x[0],r=x.indexOf(`
42
- `),i=r!==-1,a=n.inFlow??t.flow??t.items.length===0;if(i||!a){let t=!1;if(i&&(e===`&`||e===`!`)){let n=x.indexOf(` `);e===`&`&&n!==-1&&n<r&&x[n+1]===`!`&&(n=x.indexOf(` `,n+1)),(n===-1||r<n)&&(t=!0)}t||(S=`\n${n.indent}`)}}else(x===``||x[0]===`
43
- `)&&(S=``);return g+=S+x,n.inFlow?b&&r&&r():y&&!b?g+=Tn(g,n.indent,l(y)):h&&i&&i(),g}function Kn(e,t){(e===`debug`||e===`warn`)&&console.warn(t)}var qn=`<<`,Jn={identify:e=>e===qn||typeof e==`symbol`&&e.description===qn,default:`key`,tag:`tag:yaml.org,2002:merge`,test:/^<<$/,resolve:()=>Object.assign(new U(Symbol(qn)),{addToJSMap:Xn}),stringify:()=>qn},Yn=(e,t)=>(Jn.identify(t)||L(t)&&(!t.type||t.type===U.PLAIN)&&Jn.identify(t.value))&&e?.doc.schema.tags.some(e=>e.tag===Jn.tag&&e.default);function Xn(e,t,n){let r=Qn(e,n);if(Zt(r))for(let n of r.items)Zn(e,t,n);else if(Array.isArray(r))for(let n of r)Zn(e,t,n);else Zn(e,t,r)}function Zn(e,t,n){let r=Qn(e,n);if(!Xt(r))throw Error(`Merge sources must be maps or map aliases`);let i=r.toJSON(null,e,Map);for(let[e,n]of i)t instanceof Map?t.has(e)||t.set(e,n):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0});return t}function Qn(e,t){return e&&Jt(t)?t.resolve(e.doc,e):t}function $n(e,t,{key:n,value:r}){if(z(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(Yn(e,n))Xn(e,t,r);else{let i=H(n,``,e);if(t instanceof Map)t.set(i,H(r,i,e));else if(t instanceof Set)t.add(i);else{let a=er(n,i,e),o=H(r,a,e);a in t?Object.defineProperty(t,a,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[a]=o}}return t}function er(e,t,n){if(t===null)return``;if(typeof t!=`object`)return String(t);if(z(e)&&n?.doc){let t=Vn(n.doc,{});t.anchors=new Set;for(let e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+`..."`),Kn(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}function tr(e,t,n){return new nr(yn(e,void 0,n),yn(t,void 0,n))}var nr=class e{constructor(e,t=null){Object.defineProperty(this,F,{value:Gt}),this.key=e,this.value=t}clone(t){let{key:n,value:r}=this;return z(n)&&(n=n.clone(t)),z(r)&&(r=r.clone(t)),new e(n,r)}toJSON(e,t){return $n(t,t?.mapAsMap?new Map:{},this)}toString(e,t,n){return e?.doc?Gn(this,e,t,n):JSON.stringify(this)}};function rr(e,t,n){return(t.inFlow??e.flow?ar:ir)(e,t,n)}function ir({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:a,onChompKeep:o,onComment:s}){let{indent:c,options:{commentString:l}}=n,u=Object.assign({},n,{indent:a,type:null}),d=!1,f=[];for(let e=0;e<t.length;++e){let i=t[e],o=null;if(z(i))!d&&i.spaceBefore&&f.push(``),or(n,f,i.commentBefore,d),i.comment&&(o=i.comment);else if(I(i)){let e=z(i.key)?i.key:null;e&&(!d&&e.spaceBefore&&f.push(``),or(n,f,e.commentBefore,d))}d=!1;let s=Wn(i,u,()=>o=null,()=>d=!0);o&&(s+=Tn(s,a,l(o))),d&&o&&(d=!1),f.push(r+s)}let p;if(f.length===0)p=i.start+i.end;else{p=f[0];for(let e=1;e<f.length;++e){let t=f[e];p+=t?`\n${c}${t}`:`
44
- `}}return e?(p+=`
45
- `+wn(l(e),c),s&&s()):d&&o&&o(),p}function ar({items:e},t,{flowChars:n,itemIndent:r}){let{indent:i,indentStep:a,flowCollectionPadding:o,options:{commentString:s}}=t;r+=a;let c=Object.assign({},t,{indent:r,inFlow:!0,type:null}),l=!1,u=0,d=[];for(let n=0;n<e.length;++n){let i=e[n],a=null;if(z(i))i.spaceBefore&&d.push(``),or(t,d,i.commentBefore,!1),i.comment&&(a=i.comment);else if(I(i)){let e=z(i.key)?i.key:null;e&&(e.spaceBefore&&d.push(``),or(t,d,e.commentBefore,!1),e.comment&&(l=!0));let n=z(i.value)?i.value:null;n?(n.comment&&(a=n.comment),n.commentBefore&&(l=!0)):i.value==null&&e?.comment&&(a=e.comment)}a&&(l=!0);let o=Wn(i,c,()=>a=null);l||=d.length>u||o.includes(`
46
- `),n<e.length-1?o+=`,`:t.options.trailingComma&&(t.options.lineWidth>0&&(l||=d.reduce((e,t)=>e+t.length+2,2)+(o.length+2)>t.options.lineWidth),l&&(o+=`,`)),a&&(o+=Tn(o,r,s(a))),d.push(o),u=d.length}let{start:f,end:p}=n;if(d.length===0)return f+p;if(!l){let e=d.reduce((e,t)=>e+t.length+2,2);l=t.options.lineWidth>0&&e>t.options.lineWidth}if(l){let e=f;for(let t of d)e+=t?`\n${a}${i}${t}`:`
47
- `;return`${e}\n${i}${p}`}else return`${f}${o}${d.join(` `)}${o}${p}`}function or({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,``)),r){let i=wn(t(r),e);n.push(i.trimStart())}}function sr(e,t){let n=L(t)?t.value:t;for(let r of e)if(I(r)&&(r.key===t||r.key===n||L(r.key)&&r.key.value===n))return r}var W=class extends Sn{static get tagName(){return`tag:yaml.org,2002:map`}constructor(e){super(P,e),this.items=[]}static from(e,t,n){let{keepUndefined:r,replacer:i}=n,a=new this(e),o=(e,o)=>{if(typeof i==`function`)o=i.call(t,e,o);else if(Array.isArray(i)&&!i.includes(e))return;(o!==void 0||r)&&a.items.push(tr(e,o,n))};if(t instanceof Map)for(let[e,n]of t)o(e,n);else if(t&&typeof t==`object`)for(let e of Object.keys(t))o(e,t[e]);return typeof e.sortMapEntries==`function`&&a.items.sort(e.sortMapEntries),a}add(e,t){let n;n=I(e)?e:!e||typeof e!=`object`||!(`key`in e)?new nr(e,e?.value):new nr(e.key,e.value);let r=sr(this.items,n.key),i=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${n.key} already set`);L(r.value)&&gn(n.value)?r.value.value=n.value:r.value=n.value}else if(i){let e=this.items.findIndex(e=>i(n,e)<0);e===-1?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){let t=sr(this.items,e);return t?this.items.splice(this.items.indexOf(t),1).length>0:!1}get(e,t){let n=sr(this.items,e)?.value;return(!t&&L(n)?n.value:n)??void 0}has(e){return!!sr(this.items,e)}set(e,t){this.add(new nr(e,t),!0)}toJSON(e,t,n){let r=n?new n:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(let e of this.items)$n(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(let e of this.items)if(!I(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),rr(this,e,{blockItemPrefix:``,flowChars:{start:`{`,end:`}`},itemIndent:e.indent||``,onChompKeep:n,onComment:t})}},cr={collection:`map`,default:!0,nodeClass:W,tag:`tag:yaml.org,2002:map`,resolve(e,t){return Xt(e)||t(`Expected a mapping for this tag`),e},createNode:(e,t,n)=>W.from(e,t,n)},lr=class extends Sn{static get tagName(){return`tag:yaml.org,2002:seq`}constructor(e){super(qt,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=ur(e);return typeof t==`number`&&this.items.splice(t,1).length>0}get(e,t){let n=ur(e);if(typeof n!=`number`)return;let r=this.items[n];return!t&&L(r)?r.value:r}has(e){let t=ur(e);return typeof t==`number`&&t<this.items.length}set(e,t){let n=ur(e);if(typeof n!=`number`)throw Error(`Expected a valid index, not ${e}.`);let r=this.items[n];L(r)&&gn(t)?r.value=t:this.items[n]=t}toJSON(e,t){let n=[];t?.onCreate&&t.onCreate(n);let r=0;for(let e of this.items)n.push(H(e,String(r++),t));return n}toString(e,t,n){return e?rr(this,e,{blockItemPrefix:`- `,flowChars:{start:`[`,end:`]`},itemIndent:(e.indent||``)+` `,onChompKeep:n,onComment:t}):JSON.stringify(this)}static from(e,t,n){let{replacer:r}=n,i=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let a of t){if(typeof r==`function`){let n=t instanceof Set?a:String(e++);a=r.call(t,n,a)}i.items.push(yn(a,void 0,n))}}return i}};function ur(e){let t=L(e)?e.value:e;return t&&typeof t==`string`&&(t=Number(t)),typeof t==`number`&&Number.isInteger(t)&&t>=0?t:null}var dr={collection:`seq`,default:!0,nodeClass:lr,tag:`tag:yaml.org,2002:seq`,resolve(e,t){return Zt(e)||t(`Expected a sequence for this tag`),e},createNode:(e,t,n)=>lr.from(e,t,n)};function fr(e){return typeof e==`bigint`||Number.isInteger(e)}var pr=({value:e})=>JSON.stringify(e),mr=[{identify:e=>typeof e==`string`,default:!0,tag:`tag:yaml.org,2002:str`,resolve:e=>e,stringify:pr},{identify:e=>e==null,createNode:()=>new U(null),default:!0,tag:`tag:yaml.org,2002:null`,test:/^null$/,resolve:()=>null,stringify:pr},{identify:e=>typeof e==`boolean`,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^true$|^false$/,resolve:e=>e===`true`,stringify:pr},{identify:fr,default:!0,tag:`tag:yaml.org,2002:int`,test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>fr(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:pr}];[cr,dr].concat(mr,{default:!0,tag:``,test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}});function hr(e,t,n){let{replacer:r}=n,i=new lr(e);i.tag=`tag:yaml.org,2002:pairs`;let a=0;if(t&&Symbol.iterator in Object(t))for(let e of t){typeof r==`function`&&(e=r.call(t,String(a++),e));let o,s;if(Array.isArray(e))if(e.length===2)o=e[0],s=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`);else if(e&&e instanceof Object){let t=Object.keys(e);if(t.length===1)o=t[0],s=e[o];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else o=e;i.items.push(tr(o,s,n))}return i}var gr=class e extends lr{constructor(){super(),this.add=W.prototype.add.bind(this),this.delete=W.prototype.delete.bind(this),this.get=W.prototype.get.bind(this),this.has=W.prototype.has.bind(this),this.set=W.prototype.set.bind(this),this.tag=e.tag}toJSON(e,t){if(!t)return super.toJSON(e);let n=new Map;t?.onCreate&&t.onCreate(n);for(let e of this.items){let r,i;if(I(e)?(r=H(e.key,``,t),i=H(e.value,r,t)):r=H(e,``,t),n.has(r))throw Error(`Ordered maps must not include duplicate keys`);n.set(r,i)}return n}static from(e,t,n){let r=hr(e,t,n),i=new this;return i.items=r.items,i}};gr.tag=`tag:yaml.org,2002:omap`;var _r=class e extends W{constructor(t){super(t),this.tag=e.tag}add(e){let t;t=I(e)?e:e&&typeof e==`object`&&`key`in e&&`value`in e&&e.value===null?new nr(e.key,null):new nr(e,null),sr(this.items,t.key)||this.items.push(t)}get(e,t){let n=sr(this.items,e);return!t&&I(n)?L(n.key)?n.key.value:n.key:n}set(e,t){if(typeof t!=`boolean`)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let n=sr(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new nr(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw Error(`Set items must all have null values`)}static from(e,t,n){let{replacer:r}=n,i=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)typeof r==`function`&&(e=r.call(t,e,e)),i.items.push(tr(e,null,n));return i}};_r.tag=`tag:yaml.org,2002:set`;var vr=Symbol(`break visit`),yr=Symbol(`skip children`),br=Symbol(`remove item`);function xr(e,t){`type`in e&&e.type===`document`&&(e={start:e.start,value:e.value}),Sr(Object.freeze([]),e,t)}xr.BREAK=vr,xr.SKIP=yr,xr.REMOVE=br,xr.itemAtPath=(e,t)=>{let n=e;for(let[e,r]of t){let t=n?.[e];if(t&&`items`in t)n=t.items[r];else return}return n},xr.parentCollection=(e,t)=>{let n=xr.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],i=n?.[r];if(i&&`items`in i)return i;throw Error(`Parent collection not found`)};function Sr(e,t,n){let r=n(t,e);if(typeof r==`symbol`)return r;for(let i of[`key`,`value`]){let a=t[i];if(a&&`items`in a){for(let t=0;t<a.items.length;++t){let r=Sr(Object.freeze(e.concat([[i,t]])),a.items[t],n);if(typeof r==`number`)t=r-1;else if(r===vr)return vr;else r===br&&(a.items.splice(t,1),--t)}typeof r==`function`&&i===`key`&&(r=r(t,e))}}return typeof r==`function`?r(t,e):r}function Cr(e=5){let t=[];for(let n=0;n<e;n++)t.push(`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz`.charAt(Math.floor(Math.random()*52)));return t.join(``)}var G=v({}),wr=[],Tr=[];M(G,`$syncUp`,!0),M(G,`$syncDown`,!0),M(G,`$paused`,!1),M(G,`$onSet`,e=>wr.push(e)),M(G,`$onPatch`,e=>Tr.push(e)),ze(),M(G,`$patch`,async()=>!1);var{init:Er,onPatch:Dr,onUpdate:Or,patch:kr,state:Ar}=Be(G,G,!1),jr=v({page:0,clicks:0,timer:{status:`stopped`,slides:{},startedAt:0,pausedAt:0}}),Mr=[],Nr=[];M(jr,`$syncUp`,!0),M(jr,`$syncDown`,!0),M(jr,`$paused`,!1),M(jr,`$onSet`,e=>Mr.push(e)),M(jr,`$onPatch`,e=>Nr.push(e)),ze(),M(jr,`$patch`,async()=>!1);var{init:Pr,onPatch:Fr,onUpdate:Ir,patch:Lr,state:Rr}=Be(jr,{page:1,clicks:0,clicksTotal:0,timer:{status:`stopped`,slides:{},startedAt:0,pausedAt:0}});function zr(){let e=r().appContext.app,t=v({nav:ce(),configs:A,themeConfigs:m(()=>A.themeConfig)});e.provide(Me,f(`none`)),e.provide(Re,t),e.provide(ke,m(()=>t.nav.currentSlideNo)),e.provide(Oe,p(j()));for(let e of It)e();let{clicksContext:n,currentSlideNo:i,hasPrimarySlide:a,isNotesViewer:s,isPresenter:c,isPrintMode:l}=ce();At({title:O,htmlAttrs:A.htmlAttrs}),Ht(),Pr(`${O} - shared`),Er(`${O} - drawings`);let u=`${location.origin}_${Cr()}`,d=m(()=>c.value?`presenter`:`viewer`);function h(){(c.value?ne.value.presenterSend:ne.value.viewerSend)&&(s.value||l.value||!c.value&&!Le.includes(location.host.split(`:`)[0])||(Lr(`page`,+i.value),Lr(`clicks`,n.value.current),Lr(`clicksTotal`,n.value.total),Lr(`lastUpdate`,{id:u,type:d.value,time:Date.now()})))}let g=ge();g.afterEach(h),o(n,h),Fr(e=>{(c.value?ne.value.presenterReceive:ne.value.viewerReceive)&&(!a.value||l.value||e.lastUpdate?.type!==d.value&&(+e.page==+i.value&&+n.value.current==+e.clicks||(se.value=!1,g.replace({path:ie(e.page,c.value),query:{...g.currentRoute.value.query,clicks:e.clicks||0}}))))})}var Br=c({__name:`App`,setup(e){return zr(),u(()=>{for(let[e,t]of Object.entries(ue.value))document.body.style.setProperty(e,t.toString())}),(e,t)=>{let r=l(`RouterView`);return T(),d(y,null,[n(r),w(`v-if`,!0)],64)}}});function Vr(e,t,n){let r=e.push,i=e;return i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=e=>Mt(i,e),i.render=()=>n(i),i.invalidate=()=>{for(let e of i.entries.values())delete e._tags;i.dirty=!0,t.callHook(`entries:updated`,i)},i.push=(n,a)=>{let o=a?.onRendered?t.hook(`dom:rendered`,a.onRendered):void 0,s=r(n,a),c=e.entries.get(s._i);return c&&(c._o=n),i.dirty=!0,t.callHook(`entries:updated`,i),{_i:s._i,patch(e){s.patch(e),i.dirty=!0,t.callHook(`entries:updated`,i)},dispose(){o?.(),e.entries.has(s._i)&&(s.dispose(),i.invalidate())}}},t.hook(`entries:updated`,()=>{i.render()}),i}var Hr=/\s+/;function Ur(e={}){return t=>qr(t,e)}function Wr(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function Gr(e){for(let t in e._s)e._s[t]();for(let t in e._p)e._p[t]();e._s={},e._p={},e._e.clear(),e._l.clear()}function Kr(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let e of[...t.body.children,...t.head.children]){let t=e.tagName.toLowerCase();if(!Ue.has(t))continue;let r={innerHTML:e.innerHTML};for(let t of e.getAttributeNames())r[t]=e.getAttribute(t);let i=ct({tag:t,props:{}},r);i.key=e.getAttribute(`data-hid`)||void 0;let a=rt(i)||it(i),o=a,s=1;for(;n._e.has(o);)o=`${a}:${s++}`;n._e.set(o,e)}for(let t of e.entries.values())if(t._o!==void 0){let e=t._o;for(let t of[`bodyAttrs`,`htmlAttrs`]){let r=e[t]?.class;if(typeof r==`string`){let e=n._e.get(t);for(let i of r.split(Hr))i&&(n._p[`${t}:attr:class:${i}`]=()=>e.classList.remove(i))}}}return n}function qr(e,t={}){let n=t.document||e.resolvedOptions.document,r=e._dom,i=!!r&&r._d!==n;if(!n||!i&&!e.dirty&&!Wr(e)||e._du)return!1;let a=n.defaultView;e._du=!0;let o=!1;try{let r=function(e,t,n,r){let i=`${e}:${t}`;d._s[i]=!r&&d._p[i]||n,delete d._p[i]},i=function(e){let t=d._p[e];return delete d._p[e],t},s=function(e,t,n,i,a,o){let s=`event:${t}`,c=`${e}:${s}`,l=d._l.get(c);if(l&&l[0]===o&&l[1]===n&&l[2]===i){r(e,s,l[4]);return}l?.[4]();let u=`data-${t}`,f=(e=>i.call(a,e)),p=()=>{o.removeEventListener(n,f),a.getAttribute(u)===``&&a.removeAttribute(u),d._l.get(c)?.[3]===f&&d._l.delete(c)};o.addEventListener(n,f),d._l.set(c,[o,n,i,f,p]),a.setAttribute(u,``),r(e,s,p,!0)},c=function({id:e,$el:t,tag:n}){let o=n.tag.endsWith(`Attrs`);if(d._e.set(e,t),!o){let a=n.textContent;a!=null&&a!==``&&(a!==t.textContent&&(t.textContent=a),r(e,`text`,()=>{t.textContent===a&&(t.textContent=``)},!0));let o=n.innerHTML;o!=null&&o!==``&&(o!==t.innerHTML&&(t.innerHTML=o),r(e,`html`,()=>{t.innerHTML===o&&(t.innerHTML=``)},!0));let s=`${e}:el`;d._s[s]=i(s)||(()=>{t?.remove(),d._e.delete(e)})}for(let r in n.props){let o=n.props[r];if(r[0]===`o`&&r[1]===`n`&&typeof o==`function`){let i=r.slice(2);t?.dataset?.[`${r}fired`]&&o.call(t,new((a?.Event)||Event)(i)),s(e,r,i,o,t,n.tag===`bodyAttrs`&&a?a:t);continue}let c=`${e}:attr:${r}`;if(r===`class`&&o)for(let e of o){let n=`${c}:${e}`;d._s[n]=i(n)||(()=>t.classList.remove(e)),t.classList.contains(e)||t.classList.add(e)}else if(r===`style`&&o)for(let[e,n]of o){let r=`${c}:${e}`;d._s[r]=i(r)||(()=>t.style.removeProperty(e)),t.style.setProperty(e,n)}else o!==!1&&o!==null&&(t.getAttribute(r)!==o&&t.setAttribute(r,o===!0?``:String(o)),d._s[c]=i(c)||(()=>t.removeAttribute(r)))}},l={shouldRender:!0,tags:[]};if(N(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=e._dom;u?._d!==n&&(u&&Gr(u),u=void 0),u?u._p=u._s:u=Kr(e,n),u._s={};let d=u,f=[],p={};e.dirty=!1;let m=Tt(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),h=[],g={};for(let e of m){let t=g[e._d]||0,i=(t?`${e._d}:${t}`:e._d)||e._h,a={tag:e,id:i,shouldRender:!0};if(e.tag===`meta`&&e._d&&nt(e._d)&&(g[e._d]=t+1),h.push(a),e.tag===`title`){n.title=e.textContent,r(`title`,``,()=>n.title=d._t);continue}a.$el=d._e.get(i),a.$el?c(a):Ue.has(e.tag)&&f.push(a)}for(let e of f)e.$el=n.createElement(e.tag.tag),c(e),(p[e.tag.tagPosition||`head`]??=n.createDocumentFragment()).appendChild(e.$el);p.head&&n.head.appendChild(p.head),p.bodyOpen&&n.body.insertBefore(p.bodyOpen,n.body.firstChild),p.bodyClose&&n.body.appendChild(p.bodyClose);for(let e in d._p)d._p[e]();e._dom=d,o=!0,N(e,`dom:rendered`,{renders:h})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return o&&(e.dirty||Wr(e))&&qr(e,t),o}var Jr=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(Ye[e.tagPriority]||0);function Yr(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=e.render||Ur({document:e.document}),n=Vr(Nt(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:Jr,init:[]}),$e(e.hooks),t);return e.plugins?.forEach(e=>n.use(e)),e.init?.forEach(e=>e&&n.push(e)),n}function Xr(e={}){let t=Ur(),n,r=0;return n=Yr({render:()=>{let e=++r;setTimeout(()=>{e===r&&t(n)},0)},...e}),n.install=Ot(n),n}var Zr=Object.assign({}),Qr=Object.assign({}),$r=[Object.values(Zr)[0],Object.values(Qr)[0]].filter(Boolean);function ei(e,t=``){let n=[`slidev-page`,t],r=e?.meta?.slide?.no;return r!=null&&n.push(`slidev-page-${r}`),n.filter(Boolean).join(` `)}async function ti(){let{saveAs:t}=await E(async()=>{let{saveAs:t}=await import(`./modules/file-saver-DJvf_BAX.js`).then(t=>e(t.t(),1));return{saveAs:t}},__vite__mapDeps([0,1]),import.meta.url);t(typeof A.download==`string`?A.download:A.exportFilename?`${A.exportFilename}.pdf`:`./slidev-exported.pdf`,`${A.title}.pdf`)}function ni(e,t,n){return(e.instance?.$).provides[t]??n}var ri=/[\s,]+/;function ii(e,t){let n=t.map(e=>`${Fe}${e}`);e.classList.forEach(t=>{t.startsWith(`slidev-vclick-anim-`)&&!n.includes(t)&&e.classList.remove(t)}),n.forEach(t=>e.classList.add(t))}function ai(){return{install(e){e.directive(`click`,{name:`v-click`,mounted(e,t){let n=si(e,t,t.value);n!=null&&(e.classList.toggle(De,!0),e.dataset.slidevClicksStart=String(n.start),Number.isFinite(n.end)&&(e.dataset.slidevClicksEnd=String(n.end)),e.watchStopHandle=u(()=>{let t=n.isActive.value,r=n.isCurrent.value,i=t&&!r;n.flagHide?(e.classList.toggle(Ee,t),e.classList.toggle(Ne,t)):e.classList.toggle(Ee,!t),ii(e,n.flagAnimations.value),e.classList.toggle(je,r),e.classList.toggle(Ie,i)}))},unmounted:ci}),e.directive(`after`,{name:`v-after`,mounted(e,t){let n=si(e,t,`+0`);n!=null&&(e.classList.toggle(De,!0),e.watchStopHandle=u(()=>{let t=n.isActive.value,r=n.isCurrent.value,i=t&&!r;n.flagHide?(e.classList.toggle(Ee,t),e.classList.toggle(Ne,t)):e.classList.toggle(Ee,!t),ii(e,n.flagAnimations.value),e.classList.toggle(je,r),e.classList.toggle(Ie,i)}))},unmounted:ci}),e.directive(`click-hide`,{name:`v-click-hide`,mounted(e,t){let n=si(e,t,t.value,!0);n!=null&&(e.classList.toggle(De,!0),e.watchStopHandle=u(()=>{let t=n.isActive.value,r=n.isCurrent.value,i=t&&!r;e.classList.toggle(Ee,t),e.classList.toggle(Ne,t),ii(e,n.flagAnimations.value),e.classList.toggle(je,r),e.classList.toggle(Ie,i)}))},unmounted:ci})}}}var oi=new Map;function si(e,t,n,r=!1){let i=ni(t,Oe)?.value,a=ni(t,Pe);if(!e||!i)return null;let o=r||t.modifiers.hide!==!1&&t.modifiers.hide!=null,s=Object.keys({...t.modifiers}).filter(e=>e!==`hide`),c=m(()=>{if(s.length>0)return s;let e=a?.clickAnimation||A.clickAnimation;return e?e.split(ri).filter(Boolean):[]}),l=i.calculate(n);if(!l)return null;i.register(e,l);let u=m(()=>o?!l.isActive.value:l.isActive.value),d=m(()=>u.value?`shown`:Number.isFinite(l.end)?i.current<l.start?`before`:`after`:o?`after`:`before`),f={...l,isShown:u,visibilityState:d,flagHide:o,flagAnimations:c};return oi.set(e,f),f}function ci(e,t){e.classList.toggle(De,!1),(ni(t,Oe)?.value)?.unregister(e),e.watchStopHandle?.()}function li(e=t(Ae,f())){let n=ve(e),r=o([D,ae,de,oe,k,fe.width,fe.height],()=>{setTimeout(n.update,300)},{flush:`post`,immediate:!0});return{...n,stop:r}}function ui(e){return{info:f(te(e)?.meta.slide??null),update:async()=>{}}}var di={};function fi(e){function t(e){return di[e]??=ui(e)}return{info:m({get(){return t(h(e)).info.value},set(n){t(h(e)).info.value=n}}),update:async(n,r)=>{let i=t(r??h(e)),a=await i.update(n);return a&&(i.info.value=a),a}}}function pi(e){return()=>{}}function mi(e,t,n,r=!1){function i(t){return e?ni(e,t):xe(t)}let a=i(Me),s=i(`$$slidev-fontmatter`)??{},c=i(ke),l=m(()=>pi(c.value)),u=i(`$$slidev-slide-scale`)??f(1),d=i(`$$slidev-slide-zoom`)??f(1),{left:p,top:h,stop:g}=li(i(`$$slidev-slide-element`)??f()),{isPrintMode:_}=ce(),v=[`slide`,`presenter`].includes(a.value)&&!_.value,y=e?`directive`:`prop`,b=Cr(),x;if(Array.isArray(t)?x=t:typeof t==`string`&&t.includes(`,`)?x=t.split(`,`).map(Number):t!=null&&(y=`frontmatter`,b=`${t}`,t=s?.dragPos?.[b],x=t?.split(`,`).map(Number)),y!==`frontmatter`&&!n)throw Error("[Slidev] Can not identify the source position of the v-drag element, please provide an explicit `id` prop.");let S=[g],C=!r&&t!=null&&!Number.isFinite(x?.[3]);x??=[NaN,NaN,0];let w=f(x[2]),T=f(x[0]+x[2]/2),ee=f(r?0:x[4]??0),te=m(()=>ee.value*Math.PI/180),E=m(()=>Math.sin(te.value)),ne=m(()=>Math.cos(te.value)),re=f(),D=f({left:0,top:0,width:0,height:0}),ie=f(0);function O(){if(!re.value)return;let e=re.value.getBoundingClientRect();D.value={left:e.left/d.value,top:e.top/d.value,width:e.width/d.value,height:e.height/d.value},ie.value=(D.value.width+D.value.height)/u.value/(Math.abs(E.value)+Math.abs(ne.value))-w.value}S.push(o(w,O,{flush:`post`}));let ae=f(x[3]??0),k=C?m({get:()=>(C?ie.value:ae.value)||0,set:e=>!C&&(ae.value=e)}):ae,oe=f(C?x[1]:x[1]+x[3]/2),se=C?m({get:()=>oe.value+k.value/2,set:e=>oe.value=e-k.value/2}):oe,A=m(()=>Number.isFinite(T.value)?{position:`absolute`,zIndex:100,left:`${T.value-w.value/2}px`,top:`${se.value-k.value/2}px`,width:`${w.value}px`,height:C?void 0:`${k.value}px`,transformOrigin:`center center`,transform:`rotate(${ee.value}deg)`}:{position:`absolute`,zIndex:100});S.push(o([T,se,w,k,ee],([e,t,r,i,a])=>{let o=[e-r/2,t-i/2,r].map(Math.round).join();C?o+=y===`directive`?`,NaN`:`,_`:o+=`,${Math.round(i)}`,Math.round(a)!==0&&(o+=`,${Math.round(a)}`),y===`directive`&&(o=`[${o}]`),l.value(b,o,y,n)}));let j={dragId:b,dataSource:y,markdownSource:n,isArrow:r,zoom:d,autoHeight:C,x0:T,y0:se,width:w,height:k,rotate:ee,container:re,containerStyle:A,watchStopHandles:S,dragging:m(()=>le.value===j),mounted(){v&&(O(),t||setTimeout(()=>{O(),T.value=(D.value.left+D.value.width/2-p.value)/u.value,se.value=(D.value.top-h.value)/u.value,w.value=D.value.width/u.value,k.value=D.value.height/u.value},100))},unmounted(){v&&j.stopDragging()},startDragging(){v&&(O(),le.value=j)},stopDragging(){v&&le.value===j&&(le.value=null)}};return S.push(Se(re,e=>{let t=document.querySelector(`#drag-control-container`);t&&e.target&&t.contains(e.target)||j.stopDragging()}),o(Ce(),e=>{e||j.stopDragging()})),j}function hi(){return{install(e){e.directive(`drag`,{name:`v-drag`,created(e,t,n){let r=mi(t,t.value,n.props?.markdownSource);n.props&&(n.props={...n.props},delete n.props.markdownSource),r.container.value=e,e.draggingState=r,e.dataset.dragId=r.dragId,r.watchStopHandles.push(o(r.containerStyle,t=>{for(let[n,r]of Object.entries(t))r&&(e.style[n]=r)},{immediate:!0})),e.addEventListener(`dblclick`,r.startDragging)},mounted(e){e.draggingState.mounted()},unmounted(e){let t=e.draggingState;t.unmounted(),e.removeEventListener(`dblclick`,t.startDragging),t.watchStopHandles.forEach(e=>e())}})}}}function gi(){return Math.floor(Math.random()*2**31)}var _i=class{constructor(e){this.seed=e}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}};function vi(e,t,n){if(e&&e.length){let[r,i]=t,a=Math.PI/180*n,o=Math.cos(a),s=Math.sin(a);for(let t of e){let[e,n]=t;t[0]=(e-r)*o-(n-i)*s+r,t[1]=(e-r)*s+(n-i)*o+i}}}function yi(e,t,n){let r=[];e.forEach(e=>r.push(...e)),vi(r,t,n)}function bi(e,t){return e[0]===t[0]&&e[1]===t[1]}function xi(e,t,n,r=1){let i=n,a=Math.max(t,.1),o=e[0]&&e[0][0]&&typeof e[0][0]==`number`?[e]:e,s=[0,0];if(i)for(let e of o)vi(e,s,i);let c=Si(o,a,r);if(i){for(let e of o)vi(e,s,-i);yi(c,s,-i)}return c}function Si(e,t,n){let r=[];for(let t of e){let e=[...t];bi(e[0],e[e.length-1])||e.push([e[0][0],e[0][1]]),e.length>2&&r.push(e)}let i=[];t=Math.max(t,.1);let a=[];for(let e of r)for(let t=0;t<e.length-1;t++){let n=e[t],r=e[t+1];if(n[1]!==r[1]){let e=Math.min(n[1],r[1]);a.push({ymin:e,ymax:Math.max(n[1],r[1]),x:e===n[1]?n[0]:r[0],islope:(r[0]-n[0])/(r[1]-n[1])})}}if(a.sort((e,t)=>e.ymin<t.ymin?-1:e.ymin>t.ymin?1:e.x<t.x?-1:e.x>t.x?1:e.ymax===t.ymax?0:(e.ymax-t.ymax)/Math.abs(e.ymax-t.ymax)),!a.length)return i;let o=[],s=a[0].ymin,c=0;for(;o.length||a.length;){if(a.length){let e=-1;for(let t=0;t<a.length&&!(a[t].ymin>s);t++)e=t;a.splice(0,e+1).forEach(e=>{o.push({s,edge:e})})}if(o=o.filter(e=>!(e.edge.ymax<=s)),o.sort((e,t)=>e.edge.x===t.edge.x?0:(e.edge.x-t.edge.x)/Math.abs(e.edge.x-t.edge.x)),(n!==1||c%t===0)&&o.length>1)for(let e=0;e<o.length;e+=2){let t=e+1;if(t>=o.length)break;let n=o[e].edge,r=o[t].edge;i.push([[Math.round(n.x),s],[Math.round(r.x),s]])}s+=n,o.forEach(e=>{e.edge.x=e.edge.x+n*e.edge.islope}),c++}return i}function Ci(e,t){let n=t.hachureAngle+90,r=t.hachureGap;r<0&&(r=t.strokeWidth*4),r=Math.round(Math.max(r,.1));let i=1;return t.roughness>=1&&(t.randomizer?.next()||Math.random())>.7&&(i=r),xi(e,r,n,i||1)}var wi=class{constructor(e){this.helper=e}fillPolygons(e,t){return this._fillPolygons(e,t)}_fillPolygons(e,t){let n=Ci(e,t);return{type:`fillSketch`,ops:this.renderLines(n,t)}}renderLines(e,t){let n=[];for(let r of e)n.push(...this.helper.doubleLineOps(r[0][0],r[0][1],r[1][0],r[1][1],t));return n}};function Ti(e){let t=e[0],n=e[1];return Math.sqrt((t[0]-n[0])**2+(t[1]-n[1])**2)}var Ei=class extends wi{fillPolygons(e,t){let n=t.hachureGap;n<0&&(n=t.strokeWidth*4),n=Math.max(n,.1);let r=Ci(e,Object.assign({},t,{hachureGap:n})),i=Math.PI/180*t.hachureAngle,a=[],o=n*.5*Math.cos(i),s=n*.5*Math.sin(i);for(let[e,t]of r)Ti([e,t])&&a.push([[e[0]-o,e[1]+s],[...t]],[[e[0]+o,e[1]-s],[...t]]);return{type:`fillSketch`,ops:this.renderLines(a,t)}}},Di=class extends wi{fillPolygons(e,t){let n=this._fillPolygons(e,t),r=Object.assign({},t,{hachureAngle:t.hachureAngle+90}),i=this._fillPolygons(e,r);return n.ops=n.ops.concat(i.ops),n}},Oi=class{constructor(e){this.helper=e}fillPolygons(e,t){t=Object.assign({},t,{hachureAngle:0});let n=Ci(e,t);return this.dotsOnLines(n,t)}dotsOnLines(e,t){let n=[],r=t.hachureGap;r<0&&(r=t.strokeWidth*4),r=Math.max(r,.1);let i=t.fillWeight;i<0&&(i=t.strokeWidth/2);let a=r/4;for(let o of e){let e=Ti(o),s=e/r,c=Math.ceil(s)-1,l=e-c*r,u=(o[0][0]+o[1][0])/2-r/4,d=Math.min(o[0][1],o[1][1]);for(let e=0;e<c;e++){let o=d+l+e*r,s=u-a+Math.random()*2*a,c=o-a+Math.random()*2*a,f=this.helper.ellipse(s,c,i,i,t);n.push(...f.ops)}}return{type:`fillSketch`,ops:n}}},ki=class{constructor(e){this.helper=e}fillPolygons(e,t){let n=Ci(e,t);return{type:`fillSketch`,ops:this.dashedLine(n,t)}}dashedLine(e,t){let n=t.dashOffset<0?t.hachureGap<0?t.strokeWidth*4:t.hachureGap:t.dashOffset,r=t.dashGap<0?t.hachureGap<0?t.strokeWidth*4:t.hachureGap:t.dashGap,i=[];return e.forEach(e=>{let a=Ti(e),o=Math.floor(a/(n+r)),s=(a+r-o*(n+r))/2,c=e[0],l=e[1];c[0]>l[0]&&(c=e[1],l=e[0]);let u=Math.atan((l[1]-c[1])/(l[0]-c[0]));for(let e=0;e<o;e++){let a=e*(n+r),o=a+n,l=[c[0]+a*Math.cos(u)+s*Math.cos(u),c[1]+a*Math.sin(u)+s*Math.sin(u)],d=[c[0]+o*Math.cos(u)+s*Math.cos(u),c[1]+o*Math.sin(u)+s*Math.sin(u)];i.push(...this.helper.doubleLineOps(l[0],l[1],d[0],d[1],t))}}),i}},Ai=class{constructor(e){this.helper=e}fillPolygons(e,t){let n=t.hachureGap<0?t.strokeWidth*4:t.hachureGap,r=t.zigzagOffset<0?n:t.zigzagOffset;t=Object.assign({},t,{hachureGap:n+r});let i=Ci(e,t);return{type:`fillSketch`,ops:this.zigzagLines(i,r,t)}}zigzagLines(e,t,n){let r=[];return e.forEach(e=>{let i=Ti(e),a=Math.round(i/(2*t)),o=e[0],s=e[1];o[0]>s[0]&&(o=e[1],s=e[0]);let c=Math.atan((s[1]-o[1])/(s[0]-o[0]));for(let e=0;e<a;e++){let i=e*2*t,a=(e+1)*2*t,s=Math.sqrt(2*t**2),l=[o[0]+i*Math.cos(c),o[1]+i*Math.sin(c)],u=[o[0]+a*Math.cos(c),o[1]+a*Math.sin(c)],d=[l[0]+s*Math.cos(c+Math.PI/4),l[1]+s*Math.sin(c+Math.PI/4)];r.push(...this.helper.doubleLineOps(l[0],l[1],d[0],d[1],n),...this.helper.doubleLineOps(d[0],d[1],u[0],u[1],n))}}),r}},K={};function ji(e,t){let n=e.fillStyle||`hachure`;if(!K[n])switch(n){case`zigzag`:K[n]||(K[n]=new Ei(t));break;case`cross-hatch`:K[n]||(K[n]=new Di(t));break;case`dots`:K[n]||(K[n]=new Oi(t));break;case`dashed`:K[n]||(K[n]=new ki(t));break;case`zigzag-line`:K[n]||(K[n]=new Ai(t));break;default:n=`hachure`,K[n]||(K[n]=new wi(t));break}return K[n]}var Mi=0,Ni=1,Pi=2,Fi={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function Ii(e){let t=[];for(;e!==``;)if(e.match(/^([ \t\r\n,]+)/))e=e.substr(RegExp.$1.length);else if(e.match(/^([aAcChHlLmMqQsStTvVzZ])/))t[t.length]={type:Mi,text:RegExp.$1},e=e.substr(RegExp.$1.length);else if(e.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))t[t.length]={type:Ni,text:`${parseFloat(RegExp.$1)}`},e=e.substr(RegExp.$1.length);else return[];return t[t.length]={type:Pi,text:``},t}function Li(e,t){return e.type===t}function Ri(e){let t=[],n=Ii(e),r=`BOD`,i=0,a=n[i];for(;!Li(a,Pi);){let o=0,s=[];if(r===`BOD`)if(a.text===`M`||a.text===`m`)i++,o=Fi[a.text],r=a.text;else return Ri(`M0,0`+e);else Li(a,Ni)?o=Fi[r]:(i++,o=Fi[a.text],r=a.text);if(i+o<n.length){for(let e=i;e<i+o;e++){let t=n[e];if(Li(t,Ni))s[s.length]=+t.text;else throw Error(`Param not a number: `+r+`,`+t.text)}if(typeof Fi[r]==`number`){let e={key:r,data:s};t.push(e),i+=o,a=n[i],r===`M`&&(r=`L`),r===`m`&&(r=`l`)}else throw Error(`Bad segment: `+r)}else throw Error(`Path data ended short`)}return t}function zi(e){let t=0,n=0,r=0,i=0,a=[];for(let{key:o,data:s}of e)switch(o){case`M`:a.push({key:`M`,data:[...s]}),[t,n]=s,[r,i]=s;break;case`m`:t+=s[0],n+=s[1],a.push({key:`M`,data:[t,n]}),r=t,i=n;break;case`L`:a.push({key:`L`,data:[...s]}),[t,n]=s;break;case`l`:t+=s[0],n+=s[1],a.push({key:`L`,data:[t,n]});break;case`C`:a.push({key:`C`,data:[...s]}),t=s[4],n=s[5];break;case`c`:{let e=s.map((e,r)=>r%2?e+n:e+t);a.push({key:`C`,data:e}),t=e[4],n=e[5];break}case`Q`:a.push({key:`Q`,data:[...s]}),t=s[2],n=s[3];break;case`q`:{let e=s.map((e,r)=>r%2?e+n:e+t);a.push({key:`Q`,data:e}),t=e[2],n=e[3];break}case`A`:a.push({key:`A`,data:[...s]}),t=s[5],n=s[6];break;case`a`:t+=s[5],n+=s[6],a.push({key:`A`,data:[s[0],s[1],s[2],s[3],s[4],t,n]});break;case`H`:a.push({key:`H`,data:[...s]}),t=s[0];break;case`h`:t+=s[0],a.push({key:`H`,data:[t]});break;case`V`:a.push({key:`V`,data:[...s]}),n=s[0];break;case`v`:n+=s[0],a.push({key:`V`,data:[n]});break;case`S`:a.push({key:`S`,data:[...s]}),t=s[2],n=s[3];break;case`s`:{let e=s.map((e,r)=>r%2?e+n:e+t);a.push({key:`S`,data:e}),t=e[2],n=e[3];break}case`T`:a.push({key:`T`,data:[...s]}),t=s[0],n=s[1];break;case`t`:t+=s[0],n+=s[1],a.push({key:`T`,data:[t,n]});break;case`Z`:case`z`:a.push({key:`Z`,data:[]}),t=r,n=i;break}return a}function Bi(e){let t=[],n=``,r=0,i=0,a=0,o=0,s=0,c=0;for(let{key:l,data:u}of e){switch(l){case`M`:t.push({key:`M`,data:[...u]}),[r,i]=u,[a,o]=u;break;case`C`:t.push({key:`C`,data:[...u]}),r=u[4],i=u[5],s=u[2],c=u[3];break;case`L`:t.push({key:`L`,data:[...u]}),[r,i]=u;break;case`H`:r=u[0],t.push({key:`L`,data:[r,i]});break;case`V`:i=u[0],t.push({key:`L`,data:[r,i]});break;case`S`:{let e=0,a=0;n===`C`||n===`S`?(e=r+(r-s),a=i+(i-c)):(e=r,a=i),t.push({key:`C`,data:[e,a,...u]}),s=u[0],c=u[1],r=u[2],i=u[3];break}case`T`:{let[e,a]=u,o=0,l=0;n===`Q`||n===`T`?(o=r+(r-s),l=i+(i-c)):(o=r,l=i);let d=r+2*(o-r)/3,f=i+2*(l-i)/3,p=e+2*(o-e)/3,m=a+2*(l-a)/3;t.push({key:`C`,data:[d,f,p,m,e,a]}),s=o,c=l,r=e,i=a;break}case`Q`:{let[e,n,a,o]=u,l=r+2*(e-r)/3,d=i+2*(n-i)/3,f=a+2*(e-a)/3,p=o+2*(n-o)/3;t.push({key:`C`,data:[l,d,f,p,a,o]}),s=e,c=n,r=a,i=o;break}case`A`:{let e=Math.abs(u[0]),n=Math.abs(u[1]),a=u[2],o=u[3],s=u[4],c=u[5],l=u[6];e===0||n===0?(t.push({key:`C`,data:[r,i,c,l,c,l]}),r=c,i=l):(r!==c||i!==l)&&(Ui(r,i,c,l,e,n,a,o,s).forEach(function(e){t.push({key:`C`,data:e})}),r=c,i=l);break}case`Z`:t.push({key:`Z`,data:[]}),r=a,i=o;break}n=l}return t}function Vi(e){return Math.PI*e/180}function Hi(e,t,n){return[e*Math.cos(n)-t*Math.sin(n),e*Math.sin(n)+t*Math.cos(n)]}function Ui(e,t,n,r,i,a,o,s,c,l){let u=Vi(o),d=[],f=0,p=0,m=0,h=0;if(l)[f,p,m,h]=l;else{[e,t]=Hi(e,t,-u),[n,r]=Hi(n,r,-u);let o=(e-n)/2,l=(t-r)/2,d=o*o/(i*i)+l*l/(a*a);d>1&&(d=Math.sqrt(d),i=d*i,a=d*a);let g=s===c?-1:1,_=i*i,v=a*a,y=_*v-_*l*l-v*o*o,b=_*l*l+v*o*o,x=g*Math.sqrt(Math.abs(y/b));m=x*i*l/a+(e+n)/2,h=x*-a*o/i+(t+r)/2,f=Math.asin(parseFloat(((t-h)/a).toFixed(9))),p=Math.asin(parseFloat(((r-h)/a).toFixed(9))),e<m&&(f=Math.PI-f),n<m&&(p=Math.PI-p),f<0&&(f=Math.PI*2+f),p<0&&(p=Math.PI*2+p),c&&f>p&&(f-=Math.PI*2),!c&&p>f&&(p-=Math.PI*2)}let g=p-f;if(Math.abs(g)>Math.PI*120/180){let e=p,t=n,s=r;p=c&&p>f?f+Math.PI*120/180*1:f+Math.PI*120/180*-1,n=m+i*Math.cos(p),r=h+a*Math.sin(p),d=Ui(n,r,t,s,i,a,o,0,c,[p,e,m,h])}g=p-f;let _=Math.cos(f),v=Math.sin(f),y=Math.cos(p),b=Math.sin(p),x=Math.tan(g/4),S=4/3*i*x,C=4/3*a*x,w=[e,t],T=[e+S*v,t-C*_],ee=[n+S*b,r-C*y],te=[n,r];if(T[0]=2*w[0]-T[0],T[1]=2*w[1]-T[1],l)return[T,ee,te].concat(d);{d=[T,ee,te].concat(d);let e=[];for(let t=0;t<d.length;t+=3){let n=Hi(d[t][0],d[t][1],u),r=Hi(d[t+1][0],d[t+1][1],u),i=Hi(d[t+2][0],d[t+2][1],u);e.push([n[0],n[1],r[0],r[1],i[0],i[1]])}return e}}var Wi={randOffset:ra,randOffsetWithRange:ia,ellipse:Yi,doubleLineOps:aa};function q(e,t,n,r,i){return{type:`path`,ops:Y(e,t,n,r,i)}}function Gi(e,t,n){let r=(e||[]).length;if(r>2){let i=[];for(let t=0;t<r-1;t++)i.push(...Y(e[t][0],e[t][1],e[t+1][0],e[t+1][1],n));return t&&i.push(...Y(e[r-1][0],e[r-1][1],e[0][0],e[0][1],n)),{type:`path`,ops:i}}else if(r===2)return q(e[0][0],e[0][1],e[1][0],e[1][1],n);return{type:`path`,ops:[]}}function Ki(e,t){return Gi(e,!0,t)}function qi(e,t,n,r,i){return Ki([[e,t],[e+n,t],[e+n,t+r],[e,t+r]],i)}function Ji(e,t){if(e.length){let n=typeof e[0][0]==`number`?[e]:e,r=ua(n[0],1*(1+t.roughness*.2),t),i=t.disableMultiStroke?[]:ua(n[0],1.5*(1+t.roughness*.22),oa(t));for(let e=1;e<n.length;e++){let a=n[e];if(a.length){let e=ua(a,1*(1+t.roughness*.2),t),n=t.disableMultiStroke?[]:ua(a,1.5*(1+t.roughness*.22),oa(t));for(let t of e)t.op!==`move`&&r.push(t);for(let e of n)e.op!==`move`&&i.push(e)}}return{type:`path`,ops:r.concat(i)}}return{type:`path`,ops:[]}}function Yi(e,t,n,r,i){return Zi(e,t,i,Xi(n,r,i)).opset}function Xi(e,t,n){let r=Math.sqrt(Math.PI*2*Math.sqrt(((e/2)**2+(t/2)**2)/2)),i=Math.ceil(Math.max(n.curveStepCount,n.curveStepCount/Math.sqrt(200)*r)),a=Math.PI*2/i,o=Math.abs(e/2),s=Math.abs(t/2),c=1-n.curveFitting;return o+=J(o*c,n),s+=J(s*c,n),{increment:a,rx:o,ry:s}}function Zi(e,t,n,r){let[i,a]=fa(r.increment,e,t,r.rx,r.ry,1,r.increment*ca(.1,ca(.4,1,n),n),n),o=da(i,null,n);if(!n.disableMultiStroke&&n.roughness!==0){let[i]=fa(r.increment,e,t,r.rx,r.ry,1.5,0,n),a=da(i,null,n);o=o.concat(a)}return{estimatedPoints:a,opset:{type:`path`,ops:o}}}function Qi(e,t,n,r,i,a,o,s,c){let l=e,u=t,d=Math.abs(n/2),f=Math.abs(r/2);d+=J(d*.01,c),f+=J(f*.01,c);let p=i,m=a;for(;p<0;)p+=Math.PI*2,m+=Math.PI*2;m-p>Math.PI*2&&(p=0,m=Math.PI*2);let h=Math.PI*2/c.curveStepCount,g=Math.min(h/2,(m-p)/2),_=pa(g,l,u,d,f,p,m,1,c);if(!c.disableMultiStroke){let e=pa(g,l,u,d,f,p,m,1.5,c);_.push(...e)}return o&&(s?_.push(...Y(l,u,l+d*Math.cos(p),u+f*Math.sin(p),c),...Y(l,u,l+d*Math.cos(m),u+f*Math.sin(m),c)):_.push({op:`lineTo`,data:[l,u]},{op:`lineTo`,data:[l+d*Math.cos(p),u+f*Math.sin(p)]})),{type:`path`,ops:_}}function $i(e,t){let n=Bi(zi(Ri(e))),r=[],i=[0,0],a=[0,0];for(let{key:e,data:o}of n)switch(e){case`M`:a=[o[0],o[1]],i=[o[0],o[1]];break;case`L`:r.push(...Y(a[0],a[1],o[0],o[1],t)),a=[o[0],o[1]];break;case`C`:{let[e,n,i,s,c,l]=o;r.push(...ma(e,n,i,s,c,l,a,t)),a=[c,l];break}case`Z`:r.push(...Y(a[0],a[1],i[0],i[1],t)),a=[i[0],i[1]];break}return{type:`path`,ops:r}}function ea(e,t){let n=[];for(let r of e)if(r.length){let e=t.maxRandomnessOffset||0,i=r.length;if(i>2){n.push({op:`move`,data:[r[0][0]+J(e,t),r[0][1]+J(e,t)]});for(let a=1;a<i;a++)n.push({op:`lineTo`,data:[r[a][0]+J(e,t),r[a][1]+J(e,t)]})}}return{type:`fillPath`,ops:n}}function ta(e,t){return ji(t,Wi).fillPolygons(e,t)}function na(e,t,n,r,i,a,o){let s=e,c=t,l=Math.abs(n/2),u=Math.abs(r/2);l+=J(l*.01,o),u+=J(u*.01,o);let d=i,f=a;for(;d<0;)d+=Math.PI*2,f+=Math.PI*2;f-d>Math.PI*2&&(d=0,f=Math.PI*2);let p=(f-d)/o.curveStepCount,m=[];for(let e=d;e<=f;e+=p)m.push([s+l*Math.cos(e),c+u*Math.sin(e)]);return m.push([s+l*Math.cos(f),c+u*Math.sin(f)]),m.push([s,c]),ta([m],o)}function ra(e,t){return J(e,t)}function ia(e,t,n){return ca(e,t,n)}function aa(e,t,n,r,i){return Y(e,t,n,r,i,!0)}function oa(e){let t=Object.assign({},e);return t.randomizer=void 0,e.seed&&(t.seed=e.seed+1),t}function sa(e){return e.randomizer||=new _i(e.seed||0),e.randomizer.next()}function ca(e,t,n,r=1){return n.roughness*r*(sa(n)*(t-e)+e)}function J(e,t,n=1){return ca(-e,e,t,n)}function Y(e,t,n,r,i,a=!1){let o=a?i.disableMultiStrokeFill:i.disableMultiStroke,s=la(e,t,n,r,i,!0,!1);if(o)return s;let c=la(e,t,n,r,i,!0,!0);return s.concat(c)}function la(e,t,n,r,i,a,o){let s=(e-n)**2+(t-r)**2,c=Math.sqrt(s),l=1;l=c<200?1:c>500?.4:-.0016668*c+1.233334;let u=i.maxRandomnessOffset||0;u*u*100>s&&(u=c/10);let d=u/2,f=.2+sa(i)*.2,p=i.bowing*i.maxRandomnessOffset*(r-t)/200,m=i.bowing*i.maxRandomnessOffset*(e-n)/200;p=J(p,i,l),m=J(m,i,l);let h=[],g=()=>J(d,i,l),_=()=>J(u,i,l),v=i.preserveVertices;return a&&(o?h.push({op:`move`,data:[e+(v?0:g()),t+(v?0:g())]}):h.push({op:`move`,data:[e+(v?0:J(u,i,l)),t+(v?0:J(u,i,l))]})),o?h.push({op:`bcurveTo`,data:[p+e+(n-e)*f+g(),m+t+(r-t)*f+g(),p+e+2*(n-e)*f+g(),m+t+2*(r-t)*f+g(),n+(v?0:g()),r+(v?0:g())]}):h.push({op:`bcurveTo`,data:[p+e+(n-e)*f+_(),m+t+(r-t)*f+_(),p+e+2*(n-e)*f+_(),m+t+2*(r-t)*f+_(),n+(v?0:_()),r+(v?0:_())]}),h}function ua(e,t,n){if(!e.length)return[];let r=[];r.push([e[0][0]+J(t,n),e[0][1]+J(t,n)]),r.push([e[0][0]+J(t,n),e[0][1]+J(t,n)]);for(let i=1;i<e.length;i++)r.push([e[i][0]+J(t,n),e[i][1]+J(t,n)]),i===e.length-1&&r.push([e[i][0]+J(t,n),e[i][1]+J(t,n)]);return da(r,null,n)}function da(e,t,n){let r=e.length,i=[];if(r>3){let a=[],o=1-n.curveTightness;i.push({op:`move`,data:[e[1][0],e[1][1]]});for(let t=1;t+2<r;t++){let n=e[t];a[0]=[n[0],n[1]],a[1]=[n[0]+(o*e[t+1][0]-o*e[t-1][0])/6,n[1]+(o*e[t+1][1]-o*e[t-1][1])/6],a[2]=[e[t+1][0]+(o*e[t][0]-o*e[t+2][0])/6,e[t+1][1]+(o*e[t][1]-o*e[t+2][1])/6],a[3]=[e[t+1][0],e[t+1][1]],i.push({op:`bcurveTo`,data:[a[1][0],a[1][1],a[2][0],a[2][1],a[3][0],a[3][1]]})}if(t&&t.length===2){let e=n.maxRandomnessOffset;i.push({op:`lineTo`,data:[t[0]+J(e,n),t[1]+J(e,n)]})}}else r===3?(i.push({op:`move`,data:[e[1][0],e[1][1]]}),i.push({op:`bcurveTo`,data:[e[1][0],e[1][1],e[2][0],e[2][1],e[2][0],e[2][1]]})):r===2&&i.push(...la(e[0][0],e[0][1],e[1][0],e[1][1],n,!0,!0));return i}function fa(e,t,n,r,i,a,o,s){let c=s.roughness===0,l=[],u=[];if(c){e/=4,u.push([t+r*Math.cos(-e),n+i*Math.sin(-e)]);for(let a=0;a<=Math.PI*2;a+=e){let e=[t+r*Math.cos(a),n+i*Math.sin(a)];l.push(e),u.push(e)}u.push([t+r*Math.cos(0),n+i*Math.sin(0)]),u.push([t+r*Math.cos(e),n+i*Math.sin(e)])}else{let c=J(.5,s)-Math.PI/2;u.push([J(a,s)+t+.9*r*Math.cos(c-e),J(a,s)+n+.9*i*Math.sin(c-e)]);let d=Math.PI*2+c-.01;for(let o=c;o<d;o+=e){let e=[J(a,s)+t+r*Math.cos(o),J(a,s)+n+i*Math.sin(o)];l.push(e),u.push(e)}u.push([J(a,s)+t+r*Math.cos(c+Math.PI*2+o*.5),J(a,s)+n+i*Math.sin(c+Math.PI*2+o*.5)]),u.push([J(a,s)+t+.98*r*Math.cos(c+o),J(a,s)+n+.98*i*Math.sin(c+o)]),u.push([J(a,s)+t+.9*r*Math.cos(c+o*.5),J(a,s)+n+.9*i*Math.sin(c+o*.5)])}return[u,l]}function pa(e,t,n,r,i,a,o,s,c){let l=a+J(.1,c),u=[];u.push([J(s,c)+t+.9*r*Math.cos(l-e),J(s,c)+n+.9*i*Math.sin(l-e)]);for(let a=l;a<=o;a+=e)u.push([J(s,c)+t+r*Math.cos(a),J(s,c)+n+i*Math.sin(a)]);return u.push([t+r*Math.cos(o),n+i*Math.sin(o)]),u.push([t+r*Math.cos(o),n+i*Math.sin(o)]),da(u,null,c)}function ma(e,t,n,r,i,a,o,s){let c=[],l=[s.maxRandomnessOffset||1,(s.maxRandomnessOffset||1)+.3],u=[0,0],d=s.disableMultiStroke?1:2,f=s.preserveVertices;for(let p=0;p<d;p++)p===0?c.push({op:`move`,data:[o[0],o[1]]}):c.push({op:`move`,data:[o[0]+(f?0:J(l[0],s)),o[1]+(f?0:J(l[0],s))]}),u=f?[i,a]:[i+J(l[p],s),a+J(l[p],s)],c.push({op:`bcurveTo`,data:[e+J(l[p],s),t+J(l[p],s),n+J(l[p],s),r+J(l[p],s),u[0],u[1]]});return c}function ha(e){return[...e]}function ga(e,t=0){let n=e.length;if(n<3)throw Error(`A curve must have at least three points.`);let r=[];if(n===3)r.push(ha(e[0]),ha(e[1]),ha(e[2]),ha(e[2]));else{let n=[];n.push(e[0],e[0]);for(let t=1;t<e.length;t++)n.push(e[t]),t===e.length-1&&n.push(e[t]);let i=[],a=1-t;r.push(ha(n[0]));for(let e=1;e+2<n.length;e++){let t=n[e];i[0]=[t[0],t[1]],i[1]=[t[0]+(a*n[e+1][0]-a*n[e-1][0])/6,t[1]+(a*n[e+1][1]-a*n[e-1][1])/6],i[2]=[n[e+1][0]+(a*n[e][0]-a*n[e+2][0])/6,n[e+1][1]+(a*n[e][1]-a*n[e+2][1])/6],i[3]=[n[e+1][0],n[e+1][1]],r.push(i[1],i[2],i[3])}}return r}function _a(e,t){return Math.sqrt(va(e,t))}function va(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2}function ya(e,t,n){let r=va(t,n);if(r===0)return va(e,t);let i=((e[0]-t[0])*(n[0]-t[0])+(e[1]-t[1])*(n[1]-t[1]))/r;return i=Math.max(0,Math.min(1,i)),va(e,X(t,n,i))}function X(e,t,n){return[e[0]+(t[0]-e[0])*n,e[1]+(t[1]-e[1])*n]}function ba(e,t){let n=e[t+0],r=e[t+1],i=e[t+2],a=e[t+3],o=3*r[0]-2*n[0]-a[0];o*=o;let s=3*r[1]-2*n[1]-a[1];s*=s;let c=3*i[0]-2*a[0]-n[0];c*=c;let l=3*i[1]-2*a[1]-n[1];return l*=l,o<c&&(o=c),s<l&&(s=l),o+s}function xa(e,t,n,r){let i=r||[];if(ba(e,t)<n){let n=e[t+0];i.length?_a(i[i.length-1],n)>1&&i.push(n):i.push(n),i.push(e[t+3])}else{let r=.5,a=e[t+0],o=e[t+1],s=e[t+2],c=e[t+3],l=X(a,o,r),u=X(o,s,r),d=X(s,c,r),f=X(l,u,r),p=X(u,d,r),m=X(f,p,r);xa([a,l,f,m],0,n,i),xa([m,p,d,c],0,n,i)}return i}function Sa(e,t){return Ca(e,0,e.length,t)}function Ca(e,t,n,r,i){let a=i||[],o=e[t],s=e[n-1],c=0,l=1;for(let r=t+1;r<n-1;++r){let t=ya(e[r],o,s);t>c&&(c=t,l=r)}return Math.sqrt(c)>r?(Ca(e,t,l+1,r,a),Ca(e,l,n,r,a)):(a.length||a.push(o),a.push(s)),a}function wa(e,t=.15,n){let r=[],i=(e.length-1)/3;for(let n=0;n<i;n++)xa(e,n*3,t,r);return n&&n>0?Ca(r,0,r.length,n):r}function Ta(e,t,n){let r=Bi(zi(Ri(e))),i=[],a=[],o=[0,0],s=[],c=()=>{s.length>=4&&a.push(...wa(s,t)),s=[]},l=()=>{c(),a.length&&(i.push(a),a=[])};for(let{key:e,data:t}of r)switch(e){case`M`:l(),o=[t[0],t[1]],a.push(o);break;case`L`:c(),a.push([t[0],t[1]]);break;case`C`:if(!s.length){let e=a.length?a[a.length-1]:o;s.push([e[0],e[1]])}s.push([t[0],t[1]]),s.push([t[2],t[3]]),s.push([t[4],t[5]]);break;case`Z`:c(),a.push([o[0],o[1]]);break}if(l(),!n)return i;let u=[];for(let e of i){let t=Sa(e,n);t.length&&u.push(t)}return u}var Z=`none`,Ea=class{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 gi()}_o(e){return e?Object.assign({},this.defaultOptions,e):this.defaultOptions}_d(e,t,n){return{shape:e,sets:t||[],options:n||this.defaultOptions}}line(e,t,n,r,i){let a=this._o(i);return this._d(`line`,[q(e,t,n,r,a)],a)}rectangle(e,t,n,r,i){let a=this._o(i),o=[],s=qi(e,t,n,r,a);if(a.fill){let i=[[e,t],[e+n,t],[e+n,t+r],[e,t+r]];a.fillStyle===`solid`?o.push(ea([i],a)):o.push(ta([i],a))}return a.stroke!==Z&&o.push(s),this._d(`rectangle`,o,a)}ellipse(e,t,n,r,i){let a=this._o(i),o=[],s=Xi(n,r,a),c=Zi(e,t,a,s);if(a.fill)if(a.fillStyle===`solid`){let n=Zi(e,t,a,s).opset;n.type=`fillPath`,o.push(n)}else o.push(ta([c.estimatedPoints],a));return a.stroke!==Z&&o.push(c.opset),this._d(`ellipse`,o,a)}circle(e,t,n,r){let i=this.ellipse(e,t,n,n,r);return i.shape=`circle`,i}linearPath(e,t){let n=this._o(t);return this._d(`linearPath`,[Gi(e,!1,n)],n)}arc(e,t,n,r,i,a,o=!1,s){let c=this._o(s),l=[],u=Qi(e,t,n,r,i,a,o,!0,c);if(o&&c.fill)if(c.fillStyle===`solid`){let o=Object.assign({},c);o.disableMultiStroke=!0;let s=Qi(e,t,n,r,i,a,!0,!1,o);s.type=`fillPath`,l.push(s)}else l.push(na(e,t,n,r,i,a,c));return c.stroke!==Z&&l.push(u),this._d(`arc`,l,c)}curve(e,t){let n=this._o(t),r=[],i=Ji(e,n);if(n.fill&&n.fill!==Z)if(n.fillStyle===`solid`){let t=Ji(e,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));r.push({type:`fillPath`,ops:this._mergedShape(t.ops)})}else{let t=[],i=e;if(i.length){let e=typeof i[0][0]==`number`?[i]:i;for(let r of e)r.length<3?t.push(...r):r.length===3?t.push(...wa(ga([r[0],r[0],r[1],r[2]]),10,(1+n.roughness)/2)):t.push(...wa(ga(r),10,(1+n.roughness)/2))}t.length&&r.push(ta([t],n))}return n.stroke!==Z&&r.push(i),this._d(`curve`,r,n)}polygon(e,t){let n=this._o(t),r=[],i=Gi(e,!0,n);return n.fill&&(n.fillStyle===`solid`?r.push(ea([e],n)):r.push(ta([e],n))),n.stroke!==Z&&r.push(i),this._d(`polygon`,r,n)}path(e,t){let n=this._o(t),r=[];if(!e)return this._d(`path`,r,n);e=(e||``).replace(/\n/g,` `).replace(/(-\s)/g,`-`).replace(`/(ss)/g`,` `);let i=n.fill&&n.fill!==`transparent`&&n.fill!==Z,a=n.stroke!==Z,o=!!(n.simplification&&n.simplification<1),s=o?4-4*(n.simplification||1):(1+n.roughness)/2,c=Ta(e,1,s),l=$i(e,n);if(i)if(n.fillStyle===`solid`)if(c.length===1){let t=$i(e,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));r.push({type:`fillPath`,ops:this._mergedShape(t.ops)})}else r.push(ea(c,n));else r.push(ta(c,n));return a&&(o?c.forEach(e=>{r.push(Gi(e,!1,n))}):r.push(l)),this._d(`path`,r,n)}opsToPath(e,t){let n=``;for(let r of e.ops){let e=typeof t==`number`&&t>=0?r.data.map(e=>+e.toFixed(t)):r.data;switch(r.op){case`move`:n+=`M${e[0]} ${e[1]} `;break;case`bcurveTo`:n+=`C${e[0]} ${e[1]}, ${e[2]} ${e[3]}, ${e[4]} ${e[5]} `;break;case`lineTo`:n+=`L${e[0]} ${e[1]} `;break}}return n.trim()}toPaths(e){let t=e.sets||[],n=e.options||this.defaultOptions,r=[];for(let e of t){let t=null;switch(e.type){case`path`:t={d:this.opsToPath(e),stroke:n.stroke,strokeWidth:n.strokeWidth,fill:Z};break;case`fillPath`:t={d:this.opsToPath(e),stroke:Z,strokeWidth:0,fill:n.fill||Z};break;case`fillSketch`:t=this.fillSketch(e,n);break}t&&r.push(t)}return r}fillSketch(e,t){let n=t.fillWeight;return n<0&&(n=t.strokeWidth/2),{d:this.opsToPath(e),stroke:t.fill||Z,strokeWidth:n,fill:Z}}_mergedShape(e){return e.filter((e,t)=>t===0||e.op!==`move`)}},Da=`http://www.w3.org/2000/svg`,Oa=800,ka=null;function Aa(){return ka||=new Ea().defaultOptions,ka}function ja(e,t,n){return{...Aa(),maxRandomnessOffset:2,roughness:e===`highlight`?3:1.5,bowing:1,stroke:`#000`,strokeWidth:1.5,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:`hachure`,fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,disableMultiStroke:e!==`double`,disableMultiStrokeFill:!1,seed:t,...n}}function Ma(e){let t=e.padding;if(t||t===0){if(typeof t==`number`)return[t,t,t,t];if(Array.isArray(t)){let e=t;if(e.length)switch(e.length){case 4:return[...e];case 1:return[e[0],e[0],e[0],e[0]];case 2:return[...e,...e];case 3:return[...e,e[1]];default:return[e[0],e[1],e[2],e[3]]}}}return[5,5,5,5]}function Na(e,t,n,r,i,a){let o=[],s=n.strokeWidth||2,c=Ma(n),l=n.animate===void 0||!!n.animate,u=n.iterations||2,d=+!!n.rtl,f=ja(`single`,a,n);switch(n.type){case`underline`:{let e=t.y+t.h+c[2];for(let n=d;n<u+d;n++)n%2?o.push(q(t.x+t.w,e,t.x,e,f)):o.push(q(t.x,e,t.x+t.w,e,f));break}case`strike-through`:{let e=t.y+t.h/2;for(let n=d;n<u+d;n++)n%2?o.push(q(t.x+t.w,e,t.x,e,f)):o.push(q(t.x,e,t.x+t.w,e,f));break}case`box`:{let e=t.x-c[3],n=t.y-c[0],r=t.w+(c[1]+c[3]),i=t.h+(c[0]+c[2]);for(let t=0;t<u;t++)o.push(qi(e,n,r,i,f));break}case`bracket`:{let e=Array.isArray(n.brackets)?n.brackets:n.brackets?[n.brackets]:[`right`],r=t.x-c[3]*2,i=t.x+t.w+c[1]*2,a=t.y-c[0]*2,s=t.y+t.h+c[2]*2;for(let n of e){let e;switch(n){case`bottom`:e=[[r,t.y+t.h],[r,s],[i,s],[i,t.y+t.h]];break;case`top`:e=[[r,t.y],[r,a],[i,a],[i,t.y]];break;case`left`:e=[[t.x,a],[r,a],[r,s],[t.x,s]];break;case`right`:e=[[t.x+t.w,a],[i,a],[i,s],[t.x+t.w,s]];break}e&&o.push(Gi(e,!1,f))}break}case`crossed-off`:{let e=t.x,n=t.y,r=e+t.w,i=n+t.h;for(let t=d;t<u+d;t++)t%2?o.push(q(r,i,e,n,f)):o.push(q(e,n,r,i,f));for(let t=d;t<u+d;t++)t%2?o.push(q(e,i,r,n,f)):o.push(q(r,n,e,i,f));break}case`circle`:{let e=ja(`double`,a,n),r=t.w+(c[1]+c[3]),i=t.h+(c[0]+c[2]),s=t.x-c[3]+r/2,l=t.y-c[0]+i/2,d=Math.floor(u/2),p=u-d*2;for(let t=0;t<d;t++)o.push(Yi(s,l,r,i,e));for(let e=0;e<p;e++)o.push(Yi(s,l,r,i,f));break}case`highlight`:{let e=ja(`highlight`,a,n);s=t.h*.95;let r=t.y+t.h/2;for(let n=d;n<u+d;n++)n%2?o.push(q(t.x+t.w,r,t.x,r,e)):o.push(q(t.x,r,t.x+t.w,r,e));break}}if(o.length){let t=Fa(o),a=[],c=[],u=0,d=(e,t,n)=>e.setAttribute(t,n);for(let r of t){let t=document.createElementNS(Da,`path`);if(d(t,`d`,r),d(t,`fill`,`none`),d(t,`stroke`,n.color||`currentColor`),d(t,`stroke-width`,`${s}`),n.opacity!==void 0&&d(t,`style`,`opacity:${n.opacity}`),l){let e=t.getTotalLength();a.push(e),u+=e}e.appendChild(t),c.push(t)}if(l){let e=0;for(let t=0;t<c.length;t++){let n=c[t],o=a[t],s=u?o/u*i:0,l=r+e,d=n.style;d.strokeDashoffset=`${o}`,d.strokeDasharray=`${o}`,d.animation=`rough-notation-dash ${s}ms ease-out ${l}ms forwards`,e+=s}return Pa(i+r)}}return Pa(0)}function Pa(e){return new Promise(t=>setTimeout(t,e))}function Fa(e){let t=[];for(let n of e){let e=``;for(let r of n.ops){let n=r.data;switch(r.op){case`move`:e.trim()&&t.push(e.trim()),e=`M${n[0]} ${n[1]} `;break;case`bcurveTo`:e+=`C${n[0]} ${n[1]}, ${n[2]} ${n[3]}, ${n[4]} ${n[5]} `;break;case`lineTo`:e+=`L${n[0]} ${n[1]} `;break}}e.trim()&&t.push(e.trim())}return t}function Ia(){if(!window.__rno_kf_s){let e=window.__rno_kf_s=document.createElement(`style`);e.textContent=`@keyframes rough-notation-dash { to { stroke-dashoffset: 0; } }`,document.head.appendChild(e)}}var La=Object.defineProperty,Ra=(e,t,n)=>t in e?La(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Q=(e,t,n)=>(Ra(e,typeof t==`symbol`?t:t+``,n),n),za=class{constructor(e,t){Q(this,`_state`,`unattached`),Q(this,`_config`),Q(this,`_resizing`,!1),Q(this,`_ro`),Q(this,`_seed`,gi()),Q(this,`_e`),Q(this,`_svg`),Q(this,`_lastSizes`,[]),Q(this,`_animationDelay`,0),Q(this,`_resizeListener`,()=>{this._resizing||(this._resizing=!0,setTimeout(()=>{this._resizing=!1,this._state===`showing`&&this.haveRectsChanged()&&this.show()},400))}),Q(this,`pendingRefresh`),this._e=e,this._config=JSON.parse(JSON.stringify(t)),this.attach()}getConfig(e){return this._config[e]}setConfig(e,t){this._config[e]!==t&&(this._config[e]=t,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){Ia();let e=this._svg=document.createElementNS(Da,`svg`);e.setAttribute(`class`,[`rough-annotation`,this._config.class||``].filter(Boolean).join(` `));let t=e.style;t.position=`absolute`,t.top=`0`,t.left=`0`,t.overflow=`visible`,t.pointerEvents=`none`,t.width=`100px`,t.height=`100px`;let n=this._config.type===`highlight`;if(this._e.insertAdjacentElement(n?`beforebegin`:`afterend`,e),this._state=`not-showing`,n){let e=window.getComputedStyle(this._e).position;(!e||e===`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(let t of e)t.contentRect&&this._resizeListener()})),this._ro&&this._ro.observe(this._e)}haveRectsChanged(){if(this._lastSizes.length){let e=this.rects();if(e.length===this._lastSizes.length){for(let t=0;t<e.length;t++)if(!this.isSameRect(e[t],this._lastSizes[t]))return!0}else return!0}return!1}isSameRect(e,t){let n=(e,t)=>Math.round(e)===Math.round(t);return n(e.x,t.x)&&n(e.y,t.y)&&n(e.w,t.w)&&n(e.h,t.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,t){let n=this._config;t&&(n=JSON.parse(JSON.stringify(this._config)),n.animate=!1);let r=this.rects(),i=0;r.forEach(e=>i+=e.w);let a=n.animationDuration||Oa,o=0,s=[];for(let t=0;t<r.length;t++){let c=a*(r[t].w/i);s.push(Na(e,r[t],n,o+this._animationDelay+(this._config.delay||0),c,this._seed)),o+=c}return this._lastSizes=r,this._state=`showing`,await Promise.all(s)}rects(){let e=[];if(this._svg)if(this._config.multiline){let t=this._e.getClientRects();for(let n=0;n<t.length;n++)e.push(this.svgRect(this._svg,t[n]))}else e.push(this.svgRect(this._svg,this._e.getBoundingClientRect()));return e}svgRect(e,t){let n=e.getBoundingClientRect(),r=t;return{x:(r.x||r.left)-(n.x||n.left),y:(r.y||r.top)-(n.y||n.top),w:r.width,h:r.height}}};function Ba(e,t){return new za(e,t)}function $(e,t){return e.class=[e.class,t].filter(Boolean).join(` `),e}var Va={box:e=>Object.assign(e,{type:`box`}),circle:e=>Object.assign(e,{type:`circle`}),underline:e=>Object.assign(e,{type:`underline`}),highlight:e=>Object.assign(e,{type:`highlight`}),"strike-through":e=>Object.assign(e,{type:`strike-through`}),"crossed-off":e=>Object.assign(e,{type:`crossed-off`}),bracket:e=>Object.assign(e,{type:`bracket`}),strike:e=>Object.assign(e,{type:`strike-through`}),cross:e=>Object.assign(e,{type:`crossed-off`}),crossed:e=>Object.assign(e,{type:`crossed-off`}),linethrough:e=>Object.assign(e,{type:`strike-through`}),"line-through":e=>Object.assign(e,{type:`strike-through`}),black:e=>$(e,`text-black`),blue:e=>$(e,`text-blue`),cyan:e=>$(e,`text-cyan`),gray:e=>$(e,`text-gray`),green:e=>$(e,`text-green`),indigo:e=>$(e,`text-indigo`),lime:e=>$(e,`text-lime`),orange:e=>$(e,`text-orange`),pink:e=>$(e,`text-pink`),purple:e=>$(e,`text-purple`),red:e=>$(e,`text-red`),teal:e=>$(e,`text-teal`),white:e=>$(e,`text-white`),yellow:e=>$(e,`text-yellow`)},Ha=[[/^delay-?(\d+)?$/,(e,t,n)=>(t.delay=(e[1]?Number.parseInt(e[1]):n)||300,t)],[/^(?:op|opacity)-?(\d+)?$/,(e,t,n)=>(t.opacity=((e[1]?Number.parseInt(e[1]):n)||100)/100,t)]];function Ua(){return{install(e){e.directive(`mark`,{name:`v-mark`,mounted:(e,t)=>{let{isPrintMode:n}=ce(),r=m(()=>{let e=typeof t.value==`object`&&!Array.isArray(t.value)?{...t.value}:{at:t.value},r={at:e.at},i=Object.entries(t.modifiers).filter(([e,t])=>{if(Va[e])return r=Va[e](r,t),!1;for(let[n,i]of Ha){let a=e.match(n);if(a)return r=i(a,r,t),!1}return!0});i.length&&console.warn(`[Slidev] Invalid modifiers for v-mark:`,i);let a={...r,...e};return a.type||=`underline`,n.value&&(a.animationDuration=1),a}),i=Ba(e,r.value),a=si(e,t,r.value.at);if(!a){i.show();return}e.watchStopHandle=u(()=>{let e;r.value.class&&(i.class=r.value.class),r.value.color&&(i.color=r.value.color);let t=r.value.at;e=t===!0||t!==!1&&a.isActive.value,e!=null&&(e?i.show():i.hide())})},unmounted:e=>{e.watchStopHandle?.()}})}}}function Wa(){return{install(e){let t=be();e.directive(`motion`,{name:`v-motion`,mounted(e,n,r,i){let a=ni(n,Oe),s=ni(n,ke),c=ni(n,Me),{currentPage:l,clicks:u,isPrintMode:d}=ce(),f=r.props={...r.props},p={...f.initial,...f.variants?.[`slidev-initial`]},m={...f.enter,...f.variants?.[`slidev-enter`]},h={...f.leave,...f.variants?.[`slidev-leave`]};delete f.initial,delete f.enter,delete f.leave;let g=`${Cr()}-`,_=[];for(let e of Object.keys(f))if(e.startsWith(`click-`)){let t=e.slice(6),n=t.includes(`-`)?t.split(`-`).map(Number):+t,r=g+t;_.push({id:r,at:n,variant:{...f[e]},info:a?.value.calculate(n)}),delete f[e]}_.sort((e,t)=>(Array.isArray(e.at)?e.at[0]:e.at)-(Array.isArray(t.at)?t.at[0]:t.at)),t.created(e,n,r,i),t.mounted(e,n,r,i);let v=e.motionInstance;v.clickIds=_.map(e=>e.id),v.set(p),v.watchStopHandle=o([s,l,u].filter(Boolean),()=>{let t=oi.get(e)?.visibilityState.value??`shown`;if(!a?.value||![`slide`,`presenter`].includes(c?.value??``)){let e={...p,...m};for(let{variant:t}of _)Object.assign(e,t);v.set(e)}else if(d.value||s?.value===l.value)if(t===`shown`){let e={...p,...m};for(let{variant:t,info:n}of _)(!n||n.isActive.value)&&Object.assign(e,t);d.value?v.set(e):v.apply(e)}else v.apply(t===`before`?p:h);else v.apply((s?.value??-1)>l.value?p:h)},{immediate:!0})},unmounted(e){e.motionInstance.watchStopHandle()}})}}}var Ga=Object.assign({});function Ka(e){return e}var qa=Ka(e=>{if(!e.some(e=>e.path===`/print`)){let t=e.findIndex(e=>e.name===`NotFound`);e.splice(t>=0?t:e.length,0,{name:`print`,path:`/print`,component:()=>E(()=>import(`./slidev/print-D1ajUeF3.js`),__vite__mapDeps([2,3,1,4,5,6,7,8,9,10,11]),import.meta.url)})}return e}),Ja=Object.assign({"../../../setup/routes.ts":qa}),Ya=[Object.values(Ga)[0],Object.values(Ja)[0]].filter(Boolean);function Xa(){let e=[];function t(e){if(!A.remote||A.remote===e.query.password)return!0;if(A.remote&&e.query.password===void 0){let e=prompt(`Enter password`);if(A.remote===e)return!0}return e.params.no?{path:`/${e.params.no}`}:{path:``}}return e.push({name:`entry`,path:`/entry`,component:()=>E(()=>import(`./slidev/entry-BZfV7IDQ.js`),__vite__mapDeps([12,3,1,4,6,13]),import.meta.url),beforeEnter:t},{name:`overview`,path:`/overview`,component:()=>E(()=>import(`./slidev/overview-hsiYbMBA.js`),__vite__mapDeps([14,3,1,4,5,6,7,8,15,16,17,18,19,20,21,22,23,24,9,10,25]),import.meta.url),beforeEnter:t},{name:`notes`,path:`/notes`,component:()=>E(()=>import(`./slidev/notes-Ds27Z8l2.js`),__vite__mapDeps([26,3,1,4,5,6,7,8,15,27,18,19,28]),import.meta.url),beforeEnter:t},{name:`notes-edit`,path:`/notes-edit`,component:()=>E(()=>import(`./slidev/notes-edit-xXUwA9Qr.js`),__vite__mapDeps([29,3,1,4,5,6,7,8,15,27]),import.meta.url),beforeEnter:t},{name:`presenter`,path:`/presenter/:no`,component:()=>E(()=>import(`./slidev/presenter-C_4zp2e5.js`),__vite__mapDeps([30,3,1,4,5,6,7,8,17,31,15,32,33,18,19,28,21,22,23,24,9,10,34,16,35,36]),import.meta.url),beforeEnter:t},{path:`/presenter`,redirect:{path:`/presenter/1`}}),e.push({name:`play`,path:`/:no`,component:()=>E(()=>import(`./slidev/play-DB-pdyLF.js`),__vite__mapDeps([37,3,1,4,5,6,7,8,17,27,20,22,23,24,34,15,32,16,9,10,35,38]),import.meta.url)},{path:``,redirect:{path:`/1`}},{path:`/:pathMatch(.*)*`,name:`NotFound`,component:()=>E(()=>import(`./slidev/404-eCFR33FK.js`),__vite__mapDeps([39,3,1,4,5,6,7,8,40]),import.meta.url)}),Ya.reduce((e,t)=>t(e),e)}async function Za(e){function t(){document.documentElement.style.setProperty(`--vh`,`${window.innerHeight*.01}px`)}t(),window.addEventListener(`resize`,t);let n=he({history:Te(`./`),routes:Xa()});e.use(n),e.use(Xr()),e.use(ai()),e.use(Ua()),e.use(hi()),e.use(Wa()),e.use(S,{container:`#twoslash-container`});let r={app:e,router:n};for(let e of $r)await e(r)}async function Qa(){let e=x(Br);await Za(e),e.mount(`#app`)}Qa();export{ei as a,Dr as c,Bt as d,Vt as f,ti as i,kr as l,ui as n,Rr as o,At as p,li as r,Ar as s,fi as t,zt as u};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2026/july-release-party/assets/md-47U1V8LV.css DELETED
@@ -1 +0,0 @@
1
- .icon-machine[data-v-3e8f4be4]{cursor:pointer;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:.3rem;width:min(600px,88%);height:520px;margin-inline:auto;display:grid}.icon-reel[data-v-3e8f4be4]{height:520px;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#0000 0%,#000000c2 10%,#000 25% 75%,#000000c2 90%,#0000 100%);mask-image:linear-gradient(#0000 0%,#000000c2 10%,#000 25% 75%,#000000c2 90%,#0000 100%)}.icon-track[data-v-3e8f4be4]{will-change:transform;grid-auto-rows:170px;display:grid}.icon-cell[data-v-3e8f4be4]{opacity:1;place-items:center;padding:10px;transition:opacity .32s ease-out;display:grid}.icon-cell img[data-v-3e8f4be4]{object-fit:contain;width:132px;height:132px;display:block}.symbol-huggy img[data-v-3e8f4be4]{width:144px;height:144px}.symbol-aaif img[data-v-3e8f4be4],.symbol-mcp img[data-v-3e8f4be4]{width:126px;height:126px}.symbol-heart img[data-v-3e8f4be4]{width:136px;height:126px}.icon-reel.is-settled .icon-cell[data-v-3e8f4be4]:not(.is-winner){opacity:0}.icon-machine.is-heart-pulsing .icon-reel:nth-child(2) .symbol-heart.is-winner img[data-v-3e8f4be4]{animation:.6s cubic-bezier(.2,.78,.24,1) both heart-loop-cue-3e8f4be4}.icon-machine.is-revealing .icon-cell[data-v-3e8f4be4]{transition-duration:.44s}@keyframes heart-loop-cue-3e8f4be4{0%,to{filter:none;transform:scale(1)}24%{filter:drop-shadow(0 0 14px #f537473d);transform:scale(1.12)}48%{filter:none;transform:scale(1)}72%{filter:drop-shadow(0 0 12px #f5374733);transform:scale(1.08)}}@media (prefers-reduced-motion:reduce){.icon-cell[data-v-3e8f4be4]{transition-duration:1ms}}
 
 
2026/july-release-party/assets/md-BUttd7HW.js DELETED
@@ -1 +0,0 @@
1
- import{D as e,S as t,Z as n,_ as r,gt as i,v as a,vt as o,z as s}from"./modules/shiki-CSYx1hey.js";import{n as c,t as l}from"./slidev/context-T2gS7_mS.js";import{t as u}from"./default-wwxdBlYL.js";``+new URL(`../brand/hugging-face.svg`,import.meta.url).href,``+new URL(`../intro/github-mark.svg`,import.meta.url).href,``+new URL(`../intro/x-mark.svg`,import.meta.url).href,``+new URL(`../brand/mcp-symbol-black.svg`,import.meta.url).href;var d={__name:`slides.md__slidev_2`,setup(d){let{$slidev:f,$nav:p,$clicksContext:m,$clicks:h,$page:g,$renderContext:_,$frontmatter:v}=c();return m.setup(),(c,d)=>(s(),a(u,o(e(i(l)(i(v),1))),{default:n(()=>[...d[0]||=[r(`div`,{class:`about-intro`},[r(`section`,null,[r(`div`,{class:`kicker`},`about me`),r(`h1`,null,[r(`span`,null,`Shaun Smith`),r(`span`,{class:`about-handle`},`@evalstate`)]),r(`ul`,{class:`about-points`},[r(`li`,null,`Open Source @ Hugging Face`),r(`li`,null,`MCP Maintainer and Moderator`),r(`li`,null,`huggingface/mcp`),r(`li`,null,`huggingface/skills`),r(`li`,null,`huggingface/upskill`),r(`li`,null,[t(`Maintainer of `),r(`span`,{class:`about-repo`},`fast-agent`)])]),r(`table`,{class:`about-social-table`},[r(`tbody`,null,[r(`tr`,null,[r(`td`,{class:`social-icon-cell`},[r(`img`,{class:`social-icon social-icon-hf`,src:``+new URL(`../brand/hugging-face.svg`,import.meta.url).href,alt:`Hugging Face`})]),r(`td`,null,`huggingface.co/evalstate`)]),r(`tr`,null,[r(`td`,{class:`social-icon-cell`},[r(`img`,{class:`social-icon social-icon-github`,src:``+new URL(`../intro/github-mark.svg`,import.meta.url).href,alt:`GitHub`})]),r(`td`,null,`github.com/evalstate`)]),r(`tr`,null,[r(`td`,{class:`social-icon-cell`},[r(`img`,{class:`social-icon social-icon-x`,src:``+new URL(`../intro/x-mark.svg`,import.meta.url).href,alt:`X`})]),r(`td`,null,`x.com/evalstate`)])])])]),r(`aside`,{class:`about-logo-panel deck-panel`},[r(`img`,{class:`about-hf-logo`,src:``+new URL(`../brand/hugging-face.svg`,import.meta.url).href,alt:`Hugging Face`}),r(`div`,{class:`about-logo-divider`}),r(`img`,{class:`about-mcp-logo`,src:``+new URL(`../brand/mcp-symbol-black.svg`,import.meta.url).href,alt:`Model Context Protocol`})])],-1)]]),_:1},16))}};export{d as default};
 
 
2026/july-release-party/assets/md-BvWhcoIB.js DELETED
@@ -1 +0,0 @@
1
- import{D as e,S as t,Z as n,_ as r,gt as i,v as a,vt as o,z as s}from"./modules/shiki-CSYx1hey.js";import{n as c,t as l}from"./slidev/context-T2gS7_mS.js";import{t as u}from"./default-wwxdBlYL.js";var d={__name:`slides.md__slidev_23`,setup(d){let{$slidev:f,$nav:p,$clicksContext:m,$clicks:h,$page:g,$renderContext:_,$frontmatter:v}=c();return m.setup(),(c,d)=>(s(),a(u,o(e(i(l)(i(v),22))),{default:n(()=>[...d[0]||=[r(`h1`,null,`MCP Clients Dataset`,-1),r(`div`,{class:`clients-dataset-slide text-image-slide`},[r(`section`,{class:`text-image-slide__copy`},[r(`p`,{class:`kicker`},`Open dataset`),r(`a`,{class:`dataset-link-card`,href:`https://hf.co/datasets/evalstate/mcp-clients`},[r(`span`,null,`hf.co/datasets/evalstate`),r(`strong`,null,`mcp-clients`)]),r(`div`,{class:`compact-point-list`},[r(`div`,null,[r(`strong`,null,`Clients`),r(`span`,null,`names, versions, last-seen activity`)]),r(`div`,null,[r(`strong`,null,`Capabilities`),r(`span`,null,[r(`strong`,null,`protocol version,`),t(`tools, prompts, resources, elicitation`)])]),r(`div`,null,[r(`strong`,null,`Extensions`),r(`span`,null,`track emerging feature support over time`)])])]),r(`figure`,{class:`dataset-screenshot deck-panel`},[r(`img`,{src:`/images/clients-data.png`,alt:`Hugging Face Data Studio table for the mcp-clients dataset`})])],-1)]]),_:1},16))}};export{d as default};
 
 
2026/july-release-party/assets/md-Bwgk1pWT.js DELETED
@@ -1 +0,0 @@
1
- import{C as e,D as t,L as n,S as r,T as i,V as a,Z as o,_ as s,_t as c,a as l,b as u,bt as d,ct as f,d as p,f as m,g as h,gt as g,p as _,v,vt as y,y as b,z as x}from"./modules/shiki-CSYx1hey.js";import{t as S}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{n as C,t as w}from"./slidev/context-T2gS7_mS.js";import{t as T}from"./createLucideIcon-C9fFgKAd.js";import{t as E}from"./check-BQpG8Au4.js";import{t as D}from"./default-wwxdBlYL.js";import{t as O}from"./useTimedStoryboard-B-iO5ugp.js";var k=T(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),A=[`onKeydown`],j={class:`stream-preview__header`},M={class:`stream-preview__image`},N=[`src`,`alt`],P={key:0,class:`stream-preview__start`},F={class:`stream-preview__footer`},I={class:`stream-preview__steps`,"aria-hidden":`true`},L={key:0,class:`stream-preview__terminal`},R={key:1},z=S(i({__name:`StreamingDiffusionPreview`,setup(t){let{$slidev:i,$nav:v,$clicksContext:y,$clicks:S,$page:w,$renderContext:T,$frontmatter:D}=C(),z=h(()=>[{id:`partial-1`,phase:`partial`,sequence:1,elapsed:`2.6s`,image:`/streaming/flux-step-1.webp`,label:`Denoising step 1 of 4`,duration:760},{id:`partial-2`,phase:`partial`,sequence:2,elapsed:`3.4s`,image:`/streaming/flux-step-2.webp`,label:`Denoising step 2 of 4`,duration:760},{id:`partial-3`,phase:`partial`,sequence:3,elapsed:`4.1s`,image:`/streaming/flux-step-3.webp`,label:`Denoising step 3 of 4`,duration:760},{id:`partial-4`,phase:`partial`,sequence:4,elapsed:`4.7s`,image:`/streaming/flux-step-4.webp`,label:`Denoising step 4 of 4`,duration:820},{id:`terminal`,phase:`complete`,sequence:4,elapsed:`5.3s`,image:`/streaming/flux-step-4.webp`,label:`Final generated image`,duration:1800}]),B=f(!1),{active:V,animationKey:H,isRunning:U,play:W}=O(z,{defaultDuration:760,endDelay:520}),G=h(()=>V.value??z.value[0]);function K(){B.value=!0,W(!0)}return n(()=>{z.value.forEach(({image:e})=>{let t=new Image;t.src=e})}),(t,n)=>(x(),u(`section`,{class:c([`stream-preview`,[`is-${G.value.phase}`,{"is-activated":B.value,"is-running":g(U)}]]),role:`button`,tabindex:`0`,"aria-label":`Animated sequence of partial image results from a diffusion model`,title:`Click to stream the diffusion result`,onClick:m(K,[`stop`]),onKeydown:[p(m(K,[`prevent`]),[`enter`]),p(m(K,[`prevent`]),[`space`])]},[s(`header`,j,[s(`div`,null,[n[0]||=s(`span`,null,`tool result stream`,-1),s(`strong`,null,d(G.value.phase===`complete`?`Complete`:`Partial result ${G.value.sequence}/4`),1)]),s(`time`,null,d(G.value.elapsed),1)]),s(`div`,M,[e(l,{name:`stream-frame`},{default:o(()=>[(x(),u(`img`,{key:`${g(H)}-${G.value.id}`,src:G.value.image,alt:G.value.label},null,8,N))]),_:1}),B.value?b(`v-if`,!0):(x(),u(`div`,P,[e(g(k),{size:24,fill:`currentColor`}),n[1]||=s(`strong`,null,`Stream result`,-1),n[2]||=s(`span`,null,`click to begin`,-1)]))]),s(`footer`,F,[s(`div`,I,[(x(),u(_,null,a(4,e=>s(`i`,{key:e,class:c({"is-reached":G.value.sequence>=e})},null,2)),64))]),G.value.phase===`complete`?(x(),u(`span`,L,[e(g(E),{size:15,"stroke-width":2.8}),n[3]||=r(` terminal result `,-1)])):(x(),u(`span`,R,`ordered content chunk`))])],42,A))}}),[[`__scopeId`,`data-v-a6e13143`]]),B={class:`whats-next-slide`},V={class:`whats-next-streaming`},H={class:`whats-next-streaming__preview`},U={__name:`slides.md__slidev_22`,setup(n){let{$slidev:r,$nav:i,$clicksContext:a,$clicks:c,$page:l,$renderContext:u,$frontmatter:d}=C();return a.setup(),(n,r)=>{let i=z;return x(),v(D,y(t(g(w)(g(d),21))),{default:o(()=>[r[2]||=s(`h1`,null,`What’s next`,-1),s(`div`,B,[s(`section`,V,[r[0]||=s(`div`,{class:`whats-next-streaming__copy`},[s(`div`,{class:`kicker`},`Streaming`),s(`strong`,null,`Useful results before the tool finishes.`),s(`span`,null,`Partial text, images, audio, video, and structured data—observable and steerable before a clear terminal result.`)],-1),s(`div`,H,[e(i)])]),r[1]||=s(`aside`,{class:`whats-next-roadmap`},[s(`article`,{class:`whats-next-card whats-next-card--triggers deck-panel`},[s(`div`,{class:`kicker`},`Triggers & events`),s(`div`,{class:`whats-next-trigger-path`,"aria-label":`Subscribe, callback, then ordered event`},[s(`span`,null,`subscribe`),s(`b`,null,`→`),s(`span`,null,`callback`),s(`b`,null,`→`),s(`span`,null,`event`)]),s(`strong`,null,`Updates arrive without polling.`),s(`p`,null,`Standard callbacks let Servers push ordered notifications when new data is available.`)]),s(`article`,{class:`whats-next-card whats-next-card--tracks deck-panel`},[s(`div`,{class:`kicker`},`Also in flight`),s(`div`,{class:`whats-next-track-list`},[s(`span`,null,`Enhanced caching`),s(`span`,null,`Pluggable transports`),s(`span`,null,`HTTP over stdio`),s(`span`,null,`Internationalization`),s(`span`,null,`Tool capability scoping`)])])],-1)])]),_:1},16)}}};export{U as default};
 
 
2026/july-release-party/assets/md-DNW7-ntV.css DELETED
@@ -1 +0,0 @@
1
- .stream-preview[data-v-a6e13143]{color:#f9fafb;cursor:pointer;background:#101623;border:1px solid #263044;border-radius:14px;outline:none;grid-template-rows:auto minmax(0,1fr) auto;height:100%;display:grid;overflow:hidden;box-shadow:0 18px 44px #0f172a2e}.stream-preview[data-v-a6e13143]:focus-visible{box-shadow:0 0 0 3px #ffd21ea6,0 18px 44px #0f172a2e}.stream-preview__header[data-v-a6e13143],.stream-preview__footer[data-v-a6e13143]{justify-content:space-between;align-items:center;padding:.72rem .9rem;display:flex}.stream-preview__header[data-v-a6e13143]{border-bottom:1px solid #263044}.stream-preview__header>div[data-v-a6e13143]{align-items:baseline;gap:.65rem;display:flex}.stream-preview__header span[data-v-a6e13143],.stream-preview__header time[data-v-a6e13143],.stream-preview__footer[data-v-a6e13143]{color:#9ca3af;font:600 .58rem/1 var(--deck-font-mono);letter-spacing:.09em;text-transform:uppercase}.stream-preview__header strong[data-v-a6e13143]{color:#fbbf24;font-size:.82rem}.stream-preview.is-complete .stream-preview__header strong[data-v-a6e13143]{color:#34d399}.stream-preview__image[data-v-a6e13143]{background:#05070b;min-height:0;position:relative;overflow:hidden}.stream-preview__image img[data-v-a6e13143]{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.stream-preview__start[data-v-a6e13143]{color:#f9fafb;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:#05070b6b;place-content:center;justify-items:center;gap:.35rem;display:grid;position:absolute;inset:0}.stream-preview__start svg[data-v-a6e13143]{color:#111827;background:var(--deck-yellow);border-radius:999px;width:3.35rem;height:3.35rem;padding:.95rem;box-shadow:0 8px 22px #00000042}.stream-preview__start strong[data-v-a6e13143]{color:#f9fafb;font-size:1rem}.stream-preview__start span[data-v-a6e13143]{color:#fbbf24;font:600 .55rem/1 var(--deck-font-mono);letter-spacing:.1em;text-transform:uppercase}.stream-preview__footer[data-v-a6e13143]{border-top:1px solid #263044;min-height:2.35rem}.stream-preview__steps[data-v-a6e13143]{gap:.32rem;display:flex}.stream-preview__steps i[data-v-a6e13143]{background:#374151;border-radius:999px;width:1.65rem;height:.28rem;transition:background .18s ease-out}.stream-preview__steps i.is-reached[data-v-a6e13143]{background:#fbbf24}.stream-preview.is-complete .stream-preview__steps i[data-v-a6e13143]{background:#34d399}.stream-preview__terminal[data-v-a6e13143]{color:#34d399;align-items:center;gap:.28rem;display:inline-flex}.stream-frame-enter-active[data-v-a6e13143]{transition:opacity .26s ease-out,filter .26s ease-out}.stream-frame-enter-from[data-v-a6e13143]{opacity:0;filter:blur(5px)}@media (prefers-reduced-motion:reduce){.stream-frame-enter-active[data-v-a6e13143],.stream-preview__steps i[data-v-a6e13143]{transition-duration:1ms}}
 
 
2026/july-release-party/assets/md-Dd-Djk-C.js DELETED
@@ -1 +0,0 @@
1
- import{C as e,D as t,L as n,T as r,Z as i,_ as a,b as o,ct as s,gt as c,v as l,vt as u,z as d}from"./modules/shiki-CSYx1hey.js";import{H as f,U as p}from"./useNav-Bvv0p3kN.js";import{n as m,t as h}from"./slidev/context-T2gS7_mS.js";import"./syncState-DFfDxw0Y.js";import"./index-CHOd5jjo.js";import{t as g}from"./default-wwxdBlYL.js";import"./useDrawings-CRXmHsXD.js";var _=r({__name:`HfMcpServerVideo`,setup(e){let{$slidev:t,$nav:r,$clicksContext:i,$clicks:a,$page:c,$renderContext:l,$frontmatter:u}=m(),h=s();function g(){h.value&&(h.value.muted=!0,h.value.defaultMuted=!0)}function _(){h.value&&(g(),h.value.currentTime=0,h.value.play().catch(()=>{}))}function v(){h.value&&(h.value.pause(),h.value.currentTime=0)}return n(g),f(_),p(v),(e,t)=>(d(),o(`video`,{ref_key:`video`,ref:h,class:`hf-mcp-video`,src:`videos/dynamic-space-final.mp4`,loop:``,muted:``,playsinline:``,preload:`auto`},null,512))}}),v={class:`hf-mcp-slide`},y={class:`hf-mcp-video-frame deck-panel`},b={__name:`slides.md__slidev_3`,setup(n){let{$slidev:r,$nav:o,$clicksContext:s,$clicks:f,$page:p,$renderContext:b,$frontmatter:x}=m();return s.setup(),(n,r)=>{let o=_;return d(),l(g,u(t(c(h)(c(x),2))),{default:i(()=>[r[1]||=a(`h1`,null,`MCP At Hugging Face`,-1),a(`div`,v,[r[0]||=a(`section`,{class:`hf-mcp-copy`},[a(`h2`,null,`The Hub for Agents and Assistants`),a(`div`,{class:`hf-mcp-capabilities`},[a(`div`,null,[a(`strong`,null,`Inference gateway`),a(`span`,null,`Dynamically route agents to multimodal models and hosted endpoints.`)]),a(`div`,null,[a(`strong`,null,`Research workspace`),a(`span`,null,`Inspect datasets, find models, papers, and run experiments.`)]),a(`div`,null,[a(`strong`,null,`Sandboxes`),a(`span`,null,`Create and manage isolated execution environments.`)]),a(`div`,null,[a(`strong`,null,`Access modes`),a(`span`,null,`Support authenticated and unauthenticated workflows.`)]),a(`div`,null,[a(`strong`,null,`llama.cpp, chatui, and more`),a(`span`,null,`Local and Web Client Integrations`)])]),a(`div`,{class:`hf-mcp-models`,"aria-label":`Example models`},[a(`span`,null,`Qwen 3.5-35B-A3B`),a(`span`,null,`Flux.1-Krea-Dev`),a(`span`,null,`Qwen-Edit LoRA`),a(`span`,null,`Wan2.2 First/Last Frame`)])],-1),a(`aside`,y,[e(o)])])]),_:1},16)}}};export{b as default};
 
 
2026/july-release-party/assets/md-DrLUiRi8.js DELETED
@@ -1 +0,0 @@
1
- import{C as e,D as t,F as n,J as r,T as i,V as a,Z as o,_ as s,_t as c,b as l,bt as u,ct as d,f,gt as p,h as m,p as h,v as g,vt as _,x as v,y,z as b}from"./modules/shiki-CSYx1hey.js";import{t as x}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{n as S,t as C}from"./slidev/context-T2gS7_mS.js";import{t as w}from"./ProtocolCapabilityCard-B0P_x7oa.js";import{t as T}from"./default-wwxdBlYL.js";var E={class:`deprecation-map`,"aria-label":`MCP capabilities with Roots, Sampling, and Logging marked deprecated`},D={class:`protocol-grid protocol-grid--server`},O={class:`protocol-grid protocol-grid--client`},k={key:0,class:`card-deprecated-badge`},A=x(i({__name:`SimplificationsProtocolRails`,setup(t){let{$slidev:n,$nav:r,$clicksContext:i,$clicks:o,$page:u,$renderContext:d,$frontmatter:f}=S(),p=[{id:`tools`,title:`Tools`,icon:`wrench`},{id:`resources`,title:`Resources`,icon:`file`},{id:`prompts`,title:`Prompts`,icon:`message`}],m=[{id:`roots`,title:`Roots`,icon:`roots`,deprecated:!0},{id:`sampling`,title:`Sampling`,icon:`sparkles`,deprecated:!0},{id:`elicitation`,title:`Elicitation`,icon:`question`,deprecated:!1}];return(t,n)=>(b(),l(`section`,E,[s(`div`,D,[(b(),l(h,null,a(p,t=>e(w,{key:t.id,class:`protocol-card-shell`,title:t.title,icon:t.icon,"show-description":!1},null,8,[`title`,`icon`])),64))]),n[0]||=v(`<div class="protocol-label protocol-label--server" data-v-74fc17ac><span data-v-74fc17ac>MCP Server</span><small class="deprecated-pill" data-v-74fc17ac>Logging · deprecated</small></div><div class="protocol-process-gap" aria-hidden="true" data-v-74fc17ac><div class="protocol-arrow-pair" data-v-74fc17ac><div class="protocol-block-arrow protocol-block-arrow--up" data-v-74fc17ac></div><div class="protocol-block-arrow protocol-block-arrow--down" data-v-74fc17ac></div></div><div class="protocol-operation" data-v-74fc17ac><span data-v-74fc17ac>modern · 2026-07-28</span><strong data-v-74fc17ac>Roots + Sampling remain available through MRTR</strong></div></div><div class="protocol-label protocol-label--client" data-v-74fc17ac><span data-v-74fc17ac>MCP Client</span><small data-v-74fc17ac>capabilities</small></div>`,3),s(`div`,O,[(b(),l(h,null,a(m,t=>s(`div`,{key:t.id,class:c([`protocol-card-wrap`,{"is-deprecated":t.deprecated}])},[e(w,{class:`protocol-card-shell`,title:t.title,icon:t.icon,"show-description":!1},null,8,[`title`,`icon`]),t.deprecated?(b(),l(`small`,k,` deprecated `)):y(`v-if`,!0)],2)),64))])]))}}),[[`__scopeId`,`data-v-74fc17ac`]]),j={class:`clickable-image-popover`},M=[`src`,`alt`],N=[`aria-label`],P=[`src`,`alt`],F=x(i({__name:`ClickableImagePopover`,props:{src:{},alt:{},prompt:{default:`click to enlarge`}},setup(e){let{$slidev:t,$nav:i,$clicksContext:a,$clicks:o,$page:c,$renderContext:p,$frontmatter:h}=S(),_=e,v=d(!1);function x(){v.value=!1}function C(e){e.key===`Escape`&&x()}return r(v,e=>{e?window.addEventListener(`keydown`,C):window.removeEventListener(`keydown`,C)}),n(()=>window.removeEventListener(`keydown`,C)),(e,t)=>(b(),l(`figure`,j,[s(`button`,{class:`clickable-image-popover__trigger`,type:`button`,onClick:t[0]||=e=>v.value=!0},[s(`img`,{src:_.src,alt:_.alt},null,8,M),s(`span`,null,u(_.prompt),1)]),(b(),g(m,{to:`body`},[v.value?(b(),l(`div`,{key:0,class:`clickable-image-popover__overlay`,role:`dialog`,"aria-modal":`true`,"aria-label":_.alt,onClick:x},[s(`button`,{class:`clickable-image-popover__close`,type:`button`,"aria-label":`Close enlarged image`,onClick:x},` × `),s(`div`,{class:`clickable-image-popover__frame`,onClick:t[1]||=f(()=>{},[`stop`])},[s(`img`,{src:_.src,alt:_.alt},null,8,P)])],8,N)):y(`v-if`,!0)]))]))}}),[[`__scopeId`,`data-v-bb533e58`]]),I={class:`simplifications-slide`},L={class:`simplifications-copy`},R={class:`compact-point-list`},z={class:`simplifications-point simplifications-point--evidence`},B={class:`simplifications-visual`},V={class:`simplifications-protocol deck-panel`},H={__name:`slides.md__slidev_10`,setup(n){let{$slidev:r,$nav:i,$clicksContext:a,$clicks:c,$page:l,$renderContext:u,$frontmatter:d}=S();return a.setup(),(n,r)=>{let i=F,a=A;return b(),g(T,_(t(p(C)(p(d),9))),{default:o(()=>[r[4]||=s(`h1`,null,`Simplifications`,-1),s(`div`,I,[s(`section`,L,[r[3]||=s(`div`,{class:`kicker sep-kicker-stack`},[s(`span`,null,`SEP-2260 · Client/Server association`),s(`span`,null,`SEP-2577 · Deprecate Roots, Sampling, and Logging`)],-1),s(`div`,R,[s(`div`,z,[r[0]||=s(`div`,null,[s(`strong`,null,`No unsolicited Server → Client calls`),s(`span`,null,`Server requests must be contained inside a client-initiated request.`)],-1),e(i,{class:`simplifications-evidence deck-panel`,src:`/images/mcp-webcam.png`,alt:`mcp-webcam demo screenshot`,prompt:`enlarge`})]),r[1]||=s(`div`,null,[s(`strong`,null,`Drop the fragile GET/SSE handler`),s(`span`,null,`Modern clients no longer need it; previous-version Streamable HTTP remains available by fallback.`)],-1),r[2]||=s(`div`,null,[s(`strong`,null,`Deprecate Roots, Sampling + Logging`),s(`span`,null,`Roots and Sampling remain available through MRTR during deprecation.`)],-1)])]),s(`section`,B,[s(`aside`,V,[e(a)])])])]),_:1},16)}}};export{H as default};
 
 
2026/july-release-party/assets/md-HvGt512D.js DELETED
@@ -1 +0,0 @@
1
- import{C as e,D as t,F as n,L as r,T as i,V as a,Z as o,_ as s,_t as c,b as l,ct as u,f as d,g as f,gt as p,p as m,v as h,vt as g,yt as _,z as v}from"./modules/shiki-CSYx1hey.js";import{t as y}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{n as b,t as x}from"./slidev/context-T2gS7_mS.js";import{t as S}from"./intro-DjMTZ5s2.js";var C=[`src`,`alt`],w=170,T=520,E=440,D=1740,O=y(i({__name:`BrandSlotMachine`,setup(e){let{$slidev:t,$nav:i,$clicksContext:o,$clicks:p,$page:h,$renderContext:g,$frontmatter:y}=b(),x=w*4,S=(T-w)/2,O=[0,w,w*2],k=[{id:`aaif`,src:`/brand/aaif-symbol-black.svg`,label:`AAIF`},{id:`mcp`,src:`/brand/mcp-symbol-black.svg`,label:`MCP`},{id:`heart`,src:`/brand/heart.svg`,label:`loves`},{id:`huggy`,src:`/brand/hugging-face.svg`,label:`Hugging Face`}],A=[...k,...k,...k],j={aaif:0,mcp:1,heart:2,huggy:3},M=u([...O]),N=u([0,0,0]),P=u([!1,!1,!1]),F=u(!1),I=u(!1),L=u(0),R=[H(M.value[0],D),H(M.value[1],D),H(M.value[2],D)],z=0,B=0,V=[];function H(e,t){return{phase:e,velocity:t,mode:`spinning`,startTime:0,startPhase:e,travel:0,targetPhase:0,duration:0}}function U(e,t){V.push(setTimeout(e,t))}function W(){for(;V.length;)clearTimeout(V.pop())}function G(e){return(e%x+x)%x}function K(e,t){let n=[...P.value];n[e]=t,P.value=n}function q(e,t){let n=R[e];n.mode=`spinning`,n.velocity=t,N.value[e]=0,K(e,!1)}function J(e,t,n){let r=R[e],i=j[t]*w,a=G(r.phase-i);r.mode=`decelerating`,r.startTime=performance.now(),r.startPhase=r.phase,r.targetPhase=i,r.duration=n;let o=r.velocity*n/2e3;r.travel=a+Math.max(1,Math.round((o-a)/x))*x}function Y(e){return e<.28?-20*(1-(1-e/.28)**2):e<.56?-20+32*(1-(1-(e-.28)/.28)**2):e<.8?12-18*(1-(1-(e-.56)/.24)**2):-6+6*(1-(1-(e-.8)/.2)**2)}function X(e){let t=B?Math.min(48,e-B):16;B=e,R.forEach((n,r)=>{if(n.mode===`spinning`)n.phase=G(n.phase-n.velocity*t/1e3);else if(n.mode===`decelerating`){let t=Math.min(1,(e-n.startTime)/n.duration),r=1-(1-t)**2;n.phase=G(n.startPhase-n.travel*r),t>=1&&(n.phase=n.targetPhase,n.mode=`bouncing`,n.startTime=e)}else if(n.mode===`bouncing`){let t=Math.min(1,(e-n.startTime)/E);N.value[r]=Y(t),t>=1&&(N.value[r]=0,n.mode=`stopped`,K(r,!0))}M.value[r]=n.phase}),M.value=[...M.value],N.value=[...N.value],z=requestAnimationFrame(X)}function Z(){W(),cancelAnimationFrame(z),F.value=!1,I.value=!1,M.value=[...O],N.value=[0,0,0],P.value=[!1,!1,!1],L.value+=1,Object.assign(R[0],H(M.value[0],D)),Object.assign(R[1],H(M.value[1],D)),Object.assign(R[2],H(M.value[2],D)),B=0,z=requestAnimationFrame(X),U(()=>J(0,`huggy`,1450),2550),U(()=>J(1,`heart`,1450),3e3),U(()=>J(2,`aaif`,1450),3450),U(()=>q(2,1900),10340),U(()=>J(2,`mcp`,1350),11640),U(()=>{F.value=!0},19430),U(()=>{F.value=!1,I.value=!0,P.value=[!1,!1,!1]},20030),U(Z,20580)}let Q=f(()=>M.value.map((e,t)=>({transform:`translateY(${S-x-e+N.value[t]}px)`})));return r(Z),n(()=>{W(),cancelAnimationFrame(z)}),(e,t)=>(v(),l(`div`,{key:L.value,class:c([`icon-machine`,{"is-heart-pulsing":F.value,"is-revealing":I.value}]),role:`img`,"aria-label":`Hugging Face loves AAIF, then MCP`,title:`Click to replay`,onClick:d(Z,[`stop`])},[(v(),l(m,null,a(R,(e,t)=>s(`div`,{key:t,class:c([`icon-reel`,{"is-settled":P.value[t]}])},[s(`div`,{class:`icon-track`,style:_(Q.value[t])},[(v(),l(m,null,a(A,(e,n)=>s(`div`,{key:`${t}-${n}-${e.id}`,class:c([`icon-cell`,[`symbol-${e.id}`,{"is-winner":P.value[t]&&n>=4&&n<8&&Math.abs(n*w+S-x-M.value[t]-T/2+w/2)<2}]])},[s(`img`,{src:e.src,alt:n>=4?e.label:``},null,8,C)],2)),64))],4)],2)),64))],2))}}),[[`__scopeId`,`data-v-3e8f4be4`]]),k={class:`brand-machine-wrap`},A={__name:`slides.md__slidev_1`,setup(n){let{$slidev:r,$nav:i,$clicksContext:a,$clicks:c,$page:l,$renderContext:u,$frontmatter:d}=b();return a.setup(),(n,r)=>{let i=O;return v(),h(S,g(t(p(x)(p(d),0))),{default:o(()=>[s(`div`,k,[e(i)])]),_:1},16)}}};export{A as default};
 
 
2026/july-release-party/assets/slidev/404-eCFR33FK.js DELETED
@@ -1 +0,0 @@
1
- import{S as e,T as t,U as n,Z as r,_ as i,b as a,bt as o,g as s,gt as c,v as l,y as u,z as d}from"../modules/shiki-CSYx1hey.js";import{n as f}from"../useNav-Bvv0p3kN.js";import{t as p}from"../_plugin-vue_export-helper-BDNMzG2s.js";import{V as m}from"../modules/vue-CTLtUbT_.js";var h={class:`grid justify-center text-center pt-15% gap-5`},g={class:`text-2xl`},_={class:`op-60`},v={class:`mt-3 flex flex-col gap-2 max-w-xs mx-auto w-full`},y=p(t({__name:`404`,setup(t){let p=/\d+/,{currentRoute:y}=m(),{total:b}=f(),x=s(()=>{let e=y.value.path.match(p);if(e){let t=+e[0];if(t>0&&t<=b.value)return t}return null});return(t,s)=>{let f=n(`RouterLink`);return d(),a(`div`,h,[i(`div`,null,[s[2]||=i(`h1`,{class:`text-9xl font-light`},` 404 `,-1),i(`p`,g,[s[0]||=e(` Page `,-1),i(`code`,_,o(c(y).path),1),s[1]||=e(` not found `,-1)])]),i(`div`,v,[x.value===1?u(`v-if`,!0):(d(),l(f,{key:0,to:`/`,class:`page-link`},{default:r(()=>[...s[3]||=[e(` Go Home `,-1)]]),_:1})),x.value?(d(),l(f,{key:1,to:`/${x.value}`,class:`page-link`},{default:r(()=>[e(` Go to Slide `+o(x.value),1)]),_:1},8,[`to`])):u(`v-if`,!0)])])}}}),[[`__scopeId`,`data-v-014f0510`]]);export{y as default};
 
 
2026/july-release-party/assets/slidev/DrawingControls-RNrmRGU8.js DELETED
@@ -1 +0,0 @@
1
- import{n as e}from"../rolldown-runtime-QTnfLwEv.js";import{C as t,H as n,Q as r,T as i,V as a,Z as o,_ as s,_t as c,b as l,bt as u,ct as d,gt as f,l as p,p as m,r as h,u as g,v as _,y as v,yt as y,z as b}from"../modules/shiki-CSYx1hey.js";import{h as x,u as S}from"../modules/vue-CTLtUbT_.js";import{t as C}from"../useDrawings-CRXmHsXD.js";import{t as w}from"./IconButton-vxnWUGrP.js";import{t as T}from"./VerticalDivider-D7q6yjRB.js";var E=i({__name:`Draggable`,props:{storageKey:{},initial:{}},setup(e){let t=e,r=d(null),i=t.initial??{x:0,y:0},{style:a}=S(r,{initialValue:t.storageKey?x(t.storageKey,i):d(i)});return(e,t)=>(b(),l(`div`,{ref_key:`el`,ref:r,class:`fixed`,style:y(f(a))},[n(e.$slots,`default`)],4))}}),D={class:`flex bg-main p-2`},O={class:`inline-block w-7 text-center`},k={class:`pt-.5`},A={class:`i-carbon:pin-filled transform -rotate-45`},j={class:`i-carbon:pin`},M={class:`i-carbon:error`},N={class:`i-carbon:close-outline`},P=i({__name:`DrawingControls`,setup(e){let{brush:n,canClear:i,canRedo:x,canUndo:S,clear:P,drauu:F,drawingEnabled:I,drawingMode:L,drawingPinned:R,brushColors:z}=C(),B=d(!1);function V(e){e.preventDefault(),e.stopPropagation(),requestAnimationFrame(()=>{requestAnimationFrame(()=>{B.value=!0})})}function H(e){e.pointerType!==`mouse`&&V(e)}function U(){F.undo()}function W(){F.redo()}let G=`stylus`;function K(e){L.value=e,I.value=!0,e!==`eraseLine`&&(G=e)}function q(e){n.value.color=e,I.value=!0,L.value=G}return(e,d)=>f(I)||f(R)?(b(),_(E,{key:0,class:c([`flex flex-wrap text-xl p-2 gap-1 rounded-md bg-main shadow transition-opacity duration-200 z-nav border border-main`,!f(I)&&f(R)?`opacity-40 hover:opacity-90`:``]),"storage-key":`slidev-drawing-pos`,"initial-x":10,"initial-y":10},{default:o(()=>[t(w,{title:`Draw with stylus`,class:c({shallow:f(L)!==`stylus`}),onClick:d[0]||=e=>K(`stylus`)},{default:o(()=>[...d[14]||=[s(`div`,{class:`i-carbon:pen`},null,-1)]]),_:1},8,[`class`]),t(w,{title:`Draw a line`,class:c({shallow:f(L)!==`line`}),onClick:d[1]||=e=>K(`line`)},{default:o(()=>[...d[15]||=[s(`svg`,{width:`1em`,height:`1em`,class:`-mt-0.5`,preserveAspectRatio:`xMidYMid meet`,viewBox:`0 0 24 24`},[s(`path`,{d:`M21.71 3.29a1 1 0 0 0-1.42 0l-18 18a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l18-18a1 1 0 0 0 0-1.42z`,fill:`currentColor`})],-1)]]),_:1},8,[`class`]),t(w,{title:`Draw an arrow`,class:c({shallow:f(L)!==`arrow`}),onClick:d[2]||=e=>K(`arrow`)},{default:o(()=>[...d[16]||=[s(`div`,{class:`i-carbon:arrow-up-right`},null,-1)]]),_:1},8,[`class`]),t(w,{title:`Draw an ellipse`,class:c({shallow:f(L)!==`ellipse`}),onClick:d[3]||=e=>K(`ellipse`)},{default:o(()=>[...d[17]||=[s(`div`,{class:`i-carbon:radio-button`},null,-1)]]),_:1},8,[`class`]),t(w,{title:`Draw a rectangle`,class:c({shallow:f(L)!==`rectangle`}),onClick:d[4]||=e=>K(`rectangle`)},{default:o(()=>[...d[18]||=[s(`div`,{class:`i-carbon:checkbox`},null,-1)]]),_:1},8,[`class`]),t(w,{title:`Erase`,class:c({shallow:f(L)!==`eraseLine`}),onClick:d[5]||=e=>K(`eraseLine`)},{default:o(()=>[...d[19]||=[s(`div`,{class:`i-carbon:erase`},null,-1)]]),_:1},8,[`class`]),t(T),t(f(h),{shown:B.value,"onUpdate:shown":d[8]||=e=>B.value=e,triggers:[]},{popper:o(()=>[s(`div`,D,[s(`div`,O,u(f(n).size),1),s(`div`,k,[r(s(`input`,{"onUpdate:modelValue":d[6]||=e=>f(n).size=e,type:`range`,min:`1`,max:`15`,onChange:d[7]||=e=>L.value=f(G)},null,544),[[p,f(n).size]])])])]),default:o(()=>[t(w,{title:`Adjust stroke width`,class:c({shallow:f(L)===`eraseLine`}),onClick:V,onPointerdown:H,onPointerup:H,onTouchend:V},{default:o(()=>[...d[20]||=[s(`svg`,{viewBox:`0 0 32 32`,width:`1.2em`,height:`1.2em`},[s(`line`,{x1:`2`,y1:`15`,x2:`22`,y2:`4`,stroke:`currentColor`,"stroke-width":`1`,"stroke-linecap":`round`}),s(`line`,{x1:`2`,y1:`24`,x2:`28`,y2:`10`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`}),s(`line`,{x1:`7`,y1:`31`,x2:`29`,y2:`19`,stroke:`currentColor`,"stroke-width":`3`,"stroke-linecap":`round`})],-1)]]),_:1},8,[`class`])]),_:1},8,[`shown`]),(b(!0),l(m,null,a(f(z),e=>(b(),_(w,{key:e,title:`Set brush color`,class:c(f(n).color===e&&f(L)!==`eraseLine`?`active`:`shallow`),onClick:t=>q(e)},{default:o(()=>[s(`div`,{class:c([`w-6 h-6 transition-all transform border`,f(n).color===e?`rounded-md border-gray-300/50`:`rounded-1/2 scale-85 border-white`]),style:y(f(I)?{background:e}:{borderColor:e})},null,6)]),_:2},1032,[`class`,`onClick`]))),128)),t(T),t(w,{title:`Undo`,class:c({disabled:!f(S)}),onClick:d[9]||=e=>U()},{default:o(()=>[...d[21]||=[s(`div`,{class:`i-carbon:undo`},null,-1)]]),_:1},8,[`class`]),t(w,{title:`Redo`,class:c({disabled:!f(x)}),onClick:d[10]||=e=>W()},{default:o(()=>[...d[22]||=[s(`div`,{class:`i-carbon:redo`},null,-1)]]),_:1},8,[`class`]),t(w,{title:`Delete`,class:c({disabled:!f(i)}),onClick:d[11]||=e=>f(P)()},{default:o(()=>[...d[23]||=[s(`div`,{class:`i-carbon:trash-can`},null,-1)]]),_:1},8,[`class`]),t(T),t(w,{title:f(R)?`Unpin drawing`:`Pin drawing`,class:c({shallow:!f(R)}),onClick:d[12]||=e=>R.value=!f(R)},{default:o(()=>[r(s(`div`,A,null,512),[[g,f(R)]]),r(s(`div`,j,null,512),[[g,!f(R)]])]),_:1},8,[`title`,`class`]),f(I)?(b(),_(w,{key:0,title:f(R)?`Drawing pinned`:`Drawing unpinned`,class:c({shallow:!f(I)}),onClick:d[13]||=e=>I.value=!f(I)},{default:o(()=>[r(s(`div`,M,null,512),[[g,f(R)]]),r(s(`div`,N,null,512),[[g,!f(R)]])]),_:1},8,[`title`,`class`])):v(`v-if`,!0)]),_:1},8,[`class`])):v(`v-if`,!0)}}),F=e({default:()=>I}),I=P;export{F as n,I as t};
 
 
2026/july-release-party/assets/slidev/DrawingLayer-BydXPFu-.js DELETED
@@ -1 +0,0 @@
1
- import{F as e,J as t,L as n,T as r,_t as i,b as a,ct as o,gt as s,z as c}from"../modules/shiki-CSYx1hey.js";import{n as l}from"./context-T2gS7_mS.js";import{t as u}from"../useDrawings-CRXmHsXD.js";var d=r({__name:`DrawingLayer`,setup(r){let{drauu:d,drawingEnabled:f,loadCanvas:p}=u(),m=l().$scale,h=o();return n(()=>{d.mount(h.value,h.value.parentElement),t(m,e=>d.options.coordinateScale=1/e,{immediate:!0}),p()}),e(()=>{d.unmount()}),(e,t)=>(c(),a(`svg`,{ref_key:`svg`,ref:h,class:i([`w-full h-full absolute top-0`,{"pointer-events-none":!s(f),"touch-none":s(f)}])},null,2))}});export{d as default};
 
 
2026/july-release-party/assets/slidev/DrawingPreview-Deq4DPKw.js DELETED
@@ -1 +0,0 @@
1
- import{n as e}from"../rolldown-runtime-QTnfLwEv.js";import{T as t,b as n,gt as r,y as i,z as a}from"../modules/shiki-CSYx1hey.js";import{t as o}from"../useDrawings-CRXmHsXD.js";var s=[`innerHTML`],c=t({__name:`DrawingPreview`,props:{page:{}},setup(e){let{drawingState:t}=o();return(o,c)=>r(t)[e.page]?(a(),n(`svg`,{key:0,class:`w-full h-full absolute top-0 pointer-events-none`,innerHTML:r(t)[e.page]},null,8,s)):i(`v-if`,!0)}}),l=e({default:()=>u}),u=c;export{l as n,u as t};
 
 
2026/july-release-party/assets/slidev/NoteDisplay-BcP1TlLl.js DELETED
@@ -1 +0,0 @@
1
- import{J as e,L as t,N as n,T as r,V as i,Y as a,_ as o,_t as s,b as c,bt as l,ct as u,g as d,gt as f,p,rt as m,y as h,yt as g,z as _}from"../modules/shiki-CSYx1hey.js";import{it as v,rt as y}from"../useNav-Bvv0p3kN.js";import{l as b}from"./context-T2gS7_mS.js";var x=[`title`],S={key:0,"flex-auto":``},C={"text-primary":``},w={op50:``,"text-sm":``},T={key:0,absolute:``,"inset-y-0":``,"right-0":``,"w-0.5":``,"bg-primary":``,"z-1":``},E=r({__name:`ClicksSlider`,props:{clicksContext:{},readonly:{type:Boolean},active:{type:Boolean,default:!0},resettable:{type:Boolean},compact:{type:Boolean},attached:{type:Boolean}},emits:[`activate`,`reset`],setup(e,{emit:t}){let n=e,r=t,a=d(()=>n.clicksContext.total),E=d(()=>y(0,n.clicksContext.clicksStart,a.value)),D=d(()=>a.value-E.value+1),O=d({get(){return n.resettable&&!n.active||n.clicksContext.current>a.value?-1:n.clicksContext.current},set(e){if(n.resettable&&e<0){r(`reset`),n.clicksContext.current=b;return}r(`activate`),n.clicksContext.current=e}}),k=d(()=>n.resettable&&O.value<0),A=d(()=>v(E.value,a.value+1)),j=u(),M;function N(e){let t=j.value.getBoundingClientRect();return(e.clientX-t.left)/Math.max(1,t.width)}function P(e,t){if(n.readonly||!j.value||!t&&!(e.buttons&1))return;let r=N(e);if(n.resettable&&r<0){O.value=-1;return}let i=y(0,r,t?.999999:1)*D.value,o=y(0,O.value-E.value,D.value-1),s=t?E.value+Math.floor(i):O.value;!t&&i>=o+1.5?s=E.value+Math.floor(i-.5):!t&&i<o-.5&&(s=E.value+Math.ceil(i-.5)),O.value=y(E.value,s,a.value)}function F(e){n.readonly||(j.value?.setPointerCapture(e.pointerId),M={id:e.pointerId,x:e.clientX,y:e.clientY},P(e,!0))}function I(e){if(M?.id===e.pointerId){if(Math.abs(e.clientX-M.x)<=3&&Math.abs(e.clientY-M.y)<=3)return;M=void 0}P(e,!1)}return(t,r)=>(_(),c(`div`,{class:s([`flex gap-1 select-none`,[e.attached?`items-end`:`items-center`,D.value&&n.clicksContext.isMounted?``:`op50`]]),title:`Clicks in this slide: ${D.value}`},[o(`div`,{class:s([`flex items-center font-mono`,[e.compact?`gap-1 min-w-0 mr0`:`gap-0.2 min-w-16 mr1`,e.attached?`h-[22px]`:``]])},[o(`div`,{class:s([`i-carbon:cursor-1 text-sm op50`,e.compact?`ml-1`:``])},null,2),O.value>=0&&O.value!==f(999999)&&e.active?(_(),c(p,{key:0},[e.compact?h(`v-if`,!0):(_(),c(`div`,S)),o(`span`,null,[o(`span`,C,l(O.value),1),r[2]||=o(`span`,{op25:``,"text-sm":``},`/`,-1),o(`span`,w,l(a.value),1)])],64)):(_(),c(`div`,{key:1,op50:``,class:s(e.compact?``:`flex-auto pl1`)},[o(`span`,{class:s(e.compact?`inline-block text-center`:``),style:g(e.compact?{width:`${String(a.value).length*2+1}ch`,marginLeft:`-0.25ch`}:void 0)},l(a.value),7)],2))],2),o(`div`,{ref_key:`sliderEl`,ref:j,relative:``,"flex-auto":``,"font-mono":``,flex:`~`,"touch-none":``,class:s([e.attached?`h-[22px]`:`h5`,k.value?`op80`:``]),onPointerdownCapture:F,onPointermove:I,onPointerup:r[0]||=e=>m(M)?M.value=void 0:M=void 0,onPointercancel:r[1]||=e=>m(M)?M.value=void 0:M=void 0},[(_(!0),c(p,null,i(A.value,t=>(_(),c(`div`,{key:t,border:`y main`,"of-hidden":``,relative:``,class:s([t===0?`border-l`:``,t===0?e.attached?`rounded-tl`:`rounded-l`:``,t===a.value?`border-r`:``,t===a.value&&+t!=+O.value?e.attached?`rounded-tr`:`rounded-r`:``,e.attached?`border-b-0`:``]),style:g({width:D.value>0?`${1/D.value*100}%`:`100%`})},[o(`div`,{absolute:``,"inset-0":``,class:s(t<=O.value&&e.active?`bg-primary op15`:``)},null,2),+t==+O.value&&e.active?(_(),c(`div`,T)):h(`v-if`,!0),o(`div`,{class:s([+t==+O.value&&e.active?`text-primary font-bold op100`:`op30`,t===a.value?``:`border-r-2 border-main`]),"w-full":``,"h-full":``,"text-xs":``,flex:``,"items-center":``,"justify-center":``,"z-1":``},l(t),3)],6))),128))],34)],10,x))}}),D=[`innerHTML`],O=[`textContent`],k=[`textContent`],A=`slidev-note-fade`,j=`slidev-note-click-mark`,M=r({__name:`NoteDisplay`,props:{class:{},noteHtml:{},note:{},highlight:{type:Boolean,default:!0},placeholder:{},clicksContext:{},autoScroll:{type:Boolean}},emits:[`markerDblclick`,`markerClick`],setup(r,{emit:i}){let f=r,p=i,m=d(()=>f.clicksContext!=null&&f.noteHtml?.includes(j)),h=u(null);function g(){if(!h.value||!m.value)return;let e=Array.from(h.value.querySelectorAll(`.${j}`)),t=new Map,n=new Map,r=0;for(let i of e){let e=Number(i.dataset.clicks);t.set(i,e);let a=i,o=i.parentElement;for(;o&&a!==h.value;)n.has(o)||n.set(o,[[null,r]]),n.get(o).push([a,e]),a=o,o=o.parentElement;r=e}let i=new Map;for(let[e,t]of n){let n=!1,r=0;for(let a of Array.from(e.childNodes)){let o=!1;for(;a===t[r+1]?.[0];)o=!0,r++;if(o)continue;let s=a;if(a.nodeType===3){if(!a.textContent?.trim())continue;s=document.createElement(`span`),s.textContent=a.textContent,e.insertBefore(s,a),a.remove()}n||=r===0,i.set(s,t[r][1])}n||(t[0][1]=-1)}return e=>{let r=f.highlight;for(let[t,i]of n)t.classList.toggle(A,r&&!i.some(([t,n])=>n===e));for(let[t,n]of i)t.classList.toggle(A,r&&n!==e);for(let[n,i]of t)n.classList.remove(A),n.classList.toggle(`${j}-past`,r&&i<e),n.classList.toggle(`${j}-active`,r&&i===e),n.classList.toggle(`${j}-next`,r&&i===e+1),n.classList.toggle(`${j}-future`,r&&i>e+1),n.ondblclick=e=>{r&&(p(`markerDblclick`,e,i),!e.defaultPrevented&&(f.clicksContext.current=i,e.stopPropagation(),e.stopImmediatePropagation()))},n.onclick=e=>{r&&p(`markerClick`,e,i)},r&&f.autoScroll&&i===e&&n.scrollIntoView({block:`center`,behavior:`smooth`})}}let v=u();return e(()=>[f.noteHtml,f.highlight],()=>{n(()=>{v.value=g()})},{immediate:!0}),t(()=>{g()}),a(()=>{let e=f.clicksContext?.current??999999;v.value?.(e)}),(e,t)=>r.noteHtml?(_(),c(`div`,{key:0,ref_key:`noteDisplay`,ref:h,class:s([`prose dark:prose-invert overflow-auto outline-none slidev-note`,[f.class,m.value?`slidev-note-with-clicks`:``]]),innerHTML:r.noteHtml},null,10,D)):r.note?(_(),c(`div`,{key:1,class:s([`prose dark:prose-invert overflow-auto outline-none slidev-note`,f.class])},[o(`p`,{textContent:l(r.note)},null,8,O)],2)):(_(),c(`div`,{key:2,class:s([`prose dark:prose-invert overflow-auto outline-none opacity-50 italic select-none slidev-note`,f.class])},[o(`p`,{textContent:l(f.placeholder||`No notes.`)},null,8,k)],2))}});export{E as n,M as t};
 
 
2026/july-release-party/assets/slidev/NoteEditable-CPfOWw_X.js DELETED
@@ -1 +0,0 @@
1
- import{J as e,N as t,Q as n,T as r,Y as i,_t as a,b as o,ct as s,d as c,gt as l,l as u,pt as d,v as f,yt as p,z as m}from"../modules/shiki-CSYx1hey.js";import{O as h,S as g,o as _}from"../modules/vue-CTLtUbT_.js";import{t as v}from"../index-CHOd5jjo.js";import{t as y}from"./NoteDisplay-BcP1TlLl.js";var b=[`placeholder`],x=r({__name:`NoteEditable`,props:{no:{type:Number,required:!0},class:{default:``},editing:{default:!1},style:{default:()=>({})},placeholder:{default:`No notes for this slide`},clicksContext:{type:Object},highlight:{default:!0},autoHeight:{default:!1}},emits:[`update:editing`,`markerDblclick`,`markerClick`],setup(r,{emit:x}){let S=r,C=x,w=g(S,`editing`,C,{passive:!0}),{info:T,update:E}=v(d(S,`no`)),D=s(``),O,{ignoreUpdates:k}=h(D,e=>{if(!w.value)return;let t=S.no;clearTimeout(O),O=setTimeout(()=>{E({note:e},t)},500)});e(()=>T.value?.note,(e=``)=>{w.value||(clearTimeout(O),k(()=>{D.value=e}))},{immediate:!0,flush:`sync`});let A=s(),j=s();i(()=>{w.value&&A.value?.focus()}),_(A,()=>{w.value=!1});function M(){!S.autoHeight||!A.value||!w.value||A.value.scrollHeight>A.value.clientHeight&&(A.value.style.height=`${A.value.scrollHeight}px`)}function N(e){w.value&&e.metaKey&&e.key===`s`&&(e.preventDefault(),E({note:D.value},S.no))}return e([D,w],()=>{t(()=>{M()})},{flush:`post`,immediate:!0}),(e,t)=>l(w)?n((m(),o(`textarea`,{key:1,ref_key:`inputEl`,ref:A,"onUpdate:modelValue":t[2]||=e=>D.value=e,class:a([`prose dark:prose-invert resize-none overflow-auto outline-none bg-transparent block border-primary border-2 slidev-note placeholder:op25`,[S.class,D.value?``:`italic`]]),style:p([S.style,j.value==null?{}:{height:`${j.value}px`}]),placeholder:r.placeholder,onKeydown:[t[3]||=c(e=>w.value=!1,[`esc`]),N]},null,46,b)),[[u,D.value]]):(m(),f(y,{key:0,class:a([`border-transparent border-2`,[S.class,D.value?``:`opacity-25 italic select-none`]]),style:p(S.style),note:D.value||r.placeholder,"note-html":l(T)?.noteHTML,"clicks-context":r.clicksContext,"auto-scroll":!r.autoHeight,highlight:S.highlight,onMarkerClick:t[0]||=(e,t)=>C(`markerClick`,e,t),onMarkerDblclick:t[1]||=(e,t)=>C(`markerDblclick`,e,t)},null,8,[`class`,`style`,`note`,`note-html`,`clicks-context`,`auto-scroll`,`highlight`]))}});export{x as t};
 
 
2026/july-release-party/assets/slidev/SlideContainer-8Ec60cME.js DELETED
@@ -1 +0,0 @@
1
- import{H as e,J as t,L as n,R as r,T as i,X as a,Y as o,_ as s,b as c,ct as l,g as u,i as d,ot as f,p,y as m,yt as h,z as g}from"../modules/shiki-CSYx1hey.js";import{$ as _,B as v,Q as y,Z as b,j as x,n as S}from"../useNav-Bvv0p3kN.js";import{t as C}from"../_plugin-vue_export-helper-BDNMzG2s.js";import{M as w,f as T}from"../modules/vue-CTLtUbT_.js";import{_ as E,g as D}from"./context-T2gS7_mS.js";import{n as O,r as k,t as A}from"../syncState-DFfDxw0Y.js";import{d as j}from"../index-CHOd5jjo.js";var M=f({}),N=[],P=[];O(M,`$syncUp`,!0),O(M,`$syncDown`,!0),O(M,`$paused`,!1),O(M,`$onSet`,e=>N.push(e)),O(M,`$onPatch`,e=>P.push(e)),k(),O(M,`$patch`,async()=>!1);var F=A(M,M,!0),I=window.navigator.userAgent.match(/Chrome\/(\d+)/)?.[1];I&&Number(I);var L=window.navigator.userAgent.match(/Chrome\/(\d+)/)?.[1];L&&Number(L);var R=new class{_screenshotSession=null;getSnapshot(e,t){let n=e+(t?`-dark`:`-light`),r=F.state[n];if(!r)return;let i=v(e);if(i&&r?.revision===i?.meta.slide.revision)return r.image}async saveSnapshot(e,t,n){return!1}async startCapturing(e){return!1}},z=[`id`],B=[`id`],V={class:`slidev-slide-container w-full h-full relative`},H=[`src`],U=l(null),W=C(i({__name:`SlideContainer`,props:{width:{type:Number},meta:{default:()=>({})},isMain:{type:Boolean,default:!1},no:{type:Number,required:!1},useSnapshot:{type:Boolean,default:!1},contentStyle:{type:Object,default:()=>({})}},setup(i){let f=i,{isPrintMode:v}=S(),C=l(null),O=T(C),k=l(null),A=u(()=>f.width??O.width.value),M=u(()=>f.width?f.width/b.value:O.height.value),N=u(()=>x.value&&!v.value?+x.value:Math.min(A.value/_.value,M.value/y.value)),P=u(()=>({...f.contentStyle,height:`${y.value}px`,width:`${_.value}px`,"--slidev-slide-scale":N.value})),F=u(()=>f.width?{width:`${f.width}px`,height:`${f.width/b.value}px`}:{});if(f.isMain){let e=document.documentElement.style;o(()=>e.setProperty(`--slidev-slide-scale`,N.value.toString())),r(()=>e.removeProperty(`--slidev-slide-scale`))}w(E,N),w(D,k),a(()=>{f.isMain&&(U.value=k.value)}),n(()=>{t(()=>f.isMain&&N.value,()=>{d()})});let I=u(()=>{if(!(f.no==null||!f.useSnapshot))return R.getSnapshot(f.no,j.value)});return(t,n)=>I.value?(g(),c(p,{key:1},[m(` Image Snapshot `),s(`div`,V,[s(`img`,{src:I.value,class:`w-full h-full object-cover`,style:h(F.value)},null,12,H),n[0]||=s(`div`,{absolute:``,"bottom-1":``,"right-1":``,"p0.5":``,"text-cyan:75":``,"bg-cyan:10":``,rounded:``,title:`Snapshot`},[s(`div`,{class:`i-carbon-camera`})],-1)])],2112)):(g(),c(`div`,{key:0,id:i.isMain?`slide-container`:void 0,ref_key:`container`,ref:C,class:`slidev-slide-container`,style:h(F.value)},[s(`div`,{id:i.isMain?`slide-content`:void 0,ref_key:`slideElement`,ref:k,class:`slidev-slide-content`,style:h(P.value)},[e(t.$slots,`default`,{},void 0,!0)],12,B),e(t.$slots,`controls`,{},void 0,!0)],12,z))}}),[[`__scopeId`,`data-v-20e025db`]]);export{U as n,W as t};
 
 
2026/july-release-party/assets/slidev/TimerBar-nldsflyC.js DELETED
@@ -1 +0,0 @@
1
- import{C as e,T as t,V as n,Z as r,_t as i,a,b as o,g as s,gt as c,ot as l,p as u,pt as d,y as f,yt as p,z as m}from"../modules/shiki-CSYx1hey.js";import{G as h,n as g,nt as _}from"../useNav-Bvv0p3kN.js";import{F as v}from"../modules/vue-CTLtUbT_.js";import{o as y}from"../index-CHOd5jjo.js";var b={class:`relative flex gap-px`},x=t({__name:`CurrentProgressBar`,props:{clicksContext:{},current:{}},setup(t){let l=t,d=g(),h=s(()=>l.clicksContext??d.clicksContext.value),_=s(()=>l.current??d.currentSlideNo.value),{total:v}=d;return(t,s)=>(m(),o(`div`,b,[(m(!0),o(u,null,n(c(v)-1,t=>(m(),o(`div`,{key:t,class:i([`border-x border-b border-main h-4px transition-all`,t<_.value?`bg-primary border-primary`:``]),style:p({width:`${1/(c(v)-1)*100}%`})},[e(a,{name:`fade`},{default:r(()=>[t===_.value?(m(),o(`div`,{key:0,class:`h-full bg-primary op75 transition-all`,style:p({width:`${h.value.total===0?0:h.value.current/(h.value.total+1)*100}%`})},null,4)):f(`v-if`,!0)]),_:2},1024)],6))),128))]))}});function S(){let e=s(()=>_.timer||`stopwatch`),t=s(()=>h(_.duration).seconds),n=v(100,{controls:!0}),r=d(y,`timer`),i=s(()=>r.value?.status),a=s(()=>(n.counter.value,r.value.status===`stopped`||!r.value.startedAt?0:r.value.status===`paused`?r.value.pausedAt-r.value.startedAt:Date.now()-r.value.startedAt)),o=s(()=>a.value/1e3),c=s(()=>o.value/t.value*100),l=s(()=>{if(e.value===`stopwatch`&&(r.value.status===`stopped`||!r.value.startedAt))return{h:``,m:`-`,s:`--`,ms:`-`};let n=e.value===`countdown`?t.value*1e3-a.value:a.value,i=Math.floor(n/1e3/60/60).toString();i===`0`&&(i=``);let o=Math.floor(n/1e3/60%60).toString();i&&(o=o.padStart(2,`0`));let s=Math.floor(n/1e3%60).toString().padStart(2,`0`),c=Math.floor(n%1e3/100).toString();return{h:i,m:o,s,ms:c}});function u(){n.pause(),r.value={status:`stopped`,slides:{},startedAt:0,pausedAt:0}}function f(){r.value&&(r.value?.status===`stopped`?(r.value.status=`running`,r.value.startedAt=Date.now()):r.value.status===`paused`&&(r.value.status=`running`,r.value.startedAt=Date.now()-(r.value.pausedAt-r.value.startedAt)),n.resume())}function p(){r.value.status=`paused`,r.value.pausedAt=Date.now(),n.pause()}function m(){r.value.status===`running`?p():f()}return{state:r,status:i,timer:l,reset:u,toggle:m,resume:f,pause:p,passed:o,percentage:c,duration:t,mode:e}}var C={class:`border-b mt-px border-main relative flex h-4px`},w=t({__name:`TimerBar`,setup(e){let t=l(S()),n=s(()=>t.status===`stopped`?`op50`:t.status===`paused`?`bg-blue`:t.percentage>100?`bg-red`:t.percentage>80?`bg-yellow`:`bg-green`);return(e,r)=>(m(),o(`div`,C,[t.status===`stopped`?f(`v-if`,!0):(m(),o(`div`,{key:0,class:i([`h-4px`,n.value]),style:p({width:`${t.percentage}%`})},null,6)),f(` {{ timesplits }} `)]))}});export{S as n,x as r,w as t};
 
 
2026/july-release-party/assets/slidev/notes-Ds27Z8l2.js DELETED
@@ -1 +0,0 @@
1
- import{C as e,J as t,S as n,T as r,Z as i,_ as a,b as o,bt as s,ct as c,g as l,gt as u,p as d,yt as f,z as p}from"../modules/shiki-CSYx1hey.js";import{K as m,d as h,et as g,n as _}from"../useNav-Bvv0p3kN.js";import{h as v}from"../modules/vue-CTLtUbT_.js";import{o as y,p as b}from"../index-CHOd5jjo.js";import{t as x}from"./IconButton-vxnWUGrP.js";import{t as S}from"./Modal-BxeCmxtV.js";import{n as C,t as w}from"./NoteDisplay-BcP1TlLl.js";import{r as T,t as E}from"./TimerBar-nldsflyC.js";var D={class:`flex my-1`},O={class:`h-full flex flex-col`},k={class:`flex-none border-t border-main`,px3:``,py2:``},A={class:`flex-none border-t border-main`},j={class:`flex gap-1 items-center px-6 py-3`},M={key:0,class:`i-carbon:minimize`},N={key:1,class:`i-carbon:maximize`},P={class:`px2 my-auto`},F={class:`text-lg`},I={class:`opacity-50 text-sm`},L=r({__name:`notes`,setup(r){b({title:`Notes - ${g}`});let{slides:L,total:R}=_(),{isFullscreen:z,toggle:B}=h,V=c(),H=v(`slidev-notes-font-size`,18),U=l(()=>y.page),W=c(!1),G=l(()=>L.value.find(e=>e.no===U.value));t(U,()=>{V.value?.scrollTo({left:0,top:0,behavior:`smooth`}),window.scrollTo({left:0,top:0,behavior:`smooth`})});function K(){H.value+=1}function q(){--H.value}let J=l(()=>{let e=y.clicks,t=y.clicksTotal;return m(c(e),void 0,t)});return(t,r)=>(p(),o(d,null,[e(S,{modelValue:W.value,"onUpdate:modelValue":r[1]||=e=>W.value=e,class:`px-6 py-4 flex flex-col gap-2`},{default:i(()=>[r[3]||=a(`div`,{class:`flex gap-2 text-xl`},[a(`div`,{class:`i-carbon:information my-auto`}),n(` Help `)],-1),r[4]||=a(`div`,{class:`prose dark:prose-invert`},[a(`p`,null,`This is the hands-free live notes viewer.`),a(`p`,null,`It's designed to be used in a separate view or device. The progress is controlled by and auto synced with the main presenter or slide.`)],-1),a(`div`,D,[a(`button`,{class:`slidev-form-button`,onClick:r[0]||=e=>W.value=!1},` Close `)])]),_:1},8,[`modelValue`]),a(`div`,O,[e(T,{"clicks-context":J.value,current:U.value},null,8,[`clicks-context`,`current`]),e(E),a(`div`,{ref_key:`scroller`,ref:V,class:`px-5 py-3 flex-auto h-full overflow-auto`,style:f({fontSize:`${u(H)}px`})},[e(w,{note:G.value?.meta.slide.note,"note-html":G.value?.meta.slide.noteHTML,placeholder:`No notes for Slide ${U.value}.`,"clicks-context":J.value,"auto-scroll":!0},null,8,[`note`,`note-html`,`placeholder`,`clicks-context`])],4),a(`div`,k,[e(C,{"clicks-context":J.value,readonly:``},null,8,[`clicks-context`])]),a(`div`,A,[a(`div`,j,[e(x,{title:u(z)?`Close fullscreen`:`Enter fullscreen`,onClick:u(B)},{default:i(()=>[u(z)?(p(),o(`div`,M)):(p(),o(`div`,N))]),_:1},8,[`title`,`onClick`]),e(x,{title:`Increase font size`,onClick:K},{default:i(()=>[...r[5]||=[a(`div`,{class:`i-carbon:zoom-in`},null,-1)]]),_:1}),e(x,{title:`Decrease font size`,onClick:q},{default:i(()=>[...r[6]||=[a(`div`,{class:`i-carbon:zoom-out`},null,-1)]]),_:1}),e(x,{title:`Edit notes`,to:`/notes-edit`,target:`_blank`},{default:i(()=>[...r[7]||=[a(`div`,{class:`i-carbon:edit`},null,-1)]]),_:1}),e(x,{title:`Help`,class:`rounded-full`,onClick:r[2]||=e=>W.value=!0},{default:i(()=>[...r[8]||=[a(`div`,{class:`i-carbon:help`},null,-1)]]),_:1}),r[9]||=a(`div`,{class:`flex-auto`},null,-1),a(`div`,P,[a(`span`,F,s(U.value),1),a(`span`,I,` / `+s(u(R)),1)])])])])],64))}});export{L as default};
 
 
2026/july-release-party/assets/slidev/notes-edit-xXUwA9Qr.js DELETED
@@ -1,2 +0,0 @@
1
- import{C as e,Q as t,S as n,T as r,Z as i,_ as a,b as o,ct as s,l as c,p as l,z as u}from"../modules/shiki-CSYx1hey.js";import{et as d,n as f}from"../useNav-Bvv0p3kN.js";import{D as p}from"../modules/vue-CTLtUbT_.js";import{p as m,t as h}from"../index-CHOd5jjo.js";import{t as g}from"./IconButton-vxnWUGrP.js";import{t as _}from"./Modal-BxeCmxtV.js";var v={class:`flex my-1`},y={class:`h-full`},b={class:`slidev-glass-effect fixed bottom-5 right-5 rounded-full border border-main`},x=r({__name:`notes-edit`,setup(r){let x=/^---\s*#(\d+)\s*$/;m({title:`Notes Edit - ${d}`});let{slides:S}=f(),C=s(!1),w=s(T(S.value));function T(e){let t=[];for(let n of e)n.meta.slide.note?.trim()&&(t.push(`--- #${n.no}`),t.push(``),t.push(n.meta.slide.note),t.push(``));return t.join(`
2
- `)}function E(e,t){let n=e.split(/^(---\s*#\d+\s*)$/gm);n.forEach((e,r)=>{let i=e.match(x);if(i){let e=Number.parseInt(i[1]),a=n[r+1].trim(),o=t.find(t=>t.no===e);o&&(o.meta.slide.note=a,h(e).update({note:a}))}})}return p(w,e=>{E(e,S.value)},{debounce:300}),(r,s)=>(u(),o(l,null,[e(_,{modelValue:C.value,"onUpdate:modelValue":s[1]||=e=>C.value=e,class:`px-6 py-4 flex flex-col gap-2`},{default:i(()=>[s[4]||=a(`div`,{class:`flex gap-2 text-xl`},[a(`div`,{class:`i-carbon:information my-auto`}),n(` Help `)],-1),s[5]||=a(`div`,{class:`prose dark:prose-invert`},[a(`p`,null,`This is the batch notes editor. You can edit the notes for all the slides at once here.`),a(`p`,null,[n(`The note for each slide are separated by `),a(`code`,null,`--- #[no]`),n(` lines, you might want to keep them while editing.`)])],-1),a(`div`,v,[a(`button`,{class:`slidev-form-button`,onClick:s[0]||=e=>C.value=!1},` Close `)])]),_:1},8,[`modelValue`]),a(`div`,y,[a(`div`,b,[e(g,{title:`Help`,class:`rounded-full`,onClick:s[2]||=e=>C.value=!0},{default:i(()=>[...s[6]||=[a(`div`,{class:`i-carbon:help text-2xl`},null,-1)]]),_:1})]),t(a(`textarea`,{"onUpdate:modelValue":s[3]||=e=>w.value=e,class:`prose dark:prose-invert resize-none p5 outline-none bg-transparent block h-full w-full! max-w-full! max-h-full! min-h-full! min-w-full!`},null,512),[[c,w.value]])])],64))}});export{x as default};
 
 
 
2026/july-release-party/assets/slidev/overview-hsiYbMBA.js DELETED
@@ -1 +0,0 @@
1
- import{C as e,L as t,N as n,R as r,T as i,V as a,Z as o,_ as s,_t as c,b as l,bt as u,ct as d,dt as ee,g as f,gt as p,ot as m,p as h,v as g,y as _,yt as v,z as y}from"../modules/shiki-CSYx1hey.js";import{V as b,X as x,Z as te,et as ne,n as re,q as ie,z as S}from"../useNav-Bvv0p3kN.js";import{t as C}from"../_plugin-vue_export-helper-BDNMzG2s.js";import{B as ae,V as oe}from"../modules/vue-CTLtUbT_.js";import{l as w}from"./context-T2gS7_mS.js";import{d as T,f as se,p as ce,u as le}from"../index-CHOd5jjo.js";import{t as E}from"./IconButton-vxnWUGrP.js";import{t as ue}from"./DrawingPreview-Deq4DPKw.js";import{n as D}from"./NoteDisplay-BcP1TlLl.js";import{n as de,r as fe}from"../modules/unplugin-icons-CU14lr-e.js";import{t as pe}from"./NoteEditable-CPfOWw_X.js";import{t as me}from"./SlideContainer-8Ec60cME.js";import{t as he}from"../SlideWrapper-Dzm8dNDw.js";var ge={class:`h-screen w-screen of-hidden flex`},_e={key:0,class:`grid grid-rows-[auto_max-content] border-r border-main select-none max-h-full h-full`},ve={class:`relative`},ye={class:`absolute left-0 top-0 bottom-0 w-200 flex flex-col flex-auto items-end group p-6px md:p-10px gap-1 max-h-full of-x-visible of-y-auto`,style:{direction:`rtl`}},be=[`onClick`],xe={p2:``,border:`t main`},Se={class:`flex flex-col gap-1 mx-1 items-end`},Ce={key:0,class:`flex items-end gap-2`},we=[`onClick`],Te=[`onDblclick`],Ee={key:2,class:`select-none absolute bottom-0 right-0 bg-main rounded-tl p2 op35 text-xs`},De={key:1,class:`absolute z-2 top-0 right-0 px3 py1.5 border-b border-l rounded-lb bg-main/80 backdrop-blur border-main select-none`},Oe={class:`text-xs op50`},O=450,k=C(i({__name:`overview`,setup(i){ce({title:`Overview - ${ne}`});let C=ae(),k=oe(),{openInEditor:ke,slides:A,isEmbedded:j}=re(),M=f(()=>C.query.mode===`preview`),N=f(()=>M.value&&j.value),P=f(()=>M.value?N.value?Math.max(0,S.width.value-16):Math.min(900,Math.max(320,S.width.value-160)):O),Ae=f(()=>P.value/te.value),F=m(new Map),I=m(new Map),L=d([]),R=d(),z=d(null),B=0,V,H,U=f(()=>A.value.map(e=>Pe(e.meta?.slide?.note||``))),je=f(()=>U.value.reduce((e,t)=>e+t,0)),Me=f(()=>A.value.map(e=>q(e)).reduce((e,t)=>e+t,0)),Ne=f(()=>String(Math.max(1,A.value.length)).length),W=ee(),G=new WeakMap;function K(e){return G.has(e)||G.set(e,ie(e,w)),G.get(e)}function q(e){return e.meta?.clicks||K(e)?.total}function J(e){W.value===e?W.value=void 0:W.value=e}function Pe(e){let t=e.match(/[\w`'\-\u0392-\u03C9\u00C0-\u00FF\u0600-\u06FF\u0400-\u04FF]+|[\u4E00-\u9FFF\u3400-\u4DBF\uF900-\uFAFF\u3040-\u309F\uAC00-\uD7AF]+/g),n=0;if(!t)return 0;for(let e=0;e<t.length;e++)t[e].charCodeAt(0)>=19968?n+=t[e].length:n+=1;return n}function Fe(){let e=window.innerHeight||document.documentElement.clientHeight,t,n=[];for(let[r,i]of F.entries()){let a=i.getBoundingClientRect(),o=Math.max(0,Math.min(a.bottom,e)-Math.max(a.top,0));o!==0&&(o>=a.height&&n.push(r),(!t||o>t.visibleHeight)&&(t={idx:r,visibleHeight:o}))}L.value=n.length?n:t?[t.idx]:[]}function Y(e){let t=document.createElement(`a`);t.target=`_blank`,t.href=x+e.slice(1),t.click()}function Ie(e){let t=new URL(x+e.slice(1),location.href).href;if(j.value){window.parent.postMessage({target:`slidev`,sender:`slidev`,type:`open-external`,url:t},`*`);return}Y(e)}function Le(e){let t=F.get(e);t&&t.scrollIntoView({behavior:`smooth`,block:`start`})}function X(e){let t=I.get(e)||F.get(e);if(!t||!R.value)return null;let n=R.value.getBoundingClientRect();return t.getBoundingClientRect().top-n.top+R.value.scrollTop}function Z(e){if(!R.value||A.value.length===0)return;let t=Math.min(Math.max(e,1),A.value.length),n=Math.floor(t)-1,r=t-(n+1),i=X(n),a=X(n+1);if(i==null)return;let o=i+(a==null?0:(a-i)*r)-R.value.clientHeight*.5;Math.abs(R.value.scrollTop-o)<1||R.value.scrollTo({top:o})}function Re(){let e=C.query.slideNo,t=Number(Array.isArray(e)?e[0]:e);return Number.isFinite(t)&&t>0?t:void 0}function Q(e){if(!N.value)return;let t=Number(e.toFixed(3)).toString();C.query.slideNo!==t&&k.replace({query:{...C.query,slideNo:t}})}function ze(){if(!R.value||A.value.length===0)return null;let e=R.value.scrollTop+R.value.clientHeight*.5,t=A.value.map((e,t)=>X(t)).filter(e=>e!=null);if(t.length===0)return null;if(t.length===1||e<=t[0])return 1;for(let n=1;n<t.length;n++)if(e<=t[n]){let r=Math.max(1,t[n]-t[n-1]);return n+(e-t[n-1])/r}return A.value.length}function Be(e){V=e,!H&&(H=setTimeout(()=>{H=void 0;let e=V;V=void 0,e!=null&&(Q(e),!(Date.now()<B)&&window.parent.postMessage({target:`slidev`,sender:`slidev`,type:`overview-scroll`,no:e},`*`))},50))}function Ve(){if(Fe(),!N.value||Date.now()<B)return;let e=ze();e!=null&&Be(e)}function $({data:e}){if(!N.value||e?.target!==`slidev`||e.sender!==`vscode`||e.type!==`overview-scroll`)return;let t=Number(e.no);t>0&&(B=Date.now()+300,V=void 0,Q(t),Z(t))}function He(e,t,n){let r=K(n);r.current===t?r.current=w:r.current=t,e.preventDefault()}function Ue(e,t){if(e.ctrlKey||e.metaKey){e.preventDefault(),Ie(b(t,!1));return}let n=t.meta?.slide;n&&window.parent.postMessage({target:`slidev`,type:`command`,command:`goto`,args:[n.filepath,n.sourceIndex]},`*`)}return t(()=>{window.addEventListener(`message`,$);let e=N.value?Re():void 0;e!=null&&(B=Date.now()+300,Z(e)),n(()=>{e!=null&&Z(e),Fe()})}),r(()=>{window.removeEventListener(`message`,$),H&&clearTimeout(H)}),(t,n)=>{let r=de,i=fe;return y(),l(`div`,ge,[p(j)?_(`v-if`,!0):(y(),l(`nav`,_e,[s(`div`,ve,[s(`div`,ye,[(y(!0),l(h,null,a(p(A),(e,t)=>(y(),l(`div`,{key:e.no,class:`relative`,style:{direction:`ltr`}},[s(`button`,{class:c([`relative transition duration-300 w-8 h-8 rounded hover:bg-active hover:op100`,L.value.includes(t)?`op100 text-primary bg-gray:5`:`op20`]),onClick:e=>Le(t)},[s(`div`,null,u(t+1),1)],10,be),e.meta?.slide?.title?(y(),l(`div`,{key:0,class:c([`pointer-events-none select-none absolute left-110% top-50% translate-y--50% ws-nowrap z-label px2 slidev-glass-effect transition duration-400 op0 group-hover:op100`,L.value.includes(t)?`text-primary`:`text-main important-text-op-50`])},u(e.meta?.slide?.title),3)):_(`v-if`,!0)]))),128))])]),s(`div`,xe,[p(le)?(y(),g(E,{key:1,title:p(T)?`Dark mode`:`Light mode`,"pointer-events-none":``,op50:``},{default:o(()=>[p(T)?(y(),g(r,{key:0})):(y(),g(i,{key:1}))]),_:1},8,[`title`])):(y(),g(E,{key:0,title:p(T)?`Switch to light mode theme`:`Switch to dark mode theme`,onClick:n[0]||=e=>p(se)()},{default:o(()=>[p(T)?(y(),g(r,{key:0})):(y(),g(i,{key:1}))]),_:1},8,[`title`]))])])),s(`main`,{ref_key:`scroller`,ref:R,class:`flex-1 h-full of-auto`,style:v(`grid-template-columns: repeat(auto-fit,minmax(${O}px,1fr))`),onScroll:Ve},[(y(!0),l(h,null,a(p(A),(t,r)=>(y(),l(`div`,{key:t.no,ref_for:!0,ref:e=>F.set(r,e),class:c([`overview-slide-block relative of-hidden flex gap-4 min-h-50`,[r===0&&!N.value?`pt2`:``,N.value?`justify-center`:`border-t border-main`]])},[N.value?_(`v-if`,!0):(y(),l(`div`,{key:0,class:c([`select-none text-right my5 flex flex-col justify-between items-end`,M.value?`w-9`:`w-13`]),style:v({height:`${Ae.value}px`})},[s(`div`,{class:`self-center text-3xl op20 mb2 text-center mr--14px tabular-nums`,style:v({width:`${Ne.value}ch`})},u(r+1),5),s(`div`,Se,[e(E,{class:c([`overview-slide-action mr--4 op0`,M.value?`text-lg`:``]),title:`Play in new tab`,onClick:e=>Y(p(b)(t,!1))},{default:o(()=>[...n[4]||=[s(`div`,{class:`i-carbon:presentation-file`},null,-1)]]),_:1},8,[`class`,`onClick`]),_(`v-if`,!0)])],6)),s(`div`,{class:c([`flex flex-col`,N.value?`my1 gap-0`:`my5 gap-2`]),style:v({width:`${P.value}px`})},[N.value?(y(),l(`div`,Ce,[s(`button`,{type:`button`,class:`select-none pl-1 text-lg leading-tight op60 tabular-nums hover:op90 hover:underline underline-offset-2`,onClick:e=>Ue(e,t)},u(r+1),9,we),q(t)?(y(),g(D,{key:0,active:W.value===t,"clicks-context":K(t),resettable:``,compact:``,attached:``,class:`ml-auto w-88 min-w-[70%] max-w-[calc(100%-3rem)]`,onDblclick:e=>J(t),onActivate:e=>W.value=t,onReset:n[1]||=e=>W.value=void 0},null,8,[`active`,`clicks-context`,`onDblclick`,`onActivate`])):_(`v-if`,!0)])):_(`v-if`,!0),s(`div`,{ref_for:!0,ref:e=>I.set(r,e),class:c([`border rounded border-main overflow-hidden bg-main h-max`,[N.value&&q(t)?`rounded-tr-0`:``,N.value?``:`select-none`]]),onDblclick:e=>!N.value&&Y(p(b)(t,!1))},[(y(),g(me,{key:t.no,width:P.value,class:c(N.value?``:`pointer-events-none important:[&_*]:select-none`)},{default:o(()=>[e(he,{"clicks-context":K(t),route:t,"render-context":`overview`},null,8,[`clicks-context`,`route`]),e(ue,{page:t.no},null,8,[`page`])]),_:2},1032,[`width`,`class`]))],42,Te),q(t)&&!N.value?(y(),g(D,{key:1,active:W.value===t,"clicks-context":K(t),resettable:``,class:c([`ml-1 w-[calc(100%-0.25rem)]`,M.value?``:`mt-2`]),onDblclick:e=>J(t),onActivate:e=>W.value=t,onReset:n[2]||=e=>W.value=void 0},null,8,[`active`,`clicks-context`,`class`,`onDblclick`,`onActivate`])):_(`v-if`,!0)],6),M.value?_(`v-if`,!0):(y(),g(pe,{key:1,no:t.no,class:`relative z-1 max-w-250 w-250 text-lg rounded p3`,"auto-height":!0,highlight:W.value===t,editing:z.value===t.no,"clicks-context":K(t),onDblclick:e=>z.value===t.no?null:z.value=t.no,"onUpdate:editing":n[3]||=e=>z.value=null,onMarkerClick:(e,n)=>He(e,n,t)},null,8,[`no`,`highlight`,`editing`,`clicks-context`,`onDblclick`,`onMarkerClick`])),!M.value&&U.value[r]>0?(y(),l(`div`,Ee,u(U.value[r])+` words `,1)):_(`v-if`,!0)],2))),128))],36),p(j)?_(`v-if`,!0):(y(),l(`div`,De,[s(`div`,Oe,u(p(A).length)+` slides · `+u(Me.value+p(A).length-1)+` clicks · `+u(je.value)+` words `,1)]))])}}}),[[`__scopeId`,`data-v-264c1f43`]]);export{k as default};
 
 
2026/july-release-party/assets/slidev/play-DB-pdyLF.js DELETED
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DrawingControls-RNrmRGU8.js","../rolldown-runtime-QTnfLwEv.js","../modules/shiki-CSYx1hey.js","../modules/shiki-BrmBd2_v.css","../modules/vue-CTLtUbT_.js","../useDrawings-CRXmHsXD.js","../useNav-Bvv0p3kN.js","../_plugin-vue_export-helper-BDNMzG2s.js","./context-T2gS7_mS.js","../index-CHOd5jjo.js","../syncState-DFfDxw0Y.js","../index-ZqsSdHV_.css","./IconButton-vxnWUGrP.js","./VerticalDivider-D7q6yjRB.js","../DrawingControls-Dhbx0szf.css"])))=>i.map(i=>d[i]);
2
- import{C as e,J as t,S as n,T as r,Z as i,_ as a,_t as o,at as s,b as c,ct as l,dt as u,g as d,gt as f,p,rt as m,v as h,y as g,yt as _,z as v}from"../modules/shiki-CSYx1hey.js";import{A as y,D as b,I as x,J as S,L as C,T as w,g as T,n as E,nt as D,p as O,y as k}from"../useNav-Bvv0p3kN.js";import{S as A,p as j}from"../modules/vue-CTLtUbT_.js";import{o as M}from"../index-CHOd5jjo.js";import{t as N}from"../useDrawings-CRXmHsXD.js";import{t as P}from"./Modal-BxeCmxtV.js";import{t as F}from"../modules/unplugin-icons-CU14lr-e.js";import{t as I}from"./SlideContainer-8Ec60cME.js";import{a as L,c as R,d as z,f as B,l as V,n as H,r as U,s as W,t as G,u as K}from"./shortcuts-CSCoA7ao.js";var q=2e3;function J(e){let n=d(()=>e.value&&O.value);function r(){document.body.style.cursor=`none`}function i(){document.body.style.cursor=``}let a=null;t(n,e=>{e||(i(),a&&clearTimeout(a),a=null)}),s(()=>{i(),a&&clearTimeout(a),a=null}),j(document.body,[`pointermove`,`pointerdown`],()=>{i(),a&&clearTimeout(a),a=n.value?setTimeout(r,q):null},{passive:!0})}``+new URL(`../logo-BYkHSa_O.png`,import.meta.url).href;var Y={class:`slidev-info-dialog slidev-layout flex flex-col gap-4 text-base`},X=[`innerHTML`],Z=r({__name:`InfoDialog`,props:{modelValue:{default:!1}},emits:[`update:modelValue`],setup(e,{emit:t}){let r=A(e,`modelValue`,t),o=d(()=>typeof D.info==`string`);return(e,t)=>(v(),h(P,{modelValue:f(r),"onUpdate:modelValue":t[0]||=e=>m(r)?r.value=e:null,class:`px-6 py-4`},{default:i(()=>[a(`div`,Y,[o.value?(v(),c(`div`,{key:0,class:`mb-4`,innerHTML:f(D).info},null,8,X)):g(`v-if`,!0),t[1]||=a(`a`,{href:`https://github.com/slidevjs/slidev`,target:`_blank`,class:`!opacity-100 !border-none !text-current`},[a(`div`,{class:`flex gap-1 children:my-auto`},[a(`div`,{class:`opacity-50 text-sm mr-2`},`Powered by`),a(`img`,{class:`w-5 h-5`,src:``+new URL(`../logo-BYkHSa_O.png`,import.meta.url).href,alt:`Slidev logo`}),a(`div`,{style:{color:`#2082A6`}},[a(`b`,null,`Sli`),n(`dev `)])])],-1)])]),_:1},8,[`modelValue`]))}}),Q=r({__name:`Controls`,setup(t){let{isEmbedded:n}=E(),r=!D.drawings.presenterOnly&&!n.value,i=u();r&&S(()=>import(`./DrawingControls-RNrmRGU8.js`).then(e=>e.n).then(e=>i.value=e.default),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url);let a=u(),o=u();return(t,n)=>(v(),c(p,null,[i.value?(v(),h(f(i),{key:0})):g(`v-if`,!0),e(W),e(R),a.value?(v(),h(f(a),{key:1})):g(`v-if`,!0),o.value?(v(),h(f(o),{key:2,modelValue:f(y),"onUpdate:modelValue":n[0]||=e=>m(y)?y.value=e:null},null,8,[`modelValue`])):g(`v-if`,!0),f(D).info?(v(),h(Z,{key:3,modelValue:f(b),"onUpdate:modelValue":n[1]||=e=>m(b)?b.value=e:null},null,8,[`modelValue`])):g(`v-if`,!0),e(V)],64))}}),$={key:0,class:`absolute top-0 left-0 right-0 bottom-0 pointer-events-none text-xl`},ee=r({__name:`PresenterMouse`,setup(t){return(t,n)=>{let r=F;return f(M).cursor?.style===`cursor`?(v(),c(`div`,$,[e(r,{class:`absolute stroke-white dark:stroke-black`,style:_({left:`${f(M).cursor.x}%`,top:`${f(M).cursor.y}%`,strokeWidth:16})},null,8,[`style`])])):g(`v-if`,!0)}}}),te=r({__name:`play`,setup(t){let{next:n,prev:r,isPrintMode:s,isPlaying:m,isEmbedded:_}=E(),{isDrawing:y}=N(),b=l();function S(e){w.value||e.button===0&&e.target?.id===`slide-container`&&(e.pageX/window.innerWidth>.5?n():r())}B(b),G(),z(),J(d(()=>m.value&&!_.value&&!w.value));let D=d(()=>k.value||w.value),O=u(),A=d(()=>{let e=``;return x.value.brightness!==C.brightness&&(e+=`brightness(${x.value.brightness}) `),x.value.contrast!==C.contrast&&(e+=`contrast(${x.value.contrast}) `),x.value.sepia!==C.sepia&&(e+=`sepia(${x.value.sepia}) `),x.value.hueRotate!==C.hueRotate&&(e+=`hue-rotate(${x.value.hueRotate}deg) `),x.value.invert&&(e+=`invert(1) `),{filter:e}});return(t,n)=>(v(),c(p,null,[a(`div`,{id:`page-root`,ref_key:`root`,ref:b,class:o([`grid`,f(T)?`grid-rows-[1fr_max-content]`:`grid-cols-[1fr_max-content]`])},[e(I,{style:{background:`var(--slidev-slide-container-background, black)`},"is-main":``,"content-style":A.value,onPointerdown:S,onContextmenu:f(K)},{default:i(()=>[e(H,{"render-context":`slide`}),e(ee),e(L)]),controls:i(()=>[f(s)?g(`v-if`,!0):(v(),c(`div`,{key:0,class:o([`absolute bottom-0 left-0 transition duration-300 opacity-0 hover:opacity-100 focus-within:opacity-100 focus-visible:opacity-100`,[D.value?`!opacity-100 right-0`:`opacity-0 p-2`,f(y)?`pointer-events-none`:``]])},[e(U,{persist:D.value},null,8,[`persist`])],2))]),_:1},8,[`content-style`,`onContextmenu`]),O.value&&f(w)?(v(),h(f(O),{key:0,resize:!0})):g(`v-if`,!0)],2),f(s)?g(`v-if`,!0):(v(),h(Q,{key:0})),n[0]||=a(`div`,{id:`twoslash-container`},null,-1)],64))}});export{te as default};
 
 
 
2026/july-release-party/assets/slidev/presenter-C_4zp2e5.js DELETED
@@ -1 +0,0 @@
1
- import{C as e,J as t,L as n,Q as r,S as i,T as a,Y as o,Z as s,_ as c,_t as l,b as u,bt as d,ct as f,dt as p,g as m,gt as h,p as ee,q as g,rt as te,u as _,v,y,yt as b,z as x}from"../modules/shiki-CSYx1hey.js";import{K as ne,S as re,T as ie,et as ae,h as oe,k as se,n as ce,o as le,s as ue,x as S}from"../useNav-Bvv0p3kN.js";import{t as C}from"../_plugin-vue_export-helper-BDNMzG2s.js";import{_ as w,h as T,p as E,w as de}from"../modules/vue-CTLtUbT_.js";import{n as D,o as fe,p as pe}from"../index-CHOd5jjo.js";import{t as me}from"../useDrawings-CRXmHsXD.js";import{t as he}from"./DrawingControls-RNrmRGU8.js";import{t as ge}from"./IconButton-vxnWUGrP.js";import{n as _e,t as O}from"./NoteDisplay-BcP1TlLl.js";import{n as k,r as ve,t as ye}from"./TimerBar-nldsflyC.js";import"./NoteEditable-CPfOWw_X.js";import{t as A}from"./SlideContainer-8Ec60cME.js";import{t as be}from"../SlideWrapper-Dzm8dNDw.js";import{a as xe,c as Se,d as Ce,f as we,i as Te,l as Ee,n as De,o as Oe,r as ke,s as Ae,t as je,u as Me}from"./shortcuts-CSCoA7ao.js";var Ne=a({__name:`NoteStatic`,props:{no:{},class:{},clicksContext:{}},setup(e){let t=e,{info:n}=D(t.no);return(r,i)=>(x(),v(O,{class:l(t.class),note:h(n)?.note,"note-html":h(n)?.noteHTML,"clicks-context":e.clicksContext},null,8,[`class`,`note`,`note-html`,`clicks-context`]))}}),j={"h-full":``,"w-full":``},M={key:0,"w-full":``,"h-full":``,flex:`~ col gap-4 items-center justify-center`},Pe=a({__name:`ScreenCaptureMirror`,setup(e){let t=g(`video`),n=p(null),a=p(!1);async function o(){n.value=await navigator.mediaDevices.getDisplayMedia({video:{cursor:`always`},audio:!1,selfBrowserSurface:`include`,preferCurrentTab:!1}),t.value.srcObject=n.value,t.value.play(),a.value=!0,n.value.addEventListener(`inactive`,()=>{t.value.srcObject=null,a.value=!1}),n.value.addEventListener(`ended`,()=>{t.value.srcObject=null,a.value=!1})}return(e,n)=>(x(),u(`div`,j,[r(c(`video`,{ref_key:`video`,ref:t,class:`w-full h-full object-contain`},null,512),[[_,a.value]]),a.value?y(`v-if`,!0):(x(),u(`div`,M,[n[0]||=c(`div`,{op50:``},[i(` Use screen capturing to mirror your main screen back to presenter view.`),c(`br`),i(` Click the button below and `),c(`b`,null,`select your other monitor or window`),i(`. `)],-1),c(`button`,{class:`slidev-form-button`,onClick:o},` Start Screen Mirroring `)]))]))}}),N={class:`w-22px cursor-pointer`},P={class:`group-not-hover:hidden flex flex-col items-center`},F={key:0,class:`i-carbon:pause text-lg`},I={key:1,class:`i-carbon:play`},L={class:`text-3xl px-3 my-auto font-mono`},Fe=a({__name:`TimerInlined`,setup(e){let{status:t,percentage:n,mode:r,timer:i,reset:a,toggle:o}=k(),s=m(()=>t.value===`stopped`?`op50`:t.value===`paused`?`text-blue6 dark:text-blue3`:n.value>100?`text-red6 dark:text-red3`:n.value>80?`text-yellow6 dark:text-yellow3`:`text-green6 dark:text-green3`);return(e,n)=>(x(),u(`div`,{class:l([`group flex items-center justify-center pl-4 select-none`,s.value])},[c(`div`,N,[c(`div`,{class:l([`group-hover:hidden text-2xl`,h(r)===`countdown`?`i-carbon:timer`:`i-carbon:time`])},null,2),c(`div`,P,[c(`div`,{class:`relative op-80 hover:op-100`,onClick:n[0]||=(...e)=>h(o)&&h(o)(...e)},[h(t)===`running`?(x(),u(`div`,F)):(x(),u(`div`,I))]),c(`div`,{class:`op-80 hover:op-100`,onClick:n[1]||=(...e)=>h(a)&&h(a)(...e)},[...n[2]||=[c(`div`,{class:`i-carbon:renew`},null,-1)]])])]),c(`div`,L,[h(i).h?(x(),u(ee,{key:0},[c(`span`,null,d(h(i).h),1),n[3]||=c(`span`,{op50:``},`:`,-1)],64)):y(`v-if`,!0),c(`span`,null,d(h(i).m),1),n[4]||=c(`span`,{op50:``},`:`,-1),c(`span`,null,d(h(i).s),1)])],2))}}),Ie={class:`bg-main h-full slidev-presenter grid grid-rows-[max-content_1fr] of-hidden`},Le={flex:`~ gap-4 items-center`,border:`b main`,p1:``},Re={class:`relative grid-section next flex flex-col p-2 lg:p-4`},ze={key:2,class:`h-full flex justify-center items-center`},Be={key:3,class:`h-full grid grid-rows-[1fr_min-content]`},R=C(a({__name:`presenter`,setup(i){let a=de(),d=f(),g=f(),C=f(),D=f();je(),we(d),Ce();let{clicksContext:O,currentSlideNo:k,currentSlideRoute:j,hasNext:M,nextRoute:N,slides:P,getPrimaryClicks:F}=ce(),{isDrawing:I}=me();pe({title:`Presenter - ${ae}`}),f(!1);let L=m(()=>P.value.map(e=>{let t=f(0);return{context:ne(t,e?.meta.slide?.frontmatter.clicksStart??0,e?.meta.clicks),clicks:t}})),R=m(()=>O.value.current<O.value.total?[j.value,O.value.current+1]:M.value?[N.value,0]:null),z=m(()=>R.value&&L.value[R.value[0].no-1]);t(R,()=>{z.value&&R.value&&(z.value.clicks.value=R.value[1])},{immediate:!0});let B=T(`slidev-presenter-main-slide-mode`,`slides`),V=T(`slidev-presenter-notes-width`,360),H=T(`slidev-presenter-notes-row-size`,280),Ve=f(0),U=f(!1),W=f(!1),He=f(0),G=f(360),Ue=f(0),K=f(280),q={minNotesWidth:240,maxNotesWidth:720,minNotesRowSize:160,maxNotesWidthRatio:.7,maxNotesRowHeightRatio:.75},We=w(`(min-aspect-ratio: 1/1)`),J=w(`(max-aspect-ratio: 3/5)`),Y=m(()=>S.value===1&&We.value),X=m(()=>!(S.value===1&&J.value)),Z=m(()=>S.value===1&&!J.value||S.value===2||S.value===3),Ge=m(()=>S.value===1&&!J.value);function Ke(e){return Number.isFinite(e)?Math.max(q.minNotesWidth,Math.min(q.maxNotesWidth,Math.round(e))):q.minNotesWidth}function qe(e){let t=g.value;if(!t)return;let n=t.getBoundingClientRect(),r=e-He.value,i=Ke(Y.value?G.value-r:G.value+r),a=Math.round(n.width*q.maxNotesWidthRatio);V.value=Math.min(i,Math.max(q.minNotesWidth,a))}function Q(e){X.value&&e.button===0&&(e.preventDefault(),He.value=e.clientX,G.value=V.value,U.value=!0)}function $(e){return Number.isFinite(e)?Math.max(q.minNotesRowSize,Math.round(e)):q.minNotesRowSize}function Je(e){let t=g.value;if(!t)return;let n=t.getBoundingClientRect(),r=e-Ue.value,i=Ge.value?K.value-r:K.value+r,a=Math.round(n.height*q.maxNotesRowHeightRatio);H.value=Math.min($(i),Math.max(q.minNotesRowSize,a))}function Ye(e){if(!Z.value||e.button!==0)return;e.preventDefault();let t=S.value===2?d.value?.getBoundingClientRect().height:C.value?.getBoundingClientRect().height;Ue.value=e.clientY,K.value=$(t??H.value),W.value=!0}function Xe(){let e=D.value;e&&(Ve.value=Math.round(e.getBoundingClientRect().height))}function Ze(){U.value=!1,W.value=!1}function Qe(){Xe(),$e()}E(window,`pointermove`,e=>{U.value&&qe(e.clientX),W.value&&Je(e.clientY)}),E(window,`pointerup`,Ze),E(window,`pointercancel`,Ze),n(()=>{Qe()}),E(window,`resize`,()=>{Qe()});function $e(){V.value=Ke(V.value),H.value=$(H.value);let e=g.value;if(!e)return;let t=e.getBoundingClientRect(),n=Math.round(t.width*q.maxNotesWidthRatio),r=Math.round(t.height*q.maxNotesRowHeightRatio);V.value=Math.min(V.value,Math.max(q.minNotesWidth,n)),H.value=Math.min(H.value,Math.max(q.minNotesRowSize,r))}let et=p();return n(()=>{let e=Oe(),t=de();o(()=>{!e.value||!t.value||I.value||!se.value?fe.cursor=void 0:fe.cursor={...e.value,style:le.value}})}),(t,n)=>(x(),u(ee,null,[c(`div`,Ie,[c(`div`,null,[e(ve),e(ye)]),c(`div`,{ref_key:`gridContainer`,ref:g,class:l([`grid-container`,`layout${h(S)}`]),style:b({"--slidev-presenter-notes-width":`${h(V)}px`,"--slidev-presenter-notes-row-size":`${h(H)}px`,"--slidev-presenter-bottom-height":`${Ve.value}px`})},[y(` Unified vertical resizer for wide layout `),X.value&&Y.value?(x(),u(`div`,{key:0,class:`notes-vertical-resizer`,role:`separator`,"aria-orientation":`vertical`,title:`Resize notes panel`,onPointerdown:Q},null,32)):y(`v-if`,!0),y(` Unified vertical resizer for layout 3 `),X.value&&h(S)===3?(x(),u(`div`,{key:1,class:`notes-vertical-resizer-left`,role:`separator`,"aria-orientation":`vertical`,title:`Resize notes panel`,onPointerdown:Q},null,32)):y(`v-if`,!0),c(`div`,{ref_key:`main`,ref:d,class:`relative grid-section main flex flex-col`},[c(`div`,Le,[n[3]||=c(`span`,{op50:``,px2:``},`Current`,-1),n[4]||=c(`div`,{"flex-auto":``},null,-1),e(Te,{modelValue:h(B),"onUpdate:modelValue":n[0]||=e=>te(B)?B.value=e:null,options:[{label:`Slides`,value:`slides`},{label:`Screen Mirror`,value:`mirror`}]},null,8,[`modelValue`])]),h(B)===`mirror`?(x(),v(Pe,{key:0})):y(`v-if`,!0),y(` We use v-show here to still infer the clicks context `),r(e(A,{key:`main`,class:`p-2 lg:p-4 flex-auto`,"is-main":``,onContextmenu:h(Me)},{default:s(()=>[e(De,{"render-context":`presenter`}),e(xe)]),_:1},8,[`onContextmenu`]),[[_,h(B)===`slides`]]),(x(),v(_e,{key:h(j)?.no,"clicks-context":h(F)(h(j)),class:`w-full pb2 px4 flex-none`},null,8,[`clicks-context`]))],512),c(`div`,Re,[Z.value&&h(S)===2?(x(),u(`div`,{key:0,class:`notes-row-resizer top-[-6px]`,role:`separator`,"aria-orientation":`horizontal`,title:`Resize notes panel height`,onPointerdown:Ye},null,32)):y(`v-if`,!0),R.value&&z.value?(x(),v(A,{key:`next`},{default:s(()=>[(x(),v(be,{key:R.value[0].no,"clicks-context":z.value.context,route:R.value[0],"render-context":`previewNext`},null,8,[`clicks-context`,`route`]))]),_:1})):(x(),u(`div`,ze,[...n[5]||=[c(`div`,{class:`text-gray-500`},` End of the presentation `,-1)]])),n[6]||=c(`div`,{class:`absolute left-0 top-0 bg-main border-b border-r border-main px2 py1 op50 text-sm`},` Next `,-1)]),c(`div`,{ref_key:`noteSection`,ref:C,class:`relative grid-section note overflow-hidden`},[X.value&&!Y.value&&h(S)!==3?(x(),u(`div`,{key:0,class:`notes-resizer right-[-6px]`,role:`separator`,"aria-orientation":`vertical`,title:`Resize notes panel`,onPointerdown:Q},null,32)):y(`v-if`,!0),Z.value&&h(S)!==2?(x(),u(`div`,{key:1,class:l([`notes-row-resizer`,Ge.value?`top-[-6px]`:`bottom-[-6px]`]),role:`separator`,"aria-orientation":`horizontal`,title:`Resize notes panel height`,onPointerdown:Ye},null,34)):y(`v-if`,!0),et.value&&h(ie)?(x(),v(h(et),{key:2,class:`h-full`})):(x(),u(`div`,Be,[(x(),v(Ne,{key:`static-${h(k)}`,no:h(k),class:`w-full max-w-full h-full overflow-auto p-2 lg:p-4`,style:b({fontSize:`${h(re)}em`}),"clicks-context":h(O)},null,8,[`no`,`style`,`clicks-context`])),n[10]||=c(`div`,{"border-t":``,"border-main":``},null,-1),c(`div`,{class:l([`py-1 px-2 text-sm transition`,h(a)?``:`op25`])},[e(ge,{title:`Increase font size`,onClick:h(oe)},{default:s(()=>[...n[7]||=[c(`div`,{class:`i-carbon:zoom-in`},null,-1)]]),_:1},8,[`onClick`]),e(ge,{title:`Decrease font size`,onClick:h(ue)},{default:s(()=>[...n[8]||=[c(`div`,{class:`i-carbon:zoom-out`},null,-1)]]),_:1},8,[`onClick`]),y(`v-if`,!0)],2)]))],512),c(`div`,{ref_key:`bottomSection`,ref:D,class:`grid-section bottom flex`},[e(ke,{persist:!0,class:l([`transition`,h(a)?``:`op25`])},null,8,[`class`]),n[11]||=c(`div`,{"flex-auto":``},null,-1),e(Fe)],512),(x(),v(he,{key:2}))],6)]),e(Se),e(Ae),e(Ee)],64))}}),[[`__scopeId`,`data-v-0c4ec578`]]);export{R as default};
 
 
2026/july-release-party/assets/slidev/print-D1ajUeF3.js DELETED
@@ -1,5 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DrawingPreview-Deq4DPKw.js","../rolldown-runtime-QTnfLwEv.js","../modules/shiki-CSYx1hey.js","../modules/shiki-BrmBd2_v.css","../useDrawings-CRXmHsXD.js","../useNav-Bvv0p3kN.js","../_plugin-vue_export-helper-BDNMzG2s.js","../modules/vue-CTLtUbT_.js","./context-T2gS7_mS.js","../index-CHOd5jjo.js","../syncState-DFfDxw0Y.js","../index-ZqsSdHV_.css"])))=>i.map(i=>d[i]);
2
- import{C as e,L as t,Q as n,T as r,V as i,Y as a,_ as o,_t as s,b as c,dt as l,g as u,gt as d,i as f,ot as p,p as m,q as h,u as g,v as _,y as v,yt as y,z as b}from"../modules/shiki-CSYx1hey.js";import{$ as x,J as S,Q as C,Z as w,n as T,nt as E,q as D,t as O,z as k}from"../useNav-Bvv0p3kN.js";import{t as A}from"../_plugin-vue_export-helper-BDNMzG2s.js";import{M as j}from"../modules/vue-CTLtUbT_.js";import{_ as M,g as N,l as P,y as F}from"./context-T2gS7_mS.js";import{a as I}from"../index-CHOd5jjo.js";import{n as L,r as R,t as z}from"../SlideWrapper-Dzm8dNDw.js";var B=[`id`],V=A(r({__name:`PrintSlideClick`,props:{nav:{}},setup(t){let n=u(()=>t.nav.currentSlideRoute.value),r=u(()=>({height:`${C.value}px`,width:`${x.value}px`})),i=l();S(()=>import(`./DrawingPreview-Deq4DPKw.js`).then(e=>e.n).then(e=>i.value=e.default),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url);let a=u(()=>`${n.value.no.toString().padStart(3,`0`)}-${(t.nav.clicks.value+1).toString().padStart(2,`0`)}`);return j(F,p({nav:t.nav,configs:E,themeConfigs:u(()=>E.themeConfig)})),j(N,h(`slide-element`)),(o,l)=>(b(),c(`div`,{id:a.value,ref:`slide-element`,class:`print-slide-container`,style:y(r.value)},[e(d(L)),e(z,{"clicks-context":t.nav.clicksContext.value,class:s(d(I)(n.value)),route:n.value},null,8,[`clicks-context`,`class`,`route`]),i.value?(b(),_(d(i),{key:0,page:n.value.no},null,8,[`page`])):v(`v-if`,!0),e(d(R))],12,B))}}),[[`__scopeId`,`data-v-026c0358`]]),H=r({__name:`PrintSlide`,props:{hidden:{type:Boolean},route:{}},setup(t){let{isPrintWithClicks:r}=T(),a=D(t.route,()=>r.value?0:P);return(o,s)=>(b(),c(m,null,[n(e(V,{nav:d(O)(t.route,d(a))},null,8,[`nav`]),[[g,!t.hidden]]),d(r)?(b(),c(m,{key:0},[v(`
3
- clicks0.total can be any number >=0 when rendering.
4
- So total-clicksStart can be negative in intermediate states.
5
- `),(b(!0),c(m,null,i(Math.max(0,d(a).total-d(a).clicksStart),e=>n((b(),_(V,{key:e,nav:d(O)(t.route,d(D)(t.route,e+d(a).clicksStart))},null,8,[`nav`])),[[g,!t.hidden]])),128))],64)):v(`v-if`,!0)],64))}}),U={id:`print-content`},W=r({__name:`PrintContainer`,props:{width:{}},setup(e){let t=e,{slides:n,printRange:r}=T(),a=u(()=>t.width),l=u(()=>t.width/w.value),f=u(()=>a.value/l.value),p=u(()=>f.value<w.value?a.value/x.value:l.value*w.value/x.value),h=u(()=>({"select-none":!E.selectable}));return j(M,p),(e,t)=>(b(),c(`div`,{id:`print-container`,class:s(h.value)},[o(`div`,U,[(b(!0),c(m,null,i(d(r),e=>(b(),_(H,{key:e,route:d(n)[e-1]},null,8,[`route`]))),128))])],2))}}),G={id:`page-root`,class:`grid grid-cols-[1fr_max-content]`},K=r({__name:`print`,setup(n){let{isPrintMode:r}=T();return a(()=>{r?document.body.parentNode.classList.add(`print`):document.body.parentNode.classList.remove(`print`)}),t(()=>{f()}),(t,n)=>(b(),c(`div`,G,[e(W,{class:`w-full h-full`,style:{background:`var(--slidev-slide-container-background, black)`},width:d(k).width.value},null,8,[`width`]),n[0]||=o(`div`,{id:`twoslash-container`},null,-1)]))}});export{K as default};
 
 
 
 
 
 
2026/july-release-party/assets/slidev/shortcuts-CSCoA7ao.js DELETED
@@ -1,4 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DrawingLayer-BydXPFu-.js","../modules/shiki-CSYx1hey.js","../rolldown-runtime-QTnfLwEv.js","../modules/shiki-BrmBd2_v.css","./context-T2gS7_mS.js","../modules/vue-CTLtUbT_.js","../useDrawings-CRXmHsXD.js","../useNav-Bvv0p3kN.js","../_plugin-vue_export-helper-BDNMzG2s.js","../index-CHOd5jjo.js","../syncState-DFfDxw0Y.js","../index-ZqsSdHV_.css"])))=>i.map(i=>d[i]);
2
- import{A as e,C as t,D as n,G as r,H as i,J as a,L as o,M as s,Q as c,S as l,T as u,V as d,W as f,Y as p,Z as m,_ as h,_t as g,a as _,b as v,bt as y,c as b,ct as x,d as S,dt as C,f as w,g as T,gt as E,i as D,j as O,l as ee,m as te,n as ne,o as re,p as k,rt as ie,u as ae,v as A,vt as j,y as M,yt as N,z as P}from"../modules/shiki-CSYx1hey.js";import{$ as oe,B as se,C as ce,D as le,E as F,F as ue,I,J as de,L,M as R,N as fe,O as z,P as pe,Q as me,R as he,T as ge,W as _e,X as ve,_ as ye,a as be,b as xe,c as Se,d as Ce,f as we,i as Te,j as Ee,k as De,m as Oe,n as B,nt as V,o as ke,p as Ae,q as je,r as Me,rt as Ne,v as Pe,w as Fe,x as Ie,z as Le}from"../useNav-Bvv0p3kN.js";import{t as Re}from"../_plugin-vue_export-helper-BDNMzG2s.js";import{C as ze,I as Be,N as Ve,S as He,V as Ue,d as We,n as H,o as Ge,p as Ke,r as qe,s as Je,t as U,v as Ye,w as Xe,y as Ze}from"../modules/vue-CTLtUbT_.js";import{_ as Qe,l as $e,n as et}from"./context-T2gS7_mS.js";import{d as tt,f as nt,i as rt,o as it,r as at,t as ot,u as st}from"../index-CHOd5jjo.js";import{t as ct}from"../useDrawings-CRXmHsXD.js";import{t as W}from"./IconButton-vxnWUGrP.js";import{t as lt}from"./VerticalDivider-D7q6yjRB.js";import{t as ut}from"./DrawingPreview-Deq4DPKw.js";import{n as dt,t as ft}from"./SlideContainer-8Ec60cME.js";import{n as pt,r as mt,t as ht}from"../SlideWrapper-Dzm8dNDw.js";function gt(e){let{next:t,nextSlide:n,prev:r,prevSlide:i}=B(),{isDrawing:a}=ct(),o=x(0),{direction:s,distanceX:c,distanceY:l}=Ze(e,{pointerTypes:[`touch`],onSwipeStart(){a.value||(o.value=Ve())},onSwipeEnd(){if(!o.value||a.value)return;let e=Math.abs(c.value),u=Math.abs(l.value);e/window.innerWidth>.3||e>75?s.value===`left`?t():r():(u/window.innerHeight>.4||u>200)&&(s.value===`down`?i():n())}})}function _t(){let{request:e,release:t}=ze();a(he,n=>{n?e(`screen`):t()},{immediate:!0})}var vt=Object.assign({}),yt=Object.assign({}),bt=[Object.values(vt)[0],Object.values(yt)[0]].filter(Boolean),xt,St=()=>{if(xt)return xt;let{next:e,nextSlide:t,prev:n,prevSlide:r,hasNext:i,hasPrev:a,currentPage:o,total:s,isPresenter:c,enterPresenter:l,exitPresenter:u,isEmbedded:d,isPresenterAvailable:f}=B(),{drawingEnabled:p}=ct(),{isFullscreen:m,toggle:h}=Ce;return xt=bt.reduce((e,t)=>t(e),T(()=>[{small:!0,icon:`i-carbon:arrow-left`,label:`Previous Click`,action:n,disabled:!a.value},{small:!0,icon:`i-carbon:arrow-right`,label:`Next Click`,action:e,disabled:!i.value},{small:!0,icon:`i-carbon:arrow-up`,label:`Previous Slide`,action:r,disabled:o.value<=1},{small:!0,icon:`i-carbon:arrow-down`,label:`Next Slide`,action:t,disabled:o.value>=s.value},`separator`,{icon:`i-carbon:text-annotation-toggle`,label:ge.value?`Hide editor`:`Show editor`,action:()=>ge.value=!ge.value,show:!1},{icon:`i-carbon:pen`,label:p.value?`Hide drawing toolbar`:`Show drawing toolbar`,action:()=>p.value=!p.value},{icon:`i-carbon:apps`,label:`Show slide overview`,action:fe},c.value&&{icon:`i-carbon:presentation-file`,label:`Exit Presenter Mode`,action:u},f.value&&{icon:`i-carbon:user-speaker`,label:`Enter Presenter Mode`,action:l},!d.value&&{icon:m.value?`i-carbon:minimize`:`i-carbon:maximize`,label:m.value?`Close fullscreen`:`Enter fullscreen`,action:h}].filter(Boolean)))},Ct=C(null);function wt(e,t){Ct.value={x:e,y:t,items:St()}}function Tt(){Ct.value=null}function Et(e){if(V.contextMenu!==!0&&V.contextMenu!=null&&V.contextMenu!==`build`||e.shiftKey||e.defaultPrevented)return;let{isEmbedded:t}=B();t.value||(wt(e.pageX,e.pageY),e.preventDefault(),e.stopPropagation())}var Dt=[`title`,`onClick`],Ot=[`onClick`],kt={class:`mx-auto flex`},At={key:0},jt={class:`w-full text-xs p2`},Mt={class:`text-main text-opacity-50!`},Nt=u({__name:`ContextMenu`,setup(e){let t=x();Ge(t,Tt),Ke(document,`mousedown`,e=>{e.buttons&2&&Tt()},{passive:!0,capture:!0});let n=T(()=>V.contextMenu!=null);a(Xe(),e=>{e||Tt()}),ot(1);let{width:r,height:i}=We(t),o=T(()=>{let e=Ct.value?.x;return e?e+r.value>Le.width.value?Le.width.value-r.value:e:0}),s=T(()=>{let e=Ct.value?.y;return e?e+i.value>Le.height.value?Le.height.value-i.value:e:0});return(e,r)=>E(Ct)?(P(),v(`div`,{key:0,ref_key:`container`,ref:t,style:N(`left:${o.value}px;top:${s.value}px`),class:`slidev-glass-effect fixed z-context-menu w-60 flex flex-wrap justify-items-start p-1 animate-fade-in animate-duration-100 rounded-md shadow overflow-hidden select-none`,onContextmenu:r[1]||=w(()=>{},[`prevent`]),onClick:r[2]||=(...e)=>E(Tt)&&E(Tt)(...e)},[(P(!0),v(k,null,d(E(Ct).items.value,(e,t)=>(P(),v(k,{key:t},[e===`separator`?(P(),v(`div`,{key:t,class:`w-full my1 border-t border-main`})):e.show??!0?(P(),v(k,{key:1},[e.small?(P(),v(`div`,{key:0,class:g([`p-2 w-[40px] h-[40px] inline-block text-center cursor-pointer rounded flex`,e.disabled?`op40`:`hover:bg-active`]),title:e.label,onClick:e.action},[typeof e.icon==`string`?(P(),v(`div`,{key:0,class:g([e.icon,`text-1.2em ma`])},null,2)):(P(),A(f(e.icon),{key:1}))],10,Dt)):(P(),v(`div`,{key:1,class:g([`w-full grid grid-cols-[35px_1fr] p-2 pl-0 cursor-pointer rounded`,e.disabled?`op40`:`hover:bg-active`]),onClick:e.action},[h(`div`,kt,[typeof e.icon==`string`?(P(),v(`div`,{key:0,class:g([e.icon,`text-1.2em ma`])},null,2)):(P(),A(f(e.icon),{key:1}))]),typeof e.label==`string`?(P(),v(`div`,At,y(e.label),1)):(P(),A(f(e.label),{key:1}))],10,Ot))],64)):M(`v-if`,!0)],64))),128)),n.value?M(`v-if`,!0):(P(),v(k,{key:0},[r[6]||=h(`div`,{class:`w-full my1 border-t border-main`},null,-1),h(`div`,jt,[h(`div`,Mt,[r[3]||=l(` Hold `,-1),r[4]||=h(`kbd`,{class:`border px1 py0.5 border-main rounded text-primary`},`Shift`,-1),r[5]||=l(` and right click to open the native context menu `,-1),M(`v-if`,!0)])])],64))],36)):M(`v-if`,!0)}});function G(e){return Array.isArray?Array.isArray(e):Vt(e)===`[object Array]`}function Pt(e){if(typeof e==`string`)return e;if(typeof e==`bigint`)return e.toString();let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function Ft(e){return e==null?``:Pt(e)}function K(e){return typeof e==`string`}function It(e){return typeof e==`number`}function Lt(e){return e===!0||e===!1||zt(e)&&Vt(e)==`[object Boolean]`}function Rt(e){return typeof e==`object`}function zt(e){return Rt(e)&&e!==null}function q(e){return e!=null}function Bt(e){return!e.trim().length}function Vt(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var Ht=`Incorrect 'index' type`,Ut=`Invalid doc index: must be a non-negative integer within the bounds of the docs array`,Wt=e=>`Invalid value for key ${e}`,Gt=e=>`Pattern length exceeds max of ${e}.`,Kt=e=>`Missing ${e} property in key`,qt=e=>`Property 'weight' in key '${e}' must be a positive integer`,Jt=`Fuse.match does not support useTokenSearch: token search requires corpus-level statistics (df, fieldCount) that a one-off string comparison does not have. Use new Fuse(...).search(...) instead.`,Yt=Object.prototype.hasOwnProperty,Xt=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let n=Zt(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function Zt(e){let t=null,n=null,r=null,i=1,a=null;if(K(e)||G(e))r=e,t=Qt(e),n=$t(e);else{if(!Yt.call(e,`name`))throw Error(Kt(`name`));let o=e.name;if(r=o,Yt.call(e,`weight`)&&e.weight!==void 0&&(i=e.weight,i<=0))throw Error(qt($t(o)));t=Qt(o),n=$t(o),a=e.getFn??null}return{path:t,id:n,weight:i,src:r,getFn:a}}function Qt(e){return G(e)?e:e.split(`.`)}function $t(e){return G(e)?e.join(`.`):e}function en(e,t){let n=[],r=!1,i=(e,t,a,o)=>{if(q(e))if(!t[a])n.push(o===void 0?e:{v:e,i:o});else{let s=e[t[a]];if(!q(s))return;if(a===t.length-1&&(K(s)||It(s)||Lt(s)||typeof s==`bigint`))n.push(o===void 0?Ft(s):{v:Ft(s),i:o});else if(G(s)){r=!0;for(let e=0,n=s.length;e<n;e+=1)i(s[e],t,a+1,e)}else t.length&&i(s,t,a+1,o)}};return i(e,K(t)?t.split(`.`):t,0),r?n:n[0]}var tn={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},nn={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},rn={location:0,threshold:.6,distance:100},an={useExtendedSearch:!1,useTokenSearch:!1,tokenize:void 0,tokenMatch:`any`,getFn:en,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},J=Object.freeze({...nn,...tn,...rn,...an});function on(e){return e>=9&&e<=13||e===32||e===160}function sn(e=1,t=3){let n=new Map,r=10**t;return{get(t){let i=0,a=!1;for(let e=0;e<t.length;e++)on(t.charCodeAt(e))?a=!1:a||=(i++,!0);if(i===0&&(i=1),n.has(i))return n.get(i);let o=Math.round(r/i**(.5*e))/r;return n.set(i,o),o},clear(){n.clear()}}}var cn=class{constructor({getFn:e=J.getFn,fieldNormWeight:t=J.fieldNormWeight}={}){this.norm=sn(t,3),this.getFn=e,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){if(this.isCreated||!this.docs.length)return;this.isCreated=!0;let e=this.docs.length;this.records=Array(e);let t=0;if(K(this.docs[0]))for(let n=0;n<e;n++){let e=this._createStringRecord(this.docs[n],n);e&&(this.records[t++]=e)}else for(let n=0;n<e;n++)this.records[t++]=this._createObjectRecord(this.docs[n],n);this.records.length=t,this.norm.clear()}add(e,t){if(!Number.isInteger(t)||t<0)throw Error(Ut);if(K(e)){let n=this._createStringRecord(e,t);return n&&this.records.push(n),n}let n=this._createObjectRecord(e,t);return this.records.push(n),n}removeAt(e){if(!Number.isInteger(e)||e<0)throw Error(Ut);for(let t=0,n=this.records.length;t<n;t+=1)if(this.records[t].i===e){this.records.splice(t,1);break}for(let t=0,n=this.records.length;t<n;t+=1)this.records[t].i>e&&--this.records[t].i}removeAll(e){let t=new Set;for(let n of e)Number.isInteger(n)&&n>=0&&t.add(n);if(t.size===0)return;this.records=this.records.filter(e=>!t.has(e.i));let n=Array.from(t).sort((e,t)=>e-t);for(let e of this.records){let t=0,r=n.length;for(;t<r;){let i=t+r>>>1;n[i]<e.i?t=i+1:r=i}e.i-=t}}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_createStringRecord(e,t){return!q(e)||Bt(e)?null:{v:e,i:t,n:this.norm.get(e)}}_createObjectRecord(e,t){let n={i:t,$:{}};for(let t=0,r=this.keys.length;t<r;t++){let r=this.keys[t],i=r.getFn?r.getFn(e):this.getFn(e,r.path);if(q(i)){if(G(i)){let e=[];for(let t=0,n=i.length;t<n;t+=1){let n=i[t];if(q(n)){if(K(n)){if(!Bt(n)){let r={v:n,i:t,n:this.norm.get(n)};e.push(r)}}else if(q(n.v)){let t=K(n.v)?n.v:Ft(n.v);if(!Bt(t)){let r={v:t,i:n.i,n:this.norm.get(t)};e.push(r)}}}}n.$[t]=e}else if(K(i)&&!Bt(i)){let e={v:i,n:this.norm.get(i)};n.$[t]=e}}}return n}toJSON(){return{keys:this.keys.map(({getFn:e,...t})=>t),records:this.records}}};function ln(e,t,{getFn:n=J.getFn,fieldNormWeight:r=J.fieldNormWeight}={}){let i=new cn({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(Zt)),i.setSources(t),i.create(),i}function un(e,{getFn:t=J.getFn,fieldNormWeight:n=J.fieldNormWeight}={}){let{keys:r,records:i}=e,a=new cn({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(i),a}function dn(e=[],t=J.minMatchCharLength){let n=[],r=-1,i=-1,a=0;for(let o=e.length;a<o;a+=1){let o=e[a];o&&r===-1?r=a:!o&&r!==-1&&(i=a-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}function fn(e,t,n,{location:r=J.location,distance:i=J.distance,threshold:a=J.threshold,findAllMatches:o=J.findAllMatches,minMatchCharLength:s=J.minMatchCharLength,includeMatches:c=J.includeMatches,ignoreLocation:l=J.ignoreLocation}={}){if(t.length>32)throw Error(Gt(32));let u=t.length,d=e.length,f=Math.max(0,Math.min(r,d)),p=a,m=f,h=(e,t)=>{let n=e/u;if(l)return n;let r=Math.abs(f-t);return i?n+r/i:r?1:n},g=s>1||c,_=g?Array(d):[],v;for(;(v=e.indexOf(t,m))>-1;){let e=h(0,v);if(p=Math.min(e,p),m=v+u,g){let e=0;for(;e<u;)_[v+e]=1,e+=1}}m=-1;let y=[],b=1,x=0,S=u+d,C=1<<u-1;for(let t=0;t<u;t+=1){let r=0,i=S;for(;r<i;)h(t,f+i)<=p?r=i:S=i,i=Math.floor((S-r)/2+r);S=i;let a=Math.max(1,f-i+1),s=o?d:Math.min(f+i,d)+u,c=Array(s+2);c[s+1]=(1<<t)-1;for(let r=s;r>=a;--r){let i=r-1,o=n[e[i]];if(c[r]=(c[r+1]<<1|1)&o,t&&(c[r]|=(y[r+1]|y[r])<<1|1|y[r+1]),c[r]&C&&(b=h(t,i),b<=p)){if(p=b,m=i,x=t,m<=f)break;a=Math.max(1,2*f-m)}}if(h(t+1,f)>p)break;y=c}if(g&&m>=0){let t=Math.min(d-1,m+u-1+x);for(let r=m;r<=t;r+=1)n[e[r]]&&(_[r]=1)}let w={isMatch:m>=0,score:Math.max(.001,b)};if(g){let e=dn(_,s);e.length?c&&(w.indices=e):w.isMatch=!1}return w}function pn(e){let t={};for(let n=0,r=e.length;n<r;n+=1){let i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}function mn(e){if(e.length<=1)return e;e.sort((e,t)=>e[0]-t[0]||e[1]-t[1]);let t=[e[0]];for(let n=1,r=e.length;n<r;n+=1){let r=t[t.length-1],i=e[n];i[0]<=r[1]+1?r[1]=Math.max(r[1],i[1]):t.push(i)}return t}var hn={ł:`l`,Ł:`L`,đ:`d`,Đ:`D`,ø:`o`,Ø:`O`,ħ:`h`,Ħ:`H`,ŧ:`t`,Ŧ:`T`,ı:`i`,ß:`ss`},gn=RegExp(`[`+Object.keys(hn).join(``)+`]`,`g`),_n=typeof String.prototype.normalize==`function`?e=>e.normalize(`NFD`).replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,``).replace(gn,e=>hn[e]):e=>e,vn=class{constructor(e,{location:t=J.location,threshold:n=J.threshold,distance:r=J.distance,includeMatches:i=J.includeMatches,findAllMatches:a=J.findAllMatches,minMatchCharLength:o=J.minMatchCharLength,isCaseSensitive:s=J.isCaseSensitive,ignoreDiacritics:c=J.ignoreDiacritics,ignoreLocation:l=J.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:c,ignoreLocation:l},e=s?e:e.toLowerCase(),e=c?_n(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let u=(e,t)=>{this.chunks.push({pattern:e,alphabet:pn(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0,t=d%32,n=d-t;for(;e<n;)u(this.pattern.substr(e,32),e),e+=32;if(t){let e=d-32;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){let{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=n?_n(e):e,this.pattern===e){if(e.length<this.options.minMatchCharLength)return{isMatch:!1,score:1};let t={isMatch:!0,score:0};return r&&(t.indices=[[0,e.length-1]]),t}let{location:i,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,ignoreLocation:l}=this.options,u=[],d=0,f=!1;this.chunks.forEach(({pattern:t,alphabet:n,startIndex:p})=>{let{isMatch:m,score:h,indices:g}=fn(e,t,n,{location:i+p,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,includeMatches:r,ignoreLocation:l});m&&(f=!0),d+=h,m&&g&&u.push(...g)});let p={isMatch:f,score:f?d/this.chunks.length:1};return f&&r&&(p.indices=mn(u)),p}},yn=new Set([`fuzzy`,`include`]);function bn(e){return e.startsWith(`inverse`)}var xn=[{type:`exact`,multiRegex:/^="(.*)"$/,singleRegex:/^=(.*)$/,create:e=>({type:`exact`,search(t){let n=t===e;return{isMatch:n,score:+!n,indices:[0,e.length-1]}}})},{type:`include`,multiRegex:/^'"(.*)"$/,singleRegex:/^'(.*)$/,create:e=>({type:`include`,search(t){let n=0,r,i=[],a=e.length;for(;(r=t.indexOf(e,n))>-1;)n=r+a,i.push([r,n-1]);let o=!!i.length;return{isMatch:o,score:+!o,indices:i}}})},{type:`prefix-exact`,multiRegex:/^\^"(.*)"$/,singleRegex:/^\^(.*)$/,create:e=>({type:`prefix-exact`,search(t){let n=t.startsWith(e);return{isMatch:n,score:+!n,indices:[0,e.length-1]}}})},{type:`inverse-prefix-exact`,multiRegex:/^!\^"(.*)"$/,singleRegex:/^!\^(.*)$/,create:e=>({type:`inverse-prefix-exact`,search(t){let n=!t.startsWith(e);return{isMatch:n,score:+!n,indices:[0,t.length-1]}}})},{type:`inverse-suffix-exact`,multiRegex:/^!"(.*)"\$$/,singleRegex:/^!(.*)\$$/,create:e=>({type:`inverse-suffix-exact`,search(t){let n=!t.endsWith(e);return{isMatch:n,score:+!n,indices:[0,t.length-1]}}})},{type:`suffix-exact`,multiRegex:/^"(.*)"\$$/,singleRegex:/^(.*)\$$/,create:e=>({type:`suffix-exact`,search(t){let n=t.endsWith(e);return{isMatch:n,score:+!n,indices:[t.length-e.length,t.length-1]}}})},{type:`inverse-exact`,multiRegex:/^!"(.*)"$/,singleRegex:/^!(.*)$/,create:e=>({type:`inverse-exact`,search(t){let n=t.indexOf(e)===-1;return{isMatch:n,score:+!n,indices:[0,t.length-1]}}})},{type:`fuzzy`,multiRegex:/^"(.*)"$/,singleRegex:/^(.*)$/,create:(e,t={})=>{let n=new vn(e,{location:t.location??J.location,threshold:t.threshold??J.threshold,distance:t.distance??J.distance,includeMatches:t.includeMatches??J.includeMatches,findAllMatches:t.findAllMatches??J.findAllMatches,minMatchCharLength:t.minMatchCharLength??J.minMatchCharLength,isCaseSensitive:t.isCaseSensitive??J.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics??J.ignoreDiacritics,ignoreLocation:t.ignoreLocation??J.ignoreLocation});return{type:`fuzzy`,search(e){return n.searchIn(e)}}}}],Sn=xn.length,Cn=`\0`,wn=`|`;function Tn(e){let t=[],n=e.length,r=0;for(;r<n;){for(;r<n&&e[r]===` `;)r++;if(r>=n)break;let i=r;for(;i<n&&e[i]!==` `&&e[i]!==`"`;)i++;if(i<n&&e[i]===`"`){for(i++;i<n;){if(e[i]===`"`){let t=i+1;if(t>=n||e[t]===` `){i++;break}if(e[t]===`$`&&(t+1>=n||e[t+1]===` `)){i+=2;break}}i++}t.push(e.substring(r,i)),r=i}else{for(;i<n&&e[i]!==` `;)i++;t.push(e.substring(r,i)),r=i}}return t}function En(e,t){let n=e.match(t);return n?n[1]:null}function Dn(e,t={}){return e.replace(/\\\|/g,Cn).split(wn).map(e=>{let n=Tn(e.replace(/\u0000/g,`|`).trim()).filter(e=>e&&!!e.trim()),r=[];for(let e=0,i=n.length;e<i;e+=1){let i=n[e],a=!1,o=-1;for(;!a&&++o<Sn;){let e=xn[o],n=En(i,e.multiRegex);n&&(r.push(e.create(n,t)),a=!0)}if(!a)for(o=-1;++o<Sn;){let e=xn[o],n=En(i,e.singleRegex);if(n){r.push(e.create(n,t));break}}}return r})}var On=class{constructor(e,{isCaseSensitive:t=J.isCaseSensitive,ignoreDiacritics:n=J.ignoreDiacritics,includeMatches:r=J.includeMatches,minMatchCharLength:i=J.minMatchCharLength,ignoreLocation:a=J.ignoreLocation,findAllMatches:o=J.findAllMatches,location:s=J.location,threshold:c=J.threshold,distance:l=J.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r,minMatchCharLength:i,findAllMatches:o,ignoreLocation:a,location:s,threshold:c,distance:l},e=t?e:e.toLowerCase(),e=n?_n(e):e,this.pattern=e,this.query=Dn(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){let t=this.query;if(!t)return{isMatch:!1,score:1};let{includeMatches:n,isCaseSensitive:r,ignoreDiacritics:i}=this.options;e=r?e:e.toLowerCase(),e=i?_n(e):e;let a=0,o=[],s=0,c=!1;for(let r=0,i=t.length;r<i;r+=1){let i=t[r];o.length=0,a=0,c=!1;for(let t=0,r=i.length;t<r;t+=1){let r=i[t],{isMatch:l,indices:u,score:d}=r.search(e);if(l)a+=1,s+=d,bn(r.type)&&(c=!0),n&&(yn.has(r.type)?o.push(...u):o.push(u));else{s=0,a=0,o.length=0,c=!1;break}}if(a){let e={isMatch:!0,score:s/a};return c&&(e.hasInverse=!0),n&&(e.indices=mn(o)),e}}return{isMatch:!1,score:1}}},kn=[];function An(...e){kn.push(...e)}function jn(e,t){for(let n=0,r=kn.length;n<r;n+=1){let r=kn[n];if(r.condition(e,t))return new r(e,t)}return new vn(e,t)}var Mn={AND:`$and`,OR:`$or`},Nn={PATH:`$path`,PATTERN:`$val`},Pn=e=>!!(e[Mn.AND]||e[Mn.OR]),Fn=e=>!!e[Nn.PATH],In=e=>!G(e)&&Rt(e)&&!Pn(e),Ln=e=>({[Mn.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Rn(e,t,{auto:n=!0}={}){let r=e=>{if(K(e)){let r={keyId:null,pattern:e};return n&&(r.searcher=jn(e,t)),r}let i=Object.keys(e),a=Fn(e);if(!a&&i.length>1&&!Pn(e))return r(Ln(e));if(In(e)){let r=a?e[Nn.PATH]:i[0],o=a?e[Nn.PATTERN]:e[r];if(!K(o))throw Error(Wt(r));let s={keyId:$t(r),pattern:o};return n&&(s.searcher=jn(o,t)),s}let o={children:[],operator:i[0]};return i.forEach(t=>{let n=e[t];G(n)&&n.forEach(e=>{o.children.push(r(e))})}),o};return Pn(e)||(e=Ln(e)),r(e)}function zn(e,{ignoreFieldNorm:t=J.ignoreFieldNorm}){let n=1;return e.forEach(({key:e,norm:r,score:i})=>{let a=e?e.weight:null;n*=(i===0&&a?2**-52:i)**+((a||1)*(t?1:r))}),n}function Bn(e,{ignoreFieldNorm:t=J.ignoreFieldNorm}){e.forEach(e=>{e.score=zn(e.matches,{ignoreFieldNorm:t})})}var Vn=class{constructor(e,t){this.limit=e,this.heap=[],this.comparator=t}get size(){return this.heap.length}insert(e){this.size<this.limit?(this.heap.push(e),this._bubbleUp(this.size-1)):this.comparator(e,this.heap[0])<0&&(this.heap[0]=e,this._sinkDown(0))}extractSorted(){return this.heap.sort(this.comparator)}_bubbleUp(e){let t=this.heap;for(;e>0;){let n=e-1>>1;if(this.comparator(t[e],t[n])<=0)break;let r=t[e];t[e]=t[n],t[n]=r,e=n}}_sinkDown(e){let t=this.heap,n=t.length,r=e;do{e=r;let i=2*e+1,a=2*e+2;if(i<n&&this.comparator(t[i],t[r])>0&&(r=i),a<n&&this.comparator(t[a],t[r])>0&&(r=a),r!==e){let n=t[e];t[e]=t[r],t[r]=n}}while(r!==e)}};function Hn(e){let t=[];return e.matches.forEach(e=>{if(!q(e.indices)||!e.indices.length)return;let n={indices:e.indices,value:e.value};e.key&&(n.key=e.key.id),e.idx>-1&&(n.refIndex=e.idx),t.push(n)}),t}function Un(e,t,{includeMatches:n=J.includeMatches,includeScore:r=J.includeScore}={}){return e.map(e=>{let{idx:i}=e,a={item:t[i],refIndex:i};return n&&(a.matches=Hn(e)),r&&(a.score=e.score),a})}var Wn=/[\p{L}\p{M}\p{N}_]+/gu,Gn=new WeakSet;function Kn(e){Gn.has(e)||(Gn.add(e),console.warn(`[Fuse] tokenize regex ${e} lacks the global flag; only the first match per text will be returned. Add the 'g' flag.`))}function qn(e){if(typeof e==`function`){let t=!1;return n=>{let r=e(n);if(!t&&(t=!0,!Array.isArray(r)||r.some(e=>typeof e!=`string`)))throw Error(`[Fuse] tokenize function must return string[]; received ${Array.isArray(r)?`array containing non-strings`:typeof r}.`);return r}}return e instanceof RegExp?(e.global||Kn(e),t=>t.match(e)||[]):e=>e.match(Wn)||[]}function Jn({isCaseSensitive:e=!1,ignoreDiacritics:t=!1,tokenize:n}={}){let r=qn(n);return{tokenize(n){return e||(n=n.toLowerCase()),t&&(n=_n(n)),r(n)}}}var Yn=class{static condition(e,t){return t.useTokenSearch}constructor(e,t){this.options=t,this.analyzer=Jn({isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,tokenize:t.tokenize});let n=this.analyzer.tokenize(e),{df:r,fieldCount:i}=t._invertedIndex;this.termSearchers=[],this.idfWeights=[];for(let e of n){this.termSearchers.push(new vn(e,{location:t.location,threshold:t.threshold,distance:t.distance,includeMatches:t.includeMatches,findAllMatches:t.findAllMatches,minMatchCharLength:t.minMatchCharLength,isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,ignoreLocation:!0}));let n=r.get(e)||0,a=Math.log(1+(i-n+.5)/(n+.5));this.idfWeights.push(a)}this.combineAll=t.tokenMatch===`all`,this.numTerms=this.termSearchers.length,this.useMask=this.numTerms<=31}searchIn(e){if(!this.termSearchers.length)return{isMatch:!1,score:1};let t=[],n=0,r=0,i=0,a=0,o=this.combineAll&&!this.useMask?new Set:null;for(let s=0;s<this.termSearchers.length;s++){let c=this.termSearchers[s].searchIn(e),l=this.idfWeights[s];r+=l,c.isMatch&&(i++,n+=l*(1-c.score),c.indices&&t.push(...c.indices),this.combineAll&&(this.useMask?a|=1<<s:o.add(s)))}if(i===0)return{isMatch:!1,score:1};let s=r>0?1-n/r:0,c={isMatch:!0,score:Math.max(.001,s)};return this.options.includeMatches&&t.length&&(c.indices=mn(t)),this.combineAll&&(this.useMask?c.matchedMask=a:c.matchedTerms=o,c.termCount=this.numTerms),c}};function Xn(e,t,n,r){let i=r.tokenize(t);if(!i.length)return;e.fieldCount++,e.docFieldCount.set(n,(e.docFieldCount.get(n)||0)+1);let a=new Set(i),o=e.docTermFieldHits.get(n);o||(o=new Map,e.docTermFieldHits.set(n,o));for(let t of a)o.set(t,(o.get(t)||0)+1),e.df.set(t,(e.df.get(t)||0)+1)}function Zn(e,t,n,r){let{i,v:a,$:o}=t;if(a!==void 0){Xn(e,a,i,r);return}if(o)for(let t=0;t<n;t++){let n=o[t];if(n)if(Array.isArray(n))for(let t of n)Xn(e,t.v,i,r);else Xn(e,n.v,i,r)}}function Qn(e,t,n){let r={fieldCount:0,df:new Map,docFieldCount:new Map,docTermFieldHits:new Map};for(let i of e)Zn(r,i,t,n);return r}function $n(e,t,n,r){Zn(e,t,n,r)}function er(e,t){let n=e.docFieldCount.get(t);if(n===void 0)return;e.fieldCount-=n,e.docFieldCount.delete(t);let r=e.docTermFieldHits.get(t);if(r){for(let[t,n]of r){let r=(e.df.get(t)||0)-n;r<=0?e.df.delete(t):e.df.set(t,r)}e.docTermFieldHits.delete(t)}}function tr(e,t){if(t.length===0)return;let n=Array.from(new Set(t)).sort((e,t)=>e-t);for(let t of n)er(e,t);let r=e=>{let t=0,r=n.length;for(;t<r;){let i=t+r>>>1;n[i]<e?t=i+1:r=i}return e-t},i=n[0],a=new Map;for(let[t,n]of e.docFieldCount)a.set(t>i?r(t):t,n);e.docFieldCount=a;let o=new Map;for(let[t,n]of e.docTermFieldHits)o.set(t>i?r(t):t,n);e.docTermFieldHits=o}var Y=class{constructor(e,t,n){this.options={...J,...t},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new Xt(this.options.keys),this._docs=e,this._myIndex=null,this._invertedIndex=null,this.setCollection(e,n),this._lastQuery=null,this._lastSearcher=null}_getSearcher(e){if(this._lastQuery===e)return this._lastSearcher;let t=jn(e,this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options);return this._lastQuery=e,this._lastSearcher=t,t}setCollection(e,t){if(this._docs=e,t&&!(t instanceof cn))throw Error(Ht);if(this._myIndex=t||ln(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){let e=Jn({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});this._invertedIndex=Qn(this._myIndex.records,this._myIndex.keys.length,e)}this._invalidateSearcherCache()}add(e){if(!q(e))return;this._docs.push(e);let t=this._myIndex.add(e,this._docs.length-1);if(this._invertedIndex&&t){let e=Jn({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});$n(this._invertedIndex,t,this._myIndex.keys.length,e)}this._invalidateSearcherCache()}remove(e=()=>!1){let t=[],n=[];for(let r=0,i=this._docs.length;r<i;r+=1)e(this._docs[r],r)&&(t.push(this._docs[r]),n.push(r));if(n.length){this._invertedIndex&&tr(this._invertedIndex,n);let e=new Set(n);this._docs=this._docs.filter((t,n)=>!e.has(n)),this._myIndex.removeAll(n),this._invalidateSearcherCache()}return t}removeAt(e){if(!Number.isInteger(e)||e<0||e>=this._docs.length)throw Error(Ut);this._invertedIndex&&tr(this._invertedIndex,[e]);let t=this._docs.splice(e,1)[0];return this._myIndex.removeAt(e),this._invalidateSearcherCache(),t}_invalidateSearcherCache(){this._lastQuery=null,this._lastSearcher=null}getIndex(){return this._myIndex}_normalizedKeys(){return this._myIndex.keys.map(e=>this._keyStore.get(e.id)||e)}search(e,t){let{limit:n=-1}=t||{},{includeMatches:r,includeScore:i,shouldSort:a,sortFn:o,ignoreFieldNorm:s}=this.options;if(K(e)&&!e.trim()){let e=this._docs.map((e,t)=>({item:e,refIndex:t}));return It(n)&&n>-1&&(e=e.slice(0,n)),e}let c=a&&It(n)&&n>0&&K(e),l=o,u=(e,t)=>l(e,t)||e.idx-t.idx,d;if(c){let t=new Vn(n,u);K(this._docs[0])?this._searchStringList(e,{heap:t,ignoreFieldNorm:s}):this._searchObjectList(e,{heap:t,ignoreFieldNorm:s}),d=t.extractSorted()}else d=K(e)?K(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e),Bn(d,{ignoreFieldNorm:s}),a&&d.sort(K(e)?u:l),It(n)&&n>-1&&(d=d.slice(0,n));return Un(d,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(e,{heap:t,ignoreFieldNorm:n}={}){let r=this._getSearcher(e),i=this.options.useTokenSearch&&this.options.tokenMatch===`all`,{records:a}=this._myIndex,o=t?null:[];return a.forEach(({v:e,i:a,n:s})=>{if(!q(e))return;let c=r.searchIn(e);if(c.isMatch){let r={score:c.score,value:e,norm:s,indices:c.indices};i&&(r.matchedMask=c.matchedMask,r.matchedTerms=c.matchedTerms,r.termCount=c.termCount);let l=[r];if(!i||this._coversAllTokens(l)){let r={item:e,idx:a,matches:l};t?(r.score=zn(r.matches,{ignoreFieldNorm:n}),t.insert(r)):o.push(r)}}}),o}_searchLogical(e){let t=Rn(e,this.options),n=this._normalizedKeys(),r=(e,t,i)=>{if(!(`children`in e)){let{keyId:r,searcher:a}=e,o;return r===null?(o=[],n.forEach((e,n)=>{o.push(...this._findMatches({key:e,value:t[n],searcher:a}))})):o=this._findMatches({key:this._keyStore.get(r),value:this._myIndex.getValueForItemAtKeyId(t,r),searcher:a}),o&&o.length?[{idx:i,item:t,matches:o}]:[]}let{children:a,operator:o}=e,s=[];for(let e=0,n=a.length;e<n;e+=1){let n=a[e],c=r(n,t,i);if(c.length)s.push(...c);else if(o===Mn.AND)return[]}return s},i=this._myIndex.records,a=new Map,o=[];return i.forEach(({$:e,i:n})=>{if(q(e)){let i=r(t,e,n);i.length&&(a.has(n)||(a.set(n,{idx:n,item:e,matches:[]}),o.push(a.get(n))),i.forEach(({matches:e})=>{a.get(n).matches.push(...e)}))}}),o}_searchObjectList(e,{heap:t,ignoreFieldNorm:n}={}){let r=this._getSearcher(e),i=this.options.useTokenSearch&&this.options.tokenMatch===`all`,{records:a}=this._myIndex,o=this._normalizedKeys(),s=t?null:[];return a.forEach(({$:e,i:a})=>{if(!q(e))return;let c=[],l=!1,u=!1;if(o.forEach((t,n)=>{let i=this._findMatches({key:t,value:e[n],searcher:r});i.length?(c.push(...i),i[0].hasInverse&&(u=!0)):l=!0}),!(u&&l)&&c.length&&(!i||this._coversAllTokens(c))){let r={idx:a,item:e,matches:c};t?(r.score=zn(r.matches,{ignoreFieldNorm:n}),t.insert(r)):s.push(r)}}),s}_findMatches({key:e,value:t,searcher:n}){if(!q(t))return[];let r=[];if(G(t))t.forEach(({v:t,i,n:a})=>{if(!q(t))return;let o=n.searchIn(t);if(o.isMatch){let n={score:o.score,key:e,value:t,idx:i,norm:a,indices:o.indices,hasInverse:o.hasInverse};o.termCount!==void 0&&(n.matchedMask=o.matchedMask,n.matchedTerms=o.matchedTerms,n.termCount=o.termCount),r.push(n)}});else{let{v:i,n:a}=t,o=n.searchIn(i);if(o.isMatch){let t={score:o.score,key:e,value:i,norm:a,indices:o.indices,hasInverse:o.hasInverse};o.termCount!==void 0&&(t.matchedMask=o.matchedMask,t.matchedTerms=o.matchedTerms,t.termCount=o.termCount),r.push(t)}}return r}_coversAllTokens(e){let t=e.length?e[0].termCount:void 0;if(t===void 0)return!0;if(t<=31){let n=0;for(let t=0;t<e.length;t++)n|=e[t].matchedMask||0;return n===2**t-1}let n=new Set;for(let t=0;t<e.length;t++){let r=e[t].matchedTerms;if(r)for(let e of r)n.add(e)}return n.size===t}};Y.version=`7.5.0`,Y.createIndex=ln,Y.parseIndex=un,Y.config=J,Y.match=function(e,t,n){if(n&&n.useTokenSearch)throw Error(Jt);return jn(e,{...J,...n}).searchIn(t)},Y.parseQuery=Rn,An(On),An(Yn),Y.use=function(...e){e.forEach(e=>An(e))};var nr=Y,rr={key:0},ir={key:1},ar={key:2},or={key:3},sr={key:4},cr={key:5},lr={key:6},ur={key:7},dr={key:8},fr={key:9},pr={key:10},mr={key:11},hr={key:12},gr={key:13},_r={key:14},vr={key:15},yr={key:16},br={key:17},xr={key:18},Sr={key:19},Cr={key:20},wr={key:21},Tr={key:22},Er={key:23},Dr={key:24},Or={key:25},kr=u({__name:`title-renderer`,props:{no:{}},setup(e){let t=e,{$page:n}=et(),r=T(()=>+(t.no??n.value));return(e,t)=>(P(),v(`div`,null,[r.value===1?(P(),v(`p`,rr,`July Release Party`)):r.value===2?(P(),v(`p`,ir,`undefined`)):r.value===3?(P(),v(`p`,ar,`MCP At Hugging Face`)):r.value===4?(P(),v(`p`,or,`Legacy MCP is fully bi-directional`)):r.value===5?(P(),v(`p`,sr,`Motivation for Stateless`)):r.value===6?(P(),v(`p`,cr,`Understanding Activity`)):r.value===7?(P(),v(`p`,lr,`undefined`)):r.value===8?(P(),v(`p`,ur,`What’s new`)):r.value===9?(P(),v(`p`,dr,`2026-07-28 Specification`)):r.value===10?(P(),v(`p`,fr,`Simplifications`)):r.value===11?(P(),v(`p`,pr,`Remove Initialization Handshake`)):r.value===12?(P(),v(`p`,mr,`List Caching`)):r.value===13?(P(),v(`p`,hr,`Modern Elicitations`)):r.value===14?(P(),v(`p`,gr,`Elicitation Request 1`)):r.value===15?(P(),v(`p`,_r,`Elicitation Request 2`)):r.value===16?(P(),v(`p`,vr,`Replace Sessions with State Handles`)):r.value===17?(P(),v(`p`,yr,`Before: One Endpoint, Opaque JSON`)):r.value===18?(P(),v(`p`,br,`Routable MCP Traffic`)):r.value===19?(P(),v(`p`,xr,`Optional: Tool-Defined Routing Keys`)):r.value===20?(P(),v(`p`,Sr,`Scaling MCP in Production`)):r.value===21?(P(),v(`p`,Cr,`What’s next`)):r.value===22?(P(),v(`p`,wr,`What’s next`)):r.value===23?(P(),v(`p`,Tr,`MCP Clients Dataset`)):r.value===24?(P(),v(`p`,Er,`undefined`)):r.value===25?(P(),v(`p`,Dr,`Thank you`)):r.value===26?(P(),v(`p`,Or,`undefined`)):M(`v-if`,!0)]))}}),Ar={class:`bg-main transform`,shadow:`~`,p:`x-4 y-2`,border:`~ transparent rounded dark:main`},jr=[`value`,`disabled`],Mr={table:``,"w-full":``,"border-collapse":``},Nr=[`border`,`onClick`],Pr={"text-right":``,op50:``,"text-sm":``,"table-cell":``,"py-2":``,"pl-4":``,"pr-3":``,"vertical-middle":``},Fr=Re(u({__name:`Goto`,setup(e){let n=x(),r=x(),i=x(),o=x(),s=x(``),c=x(0),{go:l,slides:u}=B();function f(e){return e!=null}let p=T(()=>new nr(u.value.map(e=>e.meta?.slide).filter(f),{keys:[`no`,`title`],threshold:.3,shouldSort:!0,minMatchCharLength:1})),m=T(()=>s.value.startsWith(`/`)?s.value.substring(1):s.value),_=T(()=>m.value?p.value.search(m.value).map(e=>e.item):[]),b=T(()=>!!_.value.length);function C(){if(b.value){let e=_.value.at(c.value||0);e&&l(e.no)}D()}function D(){s.value=``,F.value=!1}function O(e){e.preventDefault(),c.value++,c.value>=_.value.length&&(c.value=0),te()}function ee(e){e.preventDefault(),c.value--,c.value<=-2&&(c.value=_.value.length-1),te()}function te(){let e=o.value?.[c.value];e&&i.value&&(e.offsetTop+e.offsetHeight>i.value.offsetHeight+i.value.scrollTop?i.value.scrollTo({behavior:`smooth`,top:e.offsetTop+e.offsetHeight-i.value.offsetHeight+1}):e.offsetTop<i.value.scrollTop&&i.value.scrollTo({behavior:`smooth`,top:e.offsetTop}))}function ne(e){c.value=0,s.value=e.target.value}function re(e){l(e),D()}return a(F,async e=>{e?(s.value=``,c.value=0,setTimeout(()=>r.value?.focus(),0)):r.value?.blur()}),a(Te,()=>{n.value?.contains(Te.value)||D()}),(e,a)=>(P(),v(`div`,{id:`slidev-goto-dialog`,ref_key:`container`,ref:n,class:g([`fixed right-5 transition-all`,E(F)?`top-5`:`-top-20`]),"w-90":``,"max-w-90":``,"min-w-90":``},[h(`div`,Ar,[h(`input`,{id:`slidev-goto-input`,ref_key:`input`,ref:r,value:s.value,type:`text`,disabled:!E(F),class:g([`outline-none bg-transparent`,{"text-red-400":!b.value&&s.value}]),placeholder:`Goto...`,onKeydown:[S(C,[`enter`]),S(D,[`escape`]),S(O,[`down`]),S(ee,[`up`])],onInput:ne},null,42,jr)]),E(F)&&_.value.length>0?(P(),v(`div`,{key:0,ref_key:`list`,ref:i,class:`autocomplete-list`,shadow:`~`,border:`~ transparent rounded dark:main`},[h(`ul`,Mr,[(P(!0),v(k,null,d(_.value,(e,n)=>(P(),v(`li`,{ref_for:!0,ref_key:`items`,ref:o,key:e.id,role:`button`,tabindex:`0`,"cursor-pointer":``,hover:`op100`,"table-row":``,"items-center":``,border:n===0?void 0:`t main`,class:g(c.value===n?`bg-active op100`:`op80`),onClick:w(t=>re(e.no),[`stop`,`prevent`])},[h(`div`,Pr,y(e.no),1),t(E(kr),{"table-cell":``,"py-2":``,"pr-4":``,"w-full":``,no:e.no},null,8,[`no`])],10,Nr))),128))])],512)):M(`v-if`,!0)],2))}}),[[`__scopeId`,`data-v-42be5418`]]),Ir=x(1),Lr=T(()=>_e.value.length),X=x(0),Rr=x(0);function zr(){X.value>Ir.value&&--X.value}function Br(){X.value<Lr.value&&(X.value+=1)}function Vr(){if(X.value>Ir.value){let e=X.value-Rr.value;e<Ir.value&&(e=Ir.value),X.value=e}}function Hr(){if(X.value<Lr.value){let e=X.value+Rr.value;e>Lr.value&&(e=Lr.value),X.value=e}}var Ur=[`onClick`],Wr={class:`text-green font-bold`},Gr={class:`opacity-50`},Kr={key:1,class:`opacity-50`},qr={class:`fixed top-4 right-4 z-modal text-gray-400 flex flex-col items-center gap-2`},Jr=128,Yr=32,Xr=u({__name:`QuickOverview`,setup(e){let{currentSlideNo:n,go:r,slides:i}=B();function a(){z.value=!1}function o(e){r(e),a()}function s(e){return e===X.value}let l=be.smaller(`xs`),u=be.smaller(`sm`),f=T(()=>l.value?Le.width.value-Jr:u.value?(Le.width.value-Jr-Yr)/2:300),b=T(()=>Math.floor((Le.width.value-Jr)/(f.value+Yr))),S=x(``);return Ke(`keypress`,e=>{if(!z.value){S.value=``;return}if(e.key===`Enter`){e.preventDefault(),S.value?(o(+S.value),S.value=``):o(X.value);return}let t=Number.parseInt(e.key.replace(/\D/g,``));if(Number.isNaN(t)){S.value=``;return}if(!S.value&&t===0)return;if(S.value+=String(t),+S.value>i.value.length){S.value=``;return}let n=i.value.findIndex(e=>`/${e.no}`===S.value);n!==-1&&(X.value=n+1),S.value*10>i.value.length&&(o(+S.value),S.value=``)}),p(()=>{X.value=n.value,Rr.value=b.value}),(e,n)=>(P(),v(k,null,[t(_,{"enter-active-class":`duration-150 ease-out`,"enter-from-class":`opacity-0 scale-102 !backdrop-blur-0px`,"leave-active-class":`duration-200 ease-in`,"leave-to-class":`opacity-0 scale-102 !backdrop-blur-0px`},{default:m(()=>[E(z)?(P(),v(`div`,{key:0,class:`fixed left-0 right-0 top-0 h-[calc(var(--vh,1vh)*100)] z-modal bg-main !bg-opacity-75 p-16 py-20 overflow-y-auto backdrop-blur-5px select-none`,onClick:a},[h(`div`,{class:`grid gap-y-4 gap-x-8 w-full`,style:N(`grid-template-columns: repeat(auto-fit,minmax(${f.value}px,1fr))`)},[(P(!0),v(k,null,d(E(i),(e,n)=>(P(),v(`div`,{key:e.no,class:`relative`},[h(`div`,{class:g([`inline-block border rounded overflow-hidden bg-main hover:border-primary transition`,s(n+1)||E(X)===n+1?`border-primary`:`border-main`]),onClick:t=>o(e.no)},[(P(),A(ft,{key:e.no,no:e.no,"use-snapshot":!0,width:f.value,class:`pointer-events-none`},{default:m(()=>[t(ht,{"clicks-context":E(je)(e,E($e)),route:e,"render-context":`overview`},null,8,[`clicks-context`,`route`]),t(ut,{page:e.no},null,8,[`page`])]),_:2},1032,[`no`,`width`]))],10,Ur),h(`div`,{class:`absolute top-0`,style:N(`left: ${f.value+5}px`)},[S.value&&String(n+1).startsWith(S.value)?(P(),v(k,{key:0},[h(`span`,Wr,y(S.value),1),h(`span`,Gr,y(String(n+1).slice(S.value.length)),1)],64)):(P(),v(`span`,Kr,y(n+1),1))],4)]))),128))],4)])):M(`v-if`,!0)]),_:1}),c(h(`div`,qr,[t(W,{title:`Close`,class:`text-2xl`,onClick:a},{default:m(()=>[...n[0]||=[h(`div`,{class:`i-carbon:close`},null,-1)]]),_:1}),(P(),A(W,{key:0,as:`a`,title:`Slides Overview`,target:`_blank`,href:`${E(ve)}overview`,"tab-index":`-1`,class:`text-2xl`},{default:m(()=>[...n[1]||=[h(`div`,{class:`i-carbon:list-boxes`},null,-1)]]),_:1},8,[`href`])),M(`v-if`,!0)],512),[[ae,E(z)]])],64))}});function Zr(){let e=Ye();return T(()=>{let t=dt.value?.getBoundingClientRect();if(!t)return;let n=(e.x.value-t.left)/t.width*100,r=(e.y.value-t.top)/t.height*100;if(!(n<0||n>100||r<0||r>100))return{x:n,y:r}})}var Qr={key:0,class:`absolute top-0 left-0 right-0 bottom-0 pointer-events-none text-xl`},$r=Re(u({__name:`LaserPointer`,setup(e){let t=Zr(),{isPresenter:n}=B(),r=T(()=>!n.value&&it.cursor?.style===`laser`?it.cursor:ke.value===`laser`?t.value:null);return o(()=>{p(()=>{document.body.classList.toggle(`slidev-self-laser-active`,ke.value===`laser`&&!!r.value)})}),(e,t)=>r.value?(P(),v(`div`,Qr,[h(`div`,{class:`laser-pointer`,style:N({left:`${r.value.x}%`,top:`${r.value.y}%`})},null,4)])):M(`v-if`,!0)}}),[[`__scopeId`,`data-v-9cef461a`]]),ei={render:()=>[]},ti={key:0,class:`bg-main text-main shadow-xl absolute bottom-10 left-0 z-menu py2`,border:`~ main rounded-md`},ni=u({__name:`MenuButton`,props:{modelValue:{default:!1},disabled:{default:!1}},setup(e,{emit:t}){let n=He(e,`modelValue`,t,{passive:!0}),r=x();return Ge(r,()=>{n.value=!1}),(t,a)=>(P(),v(`div`,{ref_key:`el`,ref:r,class:`flex relative`},[h(`button`,{class:g({disabled:e.disabled}),onClick:a[0]||=e=>n.value=!E(n)},[i(t.$slots,`button`,{value:E(n),class:g({disabled:e.disabled})})],2),(P(),A(te,null,[E(n)?(P(),v(`div`,ti,[i(t.$slots,`menu`)])):M(`v-if`,!0)],1024))],512))}}),ri={border:`~ main rounded`,flex:`~ gap-2 items-center`,relative:``,"h-5":``,"w-5":``,"p0.5":``,"hover:bg-active":``,p1:``},ii=[`disabled`],ai=u({__name:`FormCheckbox`,props:O({disabled:{type:Boolean}},{modelValue:{type:Boolean,type:Boolean},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=r(e,`modelValue`);return(n,r)=>(P(),v(`div`,ri,[h(`div`,{"i-ri-check-line":``,class:g(t.value?``:`op0`)},null,2),c(h(`input`,{"onUpdate:modelValue":r[0]||=e=>t.value=e,type:`checkbox`,absolute:``,"inset-0":``,"opacity-10":``,disabled:e.disabled},null,8,ii),[[b,t.value]])]))}}),oi={"w-30":``,"h-8":``,flex:`~ gap-1 items-center`},si={key:0,"w-1.5":``,"h-1.5":``,"bg-primary":``,rounded:``,absolute:``,"top-0":``,"right--2":``},ci={key:0,"w-1.5":``,"h-1.5":``,"bg-primary":``,rounded:``,absolute:``,"top-0":``,"right--2":``},li=[`innerHTML`],Z=u({__name:`FormItem`,props:{title:{},nested:{type:[Boolean,Number]},div:{type:Boolean},description:{},dot:{type:Boolean}},emits:[`reset`],setup(e,{emit:t}){let n=t;function r(){n(`reset`)}return(t,n)=>(P(),A(f(e.div?`div`:`label`),{flex:`~ row gap-2 items-center`,"select-none":``},{default:m(()=>[h(`div`,oi,[e.nested?(P(),v(`div`,{key:0,"i-ri-corner-down-right-line":``,op40:``,style:N(typeof e.nested==`number`?{marginLeft:`${e.nested*.5+.5}rem`}:{marginLeft:`0.25rem`})},null,4)):M(`v-if`,!0),e.description?(P(),A(E(ne),{key:2,distance:`10`},{popper:m(()=>[h(`div`,{"text-sm":``,"min-w-90":``,innerHTML:e.description},null,8,li)]),default:m(()=>[h(`div`,{op75:``,"text-right":``,relative:``,onDblclick:r},[l(y(e.title)+` `,1),e.dot?(P(),v(`div`,ci)):M(`v-if`,!0)],32)]),_:1})):(P(),v(`div`,{key:1,op75:``,relative:``,onDblclick:r},[l(y(e.title)+` `,1),e.dot?(P(),v(`div`,si)):M(`v-if`,!0)],32))]),i(t.$slots,`default`)]),_:3}))}}),ui={relative:``,"h-22px":``},di={key:0,"pointer-events-none":``,absolute:``,"right-1":``,"top-0.5":``,"text-xs":``,op25:``},fi=u({__name:`FormSlider`,props:O({max:{},min:{},step:{},unit:{},default:{}},{modelValue:{type:Number},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=r(e,`modelValue`);return(r,i)=>(P(),v(k,null,[h(`div`,{relative:``,"h-22px":``,"w-60":``,"flex-auto":``,onDblclick:i[1]||=e=>t.default===void 0?null:n.value=t.default},[c(h(`input`,s({"onUpdate:modelValue":i[0]||=e=>n.value=e,type:`range`,class:`slider`},t,{absolute:``,"bottom-0":``,"left-0":``,"right-0":``,"top-0":``,"z-10":``,"w-full":``,"align-top":``}),null,16),[[ee,n.value,void 0,{number:!0}]]),t.default==null?M(`v-if`,!0):(P(),v(`span`,{key:0,border:`r main`,absolute:``,"bottom-0":``,"top-0":``,"h-full":``,"w-1px":``,op75:``,style:N({left:`${(t.default-e.min)/(e.max-e.min)*100}%`})},null,4))],32),h(`div`,ui,[c(h(`input`,s({"onUpdate:modelValue":i[2]||=e=>n.value=e,type:`number`},t,{border:`~ main rounded`,m0:``,"w-20":``,"bg-gray:5":``,pl2:``,"align-top":``,"text-sm":``}),null,16),[[ee,n.value,void 0,{number:!0}]]),t.unit?(P(),v(`span`,di,y(t.unit),1)):M(`v-if`,!0)])],64))}}),pi={error:0,client:60,Light:60,Dark:240};function mi(e,t=1){if(pi[e])return hi(pi[e],t);let n=0;for(let t=0;t<e.length;t++)n=e.charCodeAt(t)+((n<<5)-n);return hi(n%360,t)}function hi(e,t=1){return`hsla(${e}, ${e===-1?0:tt.value?50:100}%, ${tt.value?60:20}%, ${t})`}var gi=[`textContent`],_i=u({__name:`Badge`,props:{text:{},color:{type:[Boolean,Number],default:!0},as:{},size:{}},setup(e){let t=e,n=T(()=>!t.text||t.color===!1?{}:{color:typeof t.color==`number`?hi(t.color):mi(t.text),background:typeof t.color==`number`?hi(t.color,.1):mi(t.text,.1)}),r=T(()=>{switch(t.size||`sm`){case`sm`:return`px-1.5 text-11px leading-1.6em`}return``});return(a,o)=>(P(),A(f(e.as||`span`),{"ws-nowrap":``,rounded:``,class:g(r.value),style:N(n.value)},{default:m(()=>[i(a.$slots,`default`,{},()=>[h(`span`,{textContent:y(t.text)},null,8,gi)])]),_:3},8,[`class`,`style`]))}}),vi={flex:`~ gap-1 items-center`,rounded:``,"bg-gray:4":``,p1:``,"m--1":``},yi=u({__name:`SegmentControl`,props:{options:{},modelValue:{}},emits:[`update:modelValue`],setup(e){return(t,n)=>(P(),v(`div`,vi,[(P(!0),v(k,null,d(e.options,n=>(P(),A(_i,{key:n.value,class:g([`px-2 py-1 text-xs font-mono`,n.value===e.modelValue?``:`op50`]),color:n.value===e.modelValue,"aria-pressed":n.value===e.modelValue,size:`none`,text:n.label,as:`button`,onClick:e=>t.$emit(`update:modelValue`,n.value)},null,8,[`class`,`color`,`aria-pressed`,`text`,`onClick`]))),128))]))}}),bi={"text-sm":``,"select-none":``,flex:`~ col gap-1`,"min-w-30":``,px4:``},xi=u({__name:`Settings`,setup(e){let{isPresenter:n}=B(),{isSupported:r}=ze();return(e,i)=>(P(),v(`div`,bi,[t(Z,{title:`Invert`,dot:E(I).invert!==E(L).invert,onReset:i[1]||=e=>E(I).invert=E(L).invert},{default:m(()=>[t(ai,{modelValue:E(I).invert,"onUpdate:modelValue":i[0]||=e=>E(I).invert=e},null,8,[`modelValue`])]),_:1},8,[`dot`]),t(Z,{title:`Brightness`,dot:E(I).brightness!==E(L).brightness,onReset:i[3]||=e=>E(I).brightness=E(L).brightness},{default:m(()=>[t(fi,{modelValue:E(I).brightness,"onUpdate:modelValue":i[2]||=e=>E(I).brightness=e,max:1.5,min:.5,step:.02,default:E(L).brightness},null,8,[`modelValue`,`default`])]),_:1},8,[`dot`]),t(Z,{title:`Contrast`,dot:E(I).contrast!==E(L).contrast,onReset:i[5]||=e=>E(I).contrast=E(L).contrast},{default:m(()=>[t(fi,{modelValue:E(I).contrast,"onUpdate:modelValue":i[4]||=e=>E(I).contrast=e,max:1.5,min:.5,step:.02,default:E(L).contrast},null,8,[`modelValue`,`default`])]),_:1},8,[`dot`]),t(Z,{title:`Saturation`,dot:E(I).saturate!==E(L).saturate,onReset:i[7]||=e=>E(I).saturate=E(L).saturate},{default:m(()=>[t(fi,{modelValue:E(I).saturate,"onUpdate:modelValue":i[6]||=e=>E(I).saturate=e,max:1.5,min:.5,step:.02,default:E(L).saturate},null,8,[`modelValue`,`default`])]),_:1},8,[`dot`]),t(Z,{title:`Sepia`,dot:E(I).sepia!==E(L).sepia,onReset:i[9]||=e=>E(I).sepia=E(L).sepia},{default:m(()=>[t(fi,{modelValue:E(I).sepia,"onUpdate:modelValue":i[8]||=e=>E(I).sepia=e,max:2,min:-2,step:.02,default:E(L).sepia},null,8,[`modelValue`,`default`])]),_:1},8,[`dot`]),t(Z,{title:`Hue Rotate`,dot:E(I).hueRotate!==E(L).hueRotate,onReset:i[11]||=e=>E(I).hueRotate=E(L).hueRotate},{default:m(()=>[t(fi,{modelValue:E(I).hueRotate,"onUpdate:modelValue":i[10]||=e=>E(I).hueRotate=e,max:180,min:-180,step:.1,default:E(L).hueRotate},null,8,[`modelValue`,`default`])]),_:1},8,[`dot`]),i[16]||=h(`div`,{class:`h-1px opacity-5 bg-current w-full my2`},null,-1),t(Z,{title:`Cursor Style`},{default:m(()=>[t(yi,{modelValue:E(ke),"onUpdate:modelValue":i[12]||=e=>ie(ke)?ke.value=e:null,options:[{label:`Cursor`,value:`cursor`},{label:`Laser`,value:`laser`}]},null,8,[`modelValue`])]),_:1}),E(n)?M(`v-if`,!0):(P(),A(Z,{key:0,title:`Slide Scale`},{default:m(()=>[t(yi,{modelValue:E(Ee),"onUpdate:modelValue":i[13]||=e=>ie(Ee)?Ee.value=e:null,options:[{label:`Fit`,value:0},{label:`1:1`,value:1}]},null,8,[`modelValue`])]),_:1})),E(r)?(P(),A(Z,{key:1,title:`Wake Lock`},{default:m(()=>[t(ai,{modelValue:E(he),"onUpdate:modelValue":i[14]||=e=>ie(he)?he.value=e:null},null,8,[`modelValue`])]),_:1})):M(`v-if`,!0),E(n)?M(`v-if`,!0):(P(),A(Z,{key:2,title:`Hide Idle Cursor`},{default:m(()=>[t(ai,{modelValue:E(Ae),"onUpdate:modelValue":i[15]||=e=>ie(Ae)?Ae.value=e:null},null,8,[`modelValue`])]),_:1}))]))}}),Si={class:`select-list`},Ci={class:`title`},wi={class:`items`},Ti=[`onClick`],Ei=Re(u({__name:`SelectList`,props:{modelValue:{type:[Object,String,Number,Boolean]},title:{type:String},items:{type:Array}},setup(e,{emit:t}){let n=He(e,`modelValue`,t,{passive:!0});return(t,r)=>(P(),v(`div`,Si,[h(`div`,Ci,y(e.title),1),h(`div`,wi,[(P(!0),v(k,null,d(e.items,e=>(P(),v(`div`,{key:e.value,class:g([`item`,{active:E(n)===e.value}]),onClick:()=>{n.value=e.value,e.onClick?.()}},[h(`div`,{class:g([`i-carbon:checkmark text-green-500 mya`,{"opacity-0":E(n)!==e.value}])},null,2),h(`div`,{class:g({"opacity-50":E(n)!==e.value})},y(e.display||e.value),3)],10,Ti))),128))])]))}}),[[`__scopeId`,`data-v-6cd69f25`]]),Di={"text-sm":``,flex:`~ col gap-2`},Oi={px3:``,"ws-nowrap":``},ki={"font-bold":``,"text-primary":``},Ai=u({__name:`SyncControls`,setup(e){let{isPresenter:n}=B(),r=T({get:()=>n.value?R.value.presenterReceive:R.value.viewerReceive,set(e){n.value?R.value.presenterReceive=e:R.value.viewerReceive=e}}),i=T({get:()=>n.value?R.value.presenterSend:R.value.viewerSend,set(e){n.value?R.value.presenterSend=e:R.value.viewerSend=e}}),a=T({get:()=>r.value&&i.value?`bidirectional`:r.value&&!i.value?`receive-only`:!r.value&&i.value?`send-only`:`off`,set(e){switch(e){case`bidirectional`:r.value=!0,i.value=!0;break;case`receive-only`:r.value=!0,i.value=!1;break;case`send-only`:r.value=!1,i.value=!0;break;case`off`:r.value=!1,i.value=!1;break}}});return(e,o)=>(P(),A(ni,null,{button:m(()=>[t(W,{title:`Change sync settings`},{default:m(()=>[h(`div`,{class:g([`i-ph:arrow-up-bold mx--1.2 scale-x-80`,i.value?`text-green6 dark:text-green`:`op30`])},null,2),h(`div`,{class:g([`i-ph:arrow-down-bold mx--1.2 scale-x-80`,r.value?`text-green6 dark:text-green`:`op30`])},null,2)]),_:1})]),menu:m(()=>[h(`div`,Di,[h(`div`,Oi,[o[1]||=h(`span`,{op75:``},`Slides navigation syncing for `,-1),h(`span`,ki,y(E(n)?`presenter`:`viewer`),1)]),o[2]||=h(`div`,{class:`h-1px opacity-10 bg-current w-full`},null,-1),t(Ei,{modelValue:a.value,"onUpdate:modelValue":o[0]||=e=>a.value=e,title:`Sync Mode`,items:[{value:`bidirectional`,display:`Bidirectional Sync`},{value:`receive-only`,display:`Receive Only`},{value:`send-only`,display:`Send Only`},{value:`off`,display:`Disable`}]},null,8,[`modelValue`])])]),_:1}))}}),ji={key:0,class:`i-carbon:minimize`},Mi={key:1,class:`i-carbon:maximize`},Ni={key:0,class:`i-carbon-moon`},Pi={key:1,class:`i-carbon-sun`},Fi={key:0,class:`i-carbon-magic-wand-filled color-red-600 dark:color-red-400`},Ii={key:1,class:`i-carbon-magic-wand`},Li={key:0,class:`i-ph-cursor-fill`},Ri={key:1,class:`i-ph-cursor-duotone`},zi={key:0,"w-2":``,"h-2":``,"bg-primary":``,"rounded-full":``,absolute:``,"top-0.5":``,"right-0.5":``},Bi={class:`px2 my-auto`},Vi={class:`text-lg`},Hi={class:`opacity-50 text-sm`},Ui=u({__name:`NavControls`,props:{persist:{default:!1}},setup(e){let n=e,{currentSlideNo:r,hasNext:i,hasPrev:a,isEmbedded:o,isPresenter:s,isPresenterAvailable:c,next:u,prev:d,total:f,enterPresenter:p,exitPresenter:_}=B(),{brush:b,drawingEnabled:S}=ct(),w=be.smaller(`md`),{isFullscreen:D,toggle:O}=Ce,ee=x();function te(){ee.value&&Te.value&&ee.value.contains(Te.value)&&Te.value.blur()}let ne=T(()=>n.persist?`text-$slidev-controls-foreground bg-transparent`:`rounded-md bg-main shadow-xl border border-main`),re=C();return(e,n)=>(P(),v(`nav`,{ref_key:`root`,ref:ee,class:`flex flex-col`},[h(`div`,{class:g([`flex flex-wrap-reverse text-xl gap-0.5 p-1 lg:p-2`,ne.value]),onMouseleave:te},[E(o)?M(`v-if`,!0):(P(),A(W,{key:0,title:E(D)?`Close fullscreen`:`Enter fullscreen`,onClick:E(O)},{default:m(()=>[E(D)?(P(),v(`div`,ji)):(P(),v(`div`,Mi))]),_:1},8,[`title`,`onClick`])),t(W,{disabled:!E(a),title:`Go to previous slide`,onClick:E(d)},{default:m(()=>[...n[6]||=[h(`div`,{class:`i-carbon:arrow-left`},null,-1)]]),_:1},8,[`disabled`,`onClick`]),t(W,{disabled:!E(i),title:`Go to next slide`,onClick:E(u)},{default:m(()=>[...n[7]||=[h(`div`,{class:`i-carbon:arrow-right`},null,-1)]]),_:1},8,[`disabled`,`onClick`]),E(o)?M(`v-if`,!0):(P(),A(W,{key:1,title:`Show slide overview`,onClick:n[0]||=e=>E(fe)()},{default:m(()=>[...n[8]||=[h(`div`,{class:`i-carbon:apps`},null,-1)]]),_:1})),E(st)?M(`v-if`,!0):(P(),A(W,{key:2,title:E(tt)?`Switch to light mode theme`:`Switch to dark mode theme`,onClick:n[1]||=e=>E(nt)()},{default:m(()=>[E(tt)?(P(),v(`div`,Ni)):(P(),v(`div`,Pi))]),_:1},8,[`title`])),t(lt),E(o)?M(`v-if`,!0):(P(),v(k,{key:3},[!E(s)&&!E(w)&&re.value?(P(),v(k,{key:0},[t(E(re)),t(lt)],64)):M(`v-if`,!0),E(s)?(P(),A(W,{key:1,title:E(ke)===`laser`?E(De)?`Disable laser pointer`:`Enable laser pointer`:E(De)?`Hide presenter cursor`:`Show presenter cursor`,active:E(De),onClick:n[2]||=e=>E(pe)()},{default:m(()=>[E(ke)===`laser`?(P(),v(k,{key:0},[E(De)?(P(),v(`div`,Fi)):(P(),v(`div`,Ii))],64)):(P(),v(k,{key:1},[E(De)?(P(),v(`div`,Li)):(P(),v(`div`,Ri))],64))]),_:1},8,[`title`,`active`])):M(`v-if`,!0),!E(V).drawings.presenterOnly||E(s)?(P(),A(W,{key:2,class:`relative`,title:E(S)?`Hide drawing toolbar`:`Show drawing toolbar`,active:E(S),onClick:n[3]||=e=>S.value=!E(S)},{default:m(()=>[n[9]||=h(`div`,{class:`i-carbon:pen`},null,-1),E(S)?(P(),v(`div`,{key:0,class:`absolute left-1 right-1 bottom-0 h-0.7 rounded-full`,style:N({background:E(b).color})},null,4)):M(`v-if`,!0)]),_:1},8,[`title`,`active`])):M(`v-if`,!0),t(lt),E(s)?(P(),A(W,{key:3,title:`Play Mode`,onClick:E(_)},{default:m(()=>[...n[10]||=[h(`div`,{class:`i-carbon:presentation-file`},null,-1)]]),_:1},8,[`onClick`])):M(`v-if`,!0),E(c)?(P(),A(W,{key:4,title:`Presenter Mode`,onClick:E(p)},{default:m(()=>[...n[11]||=[h(`div`,{class:`i-carbon:user-speaker`},null,-1)]]),_:1},8,[`onClick`])):M(`v-if`,!0),M(`v-if`,!0)],64)),(P(),v(k,{key:4},[E(V).download?(P(),A(W,{key:0,title:`Download as PDF`,onClick:E(rt)},{default:m(()=>[...n[13]||=[h(`div`,{class:`i-carbon:download`},null,-1)]]),_:1},8,[`onClick`])):M(`v-if`,!0)],64)),M(`v-if`,!0),!E(s)&&E(V).info&&!E(o)?(P(),A(W,{key:6,title:`Show info`,onClick:n[5]||=e=>le.value=!E(le)},{default:m(()=>[...n[15]||=[h(`div`,{class:`i-carbon:information`},null,-1)]]),_:1})):M(`v-if`,!0),E(o)?M(`v-if`,!0):(P(),v(k,{key:7},[t(lt),E(s)?(P(),A(W,{key:0,title:`Toggle Presenter Layout`,class:`aspect-ratio-initial flex items-center`,onClick:E(ue)},{default:m(()=>[n[16]||=h(`div`,{class:`i-carbon:template`},null,-1),l(` `+y(E(Ie)),1)]),_:1},8,[`onClick`])):M(`v-if`,!0),(P(),A(Ai,{key:1})),t(ni,null,{button:m(({value:e})=>[t(W,{title:`More Options`,active:e},{default:m(()=>[n[17]||=h(`div`,{class:`i-carbon:settings-adjust`},null,-1),E(we)?(P(),v(`div`,zi)):M(`v-if`,!0)]),_:1},8,[`active`])]),menu:m(()=>[t(xi)]),_:1})],64)),E(o)?M(`v-if`,!0):(P(),A(lt,{key:8})),h(`div`,Bi,[h(`span`,Vi,y(E(r)),1),h(`span`,Hi,` / `+y(E(f)),1)]),t(E(ei))],34)],512))}}),Wi=new Set,Gi=new Set,Ki=/\/$/;function qi(e){return e.startsWith(`http`)||e.startsWith(`//`)?e:`${`./`.replace(Ki,``)}${e.startsWith(`/`)?e:`/${e}`}`}var Ji=2,Yi=new Map,Xi=x(0),Zi=x(0),Qi=T(()=>Zi.value===0?1:Xi.value/Zi.value);T(()=>Qi.value>=1);function $i(e){let t=qi(e);if(Wi.has(t)||Gi.has(t))return;Gi.add(t);let n=new Image;n.onload=()=>{Gi.delete(t),Wi.add(t),Yi.delete(t),Xi.value=Wi.size},n.onerror=()=>{Gi.delete(t);let n=Yi.get(t)??0;n<Ji&&(Yi.set(t,n+1),setTimeout($i,1e3*(n+1),e))},n.src=t}function ea(e){let t=e.meta?.slide?.images;if(t?.length)for(let e of t)$i(e)}function ta(e,t,n,r){let i=V.preloadImages;if(i===!1)return;let a=typeof i==`object`&&i?.ahead||3;p(()=>{let e=r.value;if(!e?.length)return;let t=new Set;for(let n of e)for(let e of n.meta?.slide?.images??[])t.add(qi(e));Zi.value=t.size}),p(()=>{let i=e.value,o=r.value;if(!i||!o?.length)return;ea(i),ea(t.value),ea(n.value);let s=i.no-1;for(let e=1;e<=a;e++){let t=s+e;t<o.length&&ea(o[t])}}),p(e=>{let t=r.value,n=setTimeout(()=>{if(t?.length)for(let e of t)ea(e)},3e3);e(()=>clearTimeout(n))})}function na(){let e=Ue(),t=x(!1),n,r,i=typeof document<`u`&&`startViewTransition`in document;return e.beforeResolve((e,a)=>{let o=se(a.params.no)?.meta,s=se(e.params.no)?.meta,c=o?.slide?.no,l=s?.slide?.no;if((c!=null&&l!=null&&c!==l&&((c<l?o?.transition:s?.transition)??V.transition))!==`view-transition`){t.value=!1;return}if(!i){t.value=!1,console.warn(`View transition is not supported in your browser, fallback to normal transition.`);return}t.value=!0;let u=new Promise((e,t)=>{n=e,r=t}),d,f=new Promise(e=>d=e);return setTimeout(()=>{document.startViewTransition(()=>(d(),u))},50),f}),i&&e.afterEach(()=>{n?.(),r?.()}),t}var ra=[`data-drag-id`],Q=10,$=10,ia=`absolute border border-gray bg-gray dark:border-gray-500 dark:bg-gray-800 bg-opacity-30 `,aa=20,oa=u({__name:`DragControl`,props:{data:{}},setup(t){let{dragId:r,zoom:i,autoHeight:a,x0:o,y0:s,width:c,height:l,rotate:u,isArrow:d}=t.data,f=e(Qe,x(1)),m=T(()=>f.value*i.value),{left:_,top:y}=at(),b=d?-1/0:40,S=T(()=>u.value*Math.PI/180),C=T(()=>Math.sin(S.value)),w=T(()=>Math.cos(S.value)),D=T(()=>c.value*w.value+l.value*C.value),O=T(()=>c.value*C.value+l.value*w.value),ee=T(()=>o.value-D.value/2),te=T(()=>s.value-O.value/2),ne=T(()=>o.value+D.value/2),re=T(()=>s.value+O.value/2),ie=T(()=>d&&c.value<0),ae=T(()=>d&&l.value<0),A=null;function se(e){if(e.buttons!==1)return;e.preventDefault(),e.stopPropagation();let t=e.target.getBoundingClientRect(),n=c.value*w.value-l.value*C.value,r=c.value*C.value+l.value*w.value,i=c.value*w.value+l.value*C.value,a=-c.value*C.value+l.value*w.value;A={x0:o.value,y0:s.value,width:c.value,height:l.value,rotate:u.value,dx0:e.clientX-(t.left+t.right)/2,dy0:e.clientY-(t.top+t.bottom)/2,ltx:o.value-n/2,lty:s.value-r/2,rtx:o.value+i/2,rty:s.value-a/2,lbx:o.value-i/2,lby:s.value+a/2,rbx:o.value+n/2,rby:s.value+r/2},e.currentTarget.setPointerCapture(e.pointerId)}function ce(e){if(!A||e.buttons!==1)return;e.preventDefault(),e.stopPropagation();let t=(e.clientX-_.value-A.dx0)/m.value,n=(e.clientY-y.value-A.dy0)/m.value;o.value=Ne(t,-D.value/2+$,oe.value+D.value/2-$),s.value=Ne(n,-O.value/2+$,me.value+O.value/2-$)}function le(e){A&&=(e.preventDefault(),e.stopPropagation(),null)}function F(e,t){return{onPointerdown:se,onPointermove:n=>{if(!A||n.buttons!==1)return;n.preventDefault(),n.stopPropagation();let r=(n.clientX-_.value)/m.value,i=(n.clientY-y.value)/m.value,{ltx:a,lty:u,rtx:d,rty:f,lbx:p,lby:h,rbx:g,rby:v}=A,x=A.width/A.height,S=Math.max(b,b*x);function T(e,t){if(n.shiftKey){let n=Math.max(e,t*x,S);return{w:n,h:n/x}}else return{w:Math.max(e,b),h:Math.max(t,b)}}if(e)if(t){let{w:e,h:t}=T((g-r)*w.value+(v-i)*C.value,-(g-r)*C.value+(v-i)*w.value);r=g-e*w.value+t*C.value,i=v-e*C.value-t*w.value}else{let{w:e,h:t}=T((d-r)*w.value-(i-f)*C.value,(d-r)*C.value+(i-f)*w.value);r=d-e*w.value-t*C.value,i=f-e*C.value+t*w.value}else if(t){let{w:e,h:t}=T((r-p)*w.value-(h-i)*C.value,(r-p)*C.value+(h-i)*w.value);r=p+e*w.value+t*C.value,i=h+e*C.value-t*w.value}else{let{w:e,h:t}=T((r-a)*w.value+(i-u)*C.value,-(r-a)*C.value+(i-u)*w.value);r=a+e*w.value-t*C.value,i=u+e*C.value+t*w.value}e?t?(o.value=(r+g)/2,s.value=(i+v)/2,c.value=(g-r)*w.value+(v-i)*C.value,l.value=-(g-r)*C.value+(v-i)*w.value):(o.value=(r+d)/2,s.value=(i+f)/2,c.value=(d-r)*w.value-(i-f)*C.value,l.value=(d-r)*C.value+(i-f)*w.value):t?(o.value=(r+p)/2,s.value=(i+h)/2,c.value=(r-p)*w.value-(h-i)*C.value,l.value=(r-p)*C.value+(h-i)*w.value):(o.value=(r+a)/2,s.value=(i+u)/2,c.value=(r-a)*w.value+(i-u)*C.value,l.value=-(r-a)*C.value+(i-u)*w.value)},onPointerup:le,style:{width:`${Q}px`,height:`${Q}px`,margin:`-${Q/2}px`,left:e===ie.value?void 0:`0`,right:e===ie.value?`0`:void 0,top:t===ae.value?void 0:`0`,bottom:t===ae.value?`0`:void 0,cursor:d?`move`:+e+ +t==1?`nesw-resize`:`nwse-resize`,borderRadius:d?`50%`:void 0},class:ia}}function ue(e){return{onPointerdown:se,onPointermove:t=>{if(!A||t.buttons!==1)return;t.preventDefault(),t.stopPropagation();let n=(t.clientX-_.value)/m.value,r=(t.clientY-y.value)/m.value,{ltx:i,lty:a,rtx:u,rty:d,lbx:f,lby:p,rbx:h,rby:g}=A;if(e===`l`){let e=(u+h)/2,t=(d+g)/2;c.value=Math.max((e-n)*w.value+(t-r)*C.value,b),o.value=e-c.value*w.value/2,s.value=t-c.value*C.value/2}else if(e===`r`){let e=(i+f)/2,t=(a+p)/2;c.value=Math.max((n-e)*w.value+(r-t)*C.value,b),o.value=e+c.value*w.value/2,s.value=t+c.value*C.value/2}else if(e===`t`){let e=(f+h)/2,t=(p+g)/2;l.value=Math.max((t-r)*w.value-(e-n)*C.value,b),o.value=e+l.value*C.value/2,s.value=t-l.value*w.value/2}else if(e===`b`){let e=(i+u)/2,t=(a+d)/2;l.value=Math.max((r-t)*w.value-(n-e)*C.value,b),o.value=e-l.value*C.value/2,s.value=t+l.value*w.value/2}},onPointerup:le,style:{width:`${Q}px`,height:`${Q}px`,margin:`-${Q/2}px`,left:e===`l`?`0`:e===`r`?`100%`:`50%`,top:e===`t`?`0`:e===`b`?`100%`:`50%`,cursor:`lr`.includes(e)?`ew-resize`:`ns-resize`,borderRadius:`50%`},class:ia}}function I(){return{onPointerdown:se,onPointermove:e=>{if(!A||e.buttons!==1)return;e.preventDefault(),e.stopPropagation();let t=(e.clientX-_.value-A.dx0)/m.value-Q/4,n=(e.clientY-y.value-A.dy0)/m.value-Q/4,r=Math.atan2(n-s.value,t-o.value)*180/Math.PI+90;for(let e of[0,90,180,270,360])if(Math.abs(r-e)<5){r=e%360;break}u.value=r},onPointerup:le,style:{width:`${Q}px`,height:`${Q}px`,margin:`-${Q/2}px`,left:`50%`,top:`-20px`,cursor:`grab`,borderRadius:`50%`},class:ia}}let de={immediate:!1,immediateCallback:!1},L=Be(()=>{ne.value<=$||o.value--},aa,de),R=Be(()=>{ee.value>=oe.value-$||o.value++},aa,de),fe=Be(()=>{re.value<=$||s.value--},aa,de),z=Be(()=>{te.value>=me.value-$||s.value++},aa,de);return p(()=>{function e(e,t){xe[e].value?t.resume():t.pause()}e(`left`,L),e(`right`,R),e(`up`,fe),e(`down`,z)}),(e,t)=>Number.isFinite(E(o))?(P(),v(`div`,{key:0,id:`drag-control-container`,"data-drag-id":E(r),style:N({position:`absolute`,zIndex:100,left:`${E(i)*(E(o)-Math.abs(E(c))/2)}px`,top:`${E(i)*(E(s)-Math.abs(E(l))/2)}px`,width:`${E(i)*Math.abs(E(c))}px`,height:`${E(i)*Math.abs(E(l))}px`,transformOrigin:`center center`,transform:`rotate(${E(u)}deg)`}),onPointerdown:se,onPointermove:ce,onPointerup:le},[h(`div`,{class:g([`absolute inset-0 z-nav dark:b-gray-400`,E(d)?``:`b b-dark`])},[E(a)?M(`v-if`,!0):(P(),v(k,{key:0},[h(`div`,j(n(F(!0,!0))),null,16),h(`div`,j(n(F(!1,!1))),null,16),E(d)?M(`v-if`,!0):(P(),v(k,{key:0},[h(`div`,j(n(F(!0,!1))),null,16),h(`div`,j(n(F(!1,!0))),null,16)],64))],64)),E(d)?M(`v-if`,!0):(P(),v(k,{key:1},[h(`div`,j(n(ue(`l`))),null,16),h(`div`,j(n(ue(`r`))),null,16),E(a)?M(`v-if`,!0):(P(),v(k,{key:0},[h(`div`,j(n(ue(`t`))),null,16),h(`div`,j(n(ue(`b`))),null,16)],64)),h(`div`,j(n(I())),null,16),h(`div`,{class:`absolute -top-15px w-0 b b-dashed b-dark dark:b-gray-400`,style:N({left:`calc(50% - 1px)`,height:E(a)?`14px`:`10px`})},null,4)],64))],2)],44,ra)):M(`v-if`,!0)}}),sa=Re(u({__name:`SlidesShow`,props:{renderContext:{}},setup(e){let{currentSlideRoute:n,currentTransition:r,getPrimaryClicks:i,prevRoute:a,nextRoute:o,slides:l,isPrintMode:u,isPrintWithClicks:h,clicksDirection:g,printRange:_}=B();function y(e){e.meta.preload!==!1&&(e.meta.__preloaded=!0,e.load())}p(()=>{y(n.value),y(a.value),y(o.value)}),p(e=>{let t=l.value,n=setTimeout(()=>{t.forEach(y)},3e3);e(()=>clearTimeout(n))}),ta(n,a,o,l);let b=na(),x=C();de(()=>import(`./DrawingLayer-BydXPFu-.js`).then(e=>x.value=e.default),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url);let S=T(()=>u.value?_.value.map(e=>l.value[e-1]):l.value.filter(e=>e.meta?.__preloaded||e===n.value));function w(){Oe.value=!0,D()}return(a,o)=>(P(),v(k,null,[M(` Global Bottom `),t(E(pt)),M(` Slides `),(P(),A(f(E(b)&&!E(u)&&!E(Oe)&&!E(Se)?`div`:re),s(E(Oe)||E(Se)||E(u)?{}:E(r),{id:`slideshow`,tag:`div`,class:{"slidev-nav-go-forward":E(g)>0,"slidev-nav-go-backward":E(g)<0},onAfterLeave:w}),{default:m(()=>[(P(!0),v(k,null,d(S.value,t=>c((P(),A(ht,{key:t.no,"clicks-context":E(u)&&!E(h)?E(je)(t,E($e)):E(i)(t),route:t,"render-context":e.renderContext},null,8,[`clicks-context`,`route`,`render-context`])),[[ae,t===E(n)]])),128))]),_:1},16,[`class`])),E(Me)?(P(),A(oa,{key:0,data:E(Me)},null,8,[`data`])):M(`v-if`,!0),M(` Global Top `),t(E(mt)),x.value?(P(),A(E(x),{key:1})):M(`v-if`,!0)],64))}}),[[`__scopeId`,`data-v-7fa97661`]]),ca=Object.assign({}),la=Object.assign({}),ua=[Object.values(ca)[0],Object.values(la)[0]].filter(Boolean);function da(){let{go:e,goFirst:t,goLast:n,next:r,nextSlide:i,prev:a,prevSlide:o}=B(),{drawingEnabled:s}=ct(),{escape:c,space:l,shift:u,left:d,right:f,up:p,down:m,enter:h,d:g,g:_,o:v,"`":y}=xe,b={next:r,prev:a,nextSlide:i,prevSlide:o,go:e,goFirst:t,goLast:n,downloadPDF:rt,toggleDark:nt,toggleOverview:fe,toggleDrawing:()=>s.value=!s.value,escapeOverview:()=>z.value=!1,showGotoDialog:()=>F.value=!F.value},x=U(H(z),H(Me)),S=[{name:`next_space`,key:U(l,H(u)),fn:r,autoRepeat:!0},{name:`prev_space`,key:U(l,u),fn:a,autoRepeat:!0},{name:`next_right`,key:U(f,H(u),x),fn:r,autoRepeat:!0},{name:`prev_left`,key:U(d,H(u),x),fn:a,autoRepeat:!0},{name:`next_page_key`,key:`pageDown`,fn:r,autoRepeat:!0},{name:`prev_page_key`,key:`pageUp`,fn:a,autoRepeat:!0},{name:`next_down`,key:U(m,x),fn:i,autoRepeat:!0},{name:`prev_up`,key:U(p,x),fn:o,autoRepeat:!0},{name:`next_shift`,key:U(f,u),fn:i,autoRepeat:!0},{name:`prev_shift`,key:U(d,u),fn:o,autoRepeat:!0},{name:`toggle_dark`,key:U(g,H(s)),fn:nt},{name:`toggle_overview`,key:U(qe(v,y),H(s)),fn:fe},{name:`hide_overview`,key:U(c,H(s)),fn:()=>z.value=!1},{name:`goto`,key:U(_,H(s)),fn:()=>F.value=!F.value},{name:`next_overview`,key:U(f,z),fn:Br},{name:`prev_overview`,key:U(d,z),fn:zr},{name:`up_overview`,key:U(p,z),fn:Vr},{name:`down_overview`,key:U(m,z),fn:Hr},{name:`goto_from_overview`,key:U(h,z),fn:()=>{e(X.value),z.value=!1}}],C=new Set(S.map(e=>e.name));for(let e of ua)S=e(b,S);if(S.filter(e=>e.name&&C.has(e.name)).length===0){let e=[`========== WARNING ==========`,`defineShortcutsSetup did not return any of the base shortcuts.`,`See https://sli.dev/custom/config-shortcuts.html for migration.`,`If it is intentional, return at least one shortcut with one of the base names (e.g. name:"goto").`].join(`
3
-
4
- `);alert(e),console.warn(e)}return S}function fa(){let{isPrintMode:e}=B(),t=U(H(ye),H(Pe),H(e),ce,H(Fe)),n=da();new Map(n.map(e=>[e.key,e])).forEach(e=>{e.fn&&r(e.key,e.fn,e.autoRepeat)}),i(`f`,()=>Ce.toggle());function r(e,n,r=!1){typeof e==`string`&&(e=xe[e]);let i=U(e,t),o=0,s,c=()=>{if(clearTimeout(s),!i.value){o=0;return}r&&(s=setTimeout(c,Math.max(1e3-o*250,150)),o++),n()};return a(i,c,{flush:`sync`})}function i(e,n){return Je(e,e=>{t.value&&(e.repeat||n())})}}export{$r as a,Fr as c,_t as d,gt as f,yi as i,Nt as l,sa as n,Zr as o,Ui as r,Xr as s,fa as t,Et as u};
 
 
 
 
 
2026/july-release-party/assets/useDrawings-CRXmHsXD.js DELETED
@@ -1 +0,0 @@
1
- import{J as e,N as t,ct as n,g as r,it as i,ot as a}from"./modules/shiki-CSYx1hey.js";import{_ as o,n as s,nt as c}from"./useNav-Bvv0p3kN.js";import{E as l,h as u}from"./modules/vue-CTLtUbT_.js";import{c as d,l as f,s as p}from"./index-CHOd5jjo.js";var m=()=>({emit(e,...t){for(let n=this.events[e]||[],r=0,i=n.length;r<i;r++)n[r](...t)},events:{},on(e,t){return(this.events[e]||=[]).push(t),()=>{this.events[e]=this.events[e]?.filter(e=>t!==e)}}});function h(e,t){return e-t}function g(e){return e<0?-1:1}function _(e){return[Math.abs(e),g(e)]}function v(){let e=()=>((1+Math.random())*65536|0).toString(16).substring(1);return`${e()+e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}var y=2;function b(e,t){let n=document.createElementNS(`http://www.w3.org/2000/svg`,`defs`),r=document.createElementNS(`http://www.w3.org/2000/svg`,`marker`),i=document.createElementNS(`http://www.w3.org/2000/svg`,`path`);return i.setAttribute(`fill`,t),r.setAttribute(`id`,e),r.setAttribute(`viewBox`,`0 -5 10 10`),r.setAttribute(`refX`,`5`),r.setAttribute(`refY`,`0`),r.setAttribute(`markerWidth`,`4`),r.setAttribute(`markerHeight`,`4`),r.setAttribute(`orient`,`auto`),i.setAttribute(`d`,`M0,-5L10,0L0,5`),r.appendChild(i),n.appendChild(r),n}function x(e,t){let n=e.x-t.x,r=e.y-t.y;return n*n+r*r}function S(e,t,n){let r=t.x,i=t.y,a=n.x-r,o=n.y-i;if(a!==0||o!==0){let t=((e.x-r)*a+(e.y-i)*o)/(a*a+o*o);t>1?(r=n.x,i=n.y):t>0&&(r+=a*t,i+=o*t)}return a=e.x-r,o=e.y-i,a*a+o*o}function C(e,t){let n=e[0],r=[n],i;for(let a=1,o=e.length;a<o;a++)i=e[a],x(i,n)>t&&(r.push(i),n=i);return n!==i&&i&&r.push(i),r}function w(e,t,n,r,i){let a=r,o=0;for(let r=t+1;r<n;r++){let i=S(e[r],e[t],e[n]);i>a&&(o=r,a=i)}a>r&&(o-t>1&&w(e,t,o,r,i),i.push(e[o]),n-o>1&&w(e,o,n,r,i))}function T(e,t){let n=e.length-1,r=[e[0]];return w(e,0,n,t,r),r.push(e[n]),r}function E(e,t,n=!1){if(e.length<=2)return e;let r=t===void 0?1:t*t;return e=n?e:C(e,r),e=T(e,r),e}var D=class{constructor(e){this.drauu=e,this.event=void 0,this.point=void 0,this.start=void 0,this.el=null}onSelected(e){}onUnselected(){}onStart(e){}onMove(e){return!1}onEnd(e){}get brush(){return this.drauu.brush}get shiftPressed(){return this.drauu.shiftPressed}get altPressed(){return this.drauu.altPressed}get svgElement(){return this.drauu.el}getMousePosition(e){let t=this.drauu.el,n=this.drauu.options.cssZoom??1,r=this.drauu.options.coordinateScale??1,i=this.drauu.options.offset??{x:0,y:0};if(this.drauu.options.coordinateTransform===!1){let t=this.drauu.el.getBoundingClientRect();return{x:(e.pageX/n-t.left+i.x)*r,y:(e.pageY/n-t.top+i.y)*r,pressure:e.pressure}}else{let a=this.drauu.svgPoint;a.x=e.clientX/n+i.x,a.y=e.clientY/n+i.y;let o=a.matrixTransform(t.getScreenCTM()?.inverse());return{x:o.x*r,y:o.y*r,pressure:e.pressure}}}createElement(e,t){let n=document.createElementNS(`http://www.w3.org/2000/svg`,e),r=t?{...this.brush,...t}:this.brush;return n.setAttribute(`fill`,r.fill??`transparent`),n.setAttribute(`stroke`,r.color),n.setAttribute(`stroke-width`,r.size.toString()),n.setAttribute(`stroke-linecap`,`round`),r.dasharray&&n.setAttribute(`stroke-dasharray`,r.dasharray),n}attr(e,t){this.el.setAttribute(e,typeof t==`string`?t:t.toFixed(y))}_setEvent(e){this.event=e,this.point=this.getMousePosition(e)}_eventDown(e){return this._setEvent(e),this.start=this.point,this.onStart(this.point)}_eventMove(e){return this._setEvent(e),this.onMove(this.point)}_eventUp(e){return this._setEvent(e),this.onEnd(this.point)}},O=class e extends D{constructor(...e){super(...e),this.points=[],this.count=0}onStart(e){if(this.el=this.createElement(`path`,{fill:`transparent`}),this.points=[e],this.brush.arrowEnd){this.arrowId=v();let e=b(this.arrowId,this.brush.color);this.el.appendChild(e)}return this.el}onMove(t){return this.el||this.onStart(t),this.points[this.points.length-1]!==t&&(this.points.push(t),this.count+=1),this.count>5&&(this.points=E(this.points,1,!0),this.count=0),this.attr(`d`,e.toSvgData(this.points)),!0}onEnd(){let t=this.el;if(this.el=null,!t)return!1;if(t.setAttribute(`d`,e.toSvgData(E(this.points,1,!0))),!t.getTotalLength()){let{x:e,y:n}=this.points[0],r=this.brush.size/2;t.setAttribute(`d`,`M ${e-r} ${n} a ${r},${r} 0 1,0 ${r*2},0 a ${r},${r} 0 1,0 ${-r*2},0`),t.setAttribute(`fill`,this.brush.color),t.setAttribute(`stroke-width`,`0`)}return!0}static line(e,t){let n=t.x-e.x,r=t.y-e.y;return{length:Math.sqrt(n**2+r**2),angle:Math.atan2(r,n)}}static controlPoint(t,n,r,i){let a=n||t,o=r||t,s=e.line(a,o),c=s.angle+(i?Math.PI:0),l=s.length*.2;return{x:t.x+Math.cos(c)*l,y:t.y+Math.sin(c)*l}}static bezierCommand(t,n,r){let i=e.controlPoint(r[n-1],r[n-2],t),a=e.controlPoint(t,r[n-1],r[n+1],!0);return`C ${i.x.toFixed(y)},${i.y.toFixed(y)} ${a.x.toFixed(y)},${a.y.toFixed(y)} ${t.x.toFixed(y)},${t.y.toFixed(y)}`}static toSvgData(t){return t.reduce((t,n,r,i)=>r===0?`M ${n.x.toFixed(y)},${n.y.toFixed(y)}`:`${t} ${e.bezierCommand(n,r,i)}`,``)}},k=class extends D{onStart(e){return this.el=this.createElement(`ellipse`),this.attr(`cx`,e.x),this.attr(`cy`,e.y),this.el}onMove(e){if(!this.el||!this.start)return!1;let[t,n]=_(e.x-this.start.x),[r,i]=_(e.y-this.start.y);if(this.shiftPressed){let e=Math.min(t,r);t=e,r=e}if(this.altPressed)this.attr(`cx`,this.start.x),this.attr(`cy`,this.start.y),this.attr(`rx`,t),this.attr(`ry`,r);else{let[e,a]=[this.start.x,this.start.x+t*n].sort(h),[o,s]=[this.start.y,this.start.y+r*i].sort(h);this.attr(`cx`,(e+a)/2),this.attr(`cy`,(o+s)/2),this.attr(`rx`,(a-e)/2),this.attr(`ry`,(s-o)/2)}return!0}onEnd(){let e=this.el;if(this.el=null,!e)return!1;try{if(!e.getTotalLength())return!1}catch{return!1}return!0}},A=class extends D{constructor(...e){super(...e),this.pathSubFactor=20,this.pathFragments=[],this._erased=[]}onSelected(e){let t=(e,n)=>{if(e&&e.length)for(let r=0;r<e.length;r++){let i=e[r];if(i.getTotalLength){let e=i.getTotalLength();for(let t=0;t<this.pathSubFactor;t++){let r=i.getPointAtLength(e*t/this.pathSubFactor),a=i.getPointAtLength(e*(t+1)/this.pathSubFactor);this.pathFragments.push({x1:r.x,x2:a.x,y1:r.y,y2:a.y,segment:t,element:n||i})}}else i.children&&t(i.children,i)}};e&&t(e.children)}onUnselected(){this.pathFragments=[]}onStart(e){this.svgPointPrevious=this.svgElement.createSVGPoint(),this.svgPointPrevious.x=e.x,this.svgPointPrevious.y=e.y}onMove(e){this.svgPointCurrent=this.svgElement.createSVGPoint(),this.svgPointCurrent.x=e.x,this.svgPointCurrent.y=e.y;let t=this.checkAndEraseElement();return this.svgPointPrevious=this.svgPointCurrent,t}onEnd(){this.svgPointPrevious=void 0,this.svgPointCurrent=void 0;let e=this._erased;return this._erased=[],{undo:()=>e.forEach(e=>this.drauu._restoreNode(e)),redo:()=>e.forEach(e=>this.drauu._removeNode(e))}}checkAndEraseElement(){if(this.pathFragments.length)for(let e=0;e<this.pathFragments.length;e++){let t=this.pathFragments[e];if(this.svgPointPrevious&&this.svgPointCurrent){let e={x1:this.svgPointPrevious.x,x2:this.svgPointCurrent.x,y1:this.svgPointPrevious.y,y2:this.svgPointCurrent.y};this.lineLineIntersect(t,e)&&(this.drauu._removeNode(t.element),this._erased.push(t.element))}}return this._erased.length&&(this.pathFragments=this.pathFragments.filter(e=>!this._erased.includes(e.element))),this._erased.length>0}lineLineIntersect(e,t){let n=e.x1,r=e.x2,i=t.x1,a=t.x2,o=e.y1,s=e.y2,c=t.y1,l=t.y2,u=(n-r)*(c-l)-(o-s)*(i-a),d=(n*s-o*r)*(i-a)-(n-r)*(i*l-c*a),f=(n*s-o*r)*(c-l)-(o-s)*(i*l-c*a),p=(e,t,n)=>e>=t&&e<=n||e>=n&&e<=t;if(u===0)return!1;{let e={x:d/u,y:f/u};return p(e.x,n,r)&&p(e.y,o,s)&&p(e.x,i,a)&&p(e.y,c,l)}}},j=class extends D{onStart(e){if(this.el=this.createElement(`line`,{fill:`transparent`}),this.attr(`x1`,e.x),this.attr(`y1`,e.y),this.attr(`x2`,e.x),this.attr(`y2`,e.y),this.brush.arrowEnd){let e=v(),t=document.createElementNS(`http://www.w3.org/2000/svg`,`g`);return t.append(b(e,this.brush.color)),t.append(this.el),this.attr(`marker-end`,`url(#${e})`),t}return this.el}onMove(e){if(!this.el)return!1;let{x:t,y:n}=e;if(this.shiftPressed){let r=e.x-this.start.x,i=e.y-this.start.y;if(i!==0){let e=r/i;e=Math.round(e),Math.abs(e)<=1?(t=this.start.x+i*e,n=this.start.y+i):(t=this.start.x+r,n=this.start.y)}}return this.altPressed?(this.attr(`x1`,this.start.x*2-t),this.attr(`y1`,this.start.y*2-n),this.attr(`x2`,t),this.attr(`y2`,n)):(this.attr(`x1`,this.start.x),this.attr(`y1`,this.start.y),this.attr(`x2`,t),this.attr(`y2`,n)),!0}onEnd(){let e=this.el;if(this.el=null,!e)return!1;try{if(e.getTotalLength()<5)return!1}catch{return!1}return!0}},M=class extends D{onStart(e){return this.el=this.createElement(`rect`),this.brush.cornerRadius&&(this.attr(`rx`,this.brush.cornerRadius),this.attr(`ry`,this.brush.cornerRadius)),this.attr(`x`,e.x),this.attr(`y`,e.y),this.el}onMove(e){if(!this.el||!this.start)return!1;let[t,n]=_(e.x-this.start.x),[r,i]=_(e.y-this.start.y);if(this.shiftPressed){let e=Math.min(t,r);t=e,r=e}if(this.altPressed)this.attr(`x`,this.start.x-t),this.attr(`y`,this.start.y-r),this.attr(`width`,t*2),this.attr(`height`,r*2);else{let[e,a]=[this.start.x,this.start.x+t*n].sort(h),[o,s]=[this.start.y,this.start.y+r*i].sort(h);this.attr(`x`,e),this.attr(`y`,o),this.attr(`width`,a-e),this.attr(`height`,s-o)}return!0}onEnd(){let e=this.el;if(this.el=null,!e)return!1;try{if(!e.getTotalLength())return!1}catch{return!1}return!0}};function N(e,t,n,r=e=>e){return e*r(.5-t*(.5-n))}function P(e){return[-e[0],-e[1]]}function F(e,t){return[e[0]+t[0],e[1]+t[1]]}function I(e,t){return[e[0]-t[0],e[1]-t[1]]}function L(e,t){return[e[0]*t,e[1]*t]}function R(e,t){return[e[0]/t,e[1]/t]}function z(e){return[e[1],-e[0]]}function B(e,t){return e[0]*t[0]+e[1]*t[1]}function V(e,t){return e[0]===t[0]&&e[1]===t[1]}function H(e){return Math.hypot(e[0],e[1])}function U(e){return e[0]*e[0]+e[1]*e[1]}function W(e,t){return U(I(e,t))}function G(e){return R(e,H(e))}function K(e,t){return Math.hypot(e[1]-t[1],e[0]-t[0])}function q(e,t,n){let r=Math.sin(n),i=Math.cos(n),a=e[0]-t[0],o=e[1]-t[1],s=a*i-o*r,c=a*r+o*i;return[s+t[0],c+t[1]]}function J(e,t,n){return F(e,L(I(t,e),n))}function Y(e,t,n){return F(e,L(t,n))}var{min:X,PI:Z}=Math,Q=.275,$=Z+1e-4;function ee(e,t={}){let{size:n=16,smoothing:r=.5,thinning:i=.5,simulatePressure:a=!0,easing:o=e=>e,start:s={},end:c={},last:l=!1}=t,{cap:u=!0,easing:d=e=>e*(2-e)}=s,{cap:f=!0,easing:p=e=>--e*e*e+1}=c;if(e.length===0||n<=0)return[];let m=e[e.length-1].runningLength,h=s.taper===!1?0:s.taper===!0?Math.max(n,m):s.taper,g=c.taper===!1?0:c.taper===!0?Math.max(n,m):c.taper,_=(n*r)**2,v=[],y=[],b=e.slice(0,10).reduce((e,t)=>{let r=t.pressure;if(a){let i=X(1,t.distance/n);r=X(1,e+(X(1,1-i)-e)*(i*Q))}return(e+r)/2},e[0].pressure),x=N(n,i,e[e.length-1].pressure,o),S,C=e[0].vector,w=e[0].point,T=w,E=w,D=T,O=!1;for(let t=0;t<e.length;t++){let{pressure:r}=e[t],{point:s,vector:c,distance:l,runningLength:u}=e[t];if(t<e.length-1&&m-u<3)continue;if(i){if(a){let e=X(1,l/n),t=X(1,1-e);r=X(1,b+(t-b)*(e*Q))}x=N(n,i,r,o)}else x=n/2;S===void 0&&(S=x);let f=u<h?d(u/h):1,k=m-u<g?p((m-u)/g):1;x=Math.max(.01,x*Math.min(f,k));let A=(t<e.length-1?e[t+1]:e[t]).vector,j=t<e.length-1?B(c,A):1,M=B(c,C)<0&&!O,P=j!==null&&j<0;if(M||P){let e=L(z(C),x);for(let t=0;t<=1;t+=.07692307692307693)E=q(I(s,e),s,$*t),v.push(E),D=q(F(s,e),s,$*-t),y.push(D);w=E,T=D,P&&(O=!0);continue}if(O=!1,t===e.length-1){let e=L(z(c),x);v.push(I(s,e)),y.push(F(s,e));continue}let R=L(z(J(A,c,j)),x);E=I(s,R),(t<=1||W(w,E)>_)&&(v.push(E),w=E),D=F(s,R),(t<=1||W(T,D)>_)&&(y.push(D),T=D),b=r,C=c}let k=e[0].point.slice(0,2),A=e.length>1?e[e.length-1].point.slice(0,2):F(e[0].point,[1,1]),j=[],M=[];if(e.length===1){if(!(h||g)||l){let e=Y(k,G(z(I(k,A))),-(S||x)),t=[];for(let n=1/13,r=n;r<=1;r+=n)t.push(q(e,k,$*2*r));return t}}else{if(!(h||g&&e.length===1))if(u)for(let e=1/13,t=e;t<=1;t+=e){let e=q(y[0],k,$*t);j.push(e)}else{let e=I(v[0],y[0]),t=L(e,.5),n=L(e,.51);j.push(I(k,t),I(k,n),F(k,n),F(k,t))}let t=z(P(e[e.length-1].vector));if(g||h&&e.length===1)M.push(A);else if(f){let e=Y(A,t,x);for(let t=1/29,n=t;n<1;n+=t)M.push(q(e,A,$*3*n))}else M.push(F(A,L(t,x)),F(A,L(t,x*.99)),I(A,L(t,x*.99)),I(A,L(t,x)))}return v.concat(M,y.reverse(),j)}function te(e,t={}){let{streamline:n=.5,size:r=16,last:i=!1}=t;if(e.length===0)return[];let a=.15+(1-n)*.85,o=Array.isArray(e[0])?e:e.map(({x:e,y:t,pressure:n=.5})=>[e,t,n]);if(o.length===2){let e=o[1];o=o.slice(0,-1);for(let t=1;t<5;t++)o.push(J(o[0],e,t/4))}o.length===1&&(o=[...o,[...F(o[0],[1,1]),...o[0].slice(2)]]);let s=[{point:[o[0][0],o[0][1]],pressure:o[0][2]>=0?o[0][2]:.25,vector:[1,1],distance:0,runningLength:0}],c=!1,l=0,u=s[0],d=o.length-1;for(let e=1;e<o.length;e++){let t=i&&e===d?o[e].slice(0,2):J(u.point,o[e],a);if(V(u.point,t))continue;let n=K(t,u.point);if(l+=n,e<d&&!c){if(l<r)continue;c=!0}u={point:t,pressure:o[e][2]>=0?o[e][2]:.5,vector:G(I(u.point,t)),distance:n,runningLength:l},s.push(u)}return s[0].vector=s[1]?.vector||[0,0],s}function ne(e,t={}){return ee(te(e,t),t)}var re=class e extends D{constructor(...e){super(...e),this.points=[]}onStart(e){return this.el=document.createElementNS(`http://www.w3.org/2000/svg`,`path`),this.points=[e],this.attr(`fill`,this.brush.color),this.attr(`d`,this.getSvgData(this.points)),this.el}onMove(e){return this.el||this.onStart(e),this.points[this.points.length-1]!==e&&this.points.push(e),this.attr(`d`,this.getSvgData(this.points)),!0}onEnd(){let e=this.el;return this.el=null,!!e}getSvgData(t){return e.getSvgData(t,this.brush)}static getSvgData(e,t){let n=ne(e,{size:t.size,thinning:.9,simulatePressure:!1,start:{taper:5},end:{taper:5},...t.stylusOptions});if(!n.length)return``;let r=n.reduce((e,[t,n],r,i)=>{let[a,o]=i[(r+1)%i.length];return e.push(t,n,(t+a)/2,(n+o)/2),e},[`M`,...n[0],`Q`]);return r.push(`Z`),r.map(e=>typeof e==`number`?e.toFixed(2):e).join(` `)}};function ie(e){return{draw:new O(e),stylus:new re(e),line:new j(e),rectangle:new M(e),ellipse:new k(e),eraseLine:new A(e)}}var ae=class{constructor(e={}){this.options=e,this.el=null,this.svgPoint=null,this.eventEl=null,this.shiftPressed=!1,this.altPressed=!1,this.drawing=!1,this._emitter=m(),this._originalPointerId=null,this._models=ie(this),this._opStack=[],this._opIndex=0,this._disposables=[],this._elements=[],this.options.brush||(this.options.brush={color:`black`,size:3,mode:`stylus`}),e.el&&this.mount(e.el,e.eventTarget,e.window)}get model(){return this._models[this.mode]}get mounted(){return!!this.el}get mode(){return this.options.brush.mode||`stylus`}set mode(e){this._models[this.mode].onUnselected(),this.options.brush.mode=e,this.model.onSelected(this.el)}get brush(){return this.options.brush}set brush(e){this.options.brush=e}resolveSelector(e){return typeof e==`string`?document.querySelector(e):e||null}mount(e,t,n=window){if(this.el)throw Error(`[drauu] already mounted, unmount previous target first`);if(this.el=this.resolveSelector(e),!this.el)throw Error(`[drauu] target element not found`);if(this.el.tagName.toLocaleLowerCase()!==`svg`)throw Error(`[drauu] can only mount to a SVG element`);if(!this.el.createSVGPoint)throw Error(`[drauu] SVG element must be create by document.createElementNS('http://www.w3.org/2000/svg', 'svg')`);this.svgPoint=this.el.createSVGPoint();let r=this.resolveSelector(t)||this.el,i=this.eventStart.bind(this),a=this.eventMove.bind(this),o=this.eventEnd.bind(this),s=this.eventKeyboard.bind(this),c=this.touchMove.bind(this);r.addEventListener(`pointerdown`,i,{passive:!1}),n.addEventListener(`pointermove`,a,{passive:!1}),n.addEventListener(`pointerup`,o,{passive:!1}),n.addEventListener(`pointercancel`,o,{passive:!1}),n.addEventListener(`keydown`,s,!1),n.addEventListener(`keyup`,s,!1),n.addEventListener(`touchmove`,c,{passive:!1}),this._disposables.push(()=>{r.removeEventListener(`pointerdown`,i),n.removeEventListener(`pointermove`,a),n.removeEventListener(`pointerup`,o),n.removeEventListener(`pointercancel`,o),n.removeEventListener(`keydown`,s,!1),n.removeEventListener(`keyup`,s,!1),n.removeEventListener(`touchmove`,c)}),this._emitter.emit(`mounted`)}unmount(){this._disposables.forEach(e=>e()),this._disposables.length=0,this._elements.length=0,this.el=null,this._emitter.emit(`unmounted`)}on(e,t){return this._emitter.on(e,t)}undo(){return!this.canUndo()||this.drawing?!1:(this._opStack[--this._opIndex].undo(),this._emitter.emit(`changed`),!0)}redo(){return!this.canRedo()||this.drawing?!1:(this._opStack[this._opIndex++].redo(),this._emitter.emit(`changed`),!0)}canRedo(){return this._opIndex<this._opStack.length}canUndo(){return this._opIndex>0}eventMove(e){!this.acceptsInput(e)||!this.drawing||this.model._eventMove(e)&&(e.stopPropagation(),e.preventDefault(),this._emitter.emit(`changed`))}eventStart(e){this.acceptsInput(e)&&(e.stopPropagation(),e.preventDefault(),this._currentNode&&this.cancel(),this.drawing=!0,this._originalPointerId=e.pointerId,this._emitter.emit(`start`),this._currentNode=this.model._eventDown(e),this._currentNode&&this.mode!==`eraseLine`&&this.el.appendChild(this._currentNode),this._emitter.emit(`changed`))}eventEnd(e){if(!this.acceptsInput(e)||!this.drawing)return;let t=this.model._eventUp(e);if(!t)this.cancel();else if(t===!0){let e=this._currentNode;e&&(this._appendNode(e),this.commit({undo:()=>this._removeNode(e),redo:()=>this._restoreNode(e)}))}else this.commit(t);this.drawing=!1,this._emitter.emit(`end`),this._emitter.emit(`changed`),this._originalPointerId=null}touchMove(e){Array.from(e.touches).some(e=>e.touchType===`stylus`&&e.identifier===this._originalPointerId)&&e.preventDefault()}acceptsInput(e){return(!this.options.acceptsInputTypes||this.options.acceptsInputTypes.includes(e.pointerType))&&!(this._originalPointerId&&this._originalPointerId!==e.pointerId)}eventKeyboard(e){this.shiftPressed===e.shiftKey&&this.altPressed===e.altKey||(this.shiftPressed=e.shiftKey,this.altPressed=e.altKey,this.model.point&&this.model.onMove(this.model.point)&&this._emitter.emit(`changed`))}commit(e){this._opStack.length=this._opIndex,this._opStack.push(e),this._opIndex++;let t=this._currentNode;this._currentNode=void 0,this._emitter.emit(`committed`,t)}clear(){this._opStack.length=0,this._opIndex=0,this._elements=[],this.cancel(),this.el.innerHTML=``,this._emitter.emit(`changed`)}cancel(){this._currentNode&&(this.el.removeChild(this._currentNode),this._currentNode=void 0,this._emitter.emit(`canceled`))}dump(){return this.el.innerHTML}load(e){this.clear(),this.el.innerHTML=e}_appendNode(e){let t=this._elements.at(-1);t?t.after(e):this.el.append(e);let n=this._elements.push(e)-1;e.dataset.drauu_index=n.toString()}_removeNode(e){e.remove(),this._elements[+e.dataset.drauu_index]=null}_restoreNode(e){let t=+e.dataset.drauu_index;this._elements[t]=e;for(let n=t-1;n>=0;n--){let t=this._elements[n];if(t){t.after(e);return}}this.el.prepend(e)}};function oe(e){return new ae(e)}var se=l(()=>{let{currentSlideNo:l,isPresenter:m}=s(),h=[`#ff595e`,`#ffca3a`,`#8ac926`,`#1982c4`,`#6a4c93`,`#ffffff`,`#000000`],g=u(`slidev-drawing-enabled`,!1),_=u(`slidev-drawing-pinned`,!1),v=u(`slidev-drawing-brush`,{color:h[0],size:4,mode:`stylus`}),y=n(!1),b=n(!1),x=n(!1),S=n(!1),C=n(`stylus`),w=r(()=>c.drawings.syncAll||m.value),T=!1,E=r({get(){return C.value},set(e){C.value=e,e===`arrow`?(O.mode=`line`,v.value.arrowEnd=!0):(O.mode=e,v.value.arrowEnd=!1)}}),D=a({brush:v,acceptsInputTypes:r(()=>g.value&&(!c.drawings.presenterOnly||m.value)?void 0:[`pen`]),coordinateTransform:!1}),O=i(oe(D));function k(){O.clear(),w.value&&f(l.value,``)}function A(){x.value=O.canRedo(),b.value=O.canUndo(),S.value=!!O.el?.children.length}function j(e){T=!0;let t=p[e||l.value];t==null?O.clear():O.load(t),A(),T=!1}return O.on(`changed`,()=>{if(A(),!T){let e=O.dump(),t=l.value;(p[t]||``)!==e&&w.value&&f(t,O.dump())}}),d(e=>{T=!0,e[l.value]!=null&&O.load(e[l.value]||``),T=!1,A()}),t(()=>{e(l,()=>{O.mounted&&j()},{immediate:!0})}),O.on(`start`,()=>y.value=!0),O.on(`end`,()=>y.value=!1),window.addEventListener(`keydown`,e=>{if(!g.value||o.value)return;let t=!e.ctrlKey&&!e.altKey&&!e.shiftKey&&!e.metaKey,n=!0;e.code===`KeyZ`&&(e.ctrlKey||e.metaKey)?e.shiftKey?O.redo():O.undo():e.code===`Escape`?g.value=!1:e.code===`KeyL`&&t?E.value=`line`:e.code===`KeyA`&&t?E.value=`arrow`:e.code===`KeyS`&&t?E.value=`stylus`:e.code===`KeyR`&&t?E.value=`rectangle`:e.code===`KeyE`&&t?E.value=`ellipse`:e.code===`KeyC`&&t?k():e.code.startsWith(`Digit`)&&t&&+e.code[5]<=h.length?v.value.color=h[e.code[5]-1]:n=!1,n&&(e.preventDefault(),e.stopPropagation())},!1),{brush:v,brushColors:h,canClear:S,canRedo:x,canUndo:b,clear:k,drauu:O,drauuOptions:D,drawingEnabled:g,drawingMode:E,drawingPinned:_,drawingState:p,isDrawing:y,loadCanvas:j}});export{se as t};
 
 
2026/july-release-party/assets/useNav-Bvv0p3kN.js DELETED
@@ -1,32 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./md-HvGt512D.js","./modules/shiki-CSYx1hey.js","./rolldown-runtime-QTnfLwEv.js","./modules/shiki-BrmBd2_v.css","./_plugin-vue_export-helper-BDNMzG2s.js","./slidev/context-T2gS7_mS.js","./modules/vue-CTLtUbT_.js","./intro-DjMTZ5s2.js","./intro-BVM1E0AT.css","./md-47U1V8LV.css","./md-BUttd7HW.js","./default-wwxdBlYL.js","./md-Dd-Djk-C.js","./syncState-DFfDxw0Y.js","./index-CHOd5jjo.js","./index-ZqsSdHV_.css","./useDrawings-CRXmHsXD.js","./md-B6GvJGqa.js","./ProtocolCapabilityCard-B0P_x7oa.js","./createLucideIcon-C9fFgKAd.js","./ProtocolCapabilityCard-DMtWFpsn.css","./useTimedStoryboard-B-iO5ugp.js","./md-9pphq5Sn.css","./md-DbPQEwCV.js","./md-BbN4-vfQ.js","./md-B8RPWhFf.css","./md-Bxm7fa2F2.js","./md-XQVXLtNu.css","./md-BSp3ttcf2.js","./md-D0i5JVfz2.js","./md-BXGcQX46.css","./md-DrLUiRi8.js","./md-Di-vMY_t.css","./md-CMAIptU4.js","./md-BE1ohF2t.js","./md-DNSvI4vn.js","./check-BQpG8Au4.js","./md-D9yajEBo.css","./md-sWS4l4lp.js","./md-389xqxAf.js","./md-anQvGlTW.js","./md-Dnmw2WN7.js","./HttpHeaderExample-y0laFLTm.js","./HttpRouteMap-DtiFRGKR.js","./HttpRouteMap-B9HWoche.css","./md-B9mAQifu.js","./md-CF9wcm-b.js","./md-CMW84Xml.js","./md-DRS_pCUM.css","./md-BAqFBT93.js","./md-Bwgk1pWT.js","./md-DNW7-ntV.css","./md-BvWhcoIB.js","./md-BQcuDh7V.js","./md-DRn4yVTN.js","./md-Cnlc2UGQ.js"])))=>i.map(i=>d[i]);
2
- import{J as e,L as t,N as n,R as r,T as i,_ as a,b as o,bt as s,ct as c,dt as l,g as u,gt as d,ht as f,lt as p,nt as ee,ot as m,p as h,w as te,y as g,z as _}from"./modules/shiki-CSYx1hey.js";import{t as ne}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{A as re,B as ie,E as ae,L as oe,P as se,T as ce,V as le,a as ue,c as de,g as fe,h as v,l as y,m as pe}from"./modules/vue-CTLtUbT_.js";import{l as me,n as he}from"./slidev/context-T2gS7_mS.js";function ge(e,t,n){return Math.min(n,Math.max(t,e))}function _e(...e){return ye(e).reduce((e,t)=>e+t,0)}function ve(e){return e??=[],Array.isArray(e)?e:[e]}function ye(e){return ve(e).flat(1)}function be(e){return Array.from(new Set(e))}function xe(...e){let t,n,r;e.length===1?(t=0,r=1,[n]=e):[t,n,r=1]=e;let i=[],a=t;for(;a<n;)i.push(a),a+=r||1;return i}function Se(e){return e!=null}function Ce(e,t){return Object.fromEntries(Object.entries(e).map(([e,n])=>t(e,n)).filter(Se))}var b={theme:`default`,title:`July Release Party`,titleTemplate:`%s`,addons:[],remoteAssets:!1,monaco:!0,monacoTypesSource:`local`,monacoTypesAdditionalPackages:[],monacoTypesIgnorePackages:[],monacoRunAdditionalDeps:[],monacoRunUseStrict:!0,download:!1,export:{},info:`<p>July Release Party presentation.</p>
3
- `,highlighter:`shiki`,twoslash:!0,lineNumbers:!1,colorSchema:`auto`,routerMode:`hash`,aspectRatio:1.7777777777777777,canvasWidth:980,exportFilename:``,selectable:!1,themeConfig:{},fonts:{sans:[`"Source Sans 3"`,`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:[`"IBM Plex Mono"`,`ui-monospace`,`SFMono-Regular`,`Menlo`,`Monaco`,`Consolas`,`"Liberation Mono"`,`"Courier New"`,`monospace`],webfonts:[`Source Sans 3`,`IBM Plex Mono`],provider:`google`,local:[`Avenir Next`],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,magicMoveCopy:!0,author:`Shaun Smith`,record:`dev`,css:`unocss`,presenter:!0,browserExporter:`dev`,htmlAttrs:{},transition:null,editor:!0,mcp:!0,contextMenu:null,wakeLock:!0,pwa:!1,mdc:!0,comark:!1,seoMeta:{},notesAutoRuby:{},duration:`30min`,timer:`stopwatch`,magicMoveDuration:800,preloadImages:!0,clickAnimation:``,layout:`intro`,class:`deck-root`,slidesTitle:`July Release Party`},we=`build`,Te=u(()=>b.aspectRatio),Ee=u(()=>b.canvasWidth),De=u(()=>Math.ceil(Ee.value/Te.value)),Oe=u(()=>Ce(b.themeConfig||{},(e,t)=>[`--slidev-theme-${e}`,t])),ke=b.slidesTitle,Ae=`./#/`,je=`modulepreload`,Me=function(e,t){return new URL(e,t).href},Ne={},x=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=Me(t,n),t=s(t),t in Ne)return;Ne[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:je,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};function Pe(e){if(e===!1||e===`false`)return null;if(e==null||e===!0||e===`true`)return`+1`;if(typeof e==`string`&&`+-`.includes(e[0]))return e;let t=+e;return Number.isNaN(t)?(console.error(`Invalid "at" prop value: ${e}`),null):t<=0?(console.warn(`[Slidev] "at" prop value must be greater than 0, but got ${e}, has been set to 1`),1):t}function Fe(e){return Array.isArray(e)?[Pe(e[0]),Pe(e[1])]:null}function Ie(e,n=0,i){let a=c(!1),o=new Map,s=new Map,l={get current(){return ge(+e.value,n,l.total)},set current(t){e.value=a.value?ge(t,n,l.total):t},clicksStart:n,get relativeSizeMap(){return o},get maxMap(){return s},get isMounted(){return a.value},setup(){t(()=>{a.value=!0,s=p(s),ee(e)||(l.current=e.value)}),r(()=>{a.value=!1,o=new Map,s=new Map})},calculateSince(e,t=1){let n=Pe(e);if(n==null)return null;let r,i,a;if(typeof n==`string`){let e=l.currentOffset,o=+n;r=e+o,i=e+o+t-1,a=o+t-1}else r=n,i=n+t-1,a=0;return{start:r,end:1/0,max:i,delta:a,currentOffset:u(()=>l.current-r),isCurrent:u(()=>l.current===r),isActive:u(()=>l.current>=r)}},calculateRange(e){let t=Fe(e);if(t==null)return null;let[n,r]=t,i,a,o;return typeof n==`string`?(i=l.currentOffset+ +n,o=+n):(i=n,o=0),typeof r==`string`?(a=i+ +r,o+=+r):a=r,{start:i,end:a,max:a,delta:o,currentOffset:u(()=>l.current-i),isCurrent:u(()=>l.current===i),isActive:u(()=>i<=l.current&&l.current<a)}},calculate(e){return Array.isArray(e)?l.calculateRange(e):l.calculateSince(e)},register(e,t){if(!t)return;let{delta:n,max:r}=t;o.set(e,n),s.set(e,r)},unregister(e){o.delete(e),s.delete(e)},get currentOffset(){return _e(...o.values())},get total(){return i??(a.value?Math.max(0,...s.values()):0)}};return l}function Le(t,n=0){let r=t?.meta.slide?.frontmatter.clicksStart??0,i=c(Math.max(f(n),r));return e(()=>f(n),e=>{i.value=Math.max(e,r)}),Ie(i,r,t?.meta?.clicks)}var Re=/[a-z]/i;function ze(e){if(typeof e==`number`)return{seconds:e,relative:!1};let t=e.startsWith(`+`);t&&(e=e.slice(1));let n=0;if(e.includes(`:`)){let t=e.split(`:`).map(Number),r=0,i=0,a=0;if(t.length===3)r=t[0],i=t[1],a=t[2];else if(t.length===2)i=t[0],a=t[1];else if(t.length===1)a=t[0];else throw TypeError(`Invalid timestamp format`);if(Number.isNaN(r)||Number.isNaN(i)||Number.isNaN(a))throw TypeError(`Invalid timestamp format`);n=(r||0)*3600+(i||0)*60+(a||0)}else if(!Re.test(e))n=Number(e);else{let t={s:1,sec:1,secs:1,m:60,min:60,mins:60,h:3600,hr:3600,hrs:3600,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:2629746,months:2629746,year:31556952,years:31556952},r=/([\d.]+)([a-z]+)/gi,i=e.matchAll(r);if(i)for(let e of i){let r=Number(e[1]);if(Number.isNaN(r))throw TypeError(`Invalid timestamp value: ${e[1]}`);let i=e[2].toLowerCase();if(!(i in t))throw TypeError(`Invalid timestamp unit: ${i}`);n+=r*t[i]}let a=e.replace(r,``).trim();if(a)throw TypeError(`Unknown timestamp remaining: ${a}`)}return{seconds:n,relative:t}}function Be(e,t){if(!t||t===`all`||t===`*`)return xe(1,e+1);if(t===`none`)return[];let n=[];for(let r of t.split(/[,;]/g))if(!r.includes(`-`))n.push(+r);else{let[t,i]=r.split(`-`,2);n.push(...xe(+t,i?+i+1:e+1))}return be(n).filter(t=>t<=e).sort((e,t)=>e-t)}var Ve={},He={class:`px-4 py-10 text-center text-red-700 dark:text-red-500 font-bold font-mono`};function Ue(e,t){return _(),o(`div`,He,s(`Failed to fetch this slide. Please check your network connection.`))}var S=ne(Ve,[[`render`,Ue]]),We={class:`h-full w-full flex items-center justify-center gap-2 slidev-slide-loading`},Ge=i({__name:`SlideLoading`,setup(e){let n=c(!1);return t(()=>{setTimeout(()=>{n.value=!0},200)}),(e,t)=>(_(),o(`div`,We,[n.value?(_(),o(h,{key:0},[t[0]||=a(`div`,{class:`i-svg-spinners-90-ring-with-bg text-xl`},null,-1),t[1]||=a(`div`,null,`Loading slide...`,-1)],64)):g(`v-if`,!0)]))}}),C=m({theme:`default`,layout:`intro`,title:`July Release Party`,titleTemplate:`%s`,author:`Shaun Smith`,info:`July Release Party presentation.
4
- `,class:`deck-root`,highlighter:`shiki`,lineNumbers:!1,drawings:{persist:!1},mdc:!0,fonts:{sans:`Source Sans 3`,mono:`IBM Plex Mono`}}),Ke=p({get layout(){return C.layout},get transition(){return C.transition},get class(){return C.class},get clicks(){return C.clicks},get name(){return C.name},get preload(){return C.preload},slide:{content:``,revision:`64ao3h`,frontmatterRaw:`theme: default
5
- layout: intro
6
- title: July Release Party
7
- titleTemplate: "%s"
8
- author: Shaun Smith
9
- info: |
10
- July Release Party presentation.
11
- class: deck-root
12
- highlighter: shiki
13
- lineNumbers: false
14
- drawings:
15
- persist: false
16
- # transition: fade-out
17
- mdc: true
18
- fonts:
19
- sans: Source Sans 3
20
- mono: IBM Plex Mono
21
- `,note:``,title:`July Release Party`,index:0,noteHTML:`<p>AAIF and the AAIF logo design are registered trademarks of the Linux Foundation.
22
- Click the imagery to replay the animation.</p>
23
- `,images:[],raw:``,frontmatter:C,filepath:``,start:0,sourceIndex:0,id:0,no:1},__clicksContext:null,__preloaded:!1}),w=m({}),qe=p({get layout(){return w.layout},get transition(){return w.transition},get class(){return w.class},get clicks(){return w.clicks},get name(){return w.name},get preload(){return w.preload},slide:{content:``,revision:`-wq08nd`,note:``,index:1,noteHTML:``,images:[`/brand/hugging-face.svg`,`/intro/github-mark.svg`,`/intro/x-mark.svg`,`/brand/mcp-symbol-black.svg`],raw:``,frontmatter:w,filepath:``,start:31,sourceIndex:1,id:1,no:2},__clicksContext:null,__preloaded:!1}),T=m({}),Je=p({get layout(){return T.layout},get transition(){return T.transition},get class(){return T.class},get clicks(){return T.clicks},get name(){return T.name},get preload(){return T.preload},slide:{content:``,revision:`h4q1nt`,note:``,title:`MCP At Hugging Face`,level:1,index:2,noteHTML:``,images:[],raw:``,frontmatter:T,filepath:``,start:73,sourceIndex:2,id:2,no:3},__clicksContext:null,__preloaded:!1}),E=m({}),Ye=p({get layout(){return E.layout},get transition(){return E.transition},get class(){return E.class},get clicks(){return E.clicks},get name(){return E.name},get preload(){return E.preload},slide:{content:``,revision:`6d8np9`,note:``,title:`Legacy MCP is fully bi-directional`,level:1,index:3,noteHTML:``,images:[],raw:``,frontmatter:E,filepath:``,start:103,sourceIndex:3,id:3,no:4},__clicksContext:null,__preloaded:!1}),D=m({}),Xe=p({get layout(){return D.layout},get transition(){return D.transition},get class(){return D.class},get clicks(){return D.clicks},get name(){return D.name},get preload(){return D.preload},slide:{content:``,revision:`-shptl`,note:``,title:`Motivation for Stateless`,level:1,index:4,noteHTML:``,images:[],raw:``,frontmatter:D,filepath:``,start:112,sourceIndex:4,id:4,no:5},__clicksContext:null,__preloaded:!1}),O=m({}),Ze=p({get layout(){return O.layout},get transition(){return O.transition},get class(){return O.class},get clicks(){return O.clicks},get name(){return O.name},get preload(){return O.preload},slide:{content:``,revision:`o7eyip`,note:``,title:`Understanding Activity`,level:1,index:5,noteHTML:``,images:[],raw:``,frontmatter:O,filepath:``,start:148,sourceIndex:5,id:5,no:6},__clicksContext:null,__preloaded:!1}),k=m({}),Qe=p({get layout(){return k.layout},get transition(){return k.transition},get class(){return k.class},get clicks(){return k.clicks},get name(){return k.name},get preload(){return k.preload},slide:{content:``,revision:`-ly2tat`,note:``,index:6,noteHTML:``,images:[],raw:``,frontmatter:k,filepath:``,start:184,sourceIndex:6,id:6,no:7},__clicksContext:null,__preloaded:!1}),A=m({layout:`default`,class:`ported-section-slide`}),$e=p({get layout(){return A.layout},get transition(){return A.transition},get class(){return A.class},get clicks(){return A.clicks},get name(){return A.name},get preload(){return A.preload},slide:{content:``,revision:`-2r9e1c`,frontmatterRaw:`layout: default
24
- class: ported-section-slide
25
- `,note:``,title:`What's new`,level:1,index:7,noteHTML:``,images:[],raw:``,frontmatter:A,filepath:``,start:197,sourceIndex:7,id:7,no:8},__clicksContext:null,__preloaded:!1}),j=m({}),et=p({get layout(){return j.layout},get transition(){return j.transition},get class(){return j.class},get clicks(){return j.clicks},get name(){return j.name},get preload(){return j.preload},slide:{content:``,revision:`-knc098`,note:``,title:`2026-07-28 Specification`,level:1,index:8,noteHTML:``,images:[],raw:``,frontmatter:j,filepath:``,start:207,sourceIndex:8,id:8,no:9},__clicksContext:null,__preloaded:!1}),M=m({}),tt=p({get layout(){return M.layout},get transition(){return M.transition},get class(){return M.class},get clicks(){return M.clicks},get name(){return M.name},get preload(){return M.preload},slide:{content:``,revision:`-j68goc`,note:``,title:`Simplifications`,level:1,index:9,noteHTML:``,images:[`/images/mcp-webcam.png`],raw:``,frontmatter:M,filepath:``,start:216,sourceIndex:9,id:9,no:10},__clicksContext:null,__preloaded:!1}),N=m({}),nt=p({get layout(){return N.layout},get transition(){return N.transition},get class(){return N.class},get clicks(){return N.clicks},get name(){return N.name},get preload(){return N.preload},slide:{content:``,revision:`mixokh`,note:``,title:`Remove Initialization Handshake`,level:1,index:10,noteHTML:``,images:[],raw:``,frontmatter:N,filepath:``,start:258,sourceIndex:10,id:10,no:11},__clicksContext:null,__preloaded:!1}),P=m({}),rt=p({get layout(){return P.layout},get transition(){return P.transition},get class(){return P.class},get clicks(){return P.clicks},get name(){return P.name},get preload(){return P.preload},slide:{content:``,revision:`ytqsbk`,note:``,title:`List Caching`,level:1,index:11,noteHTML:``,images:[],raw:``,frontmatter:P,filepath:``,start:305,sourceIndex:11,id:11,no:12},__clicksContext:null,__preloaded:!1}),F=m({}),it=p({get layout(){return F.layout},get transition(){return F.transition},get class(){return F.class},get clicks(){return F.clicks},get name(){return F.name},get preload(){return F.preload},slide:{content:``,revision:`wqjqlq`,note:``,title:`Modern Elicitations`,level:1,index:12,noteHTML:``,images:[],raw:``,frontmatter:F,filepath:``,start:341,sourceIndex:12,id:12,no:13},__clicksContext:null,__preloaded:!1}),I=m({}),at=p({get layout(){return I.layout},get transition(){return I.transition},get class(){return I.class},get clicks(){return I.clicks},get name(){return I.name},get preload(){return I.preload},slide:{content:``,revision:`epbrbg`,note:``,title:`Elicitation Request 1`,level:1,index:13,noteHTML:``,images:[],raw:``,frontmatter:I,filepath:``,start:351,sourceIndex:13,id:13,no:14},__clicksContext:null,__preloaded:!1}),L=m({}),ot=p({get layout(){return L.layout},get transition(){return L.transition},get class(){return L.class},get clicks(){return L.clicks},get name(){return L.name},get preload(){return L.preload},slide:{content:``,revision:`w2spok`,note:``,title:`Elicitation Request 2`,level:1,index:14,noteHTML:``,images:[],raw:``,frontmatter:L,filepath:``,start:398,sourceIndex:14,id:14,no:15},__clicksContext:null,__preloaded:!1}),R=m({}),st=p({get layout(){return R.layout},get transition(){return R.transition},get class(){return R.class},get clicks(){return R.clicks},get name(){return R.name},get preload(){return R.preload},slide:{content:``,revision:`-b7sdgo`,note:``,title:`Replace Sessions with State Handles`,level:1,index:15,noteHTML:``,images:[],raw:``,frontmatter:R,filepath:``,start:451,sourceIndex:15,id:15,no:16},__clicksContext:null,__preloaded:!1}),z=m({}),ct=p({get layout(){return z.layout},get transition(){return z.transition},get class(){return z.class},get clicks(){return z.clicks},get name(){return z.name},get preload(){return z.preload},slide:{content:``,revision:`gcr8gx`,note:``,title:`Before: One Endpoint, Opaque JSON`,level:1,index:16,noteHTML:``,images:[],raw:``,frontmatter:z,filepath:``,start:479,sourceIndex:16,id:16,no:17},__clicksContext:null,__preloaded:!1}),B=m({}),lt=p({get layout(){return B.layout},get transition(){return B.transition},get class(){return B.class},get clicks(){return B.clicks},get name(){return B.name},get preload(){return B.preload},slide:{content:``,revision:`-xkgw89`,note:``,title:`Routable MCP Traffic`,level:1,index:17,noteHTML:``,images:[],raw:``,frontmatter:B,filepath:``,start:490,sourceIndex:17,id:17,no:18},__clicksContext:null,__preloaded:!1}),V=m({}),ut=p({get layout(){return V.layout},get transition(){return V.transition},get class(){return V.class},get clicks(){return V.clicks},get name(){return V.name},get preload(){return V.preload},slide:{content:``,revision:`g2z9ia`,note:``,title:`Optional: Tool-Defined Routing Keys`,level:1,index:18,noteHTML:``,images:[],raw:``,frontmatter:V,filepath:``,start:501,sourceIndex:18,id:18,no:19},__clicksContext:null,__preloaded:!1}),H=m({}),dt=p({get layout(){return H.layout},get transition(){return H.transition},get class(){return H.class},get clicks(){return H.clicks},get name(){return H.name},get preload(){return H.preload},slide:{content:``,revision:`4x7giz`,note:``,title:`Scaling MCP in Production`,level:1,index:19,noteHTML:``,images:[],raw:``,frontmatter:H,filepath:``,start:511,sourceIndex:19,id:19,no:20},__clicksContext:null,__preloaded:!1}),U=m({layout:`default`,class:`ported-section-slide`}),ft=p({get layout(){return U.layout},get transition(){return U.transition},get class(){return U.class},get clicks(){return U.clicks},get name(){return U.name},get preload(){return U.preload},slide:{content:``,revision:`-zaxs74`,frontmatterRaw:`layout: default
26
- class: ported-section-slide
27
- `,note:``,title:`What's next`,level:1,index:20,noteHTML:``,images:[],raw:``,frontmatter:U,filepath:``,start:519,sourceIndex:20,id:20,no:21},__clicksContext:null,__preloaded:!1}),W=m({}),pt=p({get layout(){return W.layout},get transition(){return W.transition},get class(){return W.class},get clicks(){return W.clicks},get name(){return W.name},get preload(){return W.preload},slide:{content:``,revision:`-g9up0k`,note:``,title:`What's next`,level:1,index:21,noteHTML:`<p>Streaming preview uses verified changing FLUX denoising snapshots captured by
28
- the MCP Transports WG. Click the image to start; it loops after activation.
29
- Roadmap source: modelcontextprotocol/transports-wg PR #50.
30
- Triggers and Events: modelcontextprotocol.io/community/working-groups/triggers-events.</p>
31
- `,images:[],raw:``,frontmatter:W,filepath:``,start:529,sourceIndex:21,id:21,no:22},__clicksContext:null,__preloaded:!1}),G=m({}),mt=p({get layout(){return G.layout},get transition(){return G.transition},get class(){return G.class},get clicks(){return G.clicks},get name(){return G.name},get preload(){return G.preload},slide:{content:``,revision:`fyaqbv`,note:``,title:`MCP Clients Dataset`,level:1,index:22,noteHTML:``,images:[`/images/clients-data.png`],raw:``,frontmatter:G,filepath:``,start:574,sourceIndex:22,id:22,no:23},__clicksContext:null,__preloaded:!1}),K=m({}),ht=p({get layout(){return K.layout},get transition(){return K.transition},get class(){return K.class},get clicks(){return K.clicks},get name(){return K.name},get preload(){return K.preload},slide:{content:``,revision:`5ldbac`,note:``,index:23,noteHTML:``,images:[],raw:``,frontmatter:K,filepath:``,start:609,sourceIndex:23,id:23,no:24},__clicksContext:null,__preloaded:!1}),q=m({layout:`intro`}),gt=p({get layout(){return q.layout},get transition(){return q.transition},get class(){return q.class},get clicks(){return q.clicks},get name(){return q.name},get preload(){return q.preload},slide:{content:``,revision:`-agie2e`,frontmatterRaw:`layout: intro
32
- `,note:``,title:`Thank you`,level:1,index:24,noteHTML:``,images:[],raw:``,frontmatter:q,filepath:``,start:614,sourceIndex:24,id:24,no:25},__clicksContext:null,__preloaded:!1}),J=m({}),_t=p({get layout(){return J.layout},get transition(){return J.transition},get class(){return J.class},get clicks(){return J.clicks},get name(){return J.name},get preload(){return J.preload},slide:{content:``,revision:`0`,note:``,index:25,noteHTML:``,images:[],raw:``,frontmatter:J,filepath:``,start:627,sourceIndex:25,id:25,no:26},__clicksContext:null,__preloaded:!1}),Y=Array(26),X=(e,t)=>te({loader:t,delay:300,loadingComponent:Ge,errorComponent:S,onError:t=>console.error(`Failed to load slide `+(e+1),t)}),vt=async()=>{try{return Y[0]??=await x(()=>import(`./md-HvGt512D.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},yt=async()=>{try{return Y[1]??=await x(()=>import(`./md-BUttd7HW.js`),__vite__mapDeps([10,1,2,3,5,6,11]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},bt=async()=>{try{return Y[2]??=await x(()=>import(`./md-Dd-Djk-C.js`),__vite__mapDeps([12,1,2,3,5,6,13,14,15,11,16]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},xt=async()=>{try{return Y[3]??=await x(()=>import(`./md-B6GvJGqa.js`),__vite__mapDeps([17,1,2,3,4,5,6,18,19,20,11,21,22]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},St=async()=>{try{return Y[4]??=await x(()=>import(`./md-DbPQEwCV.js`),__vite__mapDeps([23,1,2,3,5,6,11]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},Ct=async()=>{try{return Y[5]??=await x(()=>import(`./md-BbN4-vfQ.js`),__vite__mapDeps([24,1,2,3,4,5,6,11,25]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},wt=async()=>{try{return Y[6]??=await x(()=>import(`./md-Bxm7fa2F2.js`),__vite__mapDeps([26,1,2,3,4,5,6,11,27]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},Tt=async()=>{try{return Y[7]??=await x(()=>import(`./md-BSp3ttcf2.js`),__vite__mapDeps([28,1,2,3,5,6,11]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},Et=async()=>{try{return Y[8]??=await x(()=>import(`./md-D0i5JVfz2.js`),__vite__mapDeps([29,1,2,3,4,5,6,11,30]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},Dt=async()=>{try{return Y[9]??=await x(()=>import(`./md-DrLUiRi8.js`),__vite__mapDeps([31,1,2,3,4,5,6,18,19,20,11,32]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},Ot=async()=>{try{return Y[10]??=await x(()=>import(`./md-CMAIptU4.js`),__vite__mapDeps([33,1,2,3,5,6,11]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},kt=async()=>{try{return Y[11]??=await x(()=>import(`./md-BE1ohF2t.js`),__vite__mapDeps([34,1,2,3,5,6,11]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},At=async()=>{try{return Y[12]??=await x(()=>import(`./md-DNSvI4vn.js`),__vite__mapDeps([35,1,2,3,4,5,6,19,36,11,21,37]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},jt=async()=>{try{return Y[13]??=await x(()=>import(`./md-sWS4l4lp.js`),__vite__mapDeps([38,1,2,3,5,6,11]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},Mt=async()=>{try{return Y[14]??=await x(()=>import(`./md-389xqxAf.js`),__vite__mapDeps([39,1,2,3,5,6,11]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},Nt=async()=>{try{return Y[15]??=await x(()=>import(`./md-anQvGlTW.js`),__vite__mapDeps([40,1,2,3,5,6,11]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},Pt=async()=>{try{return Y[16]??=await x(()=>import(`./md-Dnmw2WN7.js`),__vite__mapDeps([41,1,2,3,5,6,11,42,43,4,44]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},Ft=async()=>{try{return Y[17]??=await x(()=>import(`./md-B9mAQifu.js`),__vite__mapDeps([45,1,2,3,5,6,11,42,43,4,44]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},It=async()=>{try{return Y[18]??=await x(()=>import(`./md-CF9wcm-b.js`),__vite__mapDeps([46,1,2,3,5,6,11,42]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},Lt=async()=>{try{return Y[19]??=await x(()=>import(`./md-CMW84Xml.js`),__vite__mapDeps([47,1,2,3,4,5,6,11,48]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},Rt=async()=>{try{return Y[20]??=await x(()=>import(`./md-BAqFBT93.js`),__vite__mapDeps([49,1,2,3,5,6,11]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},zt=async()=>{try{return Y[21]??=await x(()=>import(`./md-Bwgk1pWT.js`),__vite__mapDeps([50,1,2,3,4,5,6,19,36,11,21,51]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},Bt=async()=>{try{return Y[22]??=await x(()=>import(`./md-BvWhcoIB.js`),__vite__mapDeps([52,1,2,3,5,6,11]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},Vt=async()=>{try{return Y[23]??=await x(()=>import(`./md-BQcuDh7V.js`),__vite__mapDeps([53,1,2,3,5,6,11]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},Ht=async()=>{try{return Y[24]??=await x(()=>import(`./md-DRn4yVTN.js`),__vite__mapDeps([54,1,2,3,5,6,7,4,8]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},Ut=async()=>{try{return Y[25]??=await x(()=>import(`./md-Cnlc2UGQ.js`),__vite__mapDeps([55,1,2,3,5,6,11]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),S}},Z=l([{no:1,meta:Ke,load:vt,component:X(0,vt)},{no:2,meta:qe,load:yt,component:X(1,yt)},{no:3,meta:Je,load:bt,component:X(2,bt)},{no:4,meta:Ye,load:xt,component:X(3,xt)},{no:5,meta:Xe,load:St,component:X(4,St)},{no:6,meta:Ze,load:Ct,component:X(5,Ct)},{no:7,meta:Qe,load:wt,component:X(6,wt)},{no:8,meta:$e,load:Tt,component:X(7,Tt)},{no:9,meta:et,load:Et,component:X(8,Et)},{no:10,meta:tt,load:Dt,component:X(9,Dt)},{no:11,meta:nt,load:Ot,component:X(10,Ot)},{no:12,meta:rt,load:kt,component:X(11,kt)},{no:13,meta:it,load:At,component:X(12,At)},{no:14,meta:at,load:jt,component:X(13,jt)},{no:15,meta:ot,load:Mt,component:X(14,Mt)},{no:16,meta:st,load:Nt,component:X(15,Nt)},{no:17,meta:ct,load:Pt,component:X(16,Pt)},{no:18,meta:lt,load:Ft,component:X(17,Ft)},{no:19,meta:ut,load:It,component:X(18,It)},{no:20,meta:dt,load:Lt,component:X(19,Lt)},{no:21,meta:ft,load:Rt,component:X(20,Rt)},{no:22,meta:pt,load:zt,component:X(21,zt)},{no:23,meta:mt,load:Bt,component:X(22,Bt)},{no:24,meta:ht,load:Vt,component:X(23,Vt)},{no:25,meta:gt,load:Ht,component:X(24,Ht)},{no:26,meta:_t,load:Ut,component:X(25,Ut)}]);function Wt(e,t,{mode:r=`replace`}={}){let i=le();return u({get(){let n=i.currentRoute.value.query[e];return n==null?t??null:Array.isArray(n)?n.filter(Boolean):n},set(a){n(()=>{(i.currentRoute.value.query[e]??t?.toString())!==a.toString()&&i[d(r)]({query:{...i.currentRoute.value.query,[e]:`${a}`===t?void 0:a}})})}})}function Gt(e,t,n=!1){let r=e.meta.slide?.frontmatter.routeAlias??e.no;return n?`/export/${r}`:t?`/presenter/${r}`:`/${r}`}function Q(e){return Z.value.find(t=>t.no===+e||t.meta.slide?.frontmatter.routeAlias===e)}function $(e,t,n=!1){return(typeof e==`number`||typeof e==`string`)&&(e=Q(e)),Gt(e,t,n)}function Kt(t){let{$page:n,$nav:r}=he();se(()=>{e(()=>r.value.currentSlideNo,(e,r)=>{n.value===e&&t(e,r)},{immediate:!0})})}function qt(t){let{$page:n,$nav:r}=he();se(()=>{e(()=>r.value.currentSlideNo,(e,r)=>{n.value===r&&t(e,r)})})}var Jt={"slide-left":`slide-left | slide-right`,"slide-right":`slide-right | slide-left`,"slide-up":`slide-up | slide-down`,"slide-down":`slide-down | slide-up`};function Yt(e,t=!1){if(!e||(typeof e==`string`&&(e={name:e}),!e.name))return;let n=e.name.includes(`|`)?e.name:Jt[e.name]||e.name;if(n.includes(`|`)){let[e,r]=n.split(`|`).map(e=>e.trim());n=t?r:e}if(n)return{...e,name:n}}function Xt(e,t,n){let r=e>0?n?.meta?.transition:t?.meta?.transition;return r||=b.transition||void 0,Yt(r,e<0)}var Zt=c(!1),Qt=c(!1),$t=c(!1),en=c(!1),tn=c(!1),nn=c(!1),rn=c(!0),an=m(new Set),on=u(()=>an.size>0),sn=y({xs:460,...ue}),cn=ce(),ln=fe(),un=u(()=>cn.height.value-cn.width.value/Te.value>120),dn=pe(re?document.body:null),fn=de(),pn=u(()=>[`INPUT`,`TEXTAREA`].includes(fn.value?.tagName||``)),mn=u(()=>[`BUTTON`,`A`].includes(fn.value?.tagName||``));v(`slidev-camera`,`default`,{listenToStorageChanges:!1}),v(`slidev-mic`,`default`,{listenToStorageChanges:!1});var hn=v(`slidev-scale`,0),gn=v(`slidev-wake-lock`,!0),_n=v(`slidev-hide-cursor-idle`,!0);v(`slidev-skip-export-pdf-tip`,!1),v(`slidev-export-capture-delay`,400,{listenToStorageChanges:!1});var vn=v(`slidev-presenter-cursor`,!0,{listenToStorageChanges:!1}),yn=v(`slidev-cursor-style`,`cursor`,{listenToStorageChanges:!1});function bn(){vn.value=!vn.value}var xn=v(`slidev-show-editor`,!1,{listenToStorageChanges:!1}),Sn=v(`slidev-editor-vertical`,!1,{listenToStorageChanges:!1}),Cn=v(`slidev-editor-width`,re?window.innerWidth*.4:318,{listenToStorageChanges:!1}),wn=v(`slidev-editor-height`,re?window.innerHeight*.4:300,{listenToStorageChanges:!1}),Tn=l(null),En=v(`slidev-presenter-font-size`,1,{listenToStorageChanges:!1}),Dn=v(`slidev-presenter-layout`,1,{listenToStorageChanges:!1}),On={invert:!1,contrast:1,brightness:1,hueRotate:0,saturate:1,sepia:0},kn=v(`slidev-viewer-css-filter`,On,{listenToStorageChanges:!1,mergeDefaults:!0,deep:!0}),An=u(()=>Object.keys(On).some(e=>kn.value[e]!==On[e]));function jn(){Dn.value+=1,Dn.value>3&&(Dn.value=1)}function Mn(){En.value=Math.min(2,En.value+.1)}function Nn(){En.value=Math.max(.5,En.value-.1)}var Pn=oe(en),Fn=v(`slidev-sync-directions`,{viewerSend:!0,viewerReceive:!0,presenterSend:!0,presenterReceive:!0},{listenToStorageChanges:!1,mergeDefaults:!0});function In(e,t,n=1){let r=t.meta.slide.level??n;r&&r>n&&e.length>0?In(e[e.length-1].children,t,n+1):e.push({no:t.no,children:[],level:n,titleLevel:r,path:$(t.meta.slide?.frontmatter?.routeAlias??t.no,!1),hideInToc:!!t.meta?.slide?.frontmatter?.hideInToc,title:t.meta?.slide?.title})}function Ln(e,t,n=!1,r,i){return e.map(e=>{let a={...e,active:e.no===i?.value,hasActiveParent:n};return a.children.length>0&&(a.children=Ln(a.children,t,a.active||a.hasActiveParent,a,i)),r&&(a.active||a.activeParent)&&(r.activeParent=!0),a})}function Rn(e,t=1){return e.filter(e=>!e.hideInToc).map(e=>({...e,children:Rn(e.children,t+1)}))}function zn(e,t,n){let r=u(()=>e.value.filter(e=>e.meta?.slide?.title).reduce((e,t)=>(In(e,t),e),[])),i=u(()=>Ln(r.value,n.value,void 0,void 0,t));return u(()=>Rn(i.value))}function Bn(t,n,r=c(0),i,a,o){let s=u(()=>Z.value.length),l=c(0),d=c(0),f=u(()=>$(t.value,i.value)),p=u(()=>t.value.no),ee=u(()=>t.value.meta?.layout||(p.value===1?`cover`:`default`)),m=u(()=>t.value.meta.slide.frontmatter),h=u(()=>n.value.current),te=u(()=>n.value.clicksStart),g=u(()=>n.value.total),_=u(()=>Z.value[Math.min(Z.value.length,p.value+1)-1]),ne=u(()=>Z.value[Math.max(1,p.value-1)-1]),re=u(()=>p.value<Z.value.length||h.value<g.value),ie=u(()=>p.value>1||h.value>0),ae=u(()=>a.value?void 0:Xt(l.value,t.value,ne.value));e(t,(e,t)=>{l.value=e.no-t.no});async function oe(e){return!1}let se=zn(Z,p,t);async function ce(){d.value=1,g.value<=r.value?await ue():r.value+=1}async function le(){d.value=-1,r.value<=te.value?await de(!0):--r.value}async function ue(e=!1){d.value=1,p.value<Z.value.length&&await y(p.value+1,e&&!a.value?me:void 0)}async function de(e=!1){d.value=-1,p.value>1&&await y(p.value-1,e&&!a.value?me:void 0)}function fe(){return y(1)}function v(){return y(s.value)}async function y(e,t=0,n=!1){tn.value=!1;let a=p.value!==e,s=t!==r.value,c=Q(e)?.meta,l=c?.slide?.frontmatter.clicksStart??0;t=ge(t,l,c?.__clicksContext?.total??999999),(n||a||s)&&await o?.push({path:$(e,i.value,o.currentRoute.value.name===`export`),query:{...o.currentRoute.value.query,clicks:t===0?void 0:t.toString(),embedded:location.search.includes(`embedded`)?`true`:void 0}})}function pe(){o?.push({path:$(p.value,!0),query:{...o.currentRoute.value.query}})}function he(){o?.push({path:$(p.value,!1),query:{...o.currentRoute.value.query}})}return{slides:Z,total:s,currentPath:f,currentSlideNo:p,currentPage:p,currentSlideRoute:t,currentLayout:ee,currentFrontmatter:m,currentTransition:ae,clicksDirection:d,nextRoute:_,prevRoute:ne,clicksContext:n,clicks:h,clicksStart:te,clicksTotal:g,hasNext:re,hasPrev:ie,tocTree:se,navDirection:l,openInEditor:oe,next:ce,prev:le,go:y,goLast:v,goFirst:fe,nextSlide:ue,prevSlide:de,enterPresenter:pe,exitPresenter:he}}function Vn(e,t){let n=async()=>{};return{...Bn(u(()=>e),u(()=>t),c(me),c(!1),c(!1)),next:n,prev:n,nextSlide:n,prevSlide:n,goFirst:n,goLast:n,go:n}}var Hn=ae(()=>{let e=le(),t=ie(),n=u(()=>(e?.currentRoute?.value?.query,new URLSearchParams(location.search))),r=u(()=>n.value.has(`print`)||t.name===`export`),i=c(n.value.get(`print`)===`clicks`),a=u(()=>n.value.has(`embedded`)),o=u(()=>t.name===`play`),s=u(()=>t.name===`presenter`),l=u(()=>t.name===`notes`),d=u(()=>!s.value&&(!b.remote||n.value.get(`password`)===b.remote)),f=u(()=>!!t.params.no),p=u(()=>f.value?Q(t.params.no)?.no??1:1),ee=u(()=>Z.value[p.value-1]),m=c(Be(Z.value.length,t?.query?.range)),h=Wt(`clicks`,`0`),te=u(()=>_(ee.value)),g=u({get(){let e=+(h.value||0);return Number.isNaN(e)&&(e=0),e},set(e){tn.value=!1,h.value=e.toString()}});function _(e){if(e?.meta?.__clicksContext)return e.meta.__clicksContext;let t=e.no,n=Ie(u({get(){return p.value===t?Math.max(+(h.value??0),n.clicksStart):p.value>t?me:n.clicksStart},set(e){p.value===t&&(h.value=e.toString())}}),e?.meta.slide?.frontmatter.clicksStart??0,e?.meta.clicks);return e?.meta&&(e.meta.__clicksContext=n),n}return{router:e,currentRoute:u(()=>t),isPrintMode:r,isPrintWithClicks:i,isEmbedded:a,isPlaying:o,isPresenter:s,isNotesViewer:l,isPresenterAvailable:d,hasPrimarySlide:f,currentSlideNo:p,currentSlideRoute:ee,clicksContext:te,queryClicksRaw:h,queryClicks:g,printRange:m,getPrimaryClicks:_}}),Un=ae(()=>{let t=Hn(),n=le(),r=Bn(t.currentSlideRoute,t.clicksContext,t.queryClicks,t.isPresenter,t.isPrintMode,n);return e([r.total,t.currentRoute],async()=>{let e=t.currentRoute.value.params.no;t.hasPrimarySlide.value&&!Q(e)&&(e&&e!==`index.html`?await r.go(r.total.value,0,!0):await r.go(1,0,!0))},{flush:`pre`,immediate:!0}),{...r,...t}});export{Ee as $,Zt as A,Q as B,rn as C,Qt as D,$t as E,jn as F,ze as G,Kt as H,kn as I,x as J,Ie as K,On as L,Fn as M,Pn as N,en as O,bn as P,De as Q,gn as R,En as S,xn as T,qt as U,$ as V,Z as W,Ae as X,we as Y,Te as Z,pn as _,sn as a,ln as b,nn as c,dn as d,ke as et,An as f,Sn as g,Mn as h,fn as i,xe as it,hn as j,vn as k,wn as l,tn as m,Un as n,b as nt,yn as o,_n as p,Le as q,Tn as r,ge as rt,Nn as s,Vn as t,Oe as tt,Cn as u,mn as v,on as w,Dn as x,un as y,cn as z};