Spaces:
Running
Running
Publish July MCP Release Party (part 2)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +6 -0
- 2026/arize-gepa/assets/md-BjdDHLT-.js +1 -0
- 2026/arize-gepa/assets/md-C6Qfd2dC.js +1 -0
- 2026/arize-gepa/assets/md-CAakgSJk.js +1 -0
- 2026/arize-gepa/assets/md-COjGFLBf.js +1 -0
- 2026/arize-gepa/assets/md-CZbSyCfR.js +1 -0
- 2026/arize-gepa/assets/md-CmyvtyjS.js +1 -0
- 2026/arize-gepa/assets/md-DGkbv8KD.js +1 -0
- 2026/arize-gepa/assets/md-DH6fp-8e.js +1 -0
- 2026/arize-gepa/assets/md-DTT-XzTj.js +1 -0
- 2026/arize-gepa/assets/md-Da1MRPsg.js +1 -0
- 2026/arize-gepa/assets/md-Dq0dKjIm.js +1 -0
- 2026/arize-gepa/assets/md-E-xPB337.js +1 -0
- 2026/arize-gepa/assets/md-F2327ELK.js +1 -0
- 2026/arize-gepa/assets/modules/vue-DgDNZQuz.js +5 -0
- 2026/arize-gepa/assets/slidev/404-B9rPdXSR.js +1 -0
- 2026/arize-gepa/assets/slidev/DrawingControls-DIJaQazx.js +1 -0
- 2026/arize-gepa/assets/slidev/DrawingLayer-CNfu6Fw1.js +1 -0
- 2026/arize-gepa/assets/slidev/DrawingPreview-DDs9RbWd.js +1 -0
- 2026/arize-gepa/assets/slidev/Modal-C_vxlNjO.js +1 -0
- 2026/arize-gepa/assets/slidev/NoteDisplay-DTB0IRom.js +1 -0
- 2026/arize-gepa/assets/slidev/NoteEditable-BWntQkxx.js +1 -0
- 2026/arize-gepa/assets/slidev/SlideContainer-DXPEWHqn.js +1 -0
- 2026/arize-gepa/assets/slidev/TimerBar-B_mCOPju.js +1 -0
- 2026/arize-gepa/assets/slidev/center-CyYz--Z8.js +1 -0
- 2026/arize-gepa/assets/slidev/entry-DQNT__nF.js +1 -0
- 2026/arize-gepa/assets/slidev/md-CKz-H_g_.js +1 -0
- 2026/arize-gepa/assets/slidev/notes-BTb3sLVq.js +1 -0
- 2026/arize-gepa/assets/slidev/notes-edit--ffEyFcI.js +2 -0
- 2026/arize-gepa/assets/slidev/overview-CUOGfgA1.js +1 -0
- 2026/arize-gepa/assets/slidev/play-BCtODca3.js +2 -0
- 2026/arize-gepa/assets/slidev/presenter-8BOxd-hh.js +1 -0
- 2026/arize-gepa/assets/slidev/print-C-3vJR-v.js +5 -0
- 2026/arize-gepa/assets/slidev/shortcuts-DroZGD0d.js +4 -0
- 2026/arize-gepa/assets/useDrawings-WXah0vTR.js +1 -0
- 2026/arize-gepa/index.html +2 -2
- 2026/july-release-party/.gitkeep +1 -0
- 2026/july-release-party/404.html +36 -0
- 2026/july-release-party/_redirects +1 -0
- 2026/july-release-party/assets/404-VQkf1Vlw.css +1 -0
- 2026/july-release-party/assets/DrawingControls-Dhbx0szf.css +1 -0
- 2026/july-release-party/assets/HttpHeaderExample-y0laFLTm.js +1 -0
- 2026/july-release-party/assets/HttpRouteMap-B9HWoche.css +1 -0
- 2026/july-release-party/assets/HttpRouteMap-DtiFRGKR.js +1 -0
- 2026/july-release-party/assets/NoteDisplay-DCBzjb4F.css +1 -0
- 2026/july-release-party/assets/ProtocolCapabilityCard-B0P_x7oa.js +1 -0
- 2026/july-release-party/assets/ProtocolCapabilityCard-DMtWFpsn.css +1 -0
- 2026/july-release-party/assets/SlideContainer-Nk421eIX.css +1 -0
- 2026/july-release-party/assets/SlideWrapper-DRhhw1Nh.css +1 -0
- 2026/july-release-party/assets/SlideWrapper-Dzm8dNDw.js +1 -0
.gitattributes
CHANGED
|
@@ -132,3 +132,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 132 |
2026/nvidia-meetup/images/intro-spaces.webm filter=lfs diff=lfs merge=lfs -text
|
| 133 |
2026/nvidia-meetup/images/toad-subagent.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 134 |
2026/nvidia-meetup/images/xcom-logo-black.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
2026/nvidia-meetup/images/intro-spaces.webm filter=lfs diff=lfs merge=lfs -text
|
| 133 |
2026/nvidia-meetup/images/toad-subagent.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 134 |
2026/nvidia-meetup/images/xcom-logo-black.png filter=lfs diff=lfs merge=lfs -text
|
| 135 |
+
2026/july-release-party/images/clients-data.png filter=lfs diff=lfs merge=lfs -text
|
| 136 |
+
2026/july-release-party/images/mcp-webcam.png filter=lfs diff=lfs merge=lfs -text
|
| 137 |
+
2026/july-release-party/intro/intro-spaces.webm filter=lfs diff=lfs merge=lfs -text
|
| 138 |
+
2026/july-release-party/streaming/flux-step-1.webp filter=lfs diff=lfs merge=lfs -text
|
| 139 |
+
2026/july-release-party/streaming/flux-step-2.webp filter=lfs diff=lfs merge=lfs -text
|
| 140 |
+
2026/july-release-party/videos/dynamic-space-final.mp4 filter=lfs diff=lfs merge=lfs -text
|
2026/arize-gepa/assets/md-BjdDHLT-.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{D as e,Z as t,_ as n,gt as r,v as i,vt as a,z as o}from"./modules/shiki-CPCtrUKm.js";import{it as s,rt as c}from"./index-BxRQo_Vt.js";import{t as l}from"./slidev/center-CyYz--Z8.js";var u={__name:`slides.md__slidev_10`,setup(u){let{$slidev:d,$nav:f,$clicksContext:p,$clicks:m,$page:h,$renderContext:g,$frontmatter:_}=s();return p.setup(),(s,u)=>(o(),i(l,a(e(r(c)(r(_),9))),{default:t(()=>[...u[0]||=[n(`h1`,null,`Batches, Labels and Tools and Other Uses`,-1)]]),_:1},16))}};export{u as default};
|
2026/arize-gepa/assets/md-C6Qfd2dC.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{C as e,D as t,T as n,Z as r,_ as i,b as a,gt as o,v as s,vt as c,x as l,z as u}from"./modules/shiki-CPCtrUKm.js";import{it as d,rt as f}from"./index-BxRQo_Vt.js";import{t as p}from"./default-DPKjqAwH.js";var m={viewBox:`0 0 820 430`,role:`img`,"aria-label":`Benchmark score distribution for base and GEPA optimized prompt`},h={__name:`GoodBenchmarksChart`,setup(e){let{$slidev:t,$nav:n,$clicksContext:r,$clicks:i,$page:o,$renderContext:s,$frontmatter:c}=d();return(e,t)=>(u(),a(`svg`,m,[...t[0]||=[l(`<defs><linearGradient id="benchmarkDelta" x1="0" x2="1"><stop offset="0%" stop-color="#8ee8ff"></stop><stop offset="100%" stop-color="#ffb86b"></stop></linearGradient><marker id="benchmarkArrow" viewBox="0 0 12 12" refX="10" refY="6" markerWidth="5" markerHeight="5" orient="auto"><path d="M 1 1 L 11 6 L 1 11 z" fill="#ffb86b"></path></marker></defs><g class="good-benchmarks__grid"><line x1="110" x2="750" y1="380" y2="380"></line><line x1="110" x2="750" y1="286" y2="286"></line><line x1="110" x2="750" y1="193" y2="193"></line><line x1="110" x2="750" y1="99" y2="99"></line><text x="72" y="385">60%</text><text x="72" y="291">65%</text><text x="72" y="198">70%</text><text x="72" y="104">75%</text></g><path class="good-benchmarks__delta" d="M 262 232 C 338 212 438 179 514 154"></path><text class="good-benchmarks__improvement-label good-benchmarks__improvement-label--strong" x="392" y="153">+4.8 pts</text><line class="good-benchmarks__mean good-benchmarks__mean--base" x1="188" x2="252" y1="235" y2="235"></line><line class="good-benchmarks__mean good-benchmarks__mean--best" x1="528" x2="592" y1="145" y2="145"></line><g class="good-benchmarks__dots good-benchmarks__dots--base"><circle cx="198" cy="247" r="7"></circle><circle cx="220" cy="248" r="7"></circle><circle cx="243" cy="211" r="7"></circle></g><g class="good-benchmarks__dots good-benchmarks__dots--best"><circle cx="538" cy="158" r="7"></circle><circle cx="560" cy="126" r="7"></circle><circle cx="583" cy="151" r="7"></circle></g><text class="good-benchmarks__label" x="220" y="414">Base prompt</text><text class="good-benchmarks__label" x="560" y="414">Best GEPA candidate</text>`,10)]]))}},g={class:`good-benchmarks`},_={class:`good-benchmarks__plot`,"aria-label":`Held-out benchmark transfer from base prompt to best GEPA candidate`},v=n({__name:`GoodBenchmarksSlide`,setup(t){let{$slidev:n,$nav:r,$clicksContext:o,$clicks:s,$page:c,$renderContext:f,$frontmatter:p}=d();return(t,n)=>(u(),a(`div`,g,[i(`section`,_,[n[0]||=i(`div`,{class:`good-benchmarks__headline`},[i(`span`,null,`held-out OpenClaw issue labels · 78 rows · 3 runs each`),i(`strong`,null,`67.7% → 72.5%`),i(`em`,null,`+4.8 pts transfer`)],-1),e(h)]),n[1]||=l(`<aside class="good-benchmarks__metrics"><table><thead><tr><th>metric</th><th>base</th><th>best</th></tr></thead><tbody><tr><td>GEPA score</td><td>67.7</td><td>72.5</td></tr><tr><td>row exact</td><td>45.3</td><td>50.9</td></tr><tr><td>row Jaccard</td><td>72.1</td><td>76.6</td></tr><tr><td>micro F1</td><td>78.1</td><td>82.0</td></tr></tbody></table><div class="good-benchmarks__checks"><article><strong>Representative</strong><span>Match density/distribution of data</span></article><article><strong>Aligned</strong><span>scores what matters</span></article><article><strong>Sensitive</strong><span>Detects Gains/Losses, Scales to model strength</span></article></div></aside>`,1)]))}}),y={__name:`slides.md__slidev_13`,setup(n){let{$slidev:a,$nav:l,$clicksContext:m,$clicks:h,$page:g,$renderContext:_,$frontmatter:y}=d();return m.setup(),(n,a)=>{let l=v;return u(),s(p,c(t(o(f)(o(y),12))),{default:r(()=>[a[0]||=i(`h1`,null,`Good benchmarks`,-1),e(l)]),_:1},16)}}};export{y as default};
|
2026/arize-gepa/assets/md-CAakgSJk.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{D as e,Z as t,_ as n,gt as r,v as i,vt as a,z as o}from"./modules/shiki-CPCtrUKm.js";import{it as s,rt as c}from"./index-BxRQo_Vt.js";import{t as l}from"./slidev/center-CyYz--Z8.js";var u={__name:`slides.md__slidev_17`,setup(u){let{$slidev:d,$nav:f,$clicksContext:p,$clicks:m,$page:h,$renderContext:g,$frontmatter:_}=s();return p.setup(),(s,u)=>(o(),i(l,a(e(r(c)(r(_),16))),{default:t(()=>[...u[0]||=[n(`div`,{class:`thank-you`},[n(`h1`,null,`Thank You!`),n(`p`,null,`Questions?`)],-1)]]),_:1},16))}};export{u as default};
|
2026/arize-gepa/assets/md-COjGFLBf.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{D as e,Z as t,_ as n,gt as r,v as i,vt as a,z as o}from"./modules/shiki-CPCtrUKm.js";import{it as s,rt as c}from"./index-BxRQo_Vt.js";import{t as l}from"./default-DPKjqAwH.js";var u={__name:`slides.md__slidev_16`,setup(u){let{$slidev:d,$nav:f,$clicksContext:p,$clicks:m,$page:h,$renderContext:g,$frontmatter:_}=s();return p.setup(),(s,u)=>(o(),i(l,a(e(r(c)(r(_),15))),{default:t(()=>[...u[0]||=[n(`h1`,null,`fast-agent docs`,-1),n(`div`,{class:`fast-agent-docs-grid`},[n(`a`,{class:`fast-agent-doc-card`,href:`https://fast-agent.ai/guides/batch-processing/`,target:`_blank`,rel:`noreferrer`},[n(`img`,{src:`fast-agent-batch-processing-social.png`,alt:`fast-agent social card — Batch Processing`}),n(`span`,null,`Batch Processing`)]),n(`a`,{class:`fast-agent-doc-card`,href:`https://fast-agent.ai/guides/gepa/`,target:`_blank`,rel:`noreferrer`},[n(`img`,{src:`fast-agent-gepa-social.png`,alt:`fast-agent social card — GEPA Optimization`}),n(`span`,null,`GEPA Optimization`)])],-1)]]),_:1},16))}};export{u as default};
|
2026/arize-gepa/assets/md-CZbSyCfR.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{C as e,D as t,T as n,Z as r,_ as i,gt as a,v as o,vt as s,z as c}from"./modules/shiki-CPCtrUKm.js";import{it as l,rt as u}from"./index-BxRQo_Vt.js";import{t as d}from"./default-DPKjqAwH.js";import{t as f}from"./GepaRunExplorer-2OUsMDnm.js";var p={run:`20260623-092459-birch-minimal-workspace-vlm6-qwen36rtx`,source:`/home/shaun/source/simple-gepa/runs/birch/20260623-092459-birch-minimal-workspace-vlm6-qwen36rtx`,items:[{id:`candidate-0001`,iteration:1,image:`gepa-birch-small/candidate-0001-deep.png`,score:.3,generation:1,checker:0,hygiene:0,skillLengthScore:1,skillLines:34,recipeLines:4,toolCalls:12,turns:12,totalTokens:81739,checkerFailures:12,checkerWarnings:4,missingCssArtifacts:1,scoreCap:.55,hasOutput:!0},{id:`candidate-0002`,iteration:2,image:`gepa-birch-small/candidate-0002-deep.png`,score:0,generation:0,checker:0,hygiene:0,skillLengthScore:1,skillLines:34,recipeLines:4,toolCalls:7,turns:8,totalTokens:54703,checkerFailures:0,checkerWarnings:0,missingCssArtifacts:1,scoreCap:.55,hasOutput:!1},{id:`candidate-0003`,iteration:3,image:`gepa-birch-small/candidate-0003-deep.png`,score:.7745,generation:1,checker:.59,hygiene:1,skillLengthScore:1,skillLines:183,recipeLines:4,toolCalls:15,turns:15,totalTokens:123642,checkerFailures:1,checkerWarnings:7,missingCssArtifacts:0,scoreCap:1,hasOutput:!0},{id:`candidate-0004`,iteration:4,image:`gepa-birch-small/candidate-0004-deep.png`,score:.648,generation:1,checker:.36,hygiene:1,skillLengthScore:1,skillLines:183,recipeLines:4,toolCalls:14,turns:14,totalTokens:110711,checkerFailures:2,checkerWarnings:8,missingCssArtifacts:0,scoreCap:1,hasOutput:!0},{id:`candidate-0005`,iteration:5,image:`gepa-birch-small/candidate-0005-deep.png`,score:0,generation:0,checker:0,hygiene:0,skillLengthScore:1,skillLines:183,recipeLines:4,toolCalls:5,turns:6,totalTokens:21296,checkerFailures:0,checkerWarnings:0,missingCssArtifacts:1,scoreCap:.55,hasOutput:!1},{id:`candidate-0006`,iteration:6,image:`gepa-birch-small/candidate-0006-deep.png`,score:0,generation:0,checker:0,hygiene:0,skillLengthScore:1,skillLines:183,recipeLines:156,toolCalls:5,turns:6,totalTokens:24159,checkerFailures:0,checkerWarnings:0,missingCssArtifacts:1,scoreCap:.55,hasOutput:!1},{id:`candidate-0007`,iteration:7,image:`gepa-birch-small/candidate-0007-deep.png`,score:0,generation:0,checker:0,hygiene:0,skillLengthScore:1,skillLines:183,recipeLines:4,toolCalls:6,turns:7,totalTokens:33613,checkerFailures:0,checkerWarnings:0,missingCssArtifacts:1,scoreCap:.55,hasOutput:!1},{id:`candidate-0008`,iteration:8,image:`gepa-birch-small/candidate-0008-deep.png`,score:.3,generation:1,checker:0,hygiene:0,skillLengthScore:1,skillLines:1,recipeLines:4,toolCalls:4,turns:5,totalTokens:30124,checkerFailures:14,checkerWarnings:6,missingCssArtifacts:1,scoreCap:.55,hasOutput:!0},{id:`candidate-0009`,iteration:9,image:`gepa-birch-small/candidate-0009-deep.png`,score:.3,generation:1,checker:0,hygiene:0,skillLengthScore:1,skillLines:1,recipeLines:4,toolCalls:3,turns:4,totalTokens:19217,checkerFailures:14,checkerWarnings:5,missingCssArtifacts:1,scoreCap:.55,hasOutput:!0},{id:`candidate-0010`,iteration:10,image:`gepa-birch-small/candidate-0010-deep.png`,score:0,generation:0,checker:0,hygiene:0,skillLengthScore:1,skillLines:183,recipeLines:4,toolCalls:4,turns:5,totalTokens:14339,checkerFailures:0,checkerWarnings:0,missingCssArtifacts:1,scoreCap:.55,hasOutput:!1},{id:`candidate-0011`,iteration:11,image:`gepa-birch-small/candidate-0011-deep.png`,score:.7745,generation:1,checker:.59,hygiene:1,skillLengthScore:1,skillLines:183,recipeLines:79,toolCalls:9,turns:9,totalTokens:58629,checkerFailures:1,checkerWarnings:7,missingCssArtifacts:0,scoreCap:1,hasOutput:!0},{id:`candidate-0012`,iteration:12,image:`gepa-birch-small/candidate-0012-deep.png`,score:.3,generation:1,checker:0,hygiene:0,skillLengthScore:1,skillLines:183,recipeLines:79,toolCalls:6,turns:7,totalTokens:48315,checkerFailures:11,checkerWarnings:4,missingCssArtifacts:1,scoreCap:.55,hasOutput:!0}]},m=n({__name:`SmallModelRunExplorer`,setup(e){let{$slidev:t,$nav:n,$clicksContext:r,$clicks:i,$page:s,$renderContext:u,$frontmatter:d}=l();return(e,t)=>(c(),o(f,{run:a(p)},null,8,[`run`]))}}),h={__name:`slides.md__slidev_9`,setup(n){let{$slidev:f,$nav:p,$clicksContext:h,$clicks:g,$page:_,$renderContext:v,$frontmatter:y}=l();return h.setup(),(n,l)=>{let f=m;return c(),o(d,s(t(a(u)(a(y),8))),{default:r(()=>[l[0]||=i(`h1`,null,`With a Small Model: Qwen-3.6 35-A3B`,-1),e(f)]),_:1},16)}}};export{h as default};
|
2026/arize-gepa/assets/md-CmyvtyjS.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{D as e,Z as t,_ as n,gt as r,v as i,vt as a,z as o}from"./modules/shiki-CPCtrUKm.js";import{it as s,rt as c}from"./index-BxRQo_Vt.js";import{t as l}from"./default-DPKjqAwH.js";var u={__name:`slides.md__slidev_12`,setup(u){let{$slidev:d,$nav:f,$clicksContext:p,$clicks:m,$page:h,$renderContext:g,$frontmatter:_}=s();return p.setup(),(s,u)=>(o(),i(l,a(e(r(c)(r(_),11))),{default:t(()=>[...u[0]||=[n(`figure`,{class:`f1-labels-figure`},[n(`img`,{src:`images/f1-labels.png`,alt:`F1 label examples`})],-1)]]),_:1},16))}};export{u as default};
|
2026/arize-gepa/assets/md-DGkbv8KD.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{C as e,D as t,F as n,L as r,Z as i,_ as a,_t as o,b as s,ct as c,gt as l,v as u,vt as d,y as f,z as p}from"./modules/shiki-CPCtrUKm.js";import{it as m,rt as h}from"./index-BxRQo_Vt.js";import{t as g}from"./default-DPKjqAwH.js";var _=[`src`],v={key:1,class:`reliable-video__status`},y={key:2,class:`reliable-video__fallback`},b=[`href`],x={__name:`ReliableVideo`,props:{src:{type:String,required:!0}},setup(e){let{$slidev:t,$nav:i,$clicksContext:l,$clicks:u,$page:d,$renderContext:h,$frontmatter:g}=m(),x=e,S=c(``),C=c(!1),w=c(!0),T;function E(){S.value&&URL.revokeObjectURL(S.value),S.value=``}async function D(){T?.abort(),T=new AbortController,E(),C.value=!1,w.value=!0;try{let e=await fetch(x.src,{cache:`force-cache`,signal:T.signal});if(!e.ok)throw Error(`HTTP ${e.status}`);S.value=URL.createObjectURL(await e.blob())}catch(e){if(e.name===`AbortError`)return;w.value=!1,C.value=!0}}function O(){w.value=!1,C.value=!0}return r(D),n(()=>{T?.abort(),E()}),(t,n)=>(p(),s(`div`,{class:o([`reliable-video`,{"reliable-video--failed":C.value}])},[S.value?(p(),s(`video`,{key:0,src:S.value,autoplay:``,loop:``,muted:``,playsinline:``,preload:`auto`,onCanplay:n[0]||=e=>w.value=!1,onError:O},null,40,_)):f(`v-if`,!0),w.value?(p(),s(`div`,v,`Loading video preview…`)):f(`v-if`,!0),C.value?(p(),s(`div`,y,[n[1]||=a(`p`,null,`Video preview could not load.`,-1),a(`button`,{type:`button`,onClick:D},`Retry`),a(`a`,{href:e.src,target:`_blank`,rel:`noreferrer`},`Open MP4`,8,b)])):f(`v-if`,!0)],2))}},S={class:`html-effectiveness-video`},C={class:`html-effectiveness-video__frame`},w={__name:`slides.md__slidev_6`,setup(n){let{$slidev:r,$nav:o,$clicksContext:s,$clicks:c,$page:f,$renderContext:_,$frontmatter:v}=m();return s.setup(),(n,r)=>{let o=x;return p(),u(g,d(t(l(h)(l(v),5))),{default:i(()=>[a(`div`,S,[a(`div`,C,[e(o,{src:`videos/birch-html-html-intro-sequence.mp4`})]),r[0]||=a(`nav`,{class:`html-effectiveness-video__links`,"aria-label":`HTML and Birch resources`},[a(`a`,{href:`https://thariqs.github.io/html-effectiveness/`,target:`_blank`,rel:`noreferrer`},` The Unreasonable Effectiveness of HTML `),a(`a`,{href:`https://evalstate-birch-html.hf.space/analysis/report.html`,target:`_blank`,rel:`noreferrer`},` The Birch Benchmark `)],-1)])]),_:1},16)}}};export{w as default};
|
2026/arize-gepa/assets/md-DH6fp-8e.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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-CPCtrUKm.js";import{it as c,rt as l}from"./index-BxRQo_Vt.js";import{t as u}from"./default-DPKjqAwH.js";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,[t(`Shaun Smith `),r(`code`,null,`@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(`code`,null,`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:`intro/huggingface-mark-logo.svg`,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:`intro/github-mark.svg`,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:`intro/xcom-logo-black.png`,alt:`X`})]),r(`td`,null,`x.com/evalstate`)])])])]),r(`aside`,{class:`about-logo-panel deck-panel`},[r(`img`,{class:`about-hf-logo`,src:`intro/hf_logo.svg`,alt:`Hugging Face`}),r(`div`,{class:`about-logo-divider`}),r(`img`,{class:`about-mcp-logo`,src:`intro/mcp-icon.svg`,alt:`Model Context Protocol`})])],-1)]]),_:1},16))}};export{d as default};
|
2026/arize-gepa/assets/md-DTT-XzTj.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{C as e,D as t,T as n,V as r,Z as i,_ as a,_t as o,b as s,bt as c,gt as l,m as u,v as d,vt as f,x as p,z as m}from"./modules/shiki-CPCtrUKm.js";import{_t as h,it as g,rt as _}from"./index-BxRQo_Vt.js";import{t as v}from"./default-DPKjqAwH.js";var y={class:`story-score-breakdown`,"aria-label":`Story score components from the latest scorer feed into one GEPA score.`},b={viewBox:`0 0 920 470`,role:`img`},x={class:`story-score-breakdown__edges`},S=[`d`],C={class:`story-score-breakdown__components`},w=[`transform`],T=[`width`,`height`],E={class:`story-score-breakdown__weight`,x:`24`,y:`43`},D={class:`story-score-breakdown__title`,x:`24`,y:`75`},O={class:`story-score-breakdown__detail`,x:`24`,y:`96`},k=[`transform`],A=[`width`,`height`],j=h(n({__name:`StoryScoreBreakdown`,setup(e){let{$slidev:t,$nav:n,$clicksContext:i,$clicks:d,$page:f,$renderContext:h,$frontmatter:_}=g(),v=[{id:`theme`,title:`Required items`,weight:`30%`,detail:`Lucia · moon · music contest`,x:42,y:42,w:310,h:110},{id:`story`,title:`Story length`,weight:`30%`,detail:`180–200 words`,x:42,y:180,w:310,h:110},{id:`prompt`,title:`Prompt length`,weight:`40%`,detail:`≤ 20 words; shorter wins`,x:42,y:318,w:310,h:110}],j={id:`score`,title:`GEPA score`,x:604,y:92,w:274,h:286},M=new Map([...v.map(e=>[e.id,e]),[j.id,j]]),N=v.map(e=>({id:`${e.id}-score`,from:e.id,to:j.id,fromAnchor:`right`,toAnchor:`left`,toOffsetY:0}));function P(e,t,n=0){return t===`left`?{x:e.x,y:e.y+e.h/2+n}:t===`right`?{x:e.x+e.w,y:e.y+e.h/2+n}:t===`top`?{x:e.x+e.w/2,y:e.y+n}:{x:e.x+e.w/2,y:e.y+e.h+n}}function F(e){let t=M.get(e.from),n=M.get(e.to),r=P(t,e.fromAnchor),i=P(n,e.toAnchor,e.toOffsetY),a=Math.abs(i.x-r.x);return`M ${r.x} ${r.y} C ${r.x+a*.34} ${r.y}, ${i.x-a*.34} ${i.y}, ${i.x} ${i.y}`}return(e,t)=>(m(),s(`figure`,y,[(m(),s(`svg`,b,[t[1]||=a(`defs`,null,[a(`marker`,{id:`story-score-arrow`,markerWidth:`10`,markerHeight:`10`,refX:`8.5`,refY:`5`,orient:`auto`,markerUnits:`strokeWidth`},[a(`path`,{d:`M 1.5 1.5 L 9 5 L 1.5 8.5 z`})])],-1),a(`g`,x,[(m(!0),s(u,null,r(l(N),e=>(m(),s(`path`,{key:e.id,d:F(e)},null,8,S))),128))]),a(`g`,C,[(m(),s(u,null,r(v,e=>a(`g`,{key:e.id,class:o([`story-score-breakdown__component`,`story-score-breakdown__component--${e.id}`]),transform:`translate(${e.x} ${e.y})`},[a(`rect`,{width:e.w,height:e.h,rx:`22`},null,8,T),a(`text`,E,c(e.weight),1),a(`text`,D,c(e.title),1),a(`text`,O,c(e.detail),1)],10,w)),64))]),a(`g`,{class:`story-score-breakdown__score`,transform:`translate(${j.x} ${j.y})`},[a(`rect`,{width:j.w,height:j.h,rx:`32`},null,8,A),t[0]||=p(`<text class="story-score-breakdown__score-label" x="137" y="64" data-v-5c2576d9>GEPA score</text><text class="story-score-breakdown__score-value" x="137" y="153" data-v-5c2576d9>0.0–1.0</text><line x1="44" y1="184" x2="230" y2="184" data-v-5c2576d9></line><text class="story-score-breakdown__formula" x="137" y="219" data-v-5c2576d9>weighted sum</text><text class="story-score-breakdown__formula story-score-breakdown__formula--muted" x="137" y="249" data-v-5c2576d9>30% + 30% + 40%</text>`,5)],8,k)]))]))}}),[[`__scopeId`,`data-v-5c2576d9`]]),M={__name:`slides.md__slidev_4`,setup(n){let{$slidev:r,$nav:o,$clicksContext:s,$clicks:c,$page:u,$renderContext:p,$frontmatter:h}=g();return s.setup(),(n,r)=>{let o=j;return m(),d(v,f(t(l(_)(l(h),3))),{default:i(()=>[r[0]||=a(`h1`,null,`Score breakdown`,-1),e(o)]),_:1},16)}}};export{M as default};
|
2026/arize-gepa/assets/md-Da1MRPsg.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{D as e,Z as t,_ as n,gt as r,v as i,vt as a,z as o}from"./modules/shiki-CPCtrUKm.js";import{it as s,rt as c}from"./index-BxRQo_Vt.js";import{t as l}from"./default-DPKjqAwH.js";var u={__name:`slides.md__slidev_7`,setup(u){let{$slidev:d,$nav:f,$clicksContext:p,$clicks:m,$page:h,$renderContext:g,$frontmatter:_}=s();return p.setup(),(s,u)=>(o(),i(l,a(e(r(c)(r(_),6))),{default:t(()=>[...u[0]||=[n(`h1`,null,`HTML Skill → Actionable Side Information`,-1),n(`div`,{class:`birch-scoring`},[n(`section`,{class:`birch-scoring__inputs`,"aria-label":`Birch skill inputs`},[n(`div`,{class:`birch-scoring__file birch-scoring__file--skill`},[n(`span`,null,`skill`),n(`strong`,null,`SKILL.md`),n(`p`,null,`How to produce standalone Birch HTML.`)]),n(`div`,{class:`birch-scoring__plus`},`+`),n(`div`,{class:`birch-scoring__file birch-scoring__file--recipe`},[n(`span`,null,`recipe`),n(`strong`,null,`numeric-data.md`),n(`p`,null,`What this benchmark asks the skill to render.`)])]),n(`section`,{class:`birch-scoring__flow`,"aria-label":`Scoring inputs become actionable system intelligence`},[n(`article`,null,[n(`span`,{class:`birch-scoring__tag`},`deterministic`),n(`strong`,null,`render checks`),n(`p`,null,`generation success · Birch CSS · semantic primitives · chart/table contracts · mobile geometry`)]),n(`article`,null,[n(`span`,{class:`birch-scoring__tag birch-scoring__tag--vision`},`VLM`),n(`strong`,null,`screenshot feedback`),n(`p`,null,`“table is clipped on mobile” · readability · visual defects the DOM checks miss`)]),n(`div`,{class:`birch-scoring__arrow`},`→`),n(`article`,{class:`birch-scoring__asi`},[n(`span`,null,`ASI packet`),n(`strong`,null,`score + failures + fixes`)])]),n(`figure`,{class:`birch-scoring__evidence`},[n(`div`,{class:`birch-scoring__phone`},[n(`img`,{src:`birch-scoring/numeric-data-mobile-clipped.png`,alt:`Mobile Birch artifact with clipped table evidence`}),n(`div`,{class:`birch-scoring__bbox`})]),n(`figcaption`,null,[n(`span`,null,`example feedback`),n(`strong`,null,`mobile table clipped`),n(`p`,null,`one screenshot becomes actionable mutation pressure`)])])],-1)]]),_:1},16))}};export{u as default};
|
2026/arize-gepa/assets/md-Dq0dKjIm.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{D as e,Z as t,_ as n,gt as r,v as i,vt as a,z as o}from"./modules/shiki-CPCtrUKm.js";import{it as s,rt as c}from"./index-BxRQo_Vt.js";import{t as l}from"./default-DPKjqAwH.js";var u={__name:`slides.md__slidev_14`,setup(u){let{$slidev:d,$nav:f,$clicksContext:p,$clicks:m,$page:h,$renderContext:g,$frontmatter:_}=s();return p.setup(),(s,u)=>(o(),i(l,a(e(r(c)(r(_),13))),{default:t(()=>[...u[0]||=[n(`h1`,null,`OpenClaw GitHub issue labelling`,-1),n(`div`,{class:`openclaw-labeling`},[n(`section`,{class:`openclaw-labeling__hero`},[n(`div`,{class:`kicker`},`batch labelling case study`),n(`strong`,null,`700+`),n(`span`,null,`PRs and issues`),n(`p`,null,`Complicated product surface; labels need to be reproducible enough to train and benchmark against.`)]),n(`section`,{class:`openclaw-labeling__pipeline`,"aria-label":`Labelling workflow`},[n(`article`,null,[n(`span`,null,`01`),n(`strong`,null,`Curate`),n(`p`,null,`high quality seed set`)]),n(`i`,null,`→`),n(`article`,null,[n(`span`,null,`02`),n(`strong`,null,`Ladder`),n(`p`,null,`consensus over runs`)]),n(`article`,null,[n(`span`,null,`03`),n(`strong`,null,`Partition`),n(`p`,null,`held-out benchmark`),n(`p`,null,`training / pareto set`)])])],-1)]]),_:1},16))}};export{u as default};
|
2026/arize-gepa/assets/md-E-xPB337.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{D as e,Z as t,_ as n,gt as r,v as i,vt as a,z as o}from"./modules/shiki-CPCtrUKm.js";import{it as s,rt as c}from"./index-BxRQo_Vt.js";import{t as l}from"./default-DPKjqAwH.js";var u={__name:`slides.md__slidev_11`,setup(u){let{$slidev:d,$nav:f,$clicksContext:p,$clicks:m,$page:h,$renderContext:g,$frontmatter:_}=s();return p.setup(),(s,u)=>(o(),i(l,a(e(r(c)(r(_),10))),{default:t(()=>[...u[0]||=[n(`figure`,{class:`batches-labels-tools-image`},[n(`img`,{src:`images/batches-labels-tools-twitter.png`,alt:`Batches, Labels and Tools example`})],-1)]]),_:1},16))}};export{u as default};
|
2026/arize-gepa/assets/md-F2327ELK.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{D as e,Z as t,_ as n,gt as r,v as i,vt as a,z as o}from"./modules/shiki-CPCtrUKm.js";import{it as s,rt as c}from"./index-BxRQo_Vt.js";import{t as l}from"./default-DPKjqAwH.js";var u={__name:`slides.md__slidev_15`,setup(u){let{$slidev:d,$nav:f,$clicksContext:p,$clicks:m,$page:h,$renderContext:g,$frontmatter:_}=s();return p.setup(),(s,u)=>(o(),i(l,a(e(r(c)(r(_),14))),{default:t(()=>[...u[0]||=[n(`h1`,null,`Common Issues`,-1),n(`div`,{class:`openclaw-lessons`},[n(`article`,{class:`openclaw-lesson openclaw-lesson--accent`},[n(`span`,null,`data`),n(`strong`,null,`Don’t blindly trust LLM labels`),n(`p`,null,`Use LLMs to save time, but keep human-curated examples and consensus checks in the loop.`)]),n(`article`,{class:`openclaw-lesson`},[n(`span`,null,`hygiene`),n(`strong`,null,`Keep row IDs out of prompts`),n(`p`,null,`Identifiers leaking into reflection or task text create brittle, non-transferable optimizations.`)]),n(`article`,{class:`openclaw-lesson`},[n(`span`,null,`tools`),n(`strong`,null,`Make routing instructions explicit`),n(`p`,null,`Don’t hide crucial tool-use behavior inside descriptions where the optimizer can miss it.`)]),n(`article`,{class:`openclaw-lesson`},[n(`span`,null,`pressure`),n(`strong`,null,`Constrain prompt length`),n(`p`,null,`Use length pressure to avoid runaway instructions that overfit a labelling run.`)]),n(`article`,{class:`openclaw-lesson openclaw-lesson--wide`},[n(`span`,null,`benchmark`),n(`strong`,null,`Check transfer and variance`),n(`p`,null,`Separate the held-out benchmark from training / pareto examples. Do post-loop scores transfer, and how much do they vary across models and runs?`)])],-1)]]),_:1},16))}};export{u as default};
|
2026/arize-gepa/assets/modules/vue-DgDNZQuz.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import{$ as e,A as t,B as n,E as r,J as i,K as a,L as o,N as s,O as c,R as l,T as u,Y as d,at as f,ct as p,dt as m,et as h,ft as g,g as _,gt as v,ht as y,k as b,lt as x,m as S,mt as C,ot as w,pt as T,rt as E,st as D,tt as O,ut as k}from"./shiki-CPCtrUKm.js";var A=typeof document<`u`;function j(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function ee(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&j(e.default)}var M=Object.assign;function te(e,t){let n={};for(let r in t){let i=t[r];n[r]=P(i)?i.map(e):e(i)}return n}var N=()=>{},P=Array.isArray;function ne(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var re=Symbol(``);function ie(e,t){return M(Error(),{type:e,[re]:!0},t)}function F(e,t){return e instanceof Error&&re in e&&(t==null||!!(e.type&t))}var ae=Symbol(``),oe=Symbol(``),se=Symbol(``),ce=Symbol(``),le=Symbol(``);function ue(){return t(se)}function de(e){return t(ce)}var fe=/#/g,pe=/&/g,me=/\//g,he=/=/g,ge=/\?/g,_e=/\+/g,ve=/%5B/g,ye=/%5D/g,I=/%5E/g,be=/%60/g,xe=/%7B/g,Se=/%7C/g,Ce=/%7D/g,we=/%20/g;function Te(e){return e==null?``:encodeURI(``+e).replace(Se,`|`).replace(ve,`[`).replace(ye,`]`)}function Ee(e){return Te(e).replace(xe,`{`).replace(Ce,`}`).replace(I,`^`)}function De(e){return Te(e).replace(_e,`%2B`).replace(we,`+`).replace(fe,`%23`).replace(pe,`%26`).replace(be,"`").replace(xe,`{`).replace(Ce,`}`).replace(I,`^`)}function Oe(e){return De(e).replace(he,`%3D`)}function ke(e){return Te(e).replace(fe,`%23`).replace(ge,`%3F`)}function Ae(e){return ke(e).replace(me,`%2F`)}function je(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var Me=/\/$/,Ne=e=>e.replace(Me,``);function Pe(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=He(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:je(o)}}function Fe(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function Ie(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function Le(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Re(t.matched[r],n.matched[i])&&ze(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Re(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ze(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Be(e[n],t[n]))return!1;return!0}function Be(e,t){return P(e)?Ve(e,t):P(t)?Ve(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Ve(e,t){return P(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function He(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var L={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0};function Ue(e){if(!e)if(A){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),Ne(e)}var We=/^[^#]+#/;function Ge(e,t){return e.replace(We,`#`)+t}function Ke(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var qe=()=>({left:window.scrollX,top:window.scrollY});function Je(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Ke(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Ye(e,t){return(history.state?history.state.position-t:-1)+e}var Xe=new Map;function Ze(e,t){Xe.set(e,t)}function Qe(e){let t=Xe.get(e);return Xe.delete(e),t}function $e(e){return typeof e==`string`||e&&typeof e==`object`}function et(e){return typeof e==`string`||typeof e==`symbol`}function tt(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(_e,` `),i=r.indexOf(`=`),a=je(i<0?r:r.slice(0,i)),o=i<0?null:je(r.slice(i+1));if(a in t){let e=t[a];P(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function nt(e){let t=``;for(let n in e){let r=e[n];if(n=Oe(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(P(r)?r.map(e=>e&&De(e)):[r&&De(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function rt(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=P(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function it(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function R(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(ie(4,{from:n,to:t})):e instanceof Error?c(e):$e(e)?c(ie(2,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function at(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(j(s)){let c=(s.__vccOpts||s)[t];c&&a.push(R(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=ee(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&R(c,n,r,o,e,i)()}))}}return a}function ot(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>Re(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>Re(e,s))||i.push(s))}return[n,r,i]}var st=()=>location.protocol+`//`+location.host;function ct(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),Ie(n,``)}return Ie(n,e)+r+i}function lt(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=ct(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:`pop`,direction:u?u>0?`forward`:`back`:``})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(M({},e.state,{scroll:qe()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function ut(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?qe():null}}function dt(e){let{history:t,location:n}=window,r={value:ct(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:st()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,M({},t.state,ut(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=M({},i.value,t.state,{forward:e,scroll:qe()});a(o.current,o,!0),a(e,M({},ut(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function ft(e){e=Ue(e);let t=dt(e),n=lt(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=M({location:``,base:e,go:r,createHref:Ge.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function pt(e){return e=location.host?e||location.pathname+location.search:``,e.includes(`#`)||(e+=`#`),ft(e)}var mt={type:0,value:``},ht=/[a-zA-Z0-9_]/;function gt(e){if(!e)return[[]];if(e===`/`)return[[mt]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=0,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;)switch(c=e[s++],n){case 0:c===`\\`?(r=n,n=4):c===`/`?(l&&d(),o()):c===`:`?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:c===`(`?n=2:ht.test(c)?f():(d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case 2:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`);break}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var _t=`[^/]+?`,vt={sensitive:!1,strict:!1,start:!0,end:!0},yt=/[.+*?^${}()[\]/\\]/g;function bt(e,t){let n=M({},vt,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[90];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=40+(n.sensitive?.25:0);if(o.type===0)r||(i+=`/`),i+=o.value.replace(yt,`\\$&`),s+=40;else if(o.type===1){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||_t;if(u!==_t){s+=10;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=20,c&&(s+=-8),n&&(s+=-20),u===`.*`&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===0)n+=e.value;else if(e.type===1){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(P(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=P(c)?c.join(`/`):c;if(!l)if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`);n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function xt(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function St(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=xt(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(Ct(r))return 1;if(Ct(i))return-1}return i.length-r.length}function Ct(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var wt={strict:!1,end:!0,sensitive:!1};function Tt(e,t,n){let r=M(bt(gt(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Et(e,t){let n=[],r=new Map;t=ne(wt,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=Ot(e);s.aliasOf=r&&r.record;let l=ne(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(Ot(M({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=Tt(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!At(d)&&o(e.name)),Pt(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:N}function o(e){if(et(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=Mt(e,n);n.splice(t,0,e),e.record.name&&!At(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw ie(1,{location:e});s=i.record.name,a=M(Dt(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&Dt(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name,i.keys.forEach(e=>{e.optional&&!a[e.name]&&delete a[e.name]}));else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw ie(1,{location:e,currentLocation:t});s=i.record.name,a=M({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:jt(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function Dt(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function Ot(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:kt(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function kt(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function At(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function jt(e){return e.reduce((e,t)=>M(e,t.meta),{})}function Mt(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;St(e,t[i])<0?r=i:n=i+1}let i=Nt(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function Nt(e){let t=e;for(;t=t.parent;)if(Pt(t)&&St(e,t)===0)return t}function Pt({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ft(e){let n=t(se),r=t(ce),i=_(()=>{let t=v(e.to);return n.resolve(t)}),a=_(()=>{let{matched:e}=i.value,{length:t}=e,n=e[t-1],a=r.matched;if(!n||!a.length)return-1;let o=a.findIndex(Re.bind(null,n));if(o>-1)return o;let s=Bt(e[t-2]);return t>1&&Bt(n)===s&&a[a.length-1].path!==s?a.findIndex(Re.bind(null,e[t-2])):o}),o=_(()=>a.value>-1&&zt(r.params,i.value.params)),s=_(()=>a.value>-1&&a.value===r.matched.length-1&&ze(r.params,i.value.params));function c(t={}){if(Rt(t)){let t=n[v(e.replace)?`replace`:`push`](v(e.to)).catch(N);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>t),t}return Promise.resolve()}return{route:i,href:_(()=>i.value.href),isActive:o,isExactActive:s,navigate:c}}function It(e){return e.length===1?e[0]:e}var Lt=u({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:Ft,setup(e,{slots:n}){let r=w(Ft(e)),{options:i}=t(se),a=_(()=>({[Vt(e.activeClass,i.linkActiveClass,`router-link-active`)]:r.isActive,[Vt(e.exactActiveClass,i.linkExactActiveClass,`router-link-exact-active`)]:r.isExactActive}));return()=>{let t=n.default&&It(n.default(r));return e.custom?t:c(`a`,{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},t)}}});function Rt(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function zt(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!P(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function Bt(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var Vt=(e,t,n)=>e??t??n,Ht=u({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:r,slots:a}){let o=t(le),s=_(()=>e.route||o.value),l=t(oe,0),u=_(()=>{let e=v(l),{matched:t}=s.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),d=_(()=>s.value.matched[u.value]);n(oe,_(()=>u.value+1)),n(ae,d),n(le,s);let f=p();return i(()=>[f.value,d.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!Re(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let t=s.value,n=e.name,i=d.value,o=i&&i.components[n];if(!o)return Ut(a.default,{Component:o,route:t});let l=i.props[n],u=c(o,M({},l?l===!0?t.params:typeof l==`function`?l(t):l:null,r,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(i.instances[n]=null)},ref:f}));return Ut(a.default,{Component:u,route:t})||u}}});function Ut(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Wt=Ht;function Gt(e){let t=Et(e.routes,e),n=e.parseQuery||tt,r=e.stringifyQuery||nt,i=e.history,a=it(),o=it(),c=it(),l=m(L),u=L;A&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let d=te.bind(null,e=>``+e),f=te.bind(null,Ae),p=te.bind(null,je);function h(e,n){let r,i;return et(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function g(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function _(){return t.getRoutes().map(e=>e.record)}function y(e){return!!t.getRecordMatcher(e)}function b(e,a){if(a=M({},a||l.value),typeof e==`string`){let r=Pe(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return M(r,o,{params:p(o.params),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=M({},e,{path:Pe(n,e.path,a.path).path});else{let t=M({},e.params);for(let e in t)t[e]??delete t[e];o=M({},e,{params:f(t)}),a.params=f(a.params)}let s=t.resolve(o,a),c=e.hash||``;s.params=d(p(s.params));let u=Fe(r,M({},e,{hash:Ee(c),path:s.path})),m=i.createHref(u);return M({fullPath:u,hash:c,query:r===nt?rt(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function S(e){return typeof e==`string`?Pe(n,e,l.value.path):M({},e)}function C(e,t){if(u!==e)return ie(8,{from:t,to:e})}function w(e){return D(e)}function T(e){return w(M(S(e),{replace:!0}))}function E(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=S(i):{path:i},i.params={}),M({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function D(e,t){let n=u=b(e),i=l.value,a=e.state,o=e.force,s=e.replace===!0,c=E(n,i);if(c)return D(M(S(c),{state:typeof c==`object`?M({},a,c.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&Le(r,i,n)&&(f=ie(16,{to:d,from:i}),he(i,i,!0,!1)),(f?Promise.resolve(f):j(d,i)).catch(e=>F(e)?F(e,2)?e:me(e):fe(e,d,i)).then(e=>{if(e){if(F(e,2))return D(M({replace:s},S(e.to),{state:typeof e.to==`object`?M({},a,e.to.state):a,force:o}),t||d)}else e=ne(d,i,!0,s,a);return ee(d,i,e),e})}function O(e,t){let n=C(e,t);return n?Promise.reject(n):Promise.resolve()}function k(e){let t=ve.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function j(e,t){let n,[r,i,s]=ot(e,t);n=at(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(R(r,e,t))});let c=O.bind(null,e,t);return n.push(c),I(n).then(()=>{n=[];for(let r of a.list())n.push(R(r,e,t));return n.push(c),I(n)}).then(()=>{n=at(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(R(r,e,t))});return n.push(c),I(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter)if(P(r.beforeEnter))for(let i of r.beforeEnter)n.push(R(i,e,t));else n.push(R(r.beforeEnter,e,t));return n.push(c),I(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=at(s,`beforeRouteEnter`,e,t,k),n.push(c),I(n))).then(()=>{n=[];for(let r of o.list())n.push(R(r,e,t));return n.push(c),I(n)}).catch(e=>F(e,8)?e:Promise.reject(e))}function ee(e,t,n){c.list().forEach(r=>k(()=>r(e,t,n)))}function ne(e,t,n,r,a){let o=C(e,t);if(o)return o;let s=t===L,c=A?history.state:{};n&&(r||s?i.replace(e.fullPath,M({scroll:s&&c&&c.scroll},a)):i.push(e.fullPath,a)),l.value=e,he(e,t,n,s),me()}let re;function ae(){re||=i.listen((e,t,n)=>{if(!ye.listening)return;let r=b(e),a=E(r,ye.currentRoute.value);if(a){D(M(a,{replace:!0,force:!0}),r).catch(N);return}u=r;let o=l.value;A&&Ze(Ye(o.fullPath,n.delta),qe()),j(r,o).catch(e=>F(e,12)?e:F(e,2)?(D(M(S(e.to),{force:!0}),r).then(e=>{F(e,20)&&!n.delta&&n.type===`pop`&&i.go(-1,!1)}).catch(N),Promise.reject()):(n.delta&&i.go(-n.delta,!1),fe(e,r,o))).then(e=>{e||=ne(r,o,!1),e&&(n.delta&&!F(e,8)?i.go(-n.delta,!1):n.type===`pop`&&F(e,20)&&i.go(-1,!1)),ee(r,o,e)}).catch(N)})}let oe=it(),ue=it(),de;function fe(e,t,n){me(e);let r=ue.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function pe(){return de&&l.value!==L?Promise.resolve():new Promise((e,t)=>{oe.add([e,t])})}function me(e){return de||(de=!e,ae(),oe.list().forEach(([t,n])=>e?n(e):t()),oe.reset()),e}function he(t,n,r,i){let{scrollBehavior:a}=e;if(!A||!a)return Promise.resolve();let o=!r&&Qe(Ye(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return s().then(()=>a(t,n,o)).then(e=>e&&Je(e)).catch(e=>fe(e,t,n))}let ge=e=>i.go(e),_e,ve=new Set,ye={currentRoute:l,listening:!0,addRoute:h,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:_,resolve:b,options:e,push:w,replace:T,go:ge,back:()=>ge(-1),forward:()=>ge(1),beforeEach:a.add,beforeResolve:o.add,afterEach:c.add,onError:ue.add,isReady:pe,install(e){e.component(`RouterLink`,Lt),e.component(`RouterView`,Wt),e.config.globalProperties.$router=ye,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>v(l)}),A&&!_e&&l.value===L&&(_e=!0,w(i.location).catch(e=>{}));let t={};for(let e in L)Object.defineProperty(t,e,{get:()=>l.value[e],enumerable:!0});e.provide(se,ye),e.provide(ce,x(t)),e.provide(le,l);let n=e.unmount;ve.add(e),e.unmount=function(){ve.delete(e),ve.size<1&&(u=L,re&&re(),re=null,l.value=L,_e=!1,de=!1),n()}}};function I(e){return e.reduce((e,t)=>e.then(()=>k(t)),Promise.resolve())}return ye}function z(e,t){return O()?(f(e,t),!0):!1}var Kt=new WeakMap,qt=(...e)=>{let n=e[0],i=r()?.proxy??O();if(i==null&&!b())throw Error(`injectLocal must be called in setup`);return i&&Kt.has(i)&&n in Kt.get(i)?Kt.get(i)[n]:t(...e)};function Jt(e,t){let i=r()?.proxy??O();if(i==null)throw Error(`provideLocal must be called in setup`);Kt.has(i)||Kt.set(i,Object.create(null));let a=Kt.get(i);return a[e]=t,n(e,t)}var B=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var Yt=e=>e!==void 0,Xt=e=>e!=null,Zt=Object.prototype.toString,Qt=e=>Zt.call(e)===`[object Object]`,$t=()=>+Date.now(),V=()=>{},en=tn();function tn(){var e,t;return B&&!!(!((e=window)==null||(e=e.navigator)==null)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function nn(...t){if(t.length!==1)return T(...t);let n=t[0];return typeof n==`function`?D(e(()=>({get:n,set:V}))):p(n)}function rn(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var an=e=>e();function on(e,t={}){let n,r,i=V,a=e=>{clearTimeout(e),i(),i=V},o;return s=>{let c=y(e),l=y(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function sn(e=an,t={}){let{initialState:n=`active`}=t,r=nn(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:k(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function cn(e,t){if(typeof e==`number`)return e+t;let n=e.match(/^-?\d+\.?\d*/)?.[0]||``,r=e.slice(n.length),i=Number.parseFloat(n)+t;return Number.isNaN(i)?e:i+r}function ln(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function un(e,t,n=!1){return Object.fromEntries(Object.entries(e).filter(([e,r])=>(!n||r!==void 0)&&!t.includes(e)))}function dn(e){return Array.isArray(e)?e:[e]}function fn(e){return e||r()}function pn(e){if(!B)return e;let t=0,n,r,i=()=>{--t,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return((...a)=>(t+=1,r||(r=h(!0),n=r.run(()=>e(...a))),z(i),n))}function mn(e,t,n={}){let{eventFilter:r=an,...a}=n;return i(e,rn(r,t),a)}function hn(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=sn(r,{initialState:i});return{stop:mn(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function gn(t,n={}){if(!E(t))return C(t);let r=Array.isArray(t.value)?Array.from({length:t.value.length}):{};for(let i in t.value)r[i]=e(()=>({get(){return t.value[i]},set(e){if(y(n.replaceRef)??!0)if(Array.isArray(t.value)){let n=[...t.value];n[i]=e,t.value=n}else{let n={...t.value,[i]:e};Object.setPrototypeOf(n,Object.getPrototypeOf(t.value)),t.value=n}else t.value[i]=e}}));return r}function H(e,t=!0,n){fn(n)?o(e,n):t?e():s(e)}function _n(e,t=1e3,n={}){let{immediate:r=!0,immediateCallback:a=!1}=n,o=null,s=m(!1);function c(){o&&=(clearInterval(o),null)}function l(){s.value=!1,c()}function u(){let n=y(t);n<=0||(s.value=!0,a&&e(),c(),s.value&&(o=setInterval(e,n)))}return r&&B&&u(),(E(t)||typeof t==`function`)&&z(i(t,()=>{s.value&&B&&u()})),z(l),{isActive:k(s),pause:l,resume:u}}function vn(e=1e3,t={}){let{controls:n=!1,immediate:r=!0,callback:i}=t,a=m(0),o=()=>a.value+=1,s=()=>{a.value=0},c=_n(i?()=>{o(),i(a.value)}:o,e,{immediate:r});return n?{counter:k(a),reset:s,...c}:k(a)}function yn(e=!1,t={}){let{truthyValue:n=!0,falsyValue:r=!1}=t,i=E(e),a=m(e);function o(e){if(arguments.length)return a.value=e,a.value;{let e=y(n);return a.value=a.value===e?y(r):e,a.value}}return i?o:[a,o]}function bn(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return mn(e,t,{...a,eventFilter:on(r,{maxWait:i})})}var xn=bn;function Sn(e,t,n={}){let{eventFilter:r=an,...a}=n,o=rn(r,t),s,c,l;if(a.flush===`sync`){let t=!1;c=()=>{},s=e=>{t=!0,e(),t=!1},l=i(e,(...e)=>{t||o(...e)},a)}else{let t=[],n=0,r=0;c=()=>{n=r},t.push(i(e,()=>{r++},{...a,flush:`sync`})),s=e=>{let t=r;e(),n+=r-t},t.push(i(e,(...e)=>{let t=n>0&&n===r;n=0,r=0,!t&&o(...e)},a)),l=()=>{t.forEach(e=>e())}}return{stop:l,ignoreUpdates:s,ignorePrevAsyncUpdates:c}}var Cn=Sn;function wn(e,t,n){return i(e,t,{...n,immediate:!0})}function Tn(e,t,n){let r=i(e,(e,i,a)=>{e&&(n?.once&&s(()=>r()),t(e,i,a))},{...n,once:!1});return r}var U=B?window:void 0,En=B?window.document:void 0,Dn=B?window.navigator:void 0;B&&window.location;function W(e){let t=y(e);return t?.$el??t}function G(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=_(()=>{let t=dn(y(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return wn(()=>[n.value?.map(e=>W(e))??[U].filter(e=>e!=null),dn(y(n.value?e[1]:e[0])),dn(v(n.value?e[2]:e[1])),y(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=Qt(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var On=!1;function kn(e,t,n={}){let{window:r=U,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:V,cancel:V,trigger:V}:V;if(en&&!On){On=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,V,e)),r.document.documentElement.addEventListener(`click`,V,e)}let c=!0,l=e=>y(i).some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=W(t);return n&&(e.target===n||e.composedPath().includes(n))}});function u(e){let t=y(e);return t&&t.$.subTree.shapeFlag===16}function d(e,t){let n=y(e),r=n.$.subTree&&n.$.subTree.children;return r==null||!Array.isArray(r)?!1:r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let f=n=>{let r=W(e);if(n.target!=null&&!(!(r instanceof Element)&&u(e)&&d(e,n))&&!(!r||r===n.target||n.composedPath().includes(r))){if(`detail`in n&&n.detail===0&&(c=!l(n)),!c){c=!0;return}t(n)}},p=!1,m=[G(r,`click`,e=>{p||(p=!0,setTimeout(()=>{p=!1},0),f(e))},{passive:!0,capture:a}),G(r,`pointerdown`,t=>{let n=W(e);c=!l(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),o&&G(r,`blur`,n=>{setTimeout(()=>{let i=W(e),a=r.document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;a?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),h=()=>m.forEach(e=>e());return s?{stop:h,cancel:()=>{c=!1},trigger:e=>{c=!0,f(e),c=!1}}:h}function An(){let e=m(!1),t=r();return t&&o(()=>{e.value=!0},t),e}function jn(e){let t=An();return _(()=>(t.value,!!e()))}function Mn(e,t,n={}){let{window:r=U,...a}=n,o,s=jn(()=>r&&`MutationObserver`in r),c=()=>{o&&=(o.disconnect(),void 0)},l=i(_(()=>{let t=dn(y(e)).map(W).filter(Xt);return new Set(t)}),e=>{c(),s.value&&e.size&&(o=new MutationObserver(t),e.forEach(e=>o.observe(e,a)))},{immediate:!0,flush:`post`}),u=()=>o?.takeRecords(),d=()=>{l(),c()};return z(d),{isSupported:s,stop:d,takeRecords:u}}function Nn(e,t,n={}){let{window:r=U,document:i=r?.document,flush:a=`sync`}=n;if(!r||!i)return V;let o,s=e=>{o?.(),o=e},c=d(()=>{let n=W(e);if(n){let{stop:e}=Mn(i,e=>{e.map(e=>[...e.removedNodes]).flat().some(e=>e===n||e.contains(n))&&t(e)},{window:r,childList:!0,subtree:!0});s(e)}},{flush:a}),l=()=>{c(),s()};return z(l),l}function Pn(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Fn(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=U,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=Pn(t);return G(i,a,e=>{e.repeat&&y(s)||c(e)&&n(e)},o)}function In(e={}){let{window:t=U,deep:n=!0,triggerOnRemoval:r=!1}=e,i=e.document??t?.document,a=()=>{let e=i?.activeElement;if(n)for(var t;e?.shadowRoot;)e=e==null||(t=e.shadowRoot)==null?void 0:t.activeElement;return e},o=m(),s=()=>{o.value=a()};if(t){let e={capture:!0,passive:!0};G(t,`blur`,e=>{e.relatedTarget===null&&s()},e),G(t,`focus`,s,e)}return r&&Nn(o,s,{document:i}),s(),o}var Ln=Symbol(`vueuse-ssr-width`);function Rn(){let e=b()?qt(Ln,null):null;return typeof e==`number`?e:void 0}function K(e,t={}){let{window:n=U,ssrWidth:r=Rn()}=t,i=jn(()=>n&&`matchMedia`in n&&typeof n.matchMedia==`function`),a=m(typeof r==`number`),o=m(),s=m(!1);return d(()=>{if(a.value){a.value=!i.value,s.value=y(e).split(`,`).some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),i=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||i);return n&&a&&(a=r>=ln(n[1])),i&&a&&(a=r<=ln(i[1])),t?!a:a});return}i.value&&(o.value=n.matchMedia(y(e)),s.value=o.value.matches)}),G(o,`change`,e=>{s.value=e.matches},{passive:!0}),_(()=>s.value)}var zn={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function Bn(e,t={}){function n(t,n){let r=y(e[y(t)]);return n!=null&&(r=cn(r,n)),typeof r==`number`&&(r=`${r}px`),r}let{window:r=U,strategy:i=`min-width`,ssrWidth:a=Rn()}=t,o=typeof a==`number`,s=o?m(!1):{value:!0};o&&H(()=>s.value=!!r);function c(e,t){return!s.value&&o?e===`min`?a>=ln(t):a<=ln(t):r?r.matchMedia(`(${e}-width: ${t})`).matches:!1}let l=e=>K(()=>`(min-width: ${n(e)})`,t),u=e=>K(()=>`(max-width: ${n(e)})`,t),d=Object.keys(e).reduce((e,t)=>(Object.defineProperty(e,t,{get:()=>i===`min-width`?l(t):u(t),enumerable:!0,configurable:!0}),e),{});function f(){let t=Object.keys(e).map(e=>[e,d[e],ln(n(e))]).sort((e,t)=>e[2]-t[2]);return _(()=>t.filter(([,e])=>e.value).map(([e])=>e))}return Object.assign(d,{greaterOrEqual:l,smallerOrEqual:u,greater(e){return K(()=>`(min-width: ${n(e,.1)})`,t)},smaller(e){return K(()=>`(max-width: ${n(e,-.1)})`,t)},between(e,r){return K(()=>`(min-width: ${n(e)}) and (max-width: ${n(r,-.1)})`,t)},isGreater(e){return c(`min`,n(e,.1))},isGreaterOrEqual(e){return c(`min`,n(e))},isSmaller(e){return c(`max`,n(e,-.1))},isSmallerOrEqual(e){return c(`max`,n(e))},isInBetween(e,t){return c(`min`,n(e))&&c(`max`,n(t,-.1))},current:f,active(){let e=f();return _(()=>e.value.length===0?``:e.value.at(i===`min-width`?-1:0))}})}function Vn(e){return JSON.parse(JSON.stringify(e))}var Hn=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{},Un=`__vueuse_ssr_handlers__`,Wn=Gn();function Gn(){return Un in Hn||(Hn[Un]=Hn[Un]||{}),Hn[Un]}function Kn(e,t){return Wn[e]||t}function qn(e){return K(`(prefers-color-scheme: dark)`,e)}function Jn(e){return e==null?`any`:e instanceof Set?`set`:e instanceof Map?`map`:e instanceof Date?`date`:typeof e==`boolean`?`boolean`:typeof e==`string`?`string`:typeof e==`object`?`object`:Number.isNaN(e)?`any`:`number`}var Yn={boolean:{read:e=>e===`true`,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Xn=`vueuse-storage`;function Zn(e,t,n,r={}){let{flush:a=`pre`,deep:o=!0,listenToStorageChanges:c=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:d,window:f=U,eventFilter:h,onError:g=e=>{console.error(e)},initOnMounted:v}=r,b=(d?m:p)(typeof t==`function`?t():t),x=_(()=>y(e));if(!n)try{n=Kn(`getDefaultStorage`,()=>U?.localStorage)()}catch(e){g(e)}if(!n)return b;let S=y(t),C=Jn(S),w=r.serializer??Yn[C],{pause:T,resume:E}=hn(b,e=>k(e),{flush:a,deep:o,eventFilter:h});i(x,()=>j(),{flush:a});let D=!1;f&&c&&(n instanceof Storage?G(f,`storage`,e=>{v&&!D||j(e)},{passive:!0}):G(f,Xn,e=>{v&&!D||ee(e)})),v?H(()=>{D=!0,j()}):j();function O(e,t){if(f){let r={key:x.value,oldValue:e,newValue:t,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent(`storage`,r):new CustomEvent(Xn,{detail:r}))}}function k(e){try{let t=n.getItem(x.value);if(e==null)O(t,null),n.removeItem(x.value);else{let r=w.write(e);t!==r&&(n.setItem(x.value,r),O(t,r))}}catch(e){g(e)}}function A(e){let t=e?e.newValue:n.getItem(x.value);if(t==null)return l&&S!=null&&n.setItem(x.value,w.write(S)),S;if(!e&&u){let e=w.read(t);return typeof u==`function`?u(e,S):C===`object`&&!Array.isArray(e)?{...S,...e}:e}else if(typeof t!=`string`)return t;else return w.read(t)}function j(e){if(!(e&&e.storageArea!==n)){if(e&&e.key==null){b.value=S;return}if(!(e&&e.key!==x.value)){T();try{let t=w.write(b.value);(e===void 0||e?.newValue!==t)&&(b.value=A(e))}catch(e){g(e)}finally{e?s(E):E()}}}}function ee(e){j(e.detail)}return b}function Qn(e={}){let{document:t=En}=e;if(!t)return m(`visible`);let n=m(t.visibilityState);return G(t,`visibilitychange`,()=>{n.value=t.visibilityState},{passive:!0}),n}var $n={speed:2,margin:30,direction:`both`};function er(e){e.scrollLeft>e.scrollWidth-e.clientWidth&&(e.scrollLeft=Math.max(0,e.scrollWidth-e.clientWidth)),e.scrollTop>e.scrollHeight-e.clientHeight&&(e.scrollTop=Math.max(0,e.scrollHeight-e.clientHeight))}function tr(e,t={}){let{pointerTypes:n,preventDefault:r,stopPropagation:a,exact:o,onMove:s,onEnd:c,onStart:l,initialValue:u,axis:d=`both`,draggingElement:f=U,containerElement:m,handle:h=e,buttons:g=[0],restrictInView:v,autoScroll:b=!1}=t,x=p(y(u)??{x:0,y:0}),S=p(),C=e=>n?n.includes(e.pointerType):!0,w=e=>{y(r)&&e.preventDefault(),y(a)&&e.stopPropagation()},T=y(b),E=typeof T==`object`?{speed:y(T.speed)??$n.speed,margin:y(T.margin)??$n.margin,direction:T.direction??$n.direction}:$n,D=e=>typeof e==`number`?[e,e]:[e.x,e.y],O=(e,t,n)=>{let{clientWidth:r,clientHeight:i,scrollLeft:a,scrollTop:o,scrollWidth:s,scrollHeight:c}=e,[l,u]=D(E.margin),[d,f]=D(E.speed),p=0,m=0;(E.direction===`x`||E.direction===`both`)&&(n.x<l&&a>0?p=-d:n.x+t.width>r-l&&a<s-r&&(p=d)),(E.direction===`y`||E.direction===`both`)&&(n.y<u&&o>0?m=-f:n.y+t.height>i-u&&o<c-i&&(m=f)),(p||m)&&e.scrollBy({left:p,top:m,behavior:`auto`})},k=null,A=()=>{let t=y(m);t&&!k&&(k=setInterval(()=>{let n=y(e).getBoundingClientRect(),{x:r,y:i}=x.value,a={x:r-t.scrollLeft,y:i-t.scrollTop};a.x>=0&&a.y>=0&&(O(t,n,a),a.x+=t.scrollLeft,a.y+=t.scrollTop,x.value=a)},1e3/60))},j=()=>{k&&=(clearInterval(k),null)},ee=(e,t,n,r)=>{let[i,a]=typeof n==`number`?[n,n]:[n.x,n.y],{clientWidth:o,clientHeight:s}=t;return e.x<i||e.x+r.width>o-i||e.y<a||e.y+r.height>s-a};y(b)&&i(x,()=>{if(y(t.disabled)||!S.value)return;let n=y(m);if(!n)return;let r=y(e).getBoundingClientRect(),{x:i,y:a}=x.value;ee({x:i-n.scrollLeft,y:a-n.scrollTop},n,E.margin,r)?A():j()});let M=n=>{var r;if(!y(g).includes(n.button)||y(t.disabled)||!C(n)||y(o)&&n.target!==y(e))return;let i=y(m),a=i==null||(r=i.getBoundingClientRect)==null?void 0:r.call(i),s=y(e).getBoundingClientRect(),c={x:n.clientX-(i?s.left-a.left+(b?0:i.scrollLeft):s.left),y:n.clientY-(i?s.top-a.top+(b?0:i.scrollTop):s.top)};l?.(c,n)!==!1&&(S.value=c,w(n))},te=n=>{if(y(t.disabled)||!C(n)||!S.value)return;let r=y(m);r instanceof HTMLElement&&er(r);let i=y(e).getBoundingClientRect(),{x:a,y:o}=x.value;if((d===`x`||d===`both`)&&(a=n.clientX-S.value.x,r&&(a=Math.min(Math.max(0,a),r.scrollWidth-i.width))),(d===`y`||d===`both`)&&(o=n.clientY-S.value.y,r&&(o=Math.min(Math.max(0,o),r.scrollHeight-i.height))),y(b)&&r&&(k===null&&O(r,i,{x:a,y:o}),a+=r.scrollLeft,o+=r.scrollTop),r&&(v||b)){if(d!==`y`){let e=a-r.scrollLeft;e<0?a=r.scrollLeft:e>r.clientWidth-i.width&&(a=r.clientWidth-i.width+r.scrollLeft)}if(d!==`x`){let e=o-r.scrollTop;e<0?o=r.scrollTop:e>r.clientHeight-i.height&&(o=r.clientHeight-i.height+r.scrollTop)}}x.value={x:a,y:o},s?.(x.value,n),w(n)},N=e=>{y(t.disabled)||!C(e)||S.value&&(S.value=void 0,b&&j(),c?.(x.value,e),w(e))};if(B){let e=()=>({capture:t.capture??!0,passive:!y(r)});G(h,`pointerdown`,M,e),G(f,`pointermove`,te,e),G(f,`pointerup`,N,e)}return{...gn(x),position:x,isDragging:_(()=>!!S.value),style:_(()=>`
|
| 2 |
+
left: ${x.value.x}px;
|
| 3 |
+
top: ${x.value.y}px;
|
| 4 |
+
${b?`text-wrap: nowrap;`:``}
|
| 5 |
+
`)}}function nr(e,t,n={}){let{window:r=U,...a}=n,o,s=jn(()=>r&&`ResizeObserver`in r),c=()=>{o&&=(o.disconnect(),void 0)},l=i(_(()=>{let t=y(e);return Array.isArray(t)?t.map(e=>W(e)):[W(t)]}),e=>{if(c(),s.value&&r){o=new ResizeObserver(t);for(let t of e)t&&o.observe(t,a)}},{immediate:!0,flush:`post`}),u=()=>{c(),l()};return z(u),{isSupported:s,stop:u}}function rr(e,t={}){let{reset:n=!0,windowResize:r=!0,windowScroll:a=!0,immediate:o=!0,updateTiming:s=`sync`}=t,c=m(0),l=m(0),u=m(0),d=m(0),f=m(0),p=m(0),h=m(0),g=m(0);function _(){let t=W(e);if(!t){n&&(c.value=0,l.value=0,u.value=0,d.value=0,f.value=0,p.value=0,h.value=0,g.value=0);return}let r=t.getBoundingClientRect();c.value=r.height,l.value=r.bottom,u.value=r.left,d.value=r.right,f.value=r.top,p.value=r.width,h.value=r.x,g.value=r.y}function v(){s===`sync`?_():s===`next-frame`&&requestAnimationFrame(()=>_())}return nr(e,v),i(()=>W(e),e=>!e&&v()),Mn(e,v,{attributeFilter:[`style`,`class`]}),a&&G(`scroll`,v,{capture:!0,passive:!0}),r&&G(`resize`,v,{passive:!0}),H(()=>{o&&v()}),{height:c,bottom:l,left:u,right:d,top:f,width:p,x:h,y:g,update:v}}function ir(e,t={width:0,height:0},n={}){let{window:r=U,box:a=`content-box`}=n,o=_(()=>{var t;return(t=W(e))==null||(t=t.namespaceURI)==null?void 0:t.includes(`svg`)}),s=m(t.width),c=m(t.height),{stop:l}=nr(e,([t])=>{let n=a===`border-box`?t.borderBoxSize:a===`content-box`?t.contentBoxSize:t.devicePixelContentBoxSize;if(r&&o.value){let t=W(e);if(t){let e=t.getBoundingClientRect();s.value=e.width,c.value=e.height}}else if(n){let e=dn(n);s.value=e.reduce((e,{inlineSize:t})=>e+t,0),c.value=e.reduce((e,{blockSize:t})=>e+t,0)}else s.value=t.contentRect.width,c.value=t.contentRect.height},n);H(()=>{let n=W(e);n&&(s.value=`offsetWidth`in n?n.offsetWidth:t.width,c.value=`offsetHeight`in n?n.offsetHeight:t.height)});let u=i(()=>W(e),e=>{s.value=e?t.width:0,c.value=e?t.height:0});function d(){l(),u()}return{width:s,height:c,stop:d}}var ar=[`fullscreenchange`,`webkitfullscreenchange`,`webkitendfullscreen`,`mozfullscreenchange`,`MSFullscreenChange`];function or(e,t={}){let{document:n=En,autoExit:r=!1}=t,i=_(()=>W(e)??n?.documentElement),a=m(!1),o=_(()=>[`requestFullscreen`,`webkitRequestFullscreen`,`webkitEnterFullscreen`,`webkitEnterFullScreen`,`webkitRequestFullScreen`,`mozRequestFullScreen`,`msRequestFullscreen`].find(e=>n&&e in n||i.value&&e in i.value)),s=_(()=>[`exitFullscreen`,`webkitExitFullscreen`,`webkitExitFullScreen`,`webkitCancelFullScreen`,`mozCancelFullScreen`,`msExitFullscreen`].find(e=>n&&e in n||i.value&&e in i.value)),c=_(()=>[`fullScreen`,`webkitIsFullScreen`,`webkitDisplayingFullscreen`,`mozFullScreen`,`msFullscreenElement`].find(e=>n&&e in n||i.value&&e in i.value)),l=[`fullscreenElement`,`webkitFullscreenElement`,`mozFullScreenElement`,`msFullscreenElement`].find(e=>n&&e in n),u=jn(()=>i.value&&n&&o.value!==void 0&&s.value!==void 0&&c.value!==void 0),d=()=>l?n?.[l]===i.value:!1,f=()=>{if(c.value){if(n&&n[c.value]!=null)return n[c.value];{let e=i.value;if(e?.[c.value]!=null)return!!e[c.value]}}return!1};async function p(){if(!(!u.value||!a.value)){if(s.value)if(n?.[s.value]!=null)await n[s.value]();else{let e=i.value;e?.[s.value]!=null&&await e[s.value]()}a.value=!1}}async function h(){if(!u.value||a.value)return;f()&&await p();let e=i.value;o.value&&e?.[o.value]!=null&&(await e[o.value](),a.value=!0)}async function g(){await(a.value?p():h())}let v=()=>{let e=f();(!e||e&&d())&&(a.value=e)},y={capture:!1,passive:!0};return G(n,ar,v,y),G(()=>W(i),ar,v,y),H(v,!1),r&&z(p),{isSupported:u,isFullscreen:a,enter:h,exit:p,toggle:g}}function sr(e,t,n={}){let{window:r=U}=n;return Zn(e,t,r?.localStorage,n)}var cr={ctrl:`control`,command:`meta`,cmd:`meta`,option:`alt`,up:`arrowup`,down:`arrowdown`,left:`arrowleft`,right:`arrowright`};function lr(e={}){let{reactive:t=!1,target:n=U,aliasMap:r=cr,passive:i=!0,onEventFired:a=V}=e,o=w(new Set),s={toJSON(){return{}},current:o},c=t?w(s):s,l=new Set,u=new Map([[`Meta`,l],[`Shift`,new Set],[`Alt`,new Set]]),d=new Set;function f(e,n){e in c&&(t?c[e]=n:c[e].value=n)}function p(){o.clear();for(let e of d)f(e,!1)}function h(e,t,n){if(!(!e||typeof t.getModifierState!=`function`)){for(let[e,r]of u)if(t.getModifierState(e)){n.forEach(e=>r.add(e));break}}}function g(e,t){if(e)return;let n=`${t[0].toUpperCase()}${t.slice(1)}`,r=u.get(n);if(![`shift`,`alt`].includes(t)||!r)return;let i=Array.from(r),a=i.indexOf(t);i.forEach((e,t)=>{t>=a&&(o.delete(e),f(e,!1))}),r.clear()}function v(e,t){let n=e.key?.toLowerCase(),r=[e.code?.toLowerCase(),n].filter(Boolean);if(n){n&&(t?o.add(n):o.delete(n));for(let e of r)d.add(e),f(e,t);h(t,e,[...o,...r]),g(t,n),n===`meta`&&!t&&(l.forEach(e=>{o.delete(e),f(e,!1)}),l.clear())}}G(n,`keydown`,e=>(v(e,!0),a(e)),{passive:i}),G(n,`keyup`,e=>(v(e,!1),a(e)),{passive:i}),G(`blur`,p,{passive:i}),G(`focus`,p,{passive:i});let b=new Proxy(c,{get(e,n,i){if(typeof n!=`string`)return Reflect.get(e,n,i);if(n=n.toLowerCase(),n in r&&(n=r[n]),!(n in c))if(/[+_-]/.test(n)){let e=n.split(/[+_-]/g).map(e=>e.trim());c[n]=_(()=>e.map(e=>y(b[e])).every(Boolean))}else c[n]=m(!1);let a=Reflect.get(e,n,i);return t?y(a):a}});return b}var ur={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function dr(e={}){let{type:t=`page`,touch:n=!0,resetOnTouchEnds:r=!1,initialValue:i={x:0,y:0},window:a=U,target:o=a,scroll:s=!0,eventFilter:c}=e,l=null,u=0,d=0,f=m(i.x),p=m(i.y),h=m(null),g=typeof t==`function`?t:ur[t],_=e=>{let t=g(e);l=e,t&&([f.value,p.value]=t,h.value=`mouse`),a&&(u=a.scrollX,d=a.scrollY)},v=e=>{if(e.touches.length>0){let t=g(e.touches[0]);t&&([f.value,p.value]=t,h.value=`touch`)}},y=()=>{if(!l||!a)return;let e=g(l);l instanceof MouseEvent&&e&&(f.value=e[0]+a.scrollX-u,p.value=e[1]+a.scrollY-d)},b=()=>{f.value=i.x,p.value=i.y},x=c?e=>c(()=>_(e),{}):e=>_(e),S=c?e=>c(()=>v(e),{}):e=>v(e),C=c?()=>c(()=>y(),{}):()=>y();if(o){let e={passive:!0};G(o,[`mousemove`,`dragover`],x,e),n&&t!==`movement`&&(G(o,[`touchstart`,`touchmove`],S,e),r&&G(o,`touchend`,b,e)),s&&t===`page`&&G(a,`scroll`,C,e)}return{x:f,y:p,sourceType:h}}function fr(e,t={}){let n=nn(e),{threshold:r=50,onSwipe:i,onSwipeEnd:a,onSwipeStart:o,disableTextSelect:s=!1}=t,c=w({x:0,y:0}),l=(e,t)=>{c.x=e,c.y=t},u=w({x:0,y:0}),d=(e,t)=>{u.x=e,u.y=t},f=_(()=>c.x-u.x),p=_(()=>c.y-u.y),{max:h,abs:g}=Math,v=_(()=>h(g(f.value),g(p.value))>=r),y=m(!1),b=m(!1),x=_(()=>v.value?g(f.value)>g(p.value)?f.value>0?`left`:`right`:p.value>0?`up`:`down`:`none`),S=e=>{let n=e.buttons===0,r=e.buttons===1;return t.pointerTypes?.includes(e.pointerType)??(n||r)??!0},C={passive:!0},T=[G(e,`pointerdown`,e=>{if(!S(e))return;b.value=!0,e.target?.setPointerCapture(e.pointerId);let{clientX:t,clientY:n}=e;l(t,n),d(t,n),o?.(e)},C),G(e,`pointermove`,e=>{if(!S(e)||!b.value)return;let{clientX:t,clientY:n}=e;d(t,n),!y.value&&v.value&&(y.value=!0),y.value&&i?.(e)},C),G(e,`pointerup`,e=>{S(e)&&(y.value&&a?.(e,x.value),b.value=!1,y.value=!1)},C)];return H(()=>{var e;if((e=n.value)==null||(e=e.style)==null||e.setProperty(`touch-action`,`pan-y`),s){var t,r,i;(t=n.value)==null||(t=t.style)==null||t.setProperty(`-webkit-user-select`,`none`),(r=n.value)==null||(r=r.style)==null||r.setProperty(`-ms-user-select`,`none`),(i=n.value)==null||(i=i.style)==null||i.setProperty(`user-select`,`none`)}}),{isSwiping:k(y),direction:k(x),posStart:D(c),posEnd:D(u),distanceX:f,distanceY:p,stop:()=>T.forEach(e=>e())}}var pr=0;function mr(e,t={}){let n=m(!1),{document:r=En,immediate:a=!0,manual:o=!1,id:s=`vueuse_styletag_${++pr}`}=t,c=m(e),l=()=>{},u=()=>{if(!r)return;let e=r.getElementById(s)||r.createElement(`style`);e.isConnected||(e.id=s,t.nonce&&(e.nonce=t.nonce),t.media&&(e.media=t.media),r.head.appendChild(e)),!n.value&&(l=i(c,t=>{e.textContent=t},{immediate:!0}),n.value=!0)},d=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(s)),n.value=!1)};return a&&!o&&H(u),o||z(d),{id:s,css:c,unload:d,load:u,isLoaded:k(n)}}function hr(e,t,n,a={}){var o,c;let{clone:l=!1,passive:u=!1,eventName:d,deep:f=!1,defaultValue:m,shouldEmit:h}=a,g=r(),v=n||g?.emit||(g==null||(o=g.$emit)==null?void 0:o.bind(g))||(g==null||(c=g.proxy)==null||(c=c.$emit)==null?void 0:c.bind(g?.proxy)),y=d;t||=`modelValue`,y||=`update:${t.toString()}`;let b=e=>l?typeof l==`function`?l(e):Vn(e):e,x=()=>Yt(e[t])?b(e[t]):m,S=e=>{h?h(e)&&v(y,e):v(y,e)};if(u){let n=p(x()),r=!1;return i(()=>e[t],e=>{r||(r=!0,n.value=b(e),s(()=>r=!1))}),i(n,n=>{!r&&(n!==e[t]||f)&&S(n)},{deep:f}),n}else return _({get(){return x()},set(e){S(e)}})}function gr(e={}){let{navigator:t=Dn,document:n=En}=e,r=m(!1),i=m(null),a=Qn({document:n}),o=jn(()=>t&&`wakeLock`in t),s=_(()=>!!i.value&&a.value===`visible`);o.value&&(G(i,`release`,()=>{r.value=i.value?.type??!1},{passive:!0}),Tn(()=>a.value===`visible`&&n?.visibilityState===`visible`&&r.value,e=>{r.value=!1,c(e)}));async function c(e){await i.value?.release(),i.value=o.value?await t.wakeLock.request(e):null}async function l(e){a.value===`visible`?await c(e):r.value=e}async function u(){r.value=!1;let e=i.value;i.value=null,await e?.release()}return z(()=>{u()}),{sentinel:i,isSupported:o,isActive:s,request:l,forceRequest:c,release:u}}function _r(e={}){let{window:t=U}=e;if(!t)return m(!1);let n=m(t.document.hasFocus()),r={passive:!0};return G(t,`blur`,()=>{n.value=!1},r),G(t,`focus`,()=>{n.value=!0},r),n}function vr(e={}){let{window:t=U,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:a=!0,includeScrollbar:o=!0,type:s=`inner`}=e,c=m(n),l=m(r),u=()=>{if(t)if(s===`outer`)c.value=t.outerWidth,l.value=t.outerHeight;else if(s===`visual`&&t.visualViewport){let{width:e,height:n,scale:r}=t.visualViewport;c.value=Math.round(e*r),l.value=Math.round(n*r)}else o?(c.value=t.innerWidth,l.value=t.innerHeight):(c.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight)};u(),H(u);let d={passive:!0};return G(`resize`,u,d),t&&s===`visual`&&t.visualViewport&&G(t.visualViewport,`resize`,u,d),a&&i(K(`(orientation: portrait)`),()=>u()),{width:c,height:l}}function yr(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function br(e,t,n=`.`,r){if(!yr(t))return br(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(Array.isArray(a)&&Array.isArray(i[t])?i[t]=[...a,...i[t]]:yr(a)&&yr(i[t])?i[t]=br(a,i[t],(n?`${n}.`:``)+t.toString(),r):i[t]=a))}return i}function xr(e){return(...t)=>t.reduce((t,n)=>br(t,n,``,e),{})}var Sr=xr();function Cr(e){return O()?(f(e),!0):!1}var wr=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var Tr=e=>e!=null,Er=Object.prototype.toString,Dr=e=>Er.call(e)===`[object Object]`,Or=()=>{};function kr(e){return Array.isArray(e)?e:[e]}function Ar(e){return e||r()}function jr(e,t){Ar(t)&&l(e,t)}function Mr(e,t,n){return i(e,t,{...n,immediate:!0})}var Nr=wr?window:void 0;wr&&window.document,wr&&window.navigator,wr&&window.location;function Pr(e){let t=y(e);return t?.$el??t}function q(...e){let t=[],n=()=>{t.forEach(e=>e()),t.length=0},r=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),i=_(()=>{let t=kr(y(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0}),a=Mr(()=>[i.value?.map(e=>Pr(e))??[Nr].filter(e=>e!=null),kr(y(i.value?e[1]:e[0])),kr(v(i.value?e[2]:e[1])),y(i.value?e[3]:e[2])],([e,i,a,o])=>{if(n(),!e?.length||!i?.length||!a?.length)return;let s=Dr(o)?{...o}:o;t.push(...e.flatMap(e=>i.flatMap(t=>a.map(n=>r(e,t,n,s)))))},{flush:`post`});return Cr(n),()=>{a(),n()}}function Fr(){let e=m(!1),t=r();return t&&o(()=>{e.value=!0},t),e}function Ir(e){let t=Fr();return _(()=>(t.value,!!e()))}function Lr(e,t,n={}){let{root:r,rootMargin:a=`0px`,threshold:o=0,window:s=Nr,immediate:c=!0}=n,l=Ir(()=>s&&`IntersectionObserver`in s),u=_(()=>kr(y(e)).map(Pr).filter(Tr)),d=Or,f=m(c),p=l.value?i(()=>[u.value,Pr(r),f.value],([e,n])=>{if(d(),!f.value||!e.length)return;let r=new IntersectionObserver(t,{root:Pr(n),rootMargin:a,threshold:o});e.forEach(e=>e&&r.observe(e)),d=()=>{r.disconnect(),d=Or}},{immediate:c,flush:`post`}):Or,h=()=>{d(),p(),f.value=!1};return Cr(h),{isSupported:l,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:h}}var Rr=1/60*1e3,zr=typeof performance<`u`?()=>performance.now():()=>Date.now(),Br=typeof window<`u`?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(zr()),Rr);function Vr(e){let t=[],n=[],r=0,i=!1,a=!1,o=new WeakSet,s={schedule:(e,a=!1,s=!1)=>{let c=s&&i,l=c?t:n;return a&&o.add(e),l.indexOf(e)===-1&&(l.push(e),c&&i&&(r=t.length)),e},cancel:e=>{let t=n.indexOf(e);t!==-1&&n.splice(t,1),o.delete(e)},process:c=>{if(i){a=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){let r=t[n];r(c),o.has(r)&&(s.schedule(r),e())}i=!1,a&&(a=!1,s.process(c))}};return s}var Hr=40,Ur=!0,Wr=!1,Gr=!1,Kr={delta:0,timestamp:0},qr=[`read`,`update`,`preRender`,`render`,`postRender`],Jr=qr.reduce((e,t)=>(e[t]=Vr(()=>Wr=!0),e),{}),Yr=qr.reduce((e,t)=>{let n=Jr[t];return e[t]=(e,t=!1,r=!1)=>(Wr||$r(),n.schedule(e,t,r)),e},{}),Xr=qr.reduce((e,t)=>(e[t]=Jr[t].cancel,e),{});qr.reduce((e,t)=>(e[t]=()=>Jr[t].process(Kr),e),{});var Zr=e=>Jr[e].process(Kr),Qr=e=>{Wr=!1,Kr.delta=Ur?Rr:Math.max(Math.min(e-Kr.timestamp,Hr),1),Kr.timestamp=e,Gr=!0,qr.forEach(Zr),Gr=!1,Wr&&(Ur=!1,Br(Qr))},$r=()=>{Wr=!0,Ur=!0,Gr||Br(Qr)},ei=()=>Kr;function ti(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var ni=(e,t,n)=>Math.min(Math.max(n,e),t),ri=.001,ii=.01,ai=.05;function oi({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,a,o=1-t;o=ni(ai,1,o),e=ni(ii,10,e/1e3),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=li(t,o),c=Math.exp(-i);return ri-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=li(t**2,o);return(-i(t)+ri>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=ci(i,a,s);if(e*=1e3,isNaN(c))return{stiffness:100,damping:10,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var si=12;function ci(e,t,n){let r=n;for(let n=1;n<si;n++)r-=e(r)/t(r);return r}function li(e,t){return e*Math.sqrt(1-t*t)}var ui=[`duration`,`bounce`],di=[`stiffness`,`damping`,`mass`];function fi(e,t){return t.some(t=>e[t]!==void 0)}function pi(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!fi(e,di)&&fi(e,ui)){let n=oi(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function mi(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,a=ti(e,[`from`,`to`,`restSpeed`,`restDelta`]);let o={done:!1,value:t},{stiffness:s,damping:c,mass:l,velocity:u,duration:d,isResolvedFromDuration:f}=pi(a),p=hi,m=hi;function h(){let e=u?-(u/1e3):0,r=n-t,a=c/(2*Math.sqrt(s*l)),o=Math.sqrt(s/l)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),a<1){let t=li(o,a);p=i=>{let s=Math.exp(-a*o*i);return n-s*((e+a*o*r)/t*Math.sin(t*i)+r*Math.cos(t*i))},m=n=>{let i=Math.exp(-a*o*n);return a*o*i*(Math.sin(t*n)*(e+a*o*r)/t+r*Math.cos(t*n))-i*(Math.cos(t*n)*(e+a*o*r)-t*r*Math.sin(t*n))}}else if(a===1)p=t=>n-Math.exp(-o*t)*(r+(e+o*r)*t);else{let t=o*Math.sqrt(a*a-1);p=i=>{let s=Math.exp(-a*o*i),c=Math.min(t*i,300);return n-s*((e+a*o*r)*Math.sinh(c)+t*r*Math.cosh(c))/t}}}return h(),{next:e=>{let t=p(e);if(f)o.done=e>=d;else{let a=m(e)*1e3,s=Math.abs(a)<=r,c=Math.abs(n-t)<=i;o.done=s&&c}return o.value=o.done?n:t,o},flipTarget:()=>{u=-u,[t,n]=[n,t],h()}}}mi.needsInterpolation=(e,t)=>typeof e==`string`||typeof t==`string`;var hi=e=>0,gi=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},_i=(e,t,n)=>-n*e+n*t+e,vi=(e,t)=>n=>Math.max(Math.min(n,t),e),yi=e=>e%1?Number(e.toFixed(5)):e,bi=/(-)?([\d]*\.?[\d])+/g,xi=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Si=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Ci(e){return typeof e==`string`}var wi={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Ti=Object.assign(Object.assign({},wi),{transform:vi(0,1)}),Ei=Object.assign(Object.assign({},wi),{default:1}),Di=e=>({test:t=>Ci(t)&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),J=Di(`deg`),Oi=Di(`%`),Y=Di(`px`),ki=Object.assign(Object.assign({},Oi),{parse:e=>Oi.parse(e)/100,transform:e=>Oi.transform(e*100)}),Ai=(e,t)=>n=>!!(Ci(n)&&Si.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),ji=(e,t,n)=>r=>{if(!Ci(r))return r;let[i,a,o,s]=r.match(bi);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},X={test:Ai(`hsl`,`hue`),parse:ji(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+Oi.transform(yi(t))+`, `+Oi.transform(yi(n))+`, `+yi(Ti.transform(r))+`)`},Mi=vi(0,255),Ni=Object.assign(Object.assign({},wi),{transform:e=>Math.round(Mi(e))}),Z={test:Ai(`rgb`,`red`),parse:ji(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Ni.transform(e)+`, `+Ni.transform(t)+`, `+Ni.transform(n)+`, `+yi(Ti.transform(r))+`)`};function Pi(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var Fi={test:Ai(`#`),parse:Pi,transform:Z.transform},Q={test:e=>Z.test(e)||Fi.test(e)||X.test(e),parse:e=>Z.test(e)?Z.parse(e):X.test(e)?X.parse(e):Fi.parse(e),transform:e=>Ci(e)?e:e.hasOwnProperty(`red`)?Z.transform(e):X.transform(e)},Ii="${c}",Li="${n}";function Ri(e){return isNaN(e)&&Ci(e)&&(e.match(bi)?.length??0)+(e.match(xi)?.length??0)>0}function zi(e){typeof e==`number`&&(e=`${e}`);let t=[],n=0,r=e.match(xi);r&&(n=r.length,e=e.replace(xi,Ii),t.push(...r.map(Q.parse)));let i=e.match(bi);return i&&(e=e.replace(bi,Li),t.push(...i.map(wi.parse))),{values:t,numColors:n,tokenised:e}}function Bi(e){return zi(e).values}function Vi(e){let{values:t,numColors:n,tokenised:r}=zi(e),i=t.length;return e=>{let t=r;for(let r=0;r<i;r++)t=t.replace(r<n?Ii:Li,r<n?Q.transform(e[r]):yi(e[r]));return t}}var Hi=e=>typeof e==`number`?0:e;function Ui(e){let t=Bi(e);return Vi(e)(t.map(Hi))}var Wi={test:Ri,parse:Bi,createTransformer:Vi,getAnimatableNone:Ui},Gi=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function Ki(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(bi)||[];if(!r)return e;let i=n.replace(r,``),a=+!!Gi.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var qi=/([a-z-]*)\(.*?\)/g,Ji=Object.assign(Object.assign({},Wi),{getAnimatableNone:e=>{let t=e.match(qi);return t?t.map(Ki).join(` `):e}});function Yi(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Xi({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=Yi(s,r,e+1/3),a=Yi(s,r,e),o=Yi(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}var Zi=(e,t,n)=>{let r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},Qi=[Fi,Z,X],$i=e=>Qi.find(t=>t.test(e)),ea=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,ta=(e,t)=>{let n=$i(e),r=$i(t);ea(e),ea(t);let i=n.parse(e),a=r.parse(t);n===X&&(i=Xi(i),n=Z),r===X&&(a=Xi(a),r=Z);let o=Object.assign({},i);return e=>{for(let t in o)t!==`alpha`&&(o[t]=Zi(i[t],a[t],e));return o.alpha=_i(i.alpha,a.alpha,e),n.transform(o)}},na=e=>typeof e==`number`,ra=(e,t)=>n=>t(e(n)),ia=(...e)=>e.reduce(ra);function aa(e,t){return na(e)?n=>_i(e,t,n):Q.test(e)?ta(e,t):la(e,t)}var oa=(e,t)=>{let n=[...e],r=n.length,i=e.map((e,n)=>aa(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},sa=(e,t)=>{let n=Object.assign(Object.assign({},e),t),r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=aa(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}};function ca(e){let t=Wi.parse(e),n=t.length,r=0,i=0,a=0;for(let e=0;e<n;e++)r||typeof t[e]==`number`?r++:t[e].hue===void 0?i++:a++;return{parsed:t,numNumbers:r,numRGB:i,numHSL:a}}var la=(e,t)=>{let n=Wi.createTransformer(t),r=ca(e),i=ca(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?ia(oa(r.parsed,i.parsed),n):(`${e}${t}`,n=>`${n>0?t:e}`)},ua=(e,t)=>n=>_i(e,t,n);function da(e){if(typeof e==`number`)return ua;if(typeof e==`string`)return Q.test(e)?ta:la;if(Array.isArray(e))return oa;if(typeof e==`object`)return sa}function fa(e,t,n){let r=[],i=n||da(e[0]),a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=ia(Array.isArray(t)?t[n]:t,a)),r.push(a)}return r}function pa([e,t],[n]){return r=>n(gi(e,t,r))}function ma(e,t){let n=e.length,r=n-1;return i=>{let a=0,o=!1;if(i<=e[0]?o=!0:i>=e[r]&&(a=r-1,o=!0),!o){let t=1;for(;t<n&&!(e[t]>i||t===r);t++);a=t-1}let s=gi(e[a],e[a+1],i);return t[a](s)}}function ha(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;t.length,!r||!Array.isArray(r)||(r.length,a-1),e[0]>e[a-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());let o=fa(t,r,i),s=a===2?pa(e,o):ma(e,o);return n?t=>s(ni(e[0],e[a-1],t)):s}var ga=e=>t=>1-e(1-t),_a=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,va=e=>t=>t**+e,ya=e=>t=>t*t*((e+1)*t-e),ba=e=>{let t=ya(e);return e=>(e*=2)<1?.5*t(e):.5*(2-2**(-10*(e-1)))},xa=1.525,Sa=4/11,Ca=8/11,wa=9/10,Ta=e=>e,Ea=va(2),Da=ga(Ea),Oa=_a(Ea),ka=e=>1-Math.sin(Math.acos(e)),Aa=ga(ka),ja=_a(Aa),Ma=ya(xa),Na=ga(Ma),Pa=_a(Ma),Fa=ba(xa),Ia=4356/361,La=35442/1805,Ra=16061/1805,za=e=>{if(e===1||e===0)return e;let t=e*e;return e<Sa?7.5625*t:e<Ca?9.075*t-9.9*e+3.4:e<wa?Ia*t-La*e+Ra:10.8*e*e-20.52*e+10.72},Ba=ga(za),Va=e=>e<.5?.5*(1-za(1-e*2)):.5*za(e*2-1)+.5;function Ha(e,t){return e.map(()=>t||Oa).splice(0,e.length-1)}function Ua(e){let t=e.length;return e.map((e,n)=>n===0?0:n/(t-1))}function Wa(e,t){return e.map(e=>e*t)}function Ga({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){let a={done:!1,value:e},o=Array.isArray(t)?t:[e,t],s=Wa(r&&r.length===o.length?r:Ua(o),i);function c(){return ha(s,o,{ease:Array.isArray(n)?n:Ha(o,n)})}let l=c();return{next:e=>(a.value=l(e),a.done=e>=i,a),flipTarget:()=>{o.reverse(),l=c()}}}function Ka({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:a}){let o={done:!1,value:t},s=n*e,c=t+s,l=a===void 0?c:a(c);return l!==c&&(s=l-t),{next:e=>{let t=-s*Math.exp(-e/r);return o.done=!(t>i||t<-i),o.value=o.done?l:l+t,o},flipTarget:()=>{}}}var qa={keyframes:Ga,spring:mi,decay:Ka};function Ja(e){if(Array.isArray(e.to))return Ga;if(qa[e.type])return qa[e.type];let t=new Set(Object.keys(e));return t.has(`ease`)||t.has(`duration`)&&!t.has(`dampingRatio`)?Ga:t.has(`dampingRatio`)||t.has(`stiffness`)||t.has(`mass`)||t.has(`damping`)||t.has(`restSpeed`)||t.has(`restDelta`)?mi:Ga}function Ya(e,t,n=0){return e-t-n}function Xa(e,t,n=0,r=!0){return r?Ya(t+-e,t,n):t-(e-t)+n}function Za(e,t,n,r){return r?e>=t+n:e<=-n}var Qa=e=>{let t=({delta:t})=>e(t);return{start:()=>Yr.update(t,!0),stop:()=>Xr.update(t)}};function $a(e){var t,{from:n,autoplay:r=!0,driver:i=Qa,elapsed:a=0,repeat:o=0,repeatType:s=`loop`,repeatDelay:c=0,onPlay:l,onStop:u,onComplete:d,onRepeat:f,onUpdate:p}=e,m=ti(e,[`from`,`autoplay`,`driver`,`elapsed`,`repeat`,`repeatType`,`repeatDelay`,`onPlay`,`onStop`,`onComplete`,`onRepeat`,`onUpdate`]);let{to:h}=m,g,_=0,v=m.duration,y,b=!1,x=!0,S,C=Ja(m);(t=C).needsInterpolation?.call(t,n,h)&&(S=ha([0,100],[n,h],{clamp:!1}),n=0,h=100);let w=C(Object.assign(Object.assign({},m),{from:n,to:h}));function T(){_++,s===`reverse`?(x=_%2==0,a=Xa(a,v,c,x)):(a=Ya(a,v,c),s===`mirror`&&w.flipTarget()),b=!1,f&&f()}function E(){g.stop(),d&&d()}function D(e){if(x||(e=-e),a+=e,!b){let e=w.next(Math.max(0,a));y=e.value,S&&(y=S(y)),b=x?e.done:a<=0}p?.(y),b&&(_===0&&(v??=a),_<o?Za(a,v,c,x)&&T():E())}function O(){l?.(),g=i(D),g.start()}return r&&O(),{stop:()=>{u?.(),g.stop()}}}function eo(e,t){return t?1e3/t*e:0}function to({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:a=750,bounceStiffness:o=500,bounceDamping:s=10,restDelta:c=1,modifyTarget:l,driver:u,onUpdate:d,onComplete:f,onStop:p}){let m;function h(e){return n!==void 0&&e<n||r!==void 0&&e>r}function g(e){return n===void 0?r:r===void 0||Math.abs(n-e)<Math.abs(r-e)?n:r}function _(e){m?.stop(),m=$a(Object.assign(Object.assign({},e),{driver:u,onUpdate:t=>{var n;d?.(t),(n=e.onUpdate)==null||n.call(e,t)},onComplete:f,onStop:p}))}function v(e){_(Object.assign({type:`spring`,stiffness:o,damping:s,restDelta:c},e))}if(h(e))v({from:e,velocity:t,to:g(e)});else{let r=i*t+e;l!==void 0&&(r=l(r));let o=g(r),s=o===n?-1:1,u,d;_({type:`decay`,from:e,velocity:t,timeConstant:a,power:i,restDelta:c,modifyTarget:l,onUpdate:h(r)?e=>{u=d,d=e,t=eo(e-u,ei().delta),(s===1&&e>o||s===-1&&e<o)&&v({from:e,to:o,velocity:t})}:void 0})}return{stop:()=>m?.stop()}}var no=(e,t)=>1-3*t+3*e,ro=(e,t)=>3*t-6*e,io=e=>3*e,ao=(e,t,n)=>((no(t,n)*e+ro(t,n))*e+io(t))*e,oo=(e,t,n)=>3*no(t,n)*e*e+2*ro(t,n)*e+io(t),so=1e-7,co=10;function lo(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=ao(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>so&&++s<co);return o}var uo=8,fo=.001;function po(e,t,n,r){for(let i=0;i<uo;++i){let i=oo(t,n,r);if(i===0)return t;let a=ao(t,n,r)-e;t-=a/i}return t}var mo=11,ho=1/(mo-1);function go(e,t,n,r){if(e===t&&n===r)return Ta;let i=new Float32Array(mo);for(let t=0;t<mo;++t)i[t]=ao(t*ho,e,n);function a(t){let r=0,a=1,o=mo-1;for(;a!==o&&i[a]<=t;++a)r+=ho;--a;let s=(t-i[a])/(i[a+1]-i[a]),c=r+s*ho,l=oo(c,e,n);return l>=fo?po(t,c,e,n):l===0?c:lo(t,r,r+ho,e,n)}return e=>e===0||e===1?e:ao(a(e),t,r)}var _o={},vo=class{subscriptions=new Set;add(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}notify(e,t,n){if(this.subscriptions.size)for(let r of this.subscriptions)r(e,t,n)}clear(){this.subscriptions.clear()}};function yo(e){return!Number.isNaN(Number.parseFloat(e))}var bo=class{current;prev;timeDelta=0;lastUpdated=0;updateSubscribers=new vo;stopAnimation;canTrackVelocity=!1;constructor(e){this.prev=this.current=e,this.canTrackVelocity=yo(this.current)}onChange(e){return this.updateSubscribers.add(e)}clearListeners(){this.updateSubscribers.clear()}set(e){this.updateAndNotify(e)}updateAndNotify=e=>{this.prev=this.current,this.current=e;let{delta:t,timestamp:n}=ei();this.lastUpdated!==n&&(this.timeDelta=t,this.lastUpdated=n),Yr.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)};get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?eo(Number.parseFloat(this.current)-Number.parseFloat(this.prev),this.timeDelta):0}scheduleVelocityCheck=()=>Yr.postRender(this.velocityCheck);velocityCheck=({timestamp:e})=>{this.canTrackVelocity||=yo(this.current),e!==this.lastUpdated&&(this.prev=this.current)};start(e){return this.stop(),new Promise(t=>{let{stop:n}=e(t);this.stopAnimation=n}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}};function xo(e){return new bo(e)}var{isArray:So}=Array;function Co(){let e=p({}),t=t=>{let n=t=>{e.value[t]&&(e.value[t].stop(),e.value[t].destroy(),delete e.value[t])};t?So(t)?t.forEach(n):n(t):Object.keys(e.value).forEach(n)};return jr(t),{motionValues:e,get:(t,n,r)=>{if(e.value[t])return e.value[t];let i=xo(n);return i.onChange(e=>r[t]=e),e.value[t]=i,i},stop:t}}function wo(e){return Array.isArray(e)}function $(){return{type:`spring`,stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function To(e){return{type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function Eo(e){return{type:`spring`,stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function Do(){return{type:`keyframes`,ease:`linear`,duration:300}}function Oo(e){return{type:`keyframes`,duration:800,values:e}}var ko={default:Eo,x:$,y:$,z:$,rotate:$,rotateX:$,rotateY:$,rotateZ:$,scaleX:To,scaleY:To,scale:To,backgroundColor:Do,color:Do,opacity:Do};function Ao(e,t){let n;return n=wo(t)?Oo:ko[e]||ko.default,{to:t,...n(t)}}var jo={...wi,transform:Math.round},Mo={color:Q,backgroundColor:Q,outlineColor:Q,fill:Q,stroke:Q,borderColor:Q,borderTopColor:Q,borderRightColor:Q,borderBottomColor:Q,borderLeftColor:Q,borderWidth:Y,borderTopWidth:Y,borderRightWidth:Y,borderBottomWidth:Y,borderLeftWidth:Y,borderRadius:Y,radius:Y,borderTopLeftRadius:Y,borderTopRightRadius:Y,borderBottomRightRadius:Y,borderBottomLeftRadius:Y,width:Y,maxWidth:Y,height:Y,maxHeight:Y,size:Y,top:Y,right:Y,bottom:Y,left:Y,padding:Y,paddingTop:Y,paddingRight:Y,paddingBottom:Y,paddingLeft:Y,margin:Y,marginTop:Y,marginRight:Y,marginBottom:Y,marginLeft:Y,rotate:J,rotateX:J,rotateY:J,rotateZ:J,scale:Ei,scaleX:Ei,scaleY:Ei,scaleZ:Ei,skew:J,skewX:J,skewY:J,distance:Y,translateX:Y,translateY:Y,translateZ:Y,x:Y,y:Y,z:Y,perspective:Y,transformPerspective:Y,opacity:Ti,originX:ki,originY:ki,originZ:Y,zIndex:jo,filter:Ji,WebkitFilter:Ji,fillOpacity:Ti,strokeOpacity:Ti,numOctaves:jo},No=e=>Mo[e];function Po(e,t){return t&&typeof e==`number`&&t.transform?t.transform(e):e}function Fo(e,t){let n=No(e);return n!==Ji&&(n=Wi),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Io={linear:Ta,easeIn:Ea,easeInOut:Oa,easeOut:Da,circIn:ka,circInOut:ja,circOut:Aa,backIn:Ma,backInOut:Pa,backOut:Na,anticipate:Fa,bounceIn:Ba,bounceInOut:Va,bounceOut:za};function Lo(e){if(Array.isArray(e)){let[t,n,r,i]=e;return go(t,n,r,i)}else if(typeof e==`string`)return Io[e];return e}function Ro(e){return Array.isArray(e)&&typeof e[0]!=`number`}function zo(e,t){return e===`zIndex`?!1:!!(typeof t==`number`||Array.isArray(t)||typeof t==`string`&&Wi.test(t)&&!t.startsWith(`url(`))}function Bo(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function Vo({ease:e,times:t,delay:n,...r}){let i={...r};return t&&(i.offset=t),e&&(i.ease=Ro(e)?e.map(Lo):Lo(e)),n&&(i.elapsed=-n),i}function Ho(e,t,n){return Array.isArray(t.to)&&(e.duration||=800),Bo(t),Uo(e)||(e={...e,...Ao(n,t.to)}),{...t,...Vo(e)}}function Uo({delay:e,repeat:t,repeatType:n,repeatDelay:r,from:i,...a}){return!!Object.keys(a).length}function Wo(e,t){return e[t]||e.default||e}function Go(e,t,n,r,i){let a=Wo(r,e),o=a.from===null||a.from===void 0?t.get():a.from,s=zo(e,n);o===`none`&&s&&typeof n==`string`&&(o=Fo(e,n));let c=zo(e,o);function l(s){let c={from:o,to:n,velocity:r.velocity?r.velocity:t.getVelocity(),onUpdate:e=>t.set(e)};return a.type===`inertia`||a.type===`decay`?to({...c,...a}):$a({...Ho(a,c,e),onUpdate:e=>{c.onUpdate(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{i&&i(),s&&s()}})}function u(e){return t.set(n),i&&i(),e&&e(),{stop:()=>{}}}return!c||!s||a.type===!1?u:l}function Ko(){let{motionValues:e,stop:t,get:n}=Co();return{motionValues:e,stop:t,push:(e,t,r,i={},a)=>{let o=r[e],s=n(e,o,r);if(i&&i.immediate){s.set(t);return}let c=Go(e,s,t,i,a);s.start(c)}}}function qo(e,t={},{motionValues:n,push:r,stop:a}=Ko()){let o=v(t),s=p(!1);i(n,e=>{s.value=Object.values(e).filter(e=>e.isAnimating()).length>0},{immediate:!0,deep:!0});let c=e=>{if(!o||!o[e])throw Error(`The variant ${e} does not exist.`);return o[e]},l=t=>{typeof t==`string`&&(t=c(t));let n=Object.entries(t).map(([n,i])=>{if(n!==`transition`)return new Promise(a=>r(n,i,e,t.transition||Ao(n,t[n]),a))}).filter(Boolean);async function i(){await Promise.all(n),t.transition?.onComplete?.()}return Promise.all([i()])};return{isAnimating:s,apply:l,set:t=>{let n=Dr(t)?t:c(t);Object.entries(n).forEach(([t,n])=>{t!==`transition`&&r(t,n,e,{immediate:!0})})},leave:async e=>{let t;if(o&&(o.leave&&(t=o.leave),!o.leave&&o.initial&&(t=o.initial)),!t){e();return}await l(t),e()},stop:a}}var Jo=typeof window<`u`,Yo=()=>Jo&&(window.onpointerdown===null||void 0),Xo=()=>Jo&&(window.ontouchstart===null||void 0),Zo=()=>Jo&&(window.onmousedown===null||void 0);function Qo({target:e,state:t,variants:n,apply:r}){let a=v(n),o=p(!1),s=p(!1),c=p(!1),l=_(()=>{let e=[...Object.keys(t.value||{})];return a?(a.hovered&&(e=[...e,...Object.keys(a.hovered)]),a.tapped&&(e=[...e,...Object.keys(a.tapped)]),a.focused&&(e=[...e,...Object.keys(a.focused)]),e):e}),u=_(()=>{let e={};Object.assign(e,t.value),o.value&&a.hovered&&Object.assign(e,a.hovered),s.value&&a.tapped&&Object.assign(e,a.tapped),c.value&&a.focused&&Object.assign(e,a.focused);for(let t in e)l.value.includes(t)||delete e[t];return e});a.hovered&&(q(e,`mouseenter`,()=>o.value=!0),q(e,`mouseleave`,()=>{o.value=!1,s.value=!1})),a.tapped&&(Zo()&&(q(e,`mousedown`,()=>s.value=!0),q(e,`mouseup`,()=>s.value=!1)),Yo()&&(q(e,`pointerdown`,()=>s.value=!0),q(e,`pointerup`,()=>s.value=!1)),Xo()&&(q(e,`touchstart`,()=>s.value=!0),q(e,`touchend`,()=>s.value=!1))),a.focused&&(q(e,`focus`,()=>c.value=!0),q(e,`blur`,()=>c.value=!1)),i([o,s,c],()=>{r(u.value)})}function $o({set:e,target:t,variants:n,variant:r}){let a=v(n);i(()=>t,()=>{a&&(a.initial&&(e(`initial`),r.value=`initial`),a.enter&&(r.value=`enter`))},{immediate:!0,flush:`pre`})}function es({state:e,apply:t}){i(e,e=>{e&&t(e)},{immediate:!0})}function ts({target:e,variants:t,variant:n}){let r=v(t);r&&(r.visible||r.visibleOnce)&&Lr(e,([{isIntersecting:e}])=>{r.visible?e?n.value=`visible`:n.value=`initial`:r.visibleOnce&&(e&&n.value!==`visibleOnce`?n.value=`visibleOnce`:n.value||=`initial`)})}function ns(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&$o(e),t.syncVariants&&es(e),t.visibilityHooks&&ts(e),t.eventListeners&&Qo(e)}function rs(e={}){let t=w({...e}),n=p({});return i(t,()=>{let e={};for(let[n,r]of Object.entries(t))e[n]=Po(r,No(n));n.value=e},{immediate:!0,deep:!0}),{state:t,style:n}}function is(e,t){i(()=>Pr(e),e=>{e&&t(e)},{immediate:!0})}var as={x:`translateX`,y:`translateY`,z:`translateZ`};function os(e={},t=!0){let n=w({...e}),r=p(``);return i(n,e=>{let n=``,i=!1;if(t&&(e.x||e.y||e.z)){let t=[e.x||0,e.y||0,e.z||0].map(e=>Po(e,Y)).join(`,`);n+=`translate3d(${t}) `,i=!0}for(let[r,i]of Object.entries(e)){if(t&&(r===`x`||r===`y`||r===`z`))continue;let e=Po(i,No(r));n+=`${as[r]||r}(${e}) `}t&&!i&&(n+=`translateZ(0px) `),r.value=n.trim()},{immediate:!0,deep:!0}),{state:n,transform:r}}var ss=[``,`X`,`Y`,`Z`],cs=[`perspective`,`translate`,`scale`,`rotate`,`skew`],ls=[`transformPerspective`,`x`,`y`,`z`];cs.forEach(e=>{ss.forEach(t=>{let n=e+t;ls.push(n)})});var us=new Set(ls);function ds(e){return us.has(e)}var fs=new Set([`originX`,`originY`,`originZ`]);function ps(e){return fs.has(e)}function ms(e){let t={},n={};return Object.entries(e).forEach(([e,r])=>{ds(e)||ps(e)?t[e]=r:n[e]=r}),{transform:t,style:n}}function hs(e){let{transform:t,style:n}=ms(e),{transform:r}=os(t),{style:i}=rs(n);return r.value&&(i.value.transform=r.value),i.value}function gs(e,t){let n,r,{state:a,style:o}=rs();return is(e,e=>{r=e;for(let t of Object.keys(Mo))e.style[t]===null||e.style[t]===``||ds(t)||ps(t)||(a[t]=e.style[t]);n&&Object.entries(n).forEach(([t,n])=>e.style[t]=n),t&&t(a)}),i(o,e=>{if(!r){n=e;return}for(let t in e)r.style[t]=e[t]},{immediate:!0}),{style:a}}function _s(e){let t=e.trim().split(/\) |\)/);if(t.length===1)return{};let n=e=>e.endsWith(`px`)||e.endsWith(`deg`)?Number.parseFloat(e):Number.isNaN(Number(e))?Number(e):e;return t.reduce((e,t)=>{if(!t)return e;let[r,i]=t.split(`(`),a=i.split(`,`).map(e=>n(e.endsWith(`)`)?e.replace(`)`,``):e.trim())),o=a.length===1?a[0]:a;return{...e,[r]:o}},{})}function vs(e,t){Object.entries(_s(t)).forEach(([t,n])=>{let r=[`x`,`y`,`z`];if(t===`translate3d`){if(n===0){r.forEach(t=>e[t]=0);return}n.forEach((t,n)=>e[r[n]]=t);return}if(n=Number.parseFloat(`${n}`),t===`translateX`){e.x=n;return}if(t===`translateY`){e.y=n;return}if(t===`translateZ`){e.z=n;return}e[t]=n})}function ys(e,t){let n,r,{state:a,transform:o}=os();return is(e,e=>{r=e,e.style.transform&&vs(a,e.style.transform),n&&(e.style.transform=n),t&&t(a)}),i(o,e=>{if(!r){n=e;return}r.style.transform=e},{immediate:!0}),{transform:a}}function bs(e){return Object.entries(e)}function xs(e,t){let n=w({}),r=e=>Object.entries(e).forEach(([e,t])=>n[e]=t),{style:a}=gs(e,r),{transform:o}=ys(e,r);return i(n,e=>{bs(e).forEach(([e,t])=>{let n=ds(e)?o:a;n[e]&&n[e]===t||(n[e]=t)})},{immediate:!0,deep:!0}),is(e,()=>t&&r(t)),{motionProperties:n,style:a,transform:o}}function Ss(e={}){let t=v(e),n=p();return{state:_(()=>{if(n.value)return t[n.value]}),variant:n}}function Cs(e,t={},n){let{motionProperties:r}=xs(e),{variant:i,state:a}=Ss(t),o={target:e,variant:i,variants:t,state:a,motionProperties:r,...qo(r,t)};return ns(o,n),o}var ws=[`delay`,`duration`],Ts=[`initial`,`enter`,`leave`,`visible`,`visible-once`,`visibleOnce`,`hovered`,`tapped`,`focused`,...ws];function Es(e){return ws.includes(e)}function Ds(e,t){let n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};if(n){n.variants&&Dr(n.variants)&&(t.value={...t.value,...n.variants});for(let e of Ts)if(!(!n||!n[e])){if(Es(e)&&typeof n[e]==`number`){for(let r of[`enter`,`visible`,`visibleOnce`]){let i=t.value[r];i!=null&&(i.transition??={},i.transition[e]=n[e])}continue}if(Dr(n[e])){let r=n[e];e===`visible-once`&&(e=`visibleOnce`),t.value[e]=r}}}}function Os(e,t=!1){return{created:(n,r,i)=>{let a=r.value&&typeof r.value==`string`?r.value:i.key;a&&_o[a]&&_o[a].stop();let o=p(t?structuredClone(g(e)||{}):e||{});typeof r.value==`object`&&(o.value=r.value),Ds(i,o);let s=Cs(n,o,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});n.motionInstance=s,a&&(_o[a]=s)},mounted:(e,t,n)=>{e.motionInstance&&ts(e.motionInstance)},getSSRProps(t,n){let{initial:r}=t.value||n&&n?.props||{};r=v(r);let i=Sr({},e?.initial||{},r||{});if(!(!i||Object.keys(i).length===0))return{style:hs(i)}}}}var ks={__proto__:null,fade:{initial:{opacity:0},enter:{opacity:1}},fadeVisible:{initial:{opacity:0},visible:{opacity:1}},fadeVisibleOnce:{initial:{opacity:0},visibleOnce:{opacity:1}},pop:{initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},popVisible:{initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},popVisibleOnce:{initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},rollBottom:{initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rollLeft:{initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},rollRight:{initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},rollTop:{initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rollVisibleBottom:{initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},rollVisibleLeft:{initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},rollVisibleOnceBottom:{initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},rollVisibleOnceLeft:{initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rollVisibleOnceRight:{initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rollVisibleOnceTop:{initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},rollVisibleRight:{initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},rollVisibleTop:{initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},slideBottom:{initial:{y:100,opacity:0},enter:{y:0,opacity:1}},slideLeft:{initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},slideRight:{initial:{x:100,opacity:0},enter:{x:0,opacity:1}},slideTop:{initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},slideVisibleBottom:{initial:{y:100,opacity:0},visible:{y:0,opacity:1}},slideVisibleLeft:{initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},slideVisibleOnceBottom:{initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},slideVisibleOnceLeft:{initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},slideVisibleOnceRight:{initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},slideVisibleOnceTop:{initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},slideVisibleRight:{initial:{x:100,opacity:0},visible:{x:0,opacity:1}},slideVisibleTop:{initial:{y:-100,opacity:0},visible:{y:0,opacity:1}}},As=Symbol(``),js={preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1},duration:{type:[Number,String],required:!1}};function Ms(e){return Object.prototype.toString.call(e)===`[object Object]`}function Ns(e){if(Array.isArray(e))return e.map(Ns);if(Ms(e)){let t={};for(let n in e)t[n]=Ns(e[n]);return t}return e}function Ps(e){let n=w({}),r=t(As,{}),i=_(()=>e.preset==null?{}:r!=null&&e.preset in r?structuredClone(g(r)[e.preset]):e.preset in ks?structuredClone(ks[e.preset]):{}),a=_(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused}));function o(e,t){for(let n of[`delay`,`duration`]){if(t[n]==null)continue;let r=Number.parseInt(t[n]);for(let t of[`enter`,`visible`,`visibleOnce`]){let i=e[t];i!=null&&(i.transition??={},i.transition[n]=r)}}return e}let s=_(()=>o({...Sr({},a.value,i.value,e.variants||{})},e));function c(e,t,r){e.props??={},e.props.style??={},e.props.style={...e.props.style,...r};let i=o(Ns(s.value),e.props);return e.props.onVnodeMounted=({el:e})=>{n[t]=Cs(e,i)},e.props.onVnodeUpdated=({el:e})=>{let r=hs(n[t].state);for(let[t,n]of Object.entries(r))e.style[t]=n},e}return{motionConfig:s,setNodeInstance:c}}u({name:`Motion`,props:{...js,is:{type:[String,Object],default:`div`}},setup(e){let t=a(),{motionConfig:n,setNodeInstance:r}=Ps(e);return()=>{let i=hs(n.value.initial||{}),a=c(e.is,void 0,t);return r(a,0,i),a}}}),u({name:`MotionGroup`,props:{...js,is:{type:[String,Object],required:!1}},setup(e){let t=a(),{motionConfig:n,setNodeInstance:r}=Ps(e);return()=>{let i=hs(n.value.initial||{}),a=t.default?.()||[];for(let e=0;e<a.length;e++){let t=a[e];t.type===S&&Array.isArray(t.children)?t.children.forEach(function e(t,n){if(t!=null){if(Array.isArray(t)){e(t,n);return}typeof t==`object`&&r(t,n,i)}}):r(t,e,i)}return e.is?c(e.is,void 0,a):a}}});function Fs(...e){return _(()=>e.every(e=>y(e)))}var Is=Fs;function Ls(e){return _(()=>!y(e))}var Rs=Ls;function zs(...e){return _(()=>e.some(e=>y(e)))}var Bs=zs;export{B as A,de as B,gr as C,xn as D,pn as E,vn as F,_n as I,yn as L,Jt as M,$t as N,Cn as O,H as P,Gt as R,hr as S,vr as T,ue as V,K as _,zn as a,qn as b,In as c,rr as d,ir as f,lr as g,sr as h,Os as i,un as j,qt as k,Bn as l,or as m,Rs as n,kn as o,G as p,Bs as r,Fn as s,Is as t,tr as u,dr as v,_r as w,mr as x,fr as y,pt as z};
|
2026/arize-gepa/assets/slidev/404-B9rPdXSR.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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-CPCtrUKm.js";import{V as f}from"../modules/vue-DgDNZQuz.js";import{_ as p,_t as m}from"../index-BxRQo_Vt.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=m(t({__name:`404`,setup(t){let m=/\d+/,{currentRoute:y}=f(),{total:b}=p(),x=s(()=>{let e=y.value.path.match(m);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/arize-gepa/assets/slidev/DrawingControls-DIJaQazx.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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,d as f,gt as p,m,r as h,u as g,v as _,y as v,yt as y,z as b}from"../modules/shiki-CPCtrUKm.js";import{h as x,u as S}from"../modules/vue-DgDNZQuz.js";import{t as C}from"../useDrawings-WXah0vTR.js";import{t as w}from"./IconButton-oXa_wJpA.js";import{p as T}from"./shortcuts-DroZGD0d.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(p(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)=>p(I)||p(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`,!p(I)&&p(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:p(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:p(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:p(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:p(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:p(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:p(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(p(h),{shown:B.value,"onUpdate:shown":d[8]||=e=>B.value=e,triggers:[]},{popper:o(()=>[s(`div`,D,[s(`div`,O,u(p(n).size),1),s(`div`,k,[r(s(`input`,{"onUpdate:modelValue":d[6]||=e=>p(n).size=e,type:`range`,min:`1`,max:`15`,onChange:d[7]||=e=>L.value=p(G)},null,544),[[g,p(n).size]])])])]),default:o(()=>[t(w,{title:`Adjust stroke width`,class:c({shallow:p(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(p(z),e=>(b(),_(w,{key:e,title:`Set brush color`,class:c(p(n).color===e&&p(L)!==`eraseLine`?`active`:`shallow`),onClick:t=>q(e)},{default:o(()=>[s(`div`,{class:c([`w-6 h-6 transition-all transform border`,p(n).color===e?`rounded-md border-gray-300/50`:`rounded-1/2 scale-85 border-white`]),style:y(p(I)?{background:e}:{borderColor:e})},null,6)]),_:2},1032,[`class`,`onClick`]))),128)),t(T),t(w,{title:`Undo`,class:c({disabled:!p(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:!p(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:!p(i)}),onClick:d[11]||=e=>p(P)()},{default:o(()=>[...d[23]||=[s(`div`,{class:`i-carbon:trash-can`},null,-1)]]),_:1},8,[`class`]),t(T),t(w,{title:p(R)?`Unpin drawing`:`Pin drawing`,class:c({shallow:!p(R)}),onClick:d[12]||=e=>R.value=!p(R)},{default:o(()=>[r(s(`div`,A,null,512),[[f,p(R)]]),r(s(`div`,j,null,512),[[f,!p(R)]])]),_:1},8,[`title`,`class`]),p(I)?(b(),_(w,{key:0,title:p(R)?`Drawing pinned`:`Drawing unpinned`,class:c({shallow:!p(I)}),onClick:d[13]||=e=>I.value=!p(I)},{default:o(()=>[r(s(`div`,M,null,512),[[f,p(R)]]),r(s(`div`,N,null,512),[[f,!p(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/arize-gepa/assets/slidev/DrawingLayer-CNfu6Fw1.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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-CPCtrUKm.js";import{it as l}from"../index-BxRQo_Vt.js";import{t as u}from"../useDrawings-WXah0vTR.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/arize-gepa/assets/slidev/DrawingPreview-DDs9RbWd.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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-CPCtrUKm.js";import{t as o}from"../useDrawings-WXah0vTR.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/arize-gepa/assets/slidev/Modal-C_vxlNjO.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{H as e,T as t,_ as n,_t as r,b as i,gt as a,h as o,v as s,y as c,z as l}from"../modules/shiki-CPCtrUKm.js";import{S as u}from"../modules/vue-DgDNZQuz.js";var d={key:0,class:`fixed top-0 bottom-0 left-0 right-0 grid z-modal`},f=t({__name:`Modal`,props:{modelValue:{default:!1},class:{default:``}},emits:[`update:modelValue`],setup(t,{emit:f}){let p=t,m=u(p,`modelValue`,f);function h(){m.value=!1}return(t,u)=>(l(),s(o,null,[a(m)?(l(),i(`div`,d,[n(`div`,{bg:`black opacity-80`,class:`absolute top-0 bottom-0 left-0 right-0 -z-1`,onClick:u[0]||=e=>h()}),n(`div`,{class:r([`m-auto rounded-md bg-main shadow`,p.class]),"dark:border":`~ main`},[e(t.$slots,`default`)],2)])):c(`v-if`,!0)],1024))}});export{f as t};
|
2026/arize-gepa/assets/slidev/NoteDisplay-DTB0IRom.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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,m as p,rt as m,y as h,yt as g,z as _}from"../modules/shiki-CPCtrUKm.js";import{At as v,at as y,kt as b}from"../index-BxRQo_Vt.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(()=>b(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=y;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=b(0,r,t?.999999:1)*D.value,o=b(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=b(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/arize-gepa/assets/slidev/NoteEditable-BWntQkxx.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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,f as c,gt as l,pt as u,u as d,v as f,yt as p,z as m}from"../modules/shiki-CPCtrUKm.js";import{O as h,S as g,o as _}from"../modules/vue-DgDNZQuz.js";import{t as v}from"../index-BxRQo_Vt.js";import{t as y}from"./NoteDisplay-DTB0IRom.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(u(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)),[[d,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/arize-gepa/assets/slidev/SlideContainer-DXPEWHqn.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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,m as f,ot as p,y as m,yt as h,z as g}from"../modules/shiki-CPCtrUKm.js";import{M as _,f as v}from"../modules/vue-DgDNZQuz.js";import{$ as y,Et as b,Tt as x,W as S,_ as C,_t as w,d as T,dt as E,f as D,ft as O,m as k,u as A,wt as j}from"../index-BxRQo_Vt.js";var M=p({}),N=[],P=[];T(M,`$syncUp`,!0),T(M,`$syncDown`,!0),T(M,`$paused`,!1),T(M,`$onSet`,e=>N.push(e)),T(M,`$onPatch`,e=>P.push(e)),D(),T(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=y(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=w(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 p=i,{isPrintMode:y}=C(),w=l(null),T=v(w),D=l(null),A=u(()=>p.width??T.width.value),M=u(()=>p.width?p.width/j.value:T.height.value),N=u(()=>S.value&&!y.value?+S.value:Math.min(A.value/b.value,M.value/x.value)),P=u(()=>({...p.contentStyle,height:`${x.value}px`,width:`${b.value}px`,"--slidev-slide-scale":N.value})),F=u(()=>p.width?{width:`${p.width}px`,height:`${p.width/j.value}px`}:{});if(p.isMain){let e=document.documentElement.style;o(()=>e.setProperty(`--slidev-slide-scale`,N.value.toString())),r(()=>e.removeProperty(`--slidev-slide-scale`))}_(O,N),_(E,D),a(()=>{p.isMain&&(U.value=D.value)}),n(()=>{t(()=>p.isMain&&N.value,()=>{d()})});let I=u(()=>{if(!(p.no==null||!p.useSnapshot))return R.getSnapshot(p.no,k.value)});return(t,n)=>I.value?(g(),c(f,{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:w,class:`slidev-slide-container`,style:h(F.value)},[s(`div`,{id:i.isMain?`slide-content`:void 0,ref_key:`slideElement`,ref:D,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/arize-gepa/assets/slidev/TimerBar-B_mCOPju.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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,m as l,ot as u,pt as d,y as f,yt as p,z as m}from"../modules/shiki-CPCtrUKm.js";import{F as h}from"../modules/vue-DgDNZQuz.js";import{Ot as g,_,o as v,vt as y}from"../index-BxRQo_Vt.js";var b={class:`relative flex gap-px`},x=t({__name:`CurrentProgressBar`,props:{clicksContext:{},current:{}},setup(t){let u=t,d=_(),h=s(()=>u.clicksContext??d.clicksContext.value),g=s(()=>u.current??d.currentSlideNo.value),{total:v}=d;return(t,s)=>(m(),o(`div`,b,[(m(!0),o(l,null,n(c(v)-1,t=>(m(),o(`div`,{key:t,class:i([`border-x border-b border-main h-4px transition-all`,t<g.value?`bg-primary border-primary`:``]),style:p({width:`${1/(c(v)-1)*100}%`})},[e(a,{name:`fade`},{default:r(()=>[t===g.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(()=>g.timer||`stopwatch`),t=s(()=>y(g.duration).seconds),n=h(100,{controls:!0}),r=d(v,`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=u(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/arize-gepa/assets/slidev/center-CyYz--Z8.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{H as e,_ as t,b as n,z as r}from"../modules/shiki-CPCtrUKm.js";import{_t as i}from"../index-BxRQo_Vt.js";var a={},o={class:`slidev-layout center h-full grid place-content-center`},s={class:`my-auto`};function c(i,a){return r(),n(`div`,o,[t(`div`,s,[e(i.$slots,`default`)])])}var l=i(a,[[`render`,c]]);export{l as t};
|
2026/arize-gepa/assets/slidev/entry-DQNT__nF.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{C as e,S as t,U as n,Z as r,_ as i,b as a,z as o}from"../modules/shiki-CPCtrUKm.js";import{_t as s}from"../index-BxRQo_Vt.js";var c={},l={class:`h-full w-full flex items-center justify-center gap-5 lt-md:flex-col`};function u(s,c){let u=n(`RouterLink`);return o(),a(`div`,l,[e(u,{to:`/`,class:`page-link`},{default:r(()=>[...c[0]||=[i(`div`,{class:`i-carbon:presentation-file`},null,-1),t(` Slides `,-1)]]),_:1}),e(u,{to:`/presenter`,class:`page-link`},{default:r(()=>[...c[1]||=[i(`div`,{class:`i-carbon:user-speaker`},null,-1),t(` Presenter `,-1)]]),_:1}),e(u,{to:`/notes`,class:`page-link`},{default:r(()=>[...c[2]||=[i(`div`,{class:`i-carbon:catalog`},null,-1),t(` Notes `,-1)]]),_:1}),e(u,{to:`/overview`,class:`page-link`},{default:r(()=>[...c[3]||=[i(`div`,{class:`i-carbon:list-boxes`},null,-1),t(` Overview `,-1)]]),_:1})])}var d=s(c,[[`render`,u],[`__scopeId`,`data-v-d5062f01`]]);export{d as default};
|
2026/arize-gepa/assets/slidev/md-CKz-H_g_.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{D as e,H as t,S as n,T as r,Z as i,_ as a,b as o,g as s,gt as c,v as l,vt as u,yt as d,z as f}from"../modules/shiki-CPCtrUKm.js";import{it as p,rt as m}from"../index-BxRQo_Vt.js";function h(e){return e.startsWith(`/`)?`./`+e.slice(1):e}function g(e,t=!1){let n=e&&[`#`,`rgb`,`hsl`].some(t=>e.indexOf(t)===0),r={background:n?e:void 0,color:e&&!n?`white`:void 0,backgroundImage:n?void 0:e?t?`linear-gradient(#0005, #0008), url(${h(e)})`:`url("${h(e)}")`:void 0,backgroundRepeat:`no-repeat`,backgroundPosition:`center`,backgroundSize:`cover`};return r.background||delete r.background,r}var _={class:`my-auto w-full`},v=r({__name:`cover`,props:{background:{default:``}},setup(e){let{$slidev:n,$nav:r,$clicksContext:i,$clicks:c,$page:l,$renderContext:u,$frontmatter:m}=p(),h=e,v=s(()=>g(h.background,!0));return(e,n)=>(f(),o(`div`,{class:`slidev-layout cover`,style:d(v.value)},[a(`div`,_,[t(e.$slots,`default`)])],4))}}),y={__name:`slides.md__slidev_1`,setup(t){let{$slidev:r,$nav:o,$clicksContext:s,$clicks:d,$page:h,$renderContext:g,$frontmatter:_}=p();return s.setup(),(t,r)=>(f(),l(v,u(e(c(m)(c(_),0))),{default:i(()=>[...r[0]||=[a(`div`,{class:`title-intro`},[a(`div`,{class:`title-intro-mark`},`GEPA`),a(`main`,null,[a(`h1`,null,[n(`Optimizing`),a(`br`),n(`Skills and Tools`)]),a(`h2`,null,`with Vision and GEPA`),a(`p`,null,`Shaun Smith · Hugging Face · 2026`)])],-1)]]),_:1},16))}};export{y as default};
|
2026/arize-gepa/assets/slidev/notes-BTb3sLVq.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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,m as d,yt as f,z as p}from"../modules/shiki-CPCtrUKm.js";import{h as m}from"../modules/vue-DgDNZQuz.js";import{Dt as h,_ as g,o as _,w as v,xt as y,yt as b}from"../index-BxRQo_Vt.js";import{t as x}from"./IconButton-oXa_wJpA.js";import{t as S}from"./Modal-C_vxlNjO.js";import{n as C,t as w}from"./NoteDisplay-DTB0IRom.js";import{r as T,t as E}from"./TimerBar-B_mCOPju.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){y({title:`Notes - ${h}`});let{slides:L,total:R}=g(),{isFullscreen:z,toggle:B}=v,V=c(),H=m(`slidev-notes-font-size`,18),U=l(()=>_.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=_.clicks,t=_.clicksTotal;return b(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/arize-gepa/assets/slidev/notes-edit--ffEyFcI.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 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,m as c,u as l,z as u}from"../modules/shiki-CPCtrUKm.js";import{D as d}from"../modules/vue-DgDNZQuz.js";import{Dt as f,_ as p,t as m,xt as h}from"../index-BxRQo_Vt.js";import{t as g}from"./IconButton-oXa_wJpA.js";import{t as _}from"./Modal-C_vxlNjO.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*$/;h({title:`Notes Edit - ${f}`});let{slides:S}=p(),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,m(e).update({note:a}))}})}return d(w,e=>{E(e,S.value)},{debounce:300}),(r,s)=>(u(),o(c,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),[[l,w.value]])])],64))}});export{x as default};
|
2026/arize-gepa/assets/slidev/overview-CUOGfgA1.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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,m,ot as h,v as g,y as _,yt as v,z as y}from"../modules/shiki-CPCtrUKm.js";import{B as te,V as ne}from"../modules/vue-DgDNZQuz.js";import{Ct as b,Dt as re,Q as x,_ as ie,_t as S,at as C,bt as ae,et as w,h as oe,m as T,p as se,wt as ce,xt as le}from"../index-BxRQo_Vt.js";import{t as E}from"./IconButton-oXa_wJpA.js";import{t as ue}from"./DrawingPreview-DDs9RbWd.js";import{n as D}from"./NoteDisplay-DTB0IRom.js";import{n as de,r as fe}from"../modules/unplugin-icons-DuBnI2B8.js";import{t as pe}from"./NoteEditable-BWntQkxx.js";import{t as me}from"./SlideContainer-DXPEWHqn.js";import{t as he}from"../SlideWrapper-DcEOBRxR.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=S(i({__name:`overview`,setup(i){le({title:`Overview - ${re}`});let S=te(),k=ne(),{openInEditor:ke,slides:A,isEmbedded:j}=ie(),M=f(()=>S.query.mode===`preview`),N=f(()=>M.value&&j.value),P=f(()=>M.value?N.value?Math.max(0,x.width.value-16):Math.min(900,Math.max(320,x.width.value-160)):O),Ae=f(()=>P.value/ce.value),F=h(new Map),I=h(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,ae(e,C)),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=b+e.slice(1),t.click()}function Ie(e){let t=new URL(b+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=S.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();S.query.slideNo!==t&&k.replace({query:{...S.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=C:r.current=t,e.preventDefault()}function Ue(e,t){if(e.ctrlKey||e.metaKey){e.preventDefault(),Ie(w(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(m,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(se)?(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(oe)()},{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(m,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(w)(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(w)(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/arize-gepa/assets/slidev/play-BCtODca3.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DrawingControls-DIJaQazx.js","../rolldown-runtime-QTnfLwEv.js","./shortcuts-DroZGD0d.js","../index-BxRQo_Vt.js","../modules/shiki-CPCtrUKm.js","../modules/shiki-BrmBd2_v.css","../modules/vue-DgDNZQuz.js","../index-DitwSL5-.css","./SlideContainer-DXPEWHqn.js","../SlideContainer-DfEYZ3xE.css","../SlideWrapper-DcEOBRxR.js","../SlideWrapper-DRhhw1Nh.css","../useDrawings-WXah0vTR.js","./DrawingPreview-DDs9RbWd.js","./IconButton-oXa_wJpA.js","../shortcuts-CtOssGlB.css","../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,m as p,rt as m,v as h,y as g,yt as _,z as v}from"../modules/shiki-CPCtrUKm.js";import{S as y,p as b}from"../modules/vue-DgDNZQuz.js";import{B as x,E as S,M as C,Ot as w,R as T,U as E,X as D,Y as O,_ as k,gt as A,k as j,o as M}from"../index-BxRQo_Vt.js";import{t as N}from"../useDrawings-WXah0vTR.js";import{a as P,c as F,d as I,f as L,l as R,n as z,r as B,s as V,t as H,u as U}from"./shortcuts-DroZGD0d.js";import{t as W}from"./Modal-C_vxlNjO.js";import{t as G}from"../modules/unplugin-icons-DuBnI2B8.js";import{t as K}from"./SlideContainer-DXPEWHqn.js";var q=2e3;function J(e){let n=d(()=>e.value&&S.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}),b(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=y(e,`modelValue`,t),o=d(()=>typeof w.info==`string`);return(e,t)=>(v(),h(W,{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(w).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}=k(),r=!w.drawings.presenterOnly&&!n.value,i=u();r&&A(()=>import(`./DrawingControls-DIJaQazx.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,15,16]),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(V),e(F),a.value?(v(),h(f(a),{key:1})):g(`v-if`,!0),o.value?(v(),h(f(o),{key:2,modelValue:f(E),"onUpdate:modelValue":n[0]||=e=>m(E)?E.value=e:null},null,8,[`modelValue`])):g(`v-if`,!0),f(w).info?(v(),h(Z,{key:3,modelValue:f(x),"onUpdate:modelValue":n[1]||=e=>m(x)?x.value=e:null},null,8,[`modelValue`])):g(`v-if`,!0),e(R)],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=G;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:_}=k(),{isDrawing:y}=N(),b=l();function x(e){T.value||e.button===0&&e.target?.id===`slide-container`&&(e.pageX/window.innerWidth>.5?n():r())}L(b),H(),I(),J(d(()=>m.value&&!_.value&&!T.value));let S=d(()=>C.value||T.value),w=u(),E=d(()=>{let e=``;return O.value.brightness!==D.brightness&&(e+=`brightness(${O.value.brightness}) `),O.value.contrast!==D.contrast&&(e+=`contrast(${O.value.contrast}) `),O.value.sepia!==D.sepia&&(e+=`sepia(${O.value.sepia}) `),O.value.hueRotate!==D.hueRotate&&(e+=`hue-rotate(${O.value.hueRotate}deg) `),O.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(j)?`grid-rows-[1fr_max-content]`:`grid-cols-[1fr_max-content]`])},[e(K,{style:{background:`var(--slidev-slide-container-background, black)`},"is-main":``,"content-style":E.value,onPointerdown:x,onContextmenu:f(U)},{default:i(()=>[e(z,{"render-context":`slide`}),e(ee),e(P)]),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`,[S.value?`!opacity-100 right-0`:`opacity-0 p-2`,f(y)?`pointer-events-none`:``]])},[e(B,{persist:S.value},null,8,[`persist`])],2))]),_:1},8,[`content-style`,`onContextmenu`]),w.value&&f(T)?(v(),h(f(w),{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/arize-gepa/assets/slidev/presenter-8BOxd-hh.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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,d as ee,dt as p,g as m,gt as h,m as te,q as g,rt as ne,v as _,y as v,yt as y,z as b}from"../modules/shiki-CPCtrUKm.js";import{_ as re,h as x,p as S,w as C}from"../modules/vue-DgDNZQuz.js";import{Dt as ie,F as ae,H as oe,O as se,P as w,R as ce,S as le,_ as ue,_t as T,n as E,o as de,x as fe,xt as pe,yt as me}from"../index-BxRQo_Vt.js";import{t as he}from"../useDrawings-WXah0vTR.js";import{t as ge}from"./DrawingControls-DIJaQazx.js";import{t as _e}from"./IconButton-oXa_wJpA.js";import{a as ve,c as ye,d as be,f as xe,i as Se,l as Ce,n as we,o as Te,r as Ee,s as De,t as Oe,u as ke}from"./shortcuts-DroZGD0d.js";import{n as Ae,t as D}from"./NoteDisplay-DTB0IRom.js";import{n as O,r as je,t as Me}from"./TimerBar-B_mCOPju.js";import"./NoteEditable-BWntQkxx.js";import{t as k}from"./SlideContainer-DXPEWHqn.js";import{t as Ne}from"../SlideWrapper-DcEOBRxR.js";var Pe=a({__name:`NoteStatic`,props:{no:{},class:{},clicksContext:{}},setup(e){let t=e,{info:n}=E(t.no);return(r,i)=>(b(),_(D,{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`]))}}),A={"h-full":``,"w-full":``},j={key:0,"w-full":``,"h-full":``,flex:`~ col gap-4 items-center justify-center`},Fe=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)=>(b(),u(`div`,A,[r(c(`video`,{ref_key:`video`,ref:t,class:`w-full h-full object-contain`},null,512),[[ee,a.value]]),a.value?v(`v-if`,!0):(b(),u(`div`,j,[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 `)]))]))}}),M={class:`w-22px cursor-pointer`},N={class:`group-not-hover:hidden flex flex-col items-center`},P={key:0,class:`i-carbon:pause text-lg`},F={key:1,class:`i-carbon:play`},I={class:`text-3xl px-3 my-auto font-mono`},Ie=a({__name:`TimerInlined`,setup(e){let{status:t,percentage:n,mode:r,timer:i,reset:a,toggle:o}=O(),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)=>(b(),u(`div`,{class:l([`group flex items-center justify-center pl-4 select-none`,s.value])},[c(`div`,M,[c(`div`,{class:l([`group-hover:hidden text-2xl`,h(r)===`countdown`?`i-carbon:timer`:`i-carbon:time`])},null,2),c(`div`,N,[c(`div`,{class:`relative op-80 hover:op-100`,onClick:n[0]||=(...e)=>h(o)&&h(o)(...e)},[h(t)===`running`?(b(),u(`div`,P)):(b(),u(`div`,F))]),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`,I,[h(i).h?(b(),u(te,{key:0},[c(`span`,null,d(h(i).h),1),n[3]||=c(`span`,{op50:``},`:`,-1)],64)):v(`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))}}),Le={class:`bg-main h-full slidev-presenter grid grid-rows-[max-content_1fr] of-hidden`},Re={flex:`~ gap-4 items-center`,border:`b main`,p1:``},ze={class:`relative grid-section next flex flex-col p-2 lg:p-4`},Be={key:2,class:`h-full flex justify-center items-center`},Ve={key:3,class:`h-full grid grid-rows-[1fr_min-content]`},L=T(a({__name:`presenter`,setup(i){let a=C(),d=f(),g=f(),T=f(),E=f();Oe(),xe(d),be();let{clicksContext:D,currentSlideNo:O,currentSlideRoute:A,hasNext:j,nextRoute:M,slides:N,getPrimaryClicks:P}=ue(),{isDrawing:F}=he();pe({title:`Presenter - ${ie}`}),f(!1);let I=m(()=>N.value.map(e=>{let t=f(0);return{context:me(t,e?.meta.slide?.frontmatter.clicksStart??0,e?.meta.clicks),clicks:t}})),L=m(()=>D.value.current<D.value.total?[A.value,D.value.current+1]:j.value?[M.value,0]:null),R=m(()=>L.value&&I.value[L.value[0].no-1]);t(L,()=>{R.value&&L.value&&(R.value.clicks.value=L.value[1])},{immediate:!0});let z=x(`slidev-presenter-main-slide-mode`,`slides`),B=x(`slidev-presenter-notes-width`,360),V=x(`slidev-presenter-notes-row-size`,280),He=f(0),H=f(!1),U=f(!1),Ue=f(0),W=f(360),We=f(0),G=f(280),K={minNotesWidth:240,maxNotesWidth:720,minNotesRowSize:160,maxNotesWidthRatio:.7,maxNotesRowHeightRatio:.75},Ge=re(`(min-aspect-ratio: 1/1)`),q=re(`(max-aspect-ratio: 3/5)`),J=m(()=>w.value===1&&Ge.value),Y=m(()=>!(w.value===1&&q.value)),X=m(()=>w.value===1&&!q.value||w.value===2||w.value===3),Ke=m(()=>w.value===1&&!q.value);function qe(e){return Number.isFinite(e)?Math.max(K.minNotesWidth,Math.min(K.maxNotesWidth,Math.round(e))):K.minNotesWidth}function Je(e){let t=g.value;if(!t)return;let n=t.getBoundingClientRect(),r=e-Ue.value,i=qe(J.value?W.value-r:W.value+r),a=Math.round(n.width*K.maxNotesWidthRatio);B.value=Math.min(i,Math.max(K.minNotesWidth,a))}function Z(e){Y.value&&e.button===0&&(e.preventDefault(),Ue.value=e.clientX,W.value=B.value,H.value=!0)}function Q(e){return Number.isFinite(e)?Math.max(K.minNotesRowSize,Math.round(e)):K.minNotesRowSize}function Ye(e){let t=g.value;if(!t)return;let n=t.getBoundingClientRect(),r=e-We.value,i=Ke.value?G.value-r:G.value+r,a=Math.round(n.height*K.maxNotesRowHeightRatio);V.value=Math.min(Q(i),Math.max(K.minNotesRowSize,a))}function Xe(e){if(!X.value||e.button!==0)return;e.preventDefault();let t=w.value===2?d.value?.getBoundingClientRect().height:T.value?.getBoundingClientRect().height;We.value=e.clientY,G.value=Q(t??V.value),U.value=!0}function Ze(){let e=E.value;e&&(He.value=Math.round(e.getBoundingClientRect().height))}function Qe(){H.value=!1,U.value=!1}function $e(){Ze(),et()}S(window,`pointermove`,e=>{H.value&&Je(e.clientX),U.value&&Ye(e.clientY)}),S(window,`pointerup`,Qe),S(window,`pointercancel`,Qe),n(()=>{$e()}),S(window,`resize`,()=>{$e()});function et(){B.value=qe(B.value),V.value=Q(V.value);let e=g.value;if(!e)return;let t=e.getBoundingClientRect(),n=Math.round(t.width*K.maxNotesWidthRatio),r=Math.round(t.height*K.maxNotesRowHeightRatio);B.value=Math.min(B.value,Math.max(K.minNotesWidth,n)),V.value=Math.min(V.value,Math.max(K.minNotesRowSize,r))}let $=p();return n(()=>{let e=Te(),t=C();o(()=>{!e.value||!t.value||F.value||!oe.value?de.cursor=void 0:de.cursor={...e.value,style:fe.value}})}),(t,n)=>(b(),u(te,null,[c(`div`,Le,[c(`div`,null,[e(je),e(Me)]),c(`div`,{ref_key:`gridContainer`,ref:g,class:l([`grid-container`,`layout${h(w)}`]),style:y({"--slidev-presenter-notes-width":`${h(B)}px`,"--slidev-presenter-notes-row-size":`${h(V)}px`,"--slidev-presenter-bottom-height":`${He.value}px`})},[v(` Unified vertical resizer for wide layout `),Y.value&&J.value?(b(),u(`div`,{key:0,class:`notes-vertical-resizer`,role:`separator`,"aria-orientation":`vertical`,title:`Resize notes panel`,onPointerdown:Z},null,32)):v(`v-if`,!0),v(` Unified vertical resizer for layout 3 `),Y.value&&h(w)===3?(b(),u(`div`,{key:1,class:`notes-vertical-resizer-left`,role:`separator`,"aria-orientation":`vertical`,title:`Resize notes panel`,onPointerdown:Z},null,32)):v(`v-if`,!0),c(`div`,{ref_key:`main`,ref:d,class:`relative grid-section main flex flex-col`},[c(`div`,Re,[n[3]||=c(`span`,{op50:``,px2:``},`Current`,-1),n[4]||=c(`div`,{"flex-auto":``},null,-1),e(Se,{modelValue:h(z),"onUpdate:modelValue":n[0]||=e=>ne(z)?z.value=e:null,options:[{label:`Slides`,value:`slides`},{label:`Screen Mirror`,value:`mirror`}]},null,8,[`modelValue`])]),h(z)===`mirror`?(b(),_(Fe,{key:0})):v(`v-if`,!0),v(` We use v-show here to still infer the clicks context `),r(e(k,{key:`main`,class:`p-2 lg:p-4 flex-auto`,"is-main":``,onContextmenu:h(ke)},{default:s(()=>[e(we,{"render-context":`presenter`}),e(ve)]),_:1},8,[`onContextmenu`]),[[ee,h(z)===`slides`]]),(b(),_(Ae,{key:h(A)?.no,"clicks-context":h(P)(h(A)),class:`w-full pb2 px4 flex-none`},null,8,[`clicks-context`]))],512),c(`div`,ze,[X.value&&h(w)===2?(b(),u(`div`,{key:0,class:`notes-row-resizer top-[-6px]`,role:`separator`,"aria-orientation":`horizontal`,title:`Resize notes panel height`,onPointerdown:Xe},null,32)):v(`v-if`,!0),L.value&&R.value?(b(),_(k,{key:`next`},{default:s(()=>[(b(),_(Ne,{key:L.value[0].no,"clicks-context":R.value.context,route:L.value[0],"render-context":`previewNext`},null,8,[`clicks-context`,`route`]))]),_:1})):(b(),u(`div`,Be,[...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:T,class:`relative grid-section note overflow-hidden`},[Y.value&&!J.value&&h(w)!==3?(b(),u(`div`,{key:0,class:`notes-resizer right-[-6px]`,role:`separator`,"aria-orientation":`vertical`,title:`Resize notes panel`,onPointerdown:Z},null,32)):v(`v-if`,!0),X.value&&h(w)!==2?(b(),u(`div`,{key:1,class:l([`notes-row-resizer`,Ke.value?`top-[-6px]`:`bottom-[-6px]`]),role:`separator`,"aria-orientation":`horizontal`,title:`Resize notes panel height`,onPointerdown:Xe},null,34)):v(`v-if`,!0),$.value&&h(ce)?(b(),_(h($),{key:2,class:`h-full`})):(b(),u(`div`,Ve,[(b(),_(Pe,{key:`static-${h(O)}`,no:h(O),class:`w-full max-w-full h-full overflow-auto p-2 lg:p-4`,style:y({fontSize:`${h(ae)}em`}),"clicks-context":h(D)},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(_e,{title:`Increase font size`,onClick:h(se)},{default:s(()=>[...n[7]||=[c(`div`,{class:`i-carbon:zoom-in`},null,-1)]]),_:1},8,[`onClick`]),e(_e,{title:`Decrease font size`,onClick:h(le)},{default:s(()=>[...n[8]||=[c(`div`,{class:`i-carbon:zoom-out`},null,-1)]]),_:1},8,[`onClick`]),v(`v-if`,!0)],2)]))],512),c(`div`,{ref_key:`bottomSection`,ref:E,class:`grid-section bottom flex`},[e(Ee,{persist:!0,class:l([`transition`,h(a)?``:`op25`])},null,8,[`class`]),n[11]||=c(`div`,{"flex-auto":``},null,-1),e(Ie)],512),(b(),_(ge,{key:2}))],6)]),e(ye),e(De),e(Ce)],64))}}),[[`__scopeId`,`data-v-0c4ec578`]]);export{L as default};
|
2026/arize-gepa/assets/slidev/print-C-3vJR-v.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DrawingPreview-DDs9RbWd.js","../rolldown-runtime-QTnfLwEv.js","../useDrawings-WXah0vTR.js","../index-BxRQo_Vt.js","../modules/shiki-CPCtrUKm.js","../modules/shiki-BrmBd2_v.css","../modules/vue-DgDNZQuz.js","../index-DitwSL5-.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,d as l,dt as u,g as d,gt as f,i as p,m,ot as h,q as g,v as _,y as v,yt as y,z as b}from"../modules/shiki-CPCtrUKm.js";import{M as x}from"../modules/vue-DgDNZQuz.js";import{Et as S,Ot as C,Q as w,Tt as T,_ as E,_t as D,a as O,at as k,bt as A,dt as j,ft as M,g as N,gt as P,mt as F,wt as I}from"../index-BxRQo_Vt.js";import{n as L,r as R,t as z}from"../SlideWrapper-DcEOBRxR.js";var B=[`id`],V=D(r({__name:`PrintSlideClick`,props:{nav:{}},setup(t){let n=d(()=>t.nav.currentSlideRoute.value),r=d(()=>({height:`${T.value}px`,width:`${S.value}px`})),i=u();P(()=>import(`./DrawingPreview-DDs9RbWd.js`).then(e=>e.n).then(e=>i.value=e.default),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url);let a=d(()=>`${n.value.no.toString().padStart(3,`0`)}-${(t.nav.clicks.value+1).toString().padStart(2,`0`)}`);return x(F,h({nav:t.nav,configs:C,themeConfigs:d(()=>C.themeConfig)})),x(j,g(`slide-element`)),(o,l)=>(b(),c(`div`,{id:a.value,ref:`slide-element`,class:`print-slide-container`,style:y(r.value)},[e(f(L)),e(z,{"clicks-context":t.nav.clicksContext.value,class:s(f(O)(n.value)),route:n.value},null,8,[`clicks-context`,`class`,`route`]),i.value?(b(),_(f(i),{key:0,page:n.value.no},null,8,[`page`])):v(`v-if`,!0),e(f(R))],12,B))}}),[[`__scopeId`,`data-v-026c0358`]]),H=r({__name:`PrintSlide`,props:{hidden:{type:Boolean},route:{}},setup(t){let{isPrintWithClicks:r}=E(),a=A(t.route,()=>r.value?0:k);return(o,s)=>(b(),c(m,null,[n(e(V,{nav:f(N)(t.route,f(a))},null,8,[`nav`]),[[l,!t.hidden]]),f(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,f(a).total-f(a).clicksStart),e=>n((b(),_(V,{key:e,nav:f(N)(t.route,f(A)(t.route,e+f(a).clicksStart))},null,8,[`nav`])),[[l,!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}=E(),a=d(()=>t.width),l=d(()=>t.width/I.value),u=d(()=>a.value/l.value),p=d(()=>u.value<I.value?a.value/S.value:l.value*I.value/S.value),h=d(()=>({"select-none":!C.selectable}));return x(M,p),(e,t)=>(b(),c(`div`,{id:`print-container`,class:s(h.value)},[o(`div`,U,[(b(!0),c(m,null,i(f(r),e=>(b(),_(H,{key:e,route:f(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}=E();return a(()=>{r?document.body.parentNode.classList.add(`print`):document.body.parentNode.classList.remove(`print`)}),t(()=>{p()}),(t,n)=>(b(),c(`div`,G,[e(W,{class:`w-full h-full`,style:{background:`var(--slidev-slide-container-background, black)`},width:f(w).width.value},null,8,[`width`]),n[0]||=o(`div`,{id:`twoslash-container`},null,-1)]))}});export{K as default};
|
2026/arize-gepa/assets/slidev/shortcuts-DroZGD0d.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DrawingLayer-CNfu6Fw1.js","../index-BxRQo_Vt.js","../rolldown-runtime-QTnfLwEv.js","../modules/shiki-CPCtrUKm.js","../modules/shiki-BrmBd2_v.css","../modules/vue-DgDNZQuz.js","../index-DitwSL5-.css","../useDrawings-WXah0vTR.js"])))=>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,h as D,i as ee,j as O,m as k,n as te,o as ne,p as re,rt as ie,u as ae,v as A,vt as j,y as M,yt as N,z as P}from"../modules/shiki-CPCtrUKm.js";import{C as oe,I as se,N as ce,S as le,V as ue,d as de,n as F,o as fe,p as pe,r as me,s as he,t as I,v as ge,w as _e,y as ve}from"../modules/vue-DgDNZQuz.js";import{$ as ye,A as be,B as xe,C as Se,Ct as Ce,D as we,E as Te,Et as Ee,G as L,H as De,I as Oe,J as ke,K as Ae,L as je,N as Me,Ot as R,P as Ne,Q as Pe,R as Fe,T as Ie,Tt as Le,V as z,W as Re,X as B,Y as V,Z as ze,_ as H,_t as Be,at as Ve,b as He,bt as Ue,ft as We,gt as Ge,h as Ke,ht as qe,i as Je,it as Ye,j as Xe,kt as Ze,m as Qe,o as $e,p as et,q as tt,r as nt,t as rt,v as it,w as at,x as ot,y as st,z as U}from"../index-BxRQo_Vt.js";import{t as ct}from"../useDrawings-WXah0vTR.js";import{t as W}from"./IconButton-oXa_wJpA.js";import{t as lt}from"./DrawingPreview-DDs9RbWd.js";import{n as ut,t as dt}from"./SlideContainer-DXPEWHqn.js";import{n as ft,r as pt,t as mt}from"../SlideWrapper-DcEOBRxR.js";var ht={},gt={class:`w-1px opacity-10 bg-current m-1 lg:m-2`};function _t(e,t){return P(),v(`div`,gt)}var vt=Be(ht,[[`render`,_t]]);function yt(e){let{next:t,nextSlide:n,prev:r,prevSlide:i}=H(),{isDrawing:a}=ct(),o=x(0),{direction:s,distanceX:c,distanceY:l}=ve(e,{pointerTypes:[`touch`],onSwipeStart(){a.value||(o.value=ce())},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 bt(){let{request:e,release:t}=oe();a(ze,n=>{n?e(`screen`):t()},{immediate:!0})}var xt=Object.assign({}),St=Object.assign({}),Ct=[Object.values(xt)[0],Object.values(St)[0]].filter(Boolean),wt,Tt=()=>{if(wt)return wt;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}=H(),{drawingEnabled:p}=ct(),{isFullscreen:m,toggle:h}=at;return wt=Ct.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:Fe.value?`Hide editor`:`Show editor`,action:()=>Fe.value=!Fe.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:Ae},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)))},Et=C(null);function Dt(e,t){Et.value={x:e,y:t,items:Tt()}}function Ot(){Et.value=null}function kt(e){if(R.contextMenu!==!0&&R.contextMenu!=null&&R.contextMenu!==`build`||e.shiftKey||e.defaultPrevented)return;let{isEmbedded:t}=H();t.value||(Dt(e.pageX,e.pageY),e.preventDefault(),e.stopPropagation())}var At=[`title`,`onClick`],jt=[`onClick`],Mt={class:`mx-auto flex`},Nt={key:0},Pt={class:`w-full text-xs p2`},Ft={class:`text-main text-opacity-50!`},It=u({__name:`ContextMenu`,setup(e){let t=x();fe(t,Ot),pe(document,`mousedown`,e=>{e.buttons&2&&Ot()},{passive:!0,capture:!0});let n=T(()=>R.contextMenu!=null);a(_e(),e=>{e||Ot()}),rt(1);let{width:r,height:i}=de(t),o=T(()=>{let e=Et.value?.x;return e?e+r.value>Pe.width.value?Pe.width.value-r.value:e:0}),s=T(()=>{let e=Et.value?.y;return e?e+i.value>Pe.height.value?Pe.height.value-i.value:e:0});return(e,r)=>E(Et)?(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]||=re(()=>{},[`prevent`]),onClick:r[2]||=(...e)=>E(Ot)&&E(Ot)(...e)},[(P(!0),v(k,null,d(E(Et).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,At)):(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`,Mt,[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`,Nt,y(e.label),1)):(P(),A(f(e.label),{key:1}))],10,jt))],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`,Pt,[h(`div`,Ft,[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):Wt(e)===`[object Array]`}function Lt(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 Rt(e){return e==null?``:Lt(e)}function K(e){return typeof e==`string`}function zt(e){return typeof e==`number`}function Bt(e){return e===!0||e===!1||Ht(e)&&Wt(e)==`[object Boolean]`}function Vt(e){return typeof e==`object`}function Ht(e){return Vt(e)&&e!==null}function q(e){return e!=null}function Ut(e){return!e.trim().length}function Wt(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var Gt=`Incorrect 'index' type`,Kt=`Invalid doc index: must be a non-negative integer within the bounds of the docs array`,qt=e=>`Invalid value for key ${e}`,Jt=e=>`Pattern length exceeds max of ${e}.`,Yt=e=>`Missing ${e} property in key`,Xt=e=>`Property 'weight' in key '${e}' must be a positive integer`,Zt=`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.`,Qt=Object.prototype.hasOwnProperty,$t=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let n=en(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 en(e){let t=null,n=null,r=null,i=1,a=null;if(K(e)||G(e))r=e,t=tn(e),n=nn(e);else{if(!Qt.call(e,`name`))throw Error(Yt(`name`));let o=e.name;if(r=o,Qt.call(e,`weight`)&&e.weight!==void 0&&(i=e.weight,i<=0))throw Error(Xt(nn(o)));t=tn(o),n=nn(o),a=e.getFn??null}return{path:t,id:n,weight:i,src:r,getFn:a}}function tn(e){return G(e)?e:e.split(`.`)}function nn(e){return G(e)?e.join(`.`):e}function rn(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)||zt(s)||Bt(s)||typeof s==`bigint`))n.push(o===void 0?Rt(s):{v:Rt(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 an={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},on={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},sn={location:0,threshold:.6,distance:100},cn={useExtendedSearch:!1,useTokenSearch:!1,tokenize:void 0,tokenMatch:`any`,getFn:rn,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},J=Object.freeze({...on,...an,...sn,...cn});function ln(e=1,t=3){let n=new Map,r=10**t;return{get(t){let i=1,a=!1;for(let e=0;e<t.length;e++)t.charCodeAt(e)===32?a||=(i++,!0):a=!1;if(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 un=class{constructor({getFn:e=J.getFn,fieldNormWeight:t=J.fieldNormWeight}={}){this.norm=ln(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(Kt);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(Kt);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)||Ut(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(!Ut(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:Rt(n.v);if(!Ut(t)){let r={v:t,i:n.i,n:this.norm.get(t)};e.push(r)}}}}n.$[t]=e}else if(K(i)&&!Ut(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 dn(e,t,{getFn:n=J.getFn,fieldNormWeight:r=J.fieldNormWeight}={}){let i=new un({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(en)),i.setSources(t),i.create(),i}function fn(e,{getFn:t=J.getFn,fieldNormWeight:n=J.fieldNormWeight}={}){let{keys:r,records:i}=e,a=new un({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(i),a}function pn(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 mn(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(Jt(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=pn(_,s);e.length?c&&(w.indices=e):w.isMatch=!1}return w}function hn(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 gn(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 _n={ł:`l`,Ł:`L`,đ:`d`,Đ:`D`,ø:`o`,Ø:`O`,ħ:`h`,Ħ:`H`,ŧ:`t`,Ŧ:`T`,ı:`i`,ß:`ss`},vn=RegExp(`[`+Object.keys(_n).join(``)+`]`,`g`),yn=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(vn,e=>_n[e]):e=>e,bn=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?yn(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let u=(e,t)=>{this.chunks.push({pattern:e,alphabet:hn(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?yn(e):e,this.pattern===e){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}=mn(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=gn(u)),p}},xn=new Set([`fuzzy`,`include`]);function Sn(e){return e.startsWith(`inverse`)}var Cn=[{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 bn(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)}}}}],wn=Cn.length,Tn=`\0`,En=`|`;function Dn(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 On(e,t){let n=e.match(t);return n?n[1]:null}function kn(e,t={}){return e.replace(/\\\|/g,Tn).split(En).map(e=>{let n=Dn(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<wn;){let e=Cn[o],n=On(i,e.multiRegex);n&&(r.push(e.create(n,t)),a=!0)}if(!a)for(o=-1;++o<wn;){let e=Cn[o],n=On(i,e.singleRegex);if(n){r.push(e.create(n,t));break}}}return r})}var An=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?yn(e):e,this.pattern=e,this.query=kn(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?yn(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,Sn(r.type)&&(c=!0),n&&(xn.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=gn(o)),e}}return{isMatch:!1,score:1}}},jn=[];function Mn(...e){jn.push(...e)}function Nn(e,t){for(let n=0,r=jn.length;n<r;n+=1){let r=jn[n];if(r.condition(e,t))return new r(e,t)}return new bn(e,t)}var Pn={AND:`$and`,OR:`$or`},Fn={PATH:`$path`,PATTERN:`$val`},In=e=>!!(e[Pn.AND]||e[Pn.OR]),Ln=e=>!!e[Fn.PATH],Rn=e=>!G(e)&&Vt(e)&&!In(e),zn=e=>({[Pn.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Bn(e,t,{auto:n=!0}={}){let r=e=>{if(K(e)){let r={keyId:null,pattern:e};return n&&(r.searcher=Nn(e,t)),r}let i=Object.keys(e),a=Ln(e);if(!a&&i.length>1&&!In(e))return r(zn(e));if(Rn(e)){let r=a?e[Fn.PATH]:i[0],o=a?e[Fn.PATTERN]:e[r];if(!K(o))throw Error(qt(r));let s={keyId:nn(r),pattern:o};return n&&(s.searcher=Nn(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 In(e)||(e=zn(e)),r(e)}function Vn(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 Hn(e,{ignoreFieldNorm:t=J.ignoreFieldNorm}){e.forEach(e=>{e.score=Vn(e.matches,{ignoreFieldNorm:t})})}var Un=class{constructor(e){this.limit=e,this.heap=[]}get size(){return this.heap.length}shouldInsert(e){return this.size<this.limit||e<this.heap[0].score}insert(e){this.size<this.limit?(this.heap.push(e),this._bubbleUp(this.size-1)):e.score<this.heap[0].score&&(this.heap[0]=e,this._sinkDown(0))}extractSorted(e){return this.heap.sort(e)}_bubbleUp(e){let t=this.heap;for(;e>0;){let n=e-1>>1;if(t[e].score<=t[n].score)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&&t[i].score>t[r].score&&(r=i),a<n&&t[a].score>t[r].score&&(r=a),r!==e){let n=t[e];t[e]=t[r],t[r]=n}}while(r!==e)}};function Wn(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 Gn(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=Wn(e)),r&&(a.score=e.score),a})}var Kn=/[\p{L}\p{M}\p{N}_]+/gu,qn=new WeakSet;function Jn(e){qn.has(e)||(qn.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 Yn(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||Jn(e),t=>t.match(e)||[]):e=>e.match(Kn)||[]}function Xn({isCaseSensitive:e=!1,ignoreDiacritics:t=!1,tokenize:n}={}){let r=Yn(n);return{tokenize(n){return e||(n=n.toLowerCase()),t&&(n=yn(n)),r(n)}}}var Zn=class{static condition(e,t){return t.useTokenSearch}constructor(e,t){this.options=t,this.analyzer=Xn({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 bn(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=gn(t)),this.combineAll&&(this.useMask?c.matchedMask=a:c.matchedTerms=o,c.termCount=this.numTerms),c}};function Qn(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 $n(e,t,n,r){let{i,v:a,$:o}=t;if(a!==void 0){Qn(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)Qn(e,t.v,i,r);else Qn(e,n.v,i,r)}}function er(e,t,n){let r={fieldCount:0,df:new Map,docFieldCount:new Map,docTermFieldHits:new Map};for(let i of e)$n(r,i,t,n);return r}function tr(e,t,n,r){$n(e,t,n,r)}function nr(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 rr(e,t){if(t.length===0)return;let n=Array.from(new Set(t)).sort((e,t)=>e-t);for(let t of n)nr(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 $t(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=Nn(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 un))throw Error(Gt);if(this._myIndex=t||dn(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){let e=Xn({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});this._invertedIndex=er(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=Xn({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});tr(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&&rr(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(Kt);this._invertedIndex&&rr(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}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 zt(n)&&n>-1&&(e=e.slice(0,n)),e}let c=zt(n)&&n>0&&K(e),l;if(c){let t=new Un(n);K(this._docs[0])?this._searchStringList(e,{heap:t,ignoreFieldNorm:s}):this._searchObjectList(e,{heap:t,ignoreFieldNorm:s}),l=t.extractSorted(o)}else l=K(e)?K(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e),Hn(l,{ignoreFieldNorm:s}),a&&l.sort(o),zt(n)&&n>-1&&(l=l.slice(0,n));return Gn(l,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=Vn(r.matches,{ignoreFieldNorm:n}),t.shouldInsert(r.score)&&t.insert(r)):o.push(r)}}}),o}_searchLogical(e){let t=Bn(e,this.options),n=(e,t,r)=>{if(!(`children`in e)){let{keyId:n,searcher:i}=e,a;return n===null?(a=[],this._myIndex.keys.forEach((e,n)=>{a.push(...this._findMatches({key:e,value:t[n],searcher:i}))})):a=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:i}),a&&a.length?[{idx:r,item:t,matches:a}]:[]}let{children:i,operator:a}=e,o=[];for(let e=0,s=i.length;e<s;e+=1){let s=i[e],c=n(s,t,r);if(c.length)o.push(...c);else if(a===Pn.AND)return[]}return o},r=this._myIndex.records,i=new Map,a=[];return r.forEach(({$:e,i:r})=>{if(q(e)){let o=n(t,e,r);o.length&&(i.has(r)||(i.set(r,{idx:r,item:e,matches:[]}),a.push(i.get(r))),o.forEach(({matches:e})=>{i.get(r).matches.push(...e)}))}}),a}_searchObjectList(e,{heap:t,ignoreFieldNorm:n}={}){let r=this._getSearcher(e),i=this.options.useTokenSearch&&this.options.tokenMatch===`all`,{keys:a,records:o}=this._myIndex,s=t?null:[];return o.forEach(({$:e,i:o})=>{if(!q(e))return;let c=[],l=!1,u=!1;if(a.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:o,item:e,matches:c};t?(r.score=Vn(r.matches,{ignoreFieldNorm:n}),t.shouldInsert(r.score)&&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.4.2`,Y.createIndex=dn,Y.parseIndex=fn,Y.config=J,Y.match=function(e,t,n){if(n&&n.useTokenSearch)throw Error(Zt);return Nn(e,{...J,...n}).searchIn(t)},Y.parseQuery=Bn,Mn(An),Mn(Zn),Y.use=function(...e){e.forEach(e=>Mn(e))};var ir=Y,ar={key:0},or={key:1},sr={key:2},cr={key:3},lr={key:4},ur={key:5},dr={key:6},fr={key:7},pr={key:8},mr={key:9},hr={key:10},gr={key:11},_r={key:12},vr={key:13},yr={key:14},br={key:15},xr={key:16},Sr=u({__name:`title-renderer`,props:{no:{}},setup(e){let t=e,{$page:n}=Ye(),r=T(()=>+(t.no??n.value));return(e,t)=>(P(),v(`div`,null,[r.value===1?(P(),v(`p`,ar,`Optimizing Skills and Tools, with Vision and GEPA`)):r.value===2?(P(),v(`p`,or,`undefined`)):r.value===3?(P(),v(`p`,sr,`GEPA loop`)):r.value===4?(P(),v(`p`,cr,`Score breakdown`)):r.value===5?(P(),v(`p`,lr,`Story Writing GEPA trace`)):r.value===6?(P(),v(`p`,ur,`undefined`)):r.value===7?(P(),v(`p`,dr,`HTML Skill → Actionable Side Information`)):r.value===8?(P(),v(`p`,fr,`Optimising the Skill: gpt-oss-120b`)):r.value===9?(P(),v(`p`,pr,`With a Small Model: Qwen-3.6 35-A3B`)):r.value===10?(P(),v(`p`,mr,`Batches, Labels and Tools and Other Uses`)):r.value===11?(P(),v(`p`,hr,`undefined`)):r.value===12?(P(),v(`p`,gr,`undefined`)):r.value===13?(P(),v(`p`,_r,`Good benchmarks`)):r.value===14?(P(),v(`p`,vr,`OpenClaw GitHub issue labelling`)):r.value===15?(P(),v(`p`,yr,`Common Issues`)):r.value===16?(P(),v(`p`,br,`fast-agent docs`)):r.value===17?(P(),v(`p`,xr,`undefined`)):M(`v-if`,!0)]))}}),Cr={class:`bg-main transform`,shadow:`~`,p:`x-4 y-2`,border:`~ transparent rounded dark:main`},wr=[`value`,`disabled`],Tr={table:``,"w-full":``,"border-collapse":``},Er=[`border`,`onClick`],Dr={"text-right":``,op50:``,"text-sm":``,"table-cell":``,"py-2":``,"pl-4":``,"pr-3":``,"vertical-middle":``},Or=Be(u({__name:`Goto`,setup(e){let n=x(),r=x(),i=x(),o=x(),s=x(``),c=x(0),{go:l,slides:u}=H();function f(e){return e!=null}let p=T(()=>new ir(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 S(){if(b.value){let e=_.value.at(c.value||0);e&&l(e.no)}C()}function C(){s.value=``,U.value=!1}function D(e){e.preventDefault(),c.value++,c.value>=_.value.length&&(c.value=0),O()}function ee(e){e.preventDefault(),c.value--,c.value<=-2&&(c.value=_.value.length-1),O()}function O(){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 te(e){c.value=0,s.value=e.target.value}function ne(e){l(e),C()}return a(U,async e=>{e?(s.value=``,c.value=0,setTimeout(()=>r.value?.focus(),0)):r.value?.blur()}),a(st,()=>{n.value?.contains(st.value)||C()}),(e,a)=>(P(),v(`div`,{id:`slidev-goto-dialog`,ref_key:`container`,ref:n,class:g([`fixed right-5 transition-all`,E(U)?`top-5`:`-top-20`]),"w-90":``,"max-w-90":``,"min-w-90":``},[h(`div`,Cr,[h(`input`,{id:`slidev-goto-input`,ref_key:`input`,ref:r,value:s.value,type:`text`,disabled:!E(U),class:g([`outline-none bg-transparent`,{"text-red-400":!b.value&&s.value}]),placeholder:`Goto...`,onKeydown:[w(S,[`enter`]),w(C,[`escape`]),w(D,[`down`]),w(ee,[`up`])],onInput:te},null,42,wr)]),E(U)&&_.value.length>0?(P(),v(`div`,{key:0,ref_key:`list`,ref:i,class:`autocomplete-list`,shadow:`~`,border:`~ transparent rounded dark:main`},[h(`ul`,Tr,[(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:re(t=>ne(e.no),[`stop`,`prevent`])},[h(`div`,Dr,y(e.no),1),t(E(Sr),{"table-cell":``,"py-2":``,"pr-4":``,"w-full":``,no:e.no},null,8,[`no`])],10,Er))),128))])],512)):M(`v-if`,!0)],2))}}),[[`__scopeId`,`data-v-42be5418`]]),kr=x(1),Ar=T(()=>qe.value.length),X=x(0),jr=x(0);function Mr(){X.value>kr.value&&--X.value}function Nr(){X.value<Ar.value&&(X.value+=1)}function Pr(){if(X.value>kr.value){let e=X.value-jr.value;e<kr.value&&(e=kr.value),X.value=e}}function Fr(){if(X.value<Ar.value){let e=X.value+jr.value;e>Ar.value&&(e=Ar.value),X.value=e}}var Ir=[`onClick`],Lr={class:`text-green font-bold`},Rr={class:`opacity-50`},zr={key:1,class:`opacity-50`},Br={class:`fixed top-4 right-4 z-modal text-gray-400 flex flex-col items-center gap-2`},Vr=128,Hr=32,Ur=u({__name:`QuickOverview`,setup(e){let{currentSlideNo:n,go:r,slides:i}=H();function a(){z.value=!1}function o(e){r(e),a()}function s(e){return e===X.value}let l=He.smaller(`xs`),u=He.smaller(`sm`),f=T(()=>l.value?Pe.width.value-Vr:u.value?(Pe.width.value-Vr-Hr)/2:300),b=T(()=>Math.floor((Pe.width.value-Vr)/(f.value+Hr))),C=x(``);return pe(`keypress`,e=>{if(!z.value){C.value=``;return}if(e.key===`Enter`){e.preventDefault(),C.value?(o(+C.value),C.value=``):o(X.value);return}let t=Number.parseInt(e.key.replace(/\D/g,``));if(Number.isNaN(t)){C.value=``;return}if(!C.value&&t===0)return;if(C.value+=String(t),+C.value>i.value.length){C.value=``;return}let n=i.value.findIndex(e=>`/${e.no}`===C.value);n!==-1&&(X.value=n+1),C.value*10>i.value.length&&(o(+C.value),C.value=``)}),p(()=>{X.value=n.value,jr.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(dt,{key:e.no,no:e.no,"use-snapshot":!0,width:f.value,class:`pointer-events-none`},{default:m(()=>[t(mt,{"clicks-context":E(Ue)(e,E(Ve)),route:e,"render-context":`overview`},null,8,[`clicks-context`,`route`]),t(lt,{page:e.no},null,8,[`page`])]),_:2},1032,[`no`,`width`]))],10,Ir),h(`div`,{class:`absolute top-0`,style:N(`left: ${f.value+5}px`)},[C.value&&String(n+1).startsWith(C.value)?(P(),v(k,{key:0},[h(`span`,Lr,y(C.value),1),h(`span`,Rr,y(String(n+1).slice(C.value.length)),1)],64)):(P(),v(`span`,zr,y(n+1),1))],4)]))),128))],4)])):M(`v-if`,!0)]),_:1}),c(h(`div`,Br,[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(Ce)}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),[[S,E(z)]])],64))}});function Wr(){let e=ge();return T(()=>{let t=ut.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 Gr={key:0,class:`absolute top-0 left-0 right-0 bottom-0 pointer-events-none text-xl`},Kr=Be(u({__name:`LaserPointer`,setup(e){let t=Wr(),{isPresenter:n}=H(),r=T(()=>!n.value&&$e.cursor?.style===`laser`?$e.cursor:ot.value===`laser`?t.value:null);return o(()=>{p(()=>{document.body.classList.toggle(`slidev-self-laser-active`,ot.value===`laser`&&!!r.value)})}),(e,t)=>r.value?(P(),v(`div`,Gr,[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`]]),qr={render:()=>[]},Jr={key:0,class:`bg-main text-main shadow-xl absolute bottom-10 left-0 z-menu py2`,border:`~ main rounded-md`},Yr=u({__name:`MenuButton`,props:{modelValue:{default:!1},disabled:{default:!1}},setup(e,{emit:t}){let n=le(e,`modelValue`,t,{passive:!0}),r=x();return fe(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(D,null,[E(n)?(P(),v(`div`,Jr,[i(t.$slots,`menu`)])):M(`v-if`,!0)],1024))],512))}}),Xr={border:`~ main rounded`,flex:`~ gap-2 items-center`,relative:``,"h-5":``,"w-5":``,"p0.5":``,"hover:bg-active":``,p1:``},Zr=[`disabled`],Qr=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`,Xr,[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,Zr),[[b,t.value]])]))}}),$r={"w-30":``,"h-8":``,flex:`~ gap-1 items-center`},ei={key:0,"w-1.5":``,"h-1.5":``,"bg-primary":``,rounded:``,absolute:``,"top-0":``,"right--2":``},ti={key:0,"w-1.5":``,"h-1.5":``,"bg-primary":``,rounded:``,absolute:``,"top-0":``,"right--2":``},ni=[`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`,$r,[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(te),{key:2,distance:`10`},{popper:m(()=>[h(`div`,{"text-sm":``,"min-w-90":``,innerHTML:e.description},null,8,ni)]),default:m(()=>[h(`div`,{op75:``,"text-right":``,relative:``,onDblclick:r},[l(y(e.title)+` `,1),e.dot?(P(),v(`div`,ti)):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`,ei)):M(`v-if`,!0)],32))]),i(t.$slots,`default`)]),_:3}))}}),ri={relative:``,"h-22px":``},ii={key:0,"pointer-events-none":``,absolute:``,"right-1":``,"top-0.5":``,"text-xs":``,op25:``},ai=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),[[ae,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`,ri,[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),[[ae,n.value,void 0,{number:!0}]]),t.unit?(P(),v(`span`,ii,y(t.unit),1)):M(`v-if`,!0)])],64))}}),oi={error:0,client:60,Light:60,Dark:240};function si(e,t=1){if(oi[e])return ci(oi[e],t);let n=0;for(let t=0;t<e.length;t++)n=e.charCodeAt(t)+((n<<5)-n);return ci(n%360,t)}function ci(e,t=1){return`hsla(${e}, ${e===-1?0:Qe.value?50:100}%, ${Qe.value?60:20}%, ${t})`}var li=[`textContent`],ui=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`?ci(t.color):si(t.text),background:typeof t.color==`number`?ci(t.color,.1):si(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,li)])]),_:3},8,[`class`,`style`]))}}),di={flex:`~ gap-1 items-center`,rounded:``,"bg-gray:4":``,p1:``,"m--1":``},fi=u({__name:`SegmentControl`,props:{options:{},modelValue:{}},emits:[`update:modelValue`],setup(e){return(t,n)=>(P(),v(`div`,di,[(P(!0),v(k,null,d(e.options,n=>(P(),A(ui,{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))]))}}),pi={"text-sm":``,"select-none":``,flex:`~ col gap-1`,"min-w-30":``,px4:``},mi=u({__name:`Settings`,setup(e){let{isPresenter:n}=H(),{isSupported:r}=oe();return(e,i)=>(P(),v(`div`,pi,[t(Z,{title:`Invert`,dot:E(V).invert!==E(B).invert,onReset:i[1]||=e=>E(V).invert=E(B).invert},{default:m(()=>[t(Qr,{modelValue:E(V).invert,"onUpdate:modelValue":i[0]||=e=>E(V).invert=e},null,8,[`modelValue`])]),_:1},8,[`dot`]),t(Z,{title:`Brightness`,dot:E(V).brightness!==E(B).brightness,onReset:i[3]||=e=>E(V).brightness=E(B).brightness},{default:m(()=>[t(ai,{modelValue:E(V).brightness,"onUpdate:modelValue":i[2]||=e=>E(V).brightness=e,max:1.5,min:.5,step:.02,default:E(B).brightness},null,8,[`modelValue`,`default`])]),_:1},8,[`dot`]),t(Z,{title:`Contrast`,dot:E(V).contrast!==E(B).contrast,onReset:i[5]||=e=>E(V).contrast=E(B).contrast},{default:m(()=>[t(ai,{modelValue:E(V).contrast,"onUpdate:modelValue":i[4]||=e=>E(V).contrast=e,max:1.5,min:.5,step:.02,default:E(B).contrast},null,8,[`modelValue`,`default`])]),_:1},8,[`dot`]),t(Z,{title:`Saturation`,dot:E(V).saturate!==E(B).saturate,onReset:i[7]||=e=>E(V).saturate=E(B).saturate},{default:m(()=>[t(ai,{modelValue:E(V).saturate,"onUpdate:modelValue":i[6]||=e=>E(V).saturate=e,max:1.5,min:.5,step:.02,default:E(B).saturate},null,8,[`modelValue`,`default`])]),_:1},8,[`dot`]),t(Z,{title:`Sepia`,dot:E(V).sepia!==E(B).sepia,onReset:i[9]||=e=>E(V).sepia=E(B).sepia},{default:m(()=>[t(ai,{modelValue:E(V).sepia,"onUpdate:modelValue":i[8]||=e=>E(V).sepia=e,max:2,min:-2,step:.02,default:E(B).sepia},null,8,[`modelValue`,`default`])]),_:1},8,[`dot`]),t(Z,{title:`Hue Rotate`,dot:E(V).hueRotate!==E(B).hueRotate,onReset:i[11]||=e=>E(V).hueRotate=E(B).hueRotate},{default:m(()=>[t(ai,{modelValue:E(V).hueRotate,"onUpdate:modelValue":i[10]||=e=>E(V).hueRotate=e,max:180,min:-180,step:.1,default:E(B).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(fi,{modelValue:E(ot),"onUpdate:modelValue":i[12]||=e=>ie(ot)?ot.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(fi,{modelValue:E(Re),"onUpdate:modelValue":i[13]||=e=>ie(Re)?Re.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(Qr,{modelValue:E(ze),"onUpdate:modelValue":i[14]||=e=>ie(ze)?ze.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(Qr,{modelValue:E(Te),"onUpdate:modelValue":i[15]||=e=>ie(Te)?Te.value=e:null},null,8,[`modelValue`])]),_:1}))]))}}),hi={class:`select-list`},gi={class:`title`},_i={class:`items`},vi=[`onClick`],yi=Be(u({__name:`SelectList`,props:{modelValue:{type:[Object,String,Number,Boolean]},title:{type:String},items:{type:Array}},setup(e,{emit:t}){let n=le(e,`modelValue`,t,{passive:!0});return(t,r)=>(P(),v(`div`,hi,[h(`div`,gi,y(e.title),1),h(`div`,_i,[(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,vi))),128))])]))}}),[[`__scopeId`,`data-v-6cd69f25`]]),bi={"text-sm":``,flex:`~ col gap-2`},xi={px3:``,"ws-nowrap":``},Si={"font-bold":``,"text-primary":``},Ci=u({__name:`SyncControls`,setup(e){let{isPresenter:n}=H(),r=T({get:()=>n.value?L.value.presenterReceive:L.value.viewerReceive,set(e){n.value?L.value.presenterReceive=e:L.value.viewerReceive=e}}),i=T({get:()=>n.value?L.value.presenterSend:L.value.viewerSend,set(e){n.value?L.value.presenterSend=e:L.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(Yr,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`,bi,[h(`div`,xi,[o[1]||=h(`span`,{op75:``},`Slides navigation syncing for `,-1),h(`span`,Si,y(E(n)?`presenter`:`viewer`),1)]),o[2]||=h(`div`,{class:`h-1px opacity-10 bg-current w-full`},null,-1),t(yi,{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}))}}),wi={key:0,class:`i-carbon:minimize`},Ti={key:1,class:`i-carbon:maximize`},Ei={key:0,class:`i-carbon-moon`},Di={key:1,class:`i-carbon-sun`},Oi={key:0,class:`i-carbon-magic-wand-filled color-red-600 dark:color-red-400`},ki={key:1,class:`i-carbon-magic-wand`},Ai={key:0,class:`i-ph-cursor-fill`},ji={key:1,class:`i-ph-cursor-duotone`},Mi={key:0,"w-2":``,"h-2":``,"bg-primary":``,"rounded-full":``,absolute:``,"top-0.5":``,"right-0.5":``},Ni={class:`px2 my-auto`},Pi={class:`text-lg`},Fi={class:`opacity-50 text-sm`},Ii=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:_}=H(),{brush:b,drawingEnabled:S}=ct(),w=He.smaller(`md`),{isFullscreen:D,toggle:ee}=at,O=x();function te(){O.value&&st.value&&O.value.contains(st.value)&&st.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:O,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(ee)},{default:m(()=>[E(D)?(P(),v(`div`,wi)):(P(),v(`div`,Ti))]),_: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(Ae)()},{default:m(()=>[...n[8]||=[h(`div`,{class:`i-carbon:apps`},null,-1)]]),_:1})),E(et)?M(`v-if`,!0):(P(),A(W,{key:2,title:E(Qe)?`Switch to light mode theme`:`Switch to dark mode theme`,onClick:n[1]||=e=>E(Ke)()},{default:m(()=>[E(Qe)?(P(),v(`div`,Ei)):(P(),v(`div`,Di))]),_:1},8,[`title`])),t(vt),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(vt)],64)):M(`v-if`,!0),E(s)?(P(),A(W,{key:1,title:E(ot)===`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(tt)()},{default:m(()=>[E(ot)===`laser`?(P(),v(k,{key:0},[E(De)?(P(),v(`div`,Oi)):(P(),v(`div`,ki))],64)):(P(),v(k,{key:1},[E(De)?(P(),v(`div`,Ai)):(P(),v(`div`,ji))],64))]),_:1},8,[`title`,`active`])):M(`v-if`,!0),!E(R).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(vt),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(R).download?(P(),A(W,{key:0,title:`Download as PDF`,onClick:E(Je)},{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(R).info&&!E(o)?(P(),A(W,{key:6,title:`Show info`,onClick:n[5]||=e=>xe.value=!E(xe)},{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(vt),E(s)?(P(),A(W,{key:0,title:`Toggle Presenter Layout`,class:`aspect-ratio-initial flex items-center`,onClick:E(ke)},{default:m(()=>[n[16]||=h(`div`,{class:`i-carbon:template`},null,-1),l(` `+y(E(Ne)),1)]),_:1},8,[`onClick`])):M(`v-if`,!0),(P(),A(Ci,{key:1})),t(Yr,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(Ie)?(P(),v(`div`,Mi)):M(`v-if`,!0)]),_:1},8,[`active`])]),menu:m(()=>[t(mi)]),_:1})],64)),E(o)?M(`v-if`,!0):(P(),A(vt,{key:8})),h(`div`,Ni,[h(`span`,Pi,y(E(r)),1),h(`span`,Fi,` / `+y(E(f)),1)]),t(E(qr))],34)],512))}}),Li=new Set,Ri=new Set,zi=/\/$/;function Bi(e){return e.startsWith(`http`)||e.startsWith(`//`)?e:`${`./`.replace(zi,``)}${e.startsWith(`/`)?e:`/${e}`}`}function Vi(e){let t=Bi(e);if(Li.has(t)||Ri.has(t))return;Ri.add(t);let n=new Image;n.onload=()=>{Ri.delete(t),Li.add(t)},n.onerror=()=>{Ri.delete(t)},n.src=t}function Hi(e){let t=e.meta?.slide?.images;if(t?.length)for(let e of t)Vi(e)}function Ui(e,t,n,r){let i=R.preloadImages;if(i===!1)return;let a=typeof i==`object`&&i?.ahead||3;p(()=>{let i=e.value,o=r.value;if(!i||!o?.length)return;Hi(i),Hi(t.value),Hi(n.value);let s=i.no-1;for(let e=1;e<=a;e++){let t=s+e;t<o.length&&Hi(o[t])}}),p(e=>{let t=r.value,n=setTimeout(()=>{if(t?.length)for(let e of t)Hi(e)},3e3);e(()=>clearTimeout(n))})}function Wi(){let e=ue(),t=x(!1),n,r,i=typeof document<`u`&&`startViewTransition`in document;return e.beforeResolve((e,a)=>{let o=ye(a.params.no)?.meta,s=ye(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)??R.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 Gi=[`data-drag-id`],Q=10,$=10,Ki=`absolute border border-gray bg-gray dark:border-gray-500 dark:bg-gray-800 bg-opacity-30 `,qi=20,Ji=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(We,x(1)),m=T(()=>f.value*i.value),{left:_,top:y}=nt(),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),ee=T(()=>c.value*C.value+l.value*w.value),O=T(()=>o.value-D.value/2),te=T(()=>s.value-ee.value/2),ne=T(()=>o.value+D.value/2),re=T(()=>s.value+ee.value/2),ie=T(()=>d&&c.value<0),ae=T(()=>d&&l.value<0),A=null;function oe(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=Ze(t,-D.value/2+$,Ee.value+D.value/2-$),s.value=Ze(n,-ee.value/2+$,Le.value+ee.value/2-$)}function le(e){A&&=(e.preventDefault(),e.stopPropagation(),null)}function ue(e,t){return{onPointerdown:oe,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:Ki}}function de(e){return{onPointerdown:oe,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:Ki}}function F(){return{onPointerdown:oe,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:Ki}}let fe={immediate:!1,immediateCallback:!1},pe=se(()=>{ne.value<=$||o.value--},qi,fe),me=se(()=>{O.value>=Ee.value-$||o.value++},qi,fe),he=se(()=>{re.value<=$||s.value--},qi,fe),I=se(()=>{te.value>=Le.value-$||s.value++},qi,fe);return p(()=>{function e(e,t){Me[e].value?t.resume():t.pause()}e(`left`,pe),e(`right`,me),e(`up`,he),e(`down`,I)}),(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:oe,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(ue(!0,!0))),null,16),h(`div`,j(n(ue(!1,!1))),null,16),E(d)?M(`v-if`,!0):(P(),v(k,{key:0},[h(`div`,j(n(ue(!0,!1))),null,16),h(`div`,j(n(ue(!1,!0))),null,16)],64))],64)),E(d)?M(`v-if`,!0):(P(),v(k,{key:1},[h(`div`,j(n(de(`l`))),null,16),h(`div`,j(n(de(`r`))),null,16),E(a)?M(`v-if`,!0):(P(),v(k,{key:0},[h(`div`,j(n(de(`t`))),null,16),h(`div`,j(n(de(`b`))),null,16)],64)),h(`div`,j(n(F())),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,Gi)):M(`v-if`,!0)}}),Yi=Be(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:_}=H();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))}),Ui(n,a,o,l);let b=Wi(),x=C();Ge(()=>import(`./DrawingLayer-CNfu6Fw1.js`).then(e=>x.value=e.default),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url);let w=T(()=>u.value?_.value.map(e=>l.value[e-1]):l.value.filter(e=>e.meta?.__preloaded||e===n.value));function D(){we.value=!0,ee()}return(a,o)=>(P(),v(k,null,[M(` Global Bottom `),t(E(ft)),M(` Slides `),(P(),A(f(E(b)&&!E(u)&&!E(we)&&!E(Se)?`div`:ne),s(E(we)||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:D}),{default:m(()=>[(P(!0),v(k,null,d(w.value,t=>c((P(),A(mt,{key:t.no,"clicks-context":E(u)&&!E(h)?E(Ue)(t,E(Ve)):E(i)(t),route:t,"render-context":e.renderContext},null,8,[`clicks-context`,`route`,`render-context`])),[[S,t===E(n)]])),128))]),_:1},16,[`class`])),E(it)?(P(),A(Ji,{key:0,data:E(it)},null,8,[`data`])):M(`v-if`,!0),M(` Global Top `),t(E(pt)),x.value?(P(),A(E(x),{key:1})):M(`v-if`,!0)],64))}}),[[`__scopeId`,`data-v-7fa97661`]]),Xi=Object.assign({}),Zi=Object.assign({}),Qi=[Object.values(Xi)[0],Object.values(Zi)[0]].filter(Boolean);function $i(){let{go:e,goFirst:t,goLast:n,next:r,nextSlide:i,prev:a,prevSlide:o}=H(),{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}=Me,b={next:r,prev:a,nextSlide:i,prevSlide:o,go:e,goFirst:t,goLast:n,downloadPDF:Je,toggleDark:Ke,toggleOverview:Ae,toggleDrawing:()=>s.value=!s.value,escapeOverview:()=>z.value=!1,showGotoDialog:()=>U.value=!U.value},x=I(F(z),F(it)),S=[{name:`next_space`,key:I(l,F(u)),fn:r,autoRepeat:!0},{name:`prev_space`,key:I(l,u),fn:a,autoRepeat:!0},{name:`next_right`,key:I(f,F(u),x),fn:r,autoRepeat:!0},{name:`prev_left`,key:I(d,F(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:I(m,x),fn:i,autoRepeat:!0},{name:`prev_up`,key:I(p,x),fn:o,autoRepeat:!0},{name:`next_shift`,key:I(f,u),fn:i,autoRepeat:!0},{name:`prev_shift`,key:I(d,u),fn:o,autoRepeat:!0},{name:`toggle_dark`,key:I(g,F(s)),fn:Ke},{name:`toggle_overview`,key:I(me(v,y),F(s)),fn:Ae},{name:`hide_overview`,key:I(c,F(s)),fn:()=>z.value=!1},{name:`goto`,key:I(_,F(s)),fn:()=>U.value=!U.value},{name:`next_overview`,key:I(f,z),fn:Nr},{name:`prev_overview`,key:I(d,z),fn:Mr},{name:`up_overview`,key:I(p,z),fn:Pr},{name:`down_overview`,key:I(m,z),fn:Fr},{name:`goto_from_overview`,key:I(h,z),fn:()=>{e(X.value),z.value=!1}}],C=new Set(S.map(e=>e.name));for(let e of Qi)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 ea(){let{isPrintMode:e}=H(),t=I(F(be),F(Xe),F(e),Oe,F(je)),n=$i();new Map(n.map(e=>[e.key,e])).forEach(e=>{e.fn&&r(e.key,e.fn,e.autoRepeat)}),i(`f`,()=>at.toggle());function r(e,n,r=!1){typeof e==`string`&&(e=Me[e]);let i=I(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 he(e,e=>{t.value&&(e.repeat||n())})}}export{Kr as a,Or as c,bt as d,yt as f,fi as i,It as l,Yi as n,Wr as o,vt as p,Ii as r,Ur as s,ea as t,kt as u};
|
2026/arize-gepa/assets/useDrawings-WXah0vTR.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{J as e,N as t,ct as n,g as r,it as i,ot as a}from"./modules/shiki-CPCtrUKm.js";import{E as o,h as s}from"./modules/vue-DgDNZQuz.js";import{A as c,Ot as l,_ as u,c as d,l as f,s as p}from"./index-BxRQo_Vt.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?!0: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=o(()=>{let{currentSlideNo:o,isPresenter:m}=u(),h=[`#ff595e`,`#ffca3a`,`#8ac926`,`#1982c4`,`#6a4c93`,`#ffffff`,`#000000`],g=s(`slidev-drawing-enabled`,!1),_=s(`slidev-drawing-pinned`,!1),v=s(`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(()=>l.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&&(!l.drawings.presenterOnly||m.value)?void 0:[`pen`]),coordinateTransform:!1}),O=i(oe(D));function k(){O.clear(),w.value&&f(o.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||o.value];t==null?O.clear():O.load(t),A(),T=!1}return O.on(`changed`,()=>{if(A(),!T){let e=O.dump(),t=o.value;(p[t]||``)!==e&&w.value&&f(t,O.dump())}}),d(e=>{T=!0,e[o.value]!=null&&O.load(e[o.value]||``),T=!1,A()}),t(()=>{e(o,()=>{O.mounted&&j()},{immediate:!0})}),O.on(`start`,()=>y.value=!0),O.on(`end`,()=>y.value=!1),window.addEventListener(`keydown`,e=>{if(!g.value||c.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/arize-gepa/index.html
CHANGED
|
@@ -21,10 +21,10 @@
|
|
| 21 |
<meta name="description" content=""Starter Slidev deck for Optimizing Skills and Tools, with Vision and GEPA.\n"">
|
| 22 |
<meta name="author" content=""Shaun Smith"">
|
| 23 |
<meta property="og:title" content="Optimizing Skills and Tools, with Vision and GEPA - Slidev">
|
| 24 |
-
<meta property="og:description" content=""Starter Slidev deck for Optimizing Skills and Tools, with Vision and GEPA.\n""> <script type="module" crossorigin src="./assets/index-
|
| 25 |
<link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-QTnfLwEv.js">
|
| 26 |
<link rel="modulepreload" crossorigin href="./assets/modules/shiki-CPCtrUKm.js">
|
| 27 |
-
<link rel="modulepreload" crossorigin href="./assets/modules/vue-
|
| 28 |
<link rel="stylesheet" crossorigin href="./assets/modules/shiki-BrmBd2_v.css">
|
| 29 |
<link rel="stylesheet" crossorigin href="./assets/index-DitwSL5-.css">
|
| 30 |
</head>
|
|
|
|
| 21 |
<meta name="description" content=""Starter Slidev deck for Optimizing Skills and Tools, with Vision and GEPA.\n"">
|
| 22 |
<meta name="author" content=""Shaun Smith"">
|
| 23 |
<meta property="og:title" content="Optimizing Skills and Tools, with Vision and GEPA - Slidev">
|
| 24 |
+
<meta property="og:description" content=""Starter Slidev deck for Optimizing Skills and Tools, with Vision and GEPA.\n""> <script type="module" crossorigin src="./assets/index-BxRQo_Vt.js"></script>
|
| 25 |
<link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-QTnfLwEv.js">
|
| 26 |
<link rel="modulepreload" crossorigin href="./assets/modules/shiki-CPCtrUKm.js">
|
| 27 |
+
<link rel="modulepreload" crossorigin href="./assets/modules/vue-DgDNZQuz.js">
|
| 28 |
<link rel="stylesheet" crossorigin href="./assets/modules/shiki-BrmBd2_v.css">
|
| 29 |
<link rel="stylesheet" crossorigin href="./assets/index-DitwSL5-.css">
|
| 30 |
</head>
|
2026/july-release-party/.gitkeep
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
|
2026/july-release-party/404.html
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 6 |
+
<title>July Release Party</title>
|
| 7 |
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@200;400;600&family=IBM+Plex+Mono:wght@200;400;600&display=swap" type="text/css">
|
| 8 |
+
<link rel="preload" as="image" href="./brand/hugging-face.svg">
|
| 9 |
+
<link rel="preload" as="image" href="./intro/github-mark.svg">
|
| 10 |
+
<link rel="preload" as="image" href="./intro/x-mark.svg">
|
| 11 |
+
<link rel="preload" as="image" href="./brand/mcp-symbol-black.svg">
|
| 12 |
+
<link rel="preload" as="image" href="./images/mcp-webcam.png">
|
| 13 |
+
<link rel="preload" as="image" href="./images/clients-data.png">
|
| 14 |
+
<link rel="icon" href="https://cdn.jsdelivr.net/gh/slidevjs/slidev/assets/favicon.png">
|
| 15 |
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
| 16 |
+
<meta property="slidev:version" content="52.18.0">
|
| 17 |
+
<meta name="description" content=""July Release Party presentation.\n"">
|
| 18 |
+
<meta name="author" content=""Shaun Smith"">
|
| 19 |
+
<meta property="og:title" content="July Release Party">
|
| 20 |
+
<meta property="og:description" content=""July Release Party presentation.\n""> <script type="module" crossorigin src="./assets/index-CHOd5jjo.js"></script>
|
| 21 |
+
<link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-QTnfLwEv.js">
|
| 22 |
+
<link rel="modulepreload" crossorigin href="./assets/modules/shiki-CSYx1hey.js">
|
| 23 |
+
<link rel="modulepreload" crossorigin href="./assets/_plugin-vue_export-helper-BDNMzG2s.js">
|
| 24 |
+
<link rel="modulepreload" crossorigin href="./assets/modules/vue-CTLtUbT_.js">
|
| 25 |
+
<link rel="modulepreload" crossorigin href="./assets/slidev/context-T2gS7_mS.js">
|
| 26 |
+
<link rel="modulepreload" crossorigin href="./assets/useNav-Bvv0p3kN.js">
|
| 27 |
+
<link rel="modulepreload" crossorigin href="./assets/syncState-DFfDxw0Y.js">
|
| 28 |
+
<link rel="stylesheet" crossorigin href="./assets/modules/shiki-BrmBd2_v.css">
|
| 29 |
+
<link rel="stylesheet" crossorigin href="./assets/index-ZqsSdHV_.css">
|
| 30 |
+
</head>
|
| 31 |
+
<body>
|
| 32 |
+
<div id="app"></div>
|
| 33 |
+
<div id="mermaid-rendering-container"></div>
|
| 34 |
+
|
| 35 |
+
</body>
|
| 36 |
+
</html>
|
2026/july-release-party/_redirects
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
./* ./index.html 200
|
2026/july-release-party/assets/404-VQkf1Vlw.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
.page-link[data-v-014f0510]{background-color:#9ca3af1a;border-radius:.25rem;padding:.5rem 1rem}.page-link[data-v-014f0510]:hover{background-color:#9ca3af33}
|
2026/july-release-party/assets/DrawingControls-Dhbx0szf.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
.v-popper--theme-dropdown .v-popper__arrow-inner{border-color:#9ca3af33}
|
2026/july-release-party/assets/HttpHeaderExample-y0laFLTm.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{T as e,_t as t,b as n,p as r,x as i,z as a}from"./modules/shiki-CSYx1hey.js";import{n as o}from"./slidev/context-T2gS7_mS.js";var s={key:1,class:`http-schema-layout`},c=e({__name:`HttpHeaderExample`,props:{variant:{default:`solution`}},setup(e){let{$slidev:c,$nav:l,$clicksContext:u,$clicks:d,$page:f,$renderContext:p,$frontmatter:m}=o(),h=e;return(e,o)=>(a(),n(`section`,{class:t([`http-request-panel deck-panel`,`http-request-panel--${h.variant}`])},[h.variant===`problem`?(a(),n(r,{key:0},[o[0]||=i(`<h2>Before 2026-07-28</h2><div class="http-request-line"><strong>POST /mcp/ HTTP/1.1</strong><span>Host: hf.co</span><span>MCP-Protocol-Version: 2025-06-18</span><span>Content-Type: application/json</span></div><div class="http-json http-json--packet"><div class="http-json-line">{</div><div class="http-json-line http-json-line--indent"><em>"jsonrpc"</em>: <strong>"2.0"</strong>,</div><div class="http-json-line http-json-line--indent"><em>"id"</em>: <mark><strong>1</strong></mark>,</div><div class="http-json-line http-json-line--indent"><em>"method"</em>: <mark>"tools/call"</mark>,</div><div class="http-json-line http-json-line--indent"><em>"params"</em>: {</div><div class="http-json-line http-json-line--indent-2"><em>"name"</em>: <mark>"hf.run_in_sandbox"</mark>,</div><div class="http-json-line http-json-line--indent-2"><em>"arguments"</em>: {</div><div class="http-json-line http-json-line--indent-3"><em>"sandbox_id"</em>: <mark>"sbx-7f3c"</mark>,</div><div class="http-json-line http-json-line--indent-3"><em>"command"</em>: <strong>"python train.py"</strong></div><div class="http-json-line http-json-line--indent-2">}</div><div class="http-json-line http-json-line--indent">}</div><div class="http-json-line">}</div></div>`,3)],64)):h.variant===`tool`?(a(),n(`div`,s,[...o[1]||=[i(`<div class="http-tool-panel http-tool-panel--schema"><span>tool definition</span><div class="http-json-line">{</div><div class="http-json-line http-json-line--indent"><em>"name"</em>: <mark>"hf.run_in_sandbox"</mark>,</div><div class="http-json-line http-json-line--indent"><em>"inputSchema"</em>: {</div><div class="http-json-line http-json-line--indent-2"><em>"properties"</em>: {</div><div class="http-json-line http-json-line--indent-3"><em>"command"</em>: { <em>"type"</em>: <strong>"string"</strong> },</div><div class="http-json-line http-json-line--indent-3"><em>"sandbox_id"</em>: {</div><div class="http-json-line http-json-line--indent-4"><em>"type"</em>: <strong>"string"</strong>,</div><div class="http-json-line http-json-line--indent-4"><mark>"x-mcp-header": "Sandbox-Id"</mark></div><div class="http-json-line http-json-line--indent-3">}</div><div class="http-json-line http-json-line--indent-2">}</div><div class="http-json-line http-json-line--indent">}</div><div class="http-json-line">}</div></div><div class="http-schema-notes"><div><strong>Explicit application state</strong><span><code>sbx-7f3c</code> already travels as ordinary tool input.</span></div><div><strong>One declared routing key</strong><span><code>x-mcp-header</code> mirrors it as <code>Mcp-Param-Sandbox-Id</code>.</span></div><div><strong>Still one source of truth</strong><span>The header must match the JSON body—or the request is rejected.</span></div></div>`,2)]])):(a(),n(r,{key:2},[o[2]||=i(`<h2>Router can see</h2><div class="http-tool-panel"><span>standard request metadata</span><div class="http-code-row"><em>method</em><mark>tools/call</mark></div><div class="http-code-row"><em>name</em><mark>hf.run_in_sandbox</mark></div></div><div class="http-request-line http-request-line--solution"><strong>POST /mcp/ HTTP/1.1</strong><span>Host: hf.co</span><span>MCP-Protocol-Version: 2026-07-28</span><span><mark>Mcp-Method: tools/call</mark></span><span><mark>Mcp-Name: hf.run_in_sandbox</mark></span></div><div class="http-json http-json--packet"><div class="http-json-line">{</div><div class="http-json-line http-json-line--indent"><em>"jsonrpc"</em>: <strong>"2.0"</strong>,</div><div class="http-json-line http-json-line--indent"><em>"id"</em>: <strong>2</strong>,</div><div class="http-json-line http-json-line--indent"><em>"method"</em>: <mark>"tools/call"</mark>,</div><div class="http-json-line http-json-line--indent"><em>"params"</em>: {</div><div class="http-json-line http-json-line--indent-2"><em>"_meta"</em>: {</div><div class="http-json-line http-json-line--indent-3 http-json-line--meta"><em>"io.modelcontextprotocol/protocolVersion"</em>: <strong>"2026-07-28"</strong>,</div><div class="http-json-line http-json-line--indent-3 http-json-line--meta"><em>"io.modelcontextprotocol/clientInfo"</em>: { <em>"name"</em>: <strong>"HF"</strong>, <em>"version"</em>: <strong>"1"</strong> },</div><div class="http-json-line http-json-line--indent-3 http-json-line--meta"><em>"io.modelcontextprotocol/clientCapabilities"</em>: {}</div><div class="http-json-line http-json-line--indent-2">},</div><div class="http-json-line http-json-line--indent-2"><em>"name"</em>: <mark>"hf.run_in_sandbox"</mark>,</div><div class="http-json-line http-json-line--indent-2"><em>"arguments"</em>: { <em>"sandbox_id"</em>: <strong>"sbx-7f3c"</strong>, <em>"command"</em>: <strong>"python train.py"</strong> }</div><div class="http-json-line http-json-line--indent">}</div><div class="http-json-line">}</div></div>`,4)],64))],2))}});export{c as t};
|
2026/july-release-party/assets/HttpRouteMap-B9HWoche.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
.http-route-map[data-v-fc26b715]{background:radial-gradient(circle at 20% 18%,#6aa3f70f,#0000 28%),radial-gradient(circle at 80% 28%,#f06b5a1a,#0000 30%),#ffffffbd;grid-template-rows:minmax(0,1fr) auto;gap:.72rem;min-width:0;min-height:0;padding:.95rem;display:grid;overflow:hidden}.http-route-map__svg[data-v-fc26b715]{width:100%;height:100%;display:block}.http-route-node rect[data-v-fc26b715]{fill:#f3f4f670;stroke:var(--deck-border-2);stroke-width:1.4px}.http-route-node--blue rect[data-v-fc26b715]{stroke:var(--deck-info-line)}.http-route-node--red rect[data-v-fc26b715]{stroke:#f06b5a57}.http-route-node--endpoint rect[data-v-fc26b715]{fill:#1118270f}.http-route-node--client rect[data-v-fc26b715]{fill:#6aa3f71a;stroke:#6aa3f7b8;stroke-width:2.4px}.http-route-node text[data-v-fc26b715]{fill:var(--deck-text);font-family:var(--deck-font-mono);text-anchor:middle;dominant-baseline:central;font-size:28px;font-weight:750}.http-route-node--endpoint text[data-v-fc26b715]{fill:var(--deck-muted)}.http-route-node--client text[data-v-fc26b715]{fill:var(--deck-info)}.http-route-edge[data-v-fc26b715]{fill:none;stroke-width:5px;stroke-linecap:round}.http-route-map--problem .http-route-edge[data-v-fc26b715]{opacity:.36;stroke:var(--deck-dim)}.http-route-map--problem .http-route-edge--dashed[data-v-fc26b715]{opacity:.24}.http-route-edge--blue[data-v-fc26b715]{stroke:var(--deck-info)}.http-route-edge--red[data-v-fc26b715]{stroke:var(--deck-no)}.http-route-edge--dashed[data-v-fc26b715]{stroke-dasharray:7 7}#http-route-arrow-blue path[data-v-fc26b715]{fill:var(--deck-info)}#http-route-arrow-red path[data-v-fc26b715]{fill:var(--deck-no)}.http-route-note[data-v-fc26b715]{box-sizing:border-box;width:100%;color:var(--deck-muted);border-radius:var(--deck-radius);font-family:var(--deck-font-mono);background:#f3f4f65c;border:1px solid #11182747;padding:.74rem .86rem;font-size:.88rem;line-height:1.3}.http-route-note strong[data-v-fc26b715]{color:var(--deck-text)}
|
2026/july-release-party/assets/HttpRouteMap-DtiFRGKR.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{S as e,T as t,V as n,_ as r,_t as i,b as a,bt as o,p as s,z as c}from"./modules/shiki-CSYx1hey.js";import{t as l}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{n as u}from"./slidev/context-T2gS7_mS.js";var d={class:`http-route-map__svg`,viewBox:`0 0 640 420`,role:`img`,"aria-label":`Regions and client connecting through a global endpoint`},f={class:`http-route-map__nodes`},p=[`transform`],m=[`width`,`height`,`rx`],h=[`x`,`y`],g={class:`http-route-map__edges`},_=[`d`,`marker-end`],v={class:`http-route-note`},y=l(t({__name:`HttpRouteMap`,props:{mode:{default:`solution`}},setup(t){let{$slidev:l,$nav:y,$clicksContext:b,$clicks:x,$page:S,$renderContext:C,$frontmatter:w}=u(),T=t,E={regionA:{id:`regionA`,label:`Hub API`,x:48,y:44,w:180,h:64,rx:18,tone:`blue`,kind:`service`},regionB:{id:`regionB`,label:`Sandbox API`,x:412,y:44,w:180,h:64,rx:18,tone:`red`,kind:`service`},endpoint:{id:`endpoint`,label:`HF MCP Edge`,x:48,y:160,w:544,h:64,rx:32,kind:`endpoint`},client:{id:`client`,label:`Client`,x:230,y:330,w:180,h:68,rx:34,tone:`blue`,kind:`client`}},D=[E.regionA,E.regionB,E.endpoint,E.client],O=[{id:`region-a-request`,from:`regionA`,to:`endpoint`,fromSide:`bottom`,toSide:`top`,tone:`blue`,fromOffsetX:-8,toOffsetX:-190},{id:`region-a-response`,from:`endpoint`,to:`regionA`,fromSide:`top`,toSide:`bottom`,tone:`blue`,dashed:!0,fromOffsetX:-174,toOffsetX:8},{id:`region-b-request`,from:`regionB`,to:`endpoint`,fromSide:`bottom`,toSide:`top`,tone:`red`,fromOffsetX:-8,toOffsetX:174},{id:`region-b-response`,from:`endpoint`,to:`regionB`,fromSide:`top`,toSide:`bottom`,tone:`red`,dashed:!0,fromOffsetX:190,toOffsetX:8},{id:`client-blue-request`,from:`client`,to:`endpoint`,fromSide:`top`,toSide:`bottom`,tone:`blue`,fromOffsetX:-28,toOffsetX:-28},{id:`client-blue-response`,from:`endpoint`,to:`client`,fromSide:`bottom`,toSide:`top`,tone:`blue`,dashed:!0,fromOffsetX:-14,toOffsetX:-14},{id:`client-red-request`,from:`client`,to:`endpoint`,fromSide:`top`,toSide:`bottom`,tone:`red`,fromOffsetX:28,toOffsetX:28},{id:`client-red-response`,from:`endpoint`,to:`client`,fromSide:`bottom`,toSide:`top`,tone:`red`,dashed:!0,fromOffsetX:42,toOffsetX:42}];function k(e,t,n=0){return t===`top`?{x:e.x+e.w/2+n,y:e.y}:t===`bottom`?{x:e.x+e.w/2+n,y:e.y+e.h}:t===`left`?{x:e.x,y:e.y+e.h/2}:{x:e.x+e.w,y:e.y+e.h/2}}function A(e){let t=k(E[e.from],e.fromSide,e.fromOffsetX),n=k(E[e.to],e.toSide,e.toOffsetX);return`M ${t.x} ${t.y} L ${n.x} ${n.y}`}return(t,l)=>(c(),a(`section`,{class:i([`http-route-map deck-panel`,`http-route-map--${T.mode}`])},[(c(),a(`svg`,d,[l[0]||=r(`defs`,null,[r(`marker`,{id:`http-route-arrow-blue`,markerWidth:`12`,markerHeight:`12`,refX:`10`,refY:`6`,orient:`auto`,markerUnits:`userSpaceOnUse`},[r(`path`,{d:`M 0 0 L 12 6 L 0 12 z`})]),r(`marker`,{id:`http-route-arrow-red`,markerWidth:`12`,markerHeight:`12`,refX:`10`,refY:`6`,orient:`auto`,markerUnits:`userSpaceOnUse`},[r(`path`,{d:`M 0 0 L 12 6 L 0 12 z`})])],-1),r(`g`,f,[(c(),a(s,null,n(D,e=>r(`g`,{key:e.id,class:i([`http-route-node`,[`http-route-node--${e.kind}`,e.tone&&`http-route-node--${e.tone}`]]),transform:`translate(${e.x} ${e.y})`},[r(`rect`,{width:e.w,height:e.h,rx:e.rx},null,8,m),r(`text`,{x:e.w/2,y:e.h/2},o(e.label),9,h)],10,p)),64))]),r(`g`,g,[(c(),a(s,null,n(O,e=>r(`path`,{key:e.id,class:i([`http-route-edge`,[`http-route-edge--${e.tone}`,e.dashed&&`http-route-edge--dashed`]]),d:A(e),"marker-end":`url(#http-route-arrow-${e.tone})`},null,10,_)),64))])])),r(`div`,v,[T.mode===`problem`?(c(),a(s,{key:0},[l[1]||=e(` Edge only sees `,-1),l[2]||=r(`strong`,null,`POST /mcp`,-1),l[3]||=e(`; method and target are buried in JSON. `,-1)],64)):(c(),a(s,{key:1},[l[4]||=e(` Edge sees `,-1),l[5]||=r(`strong`,null,`Mcp-Method`,-1),l[6]||=e(` and `,-1),l[7]||=r(`strong`,null,`Mcp-Name`,-1),l[8]||=e(`; the Server verifies both. `,-1)],64))])],2))}}),[[`__scopeId`,`data-v-fc26b715`]]);export{y as t};
|
2026/july-release-party/assets/NoteDisplay-DCBzjb4F.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
.slidev-note :first-child{margin-top:0}.slidev-note{overflow-wrap:anywhere;word-break:break-word}
|
2026/july-release-party/assets/ProtocolCapabilityCard-B0P_x7oa.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{T as e,W as t,_ as n,b as r,bt as i,g as a,v as o,y as s,z as c}from"./modules/shiki-CSYx1hey.js";import{t as l}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{n as u}from"./slidev/context-T2gS7_mS.js";import{t as d}from"./createLucideIcon-C9fFgKAd.js";var f=d(`file-text`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]),p=d(`folder-tree`,[[`path`,{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`hod4my`}],[`path`,{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`w4yl2u`}],[`path`,{d:`M3 5a2 2 0 0 0 2 2h3`,key:`f2jnh7`}],[`path`,{d:`M3 3v13a2 2 0 0 0 2 2h3`,key:`k8epm1`}]]),m=d(`message-circle-question-mark`,[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),h=d(`message-square`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]),g=d(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),_=d(`wrench`,[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]),v={class:`protocol-card`},y={class:`protocol-card__content`},b={class:`protocol-card__icon`},x={class:`protocol-card__text`},S={key:0},C=l(e({__name:`ProtocolCapabilityCard`,props:{title:{},icon:{},description:{},showDescription:{type:Boolean,default:!0}},setup(e){let{$slidev:l,$nav:d,$clicksContext:C,$clicks:w,$page:T,$renderContext:E,$frontmatter:D}=u(),O=e,k={wrench:_,file:f,message:h,roots:p,sparkles:g,question:m},A=a(()=>k[O.icon]);return(a,l)=>(c(),r(`article`,v,[n(`div`,y,[n(`div`,b,[(c(),o(t(A.value),{"stroke-width":2.25}))]),n(`div`,x,[n(`h3`,null,i(e.title),1),e.description&&e.showDescription?(c(),r(`p`,S,i(e.description),1)):s(`v-if`,!0)])])]))}}),[[`__scopeId`,`data-v-4f5fb634`]]);export{C as t};
|
2026/july-release-party/assets/ProtocolCapabilityCard-DMtWFpsn.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
.protocol-card[data-v-4f5fb634]{box-sizing:border-box;height:100%;min-height:0;padding:var(--protocol-card-pad,1rem);border:1px solid var(--deck-border);border-radius:calc(var(--deck-radius) + 4px);background:radial-gradient(circle at 82% 12%,#f5a4000e,#0000 34%),#ffffffd6;align-items:center;transition:opacity .22s,transform .22s,border-color .22s,background .22s,box-shadow .22s;display:grid;position:relative;overflow:hidden;box-shadow:0 16px 34px #0000003d}.protocol-card__icon[data-v-4f5fb634]{color:var(--deck-muted);flex:none;transition:color .22s,transform .22s}.protocol-card__content[data-v-4f5fb634]{align-items:center;gap:var(--protocol-card-content-gap,.82rem);min-width:0;display:flex}.protocol-card__icon[data-v-4f5fb634] svg{width:var(--protocol-icon-size,2.35rem);height:var(--protocol-icon-size,2.35rem);display:block}.protocol-card__text[data-v-4f5fb634]{min-width:0}.protocol-card h3[data-v-4f5fb634]{color:var(--deck-text);font-size:var(--protocol-title-size,1.18rem);letter-spacing:-.05em;margin:0;font-weight:750;line-height:1.05}.protocol-card p[data-v-4f5fb634]{max-width:19ch;color:var(--deck-dim);font-size:var(--protocol-description-size,.58rem);margin:.42rem 0 0;line-height:1.35}
|
2026/july-release-party/assets/SlideContainer-Nk421eIX.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
.slidev-slide-container[data-v-20e025db]{width:100%;height:100%;position:relative;overflow:hidden}.slidev-slide-content[data-v-20e025db]{--slidev-slide-container-scale:var(--slidev-slide-scale);transform:translate(-50%, -50%) scale(var(--slidev-slide-scale));--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity));position:absolute;top:50%;left:50%;overflow:hidden}.dark .slidev-slide-content[data-v-20e025db]{--un-bg-opacity:1;background-color:rgb(18 18 18/var(--un-bg-opacity))}
|
2026/july-release-party/assets/SlideWrapper-DRhhw1Nh.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
.disable-view-transition[data-v-9167a1ed] *{view-transition-name:none!important}.slidev-page[data-v-9167a1ed]{--slidev-slide-zoom-scale:1;width:calc(100% / var(--slidev-slide-zoom-scale));height:calc(100% / var(--slidev-slide-zoom-scale));transform-origin:0 0;scale:var(--slidev-slide-zoom-scale);--slidev-slide-scale:calc(var(--slidev-slide-container-scale) * var(--slidev-slide-zoom-scale));position:absolute;inset:0}
|
2026/july-release-party/assets/SlideWrapper-Dzm8dNDw.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 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};
|