diff --git a/08-serverless/404.html b/08-serverless/404.html new file mode 100644 index 0000000..066e656 --- /dev/null +++ b/08-serverless/404.html @@ -0,0 +1,21 @@ + + + + Software Architecture + + + + + + + + + + + + +
+
+ + + diff --git a/08-serverless/_redirects b/08-serverless/_redirects new file mode 100644 index 0000000..e056129 --- /dev/null +++ b/08-serverless/_redirects @@ -0,0 +1 @@ +/sa2024/08-serverless/* /sa2024/08-serverless/index.html 200 diff --git a/08-serverless/assets/08-java-function-CubzN7oN.png b/08-serverless/assets/08-java-function-CubzN7oN.png new file mode 100644 index 0000000..999cd32 Binary files /dev/null and b/08-serverless/assets/08-java-function-CubzN7oN.png differ diff --git a/08-serverless/assets/08-jpetstore-Bnw8dRej.png b/08-serverless/assets/08-jpetstore-Bnw8dRej.png new file mode 100644 index 0000000..8894a4b Binary files /dev/null and b/08-serverless/assets/08-jpetstore-Bnw8dRej.png differ diff --git a/08-serverless/assets/08-jpetstore-architecture-HG4fFQqC.png b/08-serverless/assets/08-jpetstore-architecture-HG4fFQqC.png new file mode 100644 index 0000000..70b92cf Binary files /dev/null and b/08-serverless/assets/08-jpetstore-architecture-HG4fFQqC.png differ diff --git a/08-serverless/assets/08-jpetstore-serverless-JrIda51g.png b/08-serverless/assets/08-jpetstore-serverless-JrIda51g.png new file mode 100644 index 0000000..744222e Binary files /dev/null and b/08-serverless/assets/08-jpetstore-serverless-JrIda51g.png differ diff --git a/08-serverless/assets/08-openfaas-architecture-BZCmBh6o.png b/08-serverless/assets/08-openfaas-architecture-BZCmBh6o.png new file mode 100644 index 0000000..a9d6de5 Binary files /dev/null and b/08-serverless/assets/08-openfaas-architecture-BZCmBh6o.png differ diff --git a/08-serverless/assets/08-openfaas-lifecycle-DyfvFZRv.png b/08-serverless/assets/08-openfaas-lifecycle-DyfvFZRv.png new file mode 100644 index 0000000..7f1d826 Binary files /dev/null and b/08-serverless/assets/08-openfaas-lifecycle-DyfvFZRv.png differ diff --git a/08-serverless/assets/08-pojo-function-DtNn0OPv.png b/08-serverless/assets/08-pojo-function-DtNn0OPv.png new file mode 100644 index 0000000..bd1b902 Binary files /dev/null and b/08-serverless/assets/08-pojo-function-DtNn0OPv.png differ diff --git a/08-serverless/assets/08-serverless-BY953g_1.png b/08-serverless/assets/08-serverless-BY953g_1.png new file mode 100644 index 0000000..1371293 Binary files /dev/null and b/08-serverless/assets/08-serverless-BY953g_1.png differ diff --git a/08-serverless/assets/08-serverless-com-DbtN285w.png b/08-serverless/assets/08-serverless-com-DbtN285w.png new file mode 100644 index 0000000..3d5f695 Binary files /dev/null and b/08-serverless/assets/08-serverless-com-DbtN285w.png differ diff --git a/08-serverless/assets/08-serverless-opensource-D5hzc45S.png b/08-serverless/assets/08-serverless-opensource-D5hzc45S.png new file mode 100644 index 0000000..434736d Binary files /dev/null and b/08-serverless/assets/08-serverless-opensource-D5hzc45S.png differ diff --git a/08-serverless/assets/08-spring-cloud-function-CemyKeiE.png b/08-serverless/assets/08-spring-cloud-function-CemyKeiE.png new file mode 100644 index 0000000..6ac16b6 Binary files /dev/null and b/08-serverless/assets/08-spring-cloud-function-CemyKeiE.png differ diff --git a/08-serverless/assets/08-spring-cloud-stream-RhtBMWFj.png b/08-serverless/assets/08-spring-cloud-stream-RhtBMWFj.png new file mode 100644 index 0000000..3bf25e8 Binary files /dev/null and b/08-serverless/assets/08-spring-cloud-stream-RhtBMWFj.png differ diff --git a/08-serverless/assets/08-spring-cloudfunction-BAoz-Ykv.png b/08-serverless/assets/08-spring-cloudfunction-BAoz-Ykv.png new file mode 100644 index 0000000..87949bd Binary files /dev/null and b/08-serverless/assets/08-spring-cloudfunction-BAoz-Ykv.png differ diff --git a/08-serverless/assets/08-target-platform-L5RiUps8.png b/08-serverless/assets/08-target-platform-L5RiUps8.png new file mode 100644 index 0000000..1a55c61 Binary files /dev/null and b/08-serverless/assets/08-target-platform-L5RiUps8.png differ diff --git a/08-serverless/assets/10-C9C4uFWn.js b/08-serverless/assets/10-C9C4uFWn.js new file mode 100644 index 0000000..c5c5fbc --- /dev/null +++ b/08-serverless/assets/10-C9C4uFWn.js @@ -0,0 +1 @@ +import{o,c as r,k as a,q as n,s as _,A as e,e as s}from"./modules/vue-uEYNCD1x.js";import{I as c}from"./slidev/default-Dop53dUY.js";import{_ as l,af as t}from"./index-CIyRdoXZ.js";import{p as m,u as i,f as p}from"./slidev/context-vkhxtxO6.js";import"./modules/shiki-BzAJ3tB6.js";const f="/sa2024/08-serverless/assets/08-serverless-com-DbtN285w.png",u=s("h1",null,"serverless.com",-1),d=s("br",null,null,-1),h=s("img",{src:f,class:"h-80"},null,-1),v={__name:"10",setup(x){return m(t),i(),(g,k)=>(o(),r(c,n(_(e(p)(e(t),9))),{default:a(()=>[u,d,h]),_:1},16))}},I=l(v,[["__file","/@slidev/slides/10.md"]]);export{I as default}; diff --git a/08-serverless/assets/11-B1uzG7PY.js b/08-serverless/assets/11-B1uzG7PY.js new file mode 100644 index 0000000..7bb7f6c --- /dev/null +++ b/08-serverless/assets/11-B1uzG7PY.js @@ -0,0 +1 @@ +import{o as e,c as a,k as o,q as n,s as i,A as t,e as s}from"./modules/vue-uEYNCD1x.js";import{I as l}from"./slidev/two-cols-EVC56B1i.js";import{_ as c,ag as r}from"./index-CIyRdoXZ.js";import{p,u,f as _}from"./slidev/context-vkhxtxO6.js";import"./modules/shiki-BzAJ3tB6.js";const m="/sa2024/08-serverless/assets/08-spring-cloud-function-CemyKeiE.png",d=s("h1",null,"Spring Cloud Function",-1),f=s("ul",null,[s("li",null,"Spring Cloud Function 是来自 Pivotal 的 Spring 团队的新项目,它致力于促进函数作为主要的开发单元"),s("li",null,"该项目提供了一个通用的模型,用于在各种平台上部署基于函数的软件,包括像 Amazon AWS Lambda 这样的 FaaS(函数即服务,function as a service)平台")],-1),g=s("p",null,[s("br"),s("br"),s("br"),s("img",{src:m,class:"h-50"})],-1),h={__name:"11",setup(v){return p(r),u(),(S,x)=>(e(),a(l,n(i(t(_)(t(r),10))),{right:o(C=>[g]),default:o(()=>[d,f]),_:1},16))}},B=c(h,[["__file","/@slidev/slides/11.md"]]);export{B as default}; diff --git a/08-serverless/assets/12-Gvc4Vxum.js b/08-serverless/assets/12-Gvc4Vxum.js new file mode 100644 index 0000000..09992cd --- /dev/null +++ b/08-serverless/assets/12-Gvc4Vxum.js @@ -0,0 +1 @@ +import{o as r,c as a,k as t,q as n,s as i,A as o,e as s,a6 as l}from"./modules/vue-uEYNCD1x.js";import{I as c}from"./slidev/two-cols-EVC56B1i.js";import{_,ah as e}from"./index-CIyRdoXZ.js";import{p,u,f as d}from"./slidev/context-vkhxtxO6.js";import"./modules/shiki-BzAJ3tB6.js";const m="/sa2024/08-serverless/assets/08-spring-cloudfunction-BAoz-Ykv.png",f="/sa2024/08-serverless/assets/08-java-function-CubzN7oN.png",h=s("h1",null,"函数式编程",-1),g=s("br",null,null,-1),v=s("img",{src:m,class:"h-70"},null,-1),b=s("p",null,[s("a",{href:"https://www.bilibili.com/video/BV13K411p7Mf?p=2",target:"_blank",rel:"noopener"},"https://www.bilibili.com/video/BV13K411p7Mf?p=2"),l(" 2:15")],-1),w=s("div",{style:{"text-align":"right"}},"sa-spring/spring-cloudfunction",-1),x=s("br",null,null,-1),B=s("img",{src:f,class:"m-10 h-70"},null,-1),k={__name:"12",setup(N){return p(e),u(),(P,V)=>(r(),a(c,n(i(o(d)(o(e),11))),{right:t(z=>[x,B]),default:t(()=>[h,g,v,b,w]),_:1},16))}},K=_(k,[["__file","/@slidev/slides/12.md"]]);export{K as default}; diff --git a/08-serverless/assets/14-CIYqAYX7.js b/08-serverless/assets/14-CIYqAYX7.js new file mode 100644 index 0000000..ac8189e --- /dev/null +++ b/08-serverless/assets/14-CIYqAYX7.js @@ -0,0 +1,7 @@ +import{_ as e}from"./slidev/CodeBlockWrapper-CRM5ienr.js";import{o as k,c as n,k as t,l as r,m as p,q as o,s as d,A as a,e as s,a6 as i}from"./modules/vue-uEYNCD1x.js";import{I as g}from"./slidev/two-cols-EVC56B1i.js";import{_ as c,aj as l}from"./index-CIyRdoXZ.js";import{p as y,u as B,f as _}from"./slidev/context-vkhxtxO6.js";import"./modules/unplugin-icons-BJo5e7Wi.js";import"./modules/shiki-BzAJ3tB6.js";const A="/sa2024/08-serverless/assets/08-pojo-function-DtNn0OPv.png",m=s("h1",null,"Pojo Function",-1),u=s("br",null,null,-1),C=s("pre",{class:"shiki shiki-themes vitesse-dark vitesse-light slidev-code",style:{"--shiki-dark":"#dbd7caee","--shiki-light":"#393a34","--shiki-dark-bg":"#121212","--shiki-light-bg":"#ffffff"}},[s("code",{class:"language-java"},[s("span",{class:"line"},[s("span",{style:{"--shiki-dark":"#CB7676","--shiki-light":"#AB5959"}},"public"),s("span",{style:{"--shiki-dark":"#CB7676","--shiki-light":"#AB5959"}}," class"),s("span",{style:{"--shiki-dark":"#5DA994","--shiki-light":"#2E8F82"}}," Greeter"),s("span",{style:{"--shiki-dark":"#CB7676","--shiki-light":"#AB5959"}}," implements"),s("span",{style:{"--shiki-dark":"#80A665","--shiki-light":"#59873A"}}," Function"),s("span",{style:{"--shiki-dark":"#666666","--shiki-light":"#999999"}},"<"),s("span",{style:{"--shiki-dark":"#CB7676","--shiki-light":"#AB5959"}},"String"),s("span",{style:{"--shiki-dark":"#666666","--shiki-light":"#999999"}},","),s("span",{style:{"--shiki-dark":"#CB7676","--shiki-light":"#AB5959"}}," String"),s("span",{style:{"--shiki-dark":"#666666","--shiki-light":"#999999"}},">"),s("span",{style:{"--shiki-dark":"#666666","--shiki-light":"#999999"}}," {")]),i(` +`),s("span",{class:"line"},[s("span",{style:{"--shiki-dark":"#DBD7CAEE","--shiki-light":"#393A34"}}," ")]),i(` +`),s("span",{class:"line"},[s("span",{style:{"--shiki-dark":"#666666","--shiki-light":"#999999"}}," @"),s("span",{style:{"--shiki-dark":"#CB7676","--shiki-light":"#AB5959"}},"Override")]),i(` +`),s("span",{class:"line"},[s("span",{style:{"--shiki-dark":"#CB7676","--shiki-light":"#AB5959"}}," public"),s("span",{style:{"--shiki-dark":"#DBD7CAEE","--shiki-light":"#393A34"}}," String "),s("span",{style:{"--shiki-dark":"#80A665","--shiki-light":"#59873A"}},"apply"),s("span",{style:{"--shiki-dark":"#666666","--shiki-light":"#999999"}},"("),s("span",{style:{"--shiki-dark":"#DBD7CAEE","--shiki-light":"#393A34"}},"String "),s("span",{style:{"--shiki-dark":"#BD976A","--shiki-light":"#B07D48"}},"s"),s("span",{style:{"--shiki-dark":"#666666","--shiki-light":"#999999"}},")"),s("span",{style:{"--shiki-dark":"#666666","--shiki-light":"#999999"}}," {")]),i(` +`),s("span",{class:"line"},[s("span",{style:{"--shiki-dark":"#4D9375","--shiki-light":"#1E754F"}}," return"),s("span",{style:{"--shiki-dark":"#C98A7D99","--shiki-light":"#B5695999"}},' "'),s("span",{style:{"--shiki-dark":"#C98A7D","--shiki-light":"#B56959"}},"Hello "),s("span",{style:{"--shiki-dark":"#C98A7D99","--shiki-light":"#B5695999"}},'"'),s("span",{style:{"--shiki-dark":"#CB7676","--shiki-light":"#AB5959"}}," +"),s("span",{style:{"--shiki-dark":"#DBD7CAEE","--shiki-light":"#393A34"}}," s "),s("span",{style:{"--shiki-dark":"#CB7676","--shiki-light":"#AB5959"}},"+"),s("span",{style:{"--shiki-dark":"#C98A7D99","--shiki-light":"#B5695999"}},' "'),s("span",{style:{"--shiki-dark":"#C98A7D","--shiki-light":"#B56959"}},", and welcome to Spring Cloud Function!!!"),s("span",{style:{"--shiki-dark":"#C98A7D99","--shiki-light":"#B5695999"}},'"'),s("span",{style:{"--shiki-dark":"#666666","--shiki-light":"#999999"}},";")]),i(` +`),s("span",{class:"line"},[s("span",{style:{"--shiki-dark":"#666666","--shiki-light":"#999999"}}," }")]),i(` +`),s("span",{class:"line"},[s("span",{style:{"--shiki-dark":"#666666","--shiki-light":"#999999"}},"}")])])],-1),f=s("img",{src:A,class:"h-60"},null,-1),D={__name:"14",setup(v){return y(l),B(),(E,P)=>{const h=e;return k(),n(g,o(d(a(_)(a(l),13))),{right:t(b=>[f]),default:t(()=>[m,u,r(h,p({},{ranges:[]}),{default:t(()=>[C]),_:1},16)]),_:1},16)}}},I=c(D,[["__file","/@slidev/slides/14.md"]]);export{I as default}; diff --git a/08-serverless/assets/15-CQJ7VVlj.js b/08-serverless/assets/15-CQJ7VVlj.js new file mode 100644 index 0000000..21400b9 --- /dev/null +++ b/08-serverless/assets/15-CQJ7VVlj.js @@ -0,0 +1 @@ +import{o,c as r,k as a,q as n,s as _,A as s,e as t}from"./modules/vue-uEYNCD1x.js";import{I as c}from"./slidev/default-Dop53dUY.js";import{_ as i,an as e}from"./index-CIyRdoXZ.js";import{p as m,u as p,f as l}from"./slidev/context-vkhxtxO6.js";import"./modules/shiki-BzAJ3tB6.js";const d="/sa2024/08-serverless/assets/08-spring-cloud-stream-RhtBMWFj.png",f=t("h1",null,"Invoke via Message",-1),u=t("img",{src:d,class:"m-10 h-60"},null,-1),h={__name:"15",setup(v){return m(e),p(),(g,x)=>(o(),r(c,n(_(s(l)(s(e),14))),{default:a(()=>[f,u]),_:1},16))}},C=i(h,[["__file","/@slidev/slides/15.md"]]);export{C as default}; diff --git a/08-serverless/assets/17-BUDTVRgJ.js b/08-serverless/assets/17-BUDTVRgJ.js new file mode 100644 index 0000000..1bf3845 --- /dev/null +++ b/08-serverless/assets/17-BUDTVRgJ.js @@ -0,0 +1 @@ +import{o,c as r,k as a,q as n,s as i,A as e,e as s}from"./modules/vue-uEYNCD1x.js";import{I as p}from"./slidev/default-Dop53dUY.js";import{_ as c,ap as t}from"./index-CIyRdoXZ.js";import{p as l,u as f,f as _}from"./slidev/context-vkhxtxO6.js";import"./modules/shiki-BzAJ3tB6.js";const d="/sa2024/08-serverless/assets/08-target-platform-L5RiUps8.png",u=s("h1",null,"Target Platforms",-1),m=s("p",null,'Adapters for AWS Lambda, Microsoft Azure, Apache OpenWhisk and possibly other "serverless" service providers.',-1),h=s("img",{src:d,class:"h-40"},null,-1),g=s("div",{style:{"text-align":"right","font-size":"16px"}},"riff is an Open Source platform for building and running Functions, Applications, and Containers on Kubernetes. To get started running your own functions on riff, see our Docs. This project is sponsored by VMware",-1),v={__name:"17",setup(x){return l(t),f(),(A,b)=>(o(),r(p,n(i(e(_)(e(t),16))),{default:a(()=>[u,m,h,g]),_:1},16))}},z=c(v,[["__file","/@slidev/slides/17.md"]]);export{z as default}; diff --git a/08-serverless/assets/3-C8_toCXe.js b/08-serverless/assets/3-C8_toCXe.js new file mode 100644 index 0000000..cd0c845 --- /dev/null +++ b/08-serverless/assets/3-C8_toCXe.js @@ -0,0 +1 @@ +import{o as r,c as a,k as t,a6 as n,q as i,s as _,A as e,e as s}from"./modules/vue-uEYNCD1x.js";import{I as c}from"./slidev/two-cols-EVC56B1i.js";import{_ as l,a8 as o}from"./index-CIyRdoXZ.js";import{p,u as m,f as d}from"./slidev/context-vkhxtxO6.js";import"./modules/shiki-BzAJ3tB6.js";const u="/sa2024/08-serverless/assets/08-jpetstore-architecture-HG4fFQqC.png",f="/sa2024/08-serverless/assets/08-jpetstore-Bnw8dRej.png",h=s("h1",null,"JPetStore",-1),g=s("br",null,null,-1),x=s("img",{src:u,class:"m-10 h-30"},null,-1),v=s("div",{style:{"text-align":"right","font-size":"24px"}},"mybatis/jpetstore-6",-1),j=s("p",null,[s("br"),s("br"),s("img",{src:f,class:"m-10 h-60"})],-1),P={__name:"3",setup(b){return p(o),m(),(B,k)=>(r(),a(c,i(_(e(d)(e(o),2))),{right:t(y=>[j]),default:t(()=>[h,g,n(" 传统上,架构里会包含一个部署了应用程序和前端的单体服务器。上述架构采用的是瘦客户端方式,所有的业务逻辑(如认证、会话管理、宠物管理等)都部署在服务器端。哪怕你将这个单体服务拆开成若干个微服务,也并没有改变这一点。 "),x,v]),_:1},16))}},I=l(P,[["__file","/@slidev/slides/3.md"]]);export{I as default}; diff --git a/08-serverless/assets/4-DGOVnNTn.js b/08-serverless/assets/4-DGOVnNTn.js new file mode 100644 index 0000000..80a07aa --- /dev/null +++ b/08-serverless/assets/4-DGOVnNTn.js @@ -0,0 +1 @@ +import{o as r,c as l,k as e,q as a,s as i,A as t,e as s}from"./modules/vue-uEYNCD1x.js";import{I as n}from"./slidev/two-cols-EVC56B1i.js";import{_,a9 as o}from"./index-CIyRdoXZ.js";import{p,u as c,f as u}from"./slidev/context-vkhxtxO6.js";import"./modules/shiki-BzAJ3tB6.js";const m="/sa2024/08-serverless/assets/08-jpetstore-serverless-JrIda51g.png",d=s("h1",null,"Serverless",-1),f=s("ul",null,[s("li",null,"删除原用户认证代码,使用第三方认证服务 (例如Auth0.)"),s("li",null,"使用第三方数据服务(例如Google Firebase)管理产品数据"),s("li",null,"Client端基于 Single Page Application技术直接实现认证和数据访问展现"),s("li",null,"将“查询”业务功能实现为一个“函数”,每次用户查询时启动函数运行"),s("li",null,"将“购买”业务功能实现为另一个函数")],-1),h=s("img",{src:m,class:"m-10 h-80"},null,-1),g={__name:"4",setup(v){return p(o),c(),(x,P)=>(r(),l(n,a(i(t(u)(t(o),3))),{right:e(k=>[h]),default:e(()=>[d,f]),_:1},16))}},j=_(g,[["__file","/@slidev/slides/4.md"]]);export{j as default}; diff --git a/08-serverless/assets/6-C2gB4W6U.js b/08-serverless/assets/6-C2gB4W6U.js new file mode 100644 index 0000000..6229753 --- /dev/null +++ b/08-serverless/assets/6-C2gB4W6U.js @@ -0,0 +1 @@ +import{o as r,c as l,k as e,q as a,s as n,A as t,e as s}from"./modules/vue-uEYNCD1x.js";import{I as i}from"./slidev/two-cols-EVC56B1i.js";import{_,ab as o}from"./index-CIyRdoXZ.js";import{p as c,u as m,f as p}from"./slidev/context-vkhxtxO6.js";import"./modules/shiki-BzAJ3tB6.js";const u="/sa2024/08-serverless/assets/08-serverless-BY953g_1.png",d=s("h1",null,"优点",-1),f=s("ul",null,[s("li",null,"不需要管理服务器"),s("li",null,"自动伸缩(Scale to Zero)"),s("li",null,"没有运营成本"),s("li",null,"成本由事件驱动"),s("li",null,"具有较高的安全性")],-1),h=s("img",{src:u,class:"m-10 h-80"},null,-1),g={__name:"6",setup(v){return c(o),m(),(x,B)=>(r(),l(i,a(n(t(p)(t(o),5))),{right:e(P=>[h]),default:e(()=>[d,f]),_:1},16))}},j=_(g,[["__file","/@slidev/slides/6.md"]]);export{j as default}; diff --git a/08-serverless/assets/8-DrXbamla.js b/08-serverless/assets/8-DrXbamla.js new file mode 100644 index 0000000..e0545dd --- /dev/null +++ b/08-serverless/assets/8-DrXbamla.js @@ -0,0 +1 @@ +import{o as t,c as o,k as a,q as n,s as c,A as e,e as s}from"./modules/vue-uEYNCD1x.js";import{I as _}from"./slidev/default-Dop53dUY.js";import{_ as l,ad as r}from"./index-CIyRdoXZ.js";import{p,u as i,f as m}from"./slidev/context-vkhxtxO6.js";import"./modules/shiki-BzAJ3tB6.js";const u="/sa2024/08-serverless/assets/08-serverless-opensource-D5hzc45S.png",d=s("h1",null,"Open Source Serverless Platforms",-1),f=s("br",null,null,-1),h=s("img",{src:u,class:"h-80"},null,-1),v={__name:"8",setup(x){return p(r),i(),(P,S)=>(t(),o(_,n(c(e(m)(e(r),7))),{default:a(()=>[d,f,h]),_:1},16))}},I=l(v,[["__file","/@slidev/slides/8.md"]]);export{I as default}; diff --git a/08-serverless/assets/9-oSLJinUO.js b/08-serverless/assets/9-oSLJinUO.js new file mode 100644 index 0000000..e582551 --- /dev/null +++ b/08-serverless/assets/9-oSLJinUO.js @@ -0,0 +1 @@ +import{o as r,c as a,k as e,q as n,s as c,A as t,e as s}from"./modules/vue-uEYNCD1x.js";import{I as _}from"./slidev/two-cols-EVC56B1i.js";import{_ as l,ae as o}from"./index-CIyRdoXZ.js";import{p as i,u as p,f as m}from"./slidev/context-vkhxtxO6.js";import"./modules/shiki-BzAJ3tB6.js";const f="/sa2024/08-serverless/assets/08-openfaas-lifecycle-DyfvFZRv.png",u="/sa2024/08-serverless/assets/08-openfaas-architecture-BZCmBh6o.png",d=s("h1",null,"OpenFaaS",-1),h=s("br",null,null,-1),v=s("img",{src:f,class:"h-60"},null,-1),g=s("p",null,"响应时间——FaaS 需要一些初始化时间。如果负载很小(比如一个小时只有一个事件),每个请求都会经历冷启动,导致整体响应变慢。",-1),x=s("p",null,[s("br"),s("br"),s("img",{src:u,class:"h-40"})],-1),B={__name:"9",setup(F){return i(o),p(),(P,b)=>(r(),a(_,n(c(t(m)(t(o),8))),{right:e(k=>[x]),default:e(()=>[d,h,v,g]),_:1},16))}},Z=l(B,[["__file","/@slidev/slides/9.md"]]);export{Z as default}; diff --git a/08-serverless/assets/ClicksSlider-qq1Ub2AL.css b/08-serverless/assets/ClicksSlider-qq1Ub2AL.css new file mode 100644 index 0000000..ded5c92 --- /dev/null +++ b/08-serverless/assets/ClicksSlider-qq1Ub2AL.css @@ -0,0 +1 @@ +.range[data-v-e916140b]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent}.range[data-v-e916140b]::-webkit-slider-thumb{-webkit-appearance:none;height:100%;width:var(--thumb-width, .5rem)}.range[data-v-e916140b]::-moz-range-thumb{height:100%;width:var(--thumb-width, .5rem)} diff --git a/08-serverless/assets/ContextMenu-DSnskk1a.css b/08-serverless/assets/ContextMenu-DSnskk1a.css new file mode 100644 index 0000000..b193adb --- /dev/null +++ b/08-serverless/assets/ContextMenu-DSnskk1a.css @@ -0,0 +1 @@ +.select-list[data-v-9e4a80e3]{padding-top:.5rem;padding-bottom:.5rem}.item[data-v-9e4a80e3]{display:flex;cursor:default;white-space:nowrap;border-radius:.25rem;padding:.25rem 1rem}.item svg[data-v-9e4a80e3]{margin-top:auto;margin-bottom:auto;margin-right:.25rem;margin-left:-.5rem}.item[data-v-9e4a80e3]:hover{--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity));--un-bg-opacity:.1}.title[data-v-9e4a80e3]{padding:.25rem 1.75rem;font-size:.75rem;line-height:1rem;letter-spacing:.1em;text-transform:uppercase;opacity:.5}.autocomplete-list[data-v-a9c46306]{margin-top:.25rem;--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity));overflow:auto;max-height:calc(100vh - 100px)}.dark .autocomplete-list[data-v-a9c46306]{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.autocomplete[data-v-a9c46306]{cursor:pointer}#slideshow[data-v-63954aac]{height:100%} diff --git a/08-serverless/assets/DrawingControls-C5T1oZL5.css b/08-serverless/assets/DrawingControls-C5T1oZL5.css new file mode 100644 index 0000000..bf95bff --- /dev/null +++ b/08-serverless/assets/DrawingControls-C5T1oZL5.css @@ -0,0 +1 @@ +.v-popper--theme-menu .v-popper__arrow-inner{border-color:#9ca3af33} diff --git a/08-serverless/assets/DrawingPreview-DJ7dOR_1.css b/08-serverless/assets/DrawingPreview-DJ7dOR_1.css new file mode 100644 index 0000000..d8ce4e2 --- /dev/null +++ b/08-serverless/assets/DrawingPreview-DJ7dOR_1.css @@ -0,0 +1 @@ +#slide-container{position:relative;break-after:page;overflow:hidden}#slide-content{position:relative;position:absolute;left:50%;top:50%;overflow:hidden;--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark #slide-content{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.disable-view-transition[data-v-1e2c950d] *{view-transition-name:none!important}.slidev-page[data-v-1e2c950d]{position:absolute;width:100%;height:100%} diff --git a/08-serverless/assets/NoteDisplay-C6AkVv8T.css b/08-serverless/assets/NoteDisplay-C6AkVv8T.css new file mode 100644 index 0000000..74ddf96 --- /dev/null +++ b/08-serverless/assets/NoteDisplay-C6AkVv8T.css @@ -0,0 +1 @@ +.slidev-note :first-child{margin-top:0} diff --git a/08-serverless/assets/index-CIyRdoXZ.js b/08-serverless/assets/index-CIyRdoXZ.js new file mode 100644 index 0000000..39c991c --- /dev/null +++ b/08-serverless/assets/index-CIyRdoXZ.js @@ -0,0 +1,51 @@ +const __vite__fileDeps=["assets/slidev/1-D6LYmwHL.js","assets/modules/vue-uEYNCD1x.js","assets/slidev/context-vkhxtxO6.js","assets/modules/shiki-BzAJ3tB6.js","assets/modules/shiki-BSchMNmt.css","assets/slidev/2-CGU85rFs.js","assets/slidev/default-Dop53dUY.js","assets/3-C8_toCXe.js","assets/slidev/two-cols-EVC56B1i.js","assets/4-DGOVnNTn.js","assets/slidev/5-DIP-cCTf.js","assets/6-C2gB4W6U.js","assets/slidev/7-7AEC8k9T.js","assets/8-DrXbamla.js","assets/9-oSLJinUO.js","assets/10-C9C4uFWn.js","assets/11-B1uzG7PY.js","assets/12-Gvc4Vxum.js","assets/slidev/13-COUVeqtS.js","assets/slidev/CodeBlockWrapper-CRM5ienr.js","assets/modules/unplugin-icons-BJo5e7Wi.js","assets/14-CIYqAYX7.js","assets/15-CQJ7VVlj.js","assets/slidev/16-CmF05eFz.js","assets/17-BUDTVRgJ.js","assets/slidev/entry-BSGNSnqr.js","assets/slidev/overview-BmHD3l9W.js","assets/slidev/DrawingPreview-D-nmpiaa.js","assets/DrawingPreview-DJ7dOR_1.css","assets/slidev/IconButton-DG3DFBDA.js","assets/slidev/NoteDisplay-71KkeV1T.js","assets/NoteDisplay-C6AkVv8T.css","assets/slidev/ClicksSlider-Cv12e-ig.js","assets/ClicksSlider-qq1Ub2AL.css","assets/slidev/notes-DiZeFWxo.js","assets/slidev/presenter-tvcw40w7.js","assets/slidev/ContextMenu-BKeGdUF8.js","assets/ContextMenu-DSnskk1a.css","assets/slidev/DrawingControls-bYIp4Izf.js","assets/DrawingControls-C5T1oZL5.css","assets/presenter-D5oC5Gjj.css","assets/slidev/play-CFoaEEOz.js","assets/play-CoA43pdi.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import{t as T,y as m,n as _t,z as Fn,A as us,B as Zs,C as xe,D as Q,E as xn,G as Vn,H as Bn,I as Ys,J as M,K as Wn,L as zn,o as Xs,b as Un,M as fs,N as At,O as qn,P as Kn,Q as te,R as en,S as Lt,T as tn,U as Jn,d as Gn,r as Qn,c as Zn,V as Yn,W as Xn,X as eo,Y as to,Z as so,_ as no,$ as oo,a0 as io,a1 as ro,a2 as ao,a3 as lo,a4 as co,a5 as uo,u as fo}from"./modules/vue-uEYNCD1x.js";import{T as ho}from"./modules/shiki-BzAJ3tB6.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function t(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=t(o);fetch(o.href,i)}})();function et(s,e,t){return Math.min(t,Math.max(e,s))}function po(...s){return mo(s).reduce((e,t)=>e+t,0)}function go(s){return s=s??[],Array.isArray(s)?s:[s]}function mo(s){return go(s).flat(1)}function ja(...s){let e,t,n;s.length===1?(e=0,n=1,[t]=s):[e,t,n=1]=s;const o=[];let i=e;for(;ie(t,n)).filter(yo))}const D={theme:"default",title:"Software Architecture",titleTemplate:"%s - Slidev",addons:[],remoteAssets:!1,monaco:!0,monacoTypesSource:"local",monacoTypesAdditionalPackages:[],monacoRunAdditionalDeps:[],download:!1,export:{},info:!1,highlighter:"shiki",twoslash:!0,lineNumbers:!1,colorSchema:"auto",routerMode:"history",aspectRatio:1.7777777777777777,canvasWidth:980,exportFilename:"",selectable:!1,themeConfig:{},fonts:{sans:['"Avenir Next"','"Nunito Sans"',"ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:['"Fira Code"',"ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"],webfonts:["Avenir Next","Nunito Sans","Fira Code"],provider:"google",local:["Avenir Next"],italic:!1,weights:["200","400","600"]},favicon:"https://cdn.jsdelivr.net/gh/slidevjs/slidev/assets/favicon.png",drawings:{enabled:!0,persist:!1,presenterOnly:!1,syncAll:!0},plantUmlServer:"https://www.plantuml.com/plantuml",codeCopy:!0,record:"dev",css:"unocss",presenter:!0,htmlAttrs:{},editor:!0,layout:"cover"},Da="build",sn=T(D.aspectRatio??16/9),_o=T(D.canvasWidth??980),Na=m(()=>Math.ceil(_o.value/sn.value)),bo=m(()=>vo(D.themeConfig||{},(s,e)=>[`--slidev-theme-${s}`,e]));function Gt(s,e={},t){for(const n in s){const o=s[n],i=t?`${t}:${n}`:n;typeof o=="object"&&o!==null?Gt(o,e,i):typeof o=="function"&&(e[i]=o)}return e}const wo={run:s=>s()},ko=()=>wo,nn=typeof console.createTask<"u"?console.createTask:ko;function So(s,e){const t=e.shift(),n=nn(t);return s.reduce((o,i)=>o.then(()=>n.run(()=>i(...e))),Promise.resolve())}function Mo(s,e){const t=e.shift(),n=nn(t);return Promise.all(s.map(o=>n.run(()=>o(...e))))}function Rt(s,e){for(const t of[...s])t(e)}class Oo{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const o=e;let i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let r=i.message;r||(r=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(r)||(console.warn(r),this._deprecatedMessages.add(r))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,o=(...i)=>(typeof n=="function"&&n(),n=void 0,o=void 0,t(...i));return n=this.hook(e,o),n}removeHook(e,t){if(this._hooks[e]){const n=this._hooks[e].indexOf(t);n!==-1&&this._hooks[e].splice(n,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];delete this._hooks[e];for(const o of n)this.hook(e,o)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=Gt(e),n=Object.keys(t).map(o=>this.hook(o,t[o]));return()=>{for(const o of n.splice(0,n.length))o()}}removeHooks(e){const t=Gt(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(So,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(Mo,e,...t)}callHookWith(e,t,...n){const o=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Rt(this._before,o);const i=e(t in this._hooks?[...this._hooks[t]]:[],n);return i instanceof Promise?i.finally(()=>{this._after&&o&&Rt(this._after,o)}):(this._after&&o&&Rt(this._after,o),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}}function Po(){return new Oo}function To(s){return Array.isArray(s)?s:[s]}const Eo=["title","titleTemplate","script","style","noscript"],ft=["base","meta","link","style","script","noscript"],$o=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Ao=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],on=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],Lo=typeof window<"u";function hs(s){let e=9;for(let t=0;t>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Ts(s){return s._h||hs(s._d?s._d:`${s.tag}:${s.textContent||s.innerHTML||""}:${Object.entries(s.props).map(([e,t])=>`${e}:${String(t)}`).join(",")}`)}function rn(s,e){const{props:t,tag:n}=s;if(Ao.includes(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";const o=["id"];n==="meta"&&o.push("name","property","http-equiv");for(const i of o)if(typeof t[i]<"u"){const r=String(t[i]);return e&&!e(r)?!1:`${n}:${i}:${r}`}return!1}function Es(s,e){return s==null?e||null:typeof s=="function"?s(e):s}async function Co(s,e,t){const n={tag:s,props:await an(typeof e=="object"&&typeof e!="function"&&!(e instanceof Promise)?{...e}:{[["script","noscript","style"].includes(s)?"innerHTML":"textContent"]:e},["templateParams","titleTemplate"].includes(s))};return on.forEach(o=>{const i=typeof n.props[o]<"u"?n.props[o]:t[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||Eo.includes(n.tag))&&(n[o==="children"?"innerHTML":o]=i),delete n.props[o])}),n.props.body&&(n.tagPosition="bodyClose",delete n.props.body),n.tag==="script"&&typeof n.innerHTML=="object"&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||"application/json"),Array.isArray(n.props.content)?n.props.content.map(o=>({...n,props:{...n.props,content:o}})):n}function Io(s,e){var n;const t=s==="class"?" ":";";return typeof e=="object"&&!Array.isArray(e)&&(e=Object.entries(e).filter(([,o])=>o).map(([o,i])=>s==="style"?`${o}:${i}`:o)),(n=Array.isArray(e)?e.join(t):e)==null?void 0:n.split(t).filter(o=>o.trim()).filter(Boolean).join(t)}async function an(s,e){for(const t of Object.keys(s)){if(["class","style"].includes(t)){s[t]=Io(t,s[t]);continue}if(s[t]instanceof Promise&&(s[t]=await s[t]),!e&&!on.includes(t)){const n=String(s[t]),o=t.startsWith("data-");n==="true"||n===""?s[t]=o?"true":!0:s[t]||(o&&n==="false"?s[t]="false":delete s[t])}}return s}const jo=10;async function Do(s){const e=[];return Object.entries(s.resolvedInput).filter(([t,n])=>typeof n<"u"&&$o.includes(t)).forEach(([t,n])=>{const o=To(n);e.push(...o.map(i=>Co(t,i,s)).flat())}),(await Promise.all(e)).flat().filter(Boolean).map((t,n)=>(t._e=s._i,s.mode&&(t._m=s.mode),t._p=(s._i<l&&l[c]||void 0,e):a=e[r],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=s;try{o=decodeURI(s)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(r=>{const a=n(r.slice(1));typeof a=="string"&&(s=s.replace(new RegExp(`\\${r}(\\W|$)`,"g"),(l,c)=>`${a}${c}`).trim())}),s.includes(ae)&&(s.endsWith(ae)&&(s=s.slice(0,-ae.length).trim()),s.startsWith(ae)&&(s=s.slice(ae.length).trim()),s=s.replace(new RegExp(`\\${ae}\\s*\\${ae}`,"g"),ae),s=ht(s,{separator:t},t)),s}async function Ho(s,e={}){var u;const t=e.document||s.resolvedOptions.document;if(!t||!s.dirty)return;const n={shouldRender:!0,tags:[]};if(await s.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const o=(await s.resolveTags()).map(f=>({tag:f,id:ft.includes(f.tag)?Ts(f):f.tag,shouldRender:!0}));let i=s._dom;if(!i){i={elMap:{htmlAttrs:t.documentElement,bodyAttrs:t.body}};for(const f of["body","head"]){const h=(u=t[f])==null?void 0:u.children,d=[];for(const p of[...h].filter(g=>ft.includes(g.tagName.toLowerCase()))){const g={tag:p.tagName.toLowerCase(),props:await an(p.getAttributeNames().reduce((_,b)=>({..._,[b]:p.getAttribute(b)}),{})),innerHTML:p.innerHTML};let y=1,v=rn(g);for(;v&&d.find(_=>_._d===v);)v=`${v}:${y++}`;g._d=v||void 0,d.push(g),i.elMap[p.getAttribute("data-hid")||Ts(g)]=p}}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function r(f,h,d){const p=`${f}:${h}`;i.sideEffects[p]=d,delete i.pendingSideEffects[p]}function a({id:f,$el:h,tag:d}){const p=d.tag.endsWith("Attrs");i.elMap[f]=h,p||(["textContent","innerHTML"].forEach(g=>{d[g]&&d[g]!==h[g]&&(h[g]=d[g])}),r(f,"el",()=>{var g;(g=i.elMap[f])==null||g.remove(),delete i.elMap[f]}));for(const[g,y]of Object.entries(d._eventHandlers||{}))h.getAttribute(`data-${g}`)!==""&&((d.tag==="bodyAttrs"?t.defaultView:h).addEventListener(g.replace("on",""),y.bind(h)),h.setAttribute(`data-${g}`,""));Object.entries(d.props).forEach(([g,y])=>{const v=`attr:${g}`;if(g==="class")for(const _ of(y||"").split(" ").filter(Boolean))p&&r(f,`${v}:${_}`,()=>h.classList.remove(_)),!h.classList.contains(_)&&h.classList.add(_);else if(g==="style")for(const _ of(y||"").split(";").filter(Boolean)){const[b,...w]=_.split(":").map(O=>O.trim());r(f,`${v}:${_}:${b}`,()=>{h.style.removeProperty(b)}),h.style.setProperty(b,w.join(":"))}else h.getAttribute(g)!==y&&h.setAttribute(g,y===!0?"":String(y)),p&&r(f,v,()=>h.removeAttribute(g))})}const l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:h,shouldRender:d,id:p}=f;if(d){if(h.tag==="title"){t.title=h.textContent;continue}f.$el=f.$el||i.elMap[p],f.$el?a(f):ft.includes(h.tag)&&l.push(f)}}for(const f of l){const h=f.tag.tagPosition||"head";f.$el=t.createElement(f.tag.tag),a(f),c[h]=c[h]||t.createDocumentFragment(),c[h].appendChild(f.$el)}for(const f of o)await s.hooks.callHook("dom:renderTag",f,t,r);c.head&&t.head.appendChild(c.head),c.bodyOpen&&t.body.insertBefore(c.bodyOpen,t.body.firstChild),c.bodyClose&&t.body.appendChild(c.bodyClose),Object.values(i.pendingSideEffects).forEach(f=>f()),s._dom=i,s.dirty=!1,await s.hooks.callHook("dom:rendered",{renders:o})}async function Ro(s,e={}){const t=e.delayFn||(n=>setTimeout(n,10));return s._domUpdatePromise=s._domUpdatePromise||new Promise(n=>t(async()=>{await Ho(s,e),delete s._domUpdatePromise,n()}))}function Fo(s){return e=>{var n,o;const t=((o=(n=e.resolvedOptions.document)==null?void 0:n.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return t&&e.push(JSON.parse(t)),{mode:"client",hooks:{"entries:updated":function(i){Ro(i,s)}}}}}const xo=["templateParams","htmlAttrs","bodyAttrs"],Vo={hooks:{"tag:normalise":function({tag:s}){["hid","vmid","key"].forEach(n=>{s.props[n]&&(s.key=s.props[n],delete s.props[n])});const t=rn(s)||(s.key?`${s.tag}:${s.key}`:!1);t&&(s._d=t)},"tags:resolve":function(s){const e={};s.tags.forEach(n=>{const o=(n.key?`${n.tag}:${n.key}`:n._d)||n._p,i=e[o];if(i){let a=n==null?void 0:n.tagDuplicateStrategy;if(!a&&xo.includes(n.tag)&&(a="merge"),a==="merge"){const l=i.props;["class","style"].forEach(c=>{l[c]&&(n.props[c]?(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),n.props[c]=`${l[c]} ${n.props[c]}`):n.props[c]=l[c])}),e[o].props={...l,...n.props};return}else if(n._e===i._e){i._duped=i._duped||[],n._d=`${i._d}:${i._duped.length+1}`,i._duped.push(n);return}else if(bt(n)>bt(i))return}const r=Object.keys(n.props).length+(n.innerHTML?1:0)+(n.textContent?1:0);if(ft.includes(n.tag)&&r===0){delete e[o];return}e[o]=n});const t=[];Object.values(e).forEach(n=>{const o=n._duped;delete n._duped,t.push(n),o&&t.push(...o)}),s.tags=t,s.tags=s.tags.filter(n=>!(n.tag==="meta"&&(n.props.name||n.props.property)&&!n.props.content))}}},Bo={mode:"server",hooks:{"tags:resolve":function(s){const e={};s.tags.filter(t=>["titleTemplate","templateParams","title"].includes(t.tag)&&t._m==="server").forEach(t=>{e[t.tag]=t.tag.startsWith("title")?t.textContent:t.props}),Object.keys(e).length&&s.tags.push({tag:"script",innerHTML:JSON.stringify(e),props:{id:"unhead:payload",type:"application/json"}})}}},Wo=["script","link","bodyAttrs"],zo=s=>({hooks:{"tags:resolve":function(e){for(const t of e.tags.filter(n=>Wo.includes(n.tag)))Object.entries(t.props).forEach(([n,o])=>{n.startsWith("on")&&typeof o=="function"&&(s.ssr&&Ls.includes(n)?t.props[n]=`this.dataset.${n}fired = true`:delete t.props[n],t._eventHandlers=t._eventHandlers||{},t._eventHandlers[n]=o)}),s.ssr&&t._eventHandlers&&(t.props.src||t.props.href)&&(t.key=t.key||hs(t.props.src||t.props.href))},"dom:renderTag":function({$el:e,tag:t}){var n,o;for(const i of Object.keys((e==null?void 0:e.dataset)||{}).filter(r=>Ls.some(a=>`${a}fired`===r))){const r=i.replace("fired","");(o=(n=t._eventHandlers)==null?void 0:n[r])==null||o.call(e,new Event(r.replace("on","")))}}}}),Uo=["link","style","script","noscript"],qo={hooks:{"tag:normalise":({tag:s})=>{s.key&&Uo.includes(s.tag)&&(s.props["data-hid"]=s._h=hs(s.key))}}},Ko={hooks:{"tags:resolve":s=>{const e=t=>{var n;return(n=s.tags.find(o=>o._d===t))==null?void 0:n._p};for(const{prefix:t,offset:n}of No)for(const o of s.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(t))){const i=e(o.tagPriority.replace(t,""));typeof i<"u"&&(o._p=i+n)}s.tags.sort((t,n)=>t._p-n._p).sort((t,n)=>bt(t)-bt(n))}}},Jo={meta:"content",link:"href",htmlAttrs:"lang"},Go=s=>({hooks:{"tags:resolve":e=>{var a;const{tags:t}=e,n=(a=t.find(l=>l.tag==="title"))==null?void 0:a.textContent,o=t.findIndex(l=>l.tag==="templateParams"),i=o!==-1?t[o].props:{},r=i.separator||"|";delete i.separator,i.pageTitle=ht(i.pageTitle||n||"",i,r);for(const l of t.filter(c=>c.processTemplateParams!==!1)){const c=Jo[l.tag];c&&typeof l.props[c]=="string"?l.props[c]=ht(l.props[c],i,r):(l.processTemplateParams===!0||["titleTemplate","title"].includes(l.tag))&&["innerHTML","textContent"].forEach(u=>{typeof l[u]=="string"&&(l[u]=ht(l[u],i,r))})}s._templateParams=i,s._separator=r,e.tags=t.filter(l=>l.tag!=="templateParams")}}}),Qo={hooks:{"tags:resolve":s=>{const{tags:e}=s;let t=e.findIndex(o=>o.tag==="titleTemplate");const n=e.findIndex(o=>o.tag==="title");if(n!==-1&&t!==-1){const o=Es(e[t].textContent,e[n].textContent);o!==null?e[n].textContent=o||e[n].textContent:delete e[n]}else if(t!==-1){const o=Es(e[t].textContent);o!==null&&(e[t].textContent=o,e[t].tag="title",t=-1)}t!==-1&&delete e[t],s.tags=e.filter(Boolean)}}},Zo={hooks:{"tags:afterResolve":function(s){for(const e of s.tags)typeof e.innerHTML=="string"&&(e.innerHTML&&["application/ld+json","application/json"].includes(e.props.type)?e.innerHTML=e.innerHTML.replace(/{a.dirty=!0,e.callHook("entries:updated",a)};let o=0,i=[];const r=[],a={plugins:r,dirty:!1,resolvedOptions:s,hooks:e,headEntries(){return i},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!r.some(u=>u.key===c.key))&&(r.push(c),Cs(c.mode,t)&&e.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:o++,input:l,...c};return Cs(u.mode,t)&&(i.push(u),n()),{dispose(){i=i.filter(f=>f._i!==u._i),e.callHook("entries:updated",a),n()},patch(f){i=i.map(h=>(h._i===u._i&&(h.input=u.input=f),h)),n()}}},async resolveTags(){const l={tags:[],entries:[...i]};await e.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await Do(c)){const h={tag:f,entry:c,resolvedOptions:a.resolvedOptions};await e.callHook("tag:normalise",h),l.tags.push(h.tag)}}return await e.callHook("tags:beforeResolve",l),await e.callHook("tags:resolve",l),await e.callHook("tags:afterResolve",l),l.tags},ssr:t};return[Vo,Bo,zo,qo,Ko,Go,Qo,Zo,...(s==null?void 0:s.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function ei(){return ln}const ti=Fn.startsWith("3");function si(s){return typeof s=="function"?s():us(s)}function wt(s,e=""){if(s instanceof Promise)return s;const t=si(s);return!s||!t?t:Array.isArray(t)?t.map(n=>wt(n,e)):typeof t=="object"?Object.fromEntries(Object.entries(t).map(([n,o])=>n==="titleTemplate"||n.startsWith("on")?[n,us(o)]:[n,wt(o,n)])):t}const ni={hooks:{"entries:resolve":function(s){for(const e of s.entries)e.resolvedInput=wt(e.input)}}},cn="usehead";function oi(s){return{install(t){ti&&(t.config.globalProperties.$unhead=s,t.config.globalProperties.$head=s,t.provide(cn,s))}}.install}function ii(s={}){s.domDelayFn=s.domDelayFn||(t=>_t(()=>setTimeout(()=>t(),0)));const e=Yo(s);return e.use(ni),e.install=oi(e),e}const Is=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},js="__unhead_injection_handler__";function ri(){if(js in Is)return Is[js]();const s=Zs(cn);return s||console.warn("Unhead is missing Vue context, falling back to shared context. This may have unexpected results."),s||ei()}function ai(s,e={}){const t=e.head||ri();if(t)return t.ssr?t.push(s,e):li(t,s,e)}function li(s,e,t={}){const n=T(!1),o=T({});xe(()=>{o.value=n.value?{}:wt(e)});const i=s.push(o.value,t);return Q(o,a=>{i.patch(a)}),Ys()&&(xn(()=>{i.dispose()}),Vn(()=>{n.value=!0}),Bn(()=>{n.value=!1})),i}function un(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(2,10)}function Z(s,e,t){Object.defineProperty(s,e,{value:t,writable:!0,enumerable:!1})}const Le=M({page:0,clicks:0});let ci=[],ui=[];Z(Le,"$syncUp",!0);Z(Le,"$syncDown",!0);Z(Le,"$paused",!1);Z(Le,"$onSet",s=>ci.push(s));Z(Le,"$onPatch",s=>ui.push(s));un();Z(Le,"$patch",async()=>!1);function fn(s,e,t=!1){const n=[];let o=!1,i=!1,r,a;const l=M(e);function c(d){n.push(d)}function u(d,p){l[d]!==p&&(clearTimeout(r),o=!0,l[d]=p,r=setTimeout(()=>o=!1,0))}function f(d){o||(clearTimeout(a),i=!0,Object.entries(d).forEach(([p,g])=>{l[p]=g}),a=setTimeout(()=>i=!1,0))}function h(d){let p;t?t&&window.addEventListener("storage",y=>{y&&y.key===d&&y.newValue&&f(JSON.parse(y.newValue))}):(p=new BroadcastChannel(d),p.addEventListener("message",y=>f(y.data)));function g(){!t&&p&&!i?p.postMessage(Wn(l)):t&&!i&&window.localStorage.setItem(d,JSON.stringify(l)),o||n.forEach(y=>y(l))}if(Q(l,g,{deep:!0,flush:"sync"}),t){const y=window.localStorage.getItem(d);y&&f(JSON.parse(y))}}return{init:h,onPatch:c,patch:u,state:l}}const{init:fi,onPatch:hi,patch:Ue,state:Ha}=fn(Le,{page:1,clicks:0,viewerPage:1,viewerClicks:0}),Ce=M({});let di=[],pi=[];Z(Ce,"$syncUp",!0);Z(Ce,"$syncDown",!0);Z(Ce,"$paused",!1);Z(Ce,"$onSet",s=>di.push(s));Z(Ce,"$onPatch",s=>pi.push(s));un();Z(Ce,"$patch",async()=>!1);const{init:gi,onPatch:Ra,patch:Fa,state:xa}=fn(Ce,{},!1),Ct="$$slidev-clicks-context",ds="$$slidev-page",hn="$$slidev-slide-element",mi="$$slidev-slide-scale",yi="$$slidev-context",Va="$$slidev-route",ps="$$slidev-render-context",Ba="$$slidev-active",vi="$$slidev-fontmatter",_i="$$slidev-slide-zoom",dt="slidev-vclick-target",qe="slidev-vclick-hidden",Ke="slidev-vclick-fade",Ft="slidev-vclick-hidden-explicitly",xt="slidev-vclick-current",Vt="slidev-vclick-prior",Qt=999999,bi=["localhost","127.0.0.1"],wi=["clicks","clicksStart","disabled","hide","hideInToc","layout","level","preload","routeAlias","src","title","transition","zoom","dragPos"],Wa=[...wi,"theme","titleTemplate","info","author","keywords","presenter","download","exportFilename","export","highlighter","lineNumbers","monaco","monacoTypesSource","monacoTypesAdditionalPackages","monacoRunAdditionalDeps","remoteAssets","selectable","record","colorSchema","routerMode","aspectRatio","canvasWidth","themeConfig","favicon","plantUmlServer","fonts","defaults","drawings","htmlAttrs","mdc","contextMenu"],dn=T(!1),gs=Symbol.for("yaml.alias"),ki=Symbol.for("yaml.document"),Ae=Symbol.for("yaml.map"),pn=Symbol.for("yaml.pair"),ms=Symbol.for("yaml.scalar"),ot=Symbol.for("yaml.seq"),ie=Symbol.for("yaml.node.type"),Be=s=>!!s&&typeof s=="object"&&s[ie]===gs,It=s=>!!s&&typeof s=="object"&&s[ie]===ki,gn=s=>!!s&&typeof s=="object"&&s[ie]===Ae,B=s=>!!s&&typeof s=="object"&&s[ie]===pn,F=s=>!!s&&typeof s=="object"&&s[ie]===ms,ys=s=>!!s&&typeof s=="object"&&s[ie]===ot;function J(s){if(s&&typeof s=="object")switch(s[ie]){case Ae:case ot:return!0}return!1}function q(s){if(s&&typeof s=="object")switch(s[ie]){case gs:case Ae:case ms:case ot:return!0}return!1}const Si=s=>(F(s)||J(s))&&!!s.anchor,Te=Symbol("break visit"),Mi=Symbol("skip children"),Ze=Symbol("remove node");function tt(s,e){const t=Oi(e);It(s)?Ne(null,s.contents,t,Object.freeze([s]))===Ze&&(s.contents=null):Ne(null,s,t,Object.freeze([]))}tt.BREAK=Te;tt.SKIP=Mi;tt.REMOVE=Ze;function Ne(s,e,t,n){const o=Pi(s,e,t,n);if(q(o)||B(o))return Ti(s,n,o),Ne(s,o,t,n);if(typeof o!="symbol"){if(J(e)){n=Object.freeze(n.concat(e));for(let i=0;iee(n,String(o),t));if(s&&typeof s.toJSON=="function"){if(!t||!Si(s))return s.toJSON(e,t);const n={aliasCount:0,count:1,res:void 0};t.anchors.set(s,n),t.onCreate=i=>{n.res=i,delete t.onCreate};const o=s.toJSON(e,t);return t.onCreate&&t.onCreate(o),o}return typeof s=="bigint"&&!(t!=null&&t.keep)?Number(s):s}class vs{constructor(e){Object.defineProperty(this,ie,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:o,reviver:i}={}){if(!It(e))throw new TypeError("A document argument is required");const r={anchors:new Map,doc:e,keep:!0,mapAsMap:t===!0,mapKeyWarned:!1,maxAliasCount:typeof n=="number"?n:100},a=ee(this,"",r);if(typeof o=="function")for(const{count:l,res:c}of r.anchors.values())o(c,l);return typeof i=="function"?Qe(i,{"":a},"",a):a}}class Ei extends vs{constructor(e){super(gs),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return tt(e,{Node:(n,o)=>{if(o===this)return tt.BREAK;o.anchor===this.source&&(t=o)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:o,maxAliasCount:i}=t,r=this.resolve(o);if(!r){const l=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(l)}let a=n.get(r);if(a||(ee(r,null,t),a=n.get(r)),!a||a.res===void 0){const l="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(l)}if(i>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=pt(o,r,n)),a.count*a.aliasCount>i)){const l="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(l)}return a.res}toString(e,t,n){const o=`*${this.source}`;if(e){if(mn(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const i=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(i)}if(e.implicitKey)return`${o} `}return o}}function pt(s,e,t){if(Be(e)){const n=e.resolve(s),o=t&&n&&t.get(n);return o?o.count*o.aliasCount:0}else if(J(e)){let n=0;for(const o of e.items){const i=pt(s,o,t);i>n&&(n=i)}return n}else if(B(e)){const n=pt(s,e.key,t),o=pt(s,e.value,t);return Math.max(n,o)}return 1}const yn=s=>!s||typeof s!="function"&&typeof s!="object";class H extends vs{constructor(e){super(ms),this.value=e}toJSON(e,t){return t!=null&&t.keep?this.value:ee(this.value,e,t)}toString(){return String(this.value)}}H.BLOCK_FOLDED="BLOCK_FOLDED";H.BLOCK_LITERAL="BLOCK_LITERAL";H.PLAIN="PLAIN";H.QUOTE_DOUBLE="QUOTE_DOUBLE";H.QUOTE_SINGLE="QUOTE_SINGLE";const $i="tag:yaml.org,2002:";function Ai(s,e,t){if(e){const n=t.filter(i=>i.tag===e),o=n.find(i=>!i.format)??n[0];if(!o)throw new Error(`Tag ${e} not found`);return o}return t.find(n=>{var o;return((o=n.identify)==null?void 0:o.call(n,s))&&!n.format})}function kt(s,e,t){var f,h,d;if(It(s)&&(s=s.contents),q(s))return s;if(B(s)){const p=(h=(f=t.schema[Ae]).createNode)==null?void 0:h.call(f,t.schema,null,t);return p.items.push(s),p}(s instanceof String||s instanceof Number||s instanceof Boolean||typeof BigInt<"u"&&s instanceof BigInt)&&(s=s.valueOf());const{aliasDuplicateObjects:n,onAnchor:o,onTagObj:i,schema:r,sourceObjects:a}=t;let l;if(n&&s&&typeof s=="object"){if(l=a.get(s),l)return l.anchor||(l.anchor=o(s)),new Ei(l.anchor);l={anchor:null,node:null},a.set(s,l)}e!=null&&e.startsWith("!!")&&(e=$i+e.slice(2));let c=Ai(s,e,r.tags);if(!c){if(s&&typeof s.toJSON=="function"&&(s=s.toJSON()),!s||typeof s!="object"){const p=new H(s);return l&&(l.node=p),p}c=s instanceof Map?r[Ae]:Symbol.iterator in Object(s)?r[ot]:r[Ae]}i&&(i(c),delete t.onTagObj);const u=c!=null&&c.createNode?c.createNode(t.schema,s,t):typeof((d=c==null?void 0:c.nodeClass)==null?void 0:d.from)=="function"?c.nodeClass.from(t.schema,s,t):new H(s);return e?u.tag=e:c.default||(u.tag=c.tag),l&&(l.node=u),u}function Ds(s,e,t){let n=t;for(let o=e.length-1;o>=0;--o){const i=e[o];if(typeof i=="number"&&Number.isInteger(i)&&i>=0){const r=[];r[i]=n,n=r}else n=new Map([[i,n]])}return kt(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:s,sourceObjects:new Map})}const Li=s=>s==null||typeof s=="object"&&!!s[Symbol.iterator]().next().done;class _s extends vs{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(n=>q(n)||B(n)?n.clone(e):n),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(Li(e))this.add(t);else{const[n,...o]=e,i=this.get(n,!0);if(J(i))i.addIn(o,t);else if(i===void 0&&this.schema)this.set(n,Ds(this.schema,o,t));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${o}`)}}deleteIn(e){const[t,...n]=e;if(n.length===0)return this.delete(t);const o=this.get(t,!0);if(J(o))return o.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...o]=e,i=this.get(n,!0);return o.length===0?!t&&F(i)?i.value:i:J(i)?i.getIn(o,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!B(t))return!1;const n=t.value;return n==null||e&&F(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){const[t,...n]=e;if(n.length===0)return this.has(t);const o=this.get(t,!0);return J(o)?o.hasIn(n):!1}setIn(e,t){const[n,...o]=e;if(o.length===0)this.set(n,t);else{const i=this.get(n,!0);if(J(i))i.setIn(o,t);else if(i===void 0&&this.schema)this.set(n,Ds(this.schema,o,t));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${o}`)}}}_s.maxFlowStringSingleLineLength=60;const Ci=s=>s.replace(/^(?!$)(?: $)?/gm,"#");function st(s,e){return/^\n+$/.test(s)?s.substring(1):e?s.replace(/^(?! *$)/gm,e):s}const He=(s,e,t)=>s.endsWith(` +`)?st(t,e):t.includes(` +`)?` +`+st(t,e):(s.endsWith(" ")?"":" ")+t,vn="flow",Zt="block",gt="quoted";function jt(s,e,t="flow",{indentAtStart:n,lineWidth:o=80,minContentWidth:i=20,onFold:r,onOverflow:a}={}){if(!o||o<0)return s;const l=Math.max(1+i,1+o-e.length);if(s.length<=l)return s;const c=[],u={};let f=o-e.length;typeof n=="number"&&(n>o-Math.max(2,i)?c.push(0):f=o-n);let h,d,p=!1,g=-1,y=-1,v=-1;t===Zt&&(g=Ns(s,g,e.length),g!==-1&&(f=g+l));for(let b;b=s[g+=1];){if(t===gt&&b==="\\"){switch(y=g,s[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}v=g}if(b===` +`)t===Zt&&(g=Ns(s,g,e.length)),f=g+e.length+l,h=void 0;else{if(b===" "&&d&&d!==" "&&d!==` +`&&d!==" "){const w=s[g+1];w&&w!==" "&&w!==` +`&&w!==" "&&(h=g)}if(g>=f)if(h)c.push(h),f=h+l,h=void 0;else if(t===gt){for(;d===" "||d===" ";)d=b,b=s[g+=1],p=!0;const w=g>v+1?g-2:y-1;if(u[w])return s;c.push(w),u[w]=!0,f=w+l,h=void 0}else p=!0}d=b}if(p&&a&&a(),c.length===0)return s;r&&r();let _=s.slice(0,c[0]);for(let b=0;b({indentAtStart:e?s.indent.length:s.indentAtStart,lineWidth:s.options.lineWidth,minContentWidth:s.options.minContentWidth}),Nt=s=>/^(%|---|\.\.\.)/m.test(s);function Ii(s,e,t){if(!e||e<0)return!1;const n=e-t,o=s.length;if(o<=n)return!1;for(let i=0,r=0;in)return!0;if(r=i+1,o-r<=n)return!1}return!0}function Ye(s,e){const t=JSON.stringify(s);if(e.options.doubleQuotedAsJSON)return t;const{implicitKey:n}=e,o=e.options.doubleQuotedMinMultiLineLength,i=e.indent||(Nt(s)?" ":"");let r="",a=0;for(let l=0,c=t[l];c;c=t[++l])if(c===" "&&t[l+1]==="\\"&&t[l+2]==="n"&&(r+=t.slice(a,l)+"\\ ",l+=1,a=l,c="\\"),c==="\\")switch(t[l+1]){case"u":{r+=t.slice(a,l);const u=t.substr(l+2,4);switch(u){case"0000":r+="\\0";break;case"0007":r+="\\a";break;case"000b":r+="\\v";break;case"001b":r+="\\e";break;case"0085":r+="\\N";break;case"00a0":r+="\\_";break;case"2028":r+="\\L";break;case"2029":r+="\\P";break;default:u.substr(0,2)==="00"?r+="\\x"+u.substr(2):r+=t.substr(l,6)}l+=5,a=l+1}break;case"n":if(n||t[l+2]==='"'||t.length +`;let f,h;for(h=t.length;h>0;--h){const S=t[h-1];if(S!==` +`&&S!==" "&&S!==" ")break}let d=t.substring(h);const p=d.indexOf(` +`);p===-1?f="-":t===d||p!==d.length-1?(f="+",i&&i()):f="",d&&(t=t.slice(0,-d.length),d[d.length-1]===` +`&&(d=d.slice(0,-1)),d=d.replace(Xt,`$&${c}`));let g=!1,y,v=-1;for(y=0;y")+(g?c?"2":"1":"")+f;if(s&&(w+=" "+a(s.replace(/ ?[\r\n]+/g," ")),o&&o()),u)return t=t.replace(/\n+/g,`$&${c}`),`${w} +${c}${_}${t}${d}`;t=t.replace(/\n+/g,` +$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);const O=jt(`${_}${t}${d}`,c,Zt,Dt(n,!0));return`${w} +${c}${O}`}function ji(s,e,t,n){const{type:o,value:i}=s,{actualString:r,implicitKey:a,indent:l,indentStep:c,inFlow:u}=e;if(a&&i.includes(` +`)||u&&/[[\]{},]/.test(i))return Re(i,e);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return a||u||!i.includes(` +`)?Re(i,e):mt(s,e,t,n);if(!a&&!u&&o!==H.PLAIN&&i.includes(` +`))return mt(s,e,t,n);if(Nt(i)){if(l==="")return e.forceBlockIndent=!0,mt(s,e,t,n);if(a&&l===c)return Re(i,e)}const f=i.replace(/\n+/g,`$& +${l}`);if(r){const h=g=>{var y;return g.default&&g.tag!=="tag:yaml.org,2002:str"&&((y=g.test)==null?void 0:y.test(f))},{compat:d,tags:p}=e.doc.schema;if(p.some(h)||d!=null&&d.some(h))return Re(i,e)}return a?f:jt(f,l,vn,Dt(e,!1))}function Di(s,e,t,n){const{implicitKey:o,inFlow:i}=e,r=typeof s.value=="string"?s:Object.assign({},s,{value:String(s.value)});let{type:a}=s;a!==H.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(r.value)&&(a=H.QUOTE_DOUBLE);const l=u=>{switch(u){case H.BLOCK_FOLDED:case H.BLOCK_LITERAL:return o||i?Re(r.value,e):mt(r,e,t,n);case H.QUOTE_DOUBLE:return Ye(r.value,e);case H.QUOTE_SINGLE:return Yt(r.value,e);case H.PLAIN:return ji(r,e,t,n);default:return null}};let c=l(a);if(c===null){const{defaultKeyType:u,defaultStringType:f}=e.options,h=o&&u||f;if(c=l(h),c===null)throw new Error(`Unsupported default string type ${h}`)}return c}function Ni(s,e){const t=Object.assign({blockQuote:!0,commentString:Ci,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},s.schema.toStringOptions,e);let n;switch(t.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:s,flowCollectionPadding:t.flowCollectionPadding?" ":"",indent:"",indentStep:typeof t.indent=="number"?" ".repeat(t.indent):" ",inFlow:n,options:t}}function Hi(s,e){var o;if(e.tag){const i=s.filter(r=>r.tag===e.tag);if(i.length>0)return i.find(r=>r.format===e.format)??i[0]}let t,n;if(F(e)){n=e.value;const i=s.filter(r=>{var a;return(a=r.identify)==null?void 0:a.call(r,n)});t=i.find(r=>r.format===e.format)??i.find(r=>!r.format)}else n=e,t=s.find(i=>i.nodeClass&&n instanceof i.nodeClass);if(!t){const i=((o=n==null?void 0:n.constructor)==null?void 0:o.name)??typeof n;throw new Error(`Tag not resolved for ${i} value`)}return t}function Ri(s,e,{anchors:t,doc:n}){if(!n.directives)return"";const o=[],i=(F(s)||J(s))&&s.anchor;i&&mn(i)&&(t.add(i),o.push(`&${i}`));const r=s.tag?s.tag:e.default?null:e.tag;return r&&o.push(n.directives.tagString(r)),o.join(" ")}function St(s,e,t,n){var l;if(B(s))return s.toString(e,t,n);if(Be(s)){if(e.doc.directives)return s.toString(e);if((l=e.resolvedAliases)!=null&&l.has(s))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(s):e.resolvedAliases=new Set([s]),s=s.resolve(e.doc)}let o;const i=q(s)?s:e.doc.createNode(s,{onTagObj:c=>o=c});o||(o=Hi(e.doc.schema.tags,i));const r=Ri(i,o,e);r.length>0&&(e.indentAtStart=(e.indentAtStart??0)+r.length+1);const a=typeof o.stringify=="function"?o.stringify(i,e,t,n):F(i)?Di(i,e,t,n):i.toString(e,t,n);return r?F(i)||a[0]==="{"||a[0]==="["?`${r} ${a}`:`${r} +${e.indent}${a}`:a}function Fi({key:s,value:e},t,n,o){const{allNullValues:i,doc:r,indent:a,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:f}}=t;let h=q(s)&&s.comment||null;if(f){if(h)throw new Error("With simple keys, key nodes cannot have comments");if(J(s)){const E="With simple keys, collection cannot be used as a key value";throw new Error(E)}}let d=!f&&(!s||h&&e==null&&!t.inFlow||J(s)||(F(s)?s.type===H.BLOCK_FOLDED||s.type===H.BLOCK_LITERAL:typeof s=="object"));t=Object.assign({},t,{allNullValues:!1,implicitKey:!d&&(f||!i),indent:a+l});let p=!1,g=!1,y=St(s,t,()=>p=!0,()=>g=!0);if(!d&&!t.inFlow&&y.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");d=!0}if(t.inFlow){if(i||e==null)return p&&n&&n(),y===""?"?":d?`? ${y}`:y}else if(i&&!f||e==null&&d)return y=`? ${y}`,h&&!p?y+=He(y,t.indent,c(h)):g&&o&&o(),y;p&&(h=null),d?(h&&(y+=He(y,t.indent,c(h))),y=`? ${y} +${a}:`):(y=`${y}:`,h&&(y+=He(y,t.indent,c(h))));let v,_,b;q(e)?(v=!!e.spaceBefore,_=e.commentBefore,b=e.comment):(v=!1,_=null,b=null,e&&typeof e=="object"&&(e=r.createNode(e))),t.implicitKey=!1,!d&&!h&&F(e)&&(t.indentAtStart=y.length+1),g=!1,!u&&l.length>=2&&!t.inFlow&&!d&&ys(e)&&!e.flow&&!e.tag&&!e.anchor&&(t.indent=t.indent.substring(2));let w=!1;const O=St(e,t,()=>w=!0,()=>g=!0);let S=" ";if(h||v||_){if(S=v?` +`:"",_){const E=c(_);S+=` +${st(E,t.indent)}`}O===""&&!t.inFlow?S===` +`&&(S=` + +`):S+=` +${t.indent}`}else if(!d&&J(e)){const E=O[0],$=O.indexOf(` +`),I=$!==-1,x=t.inFlow??e.flow??e.items.length===0;if(I||!x){let se=!1;if(I&&(E==="&"||E==="!")){let P=O.indexOf(" ");E==="&"&&P!==-1&&P<$&&O[P+1]==="!"&&(P=O.indexOf(" ",P+1)),(P===-1||$s===Hs||F(s)&&s.value===Hs&&(!s.type||s.type===H.PLAIN);function Bt(s,e,t){const n=s&&Be(t)?t.resolve(s.doc):t;if(!gn(n))throw new Error("Merge sources must be maps or map aliases");const o=n.toJSON(null,s,Map);for(const[i,r]of o)e instanceof Map?e.has(i)||e.set(i,r):e instanceof Set?e.add(i):Object.prototype.hasOwnProperty.call(e,i)||Object.defineProperty(e,i,{value:r,writable:!0,enumerable:!0,configurable:!0});return e}function Bi(s,e,t){if(e===null)return"";if(typeof e!="object")return String(e);if(q(s)&&(t!=null&&t.doc)){const n=Ni(t.doc,{});n.anchors=new Set;for(const i of t.anchors.keys())n.anchors.add(i.anchor);n.inFlow=!0,n.inStringifyKey=!0;const o=s.toString(n);if(!t.mapKeyWarned){let i=JSON.stringify(o);i.length>40&&(i=i.substring(0,36)+'..."'),xi(t.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${i}. Set mapAsMap: true to use object keys.`),t.mapKeyWarned=!0}return o}return JSON.stringify(e)}function bs(s,e,t){const n=kt(s,void 0,t),o=kt(e,void 0,t);return new re(n,o)}class re{constructor(e,t=null){Object.defineProperty(this,ie,{value:pn}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return q(t)&&(t=t.clone(e)),q(n)&&(n=n.clone(e)),new re(t,n)}toJSON(e,t){const n=t!=null&&t.mapAsMap?new Map:{};return _n(t,n,this)}toString(e,t,n){return e!=null&&e.doc?Fi(this,e,t,n):JSON.stringify(this)}}function bn(s,e,t){return(e.inFlow??s.flow?zi:Wi)(s,e,t)}function Wi({comment:s,items:e},t,{blockItemPrefix:n,flowChars:o,itemIndent:i,onChompKeep:r,onComment:a}){const{indent:l,options:{commentString:c}}=t,u=Object.assign({},t,{indent:i,type:null});let f=!1;const h=[];for(let p=0;py=null,()=>f=!0);y&&(v+=He(v,i,c(y))),f&&y&&(f=!1),h.push(n+v)}let d;if(h.length===0)d=o.start+o.end;else{d=h[0];for(let p=1;py=null);pu||v.includes(` +`))&&(c=!0),f.push(v),u=f.length}const{start:h,end:d}=t;if(f.length===0)return h+d;if(!c){const p=f.reduce((g,y)=>g+y.length+2,2);c=e.options.lineWidth>0&&p>e.options.lineWidth}if(c){let p=h;for(const g of f)p+=g?` +${i}${o}${g}`:` +`;return`${p} +${o}${d}`}else return`${h}${r}${f.join(" ")}${r}${d}`}function Mt({indent:s,options:{commentString:e}},t,n,o){if(n&&o&&(n=n.replace(/^\n+/,"")),n){const i=st(e(n),s);t.push(i.trimStart())}}function $e(s,e){const t=F(e)?e.value:e;for(const n of s)if(B(n)&&(n.key===e||n.key===t||F(n.key)&&n.key.value===t))return n}class je extends _s{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(Ae,e),this.items=[]}static from(e,t,n){const{keepUndefined:o,replacer:i}=n,r=new this(e),a=(l,c)=>{if(typeof i=="function")c=i.call(t,l,c);else if(Array.isArray(i)&&!i.includes(l))return;(c!==void 0||o)&&r.items.push(bs(l,c,n))};if(t instanceof Map)for(const[l,c]of t)a(l,c);else if(t&&typeof t=="object")for(const l of Object.keys(t))a(l,t[l]);return typeof e.sortMapEntries=="function"&&r.items.sort(e.sortMapEntries),r}add(e,t){var r;let n;B(e)?n=e:!e||typeof e!="object"||!("key"in e)?n=new re(e,e==null?void 0:e.value):n=new re(e.key,e.value);const o=$e(this.items,n.key),i=(r=this.schema)==null?void 0:r.sortMapEntries;if(o){if(!t)throw new Error(`Key ${n.key} already set`);F(o.value)&&yn(n.value)?o.value.value=n.value:o.value=n.value}else if(i){const a=this.items.findIndex(l=>i(n,l)<0);a===-1?this.items.push(n):this.items.splice(a,0,n)}else this.items.push(n)}delete(e){const t=$e(this.items,e);return t?this.items.splice(this.items.indexOf(t),1).length>0:!1}get(e,t){const n=$e(this.items,e),o=n==null?void 0:n.value;return(!t&&F(o)?o.value:o)??void 0}has(e){return!!$e(this.items,e)}set(e,t){this.add(new re(e,t),!0)}toJSON(e,t,n){const o=n?new n:t!=null&&t.mapAsMap?new Map:{};t!=null&&t.onCreate&&t.onCreate(o);for(const i of this.items)_n(t,o,i);return o}toString(e,t,n){if(!e)return JSON.stringify(this);for(const o of this.items)if(!B(o))throw new Error(`Map items must all be pairs; found ${JSON.stringify(o)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),bn(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}class wn extends _s{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(ot,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=rt(e);return typeof t!="number"?!1:this.items.splice(t,1).length>0}get(e,t){const n=rt(e);if(typeof n!="number")return;const o=this.items[n];return!t&&F(o)?o.value:o}has(e){const t=rt(e);return typeof t=="number"&&t=0?e:null}function Ui(s,e,t){const{replacer:n}=t,o=new wn(s);o.tag="tag:yaml.org,2002:pairs";let i=0;if(e&&Symbol.iterator in Object(e))for(let r of e){typeof n=="function"&&(r=n.call(e,String(i++),r));let a,l;if(Array.isArray(r))if(r.length===2)a=r[0],l=r[1];else throw new TypeError(`Expected [key, value] tuple: ${r}`);else if(r&&r instanceof Object){const c=Object.keys(r);if(c.length===1)a=c[0],l=r[a];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else a=r;o.items.push(bs(a,l,t))}return o}class ws extends wn{constructor(){super(),this.add=je.prototype.add.bind(this),this.delete=je.prototype.delete.bind(this),this.get=je.prototype.get.bind(this),this.has=je.prototype.has.bind(this),this.set=je.prototype.set.bind(this),this.tag=ws.tag}toJSON(e,t){if(!t)return super.toJSON(e);const n=new Map;t!=null&&t.onCreate&&t.onCreate(n);for(const o of this.items){let i,r;if(B(o)?(i=ee(o.key,"",t),r=ee(o.value,i,t)):i=ee(o,"",t),n.has(i))throw new Error("Ordered maps must not include duplicate keys");n.set(i,r)}return n}static from(e,t,n){const o=Ui(e,t,n),i=new this;return i.items=o.items,i}}ws.tag="tag:yaml.org,2002:omap";class ks extends je{constructor(e){super(e),this.tag=ks.tag}add(e){let t;B(e)?t=e:e&&typeof e=="object"&&"key"in e&&"value"in e&&e.value===null?t=new re(e.key,null):t=new re(e,null),$e(this.items,t.key)||this.items.push(t)}get(e,t){const n=$e(this.items,e);return!t&&B(n)?F(n.key)?n.key.value:n.key:n}set(e,t){if(typeof t!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);const n=$e(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new re(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}static from(e,t,n){const{replacer:o}=n,i=new this(e);if(t&&Symbol.iterator in Object(t))for(let r of t)typeof o=="function"&&(r=o.call(t,r,r)),i.items.push(bs(r,null,n));return i}}ks.tag="tag:yaml.org,2002:set";function qi(s){return Array.from(new Set(s))}function Rs(...s){let e,t,n;s.length===1?(e=0,n=1,[t]=s):[e,t,n=1]=s;const o=[];let i=e;for(;in<=s).sort((n,o)=>n-o)}function za(){const s=T(Date.now()),e=zn({interval:1e3}),t=m(()=>{const o=(e.value-s.value)/1e3,i=Math.floor(o%60).toString().padStart(2,"0");return`${Math.floor(o/60).toString().padStart(2,"0")}:${i}`});function n(){s.value=e.value}return{timer:t,resetTimer:n}}function Ss(s=5){const e=[],t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",n=t.length;for(let o=0;o0){const i=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),a=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));o=Promise.all(t.map(l=>{if(l=Gi(l),l in Fs)return;Fs[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!n)for(let d=i.length-1;d>=0;d--){const p=i[d];if(p.href===l&&(!c||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":Ji,c||(h.as="script",h.crossOrigin=""),h.href=l,a&&h.setAttribute("nonce",a),document.head.appendChild(h),c)return new Promise((d,p)=>{h.addEventListener("load",d),h.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}return o.then(()=>e()).catch(i=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i})},kn=(s,e)=>{const t=s.__vccOpts||s;for(const[n,o]of e)t[n]=o;return t},Qi={},Zi={class:"px-4 py-10 text-center text-red-700 dark:text-red-500 font-bold font-mono"};function Yi(s,e){return Xs(),Un("div",Zi," An error occurred on this slide. Check the terminal for more information. ")}const Xi=kn(Qi,[["render",Yi],["__file","/usr/local/lib/node_modules/@slidev/cli/node_modules/@slidev/client/layouts/error.vue"]]),V=Object.freeze(Object.defineProperty({__proto__:null,default:Xi},Symbol.toStringTag,{value:"Module"})),ue=M({theme:"default",layout:"cover"}),er=M({layout:m(()=>ue.layout),transition:m(()=>ue.transition),class:m(()=>ue.class),clicks:m(()=>ue.clicks),name:m(()=>ue.name),preload:m(()=>ue.preload),slide:{index:0,content:"",note:"",title:"Software Architecture",level:1,noteHTML:"",raw:"",frontmatter:ue,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:0,id:0,no:1},__clicksContext:null,__preloaded:!1}),fe=M({}),tr=M({layout:m(()=>fe.layout),transition:m(()=>fe.transition),class:m(()=>fe.class),clicks:m(()=>fe.clicks),name:m(()=>fe.name),preload:m(()=>fe.preload),slide:{index:1,content:"",note:"",title:"Serverless Architecture",level:1,noteHTML:"",raw:"",frontmatter:fe,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:10,id:1,no:2},__clicksContext:null,__preloaded:!1}),he=M({layout:"two-cols"}),sr=M({layout:m(()=>he.layout),transition:m(()=>he.transition),class:m(()=>he.class),clicks:m(()=>he.clicks),name:m(()=>he.name),preload:m(()=>he.preload),slide:{index:2,content:"",note:"",title:"JPetStore",level:1,noteHTML:"",raw:"",frontmatter:he,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:21,id:2,no:3},__clicksContext:null,__preloaded:!1}),de=M({layout:"two-cols"}),nr=M({layout:m(()=>de.layout),transition:m(()=>de.transition),class:m(()=>de.class),clicks:m(()=>de.clicks),name:m(()=>de.name),preload:m(()=>de.preload),slide:{index:3,content:"",note:"",title:"Serverless",level:1,noteHTML:"",raw:"",frontmatter:de,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:43,id:3,no:4},__clicksContext:null,__preloaded:!1}),pe=M({}),or=M({layout:m(()=>pe.layout),transition:m(()=>pe.transition),class:m(()=>pe.class),clicks:m(()=>pe.clicks),name:m(()=>pe.name),preload:m(()=>pe.preload),slide:{index:4,content:"",note:"",title:"无服务器架构",level:1,noteHTML:"",raw:"",frontmatter:pe,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:60,id:4,no:5},__clicksContext:null,__preloaded:!1}),ge=M({layout:"two-cols"}),ir=M({layout:m(()=>ge.layout),transition:m(()=>ge.transition),class:m(()=>ge.class),clicks:m(()=>ge.clicks),name:m(()=>ge.name),preload:m(()=>ge.preload),slide:{index:5,content:"",note:"",title:"优点",level:1,noteHTML:"",raw:"",frontmatter:ge,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:70,id:5,no:6},__clicksContext:null,__preloaded:!1}),me=M({}),rr=M({layout:m(()=>me.layout),transition:m(()=>me.transition),class:m(()=>me.class),clicks:m(()=>me.clicks),name:m(()=>me.name),preload:m(()=>me.preload),slide:{index:6,content:"",note:"",title:"Function as a service (FaaS)",level:1,noteHTML:"",raw:"",frontmatter:me,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:88,id:6,no:7},__clicksContext:null,__preloaded:!1}),ye=M({}),ar=M({layout:m(()=>ye.layout),transition:m(()=>ye.transition),class:m(()=>ye.class),clicks:m(()=>ye.clicks),name:m(()=>ye.name),preload:m(()=>ye.preload),slide:{index:7,content:"",note:"",title:"Open Source Serverless Platforms",level:1,noteHTML:"",raw:"",frontmatter:ye,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:100,id:7,no:8},__clicksContext:null,__preloaded:!1}),ve=M({layout:"two-cols"}),lr=M({layout:m(()=>ve.layout),transition:m(()=>ve.transition),class:m(()=>ve.class),clicks:m(()=>ve.clicks),name:m(()=>ve.name),preload:m(()=>ve.preload),slide:{index:8,content:"",note:"",title:"OpenFaaS",level:1,noteHTML:"",raw:"",frontmatter:ve,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:108,id:8,no:9},__clicksContext:null,__preloaded:!1}),_e=M({}),cr=M({layout:m(()=>_e.layout),transition:m(()=>_e.transition),class:m(()=>_e.class),clicks:m(()=>_e.clicks),name:m(()=>_e.name),preload:m(()=>_e.preload),slide:{index:9,content:"",note:"",title:"serverless.com",level:1,noteHTML:"",raw:"",frontmatter:_e,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:130,id:9,no:10},__clicksContext:null,__preloaded:!1}),be=M({layout:"two-cols"}),ur=M({layout:m(()=>be.layout),transition:m(()=>be.transition),class:m(()=>be.class),clicks:m(()=>be.clicks),name:m(()=>be.name),preload:m(()=>be.preload),slide:{index:10,content:"",note:"",title:"Spring Cloud Function",level:1,noteHTML:"",raw:"",frontmatter:be,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:137,id:10,no:11},__clicksContext:null,__preloaded:!1}),we=M({layout:"two-cols"}),fr=M({layout:m(()=>we.layout),transition:m(()=>we.transition),class:m(()=>we.class),clicks:m(()=>we.clicks),name:m(()=>we.name),preload:m(()=>we.preload),slide:{index:11,content:"",note:"",title:"函数式编程",level:1,noteHTML:"",raw:"",frontmatter:we,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:151,id:11,no:12},__clicksContext:null,__preloaded:!1}),ke=M({}),hr=M({layout:m(()=>ke.layout),transition:m(()=>ke.transition),class:m(()=>ke.class),clicks:m(()=>ke.clicks),name:m(()=>ke.name),preload:m(()=>ke.preload),slide:{index:12,content:"",note:"",title:"函数",level:1,noteHTML:"",raw:"",frontmatter:ke,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:173,id:12,no:13},__clicksContext:null,__preloaded:!1}),Se=M({layout:"two-cols"}),dr=M({layout:m(()=>Se.layout),transition:m(()=>Se.transition),class:m(()=>Se.class),clicks:m(()=>Se.clicks),name:m(()=>Se.name),preload:m(()=>Se.preload),slide:{index:13,content:"",note:"",title:"Pojo Function",level:1,noteHTML:"",raw:"",frontmatter:Se,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:194,id:13,no:14},__clicksContext:null,__preloaded:!1}),Me=M({}),pr=M({layout:m(()=>Me.layout),transition:m(()=>Me.transition),class:m(()=>Me.class),clicks:m(()=>Me.clicks),name:m(()=>Me.name),preload:m(()=>Me.preload),slide:{index:14,content:"",note:"",title:"Invoke via Message",level:1,noteHTML:"",raw:"",frontmatter:Me,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:218,id:14,no:15},__clicksContext:null,__preloaded:!1}),Oe=M({}),gr=M({layout:m(()=>Oe.layout),transition:m(()=>Oe.transition),class:m(()=>Oe.class),clicks:m(()=>Oe.clicks),name:m(()=>Oe.name),preload:m(()=>Oe.preload),slide:{index:15,content:"",note:"",title:"Features",level:1,noteHTML:"",raw:"",frontmatter:Oe,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:224,id:15,no:16},__clicksContext:null,__preloaded:!1}),Pe=M({}),mr=M({layout:m(()=>Pe.layout),transition:m(()=>Pe.transition),class:m(()=>Pe.class),clicks:m(()=>Pe.clicks),name:m(()=>Pe.name),preload:m(()=>Pe.preload),slide:{index:16,content:"",note:"",title:"Target Platforms",level:1,noteHTML:"",raw:"",frontmatter:Pe,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/08-serverless.md",start:236,id:16,no:17},__clicksContext:null,__preloaded:!1}),yr=[{no:1,meta:er,component:async()=>{try{return await C(()=>import("./slidev/1-D6LYmwHL.js"),__vite__mapDeps([0,1,2,3,4]))}catch(s){return console.error("Failed to load slide 1:",s),V}}},{no:2,meta:tr,component:async()=>{try{return await C(()=>import("./slidev/2-CGU85rFs.js"),__vite__mapDeps([5,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 2:",s),V}}},{no:3,meta:sr,component:async()=>{try{return await C(()=>import("./3-C8_toCXe.js"),__vite__mapDeps([7,1,8,2,3,4]))}catch(s){return console.error("Failed to load slide 3:",s),V}}},{no:4,meta:nr,component:async()=>{try{return await C(()=>import("./4-DGOVnNTn.js"),__vite__mapDeps([9,1,8,2,3,4]))}catch(s){return console.error("Failed to load slide 4:",s),V}}},{no:5,meta:or,component:async()=>{try{return await C(()=>import("./slidev/5-DIP-cCTf.js"),__vite__mapDeps([10,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 5:",s),V}}},{no:6,meta:ir,component:async()=>{try{return await C(()=>import("./6-C2gB4W6U.js"),__vite__mapDeps([11,1,8,2,3,4]))}catch(s){return console.error("Failed to load slide 6:",s),V}}},{no:7,meta:rr,component:async()=>{try{return await C(()=>import("./slidev/7-7AEC8k9T.js"),__vite__mapDeps([12,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 7:",s),V}}},{no:8,meta:ar,component:async()=>{try{return await C(()=>import("./8-DrXbamla.js"),__vite__mapDeps([13,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 8:",s),V}}},{no:9,meta:lr,component:async()=>{try{return await C(()=>import("./9-oSLJinUO.js"),__vite__mapDeps([14,1,8,2,3,4]))}catch(s){return console.error("Failed to load slide 9:",s),V}}},{no:10,meta:cr,component:async()=>{try{return await C(()=>import("./10-C9C4uFWn.js"),__vite__mapDeps([15,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 10:",s),V}}},{no:11,meta:ur,component:async()=>{try{return await C(()=>import("./11-B1uzG7PY.js"),__vite__mapDeps([16,1,8,2,3,4]))}catch(s){return console.error("Failed to load slide 11:",s),V}}},{no:12,meta:fr,component:async()=>{try{return await C(()=>import("./12-Gvc4Vxum.js"),__vite__mapDeps([17,1,8,2,3,4]))}catch(s){return console.error("Failed to load slide 12:",s),V}}},{no:13,meta:hr,component:async()=>{try{return await C(()=>import("./slidev/13-COUVeqtS.js"),__vite__mapDeps([18,19,20,1,2,6,3,4]))}catch(s){return console.error("Failed to load slide 13:",s),V}}},{no:14,meta:dr,component:async()=>{try{return await C(()=>import("./14-CIYqAYX7.js"),__vite__mapDeps([21,19,20,1,2,8,3,4]))}catch(s){return console.error("Failed to load slide 14:",s),V}}},{no:15,meta:pr,component:async()=>{try{return await C(()=>import("./15-CQJ7VVlj.js"),__vite__mapDeps([22,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 15:",s),V}}},{no:16,meta:gr,component:async()=>{try{return await C(()=>import("./slidev/16-CmF05eFz.js"),__vite__mapDeps([23,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 16:",s),V}}},{no:17,meta:mr,component:async()=>{try{return await C(()=>import("./17-BUDTVRgJ.js"),__vite__mapDeps([24,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 17:",s),V}}}],oe=fs(yr);function nt(s){return oe.value.find(e=>{var t;return e.no===+s||((t=e.meta.slide)==null?void 0:t.frontmatter.routeAlias)===s})}function Fe(s,e){var n;(typeof s=="number"||typeof s=="string")&&(s=nt(s));const t=((n=s.meta.slide)==null?void 0:n.frontmatter.routeAlias)??s.no;return e?`/presenter/${t}`:`/${t}`}function vr(s,e,{mode:t="replace"}={}){const n=At();return m({get(){const o=n.currentRoute.value.query[s];return o==null?e??null:Array.isArray(o)?o.filter(Boolean):o},set(o){_t(()=>{(n.currentRoute.value.query[s]??(e==null?void 0:e.toString()))!==o.toString()&&n[us(t)]({query:{...n.currentRoute.value.query,[s]:`${o}`===e?void 0:o}})})}})}const es=T(0);function _r(s){return s===!1||s==="false"?null:s==null||s===!0||s==="true"?"+1":Array.isArray(s)?[+s[0],+s[1]]:typeof s=="string"&&"+-".includes(s[0])?s:+s}function Sn(s,e=0,t){const n={get current(){return et(+s.value,e,n.total)},set current(o){s.value=et(+o,e,n.total)},clicksStart:e,relativeOffsets:new Map,maxMap:qn(new Map),onMounted(){},calculateSince(o,i=1){let r,a,l;if(typeof o=="string"){const c=n.currentOffset,u=+o;r=c+u,a=c+u+i-1,l=u+i-1}else r=o,a=o+i-1,l=0;return{start:r,end:+Number.POSITIVE_INFINITY,max:a,delta:l,isCurrent:m(()=>n.current===r),isActive:m(()=>n.current>=r)}},calculateRange([o,i]){let r,a,l;return typeof o=="string"?(r=n.currentOffset+ +o,l=+o):(r=o,l=0),typeof i=="string"?(a=r+ +i,l+=+i):a=i,{start:r,end:a,max:a,delta:l,isCurrent:m(()=>n.current===r),isActive:m(()=>r<=n.current&&n.currentD.colorSchema!=="auto"),Mn=m({get(){return Vs.value?D.colorSchema==="dark":Wt.value==="auto"?xs.value:Wt.value==="dark"},set(s){Vs.value||(Wt.value=s===xs.value?"auto":s?"dark":"light")}}),qa=en(Mn);Lt&&Q(Mn,s=>{const e=document.querySelector("html");e.classList.toggle("dark",s),e.classList.toggle("light",!s)},{immediate:!0});const wr={"slide-left":"slide-left | slide-right","slide-right":"slide-right | slide-left","slide-up":"slide-up | slide-down","slide-down":"slide-down | slide-up"};function kr(s,e=!1){if(!s||(typeof s=="string"&&(s={name:s}),!s.name))return;let t=s.name.includes("|")?s.name:wr[s.name]||s.name;if(t.includes("|")){const[n,o]=t.split("|").map(i=>i.trim());t=e?o:n}if(t)return{...s,name:t}}function Sr(s,e,t){var o,i;let n=s>0?(o=t==null?void 0:t.meta)==null?void 0:o.transition:(i=e==null?void 0:e.meta)==null?void 0:i.transition;return n||(n=D.transition),kr(n,s<0)}function On(s,e,t=1){var o,i,r,a,l,c,u,f,h;const n=(i=(o=e.meta)==null?void 0:o.slide)==null?void 0:i.level;n&&n>t&&s.length>0?On(s[s.length-1].children,e,t+1):s.push({no:e.no,children:[],level:t,path:Fe(((a=(r=e.meta.slide)==null?void 0:r.frontmatter)==null?void 0:a.routeAlias)??e.no,!1),hideInToc:!!((u=(c=(l=e.meta)==null?void 0:l.slide)==null?void 0:c.frontmatter)!=null&&u.hideInToc),title:(h=(f=e.meta)==null?void 0:f.slide)==null?void 0:h.title})}function Pn(s,e,t=!1,n,o){return s.map(i=>{const r={...i,active:i.no===(o==null?void 0:o.value),hasActiveParent:t};return r.children.length>0&&(r.children=Pn(r.children,e,r.active||r.hasActiveParent,r,o)),n&&(r.active||r.activeParent)&&(n.activeParent=!0),r})}function Tn(s,e=1){return s.filter(t=>!t.hideInToc).map(t=>({...t,children:Tn(t.children,e+1)}))}function Mr(s,e,t){const n=m(()=>s.value.filter(i=>{var r,a;return(a=(r=i.meta)==null?void 0:r.slide)==null?void 0:a.title}).reduce((i,r)=>(On(i,r),i),[])),o=m(()=>Pn(n.value,t.value,void 0,void 0,e));return m(()=>Tn(o.value))}function Or(s,e,t=T(0),n,o,i){const r=m(()=>oe.value.length),a=T(0),l=T(0),c=m(()=>Fe(s.value,n.value)),u=m(()=>s.value.no),f=m(()=>{var R;return((R=s.value.meta)==null?void 0:R.layout)||(u.value===1?"cover":"default")}),h=m(()=>e.value.current),d=m(()=>e.value.clicksStart),p=m(()=>e.value.total),g=m(()=>oe.value[Math.min(oe.value.length,u.value+1)-1]),y=m(()=>oe.value[Math.max(1,u.value-1)-1]),v=m(()=>u.valueu.value>1||h.value>0),b=m(()=>Sr(a.value,s.value,y.value));Q(s,(R,j)=>{a.value=R.no-j.no});async function w(R){return!1}const O=Mr(oe,u,s);async function S(){l.value=1,p.value<=t.value?await $():t.value+=1}async function E(){l.value=-1,t.value<=d.value?await I():t.value-=1}async function $(){l.value=1,u.value{const s=At(),e=m(()=>s.currentRoute.value),t=m(()=>(s.currentRoute.value.query,new URLSearchParams(location.search))),n=m(()=>t.value.has("print")),o=m(()=>t.value.get("print")==="clicks"),i=m(()=>t.value.has("embedded")),r=m(()=>e.value.name==="play"),a=m(()=>e.value.name==="presenter"),l=m(()=>e.value.name==="notes"),c=m(()=>!a.value&&(!D.remote||t.value.get("password")===D.remote)),u=Jn(r,a),f=m(()=>{var v;return u.value?((v=nt(e.value.params.no))==null?void 0:v.no)??1:1}),h=m(()=>oe.value[f.value-1]),d=vr("clicks","0"),p=m(()=>y(h.value)),g=m({get(){let v=+(d.value||0);return Number.isNaN(v)&&(v=0),v},set(v){d.value=v.toString()}});function y(v){var w,O;if((w=v==null?void 0:v.meta)!=null&&w.__clicksContext)return v.meta.__clicksContext;const _=v.no,b=Sn(m({get(){return f.value===_?Math.max(+(d.value??0),b.clicksStart):f.value>_?Qt:b.clicksStart},set(S){f.value===_&&(d.value=et(S,b.clicksStart,b.total).toString())}}),((O=v==null?void 0:v.meta.slide)==null?void 0:O.frontmatter.clicksStart)??0,v==null?void 0:v.meta.clicks);return b.onMounted=()=>{f.value===_&&(d.value=et(+d.value,b.clicksStart,b.total).toString())},v!=null&&v.meta&&(v.meta.__clicksContext=b),b}return{router:s,currentRoute:e,isPrintMode:n,isPrintWithClicks:o,isEmbedded:i,isPlaying:r,isPresenter:a,isNotesViewer:l,isPresenterAvailable:c,hasPrimarySlide:u,currentSlideNo:f,currentSlideRoute:h,clicksContext:p,queryClicksRaw:d,queryClicks:g,getPrimaryClicks:y}}),ts=tn(()=>{const s=Pr(),e=At(),t=Or(s.currentSlideRoute,s.clicksContext,s.queryClicks,s.isPresenter,s.isPrintMode,e);return Q([t.total,s.currentRoute],async()=>{s.hasPrimarySlide.value&&!nt(s.currentRoute.value.params.no)&&await t.goLast()},{flush:"pre",immediate:!0}),{...t,...s}}),Tr=[];function Er(){const s=Ys().appContext.app,e=M({nav:ts(),configs:D,themeConfigs:m(()=>D.themeConfig)});s.provide(ps,T("none")),s.provide(yi,e),s.provide(ds,m(()=>e.nav.currentSlideNo)),s.provide(Ct,fs(br()));for(const f of Tr)f();const t=D.titleTemplate.replace("%s",D.title||"Slidev"),{clicksContext:n,currentSlideNo:o,hasPrimarySlide:i,isNotesViewer:r,isPresenter:a}=ts();ai({title:t,htmlAttrs:D.htmlAttrs}),fi(`${t} - shared`),gi(`${t} - drawings`);const l=`${location.origin}_${Ss()}`;function c(){r.value||!a.value&&!bi.includes(location.host.split(":")[0])||(a.value?(Ue("page",+o.value),Ue("clicks",n.value.current)):(Ue("viewerPage",+o.value),Ue("viewerClicks",n.value.current)),Ue("lastUpdate",{id:l,type:a.value?"presenter":"viewer",time:new Date().getTime()}))}const u=At();u.afterEach(c),Q(n,c),hi(f=>{var h;i.value&&((h=f.lastUpdate)==null?void 0:h.type)==="presenter"&&(+f.page!=+o.value||+n.value.current!=+f.clicks)&&(dn.value=!1,u.replace({path:Fe(f.page,a.value),query:{...u.currentRoute.value.query,clicks:f.clicks||0}}))})}const $r=Gn({__name:"App",setup(s){return Er(),xe(()=>{for(const[e,t]of Object.entries(bo.value))document.body.style.setProperty(e,t.toString())}),(e,t)=>{const n=Qn("RouterView");return Xs(),Zn(n)}}}),Ar=kn($r,[["__file","/usr/local/lib/node_modules/@slidev/cli/node_modules/@slidev/client/App.vue"]]);function Ka(s,e=""){var o,i;const t=["slidev-page",e],n=(i=(o=s==null?void 0:s.meta)==null?void 0:o.slide)==null?void 0:i.no;return n!=null&&t.push(`slidev-page-${n}`),t.filter(Boolean).join(" ")}async function Ja(){const{saveAs:s}=await C(()=>import("./modules/file-saver-CvNQQnEe.js").then(e=>e.F),[]);s(typeof D.download=="string"?D.download:D.exportFilename?`${D.exportFilename}.pdf`:"/sa2024/08-serverless/slidev-exported.pdf",`${D.title}.pdf`)}function Ve(s,e,t){var n;return((n=s.instance)==null?void 0:n.$).provides[e]??t}function Lr(){return{install(s){s.directive("click",{name:"v-click",mounted(e,t){const n=yt(e,t,t.value);n!=null&&(e.classList.toggle(dt,!0),e.dataset.slidevClicksStart=String(n.start),Number.isFinite(n.end)&&(e.dataset.slidevClicksEnd=String(n.end)),e.watchStopHandle=xe(()=>{const o=n.isActive.value,i=n.isCurrent.value,r=o&&!i;n.flagHide?(e.classList.toggle(n.flagFade?Ke:qe,o),e.classList.toggle(Ft,o)):e.classList.toggle(n.flagFade?Ke:qe,!o),e.classList.toggle(xt,i),e.classList.toggle(Vt,r)}))},unmounted:zt}),s.directive("after",{name:"v-after",mounted(e,t){const n=yt(e,t,"+0");n!=null&&(e.classList.toggle(dt,!0),e.watchStopHandle=xe(()=>{const o=n.isActive.value,i=n.isCurrent.value,r=o&&!i;n.flagHide?(e.classList.toggle(n.flagFade?Ke:qe,o),e.classList.toggle(Ft,o)):e.classList.toggle(n.flagFade?Ke:qe,!o),e.classList.toggle(xt,i),e.classList.toggle(Vt,r)}))},unmounted:zt}),s.directive("click-hide",{name:"v-click-hide",mounted(e,t){const n=yt(e,t,t.value,!0);n!=null&&(e.classList.toggle(dt,!0),e.watchStopHandle=xe(()=>{const o=n.isActive.value,i=n.isCurrent.value,r=o&&!i;e.classList.toggle(n.flagFade?Ke:qe,o),e.classList.toggle(Ft,o),e.classList.toggle(xt,i),e.classList.toggle(Vt,r)}))},unmounted:zt})}}}const En=new Map;function yt(s,e,t,n=!1){var h;const o=(h=Ve(e,Ct))==null?void 0:h.value;if(!s||!o)return null;const i=n||e.modifiers.hide!==!1&&e.modifiers.hide!=null,r=e.modifiers.fade!==!1&&e.modifiers.fade!=null,a=_r(t),l=o.calculate(a);if(!l)return null;o.register(s,l);const c=m(()=>i?!l.isActive.value:l.isActive.value),u=m(()=>c.value?"shown":Number.isFinite(l.end)?o.currentn.push(...o)),ss(n,e,t)}function jr(s,e){return s[0]===e[0]&&s[1]===e[1]}function Dr(s,e,t,n=1){const o=t,i=Math.max(e,.1),r=s[0]&&s[0][0]&&typeof s[0][0]=="number"?[s]:s,a=[0,0];if(o)for(const c of r)ss(c,a,o);const l=Nr(r,i,n);if(o){for(const c of r)ss(c,a,-o);Ir(l,a,-o)}return l}function Nr(s,e,t){const n=[];for(const c of s){const u=[...c];jr(u[0],u[u.length-1])||u.push([u[0][0],u[0][1]]),u.length>2&&n.push(u)}const o=[];e=Math.max(e,.1);const i=[];for(const c of n)for(let u=0;uc.yminu.ymin?1:c.xu.x?1:c.ymax===u.ymax?0:(c.ymax-u.ymax)/Math.abs(c.ymax-u.ymax)),!i.length)return o;let r=[],a=i[0].ymin,l=0;for(;r.length||i.length;){if(i.length){let c=-1;for(let f=0;fa);f++)c=f;i.splice(0,c+1).forEach(f=>{r.push({s:a,edge:f})})}if(r=r.filter(c=>!(c.edge.ymax<=a)),r.sort((c,u)=>c.edge.x===u.edge.x?0:(c.edge.x-u.edge.x)/Math.abs(c.edge.x-u.edge.x)),(t!==1||l%e===0)&&r.length>1)for(let c=0;c=r.length)break;const f=r[c].edge,h=r[u].edge;o.push([[Math.round(f.x),a],[Math.round(h.x),a]])}a+=t,r.forEach(c=>{c.edge.x=c.edge.x+t*c.edge.islope}),l++}return o}function it(s,e){var t;const n=e.hachureAngle+90;let o=e.hachureGap;o<0&&(o=e.strokeWidth*4),o=Math.round(Math.max(o,.1));let i=1;return e.roughness>=1&&(((t=e.randomizer)===null||t===void 0?void 0:t.next())||Math.random())>.7&&(i=o),Dr(s,o,n,i||1)}class Ms{constructor(e){this.helper=e}fillPolygons(e,t){return this._fillPolygons(e,t)}_fillPolygons(e,t){const n=it(e,t);return{type:"fillSketch",ops:this.renderLines(n,t)}}renderLines(e,t){const n=[];for(const o of e)n.push(...this.helper.doubleLineOps(o[0][0],o[0][1],o[1][0],o[1][1],t));return n}}function Ht(s){const e=s[0],t=s[1];return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}class Hr extends Ms{fillPolygons(e,t){let n=t.hachureGap;n<0&&(n=t.strokeWidth*4),n=Math.max(n,.1);const o=Object.assign({},t,{hachureGap:n}),i=it(e,o),r=Math.PI/180*t.hachureAngle,a=[],l=n*.5*Math.cos(r),c=n*.5*Math.sin(r);for(const[f,h]of i)Ht([f,h])&&a.push([[f[0]-l,f[1]+c],[...h]],[[f[0]+l,f[1]-c],[...h]]);return{type:"fillSketch",ops:this.renderLines(a,t)}}}class Rr extends Ms{fillPolygons(e,t){const n=this._fillPolygons(e,t),o=Object.assign({},t,{hachureAngle:t.hachureAngle+90}),i=this._fillPolygons(e,o);return n.ops=n.ops.concat(i.ops),n}}class Fr{constructor(e){this.helper=e}fillPolygons(e,t){t=Object.assign({},t,{hachureAngle:0});const n=it(e,t);return this.dotsOnLines(n,t)}dotsOnLines(e,t){const n=[];let o=t.hachureGap;o<0&&(o=t.strokeWidth*4),o=Math.max(o,.1);let i=t.fillWeight;i<0&&(i=t.strokeWidth/2);const r=o/4;for(const a of e){const l=Ht(a),c=l/o,u=Math.ceil(c)-1,f=l-u*o,h=(a[0][0]+a[1][0])/2-o/4,d=Math.min(a[0][1],a[1][1]);for(let p=0;p{const a=Ht(r),l=Math.floor(a/(n+o)),c=(a+o-l*(n+o))/2;let u=r[0],f=r[1];u[0]>f[0]&&(u=r[1],f=r[0]);const h=Math.atan((f[1]-u[1])/(f[0]-u[0]));for(let d=0;d{const r=Ht(i),a=Math.round(r/(2*t));let l=i[0],c=i[1];l[0]>c[0]&&(l=i[1],c=i[0]);const u=Math.atan((c[1]-l[1])/(c[0]-l[0]));for(let f=0;fu%2?c+t:c+e);i.push({key:"C",data:l}),e=l[4],t=l[5];break}case"Q":i.push({key:"Q",data:[...a]}),e=a[2],t=a[3];break;case"q":{const l=a.map((c,u)=>u%2?c+t:c+e);i.push({key:"Q",data:l}),e=l[2],t=l[3];break}case"A":i.push({key:"A",data:[...a]}),e=a[5],t=a[6];break;case"a":e+=a[5],t+=a[6],i.push({key:"A",data:[a[0],a[1],a[2],a[3],a[4],e,t]});break;case"H":i.push({key:"H",data:[...a]}),e=a[0];break;case"h":e+=a[0],i.push({key:"H",data:[e]});break;case"V":i.push({key:"V",data:[...a]}),t=a[0];break;case"v":t+=a[0],i.push({key:"V",data:[t]});break;case"S":i.push({key:"S",data:[...a]}),e=a[2],t=a[3];break;case"s":{const l=a.map((c,u)=>u%2?c+t:c+e);i.push({key:"S",data:l}),e=l[2],t=l[3];break}case"T":i.push({key:"T",data:[...a]}),e=a[0],t=a[1];break;case"t":e+=a[0],t+=a[1],i.push({key:"T",data:[e,t]});break;case"Z":case"z":i.push({key:"Z",data:[]}),e=n,t=o;break}return i}function Cn(s){const e=[];let t="",n=0,o=0,i=0,r=0,a=0,l=0;for(const{key:c,data:u}of s){switch(c){case"M":e.push({key:"M",data:[...u]}),[n,o]=u,[i,r]=u;break;case"C":e.push({key:"C",data:[...u]}),n=u[4],o=u[5],a=u[2],l=u[3];break;case"L":e.push({key:"L",data:[...u]}),[n,o]=u;break;case"H":n=u[0],e.push({key:"L",data:[n,o]});break;case"V":o=u[0],e.push({key:"L",data:[n,o]});break;case"S":{let f=0,h=0;t==="C"||t==="S"?(f=n+(n-a),h=o+(o-l)):(f=n,h=o),e.push({key:"C",data:[f,h,...u]}),a=u[0],l=u[1],n=u[2],o=u[3];break}case"T":{const[f,h]=u;let d=0,p=0;t==="Q"||t==="T"?(d=n+(n-a),p=o+(o-l)):(d=n,p=o);const g=n+2*(d-n)/3,y=o+2*(p-o)/3,v=f+2*(d-f)/3,_=h+2*(p-h)/3;e.push({key:"C",data:[g,y,v,_,f,h]}),a=d,l=p,n=f,o=h;break}case"Q":{const[f,h,d,p]=u,g=n+2*(f-n)/3,y=o+2*(h-o)/3,v=d+2*(f-d)/3,_=p+2*(h-p)/3;e.push({key:"C",data:[g,y,v,_,d,p]}),a=f,l=h,n=d,o=p;break}case"A":{const f=Math.abs(u[0]),h=Math.abs(u[1]),d=u[2],p=u[3],g=u[4],y=u[5],v=u[6];f===0||h===0?(e.push({key:"C",data:[n,o,y,v,y,v]}),n=y,o=v):(n!==y||o!==v)&&(In(n,o,y,v,f,h,d,p,g).forEach(function(b){e.push({key:"C",data:b})}),n=y,o=v);break}case"Z":e.push({key:"Z",data:[]}),n=i,o=r;break}t=c}return e}function Ur(s){return Math.PI*s/180}function Je(s,e,t){const n=s*Math.cos(t)-e*Math.sin(t),o=s*Math.sin(t)+e*Math.cos(t);return[n,o]}function In(s,e,t,n,o,i,r,a,l,c){const u=Ur(r);let f=[],h=0,d=0,p=0,g=0;if(c)[h,d,p,g]=c;else{[s,e]=Je(s,e,-u),[t,n]=Je(t,n,-u);const P=(s-t)/2,A=(e-n)/2;let N=P*P/(o*o)+A*A/(i*i);N>1&&(N=Math.sqrt(N),o=N*o,i=N*i);const R=a===l?-1:1,j=o*o,ne=i*i,W=j*ne-j*A*A-ne*P*P,Y=j*A*A+ne*P*P,L=R*Math.sqrt(Math.abs(W/Y));p=L*o*A/i+(s+t)/2,g=L*-i*P/o+(e+n)/2,h=Math.asin(parseFloat(((e-g)/i).toFixed(9))),d=Math.asin(parseFloat(((n-g)/i).toFixed(9))),sd&&(h=h-Math.PI*2),!l&&d>h&&(d=d-Math.PI*2)}let y=d-h;if(Math.abs(y)>Math.PI*120/180){const P=d,A=t,N=n;l&&d>h?d=h+Math.PI*120/180*1:d=h+Math.PI*120/180*-1,t=p+o*Math.cos(d),n=g+i*Math.sin(d),f=In(t,n,A,N,o,i,r,0,l,[d,P,p,g])}y=d-h;const v=Math.cos(h),_=Math.sin(h),b=Math.cos(d),w=Math.sin(d),O=Math.tan(y/4),S=4/3*o*O,E=4/3*i*O,$=[s,e],I=[s+S*_,e-E*v],x=[t+S*w,n-E*b],se=[t,n];if(I[0]=2*$[0]-I[0],I[1]=2*$[1]-I[1],c)return[I,x,se].concat(f);{f=[I,x,se].concat(f);const P=[];for(let A=0;A2){const o=[];for(let i=0;iMath.PI*2&&(d=0,p=Math.PI*2);const g=Math.PI*2/l.curveStepCount,y=Math.min(g/2,(p-d)/2),v=Ks(y,c,u,f,h,d,p,1,l);if(!l.disableMultiStroke){const _=Ks(y,c,u,f,h,d,p,1.5,l);v.push(..._)}return r&&(a?v.push(...le(c,u,c+f*Math.cos(d),u+h*Math.sin(d),l),...le(c,u,c+f*Math.cos(p),u+h*Math.sin(p),l)):v.push({op:"lineTo",data:[c,u]},{op:"lineTo",data:[c+f*Math.cos(d),u+h*Math.sin(d)]})),{type:"path",ops:v}}function zs(s,e){const t=Cn(Ln(Os(s))),n=[];let o=[0,0],i=[0,0];for(const{key:r,data:a}of t)switch(r){case"M":{i=[a[0],a[1]],o=[a[0],a[1]];break}case"L":n.push(...le(i[0],i[1],a[0],a[1],e)),i=[a[0],a[1]];break;case"C":{const[l,c,u,f,h,d]=a;n.push(...Yr(l,c,u,f,h,d,i,e)),i=[h,d];break}case"Z":n.push(...le(i[0],i[1],o[0],o[1],e)),i=[o[0],o[1]];break}return{type:"path",ops:n}}function qt(s,e){const t=[];for(const n of s)if(n.length){const o=e.maxRandomnessOffset||0,i=n.length;if(i>2){t.push({op:"move",data:[n[0][0]+k(o,e),n[0][1]+k(o,e)]});for(let r=1;rMath.PI*2&&(f=0,h=Math.PI*2);const d=(h-f)/r.curveStepCount,p=[];for(let g=f;g<=h;g=g+d)p.push([a+c*Math.cos(g),l+u*Math.sin(g)]);return p.push([a+c*Math.cos(h),l+u*Math.sin(h)]),p.push([a,l]),De([p],r)}function Gr(s,e){return k(s,e)}function Qr(s,e,t){return Ot(s,e,t)}function Zr(s,e,t,n,o){return le(s,e,t,n,o,!0)}function Us(s){const e=Object.assign({},s);return e.randomizer=void 0,s.seed&&(e.seed=s.seed+1),e}function Nn(s){return s.randomizer||(s.randomizer=new Cr(s.seed||0)),s.randomizer.next()}function Ot(s,e,t,n=1){return t.roughness*n*(Nn(t)*(e-s)+s)}function k(s,e,t=1){return Ot(-s,s,e,t)}function le(s,e,t,n,o,i=!1){const r=i?o.disableMultiStrokeFill:o.disableMultiStroke,a=rs(s,e,t,n,o,!0,!1);if(r)return a;const l=rs(s,e,t,n,o,!0,!0);return a.concat(l)}function rs(s,e,t,n,o,i,r){const a=Math.pow(s-t,2)+Math.pow(e-n,2),l=Math.sqrt(a);let c=1;l<200?c=1:l>500?c=.4:c=-.0016668*l+1.233334;let u=o.maxRandomnessOffset||0;u*u*100>a&&(u=l/10);const f=u/2,h=.2+Nn(o)*.2;let d=o.bowing*o.maxRandomnessOffset*(n-e)/200,p=o.bowing*o.maxRandomnessOffset*(s-t)/200;d=k(d,o,c),p=k(p,o,c);const g=[],y=()=>k(f,o,c),v=()=>k(u,o,c),_=o.preserveVertices;return i&&(r?g.push({op:"move",data:[s+(_?0:y()),e+(_?0:y())]}):g.push({op:"move",data:[s+(_?0:k(u,o,c)),e+(_?0:k(u,o,c))]})),r?g.push({op:"bcurveTo",data:[d+s+(t-s)*h+y(),p+e+(n-e)*h+y(),d+s+2*(t-s)*h+y(),p+e+2*(n-e)*h+y(),t+(_?0:y()),n+(_?0:y())]}):g.push({op:"bcurveTo",data:[d+s+(t-s)*h+v(),p+e+(n-e)*h+v(),d+s+2*(t-s)*h+v(),p+e+2*(n-e)*h+v(),t+(_?0:v()),n+(_?0:v())]}),g}function lt(s,e,t){if(!s.length)return[];const n=[];n.push([s[0][0]+k(e,t),s[0][1]+k(e,t)]),n.push([s[0][0]+k(e,t),s[0][1]+k(e,t)]);for(let o=1;o3){const i=[],r=1-t.curveTightness;o.push({op:"move",data:[s[1][0],s[1][1]]});for(let a=1;a+21&&o.push(i):o.push(i),o.push(s[e+3])}else{const r=s[e+0],a=s[e+1],l=s[e+2],c=s[e+3],u=Ee(r,a,.5),f=Ee(a,l,.5),h=Ee(l,c,.5),d=Ee(u,f,.5),p=Ee(f,h,.5),g=Ee(d,p,.5);as([r,u,d,g],0,t,o),as([g,p,h,c],0,t,o)}return o}function sa(s,e){return Tt(s,0,s.length,e)}function Tt(s,e,t,n,o){const i=o||[],r=s[e],a=s[t-1];let l=0,c=1;for(let u=e+1;ul&&(l=f,c=u)}return Math.sqrt(l)>n?(Tt(s,e,c+1,n,i),Tt(s,c,t,n,i)):(i.length||i.push(r),i.push(a)),i}function ls(s,e=.15,t){const n=[],o=(s.length-1)/3;for(let i=0;i0?Tt(n,0,n.length,t):n}function na(s,e,t){const n=Os(s),o=Cn(Ln(n)),i=[];let r=[],a=[0,0],l=[];const c=()=>{l.length>=4&&r.push(...ls(l,e)),l=[]},u=()=>{c(),r.length&&(i.push(r),r=[])};for(const{key:h,data:d}of o)switch(h){case"M":u(),a=[d[0],d[1]],r.push(a);break;case"L":c(),r.push([d[0],d[1]]);break;case"C":if(!l.length){const p=r.length?r[r.length-1]:a;l.push([p[0],p[1]])}l.push([d[0],d[1]]),l.push([d[2],d[3]]),l.push([d[4],d[5]]);break;case"Z":c(),r.push([a[0],a[1]]);break}if(u(),!t)return i;const f=[];for(const h of i){const d=sa(h,t);d.length&&f.push(d)}return f}const K="none";class oa{constructor(e){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=e||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return $n()}_o(e){return e?Object.assign({},this.defaultOptions,e):this.defaultOptions}_d(e,t,n){return{shape:e,sets:t||[],options:n||this.defaultOptions}}line(e,t,n,o,i){const r=this._o(i);return this._d("line",[G(e,t,n,o,r)],r)}rectangle(e,t,n,o,i){const r=this._o(i),a=[],l=jn(e,t,n,o,r);if(r.fill){const c=[[e,t],[e+n,t],[e+n,t+o],[e,t+o]];r.fillStyle==="solid"?a.push(qt([c],r)):a.push(De([c],r))}return r.stroke!==K&&a.push(l),this._d("rectangle",a,r)}ellipse(e,t,n,o,i){const r=this._o(i),a=[],l=Dn(n,o,r),c=is(e,t,r,l);if(r.fill)if(r.fillStyle==="solid"){const u=is(e,t,r,l).opset;u.type="fillPath",a.push(u)}else a.push(De([c.estimatedPoints],r));return r.stroke!==K&&a.push(c.opset),this._d("ellipse",a,r)}circle(e,t,n,o){const i=this.ellipse(e,t,n,n,o);return i.shape="circle",i}linearPath(e,t){const n=this._o(t);return this._d("linearPath",[Xe(e,!1,n)],n)}arc(e,t,n,o,i,r,a=!1,l){const c=this._o(l),u=[],f=Ws(e,t,n,o,i,r,a,!0,c);if(a&&c.fill)if(c.fillStyle==="solid"){const h=Object.assign({},c);h.disableMultiStroke=!0;const d=Ws(e,t,n,o,i,r,!0,!1,h);d.type="fillPath",u.push(d)}else u.push(Jr(e,t,n,o,i,r,c));return c.stroke!==K&&u.push(f),this._d("arc",u,c)}curve(e,t){const n=this._o(t),o=[],i=Bs(e,n);if(n.fill&&n.fill!==K)if(n.fillStyle==="solid"){const r=Bs(e,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));o.push({type:"fillPath",ops:this._mergedShape(r.ops)})}else{const r=[],a=e;if(a.length){const c=typeof a[0][0]=="number"?[a]:a;for(const u of c)u.length<3?r.push(...u):u.length===3?r.push(...ls(Js([u[0],u[0],u[1],u[2]]),10,(1+n.roughness)/2)):r.push(...ls(Js(u),10,(1+n.roughness)/2))}r.length&&o.push(De([r],n))}return n.stroke!==K&&o.push(i),this._d("curve",o,n)}polygon(e,t){const n=this._o(t),o=[],i=Xe(e,!0,n);return n.fill&&(n.fillStyle==="solid"?o.push(qt([e],n)):o.push(De([e],n))),n.stroke!==K&&o.push(i),this._d("polygon",o,n)}path(e,t){const n=this._o(t),o=[];if(!e)return this._d("path",o,n);e=(e||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const i=n.fill&&n.fill!=="transparent"&&n.fill!==K,r=n.stroke!==K,a=!!(n.simplification&&n.simplification<1),l=a?4-4*(n.simplification||1):(1+n.roughness)/2,c=na(e,1,l),u=zs(e,n);if(i)if(n.fillStyle==="solid")if(c.length===1){const f=zs(e,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));o.push({type:"fillPath",ops:this._mergedShape(f.ops)})}else o.push(qt(c,n));else o.push(De(c,n));return r&&(a?c.forEach(f=>{o.push(Xe(f,!1,n))}):o.push(u)),this._d("path",o,n)}opsToPath(e,t){let n="";for(const o of e.ops){const i=typeof t=="number"&&t>=0?o.data.map(r=>+r.toFixed(t)):o.data;switch(o.op){case"move":n+=`M${i[0]} ${i[1]} `;break;case"bcurveTo":n+=`C${i[0]} ${i[1]}, ${i[2]} ${i[3]}, ${i[4]} ${i[5]} `;break;case"lineTo":n+=`L${i[0]} ${i[1]} `;break}}return n.trim()}toPaths(e){const t=e.sets||[],n=e.options||this.defaultOptions,o=[];for(const i of t){let r=null;switch(i.type){case"path":r={d:this.opsToPath(i),stroke:n.stroke,strokeWidth:n.strokeWidth,fill:K};break;case"fillPath":r={d:this.opsToPath(i),stroke:K,strokeWidth:0,fill:n.fill||K};break;case"fillSketch":r=this.fillSketch(i,n);break}r&&o.push(r)}return o}fillSketch(e,t){let n=t.fillWeight;return n<0&&(n=t.strokeWidth/2),{d:this.opsToPath(e),stroke:t.fill||K,strokeWidth:n,fill:K}}_mergedShape(e){return e.filter((t,n)=>n===0?!0:t.op!=="move")}}const Hn="http://www.w3.org/2000/svg",ia=800;let Kt=null;function ra(){return Kt||(Kt=new oa().defaultOptions),Kt}function Jt(s,e,t){return{...ra(),maxRandomnessOffset:2,roughness:s==="highlight"?3:1.5,bowing:1,stroke:"#000",strokeWidth:1.5,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,disableMultiStroke:s!=="double",disableMultiStrokeFill:!1,seed:e,...t}}function aa(s){const e=s.padding;if(e||e===0){if(typeof e=="number")return[e,e,e,e];if(Array.isArray(e)){const t=e;if(t.length)switch(t.length){case 4:return[...t];case 1:return[t[0],t[0],t[0],t[0]];case 2:return[...t,...t];case 3:return[...t,t[1]];default:return[t[0],t[1],t[2],t[3]]}}}return[5,5,5,5]}function la(s,e,t,n,o,i){const r=[];let a=t.strokeWidth||2;const l=aa(t),c=t.animate===void 0?!0:!!t.animate,u=t.iterations||2,f=t.rtl?1:0,h=Jt("single",i,t);switch(t.type){case"underline":{const d=e.y+e.h+l[2];for(let p=f;p_.setAttribute(b,w);for(const _ of d){const b=document.createElementNS(Hn,"path");if(v(b,"d",_),v(b,"fill","none"),v(b,"stroke",t.color||"currentColor"),v(b,"stroke-width",`${a}`),t.opacity!==void 0&&v(b,"style",`opacity:${t.opacity}`),c){const w=b.getTotalLength();p.push(w),y+=w}s.appendChild(b),g.push(b)}if(c){let _=0;for(let b=0;bsetTimeout(e,s))}function ca(s){const e=[];for(const t of s){let n="";for(const o of t.ops){const i=o.data;switch(o.op){case"move":n.trim()&&e.push(n.trim()),n=`M${i[0]} ${i[1]} `;break;case"bcurveTo":n+=`C${i[0]} ${i[1]}, ${i[2]} ${i[3]}, ${i[4]} ${i[5]} `;break;case"lineTo":n+=`L${i[0]} ${i[1]} `;break}}n.trim()&&e.push(n.trim())}return e}function ua(){if(!window.__rno_kf_s){const s=window.__rno_kf_s=document.createElement("style");s.textContent="@keyframes rough-notation-dash { to { stroke-dashoffset: 0; } }",document.head.appendChild(s)}}var fa=Object.defineProperty,ha=(s,e,t)=>e in s?fa(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,X=(s,e,t)=>(ha(s,typeof e!="symbol"?e+"":e,t),t);class da{constructor(e,t){X(this,"_state","unattached"),X(this,"_config"),X(this,"_resizing",!1),X(this,"_ro"),X(this,"_seed",$n()),X(this,"_e"),X(this,"_svg"),X(this,"_lastSizes",[]),X(this,"_animationDelay",0),X(this,"_resizeListener",()=>{this._resizing||(this._resizing=!0,setTimeout(()=>{this._resizing=!1,this._state==="showing"&&this.haveRectsChanged()&&this.show()},400))}),X(this,"pendingRefresh"),this._e=e,this._config=JSON.parse(JSON.stringify(t)),this.attach()}getConfig(e){return this._config[e]}setConfig(e,t){this._config[e]!==t&&(this._config[e]=t,this.refresh())}get animate(){return this._config.animate}set animate(e){this._config.animate=e}get animationDuration(){return this._config.animationDuration}set animationDuration(e){this._config.animationDuration=e}get iterations(){return this._config.iterations}set iterations(e){this._config.iterations=e}get color(){return this._config.color}set color(e){this._config.color!==e&&(this._config.color=e,this.refresh())}get class(){return this._config.class}set class(e){this._config.class!==e&&(this._config.class=e,this._svg&&this._svg.setAttribute("class",["rough-annotation",this._config.class||""].filter(Boolean).join(" ")))}get strokeWidth(){return this._config.strokeWidth}set strokeWidth(e){this._config.strokeWidth!==e&&(this._config.strokeWidth=e,this.refresh())}get padding(){return this._config.padding}set padding(e){this._config.padding!==e&&(this._config.padding=e,this.refresh())}attach(){if(this._state==="unattached"&&this._e.parentElement){ua();const e=this._svg=document.createElementNS(Hn,"svg");e.setAttribute("class",["rough-annotation",this._config.class||""].filter(Boolean).join(" "));const t=e.style;t.position="absolute",t.top="0",t.left="0",t.overflow="visible",t.pointerEvents="none",t.width="100px",t.height="100px";const n=this._config.type==="highlight";if(this._e.insertAdjacentElement(n?"beforebegin":"afterend",e),this._state="not-showing",n){const o=window.getComputedStyle(this._e).position;(!o||o==="static")&&(this._e.style.position="relative")}this.attachListeners()}}detachListeners(){window.removeEventListener("resize",this._resizeListener),this._ro&&this._ro.unobserve(this._e)}attachListeners(){this.detachListeners(),window.addEventListener("resize",this._resizeListener,{passive:!0}),!this._ro&&"ResizeObserver"in window&&(this._ro=new window.ResizeObserver(e=>{for(const t of e)t.contentRect&&this._resizeListener()})),this._ro&&this._ro.observe(this._e)}haveRectsChanged(){if(this._lastSizes.length){const e=this.rects();if(e.length===this._lastSizes.length){for(let t=0;tMath.round(o)===Math.round(i);return n(e.x,t.x)&&n(e.y,t.y)&&n(e.w,t.w)&&n(e.h,t.h)}isShowing(){return this._state!=="not-showing"}refresh(){this.isShowing()&&!this.pendingRefresh&&(this.pendingRefresh=Promise.resolve().then(()=>{this.isShowing()&&this.show(),delete this.pendingRefresh}))}async show(){switch(this._state){case"unattached":break;case"showing":this.hide(),this._svg&&await this.render(this._svg,!0);break;case"not-showing":this.attach(),this._svg&&await this.render(this._svg,!1);break}}hide(){if(this._svg)for(;this._svg.lastChild;)this._svg.removeChild(this._svg.lastChild);this._state="not-showing"}remove(){this._svg&&this._svg.parentElement&&this._svg.parentElement.removeChild(this._svg),this._svg=void 0,this._state="unattached",this.detachListeners()}async render(e,t){let n=this._config;t&&(n=JSON.parse(JSON.stringify(this._config)),n.animate=!1);const o=this.rects();let i=0;o.forEach(c=>i+=c.w);const r=n.animationDuration||ia;let a=0;const l=[];for(let c=0;cObject.assign(s,{type:"box"}),circle:s=>Object.assign(s,{type:"circle"}),underline:s=>Object.assign(s,{type:"underline"}),highlight:s=>Object.assign(s,{type:"highlight"}),"strike-through":s=>Object.assign(s,{type:"strike-through"}),"crossed-off":s=>Object.assign(s,{type:"crossed-off"}),bracket:s=>Object.assign(s,{type:"bracket"}),strike:s=>Object.assign(s,{type:"strike-through"}),cross:s=>Object.assign(s,{type:"crossed-off"}),crossed:s=>Object.assign(s,{type:"crossed-off"}),linethrough:s=>Object.assign(s,{type:"strike-through"}),"line-through":s=>Object.assign(s,{type:"strike-through"}),black:s=>U(s,"text-black"),blue:s=>U(s,"text-blue"),cyan:s=>U(s,"text-cyan"),gray:s=>U(s,"text-gray"),green:s=>U(s,"text-green"),indigo:s=>U(s,"text-indigo"),lime:s=>U(s,"text-lime"),orange:s=>U(s,"text-orange"),pink:s=>U(s,"text-pink"),purple:s=>U(s,"text-purple"),red:s=>U(s,"text-red"),teal:s=>U(s,"text-teal"),white:s=>U(s,"text-white"),yellow:s=>U(s,"text-yellow")},ga=[[/^delay-?(\d+)?$/,(s,e,t)=>{const n=(s[1]?Number.parseInt(s[1]):t)||300;return e.delay=n,e}],[/^(?:op|opacity)-?(\d+)?$/,(s,e,t)=>{const n=(s[1]?Number.parseInt(s[1]):t)||100;return e.opacity=n/100,e}]];function ma(){return{install(s){s.directive("mark",{name:"v-mark",mounted:(e,t)=>{const n=m(()=>{const r=typeof t.value=="object"&&!Array.isArray(t.value)?{...t.value}:{at:t.value};let a={at:r.at};const l=Object.entries(t.modifiers).filter(([u,f])=>{if(Qs[u])return a=Qs[u](a,f),!1;for(const[h,d]of ga){const p=u.match(h);if(p)return a=d(p,a,f),!1}return!0});l.length&&console.warn("[Slidev] Invalid modifiers for v-mark:",l);const c={...a,...r};return c.type||(c.type="underline"),c}),o=pa(e,n.value),i=yt(e,t,n.value.at);if(!i){o.show();return}e.watchStopHandle=xe(()=>{let r;n.value.class&&(o.class=n.value.class),n.value.color&&(o.color=n.value.color);const a=n.value.at;a===!0?r=!0:a===!1?r=!1:r=i.isActive.value,r!=null&&(r?o.show():o.hide())})},unmounted:e=>{var t;(t=e.watchStopHandle)==null||t.call(e)}})}}}const Ga=T(!1),Qa=T(!1),Za=T(!1),ya=T(!1),Ya=T(!0),Xa=Yn({xs:460,...no}),Et=Xn(),el=eo(),tl=m(()=>Et.height.value-Et.width.value/sn.value>120),sl=to(Lt?document.body:null),cs=so(),nl=m(()=>{var s,e;return["INPUT","TEXTAREA"].includes(((s=cs.value)==null?void 0:s.tagName)||"")||((e=cs.value)==null?void 0:e.classList.contains("CodeMirror-code"))}),ol=m(()=>{var s;return["BUTTON","A"].includes(((s=cs.value)==null?void 0:s.tagName)||"")});te("slidev-camera","default",{listenToStorageChanges:!1});te("slidev-mic","default",{listenToStorageChanges:!1});const va=te("slidev-scale",0),il=te("slidev-presenter-cursor",!0,{listenToStorageChanges:!1}),_a=te("slidev-show-editor",!1,{listenToStorageChanges:!1}),ba=te("slidev-editor-vertical",!1,{listenToStorageChanges:!1}),wa=te("slidev-editor-width",Lt?window.innerWidth*.4:318,{listenToStorageChanges:!1}),ka=te("slidev-editor-height",Lt?window.innerHeight*.4:300,{listenToStorageChanges:!1}),ct=fs(null),$t=te("slidev-presenter-font-size",1,{listenToStorageChanges:!1}),ut=te("slidev-presenter-layout",1,{listenToStorageChanges:!1});function rl(){ut.value=ut.value+1,ut.value>2&&(ut.value=1)}function al(){$t.value=Math.min(2,$t.value+.1)}function ll(){$t.value=Math.max(.5,$t.value-.1)}const cl=en(ya);function Sa(s=Zs(hn,T())){const e=oo(s),t=Q([_a,ba,wa,ka,va,Et.width,Et.height],()=>{setTimeout(e.update,300)},{flush:"post",immediate:!0});return{...e,stop:t}}function Ma(s){return()=>{}}function Oa(s,e,t){var Y;function n(L){return s?Ve(s,L):ao(L)}const o=n(ps),i=n(vi)??{},r=n(ds),a=m(()=>Ma(r.value)),l=n(mi)??T(1),c=n(_i)??T(1),{left:u,top:f,stop:h}=Sa(n(hn)??T()),d=["slide","presenter"].includes(o.value);let p=s?"directive":"prop",g=Ss(),y;if(Array.isArray(e)?y=e:typeof e=="string"&&e.includes(",")?y=e.split(",").map(Number):e!=null&&(p="frontmatter",g=`${e}`,e=(Y=i==null?void 0:i.dragPos)==null?void 0:Y[g],y=e==null?void 0:e.split(",").map(Number)),p!=="frontmatter"&&!t)throw new Error("[Slidev] Can not identify the source position of the v-drag element, please provide an explicit `id` prop.");const v=[h],_=e!=null&&!Number.isFinite(y==null?void 0:y[3]);y??(y=[Number.NaN,Number.NaN,0]);const b=T(y[2]),w=T(y[0]+y[2]/2),O=T(y[4]??0),S=m(()=>O.value*Math.PI/180),E=m(()=>Math.sin(S.value)),$=m(()=>Math.cos(S.value)),I=T(),x=T({left:0,top:0,width:0,height:0}),se=T(0);function P(){const L=I.value.getBoundingClientRect();x.value={left:L.left/c.value,top:L.top/c.value,width:L.width/c.value,height:L.height/c.value},se.value=(x.value.width+x.value.height)/l.value/(Math.abs(E.value)+Math.abs($.value))-b.value}v.push(Q(b,P,{flush:"post"}));const A=T(y[3]??0),N=m({get:()=>(_?se.value:A.value)||0,set:L=>!_&&(A.value=L)}),R=T(y[1]),j=m({get:()=>R.value+N.value/2,set:L=>R.value=L-N.value/2}),ne=m(()=>Number.isFinite(w.value)?{position:"absolute",zIndex:100,left:`${w.value-b.value/2}px`,top:`${j.value-N.value/2}px`,width:`${b.value}px`,height:_?void 0:`${N.value}px`,transformOrigin:"center center",transform:`rotate(${O.value}deg)`}:{position:"absolute",zIndex:100});v.push(Q([w,j,b,N,O],([L,ce,We,ze,Ps])=>{let Ie=[L-We/2,ce-ze/2,We].map(Math.round).join();_?Ie+=p==="directive"?",NaN":",_":Ie+=`,${Math.round(ze)}`,Math.round(Ps)!==0&&(Ie+=`,${Math.round(Ps)}`),p==="directive"&&(Ie=`[${Ie}]`),a.value(g,Ie,p,t)}));const W={id:g,dataSource:p,markdownSource:t,zoom:c,autoHeight:_,x0:w,y0:j,width:b,height:N,rotate:O,container:I,containerStyle:ne,watchStopHandles:v,dragging:m(()=>ct.value===W),mounted(){d&&(P(),e||setTimeout(()=>{P(),w.value=(x.value.left+x.value.width/2-u.value)/l.value,j.value=(x.value.top-f.value)/l.value,b.value=x.value.width/l.value,N.value=x.value.height/l.value},100))},unmounted(){d&&W.stopDragging()},startDragging(){P(),ct.value=W},stopDragging(){ct.value===W&&(ct.value=null)}};return v.push(io(I,L=>{const ce=document.querySelector("#drag-control-container");ce&&L.target&&ce.contains(L.target)||W.stopDragging()}),Q(ro(),L=>{L||W.stopDragging()})),W}function Pa(){return{install(s){s.directive("drag",{name:"v-drag",created(e,t,n){var i;const o=Oa(t,t.value,(i=n.props)==null?void 0:i.markdownSource);n.props&&(n.props={...n.props},delete n.props.markdownSource),o.container.value=e,e.draggingState=o,e.dataset.dragId=o.id,o.watchStopHandles.push(Q(o.containerStyle,r=>{for(const[a,l]of Object.entries(r))l&&(e.style[a]=l)},{immediate:!0})),e.addEventListener("dblclick",o.startDragging)},mounted(e){e.draggingState.mounted()},unmounted(e){const t=e.draggingState;t.unmounted(),e.removeEventListener("dblclick",t.startDragging),t.watchStopHandles.forEach(n=>n())}})}}}function Ta(){return{install(s){const e=lo();s.directive("motion",{name:"v-motion",mounted(t,n,o,i){var b,w,O;const r=Ve(n,Ct),a=Ve(n,ds),l=Ve(n,ps),{currentPage:c,clicks:u,isPrintMode:f}=ts(),h=o.props={...o.props},d={...h.initial,...(b=h.variants)==null?void 0:b["slidev-initial"]},p={...h.enter,...(w=h.variants)==null?void 0:w["slidev-enter"]},g={...h.leave,...(O=h.variants)==null?void 0:O["slidev-leave"]};delete h.initial,delete h.enter,delete h.leave;const y=`${Ss()}-`,v=[];for(const S of Object.keys(h))if(S.startsWith("click-")){const E=S.slice(6),$=E.includes("-")?E.split("-").map(Number):+E,I=y+E;v.push({id:I,at:$,variant:{...h[S]},info:r==null?void 0:r.value.calculate($)}),delete h[S]}v.sort((S,E)=>(Array.isArray(S.at)?S.at[0]:S.at)-(Array.isArray(E.at)?E.at[0]:E.at)),e.created(t,n,o,i),e.mounted(t,n,o,i);const _=t.motionInstance;_.clickIds=v.map(S=>S.id),_.set(d),_.watchStopHandle=Q([a,c,u].filter(Boolean),()=>{var E;const S=((E=En.get(t))==null?void 0:E.visibilityState.value)??"shown";if(!(r!=null&&r.value)||!["slide","presenter"].includes((l==null?void 0:l.value)??"")){const $={...d,...p};for(const{variant:I}of v)Object.assign($,I);_.set($)}else if(f.value||(a==null?void 0:a.value)===c.value)if(S==="shown"){const $={...d,...p};for(const{variant:I,info:x}of v)(!x||x.isActive.value)&&Object.assign($,I);f.value?_.set($):_.apply($)}else _.apply(S==="before"?d:g);else _.apply(((a==null?void 0:a.value)??-1)>c.value?d:g)},{immediate:!0})},unmounted(t){t.motionInstance.watchStopHandle()}})}}}const Ea=[];function $a(){const s=[];{let e=function(t){if(!D.remote||D.remote===t.query.password)return!0;if(D.remote&&t.query.password===void 0){const n=prompt("Enter password");if(D.remote===n)return!0}return t.params.no?{path:`/${t.params.no}`}:{path:""}};s.push({name:"entry",path:"/entry",component:()=>C(()=>import("./slidev/entry-BSGNSnqr.js"),__vite__mapDeps([25,20,1,3,4]))},{name:"overview",path:"/overview",component:()=>C(()=>import("./slidev/overview-BmHD3l9W.js"),__vite__mapDeps([26,20,1,27,28,29,30,31,32,33,3,4]))},{name:"notes",path:"/notes",component:()=>C(()=>import("./slidev/notes-DiZeFWxo.js"),__vite__mapDeps([34,20,1,30,31,29,3,4])),beforeEnter:e},{name:"presenter",path:"/presenter/:no",component:()=>C(()=>import("./slidev/presenter-tvcw40w7.js"),__vite__mapDeps([35,20,1,36,27,28,29,2,3,4,37,30,31,38,39,32,33,40])),beforeEnter:e},{path:"/presenter",redirect:{path:"/presenter/1"}})}return s.push({name:"play",path:"/:no",component:()=>C(()=>import("./slidev/play-CFoaEEOz.js"),__vite__mapDeps([41,1,36,27,28,20,29,2,3,4,37,42]))},{path:"",redirect:{path:"/1"}}),Ea.reduce((e,t)=>t(e),s)}const Aa=[];async function La(s){function e(){document.documentElement.style.setProperty("--vh",`${window.innerHeight*.01}px`)}e(),window.addEventListener("resize",e);const t=co({history:uo("/sa2024/08-serverless/"),routes:$a()});s.use(t),s.use(ii()),s.use(Lr()),s.use(ma()),s.use(Pa()),s.use(Ta()),s.use(ho,{container:"#twoslash-container"});const n={app:s,router:t};_t(()=>{t.afterEach(async()=>{await _t(),es.value+=1})});for(const o of Aa)await o(n)}const Rn=fo(Ar);La(Rn);Rn.mount("#app");export{ps as $,C as A,Et as B,Qt as C,va as D,ba as E,oe as F,ct as G,cl as H,Za as I,el as J,Ja as K,Ya as L,ol as M,nl as N,Da as O,Xa as P,cs as Q,rl as R,nt as S,mi as T,Sa as U,dn as V,sn as W,hn as X,Va as Y,ds as Z,kn as _,ts as a,Ba as a0,Ct as a1,_i as a2,xa as a3,Fa as a4,Ra as a5,ue as a6,fe as a7,he as a8,de as a9,pe as aa,ge as ab,me as ac,ye as ad,ve as ae,_e as af,be as ag,we as ah,ke as ai,Se as aj,Ss as ak,qe as al,Ua as am,Me as an,Oe as ao,Pe as ap,yi as aq,vi as ar,Wa as as,wi as at,br as b,D as c,Mn as d,Ka as e,sl as f,Fe as g,za as h,Vs as i,il as j,ya as k,$t as l,al as m,ll as n,et as o,ut as p,Ga as q,ja as r,Ha as s,qa as t,ai as u,Qa as v,_o as w,Na as x,tl as y,_a as z}; diff --git a/08-serverless/assets/index-QpepMDL9.css b/08-serverless/assets/index-QpepMDL9.css new file mode 100644 index 0000000..e4cf5d5 --- /dev/null +++ b/08-serverless/assets/index-QpepMDL9.css @@ -0,0 +1 @@ +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.prose :where(h1,h2,h3,h4,h5,h6):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-headings);font-weight:600;line-height:1.25}.prose :where(a):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-links);text-decoration:underline;font-weight:500}.prose :where(a code):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-links)}.prose :where(p,ul,ol,pre):not(:where(.not-prose,.not-prose *)){margin:1em 0;line-height:1.75}.prose :where(blockquote):not(:where(.not-prose,.not-prose *)){margin:1em 0;padding-left:1em;font-style:italic;border-left:.25em solid var(--un-prose-borders)}.prose :where(h1):not(:where(.not-prose,.not-prose *)){margin:1rem 0;font-size:2.25em}.prose :where(h2):not(:where(.not-prose,.not-prose *)){margin:1.75em 0 .5em;font-size:1.75em}.prose :where(h3):not(:where(.not-prose,.not-prose *)){margin:1.5em 0 .5em;font-size:1.375em}.prose :where(h4):not(:where(.not-prose,.not-prose *)){margin:1em 0;font-size:1.125em}.prose :where(img,video):not(:where(.not-prose,.not-prose *)){max-width:100%}.prose :where(figure,picture):not(:where(.not-prose,.not-prose *)){margin:1em 0}.prose :where(figcaption):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-captions);font-size:.875em}.prose :where(code):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-code);font-size:.875em;font-weight:600;font-family:Fira Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.prose :where(:not(pre)>code):not(:where(.not-prose,.not-prose *)):before,.prose :where(:not(pre)>code):not(:where(.not-prose,.not-prose *)):after{content:"`"}.prose :where(pre):not(:where(.not-prose,.not-prose *)){padding:1.25rem 1.5rem;overflow-x:auto;border-radius:.375rem}.prose :where(pre,code):not(:where(.not-prose,.not-prose *)){white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;hyphens:none;background:transparent}.prose :where(pre code):not(:where(.not-prose,.not-prose *)){font-weight:inherit}.prose :where(ol,ul):not(:where(.not-prose,.not-prose *)){padding-left:1.25em}.prose :where(ol):not(:where(.not-prose,.not-prose *)){list-style-type:decimal}.prose :where(ol[type=A]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where(.not-prose,.not-prose *)){list-style-type:decimal}.prose :where(ul):not(:where(.not-prose,.not-prose *)){list-style-type:disc}.prose :where(ol>li):not(:where(.not-prose,.not-prose *))::marker,.prose :where(ul>li):not(:where(.not-prose,.not-prose *))::marker,.prose :where(summary):not(:where(.not-prose,.not-prose *))::marker{color:var(--un-prose-lists)}.prose :where(hr):not(:where(.not-prose,.not-prose *)){margin:2em 0;border:1px solid var(--un-prose-hr)}.prose :where(table):not(:where(.not-prose,.not-prose *)){display:block;margin:1em 0;border-collapse:collapse;overflow-x:auto}.prose :where(tr):not(:where(.not-prose,.not-prose *)):nth-child(2n){background:var(--un-prose-bg-soft)}.prose :where(td,th):not(:where(.not-prose,.not-prose *)){border:1px solid var(--un-prose-borders);padding:.625em 1em}.prose :where(abbr):not(:where(.not-prose,.not-prose *)){cursor:help}.prose :where(kbd):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-code);border:1px solid;padding:.25rem .5rem;font-size:.875em;border-radius:.25rem}.prose :where(details):not(:where(.not-prose,.not-prose *)){margin:1em 0;padding:1.25rem 1.5rem;background:var(--un-prose-bg-soft)}.prose :where(summary):not(:where(.not-prose,.not-prose *)){cursor:pointer;font-weight:600}.prose{color:var(--un-prose-body);max-width:65ch}.container{width:100%}.border-main,.dark .dark\:border-main,.dark [border~="dark:main"],.dark [dark\:border~=main],[border-main=""],[border~=main]{border-color:#9ca3af33}.border-primary,.hover\:border-primary:hover{border-color:var(--slidev-theme-primary)}.bg-active{background-color:#9ca3af1a}.bg-main,[bg-main=""]{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .bg-main,.dark [bg-main=""]{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.bg-primary{background-color:var(--slidev-theme-primary)}.hover\:bg-active:hover,[hover\:bg-active=""]:hover{background-color:#9ca3af1a}.dark .text-main{--un-text-opacity:1;color:rgb(221 221 221 / var(--un-text-opacity))}.text-main{--un-text-opacity:1;color:rgb(24 24 24 / var(--un-text-opacity))}.text-primary,[text-primary=""]{color:var(--slidev-theme-primary)}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}:root{--slidev-code-background: #f5f5f5;--slidev-code-foreground: #1b1b1b;--slidev-code-font-family: "Fira Code",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--slidev-code-padding: 8px;--slidev-code-font-size: 12px;--slidev-code-line-height: 18px;--slidev-code-radius: 4px;--slidev-code-margin: 4px 0;--slidev-theme-primary: #3ab9d5;--slidev-transition-duration: .5s;--slidev-slide-container-background: black;--slidev-controls-foreground: white}html.dark{--slidev-code-background: #1b1b1b;--slidev-code-foreground: #eee}html,body,#app,#page-root{padding:0;margin:0;width:100%;height:100vh;height:calc(var(--vh, 1vh) * 100);overflow:hidden;font-family:Avenir Next,Nunito Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}html{background:transparent}.slidev-icon-btn{aspect-ratio:1;display:inline-block;-webkit-user-select:none;user-select:none;outline:none;cursor:pointer;border-radius:.25rem;padding:.25rem;vertical-align:middle;opacity:.75;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.15s;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width: 768px){.slidev-icon-btn{padding:.5rem}}.slidev-icon-btn:hover{--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity));--un-bg-opacity:.1;opacity:1}.slidev-icon-btn.shallow{opacity:.3}.slidev-icon-btn.active{opacity:1}.slidev-icon-btn.disabled{opacity:.25;pointer-events:none}.slidev-vclick-target{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.1s}.slidev-vclick-hidden{opacity:0!important;pointer-events:none!important;-webkit-user-select:none!important;user-select:none!important}.slidev-vclick-fade{opacity:.5}.slidev-icon{display:inline-block;vertical-align:sub;line-height:1em}.slidev-page{position:relative;top:0;left:0;right:0;width:100%}.slidev-note-with-clicks .slidev-note-fade{color:#888888ab}.slidev-note-click-mark{-webkit-user-select:none;user-select:none;font-size:.7em;display:inline-flex;align-items:center;border-width:1px;border-color:transparent;border-radius:.25rem;background-color:#a78bfa1a;padding-left:.25rem;padding-right:.25rem;--un-text-opacity:1;color:rgb(167 139 250 / var(--un-text-opacity));font-family:Fira Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.slidev-note-click-mark.slidev-note-click-mark-active{border-width:1px;--un-border-opacity:1;border-color:rgb(167 139 250 / var(--un-border-opacity))}.slidev-note-click-mark.slidev-note-click-mark-past{filter:saturate(0);opacity:.5}.slidev-note-click-mark.slidev-note-click-mark-future{opacity:.5}.slidev-note-click-mark:before{content:"";display:inline-block;--un-icon: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M23 28a1 1 0 0 1-.71-.29l-6.13-6.14l-3.33 5a1 1 0 0 1-1 .44a1 1 0 0 1-.81-.7l-6-20A1 1 0 0 1 6.29 5l20 6a1 1 0 0 1 .7.81a1 1 0 0 1-.44 1l-5 3.33l6.14 6.13a1 1 0 0 1 0 1.42l-4 4A1 1 0 0 1 23 28m0-2.41L25.59 23l-7.16-7.15l5.25-3.5L7.49 7.49l4.86 16.19l3.5-5.25Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em;opacity:.8}.slidev-note-click-mark:after{content:attr(data-clicks);display:inline-block;transform:translateY(.1em)}.rough-annotation{transform:scale(calc(1 / var(--slidev-slide-scale)))}html.dark:root{color-scheme:dark}html.dark .shiki{color:var(--shiki-dark, inherit);--twoslash-popup-bg: var(--shiki-dark-bg, inherit)}html.dark .shiki span{color:var(--shiki-dark)}html:not(.dark) .shiki{color:var(--shiki-light, inherit);--twoslash-popup-bg: var(--shiki-light-bg, inherit)}html:not(.dark) .shiki span{color:var(--shiki-light)}.twoslash-meta-line.twoslash-popover-line{margin-top:-10px}.slidev-code-wrapper{margin:var(--slidev-code-margin)!important;scroll-padding:var(--slidev-code-padding)}.slidev-code-wrapper:-webkit-scrollbar{width:0px}.slidev-code{font-family:var(--slidev-code-font-family)!important;padding:var(--slidev-code-padding)!important;font-size:var(--slidev-code-font-size)!important;line-height:var(--slidev-code-line-height)!important;border-radius:var(--slidev-code-radius)!important;background:var(--slidev-code-background);overflow:auto}.slidev-code .slidev-code-dishonored{opacity:.3;pointer-events:none}.slidev-code-line-numbers .slidev-code code{counter-reset:step;counter-increment:step calc(var(--start, 1) - 1)}.slidev-code-line-numbers .slidev-code code .line:before{content:counter(step);counter-increment:step;display:inline-block;text-align:right;margin-right:1.5rem;width:1rem;--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.dark .slidev-code-line-numbers .slidev-code code .line:before{--un-text-opacity:1;color:rgb(75 85 99 / var(--un-text-opacity))}.slidev-layout :not(pre)>code{font-size:.9em;background:var(--slidev-code-background);border-radius:var(--slidev-code-radius);padding:.125rem .375rem;font-weight:300}.slidev-layout :not(pre)>code:before{margin-right:-.08em}.katex,.katex :after,.katex :before{border-color:currentColor}.CodeMirror pre.CodeMirror-placeholder{opacity:.4}.slidev-katex-wrapper .mord.dishonored{opacity:.3}.slide-left-enter-active,.slide-left-leave-active,.slide-right-enter-active,.slide-right-leave-active,.slide-up-enter-active,.slide-up-leave-active,.slide-down-enter-active,.slide-down-leave-active{transition:all var(--slidev-transition-duration) ease}.slide-left-enter-from,.slide-right-leave-to{transform:translate(100%)}.slide-left-leave-to,.slide-right-enter-from{transform:translate(-100%)}.slide-up-enter-from,.slide-down-leave-to{transform:translateY(100%)}.slide-up-leave-to,.slide-down-enter-from{transform:translateY(-100%)}.fade-enter-active,.fade-leave-active{transition:opacity var(--slidev-transition-duration) ease}.fade-enter-from,.fade-leave-to{opacity:0}.fade-out-leave-active{transition:opacity calc(var(--slidev-transition-duration) * .6) ease-out}.fade-out-enter-active{transition:opacity calc(var(--slidev-transition-duration) * .8) ease-in;transition-delay:calc(var(--slidev-transition-duration) * .6)}.fade-out-enter-from,.fade-out-leave-to{opacity:0}.slidev-layout{height:100%;padding:2.5rem 3.5rem;font-size:1.1rem}.slidev-layout pre,.slidev-layout code{-webkit-user-select:text;user-select:text}.slidev-layout code{font-family:Fira Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.slidev-layout h1{margin-bottom:1rem;font-size:2.25rem;line-height:2.5rem}.slidev-layout h6{padding-top:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase}.slidev-layout p{margin-top:1rem;margin-bottom:1rem;line-height:1.5rem}.slidev-layout ul{list-style:square}.slidev-layout ol{list-style:decimal}.slidev-layout li{line-height:1.8em}.slidev-layout blockquote{background:var(--slidev-code-background);color:var(--slidev-code-foreground);border-left-width:1px;border-color:var(--slidev-theme-primary);border-radius:.25rem;padding:.25rem .5rem;font-size:.875rem;line-height:1.25rem}.slidev-layout blockquote>*{margin-top:0;margin-bottom:0}.slidev-layout table{width:100%}.slidev-layout tr{border-bottom-width:1px;border-color:#9ca3af33}.slidev-layout th{text-align:left;font-weight:400}.slidev-layout a{border-bottom-width:1px;border-color:currentColor;border-style:dashed}.slidev-layout a:hover{border-style:solid;color:var(--slidev-theme-primary)}.slidev-layout td,.slidev-layout th{padding:.75rem .5rem}.slidev-layout b,.slidev-layout strong{font-weight:600}.slidev-layout kbd{border-width:1px;border-bottom-width:2px;border-color:#9ca3af33;border-radius:.25rem;--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity));--un-bg-opacity:.05;padding:.125rem .25rem;font-size:.75rem;line-height:1rem;font-family:Fira Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.slidev-layout h1,[dir=ltr] h1,.slidev-layout [dir=ltr] h1,.slidev-layout h6,[dir=ltr] h6,.slidev-layout [dir=ltr] h6{margin-left:-.05em;margin-right:0}.slidev-layout li,[dir=ltr] li,.slidev-layout [dir=ltr] li{margin-left:1.1em;margin-right:0;padding-left:.2em;padding-right:0}[dir=rtl] h1,.slidev-layout [dir=rtl] h1,[dir=rtl] h6,.slidev-layout [dir=rtl] h6{margin-right:-.05em;margin-left:0}[dir=rtl] li,.slidev-layout [dir=rtl] li{margin-right:1.1em;margin-left:0;padding-right:.2em;padding-left:0}.slidev-layout h1+p{margin-top:-.5rem;margin-bottom:1rem;opacity:.5}.slidev-layout p+h2,.slidev-layout ul+h2,.slidev-layout table+h2{margin-top:2.5rem}.slidev-layout h1{margin-bottom:1rem;margin-left:-.05em;font-size:2.25rem;line-height:2.5rem}.slidev-layout h2{font-size:1.875rem;line-height:2.25rem}.slidev-layout h3{font-size:1.5rem;line-height:2rem}.slidev-layout h4{font-size:1.25rem;line-height:1.75rem}.slidev-layout h5{font-size:1rem;line-height:1.5rem}.slidev-layout h6{margin-left:-.05em;padding-top:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase}.slidev-layout h6:not(.opacity-100){opacity:.4}.slidev-layout.cover,.slidev-layout.intro{display:grid;height:100%}.slidev-layout.cover h1,.slidev-layout.intro h1{font-size:3.75rem;line-height:1;line-height:5rem}.slidev-layout.fact{display:grid;height:100%;text-align:center}.slidev-layout.fact h1{font-size:6rem;line-height:1;font-weight:700}.slidev-layout.fact h1+p{font-size:1.5rem;line-height:2rem;font-weight:700}.slidev-layout.statement{display:grid;height:100%;text-align:center}.slidev-layout.statement h1{font-size:3.75rem;line-height:1;font-weight:700}.slidev-layout.quote{display:grid;height:100%}.slidev-layout.quote h1+p{margin-top:.5rem}.slidev-layout.section h1{font-size:3.75rem;line-height:1;font-weight:500;line-height:5rem}:root{--prism-scheme: light;--prism-foreground: #6e6e6e;--prism-background: #f4f4f4;--prism-comment: #a8a8a8;--prism-string: #555555;--prism-literal: #333333;--prism-keyword: #000000;--prism-function: #4f4f4f;--prism-deleted: #333333;--prism-class: #333333;--prism-builtin: #757575;--prism-property: #333333;--prism-namespace: #4f4f4f;--prism-punctuation: #ababab;--prism-decorator: var(--prism-class);--prism-operator: var(--prism-punctuation);--prism-number: var(--prism-literal);--prism-boolean: var(--prism-literal);--prism-variable: var(--prism-literal);--prism-constant: var(--prism-literal);--prism-symbol: var(--prism-literal);--prism-interpolation: var(--prism-literal);--prism-selector: var(--prism-keyword);--prism-keyword-control: var(--prism-keyword);--prism-regex: var(--prism-string);--prism-json-property: var(--prism-property);--prism-inline-background: var(--prism-background);--prism-comment-style: italic;--prism-url-decoration: underline;--prism-line-number: #a5a5a5;--prism-line-number-gutter: #333333;--prism-line-highlight-background: #eeeeee;--prism-selection-background: #dddddd;--prism-marker-color: var(--prism-foreground);--prism-marker-opacity: .4;--prism-marker-font-size: .8em;--prism-font-size: 1em;--prism-line-height: 1.5em;--prism-font-family: monospace;--prism-inline-font-size: var(--prism-font-size);--prism-block-font-size: var(--prism-font-size);--prism-tab-size: 2;--prism-block-padding-x: 1em;--prism-block-padding-y: 1em;--prism-block-margin-x: 0;--prism-block-margin-y: .5em;--prism-block-radius: .3em;--prism-inline-padding-x: .3em;--prism-inline-padding-y: .1em;--prism-inline-radius: .3em}div[class*=language-],pre[class*=language-],code[class*=language-]{font-size:var(--prism-font-size);font-family:var(--prism-font-family);direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:var(--prism-line-height);-moz-tab-size:var(--prism-tab-size);-o-tab-size:var(--prism-tab-size);tab-size:var(--prism-tab-size);-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;color:var(--prism-foreground)!important}div[class*=language-],pre[class*=language-]{font-size:var(--prism-block-font-size);padding:var(--prism-block-padding-y) var(--prism-block-padding-x);margin:var(--prism-block-margin-y) var(--prism-block-margin-x);border-radius:var(--prism-block-radius);overflow:auto;background:var(--prism-background)}:not(pre)>code[class*=language-]{font-size:var(--prism-inline-font-size);padding:var(--prism-inline-padding-y) var(--prism-inline-padding-x);border-radius:var(--prism-inline-radius);background:var(--prism-inline-background)}pre[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection{background:var(--prism-selection-background)}pre[class*=language-]::selection,pre[class*=language-] ::selection,code[class*=language-]::selection,code[class*=language-] ::selection{background:var(--prism-selection-background)}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:var(--prism-comment);font-style:var(--prism-comment-style)}.token.namespace{color:var(--prism-namespace)}.token.interpolation{color:var(--prism-interpolation)}.token.string{color:var(--prism-string)}.token.punctuation{color:var(--prism-punctuation)}.token.operator{color:var(--prism-operator)}.token.keyword.module,.token.keyword.control-flow{color:var(--prism-keyword-control)}.token.url,.token.symbol,.token.inserted{color:var(--prism-symbol)}.token.constant{color:var(--prism-constant)}.token.string.url{text-decoration:var(--prism-url-decoration)}.token.boolean,.language-json .token.boolean{color:var(--prism-boolean)}.token.number,.language-json .token.number{color:var(--prism-number)}.token.variable{color:var(--prism-variable)}.token.keyword{color:var(--prism-keyword)}.token.atrule,.token.attr-value,.token.selector{color:var(--prism-selector)}.token.function{color:var(--prism-function)}.token.deleted{color:var(--prism-deleted)}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.class-name{color:var(--prism-class)}.token.tag,.token.builtin{color:var(--prism-builtin)}.token.attr-name,.token.property,.token.entity{color:var(--prism-property)}.language-json .token.property{color:var(--prism-json-property)}.token.regex{color:var(--prism-regex)}.token.decorator,.token.annotation{color:var(--prism-decorator)}.line-numbers .line-numbers-rows{border-right-color:var(--prism-line-number)}.line-numbers-rows>span:before{color:var(--prism-line-number-gutter)}.line-highlight{background:var(--prism-line-highlight-background)}:root{--cm-scheme: light;--cm-foreground: #6e6e6e;--cm-background: #f4f4f4;--cm-comment: #a8a8a8;--cm-string: #555555;--cm-literal: #333333;--cm-keyword: #000000;--cm-function: #4f4f4f;--cm-deleted: #333333;--cm-class: #333333;--cm-builtin: #757575;--cm-property: #333333;--cm-namespace: #4f4f4f;--cm-punctuation: #ababab;--cm-decorator: var(--cm-class);--cm-operator: var(--cm-punctuation);--cm-number: var(--cm-literal);--cm-boolean: var(--cm-literal);--cm-variable: var(--cm-literal);--cm-constant: var(--cm-literal);--cm-symbol: var(--cm-literal);--cm-interpolation: var(--cm-literal);--cm-selector: var(--cm-keyword);--cm-keyword-control: var(--cm-keyword);--cm-regex: var(--cm-string);--cm-json-property: var(--cm-property);--cm-inline-background: var(--cm-background);--cm-comment-style: italic;--cm-url-decoration: underline;--cm-line-number: #a5a5a5;--cm-line-number-gutter: #333333;--cm-line-highlight-background: #eeeeee;--cm-selection-background: #aaaaaa;--cm-marker-color: var(--cm-foreground);--cm-marker-opacity: .4;--cm-marker-font-size: .8em;--cm-font-size: 1em;--cm-line-height: 1.5em;--cm-font-family: monospace;--cm-inline-font-size: var(--cm-font-size);--cm-block-font-size: var(--cm-font-size);--cm-tab-size: 2;--cm-block-padding-x: 1em;--cm-block-padding-y: 1em;--cm-block-margin-x: 0;--cm-block-margin-y: .5em;--cm-block-radius: .3em;--cm-inline-padding-x: .3em;--cm-inline-padding-y: .1em;--cm-inline-radius: .3em}.cm-s-vars.CodeMirror{background-color:var(--cm-background);color:var(--cm-foreground)}.cm-s-vars .CodeMirror-gutters{background:var(--cm-line-number-gutter);color:var(--cm-line-number);border:none}.cm-s-vars .CodeMirror-guttermarker,.cm-s-vars .CodeMirror-guttermarker-subtle,.cm-s-vars .CodeMirror-linenumber{color:var(--cm-line-number)}.cm-s-vars div.CodeMirror-selected,.cm-s-vars.CodeMirror-focused div.CodeMirror-selected{background:var(--cm-selection-background)}.cm-s-vars .CodeMirror-line::selection,.cm-s-vars .CodeMirror-line>span::selection,.cm-s-vars .CodeMirror-line>span>span::selection{background:var(--cm-selection-background)}.cm-s-vars .CodeMirror-line::-moz-selection,.cm-s-vars .CodeMirror-line>span::-moz-selection,.cm-s-vars .CodeMirror-line>span>span::-moz-selection{background:var(--cm-selection-background)}.cm-s-vars .CodeMirror-activeline-background{background:var(--cm-line-highlight-background)}.cm-s-vars .cm-keyword{color:var(--cm-keyword)}.cm-s-vars .cm-variable,.cm-s-vars .cm-variable-2,.cm-s-vars .cm-variable-3,.cm-s-vars .cm-type{color:var(--cm-variable)}.cm-s-vars .cm-builtin{color:var(--cm-builtin)}.cm-s-vars .cm-atom{color:var(--cm-literal)}.cm-s-vars .cm-number{color:var(--cm-number)}.cm-s-vars .cm-def{color:var(--cm-decorator)}.cm-s-vars .cm-string,.cm-s-vars .cm-string-2{color:var(--cm-string)}.cm-s-vars .cm-comment{color:var(--cm-comment)}.cm-s-vars .cm-tag{color:var(--cm-builtin)}.cm-s-vars .cm-meta{color:var(--cm-namespace)}.cm-s-vars .cm-attribute,.cm-s-vars .cm-property{color:var(--cm-property)}.cm-s-vars .cm-qualifier{color:var(--cm-keyword)}.cm-s-vars .cm-error{color:var(--prism-deleted)}.cm-s-vars .cm-operator,.cm-s-vars .cm-bracket{color:var(--cm-punctuation)}.cm-s-vars .CodeMirror-matchingbracket{text-decoration:underline}.cm-s-vars .CodeMirror-cursor{border-left:1px solid currentColor}:root{--cm-scheme: var(--prism-scheme);--cm-foreground: var(--prism-foreground);--cm-background: var(--prism-background);--cm-comment: var(--prism-comment);--cm-string: var(--prism-string);--cm-literal: var(--prism-literal);--cm-keyword: var(--prism-keyword);--cm-function: var(--prism-function);--cm-deleted: var(--prism-deleted);--cm-class: var(--prism-class);--cm-builtin: var(--prism-builtin);--cm-property: var(--prism-property);--cm-namespace: var(--prism-namespace);--cm-punctuation: var(--prism-punctuation);--cm-decorator: var(--prism-decorator);--cm-operator: var(--prism-operator);--cm-number: var(--prism-number);--cm-boolean: var(--prism-boolean);--cm-variable: var(--prism-variable);--cm-constant: var(--prism-constant);--cm-symbol: var(--prism-symbol);--cm-interpolation: var(--prism-interpolation);--cm-selector: var(--prism-selector);--cm-keyword-control: var(--prism-keyword-control);--cm-regex: var(--prism-regex);--cm-json-property: var(--prism-json-property);--cm-inline-background: var(--prism-inline-background);--cm-comment-style: var(--prism-comment-style);--cm-url-decoration: var(--prism-url-decoration);--cm-line-number: var(--prism-line-number);--cm-line-number-gutter: var(--prism-line-number-gutter);--cm-line-highlight-background: var(--prism-line-highlight-background);--cm-selection-background: var(--prism-selection-background);--cm-marker-color: var(--prism-marker-color);--cm-marker-opacity: var(--prism-marker-opacity);--cm-marker-font-size: var(--prism-marker-font-size);--cm-font-size: var(--prism-font-size);--cm-line-height: var(--prism-line-height);--cm-font-family: var(--prism-font-family);--cm-inline-font-size: var(--prism-inline-font-size);--cm-block-font-size: var(--prism-block-font-size);--cm-tab-size: var(--prism-tab-size);--cm-block-padding-x: var(--prism-block-padding-x);--cm-block-padding-y: var(--prism-block-padding-y);--cm-block-margin-x: var(--prism-block-margin-x);--cm-block-margin-y: var(--prism-block-margin-y);--cm-block-radius: var(--prism-block-radius);--cm-inline-padding-x: var(--prism-inline-padding-x);--cm-inline-padding-y: var(--prism-inline-padding-y);--cm-inline-radius: var(--prism-inline-radius)}:root{--prism-font-family: var(--slidev-code-font-family);--prism-background: var(--slidev-code-background)}html:not(.dark){--prism-foreground: #393a34;--prism-comment: #a0ada0;--prism-string: #b56959;--prism-literal: #2f8a89;--prism-number: #296aa3;--prism-keyword: #1c6b48;--prism-function: #6c7834;--prism-boolean: #1c6b48;--prism-constant: #a65e2b;--prism-deleted: #a14f55;--prism-class: #2993a3;--prism-builtin: #ab5959;--prism-property: #b58451;--prism-namespace: #b05a78;--prism-punctuation: #8e8f8b;--prism-decorator: #bd8f8f;--prism-regex: #ab5e3f;--prism-json-property: #698c96}html.dark{--prism-foreground: #d4cfbf;--prism-comment: #758575;--prism-string: #d48372;--prism-literal: #429988;--prism-keyword: #4d9375;--prism-boolean: #1c6b48;--prism-number: #6394bf;--prism-variable: #c2b36e;--prism-function: #a1b567;--prism-deleted: #a14f55;--prism-class: #54b1bf;--prism-builtin: #e0a569;--prism-property: #dd8e6e;--prism-namespace: #db889a;--prism-punctuation: #858585;--prism-decorator: #bd8f8f;--prism-regex: #ab5e3f;--prism-json-property: #6b8b9e;--prism-line-number: #888888;--prism-line-number-gutter: #eeeeee;--prism-line-highlight-background: #444444;--prism-selection-background: #444444}:root{--twoslash-popup-bg: var(--slidev-code-background);--twoslash-popup-color: var(--slidev-code-foreground);--twoslash-docs-color: inherit;--twoslash-docs-font: inherit;--twoslash-code-font: "Fira Code",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--twoslash-underline-color: #8888;--twoslash-border-color: #8888;--twoslash-cursor-color: var(--slidev-theme-primary);--twoslash-matched-color: var(--slidev-theme-primary)}.twoslash-popup-container{font-size:13px}.twoslash-popup-container .twoslash-popup-code{font-size:.85em}.twoslash-floating .twoslash-popup-docs-tags .twoslash-popup-docs-tag-name{color:inherit;opacity:.5}.i-svg-spinners-90-ring-with-bg{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z' opacity='.25'/%3E%3Cpath fill='currentColor' d='M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z'%3E%3CanimateTransform attributeName='transform' dur='0.75s' repeatCount='indefinite' type='rotate' values='0 12 12;360 12 12'/%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none,[pointer-events-none=""]{pointer-events:none}.absolute,[absolute=""]{position:absolute}.fixed,[fixed=""]{position:fixed}.relative,[relative=""]{position:relative}.inset-0,[inset-0=""]{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-10{bottom:2.5rem}.left-0{left:0}.left-1{left:.25rem}.left-1\/2{left:50%}.left-110\%,[left-110\%=""]{left:110%}.right-0{right:0}.right-1{right:.25rem}.right-4{right:1rem}.right-5,[right-5=""]{right:1.25rem}.top-0{top:0}.top-1\/2,.top-50\%,[top-50\%=""]{top:50%}.-top-15px{top:-15px}.-top-20{top:-5rem}.top-4{top:1rem}.top-5{top:1.25rem}.-z-1{z-index:-1}.z-1,[z-1=""]{z-index:1}.z-10,[z-10=""]{z-index:10}.z-100{z-index:100}.z-20{z-index:20}.grid{display:grid}.grid-cols-\[1fr_max-content\]{grid-template-columns:1fr max-content}.grid-cols-\[35px_1fr\]{grid-template-columns:35px 1fr}.grid-rows-\[1fr_max-content\]{grid-template-rows:1fr max-content}.grid-rows-\[1fr_min-content\]{grid-template-rows:1fr min-content}.grid-rows-\[auto_max-content\]{grid-template-rows:auto max-content}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.m-1{margin:.25rem}.m-10{margin:2.5rem}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.children\:my-auto>*,.my-auto{margin-top:auto;margin-bottom:auto}.my1{margin-top:.25rem;margin-bottom:.25rem}.my4{margin-top:1rem;margin-bottom:1rem}.my5{margin-top:1.25rem;margin-bottom:1.25rem}.mb-4{margin-bottom:1rem}.mb2{margin-bottom:.5rem}.ml--4{margin-left:-1rem}.ml-0{margin-left:0}.-ml-2{margin-left:-.5rem}.mr--3,[mr--3=""]{margin-right:-.75rem}.mr--8{margin-right:-2rem}.mr-1,.mr1{margin-right:.25rem}.mr-2{margin-right:.5rem}.ms{margin-inline-start:1rem}.-mt-0\.5{margin-top:-.125rem}.mt-0\.5{margin-top:.125rem}.mt-1,.mt1{margin-top:.25rem}.mt-2,[mt-2=""]{margin-top:.5rem}.block{display:block}.inline-block{display:inline-block}.aspect-ratio-initial{aspect-ratio:initial}.h-\[40px\],.h-40px{height:40px}.h-\[calc\(var\(--vh\,1vh\)\*100\)\]{height:calc(var(--vh,1vh) * 100)}.h-0\.7{height:.175rem}.h-22px{height:22px}.h-2px{height:2px}.h-30{height:7.5rem}.h-3px{height:3px}.h-40{height:10rem}.h-5,.h5,[h5=""]{height:1.25rem}.h-50{height:12.5rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-70{height:17.5rem}.h-8,[h-8=""]{height:2rem}.h-80{height:20rem}.h-9,[h-9=""]{height:2.25rem}.h-full,[h-full=""]{height:100%}.h-max{height:max-content}.h-screen{height:100vh}.h1{height:.25rem}.max-h-full{max-height:100%}.max-w-150{max-width:37.5rem}.max-w-250,[max-w-250=""]{max-width:62.5rem}.max-w-90,[max-w-90=""]{max-width:22.5rem}.max-w-full{max-width:100%}.min-h-50,[min-h-50=""]{min-height:12.5rem}.min-w-16{min-width:4rem}.min-w-40{min-width:10rem}.min-w-90,[min-w-90=""]{min-width:22.5rem}.w-\[40px\]{width:40px}.w-0{width:0}.w-13{width:3.25rem}.w-1px{width:1px}.w-200{width:50rem}.w-22px{width:22px}.w-250,[w-250=""]{width:62.5rem}.w-4,[w-4=""]{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-7{width:1.75rem}.w-8,[w-8=""]{width:2rem}.w-9,[w-9=""]{width:2.25rem}.w-90,[w-90=""]{width:22.5rem}.w-full,[w-full=""]{width:100%}.w-screen{width:100vw}.w1{width:.25rem}.flex,[flex=""],[flex~="~"]{display:flex}.flex-1,[flex-1=""]{flex:1 1 0%}.flex-auto,[flex-auto=""]{flex:1 1 auto}.flex-none{flex:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-wrap-reverse{flex-wrap:wrap-reverse}.translate-y--50\%,[translate-y--50\%=""]{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-rotate-45{--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-rotate:-45deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.scale-102{--un-scale-x:1.02;--un-scale-y:1.02;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.scale-85{--un-scale-x:.85;--un-scale-y:.85;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.animate-fade-in{animation:fade-in 1s linear 1}.animate-duration-100{animation-duration:.1s}.cursor-default{cursor:default}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.touch-none{touch-action:none}.important\:\[\&_\*\]\:select-none *{-webkit-user-select:none!important;user-select:none!important}.select-none,[select-none=""]{-webkit-user-select:none;user-select:none}[select-none~="default:"]:default{-webkit-user-select:none;user-select:none}.resize{resize:both}.resize-none{resize:none}.break-after-page{break-after:page}.items-end{align-items:flex-end}.items-center,[items-center=""]{align-items:center}.justify-center,[justify-center=""]{justify-content:center}.justify-items-start{justify-items:start}.gap-2,[flex~=gap-2]{gap:.5rem}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-4,[gap-4=""]{gap:1rem}.gap-5{gap:1.25rem}.gap-x-8{column-gap:2rem}.gap-y-4{row-gap:1rem}.of-auto,.overflow-auto{overflow:auto}.of-hidden,.overflow-hidden,[of-hidden=""],[overflow-hidden=""]{overflow:hidden}.of-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.whitespace-nowrap,.ws-nowrap,[ws-nowrap=""]{white-space:nowrap}.b,.border,.dark .dark\:border,.dark [dark\:border~="~"],[border=""],[border~="~"]{border-width:1px}[border~="0"]{border-width:0px}.border-2{border-width:2px}[border~=y]{border-top-width:1px;border-bottom-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-r-2{border-right-width:2px}.border-t,[border-t=""],[border~=t]{border-top-width:1px}.b-dark{--un-border-opacity:1;border-color:rgb(34 34 34 / var(--un-border-opacity))}.border-gray,.dark .dark\:b-gray-400{--un-border-opacity:1;border-color:rgb(156 163 175 / var(--un-border-opacity))}.border-gray-300\/50{border-color:#d1d5db80}.dark .dark\:border-gray-500{--un-border-opacity:1;border-color:rgb(107 114 128 / var(--un-border-opacity))}.border-transparent,[border~=transparent]{border-color:transparent}.border-white{--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity))}.rounded,[border~=rounded],[rounded=""]{border-radius:.25rem}.rounded-1\/2{border-radius:50%}.rounded-full,[rounded-full=""]{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-lb{border-bottom-left-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.b-dashed{border-style:dashed}.\!border-none{border-style:none!important}[bg~=black]{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.bg-current{background-color:currentColor}.bg-gray,[hover\:op100~="bg-gray:5"]{--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity))}.dark .dark\:bg-gray-800{--un-bg-opacity:1;background-color:rgb(31 41 55 / var(--un-bg-opacity))}.bg-gray\:10{background-color:#9ca3af1a}.bg-gray\:5{background-color:#9ca3af0d}.bg-gray\/20{background-color:#9ca3af33}.bg-teal-500{--un-bg-opacity:1;background-color:rgb(20 184 166 / var(--un-bg-opacity))}.bg-transparent,[bg-transparent~=","],[bg-transparent~="{"],[bg-transparent~="&&"],[bg-transparent~="text.value"]{background-color:transparent}[bg-transparent~="!valid.value"]{background-color:transparent!important}.hover\:bg-gray-400:hover{--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity))}.hover\:bg-gray\/20:hover{background-color:#9ca3af33}[bg-transparent~="placeholder:"]::placeholder{background-color:transparent}.bg-opacity-30{--un-bg-opacity:.3}.\!bg-opacity-75,.bg-opacity-75\!{--un-bg-opacity:.75 !important}[bg~=opacity-80]{--un-bg-opacity:.8}.hover\:bg-opacity-10:hover{--un-bg-opacity:.1}[stroke-width~="1"]{stroke-width:1px}[stroke-width~="2"]{stroke-width:2px}[stroke-width~="3"]{stroke-width:3px}.dark .dark\:stroke-black{--un-stroke-opacity:1;stroke:rgb(0 0 0 / var(--un-stroke-opacity))}.stroke-white{--un-stroke-opacity:1;stroke:rgb(255 255 255 / var(--un-stroke-opacity))}.p-1{padding:.25rem}.p-16{padding:4rem}.p-2,.p2,[p2=""]{padding:.5rem}.\!p-4{padding:1rem!important}.p3{padding:.75rem}.p4{padding:1rem}.px,.px-4,.px4,[p~=x-4],[px=""]{padding-left:1rem;padding-right:1rem}.py-2,[p~=y-2]{padding-top:.5rem;padding-bottom:.5rem}.px-2,.px2,[px2=""]{padding-left:.5rem;padding-right:.5rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.px1{padding-left:.25rem;padding-right:.25rem}.px3{padding-left:.75rem;padding-right:.75rem}.py-1,.py1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-3,.py3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py0\.5{padding-top:.125rem;padding-bottom:.125rem}.py1\.5{padding-top:.375rem;padding-bottom:.375rem}[p~=l-1]{padding-left:.25rem}[p~=r-2]{padding-right:.5rem}.pt-\.5,[p~="t-0.5"]{padding-top:.125rem}.pb2{padding-bottom:.5rem}.pl-0{padding-left:0}.pl-2{padding-left:.5rem}.pr-6{padding-right:1.5rem}.pt5{padding-top:1.25rem}.text-center{text-align:center}.text-right,[text-right=""]{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3em{font-size:3em}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg,[text-lg=""]{font-size:1.125rem;line-height:1.75rem}.text-sm,[text-sm=""],[text~=sm]{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs,[text-xs=""]{font-size:.75rem;line-height:1rem}[text-sm~="default:"]:default{font-size:.875rem;line-height:1.25rem}.text-\$slidev-controls-foreground{color:var(--slidev-controls-foreground)}.text-black{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}.text-blue{--un-text-opacity:1;color:rgb(96 165 250 / var(--un-text-opacity))}.\!text-current{color:currentColor!important}.text-cyan{--un-text-opacity:1;color:rgb(34 211 238 / var(--un-text-opacity))}.text-gray,.text-gray-400{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.text-green{--un-text-opacity:1;color:rgb(74 222 128 / var(--un-text-opacity))}.text-green-500{--un-text-opacity:1;color:rgb(34 197 94 / var(--un-text-opacity))}.text-indigo{--un-text-opacity:1;color:rgb(129 140 248 / var(--un-text-opacity))}.text-lime{--un-text-opacity:1;color:rgb(163 230 53 / var(--un-text-opacity))}.text-orange{--un-text-opacity:1;color:rgb(251 146 60 / var(--un-text-opacity))}.text-pink{--un-text-opacity:1;color:rgb(244 114 182 / var(--un-text-opacity))}.text-purple{--un-text-opacity:1;color:rgb(192 132 252 / var(--un-text-opacity))}.text-red,.text-red-400{--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity))}.dark .dark\:text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.text-red-700{--un-text-opacity:1;color:rgb(185 28 28 / var(--un-text-opacity))}.text-teal{--un-text-opacity:1;color:rgb(45 212 191 / var(--un-text-opacity))}.text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.text-yellow{--un-text-opacity:1;color:rgb(250 204 21 / var(--un-text-opacity))}.important-text-op-50,.text-opacity-50\!{--un-text-opacity:.5 !important}.font-bold,[font-bold=""]{font-weight:700}.leading-2{line-height:.5rem}.tracking-widest{letter-spacing:.1em}.font-mono,[font-mono=""]{font-family:Fira Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}[tab~="1032"]{-moz-tab-size:1032;-o-tab-size:1032;tab-size:1032}[tab~="2"]{-moz-tab-size:2;-o-tab-size:2;tab-size:2}[tab~="default:"]:default{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.\!opacity-0,.important\:op0{opacity:0!important}.op0,.opacity-0,[op0=""]{opacity:0}.op100,[op100=""],.group:hover .group-hover\:op100{opacity:1}.op15{opacity:.15}.op20,.group:hover .group-hover\:opacity-20{opacity:.2}.op25,.opacity-25,[op25=""]{opacity:.25}.op30{opacity:.3}.op35{opacity:.35}.op40,.opacity-40{opacity:.4}.op50,.opacity-50,[op50=""]{opacity:.5}.op80,.opacity-80,.group:hover .group-hover\:op80{opacity:.8}.opacity-10{opacity:.1}.\!opacity-100{opacity:1!important}.hover\:op100:hover,[hover~=op100]:hover{opacity:1}.hover\:\!opacity-100:hover{opacity:1!important}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-90:hover{opacity:.9}.shadow,[shadow~="~"]{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-xl,[shadow-xl=""]{--un-shadow:var(--un-shadow-inset) 0 20px 25px -5px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 8px 10px -6px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline-none,[outline-none=""]{outline:2px solid transparent;outline-offset:2px}.backdrop-blur,.backdrop-blur-8,[backdrop-blur-8=""]{--un-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.\!backdrop-blur-0px{--un-backdrop-blur:blur(0px) !important;-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)!important;backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)!important}.backdrop-blur-5px{--un-backdrop-blur:blur(5px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.transition,[transition=""]{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300,[duration-300=""]{transition-duration:.3s}.duration-400,[duration-400=""]{transition-duration:.4s}.duration-500{transition-duration:.5s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.view-transition-name{view-transition-name:name}@media (max-width: 767.9px){.lt-md\:hidden{display:none}.lt-md\:flex-col{flex-direction:column}}@media (min-width: 1024px){.lg\:m-2{margin:.5rem}.lg\:gap-1{gap:.25rem}.lg\:p-2{padding:.5rem}.lg\:p-4{padding:1rem}}.shiki-magic-move-container{position:relative;white-space:pre}.shiki-magic-move-line-number{opacity:.3;-webkit-user-select:none;user-select:none}.shiki-magic-move-item{display:inline-block;transition:color var(--smm-duration, .5s) var(--smm-easing, "ease")}.shiki-magic-move-move,.shiki-magic-move-enter-active,.shiki-magic-move-leave-active{transition:all var(--smm-duration, .5s) var(--smm-easing, "ease")}.shiki-magic-move-container-resize,.shiki-magic-move-container-restyle{transition:all var(--smm-duration, .5s) var(--smm-easing, "ease");transition-delay:calc(var(--smm-duration, .5s) * var(--smm-delay-container, 1))}.shiki-magic-move-move{transition-delay:calc(calc(var(--smm-duration, .5s) * var(--smm-delay-move, 1)) + var(--smm-stagger, 0));z-index:1}.shiki-magic-move-enter-active{transition-delay:calc(calc(var(--smm-duration, .5s) * var(--smm-delay-enter, 1)) + var(--smm-stagger, 0));z-index:1}.shiki-magic-move-leave-active{transition-delay:calc(calc(var(--smm-duration, .5s) * var(--smm-delay-leave, 1)) + var(--smm-stagger, 0))}.shiki-magic-move-enter-from,.shiki-magic-move-leave-to{opacity:0}br.shiki-magic-move-leave-active{display:none} diff --git a/08-serverless/assets/logo-BYkHSa_O.png b/08-serverless/assets/logo-BYkHSa_O.png new file mode 100644 index 0000000..f5b8660 Binary files /dev/null and b/08-serverless/assets/logo-BYkHSa_O.png differ diff --git a/08-serverless/assets/modules/file-saver-CvNQQnEe.js b/08-serverless/assets/modules/file-saver-CvNQQnEe.js new file mode 100644 index 0000000..c4f1b3b --- /dev/null +++ b/08-serverless/assets/modules/file-saver-CvNQQnEe.js @@ -0,0 +1 @@ +function O(r,v){for(var u=0;ua[s]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var d=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var g={exports:{}};(function(r,v){(function(u,a){a()})(d,function(){function u(e,t){return typeof t>"u"?t={autoBom:!1}:typeof t!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function a(e,t,l){var o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){p(o.response,t,l)},o.onerror=function(){console.error("could not download file")},o.send()}function s(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return 200<=t.status&&299>=t.status}function c(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var i=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof d=="object"&&d.global===d?d:void 0,y=i.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),p=i.saveAs||(typeof window!="object"||window!==i?function(){}:"download"in HTMLAnchorElement.prototype&&!y?function(e,t,l){var o=i.URL||i.webkitURL,n=document.createElement("a");t=t||e.name||"download",n.download=t,n.rel="noopener",typeof e=="string"?(n.href=e,n.origin===location.origin?c(n):s(n.href)?a(e,t,l):c(n,n.target="_blank")):(n.href=o.createObjectURL(e),setTimeout(function(){o.revokeObjectURL(n.href)},4e4),setTimeout(function(){c(n)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,l){if(t=t||e.name||"download",typeof e!="string")navigator.msSaveOrOpenBlob(u(e,l),t);else if(s(e))a(e,t,l);else{var o=document.createElement("a");o.href=e,o.target="_blank",setTimeout(function(){c(o)})}}:function(e,t,l,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),typeof e=="string")return a(e,t,l);var n=e.type==="application/octet-stream",E=/constructor/i.test(i.HTMLElement)||i.safari,b=/CriOS\/[\d]+/.test(navigator.userAgent);if((b||n&&E||y)&&typeof FileReader<"u"){var w=new FileReader;w.onloadend=function(){var f=w.result;f=b?f:f.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=f:location=f,o=null},w.readAsDataURL(e)}else{var h=i.URL||i.webkitURL,m=h.createObjectURL(e);o?o.location=m:location.href=m,o=null,setTimeout(function(){h.revokeObjectURL(m)},4e4)}});i.saveAs=p.saveAs=p,r.exports=p})})(g);var j=g.exports;const A=_(j),L=O({__proto__:null,default:A},[j]);export{L as F}; diff --git a/08-serverless/assets/modules/shiki-BSchMNmt.css b/08-serverless/assets/modules/shiki-BSchMNmt.css new file mode 100644 index 0000000..5813562 --- /dev/null +++ b/08-serverless/assets/modules/shiki-BSchMNmt.css @@ -0,0 +1 @@ +.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.v-popper__inner{position:relative;box-sizing:border-box;overflow-y:auto}.v-popper__inner>div{position:relative;z-index:1;max-width:inherit;max-height:inherit}.v-popper__arrow-container{position:absolute;width:10px;height:10px}.v-popper__popper--arrow-overflow .v-popper__arrow-container,.v-popper__popper--no-positioning .v-popper__arrow-container{display:none}.v-popper__arrow-inner,.v-popper__arrow-outer{border-style:solid;position:absolute;top:0;left:0;width:0;height:0}.v-popper__arrow-inner{visibility:hidden;border-width:7px}.v-popper__arrow-outer{border-width:6px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{left:-2px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{left:-1px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer{border-bottom-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:0}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{border-top-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{top:-4px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{top:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{top:-1px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{border-left-width:0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{left:-4px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{left:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer{border-right-width:0;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner{left:-2px}.v-popper--theme-tooltip .v-popper__inner{background:#000c;color:#fff;border-radius:6px;padding:7px 12px 6px}.v-popper--theme-tooltip .v-popper__arrow-outer{border-color:#000c}.v-popper--theme-dropdown .v-popper__inner{background:#fff;color:#000;border-radius:6px;border:1px solid #ddd;box-shadow:0 6px 30px #0000001a}.v-popper--theme-dropdown .v-popper__arrow-inner{visibility:visible;border-color:#fff}.v-popper--theme-dropdown .v-popper__arrow-outer{border-color:#ddd}:root{--twoslash-border-color: #8888;--twoslash-underline-color: currentColor;--twoslash-highlighted-border: #c37d0d50;--twoslash-highlighted-bg: #c37d0d20;--twoslash-popup-bg: #f8f8f8;--twoslash-popup-color: inherit;--twoslash-popup-shadow: rgba(0, 0, 0, .08) 0px 1px 4px;--twoslash-docs-color: #888;--twoslash-docs-font: sans-serif;--twoslash-code-font: inherit;--twoslash-code-font-size: 1em;--twoslash-matched-color: inherit;--twoslash-unmatched-color: #888;--twoslash-cursor-color: #8888;--twoslash-error-color: #d45656;--twoslash-error-bg: #d4565620;--twoslash-warn-color: #c37d0d;--twoslash-warn-bg: #c37d0d20;--twoslash-tag-color: #3772cf;--twoslash-tag-bg: #3772cf20;--twoslash-tag-warn-color: var(--twoslash-warn-color);--twoslash-tag-warn-bg: var(--twoslash-warn-bg);--twoslash-tag-annotate-color: #1ba673;--twoslash-tag-annotate-bg: #1ba67320}@media (prefers-reduced-motion: reduce){.twoslash *{transition:none!important}}.twoslash:hover .twoslash-hover{border-color:var(--twoslash-underline-color)}.twoslash .twoslash-hover{border-bottom:1px dotted transparent;transition-timing-function:ease;transition:border-color .3s;position:relative}.twoslash .twoslash-popup-container{position:absolute;opacity:0;display:inline-flex;flex-direction:column;transform:translateY(1.1em);background:var(--twoslash-popup-bg);color:var(--twoslash-popup-color);border:1px solid var(--twoslash-border-color);transition:opacity .3s;border-radius:4px;pointer-events:none;z-index:10;-webkit-user-select:none;user-select:none;text-align:left;box-shadow:var(--twoslash-popup-shadow)}.twoslash .twoslash-query-presisted .twoslash-popup-container{z-index:9;transform:translateY(1.5em)}.twoslash .twoslash-hover:hover .twoslash-popup-container,.twoslash .twoslash-error-hover:hover .twoslash-popup-container,.twoslash .twoslash-query-presisted .twoslash-popup-container{opacity:1;pointer-events:auto}.twoslash .twoslash-popup-container:hover{-webkit-user-select:auto;user-select:auto}.twoslash .twoslash-popup-arrow{position:absolute;top:-4px;left:1em;border-top:1px solid var(--twoslash-border-color);border-right:1px solid var(--twoslash-border-color);background:var(--twoslash-popup-bg);transform:rotate(-45deg);width:6px;height:6px;pointer-events:none}.twoslash .twoslash-popup-code,.twoslash .twoslash-popup-error,.twoslash .twoslash-popup-docs{padding:6px 8px!important}.twoslash .twoslash-popup-code{font-family:var(--twoslash-code-font);font-size:var(--twoslash-code-font-size)}.twoslash .twoslash-popup-docs{color:var(--twoslash-docs-color);font-family:var(--twoslash-docs-font);font-size:.8em;border-top:1px solid var(--twoslash-border-color)}.twoslash .twoslash-popup-error{color:var(--twoslash-error-color);background-color:var(--twoslash-error-bg);font-family:var(--twoslash-docs-font);font-size:.8em}.twoslash .twoslash-popup-docs-tags{display:flex;flex-direction:column;font-family:var(--twoslash-docs-font)}.twoslash .twoslash-popup-docs-tags,.twoslash .twoslash-popup-docs-tag-name{margin-right:.5em}.twoslash .twoslash-popup-docs-tag-name{font-family:var(--twoslash-code-font)}.twoslash .twoslash-error-line{position:relative;background-color:var(--twoslash-error-bg);border-left:3px solid var(--twoslash-error-color);color:var(--twoslash-error-color);padding:6px 12px;margin:.2em 0;min-width:100%;width:max-content}.twoslash .twoslash-error-line.twoslash-error-level-warning{background-color:var(--twoslash-warn-bg);border-left:3px solid var(--twoslash-warn-color);color:var(--twoslash-warn-color)}.twoslash .twoslash-error{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%206%203'%20enable-background%3D'new%200%200%206%203'%20height%3D'3'%20width%3D'6'%3E%3Cg%20fill%3D'%23c94824'%3E%3Cpolygon%20points%3D'5.5%2C0%202.5%2C3%201.1%2C3%204.1%2C0'%2F%3E%3Cpolygon%20points%3D'4%2C0%206%2C2%206%2C0.6%205.4%2C0'%2F%3E%3Cpolygon%20points%3D'0%2C2%201%2C3%202.4%2C3%200%2C0.6'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-x bottom left;padding-bottom:2px}.twoslash .twoslash-error.twoslash-error-level-warning{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%206%203'%20enable-background%3D'new%200%200%206%203'%20height%3D'3'%20width%3D'6'%3E%3Cg%20fill%3D'%23c37d0d'%3E%3Cpolygon%20points%3D'5.5%2C0%202.5%2C3%201.1%2C3%204.1%2C0'%2F%3E%3Cpolygon%20points%3D'4%2C0%206%2C2%206%2C0.6%205.4%2C0'%2F%3E%3Cpolygon%20points%3D'0%2C2%201%2C3%202.4%2C3%200%2C0.6'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-x bottom left;padding-bottom:2px}.twoslash .twoslash-completion-cursor{position:relative}.twoslash .twoslash-completion-cursor .twoslash-completion-list{-webkit-user-select:none;user-select:none;position:absolute;top:0;left:0;transform:translateY(1.2em);margin:3px 0 0 -1px;display:inline-block;z-index:8;box-shadow:var(--twoslash-popup-shadow);background:var(--twoslash-popup-bg);border:1px solid var(--twoslash-border-color)}.twoslash-completion-list{width:240px;font-size:.8rem;padding:4px;display:flex;flex-direction:column;gap:4px}.twoslash-completion-list:hover{-webkit-user-select:auto;user-select:auto}.twoslash-completion-list:before{background-color:var(--twoslash-cursor-color);width:2px;position:absolute;top:-1.6em;height:1.4em;left:-1px;content:" "}.twoslash-completion-list li{overflow:hidden;display:flex;align-items:center;gap:.25em;line-height:1em}.twoslash-completion-list li span.twoslash-completions-unmatched{color:var(--twoslash-unmatched-color)}.twoslash-completion-list .deprecated{text-decoration:line-through;opacity:.5}.twoslash-completion-list li span.twoslash-completions-matched{color:var(--twoslash-matched-color)}.twoslash-highlighted{background-color:var(--twoslash-highlighted-bg);border:1px solid var(--twoslash-highlighted-border);padding:1px 2px;margin:-1px -3px;border-radius:4px}.twoslash-completion-list .twoslash-completions-icon{color:var(--twoslash-unmatched-color);width:1em;flex:none}.twoslash .twoslash-tag-line{position:relative;background-color:var(--twoslash-tag-bg);border-left:3px solid var(--twoslash-tag-color);color:var(--twoslash-tag-color);padding:6px 10px;margin:.2em 0;display:flex;align-items:center;gap:.3em;min-width:100%;width:max-content}.twoslash .twoslash-tag-line .twoslash-tag-icon{width:1.1em;color:inherit}.twoslash .twoslash-tag-line.twoslash-tag-error-line{background-color:var(--twoslash-error-bg);border-left:3px solid var(--twoslash-error-color);color:var(--twoslash-error-color)}.twoslash .twoslash-tag-line.twoslash-tag-warn-line{background-color:var(--twoslash-tag-warn-bg);border-left:3px solid var(--twoslash-tag-warn-color);color:var(--twoslash-tag-warn-color)}.twoslash .twoslash-tag-line.twoslash-tag-annotate-line{background-color:var(--twoslash-tag-annotate-bg);border-left:3px solid var(--twoslash-tag-annotate-color);color:var(--twoslash-tag-annotate-color)}:root{--twoslash-popup-bg: var(--vp-c-bg, inherit);--twoslash-popup-color: var(--vp-c-text-1);--twoslash-docs-color: var(--vp-c-text-1);--twoslash-docs-font: var(--vp-font-family-base);--twoslash-code-font: var(--vp-font-family-mono);--twoslash-code-size: var(--vp-code-font-size);--twoslash-underline-color: #8888;--twoslash-border-color: var(--vp-c-border);--twoslash-cursor-color: var(--vp-c-brand);--twoslash-matched-color: var(--vp-c-brand);--twoslash-unmatched-color: var(--vp-c-text-2)}.v-popper--theme-twoslash{z-index:calc(var(--vp-z-index-local-nav) - 1)}.v-popper--theme-twoslash .v-popper__inner{background:var(--twoslash-popup-bg);color:var(--twoslash-popup-color);border-color:var(--twoslash-border-color)}.v-popper--theme-twoslash .v-popper__arrow-outer{border-color:var(--twoslash-border-color)}.v-popper--theme-twoslash .v-popper__arrow-inner{border-color:var(--twoslash-popup-bg)}.twoslash-popup-container{transform:translateY(1.5em)}.twoslash-query-presisted .twoslash-popup-container{transform:translateY(1.8em)}.twoslash .v-popper{display:inline-block}.twoslash-completion-list .twoslash-completions-icon{color:var(--twoslash-unmatched-color)!important}.twoslash-floating .twoslash-popup-code{max-width:600px;display:block;width:fit-content;min-width:100%;padding:6px 12px;line-height:var(--vp-code-line-height);font-size:var(--twoslash-code-size);transition:color .5s;white-space:pre-wrap}.twoslash-floating .twoslash-popup-docs,.twoslash-floating .twoslash-popup-error{padding:0 12px!important;font-family:var(--twoslash-docs-font);font-size:.9em;max-height:500px;max-width:700px;overflow-y:auto;overflow-x:hidden;text-wrap:balance}.twoslash-floating .twoslash-popup-docs{border-top:1px solid var(--twoslash-border-color);color:var(--twoslash-docs-color)}.twoslash-floating .twoslash-popup-error{color:var(--twoslash-error-color)}.twoslash-floating .twoslash-popup-error.twoslash-error-level-warning{color:var(--twoslash-warn-color)}.twoslash-floating .twoslash-popup-docs p,.twoslash-floating .twoslash-popup-error p{margin:0;padding:6px 0;text-wrap:balance}.twoslash-floating .twoslash-popup-docs pre .twoslash-floating .twoslash-popup-error pre{background-color:var(--vp-code-block-bg);border-radius:8px;padding:12px;margin:6px -2px;overflow-x:auto}.twoslash-floating .twoslash-popup-docs-tags{display:flex;flex-direction:column;padding:8px 12px!important}.twoslash-floating .twoslash-popup-docs-tags .twoslash-popup-docs-tag-name{font-family:var(--twoslash-code-font);color:var(--twoslash-unmatched-color);margin-right:.5em}.twoslash-completion-cursor{height:1.2em;width:2px;margin-bottom:-.2em;background:var(--twoslash-cursor-color);display:inline-block;-webkit-user-select:none;user-select:none}.twoslash-floating.twoslash-completion .v-popper__arrow-container{display:none}.twoslash-floating.twoslash-completion .twoslash-completion-list{padding:6px;font-family:var(--twoslash-code-font);font-size:var(--twoslash-code-size)!important}.twoslash-floating.twoslash-completion .twoslash-completion-list li{padding:3px 0} diff --git a/08-serverless/assets/modules/shiki-BzAJ3tB6.js b/08-serverless/assets/modules/shiki-BzAJ3tB6.js new file mode 100644 index 0000000..64a7363 --- /dev/null +++ b/08-serverless/assets/modules/shiki-BzAJ3tB6.js @@ -0,0 +1 @@ +import{d as xe,p as Vt,a as Wt,n as jt,o as I,c as be,w as qt,r as ne,b as se,e as K,F as Gt,f as me,g as je,h as Oe,i as Re,j as Yt,k as ge,l as ht,m as ut,q as Xt,s as Ut,t as Le,u as Kt,v as Zt,x as Qt}from"./vue-uEYNCD1x.js";const Jt=["top","right","bottom","left"],qe=["start","end"],Ge=Jt.reduce((e,t)=>e.concat(t,t+"-"+qe[0],t+"-"+qe[1]),[]),re=Math.min,U=Math.max,eo={left:"right",right:"left",bottom:"top",top:"bottom"},to={start:"end",end:"start"};function Me(e,t,o){return U(e,re(t,o))}function Z(e,t){return typeof e=="function"?e(t):e}function B(e){return e.split("-")[0]}function L(e){return e.split("-")[1]}function ft(e){return e==="x"?"y":"x"}function De(e){return e==="y"?"height":"width"}function ce(e){return["top","bottom"].includes(B(e))?"y":"x"}function Fe(e){return ft(ce(e))}function mt(e,t,o){o===void 0&&(o=!1);const i=L(e),n=Fe(e),s=De(n);let r=n==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(r=ve(r)),[r,ve(r)]}function oo(e){const t=ve(e);return[we(e),t,we(t)]}function we(e){return e.replace(/start|end/g,t=>to[t])}function io(e,t,o){const i=["left","right"],n=["right","left"],s=["top","bottom"],r=["bottom","top"];switch(e){case"top":case"bottom":return o?t?n:i:t?i:n;case"left":case"right":return t?s:r;default:return[]}}function no(e,t,o,i){const n=L(e);let s=io(B(e),o==="start",i);return n&&(s=s.map(r=>r+"-"+n),t&&(s=s.concat(s.map(we)))),s}function ve(e){return e.replace(/left|right|bottom|top/g,t=>eo[t])}function so(e){return{top:0,right:0,bottom:0,left:0,...e}}function gt(e){return typeof e!="number"?so(e):{top:e,right:e,bottom:e,left:e}}function ee(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ye(e,t,o){let{reference:i,floating:n}=e;const s=ce(t),r=Fe(t),a=De(r),l=B(t),d=s==="y",f=i.x+i.width/2-n.width/2,c=i.y+i.height/2-n.height/2,u=i[a]/2-n[a]/2;let p;switch(l){case"top":p={x:f,y:i.y-n.height};break;case"bottom":p={x:f,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:c};break;case"left":p={x:i.x-n.width,y:c};break;default:p={x:i.x,y:i.y}}switch(L(t)){case"start":p[r]-=u*(o&&d?-1:1);break;case"end":p[r]+=u*(o&&d?-1:1);break}return p}const ro=async(e,t,o)=>{const{placement:i="bottom",strategy:n="absolute",middleware:s=[],platform:r}=o,a=s.filter(Boolean),l=await(r.isRTL==null?void 0:r.isRTL(t));let d=await r.getElementRects({reference:e,floating:t,strategy:n}),{x:f,y:c}=Ye(d,i,l),u=i,p={},h=0;for(let v=0;v({name:"arrow",options:e,async fn(t){const{x:o,y:i,placement:n,rects:s,platform:r,elements:a,middlewareData:l}=t,{element:d,padding:f=0}=Z(e,t)||{};if(d==null)return{};const c=gt(f),u={x:o,y:i},p=Fe(n),h=De(p),v=await r.getDimensions(d),y=p==="y",m=y?"top":"left",g=y?"bottom":"right",$=y?"clientHeight":"clientWidth",x=s.reference[h]+s.reference[p]-u[p]-s.floating[h],_=u[p]-s.reference[p],b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(d));let T=b?b[$]:0;(!T||!await(r.isElement==null?void 0:r.isElement(b)))&&(T=a.floating[$]||s.floating[h]);const O=x/2-_/2,N=T/2-v[h]/2-1,S=re(c[m],N),k=re(c[g],N),P=S,Y=T-v[h]-k,C=T/2-v[h]/2+O,H=Me(P,C,Y),E=!l.arrow&&L(n)!=null&&C!==H&&s.reference[h]/2-(CL(n)===e),...o.filter(n=>L(n)!==e)]:o.filter(n=>B(n)===n)).filter(n=>e?L(n)===e||(t?we(n)!==n:!1):!0)}const po=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,i,n;const{rects:s,middlewareData:r,placement:a,platform:l,elements:d}=t,{crossAxis:f=!1,alignment:c,allowedPlacements:u=Ge,autoAlignment:p=!0,...h}=Z(e,t),v=c!==void 0||u===Ge?lo(c||null,p,u):u,y=await Te(t,h),m=((o=r.autoPlacement)==null?void 0:o.index)||0,g=v[m];if(g==null)return{};const $=mt(g,s,await(l.isRTL==null?void 0:l.isRTL(d.floating)));if(a!==g)return{reset:{placement:v[0]}};const x=[y[B(g)],y[$[0]],y[$[1]]],_=[...((i=r.autoPlacement)==null?void 0:i.overflows)||[],{placement:g,overflows:x}],b=v[m+1];if(b)return{data:{index:m+1,overflows:_},reset:{placement:b}};const T=_.map(S=>{const k=L(S.placement);return[S.placement,k&&f?S.overflows.slice(0,2).reduce((P,Y)=>P+Y,0):S.overflows[0],S.overflows]}).sort((S,k)=>S[1]-k[1]),N=((n=T.filter(S=>S[2].slice(0,L(S[0])?2:3).every(k=>k<=0))[0])==null?void 0:n[0])||T[0][0];return N!==a?{data:{index:m+1,overflows:_},reset:{placement:N}}:{}}}},co=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,i;const{placement:n,middlewareData:s,rects:r,initialPlacement:a,platform:l,elements:d}=t,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:u,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...y}=Z(e,t);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const m=B(n),g=B(a)===a,$=await(l.isRTL==null?void 0:l.isRTL(d.floating)),x=u||(g||!v?[ve(a)]:oo(a));!u&&h!=="none"&&x.push(...no(a,v,h,$));const _=[a,...x],b=await Te(t,y),T=[];let O=((i=s.flip)==null?void 0:i.overflows)||[];if(f&&T.push(b[m]),c){const P=mt(n,r,$);T.push(b[P[0]],b[P[1]])}if(O=[...O,{placement:n,overflows:T}],!T.every(P=>P<=0)){var N,S;const P=(((N=s.flip)==null?void 0:N.index)||0)+1,Y=_[P];if(Y)return{data:{index:P,overflows:O},reset:{placement:Y}};let C=(S=O.filter(H=>H.overflows[0]<=0).sort((H,E)=>H.overflows[1]-E.overflows[1])[0])==null?void 0:S.placement;if(!C)switch(p){case"bestFit":{var k;const H=(k=O.map(E=>[E.placement,E.overflows.filter(F=>F>0).reduce((F,It)=>F+It,0)]).sort((E,F)=>E[1]-F[1])[0])==null?void 0:k[0];H&&(C=H);break}case"initialPlacement":C=a;break}if(n!==C)return{reset:{placement:C}}}return{}}}};async function ho(e,t){const{placement:o,platform:i,elements:n}=e,s=await(i.isRTL==null?void 0:i.isRTL(n.floating)),r=B(o),a=L(o),l=ce(o)==="y",d=["left","top"].includes(r)?-1:1,f=s&&l?-1:1,c=Z(t,e);let{mainAxis:u,crossAxis:p,alignmentAxis:h}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return a&&typeof h=="number"&&(p=a==="end"?h*-1:h),l?{x:p*f,y:u*d}:{x:u*d,y:p*f}}const uo=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,i;const{x:n,y:s,placement:r,middlewareData:a}=t,l=await ho(t,e);return r===((o=a.offset)==null?void 0:o.placement)&&(i=a.arrow)!=null&&i.alignmentOffset?{}:{x:n+l.x,y:s+l.y,data:{...l,placement:r}}}}},fo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:i,placement:n}=t,{mainAxis:s=!0,crossAxis:r=!1,limiter:a={fn:y=>{let{x:m,y:g}=y;return{x:m,y:g}}},...l}=Z(e,t),d={x:o,y:i},f=await Te(t,l),c=ce(B(n)),u=ft(c);let p=d[u],h=d[c];if(s){const y=u==="y"?"top":"left",m=u==="y"?"bottom":"right",g=p+f[y],$=p-f[m];p=Me(g,p,$)}if(r){const y=c==="y"?"top":"left",m=c==="y"?"bottom":"right",g=h+f[y],$=h-f[m];h=Me(g,h,$)}const v=a.fn({...t,[u]:p,[c]:h});return{...v,data:{x:v.x-o,y:v.y-i}}}}},mo=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:i,platform:n,elements:s}=t,{apply:r=()=>{},...a}=Z(e,t),l=await Te(t,a),d=B(o),f=L(o),c=ce(o)==="y",{width:u,height:p}=i.floating;let h,v;d==="top"||d==="bottom"?(h=d,v=f===(await(n.isRTL==null?void 0:n.isRTL(s.floating))?"start":"end")?"left":"right"):(v=d,h=f==="end"?"top":"bottom");const y=p-l[h],m=u-l[v],g=!t.middlewareData.shift;let $=y,x=m;if(c){const b=u-l.left-l.right;x=f||g?re(m,b):b}else{const b=p-l.top-l.bottom;$=f||g?re(y,b):b}if(g&&!f){const b=U(l.left,0),T=U(l.right,0),O=U(l.top,0),N=U(l.bottom,0);c?x=u-2*(b!==0||T!==0?b+T:U(l.left,l.right)):$=p-2*(O!==0||N!==0?O+N:U(l.top,l.bottom))}await r({...t,availableWidth:x,availableHeight:$});const _=await n.getDimensions(s.floating);return u!==_.width||p!==_.height?{reset:{rects:!0}}:{}}}};function A(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function R(e){return A(e).getComputedStyle(e)}const Xe=Math.min,te=Math.max,ye=Math.round;function wt(e){const t=R(e);let o=parseFloat(t.width),i=parseFloat(t.height);const n=e.offsetWidth,s=e.offsetHeight,r=ye(o)!==n||ye(i)!==s;return r&&(o=n,i=s),{width:o,height:i,fallback:r}}function j(e){return yt(e)?(e.nodeName||"").toLowerCase():""}let he;function vt(){if(he)return he;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(he=e.brands.map(t=>t.brand+"/"+t.version).join(" "),he):navigator.userAgent}function D(e){return e instanceof A(e).HTMLElement}function q(e){return e instanceof A(e).Element}function yt(e){return e instanceof A(e).Node}function Ue(e){if(typeof ShadowRoot>"u")return!1;const t=A(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Se(e){const{overflow:t,overflowX:o,overflowY:i,display:n}=R(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+o)&&!["inline","contents"].includes(n)}function go(e){return["table","td","th"].includes(j(e))}function Ie(e){const t=/firefox/i.test(vt()),o=R(e),i=o.backdropFilter||o.WebkitBackdropFilter;return o.transform!=="none"||o.perspective!=="none"||(i?i!=="none":!1)||t&&o.willChange==="filter"||t&&(o.filter?o.filter!=="none":!1)||["transform","perspective"].some(n=>o.willChange.includes(n))||["paint","layout","strict","content"].some(n=>{const s=o.contain;return s!=null?s.includes(n):!1})}function $t(){return!/^((?!chrome|android).)*safari/i.test(vt())}function Ve(e){return["html","body","#document"].includes(j(e))}function _t(e){return q(e)?e:e.contextElement}const xt={x:1,y:1};function Q(e){const t=_t(e);if(!D(t))return xt;const o=t.getBoundingClientRect(),{width:i,height:n,fallback:s}=wt(t);let r=(s?ye(o.width):o.width)/i,a=(s?ye(o.height):o.height)/n;return(!r||!Number.isFinite(r))&&(r=1),(!a||!Number.isFinite(a))&&(a=1),{x:r,y:a}}function ae(e,t,o,i){var n,s;t===void 0&&(t=!1),o===void 0&&(o=!1);const r=e.getBoundingClientRect(),a=_t(e);let l=xt;t&&(i?q(i)&&(l=Q(i)):l=Q(e));const d=a?A(a):window,f=!$t()&&o;let c=(r.left+(f&&((n=d.visualViewport)==null?void 0:n.offsetLeft)||0))/l.x,u=(r.top+(f&&((s=d.visualViewport)==null?void 0:s.offsetTop)||0))/l.y,p=r.width/l.x,h=r.height/l.y;if(a){const v=A(a),y=i&&q(i)?A(i):i;let m=v.frameElement;for(;m&&i&&y!==v;){const g=Q(m),$=m.getBoundingClientRect(),x=getComputedStyle(m);$.x+=(m.clientLeft+parseFloat(x.paddingLeft))*g.x,$.y+=(m.clientTop+parseFloat(x.paddingTop))*g.y,c*=g.x,u*=g.y,p*=g.x,h*=g.y,c+=$.x,u+=$.y,m=A(m).frameElement}}return{width:p,height:h,top:u,right:c+p,bottom:u+h,left:c,x:c,y:u}}function G(e){return((yt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Pe(e){return q(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function wo(e){let{rect:t,offsetParent:o,strategy:i}=e;const n=D(o),s=G(o);if(o===s)return t;let r={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((n||!n&&i!=="fixed")&&((j(o)!=="body"||Se(s))&&(r=Pe(o)),D(o))){const d=ae(o);a=Q(o),l.x=d.x+o.clientLeft,l.y=d.y+o.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-r.scrollLeft*a.x+l.x,y:t.y*a.y-r.scrollTop*a.y+l.y}}function bt(e){return ae(G(e)).left+Pe(e).scrollLeft}function vo(e){const t=G(e),o=Pe(e),i=e.ownerDocument.body,n=te(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=te(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let r=-o.scrollLeft+bt(e);const a=-o.scrollTop;return R(i).direction==="rtl"&&(r+=te(t.clientWidth,i.clientWidth)-n),{width:n,height:s,x:r,y:a}}function le(e){if(j(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ue(e)&&e.host||G(e);return Ue(t)?t.host:t}function Tt(e){const t=le(e);return Ve(t)?t.ownerDocument.body:D(t)&&Se(t)?t:Tt(t)}function $e(e,t){var o;t===void 0&&(t=[]);const i=Tt(e),n=i===((o=e.ownerDocument)==null?void 0:o.body),s=A(i);return n?t.concat(s,s.visualViewport||[],Se(i)?i:[]):t.concat(i,$e(i))}function yo(e,t){const o=A(e),i=G(e),n=o.visualViewport;let s=i.clientWidth,r=i.clientHeight,a=0,l=0;if(n){s=n.width,r=n.height;const d=$t();(d||!d&&t==="fixed")&&(a=n.offsetLeft,l=n.offsetTop)}return{width:s,height:r,x:a,y:l}}function $o(e,t){const o=ae(e,!0,t==="fixed"),i=o.top+e.clientTop,n=o.left+e.clientLeft,s=D(e)?Q(e):{x:1,y:1},r=e.clientWidth*s.x,a=e.clientHeight*s.y,l=n*s.x,d=i*s.y;return{width:r,height:a,x:l,y:d}}function Ke(e,t,o){return t==="viewport"?ee(yo(e,o)):q(t)?ee($o(t,o)):ee(vo(G(e)))}function _o(e,t){const o=t.get(e);if(o)return o;let i=$e(e).filter(a=>q(a)&&j(a)!=="body"),n=null;const s=R(e).position==="fixed";let r=s?le(e):e;for(;q(r)&&!Ve(r);){const a=R(r),l=Ie(r);(s?!l&&!n:!l&&a.position==="static"&&!!n&&["absolute","fixed"].includes(n.position))?i=i.filter(f=>f!==r):n=a,r=le(r)}return t.set(e,i),i}function xo(e){let{element:t,boundary:o,rootBoundary:i,strategy:n}=e;const r=[...o==="clippingAncestors"?_o(t,this._c):[].concat(o),i],a=r[0],l=r.reduce((d,f)=>{const c=Ke(t,f,n);return d.top=te(c.top,d.top),d.right=Xe(c.right,d.right),d.bottom=Xe(c.bottom,d.bottom),d.left=te(c.left,d.left),d},Ke(t,a,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function bo(e){return D(e)?wt(e):e.getBoundingClientRect()}function Ze(e){return!D(e)||R(e).position==="fixed"?null:e.offsetParent}function To(e){let t=le(e);for(;D(t)&&!Ve(t);){if(Ie(t))return t;t=le(t)}return null}function Qe(e){const t=A(e);let o=Ze(e);for(;o&&go(o)&&R(o).position==="static";)o=Ze(o);return o&&(j(o)==="html"||j(o)==="body"&&R(o).position==="static"&&!Ie(o))?t:o||To(e)||t}function So(e,t,o){const i=D(t),n=G(t),s=ae(e,!0,o==="fixed",t);let r={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(i||!i&&o!=="fixed")if((j(t)!=="body"||Se(n))&&(r=Pe(t)),D(t)){const l=ae(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else n&&(a.x=bt(n));return{x:s.left+r.scrollLeft-a.x,y:s.top+r.scrollTop-a.y,width:s.width,height:s.height}}const Po={getClippingRect:xo,convertOffsetParentRelativeRectToViewportRelativeRect:wo,isElement:q,getDimensions:bo,getOffsetParent:Qe,getDocumentElement:G,getScale:Q,async getElementRects(e){let{reference:t,floating:o,strategy:i}=e;const n=this.getOffsetParent||Qe,s=this.getDimensions;return{reference:So(t,await n(o),i),floating:{x:0,y:0,...await s(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>R(e).direction==="rtl"},Co=(e,t,o)=>{const i=new Map,n={platform:Po,...o},s={...n.platform,_c:i};return ro(e,t,{...n,platform:s})};function St(e,t){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(typeof t[o]=="object"&&e[o]?St(e[o],t[o]):e[o]=t[o])}const M={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function de(e,t){let o=M.themes[e]||{},i;do i=o[t],typeof i>"u"?o.$extend?o=M.themes[o.$extend]||{}:(o=null,i=M[t]):o=null;while(o);return i}function Ao(e){const t=[e];let o=M.themes[e]||{};do o.$extend&&!o.$resetCss?(t.push(o.$extend),o=M.themes[o.$extend]||{}):o=null;while(o);return t.map(i=>`v-popper--theme-${i}`)}function Je(e){const t=[e];let o=M.themes[e]||{};do o.$extend?(t.push(o.$extend),o=M.themes[o.$extend]||{}):o=null;while(o);return t}let J=!1;if(typeof window<"u"){J=!1;try{const e=Object.defineProperty({},"passive",{get(){J=!0}});window.addEventListener("test",null,e)}catch{}}let Pt=!1;typeof window<"u"&&typeof navigator<"u"&&(Pt=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Ct=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),et={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},tt={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function ot(e,t){const o=e.indexOf(t);o!==-1&&e.splice(o,1)}function Ne(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const z=[];let X=null;const it={};function nt(e){let t=it[e];return t||(t=it[e]=[]),t}let He=function(){};typeof window<"u"&&(He=window.Element);function w(e){return function(t){return de(t.theme,e)}}const ke="__floating-vue__popper",At=()=>xe({name:"VPopper",provide(){return{[ke]:{parentPopper:this}}},inject:{[ke]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:w("disabled")},positioningDisabled:{type:Boolean,default:w("positioningDisabled")},placement:{type:String,default:w("placement"),validator:e=>Ct.includes(e)},delay:{type:[String,Number,Object],default:w("delay")},distance:{type:[Number,String],default:w("distance")},skidding:{type:[Number,String],default:w("skidding")},triggers:{type:Array,default:w("triggers")},showTriggers:{type:[Array,Function],default:w("showTriggers")},hideTriggers:{type:[Array,Function],default:w("hideTriggers")},popperTriggers:{type:Array,default:w("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:w("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:w("popperHideTriggers")},container:{type:[String,Object,He,Boolean],default:w("container")},boundary:{type:[String,He],default:w("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:w("strategy")},autoHide:{type:[Boolean,Function],default:w("autoHide")},handleResize:{type:Boolean,default:w("handleResize")},instantMove:{type:Boolean,default:w("instantMove")},eagerMount:{type:Boolean,default:w("eagerMount")},popperClass:{type:[String,Array,Object],default:w("popperClass")},computeTransformOrigin:{type:Boolean,default:w("computeTransformOrigin")},autoMinSize:{type:Boolean,default:w("autoMinSize")},autoSize:{type:[Boolean,String],default:w("autoSize")},autoMaxSize:{type:Boolean,default:w("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:w("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:w("preventOverflow")},overflowPadding:{type:[Number,String],default:w("overflowPadding")},arrowPadding:{type:[Number,String],default:w("arrowPadding")},arrowOverflow:{type:Boolean,default:w("arrowOverflow")},flip:{type:Boolean,default:w("flip")},shift:{type:Boolean,default:w("shift")},shiftCrossAxis:{type:Boolean,default:w("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:w("noAutoFocus")},disposeTimeout:{type:Number,default:w("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[ke])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:o=!1}={}){var i,n;(i=this.parentPopper)!=null&&i.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(o||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var o;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(uo({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(po({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(fo({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(co({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(ao({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:i,rects:n,middlewareData:s})=>{let r;const{centerOffset:a}=s.arrow;return i.startsWith("top")||i.startsWith("bottom")?r=Math.abs(a)>n.reference.width/2:r=Math.abs(a)>n.reference.height/2,{data:{overflow:r}}}}),this.autoMinSize||this.autoSize){const i=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:n,placement:s,middlewareData:r})=>{var a;if((a=r.autoSize)!=null&&a.skip)return{};let l,d;return s.startsWith("top")||s.startsWith("bottom")?l=n.reference.width:d=n.reference.height,this.$_innerNode.style[i==="min"?"minWidth":i==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[i==="min"?"minHeight":i==="max"?"maxHeight":"height"]=d!=null?`${d}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(mo({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:i,availableHeight:n})=>{this.$_innerNode.style.maxWidth=i!=null?`${i}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const o=await Co(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:{...o.middlewareData.arrow,...o.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),X&&this.instantMove&&X.instantMove&&X!==this.parentPopper){X.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(X=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Ne(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...$e(this.$_referenceNode),...$e(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),o=this.$_popperNode.querySelector(".v-popper__wrapper"),i=o.parentNode.getBoundingClientRect(),n=t.x+t.width/2-(i.left+o.offsetLeft),s=t.y+t.height/2-(i.top+o.offsetTop);this.result.transformOrigin=`${n}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let o=0;o0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,ot(z,this),z.length===0&&document.body.classList.remove("v-popper--some-open");for(const o of Je(this.theme)){const i=nt(o);ot(i,this),i.length===0&&document.body.classList.remove(`v-popper--some-open--${o}`)}X===this&&(X=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Ne(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=o=>{this.isShown&&!this.$_hideInProgress||(o.usedByTooltip=!0,!this.$_preventShow&&this.show({event:o}))};this.$_registerTriggerListeners(this.$_targetNodes,et,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],et,this.popperTriggers,this.popperShowTriggers,e);const t=o=>{o.usedByTooltip||this.hide({event:o})};this.$_registerTriggerListeners(this.$_targetNodes,tt,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],tt,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,o){this.$_events.push({targetNodes:e,eventType:t,handler:o}),e.forEach(i=>i.addEventListener(t,o,J?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,o,i,n){let s=o;i!=null&&(s=typeof i=="function"?i(s):i),s.forEach(r=>{const a=t[r];a&&this.$_registerEventListeners(e,a,n)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(o=>{const{targetNodes:i,eventType:n,handler:s}=o;!e||e===n?i.forEach(r=>r.removeEventListener(n,s)):t.push(o)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const o of this.$_targetNodes){const i=o.getAttribute(e);i&&(o.removeAttribute(e),o.setAttribute(t,i))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const o in e){const i=e[o];i==null?t.removeAttribute(o):t.setAttribute(o,i)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(oe>=e.left&&oe<=e.right&&ie>=e.top&&ie<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),o=oe-V,i=ie-W,n=t.left+t.width/2-V+(t.top+t.height/2)-W+t.width+t.height,s=V+o*n,r=W+i*n;return ue(V,W,s,r,t.left,t.top,t.left,t.bottom)||ue(V,W,s,r,t.left,t.top,t.right,t.top)||ue(V,W,s,r,t.right,t.top,t.right,t.bottom)||ue(V,W,s,r,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Pt){const e=J?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>st(t,!0),e),document.addEventListener("touchend",t=>rt(t,!0),e)}else window.addEventListener("mousedown",e=>st(e,!1),!0),window.addEventListener("click",e=>rt(e,!1),!0);window.addEventListener("resize",Nt)}function st(e,t){if(M.autoHideOnMousedown)Ot(e,t);else for(let o=0;o=0;i--){const n=z[i];try{const s=n.containsGlobalTarget=n.mouseDownContains||n.popperNode().contains(e.target);n.pendingHide=!1,requestAnimationFrame(()=>{if(n.pendingHide=!1,!o[n.randomId]&&at(n,s,e)){if(n.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&s){let a=n.parentPopper;for(;a;)o[a.randomId]=!0,a=a.parentPopper;return}let r=n.parentPopper;for(;r&&at(r,r.containsGlobalTarget,e);)r.$_handleGlobalClose(e,t),r=r.parentPopper}})}catch{}}}function at(e,t,o){return o.closeAllPopover||o.closePopover&&t||Oo(e,o)&&!t}function Oo(e,t){if(typeof e.autoHide=="function"){const o=e.autoHide(t);return e.lastAutoHide=o,o}return e.autoHide}function Nt(){for(let e=0;e{V=oe,W=ie,oe=e.clientX,ie=e.clientY},J?{passive:!0}:void 0);function ue(e,t,o,i,n,s,r,a){const l=((r-n)*(t-s)-(a-s)*(e-n))/((a-s)*(o-e)-(r-n)*(i-t)),d=((o-e)*(t-s)-(i-t)*(e-n))/((a-s)*(o-e)-(r-n)*(i-t));return l>=0&&l<=1&&d>=0&&d<=1}const No={extends:At()},Ce=(e,t)=>{const o=e.__vccOpts||e;for(const[i,n]of t)o[i]=n;return o};function ko(e,t,o,i,n,s){return I(),se("div",{ref:"reference",class:Re(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[me(e.$slots,"default",Xt(Ut(e.slotData)))],2)}const zo=Ce(No,[["render",ko]]);function Lo(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var o=e.indexOf("Trident/");if(o>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}let fe;function Ee(){Ee.init||(Ee.init=!0,fe=Lo()!==-1)}var Ae={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Ee(),jt(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",fe&&this.$el.appendChild(e),e.data="about:blank",fe||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!fe&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Mo=qt();Vt("data-v-b329ee4c");const Ho={class:"resize-observer",tabindex:"-1"};Wt();const Eo=Mo((e,t,o,i,n,s)=>(I(),be("div",Ho)));Ae.render=Eo;Ae.__scopeId="data-v-b329ee4c";Ae.__file="src/components/ResizeObserver.vue";const kt=(e="theme")=>({computed:{themeClass(){return Ao(this[e])}}}),Bo=xe({name:"VPopperContent",components:{ResizeObserver:Ae},mixins:[kt()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Ro=["id","aria-hidden","tabindex","data-popper-placement"],Do={ref:"inner",class:"v-popper__inner"},Fo=K("div",{class:"v-popper__arrow-outer"},null,-1),Io=K("div",{class:"v-popper__arrow-inner"},null,-1),Vo=[Fo,Io];function Wo(e,t,o,i,n,s){const r=ne("ResizeObserver");return I(),se("div",{id:e.popperId,ref:"popover",class:Re(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:Oe(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Yt(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[K("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),K("div",{class:"v-popper__wrapper",style:Oe(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[K("div",Do,[e.mounted?(I(),se(Gt,{key:0},[K("div",null,[me(e.$slots,"default")]),e.handleResize?(I(),be(r,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):je("",!0)],64)):je("",!0)],512),K("div",{ref:"arrow",class:"v-popper__arrow-container",style:Oe(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Vo,4)],4)],46,Ro)}const zt=Ce(Bo,[["render",Wo]]),Lt={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Be=function(){};typeof window<"u"&&(Be=window.Element);const jo=xe({name:"VPopperWrapper",components:{Popper:zo,PopperContent:zt},mixins:[Lt,kt("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Be,Boolean],default:void 0},boundary:{type:[String,Be],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function qo(e,t,o,i,n,s){const r=ne("PopperContent"),a=ne("Popper");return I(),be(a,ut({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:ge(({popperId:l,isShown:d,shouldMountContent:f,skipTransition:c,autoHide:u,show:p,hide:h,handleResize:v,onResize:y,classes:m,result:g})=>[me(e.$slots,"default",{shown:d,show:p,hide:h}),ht(r,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:d,mounted:f,"skip-transition":c,"auto-hide":u,"handle-resize":v,classes:m,result:g,onHide:h,onResize:y},{default:ge(()=>[me(e.$slots,"popper",{shown:d,hide:h})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const We=Ce(jo,[["render",qo]]),Go={...We,name:"VDropdown",vPopperTheme:"dropdown"},Mt={...We,name:"VMenu",vPopperTheme:"menu"},Yo={...We,name:"VTooltip",vPopperTheme:"tooltip"},Xo=xe({name:"VTooltipDirective",components:{Popper:At(),PopperContent:zt},mixins:[Lt],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>de(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>de(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,o=this.content(this);o.then?o.then(i=>this.onResult(t,i)):this.onResult(t,o)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),Uo=["innerHTML"],Ko=["textContent"];function Zo(e,t,o,i,n,s){const r=ne("PopperContent"),a=ne("Popper");return I(),be(a,ut({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:ge(({popperId:l,isShown:d,shouldMountContent:f,skipTransition:c,autoHide:u,hide:p,handleResize:h,onResize:v,classes:y,result:m})=>[ht(r,{ref:"popperContent",class:Re({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:d,mounted:f,"skip-transition":c,"auto-hide":u,"handle-resize":h,classes:y,result:m,onHide:p,onResize:v},{default:ge(()=>[e.html?(I(),se("div",{key:0,innerHTML:e.finalContent},null,8,Uo)):(I(),se("div",{key:1,textContent:Qt(e.finalContent)},null,8,Ko))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const Qo=Ce(Xo,[["render",Zo]]),Ht="v-popper--has-tooltip";function Jo(e,t){let o=e.placement;if(!o&&t)for(const i of Ct)t[i]&&(o=i);return o||(o=de(e.theme||"tooltip","placement")),o}function Et(e,t,o){let i;const n=typeof t;return n==="string"?i={content:t}:t&&n==="object"?i=t:i={content:!1},i.placement=Jo(i,o),i.targetNodes=()=>[e],i.referenceNode=()=>e,i}let ze,pe,ei=0;function ti(){if(ze)return;pe=Le([]),ze=Kt({name:"VTooltipDirectiveApp",setup(){return{directives:pe}},render(){return this.directives.map(t=>Zt(Qo,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ze.mount(e)}function oi(e,t,o){ti();const i=Le(Et(e,t,o)),n=Le(!1),s={id:ei++,options:i,shown:n};return pe.value.push(s),e.classList&&e.classList.add(Ht),e.$_popper={options:i,item:s,show(){n.value=!0},hide(){n.value=!1}}}function Bt(e){if(e.$_popper){const t=pe.value.indexOf(e.$_popper.item);t!==-1&&pe.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Ht)}function lt(e,{value:t,modifiers:o}){const i=Et(e,t,o);if(!i.content||de(i.theme||"tooltip","disabled"))Bt(e);else{let n;e.$_popper?(n=e.$_popper,n.options.value=i):n=oi(e,t,o),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?n.show():n.hide())}}const ii={beforeMount:lt,updated:lt,beforeUnmount(e){Bt(e)}};function dt(e){e.addEventListener("mousedown",_e),e.addEventListener("click",_e),e.addEventListener("touchstart",Rt,J?{passive:!0}:!1)}function pt(e){e.removeEventListener("mousedown",_e),e.removeEventListener("click",_e),e.removeEventListener("touchstart",Rt),e.removeEventListener("touchend",Dt),e.removeEventListener("touchcancel",Ft)}function _e(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Rt(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const o=e.changedTouches[0];t.$_vclosepopover_touchPoint=o,t.addEventListener("touchend",Dt),t.addEventListener("touchcancel",Ft)}}function Dt(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const o=e.changedTouches[0],i=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(o.screenY-i.screenY)<20&&Math.abs(o.screenX-i.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Ft(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const ni={beforeMount(e,{value:t,modifiers:o}){e.$_closePopoverModifiers=o,(typeof t>"u"||t)&&dt(e)},updated(e,{value:t,oldValue:o,modifiers:i}){e.$_closePopoverModifiers=i,t!==o&&(typeof t>"u"||t?dt(e):pt(e))},beforeUnmount(e){pt(e)}},li=Mt;function si(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,St(M,t),e.directive("tooltip",ii),e.directive("close-popper",ni),e.component("VTooltip",Yo),e.component("VDropdown",Go),e.component("VMenu",Mt))}const ri={version:"5.2.2",install:si,options:M},ct=typeof navigator<"u"&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),di={install:(e,t={})=>{typeof window<"u"&&window.addEventListener("click",o=>{o.composedPath().some(n=>{var s,r,a,l;return((r=(s=n==null?void 0:n.classList)==null?void 0:s.contains)==null?void 0:r.call(s,"vp-code-group"))||((l=(a=n==null?void 0:n.classList)==null?void 0:a.contains)==null?void 0:l.call(a,"tabs"))})&&Nt()},{passive:!0}),e.use(ri,{...t,themes:{twoslash:{$extend:"dropdown",triggers:ct?["touch"]:["hover","touch"],popperTriggers:ct?["touch"]:["hover","touch"],placement:"bottom-start",overflowPadding:10,delay:0,handleResize:!1,autoHide:!0,instantMove:!0,flip:!1,arrowPadding:8,autoBoundaryMaxSize:!0},"twoslash-query":{$extend:"twoslash",triggers:["click"],popperTriggers:["click"],autoHide:!1},"twoslash-completion":{$extend:"twoslash-query",triggers:["click"],popperTriggers:["click"],autoHide:!1,distance:0,arrowOverflow:!0},...t.theme}})}};export{li as L,di as T,Nt as t}; diff --git a/08-serverless/assets/modules/unplugin-icons-BJo5e7Wi.js b/08-serverless/assets/modules/unplugin-icons-BJo5e7Wi.js new file mode 100644 index 0000000..d4ed572 --- /dev/null +++ b/08-serverless/assets/modules/unplugin-icons-BJo5e7Wi.js @@ -0,0 +1 @@ +import{o as e,b as o,e as n}from"./vue-uEYNCD1x.js";const s={class:"slidev-icon",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},l=n("path",{fill:"currentColor",d:"M200 32h-36.26a47.92 47.92 0 0 0-71.48 0H56a16 16 0 0 0-16 16v168a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16m-72 0a32 32 0 0 1 32 32H96a32 32 0 0 1 32-32m72 184H56V48h26.75A47.93 47.93 0 0 0 80 64v8a8 8 0 0 0 8 8h80a8 8 0 0 0 8-8v-8a47.93 47.93 0 0 0-2.75-16H200Z"},null,-1),_=[l];function i(t,c){return e(),o("svg",s,[..._])}const Bn={name:"ph-clipboard",render:i},h={class:"slidev-icon",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},r=n("path",{fill:"currentColor",d:"M173.66 98.34a8 8 0 0 1 0 11.32l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 0M232 128A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104m-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88"},null,-1),a=[r];function d(t,c){return e(),o("svg",h,[...a])}const Vn={name:"ph-check-circle",render:d},u={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},v=n("path",{fill:"currentColor",d:"M16 8h14v2H16zm0 14h14v2H16zm-6-8H4a2.002 2.002 0 0 1-2-2V6a2.002 2.002 0 0 1 2-2h6a2.002 2.002 0 0 1 2 2v6a2.002 2.002 0 0 1-2 2M4 6v6h6.001L10 6zm6 22H4a2.002 2.002 0 0 1-2-2v-6a2.002 2.002 0 0 1 2-2h6a2.002 2.002 0 0 1 2 2v6a2.002 2.002 0 0 1-2 2m-6-8v6h6.001L10 20z"},null,-1),m=[v];function $(t,c){return e(),o("svg",u,[...m])}const bn={name:"carbon-list-boxes",render:$},p={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},g=n("path",{fill:"currentColor",d:"M26 2H8a2 2 0 0 0-2 2v4H4v2h2v5H4v2h2v5H4v2h2v4a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2m0 26H8v-4h2v-2H8v-5h2v-2H8v-5h2V8H8V4h18Z"},null,-1),f=n("path",{fill:"currentColor",d:"M14 8h8v2h-8zm0 7h8v2h-8zm0 7h8v2h-8z"},null,-1),L=[g,f];function w(t,c){return e(),o("svg",p,[...L])}const Zn={name:"carbon-catalog",render:w},x={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},M=n("path",{fill:"currentColor",d:"M29.415 19L27.7 17.285A2.97 2.97 0 0 0 28 16a3 3 0 1 0-3 3a2.97 2.97 0 0 0 1.286-.3L28 20.414V28h-6v-3a7.008 7.008 0 0 0-7-7H9a7.008 7.008 0 0 0-7 7v5h28v-9.586A1.988 1.988 0 0 0 29.415 19M4 25a5.006 5.006 0 0 1 5-5h6a5.006 5.006 0 0 1 5 5v3H4Z"},null,-1),z=n("path",{fill:"currentColor",d:"M12 4a5 5 0 1 1-5 5a5 5 0 0 1 5-5m0-2a7 7 0 1 0 7 7a7 7 0 0 0-7-7"},null,-1),H=[M,z];function C(t,c){return e(),o("svg",x,[...H])}const An={name:"carbon-user-speaker",render:C},B={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},V=n("path",{fill:"currentColor",d:"M15 10h2v8h-2zm5 4h2v4h-2zm-10-2h2v6h-2z"},null,-1),b=n("path",{fill:"currentColor",d:"M25 4h-8V2h-2v2H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8v6h-4v2h10v-2h-4v-6h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 16H7V6h18Z"},null,-1),Z=[V,b];function A(t,c){return e(),o("svg",B,[...Z])}const kn={name:"carbon-presentation-file",render:A},k={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},y=n("path",{fill:"currentColor",d:"M27.307 6.107L30 3.414L28.586 2l-2.693 2.693L24.8 3.6a1.933 1.933 0 0 0-2.8 0l-18 18V28h6.4l18-18a1.933 1.933 0 0 0 0-2.8ZM9.6 26H6v-3.6L23.4 5L27 8.6ZM9 11.586L16.586 4L18 5.414L10.414 13z"},null,-1),j=[y];function D(t,c){return e(),o("svg",k,[...j])}const yn={name:"carbon-pen",render:D},E={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},q=n("path",{fill:"currentColor",d:"m20.17 19l-2.59 2.59L19 23l4-4l-4-4l-1.42 1.41zm-8.34 0l2.59-2.59L13 15l-4 4l4 4l1.42-1.41z"},null,-1),F=n("circle",{cx:"9",cy:"8",r:"1",fill:"currentColor"},null,-1),I=n("circle",{cx:"6",cy:"8",r:"1",fill:"currentColor"},null,-1),N=n("path",{fill:"currentColor",d:"M28 4H4c-1.103 0-2 .898-2 2v20c0 1.103.897 2 2 2h24c1.103 0 2-.897 2-2V6c0-1.102-.897-2-2-2m0 2v4H4V6zM4 26V12h24v14z"},null,-1),S=[q,F,I,N];function G(t,c){return e(),o("svg",E,[...S])}const jn={name:"carbon-cics-program",render:G},J={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},K=n("path",{fill:"currentColor",d:"M16 12.005a4 4 0 1 1-4 4a4.005 4.005 0 0 1 4-4m0-2a6 6 0 1 0 6 6a6 6 0 0 0-6-6M5.394 6.813L6.81 5.399l3.505 3.506L8.9 10.319zM2 15.005h5v2H2zm3.394 10.193L8.9 21.692l1.414 1.414l-3.505 3.506zM15 25.005h2v5h-2zm6.687-1.9l1.414-1.414l3.506 3.506l-1.414 1.414zm3.313-8.1h5v2h-5zm-3.313-6.101l3.506-3.506l1.414 1.414l-3.506 3.506zM15 2.005h2v5h-2z"},null,-1),O=[K];function U(t,c){return e(),o("svg",J,[...O])}const Dn={name:"carbon-sun",render:U},P={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Q=n("path",{fill:"currentColor",d:"M13.503 5.414a15.076 15.076 0 0 0 11.593 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3"},null,-1),R=[Q];function T(t,c){return e(),o("svg",P,[...R])}const En={name:"carbon-moon",render:T},W={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},X=n("path",{fill:"currentColor",d:"M23 28a1 1 0 0 1-.71-.29l-6.13-6.14l-3.33 5a1 1 0 0 1-1 .44a1 1 0 0 1-.81-.7l-6-20A1 1 0 0 1 6.29 5l20 6a1 1 0 0 1 .7.81a1 1 0 0 1-.44 1l-5 3.33l6.14 6.13a1 1 0 0 1 0 1.42l-4 4A1 1 0 0 1 23 28m0-2.41L25.59 23l-7.16-7.15l5.25-3.5L7.49 7.49l4.86 16.19l3.5-5.25Z"},null,-1),Y=[X];function n1(t,c){return e(),o("svg",W,[...Y])}const qn={name:"carbon-cursor1",render:n1},e1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},o1=n("path",{fill:"currentColor",d:"M8 12h10v2H8z"},null,-1),t1=n("path",{fill:"currentColor",d:"M21.448 20A10.856 10.856 0 0 0 24 13a11 11 0 1 0-11 11a10.856 10.856 0 0 0 7-2.552L27.586 29L29 27.586ZM13 22a9 9 0 1 1 9-9a9.01 9.01 0 0 1-9 9"},null,-1),c1=[o1,t1];function s1(t,c){return e(),o("svg",e1,[...c1])}const Fn={name:"carbon-zoom-out",render:s1},l1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},_1=n("path",{fill:"currentColor",d:"M18 12h-4V8h-2v4H8v2h4v4h2v-4h4z"},null,-1),i1=n("path",{fill:"currentColor",d:"M21.448 20A10.856 10.856 0 0 0 24 13a11 11 0 1 0-11 11a10.856 10.856 0 0 0 7-2.552L27.586 29L29 27.586ZM13 22a9 9 0 1 1 9-9a9.01 9.01 0 0 1-9 9"},null,-1),h1=[_1,i1];function r1(t,c){return e(),o("svg",l1,[...h1])}const In={name:"carbon-zoom-in",render:r1},a1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},d1=n("path",{fill:"currentColor",d:"M20 2v2h6.586L18 12.582L19.414 14L28 5.414V12h2V2zm-6 17.416L12.592 18L4 26.586V20H2v10h10v-2H5.414z"},null,-1),u1=[d1];function v1(t,c){return e(),o("svg",a1,[...u1])}const Nn={name:"carbon-maximize",render:v1},m1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},$1=n("path",{fill:"currentColor",d:"M4 18v2h6.586L2 28.582L3.414 30L12 21.414V28h2V18zM30 3.416L28.592 2L20 10.586V4h-2v10h10v-2h-6.586z"},null,-1),p1=[$1];function g1(t,c){return e(),o("svg",m1,[...p1])}const Sn={name:"carbon-minimize",render:g1},f1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},L1=n("path",{fill:"currentColor",d:"M12 10H6.78A11 11 0 0 1 27 16h2A13 13 0 0 0 6 7.68V4H4v8h8zm8 12h5.22A11 11 0 0 1 5 16H3a13 13 0 0 0 23 8.32V28h2v-8h-8z"},null,-1),w1=[L1];function x1(t,c){return e(),o("svg",f1,[...w1])}const Gn={name:"carbon-renew",render:x1},M1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},z1=n("path",{fill:"currentColor",d:"M16 30a14 14 0 1 1 14-14a14 14 0 0 1-14 14m0-26a12 12 0 1 0 12 12A12 12 0 0 0 16 4"},null,-1),H1=n("path",{fill:"currentColor",d:"M20.59 22L15 16.41V7h2v8.58l5 5.01z"},null,-1),C1=[z1,H1];function B1(t,c){return e(),o("svg",M1,[...C1])}const Jn={name:"carbon-time",render:B1},V1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},b1=n("path",{fill:"currentColor",d:"m14 26l1.41-1.41L7.83 17H28v-2H7.83l7.58-7.59L14 6L4 16z"},null,-1),Z1=[b1];function A1(t,c){return e(),o("svg",V1,[...Z1])}const Kn={name:"carbon-arrow-left",render:A1},k1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},y1=n("path",{fill:"currentColor",d:"m18 6l-1.43 1.393L24.15 15H4v2h20.15l-7.58 7.573L18 26l10-10z"},null,-1),j1=[y1];function D1(t,c){return e(),o("svg",k1,[...j1])}const On={name:"carbon-arrow-right",render:D1},E1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},q1=n("path",{fill:"currentColor",d:"M16 4L6 14l1.41 1.41L15 7.83V28h2V7.83l7.59 7.58L26 14z"},null,-1),F1=[q1];function I1(t,c){return e(),o("svg",E1,[...F1])}const Un={name:"carbon-arrow-up",render:I1},N1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},S1=n("path",{fill:"currentColor",d:"M24.59 16.59L17 24.17V4h-2v20.17l-7.59-7.58L6 18l10 10l10-10z"},null,-1),G1=[S1];function J1(t,c){return e(),o("svg",N1,[...G1])}const Pn={name:"carbon-arrow-down",render:J1},K1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},O1=n("path",{d:"M29.537 13.76l-3.297-3.297a1.586 1.586 0 0 0-2.24 0L10 24.467V30h5.533l14.004-14a1.586 1.586 0 0 0 0-2.24zM14.704 28H12v-2.704l9.44-9.441l2.705 2.704zM25.56 17.145l-2.704-2.704l2.267-2.267l2.704 2.704z",fill:"currentColor"},null,-1),U1=n("path",{d:"M11 17h2v-7h3V8H8v2h3v7z",fill:"currentColor"},null,-1),P1=n("path",{d:"M8 20H4V4h16v4h2V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4z",fill:"currentColor"},null,-1),Q1=[O1,U1,P1];function R1(t,c){return e(),o("svg",K1,[...Q1])}const Qn={name:"carbon-text-annotation-toggle",render:R1},T1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},W1=n("path",{fill:"currentColor",d:"M8 4v4H4V4Zm2-2H2v8h8Zm8 2v4h-4V4Zm2-2h-8v8h8Zm8 2v4h-4V4Zm2-2h-8v8h8ZM8 14v4H4v-4Zm2-2H2v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8ZM8 24v4H4v-4Zm2-2H2v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8Z"},null,-1),X1=[W1];function Y1(t,c){return e(),o("svg",T1,[...X1])}const Rn={name:"carbon-apps",render:Y1},n2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},e2=n("path",{fill:"currentColor",d:"M30 8h-4.1c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2v2h14.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30zm-9 4c-1.7 0-3-1.3-3-3s1.3-3 3-3s3 1.3 3 3s-1.3 3-3 3M2 24h4.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30v-2H15.9c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2zm9-4c1.7 0 3 1.3 3 3s-1.3 3-3 3s-3-1.3-3-3s1.3-3 3-3"},null,-1),o2=[e2];function t2(t,c){return e(),o("svg",n2,[...o2])}const Tn={name:"carbon-settings-adjust",render:t2},c2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},s2=n("path",{fill:"currentColor",d:"M17 22v-8h-4v2h2v6h-3v2h8v-2zM16 8a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 16 8"},null,-1),l2=n("path",{fill:"currentColor",d:"M16 30a14 14 0 1 1 14-14a14 14 0 0 1-14 14m0-26a12 12 0 1 0 12 12A12 12 0 0 0 16 4"},null,-1),_2=[s2,l2];function i2(t,c){return e(),o("svg",c2,[..._2])}const Wn={name:"carbon-information",render:i2},h2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},r2=n("path",{fill:"currentColor",d:"M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10z"},null,-1),a2=[r2];function d2(t,c){return e(),o("svg",h2,[...a2])}const Xn={name:"carbon-download",render:d2},u2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},v2=n("path",{fill:"currentColor",d:"M26 6v4H6V6zm0-2H6a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2M10 16v10H6V16zm0-2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V16a2 2 0 0 0-2-2m16 2v10H16V16zm0-2H16a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V16a2 2 0 0 0-2-2"},null,-1),m2=[v2];function $2(t,c){return e(),o("svg",u2,[...m2])}const Yn={name:"carbon-template",render:$2},p2={class:"slidev-icon",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},g2=n("g",{fill:"currentColor"},[n("path",{d:"M213.66 201L201 213.66a8 8 0 0 1-11.31 0l-51.31-51.31a8 8 0 0 0-13 2.46l-17.82 46.41a8 8 0 0 1-14.85-.71L40.41 50.44a8 8 0 0 1 10-10l160.1 52.24a8 8 0 0 1 .71 14.85l-46.41 17.82a8 8 0 0 0-2.46 13l51.31 51.31a8 8 0 0 1 0 11.34",opacity:".2"}),n("path",{d:"M168 132.69L214.08 115l.33-.13a16 16 0 0 0-1.41-29.8L52.92 32.8A15.95 15.95 0 0 0 32.8 52.92L85.07 213a15.82 15.82 0 0 0 14.41 11h.78a15.84 15.84 0 0 0 14.61-9.59l.13-.33L132.69 168L184 219.31a16 16 0 0 0 22.63 0l12.68-12.68a16 16 0 0 0 0-22.63ZM195.31 208L144 156.69a16 16 0 0 0-26 4.93c0 .11-.09.22-.13.32l-17.65 46L48 48l159.85 52.2l-45.95 17.64l-.32.13a16 16 0 0 0-4.93 26L208 195.31Z"})],-1),f2=[g2];function L2(t,c){return e(),o("svg",p2,[...f2])}const ne={name:"ph-cursor-duotone",render:L2},w2={class:"slidev-icon",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},x2=n("path",{fill:"currentColor",d:"m220.49 207.8l-12.69 12.69a12 12 0 0 1-17 0l-56.57-56.57L115 214.08l-.13.33a15.84 15.84 0 0 1-14.61 9.59h-.78a15.82 15.82 0 0 1-14.41-11L32.8 52.92A15.95 15.95 0 0 1 52.92 32.8L213 85.07a16 16 0 0 1 1.41 29.8l-.33.13l-50.16 19.27l56.57 56.56a12 12 0 0 1 0 16.97"},null,-1),M2=[x2];function z2(t,c){return e(),o("svg",w2,[...M2])}const ee={name:"ph-cursor-fill",render:z2},H2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},C2=n("path",{fill:"currentColor",d:"m13 24l-9-9l1.414-1.414L13 21.171L26.586 7.586L28 9z"},null,-1),B2=[C2];function V2(t,c){return e(),o("svg",H2,[...B2])}const oe={name:"carbon-checkmark",render:V2},b2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Z2=n("path",{fill:"currentColor",d:"M17.414 16L24 9.414L22.586 8L16 14.586L9.414 8L8 9.414L14.586 16L8 22.586L9.414 24L16 17.414L22.586 24L24 22.586z"},null,-1),A2=[Z2];function k2(t,c){return e(),o("svg",b2,[...A2])}const te={name:"carbon-close",render:k2},y2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},j2=n("path",{fill:"currentColor",d:"M16 2C8.2 2 2 8.2 2 16s6.2 14 14 14s14-6.2 14-14S23.8 2 16 2m0 26C9.4 28 4 22.6 4 16S9.4 4 16 4s12 5.4 12 12s-5.4 12-12 12"},null,-1),D2=n("path",{fill:"currentColor",d:"M21.4 23L16 17.6L10.6 23L9 21.4l5.4-5.4L9 10.6L10.6 9l5.4 5.4L21.4 9l1.6 1.6l-5.4 5.4l5.4 5.4z"},null,-1),E2=[j2,D2];function q2(t,c){return e(),o("svg",y2,[...E2])}const ce={name:"carbon-close-outline",render:q2},F2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},I2=n("path",{fill:"currentColor",d:"M2 16A14 14 0 1 0 16 2A14 14 0 0 0 2 16m23.15 7.75L8.25 6.85a12 12 0 0 1 16.9 16.9M8.24 25.16a12 12 0 0 1-1.4-16.89l16.89 16.89a12 12 0 0 1-15.49 0"},null,-1),N2=[I2];function S2(t,c){return e(),o("svg",F2,[...N2])}const se={name:"carbon-error",render:S2},G2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},J2=n("path",{fill:"currentColor",d:"M28.59 13.31L30 11.9L20 2l-1.31 1.42l1.18 1.18l-11.49 9.72l-1.72-1.71L5.25 14l5.66 5.68L2 28.58L3.41 30l8.91-8.91L18 26.75l1.39-1.42l-1.71-1.71l9.72-11.49ZM16.26 22.2L9.8 15.74L21.29 6L26 10.71Z"},null,-1),K2=[J2];function O2(t,c){return e(),o("svg",G2,[...K2])}const le={name:"carbon-pin",render:O2},U2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},P2=n("path",{fill:"currentColor",d:"M28.586 13.314L30 11.9L20 2l-1.314 1.415l1.186 1.186L8.38 14.322l-1.716-1.715L5.25 14l5.657 5.677L2 28.583L3.41 30l8.911-8.909L18 26.748l1.393-1.414l-1.716-1.716l9.724-11.49Z"},null,-1),Q2=[P2];function R2(t,c){return e(),o("svg",U2,[...Q2])}const _e={name:"carbon-pin-filled",render:R2},T2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},W2=n("path",{fill:"currentColor",d:"M12 12h2v12h-2zm6 0h2v12h-2z"},null,-1),X2=n("path",{fill:"currentColor",d:"M4 6v2h2v20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h2V6zm4 22V8h16v20zm4-26h8v2h-8z"},null,-1),Y2=[W2,X2];function nn(t,c){return e(),o("svg",T2,[...Y2])}const ie={name:"carbon-trash-can",render:nn},en={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},on=n("path",{fill:"currentColor",d:"M12 10h12.185l-3.587-3.586L22 5l6 6l-6 6l-1.402-1.415L24.182 12H12a6 6 0 0 0 0 12h8v2h-8a8 8 0 0 1 0-16"},null,-1),tn=[on];function cn(t,c){return e(),o("svg",en,[...tn])}const he={name:"carbon-redo",render:cn},sn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},ln=n("path",{fill:"currentColor",d:"M20 10H7.815l3.587-3.586L10 5l-6 6l6 6l1.402-1.415L7.818 12H20a6 6 0 0 1 0 12h-8v2h8a8 8 0 0 0 0-16"},null,-1),_n=[ln];function hn(t,c){return e(),o("svg",sn,[..._n])}const re={name:"carbon-undo",render:hn},rn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},an=n("path",{fill:"currentColor",d:"M7 27h23v2H7zm20.38-16.49l-7.93-7.92a2 2 0 0 0-2.83 0l-14 14a2 2 0 0 0 0 2.83L7.13 24h9.59l10.66-10.66a2 2 0 0 0 0-2.83M15.89 22H8l-4-4l6.31-6.31l7.93 7.92zm3.76-3.76l-7.92-7.93L18 4l8 7.93z"},null,-1),dn=[an];function un(t,c){return e(),o("svg",rn,[...dn])}const ae={name:"carbon-erase",render:un},vn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},mn=n("path",{fill:"currentColor",d:"M26 4H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2M6 26V6h20v20Z"},null,-1),$n=[mn];function pn(t,c){return e(),o("svg",vn,[...$n])}const de={name:"carbon-checkbox",render:pn},gn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},fn=n("path",{fill:"currentColor",d:"M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m0 26a12 12 0 1 1 12-12a12 12 0 0 1-12 12"},null,-1),Ln=[fn];function wn(t,c){return e(),o("svg",gn,[...Ln])}const ue={name:"carbon-radio-button",render:wn},xn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Mn=n("path",{fill:"currentColor",d:"M10 6v2h12.59L6 24.59L7.41 26L24 9.41V22h2V6z"},null,-1),zn=[Mn];function Hn(t,c){return e(),o("svg",xn,[...zn])}const ve={name:"carbon-arrow-up-right",render:Hn};export{te as A,Vn as B,Bn as C,ve as D,ue as E,de as F,ae as G,re as H,Un as I,he as J,ie as K,_e as L,le as M,se as N,ce as O,kn as _,An as a,Zn as b,bn as c,En as d,Dn as e,jn as f,yn as g,In as h,Fn as i,Sn as j,Nn as k,Jn as l,Gn as m,qn as n,Kn as o,On as p,Pn as q,Qn as r,Rn as s,oe as t,ee as u,ne as v,Tn as w,Yn as x,Xn as y,Wn as z}; diff --git a/08-serverless/assets/modules/vue-uEYNCD1x.js b/08-serverless/assets/modules/vue-uEYNCD1x.js new file mode 100644 index 0000000..d432e64 --- /dev/null +++ b/08-serverless/assets/modules/vue-uEYNCD1x.js @@ -0,0 +1,91 @@ +/** +* @vue/shared v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Ke(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const ge=Object.freeze({}),ys=Object.freeze([]),Pe=()=>{},ci=()=>!1,rn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),bi=e=>e.startsWith("onUpdate:"),le=Object.assign,Bl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},hm=Object.prototype.hasOwnProperty,pe=(e,t)=>hm.call(e,t),H=Array.isArray,Xn=e=>Ls(e)==="[object Map]",cs=e=>Ls(e)==="[object Set]",uc=e=>Ls(e)==="[object Date]",mm=e=>Ls(e)==="[object RegExp]",Z=e=>typeof e=="function",ne=e=>typeof e=="string",At=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",Gi=e=>(me(e)||Z(e))&&Z(e.then)&&Z(e.catch),af=Object.prototype.toString,Ls=e=>af.call(e),Hl=e=>Ls(e).slice(8,-1),cf=e=>Ls(e)==="[object Object]",Ul=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,An=Ke(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),uf=Ke("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Yi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},gm=/-(\w)/g,Ie=Yi(e=>e.replace(gm,(t,n)=>n?n.toUpperCase():"")),ym=/\B([A-Z])/g,Qe=Yi(e=>e.replace(ym,"-$1").toLowerCase()),Wt=Yi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vt=Yi(e=>e?`on${Wt(e)}`:""),$t=(e,t)=>!Object.is(e,t),En=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},_i=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Si=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let fc;const Kl=()=>fc||(fc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Ht={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},vm={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},bm="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",_m=Ke(bm),dc=2;function Sm(e,t=0,n=e.length){let s=e.split(/(\r?\n)/);const r=s.filter((l,a)=>a%2===1);s=s.filter((l,a)=>a%2===0);let i=0;const o=[];for(let l=0;l=t){for(let a=l-dc;a<=l+dc||n>i;a++){if(a<0||a>=s.length)continue;const u=a+1;o.push(`${u}${" ".repeat(Math.max(3-String(u).length,0))}| ${s[a]}`);const f=s[a].length,c=r[a]&&r[a].length||0;if(a===l){const d=t-(i-(f+c)),p=Math.max(1,n>i?f-d:n-t);o.push(" | "+" ".repeat(d)+"^".repeat(p))}else if(a>l){if(n>i){const d=Math.max(Math.min(n-i,f),1);o.push(" | "+"^".repeat(d))}i+=f+c}}break}return o.join(` +`)}function Ds(e){if(H(e)){const t={};for(let n=0;n{if(n){const s=n.split(Em);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Tm(e){let t="";if(!e||ne(e))return t;for(const n in e){const s=e[n],r=n.startsWith("--")?n:Qe(n);(ne(s)||typeof s=="number")&&(t+=`${r}:${s};`)}return t}function Vs(e){let t="";if(ne(e))t=e;else if(H(e))for(let n=0;nkn(n,t))}const Lm=e=>ne(e)?e:e==null?"":H(e)||me(e)&&(e.toString===af||!Z(e.toString))?JSON.stringify(e,yf,2):String(e),yf=(e,t)=>t&&t.__v_isRef?yf(e,t.value):Xn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[wo(s,i)+" =>"]=r,n),{})}:cs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>wo(n))}:At(t)?wo(t):me(t)&&!H(t)&&!cf(t)?String(t):t,wo=(e,t="")=>{var n;return At(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function qt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let ht;class ql{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ht,!t&&ht&&(this.index=(ht.scopes||(ht.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ht;try{return ht=this,t()}finally{ht=n}}else qt("cannot run an inactive effect scope.")}on(){ht=this}off(){ht=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),an()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=On,n=Qn;try{return On=!0,Qn=this,this._runnings++,hc(this),this.fn()}finally{mc(this),this._runnings--,Qn=n,On=t}}stop(){var t;this.active&&(hc(this),mc(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Dm(e){return e.value}function hc(e){e._trackId++,e._depsLength=0}function mc(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{n.dirty&&n.run()});t&&(le(n,t),t.scope&&bf(n,t.scope)),(!t||!t.lazy)&&n.run();const s=n.run.bind(n);return s.effect=n,s}function jm(e){e.effect.stop()}let On=!0,qo=0;const wf=[];function ln(){wf.push(On),On=!1}function an(){const e=wf.pop();On=e===void 0?!0:e}function Gl(){qo++}function Yl(){for(qo--;!qo&&zo.length;)zo.shift()()}function Ef(e,t,n){var s;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Sf(r,e),e.deps[e._depsLength++]=t):e._depsLength++,(s=e.onTrack)==null||s.call(e,le({effect:e},n))}}const zo=[];function Cf(e,t,n){var s;Gl();for(const r of e.keys()){let i;r._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},wi=new WeakMap,Zn=Symbol("iterate"),Go=Symbol("Map key iterate");function tt(e,t,n){if(On&&Qn){let s=wi.get(e);s||wi.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Tf(()=>s.delete(n))),Ef(Qn,r,{target:e,type:t,key:n})}}function Ut(e,t,n,s,r,i){const o=wi.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&H(e)){const a=Number(s);o.forEach((u,f)=>{(f==="length"||!At(f)&&f>=a)&&l.push(u)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":H(e)?Ul(n)&&l.push(o.get("length")):(l.push(o.get(Zn)),Xn(e)&&l.push(o.get(Go)));break;case"delete":H(e)||(l.push(o.get(Zn)),Xn(e)&&l.push(o.get(Go)));break;case"set":Xn(e)&&l.push(o.get(Zn));break}Gl();for(const a of l)a&&Cf(a,4,{target:e,type:t,key:n,newValue:s,oldValue:r,oldTarget:i});Yl()}function Bm(e,t){var n;return(n=wi.get(e))==null?void 0:n.get(t)}const Hm=Ke("__proto__,__v_isRef,__isVue"),xf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(At)),gc=Um();function Um(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=re(this);for(let i=0,o=this.length;i{e[t]=function(...n){ln(),Gl();const s=re(this)[t].apply(this,n);return Yl(),an(),s}}),e}function Km(e){At(e)||(e=String(e));const t=re(this);return tt(t,"has",e),t.hasOwnProperty(e)}class Af{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Mf:kf:i?Pf:Nf).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=H(t);if(!r){if(o&&pe(gc,n))return Reflect.get(gc,n,s);if(n==="hasOwnProperty")return Km}const l=Reflect.get(t,n,s);return(At(n)?xf.has(n):Hm(n))||(r||tt(t,"get",n),i)?l:Te(l)?o&&Ul(n)?l:l.value:me(l)?r?wt(l):pt(l):l}}class Of extends Af{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const a=Mn(i);if(!Rn(s)&&!Mn(s)&&(i=re(i),s=re(s)),!H(t)&&Te(i)&&!Te(s))return a?!1:(i.value=s,!0)}const o=H(t)&&Ul(n)?Number(n)e,Xi=e=>Reflect.getPrototypeOf(e);function Wr(e,t,n=!1,s=!1){e=e.__v_raw;const r=re(e),i=re(t);n||($t(t,i)&&tt(r,"get",t),tt(r,"get",i));const{has:o}=Xi(r),l=s?Jl:n?Ql:dr;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function qr(e,t=!1){const n=this.__v_raw,s=re(n),r=re(e);return t||($t(e,r)&&tt(s,"has",e),tt(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function zr(e,t=!1){return e=e.__v_raw,!t&&tt(re(e),"iterate",Zn),Reflect.get(e,"size",e)}function yc(e){e=re(e);const t=re(this);return Xi(t).has.call(t,e)||(t.add(e),Ut(t,"add",e,e)),this}function vc(e,t){t=re(t);const n=re(this),{has:s,get:r}=Xi(n);let i=s.call(n,e);i?If(n,s,e):(e=re(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?$t(t,o)&&Ut(n,"set",e,t,o):Ut(n,"add",e,t),this}function bc(e){const t=re(this),{has:n,get:s}=Xi(t);let r=n.call(t,e);r?If(t,n,e):(e=re(e),r=n.call(t,e));const i=s?s.call(t,e):void 0,o=t.delete(e);return r&&Ut(t,"delete",e,void 0,i),o}function _c(){const e=re(this),t=e.size!==0,n=Xn(e)?new Map(e):new Set(e),s=e.clear();return t&&Ut(e,"clear",void 0,void 0,n),s}function Gr(e,t){return function(s,r){const i=this,o=i.__v_raw,l=re(o),a=t?Jl:e?Ql:dr;return!e&&tt(l,"iterate",Zn),o.forEach((u,f)=>s.call(r,a(u),a(f),i))}}function Yr(e,t,n){return function(...s){const r=this.__v_raw,i=re(r),o=Xn(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,u=r[e](...s),f=n?Jl:t?Ql:dr;return!t&&tt(i,"iterate",a?Go:Zn),{next(){const{value:c,done:d}=u.next();return d?{value:c,done:d}:{value:l?[f(c[0]),f(c[1])]:f(c),done:d}},[Symbol.iterator](){return this}}}}function dn(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";qt(`${Wt(e)} operation ${n}failed: target is readonly.`,re(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Ym(){const e={get(i){return Wr(this,i)},get size(){return zr(this)},has:qr,add:yc,set:vc,delete:bc,clear:_c,forEach:Gr(!1,!1)},t={get(i){return Wr(this,i,!1,!0)},get size(){return zr(this)},has:qr,add:yc,set:vc,delete:bc,clear:_c,forEach:Gr(!1,!0)},n={get(i){return Wr(this,i,!0)},get size(){return zr(this,!0)},has(i){return qr.call(this,i,!0)},add:dn("add"),set:dn("set"),delete:dn("delete"),clear:dn("clear"),forEach:Gr(!0,!1)},s={get(i){return Wr(this,i,!0,!0)},get size(){return zr(this,!0)},has(i){return qr.call(this,i,!0)},add:dn("add"),set:dn("set"),delete:dn("delete"),clear:dn("clear"),forEach:Gr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Yr(i,!1,!1),n[i]=Yr(i,!0,!1),t[i]=Yr(i,!1,!0),s[i]=Yr(i,!0,!0)}),[e,n,t,s]}const[Jm,Xm,Qm,Zm]=Ym();function Qi(e,t){const n=t?e?Zm:Qm:e?Xm:Jm;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(pe(n,r)&&r in s?n:s,r,i)}const eg={get:Qi(!1,!1)},tg={get:Qi(!1,!0)},ng={get:Qi(!0,!1)},sg={get:Qi(!0,!0)};function If(e,t,n){const s=re(n);if(s!==n&&t.call(e,s)){const r=Hl(e);qt(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Nf=new WeakMap,Pf=new WeakMap,kf=new WeakMap,Mf=new WeakMap;function rg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ig(e){return e.__v_skip||!Object.isExtensible(e)?0:rg(Hl(e))}function pt(e){return Mn(e)?e:Zi(e,!1,Wm,eg,Nf)}function Xl(e){return Zi(e,!1,zm,tg,Pf)}function wt(e){return Zi(e,!0,qm,ng,kf)}function Bt(e){return Zi(e,!0,Gm,sg,Mf)}function Zi(e,t,n,s,r){if(!me(e))return qt(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=ig(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function es(e){return Mn(e)?es(e.__v_raw):!!(e&&e.__v_isReactive)}function Mn(e){return!!(e&&e.__v_isReadonly)}function Rn(e){return!!(e&&e.__v_isShallow)}function fr(e){return e?!!e.__v_raw:!1}function re(e){const t=e&&e.__v_raw;return t?re(t):e}function $f(e){return Object.isExtensible(e)&&ff(e,"__v_skip",!0),e}const dr=e=>me(e)?pt(e):e,Ql=e=>me(e)?wt(e):e,og="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class Ff{constructor(t,n,s,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new xs(()=>t(this._value),()=>vs(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=re(this);return(!t._cacheable||t.effect.dirty)&&$t(t._value,t._value=t.effect.run())&&vs(t,4),Zl(t),t.effect._dirtyLevel>=2&&(this._warnRecursive&&qt(og,` + +getter: `,this.getter),vs(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function lg(e,t,n=!1){let s,r;const i=Z(e);i?(s=e,r=()=>{qt("Write operation failed: computed value is readonly")}):(s=e.get,r=e.set);const o=new Ff(s,r,i||!r,n);return t&&!n&&(o.effect.onTrack=t.onTrack,o.effect.onTrigger=t.onTrigger),o}function Zl(e){var t;On&&Qn&&(e=re(e),Ef(Qn,(t=e.dep)!=null?t:e.dep=Tf(()=>e.dep=void 0,e instanceof Ff?e:void 0),{target:e,type:"get",key:"value"}))}function vs(e,t=4,n){e=re(e);const s=e.dep;s&&Cf(s,t,{target:e,type:"set",key:"value",newValue:n})}function Te(e){return!!(e&&e.__v_isRef===!0)}function Y(e){return Lf(e,!1)}function ea(e){return Lf(e,!0)}function Lf(e,t){return Te(e)?e:new ag(e,t)}class ag{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:re(t),this._value=n?t:dr(t)}get value(){return Zl(this),this._value}set value(t){const n=this.__v_isShallow||Rn(t)||Mn(t);t=n?t:re(t),$t(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:dr(t),vs(this,4,t))}}function cg(e){vs(e,4,e.value)}function Ge(e){return Te(e)?e.value:e}function ug(e){return Z(e)?e():Ge(e)}const fg={get:(e,t,n)=>Ge(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Te(r)&&!Te(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ta(e){return es(e)?e:new Proxy(e,fg)}class dg{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>Zl(this),()=>vs(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function eo(e){return new dg(e)}function Df(e){fr(e)||qt("toRefs() expects a reactive object but received a plain one.");const t=H(e)?new Array(e.length):{};for(const n in e)t[n]=jf(e,n);return t}class pg{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Bm(re(this._object),this._key)}}class hg{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Vf(e,t,n){return Te(e)?e:Z(e)?new hg(e):me(e)&&arguments.length>1?jf(e,t,n):Y(e)}function jf(e,t,n){const s=e[t];return Te(s)?s:new pg(e,t,n)}const mg={GET:"get",HAS:"has",ITERATE:"iterate"},gg={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/** +* @vue/runtime-core v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const ts=[];function Qs(e){ts.push(e)}function Zs(){ts.pop()}function M(e,...t){ln();const n=ts.length?ts[ts.length-1].component:null,s=n&&n.appContext.config.warnHandler,r=yg();if(s)Kt(s,n,11,[e+t.map(i=>{var o,l;return(l=(o=i.toString)==null?void 0:o.call(i))!=null?l:JSON.stringify(i)}).join(""),n&&n.proxy,r.map(({vnode:i})=>`at <${fo(n,i.type)}>`).join(` +`),r]);else{const i=[`[Vue warn]: ${e}`,...t];r.length&&i.push(` +`,...vg(r)),console.warn(...i)}an()}function yg(){let e=ts[ts.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function vg(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[` +`],...bg(n))}),t}function bg({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,r=` at <${fo(e.component,e.type,s)}`,i=">"+n;return e.props?[r,..._g(e.props),i]:[r+i]}function _g(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...Bf(s,e[s]))}),n.length>3&&t.push(" ..."),t}function Bf(e,t,n){return ne(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Te(t)?(t=Bf(e,re(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Z(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=re(t),n?t:[`${e}=`,t])}function na(e,t){e!==void 0&&(typeof e!="number"?M(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&M(`${t} is NaN - the duration expression might be incorrect.`))}const Sg={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},to={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function Kt(e,t,n,s){try{return s?e(...s):e()}catch(r){Vn(r,t,n)}}function gt(e,t,n,s){if(Z(e)){const r=Kt(e,t,n,s);return r&&Gi(r)&&r.catch(i=>{Vn(i,t,n)}),r}if(H(e)){const r=[];for(let i=0;i>>1,r=Ze[s],i=mr(r);ijt&&Ze.splice(t,1)}function hr(e){H(e)?bs.push(...e):(!Zt||!Zt.includes(e,e.allowRecurse?yn+1:yn))&&bs.push(e),Uf()}function Sc(e,t,n=pr?jt+1:0){for(t=t||new Map;nmr(n)-mr(s));if(bs.length=0,Zt){Zt.push(...t);return}for(Zt=t,e=e||new Map,yn=0;yne.id==null?1/0:e.id,xg=(e,t)=>{const n=mr(e)-mr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Kf(e){Yo=!1,pr=!0,e=e||new Map,Ze.sort(xg);const t=n=>ra(e,n);try{for(jt=0;jtEg){const s=t.ownerInstance,r=s&&br(s.type);return Vn(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else e.set(t,n+1)}}let In=!1;const gs=new Set;Kl().__VUE_HMR_RUNTIME__={createRecord:Eo(Wf),rerender:Eo(Rg),reload:Eo(Ig)};const rs=new Map;function Ag(e){const t=e.type.__hmrId;let n=rs.get(t);n||(Wf(t,e.type),n=rs.get(t)),n.instances.add(e)}function Og(e){rs.get(e.type.__hmrId).instances.delete(e)}function Wf(e,t){return rs.has(e)?!1:(rs.set(e,{initialDef:er(t),instances:new Set}),!0)}function er(e){return qd(e)?e.__vccOpts:e}function Rg(e,t){const n=rs.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(s=>{t&&(s.render=t,er(s.type).render=t),s.renderCache=[],In=!0,s.effect.dirty=!0,s.update(),In=!1}))}function Ig(e,t){const n=rs.get(e);if(!n)return;t=er(t),wc(n.initialDef,t);const s=[...n.instances];for(const r of s){const i=er(r.type);gs.has(i)||(i!==n.initialDef&&wc(i,t),gs.add(i)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(gs.add(i),r.ceReload(t.styles),gs.delete(i)):r.parent?(r.parent.effect.dirty=!0,Ir(r.parent.update)):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}hr(()=>{for(const r of s)gs.delete(er(r.type))})}function wc(e,t){le(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Eo(e){return(t,n)=>{try{return e(t,n)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Nt,Ys=[],Jo=!1;function Nr(e,...t){Nt?Nt.emit(e,...t):Jo||Ys.push({event:e,args:t})}function ia(e,t){var n,s;Nt=e,Nt?(Nt.enabled=!0,Ys.forEach(({event:r,args:i})=>Nt.emit(r,...i)),Ys=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{ia(i,t)}),setTimeout(()=>{Nt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Jo=!0,Ys=[])},3e3)):(Jo=!0,Ys=[])}function Ng(e,t){Nr("app:init",e,t,{Fragment:De,Text:$n,Comment:$e,Static:Nn})}function Pg(e){Nr("app:unmount",e)}const Xo=oa("component:added"),qf=oa("component:updated"),kg=oa("component:removed"),Mg=e=>{Nt&&typeof Nt.cleanupBuffer=="function"&&!Nt.cleanupBuffer(e)&&kg(e)};/*! #__NO_SIDE_EFFECTS__ */function oa(e){return t=>{Nr(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const $g=zf("perf:start"),Fg=zf("perf:end");function zf(e){return(t,n,s)=>{Nr(e,t.appContext.app,t.uid,t,n,s)}}function Lg(e,t,n){Nr("component:emit",e.appContext.app,e,t,n)}function Dg(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ge;{const{emitsOptions:f,propsOptions:[c]}=e;if(f)if(!(t in f))(!c||!(Vt(t)in c))&&M(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Vt(t)}" prop.`);else{const d=f[t];Z(d)&&(d(...n)||M(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const f=`${o==="modelValue"?"model":o}Modifiers`,{number:c,trim:d}=s[f]||ge;d&&(r=n.map(p=>ne(p)?p.trim():p)),c&&(r=n.map(_i))}Lg(e,t,r);{const f=t.toLowerCase();f!==t&&s[Vt(f)]&&M(`Event "${f}" is emitted in component ${fo(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Qe(t)}" instead of "${t}".`)}let l,a=s[l=Vt(t)]||s[l=Vt(Ie(t))];!a&&i&&(a=s[l=Vt(Qe(t))]),a&>(a,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,gt(u,e,6,r)}}function Gf(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!Z(e)){const a=u=>{const f=Gf(u,t,!0);f&&(l=!0,le(o,f))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(me(e)&&s.set(e,null),null):(H(i)?i.forEach(a=>o[a]=null):le(o,i),me(e)&&s.set(e,o),o)}function no(e,t){return!e||!rn(t)?!1:(t=t.slice(2).replace(/Once$/,""),pe(e,t[0].toLowerCase()+t.slice(1))||pe(e,Qe(t))||pe(e,t))}let Re=null,so=null;function gr(e){const t=Re;return Re=e,so=e&&e.type.__scopeId||null,t}function Vg(e){so=e}function jg(){so=null}const Bg=e=>la;function la(e,t=Re,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ol(-1);const i=gr(t);let o;try{o=e(...r)}finally{gr(i),s._d&&ol(1)}return qf(t),o};return s._n=!0,s._c=!0,s._d=!0,s}let Qo=!1;function Ci(){Qo=!0}function ui(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:a,render:u,renderCache:f,props:c,data:d,setupState:p,ctx:m,inheritAttrs:w}=e,E=gr(e);let v,y;Qo=!1;try{if(n.shapeFlag&4){const S=r||s,O=p.__isScriptSetup?new Proxy(S,{get(C,x,T){return M(`Property '${String(x)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(C,x,T)}}):S;v=ut(u.call(O,S,f,Bt(c),p,d,m)),y=l}else{const S=t;l===c&&Ci(),v=ut(S.length>1?S(Bt(c),{get attrs(){return Ci(),l},slots:o,emit:a}):S(Bt(c),null)),y=t.props?l:Hg(l)}}catch(S){nr.length=0,Vn(S,e,1),v=xe($e)}let g=v,b;if(v.patchFlag>0&&v.patchFlag&2048&&([g,b]=Yf(v)),y&&w!==!1){const S=Object.keys(y),{shapeFlag:O}=g;if(S.length){if(O&7)i&&S.some(bi)&&(y=Ug(y,i)),g=Ot(g,y);else if(!Qo&&g.type!==$e){const C=Object.keys(l),x=[],T=[];for(let A=0,k=C.length;A renders non-element root node that cannot be animated."),g.transition=n.transition),b?b(g):v=g,gr(E),v}const Yf=e=>{const t=e.children,n=e.dynamicChildren,s=ro(t,!1);if(s){if(s.patchFlag>0&&s.patchFlag&2048)return Yf(s)}else return[e,void 0];const r=t.indexOf(s),i=n?n.indexOf(s):-1,o=l=>{t[r]=l,n&&(i>-1?n[i]=l:l.patchFlag>0&&(e.dynamicChildren=[...n,l]))};return[ut(s),o]};function ro(e,t=!0){let n;for(let s=0;s0&&n.patchFlag&2048)return ro(n.children)}}else return}return n}const Hg=e=>{let t;for(const n in e)(n==="class"||n==="style"||rn(n))&&((t||(t={}))[n]=e[n]);return t},Ug=(e,t)=>{const n={};for(const s in e)(!bi(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n},Ec=e=>e.shapeFlag&7||e.type===$e;function Kg(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:a}=t,u=i.emitsOptions;if((r||l)&&In||t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Cc(s,o,u):!!o;if(a&8){const f=t.dynamicProps;for(let c=0;ce.__isSuspense;let Zo=0;const Yg={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,a,u){if(e==null)Xg(t,n,s,r,i,o,l,a,u);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Qg(e,t,n,s,r,o,l,a,u)}},hydrate:Zg,create:fa,normalize:ey},Jg=Yg;function yr(e,t){const n=e.props&&e.props[t];Z(n)&&n()}function Xg(e,t,n,s,r,i,o,l,a){const{p:u,o:{createElement:f}}=a,c=f("div"),d=e.suspense=fa(e,r,s,t,c,n,i,o,l,a);u(null,d.pendingBranch=e.ssContent,c,null,s,d,i,o),d.deps>0?(yr(e,"onPending"),yr(e,"onFallback"),u(null,e.ssFallback,t,n,s,null,i,o),_s(d,e.ssFallback)):d.resolve(!1,!0)}function Qg(e,t,n,s,r,i,o,l,{p:a,um:u,o:{createElement:f}}){const c=t.suspense=e.suspense;c.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:w,isInFallback:E,isHydrating:v}=c;if(w)c.pendingBranch=d,Pt(d,w)?(a(w,d,c.hiddenContainer,null,r,c,i,o,l),c.deps<=0?c.resolve():E&&(v||(a(m,p,n,s,r,null,i,o,l),_s(c,p)))):(c.pendingId=Zo++,v?(c.isHydrating=!1,c.activeBranch=w):u(w,r,c),c.deps=0,c.effects.length=0,c.hiddenContainer=f("div"),E?(a(null,d,c.hiddenContainer,null,r,c,i,o,l),c.deps<=0?c.resolve():(a(m,p,n,s,r,null,i,o,l),_s(c,p))):m&&Pt(d,m)?(a(m,d,n,s,r,c,i,o,l),c.resolve(!0)):(a(null,d,c.hiddenContainer,null,r,c,i,o,l),c.deps<=0&&c.resolve()));else if(m&&Pt(d,m))a(m,d,n,s,r,c,i,o,l),_s(c,d);else if(yr(t,"onPending"),c.pendingBranch=d,d.shapeFlag&512?c.pendingId=d.component.suspenseId:c.pendingId=Zo++,a(null,d,c.hiddenContainer,null,r,c,i,o,l),c.deps<=0)c.resolve();else{const{timeout:y,pendingId:g}=c;y>0?setTimeout(()=>{c.pendingId===g&&c.fallback(p)},y):y===0&&c.fallback(p)}}let xc=!1;function fa(e,t,n,s,r,i,o,l,a,u,f=!1){xc||(xc=!0,console[console.info?"info":"log"](" is an experimental feature and its API will likely change."));const{p:c,m:d,um:p,n:m,o:{parentNode:w,remove:E}}=u;let v;const y=ty(e);y&&t!=null&&t.pendingBranch&&(v=t.pendingId,t.deps++);const g=e.props?Si(e.props.timeout):void 0;na(g,"Suspense timeout");const b=i,S={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:r,deps:0,pendingId:Zo++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(O=!1,C=!1){{if(!O&&!S.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(S.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.")}const{vnode:x,activeBranch:T,pendingBranch:A,pendingId:k,effects:R,parentComponent:V,container:J}=S;let Q=!1;S.isHydrating?S.isHydrating=!1:O||(Q=T&&A.transition&&A.transition.mode==="out-in",Q&&(T.transition.afterLeave=()=>{k===S.pendingId&&(d(A,J,i===b?m(T):i,0),hr(R))}),T&&(w(T.el)!==S.hiddenContainer&&(i=m(T)),p(T,V,S,!0)),Q||d(A,J,i,0)),_s(S,A),S.pendingBranch=null,S.isInFallback=!1;let z=S.parent,G=!1;for(;z;){if(z.pendingBranch){z.effects.push(...R),G=!0;break}z=z.parent}!G&&!Q&&hr(R),S.effects=[],y&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!C&&t.resolve()),yr(x,"onResolve")},fallback(O){if(!S.pendingBranch)return;const{vnode:C,activeBranch:x,parentComponent:T,container:A,namespace:k}=S;yr(C,"onFallback");const R=m(x),V=()=>{S.isInFallback&&(c(null,O,A,R,T,null,k,l,a),_s(S,O))},J=O.transition&&O.transition.mode==="out-in";J&&(x.transition.afterLeave=V),S.isInFallback=!0,p(x,T,null,!0),J||V()},move(O,C,x){S.activeBranch&&d(S.activeBranch,O,C,x),S.container=O},next(){return S.activeBranch&&m(S.activeBranch)},registerDep(O,C){const x=!!S.pendingBranch;x&&S.deps++;const T=O.vnode.el;O.asyncDep.catch(A=>{Vn(A,O,0)}).then(A=>{if(O.isUnmounted||S.isUnmounted||S.pendingId!==O.suspenseId)return;O.asyncResolved=!0;const{vnode:k}=O;Qs(k),fl(O,A,!1),T&&(k.el=T);const R=!T&&O.subTree.el;C(O,k,w(T||O.subTree.el),T?null:m(O.subTree),S,o,a),R&&E(R),aa(O,k.el),Zs(),x&&--S.deps===0&&S.resolve()})},unmount(O,C){S.isUnmounted=!0,S.activeBranch&&p(S.activeBranch,n,O,C),S.pendingBranch&&p(S.pendingBranch,n,O,C)}};return S}function Zg(e,t,n,s,r,i,o,l,a){const u=t.suspense=fa(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),f=a(e,u.pendingBranch=t.ssContent,n,u,i,o);return u.deps===0&&u.resolve(!1,!0),f}function ey(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Ac(s?n.default:n),e.ssFallback=s?Ac(n.fallback):xe($e)}function Ac(e){let t;if(Z(e)){const n=os&&e._c;n&&(e._d=!1,co()),e=e(),n&&(e._d=!0,t=ft,Md())}if(H(e)){const n=ro(e);!n&&e.filter(s=>s!==ca).length>0&&M(" slots expect a single root node."),e=n}return e=ut(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Xf(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):hr(e)}function _s(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,aa(s,r))}function ty(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const Qf=Symbol.for("v-scx"),Zf=()=>{{const e=Tt(Qf);return e||M("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function da(e,t){return Pr(e,null,t)}function ed(e,t){return Pr(e,null,le({},t,{flush:"post"}))}function td(e,t){return Pr(e,null,le({},t,{flush:"sync"}))}const Jr={};function _e(e,t,n){return Z(t)||M("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Pr(e,t,n)}function Pr(e,t,{immediate:n,deep:s,flush:r,once:i,onTrack:o,onTrigger:l}=ge){if(t&&i){const C=t;t=(...x)=>{C(...x),O()}}s!==void 0&&typeof s=="number"&&M('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),t||(n!==void 0&&M('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&M('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&M('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const a=C=>{M("Invalid watch source: ",C,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=ke,f=C=>s===!0?C:zn(C,s===!1?1:void 0);let c,d=!1,p=!1;if(Te(e)?(c=()=>e.value,d=Rn(e)):es(e)?(c=()=>f(e),d=!0):H(e)?(p=!0,d=e.some(C=>es(C)||Rn(C)),c=()=>e.map(C=>{if(Te(C))return C.value;if(es(C))return f(C);if(Z(C))return Kt(C,u,2);a(C)})):Z(e)?t?c=()=>Kt(e,u,2):c=()=>(m&&m(),gt(e,u,3,[w])):(c=Pe,a(e)),t&&s){const C=c;c=()=>zn(C())}let m,w=C=>{m=b.onStop=()=>{Kt(C,u,4),m=b.onStop=void 0}},E;if($r)if(w=Pe,t?n&>(t,u,3,[c(),p?[]:void 0,w]):c(),r==="sync"){const C=Zf();E=C.__watcherHandles||(C.__watcherHandles=[])}else return Pe;let v=p?new Array(e.length).fill(Jr):Jr;const y=()=>{if(!(!b.active||!b.dirty))if(t){const C=b.run();(s||d||(p?C.some((x,T)=>$t(x,v[T])):$t(C,v)))&&(m&&m(),gt(t,u,3,[C,v===Jr?void 0:p&&v[0]===Jr?[]:v,w]),v=C)}else b.run()};y.allowRecurse=!!t;let g;r==="sync"?g=y:r==="post"?g=()=>ze(y,u&&u.suspense):(y.pre=!0,u&&(y.id=u.uid),g=()=>Ir(y));const b=new xs(c,Pe,g),S=zl(),O=()=>{b.stop(),S&&Bl(S.effects,b)};return b.onTrack=o,b.onTrigger=l,t?n?y():v=b.run():r==="post"?ze(b.run.bind(b),u&&u.suspense):b.run(),E&&E.push(O),O}function ny(e,t,n){const s=this.proxy,r=ne(e)?e.includes(".")?nd(s,e):()=>s[e]:e.bind(s,s);let i;Z(t)?i=t:(i=t.handler,n=t);const o=ls(this),l=Pr(r,i.bind(s),n);return o(),l}function nd(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),Te(e))zn(e.value,t,n,s);else if(H(e))for(let r=0;r{zn(r,t,n,s)});else if(cf(e))for(const r in e)zn(e[r],t,n,s);return e}function sd(e){uf(e)&&M("Do not use built-in directive ids as custom directive id: "+e)}function sy(e,t){if(Re===null)return M("withDirectives can only be used inside render functions."),e;const n=uo(Re)||Re.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),ao(()=>{e.isUnmounting=!0}),e}const _t=[Function,Array],ha={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:_t,onEnter:_t,onAfterEnter:_t,onEnterCancelled:_t,onBeforeLeave:_t,onLeave:_t,onAfterLeave:_t,onLeaveCancelled:_t,onBeforeAppear:_t,onAppear:_t,onAfterAppear:_t,onAppearCancelled:_t},ry={name:"BaseTransition",props:ha,setup(e,{slots:t}){const n=Ye(),s=pa();return()=>{const r=t.default&&io(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){let d=!1;for(const p of r)if(p.type!==$e){if(d){M(" can only be used on a single element or component. Use for lists.");break}i=p,d=!0}}const o=re(e),{mode:l}=o;if(l&&l!=="in-out"&&l!=="out-in"&&l!=="default"&&M(`invalid mode: ${l}`),s.isLeaving)return Co(i);const a=Oc(i);if(!a)return Co(i);const u=As(a,o,s,n);is(a,u);const f=n.subTree,c=f&&Oc(f);if(c&&c.type!==$e&&!Pt(a,c)){const d=As(c,o,s,n);if(is(c,d),l==="out-in")return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Co(i);l==="in-out"&&a.type!==$e&&(d.delayLeave=(p,m,w)=>{const E=id(s,c);E[String(c.key)]=c,p[vn]=()=>{m(),p[vn]=void 0,delete u.delayedLeave},u.delayedLeave=w})}return i}}},rd=ry;function id(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function As(e,t,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:c,onLeave:d,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:w,onAppear:E,onAfterAppear:v,onAppearCancelled:y}=t,g=String(e.key),b=id(n,e),S=(x,T)=>{x&>(x,s,9,T)},O=(x,T)=>{const A=T[1];S(x,T),H(x)?x.every(k=>k.length<=1)&&A():x.length<=1&&A()},C={mode:i,persisted:o,beforeEnter(x){let T=l;if(!n.isMounted)if(r)T=w||l;else return;x[vn]&&x[vn](!0);const A=b[g];A&&Pt(e,A)&&A.el[vn]&&A.el[vn](),S(T,[x])},enter(x){let T=a,A=u,k=f;if(!n.isMounted)if(r)T=E||a,A=v||u,k=y||f;else return;let R=!1;const V=x[Xr]=J=>{R||(R=!0,J?S(k,[x]):S(A,[x]),C.delayedLeave&&C.delayedLeave(),x[Xr]=void 0)};T?O(T,[x,V]):V()},leave(x,T){const A=String(e.key);if(x[Xr]&&x[Xr](!0),n.isUnmounting)return T();S(c,[x]);let k=!1;const R=x[vn]=V=>{k||(k=!0,T(),V?S(m,[x]):S(p,[x]),x[vn]=void 0,b[A]===e&&delete b[A])};b[A]=e,d?O(d,[x,R]):R()},clone(x){return As(x,t,n,s)}};return C}function Co(e){if(js(e))return e=Ot(e),e.children=null,e}function Oc(e){if(!js(e))return e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Z(n.default))return n.default()}}function is(e,t){e.shapeFlag&6&&e.component?is(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function io(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function iy(e){Z(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:i,suspensible:o=!0,onError:l}=e;let a=null,u,f=0;const c=()=>(f++,a=null,d()),d=()=>{let p;return a||(p=a=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((w,E)=>{l(m,()=>w(c()),()=>E(m),f+1)});throw m}).then(m=>{if(p!==a&&a)return a;if(m||M("Async component loader resolved to undefined. If you are using retry(), make sure to return its return value."),m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),m&&!me(m)&&!Z(m))throw new Error(`Invalid async component load result: ${m}`);return u=m,m}))};return kr({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return u},setup(){const p=ke;if(u)return()=>To(u,p);const m=y=>{a=null,Vn(y,p,13,!s)};if(o&&p.suspense||$r)return d().then(y=>()=>To(y,p)).catch(y=>(m(y),()=>s?xe(s,{error:y}):null));const w=Y(!1),E=Y(),v=Y(!!r);return r&&setTimeout(()=>{v.value=!1},r),i!=null&&setTimeout(()=>{if(!w.value&&!E.value){const y=new Error(`Async component timed out after ${i}ms.`);m(y),E.value=y}},i),d().then(()=>{w.value=!0,p.parent&&js(p.parent.vnode)&&(p.parent.effect.dirty=!0,Ir(p.parent.update))}).catch(y=>{m(y),E.value=y}),()=>{if(w.value&&u)return To(u,p);if(E.value&&s)return xe(s,{error:E.value});if(n&&!v.value)return xe(n)}}})}function To(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=xe(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const js=e=>e.type.__isKeepAlive,oy={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ye(),s=n.ctx;if(!s.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const r=new Map,i=new Set;let o=null;n.__v_cache=r;const l=n.suspense,{renderer:{p:a,m:u,um:f,o:{createElement:c}}}=s,d=c("div");s.activate=(y,g,b,S,O)=>{const C=y.component;u(y,g,b,0,l),a(C.vnode,y,g,b,C,l,S,y.slotScopeIds,O),ze(()=>{C.isDeactivated=!1,C.a&&En(C.a);const x=y.props&&y.props.onVnodeMounted;x&&at(x,C.parent,y)},l),Xo(C)},s.deactivate=y=>{const g=y.component;u(y,d,null,1,l),ze(()=>{g.da&&En(g.da);const b=y.props&&y.props.onVnodeUnmounted;b&&at(b,g.parent,y),g.isDeactivated=!0},l),Xo(g)};function p(y){xo(y),f(y,n,l,!0)}function m(y){r.forEach((g,b)=>{const S=br(g.type);S&&(!y||!y(S))&&w(b)})}function w(y){const g=r.get(y);!o||!Pt(g,o)?p(g):o&&xo(o),r.delete(y),i.delete(y)}_e(()=>[e.include,e.exclude],([y,g])=>{y&&m(b=>Js(y,b)),g&&m(b=>!Js(g,b))},{flush:"post",deep:!0});let E=null;const v=()=>{E!=null&&r.set(E,Ao(n.subTree))};return us(v),lo(v),ao(()=>{r.forEach(y=>{const{subTree:g,suspense:b}=n,S=Ao(g);if(y.type===S.type&&y.key===S.key){xo(S);const O=S.component.da;O&&ze(O,b);return}p(y)})}),()=>{if(E=null,!t.default)return o=null;const y=t.default(),g=y[0];if(y.length>1)return M("KeepAlive should contain exactly one component child."),o=null,y;if(!on(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return o=null,g;let b=Ao(g);const S=b.type,O=br(ns(b)?b.type.__asyncResolved||{}:S),{include:C,exclude:x,max:T}=e;if(C&&(!O||!Js(C,O))||x&&O&&Js(x,O))return o=b,g;const A=b.key==null?S:b.key,k=r.get(A);return b.el&&(b=Ot(b),g.shapeFlag&128&&(g.ssContent=b)),E=A,k?(b.el=k.el,b.component=k.component,b.transition&&is(b,b.transition),b.shapeFlag|=512,i.delete(A),i.add(A)):(i.add(A),T&&i.size>parseInt(T,10)&&w(i.values().next().value)),b.shapeFlag|=256,o=b,Jf(g.type)?g:b}}},ly=oy;function Js(e,t){return H(e)?e.some(n=>Js(n,t)):ne(e)?e.split(",").includes(t):mm(e)?e.test(t):!1}function od(e,t){ad(e,"a",t)}function ld(e,t){ad(e,"da",t)}function ad(e,t,n=ke){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(oo(t,s,n),n){let r=n.parent;for(;r&&r.parent;)js(r.parent.vnode)&&ay(s,t,n,r),r=r.parent}}function ay(e,t,n,s){const r=oo(t,e,s,!0);Mr(()=>{Bl(s[t],r)},n)}function xo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ao(e){return e.shapeFlag&128?e.ssContent:e}function oo(e,t,n=ke,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ln();const l=ls(n),a=gt(t,n,e,o);return l(),an(),a});return s?r.unshift(i):r.push(i),i}else{const r=Vt(to[e].replace(/ hook$/,""));M(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const cn=e=>(t,n=ke)=>(!$r||e==="sp")&&oo(e,(...s)=>t(...s),n),cd=cn("bm"),us=cn("m"),ud=cn("bu"),lo=cn("u"),ao=cn("bum"),Mr=cn("um"),fd=cn("sp"),dd=cn("rtg"),pd=cn("rtc");function hd(e,t=ke){oo("ec",e,t)}function cy(e,t,n,s){let r;const i=n&&n[s];if(H(e)||ne(e)){r=new Array(e.length);for(let o=0,l=e.length;ot(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);r=new Array(o.length);for(let l=0,a=o.length;l{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function fy(e,t,n={},s,r){if(Re.isCE||Re.parent&&ns(Re.parent)&&Re.parent.isCE)return t!=="default"&&(n.name=t),xe("slot",n,s&&s());let i=e[t];i&&i.length>1&&(M("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),i=()=>[]),i&&i._c&&(i._d=!1),co();const o=i&&md(i(n)),l=va(De,{key:n.key||o&&o.key||`_${t}`},o||(s?s():[]),o&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function md(e){return e.some(t=>on(t)?!(t.type===$e||t.type===De&&!md(t.children)):!0)?e:null}function dy(e,t){const n={};if(!me(e))return M("v-on with no argument expects an object value."),n;for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:Vt(s)]=e[s];return n}const el=e=>e?Bd(e)?uo(e)||e.proxy:el(e.parent):null,ss=le(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>Bt(e.props),$attrs:e=>Bt(e.attrs),$slots:e=>Bt(e.slots),$refs:e=>Bt(e.refs),$parent:e=>el(e.parent),$root:e=>el(e.root),$emit:e=>e.emit,$options:e=>ga(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Ir(e.update)}),$nextTick:e=>e.n||(e.n=jn.bind(e.proxy)),$watch:e=>ny.bind(e)}),ma=e=>e==="_"||e==="$",Oo=(e,t)=>e!==ge&&!e.__isScriptSetup&&pe(e,t),tr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:a}=e;if(t==="__isVue")return!0;let u;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Oo(s,t))return o[t]=1,s[t];if(r!==ge&&pe(r,t))return o[t]=2,r[t];if((u=e.propsOptions[0])&&pe(u,t))return o[t]=3,i[t];if(n!==ge&&pe(n,t))return o[t]=4,n[t];tl&&(o[t]=0)}}const f=ss[t];let c,d;if(f)return t==="$attrs"?(tt(e.attrs,"get",""),Ci()):t==="$slots"&&tt(e,"get",t),f(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==ge&&pe(n,t))return o[t]=4,n[t];if(d=a.config.globalProperties,pe(d,t))return d[t];Re&&(!ne(t)||t.indexOf("__v")!==0)&&(r!==ge&&ma(t[0])&&pe(r,t)?M(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===Re&&M(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Oo(r,t)?(r[t]=n,!0):r.__isScriptSetup&&pe(r,t)?(M(`Cannot mutate + + + + + + +
+
+ + + diff --git a/09-cloud/404.html b/09-cloud/404.html new file mode 100644 index 0000000..1531dad --- /dev/null +++ b/09-cloud/404.html @@ -0,0 +1,21 @@ + + + + Software Architecture + + + + + + + + + + + + +
+
+ + + diff --git a/09-cloud/_redirects b/09-cloud/_redirects new file mode 100644 index 0000000..9574fe3 --- /dev/null +++ b/09-cloud/_redirects @@ -0,0 +1 @@ +/sa2024/09-cloud/* /sa2024/09-cloud/index.html 200 diff --git a/09-cloud/assets/09-buy-iaas-64SwJXM_.png b/09-cloud/assets/09-buy-iaas-64SwJXM_.png new file mode 100644 index 0000000..6bcaa6a Binary files /dev/null and b/09-cloud/assets/09-buy-iaas-64SwJXM_.png differ diff --git a/09-cloud/assets/09-container-CT_LqMq0.png b/09-cloud/assets/09-container-CT_LqMq0.png new file mode 100644 index 0000000..fa9307b Binary files /dev/null and b/09-cloud/assets/09-container-CT_LqMq0.png differ diff --git a/09-cloud/assets/09-deployment-models-BpyYXYqh.png b/09-cloud/assets/09-deployment-models-BpyYXYqh.png new file mode 100644 index 0000000..6d1373e Binary files /dev/null and b/09-cloud/assets/09-deployment-models-BpyYXYqh.png differ diff --git a/09-cloud/assets/09-google-products-BdMpooko.png b/09-cloud/assets/09-google-products-BdMpooko.png new file mode 100644 index 0000000..ed4c146 Binary files /dev/null and b/09-cloud/assets/09-google-products-BdMpooko.png differ diff --git a/09-cloud/assets/09-heroku-logo-c5LQladp.png b/09-cloud/assets/09-heroku-logo-c5LQladp.png new file mode 100644 index 0000000..18459d3 Binary files /dev/null and b/09-cloud/assets/09-heroku-logo-c5LQladp.png differ diff --git a/09-cloud/assets/09-hypervisor-3_lIAVda.png b/09-cloud/assets/09-hypervisor-3_lIAVda.png new file mode 100644 index 0000000..a4f2684 Binary files /dev/null and b/09-cloud/assets/09-hypervisor-3_lIAVda.png differ diff --git a/09-cloud/assets/09-k8s-PqDei5Ap.png b/09-cloud/assets/09-k8s-PqDei5Ap.png new file mode 100644 index 0000000..a60924d Binary files /dev/null and b/09-cloud/assets/09-k8s-PqDei5Ap.png differ diff --git a/09-cloud/assets/09-k8s-logo-BYWU_F5u.png b/09-cloud/assets/09-k8s-logo-BYWU_F5u.png new file mode 100644 index 0000000..592e8ff Binary files /dev/null and b/09-cloud/assets/09-k8s-logo-BYWU_F5u.png differ diff --git a/09-cloud/assets/09-lxc-docker-DItoxH0X.png b/09-cloud/assets/09-lxc-docker-DItoxH0X.png new file mode 100644 index 0000000..939d1b0 Binary files /dev/null and b/09-cloud/assets/09-lxc-docker-DItoxH0X.png differ diff --git a/09-cloud/assets/09-minikube-CpVZIVjZ.png b/09-cloud/assets/09-minikube-CpVZIVjZ.png new file mode 100644 index 0000000..7546f9f Binary files /dev/null and b/09-cloud/assets/09-minikube-CpVZIVjZ.png differ diff --git a/09-cloud/assets/09-minikube-demo-DD3XZVnO.png b/09-cloud/assets/09-minikube-demo-DD3XZVnO.png new file mode 100644 index 0000000..c84dc1f Binary files /dev/null and b/09-cloud/assets/09-minikube-demo-DD3XZVnO.png differ diff --git a/09-cloud/assets/09-minikube-install-BvESFCdo.png b/09-cloud/assets/09-minikube-install-BvESFCdo.png new file mode 100644 index 0000000..4083611 Binary files /dev/null and b/09-cloud/assets/09-minikube-install-BvESFCdo.png differ diff --git a/09-cloud/assets/09-powerplant-Clz3v7W5.png b/09-cloud/assets/09-powerplant-Clz3v7W5.png new file mode 100644 index 0000000..0391efc Binary files /dev/null and b/09-cloud/assets/09-powerplant-Clz3v7W5.png differ diff --git a/09-cloud/assets/09-salesforce-logo-8xgMjhe0.png b/09-cloud/assets/09-salesforce-logo-8xgMjhe0.png new file mode 100644 index 0000000..97c25a1 Binary files /dev/null and b/09-cloud/assets/09-salesforce-logo-8xgMjhe0.png differ diff --git a/09-cloud/assets/09-service-models-CKwCSUmJ.png b/09-cloud/assets/09-service-models-CKwCSUmJ.png new file mode 100644 index 0000000..efeccb4 Binary files /dev/null and b/09-cloud/assets/09-service-models-CKwCSUmJ.png differ diff --git a/09-cloud/assets/09-spring-cloud-BS9lxmQm.png b/09-cloud/assets/09-spring-cloud-BS9lxmQm.png new file mode 100644 index 0000000..8ba1d21 Binary files /dev/null and b/09-cloud/assets/09-spring-cloud-BS9lxmQm.png differ diff --git a/09-cloud/assets/10-CQ7c45BV.js b/09-cloud/assets/10-CQ7c45BV.js new file mode 100644 index 0000000..cac6bfe --- /dev/null +++ b/09-cloud/assets/10-CQ7c45BV.js @@ -0,0 +1 @@ +import{o as r,c as a,k as e,a6 as l,q as n,s as u,A as s,e as o}from"./modules/vue-uEYNCD1x.js";import{I as c}from"./slidev/two-cols-CFH8gQce.js";import{_ as i,af as t}from"./index-BFuDrq-n.js";import{p as _,u as p,f as m}from"./slidev/context-DHtX8Cxj.js";import"./modules/shiki-BzAJ3tB6.js";const d="/sa2024/09-cloud/assets/09-heroku-logo-c5LQladp.png",f=o("h1",null,"典型PaaS",-1),h=o("br",null,null,-1),b=o("ul",null,[o("li",null,"Heroku是一个支持多种编程语言的云平台即服务。在2010年被Salesforce.com收购。"),o("li",null,"Heroku作为最元祖的云平台之一,从2007年6月起开发,当时它仅支持Ruby,但后来增加了对Java、Node.js、Scala、Clojure、Python以及(未记录在正式文件上)PHP和Perl的支持。"),o("li",null,"基础操作系统是Debian,在最新的技术堆栈则是基于Debian的Ubuntu。")],-1),P=o("p",null,[o("br"),o("br"),o("br"),o("br"),o("img",{src:d,class:"h-40"})],-1),k={__name:"10",setup(x){return _(t),p(),(g,v)=>(r(),a(c,n(u(s(m)(s(t),9))),{right:e(H=>[P]),default:e(()=>[f,h,l(" Heroku "),b]),_:1},16))}},N=i(k,[["__file","/@slidev/slides/10.md"]]);export{N as default}; diff --git a/09-cloud/assets/13-Bic6_nR_.js b/09-cloud/assets/13-Bic6_nR_.js new file mode 100644 index 0000000..2b03396 --- /dev/null +++ b/09-cloud/assets/13-Bic6_nR_.js @@ -0,0 +1 @@ +import{o as l,c as r,k as o,q as a,s as n,A as e,e as s}from"./modules/vue-uEYNCD1x.js";import{I as c}from"./slidev/two-cols-CFH8gQce.js";import{_,ai as t}from"./index-BFuDrq-n.js";import{p as i,u,f}from"./slidev/context-DHtX8Cxj.js";import"./modules/shiki-BzAJ3tB6.js";const m="/sa2024/09-cloud/assets/09-salesforce-logo-8xgMjhe0.png",p=s("h1",null,"典型SaaS",-1),d=s("br",null,null,-1),h=s("img",{src:m,class:"h-40"},null,-1),S=s("br",null,null,-1),g=s("ul",null,[s("li",null,"Salesforce公司于1999年由当时37岁的甲骨文(Oracle)高级副总裁,俄罗斯裔美国人马克·贝尼奥夫(Marc Benioff,1964/09/25-)创办。")],-1),x=s("br",null,null,-1),v=s("ul",null,[s("li",null,"贝尼奥夫长期推广SaaS(Software As A Service,软件即服务)的观念。Salesforce公司提供按需定制的软件服务,用户每个月需要支付类似租金的费用来使用网站上的各种服务,这些服务涉及客户关系管理的各个方面,从普通的联系人管理,产品目录到订单管理,机会管理,销售管理等。他提供一个平台,使得客户无需拥有自己的软件,也无需花费大量资金和人力用于记录的维护,储存和管理,所有的记录和数据都储存在salesforce.com上面。同时和普通的自己购买的软件不一样,用户随时可以根据需要去增加新的功能或者去除一些不必要的功能,真正地实现了按需使用。")],-1),B={__name:"13",setup(P){return i(t),u(),(b,k)=>(l(),r(c,a(n(e(f)(e(t),12))),{right:o(A=>[x,v]),default:o(()=>[p,d,h,S,g]),_:1},16))}},q=_(B,[["__file","/@slidev/slides/13.md"]]);export{q as default}; diff --git a/09-cloud/assets/14-CIjjxDra.js b/09-cloud/assets/14-CIjjxDra.js new file mode 100644 index 0000000..adaa5bc --- /dev/null +++ b/09-cloud/assets/14-CIjjxDra.js @@ -0,0 +1 @@ +import{o as e,c as a,k as r,q as n,s as _,A as s,e as o}from"./modules/vue-uEYNCD1x.js";import{I as c}from"./slidev/default-yonga11Z.js";import{_ as l,aj as t}from"./index-BFuDrq-n.js";import{p,u as i,f as m}from"./slidev/context-DHtX8Cxj.js";import"./modules/shiki-BzAJ3tB6.js";const d="/sa2024/09-cloud/assets/09-google-products-BdMpooko.png",u=o("h1",null,"典型SaaS",-1),f=o("br",null,null,-1),h=o("img",{src:d,class:"h-40"},null,-1),g={__name:"14",setup(x){return p(t),i(),(k,B)=>(e(),a(c,n(_(s(m)(s(t),13))),{default:r(()=>[u,f,h]),_:1},16))}},I=l(g,[["__file","/@slidev/slides/14.md"]]);export{I as default}; diff --git a/09-cloud/assets/15-DdtphQJ4.js b/09-cloud/assets/15-DdtphQJ4.js new file mode 100644 index 0000000..770f3b8 --- /dev/null +++ b/09-cloud/assets/15-DdtphQJ4.js @@ -0,0 +1 @@ +import{o,c as a,k as n,q as r,s as i,A as s,e as t}from"./modules/vue-uEYNCD1x.js";import{I as c}from"./slidev/default-yonga11Z.js";import{_,ak as e}from"./index-BFuDrq-n.js";import{p as l,u as p,f as m}from"./slidev/context-DHtX8Cxj.js";import"./modules/shiki-BzAJ3tB6.js";const u="/sa2024/09-cloud/assets/09-k8s-PqDei5Ap.png",d=t("h1",null,"Kubernetes",-1),f=t("br",null,null,-1),h=t("p",null,"Kubernetes (K8s) is an open-source system for automating deployment, scaling, and management of containerized applications.",-1),g=t("img",{src:u,class:"m-10 h-50"},null,-1),x=t("div",{style:{"text-align":"right","font-size":"24px"}},"https://kubernetes.io/",-1),k={__name:"15",setup(b){return l(e),p(),(v,y)=>(o(),a(c,r(i(s(m)(s(e),14))),{default:n(()=>[d,f,h,g,x]),_:1},16))}},A=_(k,[["__file","/@slidev/slides/15.md"]]);export{A as default}; diff --git a/09-cloud/assets/16-hJ9o2yLp.js b/09-cloud/assets/16-hJ9o2yLp.js new file mode 100644 index 0000000..c1d330d --- /dev/null +++ b/09-cloud/assets/16-hJ9o2yLp.js @@ -0,0 +1 @@ +import{o as r,c as a,k as t,q as i,s as n,A as o,e as s}from"./modules/vue-uEYNCD1x.js";import{I as l}from"./slidev/two-cols-CFH8gQce.js";import{_,al as e}from"./index-BFuDrq-n.js";import{p as c,u as p,f as m}from"./slidev/context-DHtX8Cxj.js";import"./modules/shiki-BzAJ3tB6.js";const u="/sa2024/09-cloud/assets/09-minikube-CpVZIVjZ.png",d="/sa2024/09-cloud/assets/09-minikube-install-BvESFCdo.png",f=s("h1",null,"Minikube",-1),h=s("br",null,null,-1),k=s("img",{src:u,class:"m-10 h-30"},null,-1),b=s("p",null,[s("a",{href:"https://minikube.sigs.k8s.io/docs/start/",target:"_blank",rel:"noopener"},"https://minikube.sigs.k8s.io/docs/start/")],-1),g=s("p",null,[s("br"),s("br"),s("br"),s("img",{src:d,class:"h-70"})],-1),x={__name:"16",setup(v){return c(e),p(),(B,C)=>(r(),a(l,i(n(o(m)(o(e),15))),{right:t(P=>[g]),default:t(()=>[f,h,k,b]),_:1},16))}},Z=_(x,[["__file","/@slidev/slides/16.md"]]);export{Z as default}; diff --git a/09-cloud/assets/17-DUInkWjq.js b/09-cloud/assets/17-DUInkWjq.js new file mode 100644 index 0000000..4c2d00e --- /dev/null +++ b/09-cloud/assets/17-DUInkWjq.js @@ -0,0 +1 @@ +import{o,c as a,k as r,q as m,s as n,A as s,e as t}from"./modules/vue-uEYNCD1x.js";import{I as p}from"./slidev/default-yonga11Z.js";import{_,am as e}from"./index-BFuDrq-n.js";import{p as c,u as l,f as i}from"./slidev/context-DHtX8Cxj.js";import"./modules/shiki-BzAJ3tB6.js";const d="/sa2024/09-cloud/assets/09-deployment-models-BpyYXYqh.png",f=t("h1",null,"Deployment Models",-1),u=t("img",{src:d,class:"m-20 h-80"},null,-1),h={__name:"17",setup(x){return c(e),l(),(y,B)=>(o(),a(p,m(n(s(i)(s(e),16))),{default:r(()=>[f,u]),_:1},16))}},C=_(h,[["__file","/@slidev/slides/17.md"]]);export{C as default}; diff --git a/09-cloud/assets/2-DH6k4oxm.js b/09-cloud/assets/2-DH6k4oxm.js new file mode 100644 index 0000000..b46cb61 --- /dev/null +++ b/09-cloud/assets/2-DH6k4oxm.js @@ -0,0 +1 @@ +import{o as e,c as a,k as r,q as n,s as _,A as t,e as s}from"./modules/vue-uEYNCD1x.js";import{I as p}from"./slidev/default-yonga11Z.js";import{_ as c,a7 as o}from"./index-BFuDrq-n.js";import{p as l,u as i,f as m}from"./slidev/context-DHtX8Cxj.js";import"./modules/shiki-BzAJ3tB6.js";const u="/sa2024/09-cloud/assets/09-powerplant-Clz3v7W5.png",d=s("h1",null,"Cloud Computing",-1),f=s("img",{src:u,class:"m-10 h-60"},null,-1),h=s("p",null,"云计算使计算分布在大量的分布式计算机上(而非本地计算机或远程服务器中),使得用户可以根据需求访问计算和存储等资源。",-1),x=s("p",null,"云计算架构指的是软件与硬件资源间的设计决策(但也影响软件本身的设计)。",-1),C={__name:"2",setup(g){return l(o),i(),(v,k)=>(e(),a(p,n(_(t(m)(t(o),1))),{default:r(()=>[d,f,h,x]),_:1},16))}},j=c(C,[["__file","/@slidev/slides/2.md"]]);export{j as default}; diff --git a/09-cloud/assets/22-DtnHoa2d.js b/09-cloud/assets/22-DtnHoa2d.js new file mode 100644 index 0000000..f2e67a9 --- /dev/null +++ b/09-cloud/assets/22-DtnHoa2d.js @@ -0,0 +1 @@ +import{o as e,c as a,k as t,q as n,s as i,A as o,e as s}from"./modules/vue-uEYNCD1x.js";import{I as l}from"./slidev/two-cols-CFH8gQce.js";import{_ as p,au as r}from"./index-BFuDrq-n.js";import{p as _,u as c,f as d}from"./slidev/context-DHtX8Cxj.js";import"./modules/shiki-BzAJ3tB6.js";const m="/sa2024/09-cloud/assets/09-spring-cloud-BS9lxmQm.png",u=s("h1",null,"Spring Cloud",-1),f=s("br",null,null,-1),h=s("p",null,"Spring Cloud主要是微服务架构应用相关技术与机制与各个云计算平台的适配机制。",-1),g=s("div",{style:{"text-align":"right"}},"https://spring.io/projects/spring-cloud",-1),x=s("img",{src:m,class:"m-10 h-90"},null,-1),v={__name:"22",setup(B){return _(r),c(),(C,P)=>(e(),a(l,n(i(o(d)(o(r),21))),{right:t(S=>[x]),default:t(()=>[u,f,h,g]),_:1},16))}},q=p(v,[["__file","/@slidev/slides/22.md"]]);export{q as default}; diff --git a/09-cloud/assets/4-CPXEj3LN.js b/09-cloud/assets/4-CPXEj3LN.js new file mode 100644 index 0000000..63aaee0 --- /dev/null +++ b/09-cloud/assets/4-CPXEj3LN.js @@ -0,0 +1 @@ +import{o,c as a,k as s,q as l,s as n,A as t,e,a6 as i}from"./modules/vue-uEYNCD1x.js";import{I as c}from"./slidev/two-cols-CFH8gQce.js";import{_ as d,a9 as r}from"./index-BFuDrq-n.js";import{p as _,u,f as m}from"./slidev/context-DHtX8Cxj.js";import"./modules/shiki-BzAJ3tB6.js";const p="/sa2024/09-cloud/assets/09-service-models-CKwCSUmJ.png",f=e("h1",null,"Service Models",-1),h=e("br",null,null,-1),S=e("img",{src:p,class:"m-10 h-60"},null,-1),v=e("p",null,[e("br"),e("br"),e("br"),i(' Cloud-computing providers offer their "services" according to different models, of which the three standard models per NIST(美国国家标准技术研究所) are')],-1),g=e("ul",null,[e("li",null,"Infrastructure as a Service (IaaS)"),e("li",null,"Platform as a Service (PaaS)"),e("li",null,"and Software as a Service (SaaS).")],-1),x=e("p",null,"These models offer increasing abstraction; they are thus often portrayed as layers in a stack.",-1),P={__name:"4",setup(b){return _(r),u(),(C,I)=>(o(),a(c,l(n(t(m)(t(r),3))),{right:s(k=>[v,g,x]),default:s(()=>[f,h,S]),_:1},16))}},V=d(P,[["__file","/@slidev/slides/4.md"]]);export{V as default}; diff --git a/09-cloud/assets/6-Cikq6vgd.js b/09-cloud/assets/6-Cikq6vgd.js new file mode 100644 index 0000000..1ea5c38 --- /dev/null +++ b/09-cloud/assets/6-Cikq6vgd.js @@ -0,0 +1 @@ +import{o as a,c as n,k as o,q as i,s as c,A as e,e as s,a6 as t}from"./modules/vue-uEYNCD1x.js";import{I as l}from"./slidev/two-cols-CFH8gQce.js";import{_ as p,ab as r}from"./index-BFuDrq-n.js";import{p as _,u as m,f as u}from"./slidev/context-DHtX8Cxj.js";import"./modules/shiki-BzAJ3tB6.js";const d="/sa2024/09-cloud/assets/09-buy-iaas-64SwJXM_.png",h="/sa2024/09-cloud/assets/09-hypervisor-3_lIAVda.png",f=s("h1",null,"典型IaaS",-1),g=s("img",{src:d,class:"m-10 h-50"},null,-1),b=s("p",null,[t("A "),s("span",{style:{color:"red","font-weight":"bold"}},"hypervisor"),t(" runs the "),s("span",{style:{color:"green","font-weight":"bold"}},"virtual machines"),t(" as guests. Pools of hypervisors within the cloud operational system can support large numbers of virtual machines and the ability to scale services up and down according to customers’ varying requirements.")],-1),v=s("p",null,[s("br"),s("br"),s("br"),s("br"),s("img",{src:h,class:"h-80"})],-1),y={__name:"6",setup(w){return _(r),m(),(x,P)=>(a(),n(l,i(c(e(u)(e(r),5))),{right:o(I=>[v]),default:o(()=>[f,g,b]),_:1},16))}},q=p(y,[["__file","/@slidev/slides/6.md"]]);export{q as default}; diff --git a/09-cloud/assets/7-COJWzHJp.js b/09-cloud/assets/7-COJWzHJp.js new file mode 100644 index 0000000..c892f79 --- /dev/null +++ b/09-cloud/assets/7-COJWzHJp.js @@ -0,0 +1 @@ +import{o as a,c as r,k as s,q as n,s as i,A as o,e,a6 as c}from"./modules/vue-uEYNCD1x.js";import{I as l}from"./slidev/two-cols-CFH8gQce.js";import{_ as p,ac as t}from"./index-BFuDrq-n.js";import{p as u,u as d,f as m}from"./slidev/context-DHtX8Cxj.js";import"./modules/shiki-BzAJ3tB6.js";const _="/sa2024/09-cloud/assets/09-lxc-docker-DItoxH0X.png",h="/sa2024/09-cloud/assets/09-container-CT_LqMq0.png",f=e("h1",null,"容器化技术",-1),g=e("img",{src:_,class:"m-10 h-30"},null,-1),x=e("p",null,"Linux containers run in isolated partitions of a single Linux kernel running directly on the physical hardware. Linux cgroups and namespaces are the underlying Linux kernel technologies used to isolate, secure and manage the containers. Containerisation offers higher performance than virtualization because there is no hypervisor overhead.",-1),b=e("p",null,[e("br"),e("br"),e("br"),e("br"),c(" Container capacity auto-scales dynamically with computing load, which eliminates the problem of over-provisioning and enables usage-based billing. "),e("br"),e("img",{src:h,class:"h-60"})],-1),v={__name:"7",setup(y){return u(t),d(),(k,L)=>(a(),r(l,n(i(o(m)(o(t),6))),{right:s(C=>[b]),default:s(()=>[f,g,x]),_:1},16))}},T=p(v,[["__file","/@slidev/slides/7.md"]]);export{T as default}; diff --git a/09-cloud/assets/8-DkhwklpO.js b/09-cloud/assets/8-DkhwklpO.js new file mode 100644 index 0000000..7b5182d --- /dev/null +++ b/09-cloud/assets/8-DkhwklpO.js @@ -0,0 +1 @@ +import{o as r,c as n,k as o,q as a,s as i,A as s,e}from"./modules/vue-uEYNCD1x.js";import{I as l}from"./slidev/two-cols-CFH8gQce.js";import{_ as u,ad as t}from"./index-BFuDrq-n.js";import{p as c,u as _,f as d}from"./slidev/context-DHtX8Cxj.js";import"./modules/shiki-BzAJ3tB6.js";const p="/sa2024/09-cloud/assets/09-k8s-logo-BYWU_F5u.png",m=e("h1",null,"Kubernetes",-1),f=e("br",null,null,-1),h=e("ul",null,[e("li",null,"Kubernetes(常简称为K8s)是用于自动部署、扩展和管理“容器化(containerized)应用程序”的开源系统。该系统由Google设计并捐赠给Cloud Native Computing Foundation(今属Linux基金会)来使用。"),e("li",null,"Kubernetes(在希腊语意为“舵手”或“驾驶员”)由Joe Beda、Brendan Burns和Craig McLuckie创立,并由其他谷歌工程师,包括Brian Grant和Tim Hockin等进行加盟创作,并由谷歌在2014年首次对外宣布 。")],-1),b=e("p",null,[e("br"),e("br"),e("br"),e("br"),e("img",{src:p,class:"h-60"})],-1),g={__name:"8",setup(B){return c(t),_(),(k,x)=>(r(),n(l,a(i(s(d)(s(t),7))),{right:o(C=>[b]),default:o(()=>[m,f,h]),_:1},16))}},z=u(g,[["__file","/@slidev/slides/8.md"]]);export{z as default}; diff --git a/09-cloud/assets/ClicksSlider-qq1Ub2AL.css b/09-cloud/assets/ClicksSlider-qq1Ub2AL.css new file mode 100644 index 0000000..ded5c92 --- /dev/null +++ b/09-cloud/assets/ClicksSlider-qq1Ub2AL.css @@ -0,0 +1 @@ +.range[data-v-e916140b]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent}.range[data-v-e916140b]::-webkit-slider-thumb{-webkit-appearance:none;height:100%;width:var(--thumb-width, .5rem)}.range[data-v-e916140b]::-moz-range-thumb{height:100%;width:var(--thumb-width, .5rem)} diff --git a/09-cloud/assets/ContextMenu-DSnskk1a.css b/09-cloud/assets/ContextMenu-DSnskk1a.css new file mode 100644 index 0000000..b193adb --- /dev/null +++ b/09-cloud/assets/ContextMenu-DSnskk1a.css @@ -0,0 +1 @@ +.select-list[data-v-9e4a80e3]{padding-top:.5rem;padding-bottom:.5rem}.item[data-v-9e4a80e3]{display:flex;cursor:default;white-space:nowrap;border-radius:.25rem;padding:.25rem 1rem}.item svg[data-v-9e4a80e3]{margin-top:auto;margin-bottom:auto;margin-right:.25rem;margin-left:-.5rem}.item[data-v-9e4a80e3]:hover{--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity));--un-bg-opacity:.1}.title[data-v-9e4a80e3]{padding:.25rem 1.75rem;font-size:.75rem;line-height:1rem;letter-spacing:.1em;text-transform:uppercase;opacity:.5}.autocomplete-list[data-v-a9c46306]{margin-top:.25rem;--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity));overflow:auto;max-height:calc(100vh - 100px)}.dark .autocomplete-list[data-v-a9c46306]{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.autocomplete[data-v-a9c46306]{cursor:pointer}#slideshow[data-v-63954aac]{height:100%} diff --git a/09-cloud/assets/DrawingControls-C5T1oZL5.css b/09-cloud/assets/DrawingControls-C5T1oZL5.css new file mode 100644 index 0000000..bf95bff --- /dev/null +++ b/09-cloud/assets/DrawingControls-C5T1oZL5.css @@ -0,0 +1 @@ +.v-popper--theme-menu .v-popper__arrow-inner{border-color:#9ca3af33} diff --git a/09-cloud/assets/DrawingPreview-DJ7dOR_1.css b/09-cloud/assets/DrawingPreview-DJ7dOR_1.css new file mode 100644 index 0000000..d8ce4e2 --- /dev/null +++ b/09-cloud/assets/DrawingPreview-DJ7dOR_1.css @@ -0,0 +1 @@ +#slide-container{position:relative;break-after:page;overflow:hidden}#slide-content{position:relative;position:absolute;left:50%;top:50%;overflow:hidden;--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark #slide-content{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.disable-view-transition[data-v-1e2c950d] *{view-transition-name:none!important}.slidev-page[data-v-1e2c950d]{position:absolute;width:100%;height:100%} diff --git a/09-cloud/assets/NoteDisplay-C6AkVv8T.css b/09-cloud/assets/NoteDisplay-C6AkVv8T.css new file mode 100644 index 0000000..74ddf96 --- /dev/null +++ b/09-cloud/assets/NoteDisplay-C6AkVv8T.css @@ -0,0 +1 @@ +.slidev-note :first-child{margin-top:0} diff --git a/09-cloud/assets/index-BFuDrq-n.js b/09-cloud/assets/index-BFuDrq-n.js new file mode 100644 index 0000000..8742a18 --- /dev/null +++ b/09-cloud/assets/index-BFuDrq-n.js @@ -0,0 +1,51 @@ +const __vite__fileDeps=["assets/slidev/1-D2WyDkwU.js","assets/modules/vue-uEYNCD1x.js","assets/slidev/context-DHtX8Cxj.js","assets/modules/shiki-BzAJ3tB6.js","assets/modules/shiki-BSchMNmt.css","assets/2-DH6k4oxm.js","assets/slidev/default-yonga11Z.js","assets/slidev/3-Fz1KCckA.js","assets/4-CPXEj3LN.js","assets/slidev/two-cols-CFH8gQce.js","assets/slidev/5-B-2VTwFI.js","assets/6-Cikq6vgd.js","assets/7-COJWzHJp.js","assets/8-DkhwklpO.js","assets/slidev/9-6-gQL-t_.js","assets/10-CQ7c45BV.js","assets/slidev/11-BIvtd7fN.js","assets/slidev/12-BBVehUCr.js","assets/13-Bic6_nR_.js","assets/14-CIjjxDra.js","assets/15-DdtphQJ4.js","assets/16-hJ9o2yLp.js","assets/17-DUInkWjq.js","assets/slidev/18-FBQHE2W6.js","assets/modules/unplugin-icons-BJo5e7Wi.js","assets/slidev/19-Q4jnHZHO.js","assets/slidev/20-AZe8E_fg.js","assets/slidev/21-Bkehy0FX.js","assets/22-DtnHoa2d.js","assets/slidev/23-DxmtPpoD.js","assets/slidev/entry-qCn6aCoD.js","assets/slidev/overview-DKUL7nzD.js","assets/slidev/DrawingPreview-BXbHbm3q.js","assets/DrawingPreview-DJ7dOR_1.css","assets/slidev/IconButton-uR_HaYJq.js","assets/slidev/NoteDisplay-D4x_FlS1.js","assets/NoteDisplay-C6AkVv8T.css","assets/slidev/ClicksSlider-02H8sKm3.js","assets/ClicksSlider-qq1Ub2AL.css","assets/slidev/notes-D9zLfLJj.js","assets/slidev/presenter-DOJBRr30.js","assets/slidev/ContextMenu-Ds2AbBeg.js","assets/ContextMenu-DSnskk1a.css","assets/slidev/DrawingControls-DNTZFzgG.js","assets/DrawingControls-C5T1oZL5.css","assets/presenter-D5oC5Gjj.css","assets/slidev/play-D5YxM0Xj.js","assets/play-CoA43pdi.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import{t as E,y as p,n as Ot,z as zn,A as ms,B as nn,C as qe,D as Q,E as qn,G as Kn,H as Jn,I as on,J as S,K as Gn,L as Qn,o as rn,b as Zn,M as ys,N as Ht,O as Yn,P as Xn,Q as te,R as an,S as Rt,T as ln,U as eo,d as to,r as so,c as no,V as oo,W as io,X as ro,Y as ao,Z as lo,_ as co,$ as uo,a0 as fo,a1 as ho,a2 as po,a3 as go,a4 as mo,a5 as yo,u as vo}from"./modules/vue-uEYNCD1x.js";import{T as _o}from"./modules/shiki-BzAJ3tB6.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function t(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=t(o);fetch(o.href,i)}})();function rt(s,e,t){return Math.min(t,Math.max(e,s))}function wo(...s){return ko(s).reduce((e,t)=>e+t,0)}function bo(s){return s=s??[],Array.isArray(s)?s:[s]}function ko(s){return bo(s).flat(1)}function qa(...s){let e,t,n;s.length===1?(e=0,n=1,[t]=s):[e,t,n=1]=s;const o=[];let i=e;for(;ie(t,n)).filter(So))}const H={theme:"default",title:"Software Architecture",titleTemplate:"%s - Slidev",addons:[],remoteAssets:!1,monaco:!0,monacoTypesSource:"local",monacoTypesAdditionalPackages:[],monacoRunAdditionalDeps:[],download:!1,export:{},info:!1,highlighter:"shiki",twoslash:!0,lineNumbers:!1,colorSchema:"auto",routerMode:"history",aspectRatio:1.7777777777777777,canvasWidth:980,exportFilename:"",selectable:!1,themeConfig:{},fonts:{sans:['"Avenir Next"','"Nunito Sans"',"ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:['"Fira Code"',"ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"],webfonts:["Avenir Next","Nunito Sans","Fira Code"],provider:"google",local:["Avenir Next"],italic:!1,weights:["200","400","600"]},favicon:"https://cdn.jsdelivr.net/gh/slidevjs/slidev/assets/favicon.png",drawings:{enabled:!0,persist:!1,presenterOnly:!1,syncAll:!0},plantUmlServer:"https://www.plantuml.com/plantuml",codeCopy:!0,record:"dev",css:"unocss",presenter:!0,htmlAttrs:{},editor:!0,layout:"cover"},Ka="build",cn=E(H.aspectRatio??16/9),Oo=E(H.canvasWidth??980),Ja=p(()=>Math.ceil(Oo.value/cn.value)),Po=p(()=>Mo(H.themeConfig||{},(s,e)=>[`--slidev-theme-${s}`,e]));function ts(s,e={},t){for(const n in s){const o=s[n],i=t?`${t}:${n}`:n;typeof o=="object"&&o!==null?ts(o,e,i):typeof o=="function"&&(e[i]=o)}return e}const To={run:s=>s()},Eo=()=>To,un=typeof console.createTask<"u"?console.createTask:Eo;function $o(s,e){const t=e.shift(),n=un(t);return s.reduce((o,i)=>o.then(()=>n.run(()=>i(...e))),Promise.resolve())}function Lo(s,e){const t=e.shift(),n=un(t);return Promise.all(s.map(o=>n.run(()=>o(...e))))}function Ut(s,e){for(const t of[...s])t(e)}class Ao{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const o=e;let i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let r=i.message;r||(r=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(r)||(console.warn(r),this._deprecatedMessages.add(r))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,o=(...i)=>(typeof n=="function"&&n(),n=void 0,o=void 0,t(...i));return n=this.hook(e,o),n}removeHook(e,t){if(this._hooks[e]){const n=this._hooks[e].indexOf(t);n!==-1&&this._hooks[e].splice(n,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];delete this._hooks[e];for(const o of n)this.hook(e,o)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=ts(e),n=Object.keys(t).map(o=>this.hook(o,t[o]));return()=>{for(const o of n.splice(0,n.length))o()}}removeHooks(e){const t=ts(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith($o,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(Lo,e,...t)}callHookWith(e,t,...n){const o=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Ut(this._before,o);const i=e(t in this._hooks?[...this._hooks[t]]:[],n);return i instanceof Promise?i.finally(()=>{this._after&&o&&Ut(this._after,o)}):(this._after&&o&&Ut(this._after,o),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}}function Co(){return new Ao}function Io(s){return Array.isArray(s)?s:[s]}const Do=["title","titleTemplate","script","style","noscript"],yt=["base","meta","link","style","script","noscript"],jo=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Ho=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],fn=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],Ro=typeof window<"u";function vs(s){let e=9;for(let t=0;t>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Is(s){return s._h||vs(s._d?s._d:`${s.tag}:${s.textContent||s.innerHTML||""}:${Object.entries(s.props).map(([e,t])=>`${e}:${String(t)}`).join(",")}`)}function hn(s,e){const{props:t,tag:n}=s;if(Ho.includes(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";const o=["id"];n==="meta"&&o.push("name","property","http-equiv");for(const i of o)if(typeof t[i]<"u"){const r=String(t[i]);return e&&!e(r)?!1:`${n}:${i}:${r}`}return!1}function Ds(s,e){return s==null?e||null:typeof s=="function"?s(e):s}async function No(s,e,t){const n={tag:s,props:await dn(typeof e=="object"&&typeof e!="function"&&!(e instanceof Promise)?{...e}:{[["script","noscript","style"].includes(s)?"innerHTML":"textContent"]:e},["templateParams","titleTemplate"].includes(s))};return fn.forEach(o=>{const i=typeof n.props[o]<"u"?n.props[o]:t[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||Do.includes(n.tag))&&(n[o==="children"?"innerHTML":o]=i),delete n.props[o])}),n.props.body&&(n.tagPosition="bodyClose",delete n.props.body),n.tag==="script"&&typeof n.innerHTML=="object"&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||"application/json"),Array.isArray(n.props.content)?n.props.content.map(o=>({...n,props:{...n.props,content:o}})):n}function Fo(s,e){var n;const t=s==="class"?" ":";";return typeof e=="object"&&!Array.isArray(e)&&(e=Object.entries(e).filter(([,o])=>o).map(([o,i])=>s==="style"?`${o}:${i}`:o)),(n=Array.isArray(e)?e.join(t):e)==null?void 0:n.split(t).filter(o=>o.trim()).filter(Boolean).join(t)}async function dn(s,e){for(const t of Object.keys(s)){if(["class","style"].includes(t)){s[t]=Fo(t,s[t]);continue}if(s[t]instanceof Promise&&(s[t]=await s[t]),!e&&!fn.includes(t)){const n=String(s[t]),o=t.startsWith("data-");n==="true"||n===""?s[t]=o?"true":!0:s[t]||(o&&n==="false"?s[t]="false":delete s[t])}}return s}const xo=10;async function Vo(s){const e=[];return Object.entries(s.resolvedInput).filter(([t,n])=>typeof n<"u"&&jo.includes(t)).forEach(([t,n])=>{const o=Io(n);e.push(...o.map(i=>No(t,i,s)).flat())}),(await Promise.all(e)).flat().filter(Boolean).map((t,n)=>(t._e=s._i,s.mode&&(t._m=s.mode),t._p=(s._i<l&&l[c]||void 0,e):a=e[r],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=s;try{o=decodeURI(s)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(r=>{const a=n(r.slice(1));typeof a=="string"&&(s=s.replace(new RegExp(`\\${r}(\\W|$)`,"g"),(l,c)=>`${a}${c}`).trim())}),s.includes(ae)&&(s.endsWith(ae)&&(s=s.slice(0,-ae.length).trim()),s.startsWith(ae)&&(s=s.slice(ae.length).trim()),s=s.replace(new RegExp(`\\${ae}\\s*\\${ae}`,"g"),ae),s=vt(s,{separator:t},t)),s}async function Wo(s,e={}){var u;const t=e.document||s.resolvedOptions.document;if(!t||!s.dirty)return;const n={shouldRender:!0,tags:[]};if(await s.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const o=(await s.resolveTags()).map(f=>({tag:f,id:yt.includes(f.tag)?Is(f):f.tag,shouldRender:!0}));let i=s._dom;if(!i){i={elMap:{htmlAttrs:t.documentElement,bodyAttrs:t.body}};for(const f of["body","head"]){const h=(u=t[f])==null?void 0:u.children,d=[];for(const g of[...h].filter(m=>yt.includes(m.tagName.toLowerCase()))){const m={tag:g.tagName.toLowerCase(),props:await dn(g.getAttributeNames().reduce((_,w)=>({..._,[w]:g.getAttribute(w)}),{})),innerHTML:g.innerHTML};let y=1,v=hn(m);for(;v&&d.find(_=>_._d===v);)v=`${v}:${y++}`;m._d=v||void 0,d.push(m),i.elMap[g.getAttribute("data-hid")||Is(m)]=g}}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function r(f,h,d){const g=`${f}:${h}`;i.sideEffects[g]=d,delete i.pendingSideEffects[g]}function a({id:f,$el:h,tag:d}){const g=d.tag.endsWith("Attrs");i.elMap[f]=h,g||(["textContent","innerHTML"].forEach(m=>{d[m]&&d[m]!==h[m]&&(h[m]=d[m])}),r(f,"el",()=>{var m;(m=i.elMap[f])==null||m.remove(),delete i.elMap[f]}));for(const[m,y]of Object.entries(d._eventHandlers||{}))h.getAttribute(`data-${m}`)!==""&&((d.tag==="bodyAttrs"?t.defaultView:h).addEventListener(m.replace("on",""),y.bind(h)),h.setAttribute(`data-${m}`,""));Object.entries(d.props).forEach(([m,y])=>{const v=`attr:${m}`;if(m==="class")for(const _ of(y||"").split(" ").filter(Boolean))g&&r(f,`${v}:${_}`,()=>h.classList.remove(_)),!h.classList.contains(_)&&h.classList.add(_);else if(m==="style")for(const _ of(y||"").split(";").filter(Boolean)){const[w,...b]=_.split(":").map(O=>O.trim());r(f,`${v}:${_}:${w}`,()=>{h.style.removeProperty(w)}),h.style.setProperty(w,b.join(":"))}else h.getAttribute(m)!==y&&h.setAttribute(m,y===!0?"":String(y)),g&&r(f,v,()=>h.removeAttribute(m))})}const l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:h,shouldRender:d,id:g}=f;if(d){if(h.tag==="title"){t.title=h.textContent;continue}f.$el=f.$el||i.elMap[g],f.$el?a(f):yt.includes(h.tag)&&l.push(f)}}for(const f of l){const h=f.tag.tagPosition||"head";f.$el=t.createElement(f.tag.tag),a(f),c[h]=c[h]||t.createDocumentFragment(),c[h].appendChild(f.$el)}for(const f of o)await s.hooks.callHook("dom:renderTag",f,t,r);c.head&&t.head.appendChild(c.head),c.bodyOpen&&t.body.insertBefore(c.bodyOpen,t.body.firstChild),c.bodyClose&&t.body.appendChild(c.bodyClose),Object.values(i.pendingSideEffects).forEach(f=>f()),s._dom=i,s.dirty=!1,await s.hooks.callHook("dom:rendered",{renders:o})}async function Uo(s,e={}){const t=e.delayFn||(n=>setTimeout(n,10));return s._domUpdatePromise=s._domUpdatePromise||new Promise(n=>t(async()=>{await Wo(s,e),delete s._domUpdatePromise,n()}))}function zo(s){return e=>{var n,o;const t=((o=(n=e.resolvedOptions.document)==null?void 0:n.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return t&&e.push(JSON.parse(t)),{mode:"client",hooks:{"entries:updated":function(i){Uo(i,s)}}}}}const qo=["templateParams","htmlAttrs","bodyAttrs"],Ko={hooks:{"tag:normalise":function({tag:s}){["hid","vmid","key"].forEach(n=>{s.props[n]&&(s.key=s.props[n],delete s.props[n])});const t=hn(s)||(s.key?`${s.tag}:${s.key}`:!1);t&&(s._d=t)},"tags:resolve":function(s){const e={};s.tags.forEach(n=>{const o=(n.key?`${n.tag}:${n.key}`:n._d)||n._p,i=e[o];if(i){let a=n==null?void 0:n.tagDuplicateStrategy;if(!a&&qo.includes(n.tag)&&(a="merge"),a==="merge"){const l=i.props;["class","style"].forEach(c=>{l[c]&&(n.props[c]?(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),n.props[c]=`${l[c]} ${n.props[c]}`):n.props[c]=l[c])}),e[o].props={...l,...n.props};return}else if(n._e===i._e){i._duped=i._duped||[],n._d=`${i._d}:${i._duped.length+1}`,i._duped.push(n);return}else if(Pt(n)>Pt(i))return}const r=Object.keys(n.props).length+(n.innerHTML?1:0)+(n.textContent?1:0);if(yt.includes(n.tag)&&r===0){delete e[o];return}e[o]=n});const t=[];Object.values(e).forEach(n=>{const o=n._duped;delete n._duped,t.push(n),o&&t.push(...o)}),s.tags=t,s.tags=s.tags.filter(n=>!(n.tag==="meta"&&(n.props.name||n.props.property)&&!n.props.content))}}},Jo={mode:"server",hooks:{"tags:resolve":function(s){const e={};s.tags.filter(t=>["titleTemplate","templateParams","title"].includes(t.tag)&&t._m==="server").forEach(t=>{e[t.tag]=t.tag.startsWith("title")?t.textContent:t.props}),Object.keys(e).length&&s.tags.push({tag:"script",innerHTML:JSON.stringify(e),props:{id:"unhead:payload",type:"application/json"}})}}},Go=["script","link","bodyAttrs"],Qo=s=>({hooks:{"tags:resolve":function(e){for(const t of e.tags.filter(n=>Go.includes(n.tag)))Object.entries(t.props).forEach(([n,o])=>{n.startsWith("on")&&typeof o=="function"&&(s.ssr&&Rs.includes(n)?t.props[n]=`this.dataset.${n}fired = true`:delete t.props[n],t._eventHandlers=t._eventHandlers||{},t._eventHandlers[n]=o)}),s.ssr&&t._eventHandlers&&(t.props.src||t.props.href)&&(t.key=t.key||vs(t.props.src||t.props.href))},"dom:renderTag":function({$el:e,tag:t}){var n,o;for(const i of Object.keys((e==null?void 0:e.dataset)||{}).filter(r=>Rs.some(a=>`${a}fired`===r))){const r=i.replace("fired","");(o=(n=t._eventHandlers)==null?void 0:n[r])==null||o.call(e,new Event(r.replace("on","")))}}}}),Zo=["link","style","script","noscript"],Yo={hooks:{"tag:normalise":({tag:s})=>{s.key&&Zo.includes(s.tag)&&(s.props["data-hid"]=s._h=vs(s.key))}}},Xo={hooks:{"tags:resolve":s=>{const e=t=>{var n;return(n=s.tags.find(o=>o._d===t))==null?void 0:n._p};for(const{prefix:t,offset:n}of Bo)for(const o of s.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(t))){const i=e(o.tagPriority.replace(t,""));typeof i<"u"&&(o._p=i+n)}s.tags.sort((t,n)=>t._p-n._p).sort((t,n)=>Pt(t)-Pt(n))}}},ei={meta:"content",link:"href",htmlAttrs:"lang"},ti=s=>({hooks:{"tags:resolve":e=>{var a;const{tags:t}=e,n=(a=t.find(l=>l.tag==="title"))==null?void 0:a.textContent,o=t.findIndex(l=>l.tag==="templateParams"),i=o!==-1?t[o].props:{},r=i.separator||"|";delete i.separator,i.pageTitle=vt(i.pageTitle||n||"",i,r);for(const l of t.filter(c=>c.processTemplateParams!==!1)){const c=ei[l.tag];c&&typeof l.props[c]=="string"?l.props[c]=vt(l.props[c],i,r):(l.processTemplateParams===!0||["titleTemplate","title"].includes(l.tag))&&["innerHTML","textContent"].forEach(u=>{typeof l[u]=="string"&&(l[u]=vt(l[u],i,r))})}s._templateParams=i,s._separator=r,e.tags=t.filter(l=>l.tag!=="templateParams")}}}),si={hooks:{"tags:resolve":s=>{const{tags:e}=s;let t=e.findIndex(o=>o.tag==="titleTemplate");const n=e.findIndex(o=>o.tag==="title");if(n!==-1&&t!==-1){const o=Ds(e[t].textContent,e[n].textContent);o!==null?e[n].textContent=o||e[n].textContent:delete e[n]}else if(t!==-1){const o=Ds(e[t].textContent);o!==null&&(e[t].textContent=o,e[t].tag="title",t=-1)}t!==-1&&delete e[t],s.tags=e.filter(Boolean)}}},ni={hooks:{"tags:afterResolve":function(s){for(const e of s.tags)typeof e.innerHTML=="string"&&(e.innerHTML&&["application/ld+json","application/json"].includes(e.props.type)?e.innerHTML=e.innerHTML.replace(/{a.dirty=!0,e.callHook("entries:updated",a)};let o=0,i=[];const r=[],a={plugins:r,dirty:!1,resolvedOptions:s,hooks:e,headEntries(){return i},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!r.some(u=>u.key===c.key))&&(r.push(c),Ns(c.mode,t)&&e.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:o++,input:l,...c};return Ns(u.mode,t)&&(i.push(u),n()),{dispose(){i=i.filter(f=>f._i!==u._i),e.callHook("entries:updated",a),n()},patch(f){i=i.map(h=>(h._i===u._i&&(h.input=u.input=f),h)),n()}}},async resolveTags(){const l={tags:[],entries:[...i]};await e.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await Vo(c)){const h={tag:f,entry:c,resolvedOptions:a.resolvedOptions};await e.callHook("tag:normalise",h),l.tags.push(h.tag)}}return await e.callHook("tags:beforeResolve",l),await e.callHook("tags:resolve",l),await e.callHook("tags:afterResolve",l),l.tags},ssr:t};return[Ko,Jo,Qo,Yo,Xo,ti,si,ni,...(s==null?void 0:s.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function ri(){return pn}const ai=zn.startsWith("3");function li(s){return typeof s=="function"?s():ms(s)}function Tt(s,e=""){if(s instanceof Promise)return s;const t=li(s);return!s||!t?t:Array.isArray(t)?t.map(n=>Tt(n,e)):typeof t=="object"?Object.fromEntries(Object.entries(t).map(([n,o])=>n==="titleTemplate"||n.startsWith("on")?[n,ms(o)]:[n,Tt(o,n)])):t}const ci={hooks:{"entries:resolve":function(s){for(const e of s.entries)e.resolvedInput=Tt(e.input)}}},gn="usehead";function ui(s){return{install(t){ai&&(t.config.globalProperties.$unhead=s,t.config.globalProperties.$head=s,t.provide(gn,s))}}.install}function fi(s={}){s.domDelayFn=s.domDelayFn||(t=>Ot(()=>setTimeout(()=>t(),0)));const e=oi(s);return e.use(ci),e.install=ui(e),e}const Fs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xs="__unhead_injection_handler__";function hi(){if(xs in Fs)return Fs[xs]();const s=nn(gn);return s||console.warn("Unhead is missing Vue context, falling back to shared context. This may have unexpected results."),s||ri()}function di(s,e={}){const t=e.head||hi();if(t)return t.ssr?t.push(s,e):pi(t,s,e)}function pi(s,e,t={}){const n=E(!1),o=E({});qe(()=>{o.value=n.value?{}:Tt(e)});const i=s.push(o.value,t);return Q(o,a=>{i.patch(a)}),on()&&(qn(()=>{i.dispose()}),Kn(()=>{n.value=!0}),Jn(()=>{n.value=!1})),i}function mn(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(2,10)}function Z(s,e,t){Object.defineProperty(s,e,{value:t,writable:!0,enumerable:!1})}const Re=S({page:0,clicks:0});let gi=[],mi=[];Z(Re,"$syncUp",!0);Z(Re,"$syncDown",!0);Z(Re,"$paused",!1);Z(Re,"$onSet",s=>gi.push(s));Z(Re,"$onPatch",s=>mi.push(s));mn();Z(Re,"$patch",async()=>!1);function yn(s,e,t=!1){const n=[];let o=!1,i=!1,r,a;const l=S(e);function c(d){n.push(d)}function u(d,g){l[d]!==g&&(clearTimeout(r),o=!0,l[d]=g,r=setTimeout(()=>o=!1,0))}function f(d){o||(clearTimeout(a),i=!0,Object.entries(d).forEach(([g,m])=>{l[g]=m}),a=setTimeout(()=>i=!1,0))}function h(d){let g;t?t&&window.addEventListener("storage",y=>{y&&y.key===d&&y.newValue&&f(JSON.parse(y.newValue))}):(g=new BroadcastChannel(d),g.addEventListener("message",y=>f(y.data)));function m(){!t&&g&&!i?g.postMessage(Gn(l)):t&&!i&&window.localStorage.setItem(d,JSON.stringify(l)),o||n.forEach(y=>y(l))}if(Q(l,m,{deep:!0,flush:"sync"}),t){const y=window.localStorage.getItem(d);y&&f(JSON.parse(y))}}return{init:h,onPatch:c,patch:u,state:l}}const{init:yi,onPatch:vi,patch:Ze,state:Ga}=yn(Re,{page:1,clicks:0,viewerPage:1,viewerClicks:0}),Ne=S({});let _i=[],wi=[];Z(Ne,"$syncUp",!0);Z(Ne,"$syncDown",!0);Z(Ne,"$paused",!1);Z(Ne,"$onSet",s=>_i.push(s));Z(Ne,"$onPatch",s=>wi.push(s));mn();Z(Ne,"$patch",async()=>!1);const{init:bi,onPatch:Qa,patch:Za,state:Ya}=yn(Ne,{},!1),Nt="$$slidev-clicks-context",_s="$$slidev-page",vn="$$slidev-slide-element",ki="$$slidev-slide-scale",Si="$$slidev-context",Xa="$$slidev-route",ws="$$slidev-render-context",el="$$slidev-active",Mi="$$slidev-fontmatter",Oi="$$slidev-slide-zoom",_t="slidev-vclick-target",Ye="slidev-vclick-hidden",Xe="slidev-vclick-fade",zt="slidev-vclick-hidden-explicitly",qt="slidev-vclick-current",Kt="slidev-vclick-prior",ss=999999,Pi=["localhost","127.0.0.1"],Ti=["clicks","clicksStart","disabled","hide","hideInToc","layout","level","preload","routeAlias","src","title","transition","zoom","dragPos"],tl=[...Ti,"theme","titleTemplate","info","author","keywords","presenter","download","exportFilename","export","highlighter","lineNumbers","monaco","monacoTypesSource","monacoTypesAdditionalPackages","monacoRunAdditionalDeps","remoteAssets","selectable","record","colorSchema","routerMode","aspectRatio","canvasWidth","themeConfig","favicon","plantUmlServer","fonts","defaults","drawings","htmlAttrs","mdc","contextMenu"],_n=E(!1),bs=Symbol.for("yaml.alias"),Ei=Symbol.for("yaml.document"),He=Symbol.for("yaml.map"),wn=Symbol.for("yaml.pair"),ks=Symbol.for("yaml.scalar"),ut=Symbol.for("yaml.seq"),ie=Symbol.for("yaml.node.type"),Je=s=>!!s&&typeof s=="object"&&s[ie]===bs,Ft=s=>!!s&&typeof s=="object"&&s[ie]===Ei,bn=s=>!!s&&typeof s=="object"&&s[ie]===He,B=s=>!!s&&typeof s=="object"&&s[ie]===wn,x=s=>!!s&&typeof s=="object"&&s[ie]===ks,Ss=s=>!!s&&typeof s=="object"&&s[ie]===ut;function J(s){if(s&&typeof s=="object")switch(s[ie]){case He:case ut:return!0}return!1}function q(s){if(s&&typeof s=="object")switch(s[ie]){case bs:case He:case ks:case ut:return!0}return!1}const $i=s=>(x(s)||J(s))&&!!s.anchor,Ie=Symbol("break visit"),Li=Symbol("skip children"),nt=Symbol("remove node");function at(s,e){const t=Ai(e);Ft(s)?Be(null,s.contents,t,Object.freeze([s]))===nt&&(s.contents=null):Be(null,s,t,Object.freeze([]))}at.BREAK=Ie;at.SKIP=Li;at.REMOVE=nt;function Be(s,e,t,n){const o=Ci(s,e,t,n);if(q(o)||B(o))return Ii(s,n,o),Be(s,o,t,n);if(typeof o!="symbol"){if(J(e)){n=Object.freeze(n.concat(e));for(let i=0;iee(n,String(o),t));if(s&&typeof s.toJSON=="function"){if(!t||!$i(s))return s.toJSON(e,t);const n={aliasCount:0,count:1,res:void 0};t.anchors.set(s,n),t.onCreate=i=>{n.res=i,delete t.onCreate};const o=s.toJSON(e,t);return t.onCreate&&t.onCreate(o),o}return typeof s=="bigint"&&!(t!=null&&t.keep)?Number(s):s}class Ms{constructor(e){Object.defineProperty(this,ie,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:o,reviver:i}={}){if(!Ft(e))throw new TypeError("A document argument is required");const r={anchors:new Map,doc:e,keep:!0,mapAsMap:t===!0,mapKeyWarned:!1,maxAliasCount:typeof n=="number"?n:100},a=ee(this,"",r);if(typeof o=="function")for(const{count:l,res:c}of r.anchors.values())o(c,l);return typeof i=="function"?st(i,{"":a},"",a):a}}class Di extends Ms{constructor(e){super(bs),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return at(e,{Node:(n,o)=>{if(o===this)return at.BREAK;o.anchor===this.source&&(t=o)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:o,maxAliasCount:i}=t,r=this.resolve(o);if(!r){const l=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(l)}let a=n.get(r);if(a||(ee(r,null,t),a=n.get(r)),!a||a.res===void 0){const l="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(l)}if(i>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=wt(o,r,n)),a.count*a.aliasCount>i)){const l="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(l)}return a.res}toString(e,t,n){const o=`*${this.source}`;if(e){if(kn(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const i=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(i)}if(e.implicitKey)return`${o} `}return o}}function wt(s,e,t){if(Je(e)){const n=e.resolve(s),o=t&&n&&t.get(n);return o?o.count*o.aliasCount:0}else if(J(e)){let n=0;for(const o of e.items){const i=wt(s,o,t);i>n&&(n=i)}return n}else if(B(e)){const n=wt(s,e.key,t),o=wt(s,e.value,t);return Math.max(n,o)}return 1}const Sn=s=>!s||typeof s!="function"&&typeof s!="object";class N extends Ms{constructor(e){super(ks),this.value=e}toJSON(e,t){return t!=null&&t.keep?this.value:ee(this.value,e,t)}toString(){return String(this.value)}}N.BLOCK_FOLDED="BLOCK_FOLDED";N.BLOCK_LITERAL="BLOCK_LITERAL";N.PLAIN="PLAIN";N.QUOTE_DOUBLE="QUOTE_DOUBLE";N.QUOTE_SINGLE="QUOTE_SINGLE";const ji="tag:yaml.org,2002:";function Hi(s,e,t){if(e){const n=t.filter(i=>i.tag===e),o=n.find(i=>!i.format)??n[0];if(!o)throw new Error(`Tag ${e} not found`);return o}return t.find(n=>{var o;return((o=n.identify)==null?void 0:o.call(n,s))&&!n.format})}function Et(s,e,t){var f,h,d;if(Ft(s)&&(s=s.contents),q(s))return s;if(B(s)){const g=(h=(f=t.schema[He]).createNode)==null?void 0:h.call(f,t.schema,null,t);return g.items.push(s),g}(s instanceof String||s instanceof Number||s instanceof Boolean||typeof BigInt<"u"&&s instanceof BigInt)&&(s=s.valueOf());const{aliasDuplicateObjects:n,onAnchor:o,onTagObj:i,schema:r,sourceObjects:a}=t;let l;if(n&&s&&typeof s=="object"){if(l=a.get(s),l)return l.anchor||(l.anchor=o(s)),new Di(l.anchor);l={anchor:null,node:null},a.set(s,l)}e!=null&&e.startsWith("!!")&&(e=ji+e.slice(2));let c=Hi(s,e,r.tags);if(!c){if(s&&typeof s.toJSON=="function"&&(s=s.toJSON()),!s||typeof s!="object"){const g=new N(s);return l&&(l.node=g),g}c=s instanceof Map?r[He]:Symbol.iterator in Object(s)?r[ut]:r[He]}i&&(i(c),delete t.onTagObj);const u=c!=null&&c.createNode?c.createNode(t.schema,s,t):typeof((d=c==null?void 0:c.nodeClass)==null?void 0:d.from)=="function"?c.nodeClass.from(t.schema,s,t):new N(s);return e?u.tag=e:c.default||(u.tag=c.tag),l&&(l.node=u),u}function Vs(s,e,t){let n=t;for(let o=e.length-1;o>=0;--o){const i=e[o];if(typeof i=="number"&&Number.isInteger(i)&&i>=0){const r=[];r[i]=n,n=r}else n=new Map([[i,n]])}return Et(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:s,sourceObjects:new Map})}const Ri=s=>s==null||typeof s=="object"&&!!s[Symbol.iterator]().next().done;class Os extends Ms{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(n=>q(n)||B(n)?n.clone(e):n),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(Ri(e))this.add(t);else{const[n,...o]=e,i=this.get(n,!0);if(J(i))i.addIn(o,t);else if(i===void 0&&this.schema)this.set(n,Vs(this.schema,o,t));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${o}`)}}deleteIn(e){const[t,...n]=e;if(n.length===0)return this.delete(t);const o=this.get(t,!0);if(J(o))return o.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...o]=e,i=this.get(n,!0);return o.length===0?!t&&x(i)?i.value:i:J(i)?i.getIn(o,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!B(t))return!1;const n=t.value;return n==null||e&&x(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){const[t,...n]=e;if(n.length===0)return this.has(t);const o=this.get(t,!0);return J(o)?o.hasIn(n):!1}setIn(e,t){const[n,...o]=e;if(o.length===0)this.set(n,t);else{const i=this.get(n,!0);if(J(i))i.setIn(o,t);else if(i===void 0&&this.schema)this.set(n,Vs(this.schema,o,t));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${o}`)}}}Os.maxFlowStringSingleLineLength=60;const Ni=s=>s.replace(/^(?!$)(?: $)?/gm,"#");function lt(s,e){return/^\n+$/.test(s)?s.substring(1):e?s.replace(/^(?! *$)/gm,e):s}const We=(s,e,t)=>s.endsWith(` +`)?lt(t,e):t.includes(` +`)?` +`+lt(t,e):(s.endsWith(" ")?"":" ")+t,Mn="flow",ns="block",bt="quoted";function xt(s,e,t="flow",{indentAtStart:n,lineWidth:o=80,minContentWidth:i=20,onFold:r,onOverflow:a}={}){if(!o||o<0)return s;const l=Math.max(1+i,1+o-e.length);if(s.length<=l)return s;const c=[],u={};let f=o-e.length;typeof n=="number"&&(n>o-Math.max(2,i)?c.push(0):f=o-n);let h,d,g=!1,m=-1,y=-1,v=-1;t===ns&&(m=Bs(s,m,e.length),m!==-1&&(f=m+l));for(let w;w=s[m+=1];){if(t===bt&&w==="\\"){switch(y=m,s[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}v=m}if(w===` +`)t===ns&&(m=Bs(s,m,e.length)),f=m+e.length+l,h=void 0;else{if(w===" "&&d&&d!==" "&&d!==` +`&&d!==" "){const b=s[m+1];b&&b!==" "&&b!==` +`&&b!==" "&&(h=m)}if(m>=f)if(h)c.push(h),f=h+l,h=void 0;else if(t===bt){for(;d===" "||d===" ";)d=w,w=s[m+=1],g=!0;const b=m>v+1?m-2:y-1;if(u[b])return s;c.push(b),u[b]=!0,f=b+l,h=void 0}else g=!0}d=w}if(g&&a&&a(),c.length===0)return s;r&&r();let _=s.slice(0,c[0]);for(let w=0;w({indentAtStart:e?s.indent.length:s.indentAtStart,lineWidth:s.options.lineWidth,minContentWidth:s.options.minContentWidth}),Bt=s=>/^(%|---|\.\.\.)/m.test(s);function Fi(s,e,t){if(!e||e<0)return!1;const n=e-t,o=s.length;if(o<=n)return!1;for(let i=0,r=0;in)return!0;if(r=i+1,o-r<=n)return!1}return!0}function ot(s,e){const t=JSON.stringify(s);if(e.options.doubleQuotedAsJSON)return t;const{implicitKey:n}=e,o=e.options.doubleQuotedMinMultiLineLength,i=e.indent||(Bt(s)?" ":"");let r="",a=0;for(let l=0,c=t[l];c;c=t[++l])if(c===" "&&t[l+1]==="\\"&&t[l+2]==="n"&&(r+=t.slice(a,l)+"\\ ",l+=1,a=l,c="\\"),c==="\\")switch(t[l+1]){case"u":{r+=t.slice(a,l);const u=t.substr(l+2,4);switch(u){case"0000":r+="\\0";break;case"0007":r+="\\a";break;case"000b":r+="\\v";break;case"001b":r+="\\e";break;case"0085":r+="\\N";break;case"00a0":r+="\\_";break;case"2028":r+="\\L";break;case"2029":r+="\\P";break;default:u.substr(0,2)==="00"?r+="\\x"+u.substr(2):r+=t.substr(l,6)}l+=5,a=l+1}break;case"n":if(n||t[l+2]==='"'||t.length +`;let f,h;for(h=t.length;h>0;--h){const M=t[h-1];if(M!==` +`&&M!==" "&&M!==" ")break}let d=t.substring(h);const g=d.indexOf(` +`);g===-1?f="-":t===d||g!==d.length-1?(f="+",i&&i()):f="",d&&(t=t.slice(0,-d.length),d[d.length-1]===` +`&&(d=d.slice(0,-1)),d=d.replace(is,`$&${c}`));let m=!1,y,v=-1;for(y=0;y")+(m?c?"2":"1":"")+f;if(s&&(b+=" "+a(s.replace(/ ?[\r\n]+/g," ")),o&&o()),u)return t=t.replace(/\n+/g,`$&${c}`),`${b} +${c}${_}${t}${d}`;t=t.replace(/\n+/g,` +$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);const O=xt(`${_}${t}${d}`,c,ns,Vt(n,!0));return`${b} +${c}${O}`}function xi(s,e,t,n){const{type:o,value:i}=s,{actualString:r,implicitKey:a,indent:l,indentStep:c,inFlow:u}=e;if(a&&i.includes(` +`)||u&&/[[\]{},]/.test(i))return Ue(i,e);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return a||u||!i.includes(` +`)?Ue(i,e):kt(s,e,t,n);if(!a&&!u&&o!==N.PLAIN&&i.includes(` +`))return kt(s,e,t,n);if(Bt(i)){if(l==="")return e.forceBlockIndent=!0,kt(s,e,t,n);if(a&&l===c)return Ue(i,e)}const f=i.replace(/\n+/g,`$& +${l}`);if(r){const h=m=>{var y;return m.default&&m.tag!=="tag:yaml.org,2002:str"&&((y=m.test)==null?void 0:y.test(f))},{compat:d,tags:g}=e.doc.schema;if(g.some(h)||d!=null&&d.some(h))return Ue(i,e)}return a?f:xt(f,l,Mn,Vt(e,!1))}function Vi(s,e,t,n){const{implicitKey:o,inFlow:i}=e,r=typeof s.value=="string"?s:Object.assign({},s,{value:String(s.value)});let{type:a}=s;a!==N.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(r.value)&&(a=N.QUOTE_DOUBLE);const l=u=>{switch(u){case N.BLOCK_FOLDED:case N.BLOCK_LITERAL:return o||i?Ue(r.value,e):kt(r,e,t,n);case N.QUOTE_DOUBLE:return ot(r.value,e);case N.QUOTE_SINGLE:return os(r.value,e);case N.PLAIN:return xi(r,e,t,n);default:return null}};let c=l(a);if(c===null){const{defaultKeyType:u,defaultStringType:f}=e.options,h=o&&u||f;if(c=l(h),c===null)throw new Error(`Unsupported default string type ${h}`)}return c}function Bi(s,e){const t=Object.assign({blockQuote:!0,commentString:Ni,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},s.schema.toStringOptions,e);let n;switch(t.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:s,flowCollectionPadding:t.flowCollectionPadding?" ":"",indent:"",indentStep:typeof t.indent=="number"?" ".repeat(t.indent):" ",inFlow:n,options:t}}function Wi(s,e){var o;if(e.tag){const i=s.filter(r=>r.tag===e.tag);if(i.length>0)return i.find(r=>r.format===e.format)??i[0]}let t,n;if(x(e)){n=e.value;const i=s.filter(r=>{var a;return(a=r.identify)==null?void 0:a.call(r,n)});t=i.find(r=>r.format===e.format)??i.find(r=>!r.format)}else n=e,t=s.find(i=>i.nodeClass&&n instanceof i.nodeClass);if(!t){const i=((o=n==null?void 0:n.constructor)==null?void 0:o.name)??typeof n;throw new Error(`Tag not resolved for ${i} value`)}return t}function Ui(s,e,{anchors:t,doc:n}){if(!n.directives)return"";const o=[],i=(x(s)||J(s))&&s.anchor;i&&kn(i)&&(t.add(i),o.push(`&${i}`));const r=s.tag?s.tag:e.default?null:e.tag;return r&&o.push(n.directives.tagString(r)),o.join(" ")}function $t(s,e,t,n){var l;if(B(s))return s.toString(e,t,n);if(Je(s)){if(e.doc.directives)return s.toString(e);if((l=e.resolvedAliases)!=null&&l.has(s))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(s):e.resolvedAliases=new Set([s]),s=s.resolve(e.doc)}let o;const i=q(s)?s:e.doc.createNode(s,{onTagObj:c=>o=c});o||(o=Wi(e.doc.schema.tags,i));const r=Ui(i,o,e);r.length>0&&(e.indentAtStart=(e.indentAtStart??0)+r.length+1);const a=typeof o.stringify=="function"?o.stringify(i,e,t,n):x(i)?Vi(i,e,t,n):i.toString(e,t,n);return r?x(i)||a[0]==="{"||a[0]==="["?`${r} ${a}`:`${r} +${e.indent}${a}`:a}function zi({key:s,value:e},t,n,o){const{allNullValues:i,doc:r,indent:a,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:f}}=t;let h=q(s)&&s.comment||null;if(f){if(h)throw new Error("With simple keys, key nodes cannot have comments");if(J(s)){const $="With simple keys, collection cannot be used as a key value";throw new Error($)}}let d=!f&&(!s||h&&e==null&&!t.inFlow||J(s)||(x(s)?s.type===N.BLOCK_FOLDED||s.type===N.BLOCK_LITERAL:typeof s=="object"));t=Object.assign({},t,{allNullValues:!1,implicitKey:!d&&(f||!i),indent:a+l});let g=!1,m=!1,y=$t(s,t,()=>g=!0,()=>m=!0);if(!d&&!t.inFlow&&y.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");d=!0}if(t.inFlow){if(i||e==null)return g&&n&&n(),y===""?"?":d?`? ${y}`:y}else if(i&&!f||e==null&&d)return y=`? ${y}`,h&&!g?y+=We(y,t.indent,c(h)):m&&o&&o(),y;g&&(h=null),d?(h&&(y+=We(y,t.indent,c(h))),y=`? ${y} +${a}:`):(y=`${y}:`,h&&(y+=We(y,t.indent,c(h))));let v,_,w;q(e)?(v=!!e.spaceBefore,_=e.commentBefore,w=e.comment):(v=!1,_=null,w=null,e&&typeof e=="object"&&(e=r.createNode(e))),t.implicitKey=!1,!d&&!h&&x(e)&&(t.indentAtStart=y.length+1),m=!1,!u&&l.length>=2&&!t.inFlow&&!d&&Ss(e)&&!e.flow&&!e.tag&&!e.anchor&&(t.indent=t.indent.substring(2));let b=!1;const O=$t(e,t,()=>b=!0,()=>m=!0);let M=" ";if(h||v||_){if(M=v?` +`:"",_){const $=c(_);M+=` +${lt($,t.indent)}`}O===""&&!t.inFlow?M===` +`&&(M=` + +`):M+=` +${t.indent}`}else if(!d&&J(e)){const $=O[0],L=O.indexOf(` +`),D=L!==-1,V=t.inFlow??e.flow??e.items.length===0;if(D||!V){let se=!1;if(D&&($==="&"||$==="!")){let P=O.indexOf(" ");$==="&"&&P!==-1&&Ps===Ws||x(s)&&s.value===Ws&&(!s.type||s.type===N.PLAIN);function Jt(s,e,t){const n=s&&Je(t)?t.resolve(s.doc):t;if(!bn(n))throw new Error("Merge sources must be maps or map aliases");const o=n.toJSON(null,s,Map);for(const[i,r]of o)e instanceof Map?e.has(i)||e.set(i,r):e instanceof Set?e.add(i):Object.prototype.hasOwnProperty.call(e,i)||Object.defineProperty(e,i,{value:r,writable:!0,enumerable:!0,configurable:!0});return e}function Ji(s,e,t){if(e===null)return"";if(typeof e!="object")return String(e);if(q(s)&&(t!=null&&t.doc)){const n=Bi(t.doc,{});n.anchors=new Set;for(const i of t.anchors.keys())n.anchors.add(i.anchor);n.inFlow=!0,n.inStringifyKey=!0;const o=s.toString(n);if(!t.mapKeyWarned){let i=JSON.stringify(o);i.length>40&&(i=i.substring(0,36)+'..."'),qi(t.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${i}. Set mapAsMap: true to use object keys.`),t.mapKeyWarned=!0}return o}return JSON.stringify(e)}function Ps(s,e,t){const n=Et(s,void 0,t),o=Et(e,void 0,t);return new re(n,o)}class re{constructor(e,t=null){Object.defineProperty(this,ie,{value:wn}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return q(t)&&(t=t.clone(e)),q(n)&&(n=n.clone(e)),new re(t,n)}toJSON(e,t){const n=t!=null&&t.mapAsMap?new Map:{};return On(t,n,this)}toString(e,t,n){return e!=null&&e.doc?zi(this,e,t,n):JSON.stringify(this)}}function Pn(s,e,t){return(e.inFlow??s.flow?Qi:Gi)(s,e,t)}function Gi({comment:s,items:e},t,{blockItemPrefix:n,flowChars:o,itemIndent:i,onChompKeep:r,onComment:a}){const{indent:l,options:{commentString:c}}=t,u=Object.assign({},t,{indent:i,type:null});let f=!1;const h=[];for(let g=0;gy=null,()=>f=!0);y&&(v+=We(v,i,c(y))),f&&y&&(f=!1),h.push(n+v)}let d;if(h.length===0)d=o.start+o.end;else{d=h[0];for(let g=1;gy=null);gu||v.includes(` +`))&&(c=!0),f.push(v),u=f.length}const{start:h,end:d}=t;if(f.length===0)return h+d;if(!c){const g=f.reduce((m,y)=>m+y.length+2,2);c=e.options.lineWidth>0&&g>e.options.lineWidth}if(c){let g=h;for(const m of f)g+=m?` +${i}${o}${m}`:` +`;return`${g} +${o}${d}`}else return`${h}${r}${f.join(" ")}${r}${d}`}function Lt({indent:s,options:{commentString:e}},t,n,o){if(n&&o&&(n=n.replace(/^\n+/,"")),n){const i=lt(e(n),s);t.push(i.trimStart())}}function je(s,e){const t=x(e)?e.value:e;for(const n of s)if(B(n)&&(n.key===e||n.key===t||x(n.key)&&n.key.value===t))return n}class xe extends Os{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(He,e),this.items=[]}static from(e,t,n){const{keepUndefined:o,replacer:i}=n,r=new this(e),a=(l,c)=>{if(typeof i=="function")c=i.call(t,l,c);else if(Array.isArray(i)&&!i.includes(l))return;(c!==void 0||o)&&r.items.push(Ps(l,c,n))};if(t instanceof Map)for(const[l,c]of t)a(l,c);else if(t&&typeof t=="object")for(const l of Object.keys(t))a(l,t[l]);return typeof e.sortMapEntries=="function"&&r.items.sort(e.sortMapEntries),r}add(e,t){var r;let n;B(e)?n=e:!e||typeof e!="object"||!("key"in e)?n=new re(e,e==null?void 0:e.value):n=new re(e.key,e.value);const o=je(this.items,n.key),i=(r=this.schema)==null?void 0:r.sortMapEntries;if(o){if(!t)throw new Error(`Key ${n.key} already set`);x(o.value)&&Sn(n.value)?o.value.value=n.value:o.value=n.value}else if(i){const a=this.items.findIndex(l=>i(n,l)<0);a===-1?this.items.push(n):this.items.splice(a,0,n)}else this.items.push(n)}delete(e){const t=je(this.items,e);return t?this.items.splice(this.items.indexOf(t),1).length>0:!1}get(e,t){const n=je(this.items,e),o=n==null?void 0:n.value;return(!t&&x(o)?o.value:o)??void 0}has(e){return!!je(this.items,e)}set(e,t){this.add(new re(e,t),!0)}toJSON(e,t,n){const o=n?new n:t!=null&&t.mapAsMap?new Map:{};t!=null&&t.onCreate&&t.onCreate(o);for(const i of this.items)On(t,o,i);return o}toString(e,t,n){if(!e)return JSON.stringify(this);for(const o of this.items)if(!B(o))throw new Error(`Map items must all be pairs; found ${JSON.stringify(o)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),Pn(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}class Tn extends Os{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(ut,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=ht(e);return typeof t!="number"?!1:this.items.splice(t,1).length>0}get(e,t){const n=ht(e);if(typeof n!="number")return;const o=this.items[n];return!t&&x(o)?o.value:o}has(e){const t=ht(e);return typeof t=="number"&&t=0?e:null}function Zi(s,e,t){const{replacer:n}=t,o=new Tn(s);o.tag="tag:yaml.org,2002:pairs";let i=0;if(e&&Symbol.iterator in Object(e))for(let r of e){typeof n=="function"&&(r=n.call(e,String(i++),r));let a,l;if(Array.isArray(r))if(r.length===2)a=r[0],l=r[1];else throw new TypeError(`Expected [key, value] tuple: ${r}`);else if(r&&r instanceof Object){const c=Object.keys(r);if(c.length===1)a=c[0],l=r[a];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else a=r;o.items.push(Ps(a,l,t))}return o}class Ts extends Tn{constructor(){super(),this.add=xe.prototype.add.bind(this),this.delete=xe.prototype.delete.bind(this),this.get=xe.prototype.get.bind(this),this.has=xe.prototype.has.bind(this),this.set=xe.prototype.set.bind(this),this.tag=Ts.tag}toJSON(e,t){if(!t)return super.toJSON(e);const n=new Map;t!=null&&t.onCreate&&t.onCreate(n);for(const o of this.items){let i,r;if(B(o)?(i=ee(o.key,"",t),r=ee(o.value,i,t)):i=ee(o,"",t),n.has(i))throw new Error("Ordered maps must not include duplicate keys");n.set(i,r)}return n}static from(e,t,n){const o=Zi(e,t,n),i=new this;return i.items=o.items,i}}Ts.tag="tag:yaml.org,2002:omap";class Es extends xe{constructor(e){super(e),this.tag=Es.tag}add(e){let t;B(e)?t=e:e&&typeof e=="object"&&"key"in e&&"value"in e&&e.value===null?t=new re(e.key,null):t=new re(e,null),je(this.items,t.key)||this.items.push(t)}get(e,t){const n=je(this.items,e);return!t&&B(n)?x(n.key)?n.key.value:n.key:n}set(e,t){if(typeof t!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);const n=je(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new re(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}static from(e,t,n){const{replacer:o}=n,i=new this(e);if(t&&Symbol.iterator in Object(t))for(let r of t)typeof o=="function"&&(r=o.call(t,r,r)),i.items.push(Ps(r,null,n));return i}}Es.tag="tag:yaml.org,2002:set";function Yi(s){return Array.from(new Set(s))}function Us(...s){let e,t,n;s.length===1?(e=0,n=1,[t]=s):[e,t,n=1]=s;const o=[];let i=e;for(;in<=s).sort((n,o)=>n-o)}function sl(){const s=E(Date.now()),e=Qn({interval:1e3}),t=p(()=>{const o=(e.value-s.value)/1e3,i=Math.floor(o%60).toString().padStart(2,"0");return`${Math.floor(o/60).toString().padStart(2,"0")}:${i}`});function n(){s.value=e.value}return{timer:t,resetTimer:n}}function $s(s=5){const e=[],t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",n=t.length;for(let o=0;o0){const i=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),a=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));o=Promise.all(t.map(l=>{if(l=tr(l),l in zs)return;zs[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!n)for(let d=i.length-1;d>=0;d--){const g=i[d];if(g.href===l&&(!c||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":er,c||(h.as="script",h.crossOrigin=""),h.href=l,a&&h.setAttribute("nonce",a),document.head.appendChild(h),c)return new Promise((d,g)=>{h.addEventListener("load",d),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})}))}return o.then(()=>e()).catch(i=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i})},En=(s,e)=>{const t=s.__vccOpts||s;for(const[n,o]of e)t[n]=o;return t},sr={},nr={class:"px-4 py-10 text-center text-red-700 dark:text-red-500 font-bold font-mono"};function or(s,e){return rn(),Zn("div",nr," An error occurred on this slide. Check the terminal for more information. ")}const ir=En(sr,[["render",or],["__file","/usr/local/lib/node_modules/@slidev/cli/node_modules/@slidev/client/layouts/error.vue"]]),I=Object.freeze(Object.defineProperty({__proto__:null,default:ir},Symbol.toStringTag,{value:"Module"})),ue=S({theme:"default",layout:"cover"}),rr=S({layout:p(()=>ue.layout),transition:p(()=>ue.transition),class:p(()=>ue.class),clicks:p(()=>ue.clicks),name:p(()=>ue.name),preload:p(()=>ue.preload),slide:{index:0,content:"",note:"",title:"Software Architecture",level:1,noteHTML:"",raw:"",frontmatter:ue,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:0,id:0,no:1},__clicksContext:null,__preloaded:!1}),fe=S({}),ar=S({layout:p(()=>fe.layout),transition:p(()=>fe.transition),class:p(()=>fe.class),clicks:p(()=>fe.clicks),name:p(()=>fe.name),preload:p(()=>fe.preload),slide:{index:1,content:"",note:"",title:"Cloud Computing",level:1,noteHTML:"",raw:"",frontmatter:fe,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:10,id:1,no:2},__clicksContext:null,__preloaded:!1}),he=S({}),lr=S({layout:p(()=>he.layout),transition:p(()=>he.transition),class:p(()=>he.class),clicks:p(()=>he.clicks),name:p(()=>he.name),preload:p(()=>he.preload),slide:{index:2,content:"",note:"",title:"Cloud Computing",level:1,noteHTML:"",raw:"",frontmatter:he,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:21,id:2,no:3},__clicksContext:null,__preloaded:!1}),de=S({layout:"two-cols"}),cr=S({layout:p(()=>de.layout),transition:p(()=>de.transition),class:p(()=>de.class),clicks:p(()=>de.clicks),name:p(()=>de.name),preload:p(()=>de.preload),slide:{index:3,content:"",note:"",title:"Service Models",level:1,noteHTML:"",raw:"",frontmatter:de,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:28,id:3,no:4},__clicksContext:null,__preloaded:!1}),pe=S({}),ur=S({layout:p(()=>pe.layout),transition:p(()=>pe.transition),class:p(()=>pe.class),clicks:p(()=>pe.clicks),name:p(()=>pe.name),preload:p(()=>pe.preload),slide:{index:4,content:"",note:"",title:"Infrastructure as a Service(IaaS)",level:1,noteHTML:"",raw:"",frontmatter:pe,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:51,id:4,no:5},__clicksContext:null,__preloaded:!1}),ge=S({layout:"two-cols"}),fr=S({layout:p(()=>ge.layout),transition:p(()=>ge.transition),class:p(()=>ge.class),clicks:p(()=>ge.clicks),name:p(()=>ge.name),preload:p(()=>ge.preload),slide:{index:5,content:"",note:"",title:"典型IaaS",level:1,noteHTML:"",raw:"",frontmatter:ge,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:60,id:5,no:6},__clicksContext:null,__preloaded:!1}),me=S({layout:"two-cols"}),hr=S({layout:p(()=>me.layout),transition:p(()=>me.transition),class:p(()=>me.class),clicks:p(()=>me.clicks),name:p(()=>me.name),preload:p(()=>me.preload),slide:{index:6,content:"",note:"",title:"容器化技术",level:1,noteHTML:"",raw:"",frontmatter:me,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:75,id:6,no:7},__clicksContext:null,__preloaded:!1}),ye=S({layout:"two-cols"}),dr=S({layout:p(()=>ye.layout),transition:p(()=>ye.transition),class:p(()=>ye.class),clicks:p(()=>ye.clicks),name:p(()=>ye.name),preload:p(()=>ye.preload),slide:{index:7,content:"",note:"",title:"Kubernetes",level:1,noteHTML:"",raw:"",frontmatter:ye,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:92,id:7,no:8},__clicksContext:null,__preloaded:!1}),ve=S({}),pr=S({layout:p(()=>ve.layout),transition:p(()=>ve.transition),class:p(()=>ve.class),clicks:p(()=>ve.clicks),name:p(()=>ve.name),preload:p(()=>ve.preload),slide:{index:8,content:"",note:"",title:"Platform as-a-Service (PaaS)",level:1,noteHTML:"",raw:"",frontmatter:ve,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:108,id:8,no:9},__clicksContext:null,__preloaded:!1}),_e=S({layout:"two-cols"}),gr=S({layout:p(()=>_e.layout),transition:p(()=>_e.transition),class:p(()=>_e.class),clicks:p(()=>_e.clicks),name:p(()=>_e.name),preload:p(()=>_e.preload),slide:{index:9,content:"",note:"",title:"典型PaaS",level:1,noteHTML:"",raw:"",frontmatter:_e,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:118,id:9,no:10},__clicksContext:null,__preloaded:!1}),we=S({}),mr=S({layout:p(()=>we.layout),transition:p(()=>we.transition),class:p(()=>we.class),clicks:p(()=>we.clicks),name:p(()=>we.name),preload:p(()=>we.preload),slide:{index:10,content:"",note:"",noteHTML:"",raw:"",frontmatter:we,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:136,id:10,no:11},__clicksContext:null,__preloaded:!1}),be=S({}),yr=S({layout:p(()=>be.layout),transition:p(()=>be.transition),class:p(()=>be.class),clicks:p(()=>be.clicks),name:p(()=>be.name),preload:p(()=>be.preload),slide:{index:11,content:"",note:"",title:"Software as a Service (SaaS )",level:1,noteHTML:"",raw:"",frontmatter:be,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:144,id:11,no:12},__clicksContext:null,__preloaded:!1}),ke=S({layout:"two-cols"}),vr=S({layout:p(()=>ke.layout),transition:p(()=>ke.transition),class:p(()=>ke.class),clicks:p(()=>ke.clicks),name:p(()=>ke.name),preload:p(()=>ke.preload),slide:{index:12,content:"",note:"",title:"典型SaaS",level:1,noteHTML:"",raw:"",frontmatter:ke,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:154,id:12,no:13},__clicksContext:null,__preloaded:!1}),Se=S({}),_r=S({layout:p(()=>Se.layout),transition:p(()=>Se.transition),class:p(()=>Se.class),clicks:p(()=>Se.clicks),name:p(()=>Se.name),preload:p(()=>Se.preload),slide:{index:13,content:"",note:"",title:"典型SaaS",level:1,noteHTML:"",raw:"",frontmatter:Se,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:175,id:13,no:14},__clicksContext:null,__preloaded:!1}),Me=S({}),wr=S({layout:p(()=>Me.layout),transition:p(()=>Me.transition),class:p(()=>Me.class),clicks:p(()=>Me.clicks),name:p(()=>Me.name),preload:p(()=>Me.preload),slide:{index:14,content:"",note:"",title:"Kubernetes",level:1,noteHTML:"",raw:"",frontmatter:Me,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:183,id:14,no:15},__clicksContext:null,__preloaded:!1}),Oe=S({layout:"two-cols"}),br=S({layout:p(()=>Oe.layout),transition:p(()=>Oe.transition),class:p(()=>Oe.class),clicks:p(()=>Oe.clicks),name:p(()=>Oe.name),preload:p(()=>Oe.preload),slide:{index:15,content:"",note:"",title:"Minikube",level:1,noteHTML:"",raw:"",frontmatter:Oe,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:195,id:15,no:16},__clicksContext:null,__preloaded:!1}),Pe=S({}),kr=S({layout:p(()=>Pe.layout),transition:p(()=>Pe.transition),class:p(()=>Pe.class),clicks:p(()=>Pe.clicks),name:p(()=>Pe.name),preload:p(()=>Pe.preload),slide:{index:16,content:"",note:"",title:"Deployment Models",level:1,noteHTML:"",raw:"",frontmatter:Pe,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:213,id:16,no:17},__clicksContext:null,__preloaded:!1}),Te=S({layout:"two-cols"}),Sr=S({layout:p(()=>Te.layout),transition:p(()=>Te.transition),class:p(()=>Te.class),clicks:p(()=>Te.clicks),name:p(()=>Te.name),preload:p(()=>Te.preload),slide:{index:17,content:"",note:"",title:"Demo",level:1,noteHTML:"",raw:"",frontmatter:Te,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:218,id:17,no:18},__clicksContext:null,__preloaded:!1}),Ee=S({}),Mr=S({layout:p(()=>Ee.layout),transition:p(()=>Ee.transition),class:p(()=>Ee.class),clicks:p(()=>Ee.clicks),name:p(()=>Ee.name),preload:p(()=>Ee.preload),slide:{index:18,content:"",note:"",title:"Cloud native computing",level:1,noteHTML:"",raw:"",frontmatter:Ee,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:256,id:18,no:19},__clicksContext:null,__preloaded:!1}),$e=S({}),Or=S({layout:p(()=>$e.layout),transition:p(()=>$e.transition),class:p(()=>$e.class),clicks:p(()=>$e.clicks),name:p(()=>$e.name),preload:p(()=>$e.preload),slide:{index:19,content:"",note:"",title:"Cloud Native(云原生)",level:1,noteHTML:"",raw:"",frontmatter:$e,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:267,id:19,no:20},__clicksContext:null,__preloaded:!1}),Le=S({layout:"iframe-right",url:"https://www.cncf.io/projects/"}),Pr=S({layout:p(()=>Le.layout),transition:p(()=>Le.transition),class:p(()=>Le.class),clicks:p(()=>Le.clicks),name:p(()=>Le.name),preload:p(()=>Le.preload),slide:{index:20,content:"",note:"",title:"云原生计算基金会CNCF",level:1,noteHTML:"",raw:"",frontmatter:Le,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:279,id:20,no:21},__clicksContext:null,__preloaded:!1}),Ae=S({layout:"two-cols"}),Tr=S({layout:p(()=>Ae.layout),transition:p(()=>Ae.transition),class:p(()=>Ae.class),clicks:p(()=>Ae.clicks),name:p(()=>Ae.name),preload:p(()=>Ae.preload),slide:{index:21,content:"",note:"",title:"Spring Cloud",level:1,noteHTML:"",raw:"",frontmatter:Ae,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:295,id:21,no:22},__clicksContext:null,__preloaded:!1}),Ce=S({}),Er=S({layout:p(()=>Ce.layout),transition:p(()=>Ce.transition),class:p(()=>Ce.class),clicks:p(()=>Ce.clicks),name:p(()=>Ce.name),preload:p(()=>Ce.preload),slide:{index:22,content:"",note:"",title:"Spring Cloud Kubernetes",level:1,noteHTML:"",raw:"",frontmatter:Ce,filepath:"/Users/chun/Develop/software-architecture-explained-with-spring/09-cloud.md",start:312,id:22,no:23},__clicksContext:null,__preloaded:!1}),$r=[{no:1,meta:rr,component:async()=>{try{return await T(()=>import("./slidev/1-D2WyDkwU.js"),__vite__mapDeps([0,1,2,3,4]))}catch(s){return console.error("Failed to load slide 1:",s),I}}},{no:2,meta:ar,component:async()=>{try{return await T(()=>import("./2-DH6k4oxm.js"),__vite__mapDeps([5,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 2:",s),I}}},{no:3,meta:lr,component:async()=>{try{return await T(()=>import("./slidev/3-Fz1KCckA.js"),__vite__mapDeps([7,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 3:",s),I}}},{no:4,meta:cr,component:async()=>{try{return await T(()=>import("./4-CPXEj3LN.js"),__vite__mapDeps([8,1,9,2,3,4]))}catch(s){return console.error("Failed to load slide 4:",s),I}}},{no:5,meta:ur,component:async()=>{try{return await T(()=>import("./slidev/5-B-2VTwFI.js"),__vite__mapDeps([10,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 5:",s),I}}},{no:6,meta:fr,component:async()=>{try{return await T(()=>import("./6-Cikq6vgd.js"),__vite__mapDeps([11,1,9,2,3,4]))}catch(s){return console.error("Failed to load slide 6:",s),I}}},{no:7,meta:hr,component:async()=>{try{return await T(()=>import("./7-COJWzHJp.js"),__vite__mapDeps([12,1,9,2,3,4]))}catch(s){return console.error("Failed to load slide 7:",s),I}}},{no:8,meta:dr,component:async()=>{try{return await T(()=>import("./8-DkhwklpO.js"),__vite__mapDeps([13,1,9,2,3,4]))}catch(s){return console.error("Failed to load slide 8:",s),I}}},{no:9,meta:pr,component:async()=>{try{return await T(()=>import("./slidev/9-6-gQL-t_.js"),__vite__mapDeps([14,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 9:",s),I}}},{no:10,meta:gr,component:async()=>{try{return await T(()=>import("./10-CQ7c45BV.js"),__vite__mapDeps([15,1,9,2,3,4]))}catch(s){return console.error("Failed to load slide 10:",s),I}}},{no:11,meta:mr,component:async()=>{try{return await T(()=>import("./slidev/11-BIvtd7fN.js"),__vite__mapDeps([16,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 11:",s),I}}},{no:12,meta:yr,component:async()=>{try{return await T(()=>import("./slidev/12-BBVehUCr.js"),__vite__mapDeps([17,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 12:",s),I}}},{no:13,meta:vr,component:async()=>{try{return await T(()=>import("./13-Bic6_nR_.js"),__vite__mapDeps([18,1,9,2,3,4]))}catch(s){return console.error("Failed to load slide 13:",s),I}}},{no:14,meta:_r,component:async()=>{try{return await T(()=>import("./14-CIjjxDra.js"),__vite__mapDeps([19,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 14:",s),I}}},{no:15,meta:wr,component:async()=>{try{return await T(()=>import("./15-DdtphQJ4.js"),__vite__mapDeps([20,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 15:",s),I}}},{no:16,meta:br,component:async()=>{try{return await T(()=>import("./16-hJ9o2yLp.js"),__vite__mapDeps([21,1,9,2,3,4]))}catch(s){return console.error("Failed to load slide 16:",s),I}}},{no:17,meta:kr,component:async()=>{try{return await T(()=>import("./17-DUInkWjq.js"),__vite__mapDeps([22,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 17:",s),I}}},{no:18,meta:Sr,component:async()=>{try{return await T(()=>import("./slidev/18-FBQHE2W6.js"),__vite__mapDeps([23,24,1,2,9,3,4]))}catch(s){return console.error("Failed to load slide 18:",s),I}}},{no:19,meta:Mr,component:async()=>{try{return await T(()=>import("./slidev/19-Q4jnHZHO.js"),__vite__mapDeps([25,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 19:",s),I}}},{no:20,meta:Or,component:async()=>{try{return await T(()=>import("./slidev/20-AZe8E_fg.js"),__vite__mapDeps([26,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 20:",s),I}}},{no:21,meta:Pr,component:async()=>{try{return await T(()=>import("./slidev/21-Bkehy0FX.js"),__vite__mapDeps([27,1,2,3,4]))}catch(s){return console.error("Failed to load slide 21:",s),I}}},{no:22,meta:Tr,component:async()=>{try{return await T(()=>import("./22-DtnHoa2d.js"),__vite__mapDeps([28,1,9,2,3,4]))}catch(s){return console.error("Failed to load slide 22:",s),I}}},{no:23,meta:Er,component:async()=>{try{return await T(()=>import("./slidev/23-DxmtPpoD.js"),__vite__mapDeps([29,1,6,2,3,4]))}catch(s){return console.error("Failed to load slide 23:",s),I}}}],oe=ys($r);function ct(s){return oe.value.find(e=>{var t;return e.no===+s||((t=e.meta.slide)==null?void 0:t.frontmatter.routeAlias)===s})}function ze(s,e){var n;(typeof s=="number"||typeof s=="string")&&(s=ct(s));const t=((n=s.meta.slide)==null?void 0:n.frontmatter.routeAlias)??s.no;return e?`/presenter/${t}`:`/${t}`}function Lr(s,e,{mode:t="replace"}={}){const n=Ht();return p({get(){const o=n.currentRoute.value.query[s];return o==null?e??null:Array.isArray(o)?o.filter(Boolean):o},set(o){Ot(()=>{(n.currentRoute.value.query[s]??(e==null?void 0:e.toString()))!==o.toString()&&n[ms(t)]({query:{...n.currentRoute.value.query,[s]:`${o}`===e?void 0:o}})})}})}const rs=E(0);function Ar(s){return s===!1||s==="false"?null:s==null||s===!0||s==="true"?"+1":Array.isArray(s)?[+s[0],+s[1]]:typeof s=="string"&&"+-".includes(s[0])?s:+s}function $n(s,e=0,t){const n={get current(){return rt(+s.value,e,n.total)},set current(o){s.value=rt(+o,e,n.total)},clicksStart:e,relativeOffsets:new Map,maxMap:Yn(new Map),onMounted(){},calculateSince(o,i=1){let r,a,l;if(typeof o=="string"){const c=n.currentOffset,u=+o;r=c+u,a=c+u+i-1,l=u+i-1}else r=o,a=o+i-1,l=0;return{start:r,end:+Number.POSITIVE_INFINITY,max:a,delta:l,isCurrent:p(()=>n.current===r),isActive:p(()=>n.current>=r)}},calculateRange([o,i]){let r,a,l;return typeof o=="string"?(r=n.currentOffset+ +o,l=+o):(r=o,l=0),typeof i=="string"?(a=r+ +i,l+=+i):a=i,{start:r,end:a,max:a,delta:l,isCurrent:p(()=>n.current===r),isActive:p(()=>r<=n.current&&n.currentH.colorSchema!=="auto"),Ln=p({get(){return Ks.value?H.colorSchema==="dark":Gt.value==="auto"?qs.value:Gt.value==="dark"},set(s){Ks.value||(Gt.value=s===qs.value?"auto":s?"dark":"light")}}),ol=an(Ln);Rt&&Q(Ln,s=>{const e=document.querySelector("html");e.classList.toggle("dark",s),e.classList.toggle("light",!s)},{immediate:!0});const Ir={"slide-left":"slide-left | slide-right","slide-right":"slide-right | slide-left","slide-up":"slide-up | slide-down","slide-down":"slide-down | slide-up"};function Dr(s,e=!1){if(!s||(typeof s=="string"&&(s={name:s}),!s.name))return;let t=s.name.includes("|")?s.name:Ir[s.name]||s.name;if(t.includes("|")){const[n,o]=t.split("|").map(i=>i.trim());t=e?o:n}if(t)return{...s,name:t}}function jr(s,e,t){var o,i;let n=s>0?(o=t==null?void 0:t.meta)==null?void 0:o.transition:(i=e==null?void 0:e.meta)==null?void 0:i.transition;return n||(n=H.transition),Dr(n,s<0)}function An(s,e,t=1){var o,i,r,a,l,c,u,f,h;const n=(i=(o=e.meta)==null?void 0:o.slide)==null?void 0:i.level;n&&n>t&&s.length>0?An(s[s.length-1].children,e,t+1):s.push({no:e.no,children:[],level:t,path:ze(((a=(r=e.meta.slide)==null?void 0:r.frontmatter)==null?void 0:a.routeAlias)??e.no,!1),hideInToc:!!((u=(c=(l=e.meta)==null?void 0:l.slide)==null?void 0:c.frontmatter)!=null&&u.hideInToc),title:(h=(f=e.meta)==null?void 0:f.slide)==null?void 0:h.title})}function Cn(s,e,t=!1,n,o){return s.map(i=>{const r={...i,active:i.no===(o==null?void 0:o.value),hasActiveParent:t};return r.children.length>0&&(r.children=Cn(r.children,e,r.active||r.hasActiveParent,r,o)),n&&(r.active||r.activeParent)&&(n.activeParent=!0),r})}function In(s,e=1){return s.filter(t=>!t.hideInToc).map(t=>({...t,children:In(t.children,e+1)}))}function Hr(s,e,t){const n=p(()=>s.value.filter(i=>{var r,a;return(a=(r=i.meta)==null?void 0:r.slide)==null?void 0:a.title}).reduce((i,r)=>(An(i,r),i),[])),o=p(()=>Cn(n.value,t.value,void 0,void 0,e));return p(()=>In(o.value))}function Rr(s,e,t=E(0),n,o,i){const r=p(()=>oe.value.length),a=E(0),l=E(0),c=p(()=>ze(s.value,n.value)),u=p(()=>s.value.no),f=p(()=>{var F;return((F=s.value.meta)==null?void 0:F.layout)||(u.value===1?"cover":"default")}),h=p(()=>e.value.current),d=p(()=>e.value.clicksStart),g=p(()=>e.value.total),m=p(()=>oe.value[Math.min(oe.value.length,u.value+1)-1]),y=p(()=>oe.value[Math.max(1,u.value-1)-1]),v=p(()=>u.valueu.value>1||h.value>0),w=p(()=>jr(a.value,s.value,y.value));Q(s,(F,j)=>{a.value=F.no-j.no});async function b(F){return!1}const O=Hr(oe,u,s);async function M(){l.value=1,g.value<=t.value?await L():t.value+=1}async function $(){l.value=-1,t.value<=d.value?await D():t.value-=1}async function L(){l.value=1,u.value{const s=Ht(),e=p(()=>s.currentRoute.value),t=p(()=>(s.currentRoute.value.query,new URLSearchParams(location.search))),n=p(()=>t.value.has("print")),o=p(()=>t.value.get("print")==="clicks"),i=p(()=>t.value.has("embedded")),r=p(()=>e.value.name==="play"),a=p(()=>e.value.name==="presenter"),l=p(()=>e.value.name==="notes"),c=p(()=>!a.value&&(!H.remote||t.value.get("password")===H.remote)),u=eo(r,a),f=p(()=>{var v;return u.value?((v=ct(e.value.params.no))==null?void 0:v.no)??1:1}),h=p(()=>oe.value[f.value-1]),d=Lr("clicks","0"),g=p(()=>y(h.value)),m=p({get(){let v=+(d.value||0);return Number.isNaN(v)&&(v=0),v},set(v){d.value=v.toString()}});function y(v){var b,O;if((b=v==null?void 0:v.meta)!=null&&b.__clicksContext)return v.meta.__clicksContext;const _=v.no,w=$n(p({get(){return f.value===_?Math.max(+(d.value??0),w.clicksStart):f.value>_?ss:w.clicksStart},set(M){f.value===_&&(d.value=rt(M,w.clicksStart,w.total).toString())}}),((O=v==null?void 0:v.meta.slide)==null?void 0:O.frontmatter.clicksStart)??0,v==null?void 0:v.meta.clicks);return w.onMounted=()=>{f.value===_&&(d.value=rt(+d.value,w.clicksStart,w.total).toString())},v!=null&&v.meta&&(v.meta.__clicksContext=w),w}return{router:s,currentRoute:e,isPrintMode:n,isPrintWithClicks:o,isEmbedded:i,isPlaying:r,isPresenter:a,isNotesViewer:l,isPresenterAvailable:c,hasPrimarySlide:u,currentSlideNo:f,currentSlideRoute:h,clicksContext:g,queryClicksRaw:d,queryClicks:m,getPrimaryClicks:y}}),as=ln(()=>{const s=Nr(),e=Ht(),t=Rr(s.currentSlideRoute,s.clicksContext,s.queryClicks,s.isPresenter,s.isPrintMode,e);return Q([t.total,s.currentRoute],async()=>{s.hasPrimarySlide.value&&!ct(s.currentRoute.value.params.no)&&await t.goLast()},{flush:"pre",immediate:!0}),{...t,...s}}),Fr=[];function xr(){const s=on().appContext.app,e=S({nav:as(),configs:H,themeConfigs:p(()=>H.themeConfig)});s.provide(ws,E("none")),s.provide(Si,e),s.provide(_s,p(()=>e.nav.currentSlideNo)),s.provide(Nt,ys(Cr()));for(const f of Fr)f();const t=H.titleTemplate.replace("%s",H.title||"Slidev"),{clicksContext:n,currentSlideNo:o,hasPrimarySlide:i,isNotesViewer:r,isPresenter:a}=as();di({title:t,htmlAttrs:H.htmlAttrs}),yi(`${t} - shared`),bi(`${t} - drawings`);const l=`${location.origin}_${$s()}`;function c(){r.value||!a.value&&!Pi.includes(location.host.split(":")[0])||(a.value?(Ze("page",+o.value),Ze("clicks",n.value.current)):(Ze("viewerPage",+o.value),Ze("viewerClicks",n.value.current)),Ze("lastUpdate",{id:l,type:a.value?"presenter":"viewer",time:new Date().getTime()}))}const u=Ht();u.afterEach(c),Q(n,c),vi(f=>{var h;i.value&&((h=f.lastUpdate)==null?void 0:h.type)==="presenter"&&(+f.page!=+o.value||+n.value.current!=+f.clicks)&&(_n.value=!1,u.replace({path:ze(f.page,a.value),query:{...u.currentRoute.value.query,clicks:f.clicks||0}}))})}const Vr=to({__name:"App",setup(s){return xr(),qe(()=>{for(const[e,t]of Object.entries(Po.value))document.body.style.setProperty(e,t.toString())}),(e,t)=>{const n=so("RouterView");return rn(),no(n)}}}),Br=En(Vr,[["__file","/usr/local/lib/node_modules/@slidev/cli/node_modules/@slidev/client/App.vue"]]);function il(s,e=""){var o,i;const t=["slidev-page",e],n=(i=(o=s==null?void 0:s.meta)==null?void 0:o.slide)==null?void 0:i.no;return n!=null&&t.push(`slidev-page-${n}`),t.filter(Boolean).join(" ")}async function rl(){const{saveAs:s}=await T(()=>import("./modules/file-saver-CvNQQnEe.js").then(e=>e.F),[]);s(typeof H.download=="string"?H.download:H.exportFilename?`${H.exportFilename}.pdf`:"/sa2024/09-cloud/slidev-exported.pdf",`${H.title}.pdf`)}function Ke(s,e,t){var n;return((n=s.instance)==null?void 0:n.$).provides[e]??t}function Wr(){return{install(s){s.directive("click",{name:"v-click",mounted(e,t){const n=St(e,t,t.value);n!=null&&(e.classList.toggle(_t,!0),e.dataset.slidevClicksStart=String(n.start),Number.isFinite(n.end)&&(e.dataset.slidevClicksEnd=String(n.end)),e.watchStopHandle=qe(()=>{const o=n.isActive.value,i=n.isCurrent.value,r=o&&!i;n.flagHide?(e.classList.toggle(n.flagFade?Xe:Ye,o),e.classList.toggle(zt,o)):e.classList.toggle(n.flagFade?Xe:Ye,!o),e.classList.toggle(qt,i),e.classList.toggle(Kt,r)}))},unmounted:Qt}),s.directive("after",{name:"v-after",mounted(e,t){const n=St(e,t,"+0");n!=null&&(e.classList.toggle(_t,!0),e.watchStopHandle=qe(()=>{const o=n.isActive.value,i=n.isCurrent.value,r=o&&!i;n.flagHide?(e.classList.toggle(n.flagFade?Xe:Ye,o),e.classList.toggle(zt,o)):e.classList.toggle(n.flagFade?Xe:Ye,!o),e.classList.toggle(qt,i),e.classList.toggle(Kt,r)}))},unmounted:Qt}),s.directive("click-hide",{name:"v-click-hide",mounted(e,t){const n=St(e,t,t.value,!0);n!=null&&(e.classList.toggle(_t,!0),e.watchStopHandle=qe(()=>{const o=n.isActive.value,i=n.isCurrent.value,r=o&&!i;e.classList.toggle(n.flagFade?Xe:Ye,o),e.classList.toggle(zt,o),e.classList.toggle(qt,i),e.classList.toggle(Kt,r)}))},unmounted:Qt})}}}const Dn=new Map;function St(s,e,t,n=!1){var h;const o=(h=Ke(e,Nt))==null?void 0:h.value;if(!s||!o)return null;const i=n||e.modifiers.hide!==!1&&e.modifiers.hide!=null,r=e.modifiers.fade!==!1&&e.modifiers.fade!=null,a=Ar(t),l=o.calculate(a);if(!l)return null;o.register(s,l);const c=p(()=>i?!l.isActive.value:l.isActive.value),u=p(()=>c.value?"shown":Number.isFinite(l.end)?o.currentn.push(...o)),ls(n,e,t)}function qr(s,e){return s[0]===e[0]&&s[1]===e[1]}function Kr(s,e,t,n=1){const o=t,i=Math.max(e,.1),r=s[0]&&s[0][0]&&typeof s[0][0]=="number"?[s]:s,a=[0,0];if(o)for(const c of r)ls(c,a,o);const l=Jr(r,i,n);if(o){for(const c of r)ls(c,a,-o);zr(l,a,-o)}return l}function Jr(s,e,t){const n=[];for(const c of s){const u=[...c];qr(u[0],u[u.length-1])||u.push([u[0][0],u[0][1]]),u.length>2&&n.push(u)}const o=[];e=Math.max(e,.1);const i=[];for(const c of n)for(let u=0;uc.yminu.ymin?1:c.xu.x?1:c.ymax===u.ymax?0:(c.ymax-u.ymax)/Math.abs(c.ymax-u.ymax)),!i.length)return o;let r=[],a=i[0].ymin,l=0;for(;r.length||i.length;){if(i.length){let c=-1;for(let f=0;fa);f++)c=f;i.splice(0,c+1).forEach(f=>{r.push({s:a,edge:f})})}if(r=r.filter(c=>!(c.edge.ymax<=a)),r.sort((c,u)=>c.edge.x===u.edge.x?0:(c.edge.x-u.edge.x)/Math.abs(c.edge.x-u.edge.x)),(t!==1||l%e===0)&&r.length>1)for(let c=0;c=r.length)break;const f=r[c].edge,h=r[u].edge;o.push([[Math.round(f.x),a],[Math.round(h.x),a]])}a+=t,r.forEach(c=>{c.edge.x=c.edge.x+t*c.edge.islope}),l++}return o}function ft(s,e){var t;const n=e.hachureAngle+90;let o=e.hachureGap;o<0&&(o=e.strokeWidth*4),o=Math.round(Math.max(o,.1));let i=1;return e.roughness>=1&&(((t=e.randomizer)===null||t===void 0?void 0:t.next())||Math.random())>.7&&(i=o),Kr(s,o,n,i||1)}class Ls{constructor(e){this.helper=e}fillPolygons(e,t){return this._fillPolygons(e,t)}_fillPolygons(e,t){const n=ft(e,t);return{type:"fillSketch",ops:this.renderLines(n,t)}}renderLines(e,t){const n=[];for(const o of e)n.push(...this.helper.doubleLineOps(o[0][0],o[0][1],o[1][0],o[1][1],t));return n}}function Wt(s){const e=s[0],t=s[1];return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}class Gr extends Ls{fillPolygons(e,t){let n=t.hachureGap;n<0&&(n=t.strokeWidth*4),n=Math.max(n,.1);const o=Object.assign({},t,{hachureGap:n}),i=ft(e,o),r=Math.PI/180*t.hachureAngle,a=[],l=n*.5*Math.cos(r),c=n*.5*Math.sin(r);for(const[f,h]of i)Wt([f,h])&&a.push([[f[0]-l,f[1]+c],[...h]],[[f[0]+l,f[1]-c],[...h]]);return{type:"fillSketch",ops:this.renderLines(a,t)}}}class Qr extends Ls{fillPolygons(e,t){const n=this._fillPolygons(e,t),o=Object.assign({},t,{hachureAngle:t.hachureAngle+90}),i=this._fillPolygons(e,o);return n.ops=n.ops.concat(i.ops),n}}class Zr{constructor(e){this.helper=e}fillPolygons(e,t){t=Object.assign({},t,{hachureAngle:0});const n=ft(e,t);return this.dotsOnLines(n,t)}dotsOnLines(e,t){const n=[];let o=t.hachureGap;o<0&&(o=t.strokeWidth*4),o=Math.max(o,.1);let i=t.fillWeight;i<0&&(i=t.strokeWidth/2);const r=o/4;for(const a of e){const l=Wt(a),c=l/o,u=Math.ceil(c)-1,f=l-u*o,h=(a[0][0]+a[1][0])/2-o/4,d=Math.min(a[0][1],a[1][1]);for(let g=0;g{const a=Wt(r),l=Math.floor(a/(n+o)),c=(a+o-l*(n+o))/2;let u=r[0],f=r[1];u[0]>f[0]&&(u=r[1],f=r[0]);const h=Math.atan((f[1]-u[1])/(f[0]-u[0]));for(let d=0;d{const r=Wt(i),a=Math.round(r/(2*t));let l=i[0],c=i[1];l[0]>c[0]&&(l=i[1],c=i[0]);const u=Math.atan((c[1]-l[1])/(c[0]-l[0]));for(let f=0;fu%2?c+t:c+e);i.push({key:"C",data:l}),e=l[4],t=l[5];break}case"Q":i.push({key:"Q",data:[...a]}),e=a[2],t=a[3];break;case"q":{const l=a.map((c,u)=>u%2?c+t:c+e);i.push({key:"Q",data:l}),e=l[2],t=l[3];break}case"A":i.push({key:"A",data:[...a]}),e=a[5],t=a[6];break;case"a":e+=a[5],t+=a[6],i.push({key:"A",data:[a[0],a[1],a[2],a[3],a[4],e,t]});break;case"H":i.push({key:"H",data:[...a]}),e=a[0];break;case"h":e+=a[0],i.push({key:"H",data:[e]});break;case"V":i.push({key:"V",data:[...a]}),t=a[0];break;case"v":t+=a[0],i.push({key:"V",data:[t]});break;case"S":i.push({key:"S",data:[...a]}),e=a[2],t=a[3];break;case"s":{const l=a.map((c,u)=>u%2?c+t:c+e);i.push({key:"S",data:l}),e=l[2],t=l[3];break}case"T":i.push({key:"T",data:[...a]}),e=a[0],t=a[1];break;case"t":e+=a[0],t+=a[1],i.push({key:"T",data:[e,t]});break;case"Z":case"z":i.push({key:"Z",data:[]}),e=n,t=o;break}return i}function Nn(s){const e=[];let t="",n=0,o=0,i=0,r=0,a=0,l=0;for(const{key:c,data:u}of s){switch(c){case"M":e.push({key:"M",data:[...u]}),[n,o]=u,[i,r]=u;break;case"C":e.push({key:"C",data:[...u]}),n=u[4],o=u[5],a=u[2],l=u[3];break;case"L":e.push({key:"L",data:[...u]}),[n,o]=u;break;case"H":n=u[0],e.push({key:"L",data:[n,o]});break;case"V":o=u[0],e.push({key:"L",data:[n,o]});break;case"S":{let f=0,h=0;t==="C"||t==="S"?(f=n+(n-a),h=o+(o-l)):(f=n,h=o),e.push({key:"C",data:[f,h,...u]}),a=u[0],l=u[1],n=u[2],o=u[3];break}case"T":{const[f,h]=u;let d=0,g=0;t==="Q"||t==="T"?(d=n+(n-a),g=o+(o-l)):(d=n,g=o);const m=n+2*(d-n)/3,y=o+2*(g-o)/3,v=f+2*(d-f)/3,_=h+2*(g-h)/3;e.push({key:"C",data:[m,y,v,_,f,h]}),a=d,l=g,n=f,o=h;break}case"Q":{const[f,h,d,g]=u,m=n+2*(f-n)/3,y=o+2*(h-o)/3,v=d+2*(f-d)/3,_=g+2*(h-g)/3;e.push({key:"C",data:[m,y,v,_,d,g]}),a=f,l=h,n=d,o=g;break}case"A":{const f=Math.abs(u[0]),h=Math.abs(u[1]),d=u[2],g=u[3],m=u[4],y=u[5],v=u[6];f===0||h===0?(e.push({key:"C",data:[n,o,y,v,y,v]}),n=y,o=v):(n!==y||o!==v)&&(Fn(n,o,y,v,f,h,d,g,m).forEach(function(w){e.push({key:"C",data:w})}),n=y,o=v);break}case"Z":e.push({key:"Z",data:[]}),n=i,o=r;break}t=c}return e}function na(s){return Math.PI*s/180}function et(s,e,t){const n=s*Math.cos(t)-e*Math.sin(t),o=s*Math.sin(t)+e*Math.cos(t);return[n,o]}function Fn(s,e,t,n,o,i,r,a,l,c){const u=na(r);let f=[],h=0,d=0,g=0,m=0;if(c)[h,d,g,m]=c;else{[s,e]=et(s,e,-u),[t,n]=et(t,n,-u);const P=(s-t)/2,A=(e-n)/2;let R=P*P/(o*o)+A*A/(i*i);R>1&&(R=Math.sqrt(R),o=R*o,i=R*i);const F=a===l?-1:1,j=o*o,ne=i*i,W=j*ne-j*A*A-ne*P*P,Y=j*A*A+ne*P*P,C=F*Math.sqrt(Math.abs(W/Y));g=C*o*A/i+(s+t)/2,m=C*-i*P/o+(e+n)/2,h=Math.asin(parseFloat(((e-m)/i).toFixed(9))),d=Math.asin(parseFloat(((n-m)/i).toFixed(9))),sd&&(h=h-Math.PI*2),!l&&d>h&&(d=d-Math.PI*2)}let y=d-h;if(Math.abs(y)>Math.PI*120/180){const P=d,A=t,R=n;l&&d>h?d=h+Math.PI*120/180*1:d=h+Math.PI*120/180*-1,t=g+o*Math.cos(d),n=m+i*Math.sin(d),f=Fn(t,n,A,R,o,i,r,0,l,[d,P,g,m])}y=d-h;const v=Math.cos(h),_=Math.sin(h),w=Math.cos(d),b=Math.sin(d),O=Math.tan(y/4),M=4/3*o*O,$=4/3*i*O,L=[s,e],D=[s+M*_,e-$*v],V=[t+M*b,n-$*w],se=[t,n];if(D[0]=2*L[0]-D[0],D[1]=2*L[1]-D[1],c)return[D,V,se].concat(f);{f=[D,V,se].concat(f);const P=[];for(let A=0;A2){const o=[];for(let i=0;iMath.PI*2&&(d=0,g=Math.PI*2);const m=Math.PI*2/l.curveStepCount,y=Math.min(m/2,(g-d)/2),v=Xs(y,c,u,f,h,d,g,1,l);if(!l.disableMultiStroke){const _=Xs(y,c,u,f,h,d,g,1.5,l);v.push(..._)}return r&&(a?v.push(...le(c,u,c+f*Math.cos(d),u+h*Math.sin(d),l),...le(c,u,c+f*Math.cos(g),u+h*Math.sin(g),l)):v.push({op:"lineTo",data:[c,u]},{op:"lineTo",data:[c+f*Math.cos(d),u+h*Math.sin(d)]})),{type:"path",ops:v}}function Qs(s,e){const t=Nn(Rn(As(s))),n=[];let o=[0,0],i=[0,0];for(const{key:r,data:a}of t)switch(r){case"M":{i=[a[0],a[1]],o=[a[0],a[1]];break}case"L":n.push(...le(i[0],i[1],a[0],a[1],e)),i=[a[0],a[1]];break;case"C":{const[l,c,u,f,h,d]=a;n.push(...ua(l,c,u,f,h,d,i,e)),i=[h,d];break}case"Z":n.push(...le(i[0],i[1],o[0],o[1],e)),i=[o[0],o[1]];break}return{type:"path",ops:n}}function Yt(s,e){const t=[];for(const n of s)if(n.length){const o=e.maxRandomnessOffset||0,i=n.length;if(i>2){t.push({op:"move",data:[n[0][0]+k(o,e),n[0][1]+k(o,e)]});for(let r=1;rMath.PI*2&&(f=0,h=Math.PI*2);const d=(h-f)/r.curveStepCount,g=[];for(let m=f;m<=h;m=m+d)g.push([a+c*Math.cos(m),l+u*Math.sin(m)]);return g.push([a+c*Math.cos(h),l+u*Math.sin(h)]),g.push([a,l]),Ve([g],r)}function aa(s,e){return k(s,e)}function la(s,e,t){return At(s,e,t)}function ca(s,e,t,n,o){return le(s,e,t,n,o,!0)}function Zs(s){const e=Object.assign({},s);return e.randomizer=void 0,s.seed&&(e.seed=s.seed+1),e}function Bn(s){return s.randomizer||(s.randomizer=new Ur(s.seed||0)),s.randomizer.next()}function At(s,e,t,n=1){return t.roughness*n*(Bn(t)*(e-s)+s)}function k(s,e,t=1){return At(-s,s,e,t)}function le(s,e,t,n,o,i=!1){const r=i?o.disableMultiStrokeFill:o.disableMultiStroke,a=hs(s,e,t,n,o,!0,!1);if(r)return a;const l=hs(s,e,t,n,o,!0,!0);return a.concat(l)}function hs(s,e,t,n,o,i,r){const a=Math.pow(s-t,2)+Math.pow(e-n,2),l=Math.sqrt(a);let c=1;l<200?c=1:l>500?c=.4:c=-.0016668*l+1.233334;let u=o.maxRandomnessOffset||0;u*u*100>a&&(u=l/10);const f=u/2,h=.2+Bn(o)*.2;let d=o.bowing*o.maxRandomnessOffset*(n-e)/200,g=o.bowing*o.maxRandomnessOffset*(s-t)/200;d=k(d,o,c),g=k(g,o,c);const m=[],y=()=>k(f,o,c),v=()=>k(u,o,c),_=o.preserveVertices;return i&&(r?m.push({op:"move",data:[s+(_?0:y()),e+(_?0:y())]}):m.push({op:"move",data:[s+(_?0:k(u,o,c)),e+(_?0:k(u,o,c))]})),r?m.push({op:"bcurveTo",data:[d+s+(t-s)*h+y(),g+e+(n-e)*h+y(),d+s+2*(t-s)*h+y(),g+e+2*(n-e)*h+y(),t+(_?0:y()),n+(_?0:y())]}):m.push({op:"bcurveTo",data:[d+s+(t-s)*h+v(),g+e+(n-e)*h+v(),d+s+2*(t-s)*h+v(),g+e+2*(n-e)*h+v(),t+(_?0:v()),n+(_?0:v())]}),m}function pt(s,e,t){if(!s.length)return[];const n=[];n.push([s[0][0]+k(e,t),s[0][1]+k(e,t)]),n.push([s[0][0]+k(e,t),s[0][1]+k(e,t)]);for(let o=1;o3){const i=[],r=1-t.curveTightness;o.push({op:"move",data:[s[1][0],s[1][1]]});for(let a=1;a+21&&o.push(i):o.push(i),o.push(s[e+3])}else{const r=s[e+0],a=s[e+1],l=s[e+2],c=s[e+3],u=De(r,a,.5),f=De(a,l,.5),h=De(l,c,.5),d=De(u,f,.5),g=De(f,h,.5),m=De(d,g,.5);ds([r,u,d,m],0,t,o),ds([m,g,h,c],0,t,o)}return o}function pa(s,e){return It(s,0,s.length,e)}function It(s,e,t,n,o){const i=o||[],r=s[e],a=s[t-1];let l=0,c=1;for(let u=e+1;ul&&(l=f,c=u)}return Math.sqrt(l)>n?(It(s,e,c+1,n,i),It(s,c,t,n,i)):(i.length||i.push(r),i.push(a)),i}function ps(s,e=.15,t){const n=[],o=(s.length-1)/3;for(let i=0;i0?It(n,0,n.length,t):n}function ga(s,e,t){const n=As(s),o=Nn(Rn(n)),i=[];let r=[],a=[0,0],l=[];const c=()=>{l.length>=4&&r.push(...ps(l,e)),l=[]},u=()=>{c(),r.length&&(i.push(r),r=[])};for(const{key:h,data:d}of o)switch(h){case"M":u(),a=[d[0],d[1]],r.push(a);break;case"L":c(),r.push([d[0],d[1]]);break;case"C":if(!l.length){const g=r.length?r[r.length-1]:a;l.push([g[0],g[1]])}l.push([d[0],d[1]]),l.push([d[2],d[3]]),l.push([d[4],d[5]]);break;case"Z":c(),r.push([a[0],a[1]]);break}if(u(),!t)return i;const f=[];for(const h of i){const d=pa(h,t);d.length&&f.push(d)}return f}const K="none";class ma{constructor(e){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=e||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return jn()}_o(e){return e?Object.assign({},this.defaultOptions,e):this.defaultOptions}_d(e,t,n){return{shape:e,sets:t||[],options:n||this.defaultOptions}}line(e,t,n,o,i){const r=this._o(i);return this._d("line",[G(e,t,n,o,r)],r)}rectangle(e,t,n,o,i){const r=this._o(i),a=[],l=xn(e,t,n,o,r);if(r.fill){const c=[[e,t],[e+n,t],[e+n,t+o],[e,t+o]];r.fillStyle==="solid"?a.push(Yt([c],r)):a.push(Ve([c],r))}return r.stroke!==K&&a.push(l),this._d("rectangle",a,r)}ellipse(e,t,n,o,i){const r=this._o(i),a=[],l=Vn(n,o,r),c=fs(e,t,r,l);if(r.fill)if(r.fillStyle==="solid"){const u=fs(e,t,r,l).opset;u.type="fillPath",a.push(u)}else a.push(Ve([c.estimatedPoints],r));return r.stroke!==K&&a.push(c.opset),this._d("ellipse",a,r)}circle(e,t,n,o){const i=this.ellipse(e,t,n,n,o);return i.shape="circle",i}linearPath(e,t){const n=this._o(t);return this._d("linearPath",[it(e,!1,n)],n)}arc(e,t,n,o,i,r,a=!1,l){const c=this._o(l),u=[],f=Gs(e,t,n,o,i,r,a,!0,c);if(a&&c.fill)if(c.fillStyle==="solid"){const h=Object.assign({},c);h.disableMultiStroke=!0;const d=Gs(e,t,n,o,i,r,!0,!1,h);d.type="fillPath",u.push(d)}else u.push(ra(e,t,n,o,i,r,c));return c.stroke!==K&&u.push(f),this._d("arc",u,c)}curve(e,t){const n=this._o(t),o=[],i=Js(e,n);if(n.fill&&n.fill!==K)if(n.fillStyle==="solid"){const r=Js(e,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));o.push({type:"fillPath",ops:this._mergedShape(r.ops)})}else{const r=[],a=e;if(a.length){const c=typeof a[0][0]=="number"?[a]:a;for(const u of c)u.length<3?r.push(...u):u.length===3?r.push(...ps(en([u[0],u[0],u[1],u[2]]),10,(1+n.roughness)/2)):r.push(...ps(en(u),10,(1+n.roughness)/2))}r.length&&o.push(Ve([r],n))}return n.stroke!==K&&o.push(i),this._d("curve",o,n)}polygon(e,t){const n=this._o(t),o=[],i=it(e,!0,n);return n.fill&&(n.fillStyle==="solid"?o.push(Yt([e],n)):o.push(Ve([e],n))),n.stroke!==K&&o.push(i),this._d("polygon",o,n)}path(e,t){const n=this._o(t),o=[];if(!e)return this._d("path",o,n);e=(e||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const i=n.fill&&n.fill!=="transparent"&&n.fill!==K,r=n.stroke!==K,a=!!(n.simplification&&n.simplification<1),l=a?4-4*(n.simplification||1):(1+n.roughness)/2,c=ga(e,1,l),u=Qs(e,n);if(i)if(n.fillStyle==="solid")if(c.length===1){const f=Qs(e,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));o.push({type:"fillPath",ops:this._mergedShape(f.ops)})}else o.push(Yt(c,n));else o.push(Ve(c,n));return r&&(a?c.forEach(f=>{o.push(it(f,!1,n))}):o.push(u)),this._d("path",o,n)}opsToPath(e,t){let n="";for(const o of e.ops){const i=typeof t=="number"&&t>=0?o.data.map(r=>+r.toFixed(t)):o.data;switch(o.op){case"move":n+=`M${i[0]} ${i[1]} `;break;case"bcurveTo":n+=`C${i[0]} ${i[1]}, ${i[2]} ${i[3]}, ${i[4]} ${i[5]} `;break;case"lineTo":n+=`L${i[0]} ${i[1]} `;break}}return n.trim()}toPaths(e){const t=e.sets||[],n=e.options||this.defaultOptions,o=[];for(const i of t){let r=null;switch(i.type){case"path":r={d:this.opsToPath(i),stroke:n.stroke,strokeWidth:n.strokeWidth,fill:K};break;case"fillPath":r={d:this.opsToPath(i),stroke:K,strokeWidth:0,fill:n.fill||K};break;case"fillSketch":r=this.fillSketch(i,n);break}r&&o.push(r)}return o}fillSketch(e,t){let n=t.fillWeight;return n<0&&(n=t.strokeWidth/2),{d:this.opsToPath(e),stroke:t.fill||K,strokeWidth:n,fill:K}}_mergedShape(e){return e.filter((t,n)=>n===0?!0:t.op!=="move")}}const Wn="http://www.w3.org/2000/svg",ya=800;let Xt=null;function va(){return Xt||(Xt=new ma().defaultOptions),Xt}function es(s,e,t){return{...va(),maxRandomnessOffset:2,roughness:s==="highlight"?3:1.5,bowing:1,stroke:"#000",strokeWidth:1.5,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,disableMultiStroke:s!=="double",disableMultiStrokeFill:!1,seed:e,...t}}function _a(s){const e=s.padding;if(e||e===0){if(typeof e=="number")return[e,e,e,e];if(Array.isArray(e)){const t=e;if(t.length)switch(t.length){case 4:return[...t];case 1:return[t[0],t[0],t[0],t[0]];case 2:return[...t,...t];case 3:return[...t,t[1]];default:return[t[0],t[1],t[2],t[3]]}}}return[5,5,5,5]}function wa(s,e,t,n,o,i){const r=[];let a=t.strokeWidth||2;const l=_a(t),c=t.animate===void 0?!0:!!t.animate,u=t.iterations||2,f=t.rtl?1:0,h=es("single",i,t);switch(t.type){case"underline":{const d=e.y+e.h+l[2];for(let g=f;g_.setAttribute(w,b);for(const _ of d){const w=document.createElementNS(Wn,"path");if(v(w,"d",_),v(w,"fill","none"),v(w,"stroke",t.color||"currentColor"),v(w,"stroke-width",`${a}`),t.opacity!==void 0&&v(w,"style",`opacity:${t.opacity}`),c){const b=w.getTotalLength();g.push(b),y+=b}s.appendChild(w),m.push(w)}if(c){let _=0;for(let w=0;wsetTimeout(e,s))}function ba(s){const e=[];for(const t of s){let n="";for(const o of t.ops){const i=o.data;switch(o.op){case"move":n.trim()&&e.push(n.trim()),n=`M${i[0]} ${i[1]} `;break;case"bcurveTo":n+=`C${i[0]} ${i[1]}, ${i[2]} ${i[3]}, ${i[4]} ${i[5]} `;break;case"lineTo":n+=`L${i[0]} ${i[1]} `;break}}n.trim()&&e.push(n.trim())}return e}function ka(){if(!window.__rno_kf_s){const s=window.__rno_kf_s=document.createElement("style");s.textContent="@keyframes rough-notation-dash { to { stroke-dashoffset: 0; } }",document.head.appendChild(s)}}var Sa=Object.defineProperty,Ma=(s,e,t)=>e in s?Sa(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,X=(s,e,t)=>(Ma(s,typeof e!="symbol"?e+"":e,t),t);class Oa{constructor(e,t){X(this,"_state","unattached"),X(this,"_config"),X(this,"_resizing",!1),X(this,"_ro"),X(this,"_seed",jn()),X(this,"_e"),X(this,"_svg"),X(this,"_lastSizes",[]),X(this,"_animationDelay",0),X(this,"_resizeListener",()=>{this._resizing||(this._resizing=!0,setTimeout(()=>{this._resizing=!1,this._state==="showing"&&this.haveRectsChanged()&&this.show()},400))}),X(this,"pendingRefresh"),this._e=e,this._config=JSON.parse(JSON.stringify(t)),this.attach()}getConfig(e){return this._config[e]}setConfig(e,t){this._config[e]!==t&&(this._config[e]=t,this.refresh())}get animate(){return this._config.animate}set animate(e){this._config.animate=e}get animationDuration(){return this._config.animationDuration}set animationDuration(e){this._config.animationDuration=e}get iterations(){return this._config.iterations}set iterations(e){this._config.iterations=e}get color(){return this._config.color}set color(e){this._config.color!==e&&(this._config.color=e,this.refresh())}get class(){return this._config.class}set class(e){this._config.class!==e&&(this._config.class=e,this._svg&&this._svg.setAttribute("class",["rough-annotation",this._config.class||""].filter(Boolean).join(" ")))}get strokeWidth(){return this._config.strokeWidth}set strokeWidth(e){this._config.strokeWidth!==e&&(this._config.strokeWidth=e,this.refresh())}get padding(){return this._config.padding}set padding(e){this._config.padding!==e&&(this._config.padding=e,this.refresh())}attach(){if(this._state==="unattached"&&this._e.parentElement){ka();const e=this._svg=document.createElementNS(Wn,"svg");e.setAttribute("class",["rough-annotation",this._config.class||""].filter(Boolean).join(" "));const t=e.style;t.position="absolute",t.top="0",t.left="0",t.overflow="visible",t.pointerEvents="none",t.width="100px",t.height="100px";const n=this._config.type==="highlight";if(this._e.insertAdjacentElement(n?"beforebegin":"afterend",e),this._state="not-showing",n){const o=window.getComputedStyle(this._e).position;(!o||o==="static")&&(this._e.style.position="relative")}this.attachListeners()}}detachListeners(){window.removeEventListener("resize",this._resizeListener),this._ro&&this._ro.unobserve(this._e)}attachListeners(){this.detachListeners(),window.addEventListener("resize",this._resizeListener,{passive:!0}),!this._ro&&"ResizeObserver"in window&&(this._ro=new window.ResizeObserver(e=>{for(const t of e)t.contentRect&&this._resizeListener()})),this._ro&&this._ro.observe(this._e)}haveRectsChanged(){if(this._lastSizes.length){const e=this.rects();if(e.length===this._lastSizes.length){for(let t=0;tMath.round(o)===Math.round(i);return n(e.x,t.x)&&n(e.y,t.y)&&n(e.w,t.w)&&n(e.h,t.h)}isShowing(){return this._state!=="not-showing"}refresh(){this.isShowing()&&!this.pendingRefresh&&(this.pendingRefresh=Promise.resolve().then(()=>{this.isShowing()&&this.show(),delete this.pendingRefresh}))}async show(){switch(this._state){case"unattached":break;case"showing":this.hide(),this._svg&&await this.render(this._svg,!0);break;case"not-showing":this.attach(),this._svg&&await this.render(this._svg,!1);break}}hide(){if(this._svg)for(;this._svg.lastChild;)this._svg.removeChild(this._svg.lastChild);this._state="not-showing"}remove(){this._svg&&this._svg.parentElement&&this._svg.parentElement.removeChild(this._svg),this._svg=void 0,this._state="unattached",this.detachListeners()}async render(e,t){let n=this._config;t&&(n=JSON.parse(JSON.stringify(this._config)),n.animate=!1);const o=this.rects();let i=0;o.forEach(c=>i+=c.w);const r=n.animationDuration||ya;let a=0;const l=[];for(let c=0;cObject.assign(s,{type:"box"}),circle:s=>Object.assign(s,{type:"circle"}),underline:s=>Object.assign(s,{type:"underline"}),highlight:s=>Object.assign(s,{type:"highlight"}),"strike-through":s=>Object.assign(s,{type:"strike-through"}),"crossed-off":s=>Object.assign(s,{type:"crossed-off"}),bracket:s=>Object.assign(s,{type:"bracket"}),strike:s=>Object.assign(s,{type:"strike-through"}),cross:s=>Object.assign(s,{type:"crossed-off"}),crossed:s=>Object.assign(s,{type:"crossed-off"}),linethrough:s=>Object.assign(s,{type:"strike-through"}),"line-through":s=>Object.assign(s,{type:"strike-through"}),black:s=>z(s,"text-black"),blue:s=>z(s,"text-blue"),cyan:s=>z(s,"text-cyan"),gray:s=>z(s,"text-gray"),green:s=>z(s,"text-green"),indigo:s=>z(s,"text-indigo"),lime:s=>z(s,"text-lime"),orange:s=>z(s,"text-orange"),pink:s=>z(s,"text-pink"),purple:s=>z(s,"text-purple"),red:s=>z(s,"text-red"),teal:s=>z(s,"text-teal"),white:s=>z(s,"text-white"),yellow:s=>z(s,"text-yellow")},Ta=[[/^delay-?(\d+)?$/,(s,e,t)=>{const n=(s[1]?Number.parseInt(s[1]):t)||300;return e.delay=n,e}],[/^(?:op|opacity)-?(\d+)?$/,(s,e,t)=>{const n=(s[1]?Number.parseInt(s[1]):t)||100;return e.opacity=n/100,e}]];function Ea(){return{install(s){s.directive("mark",{name:"v-mark",mounted:(e,t)=>{const n=p(()=>{const r=typeof t.value=="object"&&!Array.isArray(t.value)?{...t.value}:{at:t.value};let a={at:r.at};const l=Object.entries(t.modifiers).filter(([u,f])=>{if(sn[u])return a=sn[u](a,f),!1;for(const[h,d]of Ta){const g=u.match(h);if(g)return a=d(g,a,f),!1}return!0});l.length&&console.warn("[Slidev] Invalid modifiers for v-mark:",l);const c={...a,...r};return c.type||(c.type="underline"),c}),o=Pa(e,n.value),i=St(e,t,n.value.at);if(!i){o.show();return}e.watchStopHandle=qe(()=>{let r;n.value.class&&(o.class=n.value.class),n.value.color&&(o.color=n.value.color);const a=n.value.at;a===!0?r=!0:a===!1?r=!1:r=i.isActive.value,r!=null&&(r?o.show():o.hide())})},unmounted:e=>{var t;(t=e.watchStopHandle)==null||t.call(e)}})}}}const al=E(!1),ll=E(!1),cl=E(!1),$a=E(!1),ul=E(!0),fl=oo({xs:460,...co}),Dt=io(),hl=ro(),dl=p(()=>Dt.height.value-Dt.width.value/cn.value>120),pl=ao(Rt?document.body:null),gs=lo(),gl=p(()=>{var s,e;return["INPUT","TEXTAREA"].includes(((s=gs.value)==null?void 0:s.tagName)||"")||((e=gs.value)==null?void 0:e.classList.contains("CodeMirror-code"))}),ml=p(()=>{var s;return["BUTTON","A"].includes(((s=gs.value)==null?void 0:s.tagName)||"")});te("slidev-camera","default",{listenToStorageChanges:!1});te("slidev-mic","default",{listenToStorageChanges:!1});const La=te("slidev-scale",0),yl=te("slidev-presenter-cursor",!0,{listenToStorageChanges:!1}),Aa=te("slidev-show-editor",!1,{listenToStorageChanges:!1}),Ca=te("slidev-editor-vertical",!1,{listenToStorageChanges:!1}),Ia=te("slidev-editor-width",Rt?window.innerWidth*.4:318,{listenToStorageChanges:!1}),Da=te("slidev-editor-height",Rt?window.innerHeight*.4:300,{listenToStorageChanges:!1}),gt=ys(null),jt=te("slidev-presenter-font-size",1,{listenToStorageChanges:!1}),mt=te("slidev-presenter-layout",1,{listenToStorageChanges:!1});function vl(){mt.value=mt.value+1,mt.value>2&&(mt.value=1)}function _l(){jt.value=Math.min(2,jt.value+.1)}function wl(){jt.value=Math.max(.5,jt.value-.1)}const bl=an($a);function ja(s=nn(vn,E())){const e=uo(s),t=Q([Aa,Ca,Ia,Da,La,Dt.width,Dt.height],()=>{setTimeout(e.update,300)},{flush:"post",immediate:!0});return{...e,stop:t}}function Ha(s){return()=>{}}function Ra(s,e,t){var Y;function n(C){return s?Ke(s,C):po(C)}const o=n(ws),i=n(Mi)??{},r=n(_s),a=p(()=>Ha(r.value)),l=n(ki)??E(1),c=n(Oi)??E(1),{left:u,top:f,stop:h}=ja(n(vn)??E()),d=["slide","presenter"].includes(o.value);let g=s?"directive":"prop",m=$s(),y;if(Array.isArray(e)?y=e:typeof e=="string"&&e.includes(",")?y=e.split(",").map(Number):e!=null&&(g="frontmatter",m=`${e}`,e=(Y=i==null?void 0:i.dragPos)==null?void 0:Y[m],y=e==null?void 0:e.split(",").map(Number)),g!=="frontmatter"&&!t)throw new Error("[Slidev] Can not identify the source position of the v-drag element, please provide an explicit `id` prop.");const v=[h],_=e!=null&&!Number.isFinite(y==null?void 0:y[3]);y??(y=[Number.NaN,Number.NaN,0]);const w=E(y[2]),b=E(y[0]+y[2]/2),O=E(y[4]??0),M=p(()=>O.value*Math.PI/180),$=p(()=>Math.sin(M.value)),L=p(()=>Math.cos(M.value)),D=E(),V=E({left:0,top:0,width:0,height:0}),se=E(0);function P(){const C=D.value.getBoundingClientRect();V.value={left:C.left/c.value,top:C.top/c.value,width:C.width/c.value,height:C.height/c.value},se.value=(V.value.width+V.value.height)/l.value/(Math.abs($.value)+Math.abs(L.value))-w.value}v.push(Q(w,P,{flush:"post"}));const A=E(y[3]??0),R=p({get:()=>(_?se.value:A.value)||0,set:C=>!_&&(A.value=C)}),F=E(y[1]),j=p({get:()=>F.value+R.value/2,set:C=>F.value=C-R.value/2}),ne=p(()=>Number.isFinite(b.value)?{position:"absolute",zIndex:100,left:`${b.value-w.value/2}px`,top:`${j.value-R.value/2}px`,width:`${w.value}px`,height:_?void 0:`${R.value}px`,transformOrigin:"center center",transform:`rotate(${O.value}deg)`}:{position:"absolute",zIndex:100});v.push(Q([b,j,w,R,O],([C,ce,Ge,Qe,Cs])=>{let Fe=[C-Ge/2,ce-Qe/2,Ge].map(Math.round).join();_?Fe+=g==="directive"?",NaN":",_":Fe+=`,${Math.round(Qe)}`,Math.round(Cs)!==0&&(Fe+=`,${Math.round(Cs)}`),g==="directive"&&(Fe=`[${Fe}]`),a.value(m,Fe,g,t)}));const W={id:m,dataSource:g,markdownSource:t,zoom:c,autoHeight:_,x0:b,y0:j,width:w,height:R,rotate:O,container:D,containerStyle:ne,watchStopHandles:v,dragging:p(()=>gt.value===W),mounted(){d&&(P(),e||setTimeout(()=>{P(),b.value=(V.value.left+V.value.width/2-u.value)/l.value,j.value=(V.value.top-f.value)/l.value,w.value=V.value.width/l.value,R.value=V.value.height/l.value},100))},unmounted(){d&&W.stopDragging()},startDragging(){P(),gt.value=W},stopDragging(){gt.value===W&&(gt.value=null)}};return v.push(fo(D,C=>{const ce=document.querySelector("#drag-control-container");ce&&C.target&&ce.contains(C.target)||W.stopDragging()}),Q(ho(),C=>{C||W.stopDragging()})),W}function Na(){return{install(s){s.directive("drag",{name:"v-drag",created(e,t,n){var i;const o=Ra(t,t.value,(i=n.props)==null?void 0:i.markdownSource);n.props&&(n.props={...n.props},delete n.props.markdownSource),o.container.value=e,e.draggingState=o,e.dataset.dragId=o.id,o.watchStopHandles.push(Q(o.containerStyle,r=>{for(const[a,l]of Object.entries(r))l&&(e.style[a]=l)},{immediate:!0})),e.addEventListener("dblclick",o.startDragging)},mounted(e){e.draggingState.mounted()},unmounted(e){const t=e.draggingState;t.unmounted(),e.removeEventListener("dblclick",t.startDragging),t.watchStopHandles.forEach(n=>n())}})}}}function Fa(){return{install(s){const e=go();s.directive("motion",{name:"v-motion",mounted(t,n,o,i){var w,b,O;const r=Ke(n,Nt),a=Ke(n,_s),l=Ke(n,ws),{currentPage:c,clicks:u,isPrintMode:f}=as(),h=o.props={...o.props},d={...h.initial,...(w=h.variants)==null?void 0:w["slidev-initial"]},g={...h.enter,...(b=h.variants)==null?void 0:b["slidev-enter"]},m={...h.leave,...(O=h.variants)==null?void 0:O["slidev-leave"]};delete h.initial,delete h.enter,delete h.leave;const y=`${$s()}-`,v=[];for(const M of Object.keys(h))if(M.startsWith("click-")){const $=M.slice(6),L=$.includes("-")?$.split("-").map(Number):+$,D=y+$;v.push({id:D,at:L,variant:{...h[M]},info:r==null?void 0:r.value.calculate(L)}),delete h[M]}v.sort((M,$)=>(Array.isArray(M.at)?M.at[0]:M.at)-(Array.isArray($.at)?$.at[0]:$.at)),e.created(t,n,o,i),e.mounted(t,n,o,i);const _=t.motionInstance;_.clickIds=v.map(M=>M.id),_.set(d),_.watchStopHandle=Q([a,c,u].filter(Boolean),()=>{var $;const M=(($=Dn.get(t))==null?void 0:$.visibilityState.value)??"shown";if(!(r!=null&&r.value)||!["slide","presenter"].includes((l==null?void 0:l.value)??"")){const L={...d,...g};for(const{variant:D}of v)Object.assign(L,D);_.set(L)}else if(f.value||(a==null?void 0:a.value)===c.value)if(M==="shown"){const L={...d,...g};for(const{variant:D,info:V}of v)(!V||V.isActive.value)&&Object.assign(L,D);f.value?_.set(L):_.apply(L)}else _.apply(M==="before"?d:m);else _.apply(((a==null?void 0:a.value)??-1)>c.value?d:m)},{immediate:!0})},unmounted(t){t.motionInstance.watchStopHandle()}})}}}const xa=[];function Va(){const s=[];{let e=function(t){if(!H.remote||H.remote===t.query.password)return!0;if(H.remote&&t.query.password===void 0){const n=prompt("Enter password");if(H.remote===n)return!0}return t.params.no?{path:`/${t.params.no}`}:{path:""}};s.push({name:"entry",path:"/entry",component:()=>T(()=>import("./slidev/entry-qCn6aCoD.js"),__vite__mapDeps([30,24,1,3,4]))},{name:"overview",path:"/overview",component:()=>T(()=>import("./slidev/overview-DKUL7nzD.js"),__vite__mapDeps([31,24,1,32,33,34,35,36,37,38,3,4]))},{name:"notes",path:"/notes",component:()=>T(()=>import("./slidev/notes-D9zLfLJj.js"),__vite__mapDeps([39,24,1,35,36,34,3,4])),beforeEnter:e},{name:"presenter",path:"/presenter/:no",component:()=>T(()=>import("./slidev/presenter-DOJBRr30.js"),__vite__mapDeps([40,24,1,41,32,33,34,2,3,4,42,35,36,43,44,37,38,45])),beforeEnter:e},{path:"/presenter",redirect:{path:"/presenter/1"}})}return s.push({name:"play",path:"/:no",component:()=>T(()=>import("./slidev/play-D5YxM0Xj.js"),__vite__mapDeps([46,1,41,32,33,24,34,2,3,4,42,47]))},{path:"",redirect:{path:"/1"}}),xa.reduce((e,t)=>t(e),s)}const Ba=[];async function Wa(s){function e(){document.documentElement.style.setProperty("--vh",`${window.innerHeight*.01}px`)}e(),window.addEventListener("resize",e);const t=mo({history:yo("/sa2024/09-cloud/"),routes:Va()});s.use(t),s.use(fi()),s.use(Wr()),s.use(Ea()),s.use(Na()),s.use(Fa()),s.use(_o,{container:"#twoslash-container"});const n={app:s,router:t};Ot(()=>{t.afterEach(async()=>{await Ot(),rs.value+=1})});for(const o of Ba)await o(n)}const Un=vo(Br);Wa(Un);Un.mount("#app");export{ws as $,T as A,Dt as B,ss as C,La as D,Ca as E,oe as F,gt as G,bl as H,cl as I,hl as J,rl as K,ul as L,ml as M,gl as N,Ka as O,fl as P,gs as Q,vl as R,ct as S,ki as T,ja as U,_n as V,cn as W,vn as X,Xa as Y,_s as Z,En as _,as as a,el as a0,Nt as a1,Oi as a2,Ya as a3,Za as a4,Qa as a5,ue as a6,fe as a7,he as a8,de as a9,pe as aa,ge as ab,me as ac,ye as ad,ve as ae,_e as af,we as ag,be as ah,ke as ai,Se as aj,Me as ak,Oe as al,Pe as am,$s as an,Ye as ao,nl as ap,Te as aq,Ee as ar,$e as as,Le as at,Ae as au,Ce as av,Si as aw,Mi as ax,tl as ay,Ti as az,Cr as b,H as c,Ln as d,il as e,pl as f,ze as g,sl as h,Ks as i,yl as j,$a as k,jt as l,_l as m,wl as n,rt as o,mt as p,al as q,qa as r,Ga as s,ol as t,di as u,ll as v,Oo as w,Ja as x,dl as y,Aa as z}; diff --git a/09-cloud/assets/index-DSX9Apue.css b/09-cloud/assets/index-DSX9Apue.css new file mode 100644 index 0000000..4c9009b --- /dev/null +++ b/09-cloud/assets/index-DSX9Apue.css @@ -0,0 +1 @@ +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.prose :where(h1,h2,h3,h4,h5,h6):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-headings);font-weight:600;line-height:1.25}.prose :where(a):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-links);text-decoration:underline;font-weight:500}.prose :where(a code):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-links)}.prose :where(p,ul,ol,pre):not(:where(.not-prose,.not-prose *)){margin:1em 0;line-height:1.75}.prose :where(blockquote):not(:where(.not-prose,.not-prose *)){margin:1em 0;padding-left:1em;font-style:italic;border-left:.25em solid var(--un-prose-borders)}.prose :where(h1):not(:where(.not-prose,.not-prose *)){margin:1rem 0;font-size:2.25em}.prose :where(h2):not(:where(.not-prose,.not-prose *)){margin:1.75em 0 .5em;font-size:1.75em}.prose :where(h3):not(:where(.not-prose,.not-prose *)){margin:1.5em 0 .5em;font-size:1.375em}.prose :where(h4):not(:where(.not-prose,.not-prose *)){margin:1em 0;font-size:1.125em}.prose :where(img,video):not(:where(.not-prose,.not-prose *)){max-width:100%}.prose :where(figure,picture):not(:where(.not-prose,.not-prose *)){margin:1em 0}.prose :where(figcaption):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-captions);font-size:.875em}.prose :where(code):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-code);font-size:.875em;font-weight:600;font-family:Fira Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.prose :where(:not(pre)>code):not(:where(.not-prose,.not-prose *)):before,.prose :where(:not(pre)>code):not(:where(.not-prose,.not-prose *)):after{content:"`"}.prose :where(pre):not(:where(.not-prose,.not-prose *)){padding:1.25rem 1.5rem;overflow-x:auto;border-radius:.375rem}.prose :where(pre,code):not(:where(.not-prose,.not-prose *)){white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;hyphens:none;background:transparent}.prose :where(pre code):not(:where(.not-prose,.not-prose *)){font-weight:inherit}.prose :where(ol,ul):not(:where(.not-prose,.not-prose *)){padding-left:1.25em}.prose :where(ol):not(:where(.not-prose,.not-prose *)){list-style-type:decimal}.prose :where(ol[type=A]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where(.not-prose,.not-prose *)){list-style-type:decimal}.prose :where(ul):not(:where(.not-prose,.not-prose *)){list-style-type:disc}.prose :where(ol>li):not(:where(.not-prose,.not-prose *))::marker,.prose :where(ul>li):not(:where(.not-prose,.not-prose *))::marker,.prose :where(summary):not(:where(.not-prose,.not-prose *))::marker{color:var(--un-prose-lists)}.prose :where(hr):not(:where(.not-prose,.not-prose *)){margin:2em 0;border:1px solid var(--un-prose-hr)}.prose :where(table):not(:where(.not-prose,.not-prose *)){display:block;margin:1em 0;border-collapse:collapse;overflow-x:auto}.prose :where(tr):not(:where(.not-prose,.not-prose *)):nth-child(2n){background:var(--un-prose-bg-soft)}.prose :where(td,th):not(:where(.not-prose,.not-prose *)){border:1px solid var(--un-prose-borders);padding:.625em 1em}.prose :where(abbr):not(:where(.not-prose,.not-prose *)){cursor:help}.prose :where(kbd):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-code);border:1px solid;padding:.25rem .5rem;font-size:.875em;border-radius:.25rem}.prose :where(details):not(:where(.not-prose,.not-prose *)){margin:1em 0;padding:1.25rem 1.5rem;background:var(--un-prose-bg-soft)}.prose :where(summary):not(:where(.not-prose,.not-prose *)){cursor:pointer;font-weight:600}.prose{color:var(--un-prose-body);max-width:65ch}.container{width:100%}.border-main,.dark .dark\:border-main,.dark [border~="dark:main"],.dark [dark\:border~=main],[border-main=""],[border~=main]{border-color:#9ca3af33}.border-primary,.hover\:border-primary:hover{border-color:var(--slidev-theme-primary)}.bg-active{background-color:#9ca3af1a}.bg-main,[bg-main=""]{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .bg-main,.dark [bg-main=""]{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.bg-primary{background-color:var(--slidev-theme-primary)}.hover\:bg-active:hover,[hover\:bg-active=""]:hover{background-color:#9ca3af1a}.dark .text-main{--un-text-opacity:1;color:rgb(221 221 221 / var(--un-text-opacity))}.text-main{--un-text-opacity:1;color:rgb(24 24 24 / var(--un-text-opacity))}.text-primary,[text-primary=""]{color:var(--slidev-theme-primary)}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}:root{--slidev-code-background: #f5f5f5;--slidev-code-foreground: #1b1b1b;--slidev-code-font-family: "Fira Code",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--slidev-code-padding: 8px;--slidev-code-font-size: 12px;--slidev-code-line-height: 18px;--slidev-code-radius: 4px;--slidev-code-margin: 4px 0;--slidev-theme-primary: #3ab9d5;--slidev-transition-duration: .5s;--slidev-slide-container-background: black;--slidev-controls-foreground: white}html.dark{--slidev-code-background: #1b1b1b;--slidev-code-foreground: #eee}html,body,#app,#page-root{padding:0;margin:0;width:100%;height:100vh;height:calc(var(--vh, 1vh) * 100);overflow:hidden;font-family:Avenir Next,Nunito Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}html{background:transparent}.slidev-icon-btn{aspect-ratio:1;display:inline-block;-webkit-user-select:none;user-select:none;outline:none;cursor:pointer;border-radius:.25rem;padding:.25rem;vertical-align:middle;opacity:.75;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.15s;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width: 768px){.slidev-icon-btn{padding:.5rem}}.slidev-icon-btn:hover{--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity));--un-bg-opacity:.1;opacity:1}.slidev-icon-btn.shallow{opacity:.3}.slidev-icon-btn.active{opacity:1}.slidev-icon-btn.disabled{opacity:.25;pointer-events:none}.slidev-vclick-target{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.1s}.slidev-vclick-hidden{opacity:0!important;pointer-events:none!important;-webkit-user-select:none!important;user-select:none!important}.slidev-vclick-fade{opacity:.5}.slidev-icon{display:inline-block;vertical-align:sub;line-height:1em}.slidev-page{position:relative;top:0;left:0;right:0;width:100%}.slidev-note-with-clicks .slidev-note-fade{color:#888888ab}.slidev-note-click-mark{-webkit-user-select:none;user-select:none;font-size:.7em;display:inline-flex;align-items:center;border-width:1px;border-color:transparent;border-radius:.25rem;background-color:#a78bfa1a;padding-left:.25rem;padding-right:.25rem;--un-text-opacity:1;color:rgb(167 139 250 / var(--un-text-opacity));font-family:Fira Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.slidev-note-click-mark.slidev-note-click-mark-active{border-width:1px;--un-border-opacity:1;border-color:rgb(167 139 250 / var(--un-border-opacity))}.slidev-note-click-mark.slidev-note-click-mark-past{filter:saturate(0);opacity:.5}.slidev-note-click-mark.slidev-note-click-mark-future{opacity:.5}.slidev-note-click-mark:before{content:"";display:inline-block;--un-icon: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M23 28a1 1 0 0 1-.71-.29l-6.13-6.14l-3.33 5a1 1 0 0 1-1 .44a1 1 0 0 1-.81-.7l-6-20A1 1 0 0 1 6.29 5l20 6a1 1 0 0 1 .7.81a1 1 0 0 1-.44 1l-5 3.33l6.14 6.13a1 1 0 0 1 0 1.42l-4 4A1 1 0 0 1 23 28m0-2.41L25.59 23l-7.16-7.15l5.25-3.5L7.49 7.49l4.86 16.19l3.5-5.25Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em;opacity:.8}.slidev-note-click-mark:after{content:attr(data-clicks);display:inline-block;transform:translateY(.1em)}.rough-annotation{transform:scale(calc(1 / var(--slidev-slide-scale)))}html.dark:root{color-scheme:dark}html.dark .shiki{color:var(--shiki-dark, inherit);--twoslash-popup-bg: var(--shiki-dark-bg, inherit)}html.dark .shiki span{color:var(--shiki-dark)}html:not(.dark) .shiki{color:var(--shiki-light, inherit);--twoslash-popup-bg: var(--shiki-light-bg, inherit)}html:not(.dark) .shiki span{color:var(--shiki-light)}.twoslash-meta-line.twoslash-popover-line{margin-top:-10px}.slidev-code-wrapper{margin:var(--slidev-code-margin)!important;scroll-padding:var(--slidev-code-padding)}.slidev-code-wrapper:-webkit-scrollbar{width:0px}.slidev-code{font-family:var(--slidev-code-font-family)!important;padding:var(--slidev-code-padding)!important;font-size:var(--slidev-code-font-size)!important;line-height:var(--slidev-code-line-height)!important;border-radius:var(--slidev-code-radius)!important;background:var(--slidev-code-background);overflow:auto}.slidev-code .slidev-code-dishonored{opacity:.3;pointer-events:none}.slidev-code-line-numbers .slidev-code code{counter-reset:step;counter-increment:step calc(var(--start, 1) - 1)}.slidev-code-line-numbers .slidev-code code .line:before{content:counter(step);counter-increment:step;display:inline-block;text-align:right;margin-right:1.5rem;width:1rem;--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.dark .slidev-code-line-numbers .slidev-code code .line:before{--un-text-opacity:1;color:rgb(75 85 99 / var(--un-text-opacity))}.slidev-layout :not(pre)>code{font-size:.9em;background:var(--slidev-code-background);border-radius:var(--slidev-code-radius);padding:.125rem .375rem;font-weight:300}.slidev-layout :not(pre)>code:before{margin-right:-.08em}.katex,.katex :after,.katex :before{border-color:currentColor}.CodeMirror pre.CodeMirror-placeholder{opacity:.4}.slidev-katex-wrapper .mord.dishonored{opacity:.3}.slide-left-enter-active,.slide-left-leave-active,.slide-right-enter-active,.slide-right-leave-active,.slide-up-enter-active,.slide-up-leave-active,.slide-down-enter-active,.slide-down-leave-active{transition:all var(--slidev-transition-duration) ease}.slide-left-enter-from,.slide-right-leave-to{transform:translate(100%)}.slide-left-leave-to,.slide-right-enter-from{transform:translate(-100%)}.slide-up-enter-from,.slide-down-leave-to{transform:translateY(100%)}.slide-up-leave-to,.slide-down-enter-from{transform:translateY(-100%)}.fade-enter-active,.fade-leave-active{transition:opacity var(--slidev-transition-duration) ease}.fade-enter-from,.fade-leave-to{opacity:0}.fade-out-leave-active{transition:opacity calc(var(--slidev-transition-duration) * .6) ease-out}.fade-out-enter-active{transition:opacity calc(var(--slidev-transition-duration) * .8) ease-in;transition-delay:calc(var(--slidev-transition-duration) * .6)}.fade-out-enter-from,.fade-out-leave-to{opacity:0}.slidev-layout{height:100%;padding:2.5rem 3.5rem;font-size:1.1rem}.slidev-layout pre,.slidev-layout code{-webkit-user-select:text;user-select:text}.slidev-layout code{font-family:Fira Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.slidev-layout h1{margin-bottom:1rem;font-size:2.25rem;line-height:2.5rem}.slidev-layout h6{padding-top:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase}.slidev-layout p{margin-top:1rem;margin-bottom:1rem;line-height:1.5rem}.slidev-layout ul{list-style:square}.slidev-layout ol{list-style:decimal}.slidev-layout li{line-height:1.8em}.slidev-layout blockquote{background:var(--slidev-code-background);color:var(--slidev-code-foreground);border-left-width:1px;border-color:var(--slidev-theme-primary);border-radius:.25rem;padding:.25rem .5rem;font-size:.875rem;line-height:1.25rem}.slidev-layout blockquote>*{margin-top:0;margin-bottom:0}.slidev-layout table{width:100%}.slidev-layout tr{border-bottom-width:1px;border-color:#9ca3af33}.slidev-layout th{text-align:left;font-weight:400}.slidev-layout a{border-bottom-width:1px;border-color:currentColor;border-style:dashed}.slidev-layout a:hover{border-style:solid;color:var(--slidev-theme-primary)}.slidev-layout td,.slidev-layout th{padding:.75rem .5rem}.slidev-layout b,.slidev-layout strong{font-weight:600}.slidev-layout kbd{border-width:1px;border-bottom-width:2px;border-color:#9ca3af33;border-radius:.25rem;--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity));--un-bg-opacity:.05;padding:.125rem .25rem;font-size:.75rem;line-height:1rem;font-family:Fira Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.slidev-layout h1,[dir=ltr] h1,.slidev-layout [dir=ltr] h1,.slidev-layout h6,[dir=ltr] h6,.slidev-layout [dir=ltr] h6{margin-left:-.05em;margin-right:0}.slidev-layout li,[dir=ltr] li,.slidev-layout [dir=ltr] li{margin-left:1.1em;margin-right:0;padding-left:.2em;padding-right:0}[dir=rtl] h1,.slidev-layout [dir=rtl] h1,[dir=rtl] h6,.slidev-layout [dir=rtl] h6{margin-right:-.05em;margin-left:0}[dir=rtl] li,.slidev-layout [dir=rtl] li{margin-right:1.1em;margin-left:0;padding-right:.2em;padding-left:0}.slidev-layout h1+p{margin-top:-.5rem;margin-bottom:1rem;opacity:.5}.slidev-layout p+h2,.slidev-layout ul+h2,.slidev-layout table+h2{margin-top:2.5rem}.slidev-layout h1{margin-bottom:1rem;margin-left:-.05em;font-size:2.25rem;line-height:2.5rem}.slidev-layout h2{font-size:1.875rem;line-height:2.25rem}.slidev-layout h3{font-size:1.5rem;line-height:2rem}.slidev-layout h4{font-size:1.25rem;line-height:1.75rem}.slidev-layout h5{font-size:1rem;line-height:1.5rem}.slidev-layout h6{margin-left:-.05em;padding-top:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase}.slidev-layout h6:not(.opacity-100){opacity:.4}.slidev-layout.cover,.slidev-layout.intro{display:grid;height:100%}.slidev-layout.cover h1,.slidev-layout.intro h1{font-size:3.75rem;line-height:1;line-height:5rem}.slidev-layout.fact{display:grid;height:100%;text-align:center}.slidev-layout.fact h1{font-size:6rem;line-height:1;font-weight:700}.slidev-layout.fact h1+p{font-size:1.5rem;line-height:2rem;font-weight:700}.slidev-layout.statement{display:grid;height:100%;text-align:center}.slidev-layout.statement h1{font-size:3.75rem;line-height:1;font-weight:700}.slidev-layout.quote{display:grid;height:100%}.slidev-layout.quote h1+p{margin-top:.5rem}.slidev-layout.section h1{font-size:3.75rem;line-height:1;font-weight:500;line-height:5rem}:root{--prism-scheme: light;--prism-foreground: #6e6e6e;--prism-background: #f4f4f4;--prism-comment: #a8a8a8;--prism-string: #555555;--prism-literal: #333333;--prism-keyword: #000000;--prism-function: #4f4f4f;--prism-deleted: #333333;--prism-class: #333333;--prism-builtin: #757575;--prism-property: #333333;--prism-namespace: #4f4f4f;--prism-punctuation: #ababab;--prism-decorator: var(--prism-class);--prism-operator: var(--prism-punctuation);--prism-number: var(--prism-literal);--prism-boolean: var(--prism-literal);--prism-variable: var(--prism-literal);--prism-constant: var(--prism-literal);--prism-symbol: var(--prism-literal);--prism-interpolation: var(--prism-literal);--prism-selector: var(--prism-keyword);--prism-keyword-control: var(--prism-keyword);--prism-regex: var(--prism-string);--prism-json-property: var(--prism-property);--prism-inline-background: var(--prism-background);--prism-comment-style: italic;--prism-url-decoration: underline;--prism-line-number: #a5a5a5;--prism-line-number-gutter: #333333;--prism-line-highlight-background: #eeeeee;--prism-selection-background: #dddddd;--prism-marker-color: var(--prism-foreground);--prism-marker-opacity: .4;--prism-marker-font-size: .8em;--prism-font-size: 1em;--prism-line-height: 1.5em;--prism-font-family: monospace;--prism-inline-font-size: var(--prism-font-size);--prism-block-font-size: var(--prism-font-size);--prism-tab-size: 2;--prism-block-padding-x: 1em;--prism-block-padding-y: 1em;--prism-block-margin-x: 0;--prism-block-margin-y: .5em;--prism-block-radius: .3em;--prism-inline-padding-x: .3em;--prism-inline-padding-y: .1em;--prism-inline-radius: .3em}div[class*=language-],pre[class*=language-],code[class*=language-]{font-size:var(--prism-font-size);font-family:var(--prism-font-family);direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:var(--prism-line-height);-moz-tab-size:var(--prism-tab-size);-o-tab-size:var(--prism-tab-size);tab-size:var(--prism-tab-size);-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;color:var(--prism-foreground)!important}div[class*=language-],pre[class*=language-]{font-size:var(--prism-block-font-size);padding:var(--prism-block-padding-y) var(--prism-block-padding-x);margin:var(--prism-block-margin-y) var(--prism-block-margin-x);border-radius:var(--prism-block-radius);overflow:auto;background:var(--prism-background)}:not(pre)>code[class*=language-]{font-size:var(--prism-inline-font-size);padding:var(--prism-inline-padding-y) var(--prism-inline-padding-x);border-radius:var(--prism-inline-radius);background:var(--prism-inline-background)}pre[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection{background:var(--prism-selection-background)}pre[class*=language-]::selection,pre[class*=language-] ::selection,code[class*=language-]::selection,code[class*=language-] ::selection{background:var(--prism-selection-background)}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:var(--prism-comment);font-style:var(--prism-comment-style)}.token.namespace{color:var(--prism-namespace)}.token.interpolation{color:var(--prism-interpolation)}.token.string{color:var(--prism-string)}.token.punctuation{color:var(--prism-punctuation)}.token.operator{color:var(--prism-operator)}.token.keyword.module,.token.keyword.control-flow{color:var(--prism-keyword-control)}.token.url,.token.symbol,.token.inserted{color:var(--prism-symbol)}.token.constant{color:var(--prism-constant)}.token.string.url{text-decoration:var(--prism-url-decoration)}.token.boolean,.language-json .token.boolean{color:var(--prism-boolean)}.token.number,.language-json .token.number{color:var(--prism-number)}.token.variable{color:var(--prism-variable)}.token.keyword{color:var(--prism-keyword)}.token.atrule,.token.attr-value,.token.selector{color:var(--prism-selector)}.token.function{color:var(--prism-function)}.token.deleted{color:var(--prism-deleted)}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.class-name{color:var(--prism-class)}.token.tag,.token.builtin{color:var(--prism-builtin)}.token.attr-name,.token.property,.token.entity{color:var(--prism-property)}.language-json .token.property{color:var(--prism-json-property)}.token.regex{color:var(--prism-regex)}.token.decorator,.token.annotation{color:var(--prism-decorator)}.line-numbers .line-numbers-rows{border-right-color:var(--prism-line-number)}.line-numbers-rows>span:before{color:var(--prism-line-number-gutter)}.line-highlight{background:var(--prism-line-highlight-background)}:root{--cm-scheme: light;--cm-foreground: #6e6e6e;--cm-background: #f4f4f4;--cm-comment: #a8a8a8;--cm-string: #555555;--cm-literal: #333333;--cm-keyword: #000000;--cm-function: #4f4f4f;--cm-deleted: #333333;--cm-class: #333333;--cm-builtin: #757575;--cm-property: #333333;--cm-namespace: #4f4f4f;--cm-punctuation: #ababab;--cm-decorator: var(--cm-class);--cm-operator: var(--cm-punctuation);--cm-number: var(--cm-literal);--cm-boolean: var(--cm-literal);--cm-variable: var(--cm-literal);--cm-constant: var(--cm-literal);--cm-symbol: var(--cm-literal);--cm-interpolation: var(--cm-literal);--cm-selector: var(--cm-keyword);--cm-keyword-control: var(--cm-keyword);--cm-regex: var(--cm-string);--cm-json-property: var(--cm-property);--cm-inline-background: var(--cm-background);--cm-comment-style: italic;--cm-url-decoration: underline;--cm-line-number: #a5a5a5;--cm-line-number-gutter: #333333;--cm-line-highlight-background: #eeeeee;--cm-selection-background: #aaaaaa;--cm-marker-color: var(--cm-foreground);--cm-marker-opacity: .4;--cm-marker-font-size: .8em;--cm-font-size: 1em;--cm-line-height: 1.5em;--cm-font-family: monospace;--cm-inline-font-size: var(--cm-font-size);--cm-block-font-size: var(--cm-font-size);--cm-tab-size: 2;--cm-block-padding-x: 1em;--cm-block-padding-y: 1em;--cm-block-margin-x: 0;--cm-block-margin-y: .5em;--cm-block-radius: .3em;--cm-inline-padding-x: .3em;--cm-inline-padding-y: .1em;--cm-inline-radius: .3em}.cm-s-vars.CodeMirror{background-color:var(--cm-background);color:var(--cm-foreground)}.cm-s-vars .CodeMirror-gutters{background:var(--cm-line-number-gutter);color:var(--cm-line-number);border:none}.cm-s-vars .CodeMirror-guttermarker,.cm-s-vars .CodeMirror-guttermarker-subtle,.cm-s-vars .CodeMirror-linenumber{color:var(--cm-line-number)}.cm-s-vars div.CodeMirror-selected,.cm-s-vars.CodeMirror-focused div.CodeMirror-selected{background:var(--cm-selection-background)}.cm-s-vars .CodeMirror-line::selection,.cm-s-vars .CodeMirror-line>span::selection,.cm-s-vars .CodeMirror-line>span>span::selection{background:var(--cm-selection-background)}.cm-s-vars .CodeMirror-line::-moz-selection,.cm-s-vars .CodeMirror-line>span::-moz-selection,.cm-s-vars .CodeMirror-line>span>span::-moz-selection{background:var(--cm-selection-background)}.cm-s-vars .CodeMirror-activeline-background{background:var(--cm-line-highlight-background)}.cm-s-vars .cm-keyword{color:var(--cm-keyword)}.cm-s-vars .cm-variable,.cm-s-vars .cm-variable-2,.cm-s-vars .cm-variable-3,.cm-s-vars .cm-type{color:var(--cm-variable)}.cm-s-vars .cm-builtin{color:var(--cm-builtin)}.cm-s-vars .cm-atom{color:var(--cm-literal)}.cm-s-vars .cm-number{color:var(--cm-number)}.cm-s-vars .cm-def{color:var(--cm-decorator)}.cm-s-vars .cm-string,.cm-s-vars .cm-string-2{color:var(--cm-string)}.cm-s-vars .cm-comment{color:var(--cm-comment)}.cm-s-vars .cm-tag{color:var(--cm-builtin)}.cm-s-vars .cm-meta{color:var(--cm-namespace)}.cm-s-vars .cm-attribute,.cm-s-vars .cm-property{color:var(--cm-property)}.cm-s-vars .cm-qualifier{color:var(--cm-keyword)}.cm-s-vars .cm-error{color:var(--prism-deleted)}.cm-s-vars .cm-operator,.cm-s-vars .cm-bracket{color:var(--cm-punctuation)}.cm-s-vars .CodeMirror-matchingbracket{text-decoration:underline}.cm-s-vars .CodeMirror-cursor{border-left:1px solid currentColor}:root{--cm-scheme: var(--prism-scheme);--cm-foreground: var(--prism-foreground);--cm-background: var(--prism-background);--cm-comment: var(--prism-comment);--cm-string: var(--prism-string);--cm-literal: var(--prism-literal);--cm-keyword: var(--prism-keyword);--cm-function: var(--prism-function);--cm-deleted: var(--prism-deleted);--cm-class: var(--prism-class);--cm-builtin: var(--prism-builtin);--cm-property: var(--prism-property);--cm-namespace: var(--prism-namespace);--cm-punctuation: var(--prism-punctuation);--cm-decorator: var(--prism-decorator);--cm-operator: var(--prism-operator);--cm-number: var(--prism-number);--cm-boolean: var(--prism-boolean);--cm-variable: var(--prism-variable);--cm-constant: var(--prism-constant);--cm-symbol: var(--prism-symbol);--cm-interpolation: var(--prism-interpolation);--cm-selector: var(--prism-selector);--cm-keyword-control: var(--prism-keyword-control);--cm-regex: var(--prism-regex);--cm-json-property: var(--prism-json-property);--cm-inline-background: var(--prism-inline-background);--cm-comment-style: var(--prism-comment-style);--cm-url-decoration: var(--prism-url-decoration);--cm-line-number: var(--prism-line-number);--cm-line-number-gutter: var(--prism-line-number-gutter);--cm-line-highlight-background: var(--prism-line-highlight-background);--cm-selection-background: var(--prism-selection-background);--cm-marker-color: var(--prism-marker-color);--cm-marker-opacity: var(--prism-marker-opacity);--cm-marker-font-size: var(--prism-marker-font-size);--cm-font-size: var(--prism-font-size);--cm-line-height: var(--prism-line-height);--cm-font-family: var(--prism-font-family);--cm-inline-font-size: var(--prism-inline-font-size);--cm-block-font-size: var(--prism-block-font-size);--cm-tab-size: var(--prism-tab-size);--cm-block-padding-x: var(--prism-block-padding-x);--cm-block-padding-y: var(--prism-block-padding-y);--cm-block-margin-x: var(--prism-block-margin-x);--cm-block-margin-y: var(--prism-block-margin-y);--cm-block-radius: var(--prism-block-radius);--cm-inline-padding-x: var(--prism-inline-padding-x);--cm-inline-padding-y: var(--prism-inline-padding-y);--cm-inline-radius: var(--prism-inline-radius)}:root{--prism-font-family: var(--slidev-code-font-family);--prism-background: var(--slidev-code-background)}html:not(.dark){--prism-foreground: #393a34;--prism-comment: #a0ada0;--prism-string: #b56959;--prism-literal: #2f8a89;--prism-number: #296aa3;--prism-keyword: #1c6b48;--prism-function: #6c7834;--prism-boolean: #1c6b48;--prism-constant: #a65e2b;--prism-deleted: #a14f55;--prism-class: #2993a3;--prism-builtin: #ab5959;--prism-property: #b58451;--prism-namespace: #b05a78;--prism-punctuation: #8e8f8b;--prism-decorator: #bd8f8f;--prism-regex: #ab5e3f;--prism-json-property: #698c96}html.dark{--prism-foreground: #d4cfbf;--prism-comment: #758575;--prism-string: #d48372;--prism-literal: #429988;--prism-keyword: #4d9375;--prism-boolean: #1c6b48;--prism-number: #6394bf;--prism-variable: #c2b36e;--prism-function: #a1b567;--prism-deleted: #a14f55;--prism-class: #54b1bf;--prism-builtin: #e0a569;--prism-property: #dd8e6e;--prism-namespace: #db889a;--prism-punctuation: #858585;--prism-decorator: #bd8f8f;--prism-regex: #ab5e3f;--prism-json-property: #6b8b9e;--prism-line-number: #888888;--prism-line-number-gutter: #eeeeee;--prism-line-highlight-background: #444444;--prism-selection-background: #444444}:root{--twoslash-popup-bg: var(--slidev-code-background);--twoslash-popup-color: var(--slidev-code-foreground);--twoslash-docs-color: inherit;--twoslash-docs-font: inherit;--twoslash-code-font: "Fira Code",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--twoslash-underline-color: #8888;--twoslash-border-color: #8888;--twoslash-cursor-color: var(--slidev-theme-primary);--twoslash-matched-color: var(--slidev-theme-primary)}.twoslash-popup-container{font-size:13px}.twoslash-popup-container .twoslash-popup-code{font-size:.85em}.twoslash-floating .twoslash-popup-docs-tags .twoslash-popup-docs-tag-name{color:inherit;opacity:.5}.i-svg-spinners-90-ring-with-bg{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z' opacity='.25'/%3E%3Cpath fill='currentColor' d='M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z'%3E%3CanimateTransform attributeName='transform' dur='0.75s' repeatCount='indefinite' type='rotate' values='0 12 12;360 12 12'/%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none,[pointer-events-none=""]{pointer-events:none}.absolute,[absolute=""]{position:absolute}.fixed,[fixed=""]{position:fixed}.relative,[relative=""]{position:relative}.inset-0,[inset-0=""]{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-10{bottom:2.5rem}.left-0{left:0}.left-1{left:.25rem}.left-1\/2{left:50%}.left-110\%,[left-110\%=""]{left:110%}.right-0{right:0}.right-1{right:.25rem}.right-4{right:1rem}.right-5,[right-5=""]{right:1.25rem}.top-0{top:0}.top-1\/2,.top-50\%,[top-50\%=""]{top:50%}.-top-15px{top:-15px}.-top-20{top:-5rem}.top-4{top:1rem}.top-5{top:1.25rem}.-z-1{z-index:-1}.z-1,[z-1=""]{z-index:1}.z-10,[z-10=""]{z-index:10}.z-100{z-index:100}.z-20{z-index:20}.grid{display:grid}.grid-cols-\[1fr_max-content\]{grid-template-columns:1fr max-content}.grid-cols-\[35px_1fr\]{grid-template-columns:35px 1fr}.grid-rows-\[1fr_max-content\]{grid-template-rows:1fr max-content}.grid-rows-\[1fr_min-content\]{grid-template-rows:1fr min-content}.grid-rows-\[auto_max-content\]{grid-template-rows:auto max-content}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.m-1{margin:.25rem}.m-10{margin:2.5rem}.m-20{margin:5rem}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.children\:my-auto>*,.my-auto{margin-top:auto;margin-bottom:auto}.my1{margin-top:.25rem;margin-bottom:.25rem}.my4{margin-top:1rem;margin-bottom:1rem}.my5{margin-top:1.25rem;margin-bottom:1.25rem}.mb-4{margin-bottom:1rem}.mb2{margin-bottom:.5rem}.ml--4{margin-left:-1rem}.ml-0{margin-left:0}.-ml-2{margin-left:-.5rem}.mr--3,[mr--3=""]{margin-right:-.75rem}.mr--8{margin-right:-2rem}.mr-1,.mr1{margin-right:.25rem}.mr-2{margin-right:.5rem}.ms{margin-inline-start:1rem}.-mt-0\.5{margin-top:-.125rem}.mt-0\.5{margin-top:.125rem}.mt-1,.mt1{margin-top:.25rem}.mt-2,[mt-2=""]{margin-top:.5rem}.block{display:block}.inline-block{display:inline-block}.aspect-ratio-initial{aspect-ratio:initial}.h-\[40px\],.h-40px{height:40px}.h-\[calc\(var\(--vh\,1vh\)\*100\)\]{height:calc(var(--vh,1vh) * 100)}.h-0\.7{height:.175rem}.h-22px{height:22px}.h-2px{height:2px}.h-30{height:7.5rem}.h-3px{height:3px}.h-40{height:10rem}.h-5,.h5,[h5=""]{height:1.25rem}.h-50{height:12.5rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-70{height:17.5rem}.h-8,[h-8=""]{height:2rem}.h-80{height:20rem}.h-9,[h-9=""]{height:2.25rem}.h-90{height:22.5rem}.h-full,[h-full=""]{height:100%}.h-max{height:max-content}.h-screen{height:100vh}.h1{height:.25rem}.max-h-full{max-height:100%}.max-w-150{max-width:37.5rem}.max-w-250,[max-w-250=""]{max-width:62.5rem}.max-w-90,[max-w-90=""]{max-width:22.5rem}.max-w-full{max-width:100%}.min-h-50,[min-h-50=""]{min-height:12.5rem}.min-w-16{min-width:4rem}.min-w-40{min-width:10rem}.min-w-90,[min-w-90=""]{min-width:22.5rem}.w-\[40px\]{width:40px}.w-0{width:0}.w-13{width:3.25rem}.w-1px{width:1px}.w-200{width:50rem}.w-22px{width:22px}.w-250,[w-250=""]{width:62.5rem}.w-4,[w-4=""]{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-7{width:1.75rem}.w-8,[w-8=""]{width:2rem}.w-9,[w-9=""]{width:2.25rem}.w-90,[w-90=""]{width:22.5rem}.w-full,[w-full=""]{width:100%}.w-screen{width:100vw}.w1{width:.25rem}.flex,[flex=""],[flex~="~"]{display:flex}.flex-1,[flex-1=""]{flex:1 1 0%}.flex-auto,[flex-auto=""]{flex:1 1 auto}.flex-none{flex:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-wrap-reverse{flex-wrap:wrap-reverse}.translate-y--50\%,[translate-y--50\%=""]{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-rotate-45{--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-rotate:-45deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.scale-102{--un-scale-x:1.02;--un-scale-y:1.02;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.scale-85{--un-scale-x:.85;--un-scale-y:.85;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.animate-fade-in{animation:fade-in 1s linear 1}.animate-duration-100{animation-duration:.1s}.cursor-default{cursor:default}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.touch-none{touch-action:none}.important\:\[\&_\*\]\:select-none *{-webkit-user-select:none!important;user-select:none!important}.select-none,[select-none=""]{-webkit-user-select:none;user-select:none}[select-none~="default:"]:default{-webkit-user-select:none;user-select:none}.resize{resize:both}.resize-none{resize:none}.break-after-page{break-after:page}.items-end{align-items:flex-end}.items-center,[items-center=""]{align-items:center}.justify-center,[justify-center=""]{justify-content:center}.justify-items-start{justify-items:start}.gap-2,[flex~=gap-2]{gap:.5rem}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-4,[gap-4=""]{gap:1rem}.gap-5{gap:1.25rem}.gap-x-8{column-gap:2rem}.gap-y-4{row-gap:1rem}.of-auto,.overflow-auto{overflow:auto}.of-hidden,.overflow-hidden,[of-hidden=""],[overflow-hidden=""]{overflow:hidden}.of-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.whitespace-nowrap,.ws-nowrap,[ws-nowrap=""]{white-space:nowrap}.b,.border,.dark .dark\:border,.dark [dark\:border~="~"],[border=""],[border~="~"]{border-width:1px}[border~="0"]{border-width:0px}.border-2{border-width:2px}[border~=y]{border-top-width:1px;border-bottom-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-r-2{border-right-width:2px}.border-t,[border-t=""],[border~=t]{border-top-width:1px}.b-dark{--un-border-opacity:1;border-color:rgb(34 34 34 / var(--un-border-opacity))}.border-gray,.dark .dark\:b-gray-400{--un-border-opacity:1;border-color:rgb(156 163 175 / var(--un-border-opacity))}.border-gray-300\/50{border-color:#d1d5db80}.dark .dark\:border-gray-500{--un-border-opacity:1;border-color:rgb(107 114 128 / var(--un-border-opacity))}.border-transparent,[border~=transparent]{border-color:transparent}.border-white{--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity))}.rounded,[border~=rounded],[rounded=""]{border-radius:.25rem}.rounded-1\/2{border-radius:50%}.rounded-full,[rounded-full=""]{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-lb{border-bottom-left-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.b-dashed{border-style:dashed}.\!border-none{border-style:none!important}[bg~=black]{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.bg-current{background-color:currentColor}.bg-gray,[hover\:op100~="bg-gray:5"]{--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity))}.dark .dark\:bg-gray-800{--un-bg-opacity:1;background-color:rgb(31 41 55 / var(--un-bg-opacity))}.bg-gray\:10{background-color:#9ca3af1a}.bg-gray\:5{background-color:#9ca3af0d}.bg-gray\/20{background-color:#9ca3af33}.bg-teal-500{--un-bg-opacity:1;background-color:rgb(20 184 166 / var(--un-bg-opacity))}.bg-transparent,[bg-transparent~=","],[bg-transparent~="{"],[bg-transparent~="&&"],[bg-transparent~="text.value"]{background-color:transparent}[bg-transparent~="!valid.value"]{background-color:transparent!important}.hover\:bg-gray-400:hover{--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity))}.hover\:bg-gray\/20:hover{background-color:#9ca3af33}[bg-transparent~="placeholder:"]::placeholder{background-color:transparent}.bg-opacity-30{--un-bg-opacity:.3}.\!bg-opacity-75,.bg-opacity-75\!{--un-bg-opacity:.75 !important}[bg~=opacity-80]{--un-bg-opacity:.8}.hover\:bg-opacity-10:hover{--un-bg-opacity:.1}[stroke-width~="1"]{stroke-width:1px}[stroke-width~="2"]{stroke-width:2px}[stroke-width~="3"]{stroke-width:3px}.dark .dark\:stroke-black{--un-stroke-opacity:1;stroke:rgb(0 0 0 / var(--un-stroke-opacity))}.stroke-white{--un-stroke-opacity:1;stroke:rgb(255 255 255 / var(--un-stroke-opacity))}.p-1{padding:.25rem}.p-16{padding:4rem}.p-2,.p2,[p2=""]{padding:.5rem}.\!p-4{padding:1rem!important}.p3{padding:.75rem}.p4{padding:1rem}.px,.px-4,.px4,[p~=x-4],[px=""]{padding-left:1rem;padding-right:1rem}.py-2,[p~=y-2]{padding-top:.5rem;padding-bottom:.5rem}.px-2,.px2,[px2=""]{padding-left:.5rem;padding-right:.5rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.px1{padding-left:.25rem;padding-right:.25rem}.px3{padding-left:.75rem;padding-right:.75rem}.py-1,.py1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-3,.py3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py0\.5{padding-top:.125rem;padding-bottom:.125rem}.py1\.5{padding-top:.375rem;padding-bottom:.375rem}[p~=l-1]{padding-left:.25rem}[p~=r-2]{padding-right:.5rem}.pt-\.5,[p~="t-0.5"]{padding-top:.125rem}.pb2{padding-bottom:.5rem}.pl-0{padding-left:0}.pl-2{padding-left:.5rem}.pr-6{padding-right:1.5rem}.pt5{padding-top:1.25rem}.text-center{text-align:center}.text-right,[text-right=""]{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3em{font-size:3em}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg,[text-lg=""]{font-size:1.125rem;line-height:1.75rem}.text-sm,[text-sm=""],[text~=sm]{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs,[text-xs=""]{font-size:.75rem;line-height:1rem}[text-sm~="default:"]:default{font-size:.875rem;line-height:1.25rem}.text-\$slidev-controls-foreground{color:var(--slidev-controls-foreground)}.text-black{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}.text-blue{--un-text-opacity:1;color:rgb(96 165 250 / var(--un-text-opacity))}.\!text-current{color:currentColor!important}.text-cyan{--un-text-opacity:1;color:rgb(34 211 238 / var(--un-text-opacity))}.text-gray,.text-gray-400{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.text-green{--un-text-opacity:1;color:rgb(74 222 128 / var(--un-text-opacity))}.text-green-500{--un-text-opacity:1;color:rgb(34 197 94 / var(--un-text-opacity))}.text-indigo{--un-text-opacity:1;color:rgb(129 140 248 / var(--un-text-opacity))}.text-lime{--un-text-opacity:1;color:rgb(163 230 53 / var(--un-text-opacity))}.text-orange{--un-text-opacity:1;color:rgb(251 146 60 / var(--un-text-opacity))}.text-pink{--un-text-opacity:1;color:rgb(244 114 182 / var(--un-text-opacity))}.text-purple{--un-text-opacity:1;color:rgb(192 132 252 / var(--un-text-opacity))}.text-red,.text-red-400{--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity))}.dark .dark\:text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.text-red-700{--un-text-opacity:1;color:rgb(185 28 28 / var(--un-text-opacity))}.text-teal{--un-text-opacity:1;color:rgb(45 212 191 / var(--un-text-opacity))}.text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.text-yellow{--un-text-opacity:1;color:rgb(250 204 21 / var(--un-text-opacity))}.important-text-op-50,.text-opacity-50\!{--un-text-opacity:.5 !important}.font-bold,[font-bold=""]{font-weight:700}.leading-2{line-height:.5rem}.tracking-widest{letter-spacing:.1em}.font-mono,[font-mono=""]{font-family:Fira Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}[tab~="1032"]{-moz-tab-size:1032;-o-tab-size:1032;tab-size:1032}[tab~="2"]{-moz-tab-size:2;-o-tab-size:2;tab-size:2}[tab~="default:"]:default{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.\!opacity-0,.important\:op0{opacity:0!important}.op0,.opacity-0,[op0=""]{opacity:0}.op100,[op100=""],.group:hover .group-hover\:op100{opacity:1}.op15{opacity:.15}.op20,.group:hover .group-hover\:opacity-20{opacity:.2}.op25,.opacity-25,[op25=""]{opacity:.25}.op30{opacity:.3}.op35{opacity:.35}.op40,.opacity-40{opacity:.4}.op50,.opacity-50,[op50=""]{opacity:.5}.op80,.opacity-80,.group:hover .group-hover\:op80{opacity:.8}.opacity-10{opacity:.1}.\!opacity-100{opacity:1!important}.hover\:op100:hover,[hover~=op100]:hover{opacity:1}.hover\:\!opacity-100:hover{opacity:1!important}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-90:hover{opacity:.9}.shadow,[shadow~="~"]{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-xl,[shadow-xl=""]{--un-shadow:var(--un-shadow-inset) 0 20px 25px -5px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 8px 10px -6px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline-none,[outline-none=""]{outline:2px solid transparent;outline-offset:2px}.backdrop-blur,.backdrop-blur-8,[backdrop-blur-8=""]{--un-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.\!backdrop-blur-0px{--un-backdrop-blur:blur(0px) !important;-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)!important;backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)!important}.backdrop-blur-5px{--un-backdrop-blur:blur(5px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.transition,[transition=""]{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300,[duration-300=""]{transition-duration:.3s}.duration-400,[duration-400=""]{transition-duration:.4s}.duration-500{transition-duration:.5s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.view-transition-name{view-transition-name:name}@media (max-width: 767.9px){.lt-md\:hidden{display:none}.lt-md\:flex-col{flex-direction:column}}@media (min-width: 1024px){.lg\:m-2{margin:.5rem}.lg\:gap-1{gap:.25rem}.lg\:p-2{padding:.5rem}.lg\:p-4{padding:1rem}}.shiki-magic-move-container{position:relative;white-space:pre}.shiki-magic-move-line-number{opacity:.3;-webkit-user-select:none;user-select:none}.shiki-magic-move-item{display:inline-block;transition:color var(--smm-duration, .5s) var(--smm-easing, "ease")}.shiki-magic-move-move,.shiki-magic-move-enter-active,.shiki-magic-move-leave-active{transition:all var(--smm-duration, .5s) var(--smm-easing, "ease")}.shiki-magic-move-container-resize,.shiki-magic-move-container-restyle{transition:all var(--smm-duration, .5s) var(--smm-easing, "ease");transition-delay:calc(var(--smm-duration, .5s) * var(--smm-delay-container, 1))}.shiki-magic-move-move{transition-delay:calc(calc(var(--smm-duration, .5s) * var(--smm-delay-move, 1)) + var(--smm-stagger, 0));z-index:1}.shiki-magic-move-enter-active{transition-delay:calc(calc(var(--smm-duration, .5s) * var(--smm-delay-enter, 1)) + var(--smm-stagger, 0));z-index:1}.shiki-magic-move-leave-active{transition-delay:calc(calc(var(--smm-duration, .5s) * var(--smm-delay-leave, 1)) + var(--smm-stagger, 0))}.shiki-magic-move-enter-from,.shiki-magic-move-leave-to{opacity:0}br.shiki-magic-move-leave-active{display:none} diff --git a/09-cloud/assets/logo-BYkHSa_O.png b/09-cloud/assets/logo-BYkHSa_O.png new file mode 100644 index 0000000..f5b8660 Binary files /dev/null and b/09-cloud/assets/logo-BYkHSa_O.png differ diff --git a/09-cloud/assets/modules/file-saver-CvNQQnEe.js b/09-cloud/assets/modules/file-saver-CvNQQnEe.js new file mode 100644 index 0000000..c4f1b3b --- /dev/null +++ b/09-cloud/assets/modules/file-saver-CvNQQnEe.js @@ -0,0 +1 @@ +function O(r,v){for(var u=0;ua[s]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var d=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var g={exports:{}};(function(r,v){(function(u,a){a()})(d,function(){function u(e,t){return typeof t>"u"?t={autoBom:!1}:typeof t!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function a(e,t,l){var o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){p(o.response,t,l)},o.onerror=function(){console.error("could not download file")},o.send()}function s(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return 200<=t.status&&299>=t.status}function c(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var i=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof d=="object"&&d.global===d?d:void 0,y=i.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),p=i.saveAs||(typeof window!="object"||window!==i?function(){}:"download"in HTMLAnchorElement.prototype&&!y?function(e,t,l){var o=i.URL||i.webkitURL,n=document.createElement("a");t=t||e.name||"download",n.download=t,n.rel="noopener",typeof e=="string"?(n.href=e,n.origin===location.origin?c(n):s(n.href)?a(e,t,l):c(n,n.target="_blank")):(n.href=o.createObjectURL(e),setTimeout(function(){o.revokeObjectURL(n.href)},4e4),setTimeout(function(){c(n)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,l){if(t=t||e.name||"download",typeof e!="string")navigator.msSaveOrOpenBlob(u(e,l),t);else if(s(e))a(e,t,l);else{var o=document.createElement("a");o.href=e,o.target="_blank",setTimeout(function(){c(o)})}}:function(e,t,l,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),typeof e=="string")return a(e,t,l);var n=e.type==="application/octet-stream",E=/constructor/i.test(i.HTMLElement)||i.safari,b=/CriOS\/[\d]+/.test(navigator.userAgent);if((b||n&&E||y)&&typeof FileReader<"u"){var w=new FileReader;w.onloadend=function(){var f=w.result;f=b?f:f.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=f:location=f,o=null},w.readAsDataURL(e)}else{var h=i.URL||i.webkitURL,m=h.createObjectURL(e);o?o.location=m:location.href=m,o=null,setTimeout(function(){h.revokeObjectURL(m)},4e4)}});i.saveAs=p.saveAs=p,r.exports=p})})(g);var j=g.exports;const A=_(j),L=O({__proto__:null,default:A},[j]);export{L as F}; diff --git a/09-cloud/assets/modules/shiki-BSchMNmt.css b/09-cloud/assets/modules/shiki-BSchMNmt.css new file mode 100644 index 0000000..5813562 --- /dev/null +++ b/09-cloud/assets/modules/shiki-BSchMNmt.css @@ -0,0 +1 @@ +.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.v-popper__inner{position:relative;box-sizing:border-box;overflow-y:auto}.v-popper__inner>div{position:relative;z-index:1;max-width:inherit;max-height:inherit}.v-popper__arrow-container{position:absolute;width:10px;height:10px}.v-popper__popper--arrow-overflow .v-popper__arrow-container,.v-popper__popper--no-positioning .v-popper__arrow-container{display:none}.v-popper__arrow-inner,.v-popper__arrow-outer{border-style:solid;position:absolute;top:0;left:0;width:0;height:0}.v-popper__arrow-inner{visibility:hidden;border-width:7px}.v-popper__arrow-outer{border-width:6px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{left:-2px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{left:-1px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer{border-bottom-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:0}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{border-top-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{top:-4px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{top:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{top:-1px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{border-left-width:0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{left:-4px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{left:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer{border-right-width:0;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner{left:-2px}.v-popper--theme-tooltip .v-popper__inner{background:#000c;color:#fff;border-radius:6px;padding:7px 12px 6px}.v-popper--theme-tooltip .v-popper__arrow-outer{border-color:#000c}.v-popper--theme-dropdown .v-popper__inner{background:#fff;color:#000;border-radius:6px;border:1px solid #ddd;box-shadow:0 6px 30px #0000001a}.v-popper--theme-dropdown .v-popper__arrow-inner{visibility:visible;border-color:#fff}.v-popper--theme-dropdown .v-popper__arrow-outer{border-color:#ddd}:root{--twoslash-border-color: #8888;--twoslash-underline-color: currentColor;--twoslash-highlighted-border: #c37d0d50;--twoslash-highlighted-bg: #c37d0d20;--twoslash-popup-bg: #f8f8f8;--twoslash-popup-color: inherit;--twoslash-popup-shadow: rgba(0, 0, 0, .08) 0px 1px 4px;--twoslash-docs-color: #888;--twoslash-docs-font: sans-serif;--twoslash-code-font: inherit;--twoslash-code-font-size: 1em;--twoslash-matched-color: inherit;--twoslash-unmatched-color: #888;--twoslash-cursor-color: #8888;--twoslash-error-color: #d45656;--twoslash-error-bg: #d4565620;--twoslash-warn-color: #c37d0d;--twoslash-warn-bg: #c37d0d20;--twoslash-tag-color: #3772cf;--twoslash-tag-bg: #3772cf20;--twoslash-tag-warn-color: var(--twoslash-warn-color);--twoslash-tag-warn-bg: var(--twoslash-warn-bg);--twoslash-tag-annotate-color: #1ba673;--twoslash-tag-annotate-bg: #1ba67320}@media (prefers-reduced-motion: reduce){.twoslash *{transition:none!important}}.twoslash:hover .twoslash-hover{border-color:var(--twoslash-underline-color)}.twoslash .twoslash-hover{border-bottom:1px dotted transparent;transition-timing-function:ease;transition:border-color .3s;position:relative}.twoslash .twoslash-popup-container{position:absolute;opacity:0;display:inline-flex;flex-direction:column;transform:translateY(1.1em);background:var(--twoslash-popup-bg);color:var(--twoslash-popup-color);border:1px solid var(--twoslash-border-color);transition:opacity .3s;border-radius:4px;pointer-events:none;z-index:10;-webkit-user-select:none;user-select:none;text-align:left;box-shadow:var(--twoslash-popup-shadow)}.twoslash .twoslash-query-presisted .twoslash-popup-container{z-index:9;transform:translateY(1.5em)}.twoslash .twoslash-hover:hover .twoslash-popup-container,.twoslash .twoslash-error-hover:hover .twoslash-popup-container,.twoslash .twoslash-query-presisted .twoslash-popup-container{opacity:1;pointer-events:auto}.twoslash .twoslash-popup-container:hover{-webkit-user-select:auto;user-select:auto}.twoslash .twoslash-popup-arrow{position:absolute;top:-4px;left:1em;border-top:1px solid var(--twoslash-border-color);border-right:1px solid var(--twoslash-border-color);background:var(--twoslash-popup-bg);transform:rotate(-45deg);width:6px;height:6px;pointer-events:none}.twoslash .twoslash-popup-code,.twoslash .twoslash-popup-error,.twoslash .twoslash-popup-docs{padding:6px 8px!important}.twoslash .twoslash-popup-code{font-family:var(--twoslash-code-font);font-size:var(--twoslash-code-font-size)}.twoslash .twoslash-popup-docs{color:var(--twoslash-docs-color);font-family:var(--twoslash-docs-font);font-size:.8em;border-top:1px solid var(--twoslash-border-color)}.twoslash .twoslash-popup-error{color:var(--twoslash-error-color);background-color:var(--twoslash-error-bg);font-family:var(--twoslash-docs-font);font-size:.8em}.twoslash .twoslash-popup-docs-tags{display:flex;flex-direction:column;font-family:var(--twoslash-docs-font)}.twoslash .twoslash-popup-docs-tags,.twoslash .twoslash-popup-docs-tag-name{margin-right:.5em}.twoslash .twoslash-popup-docs-tag-name{font-family:var(--twoslash-code-font)}.twoslash .twoslash-error-line{position:relative;background-color:var(--twoslash-error-bg);border-left:3px solid var(--twoslash-error-color);color:var(--twoslash-error-color);padding:6px 12px;margin:.2em 0;min-width:100%;width:max-content}.twoslash .twoslash-error-line.twoslash-error-level-warning{background-color:var(--twoslash-warn-bg);border-left:3px solid var(--twoslash-warn-color);color:var(--twoslash-warn-color)}.twoslash .twoslash-error{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%206%203'%20enable-background%3D'new%200%200%206%203'%20height%3D'3'%20width%3D'6'%3E%3Cg%20fill%3D'%23c94824'%3E%3Cpolygon%20points%3D'5.5%2C0%202.5%2C3%201.1%2C3%204.1%2C0'%2F%3E%3Cpolygon%20points%3D'4%2C0%206%2C2%206%2C0.6%205.4%2C0'%2F%3E%3Cpolygon%20points%3D'0%2C2%201%2C3%202.4%2C3%200%2C0.6'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-x bottom left;padding-bottom:2px}.twoslash .twoslash-error.twoslash-error-level-warning{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%206%203'%20enable-background%3D'new%200%200%206%203'%20height%3D'3'%20width%3D'6'%3E%3Cg%20fill%3D'%23c37d0d'%3E%3Cpolygon%20points%3D'5.5%2C0%202.5%2C3%201.1%2C3%204.1%2C0'%2F%3E%3Cpolygon%20points%3D'4%2C0%206%2C2%206%2C0.6%205.4%2C0'%2F%3E%3Cpolygon%20points%3D'0%2C2%201%2C3%202.4%2C3%200%2C0.6'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-x bottom left;padding-bottom:2px}.twoslash .twoslash-completion-cursor{position:relative}.twoslash .twoslash-completion-cursor .twoslash-completion-list{-webkit-user-select:none;user-select:none;position:absolute;top:0;left:0;transform:translateY(1.2em);margin:3px 0 0 -1px;display:inline-block;z-index:8;box-shadow:var(--twoslash-popup-shadow);background:var(--twoslash-popup-bg);border:1px solid var(--twoslash-border-color)}.twoslash-completion-list{width:240px;font-size:.8rem;padding:4px;display:flex;flex-direction:column;gap:4px}.twoslash-completion-list:hover{-webkit-user-select:auto;user-select:auto}.twoslash-completion-list:before{background-color:var(--twoslash-cursor-color);width:2px;position:absolute;top:-1.6em;height:1.4em;left:-1px;content:" "}.twoslash-completion-list li{overflow:hidden;display:flex;align-items:center;gap:.25em;line-height:1em}.twoslash-completion-list li span.twoslash-completions-unmatched{color:var(--twoslash-unmatched-color)}.twoslash-completion-list .deprecated{text-decoration:line-through;opacity:.5}.twoslash-completion-list li span.twoslash-completions-matched{color:var(--twoslash-matched-color)}.twoslash-highlighted{background-color:var(--twoslash-highlighted-bg);border:1px solid var(--twoslash-highlighted-border);padding:1px 2px;margin:-1px -3px;border-radius:4px}.twoslash-completion-list .twoslash-completions-icon{color:var(--twoslash-unmatched-color);width:1em;flex:none}.twoslash .twoslash-tag-line{position:relative;background-color:var(--twoslash-tag-bg);border-left:3px solid var(--twoslash-tag-color);color:var(--twoslash-tag-color);padding:6px 10px;margin:.2em 0;display:flex;align-items:center;gap:.3em;min-width:100%;width:max-content}.twoslash .twoslash-tag-line .twoslash-tag-icon{width:1.1em;color:inherit}.twoslash .twoslash-tag-line.twoslash-tag-error-line{background-color:var(--twoslash-error-bg);border-left:3px solid var(--twoslash-error-color);color:var(--twoslash-error-color)}.twoslash .twoslash-tag-line.twoslash-tag-warn-line{background-color:var(--twoslash-tag-warn-bg);border-left:3px solid var(--twoslash-tag-warn-color);color:var(--twoslash-tag-warn-color)}.twoslash .twoslash-tag-line.twoslash-tag-annotate-line{background-color:var(--twoslash-tag-annotate-bg);border-left:3px solid var(--twoslash-tag-annotate-color);color:var(--twoslash-tag-annotate-color)}:root{--twoslash-popup-bg: var(--vp-c-bg, inherit);--twoslash-popup-color: var(--vp-c-text-1);--twoslash-docs-color: var(--vp-c-text-1);--twoslash-docs-font: var(--vp-font-family-base);--twoslash-code-font: var(--vp-font-family-mono);--twoslash-code-size: var(--vp-code-font-size);--twoslash-underline-color: #8888;--twoslash-border-color: var(--vp-c-border);--twoslash-cursor-color: var(--vp-c-brand);--twoslash-matched-color: var(--vp-c-brand);--twoslash-unmatched-color: var(--vp-c-text-2)}.v-popper--theme-twoslash{z-index:calc(var(--vp-z-index-local-nav) - 1)}.v-popper--theme-twoslash .v-popper__inner{background:var(--twoslash-popup-bg);color:var(--twoslash-popup-color);border-color:var(--twoslash-border-color)}.v-popper--theme-twoslash .v-popper__arrow-outer{border-color:var(--twoslash-border-color)}.v-popper--theme-twoslash .v-popper__arrow-inner{border-color:var(--twoslash-popup-bg)}.twoslash-popup-container{transform:translateY(1.5em)}.twoslash-query-presisted .twoslash-popup-container{transform:translateY(1.8em)}.twoslash .v-popper{display:inline-block}.twoslash-completion-list .twoslash-completions-icon{color:var(--twoslash-unmatched-color)!important}.twoslash-floating .twoslash-popup-code{max-width:600px;display:block;width:fit-content;min-width:100%;padding:6px 12px;line-height:var(--vp-code-line-height);font-size:var(--twoslash-code-size);transition:color .5s;white-space:pre-wrap}.twoslash-floating .twoslash-popup-docs,.twoslash-floating .twoslash-popup-error{padding:0 12px!important;font-family:var(--twoslash-docs-font);font-size:.9em;max-height:500px;max-width:700px;overflow-y:auto;overflow-x:hidden;text-wrap:balance}.twoslash-floating .twoslash-popup-docs{border-top:1px solid var(--twoslash-border-color);color:var(--twoslash-docs-color)}.twoslash-floating .twoslash-popup-error{color:var(--twoslash-error-color)}.twoslash-floating .twoslash-popup-error.twoslash-error-level-warning{color:var(--twoslash-warn-color)}.twoslash-floating .twoslash-popup-docs p,.twoslash-floating .twoslash-popup-error p{margin:0;padding:6px 0;text-wrap:balance}.twoslash-floating .twoslash-popup-docs pre .twoslash-floating .twoslash-popup-error pre{background-color:var(--vp-code-block-bg);border-radius:8px;padding:12px;margin:6px -2px;overflow-x:auto}.twoslash-floating .twoslash-popup-docs-tags{display:flex;flex-direction:column;padding:8px 12px!important}.twoslash-floating .twoslash-popup-docs-tags .twoslash-popup-docs-tag-name{font-family:var(--twoslash-code-font);color:var(--twoslash-unmatched-color);margin-right:.5em}.twoslash-completion-cursor{height:1.2em;width:2px;margin-bottom:-.2em;background:var(--twoslash-cursor-color);display:inline-block;-webkit-user-select:none;user-select:none}.twoslash-floating.twoslash-completion .v-popper__arrow-container{display:none}.twoslash-floating.twoslash-completion .twoslash-completion-list{padding:6px;font-family:var(--twoslash-code-font);font-size:var(--twoslash-code-size)!important}.twoslash-floating.twoslash-completion .twoslash-completion-list li{padding:3px 0} diff --git a/09-cloud/assets/modules/shiki-BzAJ3tB6.js b/09-cloud/assets/modules/shiki-BzAJ3tB6.js new file mode 100644 index 0000000..64a7363 --- /dev/null +++ b/09-cloud/assets/modules/shiki-BzAJ3tB6.js @@ -0,0 +1 @@ +import{d as xe,p as Vt,a as Wt,n as jt,o as I,c as be,w as qt,r as ne,b as se,e as K,F as Gt,f as me,g as je,h as Oe,i as Re,j as Yt,k as ge,l as ht,m as ut,q as Xt,s as Ut,t as Le,u as Kt,v as Zt,x as Qt}from"./vue-uEYNCD1x.js";const Jt=["top","right","bottom","left"],qe=["start","end"],Ge=Jt.reduce((e,t)=>e.concat(t,t+"-"+qe[0],t+"-"+qe[1]),[]),re=Math.min,U=Math.max,eo={left:"right",right:"left",bottom:"top",top:"bottom"},to={start:"end",end:"start"};function Me(e,t,o){return U(e,re(t,o))}function Z(e,t){return typeof e=="function"?e(t):e}function B(e){return e.split("-")[0]}function L(e){return e.split("-")[1]}function ft(e){return e==="x"?"y":"x"}function De(e){return e==="y"?"height":"width"}function ce(e){return["top","bottom"].includes(B(e))?"y":"x"}function Fe(e){return ft(ce(e))}function mt(e,t,o){o===void 0&&(o=!1);const i=L(e),n=Fe(e),s=De(n);let r=n==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(r=ve(r)),[r,ve(r)]}function oo(e){const t=ve(e);return[we(e),t,we(t)]}function we(e){return e.replace(/start|end/g,t=>to[t])}function io(e,t,o){const i=["left","right"],n=["right","left"],s=["top","bottom"],r=["bottom","top"];switch(e){case"top":case"bottom":return o?t?n:i:t?i:n;case"left":case"right":return t?s:r;default:return[]}}function no(e,t,o,i){const n=L(e);let s=io(B(e),o==="start",i);return n&&(s=s.map(r=>r+"-"+n),t&&(s=s.concat(s.map(we)))),s}function ve(e){return e.replace(/left|right|bottom|top/g,t=>eo[t])}function so(e){return{top:0,right:0,bottom:0,left:0,...e}}function gt(e){return typeof e!="number"?so(e):{top:e,right:e,bottom:e,left:e}}function ee(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ye(e,t,o){let{reference:i,floating:n}=e;const s=ce(t),r=Fe(t),a=De(r),l=B(t),d=s==="y",f=i.x+i.width/2-n.width/2,c=i.y+i.height/2-n.height/2,u=i[a]/2-n[a]/2;let p;switch(l){case"top":p={x:f,y:i.y-n.height};break;case"bottom":p={x:f,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:c};break;case"left":p={x:i.x-n.width,y:c};break;default:p={x:i.x,y:i.y}}switch(L(t)){case"start":p[r]-=u*(o&&d?-1:1);break;case"end":p[r]+=u*(o&&d?-1:1);break}return p}const ro=async(e,t,o)=>{const{placement:i="bottom",strategy:n="absolute",middleware:s=[],platform:r}=o,a=s.filter(Boolean),l=await(r.isRTL==null?void 0:r.isRTL(t));let d=await r.getElementRects({reference:e,floating:t,strategy:n}),{x:f,y:c}=Ye(d,i,l),u=i,p={},h=0;for(let v=0;v({name:"arrow",options:e,async fn(t){const{x:o,y:i,placement:n,rects:s,platform:r,elements:a,middlewareData:l}=t,{element:d,padding:f=0}=Z(e,t)||{};if(d==null)return{};const c=gt(f),u={x:o,y:i},p=Fe(n),h=De(p),v=await r.getDimensions(d),y=p==="y",m=y?"top":"left",g=y?"bottom":"right",$=y?"clientHeight":"clientWidth",x=s.reference[h]+s.reference[p]-u[p]-s.floating[h],_=u[p]-s.reference[p],b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(d));let T=b?b[$]:0;(!T||!await(r.isElement==null?void 0:r.isElement(b)))&&(T=a.floating[$]||s.floating[h]);const O=x/2-_/2,N=T/2-v[h]/2-1,S=re(c[m],N),k=re(c[g],N),P=S,Y=T-v[h]-k,C=T/2-v[h]/2+O,H=Me(P,C,Y),E=!l.arrow&&L(n)!=null&&C!==H&&s.reference[h]/2-(CL(n)===e),...o.filter(n=>L(n)!==e)]:o.filter(n=>B(n)===n)).filter(n=>e?L(n)===e||(t?we(n)!==n:!1):!0)}const po=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,i,n;const{rects:s,middlewareData:r,placement:a,platform:l,elements:d}=t,{crossAxis:f=!1,alignment:c,allowedPlacements:u=Ge,autoAlignment:p=!0,...h}=Z(e,t),v=c!==void 0||u===Ge?lo(c||null,p,u):u,y=await Te(t,h),m=((o=r.autoPlacement)==null?void 0:o.index)||0,g=v[m];if(g==null)return{};const $=mt(g,s,await(l.isRTL==null?void 0:l.isRTL(d.floating)));if(a!==g)return{reset:{placement:v[0]}};const x=[y[B(g)],y[$[0]],y[$[1]]],_=[...((i=r.autoPlacement)==null?void 0:i.overflows)||[],{placement:g,overflows:x}],b=v[m+1];if(b)return{data:{index:m+1,overflows:_},reset:{placement:b}};const T=_.map(S=>{const k=L(S.placement);return[S.placement,k&&f?S.overflows.slice(0,2).reduce((P,Y)=>P+Y,0):S.overflows[0],S.overflows]}).sort((S,k)=>S[1]-k[1]),N=((n=T.filter(S=>S[2].slice(0,L(S[0])?2:3).every(k=>k<=0))[0])==null?void 0:n[0])||T[0][0];return N!==a?{data:{index:m+1,overflows:_},reset:{placement:N}}:{}}}},co=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,i;const{placement:n,middlewareData:s,rects:r,initialPlacement:a,platform:l,elements:d}=t,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:u,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...y}=Z(e,t);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const m=B(n),g=B(a)===a,$=await(l.isRTL==null?void 0:l.isRTL(d.floating)),x=u||(g||!v?[ve(a)]:oo(a));!u&&h!=="none"&&x.push(...no(a,v,h,$));const _=[a,...x],b=await Te(t,y),T=[];let O=((i=s.flip)==null?void 0:i.overflows)||[];if(f&&T.push(b[m]),c){const P=mt(n,r,$);T.push(b[P[0]],b[P[1]])}if(O=[...O,{placement:n,overflows:T}],!T.every(P=>P<=0)){var N,S;const P=(((N=s.flip)==null?void 0:N.index)||0)+1,Y=_[P];if(Y)return{data:{index:P,overflows:O},reset:{placement:Y}};let C=(S=O.filter(H=>H.overflows[0]<=0).sort((H,E)=>H.overflows[1]-E.overflows[1])[0])==null?void 0:S.placement;if(!C)switch(p){case"bestFit":{var k;const H=(k=O.map(E=>[E.placement,E.overflows.filter(F=>F>0).reduce((F,It)=>F+It,0)]).sort((E,F)=>E[1]-F[1])[0])==null?void 0:k[0];H&&(C=H);break}case"initialPlacement":C=a;break}if(n!==C)return{reset:{placement:C}}}return{}}}};async function ho(e,t){const{placement:o,platform:i,elements:n}=e,s=await(i.isRTL==null?void 0:i.isRTL(n.floating)),r=B(o),a=L(o),l=ce(o)==="y",d=["left","top"].includes(r)?-1:1,f=s&&l?-1:1,c=Z(t,e);let{mainAxis:u,crossAxis:p,alignmentAxis:h}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return a&&typeof h=="number"&&(p=a==="end"?h*-1:h),l?{x:p*f,y:u*d}:{x:u*d,y:p*f}}const uo=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,i;const{x:n,y:s,placement:r,middlewareData:a}=t,l=await ho(t,e);return r===((o=a.offset)==null?void 0:o.placement)&&(i=a.arrow)!=null&&i.alignmentOffset?{}:{x:n+l.x,y:s+l.y,data:{...l,placement:r}}}}},fo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:i,placement:n}=t,{mainAxis:s=!0,crossAxis:r=!1,limiter:a={fn:y=>{let{x:m,y:g}=y;return{x:m,y:g}}},...l}=Z(e,t),d={x:o,y:i},f=await Te(t,l),c=ce(B(n)),u=ft(c);let p=d[u],h=d[c];if(s){const y=u==="y"?"top":"left",m=u==="y"?"bottom":"right",g=p+f[y],$=p-f[m];p=Me(g,p,$)}if(r){const y=c==="y"?"top":"left",m=c==="y"?"bottom":"right",g=h+f[y],$=h-f[m];h=Me(g,h,$)}const v=a.fn({...t,[u]:p,[c]:h});return{...v,data:{x:v.x-o,y:v.y-i}}}}},mo=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:i,platform:n,elements:s}=t,{apply:r=()=>{},...a}=Z(e,t),l=await Te(t,a),d=B(o),f=L(o),c=ce(o)==="y",{width:u,height:p}=i.floating;let h,v;d==="top"||d==="bottom"?(h=d,v=f===(await(n.isRTL==null?void 0:n.isRTL(s.floating))?"start":"end")?"left":"right"):(v=d,h=f==="end"?"top":"bottom");const y=p-l[h],m=u-l[v],g=!t.middlewareData.shift;let $=y,x=m;if(c){const b=u-l.left-l.right;x=f||g?re(m,b):b}else{const b=p-l.top-l.bottom;$=f||g?re(y,b):b}if(g&&!f){const b=U(l.left,0),T=U(l.right,0),O=U(l.top,0),N=U(l.bottom,0);c?x=u-2*(b!==0||T!==0?b+T:U(l.left,l.right)):$=p-2*(O!==0||N!==0?O+N:U(l.top,l.bottom))}await r({...t,availableWidth:x,availableHeight:$});const _=await n.getDimensions(s.floating);return u!==_.width||p!==_.height?{reset:{rects:!0}}:{}}}};function A(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function R(e){return A(e).getComputedStyle(e)}const Xe=Math.min,te=Math.max,ye=Math.round;function wt(e){const t=R(e);let o=parseFloat(t.width),i=parseFloat(t.height);const n=e.offsetWidth,s=e.offsetHeight,r=ye(o)!==n||ye(i)!==s;return r&&(o=n,i=s),{width:o,height:i,fallback:r}}function j(e){return yt(e)?(e.nodeName||"").toLowerCase():""}let he;function vt(){if(he)return he;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(he=e.brands.map(t=>t.brand+"/"+t.version).join(" "),he):navigator.userAgent}function D(e){return e instanceof A(e).HTMLElement}function q(e){return e instanceof A(e).Element}function yt(e){return e instanceof A(e).Node}function Ue(e){if(typeof ShadowRoot>"u")return!1;const t=A(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Se(e){const{overflow:t,overflowX:o,overflowY:i,display:n}=R(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+o)&&!["inline","contents"].includes(n)}function go(e){return["table","td","th"].includes(j(e))}function Ie(e){const t=/firefox/i.test(vt()),o=R(e),i=o.backdropFilter||o.WebkitBackdropFilter;return o.transform!=="none"||o.perspective!=="none"||(i?i!=="none":!1)||t&&o.willChange==="filter"||t&&(o.filter?o.filter!=="none":!1)||["transform","perspective"].some(n=>o.willChange.includes(n))||["paint","layout","strict","content"].some(n=>{const s=o.contain;return s!=null?s.includes(n):!1})}function $t(){return!/^((?!chrome|android).)*safari/i.test(vt())}function Ve(e){return["html","body","#document"].includes(j(e))}function _t(e){return q(e)?e:e.contextElement}const xt={x:1,y:1};function Q(e){const t=_t(e);if(!D(t))return xt;const o=t.getBoundingClientRect(),{width:i,height:n,fallback:s}=wt(t);let r=(s?ye(o.width):o.width)/i,a=(s?ye(o.height):o.height)/n;return(!r||!Number.isFinite(r))&&(r=1),(!a||!Number.isFinite(a))&&(a=1),{x:r,y:a}}function ae(e,t,o,i){var n,s;t===void 0&&(t=!1),o===void 0&&(o=!1);const r=e.getBoundingClientRect(),a=_t(e);let l=xt;t&&(i?q(i)&&(l=Q(i)):l=Q(e));const d=a?A(a):window,f=!$t()&&o;let c=(r.left+(f&&((n=d.visualViewport)==null?void 0:n.offsetLeft)||0))/l.x,u=(r.top+(f&&((s=d.visualViewport)==null?void 0:s.offsetTop)||0))/l.y,p=r.width/l.x,h=r.height/l.y;if(a){const v=A(a),y=i&&q(i)?A(i):i;let m=v.frameElement;for(;m&&i&&y!==v;){const g=Q(m),$=m.getBoundingClientRect(),x=getComputedStyle(m);$.x+=(m.clientLeft+parseFloat(x.paddingLeft))*g.x,$.y+=(m.clientTop+parseFloat(x.paddingTop))*g.y,c*=g.x,u*=g.y,p*=g.x,h*=g.y,c+=$.x,u+=$.y,m=A(m).frameElement}}return{width:p,height:h,top:u,right:c+p,bottom:u+h,left:c,x:c,y:u}}function G(e){return((yt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Pe(e){return q(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function wo(e){let{rect:t,offsetParent:o,strategy:i}=e;const n=D(o),s=G(o);if(o===s)return t;let r={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((n||!n&&i!=="fixed")&&((j(o)!=="body"||Se(s))&&(r=Pe(o)),D(o))){const d=ae(o);a=Q(o),l.x=d.x+o.clientLeft,l.y=d.y+o.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-r.scrollLeft*a.x+l.x,y:t.y*a.y-r.scrollTop*a.y+l.y}}function bt(e){return ae(G(e)).left+Pe(e).scrollLeft}function vo(e){const t=G(e),o=Pe(e),i=e.ownerDocument.body,n=te(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=te(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let r=-o.scrollLeft+bt(e);const a=-o.scrollTop;return R(i).direction==="rtl"&&(r+=te(t.clientWidth,i.clientWidth)-n),{width:n,height:s,x:r,y:a}}function le(e){if(j(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ue(e)&&e.host||G(e);return Ue(t)?t.host:t}function Tt(e){const t=le(e);return Ve(t)?t.ownerDocument.body:D(t)&&Se(t)?t:Tt(t)}function $e(e,t){var o;t===void 0&&(t=[]);const i=Tt(e),n=i===((o=e.ownerDocument)==null?void 0:o.body),s=A(i);return n?t.concat(s,s.visualViewport||[],Se(i)?i:[]):t.concat(i,$e(i))}function yo(e,t){const o=A(e),i=G(e),n=o.visualViewport;let s=i.clientWidth,r=i.clientHeight,a=0,l=0;if(n){s=n.width,r=n.height;const d=$t();(d||!d&&t==="fixed")&&(a=n.offsetLeft,l=n.offsetTop)}return{width:s,height:r,x:a,y:l}}function $o(e,t){const o=ae(e,!0,t==="fixed"),i=o.top+e.clientTop,n=o.left+e.clientLeft,s=D(e)?Q(e):{x:1,y:1},r=e.clientWidth*s.x,a=e.clientHeight*s.y,l=n*s.x,d=i*s.y;return{width:r,height:a,x:l,y:d}}function Ke(e,t,o){return t==="viewport"?ee(yo(e,o)):q(t)?ee($o(t,o)):ee(vo(G(e)))}function _o(e,t){const o=t.get(e);if(o)return o;let i=$e(e).filter(a=>q(a)&&j(a)!=="body"),n=null;const s=R(e).position==="fixed";let r=s?le(e):e;for(;q(r)&&!Ve(r);){const a=R(r),l=Ie(r);(s?!l&&!n:!l&&a.position==="static"&&!!n&&["absolute","fixed"].includes(n.position))?i=i.filter(f=>f!==r):n=a,r=le(r)}return t.set(e,i),i}function xo(e){let{element:t,boundary:o,rootBoundary:i,strategy:n}=e;const r=[...o==="clippingAncestors"?_o(t,this._c):[].concat(o),i],a=r[0],l=r.reduce((d,f)=>{const c=Ke(t,f,n);return d.top=te(c.top,d.top),d.right=Xe(c.right,d.right),d.bottom=Xe(c.bottom,d.bottom),d.left=te(c.left,d.left),d},Ke(t,a,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function bo(e){return D(e)?wt(e):e.getBoundingClientRect()}function Ze(e){return!D(e)||R(e).position==="fixed"?null:e.offsetParent}function To(e){let t=le(e);for(;D(t)&&!Ve(t);){if(Ie(t))return t;t=le(t)}return null}function Qe(e){const t=A(e);let o=Ze(e);for(;o&&go(o)&&R(o).position==="static";)o=Ze(o);return o&&(j(o)==="html"||j(o)==="body"&&R(o).position==="static"&&!Ie(o))?t:o||To(e)||t}function So(e,t,o){const i=D(t),n=G(t),s=ae(e,!0,o==="fixed",t);let r={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(i||!i&&o!=="fixed")if((j(t)!=="body"||Se(n))&&(r=Pe(t)),D(t)){const l=ae(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else n&&(a.x=bt(n));return{x:s.left+r.scrollLeft-a.x,y:s.top+r.scrollTop-a.y,width:s.width,height:s.height}}const Po={getClippingRect:xo,convertOffsetParentRelativeRectToViewportRelativeRect:wo,isElement:q,getDimensions:bo,getOffsetParent:Qe,getDocumentElement:G,getScale:Q,async getElementRects(e){let{reference:t,floating:o,strategy:i}=e;const n=this.getOffsetParent||Qe,s=this.getDimensions;return{reference:So(t,await n(o),i),floating:{x:0,y:0,...await s(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>R(e).direction==="rtl"},Co=(e,t,o)=>{const i=new Map,n={platform:Po,...o},s={...n.platform,_c:i};return ro(e,t,{...n,platform:s})};function St(e,t){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(typeof t[o]=="object"&&e[o]?St(e[o],t[o]):e[o]=t[o])}const M={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function de(e,t){let o=M.themes[e]||{},i;do i=o[t],typeof i>"u"?o.$extend?o=M.themes[o.$extend]||{}:(o=null,i=M[t]):o=null;while(o);return i}function Ao(e){const t=[e];let o=M.themes[e]||{};do o.$extend&&!o.$resetCss?(t.push(o.$extend),o=M.themes[o.$extend]||{}):o=null;while(o);return t.map(i=>`v-popper--theme-${i}`)}function Je(e){const t=[e];let o=M.themes[e]||{};do o.$extend?(t.push(o.$extend),o=M.themes[o.$extend]||{}):o=null;while(o);return t}let J=!1;if(typeof window<"u"){J=!1;try{const e=Object.defineProperty({},"passive",{get(){J=!0}});window.addEventListener("test",null,e)}catch{}}let Pt=!1;typeof window<"u"&&typeof navigator<"u"&&(Pt=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Ct=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),et={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},tt={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function ot(e,t){const o=e.indexOf(t);o!==-1&&e.splice(o,1)}function Ne(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const z=[];let X=null;const it={};function nt(e){let t=it[e];return t||(t=it[e]=[]),t}let He=function(){};typeof window<"u"&&(He=window.Element);function w(e){return function(t){return de(t.theme,e)}}const ke="__floating-vue__popper",At=()=>xe({name:"VPopper",provide(){return{[ke]:{parentPopper:this}}},inject:{[ke]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:w("disabled")},positioningDisabled:{type:Boolean,default:w("positioningDisabled")},placement:{type:String,default:w("placement"),validator:e=>Ct.includes(e)},delay:{type:[String,Number,Object],default:w("delay")},distance:{type:[Number,String],default:w("distance")},skidding:{type:[Number,String],default:w("skidding")},triggers:{type:Array,default:w("triggers")},showTriggers:{type:[Array,Function],default:w("showTriggers")},hideTriggers:{type:[Array,Function],default:w("hideTriggers")},popperTriggers:{type:Array,default:w("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:w("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:w("popperHideTriggers")},container:{type:[String,Object,He,Boolean],default:w("container")},boundary:{type:[String,He],default:w("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:w("strategy")},autoHide:{type:[Boolean,Function],default:w("autoHide")},handleResize:{type:Boolean,default:w("handleResize")},instantMove:{type:Boolean,default:w("instantMove")},eagerMount:{type:Boolean,default:w("eagerMount")},popperClass:{type:[String,Array,Object],default:w("popperClass")},computeTransformOrigin:{type:Boolean,default:w("computeTransformOrigin")},autoMinSize:{type:Boolean,default:w("autoMinSize")},autoSize:{type:[Boolean,String],default:w("autoSize")},autoMaxSize:{type:Boolean,default:w("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:w("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:w("preventOverflow")},overflowPadding:{type:[Number,String],default:w("overflowPadding")},arrowPadding:{type:[Number,String],default:w("arrowPadding")},arrowOverflow:{type:Boolean,default:w("arrowOverflow")},flip:{type:Boolean,default:w("flip")},shift:{type:Boolean,default:w("shift")},shiftCrossAxis:{type:Boolean,default:w("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:w("noAutoFocus")},disposeTimeout:{type:Number,default:w("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[ke])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:o=!1}={}){var i,n;(i=this.parentPopper)!=null&&i.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(o||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var o;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(uo({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(po({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(fo({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(co({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(ao({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:i,rects:n,middlewareData:s})=>{let r;const{centerOffset:a}=s.arrow;return i.startsWith("top")||i.startsWith("bottom")?r=Math.abs(a)>n.reference.width/2:r=Math.abs(a)>n.reference.height/2,{data:{overflow:r}}}}),this.autoMinSize||this.autoSize){const i=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:n,placement:s,middlewareData:r})=>{var a;if((a=r.autoSize)!=null&&a.skip)return{};let l,d;return s.startsWith("top")||s.startsWith("bottom")?l=n.reference.width:d=n.reference.height,this.$_innerNode.style[i==="min"?"minWidth":i==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[i==="min"?"minHeight":i==="max"?"maxHeight":"height"]=d!=null?`${d}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(mo({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:i,availableHeight:n})=>{this.$_innerNode.style.maxWidth=i!=null?`${i}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const o=await Co(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:{...o.middlewareData.arrow,...o.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),X&&this.instantMove&&X.instantMove&&X!==this.parentPopper){X.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(X=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Ne(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...$e(this.$_referenceNode),...$e(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),o=this.$_popperNode.querySelector(".v-popper__wrapper"),i=o.parentNode.getBoundingClientRect(),n=t.x+t.width/2-(i.left+o.offsetLeft),s=t.y+t.height/2-(i.top+o.offsetTop);this.result.transformOrigin=`${n}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let o=0;o0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,ot(z,this),z.length===0&&document.body.classList.remove("v-popper--some-open");for(const o of Je(this.theme)){const i=nt(o);ot(i,this),i.length===0&&document.body.classList.remove(`v-popper--some-open--${o}`)}X===this&&(X=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Ne(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=o=>{this.isShown&&!this.$_hideInProgress||(o.usedByTooltip=!0,!this.$_preventShow&&this.show({event:o}))};this.$_registerTriggerListeners(this.$_targetNodes,et,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],et,this.popperTriggers,this.popperShowTriggers,e);const t=o=>{o.usedByTooltip||this.hide({event:o})};this.$_registerTriggerListeners(this.$_targetNodes,tt,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],tt,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,o){this.$_events.push({targetNodes:e,eventType:t,handler:o}),e.forEach(i=>i.addEventListener(t,o,J?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,o,i,n){let s=o;i!=null&&(s=typeof i=="function"?i(s):i),s.forEach(r=>{const a=t[r];a&&this.$_registerEventListeners(e,a,n)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(o=>{const{targetNodes:i,eventType:n,handler:s}=o;!e||e===n?i.forEach(r=>r.removeEventListener(n,s)):t.push(o)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const o of this.$_targetNodes){const i=o.getAttribute(e);i&&(o.removeAttribute(e),o.setAttribute(t,i))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const o in e){const i=e[o];i==null?t.removeAttribute(o):t.setAttribute(o,i)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(oe>=e.left&&oe<=e.right&&ie>=e.top&&ie<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),o=oe-V,i=ie-W,n=t.left+t.width/2-V+(t.top+t.height/2)-W+t.width+t.height,s=V+o*n,r=W+i*n;return ue(V,W,s,r,t.left,t.top,t.left,t.bottom)||ue(V,W,s,r,t.left,t.top,t.right,t.top)||ue(V,W,s,r,t.right,t.top,t.right,t.bottom)||ue(V,W,s,r,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Pt){const e=J?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>st(t,!0),e),document.addEventListener("touchend",t=>rt(t,!0),e)}else window.addEventListener("mousedown",e=>st(e,!1),!0),window.addEventListener("click",e=>rt(e,!1),!0);window.addEventListener("resize",Nt)}function st(e,t){if(M.autoHideOnMousedown)Ot(e,t);else for(let o=0;o=0;i--){const n=z[i];try{const s=n.containsGlobalTarget=n.mouseDownContains||n.popperNode().contains(e.target);n.pendingHide=!1,requestAnimationFrame(()=>{if(n.pendingHide=!1,!o[n.randomId]&&at(n,s,e)){if(n.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&s){let a=n.parentPopper;for(;a;)o[a.randomId]=!0,a=a.parentPopper;return}let r=n.parentPopper;for(;r&&at(r,r.containsGlobalTarget,e);)r.$_handleGlobalClose(e,t),r=r.parentPopper}})}catch{}}}function at(e,t,o){return o.closeAllPopover||o.closePopover&&t||Oo(e,o)&&!t}function Oo(e,t){if(typeof e.autoHide=="function"){const o=e.autoHide(t);return e.lastAutoHide=o,o}return e.autoHide}function Nt(){for(let e=0;e{V=oe,W=ie,oe=e.clientX,ie=e.clientY},J?{passive:!0}:void 0);function ue(e,t,o,i,n,s,r,a){const l=((r-n)*(t-s)-(a-s)*(e-n))/((a-s)*(o-e)-(r-n)*(i-t)),d=((o-e)*(t-s)-(i-t)*(e-n))/((a-s)*(o-e)-(r-n)*(i-t));return l>=0&&l<=1&&d>=0&&d<=1}const No={extends:At()},Ce=(e,t)=>{const o=e.__vccOpts||e;for(const[i,n]of t)o[i]=n;return o};function ko(e,t,o,i,n,s){return I(),se("div",{ref:"reference",class:Re(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[me(e.$slots,"default",Xt(Ut(e.slotData)))],2)}const zo=Ce(No,[["render",ko]]);function Lo(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var o=e.indexOf("Trident/");if(o>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}let fe;function Ee(){Ee.init||(Ee.init=!0,fe=Lo()!==-1)}var Ae={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Ee(),jt(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",fe&&this.$el.appendChild(e),e.data="about:blank",fe||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!fe&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Mo=qt();Vt("data-v-b329ee4c");const Ho={class:"resize-observer",tabindex:"-1"};Wt();const Eo=Mo((e,t,o,i,n,s)=>(I(),be("div",Ho)));Ae.render=Eo;Ae.__scopeId="data-v-b329ee4c";Ae.__file="src/components/ResizeObserver.vue";const kt=(e="theme")=>({computed:{themeClass(){return Ao(this[e])}}}),Bo=xe({name:"VPopperContent",components:{ResizeObserver:Ae},mixins:[kt()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Ro=["id","aria-hidden","tabindex","data-popper-placement"],Do={ref:"inner",class:"v-popper__inner"},Fo=K("div",{class:"v-popper__arrow-outer"},null,-1),Io=K("div",{class:"v-popper__arrow-inner"},null,-1),Vo=[Fo,Io];function Wo(e,t,o,i,n,s){const r=ne("ResizeObserver");return I(),se("div",{id:e.popperId,ref:"popover",class:Re(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:Oe(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Yt(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[K("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),K("div",{class:"v-popper__wrapper",style:Oe(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[K("div",Do,[e.mounted?(I(),se(Gt,{key:0},[K("div",null,[me(e.$slots,"default")]),e.handleResize?(I(),be(r,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):je("",!0)],64)):je("",!0)],512),K("div",{ref:"arrow",class:"v-popper__arrow-container",style:Oe(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Vo,4)],4)],46,Ro)}const zt=Ce(Bo,[["render",Wo]]),Lt={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Be=function(){};typeof window<"u"&&(Be=window.Element);const jo=xe({name:"VPopperWrapper",components:{Popper:zo,PopperContent:zt},mixins:[Lt,kt("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Be,Boolean],default:void 0},boundary:{type:[String,Be],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function qo(e,t,o,i,n,s){const r=ne("PopperContent"),a=ne("Popper");return I(),be(a,ut({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:ge(({popperId:l,isShown:d,shouldMountContent:f,skipTransition:c,autoHide:u,show:p,hide:h,handleResize:v,onResize:y,classes:m,result:g})=>[me(e.$slots,"default",{shown:d,show:p,hide:h}),ht(r,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:d,mounted:f,"skip-transition":c,"auto-hide":u,"handle-resize":v,classes:m,result:g,onHide:h,onResize:y},{default:ge(()=>[me(e.$slots,"popper",{shown:d,hide:h})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const We=Ce(jo,[["render",qo]]),Go={...We,name:"VDropdown",vPopperTheme:"dropdown"},Mt={...We,name:"VMenu",vPopperTheme:"menu"},Yo={...We,name:"VTooltip",vPopperTheme:"tooltip"},Xo=xe({name:"VTooltipDirective",components:{Popper:At(),PopperContent:zt},mixins:[Lt],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>de(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>de(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,o=this.content(this);o.then?o.then(i=>this.onResult(t,i)):this.onResult(t,o)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),Uo=["innerHTML"],Ko=["textContent"];function Zo(e,t,o,i,n,s){const r=ne("PopperContent"),a=ne("Popper");return I(),be(a,ut({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:ge(({popperId:l,isShown:d,shouldMountContent:f,skipTransition:c,autoHide:u,hide:p,handleResize:h,onResize:v,classes:y,result:m})=>[ht(r,{ref:"popperContent",class:Re({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:d,mounted:f,"skip-transition":c,"auto-hide":u,"handle-resize":h,classes:y,result:m,onHide:p,onResize:v},{default:ge(()=>[e.html?(I(),se("div",{key:0,innerHTML:e.finalContent},null,8,Uo)):(I(),se("div",{key:1,textContent:Qt(e.finalContent)},null,8,Ko))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const Qo=Ce(Xo,[["render",Zo]]),Ht="v-popper--has-tooltip";function Jo(e,t){let o=e.placement;if(!o&&t)for(const i of Ct)t[i]&&(o=i);return o||(o=de(e.theme||"tooltip","placement")),o}function Et(e,t,o){let i;const n=typeof t;return n==="string"?i={content:t}:t&&n==="object"?i=t:i={content:!1},i.placement=Jo(i,o),i.targetNodes=()=>[e],i.referenceNode=()=>e,i}let ze,pe,ei=0;function ti(){if(ze)return;pe=Le([]),ze=Kt({name:"VTooltipDirectiveApp",setup(){return{directives:pe}},render(){return this.directives.map(t=>Zt(Qo,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ze.mount(e)}function oi(e,t,o){ti();const i=Le(Et(e,t,o)),n=Le(!1),s={id:ei++,options:i,shown:n};return pe.value.push(s),e.classList&&e.classList.add(Ht),e.$_popper={options:i,item:s,show(){n.value=!0},hide(){n.value=!1}}}function Bt(e){if(e.$_popper){const t=pe.value.indexOf(e.$_popper.item);t!==-1&&pe.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Ht)}function lt(e,{value:t,modifiers:o}){const i=Et(e,t,o);if(!i.content||de(i.theme||"tooltip","disabled"))Bt(e);else{let n;e.$_popper?(n=e.$_popper,n.options.value=i):n=oi(e,t,o),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?n.show():n.hide())}}const ii={beforeMount:lt,updated:lt,beforeUnmount(e){Bt(e)}};function dt(e){e.addEventListener("mousedown",_e),e.addEventListener("click",_e),e.addEventListener("touchstart",Rt,J?{passive:!0}:!1)}function pt(e){e.removeEventListener("mousedown",_e),e.removeEventListener("click",_e),e.removeEventListener("touchstart",Rt),e.removeEventListener("touchend",Dt),e.removeEventListener("touchcancel",Ft)}function _e(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Rt(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const o=e.changedTouches[0];t.$_vclosepopover_touchPoint=o,t.addEventListener("touchend",Dt),t.addEventListener("touchcancel",Ft)}}function Dt(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const o=e.changedTouches[0],i=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(o.screenY-i.screenY)<20&&Math.abs(o.screenX-i.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Ft(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const ni={beforeMount(e,{value:t,modifiers:o}){e.$_closePopoverModifiers=o,(typeof t>"u"||t)&&dt(e)},updated(e,{value:t,oldValue:o,modifiers:i}){e.$_closePopoverModifiers=i,t!==o&&(typeof t>"u"||t?dt(e):pt(e))},beforeUnmount(e){pt(e)}},li=Mt;function si(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,St(M,t),e.directive("tooltip",ii),e.directive("close-popper",ni),e.component("VTooltip",Yo),e.component("VDropdown",Go),e.component("VMenu",Mt))}const ri={version:"5.2.2",install:si,options:M},ct=typeof navigator<"u"&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),di={install:(e,t={})=>{typeof window<"u"&&window.addEventListener("click",o=>{o.composedPath().some(n=>{var s,r,a,l;return((r=(s=n==null?void 0:n.classList)==null?void 0:s.contains)==null?void 0:r.call(s,"vp-code-group"))||((l=(a=n==null?void 0:n.classList)==null?void 0:a.contains)==null?void 0:l.call(a,"tabs"))})&&Nt()},{passive:!0}),e.use(ri,{...t,themes:{twoslash:{$extend:"dropdown",triggers:ct?["touch"]:["hover","touch"],popperTriggers:ct?["touch"]:["hover","touch"],placement:"bottom-start",overflowPadding:10,delay:0,handleResize:!1,autoHide:!0,instantMove:!0,flip:!1,arrowPadding:8,autoBoundaryMaxSize:!0},"twoslash-query":{$extend:"twoslash",triggers:["click"],popperTriggers:["click"],autoHide:!1},"twoslash-completion":{$extend:"twoslash-query",triggers:["click"],popperTriggers:["click"],autoHide:!1,distance:0,arrowOverflow:!0},...t.theme}})}};export{li as L,di as T,Nt as t}; diff --git a/09-cloud/assets/modules/unplugin-icons-BJo5e7Wi.js b/09-cloud/assets/modules/unplugin-icons-BJo5e7Wi.js new file mode 100644 index 0000000..d4ed572 --- /dev/null +++ b/09-cloud/assets/modules/unplugin-icons-BJo5e7Wi.js @@ -0,0 +1 @@ +import{o as e,b as o,e as n}from"./vue-uEYNCD1x.js";const s={class:"slidev-icon",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},l=n("path",{fill:"currentColor",d:"M200 32h-36.26a47.92 47.92 0 0 0-71.48 0H56a16 16 0 0 0-16 16v168a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16m-72 0a32 32 0 0 1 32 32H96a32 32 0 0 1 32-32m72 184H56V48h26.75A47.93 47.93 0 0 0 80 64v8a8 8 0 0 0 8 8h80a8 8 0 0 0 8-8v-8a47.93 47.93 0 0 0-2.75-16H200Z"},null,-1),_=[l];function i(t,c){return e(),o("svg",s,[..._])}const Bn={name:"ph-clipboard",render:i},h={class:"slidev-icon",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},r=n("path",{fill:"currentColor",d:"M173.66 98.34a8 8 0 0 1 0 11.32l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 0M232 128A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104m-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88"},null,-1),a=[r];function d(t,c){return e(),o("svg",h,[...a])}const Vn={name:"ph-check-circle",render:d},u={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},v=n("path",{fill:"currentColor",d:"M16 8h14v2H16zm0 14h14v2H16zm-6-8H4a2.002 2.002 0 0 1-2-2V6a2.002 2.002 0 0 1 2-2h6a2.002 2.002 0 0 1 2 2v6a2.002 2.002 0 0 1-2 2M4 6v6h6.001L10 6zm6 22H4a2.002 2.002 0 0 1-2-2v-6a2.002 2.002 0 0 1 2-2h6a2.002 2.002 0 0 1 2 2v6a2.002 2.002 0 0 1-2 2m-6-8v6h6.001L10 20z"},null,-1),m=[v];function $(t,c){return e(),o("svg",u,[...m])}const bn={name:"carbon-list-boxes",render:$},p={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},g=n("path",{fill:"currentColor",d:"M26 2H8a2 2 0 0 0-2 2v4H4v2h2v5H4v2h2v5H4v2h2v4a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2m0 26H8v-4h2v-2H8v-5h2v-2H8v-5h2V8H8V4h18Z"},null,-1),f=n("path",{fill:"currentColor",d:"M14 8h8v2h-8zm0 7h8v2h-8zm0 7h8v2h-8z"},null,-1),L=[g,f];function w(t,c){return e(),o("svg",p,[...L])}const Zn={name:"carbon-catalog",render:w},x={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},M=n("path",{fill:"currentColor",d:"M29.415 19L27.7 17.285A2.97 2.97 0 0 0 28 16a3 3 0 1 0-3 3a2.97 2.97 0 0 0 1.286-.3L28 20.414V28h-6v-3a7.008 7.008 0 0 0-7-7H9a7.008 7.008 0 0 0-7 7v5h28v-9.586A1.988 1.988 0 0 0 29.415 19M4 25a5.006 5.006 0 0 1 5-5h6a5.006 5.006 0 0 1 5 5v3H4Z"},null,-1),z=n("path",{fill:"currentColor",d:"M12 4a5 5 0 1 1-5 5a5 5 0 0 1 5-5m0-2a7 7 0 1 0 7 7a7 7 0 0 0-7-7"},null,-1),H=[M,z];function C(t,c){return e(),o("svg",x,[...H])}const An={name:"carbon-user-speaker",render:C},B={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},V=n("path",{fill:"currentColor",d:"M15 10h2v8h-2zm5 4h2v4h-2zm-10-2h2v6h-2z"},null,-1),b=n("path",{fill:"currentColor",d:"M25 4h-8V2h-2v2H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8v6h-4v2h10v-2h-4v-6h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 16H7V6h18Z"},null,-1),Z=[V,b];function A(t,c){return e(),o("svg",B,[...Z])}const kn={name:"carbon-presentation-file",render:A},k={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},y=n("path",{fill:"currentColor",d:"M27.307 6.107L30 3.414L28.586 2l-2.693 2.693L24.8 3.6a1.933 1.933 0 0 0-2.8 0l-18 18V28h6.4l18-18a1.933 1.933 0 0 0 0-2.8ZM9.6 26H6v-3.6L23.4 5L27 8.6ZM9 11.586L16.586 4L18 5.414L10.414 13z"},null,-1),j=[y];function D(t,c){return e(),o("svg",k,[...j])}const yn={name:"carbon-pen",render:D},E={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},q=n("path",{fill:"currentColor",d:"m20.17 19l-2.59 2.59L19 23l4-4l-4-4l-1.42 1.41zm-8.34 0l2.59-2.59L13 15l-4 4l4 4l1.42-1.41z"},null,-1),F=n("circle",{cx:"9",cy:"8",r:"1",fill:"currentColor"},null,-1),I=n("circle",{cx:"6",cy:"8",r:"1",fill:"currentColor"},null,-1),N=n("path",{fill:"currentColor",d:"M28 4H4c-1.103 0-2 .898-2 2v20c0 1.103.897 2 2 2h24c1.103 0 2-.897 2-2V6c0-1.102-.897-2-2-2m0 2v4H4V6zM4 26V12h24v14z"},null,-1),S=[q,F,I,N];function G(t,c){return e(),o("svg",E,[...S])}const jn={name:"carbon-cics-program",render:G},J={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},K=n("path",{fill:"currentColor",d:"M16 12.005a4 4 0 1 1-4 4a4.005 4.005 0 0 1 4-4m0-2a6 6 0 1 0 6 6a6 6 0 0 0-6-6M5.394 6.813L6.81 5.399l3.505 3.506L8.9 10.319zM2 15.005h5v2H2zm3.394 10.193L8.9 21.692l1.414 1.414l-3.505 3.506zM15 25.005h2v5h-2zm6.687-1.9l1.414-1.414l3.506 3.506l-1.414 1.414zm3.313-8.1h5v2h-5zm-3.313-6.101l3.506-3.506l1.414 1.414l-3.506 3.506zM15 2.005h2v5h-2z"},null,-1),O=[K];function U(t,c){return e(),o("svg",J,[...O])}const Dn={name:"carbon-sun",render:U},P={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Q=n("path",{fill:"currentColor",d:"M13.503 5.414a15.076 15.076 0 0 0 11.593 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3"},null,-1),R=[Q];function T(t,c){return e(),o("svg",P,[...R])}const En={name:"carbon-moon",render:T},W={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},X=n("path",{fill:"currentColor",d:"M23 28a1 1 0 0 1-.71-.29l-6.13-6.14l-3.33 5a1 1 0 0 1-1 .44a1 1 0 0 1-.81-.7l-6-20A1 1 0 0 1 6.29 5l20 6a1 1 0 0 1 .7.81a1 1 0 0 1-.44 1l-5 3.33l6.14 6.13a1 1 0 0 1 0 1.42l-4 4A1 1 0 0 1 23 28m0-2.41L25.59 23l-7.16-7.15l5.25-3.5L7.49 7.49l4.86 16.19l3.5-5.25Z"},null,-1),Y=[X];function n1(t,c){return e(),o("svg",W,[...Y])}const qn={name:"carbon-cursor1",render:n1},e1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},o1=n("path",{fill:"currentColor",d:"M8 12h10v2H8z"},null,-1),t1=n("path",{fill:"currentColor",d:"M21.448 20A10.856 10.856 0 0 0 24 13a11 11 0 1 0-11 11a10.856 10.856 0 0 0 7-2.552L27.586 29L29 27.586ZM13 22a9 9 0 1 1 9-9a9.01 9.01 0 0 1-9 9"},null,-1),c1=[o1,t1];function s1(t,c){return e(),o("svg",e1,[...c1])}const Fn={name:"carbon-zoom-out",render:s1},l1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},_1=n("path",{fill:"currentColor",d:"M18 12h-4V8h-2v4H8v2h4v4h2v-4h4z"},null,-1),i1=n("path",{fill:"currentColor",d:"M21.448 20A10.856 10.856 0 0 0 24 13a11 11 0 1 0-11 11a10.856 10.856 0 0 0 7-2.552L27.586 29L29 27.586ZM13 22a9 9 0 1 1 9-9a9.01 9.01 0 0 1-9 9"},null,-1),h1=[_1,i1];function r1(t,c){return e(),o("svg",l1,[...h1])}const In={name:"carbon-zoom-in",render:r1},a1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},d1=n("path",{fill:"currentColor",d:"M20 2v2h6.586L18 12.582L19.414 14L28 5.414V12h2V2zm-6 17.416L12.592 18L4 26.586V20H2v10h10v-2H5.414z"},null,-1),u1=[d1];function v1(t,c){return e(),o("svg",a1,[...u1])}const Nn={name:"carbon-maximize",render:v1},m1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},$1=n("path",{fill:"currentColor",d:"M4 18v2h6.586L2 28.582L3.414 30L12 21.414V28h2V18zM30 3.416L28.592 2L20 10.586V4h-2v10h10v-2h-6.586z"},null,-1),p1=[$1];function g1(t,c){return e(),o("svg",m1,[...p1])}const Sn={name:"carbon-minimize",render:g1},f1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},L1=n("path",{fill:"currentColor",d:"M12 10H6.78A11 11 0 0 1 27 16h2A13 13 0 0 0 6 7.68V4H4v8h8zm8 12h5.22A11 11 0 0 1 5 16H3a13 13 0 0 0 23 8.32V28h2v-8h-8z"},null,-1),w1=[L1];function x1(t,c){return e(),o("svg",f1,[...w1])}const Gn={name:"carbon-renew",render:x1},M1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},z1=n("path",{fill:"currentColor",d:"M16 30a14 14 0 1 1 14-14a14 14 0 0 1-14 14m0-26a12 12 0 1 0 12 12A12 12 0 0 0 16 4"},null,-1),H1=n("path",{fill:"currentColor",d:"M20.59 22L15 16.41V7h2v8.58l5 5.01z"},null,-1),C1=[z1,H1];function B1(t,c){return e(),o("svg",M1,[...C1])}const Jn={name:"carbon-time",render:B1},V1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},b1=n("path",{fill:"currentColor",d:"m14 26l1.41-1.41L7.83 17H28v-2H7.83l7.58-7.59L14 6L4 16z"},null,-1),Z1=[b1];function A1(t,c){return e(),o("svg",V1,[...Z1])}const Kn={name:"carbon-arrow-left",render:A1},k1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},y1=n("path",{fill:"currentColor",d:"m18 6l-1.43 1.393L24.15 15H4v2h20.15l-7.58 7.573L18 26l10-10z"},null,-1),j1=[y1];function D1(t,c){return e(),o("svg",k1,[...j1])}const On={name:"carbon-arrow-right",render:D1},E1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},q1=n("path",{fill:"currentColor",d:"M16 4L6 14l1.41 1.41L15 7.83V28h2V7.83l7.59 7.58L26 14z"},null,-1),F1=[q1];function I1(t,c){return e(),o("svg",E1,[...F1])}const Un={name:"carbon-arrow-up",render:I1},N1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},S1=n("path",{fill:"currentColor",d:"M24.59 16.59L17 24.17V4h-2v20.17l-7.59-7.58L6 18l10 10l10-10z"},null,-1),G1=[S1];function J1(t,c){return e(),o("svg",N1,[...G1])}const Pn={name:"carbon-arrow-down",render:J1},K1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},O1=n("path",{d:"M29.537 13.76l-3.297-3.297a1.586 1.586 0 0 0-2.24 0L10 24.467V30h5.533l14.004-14a1.586 1.586 0 0 0 0-2.24zM14.704 28H12v-2.704l9.44-9.441l2.705 2.704zM25.56 17.145l-2.704-2.704l2.267-2.267l2.704 2.704z",fill:"currentColor"},null,-1),U1=n("path",{d:"M11 17h2v-7h3V8H8v2h3v7z",fill:"currentColor"},null,-1),P1=n("path",{d:"M8 20H4V4h16v4h2V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4z",fill:"currentColor"},null,-1),Q1=[O1,U1,P1];function R1(t,c){return e(),o("svg",K1,[...Q1])}const Qn={name:"carbon-text-annotation-toggle",render:R1},T1={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},W1=n("path",{fill:"currentColor",d:"M8 4v4H4V4Zm2-2H2v8h8Zm8 2v4h-4V4Zm2-2h-8v8h8Zm8 2v4h-4V4Zm2-2h-8v8h8ZM8 14v4H4v-4Zm2-2H2v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8ZM8 24v4H4v-4Zm2-2H2v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8Z"},null,-1),X1=[W1];function Y1(t,c){return e(),o("svg",T1,[...X1])}const Rn={name:"carbon-apps",render:Y1},n2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},e2=n("path",{fill:"currentColor",d:"M30 8h-4.1c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2v2h14.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30zm-9 4c-1.7 0-3-1.3-3-3s1.3-3 3-3s3 1.3 3 3s-1.3 3-3 3M2 24h4.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30v-2H15.9c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2zm9-4c1.7 0 3 1.3 3 3s-1.3 3-3 3s-3-1.3-3-3s1.3-3 3-3"},null,-1),o2=[e2];function t2(t,c){return e(),o("svg",n2,[...o2])}const Tn={name:"carbon-settings-adjust",render:t2},c2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},s2=n("path",{fill:"currentColor",d:"M17 22v-8h-4v2h2v6h-3v2h8v-2zM16 8a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 16 8"},null,-1),l2=n("path",{fill:"currentColor",d:"M16 30a14 14 0 1 1 14-14a14 14 0 0 1-14 14m0-26a12 12 0 1 0 12 12A12 12 0 0 0 16 4"},null,-1),_2=[s2,l2];function i2(t,c){return e(),o("svg",c2,[..._2])}const Wn={name:"carbon-information",render:i2},h2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},r2=n("path",{fill:"currentColor",d:"M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10z"},null,-1),a2=[r2];function d2(t,c){return e(),o("svg",h2,[...a2])}const Xn={name:"carbon-download",render:d2},u2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},v2=n("path",{fill:"currentColor",d:"M26 6v4H6V6zm0-2H6a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2M10 16v10H6V16zm0-2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V16a2 2 0 0 0-2-2m16 2v10H16V16zm0-2H16a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V16a2 2 0 0 0-2-2"},null,-1),m2=[v2];function $2(t,c){return e(),o("svg",u2,[...m2])}const Yn={name:"carbon-template",render:$2},p2={class:"slidev-icon",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},g2=n("g",{fill:"currentColor"},[n("path",{d:"M213.66 201L201 213.66a8 8 0 0 1-11.31 0l-51.31-51.31a8 8 0 0 0-13 2.46l-17.82 46.41a8 8 0 0 1-14.85-.71L40.41 50.44a8 8 0 0 1 10-10l160.1 52.24a8 8 0 0 1 .71 14.85l-46.41 17.82a8 8 0 0 0-2.46 13l51.31 51.31a8 8 0 0 1 0 11.34",opacity:".2"}),n("path",{d:"M168 132.69L214.08 115l.33-.13a16 16 0 0 0-1.41-29.8L52.92 32.8A15.95 15.95 0 0 0 32.8 52.92L85.07 213a15.82 15.82 0 0 0 14.41 11h.78a15.84 15.84 0 0 0 14.61-9.59l.13-.33L132.69 168L184 219.31a16 16 0 0 0 22.63 0l12.68-12.68a16 16 0 0 0 0-22.63ZM195.31 208L144 156.69a16 16 0 0 0-26 4.93c0 .11-.09.22-.13.32l-17.65 46L48 48l159.85 52.2l-45.95 17.64l-.32.13a16 16 0 0 0-4.93 26L208 195.31Z"})],-1),f2=[g2];function L2(t,c){return e(),o("svg",p2,[...f2])}const ne={name:"ph-cursor-duotone",render:L2},w2={class:"slidev-icon",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},x2=n("path",{fill:"currentColor",d:"m220.49 207.8l-12.69 12.69a12 12 0 0 1-17 0l-56.57-56.57L115 214.08l-.13.33a15.84 15.84 0 0 1-14.61 9.59h-.78a15.82 15.82 0 0 1-14.41-11L32.8 52.92A15.95 15.95 0 0 1 52.92 32.8L213 85.07a16 16 0 0 1 1.41 29.8l-.33.13l-50.16 19.27l56.57 56.56a12 12 0 0 1 0 16.97"},null,-1),M2=[x2];function z2(t,c){return e(),o("svg",w2,[...M2])}const ee={name:"ph-cursor-fill",render:z2},H2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},C2=n("path",{fill:"currentColor",d:"m13 24l-9-9l1.414-1.414L13 21.171L26.586 7.586L28 9z"},null,-1),B2=[C2];function V2(t,c){return e(),o("svg",H2,[...B2])}const oe={name:"carbon-checkmark",render:V2},b2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Z2=n("path",{fill:"currentColor",d:"M17.414 16L24 9.414L22.586 8L16 14.586L9.414 8L8 9.414L14.586 16L8 22.586L9.414 24L16 17.414L22.586 24L24 22.586z"},null,-1),A2=[Z2];function k2(t,c){return e(),o("svg",b2,[...A2])}const te={name:"carbon-close",render:k2},y2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},j2=n("path",{fill:"currentColor",d:"M16 2C8.2 2 2 8.2 2 16s6.2 14 14 14s14-6.2 14-14S23.8 2 16 2m0 26C9.4 28 4 22.6 4 16S9.4 4 16 4s12 5.4 12 12s-5.4 12-12 12"},null,-1),D2=n("path",{fill:"currentColor",d:"M21.4 23L16 17.6L10.6 23L9 21.4l5.4-5.4L9 10.6L10.6 9l5.4 5.4L21.4 9l1.6 1.6l-5.4 5.4l5.4 5.4z"},null,-1),E2=[j2,D2];function q2(t,c){return e(),o("svg",y2,[...E2])}const ce={name:"carbon-close-outline",render:q2},F2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},I2=n("path",{fill:"currentColor",d:"M2 16A14 14 0 1 0 16 2A14 14 0 0 0 2 16m23.15 7.75L8.25 6.85a12 12 0 0 1 16.9 16.9M8.24 25.16a12 12 0 0 1-1.4-16.89l16.89 16.89a12 12 0 0 1-15.49 0"},null,-1),N2=[I2];function S2(t,c){return e(),o("svg",F2,[...N2])}const se={name:"carbon-error",render:S2},G2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},J2=n("path",{fill:"currentColor",d:"M28.59 13.31L30 11.9L20 2l-1.31 1.42l1.18 1.18l-11.49 9.72l-1.72-1.71L5.25 14l5.66 5.68L2 28.58L3.41 30l8.91-8.91L18 26.75l1.39-1.42l-1.71-1.71l9.72-11.49ZM16.26 22.2L9.8 15.74L21.29 6L26 10.71Z"},null,-1),K2=[J2];function O2(t,c){return e(),o("svg",G2,[...K2])}const le={name:"carbon-pin",render:O2},U2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},P2=n("path",{fill:"currentColor",d:"M28.586 13.314L30 11.9L20 2l-1.314 1.415l1.186 1.186L8.38 14.322l-1.716-1.715L5.25 14l5.657 5.677L2 28.583L3.41 30l8.911-8.909L18 26.748l1.393-1.414l-1.716-1.716l9.724-11.49Z"},null,-1),Q2=[P2];function R2(t,c){return e(),o("svg",U2,[...Q2])}const _e={name:"carbon-pin-filled",render:R2},T2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},W2=n("path",{fill:"currentColor",d:"M12 12h2v12h-2zm6 0h2v12h-2z"},null,-1),X2=n("path",{fill:"currentColor",d:"M4 6v2h2v20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h2V6zm4 22V8h16v20zm4-26h8v2h-8z"},null,-1),Y2=[W2,X2];function nn(t,c){return e(),o("svg",T2,[...Y2])}const ie={name:"carbon-trash-can",render:nn},en={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},on=n("path",{fill:"currentColor",d:"M12 10h12.185l-3.587-3.586L22 5l6 6l-6 6l-1.402-1.415L24.182 12H12a6 6 0 0 0 0 12h8v2h-8a8 8 0 0 1 0-16"},null,-1),tn=[on];function cn(t,c){return e(),o("svg",en,[...tn])}const he={name:"carbon-redo",render:cn},sn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},ln=n("path",{fill:"currentColor",d:"M20 10H7.815l3.587-3.586L10 5l-6 6l6 6l1.402-1.415L7.818 12H20a6 6 0 0 1 0 12h-8v2h8a8 8 0 0 0 0-16"},null,-1),_n=[ln];function hn(t,c){return e(),o("svg",sn,[..._n])}const re={name:"carbon-undo",render:hn},rn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},an=n("path",{fill:"currentColor",d:"M7 27h23v2H7zm20.38-16.49l-7.93-7.92a2 2 0 0 0-2.83 0l-14 14a2 2 0 0 0 0 2.83L7.13 24h9.59l10.66-10.66a2 2 0 0 0 0-2.83M15.89 22H8l-4-4l6.31-6.31l7.93 7.92zm3.76-3.76l-7.92-7.93L18 4l8 7.93z"},null,-1),dn=[an];function un(t,c){return e(),o("svg",rn,[...dn])}const ae={name:"carbon-erase",render:un},vn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},mn=n("path",{fill:"currentColor",d:"M26 4H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2M6 26V6h20v20Z"},null,-1),$n=[mn];function pn(t,c){return e(),o("svg",vn,[...$n])}const de={name:"carbon-checkbox",render:pn},gn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},fn=n("path",{fill:"currentColor",d:"M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m0 26a12 12 0 1 1 12-12a12 12 0 0 1-12 12"},null,-1),Ln=[fn];function wn(t,c){return e(),o("svg",gn,[...Ln])}const ue={name:"carbon-radio-button",render:wn},xn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Mn=n("path",{fill:"currentColor",d:"M10 6v2h12.59L6 24.59L7.41 26L24 9.41V22h2V6z"},null,-1),zn=[Mn];function Hn(t,c){return e(),o("svg",xn,[...zn])}const ve={name:"carbon-arrow-up-right",render:Hn};export{te as A,Vn as B,Bn as C,ve as D,ue as E,de as F,ae as G,re as H,Un as I,he as J,ie as K,_e as L,le as M,se as N,ce as O,kn as _,An as a,Zn as b,bn as c,En as d,Dn as e,jn as f,yn as g,In as h,Fn as i,Sn as j,Nn as k,Jn as l,Gn as m,qn as n,Kn as o,On as p,Pn as q,Qn as r,Rn as s,oe as t,ee as u,ne as v,Tn as w,Yn as x,Xn as y,Wn as z}; diff --git a/09-cloud/assets/modules/vue-uEYNCD1x.js b/09-cloud/assets/modules/vue-uEYNCD1x.js new file mode 100644 index 0000000..d432e64 --- /dev/null +++ b/09-cloud/assets/modules/vue-uEYNCD1x.js @@ -0,0 +1,91 @@ +/** +* @vue/shared v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Ke(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const ge=Object.freeze({}),ys=Object.freeze([]),Pe=()=>{},ci=()=>!1,rn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),bi=e=>e.startsWith("onUpdate:"),le=Object.assign,Bl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},hm=Object.prototype.hasOwnProperty,pe=(e,t)=>hm.call(e,t),H=Array.isArray,Xn=e=>Ls(e)==="[object Map]",cs=e=>Ls(e)==="[object Set]",uc=e=>Ls(e)==="[object Date]",mm=e=>Ls(e)==="[object RegExp]",Z=e=>typeof e=="function",ne=e=>typeof e=="string",At=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",Gi=e=>(me(e)||Z(e))&&Z(e.then)&&Z(e.catch),af=Object.prototype.toString,Ls=e=>af.call(e),Hl=e=>Ls(e).slice(8,-1),cf=e=>Ls(e)==="[object Object]",Ul=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,An=Ke(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),uf=Ke("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Yi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},gm=/-(\w)/g,Ie=Yi(e=>e.replace(gm,(t,n)=>n?n.toUpperCase():"")),ym=/\B([A-Z])/g,Qe=Yi(e=>e.replace(ym,"-$1").toLowerCase()),Wt=Yi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vt=Yi(e=>e?`on${Wt(e)}`:""),$t=(e,t)=>!Object.is(e,t),En=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},_i=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Si=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let fc;const Kl=()=>fc||(fc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Ht={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},vm={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},bm="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",_m=Ke(bm),dc=2;function Sm(e,t=0,n=e.length){let s=e.split(/(\r?\n)/);const r=s.filter((l,a)=>a%2===1);s=s.filter((l,a)=>a%2===0);let i=0;const o=[];for(let l=0;l=t){for(let a=l-dc;a<=l+dc||n>i;a++){if(a<0||a>=s.length)continue;const u=a+1;o.push(`${u}${" ".repeat(Math.max(3-String(u).length,0))}| ${s[a]}`);const f=s[a].length,c=r[a]&&r[a].length||0;if(a===l){const d=t-(i-(f+c)),p=Math.max(1,n>i?f-d:n-t);o.push(" | "+" ".repeat(d)+"^".repeat(p))}else if(a>l){if(n>i){const d=Math.max(Math.min(n-i,f),1);o.push(" | "+"^".repeat(d))}i+=f+c}}break}return o.join(` +`)}function Ds(e){if(H(e)){const t={};for(let n=0;n{if(n){const s=n.split(Em);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Tm(e){let t="";if(!e||ne(e))return t;for(const n in e){const s=e[n],r=n.startsWith("--")?n:Qe(n);(ne(s)||typeof s=="number")&&(t+=`${r}:${s};`)}return t}function Vs(e){let t="";if(ne(e))t=e;else if(H(e))for(let n=0;nkn(n,t))}const Lm=e=>ne(e)?e:e==null?"":H(e)||me(e)&&(e.toString===af||!Z(e.toString))?JSON.stringify(e,yf,2):String(e),yf=(e,t)=>t&&t.__v_isRef?yf(e,t.value):Xn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[wo(s,i)+" =>"]=r,n),{})}:cs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>wo(n))}:At(t)?wo(t):me(t)&&!H(t)&&!cf(t)?String(t):t,wo=(e,t="")=>{var n;return At(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function qt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let ht;class ql{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ht,!t&&ht&&(this.index=(ht.scopes||(ht.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ht;try{return ht=this,t()}finally{ht=n}}else qt("cannot run an inactive effect scope.")}on(){ht=this}off(){ht=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),an()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=On,n=Qn;try{return On=!0,Qn=this,this._runnings++,hc(this),this.fn()}finally{mc(this),this._runnings--,Qn=n,On=t}}stop(){var t;this.active&&(hc(this),mc(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Dm(e){return e.value}function hc(e){e._trackId++,e._depsLength=0}function mc(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{n.dirty&&n.run()});t&&(le(n,t),t.scope&&bf(n,t.scope)),(!t||!t.lazy)&&n.run();const s=n.run.bind(n);return s.effect=n,s}function jm(e){e.effect.stop()}let On=!0,qo=0;const wf=[];function ln(){wf.push(On),On=!1}function an(){const e=wf.pop();On=e===void 0?!0:e}function Gl(){qo++}function Yl(){for(qo--;!qo&&zo.length;)zo.shift()()}function Ef(e,t,n){var s;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Sf(r,e),e.deps[e._depsLength++]=t):e._depsLength++,(s=e.onTrack)==null||s.call(e,le({effect:e},n))}}const zo=[];function Cf(e,t,n){var s;Gl();for(const r of e.keys()){let i;r._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},wi=new WeakMap,Zn=Symbol("iterate"),Go=Symbol("Map key iterate");function tt(e,t,n){if(On&&Qn){let s=wi.get(e);s||wi.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Tf(()=>s.delete(n))),Ef(Qn,r,{target:e,type:t,key:n})}}function Ut(e,t,n,s,r,i){const o=wi.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&H(e)){const a=Number(s);o.forEach((u,f)=>{(f==="length"||!At(f)&&f>=a)&&l.push(u)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":H(e)?Ul(n)&&l.push(o.get("length")):(l.push(o.get(Zn)),Xn(e)&&l.push(o.get(Go)));break;case"delete":H(e)||(l.push(o.get(Zn)),Xn(e)&&l.push(o.get(Go)));break;case"set":Xn(e)&&l.push(o.get(Zn));break}Gl();for(const a of l)a&&Cf(a,4,{target:e,type:t,key:n,newValue:s,oldValue:r,oldTarget:i});Yl()}function Bm(e,t){var n;return(n=wi.get(e))==null?void 0:n.get(t)}const Hm=Ke("__proto__,__v_isRef,__isVue"),xf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(At)),gc=Um();function Um(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=re(this);for(let i=0,o=this.length;i{e[t]=function(...n){ln(),Gl();const s=re(this)[t].apply(this,n);return Yl(),an(),s}}),e}function Km(e){At(e)||(e=String(e));const t=re(this);return tt(t,"has",e),t.hasOwnProperty(e)}class Af{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Mf:kf:i?Pf:Nf).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=H(t);if(!r){if(o&&pe(gc,n))return Reflect.get(gc,n,s);if(n==="hasOwnProperty")return Km}const l=Reflect.get(t,n,s);return(At(n)?xf.has(n):Hm(n))||(r||tt(t,"get",n),i)?l:Te(l)?o&&Ul(n)?l:l.value:me(l)?r?wt(l):pt(l):l}}class Of extends Af{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const a=Mn(i);if(!Rn(s)&&!Mn(s)&&(i=re(i),s=re(s)),!H(t)&&Te(i)&&!Te(s))return a?!1:(i.value=s,!0)}const o=H(t)&&Ul(n)?Number(n)e,Xi=e=>Reflect.getPrototypeOf(e);function Wr(e,t,n=!1,s=!1){e=e.__v_raw;const r=re(e),i=re(t);n||($t(t,i)&&tt(r,"get",t),tt(r,"get",i));const{has:o}=Xi(r),l=s?Jl:n?Ql:dr;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function qr(e,t=!1){const n=this.__v_raw,s=re(n),r=re(e);return t||($t(e,r)&&tt(s,"has",e),tt(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function zr(e,t=!1){return e=e.__v_raw,!t&&tt(re(e),"iterate",Zn),Reflect.get(e,"size",e)}function yc(e){e=re(e);const t=re(this);return Xi(t).has.call(t,e)||(t.add(e),Ut(t,"add",e,e)),this}function vc(e,t){t=re(t);const n=re(this),{has:s,get:r}=Xi(n);let i=s.call(n,e);i?If(n,s,e):(e=re(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?$t(t,o)&&Ut(n,"set",e,t,o):Ut(n,"add",e,t),this}function bc(e){const t=re(this),{has:n,get:s}=Xi(t);let r=n.call(t,e);r?If(t,n,e):(e=re(e),r=n.call(t,e));const i=s?s.call(t,e):void 0,o=t.delete(e);return r&&Ut(t,"delete",e,void 0,i),o}function _c(){const e=re(this),t=e.size!==0,n=Xn(e)?new Map(e):new Set(e),s=e.clear();return t&&Ut(e,"clear",void 0,void 0,n),s}function Gr(e,t){return function(s,r){const i=this,o=i.__v_raw,l=re(o),a=t?Jl:e?Ql:dr;return!e&&tt(l,"iterate",Zn),o.forEach((u,f)=>s.call(r,a(u),a(f),i))}}function Yr(e,t,n){return function(...s){const r=this.__v_raw,i=re(r),o=Xn(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,u=r[e](...s),f=n?Jl:t?Ql:dr;return!t&&tt(i,"iterate",a?Go:Zn),{next(){const{value:c,done:d}=u.next();return d?{value:c,done:d}:{value:l?[f(c[0]),f(c[1])]:f(c),done:d}},[Symbol.iterator](){return this}}}}function dn(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";qt(`${Wt(e)} operation ${n}failed: target is readonly.`,re(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Ym(){const e={get(i){return Wr(this,i)},get size(){return zr(this)},has:qr,add:yc,set:vc,delete:bc,clear:_c,forEach:Gr(!1,!1)},t={get(i){return Wr(this,i,!1,!0)},get size(){return zr(this)},has:qr,add:yc,set:vc,delete:bc,clear:_c,forEach:Gr(!1,!0)},n={get(i){return Wr(this,i,!0)},get size(){return zr(this,!0)},has(i){return qr.call(this,i,!0)},add:dn("add"),set:dn("set"),delete:dn("delete"),clear:dn("clear"),forEach:Gr(!0,!1)},s={get(i){return Wr(this,i,!0,!0)},get size(){return zr(this,!0)},has(i){return qr.call(this,i,!0)},add:dn("add"),set:dn("set"),delete:dn("delete"),clear:dn("clear"),forEach:Gr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Yr(i,!1,!1),n[i]=Yr(i,!0,!1),t[i]=Yr(i,!1,!0),s[i]=Yr(i,!0,!0)}),[e,n,t,s]}const[Jm,Xm,Qm,Zm]=Ym();function Qi(e,t){const n=t?e?Zm:Qm:e?Xm:Jm;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(pe(n,r)&&r in s?n:s,r,i)}const eg={get:Qi(!1,!1)},tg={get:Qi(!1,!0)},ng={get:Qi(!0,!1)},sg={get:Qi(!0,!0)};function If(e,t,n){const s=re(n);if(s!==n&&t.call(e,s)){const r=Hl(e);qt(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Nf=new WeakMap,Pf=new WeakMap,kf=new WeakMap,Mf=new WeakMap;function rg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ig(e){return e.__v_skip||!Object.isExtensible(e)?0:rg(Hl(e))}function pt(e){return Mn(e)?e:Zi(e,!1,Wm,eg,Nf)}function Xl(e){return Zi(e,!1,zm,tg,Pf)}function wt(e){return Zi(e,!0,qm,ng,kf)}function Bt(e){return Zi(e,!0,Gm,sg,Mf)}function Zi(e,t,n,s,r){if(!me(e))return qt(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=ig(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function es(e){return Mn(e)?es(e.__v_raw):!!(e&&e.__v_isReactive)}function Mn(e){return!!(e&&e.__v_isReadonly)}function Rn(e){return!!(e&&e.__v_isShallow)}function fr(e){return e?!!e.__v_raw:!1}function re(e){const t=e&&e.__v_raw;return t?re(t):e}function $f(e){return Object.isExtensible(e)&&ff(e,"__v_skip",!0),e}const dr=e=>me(e)?pt(e):e,Ql=e=>me(e)?wt(e):e,og="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class Ff{constructor(t,n,s,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new xs(()=>t(this._value),()=>vs(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=re(this);return(!t._cacheable||t.effect.dirty)&&$t(t._value,t._value=t.effect.run())&&vs(t,4),Zl(t),t.effect._dirtyLevel>=2&&(this._warnRecursive&&qt(og,` + +getter: `,this.getter),vs(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function lg(e,t,n=!1){let s,r;const i=Z(e);i?(s=e,r=()=>{qt("Write operation failed: computed value is readonly")}):(s=e.get,r=e.set);const o=new Ff(s,r,i||!r,n);return t&&!n&&(o.effect.onTrack=t.onTrack,o.effect.onTrigger=t.onTrigger),o}function Zl(e){var t;On&&Qn&&(e=re(e),Ef(Qn,(t=e.dep)!=null?t:e.dep=Tf(()=>e.dep=void 0,e instanceof Ff?e:void 0),{target:e,type:"get",key:"value"}))}function vs(e,t=4,n){e=re(e);const s=e.dep;s&&Cf(s,t,{target:e,type:"set",key:"value",newValue:n})}function Te(e){return!!(e&&e.__v_isRef===!0)}function Y(e){return Lf(e,!1)}function ea(e){return Lf(e,!0)}function Lf(e,t){return Te(e)?e:new ag(e,t)}class ag{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:re(t),this._value=n?t:dr(t)}get value(){return Zl(this),this._value}set value(t){const n=this.__v_isShallow||Rn(t)||Mn(t);t=n?t:re(t),$t(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:dr(t),vs(this,4,t))}}function cg(e){vs(e,4,e.value)}function Ge(e){return Te(e)?e.value:e}function ug(e){return Z(e)?e():Ge(e)}const fg={get:(e,t,n)=>Ge(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Te(r)&&!Te(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ta(e){return es(e)?e:new Proxy(e,fg)}class dg{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>Zl(this),()=>vs(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function eo(e){return new dg(e)}function Df(e){fr(e)||qt("toRefs() expects a reactive object but received a plain one.");const t=H(e)?new Array(e.length):{};for(const n in e)t[n]=jf(e,n);return t}class pg{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Bm(re(this._object),this._key)}}class hg{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Vf(e,t,n){return Te(e)?e:Z(e)?new hg(e):me(e)&&arguments.length>1?jf(e,t,n):Y(e)}function jf(e,t,n){const s=e[t];return Te(s)?s:new pg(e,t,n)}const mg={GET:"get",HAS:"has",ITERATE:"iterate"},gg={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/** +* @vue/runtime-core v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const ts=[];function Qs(e){ts.push(e)}function Zs(){ts.pop()}function M(e,...t){ln();const n=ts.length?ts[ts.length-1].component:null,s=n&&n.appContext.config.warnHandler,r=yg();if(s)Kt(s,n,11,[e+t.map(i=>{var o,l;return(l=(o=i.toString)==null?void 0:o.call(i))!=null?l:JSON.stringify(i)}).join(""),n&&n.proxy,r.map(({vnode:i})=>`at <${fo(n,i.type)}>`).join(` +`),r]);else{const i=[`[Vue warn]: ${e}`,...t];r.length&&i.push(` +`,...vg(r)),console.warn(...i)}an()}function yg(){let e=ts[ts.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function vg(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[` +`],...bg(n))}),t}function bg({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,r=` at <${fo(e.component,e.type,s)}`,i=">"+n;return e.props?[r,..._g(e.props),i]:[r+i]}function _g(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...Bf(s,e[s]))}),n.length>3&&t.push(" ..."),t}function Bf(e,t,n){return ne(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Te(t)?(t=Bf(e,re(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Z(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=re(t),n?t:[`${e}=`,t])}function na(e,t){e!==void 0&&(typeof e!="number"?M(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&M(`${t} is NaN - the duration expression might be incorrect.`))}const Sg={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},to={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function Kt(e,t,n,s){try{return s?e(...s):e()}catch(r){Vn(r,t,n)}}function gt(e,t,n,s){if(Z(e)){const r=Kt(e,t,n,s);return r&&Gi(r)&&r.catch(i=>{Vn(i,t,n)}),r}if(H(e)){const r=[];for(let i=0;i>>1,r=Ze[s],i=mr(r);ijt&&Ze.splice(t,1)}function hr(e){H(e)?bs.push(...e):(!Zt||!Zt.includes(e,e.allowRecurse?yn+1:yn))&&bs.push(e),Uf()}function Sc(e,t,n=pr?jt+1:0){for(t=t||new Map;nmr(n)-mr(s));if(bs.length=0,Zt){Zt.push(...t);return}for(Zt=t,e=e||new Map,yn=0;yne.id==null?1/0:e.id,xg=(e,t)=>{const n=mr(e)-mr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Kf(e){Yo=!1,pr=!0,e=e||new Map,Ze.sort(xg);const t=n=>ra(e,n);try{for(jt=0;jtEg){const s=t.ownerInstance,r=s&&br(s.type);return Vn(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else e.set(t,n+1)}}let In=!1;const gs=new Set;Kl().__VUE_HMR_RUNTIME__={createRecord:Eo(Wf),rerender:Eo(Rg),reload:Eo(Ig)};const rs=new Map;function Ag(e){const t=e.type.__hmrId;let n=rs.get(t);n||(Wf(t,e.type),n=rs.get(t)),n.instances.add(e)}function Og(e){rs.get(e.type.__hmrId).instances.delete(e)}function Wf(e,t){return rs.has(e)?!1:(rs.set(e,{initialDef:er(t),instances:new Set}),!0)}function er(e){return qd(e)?e.__vccOpts:e}function Rg(e,t){const n=rs.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(s=>{t&&(s.render=t,er(s.type).render=t),s.renderCache=[],In=!0,s.effect.dirty=!0,s.update(),In=!1}))}function Ig(e,t){const n=rs.get(e);if(!n)return;t=er(t),wc(n.initialDef,t);const s=[...n.instances];for(const r of s){const i=er(r.type);gs.has(i)||(i!==n.initialDef&&wc(i,t),gs.add(i)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(gs.add(i),r.ceReload(t.styles),gs.delete(i)):r.parent?(r.parent.effect.dirty=!0,Ir(r.parent.update)):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}hr(()=>{for(const r of s)gs.delete(er(r.type))})}function wc(e,t){le(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Eo(e){return(t,n)=>{try{return e(t,n)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Nt,Ys=[],Jo=!1;function Nr(e,...t){Nt?Nt.emit(e,...t):Jo||Ys.push({event:e,args:t})}function ia(e,t){var n,s;Nt=e,Nt?(Nt.enabled=!0,Ys.forEach(({event:r,args:i})=>Nt.emit(r,...i)),Ys=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{ia(i,t)}),setTimeout(()=>{Nt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Jo=!0,Ys=[])},3e3)):(Jo=!0,Ys=[])}function Ng(e,t){Nr("app:init",e,t,{Fragment:De,Text:$n,Comment:$e,Static:Nn})}function Pg(e){Nr("app:unmount",e)}const Xo=oa("component:added"),qf=oa("component:updated"),kg=oa("component:removed"),Mg=e=>{Nt&&typeof Nt.cleanupBuffer=="function"&&!Nt.cleanupBuffer(e)&&kg(e)};/*! #__NO_SIDE_EFFECTS__ */function oa(e){return t=>{Nr(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const $g=zf("perf:start"),Fg=zf("perf:end");function zf(e){return(t,n,s)=>{Nr(e,t.appContext.app,t.uid,t,n,s)}}function Lg(e,t,n){Nr("component:emit",e.appContext.app,e,t,n)}function Dg(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ge;{const{emitsOptions:f,propsOptions:[c]}=e;if(f)if(!(t in f))(!c||!(Vt(t)in c))&&M(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Vt(t)}" prop.`);else{const d=f[t];Z(d)&&(d(...n)||M(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const f=`${o==="modelValue"?"model":o}Modifiers`,{number:c,trim:d}=s[f]||ge;d&&(r=n.map(p=>ne(p)?p.trim():p)),c&&(r=n.map(_i))}Lg(e,t,r);{const f=t.toLowerCase();f!==t&&s[Vt(f)]&&M(`Event "${f}" is emitted in component ${fo(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Qe(t)}" instead of "${t}".`)}let l,a=s[l=Vt(t)]||s[l=Vt(Ie(t))];!a&&i&&(a=s[l=Vt(Qe(t))]),a&>(a,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,gt(u,e,6,r)}}function Gf(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!Z(e)){const a=u=>{const f=Gf(u,t,!0);f&&(l=!0,le(o,f))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(me(e)&&s.set(e,null),null):(H(i)?i.forEach(a=>o[a]=null):le(o,i),me(e)&&s.set(e,o),o)}function no(e,t){return!e||!rn(t)?!1:(t=t.slice(2).replace(/Once$/,""),pe(e,t[0].toLowerCase()+t.slice(1))||pe(e,Qe(t))||pe(e,t))}let Re=null,so=null;function gr(e){const t=Re;return Re=e,so=e&&e.type.__scopeId||null,t}function Vg(e){so=e}function jg(){so=null}const Bg=e=>la;function la(e,t=Re,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ol(-1);const i=gr(t);let o;try{o=e(...r)}finally{gr(i),s._d&&ol(1)}return qf(t),o};return s._n=!0,s._c=!0,s._d=!0,s}let Qo=!1;function Ci(){Qo=!0}function ui(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:a,render:u,renderCache:f,props:c,data:d,setupState:p,ctx:m,inheritAttrs:w}=e,E=gr(e);let v,y;Qo=!1;try{if(n.shapeFlag&4){const S=r||s,O=p.__isScriptSetup?new Proxy(S,{get(C,x,T){return M(`Property '${String(x)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(C,x,T)}}):S;v=ut(u.call(O,S,f,Bt(c),p,d,m)),y=l}else{const S=t;l===c&&Ci(),v=ut(S.length>1?S(Bt(c),{get attrs(){return Ci(),l},slots:o,emit:a}):S(Bt(c),null)),y=t.props?l:Hg(l)}}catch(S){nr.length=0,Vn(S,e,1),v=xe($e)}let g=v,b;if(v.patchFlag>0&&v.patchFlag&2048&&([g,b]=Yf(v)),y&&w!==!1){const S=Object.keys(y),{shapeFlag:O}=g;if(S.length){if(O&7)i&&S.some(bi)&&(y=Ug(y,i)),g=Ot(g,y);else if(!Qo&&g.type!==$e){const C=Object.keys(l),x=[],T=[];for(let A=0,k=C.length;A renders non-element root node that cannot be animated."),g.transition=n.transition),b?b(g):v=g,gr(E),v}const Yf=e=>{const t=e.children,n=e.dynamicChildren,s=ro(t,!1);if(s){if(s.patchFlag>0&&s.patchFlag&2048)return Yf(s)}else return[e,void 0];const r=t.indexOf(s),i=n?n.indexOf(s):-1,o=l=>{t[r]=l,n&&(i>-1?n[i]=l:l.patchFlag>0&&(e.dynamicChildren=[...n,l]))};return[ut(s),o]};function ro(e,t=!0){let n;for(let s=0;s0&&n.patchFlag&2048)return ro(n.children)}}else return}return n}const Hg=e=>{let t;for(const n in e)(n==="class"||n==="style"||rn(n))&&((t||(t={}))[n]=e[n]);return t},Ug=(e,t)=>{const n={};for(const s in e)(!bi(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n},Ec=e=>e.shapeFlag&7||e.type===$e;function Kg(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:a}=t,u=i.emitsOptions;if((r||l)&&In||t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Cc(s,o,u):!!o;if(a&8){const f=t.dynamicProps;for(let c=0;ce.__isSuspense;let Zo=0;const Yg={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,a,u){if(e==null)Xg(t,n,s,r,i,o,l,a,u);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Qg(e,t,n,s,r,o,l,a,u)}},hydrate:Zg,create:fa,normalize:ey},Jg=Yg;function yr(e,t){const n=e.props&&e.props[t];Z(n)&&n()}function Xg(e,t,n,s,r,i,o,l,a){const{p:u,o:{createElement:f}}=a,c=f("div"),d=e.suspense=fa(e,r,s,t,c,n,i,o,l,a);u(null,d.pendingBranch=e.ssContent,c,null,s,d,i,o),d.deps>0?(yr(e,"onPending"),yr(e,"onFallback"),u(null,e.ssFallback,t,n,s,null,i,o),_s(d,e.ssFallback)):d.resolve(!1,!0)}function Qg(e,t,n,s,r,i,o,l,{p:a,um:u,o:{createElement:f}}){const c=t.suspense=e.suspense;c.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:w,isInFallback:E,isHydrating:v}=c;if(w)c.pendingBranch=d,Pt(d,w)?(a(w,d,c.hiddenContainer,null,r,c,i,o,l),c.deps<=0?c.resolve():E&&(v||(a(m,p,n,s,r,null,i,o,l),_s(c,p)))):(c.pendingId=Zo++,v?(c.isHydrating=!1,c.activeBranch=w):u(w,r,c),c.deps=0,c.effects.length=0,c.hiddenContainer=f("div"),E?(a(null,d,c.hiddenContainer,null,r,c,i,o,l),c.deps<=0?c.resolve():(a(m,p,n,s,r,null,i,o,l),_s(c,p))):m&&Pt(d,m)?(a(m,d,n,s,r,c,i,o,l),c.resolve(!0)):(a(null,d,c.hiddenContainer,null,r,c,i,o,l),c.deps<=0&&c.resolve()));else if(m&&Pt(d,m))a(m,d,n,s,r,c,i,o,l),_s(c,d);else if(yr(t,"onPending"),c.pendingBranch=d,d.shapeFlag&512?c.pendingId=d.component.suspenseId:c.pendingId=Zo++,a(null,d,c.hiddenContainer,null,r,c,i,o,l),c.deps<=0)c.resolve();else{const{timeout:y,pendingId:g}=c;y>0?setTimeout(()=>{c.pendingId===g&&c.fallback(p)},y):y===0&&c.fallback(p)}}let xc=!1;function fa(e,t,n,s,r,i,o,l,a,u,f=!1){xc||(xc=!0,console[console.info?"info":"log"](" is an experimental feature and its API will likely change."));const{p:c,m:d,um:p,n:m,o:{parentNode:w,remove:E}}=u;let v;const y=ty(e);y&&t!=null&&t.pendingBranch&&(v=t.pendingId,t.deps++);const g=e.props?Si(e.props.timeout):void 0;na(g,"Suspense timeout");const b=i,S={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:r,deps:0,pendingId:Zo++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(O=!1,C=!1){{if(!O&&!S.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(S.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.")}const{vnode:x,activeBranch:T,pendingBranch:A,pendingId:k,effects:R,parentComponent:V,container:J}=S;let Q=!1;S.isHydrating?S.isHydrating=!1:O||(Q=T&&A.transition&&A.transition.mode==="out-in",Q&&(T.transition.afterLeave=()=>{k===S.pendingId&&(d(A,J,i===b?m(T):i,0),hr(R))}),T&&(w(T.el)!==S.hiddenContainer&&(i=m(T)),p(T,V,S,!0)),Q||d(A,J,i,0)),_s(S,A),S.pendingBranch=null,S.isInFallback=!1;let z=S.parent,G=!1;for(;z;){if(z.pendingBranch){z.effects.push(...R),G=!0;break}z=z.parent}!G&&!Q&&hr(R),S.effects=[],y&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!C&&t.resolve()),yr(x,"onResolve")},fallback(O){if(!S.pendingBranch)return;const{vnode:C,activeBranch:x,parentComponent:T,container:A,namespace:k}=S;yr(C,"onFallback");const R=m(x),V=()=>{S.isInFallback&&(c(null,O,A,R,T,null,k,l,a),_s(S,O))},J=O.transition&&O.transition.mode==="out-in";J&&(x.transition.afterLeave=V),S.isInFallback=!0,p(x,T,null,!0),J||V()},move(O,C,x){S.activeBranch&&d(S.activeBranch,O,C,x),S.container=O},next(){return S.activeBranch&&m(S.activeBranch)},registerDep(O,C){const x=!!S.pendingBranch;x&&S.deps++;const T=O.vnode.el;O.asyncDep.catch(A=>{Vn(A,O,0)}).then(A=>{if(O.isUnmounted||S.isUnmounted||S.pendingId!==O.suspenseId)return;O.asyncResolved=!0;const{vnode:k}=O;Qs(k),fl(O,A,!1),T&&(k.el=T);const R=!T&&O.subTree.el;C(O,k,w(T||O.subTree.el),T?null:m(O.subTree),S,o,a),R&&E(R),aa(O,k.el),Zs(),x&&--S.deps===0&&S.resolve()})},unmount(O,C){S.isUnmounted=!0,S.activeBranch&&p(S.activeBranch,n,O,C),S.pendingBranch&&p(S.pendingBranch,n,O,C)}};return S}function Zg(e,t,n,s,r,i,o,l,a){const u=t.suspense=fa(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),f=a(e,u.pendingBranch=t.ssContent,n,u,i,o);return u.deps===0&&u.resolve(!1,!0),f}function ey(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Ac(s?n.default:n),e.ssFallback=s?Ac(n.fallback):xe($e)}function Ac(e){let t;if(Z(e)){const n=os&&e._c;n&&(e._d=!1,co()),e=e(),n&&(e._d=!0,t=ft,Md())}if(H(e)){const n=ro(e);!n&&e.filter(s=>s!==ca).length>0&&M(" slots expect a single root node."),e=n}return e=ut(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Xf(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):hr(e)}function _s(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,aa(s,r))}function ty(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const Qf=Symbol.for("v-scx"),Zf=()=>{{const e=Tt(Qf);return e||M("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function da(e,t){return Pr(e,null,t)}function ed(e,t){return Pr(e,null,le({},t,{flush:"post"}))}function td(e,t){return Pr(e,null,le({},t,{flush:"sync"}))}const Jr={};function _e(e,t,n){return Z(t)||M("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Pr(e,t,n)}function Pr(e,t,{immediate:n,deep:s,flush:r,once:i,onTrack:o,onTrigger:l}=ge){if(t&&i){const C=t;t=(...x)=>{C(...x),O()}}s!==void 0&&typeof s=="number"&&M('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),t||(n!==void 0&&M('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&M('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&M('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const a=C=>{M("Invalid watch source: ",C,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=ke,f=C=>s===!0?C:zn(C,s===!1?1:void 0);let c,d=!1,p=!1;if(Te(e)?(c=()=>e.value,d=Rn(e)):es(e)?(c=()=>f(e),d=!0):H(e)?(p=!0,d=e.some(C=>es(C)||Rn(C)),c=()=>e.map(C=>{if(Te(C))return C.value;if(es(C))return f(C);if(Z(C))return Kt(C,u,2);a(C)})):Z(e)?t?c=()=>Kt(e,u,2):c=()=>(m&&m(),gt(e,u,3,[w])):(c=Pe,a(e)),t&&s){const C=c;c=()=>zn(C())}let m,w=C=>{m=b.onStop=()=>{Kt(C,u,4),m=b.onStop=void 0}},E;if($r)if(w=Pe,t?n&>(t,u,3,[c(),p?[]:void 0,w]):c(),r==="sync"){const C=Zf();E=C.__watcherHandles||(C.__watcherHandles=[])}else return Pe;let v=p?new Array(e.length).fill(Jr):Jr;const y=()=>{if(!(!b.active||!b.dirty))if(t){const C=b.run();(s||d||(p?C.some((x,T)=>$t(x,v[T])):$t(C,v)))&&(m&&m(),gt(t,u,3,[C,v===Jr?void 0:p&&v[0]===Jr?[]:v,w]),v=C)}else b.run()};y.allowRecurse=!!t;let g;r==="sync"?g=y:r==="post"?g=()=>ze(y,u&&u.suspense):(y.pre=!0,u&&(y.id=u.uid),g=()=>Ir(y));const b=new xs(c,Pe,g),S=zl(),O=()=>{b.stop(),S&&Bl(S.effects,b)};return b.onTrack=o,b.onTrigger=l,t?n?y():v=b.run():r==="post"?ze(b.run.bind(b),u&&u.suspense):b.run(),E&&E.push(O),O}function ny(e,t,n){const s=this.proxy,r=ne(e)?e.includes(".")?nd(s,e):()=>s[e]:e.bind(s,s);let i;Z(t)?i=t:(i=t.handler,n=t);const o=ls(this),l=Pr(r,i.bind(s),n);return o(),l}function nd(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),Te(e))zn(e.value,t,n,s);else if(H(e))for(let r=0;r{zn(r,t,n,s)});else if(cf(e))for(const r in e)zn(e[r],t,n,s);return e}function sd(e){uf(e)&&M("Do not use built-in directive ids as custom directive id: "+e)}function sy(e,t){if(Re===null)return M("withDirectives can only be used inside render functions."),e;const n=uo(Re)||Re.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),ao(()=>{e.isUnmounting=!0}),e}const _t=[Function,Array],ha={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:_t,onEnter:_t,onAfterEnter:_t,onEnterCancelled:_t,onBeforeLeave:_t,onLeave:_t,onAfterLeave:_t,onLeaveCancelled:_t,onBeforeAppear:_t,onAppear:_t,onAfterAppear:_t,onAppearCancelled:_t},ry={name:"BaseTransition",props:ha,setup(e,{slots:t}){const n=Ye(),s=pa();return()=>{const r=t.default&&io(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){let d=!1;for(const p of r)if(p.type!==$e){if(d){M(" can only be used on a single element or component. Use for lists.");break}i=p,d=!0}}const o=re(e),{mode:l}=o;if(l&&l!=="in-out"&&l!=="out-in"&&l!=="default"&&M(`invalid mode: ${l}`),s.isLeaving)return Co(i);const a=Oc(i);if(!a)return Co(i);const u=As(a,o,s,n);is(a,u);const f=n.subTree,c=f&&Oc(f);if(c&&c.type!==$e&&!Pt(a,c)){const d=As(c,o,s,n);if(is(c,d),l==="out-in")return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Co(i);l==="in-out"&&a.type!==$e&&(d.delayLeave=(p,m,w)=>{const E=id(s,c);E[String(c.key)]=c,p[vn]=()=>{m(),p[vn]=void 0,delete u.delayedLeave},u.delayedLeave=w})}return i}}},rd=ry;function id(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function As(e,t,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:c,onLeave:d,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:w,onAppear:E,onAfterAppear:v,onAppearCancelled:y}=t,g=String(e.key),b=id(n,e),S=(x,T)=>{x&>(x,s,9,T)},O=(x,T)=>{const A=T[1];S(x,T),H(x)?x.every(k=>k.length<=1)&&A():x.length<=1&&A()},C={mode:i,persisted:o,beforeEnter(x){let T=l;if(!n.isMounted)if(r)T=w||l;else return;x[vn]&&x[vn](!0);const A=b[g];A&&Pt(e,A)&&A.el[vn]&&A.el[vn](),S(T,[x])},enter(x){let T=a,A=u,k=f;if(!n.isMounted)if(r)T=E||a,A=v||u,k=y||f;else return;let R=!1;const V=x[Xr]=J=>{R||(R=!0,J?S(k,[x]):S(A,[x]),C.delayedLeave&&C.delayedLeave(),x[Xr]=void 0)};T?O(T,[x,V]):V()},leave(x,T){const A=String(e.key);if(x[Xr]&&x[Xr](!0),n.isUnmounting)return T();S(c,[x]);let k=!1;const R=x[vn]=V=>{k||(k=!0,T(),V?S(m,[x]):S(p,[x]),x[vn]=void 0,b[A]===e&&delete b[A])};b[A]=e,d?O(d,[x,R]):R()},clone(x){return As(x,t,n,s)}};return C}function Co(e){if(js(e))return e=Ot(e),e.children=null,e}function Oc(e){if(!js(e))return e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Z(n.default))return n.default()}}function is(e,t){e.shapeFlag&6&&e.component?is(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function io(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function iy(e){Z(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:i,suspensible:o=!0,onError:l}=e;let a=null,u,f=0;const c=()=>(f++,a=null,d()),d=()=>{let p;return a||(p=a=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((w,E)=>{l(m,()=>w(c()),()=>E(m),f+1)});throw m}).then(m=>{if(p!==a&&a)return a;if(m||M("Async component loader resolved to undefined. If you are using retry(), make sure to return its return value."),m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),m&&!me(m)&&!Z(m))throw new Error(`Invalid async component load result: ${m}`);return u=m,m}))};return kr({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return u},setup(){const p=ke;if(u)return()=>To(u,p);const m=y=>{a=null,Vn(y,p,13,!s)};if(o&&p.suspense||$r)return d().then(y=>()=>To(y,p)).catch(y=>(m(y),()=>s?xe(s,{error:y}):null));const w=Y(!1),E=Y(),v=Y(!!r);return r&&setTimeout(()=>{v.value=!1},r),i!=null&&setTimeout(()=>{if(!w.value&&!E.value){const y=new Error(`Async component timed out after ${i}ms.`);m(y),E.value=y}},i),d().then(()=>{w.value=!0,p.parent&&js(p.parent.vnode)&&(p.parent.effect.dirty=!0,Ir(p.parent.update))}).catch(y=>{m(y),E.value=y}),()=>{if(w.value&&u)return To(u,p);if(E.value&&s)return xe(s,{error:E.value});if(n&&!v.value)return xe(n)}}})}function To(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=xe(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const js=e=>e.type.__isKeepAlive,oy={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ye(),s=n.ctx;if(!s.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const r=new Map,i=new Set;let o=null;n.__v_cache=r;const l=n.suspense,{renderer:{p:a,m:u,um:f,o:{createElement:c}}}=s,d=c("div");s.activate=(y,g,b,S,O)=>{const C=y.component;u(y,g,b,0,l),a(C.vnode,y,g,b,C,l,S,y.slotScopeIds,O),ze(()=>{C.isDeactivated=!1,C.a&&En(C.a);const x=y.props&&y.props.onVnodeMounted;x&&at(x,C.parent,y)},l),Xo(C)},s.deactivate=y=>{const g=y.component;u(y,d,null,1,l),ze(()=>{g.da&&En(g.da);const b=y.props&&y.props.onVnodeUnmounted;b&&at(b,g.parent,y),g.isDeactivated=!0},l),Xo(g)};function p(y){xo(y),f(y,n,l,!0)}function m(y){r.forEach((g,b)=>{const S=br(g.type);S&&(!y||!y(S))&&w(b)})}function w(y){const g=r.get(y);!o||!Pt(g,o)?p(g):o&&xo(o),r.delete(y),i.delete(y)}_e(()=>[e.include,e.exclude],([y,g])=>{y&&m(b=>Js(y,b)),g&&m(b=>!Js(g,b))},{flush:"post",deep:!0});let E=null;const v=()=>{E!=null&&r.set(E,Ao(n.subTree))};return us(v),lo(v),ao(()=>{r.forEach(y=>{const{subTree:g,suspense:b}=n,S=Ao(g);if(y.type===S.type&&y.key===S.key){xo(S);const O=S.component.da;O&&ze(O,b);return}p(y)})}),()=>{if(E=null,!t.default)return o=null;const y=t.default(),g=y[0];if(y.length>1)return M("KeepAlive should contain exactly one component child."),o=null,y;if(!on(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return o=null,g;let b=Ao(g);const S=b.type,O=br(ns(b)?b.type.__asyncResolved||{}:S),{include:C,exclude:x,max:T}=e;if(C&&(!O||!Js(C,O))||x&&O&&Js(x,O))return o=b,g;const A=b.key==null?S:b.key,k=r.get(A);return b.el&&(b=Ot(b),g.shapeFlag&128&&(g.ssContent=b)),E=A,k?(b.el=k.el,b.component=k.component,b.transition&&is(b,b.transition),b.shapeFlag|=512,i.delete(A),i.add(A)):(i.add(A),T&&i.size>parseInt(T,10)&&w(i.values().next().value)),b.shapeFlag|=256,o=b,Jf(g.type)?g:b}}},ly=oy;function Js(e,t){return H(e)?e.some(n=>Js(n,t)):ne(e)?e.split(",").includes(t):mm(e)?e.test(t):!1}function od(e,t){ad(e,"a",t)}function ld(e,t){ad(e,"da",t)}function ad(e,t,n=ke){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(oo(t,s,n),n){let r=n.parent;for(;r&&r.parent;)js(r.parent.vnode)&&ay(s,t,n,r),r=r.parent}}function ay(e,t,n,s){const r=oo(t,e,s,!0);Mr(()=>{Bl(s[t],r)},n)}function xo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ao(e){return e.shapeFlag&128?e.ssContent:e}function oo(e,t,n=ke,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ln();const l=ls(n),a=gt(t,n,e,o);return l(),an(),a});return s?r.unshift(i):r.push(i),i}else{const r=Vt(to[e].replace(/ hook$/,""));M(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const cn=e=>(t,n=ke)=>(!$r||e==="sp")&&oo(e,(...s)=>t(...s),n),cd=cn("bm"),us=cn("m"),ud=cn("bu"),lo=cn("u"),ao=cn("bum"),Mr=cn("um"),fd=cn("sp"),dd=cn("rtg"),pd=cn("rtc");function hd(e,t=ke){oo("ec",e,t)}function cy(e,t,n,s){let r;const i=n&&n[s];if(H(e)||ne(e)){r=new Array(e.length);for(let o=0,l=e.length;ot(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);r=new Array(o.length);for(let l=0,a=o.length;l{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function fy(e,t,n={},s,r){if(Re.isCE||Re.parent&&ns(Re.parent)&&Re.parent.isCE)return t!=="default"&&(n.name=t),xe("slot",n,s&&s());let i=e[t];i&&i.length>1&&(M("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),i=()=>[]),i&&i._c&&(i._d=!1),co();const o=i&&md(i(n)),l=va(De,{key:n.key||o&&o.key||`_${t}`},o||(s?s():[]),o&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function md(e){return e.some(t=>on(t)?!(t.type===$e||t.type===De&&!md(t.children)):!0)?e:null}function dy(e,t){const n={};if(!me(e))return M("v-on with no argument expects an object value."),n;for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:Vt(s)]=e[s];return n}const el=e=>e?Bd(e)?uo(e)||e.proxy:el(e.parent):null,ss=le(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>Bt(e.props),$attrs:e=>Bt(e.attrs),$slots:e=>Bt(e.slots),$refs:e=>Bt(e.refs),$parent:e=>el(e.parent),$root:e=>el(e.root),$emit:e=>e.emit,$options:e=>ga(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Ir(e.update)}),$nextTick:e=>e.n||(e.n=jn.bind(e.proxy)),$watch:e=>ny.bind(e)}),ma=e=>e==="_"||e==="$",Oo=(e,t)=>e!==ge&&!e.__isScriptSetup&&pe(e,t),tr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:a}=e;if(t==="__isVue")return!0;let u;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Oo(s,t))return o[t]=1,s[t];if(r!==ge&&pe(r,t))return o[t]=2,r[t];if((u=e.propsOptions[0])&&pe(u,t))return o[t]=3,i[t];if(n!==ge&&pe(n,t))return o[t]=4,n[t];tl&&(o[t]=0)}}const f=ss[t];let c,d;if(f)return t==="$attrs"?(tt(e.attrs,"get",""),Ci()):t==="$slots"&&tt(e,"get",t),f(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==ge&&pe(n,t))return o[t]=4,n[t];if(d=a.config.globalProperties,pe(d,t))return d[t];Re&&(!ne(t)||t.indexOf("__v")!==0)&&(r!==ge&&ma(t[0])&&pe(r,t)?M(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===Re&&M(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Oo(r,t)?(r[t]=n,!0):r.__isScriptSetup&&pe(r,t)?(M(`Cannot mutate + + + + + + +
+
+ + +